/* party.css: PartyStarter HQ and reneOS Studio on reneOS Design System v1 (D-1116-5, 2026-11-17).
 *
 * Rene: "it still looks cheap and it looks like straight AI." This layer is the fix, shared by
 * every party and Studio page. It sits on top of /kit/reneos-kit.css (v1, never edited here) and
 * /shell.css (the bar), and is linked LAST in <head>, so equal selectors win by order.
 *
 *   - the page is the spec's atmosphere (sections 05, 36), content sits on smoked glass (04)
 *   - type is the spec scale: Display and H1 at 300, H2 at 400, eyebrows .65rem/.28em caps (06)
 *   - one silver primary per view; everything else is secondary glass or quiet text (14)
 *   - status is a hairline label in muted text; red and green only for function (29)
 *   - icons are Rene's own line set, /kit/rene-line.svg, through .rl (08, 26)
 *   - motion is opacity and a few pixels, 0.985 on press, no bounce (18, 19)
 *
 * Products (spec 03.2): <html data-brand="party"> is PartyStarter HQ, pink #F06AA9 and blue
 * #73B8FF, controlled, never neon. <html data-brand="party" class="accent-power-hour"> is Power
 * Hour carries the same pink and blue (Rene 2026-11-17: one accent per brand). <html data-brand="studio"> is reneOS Studio, blue #8FD4FF and gold #E9C78D.
 *
 * Page sections at the bottom are each page's own; helper B appends Open Mic at the very end.
 */

/* ======================================================================
   01 tokens
   ====================================================================== */
html[data-brand]{
  color-scheme:dark;
  --accent-primary:#F06AA9; --accent-secondary:#73B8FF;
  /* names the pages used from kit v2, pointed at v1 values so nothing reads as undefined */
  --rene-separator:rgba(255,255,255,.09);
  --rene-fill:rgba(255,255,255,.05);
  --rene-fill-soft:rgba(255,255,255,.035);
  --rene-surface-high:rgba(255,255,255,.08);
  --rene-font-display:var(--rene-font);
  --rene-spring:cubic-bezier(.2,.8,.2,1);
  --rene-transition-spring:300ms var(--rene-ease);
  --rene-transition-snap:240ms var(--rene-ease);
  --mat-thin:rgba(11,17,24,.55);
  --mat-regular:rgba(8,13,19,.72);
  --mat-thick:rgba(11,17,24,.86);
  --mat-edge:rgba(255,255,255,.13);
  --blur-thin:blur(24px) saturate(120%);
  --blur-regular:blur(28px) saturate(120%);
  --tint-games:var(--accent-primary); --tint-party:var(--party-pink); --tint-calista:#8FD4FF;
  /* the spec's type scale as shorthands (section 06); the old names keep their places in page css */
  --ios-large:300 clamp(30px,4vw,40px)/1.08 var(--rene-font);
  --ios-title1:300 28px/1.15 var(--rene-font);
  --ios-title2:400 22px/1.25 var(--rene-font);
  --ios-title3:500 18px/1.3 var(--rene-font);
  --ios-headline:500 16px/1.35 var(--rene-font);
  --ios-body:400 15px/1.55 var(--rene-font);
  --ios-callout:400 15px/1.5 var(--rene-font);
  --ios-sub:400 14px/1.5 var(--rene-font);
  --ios-foot:400 13px/1.5 var(--rene-font);
  --ios-cap:500 12px/16px var(--rene-font);
  /* party glass, for pages that draw their own panels */
  --p-glass:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  --p-glass-raised:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  --p-edge:rgba(255,255,255,.13);
  --p-edge-hi:rgba(255,255,255,.2);
  --p-inset:inset 0 1px 0 rgba(255,255,255,.055);
}
html[data-brand="party"]{--accent-primary:#F06AA9; --accent-secondary:#73B8FF}
/* one accent per brand (Rene, 2026-11-17): Power Hour, Game Night and Videos are PartyStarter pink and blue */
html[data-brand="studio"]{--accent-primary:#8FD4FF; --accent-secondary:#E9C78D}

/* ======================================================================
   02 the page: atmosphere felt before it is noticed (spec 05, 36)
   ====================================================================== */
html[data-brand] body{
  color:var(--rene-white);
  font-family:var(--rene-font);
  -webkit-font-smoothing:antialiased;
  background:
    radial-gradient(circle at 18% 12%,rgba(50,110,155,.15),transparent 34%),
    radial-gradient(circle at 84% 22%,rgba(205,160,95,.08),transparent 30%),
    radial-gradient(circle at 50% 100%,rgba(50,80,110,.08),transparent 42%),
    var(--rene-black);
  background-attachment:fixed;
}
/* PartyStarter's room has a little more warmth in it: a controlled pink where the gold sits */
html[data-brand="party"] body{
  background:
    radial-gradient(circle at 18% 12%,rgba(50,110,155,.15),transparent 34%),
    radial-gradient(circle at 84% 20%,rgba(240,106,169,.07),transparent 30%),
    radial-gradient(circle at 50% 100%,rgba(50,80,110,.08),transparent 42%),
    var(--rene-black);
  background-attachment:fixed;
}
@supports (-webkit-touch-callout:none){ html[data-brand] body{background-attachment:scroll} }

/* ======================================================================
   03 type (spec 06)
   ====================================================================== */
.p-display{font-size:clamp(2.6rem,6vw,5.2rem);font-weight:300;letter-spacing:-.045em;line-height:.98;color:var(--rene-white)}
.p-h1{font-size:clamp(2.1rem,4.4vw,3.6rem);font-weight:300;letter-spacing:-.035em;line-height:1.04;color:var(--rene-white)}
.p-h2{font-size:clamp(1.5rem,2.4vw,2.1rem);font-weight:400;letter-spacing:-.025em;line-height:1.15;color:var(--rene-white)}
.p-h3{font-size:1.1rem;font-weight:500;letter-spacing:-.01em;line-height:1.3;color:var(--rene-white)}
.p-body{font-size:.95rem;font-weight:400;line-height:1.6;color:var(--rene-muted)}
/* the spec eyebrow (.65rem), held at the 12px floor the brief asks for */
.p-eyebrow,html[data-brand] .rene-eyebrow{font-size:max(12px,.65rem);font-weight:500;letter-spacing:.28em;text-transform:uppercase;color:var(--rene-muted);line-height:1.5}
/* two-tone headlines are gone: one colour, light weight (brief 1) */
html[data-brand] h1 b,html[data-brand] h1 em,html[data-brand] h1 span:not(.sr){color:inherit;font-weight:inherit;font-style:normal}

/* ======================================================================
   04 material: glass (spec 04, 10)
   ====================================================================== */
.p-glass{background:var(--p-glass);border:1px solid var(--p-edge);box-shadow:var(--p-inset),0 20px 60px rgba(0,0,0,.2);
  -webkit-backdrop-filter:blur(28px) saturate(120%);backdrop-filter:blur(28px) saturate(120%);border-radius:var(--radius-lg)}
.p-glass-raised{background:var(--p-glass-raised);border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 24px 70px rgba(0,0,0,.28);
  -webkit-backdrop-filter:blur(32px) saturate(125%);backdrop-filter:blur(32px) saturate(125%);border-radius:var(--radius-lg)}
/* a glass list: tappable rows on one pane, hairlines between them, a quiet play affordance at the end */
.p-rows{background:var(--p-glass);border:1px solid var(--p-edge);border-radius:var(--radius-lg);box-shadow:var(--p-inset);overflow:hidden}
.p-row{display:flex;align-items:center;gap:14px;min-height:56px;padding:0 18px;color:var(--rene-white);text-decoration:none;position:relative;
  transition:background var(--rene-transition)}
.p-row + .p-row{border-top:1px solid var(--rene-line-soft)}
.p-row:hover{background:rgba(255,255,255,.035)}
.p-row:active{background:rgba(255,255,255,.05)}

/* ======================================================================
   05 buttons (spec 14): one primary per view, ONE system on every page (the Doctor's N4,
   2026-11-17). The six old families (.btn.p/.c, .btn.primary/tonal/ghost, .om-btn, .ab,
   .btn-cyan, the editor's own .btn) are gone from the markup and their restyle shims from here.
     .rene-button-primary    the silver primary, one per view
     .rene-button-secondary  glass, everything else that is a button
     .p-quiet                a quiet text action, still a 44px target
     .p-danger               add to either of the above (or .p-quiet) when it throws something away
   Shared modifiers: .sm (denser), .big (54px, full width, phone rooms), .full, .grow, .wrap
   (a long label wraps), .iconbtn (44px square). The base sits in :where() so a page's own
   contextual rule (".acts .rene-button-secondary{padding}") wins without !important.
   ====================================================================== */
:where(html[data-brand]) .rene-button-primary,:where(html[data-brand]) .rene-button-secondary{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;
  font-family:var(--rene-font);font-size:14px;font-weight:500;letter-spacing:-.005em;line-height:1.2;text-decoration:none;white-space:nowrap;
  border-radius:14px;cursor:pointer;
  transition:background var(--rene-transition),border-color var(--rene-transition),transform var(--rene-transition),opacity var(--rene-transition)}
:where(html[data-brand]) .rene-button-primary{background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(220,230,238,.88));color:#071019;
  border:1px solid rgba(255,255,255,.75);box-shadow:0 8px 30px rgba(0,0,0,.2)}
html[data-brand] .rene-button-primary:not(:disabled):hover{background:linear-gradient(135deg,#fff,rgba(232,239,245,.94))}
:where(html[data-brand]) .rene-button-secondary{background:rgba(255,255,255,.035);color:var(--rene-white);border:1px solid rgba(255,255,255,.14);box-shadow:none}
html[data-brand] .rene-button-secondary:not(:disabled):hover{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.22)}
html[data-brand] .rene-button-primary:active,html[data-brand] .rene-button-secondary:active{transform:scale(.985)}
html[data-brand] .rene-button-primary:disabled,html[data-brand] .rene-button-secondary:disabled{opacity:.45;cursor:default}
html[data-brand] .rene-button-primary .rl,html[data-brand] .rene-button-secondary .rl{width:18px;height:18px}
/* the shared modifiers */
.rene-button-primary.sm,.rene-button-secondary.sm{min-height:44px;padding:0 14px;font-size:13px;border-radius:12px}
.p-quiet.sm{font-size:13px;padding:0 8px}
.rene-button-primary.big,.rene-button-secondary.big{min-height:54px;font-size:16px;border-radius:16px;width:100%}
.rene-button-primary.full,.rene-button-secondary.full{width:100%}
.rene-button-primary.grow,.rene-button-secondary.grow{flex:1}
.rene-button-primary.wrap,.rene-button-secondary.wrap{white-space:normal;text-wrap:balance;padding-top:10px;padding-bottom:10px;overflow-wrap:break-word}
.rene-button-primary.iconbtn,.rene-button-secondary.iconbtn,.p-quiet.iconbtn{width:44px;padding:0;justify-content:center}
/* a toggle that is on: brighter glass and the brand's second colour as its edge (selected, spec 29) */
.rene-button-secondary[aria-pressed="true"]{background:rgba(255,255,255,.09);border-color:rgba(115,184,255,.6)}
html[data-brand="studio"] .rene-button-secondary[aria-pressed="true"]{border-color:rgba(143,212,255,.6)}
.p-quiet:disabled{opacity:.45;cursor:default}
.p-quiet:active:not(:disabled){transform:scale(.985)}
/* quiet text action */
.p-quiet{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 4px;background:none;border:0;color:var(--rene-muted);
  font:inherit;font-size:14px;font-weight:500;text-decoration:none;cursor:pointer;transition:color var(--rene-transition)}
.p-quiet:hover{color:var(--rene-white)}
/* a destructive question answers in the functional red, never as a brand colour */
.p-danger{color:var(--rene-error) !important}
.rene-button-primary.p-danger,.rene-button-secondary.p-danger{border-color:rgba(231,124,124,.45) !important}
.rene-button-secondary.p-danger:not(:disabled):hover{background:rgba(231,124,124,.08)}

/* ======================================================================
   06 status: a hairline label in muted text (brief 4)
   ====================================================================== */
.p-tag{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:0 10px;border-radius:999px;border:1px solid rgba(255,255,255,.16);
  background:none;color:var(--rene-muted);font-size:12px;font-weight:500;letter-spacing:.02em;line-height:1;white-space:nowrap}

/* ======================================================================
   07 icons: Rene's line set (brief 5)
   ====================================================================== */
.rl{width:1em;height:1em;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none;display:inline-block;vertical-align:-.15em;overflow:visible}
/* the icon cards' mark (round 3, one icon style): one of Rene's line icons on a small glass tile.
   The sheet icons stay as favicons and app icons; a card never carries a picture tile. */
.p-ic{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;flex:none;color:var(--rene-white-soft, #D9E0E7);
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.13);box-shadow:var(--p-inset)}
.p-ic .rl{width:26px;height:26px}
html[data-brand="party"] .p-card:hover .p-ic{color:var(--rene-white)}
/* the PartyStarter HQ lockup a page draws itself (the shared header has its own, /shell.css):
   reneOS, a hairline, wordmark A, on one baseline. font-size is reneOS's height; the wordmark is
   1.093 of it and hangs its descenders (p, y) .26 below the line, as in the bar. */
.p-lockup{display:inline-flex;align-items:flex-end;gap:.75em;line-height:1;white-space:nowrap}
.p-lockup .rw{display:block;height:1em;width:auto}
.p-lockup .hl{display:block;width:1px;height:1.23em;margin-bottom:-.115em;background:var(--rene-line, rgba(255,255,255,.13));flex:none}
.p-lockup .pw{display:block;height:1.093em;width:auto;margin-bottom:-.2623em;flex:none}
/* the experience icons from Rene's sheet: each sits on its own black tile, a hairline around it, like the hardware */
.p-app{display:block;width:64px;height:64px;border-radius:16px;flex:none;background:#000;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 10px 30px rgba(0,0,0,.35)}

/* ======================================================================
   08 the icon card system (spec 10)
   ====================================================================== */
.p-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.p-cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1060px){.p-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
.p-card{position:relative;display:flex;flex-direction:column;gap:16px;min-height:220px;padding:28px 24px 24px;border-radius:var(--radius-lg);
  background:var(--p-glass);border:1px solid rgba(255,255,255,.12);box-shadow:var(--p-inset);
  -webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);color:var(--rene-white);text-decoration:none;
  transition:transform 300ms var(--rene-ease),border-color 300ms ease,background 300ms ease}
.p-card:hover{transform:translateY(-3px);background:var(--p-glass-raised);border-color:rgba(255,255,255,.2)}
.p-card:active{transform:translateY(-1px) scale(.985)}
.p-card .tx{display:flex;flex-direction:column;gap:6px;margin-top:auto;min-width:0}
.p-card h3{font-size:1.15rem;font-weight:500;letter-spacing:-.01em}
.p-card p{font-size:.9rem;line-height:1.55;color:var(--rene-muted)}
.p-card .go{position:absolute;right:20px;top:24px;width:18px;height:18px;color:var(--rene-dim);transition:color var(--rene-transition),transform var(--rene-transition)}
.p-card:hover .go{color:var(--rene-white);transform:translate(2px,-2px)}
.p-cards.two .p-card{flex-direction:row;align-items:center;min-height:132px;gap:20px}
.p-cards.two .p-card .tx{margin-top:0;padding-right:28px}
@media(max-width:640px){
  .p-cards,.p-cards.two{grid-template-columns:1fr;gap:12px}
  .p-card,.p-cards.two .p-card{flex-direction:row;align-items:center;min-height:0;padding:16px 18px;gap:16px}
  .p-card .p-app{width:52px;height:52px;border-radius:13px}
  .p-card .p-ic{width:48px;height:48px;border-radius:14px}
  .p-card .p-ic .rl{width:22px;height:22px}
  .p-card .tx{margin-top:0;padding-right:0;gap:2px;flex:1}
  .p-card h3{font-size:1.05rem}
  .p-card p{font-size:.85rem;line-height:1.5}
  .p-card .go{position:static;flex:none}
}

/* ======================================================================
   08b the four page templates (Rene 2026-11-17): every page maps to one. Same container
   widths, same glass, same spacing. Put the class on <body> next to rene-page.
     p-landing  home, the how-to guides     wide column, a hero then sections
     p-tool     Power Hour builder, Video Editor, Mastering, Open Mic maker, Buzzer host, Game Night lobby
     p-library  Videos, the Open Mic shelf  full-width shelves
     p-stage    the player, the karaoke stage, shared links
   Inside any of them: .p-wrap is the container, .p-head the page header (eyebrow, H1, lead),
   .p-section a block with the standard gap above it.

   One content edge (2026-11-17, the Doctor's visit): landing, tool and library pages all sit on
   the bar's own box (shell.css #pshell .in: 1180 wide, 24 in from each side, 16 on a phone), so
   every page title starts right under the reneOS wordmark (x=154 at 1440). A narrow page (Mastering,
   the guides) adds .p-narrow: its column stays narrow but starts on that same edge, never centred.
   Only the stage (the player, the karaoke stage) goes wider.
   ====================================================================== */
.p-wrap{box-sizing:border-box;width:100%;max-width:1180px;margin-inline:auto;padding-inline:24px}
.p-stage .p-wrap{width:min(calc(100% - 40px),1500px);max-width:none;padding-inline:0}
.p-narrow > *{max-width:780px}
/* the same edge for a block that runs full width (a shelf that scrolls to the screen's edge, a banner) */
.p-edge{padding-inline:max(24px,calc((100% - 1132px) / 2))}
/* one headline scale: the page title is the spec H1 on every page; Display is the door and the home only */
.p-head{display:block;padding:56px 0 32px;margin:0;min-height:0}
.p-landing .p-head{padding:88px 0 56px}
.p-head .p-eyebrow,.p-head .rene-eyebrow{display:block;margin-bottom:16px}
.p-head h1,.p-head .p-h1{font-size:clamp(2.1rem,4.4vw,3.6rem);font-weight:300;letter-spacing:-.035em;line-height:1.04;color:var(--rene-white);margin:0}
.p-head .lead,.p-head p:not(.p-eyebrow):not(.rene-eyebrow){font-size:1rem;line-height:1.6;color:var(--rene-muted);margin-top:16px;max-width:560px}
.p-section{margin-top:48px}
@media(max-width:560px){
  .p-head{padding:32px 0 24px}.p-landing .p-head{padding:40px 0 32px}
  .p-section{margin-top:36px}
}
@media(max-width:430px){
  .p-wrap{padding-inline:16px}
  .p-edge{padding-inline:16px}
}

/* ======================================================================
   09 the shelves (the old kit v2 .ios-* pieces, retoned as v1 glass)
   ====================================================================== */
html[data-brand] .ios-shelf{margin-top:40px}
html[data-brand] .ios-shelf > h2{font-size:1.25rem;font-weight:400;letter-spacing:-.02em;margin:0 0 14px;padding:0 var(--shelf-pad,40px);display:flex;align-items:baseline;gap:10px}
html[data-brand] .ios-shelf > h2 small{font-size:13px;font-weight:400;color:var(--rene-muted)}
html[data-brand] .ios-shelf > h2 a{margin-left:auto;font-size:14px;color:var(--rene-muted);text-decoration:none}
html[data-brand] .ios-shelf > h2 a:hover{color:var(--rene-white)}
html[data-brand] .ios-shelf-wrap{position:relative}
html[data-brand] .ios-scroller{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 var(--shelf-pad,40px) 10px;
  scroll-padding:0 var(--shelf-pad,40px);scrollbar-width:none;-webkit-overflow-scrolling:touch}
html[data-brand] .ios-scroller::-webkit-scrollbar{display:none}
html[data-brand] .ios-scroller > *{scroll-snap-align:start}
html[data-brand] .ios-arr{position:absolute;top:calc(50% - 38px);width:44px;height:44px;border-radius:50%;display:grid;place-items:center;z-index:3;cursor:pointer;
  color:var(--rene-white);background:rgba(8,13,19,.72);border:1px solid var(--p-edge);box-shadow:var(--p-inset),0 12px 40px rgba(0,0,0,.35);
  -webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);opacity:0;transition:opacity var(--rene-transition)}
html[data-brand] .ios-arr.l{left:10px} html[data-brand] .ios-arr.r{right:10px}
html[data-brand] .ios-shelf-wrap:hover .ios-arr:not([disabled]),html[data-brand] .ios-arr:focus-visible{opacity:1}
html[data-brand] .ios-arr[disabled]{pointer-events:none}
html[data-brand] .ios-arr svg{width:20px;height:20px;stroke-width:1.5}
@media (hover:none){html[data-brand] .ios-arr{display:none}}
html[data-brand] .ios-card{flex:0 0 auto;width:clamp(220px,22vw,300px);display:block;color:var(--rene-white);text-decoration:none;background:none;border:0;padding:0;text-align:left;font:inherit;cursor:pointer;border-radius:var(--radius-md)}
html[data-brand] .ios-card > .ios-art,html[data-brand] .ios-card > a > .ios-art,html[data-brand] .ios-card > img{display:block;aspect-ratio:16/9;width:100%;border-radius:var(--radius-md);
  border:1px solid rgba(255,255,255,.1);box-shadow:var(--p-inset);object-fit:cover;transition:transform 300ms var(--rene-ease),border-color 300ms ease}
html[data-brand] .ios-card:hover > .ios-art,html[data-brand] .ios-card:hover > a > .ios-art{transform:translateY(-3px);border-color:rgba(255,255,255,.22)}
html[data-brand] .ios-card:active > .ios-art,html[data-brand] .ios-card:active > a > .ios-art{transform:translateY(-1px) scale(.985)}
html[data-brand] .ios-card-t{font-size:15px;font-weight:500;letter-spacing:-.01em;margin-top:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-brand] .ios-card-s{font-size:13px;color:var(--rene-muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-brand] .ios-art{position:relative;overflow:hidden;background:var(--rene-surface-raised);color:#fff}
html[data-brand] .ios-art > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.88) contrast(1.04) brightness(.92)}
/* made-up cover art is held quiet: muted, softly lit, no stripes (spec 25, 30) */
html[data-brand] .ios-art.gen{filter:saturate(.55) brightness(.82)}
html[data-brand] .ios-art.gen::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(5,8,12,.55))}
html[data-brand] .ios-art-name{position:absolute;left:14px;right:14px;bottom:12px;z-index:1;font-size:18px;font-weight:400;letter-spacing:-.02em;line-height:1.1;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html[data-brand] .ios-art.pic .ios-art-name{display:none}
html[data-brand] .ios-art-badge{position:absolute;top:10px;left:10px;z-index:2;font-size:12px;font-weight:500;letter-spacing:.02em;padding:3px 9px;border-radius:999px;
  border:1px solid rgba(255,255,255,.22);background:rgba(5,8,12,.45);color:var(--rene-white-soft)}
html[data-brand] .ios-prog{position:absolute;left:12px;right:12px;bottom:10px;height:3px;border-radius:2px;background:rgba(255,255,255,.22);z-index:2}
html[data-brand] .ios-prog > i{display:block;height:100%;border-radius:2px;background:var(--rene-white)}
@media(max-width:720px){:where(html[data-brand] .ios-shelf){--shelf-pad:16px}html[data-brand] .ios-scroller{gap:12px}html[data-brand] .ios-card{width:210px}}


/* ======================================================================
   10 fields, focus, motion
   ====================================================================== */
html[data-brand] ::selection{background:rgba(143,212,255,.28)}
html[data-brand] :where(a[href],button,[role="button"],[role="tab"],[tabindex]:not([tabindex="-1"]),select,summary,input,textarea):focus-visible{
  outline:1px solid rgba(143,212,255,.70) !important;outline-offset:3px !important}
@media (prefers-reduced-motion:reduce){
  html[data-brand] *,html[data-brand] *::before,html[data-brand] *::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
  .p-card:hover,html[data-brand] .ios-card:hover > .ios-art{transform:none}
}
@media (prefers-reduced-transparency:reduce){
  .p-glass,.p-glass-raised,.p-card,.p-rows{background:var(--rene-surface);-webkit-backdrop-filter:none;backdrop-filter:none}
}

/* ======================================================================
   PAGE SECTIONS (each page's own rules; helper B appends Open Mic at the end)
   ====================================================================== */
/* ---- every page: one atmosphere. The pages' own body::before washes (Game Night, Buzzer, the
   phone controller, Power Hour, the guides) step aside for the kit's, drawn on body above. ---- */
html[data-brand] body::before{display:none !important}

/* ---- Game Night's rooms and the guides (/games/gn.css): the title, panels and back link ---- */
html[data-brand] .logo{font-weight:300;letter-spacing:-.025em}
html[data-brand] .logo b{color:inherit;font-weight:inherit}
html[data-brand] .panel{background:var(--p-glass);border-color:var(--p-edge);box-shadow:var(--p-inset);-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);border-radius:var(--radius-lg)}
html[data-brand] header a.back{border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.035);font-size:13px}
html[data-brand] header a.back .gi,html[data-brand] header a.back .rl{width:16px;height:16px}
html[data-brand] .gi{stroke-width:1.5}

/* ---- any svg that draws one of Rene's line icons gets the line treatment, even where a page
   builds the markup in script without the .rl class ---- */
html[data-brand] svg:has(> use[href*="rene-line.svg"]){stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;overflow:visible}



