/* PRESENTATION LAB: the three radical stages. Lab only. Colours and shapes are set per stage; the effects live in stage.js. */
@property --cmb-h{syntax:'<number>';inherits:true;initial-value:330}

/* ===================================================================== LIVING MOUNTAIN */
html[data-stage="living"]:root:not([data-z]){
  --bg:#0f1a33; --ink:#FFFFFF; --muted:#D6E3F8; --panel:rgba(14,26,52,.5);
  --rock:#7E96B8; --rock2:#9DB3CF; --snow:#FFFFFF; --flag:#FF9A5C;
  --board:rgba(10,20,44,.45); --board-edge:rgba(255,255,255,.22); --tile:#FBF1DA; --tile-edge:#D8C395; --tile-ink:#22303F;
  --sel:#52E3A4; --good:#52E3A4; --bad:#FF6F7E; color-scheme:dark;
}
html[data-stage="living"] body{background:transparent}
html[data-stage="living"] .peak h1,html[data-stage="living"] .sub,html[data-stage="living"] .brand{text-shadow:0 1px 10px rgba(0,0,0,.55)}
html[data-stage="living"] .mtn{background:linear-gradient(rgba(255,255,255,.07),rgba(255,255,255,.01));box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
html[data-stage="living"] .mtn svg{opacity:.92}
html[data-stage="living"] .alt b,html[data-stage="living"] .alt span{text-shadow:0 1px 8px rgba(0,0,0,.5)}
html[data-stage="living"] .stat,html[data-stage="living"] .word,html[data-stage="living"] .daychip{background:rgba(12,24,50,.34);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
html[data-stage="living"] .word.idle{background:rgba(12,24,50,.3)}
html[data-stage="living"] .boardwrap{background:rgba(10,20,44,.22);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3),0 14px 44px rgba(0,0,0,.28)}
html[data-stage="living"] .tile{background:rgba(255,248,232,.95);box-shadow:inset 0 -3px 0 var(--tile-edge),0 3px 10px rgba(0,0,0,.2)}
html[data-stage="living"] .tile.on{background:var(--pick);box-shadow:0 0 16px var(--pick),inset 0 -3px 0 color-mix(in srgb,var(--pick) 60%,#000)}
html[data-stage="living"] button{background:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
html[data-stage="living"] button.ghost,html[data-stage="living"] button.alt2{background:rgba(255,255,255,.1)}
html[data-stage="living"] .card{background:rgba(16,28,56,.88);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25),0 12px 40px rgba(0,0,0,.4)}
html[data-stage="living"] .seo-intro{display:none}

/* ===================================================================== CINEMATIC ASCENT */
html[data-stage="cinematic"]:root:not([data-z]){
  --bg:#0A0D12; --ink:#F4EAD7; --muted:#B9AB90; --panel:rgba(20,24,30,.78);
  --rock:#3C4B57; --rock2:#566775; --snow:#F4EAD7; --flag:#FF9F43;
  --board:#12161C; --board-edge:#06080B; --tile:#EFE5CF; --tile-edge:#BDAE88; --tile-ink:#16181C;
  --sel:#FF9F43; --good:#FFCF6B; --bad:#FF5D5D; color-scheme:dark;
}
html[data-stage="cinematic"] body{background:linear-gradient(180deg,#0E2A33 0%,#0A0D12 55%,#1A0F0A 100%) fixed}
html[data-stage="cinematic"] *{font-family:"Bebas Neue",Figtree,system-ui,sans-serif;letter-spacing:.06em}
html[data-stage="cinematic"] .peak h1{font-size:1.9rem;letter-spacing:.12em;font-weight:400}
html[data-stage="cinematic"] .brand{font-size:1.5rem;font-weight:400;letter-spacing:.2em}
html[data-stage="cinematic"] .alt b{font-size:2.6rem;font-weight:400;letter-spacing:.05em}
html[data-stage="cinematic"] .stat b{font-size:1.7rem;font-weight:400}
html[data-stage="cinematic"] .tile{font-family:"Bebas Neue",sans-serif;font-weight:400;border-radius:4px;box-shadow:inset 0 -3px 0 var(--tile-edge),0 3px 8px rgba(0,0,0,.5)}
html[data-stage="cinematic"] .tile .v{font-size:.34em}
html[data-stage="cinematic"] .mtn{background:linear-gradient(180deg,#0E2A33,#1B3A44 55%,#E2873F 130%);border-radius:4px;box-shadow:inset 0 0 0 1px rgba(255,159,67,.25)}
html[data-stage="cinematic"] .stat,html[data-stage="cinematic"] .word,html[data-stage="cinematic"] .daychip{border-radius:3px;box-shadow:inset 0 0 0 1px rgba(255,159,67,.22)}
html[data-stage="cinematic"] .boardwrap{border-radius:6px;box-shadow:0 18px 50px rgba(0,0,0,.6),inset 0 0 0 1px rgba(255,159,67,.25)}
html[data-stage="cinematic"] button{background:#B8651F;border-radius:3px;box-shadow:inset 0 -3px 0 #7B4010;letter-spacing:.14em;font-weight:400}
html[data-stage="cinematic"] button.ghost,html[data-stage="cinematic"] button.alt2{background:transparent;box-shadow:inset 0 0 0 1px rgba(255,159,67,.45)}
html[data-stage="cinematic"] .card{border-radius:4px;box-shadow:inset 0 0 0 1px rgba(255,159,67,.3),0 20px 60px rgba(0,0,0,.6)}
html[data-stage="cinematic"] .gain{font-size:1.4rem}

#cinBars{position:fixed;inset:0;z-index:70;pointer-events:none}
#cinBars i{position:absolute;left:0;right:0;height:0;background:#000;transition:height .5s cubic-bezier(.7,0,.2,1)}
#cinBars i:first-child{top:0}#cinBars i:last-child{bottom:0}
html.cin-bars-on #cinBars i{height:8vh}
#cinVig{position:fixed;inset:0;z-index:65;pointer-events:none;background:radial-gradient(120% 90% at 50% 45%,transparent 52%,rgba(0,0,0,.7))}
#cinGrain{position:fixed;inset:-60px;z-index:66;pointer-events:none;opacity:.07;mix-blend-mode:overlay;animation:cinGrain .5s steps(5) infinite}
@keyframes cinGrain{0%{transform:translate(0,0)}25%{transform:translate(-30px,18px)}50%{transform:translate(22px,-26px)}75%{transform:translate(-14px,-30px)}100%{transform:translate(28px,22px)}}
#cinWord{position:fixed;left:0;right:0;top:30%;z-index:72;text-align:center;pointer-events:none;color:#fff;text-shadow:0 4px 24px rgba(0,0,0,.7)}
#cinWord .l{display:inline-block;font-size:min(15vw,74px);letter-spacing:.05em;opacity:0;transform:translateY(46px) scale(1.7);margin:0 .02em}
#cinWord.big .l{font-size:min(19vw,92px)}
#cinWord.go .l{animation:cinLetter .5s cubic-bezier(.2,1.5,.4,1) forwards;animation-delay:calc(var(--i)*45ms)}
#cinWord .g{display:block;margin-bottom:4px;font-size:min(10vw,46px);color:#FFC15A;letter-spacing:.2em;opacity:0}
#cinWord.go .g{animation:cinGain .5s .05s forwards}
#cinWord.out{animation:cinOut .55s ease-in forwards}
@keyframes cinLetter{0%{opacity:0;transform:translateY(46px) scale(1.7)}60%{opacity:1;transform:translateY(-4px) scale(.97)}100%{opacity:1;transform:none}}
@keyframes cinGain{0%{opacity:0;transform:translateY(10px);letter-spacing:.8em}100%{opacity:1;transform:none;letter-spacing:.32em}}
@keyframes cinOut{to{opacity:0;transform:translateY(-30px) scale(1.06);filter:blur(4px)}}
#cinTitle{position:fixed;inset:0;z-index:71;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;pointer-events:none;color:#F4EAD7;text-align:center;opacity:0}
#cinTitle small{font-size:.9rem;letter-spacing:.5em;color:#FF9F43}
#cinTitle b{font-size:min(11vw,60px);text-align:center;font-weight:400;letter-spacing:.18em;text-shadow:0 4px 30px #000}
#cinTitle span{font-size:1.1rem;letter-spacing:.3em;opacity:.8}
#cinTitle em{font-style:normal;font-size:1.6rem;letter-spacing:.3em;color:#FFCF6B}
#cinTitle.on{animation:cinTitle 2.8s ease-in-out forwards}
@keyframes cinTitle{0%{opacity:0;letter-spacing:0;transform:scale(1.08)}18%{opacity:1}80%{opacity:1}100%{opacity:0;transform:scale(.97)}}
#cinTitle.on b{animation:cinTrack 2.8s ease-out forwards}
@keyframes cinTrack{from{letter-spacing:.02em}to{letter-spacing:.3em}}
#cinSummit{position:fixed;inset:0;z-index:71;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;opacity:0;text-align:center;overflow:hidden}
#cinSummit .rays{position:absolute;left:50%;top:50%;width:230vmax;height:230vmax;margin:-115vmax;background:repeating-conic-gradient(from 0deg,rgba(255,207,107,.22) 0 6deg,transparent 6deg 18deg);-webkit-mask-image:radial-gradient(circle,#000 0,transparent 38%);mask-image:radial-gradient(circle,#000 0,transparent 38%);animation:cinSpin 18s linear infinite}
@keyframes cinSpin{to{transform:rotate(360deg)}}
#cinSummit b{position:relative;white-space:nowrap;font-size:min(17vw,96px);font-weight:400;letter-spacing:.2em;background:linear-gradient(#FFF2C2,#FFB347 60%,#C8651B);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 6px 20px rgba(0,0,0,.6))}
#cinSummit span{position:relative;font-size:min(8vw,34px);letter-spacing:.4em;color:#F4EAD7;text-shadow:0 2px 14px #000}
#cinSummit em{position:relative;font-style:normal;font-size:1.4rem;letter-spacing:.4em;color:#FFCF6B;margin-top:4px}
#cinSummit.on{animation:cinSum 5.2s ease-in-out forwards}
#cinSummit.on b{animation:cinSumB 5.2s cubic-bezier(.2,.8,.2,1) forwards}
@keyframes cinSum{0%{opacity:0}12%{opacity:1}85%{opacity:1}100%{opacity:0}}
@keyframes cinSumB{0%{letter-spacing:.9em;transform:scale(1.5);opacity:0}30%{letter-spacing:.22em;transform:scale(1);opacity:1}100%{letter-spacing:.3em;transform:scale(1.06)}}
.cin-push{animation:cinPush .9s ease-out}
@keyframes cinPush{0%{transform:none}30%{transform:scale(1.045) translateY(-5px)}100%{transform:none}}
.cin-kick{animation:cinKick .5s ease-out}
@keyframes cinKick{0%{transform:none}25%{transform:scale(.982)}100%{transform:none}}
html.cin-flash::after{content:"";position:fixed;inset:0;z-index:69;pointer-events:none;background:#fff;animation:cinFlash .5s ease-out forwards}
@keyframes cinFlash{from{opacity:.55}to{opacity:0}}
html.cin-warn::after{content:"";position:fixed;inset:0;z-index:69;pointer-events:none;box-shadow:inset 0 0 90px 10px rgba(255,60,60,.6);animation:cinFlash .45s ease-out forwards}
html.cin-gold body{filter:saturate(1.25) contrast(1.05) sepia(.25)}

/* ===================================================================== COMBO ARCADE */
html[data-stage="combo"]:root:not([data-z]){
  --bg:#12031F; --ink:#FFFFFF; --muted:#CDB0FF; --panel:#240A40;
  --rock:#4A2490; --rock2:#6A3BC2; --snow:#FFD23F; --flag:#FFD23F;
  --board:#1A0630; --board-edge:#FF3D81; --tile:#FFF3D6; --tile-edge:#F0C97A; --tile-ink:#2A0D44;
  --sel:#FFD23F; --good:#3FF2A5; --bad:#FF3D5A; color-scheme:dark;
}
html[data-stage="combo"]{--cmb:#9AA3C7;transition:--cmb-h .8s}
html[data-combo="0"]{--cmb-h:330}html[data-combo="1"]{--cmb-h:205}html[data-combo="2"]{--cmb-h:160}html[data-combo="3"]{--cmb-h:48}html[data-combo="4"]{--cmb-h:22}html[data-combo="5"]{--cmb-h:340}
html[data-stage="combo"] body{background:radial-gradient(120% 70% at 50% 108%,hsl(var(--cmb-h) 95% 38% / .85) 0,transparent 62%),linear-gradient(#12031F,#1B0733) fixed}
html[data-stage="combo"] .peak h1,html[data-stage="combo"] .brand,html[data-stage="combo"] .alt b,html[data-stage="combo"] .stat b,html[data-stage="combo"] .card h2,html[data-stage="combo"] .card h3{font-family:"Bungee",Figtree,sans-serif;font-weight:400}
html[data-stage="combo"] .peak h1{font-size:1.25rem}
html[data-stage="combo"] .brand{font-size:1.25rem}
html[data-stage="combo"] .alt b{font-size:1.7rem;color:#FFD23F;text-shadow:3px 3px 0 #000}
html[data-stage="combo"] .stat b{font-size:1.25rem}
html[data-stage="combo"] .tile{font-family:"Bungee",sans-serif;font-weight:400;border-radius:12px;box-shadow:inset 0 -4px 0 var(--tile-edge),0 3px 0 #000}
html[data-stage="combo"] .tile .v{font-family:Figtree,sans-serif}
html[data-stage="combo"] .tile.on{color:#2A0D44;background:#FFD23F;box-shadow:inset 0 -4px 0 #D49A00,0 0 18px #FFD23F,0 3px 0 #000}
html[data-stage="combo"] .mtn{background:linear-gradient(180deg,#2B0D55,#4A1C8E);box-shadow:inset 0 0 0 2px #000,0 4px 0 #FF3D81;border-radius:12px}
html[data-stage="combo"] .stat,html[data-stage="combo"] .word,html[data-stage="combo"] .daychip{border-radius:10px;box-shadow:inset 0 0 0 2px #000,0 3px 0 rgba(255,61,129,.7)}
html[data-stage="combo"] .boardwrap{border-radius:16px;box-shadow:0 5px 0 #000,inset 0 0 0 2px #000;transition:box-shadow .3s}
html[data-stage="combo"] button{background:#FF3D81;border-radius:10px;box-shadow:inset 0 -4px 0 #B3125A,0 3px 0 #000;font-family:"Bungee",sans-serif;font-weight:400;font-size:.85rem;letter-spacing:.03em}
html[data-stage="combo"] button.ghost,html[data-stage="combo"] button.alt2{background:#3A1470;box-shadow:inset 0 -3px 0 #230A47,0 2px 0 #000}
html[data-stage="combo"] .card{border-radius:14px;box-shadow:0 0 0 3px #000,0 6px 0 3px #FF3D81}

#cmbHud{order:1;flex-shrink:0;display:flex;align-items:center;gap:10px;height:30px;padding:0 4px;font-family:"Bungee",sans-serif;color:#fff}
#cmbHud b{font-weight:400;font-size:1.5rem;min-width:2.4ch;color:var(--cmb);text-shadow:2px 2px 0 #000;transition:color .3s}
#cmbHud.live b{animation:cmbBeat .45s ease-in-out infinite}
#cmbBar{flex:1;height:12px;border-radius:99px;background:#000;box-shadow:inset 0 0 0 2px #000,0 0 0 2px #ffffff22;overflow:hidden}
#cmbFill{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,var(--cmb),#fff 140%);box-shadow:0 0 12px var(--cmb)}
#cmbLbl{font-size:.62rem;letter-spacing:.06em;color:var(--muted);min-width:8.5ch;text-align:right}
@keyframes cmbBeat{50%{transform:scale(1.18)}}
#cmbPop{position:fixed;left:50%;top:28%;z-index:72;pointer-events:none;font-family:"Bungee",sans-serif;font-size:min(10vw,46px);color:var(--c,#fff);text-shadow:3px 3px 0 #000,-2px -2px 0 #000,2px -2px 0 #000,-2px 2px 0 #000;white-space:nowrap;opacity:0;transform:translateX(-50%)}
#cmbPop.big{font-size:min(14vw,66px)}
#cmbPop.go{animation:cmbPop 1s cubic-bezier(.2,1.4,.4,1) forwards}
@keyframes cmbPop{0%{opacity:0;transform:translateX(-50%) scale(.3) rotate(-10deg)}18%{opacity:1;transform:translateX(-50%) scale(1.3) rotate(4deg)}35%{transform:translateX(-50%) scale(1) rotate(-2deg)}75%{opacity:1}100%{opacity:0;transform:translateX(-50%) translateY(-40px) scale(1.05)}}
.cmb-ring{position:fixed;width:40px;height:40px;margin:-20px 0 0 -20px;border-radius:50%;border:5px solid var(--c);z-index:60;pointer-events:none;box-shadow:0 0 18px var(--c);animation:cmbRing .75s ease-out forwards}
@keyframes cmbRing{from{transform:scale(.5);opacity:1}to{transform:scale(11);opacity:0}}
#cmbFlame{position:fixed;left:0;right:0;bottom:0;height:42vh;z-index:0;pointer-events:none;opacity:0;transition:opacity .6s;background:radial-gradient(60% 100% at 20% 100%,#ff3d00cc,transparent 70%),radial-gradient(55% 90% at 78% 100%,#ffb300cc,transparent 70%),radial-gradient(40% 80% at 50% 100%,#ff3d81cc,transparent 70%);mix-blend-mode:screen}
html[data-combo="5"] #cmbFlame{opacity:1;animation:cmbFlame .35s ease-in-out infinite alternate}
html[data-combo="4"] #cmbFlame{opacity:.55;animation:cmbFlame .5s ease-in-out infinite alternate}
@keyframes cmbFlame{from{transform:scaleY(.92) translateY(2%)}to{transform:scaleY(1.08) translateY(-2%)}}
html[data-stage="combo"] .app{position:relative;z-index:1}
/* escalating board effects */
html[data-combo="1"] .boardwrap{box-shadow:0 5px 0 #000,0 0 14px #46b6ff,inset 0 0 0 2px #000}
html[data-combo="2"] .boardwrap{box-shadow:0 5px 0 #000,0 0 22px #3ff2a5,inset 0 0 0 2px #000}
html[data-combo="3"] .boardwrap,html[data-combo="4"] .boardwrap,html[data-combo="5"] .boardwrap{background:linear-gradient(90deg,#ff3d81,#ffd23f,#3ff2a5,#46b6ff,#ff3d81) 0 0/300% 100%;animation:cmbRail 2.2s linear infinite;box-shadow:0 5px 0 #000,0 0 28px var(--cmb),inset 0 0 0 2px #000}
html[data-combo="5"] .boardwrap{animation-duration:.9s}
@keyframes cmbRail{to{background-position:300% 0}}
html[data-combo="4"] .tile,html[data-combo="5"] .tile{animation:cmbTile .6s ease-in-out infinite alternate}
@keyframes cmbTile{to{scale:1.035}}
html[data-combo="5"] .mtn{animation:cmbRail 1.2s linear infinite;background:linear-gradient(90deg,#4A1C8E,#7A2FD0,#4A1C8E) 0 0/200% 100%}
@media (prefers-reduced-motion:reduce){html[data-combo] .boardwrap,html[data-combo] .tile,html[data-combo] .mtn,#cmbHud b,#cmbFlame,#cinGrain{animation:none!important}}

/* Cinematic: the first-person walk replaces the side-on mountain. The panel is one big picture with the numbers on top. */
html[data-stage="cinematic"] .mtn.walk{padding-top:0;background:#0b0d12;border-radius:4px}
html[data-stage="cinematic"] .mtn.walk .mtnart{height:min(235px,29svh)}
html[data-stage="cinematic"] .mtn.walk .alt{top:10px;text-shadow:0 2px 12px rgba(0,0,0,.8)}
html[data-stage="cinematic"] .mtn.walk .alt b,html[data-stage="cinematic"] .mtn.walk .alt span{color:#fff}
html[data-stage="cinematic"] .mtn.walk .gainlayer .gain{text-shadow:0 2px 10px #000,0 0 4px #000}
html[data-stage="cinematic"] .mtn.walk .altline{top:auto!important;bottom:6px;border-top:0!important}
html[data-stage="cinematic"] .mtn.walk .altline span{background:rgba(0,0,0,.6);color:#FFCF6B;border-radius:3px;transform:none;top:auto;bottom:0;letter-spacing:.1em}
#cinWord .wb{display:inline-block;max-width:94vw;padding:10px 20px 12px;border-radius:18px;background:rgba(8,12,20,.5);border:2px solid rgba(255,255,255,.35);box-shadow:0 6px 28px rgba(0,0,0,.35)}

/* performance tiers (set by walk.js on slower devices) */
html[data-perf] #cinGrain{animation:none}
html[data-perf="2"] #cinGrain,html[data-perf="3"] #cinGrain{display:none}
html[data-perf="2"].cin-gold body,html[data-perf="3"].cin-gold body{filter:none}

/* ---- summit sequence: the game's panels step aside while the camera turns, then four key stats appear one by one ---- */
html[data-stage="cinematic"] .app>.boardarea,html[data-stage="cinematic"] .app>.word,html[data-stage="cinematic"] .app>.endpanel,html[data-stage="cinematic"] .app>.stats,html[data-stage="cinematic"] #cpCard{transition:opacity .8s ease}
html.sumseq .app>.boardarea,html.sumseq .app>.word,html.sumseq .app>.endpanel,html.sumseq .app>.stats,html.sumseq #cpCard,html.sumseq .app>header.top,html.sumseq #hud2,html.sumseq #hudBar,html.sumseq .mtn .alt,html.sumseq .mtn .altline,html.sumseq .app>.meta{opacity:0!important;pointer-events:none!important}
html[data-stage="cinematic"] .app>header.top,html[data-stage="cinematic"] #hud2,html[data-stage="cinematic"] #hudBar{transition:opacity .6s ease}
#cinStats{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 8vh + 14px);transform:translateX(-50%);width:min(92vw,440px);z-index:72;pointer-events:none;opacity:0;text-align:center;transition:opacity .6s}
#cinStats.on{opacity:1}
#cinStats .stHead{font:700 .9rem system-ui,sans-serif;letter-spacing:.35em;color:#FFCF6B;text-shadow:0 2px 12px #000;margin-bottom:10px}
#cinStats .stHead small{display:block;font-size:.68rem;letter-spacing:.3em;color:#F4EAD7;margin-top:3px;opacity:.85}
#cinStats .stGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#cinStats .stTile{opacity:0;transform:translateY(14px) scale(.96);background:rgba(10,14,24,.55);border:1px solid rgba(255,207,107,.45);border-radius:14px;padding:10px 8px 9px;animation:stIn .7s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(var(--i)*1s)}
#cinStats .stTile i{display:block;font:600 .64rem system-ui,sans-serif;letter-spacing:.28em;color:#FFCF6B;font-style:normal}
#cinStats .stTile b{display:block;font:700 1.85rem/1.1 "Zilla Slab",Georgia,serif;color:#fff;margin-top:2px;text-shadow:0 2px 10px rgba(0,0,0,.7);word-break:break-word}
#cinStats .stTile em{display:block;font-style:normal;font-size:.8rem;color:#F4EAD7;opacity:.88;margin-top:1px}
#cinStats .stGo{pointer-events:auto;margin-top:14px;opacity:0;padding:12px 36px;border-radius:999px;border:1px solid rgba(255,207,107,.7);background:rgba(120,70,20,.78);color:#fff;font:700 1rem system-ui,sans-serif;letter-spacing:.08em;animation:stIn .7s ease forwards;animation-delay:calc(var(--i)*1s + .4s)}
@keyframes stIn{to{opacity:1;transform:none}}

/* v123: the summit result panel waits for the cinematic, then fades in */
html.sumhold .app>.endpanel{opacity:0!important;pointer-events:none!important;visibility:hidden}
html.sumrel .app>.endpanel{animation:sumRel .7s ease both}
@keyframes sumRel{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
