/* OPEN HOUSE (BF2026): the sticker book. Loaded after page/play.css; skin.js
   moves it. Marketing's own art, cut from the Announce slides and the
   Festive Content gems (README.md).

   The page is paper, and everything on it is a cut-out: nothing eases,
   things land in a few drawings (steps()), and what is drawn in more than
   one pose is shown pose after pose. No scene simply replaces the last:
   the paper grows, the sky comes down, the grass comes up, a card slides
   or tumbles. With reduced motion every piece simply sits in its last
   place.

   WHERE THE WALK IS, in data-oh on the stage (skin.js sets it):
     wait      who is playing: the cooler shut, under the title
     shut      the cooler on the grass, waiting for a tap
     opening   it opens, the stickers rise out of it, yellow paint takes the sky
     out       three stickers to pick from
     won       the cloth, the prize on its card
     still     the claim: the sticker that was picked, on the cloth */
:root{--bg:#F1E391;--ink:#1B1814;--paper:#FFFCF2;--soft:#5E574C;--line:#1B1814;--ease:steps(4,end);
  --oh-red:#E32B1F;--oh-blue:#1C4FA8;--oh-pink:#F3A7C5;--oh-sun:#F4C20D;--oh-white:#FFFFFF}

.pl-stage{background:var(--bg)}
.pl-col{z-index:1}
.oh-set,.oh-behind,.oh-front{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none}
.oh-front{z-index:2}
.pl-stage[data-oh="wait"] .oh-front{z-index:0}
.oh-set img{position:absolute;left:0;width:100%;object-fit:cover;display:none;user-select:none;-webkit-user-select:none}
.oh-sky,.oh-paint,.oh-cloth{top:0;height:100%}
.oh-grass{bottom:0;height:41%;object-position:50% 0}
.pl-stage[data-oh="shut"] .oh-sky,.pl-stage[data-oh="shut"] .oh-grass,
.pl-stage[data-oh="opening"] .oh-sky,.pl-stage[data-oh="opening"] .oh-grass,
.pl-stage[data-oh="opening"] .oh-paint.on{display:block}
.oh-set .oh-cloth.on,.pl-stage[data-oh="won"] .oh-cloth,.pl-stage[data-oh="still"] .oh-cloth{display:block}
/* the cooler's scene is set, not switched on: the sky comes down the page as the grass comes up it
   (one rule for both of its phases, so opening the cooler does not set it again) */
.pl-stage[data-oh="shut"] .oh-sky,.pl-stage[data-oh="opening"] .oh-sky{animation:oh-down .4s steps(5,end) both}
.pl-stage[data-oh="shut"] .oh-grass,.pl-stage[data-oh="opening"] .oh-grass{animation:oh-rise .4s steps(5,end) both}
@keyframes oh-down{0%{clip-path:inset(0 0 100% 0)}100%{clip-path:inset(0)}}
@keyframes oh-rise{0%{translate:0 100%}100%{translate:0 0}}

/* ---------------------------------------------------- words and the title --- */
.oh-eye,.pl-say,.pl-ask,.pl-prize small,.pl-also small,.oh-hint,.oh-tag{font:700 12px/1.3 var(--font);letter-spacing:.26em;text-transform:uppercase;color:var(--ink)}
.pl-say{margin-top:12px}
/* no JUCE mark on this page, nor in the moment before play.js builds it (it flashed top left) */
.pl-top .pl-mark,.pl-stage>.pl-mark{display:none}
/* where a store's game is played: a paper label over the title (skin.js moves it there).
   The claim says the place in words, so the label steps out once a prize is found. */
.pl-where{display:flex;width:-moz-fit-content;width:fit-content;align-items:center;gap:6px;margin:0 auto -14px;padding:6px 13px 5px;background:var(--oh-white);font:700 11px/1.3 var(--font);letter-spacing:.2em;text-transform:uppercase;color:var(--ink);rotate:-2deg;clip-path:polygon(1% 8%,49% 0,99% 6%,100% 54%,98% 96%,52% 100%,2% 94%,0 46%)}
.pl-stage[data-oh="won"] .pl-where,.pl-stage[data-oh="still"] .pl-where,.pl-stage[data-scene="counter"] .pl-where{display:none}
.pl-top{margin:-4px -6px 0}
.pl-stage[data-oh="wait"] .pl-title img{max-height:min(22vh,var(--oh-tmax,22vh))}
.pl-stage.oh-tight[data-oh="wait"] .pl-say{display:none}
.pl-say.is-note{font:500 16px/1.5 var(--font);letter-spacing:0;text-transform:none}
/* the sticker picked comes up over the line: the line steps out of its way */
.pl-stage.oh-took[data-oh="out"] .pl-say{visibility:hidden}
.pl-title{display:grid;justify-items:center;margin-top:26px}
.pl-title img{grid-area:1/1;max-height:22vh;margin:0;user-select:none;-webkit-user-select:none}
.pl-stage[data-scene="pick"] .pl-title img,.pl-stage[data-scene="reveal"] .pl-title img,.pl-stage[data-scene="claim"] .pl-title img{max-height:15vh}
.pl-stage[data-oh="won"] .pl-title{display:none}

/* --------------------------------------------------------------- the opening --- */
.oh-intro{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;overflow:hidden;background:#FBF9FB;cursor:pointer}
/* the yellow paper grows from under the mark, a torn shape, in five drawings */
.oh-intro::before{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:var(--bg) var(--oh-bg) center/cover;visibility:hidden}
.oh-intro.paper::before{visibility:visible;animation:oh-paper .4s steps(5,end) both}
@keyframes oh-paper{0%{clip-path:polygon(50% 46%,50% 46%,50% 46%,50% 46%,50% 46%,50% 46%,50% 46%,50% 46%,50% 46%,50% 46%,50% 46%,50% 46%)}100%{clip-path:polygon(179% 6%,166% 72%,157% 145%,87% 166%,17% 191%,-33% 135%,-84% 87%,-63% 20%,-56% -52%,12% -77%,81% -88%,133% -43%)}}
.oh-mid{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding-bottom:8vh}
.oh-words{width:min(78vw,64vh,700px);display:grid;justify-items:center;transform-origin:50% 50%}
.oh-words img{grid-area:2/1;display:block;width:100%;height:auto;visibility:hidden}
.oh-words img.on{visibility:visible}
.oh-words .oh-eye{grid-row:1;margin:0 0 4px;visibility:hidden;font-size:clamp(11px,1.6vh,15px)}
.oh-words .oh-eye+img~.oh-eye{grid-row:3;margin:10px 0 0}
.oh-words .oh-eye.on{visibility:visible}
.oh-gem{position:absolute;left:0;top:0;width:24px;height:24px;margin:-12px 0 0 -12px;background:var(--oh-gems) 0 0/600% 400% no-repeat;pointer-events:none;will-change:transform}

/* ------------------------------------------------------------- the cooler --- */
/* One box in two layers (skin.js): .oh-behind holds the paint round it and
   the whole of it open, .oh-front holds it shut and, once open, only what
   is nearer than its opening. --cw is the drawing's width; its body is .677
   of that, in the middle, and starts .229 of it down. */
.oh-box{--cw:min(98vw,62vh,650px);position:absolute;left:50%;top:calc(57% - var(--cw)*.6);width:var(--cw);margin-left:calc(var(--cw)/-2);display:none}
.pl-stage[data-oh="wait"] .oh-box,.pl-stage[data-oh="shut"] .oh-box,.pl-stage[data-oh="opening"] .oh-box,.pl-stage[data-oh="out"] .oh-box{display:block}
.pl-stage[data-oh="wait"] .oh-box{--cw:var(--oh-cw,min(68vw,38vh,440px));left:var(--oh-x,50%);top:var(--oh-top,40%)}
.oh-box.small{--cw:min(44vw,22vh,250px);top:auto;bottom:max(2vh,env(safe-area-inset-bottom,0px))}
/* while somebody signs up it comes up from behind their card, a moment after the card */
.pl-stage[data-oh="wait"] .oh-box{animation:oh-peek .4s steps(5,end) .5s both}
@keyframes oh-peek{0%{translate:0 62%;opacity:0}1%{translate:0 62%;opacity:1}100%{translate:0 0;opacity:1}}
.oh-cooler{all:unset;box-sizing:border-box;display:block;position:relative;width:100%;line-height:0;cursor:pointer;pointer-events:none;-webkit-tap-highlight-color:transparent}
.pl-stage[data-oh="shut"] .oh-cooler{pointer-events:auto}
.oh-cooler:focus-visible{outline:3px solid var(--ink);outline-offset:-6px;border-radius:18px}
.oh-box img{display:block;width:100%;height:auto;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.oh-near{position:absolute;left:0;top:0}
.oh-near,.oh-open{visibility:hidden}
.pl-stage.oh-up .oh-near,.pl-stage.oh-up .oh-open{visibility:visible}
.pl-stage.oh-up .oh-shut{visibility:hidden}
.pl-stage[data-oh="shut"] .oh-cooler{animation:oh-nudge 1.8s steps(1) infinite}
@keyframes oh-nudge{0%,100%{transform:none}70%{transform:rotate(-2deg) translateY(-1.5%)}80%{transform:rotate(1.6deg)}90%{transform:rotate(-1deg) translateY(-.8%)}}
/* the yellow paint round its body */
.oh-around{position:absolute;left:16.15%;top:23.6%;width:67.7%;height:0;padding-top:74.35%}
.oh-blob{position:absolute;width:46%;aspect-ratio:282/300;background:var(--oh-blob) center/contain no-repeat;display:none}
.pl-stage[data-oh="shut"] .oh-blob,.pl-stage[data-oh="opening"] .oh-blob{display:block;animation:oh-pop .48s steps(3,end) both}
.oh-blob:nth-child(1){left:-27%;top:-14%;transform:rotate(-20deg)}
.oh-blob:nth-child(2){right:-25%;top:-4%;width:38%;transform:rotate(140deg);animation-delay:.16s!important}
.oh-blob:nth-child(3){left:-22%;bottom:-6%;width:34%;transform:rotate(70deg);animation-delay:.32s!important}
.oh-blob:nth-child(4){right:-28%;bottom:8%;width:42%;transform:rotate(-95deg);animation-delay:.48s!important}
@keyframes oh-pop{0%{scale:0}34%{scale:1.18}67%{scale:.93}100%{scale:1}}
.oh-hint{position:absolute;left:50%;top:calc(100% + 14px);margin:0;white-space:nowrap;padding:9px 14px 8px;border-radius:999px;background:var(--oh-white);translate:-50% 0;rotate:-2deg;display:none}
.pl-stage[data-oh="shut"] .oh-hint{display:block;animation:oh-pop .48s steps(3,end) .6s both}

/* --------------------------------------------------------------- the pick --- */
.pl-game{padding-top:16px}
.pl-ask{margin:0 0 10px}
.pl-three{gap:4px;flex:0 0 auto;width:min(100vw - 12px,62vh,472px);max-width:none;margin:auto 0;padding-bottom:calc(min(44vw,22vh,250px)*.97 + 3vh)}
.pl-pick{aspect-ratio:3/5;transition:none;transform-origin:50% 50%}
@supports not (aspect-ratio:1){.pl-pick::before{padding-top:166.7%}}
.pl-pick:active{transform:none}
.pl-pick:focus-visible{outline:3px solid var(--ink);outline-offset:2px;border-radius:18px}
.pl-pick img{transition:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;filter:drop-shadow(0 2px 0 rgba(27,24,20,.18))}
.pl-stage .pl-pick.is-open .pl-shut:not(:only-child){opacity:1}
/* the three wait with a small turn each, on its own beat: one picture, turned, so nothing can blink.
   Once one is picked they all sit still. */
.pl-stage[data-oh="out"] .pl-pick img{animation:oh-turn 1.2s steps(1) infinite}
.pl-stage[data-oh="out"] .pl-pick:nth-child(2) img{animation-duration:1.36s;animation-delay:-.4s}
.pl-stage[data-oh="out"] .pl-pick:nth-child(3) img{animation-duration:1.08s;animation-delay:-.7s}
.pl-stage.oh-took .pl-pick img{animation:none}
@keyframes oh-turn{0%{rotate:0deg}25%{rotate:-3.5deg}50%{rotate:2deg}75%{rotate:4.5deg}}
.pl-pick.is-mine{transform:none}
/* the two that were not picked stay as solid as the one that was */
.pl-stage .pl-pick.is-other,.pl-stage .pl-pick.is-other.is-open{opacity:1}
.pl-stage[data-oh="shut"] .pl-three,.pl-stage[data-oh="shut"] .pl-ask,.pl-stage[data-oh="opening"] .pl-ask{visibility:hidden}
.pl-stage[data-oh="shut"] .pl-pick,.pl-stage[data-oh="opening"] .pl-pick{pointer-events:none}
/* nothing under the three until one is picked, so they sit in the middle */
.pl-stage[data-scene="pick"] .pl-prize,.pl-stage[data-scene="pick"] .pl-also,.pl-stage[data-scene="pick"] .pl-go,
.pl-stage[data-oh="out"] .pl-prize,.pl-stage[data-oh="out"] .pl-also,.pl-stage[data-oh="out"] .pl-go{display:none}

/* -------------------------------------------------------------- the prize --- */
.pl-stage[data-oh="won"] .pl-game{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"mine mine" "prize prize" "alsoh alsoh" "a1 a2" "go go";column-gap:12px;align-content:center;justify-items:center;padding-top:4px}
.pl-stage[data-oh="won"] .pl-three,.pl-stage[data-oh="won"] .pl-also{display:contents}
.pl-stage[data-oh="won"] .pl-ask{display:none}
.pl-prize{grid-area:prize;position:relative;width:100%;max-width:430px;margin:0;padding:62px 16px 22px;border-radius:22px;background:var(--paper) var(--oh-grain);background-blend-mode:multiply;box-shadow:0 0 0 6px var(--oh-white);transition:none;transform:rotate(-2deg);transform-origin:50% 60%}
.pl-stage.is-found .pl-prize{opacity:0;transform:rotate(-2deg)}
.pl-stage.is-found.oh-card .pl-prize{opacity:1}
.pl-prize b{margin-top:10px;font:800 20px/1.2 var(--font);letter-spacing:-.01em}
/* what has to be bought with it: a strip of the sun's paper stuck under the
   offer, as loud as the line above it (Nico, 2026-11-23) */
.pl-need{padding:6px 13px 7px;border-radius:0;background:var(--oh-sun) var(--oh-grain);background-blend-mode:multiply;font:800 16px/1.25 var(--font);letter-spacing:-.005em;rotate:-1.5deg;clip-path:polygon(1% 7%,48% 0,99% 5%,100% 50%,98% 95%,52% 100%,2% 96%,0 48%)}
.pl-prize>.pl-need{margin:10px auto 2px;font-size:17px}
.pl-sheet .pl-need{margin:10px 0 16px 2px}
.pl-counter .pl-need{margin-top:14px;font-size:20px}
.pl-prize b span{margin-top:0;color:inherit}
.pl-prize b .oh-cut{display:flex;justify-content:center;align-items:center;margin:0 0 14px;color:inherit;font:900 48px/1 var(--font);letter-spacing:0}
.pl-prize b .oh-rest{display:block;color:var(--ink)}
.oh-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* a letter cut from a magazine: its scrap, its tilt, its own face. No scrap is
   the card's own cream or white: a "7" on one vanished into the card and read
   as a stray mark (Nico, 2026-11-23) */
.oh-cut .oh-s{display:block;margin:0 -.03em;padding:.07em .13em .05em;color:#F6EFE3;background:var(--oh-blue) var(--oh-grain);background-blend-mode:multiply;clip-path:polygon(2% 6%,48% 1%,97% 4%,100% 52%,96% 97%,51% 100%,3% 95%,0 47%)}
.oh-cut .oh-gap{display:block;width:.22em}
.oh-cut .oh-s1{background-color:#5C2D83;color:var(--oh-sun);font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:1.1em;rotate:-4deg;clip-path:polygon(5% 2%,60% 0,98% 7%,95% 55%,100% 96%,40% 100%,1% 93%,4% 40%)}
.oh-cut .oh-s2{background-color:var(--oh-sun);color:var(--oh-red);rotate:3deg;padding-top:.1em}
.oh-cut .oh-s3{background-color:var(--ink);color:#F3E3DC;rotate:-2deg;transform:scale(.9,1.06);clip-path:polygon(0 4%,55% 0,100% 5%,97% 50%,100% 100%,46% 96%,2% 100%,5% 52%)}
.oh-cut .oh-s4{background-color:var(--oh-pink);color:var(--ink);rotate:5deg;font-family:Georgia,'Times New Roman',serif}
.oh-cut .oh-s5{background-color:var(--oh-red);color:#FFF6E8;rotate:-5deg;font-style:italic;clip-path:polygon(4% 0,96% 3%,100% 45%,94% 100%,45% 96%,0 100%,3% 50%)}
.oh-cut .oh-s6{background-color:#F47A1E;color:#5C2D83;rotate:2deg;translate:0 .05em}
.oh-cut .oh-s7{background-color:var(--oh-pink);color:var(--oh-blue);rotate:-3deg;translate:0 -.04em;font-family:Georgia,'Times New Roman',serif;clip-path:polygon(3% 3%,50% 0,98% 6%,100% 50%,95% 98%,52% 95%,0 100%,2% 48%)}
.oh-cut .oh-s8{background-color:var(--oh-sun);background-image:radial-gradient(#C98F00 30%,transparent 32%);background-size:5px 5px;background-blend-mode:normal;color:var(--ink);rotate:4deg}
.pl-prize:not(.oh-go) .oh-s{visibility:hidden}
.pl-prize.oh-go .oh-s{animation:oh-pop .48s steps(3,end) both}
.pl-prize .oh-gem{left:50%;top:50%}
.pl-prize .oh-gem.rest{animation:oh-jit 1.2s steps(1) infinite}
@keyframes oh-jit{0%,100%{transform:none}33%{transform:rotate(9deg) translate(1px,-1px)}66%{transform:rotate(-7deg) translate(-1px,1px)}}

.pl-stage[data-oh="won"] .pl-pick.is-mine{grid-area:mine;z-index:2;height:clamp(124px,23vh,210px);margin-bottom:-56px;rotate:-9deg}
/* on the cream card a pale sticker needs its own shadow to stand off it */
.pl-stage[data-oh="won"] .pl-pick.is-mine img,.pl-stage[data-oh="still"] .pl-pick.is-mine img{filter:drop-shadow(2px 3px 0 rgba(27,24,20,.22))}
/* the other two: each sticker stuck on the corner of a paper tag that says its prize */
.pl-stage[data-oh="won"] .pl-pick.is-other{grid-area:a1;justify-self:start;align-self:center;z-index:1;width:52px;margin:12px 0 0 -8px;rotate:-9deg}
.pl-stage[data-oh="won"] .pl-pick.is-other img{filter:drop-shadow(1.5px 2px 0 rgba(27,24,20,.26))}
.pl-stage[data-oh="won"] .pl-pick.is-other~.pl-pick.is-other{grid-area:a2;rotate:8deg}
.pl-stage[data-oh="won"] .pl-also small{grid-area:alsoh;margin-top:22px;padding:7px 12px 6px;border-radius:999px;background:var(--oh-white);rotate:1.5deg}
.pl-stage[data-oh="won"] .pl-also p{grid-area:a1;justify-self:stretch;align-self:center;display:flex;align-items:center;min-height:60px;margin:12px 0 0;padding:8px 10px 8px 50px;border-radius:14px;background:var(--paper) var(--oh-grain);background-blend-mode:multiply;box-shadow:0 0 0 4px var(--oh-white);font-size:13.5px;font-weight:700;line-height:1.25;text-align:left;rotate:-1.5deg}
.pl-stage[data-oh="won"] .pl-also p+p{grid-area:a2;rotate:1.5deg}
.pl-stage[data-oh="won"] .pl-also>*{visibility:hidden}
.pl-stage[data-oh="won"].is-others .pl-also>*{visibility:visible;animation:oh-pop .48s steps(3,end) both}
.pl-stage[data-oh="won"].is-others .pl-also p{animation-delay:.16s}
.pl-stage[data-oh="won"].is-others .pl-also p+p{animation-delay:.32s}
.pl-stage[data-oh="won"] .pl-also p:empty{display:none}
/* the way on stays in sight on a screen too short for the whole prize */
.pl-stage[data-oh="won"] .pl-go{grid-area:go;position:sticky;bottom:0;z-index:5;margin-top:0;padding-top:22px;max-width:340px;transition:none}
.pl-valid{margin-top:8px;font-size:12.5px;letter-spacing:.01em;color:var(--ink)}
.pl-stage.is-ready .pl-go .pl-btn{animation:oh-pop .48s steps(3,end) both}

/* the claim: the sticker that was picked, alone on the cloth. The card it
   came on tumbles off (a copy of it, skin.js leaving) and the title comes back */
.pl-stage .pl-prize.oh-ghost{position:absolute;grid-area:auto;display:block!important;margin:0;max-width:none;opacity:1!important;pointer-events:none}
.oh-ghost .oh-s,.oh-ghost .oh-gem{animation:none!important}
.pl-stage.oh-from[data-oh="still"] .pl-title img{animation:oh-pop .48s steps(3,end) .16s both}
.pl-stage[data-oh="still"] .pl-ask,.pl-stage[data-oh="still"] .pl-pick.is-other{display:none}
.pl-stage[data-oh="still"] .pl-three{display:block;width:auto;margin:0 auto;padding:0}
.pl-stage[data-oh="still"] .pl-pick.is-mine{height:var(--oh-mine,clamp(110px,22vh,230px));margin-top:var(--oh-mine-top,0px);rotate:-9deg;filter:drop-shadow(0 0 0 transparent)}
.pl-pick .oh-gem{display:none}
.pl-stage[data-oh="still"] .pl-pick.is-mine .oh-gem{display:block;animation:oh-pop .48s steps(3,end) both}

/* -------------------------------------------------------- sheets and buttons --- */
.pl-sheet{background:var(--paper) var(--oh-grain);background-blend-mode:multiply;border-radius:26px 26px 0 0;box-shadow:0 -6px 0 var(--oh-white);transition:transform .42s steps(6,end),visibility 0s .42s}
.pl-sheet.on{transition:transform .42s steps(6,end)}
/* the sign-up is a page of the book: its name on a paper label, each box
   named on a chip of coloured paper, the button a sticker. The boxes themselves stay plain, so it is easy to fill in. */
.oh-tag{display:block;width:-moz-fit-content;width:fit-content;margin:0 auto 16px;padding:7px 15px 6px;background:var(--oh-white);rotate:-2deg;clip-path:polygon(1% 8%,49% 0,99% 6%,100% 54%,98% 96%,52% 100%,2% 94%,0 46%)}
.pl-f{position:relative;margin-bottom:14px}
.pl-f span{position:relative;z-index:1;display:block;width:-moz-fit-content;width:fit-content;margin:0 0 -9px 12px;padding:4px 9px 3px;background:var(--oh-sun) var(--oh-grain);background-blend-mode:multiply;font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;rotate:-2deg;clip-path:polygon(2% 6%,48% 0,97% 5%,100% 52%,96% 97%,51% 100%,3% 94%,0 47%)}
.pl-f:nth-child(2) span{background-color:var(--oh-pink);rotate:1.5deg}
.pl-f:nth-child(3) span{background-color:var(--oh-blue);color:#F6EFE3;rotate:-1.5deg}
.pl-f input{border:2px solid var(--ink);border-radius:14px;background:var(--oh-white);padding-top:17px;padding-bottom:13px;transition:none}
.pl-f input::placeholder{color:transparent}
.pl-f input:focus{border-color:var(--ink);box-shadow:0 0 0 4px var(--oh-sun)}
.pl-f.bad input{border-color:var(--bad)}
/* the news box: a square of paper with an ink edge, the sun's yellow and a
   thick ink tick once ticked, never the browser's blue (Nico, 2026-11-23) */
.pl-tick input{width:24px;height:24px;border:2px solid var(--ink);border-radius:4px;background:var(--oh-white);rotate:-3deg;box-shadow:2px 2px 0 var(--ink)}
.pl-tick input:checked{background:var(--oh-sun);border-color:var(--ink)}
.pl-tick input:checked::after{left:7px;top:2px;width:6px;height:12px;border-color:var(--ink);border-width:0 3px 3px 0}
.pl-tick input:focus-visible{outline:3px solid var(--oh-blue);outline-offset:3px}
.pl-btn{letter-spacing:.14em;text-transform:uppercase;font-weight:700;font-size:15px;transition:none}
.pl-btn:active{transform:translateY(2px) rotate(-1deg)}
.pl-btn.out{box-shadow:inset 0 0 0 2px var(--ink)}
.pl-sheet .pl-btn:not(.out){box-shadow:0 5px 0 var(--oh-sun)}
.pl-sheet .pl-btn:not(.out):active{box-shadow:0 3px 0 var(--oh-sun)}
/* at the counter the paper comes up the page; nothing here fades */
/* (cut into view, never moved: a thing moved off the page would give the page a scroll bar) */
.pl-counter{opacity:1;clip-path:inset(100% -90px -90px -90px);transition:clip-path .42s steps(6,end),visibility 0s .42s}
.pl-counter.on{clip-path:inset(-90px);transition:clip-path .42s steps(6,end)}
.pl-known{border:2px solid var(--ink);background:var(--oh-white)}
.pl-only{background:var(--bg)}
.pl-codebox{border:2px dashed var(--ink);background:var(--oh-white)}
.pl-copy{background:var(--bg)}

/* a short phone: each box says its own name, and the card is lower */
@media (max-height:720px) and (max-width:839px){
  .pl-sheet{padding-top:18px}
  .oh-tag{margin-bottom:10px}
  .pl-f{margin-bottom:8px}
  .pl-f span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .pl-f input{min-height:46px;padding:11px 16px}
  .pl-f input::placeholder{color:var(--soft)}
  .pl-tick{margin:2px 0 12px;font-size:13px}
  .pl-btn{min-height:50px}
  .pl-fine{margin-top:10px;font-size:12px}
}
/* a very short one: the prize, what else was in the game in words, the way on */
@media (max-height:620px) and (max-width:839px){
  .pl-stage[data-oh="won"] .pl-game{padding-top:0}
  .pl-stage[data-oh="won"] .pl-pick.is-mine{height:104px;margin-bottom:-44px}
  .pl-prize{padding:50px 14px 16px}
  .pl-prize b .oh-cut{margin-bottom:10px}
  .pl-stage[data-oh="won"] .pl-also small{margin-top:18px}
  .pl-stage[data-oh="won"] .pl-go{padding-top:16px}
}
@media (min-width:700px){
  .pl-sheet{border-radius:26px;box-shadow:0 0 0 6px var(--oh-white)}
}

/* ------------------------------------------------------------ a desktop --- */
@media (min-width:840px){
  .pl-title{margin-top:0}
  .pl-title img{max-height:32vh}
  .pl-say{text-align:center}
  .pl-stage[data-scene="pick"] .pl-title img,.pl-stage[data-scene="reveal"] .pl-title img{max-height:17vh}
  .pl-stage[data-scene="claim"] .pl-title img{max-height:24vh}
  .pl-say{font-size:13px}
  .pl-say.is-note{font-size:18px}
  .pl-ask{margin-bottom:14px;font-size:13px}
  .pl-stage[data-oh="wait"] .pl-lead{padding-bottom:calc(min(22vw,30vh,340px)*1.1 + 30px)}
  .oh-box{--cw:min(59vw,68vh,694px)}
  /* no card to come up from behind here: it lands under the title */
  .pl-stage[data-oh="wait"] .oh-box{animation:oh-pop .48s steps(3,end) .16s both}
  .oh-box.small{--cw:min(26vw,25vh,280px)}
  .oh-grass{height:40%}
  .pl-three{width:min(640px,64vh);gap:clamp(10px,1.6vw,22px);margin:auto;padding-bottom:calc(min(26vw,25vh,280px)*.97 + 3vh)}
  .pl-stage[data-oh="won"] .pl-game{grid-template-columns:repeat(2,minmax(0,230px));justify-content:center;padding-top:30px}
  .pl-prize{padding:72px 30px 28px}
  .pl-prize b{font-size:24px}
  .pl-stage[data-oh="won"] .pl-pick.is-mine{height:clamp(130px,22vh,230px);margin-bottom:-58px}
  .pl-stage[data-oh="won"] .pl-pick.is-other{width:54px}
  .pl-stage[data-oh="won"] .pl-also p{min-height:64px;padding-left:56px;font-size:14.5px}
  .pl-where{margin-bottom:12px;font-size:13px}
  .pl-stage[data-oh="still"] .pl-game{align-items:center}
  .pl-stage[data-oh="still"] .pl-pick.is-mine{height:clamp(180px,34vh,340px)}
  .pl-sheet{box-shadow:0 0 0 6px var(--oh-white);padding:30px 28px 26px}
  .pl-sheet.on{animation:oh-pop .48s steps(3,end) both}
}
/* a short desktop window: the prize, the other two and the way on in one look */
@media (min-width:840px) and (max-height:800px){
  .pl-stage[data-oh="won"] .pl-game{padding-top:0}
  .pl-stage[data-oh="won"] .pl-pick.is-mine{height:118px;margin-bottom:-52px}
  .pl-prize{padding:56px 26px 18px}
  .pl-prize b .oh-cut{margin-bottom:10px;font-size:42px}
  .pl-prize b{font-size:21px}
  .pl-stage[data-oh="won"] .pl-pick.is-other{width:44px;margin-top:8px}
  .pl-stage[data-oh="won"] .pl-also small{margin-top:16px}
  .pl-stage[data-oh="won"] .pl-also p{min-height:50px;margin-top:8px;padding:6px 9px 6px 46px;font-size:13.5px}
  .pl-stage[data-oh="won"] .pl-go{padding-top:12px}
}
@media (min-width:840px) and (hover:hover){
  .pl-stage[data-oh="out"] .pl-pick:not([disabled]):hover{transform:translateY(-10px) rotate(-3deg)}
  .pl-stage[data-oh="shut"] .oh-cooler:hover{animation:none;transform:rotate(-2deg) translateY(-2%)}
}

/* a phone held sideways: the note, in the book's lettering */
@media (orientation:landscape) and (max-height:480px) and (min-width:560px) and (pointer:coarse){
  .pl-stage::after{background:var(--bg) var(--oh-bg) center/cover;font:700 13px/1.5 var(--font);letter-spacing:.26em;text-transform:uppercase}
}

@media (prefers-reduced-motion:reduce){
  .pl-pick img,.oh-cooler,.oh-blob,.oh-hint,.oh-gem,.pl-prize .oh-s,.pl-also>*,.pl-go .pl-btn,.pl-sheet.on,.oh-sky,.oh-grass,.oh-box,.pl-title img,.oh-intro::before{animation:none!important}
}
