/* =========================================================
   myfyio — shared page styles (standings, pricing,
   sign-up, player pages). Builds on styles.css tokens.
   ========================================================= */

main { position: relative; z-index: 1; }

/* ---- page hero / header ---- */
.page-hero {
  text-align: center;
  padding: clamp(48px, 9vh, 92px) 20px clamp(28px, 4vw, 44px);
}
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted-2);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); transition: color 0.18s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { opacity: 0.5; }
.page-eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; color: var(--green); text-transform: uppercase;
}
.page-hero h1 {
  font-size: clamp(34px, 6vw, 68px); font-weight: 900; line-height: 1.03;
  letter-spacing: -0.035em; font-stretch: 118%; margin: 14px 0 14px; text-wrap: balance;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(95deg, var(--green), var(--gold), var(--green));
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradientShift 6s linear infinite;
}
.page-hero p { color: var(--muted); max-width: 600px; margin: 0 auto; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.6; text-wrap: pretty; }
.page-section { padding: clamp(20px, 3vw, 36px) 0; }

/* =========================================================
   STANDINGS
   ========================================================= */
.table-card {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 46, 26, 0.4), rgba(8, 25, 15, 0.6));
}
.league-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.league-table thead th {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--muted-2); text-transform: uppercase; text-align: center;
  padding: 14px 10px; border-bottom: 1px solid var(--line); background: rgba(5, 16, 10, 0.5);
}
.league-table thead th.left { text-align: left; padding-left: 22px; }
.league-table tbody td { padding: 16px 10px; text-align: center; border-bottom: 1px solid var(--line); font-weight: 700; }
.league-table tbody tr:last-child td { border-bottom: none; }
.league-table .team-cell { text-align: left; padding-left: 16px; }
.team-cell .row { display: flex; align-items: center; gap: 12px; }
.team-cell .pos { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); width: 18px; }
.team-cell .crest { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 900; font-size: 13px; flex: none; }
.team-cell .tname { font-size: 16px; font-weight: 900; font-stretch: 110%; letter-spacing: -0.01em; }
.league-table tr.fyio { background: rgba(34, 229, 132, 0.06); }
.league-table tr.fyio .crest { background: var(--green); color: var(--ink); box-shadow: 0 0 18px -4px var(--green); }
.league-table tr.fyio .tname { color: var(--green); }
.league-table tr.giants .crest { background: var(--red); color: var(--ink); }
.league-table tr.giants .tname { color: var(--red); }
.league-table td.pts { font-family: var(--font-mono); font-size: 18px; color: var(--white); }
.league-table tr.fyio td.pts { color: var(--gold); }
.form-pills { display: inline-flex; gap: 4px; }
.form-pills i { width: 16px; height: 16px; border-radius: 5px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 9px; font-weight: 800; color: var(--ink); }
.form-pills i.w { background: var(--green); }
.form-pills i.d { background: var(--muted); }
.form-pills i.l { background: var(--red); }

/* head-to-head list */
.h2h { display: grid; gap: 10px; }
.h2h-row {
  display: grid; grid-template-columns: 40px 1fr auto 1fr 96px; align-items: center; gap: 14px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(8, 25, 15, 0.5); transition: border-color 0.2s, transform 0.2s;
}
.h2h-row:hover { border-color: var(--line-2); transform: translateX(3px); }
.h2h-row .num { font-family: var(--font-mono); font-size: 20px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.2px var(--line-2); }
.h2h-row .side { display: flex; align-items: center; gap: 10px; min-width: 0; }
.h2h-row .side.you { justify-content: flex-end; text-align: right; }
.h2h-row .nm { font-weight: 800; font-size: 16px; font-stretch: 108%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2h-row .side.you .nm { color: var(--green); }
.h2h-row .side.them .nm { color: var(--muted); }
.h2h-row .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.h2h-row .side.you .dot { background: var(--green); }
.h2h-row .side.them .dot { background: var(--red); }
.h2h-row .vscore { font-family: var(--font-mono); font-weight: 800; font-size: 17px; color: var(--white); padding: 3px 12px; border-radius: 8px; background: rgba(242, 255, 247, 0.04); border: 1px solid var(--line); }
.verdict { font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-align: center; padding: 5px 0; border-radius: 7px; }
.verdict.win { color: var(--ink); background: var(--green); }
.verdict.draw { color: var(--ink); background: var(--muted); }

/* =========================================================
   PRICING
   ========================================================= */
.price-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 26px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(14, 46, 26, 0.45), rgba(8, 25, 15, 0.65));
  border: 1px solid var(--line);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.price-card:hover { transform: translateY(-5px); border-color: var(--line-2); }
.price-card.featured { border-color: color-mix(in oklab, var(--green) 55%, var(--line)); box-shadow: 0 30px 70px -34px var(--green); }
.price-card .flag {
  position: absolute; top: -11px; left: 26px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--ink); background: var(--green); padding: 4px 11px; border-radius: 7px;
}
.price-tier { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.price-amt { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; }
.price-amt .big { font-size: 46px; font-weight: 900; letter-spacing: -0.04em; font-stretch: 110%; }
.price-amt .per { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.price-sub { color: var(--muted-2); font-size: 13px; margin-bottom: 20px; }
.price-feats { list-style: none; display: grid; gap: 11px; margin: 4px 0 24px; }
.price-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--white); line-height: 1.45; }
.price-feats .tick { color: var(--green); flex: none; font-weight: 800; }
.price-feats li.off { color: var(--muted-2); }
.price-feats li.off .tick { color: var(--muted-2); }
.price-card .btn { margin-top: auto; justify-content: center; width: 100%; }

.compare-note {
  margin-top: 30px; padding: 22px 26px; border-radius: 16px; text-align: center;
  border: 1px solid var(--line); background: rgba(255, 209, 102, 0.04);
}
.compare-note b { color: var(--gold); }
.compare-note .vs-line { font-family: var(--font-mono); font-size: clamp(14px, 2.4vw, 20px); font-weight: 800; }
.compare-note .vs-line .strike { color: var(--red); text-decoration: line-through; opacity: 0.8; }
.compare-note .vs-line .win { color: var(--green); }

/* faq */
.faq { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: 13px; background: rgba(8, 25, 15, 0.5);
  padding: 4px 18px; transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  cursor: pointer; list-style: none; padding: 15px 0; font-weight: 700; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--green); font-size: 20px; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); font-size: 14px; line-height: 1.6; padding: 0 0 16px; }

/* =========================================================
   AUTH / SWITCH SIDES
   ========================================================= */
.auth-wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; min-height: calc(100vh - 60px);
  align-items: stretch;
}
.auth-aside {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 76px); display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(700px 380px at 20% 10%, rgba(34, 229, 132, 0.12), transparent 60%),
    linear-gradient(180deg, var(--pitch-2), var(--ink));
  border-right: 1px solid var(--line);
}
.auth-aside .badge { align-self: flex-start; }
.auth-aside h1, .auth-aside h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; font-stretch: 116%; margin-bottom: 16px; text-wrap: balance; }
.auth-aside h1 em, .auth-aside h2 em { font-style: normal; color: var(--green); }
.auth-aside p { color: var(--muted); font-size: 16px; max-width: 440px; line-height: 1.6; }
.auth-points { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.auth-points li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.auth-points .chk { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(34, 229, 132, 0.14); color: var(--green); font-weight: 800; font-size: 12px; flex: none; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: clamp(36px, 5vw, 64px) 24px; }
.auth-card { width: 100%; max-width: 410px; }
.auth-card h3 { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.oauth-row { display: grid; gap: 10px; margin-bottom: 18px; }
.oauth-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 16px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(242, 255, 247, 0.03); color: var(--white);
  font-weight: 700; font-size: 14px; transition: border-color 0.18s, transform 0.18s, background 0.18s;
}
.oauth-btn:hover { border-color: var(--green); transform: translateY(-2px); }
.oauth-btn .g { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; font-weight: 800; background: var(--white); color: var(--ink); }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted-2); font-size: 12px; font-family: var(--font-mono); margin: 18px 0; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.field { margin-bottom: 14px; }
.field label { display: block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 7px; }
.field input {
  width: 100%; padding: 13px 15px; border-radius: 11px; font-size: 15px; font-family: inherit;
  background: rgba(5, 16, 10, 0.6); border: 1px solid var(--line-2); color: var(--white);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(34, 229, 132, 0.14); }
.auth-card .btn.primary { width: 100%; justify-content: center; margin-top: 6px; }
.auth-foot { text-align: center; color: var(--muted); font-size: 13px; margin-top: 20px; }
.auth-foot a { color: var(--green); font-weight: 700; }
.field-msg { font-family: var(--font-mono); font-size: 11.5px; margin-top: 7px; min-height: 14px; }
.field-msg.err { color: var(--red); }
.field-msg.ok { color: var(--green); }

/* ---- verification flow (email / phone) + OTP ---- */
.verify-steps { display: flex; gap: 8px; margin-bottom: 22px; }
.verify-steps i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: width 0.2s, background 0.2s; }
.verify-steps i.on { background: var(--green); width: 24px; border-radius: 5px; }
.verify-steps i.done { background: var(--green); }
.auth-card .sub b { color: var(--white); font-weight: 700; }
.otp-row { display: flex; gap: 8px; margin-bottom: 14px; }
.otp-box {
  flex: 1; min-width: 0; max-width: 56px; height: 56px;
  text-align: center; font-family: var(--font-mono); font-size: 22px; font-weight: 800;
  color: var(--white); background: rgba(5, 16, 10, 0.6);
  border: 1px solid var(--line-2); border-radius: 12px;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.otp-box:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(34, 229, 132, 0.14); }
.otp-box.filled { border-color: color-mix(in oklab, var(--green) 55%, var(--line)); }
.verify-msg { font-family: var(--font-mono); font-size: 12.5px; min-height: 16px; margin-bottom: 12px; }
.verify-msg.err { color: var(--red); }
.verify-msg.ok { color: var(--green); }
.auth-card .btn.primary:disabled,
.auth-card .btn.primary[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.resend { color: var(--muted); font-size: 13px; margin-top: 18px; text-align: center; }
.resend b { color: var(--green); cursor: pointer; font-weight: 700; }
.resend b.disabled { color: var(--muted-2); cursor: default; }
.demo-hint {
  margin-top: 18px; padding: 10px 12px; text-align: center;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2);
  border: 1px dashed var(--line-2); border-radius: 10px; background: rgba(255, 209, 102, 0.04);
}
.demo-hint b { color: var(--gold); }

/* =========================================================
   PLAYER PAGE
   ========================================================= */
.player-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(36px, 6vw, 72px) 0; }
.player-id { position: relative; }
.player-id .ghost-num {
  position: absolute; top: -28px; left: -8px; z-index: 0;
  font-family: var(--font-mono); font-size: clamp(140px, 22vw, 260px); font-weight: 800; line-height: 0.8;
  color: transparent; -webkit-text-stroke: 2px color-mix(in oklab, var(--accent) 30%, var(--line)); opacity: 0.5;
  pointer-events: none;
}
.player-id .role-badge { font-size: 13px; padding: 6px 13px; position: relative; z-index: 1; }
.player-id h1 { position: relative; z-index: 1; font-size: clamp(46px, 8vw, 92px); font-weight: 900; letter-spacing: -0.04em; font-stretch: 116%; line-height: 1; margin: 16px 0 14px; }
.player-id h1 span { color: var(--accent); }
.player-id .tagline { position: relative; z-index: 1; font-size: clamp(17px, 2.2vw, 22px); color: var(--white); font-weight: 600; max-width: 440px; line-height: 1.4; margin-bottom: 22px; text-wrap: pretty; }
.player-id .vs-badge { font-size: 13px; }
.player-id .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.player-card-3d {
  border-radius: 22px; padding: 30px; position: relative; overflow: hidden;
  background:
    radial-gradient(400px 300px at 70% 0%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 65%),
    linear-gradient(180deg, rgba(14, 46, 26, 0.6), rgba(5, 16, 10, 0.85));
  border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--line));
}
.pc3-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.pc3-rating { font-family: var(--font-mono); }
.pc3-rating .ovr { font-size: 52px; font-weight: 800; line-height: 1; color: var(--accent); }
.pc3-rating .lab { font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
.pc3-pos { text-align: right; font-family: var(--font-mono); }
.pc3-pos .role-badge { font-size: 14px; }
.pc3-pos .num { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.attrs { display: grid; gap: 13px; }
.attr { display: grid; grid-template-columns: 92px 1fr 32px; align-items: center; gap: 12px; }
.attr .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.attr .track { height: 7px; border-radius: 999px; background: rgba(242, 255, 247, 0.07); overflow: hidden; }
.attr .track i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.attr .v { font-family: var(--font-mono); font-size: 13px; font-weight: 700; text-align: right; color: var(--white); }

.player-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); padding: clamp(30px, 5vw, 60px) 0; border-top: 1px solid var(--line); }
.player-body h2 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 900; letter-spacing: -0.025em; font-stretch: 112%; margin-bottom: 18px; }
.feat-list { list-style: none; display: grid; gap: 16px; }
.feat-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.feat-list .ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--accent); font-weight: 800; font-family: var(--font-mono); font-size: 13px; }
.feat-list .ft { font-weight: 700; font-size: 15.5px; }
.feat-list .fd { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin-top: 3px; }
.matchup-box { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: rgba(8, 25, 15, 0.5); align-self: start; }
.matchup-box .mh { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-bottom: 16px; }
.matchup-box .vs-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.matchup-box .vs-line .you { color: var(--accent); font-weight: 900; font-size: 20px; }
.matchup-box .vs-line .vtag { font-family: var(--font-mono); font-size: 10px; font-weight: 800; color: var(--ink); background: var(--accent); padding: 3px 7px; border-radius: 5px; }
.matchup-box .vs-line .them { color: var(--muted); font-weight: 800; font-size: 17px; }
.matchup-box p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

.player-nav { display: flex; justify-content: space-between; gap: 14px; padding: 28px 0 12px; border-top: 1px solid var(--line); }
.player-nav a { display: flex; flex-direction: column; gap: 4px; color: var(--muted); transition: color 0.18s; font-size: 14px; }
.player-nav a:hover { color: var(--green); }
.player-nav a.next { text-align: right; align-items: flex-end; }
.player-nav .lab { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted-2); }
.player-nav .nm { font-weight: 800; font-size: 17px; }

/* ---- captain + versatility (player page) ---- */
.cap-badge {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; white-space: nowrap;
  font-family: var(--font-mono); font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
  color: var(--ink); background: var(--gold); padding: 5px 11px; border-radius: 7px;
  box-shadow: 0 0 18px -4px var(--gold);
}
.player-id .badge-stack { position: relative; z-index: 1; }
.cover { padding: clamp(26px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.cover h2 { font-size: clamp(22px, 3.2vw, 32px); font-weight: 900; letter-spacing: -0.025em; font-stretch: 112%; margin-bottom: 8px; }
.cover h2 em { font-style: normal; color: var(--gold); }
.cover p { color: var(--muted); margin-bottom: 20px; font-size: 14.5px; max-width: 640px; line-height: 1.6; }
.cover-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cover-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(8, 25, 15, 0.5);
  font-weight: 700; font-size: 13.5px; transition: border-color 0.18s, transform 0.18s; text-decoration: none; color: var(--white);
}
.cover-chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.cover-chip .rk { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 9.5px; font-weight: 800; color: var(--ink); }
.cover-chip .rk.GK { background: #ffd166; } .cover-chip .rk.DF { background: #3cc9d6; } .cover-chip .rk.MF { background: #22e584; } .cover-chip .rk.FW { background: #7bd95a; }
.cover-chip .nm2 span { color: var(--gold); }

/* =========================================================
   BLOG
   ========================================================= */
.posts { display: grid; gap: 0; }
.post { padding: 28px 0; border-bottom: 1px solid var(--line); }
.post:last-child { border-bottom: none; }
.post .meta {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; color: var(--muted-2); text-transform: uppercase; margin-bottom: 10px;
}
.post h3 {
  font-size: clamp(18px, 2.4vw, 24px); font-weight: 900; letter-spacing: -0.02em;
  font-stretch: 110%; margin-bottom: 10px;
}
.post > p {
  color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 700px; margin-bottom: 14px;
}
.post-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.post.expanded .post-body { max-height: 500px; }
.post-body p {
  color: var(--muted); font-size: 14.5px; line-height: 1.7;
  max-width: 700px; margin-bottom: 12px;
}
.post-body p:last-child { margin-bottom: 16px; }
.more {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--green); cursor: pointer; background: none; border: none; padding: 0;
  transition: opacity 0.18s;
}
.more:hover { opacity: 0.7; }

/* =========================================================
   DOCS SEARCH + TILE GRID
   ========================================================= */
.searchbar {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: rgba(5, 16, 10, 0.5);
  margin-bottom: 28px; transition: border-color 0.18s;
}
.searchbar:focus-within { border-color: var(--green); }
.searchbar span { color: var(--muted-2); font-size: 17px; flex: none; }
.searchbar input {
  flex: 1; background: none; border: none; color: var(--white);
  font-size: 14.5px; font-family: inherit; outline: none;
}
.searchbar input::placeholder { color: var(--muted-2); }

.tile-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.tile {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(8, 25, 15, 0.5); transition: border-color 0.2s, transform 0.2s; color: var(--white);
}
.tile:hover {
  border-color: color-mix(in oklab, var(--accent, var(--green)) 50%, var(--line));
  transform: translateY(-3px);
}
.tile[hidden] { display: none !important; }
.ti {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 800; color: var(--ink);
}
.tt { font-size: 15px; font-weight: 800; font-stretch: 108%; }
.tt span { color: var(--green); }
.ts { color: var(--muted); font-size: 12.5px; margin-top: 2px; }

/* site-footer multi-col layout */
.site-footer {
  position: relative; z-index: 1;
  padding: 40px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.foot-cols {
  display: grid; gap: 32px;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  max-width: var(--maxw); margin: 0 auto;
}
.foot-brandcol { display: flex; flex-direction: column; gap: 10px; }
.foot-desc { color: var(--muted); font-size: 13.5px; line-height: 1.55; max-width: 280px; }
.foot-tag { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.foot-tag b { color: var(--green); }
.foot-col h4 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px;
}
.foot-col a {
  display: block; color: var(--muted); font-size: 14px;
  margin-bottom: 10px; transition: color 0.18s;
}
.foot-col a:hover { color: var(--white); }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { border-right: none; border-bottom: 1px solid var(--line); }
  .player-hero { grid-template-columns: 1fr; }
  .player-body { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .h2h-row { grid-template-columns: 30px 1fr 64px 1fr; }
  .h2h-row .verdict { display: none; }
  .league-table .hide-sm { display: none; }
  .otp-box { height: 48px; font-size: 18px; border-radius: 10px; }
}
