/* Team Review layout. Every colour and font is a variable from /theme.css (brand/gangle/theme.json). */
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.45 var(--font-body);-webkit-text-size-adjust:100%}
a{color:var(--accent)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.h{font-family:var(--font-heading);font-weight:400;letter-spacing:.03em;margin:0}
button,select,textarea,input{font:inherit;color:var(--ink)}
button,select{min-height:44px;min-width:44px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:0 12px;cursor:pointer;touch-action:manipulation}
button.on,button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);font-weight:700}
button:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.top{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 16px;padding-top:max(8px,env(safe-area-inset-top));background:color-mix(in srgb,var(--bg) 88%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:baseline;gap:10px;text-decoration:none;color:var(--ink);min-width:0}
.wm{display:inline-flex;align-items:center;gap:3px;font-family:var(--font-wordmark);font-size:22px;color:var(--ink);white-space:nowrap;transform:rotate(var(--wm-tilt,0deg));transform-origin:left center}
.wm .pill{background:var(--accent);color:var(--accent-ink);padding:0 6px;border-radius:10px}
.team{font-family:var(--font-heading);font-size:20px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.who select{max-width:46vw}
.testbar{font-size:13px;color:var(--muted);padding:6px 16px;border-bottom:1px solid var(--line)}
main{padding:12px 16px 32px;max-width:1400px;margin:0 auto}
/* home */
.home h1{font-size:34px}
.key{display:flex;flex-wrap:wrap;align-items:center;gap:2px 18px;font-size:13px;color:var(--muted);margin:-4px 0 12px}
.key b{color:var(--ink);margin-right:4px}.key a{color:var(--accent);font-weight:600;min-height:32px;line-height:32px}
.pairsw{margin:6px 0 0}
.filters{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px}
.group{margin:18px 0}
.group h2{font-size:24px;color:var(--muted);margin-bottom:6px}
.clips{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:8px}
.clip{display:flex;align-items:center;gap:12px;min-height:56px;padding:10px 12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);color:var(--ink);text-decoration:none}
.clip .k{font-family:var(--font-heading);font-size:18px;color:var(--accent);min-width:64px}
.clip .k.goal{color:var(--gangle)}
.clip .k.them{color:var(--ink)}
.rdot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:7px;vertical-align:0;background:var(--ready-none)}
.rdot.green{background:var(--ready-all)}
.rdot.amber{background:var(--ready-some)}
.clip .t{flex:1;min-width:0}
.clip .m{font-size:13px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:2px}
.clip .mt{min-width:0}
.num{flex:none;display:inline-flex;align-items:baseline;gap:4px;padding:1px 8px;border-radius:6px;border:1px solid currentColor;font-family:var(--font-heading)}
.num small{font-size:12px;letter-spacing:.06em;text-transform:uppercase}.num b{font-size:18px;font-weight:400}
.num.weight,.num.chance{color:var(--gangle)}.num.hurt,.num.cost{color:var(--accent)}
.clip .bs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}
.clip .bs .gbimg{height:22px;width:auto}
.wtag{font-family:var(--font-heading);font-size:14px;letter-spacing:.06em;padding:1px 6px;border-radius:5px;background:var(--surface2);color:var(--ink)}
.unsure{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;border:1px dashed var(--muted);color:var(--muted);font-size:13px;font-weight:700}
.clip.off{opacity:.55}
.badge{display:inline-block;min-width:24px;padding:2px 8px;border-radius:999px;background:var(--accent);color:var(--accent-ink);font-size:13px;font-weight:700;text-align:center}
.inbox{background:var(--surface);border:1px solid var(--accent);border-radius:var(--radius);padding:10px 12px;margin-bottom:8px}
.inbox h2{font-size:22px}
.inbox li{margin:6px 0}
/* player */
.ptitle{display:flex;gap:10px;align-items:center;margin-bottom:8px;flex-wrap:wrap}
.ptxt{flex:1;min-width:220px}
/* the card's chip + badges on the player too (owner 10-29): top right beside the title; under it on a phone */
.pbadges{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px;margin-left:auto}
.pbadges:empty{display:none}.pbadges .gbimg{height:28px}.pbadges .num b{font-size:22px}
@media (max-width:640px){.pbadges{justify-content:flex-start;margin-left:0;width:100%}}
.ptitle h1{font-size:26px;line-height:1.1}
.back{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;font-size:22px}
.sub{color:var(--muted);font-size:14px}
.callnote{color:var(--ready-some);font-size:13px;margin-top:4px}
.pgrid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.stage{position:relative;background:#000;aspect-ratio:16/9;width:100%;overflow:hidden;border-radius:var(--radius);touch-action:none}
.stage video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transform-origin:0 0}
.hud{position:absolute;left:6px;top:6px;background:rgba(0,0,0,.6);color:var(--on-video);padding:2px 8px;border-radius:6px;font:12px/1.4 ui-monospace,Consolas,monospace;pointer-events:none}
.hud.r{left:auto;right:6px}
.flash{position:absolute;left:0;right:0;bottom:10px;text-align:center;pointer-events:none;display:none}   /* 10-29: no fade over the video (iOS update: black picture) */
.flash span{background:rgba(0,0,0,.7);color:var(--on-video);padding:4px 10px;border-radius:6px}
.flash.on{display:block}
.vmsg{position:absolute;inset:auto 8px 40px;background:rgba(0,0,0,.8);color:var(--on-video);padding:8px;border-radius:6px;font-size:14px}
.bar{position:relative;height:44px;cursor:pointer;touch-action:none}
.bar .track{position:absolute;left:0;right:0;top:19px;height:6px;background:var(--line);border-radius:3px}
.bar .loop{position:absolute;top:16px;height:12px;border:1px solid var(--accent);border-radius:3px;opacity:.7}
.bar .head{position:absolute;top:8px;width:3px;height:28px;background:var(--ink);transform:translateX(-1px)}
/* timeline markers (owner 10-28 late): laid over the bar like the old diamond, adding no height; the icon sits on the
   track at its moment (no stem); 28 x 44 px tap targets; the playhead stays drawn on top */
.mkrow{position:relative;height:0}
.mk{position:absolute;top:0;width:28px;height:44px;min-width:28px;min-height:44px;margin-left:-14px;padding:0;background:transparent;border:0;display:flex;align-items:center;justify-content:center;color:var(--muted)}
.mk svg{width:20px;height:20px;fill:currentColor;stroke:var(--bg);stroke-width:1.4;stroke-linejoin:round;pointer-events:none;filter:drop-shadow(0 1px 1px rgba(0,0,0,.6))}
.bar .head{z-index:5;pointer-events:none}
.mk-goal{color:var(--gangle);z-index:3}
.mk-call{color:var(--spark);z-index:2}
.mk-call svg .hole{fill:var(--bg);stroke:none}
.mk-call svg .cord{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.mk-note{color:var(--accent);z-index:1}
.mk:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:var(--radius)}
.mkpop{position:absolute;bottom:4px;z-index:4;max-width:80%;padding:4px 10px;border-radius:6px;background:var(--surface2);border:1px solid var(--line);color:var(--ink);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
/* watch mode (owner 10-28): the stage alone over the whole screen, black, no controls; real full screen where the browser
   has it for an element, else this fixed overlay (iPhone). A tap = play/pause (the big icon), the X fades after 2 s */
body.tr-watch{overflow:hidden}
.stage.watching{position:fixed!important;inset:0;z-index:50;width:auto!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;border-radius:0;background:#000}
.stage:fullscreen{width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;border-radius:0;background:#000}
.stage.watching .hud,.stage.watching .flash{display:none}
.wicon{position:absolute;left:50%;top:50%;width:84px;height:84px;margin:-42px 0 0 -42px;border-radius:50%;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .35s;pointer-events:none}
.wicon.on{opacity:1;transition:none}
.wicon svg{width:44px;height:44px;fill:var(--on-video)}
.wx{position:absolute;top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));z-index:2;width:48px;height:48px;border-radius:50%;padding:0;background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.35);color:var(--on-video);font-size:22px;line-height:1;transition:opacity .5s}
.wx.off{opacity:0;pointer-events:none}
.fine{height:36px;background:var(--surface);border-radius:6px;position:relative;overflow:hidden;cursor:ew-resize;touch-action:none}
.fine .tick{position:absolute;bottom:0;width:1px;background:var(--line)}
.fine .tick.s{background:var(--muted)}
.fine .mid{position:absolute;left:50%;top:0;bottom:0;width:2px;background:var(--accent)}
.fine .lab{position:absolute;top:2px;font-size:11px;color:var(--muted);transform:translateX(3px)}
.ctl{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px}
.ctl.main{display:grid;grid-template-columns:repeat(5,1fr)}
.ctl.main button{min-height:52px;font-size:18px;padding:0 4px}
.ctl .lbl{color:var(--muted);font-size:13px;min-width:48px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.hint{font-size:13px;color:var(--muted)}
.notes{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:12px;align-self:start}
.notes h2{font-size:24px}
.compose{display:grid;gap:8px;margin:8px 0 12px}
.crow{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.at{font:14px ui-monospace,Consolas,monospace;color:var(--accent)}
textarea{width:100%;min-height:72px;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:10px;font-family:var(--font-body);font-size:16px;resize:vertical}
.nlist{list-style:none;margin:0;padding:0}
.n{border-top:1px solid var(--line);padding:10px 0}
.n .meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.n .tm{min-height:36px;padding:0 10px;font:14px ui-monospace,Consolas,monospace;color:var(--accent);background:var(--bg)}
.n .tag{border:1px solid var(--line);border-radius:999px;padding:1px 8px}
.n .tag.coach{border-color:var(--accent);color:var(--accent)}
.n .txt{margin:6px 0 0;white-space:pre-wrap;word-wrap:break-word;font-family:var(--font-body)}
.n .acts{display:flex;gap:6px;margin-top:6px}
.n .acts button{min-height:40px;font-size:14px}
.reply{margin-left:18px;border-left:2px solid var(--line);padding-left:10px}
.replyform{display:grid;gap:6px;margin-top:6px}
.empty{color:var(--muted);font-size:14px}
/* "Who sees it": one row of segments; the player numbers in a bottom sheet */
.seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.seg button{border:0;border-radius:0;min-width:0;padding:0 4px;font-size:15px;background:var(--bg)}
.seg button+button{border-left:1px solid var(--line)}
.seg button.on{background:var(--accent);color:var(--accent-ink)}
.seg.small button{min-height:40px;font-size:13px}
.tagline{justify-self:start;min-height:44px;background:transparent;border:1px dashed var(--line);color:var(--accent);font-size:14px}
.sheetback{position:fixed;inset:0;z-index:20;background:rgba(0,0,0,.5);display:flex;align-items:flex-end;justify-content:center}
.sheet{width:100%;max-width:560px;max-height:70svh;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius) var(--radius) 0 0;padding:12px 16px;padding-bottom:max(12px,env(safe-area-inset-bottom))}
.sheethead{display:flex;gap:8px;align-items:center;margin-bottom:10px}
.sheethead .h{flex:1;font-size:22px}
.numgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:6px;margin-bottom:8px}
.numgrid button{min-height:48px;padding:0;font-size:18px;font-weight:700}
.numgrid button.test{color:var(--muted);border-style:dashed}
.numgrid button.on{color:var(--accent-ink)}
/* drawing over the picture; playlist bar */
.stage canvas.ink{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;touch-action:none}
.stage canvas.ink.on{pointer-events:auto;cursor:crosshair}
.drawbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px;padding:6px;background:var(--surface);border:1px solid var(--accent);border-radius:var(--radius)}
.drawbar button{font-size:18px;padding:0 10px}
.drawbar button.sw{background:var(--sw);border:2px solid var(--line)}
.drawbar button.sw.on{border:3px solid var(--ink);outline:2px solid var(--bg)}
.ctl.tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}
.drawnote{display:flex;gap:8px;align-items:center;color:var(--accent);font-size:14px}
.drawnote button{min-height:40px;font-size:14px}
.plbar{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:8px}
.plbar .pllab{flex:1;min-width:120px;text-align:center;font-family:var(--font-heading);font-size:20px;color:var(--ink);text-decoration:none}
.plbar .plnote{flex-basis:100%;margin:0;color:var(--muted)}
button:disabled{opacity:.4}
.prog{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:6px;margin-top:6px}
.pcell{padding:6px 8px;border:1px solid var(--line);border-radius:var(--radius);font-size:14px}
.pcell.done{border-color:var(--accent)}
.inp{min-height:44px;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:0 10px}
/* round 4: feedback, playlist end, drawing draft */
.tright{display:flex;gap:6px;align-items:center;min-width:0}
.fbbtn{font-size:14px;padding:0 10px}
@media (max-width:430px){.wm{font-size:18px}}
/* 10-30 (owner): the profile menu ran off the right edge on every phone (page 432-584 px wide on 375-440 px screens) and
   '14U2 Review' showed on the big phones: on phones the team name goes and the menu shrinks to the space left */
@media (max-width:640px){.team{display:none}
  .tright{flex:1 1 auto;justify-content:flex-end}.who{flex:0 1 auto;min-width:0;display:flex}
  .who select{width:100%;min-width:0;max-width:100%;text-overflow:ellipsis}}
@media (max-width:400px){.wm{font-size:16px}.who select{padding:0 8px}.top{padding-left:12px;padding-right:12px}}
/* 10-29 (owner's iPhone screenshot): Help ran over the logo, Feedback was cut to 'Feedb': on a phone they are icons */
.lshort{display:none}
@media (max-width:480px){.lfull{display:none}.lshort{display:inline;font-weight:700}svg.lshort{display:block}
  .tright{gap:4px}.fbbtn{padding:0 10px}.who select{max-width:42vw;font-size:14px}.brand{flex:none}}
/* the basic player has no zoom: its row and hint go */
.basic #zin,.basic #zout,.basic #zfit,.basic .ctl:has(#zin){display:none!important}
/* owner 10-29 (iPhone): the seconds ruler jumped, and our play row fought the phone's own controls: both go there;
   the bar with the puck and the line, speed and jump stay */
.basic #fine,.basic #rev,.basic #fb,.basic #ff{display:none!important}   /* owner 10-29: Play/Pause and Sound stay */
.plend{flex-basis:100%;display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px;border:1px solid var(--accent);border-radius:var(--radius);background:var(--surface)}
.plend .endttl{flex-basis:100%;font-size:20px}
button.small{min-height:40px;font-size:13px}
.drawnote canvas.thumb{width:96px;height:54px;border-radius:6px;border:1px solid var(--line);background:var(--bg)}
.st{font-size:12px;padding:2px 8px;border-radius:999px;border:1px solid var(--line);white-space:nowrap}
.st-new{border-color:var(--accent);color:var(--accent)}
.st-done,.st-wontdo{color:var(--muted)}
.fbpic{display:block;max-width:100%;max-height:60svh;border-radius:var(--radius);border:1px solid var(--line);margin:8px 0}
pre.ctx{white-space:pre-wrap;word-break:break-all;font-size:12px;color:var(--muted);background:var(--surface);padding:8px;border-radius:var(--radius)}
.filters a.tab{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;color:var(--ink)}
.filters a.tab.on{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
/* round 6: GANGLE badge (theme colours), votes, moderation */
.gbimg{height:24px;width:auto;flex-shrink:0;display:block}
.gbadge{display:inline-block;padding:2px 8px;border-radius:6px;background:var(--gangle);color:var(--gangle-ink);font-family:var(--font-heading);font-size:16px;letter-spacing:.06em}
.votecard{border-color:var(--gangle)}
.votecard h2{color:var(--gangle)}
.hallttl{font-family:var(--font-wordmark);font-weight:400;font-size:clamp(34px,9vw,52px);color:var(--gangle);transform:rotate(-5deg);transform-origin:left center;margin:6px 0 10px}
.gempty{text-align:center;padding:22px 16px;margin:8px 0 16px;background:var(--surface);border:2px solid var(--gangle);border-radius:var(--radius)}
.gempty .big{font-family:var(--font-heading);font-size:clamp(28px,7vw,40px);line-height:1.05;letter-spacing:.03em;margin:4px 0 12px}
.gempty img{width:150px;height:auto}
button.lime,a.lime{background:var(--gangle);border-color:var(--gangle);color:var(--gangle-ink);font-weight:700}
a.lime{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:var(--radius);text-decoration:none}
.votecard .clip{gap:8px}
.tag.warn{border-color:var(--accent);color:var(--accent)}
.hiddenNote{opacity:.6}
/* tablet and desktop: notes beside the video */
@media (min-width:1000px){.pgrid{grid-template-columns:minmax(0,1fr) 360px}.notes{max-height:calc(100vh - 140px);overflow:auto;position:sticky;top:70px}
  .stage{max-height:calc(100vh - 330px)}}
/* phone landscape: the picture uses the height, controls scroll beside it */
@media (orientation:landscape) and (max-height:540px){
  .testbar{display:none}.top{position:static}
  main{padding:8px 12px}
  .ptitle{margin-bottom:4px}.ptitle h1{font-size:20px}.sub{display:none}
  .pmain{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:10px;align-items:start}
  .stage{height:calc(100svh - 76px);aspect-ratio:auto}
  .pctl{max-height:calc(100svh - 76px);overflow:auto}
  .ctl.main{grid-template-columns:repeat(3,1fr)}
}
/* D-203 sign-in: the profile chooser and the coach PIN */
.chooser .pickme{display:block;width:100%;min-height:60px;margin:10px 0;font-size:20px;text-align:left;padding:0 16px}
.pinform .pin{font-size:28px;letter-spacing:.4em;max-width:220px;text-align:center}
a.fbbtn{display:inline-flex;align-items:center;min-height:40px;text-decoration:none;color:inherit;border:1px solid var(--line);border-radius:var(--radius)}
[hidden]{display:none!important}
/* the team survey: phone-first, big tap targets */
.survey .row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
a.btnlink{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:var(--radius);text-decoration:none;background:var(--accent);color:var(--accent-ink);font-weight:700}
.surveypg .sq{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:12px;margin:12px 0}
.surveypg .q{font-family:var(--font-body);font-size:18px;font-weight:700;margin:0 0 8px}
.surveypg textarea{width:100%;box-sizing:border-box;min-height:88px;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:10px;font-size:16px}
.sopts{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
.sopt{min-height:52px;font-size:16px;text-align:left;padding:8px 12px;white-space:normal}
.surveypg .big{width:100%;min-height:56px;font-size:20px;margin:8px 0 32px}
.surveypg .ok{color:var(--gangle)} .surveypg .err{color:var(--spark)}
.sbar{display:grid;grid-template-columns:minmax(0,40%) 1fr 32px;gap:8px;align-items:center;margin:4px 0;font-size:14px}
.sbar .track{height:10px;background:var(--bg);border-radius:5px;overflow:hidden}.sbar .fill{display:block;height:100%;background:var(--accent)}
.vhelp{text-align:right;font-size:13px;margin:4px 0 0}
.vmsg a{color:var(--on-video);text-decoration:underline}
/* layer switches for the black-picture hunt (10-29, /layers; ?off=...) */
.off-ground body[data-ground]::before{display:none!important}.off-ground body{background:var(--bg)!important}
.off-blur .top{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:var(--bg)!important}
.off-sticky .top{position:static!important}
.off-ink .stage canvas.ink{display:none!important}
.off-hud .stage .hud,.off-hud .stage .flash,.off-hud .stage .wicon{display:none!important}
.off-radius .stage{border-radius:0!important;overflow:visible!important}
/* the basic player (owner 10-29: iPhones after the iOS update): the video in the page's flow with the phone's own
   controls; nothing over it (labels, drawing layer, play icon), no zoom, no Draw / Watch */
.basic .stage{aspect-ratio:16/9!important;height:auto!important;background:#000!important;max-height:none!important;overflow:visible!important;border-radius:0!important;touch-action:auto!important}
.basic .stage video{position:static!important;display:block;width:100%;height:100%;object-fit:contain;transform:none!important}
.basic .stage .hud,.basic .stage .flash,.basic .stage .wicon,.basic .stage canvas.ink,.basic #drawBtn,.basic #watchBtn{display:none!important}
/* the cards (owner 10-29: option C, the number first, with D's colours: lime = it went our way, pink = theirs) */
.clip.cd{padding:0;gap:0;height:96px;min-height:0;overflow:hidden;align-items:stretch;position:relative}
.clip.cd .hero{flex:none;width:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:rgba(0,0,0,.28);font-family:var(--font-heading)}
.clip.cd .hero b{font-size:40px;font-weight:400;line-height:.9}.clip.cd .hero small{font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.clip.cd .t{padding:8px 12px;display:flex;flex-direction:column;justify-content:space-between;min-width:0}
.clip.cd .when{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clip.cd .who{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.who.ours{font-weight:700;color:var(--ink)}.who.theirs{font-weight:400;color:var(--muted)}
.clip.cd .word{font-family:var(--font-heading);font-size:19px;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clip.cd.good{background:color-mix(in srgb,var(--gangle) 9%,var(--surface));border-color:color-mix(in srgb,var(--gangle) 35%,var(--line))}
.clip.cd.bad{background:color-mix(in srgb,var(--accent) 11%,var(--surface));border-color:color-mix(in srgb,var(--accent) 40%,var(--line))}
.clip.cd.good .hero,.clip.cd.good .word{color:var(--gangle)}.clip.cd.bad .hero,.clip.cd.bad .word{color:var(--accent)}
.clip.cd.flat .hero,.clip.cd.flat .word{color:var(--muted)}
.clip.cd .badge{position:absolute;top:6px;right:6px}.clip.cd .gbimg{position:absolute;bottom:6px;right:6px;height:20px}
.vsep{margin-left:12px}
/* the whole game by period (owner 10-29, option E) */
.pview{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;align-items:start}
.pcol{display:flex;flex-direction:column;gap:6px}
.pname{font-family:var(--font-heading);font-size:20px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:4px}
.prow{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 10px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);color:var(--ink);text-decoration:none}
.prow .pdot{flex:none;width:10px;height:10px;border-radius:2px;background:var(--accent)}.prow .pdot.g{border-radius:50%;background:var(--gangle)}
.prow .pclk{width:40px;font-family:var(--font-heading);font-size:16px;color:var(--muted)}
.prow .who{flex:1;min-width:0;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prow .ptag{font-family:var(--font-heading);font-size:15px;letter-spacing:.04em;white-space:nowrap}
.prow.good .ptag{color:var(--gangle)}.prow.bad .ptag{color:var(--accent)}.prow.flat .ptag{color:var(--muted)}
/* owner 10-29: games fold (header = a button), a jump menu, lines between the button areas, the cards' right side */
.ghead{display:flex;align-items:baseline;gap:10px;width:100%;min-height:44px;margin:18px 0 8px;padding:0;background:none;border:0;border-bottom:1px solid var(--line);color:var(--ink);text-align:left;cursor:pointer}
.ghead .h{font-size:22px;flex:1;min-width:0}.ghead .gsum{font-size:13px;color:var(--muted);white-space:nowrap}
.ghead .chev{color:var(--muted);transition:transform .15s}.group.folded .chev{transform:rotate(-90deg)}
.group.folded .clips,.group.folded .pview{display:none}   /* owner feedback 4 (10-30): By period folds too */
select.jump{width:100%;max-width:420px;margin:4px 0 4px}
#filters{border-bottom:1px solid var(--line);padding-bottom:10px}
.home .key{border-bottom:1px solid var(--line);padding-bottom:8px}
.clip.cd .side{flex:none;margin-left:auto;padding:0 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:var(--font-heading)}
.clip.cd .side b{font-size:30px;font-weight:400;line-height:1}.clip.cd .side small{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.clip.cd.good .side b{color:var(--gangle)}.clip.cd.bad .side b{color:var(--accent)}.clip.cd.flat .side b{color:var(--muted)}
.clip.cd .hero b.sm{font-size:26px}
.sortrow{border-bottom:1px solid var(--line);padding-bottom:10px}.viewrow{margin-top:2px}
/* the player's controls on every screen (owner 10-29: phones first, then the computer the same): no row words; a big Play,
   Sound and the speeds in one row; the jumps; the cameras; loop; then zoom and the tools. 18 px between rows, a line
   halfway: solid lime (Play row / jumps), lime to pink (jumps / cameras), solid pink (cameras / loop) */
.pctl .ctl .lbl,.pctl .ctl .hint{display:none!important}
.pctl .ctl.main{display:flex!important;gap:4px}
.pctl .ctl.main #speeds,.pctl #jumps,.pctl #angles{display:contents}
.pctl .ctl.main>button,.pctl .ctl.main #speeds>button,.pctl #jumps>button,.pctl #angles>button{flex:1 1 0;min-width:0;min-height:44px;padding:0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pctl .ctl.main #play{flex:2 1 0;font-size:22px}   /* the big Play (owner 10-29: easy to hit) */
.pctl .ctl.main #play,.pctl .ctl.main #snd{display:flex;align-items:center;justify-content:center}
.pctl .ctl{flex-wrap:nowrap;gap:4px;position:relative;margin-top:18px}
.pctl .bar{margin-top:18px}
.pctl .ctl:has(> .lbl:only-child){display:none!important}
.pctl .ctl.angles2{flex-wrap:wrap}.pctl .ctl.angles2 #angles>button{flex:0 0 calc((100% - 8px) / 3)}   /* 5-6 angles: 2 rows of 3 */
.pctl .ctl:has(#jumps)::before,.pctl .ctl:has(#angles)::before,.pctl .ctl:has(#setA)::before{content:"";position:absolute;left:0;right:0;top:-9px;height:1px;opacity:.75}
.pctl .ctl:has(#jumps)::before{background:var(--gangle)}
.pctl .ctl:has(#angles)::before{background:linear-gradient(90deg,var(--gangle),var(--accent))}
.pctl .ctl:has(#setA)::before{background:var(--accent)}
/* phones only (iPhone and Android): no frame step / reverse (the 0.1 s jumps do it), no 2x, smaller text, the notes 9 px below */
@media (max-width:640px){
  .pctl .ctl.main #rev,.pctl .ctl.main #fb,.pctl .ctl.main #ff{display:none!important}
  .pctl .ctl.main #speeds>button[data-s="2"]{display:none}
  .pctl .ctl.main>button,.pctl .ctl.main #speeds>button,.pctl #jumps>button,.pctl #angles>button{padding:0 2px;font-size:14px}
  .pctl .ctl.main #play{font-size:22px}
  .pgrid{gap:9px}.notes{margin-top:0}   /* owner 10-29: the notes closer: 9 px below the loop row (half a row gap) */
}
/* owner 10-29: the selected speed and camera as a pink outline, so Play is the only filled pink button */
.pctl #speeds>button.on,.pctl #angles>button.on,.pctl #snd.on{background:transparent;border:2px solid var(--accent);color:var(--accent)}
/* owner 10-30: first-visit hints (once per profile and page), my player's part on a card, the plain player for parents/players */
.fhint{display:flex;gap:12px;align-items:center;justify-content:space-between;background:var(--surface);border:1px solid var(--gangle);border-radius:var(--radius);padding:10px 12px;margin:8px 0}
.fhint p{margin:0;font-size:14px;line-height:1.35}.fhint button{flex:none}
.clip .when .mine{margin-left:8px;padding:0 6px;border-radius:5px;background:var(--gangle);color:var(--gangle-ink);font-family:var(--font-heading);font-size:13px;letter-spacing:.06em}
.mysum{margin:-4px 0 10px}
.pctl.simple .ctl:has(#setA),.pctl.simple .ctl:has(#zin),.pctl.simple #speeds>button[data-s="0.1"],.pctl.simple #jumps>button[data-j="-0.1"],.pctl.simple #jumps>button[data-j="0.1"],.pctl.simple #rev,.pctl.simple #fb,.pctl.simple #ff,.pctl.simple #fine{display:none!important}
/* D-218: clip requests and family reels */
.reqform{max-width:560px}.reqnudge{align-items:center;margin:6px 0 0}.reqnudge .hint{flex-basis:100%}
.reelvid{display:block;width:100%;max-height:70svh;background:var(--bg);border-radius:var(--radius);margin:8px 0}
.plitems .acts select.inp{min-height:40px;max-width:180px}
