/* ---- phone mockup (section 03) ---- */
/* ===== Flow-Line phone mockup (scoped under #phonedemo by the build step) ===== */
#phonedemo .pd-wrap { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: start; }
#phonedemo .pd-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* ---- iPhone 18 Pro Max style frame ---- */
#phonedemo .phone { position: relative; width: 330px; height: 704px; border-radius: 58px; padding: 12px;
  background: linear-gradient(150deg, #5d5868 0%, #2a2633 22%, #17141d 60%, #4a4555 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.16), inset 0 2px 8px rgba(255,255,255,.12), 0 34px 70px rgba(0,0,0,.65), 0 0 90px rgba(41,231,255,.14); }
#phonedemo .phone::before { content: ""; position: absolute; inset: 7px; border-radius: 52px; background: #030206; }
#phonedemo .phone .btn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #4c4757, #26222d); }
#phonedemo .phone .b-act { left: -3px; top: 118px; height: 30px; }
#phonedemo .phone .b-vu { left: -3px; top: 166px; height: 54px; }
#phonedemo .phone .b-vd { left: -3px; top: 230px; height: 54px; }
#phonedemo .phone .b-pw { right: -3px; top: 190px; height: 86px; }
#phonedemo .phone .b-cam { right: -3px; top: 330px; height: 46px; }
#phonedemo .scr { position: relative; width: 306px; height: 680px; border-radius: 47px; overflow: hidden; background: #05010f; z-index: 1; color: var(--ink); user-select: none; -webkit-user-select: none; }
#phonedemo .island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 14px; background: #000; z-index: 30; }
#phonedemo .sbar { position: absolute; top: 0; left: 0; right: 0; height: 46px; display: flex; justify-content: space-between; align-items: center; padding: 6px 30px 0 34px; font: 600 13px/1 var(--head); z-index: 25; pointer-events: none; }
#phonedemo .sbar .ic { display: flex; gap: 5px; align-items: center; }
#phonedemo .sbar .ic i { display: block; width: 3px; border-radius: 1px; background: var(--ink); }
#phonedemo .sbar .bat { width: 22px; height: 11px; border-radius: 3px; border: 1.3px solid rgba(255,255,255,.8); position: relative; }
#phonedemo .sbar .bat::after { content: ""; position: absolute; inset: 1.5px 6px 1.5px 1.5px; background: var(--ink); border-radius: 1px; }
#phonedemo .home { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 112px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.75); z-index: 30; }

/* ---- app shell ---- */
#phonedemo .view { position: absolute; inset: 0; padding: 50px 0 60px; overflow: hidden; display: none; }
#phonedemo .view.on { display: block; }
#phonedemo .view .scroll { position: absolute; inset: 50px 0 60px; overflow-y: auto; padding: 4px 14px 18px; scrollbar-width: none; }
#phonedemo .view .scroll::-webkit-scrollbar { display: none; }
#phonedemo .tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; padding: 4px 14px 0; display: flex; justify-content: space-around; align-items: flex-start; z-index: 20;
  background: rgba(8,3,24,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(165,155,214,.14); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
#phonedemo .tabbar.off { transform: translateY(100%); }
#phonedemo .tabbar button { flex: 1; background: none; border: 0; color: var(--dim); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 0 8px; cursor: pointer; font: 600 9.5px/1 var(--head); letter-spacing: .06em; }
#phonedemo .tabbar svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#phonedemo .tabbar button.on { color: var(--gauge); text-shadow: 0 0 8px rgba(41,231,255,.6); }
#phonedemo .tabbar button.on svg { filter: drop-shadow(0 0 4px rgba(41,231,255,.8)); }
#phonedemo .hdr { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 12px; }
#phonedemo .hdr h4 { margin: 0; font: 700 21px/1 var(--head); letter-spacing: .02em; }
#phonedemo .chip { display: inline-flex; align-items: center; gap: 5px; font: 600 10.5px/1 var(--head); letter-spacing: .06em; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: var(--ink); white-space: nowrap; }
#phonedemo .chip.cy { color: #bff8ff; border-color: rgba(41,231,255,.5); }
#phonedemo .chip.rd { color: #ff9aa8; border-color: rgba(255,59,92,.55); }
#phonedemo .chip.rd::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 6px #ff3b5c; animation: pdblink 1.2s infinite; }
@keyframes pdblink { 50% { opacity: .3; } }
#phonedemo .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gauge); box-shadow: 0 0 7px var(--gauge); display: inline-block; }
#phonedemo .card { background: rgba(255,255,255,.045); border: 1px solid rgba(165,155,214,.16); border-radius: 18px; padding: 12px; margin-bottom: 10px; }
#phonedemo .card h5 { margin: 0 0 8px; font: 600 10px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); display: flex; justify-content: space-between; }
#phonedemo .card h5 b { color: var(--ink); font-weight: 600; letter-spacing: .04em; }
#phonedemo .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#phonedemo .grid2 .card { margin: 0; }
#phonedemo .big { font: 700 24px/1 var(--head); font-variant-numeric: tabular-nums; }
#phonedemo .big small { font-size: 11px; color: var(--dim); margin-left: 3px; letter-spacing: .04em; }
#phonedemo .sub2 { font: 500 11px/1.35 var(--body); color: var(--dim); margin-top: 5px; }
#phonedemo .bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.1); margin-top: 8px; overflow: hidden; }
#phonedemo .bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--gauge), var(--trail)); box-shadow: 0 0 8px rgba(41,231,255,.6); }
#phonedemo .toast { position: absolute; left: 50%; top: 56px; transform: translate(-50%, -8px); opacity: 0; transition: .25s; z-index: 28; max-width: 250px; text-align: center; pointer-events: none;
  font: 600 11px/1.3 var(--head); padding: 8px 12px; border-radius: 14px; background: rgba(4,22,30,.95); border: 1px solid var(--gauge); color: #bff8ff; box-shadow: 0 0 16px rgba(41,231,255,.35); }
#phonedemo .toast.on { opacity: 1; transform: translate(-50%, 0); }
#phonedemo .toast.sun { background: rgba(36,28,4,.95); border-color: var(--sun); color: var(--sun); box-shadow: 0 0 16px rgba(255,216,77,.35); }
#phonedemo .scr.onmap .toast { top: 138px; }
#phonedemo .toast.rec { background: rgba(40,4,12,.95); border-color: #ff3b5c; color: #ffb3c0; box-shadow: 0 0 16px rgba(255,59,92,.4); }
#phonedemo .toast.org { background: rgba(40,16,4,.95); border-color: #ff9a4d; color: #ffd2ad; box-shadow: 0 0 16px rgba(255,122,26,.4); }
#phonedemo .toast.mint { background: rgba(4,30,18,.95); border-color: #7dffb0; color: #7dffb0; }
#phonedemo .pbtn { font: 700 11px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; border: 0; border-radius: 999px; padding: 11px 14px; cursor: pointer; color: #04131a; background: var(--gauge); box-shadow: 0 0 14px rgba(41,231,255,.45); }
#phonedemo .pbtn.ghost { background: rgba(255,255,255,.1); color: var(--ink); box-shadow: none; }
#phonedemo .pbtn.gold { background: #ffd84d; color: #261c00; box-shadow: 0 0 14px rgba(255,216,77,.45); }
#phonedemo .pbtn.pink { background: var(--trail); color: #1a0020; box-shadow: 0 0 14px rgba(255,43,214,.45); }
#phonedemo .back { background: none; border: 0; color: var(--gauge); font: 600 13px/1 var(--head); cursor: pointer; padding: 4px 0; }

/* ---- boot / connect ---- */
#phonedemo #pd-v-connect { padding: 0; }
#phonedemo #pd-boot { position: absolute; inset: 0; width: 100%; height: 100%; }
#phonedemo .bootlogo { position: absolute; left: 0; right: 0; top: 74px; text-align: center; opacity: 0; transition: opacity .6s; pointer-events: none; }
#phonedemo .bootlogo.on { opacity: 1; }
#phonedemo .bootlogo .wm { font: 400 40px/1 "Tilt Neon", sans-serif; letter-spacing: .04em; }
#phonedemo .bootlogo .tg { margin-top: 8px; font: 400 10px/1 "Tilt Neon", sans-serif; letter-spacing: .45em; color: #e6fdff; text-shadow: 0 0 6px #00d9ff; }
#phonedemo .tc { color: #e6fdff; text-shadow: 0 0 1px #fff, 0 0 3px #e6fdff, 0 0 7px #00d9ff, 0 0 14px #00d9ff, 0 0 28px #00d9ff; }
#phonedemo .tm { color: #ffe6fb; text-shadow: 0 0 1px #fff, 0 0 3px #ffe6fb, 0 0 7px #ff2bd6, 0 0 14px #ff2bd6, 0 0 28px #ff2bd6; }
#phonedemo .sheet { position: absolute; left: 8px; right: 8px; bottom: 8px; border-radius: 34px 34px 40px 40px; padding: 16px 16px 26px; background: rgba(10,4,30,.93); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(165,155,214,.2); transform: translateY(110%); transition: transform .55s cubic-bezier(.2,.8,.2,1); z-index: 22; }
#phonedemo .sheet.on { transform: none; }
#phonedemo .sheet .grab { width: 36px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); margin: -4px auto 12px; }
#phonedemo .sheet h6 { margin: 0 0 4px; font: 700 17px/1.1 var(--head); }
#phonedemo .sheet .muted { font: 500 11.5px/1.35 var(--body); color: var(--dim); display: flex; align-items: center; gap: 7px; }
#phonedemo .spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(41,231,255,.25); border-top-color: var(--gauge); animation: pdspin .8s linear infinite; }
@keyframes pdspin { to { transform: rotate(360deg); } }
#phonedemo .dev { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(165,155,214,.14); margin-top: 8px; cursor: pointer; opacity: 0; transform: translateY(6px); transition: .35s; }
#phonedemo .dev.in { opacity: 1; transform: none; }
#phonedemo .dev:hover { border-color: rgba(41,231,255,.45); }
#phonedemo .dev .ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(41,231,255,.12); color: var(--gauge); font: 700 12px/1 var(--head); flex: none; }
#phonedemo .dev .t { flex: 1; min-width: 0; }
#phonedemo .dev .t b { display: block; font: 600 13.5px/1.2 var(--head); }
#phonedemo .dev .t span { font: 500 10.5px/1.3 var(--body); color: var(--dim); }
#phonedemo .sig { display: flex; gap: 2px; align-items: flex-end; height: 14px; }
#phonedemo .sig i { width: 3px; border-radius: 1px; background: rgba(255,255,255,.25); }
#phonedemo .sig i.on { background: var(--gauge); box-shadow: 0 0 4px var(--gauge); }
#phonedemo .can { display: flex; align-items: center; gap: 9px; padding: 8px 2px; border-bottom: 1px solid rgba(165,155,214,.12); font: 500 12px/1.3 var(--body); opacity: 0; transition: .35s; }
#phonedemo .can.in { opacity: 1; }
#phonedemo .can .id { font: 700 10px/1 var(--head); color: var(--gauge); width: 46px; flex: none; }
#phonedemo .can .ok { margin-left: auto; color: #7dffb0; font: 700 12px/1 var(--head); }
#phonedemo .can .t span { display: block; color: var(--dim); font-size: 10.5px; }
#phonedemo .tgl { position: relative; width: 38px; height: 22px; border-radius: 11px; background: rgba(255,255,255,.16); flex: none; cursor: pointer; transition: background .2s; border: 0; padding: 0; }
#phonedemo .tgl::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
#phonedemo .tgl.on { background: var(--gauge); box-shadow: 0 0 10px rgba(41,231,255,.5); }
#phonedemo .tgl.on::after { transform: translateX(16px); }
#phonedemo .tgl.gold.on { background: #ffd84d; box-shadow: 0 0 10px rgba(255,216,77,.5); }
#phonedemo .setrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; font: 500 12.5px/1.3 var(--body); }
#phonedemo .setrow span small { display: block; color: var(--dim); font-size: 10.5px; }

/* ---- board ---- */
#phonedemo .speedcard { display: flex; align-items: center; gap: 12px; }
#phonedemo .speedcard svg { width: 132px; height: 92px; flex: none; }
#phonedemo .att { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#phonedemo .att svg { width: 100%; height: 76px; display: block; }
#phonedemo .att .lab { display: flex; justify-content: space-between; font: 600 10px/1 var(--head); letter-spacing: .1em; color: var(--dim); margin-top: 2px; }
#phonedemo .att .lab b { color: var(--ink); font-variant-numeric: tabular-nums; }
#phonedemo .pads { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#phonedemo .pad { border-radius: 12px; padding: 9px; background: rgba(255,255,255,.04); border: 1px solid rgba(165,155,214,.18); transition: border-color .2s, box-shadow .2s; }
#phonedemo .pad.on { border-color: rgba(125,255,176,.7); box-shadow: 0 0 12px rgba(125,255,176,.25); }
#phonedemo .pad b { font: 600 11px/1 var(--head); letter-spacing: .08em; }
#phonedemo .pad span { float: right; font: 600 11px/1 var(--head); color: var(--dim); font-variant-numeric: tabular-nums; }
#phonedemo .pad .bar i { background: linear-gradient(90deg, #2bd98a, #7dffb0); box-shadow: 0 0 8px rgba(125,255,176,.6); }
#phonedemo canvas.sparkln { width: 100%; height: 34px; display: block; margin-top: 6px; }
#phonedemo .two-v { display: flex; justify-content: space-between; font: 600 11px/1.5 var(--head); color: var(--dim); }
#phonedemo .two-v b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---- tune ---- */
#phonedemo .seg { display: grid; grid-template-columns: 1fr 1fr; background: rgba(255,255,255,.07); border-radius: 12px; padding: 3px; margin-bottom: 10px; }
#phonedemo .seg button { border: 0; background: none; color: var(--dim); font: 700 11px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; padding: 9px 0; border-radius: 9px; cursor: pointer; }
#phonedemo .seg button.on { background: var(--trail); color: #1a0020; box-shadow: 0 0 12px rgba(255,43,214,.45); }
#phonedemo .search { display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,.07); border-radius: 12px; padding: 9px 11px; font: 500 12px/1 var(--body); color: var(--dim); margin-bottom: 8px; }
#phonedemo .grp { border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(165,155,214,.14); margin-bottom: 7px; overflow: hidden; }
#phonedemo .grp > button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 11px 12px; background: none; border: 0; color: var(--ink); font: 600 13px/1 var(--head); cursor: pointer; text-align: left; }
#phonedemo .grp > button .n { margin-left: auto; font: 500 10.5px/1 var(--body); color: var(--dim); }
#phonedemo .grp > button .chev { transition: transform .2s; color: var(--dim); }
#phonedemo .grp.open > button .chev { transform: rotate(90deg); }
#phonedemo .cdot { width: 6px; height: 6px; border-radius: 50%; background: var(--trail); box-shadow: 0 0 6px var(--trail); flex: none; }
#phonedemo .grp .body { display: none; padding: 0 12px 8px; }
#phonedemo .grp.open .body { display: block; }
#phonedemo .prm { padding: 9px 0; border-top: 1px solid rgba(165,155,214,.1); }
#phonedemo .card.prm { padding: 13px 16px 12px; border-top: 1px solid rgba(165,155,214,.16); }
#phonedemo .prm .top { display: flex; align-items: center; gap: 6px; font: 600 12px/1.2 var(--body); }
#phonedemo .prm .top .v { margin-left: auto; font: 700 12px/1 var(--head); color: var(--gauge); font-variant-numeric: tabular-nums; }
#phonedemo .prm .d { font: 500 10.5px/1.35 var(--body); color: var(--dim); margin-top: 4px; display: none; }
#phonedemo .prm.show .d { display: block; }
#phonedemo .prm .def { font: 500 10px/1 var(--body); color: var(--trail-soft); margin-left: 4px; }
#phonedemo input.rng { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); margin: 9px 0 2px; outline: none; }
#phonedemo input.rng::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px var(--gauge); cursor: pointer; }
#phonedemo input.rng::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 8px var(--gauge); cursor: pointer; }
#phonedemo .simple .prm .top { font-size: 13px; }
#phonedemo .simple .prm .d { display: block; }
#phonedemo .tunefoot { position: absolute; left: 0; right: 0; bottom: 60px; padding: 10px 14px; display: flex; gap: 8px; align-items: center; background: linear-gradient(transparent, rgba(5,1,15,.95) 30%); z-index: 5; }
#phonedemo .idle { font: 700 9.5px/1 var(--head); letter-spacing: .08em; padding: 6px 8px; border-radius: 999px; color: #7dffb0; border: 1px solid rgba(125,255,176,.5); white-space: nowrap; }

/* ---- map ---- */
#phonedemo #pd-v-map { padding: 0; }
#phonedemo #pd-map { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
#phonedemo .mtop { position: absolute; top: 52px; left: 12px; right: 12px; display: flex; gap: 8px; z-index: 6; }
#phonedemo .mtop .srch { flex: 1; display: flex; align-items: center; gap: 7px; padding: 10px 12px; border-radius: 14px; background: rgba(8,3,24,.86); border: 1px solid rgba(165,155,214,.2); font: 600 12px/1 var(--head); }
#phonedemo .rbtn { width: 38px; height: 38px; border-radius: 13px; border: 1px solid rgba(165,155,214,.25); background: rgba(8,3,24,.86); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
#phonedemo .rbtn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#phonedemo .rbtn.on { border-color: var(--gauge); color: var(--gauge); box-shadow: 0 0 10px rgba(41,231,255,.35); }
#phonedemo .fab { position: absolute; right: 14px; bottom: 98px; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; z-index: 6; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 35%, #ffe0f9, #ff2bd6 60%); box-shadow: 0 0 22px rgba(255,43,214,.7); color: #1a0020; }
#phonedemo .fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#phonedemo .gmeet { position: absolute; left: 14px; bottom: 104px; z-index: 6; }
#phonedemo .mflash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 26; }
#phonedemo .mflash.go { animation: pdflash .45s ease-out; }
@keyframes pdflash { 0% { opacity: .9; } 100% { opacity: 0; } }
#phonedemo .layers { position: absolute; left: 8px; right: 8px; bottom: 92px; border-radius: 26px; padding: 14px; background: rgba(10,4,30,.95); border: 1px solid rgba(165,155,214,.22); z-index: 12; transform: translateY(130%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
#phonedemo .layers.on { transform: none; }
#phonedemo .layers h6 { margin: 0 0 8px; font: 700 14px/1 var(--head); display: flex; justify-content: space-between; align-items: center; }
#phonedemo .base { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 8px; }
#phonedemo .base button { text-align: left; padding: 9px; border-radius: 13px; background: rgba(255,255,255,.05); border: 1px solid rgba(165,155,214,.2); color: var(--ink); cursor: pointer; font: 600 11.5px/1.25 var(--head); }
#phonedemo .base button small { display: block; font: 500 9.5px/1.3 var(--body); color: var(--dim); margin-top: 3px; }
#phonedemo .base button.on { border-color: var(--gauge); box-shadow: 0 0 10px rgba(41,231,255,.3); }
#phonedemo .dl { height: 3px; border-radius: 2px; background: rgba(255,255,255,.1); margin-top: 6px; overflow: hidden; }
#phonedemo .dl i { display: block; height: 100%; width: 0; background: var(--gauge); transition: width .2s; }
#phonedemo .lrow { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; font: 500 12px/1.25 var(--body); }
#phonedemo .lrow small { display: block; color: var(--dim); font-size: 10px; }
#phonedemo .photo { position: absolute; left: 12px; right: 12px; bottom: 96px; z-index: 13; border-radius: 22px; overflow: hidden; background: rgba(10,4,30,.97); border: 1px solid rgba(165,155,214,.25); transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
#phonedemo .photo.on { transform: none; }
#phonedemo .photo .img { height: 150px; position: relative; }
#phonedemo .photo .meta { padding: 10px 12px 12px; font: 500 11.5px/1.35 var(--body); }
#phonedemo .photo .meta b { font: 600 13px/1.2 var(--head); display: block; }
#phonedemo .photo .meta span { color: var(--dim); }
#phonedemo .photo .x { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; font: 700 12px/1 var(--head); }
#phonedemo .pimg { position: absolute; inset: 0; overflow: hidden; }
#phonedemo .pimg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#phonedemo .pimg .cap { position: absolute; left: 6px; bottom: 5px; font: 600 9px/1.1 var(--head); color: rgba(255,255,255,.92); text-shadow: 0 1px 3px #000; }

/* ---- rides ---- */
#phonedemo .filters { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 10px; scrollbar-width: none; }
#phonedemo .filters .chip.on { border-color: var(--trail); color: #ffe6fb; background: rgba(255,43,214,.14); }
#phonedemo .ride { display: flex; gap: 10px; padding: 9px; border-radius: 16px; background: rgba(255,255,255,.045); border: 1px solid rgba(165,155,214,.15); margin-bottom: 8px; cursor: pointer; transition: border-color .2s; }
#phonedemo .ride:hover { border-color: rgba(41,231,255,.45); }
#phonedemo .ride canvas { width: 84px; height: 84px; border-radius: 12px; flex: none; background: #07031a; }
#phonedemo .ride .t { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
#phonedemo .ride .t b { font: 600 13.5px/1.2 var(--head); }
#phonedemo .ride .t span { font: 500 11px/1.3 var(--body); color: var(--dim); }
#phonedemo .ride .t .st { font: 600 11px/1 var(--head); color: var(--gauge); }
#phonedemo .ride .t .st em { font-style: normal; color: var(--trail-soft); margin-left: 8px; }
#phonedemo #pd-rdmap { width: 100%; height: 210px; border-radius: 16px; display: block; background: #07031a; }
#phonedemo .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0; }
#phonedemo .stats div { background: rgba(255,255,255,.045); border: 1px solid rgba(165,155,214,.14); border-radius: 12px; padding: 8px; }
#phonedemo .stats b { display: block; font: 700 14px/1.1 var(--head); font-variant-numeric: tabular-nums; }
#phonedemo .stats span { font: 500 9.5px/1.2 var(--body); color: var(--dim); }
#phonedemo .gal { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
#phonedemo .gal .g { position: relative; aspect-ratio: 1; border-radius: 9px; overflow: hidden; cursor: pointer; }

/* ---- group ---- */
#phonedemo .ghead { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
#phonedemo .gbadge { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font: 700 17px/1 var(--head); background: rgba(255,216,77,.16); color: var(--sun); border: 1px solid rgba(255,216,77,.6); box-shadow: 0 0 12px rgba(255,216,77,.3); }
#phonedemo .ghead b { display: block; font: 700 18px/1.1 var(--head); }
#phonedemo .ghead span { font: 500 11px/1.3 var(--body); color: var(--dim); }
#phonedemo .inv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
#phonedemo .inv button { padding: 9px 0; border-radius: 12px; border: 1px solid rgba(165,155,214,.22); background: rgba(255,255,255,.05); color: var(--ink); font: 600 11px/1 var(--head); cursor: pointer; }
#phonedemo .mem { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px solid rgba(165,155,214,.1); position: relative; }
#phonedemo .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--head); flex: none; border: 2px solid; }
#phonedemo .mem .t { flex: 1; min-width: 0; }
#phonedemo .mem .t b { font: 600 12.5px/1.2 var(--head); }
#phonedemo .mem .t span { display: block; font: 500 10.5px/1.3 var(--body); color: var(--dim); }
#phonedemo .mem .t span.role { display: inline-block; color: inherit; font-size: 8.5px; }
#phonedemo .role { font: 700 8.5px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; padding: 3px 5px; border-radius: 4px; margin-left: 5px; vertical-align: 1px; }
#phonedemo .mem .t span.role.lead, #phonedemo .role.lead { color: var(--sun); border: 1px solid rgba(255,216,77,.6); }
#phonedemo .mem .t span.role.adm, #phonedemo .role.adm { color: var(--gauge); border: 1px solid rgba(41,231,255,.55); }
#phonedemo .more { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.07); color: var(--ink); cursor: pointer; font: 700 14px/1 var(--head); }
#phonedemo .mini { padding: 6px 9px; border-radius: 999px; border: 0; cursor: pointer; font: 700 9.5px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; }
#phonedemo .mini.ok { background: #7dffb0; color: #032112; } #phonedemo .mini.no { background: rgba(255,255,255,.1); color: var(--ink); margin-left: 4px; }
#phonedemo .pop { position: absolute; right: 34px; top: 30px; z-index: 9; min-width: 150px; border-radius: 14px; padding: 5px; background: rgba(14,5,38,.98); border: 1px solid rgba(165,155,214,.25); box-shadow: 0 12px 30px rgba(0,0,0,.5); display: none; }
#phonedemo .pop.on { display: block; }
#phonedemo .pop button { display: block; width: 100%; text-align: left; padding: 9px 10px; border: 0; background: none; color: var(--ink); font: 500 12px/1 var(--body); border-radius: 9px; cursor: pointer; }
#phonedemo .pop button:hover { background: rgba(255,255,255,.07); }
#phonedemo .pop button.red { color: #ff8a9a; }
#phonedemo .swatches { display: flex; gap: 7px; }
#phonedemo .swatches i { width: 20px; height: 20px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; }
#phonedemo .swatches i.on { border-color: #fff; box-shadow: 0 0 8px currentColor; }

/* ---- outside the phone ---- */
#phonedemo .ptabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 5px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid var(--line); max-width: 340px; }
#phonedemo .ptabs button { font: 600 12px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); background: none; border: 0; padding: 9px 12px; border-radius: 999px; cursor: pointer; }
#phonedemo .ptabs button.on { color: #0b0420; background: var(--trail); box-shadow: 0 0 14px rgba(255,43,214,.5); }
#phonedemo .pcopy h3 { font: 700 26px/1.15 var(--head); letter-spacing: .03em; text-transform: uppercase; margin: 0 0 6px; }
#phonedemo .pcopy .pos { font: 600 12px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--trail-soft); }
#phonedemo .pcopy p { color: var(--dim); margin: 6px 0 14px; max-width: 52ch; }
#phonedemo .pcopy ul { margin: 0; padding-left: 18px; color: var(--dim); }
#phonedemo .pcopy li { margin-bottom: 7px; } #phonedemo .pcopy li::marker { color: var(--gauge); }
#phonedemo .pcopy b { color: var(--ink); font-weight: 600; }
#phonedemo .pcopy .try { margin-top: 16px; padding: 12px 14px; border-left: 2px solid var(--trail); background: linear-gradient(90deg, rgba(255,43,214,.1), transparent); border-radius: 0 10px 10px 0; font-size: 14.5px; color: var(--ink); }
@media (max-width: 860px) { #phonedemo .pd-wrap { grid-template-columns: 1fr; gap: 28px; } #phonedemo .pd-stage { order: 0; } }

/* ---- map v2: everything the watch map does ---- */
#phonedemo #pd-v-map::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; z-index: 5; pointer-events: none; background: linear-gradient(rgba(5,1,15,.78), rgba(5,1,15,.35) 60%, transparent); }
#phonedemo .fab { right: 14px; bottom: 136px; width: 46px; height: 46px; }
#phonedemo .fab svg { width: 21px; height: 21px; }
#phonedemo .gmeet { left: 14px; bottom: 74px; padding: 10px 13px; }
#phonedemo .layers { bottom: 68px; max-height: 540px; overflow-y: auto; scrollbar-width: none; }
#phonedemo .layers .base { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
#phonedemo .layers .base button { padding: 8px 7px; font-size: 11px; }
#phonedemo .layers .base button small { font-size: 8.8px; }
#phonedemo .lrow.demo { border-top: 1px dashed rgba(255,216,77,.3); margin-top: 4px; padding-top: 9px; }
#phonedemo .photo { bottom: 68px; }
#phonedemo .mglow { position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 4; }
#phonedemo .mblip, #phonedemo .mrip { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; pointer-events: none; opacity: 0; z-index: 5; }
#phonedemo .mblip { border: 2px solid #fff; box-shadow: 0 0 14px #fff; }
#phonedemo .mblip.go { animation: pdblip .45s ease-out; }
#phonedemo .mrip { border: 2px solid var(--gauge); }
#phonedemo .mrip.go { animation: pdblip .5s ease-out; }
@keyframes pdblip { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.8); } }
#phonedemo .reticle { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; pointer-events: none; z-index: 5; opacity: 0; transition: opacity .2s; }
#phonedemo .reticle.on { opacity: 1; }
#phonedemo .reticle::before, #phonedemo .reticle::after { content: ""; position: absolute; background: #fff; box-shadow: 0 0 6px var(--trail); }
#phonedemo .reticle::before { left: 19px; top: 0; width: 2px; height: 40px; } #phonedemo .reticle::after { top: 19px; left: 0; height: 2px; width: 40px; }
#phonedemo .reticle i { position: absolute; inset: 8px; border-radius: 50%; border: 2px solid var(--trail); box-shadow: 0 0 10px var(--trail); }
#phonedemo .reticle.gold i { border-color: #ffd84d; box-shadow: 0 0 10px #ffd84d; } #phonedemo .reticle.cyan i { border-color: var(--gauge); box-shadow: 0 0 10px var(--gauge); }
#phonedemo .pathx { position: absolute; left: 12px; top: 98px; z-index: 6; display: none; align-items: center; gap: 7px; padding: 7px 12px 7px 8px; border-radius: 999px; cursor: pointer;
  background: rgba(4,22,30,.92); border: 1.5px dashed var(--gauge); color: var(--gauge); font: 700 10.5px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 0 12px rgba(41,231,255,.35); }
#phonedemo .pathx.on { display: flex; }
#phonedemo .pathx span { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--gauge); color: #04131a; font-size: 10px; }
#phonedemo .pathx.gold { border-color: #ffd84d; color: #ffd84d; background: rgba(36,28,4,.92); box-shadow: 0 0 12px rgba(255,216,77,.35); }
#phonedemo .pathx.gold span { background: #ffd84d; color: #261c00; }
#phonedemo .pathx.locked span { background: rgba(255,216,77,.25); color: #ffd84d; }
#phonedemo .mspd { position: absolute; right: 12px; top: 98px; z-index: 6; padding: 6px 10px; border-radius: 12px; background: rgba(8,3,24,.86); border: 1px solid rgba(165,155,214,.2); font: 600 9px/1 var(--head); letter-spacing: .1em; color: var(--dim); text-align: center; }
#phonedemo .mspd b { display: block; font: 700 17px/1 var(--head); color: var(--ink); letter-spacing: 0; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
#phonedemo .recenter { position: absolute; left: 14px; bottom: 120px; z-index: 6; display: none; }
#phonedemo .recenter.on { display: grid; }
#phonedemo .recenter svg { fill: var(--gauge); stroke: none; width: 16px; height: 16px; }
#phonedemo .morb { position: absolute; right: 12px; bottom: 70px; width: 58px; height: 58px; border-radius: 50%; z-index: 7; cursor: pointer; display: grid; place-items: center; align-content: center; gap: 1px; padding: 0; touch-action: none;
  background: radial-gradient(circle at 40% 35%, #ffc58a, #ff7a1a 50%, #8a2e00 85%); border: 1.5px solid #ff9a4d; box-shadow: 0 0 16px rgba(255,122,26,.75), 0 0 32px rgba(255,122,26,.3); color: #fff3e6; transition: transform .15s; }
#phonedemo .morb svg { width: 19px; height: 19px; fill: currentColor; }
#phonedemo .morb span { font: 700 7.5px/1 var(--head); letter-spacing: .14em; }
#phonedemo .morb.rec { transform: scale(1.18); background: radial-gradient(circle, #ff3b5c, #b0002a 70%); border-color: #ff8fa3; box-shadow: 0 0 22px #ff3b5c, 0 0 44px rgba(255,59,92,.45); animation: pdorb 1s infinite; }
#phonedemo .morb.inc { animation: pdorb .8s 4; }
@keyframes pdorb { 50% { box-shadow: 0 0 30px #ff9a4d, 0 0 60px rgba(255,122,26,.5); } }
#phonedemo #pd-v-map.sheeted .morb, #phonedemo #pd-v-map.sheeted .fab, #phonedemo #pd-v-map.sheeted .gmeet, #phonedemo #pd-v-map.sheeted .recenter { opacity: 0; pointer-events: none; }
#phonedemo .msheet { position: absolute; left: 8px; right: 8px; bottom: 66px; z-index: 11; padding: 13px 14px; border-radius: 24px; background: rgba(10,4,30,.95); border: 1px solid rgba(165,155,214,.22); transform: translateY(150%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
#phonedemo .msheet.on { transform: none; }
#phonedemo .msheet .who { font: 700 15px/1.15 var(--head); margin-bottom: 10px; }
#phonedemo .msheet .who small { display: block; font: 500 11px/1.3 var(--body); color: var(--dim); margin-top: 3px; }
#phonedemo .mbtns { display: flex; gap: 7px; }
#phonedemo .mbtns .pbtn { flex: 1; padding: 11px 6px; }
#phonedemo .mbtns .pbtn.hit { filter: brightness(1.5); transform: scale(.96); }
#phonedemo .wx { position: relative; overflow: hidden; }
#phonedemo .mmenu { position: absolute; inset: 0; z-index: 24; background: rgba(3,1,10,.55); display: none; align-items: center; justify-content: center; }
#phonedemo .mmenu.on { display: flex; }
#phonedemo .mmenu .box { width: 236px; padding: 15px; border-radius: 24px; background: rgba(12,5,34,.98); border: 1px solid rgba(165,155,214,.28); box-shadow: 0 20px 50px rgba(0,0,0,.6); }
#phonedemo .mmenu h6 { margin: 0 0 10px; font: 700 15px/1.15 var(--head); text-align: center; }
#phonedemo .mmenu h6 small { display: block; font: 500 10.5px/1.3 var(--body); color: var(--dim); margin-top: 3px; }
#phonedemo .mmb { display: grid; gap: 6px; }
#phonedemo .mmb button { padding: 10px; border-radius: 13px; border: 1px solid rgba(41,231,255,.35); background: rgba(41,231,255,.08); color: var(--ink); font: 600 12.5px/1 var(--head); cursor: pointer; }
#phonedemo .mmb button.gold { border-color: rgba(255,216,77,.6); background: rgba(255,216,77,.12); color: #ffd84d; }
#phonedemo .mmb button.no { border-color: rgba(255,255,255,.12); background: none; color: var(--dim); }
#phonedemo .mmb button:disabled { opacity: .35; cursor: default; }

/* ---- people ---- */
#phonedemo .btnchip { cursor: pointer; color: var(--gauge); border-color: rgba(41,231,255,.45); }
#phonedemo .esearch { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 13px; background: rgba(255,255,255,.07); border: 1px solid rgba(165,155,214,.18); color: var(--dim); margin-bottom: 6px; }
#phonedemo .esearch:focus-within { border-color: var(--gauge); box-shadow: 0 0 10px rgba(41,231,255,.25); }
#phonedemo .esearch input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: 500 12.5px/1 var(--body); padding: 11px 0; }
#phonedemo .ehint { font: 500 10px/1.4 var(--body); color: var(--dim); margin: 0 2px 10px; }
#phonedemo .ehint button { background: none; border: 0; padding: 0; color: var(--gauge); font: inherit; cursor: pointer; text-decoration: underline; }
#phonedemo .eres { padding: 12px; border-radius: 16px; border: 1px solid rgba(41,231,255,.4); background: rgba(41,231,255,.06); margin-bottom: 10px; }
#phonedemo .eres .mem { border: 0; padding: 0 0 10px; }
#phonedemo .btns2 { display: flex; gap: 6px; } #phonedemo .btns2 .pbtn { flex: 1; padding: 10px 6px; font-size: 10px; }
#phonedemo .lockline { font: 500 10px/1.35 var(--body); color: var(--dim); margin: -2px 0 4px; }
#phonedemo .mem.tap { cursor: pointer; } #phonedemo .mem .go { color: var(--dim); font: 600 14px/1 var(--head); }
#phonedemo .gtile { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(165,155,214,.1); cursor: pointer; }
#phonedemo .gbadge2 { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font: 700 11px/1 var(--head); flex: none; border: 1.5px solid; }
#phonedemo .gtile .t { flex: 1; min-width: 0; } #phonedemo .gtile .t b { font: 600 13px/1.2 var(--head); display: block; }
#phonedemo .gtile .t span { font: 500 10.5px/1.3 var(--body); color: var(--dim); }
#phonedemo .tag { white-space: nowrap; display: inline-block; font: 700 8px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; padding: 3px 5px; border-radius: 4px; border: 1px solid rgba(165,155,214,.35); color: var(--dim); margin-right: 4px; vertical-align: 1px; }
#phonedemo .tag.pub { color: #7dffb0; border-color: rgba(125,255,176,.5); } #phonedemo .tag.priv { color: var(--trail-soft); border-color: rgba(255,156,244,.5); }
#phonedemo .wide { width: 100%; margin-top: 8px; }
#phonedemo .phead { text-align: center; padding: 4px 0 12px; }
#phonedemo .phead .av { width: 64px; height: 64px; margin: 0 auto 8px; font-size: 24px; border-width: 2.5px; }
#phonedemo .phead b { display: block; font: 700 19px/1.1 var(--head); } #phonedemo .phead span { font: 500 11px/1.4 var(--body); color: var(--dim); }
#phonedemo .acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
#phonedemo .acts button { padding: 10px 0; border-radius: 12px; border: 1px solid rgba(165,155,214,.22); background: rgba(255,255,255,.05); color: var(--ink); font: 600 10.5px/1.2 var(--head); cursor: pointer; }
#phonedemo .jbtn { padding: 7px 10px; border-radius: 999px; border: 0; cursor: pointer; font: 700 9.5px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; background: var(--gauge); color: #04131a; white-space: nowrap; }
#phonedemo .jbtn.ask { background: #ffd84d; color: #261c00; } #phonedemo .jbtn.done { background: rgba(255,255,255,.1); color: var(--dim); cursor: default; } #phonedemo .jbtn:disabled { opacity: .45; cursor: default; }
#phonedemo .seg3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 3px; border-radius: 11px; background: rgba(255,255,255,.06); margin: 6px 0 4px; }
#phonedemo .seg3.two { grid-template-columns: 1fr 1fr; }
#phonedemo .seg3 button { border: 0; background: none; color: var(--dim); font: 700 10px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; padding: 8px 0; border-radius: 8px; cursor: pointer; }
#phonedemo .seg3 button.on { background: var(--gauge); color: #04131a; box-shadow: 0 0 10px rgba(41,231,255,.4); }
#phonedemo .seg3 button:disabled { cursor: default; }
#phonedemo .setnote { font: 500 10px/1.35 var(--body); color: var(--dim); margin-bottom: 8px; }
#phonedemo .inv4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 6px; }
#phonedemo .inv4 button { padding: 9px 0; border-radius: 12px; border: 1px solid rgba(165,155,214,.22); background: rgba(255,255,255,.05); color: var(--ink); font: 600 10px/1.2 var(--head); cursor: pointer; }
#phonedemo .inv4 button:disabled { opacity: .35; cursor: default; }
#phonedemo .lockmsg { font: 500 10.5px/1.35 var(--body); color: var(--trail-soft); margin-bottom: 10px; }
#phonedemo .psheet { position: absolute; left: 6px; right: 6px; bottom: 6px; z-index: 22; max-height: 560px; overflow-y: auto; scrollbar-width: none; border-radius: 30px 30px 40px 40px; padding: 12px 14px 22px; background: rgba(14,6,38,.98); border: 1px solid rgba(165,155,214,.25); box-shadow: 0 -10px 40px rgba(0,0,0,.6); transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
#phonedemo .psheet.on { transform: none; }
#phonedemo .psheet .grab { width: 36px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); margin: 0 auto 10px; }
#phonedemo .psheet h6 { margin: 0 0 3px; font: 700 15px/1.2 var(--head); } #phonedemo .psheet .sub2 { margin: 0 0 10px; }
#phonedemo .share { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 4px; margin: 12px 0; }
#phonedemo .share button { background: none; border: 0; color: var(--ink); font: 500 9.5px/1.2 var(--body); cursor: pointer; display: grid; justify-items: center; gap: 5px; }
#phonedemo .share i { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font: 700 17px/1 var(--head); font-style: normal; color: #fff; }
#phonedemo .linkrow { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 13px; background: rgba(255,255,255,.06); font: 500 11px/1 var(--body); color: var(--gauge); }
#phonedemo .linkrow button { margin-left: auto; }
#phonedemo .chk { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(165,155,214,.5); flex: none; display: grid; place-items: center; font: 700 12px/1 var(--head); color: #04131a; }
#phonedemo .mem.on .chk { background: var(--gauge); border-color: var(--gauge); }
#phonedemo .mem.on .chk::after { content: "✓"; }
#phonedemo .prm .top .v.pend { color: #ffb238; text-shadow: 0 0 6px rgba(255,178,56,.5); }
#phonedemo .prm .top .v.pend::after { content: " unwritten"; font: 600 8px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: #ffb238; margin-left: 4px; }
#phonedemo .rdbtn { width: 24px; height: 24px; border-radius: 8px; border: 1px solid rgba(41,231,255,.35); background: rgba(41,231,255,.08); color: var(--gauge); cursor: pointer; font: 700 12px/1 var(--head); padding: 0; flex: none; margin-left: 4px; }
#phonedemo .disc { color: #ffb238 !important; border: 1px solid rgba(255,178,56,.55) !important; padding: 11px 10px; }

/* ---- leaderboards ---- */
#phonedemo #pd-sgmap { display: block; width: 100%; height: auto; aspect-ratio: 556 / 360; border-radius: 16px; margin-bottom: 10px; border: 1px solid rgba(165,155,214,.16); }
#phonedemo #pd-rseg { margin-bottom: 10px; }
#phonedemo .scope { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; margin-bottom: 6px; }
#phonedemo .scope::-webkit-scrollbar { display: none; }
#phonedemo .scope .chip { cursor: pointer; flex: none; }
#phonedemo .scope .chip.on { background: var(--gauge); color: #04131a; border-color: var(--gauge); box-shadow: 0 0 10px rgba(41,231,255,.4); }
#phonedemo .period { display: flex; gap: 5px; margin-bottom: 10px; }
#phonedemo .period .chip { cursor: pointer; } #phonedemo .period .chip.on { border-color: var(--trail); color: var(--trail-soft); }
#phonedemo .segrow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(165,155,214,.1); cursor: pointer; }
#phonedemo .segrow svg { flex: none; border-radius: 10px; background: #07031a; border: 1px solid rgba(165,155,214,.18); }
#phonedemo .segrow .t { flex: 1; min-width: 0; } #phonedemo .segrow .t b { display: block; font: 600 12.5px/1.2 var(--head); }
#phonedemo .segrow .t span { display: block; font: 500 10px/1.35 var(--body); color: var(--dim); }
#phonedemo .segrow .t .lead { color: #ffd84d; }
#phonedemo .myrank { font: 700 11px/1 var(--head); padding: 6px 8px; border-radius: 10px; background: rgba(41,231,255,.1); color: var(--gauge); white-space: nowrap; text-align: center; }
#phonedemo .myrank small { display: block; font: 500 8.5px/1.2 var(--body); color: var(--dim); margin-top: 2px; }
#phonedemo .myrank.pr { background: rgba(255,216,77,.14); color: #ffd84d; }
#phonedemo .lbl { display: flex; align-items: center; gap: 9px; padding: 7px 6px; border-top: 1px solid rgba(165,155,214,.1); cursor: pointer; border-radius: 10px; }
#phonedemo .lbl .pos { width: 20px; text-align: center; font: 700 12px/1 var(--head); color: var(--dim); flex: none; }
#phonedemo .lbl .pos.g1 { color: #ffd84d; text-shadow: 0 0 8px rgba(255,216,77,.6); } #phonedemo .lbl .pos.g2 { color: #e6e3f5; } #phonedemo .lbl .pos.g3 { color: #ff9a4d; }
#phonedemo .lbl .av { width: 28px; height: 28px; font-size: 11px; }
#phonedemo .lbl .t { flex: 1; min-width: 0; font: 600 12px/1.2 var(--head); } #phonedemo .lbl .t span { display: block; font: 500 9.5px/1.3 var(--body); color: var(--dim); }
#phonedemo .lbl .v { font: 700 12.5px/1 var(--head); font-variant-numeric: tabular-nums; }
#phonedemo .lbl.me { background: rgba(255,43,214,.12); border: 1px solid rgba(255,43,214,.45); }
#phonedemo .lbl.sel { background: rgba(41,231,255,.1); }
#phonedemo .cmp { padding: 12px; border-radius: 16px; border: 1px solid rgba(41,231,255,.4); background: rgba(41,231,255,.06); margin-bottom: 10px; }
#phonedemo .cmp h6 { margin: 0 0 8px; font: 700 13px/1.2 var(--head); display: flex; justify-content: space-between; }
#phonedemo .cmp h6 b { font-size: 13px; } #phonedemo .cmp h6 b.up { color: #7dffb0; } #phonedemo .cmp h6 b.down { color: #ff8a9a; }
#phonedemo .split { margin: 7px 0; font: 500 10px/1 var(--body); color: var(--dim); }
#phonedemo .split .bars { display: grid; gap: 3px; margin-top: 4px; }
#phonedemo .split .bars i { display: block; height: 7px; border-radius: 4px; }
#phonedemo .split .bars i.me { background: linear-gradient(90deg, #ff2bd6, #ff9cf4); } #phonedemo .split .bars i.th { background: linear-gradient(90deg, #29e7ff, #9af6ff); }
#phonedemo .split .row { display: flex; justify-content: space-between; }
#phonedemo .badges { display: flex; flex-wrap: wrap; gap: 5px; margin: -2px 0 8px; }
#phonedemo .badges span { font: 700 9px/1 var(--head); letter-spacing: .06em; padding: 5px 8px; border-radius: 999px; background: rgba(255,216,77,.14); color: #ffd84d; border: 1px solid rgba(255,216,77,.45); }
#phonedemo .badges span.rk { background: rgba(41,231,255,.1); color: var(--gauge); border-color: rgba(41,231,255,.45); }
#phonedemo .wk3 .lbl { cursor: default; }

/* ---- Lite: board, tune and talk are gone ---- */
#phonedemo .pd-wrap.lite .tabbar [data-v="board"], #phonedemo .pd-wrap.lite .tabbar [data-v="tune"], #phonedemo .pd-wrap.lite .ptabs [data-v="board"], #phonedemo .pd-wrap.lite .ptabs [data-v="tune"], #phonedemo .pd-wrap.lite .vesc, #phonedemo .pd-wrap.lite .morb { display: none !important; }
#phonedemo .pd-wrap.lite .tabbar { padding: 4px 40px 0; }
#phonedemo .litecard { display: none; border-color: rgba(41,231,255,.4); }
#phonedemo .pd-wrap.lite .litecard { display: block; }
#phonedemo .prm .top .tgl { margin-left: 6px; flex: none; }
#phonedemo .unw { font: 600 8px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: #ffb238; font-style: normal; }
#phonedemo #pd-quick .setrow { padding: 7px 0; border-top: 1px solid rgba(165,155,214,.1); }
#phonedemo #pd-quick .setrow small { max-width: 190px; }
#phonedemo #pd-tconf { z-index: 30; } #phonedemo #pd-tconf .box { border-color: rgba(255,59,92,.6); box-shadow: 0 0 30px rgba(255,59,92,.25), 0 20px 50px rgba(0,0,0,.6); }
#phonedemo #pd-tconf h6 small b { color: #ff8a9a; }
#phonedemo .mmb button.red { border-color: rgba(255,59,92,.7); background: rgba(255,59,92,.16); color: #ffb3c0; }
#phonedemo .danger { color: #ff8a9a !important; } #phonedemo .danger::before { content: "⚠ "; }
#phonedemo .posiwarn { display: none; margin-bottom: 10px; padding: 9px 11px; border-radius: 13px; background: rgba(255,59,92,.14); border: 1px solid rgba(255,59,92,.6); color: #ffb3c0; font: 600 10.5px/1.35 var(--head); box-shadow: 0 0 14px rgba(255,59,92,.25); }
#phonedemo .posiwarn.on { display: block; }
/* ---- REC chip ---- */
#phonedemo .mtop .srch { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#phonedemo .recchip { cursor: pointer; font-family: var(--head); background: rgba(40,4,12,.75); position: relative; overflow: hidden; touch-action: none; }
#phonedemo .recchip b { font-weight: 700; } #phonedemo .recchip .rkm { color: var(--ink); }
#phonedemo .recchip::after { content: ""; position: absolute; inset: 0; background: rgba(255,59,92,.35); transform: scaleX(0); transform-origin: left; pointer-events: none; }
#phonedemo .recchip.holding::after { transform: scaleX(1); transition: transform .45s linear; }
#phonedemo .recchip.paused { color: #ffd84d; border-color: rgba(255,216,77,.6); background: rgba(36,28,4,.8); }
#phonedemo .recchip.paused::before { background: #ffd84d; box-shadow: 0 0 6px #ffd84d; animation: none; }
#phonedemo .recchip.off { color: var(--dim); border-color: rgba(165,155,214,.35); background: rgba(8,3,24,.8); }
#phonedemo .recchip.off::before { background: #a59bd6; box-shadow: none; animation: none; }
#phonedemo .mtop .recchip { flex: none; height: 38px; padding: 0 11px; border-radius: 13px; }
#phonedemo .toast.act { pointer-events: auto; display: flex; align-items: center; gap: 10px; }
#phonedemo .toast .undo { border: 0; border-radius: 999px; padding: 6px 10px; background: var(--gauge); color: #04131a; font: 700 10px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
/* text beside the phone slides to fit each screen */
#phonedemo #pd-copy { overflow: hidden; transition: height .4s cubic-bezier(.2,.8,.2,1); }
#phonedemo #pd-copy.in > * { animation: pdcopyin .38s cubic-bezier(.2,.8,.2,1) both; }
#phonedemo #pd-copy.in > *:nth-child(2) { animation-delay: .03s; } #phonedemo #pd-copy.in > *:nth-child(3) { animation-delay: .06s; } #phonedemo #pd-copy.in > *:nth-child(n+4) { animation-delay: .09s; }
@keyframes pdcopyin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* ---- ride alerts ---- */
#phonedemo .alink { width: 100%; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font: 600 11px/1.5 var(--head); color: var(--dim); display: flex; justify-content: space-between; white-space: nowrap; }
#phonedemo .alink:hover b { text-decoration: underline; }
#phonedemo .asheet .card { margin-bottom: 8px; } #phonedemo .asheet .prm .top { font-size: 12.5px; }
#phonedemo .alnote { display: block; width: 100%; text-align: left; margin-top: 8px; padding: 9px 10px; border-radius: 11px; border: 1px dashed rgba(255,156,244,.45); background: rgba(255,43,214,.06); color: var(--trail-soft); font: 500 10.5px/1.35 var(--body); cursor: pointer; }
#phonedemo .seg3.four { grid-template-columns: repeat(4, 1fr); }
#phonedemo .snds { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 4px; }
#phonedemo .snd { padding: 7px 9px; border-radius: 999px; border: 1px solid rgba(165,155,214,.3); background: rgba(255,255,255,.05); color: var(--ink); font: 600 10px/1 var(--head); cursor: pointer; }
#phonedemo .snd.on { border-color: var(--gauge); background: rgba(41,231,255,.14); color: var(--gauge); box-shadow: 0 0 8px rgba(41,231,255,.3); }
#phonedemo #pd-snd2 .snd.on { border-color: #ff3b5c; background: rgba(255,59,92,.14); color: #ffb3c0; box-shadow: 0 0 8px rgba(255,59,92,.3); }
#phonedemo .hpdev { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin: 2px 0 6px; border-radius: 13px; border: 1px solid rgba(125,255,176,.4); background: rgba(125,255,176,.07); color: var(--ink); cursor: pointer; text-align: left; }
#phonedemo .hpdev svg { width: 22px; height: 22px; fill: none; stroke: #7dffb0; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; filter: drop-shadow(0 0 4px rgba(125,255,176,.6)); }
#phonedemo .hpdev .t { flex: 1; } #phonedemo .hpdev b { display: block; font: 600 12.5px/1.2 var(--head); } #phonedemo .hpdev small { display: block; font: 500 10px/1.3 var(--body); color: var(--dim); }
#phonedemo .cdot2 { width: 8px; height: 8px; border-radius: 50%; background: #7dffb0; box-shadow: 0 0 8px #7dffb0; flex: none; }
#phonedemo .hpdev.off { border-color: rgba(255,216,77,.45); background: rgba(255,216,77,.06); } #phonedemo .hpdev.off svg { stroke: var(--dim); filter: none; } #phonedemo .hpdev.off .cdot2 { background: #ffd84d; box-shadow: none; }
#phonedemo .hpdev .to { font: 700 8.5px/1 var(--head) !important; letter-spacing: .12em; text-transform: uppercase; color: #7dffb0 !important; margin-bottom: 3px; }
#phonedemo .hpdev b { font-size: 14px !important; }
#phonedemo .hpdev.off .to { color: #ffd84d !important; }
#phonedemo .hpchip { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer; margin-left: auto; margin-right: 6px; border: 1px solid rgba(125,255,176,.5); background: rgba(125,255,176,.1); }
#phonedemo .hpchip svg { width: 16px; height: 16px; fill: none; stroke: #7dffb0; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(125,255,176,.7)); }
#phonedemo .hpchip.off { border-color: rgba(165,155,214,.35); background: rgba(255,255,255,.05); } #phonedemo .hpchip.off svg { stroke: var(--dim); filter: none; }
#phonedemo .pd-wrap.lite .hpchip { display: none; }
#phonedemo .hlchip { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer; margin-left: auto; margin-right: 6px; border: 1px solid rgba(165,155,214,.35); background: rgba(255,255,255,.05); transition: .2s; }
#phonedemo .hlchip svg { width: 17px; height: 17px; fill: none; stroke: var(--dim); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#phonedemo .hlchip.on { border-color: rgba(255,255,255,.85); background: rgba(255,255,255,.16); box-shadow: 0 0 12px rgba(255,255,255,.55), 0 0 26px rgba(200,240,255,.25); }
#phonedemo .hlchip.on svg { stroke: #fff; filter: drop-shadow(0 0 4px #fff); }
#phonedemo .hlchip + .hpchip { margin-left: 0; }
#phonedemo .pd-wrap.lite .hlchip { display: none; }
#phonedemo .opts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
#phonedemo .opts button { padding: 6px 9px; border-radius: 999px; border: 1px solid rgba(165,155,214,.28); background: rgba(255,255,255,.05); color: var(--ink); font: 600 10px/1 var(--head); cursor: pointer; }
#phonedemo .opts button.on { border-color: var(--gauge); background: rgba(41,231,255,.14); color: var(--gauge); }
@media (prefers-reduced-motion: reduce) { #phonedemo .sheet, #phonedemo .tabbar, #phonedemo .layers, #phonedemo .photo, #phonedemo .psheet, #phonedemo .msheet, #phonedemo #pd-copy { transition: none; } #phonedemo #pd-copy.in > * { animation: none; } }
