@font-face { font-family: "Lilita One"; src: url(/assets/fonts/lilita-one-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(/assets/fonts/nunito-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(/assets/fonts/nunito-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(/assets/fonts/nunito-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(/assets/fonts/nunito-latin-900-normal.woff2) format("woff2"); font-weight: 900; font-display: swap; }
:root {
--ol3: 3.0px 0.0px 0 #072a1e, 2.8px 1.1px 0 #072a1e, 2.1px 2.1px 0 #072a1e, 1.1px 2.8px 0 #072a1e, 0.0px 3.0px 0 #072a1e, -1.1px 2.8px 0 #072a1e, -2.1px 2.1px 0 #072a1e, -2.8px 1.1px 0 #072a1e, -3.0px 0.0px 0 #072a1e, -2.8px -1.1px 0 #072a1e, -2.1px -2.1px 0 #072a1e, -1.1px -2.8px 0 #072a1e, -0.0px -3.0px 0 #072a1e, 1.1px -2.8px 0 #072a1e, 2.1px -2.1px 0 #072a1e, 2.8px -1.1px 0 #072a1e;
--ol2: 2.0px 0.0px 0 #072a1e, 1.8px 0.8px 0 #072a1e, 1.4px 1.4px 0 #072a1e, 0.8px 1.8px 0 #072a1e, 0.0px 2.0px 0 #072a1e, -0.8px 1.8px 0 #072a1e, -1.4px 1.4px 0 #072a1e, -1.8px 0.8px 0 #072a1e, -2.0px 0.0px 0 #072a1e, -1.8px -0.8px 0 #072a1e, -1.4px -1.4px 0 #072a1e, -0.8px -1.8px 0 #072a1e, -0.0px -2.0px 0 #072a1e, 0.8px -1.8px 0 #072a1e, 1.4px -1.4px 0 #072a1e, 1.8px -0.8px 0 #072a1e;
--ol2r: 2.0px 0.0px 0 #5a1a00, 1.8px 0.8px 0 #5a1a00, 1.4px 1.4px 0 #5a1a00, 0.8px 1.8px 0 #5a1a00, 0.0px 2.0px 0 #5a1a00, -0.8px 1.8px 0 #5a1a00, -1.4px 1.4px 0 #5a1a00, -1.8px 0.8px 0 #5a1a00, -2.0px 0.0px 0 #5a1a00, -1.8px -0.8px 0 #5a1a00, -1.4px -1.4px 0 #5a1a00, -0.8px -1.8px 0 #5a1a00, -0.0px -2.0px 0 #5a1a00, 0.8px -1.8px 0 #5a1a00, 1.4px -1.4px 0 #5a1a00, 1.8px -0.8px 0 #5a1a00;
--mat: #146145; --mat-deep: #0c3f2d; --mat-ink: #072a1e;
--paper: #fff8ea; --paper-shade: #ead9b8; --ink: #23301f; --ink-soft: #5a5a45;
--gold: #ffc83d; --gold-hi: #ffe58a; --gold-deep: #c9820c; --brown: #4a2a00;
--red: #e5484d;
--display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
--body: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
--edge: 30px; --gutter: clamp(16px, 4vw, 40px); --maxw: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--body); font-weight: 600; font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.6; color: var(--ink); background: var(--mat-deep); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 4px solid var(--gold); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .005em; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 4rem); }
p { text-wrap: pretty; }
.title-on-art { color: #fff; letter-spacing: .03em; text-shadow: var(--ol3), 0 6px 0 #072a1e, 2px 6px 0 #072a1e, -2px 6px 0 #072a1e; }
.title-on-paper { color: var(--mat); text-shadow: 0 4px 0 var(--paper-shade); }
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background .25s, box-shadow .25s; }
.top.scrolled, body.inner .top { background: rgba(7,42,30,.92); box-shadow: 0 4px 0 rgba(0,0,0,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bar { max-width: 1280px; margin: 0 auto; padding: 10px var(--gutter); min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--display); font-size: 1.55rem; text-shadow: var(--ol2), 0 3px 0 #072a1e; }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 3px 0 rgba(0,0,0,.3); }
nav { display: flex; gap: 4px; }
nav a { color: #fff; text-decoration: none; font-weight: 800; padding: 10px 14px; border-radius: 999px; text-shadow: 0 2px 0 rgba(0,0,0,.4); }
nav a:hover { background: rgba(255,255,255,.16); }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--gold); box-shadow: inset 0 3px 0 rgba(255,255,255,.5), 0 4px 0 var(--gold-deep); cursor: pointer; position: relative; }
.menu-ico, .menu-ico::before, .menu-ico::after { position: absolute; left: 13px; width: 22px; height: 3px; border-radius: 2px; background: var(--brown); transition: transform .2s, opacity .2s; }
.menu-ico { top: 22px; } .menu-ico::before { content: ""; left: 0; top: -7px; } .menu-ico::after { content: ""; left: 0; top: 7px; }
.menu-btn[aria-expanded="true"] .menu-ico { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-ico::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-ico::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
.menu-btn { display: block; }
nav { position: absolute; top: 100%; left: 12px; right: 12px; flex-direction: column; gap: 2px; padding: 10px; border-radius: 22px; background: var(--paper); box-shadow: 0 8px 0 var(--paper-shade), 0 20px 30px rgba(0,0,0,.3); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
nav.open { visibility: visible; opacity: 1; transform: none; }
nav a { color: var(--mat); text-shadow: none; font-family: var(--display); font-weight: 400; font-size: 1.35rem; padding: 12px 16px; border-radius: 14px; }
nav a:hover { background: #f4e8cf; }
}
.btn { --b: var(--gold); --hi: var(--gold-hi); --lo: var(--gold-deep);
display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 12px 30px 14px;
font-family: var(--display); font-size: 1.35rem; line-height: 1; color: var(--brown); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
border-radius: 20px; background: linear-gradient(180deg, var(--hi), var(--b) 58%);
box-shadow: inset 0 3px 0 rgba(255,255,255,.6), inset 0 -4px 0 rgba(0,0,0,.08), 0 7px 0 var(--lo), 0 12px 18px rgba(0,0,0,.28);
transition: transform .08s, box-shadow .08s, filter .15s; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(5px); box-shadow: inset 0 3px 0 rgba(255,255,255,.6), 0 2px 0 var(--lo), 0 4px 8px rgba(0,0,0,.25); }
.btn-sm { min-height: 50px; font-size: 1.15rem; padding: 10px 24px 12px; }
.soon { display: inline-flex; align-items: center; gap: 10px; min-height: 58px; margin: 0; padding: 12px 24px; border-radius: 20px; font-family: var(--display); font-size: 1.25rem; line-height: 1; color: #fff; white-space: nowrap;
background: var(--mat); border: 3px solid rgba(255,255,255,.9); box-shadow: 0 7px 0 var(--mat-ink), 0 12px 18px rgba(0,0,0,.25); }
.soon::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255,200,61,.3); }
.store-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 420px) { .btn, .soon { font-size: 1.1rem; padding-left: 18px; padding-right: 18px; } }
@media (max-width: 350px) { .soon { font-size: 1rem; padding-left: 14px; padding-right: 14px; gap: 8px; } }
.edge { position: absolute; left: 0; right: 0; bottom: -1px; height: var(--edge); z-index: 3; pointer-events: none;
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 34' preserveAspectRatio='none'%3E%3Cpath d='M0 18 L14 10 L26 20 L41 8 L55 17 L70 6 L84 19 L99 11 L112 21 L128 7 L141 16 L157 9 L171 20 L186 8 L199 18 L214 10 L227 19 L240 12 L240 34 L0 34Z'/%3E%3C/svg%3E") 0 0 / 480px 100% repeat-x;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 34' preserveAspectRatio='none'%3E%3Cpath d='M0 18 L14 10 L26 20 L41 8 L55 17 L70 6 L84 19 L99 11 L112 21 L128 7 L141 16 L157 9 L171 20 L186 8 L199 18 L214 10 L227 19 L240 12 L240 34 L0 34Z'/%3E%3C/svg%3E") 0 0 / 480px 100% repeat-x; }
.edge-mat { background: var(--mat); }
.edge-paper { background: var(--paper); }
.edge-gold { background: #ffd56a; }
.edge-paper-top { top: calc(var(--edge) * -1 + 1px); bottom: auto; background: var(--paper); }
.edge-paper-down { top: -1px; bottom: auto; background: var(--paper); transform: scaleY(-1); }
.hero { position: relative; min-height: max(100svh, 640px); display: grid; place-items: center; overflow: hidden; isolation: isolate; padding: 90px var(--gutter) max(130px, 20vh); }
.hero-bg { position: absolute; inset: -2%; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-glow { position: absolute; inset: 0; z-index: -2; background:
radial-gradient(55% 42% at 50% 40%, rgba(255,236,190,.5), transparent 72%),
linear-gradient(180deg, rgba(120,50,0,.25), transparent 18%, transparent 72%, rgba(7,42,30,.4)); }
.hero-in { width: min(940px, 100%); text-align: center; position: relative; z-index: 2; }
.logo-wrap { margin: 0; perspective: 900px; }
.logo { width: min(820px, 100%); margin: 0 auto; filter: drop-shadow(0 7px 0 rgba(7,42,30,.6)) drop-shadow(0 18px 30px rgba(0,0,0,.3)); transform-origin: 50% 0; animation: unfold 1s cubic-bezier(.2,1.4,.4,1) .15s both; }
@keyframes unfold { from { transform: rotateX(-95deg); opacity: 0; } 55% { opacity: 1; } to { transform: rotateX(0); } }
.tagline { text-shadow: var(--ol2), 0 4px 0 #072a1e !important; letter-spacing: .045em !important; word-spacing: .14em; font-family: var(--display); font-size: clamp(1.6rem, 1rem + 2.8vw, 2.9rem); line-height: 1.1; margin: 6px 0 12px; animation: rise .7s ease-out .8s both; }
.hero-sub { max-width: 36ch; font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem) !important; margin: 0 auto 28px; font-weight: 800; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: #3d1a00; text-shadow: 0 1px 0 rgba(255,236,190,.55); animation: rise .7s ease-out .95s both; }
.hero-cta { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; animation: rise .7s ease-out 1.1s both; }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-kiri { position: absolute; z-index: 1; width: clamp(130px, 19vw, 320px); right: clamp(0px, 7vw, 160px); bottom: 46px; filter: drop-shadow(0 18px 18px rgba(0,0,0,.3)); animation: hop 2.6s ease-in-out 1.4s infinite; }
@keyframes hop { 0%, 100% { translate: 0 0; } 45% { translate: 0 -16px; } }
.floaters .fl { position: absolute; z-index: 0; width: clamp(48px, 6vw, 100px); filter: drop-shadow(0 12px 12px rgba(0,0,0,.25)); animation: pop .6s cubic-bezier(.2,1.6,.4,1) both, drift 7s ease-in-out infinite; }
.fl1 { left: 8%; top: 28%; rotate: -14deg; animation-delay: 1.15s, 1.8s; }
.fl2 { left: 14%; bottom: 24%; rotate: 10deg; animation-delay: 1.25s, 2.6s; }
.fl3 { right: 10%; top: 24%; rotate: 16deg; animation-delay: 1.35s, 1.2s; }
.fl4 { left: 27%; top: 15%; width: clamp(36px, 4vw, 64px); rotate: 8deg; animation-delay: 1.45s, 3.1s; }
.fl5 { right: 26%; top: 13%; width: clamp(36px, 4vw, 64px); rotate: -10deg; animation-delay: 1.55s, 2s; }
@keyframes pop { from { scale: 0; } to { scale: 1; } }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.scroll-cue { position: absolute; left: 50%; bottom: 46px; translate: -50% 0; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,248,234,.9); box-shadow: 0 4px 0 var(--paper-shade); animation: rise .7s ease-out 1.4s both; }
.scroll-cue span { position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; border: solid var(--mat); border-width: 0 4px 4px 0; rotate: 45deg; translate: 0 -3px; animation: nudge 1.8s ease-in-out 2s infinite; }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translate(3px, 3px); } }
@media (max-width: 760px) {
.fl4, .fl5 { display: none; }
.fl1 { left: 4%; top: 16%; } .fl3 { right: 6%; top: 15%; } .fl2 { left: 5%; bottom: 14%; }
.hero { padding-bottom: 170px; place-items: start center; padding-top: clamp(96px, 16svh, 150px); }
.hero-kiri { right: 2%; bottom: 34px; }
.scroll-cue { display: none; }
}
@media (max-width: 760px) and (max-height: 700px) { .fl1, .fl3 { display: none; } }
@media (max-height: 560px) and (orientation: landscape) { .hero-kiri, .scroll-cue { display: none; } .hero { padding-bottom: 80px; } }
.play { position: relative; padding: clamp(70px, 9vw, 110px) var(--gutter) clamp(90px, 11vw, 130px); color: #eaf3ec;
background: var(--mat) url(/assets/game/mat_tile.webp) 0 0 / 512px 512px repeat; }
.play-in { max-width: var(--maxw); margin: 0 auto; display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 940px) { .play-in { grid-template-columns: 1fr 1.1fr; grid-template-areas: 'copy demo' 'rules demo'; row-gap: 0; align-items: start; } .play-copy { grid-area: copy; align-self: end; } .rules { grid-area: rules; } .demo { grid-area: demo; align-self: center; } }
@media (max-width: 939px) { .play-in { grid-template-areas: 'copy' 'demo' 'rules'; } .play-copy { grid-area: copy; } .demo { grid-area: demo; } .rules { grid-area: rules; } }
.play-copy { text-align: center; }
@media (min-width: 940px) { .play-copy { text-align: left; } }
.play-copy p { font-size: 1.15rem; max-width: 44ch; margin: 18px auto 0; }
@media (min-width: 940px) { .play-copy p { margin-left: 0; } }
.rules { list-style: none; padding: 0; margin: 28px auto 0; display: grid; gap: 12px; max-width: 420px; text-align: left; }
@media (min-width: 940px) { .rules { margin-left: 0; } }
.rules li { display: flex; align-items: center; gap: 14px; font-weight: 800; padding: 10px 14px; border-radius: 16px; background: rgba(7,42,30,.35); }
.rules img { width: 44px; height: 44px; flex: none; }
.demo { display: grid; justify-items: center; gap: 14px; }
.hud { display: flex; gap: 10px; }
.hud-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 1.05rem; color: var(--brown); background: var(--paper); border-radius: 999px; padding: 6px 14px 7px; box-shadow: 0 4px 0 var(--paper-shade); }
.hud-goal { background: var(--gold); box-shadow: 0 4px 0 var(--gold-deep); }
.hud-goal img { width: 22px; height: 22px; }
.demo-hint { margin: 4px 0 0; font-weight: 800; color: var(--gold-hi); text-align: center; min-height: 1.6em; }
.sheet { --cell: clamp(58px, 15vw, 104px); position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 12px; border-radius: 26px; background: var(--paper);
box-shadow: 0 10px 0 var(--paper-shade), 0 26px 40px rgba(0,0,0,.35); perspective: 1400px; }
@media (min-width: 940px) { .sheet { --cell: clamp(76px, 8vw, 104px); } }
.half { display: grid; grid-template-columns: repeat(2, var(--cell)); grid-auto-rows: var(--cell); gap: 8px; padding: 8px; }
.under { position: absolute; left: 12px; top: 12px; z-index: 0; }
.half-r { position: relative; z-index: 1; }
.cell { display: grid; place-items: center; border-radius: 16px; background: #f3e7cc; box-shadow: inset 0 3px 0 rgba(0,0,0,.06); }
.cell img { width: 82%; transition: transform .35s cubic-bezier(.3,1.6,.5,1), opacity .3s; filter: drop-shadow(0 4px 2px rgba(0,0,0,.18)); }
.half-l { position: relative; z-index: 2; padding: 0; transform-style: preserve-3d; transform-origin: 100% 50%; transition: transform .75s cubic-bezier(.55,0,.25,1); }
.face { display: grid; grid-template-columns: repeat(2, var(--cell)); grid-auto-rows: var(--cell); gap: 8px; padding: 8px; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 16px; background: var(--paper); }
.back { position: absolute; inset: 0; transform: rotateY(180deg); background: linear-gradient(135deg, #fffaf0, #ecdcbc); box-shadow: inset -10px 0 18px rgba(0,0,0,.08); }
.sheet.folded .half-l { transform: rotateY(-180deg); }
.crease { position: absolute; z-index: 4; top: 8px; bottom: 8px; left: 50%; width: 56px; translate: -50% 0; border: 0; padding: 0; cursor: pointer; background: transparent; }
.crease::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 4px dashed #c99b45; translate: -50% 0; }
.crease:hover::before { border-color: var(--red); }
.tap { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; translate: -50% -50%; border-radius: 50%; background: var(--gold); box-shadow: inset 0 3px 0 rgba(255,255,255,.55), 0 4px 0 var(--gold-deep); }
.tap::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 4px solid var(--gold); animation: ping 1.6s ease-out infinite; }
@keyframes ping { from { opacity: .9; scale: .7; } to { opacity: 0; scale: 1.5; } }
.sheet.folded .crease, .sheet.done .crease { pointer-events: none; opacity: 0; }
.sheet.clear .cell img { transform: scale(1.35); opacity: 0; }
.burst { position: absolute; width: 70px; height: 70px; pointer-events: none; background: url(/assets/game/fx_sparkle.webp) center / contain no-repeat; animation: burst .6s ease-out forwards; z-index: 5; }
@keyframes burst { from { scale: .2; opacity: 1; rotate: 0deg; } to { scale: 1.6; opacity: 0; rotate: 90deg; } }
.win { position: absolute; inset: 0; z-index: 6; display: grid; place-content: center; justify-items: center; gap: 10px; border-radius: 26px; background: rgba(255,248,234,.9); }
.win[hidden] { display: none; }
.win-title { margin: 0; font-family: var(--display); font-size: clamp(1.7rem, 5vw, 2.2rem); color: var(--mat); }
.stars { display: flex; gap: 6px; align-items: end; }
.stars img { width: clamp(44px, 10vw, 64px); animation: pop .5s cubic-bezier(.2,1.8,.4,1) both; }
.stars img:nth-child(2) { width: clamp(58px, 13vw, 84px); animation-delay: .15s; }
.stars img:nth-child(3) { animation-delay: .3s; }
.worlds { position: relative; background: var(--paper); padding: clamp(70px, 9vw, 110px) var(--gutter) clamp(90px, 11vw, 130px); }
.sec-head { text-align: center; max-width: 900px; margin: 0 auto clamp(26px, 4vw, 44px); }
.sec-head p { margin: 14px auto 0; max-width: 46ch; font-size: 1.15rem; color: var(--ink-soft); }
.atlas { max-width: clamp(1040px, 62vw, 1320px); margin: 0 auto; }
.stage { position: relative; aspect-ratio: 16 / 10; border-radius: clamp(20px, 3vw, 34px); overflow: hidden; background: var(--mat); border: clamp(5px, .8vw, 9px) solid #fff;
box-shadow: 0 12px 0 var(--paper-shade), 0 28px 50px rgba(80,50,0,.22); }
@media (max-width: 600px) { .stage { aspect-ratio: 4 / 5; } }
.stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage > img.swap { animation: wipe .55s cubic-bezier(.6,0,.2,1); }
@keyframes wipe { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); filter: brightness(1.15); } to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); filter: none; } }
.stage-txt { position: absolute; inset: auto 0 0 0; padding: clamp(60px, 9vw, 120px) clamp(20px, 4vw, 44px) clamp(20px, 3.4vw, 38px); color: #fff; background: linear-gradient(180deg, transparent, rgba(7,42,30,.55) 35%, rgba(7,42,30,.9)); }
.wn { display: inline-block; font-family: var(--display); font-size: 1.05rem; color: var(--brown); background: var(--gold); padding: 5px 13px 6px; border-radius: 10px; box-shadow: 0 3px 0 var(--gold-deep); }
.stage h3 { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); margin: 12px 0 6px; text-shadow: var(--ol3), 0 5px 0 #072a1e; }
.stage-txt p { margin: 0; max-width: 44ch; font-weight: 800; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); color: #eef6ef; }
.stage-btn { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; width: clamp(46px, 5vw, 60px); height: clamp(46px, 5vw, 60px); border: 0; border-radius: 50%; cursor: pointer; background: var(--gold);
box-shadow: inset 0 3px 0 rgba(255,255,255,.55), 0 5px 0 var(--gold-deep), 0 10px 16px rgba(0,0,0,.25); }
.stage-btn::before { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border: solid var(--brown); border-width: 0 5px 5px 0; rotate: 135deg; translate: 3px 0; }
.stage-btn.next::before { rotate: -45deg; translate: -3px 0; }
.stage-btn.prev { left: clamp(10px, 2vw, 22px); }
.stage-btn.next { right: clamp(10px, 2vw, 22px); }
@media (max-width: 600px) { .stage-btn { top: 32%; } }
.path { list-style: none; margin: clamp(26px, 4vw, 40px) auto 0; padding: 0; display: flex; justify-content: center; gap: clamp(4px, 1.6vw, 22px); position: relative; }
.path::before { content: ""; position: absolute; left: 6%; right: 6%; top: 50%; border-top: 4px dashed #d6b77a; z-index: 0; }
.path li { position: relative; z-index: 1; }
.node { --s: clamp(36px, 10vw, 92px); position: relative; width: var(--s); height: var(--s); padding: 0; border: clamp(3px, .5vw, 5px) solid #fff; border-radius: 50%; overflow: visible; cursor: pointer; background: var(--mat);
box-shadow: 0 5px 0 var(--paper-shade), 0 10px 16px rgba(80,50,0,.18); transition: transform .2s cubic-bezier(.3,1.6,.5,1); }
.node img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: saturate(.75) brightness(.92); }
.node span { position: absolute; right: -6px; bottom: -6px; min-width: clamp(20px, 3.4vw, 30px); height: clamp(20px, 3.4vw, 30px); display: grid; place-items: center; border-radius: 50%; font-family: var(--display); font-size: clamp(.8rem, 1.6vw, 1.05rem); color: var(--brown); background: var(--paper); box-shadow: 0 2px 0 var(--paper-shade); }
.node:hover { transform: translateY(-3px); }
.node.on { border-color: var(--gold); transform: scale(1.12); box-shadow: 0 5px 0 var(--gold-deep), 0 0 0 5px rgba(255,200,61,.35), 0 12px 18px rgba(80,50,0,.22); }
.node.on img { filter: none; }
.node.on span { background: var(--gold); box-shadow: 0 2px 0 var(--gold-deep); }
.kiri { position: relative; padding: clamp(70px, 9vw, 110px) var(--gutter) clamp(120px, 14vw, 170px); background: #ffb347 url(/assets/game/bg_kiri-1000.webp) 30% 100% / cover no-repeat; }
@media (min-width: 700px) { .kiri { background-image: url(/assets/game/bg_kiri-1800.webp); } }
@media (min-width: 1200px), (min-width: 700px) and (min-resolution: 2dppx) { .kiri { background-image: url(/assets/game/bg_kiri-2560.webp); } }
.kiri-in { max-width: var(--maxw); margin: 0 auto; display: grid; gap: clamp(20px, 4vw, 40px); align-items: center; }
@media (min-width: 900px) { .kiri-in { grid-template-columns: 1fr 1fr; } }
.kiri-stage { display: grid; justify-items: center; }
.bubble { position: relative; margin: 0 0 6px; max-width: 26ch; padding: 14px 20px; border-radius: 22px; background: #fff; color: var(--mat); font-family: var(--display); font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); line-height: 1.2; text-align: center; box-shadow: 0 6px 0 var(--paper-shade); }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -14px; translate: -50% 0; border: 10px solid transparent; border-top: 16px solid #fff; border-bottom: 0; }
.bubble.say { animation: say .35s cubic-bezier(.3,1.7,.5,1); }
@keyframes say { from { transform: scale(.85); } to { transform: none; } }
.kiri-stage img { width: min(400px, 76%); filter: drop-shadow(0 22px 20px rgba(120,60,0,.28)); transition: transform .3s cubic-bezier(.3,1.7,.5,1); }
.kiri-stage img.bump { transform: scale(1.06) rotate(-3deg); }
.poses { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; padding: 8px; border-radius: 22px; background: rgba(255,248,234,.8); box-shadow: 0 5px 0 rgba(160,100,0,.25); }
.pose { font-family: var(--display); font-size: 1.1rem; color: var(--mat); background: #fff; border: 0; border-radius: 14px; padding: 10px 16px; min-height: 46px; cursor: pointer; box-shadow: 0 4px 0 var(--paper-shade); transition: transform .08s; }
.pose:active { transform: translateY(3px); }
.pose.on { background: var(--mat); color: #fff; box-shadow: 0 4px 0 var(--mat-ink); }
.kiri-copy { text-align: center; }
@media (min-width: 900px) { .kiri-copy { text-align: left; } }
.kiri-copy h2 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); }
.note-card { position: relative; margin-top: 18px; padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: var(--paper); text-align: left; box-shadow: 0 8px 0 rgba(180,120,20,.35), 0 20px 30px rgba(120,60,0,.18); }
.note-card::before { content: ""; position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; translate: -50% 0; rotate: -3deg; background: rgba(255,255,255,.65); box-shadow: 0 2px 4px rgba(0,0,0,.08); }
.note-card p { margin: 0; font-size: 1.12rem; font-weight: 700; color: #3d3524; }
.note-card p + p { margin-top: 12px; }
.features { position: relative; padding: clamp(70px, 9vw, 110px) var(--gutter) clamp(80px, 10vw, 120px); color: #eaf3ec;
background: var(--mat) url(/assets/game/mat_tile.webp) 0 0 / 512px 512px repeat; }
.feats { list-style: none; padding: 0; margin: 0 auto; max-width: var(--maxw); display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.feats li { text-align: center; padding: 26px 20px 28px; border-radius: 24px; background: rgba(7,42,30,.42); border: 2px solid rgba(255,255,255,.08); }
.feats img { width: 92px; height: 92px; margin: 0 auto 12px; filter: drop-shadow(0 8px 6px rgba(0,0,0,.3)); }
.feats h3 { font-size: 1.55rem; color: #fff; }
.feats p { margin: 8px auto 0; max-width: 28ch; color: #cfe2d5; }
.shelf { display: flex; justify-content: center; align-items: end; gap: clamp(8px, 4vw, 50px); margin: clamp(40px, 6vw, 64px) auto 0; max-width: 820px; padding-bottom: 18px; position: relative; }
.shelf::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: 0; height: 22px; border-radius: 8px; background: linear-gradient(180deg, #b77a3d, #8a5526); box-shadow: 0 8px 0 #5d3615, 0 18px 24px rgba(0,0,0,.35); }
.shelf img { position: relative; z-index: 1; width: clamp(84px, 18vw, 190px); margin-bottom: -6px; filter: drop-shadow(0 12px 10px rgba(0,0,0,.35)); }
.shelf img:nth-child(2) { width: clamp(104px, 23vw, 240px); }
.band { background: var(--mat-deep); padding: 70px 0; }
.band h2 { text-align: center; color: #fff; margin-bottom: 20px; }
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 8px var(--gutter) 22px; scroll-snap-type: x mandatory; justify-content: safe center; }
.shots figure { margin: 0; flex: 0 0 min(250px, 62vw); scroll-snap-align: center; }
.shots img { border-radius: 30px; border: 6px solid #fff; }
.faq { position: relative; background: var(--paper); padding: clamp(60px, 8vw, 90px) var(--gutter) clamp(70px, 9vw, 100px); }
.faq-in { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq h2 { text-align: center; margin-bottom: 14px; }
details { background: #fff; border-radius: 20px; box-shadow: 0 6px 0 var(--paper-shade); border: 3px solid #f1e4c8; }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 16px 22px; font-family: var(--display); font-size: clamp(1.15rem, 1.05rem + .5vw, 1.35rem); line-height: 1.2; color: var(--mat); min-height: 64px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%234a2a00' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat; box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 3px 0 var(--gold-deep); transition: rotate .2s; }
details[open] summary::after { rotate: 45deg; }
details p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); font-size: 1.08rem; }
details a { color: #9a5b00; font-weight: 800; }
.finale { position: relative; text-align: center; padding: clamp(80px, 10vw, 130px) var(--gutter) clamp(80px, 10vw, 120px); background: #ff9a5a url(/assets/game/bg_finale-1000.webp) 50% 50% / cover no-repeat; }
@media (min-width: 700px) { .finale { background-image: url(/assets/game/bg_finale-1800.webp); } }
@media (min-width: 1200px), (min-width: 700px) and (min-resolution: 2dppx) { .finale { background-image: url(/assets/game/bg_finale-2560.webp); } }
.finale-in { max-width: 720px; margin: 0 auto; }
.finale-kiri { width: min(220px, 52%); margin: 0 auto -6px; filter: drop-shadow(0 18px 16px rgba(120,40,0,.3)); }
.finale h2 { font-size: clamp(2.4rem, 1.4rem + 4.6vw, 4.6rem); }
.finale-sub { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); font-weight: 800; color: #fff; text-shadow: var(--ol2r), 0 2px 0 #5a1a00; margin: 14px auto 28px; max-width: 36ch; }
.foot { background: var(--mat-ink); color: #a9c2b3; padding: clamp(44px, 6vw, 64px) var(--gutter) 54px; text-align: center; }
.foot-in { max-width: 900px; margin: 0 auto; }
.foot-brand { display: inline-block; }
.foot-brand img { width: min(300px, 70vw); filter: drop-shadow(0 5px 0 rgba(0,0,0,.4)); }
.foot-tag { margin: 8px 0 0; font-family: var(--display); font-size: 1.2rem; color: var(--gold); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; margin: 24px 0 18px; }
.foot-links a { color: #fff; font-weight: 800; text-decoration: none; padding: 8px 0; }
.foot-links a:hover { color: var(--gold); }
.fine { font-size: .86rem; margin: 0 auto; max-width: 62ch; }
.doc { background: var(--mat) url(/assets/game/mat_tile.webp) 0 0 / 512px 512px repeat; padding: 108px var(--gutter) 70px; }
.doc .wrap { max-width: 860px; margin: 0 auto; }
.paper { background: var(--paper); border-radius: 28px; padding: clamp(26px, 5vw, 56px); box-shadow: 0 10px 0 var(--paper-shade), 0 24px 40px rgba(0,0,0,.3); overflow-wrap: break-word; }
.paper h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.4rem); color: var(--mat); text-shadow: 0 4px 0 var(--paper-shade); margin-bottom: 10px; }
.paper h2 { font-size: clamp(1.45rem, 1.3rem + .8vw, 1.8rem); color: var(--mat); margin: 38px 0 8px; }
.paper h3 { font-size: 1.3rem; margin: 24px 0 6px; color: var(--mat); }
.paper p, .paper li { color: #34402f; }
.paper a { color: #9a5b00; font-weight: 800; }
.paper table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: .97rem; display: block; overflow-x: auto; }
.paper th, .paper td { text-align: left; padding: 10px 12px; border-bottom: 2px solid #f0e2c4; vertical-align: top; }
.paper code { background: #f3e7cc; padding: 2px 6px; border-radius: 6px; }
.note { background: #fff1c7; border-left: 6px solid var(--gold); padding: 12px 16px; border-radius: 12px; }
.facts { display: grid; gap: 6px 20px; grid-template-columns: max-content 1fr; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .facts dd { margin-bottom: 8px; } }
.facts dt { font-family: var(--display); color: var(--mat); } .facts dd { margin: 0; }
.dl { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin: 16px 0 6px; }
.dl a { display: block; background: #fff; border: 3px solid #f1e4c8; border-radius: 16px; padding: 14px 16px; text-decoration: none; color: var(--mat); font-family: var(--display); font-size: 1.2rem; box-shadow: 0 5px 0 var(--paper-shade); }
.dl small { display: block; font-family: var(--body); font-weight: 700; font-size: .9rem; color: var(--ink-soft); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.swatches span { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.swatches i { width: 30px; height: 30px; border-radius: 9px; border: 2px solid rgba(0,0,0,.12); display: inline-block; }
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after { animation: none !important; transition: none !important; }
}