/* ════════════════════════════════════════
   CARVALHO TRICOLOR · Design System CSS
   ════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --c-grenade:    #6E182C;
  --c-grenade-dk: #4D0A21;
  --c-green:      #33603B;
  --c-link:       #01633D;
  --c-bg:         #FFFFFF;
  --c-text:       #727175;
  --c-input-text: #4D6B8A;
  --c-border:     #C2CAD8;
  --c-surface:    #F7F8FA;
  --c-surface2:   #EEF0F4;
  --radius-btn:   10px;
  --radius-card:  14px;
  --font:         'Open Sans', sans-serif;
  --h1:           40px;
  --h2:           20px;
  --body:         12px;
  --nav-h:        64px;
  --header-h:     56px;
  --safe-b:       env(safe-area-inset-bottom, 0px);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #1a1a1a;
  font-family: var(--font);
  font-size: var(--body);
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
}

/* ── PHONE SHELL (desktop view) ── */
body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  padding: 30px 0;
  background: linear-gradient(135deg, #1a0a10 0%, #0d1f11 50%, #0a0a14 100%);
}

/* ── APP CONTAINER ── */
#app-shell {
  position: relative;
  width: 390px;
  height: 844px;
  background: var(--c-bg);
  overflow: hidden;
  border-radius: 40px;
  box-shadow:
    0 0 0 10px #111,
    0 0 0 12px #2a2a2a,
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(110,24,44,0.15);
}

/* ── SCREENS ── */
.screen {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--c-bg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.screen.active {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}
.screen.slide-out {
  opacity: 0;
  transform: translateX(-20px);
}

/* ── SCROLL CONTENT ── */
.screen-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.screen-content::-webkit-scrollbar { display: none; }
.screen-content.has-header    { padding-top: var(--header-h); }
.screen-content.has-bottom-nav { padding-bottom: var(--nav-h); }

/* ════════════════════════════════════════
   SHARED COMPONENTS
   ════════════════════════════════════════ */

/* ── HEADER ── */
.app-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--c-grenade);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(110,24,44,0.35);
}
/* Scoped to each screen so fixed positioning works correctly */
.screen { position: absolute; inset: 0; }
.screen .app-header {
  position: absolute;
  top: 0; left: 0; right: 0;
}

.header-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.header-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}
.header-back {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 4px;
  font-family: var(--font);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.notif-badge {
  position: relative;
  cursor: pointer;
}
.badge-dot {
  position: absolute;
  top: -2px; right: -2px;
  width: 8px; height: 8px;
  background: #F7C01B;
  border-radius: 50%;
  border: 1.5px solid var(--c-grenade);
}

/* ── BOTTOM NAV ── */
.bottom-nav {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: #fff;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--c-surface2);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  z-index: 100;
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-border);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s;
}
.nav-item.active {
  color: var(--c-grenade);
}
.nav-item span { font-size: 10px; font-weight: 600; }

/* ── BUTTONS ── */
.btn-primary, .btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  letter-spacing: 0.3px;
}
.btn-primary  { background: var(--c-green);      color: #fff; }
.btn-secondary{ background: var(--c-grenade-dk); color: #fff; }
.btn-primary:active, .btn-secondary:active { opacity: 0.88; transform: scale(0.98); }
.btn-block { width: 100%; }

/* ── INPUTS ── */
.input-wrapper {
  position: relative;
}
.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}
.form-input {
  width: 100%;
  height: 50px;
  padding: 0 14px 0 40px;
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: 0;
  font-family: var(--font);
  font-size: 13px;
  color: var(--c-input-text);
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.06);
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--c-grenade); }
.form-input::placeholder { color: #b0bcc8; }

/* ── TOGGLE SWITCH ── */
.toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--c-border);
  border-radius: 26px;
  transition: background 0.25s;
}
.slider::before {
  content: '';
  position: absolute;
  height: 20px; width: 20px;
  left: 3px; bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.toggle input:checked + .slider { background: var(--c-green); }
.toggle input:checked + .slider::before { transform: translateX(22px); }

/* ════════════════════════════════════════
   SCREEN 1 · LOGIN
   ════════════════════════════════════════ */
#screen-login {
  background: #fff;
  overflow-y: auto;
}
.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 30px 30px;
  min-height: 100%;
}
.login-logo-wrap {
  width: 110px;
  height: 110px;
  background: var(--c-grenade);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 30px rgba(110,24,44,0.3);
}
.login-logo { width: 70px; object-fit: contain; }
.login-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFF0F3;
  border: 1px solid #f0c0c8;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-grenade);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.login-title {
  font-size: var(--h2);
  font-weight: 800;
  color: var(--c-grenade);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}
.login-form { width: 100%; }
.input-group { margin-bottom: 16px; }
.input-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-input-text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.login-form .btn-primary { margin-top: 10px; }
.login-link {
  display: block;
  margin-top: 20px;
  font-size: 12px;
  color: var(--c-link);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}
.login-footer {
  margin-top: auto;
  padding-top: 30px;
  text-align: center;
}
.tricolor-stripe {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 10px;
}
.tricolor-stripe span {
  width: 28px; height: 4px;
  border-radius: 2px;
}
.stripe-grenade { background: var(--c-grenade); }
.stripe-white   { background: #fff; border: 1px solid #eee; }
.stripe-green   { background: var(--c-green); }
.login-footer p { font-size: 10px; color: #b0b0b0; }

/* ════════════════════════════════════════
   SCREEN 2 · HOME
   ════════════════════════════════════════ */
.welcome-section {
  padding: 20px 20px 10px;
}
.welcome-title {
  font-size: var(--h2);
  font-weight: 800;
  color: var(--c-grenade);
  line-height: 1.3;
  margin-bottom: 4px;
}
.welcome-sub { font-size: 11px; color: #b0b0b8; font-weight: 500; }

/* ── FEATURED MATCH CARD ── */
.match-card-featured {
  margin: 10px 20px 20px;
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--c-surface2);
  padding: 18px;
  box-shadow: 0 4px 24px rgba(110,24,44,0.08), 0 1px 4px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}
.match-card-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-grenade), var(--c-green));
}
.match-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--c-grenade);
  background: #FFF0F3;
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.live-dot {
  width: 6px; height: 6px;
  background: var(--c-grenade);
  border-radius: 50%;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
.match-competition {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--c-text);
  margin-bottom: 16px;
  font-weight: 600;
}
.competition-logo { width: 16px; height: 16px; object-fit: contain; }
.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}
.team-col { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.team-crest {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-surface);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--c-surface2);
  overflow: hidden;
}
.team-crest img { width: 44px; height: 44px; object-fit: contain; }
.flu-crest { background: #fff3f5; border-color: #f0c0c8; }
.flu-crest img { filter: none; }
.team-name { font-size: 11px; font-weight: 700; color: var(--c-text); text-align: center; }
.vs-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.vs-label {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-surface2);
}
.match-info-center { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.match-date { font-size: 10px; font-weight: 700; color: var(--c-text); }
.match-time { font-size: 16px; font-weight: 800; color: var(--c-grenade); }
.match-venue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 10px;
  color: var(--c-text);
  margin-bottom: 14px;
  font-weight: 500;
}

/* ── NEWS SECTION ── */
.section { padding: 0 20px; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-title { font-size: var(--h2); font-weight: 800; color: #1a1a2e; }
.section-link { font-size: 11px; font-weight: 700; color: var(--c-link); text-decoration: none; }

.news-card {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-surface);
  cursor: pointer;
}
.news-card:last-child { border-bottom: none; }
.news-img-wrap { flex-shrink: 0; }
.news-img {
  width: 72px; height: 72px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-content { flex: 1; min-width: 0; }
.news-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #FFF0F3;
  color: var(--c-grenade);
  border-radius: 4px;
  padding: 2px 7px;
  margin-bottom: 5px;
}
.news-title-card {
  font-size: 12px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-desc {
  font-size: 11px;
  color: var(--c-text);
  line-height: 1.5;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}
.news-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-link);
  text-decoration: none;
  cursor: pointer;
}

/* ════════════════════════════════════════
   SCREEN 3 · CALENDAR
   ════════════════════════════════════════ */
.calendar-month-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 20px 10px;
}
.month-stripe {
  width: 4px; height: 22px;
  background: var(--c-grenade);
  border-radius: 2px;
}
.month-label {
  font-size: 16px;
  font-weight: 800;
  color: #1a1a2e;
}

.match-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-surface);
  background: #fff;
  position: relative;
  transition: background 0.15s;
}
.match-list-item:active { background: var(--c-surface); }
.next-match-item { background: linear-gradient(90deg, #fff5f7 0%, #fff 100%); }

.match-item-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 34px;
}
.day-num { font-size: 22px; font-weight: 800; color: var(--c-grenade); line-height: 1; }
.day-name { font-size: 9px; font-weight: 700; color: var(--c-text); text-transform: uppercase; letter-spacing: 0.5px; }

.match-item-divider {
  width: 1px; height: 40px;
  background: var(--c-surface2);
  flex-shrink: 0;
}
.match-item-info { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.match-item-teams { display: flex; align-items: center; gap: 6px; }

.mini-crest {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 800; color: #fff;
  overflow: hidden;
  border: 1.5px solid var(--c-surface2);
}
.mini-crest img { width: 22px; height: 22px; object-fit: contain; }
.flu-mini { background: #fff; border-color: #f0c0c8; }

.vs-mini { font-size: 12px; font-weight: 800; color: var(--c-surface2); }
.match-item-meta { display: flex; flex-direction: column; gap: 1px; }
.match-item-comp { font-size: 10px; font-weight: 700; color: #1a1a2e; }
.match-item-time { font-size: 10px; color: var(--c-text); }

.match-item-channel { flex-shrink: 0; }
.channel-badge {
  font-size: 9px;
  font-weight: 800;
  border-radius: 5px;
  padding: 3px 7px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.channel-badge.globo    { background: #0071bc; color: #fff; }
.channel-badge.band     { background: #e6ac00; color: #fff; }
.channel-badge.sportv   { background: #005a9e; color: #fff; }
.channel-badge.premiere { background: #1a1a2e; color: #fff; }
.channel-badge.espn     { background: #d00000; color: #fff; }

.next-tag {
  position: absolute;
  top: 10px; right: 16px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--c-grenade);
  background: #FFF0F3;
  border-radius: 4px;
  padding: 2px 6px;
}

/* ════════════════════════════════════════
   SCREEN 4 · REAL TIME
   ════════════════════════════════════════ */
.realtime-header { background: #1a0a10; }
.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
}
.live-pulse {
  width: 8px; height: 8px;
  background: #ff4444;
  border-radius: 50%;
  animation: livepulse 1s infinite;
}
@keyframes livepulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,68,68,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(255,68,68,0); }
}

.realtime-content { background: var(--c-surface); }

/* ── GOAL OVERLAY ── */
.goal-overlay {
  position: absolute;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}
.goal-overlay.hidden { display: none; }
.goal-overlay-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(51,96,59,0.9) 0%, rgba(110,24,44,0.95) 100%);
  animation: flashBg 0.4s ease-out;
}
.goal-overlay-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.goal-overlay-text {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  margin: 0 0 10px;
}
.goal-overlay-scorer {
  font-size: 18px;
  font-weight: 700;
  color: #F7C01B;
  text-transform: uppercase;
  letter-spacing: 1px;
}
@keyframes flashBg {
  0% { opacity: 0; }
  20% { opacity: 1; background: #fff; }
  100% { opacity: 1; background: radial-gradient(circle, rgba(51,96,59,0.9) 0%, rgba(110,24,44,0.95) 100%); }
}
@keyframes popIn {
  0% { transform: scale(0.5); opacity: 0; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* ── SCOREBOARD ── */
.scoreboard {
  background: linear-gradient(160deg, #1a0a10 0%, #2d1020 50%, #0d1f11 100%);
  padding: 20px 20px 24px;
  text-align: center;
}
.scoreboard-competition {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}
.scoreboard-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.scoreboard-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.scoreboard-crest {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.flu-scoreboard { background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2); }
.flu-scoreboard img { width: 42px; height: 42px; object-fit: contain; }
.opp-scoreboard { background: rgba(204,0,0,0.25); border: 2px solid rgba(204,0,0,0.4); }
.fallback-crest { font-size: 11px; font-weight: 900; color: #fff; letter-spacing: 0.5px; }
.fla-icon { color: #FF4444; }
.scoreboard-name { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.85); }

.scoreboard-score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 0 10px;
}
.scoreboard-score {
  display: flex;
  align-items: center;
  gap: 4px;
}
.score-num {
  font-size: var(--h1);
  font-weight: 900;
  line-height: 1;
  min-width: 38px;
  text-align: center;
}
.flu-score  { color: #5DC76D; }
.opp-score  { color: rgba(255,255,255,0.5); }
.score-sep  { font-size: 32px; font-weight: 300; color: rgba(255,255,255,0.3); line-height: 1; }
.match-clock {
  font-size: 12px;
  font-weight: 800;
  color: #F7C01B;
  background: rgba(247,192,27,0.15);
  border-radius: 6px;
  padding: 3px 10px;
  letter-spacing: 0.5px;
}
.scoreboard-period {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 12px;
}

/* ── QUICK STATS ── */
.quick-stats {
  display: flex;
  align-items: center;
  background: #fff;
  margin: 0;
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-surface2);
}
.stat-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-val  { font-size: 16px; font-weight: 800; color: var(--c-grenade); }
.stat-label{ font-size: 9px; color: var(--c-text); font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; }
.stat-divider { width: 1px; height: 30px; background: var(--c-surface2); }

/* ── TIMELINE ── */
.timeline-section { padding: 20px 0 0; }
.timeline-title {
  font-size: 15px;
  font-weight: 800;
  color: #1a1a2e;
  padding: 0 20px;
  margin-bottom: 14px;
}
.timeline { padding: 0 20px; }

.timeline-item {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}
.timeline-time {
  font-size: 11px;
  font-weight: 800;
  color: var(--c-text);
  min-width: 28px;
  padding-top: 12px;
  text-align: right;
}
.timeline-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.timeline-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid transparent;
}
.timeline-dot svg {
  display: block;
}
.timeline-line { width: 2px; flex: 1; background: var(--c-surface2); min-height: 16px; margin: 3px 0; }
.goal-dot    { background: var(--c-green); border-color: var(--c-green); box-shadow: 0 0 12px rgba(51,96,59,0.4); }
.yellow-dot  { background: #ffffff; border-color: #e5e5e5; }
.red-dot     { background: #ffffff; border-color: #e5e5e5; }
.sub-dot     { background: #4D6B8A; border-color: #4D6B8A; }
.opp-goal-dot{ background: #999; border-color: #999; }
.kickoff-dot { background: var(--c-surface2); border-color: var(--c-surface2); }

.timeline-card {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  border: 1px solid var(--c-surface2);
}
.goal-card {
  background: linear-gradient(135deg, #EAF3EB 0%, #F3FAF4 100%);
  border-color: rgba(51,96,59,0.2);
}
.opp-goal-card {
  background: var(--c-surface);
  border-color: var(--c-surface2);
}
.kickoff-card {
  background: linear-gradient(135deg, #fff5f7 0%, #fff 100%);
  border-color: rgba(110,24,44,0.1);
}
.event-type-row { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; flex-wrap: wrap; }
.event-icon-label { font-size: 14px; }
.event-type {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.goal-type      { color: var(--c-green); }
.yellow-type    { color: #B8860B; }
.red-type       { color: #CC0000; }
.sub-type       { color: var(--c-input-text); }
.opp-goal-type  { color: #666; }
.kickoff-type   { color: var(--c-grenade); }
.event-scorer   { font-size: 11px; font-weight: 700; color: var(--c-grenade); margin-left: auto; }
.opp-player     { color: #666; }
.event-desc { font-size: 11px; color: var(--c-text); line-height: 1.5; }
.event-assist { font-size: 10px; color: var(--c-input-text); font-weight: 600; margin-top: 5px; }
.sub-in  { color: var(--c-green); }
.sub-out { color: var(--c-text); }

.fade-in {
  animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════
   SCREEN 5 · ARTICLE
   ════════════════════════════════════════ */
.article-actions { gap: 16px; }
.article-main { padding-top: var(--header-h); }

.article-hero-img {
  width: 100%;
  height: 220px;
  background: linear-gradient(145deg, #6E182C 0%, #9b2335 40%, #33603B 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.5));
}
.article-hero-badge {
  position: relative;
  z-index: 1;
  margin: 16px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(255,255,255,0.95);
  color: var(--c-grenade);
  border-radius: 5px;
  padding: 4px 10px;
}

.article-body { padding: 20px 20px 10px; }
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.article-date, .article-author {
  font-size: 10px;
  color: var(--c-text);
  font-weight: 600;
}
.article-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--c-grenade);
  line-height: 1.3;
  margin-bottom: 14px;
}
.article-share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-surface2);
}
.share-label { font-size: 10px; font-weight: 700; color: var(--c-text); }
.share-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--c-surface2);
  background: var(--c-surface);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 14px;
}
.article-text {
  font-size: 13px;
  color: var(--c-text);
  line-height: 1.7;
  margin-bottom: 14px;
}
.article-text strong { color: #1a1a2e; font-weight: 700; }
.article-text em { font-style: italic; color: var(--c-grenade); }

.article-quote {
  border-left: 4px solid var(--c-grenade);
  background: #fff5f7;
  border-radius: 0 10px 10px 0;
  padding: 16px;
  margin: 16px 0;
  font-size: 13px;
  color: #1a1a2e;
  font-style: italic;
  line-height: 1.6;
}
.article-quote footer {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-grenade);
  font-style: normal;
  margin-top: 8px;
}
.article-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.tag-chip {
  font-size: 10px;
  font-weight: 700;
  border-radius: 20px;
  padding: 4px 12px;
  background: var(--c-surface);
  color: var(--c-input-text);
  border: 1px solid var(--c-surface2);
}

.related-section { padding: 10px 0 0; }
.related-card {
  display: flex;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--c-surface);
  cursor: pointer;
}
.related-img {
  width: 60px; height: 60px;
  border-radius: 8px;
  flex-shrink: 0;
}
.related-info { flex: 1; display: flex; flex-direction: column; gap: 5px; justify-content: center; }
.related-title { font-size: 12px; font-weight: 700; color: #1a1a2e; line-height: 1.4; }

/* ════════════════════════════════════════
   SCREEN 6 · PROFILE
   ════════════════════════════════════════ */
.profile-hero {
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #fff5f7 0%, #fff 100%);
  border-bottom: 1px solid var(--c-surface2);
}
.profile-avatar-wrap {
  position: relative;
  margin-bottom: 12px;
}
.profile-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: #f0e0e5;
  border: 3px solid #fff;
  box-shadow: 0 4px 20px rgba(110,24,44,0.15);
  display: flex; align-items: center; justify-content: center;
}
.avatar-badge-edit {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--c-green);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  cursor: pointer;
}
.profile-name {
  font-size: var(--h2);
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 4px;
}
.profile-since { font-size: 11px; color: var(--c-text); margin-bottom: 16px; }
.profile-stats {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--c-surface2);
  overflow: hidden;
}
.pstat {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 8px;
  gap: 2px;
}
.pstat-num  { font-size: 20px; font-weight: 900; color: var(--c-grenade); }
.pstat-label{ font-size: 9px; color: var(--c-text); font-weight: 600; text-align: center; line-height: 1.3; }
.pstat-div  { width: 1px; height: 40px; background: var(--c-surface2); }

.pref-section { padding: 20px 20px 0; }
.pref-section-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--c-text);
  margin-bottom: 10px;
}
.pref-card {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--c-surface2);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.pref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}
.settings-row { cursor: pointer; }
.settings-row:active { background: var(--c-surface); }
.pref-info { display: flex; align-items: center; gap: 12px; flex: 1; }
.pref-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pref-text { display: flex; flex-direction: column; gap: 2px; }
.pref-label { font-size: 13px; font-weight: 700; color: #1a1a2e; }
.pref-desc  { font-size: 10px; color: var(--c-text); }
.pref-divider { height: 1px; background: var(--c-surface); margin: 0 16px; }

.app-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 2px;
}
.app-footer p { font-size: 10px; color: #c0c0c8; }

/* ════════════════════════════════════════
   API STATES & DYNAMIC ELEMENTS
   ════════════════════════════════════════ */

.hidden { display: none !important; }

/* Loading state */
.api-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px 16px;
  color: var(--c-text);
  font-size: 12px;
}
.loading-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--c-surface2);
  border-top-color: var(--c-grenade);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Last results list */
#last-results-section {
  padding: 0 16px 8px;
}
#last-results-section h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-grenade);
  margin-bottom: 8px;
}
.result-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--c-surface);
  border-radius: var(--radius-card);
  margin-bottom: 6px;
}
.result-badge img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.result-info { flex: 1; }
.result-info .result-opp {
  font-size: 11px;
  font-weight: 600;
  color: #2a2a2e;
  display: block;
}
.result-info .result-score {
  font-size: 10px;
  color: var(--c-text);
}
.result-badge {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.result-info { flex: 1; }
.result-teams {
  font-size: 11px;
  font-weight: 600;
  color: #2a2a2e;
  display: block;
}
.result-meta {
  font-size: 10px;
  color: var(--c-text);
  display: block;
}
.result-win  { background: #d4edda; color: #155724; }
.result-draw { background: #fff3cd; color: #856404; }
.result-loss { background: #f8d7da; color: #721c24; }

/* Calendar dynamic items */
.cal-month-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--c-grenade);
  padding: 12px 0 4px;
}
.cal-item-api {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--c-surface);
  border-radius: var(--radius-card);
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.15s;
}
.cal-item-api:hover { background: var(--c-surface2); }
.cal-item-api .cal-date-col {
  min-width: 36px;
  text-align: center;
}
.cal-item-api .cal-day {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-grenade);
  line-height: 1;
}
.cal-item-api .cal-month-sm {
  font-size: 9px;
  text-transform: uppercase;
  color: var(--c-text);
}
.cal-item-api .cal-crest img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.cal-item-api .cal-details { flex: 1; }
.cal-item-api .cal-opp {
  font-size: 12px;
  font-weight: 600;
  color: #2a2a2e;
}
.cal-item-api .cal-meta {
  font-size: 10px;
  color: var(--c-text);
  margin-top: 1px;
}
.cal-item-api .cal-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-grenade);
  white-space: nowrap;
}
.cal-tv {
  font-size: 9px;
  color: var(--c-text);
  text-align: right;
  margin-top: 1px;
}

/* Live timeline */
.timeline-event {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-surface2);
}
.tl-minute {
  min-width: 32px;
  font-size: 10px;
  font-weight: 700;
  color: var(--c-grenade);
  text-align: right;
  padding-top: 2px;
}
.tl-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.tl-text { flex: 1; }
.tl-text strong {
  font-size: 12px;
  font-weight: 700;
  color: #2a2a2e;
  display: block;
}
.tl-text span {
  font-size: 10px;
  color: var(--c-text);
}

/* Empty state */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  gap: 8px;
  color: var(--c-text);
  font-size: 12px;
  text-align: center;
}
.empty-state .empty-icon { font-size: 32px; }

/* ════════════════════════════════════════
   TABELA SHORTCUT (Calendar)
   ════════════════════════════════════════ */
.table-shortcut-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - 32px);
  margin: 12px 16px 8px;
  padding: 11px 14px;
  background: linear-gradient(90deg, #f7f1f3 0%, #fff 100%);
  border: 1.5px solid #e4d0d6;
  border-radius: var(--radius-btn);
  color: var(--c-grenade);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.table-shortcut-btn:active { background: #f0e8eb; }

/* ════════════════════════════════════════
   TABELA DO BRASILEIRÃO (Screen 7)
   ════════════════════════════════════════ */
.table-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 10px;
  color: var(--c-text);
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-left: 6px;
}
.legend-dot:first-child { margin-left: 0; }

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.standings-table thead tr {
  background: var(--c-grenade);
  color: #fff;
}
.standings-table thead th {
  padding: 7px 4px;
  font-weight: 700;
  font-size: 10px;
  text-align: center;
}
.standings-table thead th:nth-child(3) { text-align: left; padding-left: 6px; }
.standings-table tbody tr { border-bottom: 1px solid var(--c-surface2); }
.standings-table tbody tr:hover { background: var(--c-surface); }
.standings-table tbody td {
  padding: 8px 4px;
  text-align: center;
  color: #2a2a2e;
}
.standings-table .badge-col img { vertical-align: middle; }
.standings-table .team-col-name {
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  padding-left: 4px;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.standings-table .pts-col strong {
  font-size: 12px;
  font-weight: 800;
  color: var(--c-grenade);
}
.standings-table .flu-row { background: #fff5f7; }
.standings-table .flu-row td { font-weight: 700; }
.standings-table .sg-pos { color: #155724; font-weight: 700; }
.standings-table .sg-neg { color: #721c24; }

/* ════════════════════════════════════════
   STATISTICS DASHBOARD (Screen 7)
   ════════════════════════════════════════ */
.stats-dashboard {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stats-brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--c-surface);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--c-surface2);
}

.brand-crest {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.brand-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--c-grenade);
  margin: 0;
}

.brand-sub {
  font-size: 11px;
  color: var(--c-text);
  margin: 2px 0 0;
  font-weight: 600;
}

.stats-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stats-summary-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid var(--c-surface2);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.stats-summary-card .label {
  font-size: 10px;
  font-weight: 700;
  color: var(--c-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stats-summary-card .value {
  font-size: 20px;
  font-weight: 900;
  color: var(--c-grenade);
}

.stats-section-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--c-grenade);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.stats-results-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--c-surface2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.stats-results-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stats-result-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--c-surface2);
}

.stats-result-row:last-child { border-bottom: none; }

.result-status-sm {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.result-status-sm.v { background: #33603B; }
.result-status-sm.e { background: #E67E22; }
.result-status-sm.d { background: #6E182C; }

.result-teams-sm {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
}

.score-line {
  background: var(--c-surface);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 800;
  color: var(--c-grenade);
  font-family: monospace;
}

.opp-name {
  color: var(--c-text);
  font-weight: 500;
  font-size: 11px;
  max-width: 80px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.stats-leaders-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--c-surface2);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.stats-leader-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-surface2);
}

.stats-leader-item:last-child { border-bottom: none; }

.leader-rank {
  font-size: 14px;
  font-weight: 900;
  color: #e4d0d6;
  width: 14px;
}

.leader-info { flex: 1; }

.leader-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.leader-name { font-size: 12px; font-weight: 700; color: #1a1a2e; }
.leader-val { font-size: 12px; font-weight: 800; color: var(--c-grenade); }

.leader-bar-bg {
  height: 6px;
  background: var(--c-surface);
  border-radius: 3px;
  overflow: hidden;
}

.leader-bar-fill {
  height: 100%;
  background: var(--c-grenade);
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stats-team-moment {
  background: linear-gradient(135deg, #fff5f7 0%, #fff 100%);
  border-radius: 16px;
  padding: 16px;
  border: 1.5px solid #e4d0d6;
}

.form-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.form-dot {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

.form-dot.v { background: #33603B; }
.form-dot.e { background: #E67E22; }
.form-dot.d { background: #6E182C; }

.stats-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}

.stats-detail-mini {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stats-detail-mini .label { font-size: 9px; color: var(--c-text); font-weight: 600; text-transform: uppercase; }
.stats-detail-mini .val { font-size: 14px; font-weight: 800; color: #1a1a2e; }

.hidden { display: none !important; }

.pos-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  background: transparent;
  color: #2a2a2e;
}
.pos-marker.zone-lib { background: #33603B; color: #fff; }
.pos-marker.zone-sul { background: #4D6B8A; color: #fff; }
.pos-marker.zone-rel { background: #CC0000; color: #fff; }

.squad-promo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 16px 4px;
  padding: 14px;
  background: linear-gradient(90deg, #fff5f7 0%, #fff 100%);
  border: 1.5px solid #e4d0d6;
  border-radius: var(--radius-card);
  cursor: pointer;
}
.squad-promo:active { background: #f0e8eb; }
.squad-promo-badge img { width: 36px; height: 36px; object-fit: contain; }
.squad-promo-text { flex: 1; }
.squad-promo-text span {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-grenade);
  display: block;
}
.squad-promo-text p { font-size: 11px; color: var(--c-text); margin-top: 2px; }

.squad-header-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(90deg, #6E182C 0%, #4D0A21 100%);
  margin-bottom: 8px;
}
.squad-banner-badge { width: 48px; height: 48px; object-fit: contain; }
.squad-banner-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.squad-banner-sub { font-size: 11px; color: rgba(255,255,255,0.7); }

.squad-position-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 6px;
  background: var(--c-surface);
  border-bottom: 2px solid var(--c-grenade);
}
.squad-pos-icon { font-size: 16px; }
.squad-pos-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--c-grenade);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex: 1;
}
.squad-count {
  font-size: 10px;
  font-weight: 700;
  background: var(--c-grenade);
  color: #fff;
  padding: 2px 7px;
  border-radius: 10px;
}

.player-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--c-surface2);
}
.player-card:active { background: var(--c-surface); }
.player-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--c-surface2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.player-photo img { width: 100%; height: 100%; object-fit: cover; }
.player-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--c-grenade);
  background: #f7e8eb;
}
.player-info { flex: 1; }
.player-name {
  font-size: 12px;
  font-weight: 700;
  color: #2a2a2e;
  display: block;
}
.player-meta { font-size: 10px; color: var(--c-text); }
.player-age {
  font-size: 10px;
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
}
.squad-source-note {
  text-align: center;
  font-size: 10px;
  color: var(--c-border);
  padding: 14px 16px 4px;
}

.highlights-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.highlights-scroll::-webkit-scrollbar { display: none; }

.highlight-card {
  flex-shrink: 0;
  width: 140px;
  text-decoration: none;
  color: inherit;
}
.highlight-thumb {
  position: relative;
  width: 140px;
  height: 79px;
  border-radius: 8px;
  overflow: hidden;
  background: #1a0a10;
}
.highlight-thumb img { width: 100%; height: 100%; object-fit: cover; }
.highlight-no-thumb { width: 100%; height: 100%; background: #2a1a22; }
.highlight-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-size: 22px;
}
.highlight-title {
  font-size: 10px;
  color: var(--c-text);
  margin-top: 5px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* ════════════════════════════════════════
   RESPONSIVE — full screen on mobile
   ════════════════════════════════════════ */
@media (max-width: 420px) {
  body {
    background: #fff;
    align-items: flex-start;
  }
  #app-shell {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }
}
