/* Rowing Pals — phone UI mockups.
   Shared by the website (marketing/website) and the App Store artwork (marketing/app-store).
   Values follow the app's DesignSystem/Tokens.swift (dark palette): solid colours only (decision 100),
   grouped cards with 12 pt corners and a hairline edge (decision 99), 18 pt on the Feed (decision 101). */

:root {
  --base: #101114;
  --card: #1B1C21;
  --raised: #292C34;
  --line: #464A56;
  --edge: rgba(70, 74, 86, .7);
  --ink: #F7F8FC;
  --ink2: #BBC0CE;
  --ink3: #A3ABBA;
  --brand: #91B8FF;
  --brand-soft: rgba(145, 184, 255, .16);
  --on-brand: #0B1A35;
  --records: #C6ADFF;
  --records-soft: rgba(198, 173, 255, .14);
  --rank: #EFC37C;
  --success: #78D7AC;
  --error: #FF766F;
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
}

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ---------- Device ---------- */
.phone {
  position: relative;
  width: 390px;
  height: 844px;
  border-radius: 62px;
  padding: 12px;
  background: #1A1B20;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .16),
    inset 0 0 0 5px #0B0C0E,
    0 40px 90px -20px rgba(0, 0, 0, .8);
  flex: none;
}
.phone::before, .phone::after { content: ""; position: absolute; width: 4px; border-radius: 2px; background: #2A2C33; }
.phone::before { left: -3px; top: 170px; height: 64px; box-shadow: 0 84px 0 #2A2C33; }
.phone::after { right: -3px; top: 220px; height: 96px; }

.rp-screen {
  position: relative; width: 100%; height: 100%; border-radius: 50px; overflow: hidden;
  background: var(--base); color: var(--ink); font-family: var(--sys); font-size: 15px; line-height: 1.3;
  -webkit-font-smoothing: antialiased; text-align: left;
}
.rp-island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 122px; height: 35px; border-radius: 20px; background: #000; z-index: 30; }
.rp-sb { position: absolute; top: 0; left: 0; right: 0; height: 54px; z-index: 25; display: flex; justify-content: space-between; align-items: center; padding: 6px 34px 0 46px; font-weight: 600; font-size: 16px; }
.rp-sb-r { display: flex; gap: 6px; align-items: center; }
.rp-sb-r svg { height: 12px; fill: currentColor; }
.rp-body { position: absolute; inset: 0; padding: 58px 16px 110px; overflow: hidden; }

.ico { display: inline-block; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

/* ---------- Headers ---------- */
.rp-title { font-size: 34px; font-weight: 700; margin: 6px 0 12px; }
.rp-title-row { display: flex; align-items: center; justify-content: space-between; }
.rp-nav { display: flex; align-items: center; justify-content: space-between; height: 44px; margin-bottom: 8px; }
.rp-nav b { font-size: 17px; font-weight: 600; }
.rp-nav span { color: var(--brand); font-size: 17px; font-weight: 600; min-width: 44px; text-align: right; }
.rp-nav .back { text-align: left; color: var(--ink); }
.rp-section { font-size: 13px; font-weight: 600; color: var(--ink2); margin: 16px 16px 6px; }

/* ---------- Glass: darkened edge, specular top rim ---------- */
.rp-glass {
  background: rgba(58, 62, 74, .62);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .22), inset 0 0 0 .5px rgba(255, 255, 255, .16), 0 7px 22px rgba(0, 0, 0, .3);
}
@media (prefers-reduced-transparency: reduce) { .rp-glass { background: #33363F; -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- Segmented control: compact track with small corners ---------- */
.rp-seg { display: flex; padding: 2px; border-radius: 10px; background: rgba(58, 62, 74, .42); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 .5px rgba(255, 255, 255, .12); }
.rp-seg span { flex: 1; text-align: center; padding: 8px 6px; font-size: 13px; font-weight: 600; color: var(--ink2); border-radius: 8px; white-space: nowrap; }
.rp-seg span.on { color: var(--ink); background: rgba(92, 98, 114, .6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 2px 4px rgba(0, 0, 0, .18); }
.rp-seg.feed { border-radius: 15px; }
.rp-seg.feed span { border-radius: 12px; }

/* ---------- Chips and small pills stay capsules ---------- */
.rp-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--raised); color: var(--ink2); white-space: nowrap; }
.rp-chip.brand { background: var(--brand-soft); color: var(--brand); }
.rp-chip.ok { background: rgba(120, 215, 172, .15); color: var(--success); }
.rp-chip.warn { background: rgba(255, 118, 111, .15); color: var(--error); }
.rp-pill { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(58, 62, 74, .42); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 .5px rgba(255, 255, 255, .12); white-space: nowrap; }
.rp-round { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; }

/* ---------- Avatars: solid raised (decision 100) ---------- */
.rp-av { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--raised); box-shadow: inset 0 0 0 .5px var(--edge); }
.rp-av.lg { width: 41px; height: 41px; font-size: 14px; }
.rp-tick { color: var(--brand); margin-left: 3px; vertical-align: -2px; }

/* ---------- Grouped card ---------- */
.rp-group { background: var(--card); border-radius: 12px; box-shadow: inset 0 0 0 .5px var(--edge); overflow: hidden; }
.rp-group + .rp-group { margin-top: 10px; }
.rp-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 16px; font-size: 15px; }
.rp-row + .rp-row::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: .5px; background: var(--line); }
.rp-row .val { color: var(--ink2); font-weight: 500; white-space: nowrap; }
.rp-link { color: var(--brand); font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.rp-switch { width: 46px; height: 28px; border-radius: 14px; background: var(--brand); position: relative; flex: none; }
.rp-switch::after { content: ""; position: absolute; right: 2px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; }
.rp-btn { display: block; text-align: center; height: 44px; line-height: 44px; border-radius: 12px; font-weight: 600; font-size: 15px; background: rgba(58, 62, 74, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 .5px rgba(255, 255, 255, .12); }
.rp-btn.primary { height: 46px; line-height: 46px; background: var(--brand); color: var(--on-brand); box-shadow: none; }

/* ---------- Feed post ---------- */
.rp-card { position: relative; background: var(--card); border-radius: 18px; padding: 14px; box-shadow: inset 0 0 0 .5px var(--edge); margin-bottom: 12px; }
.rp-card.pb { box-shadow: 0 0 0 1.5px var(--records), 0 0 22px rgba(198, 173, 255, .45); }
.rp-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rp-card-head .who { flex: 1; min-width: 0; }
.rp-card-head .name { font-weight: 600; font-size: 15px; }
.rp-card-head .sub { font-size: 13px; color: var(--ink2); }
.rp-card-head .when { font-size: 12px; color: var(--ink3); }
.rp-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; background: #24262C; }
.rp-selfie { position: absolute; top: 8px; right: 8px; width: 27%; height: 37%; border-radius: 12px; background: #1E2A44 center / cover no-repeat; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85), 0 5px 7px rgba(0, 0, 0, .33); z-index: 3; }
.rp-metrics { display: flex; gap: 8px; margin-top: 12px; }
.rp-metrics div { flex: 1; min-width: 0; }
.rp-metrics i { display: block; font-style: normal; font-size: 12px; font-weight: 500; color: var(--ink2); margin-bottom: 3px; }
.rp-metrics b { font-size: 20px; font-weight: 700; white-space: nowrap; }
.rp-with { margin-top: 8px; font-size: 13px; color: var(--ink2); }
.rp-with b { color: var(--brand); font-weight: 600; }
.rp-worklink { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 12px 14px; border-radius: 15px; background: var(--raised); box-shadow: inset 0 0 0 .5px var(--line); }
.rp-worklink b { display: block; font-size: 15px; font-weight: 600; }
.rp-worklink span { font-size: 12px; color: var(--ink2); }
.rp-actions { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 8px; border-top: .5px solid var(--line); }
.rp-actions .grow { flex: 1; }
.rp-pbflag { position: absolute; left: 8px; top: 8px; z-index: 4; padding: 5px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; color: #1D1530; background: var(--records); box-shadow: 0 0 14px rgba(198, 173, 255, .6); }

/* Feed cards: challenge, boat, coach scores, announcement */
.rp-fc { background: var(--card); border-radius: 18px; padding: 14px; box-shadow: inset 0 0 0 .5px var(--edge); margin-bottom: 10px; }
.rp-kicker { font-size: 12px; font-weight: 600; color: var(--brand); }
.rp-kicker.up { text-transform: uppercase; letter-spacing: .03em; }
.rp-fc h4 { margin: 3px 0 3px; font-size: 20px; font-weight: 600; }
.rp-fc p { margin: 0; font-size: 13px; color: var(--ink2); }
.rp-track { height: 6px; border-radius: 3px; background: var(--raised); margin-top: 8px; overflow: hidden; }
.rp-track i { display: block; height: 100%; border-radius: 3px; background: var(--brand); }
.rp-track i.done { background: var(--success); }
.rp-ann { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 15px; padding: 11px 14px; box-shadow: inset 0 0 0 .5px var(--edge); margin-bottom: 10px; color: var(--brand); }
.rp-ann b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.rp-ann span { font-size: 12px; color: var(--ink2); }
.rp-ends { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--ink2); letter-spacing: .05em; margin: 8px 0 0; }
.rp-boat-svg { display: block; width: 100%; height: auto; margin: 0 auto; }
.rp-bn { font: 600 13px var(--sys); fill: var(--ink); text-anchor: middle; }
.rp-bn.mine { fill: var(--brand); font-weight: 700; }
.rp-br { font: 400 11px var(--sys); fill: var(--ink2); text-anchor: middle; }
.rp-bm { font: 700 9.5px var(--sys); text-anchor: middle; dominant-baseline: central; }

/* ---------- PM5 monitor (the "photo") ---------- */
.pm5 {
  position: absolute; left: 38%; top: 50%; transform: translate(-50%, -50%) rotate(-3deg);
  height: 92%; aspect-ratio: 1 / 1.02; border-radius: 8%; padding: 6.5%; background: #17181C;
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .12), 0 12px 26px rgba(0, 0, 0, .55); container-type: inline-size;
}
.pm5-brand { font: 700 4.4cqi/1 var(--sys); letter-spacing: .25em; color: #8B9099; text-align: center; margin-bottom: 3.5cqi; }
.pm5-lcd { position: relative; border-radius: 3cqi; padding: 4.5cqi 6cqi; overflow: hidden; background: #B4C0A8; color: #1D241B; font-family: "Share Tech Mono", ui-monospace, Menlo, monospace; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .3); }
.pm5-row { display: flex; justify-content: space-between; }
.pm5-row span { font-size: 4.6cqi; opacity: .7; }
.pm5-row b { font-weight: 400; }
.pm5-big { gap: 3cqi; }
.pm5-big b { font-size: 11cqi; line-height: 1.1; }
.pm5-mid b { font-size: 10cqi; line-height: 1.1; }
.pm5-table { margin-top: 2.5cqi; border-top: .5cqi solid rgba(29, 36, 27, .4); padding-top: 2cqi; }
.pm5-table div { display: flex; justify-content: space-between; font-size: 5cqi; line-height: 1.35; }
.pm5-btns { display: flex; justify-content: space-between; margin-top: 4cqi; padding: 0 3cqi; }
.pm5-btns i { width: 9cqi; height: 4cqi; border-radius: 2cqi; background: #3A3D44; }
[data-ocr] { position: relative; }
.ocr-on [data-ocr]::before { content: ""; position: absolute; inset: -.6cqi -1.2cqi; border-radius: 1.2cqi; border: .6cqi solid var(--brand); background: rgba(145, 184, 255, .2); animation: ocrBox .5s ease both; animation-delay: var(--d, 0s); }
@keyframes ocrBox { from { opacity: 0; transform: scale(1.3); } to { opacity: 1; transform: none; } }

/* ---------- Tab bar: floats, 62 pt tall, 8 pt to the + / Log ---------- */
.rp-tabs { position: absolute; left: 14px; right: 14px; bottom: 24px; display: flex; gap: 8px; align-items: center; z-index: 20; }
.rp-tabpill { flex: 1; height: 62px; border-radius: 999px; display: flex; align-items: center; justify-content: space-around; padding: 0 4px; }
.rp-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; font-weight: 600; color: var(--ink2); padding: 6px 7px; border-radius: 999px; }
.rp-tab.on { color: var(--brand); background: rgba(145, 184, 255, .12); }
.rp-log { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 22px rgba(145, 184, 255, .35); }

/* ---------- Rankings ---------- */
.rp-filter { display: flex; align-items: center; justify-content: space-between; margin: 10px 0; font-size: 13px; color: var(--ink2); }
.rp-hero { border-radius: 12px; padding: 14px 16px; margin: 10px 0; background: #221F2C; box-shadow: inset 0 0 0 .5px rgba(198, 173, 255, .35); }
.rp-hero .ov { font-size: 12px; font-weight: 600; color: var(--records); }
.rp-hero .big { font-size: 34px; font-weight: 700; margin: 4px 0 2px; }
.rp-hero .big small { font-size: 20px; font-weight: 600; }
.rp-hero .sen { font-size: 15px; }
.rp-hero .lead { font-size: 12px; color: var(--ink2); margin-top: 4px; }
.rp-lb { display: flex; align-items: center; gap: 10px; }
.rp-lb .pos { width: 20px; text-align: center; font-weight: 700; font-size: 16px; color: var(--ink2); }
.rp-lb.first .pos, .rp-lb.first .m { color: var(--rank); }
.rp-lb .who { flex: 1; min-width: 0; }
.rp-lb .who b { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-lb .who span { font-size: 12px; color: var(--ink2); }
.rp-lb .m { font-weight: 700; font-size: 16px; text-align: right; }
.rp-lb .m span { display: block; font-size: 12px; font-weight: 500; color: var(--ink2); }
.rp-move { color: var(--rank); font-size: 11px; font-weight: 700; margin-left: 4px; }

/* ---------- Capture ---------- */
.rp-frame { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: #24262C; }
.rp-frame .pm5 { left: 42%; top: 64%; height: 54%; }
.rp-corners { position: absolute; inset: 34% 6% 6%; z-index: 3; pointer-events: none; }
.rp-corners i { position: absolute; width: 30px; height: 30px; border: 3px solid rgba(255, 255, 255, .9); }
.rp-corners i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.rp-corners i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.rp-corners i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.rp-corners i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.rp-shutter { width: 74px; height: 74px; border-radius: 50%; margin: 14px auto 8px; display: grid; place-items: center; }
.rp-shutter i { width: 58px; height: 58px; border-radius: 50%; background: var(--ink); }
.rp-hint { font-size: 13px; color: var(--ink2); text-align: center; }

/* ---------- Review ---------- */
.rp-piece-row { display: flex; align-items: center; gap: 10px; }
.rp-piece-row .tag { width: 68px; font-size: 13px; font-weight: 600; }
.rp-piece-row .tag.main { color: var(--brand); }
.rp-piece-row .nums { flex: 1; display: grid; grid-template-columns: 1fr 1fr .9fr .4fr; gap: 4px; font-size: 13.5px; font-weight: 600; }
.rp-piece-row .low { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rp-detect { border-radius: 12px; padding: 12px 16px; margin: 10px 0; background: #1D2432; box-shadow: inset 0 0 0 .5px rgba(145, 184, 255, .4); }
.rp-detect b { display: block; font-size: 15px; font-weight: 600; }
.rp-detect p { margin: 2px 0 10px; font-size: 13px; color: var(--ink2); }
.rp-detect .btns { display: flex; gap: 8px; }
.rp-detect .rp-btn { flex: 1; }
.rp-detect .rp-btn.primary { height: 44px; line-height: 44px; }

/* ---------- Profile ---------- */
.rp-prof { text-align: center; margin: 6px 0 12px; }
.rp-prof .rp-av { width: 76px; height: 76px; font-size: 26px; margin: 0 auto 8px; }
.rp-prof b { display: block; font-size: 22px; font-weight: 700; }
.rp-prof span { font-size: 13px; color: var(--ink2); }
.rp-stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 12px 4px; }
.rp-stats b { display: block; font-size: 20px; font-weight: 700; }
.rp-stats span { font-size: 11px; color: var(--ink2); }
.rp-pred { padding: 14px 16px; }
.rp-pred .t { font-size: 13px; font-weight: 600; color: var(--ink2); }
.rp-pred .n { font-size: 34px; font-weight: 700; color: var(--records); margin: 2px 0; }
.rp-pred .n small { font-size: 15px; font-weight: 600; color: var(--ink2); }
.rp-pred .s { font-size: 13px; color: var(--ink2); }
.rp-pbgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rp-pbtile { background: var(--card); border-radius: 10px; padding: 10px 12px; box-shadow: inset 0 0 0 .5px var(--edge); }
.rp-pbtile .d { font-size: 12px; color: var(--ink2); font-weight: 600; }
.rp-pbtile .t { font-size: 18px; font-weight: 700; color: var(--records); }
.rp-pbtile.new { box-shadow: 0 0 0 1.5px var(--records), 0 0 14px rgba(198, 173, 255, .35); }

/* ---------- Coach ---------- */
.rp-rower { background: var(--card); border-radius: 12px; padding: 12px 14px; box-shadow: inset 0 0 0 .5px var(--edge); margin-bottom: 8px; }
.rp-rower .top { display: flex; align-items: center; gap: 10px; }
.rp-rower .who { flex: 1; min-width: 0; }
.rp-rower .who b { display: block; font-weight: 600; font-size: 15px; }
.rp-rower .who span, .rp-rower .att { font-size: 12px; color: var(--ink2); }
.rp-rower .line { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink2); margin-top: 8px; }
.rp-rower .line b { color: var(--ink); font-weight: 600; }
.rp-rower .line .pre b { color: var(--records); }
.rp-rower .flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rp-track.behind i { background: var(--error); }
.rp-wk { padding: 12px 16px; }
.rp-wk .kick { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink2); }
.rp-wk .t { font-weight: 600; font-size: 20px; margin: 4px 0 2px; }
.rp-wk .m { font-size: 13px; color: var(--ink2); }
.rp-boatcard { padding: 12px 14px 6px; }
.rp-boatcard .h { display: flex; justify-content: space-between; align-items: center; }
.rp-boatcard b { font-size: 15px; font-weight: 600; }
.rp-boatcard .m { font-size: 12px; color: var(--ink2); margin-top: 1px; }
.rp-cal { padding: 12px; }
.rp-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; text-align: center; }
.rp-cal-grid .h { font-size: 11px; color: var(--ink2); font-weight: 600; padding-bottom: 3px; }
.rp-cal-grid .d { position: relative; font-size: 14px; padding: 5px 0 9px; border-radius: 8px; }
.rp-cal-grid .d.mute { color: #5D6270; }
.rp-cal-grid .d.today { background: var(--brand); color: var(--on-brand); font-weight: 700; }
.rp-cal-grid .d .dots { position: absolute; left: 0; right: 0; bottom: 3px; display: flex; justify-content: center; gap: 3px; }
.rp-cal-grid .d .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }
.rp-cal-grid .d .dots i.r { background: var(--ink2); }
.rp-cal-grid .d.today .dots i { background: var(--on-brand); }
.rp-counts { display: flex; gap: 8px; margin-top: 8px; }
.rp-counts div { flex: 1; background: var(--raised); border-radius: 10px; padding: 7px 10px; }
.rp-counts b { font-size: 18px; display: block; }
.rp-counts span { font-size: 11px; color: var(--ink2); }

/* Notepad */
.rp-np { display: grid; grid-template-columns: 20px 58px 30px repeat(4, 1fr); align-items: center; padding: 0 6px; }
.rp-np .hd { font-size: 11px; font-weight: 600; color: var(--ink2); padding: 4px 2px 6px; text-align: center; }
.rp-np .hd.l { text-align: left; }
.rp-np .c { display: flex; align-items: center; min-height: 48px; border-top: .5px solid var(--edge); font-size: 14px; }
.rp-np .c.n { color: var(--ink3); font-size: 12px; justify-content: center; }
.rp-np .c.who { font-weight: 600; }
.rp-np .c.cam { color: var(--brand); justify-content: center; }
.rp-np .c.sc { justify-content: center; }
.rp-score { position: relative; width: 94%; text-align: center; padding: 9px 0; border-radius: 10px; background: var(--raised); font-size: 13px; font-weight: 600; }
.rp-score.empty { color: var(--ink3); font-weight: 500; background: none; box-shadow: inset 0 0 0 .5px var(--edge); }
.rp-score.sel { box-shadow: 0 0 0 2px var(--brand); }
.rp-score.post::after { content: ""; position: absolute; top: 4px; right: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.phone.on .rp-score.scan { animation: scoreIn .45s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: var(--d, 0s); }
@keyframes scoreIn { from { opacity: 0; transform: scale(.7); background: var(--brand); } }
.rp-legend { font-size: 11px; color: var(--ink2); padding: 8px 12px; border-top: .5px solid var(--edge); display: flex; align-items: center; gap: 5px; }
.rp-legend i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.phone.on .bn-in, .in .bn-in { animation: seatIn .45s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: var(--d, 0s); }
@keyframes seatIn { from { opacity: 0; transform: translateY(8px); } }
