/* ============================================
   GuessTheTier.com — Global Styles
   Palette:
     --bg        #0B0F0C  near-black, green cast
     --surface   #121A13  raised panels / navbar
     --border    #23301F  hairlines
     --green     #6FCF4C  grass green (primary accent)
     --green-hi  #9BE86B  bright grass highlight
     --gold      #F0C24B  reserved for Pro / high-tier
     --text      #E9F2E4  primary text
     --muted     #97A88F  secondary text
   ============================================ */

:root {
  interpolate-size: allow-keywords; /* enables height:auto transitions (FAQ slide) */
  --bg: #0B0F0C;
  --surface: #121A13;
  --border: #23301F;
  --green: #6FCF4C;
  --green-hi: #9BE86B;
  --gold: #F0C24B;
  --text: #E9F2E4;
  --muted: #97A88F;

  --font-ui: "Space Grotesk", system-ui, sans-serif;
  --font-pixel: "Silkscreen", monospace;

  --nav-height: 64px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================
   Navbar
   ============================================ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 26, 19, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-inner {
  width: 100%;
  min-height: var(--nav-height);
  padding: 8px 20%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* --- Brand --- */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: var(--text);
  white-space: nowrap;
}

.brand-tld {
  color: var(--green);
}

/* --- Middle links --- */

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.nav-link {
  padding: 8px 14px;
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav-icon-link:hover {
  color: #8B5CF6; /* purple on hover */
}

/* --- Right-side buttons --- */

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.1s ease, box-shadow 0.15s ease,
              background-color 0.15s ease, color 0.15s ease,
              border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

/* Pro — gold, the high-tier color */
.btn-pro {
  color: var(--gold);
  border: 1px solid rgba(240, 194, 75, 0.45);
  background: rgba(240, 194, 75, 0.08);
}

.btn-pro:hover {
  color: #FFFFFF;
  border-color: var(--gold);
}

/* Submit Clip — quiet green outline */
.btn-outline {
  color: var(--text);
  border: 1px solid var(--border);
  background: transparent;
}

.btn-outline:hover {
  color: #FFFFFF;
  border-color: #4A5F44;
}

/* Sign In — solid green primary */
.btn-primary {
  color: #0B0F0C;
  background: var(--green);
  border: 1px solid var(--green);
}

.btn-primary:hover {
  background: var(--green-hi);
  border-color: var(--green-hi);
}

/* Keyboard focus */
.brand:focus-visible,
.nav-link:focus-visible,
.nav-icon-link:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--green-hi);
  outline-offset: 2px;
}

/* ============================================
   Responsive — no hamburger, everything compresses
   ============================================ */

@media (max-width: 1500px) {
  .navbar-inner {
    padding: 8px 10%;
  }
}

@media (max-width: 1150px) {
  .navbar-inner {
    padding: 8px 3%;
  }
}

@media (max-width: 860px) {
  .navbar-inner {
    padding: 8px 12px;
    gap: 6px 10px;
  }

  .brand-name {
    font-size: 12px;
  }

  .nav-link {
    padding: 6px 8px;
    font-size: 13px;
  }

  .btn {
    padding: 6px 10px;
    font-size: 12.5px;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .brand-tld {
    display: none; /* wordmark shrinks to GUESSTHETIER */
  }

  .nav-actions {
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .brand-name {
    display: none; /* logo only on the smallest screens */
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

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

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 40px;
  padding: 70px 5% 50px;
}

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

.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  white-space: nowrap;
}

.hero-sub {
  margin-top: 22px;
  font-size: 19px;
  color: var(--muted);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-steve {
  width: 300px;
  max-width: 35vw;
  height: auto;
  flex-shrink: 0;
}

@media (max-width: 1500px) {
  .hero {
    padding-left: 10%;
    padding-right: 10%;
  }
}

@media (max-width: 1150px) {
  .hero {
    padding-left: 3%;
    padding-right: 3%;
  }
}

@media (max-width: 760px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
    gap: 24px;
  }

  .hero-title {
    font-size: 36px;
    white-space: normal;
  }

  .hero-sub {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-steve {
    width: 220px;
    max-width: 60vw;
  }
}

/* ============================================
   Game mode cards
   ============================================ */

.modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 3% 80px;
}

.mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 36px 20px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.2s ease-out, background-color 0.2s ease-out;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.mode-card:hover {
  transform: scale(1.05);
  background: #1C2A1E;
}

.mode-card:focus-visible {
  outline: 2px solid var(--green-hi);
  outline-offset: 2px;
  transform: scale(1.05);
}

.mode-icon {
  display: block;
  width: 70%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.mode-name {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  letter-spacing: 0.5px;
}

/* Play Solo / Play with a Party — revealed on hover */
.mode-actions {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 12px;
  background: #1C2A1E;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

.mode-card:hover .mode-actions,
.mode-card:focus-within .mode-actions {
  opacity: 1;
  pointer-events: auto;
}

.mode-action {
  display: inline-flex;
  justify-content: center;
  width: 75%;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: var(--green);
  color: #0B0F0C;
  border: 1px solid var(--green);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.mode-action:hover {
  background: var(--green-hi);
  border-color: var(--green-hi);
}

.mode-action-alt {
  background: transparent;
  color: var(--text);
  border-color: #4A5F44;
}

.mode-action-alt:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  border-color: #5E7A56;
}

.mode-action:focus-visible {
  outline: 2px solid var(--green-hi);
  outline-offset: 2px;
}

@media (max-width: 1150px) {
  .modes {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .modes {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ============================================
   How to play
   ============================================ */

.how {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 3% 90px;
  text-align: center;
}

.how-title {
  font-size: 34px;
  font-weight: 700;
}

.how-intro {
  margin: 14px auto 0;
  max-width: 700px;
  font-size: 16px;
  color: var(--muted);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
  text-align: left;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 26px;
}

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

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--green);
  color: #0B0F0C;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 16px;
}

.step-title {
  font-size: 19px;
  font-weight: 600;
}

.step-text {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .how-steps {
    grid-template-columns: 1fr;
  }

  .how-title {
    font-size: 28px;
  }
}

/* ============================================
   Supported PVP modes
   ============================================ */

.pvp-modes {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 3% 90px;
  text-align: center;
}

.pvp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
  text-align: left;
}

.pvp-mode {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: background-color 0.2s ease-out;
}

.pvp-mode:hover {
  background: #1C2A1E;
}

.pvp-mode:focus-visible {
  outline: 2px solid var(--green-hi);
  outline-offset: 2px;
}

.pvp-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
}

.pvp-name {
  font-size: 18px;
  font-weight: 600;
}

.pvp-desc {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}

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

@media (max-width: 700px) {
  .pvp-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FAQ
   ============================================ */

.faq {
  max-width: 860px;
  margin: 0 auto;
  padding: 10px 3% 90px;
  text-align: center;
}

.faq-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.faq-q {
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 48px;
  transition: color 0.15s ease;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 22px;
  font-weight: 400;
}

.faq-item[open] .faq-q::after {
  content: "\2013";
}

.faq-q:hover {
  color: #FFFFFF;
}

.faq-a {
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--muted);
}

.faq-link {
  color: var(--green);
  transition: color 0.15s ease;
}

.faq-link:hover {
  color: var(--green-hi);
}

/* Slide open/close animation for the answers */
.faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete;
}

.faq-item[open]::details-content {
  block-size: auto;
}

/* ============================================
   Pro page
   ============================================ */

.pro-hero {
  padding-bottom: 30px;
}

.pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid rgba(240, 194, 75, 0.45);
  border-radius: 999px;
  background: rgba(240, 194, 75, 0.08);
  color: var(--gold);
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
}

.pro-features {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 3% 50px;
}

.pro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pro-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.pro-feature-title {
  font-size: 17px;
  font-weight: 600;
}

.pro-feature-text {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted);
}

.pro-pricing {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 3% 90px;
  text-align: center;
}

.price-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.price-card {
  position: relative;
  width: 300px;
  padding: 32px 28px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

.price-card-best {
  border-color: rgba(240, 194, 75, 0.5);
}

.price-tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #0B0F0C;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.price-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-amount {
  margin-top: 12px;
  font-size: 42px;
  font-weight: 700;
}

.price-per {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

.price-note {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

.price-btn {
  margin-top: 22px;
  width: 100%;
  justify-content: center;
  padding: 11px 16px;
  font-size: 15px;
}

.btn-gold {
  color: #0B0F0C;
  background: var(--gold);
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: #F7D06A;
  border-color: #F7D06A;
}

.pro-fineprint {
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--muted);
}

/* --- Free vs Pro comparison table --- */

.compare {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 3% 70px;
  text-align: center;
}

.compare-table {
  width: 100%;
  margin-top: 36px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.compare-table th,
.compare-table td {
  padding: 16px 22px;
  font-size: 15px;
}

.compare-table thead th {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.compare-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.compare-table tbody tr + tr td {
  border-top: 1px solid rgba(35, 48, 31, 0.6);
}

.compare-table .col-feature {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}

.compare-table .col-free {
  text-align: center;
  color: var(--muted);
}

.compare-table .col-pro {
  text-align: center;
  font-weight: 600;
  color: var(--gold);
  background: rgba(240, 194, 75, 0.05);
}

.compare-table thead .col-pro {
  color: var(--gold);
}

.compare-table thead .col-pro svg {
  vertical-align: -1px;
  margin-right: 4px;
}

.mark-yes {
  color: var(--gold);
  font-size: 17px;
}

.mark-no {
  color: var(--muted);
  font-size: 15px;
  opacity: 0.7;
}

@media (max-width: 600px) {
  .compare-table th,
  .compare-table td {
    padding: 13px 12px;
    font-size: 13.5px;
  }
}

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

@media (max-width: 600px) {
  .pro-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    width: 100%;
    max-width: 340px;
  }
}

/* ============================================
   Leaderboard
   ============================================ */

.lb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 3% 90px;
  text-align: center;
}

.lb-title {
  font-size: 44px;
  font-weight: 700;
}

.lb-sub {
  margin-top: 10px;
  font-size: 16px;
  color: var(--muted);
}

/* --- Mode tabs --- */

.lb-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.lb-tab {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.lb-tab:hover {
  color: #FFFFFF;
}

.lb-tab.active {
  background: var(--green);
  border-color: var(--green);
  color: #0B0F0C;
  font-weight: 600;
}

.lb-tab:focus-visible {
  outline: 2px solid var(--green-hi);
  outline-offset: 2px;
}

/* --- Podium --- */

.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
  margin-top: 40px;
}

.podium-card {
  position: relative;
  width: 210px;
  padding: 26px 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.podium-1 {
  width: 240px;
  padding-top: 34px;
  padding-bottom: 28px;
  border-color: rgba(240, 194, 75, 0.55);
}

.podium-2 {
  border-color: rgba(200, 205, 210, 0.35);
}

.podium-3 {
  border-color: rgba(205, 127, 50, 0.4);
}

.podium-place {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 13px;
  color: #0B0F0C;
}

.podium-1 .podium-place { background: var(--gold); }
.podium-2 .podium-place { background: #C8CDD2; }
.podium-3 .podium-place { background: #CD7F32; }

.podium-avatar {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  margin-top: 4px;
  image-rendering: pixelated;
}

.podium-1 .podium-avatar {
  width: 68px;
  height: 68px;
}

.podium-name {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
}

.podium-points {
  font-size: 15px;
  color: var(--green-hi);
  font-weight: 600;
}

.podium-acc {
  font-size: 13px;
  color: var(--muted);
}

/* --- Table --- */

.lb-table {
  width: 100%;
  margin-top: 30px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  text-align: left;
}

.lb-table th,
.lb-table td {
  padding: 15px 22px;
  font-size: 16px;
}

.lb-table thead th {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.lb-table tbody tr + tr td {
  border-top: 1px solid rgba(35, 48, 31, 0.6);
}

.lb-table tbody tr {
  transition: background-color 0.15s ease;
}

.lb-table tbody tr:hover {
  background: #1C2A1E;
}

.lb-col-rank {
  width: 50px;
  color: var(--muted);
  font-weight: 600;
}

.lb-col-player {
  font-weight: 500;
}

.lb-col-num {
  text-align: right;
  width: 110px;
}

.lb-avatar {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  vertical-align: -7px;
  margin-right: 10px;
  image-rendering: pixelated;
}

.pro-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(240, 194, 75, 0.12);
  border: 1px solid rgba(240, 194, 75, 0.45);
  color: var(--gold);
  font-family: var(--font-pixel);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  vertical-align: 2px;
}

.lb-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

/* Empty avatar slots until real players exist */
.avatar-ph {
  display: inline-block;
  background: #1E2A20;
  border: 1px solid var(--border);
}

@media (max-width: 700px) {
  .podium {
    flex-wrap: wrap;
    align-items: stretch;
  }

  .podium-card,
  .podium-1 {
    width: 100%;
    max-width: 320px;
  }

  .podium-1 { order: -1; }

  .lb-table th:nth-child(5),
  .lb-table td:nth-child(5) {
    display: none;
  }

  .lb-table th,
  .lb-table td {
    padding: 12px 10px;
    font-size: 13.5px;
  }
}

/* ============================================
   Legal pages (privacy / terms)
   ============================================ */

.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 5% 90px;
}

.legal-title {
  font-size: 38px;
  font-weight: 700;
}

.legal-updated {
  margin-top: 8px;
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--muted);
}

.legal h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 600;
}

.legal p {
  margin-bottom: 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}

.legal p strong {
  color: var(--text);
}

.legal ul {
  margin: 0 0 14px 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  color: var(--green);
}

.legal a:hover {
  color: var(--green-hi);
}

/* ============================================
   Auth (sign in / sign up)
   ============================================ */

/* Short pages: footer sticks to the bottom of the screen */
.page-fill {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-fill main {
  flex: 1;
}

.auth {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.auth-title {
  font-size: 34px;
  font-weight: 700;
}

.auth-sub {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}

.auth-card {
  width: 100%;
  margin-top: 28px;
  padding: 26px 26px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* --- Tabs --- */

.auth-tabs {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 22px;
}

.auth-tab {
  flex: 1;
  padding: 9px 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.auth-tab:hover {
  color: #FFFFFF;
}

.auth-tab.active {
  background: var(--green);
  color: #0B0F0C;
}

/* --- Fields --- */

.auth-form {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.auth-field {
  margin-bottom: 16px;
}

.auth-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
}

.auth-field input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  transition: border-color 0.15s ease;
}

.auth-field input::placeholder {
  color: #5C6B57;
}

.auth-field input:focus {
  outline: none;
  border-color: var(--green);
}

.auth-hint {
  margin-top: 6px;
  padding-left: 7px;
  font-size: 12.5px;
  color: var(--muted);
}

.auth-forgot {
  align-self: flex-end;
  margin-bottom: 16px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.15s ease;
}

.auth-forgot:hover {
  color: #FFFFFF;
}

.auth-submit {
  justify-content: center;
  padding: 12px 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* --- Divider + OAuth --- */

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.auth-oauth + .auth-oauth {
  margin-top: 10px;
}

.auth-oauth:hover {
  filter: brightness(1.08);
}

.auth-google {
  background: #FFFFFF;
  color: #1F1F1F;
  border: 1px solid #FFFFFF;
}

.auth-discord {
  background: #5865F2;
  color: #FFFFFF;
  border: 1px solid #5865F2;
}

.auth-error {
  margin-bottom: 14px;
  padding: 10px 14px;
  background: rgba(229, 100, 78, 0.08);
  border: 1px solid rgba(229, 100, 78, 0.4);
  border-radius: 8px;
  color: #F08070;
  font-size: 14px;
}

/* --- Password reset confirmation --- */

.auth-reset-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  text-align: center;
}

.auth-reset-icon {
  font-size: 30px;
  color: var(--green);
}

.auth-reset-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* --- Below the card --- */

.auth-guest {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s ease;
}

.auth-back {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s ease;
}

.auth-guest:hover,
.auth-back:hover {
  color: #FFFFFF;
}

.auth-tab:focus-visible,
.auth-oauth:focus-visible,
.auth-guest:focus-visible,
.auth-back:focus-visible,
.auth-forgot:focus-visible {
  outline: 2px solid var(--green-hi);
  outline-offset: 2px;
}

/* ============================================
   Game — mode select screen
   ============================================ */

.gamemode {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 16px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gamemode-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gamemode-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.gamemode-title {
  font-size: 40px;
  font-weight: 700;
}

.gamemode-sub {
  margin-top: 6px;
  font-size: 16px;
  color: var(--muted);
}

.gamemode-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  width: 100%;
  margin-top: 34px;
}

.gamemode-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: background-color 0.2s ease-out, transform 0.2s ease-out;
}

.gamemode-option:hover {
  background: #1C2A1E;
  transform: scale(1.02);
}

.gamemode-option:focus-visible {
  outline: 2px solid var(--green-hi);
  outline-offset: 2px;
}

.gamemode-option-title {
  font-size: 22px;
  font-weight: 700;
}

.gamemode-option-text {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}

.gamemode-option-btn {
  margin-top: 22px;
  padding: 10px 26px;
}

.gamemode-back {
  margin-top: 26px;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.15s ease;
}

.gamemode-back:hover {
  color: #FFFFFF;
}

.gamemode-back:focus-visible {
  outline: 2px solid var(--green-hi);
  outline-offset: 2px;
}

/* --- How to guess guide card --- */

.guide {
  width: min(1150px, calc(100vw - 40px));
  margin-top: 46px;
  padding: 40px 46px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left;
}

.guide-title {
  font-size: 26px;
  font-weight: 700;
}

.guide-text {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

/* --- MCTiers Explained tier scale --- */

.tier-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tier-chip {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid;
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* Tier 5 — gray */
.tier-5  { color: #97A0A8; border-color: #3A4148; background: rgba(151, 160, 168, 0.08); }
.tier-5h { color: #B6BEC6; border-color: #4A525A; background: rgba(182, 190, 198, 0.10); }

/* Tier 4 — green */
.tier-4  { color: #6FCF4C; border-color: #35502B; background: rgba(111, 207, 76, 0.08); }
.tier-4h { color: #9BE86B; border-color: #46683A; background: rgba(155, 232, 107, 0.10); }

/* Tier 3 — blue */
.tier-3  { color: #5AA9E6; border-color: #2C4A63; background: rgba(90, 169, 230, 0.08); }
.tier-3h { color: #8CC5F0; border-color: #3A5E7C; background: rgba(140, 197, 240, 0.10); }

/* Tier 2 — purple */
.tier-2  { color: #A78BFA; border-color: #4A3B72; background: rgba(167, 139, 250, 0.08); }
.tier-2h { color: #C4B0FC; border-color: #5C4B8C; background: rgba(196, 176, 252, 0.10); }

/* Tier 1 — gold */
.tier-1  { color: #F0C24B; border-color: #6B5620; background: rgba(240, 194, 75, 0.08); }
.tier-1h { color: #F7D680; border-color: #856C2A; background: rgba(247, 214, 128, 0.12); }

/* --- Per-mode FAQ (static) --- */

.mode-faq-q {
  margin-top: 26px;
  font-size: 17px;
  font-weight: 600;
}

.mode-faq-a {
  margin-top: 8px;
}

/* ============================================
   Round screen
   ============================================ */

.round {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  order: -1; /* game above the guide/FAQ sections */
  margin-bottom: 10px;
}

.round-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.round-top-mode {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
}

.round-mode-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.round-top-progress {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 15px;
  color: var(--green-hi);
}

.round-top-score {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}

.round-top-score span {
  color: var(--text);
}

.round-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080B09;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.round-video-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.round-video-play {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  border-radius: 50%;
  background: rgba(111, 207, 76, 0.12);
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 26px;
}

.round-video-note {
  font-size: 13.5px;
  color: var(--muted);
}

.round-question {
  margin-top: 26px;
  font-size: 22px;
  font-weight: 700;
}

.round-tiers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.round-tiers .tier-chip {
  cursor: pointer;
  font-size: 16px;
  padding: 12px 20px;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.round-tiers .tier-chip:hover {
  transform: scale(1.08);
  filter: brightness(1.25);
}

.round-tiers .tier-chip:focus-visible {
  outline: 2px solid var(--green-hi);
  outline-offset: 2px;
}

/* ============================================
   Reveal / game over popups
   ============================================ */

.reveal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 8, 6, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.reveal-card {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px 30px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
}

.reveal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease;
}

.reveal-close:hover {
  color: #FFFFFF;
}

.reveal-title {
  font-size: 26px;
  font-weight: 700;
}

/* --- Three result cells --- */

.reveal-cells {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.reveal-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.reveal-cell-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.reveal-cell-label.label-yours { color: #E5644E; }
.reveal-cell-label.label-correct { color: var(--green-hi); }

.reveal-points-big {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.reveal-points-big.is-right { color: var(--green-hi); }
.reveal-points-big.is-close { color: var(--gold); }
.reveal-points-big.is-wrong { color: var(--gold); }

/* --- Voting statistics bar chart --- */

.reveal-votes {
  margin-top: 16px;
  padding: 22px 18px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.reveal-votes-title {
  font-size: 16px;
  font-weight: 700;
}

.reveal-votes-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.vote-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.vote-col {
  flex: 1;
  max-width: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.vote-col-pct {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.vote-col-track {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: flex-end;
  border-radius: 6px;
}

.vote-col-fill {
  width: 100%;
  border-radius: 6px;
  background: #2A3430;
}

.vote-col-correct .vote-col-fill { background: var(--green); }
.vote-col-correct .vote-col-pct { color: var(--green-hi); }
.vote-col-yours .vote-col-fill { background: #E5644E; }
.vote-col-yours .vote-col-pct { color: #E5644E; }

.vote-col-label {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 10px;
  color: var(--muted);
}

/* --- Footer button --- */

.reveal-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.reveal-next {
  justify-content: center;
  padding: 11px 28px;
  font-size: 15px;
  border: none;
  cursor: pointer;
}

.round-inline-next {
  margin-top: 22px;
  justify-content: center;
  padding: 11px 28px;
  font-size: 15px;
  border: none;
  cursor: pointer;
}

/* ============================================
   Party lobby
   ============================================ */

.lobby {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lobby-code {
  width: 100%;
  margin-top: 30px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.lobby-code-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.lobby-code-label {
  font-size: 13px;
  color: var(--muted);
}

.lobby-code-value {
  font-family: var(--font-pixel);
  font-weight: 700;
  font-size: 22px;
  color: var(--green-hi);
  letter-spacing: 1px;
}

.lobby-code-value.lobby-code-hidden {
  color: var(--muted);
  letter-spacing: 3px;
}

.lobby-code-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lobby-code-actions .btn {
  cursor: pointer;
}

/* --- Join a friend's party --- */

.lobby-join {
  width: 100%;
  margin-top: 18px;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.lobby-join-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.lobby-join-row {
  width: 100%;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lobby-join-input {
  flex: 1;
  min-width: 200px;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  text-transform: uppercase;
  transition: border-color 0.15s ease;
}

.lobby-join-input::placeholder {
  color: #5C6B57;
  text-transform: none;
}

.lobby-join-input:focus {
  outline: none;
  border-color: var(--green);
}

.lobby-join-btn {
  cursor: pointer;
  border: none;
  padding: 11px 22px;
  justify-content: center;
}

.lobby-setting-hostnote {
  font-size: 14px;
  color: var(--muted);
}

.lobby-start-waiting {
  opacity: 0.65;
  cursor: default;
}

.lobby-empty {
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.lobby-empty:hover {
  border-color: #4A5F44;
}

.lobby-empty:hover .lobby-name {
  color: var(--text);
}

.lobby-players {
  width: 100%;
  margin-top: 18px;
  padding: 20px 24px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.lobby-players-head {
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

.lobby-count {
  color: var(--muted);
  font-weight: 500;
  margin-left: 6px;
}

.lobby-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.lobby-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.lobby-avatar {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  image-rendering: pixelated;
}

.lobby-name {
  font-size: 13px;
  font-weight: 600;
}

.lobby-crown {
  color: var(--gold);
}

.lobby-empty {
  border-style: dashed;
  color: var(--muted);
}

.lobby-empty .lobby-name {
  color: var(--muted);
  font-weight: 500;
}

.lobby-empty-plus {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px dashed var(--border);
  font-size: 20px;
  color: var(--muted);
}

.lobby-pro-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  text-align: left;
}

.lobby-pro-link {
  color: var(--gold);
}

.lobby-pro-link:hover {
  text-decoration: underline;
}

.lobby-settings {
  width: 100%;
  margin-top: 18px;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.lobby-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.lobby-setting-label {
  font-size: 15px;
  font-weight: 600;
}

.lobby-rounds {
  display: flex;
  gap: 8px;
}

.lobby-round-opt {
  min-width: 46px;
  padding: 8px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.lobby-round-opt:hover {
  color: #FFFFFF;
}

.lobby-round-opt.active {
  background: var(--green);
  border-color: var(--green);
  color: #0B0F0C;
}

.lobby-start {
  margin-top: 26px;
  padding: 13px 46px;
  font-size: 17px;
  border: none;
  cursor: pointer;
  justify-content: center;
}

.lobby .gamemode-back {
  margin-top: 20px;
}

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

/* ============================================
   Party scoreboard (round popup)
   ============================================ */

.party-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 8px;
}

.party-row + .party-row {
  margin-top: 4px;
}

.party-row-you {
  background: rgba(111, 207, 76, 0.06);
}

.party-row-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  image-rendering: pixelated;
}

.party-row-name {
  flex: 1;
  text-align: left;
  font-size: 14.5px;
  font-weight: 600;
}

.party-row .tier-chip {
  font-size: 11px;
  padding: 5px 10px;
}

.party-row-pts {
  width: 48px;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.party-row-total {
  width: 52px;
  text-align: right;
  font-size: 14.5px;
  font-weight: 700;
}

.party-winner {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 22px;
}

/* ============================================
   End-of-game results screen
   ============================================ */

.results {
  width: 100%;
  max-width: 900px;
  order: -1; /* above the guide/FAQ sections */
  margin-bottom: 10px;
}

.results-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.results-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.results-stat-label {
  font-size: 15px;
  color: var(--muted);
}

.results-stat-value {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--green-hi);
}

.results-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.results-table th,
.results-table td {
  padding: 16px 20px;
  font-size: 15px;
  text-align: center;
}

.results-table thead th {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.results-table tbody tr + tr td {
  border-top: 1px solid rgba(35, 48, 31, 0.6);
}

.res-col-round {
  width: 90px;
  font-weight: 700;
}

.res-col-points {
  width: 140px;
  font-weight: 700;
  color: var(--muted);
}

.res-points-gain {
  color: var(--green-hi);
}

.results-note {
  margin-top: 18px;
  text-align: center;
  font-size: 14.5px;
  color: var(--muted);
}

.results-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.results-actions .btn {
  cursor: pointer;
  padding: 11px 26px;
  font-size: 15px;
  justify-content: center;
}

@media (max-width: 640px) {
  .results-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .results-stat {
    padding: 18px 16px;
  }
}

@media (max-width: 640px) {
  .gamemode-options {
    grid-template-columns: 1fr;
  }

  .gamemode-title {
    font-size: 30px;
  }

  .gamemode-icon {
    width: 42px;
    height: 42px;
  }
}

/* ============================================
   Submit a clip
   ============================================ */

.submit {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 16px 70px;
}

.submit-title {
  font-size: 36px;
  font-weight: 700;
}

.submit-sub {
  margin-top: 6px;
  font-size: 16px;
  color: var(--muted);
}

.submit-locked {
  margin-top: 30px;
  padding: 60px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.submit-lock {
  font-size: 40px;
  line-height: 1;
}

.submit-locked-title {
  margin-top: 18px;
  font-size: 26px;
  font-weight: 700;
}

.submit-locked-text {
  margin-top: 10px;
  font-size: 16px;
  color: var(--muted);
}

.submit-signin {
  margin-top: 26px;
  padding: 11px 34px;
  font-size: 15px;
  cursor: pointer;
  border: none;
  justify-content: center;
}

/* Demo-only preview link on the lock card */
.submit-demo-link {
  margin-top: 18px;
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.15s ease;
}

.submit-demo-link:hover {
  color: #FFFFFF;
}

/* --- Submission form --- */

.submit-form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.submit-card {
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.submit-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.style-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.style-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.style-opt img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.style-opt:hover {
  color: #FFFFFF;
}

.style-opt.active {
  border-color: var(--green);
  background: rgba(111, 207, 76, 0.08);
  color: var(--text);
}

.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 34px 20px;
  background: var(--bg);
  border: 1px dashed #3A4A36;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.upload-zone:hover {
  border-color: var(--green);
}

.upload-zone.upload-filled {
  border-style: solid;
  border-color: var(--green);
}

.upload-icon {
  font-size: 26px;
  color: var(--green);
}

.upload-text {
  font-size: 15px;
  font-weight: 600;
}

.upload-browse {
  color: var(--green);
}

.upload-hint {
  font-size: 13px;
  color: var(--muted);
}

.upload-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.upload-or::before,
.upload-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.submit-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.submit-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  transition: border-color 0.15s ease;
}

.submit-input::placeholder {
  color: #5C6B57;
}

.submit-input:focus {
  outline: none;
  border-color: var(--green);
}

.submit-verify-note {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

.submit-rules-list {
  margin-left: 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.submit-actions {
  display: flex;
  justify-content: flex-end;
}

.submit-send {
  padding: 12px 30px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  justify-content: center;
}

@media (max-width: 640px) {
  .style-picker {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   Admin clip review
   ============================================ */

.review {
  margin-top: 26px;
}

.review-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.review-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 999px;
  background: rgba(11, 15, 12, 0.35);
  font-size: 12px;
  font-weight: 700;
}

.review-card {
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.review-video {
  max-width: 100%;
}

.review-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.review-meta-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.review-meta-label {
  font-size: 12.5px;
  color: var(--muted);
}

.review-meta-value {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
}

.review-style-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.review-checks {
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.review-checks-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.review-approve {
  border: none;
  cursor: pointer;
  padding: 11px 30px;
  font-size: 15px;
  justify-content: center;
}

.review-reject {
  cursor: pointer;
  padding: 11px 30px;
  font-size: 15px;
  justify-content: center;
  background: transparent;
  color: #E5644E;
  border: 1px solid rgba(229, 100, 78, 0.45);
}

.review-reject:hover {
  color: #F08070;
  border-color: #E5644E;
  background: rgba(229, 100, 78, 0.08);
}

.review-reasons {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid rgba(229, 100, 78, 0.35);
  border-radius: 10px;
}

.review-reason-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-reason {
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.review-reason:hover {
  color: #F08070;
  border-color: #E5644E;
}

/* --- Approved / rejected lists --- */

.review-list {
  padding: 10px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.review-list-empty {
  padding: 24px 0;
  text-align: center;
  font-size: 14.5px;
  color: var(--muted);
}

.review-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}

.review-row + .review-row {
  border-top: 1px solid rgba(35, 48, 31, 0.6);
}

.review-row-file {
  font-size: 14.5px;
  font-weight: 600;
}

.review-row-meta {
  flex: 1;
  font-size: 13.5px;
  color: var(--muted);
}

.review-row-reason {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(229, 100, 78, 0.08);
  border: 1px solid rgba(229, 100, 78, 0.35);
  color: #E5644E;
  font-size: 12.5px;
  font-weight: 600;
}

/* --- Staff management --- */

.staff-card {
  margin-top: 18px;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.staff-sub {
  margin-top: -10px;
  margin-bottom: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

.staff-grant {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.staff-input {
  flex: 1;
  min-width: 160px;
}

.staff-select {
  width: 140px;
  cursor: pointer;
}

.staff-grant-btn {
  cursor: pointer;
  border: none;
  padding: 0 22px;
  justify-content: center;
}

.staff-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.staff-row + .staff-row {
  border-top: 1px solid rgba(35, 48, 31, 0.6);
}

.staff-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  image-rendering: pixelated;
}

.staff-name {
  flex: 1;
  font-size: 14.5px;
  font-weight: 600;
}

.staff-role {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

.staff-role-admin {
  color: var(--gold);
  border: 1px solid rgba(240, 194, 75, 0.45);
  background: rgba(240, 194, 75, 0.08);
}

.staff-role-reviewer {
  color: var(--green-hi);
  border: 1px solid rgba(111, 207, 76, 0.45);
  background: rgba(111, 207, 76, 0.08);
}

.staff-owner {
  font-size: 12.5px;
  color: var(--muted);
}

.staff-remove {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease;
}

.staff-remove:hover {
  color: #E5644E;
}

@media (max-width: 760px) {
  .review-meta {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   Signed-in navbar (avatar + dropdown)
   ============================================ */

.nav-user {
  position: relative;
}

.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.nav-user-btn:hover {
  border-color: #4A5F44;
}

.nav-user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  image-rendering: pixelated;
}

.nav-user-caret {
  font-size: 11px;
  color: var(--muted);
}

.nav-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  z-index: 150;
}

.nav-user-item {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-user-item:hover {
  color: #FFFFFF;
  background: rgba(111, 207, 76, 0.08);
}

.nav-user-signout {
  color: #E5644E;
}

.nav-user-signout:hover {
  color: #F08070;
  background: rgba(229, 100, 78, 0.08);
}

/* ============================================
   Dashboard
   ============================================ */

.dash {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 44px 16px 80px;
}

.dash-head {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.dash-avatar {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  image-rendering: pixelated;
}

.dash-title {
  font-size: 30px;
  font-weight: 700;
}

.dash-sub {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.dash-upgrade {
  margin-left: auto;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.dash-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.dash-stat-label {
  font-size: 13.5px;
  color: var(--muted);
}

.dash-stat-value {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--green-hi);
}

.dash-card {
  margin-top: 18px;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.dash-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}

/* --- Per-mode accuracy --- */

.dash-mode-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.dash-mode-row + .dash-mode-row {
  border-top: 1px solid rgba(35, 48, 31, 0.6);
}

.dash-mode-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.dash-mode-name {
  width: 80px;
  font-size: 14.5px;
  font-weight: 600;
}

.dash-mode-bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.dash-mode-fill {
  height: 100%;
  background: var(--green);
  border-radius: 4px;
}

.dash-mode-pct {
  width: 44px;
  text-align: right;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.dash-mode-games {
  width: 80px;
  text-align: right;
  font-size: 13px;
  color: var(--muted);
}

/* --- Empty state --- */

.dash-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 30px 20px;
  text-align: center;
}

.dash-empty-text {
  font-size: 14.5px;
  color: var(--muted);
}

.dash-empty-btn {
  padding: 10px 24px;
}

/* --- Settings --- */

.dash-setting {
  padding: 16px 0;
}

.dash-setting + .dash-setting {
  border-top: 1px solid rgba(35, 48, 31, 0.6);
}

.dash-setting-row {
  display: flex;
  gap: 10px;
}

.dash-setting-row .submit-input {
  flex: 1;
}

.dash-save {
  cursor: pointer;
  padding: 0 22px;
}

.dash-setting .btn {
  cursor: pointer;
}

.dash-setting-error {
  margin-top: 8px;
  font-size: 13px;
  color: #F08070;
}

.dash-danger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dash-signout {
  color: #E5644E;
  border-color: rgba(229, 100, 78, 0.4);
}

.dash-signout:hover {
  color: #F08070;
  border-color: #E5644E;
}

.dash-delete {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.15s ease;
}

.dash-delete:hover {
  color: #E5644E;
}

@media (max-width: 760px) {
  .dash-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-mode-games {
    display: none;
  }
}

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

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 3% 40px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-tag {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.footer-cols {
  display: flex;
  gap: 70px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-head {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 15px;
  color: var(--muted);
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 3%;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-cols {
    gap: 40px;
  }
}


/* ============================================
   Motion & polish system
   ============================================ */

:root {
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --t-fast: 180ms;   /* hovers, small UI */
  --t-med: 260ms;    /* menus, popups */
  --t-slow: 320ms;   /* large transitions */
}

/* Smooth cross-fade between page navigations; the navbar and footer
   keep their own stable snapshots so they never appear to re-render */
@view-transition {
  navigation: auto;
}

.navbar {
  view-transition-name: gtt-nav;
}

.footer {
  view-transition-name: gtt-footer;
}

/* --- Buttons: consistent lift + press feel --- */

.btn {
  transition:
    transform var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    filter var(--t-fast) var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 90ms;
}

.auth-oauth,
.lb-tab,
.auth-tab,
.style-opt,
.lobby-round-opt,
.review-reason,
.mode-action {
  transition-timing-function: var(--ease);
}

.auth-oauth:active,
.lb-tab:active,
.auth-tab:active,
.style-opt:active,
.lobby-round-opt:active,
.review-reason:active,
.mode-action:active {
  transform: scale(0.97);
}

/* --- Navbar user dropdown: animated open/close --- */

.nav-user-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    visibility 0s linear var(--t-fast);
}

.nav-user.open .nav-user-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}

/* --- Popups: fade + rise instead of popping in --- */

@keyframes gtt-fade {
  from { opacity: 0; }
}

@keyframes gtt-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}

@keyframes gtt-rise {
  from { transform: scaleY(0); }
}

@keyframes gtt-slide-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.reveal-overlay:not([hidden]) {
  animation: gtt-fade var(--t-med) var(--ease);
}

.reveal-overlay:not([hidden]) .reveal-card {
  animation: gtt-pop var(--t-med) var(--ease);
}

/* Vote chart bars grow up from the baseline */
.vote-col-fill {
  transform-origin: bottom;
  animation: gtt-rise var(--t-slow) var(--ease);
}

/* Form errors slide in instead of snapping */
.auth-error:not([hidden]),
.dash-setting-error {
  animation: gtt-slide-in var(--t-fast) var(--ease);
}

/* --- No image pop-in: avatars get a placeholder tone --- */

.nav-user-avatar,
.lb-avatar,
.podium-avatar,
.dash-avatar,
.staff-avatar,
.party-row-avatar,
.lobby-avatar {
  background: #1E2A20;
}

/* --- Reduced motion: no page transitions either --- */

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}


/* --- Auth loading skeleton + state-change fade --- */

.nav-user-loading .nav-user-name {
  display: inline-block;
  width: 64px;
  height: 12px;
  border-radius: 4px;
  background: #1E2A20;
}

.nav-user-loading .nav-user-caret {
  opacity: 0.4;
}

.gtt-fade-in {
  animation: gtt-fade var(--t-fast) var(--ease);
}


/* --- Real review media + submit upload progress --- */

.review-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
  background: #080B09;
}

.tier-chip.tier-unverified {
  color: var(--muted);
  border-color: var(--border);
  background: rgba(151, 160, 168, 0.06);
}

.submit-error {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(229, 100, 78, 0.08);
  border: 1px solid rgba(229, 100, 78, 0.4);
  border-radius: 8px;
  color: #F08070;
  font-size: 14px;
}

.submit-progress {
  margin-top: 14px;
}

.submit-progress-label {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.submit-progress-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.submit-progress-fill {
  height: 100%;
  width: 100%;
  border-radius: 4px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast) var(--ease);
}


/* --- MCTiers verification retry --- */

.review-tier-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.review-retry {
  background: none;
  border: none;
  padding: 0;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 12.5px;
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}

.review-retry:hover {
  color: #FFFFFF;
}


/* --- Dashboard history rows --- */

.dash-history-mid {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

.dash-history-mid .tier-chip {
  font-size: 10px;
  padding: 3px 8px;
}

.dash-history-pts {
  width: auto;
}

.dash-guess-player {
  width: 110px;
}


/* --- Coming-soon tags + disabled price buttons --- */

.soon-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  vertical-align: 2px;
}

.price-btn:disabled {
  cursor: default;
  opacity: 0.6;
  transform: none !important;
}


/* --- Destructive confirm button --- */

.dash-delete-confirm {
  color: #E5644E;
  border: 1px solid rgba(229, 100, 78, 0.45);
  background: transparent;
}

.dash-delete-confirm:hover {
  color: #F08070;
  border-color: #E5644E;
  background: rgba(229, 100, 78, 0.08);
}


/* --- Approved-clip takedown button --- */

.review-row-remove {
  padding: 5px 14px;
  border-radius: 8px;
  background: transparent;
  color: #E5644E;
  border: 1px solid rgba(229, 100, 78, 0.45);
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.review-row-remove:hover {
  color: #F08070;
  border-color: #E5644E;
}
