/* Event loop, guest screens (src-fragments/v2/parts/99zzy-room-guest.js). Locked look (2026-11-24..27): dark and
   photo-led. The event's photo sharp in the poster on top, the same photo blurred behind everything; cream #FFF8F0 type,
   a cream main button, a plain second button; Figtree for the UI, the host's title style (Fraunces 900 by default,
   events-hub.css .t-*) for the event's name. Everything is scoped to #rguest so the app's own styles never change. */
#rguest{position:fixed;inset:0;z-index:2000;background:#14101A;color:#FFF8F0;overflow:hidden;
  font:400 17px/1.4 Figtree,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}
#rguest[hidden]{display:none}
html.rg-open,html.rg-open body{overflow:hidden;background:#14101A}
#rguest::before{content:"";position:absolute;inset:-48px;background:var(--rg-photo) center/cover;filter:blur(28px) brightness(.4) saturate(1.1);z-index:0;pointer-events:none}
#rguest *{box-sizing:border-box}

:where(#rguest) :where(button,input,textarea){font:inherit;color:inherit}
#rguest button{cursor:pointer;-webkit-tap-highlight-color:transparent}
:where(#rguest) :where(p,h1,h2,h3){margin:0}
#rguest :focus-visible{outline:2.5px solid #FFF8F0;outline-offset:2px}

.rg-page{position:relative;z-index:1;display:flex;flex-direction:column;height:100%;max-width:520px;margin:0 auto}
.rg-bd{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  padding:max(14px,env(safe-area-inset-top)) 20px 20px}
.rg-bar{flex:none;display:flex;flex-direction:column;gap:6px;padding:10px 20px max(18px,env(safe-area-inset-bottom))}

/* the poster: the event's photo, sharp, with the name on it */
.rg-poster{position:relative;margin:0 -6px 18px;height:clamp(176px,36vh,300px);border-radius:22px;overflow:hidden;background:var(--rg-photo) center 40%/cover}
.rg-poster.mid{height:clamp(160px,28vh,220px)}
.rg-poster::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,10,18,.3),rgba(14,10,18,0) 30%,rgba(14,10,18,.2) 55%,rgba(14,10,18,.9))}
.rg-wm{position:absolute;left:16px;top:14px;font:400 18px/1 'Young Serif',Georgia,serif;color:#FFF8F0}
.rg-wm.solo{position:static;margin:6px 0 22px}
.rg-pt{position:absolute;left:16px;right:16px;bottom:14px}
.rg-club{font:500 14px/1.3 Figtree,sans-serif;color:rgba(255,248,240,.86)}
.rg-title{margin:4px 0 0;font-size:clamp(30px,10.5vw,40px);line-height:.98;color:#FFF8F0;overflow-wrap:anywhere;outline:none}
.rg-title.t-fraunces{font-family:Fraunces,Georgia,serif;font-weight:900;letter-spacing:-.01em}
.rg-title.sm{font-size:clamp(24px,8vw,30px)}
.rg-when{margin-top:4px;font:400 16px/1.35 Figtree,sans-serif;color:#FFF8F0}

/* type */
.rg-h{font:650 24px/1.18 Figtree,sans-serif;letter-spacing:-.015em;color:#FFF8F0;outline:none;margin:0 0 6px}
.rg-h.big{margin:8px 0 16px}
.rg-dim{color:rgba(255,248,240,.62)}
.rg-p{font-size:16px;line-height:1.45;color:rgba(255,248,240,.86);margin:0 0 10px}
.rg-p.sm{font-size:14px;line-height:1.4}
.rg-p.c{text-align:center}
.rg-p a{color:#FFF8F0}
.rg-msg{min-height:0;font-size:15px;line-height:1.4;color:#FFC9B0;margin:6px 0 0}
.rg-msg:empty{display:none}
.rg-note{font-size:15px;line-height:1.4;color:rgba(255,248,240,.9);margin:0 0 14px}
.rg-lab{font:600 14px/1.3 Figtree;color:#FFF8F0;margin:6px 0 8px}
.rg-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.rg-link{display:inline-flex;align-items:center;min-height:44px;padding:0 2px;border:0;background:none;color:#FFF8F0;text-decoration:underline;text-underline-offset:3px;font-size:inherit}
.rg-p .rg-link{min-height:44px;margin:-12px 0}
.rg-more{margin:4px 0 0;font-size:15px}

/* buttons */
.rg-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;padding:0 20px;border:0;border-radius:27px;
  background:#FFF8F0;color:#13201A;font:700 17px/1.2 Figtree,sans-serif;text-align:center}
.rg-btn[aria-disabled="true"]{background:rgba(255,248,240,.16);color:#FFF8F0;box-shadow:inset 0 0 0 2px rgba(255,248,240,.5)}
.rg-btn[aria-busy="true"]{opacity:.7}
.rg-btn2{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:0 20px;border:0;border-radius:24px;background:none;
  color:#FFF8F0;font:600 16px/1.2 Figtree,sans-serif}
.rg-ib{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:none;color:#FFF8F0}
.rg-top{display:flex;justify-content:flex-end;margin:-6px -10px 2px}
.rg-top.l{justify-content:flex-start}

/* fields */
.rg-fld{display:block;margin:0 0 14px}
.rg-h+.rg-fld{margin-top:16px}
.rg-fld>span{display:block;font:600 14px/1.3 Figtree;color:#FFF8F0;margin:0 0 6px}
#rguest .rg-fld input,#rguest .rg-fld textarea{display:block;width:100%;min-height:50px;padding:12px 14px;border:0;border-radius:14px;background:rgba(255,255,255,.08);
  box-shadow:inset 0 0 0 1.5px rgba(255,248,240,.7);color:#FFF8F0;font-size:17px;line-height:1.3;outline:none}
.rg-fld textarea{min-height:84px;resize:vertical}
#rguest .rg-fld input:focus,#rguest .rg-fld textarea:focus{box-shadow:inset 0 0 0 2.5px #FFF8F0}
#rguest .rg-fld input[readonly]{box-shadow:inset 0 0 0 1.5px rgba(255,248,240,.35);color:rgba(255,248,240,.86)}
.rg-fld small{display:block;margin-top:6px;font-size:14px;line-height:1.35;color:rgba(255,248,240,.86)}
.rg-friendline{display:flex;align-items:center;gap:10px;margin:0 0 16px}
.rg-friendline p{font-size:16px;line-height:1.35}

/* the three picks */
.rg-opts{display:flex;flex-direction:column;gap:10px;margin:12px 0 10px}
.rg-opt{display:flex;align-items:center;gap:14px;width:100%;min-height:66px;padding:10px 16px;border:0;border-radius:16px;background:none;text-align:left;
  box-shadow:inset 0 0 0 1.5px rgba(255,248,240,.45);color:#FFF8F0}
.rg-opt>span{flex:1;min-width:0}
.rg-opt b{display:block;font:600 17px/1.25 Figtree}
.rg-opt>span>span{display:block;font-size:14px;line-height:1.35;color:rgba(255,248,240,.86)}
.rg-opt i{flex:none;width:24px;height:24px;border-radius:50%;box-shadow:inset 0 0 0 2px rgba(255,248,240,.6)}
.rg-opt[aria-checked="true"]{background:rgba(255,248,240,.14);box-shadow:inset 0 0 0 2px #FFF8F0}
.rg-opt[aria-checked="true"] i{background:#FFF8F0;box-shadow:inset 0 0 0 7px #FFF8F0,inset 0 0 0 12px #1a1416}

/* the host's message */
.rg-host{display:flex;gap:10px;align-items:flex-end;margin:0 0 16px}
.rg-host>div{min-width:0}
.rg-hostname{margin:0 0 4px;font:500 13px/1.2 Figtree;color:rgba(255,248,240,.86)}
.rg-bubble{padding:10px 14px;border-radius:18px 18px 18px 6px;background:rgba(255,248,240,.12);color:#FFF8F0;font-size:16px;line-height:1.35;overflow-wrap:anywhere}
.rg-card{padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.08);color:#FFF8F0;font-size:15px;line-height:1.4;margin:0 0 14px}
.rg-card b{display:block;font:650 17px/1.3 Figtree;margin:2px 0}
.rg-card .rg-p{margin:0}

/* orbs: the app's people orbs (impresses.css tones), a photo when there is one */
.rg-orb{flex:none;display:inline-grid;place-items:center;width:var(--s);height:var(--s);border-radius:50%;overflow:hidden;
  font:400 calc(var(--s) * .38)/1 'Young Serif',Georgia,serif;letter-spacing:-.02em}
.rg-orb img{width:100%;height:100%;object-fit:cover}
.rg-orb.t-green{background:radial-gradient(circle at 32% 28%,#F0FFF4 0%,#A8DDB8 55%,#5E9E72 100%);color:#0D2A17}
.rg-orb.t-peach{background:radial-gradient(circle at 32% 28%,#FFF0EC 0%,#F2B8A8 55%,#C27767 100%);color:#3A1408}
.rg-orb.t-lilac{background:radial-gradient(circle at 32% 28%,#F4E1FF 0%,#B39CFF 55%,#6E55C9 100%);color:#1A1040}
.rg-orb.t-gold{background:radial-gradient(circle at 32% 28%,#FFF8D6 0%,#F5D36B 55%,#B98F1F 100%);color:#3A2A04}
.rg-orb.t-sky{background:radial-gradient(circle at 32% 28%,#E6F7FF 0%,#9DD3EE 55%,#4F94BC 100%);color:#0C2A3C}

/* the table */
.rg-table{padding:16px;border-radius:20px;background:rgba(255,255,255,.08);margin:0 0 14px}
.rg-tt{display:flex;align-items:center;gap:14px}
.rg-tt h2{font:650 20px/1.2 Figtree;color:#FFF8F0;overflow-wrap:anywhere}
.rg-tt p{font-size:15px;line-height:1.35;color:rgba(255,248,240,.86)}
.rg-tile{flex:none;display:grid;place-items:center;width:58px;height:58px;border-radius:14px;background:#FFF8F0;color:#13201A;
  font:900 34px/1 Fraunces,Georgia,serif}
.rg-tile.spot svg{width:28px;height:28px}
.rg-mates{display:flex;align-items:center;gap:10px;margin-top:12px;min-width:0}
.rg-mates.sm{margin-top:6px}
.rg-mates.sm>span:last-child{font-size:14px;color:rgba(255,248,240,.86)}
.rg-orbs{display:flex;flex:none}
.rg-mate{display:grid;place-items:center;width:44px;height:44px;margin-right:-6px;padding:0;border:0;border-radius:50%;background:none}
.rg-mate .rg-orb{box-shadow:0 0 0 2px #2a2430}
.rg-mates.sm .rg-orb{margin-right:-6px;box-shadow:0 0 0 2px #2a2430}
.rg-names{font-size:15px;line-height:1.35;color:#FFF8F0;min-width:0;overflow-wrap:anywhere;padding-left:6px}
.rg-tnote{margin-top:12px;font-size:15px;line-height:1.4;color:rgba(255,248,240,.86)}

/* rows */
.rg-lrow{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;padding:0;border:0;background:none;
  border-bottom:1px solid rgba(255,248,240,.16);color:#FFF8F0;font:500 16px/1.3 Figtree;text-align:left;margin:0 0 6px}
.rg-sec{font:650 18px/1.25 Figtree;color:#FFF8F0;margin:16px 0 4px}
.rg-secsub{margin:-2px 0 4px}
.rg-list{display:flex;flex-direction:column}
.rg-row{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:10px;padding:8px 0;border-bottom:1px solid rgba(255,248,240,.16)}
.rg-rowtap{display:flex;align-items:center;gap:12px;min-width:0;min-height:48px;padding:0;border:0;background:none;color:#FFF8F0;text-align:left}
.rg-rt{min-width:0}
.rg-rt b{display:block;font:600 16px/1.25 Figtree;overflow-wrap:anywhere}
.rg-rt span{display:block;font-size:14px;line-height:1.35;color:rgba(255,248,240,.86)}
.rg-talk{min-height:44px;padding:0 14px;border:0;border-radius:22px;background:none;box-shadow:inset 0 0 0 1.5px rgba(255,248,240,.8);color:#FFF8F0;
  font:600 15px/1 Figtree;white-space:nowrap}
.rg-talk[aria-pressed="true"]{background:#FFF8F0;color:#13201A;box-shadow:none}
.rg-opener{grid-column:1/-1;margin:4px 0 2px 52px;font-size:14px;line-height:1.4;color:rgba(255,248,240,.86)}
.rg-strip{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;padding:8px 12px;margin:0 0 12px;border:0;border-radius:16px;
  background:rgba(255,255,255,.08);color:#FFF8F0;text-align:left}
.rg-strip>span:not(.rg-orb){flex:1;min-width:0}
.rg-strip b{display:block;font:600 16px/1.25 Figtree}
.rg-strip span span{display:block;font-size:14px;color:rgba(255,248,240,.86)}

/* the friend's code */
.rg-qr{width:min(220px,62vw);aspect-ratio:1;margin:18px auto 14px;padding:12px;border-radius:18px;background:#fff;line-height:0}
.rg-qr svg{width:100%;height:100%}

/* report */
.rg-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.rg-chip{min-height:44px;padding:0 16px;border:0;border-radius:22px;background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1.5px rgba(255,248,240,.75);color:#FFF8F0;font:500 15px/1.2 Figtree}
.rg-chip[aria-checked="true"]{background:#FFF8F0;color:#13201A;box-shadow:none}
.rg-switch{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:16px;box-shadow:inset 0 0 0 1.5px rgba(255,248,240,.4);margin:0 0 14px}
.rg-switch>span:not(.rg-orb){flex:1;min-width:0}
.rg-switch b{display:block;font:600 16px/1.3 Figtree}
.rg-switch span span{display:block;font-size:14px;color:rgba(255,248,240,.86)}
.rg-switch button{flex:none;position:relative;width:52px;height:44px;padding:0;border:0;background:none}
.rg-switch button i{position:absolute;left:0;top:8px;width:52px;height:28px;border-radius:14px;background:rgba(255,248,240,.25)}
.rg-switch button i::after{content:"";position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#FFF8F0;transition:transform .18s}
.rg-switch button[aria-checked="true"] i{background:#7FC29B}
.rg-switch button[aria-checked="true"] i::after{transform:translateX(24px)}

/* done for now: the ticket stub */
.rg-stub{border-radius:20px;overflow:hidden;background:rgba(255,255,255,.08);margin:0 0 18px}
.rg-stubtop{position:relative;height:clamp(120px,22vh,150px);background:var(--rg-photo) center 40%/cover;display:flex;align-items:flex-end;padding:12px 14px}
.rg-stubtop::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,10,18,.1),rgba(14,10,18,.85))}
.rg-stubtop>div{position:relative;min-width:0}
.rg-tear{height:0;border-top:2px dashed rgba(255,248,240,.35);margin:0 12px}
.rg-stublow{display:flex;align-items:center;gap:14px;padding:14px}
.rg-stublow>div{min-width:0}
.rg-stublow b{display:block;font:650 17px/1.3 Figtree}

/* sheets */
.rg-scrim{position:absolute;inset:0;z-index:5;background:rgba(5,4,8,.55)}
.rg-sheet{position:absolute;left:0;right:0;bottom:0;z-index:6;max-width:520px;margin:0 auto;max-height:86%;overflow-y:auto;
  padding:8px 20px max(18px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#1C1720;box-shadow:0 -1px 0 rgba(255,248,240,.12)}
.rg-grab{display:block;width:40px;height:5px;border-radius:3px;background:rgba(255,248,240,.35);margin:0 auto 12px}
.rg-sheet h2{font:650 20px/1.25 Figtree;color:#FFF8F0;margin:0 0 8px}
.rg-sh-who{display:flex;align-items:center;gap:12px;margin:0 0 6px}
.rg-sh-who h2{margin:0}
.rg-sh-who p{font-size:14px;color:rgba(255,248,240,.86)}
.rg-shrow{display:flex;align-items:center;gap:10px;width:100%;min-height:60px;padding:10px 0;border:0;border-bottom:1px solid rgba(255,248,240,.14);background:none;color:#FFF8F0;text-align:left}
.rg-shrow>span{flex:1;min-width:0}
.rg-shrow b{display:block;font:600 16px/1.3 Figtree}
.rg-shrow span span{display:block;font-size:14px;line-height:1.35;color:rgba(255,248,240,.86)}
.rg-shrow.warn b{color:#FFB59C}
.rg-shbar{display:flex;flex-direction:column;gap:6px;margin-top:12px}

/* short phones (iPhone SE 1st gen, 320x568): the page scrolls as one, so the main button never covers a field */
@media (max-height:600px){
  .rg-page{display:block;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .rg-bd{overflow:visible;padding-top:max(10px,env(safe-area-inset-top));padding-bottom:6px}
  .rg-poster,.rg-poster.mid{height:150px;margin-bottom:12px}
  .rg-poster .rg-wm{display:none}
  .rg-h{font-size:21px}
  .rg-btn{min-height:50px}
}
@media (prefers-reduced-motion:reduce){ .rg-switch button i::after{transition:none} }
#rguest .rg-shrow:focus-visible,#rguest .rg-lrow:focus-visible,#rguest .rg-rowtap:focus-visible{outline-offset:-2px;border-radius:12px}
