/* 11BALLR fans' app (1.47, the visual refresh of 28 Oct 2026): pure black behind everything, four neutral layered
   surfaces that read as cards, Manrope, and the life comes from the accents — the brand green for what is live and
   the one action on a screen (lime only on the verified seal); platinum (white-silver) for Premium and Touches; coral for a liked post; sky for links. */
:root {
  --bg: #000000; --s1: #0E0F0E; --s2: #151716; --s3: #1C1F1D; --line: #1C1F1D; --line2: #2A2E2C; --line3: #242826;
  --tx: #F4F5F4; --dim: #BFC5C1; --mut: #858D88; --mut2: #7A827D; --faint: #5C645F;
  --silver: #E6EBF0; --edge: #363B38; --edge2: #4C5450;
  --green: #22C76A; --green2: #4ADC86; --btn-edge: rgba(34, 199, 106, .7); --lime: #C8FF4A; --pill: #1C1F1D; --red: #FF5C6C; --blue: #5FB3FF;
  --plat: #E6EBF0; --plat-grad: linear-gradient(160deg, #F7F9FB, #C9D3DC); --heart: #FF5C6C; --ink: #000000;
  --grad: var(--s1);
  --nav: 232px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--tx); font-family: Manrope, Inter, system-ui, -apple-system, Segoe UI, sans-serif; -webkit-font-smoothing: antialiased; }
body { min-height: 100dvh; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
img { display: block; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 8px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--mut); } .small { font-size: 13px; } .tiny { font-size: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.row { display: flex; align-items: center; gap: 8px; } .col { display: flex; flex-direction: column; } .grow { flex: 1; min-width: 0; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- layout */
.app { min-height: 100dvh; }
.main { padding-bottom: calc(72px + env(safe-area-inset-bottom)); min-width: 0; }
.dnav { display: none; }
@media (min-width: 1024px) {
  .app { display: grid; grid-template-columns: var(--nav) minmax(0, 1fr); }
  .dnav { display: flex; flex-direction: column; gap: 4px; padding: 24px 16px; border-right: 1px solid var(--line); position: sticky; top: 0; height: 100dvh; }
  .main { padding-bottom: 40px; }
  .island, .mtop { display: none !important; }
}
.page { display: flex; flex-direction: column; gap: 14px; padding: 16px; }
.split { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1024px) {
  .page { padding: 24px 32px; gap: 16px; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
  .split3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 380px; }
  .split-l { grid-template-columns: 420px minmax(0, 1fr); }
}
.stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (min-width: 1024px) { .stack { gap: 16px; } }

/* ---------- desktop nav */
.dnav .logo { height: 22px; width: auto; align-self: flex-start; margin: 0 12px 24px; }
.navlink { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 12px; border-radius: 12px; color: var(--dim); font-size: 15px; font-weight: 600; }
.navlink:hover { color: var(--tx); background: var(--s1); }
.navlink[aria-current=page] { background: var(--s2); color: var(--green); font-weight: 800; border-radius: 14px; }
.navlink .badge { margin-left: auto; }
.navlink.soon { opacity: .55; }
.dnav .me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--tx); }
.dnav .me:hover { background: var(--s1); color: var(--tx); }

/* ---------- desktop top */
.dtop { display: none; }
@media (min-width: 1024px) {
  .dtop { display: flex; align-items: center; gap: 14px; padding: 22px 32px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 3; background: rgba(0, 0, 0, .9); backdrop-filter: blur(14px); }
  .dtop h1 { font-size: 28px; font-weight: 800; letter-spacing: -.025em; }
  .dtop .sub { font-size: 14px; color: var(--mut); }
  .dtop .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
}
.searchbox { display: flex; align-items: center; gap: 10px; width: 300px; height: 42px; padding: 0 14px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line3); color: var(--mut); font-size: 14px; }
.searchbox:hover { color: var(--tx); }

/* ---------- mobile top */
.mtop { position: sticky; top: 0; z-index: 4; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; padding-top: max(8px, env(safe-area-inset-top)); background: rgba(0, 0, 0, .92); backdrop-filter: blur(14px); }
.mtop.back { border-bottom: 1px solid var(--line); }
.mtop .title { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.mtop.back .title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.mtop .sub { font-size: 12px; color: var(--mut); font-weight: 500; }
.mtop .logo { height: 20px; width: auto; }
.mtop .acts { display: flex; gap: 2px; }
.ibtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--dim); flex: none; }
.ibtn:hover { background: var(--s2); color: var(--tx); }
.ibtn.sm { width: 40px; height: 40px; }
.ibtn.boxed { background: transparent; border: 1px solid var(--edge2); }
.ibtn.green { color: var(--silver); }

/* ---------- phone tab bar: flush with the bottom, the full width, a silver hairline above it */
.island { position: fixed; left: 0; right: 0; bottom: 0; height: calc(58px + env(safe-area-inset-bottom)); padding: 0 4px env(safe-area-inset-bottom); background: #000; border-top: 1px solid var(--line2); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); z-index: 6; }
.island a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--dim); }
.island a[aria-current=page] { color: var(--green); font-weight: 800; }
.island .badge { position: absolute; top: 6px; left: calc(50% + 7px); }
.badge { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--green); color: var(--ink); font-size: 10px; font-weight: 800; display: inline-grid; place-items: center; }
.fab { display: none; }

/* ---------- drawer */
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 20; }
.drawer { position: fixed; left: 0; top: 0; bottom: 0; width: 304px; max-width: 86vw; background: var(--bg); border-right: 1px solid var(--line2); display: flex; flex-direction: column; padding: 16px 12px 20px; z-index: 21; overflow-y: auto; animation: slidein .18s ease-out; }
@keyframes slidein { from { transform: translateX(-24px); opacity: .4; } to { transform: none; opacity: 1; } }
.drawer .grp { padding: 12px 12px 6px; font-size: 12px; font-weight: 600; color: var(--mut2); }
.drawer .navlink { height: 46px; color: #E6EBE7; }

/* ---------- buttons, chips, controls */
/* the main button (28 Nov 2026, Mohamed: the filled green was too loud): the site's own background, a green edge, green words.
   --btn-edge is the green at 70%; the other kinds (.sec, .white, .prem, .danger) are as they were */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--btn-edge); background: var(--bg); color: var(--green2); font-size: 14px; font-weight: 800; white-space: nowrap; }
.btn svg { color: currentColor; flex: none; }
.btn:hover { color: var(--green2); border-color: var(--green2); background: rgba(34, 199, 106, .1); }
.btn.sec { border-width: 1px; border-color: var(--edge2); background: transparent; color: var(--tx); font-weight: 700; }
.btn.sec:hover { color: var(--tx); border-color: var(--silver); background: rgba(255, 255, 255, .06); }
.btn.white { border-width: 1px; border-color: #fff; background: #fff; color: #000; }
.btn.white:hover { background: #E6EBF0; border-color: #E6EBF0; color: #000; }
.btn.prem { border: 0; background: var(--plat-grad); color: #0E151B; }
.btn.prem:hover { background: linear-gradient(160deg, #FFFFFF, #D9E1E8); color: #0E151B; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn.lg { height: 52px; font-size: 15px; }
.btn.full { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.danger { background: transparent; border-width: 1px; border-color: var(--edge); color: var(--red); }
.btn.danger:hover { background: rgba(255, 92, 108, .08); border-color: var(--red); color: var(--red); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--mut); border: 1px solid var(--line3); white-space: nowrap; flex: none; }
.chip[aria-pressed=true] { background: var(--s3); border-color: var(--edge2); color: var(--tx); font-weight: 700; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line2); flex: none; }
.seg button { height: 30px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--mut); }
.seg button[aria-checked=true] { background: var(--s3); color: var(--tx); font-weight: 800; }
.tabs { display: flex; gap: 22px; padding: 0 16px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { padding: 12px 0; font-size: 15px; font-weight: 700; color: var(--mut); border-bottom: 2.5px solid transparent; white-space: nowrap; }
.tabs button[aria-selected=true] { color: var(--tx); font-weight: 800; border-bottom-color: var(--green); }
@media (min-width: 1024px) { .tabs { padding: 0 32px; gap: 28px; } }
.toggle { position: relative; width: 46px; height: 28px; border-radius: 999px; background: var(--s3); border: 1px solid var(--line2); flex: none; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #5D6B62; transition: left .15s; }
.toggle[aria-checked=true] { background: rgba(22, 198, 96, .14); border-color: rgba(22, 198, 96, .55); }
.toggle[aria-checked=true]::after { left: 21px; background: var(--green); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--dim); }
.input { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line2); }
.input:focus-within { border-color: var(--green); }
.input svg { color: var(--mut); flex: none; }
.input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font-size: 15px; }
.input input::placeholder { color: var(--faint); }
.hint { font-size: 13px; color: var(--mut); line-height: 1.5; }
.err { font-size: 13px; color: var(--red); }

/* ---------- cards and headings */
.card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line3); min-width: 0; }
.card.flush { padding: 0; overflow: hidden; gap: 0; }
.h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.h2 h2 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.h2 .aside { font-size: 13px; color: var(--mut); }
.group { display: flex; align-items: center; justify-content: space-between; padding: 6px 2px 0; font-size: 13px; font-weight: 700; color: var(--dim); }
.group span { font-size: 12px; font-weight: 500; color: var(--mut); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; background: var(--s2); border: 1px solid var(--line2); min-width: 0; }
.tile b { font-size: 26px; font-weight: 800; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.tile span { font-size: 12px; color: var(--mut); }
.tile em { font-style: normal; font-size: 12px; color: var(--green); font-weight: 700; }
.empty { padding: 28px 16px; text-align: center; color: var(--mut); font-size: 14px; line-height: 1.5; }
.skel { border-radius: 14px; background: linear-gradient(90deg, #0E0F0E, #161816, #0E0F0E); background-size: 200% 100%; animation: sk 1.2s infinite linear; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.livedot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; display: inline-block; }
.live { color: var(--green); font-weight: 700; }
.stripe { width: 4px; height: 18px; border-radius: 2px; flex: none; display: inline-block; }

/* ---------- avatars, crests, seals */
.av { border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: none; overflow: hidden; color: var(--tx); }
.av img { width: 100%; height: 100%; object-fit: cover; }
.crest { border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--s3); border: 2px solid var(--edge2); color: var(--tx); font-weight: 800; letter-spacing: -.02em; overflow: hidden; }
/* a logo sits in a plain block of the asked size: as a grid item its height was a percentage of an auto row, so a logo
   taller than it is wide (Liverpool, Tottenham) grew past the box and was cut at the bottom (1.67) */
.crest.logo { display: block; background: transparent; border: 0; border-radius: 0; }
.crest.logo img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- match rows */
.mrow { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: center; gap: 8px; padding: 14px 12px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); color: var(--tx); }
.mrow:hover { color: var(--tx); border-color: var(--line2); }
.mrow.is-live { background: var(--s2); border-color: var(--edge); }
.mrow .side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mrow .side.r { justify-content: flex-end; text-align: right; }
.mrow .name { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow .mid { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mrow .sc { font-size: 18px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mrow .note { font-size: 11px; font-weight: 600; color: var(--mut); display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.mrow .note.live { color: var(--green); font-weight: 700; }
@media (min-width: 1024px) { .mrow:not(.compact) .name { font-size: 16px; } .mrow:not(.compact) { grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); padding: 14px 16px; } }
.tile.small b { font-size: 18px; }
.strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 6px 16px 10px; }
.strip::-webkit-scrollbar { display: none; }
.mini { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line3); color: var(--tx); flex: none; }
.mini:hover { color: var(--tx); border-color: var(--edge2); }
.mini.is-live { background: var(--s2); border-color: var(--edge); }
.mini .st { font-size: 12px; font-weight: 700; color: var(--mut); white-space: nowrap; }
.mini.is-live .st { color: var(--green); }
.mini .ln { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 1024px) { .strip { padding: 20px 32px 6px; } }

/* ---------- days */
.days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 16px; }
.days::-webkit-scrollbar { display: none; }
.days button { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 62px; padding: 8px 10px; border-radius: 14px; color: var(--mut); flex: none; }
.days button b { font-size: 13px; } .days button span { font-size: 11px; font-weight: 500; }
.days button[aria-pressed=true] { background: var(--s3); box-shadow: inset 0 0 0 1px var(--edge2); color: var(--tx); }
@media (min-width: 1024px) { .days { padding: 0; } }

/* ---------- table */
.tbl-head, .tbl-row { display: grid; gap: 8px; align-items: center; padding: 0 12px; }
.tbl-head { padding: 10px 12px; font-size: 12px; font-weight: 600; color: var(--mut2); border-bottom: 1px solid var(--line); }
.tbl-row { height: 48px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--tx); }
.tbl-row:hover { background: var(--s1); color: var(--tx); }
.tbl-row.me { background: var(--s2); }
.tbl-row .r, .tbl-head .r { text-align: right; }
.tbl-m { grid-template-columns: 22px minmax(0, 1fr) 22px 34px 34px 62px; }
.tbl-d { grid-template-columns: 36px minmax(0, 1fr) repeat(7, 40px) 48px 100px; font-size: 15px; }
.form { display: flex; gap: 3px; } .form i { width: 8px; height: 8px; border-radius: 2px; display: block; }
.form i.W { background: var(--green); } .form i.D { background: #6E8078; } .form i.L { background: var(--red); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 14px 16px; font-size: 12px; color: var(--mut); }
.legend span { display: flex; align-items: center; gap: 6px; } .legend i { width: 10px; height: 10px; border-radius: 2px; display: block; }
.only-d { display: none; } @media (min-width: 1024px) { .only-d { display: revert; } .only-m { display: none !important; } }

/* ---------- lists */
.li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--tx); min-width: 0; }
.li:last-child { border-bottom: 0; }
.li:hover { color: var(--tx); }
.li .t { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.li .t b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .t span { font-size: 12px; color: var(--mut); }
.li .v { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- match centre */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 22px 16px 18px; border-radius: 0 0 22px 22px; }
/* the club's colour as a soft light behind its logo (1.67: it was a ring with a dark disc in the middle, which a logo's corners stuck out of) */
.hero .glow { display: inline-flex; position: relative; isolation: isolate; }
.hero .glow::before { content: ''; position: absolute; inset: -22px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, var(--g, transparent) 0%, transparent 68%); opacity: .5; pointer-events: none; }
.card > .hero { margin: -16px; border-radius: 18px; }
.hero .t { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--tx); }
.hero .t b { font-size: 15px; font-weight: 800; } .hero .t span { font-size: 12px; color: var(--mut); line-height: 1.4; }
.hero .score { font-size: 56px; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; text-align: center; }
.hero .clock { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--mut); margin-top: 6px; }
.hero .clock.live { color: var(--green); }
.ev { display: grid; grid-template-columns: 40px 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ev:last-child { border-bottom: 0; }
.ev .m { font-size: 14px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; }
.ev .ic { width: 30px; height: 30px; border-radius: 50%; background: var(--s2); border: 1px solid var(--line2); display: grid; place-items: center; color: var(--mut); }
.ev .ic.goal { background: rgba(22, 198, 96, .12); border-color: rgba(22, 198, 96, .35); color: var(--green); }
.ev .card-y { width: 10px; height: 14px; border-radius: 2px; background: #F2C230; } .ev .card-r { width: 10px; height: 14px; border-radius: 2px; background: var(--red); }
.ev .w b { font-size: 15px; display: block; } .ev .w span { font-size: 13px; color: var(--mut); }
.stat { display: flex; flex-direction: column; gap: 7px; padding: 8px 0; }
.stat .l { display: flex; justify-content: space-between; font-size: 14px; font-variant-numeric: tabular-nums; }
.stat .l span { color: var(--mut); }
.bars { display: flex; gap: 4px; height: 6px; } .bars i { display: block; border-radius: 3px; }
/* 1.67 line-ups: faces on the pitch, one side over the other, and a mark for what each player did */
.lu-pitch { display: flex; flex-direction: column; border-radius: 18px; border: 1px solid #1F3A28; overflow: hidden; position: relative;
  background: repeating-linear-gradient(180deg, #0E2016 0 64px, #0C1C13 64px 128px); }
.lu-pitch::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #24432F; pointer-events: none; }
.lu-pitch::after { content: ''; position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border: 1px solid #24432F; border-radius: 50%; pointer-events: none; z-index: 0; }
.lu-half { display: flex; flex-direction: column; gap: 14px; padding: 10px 4px 26px; position: relative; z-index: 1; }
.lu-half:not(.top) { padding: 26px 4px 10px; }
.lu-head { display: flex; align-items: center; gap: 8px; padding: 0 10px; font-size: 13px; }
.lu-head b { font-weight: 700; } .lu-head span { margin-left: auto; color: var(--dim); font-weight: 600; }
.lu-row { display: flex; justify-content: space-evenly; gap: 2px; }
.lu-p { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 68px; min-width: 0; color: var(--tx); }
.lu-p:hover { color: var(--tx); }
.lu-pic { position: relative; }
.lu-n { position: absolute; left: -7px; bottom: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center; font-size: 10px; font-weight: 800; box-shadow: 0 0 0 2px #0D1A12; font-variant-numeric: tabular-nums; }
.lu-r { position: absolute; right: -11px; top: -5px; padding: 1px 5px; border-radius: 7px; font-size: 10px; font-weight: 800; background: #1B231E; color: var(--tx); box-shadow: 0 0 0 2px #0D1A12; font-variant-numeric: tabular-nums; }
.lu-r.top { background: var(--green); color: var(--ink); }
.lu-card { position: absolute; left: -4px; top: -3px; width: 9px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 2px #0D1A12; }
.lu-card.card-y { background: #F2C230; } .lu-card.card-r { background: var(--red); }
.lu-off { display: inline-grid; place-items: center; color: var(--red); flex: none; }
.lu-name { display: flex; align-items: center; justify-content: center; gap: 3px; width: 88px; font-size: 11.5px; font-weight: 600; text-shadow: 0 1px 2px #000; }
.lu-name > span:not(.lu-off) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.lu-g { position: absolute; right: -8px; bottom: -4px; min-width: 18px; height: 18px; padding: 0 3px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 1px; background: #F5F7F5; color: #080B09; box-shadow: 0 0 0 2px #0D1A12; }
.lu-g b { font-size: 10px; font-weight: 800; }
.lu-name em { font-style: normal; font-size: 9px; font-weight: 800; padding: 0 4px; border-radius: 6px; background: #2A3A31; color: var(--dim); flex: none; }
.lu-bench { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lu-bench > div { display: flex; flex-direction: column; min-width: 0; }
.lu-bh { display: flex; align-items: center; gap: 8px; font-size: 13px; padding-bottom: 6px; }
.lu-b { display: flex; align-items: center; gap: 8px; padding: 5px 0; color: var(--tx); min-width: 0; }
.lu-b:hover { color: var(--tx); }
.lu-bt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.lu-bt b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lu-bt > span { font-size: 11px; color: var(--dim); white-space: nowrap; }
.lu-on { display: inline-flex; align-items: center; gap: 1px; margin-left: 6px; color: var(--green); font-weight: 700; }
.lu-bg { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; color: var(--tx); font-weight: 700; vertical-align: -1px; }
.lu-bc { display: inline-block; width: 8px; height: 11px; border-radius: 2px; margin-left: 6px; vertical-align: -1px; } .lu-bc.card-y { background: #F2C230; } .lu-bc.card-r { background: var(--red); }
.lu-br { font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 7px; background: var(--s3); flex: none; } .lu-br.top { background: #173A24; }
@media (min-width: 1024px) { .lu-p { width: 74px; } }
.lu-sub { margin: 16px 0 10px; font-size: 13px; font-weight: 700; color: var(--dim); }
.bottombar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 12px 16px max(24px, env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000 30%); z-index: 5; }
@media (min-width: 1024px) { .bottombar { display: none; } }

/* ---------- people & profile */
.pcard { display: flex; align-items: center; gap: 16px; padding: 20px 16px 8px; }
.pcard h1 { font-size: 28px; font-weight: 800; letter-spacing: -.025em; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line3); font-size: 13px; color: var(--dim); }
.pct { display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 10px; align-items: center; padding: 6px 0; }
.pct .bar { height: 6px; border-radius: 3px; background: var(--s3); overflow: hidden; } .pct .bar i { display: block; height: 100%; border-radius: 3px; }

/* ---------- sign in / onboarding */
.gate { min-height: 100dvh; display: flex; flex-direction: column; padding: 20px 22px 28px; max-width: 480px; margin: 0 auto; }
.gate .logo { height: 22px; width: auto; align-self: center; margin: max(20px, env(safe-area-inset-top)) 0 36px; }
.gate h1 { font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; }
.gate .intro { display: flex; flex-direction: column; }
.gate .intro .showcase { margin-top: 28px; }
.btip { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 22; width: min(420px, calc(100% - 32px)); padding: 24px 22px 20px; border-radius: 24px; background: var(--s1); border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0, 0, 0, .65); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.btip img { width: 44px; height: 44px; border-radius: 12px; }
.btip h2 { margin: 2px 0 0; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.btip p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--dim); }
.btip p b { color: var(--tx); font-weight: 800; }
.btip-acts { width: 100%; display: flex; gap: 10px; margin-top: 4px; }
.btip-acts .btn { flex: 1; height: 46px; }
.btip-acts .btip-ok { background: var(--tx); color: #000; border-color: var(--tx); font-weight: 800; }
.gate .input { background: transparent; border-color: var(--edge); }
.gate .input:focus-within { border-color: var(--green); }
.gate .actions { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.or { display: flex; align-items: center; gap: 12px; color: var(--mut2); font-size: 13px; } .or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
@media (min-width: 1024px) {
  .gate-wide { display: grid; grid-template-columns: minmax(0, 1fr) 520px; min-height: 100dvh; }
  .gate-wide .show { padding: 48px 64px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); position: relative; }
  .gate-wide .show > img { position: absolute; left: 64px; top: 44px; }
  .gate-wide .show h1 { font-size: 56px; line-height: 1.04; letter-spacing: -.035em; margin: 0 0 18px; max-width: 640px; }
  .gate-wide .show .showcase { margin-top: 40px; }
  .gate-wide .gate { max-width: none; justify-content: center; padding: 0 64px; }
  .gate-wide .gate .logo, .gate-wide .gate .intro { display: none; }
  .gate-wide .gate .actions { max-width: 400px; width: 100%; margin: 0 auto; }
}
.gate-wide .show { display: none; } @media (min-width: 1024px) { .gate-wide .show { display: flex; } }
.clubgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 1024px) { .clubgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; } }
.clubtile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--s1); }
.clubtile span { font-size: 12px; font-weight: 600; color: var(--dim); text-align: center; line-height: 1.2; }
.clubtile[aria-pressed=true] { box-shadow: 0 0 0 1.5px var(--green); background: var(--s2); }
.clubtile[aria-pressed=true] span { color: var(--tx); }
.clubtile .tick { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: var(--ink); display: grid; place-items: center; }
.progress { display: flex; gap: 6px; } .progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--line2); } .progress i.on { background: var(--green); }
.onb { max-width: 900px; margin: 0 auto; padding: 0 20px 120px; display: flex; flex-direction: column; gap: 16px; }
.onb h1 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.footbar { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 20px max(24px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); display: flex; gap: 10px; justify-content: center; z-index: 5; }
.footbar .btn { max-width: 520px; flex: 1; }

/* ---------- settings */
.sgroup { display: flex; flex-direction: column; gap: 8px; }
.sgroup > span { padding: 0 4px; font-size: 13px; font-weight: 700; color: var(--mut2); }
.sbox { border-radius: 16px; background: var(--s1); border: 1px solid var(--line); overflow: hidden; }
.srow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 15px; width: 100%; text-align: left; color: var(--tx); }
.srow:last-child { border-bottom: 0; }
.srow .v { display: flex; align-items: center; gap: 6px; color: var(--mut); font-size: 14px; }
.srow.danger { color: var(--red); }

/* ---------- install prompt */
.install { position: fixed; left: 14px; bottom: calc(68px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 4px; height: 48px; padding: 0 6px; border-radius: 999px; border: 1px solid var(--edge); background: rgba(14, 15, 14, .96); backdrop-filter: blur(14px); box-shadow: 0 10px 28px rgba(0, 0, 0, .5); z-index: 5; }
.install > button:first-child { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; font-size: 14px; font-weight: 600; }
.install img { width: 22px; height: 22px; border-radius: 6px; }
.install-d { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; border: 1px solid var(--line2); background: var(--s1); margin-top: 16px; }
@media (min-width: 1024px) { .install { display: none; } }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; background: var(--s1); border-top: 1px solid var(--line2); border-radius: 22px 22px 0 0; padding: 18px 20px max(28px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; max-width: 560px; margin: 0 auto; }
.sheet ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }

/* ---------- toast */
.toast { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 12px 18px; border-radius: 999px; background: var(--s3); border: 1px solid var(--line2); font-size: 14px; z-index: 30; box-shadow: 0 10px 28px rgba(0, 0, 0, .5); }

/* ---------- compare */
.cmp { display: flex; flex-direction: column; gap: 7px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cmp:last-child { border-bottom: 0; }
.cmp .l { display: grid; grid-template-columns: 60px minmax(0, 1fr) 60px; align-items: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.cmp .l span { text-align: center; color: var(--dim); } .cmp .l b:last-child { text-align: right; }
.cmp .b { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cmp .b > span { height: 6px; border-radius: 3px; background: var(--s3); display: flex; } .cmp .b > span:first-child { justify-content: flex-end; }
.cmp .b i { display: block; height: 100%; border-radius: 3px; }
.picker { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); min-width: 0; text-align: center; }
.picker b { font-size: 15px; } .picker span { font-size: 12px; color: var(--mut); }

/* ---------- explorer */
.xrow, .xhead { display: grid; grid-template-columns: 22px 36px minmax(0, 1fr) 44px 44px 50px; align-items: center; gap: 8px; }
.xhead { padding: 10px 0; font-size: 12px; font-weight: 600; color: var(--mut2); border-bottom: 1px solid var(--line); }
.xrow { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; color: var(--tx); }
.xrow:hover { color: var(--tx); background: var(--s1); }
.xhead button { text-align: right; font-weight: 600; color: var(--mut2); }
.xhead button[aria-sort] { color: var(--tx); }
.xd { grid-template-columns: 36px minmax(0, 1fr) 64px 48px repeat(6, 64px); padding-left: 16px; padding-right: 16px; }
.xd.xrow { height: 54px; padding-top: 0; padding-bottom: 0; font-size: 15px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: var(--s3); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--tx); cursor: pointer; }
.select { height: 42px; padding: 0 14px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line2); color: var(--tx); font-size: 14px; }

/* ---------- posts */
.post { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 16px 6px; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .post { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 24px 8px; } }
.post .who { gap: 6px; font-size: 15px; white-space: nowrap; min-width: 0; align-items: flex-start; }
.post .who .name { font-weight: 800; color: var(--tx); }
.post .text { color: var(--tx); font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.post .text a { color: var(--green); font-weight: 700; }
.post.big .text { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.post .acts { display: flex; align-items: center; justify-content: space-between; max-width: 360px; margin-left: -8px; }
.post .acts > * { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 8px; border-radius: 10px; color: var(--mut); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.post .acts > *:hover { color: var(--tx); background: var(--s2); }
.post .acts .on { color: var(--green); }
.post .menu { position: absolute; right: 0; top: 24px; background: var(--s3); border: 1px solid var(--line2); border-radius: 12px; padding: 4px; z-index: 5; box-shadow: 0 10px 28px rgba(0,0,0,.5); }
.post .menu button { display: block; padding: 10px 14px; font-size: 14px; color: var(--red); white-space: nowrap; }
.band { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--s1); border: 1px solid var(--line); color: var(--tx); min-width: 0; }
.band:hover { color: var(--tx); border-color: var(--line2); }
.band.is-live { background: var(--s2); border-color: var(--edge); }
.feedtabs { position: sticky; top: 60px; z-index: 3; background: rgba(0, 0, 0, .92); backdrop-filter: blur(14px); }
.talking { position: absolute; right: 16px; top: 13px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--mut); white-space: nowrap; }
@media (min-width: 1024px) { .talking { right: 32px; font-size: 13px; } }
@media (min-width: 1024px) { .feedtabs { top: 87px; } }
.composer { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px; }
.composer textarea { width: 100%; min-height: 120px; border: 0; outline: none; resize: none; background: transparent; color: var(--tx); font-size: 18px; line-height: 1.45; }
.composer textarea::placeholder { color: var(--faint); }
.tools { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-top: 1px solid var(--line); }
.ring { width: 22px; height: 22px; border-radius: 50%; }
.replybox { display: flex; align-items: center; gap: 4px; min-height: 52px; padding: 4px 6px 4px 16px; border-radius: 26px; background: var(--s1); border: 1px solid var(--line2); }
.replybox textarea { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--tx); font-size: 15px; resize: none; height: 22px; line-height: 22px; }
.sendbtn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--btn-edge); background: var(--bg); color: var(--green2); display: grid; place-items: center; flex: none; }
.sendbtn:hover { border-color: var(--green2); background: rgba(34, 199, 106, .1); }
.sendbtn:disabled { opacity: .5; }
.comment { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); }
.comment .who { gap: 6px; font-size: 14px; white-space: nowrap; align-items: flex-start; }
.comment p { font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.feedwrap { display: block; }
@media (min-width: 1024px) {
  .feedwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 380px); gap: 0; align-items: start; }
  .feedcol { border-right: 1px solid var(--line); min-height: 100dvh; }
  .feedside { padding: 24px 24px 24px 20px; position: sticky; top: 87px; }
  .quickpost { display: flex; align-items: center; gap: 14px; padding: 14px 24px; border-bottom: 1px solid var(--line); color: var(--tx); font-size: 16px; }
  .quickpost:hover { color: var(--tx); background: rgba(255, 255, 255, .015); }
  .quickpost .btn { pointer-events: none; }
}
.band { flex-wrap: wrap; row-gap: 6px; }
.band > .col { flex: 1 1 auto; }
.band > .col b { white-space: nowrap; }
.card.flush .post:last-child { border-bottom: 0; }
.replybox { align-items: flex-end; gap: 10px; padding: 6px 6px 6px 18px; border-radius: 24px; }
.replybox > label { flex: 1; min-width: 0; display: flex; align-self: center; }
.replybox textarea { display: block; width: 100%; height: auto; min-height: 24px; line-height: 24px; padding: 8px 0; font-size: 15px; scrollbar-width: none; }
.replybox textarea::-webkit-scrollbar { display: none; }
.post .text[dir], .comment p[dir] { text-align: start; }
.thread { border-top: 1px solid var(--line); padding-bottom: 4px; }
.thread .comment { border-top: 0; padding-bottom: 6px; }
.comment.is-reply { grid-template-columns: 28px minmax(0, 1fr); padding: 6px 16px 6px 58px; }
.replylink { font-size: 13px; font-weight: 600; color: var(--mut2); padding: 2px 0; }
.replylink:hover { color: var(--tx); }
.replylink.more { display: block; margin: 0 0 8px 58px; color: var(--dim); }
.replyhere { padding: 4px 16px 12px 58px; }
@media (max-width: 1023px) { .comment.is-reply, .replyhere { padding-left: 50px; } .replylink.more { margin-left: 50px; } }

html, body { touch-action: pan-x pan-y; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
button, a, input, textarea, select, label { touch-action: manipulation; }
/* iPhone zooms into any field under 16px when you tap it */
@media (max-width: 1023px) { input, textarea, select, .input input, .replybox textarea { font-size: 16px; } }
.replylink.more { display: inline-flex; align-items: center; gap: 8px; }
.replylink.more::before { content: ""; width: 24px; height: 1px; background: var(--line2); }

/* photos on posts */
.photos { display: grid; gap: 3px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--s1); }
.photos button { display: block; padding: 0; border: 0; background: var(--s1); min-height: 0; overflow: hidden; }
.photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photos.n1 { max-height: 520px; }
.photos.n2 { grid-template-columns: 1fr 1fr; aspect-ratio: 16 / 9; }
.photos.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 9; }
.photos.n3 button:first-child { grid-row: 1 / 3; }
.photos.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 9; }
.viewer { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .96); display: grid; place-items: center; touch-action: pan-y; }
.viewer img { max-width: 100vw; max-height: 100dvh; object-fit: contain; }
.viewer .close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; }
.viewer .prev, .viewer .next { position: absolute; top: 50%; transform: translateY(-50%); }
.viewer .prev { left: 14px; } .viewer .next { right: 14px; }
.viewer .count { position: absolute; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
@media (max-width: 1023px) { .viewer .prev, .viewer .next { display: none; } }
.pickgrid { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pickgrid.n1 { grid-template-columns: minmax(0, 1fr); }
.pick { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--s1); border: 1px solid var(--line); }
.pickgrid.n1 .pick { aspect-ratio: 16 / 10; }
.pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick.is-up img { opacity: .45; }
.pick .ibtn { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; background: rgba(0, 0, 0, .8); }
.spin { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 2px solid rgba(242, 246, 243, .2); border-top-color: var(--green); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2.4s; } }

/* reports */
.reasons { gap: 2px; }
.reason { display: flex; align-items: center; gap: 12px; padding: 12px 6px; font-size: 15px; color: var(--tx); text-align: left; border-radius: 10px; }
.reason:hover { background: var(--s2); }
.reason .dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--edge); flex: none; }
.reason.on .dot { border-color: var(--green); box-shadow: inset 0 0 0 4px var(--s1); background: var(--green); }
.post .menu button.plain, .comment .menu button.plain { color: var(--tx); display: flex; align-items: center; gap: 8px; }
.comment .menu { position: absolute; right: 0; top: 22px; background: var(--s3); border: 1px solid var(--line2); border-radius: 12px; padding: 4px; z-index: 5; box-shadow: 0 10px 28px rgba(0,0,0,.5); }
.comment .menu button { display: flex; padding: 10px 14px; font-size: 14px; white-space: nowrap; }
/* notices and account limits */
.noticebar { display: flex; align-items: center; gap: 12px; margin: 12px 16px 0; padding: 12px 14px; border-radius: 14px; background: #1A1512; border: 1px solid #4A3A2A; color: var(--tx); font-size: 14px; }
.noticebar .ic { color: #E8B26A; flex: none; }
.noticebar b { display: block; }
.noticebar span { color: var(--dim); font-size: 13px; }
.limitnote { margin: 0 16px; padding: 10px 14px; border-radius: 12px; background: #1A1512; border: 1px solid #4A3A2A; font-size: 13px; color: var(--dim); }
.quote { padding: 12px 14px; border-left: 3px solid var(--line2); background: var(--s1); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--dim); white-space: pre-wrap; overflow-wrap: anywhere; }
.input.area { height: auto; border-radius: 16px; padding: 10px 14px; align-items: flex-start; }
.input.area textarea { flex: 1; width: 100%; min-height: 96px; border: 0; outline: none; background: transparent; resize: vertical; font-size: 15px; line-height: 1.45; }
.input.area textarea::placeholder { color: var(--faint); }
/* the comments sheet */
.post.tappable { cursor: pointer; }
.post.tappable:hover { background: rgba(255, 255, 255, .015); }
body.locked { overflow: hidden; }
.csheet-scrim { z-index: 40; animation: fadein .2s ease; }
.csheet { position: fixed; z-index: 41; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line2); box-shadow: 0 -20px 60px rgba(0, 0, 0, .55); overflow: hidden;
  left: 0; right: 0; bottom: 0; height: 90dvh; border-radius: 22px 22px 0 0; border-bottom: 0; animation: sheetup .28s cubic-bezier(.2, .8, .2, 1); transition: transform .2s ease; }
.csheet-grab { display: flex; justify-content: center; padding: 10px 0 2px; touch-action: none; }
.csheet-grab span { width: 40px; height: 4px; border-radius: 2px; background: var(--edge); }
.csheet-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px 10px 18px; font-size: 16px; touch-action: none; }
.csheet-post { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 0 18px 12px; border-bottom: 1px solid var(--line); }
.csheet-post p { font-size: 14px; color: var(--dim); line-height: 1.4; margin: 0; }
.csheet-post img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.csheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.csheet-body .thread:first-child { border-top: 0; }
.csheet-foot { padding: 10px 14px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.csheet-foot .limitnote { margin: 0; }
@keyframes sheetup { from { transform: translateY(100%); } to { transform: none; } }
@keyframes popin { from { opacity: 0; transform: translate(-50%, -48%) scale(.98); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 1024px) {
  .csheet { left: 50%; top: 50%; right: auto; bottom: auto; width: 600px; height: min(80vh, 760px); border-radius: 20px; border-bottom: 1px solid var(--line2); transform: translate(-50%, -50%); animation: popin .22s ease; }
  .csheet-head { padding: 16px 14px 12px 20px; }
}
@media (prefers-reduced-motion: reduce) { .csheet, .csheet-scrim { animation: none; } }
/* the author's photo is a link: keep it to the photo itself, not the whole left side of the post */
.post > a:first-child, .comment > a:first-child { align-self: start; display: inline-flex; width: fit-content; height: fit-content; }

/* articles */
.artcard { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); background: var(--s1); color: var(--tx); }
.artcard:hover { color: var(--tx); border-color: var(--edge); }
.artcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.artcard b { font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.article { max-width: 760px; margin: 0 auto; padding-bottom: 40px; }
.article .cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
@media (min-width: 1024px) { .article { padding-top: 8px; } .article .cover { border-radius: 18px; } }
.abody { padding: 20px 18px 0; display: flex; flex-direction: column; gap: 16px; }
.abody h1 { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; margin: 0; }
@media (min-width: 1024px) { .abody h1 { font-size: 40px; } .abody { padding: 28px 8px 0; } }
.ameta { display: flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.abody h2 { font-size: 21px; font-weight: 800; letter-spacing: -.015em; margin: 10px 0 0; }
.abody p { font-size: 17px; line-height: 1.7; color: #DCE2DD; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.abody figure { margin: 4px 0; }
.abody figure img { width: 100%; border-radius: 14px; display: block; object-fit: cover; }
.abody figcaption { font-size: 13px; color: var(--mut); margin-top: 8px; }
.ablock { margin: 4px 0; }
/* a table the writer typed: the league table's look; the first column stays while a wide one slides */
.abody figure.atable { margin: 4px 0; border: 1px solid var(--line3); border-radius: 18px; background: var(--s1); overflow: hidden; }
.abody .atable-h { margin: 0; padding: 14px 16px 4px; font-size: 15px; font-weight: 800; color: var(--tx); }
.atable-s { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; } .atable-s::-webkit-scrollbar { display: none; }
.atable table { border-collapse: collapse; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
.atable thead th { font-size: 12px; font-weight: 600; color: var(--mut2); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.atable td, .atable tbody th { padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; text-align: left; font-weight: 500; color: var(--tx); }
.atable tbody th { font-weight: 700; }
.atable th:first-child { padding-left: 16px; position: sticky; left: 0; background: var(--s1); z-index: 1; }
.atable th:last-child, .atable td:last-child { padding-right: 16px; }
.atable .n { text-align: right; }
.atable tbody tr:last-child td, .atable tbody tr:last-child th { border-bottom: 0; }
.atable tr.hl td, .atable tr.hl th { background: #0F2418; }
.atable tr.hl th:first-child { box-shadow: inset 3px 0 0 var(--green); }
.atable a { display: inline-flex; align-items: center; gap: 9px; color: var(--tx); min-height: 26px; }
.atable a:hover span { color: var(--green2); }
.atable thead th a { font-weight: 700; }
/* up to six columns: the table keeps to the width it has; words wrap, numbers do not */
.atable.fit thead th, .atable.fit tbody th, .atable.fit td:not(.n) { white-space: normal; overflow-wrap: break-word; }
.atable.fit thead th { vertical-align: bottom; line-height: 1.25; } .atable.fit tbody th, .atable.fit td:not(.n) { line-height: 1.3; }
.atable.fit a { text-align: left; }
.atable-w { position: relative; }
.atable-w.more::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 36px; background: linear-gradient(90deg, rgba(14, 15, 14, 0), var(--s1)); pointer-events: none; z-index: 2; }
@media (max-width: 480px) {
  .atable thead th, .atable td, .atable tbody th { padding-left: 6px; padding-right: 6px; } .atable th:first-child { padding-left: 14px; } .atable th:last-child, .atable td:last-child { padding-right: 14px; } .atable table { font-size: 13.5px; }
  .atable.fit thead th { font-size: 11px; } .atable.fit tbody th { font-size: 13px; }
  /* a club or a player in a heading: the crest over the name, on the column's side */
  .atable.fit thead th a { flex-direction: column; align-items: flex-start; gap: 5px; } .atable.fit thead th.n a { align-items: flex-end; text-align: right; }
}
.atable-n { padding: 10px 16px 13px; font-size: 12px; color: var(--mut); border-top: 1px solid var(--line); }
.acard { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); color: var(--tx); }
.acard:hover { color: var(--tx); border-color: var(--line2); }
.aacts { display: flex; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 8px; }

/* alerts */
.alert { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--tx); }
.alert:hover { color: var(--tx); background: rgba(255, 255, 255, .015); }
.alert.unread { background: var(--s1); }
.alert .atext { font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.alert .atext b { font-weight: 700; }
.alert .aq { color: var(--dim); }
.av-stack { position: relative; width: 40px; height: 40px; }
.av-stack .ic { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--s3); border: 2px solid var(--bg); color: var(--green); }
.udot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.nbadge { min-width: 17px; height: 17px; padding: 0 5px; border-radius: 999px; background: var(--green); color: var(--ink); font-size: 10.5px; font-weight: 800; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.island a { position: relative; }
.island .nbadge { position: absolute; top: 2px; left: calc(50% + 6px); }
.navlink .nbadge { margin-left: auto; }
.alert .atext svg, .alert .atext img { margin: 0 3px; vertical-align: -2px; }
.share-list { max-height: 46vh; overflow-y: auto; gap: 2px; }

/* messages */
.convrow { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--tx); }
.convrow:hover { color: var(--tx); background: rgba(255, 255, 255, .015); }
.convrow.unread b { color: #fff; }
.chat { display: flex; flex-direction: column; min-height: calc(100dvh - 60px); max-width: 760px; margin: 0 auto; width: 100%; }
@media (min-width: 1024px) { .chat { min-height: calc(100dvh - 90px); border-left: 1px solid var(--line); border-right: 1px solid var(--line); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--tx); }
.chat-body { flex: 1; display: flex; flex-direction: column; gap: 3px; padding: 16px 12px 12px; }
.chat-empty { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 40px 20px; }
.msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 82%; }
.msg.mine { align-self: flex-end; align-items: flex-end; }
.bubble-wrap { display: flex; flex-direction: column; gap: 6px; align-items: inherit; }
.bubble { display: inline-block; padding: 9px 14px; border-radius: 20px; background: #1F2321; color: var(--tx); font-size: 15px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
/* 2 Nov 2026: two clear sides. Yours in the brand green with dark text, theirs in a neutral grey; messages in a row from one
   person (within 5 minutes) sit together, the corners between them tucked in, the time under the last one */
.msg.mine .bubble { background: var(--green); color: #04140A; font-weight: 500; }
.msg.g-first, .msg.g-solo { margin-top: 8px; }
.msg:not(.mine).g-first .bubble, .msg:not(.mine).g-mid .bubble { border-bottom-left-radius: 6px; }
.msg:not(.mine).g-mid .bubble, .msg:not(.mine).g-last .bubble { border-top-left-radius: 6px; }
.msg.mine.g-first .bubble, .msg.mine.g-mid .bubble { border-bottom-right-radius: 6px; }
.msg.mine.g-mid .bubble, .msg.mine.g-last .bubble { border-top-right-radius: 6px; }
.bubble-wrap { cursor: default; }
.bubble.gone, .msg.mine .bubble.gone { font-style: italic; font-weight: 400; color: var(--mut); background: transparent; border: 1px dashed var(--line2); }
.mmeta { position: relative; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--mut); padding: 2px 6px; }
.mmeta button { color: var(--mut); opacity: .7; }
.mmeta .menu { position: absolute; top: 18px; right: 0; z-index: 5; background: var(--s3); border: 1px solid var(--line2); border-radius: 12px; padding: 4px; box-shadow: 0 10px 28px rgba(0,0,0,.5); }
.mmeta .menu button { display: flex; gap: 6px; align-items: center; padding: 8px 12px; font-size: 13px; color: var(--tx); white-space: nowrap; opacity: 1; }
.mcard { width: 280px; max-width: 72vw; }
.mcard.acard { padding: 10px 12px; }
.mpost { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line2); color: var(--tx); }
.mpost:hover { color: var(--tx); }
.mpost img { width: 100%; max-height: 180px; object-fit: cover; border-radius: 10px; }
.mimgs { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.mimgs img { width: 200px; max-width: 60vw; max-height: 260px; object-fit: cover; border-radius: 14px; display: block; }
.chat-foot { position: sticky; bottom: 0; padding: 8px 10px max(10px, env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(0, 0, 0, 0), var(--bg) 30%); display: flex; flex-direction: column; }
/* on phones the message box is pinned right above the tab bar, whatever the scroll position */
@media (max-width: 1023px) { .chat-foot { position: fixed; left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom)); padding: 8px 10px 8px; background: var(--bg); z-index: 5; } .chat { padding-bottom: 60px; min-height: calc(100dvh - 60px - 72px - env(safe-area-inset-bottom)); } }
.chat-req { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; padding: 16px; border-top: 1px solid var(--line); }
.chatmenu { position: absolute; right: 0; top: 40px; z-index: 6; background: var(--s3); border: 1px solid var(--line2); border-radius: 12px; padding: 4px; min-width: 170px; box-shadow: 0 10px 28px rgba(0,0,0,.5); display: flex; flex-direction: column; }
.chatmenu .plain { display: block; padding: 10px 14px; font-size: 14px; color: var(--tx); text-align: left; }
.chatmenu .danger { color: var(--red); }
@media (max-width: 1023px) { .chat-head.only-d { display: none; } }
.mcard { width: 320px; }
/* sharing a goal or a red card from the timeline, and the cards it makes in a chat (1.8.0) */
.ev { grid-template-columns: 40px 30px minmax(0, 1fr) auto 34px; gap: 10px; }
.ev-share .ibtn { color: var(--mut); }
.mevent { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); color: var(--tx); }
.mevent:hover { color: var(--tx); border-color: var(--line2); }
.mevent .ic { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--s2); border: 1px solid var(--line2); display: grid; place-items: center; color: var(--mut); }
.mevent .ic.goal { background: rgba(22, 198, 96, .12); border-color: rgba(22, 198, 96, .35); color: var(--green); }
.mevent .card-r { width: 10px; height: 14px; border-radius: 2px; background: var(--red); }
.mevent .col { flex: 1; }
.mpair { display: flex; flex: none; }
.mpair > * + * { margin-left: -10px; box-shadow: 0 0 0 2px var(--s1); border-radius: 50%; }

/* ---------- FPL (1.9.0): deadline, linking, the pitch, tables, fixtures, cards */
.fpl-top { padding: 12px 16px 0; } @media (min-width: 1024px) { .fpl-top { padding: 16px 32px 0; } }
.dl { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.dl b { color: var(--tx); } .dl.soon { border-color: #4A3A12; background: #16130A; } .dl.soon svg { color: #F2C230; }
.page > .dl, .dl:first-child { margin: 0; }
.fpl-mark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--s2); color: var(--green); border: 1px solid var(--line2); }
.fpl-mark.sm { width: 36px; height: 36px; border-radius: 10px; }
.fpl-code { align-self: flex-start; font-size: 30px; font-weight: 800; letter-spacing: .18em; padding: 12px 18px; border-radius: 14px; background: var(--s1); border: 1px dashed var(--edge2); color: var(--green); }
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--dim); }

.fpitch-wrap { display: flex; flex-direction: column; gap: 10px; }
.fpitch { display: flex; flex-direction: column; justify-content: space-around; gap: 10px; padding: 18px 6px; border-radius: 18px; min-height: 420px;
  background: repeating-linear-gradient(180deg, #0E2016 0 52px, #0C1C13 52px 104px); border: 1px solid #1F3A28; position: relative; overflow: hidden; }
.fpitch::before { content: ''; position: absolute; left: 22%; right: 22%; top: -1px; height: 16%; border: 1px solid #24432F; border-top: 0; pointer-events: none; }
.fprow { display: flex; justify-content: space-evenly; gap: 4px; position: relative; }
.fbench { display: flex; flex-direction: column; gap: 8px; padding: 12px 6px 14px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); }
.fbench > span { padding-left: 10px; }
.fp { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 72px; min-width: 0; color: var(--tx); padding: 4px 0; border-radius: 12px; }
.fp:hover { color: var(--tx); background: rgba(255, 255, 255, .03); }
.fp.out { opacity: .5; }
.fp.picked { background: rgba(22, 198, 96, .08); box-shadow: 0 0 0 1px var(--green); }
.fp-pic { position: relative; }
.fp-c { position: absolute; right: -6px; top: -4px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--green); color: var(--ink); box-shadow: 0 0 0 2px #0D1A12; }
.fp-c.v { background: #2A3A31; color: var(--dim); }
.fp-flag { position: absolute; left: -2px; top: -2px; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 2px #0D1A12; }
.fp-sub { position: absolute; left: -4px; bottom: -2px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 2px #0D1A12; }
.fp-sub.in { background: var(--green); color: var(--ink); } .fp-sub.out { background: var(--red); color: #fff; }
.fp-name { font-size: 12px; font-weight: 600; max-width: 72px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px #000; }
.fp-v { min-width: 30px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .75); border: 1px solid #2A3D31; font-size: 12px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.fp-v.live { border-color: var(--green); color: var(--green); }
.fp-v.nc { opacity: .55; }
.fp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-left: 6px; vertical-align: middle; }
@media (min-width: 1024px) { .fp { width: 86px; } .fp-name { max-width: 86px; font-size: 13px; } .fpitch { min-height: 480px; } }

.ftable { display: flex; flex-direction: column; font-size: 14px; }
.fhead, .frow { display: grid; grid-template-columns: 34px minmax(0, 1fr) 48px 70px 72px; align-items: center; gap: 8px; padding: 0 4px; }
.fhead { height: 32px; font-size: 12px; color: var(--mut); border-bottom: 1px solid var(--line); }
.frow { min-height: 42px; border-bottom: 1px solid var(--line); color: var(--tx); }
.frow:last-child { border-bottom: 0; }
.ftable .r { text-align: right; }
.ftable.lt .fhead, .ftable.lt .frow { grid-template-columns: 34px minmax(0, 1fr) 46px 64px; padding: 0 14px; }
.ftable.lt .frow { min-height: 54px; }
a.frow:hover { background: var(--s1); color: var(--tx); }
.frow.me { background: var(--s2); }
.lg-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--s2); border: 1px solid var(--line2); color: var(--mut); }
.lg-ic.green { background: var(--s2); color: var(--green); border-color: var(--line2); }

.xpbars { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
.xpb { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line); }

.fdr { display: grid; gap: 4px; padding: 12px; overflow-x: auto; }
.fdr-h { text-align: center; padding-bottom: 4px; } .fdr-h:first-child { text-align: left; }
.fdr-club { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12px; }
.fdr-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fdr-cell > span { display: block; text-align: center; padding: 6px 2px; border-radius: 6px; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.fdr-cell .blank { background: var(--s2); color: var(--faint); }

.input.sel { height: 40px; padding: 0 12px; }
.input.sel select { background: transparent; border: 0; outline: none; color: var(--tx); font-size: 14px; }
.input.sel option { background: #0E0F0E; }

.fplcard { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); color: var(--tx); min-width: 0; }
.fplcard:hover { color: var(--tx); border-color: var(--line2); }
.mcard .fplcard { width: 100%; }
.spin { animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.ftable.hist .fhead, .ftable.hist .frow { grid-template-columns: 26px 36px 50px minmax(0, 1fr) 60px; }
.nowrap { white-space: nowrap; }
.nowrap svg { display: inline; vertical-align: -1px; }
.tiles .tile.small b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 1.11: profile buttons fit the phone; follower lists; the sign-in page's buttons */
.pcard .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 1023px) { .pcard { gap: 12px; } .pcard .acts .btn { height: 36px; padding: 0 14px; font-size: 13px; } .pcard .acts .btn svg { width: 15px; height: 15px; } }
.counts { display: flex; gap: 18px; }
.counts a { color: var(--mut); font-size: 13px; } .counts a b { color: var(--tx); } .counts a:hover { color: var(--tx); }
.person { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); color: var(--tx); }
.person:hover { color: var(--tx); background: var(--s1); }
.person .t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.person .t b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person .t span { font-size: 13px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--edge2); background: transparent; color: var(--tx); font-size: 15px; font-weight: 600; width: 100%; }
.gbtn:hover { border-color: var(--silver); background: rgba(230, 235, 240, .06); }
.gbtn:disabled { opacity: .5; }
.gbtn svg { flex: none; }
.showcase { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.showrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line2); }
.gate .intro .showcase { margin-bottom: 8px; }
.gate .hint a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.gate .hint a:hover { color: var(--tx); }
.select.plain { height: 36px; padding: 0 12px; font-size: 14px; background: transparent; border-color: var(--edge); color: var(--dim); max-width: 180px; }
.srow .select.plain { margin-right: -4px; }

/* ---------- 1.12: charts (D3 + React), grouped statistics, rank tags, the ranking sheet */
.chart { position: relative; width: 100%; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.chart svg { display: block; overflow: visible; }
.chart .grid { stroke: var(--line2); stroke-width: 1; fill: none; }
.chart .tick { fill: var(--mut2); font-size: 11px; font-variant-numeric: tabular-nums; }
.chart .lbl { fill: var(--dim); font-size: 11.5px; font-weight: 600; cursor: default; }
.chart .lbl.on { fill: var(--tx); }
.chart .cursor { stroke: var(--edge2); stroke-width: 1; stroke-dasharray: 3 3; }
.chart circle, .chart rect, .chart polygon { transition: r .12s ease, fill-opacity .15s ease; }
.ctip { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--s3); border: 1px solid var(--line2); font-size: 12px; white-space: nowrap; pointer-events: none; z-index: 3; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); margin-top: -8px; }
.ctip b { font-size: 12px; color: var(--tx); }
.ctip span { font-weight: 600; font-variant-numeric: tabular-nums; }
.sgrp { display: flex; flex-direction: column; }
.sgrp .group { padding: 10px 2px 6px; border-bottom: 1px solid var(--line); margin-bottom: 2px; }
.srow-stat { display: grid; grid-template-columns: minmax(0, 1fr) 60px 64px 72px; gap: 10px; align-items: center; padding: 8px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.srow-stat:last-child { border-bottom: 0; }
.srow-stat .l { color: var(--dim); min-width: 0; }
.srow-stat .v { text-align: right; font-size: 15px; }
.srow-stat .bar { height: 6px; border-radius: 3px; background: var(--s3); overflow: hidden; display: block; } .srow-stat .bar i { display: block; height: 100%; border-radius: 3px; transition: width .45s ease; }
.ranktag { display: inline-flex; align-items: center; gap: 2px; justify-self: start; height: 24px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--edge); font-size: 12px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; }
.ranktag.top { border-color: rgba(22, 198, 96, .5); color: var(--green); }
.ranktag:hover { border-color: var(--silver); color: var(--tx); }
.ranklink { display: inline-flex; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 700; color: var(--green); text-align: left; white-space: nowrap; }
.ranklink:hover { color: var(--green); }
.lrow { display: grid; grid-template-columns: 28px 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 18px; border-bottom: 1px solid var(--line); color: var(--tx); }
.lrow:hover { color: var(--tx); background: var(--s1); }
.lrow.me { background: rgba(22, 198, 96, .08); }
.lrow .t { display: flex; flex-direction: column; gap: 1px; min-width: 0; } .lrow .t b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lrow .t span { font-size: 12px; color: var(--mut); }
.lrow .v { font-size: 15px; }
.picker { border-top: 3px solid transparent; }
@media (max-width: 1023px) { .srow-stat { grid-template-columns: minmax(0, 1fr) 54px 60px 56px; gap: 8px; font-size: 13.5px; } }

/* ---------- premium and Touches (1.13) */
.prem-status { border-color: rgba(230, 235, 240, .35); }
.price-line { display: flex; align-items: baseline; gap: 6px; } .price-line b { font-size: 40px; font-weight: 800; letter-spacing: -.035em; }
.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.perks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.perks li svg { color: var(--green2); margin-top: 1px; }
.perks li > span { display: flex; flex-direction: column; gap: 2px; } .perks li > span b { font-size: 15px; } .perks li > span span { font-size: 13px; color: var(--mut); line-height: 1.45; }
.packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pack { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border-radius: 14px; border: 1px solid var(--edge); color: var(--tx); }
.pack b { font-size: 20px; letter-spacing: -.02em; } .pack:hover { border-color: var(--silver); background: var(--s2); } .pack:disabled { opacity: .5; }
.checkout-card { border-color: var(--edge2); }
.ballr-checkout { min-height: 450px; border-radius: 12px; overflow: hidden; }
.ballr-checkout iframe { display: block; }
.tiles.nums .tile { padding: 12px 10px; min-width: 0; } .tiles.nums .tile b { font-size: clamp(15px, 5.4vw, 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
@media (min-width: 1024px) { .tiles.nums .tile b { font-size: 24px; } }

/* ---------- polls (1.15) */
.poll { display: flex; flex-direction: column; gap: 8px; }
.poll .opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line2); color: var(--tx); font-size: 14px; font-weight: 600; text-align: left; overflow: hidden; }
.poll button.opt:hover { border-color: var(--silver); }
.poll .opt.done { border-color: var(--line); cursor: default; }
.poll .opt.done i { position: absolute; inset: 0 auto 0 0; background: var(--s3); z-index: 0; transition: width .4s ease; }
.poll .opt.done.lead i { background: #1C2E22; }
.poll .opt.done span, .poll .opt.done b { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; }
.poll .opt.done.mine span { color: var(--green); }
.pollmake { display: flex; flex-direction: column; gap: 8px; }
.pollmake .input input { flex: 1; min-width: 0; }
.mbar { display: block; height: 4px; border-radius: 2px; background: var(--line2); overflow: hidden; }
.mbar i { display: block; height: 100%; border-radius: 2px; background: var(--green); transition: width .6s ease; }
/* ---------- reshares */
.reshare > .post { padding-top: 6px; }
.reshare { display: flex; flex-direction: column; gap: 2px; padding: 12px 0 0; }
.post.reshare { display: block; }
.pill.good { border-color: #2B6B42; color: var(--green2); } .pill.bad { border-color: #6B2B2B; color: var(--red); }

/* iPhone (WebKit): a blurred glass header over a scrolling feed costs a frame or more per scroll step; a near-solid colour reads the same */
@supports (-webkit-touch-callout: none) {
  .mtop, .feedtabs { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(0, 0, 0, .98); }
  .install, .sheet, .viewer, .scrim { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* "N new posts": sits under the feed tabs while the person reads further down (the sticky tabs are its containing block) */
.newpill { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--edge); background: var(--s3); color: var(--tx); font-size: 13px; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); z-index: 4; }
.chipmark{display:inline-block;min-width:18px;padding:0 5px;margin-left:4px;border-radius:9px;background:var(--green);color:var(--ink);font-size:11px;font-weight:700;text-align:center;line-height:18px}
.chipmark.v{background:var(--mut2)}
/* the legal pages in Arabic: right to left, an Arabic face */
.legal.rtl { font-family: 'Noto Sans Arabic', 'Segoe UI', Tahoma, system-ui, sans-serif; }
.legal.rtl h1, .legal.rtl h2 { letter-spacing: 0; line-height: 1.5; }
.legal.rtl a[dir="ltr"] { unicode-bidi: embed; }
/* the public Pricing page (26 Oct 2026) */
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: 12px; margin: 6px 0 4px; }
.price-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line2); border-radius: 16px; background: var(--s1); }
.price-card .pc-name { font-size: 15px; font-weight: 700; color: var(--tx); }
.price-card .pc-price b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--tx); }
.price-card .pc-note { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--green); }
.price-card ul { margin: 4px 0 0; padding-inline-start: 18px; display: grid; gap: 6px; color: var(--dim); font-size: 14px; line-height: 1.5; }
.price-cards .pc-go { grid-column: 1 / -1; justify-self: start; }
.legal.rtl .price-card .pc-price b { letter-spacing: 0; }
.databanner { margin: 10px 16px 0; padding: 10px 14px; border-radius: 12px; background: #1A1512; border: 1px solid #4A3A2A; color: var(--tx); font-size: 13px; line-height: 1.4; }
/* 11B AI */
.aitop { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.chat-body .chat-empty { padding: 20px 20px 28px; }
/* 11B AI answers without a bubble: full width, easy to read when long or with tables */
.msg.ai { max-width: 100%; align-self: stretch; }
.msg.ai .bubble-wrap { align-items: stretch; gap: 2px; }
.bubble.ai { background: transparent; border: 0; border-radius: 0; padding: 2px 2px 0; line-height: 1.55; color: #E6EAE7; }
.ailabel { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--mut); padding: 0 2px; }
.aidot { width: 16px; height: 16px; border-radius: 50%; background: var(--green); flex: none; }
.bubble.thinking { color: var(--mut); font-style: italic; }
/* an answer is coming (1.68.2): dots that move, the time so far, what to expect */
.bubble.waiting { display: inline-flex; flex-direction: column; gap: 3px; white-space: normal; background: #1F2321; padding: 10px 14px; border-radius: 16px; border-top-left-radius: 6px; }
.wline { display: flex; align-items: center; gap: 10px; }
.wline b { font-weight: 600; }
.wclock { color: var(--dim); font-size: 13px; }
.whint { color: var(--mut); font-size: 13px; }
.wdots { display: inline-flex; gap: 4px; align-items: center; }
.wdots i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: block; animation: wdot 1.2s ease-in-out infinite; }
.wdots i:nth-child(2) { animation-delay: .15s; } .wdots i:nth-child(3) { animation-delay: .3s; }
@keyframes wdot { 0%, 70%, 100% { opacity: .35; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .wdots i { animation: none; opacity: .7; } }
.starter { text-align: left; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--s1); color: var(--tx); font-size: 14px; line-height: 1.35; }
.starter:hover { border-color: var(--silver); }
.mmeta .plain { font-size: 15px; line-height: 1; padding: 0 2px; }
.ailist { display: flex; flex-direction: column; gap: 6px; padding: 8px 4px 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.aithread { gap: 8px; align-items: center; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line2); background: var(--s1); }
.aithread.on { border-color: var(--green); }
/* 11B AI's formatted answers (components/Md.jsx) */
.bubble.md-wrap { white-space: normal; }
.md p { margin: 0 0 8px; } .md p:last-child { margin-bottom: 0; }
.md ul, .md ol { margin: 0 0 8px; padding-inline-start: 20px; } .md li { margin: 2px 0; }
.md .md-h { font-weight: 700; margin: 4px 0 6px; }
.md code { font-family: ui-monospace, monospace; font-size: .92em; background: rgba(255,255,255,.06); padding: 0 4px; border-radius: 4px; }
.caught-up { text-align: center; padding: 22px 16px 40px; }

/* ads (batch 5): a sponsor, a Google ad or the staging test box; quiet, clearly marked, never louder than the posts */
.adbox { gap: 10px; }
.adbox.adfeed { display: flex; flex-direction: column; padding: 14px 16px 14px 68px; border-bottom: 1px solid var(--line); }
.adhead { gap: 8px; font-size: 14px; min-width: 0; }
.adhead b { color: var(--tx); }
.adtag { flex: none; font-size: 11px; font-weight: 700; color: var(--mut); border: 1px solid var(--line2); border-radius: 6px; padding: 1px 6px; letter-spacing: .02em; }
.adlink { display: flex; flex-direction: column; gap: 10px; color: var(--tx); }
.adlink:hover { color: var(--tx); }
.adtext { font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.adimg { width: 100%; aspect-ratio: 1200 / 628; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: var(--s2); }
.adcta { justify-content: space-between; gap: 12px; }
.adgo { flex: none; font-weight: 700; color: var(--silver); border: 1px solid var(--edge); border-radius: 999px; padding: 5px 14px; }
.adlink:hover .adgo { border-color: var(--silver); }
.adgoogle ins { min-height: 90px; }
.adtest { align-items: flex-start; }
.adtest .small { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 90px; border: 1px dashed var(--line2); border-radius: 12px; }

/* checkout summary (phase 6): our lines, tax and total beside Paddle's card fields */
.co-sum { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--s2); }
.co-line { justify-content: space-between; gap: 12px; font-size: 14px; }
.co-total { padding-top: 8px; border-top: 1px solid var(--line2); font-weight: 800; font-size: 16px; }
.co-tick { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--green); color: var(--green); flex: none; }

/* a new version is out (phase 6) */
.updbar span { white-space: nowrap; }
.updbar { width: max-content; position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--s3); border: 1px solid var(--line2); box-shadow: 0 10px 28px rgba(0,0,0,.5); font-size: 14px; max-width: calc(100vw - 32px); }
@media (min-width: 1024px) { .updbar { bottom: 24px; } }


/* the page in words for readers without JavaScript (ballr-api's seo.js and index.html put it inside #root): hidden in a browser */
.js .seo-pre { display: none; }
.seo-pre { max-width: 720px; margin: 0 auto; padding: 32px 20px 60px; color: var(--dim); line-height: 1.6; }
.seo-pre h1 { color: var(--tx); font-size: 26px; margin: 0 0 12px; }
.seo-pre h2 { color: var(--tx); font-size: 18px; margin: 20px 0 6px; }
.seo-pre a { color: var(--green); }
/* Polar's checkout over the page (lib/polar.js, 27 Oct 2026): Polar draws its own dark sheet inside the frame */
body.polar-open { overflow: hidden; }
.polar-frame { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2147483646; background: rgba(0, 0, 0, .6); color-scheme: dark; }
.polar-wait { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2147483647; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px; background: var(--s1); border: 1px solid var(--line2); color: var(--tx); font-size: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.polar-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line2); border-top-color: var(--green); animation: polar-spin .8s linear infinite; }
.polar-cancel { color: var(--silver); font-weight: 700; text-decoration: underline; }
@keyframes polar-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .polar-spin { animation-duration: 2.4s; } }

/* a conversation on a phone as an app screen (2 Nov 2026, src/lib/chatscreen.js): the header pinned on top, the messages
   scrolling in their own box, the question box at the bottom, all sized to the visible part of the screen (--vvh, the
   keyboard taken off); the tab bar steps aside in a private chat, and in 11B AI while the keyboard is up */
@media (max-width: 1023px) {
  body.chatscreen { overflow: hidden; --tabs-h: calc(58px + env(safe-area-inset-bottom)); }
  body.chatscreen.notabs, body.chatscreen.kbopen { --tabs-h: 0px; }
  body.chatscreen.notabs .island, body.chatscreen.kbopen .island { display: none !important; }
  body.chatscreen .mtop { position: fixed; top: var(--vvt, 0px); left: 0; right: 0; }
  body.chatscreen .chat { position: fixed; left: 0; right: 0; top: calc(var(--vvt, 0px) + var(--chat-top, 56px)); height: calc(var(--vvh, 100dvh) - var(--chat-top, 56px) - var(--tabs-h)); min-height: 0; max-width: none; margin: 0; padding-bottom: 0; z-index: 3; background: var(--bg); }
  body.chatscreen .chat-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  body.chatscreen .chat-foot { position: static; flex: none; padding: 8px 10px max(8px, env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
  body.chatscreen:not(.notabs):not(.kbopen) .chat-foot { padding-bottom: 8px; }
  body.chatscreen.kbopen .chat-foot { padding-bottom: 8px; }
  body.chatscreen.kbopen .aihint { display: none; }
  body.chatscreen .aitop, body.chatscreen .chat-req, body.chatscreen .limitnote { flex: none; }
  body.chatscreen .ailist { max-height: 45vh; overflow-y: auto; }
}
/* 11B AI: the mode as a small switch inside the question box (2 Nov 2026); the strip with the balance steps aside while the
   keyboard is up on a phone (the balance is in the header too) */
.aibox { padding-left: 6px; }
.aimode { flex: none; align-self: center; display: inline-flex; align-items: center; gap: 2px; height: 32px; padding: 0 8px 0 11px; border-radius: 16px; border: 1px solid var(--line2); background: var(--s2); color: var(--tx); font-size: 13px; font-weight: 700; }
.aimode:hover { border-color: var(--line3); }
/* the three ways to ask (6 Nov 2026): a small list above the box */
.aimenu { display: flex; flex-direction: column; gap: 2px; margin: 0 0 8px; padding: 6px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line2); }
.aimenu-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 11px; text-align: left; color: var(--tx); font-size: 14px; }
.aimenu-item:hover { background: var(--s2); }
.aimenu-item.on { background: var(--s2); box-shadow: inset 0 0 0 1px var(--green); }
@media (max-width: 1023px) { body.chatscreen.kbopen .aitop { display: none; } }
/* 11B AI (2 Nov 2026): the balance as a small pill by the page's name; the explanation at the top of the conversation */
.touchpill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line2); font-size: 12px; font-weight: 700; color: var(--green); letter-spacing: 0; white-space: nowrap; }
.dtop .right .touchpill { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 16px; }
.ainote { align-self: center; max-width: 520px; margin: 0 0 10px; padding: 8px 12px; text-align: center; font-size: 12px; line-height: 1.45; color: var(--mut); background: var(--s1); border: 1px solid var(--line); border-radius: 12px; }
/* our account on X (3 Nov 2026): under the sign-in form, the public pages and the menu */
.xlink { display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line2); color: var(--tx); font-size: 14px; font-weight: 700; }
.xlink .muted { font-weight: 500; }
.xlink.sm { padding: 6px 12px; font-size: 12.5px; gap: 6px; }
.xlink:hover { border-color: var(--line3); background: var(--s2); }

/* ---------- the welcome page (src/pages/landing.jsx, 12 Nov 2026): anyone not signed in, at / */
.lp { min-height: 100dvh; background: var(--bg); color: var(--tx); overflow-x: clip; }
.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.lp-top { position: sticky; top: 0; z-index: 5; background: rgba(0, 0, 0, .86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.lp-top .lp-wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.lp-top img { height: 22px; width: auto; display: block; }
.lp-top nav { display: flex; gap: 8px; align-items: center; }
.lp .btn.lp-pri { background: var(--bg); color: var(--green2); border-color: var(--btn-edge); font-weight: 800; }
.lp .btn.lp-pri:hover { background: rgba(34, 199, 106, .1); border-color: var(--green2); color: var(--green2); }
/* the brand's lines: heavy capitals, the full stop in green; a faint jersey weave behind the top */
.lp-hero h1, .lp-copy > h2, .lp-off > h2, .lp-faq > h2, .lp-end > h2 { text-transform: uppercase; letter-spacing: -.02em; }
.lp-dot { color: var(--green); }
.lp-hero { position: relative; }
.lp-hero::before { content: ""; position: absolute; inset: -40px -50vw 0; background: repeating-linear-gradient(-28deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 11px); -webkit-mask-image: radial-gradient(70% 90% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 90% at 70% 40%, #000 20%, transparent 75%); pointer-events: none; z-index: 0; }
.lp-hero > * { position: relative; z-index: 1; }
.lp-stage { position: relative; }
.lp-mark { position: absolute; width: 120%; max-width: 480px; left: 50%; top: 50%; transform: translate(-18%, -30%) rotate(-8deg); opacity: .24; mix-blend-mode: screen; pointer-events: none; filter: blur(.6px); }
@media (max-width: 899px) { .lp-mark { transform: translate(-30%, -36%) rotate(-8deg); opacity: .12; } }
.lp-hero { padding: 44px 0 10px; display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.lp-hero h1 { font-size: 36px; line-height: 1.02; font-weight: 800; margin: 0 0 14px; max-width: 13ch; }
.lp-lead { font-size: 17px; line-height: 1.55; color: var(--dim); margin: 0 0 22px; max-width: 42ch; }
.lp-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.lp-note { width: 100%; font-size: 13px; color: var(--faint); margin-top: 2px; }
.lp-kick { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--mut); margin-bottom: 16px; }
/* the phone: a device body around the app's phone layout drawn at 390 px and scaled; nothing inside is tappable.
   --s scales the whole device; --bz is the bezel at scale 1 */
.lp-phone { --s: .72; --bz: 12px; position: relative; width: calc((390px + 2 * var(--bz)) * var(--s)); height: calc((844px + 2 * var(--bz)) * var(--s)); margin: 0 auto; flex: none; }
.lp-glow { position: absolute; inset: -10% -26%; border-radius: 50%; background: radial-gradient(closest-side, rgba(22, 198, 96, .30), rgba(22, 198, 96, .12) 50%, transparent 74%); filter: blur(14px); pointer-events: none; }
.lp-body { position: absolute; inset: 0; border-radius: calc(60px * var(--s)); background: linear-gradient(155deg, #1C201E 0%, #0A0C0B 38%, #060706 62%, #141716 100%); box-shadow: 0 50px 110px rgba(0, 0, 0, .7), 0 12px 30px rgba(0, 0, 0, .5), 0 0 0 1px #2B302D, inset 0 0 0 1px rgba(255, 255, 255, .05); overflow: hidden; }
.lp-body::before { content: ""; position: absolute; inset: calc(3px * var(--s)); border-radius: calc(57px * var(--s)); box-shadow: inset 0 0 0 calc(2px * var(--s)) #000; pointer-events: none; z-index: 2; }
.lp-phone::before, .lp-phone::after { content: ""; position: absolute; width: calc(3px * var(--s)); border-radius: 2px; background: #2A2F2C; }
.lp-phone::before { right: calc(-3px * var(--s)); top: calc(210px * var(--s)); height: calc(96px * var(--s)); }
.lp-phone::after { left: calc(-3px * var(--s)); top: calc(170px * var(--s)); height: calc(60px * var(--s)); box-shadow: 0 calc(80px * var(--s)) 0 #2A2F2C; }
.lp-screen { position: absolute; left: calc(var(--bz) * var(--s)); top: calc(var(--bz) * var(--s)); width: 390px; height: 844px; transform: scale(var(--s)); transform-origin: 0 0; overflow: hidden; pointer-events: none; user-select: none; background: #000; border-radius: 48px; }
/* the screens play while the phone is in view (.lp-play): numbers count up (JS), these move */
.lp-item { opacity: 0; transform: translateY(10px); }
.lp-play .lp-item { animation: lprise .55s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(.18s + var(--i, 0) * .12s); }
.lp-pop { opacity: 0; transform: scale(.92); }
.lp-play .lp-pop { animation: lppop .6s cubic-bezier(.2, .8, .2, 1.1) .08s forwards; }
.lp-rise { opacity: 0; transform: translateY(14px); }
.lp-play .lp-rise { animation: lprise .6s cubic-bezier(.2, .7, .2, 1) .5s forwards; }
.lp-bars i { transition: flex 1s cubic-bezier(.2, .7, .2, 1) .25s; }
.lp-mbar i { width: 0; transition: width 1.1s cubic-bezier(.2, .7, .2, 1) .3s; }
.lp-play .lp-mbar i { width: var(--w, 0%); }
/* the other screens, by what the app already draws: bars grow, cards and list rows rise in turn, players land on the pitch,
   the radar unfolds, posts arrive */
.lp-screen .bars:not(.lp-bars) { transform: scaleX(0); transform-origin: 0 50%; }
.lp-play .bars:not(.lp-bars) { animation: lpgrow .9s cubic-bezier(.2, .7, .2, 1) .35s forwards; }
.lp-screen .page > .card, .lp-screen .page > .tiles + .card { opacity: 0; transform: translateY(14px); }
.lp-play .page > .card { animation: lprise .6s cubic-bezier(.2, .7, .2, 1) forwards; }
.lp-play .page > .card:nth-child(1) { animation-delay: .1s; } .lp-play .page > .card:nth-child(2) { animation-delay: .35s; } .lp-play .page > .card:nth-child(3) { animation-delay: .6s; }
.lp-screen .card ul li, .lp-screen .card .pill { opacity: 0; }
.lp-play .card .pill { animation: lppop .5s cubic-bezier(.2, .8, .2, 1.1) .9s forwards; }
.lp-play .card ul li { animation: lprise .5s cubic-bezier(.2, .7, .2, 1) forwards; }
.lp-play .card ul li:nth-child(1) { animation-delay: 1.05s; } .lp-play .card ul li:nth-child(2) { animation-delay: 1.25s; } .lp-play .card ul li:nth-child(3) { animation-delay: 1.45s; }
.lp-screen .fp { opacity: 0; transform: translateY(-10px) scale(.9); }
.lp-play .fp { animation: lpland .5s cubic-bezier(.2, .8, .2, 1.1) forwards; }
.lp-play .fp:nth-child(1) { animation-delay: .25s; } .lp-play .fp:nth-child(2) { animation-delay: .33s; } .lp-play .fp:nth-child(3) { animation-delay: .41s; } .lp-play .fp:nth-child(4) { animation-delay: .49s; } .lp-play .fp:nth-child(5) { animation-delay: .57s; }
.lp-play .fprow:nth-child(2) .fp { animation-delay: calc(.5s + .07s * var(--k, 0)); } .lp-play .fprow:nth-child(3) .fp { animation-delay: .8s; } .lp-play .fprow:nth-child(4) .fp { animation-delay: 1.05s; } .lp-play .fbench .fp { animation-delay: 1.3s; }
.lp-screen svg polygon:not(.grid) { transform-origin: 50% 50%; transform: scale(0); transform-box: view-box; }
.lp-play svg polygon:not(.grid) { animation: lpunfold 1s cubic-bezier(.2, .7, .2, 1) .3s forwards; }
.lp-screen .lp-feed .post { opacity: 0; transform: translateY(16px); }
.lp-play .lp-feed .post { animation: lprise .55s cubic-bezier(.2, .7, .2, 1) forwards; }
.lp-play .lp-feed .post:nth-child(1) { animation-delay: .1s; } .lp-play .lp-feed .post:nth-child(2) { animation-delay: .3s; } .lp-play .lp-feed .post:nth-child(3) { animation-delay: .5s; } .lp-play .lp-feed .post:nth-child(4) { animation-delay: .7s; } .lp-play .lp-feed .post:nth-child(n+5) { animation-delay: .9s; }
.lp-screen .msg.mine { opacity: 0; transform: translateY(10px); }
.lp-play .msg.mine { animation: lprise .5s cubic-bezier(.2, .7, .2, 1) .1s forwards; }
@keyframes lpgrow { to { transform: scaleX(1); } }
@keyframes lpland { to { opacity: 1; transform: none; } }
@keyframes lpunfold { to { transform: scale(1); } }
@keyframes lprise { to { opacity: 1; transform: none; } }
@keyframes lppop { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lp-item, .lp-pop, .lp-rise, .lp-screen .page > .card, .lp-screen .card ul li, .lp-screen .card .pill, .lp-screen .fp, .lp-screen .lp-feed .post, .lp-screen .msg.mine { opacity: 1; transform: none; } .lp-screen .bars:not(.lp-bars), .lp-screen svg polygon:not(.grid) { transform: none; } .lp-mbar i { width: var(--w, 0%); } }
.lp-screen .island { display: grid !important; position: absolute; }
.lp-screen .mtop { display: grid !important; position: relative; padding-top: 6px; }
.lp-status { height: 46px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 10px 26px 0; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-status i { width: 118px; height: 34px; border-radius: 20px; background: #000; box-shadow: 0 0 0 1px #0E100F; }
.lp-status .lp-sig { display: flex; gap: 6px; align-items: center; justify-self: end; }
.lp-screen .page { padding: 14px 16px 80px; }
.lp-screen .split, .lp-screen .fpl-team { display: flex !important; flex-direction: column; }
.lp-screen .only-d, .lp-screen .dtop { display: none !important; }
.lp-screen .only-m { display: revert !important; }
.lp-screen .tabs button { pointer-events: none; }
.lp-feed .post { padding: 12px 14px 4px; }
.lp-screen .lp-chat { min-height: 0; height: calc(844px - 46px - 60px - 58px); }
.lp-screen .lp-chat .chat-foot { position: static; padding-bottom: 10px; }
.lp-caret { display: inline-block; width: 2px; height: 1em; background: var(--green2); vertical-align: -2px; margin-left: 2px; animation: lpblink 1s steps(2) infinite; }
@keyframes lpblink { to { opacity: 0; } }
.lp-strip { margin: 26px 0 0; border: 1px solid var(--line3); background: var(--s1); border-radius: 20px; padding: 16px; display: grid; gap: 14px; scroll-margin-top: 80px; }
.lp-strip-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.lp-strip-h b { font-size: 15px; } .lp-strip-h span { font-size: 12px; color: var(--mut); text-align: right; }
@media (max-width: 480px) { .lp-strip-h span { display: none; } }
.lp-calls { display: grid; grid-template-columns: 1fr; gap: 10px; }
.lp-call { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 14px; background: var(--s2); border: 1px solid var(--line2); min-width: 0; }
.lp-feat { padding: 64px 0 0; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.lp-feat h2, .lp-off h2, .lp-faq h2 { font-size: 27px; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 12px; font-weight: 800; }
.lp-copy p { font-size: 16px; line-height: 1.6; color: var(--dim); margin: 0; max-width: 46ch; }
.lp-copy ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.lp-copy li { font-size: 14px; color: var(--mut); padding-left: 18px; position: relative; line-height: 1.45; }
.lp-copy li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--green2); }
.lp-n { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .02em; color: var(--green2); margin-bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(22, 198, 96, .09); border: 1px solid rgba(22, 198, 96, .22); }
.lp-off, .lp-faq { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 44px; }
.lp-off p { color: var(--dim); max-width: 60ch; line-height: 1.6; margin: 0 0 18px; }
.lp-accts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-acct { border: 1px solid var(--line3); background: var(--s1); border-radius: 16px; padding: 14px; }
.lp-acct b { display: block; font-size: 14px; } .lp-acct span { font-size: 12px; color: var(--mut); line-height: 1.5; display: block; margin-top: 4px; }
.lp-q { border-bottom: 1px solid var(--line); padding: 14px 0; }
.lp-q b { display: block; font-size: 15px; margin-bottom: 5px; } .lp-q span { font-size: 14px; color: var(--mut); line-height: 1.55; }
.lp-end { margin: 64px 0 0; text-align: center; padding: 52px 20px; border-radius: 28px; border: 1px solid var(--line3); background: radial-gradient(60% 80% at 50% 0%, rgba(34, 199, 106, .10), transparent 70%), var(--s1); }
.lp-end h2 { font-size: 30px; letter-spacing: -.03em; margin: 0 0 8px; } .lp-end p { color: var(--dim); margin: 0 0 20px; }
.lp-foot { padding: 36px 0 44px; color: var(--faint); font-size: 13px; display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: space-between; }
.lp-foot nav { display: flex; gap: 16px; flex-wrap: wrap; } .lp-foot a { color: var(--faint); } .lp-foot a:hover { color: var(--tx); }
@media (min-width: 900px) {
  .lp-hero { grid-template-columns: 1.15fr .85fr; padding: 72px 0 24px; }
  .lp-hero h1 { font-size: 54px; } .lp-lead { font-size: 19px; }
  .lp-hero .lp-phone { margin: 0 0 0 auto; }
  .lp-phone { --s: .8; }
  .lp-calls { grid-template-columns: 1fr 1fr 1fr; }
  .lp-feat { grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 92px; }
  .lp-feat.flip .lp-phone { order: -1; }
  .lp-feat h2 { font-size: 34px; }
  .lp-accts { grid-template-columns: repeat(4, 1fr); }
}

/* the Creator's page (pages/creator.jsx) */
.cr-url { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line2); }
.cr-url > span { flex: 1; min-width: 0; font-size: 15px; color: var(--dim); }
.cr-url > span b { color: var(--tx); font-weight: 800; }
.cr-bar { height: 8px; border-radius: 4px; background: var(--s3); overflow: hidden; }
.cr-bar i { display: block; height: 100%; border-radius: 4px; background: var(--green); }
.cr-stop { display: flex; gap: 10px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 176, 32, .08); border: 1px solid rgba(255, 176, 32, .35); font-size: 14px; line-height: 1.5; color: var(--dim); }
.cr-stop svg { flex: none; margin-top: 2px; color: #FFB020; } .cr-stop b { color: var(--tx); }
.cr-no { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--s2); border: 1px solid var(--line2); font-size: 14px; line-height: 1.5; }
.cr-no span { color: var(--dim); }

/* a visitor without an account (28 Nov 2026): the header button, the side-menu card, a page that needs an account, 11BALLR's own feed */
/* phones: the way in sits in the page header on every page (28 Nov 2026: the bar above the tabs was in the way and took
   the install button's place) */
.gjoin { display: inline-flex; align-items: center; align-self: center; height: 34px; padding: 0 14px; margin-left: 4px; border-radius: 17px; border: 1.5px solid var(--btn-edge); background: var(--bg); color: var(--green2); font-size: 13.5px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.gjoin:hover { border-color: var(--green2); background: rgba(34, 199, 106, .1); color: var(--green2); }
/* 28 Nov 2026 (Mohamed): the same quiet surface as the install card next to it, not a green tint; the green stays on the button and the two links */
.gcard { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line2); }
.gcard b { font-size: 15px; font-weight: 800; letter-spacing: -.01em; } .gcard a:not(.btn) { color: var(--green2); font-weight: 600; }
@media (min-width: 1024px) { .gjoin { display: none; } }
.locked { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 26px 12px 20px; max-width: 460px; margin: 0 auto; }
.locked h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; } .locked p { line-height: 1.5; }
.lk-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: #173A24; color: var(--green); }
.lk-pts { list-style: none; display: flex; flex-direction: column; gap: 8px; text-align: left; align-self: stretch; padding: 4px 6px; } .lk-pts li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14px; } .lk-pts svg { color: var(--green); flex: none; }
.lk-asks { display: flex; flex-direction: column; gap: 8px; align-self: stretch; } .lk-asks span { text-align: left; padding: 11px 14px; border-radius: 14px; background: var(--s2); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--tx); }
.gfeed-h { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); } .gfeed-h b { font-size: 16px; font-weight: 800; }
.gfeed-more { display: flex; align-items: center; gap: 12px; padding: 16px; color: var(--tx); border-top: 1px solid var(--line); } .gfeed-more > .col { flex: 1; } .gfeed-more svg { color: var(--mut); }

.gfeed-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #173A24; color: var(--green); flex: none; }
.codecard { gap: 12px; }
.code { position: relative; display: block; }
.code input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; }
.code .boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.code .boxes span { height: 58px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line2); display: grid; place-items: center; font: 800 26px/1 'Manrope', sans-serif; font-variant-numeric: tabular-nums; color: var(--tx); }
.code .boxes span.on { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22, 198, 96, .18); }
