/* Cable Car Climb. Alpine poster look: paper, ink, vermilion, ochre, teal. */
.cc-root{position:relative;margin:0 auto;width:100%;max-width:420px;min-height:460px;background:#f2e8d2;border:3px solid #25293f;border-radius:14px;box-shadow:4px 4px 0 #25293f;overflow:hidden;
  -webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
.cc-canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}
.cc-ico{position:absolute;top:2px;right:2px;width:46px;height:46px;border:0;background:transparent;color:#25293f;display:flex;align-items:center;justify-content:center;cursor:pointer;touch-action:manipulation}
.cc-ico svg{fill:#25293f;background:#fbf4e1;border:2px solid #25293f;border-radius:10px;padding:5px;width:36px;height:36px;box-sizing:border-box}
.cc-ico[hidden]{display:none}
.cc-ico{z-index:3}
.cc-ico .wave,.cc-ico .cross{fill:none}
.cc-mute{right:48px}
#cc-pause{right:2px}
.cc-mute .cross{display:none}
.cc-mute.off .wave{display:none}
.cc-mute.off .cross{display:block;stroke:#d9452b}
.cc-ico:focus-visible,.cc-btn:focus-visible,.cc-stage:focus-visible{outline:3px solid #d9452b;outline-offset:2px}
.cc-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:12px;background:rgba(37,41,63,.42);overflow-y:auto;-webkit-overflow-scrolling:touch}
.cc-overlay[hidden]{display:none}
.cc-card{width:100%;max-width:340px;margin:auto;background:#fbf4e1;border:3px solid #25293f;border-radius:16px;box-shadow:4px 4px 0 #25293f;padding:16px;text-align:center;animation:ccIn .22s ease-out}
.cc-card.win{background:#f9efc9}
.cc-card.lose{background:#f6dcd0}
.cc-h{font-size:1.5rem;font-weight:900;letter-spacing:.02em;text-transform:uppercase;color:#25293f;line-height:1.1}
.cc-logo{font-size:2rem;font-weight:900;line-height:1;color:#d9452b;text-transform:uppercase;letter-spacing:.01em;text-shadow:2px 2px 0 #25293f;margin-bottom:6px}
.cc-kicker{font-size:.7rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#3f8f8c}
.cc-sub{font-size:.88rem;line-height:1.4;color:#4a4458;margin:6px 0 12px}
.cc-meta{font-size:.78rem;color:#4a4458;margin-top:10px;font-weight:600;white-space:pre-wrap}
.cc-note{font-size:.82rem;line-height:1.35;color:#4a4458;margin:8px 0}
.cc-badge{display:inline-block;margin:6px 0;padding:4px 10px;border:2px solid #25293f;border-radius:99px;background:#e7a33b;font-weight:800;font-size:.78rem}
.cc-big{font-size:2.6rem;font-weight:900;line-height:1;margin:6px 0}
.cc-weather{font-size:1.3rem;font-weight:900;color:#3f8f8c;margin-top:6px}
.cc-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin-top:8px;padding:8px 12px;font:800 1rem system-ui,-apple-system,"Segoe UI",sans-serif;color:#25293f;background:#fbf4e1;border:3px solid #25293f;border-radius:12px;box-shadow:0 3px 0 #25293f;cursor:pointer;touch-action:manipulation}
.cc-btn:active{transform:translateY(2px);box-shadow:0 1px 0 #25293f}
.cc-primary{background:#d9452b;color:#fbf4e1;font-size:1.1rem;min-height:54px}
.cc-ghost{background:transparent;box-shadow:none;border-style:dashed}
.cc-row{display:flex;gap:8px}
.cc-row .cc-btn{flex:1}
.cc-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 8px}
.cc-stage{display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;gap:0 6px;align-items:center;text-align:left;min-height:56px;padding:6px 8px;background:#fbf4e1;border:3px solid #25293f;border-radius:12px;font:inherit;color:#25293f;cursor:pointer;touch-action:manipulation}
.cc-stage b{grid-row:1/3;font-size:1.3rem;font-weight:900;color:#d9452b;text-align:center}
.cc-stage span{font-size:.78rem;font-weight:800;line-height:1.1}
.cc-stage em{font-style:normal;font-size:.68rem;color:#5a5368}
.cc-stage.wide{grid-template-columns:28px 1fr auto;width:100%;margin-bottom:4px}
.cc-stage.wide em{grid-row:1/3;grid-column:3}
.cc-stage.locked{opacity:.5;cursor:default;background:#e6dcc3}
.cc-stars{display:inline-flex;gap:3px;vertical-align:middle}
.cc-stars i{width:16px;height:16px;background:#cfc4a8;clip-path:polygon(50% 0,62% 36%,100% 38%,70% 60%,80% 100%,50% 76%,20% 100%,30% 60%,0 38%,38% 36%)}
.cc-stars i.on{background:#e7a33b}
.cc-card>.cc-stars{display:flex;justify-content:center;gap:8px;margin:6px 0}
.cc-card>.cc-stars i{width:34px;height:34px}
.cc-stats{list-style:none;margin:10px 0 4px;border-top:2px solid #25293f}
.cc-stats li{display:flex;justify-content:space-between;padding:6px 2px;border-bottom:1px dashed #25293f66;font-size:.88rem}
.cc-up{display:flex;align-items:center;gap:8px;text-align:left;padding:8px 0;border-bottom:1px dashed #25293f66}
.cc-up-t{flex:1;min-width:0}
.cc-up-t b{display:block;font-size:.95rem}
.cc-up-t span{display:block;font-size:.75rem;color:#4a4458}
.cc-pips{display:flex;gap:3px;margin-top:4px}
.cc-pips i{width:14px;height:8px;border:2px solid #25293f;border-radius:2px;background:transparent}
.cc-pips i.on{background:#3f8f8c}
.cc-buy{width:64px;min-height:48px;margin:0;background:#e7a33b}
.cc-buy.off{background:#e6dcc3;opacity:.7}
.cc-buy:disabled{opacity:.5;cursor:default}
.cc-how{margin-top:16px;font-size:.88rem;line-height:1.5;color:#3a3548}
.cc-how h2{font-size:1rem;margin-bottom:6px}
.cc-how p{margin-bottom:8px}
.cc-nojs{padding:20px;text-align:center}
@keyframes ccIn{from{transform:translateY(10px) scale(.97);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.cc-card{animation:none}.cc-btn:active{transform:none}}
@media (max-width:360px){.cc-logo{font-size:1.65rem}.cc-card{padding:12px}}
.cc-hook{margin:8px 0 2px;font-size:.8rem;color:#4a4458;text-align:center}
.cc-hook.fresh{color:#25293f;font-weight:700}
.cc-rec{grid-column:1/-1;font-size:.66rem;color:#5a5368}
.cc-goals{list-style:none;margin:8px 0 2px;text-align:left;font-size:.84rem}
.cc-goals li{padding:3px 0 3px 2px;color:#5a5368}
.cc-goals li.ok{color:#25293f;font-weight:700}
.cc-stars i.on{animation:ccPop .5s ease-out both}
.cc-stars i.on:nth-child(2){animation-delay:.12s}.cc-stars i.on:nth-child(3){animation-delay:.24s}
@keyframes ccPop{0%{transform:scale(.2)}70%{transform:scale(1.25)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.cc-stars i.on{animation:none}}
/* full screen: the board fills the stage, extras hidden */
html.pip-immersive .cc-how,html.pip-native .cc-how,.game-wrap:fullscreen .cc-how{display:none}
html.pip-immersive .game-wrap.pip-stage,html.pip-native .game-wrap.pip-stage,.game-wrap:fullscreen{display:flex;align-items:center;justify-content:center;padding:0;max-width:none;overflow:hidden}
html.pip-immersive .cc-root,html.pip-native .cc-root,.game-wrap:fullscreen .cc-root{max-width:none;min-height:0;border:0;border-radius:0;box-shadow:none;flex:none}
html.pip-immersive .cc-overlay,html.pip-native .cc-overlay{padding-bottom:max(12px,env(safe-area-inset-bottom))}
