:root {
  --bg: #090909;
  --panel: #111111;
  --panel-2: #171717;
  --line: #272727;
  --text: #f5f5f5;
  --muted: #9b9b9b;
  --green: #1ed760;
  --green-2: #16b94f;
  --danger: #ff5c5c;
  --gold: #d7b35f;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(30,215,96,.10), transparent 28%),
    radial-gradient(circle at 12% 32%, rgba(255,255,255,.03), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.site-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 28px 0;
  position: relative;
  z-index: 2;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 2px solid var(--green);
  border-radius: 14px;
  font-weight: 950;
  font-size: 14px;
  letter-spacing: -.5px;
  transform: rotate(-3deg);
  box-shadow: inset 0 0 24px rgba(30,215,96,.08);
}
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-text strong { font-size: 15px; letter-spacing: .12em; }
.brand-text small { color: var(--muted); font-size: 10px; letter-spacing: .17em; }

main { position: relative; z-index: 1; }
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 92px 28px 72px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: center;
}
.eyebrow {
  color: var(--green);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .18em;
  margin: 0 0 15px;
}
.hero h1, .join-shell h1, .admin-heading h1 {
  font-size: clamp(60px, 8vw, 116px);
  line-height: .84;
  letter-spacing: -.075em;
  margin: 0;
  font-weight: 950;
}
.hero h1 span { color: var(--green); }
.hero-sub {
  color: #b9b9b9;
  max-width: 640px;
  font-size: 19px;
  line-height: 1.65;
  margin: 30px 0;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: var(--green);
  color: #061109;
  border-color: var(--green);
}
.button.primary:hover { background: #31e66e; }
.button.ghost { background: #121212; color: white; }
.button.ghost:hover { border-color: #4a4a4a; }
.button.full { width: 100%; }
.button.small { padding: 10px 16px; }

.scoreboard-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.035), transparent 45%),
    #101010;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transform: rotate(1deg);
}
.scoreboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #cfcfcf;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  margin-bottom: 25px;
}
.live-dot { color: var(--green); }
.live-dot:before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 7px;
  box-shadow: 0 0 14px var(--green);
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.countdown div {
  background: #070707;
  border: 1px solid #222;
  border-radius: 14px;
  padding: 18px 8px 14px;
  text-align: center;
}
.countdown strong {
  display: block;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown span {
  display: block;
  color: #777;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
  margin-top: 8px;
}
.draft-live {
  grid-column: 1 / -1;
  color: var(--green);
  font-size: 30px;
  font-weight: 950;
  letter-spacing: -.03em;
}
.draft-date {
  font-size: 25px;
  font-weight: 950;
  letter-spacing: -.025em;
  margin-top: 25px;
}
.scoreboard-card p {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 13px;
}

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 26px;
  color: #8c8c8c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}
.ticker span:not(:last-child)::after {
  content: "•";
  color: var(--green);
  margin-left: 26px;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 95px 28px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}
.section-heading h2 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: .95;
  letter-spacing: -.055em;
  margin: 0;
}
.section-heading > p {
  color: var(--muted);
  max-width: 360px;
  line-height: 1.5;
}

.franchise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.franchise-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #151515, #0e0e0e);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.franchise-card.status-in { box-shadow: inset 0 3px 0 var(--green); }
.franchise-card h3 {
  margin: auto 0 5px;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.035em;
}
.franchise-card .owner { margin: 0; color: #c4c4c4; font-weight: 700; }
.franchise-card .sleeper { margin: 7px 0 0; color: #747474; font-size: 12px; }

.status-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .12em;
  width: fit-content;
}
.status-pill.in { color: #08180d; background: var(--green); }
.status-pill.pending { color: #c8c8c8; background: #2b2b2b; }
.status-pill.out { color: #fff; background: #4e1e1e; }
.status-pill.pending, .status-pill.out, .status-pill.in { text-transform: uppercase; }

.empty-state {
  border: 1px dashed #333;
  border-radius: var(--radius);
  text-align: center;
  padding: 70px 20px;
}
.empty-state .football { font-size: 46px; }
.empty-state h3 { font-size: 27px; margin: 14px 0 8px; }
.empty-state p { color: var(--muted); margin: 0; }

.rules-section { padding-top: 35px; }
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rule-card {
  min-height: 210px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111;
}
.rule-card.featured { background: var(--green); color: #061109; border-color: var(--green); }
.rule-card span {
  display: block;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .15em;
  color: #777;
}
.rule-card.featured span { color: #0c6e2e; }
.rule-card strong {
  display: block;
  font-size: 42px;
  letter-spacing: -.05em;
  margin: 26px 0 8px;
}
.rule-card p { margin: 0; color: #909090; line-height: 1.45; }
.rule-card.featured p { color: #0b5928; }

.manifesto {
  max-width: 1184px;
  margin: 25px auto 100px;
  padding: 85px 28px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.manifesto blockquote {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(33px, 5vw, 62px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -.05em;
}

.site-footer {
  max-width: 1184px;
  margin: 0 auto;
  padding: 28px;
  border-top: 1px solid var(--line);
  color: #666;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.join-shell {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 70px 24px 100px;
}
.invite-card {
  width: min(760px, 100%);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(30,215,96,.05), transparent 30%), #111;
  border-radius: 30px;
  padding: clamp(28px, 6vw, 62px);
  box-shadow: 0 35px 90px rgba(0,0,0,.35);
}
.invite-card.compact { width: min(520px, 100%); }
.invite-card h1 {
  font-size: clamp(50px, 8vw, 92px);
  margin-bottom: 24px;
}
.invite-intro, .invite-card > p:not(.eyebrow) {
  color: #b7b7b7;
  font-size: 18px;
  line-height: 1.6;
}
.confirmation-team {
  color: var(--green);
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 950;
  letter-spacing: -.05em;
  margin-bottom: 20px;
}
.rsvp-form { margin-top: 35px; }
.decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.decision input { position: absolute; opacity: 0; pointer-events: none; }
.decision span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #0a0a0a;
  cursor: pointer;
}
.decision input:checked + span {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}
.decision small { color: #777; }
.field { display: block; margin: 16px 0; }
.field > span {
  display: block;
  color: #9b9b9b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  margin-bottom: 8px;
}
.field em { color: #5e5e5e; font-style: normal; }
.field input, .inline-form input, .copy-line input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #090909;
  color: white;
  padding: 14px 15px;
  outline: none;
}
.field input:focus, .inline-form input:focus { border-color: var(--green); }
.invite-fineprint {
  color: #626262;
  text-align: center;
  font-size: 11px;
  margin-top: 18px;
  letter-spacing: .04em;
}

.admin-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 28px 110px;
}
.admin-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 20px;
  margin-bottom: 40px;
}
.admin-heading h1 { font-size: clamp(48px, 7vw, 90px); }
.admin-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #111;
  margin-top: 18px;
}
.admin-card h2 { margin-top: 0; }
.inline-form { display: flex; gap: 10px; }
.inline-form input { max-width: 400px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 850px; }
.admin-table th, .admin-table td {
  text-align: left; padding: 13px 10px; border-top: 1px solid #252525;
  vertical-align: middle;
}
.admin-table th { color: #777; font-size: 10px; letter-spacing: .12em; }
.copy-line { display: flex; gap: 6px; min-width: 360px; }
.copy-line input { padding: 9px 10px; font-size: 11px; color: #999; }
.copy-button, .admin-actions button {
  background: #242424; border: 1px solid #333; color: white;
  border-radius: 9px; padding: 8px 10px; cursor: pointer;
}
.admin-actions { display: flex; gap: 6px; }
.admin-actions form { margin: 0; }
.admin-actions button.danger { color: #ff8a8a; }
.flash-wrap {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 20; width: min(520px, calc(100% - 32px));
}
.flash {
  border: 1px solid #333; background: #161616; border-radius: 12px;
  padding: 12px 15px; box-shadow: 0 15px 50px #0008;
}
.flash.error { border-color: #613232; color: #ffabab; }
.flash.success { border-color: #235f37; color: #7af49f; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; gap: 40px; }
  .franchise-grid, .rules-grid { grid-template-columns: 1fr 1fr; }
  .section-heading { align-items: start; flex-direction: column; }
}
@media (max-width: 620px) {
  .site-header { padding: 20px 18px 0; }
  .hero, .section, .admin-shell { padding-left: 18px; padding-right: 18px; }
  .brand-text small { display: none; }
  .franchise-grid, .rules-grid, .decision-grid { grid-template-columns: 1fr; }
  .ticker span:not(:last-child)::after { display: none; }
  .ticker { gap: 10px 18px; }
  .countdown { gap: 6px; }
  .countdown div { padding: 14px 5px 11px; }
  .site-footer { flex-direction: column; }
  .inline-form { flex-direction: column; }
}


/* ==========================================================
   NO KICKS GIVEN — CINEMATIC HERO / BRANDING
   ========================================================== */

.brand-logo {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 5px 18px rgba(0, 0, 0, .55));
}

.button.sleeper {
  background: rgba(7, 7, 7, .82);
  border-color: rgba(30, 215, 96, .75);
  color: var(--green);
}

.button.sleeper:hover {
  background: rgba(30, 215, 96, .12);
  border-color: var(--green);
}


/*
 * Full-width cinematic hero.
 *
 * "cover" deliberately preserves the image aspect ratio instead
 * of physically stretching/distorting the football scene.
 */

.hero {
  position: relative;
  isolation: isolate;

  max-width: none;
  width: 100%;

  min-height: 760px;

  padding-left: max(28px, calc((100vw - 1184px) / 2));
  padding-right: max(28px, calc((100vw - 1184px) / 2));

  background-image:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, .97) 0%,
      rgba(5, 5, 5, .90) 25%,
      rgba(5, 5, 5, .66) 47%,
      rgba(5, 5, 5, .18) 73%,
      rgba(5, 5, 5, .32) 100%
    ),
    linear-gradient(
      0deg,
      rgba(9, 9, 9, .90) 0%,
      rgba(9, 9, 9, .08) 28%,
      rgba(9, 9, 9, .12) 72%,
      rgba(9, 9, 9, .70) 100%
    ),
    url("images/background.png");

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  text-shadow: 0 4px 30px rgba(0, 0, 0, .85);
}

.scoreboard-card {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .045),
      rgba(0, 0, 0, .08) 45%
    ),
    rgba(12, 12, 12, .86);

  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);

  border-color: rgba(255, 255, 255, .12);
}


/* ==========================================================
   TABLET / PHONE
   ========================================================== */

@media (max-width: 900px) {

  .hero {
    grid-template-columns: 1fr;

    min-height: 100svh;

    padding:
      70px
      18px
      58px;

    /*
     * Bias toward the right-hand portion of the artwork so the
     * ghost kicker and football survive the narrow phone crop.
     */
    background-position: 72% center;

    background-image:
      linear-gradient(
        90deg,
        rgba(5, 5, 5, .95) 0%,
        rgba(5, 5, 5, .80) 47%,
        rgba(5, 5, 5, .32) 78%,
        rgba(5, 5, 5, .38) 100%
      ),
      linear-gradient(
        0deg,
        rgba(9, 9, 9, .97) 0%,
        rgba(9, 9, 9, .38) 34%,
        rgba(9, 9, 9, .18) 67%,
        rgba(9, 9, 9, .69) 100%
      ),
      url("images/background.png");
  }

  .hero-copy {
    max-width: 620px;
  }

  .scoreboard-card {
    transform: none;
    width: 100%;
  }
}


/* ==========================================================
   SMALL PHONES
   ========================================================== */

@media (max-width: 620px) {

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .hero {
    min-height: 100svh;

    /*
     * Slightly farther right on portrait displays.
     */
    background-position: 76% center;
  }

  .hero h1 {
    font-size: clamp(57px, 19vw, 82px);
  }

  .hero-sub {
    max-width: 92%;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 330px);
  }

  .hero-actions .button {
    width: 100%;
    text-align: center;
  }

  .scoreboard-card {
    margin-top: 8px;
  }
}


/* Very narrow phones */
@media (max-width: 390px) {

  .hero {
    background-position: 79% center;
  }

  .brand-text strong {
    font-size: 13px;
  }
}



/* ==========================================================
   SLEEPER APP DOWNLOAD
   ========================================================== */

.sleeper-download {
  max-width: 1184px;
  margin: 0 auto;
  padding: 68px 28px;

  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 60px;

  border-bottom: 1px solid var(--line);
}

.sleeper-download h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: .93;
  letter-spacing: -.055em;
  font-weight: 950;
}

.sleeper-download h2 span {
  color: var(--green);
}

.sleeper-download-copy > p:last-child {
  max-width: 600px;
  margin: 22px 0 0;

  color: #aaa;
  font-size: 17px;
  line-height: 1.6;
}

.store-buttons {
  display: grid;
  gap: 12px;
}

.store-button {
  min-height: 78px;
  padding: 15px 20px;

  display: flex;
  align-items: center;
  gap: 17px;

  border: 1px solid #303030;
  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.04),
      transparent 50%
    ),
    #101010;

  transition:
    transform .15s ease,
    border-color .15s ease,
    background .15s ease;
}

.store-button:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  background: #151515;
}

.store-icon {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  background: var(--green);
  color: #071109;

  font-size: 25px;
  font-weight: 950;

  flex: 0 0 auto;
}

.store-button span:last-child {
  display: flex;
  flex-direction: column;
}

.store-button small {
  color: #777;
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .16em;

  margin-bottom: 4px;
}

.store-button strong {
  color: #f4f4f4;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.025em;
}


/* Mobile-first behavior */

@media (max-width: 800px) {

  .sleeper-download {
    grid-template-columns: 1fr;
    gap: 30px;

    padding:
      58px
      18px;
  }

  .sleeper-download-copy > p:last-child {
    font-size: 16px;
  }

  .store-buttons {
    width: 100%;
  }

  .store-button {
    min-height: 82px;
  }
}



/* ==========================================================
   SLEEPER DOWNLOAD — HERO POSITION
   ========================================================== */

.hero .sleeper-download-hero {
  max-width: 620px;
  margin: 30px 0 0;
  padding: 22px;

  display: block;

  border: 1px solid rgba(255,255,255,.11);
  border-radius: 20px;

  background: rgba(8,8,8,.76);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero .sleeper-download-hero .sleeper-download-copy {
  margin: 0;
}

.hero .sleeper-download-hero .eyebrow {
  margin-bottom: 8px;
}

.hero .sleeper-download-hero h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: .95;
}

.hero .sleeper-download-hero .sleeper-download-copy > p:last-child {
  margin: 14px 0 18px;
  max-width: none;

  font-size: 14px;
  line-height: 1.5;
}

.hero .sleeper-download-hero .store-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero .sleeper-download-hero .store-button {
  min-height: 66px;
  padding: 11px 14px;
}

.hero .sleeper-download-hero .store-icon {
  width: 38px;
  height: 38px;
  font-size: 21px;
  border-radius: 10px;
}

.hero .sleeper-download-hero .store-button strong {
  font-size: 18px;
}


/* Phone layout */
@media (max-width: 620px) {

  .hero .sleeper-download-hero {
    margin-top: 24px;
    padding: 18px;
    width: 100%;
  }

  .hero .sleeper-download-hero .store-buttons {
    grid-template-columns: 1fr;
  }

  .hero .sleeper-download-hero .store-button {
    min-height: 70px;
  }
}



/* ==========================================================
   APP STORE / GOOGLE PLAY BUTTON REFINEMENT
   ========================================================== */

.store-icon {
  background: #f4f4f4;
  color: #080808;
}

.store-logo {
  display: block;
  width: 26px;
  height: 26px;
}

.store-button {
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.store-button:active {
  transform: scale(.985);
}

.store-button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}


/* Confirmation page download block */

.confirmation-apps {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #292929;
}

.confirmation-apps > p {
  margin: 0 0 13px !important;

  color: #9b9b9b !important;
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: .03em;
  text-align: center;
}

.confirmation-store-buttons {
  grid-template-columns: 1fr 1fr;
}

.confirmation-store-buttons .store-button {
  min-height: 70px;
}


/* Small phones */

@media (max-width: 620px) {

  .confirmation-store-buttons {
    grid-template-columns: 1fr;
  }

  .confirmation-store-buttons .store-button {
    min-height: 74px;
  }

}



/* ==========================================================
   APP STORE ICON SIZE CORRECTION
   ========================================================== */

.store-button .store-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px;
  max-width: 34px;

  padding: 7px;

  display: grid;
  place-items: center;

  overflow: hidden;
  flex: 0 0 34px;
}

.store-button .store-logo {
  display: block !important;

  width: 20px !important;
  height: 20px !important;

  min-width: 20px;
  min-height: 20px;

  max-width: 20px !important;
  max-height: 20px !important;
}


/* Slightly smaller inside the compact hero download panel */

.hero .sleeper-download-hero .store-button .store-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px;
  max-width: 32px;

  flex-basis: 32px;
  padding: 6px;
}

.hero .sleeper-download-hero .store-button .store-logo {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px !important;
  max-height: 18px !important;
}



/* ==========================================================
   PRESEASON FEATURES
   ========================================================== */


/* Commissioner announcement */

.league-alert {
  padding: 0 20px;
  background: #090909;
}

.league-alert-inner {
  max-width: 1184px;
  margin: 0 auto;
  padding: 18px 22px;

  display: flex;
  align-items: center;
  gap: 18px;

  border-left: 3px solid var(--green);
  border-right: 1px solid #252525;
  border-bottom: 1px solid #252525;

  background:
    linear-gradient(
      90deg,
      rgba(30,215,96,.11),
      rgba(30,215,96,.025)
    );
}

.league-alert-inner span {
  flex: 0 0 auto;
  color: var(--green);

  font-size: 10px;
  font-weight: 950;
  letter-spacing: .14em;
}

.league-alert-inner p {
  margin: 0;
  color: #e5e5e5;
  font-weight: 750;
}


/* Beginner guide link */

.fantasy101-link {
  display: inline-block;
  margin: 16px 0 2px;

  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.fantasy101-link:hover {
  text-decoration: underline;
}


/* Sleeper franchise avatars */

.franchise-avatar {
  width: 52px;
  height: 52px;

  margin: auto 0 14px;

  border: 2px solid rgba(30,215,96,.65);
  border-radius: 15px;

  object-fit: cover;

  box-shadow:
    0 8px 30px rgba(0,0,0,.45);
}

.franchise-avatar + h3 {
  margin-top: 0;
}


/* Draft live state */

.countdown .draft-live {
  grid-column: 1 / -1;

  padding: 24px;

  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;

  color: var(--green);
}

.countdown .draft-live strong {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -.03em;
}

.draft-live-button {
  display: block;

  padding: 13px 16px;

  border-radius: 999px;

  background: var(--green);
  color: #071109;

  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;

  text-align: center;
}


/* Fantasy 101 */

.guide-shell,
.history-shell {
  max-width: 1184px;
  margin: 0 auto;
  padding: 80px 28px 110px;
}

.guide-hero,
.history-hero {
  max-width: 850px;
  margin-bottom: 65px;
}

.guide-hero h1,
.history-hero h1,
.error-shell h1 {
  margin: 0;

  font-size: clamp(62px, 10vw, 120px);
  line-height: .84;

  font-weight: 950;
  letter-spacing: -.075em;
}

.guide-hero h1 span,
.history-hero h1 span,
.error-shell h1 span {
  color: var(--green);
}

.guide-hero > p:not(.eyebrow),
.history-hero > p:not(.eyebrow) {
  max-width: 690px;

  margin: 28px 0;

  color: #aaa;

  font-size: 18px;
  line-height: 1.65;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.guide-card {
  min-height: 300px;

  padding: 28px;

  border: 1px solid #282828;
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(30,215,96,.035),
      transparent 35%
    ),
    #111;
}

.guide-card > span {
  color: var(--green);

  font-size: 11px;
  font-weight: 950;
  letter-spacing: .16em;
}

.guide-card h2 {
  margin: 35px 0 15px;

  font-size: 34px;
  letter-spacing: -.04em;
}

.guide-card p {
  color: #a1a1a1;
  line-height: 1.6;
}

.guide-card strong {
  color: #f2f2f2;
}

.rookie-tips {
  margin-top: 70px;
  padding: 45px;

  border: 1px solid #2a2a2a;
  border-radius: 25px;

  background: var(--green);
  color: #071109;
}

.rookie-tips .eyebrow {
  color: #0d722f;
}

.rookie-tips h2 {
  margin: 0 0 25px;

  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -.05em;
}

.rookie-tips p {
  font-size: 17px;
  font-weight: 750;
}


/* History */

.history-season {
  margin-top: 65px;
}

.history-year {
  color: var(--green);

  font-size: clamp(70px, 12vw, 150px);
  font-weight: 950;
  line-height: .8;
  letter-spacing: -.08em;
}

.history-grid,
.history-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 15px;
  margin-top: 36px;
}

.history-card,
.history-placeholder-grid > div {
  min-height: 180px;

  padding: 23px;

  border: 1px solid #282828;
  border-radius: 20px;

  background: #111;
}

.history-card span,
.history-placeholder-grid span {
  color: #777;

  font-size: 10px;
  font-weight: 950;
  letter-spacing: .14em;
}

.history-card h2,
.history-placeholder-grid strong {
  display: block;

  margin: 30px 0 8px;

  font-size: 26px;
  letter-spacing: -.04em;
}

.history-card p {
  margin: 0;

  color: #888;
  line-height: 1.5;
}

.history-empty {
  padding: 40px 0;
}

.history-empty h2 {
  margin: 10px 0;

  font-size: clamp(40px, 7vw, 76px);
  letter-spacing: -.06em;
}

.history-empty > p:not(.eyebrow) {
  max-width: 660px;

  color: #999;
  line-height: 1.6;
}


/* 404 */

.error-shell {
  min-height: calc(100vh - 150px);

  padding: 80px 24px 120px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.error-logo {
  width: 120px;
  height: 120px;

  margin-bottom: 30px;

  object-fit: contain;
}

.error-shell > p:not(.eyebrow) {
  color: #999;

  margin: 25px 0;

  font-size: 17px;
}


/* Commissioner additions */

.admin-status-card h2 {
  color: var(--green);
}

.announcement-form textarea {
  width: 100%;
  min-height: 110px;

  resize: vertical;

  padding: 14px 15px;

  border: 1px solid var(--line);
  border-radius: 13px;

  outline: none;

  background: #090909;
  color: white;

  font: inherit;
  line-height: 1.5;
}

.announcement-form textarea:focus {
  border-color: var(--green);
}

.admin-toggle {
  margin: 15px 0 20px;

  display: flex;
  align-items: center;
  gap: 10px;

  color: #bbb;
}

.admin-toggle input {
  width: 18px;
  height: 18px;

  accent-color: var(--green);
}

.history-admin-form {
  display: grid;
  grid-template-columns: 110px 1fr 1fr 1fr auto;

  gap: 10px;
}

.history-admin-form input {
  width: 100%;

  padding: 13px;

  border: 1px solid var(--line);
  border-radius: 12px;

  background: #090909;
  color: white;
}

.history-admin-list {
  margin-top: 28px;
}

.history-admin-row {
  padding: 13px 0;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  border-top: 1px solid #252525;
}

.history-admin-row div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.history-admin-row span {
  color: #777;
  font-size: 13px;
}

.history-admin-row button {
  border: 1px solid #482525;
  border-radius: 9px;

  padding: 8px 10px;

  background: #251313;
  color: #ff9292;

  cursor: pointer;
}


/* Footer navigation */

.footer-nav {
  display: flex;
  gap: 18px;
}

.footer-nav a:hover {
  color: var(--green);
}


/* Turnstile */

.turnstile-wrap {
  margin: 20px 0;

  display: flex;
  justify-content: center;

  overflow: hidden;
}


@media (max-width: 800px) {

  .league-alert-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .guide-grid,
  .history-grid,
  .history-placeholder-grid {
    grid-template-columns: 1fr;
  }

  .history-admin-form {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    flex-wrap: wrap;
  }

}


@media (max-width: 620px) {

  .guide-shell,
  .history-shell {
    padding:
      60px
      18px
      90px;
  }

  .guide-card {
    min-height: auto;
  }

  .rookie-tips {
    padding: 28px;
  }

  .history-admin-row {
    align-items: flex-start;
  }

  .site-footer {
    gap: 16px;
  }

}



/* ==========================================================
   FRANCHISE AVATAR — HARD SIZE LIMIT
   ========================================================== */

.franchise-card .franchise-avatar {
  display: block !important;

  width: 48px !important;
  height: 48px !important;

  min-width: 48px !important;
  min-height: 48px !important;

  max-width: 48px !important;
  max-height: 48px !important;

  flex: 0 0 48px;

  margin: auto 0 14px;

  padding: 0;

  border: 2px solid rgba(30, 215, 96, .65);
  border-radius: 12px;

  object-fit: cover !important;
  object-position: center;

  aspect-ratio: 1 / 1;

  box-shadow:
    0 6px 20px rgba(0, 0, 0, .45);
}


/* Mobile */

@media (max-width: 620px) {

  .franchise-card .franchise-avatar {
    width: 42px !important;
    height: 42px !important;

    min-width: 42px !important;
    min-height: 42px !important;

    max-width: 42px !important;
    max-height: 42px !important;

    flex-basis: 42px;

    border-radius: 11px;
  }

}



/* ==========================================================
   COMMISSIONER — SLEEPER ACCOUNT LINKING
   ========================================================== */

.sleeper-link-cell {
  min-width: 165px;
}

.sleeper-not-linked {
  display: block;
  margin-bottom: 8px;

  color: #707070;

  font-size: 10px;
  font-weight: 950;
  letter-spacing: .1em;
}

.sleeper-linked-account {
  display: flex;
  align-items: center;
  gap: 9px;

  margin-bottom: 8px;
}

.sleeper-linked-account img {
  display: block !important;

  width: 30px !important;
  height: 30px !important;

  min-width: 30px !important;
  min-height: 30px !important;

  max-width: 30px !important;
  max-height: 30px !important;

  border: 1px solid rgba(30, 215, 96, .65);
  border-radius: 8px;

  object-fit: cover;
}

.sleeper-linked-account div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sleeper-linked-account strong {
  max-width: 135px;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: #eee;
  font-size: 12px;
}

.sleeper-linked-account span {
  color: var(--green);

  font-size: 8px;
  font-weight: 950;
  letter-spacing: .12em;
}

.sleeper-link-missing span {
  color: #d7b35f;
}

.sleeper-link-open {
  padding: 6px 9px;

  border: 1px solid #363636;
  border-radius: 8px;

  background: #151515;
  color: #cfcfcf;

  cursor: pointer;

  font-size: 11px;
  font-weight: 850;
}

.sleeper-link-open:hover {
  border-color: var(--green);
  color: var(--green);
}


/* Dialog */

.sleeper-link-dialog {
  width: min(520px, calc(100vw - 30px));

  padding: 0;

  border: 1px solid #303030;
  border-radius: 22px;

  background: #111;
  color: #f5f5f5;

  box-shadow:
    0 30px 100px rgba(0, 0, 0, .75);
}

.sleeper-link-dialog::backdrop {
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(5px);
}

.sleeper-link-dialog form {
  padding: 28px;
}

.sleeper-dialog-heading {
  margin-bottom: 25px;
}

.sleeper-dialog-heading h2 {
  margin: 4px 0 8px;

  font-size: 30px;
  letter-spacing: -.04em;
}

.sleeper-dialog-heading > p:not(.eyebrow) {
  margin: 0;
  color: #888;
}

.sleeper-link-dialog select {
  width: 100%;

  margin-top: 8px;
  padding: 13px 14px;

  border: 1px solid #303030;
  border-radius: 12px;

  outline: none;

  background: #090909;
  color: #f5f5f5;

  font: inherit;
}

.sleeper-link-dialog select:focus {
  border-color: var(--green);
}

.sleeper-dialog-note {
  margin: 16px 0 24px;

  color: #888;

  font-size: 13px;
  line-height: 1.5;
}

.sleeper-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}


@media (max-width: 620px) {

  .sleeper-link-dialog form {
    padding: 22px;
  }

  .sleeper-dialog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .sleeper-dialog-actions .button {
    width: 100%;
  }

}



/* ==========================================================
   FANTASY 101 — MOBILE CARD ORGANIZATION POLISH
   ========================================================== */

.guide-grid {
  gap: 18px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 0;

  border: 1px solid #2f2f2f;
  border-radius: 22px;

  background:
    linear-gradient(
      180deg,
      rgba(30,215,96,.05) 0%,
      rgba(30,215,96,.015) 22%,
      rgba(255,255,255,.01) 100%
    ),
    #111;

  box-shadow:
    0 10px 30px rgba(0,0,0,.22);
}

.guide-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  min-width: 44px;
  height: 28px;

  padding: 0 10px;

  border: 1px solid rgba(30,215,96,.35);
  border-radius: 999px;

  background: rgba(30,215,96,.08);
  color: var(--green);

  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
}

.guide-card h2 {
  margin: 18px 0 12px;
}

.guide-card p {
  margin: 0 0 14px;
}

.guide-card p:last-child {
  margin-bottom: 0;
}


/* Mobile-first cleanup */

@media (max-width: 800px) {

  .guide-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .guide-card {
    min-height: auto;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .guide-card h2 {
    margin: 14px 0 10px;
    font-size: 28px;
    line-height: 1.02;
  }

  .guide-card p {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 12px;
  }

}


/* Small phones */

@media (max-width: 620px) {

  .guide-hero {
    margin-bottom: 34px;
  }

  .guide-hero > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.55;
  }

  .guide-grid {
    gap: 12px;
  }

  .guide-card {
    padding: 18px 16px;
    border-radius: 16px;
    border-color: #343434;
  }

  .guide-card > span {
    min-width: 40px;
    height: 26px;
    padding: 0 9px;

    font-size: 10px;
    letter-spacing: .12em;
  }

  .guide-card h2 {
    margin: 12px 0 8px;
    font-size: 25px;
  }

  .guide-card p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .rookie-tips {
    margin-top: 26px;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .rookie-tips h2 {
    margin-bottom: 16px;
    font-size: 34px;
    line-height: 1.02;
  }

  .rookie-tips p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.5;
  }

}


/* ==========================================================
   STORE BUTTON — MOBILE HARD GUARDRAILS
   ========================================================== */

/*
 * Keep inline Apple/Android SVGs from inheriting any broad
 * responsive sizing rules elsewhere in the stylesheet.
 */

.store-button {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;

  width: 100%;
  min-height: 62px !important;

  padding: 10px 14px !important;

  overflow: hidden;

  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;

  background: rgba(10,10,10,.88);

  text-align: left;
}

.store-button .store-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 32px !important;
  height: 32px !important;

  min-width: 32px !important;
  min-height: 32px !important;

  max-width: 32px !important;
  max-height: 32px !important;

  flex: 0 0 32px !important;

  padding: 6px !important;
  margin: 0 !important;

  overflow: hidden !important;

  border-radius: 9px;

  line-height: 0 !important;
}

.store-button .store-icon > svg,
.store-button svg.store-logo {
  display: block !important;

  width: 18px !important;
  height: 18px !important;

  min-width: 18px !important;
  min-height: 18px !important;

  max-width: 18px !important;
  max-height: 18px !important;

  inline-size: 18px !important;
  block-size: 18px !important;

  flex: 0 0 18px !important;

  margin: 0 !important;
  padding: 0 !important;

  object-fit: contain !important;
}

.store-button > span:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;

  min-width: 0;
}

.store-button small {
  display: block;

  margin: 0;

  font-size: 9px !important;
  line-height: 1.1;
  letter-spacing: .07em;
}

.store-button strong {
  display: block;

  margin: 2px 0 0;

  font-size: 15px !important;
  line-height: 1.1;
}


/* Homepage Sleeper panel */

.hero .sleeper-download-hero .store-buttons {
  gap: 10px !important;
}

.hero .sleeper-download-hero .store-button .store-icon {
  width: 32px !important;
  height: 32px !important;

  min-width: 32px !important;
  min-height: 32px !important;

  max-width: 32px !important;
  max-height: 32px !important;

  flex-basis: 32px !important;
}

.hero .sleeper-download-hero .store-button .store-logo {
  width: 18px !important;
  height: 18px !important;

  min-width: 18px !important;
  min-height: 18px !important;

  max-width: 18px !important;
  max-height: 18px !important;
}


/* Phones */

@media (max-width: 620px) {

  .hero .sleeper-download-hero .store-buttons,
  .confirmation-store-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .store-button {
    min-height: 60px !important;
    padding: 10px 13px !important;
  }

  .store-button .store-icon,
  .hero .sleeper-download-hero .store-button .store-icon {
    width: 30px !important;
    height: 30px !important;

    min-width: 30px !important;
    min-height: 30px !important;

    max-width: 30px !important;
    max-height: 30px !important;

    flex: 0 0 30px !important;

    padding: 6px !important;
  }

  .store-button .store-icon > svg,
  .store-button svg.store-logo,
  .hero .sleeper-download-hero .store-button .store-logo {
    width: 17px !important;
    height: 17px !important;

    min-width: 17px !important;
    min-height: 17px !important;

    max-width: 17px !important;
    max-height: 17px !important;

    inline-size: 17px !important;
    block-size: 17px !important;

    flex-basis: 17px !important;
  }

}



/* ==========================================================
   404 PAGE — MOBILE GHOST LOGO SIZE
   ========================================================== */

@media (max-width: 800px) {

  .error-shell .error-logo {
    display: block !important;

    width: 80px !important;
    height: 80px !important;

    min-width: 80px !important;
    min-height: 80px !important;

    max-width: 80px !important;
    max-height: 80px !important;

    object-fit: contain !important;

    margin: 0 auto 24px !important;
  }

}


@media (max-width: 620px) {

  .error-shell .error-logo {
    width: 68px !important;
    height: 68px !important;

    min-width: 68px !important;
    min-height: 68px !important;

    max-width: 68px !important;
    max-height: 68px !important;

    margin-bottom: 20px !important;
  }

}



/* ==========================================================
   LEAGUE HISTORY — OFFICIAL RECORD BOOK
   ========================================================== */

.history-current {
  margin-top: 30px;
}

.history-current-heading {
  margin-bottom: 30px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
}

.history-current-heading h2 {
  margin: 4px 0 0;

  color: var(--green);

  font-size: clamp(72px, 11vw, 140px);
  line-height: .78;

  font-weight: 950;
  letter-spacing: -.08em;
}

.history-season-status {
  padding: 9px 13px;

  border: 1px solid rgba(30,215,96,.35);
  border-radius: 999px;

  background: rgba(30,215,96,.08);
  color: var(--green);

  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;

  white-space: nowrap;
}


.history-record-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}


.history-record-card {
  min-height: 245px;

  padding: 24px;

  display: flex;
  flex-direction: column;

  border: 1px solid #2b2b2b;
  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(30,215,96,.045),
      transparent 40%
    ),
    #111;

  box-shadow:
    0 12px 35px rgba(0,0,0,.2);
}


.history-record-top {
  display: flex;
  align-items: center;
  gap: 10px;
}


.history-record-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 35px;
  height: 24px;

  padding: 0 8px;

  border-radius: 999px;

  background: rgba(30,215,96,.08);
  color: var(--green);

  font-size: 9px;
  font-weight: 950;
  letter-spacing: .1em;
}


.history-record-label {
  color: #888;

  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}


.history-record-card h3 {
  margin: 32px 0 6px;

  color: #f5f5f5;

  font-size: clamp(28px, 4vw, 42px);
  line-height: .98;

  font-weight: 950;
  letter-spacing: -.045em;
}


.history-record-card h3.history-record-tbd {
  color: #555;
}


.history-record-result {
  margin: 0 0 12px;

  color: var(--green);

  font-size: 14px;
  font-weight: 800;
}


.history-record-description {
  margin: auto 0 0;

  color: #777;

  font-size: 13px;
  line-height: 1.5;
}


.history-future {
  margin-top: 70px;
  padding: 45px;

  border: 1px solid #282828;
  border-radius: 24px;

  background:
    linear-gradient(
      135deg,
      rgba(30,215,96,.08),
      transparent 45%
    ),
    #111;
}


.history-future h2 {
  max-width: 800px;

  margin: 5px 0 18px;

  font-size: clamp(36px, 6vw, 68px);
  line-height: .94;

  letter-spacing: -.055em;
}


.history-future > p:not(.eyebrow) {
  max-width: 630px;

  color: #888;
  line-height: 1.6;
}


/* Mobile */

@media (max-width: 800px) {

  .history-current-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .history-record-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .history-record-card {
    min-height: auto;
    padding: 20px;
  }

  .history-record-card h3 {
    margin-top: 22px;
  }

  .history-record-description {
    margin-top: 25px;
  }

}


@media (max-width: 620px) {

  .history-current-heading {
    margin-bottom: 22px;
  }

  .history-current-heading h2 {
    font-size: 76px;
  }

  .history-season-status {
    padding: 8px 11px;
  }

  .history-record-card {
    padding: 18px 16px;

    border-radius: 16px;
  }

  .history-record-card h3 {
    margin: 18px 0 5px;

    font-size: 29px;
  }

  .history-record-description {
    margin-top: 20px;

    font-size: 13px;
  }

  .history-future {
    margin-top: 35px;
    padding: 24px 18px;

    border-radius: 18px;
  }

  .history-future h2 {
    font-size: 37px;
  }

}



/* ==========================================================
   LEAGUE HISTORY — MOBILE CARD ORGANIZATION POLISH
   ========================================================== */

.history-record-grid {
  gap: 18px;
}

.history-record-card {
  position: relative;

  border: 1px solid #303030;
  border-radius: 22px;

  background:
    linear-gradient(
      180deg,
      rgba(30,215,96,.055) 0%,
      rgba(30,215,96,.018) 25%,
      rgba(255,255,255,.01) 100%
    ),
    #111;

  box-shadow:
    0 10px 30px rgba(0,0,0,.24);
}

.history-record-number {
  border: 1px solid rgba(30,215,96,.35);

  background: rgba(30,215,96,.09);
}

.history-record-label {
  color: #a0a0a0;
}


/* Tablets / phones */

@media (max-width: 800px) {

  .history-record-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .history-record-card {
    min-height: auto;

    padding: 22px 20px;

    border-radius: 18px;
    border-color: #333;
  }

  .history-record-top {
    gap: 10px;
  }

  .history-record-number {
    min-width: 42px;
    height: 28px;

    padding: 0 9px;

    font-size: 10px;
  }

  .history-record-label {
    font-size: 10px;
    line-height: 1.25;
  }

  .history-record-card h3 {
    margin: 16px 0 8px;

    font-size: 30px;
    line-height: 1;
  }

  .history-record-result {
    margin: 0 0 10px;

    font-size: 14px;
  }

  .history-record-description {
    margin: 16px 0 0;

    padding-top: 14px;

    border-top: 1px solid #282828;

    font-size: 13px;
    line-height: 1.5;
  }

}


/* Small phones */

@media (max-width: 620px) {

  .history-current {
    margin-top: 20px;
  }

  .history-current-heading {
    margin-bottom: 20px;
    gap: 14px;
  }

  .history-current-heading h2 {
    font-size: 68px;
    line-height: .82;
  }

  .history-season-status {
    padding: 7px 10px;

    font-size: 9px;
    letter-spacing: .1em;
  }

  .history-record-grid {
    gap: 12px;
  }

  .history-record-card {
    padding: 18px 16px;

    border-radius: 16px;
    border-color: #363636;
  }

  .history-record-number {
    min-width: 40px;
    height: 26px;

    font-size: 10px;
  }

  .history-record-label {
    font-size: 9px;
    letter-spacing: .1em;
  }

  .history-record-card h3 {
    margin: 14px 0 6px;

    font-size: 27px;
  }

  .history-record-card h3.history-record-tbd {
    color: #626262;
  }

  .history-record-result {
    font-size: 13px;
  }

  .history-record-description {
    margin-top: 14px;
    padding-top: 12px;

    font-size: 13px;
    line-height: 1.45;
  }

  .history-future {
    margin-top: 28px;
  }

}

