/* =========================================================
   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 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 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); }

/* =========================================================
   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); }

/* ---- misc pages: about / docs / blog / changelog / contact / legal ---- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-strip .s { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8, 25, 15, 0.5); text-align: center; }
.stat-strip .s .big { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -0.03em; color: var(--green); font-variant-numeric: tabular-nums; }
.stat-strip .s .lab { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); margin-top: 6px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8, 25, 15, 0.5); }
.value-card .vi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: rgba(34, 229, 132, 0.1); margin-bottom: 14px; }
.value-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.two-col p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }

.tile-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tile { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(8, 25, 15, 0.5); transition: border-color 0.18s, transform 0.18s; }
.tile:hover { border-color: var(--green); transform: translateY(-2px); }
.tile .ti { width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 800; font-size: 13px; color: var(--ink); }
.tile .tt { font-weight: 800; font-size: 14.5px; } .tile .tt span { color: var(--accent, var(--green)); }
.tile .ts { color: var(--muted); font-size: 12px; margin-top: 2px; }

.searchbar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 13px; background: rgba(5, 16, 10, 0.6); border: 1px solid var(--line-2); margin-bottom: 22px; color: var(--muted); }
.searchbar input { flex: 1; background: none; border: none; color: var(--white); font-family: inherit; font-size: 14.5px; outline: none; }

.posts { display: grid; gap: 16px; }
.post { display: grid; gap: 9px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8, 25, 15, 0.5); transition: border-color 0.18s, transform 0.18s; }
.post:hover { border-color: var(--line-2); transform: translateY(-2px); }
.post .meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2); letter-spacing: 0.04em; }
.post .meta b { color: var(--green); }
.post h3 { font-size: 21px; font-weight: 900; letter-spacing: -0.02em; }
.post p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.post .more { color: var(--green); font-family: var(--font-mono); font-size: 12.5px; }

.log { display: grid; }
.log-entry { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.log-entry .ver .tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 800; color: var(--ink); background: var(--green); padding: 3px 9px; border-radius: 6px; }
.log-entry .ver .date { display: block; color: var(--muted-2); font-family: var(--font-mono); font-size: 12px; margin-top: 9px; }
.log-entry ul { list-style: none; display: grid; gap: 10px; }
.log-entry li { display: flex; gap: 11px; font-size: 14px; color: var(--white); line-height: 1.45; align-items: start; }
.log-entry li .k { font-family: var(--font-mono); font-size: 9.5px; font-weight: 800; padding: 3px 7px; border-radius: 5px; flex: none; margin-top: 1px; }
.log-entry li .k.new { background: rgba(34, 229, 132, 0.16); color: var(--green); }
.log-entry li .k.fix { background: rgba(255, 209, 102, 0.16); color: var(--gold); }
.log-entry li .k.sign { background: rgba(138, 180, 255, 0.16); color: var(--blue); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 52px); align-items: start; }
.contact-info { display: grid; gap: 20px; }
.contact-info .ci h4 { font-size: 14.5px; font-weight: 800; margin-bottom: 5px; }
.contact-info .ci p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.contact-info .ci a { color: var(--green); }
textarea.field-ta { width: 100%; min-height: 130px; padding: 13px 15px; border-radius: 11px; background: rgba(5, 16, 10, 0.6); border: 1px solid var(--line-2); color: var(--white); font-family: inherit; font-size: 15px; resize: vertical; }
textarea.field-ta:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(34, 229, 132, 0.14); }

.prose { max-width: 760px; margin: 0 auto; }
.prose .upd { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); margin-bottom: 22px; }
.prose h2 { font-size: 21px; font-weight: 900; letter-spacing: -0.02em; margin: 30px 0 10px; }
.prose p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin-bottom: 12px; }
.prose ul { color: var(--muted); font-size: 14.5px; line-height: 1.7; padding-left: 20px; margin-bottom: 12px; }
.prose a { color: var(--green); }

/* ---- verification flow (email / phone) + OTP ---- */
.verify-top { display: flex; justify-content: center; padding: 20px; border-bottom: 1px solid var(--line); }
.verify-wrap { min-height: calc(100vh - 63px); display: grid; place-items: center; padding: 36px 20px; }
.verify-card { width: 100%; max-width: 440px; text-align: center; }
.verify-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 22px; font-size: 28px; background: rgba(34, 229, 132, 0.1); border: 1px solid var(--line-2); }
.verify-steps { display: flex; gap: 8px; justify-content: center; margin-bottom: 24px; }
.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); }
.verify-card h1 { font-size: 27px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 10px; }
.verify-card .vsub { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-bottom: 26px; }
.verify-card .vsub b { color: var(--white); }
.otp-row { display: flex; gap: 10px; justify-content: center; margin-bottom: 16px; }
.otp-box { width: 48px; height: 58px; text-align: center; font-family: var(--font-mono); font-size: 24px; 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: 14px; }
.verify-msg.err { color: var(--red); }
.verify-msg.ok { color: var(--green); }
.verify-card .btn { width: 100%; justify-content: center; }
.resend { color: var(--muted); font-size: 13px; margin-top: 18px; }
.resend b { color: var(--green); cursor: pointer; font-weight: 700; }
.resend b.disabled { color: var(--muted-2); cursor: default; }
.verify-alt { margin-top: 14px; font-size: 13px; }
.verify-alt a { color: var(--muted); }
.verify-alt a:hover { color: var(--green); }
.demo-hint { margin-top: 22px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2); }
.demo-hint b { color: var(--gold); }

@media (max-width: 760px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .log-entry { grid-template-columns: 1fr; gap: 10px; }
}

/* ---- 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; }
}
