.cc-shell{margin:12px 0 20px;scroll-margin-top:8px;--cc-ink:#fff4df;--cc-muted:#d3c7b5;--cc-gold:#f5cd86}
.cc-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.cc-intro h1{font:600 clamp(1.6rem,4vw,2.1rem)/1.1 Georgia,serif;letter-spacing:-.03em;margin:0 0 4px}.cc-intro p{font-size:.85rem;line-height:1.35;margin:0}.cc-intro>a{flex-shrink:0}.cc-eyebrow{font:700 .68rem/1.5 system-ui;letter-spacing:.18em}.cc-small{font-size:.8rem;line-height:1.5}.cc-stage{position:relative;isolation:isolate;overflow:hidden;color:var(--cc-ink);background:radial-gradient(ellipse at 50% 0,#624546 0,#201c29 58%,#121724 100%);border:1px solid #8a7160;border-radius:18px;padding:12px;box-shadow:0 28px 65px #11142630;min-height:0}.cc-scene{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.9}.cc-scene canvas{width:100%;height:100%;display:block}.cc-topline{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:.8rem}.cc-topline #ccSeal{color:var(--cc-gold);white-space:nowrap;letter-spacing:.2em}.cc-switches{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;margin:0}.cc-stage button,.cc-stage select{font:600 .84rem/1.4 system-ui;border:1px solid #c0ab8e;background:#272736;color:#fff4df;border-radius:10px;padding:8px 12px;min-height:44px}.cc-stage button:focus-visible,.cc-stage a:focus-visible,.cc-stage select:focus-visible{outline:3px solid #89e2e1;outline-offset:4px}.cc-stage button:disabled{opacity:.5;cursor:default}.cc-stage button[aria-pressed=true]{background:#f5cd86;color:#28202b}.cc-switches button{padding:6px 9px;font-size:.72rem;min-height:44px}.cc-panel{margin:0 auto;padding:12px;background:#171925eb;border:1px solid #f5cd8625;border-radius:18px}.cc-panel h2,.cc-panel h3{font:500 1.2rem/1.25 Georgia,serif;margin:0 0 8px}.cc-panel p{line-height:1.4;margin-bottom:8px}.cc-panel label{display:block;font-size:.8rem;margin:0 0 4px}.cc-panel select{display:block;width:100%;margin-bottom:0}.cc-stage .cc-primary{background:#f5cd86;color:#28202b;border-color:#ffdfaa;box-shadow:0 4px 0 #947240}.cc-steps{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0;padding:6px 0;text-align:center}.cc-steps li{font-size:.74rem;line-height:1.35;color:var(--cc-muted)}.cc-steps svg{display:block;width:52px;height:40px;margin:0 auto 6px;fill:none;stroke-linecap:round;stroke-linejoin:round}.cc-steps-frame{stroke:var(--cc-gold);stroke-width:2;fill:#080c14}.cc-steps-drape{fill:#8a3550;stroke:#cda86b;stroke-width:1}.cc-steps-fold{stroke:#5b1f33;stroke-width:1.5}.cc-steps-line{stroke:#fff4df;stroke-width:3}.cc-steps-check{stroke:#9bd9cf;stroke-width:4}.cc-screen::before{content:"";position:absolute;top:0;left:0;right:0;height:9px;z-index:3;background:linear-gradient(#e2c189,#8a6a3a);box-shadow:0 2px 6px #0009}.cc-drape{position:absolute;inset:0;z-index:2;pointer-events:none;display:flex;transition:transform .85s cubic-bezier(.65,0,.3,1)}.cc-drape span{flex:1;background:repeating-linear-gradient(90deg,#4a1729 0,#7d2f49 7px,#a8506a 11px,#7d2f49 15px,#4a1729 22px);box-shadow:inset 0 -26px 30px #0008;transition:transform .8s cubic-bezier(.65,0,.3,1)}.cc-drape span:first-child{transform:translateX(-101%);border-right:2px solid #cda86b}.cc-drape span:last-child{transform:translateX(101%);border-left:2px solid #cda86b}.cc-screen.cc-shut .cc-drape span{transform:none}.cc-screen.cc-lift .cc-drape{transform:translateY(-103%)}.cc-screen.cc-instant .cc-drape,.cc-screen.cc-instant .cc-drape span{transition:none}.cc-caption{position:absolute;left:0;right:0;bottom:0;z-index:1;margin:0;padding:12px 14px;background:linear-gradient(transparent,#000d 30%);color:#fff;text-align:center}.cc-caption span{display:block}#ccCaptionLine{font-size:1.6rem;letter-spacing:.06em}#ccCaptionReading{font-size:.85rem;color:#f5cd86}.cc-screen{height:210px;background:#080c14;border:1px solid #6e5d54;box-shadow:0 10px 28px #0008;border-radius:10px;overflow:hidden;position:relative}.cc-screen img,.cc-screen video{height:100%;width:100%;object-fit:contain}.cc-screen img{opacity:.65}.cc-screen #ccPlayer{position:absolute;inset:0}.cc-disclosure{color:var(--cc-muted);margin:6px 0}.cc-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:6px 0}.cc-stage a{color:#b3e8ec;text-decoration:underline;text-underline-offset:3px}.cc-tiles{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0;min-height:44px}.cc-stage .cc-tile{font-size:1.2rem;font-weight:500;min-width:44px;padding:6px 10px;background:#f6eedf;color:#211f2c;border-bottom:4px solid #b39f83}.cc-build{min-height:54px;background:#070c1680;border:1px dashed #9b8b74;border-radius:10px;padding:5px}.cc-build:empty:before{content:'Your line goes here…';color:#c6bcae;font-size:.8rem;padding:8px}.cc-answer{margin-top:0;padding:10px;background:#243c3e;border:1px solid #8ac3ad;border-radius:12px}.cc-answer #ccLine{font-size:1.5rem;color:#fff}.cc-answer #ccNext{display:block;margin-top:8px}.cc-stage .cc-finish{border:0;background:transparent;text-decoration:underline;font-weight:400;padding:6px 0}.cc-status{max-width:680px;margin:6px auto 0;min-height:0;font-size:.85rem}.cc-footnote{font-size:.78rem;line-height:1.6;color:var(--bs-secondary-color);margin-top:8px}.cc-onward{display:block;margin:10px 0}.cc-review-line{padding:8px 0;border-bottom:1px solid #f5cd8633}.cc-review-line p{margin:3px 0}.cc-stage [hidden]{display:none!important}.cc-particle{position:absolute;pointer-events:none;border-radius:2px;width:7px;height:11px;background:#f5cd86;z-index:5;animation:cc-fall 950ms ease-out forwards}.cc-float{position:absolute;pointer-events:none;color:#f5cd86;font-weight:700;animation:cc-rise 950ms ease-out forwards;z-index:5}.cc-shake{animation:cc-shake 250ms ease}.cc-celebrate{animation:cc-glow 600ms ease}
@keyframes cc-fall{to{transform:translate(var(--dx),140px) rotate(220deg);opacity:0}}@keyframes cc-rise{to{transform:translateY(-60px);opacity:0}}@keyframes cc-shake{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}@keyframes cc-glow{50%{box-shadow:0 0 35px #f5cd8680}}
@media(hover:hover){.cc-stage button:not(:disabled):hover{filter:brightness(1.15)}}@media(max-width:500px){.cc-stage{padding:8px;border-radius:14px}.cc-screen{height:180px}.cc-panel{padding:10px}.cc-actions{gap:8px}.cc-actions button{padding:6px 10px}.cc-stage .cc-tile{font-size:1.15rem}.cc-intro p{font-size:.9rem}}
.cc-motion-off *{animation:none!important;transition:none!important}.cc-motion-off .cc-scene{display:none}
@media(prefers-reduced-motion:reduce){.cc-stage *{animation:none!important;transition:none!important}.cc-scene{display:none}}
.cc-screen{transition:height .5s ease}@media(max-width:500px){.cc-screen.cc-shut:not(.cc-lift){height:40px}}
.cc-hearts{color:#db9ba3;letter-spacing:.15em;font-size:.95rem}.cc-hearts .cc-lost{color:#ffffff40}.cc-final{text-align:center;border:1px solid #f5cd8666;background:#f5cd8612;border-radius:14px;padding:10px;margin:6px 0 10px}.cc-final-score{font:600 clamp(2.4rem,9vw,3.4rem)/1 Georgia,serif;color:var(--cc-gold);margin:4px 0 6px}.cc-final-actions{justify-content:center}.cc-board{max-width:680px;margin:12px auto 0}.cc-heart-break{animation:cc-shake 300ms ease}

/* Keep the current clip and its controls together; the leaderboard follows the game. */
.cc-ad-break{margin-top:150px}
.cc-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;margin-bottom:8px}
.cc-topline{flex:1;min-width:0}
.cc-topline #ccProgress{overflow-wrap:anywhere}
.cc-switches{justify-content:flex-start}
#ccSetup{max-width:780px}
.cc-setup-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}
.cc-setup-controls select{min-width:0;max-width:100%}
.cc-help{margin-top:10px;font-size:.8rem}
.cc-help summary{min-height:36px;display:list-item;align-content:center;cursor:pointer;color:var(--cc-gold)}
.cc-help p{margin-top:6px}
#ccHistory{margin:4px 0 0;color:var(--cc-muted)}
.cc-play-panel{display:grid;gap:0 16px}
.cc-clip-heading{grid-column:1/-1;min-width:0}
.cc-clip-heading #ccStep{margin:0 0 3px}
.cc-clip-heading #ccTitle{font:500 1.1rem/1.25 Georgia,serif;overflow-wrap:anywhere}
.cc-watch-pane,.cc-response-pane{min-width:0}
.cc-disclosure{font-size:.69rem;line-height:1.3!important}
.cc-tile-help{font-size:.7rem;line-height:1.3!important;margin:4px 0!important}
.cc-answer p{margin-bottom:6px}
.cc-status:empty{display:none}
.cc-status{max-width:none;font-size:.76rem;line-height:1.35}
.cc-footnote{font-size:.74rem;line-height:1.4}
.cc-board:empty{display:none}
.cc-shell[data-phase=watch] .cc-response-pane{text-align:right}
.cc-shell[data-phase=build] .cc-watch-pane:has(.cc-shut:not(.cc-lift)) .cc-disclosure{display:none}
.cc-shell[data-phase=build] .cc-screen.cc-shut:not(.cc-lift){height:40px}
.cc-shell[data-phase=reveal] .cc-screen{height:110px}
.cc-shell[data-phase=reveal] #ccCaptionLine{font-size:1.15rem}
.cc-shell[data-phase=reveal] #ccCaptionReading{font-size:.75rem}
@media(min-width:768px){
    .cc-shell[data-phase=build] .cc-play-panel,.cc-shell[data-phase=reveal] .cc-play-panel{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
    .cc-shell[data-phase=build] .cc-screen.cc-shut:not(.cc-lift),.cc-shell[data-phase=reveal] .cc-screen{height:190px}
    .cc-shell[data-phase=watch] .cc-watch-pane{width:min(100%,680px);margin:0 auto}
}
@media(max-width:767px){
    .cc-toolbar{gap:4px}
    .cc-topline{flex-basis:100%;font-size:.73rem}
    .cc-switches{width:100%;gap:5px}
    .cc-switches button{flex:1;padding:5px;font-size:.7rem}
    .cc-setup-controls{grid-template-columns:1fr;gap:8px}
    .cc-play-panel{gap:0}
    .cc-shell[data-phase=build] .cc-watch-pane>.cc-actions{display:grid;grid-template-columns:1fr 1fr}
    #ccPuzzle>.cc-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
    #ccPuzzle>.cc-actions button{min-width:0;font-size:.76rem;padding:6px}
    .cc-stage .cc-tile{padding:5px 7px;font-size:1.1rem}
    .cc-stage .cc-finish{font-size:.73rem;min-height:36px}
    .cc-clip-heading #ccTitle{font-size:1rem}
    .cc-answer #ccLine{font-size:1.35rem}
    .cc-intro p{font-size:.78rem}
}
@media(max-height:700px) and (min-width:768px){
    .cc-screen{height:170px}
    .cc-shell[data-phase=build] .cc-screen.cc-shut:not(.cc-lift),.cc-shell[data-phase=reveal] .cc-screen{height:150px}
}
@media(max-height:650px) and (max-width:767px){
    .cc-shell[data-phase=reveal] .cc-screen{height:72px}
    .cc-shell[data-phase=reveal] .cc-caption{display:none}
}
