/* Title Cup — night-match broadcast look */
:root { --bg: #07101c; --bg2: #0c1828; --card: #111f33; --card2: #172a44; --line: #22385a; --ink: #eef3fa; --muted: #8b9bb3; --gold: #e8c65a; --gold2: #c9a227; --green: #2fb36b; --red: #e5484d; --blue: #4f8df5; --r: 14px; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); overscroll-behavior-y: none; }
body { margin: 0; background: radial-gradient(120% 60% at 50% -10%, #133055 0%, var(--bg) 60%) no-repeat, var(--bg); color: var(--ink); font: 15px/1.45 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; min-height: 100vh; padding-bottom: calc(72px + env(safe-area-inset-bottom)); overscroll-behavior-y: none; }
body.nonav { padding-bottom: 0; } body.nonav #nav, body.nonav #top { display: none; }
body.watching { overflow: hidden; }
a { color: var(--gold); }
h1, h2, h3, h4, .big, .score, .h { font-family: Oswald, 'Arial Narrow', sans-serif; font-weight: 600; letter-spacing: .02em; margin: 0; }
h2 { font-size: 22px; } h3 { font-size: 20px; margin-bottom: 8px; } .big { font-size: 22px; }
.h { font-size: 24px; margin: 4px 0 12px; text-transform: uppercase; }
button { font: inherit; color: inherit; }
input, select, textarea { width: 100%; background: var(--bg2); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 16px; }
textarea { min-height: 84px; resize: vertical; }
select { width: auto; padding: 8px 10px; }
.pad { padding: 12px 14px 20px; max-width: 640px; margin: 0 auto; }
.row { display: flex; align-items: center; } .col { display: flex; flex-direction: column; } .end { align-items: flex-end; } .between { justify-content: space-between; } .gap { gap: 10px; } .grow { flex: 1; min-width: 0; } .wrapx { flex-wrap: wrap; }
.center { text-align: center; } .r { text-align: right; } .ml { margin: -6px 0 6px 46px; }
.muted { color: var(--muted); } .small { font-size: 13.5px; } .tiny { font-size: 12px; } .okc { color: var(--green); } .warn { color: #ffb648; }
.tap { cursor: pointer; }
.card { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin: 10px 0; }
.card.warn { border-color: #6b4a14; background: #2a1d08; color: #ffd28a; }
.card.offer { border-color: #6c5a1c; background: linear-gradient(135deg, #2b2410, #141b2a); }
.card.offer b { color: var(--gold); }
.k { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sec { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 18px 0 6px; }
.lbl { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 14px 0 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .grid2 .card { margin: 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.list { padding-left: 18px; } .list li { margin: 4px 0; }
.code { display: block; word-break: break-all; background: var(--bg); padding: 10px; border-radius: 8px; font-size: 12px; margin: 6px 0; user-select: all; }
.loading { padding: 30px; text-align: center; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--card2); border: 1px solid #2c4a74; border-radius: 12px; padding: 11px 16px; font-weight: 600; cursor: pointer; min-height: 44px; text-align: center; line-height: 1.2; }
.btn:active { transform: scale(.98); }
.btn.gold { background: linear-gradient(180deg, #f4d872, var(--gold2)); color: #1d1500; border-color: #f4d872; box-shadow: 0 6px 18px rgba(232, 198, 90, .2); }
.btn.ghost { background: transparent; } .btn.red { color: #ff8c8f; border-color: #5a2830; }
.btn.big { font-size: 18px; padding: 15px 26px; } .btn.block { display: flex; width: 100%; margin-top: 16px; }
.btn.sm { min-height: 34px; padding: 7px 11px; font-size: 13.5px; border-radius: 10px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.icon-btn { background: var(--card); border: 1px solid var(--line); border-radius: 12px; width: 42px; height: 42px; font-size: 18px; position: relative; cursor: pointer; }
.dot { position: absolute; top: -5px; right: -5px; background: var(--red); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; border-radius: 9px; min-width: 18px; height: 18px; line-height: 18px; padding: 0 4px; }
.spin { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: sp .7s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }

/* top bar and nav */
#top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; padding: calc(8px + env(safe-area-inset-top)) 14px 8px; background: rgba(7, 16, 28, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
#top .logo { font-family: Oswald, sans-serif; font-weight: 700; letter-spacing: .12em; color: var(--gold); font-size: 17px; display: flex; align-items: center; gap: 7px; }
#top .logo img { width: 24px; height: 24px; }
#wallet { margin-left: auto; display: flex; gap: 6px; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 5px 10px; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.chip.tok { color: #9fd0ff; }
#nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; display: grid; grid-template-columns: repeat(6, 1fr); background: rgba(9, 18, 31, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
/* 1.4.8: the bottom bar stays put on iPhone while scrolling. It gets its own layer (no re-positioning as Safari's toolbar slides),
   a solid colour instead of a live blur (the blur made it shudder during momentum scrolling), and a skirt below it so the page
   never shows underneath when the screen bounces. The page background no longer uses 'fixed', which iOS repaints on every scroll. */
#nav { background: #09121f; backdrop-filter: none; -webkit-backdrop-filter: none; transform: translate3d(0, 0, 0); -webkit-transform: translate3d(0, 0, 0); will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; touch-action: manipulation; }
#nav::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 120px; background: #09121f; pointer-events: none; }
#nav button { background: none; border: 0; padding: 8px 0 7px; font-size: 10.5px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; }
#nav button i { font-style: normal; font-size: 20px; filter: grayscale(.6); }
#nav button.on { color: var(--gold); } #nav button.on i { filter: none; }

/* tabs and segmented choices */
.tabs { display: flex; gap: 4px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 10px; position: sticky; top: calc(58px + env(safe-area-inset-top)); z-index: 5; }
.tabs button { flex: 1; background: none; border: 0; border-radius: 9px; padding: 9px 4px; font-weight: 600; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.tabs button.on { background: var(--card2); color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; }
.seg button.on { border-color: var(--gold); background: #2a2410; color: var(--gold); }
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 20px; background: var(--card2); border: 1px solid var(--line); vertical-align: middle; margin-left: 4px; }
.pill.ok { background: #0f3324; border-color: #1f6b47; color: #7fe0aa; } .pill.red { background: #3a1418; border-color: #6b2830; color: #ff9da0; } .pill.gold { background: #2a2410; border-color: #6c5a1c; color: var(--gold); }

/* onboarding */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px 20px; background: linear-gradient(180deg, rgba(7,16,28,.55), rgba(7,16,28,.92) 70%), url(../img/hero.jpg) center/cover, var(--bg); }
.hero-in { max-width: 420px; } .hero h1 { font-size: 46px; letter-spacing: .14em; color: var(--gold); margin: 10px 0; text-shadow: 0 4px 30px rgba(232, 198, 90, .35); }
.hero p { color: #c8d4e6; margin: 0 0 22px; }
.preview { position: sticky; top: 8px; z-index: 4; }
.flags { display: flex; flex-wrap: wrap; gap: 5px; } .flag { font-size: 22px; background: var(--bg2); border: 1px solid var(--line); border-radius: 9px; padding: 3px 6px; cursor: pointer; }
.flag.on { border-color: var(--gold); background: #2a2410; }
.fl { display: inline-block; width: 1.34em; height: 1em; vertical-align: -0.14em; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.fl0 { background: #5b6576; }
.flag { line-height: 1; padding: 6px 7px; } .flag .fl { vertical-align: middle; }
.sws { display: flex; flex-wrap: wrap; gap: 7px; }
.sw { width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); cursor: pointer; }
.sw.on { border: 3px solid var(--gold); box-shadow: 0 0 0 2px var(--bg); }

/* home */
.club-head { margin: 4px 0 6px; } .club-head h2 { font-size: 24px; }
.match-card { background: radial-gradient(120% 120% at 50% 0%, #1b3a63, #0f1c2f 70%); }
.mc-top { display: flex; justify-content: space-between; align-items: center; }
.mc-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; text-align: center; margin: 12px 0; gap: 6px; }
.mc-teams > div { display: flex; flex-direction: column; align-items: center; gap: 4px; } .mc-teams b { font-size: 14px; line-height: 1.2; }
.vs { font-family: Oswald, sans-serif; font-size: 15px; color: var(--gold); background: #0a1422; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.live { color: #ff5a5f; animation: pulse 1.4s infinite; } @keyframes pulse { 50% { opacity: .45; } }
.score { font-size: 24px; } .chev { color: var(--muted); }
.tasks { list-style: none; padding: 0; margin: 8px 0 0; } .tasks li { padding: 5px 0 5px 26px; position: relative; font-size: 14px; }
.tasks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); }
.tasks li.done { color: var(--muted); text-decoration: line-through; } .tasks li.done::before { background: var(--green); border-color: var(--green); }

/* players */
.prow { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid rgba(34, 56, 90, .6); }
.prow.sel { background: #1a2a12; border-radius: 10px; }
.prow b { font-size: 14.5px; }
.ovr { display: inline-block; min-width: 34px; text-align: center; font-family: Oswald, sans-serif; font-size: 16px; border-radius: 8px; padding: 2px 5px; color: #0a0f18; }
.o1 { background: #8c96a6; } .o2 { background: #6fc28f; } .o3 { background: #4fb0f0; } .o4 { background: #c792ff; } .o5 { background: linear-gradient(180deg, #ffe58a, #e0b23a); }
.bar { display: block; width: 44px; height: 5px; background: #0a1422; border-radius: 3px; margin-top: 5px; overflow: hidden; } .bar i { display: block; height: 100%; background: var(--green); }
.bar.mid i { background: #f2c230; } .bar.bad i { background: var(--red); }
.mor { font-size: 16px; width: 20px; text-align: center; }
.stars { color: var(--gold); letter-spacing: 1px; }
.pot { margin: 10px 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.attrs { display: grid; gap: 7px; margin: 10px 0; }
.attr { display: grid; grid-template-columns: 92px 1fr 30px; align-items: center; gap: 8px; font-size: 13.5px; }
.bar2 { position: relative; height: 9px; background: #0a1422; border-radius: 5px; overflow: hidden; }
.bar2 i { position: absolute; left: 0; top: 0; bottom: 3px; background: linear-gradient(90deg, #2f6fd6, #4fb0f0); border-radius: 5px; }
.bar2 em { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--gold); }
.drills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chipp { display: inline-block; background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; font-size: 12.5px; margin: 3px 3px 0 0; }
.chipp.gd { border-color: #1f6b47; color: #9ff0c0; } .chipp.bd { border-color: #6b2830; color: #ffaaad; }

/* lineup pitch */
.pitchbox { position: relative; aspect-ratio: 3 / 4; margin: 10px 0; border-radius: 14px; overflow: hidden; border: 1px solid #2c5a3a;
  background: repeating-linear-gradient(180deg, #1f6b3a 0 12.5%, #23753f 12.5% 25%); box-shadow: inset 0 0 60px rgba(0, 0, 0, .35); }
.pitchbox::before { content: ''; position: absolute; inset: 4%; border: 2px solid rgba(255, 255, 255, .5); border-radius: 2px; }
.pitchbox::after { content: ''; position: absolute; left: 30%; right: 30%; bottom: 4%; height: 14%; border: 2px solid rgba(255, 255, 255, .5); border-bottom: 0; }
.slot { position: absolute; transform: translate(-50%, -50%); background: none; border: 0; display: flex; flex-direction: column; align-items: center; cursor: pointer; z-index: 2; width: 64px; }
.slot em { font-style: normal; font-size: 11px; font-weight: 700; background: rgba(0, 0, 0, .55); border-radius: 5px; padding: 0 4px; white-space: nowrap; max-width: 70px; overflow: hidden; text-overflow: ellipsis; }
.slot i { font-style: normal; font-size: 10px; color: #d9f5e2; }
.slot.empty span { width: 30px; height: 30px; border-radius: 50%; border: 2px dashed #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.bench { display: flex; flex-wrap: wrap; }

/* fixtures and tables */
.fx { display: grid; grid-template-columns: 70px 1fr 20px 46px 20px 1fr; align-items: center; gap: 6px; padding: 8px 2px; border-bottom: 1px solid rgba(34, 56, 90, .6); font-size: 13.5px; }
.fx .w70 { width: 70px; } .fx .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fx .t.r { text-align: right; } .fx .b { font-weight: 700; color: var(--gold); }
.fx .sc { text-align: center; font-family: Oswald, sans-serif; font-size: 15px; background: #0a1422; border-radius: 7px; padding: 2px 0; }
.fx .sc.W { background: #0f3324; color: #8ff0b5; } .fx .sc.L { background: #3a1418; color: #ffb0b2; } .fx .sc.D { background: #2a2a2a; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 6px; }
.tbl th { color: var(--muted); font-weight: 600; font-size: 11.5px; padding: 6px 3px; }
.tbl td { text-align: center; padding: 7px 3px; border-bottom: 1px solid rgba(34, 56, 90, .6); }
.tbl .l { text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.tbl td.l svg { vertical-align: middle; margin-right: 4px; }
.tbl tr.me td { background: rgba(232, 198, 90, .1); font-weight: 700; }
.tbl tr.up td:first-child { box-shadow: inset 3px 0 0 var(--green); } .tbl tr.down td:first-child { box-shadow: inset 3px 0 0 var(--red); }
.cupc { border-color: #6c5a1c; }
.wk { border-color: #6c5a1c; background: radial-gradient(120% 100% at 0% 0%, #3a2f0e, var(--card) 60%); }

/* facilities */
.fac .ficon { font-size: 26px; } .trophies { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.trophy { background: var(--card); border: 1px solid #6c5a1c; border-radius: 12px; padding: 10px 6px; text-align: center; display: flex; flex-direction: column; font-size: 26px; }
.trophy b { font-size: 12px; margin-top: 4px; } .note { border-bottom: 1px solid var(--line); padding: 8px 0; } .note p { margin: 0 0 2px; }

/* store */
.passes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .pass { margin: 0; position: relative; display: flex; flex-direction: column; }
.pass ul { padding-left: 16px; margin: 8px 0; flex: 1; } .pass.best { border-color: var(--gold); }
.pass .tag { position: absolute; top: -9px; right: 10px; background: var(--gold); color: #1d1500; font-size: 10.5px; font-weight: 800; border-radius: 6px; padding: 1px 6px; }
.price { font-family: Oswald, sans-serif; font-size: 24px; color: var(--gold); } .price small { font-size: 13px; color: var(--muted); }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pack { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: 12px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.pack b { color: #9fd0ff; font-size: 15px; } .pack span { font-weight: 700; }
@media (max-width: 380px) { .passes { grid-template-columns: 1fr; } .packs { grid-template-columns: 1fr 1fr; } }

/* sheets, toasts */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0); display: flex; align-items: flex-end; justify-content: center; transition: background .25s; }
.sheet-wrap.on { background: rgba(0, 0, 0, .6); }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; background: var(--bg2); border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0; padding: 18px 16px calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .25s ease-out; }
.sheet.tall { min-height: 60vh; } .sheet-wrap.on .sheet { transform: none; }
.sheet .x { position: absolute; top: 10px; right: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 50%; width: 32px; height: 32px; cursor: pointer; z-index: 2; }
.sheet details { border-bottom: 1px solid var(--line); padding: 8px 0; } .sheet summary { font-weight: 700; cursor: pointer; padding: 4px 0; }
.starsel { display: flex; gap: 6px; font-size: 32px; justify-content: center; } .starsel button { background: none; border: 0; color: var(--gold); cursor: pointer; }
#toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translate(-50%, 30px); opacity: 0; transition: .25s; z-index: 90; background: #182c47; border: 1px solid #2c4a74; border-radius: 12px; padding: 10px 16px; max-width: 92vw; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); pointer-events: none; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }

/* match screen */
.watch { position: fixed; inset: 0; z-index: 50; background: #04090f; display: flex; flex-direction: column; overflow-y: auto; }
.w-top { display: flex; align-items: center; gap: 10px; padding: calc(8px + env(safe-area-inset-top)) 12px 8px; }
.w-fix { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; } .w-fix b { font-family: Oswald, sans-serif; font-size: 24px; }
.stage { position: relative; width: 100%; aspect-ratio: 3 / 4; max-height: 62vh; flex-shrink: 0; background: #0b2414; }
.stage canvas { width: 100%; height: 100%; display: block; }
.w-ctl { display: flex; gap: 6px; padding: 8px 12px; align-items: center; }
.w-ctl button { background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 6px 12px; font-weight: 700; cursor: pointer; }
.w-ctl button.on { border-color: var(--gold); color: var(--gold); }
.w-feed { padding: 0 12px; font-size: 13.5px; } .w-feed div { display: flex; gap: 8px; padding: 4px 0; border-bottom: 1px solid rgba(34, 56, 90, .5); }
.w-feed i { font-style: normal; color: var(--muted); width: 30px; flex-shrink: 0; text-align: right; } .w-feed .goal { color: var(--gold); font-weight: 700; } .w-feed .red { color: #ff8c8f; } .w-feed .yel { color: #ffd76a; }
#wend { padding: 0 12px 24px; }
.srow { display: flex; justify-content: space-between; font-size: 13.5px; margin-top: 8px; } .srow span { color: var(--muted); }
.sbar { height: 5px; background: #6b2830; border-radius: 3px; overflow: hidden; margin-top: 3px; } .sbar i { display: block; height: 100%; background: var(--blue); }
.ratings { display: flex; flex-wrap: wrap; }
#splash { position: fixed; inset: 0; z-index: 99; background: var(--bg); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; font-family: Oswald, sans-serif; letter-spacing: .14em; color: var(--gold); }
/* computers and tablets: the match fills the screen, broadcast shape (1.3.0) */
@media (min-width: 700px) {
  .stage { aspect-ratio: 16 / 9; width: min(100%, calc((100vh - 170px) * 16 / 9)); max-height: calc(100vh - 170px); margin: 0 auto; }
  .w-ctl, .w-feed, #wend { width: min(100%, calc((100vh - 170px) * 16 / 9)); margin-left: auto; margin-right: auto; box-sizing: border-box; }
}

/* v1.2 */
.tabs.scroll { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs.scroll::-webkit-scrollbar { display: none; }
.tabs.scroll button { flex: 1 1 auto; white-space: normal; line-height: 1.15; padding: 8px 4px; font-size: 12.5px; }
.tabs.scroll { align-items: stretch; }
.regs { margin: 8px 0 4px; } .regs button { padding: 6px 9px; font-size: 12.5px; }
.pager { margin: 8px 0; }
.bootsw { display: inline-block; width: 30px; height: 14px; border-radius: 8px 10px 4px 4px; border: 1px solid rgba(0,0,0,.4); box-shadow: inset 0 -4px 0 rgba(0,0,0,.35); flex: none; }
.bootsw.big { width: 48px; height: 22px; }
.gearc { margin-top: 8px; padding: 10px; }
.gearlist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gearit { display: flex; flex-direction: column; gap: 2px; text-align: left; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 9px; color: var(--ink); cursor: pointer; min-width: 0; }
.gearit.on { border-color: var(--gold); background: #2a2410; }
.gearit b { font-size: 14px; } .bootprev { margin: 10px 0; }
.attr sup { font-size: 10px; margin-left: 2px; }
.staffc details summary, .card details summary { cursor: pointer; color: var(--gold); margin-top: 6px; }
.staffc .stars, .prow .stars { color: var(--gold); font-size: 12px; letter-spacing: 1px; }
.offc .row.gap { margin-top: 6px; } .offc .btn.sm { padding: 7px 6px; }

/* v1.2.1: South America launch offer */
.sacard { position: relative; overflow: hidden; border-color: #2f7d4f; background: linear-gradient(135deg, #0e3a29 0%, #12284a 62%, #2b2410 100%); }
.saflag { height: 4px; margin: -12px -14px 10px; background: linear-gradient(90deg, #12a150 0 25%, #f2c230 25% 50%, #75aadb 50% 75%, #ffffff 75%); }
.sakick { color: #9fe3bd; margin-bottom: 2px; }
.sacard .satitle { display: block; font-family: Oswald, 'Arial Narrow', sans-serif; font-size: 19px; font-weight: 600; color: #fff; line-height: 1.2; margin-bottom: 4px; }
.sacard h3 { color: #fff; margin-bottom: 4px; }
.sacard p { margin: 4px 0 8px; } .sacard p b { color: var(--gold); }
.sacd { font-variant-numeric: tabular-nums; color: #cfe9da; } .sacd b { color: var(--gold); font-family: Oswald, 'Arial Narrow', sans-serif; font-size: 20px; letter-spacing: .05em; margin-left: 2px; }
.sacard .btn.sm { padding: 7px 12px; font-size: 13.5px; white-space: nowrap; }
.saopt { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 8px 0; }
.saopt.best { border-color: var(--gold); }
.saopt > .row b { font-size: 15px; }
.saprice { margin: 2px 0; line-height: 1.3; } .saprice s { color: var(--muted); font-size: 14px; } .saprice > b { font-family: Oswald, 'Arial Narrow', sans-serif; font-size: 26px; color: var(--gold); } .saprice small { color: var(--muted); }
.saopt .loc, .sacard .loc { color: var(--ink); font-size: 12.5px; white-space: nowrap; font-weight: 400; }
.sabadge { background: var(--green); color: #04150c; font-weight: 800; font-size: 12px; border-radius: 6px; padding: 1px 7px; flex: none; }
.saopt ul { margin: 6px 0 8px; padding-left: 16px; } .saopt li { margin: 2px 0; }
.note.saoffer { border-left: 3px solid #2f7d4f; padding-left: 8px; } .note.saoffer.tap p { color: #fff; }
.sasign { font-style: italic; color: #cfe9da; }
.sheet.saoffer > .sacard:first-of-type { margin-top: 40px; }
/* v1.4.4: Black Friday flash deal */
.bfcard { position: relative; overflow: hidden; border: 1px solid #f2c230; background: radial-gradient(120% 90% at 100% 0%, rgba(242,194,48,.22) 0%, rgba(242,194,48,0) 55%), linear-gradient(160deg, #0b0b0d 0%, #16161b 60%, #231c08 100%); box-shadow: 0 0 0 1px rgba(242,194,48,.15), 0 8px 24px rgba(0,0,0,.35); }
.bftag { display: flex; justify-content: space-between; gap: 8px; margin: -12px -14px 10px; padding: 5px 14px; background: #f2c230; color: #0b0b0d; font-family: Oswald, 'Arial Narrow', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .14em; }
.bfcard .bftitle { display: block; font-family: Oswald, 'Arial Narrow', sans-serif; font-size: 21px; font-weight: 700; color: #fff; line-height: 1.15; margin: 0 0 4px; text-transform: uppercase; letter-spacing: .02em; }
.bfcard p { margin: 4px 0 8px; } .bfcard p b { color: var(--gold); } .bfcard p s { color: var(--muted); }
.bfcard .btn.sm { padding: 7px 12px; font-size: 13.5px; white-space: nowrap; }
.bfcd { font-variant-numeric: tabular-nums; color: var(--gold); font-family: Oswald, 'Arial Narrow', sans-serif; font-size: 20px; letter-spacing: .05em; margin-left: 2px; }
.bfcard .sacd { color: #e9e3cf; }
.bfopt { position: relative; } .bfopt.best { background: linear-gradient(160deg, #1b170a 0%, var(--bg2) 70%); }
.bfbest { position: absolute; top: -9px; right: 12px; background: var(--gold); color: #0b0b0d; font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; border-radius: 6px; padding: 1px 8px; }
.bfopt .sabadge { background: #e8443a; color: #fff; }
.note.bfoffer { border-left: 3px solid #f2c230; padding-left: 8px; } .note.bfoffer.tap p { color: #fff; }
.bfnote { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; color: #e9e3cf; font-size: 13px; } .bfnote .btn.sm { margin-left: auto; padding: 6px 10px; font-size: 13px; }
.sheet.bfsheet > .bfcard:first-of-type { margin-top: 40px; }
/* v1.2.2 player survey */
.svcard { position: relative; border-color: #6c5a1c; background: linear-gradient(135deg, #2b2410 0%, #172a44 70%); padding-right: 40px; }
.svcard .svx { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); color: var(--muted); font-size: 13px; cursor: pointer; }
.svcard .svicon { font-size: 26px; line-height: 1; }
.svcard .svtitle { display: block; font-family: Oswald, 'Arial Narrow', sans-serif; font-size: 18px; font-weight: 600; line-height: 1.25; color: #fff; }
.svgold, .svbadge { color: var(--gold); white-space: nowrap; }
.svcard p { margin: 4px 0 8px; }
.svcard .btn.sm { padding: 7px 14px; }
.svdots { display: inline-flex; gap: 6px; align-items: center; }
.svdots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; transition: .2s; }
.svdots i.on { background: var(--gold); box-shadow: 0 0 8px rgba(232, 198, 90, .5); }
.svdots.big i { width: 11px; height: 11px; } .svdots i.cur { outline: 2px solid var(--gold); outline-offset: 2px; }
.sheet.survey { min-height: 62vh; padding-top: 20px; }
.svhead { display: flex; align-items: center; gap: 10px; padding-right: 38px; flex-wrap: wrap; }
.svbadge { margin-left: auto; background: #2a2410; border: 1px solid #6c5a1c; border-radius: 20px; padding: 4px 10px; font-weight: 800; font-size: 13.5px; }
.svbadge.paid { color: #7fe0aa; background: #0f3324; border-color: #1f6b47; }
.svq { font-family: Oswald, 'Arial Narrow', sans-serif; font-size: 22px; font-weight: 600; margin: 14px 0 10px; line-height: 1.25; }
.svchips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.svchip { display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 10px 12px; text-align: left; background: var(--card); color: var(--ink); border: 1.5px solid var(--line); border-radius: 14px; font: 600 14.5px/1.25 Inter, system-ui, sans-serif; cursor: pointer; transition: .15s; overflow-wrap: anywhere; }
.svchip span { font-size: 19px; flex-shrink: 0; }
.svchip.wide { grid-column: 1 / -1; }
.svchip.on { border-color: var(--gold); background: #2a2410; color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.svchips.multi .svchip.on::after { content: '✓'; margin-left: auto; font-weight: 800; }
.svchip:active { transform: scale(.97); }
.svtext { width: 100%; margin-top: 10px; box-sizing: border-box; } .svtext.hide { display: none; } .svtext, textarea.svtext { font: 400 15.5px/1.4 Inter, system-ui, sans-serif; } textarea.svtext { min-height: 78px; } textarea.svtext.big { min-height: 150px; }
.svstars { display: flex; justify-content: center; gap: 4px; margin: 6px 0 2px; }
.svstars button { background: none; border: 0; font-size: 46px; line-height: 1; color: #2a3b57; cursor: pointer; padding: 2px 4px; transition: transform .12s, color .12s; }
.svstars button.on { color: var(--gold); text-shadow: 0 0 14px rgba(232, 198, 90, .45); } .svstars button:active { transform: scale(1.2); }
.svnav { margin-top: 16px; } .svnav .btn { padding-left: 14px; padding-right: 14px; } .svnav .btn.gold { white-space: nowrap; }
.svdone { padding: 18px 4px 4px; } .svbig { font-size: 56px; animation: svpop .5s ease-out; } .svearn { font-family: Oswald, 'Arial Narrow', sans-serif; font-size: 38px; color: var(--gold); margin: 4px 0; animation: svpop .6s ease-out; }
.svpop { display: inline-block; color: var(--gold); font-weight: 800; animation: svpop .5s ease-out; }
@keyframes svpop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.18); opacity: 1; } 100% { transform: scale(1); } }
.svrow b { font-size: 15px; }
@media (max-width: 360px) { .svchips { grid-template-columns: 1fr; } }
.note.checkout { border-left: 3px solid #c9a227; padding-left: 8px; } .note.checkout.tap p { color: #fff; }
.ckfocus { outline: 2px solid #c9a227; outline-offset: 2px; animation: ckpulse 1.2s ease-in-out 2; } @keyframes ckpulse { 50% { outline-color: transparent; } }
/* All-Access Pass (1.3.0) */
.aacard { position: relative; border: 1px solid rgba(201, 162, 39, .55); background: linear-gradient(135deg, rgba(201, 162, 39, .14), rgba(20, 32, 54, .9) 60%); }
.aacard .tag { display: inline-block; background: var(--gold); color: #1d1500; font-size: 10.5px; font-weight: 800; border-radius: 6px; padding: 1px 6px; vertical-align: middle; }
.aacard .tag.new { background: #e53935; color: #fff; margin-left: 4px; }
.aacard .code, .sheet .code { font-family: ui-monospace, Menlo, monospace; letter-spacing: .5px; }
.aacard .aasale { color: #ffd76a; margin: 6px 0; }
.sheet .pass .btn.block { margin-top: 6px; font-size: 13px; }
.sheet .pass .btn s { opacity: .6; font-weight: 400; }
.sheet .passes { display: block; }
.sheet .passes .pass { margin-bottom: 10px; }
.sheet .pass .btn.block { display: block; width: 100%; text-align: center; white-space: normal; line-height: 1.35; padding: 9px 10px; }
.aacard .price { font-size: 17px; white-space: nowrap; }
/* first-day guide (1.3.0) */
.guide { border: 1px solid rgba(201, 162, 39, .45); }
.gsteps { list-style: none; padding: 0; margin: 8px 0 10px; counter-reset: g; }
.gsteps li { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px 8px 34px; border-radius: 10px; position: relative; counter-increment: g; }
.gsteps li::before { content: counter(g); position: absolute; left: 8px; top: 9px; width: 18px; height: 18px; border-radius: 50%; background: var(--line); color: var(--muted); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.gsteps li.done::before { content: '✓'; background: var(--gold); color: #1d1500; }
.gsteps li.tap:hover { background: rgba(255, 255, 255, .04); cursor: pointer; }
.gsteps li.done b { opacity: .7; }
.upbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 60; background: var(--gold); color: #1d1500; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 800; font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.45); cursor: pointer; max-width: calc(100% - 32px); }

/* ---------- 1.4.0 Friend Leagues ---------- */
.flt { display: inline-block; flex: none; filter: drop-shadow(0 3px 6px rgba(0,0,0,.35)); }
.flhero { border-color: #6c5a1c; background: radial-gradient(120% 120% at 0% 0%, #3a2f0e 0%, #141b2a 60%); }
.flhero .big { color: var(--gold); }
.flhero .grid2 { margin-top: 10px; } .flhero .grid2 + .grid2 { margin-top: 8px; }
.flcard .chev, .flnext .chev { color: var(--muted); }
.flhead h3 { margin: 0 0 2px; }
.flhead .row.gap + .row.gap { margin-top: 10px; }
.card.xmas { border-color: #1f5a37; background: linear-gradient(135deg, #12301f, #2a1414); }
.card.xmas b { color: #ffd76a; }
.card.flpromo { position: relative; border-color: var(--gold2); background: radial-gradient(140% 140% at 0% 0%, #4a3a0c 0%, #1a1608 45%, #111f33 100%); box-shadow: 0 0 0 1px rgba(232,198,90,.25), 0 8px 24px rgba(232,198,90,.12); }
.card.flpromo .big { color: var(--gold); }
.card.flpromo .x { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: var(--muted); font-size: 16px; cursor: pointer; }
.card.flnext { border-color: #2c4a7a; }
.newdot { font-style: normal; font-size: 9.5px; font-weight: 800; background: var(--gold); color: #1a1406; border-radius: 6px; padding: 1px 5px; margin-left: 4px; vertical-align: 1px; }
.seg.days button { min-width: 44px; justify-content: center; }
.code.big { font-family: Oswald, Arial, sans-serif; font-size: 30px; letter-spacing: .18em; text-align: center; color: var(--gold); padding: 8px; }
.invite { background: rgba(232,198,90,.12); border: 1px solid var(--gold2); border-radius: 12px; padding: 10px 12px; color: var(--gold); font-weight: 600; }
.w20 { width: 20px; text-align: center; }
/* the big What's New announcement */
.annc { text-align: center; margin: -4px -4px 6px; padding: 16px 12px 12px; border-radius: 14px; background: radial-gradient(120% 120% at 50% 0%, #4a3a0c 0%, #141b2a 70%); border: 1px solid var(--gold2); }
.annc .kick { font: 700 12px/1 Inter, sans-serif; letter-spacing: .2em; color: #1a1406; background: var(--gold); display: inline-block; padding: 4px 8px; border-radius: 6px; }
.annc h2 { font-size: 30px; color: var(--gold); margin: 8px 0 4px; text-transform: uppercase; }
.annc .cups { display: flex; justify-content: center; gap: 4px; align-items: flex-end; margin: 6px 0; }
.annc p { margin: 6px 0; }
.annc .btn { margin-top: 8px; }
/* 1.4.2 pay in the real browser */
ol.steps { margin: 8px 0 12px; padding-left: 22px; } ol.steps li { margin: 6px 0; }
a.btn.block { display: flex; justify-content: center; text-decoration: none; }

/* 1.4.5 Manager's guide */
.gtour-sheet .gtour { display: flex; flex-direction: column; gap: 10px; }
.gtour .gdots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.gtour .gdots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.gtour .gdots i.done { background: rgba(232,198,90,.55); }
.gtour .gdots i.on { background: var(--gold); width: 22px; border-radius: 4px; }
.gtour .gicon { font-size: 46px; text-align: center; line-height: 1; margin-top: 6px; }
.gtour h3 { margin: 0; }
.gtour p { margin: 0; line-height: 1.5; }
.gtour p b { color: var(--gold); }
.gtour .gtip { border-left: 3px solid rgba(232,198,90,.6); padding-left: 10px; }
.gtour .gnav { margin-top: 4px; }
/* 1.4.7 invites & ambassadors */
.ambb { font-size: .85em; margin-left: 2px; }
.card.locked { opacity: .65; }
.ambmsgs { max-height: 240px; overflow-y: auto; margin: 6px 0; display: flex; flex-direction: column; gap: 6px; }
.amsg { padding: 8px 10px; border-radius: 10px; font-size: 13px; max-width: 88%; background: rgba(255,255,255,.06); }
.amsg.me { align-self: flex-end; background: rgba(242,194,48,.16); }
.amsg.team { align-self: flex-start; }
.ambsheet input, .invsheet input, .rnsheet input { min-width: 0; }
.rnsheet .short { width: 5.5em; text-transform: uppercase; text-align: center; letter-spacing: 2px; }
.bar.wide { width: 100%; height: 8px; margin: 6px 0 4px; }

/* 1.5.0 languages */
.langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; margin-top: 8px; }
.langs button { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 9px 8px; font-size: 14px; cursor: pointer; color: inherit; font-family: inherit; }
.langs button.on { border-color: var(--gold); background: #2a2410; color: var(--gold); }

/* 1.6.3: Google Play button on the welcome screen */
.gpbtn{display:flex;width:max-content;align-items:center;gap:10px;margin:14px auto 6px;padding:8px 18px;background:#000;color:#fff;border:1px solid #9aa4b2;border-radius:10px;text-decoration:none;text-align:left;line-height:1.05}.gpbtn small{display:block;font-size:10px;letter-spacing:.04em;opacity:.85}.gpbtn b{display:block;font-size:18px;font-weight:600}
