:root,
html[data-theme="dark"] {
    --bg: #0a0707;
    --surface: #140c0c;
    --text: #ffffff;
    --muted: #b9b0ac;
    --accent: #b51d1d;
    --brand: #740000;
    --line: rgba(255, 235, 230, 0.1);
    --card: #1e1e1e;
    --card-open: #261616;
    --border: #2c2c2c;
    --input: #161616;
    --nav-bg: rgba(10, 7, 7, 0.88);
    --price: #e8b4b4;
    --chip: rgba(255, 255, 255, 0.04);
    --bar: rgba(0, 0, 0, 0.38);
    --bar-text: rgba(242, 238, 230, 0.55);
    --theme-color: #740000;
    --stage-veil: linear-gradient(180deg, rgba(8, 4, 4, 0.22) 0%, rgba(8, 4, 4, 0.48) 36%, rgba(8, 4, 4, 0.84) 70%, rgba(8, 4, 4, 0.94) 100%);
    --hero-veil: linear-gradient(180deg, rgba(10, 7, 7, 0.2) 0%, rgba(10, 7, 7, 0.08) 40%, rgba(10, 7, 7, 0.55) 100%);
    --lightbox-veil: rgba(8, 4, 4, 0.42);
    --sans: "DM Sans", "Segoe UI", sans-serif;
    --pad: 22px;
    --cat-h: 108px;
}

html[data-theme="light"] {
    --bg: #f4efe8;
    --surface: #ffffff;
    --text: #1a1212;
    --muted: #6b5f5b;
    --accent: #9a1515;
    --brand: #740000;
    --line: rgba(40, 20, 16, 0.12);
    --card: #ffffff;
    --card-open: #f7ecec;
    --border: #e0d4cc;
    --input: #ffffff;
    --nav-bg: rgba(244, 239, 232, 0.92);
    --price: #8a1a1a;
    --chip: rgba(255, 255, 255, 0.65);
    --bar: rgba(255, 255, 255, 0.72);
    --bar-text: rgba(26, 18, 18, 0.45);
    --theme-color: #f4efe8;
    --stage-veil: linear-gradient(180deg, rgba(244, 239, 232, 0.58) 0%, rgba(244, 239, 232, 0.78) 40%, rgba(244, 239, 232, 0.95) 100%);
    --hero-veil: linear-gradient(180deg, rgba(244, 239, 232, 0.28) 0%, rgba(244, 239, 232, 0.12) 42%, rgba(244, 239, 232, 0.62) 100%);
    --lightbox-veil: rgba(20, 10, 10, 0.38);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    background: var(--bg);
    height: 100%;
}

html,
body {
    margin: 0;
    padding: 0;
}

body.menu-page {
    height: 100%;
    overflow: hidden;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.app {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    height: 100%;
    min-height: 100dvh;
    background: var(--bg);
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    scrollbar-width: none;
}

.app::-webkit-scrollbar {
    display: none;
}

.app.is-locked {
    overflow: hidden;
}

.stage-bg {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100dvh;
    margin-bottom: -100dvh;
    z-index: 0;
    pointer-events: none;
    background:
        var(--stage-veil),
        var(--stage-img) center top / cover no-repeat;
}

.hero,
.cats,
.menu,
.foot,
.rate {
    position: relative;
    z-index: 1;
}

.desk-gate {
    display: none;
}

.wordmark {
    margin: 0;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero {
    position: relative;
    min-height: 240px;
    padding: 0;
    background: transparent;
}

.hero-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    z-index: 0;
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--hero-veil);
    pointer-events: none;
}

.hero-copy {
    position: absolute;
    top: 40px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px var(--pad);
    text-align: center;
    pointer-events: none;
}

.hero-copy .logo,
.hero-copy .logo-wrap,
.hero-copy .wordmark,
.hero-copy .slogan {
    pointer-events: auto;
}

.hero-bar {
    position: absolute;
    top: calc(8px + env(safe-area-inset-top));
    left: 10px;
    right: 10px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.theme,
.lang {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 6px;
    min-height: 34px;
    font-size: 11px;
    letter-spacing: 0.12em;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--bar);
    border: 1px solid var(--line);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.theme button,
.lang a {
    color: var(--bar-text);
    min-width: 32px;
    min-height: 32px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme button svg {
    width: 16px;
    height: 16px;
    display: block;
}

.theme button.is-on,
.lang a.is-on {
    color: var(--text);
}

.theme span,
.lang span {
    width: 1px;
    height: 10px;
    background: var(--line);
}

.logo-wrap {
    display: block;
    width: min(82vw, 260px);
    margin: 0 auto;
    line-height: 0;
}

.logo {
    width: 100%;
    height: auto;
    max-width: 260px;
    object-fit: contain;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.55));
}

html[data-theme="light"] .logo-wrap {
    background-color: var(--brand);
    -webkit-mask: var(--logo-src) center / contain no-repeat;
    mask: var(--logo-src) center / contain no-repeat;
}

html[data-theme="light"] .logo {
    opacity: 0;
    filter: none;
}

.hero-copy .wordmark {
    font-size: clamp(28px, 8vw, 36px);
    letter-spacing: 0.22em;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .hero-copy .wordmark {
    text-shadow: none;
}

.slogan {
    margin: 12px 0 0;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: rgba(242, 238, 230, 0.78);
}

html[data-theme="light"] .slogan {
    color: var(--muted);
}

.cats {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 20;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.search {
    padding: 10px var(--pad) 0;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    background: var(--input);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-box:focus-within,
.search-box.is-on {
    border-color: #740000;
    box-shadow: 0 0 0 1px #740000;
}

.search-box:focus-within .search-icon,
.search-box.is-on .search-icon {
    border-color: #740000;
}

.search-box:focus-within .search-icon::after,
.search-box.is-on .search-icon::after {
    background: #740000;
}

.search-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    border: 2px solid var(--muted);
    border-radius: 50%;
    position: relative;
}

.search-icon::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 2px;
    background: var(--muted);
    right: -5px;
    bottom: -2px;
    transform: rotate(45deg);
    border-radius: 1px;
}

.search-box input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--text);
    font: 500 15px/1.2 var(--sans);
    outline: none;
}

.search-box input::placeholder {
    color: var(--muted);
}

.search-box input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.search-clear {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    position: relative;
    border-radius: 50%;
    background: var(--chip);
}

.search-clear::before,
.search-clear::after {
    content: "";
    position: absolute;
    top: 13px;
    left: 7px;
    width: 14px;
    height: 1.5px;
    background: var(--text);
}

.search-clear::before { transform: rotate(45deg); }
.search-clear::after { transform: rotate(-45deg); }

.search-empty {
    margin: 8px 2px 18px;
    padding: 16px;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.acc.is-miss,
.sub.is-miss,
li.is-miss {
    display: none;
}

.cats-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px var(--pad);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.cats-track::-webkit-scrollbar {
    display: none;
}

.cat-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--muted);
    white-space: nowrap;
    border: 1px solid transparent;
    background: var(--chip);
}

.cat-link.is-on {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.menu {
    padding: 14px 16px 48px;
}

.acc {
    margin-bottom: 10px;
    scroll-margin-top: calc(var(--cat-h) + env(safe-area-inset-top) + 10px);
}

.acc-btn,
.sub-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    min-height: 56px;
    padding: 15px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    touch-action: manipulation;
}

.acc.is-open > .acc-btn {
    border-color: rgba(181, 29, 29, 0.7);
    background: var(--card-open);
}

.sub {
    margin: 8px 0;
}

.sub-btn {
    min-height: 48px;
    padding: 15px;
    background: var(--chip);
    font-size: 16px;
    font-weight: 500;
}

.sub.is-open > .sub-btn {
    color: var(--text);
    border-color: var(--border);
    background: var(--card-open);
}

.acc-panel {
    padding: 10px 2px 4px;
}

.sub-panel {
    padding: 4px 0 8px 2px;
}

.chev {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    flex: 0 0 auto;
    opacity: 0.7;
    transition: transform 180ms ease;
}

.acc.is-open > .acc-btn .chev,
.sub.is-open > .sub-btn .chev {
    transform: rotate(225deg);
}

.rows {
    list-style: none;
    margin: 0;
    padding: 8px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.row {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 10px 12px;
    min-height: 52px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: var(--sans);
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(181, 29, 29, 0.25);
}

.row-photo {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--input);
    border: 1px solid var(--border);
}

.row-photo.is-empty {
    display: grid;
    place-items: center;
}

.row-photo.is-empty::after,
.sheet-broken {
    display: block;
    background-color: var(--text);
    opacity: 0.42;
    -webkit-mask: url("../images/yildiz.svg") center / contain no-repeat;
    mask: url("../images/yildiz.svg") center / contain no-repeat;
}

.row-photo.is-empty::after {
    content: "";
    width: 18px;
    height: 18px;
    margin: 0;
}

.row-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.row-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    text-transform: none;
}

.row-price {
    flex: 0 0 auto;
    margin-left: auto;
    text-align: right;
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--price);
    white-space: nowrap;
}

.empty {
    color: var(--muted);
    font-size: 14px;
}

.rate {
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.rate-kicker {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
}

.rate h2 {
    margin: 0;
    font-family: var(--sans);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--text);
    text-transform: none;
}

.rate p {
    margin: 10px auto 22px;
    max-width: 16rem;
    color: var(--muted);
    font-weight: 300;
    font-size: 14px;
}

.rate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    min-width: 180px;
    padding: 0 22px;
    border: 1px solid var(--brand);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: var(--brand);
}

.foot {
    padding: 8px var(--pad) calc(28px + env(safe-area-inset-bottom));
    color: var(--muted);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    text-align: center;
}

.foot a {
    display: block;
}

.foot-row {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    max-width: 34ch;
    margin: 0 auto;
    text-align: left;
}

.foot > a.foot-row {
    display: inline-flex;
}

.foot-ico {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--accent);
}

.foot-links {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 10px 0;
}

.foot-links a,
.foot-links .foot-row {
    min-height: 44px;
    max-width: none;
    display: inline-flex;
    align-items: center;
}

.foot-links .foot-ico {
    margin-top: 0;
}

.hours {
    margin: 0;
}

.hours .foot-ico {
    margin-top: 3px;
}

.copy {
    margin: 18px 0 0;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.sheet[hidden] {
    display: none !important;
}

.sheet {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 80;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

.sheet.is-open {
    pointer-events: auto;
}

.sheet-back {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    transition: opacity 180ms linear;
}

.sheet.is-open .sheet-back {
    opacity: 1;
}

.sheet-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    max-height: 82dvh;
    background: var(--card);
    border: 1px solid var(--border);
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
    padding: 40px 0 calc(18px + env(safe-area-inset-bottom));
    overflow: auto;
    box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.35);
    transform: translate3d(0, 100%, 0);
    transition: transform 200ms cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
}

.sheet.is-open .sheet-panel {
    transform: translate3d(0, 0, 0);
}

.sheet-grab {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    width: 36px;
    height: 4px;
    margin: 0 auto;
    border-radius: 99px;
    background: var(--border);
}

.sheet-close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 36px;
    height: 36px;
    z-index: 2;
    border-radius: 50%;
    background: var(--input);
    border: 1px solid var(--border);
}

.sheet-close::before,
.sheet-close::after {
    content: "";
    position: absolute;
    top: 17px;
    left: 10px;
    width: 14px;
    height: 1.5px;
    background: var(--text);
}

.sheet-close::before {
    transform: rotate(45deg);
}

.sheet-close::after {
    transform: rotate(-45deg);
}

.sheet-photo {
    display: block;
    position: relative;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--input);
    border: 1px solid var(--border);
}

.sheet-photo.has-img {
    cursor: zoom-in;
}

.sheet-track {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 220ms cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
}

.sheet-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.sheet-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sheet-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    border-radius: 50%;
    background: rgba(8, 6, 6, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.sheet-prev { left: 8px; }
.sheet-next { right: 8px; }

.sheet-nav::before {
    content: "";
    position: absolute;
    top: 12px;
    width: 9px;
    height: 9px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.sheet-prev::before {
    left: 14px;
    transform: rotate(-135deg);
}

.sheet-next::before {
    left: 10px;
    transform: rotate(45deg);
}

.sheet-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.sheet-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.38);
}

.sheet-dot.is-on {
    width: 16px;
    background: #fff;
}

.sheet-body {
    padding: 14px 20px 8px;
}

.sheet-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sheet-broken {
    display: none;
    position: absolute;
    inset: 14px;
    z-index: 1;
    pointer-events: none;
}

.sheet.is-empty .sheet-broken {
    display: block;
}

.sheet-body h2 {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--sans);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.sheet-price {
    margin: 0 0 0 auto;
    flex: 0 0 auto;
    color: var(--price);
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
    text-align: right;
}

.sheet-desc-label {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.sheet-desc {
    margin: 6px 0 0;
    color: var(--text);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
}

.sheet-desc:empty::after {
    content: "—";
    color: var(--muted);
}

.lightbox[hidden] {
    display: none !important;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    padding: 10px;
    isolation: isolate;
    overflow: hidden;
}

.lightbox::before {
    content: "";
    position: absolute;
    inset: -28px;
    z-index: 0;
    background: var(--stage-img, url("../images/stage.jpg")) center top / cover no-repeat;
    filter: blur(22px);
    transform: scale(1.08);
}

.lightbox::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--lightbox-veil);
}

.lightbox-img {
    position: relative;
    z-index: 1;
    width: min(calc(100vw - 20px), calc(100dvh - 20px));
    height: min(calc(100vw - 20px), calc(100dvh - 20px));
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    object-fit: contain;
    border-radius: 16px;
}

.lightbox-close {
    position: absolute;
    top: calc(8px + env(safe-area-inset-top));
    right: 10px;
    width: 44px;
    height: 44px;
    z-index: 3;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.lightbox-close::before,
.lightbox-close::after {
    content: "";
    position: absolute;
    top: 21px;
    left: 12px;
    width: 20px;
    height: 1.5px;
    background: #fff;
}

.lightbox-close::before { transform: rotate(45deg); }
.lightbox-close::after { transform: rotate(-45deg); }

.lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }

.lightbox-nav::before {
    content: "";
    position: absolute;
    top: 16px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.lightbox-prev::before {
    left: 17px;
    transform: rotate(-135deg);
}

.lightbox-next::before {
    left: 13px;
    transform: rotate(45deg);
}

.lightbox-thumbs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
}

.lightbox-thumb {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #111;
    opacity: 0.55;
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox-thumb.is-on {
    opacity: 1;
    border-color: var(--accent);
}

@media (min-width: 768px) {
    html,
    body.menu-page {
        width: 100%;
        height: 100%;
        min-height: 100dvh;
        overflow: hidden;
    }

    .app,
    .sheet,
    .sheet.is-open,
    .lightbox,
    .lightbox.is-open {
        display: none !important;
    }

    .desk-gate {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
        min-width: 100%;
        height: 100dvh;
        min-height: 100dvh;
        padding: 0;
        overflow: hidden;
        background: var(--bg);
    }

    .desk-bar {
        position: absolute;
        top: calc(18px + env(safe-area-inset-top, 0px));
        left: 22px;
        right: 22px;
        z-index: 4;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        pointer-events: none;
    }

    .desk-bar .theme,
    .desk-bar .lang {
        pointer-events: auto;
    }

    .desk-stage {
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background:
            var(--stage-veil),
            var(--stage-img) center / cover no-repeat;
    }

    .desk-logo {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: clamp(14px, 2.4vh, 22px);
        width: 100%;
        height: 100%;
        padding: min(6vh, 48px) min(8vw, 80px) 96px;
        text-align: center;
    }

    .desk-gate .logo-wrap {
        width: min(52vw, 560px);
        margin: 0;
    }

    .desk-gate .logo {
        width: 100%;
        max-width: none;
        height: auto;
        filter: drop-shadow(0 10px 36px rgba(0, 0, 0, 0.55));
    }

    .desk-gate .wordmark {
        margin: 0;
        color: var(--text);
        font-size: clamp(40px, 7vw, 96px);
        letter-spacing: 0.18em;
        text-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    }

    .desk-copy {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        max-width: none;
        padding: 0 24px calc(28px + env(safe-area-inset-bottom, 0px));
        text-align: center;
        pointer-events: none;
    }

    .desk-note,
    .desk-scan {
        margin: 0;
        color: rgba(242, 238, 230, 0.78);
        font-size: 12px;
        font-weight: 300;
        letter-spacing: 0.03em;
        line-height: 1.5;
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
    }

    .desk-qr {
        width: min(150px);
        height: auto;
        aspect-ratio: 1;
        padding: 10px;
        background: #fff;
    }

    html[data-theme="light"] .desk-note,
    html[data-theme="light"] .desk-scan {
        color: var(--text);
        text-shadow: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .app {
        animation: fade-in 280ms ease;
    }

    .cat-link,
    .rate-btn,
    .lang a,
    .acc-btn,
    .sub-btn,
    .chev {
        transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
    }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .app,
    .sheet-back,
    .sheet-panel,
    .sheet-track,
    .item,
    .chev,
    .acc-panel,
    .sub-panel {
        animation: none;
        transition: none;
    }
}
