:root {
    --bg: #0a0f08;
    --surface: rgba(8, 12, 8, 0.74);
    --surface-soft: rgba(18, 24, 18, 0.62);
    --border: rgba(255, 255, 255, 0.12);
    --text: #f5fff0;
    --muted: rgba(232, 245, 227, 0.72);
    --green: #8eff5a;
    --green-dark: #67d132;
    --green-soft: rgba(142, 255, 90, 0.18);
    --miku-blue: #a4ff7e;
    --miku-blue-dark: #5ecb2f;
    --miku-blue-soft: #edffd8;
    --danger: #c03a3a;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(rgba(10, 18, 8, 0.62), rgba(10, 18, 8, 0.62)),
        radial-gradient(circle at top, rgba(173, 255, 112, 0.18), transparent 42%),
        url("/static/uploads/background.png");
    background-size: auto, auto, cover;
    background-position: center, center, center;
    background-attachment: fixed, fixed, fixed;
    color: var(--text);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    position: relative;
    isolation: isolate;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
    filter: blur(4px);
    opacity: 1;
    mix-blend-mode: screen;
}

body::before {
    top: 70px;
    left: -20px;
    width: 660px;
    height: 660px;
    background: radial-gradient(circle, rgba(98, 219, 54, 0.68) 0%, rgba(98, 219, 54, 0.32) 32%, rgba(98, 219, 54, 0.12) 52%, rgba(98, 219, 54, 0) 76%);
    animation: ambient-blob-left 7s ease-in-out infinite alternate;
}

body::after {
    right: -10px;
    bottom: 4%;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(164, 255, 126, 0.58) 0%, rgba(164, 255, 126, 0.24) 32%, rgba(164, 255, 126, 0.08) 54%, rgba(164, 255, 126, 0) 76%);
    animation: ambient-blob-right 8s ease-in-out infinite alternate;
}

a {
    color: inherit;
    text-decoration: none;
}

.global-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.62), rgba(14, 18, 12, 0.5)),
        linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 0;
    border-radius: 0;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(15px) saturate(138%);
    -webkit-backdrop-filter: blur(15px) saturate(138%);
    z-index: 15;
    overflow: hidden;
}

.global-header::before,
.global-header::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0.4;
}

.global-header::before {
    top: -42px;
    left: 18%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
    animation: header-glow-drift 15s ease-in-out infinite alternate;
}

.global-header::after {
    top: -70px;
    right: 10%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(160, 255, 122, 0.18), rgba(160, 255, 122, 0));
    animation: header-glow-drift-alt 18s ease-in-out infinite alternate;
}

.header-inner {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(140px, 1fr);
    align-items: center;
    gap: 24px;
    padding: 12px 30px 10px;
    position: relative;
    z-index: 1;
}

.page-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 98px 24px 120px;
    position: relative;
    z-index: 1;
}

.page-shell::before,
.page-shell::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
    filter: blur(5px);
    opacity: 0.88;
    mix-blend-mode: screen;
}

.page-shell::before {
    top: 300px;
    right: -2%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(142, 255, 90, 0.5) 0%, rgba(142, 255, 90, 0.22) 36%, rgba(142, 255, 90, 0.08) 58%, rgba(142, 255, 90, 0) 78%);
    animation: ambient-blob-center 6.5s ease-in-out infinite alternate;
}

.page-shell::after {
    top: 700px;
    left: -1%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(110, 234, 69, 0.44) 0%, rgba(110, 234, 69, 0.18) 38%, rgba(110, 234, 69, 0.06) 60%, rgba(110, 234, 69, 0) 80%);
    animation: ambient-blob-center-alt 7.5s ease-in-out infinite alternate;
}

.status-banner,
.modal-card,
.empty-state {
    background: rgba(10, 14, 10, 0.82);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
}

.brand-trigger {
    display: grid;
    gap: 2px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.brand-trigger:hover .brand-title,
.brand-trigger:focus-visible .brand-title {
    color: #f6fff1;
    text-shadow: 0 0 18px rgba(142, 255, 90, 0.24);
}

.brand-trigger:focus-visible {
    outline: 2px solid rgba(142, 255, 90, 0.45);
    outline-offset: 6px;
    border-radius: 14px;
}

.brand-mark {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.brand-mark-canopy,
.brand-mark-trunk,
.brand-mark-base {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.brand-mark-canopy {
    border-radius: 999px 999px 22px 22px;
}

.brand-mark-canopy-back {
    top: 8px;
    width: 26px;
    height: 18px;
    background: linear-gradient(180deg, #f2ffd9, #8de74b);
    box-shadow: 0 0 18px rgba(141, 231, 75, 0.28);
}

.brand-mark-canopy-front {
    top: 18px;
    width: 34px;
    height: 20px;
    background: linear-gradient(180deg, #fcfff3, #58be23);
}

.brand-mark-trunk {
    bottom: 10px;
    width: 8px;
    height: 15px;
    border-radius: 999px;
    background: linear-gradient(180deg, #325f44, #214230);
}

.brand-mark-base {
    bottom: 7px;
    width: 26px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
}

.row-label {
    margin: 0 0 6px;
    color: #d9f7ff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-title,
.hero-copy h2,
.row-heading h2,
.modal-card h3,
.empty-state h3 {
    margin: 0;
}

.brand-title {
    font-size: 1.28rem;
    color: #ffffff;
    letter-spacing: 0.01em;
    font-weight: 600;
    text-shadow: 0 1px 10px rgba(9, 18, 7, 0.34);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: end;
}

.tool-button {
    display: grid;
    justify-items: center;
    gap: 4px;
    width: 64px;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}

.tool-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
}

.tool-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #ffffff;
}

.storefront {
    display: grid;
    gap: 24px;
    margin-top: 12px;
}

.status-banner {
    margin: 0;
    padding: 14px 16px;
    border-radius: 18px;
}

.success {
    color: #c7ff9f;
}

.error {
    color: #ffb0b0;
}

.store-row {
    display: grid;
    gap: 16px;
}

.apps-panel {
    display: grid;
    gap: 22px;
}

.content-panel {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(16, 20, 16, 0.86), rgba(8, 12, 8, 0.74));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.content-panel-head h3 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.screenshot-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (14px * 3)) / 4);
    gap: 16px;
    overflow-x: auto;
    padding: 6px 2px 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(156, 255, 108, 0.72) rgba(255, 255, 255, 0.06);
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
}

.screenshot-carousel::-webkit-scrollbar {
    height: 10px;
}

.screenshot-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
}

.screenshot-carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(118, 255, 93, 0.9), rgba(84, 201, 54, 0.85));
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 0 12px rgba(118, 255, 93, 0.28);
}

.screenshot-carousel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(156, 255, 128, 0.95), rgba(102, 224, 68, 0.9));
}

.carousel-item {
    margin: 0;
    display: grid;
    gap: 10px;
    scroll-snap-align: start;
}

.carousel-image {
    width: 100%;
    height: 176px;
    max-height: 176px;
    object-fit: contain;
    object-position: center;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0f160f;
    cursor: zoom-in;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.carousel-caption {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 500;
}

.store-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.store-tabs-header {
    width: min(420px, 100%);
    max-width: 420px;
    margin: 0 auto;
    justify-self: center;
    padding: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.store-tab {
    width: 100%;
    min-height: 52px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    padding: 10px 18px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: none;
    border-bottom: 0;
    transition: color 180ms ease, background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.store-tab span {
    opacity: 0.72;
}

.store-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.store-tab-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 20px rgba(0, 0, 0, 0.22);
}

.apps-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 22px;
    padding: 4px 0 2px;
}

.app-tile {
    display: grid;
    gap: 12px;
    align-content: start;
    justify-items: center;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    cursor: pointer;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.app-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(142, 255, 90, 0.34);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
    background: linear-gradient(180deg, rgba(142, 255, 90, 0.08), rgba(255, 255, 255, 0.03));
}

.apps-panel[hidden] {
    display: none !important;
}

.app-tile-icon,
.detail-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    object-fit: cover;
    background: var(--green-soft);
}

.app-tile-fallback {
    display: grid;
    place-items: center;
    color: var(--green-dark);
    font-weight: 800;
    font-size: 1.35rem;
}

.app-tile-name {
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.34);
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
    gap: 26px;
    padding: 28px;
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(10, 14, 10, 0.88), rgba(16, 22, 16, 0.74));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: 16px;
}

.hero-kicker {
    margin: 0;
    color: #c7ff9f;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h2 {
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    line-height: 0.98;
    color: #ffffff;
    font-weight: 700;
}

.hero-description {
    margin: 0;
    max-width: 62ch;
    color: rgba(240, 247, 235, 0.82);
    font-size: 1.02rem;
    line-height: 1.7;
}

.hero-meta,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions .primary-button {
    background: linear-gradient(180deg, #1f5f29, #123b1a);
    color: #f7fff3;
    box-shadow: 0 0 0 rgba(110, 234, 69, 0), 0 10px 28px rgba(0, 0, 0, 0.24);
    animation: hero-cta-pulse 3.2s ease-in-out infinite;
}

.hero-actions .primary-button:hover {
    background: linear-gradient(180deg, #287834, #184b22);
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 600;
}

.hero-secondary-button {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.hero-visual {
    display: grid;
    align-items: center;
}

.hero-image {
    width: 100%;
    min-height: 320px;
    max-height: 420px;
    object-fit: contain;
    object-position: center;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
    background: #000000;
}

.hero-image-icon,
.hero-image-fallback {
    object-fit: contain;
    padding: 40px;
}

.hero-image-fallback {
    display: grid;
    place-items: center;
    font-size: 5rem;
    font-weight: 700;
    color: #ffffff;
}

.empty-state {
    padding: 28px;
    border-radius: 24px;
}

.floating-admin {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-button,
.primary-button,
.secondary-button,
.floating-chip,
.danger-button {
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.admin-button,
.primary-button,
.floating-chip-primary {
    background: var(--green);
    color: #fff;
}

.secondary-button,
.floating-chip {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.danger-button {
    background: #fff3f3;
    color: var(--danger);
    border: 1px solid #f0cbcb;
}

.browse-button {
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    background: #101010;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

@keyframes hero-cta-pulse {
    0%, 100% {
        box-shadow: 0 0 0 rgba(110, 234, 69, 0), 0 10px 28px rgba(0, 0, 0, 0.24);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 0 18px rgba(110, 234, 69, 0.24), 0 14px 30px rgba(0, 0, 0, 0.28);
        transform: translateY(-1px);
    }
}

@keyframes ambient-blob-left {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(210px, 118px, 0) scale(1.28);
    }
}

@keyframes ambient-blob-right {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(-178px, -122px, 0) scale(1.26);
    }
}

@keyframes ambient-blob-center {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(-112px, 92px, 0) scale(1.32);
    }
}

@keyframes ambient-blob-center-alt {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(126px, -86px, 0) scale(1.26);
    }
}

.modal-shell[hidden] {
    display: none;
}

.modal-shell {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(21, 48, 29, 0.32);
    backdrop-filter: blur(6px);
}

.modal-card {
    position: relative;
    z-index: 1;
    width: min(100%, 540px);
    padding: 24px;
    border-radius: 28px;
    max-height: min(88vh, 920px);
    overflow-y: auto;
}

.modal-card-large {
    width: min(100%, 700px);
}

.modal-card-detail {
    width: min(100%, 920px);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text);
    cursor: pointer;
}

.login-form,
.admin-form {
    display: grid;
    gap: 14px;
}

.admin-form {
    padding-right: 4px;
}

.search-modal {
    display: grid;
    gap: 14px;
}

.brand-modal {
    gap: 12px;
}

.brand-signoff {
    margin: 8px 0 0;
    text-align: center;
    color: rgba(245, 255, 240, 0.92);
    font-weight: 600;
}

.brand-signoff-note {
    margin: -2px 0 0;
    text-align: center;
    color: rgba(245, 255, 240, 0.82);
    font-style: italic;
}

.search-results {
    display: grid;
    gap: 10px;
    max-height: 320px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.search-result-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--green-soft);
}

.search-result-name {
    font-weight: 700;
}

.login-form label,
.admin-form label {
    display: grid;
    gap: 8px;
}

.login-form span,
.admin-form span {
    font-size: 0.94rem;
    font-weight: 600;
}

.login-form input,
.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    color: #111111;
    font: inherit;
    caret-color: #111111;
}

.login-form input::placeholder,
.admin-form input::placeholder,
.admin-form textarea::placeholder {
    color: rgba(17, 17, 17, 0.58);
}

.login-form input:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: 2px solid rgba(142, 255, 90, 0.34);
    outline-offset: 2px;
}

.login-form option,
.admin-form option {
    color: #111111;
    background: #ffffff;
}

.toggle-row {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.toggle-row input[type="checkbox"] {
    width: auto;
}

.detail-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.detail-meta p,
.detail-description {
    color: var(--muted);
}

.detail-meta p {
    margin: 6px 0 0;
}

.detail-description {
    margin: 18px 0 0;
    line-height: 1.7;
}

.detail-screens {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 240px;
    gap: 12px;
    overflow-x: auto;
    margin-top: 18px;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.detail-screen {
    width: 240px;
    height: 156px;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(8, 12, 8, 0.86);
    cursor: zoom-in;
}

.modal-card-preview {
    width: min(100%, 1120px);
    padding: 20px;
    background: rgba(255, 255, 255, 0.98);
}

.image-preview-shell {
    display: grid;
    gap: 12px;
}

.image-preview-frame {
    width: 100%;
    max-height: min(78vh, 900px);
    object-fit: contain;
    border-radius: 22px;
    background: #eef6ef;
}

.image-preview-caption {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

@keyframes header-glow-drift {
    0% {
        transform: translate3d(-18px, 0, 0) scale(0.96);
    }
    100% {
        transform: translate3d(22px, 10px, 0) scale(1.08);
    }
}

@keyframes header-glow-drift-alt {
    0% {
        transform: translate3d(12px, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(-26px, 14px, 0) scale(1.12);
    }
}

@keyframes background-grid-pulse {
    0% {
        filter: saturate(1.02) brightness(0.92);
    }
    50% {
        filter: saturate(1.16) brightness(1.02);
    }
    100% {
        filter: saturate(1.02) brightness(0.92);
    }
}

@keyframes neon-grid-pulse {
    0% {
        opacity: 0.78;
        filter: drop-shadow(0 0 4px rgba(114, 255, 76, 0.42));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 14px rgba(114, 255, 76, 0.9));
    }
    100% {
        opacity: 0.78;
        filter: drop-shadow(0 0 4px rgba(114, 255, 76, 0.42));
    }
}

@keyframes neon-grid-drift {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 30px 30px, 30px 30px;
    }
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

@media (max-width: 760px) {
    .global-header {
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    .header-inner {
        padding: 10px 16px 8px;
        grid-template-columns: 1fr auto;
    }

    .page-shell {
        padding: 90px 16px 96px;
    }

    .brand-title {
        font-size: 1rem;
    }

    .header-inner {
        align-items: flex-start;
    }

    .store-tabs-header {
        grid-column: 1 / -1;
        max-width: none;
        margin: 4px 0 0;
    }

    .header-tools {
        gap: 8px;
    }

    .tool-button {
        width: 56px;
    }

    .app-tile-icon,
    .detail-icon {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .detail-screens {
        grid-auto-columns: 190px;
    }

    .detail-screen {
        width: 190px;
        height: 124px;
    }

    .screenshot-carousel {
        grid-auto-columns: calc((100% - 14px) / 2);
    }

    .carousel-image {
        height: 124px;
        max-height: 124px;
    }

    .floating-admin {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .admin-button,
    .primary-button,
    .secondary-button,
    .floating-chip,
    .danger-button,
    .browse-button {
        width: 100%;
        justify-content: center;
    }
}
