/* ==========================================================================
   NFSU2 TUNE RATER - Y2K STREET RACING & IN-GAME DYNO UI STYLESHEET
   ========================================================================== */

:root {
  --bg-deep: #070b10;
  --bg-metal-dark: #101720;
  --bg-metal-panel: #16202b;
  --bg-card: #121a24;
  --border-steel: #37495c;
  --border-highlight: #5a7691;
  --cyan-neon: #00e5ff;
  --cyan-soft: #5ce1ff;
  --cyan-glow: rgba(0, 229, 255, 0.55);
  --orange-neon: #ff9d00;
  --orange-deep: #ff6200;
  --orange-glow: rgba(255, 157, 0, 0.6);
  --star-gold: #ffb800;
  --text-bright: #f2f8ff;
  --text-silver: #a9bfd4;
  --text-muted: #6c849c;
  --font-display: 'Orbitron', 'Russo One', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
}

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

html,
body {
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--text-bright);
  font-family: var(--font-body);
  font-weight: 600;
  overflow-x: hidden;
  selection-background-color: var(--cyan-neon);
  scrollbar-width: thin;
  scrollbar-color: var(--cyan-neon) #090e14;
}

/* ==========================================================================
   Y2K METALLIC & CYAN NEON SCROLLBARS
   ========================================================================== */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--cyan-neon) #090e14;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.comments-feed::-webkit-scrollbar,
.builder-slider-list::-webkit-scrollbar,
.submit-modal-frame::-webkit-scrollbar,
.json-import-row textarea::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(90deg, #070b10 0%, #0e1620 50%, #070b10 100%);
  border-left: 1px solid #243648;
  border-right: 1px solid #182533;
  border-radius: 6px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.9);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7befff 0%, #00c8ff 45%, #007ca8 55%, #00e5ff 100%);
  border: 1px solid #bdf7ff;
  border-radius: 6px;
  box-shadow:
    0 0 10px var(--cyan-glow),
    inset 0 0 4px rgba(255, 255, 255, 0.65);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffffff 0%, #5ce1ff 45%, #00a6d6 55%, #8cf2ff 100%);
  border-color: #ffffff;
  box-shadow:
    0 0 16px rgba(0, 229, 255, 0.9),
    inset 0 0 6px rgba(255, 255, 255, 0.85);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #ffe099 0%, var(--orange-neon) 50%, var(--orange-deep) 100%);
  border-color: #fff2cc;
  box-shadow: 0 0 14px var(--orange-glow);
}

::-webkit-scrollbar-corner {
  background: #090e14;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   Y2K STREET GRAFFITI, CARBON HEX MESH & AMBIENT BACKGROUND
   ========================================================================== */
.bg-street-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 195, 255, 0.16) 0%, transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(255, 115, 0, 0.20) 0%, transparent 34%),
    radial-gradient(circle at 50% 50%, #151e28 0%, #070a0f 100%);
}

/* Top-left cyan graffiti tag effect */
.graffiti-cyan {
  position: absolute;
  top: 12px;
  left: 24px;
  width: 260px;
  height: 150px;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 150'%3E%3Cdefs%3E%3Cfilter id='g'%3E%3CfeGaussianBlur stdDeviation='2'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23g)' fill='none' stroke='%2300d9ff' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke-width='9' d='M25,95 C10,70 48,45 35,30 C22,18 12,48 38,65 C65,82 40,115 18,108'/%3E%3Cpath stroke-width='8' d='M58,102 L68,38 L86,82 L105,35 L112,100'/%3E%3Cpath stroke-width='8' d='M126,98 L146,32 L162,96 M132,74 L160,70'/%3E%3Cpath stroke-width='8' d='M178,42 C205,28 210,58 185,68 C165,76 198,102 222,86'/%3E%3Ccircle cx='88' cy='18' r='10' stroke-width='5'/%3E%3Cpath stroke-width='4' d='M45,112 L45,138 M95,105 L95,132 M148,102 L148,142 M195,98 L195,126'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Top-right orange spray paint drip */
.graffiti-orange {
  position: absolute;
  top: 0;
  right: 20px;
  width: 310px;
  height: 190px;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 310 190'%3E%3Cdefs%3E%3CradialGradient id='sp' cx='60%25' cy='25%25' r='55%25'%3E%3Cstop offset='0%25' stop-color='%23ff8800' stop-opacity='0.85'/%3E%3Cstop offset='70%25' stop-color='%23cc4400' stop-opacity='0.35'/%3E%3Cstop offset='100%25' stop-color='%23000000' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='310' height='190' fill='url(%23sp)'/%3E%3Cg stroke='%23ff7b00' stroke-linecap='round' opacity='0.75'%3E%3Cline x1='210' y1='35' x2='210' y2='145' stroke-width='5'/%3E%3Cline x1='226' y1='42' x2='226' y2='120' stroke-width='3'/%3E%3Cline x1='248' y1='25' x2='248' y2='175' stroke-width='6'/%3E%3Cline x1='265' y1='38' x2='265' y2='135' stroke-width='4'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Hexagonal Carbon Speaker Mesh along left & right edges */
.hex-mesh-left,
.hex-mesh-right {
  position: absolute;
  top: 140px;
  bottom: 0;
  width: 56px;
  opacity: 0.42;
  background-color: #090d12;
  background-image: radial-gradient(#263545 2px, transparent 2.5px), radial-gradient(#1b2633 2px, #090d12 2.5px);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
  border-right: 2px solid #253444;
}

.hex-mesh-right {
  right: 0;
  border-right: none;
  border-left: 2px solid #253444;
}

.hex-mesh-left {
  left: 0;
}

/* ==========================================================================
   MAIN SHELL & HEADER BANNER
   ========================================================================== */
.app-shell {
  position: relative;
  z-index: 1;
  max-width: 1420px;
  margin: 0 auto;
  padding: 10px 36px 28px;
}

.nfsu2-header {
  text-align: center;
  margin-bottom: 6px;
  position: relative;
}

.logo-cluster {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
  padding: 2px 18px;
}

.nfs-overline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: -4px;
}

.speed-line {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan-neon), #ffffff);
  transform: skewX(-28deg);
}

.speed-line.right {
  background: linear-gradient(90deg, #ffffff, var(--cyan-neon), transparent);
}

.nfs-small-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  color: #e6f9ff;
  text-shadow: 0 0 8px var(--cyan-neon);
}

.main-logo-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.75rem, 3.3vw, 2.75rem);
  letter-spacing: 0.05em;
  line-height: 1.05;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.u2-badge {
  background: linear-gradient(180deg, #ffffff 0%, #b9ecff 48%, #47b8e0 52%, #e6fbff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.65)) drop-shadow(0 3px 0 #092032);
  border-bottom: 3px solid var(--cyan-neon);
  padding-bottom: 1px;
}

.u2-num {
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #6be6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px var(--cyan-neon)) drop-shadow(0 3px 0 #082538);
  font-size: 1.08em;
}

.tune-rater-text {
  background: linear-gradient(180deg, #ffffff 0%, #c8f2ff 50%, #5ec8ec 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.7)) drop-shadow(0 3px 0 #092032);
}

.logo-subtitle {
  margin-top: 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #c7d8e8;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

/* Header Tribal & Submit Tune Bar */
.header-tribal-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
  padding: 6px 36px;
  background: linear-gradient(180deg, rgba(36, 49, 64, 0.9) 0%, rgba(16, 23, 31, 0.95) 100%);
  border-top: 2px solid #56708a;
  border-bottom: 2px solid #253342;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.75);
}

.tribal-wing {
  flex: 1;
  max-width: 420px;
  height: 36px;
  display: flex;
  align-items: center;
}

.tribal-wing svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.85));
}

.btn-submit-tune {
  position: relative;
  padding: 9px 32px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  color: #e4fbff;
  background: linear-gradient(180deg, #1b2c3b 0%, #0d161f 55%, #162636 100%);
  border: 2px solid var(--orange-neon);
  border-radius: 6px;
  cursor: pointer;
  box-shadow:
    0 0 14px var(--orange-glow),
    inset 0 0 10px rgba(255, 157, 0, 0.28);
  text-shadow: 0 0 8px var(--cyan-neon);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.btn-submit-tune:hover {
  transform: translateY(-1px) scale(1.02);
  border-color: #ffc44d;
  box-shadow:
    0 0 22px rgba(255, 166, 0, 0.9),
    inset 0 0 14px rgba(0, 229, 255, 0.35);
}

/* Industrial Corner Rivets */
.rivet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #b5c6d6 0%, #526475 45%, #1c2630 80%, #0d1218 100%);
  border: 2px solid #2b3947;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.6),
    0 2px 5px rgba(0, 0, 0, 0.9);
  position: absolute;
  z-index: 5;
}

.rivet::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 60%, #445566, #182029);
  border: 1px solid #10161d;
}

.rivet-tl {
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.rivet-tr {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.frame-rivet-tl {
  top: 10px;
  left: 10px;
}

.frame-rivet-tr {
  top: 10px;
  right: 10px;
}

.frame-rivet-bl {
  bottom: 10px;
  left: 10px;
}

.frame-rivet-br {
  bottom: 10px;
  right: 10px;
}

/* ==========================================================================
   METALLIC OUTER FRAME
   ========================================================================== */
.metal-frame {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(36, 54, 72, 0.55), transparent 65%),
    linear-gradient(180deg, #161f29 0%, #0e141c 100%);
  border: 3px solid #3f5368;
  border-radius: 0 0 12px 12px;
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(156, 196, 232, 0.16);
  padding: 16px 20px 22px;
}

.detail-frame {
  border-radius: 12px;
  margin-top: 8px;
  padding: 20px 24px 24px;
}

/* ==========================================================================
   VIEW 1: BROWSE & FILTER LAYOUT (CONCEPT IMAGE 2)
   ========================================================================== */
.browse-layout {
  display: grid;
  grid-template-columns: 275px 1fr;
  gap: 18px;
  align-items: start;
}

/* Left Filter Sidebar */
.filter-sidebar {
  background: linear-gradient(180deg, #131c26 0%, #0d141c 100%);
  border: 2px solid #2b4257;
  border-radius: 8px;
  padding: 12px;
  box-shadow:
    inset 0 0 16px rgba(0, 229, 255, 0.05),
    0 6px 18px rgba(0, 0, 0, 0.65);
}

.filter-group {
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(79, 108, 135, 0.3);
  padding-bottom: 12px;
}

.filter-group:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 4px;
}

.filter-group-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--cyan-soft);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  padding: 4px 2px 8px;
  cursor: pointer;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.45);
}

.chevron-icon {
  color: var(--orange-neon);
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}

.filter-group-header[aria-expanded="false"] .chevron-icon {
  transform: rotate(-90deg);
}

/* Quick Car Filter Buttons */
.quick-car-list,
.mode-filter-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.filter-pill-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 9px;
  background: linear-gradient(180deg, #182330 0%, #101821 100%);
  border: 1px solid #2f455c;
  border-radius: 6px;
  color: #d9ecff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.filter-pill-btn:hover {
  border-color: var(--cyan-neon);
  background: linear-gradient(180deg, #1d2d3e 0%, #13202e 100%);
}

.filter-pill-btn.active {
  border-color: var(--cyan-neon);
  box-shadow: 0 0 10px var(--cyan-glow), inset 0 0 8px rgba(0, 229, 255, 0.22);
  color: #ffffff;
}

.pill-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.pill-badge-icon {
  width: 38px;
  height: 24px;
  border-radius: 4px;
  background: #0b1117;
  border: 1px solid #3c556e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pill-badge-icon.orange-bdr {
  border-color: var(--orange-neon);
}

.pill-badge-icon.cyan-bdr {
  border-color: var(--cyan-neon);
}

.pill-badge-icon.purple-bdr {
  border-color: #b84dff;
}

.pill-badge-icon.yellow-bdr {
  border-color: #d4ff00;
}

.pill-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill-arrow {
  color: var(--cyan-soft);
  font-size: 0.78rem;
  opacity: 0.8;
}

.full-car-select-wrap {
  margin-top: 8px;
}

.nfsu2-select,
.nfsu2-input {
  width: 100%;
  padding: 8px 10px;
  background: #0d151e;
  color: #e5f4ff;
  border: 1px solid #35506b;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nfsu2-select:focus,
.nfsu2-input:focus {
  border-color: var(--cyan-neon);
  box-shadow: 0 0 8px var(--cyan-glow);
}

.star-quick-filter {
  margin-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.star-filter-label {
  font-size: 0.82rem;
  color: var(--text-silver);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.star-filter-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.min-star-btn {
  padding: 5px 4px;
  background: #121c27;
  border: 1px solid #30475e;
  border-radius: 4px;
  color: var(--text-silver);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.min-star-btn.active,
.min-star-btn:hover {
  border-color: var(--star-gold);
  color: var(--star-gold);
  box-shadow: 0 0 8px rgba(255, 184, 0, 0.35);
}

.btn-reset-filters {
  margin-top: 10px;
  width: 100%;
  padding: 7px 10px;
  background: rgba(255, 157, 0, 0.1);
  border: 1px solid rgba(255, 157, 0, 0.5);
  border-radius: 5px;
  color: #ffd080;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-reset-filters:hover {
  background: rgba(255, 157, 0, 0.22);
  border-color: var(--orange-neon);
  color: #ffffff;
}

/* ==========================================================================
   BROWSE TOOLBAR & TUNE CARDS GRID
   ========================================================================== */
.browse-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(77, 108, 138, 0.35);
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 260px;
}

.icon-tool-btn {
  width: 32px;
  height: 32px;
  border-radius: 5px;
  background: #121c27;
  border: 1px solid #35526e;
  color: var(--text-silver);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-tool-btn.active,
.icon-tool-btn:hover {
  border-color: var(--cyan-neon);
  color: var(--cyan-neon);
  box-shadow: 0 0 8px var(--cyan-glow);
}

.search-box-wrap {
  flex: 1;
  max-width: 310px;
}

.tune-search-input {
  width: 100%;
  padding: 6px 11px;
  border-radius: 5px;
  border: 1px solid #314b63;
  background: #0d141d;
  color: var(--text-bright);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
}

.tune-search-input:focus {
  outline: none;
  border-color: var(--cyan-neon);
  box-shadow: 0 0 8px var(--cyan-glow);
}

.results-counter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--cyan-soft);
  letter-spacing: 0.06em;
  padding: 3px 8px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 4px;
}

.sort-tabs {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sort-tab {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 4px 2px 6px;
  color: var(--text-silver);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.sort-tab:hover {
  color: #ffffff;
}

.sort-tab.active {
  color: #ffffff;
  border-bottom-color: var(--cyan-neon);
  text-shadow: 0 0 8px var(--cyan-glow);
}

.saved-count-pill {
  display: inline-block;
  margin-left: 4px;
  padding: 0 6px;
  font-size: 0.78rem;
  border-radius: 10px;
  background: rgba(255, 157, 0, 0.2);
  border: 1px solid var(--orange-neon);
  color: var(--orange-neon);
}

/* Tunes Grid */
.tunes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tunes-grid.compact-list {
  grid-template-columns: 1fr;
}

.tune-card {
  background: linear-gradient(180deg, #16212d 0%, #0e161f 100%);
  border: 2px solid #2e455c;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.75);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  display: flex;
  flex-direction: column;
}

.tune-card:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-neon);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.85), 0 0 14px rgba(0, 229, 255, 0.28);
}

.card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #090d12;
  overflow: hidden;
  border-bottom: 2px solid #293d52;
  cursor: pointer;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.tune-card:hover .card-image-wrap img {
  transform: scale(1.03);
}

.card-open-hint {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 8px;
  background: rgba(8, 14, 22, 0.85);
  border: 1px solid var(--cyan-neon);
  border-radius: 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.65rem;
  color: var(--cyan-soft);
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.tune-card:hover .card-open-hint {
  opacity: 1;
}

.card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.card-author {
  font-size: 0.86rem;
  color: var(--cyan-soft);
  font-weight: 700;
}

.card-title-line {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.card-mode-tag {
  color: var(--orange-neon);
  font-weight: 700;
  margin-left: 3px;
}

/* Interactive Card Stars */
.card-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1px 0 3px;
}

.star-cluster {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.star-btn {
  background: transparent;
  border: none;
  font-size: 1.16rem;
  line-height: 1;
  color: #3b4b5c;
  cursor: pointer;
  padding: 0 1px;
  transition: transform 0.1s ease, color 0.1s ease;
}

.star-btn.filled {
  color: var(--star-gold);
  text-shadow: 0 0 6px rgba(255, 184, 0, 0.55);
}

.star-btn:hover {
  transform: scale(1.2);
  color: #ffd452;
}

.card-rating-score {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--orange-neon);
  font-weight: 800;
}

/* Card Bottom Gauges + Action Buttons */
.card-bottom-row {
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid rgba(62, 87, 112, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mini-gauges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gauge-dial {
  width: 52px;
  height: 44px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.gauge-dial svg {
  width: 52px;
  height: 34px;
  overflow: visible;
}

.gauge-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-silver);
  text-transform: uppercase;
  margin-top: -2px;
}

.gauge-center-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
  padding: 0 2px;
}

.gauge-center-stat span {
  font-size: 0.65rem;
  color: var(--text-silver);
  text-transform: uppercase;
}

.gauge-center-stat strong {
  font-family: var(--font-display);
  font-size: 0.74rem;
  color: #ffffff;
}

.card-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 96px;
}

.btn-card-action {
  padding: 4px 10px;
  border-radius: 5px;
  background: linear-gradient(180deg, #172736 0%, #0d1620 100%);
  border: 1px solid var(--cyan-neon);
  color: #e6f8ff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.25);
  transition: all 0.15s ease;
}

.btn-card-action:hover {
  background: linear-gradient(180deg, #1f394f 0%, #122434 100%);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.btn-card-action.saved {
  border-color: var(--orange-neon);
  color: #ffd27d;
  box-shadow: 0 0 10px rgba(255, 157, 0, 0.45);
}

/* ==========================================================================
   VIEW 2: DETAILED DYNO & SLIDER SETTINGS (CONCEPT IMAGE 1)
   ========================================================================== */
.detail-top-banner {
  display: grid;
  grid-template-columns: 330px 1fr 270px;
  gap: 22px;
  align-items: center;
  padding: 6px 8px 14px;
}

.detail-car-preview-box {
  position: relative;
  border-radius: 8px;
  border: 2px solid #496580;
  overflow: hidden;
  background: #080d12;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85);
}

.detail-car-preview-box img {
  width: 100%;
  height: 158px;
  object-fit: cover;
  display: block;
}

.detail-mode-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 10px;
  background: rgba(10, 16, 24, 0.88);
  border: 1px solid var(--orange-neon);
  border-radius: 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.72rem;
  color: var(--orange-neon);
}

.detail-tune-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.25rem, 2.1vw, 1.72rem);
  color: #4be8ff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.55);
}

.detail-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 3px;
}

.detail-author {
  font-size: 1.08rem;
  color: #7ce8ff;
  font-weight: 700;
}

.detail-car-subtitle {
  font-size: 0.92rem;
  color: var(--text-silver);
  padding: 1px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.community-rating-block {
  margin-top: 10px;
}

.rating-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.community-rating-label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: #bfeaff;
}

.rating-Meta-votes {
  font-size: 0.84rem;
  color: var(--text-silver);
}

.detail-star-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.interactive-stars .star-btn {
  font-size: 1.85rem;
}

.detail-rating-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--orange-neon);
  text-shadow: 0 0 12px var(--orange-glow);
}

.btn-rate-zero {
  padding: 3px 8px;
  background: #141e29;
  border: 1px solid #3c5269;
  border-radius: 4px;
  color: var(--text-silver);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-rate-zero:hover {
  border-color: var(--orange-neon);
  color: var(--orange-neon);
}

.user-rating-status {
  font-size: 0.82rem;
  color: var(--text-silver);
  margin-top: 2px;
}

/* Dyno Bench Test Box */
.dyno-bench-col {
  text-align: center;
}

.dyno-bench-heading {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: #5ce1ff;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
  text-shadow: 0 0 8px var(--cyan-glow);
}

.dyno-bench-box {
  background: linear-gradient(180deg, #1a2533 0%, #111923 100%);
  border: 2px solid #3f5873;
  border-radius: 8px;
  padding: 10px 14px;
  text-align: left;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.7);
}

.bench-highlight {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid rgba(92, 225, 255, 0.25);
}

.bench-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.94rem;
  color: #d0e2f2;
  line-height: 1.35;
}

.bench-row strong {
  color: #ffffff;
}

/* Tribal Section Divider: DYNO & SLIDER SETTINGS */
.dyno-section-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 6px 0 16px;
  padding: 6px 34px;
  background: linear-gradient(180deg, #1e2a38 0%, #111821 100%);
  border-top: 1px solid #4a647d;
  border-bottom: 1px solid #283848;
  border-radius: 6px;
}

.divider-rivet-l {
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.divider-rivet-r {
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.dyno-pill-title {
  padding: 6px 26px;
  background: linear-gradient(180deg, #1b2836 0%, #0f1720 100%);
  border: 2px solid var(--orange-neon);
  border-radius: 7px;
  box-shadow: 0 0 14px var(--orange-glow);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.07em;
  color: #63e8ff;
  text-shadow: 0 0 8px var(--cyan-glow);
}

/* ==========================================================================
   4-COLUMN DYNO MODULES GRID (CONCEPT IMAGE 1)
   ========================================================================== */
.dyno-modules-grid {
  display: grid;
  grid-template-columns: 285px 1fr 310px;
  gap: 14px;
  align-items: stretch;
}

.dyno-left-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dyno-middle-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dyno-middle-top-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 14px;
}

.dyno-aero-tires-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dyno-right-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-builder-notes {
  background: linear-gradient(180deg, #162432 0%, #0d1620 100%);
  border: 1.5px solid #36506a;
  border-left: 3.5px solid var(--amber-neon);
}

.builder-notes-badge {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--amber-neon);
  background: rgba(255, 157, 0, 0.12);
  border: 1px solid rgba(255, 157, 0, 0.4);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.builder-notes-content {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #d6e8fa;
  font-style: italic;
  padding: 10px 12px;
  background: rgba(8, 14, 20, 0.75);
  border: 1px solid rgba(53, 80, 107, 0.45);
  border-radius: 6px;
  min-height: 60px;
  word-break: break-word;
}

.dyno-right-col .comments-panel {
  flex: 1;
}

.dyno-right-col .comments-feed {
  max-height: 180px;
}

.dyno-panel {
  background: linear-gradient(180deg, #16202b 0%, #101821 100%);
  border: 1.5px solid #354c63;
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.65);
}

.panel-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.dyno-panel-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  color: #53e5ff;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.35);
  margin-bottom: 8px;
}

.panel-header-row .dyno-panel-title {
  margin-bottom: 0;
}

.accent-orange {
  color: var(--orange-neon);
  font-size: 0.88em;
}

.btn-toggle-subsliders {
  padding: 2px 7px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.45);
  border-radius: 4px;
  color: var(--cyan-soft);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-toggle-subsliders:hover {
  background: rgba(0, 229, 255, 0.22);
  color: #ffffff;
}

/* Custom Y2K Sliders (Matching Concept Image 1) */
.slider-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dyno-slider-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: #e4f2ff;
}

.slider-bar-row {
  display: grid;
  grid-template-columns: 1fr 56px;
  gap: 8px;
  align-items: center;
}

.nfsu2-slider-track {
  position: relative;
  height: 8px;
  background: #0a1017;
  border: 1px solid #2b3f54;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.nfsu2-slider-fill {
  height: 100%;
  background: linear-gradient(90deg, #0088cc 0%, var(--cyan-neon) 100%);
  border-radius: 3px;
  box-shadow: 0 0 8px var(--cyan-glow);
}

.nfsu2-slider-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, #d7e6f5 0%, #6d8499 50%, #2a3947 100%);
  border: 1px solid #e5f4ff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

.nfsu2-slider-val-box {
  padding: 2px 6px;
  background: #0b1118;
  border: 1px solid #354c63;
  border-radius: 4px;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.86rem;
  text-align: center;
}

.slider-sub-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-silver);
  margin-top: -1px;
}

/* Gear Ratio Tick Marks under Drivetrain */
.gear-ticks-row {
  display: flex;
  justify-content: space-between;
  padding: 2px 4px 0;
  font-size: 0.76rem;
  color: var(--text-silver);
}

.gear-tick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}

.gear-tick::before {
  content: '';
  width: 1px;
  height: 6px;
  background: #5c7894;
}

.gear-tick.active {
  color: var(--cyan-neon);
  font-weight: 700;
}

.gear-tick.active::before {
  background: var(--cyan-neon);
  box-shadow: 0 0 5px var(--cyan-neon);
}

/* ECU & Turbo Graphical Panel */
.panel-ecu-turbo {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ecu-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.ecu-mode-tabs {
  display: flex;
  gap: 5px;
}

.ecu-tab {
  padding: 2px 8px;
  background: #0d151e;
  border: 1px solid #324a61;
  border-radius: 4px;
  color: var(--text-silver);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  cursor: pointer;
}

.ecu-tab.active,
.ecu-tab:hover {
  border-color: var(--orange-neon);
  color: var(--orange-neon);
}

.ecu-canvas-wrap {
  width: 100%;
  flex: 1;
  background: #0b1118;
  border: 1px solid #27394b;
  border-radius: 6px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#detail-ecu-canvas {
  width: 100%;
  height: 215px;
  display: block;
}

/* ==========================================================================
   DETAIL FOOTER ACTIONS
   ========================================================================== */
.detail-footer-bar {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.btn-detail-action {
  padding: 12px 16px;
  border-radius: 7px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-cyan-glow {
  background: linear-gradient(180deg, #162838 0%, #0d1722 100%);
  border: 2px solid var(--cyan-neon);
  color: #e6f9ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.35), inset 0 0 10px rgba(0, 229, 255, 0.15);
}

.btn-cyan-glow:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px var(--cyan-glow), inset 0 0 14px rgba(0, 229, 255, 0.28);
}

.btn-orange-glow {
  background: linear-gradient(180deg, #2a2115 0%, #17120b 100%);
  border: 2px solid var(--orange-neon);
  color: #ffdfa3;
  box-shadow: 0 0 12px rgba(255, 157, 0, 0.38), inset 0 0 10px rgba(255, 157, 0, 0.18);
}

.btn-orange-glow:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px var(--orange-glow), inset 0 0 14px rgba(255, 157, 0, 0.32);
}

/* Comments Panel */
.comments-panel {
  background: linear-gradient(180deg, #151f2b 0%, #0e151e 100%);
  border: 1.5px solid #354c63;
  border-radius: 7px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comments-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.86rem;
  color: var(--cyan-soft);
}

.comments-count {
  font-size: 0.78rem;
  color: var(--orange-neon);
}

.comments-feed {
  max-height: 54px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  padding-right: 4px;
}

.comment-entry {
  color: #d2e4f5;
  line-height: 1.25;
}

.comment-entry strong {
  color: var(--cyan-soft);
  margin-right: 4px;
}

.comment-form {
  display: flex;
  gap: 5px;
}

.comment-input {
  flex: 1;
  padding: 4px 8px;
  background: #0a1017;
  border: 1px solid #2e4359;
  border-radius: 4px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.82rem;
}

.btn-post-comment {
  padding: 4px 10px;
  background: #172a3a;
  border: 1px solid var(--cyan-neon);
  border-radius: 4px;
  color: var(--cyan-soft);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   SUBMIT A TUNE / DYNO BUILDER MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 8, 13, 0.86);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
}

.submit-modal-frame {
  width: 100%;
  max-width: 1320px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 12px;
  border-color: var(--cyan-neon);
  box-shadow: 0 0 36px rgba(0, 229, 255, 0.3), 0 20px 50px rgba(0, 0, 0, 0.95);
  padding: 20px 24px;
}

.modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid #35506b;
}

.modal-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--cyan-neon);
  text-shadow: 0 0 10px var(--cyan-glow);
}

.modal-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-import-json-toggle {
  padding: 5px 12px;
  background: rgba(255, 157, 0, 0.14);
  border: 1px solid var(--orange-neon);
  border-radius: 5px;
  color: #ffd480;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-close-modal {
  background: transparent;
  border: 1px solid #445e78;
  border-radius: 5px;
  width: 32px;
  height: 32px;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.submit-tuner-badge {
  padding: 5px 12px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid var(--cyan-neon);
  border-radius: 5px;
  color: var(--cyan-neon);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.form-meta-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.form-meta-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--cyan-soft);
  letter-spacing: 0.05em;
}

.builder-dyno-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.builder-slider-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 350px;
  overflow-y: auto;
  padding-right: 4px;
}

.builder-range-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.builder-range-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #d8ebff;
}

.builder-range-top strong {
  color: var(--cyan-neon);
}

.nfsu2-range-input {
  width: 100%;
  accent-color: var(--cyan-neon);
  cursor: pointer;
  height: 6px;
}

.builder-live-bench {
  margin-top: 10px;
  padding: 8px 10px;
  background: #0b1118;
  border: 1px solid var(--orange-neon);
  border-radius: 6px;
  font-size: 0.85rem;
}

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

/* ==========================================================================
   SHAREABLE PNG TUNE CARD MODAL
   ========================================================================== */
.share-modal-frame {
  width: 100%;
  max-width: 980px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 12px;
  border-color: var(--cyan-neon);
  box-shadow: 0 0 36px rgba(0, 229, 255, 0.32), 0 20px 50px rgba(0, 0, 0, 0.95);
  padding: 20px 24px;
}

.share-helper-note {
  color: var(--text-silver);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.share-canvas-preview-wrap {
  width: 100%;
  background: #070b10;
  border: 2px solid #35506b;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
}

#share-card-canvas,
#share-card-img-preview {
  width: 100%;
  max-width: 880px;
  height: auto;
  border-radius: 6px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  display: block;
}

/* Toast Notification */
.nfsu2-toast {
  position: fixed;
  bottom: 22px;
  right: 24px;
  z-index: 200;
  padding: 12px 20px;
  background: linear-gradient(180deg, #172838 0%, #0d1620 100%);
  border: 2px solid var(--cyan-neon);
  border-radius: 7px;
  color: #ffffff;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.86rem;
  box-shadow: 0 0 20px var(--cyan-glow), 0 8px 24px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   FULL-WIDTH BAY VIEW GARAGE HEADER, HOME HERO, SHOWCASE & MODALS
   ========================================================================== */
.bvg-site-header {
  width: 100%;
  background: linear-gradient(180deg, rgba(18, 29, 41, 0.98) 0%, rgba(8, 13, 20, 0.98) 100%);
  border-bottom: 2px solid #35506b;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 10;
}

.bvg-header-inner {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 12px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.bvg-brand-cluster {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  user-select: none;
}

.bvg-brand-overline {
  font-family: var(--font-display);
  font-size: 0.62rem;
  color: var(--cyan-neon);
  letter-spacing: 0.14em;
}

.bvg-brand-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}

.bvg-brand-accent {
  color: var(--orange-neon);
  text-shadow: 0 0 12px rgba(255, 157, 0, 0.55);
}

.header-disclaimer-strip {
  width: 100%;
  background: #060a0f;
  border-top: 1px solid rgba(53, 80, 107, 0.65);
  padding: 5px 36px;
  text-align: center;
}

.bvg-header-disclaimer-inner {
  max-width: 1420px;
  margin: 0 auto;
  color: #9bb5ce;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.tunes-page-banner {
  text-align: center;
  margin-bottom: 6px;
  position: relative;
}

.hero-disclaimer-box {
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(7, 11, 16, 0.92);
  border: 1px solid rgba(255, 157, 0, 0.55);
  border-left: 3px solid var(--orange-neon);
  border-radius: 6px;
  color: #cfe4fa;
  font-size: 0.85rem;
  line-height: 1.45;
}

.hero-disclaimer-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange-neon);
  letter-spacing: 0.06em;
  margin-right: 6px;
}

.nav-links-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.main-nav-link {
  padding: 7px 14px;
  background: rgba(13, 21, 30, 0.85);
  border: 1px solid #35506b;
  border-radius: 6px;
  color: #b8d0e8;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.16s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.main-nav-link:hover {
  border-color: var(--cyan-neon);
  color: #ffffff;
}

.main-nav-link.active {
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.22) 0%, rgba(0, 120, 160, 0.28) 100%);
  border-color: var(--cyan-neon);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
}

/* ==========================================================================
   NAVIGATION DROPDOWN MENU (GAMES -> ORIGINAL RELEASE)
   ========================================================================== */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dropdown-chevron {
  font-size: 0.65rem;
  transition: transform 0.16s ease;
}

.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  min-width: 280px;
  background: linear-gradient(180deg, #0e1722 0%, #060b10 100%);
  border: 1px solid var(--cyan-neon);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.9), 0 0 16px rgba(0, 229, 255, 0.25);
  padding: 6px;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  cursor: pointer;
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.4);
}

.dropdown-item-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.dropdown-item-sub {
  font-size: 0.72rem;
  color: #9bb5cf;
}

.nav-dropdown-item:hover .dropdown-item-title {
  color: var(--cyan-neon);
}

.nav-soon-pill {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 157, 0, 0.2);
  border: 1px solid var(--orange-neon);
  color: var(--orange-neon);
  font-size: 0.62rem;
}

.nav-auth-group,
.nav-guest-controls,
.nav-user-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-user-handle {
  padding: 5px 11px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.45);
  border-radius: 5px;
  color: var(--cyan-neon);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
}

.btn-nav-auth {
  padding: 6px 12px;
  border-radius: 5px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-nav-login,
.btn-nav-settings {
  background: #142231;
  border: 1px solid var(--cyan-neon);
  color: #ffffff;
}

.btn-nav-login:hover,
.btn-nav-settings:hover {
  background: rgba(0, 229, 255, 0.22);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.35);
}

.btn-nav-register {
  background: linear-gradient(180deg, #ff8800 0%, #cc4400 100%);
  border: 1px solid #ffbe55;
  color: #ffffff;
}

.btn-nav-register:hover {
  box-shadow: 0 0 12px rgba(255, 145, 0, 0.55);
}

.btn-nav-logout {
  background: #1a1f28;
  border: 1px solid #5a6f86;
  color: #cbdcf0;
}

.btn-nav-logout:hover {
  border-color: #ff5555;
  color: #ff9999;
}

/* Home View, Full-Width Hero & Car Showcase View */
.home-frame,
.showcase-frame {
  padding: 26px 28px;
}

.home-frame {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bvg-fullwidth-hero {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #060a0f;
  border-top: none;
  border-bottom: 2px solid #35506b;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.78);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.hero-image-stage {
  position: relative;
  width: 100%;
  line-height: 0;
}

.hero-bg-image {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ==========================================================================
   HERO TRIBAL NEON ACTION BUTTONS (MATCHING BUTTON EXAMPLE.JPG)
   ========================================================================== */
.hero-tribal-cta-overlay {
  position: absolute;
  top: calc(50% - 16px);
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 0 20px;
  width: 100%;
  max-width: 1100px;
  z-index: 5;
}

.btn-hero-tribal {
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 380px;
  height: 80px;
  user-select: none;
  transition: transform 0.18s cubic-bezier(0.2, 0.9, 0.3, 1.2), filter 0.18s ease;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.85));
}

.btn-hero-tribal:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn-hero-tribal:active {
  transform: translateY(1px) scale(0.98);
}

.tribal-btn-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  pointer-events: none;
}

.btn-tribal-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.05em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}

.btn-hero-tribal-orange .btn-tribal-text {
  color: #ffb833;
  text-shadow:
    0 0 6px #ff7b00,
    0 0 14px #ff5100,
    0 0 26px rgba(255, 60, 0, 0.9),
    0 2px 2px rgba(0, 0, 0, 0.9);
}

.btn-hero-tribal-orange:hover {
  filter: drop-shadow(0 0 18px rgba(255, 140, 0, 0.75));
}

.btn-hero-tribal-orange:hover .btn-tribal-text {
  color: #ffffff;
  text-shadow:
    0 0 8px #ffaa00,
    0 0 20px #ff6600,
    0 0 35px rgba(255, 100, 0, 1),
    0 2px 2px rgba(0, 0, 0, 0.9);
}

.btn-hero-tribal-cyan .btn-tribal-text {
  color: #a4f5ff;
  text-shadow:
    0 0 6px #00c3ff,
    0 0 14px #0088ff,
    0 0 26px rgba(0, 180, 255, 0.9),
    0 2px 2px rgba(0, 0, 0, 0.9);
}

.btn-hero-tribal-cyan:hover {
  filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.75));
}

.btn-hero-tribal-cyan:hover .btn-tribal-text {
  color: #ffffff;
  text-shadow:
    0 0 8px #5ce6ff,
    0 0 20px #00aeff,
    0 0 35px rgba(0, 210, 255, 1),
    0 2px 2px rgba(0, 0, 0, 0.9);
}

.hero-bottom-disclaimer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(5, 9, 14, 0.82) 0%, rgba(5, 9, 14, 0.96) 100%);
  border-top: 1px solid rgba(255, 157, 0, 0.55);
  padding: 8px 36px;
  backdrop-filter: blur(4px);
  line-height: 1.4;
}

.hero-bottom-disclaimer-inner {
  max-width: 1420px;
  margin: 0 auto;
  text-align: center;
  color: #dbeeff;
  font-size: 0.84rem;
}

.home-section-block {
  background:
    radial-gradient(circle at 14% 20%, rgba(0, 229, 255, 0.11) 0%, transparent 48%),
    radial-gradient(circle at 88% 80%, rgba(255, 145, 0, 0.11) 0%, transparent 48%),
    linear-gradient(135deg, rgba(16, 28, 42, 0.95) 0%, rgba(8, 13, 20, 0.98) 100%);
  border: 1px solid #365675;
  border-radius: 10px;
  padding: 26px 26px;
  box-shadow: inset 0 0 28px rgba(0, 229, 255, 0.07);
}

.home-intro-section {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 26px;
  align-items: center;
}

.home-tune-preview-col {
  display: flex;
  flex-direction: column;
}

.home-screenshot-card {
  background: linear-gradient(180deg, #0d1622 0%, #070b11 100%);
  border: 1px solid var(--cyan-neon);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.2), inset 0 0 20px rgba(0, 229, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-screenshot-frame {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2e4964;
  background: #060a0f;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  max-height: 380px;
  display: flex;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.home-screenshot-frame:hover {
  border-color: var(--orange-neon);
  box-shadow: 0 0 16px rgba(255, 157, 0, 0.35);
}

.home-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.home-screenshot-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-screenshot-cta-row>.btn-detail-action {
  flex: 1;
  min-width: 190px;
  text-align: center;
  justify-content: center;
}

.home-showcase-section {
  border-color: rgba(255, 157, 0, 0.65);
  box-shadow: inset 0 0 32px rgba(255, 145, 0, 0.09);
}

.home-showcase-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.home-showcase-copy {
  flex: 1;
  min-width: 280px;
}

.home-section-heading {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.32);
}

.home-section-text {
  color: var(--text-silver);
  font-size: 0.98rem;
  line-height: 1.52;
  margin-bottom: 14px;
}

.home-showcase-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.showcase-feature-badge {
  padding: 5px 11px;
  background: rgba(11, 18, 26, 0.9);
  border: 1px solid #3c5b7c;
  border-radius: 5px;
  font-family: var(--font-display);
  font-size: 0.66rem;
  color: #cbe2f8;
  letter-spacing: 0.06em;
}

.home-showcase-action-col {
  display: flex;
  align-items: center;
}

.home-accounts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.home-accounts-header>div {
  flex: 1;
  min-width: 280px;
}

.home-account-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.account-feature-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.home-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--cyan-neon);
  letter-spacing: 0.12em;
}

.hero-culture-pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 4px;
  background: rgba(255, 157, 0, 0.16);
  border: 1px solid var(--orange-neon);
  color: #ffd180;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.home-hero-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-style: italic;
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.38);
}

.home-hero-culture-lead {
  color: #eef6ff;
  font-size: 1.04rem;
  line-height: 1.54;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--orange-neon);
}

.home-hero-desc {
  color: var(--text-silver);
  font-size: 0.98rem;
  line-height: 1.52;
  margin-bottom: 18px;
}

.home-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-car-showcase-card {
  background: linear-gradient(180deg, #0d1622 0%, #070b11 100%);
  border: 1px solid var(--cyan-neon);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.2), inset 0 0 20px rgba(0, 229, 255, 0.08);
}

.hero-showcase-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hero-hud-tag {
  font-family: var(--font-display);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  padding: 3px 8px;
  border-radius: 4px;
}

.hero-hud-tag.tag-cyan {
  background: rgba(0, 229, 255, 0.14);
  border: 1px solid rgba(0, 229, 255, 0.5);
  color: var(--cyan-neon);
}

.hero-hud-tag.tag-orange {
  background: rgba(255, 157, 0, 0.16);
  border: 1px solid rgba(255, 157, 0, 0.55);
  color: var(--orange-neon);
}

.hero-car-stage {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2b445e;
  background: #060a0f;
}

.hero-car-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.hero-neon-underglow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 6px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.85) 0%, rgba(255, 145, 0, 0.45) 55%, transparent 80%);
  filter: blur(4px);
  pointer-events: none;
}

.hero-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(72, 108, 143, 0.35);
}

.hero-tel-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-tel-label {
  font-family: var(--font-display);
  font-size: 0.58rem;
  color: #8ea9c4;
  letter-spacing: 0.06em;
}

.hero-tel-val {
  font-family: var(--font-display);
  font-size: 0.74rem;
  color: #ffffff;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-content: center;
}

.home-stat-card {
  background: #0b121a;
  border: 1px solid #334e68;
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.home-stat-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--orange-neon);
  text-shadow: 0 0 12px rgba(255, 145, 0, 0.45);
}

.home-stat-label {
  font-family: var(--font-display);
  font-size: 0.62rem;
  color: #b9d2ea;
  letter-spacing: 0.05em;
}

.home-portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.home-portal-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
}

.home-portal-text {
  color: var(--text-silver);
  font-size: 0.93rem;
  line-height: 1.45;
}

.showcase-coming-soon-box {
  text-align: center;
  padding: 64px 24px;
  background: linear-gradient(180deg, rgba(16, 26, 38, 0.92) 0%, rgba(8, 13, 19, 0.96) 100%);
  border: 1px solid var(--orange-neon);
  border-radius: 10px;
  box-shadow: inset 0 0 32px rgba(255, 145, 0, 0.12);
}

.showcase-coming-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-style: italic;
  color: #ffffff;
  margin: 8px 0 12px;
  text-shadow: 0 0 16px rgba(255, 145, 0, 0.5);
}

.showcase-coming-desc {
  max-width: 640px;
  margin: 0 auto 22px;
  color: var(--text-silver);
  font-size: 1.02rem;
  line-height: 1.5;
}

/* ==========================================================================
   VIEW 4: ORIGINAL RELEASE RETROSPECTIVE & DEFINITIVE GUIDE
   ========================================================================== */
.guide-frame {
  padding: 32px 36px;
  background:
    radial-gradient(circle at 12% 16%, rgba(0, 229, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 88% 84%, rgba(255, 145, 0, 0.08) 0%, transparent 45%),
    linear-gradient(135deg, rgba(14, 23, 34, 0.98) 0%, rgba(6, 10, 16, 0.99) 100%);
  border: 1px solid #365675;
}

.guide-header {
  border-bottom: 1px solid rgba(72, 108, 143, 0.4);
  padding-bottom: 20px;
  margin-bottom: 26px;
}

.guide-main-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-style: italic;
  line-height: 1.25;
  color: #ffffff;
  margin: 10px 0 12px;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
}

.guide-byline {
  color: #a4bed8;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

.guide-content-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.guide-prose-block {
  color: #dbeaff;
  font-size: 1.02rem;
  line-height: 1.68;
}

.guide-lead-para {
  font-size: 1.12rem;
  line-height: 1.72;
  color: #ffffff;
  padding-left: 14px;
  border-left: 3px solid var(--cyan-neon);
}

.guide-section-h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: #ffffff;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(53, 80, 107, 0.6);
  text-shadow: 0 0 12px rgba(255, 157, 0, 0.4);
}

.guide-section-h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--cyan-neon);
  margin: 22px 0 10px;
}

.guide-bullet-list {
  margin: 12px 0 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-bullet-list li {
  line-height: 1.58;
}

.guide-tip-quote {
  background: rgba(14, 25, 38, 0.85);
  border: 1px solid var(--cyan-neon);
  border-radius: 6px;
  padding: 12px 18px;
  margin: 16px 0;
  color: #dcf4ff;
  font-size: 1rem;
}

.guide-warning-box {
  background: rgba(40, 18, 10, 0.85);
  border: 1px solid var(--orange-neon);
  border-left: 4px solid var(--orange-neon);
  border-radius: 6px;
  padding: 14px 18px;
  margin: 16px 0 20px;
  color: #ffe0cc;
  font-size: 0.96rem;
  line-height: 1.5;
}

.warning-tag {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--orange-neon);
  letter-spacing: 0.08em;
  margin-right: 6px;
}

.guide-feature-figure {
  margin: 20px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #34506c;
  background: #070b10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.guide-feature-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.guide-figcaption {
  padding: 10px 16px;
  background: #090e15;
  color: #9cb8d4;
  font-size: 0.85rem;
  font-style: italic;
  border-top: 1px solid rgba(52, 80, 108, 0.5);
  text-align: center;
}

/* Data Tables inside Guide */
.table-responsive-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid #35506b;
  border-radius: 8px;
}

.guide-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  background: #0a1118;
}

.guide-data-table th {
  background: #111d29;
  font-family: var(--font-display);
  font-size: 0.76rem;
  color: var(--cyan-neon);
  letter-spacing: 0.06em;
  padding: 12px 14px;
  border-bottom: 1px solid #35506b;
  white-space: nowrap;
}

.guide-data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(53, 80, 107, 0.4);
  color: #d2e4f6;
  line-height: 1.45;
}

.guide-data-table tr:hover td {
  background: rgba(0, 229, 255, 0.06);
}

.guide-kbd {
  display: inline-block;
  padding: 2px 7px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: #00e5ff;
  background: #0f1c29;
  border: 1px solid #35506b;
  border-bottom: 2px solid #00e5ff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  vertical-align: middle;
  letter-spacing: 0.05em;
}

/* Shop Category Cards with Correct Neon Colors */
.shop-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.shop-info-card {
  background: #0b131c;
  border-radius: 8px;
  border: 1px solid #334e68;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.6);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.shop-info-card:hover {
  transform: translateY(-2px);
}

.shop-info-card.shop-blue {
  border-left: 4px solid #1a8cff;
}
.shop-info-card.shop-blue:hover {
  box-shadow: 0 0 16px rgba(26, 140, 255, 0.35);
}

.shop-info-card.shop-green {
  border-left: 4px solid #39e639;
}
.shop-info-card.shop-green:hover {
  box-shadow: 0 0 16px rgba(57, 230, 57, 0.35);
}

.shop-info-card.shop-yellow {
  border-left: 4px solid #ffcc00;
}
.shop-info-card.shop-yellow:hover {
  box-shadow: 0 0 16px rgba(255, 204, 0, 0.35);
}

.shop-info-card.shop-red {
  border-left: 4px solid #ff2626;
}
.shop-info-card.shop-red:hover {
  box-shadow: 0 0 16px rgba(255, 38, 38, 0.35);
}

.shop-info-card.shop-cyan {
  border-left: 4px solid #00e5ff;
}
.shop-info-card.shop-cyan:hover {
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.35);
}

.shop-badge-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-neon-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}

.blue-indicator { background: #1a8cff; color: #1a8cff; }
.green-indicator { background: #39e639; color: #39e639; }
.yellow-indicator { background: #ffcc00; color: #ffcc00; }
.red-indicator { background: #ff2626; color: #ff2626; }
.cyan-indicator { background: #00e5ff; color: #00e5ff; }

.shop-category-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.shop-light-label {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.shop-blue .shop-light-label { color: #6bb6ff; border: 1px solid rgba(26, 140, 255, 0.4); }
.shop-green .shop-light-label { color: #80ff80; border: 1px solid rgba(57, 230, 57, 0.4); }
.shop-yellow .shop-light-label { color: #ffe680; border: 1px solid rgba(255, 204, 0, 0.4); }
.shop-red .shop-light-label { color: #ff8080; border: 1px solid rgba(255, 38, 38, 0.4); }
.shop-cyan .shop-light-label { color: #80f2ff; border: 1px solid rgba(0, 229, 255, 0.4); }

.shop-service-desc {
  font-size: 0.92rem;
  color: #c7def4;
  line-height: 1.48;
  margin: 0;
}

.guide-conclusion-block {
  border-top: 1px solid rgba(53, 80, 107, 0.6);
  padding-top: 22px;
}

/* Rate Button & Rate Prompt Modal */
.btn-rate-zero.rated-locked {
  border-color: #5ce600;
  color: #5ce600;
  background: rgba(92, 230, 0, 0.12);
  cursor: not-allowed;
}

.star-cluster .star-btn.readonly-star {
  cursor: default;
  pointer-events: none;
}

.compact-modal-frame {
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 12px;
  border-color: var(--cyan-neon);
  box-shadow: 0 0 36px rgba(0, 229, 255, 0.32), 0 20px 50px rgba(0, 0, 0, 0.95);
  padding: 20px 24px;
}

.account-modal-frame {
  max-width: 680px;
}

.rate-prompt-selector {
  background: #0a1017;
  border: 1px solid #35506b;
  border-radius: 8px;
  padding: 16px;
  margin: 10px 0 14px;
  text-align: center;
}

.rate-prompt-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.rate-option-btn {
  padding: 8px 14px;
  background: #131f2c;
  border: 1px solid #3c5875;
  border-radius: 6px;
  color: #c8def4;
  font-family: var(--font-display);
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rate-option-btn:hover,
.rate-option-btn.active {
  background: linear-gradient(180deg, #ff9900 0%, #cc5200 100%);
  border-color: #ffd07b;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 153, 0, 0.5);
}

.rate-selected-preview {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--cyan-neon);
}

/* Auth & Account Settings Modals */
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.auth-tab-btn {
  flex: 1;
  padding: 8px 10px;
  background: #0f1822;
  border: 1px solid #35506b;
  border-radius: 6px;
  color: #a9c4df;
  font-family: var(--font-display);
  font-size: 0.73rem;
  cursor: pointer;
}

.auth-tab-btn.active {
  background: rgba(0, 229, 255, 0.18);
  border-color: var(--cyan-neon);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.honeypot-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.bot-check-panel {
  background: #091017;
  border: 1px solid var(--orange-neon);
  border-radius: 7px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bot-check-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--orange-neon);
}

.btn-refresh-challenge {
  padding: 3px 8px;
  background: #162433;
  border: 1px solid var(--cyan-neon);
  border-radius: 4px;
  color: var(--cyan-neon);
  font-family: var(--font-display);
  font-size: 0.64rem;
  cursor: pointer;
}

.bot-challenge-prompt {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
}

.bot-human-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #cfe4fa;
  cursor: pointer;
}

.auth-error-msg {
  padding: 8px 10px;
  background: rgba(255, 50, 50, 0.15);
  border: 1px solid #ff4d4d;
  border-radius: 5px;
  color: #ff9999;
  font-size: 0.85rem;
}

.btn-link-subtle {
  background: transparent;
  border: none;
  color: var(--cyan-neon);
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
  margin-right: auto;
}

.account-summary-bar {
  padding: 12px 14px;
  background: #0a1118;
  border: 1px solid var(--cyan-neon);
  border-radius: 7px;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
}

.account-sections-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.account-subform {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.danger-zone-panel {
  border-color: #ff4444;
}

.danger-title {
  color: #ff5555;
}

.btn-danger-glow {
  background: linear-gradient(180deg, #d62828 0%, #851212 100%);
  border: 1px solid #ff7b7b;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 60, 60, 0.4);
}

/* ==========================================================================
   FULL-WIDTH GLOBAL SITE FOOTER
   ========================================================================== */
.nfsu2-site-footer {
  width: 100%;
  margin-top: 12px;
  padding: 20px 36px 26px;
  background: linear-gradient(180deg, rgba(16, 25, 36, 0.97) 0%, rgba(6, 10, 15, 0.99) 100%);
  border-top: 2px solid #35506b;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.75);
  position: relative;
  z-index: 1;
}

.site-footer-inner {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
}

.site-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(72, 108, 143, 0.35);
  margin-bottom: 12px;
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-style: italic;
  color: #ffffff;
  letter-spacing: 0.06em;
}

.footer-brand-sub {
  font-family: var(--font-display);
  font-size: 0.66rem;
  color: var(--cyan-neon);
  letter-spacing: 0.08em;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-nav-link {
  padding: 5px 12px;
  background: #0d1620;
  border: 1px solid #35506b;
  border-radius: 5px;
  color: #c2daef;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.15s ease;
}

.footer-nav-link:hover {
  border-color: var(--cyan-neon);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.site-footer-disclaimer {
  background: #070c12;
  border: 1px solid rgba(255, 157, 0, 0.45);
  border-radius: 6px;
  padding: 10px 14px;
  text-align: center;
}

.disclaimer-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  color: var(--orange-neon);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.disclaimer-text {
  color: #d8ebff;
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1180px) {
  .hero-tribal-cta-overlay {
    gap: 20px;
  }

  .btn-hero-tribal {
    width: 320px;
    height: 70px;
  }

  .btn-tribal-text {
    font-size: 1.22rem;
  }

  .tunes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dyno-modules-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dyno-middle-col {
    grid-column: span 2;
  }

  .dyno-left-col {
    grid-column: span 1;
  }

  .dyno-right-col {
    grid-column: span 1;
    flex-direction: column;
  }

  .dyno-right-col > .dyno-panel,
  .dyno-right-col > .comments-panel {
    width: 100%;
  }

  .detail-top-banner {
    grid-template-columns: 280px 1fr;
  }

  .dyno-bench-col {
    grid-column: span 2;
  }

  .builder-dyno-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-intro-section {
    grid-template-columns: 1fr;
  }

  .home-account-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .hero-tribal-cta-overlay {
    position: static;
    flex-direction: column;
    gap: 14px;
    padding: 16px 12px;
    background: #070b10;
  }

  .btn-hero-tribal {
    width: 100%;
    max-width: 340px;
    height: 68px;
  }

  .btn-tribal-text {
    font-size: 1.15rem;
  }

  .app-shell {
    padding: 8px 12px 20px;
  }

  .hero-bottom-disclaimer {
    position: static;
    padding: 8px 14px;
  }

  .browse-layout {
    grid-template-columns: 1fr;
  }

  .tunes-grid,
  .home-portal-grid,
  .home-account-features-grid,
  .hero-telemetry-strip {
    grid-template-columns: 1fr;
  }

  .detail-top-banner,
  .dyno-modules-grid,
  .dyno-middle-top-row,
  .detail-footer-bar,
  .builder-dyno-grid,
  .form-meta-grid {
    grid-template-columns: 1fr;
  }

  .dyno-right-col {
    grid-column: span 1;
    flex-direction: column;
  }
}

/* ==========================================================================
   CAR SHOWCASE & COMMUNITY VISUAL BUILDS
   ========================================================================== */
.showcase-header {
  margin-bottom: 24px;
}

.showcase-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 6px 0 10px;
}

.showcase-main-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-shadow: 0 0 14px var(--cyan-glow);
  margin: 0;
}

.showcase-subtitle {
  color: var(--text-silver);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 18px;
}

.showcase-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  background: rgba(11, 18, 26, 0.75);
  border: 1px solid var(--border-steel);
  border-radius: 8px;
  padding: 12px 16px;
}

.showcase-filter-group,
.showcase-search-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.showcase-filter-group {
  min-width: 190px;
}

.showcase-search-group {
  flex: 1;
  min-width: 200px;
}

.showcase-stats-chip {
  align-self: center;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--cyan-neon);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 6px 14px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Showcase Grid & Cards */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.showcase-card {
  background: linear-gradient(180deg, #152230 0%, #0d151e 100%);
  border: 1.5px solid #354e68;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.showcase-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan-neon);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.22);
}

.showcase-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080e14;
  overflow: hidden;
}

.showcase-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.showcase-card:hover .showcase-card-img {
  transform: scale(1.04);
}

.showcase-multi-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid var(--cyan-neon);
  color: var(--cyan-neon);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.showcase-car-badge-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(14, 22, 32, 0.88);
  border: 1px solid rgba(255, 157, 0, 0.6);
  color: var(--amber-neon);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.showcase-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showcase-card-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
  line-height: 1.25;
}

.showcase-card-desc {
  font-size: 0.85rem;
  color: #b0c6dc;
  line-height: 1.45;
  margin: 0 0 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.showcase-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(53, 78, 104, 0.5);
  padding-top: 10px;
  margin-top: auto;
}

.showcase-card-author {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--cyan-soft);
  font-weight: 700;
}

.showcase-card-ratings {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.84rem;
  color: var(--amber-neon);
}

.showcase-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-card-icon-action {
  background: rgba(14, 23, 34, 0.8);
  border: 1px solid #354e68;
  color: #d6e8fa;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-card-icon-action:hover {
  border-color: var(--cyan-neon);
  color: #ffffff;
}

.btn-card-icon-action.fav-active {
  color: var(--amber-neon);
  border-color: var(--amber-neon);
  background: rgba(255, 157, 0, 0.15);
}

/* Modals Sizing */
.showcase-modal-frame,
.showcase-detail-frame {
  max-width: 920px;
  width: 95vw;
}

.cropper-modal-frame {
  max-width: 760px;
  width: 95vw;
}

/* Upload Slots Grid */
.showcase-upload-slots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 12px 0;
}

.showcase-upload-card {
  background: #0d151f;
  border: 1.5px dashed #354e68;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upload-slot-badge {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--cyan-neon);
  letter-spacing: 0.05em;
}

.upload-preview-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #070c12;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(53, 78, 104, 0.5);
}

.upload-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  color: #728ca6;
}

.upload-icon {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.upload-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #b0c7de;
}

.upload-hint {
  font-size: 0.74rem;
  color: #607992;
  margin-top: 2px;
}

.upload-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.upload-file-btn {
  cursor: pointer;
  margin: 0;
}

.btn-crop-action {
  border: 1px solid var(--amber-neon);
  color: var(--amber-neon);
  background: rgba(255, 157, 0, 0.1);
}

.btn-crop-action:hover {
  background: rgba(255, 157, 0, 0.25);
  box-shadow: 0 0 10px rgba(255, 157, 0, 0.4);
}

.btn-remove-slot {
  border: 1px solid #d94b4b;
  color: #ff6b6b;
  background: rgba(217, 75, 75, 0.1);
  padding: 10px 12px;
}

.webp-notice-text {
  font-size: 0.82rem;
  color: #9ab4cc;
  margin: 12px 0 16px;
  line-height: 1.45;
}

/* Cropper Modal */
.cropper-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cropper-instructions {
  color: var(--text-silver);
  font-size: 0.9rem;
  margin: 0;
}

.cropper-viewport-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border: 1.5px solid var(--cyan-neon);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cropper-viewport-wrap:active {
  cursor: grabbing;
}

#cropper-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.cropper-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(0, 229, 255, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 229, 255, 0.15) 1px, transparent 1px);
  background-size: 33.333% 33.333%;
  box-shadow: inset 0 0 0 2px rgba(0, 229, 255, 0.6);
}

.cropper-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #0d1620;
  border: 1px solid #334e68;
  border-radius: 6px;
  padding: 10px 14px;
}

.cropper-zoom-controls,
.cropper-aspect-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cropper-ctrl-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--cyan-neon);
  letter-spacing: 0.05em;
}

.btn-cropper-step,
.btn-aspect-btn,
.btn-cropper-reset {
  background: #152230;
  border: 1px solid #395574;
  color: #d6e8fa;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-aspect-btn.active,
.btn-cropper-step:hover,
.btn-aspect-btn:hover,
.btn-cropper-reset:hover {
  background: rgba(0, 229, 255, 0.18);
  border-color: var(--cyan-neon);
  color: #ffffff;
}

.cropper-range {
  accent-color: var(--cyan-neon);
  cursor: pointer;
}

/* Detail Modal Content */
.showcase-detail-content-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  margin-top: 14px;
}

.showcase-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showcase-main-carousel-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid #36506a;
}

.showcase-carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--cyan-neon);
  color: var(--cyan-neon);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.carousel-nav-btn:hover {
  background: rgba(0, 229, 255, 0.3);
  color: #ffffff;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--cyan-neon);
  color: var(--cyan-neon);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.carousel-thumbs-row {
  display: flex;
  gap: 10px;
}

.carousel-thumb-btn {
  width: 90px;
  aspect-ratio: 16 / 9;
  background: #070c12;
  border: 1.5px solid #354e68;
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-thumb-btn.active,
.carousel-thumb-btn:hover {
  border-color: var(--cyan-neon);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.35);
}

.showcase-detail-info-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showcase-actions-card,
.showcase-share-card {
  background: linear-gradient(180deg, #152230 0%, #0d151e 100%);
  border: 1.5px solid #354c63;
  border-radius: 7px;
  padding: 12px 14px;
}

.showcase-rating-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.showcase-stars-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-fav-ride {
  margin-left: auto;
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn-fav-ride.fav-active {
  background: linear-gradient(180deg, #ffcc00 0%, #e69500 100%);
  color: #101924;
}

.showcase-share-btns-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-share-social {
  background: #111d29;
  border: 1px solid #354e68;
  color: #d6e8fa;
  font-size: 0.85rem;
}

.btn-share-social:hover {
  border-color: var(--cyan-neon);
  color: #ffffff;
}

@media (max-width: 820px) {
  .showcase-upload-slots-grid,
  .showcase-detail-content-grid {
    grid-template-columns: 1fr;
  }

  .showcase-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .showcase-filter-group,
  .showcase-search-group {
    width: 100%;
  }

  .showcase-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .showcase-main-title {
    font-size: 1.8rem;
  }
}
/* Real links in the header (nav items + logo were buttons/divs before the page split) */
a.main-nav-link,
a.bvg-brand-cluster {
  text-decoration: none;
}
a.bvg-brand-cluster {
  color: inherit;
}

/* In-text links in guides + tunes sidebar guide links */
.guide-prose-block p a,
.sidebar-guide-links a {
  color: var(--cyan-neon);
  text-decoration: underline;
  text-decoration-color: rgba(0, 229, 255, 0.45);
  text-underline-offset: 3px;
}
.guide-prose-block p a:hover,
.sidebar-guide-links a:hover {
  color: #ffffff;
  text-decoration-color: currentColor;
}
a.btn-detail-action {
  text-decoration: none;
}
.sidebar-guide-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-silver, #b8d0e8);
  margin: 0 0 8px;
}
.sidebar-guide-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  line-height: 1.35;
}

/* "View Tune" is a link to the static tune page when one exists */
a.btn-card-action {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Pre-rendered dyno settings on static tune pages (replaced by the sliders once app.js runs) */
.static-settings-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--text-silver, #b8d0e8);
}

/* Cloudflare Turnstile human check in the auth / account forms */
.captcha-slot {
  margin: 12px 0 4px;
  min-height: 65px;
}
.captcha-account-wrap {
  margin: 0 0 16px;
}
