/* ==========================================================================
   MasterLeague — Design System (ver docs/style-guide.md)
   ========================================================================== */

:root {
  /* Fundo */
  --bg: #0A0D10;
  --bg-panel-1: #12181D;
  --bg-panel-2: #0B0F13;
  --bg-strip-1: #0D1216;
  --bg-strip-2: #0A0D10;
  --bg-footer: #080B0E;

  /* Ciano (acento principal) */
  --cyan: #2EE6D6;
  --cyan-deep: #14B7A5;
  --cyan-hover: #8BF5EA;
  --cyan-frame-2: #1A8F80;
  --cyan-frame-3: #0B4A42;

  /* Dourado (conquistas) */
  --gold: #E8C874;
  --gold-frame-1: #F2DC8F;
  --gold-frame-2: #C49A45;
  --gold-frame-3: #7A5E28;
  --gold-accent-dim: #C2A052;

  /* Tiers de cartão */
  --silver-frame-1: #E6EDF2;
  --silver-frame-2: #9FB0BD;
  --silver-frame-3: #5C6B76;
  --silver-accent: #DFE8EE;
  --silver-accent-dim: #9FB0BD;
  --bronze-frame-1: #E0A878;
  --bronze-frame-2: #A8703F;
  --bronze-frame-3: #5F3D20;
  --bronze-accent: #E0A878;

  /* Texto */
  --text: #F2F7FA;
  --text-body: #E8EEF2;
  --text-soft: #B8C4CD;
  --text-dim: #8FA0AD;
  --text-faint: #5D6D7A;
  --text-on-cyan: #04120E;

  /* Estado / semáforo */
  --success: #2FE08D;
  --warning: #E8C14B;
  --danger: #FF5C4D;
  --danger-stat: #E0642F;
  --danger-soft: #FF9086;

  /* Layout */
  --container-max: 1240px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  font-family: 'Archivo', sans-serif;
  color: var(--text-body);
}

a {
  color: var(--cyan);
  text-decoration: none;
}
a:hover { color: var(--cyan-hover); }

::selection { background: rgba(46, 230, 214, .35); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

@keyframes mlGlow {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

/* ==========================================================================
   Tipografia utilitária
   ========================================================================== */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow.eyebrow-gold { color: var(--gold); }

.eyebrow-bar {
  width: 34px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(46, 230, 214, .9);
  flex: none;
}
.eyebrow-gold .eyebrow-bar {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(232, 200, 116, .9);
}

.section-title {
  margin: 8px 0 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 52px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
}

/* ==========================================================================
   Botões
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: box-shadow .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}

.btn-primary {
  color: var(--text-on-cyan);
  background: linear-gradient(120deg, var(--cyan), var(--cyan-deep));
  padding: 9px 18px;
  box-shadow: 0 0 22px rgba(46, 230, 214, .35);
  border: none;
}
.btn-primary:hover { box-shadow: 0 0 34px rgba(46, 230, 214, .6); }

.btn-primary.btn-large {
  padding: 14px 32px;
  font-size: 17px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: 0 0 28px rgba(46, 230, 214, .4);
}
.btn-primary.btn-large:hover { box-shadow: 0 0 44px rgba(46, 230, 214, .7); }

.btn-secondary {
  color: var(--text-body);
  background: transparent;
  border: 1px solid rgba(232, 238, 242, .35);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
}
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-secondary.btn-large {
  padding: 13px 30px;
  font-size: 17px;
  font-weight: 600;
  border: 1px solid rgba(232, 238, 242, .4);
  background: rgba(10, 13, 16, .5);
  backdrop-filter: blur(6px);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-gold-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(232, 200, 116, .5);
  padding: 12px 24px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background .2s ease;
}
.btn-gold-ghost:hover { background: rgba(232, 200, 116, .12); color: var(--gold); }

/* ==========================================================================
   Nav
   ========================================================================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 13, 16, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(46, 230, 214, .16);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 10px 24px;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  white-space: nowrap;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.nav-logo img { height: 44px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.nav-links a { color: var(--text-dim); transition: color .2s ease; }
.nav-links a:hover { color: var(--text-body); }
.nav-links a.active {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(46, 230, 214, .8);
}
.nav-links a.active.is-gold {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(232, 200, 116, .7);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--bg-panel-1), var(--bg-panel-2));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 13, 16, .96) 0%, rgba(10, 13, 16, .82) 38%, rgba(10, 13, 16, .3) 75%, rgba(10, 13, 16, .55) 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 340px at 18% 80%, rgba(46, 230, 214, .12), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 96px 32px;
  width: 100%;
  pointer-events: none;
}

.hero-text { max-width: 640px; }

.hero-title {
  margin: 14px 0 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 88px;
  line-height: .94;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 4px 40px rgba(0, 0, 0, .6);
}

.hero-desc {
  margin: 20px 0 0;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
  pointer-events: auto;
}

@media (max-width: 767px) {
  .hero-title { font-size: 56px; }
}

/* ==========================================================================
   Scoreboard strip
   ========================================================================== */

.scoreboard {
  border-top: 1px solid rgba(46, 230, 214, .18);
  border-bottom: 1px solid rgba(46, 230, 214, .18);
  background: linear-gradient(180deg, var(--bg-strip-1), var(--bg-strip-2));
}

.scoreboard-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 34px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.scoreboard-item {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.scoreboard-icon {
  color: var(--cyan);
  display: inline-flex;
  flex: none;
}

.scoreboard-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: var(--text);
}

.scoreboard-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}

@media (max-width: 767px) {
  .scoreboard-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Secções
   ========================================================================== */

.section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 32px 40px;
}
.section.section-tight { padding: 64px 32px 40px; }
.section.is-flush-top { padding-top: 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.section-lead {
  margin: 0;
  max-width: 380px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
}

.section-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ==========================================================================
   Cards de liga
   ========================================================================== */

.league-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.card-frame {
  background: linear-gradient(150deg, rgba(46, 230, 214, .5), rgba(46, 230, 214, .12) 55%, rgba(46, 230, 214, .28));
  padding: 1.5px;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transition: transform .2s ease;
}
.card-frame:hover { transform: translateY(-5px); }

.card-inner {
  background: linear-gradient(168deg, var(--bg-panel-1) 0%, var(--bg-panel-2) 70%);
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.league-photo {
  height: 160px;
  position: relative;
  flex: none;
  background: linear-gradient(160deg, var(--bg-panel-1), var(--bg-panel-2));
}

.league-day-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-on-cyan);
  background: var(--cyan);
  padding: 5px 12px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.league-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.league-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
}

.league-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-soft);
}

.league-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.league-meta-item .icon { color: var(--cyan); display: inline-flex; }

.league-vagas-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 7px;
}

.league-vagas-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.league-vagas-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
}
.league-vagas-value.is-success { color: var(--cyan); }
.league-vagas-value.is-warning { color: var(--warning); }
.league-vagas-value.is-danger { color: var(--danger); }

.progress-track {
  height: 5px;
  background: rgba(143, 160, 173, .18);
}

.progress-fill {
  height: 100%;
}
.progress-fill.is-success { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.progress-fill.is-warning { background: var(--warning); box-shadow: 0 0 10px var(--warning); }
.progress-fill.is-danger { background: var(--danger); box-shadow: 0 0 10px var(--danger); }

.league-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.league-actions .btn { text-align: center; padding: 11px 8px; font-size: 15px; font-weight: 600; }
.league-actions .btn-primary { padding: 12px 8px; font-weight: 700; }
.league-actions .btn-primary:hover { box-shadow: 0 0 24px rgba(46, 230, 214, .5); }

/* ==========================================================================
   Goats preview
   ========================================================================== */

.goat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: end;
}

@media (max-width: 1023px) {
  .goat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .goat-grid { grid-template-columns: 1fr; }
}

.goat-frame {
  position: relative;
  padding: 1.5px;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transition: transform .2s ease;
}
.goat-frame:hover { transform: translateY(-5px); }

.goat-frame.tier-gold { background: linear-gradient(150deg, var(--gold-frame-1) 0%, var(--gold-frame-2) 45%, var(--gold-frame-3) 100%); }
.goat-frame.tier-silver { background: linear-gradient(150deg, var(--silver-frame-1) 0%, var(--silver-frame-2) 45%, var(--silver-frame-3) 100%); }
.goat-frame.tier-bronze { background: linear-gradient(150deg, var(--bronze-frame-1) 0%, var(--bronze-frame-2) 45%, var(--bronze-frame-3) 100%); }

.goat-inner {
  background: linear-gradient(168deg, #141A20 0%, #0B0F13 70%);
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
  padding: 18px 18px 16px;
}

.goat-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.goat-rating {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  line-height: .95;
}
.tier-gold .goat-rating { color: var(--gold); }
.tier-silver .goat-rating { color: var(--silver-accent); }
.tier-bronze .goat-rating { color: var(--bronze-accent); }

.goat-pos {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .14em;
}
.tier-gold .goat-pos { color: var(--gold-accent-dim); }
.tier-silver .goat-pos { color: var(--silver-accent-dim); }
.tier-bronze .goat-pos { color: var(--bronze-frame-2); }

.goat-rank {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .14em;
  color: var(--text-faint);
}

.goat-photo {
  margin: 12px 0;
  position: relative;
  background: linear-gradient(160deg, var(--bg-panel-1), var(--bg-panel-2));
}

.goat-name {
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.goat-team {
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 2px;
}
.tier-gold .goat-team { color: var(--gold-accent-dim); }
.tier-silver .goat-team { color: var(--silver-accent-dim); }
.tier-bronze .goat-team { color: var(--bronze-frame-2); }

/* ==========================================================================
   Faixa de campeões
   ========================================================================== */

.champions-frame {
  position: relative;
  min-height: 340px;
  background: linear-gradient(150deg, rgba(232, 200, 116, .55), rgba(232, 200, 116, .14) 55%, rgba(232, 200, 116, .3));
  padding: 1.5px;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.champions-inner {
  position: relative;
  min-height: 340px;
  clip-path: polygon(19px 0, 100% 0, 100% calc(100% - 19px), calc(100% - 19px) 100%, 0 100%, 0 19px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.champions-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--bg-panel-1), var(--bg-panel-2));
}

.champions-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(10, 13, 16, .95) 0%, rgba(10, 13, 16, .75) 45%, rgba(10, 13, 16, .15) 100%);
  pointer-events: none;
}

.champions-content {
  position: relative;
  padding: 48px;
  max-width: 560px;
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(232, 200, 116, .45);
  background: rgba(232, 200, 116, .08);
  padding: 8px 16px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.champions-title {
  margin: 16px 0 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 56px;
  line-height: .96;
  text-transform: uppercase;
  color: var(--text);
}

.champions-desc {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* ==========================================================================
   CTA final
   ========================================================================== */

.cta-final {
  border-top: 1px solid rgba(46, 230, 214, .16);
  background: linear-gradient(180deg, var(--bg-strip-1), var(--bg-strip-2));
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 300px at 50% 120%, rgba(46, 230, 214, .14), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 88px 32px;
  text-align: center;
  position: relative;
}

.cta-title {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 64px;
  line-height: .96;
  text-transform: uppercase;
  color: var(--text);
}

.cta-desc {
  margin: 18px auto 0;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
}

.cta-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.btn-cta {
  font-size: 18px;
  padding: 16px 40px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: 0 0 32px rgba(46, 230, 214, .45);
}
.btn-cta:hover { box-shadow: 0 0 52px rgba(46, 230, 214, .75); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid rgba(46, 230, 214, .14);
  background: var(--bg-footer);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img { height: 36px; opacity: .85; }

.footer-copy {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer-links {
  display: flex;
  gap: 22px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--cyan); }

/* ==========================================================================
   Hero de página interior (Goats, Ligas, ...)
   ========================================================================== */

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 420px at 50% -120px, rgba(46, 230, 214, .14), transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 72px 32px 40px;
  position: relative;
}
.page-hero-inner.is-compact { padding: 64px 32px 36px; }

.page-hero-head {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.page-hero-title {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 112px;
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 0 60px rgba(46, 230, 214, .25);
}
.page-hero-title.is-md { font-size: 92px; text-shadow: none; }

.page-hero-desc {
  margin: 0 0 14px;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dim);
}

@media (max-width: 767px) {
  .page-hero-title { font-size: 64px; }
  .page-hero-title.is-md { font-size: 52px; }
}

/* Linha de informação da liga (local · horário · época) */

.league-info-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-soft);
}

/* Filtros de posição */

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.filter-tab {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 9px 22px;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid rgba(143, 160, 173, .3);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.filter-tab:hover { color: var(--cyan); border-color: rgba(46, 230, 214, .5); }

.filter-tab.is-active {
  background: linear-gradient(120deg, rgba(46, 230, 214, .18), rgba(46, 230, 214, .08));
  color: var(--cyan);
  border-color: rgba(46, 230, 214, .7);
}

/* ==========================================================================
   Cartão destaque — Goat Nº1
   ========================================================================== */

.goat-featured-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .goat-featured-wrap { grid-template-columns: 1fr; }
}

.goat-featured-card { position: relative; }

.goat-featured-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(60% 60% at 50% 45%, rgba(242, 220, 143, .16), transparent 75%);
  animation: mlGlow 4s ease-in-out infinite;
  pointer-events: none;
}

.goat-featured-frame {
  position: relative;
  background: linear-gradient(150deg, var(--gold-frame-1) 0%, var(--gold-frame-2) 45%, var(--gold-frame-3) 100%);
  padding: 2px;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.goat-featured-inner {
  background: linear-gradient(168deg, #1C1A12 0%, #0C0B07 65%);
  clip-path: polygon(19px 0, 100% 0, 100% calc(100% - 19px), calc(100% - 19px) 100%, 0 100%, 0 19px);
  padding: 26px 26px 24px;
}

.goat-featured-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.goat-featured-rating {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 74px;
  line-height: .9;
  color: var(--gold-frame-1);
  text-shadow: 0 0 30px rgba(242, 220, 143, .4);
}

.goat-featured-pos {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: .14em;
  color: var(--gold-frame-2);
}

.goat-featured-label { text-align: right; }

.goat-featured-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-frame-2);
}

.goat-featured-league {
  margin-top: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.goat-featured-photo {
  margin: 18px 0 16px;
  height: 280px;
  position: relative;
  background: linear-gradient(160deg, var(--bg-panel-1), var(--bg-panel-2));
}

.goat-featured-name {
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
}

.goat-featured-team {
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-frame-2);
  margin-top: 2px;
}

.goat-featured-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 220, 143, .45), transparent);
  margin: 16px 0;
}

/* Grelhas de stats (partilhadas entre cartão destaque e cartões da grelha) */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 18px;
  font-family: 'Barlow Condensed', sans-serif;
}
.stat-grid.stat-grid-compact { gap: 8px 12px; }

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: center;
}
.stat-item .stat-value { font-weight: 700; font-size: 24px; }
.stat-item .stat-label { font-size: 15px; letter-spacing: .1em; color: var(--text-dim); }

.stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.stat-col .stat-value { font-weight: 700; font-size: 19px; line-height: 1; }
.stat-col .stat-label { font-size: 13px; letter-spacing: .1em; color: var(--text-faint); }

.stat-value.is-success { color: var(--success); }
.stat-value.is-warning { color: var(--warning); }
.stat-value.is-danger { color: var(--danger-stat); }

/* Painel de carreira */

.career-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.career-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-frame-2);
}

.career-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 58px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 8px;
}

.career-desc {
  margin: 14px 0 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
}

.career-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 640px;
}
@media (max-width: 640px) {
  .career-stats { grid-template-columns: repeat(2, 1fr); }
}

.career-stat {
  background: linear-gradient(165deg, #12181F, #0A0E13);
  border: 1px solid rgba(46, 230, 214, .18);
  padding: 18px 20px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.career-stat-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--cyan);
}

.career-stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

.titles-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.titles-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Lista "Top jogadores"
   ========================================================================== */

.list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid rgba(143, 160, 173, .15);
  padding-top: 28px;
  margin-bottom: 28px;
}

.list-head-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
}

.list-head-count {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

/* Divisor e grelha de stats dentro do cartão de jogador (reutiliza .goat-frame/.goat-inner) */

.goat-divider { height: 1px; margin: 12px 0; }
.tier-gold .goat-divider { background: linear-gradient(90deg, transparent, rgba(242, 220, 143, .45), transparent); }
.tier-silver .goat-divider { background: linear-gradient(90deg, transparent, rgba(223, 232, 238, .4), transparent); }
.tier-bronze .goat-divider { background: linear-gradient(90deg, transparent, rgba(224, 168, 120, .4), transparent); }

/* ==========================================================================
   Página Ligas — layout classificação + calendário
   ========================================================================== */

.ligas-layout {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px 32px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .ligas-layout { grid-template-columns: 1fr; }
}

.ligas-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

/* Escudo/crest de equipa (cor por equipa — dado, não paleta fixa) */

.crest {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: var(--bg);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
.crest.crest-sm {
  width: 28px;
  height: 28px;
  font-size: 13px;
  letter-spacing: .02em;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.crest.crest-lg {
  width: 46px;
  height: 46px;
  font-size: 19px;
}

/* Cartão de classificação (reutiliza .card-frame / .card-inner) */

.standings-card { padding: 24px 24px 18px; }

.standings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.standings-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
}

.standings-round {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.standings-head-row,
.standings-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px 34px 34px 48px;
  gap: 6px;
  align-items: center;
}

.standings-head-row {
  padding: 0 10px 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.standings-head-row .is-center { text-align: center; }
.standings-head-row .is-right { text-align: right; }

.standings-row {
  padding: 11px 10px;
  margin-bottom: 4px;
  border-left: 2px solid transparent;
  background: rgba(143, 160, 173, .04);
}
.standings-row.is-champion { background: rgba(232, 200, 116, .06); border-left-color: var(--gold); }
.standings-row.is-playoff,
.standings-row.is-mine { background: rgba(46, 230, 214, .05); border-left-color: var(--cyan); }

.standings-pos {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-dim);
}
.standings-row.is-champion .standings-pos { color: var(--gold); }
.standings-row.is-playoff .standings-pos,
.standings-row.is-mine .standings-pos { color: var(--cyan); }

.standings-team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.standings-team-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.standings-col {
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  color: var(--text-soft);
}

.standings-pts {
  text-align: right;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--cyan);
}

.standings-legend {
  display: flex;
  gap: 18px;
  padding: 10px 10px 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.standings-legend-item { display: flex; align-items: center; gap: 7px; }
.standings-legend-swatch { width: 10px; height: 2px; }
.standings-legend-swatch.is-champion { background: var(--gold); }
.standings-legend-swatch.is-playoff { background: var(--cyan); }

/* Painéis laterais (Próximos jogos / Resultados recentes) */

.side-panel {
  background: linear-gradient(165deg, var(--bg-panel-1), var(--bg-panel-2));
  border: 1px solid rgba(46, 230, 214, .18);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  padding: 22px 22px 16px;
}

.side-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.side-panel-head .icon { color: var(--cyan); display: inline-flex; }
.side-panel-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
}

.match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid rgba(143, 160, 173, .12);
}

.match-teams {
  min-width: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.match-teams .vs { color: var(--text-faint); }

.match-date {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 2px;
}

.match-hour {
  flex: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--cyan);
}

.match-score {
  flex: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  background: rgba(46, 230, 214, .1);
  border: 1px solid rgba(46, 230, 214, .3);
  padding: 4px 12px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

/* Cartão de equipa (reutiliza .card-frame / .card-inner / .progress-track / .progress-fill) */

.team-card-inner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.team-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.team-card-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 2px;
}
.team-card-meta .icon { color: var(--cyan); display: inline-flex; }

/* ==========================================================================
   Página Campeões
   ========================================================================== */

/* Variantes douradas do hero de página e dos filtros (reutilizam .page-hero* / .filter-tab*) */

.page-hero-glow.is-gold {
  background: radial-gradient(900px 420px at 50% -120px, rgba(232, 200, 116, .14), transparent 70%);
}

.page-hero-title.is-gold {
  text-shadow: 0 0 60px rgba(232, 200, 116, .2);
}

.filter-tabs.is-gold .filter-tab:hover { color: var(--gold); border-color: rgba(232, 200, 116, .5); }
.filter-tabs.is-gold .filter-tab.is-active {
  background: linear-gradient(120deg, rgba(232, 200, 116, .18), rgba(232, 200, 116, .08));
  color: var(--gold);
  border-color: rgba(232, 200, 116, .7);
}

/* Crest grande (pódio) — reutiliza .crest */

.crest.crest-xl {
  width: 150px;
  height: 150px;
  font-size: 52px;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  box-shadow: 0 0 40px rgba(46, 230, 214, .35);
}

/* Pódio — campeão mais recente */

.champion-podium { position: relative; }

.champion-podium-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(60% 60% at 50% 45%, rgba(232, 200, 116, .14), transparent 75%);
  animation: mlGlow 4s ease-in-out infinite;
  pointer-events: none;
}

.champion-podium-frame {
  position: relative;
  background: linear-gradient(150deg, var(--gold-frame-1) 0%, var(--gold-frame-2) 45%, var(--gold-frame-3) 100%);
  padding: 2px;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.champion-podium-inner {
  background: linear-gradient(120deg, #1C1A12 0%, #0C0B07 60%);
  clip-path: polygon(23px 0, 100% 0, 100% calc(100% - 23px), calc(100% - 23px) 100%, 0 100%, 0 23px);
  padding: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: center;
}

@media (max-width: 700px) {
  .champion-podium-inner { grid-template-columns: 1fr; padding: 32px; text-align: center; }
  .champion-podium-inner .crest-xl { margin: 0 auto; }
}

.champion-podium-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-frame-2);
  margin-top: 6px;
}

/* Prémios individuais (reutilizam .card-frame / .card-inner com variante dourada) */

.card-frame.is-gold {
  background: linear-gradient(150deg, rgba(242, 220, 143, .45), rgba(242, 220, 143, .1) 55%, rgba(242, 220, 143, .25));
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.card-inner.is-gold {
  background: linear-gradient(168deg, #141109 0%, #0B0906 70%);
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.award-card { padding: 22px; }

.award-icon { color: var(--gold); display: inline-flex; }

.award-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-frame-2);
  margin-top: 12px;
}

.award-player {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.award-stat {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Timeline de épocas por liga (reutiliza .crest-lg / .team-card-name / .match-date / .badge-gold) */

.season-row {
  display: grid;
  grid-template-columns: 140px auto 1fr auto;
  gap: 22px;
  align-items: center;
  background: linear-gradient(165deg, var(--bg-panel-1), var(--bg-panel-2));
  border: 1px solid rgba(143, 160, 173, .14);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  padding: 18px 22px;
}
@media (max-width: 640px) {
  .season-row { grid-template-columns: auto 1fr; }
  .season-row-label { grid-column: 1 / -1; }
}

.season-row-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ==========================================================================
   Autenticação — login / registo (reutiliza .card-frame / .card-inner / .btn)
   ========================================================================== */

.auth-wrap {
  max-width: 440px;
  margin: 0 auto;
  padding: 96px 32px;
}

.auth-card-body { padding: 40px; }

.auth-title {
  margin: 0 0 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
}

.auth-subtitle {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid rgba(143, 160, 173, .25);
  color: var(--text-body);
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-input::placeholder { color: var(--text-faint); }
.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(46, 230, 214, .12);
}

.form-actions { margin-top: 24px; }
.form-actions .btn { width: 100%; }

.form-alert {
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.form-alert.is-error {
  color: var(--danger);
  border-color: rgba(255, 92, 77, .4);
  background: rgba(255, 92, 77, .08);
}
.form-alert.is-success {
  color: var(--success);
  border-color: rgba(47, 224, 141, .4);
  background: rgba(47, 224, 141, .08);
}
.form-alert.is-warning {
  color: var(--warning);
  border-color: rgba(232, 193, 75, .4);
  background: rgba(232, 193, 75, .08);
}

.auth-footer-link {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
}

/* ==========================================================================
   Área privada (app) — nav + My Profile
   ========================================================================== */

select.form-input { color-scheme: dark; }

.nav-avatar {
  flex: none;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--bg);
  background: linear-gradient(140deg, var(--cyan), var(--cyan-deep));
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

/* Cartão FUT do jogador — variante ciano de .goat-featured-* (a versão dourada é a do Goat Nº1) */

.goat-featured-frame.is-cyan {
  background: linear-gradient(150deg, var(--cyan) 0%, var(--cyan-frame-2) 45%, var(--cyan-frame-3) 100%);
}
.goat-featured-inner.is-cyan {
  background: linear-gradient(168deg, var(--bg-panel-1) 0%, var(--bg-panel-2) 65%);
}
.goat-featured-team.is-cyan { color: var(--text-dim); }
.goat-featured-divider.is-cyan {
  background: linear-gradient(90deg, transparent, rgba(46, 230, 214, .4), transparent);
}

.fut-card-meta-right { text-align: right; }
.fut-card-meta-club {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.fut-card-meta-league {
  margin-top: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.photo-edit-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--cyan);
  border: none;
  padding: 7px 12px;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  cursor: pointer;
}

.fut-card-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

/* Painéis de perfil (reutilizam .side-panel / .side-panel-head / .side-panel-title) */

.side-panel.is-neutral { border-color: rgba(143, 160, 173, .16); }
.side-panel.is-gold {
  background: linear-gradient(165deg, #141109, #0B0906);
  border-color: rgba(232, 200, 116, .22);
}
.side-panel.is-gold .side-panel-head .icon { color: var(--gold); }

.side-panel-meta {
  margin-left: auto;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 20px;
}

.stat-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
}

.stat-tile {
  background: rgba(143, 160, 173, .06);
  border-left: 2px solid rgba(46, 230, 214, .4);
  padding: 14px 16px;
}
.stat-tile-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: var(--text);
}
.stat-tile-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

.trophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.trophy-tile { padding: 16px; text-align: center; }
.trophy-icon { color: var(--gold); display: inline-flex; }
.trophy-count {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: var(--gold);
  margin-top: 8px;
}
.trophy-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-frame-2);
  margin-top: 6px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
@media (max-width: 900px) {
  .profile-layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Join League
   ========================================================================== */

.crest.crest-md {
  width: 56px;
  height: 56px;
  font-size: 22px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.status-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 12px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.status-badge.is-pending {
  color: var(--warning);
  background: rgba(232, 193, 75, .1);
  border: 1px solid rgba(232, 193, 75, .4);
}
.status-badge.is-member {
  color: var(--success);
  background: rgba(47, 224, 141, .1);
  border: 1px solid rgba(47, 224, 141, .4);
}

.btn-primary:disabled {
  cursor: not-allowed;
  color: var(--text-faint);
  background: rgba(143, 160, 173, .12);
  box-shadow: none;
}
.btn-primary:disabled:hover { box-shadow: none; }

/* ==========================================================================
   My League
   ========================================================================== */

/* Pequeno selo "Tu" (linha da classificação + cartão de colega de equipa) */
.tag-mine {
  flex: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--cyan);
  padding: 2px 8px;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

/* Confronto (Próximo Jogo) */
.matchup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.matchup-side { text-align: center; flex: 1; }
.matchup-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-body);
  margin-top: 6px;
}
.matchup-vs {
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-faint);
}

/* RSVP (Vou / Não vou) */
.rsvp-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 10px;
}
.rsvp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rsvp-btn {
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 8px;
  border: 1px solid rgba(143, 160, 173, .3);
  background: transparent;
  color: var(--text-body);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.rsvp-btn.is-yes-active { border-color: var(--success); background: rgba(47, 224, 141, .16); color: var(--success); }
.rsvp-btn.is-no-active { border-color: var(--danger); background: rgba(255, 92, 77, .16); color: var(--danger); }
.rsvp-note {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-faint);
}

/* Resultado colorido por vitória/empate/derrota (variante de .match-score) */
.match-score.is-win { color: var(--success); background: rgba(47, 224, 141, .1); border-color: rgba(47, 224, 141, .35); }
.match-score.is-draw { color: var(--warning); background: rgba(232, 193, 75, .1); border-color: rgba(232, 193, 75, .35); }
.match-score.is-loss { color: var(--danger); background: rgba(255, 92, 77, .1); border-color: rgba(255, 92, 77, .35); }

/* Cartão de colega de equipa */
.teammate-card {
  background: linear-gradient(165deg, var(--bg-panel-1), var(--bg-panel-2));
  border: 1px solid rgba(143, 160, 173, .16);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   Área Staff — layout de sidebar (distinto do site público/app do jogador)
   ========================================================================== */

.staff-layout {
  min-height: 100vh;
  background: var(--bg);
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
}
@media (max-width: 900px) {
  .staff-layout { grid-template-columns: 1fr; }
  .staff-sidebar { position: static; height: auto; }
}

.staff-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--bg-strip-1);
  border-right: 1px solid rgba(143, 160, 173, .14);
  display: flex;
  flex-direction: column;
}

.staff-sidebar-head {
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(143, 160, 173, .14);
}
.staff-sidebar-head img { height: 36px; display: block; margin-bottom: 10px; }

.badge-warning {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--warning);
  border: 1px solid rgba(232, 193, 75, .4);
  background: rgba(232, 193, 75, .08);
  padding: 4px 10px;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.staff-nav {
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  gap: 2px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.staff-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--text-dim);
  border-left: 2px solid transparent;
}
.staff-nav-item:hover { color: var(--text-body); }
.staff-nav-item.is-active {
  color: var(--cyan);
  background: rgba(46, 230, 214, .1);
  border-left-color: var(--cyan);
}

.staff-sidebar-foot {
  margin-top: auto;
  padding: 18px 20px;
  border-top: 1px solid rgba(143, 160, 173, .14);
  display: flex;
  align-items: center;
  gap: 10px;
}
.staff-sidebar-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.staff-sidebar-role {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.crest.crest-xs {
  width: 32px;
  height: 32px;
  font-size: 13px;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

.staff-content { min-width: 0; }
.staff-content-inner { max-width: 1180px; margin: 0 auto; padding: 36px 32px 80px; }

.staff-page-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.staff-page-title {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
}
.staff-page-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Alerta de pedidos pendentes (reutiliza .card-frame / .card-inner com variante warning) */

.card-frame.is-warning {
  background: linear-gradient(150deg, rgba(232, 193, 75, .5), rgba(232, 193, 75, .1) 55%, rgba(232, 193, 75, .25));
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.card-inner.is-warning {
  background: linear-gradient(168deg, #181409 0%, #0E0D0A 70%);
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
}

.pending-card { padding: 20px 22px 12px; }

.pending-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.pending-head-title { display: flex; align-items: center; gap: 10px; }
.pending-head-title .icon { color: var(--warning); display: inline-flex; }
.pending-count-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
}
.pending-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--warning);
}

.pending-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px auto;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid rgba(232, 193, 75, .14);
}
.pending-player { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pending-player-info { min-width: 0; }
.pending-player-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .02em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pending-player-league { font-size: 12px; color: var(--text-dim); }
.pending-team {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-body);
}
.pending-actions { display: flex; gap: 8px; }

.btn-approve {
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(120deg, var(--success), #1F9E64);
  border: none;
  padding: 8px 14px;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.btn-reject {
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--danger-soft);
  background: transparent;
  border: 1px solid rgba(255, 92, 77, .45);
  padding: 8px 14px;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

/* Scoreboard resumo */

.stat-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 700px) {
  .stat-card-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-card {
  background: linear-gradient(165deg, var(--bg-panel-1), var(--bg-panel-2));
  border: 1px solid rgba(143, 160, 173, .16);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  padding: 16px 18px;
}
.stat-card-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.stat-card-label .icon { color: var(--cyan); display: inline-flex; }
.stat-card-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  color: var(--text);
  margin-top: 8px;
}

/* Pastilhas de época por liga */

.season-pill-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.season-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(143, 160, 173, .06);
  border: 1px solid rgba(143, 160, 173, .16);
  padding: 9px 16px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.season-pill-league {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.season-pill-season {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cyan);
}

/* Tabela de gestão de jogos (reutiliza .side-panel / .side-panel-head / .side-panel-title) */

.games-panel { padding: 20px 22px 14px; }

.games-head-row,
.games-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 90px 130px;
  gap: 8px;
}
.games-head-row {
  padding: 0 8px 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.games-row {
  align-items: center;
  padding: 9px 8px;
  border-top: 1px solid rgba(143, 160, 173, .1);
}
.games-league {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}
.games-teams {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.games-hour { font-size: 13px; color: var(--text-dim); }
.games-status { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.games-result-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--warning);
  padding: 6px 10px;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  text-align: center;
}

/* Atalhos rápidos */

.shortcut-list { display: flex; flex-direction: column; gap: 14px; }
.shortcut-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 2px;
}
.shortcut-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(165deg, var(--bg-panel-1), var(--bg-panel-2));
  border: 1px solid rgba(46, 230, 214, .18);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  padding: 16px 18px;
  transition: transform .15s ease, border-color .15s ease;
}
.shortcut-card:hover { transform: translateY(-3px); border-color: rgba(46, 230, 214, .5); }
.shortcut-card .icon { flex: none; color: var(--cyan); display: inline-flex; }
.shortcut-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text);
}
.shortcut-desc { font-size: 13px; color: var(--text-dim); margin-top: 2px; }

/* ==========================================================================
   Staff — Gerir Jogadores
   ========================================================================== */

/* Tabela completa de pedidos pendentes (reutiliza .pending-* do Dashboard) */

.pending-head-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) 150px 100px auto;
  gap: 8px;
  padding: 0 8px 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-frame-2);
}
.pending-row.is-detailed { grid-template-columns: minmax(220px, 1.6fr) 150px 100px auto; gap: 8px; padding: 11px 8px; }

/* Caixa de pesquisa */

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(143, 160, 173, .08);
  border: 1px solid rgba(143, 160, 173, .22);
  padding: 8px 14px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  min-width: 220px;
}
.search-box .icon { color: var(--text-dim); display: inline-flex; }
.search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-body);
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
}

/* Tabela "Todos os Jogadores" */

.players-head-row,
.players-row {
  display: grid;
  grid-template-columns: minmax(200px, 1.4fr) minmax(0, 1.6fr) 80px 110px 70px;
  gap: 8px;
}
.players-head-row {
  padding: 0 8px 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.players-row {
  align-items: center;
  padding: 10px 8px;
  border-top: 1px solid rgba(143, 160, 173, .1);
  text-decoration: none;
  color: inherit;
}
.players-row:hover { background: rgba(46, 230, 214, .05); }
.players-email {
  font-size: 13px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.players-teams-count {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan);
}
.players-view-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* Painel de detalhe do jogador (inline, sem JS) */

.mini-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.mini-stat {
  text-align: center;
  background: rgba(143, 160, 173, .06);
  border: 1px solid rgba(143, 160, 173, .16);
  padding: 12px 8px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.mini-stat-value { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 26px; color: var(--cyan); }
.mini-stat-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin-top: 2px; }

.detail-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px 16px;
  margin-bottom: 24px;
}
.detail-field-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.detail-field-value { font-size: 14px; color: var(--text-body); margin-top: 3px; }

.detail-section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.team-membership-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(143, 160, 173, .05);
  border: 1px solid rgba(143, 160, 173, .14);
  padding: 10px 14px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.team-membership-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text-body);
}
.team-membership-league { margin-left: auto; font-size: 13px; color: var(--text-dim); }

.status-badge.is-rejected {
  color: var(--danger);
  background: rgba(255, 92, 77, .1);
  border: 1px solid rgba(255, 92, 77, .4);
}

.detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-faint);
  border-top: 1px solid rgba(143, 160, 173, .14);
  padding-top: 14px;
}

/* ==========================================================================
   Staff — Gerir Jogos
   ========================================================================== */

.status-badge.is-neutral {
  color: var(--text-dim);
  background: rgba(143, 160, 173, .1);
  border: 1px solid rgba(143, 160, 173, .3);
}

.matches-head-row,
.matches-row {
  display: grid;
  grid-template-columns: 60px 130px minmax(220px, 1.6fr) 100px 130px 80px;
  gap: 8px;
}
.matches-head-row {
  padding: 0 8px 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.matches-row {
  align-items: center;
  padding: 10px 8px;
  border-top: 1px solid rgba(143, 160, 173, .1);
}
.matches-round { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; color: var(--text-dim); }
.matches-teams {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.matches-score { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; color: var(--text); }

/* ==========================================================================
   Staff — Detalhe do Jogo
   ========================================================================== */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.back-link:hover { color: var(--text-body); }

.matchup-score {
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 44px;
  color: var(--cyan);
  letter-spacing: .02em;
}

.player-stats-table { overflow-x: auto; }
.player-stats-head-row,
.player-stats-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.3fr) 34px repeat(6, 40px);
  gap: 4px;
  min-width: 480px;
}
.player-stats-head-row {
  padding: 0 4px 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.player-stats-head-row span { text-align: center; }
.player-stats-head-row span:first-child { text-align: left; }
.player-stats-row {
  align-items: center;
  padding: 6px 4px;
  border-top: 1px solid rgba(143, 160, 173, .1);
}
.player-stats-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-stats-checkbox { justify-self: center; width: 16px; height: 16px; accent-color: var(--cyan); cursor: pointer; }
.player-stats-input {
  width: 36px;
  box-sizing: border-box;
  text-align: center;
  background: rgba(143, 160, 173, .08);
  border: 1px solid rgba(143, 160, 173, .25);
  color: var(--text-body);
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  padding: 5px 2px;
  outline: none;
  clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px);
}
.player-stats-redcard-row { display: flex; justify-content: flex-end; padding: 2px 4px 8px; min-width: 480px; }
.player-stats-redcard-label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--danger-soft); cursor: pointer; }
.player-stats-redcard-checkbox { width: 14px; height: 14px; accent-color: var(--danger); cursor: pointer; }

/* ==========================================================================
   Staff — Gerir Épocas
   ========================================================================== */

.epoca-active-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  color: var(--text);
}
.epoca-active-start { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

.epoca-standing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 10px;
  background: rgba(143, 160, 173, .06);
  border-left: 2px solid var(--cyan);
}
.epoca-standing-team {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text-body);
}
.epoca-standing-pts { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; color: var(--text-dim); }

.epoca-history-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.epoca-history-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; gap: 8px; }
.epoca-history-champion {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.info-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(46, 230, 214, .06);
  border: 1px solid rgba(46, 230, 214, .2);
  padding: 12px 14px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  margin-bottom: 18px;
}
.info-callout .icon { color: var(--cyan); display: inline-flex; flex: none; }
.info-callout-text { font-size: 13.5px; color: var(--text-soft); }

.champion-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(232, 200, 116, .08);
  border: 1px solid rgba(232, 200, 116, .35);
  padding: 16px 18px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  margin-bottom: 20px;
}
.champion-callout .icon { color: var(--gold); display: inline-flex; flex: none; }
.champion-callout-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.champion-callout-team {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text);
}

.award-preview-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 8px;
}
.award-preview-player {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  color: var(--text);
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.award-preview-stat { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

.tie-radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-body);
  padding: 4px 0;
  text-align: left;
}
.tie-radio-option input[type="radio"] { accent-color: var(--gold); cursor: pointer; }

.btn-gold {
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(120deg, var(--gold-frame-1), var(--gold-frame-2));
  border: none;
  padding: 11px 22px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  box-shadow: 0 0 22px rgba(196, 154, 69, .4);
}

/* ==========================================================================
   Como Jogar / Preços / Contactos
   ========================================================================== */

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.step-card {
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(46, 230, 214, .5);
}

.step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
}

.step-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.format-stat-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .02em;
  color: var(--text);
  margin-top: 10px;
}

.format-stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

/* FAQ — acordeão nativo via <details>/<summary>, sem JS */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 820px;
}

.faq-item {
  background: linear-gradient(165deg, var(--bg-panel-1), var(--bg-panel-2));
  border: 1px solid rgba(143, 160, 173, .15);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: .02em;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item .icon {
  flex: none;
  color: var(--cyan);
  display: inline-flex;
  transition: transform .2s ease;
}
.faq-item[open] .icon { transform: rotate(180deg); }

.faq-answer {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  border-top: 1px solid rgba(143, 160, 173, .1);
  padding-top: 14px;
}

/* Preços */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 26px;
  align-items: stretch;
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-on-cyan);
  background: var(--gold);
  padding: 6px 18px;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  white-space: nowrap;
}

.pricing-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pricing-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
}

.pricing-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
  margin-top: 6px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-price-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: var(--text);
}
.pricing-card.is-gold .pricing-price-value { color: var(--gold); }

.pricing-price-unit {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.pricing-divider {
  height: 1px;
  background: rgba(143, 160, 173, .15);
}
.pricing-card.is-gold .pricing-divider { background: rgba(232, 200, 116, .2); }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
}
.pricing-feature .icon { color: var(--cyan); display: inline-flex; flex: none; }
.pricing-card.is-gold .pricing-feature .icon { color: var(--gold); }

/* Tabela de comparação */

.compare-table {
  background: linear-gradient(165deg, var(--bg-panel-1), var(--bg-panel-2));
  border: 1px solid rgba(143, 160, 173, .15);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  padding: 8px 28px;
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 100px 100px;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(143, 160, 173, .1);
}
.compare-row:first-child { border-top: none; }

.compare-label { font-size: 14px; color: var(--text-soft); }

.compare-cell { text-align: center; display: flex; justify-content: center; }
.compare-cell.is-cyan { color: var(--cyan); }
.compare-cell.is-gold { color: var(--gold); }
.compare-cell.is-off { color: var(--text-faint); }

.compare-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 100px 100px;
  gap: 12px;
  padding: 14px 0 4px;
  border-top: 1px solid rgba(143, 160, 173, .15);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.compare-foot .is-gold { color: var(--gold); }

/* Contactos */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.contact-row { display: flex; align-items: flex-start; gap: 14px; }
.contact-row .icon { flex: none; color: var(--cyan); display: inline-flex; margin-top: 1px; }
.contact-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contact-value { font-size: 15px; color: var(--text-body); margin-top: 3px; line-height: 1.5; }

.location-card {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 24px;
}
.location-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(320px 200px at 50% 20%, rgba(46, 230, 214, .1), transparent 70%);
  pointer-events: none;
}
.location-title {
  position: relative;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 10px;
}
.location-sub { position: relative; font-size: 14px; color: var(--text-dim); margin-top: 4px; }

.social-icons { display: flex; gap: 12px; }
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--cyan);
  border: 1px solid rgba(46, 230, 214, .3);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: border-color .18s ease, background .18s ease;
}
.social-icon-btn:hover { background: rgba(46, 230, 214, .08); }

textarea.form-input { resize: vertical; }

/* ==========================================================================
   Admin — Gestão de Competições
   ========================================================================== */

.day-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 6px 20px 2px;
}

.day-card-frame {
  flex: none;
  width: 340px;
  padding: 1.5px;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.day-card-inner {
  background: linear-gradient(168deg, var(--bg-panel-1) 0%, var(--bg-panel-2) 70%);
  clip-path: polygon(17px 0, 100% 0, 100% calc(100% - 17px), calc(100% - 17px) 100%, 0 100%, 0 17px);
  padding: 20px 20px 18px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.day-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.day-card-daylabel { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.day-card-name { font-family: 'Barlow Condensed', sans-serif; font-style: italic; font-weight: 800; font-size: 23px; line-height: 1.08; text-transform: uppercase; color: var(--text); margin-top: 2px; }
.day-card-yearmonth { font-size: 12.5px; color: var(--text-dim); margin-top: 2px; }

.day-card-week-badge {
  align-self: flex-start;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.day-card-desc { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-soft); min-height: 38px; }

.day-card-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  color: var(--text-dim);
  border-top: 1px solid rgba(143, 160, 173, .14);
  border-bottom: 1px solid rgba(143, 160, 173, .14);
  padding: 10px 0;
}
.day-card-meta-item { display: flex; align-items: center; gap: 8px; }
.day-card-meta-item .icon { flex: none; color: var(--cyan); display: inline-flex; }

.day-card-rules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 14px;
  font-size: 12px;
  color: var(--text-dim);
}
.day-card-rules .label { color: var(--text-faint); }

.day-card-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cyan);
}

.day-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.day-card-actions-row { display: flex; gap: 8px; }
.day-card-actions .btn,
.day-card-actions-row .btn { flex: 1; text-align: center; padding: 9px 10px; font-size: 13px; }

.btn-warning-ghost {
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--warning);
  background: transparent;
  border: 1px solid rgba(232, 193, 75, .4);
  padding: 8px 10px;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.btn-danger-ghost {
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--danger-soft);
  background: transparent;
  border: 1px solid rgba(255, 92, 77, .4);
  padding: 8px 10px;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

.day-card-empty {
  cursor: pointer;
  flex: none;
  width: 340px;
  background: rgba(143, 160, 173, .04);
  border: 1.5px dashed rgba(143, 160, 173, .28);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  min-height: 420px;
  transition: border-color .2s ease;
  color: inherit;
  font: inherit;
}
.day-card-empty:hover { border-color: rgba(46, 230, 214, .55); }
.day-card-empty-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(143, 160, 173, .35);
  color: var(--text-dim);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.day-card-empty-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); text-align: center; }
.day-card-empty-label strong { color: var(--text-body); font-size: 17px; display: block; margin-top: 2px; font-weight: 600; }

/* Modal (primeira utilização no site) */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 6, 8, .75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-frame {
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  background: linear-gradient(150deg, rgba(46, 230, 214, .5), rgba(46, 230, 214, .12) 55%, rgba(46, 230, 214, .28));
  padding: 1.5px;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
.modal-frame.is-md { max-width: 760px; }
.modal-frame.is-sm { max-width: 600px; }

.modal-inner {
  background: linear-gradient(168deg, var(--bg-panel-1) 0%, var(--bg-panel-2) 70%);
  clip-path: polygon(19px 0, 100% 0, 100% calc(100% - 19px), calc(100% - 19px) 100%, 0 100%, 0 19px);
  padding: 30px 32px;
}

.modal-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.modal-eyebrow { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.modal-title { font-family: 'Barlow Condensed', sans-serif; font-style: italic; font-weight: 800; font-size: 30px; color: var(--text); }

.modal-close {
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(143, 160, 173, .1);
  border: 1px solid rgba(143, 160, 173, .28);
  color: #C6D2DA;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

.modal-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid rgba(46, 230, 214, .2);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.modal-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 6px; }

/* Botões de escolha única (pill toggle) — condição de fim de jogo / duração */
.choice-pill {
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 9px 16px;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid rgba(143, 160, 173, .3);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.choice-pill.is-active { background: rgba(46, 230, 214, .14); color: var(--cyan); border-color: rgba(46, 230, 214, .6); }

.color-swatch {
  cursor: pointer;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(255, 255, 255, .15);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
.color-swatch.is-active { border-color: var(--text); }

/* Feedback visual imediato ao clicar num radio "disfarçado" de pill/swatch, sem JS */
input[type="radio"]:checked + .choice-pill { background: rgba(46, 230, 214, .14); color: var(--cyan); border-color: rgba(46, 230, 214, .6); }
input[type="radio"]:checked + .color-swatch { border-color: var(--text); }

/* Ficha da competição (admin/competicao.php) */

.competition-header {
  background: linear-gradient(150deg, rgba(46, 230, 214, .5), rgba(46, 230, 214, .12) 55%, rgba(46, 230, 214, .28));
  padding: 1.5px;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  margin-bottom: 26px;
}
.competition-header-inner {
  background: linear-gradient(168deg, var(--bg-panel-1) 0%, var(--bg-panel-2) 70%);
  clip-path: polygon(17px 0, 100% 0, 100% calc(100% - 17px), calc(100% - 17px) 100%, 0 100%, 0 17px);
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.competition-header-title { font-family: 'Barlow Condensed', sans-serif; font-style: italic; font-weight: 800; font-size: 32px; line-height: 1.05; text-transform: uppercase; color: var(--text); }
.competition-header-meta { display: flex; align-items: center; gap: 12px; margin-top: 4px; flex-wrap: wrap; }

.tabs-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(143, 160, 173, .14);
  padding-bottom: 2px;
}
.tab-btn {
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 18px;
  background: transparent;
  color: var(--text-dim);
  border: none;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  display: inline-block;
}
.tab-btn.is-active { color: var(--cyan); border-bottom-color: var(--cyan); }

/* Tabela de classificação completa (J/V/E/D/GM/GS/DG/PTS) */
.full-standings-panel {
  background: linear-gradient(165deg, var(--bg-panel-1), var(--bg-panel-2));
  border: 1px solid rgba(143, 160, 173, .16);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  padding: 20px 22px 14px;
  overflow-x: auto;
}
.full-standings-head-row,
.full-standings-row {
  display: grid;
  grid-template-columns: 34px minmax(160px, 1fr) repeat(8, 42px);
  gap: 6px;
  min-width: 640px;
}
.full-standings-head-row {
  padding: 0 8px 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.full-standings-head-row span { text-align: center; }
.full-standings-head-row span:nth-child(2) { text-align: left; }
.full-standings-row {
  align-items: center;
  padding: 10px 8px;
  border-top: 1px solid rgba(143, 160, 173, .1);
  border-left: 2px solid transparent;
}
.full-standings-row.is-leader { border-left-color: var(--gold); background: rgba(232, 200, 116, .05); }
.full-standings-pos { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; color: var(--text-dim); }
.full-standings-row.is-leader .full-standings-pos { color: var(--gold); }
.full-standings-team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.full-standings-team-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: .02em; text-transform: uppercase; color: var(--text-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.full-standings-col { text-align: center; font-size: 14px; color: var(--text-soft); }
.full-standings-pts { text-align: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 17px; color: var(--cyan); }
