/* ── Splash & Welcome ─────────────────────────────────────────── */

.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: var(--bg-base);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-screen[hidden],
.welcome-overlay[hidden] {
    display: none !important;
}

.splash-screen.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: -1;
}

.splash-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.splash-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
}

.splash-orb--1 {
    width: 280px;
    height: 280px;
    top: 10%;
    right: -60px;
    background: var(--orb-1);
}

.splash-orb--2 {
    width: 220px;
    height: 220px;
    bottom: 15%;
    left: -40px;
    background: var(--orb-2);
}

.splash-logo-btn {
    position: relative;
    width: min(180px, 42vw);
    height: min(180px, 42vw);
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.splash-logo-ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0.35;
    animation: splash-pulse 2.4s ease-out infinite;
}

.splash-logo-ring--delay {
    animation-delay: 1.2s;
}

@keyframes splash-pulse {
    0% { transform: scale(0.85); opacity: 0.5; }
    100% { transform: scale(1.35); opacity: 0; }
}

.splash-logo-img {
    width: 100%;
    height: 100%;
}

.splash-logo-btn .theme-dual-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

.splash-logo-btn .theme-dual-logo__img {
    border-radius: 50%;
}

.splash-hint {
    font-size: 0.95rem;
    color: var(--text-muted);
    animation: hint-bounce 2s ease-in-out infinite;
}

@keyframes hint-bounce {
    0%, 100% { opacity: 0.6; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-4px); }
}

.welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 9200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.welcome-overlay[hidden] {
    display: none !important;
}

.welcome-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.welcome-overlay.is-leaving {
    opacity: 0;
    visibility: hidden;
}

.welcome-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.welcome-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem 1.75rem;
    border-radius: var(--radius-lg);
    background: var(--glass-bg-strong);
    backdrop-filter: blur(calc(var(--glass-blur) + 8px)) saturate(1.4);
    -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 8px)) saturate(1.4);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    min-width: min(320px, 88vw);
    animation: welcome-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.welcome-overlay.is-leaving .welcome-content {
    animation: welcome-out 0.5s ease forwards;
}

@keyframes welcome-in {
    from { opacity: 0; transform: scale(0.88) translateY(24px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes welcome-out {
    from { opacity: 1; transform: scale(1) translateY(0); }
    to { opacity: 0; transform: scale(0.94) translateY(-12px); }
}

.welcome-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 1px solid var(--glass-border);
    color: var(--accent);
}

.welcome-icon { width: 44px; height: 44px; }

.welcome-title {
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text);
}

.welcome-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.welcome-tagline {
    margin: 0.65rem 0 0;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

/* ── Glass panel base ─────────────────────────────────────────── */

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-panel-strong {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(calc(var(--glass-blur) + 6px)) saturate(1.45);
    -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 6px)) saturate(1.45);
    border: 1px solid var(--border-strong);
    box-shadow: var(--glass-shadow);
}

/* ── Brand display (matches header title) ─────────────────────── */

@keyframes brandShine {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.brand-shine-text {
    background: linear-gradient(
        120deg,
        var(--text) 0%,
        rgba(var(--accent-rgb), 0.95) 45%,
        var(--text) 90%
    );
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 1px 0 rgba(var(--accent-rgb), 0.1));
    animation: brandShine 9s ease-in-out infinite;
}

.brand-eyebrow {
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    line-height: 1.2;
}

.brand-accent-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(var(--accent-rgb), 0.35) 20%,
        rgba(var(--accent-rgb), 0.55) 50%,
        rgba(var(--accent-rgb), 0.35) 80%,
        transparent
    );
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .brand-shine-text { animation: none; }
}

/* ── App layout ───────────────────────────────────────────────── */

.app-content {
    min-height: 100dvh;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.app-content > .footer-collab-bar {
    margin-top: 0.75rem;
    padding-bottom: calc(0.25rem + env(safe-area-inset-bottom, 0px));
}

.app-content[hidden] { display: none !important; }

/* ── Top bar ──────────────────────────────────────────────────── */

.top-bar {
    --top-bar-height: 4.75rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    background: linear-gradient(
        180deg,
        rgba(var(--accent-rgb), 0.1) 0%,
        var(--glass-bg) 42%,
        var(--glass-bg) 100%
    );
}

.top-bar::after {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(var(--accent-rgb), 0.35) 20%,
        rgba(var(--accent-rgb), 0.55) 50%,
        rgba(var(--accent-rgb), 0.35) 80%,
        transparent
    );
    pointer-events: none;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 1rem 0.75rem;
    padding-top: calc(0.7rem + env(safe-area-inset-top, 0px));
    max-width: 720px;
    margin: 0 auto;
}

.top-bar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.top-bar-divider {
    flex-shrink: 0;
    width: 1px;
    height: 2.6rem;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(var(--accent-rgb), 0.25) 18%,
        rgba(var(--accent-rgb), 0.55) 50%,
        rgba(var(--accent-rgb), 0.25) 82%,
        transparent 100%
    );
    opacity: 0.85;
}

.top-bar-logo-wrap {
    position: relative;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
}

.top-bar-logo-glow {
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    background: radial-gradient(circle at 30% 30%, rgba(var(--accent-rgb), 0.45), transparent 68%);
    opacity: 0.75;
    filter: blur(6px);
}

.top-bar-logo-ring {
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 55%);
    pointer-events: none;
}

.top-bar-logo {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.top-bar-logo-wrap .theme-dual-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.top-bar-logo-wrap .theme-dual-logo__img {
    border-radius: 14px;
    object-fit: cover;
}

.top-bar-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.06rem;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.top-bar-eyebrow {
    margin: 0;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    line-height: 1.2;
    opacity: 0.92;
}

.top-bar-title {
    margin: 0;
    line-height: 1;
}

.top-bar-title-text {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: linear-gradient(
        120deg,
        var(--text) 0%,
        rgba(var(--accent-rgb), 0.92) 45%,
        var(--text) 90%
    );
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 1px 0 rgba(var(--accent-rgb), 0.12));
    animation: topBarTitleShine 9s ease-in-out infinite;
}

@keyframes topBarTitleShine {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

@media (prefers-reduced-motion: reduce) {
    .top-bar-title-text { animation: none; }
}

.top-bar-tagline {
    margin: 0.1rem 0 0;
    font-size: 0.7rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.88;
}

.top-bar-desktop { display: none; gap: 0.4rem; align-items: center; flex-shrink: 0; }

.top-bar-support-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    min-width: 44px;
    min-height: 44px;
    padding: 0.25rem 0.45rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-muted);
    text-decoration: none;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.top-bar-support-mobile svg {
    width: 18px;
    height: 18px;
}

.top-bar-support-mobile span {
    font-size: 0.62rem;
    font-weight: 600;
    line-height: 1;
}

.top-bar-support-mobile:active {
    color: var(--accent);
    border-color: var(--accent);
    transform: scale(0.96);
}

/* ── Category sticky bar ──────────────────────────────────────── */

.category-sticky {
    --category-bar-height: 3.35rem;
    position: sticky;
    top: calc(var(--top-bar-height, 4.75rem) + env(safe-area-inset-top, 0px));
    z-index: 90;
    background: var(--bg-base);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.5rem 0;
}

.category-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 1rem 0.25rem;
    max-width: 720px;
    margin: 0 auto;
}

.category-scroll::-webkit-scrollbar { display: none; }

.chip {
    flex-shrink: 0;
    scroll-snap-align: start;
    min-height: 44px;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--glass-border);
    background: linear-gradient(
        145deg,
        rgba(var(--accent-rgb), 0.06) 0%,
        var(--glass-bg) 55%
    );
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    color: var(--text);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s, color 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.chip:active { transform: scale(0.96); }

.chip.active {
    background: var(--btn-gradient);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow:
        0 4px 18px rgba(var(--accent-rgb), 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

/* ── Category flash overlay ───────────────────────────────────── */

.category-flash {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}

.category-flash[hidden] {
    display: none !important;
}

.category-flash-fill {
    position: absolute;
    left: var(--flash-x, 50%);
    top: var(--flash-y, 50%);
    width: 250vmax;
    height: 250vmax;
    border-radius: 50%;
    background: var(--btn-gradient);
    transform: translate(-50%, -50%) scale(0);
    will-change: transform, opacity;
}

.category-flash-title {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0 1.5rem;
    font-size: clamp(1.35rem, 5vw, 1.85rem);
    font-weight: 800;
    color: #fff;
    text-align: center;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: scale(0.88);
    will-change: opacity, transform;
}

.category-flash.is-playing .category-flash-fill {
    animation: categoryFlashFill 420ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

.category-flash.is-playing .category-flash-title {
    animation: categoryFlashTitle 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes categoryFlashFill {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    30% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    58% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

@keyframes categoryFlashTitle {
    0%, 18% {
        opacity: 0;
        transform: scale(0.88) translateY(6px);
    }
    34%, 58% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    100% {
        opacity: 0;
        transform: scale(1.03) translateY(-4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-flash.is-playing .category-flash-fill,
    .category-flash.is-playing .category-flash-title {
        animation-duration: 120ms;
    }
}

/* ── Main content ─────────────────────────────────────────────── */

.page-main {
    max-width: 720px;
    margin: 0 auto;
    padding: 0.75rem 1rem 1.5rem;
}

.hero-compact {
    border-radius: 16px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 0.85rem;
}

.hero-compact-lead {
    font-size: 0.82rem;
    color: var(--text);
    font-weight: 600;
    line-height: 1.55;
    margin: 0 0 0.45rem;
}

.hero-compact-tips {
    margin: 0 0 0.5rem;
    padding: 0 1rem 0 0;
    list-style: disc;
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.55;
}

.hero-compact-tips li + li {
    margin-top: 0.18rem;
}

.hero-compact-tips a:not(.hero-login-cta) {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.hero-compact-tips a:not(.hero-login-cta):hover,
.hero-compact-tips a:not(.hero-login-cta):focus-visible {
    text-decoration: underline;
}

.hero-login-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline: 0.15rem;
    padding: 0.18rem 0.55rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.12), var(--glass-bg) 70%);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.14);
    vertical-align: middle;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.hero-login-cta:hover,
.hero-login-cta:focus-visible {
    border-color: var(--accent);
    box-shadow: 0 3px 12px rgba(var(--accent-rgb), 0.22);
    text-decoration: none;
}

.hero-login-cta:active {
    transform: scale(0.97);
}

.hero-compact-meta {
    display: flex;
    gap: 0.85rem;
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ── Menu grid by category ────────────────────────────────────── */

.menu-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.menu-category-section {
    scroll-margin-top: calc(
        var(--top-bar-height, 4.75rem) +
        var(--category-bar-height, 3.35rem) +
        env(safe-area-inset-top, 0px) +
        0.5rem
    );
}

.menu-category-heading {
    position: sticky;
    top: calc(
        var(--top-bar-height, 4.75rem) +
        var(--category-bar-height, 3.35rem) +
        env(safe-area-inset-top, 0px)
    );
    z-index: 85;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
}

.menu-category-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.menu-category-count {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0.18rem 0.55rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(var(--accent-rgb), 0.22);
    background: rgba(var(--accent-rgb), 0.1);
}

/* ── Menu rows (mobile-first) ─────────────────────────────────── */

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.menu-row {
    position: relative;
    display: flex;
    gap: 0.85rem;
    border-radius: var(--radius-md);
    padding: 0.75rem;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.menu-row.brand-accent-line::before {
    left: 6%;
    right: 6%;
}

.menu-row:active {
    transform: scale(0.99);
}

.menu-row.is-hidden { display: none; }

.menu-row--clickable {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.menu-row--clickable:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.menu-category-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 420px;
}

.menu-row-media {
    position: relative;
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    background-color: rgba(var(--accent-rgb), 0.06);
}

.menu-row-media::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(var(--accent-rgb), 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.menu-row-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-row-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.menu-row-cat {
    font-family: var(--font-display);
    font-size: 0.58rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.menu-row-title {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.2rem;
    letter-spacing: 0.02em;
}

.menu-row-title.brand-shine-text {
    font-size: 1.05rem;
}

.menu-row-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.menu-row-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.45rem;
}

.menu-row-price {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--accent);
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(var(--accent-rgb), 0.12);
}

/* ── Buttons ──────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.55rem 1.15rem;
    border-radius: 14px;
    border: 1px solid transparent;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 48%);
    pointer-events: none;
    opacity: 0.7;
}

.btn:active { transform: scale(0.96); }

.btn-sm {
    min-height: 38px;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    border-radius: 12px;
}

.btn-block { width: 100%; }

.btn-icon {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text);
    font-size: 1.25rem;
    line-height: 1;
}

.btn-ghost {
    background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.08), var(--glass-bg) 60%);
    border-color: rgba(var(--accent-rgb), 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text);
    text-transform: uppercase;
    font-size: 0.76rem;
}

.btn-ghost:hover,
.btn-icon:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.18);
}

.btn-accent {
    background: var(--btn-gradient);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 4px 16px rgba(var(--accent-rgb), 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
}

.btn-accent:hover {
    background: var(--btn-gradient-hover);
    box-shadow:
        0 6px 22px rgba(var(--accent-rgb), 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-add {
    min-height: 44px;
    padding: 0 0.9rem;
    font-size: 0.82rem;
    border-radius: 12px;
}

.btn-add svg {
    width: 16px;
    height: 16px;
}

/* ── Menu item detail ─────────────────────────────────────────── */

body.menu-detail-open {
    overflow: hidden;
}

.menu-detail[hidden] {
    display: none !important;
}

.menu-detail {
    position: fixed;
    inset: 0;
    z-index: 340;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

.menu-detail__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.menu-detail__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 720px);
    max-height: 92dvh;
    overflow-y: auto;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
    transform: translateY(105%);
    transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
    pointer-events: auto;
}

.menu-detail.is-open {
    pointer-events: auto;
}

.menu-detail.is-open .menu-detail__backdrop {
    opacity: 1;
}

.menu-detail.is-open .menu-detail__panel {
    transform: translateY(0);
}

.menu-detail__header {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 0.65rem 0.85rem;
    background: inherit;
    backdrop-filter: inherit;
    -webkit-backdrop-filter: inherit;
}

.menu-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(var(--accent-rgb), 0.22);
    border-radius: var(--radius-pill);
    background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.08), var(--glass-bg) 60%);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.menu-detail__back svg {
    width: 18px;
    height: 18px;
}

.menu-detail__back:active {
    transform: scale(0.96);
}

.menu-detail__hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 52dvh;
    overflow: hidden;
    background: rgba(var(--accent-rgb), 0.08);
}

.menu-detail__img,
.theme-dual-logo--detail {
    width: 100%;
    height: 100%;
    transform: scale(1.12);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.menu-detail__img.is-visible,
.theme-dual-logo--detail.is-visible {
    transform: scale(1);
    opacity: 1;
}

.menu-detail__hero .theme-dual-logo--detail {
    position: absolute;
    inset: 0;
}

.menu-detail__hero .theme-dual-logo__img {
    object-fit: contain;
    padding: 1.5rem;
}

.menu-detail__body {
    padding: 1rem 1.1rem 1.25rem;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
}

.menu-detail__cat {
    display: inline-block;
    margin-bottom: 0.45rem;
    padding: 0.22rem 0.65rem;
    border-radius: var(--radius-pill);
    background: rgba(var(--accent-rgb), 0.12);
    border: 1px solid rgba(var(--accent-rgb), 0.22);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.menu-detail__title {
    margin: 0 0 0.55rem;
    font-family: var(--font-display);
    font-size: 1.38rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.menu-detail__title.brand-shine-text {
    font-size: 1.42rem;
}

.menu-detail__desc {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

.menu-detail__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.menu-detail__price {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--accent);
    text-shadow: 0 1px 0 rgba(var(--accent-rgb), 0.12);
}

@media (min-width: 640px) {
    .menu-detail {
        align-items: center;
        padding: 1rem;
    }

    .menu-detail__panel {
        border-radius: var(--radius-lg);
        max-height: min(88dvh, 720px);
    }

    .menu-detail__header {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
}

/* ── Footer ───────────────────────────────────────────────────── */

.page-footer {
    margin-top: 1.5rem;
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
    overflow: hidden;
}

.page-footer.brand-accent-line::before {
    left: 12%;
    right: 12%;
}

.page-footer strong {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-footer span {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-style: italic;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.btn-admin,
.btn-support {
    font-size: 0.78rem;
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem 1rem;
}

/* ── Bottom navigation ────────────────────────────────────────── */

.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--glass-bg-strong);
    backdrop-filter: blur(calc(var(--glass-blur) + 8px)) saturate(1.5);
    -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 8px)) saturate(1.5);
}

.bottom-bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 56px;
    min-width: 0;
    padding: 0.4rem 0.15rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: color 0.2s, transform 0.15s;
}

.bottom-bar-item svg:not(.theme-icon) {
    width: 22px;
    height: 22px;
}

.bottom-bar-item.theme-toggle-btn {
    color: var(--accent);
}

.bottom-bar-item.theme-toggle-btn:active {
    color: var(--accent-hover);
}

.bottom-bar-item:active,
.bottom-bar-item.is-active {
    color: var(--accent);
}

.bottom-bar-item--accent {
    color: var(--accent);
}

.bottom-bar-item--admin:active {
    color: var(--accent);
}

.bottom-badge {
    position: absolute;
    top: 4px;
    left: 50%;
    margin-left: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.bottom-badge[hidden] { display: none; }

/* ── Toast ────────────────────────────────────────────────────── */

.toast-root {
    position: fixed;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
    width: min(340px, calc(100% - 2rem));
}

.toast {
    padding: 0.75rem 1.1rem;
    border-radius: 14px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    font-size: 0.88rem;
    text-align: center;
    animation: toast-in 0.35s ease forwards;
}

.toast.is-out {
    animation: toast-out 0.3s ease forwards;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-8px); }
}

/* ── Notebook bottom sheet ─────────────────────────────────────── */

.sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sheet-backdrop.is-visible {
    opacity: 1;
}

.sheet-backdrop[hidden] { display: none; }

.sheet-panel {
    position: fixed;
    z-index: 310;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 88dvh;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.sheet-panel.is-open {
    transform: translateY(0);
}

.sheet-panel[aria-hidden="true"] { pointer-events: none; }

.sheet-handle {
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: var(--text-muted);
    opacity: 0.35;
    margin: 0.65rem auto 0;
    flex-shrink: 0;
}

.sheet-header {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    padding: 0.5rem 1rem 0.75rem;
    flex-shrink: 0;
    gap: 0.5rem;
}

.sheet-header-spacer {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    pointer-events: none;
}

.sheet-header-main {
    min-width: 0;
    text-align: center;
}

.sheet-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(var(--accent-rgb), 0.22);
    background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.08), var(--glass-bg) 60%);
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: transform 0.15s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.sheet-close-btn svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.sheet-close-btn:active {
    transform: scale(0.94);
}

.sheet-close-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.16);
}

.sheet-header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.btn-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 38px;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(var(--accent-rgb), 0.22);
    background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.08), var(--glass-bg) 60%);
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.btn-view-toggle svg {
    width: 16px;
    height: 16px;
}

.btn-view-toggle[aria-pressed="true"] {
    color: #fff;
    border-color: transparent;
    background: var(--btn-gradient);
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.35);
}

.sheet-header h2 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
}

.sheet-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 1rem 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    background: rgba(var(--accent-rgb, 180, 140, 90), 0.12);
    border: 1px solid rgba(var(--accent-rgb, 180, 140, 90), 0.25);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.sheet-timer[hidden] { display: none; }

.sheet-items-wrap {
    position: relative;
    flex: 1 1 auto;
    min-height: 120px;
    max-height: 58dvh;
    margin: 0 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: rgba(var(--accent-rgb), 0.04);
    overflow: hidden;
}

.sheet-items-wrap::before,
.sheet-items-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 8px;
    height: 18px;
    z-index: 1;
    pointer-events: none;
}

.sheet-items-wrap::before {
    top: 0;
    background: linear-gradient(to bottom, var(--glass-bg-strong, var(--glass-bg)), transparent);
}

.sheet-items-wrap::after {
    bottom: 0;
    background: linear-gradient(to top, var(--glass-bg-strong, var(--glass-bg)), transparent);
}

.sheet-items {
    height: 100%;
    max-height: 58dvh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0.65rem 0.35rem 0.65rem 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--accent-rgb), 0.5) rgba(var(--accent-rgb), 0.08);
    scroll-behavior: smooth;
}

.sheet-items::-webkit-scrollbar {
    width: 6px;
}

.sheet-items::-webkit-scrollbar-track {
    background: rgba(var(--accent-rgb), 0.06);
    border-radius: 999px;
    margin: 8px 2px;
}

.sheet-items::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.75), rgba(var(--accent-rgb), 0.4));
    border-radius: 999px;
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    min-height: 36px;
}

.sheet-items::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--accent-rgb), 0.85);
}

.sheet-items.notebook-items--detailed {
    max-height: none;
}

.sheet-form.is-locked {
    opacity: 0.55;
    pointer-events: none;
}

.sheet-items.is-readonly .notebook-qty,
.sheet-items.is-readonly .notebook-remove {
    pointer-events: none;
    opacity: 0.45;
}

.sheet-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 1rem;
    border-top: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.sheet-total strong {
    font-size: 0.98rem;
    color: var(--accent);
}

.sheet-form {
    padding: 0.55rem 1rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex-shrink: 0;
}

.sheet-form--compact {
    padding-top: 0.45rem;
}

.sheet-form-row {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 0.5rem;
    align-items: end;
}

.sheet-field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.sheet-form input {
    width: 100%;
    padding: 0.5rem 0.65rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: var(--input-bg, rgba(255, 255, 255, 0.05));
    color: var(--text);
    font-family: inherit;
    font-size: 0.88rem;
    min-height: 38px;
    box-sizing: border-box;
}

.sheet-field--table input {
    text-align: center;
    font-weight: 700;
}

.notebook-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.notebook-items--detailed .notebook-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.85rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    background: var(--input-bg);
    border-bottom: 1px solid var(--glass-border);
}

.notebook-item:last-child { border-bottom: none; }

.notebook-items--detailed .notebook-item:last-child {
    margin-bottom: 0;
}

.notebook-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.notebook-item-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.notebook-line-total {
    color: var(--accent);
    font-weight: 700;
}

.notebook-remove {
    min-width: 36px;
    min-height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(248, 113, 113, 0.1);
    color: var(--danger, #f87171);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.notebook-item-info { flex: 1; min-width: 0; }

.notebook-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    line-height: 1.4;
}

.notebook-items--detailed .notebook-item-name {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.notebook-item-price {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.notebook-qty {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.notebook-qty--large {
    justify-content: center;
    gap: 0.65rem;
    padding-top: 0.25rem;
}

.notebook-qty button {
    min-width: 36px;
    min-height: 36px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.notebook-qty--large button {
    min-width: 48px;
    min-height: 48px;
    font-size: 1.25rem;
    border-radius: 12px;
}

.notebook-qty span {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
}

.flash {
    margin: 0 1rem 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
}

.flash-success,
.flash-warning {
    background: rgba(var(--accent-rgb, 180, 140, 90), 0.15);
    border: 1px solid rgba(var(--accent-rgb, 180, 140, 90), 0.3);
    color: var(--accent);
}

.flash-error {
    background: rgba(220, 80, 80, 0.15);
    border: 1px solid rgba(220, 80, 80, 0.3);
    color: #e88;
}

.flash[hidden] { display: none; }

body.notebook-open { overflow: hidden; }

@media (max-width: 639px) {
    .sheet-backdrop {
        z-index: 340;
    }

    .sheet-panel {
        z-index: 350;
        max-height: min(92dvh, calc(100dvh - env(safe-area-inset-top, 0px)));
    }

    .sheet-header {
        position: sticky;
        top: 0;
        z-index: 4;
        grid-template-columns: 48px 1fr auto;
        padding:
            calc(0.35rem + env(safe-area-inset-top, 0px))
            0.85rem
            0.65rem;
        background: var(--glass-bg-strong);
        backdrop-filter: blur(calc(var(--glass-blur) + 6px));
        -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 6px));
        border-bottom: 1px solid var(--glass-border);
    }

    .sheet-close-btn {
        width: 48px;
        height: 48px;
    }

    body.notebook-open .bottom-bar {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@media (max-width: 380px) {
    .top-bar-divider { height: 2.2rem; }

    .top-bar-tagline { display: none; }

    .top-bar-title-text {
        font-size: 1.32rem;
        letter-spacing: 0.16em;
    }

    .top-bar-eyebrow {
        font-size: 0.52rem;
        letter-spacing: 0.14em;
    }
}

/* ── Desktop enhancements ─────────────────────────────────────── */

@media (min-width: 640px) {
    .top-bar {
        --top-bar-height: 5.1rem;
    }

    .category-sticky {
        --category-bar-height: 3.5rem;
    }

    .top-bar-inner {
        padding-bottom: 0.85rem;
    }

    .top-bar-logo-wrap {
        width: 58px;
        height: 58px;
    }

    .top-bar-logo {
        width: 54px;
        height: 54px;
    }

    .top-bar-divider { height: 3rem; }

    .top-bar-title-text {
        font-size: 1.72rem;
        letter-spacing: 0.24em;
    }

    .top-bar-tagline {
        font-size: 0.78rem;
    }

    .app-content {
        padding-bottom: 1.5rem;
    }

    .app-content > .footer-collab-bar {
        padding-bottom: 0.5rem;
    }

    .top-bar-desktop { display: flex; }

    .top-bar-support-mobile { display: none; }

    .bottom-bar { display: none; }

    .toast-root {
        bottom: 1.5rem;
    }

    .sheet-panel {
        left: auto;
        right: 1rem;
        bottom: 1rem;
        top: auto;
        width: 380px;
        max-height: calc(100dvh - 2rem);
        border-radius: 20px;
        transform: translateX(calc(100% + 1.5rem));
        transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    }

    .sheet-panel.is-open {
        transform: translateX(0);
    }

    .sheet-handle { display: none; }

    .menu-row-media {
        width: 120px;
        height: 120px;
    }

    .menu-row-title { font-size: 1.08rem; }
}

@media (min-width: 900px) {
    .page-main { max-width: 960px; }

    .top-bar-inner,
    .category-scroll { max-width: 960px; }

    .menu-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .menu-row {
        flex-direction: column;
        padding: 0;
        overflow: hidden;
    }

    .menu-row-media {
        width: 100%;
        height: 160px;
        border-radius: 0;
    }

    .menu-row-body { padding: 0.85rem 1rem 1rem; }
}
