/* ===== Beta_v01 additions (stage 1): navigation, full-screen sims, new screens ===== */
/* watch: tappable rows + group route switches */
:is(#wristdemo, #wristhero) .tapr { cursor: pointer; transition: background .15s; }
:is(#wristdemo, #wristhero) .tapr:active { background: rgba(41,231,255,.16); }
:is(#wristdemo, #wristhero) .row.route { justify-content: space-between; }
:is(#wristdemo, #wristhero) .row.route .sw { width: 26px; height: 15px; border-radius: 8px; background: rgba(255,255,255,.16); position: relative; flex: none; font-style: normal; }
:is(#wristdemo, #wristhero) .row.route .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; transition: transform .2s; }
:is(#wristdemo, #wristhero) .row.route.on { box-shadow: inset 0 0 0 1.5px rgba(155,91,255,.8); background: rgba(155,91,255,.14); }
:is(#wristdemo, #wristhero) .row.route.on .sw { background: #9b5bff; box-shadow: 0 0 8px #9b5bff; }
:is(#wristdemo, #wristhero) .row.route.on .sw::after { transform: translateX(11px); }
:is(#wristdemo, #wristhero) #wd-grpList { gap: 5px; }
:is(#wristdemo, #wristhero) #wd-grpList .row { height: 30px; font-size: 13px; }
:is(#wristdemo, #wristhero) .tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }

/* ---- mobile section nav: no sideways scrolling ---- */
.jump .mnav { display: none; }
.navsheet { position: fixed; inset: 0; z-index: 200; display: none; flex-direction: column; padding: 70px 22px 28px; background: rgba(6,2,26,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.navsheet.on { display: flex; }
.navsheet a { font: 700 22px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 16px 6px; border-bottom: 1px solid var(--line); }
.navsheet a .k { color: var(--trail); margin-right: 12px; text-shadow: 0 0 10px rgba(255,43,214,.6); }
.navsheet a.on { color: var(--gauge); text-shadow: 0 0 10px rgba(41,231,255,.5); }
.bigx { position: fixed; top: 14px; right: 14px; z-index: 210; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--trail); background: rgba(40,0,34,.9); color: #fff; font: 700 22px/1 var(--head); cursor: pointer; box-shadow: 0 0 18px rgba(255,43,214,.6); }
@media (max-width: 700px) {
  .jump .in { display: none; }
  .jump .mnav { display: flex; width: 100%; align-items: center; gap: 8px; }
  .jump .mnav button { flex: none; height: 40px; min-width: 40px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--ink); font: 700 16px/1 var(--head); cursor: pointer; }
  .jump .mnav .cur { flex: 1; min-width: 0; text-align: center; font: 600 13px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--gauge); padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .jump .mnav .cur .k { color: var(--trail); margin-right: 6px; }
}
/* #211 the ribbon goes compact as soon as the full row stops fitting */
  .jump.compact .in { display: none; }
  .jump.compact .mnav { display: flex; width: 100%; align-items: center; gap: 8px; }
  .jump.compact .mnav button { flex: none; height: 40px; min-width: 40px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--ink); font: 700 16px/1 var(--head); cursor: pointer; }
  .jump.compact .mnav .cur { flex: 1; min-width: 0; text-align: center; font: 600 13px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--gauge); padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .jump.compact .mnav .cur .k { color: var(--trail); margin-right: 6px; }

/* ---- full-screen sim mode with an obvious Close ---- */
.fsbtn { font: 700 12px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--gauge); background: rgba(41,231,255,.1); color: var(--gauge); cursor: pointer; box-shadow: 0 0 12px rgba(41,231,255,.25); }
body.fs-open { overflow: hidden; }
.fs-host.fs { position: fixed; inset: 0; z-index: 190; background: radial-gradient(120% 80% at 50% 30%, #1a0838, #06021a 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 12px; }
.fs-host.fs .fsbtn, .fs-host.fs .demo { display: none; }
.fs-host.fs .fsdev { transform-origin: center center; }

/* ---- phone: menu clear of the phone's shadow (#54) ---- */
#phonedemo .pd-stage { gap: 34px; }
#phonedemo .ptabs { position: relative; z-index: 3; background: rgba(12,5,34,.92); }

/* ---- phone settings cog + sheet ---- */
#phonedemo .cogbtn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer; border: 1px solid rgba(165,155,214,.35); background: rgba(255,255,255,.05); color: var(--ink); flex: none; }
#phonedemo .cogbtn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#phonedemo .setsheet { max-height: 600px; }
#phonedemo .setsheet h5.sx { margin: 14px 0 4px; font: 700 10px/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--trail-soft); }
#phonedemo .setsheet .glowseg { grid-template-columns: repeat(6, 1fr); }
#phonedemo .setsheet .upg { display: block; width: 100%; margin-top: 14px; text-align: center; font: 600 11px/1 var(--head); color: var(--dim); background: none; border: 0; text-decoration: underline; cursor: pointer; }
#phonedemo .setsheet .bk { display: flex; justify-content: space-between; font: 500 11.5px/1.3 var(--body); padding: 6px 0; border-top: 1px solid rgba(165,155,214,.1); }
#phonedemo .setsheet .bk b { font: 700 10px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: #7dffb0; }
#phonedemo .setsheet .bk b.pend { color: #ffd84d; }

/* ===== stage 1 fixes ===== */
/* bubble row: true circles, evenly spaced, in the space above the speed tile (#77) */
#phonedemo .hdr { margin: 0 0 6px; }
#phonedemo .bubbles { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin: 0 2px 8px; }
#phonedemo .bubbles > button { width: 34px; height: 34px; min-width: 34px; flex: 0 0 34px; aspect-ratio: 1; border-radius: 50%; padding: 0; margin: 0; display: grid; place-items: center; cursor: pointer; position: relative; }
#phonedemo .bubbles svg { width: 17px; height: 17px; }
#phonedemo .bub { border: 1px solid rgba(165,155,214,.35); background: rgba(255,255,255,.05); color: var(--dim); transition: .2s; touch-action: none; }
#phonedemo .bub svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#phonedemo .bub.on { color: #fff; border-color: currentColor; }
#phonedemo #pd-bqj.on, #phonedemo #pd-sqj.on { color: #ffd84d; background: rgba(255,216,77,.14); box-shadow: 0 0 12px rgba(255,216,77,.55); }
#phonedemo #pd-bqj.on svg, #phonedemo #pd-sqj.on svg { fill: rgba(255,216,77,.35); filter: drop-shadow(0 0 4px #ffd84d); }
#phonedemo .bub[data-st="synced"] { color: var(--gauge); border-color: var(--gauge); background: rgba(41,231,255,.12); box-shadow: 0 0 12px rgba(41,231,255,.5); }
#phonedemo .bub[data-st="pending"] { color: var(--gauge); border-color: rgba(41,231,255,.5); animation: bubpulse 1.4s ease-in-out infinite; }
#phonedemo .bub[data-st="none"] { color: var(--dim); }
@keyframes bubpulse { 50% { box-shadow: 0 0 12px rgba(41,231,255,.6); opacity: .55; } }
#phonedemo #pd-block.on { color: #ff8a9a; border-color: #ff3b5c; background: rgba(255,59,92,.16); box-shadow: 0 0 12px rgba(255,59,92,.5); }
#phonedemo .bubbles .hlchip, #phonedemo .bubbles .hpchip { margin: 0; }
#phonedemo .speedcard { padding-top: 8px; }
/* long-press radiating flash, used by every long press */
#phonedemo .lpglow { position: absolute; inset: 0; z-index: 27; pointer-events: none; opacity: 0; }
#phonedemo .lpglow.go { animation: lpg .55s ease-out; }
@keyframes lpg { 0% { opacity: .95; } 100% { opacity: 0; } }
/* board lock screen */
#phonedemo .lockov { position: absolute; inset: 50px 0 60px; z-index: 9; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: rgba(5,1,15,.94); }
#phonedemo .lockov.on { display: flex; animation: lockflash .6s ease-out; }
@keyframes lockflash { 0% { background: rgba(255,59,92,.55); } 100% { background: rgba(5,1,15,.94); } }
#phonedemo .lockring { width: 190px; height: 190px; border-radius: 50%; border: 3px solid #ff3b5c; box-shadow: 0 0 30px rgba(255,59,92,.6), inset 0 0 30px rgba(255,59,92,.3); display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; }
#phonedemo .lockring svg { width: 44px; height: 44px; fill: none; stroke: #ff8a9a; stroke-width: 1.8; filter: drop-shadow(0 0 6px #ff3b5c); }
#phonedemo .lockring b { font: 700 20px/1 var(--head); letter-spacing: .04em; color: #ffd6dd; }
#phonedemo .lockring small { font: 500 11px/1 var(--body); color: var(--dim); }
#phonedemo .lockcancel { width: 200px; height: 56px; border-radius: 999px; border: 2px solid var(--gauge); background: rgba(41,231,255,.12); color: #bff8ff; font: 700 14px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; position: relative; overflow: hidden; touch-action: none; }
#phonedemo .lockcancel::after { content: ""; position: absolute; inset: 0; background: rgba(41,231,255,.35); transform: scaleX(0); transform-origin: left; }
#phonedemo .lockcancel.holding::after { transform: scaleX(1); transition: transform .7s linear; }
#phonedemo .lockset { font: 500 10.5px/1.3 var(--body); color: var(--dim); }
/* Stats tab only exists in Lite */
#phonedemo .pd-wrap:not(.lite) [data-v="stats"] { display: none !important; }
#phonedemo .pd-wrap.lite .tabbar { padding: 4px 20px 0; }
/* hover hints for mouse users (#79) */
.hint-tip { position: fixed; z-index: 400; max-width: 230px; padding: 8px 10px; border-radius: 10px; background: rgba(14,5,38,.97); border: 1px solid rgba(41,231,255,.45); color: var(--ink); font: 500 12px/1.35 var(--body); box-shadow: 0 8px 24px rgba(0,0,0,.5); pointer-events: none; opacity: 0; transition: opacity .12s; }
.hint-tip b { color: var(--gauge); font-weight: 600; }
.hint-tip.on { opacity: 1; }

/* ===== stage 2: groups, races, library, routing ===== */
#phonedemo #pd-rseg { grid-template-columns: repeat(3, 1fr); }
#phonedemo .psheet h5.sx { margin: 14px 0 4px; font: 700 10px/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--trail-soft); }
#phonedemo .psheet .mmb button { width: 100%; }
#phonedemo #pd-rlib .ride .t { gap: 3px; }
#phonedemo #pd-rlib .opts button { font-size: 9.5px; padding: 6px 8px; }
#phonedemo .tgl:disabled { opacity: .35; cursor: default; }
#phonedemo .layers .opts button { padding: 5px 7px; font-size: 9px; }
#phonedemo .mmb button.gold::after { content: ""; }

/* ===== stage 3: watch bubbles, watch lock, record menu, fixes ===== */
#phonedemo #pd-rseg button { font-size: 9.5px; letter-spacing: .05em; padding: 8px 2px; }
#phonedemo .mmb button.save { border-color: rgba(125,255,176,.7); background: rgba(125,255,176,.16); color: #7dffb0; }
:is(#wristdemo, #wristhero) .modal .c6 { background: #2bd98a; color: #032112; }
:is(#wristdemo, #wristhero) .wbubs { position: absolute; left: 0; right: 0; top: 270px; display: flex; justify-content: center; gap: 7px; z-index: 3; }
:is(#wristdemo, #wristhero) .wb { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; padding: 0; display: grid; place-items: center; cursor: pointer; touch-action: none;
  border: 1px solid rgba(165,155,214,.35); background: rgba(255,255,255,.05); color: var(--dim); transition: .2s; }
:is(#wristdemo, #wristhero) .wb svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:is(#wristdemo, #wristhero) .wb.on { color: #fff; border-color: rgba(255,255,255,.85); background: rgba(255,255,255,.14); box-shadow: 0 0 8px rgba(255,255,255,.45); }
:is(#wristdemo, #wristhero) .wb.hp.on { color: #7dffb0; border-color: #7dffb0; background: rgba(125,255,176,.12); box-shadow: 0 0 8px rgba(125,255,176,.45); }
:is(#wristdemo, #wristhero) .wb.sync { color: var(--gauge); border-color: var(--gauge); background: rgba(41,231,255,.12); box-shadow: 0 0 8px rgba(41,231,255,.5); }
:is(#wristdemo, #wristhero) .wb.sync.pending { animation: bubpulse 1.4s ease-in-out infinite; }
:is(#wristdemo, #wristhero) .wb.qj.on { color: #ffd84d; border-color: #ffd84d; background: rgba(255,216,77,.16); box-shadow: 0 0 8px rgba(255,216,77,.6); }
:is(#wristdemo, #wristhero) .wb.lk.on { color: #ff8a9a; border-color: #ff3b5c; background: rgba(255,59,92,.18); box-shadow: 0 0 8px rgba(255,59,92,.6); }
:is(#wristdemo, #wristhero) .wlock { position: absolute; inset: 0; z-index: 8; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(5,1,15,.95); }
:is(#wristdemo, #wristhero) .wlock.on { display: flex; animation: lockflash .6s ease-out; }
:is(#wristdemo, #wristhero) .wlring { width: 150px; height: 150px; border-radius: 50%; border: 3px solid #ff3b5c; box-shadow: 0 0 24px rgba(255,59,92,.6), inset 0 0 24px rgba(255,59,92,.3); display: grid; place-items: center; align-content: center; gap: 4px; text-align: center; }
:is(#wristdemo, #wristhero) .wlring svg { width: 34px; height: 34px; fill: none; stroke: #ff8a9a; stroke-width: 1.8; }
:is(#wristdemo, #wristhero) .wlring b { font: 700 16px/1 var(--head); color: #ffd6dd; } :is(#wristdemo, #wristhero) .wlring small { font: 500 10px/1 var(--body); color: var(--dim); }
:is(#wristdemo, #wristhero) .wlx { width: 150px; height: 40px; border-radius: 999px; border: 2px solid var(--gauge); background: rgba(41,231,255,.12); color: #bff8ff; font: 700 11px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; touch-action: none; }

/* ===== stage 4: Tune screen ===== */
#phonedemo .seg.seg4 { grid-template-columns: repeat(4, 1fr); }
#phonedemo .seg.seg4 button { font-size: 9.5px; letter-spacing: .06em; }
#phonedemo .slots { display: flex; gap: 7px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: -4px 0 10px; padding: 2px; }
#phonedemo .slots::-webkit-scrollbar { display: none; }
#phonedemo .slot { flex: 0 0 auto; min-width: 86px; scroll-snap-align: start; text-align: left; padding: 9px 10px; border-radius: 14px; border: 1px solid rgba(165,155,214,.22); background: rgba(255,255,255,.05); color: var(--ink); cursor: pointer; touch-action: none; }
#phonedemo .slot b { display: block; font: 600 12px/1.15 var(--head); white-space: nowrap; }
#phonedemo .slot small { display: block; font: 500 9.5px/1.2 var(--body); color: var(--dim); margin-top: 3px; white-space: nowrap; }
#phonedemo .slot.on { border-color: var(--trail); background: rgba(255,43,214,.14); box-shadow: 0 0 12px rgba(255,43,214,.35); }
#phonedemo .slot.add { min-width: 70px; border-style: dashed; text-align: center; }
#phonedemo .slot.add b { font-size: 16px; color: var(--gauge); }
#phonedemo .ledstrip { display: grid; grid-template-columns: repeat(18, 1fr); gap: 3px; padding: 8px; border-radius: 10px; background: #050210; }
#phonedemo .ledstrip i { height: 12px; border-radius: 3px; background: #222; }
#phonedemo .ledstrip[data-m="rainbow-fade"] i { animation: ledfade 4s linear infinite; }
#phonedemo .ledstrip[data-m="rainbow-cycle"] i { animation: ledfade 2s linear infinite; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i { animation: ledfade 2s linear infinite; }
#phonedemo .ledstrip[data-m="knight-rider"] i { background: #300; animation: knight 1.6s ease-in-out infinite; }
#phonedemo .ledstrip[data-m="solid-cyan"] i { background: #29e7ff; box-shadow: 0 0 8px #29e7ff; }
#phonedemo .ledstrip[data-m="off"] i { background: #1a1625; }
@keyframes ledfade { 0% { background: #ff2bd6; box-shadow: 0 0 8px #ff2bd6; } 33% { background: #29e7ff; box-shadow: 0 0 8px #29e7ff; } 66% { background: #ffd84d; box-shadow: 0 0 8px #ffd84d; } 100% { background: #ff2bd6; box-shadow: 0 0 8px #ff2bd6; } }
@keyframes knight { 0%, 100% { background: #300; box-shadow: none; } 50% { background: #ff3b3b; box-shadow: 0 0 10px #ff3b3b; } }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(1),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(1) { animation-delay: -0.11s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(1) { animation-delay: 0.06s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(2),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(2) { animation-delay: -0.22s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(2) { animation-delay: 0.12s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(3),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(3) { animation-delay: -0.33s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(3) { animation-delay: 0.18s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(4),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(4) { animation-delay: -0.44s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(4) { animation-delay: 0.24s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(5),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(5) { animation-delay: -0.55s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(5) { animation-delay: 0.30s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(6),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(6) { animation-delay: -0.66s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(6) { animation-delay: 0.36s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(7),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(7) { animation-delay: -0.77s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(7) { animation-delay: 0.42s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(8),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(8) { animation-delay: -0.88s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(8) { animation-delay: 0.48s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(9),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(9) { animation-delay: -0.99s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(9) { animation-delay: 0.54s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(10),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(10) { animation-delay: -1.10s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(10) { animation-delay: 0.60s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(11),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(11) { animation-delay: -1.21s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(11) { animation-delay: 0.66s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(12),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(12) { animation-delay: -1.32s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(12) { animation-delay: 0.72s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(13),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(13) { animation-delay: -1.43s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(13) { animation-delay: 0.78s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(14),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(14) { animation-delay: -1.54s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(14) { animation-delay: 0.84s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(15),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(15) { animation-delay: -1.65s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(15) { animation-delay: 0.90s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(16),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(16) { animation-delay: -1.76s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(16) { animation-delay: 0.96s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(17),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(17) { animation-delay: -1.87s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(17) { animation-delay: 1.02s; }
#phonedemo .ledstrip[data-m="rainbow-roll"] i:nth-child(18),#phonedemo .ledstrip[data-m="rainbow-fade"] i:nth-child(18) { animation-delay: -1.98s; }
#phonedemo .ledstrip[data-m="knight-rider"] i:nth-child(18) { animation-delay: 1.08s; }

/* ===== stage 5: site copy layout ===== */
.tag.watch { color: var(--trail-soft); border: 1px solid rgba(255,43,214,.6); }
h3.lead-in { font: 700 22px/1.2 var(--head); letter-spacing: .03em; text-transform: uppercase; color: var(--ink); margin: 8px 0 12px; }
ul.plain.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; margin: 4px 0 26px; padding-left: 18px; }
ul.plain.feat li { font-size: 16.5px; color: var(--dim); }
@media (max-width: 860px) { ul.plain.feat { grid-template-columns: 1fr; } }
.helpwrap { position: relative; margin: 6px 0 10px; }
.helpwrap .helps { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; margin: 0; }
.helpwrap .helps::-webkit-scrollbar { display: none; }
.helpwrap .help { flex: 0 0 min(340px, 84%); min-width: 0; scroll-snap-align: start; }
.hnav { position: absolute; top: 40%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gauge); background: rgba(7,2,26,.85); color: var(--gauge); font: 700 22px/1 var(--head); cursor: pointer; box-shadow: 0 0 14px rgba(41,231,255,.35); }
.hnav.prev { left: -8px; } .hnav.next { right: -8px; }

/* ===== review fixes: QuickJoin demo, crown dock ===== */
:is(#wristdemo, #wristhero) #wd-grpList { overflow-y: auto; scrollbar-width: none; }
:is(#wristdemo, #wristhero) #wd-grpList::-webkit-scrollbar { display: none; }
:is(#wristdemo, #wristhero) .qjc { color: #ffd84d !important; }
:is(#wristdemo, #wristhero) .wbubs { align-items: center; height: 34px; top: 264px; }
:is(#wristdemo, #wristhero) .wb { transition: width .18s, height .18s, flex-basis .18s, box-shadow .18s; }
:is(#wristdemo, #wristhero) .wb.nb { width: 26px; height: 26px; flex-basis: 26px; }
:is(#wristdemo, #wristhero) .wb.hl { width: 32px; height: 32px; flex-basis: 32px; outline: 2px solid rgba(41,231,255,.9); outline-offset: 1px; box-shadow: 0 0 14px rgba(41,231,255,.7); }
:is(#wristdemo, #wristhero) .wb.hl svg { width: 16px; height: 16px; }
:is(#wristdemo, #wristhero) .wb.press { transform: scale(.88); }
#phonedemo .qjnote { position: absolute; left: 10px; right: 10px; top: 50px; z-index: 29; padding: 10px 12px; border-radius: 18px; background: rgba(30,22,4,.97); border: 1px solid rgba(255,216,77,.7); box-shadow: 0 0 20px rgba(255,216,77,.3), 0 10px 30px rgba(0,0,0,.5); transform: translateY(-140%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
#phonedemo .qjnote.on { transform: none; }
#phonedemo .qjnote .qjt b { display: block; font: 700 12.5px/1.25 var(--head); color: #ffe9a0; }
#phonedemo .qjnote .qjt span { display: block; font: 500 10.5px/1.3 var(--body); color: var(--dim); margin-top: 2px; }
#phonedemo .qjnote .qja { display: flex; gap: 6px; margin-top: 8px; }
#phonedemo .qjnote .qja:empty { display: none; }
#phonedemo .qjnote .qja button { flex: 1; padding: 8px; border-radius: 999px; border: 0; cursor: pointer; font: 700 10px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.1); color: var(--ink); }
#phonedemo .qjnote .qja button.ok { background: #ffd84d; color: #261c00; }
#phonedemo .qjmap { position: relative; color: #ffd84d; border-color: rgba(255,216,77,.45); }
#phonedemo .qjmap svg { fill: rgba(255,216,77,.25); }
#phonedemo .qjmap.empty { animation: qjpulse 1.8s ease-in-out infinite; opacity: .7; }
#phonedemo .qjmap.full { border-color: #ffd84d; background: rgba(60,46,0,.9); box-shadow: 0 0 14px rgba(255,216,77,.6); }
#phonedemo .qjmap i { position: absolute; right: -5px; top: -5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #ffd84d; color: #261c00; font: 700 9px/16px var(--head); font-style: normal; display: none; }
#phonedemo .qjmap.full i { display: block; }
@keyframes qjpulse { 50% { box-shadow: 0 0 12px rgba(255,216,77,.55); opacity: 1; } }
#phonedemo .gtile.qjg .gbadge2 { border-style: dashed; box-shadow: 0 0 10px rgba(255,216,77,.4); }
#phonedemo .tag.qj { color: #ffd84d; border-color: rgba(255,216,77,.6); }
#phonedemo .qjcard { border: 1px dashed rgba(255,216,77,.6); }
#phonedemo .qjsheet { z-index: 26; }
/* QuickJoin fix list: watch map icon */
:is(#wristdemo, #wristhero) .wqj { position: absolute; left: 19px; top: 54px; width: 30px; height: 30px; border-radius: 50%; padding: 0; display: none; place-items: center; pointer-events: auto; cursor: pointer; z-index: 5; border: 1px solid rgba(255,216,77,.5); background: rgba(7,2,26,.8); color: #ffd84d; }
:is(#wristdemo, #wristhero) .wqj[style*="display: none"] { display: none !important; }
:is(#wristdemo, #wristhero) .wqj:not([style*="display: none"]) { display: grid; }
:is(#wristdemo, #wristhero) .wqj svg { width: 14px; height: 14px; fill: rgba(255,216,77,.3); stroke: #ffd84d; stroke-width: 1.8; stroke-linejoin: round; }
:is(#wristdemo, #wristhero) .wqj.empty { animation: qjpulse 1.8s ease-in-out infinite; opacity: .7; }
:is(#wristdemo, #wristhero) .wqj.full { background: rgba(60,46,0,.9); box-shadow: 0 0 12px rgba(255,216,77,.6); }
:is(#wristdemo, #wristhero) .wqj i { position: absolute; right: -4px; top: -4px; min-width: 14px; height: 14px; border-radius: 7px; background: #ffd84d; color: #261c00; font: 700 8px/14px var(--head); font-style: normal; display: none; }
:is(#wristdemo, #wristhero) .wqj.full i { display: block; }
#phonedemo .pd-wrap:not(.lite) .litecard-row { display: none; }

/* ===== stage 7: watch + hero ===== */
/* #99 battery */
:is(#wristdemo, #wristhero) .top .tr { display: flex; align-items: center; gap: 4px; }
.wbat { position: relative; width: 23px; height: 12px; border: 1.3px solid #7dffb0; border-radius: 3.5px; display: inline-grid; place-items: center; color: #7dffb0; margin-right: 3px; box-shadow: 0 0 calc(1.5px * var(--glow)) rgba(125,255,176,.6); }
.wbat::after { content: ""; position: absolute; right: -3.5px; top: 3px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: currentColor; }
.wbat i { position: absolute; left: 1px; top: 1px; bottom: 1px; max-width: calc(100% - 2px); background: currentColor; opacity: .28; border-radius: 1.5px; }
.wbat em { position: relative; font: 700 8.5px/1 var(--head); font-style: normal; color: #eafff2; letter-spacing: 0; }
.wbat.low { color: #ffd84d; border-color: #ffd84d; } .wbat.crit { color: #ff3b5c; border-color: #ff3b5c; }
/* #98 connection dot + panel */
#wristdemo #wd-conn { pointer-events: auto; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 3px 6px 3px 3px; margin: -3px 0 0 -3px; border-radius: 999px; transition: transform .2s, background .2s; }
#wristdemo #wd-conn.holding { transform: scale(1.12); background: rgba(41,231,255,.18); }
.cdot { width: 8px; height: 8px; border-radius: 50%; background: var(--gauge); box-shadow: 0 0 calc(2px * var(--glow)) var(--gauge); display: inline-block; flex: none; }
#wd-conn.off .cdot, .cdot.off { background: #6d6789; box-shadow: none; }
#wristdemo .connp { position: absolute; inset: 0; z-index: 14; display: none; align-items: center; justify-content: center; background: rgba(4,1,14,.75); backdrop-filter: blur(2px); }
#wristdemo .connp.on { display: flex; }
#wristdemo .cbox { width: 214px; max-height: 270px; display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 22px; background: rgba(14,5,38,.97); border: 1px solid rgba(41,231,255,.35); box-shadow: 0 0 24px rgba(41,231,255,.2); }
#wristdemo .chd { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
#wristdemo .chd b { font: 700 13px/1 var(--head); letter-spacing: .06em; color: var(--ink); }
#wristdemo .csw { width: 34px; height: 19px; border-radius: 10px; border: 0; background: rgba(255,255,255,.18); position: relative; cursor: pointer; }
#wristdemo .csw i { position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: transform .2s; }
#wristdemo .csw.on { background: var(--gauge); box-shadow: 0 0 10px var(--gauge); } #wristdemo .csw.on i { transform: translateX(15px); }
#wristdemo .cst { display: flex; align-items: center; gap: 5px; padding: 0 4px; font: 500 10.5px/1.3 var(--body); color: var(--dim); } #wristdemo .cst b { color: var(--ink); }
#wristdemo .cbtns { display: flex; gap: 5px; }
#wristdemo .cbtns button, #wristdemo .cdone { flex: 1; height: 28px; border-radius: 999px; border: 1px solid rgba(41,231,255,.55); background: rgba(41,231,255,.12); color: #bff8ff; font: 700 10px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
#wristdemo .isoff .cbtns button { opacity: .35; }
#wristdemo .cdone { flex: none; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: var(--ink); }
#wristdemo .cbar { height: 3px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; opacity: 0; } #wristdemo .cbar.on { opacity: 1; }
#wristdemo .cbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #29e7ff, #ff2bd6); box-shadow: 0 0 8px #29e7ff; }
#wristdemo .clist { overflow-y: auto; display: flex; flex-direction: column; gap: 4px; min-height: 40px; scrollbar-width: none; }
#wristdemo .chint { font: 500 10.5px/1.35 var(--body); color: var(--dim); text-align: center; padding: 4px 6px; }
#wristdemo .crow { display: flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 11px; background: rgba(255,255,255,.06); border: 0; color: var(--ink); text-align: left; width: 100%; font: inherit; }
#wristdemo button.crow { cursor: pointer; }
#wristdemo .crow span { flex: 1; min-width: 0; } #wristdemo .crow b { display: block; font: 600 11.5px/1.2 var(--head); }
#wristdemo .crow small { display: block; font: 500 9.5px/1.25 var(--body); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#wristdemo .crow em { font: 700 9px/1 var(--head); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--gauge); }
#wristdemo .crow.main, #wristdemo .crow.cur { box-shadow: inset 0 0 0 1.3px rgba(41,231,255,.7); } #wristdemo .crow.cur em { color: #7dffb0; }
#wristdemo .sig { display: flex; align-items: flex-end; gap: 1.5px; height: 10px; } #wristdemo .sig i { width: 2.5px; border-radius: 1px; background: rgba(255,255,255,.2); } #wristdemo .sig i.on { background: var(--gauge); }
/* #103 / #104 one map button */
#wristdemo .compass { pointer-events: auto; cursor: pointer; transition: width .25s, height .25s, top .25s, left .25s, border-color .25s, box-shadow .25s; }
:is(#wristdemo, #wristhero) .compass.hd { border-color: rgba(255,43,214,.7); box-shadow: 0 0 8px rgba(255,43,214,.45); }
:is(#wristdemo, #wristhero) .compass .rcI { display: none; position: absolute; inset: 0; place-items: center; }
:is(#wristdemo, #wristhero) .compass .rcI svg { width: 20px; height: 20px; fill: none; stroke: var(--gauge); stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 3px var(--gauge)); }
#wristdemo .compass.rc { width: 38px; height: 38px; top: 13px; left: 15px; transform: none !important; border-color: var(--gauge); background: rgba(4,20,30,.92); animation: rcblink 1.1s ease-in-out infinite; }
#wristdemo .compass.rc span, #wristdemo .compass.rc i { display: none; } #wristdemo .compass.rc .rcI { display: grid; }
@keyframes rcblink { 0%, 100% { box-shadow: 0 0 4px rgba(41,231,255,.4); } 50% { box-shadow: 0 0 16px rgba(41,231,255,.95), 0 0 0 3px rgba(41,231,255,.18); } }
#wristdemo #wd-recenter { display: none !important; }
#phonedemo .recenter .rcsvg { fill: none !important; stroke: var(--gauge); stroke-width: 2.2; stroke-linecap: round; width: 20px !important; height: 20px !important; filter: drop-shadow(0 0 3px var(--gauge)); }
#phonedemo .recenter.on { animation: rcgrow 1.1s ease-in-out infinite; }
@keyframes rcgrow { 0%, 100% { transform: scale(1); box-shadow: 0 0 4px rgba(41,231,255,.4); } 50% { transform: scale(1.14); box-shadow: 0 0 16px rgba(41,231,255,.9); } }
/* #105 groups as sections */
:is(#wristdemo, #wristhero) #wd-grpList, #wristhero .list { overflow-y: auto; scrollbar-width: none; gap: 5px; }
:is(#wristdemo, #wristhero) .list h4 span { display: none; }
:is(#wristdemo, #wristhero) .gsec { display: flex; flex-direction: column; gap: 4px; padding: 5px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid color-mix(in srgb, var(--gc, #29e7ff) 45%, transparent); flex: none; }
:is(#wristdemo, #wristhero) .ghead { background: color-mix(in srgb, var(--gc, #29e7ff) 16%, transparent) !important; justify-content: flex-start !important; }
:is(#wristdemo, #wristhero) .ghead b { margin-left: auto; color: var(--gc, #29e7ff) !important; }
.gdot { width: 8px; height: 8px; border-radius: 50%; background: var(--gc, #29e7ff); box-shadow: 0 0 calc(2px * var(--glow)) var(--gc, #29e7ff); display: inline-block; margin-right: 6px; flex: none; }
:is(#wristdemo, #wristhero) .groutes { display: flex; flex-direction: column; gap: 3px; margin-left: 12px; padding-left: 7px; border-left: 1.5px dashed rgba(165,155,214,.3); }
:is(#wristdemo, #wristhero) .rlab { font: 600 9px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: #8c84b4; padding: 3px 2px 1px; }
:is(#wristdemo, #wristhero) .rlab.o { padding: 6px 6px 0; }
:is(#wristdemo, #wristhero) .row.route.rsub { height: 25px !important; font-size: 11.5px !important; background: rgba(140,132,180,.1); color: #cfc8ec; border-radius: 9px; padding: 0 9px; }
:is(#wristdemo, #wristhero) .row.route.rsub span { display: flex; align-items: center; gap: 5px; }
.rti { width: 12px; height: 12px; fill: none; stroke: #a59bd6; stroke-width: 2.4; stroke-linecap: round; flex: none; }
:is(#wristdemo, #wristhero) .row.route.rsub.on .rti { stroke: #c9a8ff; }
:is(#wristdemo, #wristhero) .gtools { display: flex; gap: 4px; } :is(#wristdemo, #wristhero) .gtools .row { flex: 1; justify-content: center; font-size: 11.5px !important; height: 27px !important; padding: 0 6px; }
:is(#wristdemo, #wristhero) .gtools #wd-gLive, :is(#wristdemo, #wristhero) .gtools .row:first-child { color: var(--trail-soft); } :is(#wristdemo, #wristhero) .gtools .row:last-child { color: #ffad66; }
:is(#wristdemo, #wristhero) .gsec > .row:not(.ghead) { height: 27px !important; font-size: 12px !important; }
:is(#wristdemo, #wristhero) .gothers { display: flex; flex-direction: column; gap: 4px; flex: none; }
:is(#wristdemo, #wristhero) .gmini { height: 27px !important; font-size: 12px !important; background: rgba(255,255,255,.05); }
:is(#wristdemo, #wristhero) .gmini span { display: flex; align-items: center; } :is(#wristdemo, #wristhero) .gmini b { font-size: 10px !important; }
/* #96 / #97 hero watch slider */
#wristhero .track { position: absolute; inset: 0; display: flex; width: 500%; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
#wristhero .track.drag { transition: none; }
#wristhero .panel { pointer-events: none; }
#wristhero .hw-rec { z-index: 6; }
#wristhero { user-select: none; -webkit-user-select: none; }

/* ===== stage 8: route library, My Rides search, ride → route, Lite ===== */
#phonedemo .pd-wrap.lite .flonly, #phonedemo .pd-wrap.lite #pd-rseg [data-s="lib"] { display: none !important; }
#phonedemo .liteonly { display: none; } #phonedemo .pd-wrap.lite .liteonly { display: block; }
/* finder */
#phonedemo .finder { margin-bottom: 8px; }
#phonedemo .fsrch { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 5px 0 11px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(165,155,214,.22); color: var(--dim); }
#phonedemo .fsrch:focus-within { border-color: var(--gauge); box-shadow: 0 0 10px rgba(41,231,255,.3); }
#phonedemo .fsrch input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: 500 12.5px/1 var(--body); }
#phonedemo .fsrch input::-webkit-search-cancel-button { display: none; }
#phonedemo .fsrch .fx { border: 0; background: none; color: var(--dim); font-size: 12px; cursor: pointer; padding: 4px; }
#phonedemo .fsrch .mic { width: 28px; height: 28px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: linear-gradient(135deg, #ff2bd6, #9b5bff); box-shadow: 0 0 calc(3px * var(--glow)) rgba(255,43,214,.6); }
#phonedemo .fsrch .mic svg { width: 14px; height: 14px; fill: #fff; }
#phonedemo .fsrch .mic.on { animation: micp .6s ease-in-out infinite alternate; }
@keyframes micp { to { transform: scale(1.15); box-shadow: 0 0 18px rgba(255,43,214,.9); } }
#phonedemo .fchips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 1px 2px; touch-action: pan-x; cursor: grab; }
#phonedemo .fchips::-webkit-scrollbar { display: none; }
#phonedemo .fc { flex: none; font: 600 10.5px/1 var(--head); letter-spacing: .04em; padding: 7px 10px; border-radius: 999px; border: 1px solid rgba(165,155,214,.3); background: rgba(255,255,255,.05); color: var(--dim); cursor: pointer; white-space: nowrap; }
#phonedemo .fc.pl { color: #bff8ff; border-color: rgba(41,231,255,.4); } #phonedemo .fc.hz { color: #ff8a8a; border-color: rgba(255,90,90,.45); }
#phonedemo .fc.on { color: #ffe6fb; border-color: var(--trail); background: rgba(255,43,214,.18); box-shadow: 0 0 calc(2px * var(--glow)) rgba(255,43,214,.5); }
#phonedemo #pd-rchip.fbtn { cursor: pointer; color: #ffe6fb; border-color: var(--trail); background: rgba(255,43,214,.16); box-shadow: 0 0 calc(2px * var(--glow)) rgba(255,43,214,.5); }
/* library */
#phonedemo .libtop { margin-bottom: 10px; }
#phonedemo .lcount { font: 500 10.5px/1 var(--body); color: var(--dim); margin: 2px 2px 8px; } #phonedemo .lcount b { color: var(--ink); }
#phonedemo .lcard { border-radius: 16px; background: rgba(255,255,255,.045); border: 1px solid rgba(165,155,214,.15); margin-bottom: 8px; overflow: hidden; transition: border-color .2s; }
#phonedemo .lcard.open { border-color: color-mix(in srgb, var(--rc) 55%, transparent); }
#phonedemo .lc1 { display: flex; align-items: center; gap: 10px; padding: 9px; cursor: pointer; }
#phonedemo .rshape { flex: none; border-radius: 11px; background: #07031a; border: 1px solid color-mix(in srgb, var(--rc) 35%, transparent); }
#phonedemo .rshape polyline { fill: none; stroke: var(--rc); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 calc(1px * var(--glow)) var(--rc)); }
#phonedemo .rshape .s { fill: #7dffb0; } #phonedemo .rshape .e { fill: #ff3b5c; }
#phonedemo .lt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#phonedemo .lt b { font: 600 13.5px/1.2 var(--head); } #phonedemo .lt > span { font: 500 10.5px/1.3 var(--body); color: var(--dim); }
#phonedemo .lmeta { display: flex; flex-wrap: wrap; gap: 4px; }
#phonedemo .lmeta em { font: 700 8.5px/1 var(--head); font-style: normal; letter-spacing: .06em; text-transform: uppercase; padding: 3px 5px; border-radius: 5px; border: 1px solid rgba(165,155,214,.35); color: var(--dim); }
#phonedemo .lmeta .s-personal { color: var(--gauge); border-color: rgba(41,231,255,.5); } #phonedemo .lmeta .s-downloaded { color: #c6ff5a; border-color: rgba(198,255,90,.45); }
#phonedemo .lmeta .s-friends { color: #ff9cf4; border-color: rgba(255,156,244,.5); } #phonedemo .lmeta .s-public { color: #ffd84d; border-color: rgba(255,216,77,.5); }
#phonedemo .lmeta .pub { color: #7dffb0; } #phonedemo .lmeta .off { color: #8ad8e6; border-style: dashed; } #phonedemo .lmeta .hz { color: #ff8a8a; border-color: rgba(255,90,90,.5); }
#phonedemo .ltw { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(165,155,214,.3); background: rgba(255,255,255,.06); color: var(--ink); cursor: pointer; transition: transform .25s; font-size: 12px; }
#phonedemo .lcard.open .ltw { transform: rotate(180deg); border-color: var(--rc); color: var(--rc); }
#phonedemo .ldrop { display: none; padding: 0 10px 10px; } #phonedemo .lcard.open .ldrop { display: block; animation: ldrop .25s ease-out; }
@keyframes ldrop { from { opacity: 0; transform: translateY(-4px); } }
#phonedemo .ltags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
#phonedemo .ltag { font: 600 10px/1 var(--head); padding: 5px 8px; border-radius: 999px; border: 1px solid rgba(155,91,255,.45); background: rgba(155,91,255,.12); color: #d9c8ff; cursor: pointer; }
#phonedemo .ltag.haz { border-color: rgba(255,90,90,.5); background: rgba(255,59,92,.12); color: #ffb0b0; } #phonedemo .ltag.aka { border-color: rgba(255,216,77,.5); background: rgba(255,216,77,.1); color: #ffe38a; font-style: italic; }
#phonedemo .ltag.pick { opacity: .75; } #phonedemo .ltag.pick.on { opacity: 1; box-shadow: 0 0 calc(2px * var(--glow)) currentColor; border-color: currentColor; } #phonedemo .ltag.pick.on::before { content: "✓ "; }
#phonedemo .ltag:disabled { cursor: default; }
#phonedemo .psheet h5.sx.hz { color: #ff8a8a; }
#phonedemo .tcount { font: 700 10px/1 var(--head); color: var(--gauge); margin-left: 4px; } #phonedemo .tcount.full { color: #ffd84d; }
#phonedemo .lph { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 9px; margin-bottom: 8px; border-radius: 12px; border: 1px solid rgba(255,43,214,.3); background: rgba(255,43,214,.06); color: var(--ink); cursor: pointer; text-align: left; font: inherit; }
#phonedemo .lph span:nth-child(2) { flex: 1; font: 600 11.5px/1.2 var(--head); } #phonedemo .lph small { display: block; font: 500 10px/1.3 var(--body); color: var(--dim); } #phonedemo .lph b { color: var(--trail-soft); }
#phonedemo .thumbs { display: flex; } #phonedemo .thumbs .th { margin-left: -6px; } #phonedemo .thumbs .th:first-child { margin-left: 0; }
#phonedemo .th { display: inline-block; width: 26px; height: 26px; border-radius: 7px; border: 1.5px solid #120630; flex: none; background: radial-gradient(circle at 30% 30%, hsl(var(--h) 90% 70%), transparent 55%), linear-gradient(160deg, hsl(var(--h) 70% 38%), hsl(calc(var(--h) + 60) 70% 22%)); }
#phonedemo .th.off { filter: grayscale(1) brightness(.5); } #phonedemo .th.none { background: rgba(255,255,255,.08); }
#phonedemo .phl { display: flex; flex-direction: column; gap: 6px; }
#phonedemo .phr { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; background: rgba(255,255,255,.04); }
#phonedemo .phr .th { width: 44px; height: 44px; border-radius: 9px; } #phonedemo .phr span { flex: 1; } #phonedemo .phr b { display: block; font: 600 12px/1.2 var(--head); } #phonedemo .phr small { font: 500 10px/1.3 var(--body); color: var(--dim); }
#phonedemo .phr.off b { color: var(--dim); }
#phonedemo .ldrop .opts { display: flex; flex-wrap: wrap; gap: 5px; }
#phonedemo .opts.gpick { margin-top: 6px; } #phonedemo .opts.gpick button.on { border-color: #ffd84d; color: #ffd84d; }
#phonedemo .lempty { text-align: center; padding: 18px 8px; color: var(--dim); font: 500 12px/1.4 var(--body); display: flex; flex-direction: column; gap: 10px; align-items: center; }
#phonedemo .srcmenu button { text-align: left; } #phonedemo .srcmenu button small { display: block; margin-top: 4px; font: 500 10px/1.3 var(--body); color: var(--dim); }
#phonedemo .srcmenu button.on { border-color: var(--trail); background: rgba(255,43,214,.14); }
/* group route list (#106) */
#phonedemo .grl { display: flex; flex-direction: column; gap: 5px; max-height: 214px; overflow-y: auto; scrollbar-width: none; margin: 4px 0; padding-right: 1px; }
#phonedemo .grl.tall { max-height: 360px; }
#phonedemo .grr { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 13px; background: rgba(255,255,255,.04); border: 1px solid rgba(165,155,214,.12); width: 100%; text-align: left; color: var(--ink); font: inherit; flex: none; }
#phonedemo button.grr { cursor: pointer; } #phonedemo button.grr.dis { opacity: .4; cursor: default; } #phonedemo .grr em { font-style: normal; color: var(--dim); }
#phonedemo .grr span { flex: 1; min-width: 0; } #phonedemo .grr b { display: block; font: 600 12px/1.2 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #phonedemo .grr small { font: 500 10px/1.3 var(--body); color: var(--dim); }
#phonedemo .grr .rshape { width: 30px; height: 30px; border-radius: 8px; }
#phonedemo .grr .rb { width: 11px; height: 11px; border-radius: 50%; flex: none; border: 2px solid #5f587e; background: transparent; transition: all .2s; }
#phonedemo .grr.on { border-color: color-mix(in srgb, var(--rc) 45%, transparent); background: color-mix(in srgb, var(--rc) 8%, transparent); }
#phonedemo .grr.on .rb { border-color: var(--rc); background: var(--rc); box-shadow: 0 0 calc(3px * var(--glow)) var(--rc); }
#phonedemo .grr:not(.on) .rshape { opacity: .55; }
/* My Rides extras */
#phonedemo .ride .rx { display: flex; gap: 5px; margin-top: 2px; }
#phonedemo .ride .rx button { font: 700 9px/1 var(--head); letter-spacing: .04em; padding: 5px 7px; border-radius: 999px; border: 1px solid rgba(165,155,214,.35); background: rgba(255,255,255,.05); color: var(--dim); cursor: pointer; }
#phonedemo .ride .rx .rpub.pub { color: #7dffb0; border-color: rgba(125,255,176,.5); }
#phonedemo .ride .rx .rrt { color: var(--gauge); border-color: rgba(41,231,255,.5); } #phonedemo .ride .rx .rrt.made { color: #7dffb0; border-color: rgba(125,255,176,.5); }
/* ride → route flow */
#phonedemo .fdots { display: flex; gap: 5px; justify-content: center; margin: -2px 0 10px; }
#phonedemo .fdots i { width: 18px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); } #phonedemo .fdots i.done { background: rgba(41,231,255,.55); } #phonedemo .fdots i.on { background: var(--gauge); box-shadow: 0 0 8px var(--gauge); }
#phonedemo .fnav { margin-top: 12px; }
#phonedemo .fesc { display: block; margin: 10px auto 0; border: 0; background: none; color: var(--dim); font: 600 11px/1 var(--head); cursor: pointer; text-decoration: underline; }
#phonedemo .fprev { display: flex; gap: 10px; align-items: center; margin: 6px 0 10px; } #phonedemo .fprev .rshape { width: 64px; height: 64px; }
#phonedemo .fname { flex: 1; display: flex; flex-direction: column; gap: 4px; } #phonedemo .fname small { font: 600 9.5px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
#phonedemo .fname input { height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(41,231,255,.4); background: rgba(255,255,255,.06); color: var(--ink); font: 600 13px/1 var(--head); outline: 0; }
#phonedemo .fprep { font: 500 10.5px/1.3 var(--body); color: var(--dim); } #phonedemo .cbarp { height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 5px; }
#phonedemo .cbarp i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #29e7ff, #7dffb0); box-shadow: 0 0 8px #29e7ff; }
#phonedemo .psheet .upg { display: block; margin: 8px 0 0 auto; border: 0; background: none; color: var(--gauge); font: 600 11px/1 var(--head); cursor: pointer; }

/* ===== stage 9: sim bar, city map, no-board, Lite launch, watch Lite, Crown + Action ===== */
.simbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin: 4px auto 16px; padding: 8px 12px; max-width: 760px; border-radius: 16px; background: rgba(14,6,38,.7); border: 1px solid rgba(155,91,255,.35); box-shadow: 0 0 calc(5px * var(--glow)) rgba(155,91,255,.25); }
.simbar .sbl { font: 700 10px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--gauge); }
.simbar .sbn { font: 500 11px/1.2 var(--body); color: var(--dim); }
.simbar .sbseg { display: flex; gap: 3px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(165,155,214,.2); }
.simbar .sbseg button { font: 600 11.5px/1 var(--head); letter-spacing: .04em; color: var(--dim); background: none; border: 0; padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.simbar .sbseg button i { font-style: normal; margin-right: 3px; }
.simbar .sbseg button.on { color: #0b0420; background: var(--gauge); box-shadow: 0 0 calc(4px * var(--glow)) rgba(41,231,255,.6); }
.simbar [data-k="tier"] button.on[data-v="lite"] { background: #7dffb0; box-shadow: 0 0 calc(4px * var(--glow)) rgba(125,255,176,.6); }
.simbar [data-k="area"] button.on[data-v="city"] { background: #ff9cf4; box-shadow: 0 0 calc(4px * var(--glow)) rgba(255,43,214,.6); }
.areaswap { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: rgba(3,1,15,.82); backdrop-filter: blur(3px); animation: aswap .25s ease-out; }
.areaswap b { font: 600 15px/1 var(--head); letter-spacing: .12em; color: #bff8ff; text-shadow: 0 0 12px #29e7ff; }
@keyframes aswap { from { opacity: 0; } }
html[data-area="trail"] #phonedemo .cityonly { display: none; }
#phonedemo .areapick .seg3 button { font-size: 10.5px; }
/* #122 no board */
#phonedemo .pd-wrap.noboard .tabbar [data-v="board"], #phonedemo .pd-wrap.noboard .tabbar [data-v="tune"], #phonedemo .pd-wrap.noboard .ptabs [data-v="board"], #phonedemo .pd-wrap.noboard .ptabs [data-v="tune"], #phonedemo .pd-wrap.noboard .vesc, #phonedemo .pd-wrap.noboard .hlchip { display: none !important; }
#phonedemo .pd-wrap.noboard:not(.lite) .tabbar [data-v="stats"] { display: flex !important; } #phonedemo .pd-wrap.noboard:not(.lite) .ptabs [data-v="stats"] { display: inline-block !important; }
#phonedemo .nbcard { display: none; border-color: rgba(41,231,255,.45); } #phonedemo .pd-wrap.noboard:not(.lite) .nbcard { display: block; }
#phonedemo .pd-wrap:not(.lite) .liteupg { display: none; }
/* #123 Lite launch */
#phonedemo .pd-wrap.lite #pd-sheet { display: none !important; }
#phonedemo .upgm { position: absolute; inset: 0; z-index: 40; display: none; align-items: center; justify-content: center; padding: 22px; background: rgba(4,1,14,.72); backdrop-filter: blur(3px); }
#phonedemo .upgm.on { display: flex; animation: aswap .3s ease-out; }
#phonedemo .upgbox { width: 100%; padding: 18px 16px 14px; border-radius: 26px; background: rgba(14,6,38,.97); border: 1px solid rgba(255,216,77,.45); box-shadow: 0 0 calc(8px * var(--glow)) rgba(255,216,77,.3); text-align: center; }
#phonedemo .upgbox h6 { margin: 8px 0 4px; font: 700 17px/1.2 var(--head); }
#phonedemo .upgi { width: 46px; height: 46px; margin: 0 auto; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: rgba(255,216,77,.16); border: 1px solid rgba(255,216,77,.6); box-shadow: 0 0 calc(4px * var(--glow)) rgba(255,216,77,.5); }
#phonedemo #pd-upgbuy { background: #ffd84d; color: #261c00; margin-top: 12px; }
#phonedemo .upgck { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; font: 500 11.5px/1 var(--body); color: var(--dim); cursor: pointer; }
#phonedemo .upgck input { accent-color: #ff2bd6; width: 15px; height: 15px; }
/* watch Lite (#124) */
#wristdemo.lite #wd-track > .panel:nth-child(2) { width: 0; }
#wristdemo.lite #wd-dots i:nth-child(2), #wristdemo.lite #wd-tabs [data-i="1"], #wristdemo.lite #wd-bHl, #wristdemo.lite #wd-bLk, #wristdemo.lite #wd-conn, #wristdemo.lite .wvesc, #wristdemo.lite #wd-duty, #wristdemo.lite #wd-spark { display: none !important; }
#wristdemo .wlitegrp { display: none; } #wristdemo.lite .wlitegrp { display: inline; }
#wristdemo.lite .wd-board .top::before { content: "● GPS"; color: #7dffb0; font: 600 12px/1 var(--head); }
/* #126 Crown highlight + Action confirm */
#wristdemo .whl:not(:is(.modal, .wlayer) *) { box-shadow: inset 0 0 0 1.6px var(--gauge), 0 0 calc(3px * var(--glow)) rgba(41,231,255,.6); background: rgba(41,231,255,.14) !important; }
#wristdemo .wcf { background: rgba(41,231,255,.35) !important; }
#wristdemo .crown.td { animation: crt .25s ease-out; } #wristdemo .crown.tu { animation: crt2 .25s ease-out; }
@keyframes crt { 50% { transform: translateY(2px); filter: brightness(1.5); } } @keyframes crt2 { 50% { transform: translateY(-2px); filter: brightness(1.5); } }
#wristdemo .wd-action.press { filter: brightness(1.6); transform: translateX(-1px); }

/* ===== stage 10 ===== */
/* sim bar centred over each device */
.pd-stage > .simbar, #wristdemo .stage > .simbar { width: fit-content; max-width: 100%; margin: 0 auto 14px; }
.simbar .sbn { display: none; }
/* #139 map top row: search and layers left, REC top right like Stats */
#phonedemo #pd-v-map .mtop { justify-content: flex-start; align-items: center; }
#phonedemo #pd-v-map .mtop .srch { flex: none; width: 38px; height: 38px; padding: 0; justify-content: center; font-size: 0; gap: 0; border-radius: 13px; }
#phonedemo #pd-v-map .mtop .srch svg { width: 15px; height: 15px; }
#phonedemo #pd-v-map .mtop #pd-lyrbtn { order: 1; } #phonedemo #pd-v-map .mtop #pd-mqj { order: 2; }
#phonedemo #pd-v-map .mtop .recchip { order: 5; margin-left: auto; height: auto; padding: 6px 9px; border-radius: 999px; }
#phonedemo #pd-v-map .mspd { top: 98px; }
/* #128 phone N circle */
#phonedemo .pcompass { position: absolute; left: 12px; top: 98px; z-index: 6; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(8,3,24,.86); cursor: pointer; padding: 0; transition: width .25s, height .25s, border-color .25s; }
#phonedemo .pcompass span { position: absolute; top: 3px; left: 0; right: 0; text-align: center; font: 700 9px/1 var(--head); color: var(--trail-soft); }
#phonedemo .pcompass i { position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-bottom: 12px solid var(--gauge); transform-origin: 50% 70%; filter: drop-shadow(0 0 3px var(--gauge)); }
#phonedemo .pcompass.hd { border-color: rgba(255,43,214,.7); box-shadow: 0 0 8px rgba(255,43,214,.45); }
#phonedemo .pcompass .rcI { display: none; position: absolute; inset: 0; place-items: center; }
#phonedemo .pcompass .rcI svg { width: 22px; height: 22px; fill: none; stroke: var(--gauge); stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 3px var(--gauge)); }
#phonedemo .pcompass.rc { width: 44px; height: 44px; transform: none !important; border-color: var(--gauge); animation: rcgrow 1.1s ease-in-out infinite; }
#phonedemo .pcompass.rc span, #phonedemo .pcompass.rc i { display: none; } #phonedemo .pcompass.rc .rcI { display: grid; }
#phonedemo #pd-recenter { display: none !important; }
/* #136 bottom strip */
#phonedemo .mstrip { position: absolute; left: 70px; right: 70px; bottom: 70px; z-index: 6; min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 10px; border-radius: 14px; background: rgba(8,3,24,.86); border: 1px solid rgba(165,155,214,.22); text-align: center; pointer-events: none; }
#phonedemo .mstrip span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#phonedemo .mstrip small { font: 600 8.5px/1.1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#phonedemo .mstrip small.nx { letter-spacing: .04em; text-transform: none; color: #8ad8e6; }
#phonedemo .mstrip b { font: 600 12.5px/1.15 var(--head); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #phonedemo .mstrip b em { font-style: normal; color: var(--gauge); }
#phonedemo .mstrip i { font-style: normal; font: 700 22px/1 var(--head); color: var(--gauge); text-shadow: 0 0 8px var(--gauge); }
#phonedemo .mstrip.nav { border-color: var(--gauge); background: rgba(4,20,30,.92); box-shadow: 0 0 calc(3px * var(--glow)) rgba(41,231,255,.5); }
#phonedemo .mstrip.nav b { font-size: 13.5px; }
#phonedemo #pd-v-map.sheeted .mstrip { display: none; }
/* #132 Group meet: small gold star circle; #133 talk and camera smaller and dimmed when idle */
#phonedemo .gmeet { width: 44px; height: 44px; padding: 0 !important; border-radius: 50% !important; display: grid; place-items: center; left: 14px; bottom: 74px; }
#phonedemo .gmeet svg { width: 22px; height: 22px; fill: #1a1300; }
#phonedemo .pd-wrap.lite .gmeet { display: none !important; }
#phonedemo .morb { width: 49px; height: 49px; opacity: .65; transition: opacity .2s, transform .2s; } #phonedemo .morb span { font-size: 6.5px; }
#phonedemo .morb:hover, #phonedemo .morb:active, #phonedemo .morb.rec, #phonedemo .morb.inc { opacity: 1; }
#phonedemo .fab { width: 39px; height: 39px; opacity: .65; transition: opacity .2s; bottom: 126px; } #phonedemo .fab svg { width: 18px; height: 18px; } #phonedemo .fab:hover, #phonedemo .fab:active { opacity: 1; }
#wristdemo .map .orb { opacity: .65; transition: opacity .2s; } #wristdemo .map .orb:hover, #wristdemo .map .orb:active, #wristdemo .map .orb.rec, #wristdemo .map .orb.inc { opacity: 1; }
/* watch strip */
#wristdemo .wstrip { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); max-width: 150px; z-index: 5; display: flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(7,2,26,.82); border: 1px solid rgba(165,155,214,.25); pointer-events: none; }
#wristdemo .wstrip b { font: 600 9px/1.2 var(--head); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#wristdemo .wstrip i { font-style: normal; font: 700 12px/1 var(--head); color: var(--gauge); }
#wristdemo .wstrip.nav { border-color: var(--gauge); }
#wristdemo .wstrip:empty { display: none; }
#wristdemo .map .chip.spd { bottom: 40px !important; }
/* #134 profiles */
#phonedemo .profs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
#phonedemo .profs button { padding: 9px 4px; border-radius: 12px; border: 1px solid rgba(165,155,214,.3); background: rgba(255,255,255,.05); color: var(--dim); font: 600 11px/1.1 var(--head); cursor: pointer; transition: transform .15s; }
#phonedemo .profs button i { display: block; font-style: normal; font-size: 15px; margin-bottom: 3px; }
#phonedemo .profs button.on { color: #0b0420; background: var(--gauge); border-color: var(--gauge); box-shadow: 0 0 calc(4px * var(--glow)) rgba(41,231,255,.6); }
#phonedemo .profs button.held { transform: scale(1.06); }
#phonedemo .profed { margin: 6px 0 0; font: 500 10.5px/1.3 var(--body); color: #8ad8e6; } #phonedemo .profed b { color: var(--ink); }
/* #137 / #138 connection sheet + known devices */
#phonedemo .bconn { cursor: pointer; transition: transform .2s; } #phonedemo .bconn.holding { transform: scale(1.08); box-shadow: 0 0 12px rgba(41,231,255,.5); }
#phonedemo .kdev { display: flex; align-items: center; gap: 6px; padding: 7px 8px; margin-bottom: 5px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(165,155,214,.15); }
#phonedemo .kdev.cur { border-color: rgba(41,231,255,.6); background: rgba(41,231,255,.07); }
#phonedemo .kdev span { flex: 1; min-width: 0; } #phonedemo .kdev b { display: block; font: 600 12.5px/1.2 var(--head); } #phonedemo .kdev small { display: block; font: 500 10px/1.3 var(--body); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#phonedemo .kdev em { font: 700 9px/1 var(--head); font-style: normal; color: var(--gauge); letter-spacing: .08em; text-transform: uppercase; }
#phonedemo .kdev button { border: 1px solid rgba(165,155,214,.3); background: rgba(255,255,255,.06); color: var(--ink); border-radius: 9px; padding: 5px 7px; font: 600 10px/1 var(--head); cursor: pointer; }
#phonedemo .kdev .kgo { border-color: rgba(41,231,255,.6); color: var(--gauge); } #phonedemo .kdev .kfg { color: var(--dim); }
#phonedemo .kname { flex: 1; min-width: 0; height: 28px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--gauge); background: rgba(255,255,255,.07); color: var(--ink); font: 600 12.5px/1 var(--head); outline: 0; }
#wristdemo .wkdevs { display: flex; flex-direction: column; gap: 4px; max-height: 92px; overflow-y: auto; scrollbar-width: none; }
/* #127 QuickJoin start */
#phonedemo .qjstart { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 12px; padding: 10px 12px; border-radius: 16px; border: 1px solid rgba(255,216,77,.55); background: rgba(255,216,77,.08); color: var(--ink); cursor: pointer; text-align: left; box-shadow: 0 0 calc(3px * var(--glow)) rgba(255,216,77,.3); }
#phonedemo .qjstart i { font-style: normal; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #ffd84d; color: #261c00; font-size: 16px; }
#phonedemo .qjstart span { flex: 1; } #phonedemo .qjstart b { display: block; font: 600 13px/1.2 var(--head); } #phonedemo .qjstart small { font: 500 10.5px/1.3 var(--body); color: var(--dim); } #phonedemo .qjstart em { font-style: normal; color: #ffd84d; }
#phonedemo .qjown { margin-top: 6px; color: #ffd84d !important; border: 1px solid rgba(255,216,77,.45) !important; }
#phonedemo .qjnames { display: flex; flex-wrap: wrap; gap: 5px; } #phonedemo .qjnames button { padding: 7px 10px; border-radius: 999px; border: 1px solid rgba(165,155,214,.3); background: rgba(255,255,255,.05); color: var(--dim); font: 600 11px/1 var(--head); cursor: pointer; }
#phonedemo .qjnames button.on { color: #261c00; background: #ffd84d; border-color: #ffd84d; }
#wristdemo .wqjstart { color: #ffd84d; background: rgba(255,216,77,.12) !important; flex: none; }

/* ===== #148 full screen always escapable; #147 strip under every menu ===== */
body.fs-open main > section.lk:has(.fs) { z-index: 9000; overflow: visible; isolation: auto; }
body.fs-open #jump, body.fs-open .navsheet { display: none !important; }
.fs > .simbar { display: none !important; }
.bigx { z-index: 10001 !important; }
#phonedemo .mstrip { z-index: 4; } #wristdemo .wstrip { z-index: 3; }

/* ===== stage 11 ===== */
/* #154 Sim bar sits closer to the phone */
#phonedemo .pd-stage > .simbar { margin-bottom: -16px; }
/* #149 Clear path: bottom centre, just above the place strip */
#phonedemo .pathx { left: 50%; top: auto; bottom: 120px; transform: translateX(-50%); white-space: nowrap; }
/* #152 the place strip never sits over a sheet on the watch map */
:is(#wristdemo, #wristhero) .map .ov:has(.sheet.on) .wstrip { opacity: 0; pointer-events: none; }
/* #144 watch QuickJoin icon top right (always there; dim when QuickJoin is off); Clear path drops below it */
:is(#wristdemo, #wristhero) .wqj { left: auto; right: 19px; top: 17px; display: grid !important; }
:is(#wristdemo, #wristhero) .wqj.qoff { opacity: .45; animation: none; }
:is(#wristdemo, #wristhero) .wqj.bcast { box-shadow: 0 0 0 2px rgba(255,216,77,.5), 0 0 14px rgba(255,216,77,.6); animation: qjpulse 1.2s ease-in-out infinite; }
:is(#wristdemo, #wristhero) .pathx { top: 54px; }
#phonedemo .qjmap { display: grid !important; } #phonedemo .qjmap.qoff { opacity: .5; animation: none; }
#phonedemo .qjmap.bcast { box-shadow: 0 0 0 2px rgba(255,216,77,.5), 0 0 14px rgba(255,216,77,.6); }
/* #145 watch map layers (the phone's three profiles) under the N circle */
#wristdemo .wlayers { position: absolute; left: 19px; top: 54px; width: 30px; height: 30px; border-radius: 50%; padding: 0; display: grid; place-items: center; pointer-events: auto; cursor: pointer; background: rgba(7,2,26,.72); border: 1px solid rgba(165,155,214,.35); }
#wristdemo .wlayers svg { width: 14px; height: 14px; fill: none; stroke: #cfc8ff; stroke-width: 1.8; stroke-linejoin: round; }
/* #151 Board Lock off; #156 LoRa off or Lite: their bubbles go */
body.fl-nolock :is(#pd-block, #wd-bLk) { display: none !important; }
body.fl-nolora :is(#pd-blora, #wd-bLr), #wristdemo.lite #wd-bLr, #phonedemo .pd-wrap.lite #pd-blora { display: none !important; }
#phonedemo .pd-wrap.lite .flonly { display: none !important; }
#pd-blora svg, #wd-bLr svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
#pd-blora circle, #wd-bLr circle { fill: currentColor; }
#pd-blora.on, #wd-bLr.on { color: #39c8ff; }
#pd-blora.pending, #wd-bLr.pending { animation: qjpulse 1s ease-in-out infinite; }
#pd-blora.holding, #wd-bLr.holding { transform: scale(1.15); }
/* #157 no Talk orb on watch Stats; the map's talk icon can be hidden */
#wristdemo .wd-board > .orb { display: none !important; }
body.fl-notalkicon #wd-mapOrb { display: none !important; }
/* Action glow: a soft light on the screen edge next to the Action button, in the colour of its job */
#wristdemo .wactglow { position: absolute; left: -10px; width: 22px; height: 70px; margin-top: -35px; border-radius: 50%; pointer-events: none; z-index: 30;
  background: radial-gradient(closest-side, var(--g, #bfe9ff), transparent); opacity: .55; filter: blur(3px); transition: background .4s, top .3s; }
#wristdemo .wactglow[data-f="Confirm"] { opacity: .28; }
#wd-recBtns .fnpick { position: relative; padding-left: 26px !important; }
#wd-recBtns .fnpick::before { content: ""; position: absolute; left: 10px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--fc, #fff); box-shadow: 0 0 6px var(--fc, #fff); }
/* #142/#150 Crown highlight inside menus and layers; the highlighted Stats bubble grows */
#wristdemo :is(.modal, .wlayer) .whl { outline: 2px solid #fff; outline-offset: 1px; transform: scale(1.04); box-shadow: 0 0 12px rgba(255,255,255,.35); }
#wristdemo .wbubs .wb.hl { transform: scale(1.32); z-index: 2; }
/* watch layers: full-screen sheets that own the Crown */
#wristdemo .wlayer { position: absolute; inset: 0; z-index: 40; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; padding: 26px 18px 18px; background: rgba(6,2,20,.94); opacity: 0; transform: scale(.96); transition: opacity .22s, transform .22s; border-radius: inherit; }
#wristdemo .wlayer.on { opacity: 1; transform: none; }
#wristdemo .wptt { align-items: center; text-align: center; }
#wristdemo .ptt-h { font: 700 15px/1.2 var(--head); color: #ffb27d; } #wristdemo .ptt-h small { display: block; font: 600 9.5px/1.3 var(--head); color: var(--dim); margin-top: 2px; }
#wristdemo .ptt-b { width: 128px; height: 128px; border-radius: 50%; border: 0; margin: 6px auto; cursor: pointer; display: grid; place-items: center; align-content: center; gap: 4px; color: #2a1000; touch-action: none;
  background: radial-gradient(circle at 35% 30%, #ffd2a8, #ff8a3d 55%, #c04a00); box-shadow: 0 0 0 6px rgba(255,138,61,.18), 0 0 26px rgba(255,138,61,.55); }
#wristdemo .ptt-b svg { width: 38px; height: 38px; fill: #2a1000; } #wristdemo .ptt-b span { font: 700 9.5px/1.2 var(--head); max-width: 96px; }
#wristdemo .ptt-b.rec { animation: pttrec 1s ease-in-out infinite; } @keyframes pttrec { 50% { box-shadow: 0 0 0 14px rgba(255,138,61,.12), 0 0 40px rgba(255,138,61,.8); } }
#wristdemo .ptt-x, #wristdemo .wqjc .qx { border: 0; border-radius: 999px; padding: 7px 18px; background: rgba(255,255,255,.1); color: var(--ink); font: 600 12px var(--head); cursor: pointer; align-self: center; }
#wristdemo .ptt-n { font: 600 8.5px var(--head); color: var(--dim); letter-spacing: .06em; }
#wristdemo .wqjc { justify-content: flex-start; padding-top: 30px; overflow-y: auto; }
#wristdemo .wqjc .qh { font: 700 15px/1.2 var(--head); color: #ffd84d; margin-bottom: 2px; } #wristdemo .wqjc .qh small { display: block; font: 600 9.5px var(--head); color: var(--dim); }
#wristdemo .wqjc .qr { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 0; border-radius: 12px; padding: 8px 10px; background: rgba(255,255,255,.07); color: var(--ink); font: 600 11.5px var(--head); cursor: pointer; text-align: left; }
#wristdemo .wqjc .qr b { color: #ffd84d; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62%; }
#wristdemo .wqjc .qgo { border: 0; border-radius: 999px; padding: 9px; background: #ffd84d; color: #261c00; font: 700 13px var(--head); cursor: pointer; margin-top: 4px; }
#wristdemo .wdict { align-items: center; text-align: center; } #wristdemo .wdict .dh { font: 600 10px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
#wristdemo .wdict .mic { position: relative; width: 74px; height: 74px; margin: 8px auto; display: grid; place-items: center; }
#wristdemo .wdict .mic svg { width: 30px; height: 30px; fill: #fff; position: relative; }
#wristdemo .wdict .mic i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #ff2bd6; animation: dictp 1.4s ease-out infinite; } #wristdemo .wdict .mic i + i { animation-delay: .7s; }
#wristdemo .wdict.got .mic i { animation: none; opacity: .4; } @keyframes dictp { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
#wristdemo .wdict .dt { font: 700 16px/1.25 var(--head); color: #fff; min-height: 22px; }
#wristdemo .wdict .db { display: flex; flex-direction: column; gap: 5px; width: 100%; margin-top: 6px; }
#wristdemo .wdict .db button { border: 0; border-radius: 999px; padding: 7px; font: 600 11.5px var(--head); cursor: pointer; background: rgba(255,255,255,.09); color: var(--ink); }
#wristdemo .wdict .db .c1 { background: #29e7ff; color: #04131a; }
/* phone QuickJoin status card */
#phonedemo .qjstat { display: grid; gap: 3px; padding: 10px 12px; margin: 6px 0 10px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(165,155,214,.2); }
#phonedemo .qjstat.in { border-color: rgba(255,216,77,.5); background: rgba(60,46,0,.35); }
#phonedemo .qjstat b { font: 700 14px var(--head); color: #fff; } #phonedemo .qjstat span { font-size: 12px; color: var(--dim); }
#phonedemo .qjstat .pbtn { justify-self: start; margin-top: 6px; padding: 6px 12px; }
#phonedemo .qjin { width: 100%; box-sizing: border-box; margin: 0 0 6px; }
/* #175 notifications are tappable */
#phonedemo .toast.go { pointer-events: auto; cursor: pointer; } #phonedemo .toast.go::after { content: " ›"; opacity: .7; }
:is(#wristdemo) .talkbar.go { pointer-events: auto; cursor: pointer; }
/* #174 People: the live QuickJoin group, first, in the yellow tile; unsaved ones aren't repeated in the group list */
#phonedemo .gtile.qjhide { display: none; }
#phonedemo .qjnow { align-items: flex-start; cursor: pointer; }
#phonedemo .qjnow .qn { display: grid; gap: 4px; min-width: 0; }
#phonedemo .qjnow .qavs { display: flex; gap: 3px; flex-wrap: wrap; }
#phonedemo .qjnow .qav { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid; display: grid; place-items: center; font: 700 9px var(--head); background: #0b0420; }
#phonedemo .qjnow .qav.more { border-color: var(--dim); color: var(--dim); width: auto; padding: 0 5px; border-radius: 10px; }
#phonedemo .qjnow .qbtns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
#phonedemo .qjnow .qbtns button { border: 1px solid rgba(255,216,77,.5); background: rgba(255,216,77,.1); color: #ffe28a; border-radius: 999px; padding: 4px 10px; font: 600 10.5px var(--head); cursor: pointer; }
#phonedemo .qjnow .qbtns button.on { background: #ffd84d; color: #261c00; } #phonedemo .qjnow .qbtns button.no { border-color: rgba(255,120,140,.5); color: #ff9aa8; background: transparent; }
/* watch Groups: QuickJoin section and members */
#wristdemo .wqjgrp { display: grid; gap: 4px; margin: 0 0 8px; padding: 6px; border-radius: 16px; border: 1px dashed rgba(255,216,77,.5); background: rgba(255,216,77,.06); }
#wristdemo .wqjgrp .wqh { color: #ffd84d; font-weight: 700; }
#wristdemo .wqjgrp .wqm span { display: inline-flex; align-items: center; gap: 6px; } #wristdemo .wqjgrp .wqm i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
#wristdemo .wqjgrp .wqm.ign { opacity: .45; text-decoration: line-through; }
#wristdemo .wqjgrp .wqm.fresh { box-shadow: inset 0 0 0 1.5px #fff; }
/* #176 range slider: bigger target and a live preview */
#phonedemo #pd-prad { height: 22px; background: linear-gradient(rgba(255,255,255,.14), rgba(255,255,255,.14)) center / 100% 4px no-repeat; cursor: pointer; touch-action: none; }
#phonedemo .rngprev { display: flex; gap: 10px; align-items: center; margin: 4px 0 8px; }
#phonedemo .rngprev svg { width: 96px; flex: none; } #phonedemo .rngprev rect { fill: #0e0828; stroke: rgba(165,155,214,.3); }
#phonedemo .rngprev .tr { fill: none; stroke: #ff2bd6; stroke-width: 2; } #phonedemo .rngprev .you { fill: #29e7ff; }
#phonedemo .rngprev .ring { fill: rgba(41,231,255,.12); stroke: #29e7ff; stroke-dasharray: 3 2; transition: r .2s; }
#phonedemo .rngprev span { font-size: 11px; line-height: 1.35; color: var(--dim); } #phonedemo .rngprev b { color: var(--ink); }
/* #179 hero dots are clickable */
#wristhero .dots { pointer-events: auto; z-index: 6; } #wristhero .dots i { cursor: pointer; position: relative; }
#wristhero .dots i::after { content: ""; position: absolute; inset: -6px -3px; }
/* #182 QuickJoin avatars stay round */
#phonedemo .qjnow .qav { flex: 0 0 20px; box-sizing: border-box; aspect-ratio: 1; padding: 0; }
#phonedemo .qjnow .qav.more { flex: 0 0 auto; aspect-ratio: auto; }
#phonedemo .qjnow .qavs { justify-content: flex-start; }
/* #181 the map sheet (friend / waypoint options) is always on top of the map's bottom controls */
#phonedemo .msheet { z-index: 30; }
#phonedemo #pd-v-map.sheeted :is(.mstrip, #pd-gmeet, .morb, .mfab) { opacity: 0; pointer-events: none; }
#phonedemo .layers.peek { background: rgba(10,4,30,.18) !important; backdrop-filter: none !important; transition: background .2s; }
#phonedemo .layers.peek :is(.lrow, h6, h5, h4, .profwrap, .base, .sub2, .opts, .profed) { opacity: .1; transition: opacity .2s; } #phonedemo .layers.peek .rngprev { opacity: 1; }
/* ===== #187 one dynamic active-group tile (phone) ===== */
#phonedemo #pd-agwrap { margin: 0 0 12px; }
#phonedemo .agchips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; }
#phonedemo .agc { flex: none; border: 1px solid color-mix(in srgb, var(--gc) 55%, transparent); background: transparent; color: var(--ink); border-radius: 999px; padding: 5px 11px; font: 600 11px var(--head); cursor: pointer; white-space: nowrap; }
#phonedemo .agc.on { background: var(--gc); color: #0b0420; }
#phonedemo .agt { border: 1.5px solid var(--gc); border-radius: 18px; padding: 10px 12px; background: color-mix(in srgb, var(--gc) 8%, rgba(10,4,30,.9)); box-shadow: 0 0 14px color-mix(in srgb, var(--gc) 25%, transparent); }
#phonedemo .agh { display: flex; align-items: center; gap: 10px; } #phonedemo .agt1 { flex: 1; min-width: 0; display: grid; gap: 2px; }
#phonedemo .agt1 b { font: 700 15px var(--head); color: #fff; } #phonedemo .agt1 small { font-size: 11px; color: var(--dim); }
#phonedemo .agman { border: 0; background: none; color: var(--gc); font: 700 11.5px var(--head); cursor: pointer; white-space: nowrap; }
#phonedemo .agsw { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 8px; margin: 10px 0 6px; font: 600 11.5px var(--head); color: var(--ink); }
#phonedemo .agm { display: grid; gap: 2px; max-height: 210px; overflow-y: auto; margin: 4px -4px; padding: 0 4px; }
#phonedemo .agr { display: flex; align-items: center; gap: 9px; padding: 6px 4px; border-radius: 10px; cursor: pointer; }
#phonedemo .agr:hover { background: rgba(255,255,255,.05); } #phonedemo .agr.dim { opacity: .5; }
#phonedemo .agr .av, #phonedemo .agr .av { flex: 0 0 26px; width: 26px; height: 26px; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid; display: grid; place-items: center; font: 700 11px var(--head); background: #0b0420; }
#phonedemo .agr .t { flex: 1; min-width: 0; display: grid; } #phonedemo .agr .t b { font: 600 12.5px var(--head); color: #fff; } #phonedemo .agr .t small { font-size: 10.5px; color: var(--dim); }
#phonedemo .agr .fr { font-style: normal; color: #ffd84d; } #phonedemo .agr em { font-style: normal; color: var(--dim); }
#phonedemo .agb { display: flex; gap: 8px; margin-top: 8px; } #phonedemo .agb .pbtn { flex: 1; } #phonedemo .pbtn.warn { color: #ff9aa8; border-color: rgba(255,120,140,.45); }
#phonedemo .mute, #wristdemo .mute { width: 13px; height: 13px; flex: none; fill: none; stroke: #8b84b0; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; }
#phonedemo #pd-friends .mem.dim { opacity: .55; }
#phonedemo #pd-pgroups .gtile.agon { outline: 1.5px solid var(--gauge); outline-offset: 1px; }
#phonedemo .ract { display: grid; gap: 7px; margin-top: 10px; }
#phonedemo .pttp { width: 150px; height: 150px; border-radius: 50%; border: 0; margin: 14px auto 6px; display: block; cursor: pointer; font: 700 13px var(--head); color: #2a1000; touch-action: none; background: radial-gradient(circle at 35% 30%, #ffd2a8, #ff8a3d 55%, #c04a00); box-shadow: 0 0 26px rgba(255,138,61,.5); }
#phonedemo .pttp.rec { animation: pttrec 1s ease-in-out infinite; }
/* ===== #189 watch People page ===== */
:is(#wristdemo, #wristhero) .pplmode > :is(.gsec, .gothers, .wqjgrp, .wqjstart, #wd-gSwitch, #wd-gReq) { display: none !important; }
:is(#wristdemo, #wristhero) .wppl { display: grid; gap: 4px; }
:is(#wristdemo, #wristhero) .wpsec { display: grid; gap: 4px; padding: 6px; border-radius: 16px; border: 1.5px solid var(--gc); background: color-mix(in srgb, var(--gc) 8%, transparent); }
:is(#wristdemo, #wristhero) .wph { color: var(--gc); font-weight: 700; } :is(#wristdemo, #wristhero) .wppl .gdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gc); margin-right: 6px; }
:is(#wristdemo, #wristhero) .wpm span, :is(#wristdemo, #wristhero) .wpf span { display: inline-flex; align-items: center; gap: 6px; } :is(#wristdemo, #wristhero) .wpm i, :is(#wristdemo, #wristhero) .wpf i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
:is(#wristdemo, #wristhero) .wppl .dim { opacity: .5; } :is(#wristdemo, #wristhero) .wptools { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
:is(#wristdemo, #wristhero) .wppl .gmini b { font-size: 10px; }
/* #183 Lite: no connect options; the boot cross-fades into Stats */
#phonedemo .pd-wrap.lite #pd-sheet { display: none !important; }
#phonedemo .view.xfade { display: block !important; z-index: 30; opacity: 1; transition: opacity 1s ease; pointer-events: none; }
#phonedemo .view.xfade.xout { opacity: 0; }
/* #184 Lite watch Stats: speed ring; the speed block sits centred in the ring */
#wristdemo.lite #wd-face #wd-spdTxt, #wristdemo.lite #wd-face #wd-spdTxt + text { transform: translateY(-4px); }
#wristdemo.lite #wd-duty, #wristdemo.lite #wd-spark { display: inline !important; }
/* #198 closed sheets never sit over the tab bar (they were dimming the icons) */
#phonedemo .msheet:not(.on) { z-index: 11; visibility: hidden; }
#phonedemo .psheet:not(.on) { visibility: hidden; }
#phonedemo .tabbar { z-index: 25; }
#phonedemo .tabbar button { color: #b9b0e6; } #phonedemo .tabbar button svg { opacity: 1; }
#phonedemo :is(.psheet, .msheet) { transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s linear .35s; }
#phonedemo :is(.psheet, .msheet).on { transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s; }
#phonedemo .swatches.sw10 { display: grid; grid-template-columns: repeat(5, 18px); gap: 6px; }
/* ===== #197 Tune: same-size shortcuts, pinned tunes, pinned settings, save as, search ===== */
#phonedemo .slots.tslots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; overflow: visible; }
#phonedemo .tslots .slot { min-width: 0; width: 100%; height: 52px; box-sizing: border-box; display: grid; align-content: center; text-align: left; overflow: hidden; }
#phonedemo .tslots .slot b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#phonedemo .tslots .slot small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
#phonedemo .tslots .slot.act { border-color: #4dff9a !important; box-shadow: 0 0 10px rgba(77,255,154,.45); } #phonedemo .tslots .slot.act b { color: #4dff9a; }
#phonedemo .tslots .slot.empty { border: 1px dashed rgba(165,155,214,.35); border-radius: 14px; padding: 6px 10px; color: var(--dim); }
#phonedemo .slot.pressing, #phonedemo .tph.pressing { transform: scale(.97); filter: brightness(1.2); }
#phonedemo .tplist { display: grid; gap: 6px; }
#phonedemo .tprow { border: 1px solid rgba(165,155,214,.2); border-radius: 14px; background: rgba(255,255,255,.03); touch-action: none; }
#phonedemo .tprow.act { border-color: #4dff9a; box-shadow: 0 0 10px rgba(77,255,154,.3); } #phonedemo .tprow.act .tpn b { color: #4dff9a; }
#phonedemo .tprow.dragging { opacity: .7; border-style: dashed; }
#phonedemo .tph { display: flex; align-items: center; gap: 8px; padding: 8px 10px; cursor: pointer; user-select: none; }
#phonedemo .thand { cursor: grab; color: var(--dim); font-size: 16px; padding: 0 2px; touch-action: none; }
#phonedemo .tpn { flex: 1; min-width: 0; display: grid; } #phonedemo .tpn b { font: 600 13px var(--head); color: #fff; } #phonedemo .tpn small { font-size: 10.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#phonedemo .tph em { font-style: normal; font: 700 10px var(--head); color: var(--gauge); }
#phonedemo .tchev { color: var(--dim); transition: transform .2s; } #phonedemo .tprow.open .tchev { transform: rotate(90deg); }
#phonedemo .tpin { border: 0; background: none; color: var(--dim); font-size: 16px; cursor: pointer; } #phonedemo .tpin.on { color: #ffd84d; }
#phonedemo .tpb { display: none; padding: 0 12px 8px 34px; } #phonedemo .tprow.open .tpb { display: grid; gap: 4px; }
#phonedemo .tps { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink); } #phonedemo .tps b { color: var(--gauge); } #phonedemo .tps.none { color: var(--dim); font-size: 11px; }
#phonedemo .prm .spin { animation: none; width: auto; height: auto; border-radius: 0; border: 0; background: none; color: var(--dim); font-size: 14px; cursor: pointer; padding: 0 4px; } #phonedemo .prm .spin.on { color: #ffd84d; }
#phonedemo .mmenu .tsave label { display: grid; gap: 4px; margin: 8px 0; font: 600 11px var(--head); color: var(--dim); text-align: left; }
#phonedemo .mmenu .tsave input:not([type=checkbox]) { background: rgba(255,255,255,.06); border: 1px solid rgba(165,155,214,.3); border-radius: 10px; padding: 8px 10px; color: #fff; font: 500 13px var(--body); }
#phonedemo .mmenu .tsave .tschk { display: flex; align-items: center; gap: 8px; }
#phonedemo #pd-advbox .search { display: flex; align-items: center; gap: 8px; } #phonedemo #pd-tsearch { flex: 1; background: none; border: 0; outline: 0; color: #fff; font: 500 13px var(--body); }
#wristdemo #wd-tuneList .row.tune.on .nm { color: #4dff9a; } #wristdemo #wd-tuneList .row.tune.on .ck { color: #4dff9a; }
/* tappable toasts only catch taps on their own pill, and sit clear of the Tune shortcuts */
#phonedemo #pd-v-tune.on ~ .toast, #phonedemo .scr:has(#pd-v-tune.on) .toast { top: 108px; }

/* ===== #200 Lite: no Connect screen button under the phone ===== */
#phonedemo .pd-wrap.lite .ptabs [data-v="connect"] { display: none !important; }
/* ===== #201 the phone and watch screen bars match: 60% frosted frame, pink for the active screen ===== */
#phonedemo .ptabs, #wristdemo .tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 5px; border-radius: 22px; background: rgba(7,2,26,.6) !important; border: 1px solid rgba(155,91,255,.22); box-shadow: inset 0 0 0 1px rgba(155,91,255,.1); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
#phonedemo .ptabs button, #wristdemo .tabs button { font: 600 12px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: #b9b0e6; background: none; border: 0; padding: 9px 12px; border-radius: 999px; cursor: pointer; }
#phonedemo .ptabs button.on, #wristdemo .tabs button.on { color: #0b0420; background: #ff2bd6; box-shadow: 0 0 14px rgba(255,43,214,.5); }
/* ===== #202 frosted backing (as behind Section intros) for the other big text blocks ===== */
#phonedemo #pd-copy, #wristdemo #wd-copy { padding: 14px 16px 12px; background: rgba(7,2,26,.62); box-shadow: inset 0 0 0 1px rgba(155,91,255,.18); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border-left: 2px solid #ff2bd6; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
#maps .found .grp { padding: 10px 12px 12px; background: rgba(7,2,26,.62); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent); border-top: 2px solid var(--c); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.hero .lede .fnref { color: var(--gauge); text-decoration: none; margin-left: 1px; }
footer #fn-signal { display: inline-block; margin-bottom: 4px; }

/* ===== #214-#236 Tune: Saved and Pinned lists, action bar, hold glow, sheets (Nov 27) ===== */
#phonedemo #pd-idle { display: none !important; }
#phonedemo #pd-slots { display: none !important; }
#phonedemo .hdr .chip.tapchip { cursor: pointer; } #phonedemo .hdr .chip.tapchip:hover { border-color: var(--gauge); }
#phonedemo .tcur { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; margin: -2px 0 8px; padding: 7px 11px; border-radius: 12px; border: 1px solid rgba(165,155,214,.18); background: rgba(255,255,255,.04); color: var(--ink); font: 500 11px/1.2 var(--body); cursor: pointer; text-align: left; }
#phonedemo .tcur b { font: 700 12px var(--head); } #phonedemo .tcur em { font-style: normal; font-size: 10px; color: var(--dim); white-space: nowrap; } #phonedemo .tcur em.onb { color: #4dff9a; } #phonedemo .tcur em.mdf { color: #ff9cf4; }
#phonedemo .mmb button.ok { border-color: rgba(41,231,255,.7); background: rgba(41,231,255,.18); }
#phonedemo .mmb button.red { border-color: rgba(255,77,109,.6); background: rgba(255,77,109,.12); color: #ff8fa3; }
#phonedemo .mmb button.grn { border-color: #4dff9a; background: rgba(77,255,154,.16); color: #4dff9a; }
#phonedemo .mmb button small { display: block; font: 500 9.5px var(--body); color: var(--dim); margin-top: 3px; }
#phonedemo .mmb.row2 { grid-template-columns: 1fr 1fr; margin-top: 6px; } #phonedemo .mmb.row2 button { font-size: 11px; padding: 9px 6px; }
#phonedemo .tsheet .tsrow { margin: 10px 0 0; font: 600 11.5px var(--head); } #phonedemo .tsheet .tsrow small { display: block; font: 500 10px var(--body); color: var(--dim); }
#phonedemo .tsheet .tschk, #phonedemo .tsave .tschk { display: flex; gap: 7px; align-items: flex-start; margin: 10px 0 0; font: 500 10.5px/1.3 var(--body); color: var(--dim); cursor: pointer; }
#phonedemo .tsheet { width: 252px !important; }
/* rows */
#phonedemo .tlist { display: grid; gap: 6px; }
#phonedemo .trow { border: 1px solid rgba(165,155,214,.2); border-radius: 14px; background: rgba(255,255,255,.03); transition: border-color .15s, background .15s; }
#phonedemo .trow.sel { border-color: rgba(41,231,255,.7); background: rgba(41,231,255,.07); }
#phonedemo .trow.act { border-color: #4dff9a; box-shadow: 0 0 10px rgba(77,255,154,.25); } #phonedemo .trow.act .tnm b { color: #4dff9a; }
#phonedemo .trow.act.sel { box-shadow: 0 0 0 1px rgba(41,231,255,.7), 0 0 10px rgba(77,255,154,.3); }
#phonedemo .trow.dragging { opacity: .7; border-style: dashed; }
#phonedemo .trh { display: flex; align-items: center; gap: 7px; padding: 8px 6px 8px 9px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
#phonedemo .trh.pressing { filter: brightness(1.15); }
#phonedemo .tstar { border: 0; background: none; color: var(--dim); font-size: 16px; padding: 0 2px; cursor: pointer; line-height: 1; } #phonedemo .tstar.on { color: #ffd84d; text-shadow: 0 0 8px rgba(255,216,77,.6); }
#phonedemo .thand { cursor: grab; color: var(--dim); font-size: 17px; padding: 0 3px; touch-action: none; }
#phonedemo .tnm { flex: 1; min-width: 0; } #phonedemo .tnm b { display: block; font: 700 12.5px/1.15 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#phonedemo .tnm small { display: block; font: 500 10px/1.25 var(--body); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
#phonedemo .tnm em { font-style: normal; } #phonedemo .tnm em.onb { color: #4dff9a; } #phonedemo .tnm em.mdf { color: #ff9cf4; }
#phonedemo .ticons { display: flex; gap: 4px; align-items: center; }
#phonedemo .ti { display: inline-flex; width: 14px; height: 14px; } #phonedemo .ti svg { width: 14px; height: 14px; fill: none; stroke: var(--dim); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
#phonedemo .ti.pg svg { stroke: #a59bd6; } #phonedemo .ti.cl.private svg { stroke: #4dff9a; fill: rgba(77,255,154,.18); } #phonedemo .ti.cl.public svg { stroke: #ff5ce4; fill: rgba(255,92,228,.2); } #phonedemo .ti.sh svg { stroke: #29e7ff; }
#phonedemo .ttw { border: 0; background: none; color: var(--ink); font: 400 22px/1 var(--head); width: 26px; height: 26px; cursor: pointer; transition: transform .2s; padding: 0; }
#phonedemo .trow.open .ttw { transform: rotate(90deg); color: var(--gauge); }
#phonedemo .tspecs { display: none; padding: 2px 12px 10px 12px; gap: 8px; border-top: 1px solid rgba(165,155,214,.12); } #phonedemo .trow.open .tspecs { display: grid; padding-top: 8px; }
#phonedemo .spec { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 500 11.5px var(--body); color: var(--ink); }
#phonedemo .spec.col { display: grid; gap: 5px; } #phonedemo .spec.col > span { display: flex; justify-content: space-between; } #phonedemo .spec b { color: var(--gauge); font: 700 11.5px var(--head); }
#phonedemo .spec .opts { display: flex; flex-wrap: wrap; gap: 4px; } #phonedemo .spec .opts button { padding: 5px 8px; font-size: 10px; }
#phonedemo .tloc { display: flex; justify-content: space-between; align-items: center; margin: 0 0 8px; font: 500 11px var(--body); color: var(--dim); } #phonedemo .tloc .chip { cursor: pointer; }
#phonedemo .tlegend { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin: 10px 2px 2px; font: 500 9.5px var(--body); color: var(--dim); } #phonedemo .tlegend .ti { margin-right: -6px; }
/* footers: editor tabs keep Discard · Save current · Write; list tabs get the action bar */
#phonedemo #pd-savecur.hot { border-color: #ff5ce4; color: #fff; background: rgba(255,92,228,.18); box-shadow: 0 0 12px rgba(255,92,228,.35); }
#phonedemo .tbar { position: absolute; left: 0; right: 0; bottom: 60px; z-index: 5; display: none; grid-template-columns: repeat(6, 1fr); gap: 2px; padding: 12px 8px 8px; background: linear-gradient(transparent, rgba(5,1,15,.96) 22%); }
#phonedemo #pd-v-tune.listtab .tbar { display: grid; } #phonedemo #pd-v-tune.listtab .tunefoot { display: none; }
#phonedemo .tbar button { position: relative; display: grid; justify-items: center; gap: 3px; padding: 7px 0 5px; border: 1px solid rgba(165,155,214,.18); border-radius: 12px; background: rgba(255,255,255,.05); color: var(--ink); cursor: pointer; font: 600 8.5px/1 var(--head); letter-spacing: .02em; }
#phonedemo .tbar button span { white-space: nowrap; } #phonedemo .tbar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#phonedemo .tbar button:hover { border-color: var(--gauge); color: var(--gauge); }
#phonedemo .tbar button.hot { border-color: #ff5ce4; color: #ff9cf4; background: rgba(255,92,228,.14); }
#phonedemo .tbar .bn { position: absolute; top: -5px; right: 2px; min-width: 15px; height: 15px; border-radius: 8px; background: #ff2bd6; color: #fff; font: 700 9px/15px var(--head); font-style: normal; display: none; } #phonedemo .tbar button.hot .bn { display: block; }
#phonedemo #pd-v-tune.listtab .scroll { padding-bottom: 92px !important; }
/* hold: a green glow grows from the finger, then flashes */
#phonedemo .tglow { position: absolute; z-index: 23; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--gc, #4dff9a) 55%, #fff) 0%, color-mix(in srgb, var(--gc, #4dff9a) 45%, transparent) 30%, color-mix(in srgb, var(--gc, #4dff9a) 12%, transparent) 60%, transparent 72%); transform: scale(.2); opacity: .9; transition: transform var(--ms, 600ms) cubic-bezier(.3,.1,.6,1), opacity .25s; }
#phonedemo .tglow.grow { transform: scale(16); }
#phonedemo .tglow.gone { opacity: 0; transition: opacity .2s; }
#phonedemo .tglow.flash { animation: tflash .42s ease-out forwards; }
@keyframes tflash { 0% { transform: scale(16); opacity: 1; filter: brightness(1.8); } 30% { opacity: .95; filter: brightness(2.4); } 100% { transform: scale(18); opacity: 0; } }
/* share sheet */
#phonedemo .shm { align-items: flex-end; } #phonedemo .shm .shbox { width: auto; margin: 0 8px 70px; border-radius: 22px; }
#phonedemo .shgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 8px; }
#phonedemo .shgrid button { display: grid; justify-items: center; gap: 2px; padding: 9px 4px; border-radius: 14px; border: 1px solid rgba(165,155,214,.2); background: rgba(255,255,255,.05); color: var(--ink); cursor: pointer; font: 600 10.5px var(--head); }
#phonedemo .shgrid i { font-style: normal; font-size: 18px; color: var(--gauge); } #phonedemo .shgrid small { font: 500 8px/1.15 var(--body); color: var(--dim); text-align: center; }
#phonedemo .shbox .pbtn.wide { margin: 0 0 6px; }
/* community window */
#phonedemo .cwin { position: absolute; inset: 0; z-index: 24; background: rgba(8,3,24,.98); padding: 46px 14px 70px; overflow-y: auto; }
#phonedemo .cwhd { display: flex; justify-content: space-between; align-items: center; margin: 0 0 10px; font: 700 18px var(--head); }
#phonedemo .cwx { border: 1px solid rgba(165,155,214,.3); background: none; color: var(--ink); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
#phonedemo .cwlist .mem { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 2px; border-bottom: 1px solid rgba(165,155,214,.12); }
#phonedemo .cwlist .t b { display: block; font: 700 12.5px var(--head); } #phonedemo .cwlist .t span { font: 500 10px/1.3 var(--body); color: var(--dim); }
#phonedemo .cwlist em.yours { font: 700 9.5px var(--head); font-style: normal; color: #ff9cf4; letter-spacing: .08em; text-transform: uppercase; }
#phonedemo .tunefoot { gap: 6px; }
#phonedemo .tunefoot .pbtn { white-space: nowrap; padding-left: 8px; padding-right: 8px; letter-spacing: .04em; font-size: 11px; }
#phonedemo .tunefoot #pd-savecur { flex: 1.35 !important; border: 1px solid rgba(165,155,214,.35); }
#phonedemo .tunefoot #pd-savecur.hot { border-color: #ff5ce4; }

/* ===== #238 the sims hold still between Lite and Flow-Line: columns sized for Flow-Line, screen bars centred under each device at a fixed height ===== */
@media (min-width: 861px) { #phonedemo .pd-wrap { grid-template-columns: 340px 1fr; } }
@media (min-width: 821px) { #wristdemo { grid-template-columns: 404px 1fr; } #wristdemo > :first-child { justify-self: stretch; } #wristdemo .tabs { justify-self: center; margin-left: auto; margin-right: auto; } }
#phonedemo .pd-stage { display: grid; justify-items: center; }
#phonedemo .ptabs { width: 340px; max-width: 100%; box-sizing: border-box; min-height: 78px; align-content: center; }

/* ===== #237 Roadmap stages get the same dark frosted backing with a neon edge (on ::after, so the timeline orbs aren't clipped) ===== */
.road li { padding: 11px 14px 11px 16px; margin: 0 0 10px; isolation: isolate; }
.road li::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7,2,26,.62); box-shadow: inset 0 0 0 1px rgba(155,91,255,.18); border-left: 2px solid rgba(155,91,255,.7); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.road li.done::after { border-left-color: #ff2bd6; } .road li.now::after { border-left-color: var(--gauge); }
.road li p { margin-bottom: 0; }
/* timeline: back to the Topo preview's style (thin glowing line, pink done dot, cyan pulsing now dot); only nudged down to sit level with the framed stage titles */
.road li::before { top: 15px; }
/* #233 no-board: the GPS tile reads as tappable */
#phonedemo .card.gpsgo { cursor: pointer; } #phonedemo .card.gpsgo:hover { border-color: rgba(41,231,255,.55); }
/* tune tiles stay inside the phone: grid columns can shrink, sliders fill the tile */
#phonedemo .tlist, #phonedemo .tspecs, #phonedemo .spec.col { grid-template-columns: minmax(0, 1fr); }
#phonedemo .trow, #phonedemo .trh { min-width: 0; max-width: 100%; box-sizing: border-box; }
#phonedemo .spec .rng { width: 100%; min-width: 0; box-sizing: border-box; margin: 0; }
/* Roadmap: the bar and stages sit 10% in, and each stage is 25% narrower (wide screens; phones keep the full width) */
@media (min-width: 700px) { #roadmap .road { width: 75%; margin-left: auto; margin-right: auto; } #roadmap .road li { max-width: none; } }

/* ===== #239-#245, #250 connection pages, GPS fallback, no-connection state (Nov 27) ===== */
#phonedemo .psheet.on { z-index: 27; }                              /* open sheets sit above the tab bar, so their bottom is reachable */
#phonedemo #pd-consheet { max-height: calc(100% - 70px); padding-bottom: 26px; }
#phonedemo #pd-consheet .kdev { cursor: pointer; user-select: none; -webkit-user-select: none; transition: box-shadow .15s; }
#phonedemo #pd-consheet .kdev.sel { box-shadow: inset 0 0 0 1.5px rgba(41,231,255,.75); }
#phonedemo #pd-consheet .kdev.cur { box-shadow: inset 0 0 0 1.5px rgba(77,255,154,.75); }
#phonedemo #pd-consheet .kdev.holding { filter: brightness(1.25); }
#phonedemo #pd-consheet .kdev em { font: 700 9.5px var(--head); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--gauge); margin-left: auto; } #phonedemo #pd-consheet .kdev.cur em { color: #4dff9a; }
#phonedemo #pd-consheet .sub2 b.ok { color: #4dff9a; } #phonedemo #pd-consheet .sub2 b.off { color: #ff8fa3; } #phonedemo #pd-consheet a { color: var(--gauge); }
#phonedemo .mmb button.big { padding: 14px 8px; font-size: 13px; margin-top: 8px; border-width: 1.5px; }
/* phone: no board and no GPS */
#phonedemo .pnoconn { display: none; position: absolute; inset: 0; z-index: 6; align-items: center; justify-content: center; background: rgba(6,2,20,.94); text-align: center; padding: 30px; }
#phonedemo .pd-wrap.noconn .pnoconn { display: flex; }
#phonedemo .pnoconn b { display: block; font: 700 19px var(--head); margin: 0 0 6px; } #phonedemo .pnoconn small { display: block; font: 500 12px var(--body); color: var(--dim); margin: 0 0 16px; }
#phonedemo .pnoconn .pbtn { width: 190px; margin: 0 auto 8px; display: block; }
/* watch connection page: scrolls as one, Crown-friendly rows */
#wristdemo .cbox { overflow-y: auto; max-height: 280px; scrollbar-width: none; } #wristdemo .cbox .clist { overflow: visible; min-height: 0; flex-shrink: 0; }
#wristdemo .csec { font: 700 9px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 4px 2px 0; }
#wristdemo .crow.sel { box-shadow: inset 0 0 0 1.3px rgba(41,231,255,.75); } #wristdemo .crow.cur { box-shadow: inset 0 0 0 1.3px rgba(125,255,176,.8); }
#wristdemo .crow2 { display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; padding: 7px 10px; border-radius: 11px; border: 0; background: rgba(255,255,255,.06); color: var(--ink); font: 600 11px var(--head); cursor: pointer; }
#wristdemo .crow2 b { color: var(--gauge); font-weight: 700; } #wristdemo .cdone { flex: none; }
/* watch: no board -> the Lite-style GPS face */
#wristdemo.gpsface .wvesc, #wristdemo.gpsface #wd-spark { display: none !important; }
#wristdemo.gpsface .wlitegrp { display: inline; } #wristdemo.gpsface #wd-duty, #wristdemo.gpsface #wd-spark { display: inline !important; }
#wristdemo.gpsface #wd-face #wd-spdTxt, #wristdemo.gpsface #wd-face #wd-spdTxt + text { transform: translateY(-4px); }
#wristdemo.gpsface .wd-board .top::before { content: "● GPS"; color: #7dffb0; font: 600 12px/1 var(--head); margin-right: 6px; }
/* watch: no board and no GPS */
#wristdemo .wnoconn { display: none; position: absolute; inset: 0; z-index: 5; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: rgba(6,2,20,.94); text-align: center; padding: 20px; }
#wristdemo.noconn .wnoconn { display: flex; }
#wristdemo .wnoconn b { font: 700 15px/1.2 var(--head); } #wristdemo .wnoconn small { font: 500 10.5px var(--body); color: var(--dim); margin-bottom: 4px; }
#wristdemo .wnoconn button { width: 140px; height: 30px; border-radius: 999px; border: 1px solid rgba(41,231,255,.6); background: rgba(41,231,255,.14); color: #bff8ff; font: 700 11px var(--head); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
#wristdemo .wnoconn button.g { border-color: rgba(125,255,176,.55); background: rgba(125,255,176,.1); color: #b8ffd5; }

/* ===== #246-#260 Tune: two-row bar, kinds, status icons, QuickSave, versions, community filters (Nov 27 pm) ===== */
#phonedemo .tbar { display: none; grid-template-columns: 1fr; gap: 6px; padding: 14px 8px 8px; }
#phonedemo #pd-v-tune.listtab .tbar { display: grid; }
#phonedemo .tbar .tbtop { display: grid; grid-template-columns: 1.6fr 1fr; gap: 6px; } #phonedemo .tbar .tbrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
#phonedemo .tbar .tbtop button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 16px; font: 700 13px var(--head); letter-spacing: .04em; }
#phonedemo .tbar .tbw { border: 0 !important; color: #06121a !important; background: linear-gradient(100deg, #4dff9a, #29e7ff) !important; box-shadow: 0 0 16px rgba(41,231,255,.45); }
#phonedemo .tbar .tbw svg { width: 40px; height: 20px; stroke: #06121a; stroke-width: 2.2; }
#phonedemo .tbar .tbo { border: 1px solid rgba(255,92,228,.55) !important; background: rgba(255,92,228,.14) !important; color: #ffb3f1 !important; }
#phonedemo .tbar .tbo svg { width: 18px; height: 18px; }
#phonedemo .tbar .tbrow button { font-size: 9px; }
#phonedemo #pd-v-tune.listtab .scroll { padding-bottom: 130px !important; }
#phonedemo .kb { display: inline-block; font: 700 8.5px/1 var(--head); font-style: normal; letter-spacing: .06em; padding: 2px 4px; border-radius: 5px; vertical-align: 2px; margin-left: 3px; border: 1px solid; }
#phonedemo .kb.adv { color: #29e7ff; border-color: rgba(41,231,255,.5); } #phonedemo .kb.simple { color: #ffd84d; border-color: rgba(255,216,77,.5); }
#phonedemo .tsheet h6 .kb { font-size: 9px; vertical-align: 3px; }
#phonedemo .ti.pg.uns svg { stroke: #ff5ce4; fill: rgba(255,92,228,.22); }
#phonedemo .ti.bd svg { stroke-width: 1.6; } #phonedemo .ti.bd.same svg { stroke: #4dff9a; fill: rgba(77,255,154,.15); } #phonedemo .ti.bd.diff svg { stroke: #ff5ce4; fill: rgba(255,92,228,.2); }
#phonedemo .ti.wt svg { stroke: #ff5ce4; fill: rgba(255,92,228,.2); } #phonedemo .ti.wt { animation: wtblink 1.6s ease-in-out infinite; } @keyframes wtblink { 50% { opacity: .45; } }
#phonedemo .tcur { flex-wrap: wrap; } #phonedemo .tcur .ticons { margin-left: auto; margin-right: 6px; }
#phonedemo .sd { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; } #phonedemo .sd.uns { background: #ff5ce4; box-shadow: 0 0 6px #ff5ce4; } #phonedemo .sd.ok { background: #4dff9a; box-shadow: 0 0 6px rgba(77,255,154,.8); }
#phonedemo .qsrow { display: flex; align-items: center; gap: 8px; margin-top: 2px; } #phonedemo .qsrow small { font: 500 9.5px/1.2 var(--body); color: var(--dim); }
#phonedemo .qsbtn { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(165,155,214,.3); background: rgba(255,255,255,.05); color: var(--dim); font: 700 10.5px var(--head); letter-spacing: .04em; cursor: pointer; white-space: nowrap; }
#phonedemo .qsbtn.hot { border-color: #ff5ce4; color: #fff; background: rgba(255,92,228,.2); box-shadow: 0 0 10px rgba(255,92,228,.35); } #phonedemo .qsbtn:disabled { cursor: default; opacity: .6; }
#phonedemo .tseg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 3px; border-radius: 11px; background: rgba(255,255,255,.06); margin: 5px 0 2px; }
#phonedemo .tseg button { border: 0; border-radius: 9px; padding: 7px 4px; background: none; color: var(--dim); font: 600 10.5px var(--head); cursor: pointer; } #phonedemo .tseg button.on { background: rgba(41,231,255,.2); color: #fff; box-shadow: inset 0 0 0 1px rgba(41,231,255,.6); }
#phonedemo .tsheetm .box { max-height: calc(100% - 40px); overflow-y: auto; scrollbar-width: none; }
#phonedemo .tvers { width: 260px !important; } #phonedemo .vlist { display: grid; gap: 5px; max-height: 330px; overflow-y: auto; margin: 0 0 8px; scrollbar-width: none; }
#phonedemo .vrow { display: flex; align-items: center; gap: 8px; text-align: left; padding: 8px 10px; border-radius: 12px; border: 1px solid rgba(165,155,214,.2); background: rgba(255,255,255,.04); color: var(--ink); cursor: pointer; }
#phonedemo .vrow span { flex: 1; } #phonedemo .vrow b { display: block; font: 700 11.5px var(--head); } #phonedemo .vrow small { font: 500 9.5px var(--body); color: var(--dim); } #phonedemo .vrow em { font: 700 9px var(--head); font-style: normal; color: var(--gauge); letter-spacing: .06em; text-transform: uppercase; }
#phonedemo .vrow:hover { border-color: var(--gauge); }
#phonedemo .cwf { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 6px; } #phonedemo .cwf button, #phonedemo .cws button { padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(165,155,214,.3); background: none; color: var(--dim); font: 600 10px var(--head); cursor: pointer; }
#phonedemo .cwf button.on, #phonedemo .cws button.on { border-color: var(--gauge); color: #fff; background: rgba(41,231,255,.16); }
#phonedemo .cws { display: flex; align-items: center; gap: 5px; margin: 0 0 4px; font: 600 10px var(--head); color: var(--dim); }
#phonedemo .simplex { margin: 10px 0 0; }
#wristdemo #wd-tuneList .row.tune.wpend .nm small { color: #ff9cf4; }
/* #261 setting status dots: green saved and on the board, pink changed, blue saved not written, orange written not saved; section dot green or red */
#phonedemo .cdot.sg { background: #4dff9a; box-shadow: 0 0 6px rgba(77,255,154,.8); }
#phonedemo .cdot.sp { background: #ff5ce4; box-shadow: 0 0 6px #ff5ce4; }
#phonedemo .cdot.sb { background: #29a8ff; box-shadow: 0 0 6px #29a8ff; }
#phonedemo .cdot.so { background: #ff9a2b; box-shadow: 0 0 6px #ff9a2b; }
#phonedemo .cdot.sr { background: #ff3b5c; box-shadow: 0 0 7px #ff3b5c; }
#phonedemo .grp > button .cdot.gd { width: 8px; height: 8px; margin-left: 8px; }
/* #262 editor footer: Discard always there, muted when there's nothing to discard; orange "write only" */
#phonedemo #pd-disc { display: inline-flex !important; align-items: center; justify-content: center; }
#phonedemo #pd-disc.muted, #phonedemo #pd-disc:disabled { opacity: .35; cursor: default; pointer-events: none; }
#phonedemo .mmb button.org { border-color: #ff9a2b; background: rgba(255,154,43,.14); color: #ffbf73; }
#phonedemo .tunefoot .pbtn.pressing { filter: brightness(1.2); }
/* write options: radio = what a tap does; compact single-line labels */
#phonedemo .wmenu .wopt { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
#phonedemo .wmenu .wopt input { accent-color: #29e7ff; width: 16px; height: 16px; flex: none; margin: 0; }
#phonedemo .wmenu .wopt button { flex: 1; padding: 9px 8px; border-radius: 12px; border: 1px solid; font: 600 11px/1 var(--head); white-space: nowrap; cursor: pointer; text-align: center; }
#phonedemo .wmenu .wopt button.org { border-color: #ff9a2b; background: rgba(255,154,43,.14); color: #ffbf73; }
#phonedemo .wmenu .wopt button.grn { border-color: #4dff9a; background: rgba(77,255,154,.14); color: #4dff9a; }
#phonedemo .wmenu .wopt button.ok { border-color: rgba(41,231,255,.7); background: rgba(41,231,255,.14); color: #bff8ff; }
#phonedemo .tschk.one { white-space: nowrap; font-size: 10.5px; }
/* rows keep their height when "unwritten" shows: the tag floats just above the value instead of taking width */
#phonedemo .prm .top .v { position: relative; }
#phonedemo .prm .top .v.pend::after { position: absolute; right: 0; bottom: calc(100% + 2px); margin: 0; white-space: nowrap; font-size: 7.5px; }
#phonedemo .setrow .unw { white-space: nowrap; }
/* hero blurb: a soft black glow so the white text pops, and it sits one line higher */
.hero .lede { margin-top: calc(14px - 1em); text-shadow: 0 0 2px rgba(0,0,0,.85), 0 1px 3px rgba(0,0,0,.8), 0 0 14px rgba(0,0,0,.6), 0 2px 12px rgba(6,2,26,.9); }
/* Tune's tabs sit where messages show: messages there never catch taps */
#phonedemo .scr:has(#pd-v-tune.on) .toast { pointer-events: none !important; }
/* #266/#267 map pinch + zoom slider (hard right, between the speed readout and the camera button) */
#phonedemo #pd-map { touch-action: none; }
#phonedemo .zsl { position: absolute; right: 4px; top: 150px; height: 340px; width: 34px; z-index: 7; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0;
  border-radius: 17px; background: rgba(8,3,22,.62); border: 1px solid rgba(41,231,255,.28); box-shadow: 0 0 14px rgba(41,231,255,.18); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transform: translateX(8px); transition: opacity .35s, transform .35s; touch-action: none; user-select: none; }
#phonedemo .zsl.on { opacity: 1; pointer-events: auto; transform: none; }
#phonedemo .zsl b { width: 26px; height: 22px; display: grid; place-items: center; color: #bff8ff; font: 700 16px/1 "Chakra Petch"; cursor: pointer; border-radius: 11px; }
#phonedemo .zsl b:active { background: rgba(41,231,255,.2); }
#phonedemo .zsl .ztrk { position: relative; flex: 1; width: 26px; cursor: ns-resize; }
#phonedemo .zsl .ztrk::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; border-radius: 2px; background: rgba(255,255,255,.12); }
#phonedemo .zsl .ztrk span { position: absolute; left: 50%; bottom: 0; width: 4px; margin-left: -2px; border-radius: 2px; background: linear-gradient(#29e7ff, #b44dff); box-shadow: 0 0 6px #29e7ff; }
#phonedemo .zsl .ztrk i { position: absolute; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #e6fdff; border: 2px solid #29e7ff; box-shadow: 0 0 10px #29e7ff; }
#phonedemo .zsl.drag .ztrk i { transform: scale(1.15); }
#phonedemo .zsl em { position: absolute; right: 38px; top: 50%; transform: translateY(-50%); white-space: nowrap; font: 700 10px/1 "Chakra Petch"; font-style: normal; color: #bff8ff;
  background: rgba(8,3,22,.75); border: 1px solid rgba(41,231,255,.3); border-radius: 8px; padding: 4px 6px; }
/* off-screen sections: freeze their looping CSS animations (js/offscreen.js) */
.offscr, .offscr *, .offscr *::before, .offscr *::after { animation-play-state: paused !important; }
/* #275 hero Options slide: no ride chip over the title (the real Options screen has none), and the long list fades out like a scrolling list */
#wristhero .track > .panel:first-child .list { -webkit-mask-image: linear-gradient(#000 78%, transparent 97%); mask-image: linear-gradient(#000 78%, transparent 97%); }

/* #275 hero map slide: the street strip and layers button, styled like the sim */
#wristhero .wstrip { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); max-width: 150px; z-index: 5; display: flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(7,2,26,.82); border: 1px solid rgba(165,155,214,.25); pointer-events: none; }
#wristhero .wstrip b { font: 600 9px/1.2 var(--head); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#wristhero .wstrip i { font-style: normal; font: 700 12px/1 var(--head); color: var(--gauge); }
#wristhero .wstrip.nav { border-color: var(--gauge); }
#wristhero .wstrip:empty { display: none; }
#wristhero .wlayers { position: absolute; left: 19px; top: 54px; width: 30px; height: 30px; border-radius: 50%; padding: 0; display: grid; place-items: center; pointer-events: auto; cursor: pointer; background: rgba(7,2,26,.72); border: 1px solid rgba(165,155,214,.35); }
#wristhero .wlayers svg { width: 14px; height: 14px; fill: none; stroke: #cfc8ff; stroke-width: 1.8; stroke-linejoin: round; }
#wristhero .wstrip { z-index: 3; }
#wristhero .wstrip { bottom: 50px; }

/* tune editor footer: Save is electric blue, Write is green; both mute when there's nothing to do. The hold glow takes the button's colour (--bc). */
#phonedemo .tunefoot #pd-savecur { --bc: #2d9bff; background: rgba(45,155,255,.16); border: 1px solid #2d9bff; color: #e3f1ff; box-shadow: 0 0 12px rgba(45,155,255,.45); }
#phonedemo .tunefoot #pd-savecur.hot { background: rgba(45,155,255,.3); border-color: #6fbcff; color: #fff; box-shadow: 0 0 16px rgba(45,155,255,.7); }
#phonedemo .tunefoot #pd-write { --bc: #4dff9a; background: #4dff9a; color: #03210f; box-shadow: 0 0 14px rgba(77,255,154,.5); }
#phonedemo .tunefoot :is(#pd-savecur, #pd-write).idle { opacity: .42; box-shadow: none; filter: saturate(.55); }
#phonedemo .trh { --bc: #4dff9a; }
/* phone sim on-screen keyboard (js/stage13.js) */
#phonedemo .pkb { position: absolute; left: 0; right: 0; bottom: 0; z-index: 60; padding: 6px 3px 22px; background: rgba(28,24,44,.96); border-top: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px); transform: translateY(105%); transition: transform .22s ease; user-select: none; touch-action: none; }
#phonedemo .pkb.on { transform: none; }
#phonedemo .pkb .kr { display: flex; justify-content: center; gap: 4px; margin: 0 0 8px; }
#phonedemo .pkb .r1 { padding: 0 13px; }
#phonedemo .pkb .k { flex: 1; max-width: 27px; height: 38px; display: grid; place-items: center; border-radius: 6px; background: #4a4560; color: #fff; font: 500 17px/1 Inter, system-ui, sans-serif;
  box-shadow: 0 1px 0 rgba(0,0,0,.5); cursor: pointer; }
#phonedemo .pkb .k.wide { max-width: 40px; flex: 1.4; background: #2f2b40; font-size: 14px; }
#phonedemo .pkb .k.space { max-width: none; flex: 5; font-size: 13px; color: #cfcae6; }
#phonedemo .pkb .k.go { max-width: none; flex: 2; background: #2d9bff; font-size: 13px; }
#phonedemo .pkb .k.sh.on { background: #e9e6f5; color: #1a1726; }
#phonedemo .pkb .k.down { background: #8f88b3; transform: scale(1.06); }
/* lift what you're typing into above the keyboard */
#phonedemo .scr.kbon .mmenu { align-items: flex-start; padding-top: 64px; }
#phonedemo .scr.kbon .psheet.on, #phonedemo .scr.kbon .tsheet.on { bottom: 226px !important; max-height: calc(100% - 290px) !important; overflow: auto; }
:is(#wd-track, #wristhero .track) > .panel:first-child > .top > :first-child { visibility: hidden; }   /* the rec chip sits there now on every screen; OPTIONS below says where you are */
