/* Preserve the original neon cinema; sharpen its hierarchy and framing. */
.hero h1{color:#e4efd6;text-shadow:0 0 90px #ccff7914}
.primary-action{box-shadow:0 6px 28px #a8ff6415}
.chapter-copy p{opacity:1;color:#c2c9bf}
.panel-top{position:sticky;top:0;z-index:5;background:#151915;padding-block:6px}
.close-panel{background:#20261e}
.cinematic .chapter-copy h2{letter-spacing:-.058em}
.chapter-copy{isolation:isolate}.chapter-copy p,.chapter-copy h2{text-wrap:balance}
.chapter-number{font-size:52px;opacity:.12}
.quick-tools button{min-height:44px}
.cinematic .rail{border-color:#d2ffa02e;box-shadow:0 12px 48px #0005;background:#10180ee8}
.cinematic .chapters a{position:relative}.cinematic .chapters a:before{content:'';position:absolute;inset:-6px -2px}
.primary-action:focus-visible,.close-panel:focus-visible,.choice-row button:focus-visible{outline:2px solid #cfff8c;outline-offset:5px}
.chapter-copy .text-link:hover{opacity:1;color:#dcff9a}
.cinematic .hero .drag-hint{bottom:99px;left:4%;transform:none;opacity:.75}
.world-caption{left:4%;transform:none;max-width:280px;white-space:normal;text-align:left;line-height:1.45}
@media(min-width:701px){.cinematic .chapter-copy{width:45%;padding-left:0}.cinematic .story .chapter-frame,.cinematic .meet .chapter-frame{padding-inline:6%}.header nav{gap:24px}.hero h1{font-size:clamp(140px,26vw,580px)}}
@media(max-width:1100px) and (min-width:701px){.cinematic .chapter-copy h2{font-size:clamp(40px,5.7vw,64px)}.header nav{gap:20px}.cinematic .chapter-copy p{font-size:16px}.header nav a:first-child{display:none}}
@media(max-width:700px){
 .cinematic .chapter-copy,.cinematic .meet .chapter-copy{padding-top:90px!important;padding-bottom:0}.panel-top .eyebrow{line-height:1.5}
 .cinematic .chapter-copy h2{font-size:clamp(33px,10.2vw,47px);line-height:1.05;margin:17px 0}
 .cinematic .chapter-copy h2 em{white-space:normal}.chapter-number{display:none}
 .cinematic .chapter-copy p{margin-bottom:12px;line-height:1.45}
 .cinematic .hero .drag-hint{bottom:88px;font-size:12px;left:6%}
 .cinematic .hero h1{font-size:28vw}.world-caption{display:none}
 .cinematic .rail{height:54px;bottom:max(12px,env(safe-area-inset-bottom));left:12px;right:12px}
 .choice-row button{padding:12px 8px}.panel-copy{overflow-wrap:anywhere}
}
@media(max-width:700px) and (max-height:740px){
 .cinematic .chapter-copy,.cinematic .meet .chapter-copy{padding-top:72px!important}
 .cinematic .chapter-copy h2,.cinematic .stardust .chapter-copy h2{font-size:31px;margin:12px 0}
 .cinematic .chapter-copy p{font-size:16px;line-height:1.35;margin-bottom:8px}
 .buy-steps{margin:8px 0}.buy-steps li{padding:6px 0;font-size:14px}.fact-row{padding:8px 0;margin:8px 0}
 .chapter-tags{margin:10px 0}.studio-note{margin-top:10px}.cinematic .chapter-copy .text-link{padding:6px 0;margin-top:7px}
 .cinematic .hero .chapter-frame{padding-top:94px}.hero-topline{font-size:12px}.hero-bottom p{font-size:19px}
 .cinematic .hero .drag-hint{display:none}.hero-bottom{bottom:92px}.world-bottom{bottom:114px}.world-bottom p{font-size:19px}
}
@media(max-width:360px){.quick-tools{gap:7px}.quick-tools #sound{font-size:12px}.quick-tools .token-trigger{gap:10px;padding:10px 13px}.hero-bottom{gap:12px}.hero-bottom p{font-size:18px}.hero-bottom .primary-action{padding:12px;font-size:12px}.hero-actions .scroll-link{font-size:12px;gap:9px}.cinematic .chapters a{width:26px}}
body.scene-failed #scene{display:none}body.scene-failed .chapter{height:auto;min-height:100svh;padding-block:110px}body.scene-failed .chapter-copy{width:min(100%,620px)}

.header .nav-flow{color:#d1ff8e}.nav-flow span{margin-left:5px}.flow-panel-link{display:flex;flex-direction:column;gap:10px;border:1px solid #caff7940;background:linear-gradient(130deg,#ccff7914,#b59cff08);border-radius:12px;padding:24px;margin-top:28px}.flow-panel-link span{font-size:10px;letter-spacing:1.5px;color:#c5ff8b}.flow-panel-link strong{font-size:19px;font-weight:500;line-height:1.35}.flow-panel-link small{font-size:12px;color:#9daf92}.flow-panel-link:hover{border-color:#ccff7980}

/* Shared finishing details: readable controls, precise focus and quieter chrome. */
a,button,input,summary{touch-action:manipulation;-webkit-tap-highlight-color:#ccff7926}
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #ccff79;outline-offset:4px}
.header nav a:hover{opacity:1;color:#e0ffae}
.quick-tools #sound{border-radius:20px;padding:10px 12px;color:#c7d0bf}
.quick-tools #sound:hover{background:#ccff7910;color:#efffdc}
.quick-tools .token-trigger{transition:background-color .2s,transform .2s}
.cinematic .chapters a{opacity:.72;font-variant-numeric:tabular-nums}
.cinematic .chapters a:hover{opacity:1;background:#ccff791b;color:#edffcf}
.cinematic .chapters a.active{opacity:1;color:#172012;background:#ccff79}
.cinematic .rail-note{opacity:.9;letter-spacing:.06em}
.cinematic .rail button{min-height:44px}
.cinematic .rail button:hover{color:#ccff79}
.close-panel{min-width:44px;min-height:44px}
.panel-tabs{scroll-padding-inline:8px;padding-top:4px}
.panel-tabs button:hover{color:#e9ffd4;background:#ccff7908}
.panel-tabs button:focus-visible{outline-offset:-3px}
.data-cell strong,.allocation-list{font-variant-numeric:tabular-nums}
.panel-title,.panel-copy,#avatar-title{text-wrap:balance}
.flow-panel-link{border-radius:18px;transition:border-color .2s,background-color .2s}
.flow-panel-link span{font-size:12px;letter-spacing:.07em}
.flow-panel-link small{font-size:14px;line-height:1.55}
.flow-panel-link:hover{background-color:#ccff7908}
.choice-row button{min-height:44px}
.choice-row button:hover{border-color:#ccff7970}
.panel-top{padding-bottom:12px}
@media(max-width:700px){.quick-tools #sound{padding-inline:4px}.cinematic .rail button{min-width:32px}.panel-tabs button,.choice-row button{font-size:14px}.flow-panel-link{padding:20px}.quick-tools{right:max(6%,env(safe-area-inset-right))}}
@media(prefers-reduced-motion:reduce){.primary-action:hover,.token-trigger:hover{transform:none}}
/* Keep the finale's copy and action clear of the bear on small phones. */
@media(max-width:360px){.world-bottom{gap:10px}.world-bottom p{font-size:16px;line-height:1.3}.world-bottom .primary-action{font-size:12px;padding:12px;gap:7px;white-space:nowrap}.world-bottom .primary-action span{font-size:16px}}

/* BEAR world: one visual identity, eight deliberate compositions. */
:root{--chapter-accent:#ccff79}
body[data-chapter="1"]{--chapter-accent:#c8adff}body[data-chapter="3"]{--chapter-accent:#a3f7df}body[data-chapter="5"]{--chapter-accent:#e4c2ff}body[data-chapter="6"]{--chapter-accent:#d6c9ff}
.header{height:88px;padding-inline:4%;display:grid;grid-template-columns:1fr auto 1fr;gap:24px;isolation:isolate}
.header:before{content:'';position:absolute;inset:0 0 -20px;z-index:-1;background:linear-gradient(#0c100bd9,#0c100b66 58%,transparent);pointer-events:none}
.header .brand{justify-self:start;font-size:28px;letter-spacing:-1.5px}.header .brand-symbol{width:36px;height:36px;border-radius:11px}
.header nav{margin:0;gap:32px;grid-column:2}.header nav a{font-size:14px;font-weight:450;color:#c6cebd}.header nav .nav-flow{color:#dcffae}
.header-network{display:none!important}
.quick-tools{top:22px;gap:10px}.quick-tools .token-trigger{padding:13px 20px;gap:25px;min-height:44px;font-size:14px}
.quick-tools #sound{position:relative;font-size:0!important;padding:0!important;width:44px;height:44px;border:1px solid #dcead62b;border-radius:50%;background:#11180b40}
.quick-tools #sound:before{content:'♪';font-size:21px;line-height:1;color:#d6deca}
.quick-tools #sound[aria-pressed=false]:after{content:'';position:absolute;left:12px;top:21px;width:20px;height:1px;transform:rotate(-48deg);background:#d6deca;box-shadow:0 0 0 2px #141913}
.quick-tools #sound[aria-pressed=true]{border-color:#ccff7990;background:#ccff7912}.quick-tools #sound[aria-pressed=true]:before{color:#ccff79}
body[data-chapter="7"] .header{color:#172411}body[data-chapter="7"] .header:before{background:linear-gradient(#ccff79d9,#ccff7900)}
body[data-chapter="7"] .header nav a{color:#334521}body[data-chapter="7"] .header nav a:hover{color:#10180c}body[data-chapter="7"] .header .brand-symbol{background:#182811;color:#d9ffa1}
body[data-chapter="7"] .quick-tools #sound{border-color:#29421c55;background:#d6ff9229}body[data-chapter="7"] .quick-tools #sound:before{color:#24371a}body[data-chapter="7"] .quick-tools #sound:after{background:#24371a;box-shadow:0 0 0 2px #caff7b}
.cinematic .hero .chapter-frame{padding-top:124px}.hero-topline{font-size:13px;letter-spacing:.015em;font-weight:450;color:#cbd3c3}.hero-topline .launch-state{border:1px solid #dcebd329;border-radius:30px;padding:8px 12px;margin-top:-8px;font-size:12px;background:#11180c33}
.hero h1{font-weight:820;letter-spacing:-.085em;color:#e5f0d8}.hero-bottom{bottom:139px}.hero-bottom p{font-size:clamp(28px,3vw,46px);line-height:1.15;letter-spacing:-.045em}.hero-actions .scroll-link{font-size:14px;color:#cbd4c1}
.cinematic .hero .drag-hint{font-size:13px;letter-spacing:0;text-transform:none;bottom:106px;opacity:.65}
.primary-action{border-radius:50px;font-size:15px;font-weight:600;padding:18px 25px;gap:34px;box-shadow:0 7px 38px #a8ff6410}.primary-action span{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#15200b0c;font-size:20px}.primary-action:hover span{background:#15200b15}
.cinematic .chapter-copy{width:44%;padding-top:18px;padding-bottom:88px}.cinematic .chapter-copy h2{font-size:clamp(48px,6vw,98px);font-weight:560;line-height:1.04;letter-spacing:-.06em;margin:23px 0 25px}.cinematic .chapter-copy h2 em{letter-spacing:-.055em;color:var(--chapter-accent)}
.cinematic .chapter-copy p{font-size:18px;line-height:1.65;color:#c5cdbf;max-width:430px;margin-bottom:22px;letter-spacing:-.015em}
.cinematic .chapter-copy .eyebrow{font-size:13px;letter-spacing:.055em;color:#c9d4be;opacity:.8}
.cinematic .text-link{font-size:15px;gap:44px;min-height:44px;padding:10px 0 12px;border-color:#c6d4ba55}.cinematic .text-link:hover{color:var(--chapter-accent);border-color:var(--chapter-accent)}
.chapter-number{font-family:Inter,Arial,sans-serif;font-style:normal;font-size:13px;letter-spacing:.06em;opacity:.4;bottom:109px}.chapter-number:after{content:' / 08';font-size:12px}
.fact-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:440px;padding:21px 0;margin:25px 0 12px;font-size:12px;letter-spacing:0;color:#a5b29a;border-color:#cbdeb02b}.fact-row b{font-size:16px;line-height:1.4;color:#edf3e6;font-weight:500;margin-top:7px;overflow-wrap:anywhere}
.pulse-preview{border-left:0;border-top:1px solid #a6efda4d;border-bottom:1px solid #a6efda29;padding:20px 0;margin:25px 0;max-width:380px}.pulse-preview>span:first-child{font-size:12px;letter-spacing:.025em;color:#a1c9be;opacity:1}.pulse-preview strong{font-size:30px;font-weight:450;color:#ddfff3;padding:9px 0}.pulse-preview>span:last-child{font-size:13px;color:#b0cec3;opacity:1;line-height:1.5}
.flow-split{margin:24px 0 26px;max-width:415px}.flow-split figcaption{font-size:12px;color:#b8aece;margin-bottom:12px}.flow-split-bar{display:flex;gap:4px;height:5px;border-radius:6px;overflow:hidden}.flow-split-bar i{background:#ccff79;width:60%;border-radius:3px}.flow-split-bar i:nth-child(2){width:30%;background:#b49bff}.flow-split-bar i:nth-child(3){width:10%;background:#81ded0}.flow-split-labels{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px;font-size:13px;color:#bdc4b4}.flow-split-labels b{font-weight:500;color:#edf4e5;margin-left:5px;font-variant-numeric:tabular-nums}.gravity .primary-action{background:#d5c1ff;color:#251737;box-shadow:0 8px 35px #b899ff14}.gravity .primary-action:hover{background:#e6d9ff}
.buy-steps{margin:24px 0 16px;max-width:420px}.buy-steps li{font-size:16px;padding:15px 0;line-height:1.45;gap:18px;border-color:#e1c8ff24}.buy-steps span{color:#d7b7ed;opacity:.75;font-variant-numeric:tabular-nums}
.cinematic .stardust .chapter-copy h2{font-size:clamp(48px,5.8vw,96px)}.studio-note{font-size:13px;letter-spacing:0;color:#b0b9c8;line-height:1.5;margin-top:17px}
.world h2{letter-spacing:-.078em}.world-bottom p{font-size:clamp(26px,2.8vw,44px);line-height:1.13;letter-spacing:-.045em}.world-caption{font-size:13px;letter-spacing:0;bottom:106px;opacity:.75;max-width:400px}.world-bottom .primary-action span{background:#d5ffaa15}
.cinematic .rail{left:50%;right:auto;transform:translateX(-50%);width:min(860px,calc(100% - 8%));height:62px;bottom:22px;padding:0 18px;border-radius:35px;background:#10170fe6;box-shadow:0 14px 50px #0004;border-color:#d0ecad36;gap:25px}
.cinematic .chapters{gap:7px;flex:none}.cinematic .chapters a{width:34px;height:36px;font-size:13px;opacity:.72}.cinematic .chapters a:hover{transform:none}.cinematic .chapters a.active{color:#18230f;background:#ccff79}.cinematic .chapters a:before{inset:-4px -2px}
.cinematic .rail-note{font-size:12px;letter-spacing:.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;text-align:center;color:#c3ceb8}.cinematic .rail button{padding:10px 2px;gap:8px;min-width:64px;font-size:12px;letter-spacing:0}
.panel-top{background:#151915}.panel-tabs{gap:8px}.panel-tabs button{border-radius:8px 8px 0 0}.panel-copy{line-height:1.7}.panel-note{border-radius:0 10px 10px 0}.data-grid{border-radius:18px}.data-cell>span{font-size:12px;letter-spacing:.02em;text-transform:none}.data-cell strong{font-size:27px}.flow-panel-link{padding:26px}
@media(max-width:1100px) and (min-width:701px){.header nav{margin:0;gap:22px}.header nav a:first-child{display:none}.cinematic .chapter-copy{width:45%}.cinematic .chapter-copy h2{font-size:clamp(42px,5.8vw,64px)}.cinematic .chapter-copy p{font-size:16px;line-height:1.55}.fact-row{gap:12px}.fact-row b{font-size:14px}.flow-split-labels b{display:block;margin:4px 0 0}.cinematic .rail{width:calc(100% - 8%)}.cinematic .rail-note{display:block}}
@media(max-width:800px){.cinematic .rail-note{display:none}.cinematic .rail{width:fit-content;max-width:calc(100% - 30px);gap:20px}}
@media(max-width:700px){
 .header{height:72px;display:flex;justify-content:space-between;padding-inline:6%;gap:12px}.header .brand{font-size:25px;gap:8px}.header .brand-symbol{height:30px;width:30px;border-radius:9px;font-size:21px}.header nav{display:none}.quick-tools{top:14px;right:6%;gap:8px}.quick-tools #sound{width:40px;height:40px;min-height:40px}.quick-tools #sound[aria-pressed=false]:after{left:10px;top:19px}.quick-tools .token-trigger{font-size:13px;min-height:40px;padding:10px 15px;gap:19px}
 .cinematic .hero .chapter-frame{padding-top:110px}.hero-topline{font-size:12px;line-height:1.4}.hero-topline .launch-state{padding:6px 9px;font-size:12px;max-width:130px;margin-top:-6px}.hero h1{font-size:29vw;letter-spacing:-.075em;margin-top:24px}.hero-bottom{bottom:135px;gap:14px}.hero-bottom p{font-size:23px;line-height:1.16}.hero-actions .scroll-link{font-size:12px}.hero-bottom .primary-action{padding:13px 14px;font-size:12px;gap:10px}.primary-action span{width:21px;height:21px;font-size:16px}.cinematic .hero .drag-hint{bottom:100px;font-size:12px}
 .cinematic .chapter-copy,.cinematic .meet .chapter-copy{width:100%;padding-top:100px!important;padding-bottom:0}.cinematic .chapter-copy .eyebrow{font-size:12px;letter-spacing:.03em}.cinematic .chapter-copy h2,.cinematic .stardust .chapter-copy h2{font-size:clamp(34px,10.3vw,48px);line-height:1.06;margin:18px 0}.cinematic .chapter-copy p{font-size:16px;line-height:1.45;max-width:100%;margin-bottom:14px}.cinematic .text-link{font-size:14px;gap:32px;min-height:44px;margin-top:7px;padding:8px 0 10px}.chapter-number{display:none}
 .fact-row{gap:12px;padding:13px 0;margin:16px 0 8px}.fact-row b{font-size:14px}.pulse-preview{padding:15px 0;margin:17px 0}.pulse-preview strong{font-size:25px}.pulse-preview>span:last-child{font-size:12px}.flow-split{margin:17px 0 20px;max-width:100%}.flow-split figcaption{margin-bottom:9px}.flow-split-labels{font-size:12px;gap:5px;margin-top:9px}.flow-split-labels b{margin-left:3px}.gravity .primary-action{font-size:14px;padding:14px 20px;gap:30px}.buy-steps{margin:16px 0 10px}.buy-steps li{font-size:14px;padding:10px 0;gap:12px}.studio-note{font-size:12px;line-height:1.5;margin-top:13px}
 .cinematic .world .chapter-frame{padding-top:111px}.world .eyebrow{font-size:12px;letter-spacing:.035em}.world h2{font-size:16.8vw;margin-top:26px}.world-bottom{bottom:129px;gap:12px}.world-bottom p{font-size:22px;line-height:1.17}.world-bottom .primary-action{font-size:13px;padding:14px;gap:10px}.world-caption{display:none}
 .cinematic .rail{width:calc(100% - 24px);max-width:none;height:56px;bottom:max(14px,env(safe-area-inset-bottom));padding:0 9px;gap:10px}.cinematic .chapters{gap:0;flex:1;justify-content:space-between}.cinematic .chapters a{width:29px;height:32px;font-size:12px}.cinematic .rail button{min-width:30px;padding:9px 3px}.cinematic .motion-label{display:none}
}
@media(max-width:700px) and (max-height:740px){
 .cinematic .chapter-copy,.cinematic .meet .chapter-copy{padding-top:80px!important}.cinematic .chapter-copy h2,.cinematic .stardust .chapter-copy h2{font-size:31px;margin:12px 0;line-height:1.04}.cinematic .chapter-copy p{font-size:16px;line-height:1.35;margin-bottom:8px}.fact-row{margin:10px 0 5px;padding:10px 0}.flow-split{margin:12px 0 15px}.flow-split figcaption{margin-bottom:7px}.flow-split-labels{margin-top:7px}.pulse-preview{margin:12px 0;padding:10px 0}.pulse-preview strong{font-size:22px}.buy-steps{margin:10px 0 6px}.buy-steps li{padding:7px 0}.cinematic .chapter-copy .text-link{margin-top:4px;min-height:40px}.gravity .primary-action{font-size:13px;padding:12px 17px}.studio-note{margin-top:9px}.cinematic .hero .chapter-frame{padding-top:98px}.hero-bottom{bottom:113px}.hero-bottom p{font-size:19px}.cinematic .hero .drag-hint{display:none}.cinematic .world .chapter-frame{padding-top:96px}.world-bottom{bottom:117px}.world-bottom p{font-size:18px}.world-bottom .primary-action{font-size:12px;padding:12px;gap:7px}
}
@media(max-width:360px){.header .brand{font-size:23px}.quick-tools .token-trigger{padding-inline:12px;gap:14px}.header .brand-symbol{width:28px;height:28px}.hero-bottom{gap:8px}.hero-bottom p{font-size:17px}.hero-bottom .primary-action{padding:12px 10px;font-size:12px}.hero-actions .scroll-link{gap:10px}.world-bottom p{font-size:16px}.world-bottom .primary-action{white-space:nowrap}.cinematic .chapters a{width:25px}.fact-row{gap:8px}.fact-row b{font-size:13px}.flow-split-labels b{display:block;margin:3px 0 0}.flow-split-labels{line-height:1.3}.header nav{display:none}}
