:root {
    color-scheme: light;
    --ink: #342420;
    --muted: #7c625b;
    --paper: rgba(255, 255, 255, 0.9);
    --line: rgba(93, 55, 44, 0.18);
    --rose: #e84d6b;
    --amber: #f3a43b;
    --mint: #39a985;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Arial, "Microsoft JhengHei", sans-serif;
    color: var(--ink);
    background: #fdf4ec url("./img/background.jpg") center center / cover no-repeat fixed;
    touch-action: none;
}

body.site-screen {
    height: auto;
    min-height: 100%;
    overflow: auto;
    touch-action: auto;
    background:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(180deg, #2739e8 0%, #7d37f4 48%, #f3f5f8 48%, #eef2f6 100%);
    background-size: 48px 48px, 48px 48px, auto;
}

html.site-html {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

html.site-html body.site-screen {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: auto;
}

.site-screen main {
    min-height: 100vh;
}

.site-screen button,
.site-screen input,
.site-screen textarea {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px clamp(16px, 4vw, 48px);
    border-bottom: 0;
    background: linear-gradient(180deg, rgba(23, 27, 126, .96), rgba(23, 27, 126, .62));
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.site-logo {
    color: #fff;
    text-decoration: none;
    font-size: clamp(20px, 3vw, 34px);
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 0 12px rgba(66, 219, 255, .8), 3px 3px 0 #1a1578;
    word-break: keep-all;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav a,
.hero-button,
.site-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 2px solid rgba(151, 236, 255, .9);
    border-radius: 8px;
    background: linear-gradient(180deg, #35d7ff, #1677f1);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: inset 0 0 18px rgba(255, 255, 255, .28), 0 0 18px rgba(0, 225, 255, .28);
}

.site-nav .site-nav-play,
.hero-button-primary {
    background: linear-gradient(180deg, #ff4b5f, #e51f42);
    color: #fff;
}

.language-button {
    min-height: 54px;
    padding: 0 24px;
    border-radius: 0 0 0 18px;
    background: #6420d8;
    box-shadow: none;
    letter-spacing: 1px;
}

.site-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 42vw);
    align-items: center;
    gap: clamp(22px, 5vw, 76px);
    min-height: 100vh;
    padding: 112px clamp(16px, 6vw, 86px) 42px;
    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border: 3px solid #2e1e1a;
    border-radius: 999px;
    background: #ffe45f;
    color: #2e1e1a;
    font-weight: 900;
    box-shadow: 4px 4px 0 #2e1e1a;
}

.hero-badge {
    background: transparent;
    color: #fff;
    border-color: transparent;
    box-shadow: none;
    text-shadow: 0 0 12px #68f0ff;
}

.site-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(48px, 10vw, 124px);
    line-height: 0.92;
    letter-spacing: 0;
    color: #fff;
    text-shadow: 0 0 18px #68f0ff, 5px 5px 0 #17136f;
}

.site-hero p {
    max-width: 620px;
    margin: 0;
    color: #fff;
    font-size: clamp(17px, 2vw, 24px);
    font-weight: 800;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-button {
    min-height: 56px;
    padding: 14px 24px;
    font-size: 18px;
}

.hero-button-secondary {
    background: linear-gradient(180deg, #35d7ff, #1677f1);
    color: #12262c;
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 460px;
}

.hero-visual:before {
    content: "";
    position: absolute;
    inset: 12% 3% 4% 8%;
    border: 6px solid #fff;
    border-radius: 18px;
    background: radial-gradient(circle at 50% 35%, #39dbff, #2038d9 70%);
    box-shadow: 0 0 0 8px rgba(50, 225, 255, .42), 0 0 42px rgba(36, 236, 255, .65);
    transform: skewX(-4deg);
}

.hero-visual img {
    position: relative;
    z-index: 1;
    width: min(420px, 78vw);
    max-height: 560px;
    object-fit: contain;
    filter: drop-shadow(10px 18px 0 rgba(46, 30, 26, 0.18));
}

.hero-orbit {
    position: absolute;
    z-index: 3;
    padding: 10px 14px;
    border: 2px solid #9ff5ff;
    border-radius: 8px;
    background: #149cef;
    font-weight: 900;
    box-shadow: 0 0 18px rgba(0, 225, 255, .6);
}

.hero-orbit-one { left: 2%; top: 18%; background: #ff6580; color: #fff; }
.hero-orbit-two { right: 2%; top: 28%; background: #ffe45f; }
.hero-orbit-three { left: 12%; bottom: 12%; background: #35c3e8; }

.site-band {
    min-height: 100vh;
    padding: clamp(38px, 7vw, 86px) clamp(16px, 6vw, 86px);
    border-top: 0;
    background: #eef2f6;
}

.movie-band,
.animation-band,
.character-band,
.goods-band,
.preorder-band {
    display: grid;
    align-content: center;
}

.movie-band {
    background:
        linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px),
        #6a5eff;
    background-size: 48px 48px;
    color: #fff;
}

.animation-band,
.character-band {
    background: #eef2f6;
}

.goods-band,
.preorder-band {
    min-height: 80vh;
    background:
        linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px),
        #7135e8;
    background-size: 48px 48px;
}

.section-title-plate {
    position: relative;
    isolation: isolate;
    display: grid;
    justify-items: center;
    gap: 12px;
    width: min(840px, 100%);
    margin: 0 auto 54px;
    padding: 24px 28px;
    color: #060951;
    text-align: center;
}

.section-title-plate::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #ffe84f, #fff778);
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}

.section-title-plate span {
    position: absolute;
    z-index: 2;
    top: -28px;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border: 8px solid #ffe97c;
    border-radius: 50%;
    background: #fff9b8;
    font-weight: 900;
}

.section-title-plate h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(34px, 6vw, 72px);
    text-shadow: 3px 3px 0 #fff;
}

.movie-frame {
    position: relative;
    display: block;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 16 / 8;
    border: 10px solid #fff;
    border-radius: 46px;
    box-shadow: 0 0 0 8px #38dfff, 0 0 52px rgba(35, 241, 255, .85);
    background: #0b155d;
    cursor: pointer;
}

.movie-frame img,
.movie-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-frame img {
    filter: saturate(1.3) brightness(.72);
}

.movie-frame.is-playing {
    cursor: default;
}

.movie-player {
    display: block;
    background: #020617;
}

.movie-play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    transform: translate(-50%, -50%);
    border: 10px solid rgba(255,255,255,.9);
    border-radius: 50%;
    background: #bdf7ff;
    color: #072d48;
    font-size: 42px;
    box-shadow: 0 0 0 12px rgba(36, 185, 255, .55), 0 0 24px #fff;
}

.site-movie-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(26px, 4vw, 46px);
    width: min(980px, 100%);
    margin: 0 auto;
}

.site-movie-card {
    display: grid;
    gap: 18px;
}

.site-movie-card h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 950;
    line-height: 1.25;
    text-align: center;
    text-shadow: 2px 2px 0 #10205c;
}

.feature-grid,
.site-product-products,
.site-preorder-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
}

.feature-grid article,
.character-rail article,
.site-product-card,
.site-preorder-card,
.site-preorder-empty {
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 28px rgba(7, 14, 71, .16);
}

.feature-grid article {
    padding: 24px;
}

.feature-grid strong {
    color: #e6294f;
    font-size: 28px;
    font-weight: 900;
}

.feature-grid h3 {
    margin: 8px 0;
    font-size: 28px;
}

.feature-grid p {
    margin: 0;
    color: #6b4a42;
    font-weight: 800;
    line-height: 1.7;
}

.character-rail {
    display: flex;
    grid-auto-flow: column;
    gap: 44px;
    width: min(1480px, 100%);
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 18px 12px 30px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: #1fbff4 rgba(6, 9, 81, .12);
    scrollbar-width: thin;
}

.character-rail::-webkit-scrollbar {
    height: 14px;
}

.character-rail::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(6, 9, 81, .12);
}

.character-rail::-webkit-scrollbar-thumb {
    border: 3px solid rgba(255,255,255,.9);
    border-radius: 999px;
    background: linear-gradient(90deg, #35d7ff, #1677f1);
}

.character-rail article {
    flex: 0 0 260px;
    min-height: 330px;
    background: transparent;
    box-shadow: none;
    text-align: center;
    scroll-snap-align: center;
}

.character-rail article div {
    display: grid;
    place-items: center;
    min-height: 260px;
    border: 8px solid #8eeeff;
    border-radius: 12px;
    background: linear-gradient(180deg, #18b9ff, #23e5ff);
    clip-path: polygon(8% 0, 92% 0, 100% 10%, 92% 100%, 8% 100%, 0 90%, 8% 0);
    box-shadow: inset 0 0 24px rgba(255,255,255,.5);
}

.character-rail img {
    max-width: 80%;
    max-height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 10px 8px rgba(7, 14, 71, .26));
}

.character-rail b {
    display: block;
    margin-top: 16px;
    color: #060951;
    font-size: 26px;
}

.site-product-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-preorder-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-product-card,
.site-preorder-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
}

.site-product-card {
    grid-template-columns: 1fr;
}

.site-preorder-image {
    min-height: 260px;
    border-right: 4px solid #2e1e1a;
    background: #ffe45f;
    display: grid;
    place-items: center;
}

.site-preorder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-preorder-noimg {
    font-size: 28px;
    font-weight: 900;
}

.site-preorder-body {
    padding: 20px;
}

.site-preorder-body h3 {
    margin: 0 0 8px;
    font-size: 26px;
}

.site-preorder-body p {
    margin: 12px 0 0;
    color: #47332d;
    font-size: 14px;
    line-height: 1.55;
}

.site-preorder-price,
.site-preorder-count {
    color: #e6294f;
    font-weight: 900;
}

.site-preorder-meter {
    height: 18px;
    margin: 12px 0 6px;
    border: 3px solid #2e1e1a;
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
}

.site-preorder-meter span {
    display: block;
    height: 100%;
    background: #35c3e8;
}

.site-preorder-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.site-preorder-form input {
    width: 100%;
    min-height: 40px;
    border: 3px solid #2e1e1a;
    border-radius: 8px;
    padding: 8px 10px;
    font-weight: 800;
}

.site-preorder-form button {
    grid-column: 1 / -1;
    border: 3px solid #2e1e1a;
    box-shadow: 4px 4px 0 #2e1e1a;
}

.site-preorder-msg {
    grid-column: 1 / -1;
    min-height: 20px;
    color: #7c2d12;
    font-size: 13px;
    font-weight: 900;
}

.site-preorder-empty {
    grid-column: 1 / -1;
    padding: 28px;
    text-align: center;
    font-weight: 900;
    color: #060951;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 26px 16px 34px;
    border-top: 5px solid #2e1e1a;
    background: #2e1e1a;
    color: #fff;
    font-weight: 900;
}

.site-footer a {
    background: #ffe45f;
}

.scroll-dots {
    position: fixed;
    right: 18px;
    top: 50%;
    z-index: 45;
    display: grid;
    gap: 12px;
    transform: translateY(-50%);
}

.scroll-dots a {
    width: 14px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: 999px;
    background: linear-gradient(180deg, #35d7ff, #1677f1);
    box-shadow: 0 0 16px rgba(0, 225, 255, .62);
    opacity: .68;
    transform: scale(.86);
    transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}

.scroll-dots a.is-active,
.scroll-dots a:hover {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 20px rgba(0, 225, 255, .82), 0 0 0 4px rgba(255, 255, 255, .18);
}

body.site-screen {
    color: #fff8e8;
    background:
        linear-gradient(rgba(214, 106, 35, .28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(214, 106, 35, .28) 1px, transparent 1px),
        radial-gradient(circle at 50% 18%, rgba(223, 101, 18, .18), transparent 42%),
        #050301;
    background-size: 42px 42px, 42px 42px, auto, auto;
}

body.site-screen::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 160, 67, .12) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 160, 67, .12) 2px, transparent 2px);
    background-size: 168px 168px;
    box-shadow: inset 0 0 120px rgba(0, 0, 0, .95);
}

.site-header {
    background: linear-gradient(180deg, rgba(10, 6, 3, .95), rgba(10, 6, 3, .72));
    border-bottom: 1px solid rgba(255, 174, 64, .32);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .72);
}

.site-logo {
    color: #ff7a1c;
    text-shadow: 0 0 14px rgba(255, 97, 20, .82), 0 2px 0 #1b0b02;
}

.site-nav a,
.hero-button,
.site-footer a {
    border: 2px solid rgba(255, 218, 93, .92);
    background: rgba(11, 7, 4, .78);
    color: #ffe08a;
    box-shadow: inset 0 0 12px rgba(255, 172, 51, .24), 0 0 14px rgba(255, 144, 28, .28);
}

.site-nav .site-nav-play,
.hero-button-primary {
    background: linear-gradient(180deg, #ff9a22, #a43b09);
    color: #130803;
}

.language-menu {
    position: relative;
    flex: 0 0 auto;
}

.language-button {
    min-height: 42px;
    padding: 8px 14px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #fff7e8;
    box-shadow: none;
    font-weight: 900;
}

.language-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 132px;
    display: none;
    padding: 8px;
    border: 1px solid rgba(255, 218, 93, .72);
    border-radius: 6px;
    background: rgba(4, 3, 2, .96);
    box-shadow: 0 18px 28px rgba(0, 0, 0, .55);
}

.language-menu:hover .language-options,
.language-menu:focus-within .language-options {
    display: grid;
    gap: 4px;
}

.language-options a {
    padding: 8px 10px;
    color: #ffe08a;
    text-decoration: none;
    font-weight: 900;
}

.language-options a:hover {
    background: rgba(255, 124, 25, .18);
}

.site-hero,
.site-band,
.movie-band,
.animation-band,
.character-band,
.goods-band,
.preorder-band {
    background: transparent;
}

.site-hero h1 {
    color: #ff7a1c;
    text-shadow: 0 0 20px rgba(255, 95, 15, .86), 0 3px 0 #130803;
}

.site-hero p,
.hero-badge {
    color: #fff8e8;
    text-shadow: 0 0 12px rgba(255, 126, 27, .72);
}

.hero-visual:before,
.character-rail article div,
.site-preorder-image {
    border-color: rgba(255, 132, 29, .88);
    background: linear-gradient(180deg, #ef861c, #c3560a);
    box-shadow: inset 0 0 42px rgba(255, 224, 132, .16), 0 0 22px rgba(255, 105, 20, .32);
}

.section-title-plate {
    color: #ffe7ad;
}

.section-title-plate::before {
    border: 2px solid rgba(255, 218, 93, .78);
    border-radius: 8px;
    background: rgba(9, 6, 3, .78);
    clip-path: none;
    box-shadow: inset 0 0 20px rgba(255, 142, 28, .2);
}

.section-title-plate span {
    border-color: rgba(255, 218, 93, .9);
    background: #070402;
    color: #ff8727;
}

.section-title-plate h2 {
    text-shadow: 0 0 14px rgba(255, 118, 22, .76);
}

.movie-frame {
    border-color: rgba(255, 126, 24, .92);
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(255, 218, 93, .78), 0 0 38px rgba(255, 105, 16, .42);
    background: #080401;
}

.movie-play-button {
    border-color: rgba(255, 232, 159, .92);
    background: #f28a20;
    color: #100602;
    box-shadow: 0 0 0 8px rgba(255, 134, 27, .26), 0 0 24px rgba(255, 181, 77, .72);
}

.feature-grid article,
.site-product-card,
.site-preorder-card,
.site-preorder-empty {
    border: 1px solid rgba(255, 126, 24, .62);
    background: #050302;
    color: #fff8e8;
    box-shadow: 0 0 0 1px rgba(255, 203, 87, .28), 0 18px 36px rgba(0, 0, 0, .52);
}

.site-product-card,
.site-preorder-card {
    background: linear-gradient(180deg, #ea7d18 0, #d3610b 58%, #050302 58%, #050302 100%);
}

.site-product-products {
    align-items: start;
}

.site-product-card {
    display: block;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #111;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}

.site-product-card .site-preorder-image {
    position: relative;
    min-height: 238px;
    aspect-ratio: 16 / 8.4;
    overflow: hidden;
    border: 0;
    background: #b8b8b8;
}

.site-product-card .site-preorder-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 36%, rgba(0, 0, 0, .78) 100%);
}

.site-product-card .site-preorder-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-product-overlay {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    color: #fff;
}

.site-product-overlay span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 5px 10px;
    background: #23c553;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.site-product-overlay h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.35;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .62);
}

.site-product-overlay p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 3.2em;
    margin: 8px 0 0;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .72);
}

.site-product-card .site-preorder-body {
    padding: 8px 10px;
    background: #fff;
}

.site-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
}

.site-product-meta .site-preorder-price {
    color: #0f2336;
    font-size: 20px;
    font-weight: 500;
}

.site-product-meta .site-preorder-price::before {
    content: "▦";
    margin-right: 4px;
    color: #0f2336;
}

.site-product-action {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    border: 1px solid #d6d6d6;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 900;
}

.site-product-action b {
    display: inline-grid;
    place-items: center;
    align-self: stretch;
    width: 36px;
    margin-left: 10px;
    background: #050505;
    color: #fff;
    font-size: 28px;
    line-height: 1;
}

body.site-screen {
    color: #2b2b2b;
    background: #f4f4f4;
}

body.site-screen::before {
    display: none;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #d8d8d8;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.site-logo {
    color: #22c54f;
    text-shadow: none;
}

.site-nav a,
.hero-button,
.site-footer a {
    border: 1px solid #d7d7d7;
    border-radius: 0;
    background: #fff;
    color: #333;
    box-shadow: none;
}

.site-nav .site-nav-play,
.hero-button-primary {
    border-color: #22c54f;
    background: #22c54f;
    color: #fff;
}

.language-button {
    color: #333;
}

.language-options {
    border-color: #d7d7d7;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.language-options a {
    color: #333;
}

.language-options a:hover {
    background: #f2f2f2;
}

.site-hero,
.site-band,
.movie-band,
.animation-band,
.character-band,
.goods-band,
.preorder-band {
    background: #f4f4f4;
}

.site-hero h1 {
    color: #111;
    text-shadow: none;
}

.site-hero p,
.hero-badge {
    color: #333;
    text-shadow: none;
}

.hero-badge {
    border: 1px solid #22c54f;
    background: #22c54f;
    color: #fff;
}

.hero-visual:before,
.character-rail article div {
    border-color: #d7d7d7;
    background: #e4e4e4;
    box-shadow: none;
}

.section-title-plate {
    width: min(1426px, 100%);
    margin-bottom: 36px;
    padding: 0;
    color: #555;
}

.section-title-plate::before {
    border: 0;
    border-top: 4px solid #22c54f;
    border-radius: 0;
    background: #fff;
    box-shadow: inset 0 -1px 0 #ddd, inset -1px 0 0 #ddd, inset 1px 0 0 #ddd;
}

.section-title-plate span {
    display: none;
}

.section-title-plate h2 {
    width: 100%;
    min-height: 50px;
    display: grid;
    place-items: center;
    color: #555;
    font-size: 18px;
    font-weight: 400;
    text-shadow: none;
}

.goods-band .section-title-plate h2::before {
    content: "焦點活動";
}

.goods-band .section-title-plate h2 {
    font-size: 0;
}

.goods-band .section-title-plate h2::before {
    font-size: 18px;
}

.feature-grid article,
.site-preorder-card,
.site-preorder-empty {
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    box-shadow: none;
}

.site-product-products {
    max-width: 1426px;
    gap: 38px;
}

.site-product-card {
    border: 1px solid #e1e1e1;
    background: #fff;
    box-shadow: none;
}

.site-product-card .site-preorder-image {
    min-height: 236px;
    background: #a7a8ad;
}

.site-product-card .site-preorder-image::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 36%, rgba(0, 0, 0, .84) 100%);
}

.site-product-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
}

.site-product-overlay span {
    margin-bottom: 10px;
    padding: 10px 12px;
    background: #22c54f;
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

.site-product-overlay span::before {
    content: "▦ ";
}

.site-product-overlay h3 {
    font-size: 20px;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .64);
}

.site-product-overlay p {
    border-top: 1px solid rgba(255, 255, 255, .65);
    padding-top: 8px;
    font-size: 18px;
    line-height: 1.55;
}

.site-product-card .site-preorder-body {
    padding: 8px 8px 8px 12px;
    background: #fff;
}

.site-product-meta {
    min-height: 42px;
}

.site-product-meta .site-preorder-price {
    color: #0f2336;
    font-size: 20px;
    font-weight: 400;
}

.site-product-action {
    min-height: 36px;
    border: 1px solid #ddd;
    background: #fff;
    color: #000;
}

.site-product-action b {
    background: #060606;
    color: #fff;
}

.site-footer {
    border-top: 1px solid #ddd;
    background: #fff;
    color: #333;
}

.scroll-dots a {
    border-color: #d7d7d7;
    background: #22c54f;
    box-shadow: none;
}

.site-preorder-body {
    background: rgba(0, 0, 0, .94);
}

.feature-grid p,
.site-preorder-body p {
    color: #f5d7b0;
}

.feature-grid strong,
.site-preorder-price,
.site-preorder-count,
.character-rail b {
    color: #fff0b8;
}

.site-preorder-body h3 {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 126, 27, .58);
}

.site-preorder-meter {
    border-color: rgba(255, 218, 93, .84);
    background: #1a0b03;
}

.site-preorder-meter span {
    background: linear-gradient(90deg, #ff7a1c, #ffe05d);
}

.site-preorder-form input {
    border-color: rgba(255, 218, 93, .62);
    background: #110804;
    color: #fff8e8;
}

.site-preorder-form button {
    border-color: rgba(255, 218, 93, .78);
    background: linear-gradient(180deg, #ff9826, #b74608);
    color: #140803;
    box-shadow: 0 0 14px rgba(255, 126, 27, .36);
}

.site-footer {
    border-top-color: rgba(255, 126, 24, .72);
    background: #050302;
}

.scroll-dots a {
    border-color: rgba(255, 218, 93, .82);
    background: linear-gradient(180deg, #ff8b24, #732006);
    box-shadow: 0 0 14px rgba(255, 126, 27, .5);
}

button {
    border: 0;
    min-height: 40px;
    border-radius: 8px;
    padding: 9px 13px;
    cursor: pointer;
    background: var(--rose);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 5px 14px rgba(176, 54, 82, 0.22);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.52;
    box-shadow: none;
}

#gameCanvas {
    width: 100vw;
    height: 100vh;
    display: block;
    background: transparent;
}

#ui {
    position: fixed;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    gap: 10px;
}

#ui button,
#ui .ingredient-card,
#ui .shop-item {
    pointer-events: auto;
}

.top-bar {
    align-items: start;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.top-bar h1 {
    margin: 0;
    font-size: clamp(22px, 5vw, 34px);
    letter-spacing: 0;
}

.top-bar p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.coin-pill,
.order-panel,
.shop-panel,
.tray-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 10px 28px rgba(64, 34, 26, 0.14);
    backdrop-filter: blur(10px);
}

.coin-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 112px;
    justify-content: center;
    padding: 10px 12px;
}

.coin-pill strong {
    color: #9b5b00;
    font-size: 20px;
}

.order-panel {
    align-self: start;
    max-width: 340px;
    padding: 12px;
}

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.panel-toggle {
    min-height: 26px;
    padding: 4px 8px;
    border-radius: 7px;
    background: rgba(127, 108, 99, 0.9);
    box-shadow: none;
    font-size: 12px;
}

.tray-page-btn {
    display: none;
}

.collapsible-panel.collapsed > :not(.panel-title) {
    display: none;
}

.collapsible-panel.collapsed .panel-title {
    margin-bottom: 0;
}

#orderBox {
    min-height: 42px;
    line-height: 1.45;
    font-size: 15px;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.action-row button:nth-child(2) {
    background: var(--mint);
}

.action-row button:nth-child(3) {
    background: #7f6c63;
}

#resultBox {
    min-height: 24px;
    margin-top: 9px;
    color: #8e3b0f;
    font-weight: 700;
}

.shop-panel {
    position: fixed;
    right: max(12px, env(safe-area-inset-right));
    top: 92px;
    width: min(260px, calc(100vw - 24px));
    padding: 12px;
    pointer-events: auto;
}

.shop-items {
    display: grid;
    gap: 8px;
}

.shop-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 42px;
}

.shop-item span {
    font-size: 14px;
}

.shop-name {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.shop-name .ingredient-icon,
.shop-name .ingredient-dot {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
}

.shop-item button {
    min-height: 34px;
    padding: 7px 10px;
    background: var(--amber);
    white-space: nowrap;
}

.tray-panel {
    grid-row: 3;
    align-self: end;
    width: min(720px, calc(100vw - 24px));
    margin: 0 auto;
    padding: 10px;
    pointer-events: auto;
}

.ingredient-tray {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
    gap: 8px;
}

.ingredient-card {
    display: grid;
    place-items: center;
    gap: 4px;
    min-height: 66px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffaf4;
    color: var(--ink);
    font-weight: 700;
    user-select: none;
    touch-action: none;
}

.ingredient-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    box-shadow: inset -5px -6px 8px rgba(60, 24, 18, 0.18);
}

.ingredient-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 3px 4px rgba(60, 24, 18, 0.16));
}

.eat-button {
    display: none;
}

.screen-crumb {
    position: fixed;
    z-index: 9999;
    display: block;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(60, 24, 18, 0.22);
    animation: crumb-fall 2.1s linear forwards;
}

@keyframes crumb-fall {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.8) rotate(0deg);
    }

    12% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(var(--drift-x), var(--fall-y)) scale(0.55) rotate(280deg);
    }
}

@media (max-width: 760px) {
    html.site-html,
    html.site-html body.site-screen,
    body.site-screen {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .site-header {
        position: relative;
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 14px;
    }

    .site-logo {
        font-size: clamp(24px, 9vw, 32px);
    }

    .site-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .site-nav a {
        min-height: 38px;
        padding: 8px 10px;
        font-size: 13px;
        box-shadow: 3px 3px 0 #2e1e1a;
    }

    .language-button {
        width: 100%;
        min-height: 42px;
        border-radius: 4px;
        border: 1px solid #d7d7d7;
        background: #fff;
        color: #333;
    }

    .language-menu {
        width: 100%;
    }

    .language-options {
        position: static;
        margin-top: 6px;
    }

    .site-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 28px 14px 34px;
    }

    .site-hero h1 {
        font-size: clamp(44px, 17vw, 78px);
        color: #111;
        text-shadow: none;
    }

    .site-hero p {
        font-size: 16px;
    }

    .hero-visual {
        min-height: 320px;
        order: -1;
    }

    .hero-visual img {
        width: min(300px, 76vw);
    }

    .hero-orbit {
        font-size: 12px;
        padding: 7px 10px;
    }

    .site-band {
        min-height: 92vh;
        padding: 38px 14px;
    }

    .scroll-dots {
        right: 6px;
        gap: 7px;
    }

    .scroll-dots a {
        width: 8px;
        height: 28px;
        border-width: 1px;
    }

    .feature-grid,
    .site-product-products,
    .site-preorder-products {
        grid-template-columns: 1fr;
    }

    .section-title-plate {
        margin-bottom: 38px;
        padding: 22px 18px;
    }

    .section-title-plate::before {
        clip-path: polygon(4% 0, 100% 0, 96% 100%, 0% 100%);
    }

    .section-title-plate h2 {
        font-size: clamp(28px, 10vw, 44px);
    }

    .movie-frame {
        border-width: 6px;
        border-radius: 24px;
        aspect-ratio: 16 / 10;
        box-shadow: 0 0 0 5px #38dfff, 0 0 28px rgba(35, 241, 255, .75);
    }

    .movie-play-button {
        width: 74px;
        height: 74px;
        border-width: 6px;
        font-size: 28px;
    }

    .character-rail {
        width: 100%;
        gap: 18px;
        padding-inline: 2px;
    }

    .character-rail article {
        flex-basis: 72vw;
    }

    .character-rail article div {
        min-height: 220px;
    }

    .character-rail img {
        max-height: 180px;
    }

    .site-product-card,
    .site-preorder-card {
        grid-template-columns: 1fr;
    }

    .site-product-card .site-preorder-image {
        min-height: 220px;
    }

    .site-preorder-image {
        min-height: 190px;
        border-right: 0;
        border-bottom: 4px solid #2e1e1a;
    }

    .site-preorder-form {
        grid-template-columns: 1fr;
    }

    #ui {
        grid-template-rows: auto auto 1fr;
        padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
        gap: 6px;
    }

    .top-bar {
        align-items: center;
        gap: 8px;
    }

    .top-bar h1 {
        font-size: 24px;
    }

    .top-bar p {
        max-width: 58vw;
        font-size: 12px;
    }

    .coin-pill {
        min-width: 92px;
        padding: 8px 10px;
    }

    .coin-pill strong {
        font-size: 18px;
    }

    .order-panel {
        max-width: none;
        width: 100%;
        max-height: 24vh;
        overflow: auto;
        padding: 9px;
    }

    .order-panel.collapsed {
        width: fit-content;
        min-width: 132px;
    }

    #orderBox {
        min-height: 0;
        font-size: 14px;
        line-height: 1.35;
    }

    .action-row {
        gap: 6px;
        margin-top: 8px;
    }

    .action-row button {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 14px;
    }

    .shop-panel {
        position: fixed;
        left: max(8px, env(safe-area-inset-left));
        right: max(8px, env(safe-area-inset-right));
        top: 116px;
        bottom: auto;
        width: auto;
        max-height: 24vh;
        overflow-x: auto;
        overflow-y: auto;
        padding: 8px;
    }

    .shop-panel.collapsed {
        top: max(8px, env(safe-area-inset-top));
        right: calc(max(8px, env(safe-area-inset-right)) + 104px);
        bottom: auto;
        left: auto;
        width: 46px;
        min-width: 46px;
        height: 46px;
        padding: 0;
        overflow: hidden;
    }

    .shop-panel.collapsed .panel-title {
        display: grid;
        place-items: center;
        height: 44px;
        margin: 0;
    }

    .shop-panel.collapsed .panel-title span {
        display: none;
    }

    .shop-panel.collapsed .panel-toggle {
        width: 38px;
        height: 38px;
        min-height: 38px;
        padding: 0;
        background: var(--amber);
        color: #5a3a30;
        font-size: 18px;
        line-height: 1;
    }

    .shop-items {
        display: flex;
        gap: 8px;
        min-width: max-content;
    }

    .shop-item {
        display: flex;
        min-width: 142px;
        min-height: 34px;
    }

    .shop-item button {
        min-height: 30px;
        padding: 6px 9px;
        font-size: 12px;
    }

    .shop-name {
        font-size: 13px;
    }

    .tray-panel {
        position: fixed;
        left: max(8px, env(safe-area-inset-left));
        right: max(8px, env(safe-area-inset-right));
        bottom: calc(64px + env(safe-area-inset-bottom));
        width: auto;
        padding: 8px;
        z-index: 12;
    }

    .ingredient-tray {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding-bottom: 2px;
    }

    .ingredient-card {
        min-height: 64px;
        font-size: 15px;
        touch-action: none;
    }

    .tray-title {
        display: grid;
        grid-template-columns: 34px 1fr 34px;
        align-items: center;
        gap: 8px;
    }

    .tray-title span {
        justify-self: start;
    }

    .tray-page-btn {
        display: inline-grid;
        place-items: center;
        min-height: 30px;
        width: 34px;
        padding: 0;
        background: #7f6c63;
        box-shadow: none;
        font-size: 24px;
        line-height: 1;
    }

    .tray-page-btn:disabled {
        opacity: 0.3;
    }

    .ingredient-icon {
        width: 30px;
        height: 30px;
    }

    .eat-button {
        right: max(12px, env(safe-area-inset-right));
        bottom: calc(92px + env(safe-area-inset-bottom));
    }
}

body.product-modal-open {
    overflow: hidden;
}

.goods-band,
.preorder-band {
    background:
        linear-gradient(rgba(221, 100, 30, .28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(221, 100, 30, .28) 1px, transparent 1px),
        #050301;
    background-size: 42px 42px;
}

.goods-band .section-title-plate::before,
.preorder-band .section-title-plate::before {
    border: 1px solid rgba(255, 199, 77, .72);
    background: rgba(6, 4, 2, .82);
    box-shadow: inset 0 0 22px rgba(255, 126, 27, .2), 0 0 18px rgba(255, 126, 27, .2);
}

.goods-band .section-title-plate h2,
.preorder-band .section-title-plate h2 {
    color: #ffe7a0;
    font-weight: 900;
}

.goods-band .section-title-plate h2::before {
    content: none;
}

.goods-band .section-title-plate h2 {
    font-size: 18px;
}

.site-product-card {
    border: 1px solid rgba(255, 126, 24, .72);
    border-radius: 8px;
    overflow: hidden;
    background: #050302;
    box-shadow: 0 0 0 1px rgba(255, 203, 87, .24), 0 18px 34px rgba(0, 0, 0, .48);
}

.site-product-card .site-preorder-image {
    min-height: 310px;
    background: linear-gradient(180deg, #ef861c, #cf5f0a);
}

.site-product-card .site-preorder-image img {
    object-fit: cover;
    padding: 0;
    transform: scale(1.035);
}

.site-product-card .site-preorder-image::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, .94) 100%);
}

.site-product-overlay span {
    display: none;
}

.site-product-overlay h3 {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 900;
    text-shadow: 0 0 12px rgba(255, 126, 27, .45), 0 2px 8px #000;
}

.site-product-overlay p {
    border-top: 0;
    color: #ddd;
    font-size: 14px;
    line-height: 1.45;
}

.site-product-card .site-preorder-body {
    background: #050302;
}

.site-product-meta .site-preorder-price {
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.site-product-meta .site-preorder-price::before {
    content: "";
}

.site-product-action {
    border: 1px solid rgba(255, 199, 77, .72);
    background: rgba(6, 4, 2, .92);
    color: #ffe7a0;
}

.site-product-action b {
    background: #ff8a21;
    color: #0c0401;
}

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
}

.product-modal.is-open {
    display: block;
}

.product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
}

.product-modal-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(1120px, calc(100vw - 28px));
    max-height: min(860px, calc(100vh - 28px));
    transform: translate(-50%, -50%);
    overflow: auto;
    border: 1px solid rgba(255, 199, 77, .72);
    border-radius: 8px;
    background:
        linear-gradient(rgba(221, 100, 30, .2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(221, 100, 30, .2) 1px, transparent 1px),
        #050301;
    background-size: 36px 36px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .7), 0 0 36px rgba(255, 126, 27, .28);
}

.product-modal-close {
    position: sticky;
    top: 10px;
    left: calc(100% - 52px);
    z-index: 3;
    width: 42px;
    min-height: 42px;
    border: 1px solid rgba(255, 199, 77, .72);
    border-radius: 0;
    background: #050302;
    color: #ffe7a0;
    box-shadow: none;
    font-size: 28px;
    line-height: 1;
}

.product-modal-content {
    padding: 18px;
}

.product-modal-loading,
.product-detail-empty {
    padding: 44px;
    color: #ffe7a0;
    text-align: center;
    font-weight: 900;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 18px;
}

.product-detail-gallery {
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
}

.product-detail-media {
    display: none;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(255, 126, 24, .72);
    border-radius: 8px;
    background: linear-gradient(180deg, #ef861c, #cf5f0a);
    object-fit: cover;
    padding: 0;
    transform: scale(1.035);
}

.product-detail-media.is-active {
    display: block;
}

video.product-detail-media {
    padding: 0;
    object-fit: cover;
}

.product-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.product-detail-thumb {
    min-height: 72px;
    padding: 0;
    border: 1px solid rgba(255, 126, 24, .48);
    border-radius: 4px;
    background: #120804;
    box-shadow: none;
    overflow: hidden;
}

.product-detail-thumb.is-active {
    border-color: #ffe7a0;
}

.product-detail-thumb img {
    width: 100%;
    height: 72px;
    object-fit: cover;
}

.product-detail-thumb span {
    display: grid;
    place-items: center;
    height: 72px;
    color: #ffe7a0;
    font-size: 12px;
}

.product-detail-info {
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(255, 126, 24, .56);
    border-radius: 8px;
    background: rgba(0, 0, 0, .9);
    color: #fff;
}

.product-detail-kicker {
    color: #ff8a21;
    font-weight: 900;
}

.product-detail-info h2 {
    margin: 10px 0 12px;
    color: #fff;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.22;
}

.product-detail-price {
    margin-bottom: 18px;
    color: #ffe7a0;
    font-size: 24px;
    font-weight: 900;
}

.product-detail-meta {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.product-detail-meta div {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    padding-bottom: 8px;
}

.product-detail-meta span {
    color: #b8b8b8;
    min-width: 62px;
}

.product-detail-desc {
    color: #e7e7e7;
    font-size: 16px;
    line-height: 1.75;
}

.product-detail-desc p {
    margin: 0;
}

@media (max-width: 760px) {
    .product-modal-panel {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-detail-info {
        padding: 16px;
    }
}

/* CUTfilmmaker final site skin */
body.site-screen {
    color: #fff;
    background:
        linear-gradient(rgba(221, 100, 30, .26) 1px, transparent 1px),
        linear-gradient(90deg, rgba(221, 100, 30, .26) 1px, transparent 1px),
        linear-gradient(rgba(221, 100, 30, .12) 2px, transparent 2px),
        linear-gradient(90deg, rgba(221, 100, 30, .12) 2px, transparent 2px),
        radial-gradient(circle at 50% 20%, rgba(255, 126, 27, .16), transparent 38%),
        #050301;
    background-size: 42px 42px, 42px 42px, 168px 168px, 168px 168px, auto, auto;
}

body.site-screen::before {
    display: block;
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 0, 0, .78), transparent 18%, transparent 82%, rgba(0, 0, 0, .78));
    box-shadow: inset 0 0 130px rgba(0, 0, 0, .92);
}

.site-header {
    background: linear-gradient(180deg, rgba(5, 3, 1, .96), rgba(5, 3, 1, .72));
    border-bottom: 1px solid rgba(255, 199, 77, .4);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .68);
}

.site-logo {
    color: #ff7c20;
    text-shadow: 0 0 16px rgba(255, 94, 15, .72), 0 2px 0 #1a0901;
}

.site-nav a,
.hero-button,
.site-footer a {
    border: 2px solid rgba(255, 218, 93, .86);
    border-radius: 8px;
    background: rgba(6, 4, 2, .72);
    color: #ffe7a0;
    box-shadow: inset 0 0 14px rgba(255, 160, 45, .2), 0 0 14px rgba(255, 126, 27, .22);
}

.site-nav a:hover,
.hero-button:hover,
.site-footer a:hover {
    background: rgba(255, 126, 27, .16);
}

.site-nav .site-nav-play,
.hero-button-primary {
    border-color: #ffad3e;
    background: linear-gradient(180deg, #ff9826, #b74608);
    color: #130701;
}

.language-button {
    color: #fff;
    background: transparent;
}

.language-options {
    border-color: rgba(255, 199, 77, .72);
    background: rgba(5, 3, 1, .96);
}

.language-options a {
    color: #ffe7a0;
}

.language-options a:hover {
    background: rgba(255, 126, 27, .18);
}

.site-hero,
.site-band,
.movie-band,
.animation-band,
.character-band,
.goods-band,
.preorder-band {
    background:
        linear-gradient(rgba(221, 100, 30, .22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(221, 100, 30, .22) 1px, transparent 1px),
        transparent;
    background-size: 42px 42px, 42px 42px, auto;
}

.site-hero h1 {
    color: #ff7c20;
    text-shadow: 0 0 18px rgba(255, 94, 15, .78), 0 3px 0 #160701;
}

.site-hero p,
.hero-badge {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .75);
}

.hero-badge {
    border: 1px solid rgba(255, 199, 77, .72);
    background: rgba(5, 3, 1, .72);
    color: #ffe7a0;
}

.hero-visual::before,
.character-rail article div {
    border-color: rgba(255, 126, 24, .82);
    background: linear-gradient(180deg, #ef861c, #cf5f0a);
    box-shadow: inset 0 0 42px rgba(255, 224, 132, .14), 0 0 24px rgba(255, 105, 20, .28);
}

.hero-orbit {
    border-color: rgba(255, 218, 93, .86);
    background: rgba(5, 3, 1, .86);
    color: #ffe7a0;
}

.section-title-plate {
    color: #ffe7a0;
}

.section-title-plate::before,
.goods-band .section-title-plate::before,
.preorder-band .section-title-plate::before {
    border: 1px solid rgba(255, 199, 77, .72);
    border-radius: 8px;
    background: rgba(6, 4, 2, .82);
    box-shadow: inset 0 0 22px rgba(255, 126, 27, .2), 0 0 18px rgba(255, 126, 27, .2);
}

.section-title-plate h2,
.goods-band .section-title-plate h2,
.preorder-band .section-title-plate h2 {
    color: #ffe7a0;
    font-weight: 900;
    text-shadow: 0 0 12px rgba(255, 126, 27, .42);
}

.section-title-plate span {
    position: static;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 6px solid rgba(255, 218, 93, .9);
    border-radius: 50%;
    background: #050301;
    color: #ff8a21;
    font-size: 18px;
    font-weight: 900;
    flex: 0 0 auto;
}

.section-title-plate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 64px;
    padding: 8px 18px;
}

.section-title-plate h2,
.goods-band .section-title-plate h2,
.preorder-band .section-title-plate h2 {
    width: auto;
    min-height: 0;
    display: block;
    margin: 0;
}

.movie-frame {
    border-color: rgba(255, 126, 24, .9);
    border-radius: 8px;
    background: #050301;
    box-shadow: 0 0 0 1px rgba(255, 218, 93, .62), 0 0 36px rgba(255, 105, 16, .36);
}

.movie-play-button {
    border-color: rgba(255, 232, 159, .92);
    background: #ff8a21;
    color: #100602;
    box-shadow: 0 0 0 8px rgba(255, 134, 27, .26), 0 0 24px rgba(255, 181, 77, .72);
}

.feature-grid article,
.site-preorder-card,
.site-preorder-empty {
    border: 1px solid rgba(255, 126, 24, .62);
    background: rgba(5, 3, 2, .94);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255, 203, 87, .24), 0 18px 34px rgba(0, 0, 0, .48);
}

.feature-grid h3,
.feature-grid strong,
.character-rail b,
.site-preorder-body h3,
.site-preorder-price,
.site-preorder-count {
    color: #fff;
}

.feature-grid p,
.site-preorder-body p {
    color: #ddd;
}

.character-rail b {
    text-shadow: 0 0 10px rgba(255, 126, 27, .34);
}

.site-footer {
    border-top: 1px solid rgba(255, 126, 24, .62);
    background: rgba(5, 3, 1, .96);
    color: #ffe7a0;
}

/* Ticket page */
.ticket-screen .site-header {
    background: rgba(5, 3, 1, .9);
}

.ticket-hero {
    min-height: 54vh;
    display: grid;
    align-items: end;
    padding: 160px clamp(18px, 6vw, 72px) 54px;
    background:
        linear-gradient(90deg, rgba(6, 9, 81, .86), rgba(6, 9, 81, .28)),
        url("./img/background.jpg") center / cover no-repeat;
}

.ticket-hero-copy {
    max-width: 760px;
    color: #fff;
}

.ticket-hero-copy h1 {
    margin: 16px 0;
    color: #fff;
    font-size: clamp(54px, 9vw, 128px);
    line-height: .92;
    text-shadow: 0 8px 0 #06135e;
}

.ticket-hero-copy p {
    max-width: 560px;
    margin: 0;
    color: #e6fbff;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.55;
}

.ticket-band {
    min-height: 46vh;
}

.site-ticket-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 1180px;
    margin: 0 auto;
}

.site-ticket-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    border: 1px solid rgba(255, 126, 24, .62);
    border-radius: 8px;
    background: rgba(5, 3, 2, .94);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255, 203, 87, .24), 0 18px 34px rgba(0, 0, 0, .48);
}

.site-ticket-card .site-preorder-body h3,
.site-ticket-card .site-preorder-price {
    color: #fff;
}

.site-ticket-card .site-preorder-image {
    border-right-color: rgba(255, 126, 24, .62);
}

.ticket-card-kicker {
    color: #ffb85c;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ticket-card-desc p {
    margin: 12px 0 0;
    max-height: 8.4em;
    overflow: hidden;
    color: #ddd;
}

.site-ticket-card .site-product-meta {
    margin-top: 18px;
}

@media (max-width: 760px) {
    .ticket-hero {
        min-height: 48vh;
        padding: 132px 18px 42px;
    }

    .ticket-hero-copy h1 {
        font-size: clamp(46px, 18vw, 78px);
    }

    .ticket-hero-copy p {
        font-size: 17px;
    }

    .site-ticket-products {
        grid-template-columns: 1fr;
    }

    .site-ticket-card {
        grid-template-columns: 1fr;
    }

    .site-ticket-card .site-preorder-image {
        min-height: 210px;
        border-right: 0;
        border-bottom: 4px solid rgba(255, 126, 24, .62);
    }
}

.scroll-dots a {
    border-color: rgba(255, 218, 93, .82);
    background: linear-gradient(180deg, #ff8b24, #732006);
    box-shadow: 0 0 14px rgba(255, 126, 27, .5);
}

@media (max-width: 760px) {
    .site-header {
        background: rgba(5, 3, 1, .96);
    }

    .language-button {
        border-color: rgba(255, 199, 77, .72);
        background: rgba(6, 4, 2, .72);
        color: #ffe7a0;
    }

    .section-title-plate {
        padding: 10px 14px;
        gap: 10px;
    }

    .section-title-plate span {
        width: 38px;
        height: 38px;
        border-width: 5px;
        font-size: 15px;
    }

    .site-product-card .site-preorder-image {
        min-height: 260px;
    }

    .site-preorder-image {
        border-bottom-color: rgba(255, 126, 24, .72);
    }
}

/* Separate-page home and content pages */
.home-screen .site-header {
    min-height: 90px;
    padding-top: 16px;
    padding-bottom: 16px;
}

html.site-html body.home-screen {
    height: 100%;
    overflow: hidden;
}

.home-screen main {
    height: 100vh;
    min-height: 0;
}

.home-screen .site-logo {
    font-size: clamp(28px, 3vw, 42px);
}

.home-screen .site-hero {
    --home-header-safe: 92px;
    --home-subtitle-bottom: 46px;
    --home-subtitle-max: min(24vh, 220px);
    position: relative;
    isolation: isolate;
    grid-template-columns: minmax(280px, 34vw);
    align-items: center;
    gap: clamp(20px, 2.5vw, 42px);
    height: 100vh;
    min-height: 0;
    padding: 112px clamp(16px, 3vw, 46px) 30px;
    overflow: hidden;
}

.home-screen .hero-copy {
    position: relative;
    z-index: 3;
    align-self: center;
    transform: translateY(-5vh);
}

.home-screen .hero-badge {
    padding: 12px 20px;
    border-radius: 999px;
    color: #fff177;
    font-size: 18px;
}

.home-screen .site-hero h1 {
    margin: 26px 0 20px;
    font-size: clamp(70px, 7.4vw, 116px);
    line-height: .9;
}

.home-screen .site-hero p {
    font-size: clamp(20px, 1.75vw, 25px);
}

.home-screen .hero-button {
    min-width: 146px;
}

.home-stage {
    position: absolute;
    inset: var(--home-header-safe) 0 0;
    z-index: 1;
    min-height: 0;
    pointer-events: none;
}

.home-preview,
.home-response,
.dialog-editor {
    border: 1px solid rgba(255, 126, 24, .82);
    border-radius: 8px;
    background:
        radial-gradient(circle at 45% 40%, rgba(255, 255, 255, .04), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0)),
        rgba(5, 5, 5, .88);
    box-shadow: inset 0 0 30px rgba(255, 134, 27, .08), 0 0 24px rgba(0, 0, 0, .55);
}

.home-preview {
    position: absolute;
    inset: 0;
    min-height: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(ellipse at 58% 60%, rgba(255, 126, 24, .22), transparent 26%),
        radial-gradient(ellipse at 56% 86%, rgba(255, 168, 38, .18), transparent 20%),
        transparent;
    box-shadow: none;
}

.home-character-standee {
    position: absolute;
    left: 55%;
    top: calc(var(--home-header-safe) - 210px);
    bottom: auto;
    width: auto;
    height: min(136vh, 1260px);
    max-height: none;
    transform: translateX(-50%);
    object-fit: contain;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .62)) drop-shadow(0 0 18px rgba(255, 126, 27, .32));
    pointer-events: none;
}

.home-emotion-floats {
    position: absolute;
    left: calc(55% + 112px);
    top: calc(var(--home-header-safe) - 72px);
    z-index: 2;
    width: 180px;
    height: 210px;
    pointer-events: none;
}

.home-emotion-floats span {
    position: absolute;
    left: 50%;
    bottom: 12px;
    display: block;
    min-width: 44px;
    color: #fff6c7;
    font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
    font-size: clamp(42px, 4.8vw, 78px);
    line-height: 1;
    text-align: center;
    text-shadow:
        0 3px 0 #2b2430,
        3px 0 0 #2b2430,
        -3px 0 0 #2b2430,
        0 -3px 0 #2b2430,
        0 0 14px rgba(255, 126, 24, .82);
    transform: translateX(-50%);
    opacity: 0;
    animation: daikoku-emotion-float 1.55s ease-out infinite;
}

.home-emotion-floats span:nth-child(2) {
    left: 28%;
    bottom: 0;
    font-size: clamp(30px, 3.4vw, 54px);
    animation-delay: .28s;
}

.home-emotion-floats span:nth-child(3) {
    left: 72%;
    bottom: 28px;
    font-size: clamp(34px, 3.8vw, 62px);
    animation-delay: .56s;
}

.home-emotion-floats[data-emotion="sleep"] span {
    color: #dff3ff;
    text-shadow:
        0 3px 0 #253047,
        3px 0 0 #253047,
        -3px 0 0 #253047,
        0 -3px 0 #253047,
        0 0 16px rgba(118, 208, 255, .74);
    animation-duration: 2.1s;
}

.home-emotion-floats[data-emotion="shock"] span {
    color: #fff07a;
}

.home-emotion-floats[data-emotion="question"] span {
    color: #bde8ff;
}

@keyframes daikoku-emotion-float {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(22px) scale(.72) rotate(-8deg);
    }
    18% {
        opacity: 1;
    }
    62% {
        opacity: .94;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-88px) scale(1.08) rotate(8deg);
    }
}

.home-character-standee.is-speaking {
    animation: daikoku-talk-bob .52s ease-in-out infinite;
}

@keyframes daikoku-talk-bob {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-14px);
    }
}

.home-response {
    position: absolute;
    left: clamp(24px, 3vw, 52px);
    right: clamp(24px, 3vw, 52px);
    bottom: var(--home-subtitle-bottom);
    width: auto;
    min-height: 154px;
    max-height: var(--home-subtitle-max);
    padding: 22px 104px 28px 34px;
    transform: none;
    color: #fff;
    font-size: clamp(17px, 1.25vw, 22px);
    line-height: 1.8;
    background:
        linear-gradient(rgba(221, 100, 30, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(221, 100, 30, .12) 1px, transparent 1px),
        rgba(5, 5, 5, .82);
    background-size: 42px 42px, 42px 42px, auto;
    backdrop-filter: blur(7px);
    box-shadow: inset 0 0 30px rgba(255, 134, 27, .08), 0 18px 42px rgba(0, 0, 0, .52), 0 0 24px rgba(255, 126, 27, .16);
    z-index: 2;
    pointer-events: auto;
}

.home-response-body {
    max-height: calc(var(--home-subtitle-max) - 56px);
    overflow: auto;
    padding-right: 8px;
}

.home-response strong {
    display: block;
    color: #ffe665;
    font-size: clamp(19px, 1.5vw, 26px);
}

.home-response p {
    margin: 10px 0 0;
    max-width: none;
    font-size: inherit;
    font-weight: 500;
    white-space: pre-wrap;
}

.home-response > span {
    position: absolute;
    right: 28px;
    bottom: 20px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 12px solid #ffbd48;
}

.home-product-panel {
    position: absolute;
    top: clamp(24px, 6vh, 54px);
    right: clamp(24px, 3vw, 52px);
    z-index: 12;
    display: none;
    width: clamp(320px, 28vw, 430px);
    max-height: calc(100vh - var(--home-header-safe) - var(--home-subtitle-max) - var(--home-subtitle-bottom) - 42px);
    overflow: auto;
    padding: 14px;
    border: 1px solid rgba(255, 126, 24, .82);
    border-radius: 8px;
    background:
        linear-gradient(rgba(221, 100, 30, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(221, 100, 30, .12) 1px, transparent 1px),
        rgba(5, 5, 5, .82);
    background-size: 42px 42px, 42px 42px, auto;
    box-shadow: inset 0 0 30px rgba(255, 134, 27, .08), 0 18px 42px rgba(0, 0, 0, .52);
    pointer-events: auto;
}

.home-product-panel.has-products {
    display: block;
}

.home-product-panel .chat-product-cards {
    gap: 10px;
    margin-top: 0;
}

.home-product-panel .chat-product-card {
    grid-template-columns: 94px minmax(0, 1fr);
    min-height: 102px;
}

.home-product-panel .chat-product-image {
    width: 94px;
    min-height: 102px;
}

.home-product-panel .chat-product-info strong {
    white-space: normal;
}

@media (max-height: 780px) {
    .home-response {
        --home-subtitle-max: min(24vh, 190px);
    }

    .home-response-body {
        max-height: calc(var(--home-subtitle-max) - 56px);
    }
}

.dialog-editor {
    position: fixed;
    top: 122px;
    right: 24px;
    bottom: 26px;
    z-index: 34;
    display: flex;
    flex-direction: column;
    width: clamp(320px, 29vw, 450px);
    min-height: 0;
    overflow: hidden;
    padding: 0 22px 16px;
    color: #ffdf5f;
    transition: transform .62s cubic-bezier(.2,.8,.2,1), opacity .45s ease;
}

.dialog-editor.is-collapsed {
    transform: translateX(calc(100% + 46px));
    opacity: 0;
    pointer-events: none;
}

.dialog-title {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: 10px;
    margin: 0 -22px 12px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 199, 77, .42);
    font-size: 22px;
}

.chat-drawer-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    border: 1px solid rgba(255, 199, 77, .48);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
}

.home-chat-toggle {
    position: absolute;
    right: clamp(40px, 4.2vw, 76px);
    bottom: calc(var(--home-subtitle-bottom) + 52px);
    z-index: 28;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 1px solid rgba(255, 176, 72, .82);
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .14), transparent 34%),
        rgba(0, 0, 0, .78);
    color: #ffd37b;
    box-shadow: 0 0 22px rgba(255, 144, 46, .28), inset 0 0 18px rgba(255, 126, 24, .12);
    cursor: pointer;
}

.home-chat-toggle.is-open {
    opacity: .55;
}

.home-chat-toggle-icon {
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid currentColor;
    filter: drop-shadow(0 0 8px rgba(255, 199, 77, .38));
}

.home-chat-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.chat-tab-button {
    display: inline-grid;
    place-items: center;
    min-width: 58px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(255, 199, 77, .72);
    border-radius: 8px;
    background: rgba(6, 4, 2, .72);
    color: #ffcf57;
    box-shadow: none;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.chat-tab-button.is-active,
.chat-tab-button:hover {
    background: rgba(255, 126, 27, .18);
    color: #fff176;
}

.dialog-editor label {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    font-weight: 900;
}

.chat-pane {
    display: none;
    min-height: 0;
}

.chat-pane.is-active {
    display: block;
}

.chat-record-pane.is-active {
    display: flex;
    flex: 1 1 auto;
}

.dialog-editor input,
.dialog-editor textarea,
.dialog-editor select {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(255, 199, 77, .45);
    border-radius: 6px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    padding: 8px 12px;
}

.dialog-editor textarea {
    min-height: clamp(132px, 20vh, 198px);
    resize: none;
    line-height: 1.7;
}

.sound-row {
    display: grid;
    grid-template-columns: 1fr;
}

.sound-row button,
.dialog-actions button {
    min-height: 42px;
    border: 1px solid rgba(255, 199, 77, .72);
    border-radius: 6px;
    background: rgba(6, 4, 2, .84);
    color: #ffe7a0;
    box-shadow: none;
    font-weight: 900;
}

.sound-row button {
    width: 100%;
}

.sound-row button.is-muted {
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .72);
}

.dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
}

.dialog-actions button:first-child {
    background: linear-gradient(180deg, #ff9826, #b74608);
    color: #140701;
}

.chat-log {
    width: 100%;
    max-height: none;
    min-height: 0;
    margin-top: 0;
    overflow: auto;
    padding-right: 4px;
    scrollbar-color: #c47a26 rgba(255, 255, 255, .06);
    scrollbar-width: thin;
}

.chat-log-item {
    display: grid;
    gap: 4px;
    margin-bottom: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 199, 77, .28);
    border-radius: 6px;
    background: rgba(255, 255, 255, .04);
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.chat-log-empty {
    padding: 18px;
    border: 1px solid rgba(255, 199, 77, .28);
    border-radius: 6px;
    color: #c8b894;
    text-align: center;
    font-weight: 900;
}

.chat-log-item b {
    color: #ffdf5f;
}

.chat-log-user {
    border-color: rgba(255, 126, 24, .46);
    background: rgba(255, 126, 24, .1);
}

.chat-product-cards {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.chat-product-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 199, 77, .34);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, .32);
}

.chat-product-card:hover {
    border-color: rgba(255, 199, 77, .74);
}

.chat-product-image {
    display: grid;
    place-items: center;
    width: 72px;
    min-height: 76px;
    background: rgba(255, 126, 24, .14);
}

.chat-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-product-noimg {
    color: #ffdf5f;
    font-size: 12px;
    font-weight: 900;
}

.chat-product-info {
    display: grid;
    align-content: center;
    gap: 3px;
    min-width: 0;
    padding: 8px 8px 8px 0;
}

.chat-product-info em,
.chat-product-info small {
    color: #ffdf5f;
    font-size: 12px;
    font-style: normal;
}

.chat-product-info strong {
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-product-info span {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.subpage-hero {
    display: grid;
    align-content: end;
    min-height: 0;
    padding: 118px clamp(18px, 6vw, 78px) 16px;
    background:
        linear-gradient(rgba(221, 100, 30, .22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(221, 100, 30, .22) 1px, transparent 1px),
        radial-gradient(circle at 70% 32%, rgba(255, 126, 27, .18), transparent 38%),
        transparent;
    background-size: 42px 42px, 42px 42px, auto, auto;
}

.subpage-hero h1 {
    max-width: 900px;
    margin: 10px 0 6px;
    color: #ff7c20;
    font-size: clamp(46px, 6.2vw, 82px);
    line-height: .95;
    text-shadow: 0 0 18px rgba(255, 94, 15, .78), 0 3px 0 #160701;
}

.subpage-hero p {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(17px, 1.8vw, 22px);
    font-weight: 900;
    line-height: 1.55;
}

.single-section {
    min-height: 0;
    padding-top: clamp(14px, 2.2vw, 24px);
    padding-bottom: clamp(34px, 5vw, 70px);
}

.subpage-screen .movie-frame {
    width: min(920px, 74vw);
    max-height: calc(100vh - 390px);
    aspect-ratio: 16 / 8;
    border-width: 8px;
}

.subpage-screen .movie-play-button {
    width: 92px;
    height: 92px;
    border-width: 8px;
    font-size: 34px;
}

.subpage-screen .feature-grid,
.subpage-screen .site-product-products,
.subpage-screen .site-preorder-products,
.subpage-screen .site-ticket-products {
    margin-top: 0;
}

.movie-screen {
    min-height: 100vh;
    background: #020202;
}

.movie-screen::before {
    background:
        radial-gradient(circle at 48% 12%, rgba(255, 161, 80, .18), transparent 28%),
        linear-gradient(90deg, rgba(0,0,0,.5), transparent 28%, transparent 68%, rgba(0,0,0,.72)),
        linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.9));
}

.movie-screen .site-header {
    transition: opacity .85s ease, transform .85s ease, filter .85s ease;
}

.movie-screen.cinema-mode-playing .site-header {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-26px);
    filter: blur(5px);
}

.movie-screen.cinema-mode-playing:has(.site-movie-theater:not(.gallery-collapsed)) .site-header {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    filter: none;
}

.movie-screen .subpage-hero {
    min-height: 0;
    padding: 104px clamp(18px, 4vw, 54px) 0;
    background: transparent;
}

.movie-screen .subpage-hero h1,
.movie-screen .subpage-hero p {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.movie-screen .movie-band {
    min-height: calc(100vh - 104px);
    padding: 18px clamp(16px, 3vw, 48px) clamp(26px, 4vh, 44px);
    background:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.78) 78%, rgba(0,0,0,.95)),
        transparent;
}

.site-movie-theater {
    position: relative;
    isolation: isolate;
    width: min(1560px, 100%);
    min-height: calc(100vh - 170px);
    margin: 0 auto;
}

.site-movie-theater::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 42% 0%, rgba(255, 167, 86, .22), transparent 32%),
        radial-gradient(ellipse at 48% 100%, rgba(20, 0, 0, .55), transparent 42%);
    opacity: .95;
    pointer-events: none;
    transition: opacity .9s ease;
}

.site-movie-theater::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 15vh;
    z-index: 6;
    background:
        linear-gradient(180deg, transparent, rgba(0,0,0,.45) 16%, rgba(0,0,0,.92)),
        repeating-radial-gradient(ellipse at 10% 80%, rgba(92, 0, 0, .58) 0 24px, rgba(0,0,0,.88) 25px 56px);
    filter: saturate(.8);
    opacity: .78;
    pointer-events: none;
    transition: opacity .9s ease, height .9s ease;
}

.cinema-stage {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, min(68vw, 1200px));
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 190px);
}

.cinema-stage::after {
    content: "";
    position: fixed;
    left: 0;
    top: 8vh;
    width: min(760px, 48vw);
    height: min(280px, 34vh);
    z-index: 99997;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-18%, -8px, 0) rotate(13deg) scaleX(1);
    transform-origin: 0% 25%;
    background:
        radial-gradient(ellipse at 10% 34%, rgba(235,235,235,.44), rgba(170,170,170,.18) 16%, transparent 34%),
        radial-gradient(ellipse at 34% 42%, rgba(225,225,225,.34), rgba(150,150,150,.14) 18%, transparent 42%),
        radial-gradient(ellipse at 62% 50%, rgba(215,215,215,.22), rgba(130,130,130,.09) 18%, transparent 48%),
        linear-gradient(90deg, rgba(230,230,230,.38), rgba(210,210,210,.22) 34%, rgba(190,190,190,.08) 68%, transparent 100%);
    border-radius: 999px;
    filter: blur(28px);
    mix-blend-mode: screen;
    transition: opacity .55s ease, transform .55s ease;
}

body.site-screen.movie-screen.cinema-rumble-smoke .cinema-stage::after {
    opacity: calc(.1 + (var(--cinema-rumble-smoke, 0) * .22));
    transform: translate3d(8%, 8px, 0) rotate(13deg) scale(calc(1.08 + (var(--cinema-rumble-smoke, 0) * .16), 1.18));
    animation: cinema-rumble-smoke-left 5.6s ease-in-out infinite;
}

.cinema-screen-wrap {
    display: grid;
    align-content: center;
    min-width: 0;
}

.cinema-screen-wrap::after {
    content: "";
    position: fixed;
    right: 0;
    top: 8vh;
    width: min(760px, 48vw);
    height: min(280px, 34vh);
    z-index: 99997;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(18%, -8px, 0) rotate(-13deg) scaleX(1);
    transform-origin: 100% 25%;
    background:
        radial-gradient(ellipse at 90% 34%, rgba(235,235,235,.44), rgba(170,170,170,.18) 16%, transparent 34%),
        radial-gradient(ellipse at 66% 42%, rgba(225,225,225,.34), rgba(150,150,150,.14) 18%, transparent 42%),
        radial-gradient(ellipse at 38% 50%, rgba(215,215,215,.22), rgba(130,130,130,.09) 18%, transparent 48%),
        linear-gradient(270deg, rgba(230,230,230,.38), rgba(210,210,210,.22) 34%, rgba(190,190,190,.08) 68%, transparent 100%);
    border-radius: 999px;
    filter: blur(28px);
    mix-blend-mode: screen;
    transition: opacity .55s ease, transform .55s ease;
}

body.site-screen.movie-screen.cinema-rumble-smoke .cinema-screen-wrap::after {
    opacity: calc(.1 + (var(--cinema-rumble-smoke, 0) * .22));
    transform: translate3d(-8%, 8px, 0) rotate(-13deg) scale(calc(1.08 + (var(--cinema-rumble-smoke, 0) * .16), 1.18));
    animation: cinema-rumble-smoke-right 5.6s ease-in-out infinite;
}

.movie-screen .cinema-screen {
    width: min(68vw, 1200px, calc((100vh - 230px) * 16 / 9));
    max-height: calc(100vh - 230px);
    max-height: none;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(220, 220, 220, .18);
    border-radius: 8px;
    background: #020202;
    box-shadow:
        0 0 0 1px rgba(0,0,0,.85),
        0 0 calc(42px + (var(--cinema-audio-bass, 0) * 32px)) rgba(255, 154, 75, calc(.18 + (var(--cinema-audio-bass, 0) * .18))),
        0 22px 70px rgba(0,0,0,.88);
    transition: width .9s ease, transform .9s ease, box-shadow .9s ease, border-color .9s ease;
}

.movie-screen .cinema-screen::before {
    content: "";
    position: absolute;
    inset: -10% -6%;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(255, 186, 105, .16), transparent 34%),
        radial-gradient(ellipse at 100% 0%, rgba(255, 186, 105, .13), transparent 34%),
        radial-gradient(ellipse at 0% 100%, rgba(0, 0, 0, .5), transparent 31%),
        radial-gradient(ellipse at 100% 100%, rgba(0, 0, 0, .54), transparent 31%),
        radial-gradient(ellipse at 50% 50%, transparent 42%, rgba(0,0,0,.24) 100%);
    pointer-events: none;
}

.cinema-screen-idle {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 48%, rgba(255,255,255,.045), transparent 19%),
        radial-gradient(ellipse at 50% 0%, rgba(255, 183, 94, .08), transparent 32%),
        linear-gradient(90deg, rgba(0,0,0,.5), transparent 28%, transparent 72%, rgba(0,0,0,.52)),
        #010101;
}

.cinema-preview-video,
.cinema-thumb-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #020202;
    pointer-events: none;
}

.cinema-preview-video {
    position: absolute;
    inset: 0;
    opacity: 0;
    filter: brightness(.66) saturate(.95);
    transition: opacity .25s ease;
}

.cinema-preview-video.is-preview-ready {
    opacity: .72;
}

.cinema-preview-video::-webkit-media-controls,
.cinema-thumb-video::-webkit-media-controls {
    display: none !important;
}

.movie-screen .movie-play-button {
    width: 82px;
    height: 82px;
    border-width: 2px;
    background: rgba(245, 245, 245, .12);
    color: rgba(255,255,255,.92);
    font-size: 32px;
    box-shadow: 0 0 34px rgba(255, 185, 95, .38);
    backdrop-filter: blur(8px);
}

.cinema-title {
    position: absolute;
    left: clamp(16px, 2.2vw, 30px);
    top: clamp(14px, 2vw, 26px);
    bottom: auto;
    max-width: min(560px, 68%);
    z-index: 4;
    color: #fff;
    font-size: clamp(18px, 2.2vw, 31px);
    font-weight: 950;
    line-height: 1.24;
    text-align: left;
    text-shadow: 0 3px 18px rgba(0,0,0,.9);
    pointer-events: none;
}

.cinema-gallery-toggle {
    position: fixed;
    right: 18px;
    top: 50%;
    z-index: 21;
    display: none;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
    border: 1px solid rgba(255, 176, 72, .55);
    border-radius: 999px;
    background: rgba(0,0,0,.7);
    color: #ffd37b;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
    padding: 9px 14px;
    box-shadow: 0 0 22px rgba(255, 144, 46, .18);
}

.site-movie-theater.gallery-collapsed .cinema-gallery-toggle {
    display: block;
}

.movie-screen .site-movie-list {
    position: fixed;
    top: 104px;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: grid;
    grid-template-rows: auto 1fr;
    width: clamp(300px, 28vw, 430px);
    margin: 0;
    border-left: 1px solid rgba(255, 137, 32, .24);
    background: linear-gradient(180deg, rgba(0,0,0,.58), rgba(0,0,0,.82));
    box-shadow: -22px 0 70px rgba(0,0,0,.4);
    transition: transform .75s cubic-bezier(.2,.8,.2,1), opacity .55s ease;
}

.cinema-gallery-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 74px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 137, 32, .28);
}

.cinema-gallery-head h2 {
    margin: 0;
    color: #ffc65d;
    font-size: 22px;
    font-weight: 950;
    line-height: 1.2;
}

.cinema-gallery-head button {
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 198, 93, .38);
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 0 24px rgba(255, 112, 42, .14);
}

.cinema-gallery-body {
    overflow: auto;
    min-height: 0;
    padding: 0 0 18px;
}

.cinema-gallery-item {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    min-height: 116px;
    padding: 12px 16px;
    border: 0;
    border-bottom: 1px solid rgba(255, 137, 32, .22);
    border-radius: 0;
    background: transparent;
    color: #fff;
    text-align: left;
}

.cinema-gallery-item.is-active {
    background: linear-gradient(90deg, rgba(255, 136, 28, .16), rgba(255, 136, 28, .03));
    box-shadow: inset 3px 0 0 #ff9d2f;
}

.cinema-thumb {
    position: relative;
    overflow: hidden;
    align-self: center;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 174, 68, .34);
    border-radius: 5px;
    background: #080808;
}

.cinema-thumb-video {
    display: block;
    opacity: 0;
    filter: brightness(.74) saturate(.95);
    transition: opacity .25s ease;
}

.cinema-thumb-video.is-preview-ready {
    opacity: 1;
}

.cinema-thumb-screen {
    position: absolute;
    inset: 8% 7% 18%;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 3px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 202, 126, .12), transparent 30%),
        linear-gradient(90deg, rgba(0,0,0,.6), transparent 32%, transparent 68%, rgba(0,0,0,.62)),
        #020202;
    box-shadow: 0 0 18px rgba(255, 151, 59, .12);
}

.cinema-thumb-screen::after {
    content: "";
    position: absolute;
    left: -7%;
    right: -7%;
    bottom: -20%;
    height: 22%;
    background:
        linear-gradient(180deg, rgba(70,0,0,.62), rgba(0,0,0,.92)),
        repeating-linear-gradient(90deg, rgba(110,0,0,.55) 0 18px, rgba(0,0,0,.92) 19px 38px);
    border-radius: 50% 50% 0 0;
}

.cinema-gallery-copy {
    display: grid;
    align-content: center;
    min-width: 0;
}

.cinema-gallery-copy b {
    overflow: hidden;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.45;
    text-overflow: ellipsis;
}

.cinema-mode-playing {
    overflow: hidden;
}

.movie-screen.cinema-mode-playing .movie-band {
    padding: 0;
}

.cinema-mode-playing .site-movie-theater {
    position: fixed;
    inset: 0;
    z-index: 10;
    --cinema-seat-safe: clamp(108px, 14vh, 150px);
    width: 100%;
    min-height: 100vh;
    padding: clamp(12px, 2vw, 28px) clamp(12px, 2vw, 28px) calc(var(--cinema-seat-safe) + 18px);
    background:
        radial-gradient(ellipse at 50% 45%, transparent 0 48%, rgba(0,0,0,.78) 88%),
        rgba(0,0,0,.88);
}

.cinema-mode-playing .site-movie-theater::before {
    opacity: .18;
}

.cinema-mode-playing .site-movie-theater::after {
    height: 12vh;
    opacity: .48;
}

.cinema-mode-playing .cinema-stage {
    grid-template-columns: minmax(0, min(96vw, 1500px));
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--cinema-seat-safe) - clamp(36px, 5vw, 74px));
}

.cinema-mode-playing .cinema-screen-wrap {
    align-content: center;
}

.cinema-mode-playing .cinema-screen {
    width: min(96vw, calc((100vh - var(--cinema-seat-safe) - clamp(44px, 6vw, 86px)) * 16 / 9));
    max-height: calc(100vh - var(--cinema-seat-safe) - clamp(44px, 6vw, 86px));
    transform: scale(1.015);
    border-color: rgba(255,255,255,.1);
    box-shadow:
        0 0 0 1px rgba(0,0,0,.9),
        0 0 28px rgba(255, 164, 82, .12),
        0 36px 110px rgba(0,0,0,.94);
}

.site-movie-theater.is-playing .cinema-title,
.cinema-mode-playing .cinema-title {
    display: none;
}

.cinema-mode-playing .site-movie-list {
    position: fixed;
    top: clamp(72px, 8vh, 104px);
    right: 0;
    bottom: 0;
    width: clamp(300px, 28vw, 430px);
    z-index: 20;
    border-left: 1px solid rgba(255, 137, 32, .3);
    background: linear-gradient(180deg, rgba(0,0,0,.76), rgba(0,0,0,.92));
}

.site-movie-theater.gallery-collapsed .site-movie-list {
    transform: translateX(calc(100% + 46px));
    opacity: .08;
    pointer-events: none;
}

.cinema-mode-playing .cinema-gallery-toggle {
    display: block;
    z-index: 21;
}

.cinema-controls-hidden .movie-player::-webkit-media-controls {
    opacity: 0;
}

.movie-player::-webkit-media-controls {
    transition: opacity .35s ease;
}

.cinema-controls-hidden {
    cursor: none;
}

.cinema-controls-hidden .site-movie-list {
    opacity: 0;
}

.cinema-controls-hidden .site-movie-theater:hover .site-movie-list,
.cinema-controls-hidden .site-movie-theater:hover .cinema-gallery-toggle {
    opacity: 1;
}

@media (max-width: 900px) {
    html.site-html:has(body.movie-screen),
    body.site-screen.movie-screen {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .movie-screen {
        background-position: center bottom;
    }

    .movie-screen .subpage-hero {
        padding-top: 84px;
    }

    .movie-screen .movie-band {
        min-height: calc(100vh - 84px);
        padding: 12px 12px 88px;
    }

    .site-movie-theater {
        min-height: calc(100vh - 120px);
    }

    .cinema-stage {
        grid-template-columns: 1fr;
        justify-content: center;
        gap: 14px;
        min-height: 0;
    }

    .movie-screen .cinema-screen {
        width: min(100%, calc((100vh - 190px) * 16 / 9));
        max-height: calc(100vh - 190px);
    }

    .movie-screen .site-movie-list {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        z-index: 20;
        width: 100%;
        max-height: 34vh;
        border-top: 1px solid rgba(255, 137, 32, .24);
        border-left: 0;
    }

    .cinema-gallery-body {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(220px, 72vw);
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 10px;
    }

    .cinema-gallery-item {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 92px;
        border-right: 1px solid rgba(255, 137, 32, .18);
        border-bottom: 0;
    }

    .cinema-mode-playing .site-movie-theater {
        --cinema-seat-safe: clamp(86px, 12vh, 118px);
        padding: 10px;
        padding-bottom: calc(var(--cinema-seat-safe) + 12px);
    }

    .cinema-mode-playing .cinema-stage {
        grid-template-columns: 1fr;
        align-content: center;
        min-height: calc(100vh - var(--cinema-seat-safe) - 22px);
    }

    .cinema-mode-playing .cinema-screen {
        width: min(100%, calc((100vh - var(--cinema-seat-safe) - 28px) * 16 / 9));
        max-height: calc(100vh - var(--cinema-seat-safe) - 28px);
    }

    .cinema-mode-playing .site-movie-list {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 20;
        max-height: 36vh;
    }

    .site-movie-theater.gallery-collapsed .site-movie-list {
        transform: translateY(calc(100% + 30px));
    }

    .cinema-mode-playing .cinema-gallery-toggle {
        right: 12px;
        top: auto;
        bottom: 18px;
        z-index: 21;
        transform: none;
    }

    .site-movie-theater::after {
        height: 12vh;
    }
}

body.site-screen.movie-screen {
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 38% 8%, rgba(255, 170, 88, .16), transparent 28%),
        radial-gradient(ellipse at 54% 70%, rgba(255, 120, 42, .06), transparent 44%),
        linear-gradient(90deg, rgba(26, 12, 4, .9), rgba(3,3,3,.96) 14%, #020202 68%, #000 100%);
}

html.site-html:has(body.movie-screen) {
    height: 100vh;
    overflow: hidden;
}

body.site-screen.movie-screen::before {
    background:
        radial-gradient(ellipse at 38% 12%, rgba(255, 188, 112, .22), transparent 24%),
        radial-gradient(ellipse at 38% 55%, rgba(255, 164, 82, .08), transparent 38%),
        linear-gradient(90deg, rgba(0,0,0,.18), transparent 22%, transparent 64%, rgba(0,0,0,.72)),
        linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.58) 74%, rgba(0,0,0,.9));
    background-size: auto;
    box-shadow: inset 0 0 150px rgba(0,0,0,.9);
    animation: cinema-ambient-flicker 7.4s ease-in-out infinite;
}

body.site-screen.movie-screen .site-movie-theater::after {
    content: none;
}

body.site-screen.movie-screen::after {
    content: "";
    position: fixed;
    left: 50%;
    bottom: 0;
    width: 100vw;
    height: clamp(300px, 45vh, 500px);
    z-index: 99998;
    pointer-events: none;
    --cinema-seat-row-1: clamp(1420px, 100vw, 1920px);
    --cinema-seat-row-2: clamp(1160px, 82vw, 1580px);
    --cinema-seat-row-3: clamp(940px, 66vw, 1260px);
    background:
        url("./img/cinema-seats-row-gap-o100.png") 50% 104% / var(--cinema-seat-row-1) auto no-repeat,
        url("./img/cinema-seats-row-gap-o90.png") 50% 76% / var(--cinema-seat-row-2) auto no-repeat,
        url("./img/cinema-seats-row-gap-o80.png") 50% 51% / var(--cinema-seat-row-3) auto no-repeat,
        linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.16) 38%, rgba(0,0,0,.72) 100%),
        linear-gradient(90deg, rgba(0,0,0,.82), transparent 20%, transparent 80%, rgba(0,0,0,.82)),
        linear-gradient(180deg, transparent 0 18%, rgba(255, 111, 24, .04) 36%, rgba(255, 111, 24, .12) 100%);
    opacity: .68;
    transform: translate3d(-50%, calc(var(--cinema-bass-shake, 0) * 3px), 0) scale(calc(1 + (var(--cinema-audio-bass, 0) * .006)));
    transform-origin: 50% 100%;
    filter: brightness(calc(.58 + (var(--cinema-audio-bass, 0) * .08))) saturate(calc(.98 + (var(--cinema-audio-presence, 0) * .08))) contrast(1.12);
    -webkit-mask-image:
        linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.86) 10%, #000 24%, #000 100%),
        radial-gradient(ellipse 98% 144% at 50% 100%, #000 0 84%, rgba(0,0,0,.86) 92%, transparent 100%);
    mask-image:
        linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.86) 10%, #000 24%, #000 100%),
        radial-gradient(ellipse 98% 144% at 50% 100%, #000 0 84%, rgba(0,0,0,.86) 92%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    will-change: transform, filter, opacity;
    animation: cinema-seat-light-flicker 5.8s ease-in-out infinite;
}

body.site-screen.movie-screen.cinema-mode-playing::after {
    height: clamp(240px, 36vh, 390px);
    --cinema-seat-row-1: clamp(1320px, 96vw, 1840px);
    --cinema-seat-row-2: clamp(1080px, 78vw, 1480px);
    --cinema-seat-row-3: clamp(880px, 64vw, 1180px);
    background:
        url("./img/cinema-seats-row-gap-o100.png") 50% 104% / var(--cinema-seat-row-1) auto no-repeat,
        url("./img/cinema-seats-row-gap-o90.png") 50% 76% / var(--cinema-seat-row-2) auto no-repeat,
        url("./img/cinema-seats-row-gap-o80.png") 50% 51% / var(--cinema-seat-row-3) auto no-repeat,
        linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.64) 72%, rgba(0,0,0,.86)),
        linear-gradient(90deg, rgba(0,0,0,.9), transparent 24%, transparent 76%, rgba(0,0,0,.9)),
        linear-gradient(180deg, transparent 0 20%, rgba(255, 111, 24, .035) 38%, rgba(255, 111, 24, .1) 100%);
    opacity: .68;
}

body.site-screen.movie-screen .movie-band::after {
    content: "";
    position: fixed;
    left: 50%;
    bottom: 0;
    width: 100vw;
    height: clamp(300px, 45vh, 500px);
    z-index: 99999;
    pointer-events: none;
    background:
        radial-gradient(circle at 1% 86%, rgba(255, 147, 36, .94) 0 3px, rgba(255, 119, 18, .34) 4px 10px, transparent 17px),
        radial-gradient(circle at 41% 86%, rgba(255, 147, 36, .94) 0 3px, rgba(255, 119, 18, .34) 4px 10px, transparent 17px),
        radial-gradient(circle at 59% 86%, rgba(255, 147, 36, .94) 0 3px, rgba(255, 119, 18, .34) 4px 10px, transparent 17px),
        radial-gradient(circle at 99% 86%, rgba(255, 147, 36, .94) 0 3px, rgba(255, 119, 18, .34) 4px 10px, transparent 17px),
        radial-gradient(circle at 43% 68%, rgba(255, 158, 48, .82) 0 2px, rgba(255, 132, 28, .28) 3px 8px, transparent 14px),
        radial-gradient(circle at 57% 68%, rgba(255, 158, 48, .82) 0 2px, rgba(255, 132, 28, .28) 3px 8px, transparent 14px),
        radial-gradient(circle at 45% 50%, rgba(255, 180, 72, .68) 0 2px, rgba(255, 150, 44, .2) 3px 7px, transparent 12px),
        radial-gradient(circle at 55% 50%, rgba(255, 180, 72, .68) 0 2px, rgba(255, 150, 44, .2) 3px 7px, transparent 12px);
    opacity: .95;
    transform: translate3d(-50%, calc(var(--cinema-bass-shake, 0) * 2px), 0);
    filter: brightness(calc(1.18 + (var(--cinema-audio-bass, 0) * .22))) saturate(1.18);
    mix-blend-mode: screen;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.72) 12%, #000 28%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.72) 12%, #000 28%, #000 100%);
    animation: cinema-aisle-light-flicker 4.6s ease-in-out infinite;
}

body.site-screen.movie-screen.cinema-mode-playing .movie-band::after {
    height: clamp(240px, 36vh, 390px);
    opacity: .98;
    filter: brightness(calc(1.26 + (var(--cinema-audio-bass, 0) * .28))) saturate(1.24);
}

@keyframes cinema-ambient-flicker {
    0%, 100% {
        opacity: .96;
        filter: brightness(1);
    }
    18% {
        opacity: .9;
        filter: brightness(.95);
    }
    24% {
        opacity: .98;
        filter: brightness(1.03);
    }
    56% {
        opacity: .92;
        filter: brightness(.97);
    }
    64% {
        opacity: .99;
        filter: brightness(1.04);
    }
    82% {
        opacity: .94;
        filter: brightness(.98);
    }
}

@keyframes cinema-seat-light-flicker {
    0%, 100% {
        filter: brightness(calc(.58 + (var(--cinema-audio-bass, 0) * .08))) saturate(calc(.98 + (var(--cinema-audio-presence, 0) * .08))) contrast(1.12);
    }
    31% {
        filter: brightness(calc(.52 + (var(--cinema-audio-bass, 0) * .06))) saturate(calc(.94 + (var(--cinema-audio-presence, 0) * .06))) contrast(1.1);
    }
    37% {
        filter: brightness(calc(.64 + (var(--cinema-audio-bass, 0) * .09))) saturate(calc(1.02 + (var(--cinema-audio-presence, 0) * .08))) contrast(1.14);
    }
    72% {
        filter: brightness(calc(.54 + (var(--cinema-audio-bass, 0) * .07))) saturate(calc(.96 + (var(--cinema-audio-presence, 0) * .06))) contrast(1.1);
    }
}

@keyframes cinema-aisle-light-flicker {
    0%, 100% {
        opacity: .92;
        filter: brightness(calc(1.16 + (var(--cinema-audio-bass, 0) * .2))) saturate(1.16);
    }
    34% {
        opacity: .82;
        filter: brightness(calc(1.02 + (var(--cinema-audio-bass, 0) * .18))) saturate(1.08);
    }
    48% {
        opacity: .98;
        filter: brightness(calc(1.3 + (var(--cinema-audio-bass, 0) * .26))) saturate(1.24);
    }
    76% {
        opacity: .88;
        filter: brightness(calc(1.08 + (var(--cinema-audio-bass, 0) * .18))) saturate(1.12);
    }
}

@keyframes cinema-rumble-smoke-left {
    0% {
        opacity: .04;
        background-position: 0 0, 0 0, 0 0, 0 0;
        transform: translate3d(-18%, -10px, 0) rotate(13deg) scaleX(.92);
        filter: blur(24px);
    }
    24% {
        opacity: calc(.1 + (var(--cinema-rumble-smoke, 0) * .22));
        background-position: 54px 10px, 72px 4px, 96px 16px, 42px 0;
        transform: translate3d(8%, 10px, 0) rotate(13deg) scale(calc(1.1 + (var(--cinema-rumble-smoke, 0) * .16), 1.18));
        filter: blur(32px);
    }
    62% {
        opacity: calc(.08 + (var(--cinema-rumble-smoke, 0) * .14));
        background-position: 114px 64px, 148px 78px, 188px 92px, 92px 54px;
        transform: translate3d(18%, 108px, 0) rotate(8deg) scale(1.22, 1.42);
        filter: blur(42px);
    }
    100% {
        opacity: .015;
        background-position: 132px 132px, 178px 152px, 222px 172px, 112px 128px;
        transform: translate3d(22%, 210px, 0) rotate(4deg) scale(1.38, 1.68);
        filter: blur(56px);
    }
}

@keyframes cinema-rumble-smoke-right {
    0% {
        opacity: .04;
        background-position: 0 0, 0 0, 0 0, 0 0;
        transform: translate3d(18%, -10px, 0) rotate(-13deg) scaleX(.92);
        filter: blur(24px);
    }
    24% {
        opacity: calc(.1 + (var(--cinema-rumble-smoke, 0) * .22));
        background-position: -54px 10px, -72px 4px, -96px 16px, -42px 0;
        transform: translate3d(-8%, 10px, 0) rotate(-13deg) scale(calc(1.1 + (var(--cinema-rumble-smoke, 0) * .16), 1.18));
        filter: blur(32px);
    }
    62% {
        opacity: calc(.08 + (var(--cinema-rumble-smoke, 0) * .14));
        background-position: -114px 64px, -148px 78px, -188px 92px, -92px 54px;
        transform: translate3d(-18%, 108px, 0) rotate(-8deg) scale(1.22, 1.42);
        filter: blur(42px);
    }
    100% {
        opacity: .015;
        background-position: -132px 132px, -178px 152px, -222px 172px, -112px 128px;
        transform: translate3d(-22%, 210px, 0) rotate(-4deg) scale(1.38, 1.68);
        filter: blur(56px);
    }
}

.single-character-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 30px);
    width: min(1680px, calc(100vw - 120px));
    overflow: visible;
}

.single-character-grid article {
    flex: none;
    min-width: 0;
    min-height: 0;
}

.single-character-grid article div {
    min-height: clamp(190px, 28vh, 290px);
    border-width: 7px;
}

.single-character-grid img {
    max-height: clamp(140px, 22vh, 220px);
}

.single-character-grid b {
    margin-top: 10px;
    font-size: clamp(20px, 1.8vw, 28px);
    white-space: nowrap;
}

.site-nav a[aria-current="page"] {
    background: linear-gradient(180deg, #ffe45f, #f3a43b);
    border-color: #fff4a7;
    color: #2e1e1a;
    text-shadow: none;
    box-shadow: inset 0 0 16px rgba(255, 255, 255, .42), 0 0 18px rgba(255, 228, 95, .45);
}

.site-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.site-cart-link {
    position: relative;
    width: 46px;
    min-width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 218, 93, .92);
    border-radius: 999px;
    background: linear-gradient(180deg, #ff9a22, #a43b09);
    color: #130803;
    text-decoration: none;
    font-weight: 900;
    box-shadow: inset 0 0 18px rgba(255, 255, 255, .24), 0 0 18px rgba(255, 144, 28, .34);
}

.site-cart-link[aria-current="page"] {
    background: linear-gradient(180deg, #ffe45f, #ff8a21);
    border-color: #fff4a7;
    color: #130803;
}

.site-cart-icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-cart-link [data-cart-count] {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ff8a21;
    color: #fff;
    border: 2px solid #130803;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
}

body.site-screen.goods-screen,
body.site-screen.preorder-screen,
body.site-screen.ticket-screen,
body.site-screen.product-flow-screen {
    color: #172033;
    background: #f6f8fb;
}

body.site-screen.goods-screen::before,
body.site-screen.preorder-screen::before,
body.site-screen.ticket-screen::before,
body.site-screen.product-flow-screen::before {
    background:
        linear-gradient(rgba(25, 38, 63, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25, 38, 63, .045) 1px, transparent 1px);
    background-size: 40px 40px;
    box-shadow: none;
}

.goods-screen .site-header,
.preorder-screen .site-header,
.ticket-screen .site-header,
.product-flow-screen .site-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(25, 38, 63, .12);
    box-shadow: 0 10px 24px rgba(25, 38, 63, .08);
}

.goods-screen .site-logo,
.preorder-screen .site-logo,
.ticket-screen .site-logo,
.product-flow-screen .site-logo {
    color: #172033;
    text-shadow: none;
}

.goods-screen .site-nav a,
.preorder-screen .site-nav a,
.ticket-screen .site-nav a,
.product-flow-screen .site-nav a,
.goods-screen .site-footer a,
.preorder-screen .site-footer a,
.ticket-screen .site-footer a,
.product-flow-screen .site-footer a {
    border-color: rgba(25, 38, 63, .12);
    background: #fff;
    color: #172033;
    box-shadow: 0 1px 2px rgba(25, 38, 63, .06);
}

.goods-screen .site-nav a[aria-current="page"],
.preorder-screen .site-nav a[aria-current="page"],
.ticket-screen .site-nav a[aria-current="page"],
.product-flow-screen .site-cart-link[aria-current="page"] {
    background: #172033;
    border-color: #172033;
    color: #fff;
    box-shadow: 0 8px 18px rgba(25, 38, 63, .18);
}

.goods-screen .site-nav .site-nav-play,
.preorder-screen .site-nav .site-nav-play,
.ticket-screen .site-nav .site-nav-play,
.product-flow-screen .site-nav .site-nav-play {
    background: #f05a28;
    border-color: #f05a28;
    color: #fff;
}

.goods-screen .site-cart-link,
.preorder-screen .site-cart-link,
.ticket-screen .site-cart-link,
.product-flow-screen .site-cart-link {
    border-color: rgba(25, 38, 63, .12);
    background: #fff;
    color: #172033;
    box-shadow: 0 1px 2px rgba(25, 38, 63, .06);
}

.goods-screen .language-button,
.preorder-screen .language-button,
.ticket-screen .language-button,
.product-flow-screen .language-button {
    color: #172033;
}

.goods-screen .language-options,
.preorder-screen .language-options,
.ticket-screen .language-options,
.product-flow-screen .language-options {
    border-color: rgba(25, 38, 63, .12);
    background: #fff;
    box-shadow: 0 18px 28px rgba(25, 38, 63, .12);
}

.goods-screen .language-options a,
.preorder-screen .language-options a,
.ticket-screen .language-options a,
.product-flow-screen .language-options a {
    color: #172033;
}

.goods-screen .subpage-hero,
.preorder-screen .subpage-hero,
.ticket-screen .ticket-hero {
    color: #172033;
    background: #fff;
    border-bottom: 1px solid rgba(25, 38, 63, .08);
}

.goods-screen .subpage-hero h1,
.preorder-screen .subpage-hero h1,
.ticket-screen .ticket-hero-copy h1 {
    color: #172033;
    text-shadow: none;
}

.goods-screen .subpage-hero p,
.preorder-screen .subpage-hero p,
.ticket-screen .ticket-hero-copy p,
.goods-screen .hero-badge,
.preorder-screen .hero-badge,
.ticket-screen .hero-badge {
    color: #4b5563;
    text-shadow: none;
}

.goods-screen .site-band,
.preorder-screen .site-band,
.ticket-screen .site-band,
.product-flow-screen main {
    background: transparent;
}

.goods-screen .site-product-card,
.preorder-screen .site-preorder-card,
.ticket-screen .site-ticket-card,
.product-flow-screen .cart-item,
.product-flow-screen .cart-foot,
.product-flow-screen .cart-empty,
.product-flow-screen .checkout-card {
    border: 1px solid rgba(25, 38, 63, .1);
    background: #fff;
    color: #172033;
    box-shadow: 0 12px 28px rgba(25, 38, 63, .08);
}

.goods-screen .site-preorder-body h3,
.goods-screen .site-preorder-price,
.goods-screen .site-product-meta .site-preorder-price,
.preorder-screen .site-preorder-body h3,
.preorder-screen .site-preorder-price,
.preorder-screen .site-preorder-count,
.ticket-screen .site-preorder-body h3,
.ticket-screen .site-ticket-card .site-preorder-price,
.product-flow-screen .cart-title,
.product-flow-screen .cart-total,
.product-flow-screen .checkout-total {
    color: #172033;
}

.goods-screen .site-preorder-body p,
.preorder-screen .site-preorder-body p,
.ticket-screen .ticket-card-desc p,
.product-flow-screen .cart-meta {
    color: #5c667a;
}

.goods-screen .site-product-action,
.preorder-screen .site-product-action,
.ticket-screen .site-product-action,
.product-flow-screen .cart-button,
.product-flow-screen .checkout-button {
    background: #172033;
    color: #fff;
}

.product-flow-screen .cart-wrap,
.product-flow-screen .checkout-wrap {
    color: #172033 !important;
}

.product-flow-screen .cart-button.secondary,
.product-flow-screen .checkout-button.secondary {
    background: #fff;
    color: #172033;
    border: 1px solid rgba(25, 38, 63, .14);
}

.product-flow-screen .cart-actions input,
.product-flow-screen .checkout-fields input,
.product-flow-screen .checkout-fields textarea {
    background: #fff !important;
    color: #172033 !important;
    border-color: rgba(25, 38, 63, .16) !important;
}

.preorder-screen .site-preorder-form input {
    background: #fff;
    color: #172033;
    border-color: rgba(25, 38, 63, .16);
}

.preorder-screen .site-preorder-form button {
    background: #172033;
    color: #fff;
}

.goods-screen .site-preorder-empty,
.preorder-screen .site-preorder-empty,
.ticket-screen .site-preorder-empty,
.product-flow-screen .notice {
    border-color: rgba(197, 128, 22, .24);
    background: #fff8e8;
    color: #7a4a00;
}

.goods-screen .site-preorder-noimg,
.preorder-screen .site-preorder-noimg,
.ticket-screen .site-preorder-noimg {
    background: #eef2f7;
    color: #5c667a;
}

.preorder-screen .site-preorder-meter {
    background: #e5eaf1;
}

/* Product pages: orange storefront style */
body.site-screen.goods-screen,
body.site-screen.preorder-screen,
body.site-screen.ticket-screen,
body.site-screen.product-flow-screen {
    color: #111;
    background:
        linear-gradient(rgba(241, 135, 11, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(241, 135, 11, .12) 1px, transparent 1px),
        linear-gradient(rgba(25, 25, 25, .035) 2px, transparent 2px),
        linear-gradient(90deg, rgba(25, 25, 25, .035) 2px, transparent 2px),
        url("./img/official-bg.jpg") center top / 100% auto no-repeat fixed,
        #fff;
    background-size: 40px 40px, 40px 40px, 160px 160px, 160px 160px, 100% auto, auto;
}

body.site-screen.goods-screen::before,
body.site-screen.preorder-screen::before,
body.site-screen.ticket-screen::before,
body.site-screen.product-flow-screen::before {
    background:
        radial-gradient(ellipse at 50% 18%, rgba(0, 0, 0, .14), transparent 34%),
        radial-gradient(ellipse at 84% 46%, rgba(0, 0, 0, .09), transparent 28%),
        radial-gradient(ellipse at 15% 72%, rgba(0, 0, 0, .07), transparent 30%),
        linear-gradient(180deg, rgba(0, 0, 0, .08), transparent 22%, transparent 74%, rgba(0, 0, 0, .06)),
        radial-gradient(circle at 50% 0%, rgba(241, 135, 11, .08), transparent 32%),
        linear-gradient(rgba(241, 135, 11, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(241, 135, 11, .06) 1px, transparent 1px);
    background-size: auto, auto, auto, auto, auto, 80px 80px, 80px 80px;
    box-shadow: none;
}

.goods-screen .site-header,
.preorder-screen .site-header,
.ticket-screen .site-header,
.product-flow-screen .site-header {
    min-height: 70px;
    padding: 0 clamp(18px, 3.2vw, 44px);
    gap: 14px;
    background: #f1870b;
    border-bottom: 3px solid #111;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .22);
}

.goods-screen .site-logo,
.preorder-screen .site-logo,
.ticket-screen .site-logo,
.product-flow-screen .site-logo {
    color: #fff;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1;
    text-shadow: 2px 2px 0 #111;
}

.goods-screen .site-nav,
.preorder-screen .site-nav,
.ticket-screen .site-nav,
.product-flow-screen .site-nav {
    gap: 8px;
}

.goods-screen .site-nav a,
.preorder-screen .site-nav a,
.ticket-screen .site-nav a,
.product-flow-screen .site-nav a {
    min-height: 48px;
    padding: 8px 16px;
    border: 3px solid #111;
    border-radius: 8px;
    background: #f1870b;
    color: #111;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 3px 3px 0 rgba(0, 0, 0, .28);
}

.goods-screen .site-nav a[aria-current="page"],
.preorder-screen .site-nav a[aria-current="page"],
.ticket-screen .site-nav a[aria-current="page"],
.product-flow-screen .site-cart-link[aria-current="page"] {
    background: #050505;
    border-color: #050505;
    color: #f1870b;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 3px 3px 0 rgba(0, 0, 0, .28);
}

.goods-screen .site-nav .site-nav-play,
.preorder-screen .site-nav .site-nav-play,
.ticket-screen .site-nav .site-nav-play,
.product-flow-screen .site-nav .site-nav-play {
    background: #f1870b;
    border-color: #111;
    color: #111;
}

.goods-screen .site-cart-link,
.preorder-screen .site-cart-link,
.ticket-screen .site-cart-link,
.product-flow-screen .site-cart-link {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border: 3px solid #111;
    background: #f1870b;
    color: #111;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, .28);
}

.goods-screen .site-cart-link [data-cart-count],
.preorder-screen .site-cart-link [data-cart-count],
.ticket-screen .site-cart-link [data-cart-count],
.product-flow-screen .site-cart-link [data-cart-count] {
    background: #050505;
    color: #fff;
    border-color: #f1870b;
}

.goods-screen .language-button,
.preorder-screen .language-button,
.ticket-screen .language-button,
.product-flow-screen .language-button {
    min-height: 48px;
    color: #111;
    font-weight: 900;
}

.goods-screen .language-options,
.preorder-screen .language-options,
.ticket-screen .language-options,
.product-flow-screen .language-options {
    border: 3px solid #111;
    border-radius: 0;
    background: #fff;
}

.goods-screen .language-options a,
.preorder-screen .language-options a,
.ticket-screen .language-options a,
.product-flow-screen .language-options a {
    color: #111;
}

.goods-screen .subpage-hero,
.preorder-screen .subpage-hero,
.ticket-screen .ticket-hero {
    min-height: 0;
    padding: 110px clamp(18px, 5.6vw, 78px) 20px;
    background: transparent;
    border: 0;
}

.goods-screen .hero-badge,
.preorder-screen .hero-badge,
.ticket-screen .hero-badge {
    display: block;
    max-width: none;
    margin: 0 0 10px;
    padding: 9px 14px;
    border: 2px solid #f1870b;
    border-radius: 18px;
    background: #050505;
    color: #f1870b;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.goods-screen .subpage-hero h1,
.preorder-screen .subpage-hero h1,
.ticket-screen .ticket-hero-copy h1 {
    margin: 0 0 8px;
    color: #f1870b;
    font-size: clamp(56px, 7.5vw, 96px);
    line-height: .95;
    letter-spacing: 0;
    text-shadow: none;
}

.goods-screen .subpage-hero p,
.preorder-screen .subpage-hero p,
.ticket-screen .ticket-hero-copy p {
    margin: 0;
    color: #111;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    text-shadow: none;
}

.ticket-screen .ticket-hero {
    display: grid;
    align-items: end;
}

.ticket-screen .ticket-hero-copy {
    color: #111;
}

.goods-screen .site-band,
.preorder-screen .site-band,
.ticket-screen .site-band {
    padding-top: 28px;
    background: transparent;
}

.goods-screen .site-product-products,
.preorder-screen .site-preorder-products,
.ticket-screen .site-ticket-products {
    max-width: 1210px;
    gap: 40px;
}

.site-product-products,
.goods-screen .site-product-products {
    display: block;
}

.site-product-series {
    margin-bottom: 42px;
}

.site-product-series:last-child {
    margin-bottom: 0;
}

.site-product-series h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: #111;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 900;
    line-height: 1.2;
}

.site-product-series h2 span {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    border-radius: 5px;
    background: #f1870b;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .08);
}

.site-product-series-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

@media (max-width: 980px) {
    .site-product-series-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .site-product-series h2 {
        font-size: 20px;
    }

    .site-product-series-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.goods-screen .site-product-card,
.preorder-screen .site-preorder-card,
.ticket-screen .site-ticket-card {
    overflow: hidden;
    border: 0;
    border-radius: 4px;
    background: #fff;
    color: #111;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .20);
}

.goods-screen .site-product-card .site-preorder-image {
    min-height: 270px;
    aspect-ratio: 16 / 11.8;
    overflow: visible;
    background: #f5f5f5;
}

.goods-screen .site-product-card .site-preorder-image::after {
    content: none;
}

.goods-screen .site-product-card .site-preorder-image img {
    object-fit: cover;
    transform: none;
}

.goods-screen .site-product-overlay {
    left: 12px;
    right: 12px;
    bottom: -66px;
    color: #111;
}

.goods-screen .site-product-overlay span,
.goods-screen .site-product-overlay p {
    display: none;
}

.goods-screen .site-product-overlay h3 {
    color: #111;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 900;
    line-height: 1.08;
    text-shadow: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.goods-screen .site-product-card .site-preorder-body {
    padding: 78px 14px 14px;
    background: #fff;
}

.goods-screen .site-product-meta {
    align-items: center;
    min-height: 48px;
}

.goods-screen .site-product-meta .site-preorder-price,
.preorder-screen .site-preorder-price,
.ticket-screen .site-ticket-card .site-preorder-price {
    color: #f1870b;
    font-size: 20px;
    font-weight: 900;
}

.goods-screen .site-product-action,
.preorder-screen .site-product-action,
.ticket-screen .site-product-action {
    min-height: 44px;
    border: 2px solid #f1870b;
    border-radius: 8px;
    background: #fff;
    color: #f1870b;
    font-weight: 900;
    box-shadow: none;
}

.goods-screen .site-product-action b,
.preorder-screen .site-product-action b,
.ticket-screen .site-product-action b {
    display: inline-grid;
    place-items: center;
    min-width: 38px;
    height: 30px;
    margin-left: 8px;
    border-radius: 0;
    background: #f1870b;
    color: #fff;
}

.site-cart-add-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.site-button-cart-icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    padding: 5px;
    border-radius: 0;
    background: #f1870b;
    color: #fff;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.preorder-screen .site-preorder-card,
.ticket-screen .site-ticket-card {
    border: 1px solid rgba(0, 0, 0, .08);
}

.preorder-screen .site-preorder-image,
.ticket-screen .site-preorder-image {
    background: #f5f5f5;
}

.preorder-screen .site-preorder-body,
.ticket-screen .site-preorder-body {
    background: #fff;
    color: #111;
}

.preorder-screen .site-preorder-body h3,
.ticket-screen .site-preorder-body h3 {
    color: #111;
    font-weight: 900;
}

.preorder-screen .site-preorder-count,
.ticket-screen .ticket-card-desc p,
.preorder-screen .site-preorder-body p {
    color: #333;
}

.product-flow-screen .cart-button,
.product-flow-screen .checkout-button {
    background: #f1870b;
    color: #111;
    border: 2px solid #111;
}

/* Keep dark and product headers at the same visual scale. */
.site-header {
    min-height: 70px;
    padding-top: 0;
    padding-bottom: 0;
}

.site-logo,
.home-screen .site-logo,
.goods-screen .site-logo,
.preorder-screen .site-logo,
.ticket-screen .site-logo,
.product-flow-screen .site-logo {
    font-size: clamp(30px, 3.1vw, 42px);
    line-height: 1;
}

.site-nav a,
.goods-screen .site-nav a,
.preorder-screen .site-nav a,
.ticket-screen .site-nav a,
.product-flow-screen .site-nav a {
    min-height: 48px;
    padding: 8px 16px;
    font-size: 16px;
    line-height: 1.1;
}

.language-button,
.goods-screen .language-button,
.preorder-screen .language-button,
.ticket-screen .language-button,
.product-flow-screen .language-button {
    min-height: 48px;
    padding: 8px 14px;
    font-size: 16px;
    line-height: 1.1;
}

.site-cart-link,
.goods-screen .site-cart-link,
.preorder-screen .site-cart-link,
.ticket-screen .site-cart-link,
.product-flow-screen .site-cart-link {
    width: 48px;
    min-width: 48px;
    height: 48px;
}

.hero-badge {
    display: none !important;
}

@media (max-width: 1180px) {
    html.site-html body.home-screen {
        height: 100%;
        overflow: hidden;
    }

    .home-screen main {
        height: 100vh;
    }

    .home-screen .site-hero {
        grid-template-columns: 1fr;
        height: 100vh;
        min-height: 100vh;
        overflow: hidden;
        padding-bottom: 36px;
    }

    .home-screen .hero-copy {
        align-self: end;
        max-width: min(430px, 54vw);
        padding-bottom: clamp(24px, 8vh, 74px);
        transform: translateY(-5vh);
    }

    .home-character-standee {
        left: 62%;
        top: calc(var(--home-header-safe) - 170px);
        bottom: auto;
        width: auto;
        height: min(124vh, 1040px);
    }

    .home-emotion-floats {
        left: calc(62% + 88px);
        top: calc(var(--home-header-safe) - 58px);
        width: 158px;
        height: 190px;
    }

    .home-response {
        left: clamp(18px, 4vw, 44px);
        right: clamp(18px, 4vw, 44px);
        width: auto;
        transform: none;
    }

    .home-product-panel {
        right: clamp(18px, 4vw, 44px);
        width: min(400px, 42vw);
    }

    .dialog-editor {
        top: 96px;
        right: 16px;
        bottom: 18px;
    }

}

@media (max-width: 760px) {
    html.site-html body.home-screen {
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .home-screen main {
        height: auto;
    }

    .home-screen .site-hero {
        height: auto;
        min-height: 100vh;
        padding-top: 132px;
    }

    .home-preview {
        min-height: 0;
    }

    .home-character-standee {
        left: 58%;
        top: clamp(470px, 58vh, 620px);
        bottom: auto;
        width: auto;
        height: min(78vh, 620px);
        max-height: none;
    }

    .home-emotion-floats {
        left: calc(58% + 58px);
        top: clamp(360px, 46vh, 500px);
        width: 118px;
        height: 148px;
    }

    .home-emotion-floats span {
        min-width: 34px;
        font-size: clamp(32px, 12vw, 48px);
    }

    .home-emotion-floats span:nth-child(2) {
        font-size: clamp(24px, 9vw, 36px);
    }

    .home-emotion-floats span:nth-child(3) {
        font-size: clamp(27px, 10vw, 40px);
    }

    .home-screen .hero-copy {
        align-self: start;
        max-width: 100%;
        padding-bottom: 0;
        transform: translateY(-3vh);
    }

    .home-screen .site-hero h1 {
        font-size: clamp(54px, 18vw, 86px);
    }

    .home-response {
        --home-subtitle-max: min(32vh, 220px);
        left: 14px;
        right: 14px;
        bottom: 20px;
        width: auto;
        max-height: 38vh;
        padding: 18px 76px 24px 20px;
        font-size: 17px;
    }

    .home-response-body {
        max-height: calc(var(--home-subtitle-max) - 44px);
    }

    .home-product-panel {
        top: auto;
        left: 14px;
        right: 14px;
        bottom: calc(var(--home-subtitle-bottom) + var(--home-subtitle-max) + 14px);
        width: auto;
        max-height: 28vh;
    }

    .dialog-editor {
        top: 86px;
        left: 10px;
        right: 10px;
        bottom: 12px;
        width: auto;
    }

    .dialog-editor.is-collapsed {
        transform: translateY(calc(100% + 36px));
    }

    .home-chat-toggle {
        right: 28px;
        top: auto;
        bottom: calc(var(--home-subtitle-bottom) + 44px);
        transform: none;
        width: 50px;
        height: 50px;
    }

    .home-chat-toggle-icon {
        border-top-width: 10px;
        border-bottom-width: 10px;
        border-left-width: 15px;
    }

    .dialog-title {
        grid-template-columns: 1fr auto auto auto;
        padding: 10px 12px;
        font-size: 19px;
    }

    .chat-tab-button {
        min-width: 50px;
        height: 34px;
        font-size: 18px;
    }

    .dialog-actions,
    .sound-row {
        grid-template-columns: 1fr;
    }

    .subpage-hero {
        min-height: 0;
        padding: 116px 18px 24px;
    }

    .single-character-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
}

/* Ticket event layout */
.ticket-screen .site-ticket-products {
    display: block;
    max-width: 1180px;
}

.ticket-event-group {
    margin: 0 0 46px;
}

.ticket-event-group:last-child {
    margin-bottom: 0;
}

.ticket-event-group h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: #111;
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 900;
    line-height: 1.15;
}

.ticket-event-group h2 span {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border-radius: 5px;
    background: linear-gradient(180deg, #ff9c18, #f1870b);
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12), 2px 2px 0 rgba(0, 0, 0, .18);
}

.ticket-event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ticket-screen .site-ticket-card {
    min-height: 260px;
    grid-template-columns: 220px minmax(0, 1fr);
    border: 2px solid #111;
    border-radius: 6px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, .2);
}

.ticket-screen .site-ticket-card .site-preorder-image {
    min-height: 100%;
    aspect-ratio: auto;
    border-right: 2px solid #111;
}

.ticket-screen .site-ticket-card .site-preorder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticket-screen .site-ticket-card .site-preorder-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 18px;
}

.ticket-screen .site-preorder-body h3 {
    margin: 6px 0 8px;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.18;
}

.ticket-screen .ticket-card-kicker {
    color: #f1870b;
}

.ticket-screen .ticket-card-desc p {
    max-height: none;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.65;
}

.ticket-screen .site-ticket-card .site-product-meta {
    margin-top: auto;
    padding-top: 16px;
}

@media (max-width: 980px) {
    .ticket-event-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ticket-screen .ticket-hero {
        padding-bottom: 18px;
    }

    .ticket-event-group {
        margin-bottom: 34px;
    }

    .ticket-screen .site-ticket-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .ticket-screen .site-ticket-card .site-preorder-image {
        min-height: 220px;
        aspect-ratio: 1 / 1;
        border-right: 0;
        border-bottom: 2px solid #111;
    }
}

/* Mobile navigation and home viewport polish */
.site-menu-toggle {
    display: none;
}

.site-menu-backdrop {
    display: none;
}

@media (max-width: 760px) {
    .site-header,
    .home-screen .site-header,
    .goods-screen .site-header,
    .preorder-screen .site-header,
    .ticket-screen .site-header,
    .product-flow-screen .site-header {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr) auto;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        min-height: 68px;
        padding: 8px 12px;
        gap: 10px;
    }

    .site-logo,
    .home-screen .site-logo,
    .goods-screen .site-logo,
    .preorder-screen .site-logo,
    .ticket-screen .site-logo,
    .product-flow-screen .site-logo {
        font-size: clamp(22px, 7vw, 30px);
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-menu-toggle {
        display: inline-grid;
        place-items: center;
        gap: 4px;
        order: -1;
        width: 46px;
        min-width: 46px;
        height: 46px;
        padding: 0;
        border: 2px solid rgba(255, 218, 93, .92);
        border-radius: 8px;
        background: linear-gradient(180deg, #ff9a22, #a43b09);
        color: #130803;
        box-shadow: inset 0 0 18px rgba(255, 255, 255, .24), 0 0 18px rgba(255, 144, 28, .34);
        cursor: pointer;
    }

    .site-menu-toggle span {
        display: block;
        width: 22px;
        height: 3px;
        border-radius: 999px;
        background: currentColor;
        transition: transform .2s ease, opacity .2s ease;
    }

    .site-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .site-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-nav,
    .goods-screen .site-nav,
    .preorder-screen .site-nav,
    .ticket-screen .site-nav,
    .product-flow-screen .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 80;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
        width: min(82vw, 320px);
        height: 100dvh;
        padding: 86px 18px 24px;
        background:
            linear-gradient(rgba(221, 100, 30, .11) 1px, transparent 1px),
            linear-gradient(90deg, rgba(221, 100, 30, .11) 1px, transparent 1px),
            rgba(5, 5, 5, .96);
        background-size: 34px 34px, 34px 34px, auto;
        border-right: 1px solid rgba(255, 126, 24, .82);
        box-shadow: 16px 0 40px rgba(0, 0, 0, .48);
        overflow-y: auto;
        transform: translateX(-104%);
        transition: transform .24s ease;
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .site-nav a,
    .goods-screen .site-nav a,
    .preorder-screen .site-nav a,
    .ticket-screen .site-nav a,
    .product-flow-screen .site-nav a {
        width: 100%;
        min-height: 50px;
        justify-content: flex-start;
        padding: 12px 14px;
        font-size: 17px;
    }

    .site-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 70;
        display: block;
        border: 0;
        background: rgba(0, 0, 0, .52);
        opacity: 0;
        pointer-events: none;
        transition: opacity .24s ease;
    }

    body.site-menu-open .site-header {
        z-index: 100;
    }

    body.site-menu-open .site-menu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

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

    .site-header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: 0;
        justify-self: end;
        width: auto;
        min-width: 0;
    }

    .site-cart-link,
    .goods-screen .site-cart-link,
    .preorder-screen .site-cart-link,
    .ticket-screen .site-cart-link,
    .product-flow-screen .site-cart-link {
        width: 44px;
        min-width: 44px;
        height: 44px;
    }

    .language-button,
    .goods-screen .language-button,
    .preorder-screen .language-button,
    .ticket-screen .language-button,
    .product-flow-screen .language-button {
        min-height: 44px;
        width: 48px;
        max-width: 48px;
        padding: 8px 9px;
        overflow: hidden;
        font-size: 0;
        white-space: nowrap;
    }

    .language-button::before {
        content: "文";
        font-size: 17px;
        font-weight: 900;
    }

    .language-options {
        right: 0;
        left: auto;
        min-width: 126px;
    }

    .site-header-actions .language-menu {
        display: none;
    }

    .home-screen .site-hero {
        --home-header-safe: 76px;
        --home-subtitle-bottom: 18px;
        --home-subtitle-max: min(28vh, 190px);
        grid-template-columns: minmax(0, 1fr);
        width: 100vw;
        max-width: 100vw;
        min-height: 100svh;
        padding: 96px 14px 26px;
        overflow-x: hidden;
    }

    .home-screen .hero-copy {
        z-index: 4;
        box-sizing: border-box;
        width: min(100%, 362px);
        min-width: 0;
        max-width: calc(100vw - 28px);
        transform: none;
    }

    .home-screen .site-hero h1 {
        margin: 6px 0 18px;
        font-size: clamp(44px, 15vw, 64px);
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .home-screen .hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: min(100%, 362px);
        max-width: calc(100vw - 28px);
        margin-top: 0;
    }

    .home-screen .hero-button {
        min-width: 0;
        min-height: 50px;
        padding: 10px 8px;
        font-size: clamp(15px, 4.3vw, 18px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .home-stage {
        inset: var(--home-header-safe) 0 0;
    }

    .home-character-standee {
        left: 58%;
        top: clamp(245px, 32svh, 330px);
        height: min(72svh, 590px);
        opacity: .96;
    }

    .home-emotion-floats {
        left: calc(58% + 54px);
        top: clamp(168px, 24svh, 245px);
        width: 116px;
        height: 146px;
    }

    .home-response {
        left: 12px;
        right: 12px;
        bottom: calc(16px + env(safe-area-inset-bottom));
        min-height: 130px;
        max-height: var(--home-subtitle-max);
        padding: 16px 66px 22px 18px;
        font-size: clamp(15px, 4.5vw, 17px);
        line-height: 1.65;
    }

    .home-response strong {
        font-size: clamp(18px, 5vw, 22px);
    }

    .home-response p {
        margin-top: 8px;
    }

    .home-chat-toggle {
        right: 24px;
        bottom: calc(34px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 380px) {
    .home-screen .site-hero h1 {
        font-size: clamp(42px, 15vw, 60px);
    }

    .home-character-standee {
        top: clamp(290px, 38svh, 350px);
        height: min(62svh, 500px);
    }

    .home-emotion-floats {
        top: clamp(214px, 30svh, 282px);
        width: 104px;
        height: 132px;
    }
}

@media (max-width: 340px) {
    .home-screen .hero-actions {
        grid-template-columns: 1fr;
    }
}
