/* rc-phone-core.css — device + Now-feed anatomy, tokens from clubdash Theme.swift (2026-08-30).
   Byte-identical copies in both estates; checkPhoneCore pins them together. */
.rcph-mount{position:relative;display:block;width:100%;aspect-ratio:400/940;overflow:visible}
.rcph-mount.pd-ready{aspect-ratio:auto}
.rcph-head{max-width:min(340px,100%);margin:0 auto;padding:0 6px 10px;display:flex;align-items:center;justify-content:space-between}
.rcph-scene{border:1px solid rgba(60,40,20,.18);background:transparent;border-radius:999px;font:700 12px/1 inherit;color:inherit;padding:7px 12px;cursor:pointer}
.rcph-scene:focus-visible,.rcph-glyph:focus-visible,.rcph-tab:focus-visible{outline:2px solid #B84C27;outline-offset:2px}
.rcph-sample{font:600 10.5px/1 ui-monospace,Menlo,monospace;letter-spacing:.08em;text-transform:uppercase;opacity:.75}
.rcph-device{width:min(340px,100%);aspect-ratio:393/852;margin:0 auto;border-radius:clamp(38px,13.5%,54px);padding:9px;background:linear-gradient(160deg,#3a3441,#171219);box-shadow:0 24px 60px rgba(20,10,4,.35),inset 0 0 0 1.5px rgba(255,255,255,.08)}
.rcph-scr{height:100%;border-radius:clamp(30px,11.5%,46px);display:flex;flex-direction:column;overflow:hidden;position:relative;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
.rcph-scr.n{background:linear-gradient(#221610,#191009);color:#F6E9D4}
.rcph-scr.d{background:linear-gradient(#F6EEE1,#EFE1CB);color:#2C2016}
.rcph-sbar{flex:none;display:flex;align-items:center;justify-content:space-between;padding:12px 20px 4px}
.rcph-time{font-size:13px;font-weight:700;min-width:42px}
.rcph-island{width:34%;height:20px;border-radius:999px;background:#000;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.rcph-sic{display:inline-flex;gap:5px;align-items:center;min-width:42px;justify-content:flex-end}
.rcph-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:6px 13px;display:flex;flex-direction:column;gap:8px;scrollbar-width:none}
.rcph-body::-webkit-scrollbar{display:none}
/* greet — serif, two lines, glyph circles */
.rcph-greet1{font-family:Georgia,"Times New Roman",serif;font-size:17px;font-weight:600;letter-spacing:-.01em}
.rcph-scr.n .rcph-greet1{color:#CBB08C}.rcph-scr.d .rcph-greet1{color:#6C5540}
.rcph-greet2row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.rcph-greet2{font-family:Georgia,"Times New Roman",serif;font-size:19px;font-weight:700;letter-spacing:-.01em}
.rcph-glyphs{display:flex;gap:7px}
.rcph-glyph{width:32px;height:32px;border-radius:50%;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center}
.rcph-scr.n .rcph-glyph{background:#251811;color:#FF8A4A}
.rcph-scr.d .rcph-glyph{background:#FCF6EA;color:#B84C27}
.rcph-status{display:flex}
.rcph-friendchip{font:600 10.5px/1 ui-monospace,Menlo,monospace;border-radius:999px;padding:5px 9px}
.rcph-scr.n .rcph-friendchip{background:rgba(255,138,74,.13);color:#FFB080}
.rcph-scr.d .rcph-friendchip{background:rgba(184,76,39,.10);color:#9A3F1F}
/* intent rail — the header's one loud control */
.rcph-intents,.rcph-refine{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;flex:none;padding:2px 0}
.rcph-intents::-webkit-scrollbar,.rcph-refine::-webkit-scrollbar{display:none}
.rcph-intent{flex:none;font-size:11px;font-weight:700;border-radius:999px;padding:7px 11px}
.rcph-scr.n .rcph-intent{background:#251811;color:#F6E9D4}
.rcph-scr.d .rcph-intent{background:#FCF6EA;color:#2C2016}
.rcph-scr.n .rcph-intent.on{background:#FF8A4A;color:#2A1305;box-shadow:0 2px 6px rgba(255,138,74,.22)}
.rcph-scr.d .rcph-intent.on{background:#B84C27;color:#FCF6EA;box-shadow:0 2px 6px rgba(184,76,39,.22)}
.rcph-chip{flex:none;font-size:10px;font-weight:600;border-radius:999px;padding:5px 9px;border:1px solid}
.rcph-scr.n .rcph-chip{border-color:rgba(255,190,120,.16);background:#251811;color:#F6E9D4}
.rcph-scr.d .rcph-chip{border-color:rgba(60,40,20,.15);background:#FCF6EA;color:#2C2016}
/* shelf headers — serif-for-moments */
.rcph-shelf{display:flex;align-items:baseline;justify-content:space-between;margin-top:4px}
.rcph-shelftitle{font-family:Georgia,"Times New Roman",serif;font-size:16px;font-weight:700}
.rcph-shelfdetail{font:600 8.5px/1 ui-monospace,Menlo,monospace;letter-spacing:.08em;opacity:.65}
/* hero card */
.rcph-hero{flex:none;border-radius:20px;overflow:hidden}
.rcph-scr.n .rcph-hero{background:#251811}.rcph-scr.d .rcph-hero{background:#FCF6EA}
.rcph-art{position:relative;height:150px}
.rcph-livebadge{position:absolute;left:10px;top:10px;display:inline-flex;align-items:center;gap:4px;
  font:700 8.5px/1 ui-monospace,Menlo,monospace;letter-spacing:.07em;color:#2A1305;
  background:linear-gradient(180deg,#F0B45C,#FF8A4A);border-radius:999px;padding:4px 8px;box-shadow:0 0 7px rgba(255,138,74,.5)}
.rcph-dot{width:5px;height:5px;border-radius:50%;background:#2A1305;display:inline-block}
.rcph-livebadge .rcph-dot{background:#2A1305}
.rcph-listed{position:absolute;left:10px;top:10px;font:700 8.5px/1 ui-monospace,Menlo,monospace;letter-spacing:.1em;color:#FFEBD2;background:rgba(20,10,4,.5);border-radius:999px;padding:4px 8px}
.rcph-listed.sm{left:8px;top:8px;font-size:7.5px;padding:3px 6px}
.rcph-hours{position:absolute;right:10px;top:10px;font-size:9.5px;font-weight:700;color:#FFEBD2;background:rgba(20,10,4,.5);border-radius:999px;padding:4px 8px}
.rcph-hours.is-closed{background:transparent;border:1px dashed rgba(255,235,210,.45)}
.rcph-hours.sm{right:8px;top:8px;font-size:8px;padding:3px 6px}
.rcph-scrim{position:absolute;inset:auto 0 0 0;padding:26px 12px 10px;background:linear-gradient(transparent,rgba(0,0,0,.68))}
.rcph-namerow{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.rcph-name{font-family:Georgia,"Times New Roman",serif;font-size:17px;color:#fff;letter-spacing:-.01em}
.rcph-dist{font-size:10px;color:rgba(255,255,255,.78)}
.rcph-meta{font-size:10.5px;color:rgba(255,255,255,.82);margin-top:1px}
.rcph-facts{display:flex;align-items:center;gap:8px;padding:8px 12px 10px}
.rcph-meter{flex:0 1 110px;height:6px;border-radius:999px;background:rgba(128,100,70,.25);overflow:hidden}
.rcph-meter i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#BB8646,#F49352)}
.rcph-friends{font-size:9.5px;opacity:.75}
.rcph-why{font-size:9.5px;line-height:1.45;opacity:.6}
/* ranked rows */
.rcph-row{flex:none;border-radius:12px;overflow:hidden}
.rcph-scr.n .rcph-row{background:#251811}.rcph-scr.d .rcph-row{background:#FCF6EA}
.rcph-rowart{position:relative;height:84px}
.rcph-rowname{position:absolute;left:10px;bottom:8px;font-family:Georgia,"Times New Roman",serif;font-size:13px;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.rcph-rowtxt{padding:7px 10px 9px;display:flex;flex-direction:column;gap:3px}
.rcph-rowmeta{display:flex;align-items:center;justify-content:space-between;font-size:9.5px;font-weight:600}
.rcph-scr.n .rcph-rowmeta{color:#CBB08C}.rcph-scr.d .rcph-rowmeta{color:#6C5540}
.rcph-dealbolt{color:#18C29C;font-size:10px}
.rcph-rowlive{display:flex;align-items:center;gap:5px;font-size:9.5px}
.rcph-rowlive b{font-weight:700}
.rcph-dot.ring{width:6px;height:6px;background:#F49352;box-shadow:0 0 0 2px rgba(244,147,82,.3)}
.rcph-rowdeal{font-size:9px;font-weight:700;color:#08312A;background:#18C29C;border-radius:999px;padding:2px 7px;align-self:flex-start}
.rcph-ticker{text-align:center;font:600 8px/1 ui-monospace,Menlo,monospace;letter-spacing:.08em;opacity:.5;padding:4px 0 2px}
/* crew / profile rows */
.rcph-crewrow{flex:none;display:flex;align-items:center;gap:9px;border-radius:12px;padding:9px 11px}
.rcph-scr.n .rcph-crewrow{background:#251811}.rcph-scr.d .rcph-crewrow{background:#FCF6EA}
.rcph-av{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;flex:none}
.rcph-scr.n .rcph-av{background:#2E1E14;color:#F0B45C}.rcph-scr.d .rcph-av{background:#F3E8D4;color:#B84C27}
.rcph-crewrow b{display:block;font-size:12px}
.rcph-crewrow span{font-size:9.5px;opacity:.65}
.rcph-tail{margin-left:auto;font:700 8.5px/1 ui-monospace,Menlo,monospace;letter-spacing:.06em;text-transform:uppercase}
.rcph-scr.n .rcph-tail{color:#FFB080}.rcph-scr.d .rcph-tail{color:#9A3F1F}
/* tab bar */
.rcph-tabs{flex:none;display:flex;justify-content:space-around;padding:7px 4px 2px;border-top:1px solid}
.rcph-scr.n .rcph-tabs{border-top-color:rgba(255,190,120,.16);background:rgba(25,16,9,.92)}
.rcph-scr.d .rcph-tabs{border-top-color:rgba(60,40,20,.15);background:rgba(246,238,225,.92)}
.rcph-tab{position:relative;border:0;background:none;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px;font:700 9px/1 inherit;padding:3px 8px;border-radius:8px}
.rcph-scr.n .rcph-tab{color:#9A805F}.rcph-scr.d .rcph-tab{color:#756244}
.rcph-scr.n .rcph-tab.on{color:#FF8A4A}.rcph-scr.d .rcph-tab.on{color:#B84C27}
.rcph-tab[disabled]{cursor:default;opacity:.55}
.rcph-badge{position:absolute;top:-2px;right:2px;width:13px;height:13px;border-radius:50%;background:#FF3B30;color:#fff;font:700 8px/13px inherit;text-align:center;font-style:normal}
.rcph-home{flex:none;width:36%;height:5px;border-radius:999px;margin:5px auto 8px}
.rcph-scr.n .rcph-home{background:#4a4454}.rcph-scr.d .rcph-home{background:#cbbb9e}
@media (max-width:560px){ .rcph-device{width:min(300px,94%)} .rcph-head{max-width:min(300px,94%)} }
/* #460 — the collapsed surface (merged 2026-08-30): sticky zone; opaque wash-top slab through the
   status bar; hairline + 10px scroll-edge fade; refine chips merge behind a 1x18 divider.
   The slab itself SNAPS (no transition); only the chips fade. */
.rcph-zone{position:sticky;top:-1px;z-index:3;display:flex;flex-direction:column;gap:6px;margin:0 -13px;padding:2px 13px}
.rcph-zone .rcph-merged{display:none;align-items:center;gap:6px}
.rcph-zone.collapsed{border-bottom:.5px solid}
.rcph-scr.n .rcph-zone.collapsed{background:#221610;border-bottom-color:rgba(255,190,120,.10)}
.rcph-scr.d .rcph-zone.collapsed{background:#F6EEE1;border-bottom-color:rgba(60,40,20,.09)}
.rcph-zone.collapsed::after{content:"";position:absolute;left:0;right:0;top:100%;height:10px;pointer-events:none}
.rcph-scr.n .rcph-zone.collapsed::after{background:linear-gradient(rgba(34,22,16,.85),transparent)}
.rcph-scr.d .rcph-zone.collapsed::after{background:linear-gradient(rgba(246,238,225,.85),transparent)}
.rcph-zone.collapsed .rcph-refine{display:none}
.rcph-zone.collapsed .rcph-merged{display:inline-flex;animation:rcphChips .18s ease}
@keyframes rcphChips{from{opacity:0;transform:translateX(6px)}to{opacity:1;transform:none}}
.rcph-zdivider{width:1px;height:18px;flex:none}
.rcph-scr.n .rcph-zdivider{background:rgba(255,190,120,.16)}
.rcph-scr.d .rcph-zdivider{background:rgba(60,40,20,.15)}
/* seamless slab: the status bar wears the wash's top tone whenever the zone below is collapsed */
.rcph-scr.n.zone-collapsed .rcph-sbar,.rcph-scr.n .rcph-sbar{background:transparent}
.rcph-scr.n.zone-collapsed .rcph-sbar{background:#221610}
.rcph-scr.d.zone-collapsed .rcph-sbar{background:#F6EEE1}
@media (prefers-reduced-motion:reduce){ .rcph-zone.collapsed .rcph-merged{animation:none} }
/* story-mode components: scan provenance box, crew rally, night gallery */
.rcph-scanbox{flex:none;border-radius:14px;padding:11px 12px;display:flex;flex-direction:column;gap:5px}
.rcph-scr.n .rcph-scanbox{background:linear-gradient(150deg,#2a2030,#151218)}
.rcph-scr.d .rcph-scanbox{background:#F3E8D4}
.rcph-scanbox .fresh{font:700 9px/1.3 ui-monospace,Menlo,monospace;letter-spacing:.06em;color:#7CFF9B}
.rcph-scr.d .rcph-scanbox .fresh{color:#2E5C2E}
.rcph-scanbox .est{font-size:15px;font-weight:800}
.rcph-scanbox .est.none{font-size:13px;font-weight:700;opacity:.85}
.rcph-scanbox .who{font-size:9.5px;opacity:.65;line-height:1.4}
.rcph-scanbox.is-none{border:1px dashed rgba(154,128,95,.4);background:transparent}
.rcph-gallery{display:flex;gap:6px}
.rcph-tile{flex:1;aspect-ratio:1;border-radius:10px}
.rcph-art.venuehero{flex:none}

/* FAIL-CLOSED SAMPLE STATE (2026-08-30): what a phone shows when its declared screen cannot
   render — visibly present, visibly NOT the Now feed. */
.rcph-failed{display:flex;flex-direction:column;gap:6px;align-items:flex-start;justify-content:center;
  min-height:180px;padding:18px 14px;border:1px dashed rgba(240,226,200,.35);border-radius:14px;
  color:#f0e2c8;opacity:.92}
.rcph-failed b{font-size:15px}
.rcph-failed span{font-size:12.5px;opacity:.75}
.rcph-scr.d .rcph-failed{border-color:rgba(40,28,16,.35);color:#28150a}
