/* =========================================================
   LAST WAR ALLIANCE HUB — VS DUEL GUIDE STYLESHEET
   Tactical HUD Design System & Responsive Layout
   ========================================================= */

:root, [data-theme="dark"], [data-theme="oled"] {
  --vs-bg-dark: #080d1e;
  --vs-bg-card: #0e172e;
  --vs-bg-elevated: #162244;
  --vs-border-subtle: #1c2e56;
  --vs-border-glow: #00e5ff;
  --vs-accent-cyan: #00e5ff;
  --vs-accent-gold: #ffb703;
  --vs-accent-crimson: #ff2a5f;
  --vs-accent-emerald: #00ff88;
  --vs-accent-purple: #b835cf;
  --vs-text-bright: #ffffff;
  --vs-text-secondary: #94a3b8;
  --vs-text-muted: #64748b;
  --vs-font-display: 'Chakra Petch', sans-serif;
  --vs-font-mono: 'JetBrains Mono', monospace;
  --vs-font-sans: 'Inter', sans-serif;
}

[data-theme="light"] {
  --vs-bg-dark: #f8fafc;
  --vs-bg-card: #ffffff;
  --vs-bg-elevated: #f1f5f9;
  --vs-border-subtle: #cbd5e1;
  --vs-border-glow: #0284c7;
  --vs-accent-cyan: #0284c7;
  --vs-accent-gold: #d97706;
  --vs-accent-crimson: #dc2626;
  --vs-accent-emerald: #059669;
  --vs-accent-purple: #7c3aed;
  --vs-text-bright: #0f172a;
  --vs-text-secondary: #334155;
  --vs-text-muted: #64748b;
}

/* Container */
.vs-guide-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  animation: fadeInVs 0.3s ease-in-out;
}

@keyframes fadeInVs {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= 1. IN-GAME MATCH SCOREBOARD HUD ================= */
.vs-match-hud {
  background: linear-gradient(180deg, #101935 0%, #0a1024 100%);
  border: 1px solid var(--vs-border-subtle);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.vs-match-hud::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00e5ff 0%, #ffb703 50%, #ff2a5f 100%);
}

.match-hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.match-hud-top-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.vs-match-quick-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.4);
  color: var(--vs-accent-gold);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-family: var(--vs-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.vs-match-quick-edit-btn:hover {
  background: rgba(255, 183, 3, 0.25);
  border-color: var(--vs-accent-gold);
  transform: translateY(-1px);
}

.hud-status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--vs-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #38bdf8;
}

.hud-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00e5ff;
  box-shadow: 0 0 10px #00e5ff;
  animation: pulseCyan 2s infinite;
}

@keyframes pulseCyan {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 229, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

.match-timer-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--vs-font-mono);
  font-size: 0.78rem;
  color: var(--vs-accent-gold);
  background: rgba(255, 183, 3, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 183, 3, 0.3);
  white-space: nowrap;
}

.timer-countdown {
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Symmetrical 3-Column Confrontation Arena */
.match-alliances-arena {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.3rem 0;
}

.arena-team-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  position: relative;
  transition: all 0.2s ease;
}

.arena-team-card.team-home {
  align-items: flex-start;
  text-align: left;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, rgba(0, 229, 255, 0.01) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-left: 3px solid var(--vs-accent-cyan);
}

.arena-team-card.team-away {
  align-items: flex-end;
  text-align: right;
  background: linear-gradient(225deg, rgba(255, 42, 95, 0.08) 0%, rgba(255, 42, 95, 0.01) 100%);
  border: 1px solid rgba(255, 42, 95, 0.25);
  border-right: 3px solid var(--vs-accent-crimson);
}

.team-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
}

.team-away .team-header {
  justify-content: flex-end;
}

.team-emblem {
  font-size: 1.6rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.5));
  flex-shrink: 0;
}

.team-emblem.away-emblem {
  filter: drop-shadow(0 0 8px rgba(255, 42, 95, 0.5));
}

.team-tags {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.team-tags.text-right {
  align-items: flex-end;
}

.team-tag {
  font-family: var(--vs-font-display);
  font-size: clamp(0.85rem, 2.5vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--vs-text-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.team-name {
  font-size: clamp(0.72rem, 2vw, 0.85rem);
  font-weight: 600;
  color: var(--vs-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.team-meta {
  width: 100%;
}

.team-role-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vs-text-secondary);
}

.team-score-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-family: var(--vs-font-mono);
  font-weight: 900;
  margin-top: 0.25rem;
}

.home-score-badge {
  color: var(--vs-accent-cyan);
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}

.away-score-badge {
  color: var(--vs-accent-crimson);
  background: rgba(255, 42, 95, 0.12);
  border: 1px solid rgba(255, 42, 95, 0.35);
  box-shadow: 0 0 12px rgba(255, 42, 95, 0.15);
}

.score-digit {
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1;
}

.score-unit {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* VS Center Nexus */
.arena-vs-nexus {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0 0.25rem;
}

.vs-emblem-badge {
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.2) 0%, rgba(255, 140, 0, 0.25) 100%);
  border: 1px solid rgba(255, 183, 3, 0.5);
  color: var(--vs-accent-gold);
  font-family: var(--vs-font-display);
  font-weight: 900;
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  letter-spacing: 0.1em;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.2);
}

.vs-score-comparison {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--vs-font-mono);
  font-weight: 900;
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: var(--vs-text-bright);
}

.comp-home {
  color: var(--vs-accent-cyan);
}

.comp-colon {
  color: var(--vs-accent-gold);
}

.comp-away {
  color: var(--vs-accent-crimson);
}

.vs-goal-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--vs-accent-gold);
  background: rgba(255, 183, 3, 0.08);
  border: 1px solid rgba(255, 183, 3, 0.2);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  white-space: nowrap;
}

.match-hud-footer {
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  text-align: center;
}

.hud-rule-note {
  font-size: 0.78rem;
  color: var(--vs-accent-gold);
  font-style: italic;
}

/* ================= 2. 2-COLUMN LAYOUT ================= */
.vs-layout-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 960px) {
  .vs-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= 3. LEFT NAVIGATION TABS ================= */
.vs-sidebar-nav {
  background: var(--vs-bg-card);
  border: 1px solid var(--vs-border-subtle);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.nav-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--vs-border-subtle);
  font-family: var(--vs-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--vs-text-bright);
}

.vs-day-tabs {
  display: flex;
  flex-direction: column;
}

.vs-day-tab {
  display: flex;
  align-items: stretch;
  position: relative;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.85rem 1rem 0.85rem 0.75rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
}

.vs-day-tab:hover {
  background: rgba(255, 255, 255, 0.03);
}

.vs-day-tab.active {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.tab-indicator {
  width: 4px;
  border-radius: 2px;
  margin-right: 0.75rem;
  opacity: 0.4;
  transition: opacity 0.2s ease, width 0.2s ease;
}

.vs-day-tab.active .tab-indicator {
  opacity: 1;
  width: 6px;
  box-shadow: 0 0 10px var(--day-accent);
}

.tab-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tab-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.tab-day-badge {
  font-family: var(--vs-font-mono);
  color: var(--vs-text-secondary);
  font-weight: 600;
}

.tab-pts-badge {
  font-family: var(--vs-font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--vs-text-bright);
}

.tab-pts-badge.decisive-pts {
  background: rgba(184, 53, 207, 0.3);
  color: #f0abfc;
  border: 1px solid rgba(184, 53, 207, 0.5);
  box-shadow: 0 0 6px rgba(184, 53, 207, 0.3);
}

.tab-title {
  font-family: var(--vs-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--vs-text-bright);
}

.vs-day-tab.active .tab-title {
  color: var(--day-accent);
}

.tab-subtitle {
  font-size: 0.75rem;
  color: var(--vs-text-muted);
}

.today-ribbon {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  font-family: var(--vs-font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--vs-accent-gold);
  color: #000;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.tab-placeholder {
  opacity: 0.85;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* ================= 4. RIGHT BRIEFING PANE ================= */
.vs-briefing-pane {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Hero Card */
.day-hero-card {
  border: 1px solid var(--vs-border-subtle);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.hero-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.hero-day-pill {
  font-family: var(--vs-font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: #000;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.hero-pts-badge {
  font-family: var(--vs-font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--vs-accent-gold);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 183, 3, 0.4);
}

.hero-title {
  font-family: var(--vs-font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vs-text-bright);
  margin: 0 0 0.4rem 0;
  letter-spacing: 0.02em;
}

.hero-title-en {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--vs-text-secondary);
}

.hero-theme {
  font-size: 0.95rem;
  color: var(--vs-text-bright);
  margin: 0;
  opacity: 0.9;
}

/* Warnings Container */
.day-warnings-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tactical-callout {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  border-left: 4px solid;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.callout-critical {
  background: rgba(255, 42, 95, 0.12);
  border-left-color: var(--vs-accent-crimson);
  border: 1px solid rgba(255, 42, 95, 0.3);
  border-left-width: 4px;
}

.callout-strategy {
  background: rgba(255, 183, 3, 0.1);
  border-left-color: var(--vs-accent-gold);
  border: 1px solid rgba(255, 183, 3, 0.3);
  border-left-width: 4px;
}

.callout-prep {
  background: rgba(100, 116, 139, 0.15);
  border-left-color: var(--vs-text-muted);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-left-width: 4px;
}

.callout-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.callout-content {
  flex: 1;
}

.callout-title {
  font-family: var(--vs-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.3rem 0;
  color: var(--vs-text-bright);
}

.callout-critical .callout-title {
  color: #ff6b8b;
}

.callout-strategy .callout-title {
  color: var(--vs-accent-gold);
}

.callout-text {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--vs-text-secondary);
  margin: 0;
}

/* Recommended Items Section */
.recommended-items-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-title-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--vs-border-subtle);
}

.bar-icon {
  font-size: 1.1rem;
}

.bar-title {
  font-family: var(--vs-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--vs-text-bright);
  margin: 0;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.tactical-item-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--vs-bg-card);
  border: 1px solid var(--vs-border-subtle);
  border-radius: 6px;
  padding: 0.75rem;
  transition: all 0.2s ease;
}

.tactical-item-card:hover {
  border-color: var(--vs-border-glow);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.15);
}

.item-icon-frame {
  width: 62px;
  height: 62px;
  min-width: 62px;
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.08) 0%, rgba(5, 7, 12, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(0, 229, 255, 0.06);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.item-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  image-rendering: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
  transition: transform 0.2s ease;
}

.tactical-item-card:hover .item-icon-img {
  transform: scale(1.08);
}

.item-details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.item-name {
  font-family: var(--vs-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--vs-text-bright);
}

.item-alt-name {
  font-size: 0.75rem;
  color: var(--vs-text-muted);
}

.item-points-tag {
  font-size: 0.75rem;
  color: var(--vs-accent-cyan);
  font-weight: 500;
}

/* Tactical Notes Card */
.tactical-notes-card {
  background: var(--vs-bg-card);
  border: 1px solid var(--vs-border-subtle);
  border-radius: 6px;
  padding: 1rem 1.25rem;
}

.notes-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.notes-icon {
  font-size: 1rem;
}

.notes-title {
  font-family: var(--vs-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--vs-accent-gold);
}

.notes-body {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--vs-text-secondary);
}

/* ================= 5. QUICK SAVE RULES SECTION ================= */
.quick-save-section {
  background: var(--vs-bg-dark);
  border: 1px solid var(--vs-border-subtle);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.qsr-header {
  margin-bottom: 1.25rem;
}

.qsr-badge {
  display: inline-block;
  font-family: var(--vs-font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--vs-accent-gold);
  background: rgba(255, 183, 3, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.4rem;
}

.qsr-title {
  font-family: var(--vs-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--vs-text-bright);
  margin: 0 0 0.25rem 0;
  letter-spacing: 0.03em;
}

.qsr-sub {
  font-size: 0.85rem;
  color: var(--vs-text-secondary);
  margin: 0;
}

.qsr-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

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

@media (max-width: 600px) {
  .vs-match-hud {
    padding: 0.75rem 0.55rem;
  }
  .match-alliances-arena {
    gap: 0.35rem;
  }
  .arena-team-card {
    padding: 0.5rem 0.45rem;
  }
  .team-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
  .team-away .team-header {
    align-items: flex-end;
  }
  .arena-team-card .team-emblem {
    order: -1;
    font-size: 1.25rem;
    margin-bottom: 0.1rem;
  }
  .team-tag {
    font-size: 0.82rem;
  }
  .team-name {
    font-size: 0.72rem;
  }
  .vs-emblem-badge {
    font-size: 0.85rem;
    padding: 0.15rem 0.45rem;
  }
  .vs-score-comparison {
    font-size: 1rem;
  }
  .vs-goal-badge {
    font-size: 0.6rem;
    padding: 0.1rem 0.35rem;
  }
  .team-score-badge {
    padding: 0.2rem 0.5rem;
  }
  .score-digit {
    font-size: 1.35rem;
  }
  .qsr-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.qsr-card {
  background: var(--vs-bg-card);
  border: 1px solid var(--vs-border-subtle);
  border-top: 3px solid var(--card-accent);
  border-radius: 6px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qsr-card:hover {
  transform: translateY(-3px);
  border-color: var(--card-accent);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.qsr-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.qsr-icon-box {
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.qsr-icon-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.qsr-day-target {
  font-family: var(--vs-font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--card-accent);
}

.qsr-item-name {
  font-family: var(--vs-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--vs-text-bright);
  line-height: 1.35;
  flex: 1;
}

.qsr-card-footer {
  margin-top: auto;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.qsr-btn-view {
  font-family: var(--vs-font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--vs-text-muted);
  transition: color 0.2s ease;
}

.qsr-card:hover .qsr-btn-view {
  color: var(--card-accent);
}

/* Advisory Footer Strips */
.qsr-footer-strips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .qsr-footer-strips {
    grid-template-columns: 1fr;
  }
}

.qsr-strip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.75rem 1rem;
}

.strip-icon-box {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strip-icon-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.strip-text {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--vs-text-secondary);
}

.strip-text strong {
  color: var(--vs-text-bright);
}

.strip-drone-exp {
  border-left: 3px solid #ff69b4;
}

.strip-warning {
  border-left: 3px solid var(--vs-accent-gold);
}

/* ================= VS DUEL LIGHT MODE REFINEMENTS ================= */
[data-theme="light"] .vs-match-hud {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: #cbd5e1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .match-hud-top {
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .hud-status-badge {
  color: #0284c7;
}

[data-theme="light"] .hud-pulse {
  background-color: #0284c7;
  box-shadow: 0 0 8px #0284c7;
}

[data-theme="light"] .match-timer-badge {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #b45309;
}

[data-theme="light"] .vs-match-quick-edit-btn {
  background: #fffbeb;
  border-color: #fcd34d;
  color: #b45309;
}

[data-theme="light"] .arena-team-card.team-home {
  background: #f0f9ff;
  border-color: #bae6fd;
  border-left: 3px solid #0284c7;
}

[data-theme="light"] .arena-team-card.team-away {
  background: #fef2f2;
  border-color: #fecaca;
  border-right: 3px solid #dc2626;
}

[data-theme="light"] .team-tag {
  color: #0f172a;
}

[data-theme="light"] .team-name {
  color: #475569;
}

[data-theme="light"] .team-role-label {
  color: #64748b;
}

[data-theme="light"] .home-score-badge {
  color: #0369a1;
  background: #e0f2fe;
  border-color: #7dd3fc;
  box-shadow: none;
}

[data-theme="light"] .away-score-badge {
  color: #b91c1c;
  background: #fee2e2;
  border-color: #fca5a5;
  box-shadow: none;
}

[data-theme="light"] .vs-emblem-badge {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #b45309;
  box-shadow: none;
}

[data-theme="light"] .vs-score-comparison {
  color: #0f172a;
}

[data-theme="light"] .comp-colon {
  color: #b45309;
}

[data-theme="light"] .vs-goal-badge {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

[data-theme="light"] .match-hud-footer {
  border-top-color: #e2e8f0;
}

[data-theme="light"] .hud-rule-note {
  color: #b45309;
}

[data-theme="light"] .vs-sidebar-nav {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .nav-header {
  background: #f1f5f9;
  border-bottom-color: #cbd5e1;
}

[data-theme="light"] .vs-day-tab {
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .vs-day-tab:hover {
  background: #f8fafc;
}

[data-theme="light"] .vs-day-tab.active {
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.08) 0%, rgba(2, 132, 199, 0.02) 100%);
}

[data-theme="light"] .tab-points-pill {
  background: #e2e8f0;
  color: #334155;
}

[data-theme="light"] .day-hero-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hero-pts-badge {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.3);
  color: #b45309;
}

[data-theme="light"] .tactical-callout {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .callout-critical {
  background: rgba(220, 38, 38, 0.06);
  border-color: rgba(220, 38, 38, 0.3);
}

[data-theme="light"] .callout-strategy {
  background: rgba(217, 119, 6, 0.06);
  border-color: rgba(217, 119, 6, 0.3);
}

[data-theme="light"] .callout-prep {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

[data-theme="light"] .item-icon-frame {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

[data-theme="light"] .tactical-item-card {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .tactical-notes-card {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .quick-save-section {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .rule-strip {
  background: #ffffff;
  border-color: #cbd5e1;
}

