/* GDF Live — spectator additions on top of companion-assets/app.css */
.lv-brand { font-family: 'Oswald', sans-serif; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.lv-brand b { color: var(--accent); }
.lv-ttl { font-family: 'Oswald', sans-serif; font-size: 15px; letter-spacing: 0.3px; }
.live-index { padding: 0 16px calc(24px + env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; }
.live-body .cp-header .cp-signin { font-size: 12px; }

/* Find */
.find-box { display: flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--border-2); border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow); }
.find-box svg { flex-shrink: 0; stroke: var(--muted); }
.find-box input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font-size: 16px; font-family: inherit; outline: none; }
.find-box button { background: transparent; border: 0; color: var(--muted); font-size: 18px; padding: 0 4px; }
.find-hint { font-size: 12.5px; color: var(--muted); margin: 8px 2px 0; }
.find-title { font-family: 'Oswald', sans-serif; font-size: 22px; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.1; margin: 4px 0 10px; }
.find-title b { color: var(--accent); }
.hit { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--text); width: 100%; text-align: left; cursor: pointer; }
.hit:active { background: var(--tap); }
.hit .fl { font-size: 22px; min-width: 32px; text-align: center; flex-shrink: 0; letter-spacing: 2px; }
.hit .who { flex: 1; min-width: 0; }
.hit .who .n { font-family: 'Oswald', sans-serif; font-size: 15px; letter-spacing: 0.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hit .who small { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hit .st { flex-shrink: 0; text-align: right; }
.hit .st .tno { margin: 0; }

/* Subject card (player / team) */
.subj { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.subj .top { display: flex; align-items: center; gap: 12px; padding: 14px 16px 10px; }
.subj .top .fl { font-size: 34px; line-height: 1; }
.subj .top .n { font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 700; line-height: 1.1; }
.subj .top .n small { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 400; font-size: 13px; color: var(--muted); letter-spacing: 0.5px; margin-top: 2px; }
.subj .fbtn { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.subj .fbtn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.subj .now { padding: 14px 16px 16px; color: #fff; background: linear-gradient(118deg, var(--hero-from) 0%, var(--hero-to) 100%); }
.subj .now.calm { background: var(--surface-2); color: var(--text); }
.subj .now .k { font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.85; display: flex; align-items: center; gap: 8px; }
.subj .now .k .cp-dot { background: currentColor; animation: cpPulse 1.6s infinite; }
.subj .now .tbl-n { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 46px; line-height: 1; margin: 8px 0 4px; }
.subj .now .tbl-n small { font-size: 16px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.85; margin-left: 8px; font-weight: 600; }
.subj .now .opp { font-family: 'Oswald', sans-serif; font-size: 15px; opacity: 0.95; }
.subj .now .sc { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; font-family: 'Barlow Condensed', sans-serif; }
.subj .now .sc b { font-family: 'Oswald', sans-serif; font-size: 34px; line-height: 1; }
.subj .now .sc small { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; opacity: 0.8; }
.subj .now .cta { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: #fff; color: var(--accent); text-decoration: none; font-family: 'Oswald', sans-serif; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; width: 100%; border: 0; cursor: pointer; }
.subj .now.calm .cta { background: var(--accent); color: #fff; }
.subj .meta { padding: 10px 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.subj .meta .line { display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.subj .meta .line .k { font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); min-width: 84px; }
.subj .players a, .subj .players span { color: var(--text); text-decoration: none; }

/* Following list */
.fol { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.fol .fl { font-size: 22px; }
.fol .who { flex: 1; min-width: 0; }
.fol .who .n { font-family: 'Oswald', sans-serif; font-size: 15px; }
.fol .who small { display: block; color: var(--muted); font-size: 12px; }

/* Home big CTA */
.find-cta { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: linear-gradient(118deg, var(--hero-from) 0%, var(--hero-to) 100%); color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.find-cta .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.find-cta .ic svg { stroke: #fff; }
.find-cta .tx { flex: 1; min-width: 0; }
.find-cta .tx b { display: block; font-family: 'Oswald', sans-serif; font-size: 17px; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.1; }
.find-cta .tx small { font-size: 12.5px; opacity: 0.9; }
.find-cta .go { font-size: 22px; opacity: 0.85; }

/* Presented-by line */
/* "Presented by" — a quiet chip on the title row, never a banner */
.lv-tr { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.lv-tr h1 { flex: 1; min-width: 0; }
.pres { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; text-decoration: none; color: var(--muted); padding: 4px 8px 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 6px; }
.pres .pk { font-family: 'Oswald', sans-serif; font-size: 8.5px; letter-spacing: 1.2px; text-transform: uppercase; }
.pres img { height: 16px; max-width: 64px; object-fit: contain; display: block; }
.pres b { font-family: 'Oswald', sans-serif; font-size: 11px; color: var(--text); letter-spacing: 0.5px; }

/* Map legend + tap */
.map-tools { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.lgd { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.lgd i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid var(--tm-border, rgba(255,255,255,0.2)); }
.lgd .l { background: rgba(200,16,46,0.5); border-color: #C8102E; } .lgd .d { background: rgba(255,255,255,0.06); opacity: 0.45; } .lgd .y { background: #C8102E; }
[data-theme="light"] .lgd .d { background: rgba(15,23,42,0.08); }
[data-theme="light"] .tm-table { --tm-border: rgba(15,23,42,0.16); --tm-table: #fff; --tm-text: #0F172A; }
[data-theme="light"] .tm-zone { --tm-zone: #E0E7FF; --tm-zone-b: #A5B4FC; --tm-zone-t: #1B2A6B; }

/* Featured card */
.feat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; }
.feat .k { font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); display: flex; align-items: center; gap: 8px; }
.feat .ln { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-family: 'Oswald', sans-serif; font-size: 16px; }
.feat .ln .fl { font-size: 20px; }
.feat .ln .n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat .ln .s { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 600; min-width: 40px; text-align: right; }
.feat .ln.lead .s { color: var(--accent-text); }
.feat .sub { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 6px; }

.join { margin-top: 18px; border-radius: 14px; border: 1px dashed var(--border-2); padding: 14px 16px; text-align: center; }
.join p { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.qr-share { text-align: center; padding: 12px; }
.qr-share img { width: 150px; height: 150px; background: #fff; padding: 8px; border-radius: 10px; }

/* Highlights list (own class — .ins-row in app.css is a horizontal snap strip with negative margins) */
.hl-card { padding: 4px 14px; }
.hl { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.hl:last-child { border-bottom: 0; }
.hl > .cp-muted { flex-shrink: 0; }
.hl-v { text-align: right; min-width: 0; display: flex; flex-direction: column; align-items: flex-end; }
.hl-v small { font-size: 12px; }

/* Favourite star + predictions */
.feat .k { align-items: center; }
.fav-btn { background: transparent; border: 0; color: var(--amber); font-size: 18px; line-height: 1; padding: 0 2px; cursor: pointer; opacity: 0.6; }
.fav-btn.on { opacity: 1; }
.feat.fav { border-color: var(--amber); }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pick { position: relative; overflow: hidden; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); border-radius: 10px; padding: 10px 12px; text-align: left; cursor: pointer; font-family: inherit; }
.pick:disabled { cursor: default; opacity: 0.8; }
.pick.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.pick .pn { display: block; font-family: 'Oswald', sans-serif; font-size: 14px; position: relative; z-index: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick .pp { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 600; position: relative; z-index: 1; }
.pick i { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--accent); transition: width 0.4s; }
#shareHost { position: fixed; left: -9999px; top: 0; }

.subj .top .fl { white-space: nowrap; letter-spacing: -2px; flex-shrink: 0; }
.hit .fl { white-space: nowrap; }

/* ── Fan Engagement Phase 1: reactions · Fan Zone · Fan Favorite ── */
.rx-bar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.rx-bar.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rx { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; padding: 6px 2px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); cursor: pointer; font-family: inherit; -webkit-tap-highlight-color: transparent; user-select: none; transition: transform 0.08s; }
.rx:active { transform: scale(0.9); background: var(--tap); }
.rx .e { font-size: 22px; line-height: 1; }
.rx b { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1; }
.rx-float { position: fixed; z-index: 60; font-size: 28px; pointer-events: none; animation: rxFloat 1.2s ease-out forwards; will-change: transform, opacity; }
@keyframes rxFloat { 0% { transform: translate(0, 0) scale(0.8); opacity: 1; } 60% { opacity: 1; } 100% { transform: translate(var(--dx, 0), -140px) scale(1.5); opacity: 0; } }
.fz-card { padding: 12px 14px; }
.fz-k { font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fz-hint { font-size: 12px; text-align: center; margin-top: 8px; }
.fz-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; margin-top: 8px; flex-wrap: wrap; }
.fz-who { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.fz-who .fl { font-size: 26px; white-space: nowrap; letter-spacing: -2px; }
.fz-who .grow { flex: 1; min-width: 0; }
.fz-who .n { font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fz-who small { display: block; font-size: 12px; }
.fz-who.mine { padding: 8px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.fz-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fz-chips .chip { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); font-family: 'Oswald', sans-serif; font-size: 13px; cursor: pointer; }
.fav-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.fav-row { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); }
.fav-row.mine { border-color: var(--accent); }
.fav-row .pos { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: 'Oswald', sans-serif; font-size: 12px; font-weight: 700; background: var(--border-2); color: var(--text); flex-shrink: 0; position: relative; z-index: 1; }
.fav-row .pos.p1 { background: #FFD700; color: #1B2A6B; } .fav-row .pos.p2 { background: #C0C0C0; color: #1B2A6B; } .fav-row .pos.p3 { background: #CD7F32; color: #fff; }
.fav-row .fl { font-size: 20px; position: relative; z-index: 1; }
.fav-row .grow { flex: 1; min-width: 0; position: relative; z-index: 1; }
.fav-row .n { font-family: 'Oswald', sans-serif; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav-row small { display: block; font-size: 11.5px; }
.fav-row b { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 600; position: relative; z-index: 1; }
.fav-row i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--accent); transition: width 0.4s; }
.hit .btn.btn-sm { flex-shrink: 0; }
/* GDF Live carries FIVE tabs (Live · Find · Map · Fans · More) — the shared bar is a 4-column grid */
.live-body .cp-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fz-award { padding: 10px 12px; border-radius: 12px; background: linear-gradient(118deg, rgba(255,215,0,0.12), rgba(200,16,46,0.08)); border: 1px solid rgba(255,215,0,0.45); margin-bottom: 12px; }
.fz-award .fz-who { margin-bottom: 6px; }
.fz-award-stats { display: flex; gap: 14px; flex-wrap: wrap; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; color: var(--muted); }
.fz-award-stats b { font-family: 'Oswald', sans-serif; font-size: 18px; color: var(--text); margin-right: 5px; }
.ch-bar { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-bar .chip { padding: 9px 12px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); font-family: 'Oswald', sans-serif; font-size: 13px; cursor: pointer; }
.ch-bar .chip:disabled { opacity: 0.45; cursor: default; }
.fz-chips .chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.fz-chips .chip:disabled { opacity: 0.4; cursor: default; }
.fz-flash .cp-card { box-shadow: 0 0 0 3px var(--accent-soft); transition: box-shadow 0.3s; }
/* Danger-zone style action: translucent red, never solid */
.btn-danger-soft { background: rgba(200,16,46,0.14); border-color: rgba(200,16,46,0.35); color: #FCA5A5; }
[data-theme="light"] .btn-danger-soft { background: rgba(200,16,46,0.10); border-color: rgba(200,16,46,0.35); color: #991B1B; }
.fz-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: -4px 0 10px; }
.fz-actions .fbtn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
