@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Bungee&family=Pacifico&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --red: #cf1717;
  --red-dark: #6e0d0d;
  --red-darker: #3a0606;
  --black: #0e0e0e;
  --gray: #b5b5b5;
  --card: #232323;
  --white: #ffffff;
}

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

.hidden { display: none !important; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  overscroll-behavior-x: none;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  overscroll-behavior-x: none;
  position: relative;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, .display {
  font-family: 'Alfa Slab One', cursive;
  line-height: 1.25;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--red);
  background: var(--red);
  color: #fff;
  font-weight: 700;
  letter-spacing: .5px;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--red); }
.btn-outline { background: transparent; }
.btn-outline:hover { background: var(--red); color: #fff; }

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--red) 0%, #a81212 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
  transition: transform .3s ease;
}
header.site-header.hide-header {
  transform: translateY(-100%);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1300px;
  margin: 0 auto;
}
.logo {
  display: inline-block;
  white-space: nowrap;
}
.logo img {
  height: 60px;
  width: auto;
  display: block;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
}
nav.main-nav a {
  display: block;
  padding: 10px 18px;
  font-family: 'Alfa Slab One', cursive;
  font-size: 15px;
  letter-spacing: .5px;
  border: 2px solid transparent;
  transition: border-color .2s;
}
nav.main-nav a:hover, nav.main-nav a.active {
  border-color: #fff;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.admin-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.3);
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
}
.admin-bar button {
  background: none;
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}
.admin-bar button:hover { background: rgba(255,255,255,.15); }

@media (max-width: 860px) {
  nav.main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: 260px;
    height: 100vh;
    background: var(--red-darker);
    transform: translateX(100%);
    transition: transform .25s ease;
    padding: 90px 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    overflow-y: auto;
    z-index: 50;
  }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav ul { flex-direction: column; gap: 4px; }
  .nav-toggle { display: block; position: relative; z-index: 60; }
  .admin-bar {
    margin-left: 0; padding-left: 0; padding-top: 18px;
    border-left: none; border-top: 1px solid rgba(255,255,255,.3);
    justify-content: space-between;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height, 92px));
  display: flex;
  align-items: center;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.25) 60%), var(--card);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slides img.active { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.15) 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 50px 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}
.hero-content h1 {
  font-size: clamp(28px, 5vw, 52px);
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.hero-content p {
  margin-top: 14px;
  font-size: 18px;
  color: var(--gray);
}
.hero-content .btn { margin-top: 24px; }

@media (max-width: 640px) {
  .hero-content { padding: 30px 20px 50px; }
  .hero-content p { font-size: 16px; }
  /* Kundenwunsch: Bild soll nicht mehr 100vh hoch (und dadurch an den Seiten
     beschnitten) sein, sondern im normalen Seitenverhältnis stehen - dafür
     rutscht Termine entsprechend höher und der Banner wird deutlich kleiner.
     Bild und Text/Button dürfen sich dabei aber nicht mehr überlagern, daher
     Bild als eigener schmaler Streifen oben, Text normal darunter (nicht
     mehr wie vorher übereinandergelegt). */
  .hero {
    min-height: 0;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
  }
  .hero-slides {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }
  .hero-content { position: relative; }
}

/* Section headings */
.section {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  font-size: clamp(24px, 4vw, 34px);
  color: var(--red);
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 50px;
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 14px auto 40px;
}
.divider span { width: 90px; height: 2px; background: #fff; opacity: .6; }
.divider svg { width: 26px; height: 26px; }

/* Fixed background video (sits behind every section; only visible through
   the transparent Termine section as it scrolls past) */
.bg-video-fixed {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.bg-video-fixed-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,.72);
  z-index: 1;
}

/* Every real section gets its own stacking context with an opaque
   background so it covers the fixed video as it scrolls over it.
   (header.site-header already has its own sticky z-index: 100.) */
.hero,
.section,
.kontakt,
.site-footer {
  position: relative;
  z-index: 2;
}

/* Termine timeline: transparent background so the fixed video shows through */
.termine {
  background: transparent;
  color: #fff;
}
.termine .section-sub { color: #ddd; }
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 130px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: var(--red);
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  margin-bottom: 40px;
  align-items: start;
}
.tl-day {
  font-family: 'Alfa Slab One', cursive;
  font-size: 20px;
  color: #fff;
  -webkit-text-stroke: .5px #cf1717;
  text-align: right;
  padding-top: 20px;
}
.tl-item::after {
  content: "";
  position: absolute;
  left: 106px;
  top: 24px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid #f19c9c;
}
.tl-card {
  background: var(--card);
  color: #fff;
  padding: 26px 28px;
  border: 1px solid #333;
}
.tl-card h3 { color: var(--red); font-size: 20px; margin-bottom: 10px; }
.tl-card hr { border: none; border-top: 1px solid #555; margin: 18px 0; }
.tl-card .date { color: var(--red); font-size: 13px; letter-spacing: 1px; margin-bottom: 6px; text-transform: uppercase; }

@media (max-width: 640px) {
  .timeline { padding-left: 0; }
  .timeline::before { left: 20px; }
  .tl-item { grid-template-columns: 40px 1fr; }
  .tl-day { text-align: left; font-size: 14px; padding-top: 20px; }
  .tl-item::after { left: 16px; }
}

/* Kalender */
.calendar-wrap {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 800px) {
  .calendar-wrap { grid-template-columns: 1fr; }
}

.calendar {
  background: var(--card);
  border: 1px solid #3a3a3a;
  padding: 24px;
  color: #fff;
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.calendar-header button {
  background: var(--red);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.calendar-header button:hover { background: #a81212; }
.calendar-title {
  font-family: 'Alfa Slab One', cursive;
  font-size: 18px;
  color: var(--red);
  text-transform: capitalize;
}
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ddd;
  background: #1a1a1a;
}
.cal-day.empty { background: transparent; }
.cal-day.today {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
}
.cal-day .dot {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff5f5f;
}
.cal-day.today .dot { background: #fff; }
.cal-day.has-event { cursor: pointer; }
.cal-day.has-event:hover { background: #2a2a2a; }
.cal-day.today.has-event:hover { background: #a81212; }

/* Termin-Popup */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  position: relative;
  background: var(--card);
  border: 1px solid #444;
  border-top: 4px solid var(--red);
  max-width: 480px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 34px 28px 28px;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: #ccc;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { color: #fff; }
.modal-event { margin-bottom: 22px; }
.modal-event:last-child { margin-bottom: 0; }
.modal-event h4 {
  font-family: 'Alfa Slab One', cursive;
  color: var(--red);
  font-size: 18px;
  margin-bottom: 8px;
}
.modal-event .meta { font-size: 14px; color: #bbb; margin-bottom: 6px; }
.modal-event .desc { font-size: 14px; color: #eee; line-height: 1.6; }
.modal-event a { text-decoration: underline; color: #ff9d9d; }
.modal-event + .modal-event { border-top: 1px solid #333; padding-top: 18px; }

.upcoming h3 {
  font-family: 'Alfa Slab One', cursive;
  color: var(--red);
  font-size: 18px;
  margin-bottom: 18px;
}
.event-card {
  display: flex;
  gap: 18px;
  background: var(--card);
  border: 1px solid #333;
  padding: 16px 18px;
  margin-bottom: 14px;
  align-items: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.event-card:hover { background: #2a2a2a; border-color: var(--red); }
.event-card .event-date {
  flex: 0 0 64px;
  text-align: center;
  background: var(--red);
  color: #fff;
  padding: 8px 6px;
  font-family: 'Alfa Slab One', cursive;
}
.event-card .event-date .num { display: block; font-size: 22px; line-height: 1; }
.event-card .event-date .mon { display: block; font-size: 11px; text-transform: uppercase; margin-top: 2px; }
.event-card .event-info { flex: 1; }
.event-card .event-info h4 { font-size: 16px; margin-bottom: 4px; }
.event-card .event-info .meta { font-size: 13px; color: #bbb; }
.event-card .event-info a { text-decoration: underline; font-size: 13px; color: #ff9d9d; }

/* News */
.news {
  background: radial-gradient(circle at 50% 30%, var(--red-dark) 0%, var(--red-darker) 55%, #180202 100%);
}
.news .container { max-width: 820px; }
.news h2 { color: var(--red); font-size: 26px; margin: 30px 0 14px; }
.news p { margin-bottom: 16px; color: #f1e6e6; }
.news .kicker {
  font-family: 'Alfa Slab One', cursive;
  color: #ff9d9d;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.news figure { margin: 24px 0; }
.news figcaption { font-size: 13px; color: var(--gray); margin-top: 6px; }
.podium { list-style: none; margin: 20px 0; }
.podium li { margin-bottom: 14px; padding-left: 8px; border-left: 3px solid var(--red); padding: 6px 0 6px 14px; }
.podium strong { color: #fff; }

/* Mehrere Nachberichte untereinander */
.nachbericht-item {
  scroll-margin-top: calc(var(--header-height, 92px) + 20px);
}
.nachbericht-item + .nachbericht-item {
  margin-top: 46px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.nachbericht-date {
  color: #ff9d9d;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: -8px;
}
.nachbericht-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.nachbericht-head h2 { margin: 0; }
.share-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  padding: 7px 14px;
  border-radius: 20px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  margin-top: 6px;
}
.share-btn:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.share-btn svg { flex-shrink: 0; }
@media (max-width: 520px) {
  .share-btn span { display: none; }
  .share-btn { padding: 8px; border-radius: 50%; }
}

/* Rich-text content coming from the Nachbericht-Editor (Quill) -
   gilt für die Liste auf der Startseite UND die einzelne Permalink-Seite */
#nachbericht-list img, #nachbericht-single img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px auto;
  border: 3px solid #3a0606;
}
#nachbericht-list ul, #nachbericht-list ol, #nachbericht-single ul, #nachbericht-single ol {
  margin: 0 0 16px 22px;
  color: #f1e6e6;
}
#nachbericht-list a, #nachbericht-single a { text-decoration: underline; }
#nachbericht-list .ql-align-center, #nachbericht-single .ql-align-center { text-align: center; }
#nachbericht-list .ql-align-right, #nachbericht-single .ql-align-right { text-align: right; }
#nachbericht-list .ql-align-justify, #nachbericht-single .ql-align-justify { text-align: justify; }

/* Drivers */
.drivers { background: #000; }
.drivers-intro { text-align: center; max-width: 720px; margin: 0 auto 44px; color: var(--gray); }
.driver-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px;
}
.driver-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--card);
  cursor: pointer;
}
.driver-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: transform .3s; }
.driver-card:hover img { transform: scale(1.06); filter: grayscale(0); }
.driver-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.9), transparent);
  padding: 14px 12px 10px;
}
.driver-label .role { color: var(--red); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.driver-label .name { font-weight: 700; }

/* Reglement */
.reglement {
  background: linear-gradient(rgba(10,10,10,.8), rgba(10,10,10,.85)), url('images/reglement.jpg') center/cover no-repeat;
}
.reg-list { max-width: 640px; margin: 0 auto; }
.reg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: rgba(0,0,0,.5);
  border: 1px solid #3a3a3a;
  margin-bottom: 14px;
}
.reg-row span { font-weight: 600; }

/* Gallery: Masonry - jedes Bild behält sein eigenes Seitenverhältnis */
.gallery-grid {
  column-count: 3;
  column-gap: 10px;
}
.gallery-grid a {
  display: block;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--card);
}
.gallery-grid a img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .3s;
}
.gallery-grid a:hover img { transform: scale(1.05); }
@media (max-width: 900px) {
  .gallery-grid { column-count: 2; }
}
@media (max-width: 520px) {
  .gallery-grid { column-count: 1; }
}

/* Lampen */
.lampen { background: linear-gradient(120deg, var(--red-darker), var(--red-dark)); }
.lampen-flex { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.lampen-text { flex: 1 1 380px; }
.lampen-img { flex: 1 1 380px; }
.lampen-img img { border: 4px solid #000; }

/* Partner */
.partner {
  background: linear-gradient(rgba(10,5,15,.45), rgba(10,5,15,.55)), url('images/partner.jpg') center/cover;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.partner-card {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  transition: transform .2s;
}
.partner-card:hover { transform: translateY(-4px); }
.partner-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* CTA / Kontakt */
.kontakt {
  text-align: center;
  padding: 90px 24px;
  background: radial-gradient(circle at 50% 35%, var(--red) 0%, var(--red-dark) 60%, var(--red-darker) 100%);
}
.kontakt h2 { font-size: clamp(24px, 4vw, 34px); margin-bottom: 14px; }
.kontakt p { margin-bottom: 26px; color: #ffe3e3; }
.kontakt a.mail { text-decoration: underline; font-weight: 700; }

/* Footer */
footer.site-footer {
  background: #050505;
  text-align: center;
  padding: 70px 24px 40px;
}
footer .logo { display: inline-block; margin-bottom: 24px; }
footer .logo img { height: 90px; margin: 0 auto; }
footer .legal { color: #888; font-size: 14px; }
footer .legal a { text-decoration: underline; }
footer .legal a.admin-dot {
  text-decoration: none;
  opacity: .15;
  margin-left: 10px;
  font-size: 16px;
  transition: opacity .2s;
}
footer .legal a.admin-dot:hover { opacity: .6; }
footer .visitor-counter { color: #555; font-size: 12px; margin-top: 10px; letter-spacing: .3px; }

/* Lampen-Detailseite */
.lampen-feature {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.lampen-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.15) 75%);
}
.lampen-feature-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.lampen-feature .lampen-feature-text {
  position: relative;
  z-index: 2;
  max-width: 480px;
  padding: 60px 40px;
}
.lampen-feature h2 {
  color: var(--red);
  font-size: 26px;
  margin-bottom: 16px;
  letter-spacing: .5px;
}
.lampen-feature p { color: #f1f1f1; font-size: 16px; }
@media (max-width: 700px) {
  .lampen-feature { min-height: 380px; }
  .lampen-feature::before { background: linear-gradient(0deg, rgba(0,0,0,.9) 30%, rgba(0,0,0,.35) 100%); }
  .lampen-feature .lampen-feature-text { max-width: 100%; padding: 30px 24px; }
}

.lampen-gallery-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.lampen-gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(110,13,13,.9) 0%, rgba(58,6,6,.93) 55%, rgba(24,2,2,.96) 100%);
}
.lampen-gallery-section .container {
  position: relative;
  z-index: 1;
}

.lampen-kontakt {
  text-align: center;
  padding: 90px 24px;
  background: radial-gradient(circle at 50% 35%, var(--red) 0%, var(--red-dark) 60%, var(--red-darker) 100%);
}
.lampen-kontakt h2 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 14px; }
.lampen-kontakt p { color: #ffe3e3; margin-bottom: 10px; }
.lampen-kontakt a { text-decoration: underline; font-weight: 700; }

/* Tabelle page */
.tabelle-hero {
  background: radial-gradient(circle at 30% 30%, var(--red-dark), var(--red-darker) 70%);
  padding: 70px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.tabelle-hero .kicker { color: #ff8b8b; font-family: 'Alfa Slab One', cursive; letter-spacing: 1px; margin-bottom: 8px; }
.race-block { margin-bottom: 60px; }
.race-block h2 {
  color: var(--red);
  font-size: 22px;
  border-bottom: 2px solid var(--red);
  padding-bottom: 10px;
  margin-bottom: 18px;
}
table.standings {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
}
table.standings th, table.standings td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #333;
  font-size: 15px;
}
table.standings th {
  background: #1a1a1a;
  color: var(--red);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .5px;
}
table.standings tr:nth-child(1) td { color: #ffd700; font-weight: 700; }
table.standings tr:nth-child(2) td { color: #d9d9d9; font-weight: 700; }
table.standings tr:nth-child(3) td { color: #cd8032; font-weight: 700; }
table.standings tr:hover td { background: #2a2a2a; }
.drag-handle {
  cursor: grab;
  color: #888;
  font-size: 20px;
  letter-spacing: -3px;
  padding: 4px 6px;
  user-select: none;
}
.drag-handle:hover { color: #fff; }
.drag-handle:active { cursor: grabbing; }
.race-block.dragging { opacity: .4; }
.race-block.drag-over { outline: 2px dashed var(--red); outline-offset: 4px; }
table.standings td[contenteditable] {
  cursor: text;
  transition: background .15s;
}
table.standings td[contenteditable]:hover,
table.standings td[contenteditable]:focus {
  background: #2f2f2f;
  outline: 1px solid #555;
}
.delete-row-btn {
  background: none;
  border: none;
  color: #999;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 0 6px;
}
.delete-row-btn:hover { color: var(--red); }
