:root {
    --navy: #07131f;
    --panel: #0e2031;
    --cream: #fff8ea;
    --gold: #ffb627;
    --coral: #ff5e45;
    --mint: #72ddba;
    --ink: #10212f;
    --titlebar-bg: linear-gradient(112deg, #10283b 0%, #0b1e2d 48%, #07131f 100%);
    --titlebar-border: rgba(255, 255, 255, .13);
    --titlebar-shadow: rgba(0, 0, 0, .22);
    --brand-surface: rgba(255, 255, 255, .055);
    --brand-border: rgba(255, 255, 255, .13);
    --brand-title-a: #fff8ea;
    --brand-title-b: #d9f4ff;
    --brand-orbit: rgba(255, 182, 39, .22);
    --panel-bg: linear-gradient(160deg, #10283b 0%, #091724 100%);
    --panel-shadow: rgba(0, 0, 0, .25);
    --menu-line: rgba(255, 255, 255, .13);
    --menu-muted: rgba(255, 248, 234, .58);
    --showcase-bg: radial-gradient(circle at 72% 25%, #193c4c 0%, #0b1b29 38%, #06111b 74%);
    --login-bg: rgba(3, 13, 22, .38);
    --login-border: rgba(255, 255, 255, .2);
    --ambient-a: rgba(255, 182, 39, .11);
    --ambient-b: rgba(114, 221, 186, .1);
    --image-shade-a: rgba(3, 14, 24, .42);
    --image-shade-b: rgba(3, 14, 24, .5);
    --copy-bg: linear-gradient(115deg, rgba(5, 20, 32, .9), rgba(9, 30, 45, .62));
    --copy-border: rgba(255, 255, 255, .22);
    --copy-shadow: rgba(0, 0, 0, .34);
    --subtitle: rgba(255, 248, 234, .82);
    --dot: rgba(255, 255, 255, .3);
    --empty-text: rgba(255, 248, 234, .65);
    --display-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --image-radius: clamp(22px, 2.4vw, 40px);
    --copy-radius: 8px 26px 26px 8px;
}

body.theme-champagne-noir {
    --navy: #09090a; --panel: #151416; --cream: #f5edde; --gold: #d8bb7d; --coral: #8f6b42; --mint: #d8bb7d; --ink: #171411;
    --titlebar-bg: linear-gradient(118deg, #201d19, #0d0d0e 56%, #17120d); --brand-title-a: #fff8eb; --brand-title-b: #d8bb7d; --brand-orbit: rgba(216, 187, 125, .2);
    --panel-bg: linear-gradient(160deg, #1b1917, #0c0c0d); --showcase-bg: radial-gradient(circle at 68% 24%, #342b20, #151313 40%, #080809 78%);
    --ambient-a: rgba(216, 187, 125, .14); --ambient-b: rgba(255, 248, 235, .06); --copy-bg: linear-gradient(118deg, rgba(20, 17, 14, .94), rgba(34, 29, 22, .72));
    --display-font: Georgia, "Times New Roman", serif; --copy-radius: 3px 20px 20px 3px;
}

body.theme-arctic-pearl {
    --navy: #dfecef; --panel: #f5fafb; --cream: #17334a; --gold: #247f9c; --coral: #7ec5d8; --mint: #247f9c; --ink: #fff;
    --titlebar-bg: linear-gradient(112deg, #f9fcfd, #dcebef 52%, #c5dce3); --titlebar-border: rgba(23, 51, 74, .15); --titlebar-shadow: rgba(23, 51, 74, .13);
    --brand-surface: rgba(255, 255, 255, .54); --brand-border: rgba(23, 51, 74, .13); --brand-title-a: #17334a; --brand-title-b: #247f9c; --brand-orbit: rgba(36, 127, 156, .18);
    --panel-bg: linear-gradient(160deg, #f8fbfc, #dcebee); --panel-shadow: rgba(23, 51, 74, .12); --menu-line: rgba(23, 51, 74, .14); --menu-muted: rgba(23, 51, 74, .58);
    --showcase-bg: radial-gradient(circle at 72% 25%, #ffffff, #dcecf1 42%, #c8dde4 78%); --login-bg: rgba(255, 255, 255, .6); --login-border: rgba(23, 51, 74, .2);
    --ambient-a: rgba(36, 127, 156, .12); --ambient-b: rgba(126, 197, 216, .2); --image-shade-a: rgba(14, 46, 64, .3); --image-shade-b: rgba(14, 46, 64, .42);
    --copy-bg: linear-gradient(115deg, rgba(249, 252, 253, .94), rgba(220, 235, 239, .83)); --copy-border: rgba(23, 51, 74, .18); --copy-shadow: rgba(23, 51, 74, .2);
    --subtitle: rgba(23, 51, 74, .78); --dot: rgba(23, 51, 74, .28); --empty-text: rgba(23, 51, 74, .65);
}

body.theme-emerald-lounge {
    --navy: #071b17; --panel: #0d2a25; --cream: #f1f1df; --gold: #c9a968; --coral: #8b5d35; --mint: #91c8a6; --ink: #142219;
    --titlebar-bg: linear-gradient(118deg, #173c33, #09231d 55%, #061612); --brand-title-a: #f6f3df; --brand-title-b: #c9a968; --brand-orbit: rgba(201, 169, 104, .19);
    --panel-bg: linear-gradient(160deg, #153a31, #081d18); --showcase-bg: radial-gradient(circle at 72% 25%, #204b3f, #0d2a23 42%, #061713 78%);
    --ambient-a: rgba(201, 169, 104, .13); --ambient-b: rgba(145, 200, 166, .1); --copy-bg: linear-gradient(115deg, rgba(7, 31, 25, .93), rgba(24, 61, 50, .7));
    --display-font: Georgia, "Times New Roman", serif; --copy-radius: 4px 24px 24px 4px;
}

body.theme-ruby-velvet {
    --navy: #210811; --panel: #35101c; --cream: #fff0e7; --gold: #d79a8b; --coral: #9e304e; --mint: #f0b9aa; --ink: #2c1017;
    --titlebar-bg: linear-gradient(116deg, #50182a, #2b0b16 55%, #18060c); --brand-title-a: #fff1e8; --brand-title-b: #e9aa9a; --brand-orbit: rgba(215, 154, 139, .2);
    --panel-bg: linear-gradient(160deg, #471525, #210811); --showcase-bg: radial-gradient(circle at 70% 24%, #5b2033, #2d0e19 42%, #17060c 78%);
    --ambient-a: rgba(215, 154, 139, .15); --ambient-b: rgba(158, 48, 78, .15); --copy-bg: linear-gradient(115deg, rgba(48, 10, 23, .94), rgba(88, 28, 46, .7));
    --display-font: Georgia, "Times New Roman", serif; --image-radius: clamp(30px, 3vw, 54px); --copy-radius: 20px;
}

body.theme-cobalt-neon {
    --navy: #07102f; --panel: #101d51; --cream: #f3f6ff; --gold: #31e7e1; --coral: #ee54c8; --mint: #8ff8f2; --ink: #07102f;
    --titlebar-bg: linear-gradient(118deg, #172969, #091440 52%, #1c0d46); --brand-title-a: #ffffff; --brand-title-b: #31e7e1; --brand-orbit: rgba(238, 84, 200, .2);
    --panel-bg: linear-gradient(160deg, #14255f, #08123a); --showcase-bg: radial-gradient(circle at 70% 24%, #233a85, #0c1748 42%, #060d2b 78%);
    --ambient-a: rgba(49, 231, 225, .14); --ambient-b: rgba(238, 84, 200, .13); --copy-bg: linear-gradient(115deg, rgba(7, 16, 47, .94), rgba(27, 28, 91, .74));
    --image-radius: 8px; --copy-radius: 4px 18px 4px 18px;
}

body.theme-coastal-sand {
    --navy: #ded1bc; --panel: #efe6d7; --cream: #17364b; --gold: #e56e4f; --coral: #f0aa72; --mint: #247b78; --ink: #fff9ef;
    --titlebar-bg: linear-gradient(112deg, #f6eee2, #e4d6c1 53%, #d5c4aa); --titlebar-border: rgba(23, 54, 75, .16); --titlebar-shadow: rgba(52, 40, 24, .13);
    --brand-surface: rgba(255, 255, 255, .45); --brand-border: rgba(23, 54, 75, .13); --brand-title-a: #17364b; --brand-title-b: #247b78; --brand-orbit: rgba(229, 110, 79, .18);
    --panel-bg: linear-gradient(160deg, #f7f0e5, #e6d8c4); --panel-shadow: rgba(52, 40, 24, .12); --menu-line: rgba(23, 54, 75, .15); --menu-muted: rgba(23, 54, 75, .58);
    --showcase-bg: radial-gradient(circle at 70% 24%, #fff8ed, #eadbc6 43%, #d7c4a8 78%); --login-bg: rgba(255, 255, 255, .5); --login-border: rgba(23, 54, 75, .2);
    --ambient-a: rgba(229, 110, 79, .13); --ambient-b: rgba(36, 123, 120, .11); --image-shade-a: rgba(23, 54, 75, .27); --image-shade-b: rgba(23, 54, 75, .4);
    --copy-bg: linear-gradient(115deg, rgba(255, 249, 239, .94), rgba(235, 222, 201, .84)); --copy-border: rgba(23, 54, 75, .18); --copy-shadow: rgba(52, 40, 24, .2);
    --subtitle: rgba(23, 54, 75, .78); --dot: rgba(23, 54, 75, .28); --empty-text: rgba(23, 54, 75, .65); --display-font: Georgia, "Times New Roman", serif;
}

body.theme-elegant {
    --navy: #0a2e31; --panel: #f2e9da; --cream: #f7efe1; --gold: #c49a65; --coral: #9d633b; --mint: #173f40; --ink: #142c2d;
    --titlebar-bg: #f2e9da; --titlebar-border: rgba(20, 44, 45, .18); --titlebar-shadow: rgba(20, 44, 45, .08);
    --brand-surface: transparent; --brand-border: transparent; --brand-title-a: #142c2d; --brand-title-b: #142c2d; --brand-orbit: rgba(196, 154, 101, .22);
    --panel-bg: #f2e9da; --panel-shadow: rgba(20, 44, 45, .09); --menu-line: rgba(20, 44, 45, .25); --menu-muted: rgba(20, 44, 45, .58);
    --showcase-bg: radial-gradient(circle at 55% 20%, #17484a, #0a3033 46%, #062326 82%); --login-bg: rgba(4, 25, 27, .5); --login-border: rgba(247, 239, 225, .28);
    --ambient-a: rgba(196, 154, 101, .11); --ambient-b: rgba(23, 63, 64, .12); --image-shade-a: rgba(4, 27, 29, .2); --image-shade-b: rgba(4, 27, 29, .6);
    --copy-bg: linear-gradient(115deg, rgba(7, 37, 39, .94), rgba(10, 54, 56, .82)); --copy-border: rgba(196, 154, 101, .3); --copy-shadow: rgba(3, 22, 24, .34);
    --subtitle: rgba(247, 239, 225, .82); --dot: rgba(247, 239, 225, .3); --empty-text: rgba(247, 239, 225, .65);
    --display-font: Georgia, "Times New Roman", serif; --image-radius: 18px; --copy-radius: 3px;
}

* { box-sizing: border-box; }

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--navy);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--cream);
}

body { overflow: hidden; }

.board-shell {
    height: 100vh;
    height: 100dvh;
    display: grid;
    grid-template-columns: clamp(300px, 31vw, 540px) 1fr;
    grid-template-rows: auto minmax(0, 1fr);
}

.board-titlebar {
    position: relative;
    z-index: 30;
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: clamp(88px, 13vh, 126px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(12px, 1.8vh, 22px) clamp(24px, 3vw, 52px);
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid var(--titlebar-border);
    background: var(--titlebar-bg);
    box-shadow: 0 14px 38px var(--titlebar-shadow);
}

.board-titlebar::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(42vw, 720px);
    aspect-ratio: 1;
    left: 34%;
    top: 48%;
    border: 1px solid var(--brand-orbit);
    border-radius: 46% 54% 62% 38%;
    box-shadow: 0 0 0 28px color-mix(in srgb, var(--brand-orbit) 36%, transparent), 0 0 0 76px color-mix(in srgb, var(--brand-orbit) 16%, transparent);
    transform: translate(-50%, -50%) rotate(-12deg);
    animation: orbitDrift 18s ease-in-out infinite alternate;
}

.board-titlebar::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 7%;
    bottom: 0;
    width: min(36vw, 620px);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .78;
}

.board-brand {
    position: relative;
    min-width: 0;
    max-width: calc(100% - 68px);
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.2vw, 34px);
    padding: clamp(8px, 1vh, 12px) clamp(14px, 1.6vw, 26px) clamp(8px, 1vh, 12px) clamp(9px, 1vw, 16px);
    border: 1px solid var(--brand-border);
    border-radius: clamp(18px, 2vw, 30px);
    background: var(--brand-surface);
    box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 16px 50px rgba(0, 0, 0, .1);
    backdrop-filter: blur(18px);
    animation: brandDrift 7s ease-in-out infinite;
}

.board-brand-copy {
    min-width: 0;
    display: grid;
    gap: clamp(3px, .5vh, 7px);
}

.board-brand h1 {
    margin: 0;
    min-width: 0;
    color: var(--cream);
    font-size: clamp(2rem, 3.7vw, 4.4rem);
    line-height: .95;
    letter-spacing: -.055em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
    font-family: var(--display-font);
}

.board-brand h1 span {
    display: inline;
    color: var(--brand-title-a);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .16));
    animation: titleGlow 6.5s ease-in-out infinite;
}

.board-subtitle {
    min-width: 0;
    margin: 0;
    color: var(--brand-title-b);
    font-family: var(--display-font);
    font-size: clamp(1.05rem, 1.8vw, 2rem);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -.025em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
}

.board-subtitle span {
    position: relative;
    display: inline-block;
    transform-origin: center;
    will-change: transform, filter;
}

.title-effect-flip .board-subtitle span.is-title-effect-active { animation: subtitleFlip .85s cubic-bezier(.2, .75, .25, 1); }
.title-effect-rotate .board-subtitle span.is-title-effect-active { animation: subtitleRotate .85s cubic-bezier(.2, .75, .25, 1); }
.title-effect-glitch .board-subtitle span::before,
.title-effect-glitch .board-subtitle span::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}
.title-effect-glitch .board-subtitle span::before { color: #35f2ea; }
.title-effect-glitch .board-subtitle span::after { color: #ff4fb7; }
.title-effect-glitch .board-subtitle span.is-title-effect-active { animation: subtitleGlitch .85s steps(1, end); }
.title-effect-glitch .board-subtitle span.is-title-effect-active::before { animation: glitchLayerA .85s steps(1, end); }
.title-effect-glitch .board-subtitle span.is-title-effect-active::after { animation: glitchLayerB .85s steps(1, end); }

.menu-panel {
    position: relative;
    z-index: 3;
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    background: var(--panel-bg);
    box-shadow: 24px 0 65px var(--panel-shadow);
    display: flex;
    flex-direction: column;
}

.menu-logo {
    display: block;
    width: auto;
    max-width: min(24vw, 210px);
    height: auto;
    max-height: clamp(58px, 9vh, 88px);
    object-fit: contain;
    object-position: left center;
    margin: 0;
    flex: 0 0 auto;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .18));
}

.menu-kicker,
.eyebrow {
    display: block;
    color: var(--gold);
    font-size: clamp(.68rem, .95vw, .88rem);
    font-weight: 850;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.menu-scroll {
    padding: clamp(22px, 3vh, 38px) clamp(24px, 3vw, 52px) clamp(28px, 4vh, 56px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .3) transparent;
}

.menu-category {
    padding: clamp(15px, 2.1vh, 28px) 0;
    border-top: 1px solid var(--menu-line);
}

.menu-category h2 {
    margin: 0 0 .75em;
    color: var(--mint);
    font-size: clamp(1.15rem, 1.7vw, 1.55rem);
    letter-spacing: .01em;
}

.menu-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: clamp(9px, 1.3vh, 16px);
}

.menu-category li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
    font-size: clamp(.88rem, 1.23vw, 1.18rem);
}

.menu-category li span {
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.menu-category li strong {
    color: var(--gold);
    font-size: .96em;
    white-space: nowrap;
}

.category-empty,
.empty-note {
    margin: 0;
    color: var(--menu-muted);
    font-size: .9rem;
}

.showcase {
    position: relative;
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    overflow: hidden;
    background: var(--showcase-bg);
}

.login-link {
    position: static;
    z-index: 20;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--login-border);
    border-radius: 50%;
    background: var(--login-bg);
    backdrop-filter: blur(12px);
    transition: .2s ease;
}

.login-link:hover { background: var(--gold); transform: translateY(-2px); }
.login-link svg { width: 17px; fill: var(--cream); }
.login-link:hover svg { fill: var(--ink); }

.ambient { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; }
.ambient-one { width: 45vw; height: 45vw; background: var(--ambient-a); right: -19vw; top: -20vw; }
.ambient-two { width: 35vw; height: 35vw; background: var(--ambient-b); left: -12vw; bottom: -20vw; }

.slides,
.slide { position: absolute; inset: 0; }

.slide {
    display: grid;
    place-items: center;
    padding: clamp(46px, 5vw, 88px) clamp(34px, 4.5vw, 82px);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.025);
    transition: opacity .9s ease, transform 1.2s ease, visibility .9s;
}

.slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }

.slide-visual {
    position: relative;
    width: min(94%, 1100px, calc(82vh * 1.6));
    aspect-ratio: 16 / 10;
    min-width: 0;
    animation: float 6s ease-in-out infinite;
}

.slide-visual::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 52%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--gold), var(--coral));
    box-shadow: 0 35px 90px rgba(0, 0, 0, .3);
    left: -4%;
    top: 50%;
    transform: translateY(-50%);
}

.slide-visual::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    border-radius: var(--image-radius);
    background:
        linear-gradient(90deg, var(--image-shade-a) 0%, transparent 52%),
        linear-gradient(0deg, var(--image-shade-b) 0%, transparent 50%);
    pointer-events: none;
}

.slide-visual img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--image-radius);
    box-shadow: 0 28px 55px rgba(0, 0, 0, .34);
    transform: scale(.94) rotate(-2deg);
    transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}

.slide.is-active .slide-visual img { transform: scale(1) rotate(0); }

.slide-copy {
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
}

.slide-text {
    position: absolute;
    left: clamp(20px, 4.5%, 54px);
    bottom: clamp(20px, 5%, 52px);
    width: max-content;
    max-width: 62%;
    padding: clamp(15px, 1.8vw, 24px) clamp(18px, 2.2vw, 30px);
    border: 1px solid var(--copy-border);
    border-left: 5px solid var(--gold);
    border-radius: var(--copy-radius);
    background: var(--copy-bg);
    box-shadow: 0 18px 55px var(--copy-shadow), inset 0 1px rgba(255, 255, 255, .08);
    backdrop-filter: blur(16px);
    transform: skewX(-2deg);
}

.slide-text > * {
    transform: skewX(2deg);
}

.slide-title {
    max-width: 100%;
    margin: .14em 0 0;
    font-size: clamp(2.1rem, 4vw, 5.4rem);
    line-height: .94;
    letter-spacing: -.055em;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .5);
    font-family: var(--display-font);
}

.slide-title.is-medium { font-size: clamp(1.95rem, 3.35vw, 4.6rem); }
.slide-title.is-long { font-size: clamp(1.65rem, 2.6vw, 3.65rem); }

.slide-subtitle {
    max-width: 38ch;
    margin: .65em 0 0;
    color: var(--subtitle);
    font-size: clamp(.86rem, 1.1vw, 1.15rem);
    line-height: 1.38;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.price {
    position: absolute;
    right: clamp(20px, 4.5%, 54px);
    bottom: clamp(20px, 5%, 52px);
    padding: .22em .5em;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
    font-size: clamp(1.55rem, 2.8vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -.045em;
    box-shadow: 0 16px 45px rgba(255, 182, 39, .18);
}

.slide-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: clamp(22px, 3vw, 46px);
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dot); transition: .35s; }
.dot.is-active { width: 32px; border-radius: 8px; background: var(--gold); }

.showcase-empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    padding: 40px;
}

.showcase-empty .empty-mark {
    justify-self: center;
    width: 108px;
    height: 108px;
    display: grid;
    place-items: center;
    border-radius: 32px;
    background: linear-gradient(145deg, var(--gold), var(--coral));
    color: var(--ink);
    font-size: 1.6rem;
    font-weight: 950;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .3);
    transform: rotate(-5deg);
}

.showcase-empty h2 { font-size: clamp(2.8rem, 5vw, 5.5rem); letter-spacing: -.06em; margin: .5em 0 .1em; }
.showcase-empty p { max-width: 560px; color: var(--empty-text); font-size: clamp(1rem, 1.5vw, 1.35rem); }

@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes brandDrift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .16)); }
    50% { filter: drop-shadow(0 8px 28px var(--brand-orbit)); }
}
@keyframes orbitDrift { 0% { transform: translate(-50%, -50%) rotate(-12deg) scale(.96); } 100% { transform: translate(-46%, -54%) rotate(18deg) scale(1.06); } }
@keyframes subtitleFlip {
    0%, 12% { transform: perspective(900px) rotateX(0); }
    48% { transform: perspective(900px) rotateX(92deg); }
    52% { transform: perspective(900px) rotateX(268deg); }
    100% { transform: perspective(900px) rotateX(360deg); }
}
@keyframes subtitleRotate {
    0%, 12% { transform: rotate(0) scale(1); }
    45% { transform: rotate(-8deg) scale(.94); }
    100% { transform: rotate(360deg) scale(1); }
}
@keyframes subtitleGlitch {
    0%, 14%, 100% { transform: translate(0); filter: none; }
    18% { transform: translate(-3px, 1px) skewX(-4deg); filter: contrast(1.5); }
    24% { transform: translate(4px, -1px) skewX(3deg); }
    31% { transform: translate(-1px, 2px); filter: contrast(1.2); }
    38%, 55% { transform: translate(0); filter: none; }
    61% { transform: translate(3px, 0) skewX(-2deg); }
    70% { transform: translate(-2px, -1px); }
}
@keyframes glitchLayerA {
    0%, 14%, 40%, 56%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0); }
    18% { opacity: .72; clip-path: inset(8% 0 62% 0); transform: translate(5px, -1px); }
    24% { opacity: .62; clip-path: inset(54% 0 18% 0); transform: translate(-4px, 1px); }
    61% { opacity: .7; clip-path: inset(28% 0 44% 0); transform: translate(4px, 0); }
    70% { opacity: .52; clip-path: inset(72% 0 5% 0); transform: translate(-3px, 1px); }
}
@keyframes glitchLayerB {
    0%, 16%, 42%, 58%, 100% { opacity: 0; clip-path: inset(100% 0 0 0); transform: translate(0); }
    20% { opacity: .68; clip-path: inset(60% 0 10% 0); transform: translate(-5px, 1px); }
    28% { opacity: .58; clip-path: inset(22% 0 52% 0); transform: translate(4px, -1px); }
    64% { opacity: .66; clip-path: inset(10% 0 66% 0); transform: translate(-4px, 0); }
    73% { opacity: .48; clip-path: inset(46% 0 27% 0); transform: translate(3px, -1px); }
}

body.theme-cobalt-neon .board-brand { box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 0 28px rgba(49, 231, 225, .11); }
body.theme-cobalt-neon .slide-visual::before { border-radius: 18%; transform: translateY(-50%) rotate(12deg); }
body.theme-arctic-pearl .slide-title,
body.theme-coastal-sand .slide-title { text-shadow: none; }

body.theme-elegant .board-shell {
    grid-template-columns: clamp(430px, 44vw, 760px) 1fr;
    grid-template-rows: clamp(155px, 23vh, 235px) minmax(0, 1fr);
}
body.theme-elegant .board-titlebar {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    padding: clamp(22px, 3vh, 42px) clamp(30px, 4vw, 64px) clamp(12px, 2vh, 28px);
    overflow: visible;
    box-shadow: none;
}
body.theme-elegant .board-titlebar::before { display: none; }
body.theme-elegant .board-titlebar::after {
    right: clamp(30px, 4vw, 64px);
    left: clamp(30px, 4vw, 64px);
    width: auto;
    height: 1px;
    background: rgba(20, 44, 45, .22);
}
body.theme-elegant .board-brand {
    max-width: calc(100% - 18px);
    gap: clamp(18px, 2.2vw, 34px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    animation: none;
}
body.theme-elegant .board-brand h1 {
    color: #142c2d;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(.7rem, 1.15vw, 1.25rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .34em;
    text-transform: uppercase;
}
body.theme-elegant .board-brand h1 span { animation: none; filter: none; }
body.theme-elegant .board-subtitle {
    color: #142c2d;
    font-size: clamp(3rem, 6.5vw, 7.2rem);
    font-weight: 700;
    line-height: .86;
    letter-spacing: -.055em;
}
body.theme-elegant .menu-logo { max-width: min(12vw, 138px); max-height: clamp(78px, 15vh, 132px); }
body.theme-elegant .menu-panel {
    grid-column: 1;
    grid-row: 2;
    color: #182626;
    box-shadow: none;
}
body.theme-elegant .menu-category h2 { color: #173f40; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 2.25vw, 2.35rem); }
body.theme-elegant .menu-category li { font-weight: 620; }
body.theme-elegant .menu-category li strong { color: #182626; font-family: Georgia, "Times New Roman", serif; font-size: 1.08em; }
body.theme-elegant .showcase { grid-column: 2; grid-row: 1 / 3; }
body.theme-elegant .login-link { position: fixed; top: 22px; right: 22px; }
body.theme-elegant .slide { padding: clamp(28px, 3.5vw, 64px); }
body.theme-elegant .slide-visual { width: min(96%, 1160px, calc(90vh * 1.35)); aspect-ratio: 4 / 3; }
body.theme-elegant .slide-visual::before { width: 42%; opacity: .58; }
body.theme-elegant .slide-title { font-weight: 700; }

@media (max-width: 1100px) {
    .board-shell { grid-template-columns: 38vw 1fr; }
    .slide { padding: 54px 3vw; }
    .slide-visual { width: min(100%, calc(82vh * 1.25)); aspect-ratio: 5 / 4; }
    .slide-visual::before { width: 58%; }
    .slide-title { font-size: clamp(1.9rem, 4.4vw, 3.4rem); }
    .slide-title.is-medium { font-size: clamp(1.75rem, 3.8vw, 3rem); }
    .slide-title.is-long { font-size: clamp(1.5rem, 3.2vw, 2.55rem); }
    .slide-subtitle { font-size: clamp(.82rem, 1.5vw, 1rem); }
    .price { font-size: clamp(1.4rem, 3.6vw, 2.35rem); }
}

@media (max-width: 900px) {
    .slide-text {
        right: 16px;
        bottom: 82px;
        left: 16px;
        width: auto;
        max-width: none;
        padding: 13px 16px;
    }
    .price { right: 16px; bottom: 16px; }
    body.theme-elegant .board-shell { grid-template-columns: 46vw 1fr; }
    body.theme-elegant .board-titlebar { padding-right: 24px; padding-left: 24px; }
    body.theme-elegant .board-titlebar::after { right: 24px; left: 24px; }
    body.theme-elegant .board-subtitle { font-size: clamp(2.65rem, 7vw, 4.2rem); }
    body.theme-elegant .menu-logo { max-width: 92px; }
}

@media (max-aspect-ratio: 4/3) {
    .board-shell { grid-template-columns: 42vw 1fr; }
    .board-titlebar { min-height: 86px; }
    .board-brand h1 { font-size: clamp(1.8rem, 5.2vw, 3.4rem); }
    .menu-logo { max-width: 170px; max-height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
