/* Elf Tracker NEW DESIGN PROTOTYPE (/tracker-new): styles for the logic fixes of 23 Oct 2026
   (new markup only). Loaded after css/tracker-new.css, which the designer owns. */

/* S5: progress dots, with "Elf 1 of 2" underneath when there are 2 or more elves */
.qprog{display:grid;justify-items:start;gap:6px;margin:2px 0 4px}
.qdots{display:flex;flex-wrap:wrap;gap:7px}
.qdots i{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.28)}
.qdots i.done{background:var(--gold,#F5C24A)}
.qdots i.on{background:#fff;box-shadow:0 0 0 3px rgba(245,194,74,.55)}
.qprog .qelf{margin:0}

/* S7: a smaller, lighter hint in the elf's name box */
.qbig::placeholder{font-size:17px;font-weight:500;color:#8C99BD;opacity:1}

/* S10: Next looks faded until a town is picked (it still explains what to do when tapped) */
.btn.faded{opacity:.45;filter:saturate(.6)}

/* T2: moving a child to the new elf; the new child's name box full width */
.qchips .chip.move{cursor:pointer;opacity:1}
.qchips .chip.move[aria-pressed="true"]{background:#D9283E;border-color:#D9283E;color:#fff}
.qchips .chip.move[aria-pressed="true"] small{color:#FFE3E7}
.qmovehint{margin-top:10px}
.qaddkid{flex-direction:column;align-items:stretch}
.qaddkid .in,#newKid{width:100%;box-sizing:border-box}

/* T5: the elves row centred on phones */
@media (max-width:999px){.tn-elves,.tn-elves .switch{justify-content:center}.tn-elves{text-align:center}}

/* 4a (Jay): a much bigger elf picture in the hero card, one short line under the name */
.tn-hero .face{width:120px;height:120px}
@media (min-width:640px){.tn-hero .face{width:150px;height:150px}}
@media (max-width:520px){.tn-hero .face{width:104px;height:104px}}
.tn-hero .tn-status{font-weight:700}
.tn-sleeps b{font-size:30px}

/* 4b: the app card's picture is an elf caught on camera at home (a tall picture) */
.tn-app-pic img{object-position:50% 70%}

/* M10: the camera room picture says CAMERA ROOM, and nothing blinks or pulses for ever */
.tn-tv .tn-roombadge{animation:none;background:#0B1D4D;border:2px solid var(--gold,#F5C24A);color:#fff}
.tn-elves .av.add i,.tn-tile.mystery i,.flash,.tn-win::before,.tn-pop .flash.big{animation-iteration-count:3}
#village .elfpin .pulse{animation-iteration-count:3}
@media (prefers-reduced-motion:reduce){.tn-elves .av.add i,.tn-tile.mystery i,.flash,.tn-win::before{animation:none}}

/* P1, P2: the prize card's small print, and the plain "Invite friends" card */
.tn-win-fine{display:block;font-size:12.5px;line-height:1.35;color:#3B4A78}
.tn-win-copy{text-align:center;margin:4px 0 0}
.tn-win-copy a{color:inherit;text-decoration:underline}
.tn-invite{display:grid;gap:8px;text-align:center;background:var(--cream,#FFF8E8);color:#16296A;border-radius:22px;padding:18px}
.tn-invite b{font:800 20px 'Plus Jakarta Sans',sans-serif;color:#0B1D4D}
.tn-invite small{font-size:15px;line-height:1.4}
.tn-pop-in.invite .card.invite{margin-top:6px}

/* T1: which elf visits the new child */
.tn-kidelf{border:0;margin:12px 0 0;padding:0}
.tn-kidelf legend{font-weight:700;font-size:14px;margin-bottom:6px}
.tn-radio{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:600;font-size:16px}
.tn-pop-in .tn-radio input{width:22px;min-height:22px;height:22px;margin:0}

/* M9: Christmas, then the end of the season (inside the hero card, full width) */
.tn-xmas,.tn-end{grid-column:1/-1;border-radius:16px;padding:14px 16px;background:#0B1D4D;color:#fff}
.tn-xmas h2,.tn-end h2{margin:2px 0 6px;font:800 21px/1.2 'Plus Jakarta Sans',sans-serif;color:#fff}
.tn-xmas p,.tn-end p{margin:0 0 6px;color:#DCE6FF;font-size:15.5px;line-height:1.5}
.tn-xmas{background:linear-gradient(135deg,#B3122B,#7E0C1F)}
.tn-hero .tn-xmas .tn-k{color:var(--gold,#F5C24A)}
.tn-end .btn{width:100%;margin-top:6px}

/* S2: an elf from the set-up still to save */
.tn-pending{display:block;width:100%;margin:6px 0 10px;border:2px solid var(--gold,#F5C24A);border-radius:16px;background:#FFF3D1;color:#16296A;
  font:700 15.5px/1.4 'Plus Jakarta Sans',sans-serif;padding:12px 14px;cursor:pointer;text-align:left}

/* Q4: the stamped Elf HQ file lists every elf */
.tk-reward .file{display:block}
.tk-reward .file .rwelf{display:grid;grid-template-columns:64px 1fr;gap:12px;align-items:center;margin-top:10px}
.tk-reward .file .rwelf img{width:64px;height:82px}
.tk-reward .file .rwmeta{margin-top:10px}
.rwsaved{margin:12px 0 0;font-weight:700;text-align:center}

/* M2: the family's other elves have been spotted too (night-sky look, no white boxes; the pictures
   are capped so the screen fits in one window on phones and computers) */
.alsolist{display:grid;gap:14px;margin-top:14px}
.alsolist.many{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
body.tnew main.tk--ob .card.alsocard{background:none;border:0;padding:0;margin:0;box-shadow:none}
.alsocard .cctv{margin:0;aspect-ratio:auto;height:var(--ph,52vh);max-height:55vh;min-height:120px;border:4px solid #16296A;border-radius:18px;box-sizing:border-box}
.alsocard .cctv img{width:100%;height:100%;object-fit:cover}
body.tnew .alsolist.many .cctv .hud{font-size:9.5px!important;letter-spacing:0!important;left:8px;right:8px}
.alsolist.many .alsotxt{grid-template-columns:1fr;text-align:center}
.alsolist.many .alsotxt img{display:none}
body.tnew main.tk--ob .alsolist.many .alsotxt b{font-size:15.5px;line-height:1.3}
.alsotxt{display:grid;grid-template-columns:48px 1fr;gap:10px;align-items:center;margin-top:10px}
.alsotxt img{width:48px;height:48px;border-radius:50%;object-fit:cover;object-position:top;border:3px solid var(--gold,#F5C24A);background:var(--cream,#FFF8E8)}
body.tnew main.tk--ob .alsotxt b{display:block;font:800 18px 'Plus Jakarta Sans',sans-serif;color:#fff}
body.tnew main.tk--ob .alsotxt p{margin:2px 0 0;font-size:15px;line-height:1.45;color:#DCE6FF}
.tk-also .h{color:#fff}
@media (min-width:1000px){.alsocard .cctv{height:calc(var(--ph,52vh) * .85)}}

/* 4f (Jay): REC and camera markings over the enhanced close-up, so it looks like it is recording */
.monitor .recframe{position:absolute;inset:0;z-index:4;pointer-events:none;opacity:0;transition:opacity .6s}
.monitor .close.on ~ .recframe{opacity:1}
.recframe i{position:absolute;width:22px;height:22px;border:0 solid #fff;opacity:.9}
.recframe .c1{left:10px;top:34px;border-left-width:3px;border-top-width:3px}
.recframe .c2{right:10px;top:34px;border-right-width:3px;border-top-width:3px}
.recframe .c3{left:10px;bottom:34px;border-left-width:3px;border-bottom-width:3px}
.recframe .c4{right:10px;bottom:34px;border-right-width:3px;border-bottom-width:3px}
.recframe .recdot{position:absolute;left:16px;top:14px;width:10px;height:10px;border-radius:50%;background:#E5243B;box-shadow:0 0 6px #E5243B;animation:tnRec 1s step-end 8}
@keyframes tnRec{50%{opacity:0}}

/* the hook (save) screen: the one mystery line under the sighting they have seen */
.camlist li.mystery b{flex:1}

/* ---------- 25 Oct 2026 (Paul) ---------- */
/* Town search: a flag, the town and its region and country on every suggestion; "Choose your
   country first"; the confirm step with a small globe */
.tp-sug button{display:flex!important;align-items:center;gap:10px}
.tp-flag{font-size:22px;line-height:1;flex:0 0 auto;min-width:26px;text-align:center;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
.tp-nm{display:block;min-width:0}
.tp-cf{margin-top:8px}
.tp-cfbtn{font-size:15px;font-weight:700;text-decoration:underline;background:none;border:0;padding:6px 0;cursor:pointer;color:inherit}
.tp-cw{margin-top:6px}
.tp-cw select{width:100%;min-height:48px;border-radius:14px;font:600 16px Inter,sans-serif;padding:0 12px;box-sizing:border-box}
.tp-ok{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center;margin-top:12px;padding:14px;border-radius:18px;border:2px solid var(--gold,#F5C24A);background:rgba(8,20,58,.85)}   /* navy, not see-through: on computers it sat over the snowy trees (QA retest) */
.tp-ok[hidden],.tp-find[hidden]{display:none}
/* iOS QA (27 Oct 2026): the open town suggestions sit above the footer panel (main and the footer are both z-index 1) */
body.tnew main.tk:has(.tsug:not([hidden])){z-index:3}
/* the "Your town" card: no empty globe slot when the little globe cannot be drawn (it showed a blank left column on iPhone) */
.tp-ok.nodot{grid-template-columns:minmax(0,1fr)}.tp-ok.nodot .tp-dot{display:none}
.tp-dot{width:96px;height:96px;display:block}
.tp-oktxt{display:grid;gap:4px;justify-items:start}
.tp-oktxt b{font:800 20px/1.3 'Plus Jakarta Sans',sans-serif}
body.tnew main.tk--ob .tp-oktxt b{color:#fff}
.tp-again{font-size:15px;font-weight:700;text-decoration:underline;background:none;border:0;padding:6px 0;cursor:pointer;color:inherit}
.tn-pop .tp-ok{background:#F3F7FF;border-color:#F5C24A;color:#16296A}
.tn-pop .tp-oktxt b{color:#0B1D4D}
.tn-pop .tp-oktxt .k{color:#B3122B}
.tn-pop .tp-cfbtn,.tn-pop .tp-again{color:#16296A}
.tn-pop .tp-cw .hint{display:block;font-weight:700;font-size:14px;margin-bottom:4px}
.tn-pop .tp-sug button{border-bottom:1px solid #EEF2FB}
@media (max-width:420px){.tp-ok{grid-template-columns:72px minmax(0,1fr)}.tp-dot{width:72px;height:72px}.tp-oktxt b{font-size:18px}}

/* The save screen: "Wrong town? Change it" beside the town line */
.hdistrow .hTown{color:var(--gold,#F5C24A)!important;font-weight:700;text-decoration:underline;background:none;border:0;padding:4px 0;cursor:pointer;font-size:inherit;white-space:nowrap}
.hdistrow.solo{margin:0}
@media (min-width:1000px){
  /* the town line under the map takes the room it needs (it now carries "Wrong town? Change it") */
  .ob-vis .hookmap{display:flex!important;flex-direction:column}
  .ob-vis .hookmap svg{position:static!important;flex:1 1 0;height:0!important;min-height:0}
  .ob-vis .hookmap>p.hdistrow{position:static!important;height:auto!important;min-height:58px;display:flex!important;flex-wrap:wrap;justify-content:center;align-items:center;gap:2px 10px;padding:10px 16px!important;text-align:center;box-sizing:border-box}
  /* both halves balanced: two equal columns, the map from the top of the words down to the sightings */
  body.tnew main.tk-hook.ob-grid,body.tnew main.tk-hook .ob-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:48px!important}
  body.tnew main.tk-hook .ob-grid>.ob-vis,body.tnew main.tk-hook.ob-grid>.ob-vis{align-self:start!important}
  body.tnew main.tk-hook .ob-vis .hookmap{min-height:360px}
  body.tnew main.tk-hook .ob-pane{gap:14px}
}

/* Tabs that follow the story: Elf HQ, Camera room, Flight home */
.tn-map>.tn-k{display:block;margin:0 0 10px}
.tn-hqcap .tn-k{display:block;margin:0 0 4px;font-size:12.5px}
.tn-hqcap span{display:block}

/* A call from the elf (a preview card; the real call comes in the Elf Watch app) */
.tn-bell.tn-call{display:grid;grid-template-columns:52px minmax(0,1fr);gap:14px;align-items:start;min-height:0;padding:18px;border-radius:22px;cursor:default;
  background:linear-gradient(180deg,#14306F,#0F2459);border:2px solid rgba(245,194,74,.7);font:inherit}
.tn-call-ic{width:52px;height:52px;border-radius:50%;background:#1FA855;display:grid;place-items:center;box-shadow:0 0 0 5px rgba(31,168,85,.25)}
.tn-call-ic svg{width:26px;height:26px}
.tn-call h2{margin:2px 0 6px;font:800 21px/1.2 'Plus Jakarta Sans',sans-serif;color:#fff}
.tn-call p{margin:0 0 12px;color:#DCE6FF;font-size:15px;line-height:1.5}
.tn-call .btn{width:100%}

/* The call preview screen (grown-ups only) */
.tn-cp{max-width:1100px!important;margin:0 auto;padding:18px 16px 30px!important;color:#fff;box-sizing:border-box}
.tn-cp .qback{margin-bottom:12px}
.cp-banner{margin:0 0 16px;padding:12px 16px;border-radius:14px;background:#FFF3D1;color:#16296A;border:2px solid var(--gold,#F5C24A);font-size:15.5px;line-height:1.4}
.tn-cp h1{font:800 34px/1.12 'Plus Jakarta Sans',sans-serif;margin:4px 0 8px;color:#fff}
.cp-intro{margin:0 0 20px;color:#DCE6FF;font-size:16.5px;line-height:1.5;max-width:640px}
.cp-grid{display:grid;gap:24px}
@media (min-width:900px){.cp-grid{grid-template-columns:minmax(260px,330px) minmax(0,1fr);align-items:start}.cp-phone{position:sticky;top:20px}}
.cp-phone{margin:0 auto;width:100%;max-width:300px;border-radius:44px;padding:12px;background:#05091A;box-shadow:0 30px 60px -30px rgba(0,0,0,.8),inset 0 0 0 2px #2A3557;box-sizing:border-box}
.cp-scr{border-radius:34px;min-height:480px;display:flex;flex-direction:column;align-items:center;padding:34px 18px 28px;box-sizing:border-box;text-align:center;
  background:radial-gradient(circle at 50% 28%,#2A4FA8,#0B1D4D 70%)}
.cp-cid{font-size:12px;font-weight:800;letter-spacing:.14em;color:var(--gold,#F5C24A);text-transform:uppercase}
.cp-face{margin:22px 0 16px;width:120px;height:120px;border-radius:50%;overflow:hidden;border:4px solid #fff;background:#FFF8E8;box-shadow:0 0 0 10px rgba(255,255,255,.1),0 0 0 20px rgba(255,255,255,.05)}
.cp-face img{width:100%;height:100%;object-fit:cover;object-position:top}
.cp-who{font:800 24px/1.2 'Plus Jakarta Sans',sans-serif;color:#fff}
.cp-sub{color:#BFD0F5;font-size:14px;margin-top:4px}
.cp-btns{margin-top:auto;padding-top:30px;display:flex;justify-content:space-around;width:100%}
.cp-b{display:grid;justify-items:center;gap:8px;font-size:13px;color:#DCE6FF}
.cp-b i{width:64px;height:64px;border-radius:50%;display:grid;place-items:center}
.cp-b svg{width:30px;height:30px}
.cp-b.no i{background:#E5243B}
.cp-b.yes i{background:#1FA855;box-shadow:0 0 0 8px rgba(31,168,85,.25)}
@media (prefers-reduced-motion:no-preference){.cp-b.yes i{animation:cpRing 1.4s ease-in-out 4}}
@keyframes cpRing{50%{transform:translateY(-4px) rotate(-8deg)}}
.cp-form{background:rgba(8,20,58,.72);border:1px solid rgba(255,255,255,.16);border-radius:22px;padding:20px;display:grid;gap:12px}
.cp-form h2{margin:0;font:800 22px 'Plus Jakarta Sans',sans-serif;color:#fff}
.cp-form .hint{display:block;font-weight:700;font-size:14.5px;margin-bottom:5px;color:#DCE6FF}
.cp-form input,.cp-form select{width:100%;min-height:50px;border-radius:14px;border:2px solid #DCE5F7;background:#FFF8E8;color:#0B1D4D;font:600 16.5px Inter,sans-serif;padding:0 14px;box-sizing:border-box}
.cp-form .field{margin:0}
.cp-row{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:12px}
.cp-kids{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cp-kids .hint{width:100%;margin:0}
.cp-kids .chip{min-height:44px;padding:0 16px;border-radius:999px;border:2px solid rgba(255,255,255,.35);background:transparent;color:#fff;font:700 15.5px 'Plus Jakarta Sans',sans-serif;cursor:pointer}
.cp-kids .chip[aria-pressed="true"]{background:var(--cream,#FFF8E8);color:#0B1D4D;border-color:var(--gold,#F5C24A)}
.cp-script{margin-top:6px;border-radius:18px;padding:16px 18px;background:#FFF8E8;color:#16296A;border:2px dashed var(--gold,#F5C24A)}
.cp-script .tn-k{display:block;margin-bottom:8px;color:#B3122B}
.cp-script p{margin:0 0 8px;font-size:17px;line-height:1.5}
.cp-script b{color:#0B1D4D}
.cp-gap{color:#8C99BD;font-style:italic;background:rgba(140,153,189,.15);border-radius:6px;padding:0 4px}
.cp-love{font-weight:800}
.tn-cp .small{color:#BFD0F5;margin:0}
@media (max-width:520px){.tn-cp h1{font-size:28px}.cp-scr{min-height:420px}}
/* the three tabs stay readable over the snowy picture */
.tn-tabs{background:rgba(8,20,58,.78)!important}

/* ---------- head-of-design symmetry pass (25 Oct 2026) ---------- */
/* phones: the tracker cards share the 16px edges of the bauble, the language pill and the set-up screens */
@media (max-width:699px){body.tnew .tn{padding-left:0!important;padding-right:0!important}}
/* words straight on the sky stay readable over the snowy trees (a soft navy halo) */
body.tnew .ob-pane>:is(p,.sub,.hint,.small,label,.warn),body.tnew main.tk--ob>:is(p,.sub,.hint,.small),body.tnew main.tk--kid .body>:is(p,.kidsub,.cap,.kidh),body.tnew main.tk--kid .kidtop span{text-shadow:0 1px 2px rgba(8,20,58,.95),0 0 10px rgba(8,20,58,.9),0 0 22px rgba(8,20,58,.7)}
/* longer lines that land on the snow get the same navy glass as the email reminder */
body.tnew main.tk-reward .rwsaved,body.tnew main.tk-reward .freevid{margin:0;padding:12px 16px;border-radius:16px;background:rgba(8,20,58,.84);color:#fff;font-size:15px;line-height:1.45;text-align:left;text-shadow:none}
body.tnew main.tk-reward .count{background:rgba(8,20,58,.84);border:0}
body.tnew main.tk-reward .count span{font-size:15px}
.alsotxt{background:rgba(8,20,58,.84);border-radius:16px;padding:10px 12px}
.qmovehint{background:rgba(8,20,58,.78);border-radius:14px;padding:10px 14px}

/* no white boxes: the paper file, the "not here" tile, town suggestions, pop-up fields and the invite link are cream or navy */
body.tnew .file{background:var(--cream);border:2px solid #E9C46A}
body.tnew .file dt{color:#6E5A22}
body.tnew .cat .tile.nothere{background:rgba(8,20,58,.7);color:#fff}
body.tnew .cat .tile.nothere .q{background:radial-gradient(circle at 50% 35%,#2A4FA8,#0B1D4D);color:var(--gold)}
body.tnew .tsug{background:var(--cream);border:2px solid #E9C46A}
body.tnew .tsug button{border-bottom:1px solid #F0E2BC}
body.tnew .tsug button:hover,body.tnew .tsug button:focus-visible{background:#FCEBC2}
body.tnew .tsug small{color:#4A5B7D}
.tn-pop .tsug,.tn-pop .tsug button{background:var(--cream)}.tn-pop .tsug{border:2px solid #E9C46A}
.tn-pop-in input:not([type=radio]):not([type=checkbox]),.tn-pop-in select{background:#fff8e8;border:2px solid #E9C46A}
.tn-pop-in .tn-radio input,body.tnew input[type=checkbox]{accent-color:#D9283E}
.tn-pop-in.win .invlink code,body.tnew .invlink code{background:var(--cream);border:2px dashed #E9C46A;color:#0B1D4D}
body.tnew main.tk--ob .invlink span{color:#DCE6FF}
body.tnew main.tk-reward .card.invite:not(.closed){position:relative;background:rgba(8,20,58,.84)!important;border:2px solid rgba(245,194,74,.7)!important;border-radius:22px!important;padding:22px 20px 20px!important;margin-top:22px}
/* the code boxes run the full width of the column on phones too */
body.tnew main.tk--ob .code{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;width:100%}
body.tnew main.tk--ob .code input{width:100%;min-width:0;height:62px;font-size:26px;border-radius:14px;box-sizing:border-box}

/* the save screen: the mystery line is a card like the sighting above it; the sighting fits one line on phones */
body.tnew .camlist li.mystery{min-height:58px;box-sizing:border-box;background:rgba(8,20,58,.84);border:2px dashed rgba(245,194,74,.8);border-radius:12px;padding:8px 16px}
@media (max-width:420px){body.tnew .camlist li.seen .cam{display:none}body.tnew .camlist li.seen button{grid-template-columns:auto 1fr auto}}

/* the elf call card: phone and title side by side, the words and button full width (level with every other card) */
.tn-call>div{display:contents}
.tn-bell.tn-call{grid-template-columns:52px minmax(0,1fr);column-gap:14px;row-gap:0;align-items:center}
.tn-call .tn-call-ic{grid-row:1/3}
.tn-call .tn-k{grid-column:2;align-self:end}
.tn-call h2{grid-column:2;align-self:start;margin:2px 0 0}
.tn-call p{grid-column:1/-1;margin:12px 0 14px}
.tn-call .btn{grid-column:1/-1}
.tn-invite{position:relative;margin-top:12px}

/* the children's view on the night sky: white words, navy glass cards with a gold edge, no white boxes */
body.tnew main.tk--kid .kidtop{color:#C9D6F5}
body.tnew main.tk--kid .kidh,body.tnew main.tk--kid .kidh.sm{color:#fff}
body.tnew main.tk--kid .kidsub,body.tnew main.tk--kid .cap{color:#fff}
body.tnew .lock{background:rgba(8,20,58,.6);border:1.5px solid rgba(255,255,255,.55);color:#fff;min-height:40px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
body.tnew .lock svg *{stroke:currentColor}
body.tnew main.tk--kid .who,body.tnew main.tk--kid .sleeps{background:rgba(8,20,58,.84);border:2px solid rgba(245,194,74,.75);color:#fff}
body.tnew main.tk--kid .who b{color:#fff}body.tnew main.tk--kid .who span{color:#DCE6FF}
body.tnew main.tk--kid .sleeps b{color:var(--gold)}
body.tnew main.tk--kid .gate{position:relative;background:rgba(8,20,58,.9);border:2px solid var(--gold);border-radius:22px;padding:22px 20px 20px;color:#fff}
body.tnew main.tk--kid .gate .k{color:var(--gold)}body.tnew main.tk--kid .gate .h,body.tnew main.tk--kid .gate h1{color:#fff}body.tnew main.tk--kid .gate .sub{color:#DCE6FF}
body.tnew .opt{background:var(--cream);border:2px solid #E9C46A;color:#0B1D4D;min-height:52px;font-size:16px}
body.tnew .opt:hover{border-color:#D9283E}

/* the call preview: one set of edges with the header and footer */
body.tnew .tn-cp{padding-left:0!important;padding-right:0!important}
@media (min-width:1000px){
  body.tnew .tn-cp{max-width:none!important}
  .cp-grid{grid-template-columns:minmax(300px,340px) minmax(0,1fr)!important;column-gap:32px}
  .cp-banner{max-width:none}
  .cp-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:28px;align-items:start;padding:24px}
  .cp-form>*{grid-column:1}
  .cp-form>.cp-script{grid-column:2;grid-row:1/span 6;margin-top:0;align-self:stretch}
}

body.tnew main.tk--ob .savecard{position:relative}
body.tnew .ob-pane>.qmovehint+.sub,body.tnew main.tk-handover .ob-pane>.small{background:rgba(8,20,58,.78);border-radius:14px;padding:10px 14px;text-shadow:none}
body.tnew main.tk--kid .kidtop{min-height:44px}
/* computers: the camera wall is one level block (the first camera big, four small beside it), so it sits beside the words without a long tail */
@media (min-width:1000px){
  body.tnew main.tk-room .wall{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
  body.tnew main.tk-room .wall .mon.first{grid-column:1/3;grid-row:1/3;aspect-ratio:auto}
  body.tnew main.tk-room .wall .mon.home{grid-column:1/-1}
}

/* Shared elves (Paul, 26 Oct 2026): "All the children share this elf", a big tick-box button over the names */
.qallshare{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:56px;margin-top:16px;padding:10px 18px;border-radius:18px;border:3px dashed #F5C24A;background:rgba(255,255,255,.08);color:#fff;font:800 17px 'Plus Jakarta Sans',sans-serif;cursor:pointer;text-align:left}
.qallshare .qtick{flex:0 0 26px;width:26px;height:26px;border-radius:8px;border:3px solid #F5C24A;background:transparent;position:relative}
.qallshare[aria-pressed="true"]{border-style:solid;background:#D9283E;border-color:#D9283E}
.qallshare[aria-pressed="true"] .qtick{background:#fff;border-color:#fff}
.qallshare[aria-pressed="true"] .qtick::after{content:"";position:absolute;left:7px;top:2px;width:7px;height:13px;border:solid #D9283E;border-width:0 3.5px 3.5px 0;transform:rotate(45deg)}
.qnewkid{margin-top:18px}

/* Who's watching? Everyone or just one child (tracker Camera room and the hand-over screen) */
.tn-watch{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.tn-watch>span{font-size:13px;color:#C9D6F5;width:100%}
.tn-watch .chip{min-height:44px;padding:0 16px;border-radius:999px;border:2px solid rgba(245,194,74,.75);background:var(--cream,#FFF8E8);color:#0B1D4D;font:700 15px 'Plus Jakarta Sans',sans-serif;cursor:pointer}
.tn-watch .chip[aria-pressed="true"]{background:#D9283E;border-color:#D9283E;color:#fff}
.tn-who .tn-watch{width:100%}
.tk-handover .tn-watch{margin:4px 0 12px}
.tk-handover .tn-watch>span{color:inherit;opacity:.85}

/* Earlier footage (late joiners, CEO 26 Oct 2026): the cameras they missed, unlocked from day one */
.tn-early-note{margin:0 0 10px;font:700 14px/1.4 'Plus Jakarta Sans',sans-serif;color:#FFE7A3}
.tn-tile.early{border-style:dashed;border-color:rgba(245,194,74,.65)}
.tn-tile.early[aria-pressed="true"]{border-style:solid;border-color:var(--gold)}
.tn-tile em{position:absolute;left:6px;top:6px;max-width:calc(100% - 12px);font:800 10.5px/1.2 'Plus Jakarta Sans',sans-serif;font-style:normal;letter-spacing:.02em;background:rgba(11,29,77,.88);color:#FFE7A3;border:1px solid rgba(245,194,74,.7);border-radius:999px;padding:2px 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mon .new.early{animation:none;background:#FFE7A3;max-width:calc(100% - 12px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kidsub.early{text-align:center;margin:10px 0 0;font-weight:800;color:#FFE7A3}
.hearly{margin-top:4px}

/* The search before the footage (CEO 27 Oct 2026): Elf HQ's radar over the village map inside the camera
   screen (js/elf-radar-cam.js radar(), js/tracker-new/kids.js search()), its messages, and the camera's
   number and place held back (.pend) until the radar has found the elf. */
.monitor .rc-radarbox{position:absolute;inset:0;overflow:hidden;z-index:1;opacity:0;transition:opacity .6s}
.monitor .rc-radarbox.on{opacity:1}
.monitor .rc-radarbox>*{position:absolute;inset:0;width:100%;height:100%}
.monitor .rc-radarbox .rc-map{object-fit:cover;transform-origin:0 0}
.monitor .rmsg{position:absolute;left:0;right:0;bottom:15%;display:flex;justify-content:center;z-index:5;pointer-events:none}
.monitor .rmsg span{font-family:var(--mono);font-size:14px;letter-spacing:.1em;color:#7CF7B2;background:rgba(4,10,26,.85);border:1px solid rgba(124,247,178,.35);border-radius:9px;padding:6px 12px;opacity:0;transition:opacity .25s;text-align:center;max-width:88%}
.monitor .rmsg span.on{opacity:1}
.monitor .rmsg span.gold{color:#FFD36E;border-color:rgba(255,211,110,.4)}
.monitor .hud{transition:opacity .4s}
.monitor .hud.pend{opacity:0}
@media (prefers-reduced-motion:reduce){.monitor .rc-radarbox,.monitor .rmsg span,.monitor .hud{transition:none}}
/* "{ELF} SPOTTED AT {PLACE}" is longer than the old shout: a size that keeps it to two or three lines on phones */
body.tnew main.tk--kid .body:not(.center) .shout.at{font-size:30px;line-height:1.15;text-wrap:balance}
@media (min-width:1024px){body.tnew main.tk--kid .body:not(.center) .shout.at{font-size:36px}}
body.tnew main.tk--kid .body:not(.center) .shout.at.long{font-size:25px}
@media (min-width:1024px){body.tnew main.tk--kid .body:not(.center) .shout.at.long{font-size:30px}}

/* iOS QA (27 Oct 2026): at the reveal the typed lines fold away so the shout and buttons sit under the camera (kids.js foldTyper) */
.typer.fold{overflow:hidden;min-height:0!important;max-height:0!important;padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important;opacity:0;transition:max-height .4s ease,padding .4s ease,margin .4s ease,opacity .25s ease}
.typer[hidden]{display:none!important}
/* The OPTIONAL child age band (28 Oct 2026, js/tracker-new/agebands.js): under each child's name, big
   cream buttons (60+ audience), the chosen one red with a tick; skipping it is fine. */
.qkid{display:grid;gap:8px}
.qage{margin:2px 0 6px}
.qage[hidden]{display:none}
.qage-q{font:800 17px 'Plus Jakarta Sans',sans-serif;margin:4px 0 8px}
.qage-chips{display:flex;flex-wrap:wrap;gap:8px}
.qage-chips .chip{min-height:52px;padding:0 18px;border-radius:999px;border:3px solid #F5C24A;background:var(--cream,#FFF8E8);color:#0B1D4D;font:800 17px 'Plus Jakarta Sans',sans-serif;cursor:pointer}
.qage-chips .chip[aria-pressed="true"]{background:#D9283E;border-color:#D9283E;color:#fff}
.qage-chips .chip[aria-pressed="true"]::before{content:"\2713\00a0"}
.qage-chips .chip:focus-visible{outline:3px solid #F5C24A;outline-offset:3px}
.qage-small{font-size:14.5px;line-height:1.45;margin:8px 0 0}
body.tnew main.tk--ob .qage-q{color:#fff}
.tn-pop-in .qage{margin:14px 0 4px}.tn-pop-in .qage-q{color:#0B1D4D}.tn-pop-in .qage-small{color:#3D4F75}
.tn-pop-in .qage-chips .chip{background:#fff}
@media (max-width:420px){.qage-chips .chip{flex:1 1 calc(50% - 8px);padding:0 10px}}

/* The icicles (::after, 23px below the top edge) covered the "Invite friends" heading (QA, 1 Nov 2026). */
.tn-invite{padding-top:30px}
/* On phones the main button on the elf-name step and "Hand over to ..." sat half below the screen (QA, 1 Nov 2026): keep it in view. */
@media (max-width:600px){#nnext,#ready{position:sticky;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:5;box-shadow:0 6px 18px rgba(0,0,0,.35)}}
.tn-invstrip .tn-winstrip{padding-top:22px}
/* The chosen age in the ages pop-up and Add a child showed white on white (QA, 1 Nov 2026): a pop-up rule painted chips white. */
body.tnew .qage-chips .chip[aria-pressed="true"]{background:#D9283E!important;border-color:#D9283E!important;color:#fff!important}

/* ---------- QA layout pass (1 Nov 2026, second round) ---------- */
/* 1. The iPhone "Three quick steps" guide sits on a pale box inside the dark Alerts card: its step text inherited white (white on white). */
.iosguide,.iosguide li,.iosguide li span{color:#0B1D4D!important}
.iosguide li{opacity:.8;animation-name:iosstep2}
@keyframes iosstep2{0%,33%{opacity:1;box-shadow:0 0 0 3px #F5C24A}34%,100%{opacity:.8;box-shadow:none}}
/* 2. A pop-up's close X (absolute, top right) sat on the "why?" circle at the end of the title ("Child's age (optional)"): the title keeps clear of the X. */
.tn-pop-in>h2,.tn-pop-in>.card>h2:first-child{padding-right:52px}
/* 3. Snow caps (tracker-new.css, ::after, drips reach about 22px into a box): every capped box keeps its first words below them,
   at every width. The Invite strip's earlier 22px lost to tracker-review.css's "padding:8px 14px!important", hence the !important here. */
.tn-home .tn-invstrip .tn-winstrip,.tn-home .tn-winstrip{padding-top:28px!important}
.tn-app .tn-pill{top:30px}
.tn-home .tn-follow{padding-top:28px}
.tn-home .tn-hero{padding-top:28px}
/* 4. The same "keep the main button in view" rule as #nnext/#ready above, for the other set-up and call-order steps
   (Whose elf with 6 children, Town at 320x568, Choose the children), and for short landscape phones (844x390). */
@media (max-width:600px),(max-height:500px){#nnext,#ready,#wnext,#tnext,#clNext{position:sticky;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:5;box-shadow:0 6px 18px rgba(0,0,0,.35)}}

/* ---------- QA layout pass (1 Nov 2026, third round) ---------- */
/* 5. Phones: set-up and children's screens are at least one screen tall (tracker.css "100svh - 112px"), but the bauble
   logo makes the header about 160px, so their bottom buttons ended below the screen: count the real header. */
@media (max-width:759px){body.tnew .tk--ob,body.tnew .tk--kid{min-height:calc(100svh - 160px)}}
/* 6. Children's camera room ("Where is Muffin?") and the map ("Back to the camera room"): the main button stays in view. */
@media (max-width:600px),(max-height:500px){body.tnew main.tk--kid .body>#tomap,body.tnew main.tk--kid .body>#toroom{position:sticky;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:5;box-shadow:0 6px 18px rgba(0,0,0,.35)}}
/* 7. "Ready to show Sofia?": "Back to the tracker" sits under the (sticky) hand-over button, both in view. */
@media (max-width:600px),(max-height:500px){
  body.tnew main.tk-handover #ready{bottom:calc(58px + env(safe-area-inset-bottom,0px))}
  body.tnew main.tk-handover #back{position:sticky;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:5}
}
/* 8. The call order ("Choose the children" and the other steps): no empty stretch above Next on phones. */
@media (max-width:759px){body.tnew main.tk-callorder{min-height:0}body.tnew main.tk-callorder .fill{display:none}}
/* 9. Short landscape phones (844x390): the radar picture pushed the question and Next below the screen on the set-up
   steps: no picture there, and a smaller bauble logo. */
@media (max-height:500px) and (orientation:landscape){
  body.tnew main.tk--ob:is(.tk-kidcount,.tk-kidnames,.tk-elfcount,.tk-gender,.tk-elfname,.tk-whose,.tk-town)>.ob-vis{display:none!important}
  body.tnew:not(.logo-tile):not(.logo-cloud) .nav__home{width:84px;height:84px;margin-top:36px;transform-origin:50% -36px}
  body.tnew:not(.logo-tile):not(.logo-cloud) .nav__home img{width:68px}
  body.tnew:not(.logo-tile):not(.logo-cloud) .nav__home::after{top:-48px;height:34px}
  body.tnew main.tk--ob:is(.tk-kidcount,.tk-kidnames,.tk-elfcount,.tk-gender,.tk-elfname,.tk-whose,.tk-town){padding-top:8px!important}
  body.tnew main.tk--ob:is(.tk-kidcount,.tk-kidnames,.tk-elfcount,.tk-gender,.tk-elfname,.tk-whose,.tk-town)>.ob-pane{position:relative;gap:8px;padding-top:12px;padding-bottom:12px}
  body.tnew main.tk--ob:is(.tk-kidcount,.tk-kidnames,.tk-elfcount,.tk-gender,.tk-elfname,.tk-whose,.tk-town) .ob-pane>.qback{margin-bottom:0}
  body.tnew main.tk--ob:is(.tk-kidcount,.tk-kidnames,.tk-elfcount,.tk-gender,.tk-elfname,.tk-whose,.tk-town) .ob-pane>.fill{display:none}
  body.tnew main.tk--ob:is(.tk-kidcount,.tk-kidnames,.tk-elfcount,.tk-gender,.tk-elfname,.tk-whose,.tk-town) .ob-pane>.in{margin-top:0}
  body.tnew main.tk--ob:is(.tk-kidcount,.tk-kidnames,.tk-elfcount,.tk-gender,.tk-elfname,.tk-whose,.tk-town) .ob-pane>.qback+.qprog{position:absolute;top:23px;left:160px;right:24px}
  body.tnew main.tk--ob:is(.tk-kidcount,.tk-kidnames,.tk-elfcount,.tk-gender,.tk-elfname,.tk-whose,.tk-town) .qface{width:44px;height:44px}
}
/* Paul's "spread the magic" line under the share buttons (1 Nov 2026) */
.fc-groups{font-style:italic;font-size:14.5px;line-height:1.45;margin:10px 0 0;text-align:center}
.fc-signoff{font-family:"Plus Jakarta Sans",sans-serif;font-weight:800;font-size:16px;margin:8px 0 0;text-align:center}
