@import url("rabbits/rabbits_alive_v001.css");
/* look.css - the new look of the drawing app, step L1 (v132): the game screens, "Pick a picture" and
   the end screen. From the UX design chat's handover, draw_look_handover_v003.md (sections 4 and 5) and
   draw_look_sizes_v002.md. Loaded only by the apps that apps.json gives "look" (split.py): draw. The
   other apps never see this file. Colours come from baitudo_apps_tokens_v002.css (one place).

   Sizes: every figure is the phone board's px times --u. look.js sets --u from the window (the size
   rule, DRAW's proposal of 27 Nov): below 520 px high the phone board, u = the smaller of height / 360
   and width / 880, held to 0.8 - 1.2; from 520 up the laptop board, u = 1.5 x the smaller of width / 1366 and height / 768,
   held to 0.66 - 1.3. */

@import url(cards/cards_moving_v001.css);
@font-face{font-family:'Zen Maru Gothic';font-style:normal;font-display:swap;font-weight:500;src:url(fonts/zen-maru-gothic-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Zen Maru Gothic';font-style:normal;font-display:swap;font-weight:500;src:url(fonts/zen-maru-gothic-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Zen Maru Gothic';font-style:normal;font-display:swap;font-weight:700;src:url(fonts/zen-maru-gothic-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Zen Maru Gothic';font-style:normal;font-display:swap;font-weight:700;src:url(fonts/zen-maru-gothic-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Zen Maru Gothic';font-style:normal;font-display:swap;font-weight:900;src:url(fonts/zen-maru-gothic-latin-ext-900-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Zen Maru Gothic';font-style:normal;font-display:swap;font-weight:900;src:url(fonts/zen-maru-gothic-latin-900-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{--u:1;
  /* her ground: Apricot until "Me" lets her pick (step L3) */
  --look-g:var(--ui-ground-apricot);--look-g2:var(--ui-ground-apricot-2);
  --lb:calc(3px * var(--u));          /* border */
  --ll:calc(5px * var(--u));          /* lip */
  --lls:calc(4px * var(--u));         /* small lip */
  --llf:calc(6px * var(--u));         /* a framed picture's lip */
  --lbtn:calc(48px * var(--u));       /* a square bar button */
  --lcb:calc(16px * var(--u))}        /* its corner */

/* ---- the ground: her colour, two large soft patches a little darker ---- */
html #colour:not([data-view="done"]),html #board{background-color:var(--look-g);
  background-image:radial-gradient(circle at 104% -12%,var(--look-g2) 0 calc(150px * var(--u)),transparent calc(150px * var(--u) + 1px)),
                   radial-gradient(circle at -6% 112%,var(--look-g2) 0 calc(200px * var(--u)),transparent calc(200px * var(--u) + 1px));
  color:var(--ui-ink)}
html #colour,html #board{padding:calc(8px * var(--u)) calc(16px * var(--u)) calc(10px * var(--u));gap:calc(10px * var(--u))}

/* ---- what the app itself says: Zen Maru Gothic. What the games write keeps the Letters setting ---- */
html #colour .coltop,html #colour .colthumbname,html #colour .colside,html #colour .colnone,html #board .topbar,html #colour .look-game{font-family:var(--ui-font)}
html #colour[data-mode="hear"] .coltitle,html #colour .colhearlist{font-family:var(--ff)}

/* ---- the bars ---- */
html #colour .coltop,html #board .topbar{gap:calc(8px * var(--u));padding-bottom:var(--ll);align-items:center}
html #colour .coltitle{font-weight:900;font-size:calc(22px * var(--u));color:var(--ui-ink);background:none;padding:0;flex:1 1 auto;min-width:0}
html #colour[data-mode="hear"] .coltitle{font-weight:700;font-size:calc(16px * var(--u))}
html #colour[data-view="pick"] .coltitle{flex:0 1 auto}
html #colour .look-game{display:none;flex:1 1 auto;min-width:0;font-weight:700;font-size:calc(15px * var(--u));color:var(--ui-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;align-self:center;padding-top:calc(2px * var(--u))}
html #colour[data-view="pick"] .look-game{display:block}
/* the board's order: back, title, the three sets, the game's own buttons, undo, start again, full screen, My pictures, go, the tick */
html #colour #colhome{order:0} html #colour #coltitle{order:1} html #colour .look-game{order:2} html #colour #colcount{order:3}
html #colour #colsetpens{order:10} html #colour #colsetpats{order:11} html #colour #colsetglit{order:12}
html #colour #colspeak{order:13} html #colour #colshow{order:14} html #colour #colnext{order:15} html #colour #colsv{order:16}
html #colour #colundo{order:20} html #colour #colagain{order:21} html #colour #colfs{order:22} html #colour #colmine{order:23}
html #colour #colgo{order:30} html #colour #coltick{order:31}
html #colour #colsetpens{margin-left:auto}
html #colour[data-view="done"] .coltitle,html #colour[data-view="done"] #colfs{display:none}

/* ---- a button: ink border, rounded, a hard ink lip; pressed it goes down onto its lip and flashes ---- */
html #colour .coltop .cog,html #board .topbar .cog,html #board .btool,html #colour .coltop .colmine,html #colour .coltop .colgo{
  box-sizing:border-box;width:var(--lbtn);height:var(--lbtn);min-width:0;padding:0;margin:0;
  background:var(--ui-paper);color:var(--ui-ink);border:var(--lb) solid var(--ui-ink);border-radius:var(--lcb);
  box-shadow:0 var(--ll) 0 var(--ui-ink);transform:none;
  transition:transform var(--ui-press-time) ease-out,box-shadow var(--ui-press-time) ease-out,background-color var(--ui-press-time) ease-out;
  align-items:center;justify-content:center;flex:0 0 auto;position:relative}   /* display stays v125's: its rules hide what a view does not use */
html #colour .coltop .cog:active,html #board .topbar .cog:active,html #board .btool:active,html #colour .coltop .colmine:active,html #colour .coltop .colgo:active{
  transform:translateY(var(--ll));box-shadow:0 0 0 var(--ui-ink);background:var(--ui-press)}
html #colour .coltop .cog svg,html #board .topbar .cog svg,html #board .btool > svg{width:calc(26px * var(--u));height:calc(26px * var(--u))}
html #colour .coltop .cog .icon,html #board .topbar .cog .icon{width:calc(26px * var(--u));height:calc(26px * var(--u))}
@media (hover:hover){html #colour .coltop .cog:hover .icon,html #board .topbar .cog:hover .icon{transform:none}}
/* the one button that moves on is green */
html #colour .coltop .coltick,html #colour .coltop .colgo{background:var(--ui-go);color:var(--ui-ink);width:calc(64px * var(--u))}
html #colour .coltop .coltick:active,html #colour .coltop .colgo:active{background:var(--ui-go-press)}
html #colour .coltop .colgo{width:auto;padding:0 calc(16px * var(--u));font-weight:900;font-size:calc(16px * var(--u))}
html #colour .coltop .coltick svg{width:calc(26px * var(--u));height:calc(26px * var(--u))}
/* words on a button */
html #colour .coltop .colmine{width:auto;padding:0 calc(14px * var(--u)) 0 calc(12px * var(--u));gap:calc(8px * var(--u));font-weight:900;font-size:calc(16px * var(--u));white-space:nowrap}
html #colour .coltop .colmine::before{content:"";flex:0 0 auto;width:calc(24px * var(--u));height:calc(24px * var(--u));
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A1E1E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='14' rx='2.5'/%3E%3Cpath d='M3.5 15l5-4 4 3 3-2 5 4'/%3E%3C/svg%3E") center/contain no-repeat}
/* buttons that were coloured in v125 are quiet now */
html #colour .coltop .colred,html #colour .coltop .colspeak,html #board .btool.bwipe{background:var(--ui-paper);color:var(--ui-ink);border-radius:var(--lcb)}
/* the sets: white; the chosen one yellow, down, with a round green tick at its corner */
html #colour .coltop .colset,html #board .btool.bset{width:calc(58px * var(--u));background:var(--ui-white);overflow:visible}
html #colour .coltop .colset .bsetpen,html #board .btool.bset .bsetpen{overflow:hidden;width:calc(44px * var(--u));height:calc(13px * var(--u));display:block}
html #colour .coltop .colset .bsetpen svg,html #board .btool.bset .bsetpen svg{width:200%;height:100%}
html #colour .coltop .colset.on,html #colour .coltop .colshow.on,html #board .btool.on{background:var(--ui-chosen);transform:translateY(var(--ll));box-shadow:0 0 0 var(--ui-ink);color:var(--ui-ink)}
html #colour .coltop .colset.on::after,html #board .btool.bset.on::after,html #board .btool.btwinkle.on::after{content:"";position:absolute;
  width:calc(26px * var(--u));height:calc(26px * var(--u));top:calc(-5px * var(--u) - var(--lb));right:calc(-5px * var(--u) - var(--lb));box-sizing:border-box;
  border:calc(2px * var(--u)) solid var(--ui-ink);border-radius:50%;
  background:var(--ui-go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A1E1E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/66% no-repeat}
html #colour .coltop .colset[disabled]{opacity:.4}
/* the whiteboard's tools keep their own pictures, in the same buttons */
html #board .btools{gap:calc(8px * var(--u));padding-bottom:var(--ll)}
html #board .bsep{background:var(--ui-ink);opacity:.25}
html #board .btool .bdot{background:currentColor}

/* ---- the sheet: framed dark first - one ink shape with its lip, the paper 2 px inside, the border laid on top ---- */
html #colour:is([data-mode="tap"],[data-mode="lines"],[data-mode="dots"],[data-mode="mirror"],[data-mode="hear"]) .colpic,
html #colour[data-mode="memory"]:is([data-step="draw"],[data-step="look"]) .colpic{
  background:var(--ui-ink);padding:calc(2px * var(--u)) calc(2px * var(--u)) calc(2px * var(--u) + var(--llf));box-sizing:content-box;
  border-radius:calc(14px * var(--u));overflow:visible;position:relative}
html #colour:is([data-mode="tap"],[data-mode="lines"],[data-mode="dots"],[data-mode="mirror"],[data-mode="hear"]) .colpic > svg,
html #colour[data-mode="memory"]:is([data-step="draw"],[data-step="look"]) .colpic > svg{background:#fff;border-radius:calc(12px * var(--u));overflow:hidden}
html #colour:is([data-mode="tap"],[data-mode="lines"],[data-mode="dots"],[data-mode="mirror"],[data-mode="hear"]) .colpic::after,
html #colour[data-mode="memory"]:is([data-step="draw"],[data-step="look"]) .colpic::after{content:"";position:absolute;left:0;top:0;right:0;bottom:var(--llf);
  border:var(--lb) solid var(--ui-ink);border-radius:calc(14px * var(--u));pointer-events:none}

/* ---- the pencil column: v125's own, on a paper panel ---- */
html #colour .colbox,html #board .colbox{background:var(--ui-paper);border:var(--lb) solid var(--ui-ink);border-right:0;border-radius:calc(20px * var(--u)) 0 0 calc(20px * var(--u));box-sizing:border-box}
html #colour .colrubwrap,html #board .colrubwrap{border-top:calc(2px * var(--u)) solid var(--ui-ink)}

/* ---- Pick a picture: a small card per picture, framed dark first; the list fades at its edges ---- */
html #colour .colpick,html #colour .colgal{gap:calc(12px * var(--u));padding:calc(6px * var(--u)) calc(2px * var(--u)) calc(16px * var(--u));
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 calc(8px * var(--u)),#000 calc(100% - 22px * var(--u)),transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0,#000 calc(8px * var(--u)),#000 calc(100% - 22px * var(--u)),transparent 100%)}
html #colour .colthumb{background:var(--ui-ink);border-radius:calc(14px * var(--u));padding:calc(2px * var(--u)) calc(2px * var(--u)) calc(2px * var(--u) + var(--ll));gap:0;position:relative;
  transition:transform var(--ui-press-time) ease-out}
html #colour .colthumb::after{content:"";position:absolute;left:0;top:0;right:0;bottom:var(--ll);border:var(--lb) solid var(--ui-ink);border-radius:calc(14px * var(--u));pointer-events:none}
html #colour .colthumb:active{transform:translateY(calc(3px * var(--u)))}
html #colour .colthumbpic{border-radius:calc(12px * var(--u)) calc(12px * var(--u)) 0 0;box-shadow:none;border-bottom:var(--lb) solid var(--ui-ink);box-sizing:content-box}
html #colour .colthumbname{background:var(--ui-paper);color:var(--ui-ink);border-radius:0 0 calc(12px * var(--u)) calc(12px * var(--u));
  padding:calc(6px * var(--u)) calc(6px * var(--u)) calc(7px * var(--u));font-weight:900;font-size:calc(15px * var(--u));line-height:1.15;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html #colour .colnone{color:var(--ui-ink);font-weight:700}

/* ---- the end screen: the picture in a yellow frame, a paper panel with four buttons, stars ---- */
html #colour .coldone{position:relative;gap:calc(24px * var(--u))}
html #colour .coldonepic{background:var(--ui-chosen);padding:calc(8px * var(--u));border:var(--lb) solid var(--ui-ink);border-radius:calc(8px * var(--u));
  box-shadow:0 var(--ll) 0 var(--ui-ink);box-sizing:content-box;overflow:visible}
html #colour .coldonepic > svg{background:#fff;box-sizing:border-box;border:0;border-radius:calc(3px * var(--u))}
/* v137 (handover v007 row 20): the black edge lies over the picture's rim, so nothing of the picture shows in it or crosses it */
html #colour .coldonepic::after{content:"";position:absolute;inset:calc(8px * var(--u));border:var(--lb) solid var(--ui-ink);border-radius:calc(3px * var(--u));pointer-events:none}
html #colour .colside{flex:0 0 auto;width:calc(350px * var(--u));box-sizing:border-box;background:var(--ui-paper);border:var(--lb) solid var(--ui-ink);
  border-radius:calc(20px * var(--u));box-shadow:0 var(--ll) 0 var(--ui-ink);padding:calc(12px * var(--u)) calc(16px * var(--u)) calc(14px * var(--u));
  display:grid;grid-template-columns:1fr 1fr;gap:calc(10px * var(--u)) calc(10px * var(--u));align-content:start}
html #colour .colside .colwell{grid-column:1 / -1;order:0;text-align:left;font-weight:900;font-size:calc(30px * var(--u));line-height:1.1;color:var(--ui-ink);background:none;padding:0 0 calc(2px * var(--u))}
html #colour .colside .colhearlist{grid-column:1 / -1;order:1;color:var(--ui-ink);background:none}
html #colour .colside .btn{box-sizing:border-box;height:calc(46px * var(--u));min-width:0;padding:0 calc(6px * var(--u));margin:0;
  background:var(--ui-white);color:var(--ui-ink);border:var(--lb) solid var(--ui-ink);border-radius:calc(14px * var(--u));box-shadow:0 var(--lls) 0 var(--ui-ink);
  font-family:var(--ui-font);font-weight:900;font-size:calc(16px * var(--u));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  transition:transform var(--ui-press-time) ease-out,box-shadow var(--ui-press-time) ease-out,background-color var(--ui-press-time) ease-out}
html #colour .colside .btn:active{transform:translateY(var(--lls));box-shadow:0 0 0 var(--ui-ink);background:var(--ui-press)}
html #colour .colside #colanother{order:2;background:var(--ui-go)}
html #colour .colside #colanother:active{background:var(--ui-go-press)}
html #colour .colside #colkeep{order:3} html #colour .colside #colsave{order:4} html #colour .colside #look-mine{order:5}
html #colour:is([data-mode="grid"],[data-mode="memory"],[data-mode="hear"]) #look-mine{display:none}
html #colour.skyon .colwell,html #colour.skyon .colhearlist{-webkit-backdrop-filter:none;backdrop-filter:none}
/* coming in: the picture drops in, the panel fades and grows in after a short wait */
html #colour.party[data-view="done"] .coldonepic{animation:look-drop .7s cubic-bezier(.3,1.35,.5,1) both}
html #colour.party[data-view="done"] .colside{animation:look-panel .8s ease-out .25s both}
@keyframes look-drop{from{transform:translateY(-46px) rotate(-5deg);opacity:0}60%{opacity:1}to{transform:none;opacity:1}}
@keyframes look-panel{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}
/* ten small four-point stars, on three clocks */
html #colour .look-stars{display:none;position:absolute;inset:0;pointer-events:none;z-index:0}
html #colour[data-view="done"] .look-stars{display:block}
html #colour .coldonepic,html #colour .colside{position:relative;z-index:1}
html #colour .look-stars i{position:absolute;width:calc(18px * var(--u));height:calc(18px * var(--u));margin:calc(-9px * var(--u)) 0 0 calc(-9px * var(--u));
  background:var(--c) ;-webkit-mask:var(--star) center/contain no-repeat;mask:var(--star) center/contain no-repeat;
  animation:look-twinkle var(--t) ease-in-out var(--d) infinite}
html #colour .look-stars i::after{content:"";position:absolute;inset:0;background:var(--ui-ink);-webkit-mask:var(--starline) center/contain no-repeat;mask:var(--starline) center/contain no-repeat}
:root{--star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 C13 9 15 11 22 12 C15 13 13 15 12 22 C11 15 9 13 2 12 C9 11 11 9 12 2Z'/%3E%3C/svg%3E");
  --starline:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 C12.9 9.6 14.4 11.1 20.5 12 C14.4 12.9 12.9 14.4 12 20.5 C11.1 14.4 9.6 12.9 3.5 12 C9.6 11.1 11.1 9.6 12 3.5Z'/%3E%3C/svg%3E")}
@keyframes look-twinkle{0%,100%{transform:scale(.55) rotate(0);opacity:.55}50%{transform:scale(1.15) rotate(20deg);opacity:1}}

@media (prefers-reduced-motion:reduce){
  html #colour.party[data-view="done"] .coldonepic,html #colour.party[data-view="done"] .colside,html #colour .look-stars i{animation:none}
}

/* ---- the free board's and the whiteboard's many tools: one row, the same buttons, a little smaller,
   and smaller again where the row would not fit (the whiteboard has five colours more) ---- */
html #board{--lbtn:calc(42px * var(--u))}
html #board .btools{flex-wrap:nowrap;gap:calc(6px * var(--u));min-width:0}
html #board .btool{width:auto;height:auto;flex:0 1 var(--lbtn);min-width:0;aspect-ratio:1}
html #board .btool.bset{flex-basis:calc(var(--lbtn) * 1.2);aspect-ratio:1.2}
html #board .btool.bset .bsetpen{width:78%;height:28%}
html #board .bsep{margin:0 calc(2px * var(--u))}

/* over the celebration the picture's name stands on paper, as v125 gave it a dark pill */
html #colour.skyon .coltitle{flex:0 1 auto;background:var(--ui-paper);color:var(--ui-ink);border:var(--lb) solid var(--ui-ink);border-radius:calc(12px * var(--u));
  padding:calc(4px * var(--u)) calc(12px * var(--u));-webkit-backdrop-filter:none;backdrop-filter:none}
/* the board colour field opens under its button's lip, over the board, not over the bar */
html #board .bpick{margin-top:calc(var(--ll) + 4px * var(--u))}
/* Draw what you hear: "1 / 6" in ink on her ground */
html #colour .colcount{color:var(--ui-ink);font-family:var(--ui-font);font-weight:900;font-size:calc(15px * var(--u))}


/* ===================== L2 (v133): Home with a picture per game, and the game card =====================
   Sizes in --uh: the phone board's px, times 1.7 / 1.5 more on the laptop board (handover section 8). */
:root{--uh:1}
html #home.screen,html #lookcard{background-color:var(--look-g);
  background-image:radial-gradient(circle at 104% -12%,var(--look-g2) 0 calc(170px * var(--uh)),transparent calc(170px * var(--uh) + 1px)),
                   radial-gradient(circle at -6% 112%,var(--look-g2) 0 calc(230px * var(--uh)),transparent calc(230px * var(--uh) + 1px));
  color:var(--ui-ink);font-family:var(--ui-font)}
#nd-morph{display:none !important}   /* v125's dark sweep between Home and a game; the new look has none */
html #home .homever{color:var(--ui-ink);opacity:.6}

/* the top bar: her chip, then about, settings, full screen - paper buttons */
html #home .topbar{gap:calc(10px * var(--uh));padding:calc(10px * var(--uh)) calc(16px * var(--uh)) var(--ll);align-items:center}
html #home .topbar .cog,html #home .topbar .whobtn{box-sizing:border-box;height:calc(48px * var(--uh));min-width:calc(48px * var(--uh));width:auto;padding:0;
  background:var(--ui-paper);color:var(--ui-ink);border:calc(3px * var(--uh)) solid var(--ui-ink);border-radius:calc(16px * var(--uh));
  box-shadow:0 calc(5px * var(--uh)) 0 var(--ui-ink);opacity:1;
  transition:transform var(--ui-press-time) ease-out,box-shadow var(--ui-press-time) ease-out,background-color var(--ui-press-time) ease-out}
html #home .topbar .cog{width:calc(48px * var(--uh))}
html #home .topbar .cog:active,html #home .topbar .whobtn:active{transform:translateY(calc(5px * var(--uh)));box-shadow:0 0 0 var(--ui-ink);background:var(--ui-press)}
html #home .topbar .cog svg{width:calc(26px * var(--uh));height:calc(26px * var(--uh));color:var(--ui-ink)}
html #home .topbar .whobtn{padding:0 calc(16px * var(--uh)) 0 calc(6px * var(--uh));gap:calc(8px * var(--uh));font-family:var(--ui-font);font-weight:900;font-size:calc(16px * var(--uh))}
html #home .topbar .whobtn .whoface{width:calc(34px * var(--uh));height:calc(34px * var(--uh));border:0;box-shadow:none;background:none}

/* the row: the cards stand 208 apart and overlap, the middle one in front */
html #home .pagewrap{min-height:0}
html #home #pages{--nd-cw:calc(236px * var(--uh));scroll-snap-type:x proximity;padding-bottom:0;align-items:center}
html #home #pages .page{gap:0;height:100%;box-sizing:border-box;padding:calc(14px * var(--uh)) calc(50% - 118px * var(--uh)) calc(18px * var(--uh));align-items:center}
html #home #pages .tile:not([id]){display:none !important}   /* v125's "more to come": the new Home has a card per game only */
html #home #pages .tile{flex:0 0 calc(236px * var(--uh));width:calc(236px * var(--uh));height:auto;align-self:center;position:relative;
  display:block;padding:0 0 calc(6px * var(--uh));margin:0;border:0;border-radius:calc(20px * var(--uh));
  background:var(--ui-ink) !important;box-shadow:none !important;opacity:1;overflow:visible;text-align:left;color:var(--ui-ink) !important;
  transform:translateX(var(--lk-x,0px)) scale(var(--lk-s,1)) rotate(var(--lk-r,0deg));transform-origin:50% 60%;transition:none;will-change:transform;
  container-type:normal;contain:none;max-height:none}
html #home #pages .tile + .tile{margin-left:calc(-28px * var(--uh))}   /* 236 wide, 208 apart: they overlap */
html #home #pages .tile:active{transform:translateX(var(--lk-x,0px)) translateY(calc(3px * var(--uh))) scale(var(--lk-s,1)) rotate(var(--lk-r,0deg))}
html #home #pages .tile::before,html #home #pages .tile::after,html #home #pages .tile .glyph{display:none}
html #home #pages .tile .lk-in{display:flex;flex-direction:column;margin:calc(2px * var(--uh));border-radius:calc(18px * var(--uh));overflow:hidden}
.lk-pic{position:relative;display:block;aspect-ratio:4/3;background:#fff;overflow:hidden}
.lk-pic img,.lk-pic .lk-move{position:absolute;left:0;top:0;width:100%;height:100%;display:block}
html #home #pages .tile .lk-rule{display:block;height:calc(3px * var(--uh));background:var(--ui-ink)}
html #home #pages .tile .lk-cap{display:flex;flex-direction:column;gap:0;background:var(--ui-paper);padding:calc(5px * var(--uh)) calc(14px * var(--uh)) calc(7px * var(--uh))}
html #home #pages .tile .lab{font-family:var(--ui-font);font-weight:900;font-size:calc(19px * var(--uh));line-height:1.42;color:var(--ui-ink);
  white-space:nowrap;overflow:hidden;text-overflow:clip;letter-spacing:0;text-transform:none}
html #home #pages .tile .lab::after{display:none}
html #home #pages .tile .look-skill{font-weight:500;font-size:calc(13px * var(--uh));line-height:1.5;color:var(--ui-muted);white-space:nowrap;overflow:hidden}
.lk-edge{position:absolute;left:0;top:0;right:0;bottom:calc(6px * var(--uh));border:calc(3px * var(--uh)) solid var(--ui-ink);border-radius:calc(20px * var(--uh));pointer-events:none}
html #home #pages .tile:focus-visible{outline:calc(3px * var(--uh)) solid var(--ui-ink);outline-offset:calc(4px * var(--uh))}

/* the dots: one per card, the middle one wide and dark */
html .look-dots{display:flex;justify-content:center;align-items:center;gap:calc(7px * var(--uh));padding:0 0 calc(10px * var(--uh))}
html .look-dots i{display:block;width:calc(8px * var(--uh));height:calc(8px * var(--uh));border-radius:calc(4px * var(--uh));background:var(--ui-ink);opacity:.45;
  transition:width .3s ease,opacity .3s ease}
html .look-dots i.on{width:calc(22px * var(--uh));opacity:1}
@media (prefers-reduced-motion:reduce){html .look-dots i{transition:none}}

/* ---- the game card ---- */
html #lookcard.screen.on{display:flex}
html #lookcard{box-sizing:border-box;flex-direction:row;align-items:stretch;gap:calc(22px * var(--uh));padding:calc(16px * var(--uh)) calc(16px * var(--uh)) calc(16px * var(--uh))}
#lookcard .lk-left{flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center}
#lookcard .lk-frame{position:relative;display:block;width:min(100%,calc((100dvh - 32px * var(--uh) - 8px * var(--uh)) * 4 / 3));background:var(--ui-ink);
  border-radius:calc(22px * var(--uh));padding:calc(2px * var(--uh)) calc(2px * var(--uh)) calc(8px * var(--uh))}
#lookcard .lk-frame .lk-pic{border-radius:calc(20px * var(--uh))}
#lookcard .lk-frame .lk-edge{border-radius:calc(22px * var(--uh))}
#lookcard .lk-right{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:calc(12px * var(--uh))}
#lookcard .lk-head{display:flex;align-items:center;gap:calc(14px * var(--uh))}
#lookcard .cog{box-sizing:border-box;flex:0 0 auto;width:calc(52px * var(--uh));height:calc(52px * var(--uh));padding:0;display:flex;align-items:center;justify-content:center;
  background:var(--ui-paper);color:var(--ui-ink);border:calc(3px * var(--uh)) solid var(--ui-ink);border-radius:calc(16px * var(--uh));box-shadow:0 calc(5px * var(--uh)) 0 var(--ui-ink);
  transition:transform var(--ui-press-time) ease-out,box-shadow var(--ui-press-time) ease-out,background-color var(--ui-press-time) ease-out}
#lookcard .cog svg{width:calc(26px * var(--uh));height:calc(26px * var(--uh))}
#lookcard .cog:active,#lookcard .lk-play:active{transform:translateY(calc(5px * var(--uh)));box-shadow:0 0 0 var(--ui-ink);background:var(--ui-press)}
#lookcard .lk-name{font-weight:900;font-size:calc(28px * var(--uh));line-height:1.3;min-width:0}
#lookcard .lk-does{font-weight:700;font-size:calc(17px * var(--uh));line-height:1.4}
#lookcard .lk-trains{display:flex;flex-direction:column;gap:calc(4px * var(--uh));background:var(--ui-paper);border:calc(3px * var(--uh)) solid var(--ui-ink);
  border-radius:calc(16px * var(--uh));padding:calc(10px * var(--uh)) calc(14px * var(--uh)) calc(12px * var(--uh))}
#lookcard .lk-trains b{font-weight:700;font-size:calc(15px * var(--uh));color:var(--ui-muted)}
#lookcard .lk-trains span{font-weight:700;font-size:calc(16px * var(--uh));line-height:1.35}
#lookcard .lk-gap{flex:1 1 auto;min-height:0}
#lookcard .lk-row{display:flex;gap:calc(14px * var(--uh));align-items:center;padding-bottom:calc(5px * var(--uh))}
#lookcard .lk-play{flex:1 1 auto;box-sizing:border-box;height:calc(56px * var(--uh));display:flex;align-items:center;justify-content:center;gap:calc(12px * var(--uh));
  background:var(--ui-go);color:var(--ui-ink);border:calc(3px * var(--uh)) solid var(--ui-ink);border-radius:calc(18px * var(--uh));box-shadow:0 calc(5px * var(--uh)) 0 var(--ui-ink);
  font-family:var(--ui-font);font-weight:900;font-size:calc(22px * var(--uh));transition:transform var(--ui-press-time) ease-out,box-shadow var(--ui-press-time) ease-out,background-color var(--ui-press-time) ease-out}
#lookcard .lk-play:active{background:var(--ui-go-press)}
#lookcard .lk-play svg{width:calc(24px * var(--uh));height:calc(24px * var(--uh))}
#lookcard .lk-say{width:calc(56px * var(--uh));height:calc(56px * var(--uh))}
/* a game's name starts with a capital on the new cards (v125 wrote them in capitals; "whiteboard" is lower case in its tables) */
html #home #pages .tile .lab::first-letter,#lookcard .lk-name::first-letter{text-transform:uppercase}

/* ===================== L3 (v134): My pictures, Me, What I did =====================
   My pictures in --uh (1.7 on the laptop board), Me and What I did in --u (1.5), as the boards. */
.look-screen{box-sizing:border-box;flex-direction:column;background-color:var(--look-g);color:var(--ui-ink);font-family:var(--ui-font);
  background-image:var(--lk-patches);
  --lk-patches:radial-gradient(circle at 104% -12%,var(--look-g2) 0 calc(170px * var(--uh)),transparent calc(170px * var(--uh) + 1px)),
                   radial-gradient(circle at -6% 112%,var(--look-g2) 0 calc(230px * var(--uh)),transparent calc(230px * var(--uh) + 1px));
  padding:calc(12px * var(--u)) calc(16px * var(--u)) calc(14px * var(--u));gap:calc(14px * var(--u));overflow:hidden}
.look-screen.screen.on{display:flex}
.look-screen .lk-bar{display:flex;align-items:center;gap:calc(12px * var(--u));flex:0 0 auto;padding-bottom:calc(5px * var(--u))}
.look-screen .lk-sp{flex:1 1 auto}
.look-screen .cog{box-sizing:border-box;flex:0 0 auto;width:calc(52px * var(--u));height:calc(52px * var(--u));padding:0;margin:0;display:flex;align-items:center;justify-content:center;gap:calc(8px * var(--u));
  background:var(--ui-paper);color:var(--ui-ink);border:calc(3px * var(--u)) solid var(--ui-ink);border-radius:calc(16px * var(--u));box-shadow:0 calc(5px * var(--u)) 0 var(--ui-ink);
  font-family:var(--ui-font);font-weight:900;font-size:calc(16px * var(--u));white-space:nowrap;
  transition:transform var(--ui-press-time) ease-out,box-shadow var(--ui-press-time) ease-out,background-color var(--ui-press-time) ease-out}
.look-screen .cog:active{transform:translateY(calc(5px * var(--u)));box-shadow:0 0 0 var(--ui-ink);background:var(--ui-press)}
.look-screen .cog[disabled]{opacity:.4;pointer-events:none}
.look-screen .cog svg{width:calc(26px * var(--u));height:calc(26px * var(--u));flex:0 0 auto}
.look-screen .cog.lk-word{width:auto;height:calc(48px * var(--u));padding:0 calc(16px * var(--u)) 0 calc(12px * var(--u))}
.look-screen .cog.lk-word svg{width:calc(22px * var(--u));height:calc(22px * var(--u))}
.look-screen .lk-title{font-weight:900;font-size:calc(28px * var(--u));line-height:1.3}
.look-screen .lk-panel{box-sizing:border-box;background:var(--ui-paper);border:calc(3px * var(--u)) solid var(--ui-ink);border-radius:calc(20px * var(--u));
  box-shadow:0 calc(5px * var(--u)) 0 var(--ui-ink);padding:calc(12px * var(--u)) calc(14px * var(--u)) calc(14px * var(--u));display:flex;flex-direction:column;gap:calc(10px * var(--u));min-width:0;min-height:0}
.look-screen .lk-panel > b,.look-screen .ld-h{font-weight:900;font-size:calc(18px * var(--u));line-height:1.3}

/* My pictures */
#lookgal{padding:calc(12px * var(--uh)) calc(16px * var(--uh)) 0;gap:0}
#lookgal .lk-bar{gap:calc(12px * var(--uh));padding-bottom:calc(5px * var(--uh))}
#lookgal .cog{width:calc(52px * var(--uh));height:calc(52px * var(--uh));border-width:calc(3px * var(--uh));border-radius:calc(16px * var(--uh));box-shadow:0 calc(5px * var(--uh)) 0 var(--ui-ink)}
#lookgal .cog svg{width:calc(26px * var(--uh));height:calc(26px * var(--uh))}
#lookgal .cog:active{transform:translateY(calc(5px * var(--uh)))}
#lookgal .lk-pill{background:var(--ui-paper);border:calc(3px * var(--uh)) solid var(--ui-ink);border-radius:calc(26px * var(--uh));padding:calc(6px * var(--uh)) calc(20px * var(--uh));
  font-weight:900;font-size:calc(24px * var(--uh));line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
/* v137: the wall slides (handover v007 section 5). look.js places each frame (one set of measures, WALL in look.js); this
   draws them. The opening's black edge (::after) lies over the picture, which is laid under it by --lg-in (row 20). */
#lookgal .lg-scroll{position:absolute;left:0;right:0;top:0;bottom:calc(40px * var(--uh));overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;z-index:1}
#lookgal .lg-scroll::-webkit-scrollbar{display:none}
#lookgal .lg-strip{position:relative;height:100%}
#lookgal .lk-bar{position:relative;z-index:2}
#lookgal .lg-frame{position:absolute;box-sizing:border-box;margin:0;padding:var(--lg-y);background:var(--ui-chosen);border:var(--lg-b) solid var(--ui-ink);border-radius:var(--lg-r);
  box-shadow:0 var(--lg-lip) 0 var(--ui-ink);cursor:pointer;scroll-snap-align:start;scroll-margin-left:var(--lg-left);overflow:visible}
#lookgal .lg-frame.lg-next{cursor:default}
#lookgal .lg-op{position:relative;display:block;width:100%;height:100%;background:#fff;overflow:hidden}
#lookgal .lg-op::after{content:"";position:absolute;inset:0;border:var(--lg-e) solid var(--ui-ink);pointer-events:none}
#lookgal .lg-op > svg{position:absolute;left:calc(-1 * var(--lg-in));top:calc(-1 * var(--lg-in));width:calc(100% + 2 * var(--lg-in));height:calc(100% + 2 * var(--lg-in));display:block}
#lookgal .lg-op > img{position:absolute;left:19%;top:19%;width:62%;height:62%;object-fit:contain}
#lookgal .lg-nail{position:absolute;left:50%;overflow:visible;pointer-events:none}
#lookgal .lg-venus{position:absolute;z-index:3;pointer-events:none}
/* her drawing faces right; at the right of the wall she turns to face the middle (Wout, 29 Nov) */
#lookgal .lg-venus svg{width:100%;height:100%}
#lookgal .lg-note{position:absolute;left:0;right:0;bottom:calc(46px * var(--uh));text-align:center;font-weight:700;font-size:calc(15px * var(--uh));pointer-events:none;z-index:2}
#lookgal .lg-floor{position:absolute;left:0;right:0;bottom:0;height:calc(40px * var(--uh));background:#C98B5E;border-top:calc(3px * var(--uh)) solid var(--ui-ink);box-sizing:border-box}
/* a picture opened big: the child's colour, its bar in the phone board's px times --u (1.5 on the laptop board) */
#lookgal .lg-big{display:none;position:absolute;inset:0;z-index:5;flex-direction:column;align-items:stretch;padding:calc(12px * var(--u)) calc(16px * var(--u));
  background:inherit;background-color:var(--look-g)}
#lookgal.big .lg-big{display:flex}
#lookgal .lg-big .lk-bar{gap:calc(12px * var(--u));padding-bottom:calc(5px * var(--u))}
#lookgal .lg-big .cog{width:calc(52px * var(--u));height:calc(52px * var(--u));border-width:calc(3px * var(--u));border-radius:calc(16px * var(--u));box-shadow:0 calc(5px * var(--u)) 0 var(--ui-ink)}
#lookgal .lg-big .cog svg{width:calc(26px * var(--u));height:calc(26px * var(--u))}
#lookgal .lg-big .cog.lk-word{width:auto;height:calc(52px * var(--u));padding:0 calc(18px * var(--u));font-size:calc(18px * var(--u))}
#lookgal .lg-big .cog.lk-word svg{width:calc(22px * var(--u));height:calc(22px * var(--u))}
#lookgal .lg-big .lg-save{margin-right:calc(24px * var(--u))}
#lookgal .lg-big .lk-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
#lookgal .cog.lg-bin,#lookgal .cog.lg-yes{background:var(--ui-danger);color:#fff}
#lookgal .cog.lg-bin svg{width:calc(28px * var(--u));height:calc(28px * var(--u))}
#lookgal .lg-bigpic{flex:1 1 auto;min-height:0;display:flex;justify-content:center;align-items:center;padding-bottom:calc(10px * var(--u))}
#lookgal .lg-bigf{position:relative;cursor:default;flex:0 0 auto}
#lookgal .lg-ask{display:none;position:absolute;inset:0;z-index:6;background:rgba(42,30,30,.45);align-items:center;justify-content:center}
#lookgal.asking .lg-ask{display:flex}
#lookgal .lg-askp{box-sizing:border-box;width:calc(340px * var(--u));max-width:calc(100% - 32px);min-height:calc(142px * var(--u));padding:calc(16px * var(--u)) calc(20px * var(--u)) calc(20px * var(--u));
  display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:calc(14px * var(--u));background:var(--ui-paper);border:calc(3px * var(--u)) solid var(--ui-ink);
  border-radius:calc(20px * var(--u));box-shadow:0 calc(6px * var(--u)) 0 var(--ui-ink)}
#lookgal .lg-askp b{font-weight:900;font-size:calc(24px * var(--u));line-height:1.3;text-align:center}
#lookgal .lg-askb{display:flex;gap:calc(14px * var(--u));width:100%}
#lookgal .lg-askb .cog.lk-word{flex:1 1 0;justify-content:center;height:calc(52px * var(--u));font-size:calc(20px * var(--u));padding:0 calc(12px * var(--u))}
#lookgal .lg-askb .lg-no{background:#fff}
  border-radius:calc(4px * var(--uh));box-shadow:0 calc(8px * var(--uh)) 0 calc(3px * var(--uh)) var(--ui-ink);box-sizing:border-box}

/* Home: "My pictures" beside her chip */
html #home .topbar .look-homegal{display:flex;align-items:center;padding:0 calc(16px * var(--uh)) 0 calc(12px * var(--uh))}
html #home .topbar .look-homegal svg{width:calc(24px * var(--uh));height:calc(24px * var(--uh))}

/* Me */
#lookme .lm-panels{flex:1 1 auto;display:flex;gap:calc(14px * var(--u));min-height:0;align-items:stretch;padding-bottom:calc(5px * var(--u))}
#lookme .lm-animal{flex:354 1 0}
#lookme .lm-colours{flex:255 1 0}
#lookme .lm-pics{flex:211 1 0}
#lookme .lm-who{display:flex;align-items:center;gap:calc(12px * var(--u))}
#lookme .lm-face img{display:block;width:calc(60px * var(--u));height:calc(60px * var(--u));border-radius:50%;background:#fff;border:calc(3px * var(--u)) solid var(--ui-ink);object-fit:contain}
#lookme .lm-name{flex:1 1 auto;min-width:0;font-weight:900;font-size:calc(26px * var(--u));line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#lookme .cog.lm-rename{width:calc(44px * var(--u));height:calc(44px * var(--u))}
#lookme .lm-animals{display:grid;grid-template-columns:repeat(6,1fr);gap:calc(8px * var(--u)) calc(9px * var(--u));justify-items:center}
#lookme .lm-an{position:relative;box-sizing:border-box;width:calc(44px * var(--u));height:calc(44px * var(--u));padding:0;margin:0;border-radius:50%;background:#fff;
  border:calc(2px * var(--u)) solid var(--ui-ink);box-shadow:0 calc(4px * var(--u)) 0 var(--ui-ink);overflow:visible}
#lookme .lm-an img{display:block;width:100%;height:100%;border-radius:50%;object-fit:contain}
#lookme .lm-an.on,#lookme .lm-sw.on{transform:translateY(calc(4px * var(--u)));box-shadow:0 0 0 var(--ui-ink)}
#lookme .lm-an.on{background:var(--ui-chosen)}
#lookme .lm-an.on::after,#lookme .lm-sw.on::after{content:"";position:absolute;width:calc(20px * var(--u));height:calc(20px * var(--u));top:calc(-6px * var(--u));right:calc(-6px * var(--u));box-sizing:border-box;
  border:calc(2px * var(--u)) solid var(--ui-ink);border-radius:50%;
  background:var(--ui-go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A1E1E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/66% no-repeat}
#lookme .lm-swatches{display:grid;grid-template-columns:repeat(4,calc(46px * var(--u)));gap:calc(10px * var(--u));justify-content:start}
#lookme .lm-sw{position:relative;box-sizing:border-box;width:calc(46px * var(--u));height:calc(48px * var(--u));padding:0;margin:0;border:calc(3px * var(--u)) solid var(--ui-ink);
  border-radius:calc(12px * var(--u));box-shadow:0 calc(4px * var(--u)) 0 var(--ui-ink)}
#lookme .lm-newest{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;padding:0;margin:0;box-sizing:border-box;background:#fff;border:calc(3px * var(--u)) solid var(--ui-ink);
  border-radius:calc(16px * var(--u));box-shadow:0 calc(5px * var(--u)) 0 var(--ui-ink);overflow:hidden;text-align:left}
#lookme .lm-newest:active{transform:translateY(calc(5px * var(--u)));box-shadow:none}
#lookme .lm-newpic{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;padding:calc(6px * var(--u));box-sizing:border-box}
#lookme .lm-newpic svg{border:calc(3px * var(--u)) solid var(--ui-ink);border-radius:calc(8px * var(--u));box-sizing:border-box;width:100%;height:auto;max-height:100%}
#lookme .lm-newpic i{font-style:normal;font-weight:700;font-size:calc(14px * var(--u));color:var(--ui-muted);padding:calc(6px * var(--u))}
#lookme .lm-count{display:flex;align-items:center;justify-content:space-between;padding:calc(4px * var(--u)) calc(12px * var(--u)) calc(8px * var(--u));font-weight:900;font-size:calc(17px * var(--u))}
#lookme .lm-count svg{width:calc(22px * var(--u));height:calc(22px * var(--u))}

/* What I did */
#lookdid .ld-panels{flex:1 1 auto;display:flex;gap:calc(16px * var(--u));min-height:0;align-items:stretch;padding-bottom:calc(5px * var(--u))}
#lookdid .ld-days{flex:487 1 0}
#lookdid .ld-skills{flex:348 1 0}
#lookdid .ld-head{display:flex;justify-content:space-between;align-items:baseline;gap:calc(10px * var(--u))}
#lookdid .ld-total{font-weight:700;font-size:calc(15px * var(--u));color:var(--ui-muted);white-space:nowrap}
#lookdid .ld-cols{flex:1 1 auto;display:grid;grid-template-columns:repeat(14,1fr);align-items:end;min-height:0}
#lookdid .ld-col{display:flex;flex-direction:column;align-items:center;gap:calc(3px * var(--u))}
#lookdid .ld-n{font-weight:900;font-size:calc(15px * var(--u));line-height:1.2}
#lookdid .ld-mark{display:block;box-sizing:border-box;width:calc(24px * var(--u));height:calc(18px * var(--u));background:#fff;border:calc(2px * var(--u)) solid var(--ui-ink);border-radius:calc(3px * var(--u));
  box-shadow:inset 0 0 0 calc(3px * var(--u)) var(--ui-chosen)}
#lookdid .ld-dot{display:block;width:calc(6px * var(--u));height:calc(6px * var(--u));border-radius:50%;background:var(--ui-ink);opacity:.3;margin:calc(4px * var(--u)) 0}
#lookdid .ld-date{display:flex;align-items:center;justify-content:center;width:calc(24px * var(--u));height:calc(24px * var(--u));font-weight:700;font-size:calc(14px * var(--u))}
#lookdid .today .ld-date{background:var(--ui-chosen);border:calc(2px * var(--u)) solid var(--ui-ink);border-radius:50%;font-weight:900;box-sizing:border-box}
#lookdid .ld-list{flex:1 1 auto;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:calc(8px * var(--u))}
#lookdid .ld-row{display:flex;align-items:center;gap:calc(12px * var(--u))}
#lookdid .ld-row img{flex:0 0 auto;width:calc(52px * var(--u));height:calc(39px * var(--u));border:calc(2px * var(--u)) solid var(--ui-ink);border-radius:calc(6px * var(--u));background:#fff;object-fit:cover}
#lookdid .ld-row span{display:flex;flex-direction:column;min-width:0}
#lookdid .ld-row b{font-weight:900;font-size:calc(16px * var(--u));line-height:1.3}
#lookdid .ld-row i{font-style:normal;font-weight:500;font-size:calc(14px * var(--u));color:var(--ui-muted);line-height:1.35}

/* small text that stands on her ground gets paper under it on the two grounds where ink is under 4.5 on the patch (Blue, Candy: handover section 12 item 4) */
html[data-look-ground="blue"] #colour .look-game,html[data-look-ground="candy"] #colour .look-game,
html[data-look-ground="blue"] #home .homever,html[data-look-ground="candy"] #home .homever{background:var(--ui-paper);border-radius:calc(10px * var(--u));padding:0 calc(8px * var(--u));align-self:center;flex:0 1 auto;opacity:1}
html[data-look-ground="blue"] #colour[data-view="pick"] .coltitle,html[data-look-ground="candy"] #colour[data-view="pick"] .coltitle{flex:0 1 auto}
#lookgal .cog.lk-word{width:auto;height:calc(48px * var(--uh));padding:0 calc(16px * var(--uh)) 0 calc(12px * var(--uh))}
#lookgal .cog.lk-word svg{width:calc(22px * var(--uh));height:calc(22px * var(--uh))}

/* ===================== L4a (v136): the back office in Lagoon - "Who is playing?" and the gate =====================
   Lagoon is a ninth ground no child can pick (handover section 3 row 9b). "Who is playing?" is the phone board's px times --u
   (1.5 on the laptop), the gate times --ug (1.6 there). */
.look-back{--look-g:var(--ui-ground-lagoon);--look-g2:var(--ui-ground-lagoon-2)}
#edit.look-back{background-color:var(--look-g);font-family:var(--ui-font)}

#who .lw-row{flex:0 1 auto;margin-top:auto;display:flex;align-items:center;justify-content:safe center;gap:calc(16px * var(--u));overflow-x:auto;overflow-y:hidden;min-height:0;
  padding:calc(10px * var(--u)) calc(90px * var(--u)) calc(10px * var(--u)) calc(4px * var(--u));scrollbar-width:none}
#who .lw-tile{position:relative;flex:0 0 auto;box-sizing:border-box;width:calc(132px * var(--u));height:calc(150px * var(--u));margin:0;padding:calc(10px * var(--u)) calc(6px * var(--u));
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(8px * var(--u));background:#fff;color:var(--ui-ink);font-family:var(--ui-font);
  border:calc(3px * var(--u)) solid var(--ui-ink);border-radius:calc(20px * var(--u));box-shadow:0 calc(5px * var(--u)) 0 var(--ui-ink)}
#who .lw-tile:active{transform:translateY(calc(5px * var(--u)));box-shadow:none}
#who .lw-tile.on{background:var(--ui-chosen);transform:translateY(calc(5px * var(--u)));box-shadow:none}
#who .lw-tile.on::after{content:"";position:absolute;width:calc(26px * var(--u));height:calc(26px * var(--u));top:calc(-9px * var(--u));right:calc(-9px * var(--u));box-sizing:border-box;
  border:calc(2.5px * var(--u)) solid var(--ui-ink);border-radius:50%;
  background:var(--ui-go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A1E1E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/62% no-repeat}
#who .lw-face{box-sizing:border-box;width:calc(84px * var(--u));height:calc(84px * var(--u));flex:0 0 auto;border-radius:50%;background:#fff;border:calc(3px * var(--u)) solid var(--ui-ink);
  display:flex;align-items:center;justify-content:center;overflow:hidden}
#who .lw-face img{display:block;width:100%;height:100%;object-fit:contain}
#who .lw-new .lw-face{border-style:dashed;background:transparent}
#who .lw-new .lw-face svg{width:calc(36px * var(--u));height:calc(36px * var(--u))}
#who .lw-name{max-width:100%;font-weight:900;font-size:calc(20px * var(--u));line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#who .lw-new .lw-name{font-size:calc(17px * var(--u))}
#who .lw-foot{flex:0 0 auto;margin-bottom:auto;display:flex;justify-content:center;padding:calc(6px * var(--u)) 0 calc(10px * var(--u))}
#who .cog.lw-play{width:auto;min-width:calc(150px * var(--u));height:calc(56px * var(--u));padding:0 calc(22px * var(--u));gap:calc(12px * var(--u));border-radius:calc(18px * var(--u));
  background:var(--ui-go);font-size:calc(22px * var(--u))}
#who .cog.lw-play:active{background:var(--ui-go-press)}
#who .cog.lw-play svg{width:calc(24px * var(--u));height:calc(24px * var(--u))}

#lookgate{padding:calc(12px * var(--ug)) calc(16px * var(--ug))}
#lookgate .cog{width:calc(52px * var(--ug));height:calc(52px * var(--ug));border-width:calc(3px * var(--ug));border-radius:calc(16px * var(--ug));box-shadow:0 calc(5px * var(--ug)) 0 var(--ui-ink)}
#lookgate .cog svg{width:calc(26px * var(--ug));height:calc(26px * var(--ug))}
#lookgate .lk-bar{position:absolute;left:calc(16px * var(--ug));top:calc(12px * var(--ug))}
#lookgate .lgt-panel{box-sizing:border-box;width:calc(540px * var(--ug));max-width:calc(100% - 140px * var(--ug));min-height:calc(265px * var(--ug));margin:auto;
  display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;gap:calc(8px * var(--ug));padding:calc(14px * var(--ug)) calc(20px * var(--ug)) calc(16px * var(--ug));
  background:var(--ui-paper);border:calc(3px * var(--ug)) solid var(--ui-ink);border-radius:calc(22px * var(--ug));box-shadow:0 calc(6px * var(--ug)) 0 var(--ui-ink);text-align:center}
#lookgate p{margin:0}
#lookgate .lgt-lead{font-weight:700;font-size:calc(16px * var(--ug));line-height:1.35;color:var(--ui-muted)}
#lookgate .lgt-task{font-weight:900;font-size:calc(25px * var(--ug));line-height:1.3}
#lookgate .lgt-wrong{font-weight:500;font-size:calc(15px * var(--ug));line-height:1.35;color:var(--ui-muted)}
#lookgate .lgt-pens{display:flex;gap:calc(14px * var(--ug));padding-bottom:calc(5px * var(--ug))}
#lookgate .lgt-pen{box-sizing:border-box;width:calc(64px * var(--ug));height:calc(86px * var(--ug));padding:calc(8px * var(--ug)) 0;margin:0;background:#fff;
  border:calc(3px * var(--ug)) solid var(--ui-ink);border-radius:calc(14px * var(--ug));box-shadow:0 calc(5px * var(--ug)) 0 var(--ui-ink);
  transition:transform var(--ui-press-time) ease-out,box-shadow var(--ui-press-time) ease-out}
#lookgate .lgt-pen:active{transform:translateY(calc(5px * var(--ug)));box-shadow:none}
#lookgate .lgt-pen svg{display:block;height:100%;width:auto;margin:0 auto}
/* v125 gives #who its stripes by id; the patches have to win there too */
#who.look-screen{background-image:var(--lk-patches);background-attachment:scroll}
/* the screens after "New player" and "Change my name" are v125's (handover section 11: not drawn), in the boards' buttons, on Lagoon */
#edit.look-back{color:var(--ui-ink);background-image:none;padding:calc(12px * var(--u)) calc(16px * var(--u)) calc(14px * var(--u));gap:calc(12px * var(--u))}
#edit.look-back .topbar{background:none;padding:0;gap:calc(12px * var(--u));align-items:center}
#edit.look-back #edittitle{font-family:var(--ui-font);font-weight:900;font-size:calc(28px * var(--u));line-height:1.3;color:var(--ui-ink)}
#edit.look-back .topbar .cog{box-sizing:border-box;width:calc(52px * var(--u));height:calc(52px * var(--u));background:var(--ui-paper);color:var(--ui-ink);
  border:calc(3px * var(--u)) solid var(--ui-ink);border-radius:calc(16px * var(--u));box-shadow:0 calc(5px * var(--u)) 0 var(--ui-ink);font-size:calc(22px * var(--u))}
#edit.look-back #editpanel{background:var(--ui-paper);color:var(--ui-ink);font-family:var(--ui-font);border:calc(3px * var(--u)) solid var(--ui-ink);border-radius:calc(20px * var(--u));
  box-shadow:0 calc(5px * var(--u)) 0 var(--ui-ink);margin-bottom:calc(5px * var(--u))}
#edit.look-back .lbl,#edit.look-back .note{color:var(--ui-ink);font-family:var(--ui-font);font-weight:700}
#edit.look-back .note{color:var(--ui-muted);font-weight:500}
#edit.look-back .pname{font-family:var(--ui-font);color:var(--ui-ink);border-color:var(--ui-ink)}
#edit.look-back .avpick button{background:#fff;border:calc(2px * var(--u)) solid var(--ui-ink);border-radius:calc(14px * var(--u));box-shadow:0 calc(4px * var(--u)) 0 var(--ui-ink)}
#edit.look-back .avpick button.on{background:var(--ui-chosen);box-shadow:none;transform:translateY(calc(4px * var(--u)))}
#edit.look-back .btn{font-family:var(--ui-font);font-weight:900;color:var(--ui-ink);background:var(--ui-paper);border:calc(3px * var(--u)) solid var(--ui-ink);
  border-radius:calc(16px * var(--u));box-shadow:0 calc(5px * var(--u)) 0 var(--ui-ink)}
#edit.look-back .btn.k-ok{background:var(--ui-go)}
#edit.look-back .btn.danger{background:#F2553D}
#edit.look-back #edittitle::first-letter{text-transform:uppercase}

/* ===================== v138: Settings in Lagoon (boards 11 to 15; draw_look_sizes_v006.md), the phone board's px times --u ===================== */
#lookset{flex-direction:row;gap:calc(16px * var(--u));padding:calc(12px * var(--u)) calc(16px * var(--u))}
#lookset .ls-col{flex:0 0 calc(192px * var(--u));display:flex;flex-direction:column;gap:calc(10px * var(--u));min-height:0;overflow-y:auto;scrollbar-width:none;padding-bottom:calc(5px * var(--u))}
#lookset .cog{box-sizing:border-box;width:calc(48px * var(--u));height:calc(48px * var(--u));border-width:calc(3px * var(--u));border-radius:calc(16px * var(--u));box-shadow:0 calc(5px * var(--u)) 0 var(--ui-ink);flex:0 0 auto}
#lookset .cog svg{width:calc(26px * var(--u));height:calc(26px * var(--u))}
#lookset .cog.lk-word{width:auto;height:calc(48px * var(--u));padding:0 calc(14px * var(--u));font-size:calc(17px * var(--u));gap:calc(8px * var(--u))}
#lookset .cog.lk-word svg{width:calc(24px * var(--u));height:calc(24px * var(--u))}
#lookset .ls-sec{width:100% !important;height:calc(46px * var(--u)) !important;border-radius:calc(14px * var(--u));box-shadow:0 calc(4px * var(--u)) 0 var(--ui-ink);font-size:calc(15px * var(--u)) !important;justify-content:flex-start}
#lookset .ls-sec.on,#lookset .ls-lang.on,#lookset .ls-font.on,#lookset .ls-sndc.on{background:var(--ui-chosen);transform:translateY(calc(4px * var(--u)));box-shadow:0 0 0 var(--ui-ink)}
#lookset .ls-panels{flex:1 1 auto;min-width:0;min-height:0;overflow-y:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(calc(300px * var(--u)),1fr));align-content:start;
  gap:calc(14px * var(--u));padding:0 calc(2px * var(--u)) calc(10px * var(--u)) 0;scrollbar-width:thin}
#lookset .lk-panel{gap:calc(10px * var(--u))}
#lookset .lk-panel.ls-wide{grid-column:1 / -1}
#lookset .ls-h{display:flex;justify-content:space-between;align-items:baseline;gap:calc(8px * var(--u));font-size:calc(18px * var(--u))}
#lookset .ls-chosen{font-weight:700;font-size:calc(15px * var(--u));color:var(--ui-muted)}
#lookset .ls-row{display:flex;flex-wrap:wrap;gap:calc(10px * var(--u));align-items:center}
#lookset .ls-lang{height:calc(60px * var(--u)) !important;min-width:calc(84px * var(--u));background:#fff;font-size:calc(16px * var(--u)) !important}
#lookset .ls-lang svg{width:calc(34px * var(--u)) !important;height:auto !important;border-radius:calc(4px * var(--u))}
#lookset .wide{width:100% !important;height:calc(56px * var(--u)) !important;background:#fff;justify-content:center;font-size:calc(19px * var(--u)) !important}
#lookset .ls-voice{flex-wrap:nowrap}
#lookset .ls-vname{flex:1 1 auto;min-width:0;text-align:center;font-weight:900;font-size:calc(17px * var(--u));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#lookset .ls-step{display:flex;align-items:center;gap:calc(10px * var(--u))}
#lookset .ls-step + .ls-step{margin-top:calc(4px * var(--u))}
#lookset .ls-lab{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;font-weight:900;font-size:calc(17px * var(--u))}
#lookset .ls-lab i{font-style:normal;font-weight:500;font-size:calc(13px * var(--u));color:var(--ui-muted)}
#lookset .ls-step .cog{background:#fff}
#lookset .ls-val{min-width:calc(64px * var(--u));text-align:center;font-weight:900;font-size:calc(21px * var(--u))}
#lookset .ls-sample{display:flex;flex-direction:column;gap:calc(6px * var(--u));background:#fff;border:calc(3px * var(--u)) solid var(--ui-ink);border-radius:calc(12px * var(--u));padding:calc(10px * var(--u)) calc(12px * var(--u));overflow:hidden}
#lookset .ls-sample span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;color:var(--ui-ink)}
#lookset .ls-font{width:calc(49px * var(--u)) !important;height:calc(52px * var(--u)) !important;padding:0 !important;justify-content:center;background:#fff;font-weight:400 !important;font-size:calc(22px * var(--u)) !important}
#lookset .ls-note{margin:0;font-weight:500;font-size:calc(15px * var(--u));line-height:1.35;color:var(--ui-muted)}
#lookset .ls-games{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:calc(10px * var(--u)) calc(12px * var(--u))}
#lookset .ls-game{box-sizing:border-box;margin:0;padding:calc(6px * var(--u));display:flex;flex-direction:column;align-items:center;gap:calc(4px * var(--u));background:#fff;color:var(--ui-ink);font-family:var(--ui-font);
  border:calc(3px * var(--u)) solid var(--ui-ink);border-radius:calc(14px * var(--u));box-shadow:0 calc(5px * var(--u)) 0 var(--ui-ink);position:relative;text-align:center}
#lookset button.ls-game:not(.on) img{filter:grayscale(1);opacity:.55}
#lookset .ls-game.on{background:var(--ui-chosen);transform:translateY(calc(5px * var(--u)));box-shadow:none}
#lookset .ls-game.on::after{content:"";position:absolute;width:calc(22px * var(--u));height:calc(22px * var(--u));top:calc(-8px * var(--u));right:calc(-8px * var(--u));box-sizing:border-box;
  border:calc(2.5px * var(--u)) solid var(--ui-ink);border-radius:50%;
  background:var(--ui-go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A1E1E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/62% no-repeat}
#lookset .ls-game.board{background:var(--ui-paper);box-shadow:none}
#lookset .ls-game img{width:100%;aspect-ratio:16 / 10;object-fit:cover;border:calc(2px * var(--u)) solid var(--ui-ink);border-radius:calc(8px * var(--u));background:#fff;box-sizing:border-box}
#lookset .ls-game b{font-weight:900;font-size:calc(14px * var(--u));line-height:1.25}
#lookset .ls-game i{font-style:normal;font-weight:500;font-size:calc(14px * var(--u));color:var(--ui-muted)}
#lookset .ls-player{display:flex;align-items:center;gap:calc(10px * var(--u))}
#lookset .ls-player img{width:calc(44px * var(--u));height:calc(44px * var(--u));border-radius:50%;border:calc(3px * var(--u)) solid var(--ui-ink);background:#fff;box-sizing:border-box;object-fit:contain;flex:0 0 auto}
#lookset .ls-player > span{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
#lookset .ls-player b{font-weight:900;font-size:calc(17px * var(--u));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#lookset .ls-player i{font-style:normal;font-weight:500;font-size:calc(15px * var(--u));color:var(--ui-muted)}
#lookset .ls-remove{height:calc(40px * var(--u)) !important;font-size:calc(15px * var(--u)) !important;background:#fff;max-width:55%}
#lookset .ls-remove span{white-space:normal;line-height:1.15;text-align:center}
#lookset .ls-remove.armed{background:var(--ui-danger);color:#fff}
#lookset .ls-copy,#lookset .ls-load,#lookset .ls-psave,#lookset .ls-pload,#lookset .ls-tcopy,#lookset .ls-again{background:#fff;font-size:calc(16px * var(--u)) !important}
#lookset .ls-paste{flex:1 1 auto;min-width:0;height:calc(40px * var(--u));box-sizing:border-box;resize:none;font-family:var(--ui-font);font-size:calc(15px * var(--u));padding:calc(8px * var(--u)) calc(10px * var(--u));
  border:calc(3px * var(--u)) solid var(--ui-ink);border-radius:calc(10px * var(--u));background:#fff;color:var(--ui-ink)}
#lookset .ls-said{font-weight:700;font-size:calc(14px * var(--u));color:var(--ui-muted)}
#lookset .ls-sheet{margin:0;max-height:calc(150px * var(--u));overflow:auto;background:#fff;border:calc(3px * var(--u)) solid var(--ui-ink);border-radius:calc(10px * var(--u));
  padding:calc(8px * var(--u)) calc(10px * var(--u));font-family:ui-monospace,Menlo,Consolas,monospace;font-size:calc(11px * var(--u));line-height:1.4;white-space:pre-wrap;word-break:break-word;color:var(--ui-ink);user-select:text}
#lookset .ls-td .testdata{margin:0}
html .tile.lk-hidden{display:none !important}
#lookset .ls-said:empty,#lookset .ls-psaid:empty{display:none}
#lookset .ls-pics .cog.lk-word{height:calc(40px * var(--u))}
/* v138 renders: three languages and five styles in one row of a phone panel; Keep a copy within the phone's height */
#lookset .ls-lang{width:calc(84px * var(--u));min-width:0;padding:0 !important;justify-content:center;gap:calc(6px * var(--u)) !important}
#lookset .ls-fonts{gap:calc(7px * var(--u));flex-wrap:nowrap}
#lookset .ls-lnote{font-size:calc(13px * var(--u))}
#lookset .ls-pics{flex-wrap:nowrap}
#lookset .ls-pics .cog.lk-word{flex:1 1 0;min-width:0;padding:0 calc(8px * var(--u));font-size:calc(14px * var(--u)) !important;justify-content:center}
#lookset .ls-pics .cog.lk-word svg{display:none}
#lookset .ls-pics .cog.lk-word span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* v125's test-data box, moved into Testing as it is (handover section 3 row 15), in ink so it reads on paper */
#lookset .testdata{margin:0;color:var(--ui-ink);font-family:var(--ui-font);font-size:calc(14px * var(--u));border-color:var(--ui-ink)}
#lookset .testdata .tdhead{color:var(--ui-ink)}
#lookset .testdata .tdwhat{opacity:1;color:var(--ui-ink)}
#lookset .ls-lang svg{width:calc(26px * var(--u)) !important}

/* v140 (DR-Q55 A, DR-Q56 A): "Sound and language" as board 11 draws it. The language buttons: the flag above the code, the
   chosen one yellow with the green tick on its corner; the section buttons with their pictures; Sound a switch; two columns. */
#lookset .ls-sec svg,#lookset .ls-aa{flex:0 0 auto;width:calc(22px * var(--u)) !important;height:calc(22px * var(--u)) !important}
#lookset .ls-aa{display:flex;align-items:center;justify-content:center;font-weight:900;font-size:calc(16px * var(--u));line-height:1;letter-spacing:-.02em}
#lookset .ls-lang{position:relative;overflow:visible;flex-direction:column;width:calc(84px * var(--u)) !important;height:calc(62px * var(--u)) !important;gap:calc(3px * var(--u)) !important;padding:calc(4px * var(--u)) 0 0 !important;font-size:calc(15px * var(--u)) !important;font-weight:900}
#lookset .ls-lang svg{width:calc(32px * var(--u)) !important;height:calc(22px * var(--u)) !important;flex:0 0 auto;border-radius:calc(3px * var(--u));overflow:hidden}
#lookset .ls-lang span{line-height:1}
#lookset .ls-lang.on::after{content:"";position:absolute;width:calc(22px * var(--u));height:calc(22px * var(--u));top:calc(-8px * var(--u));right:calc(-8px * var(--u));box-sizing:border-box;
  border:calc(2.5px * var(--u)) solid var(--ui-ink);border-radius:50%;
  background:var(--ui-go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A1E1E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/62% no-repeat}
#lookset .ls-panels.ls-cols{display:flex;align-items:flex-start}
#lookset .ls-cols > .ls-c{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:calc(14px * var(--u))}
#lookset .ls-sw{box-sizing:border-box;width:100%;height:calc(56px * var(--u));margin:0;display:flex;align-items:center;gap:calc(12px * var(--u));padding:0 calc(14px * var(--u));background:#fff;color:var(--ui-ink);
  font-family:var(--ui-font);font-weight:900;font-size:calc(19px * var(--u));border:calc(3px * var(--u)) solid var(--ui-ink);border-radius:calc(16px * var(--u));box-shadow:0 calc(5px * var(--u)) 0 var(--ui-ink);cursor:pointer}
#lookset .ls-sw svg{flex:0 0 auto;width:calc(26px * var(--u));height:calc(26px * var(--u))}
#lookset .ls-sw span{flex:1 1 auto;min-width:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#lookset .ls-track{flex:0 0 auto;position:relative;box-sizing:border-box;width:calc(62px * var(--u));height:calc(34px * var(--u));border:calc(3px * var(--u)) solid var(--ui-ink);border-radius:999px;background:var(--ui-paper);transition:background .2s}
#lookset .ls-track.on{background:var(--ui-go)}
#lookset .ls-knob{position:absolute;top:calc(1px * var(--u));left:calc(1px * var(--u));box-sizing:border-box;width:calc(26px * var(--u));height:calc(26px * var(--u));border:calc(2.5px * var(--u)) solid var(--ui-ink);border-radius:50%;background:#fff;transition:left .2s}
#lookset .ls-track.on .ls-knob{left:calc(29px * var(--u))}

/* v141 (L5a, DR-Q54 A): the rabbits on Home and in the game (handover v007 section 6). Heights are the boards': Home 56 / 150,
   in the game 114 / 188 (phone / laptop board); the laptop board's sizes are written at its own scale, --u / 1.5. */
html.look{--nep-l:calc(27px * var(--u));--nep-b:calc(3px * var(--u));--nep-h:calc(56px * var(--u))}
html.look[data-look-board="laptop"]{--nep-l:calc(58px * var(--u) / 1.5);--nep-b:calc(8px * var(--u) / 1.5);--nep-h:calc(150px * var(--u) / 1.5)}
.lk-homenep{position:fixed;left:var(--nep-l);bottom:var(--nep-b);height:var(--nep-h);width:calc(var(--nep-h) * 240 / 260);z-index:1;pointer-events:none}
/* the version line on Home starts after her, so she never stands on it (not on the boards, which show no version) */
html.look #home .homever{left:calc(var(--nep-l) + var(--nep-h) * 240 / 260 + 8px * var(--u))}
.lk-homenep svg,.lk-pk svg{width:100%;height:100%;pointer-events:none}
.lk-peeks{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.lk-pk{position:absolute;bottom:0;left:-200px;height:calc(114px * var(--u));width:calc(114px * var(--u) * 240 / 260);pointer-events:none;transform-origin:50% 100%}
html[data-look-board="laptop"] .lk-pk{height:calc(188px * var(--u) / 1.5);width:calc(188px * var(--u) / 1.5 * 240 / 260)}
.lk-pk-l.go{animation:lkPeekL 6s cubic-bezier(.45,0,.3,1) 1 both}
.lk-pk-r.go{animation:lkPeekR 6s cubic-bezier(.45,0,.3,1) 1 both}
/* the canvas's spL and spR (rabbits_alive_v001.css), one visit: their first 16.5% of 36 s stretched to 6 s */
@keyframes lkPeekL{0%{transform:translateX(0%) rotate(0deg)}15.8%{transform:translateX(65.1%) rotate(6deg)}25.5%,45.5%{transform:translateX(62%) rotate(4deg)}54.5%{transform:translateX(62%) rotate(8.8deg)}63.6%,84.8%{transform:translateX(62%) rotate(4deg)}100%{transform:translateX(0%) rotate(0deg)}}
@keyframes lkPeekR{0%{transform:translateX(0%) rotate(0deg)}15.8%{transform:translateX(-65.1%) rotate(-6deg)}25.5%,45.5%{transform:translateX(-62%) rotate(-4deg)}54.5%{transform:translateX(-62%) rotate(-8.8deg)}63.6%,84.8%{transform:translateX(-62%) rotate(-4deg)}100%{transform:translateX(0%) rotate(0deg)}}
@media (prefers-reduced-motion: reduce){.lk-pk{display:none}}

/* v142 (L5b, DR-Q59 A): the rest of the rabbits, where the boards have them. Each place is three numbers from the board,
   measured on her body (ears to feet, 192 of the drawing's 260 units): its height as drawn (--rb-h), the body's distance
   from the screen's side (--rb-side) and from its bottom (--rb-bot). The drawing's own margins round the body (40 units
   under her feet, 8 of them kept for her outline; 65 beside Venus, 77 beside Neptune, --rb-m) turn those into the drawing's box. Laptop board values at
   its own scale (--u / 1.5). */
.lk-rb{position:fixed;z-index:5;pointer-events:none;--k:calc(1px * var(--u));height:calc(var(--rb-h) * var(--k) * 228 / 260);width:calc(var(--rb-h) * var(--k) * 240 / 260);
  bottom:calc(var(--rb-bot) * var(--k) - var(--rb-h) * var(--k) * 8 / 260)}
html[data-look-board="laptop"] .lk-rb{--k:calc(1px * var(--u) / 1.5)}
.lk-rb svg{width:100%;height:100%;pointer-events:none}
.lk-rb.rb-done-v{--rb-m:65;left:calc(var(--rb-side) * var(--k) - var(--rb-h) * var(--k) * var(--rb-m) / 260)}
.lk-rb.rb-done-n,.lk-rb.rb-who,.lk-rb.rb-gate{right:calc(var(--rb-side) * var(--k) - var(--rb-h) * var(--k) * var(--rb-m) / 260)}
.lk-rb.rb-done-n{--rb-m:77}
.lk-rb.rb-who,.lk-rb.rb-gate{--rb-m:65}
.lk-rb.rb-done-v,.lk-rb.rb-done-n{--rb-h:100;--rb-side:46;--rb-bot:2}
html[data-look-board="laptop"] .lk-rb.rb-done-v,html[data-look-board="laptop"] .lk-rb.rb-done-n{--rb-h:150;--rb-side:68;--rb-bot:2}
.lk-rb.rb-who{--rb-h:118;--rb-side:49;--rb-bot:8}
html[data-look-board="laptop"] .lk-rb.rb-who{--rb-h:177;--rb-side:74;--rb-bot:10}
.lk-rb.rb-gate{--rb-h:132;--rb-side:52;--rb-bot:8}
html[data-look-board="laptop"] .lk-rb.rb-gate{--rb-h:211;--rb-side:84;--rb-bot:11}
/* What I did: Neptune over the top of the right panel, 24 in from its right edge; she rises from behind its top edge */
#lookdid .ld-skills{position:relative}
.ld-nep{position:absolute;bottom:100%;right:calc(24px * var(--u));--nh:calc(74px * var(--u));height:calc(var(--nh) * 220 / 260);width:calc(var(--nh) * 240 / 260);overflow:hidden;pointer-events:none}
html[data-look-board="laptop"] .ld-nep{--nh:calc(111px * var(--u) / 1.5);right:calc(24px * var(--u) / 1.5)}
.ld-nepin{width:100%;height:100%;transform:translateY(105%)}
.ld-nepin svg{width:100%;height:calc(var(--nh));display:block;pointer-events:none}
@media (prefers-reduced-motion: reduce){.ld-nep{display:none}}

/* v144 (Wout, 1 Dec, on his phone): the test-data box ran out of the bottom of its panel. It now scrolls inside the
   panel, with a thin scrollbar, so its button and its last line are always reachable there. */
/* Testing's panels are as tall as the box, but never taller than the space there is: the box scrolls only when the screen is too short for it */
#lookset .ls-panels.ls-test{grid-auto-rows:fit-content(100%)}
#lookset .lk-panel.ls-tdp{min-height:0;overflow:hidden}
#lookset .ls-tdp .ls-td{flex:0 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:calc(4px * var(--u))}

/* v145 (Wout, 1 Dec): "Sound and language" - Language and Sound side by side, Reading voice under both across the width,
   so the voice's whole name shows (v125 cut it at 12 letters; v140's narrow column cut it again) */
#lookset .ls-panels.ls-snd{grid-template-columns:1fr 1fr}
#lookset .ls-vname{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.15}

/* v147 (UX-Q100 A, shared look v002 section 3): Sound, three choices in a row; they widen as their words need (0.75, 1, 1.5);
   each label keeps clear of the tick's corner (9 at the left, 21 at the right on the phone board; the laptop's by --u) */
#lookset .ls-snd3{flex-wrap:nowrap}
#lookset .ls-sndc{position:relative;overflow:visible;min-width:0;height:calc(62px * var(--u)) !important;padding:0 calc(21px * var(--u)) 0 calc(9px * var(--u)) !important;font-size:calc(15px * var(--u)) !important;font-weight:900;line-height:1.15;white-space:normal;text-align:center;justify-content:center}
#lookset .ls-sndc[data-m="1"]{flex:.75 1 0}#lookset .ls-sndc[data-m="2"]{flex:1 1 0}#lookset .ls-sndc[data-m="3"]{flex:1.5 1 0}
#lookset .ls-sndc span{overflow-wrap:normal;word-break:normal}
#lookset .ls-sndc.on::after{content:"";position:absolute;width:calc(22px * var(--u));height:calc(22px * var(--u));top:calc(-8px * var(--u));right:calc(-8px * var(--u));box-sizing:border-box;
  border:calc(2.5px * var(--u)) solid var(--ui-ink);border-radius:50%;
  background:var(--ui-go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A1E1E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/62% no-repeat}

/* ---- v148, the shared look's P5: a game's (or a panel's) choices sheet, over the screen she is on, on the screen dimmed
   (ink at 45%), paper with the ink border and lip. Phone board: 0.9 of the width, two columns of rows; laptop board: 0.62 of
   the width, one column, at 1.5 (games_look_sizes_v001.md section 5). The gate, opened over a screen, stands above it. ---- */
#lookgate.over{position:fixed;inset:0;z-index:40}
#lookchoices{display:none;position:fixed;inset:0;z-index:41;align-items:center;justify-content:center;background:rgba(42,30,30,.45);font-family:var(--ui-font);color:var(--ui-ink)}
#lookchoices.on{display:flex}
#lookchoices .lk-chpanel{box-sizing:border-box;width:calc(100vw * .9);max-height:calc(100dvh - 16px * var(--u));background:var(--ui-paper);border:calc(3px * var(--u)) solid var(--ui-ink);
  border-radius:calc(20px * var(--u));box-shadow:0 calc(5px * var(--u)) 0 var(--ui-ink);padding:calc(14px * var(--u)) calc(18px * var(--u)) calc(16px * var(--u));display:flex;flex-direction:column;gap:calc(10px * var(--u))}
html[data-look-board="laptop"] #lookchoices .lk-chpanel{width:calc(100vw * .62)}
#lookchoices .lk-chhead{display:flex;align-items:center;justify-content:space-between;gap:calc(12px * var(--u))}
#lookchoices .lk-chtitle{font-weight:900;font-size:calc(19px * var(--u));line-height:1.3}
#lookchoices .lk-chrows{display:grid;grid-template-columns:1fr 1fr;grid-auto-flow:column;grid-template-rows:repeat(3,auto);gap:calc(8px * var(--u)) calc(28px * var(--u))}
html[data-look-board="laptop"] #lookchoices .lk-chrows{grid-template-columns:1fr;grid-auto-flow:row;grid-template-rows:none}
#lookchoices .lk-chrow{display:grid;grid-template-columns:calc(118px * var(--u)) calc(44px * var(--u)) 1fr calc(44px * var(--u));align-items:center;gap:calc(8px * var(--u));min-height:calc(52px * var(--u))}
#lookchoices .lk-chrow.dim{opacity:.4}
#lookchoices .lk-chlab{font-weight:700;font-size:calc(15px * var(--u));line-height:1.25}
#lookchoices .lk-chval{display:flex;flex-direction:column;align-items:center;gap:calc(3px * var(--u));font-weight:700;font-size:calc(15px * var(--u));text-align:center;line-height:1.2;min-width:0}
#lookchoices .lk-chopp{grid-column:2 / span 3;display:flex;gap:calc(12px * var(--u))}
#lookchoices .cog{box-sizing:border-box;flex:0 0 auto;width:calc(44px * var(--u));height:calc(44px * var(--u));padding:0;margin:0;display:flex;align-items:center;justify-content:center;position:relative;
  background:#fff;color:var(--ui-ink);border:calc(3px * var(--u)) solid var(--ui-ink);border-radius:calc(14px * var(--u));box-shadow:0 calc(4px * var(--u)) 0 var(--ui-ink);
  transition:transform var(--ui-press-time) ease-out,box-shadow var(--ui-press-time) ease-out,background-color var(--ui-press-time) ease-out}
#lookchoices .cog svg{width:calc(22px * var(--u));height:calc(22px * var(--u))}
#lookchoices .cog:active{transform:translateY(calc(4px * var(--u)));box-shadow:0 0 0 var(--ui-ink);background:var(--ui-press)}
#lookchoices .lk-chx{width:calc(48px * var(--u));height:calc(48px * var(--u));background:var(--ui-paper)}
#lookchoices .lk-chchip{width:calc(52px * var(--u));height:calc(48px * var(--u))}
#lookchoices .lk-chchip.on{background:var(--ui-chosen);transform:translateY(calc(4px * var(--u)));box-shadow:none}
#lookchoices .lk-chchip.on::after{content:"";position:absolute;width:calc(22px * var(--u));height:calc(22px * var(--u));top:calc(-9px * var(--u));right:calc(-9px * var(--u));box-sizing:border-box;border-radius:50%;
  border:calc(2px * var(--u)) solid var(--ui-ink);background:var(--ui-go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A1E1E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 75% no-repeat}
.lk-dots{display:inline-flex;gap:calc(3px * var(--u))}
.lk-dots i{display:block;width:calc(9px * var(--u));height:calc(9px * var(--u));border-radius:50%;box-sizing:border-box;border:calc(1.6px * var(--u)) solid var(--ui-ink);background:#fff}
.lk-dots i.on{background:var(--ui-ink)}
/* Settings, The games: a Choices button under each game that has choices (P4) */
#lookset .ls-games .ls-choices{justify-self:stretch;justify-content:center;height:calc(40px * var(--u));padding:0 calc(10px * var(--u));background:#fff;font-size:calc(15px * var(--u))}
#lookset .ls-games .ls-choices svg{width:calc(20px * var(--u));height:calc(20px * var(--u))}
