:root{--c-bg:#050505;--c-card:#111111;--c-card2:#181818;--c-line:rgba(255,255,255,.09);--c-pink:#f54d4a;--c-violet:#ff7a5c;--c-lime:#f54d4a;--c-txt:#f6f2ff;--c-dim:#a8a8a8}
html body{background:var(--c-bg);color:var(--c-txt);font-size:15px;line-height:1.4}
html body .app-shell{max-width:520px;margin:0 auto;padding:0 0 96px}
/* header: slim, IG style */
html body .topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:rgba(5,5,5,.88);backdrop-filter:blur(16px);border-bottom:1px solid var(--c-line)}
html body .wordmark{font-size:26px;line-height:1}
html body .wordmark small,html body .wordmark span:last-child{font-size:8px;opacity:.55}
html body .header-right{display:flex;gap:6px;align-items:center}
html body .icon-btn{width:36px;height:36px;border:0;background:transparent;border-radius:50%;padding:0;display:grid;place-items:center}
html body .icon-btn svg{width:24px;height:24px}
html body .btn.small.demo-switch,html body .header-right .btn.small{font-size:11px;padding:6px 10px;min-height:0;border-radius:99px;background:rgba(255,255,255,.08);border:1px solid var(--c-line);color:var(--c-txt)}
html body main#main{display:flex;flex-direction:column;gap:12px;padding:12px 14px 20px}
/* page titles: compact, left aligned */
html body .section-head{padding:4px 2px 0}
html body .section-head h1{font-size:30px;line-height:1;margin:2px 0 4px;letter-spacing:0}
html body .section-head .muted{font-size:13px;color:var(--c-dim)}
html body .eyebrow{font-size:10px;letter-spacing:.14em;color:var(--c-pink);font-weight:700;margin:0 0 2px}
html body h2{font-size:18px;line-height:1.15;margin:0 0 4px}
html body .muted,html body .tiny{color:var(--c-dim);font-size:12.5px;line-height:1.45}
/* cards */
html body .card{margin:0;padding:14px;border-radius:20px;background:var(--c-card);border:1px solid var(--c-line);box-shadow:none}
/* HERO as cover card */
html body .hero{position:relative;margin:0;border-radius:24px;overflow:hidden;min-height:250px;padding:16px;display:flex;flex-direction:column;justify-content:flex-end;border:1px solid var(--c-line)}
html body .hero .hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
html body .hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,5,5,.1) 0%,rgba(5,5,5,.55) 55%,rgba(5,5,5,.95) 100%);z-index:1}
html body .hero>*:not(.hero-art){position:relative;z-index:2}
html body .hero .hero-top{position:absolute;top:12px;left:12px}
html body .hero h1{font-size:44px;line-height:.92;margin:0 0 6px}
html body .hero .hero-copy{font-size:13px;color:#e8def7;margin:0 0 10px}
html body .hero .hero-bottom{border-radius:14px;padding:8px 10px;background:rgba(255,255,255,.1);backdrop-filter:blur(10px);font-size:12.5px}
html body .art-credit{font-size:10px;opacity:.5;margin:-6px 4px 0;text-align:right}
/* rules: swipeable story cards */
html body #rules .card.rules-card{padding:0;background:transparent;border:0}
html body .story-rail{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -14px;padding:2px 14px 8px;list-style:none;scrollbar-width:none}
html body .story-rail::-webkit-scrollbar{display:none}
html body .story-rail li{flex:0 0 78%;scroll-snap-align:start;position:relative;min-height:150px;padding:34px 14px 14px;border-radius:20px;background:linear-gradient(150deg,var(--c-card2),var(--c-card));border:1px solid var(--c-line);font-size:13.5px;line-height:1.4;color:#d9d0ea;counter-increment:none}
html body .story-rail li::before{content:attr(data-step);position:absolute;top:12px;left:14px;font-size:10px;letter-spacing:.12em;color:var(--c-lime);font-weight:700;background:none;width:auto;height:auto;border-radius:0;display:block}
html body .story-rail li strong{display:block;font-size:17px;color:#fff;margin-bottom:4px;line-height:1.15}
html body .story-rail li:nth-child(odd){border-top:3px solid var(--c-pink)}
html body .story-rail li:nth-child(even){border-top:3px solid var(--c-violet)}
html body .rules-list{counter-reset:none}
/* map */
html body .card>.group-map-card{padding:0;border:0;background:transparent}
html body .map-canvas{border-radius:16px;overflow:hidden;height:200px}
/* buttons */
html body .btn,html body .upload-btn{min-height:46px;border-radius:14px;font-weight:700;font-size:15px}
html body .btn:not(.ghost):not(.small),html body .upload-btn:not(.library){background:linear-gradient(135deg,var(--c-violet),var(--c-pink));color:#fff;border:0;box-shadow:0 8px 20px -8px rgba(245,77,74,.6)}
html body .btn.secondary{background:var(--c-lime);color:#fff;box-shadow:none}
html body .btn.ghost,html body .upload-btn.library{background:rgba(255,255,255,.07);border:1px solid var(--c-line);color:var(--c-txt)}
/* Play: action tiles */
html body .play-progress{background:linear-gradient(135deg,rgba(245,77,74,.28),rgba(255,122,92,.08));border:0}
html body .checkin-card,html body .dare-deck{display:flex;flex-direction:column;gap:8px}
html body .dare-deck{background:linear-gradient(150deg,#1a1212,#0c0c0c);border-color:rgba(245,77,74,.25)}
html body .leader-row{display:flex;align-items:center;gap:10px;padding:10px 4px;border-bottom:1px solid var(--c-line)}
html body .leader-row.is-you{background:rgba(245,77,74,.1);border-radius:12px;padding:10px}
/* Photos: IG grid + collapsed help */
html body .photo-intro{display:flex;flex-direction:column;gap:10px}
html body .camera-badge{display:none}
html body .photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}
html body .photo-grid .empty{grid-column:1/-1}
html body details.more-info{border:1px solid var(--c-line);border-radius:12px;padding:8px 12px;background:rgba(255,255,255,.03)}
html body details.more-info summary{font-size:13px;font-weight:600;color:var(--c-dim);cursor:pointer}
html body .upload-controls{display:grid;grid-template-columns:1.4fr 1fr;gap:8px}
html body .check-label{font-size:13px;display:flex;gap:10px;align-items:flex-start;padding:10px;border-radius:12px;background:rgba(255,255,255,.04)}
/* Lounge: chat first, bubbles, composer docked */
html body .lounge-layout{display:flex;flex-direction:column;gap:12px}
html body .chat-card{padding:0;overflow:hidden;display:flex;flex-direction:column;min-height:52vh}
html body .messages{flex:1;padding:12px;display:flex;flex-direction:column;gap:10px}
html body .message{max-width:85%;background:var(--c-card2);border-radius:18px 18px 18px 6px;padding:8px 12px}
html body .message p{margin:2px 0 0;font-size:14px}
html body .message-meta{font-size:11px;color:var(--c-dim);display:flex;gap:8px;justify-content:space-between}
html body .composer{display:flex;gap:8px;align-items:flex-end;padding:10px;border-top:1px solid var(--c-line);background:var(--c-card)}
html body .composer textarea{flex:1;min-height:42px;max-height:100px;border-radius:22px;padding:10px 14px;font-size:16px}
html body .composer .btn{min-height:42px;border-radius:22px;padding:0 16px}
html body .lounge-notes{order:2}
html body .chat-card>.tiny{padding:0 12px 10px}
/* forms */
html body input,html body select,html body textarea{border-radius:14px;font-size:16px;background:rgba(255,255,255,.06);border:1px solid var(--c-line);color:var(--c-txt);padding:12px 14px}
html body .field-label{font-size:12px;font-weight:600;color:#d9cfe8}
/* bottom tab bar: IG style, full width, 5 icons */
html body .bottom-nav{position:fixed;left:0;right:0;bottom:0;width:auto;margin:0;transform:none;display:flex;justify-content:space-around;padding:6px 6px max(8px,env(safe-area-inset-bottom));border-radius:0;background:rgba(5,5,5,.94);backdrop-filter:blur(18px);border:0;border-top:1px solid var(--c-line);box-shadow:none}
html body .nav-item{flex:1;background:transparent!important;box-shadow:none!important;color:var(--c-dim);font-size:10px;gap:2px;padding:6px 0;border-radius:0;min-height:0;display:flex;flex-direction:column;align-items:center}
html body .nav-item svg{width:24px;height:24px}
html body .nav-item.active{color:#fff;background:transparent}
html body .nav-item.active svg{stroke:var(--c-pink);color:var(--c-pink)}
html body .nav-item.active span{color:#fff}
html body .nav-item.active::after{content:"";width:5px;height:5px;border-radius:50%;background:var(--c-pink);margin-top:1px}
html body .footnote{padding:0 14px 14px;font-size:11px;opacity:.55}
/* entry */
html body .entry-card,html body [data-action="select-event"]{border-radius:20px}
html body ol.rules-list.story-rail{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:10px!important;overflow-x:auto!important;padding:2px 14px 8px!important;margin:0 -14px!important}
html body ol.rules-list.story-rail>li{display:block!important;flex:0 0 78%!important;min-width:0;padding:34px 14px 14px!important;grid-template-columns:none!important;gap:0!important}
html body ol.rules-list.story-rail>li::before{position:absolute!important;top:12px!important;left:14px!important;background:none!important;color:var(--c-lime)!important;width:auto!important;height:auto!important;border-radius:0!important;font-size:10px!important;display:block!important;place-items:unset!important}
html body .hero h1{font-size:40px!important}
html body ol.rules-list.story-rail{scroll-padding-left:14px}
html body section[aria-label="Group map"]{padding:0;background:transparent;border:0}
html body section[aria-label="Group map"]>.eyebrow,html body section[aria-label="Group map"]>h2{display:none}
html body .group-map-card{background:var(--c-card)!important;border:1px solid var(--c-line)!important;padding:14px!important;border-radius:20px}
html body .group-map-card h2{font-family:inherit;font-size:18px}
:root{--accent:#f54d4a}
html body{background:#050505!important}
html body .wordmark{display:flex!important;align-items:center;gap:8px}
html body .wordmark::before{content:"";flex:0 0 40px;width:40px;height:40px;background:url(logo-badge.png) center/contain no-repeat}
html body .wordmark>span:first-child{font-size:0!important;width:0;overflow:hidden}
html body .wordmark{font-size:0}
html body .wordmark small,html body .wordmark>span:not(:first-child),html body .wordmark *:not(:first-child){font-size:9px!important;letter-spacing:.12em;color:var(--c-dim)}
html body .hero::after{background:linear-gradient(180deg,rgba(5,5,5,.05) 0%,rgba(5,5,5,.6) 55%,#050505 100%)}
html body .hero h1{color:#fff}
html body .section-head h1{background:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .btn.secondary,html body .btn:not(.ghost):not(.small),html body .upload-btn:not(.library){background:#f54d4a!important;color:#fff!important;box-shadow:0 8px 22px -10px rgba(245,77,74,.8)!important}
html body .nav-item.active svg{stroke:#f54d4a;color:#f54d4a}
html body .nav-item.active::after{background:#f54d4a}
html body .story-rail li:nth-child(odd),html body .story-rail li:nth-child(even){border-top:3px solid #f54d4a}
html body .story-rail li::before{color:#f54d4a!important}
html body dialog#captain-gate,html body dialog{border:1px solid var(--c-line)!important;background:#111!important;border-radius:22px}
html body input:focus,html body textarea:focus,html body select:focus{outline:2px solid #f54d4a!important;box-shadow:none!important;border-color:#f54d4a}
html body .next-event-symbol{color:#f54d4a!important}
html body .status-tag{background:rgba(245,77,74,.15)!important;color:#ff9c96!important;border:1px solid rgba(245,77,74,.35)!important}
html body .entry-card,html body .entry-page .card{background:#111!important;border:1px solid var(--c-line)!important}
html body .entry-card strong,html body .entry-page h1{color:#fff}
/* ===== v3 shell ===== */
html body .bottom-nav{display:none!important}
html body .app-shell{padding-bottom:96px}
#slct-nav{position:fixed;left:0;right:0;bottom:0;z-index:60;display:grid;grid-template-columns:1fr 1fr 74px 1fr 1fr;align-items:end;padding:6px 8px max(8px,env(safe-area-inset-bottom));background:rgba(5,5,5,.94);backdrop-filter:blur(18px);border-top:1px solid var(--c-line)}
#slct-nav .sn-item{background:none;border:0;color:#8f8f8f;display:flex;flex-direction:column;align-items:center;gap:2px;font:600 10px/1 inherit;padding:8px 0}
#slct-nav .sn-item svg{width:25px;height:25px}
#slct-nav .sn-item.on{color:#fff}#slct-nav .sn-item.on svg{color:#f54d4a;stroke:#f54d4a}
#slct-nav .sn-plus{justify-self:center;width:58px;height:58px;margin-top:-26px;border-radius:50%;border:4px solid #050505;background:linear-gradient(135deg,#f54d4a,#ff7a5c);color:#fff;display:grid;place-items:center;box-shadow:0 10px 26px -6px rgba(245,77,74,.75)}
#slct-nav .sn-plus svg{width:28px;height:28px;stroke-width:2.6}
#slct-sheet[hidden]{display:none}
#slct-sheet{position:fixed;inset:0;z-index:80}
#slct-sheet .ss-scrim{position:absolute;inset:0;background:rgba(0,0,0,.6)}
#slct-sheet .ss-panel{position:absolute;left:0;right:0;bottom:0;background:#121212;border-radius:26px 26px 0 0;padding:10px 16px max(18px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:10px;border-top:1px solid var(--c-line)}
#slct-sheet .ss-grab{width:40px;height:4px;border-radius:9px;background:#444;margin:0 auto 4px}
#slct-sheet h3{margin:0 0 2px;font-size:18px}
#slct-sheet .ss-btn{display:flex;gap:14px;align-items:center;text-align:left;padding:14px;border-radius:18px;background:#1b1b1b;border:1px solid var(--c-line);color:#fff}
#slct-sheet .ss-btn svg{width:30px;height:30px;color:#f54d4a;flex:none}
#slct-sheet .ss-btn b{display:block;font-size:16px}#slct-sheet .ss-btn small{color:#a8a8a8;font-size:12.5px}
#slct-sheet .ss-cancel{background:none;border:0;color:#a8a8a8;padding:8px;font-size:14px}
/* stories */
#slct-stories{display:flex;gap:14px;overflow-x:auto;padding:6px 2px 4px;scrollbar-width:none}
#slct-stories::-webkit-scrollbar{display:none}
#slct-stories .story{flex:0 0 auto;background:none;border:0;display:flex;flex-direction:column;align-items:center;gap:6px;color:#e8e8e8;width:64px}
#slct-stories .ring{width:62px;height:62px;border-radius:50%;padding:2.5px;background:conic-gradient(from 200deg,#f54d4a,#ff9a5c,#f54d4a)}
#slct-stories .in{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:#0b0b0b;border:2px solid #050505;color:#fff}
#slct-stories .in svg{width:26px;height:26px}
#slct-stories em{font-style:normal;font-size:11px;color:#cfcfcf}
.feed-h{margin:6px 2px -4px;font-size:15px;color:#fff}
/* board */
#slct-board{display:flex;flex-direction:column;gap:14px}
.sb-you{display:flex;gap:14px;align-items:center;padding:16px;border-radius:22px;background:linear-gradient(140deg,rgba(245,77,74,.28),rgba(245,77,74,.05));border:1px solid rgba(245,77,74,.3)}
.sb-ring{--p:0;flex:none;width:84px;height:84px;border-radius:50%;background:conic-gradient(#f54d4a calc(var(--p)*1%),rgba(255,255,255,.12) 0);display:grid;place-content:center;text-align:center;position:relative}
.sb-ring::before{content:"";position:absolute;inset:7px;border-radius:50%;background:#0d0d0d}
.sb-ring b,.sb-ring small{position:relative}.sb-ring b{font-size:26px;line-height:1}.sb-ring small{font-size:10px;color:#a8a8a8}
.sb-you h2{margin:0 0 2px;font-size:22px}
.sb-pod{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:8px;align-items:end}
.pod{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 6px 10px;border-radius:18px;background:#141414;border:1px solid var(--c-line);text-align:center;min-height:120px;justify-content:flex-end}
.pod.p1{min-height:150px;background:linear-gradient(180deg,rgba(245,77,74,.25),#141414);border-color:rgba(245,77,74,.45)}
.pod .av{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#f54d4a;font-weight:800;font-size:18px;color:#fff}
.pod b{font-size:20px}.pod em{font-style:normal;font-size:11px;color:#bdbdbd;line-height:1.2}.pod i{position:absolute;top:8px;left:10px;font-style:normal;font-size:11px;color:#f54d4a;font-weight:800}
.pod.you{outline:2px solid #fff}
.sb-act{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.sb-act button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 4px;border-radius:18px;background:#161616;border:1px solid var(--c-line);color:#fff;font-weight:700;font-size:12.5px}
.sb-act svg{width:26px;height:26px;color:#f54d4a}
body[data-view="play"] .checkin-card,body[data-view="play"] .dare-deck,body[data-view="play"] .play-progress{display:none}
body[data-view="play"] .section-head{display:none}
body[data-view="play"] .more-info{background:transparent;border:0;padding:0}
body[data-view="play"] .more-info>summary{padding:4px 2px 8px}
/* profile */
#slct-me{padding:6px 2px 2px}
.me-top{display:flex;align-items:center;gap:18px}
.me-av{flex:none;width:84px;height:84px;border-radius:50%;display:grid;place-items:center;font-size:36px;font-weight:800;background:conic-gradient(from 200deg,#f54d4a,#ff9a5c,#f54d4a);color:#fff;box-shadow:inset 0 0 0 4px #050505}
.me-stats{display:flex;flex:1;justify-content:space-around;text-align:center}
.me-stats b{display:block;font-size:20px}.me-stats span{font-size:11px;color:#a8a8a8}
.me-name{margin:10px 0 0;font-size:18px}
.me-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.badge{padding:6px 12px;border-radius:99px;background:rgba(245,77,74,.16);border:1px solid rgba(245,77,74,.4);color:#ffb3ae;font-size:12px;font-weight:700}
