/*
 * AnimeRadar v2.4.225
 *
 * Giveaway (#view-giveaway) und Anime Voting (#view-voting) nach den Referenzen
 * Referenzbilder/Seitendesigns/Giveaway.png und "Anime Voting.png" (je
 * 1448 x 1086, links Desktop, rechts Mobile im Smartphone-Mockup; der Rahmen
 * des Mockups ist nicht Teil der Website).
 *
 * Scope-Klassen "#view-giveaway.giveaway-2026" und "#view-voting.voting-2026"
 * (Muster V2.4.223/224). Neue Bausteine tragen eigene Klassennamen (gw-*,
 * vt-*). Die aelteren Regeln aus material-reference-giveaway-v2-4-194.css
 * gelten weiter fuer die beibehaltenen Teilnahme-Karten (giveaway-*); die
 * aelteren Voting-Regeln (material-reference-community-voting-v2-4-194.css)
 * greifen auf das neue Markup nicht mehr, weil keine ihrer Klassen mehr
 * verwendet wird.
 *
 * Gemessene Desktopwerte (Bildkoordinaten = CSS-Pixel):
 *   Giveaway  Hero y 92-324 (232), Text unten ausgerichtet (Titel ab y 183,
 *             36/800; Unterzeile 18/600; Lead 14/22, 2 Zeilen); Tabs y 344-391
 *             (47), Abstand 14, aktiv #e42835; Ueberschrift 22/700 bei y 428;
 *             Cards 269 breit ab y 466, Bild 263 x 187 (Inset 3-4), Badge 20
 *             hoch rot 11/700, Titel 18/700, Text 13.5/17, CTA 37 hoch rot
 *             14/600 mit Geschenk-Icon; Card-Hintergrund #0b0e11.
 *   Voting    Hero y 90-252 (162); Panels ab y 268: links 592, rechts 240,
 *             Abstand 13; Panel-Header 52 mit Icon 24 und Titel 20/700,
 *             Countdown rechts 14/600; Karten 234 breit, Bild 234 x 248,
 *             Titel 20/700, kleine Pills 19 hoch, Button 38 hoch #ee252e;
 *             VS-Spalte 100 breit mit rotem Glow; Letzte Votings: Eintraege
 *             98 hoch mit Thumb 64 x 86, Titel 13/700, Gewinnerzeile 11,
 *             Meta 11; Knopf 37 hoch.
 *
 * Mobile aus dem Smartphone-Ausschnitt umgerechnet (390/339 bzw. 390/308):
 *   Giveaway  Hero 151, Tabs 36 in einer Reihe, Karten 184 mit Bild links
 *             109 breit, Badge 16, CTA 29.
 *   Voting    Hero 187, Panel-Header 47, Karten nebeneinander mit Bild
 *             142 x 162, VS 68 breit, Button 35 "Stimmen"; Letzte Votings
 *             Eintraege 87-108 hoch, Knopf 40.
 *
 * Artwork-Ebene: .vt-hero-art (--vt-hero-art) ist bewusst leer, das Asset
 * der Referenz liegt nicht im Projekt. Der Giveaway-Hero nutzt das
 * vorhandene Projektbanner assets/banners/giveaway-itachi-2026-*.webp.
 *
 * V2.4.233: Die Voting-Sektionen "So funktioniert Anime Voting" (.vt-how,
 * .vt-steps, .vt-step*) und der untere Promo-Banner (.vt-promo*) wurden auf
 * Wunsch des Benutzers aus index.html entfernt. Ihre Regeln und die nur
 * dort benutzte Variante .vt-panel-icon-info sind hier ersatzlos geloescht.
 * Die gezielten Korrekturen am verbliebenen Voting-Kopf stehen in
 * material-ui-fixes-v2-4-233.css, Abschnitt 1.
 */

/* ========================================================================== */
/* Gemeinsame Werte                                                           */
/* ========================================================================== */

#view-giveaway.giveaway-2026,
#view-voting.voting-2026 {
  --gv-radius: 12px;
  --gv-line: rgba(255, 255, 255, .07);
  --gv-line-strong: rgba(255, 255, 255, .14);
  --gv-hero-bg: #0a0a0f;
  --gv-panel-bg: #0f1216;
  --gv-card-bg: #0b0e11;
  --gv-card-bg-deep: #080b0f;
  --gv-row-bg: #0e1216;
  --gv-chip-bg: #171c20;
  --gv-text: #ffffff;
  --gv-muted: #aeb3b8;
  --gv-soft: #c7ccd0;
  --gv-dim: #7c8186;
  --gv-red: #e42835;
  --gv-red-vote: #ee252e;
  --gv-red-soft: #ff4d57;
  --gv-red-deep: #6a1117;
  --gv-red-glow: rgba(229, 32, 46, .5);
  --gv-green: #35c26a;
  gap: 0;
}

#view-giveaway.giveaway-2026 .gw-hero svg,
#view-giveaway.giveaway-2026 .gw-tabs svg,
#view-giveaway.giveaway-2026 .gw-card svg,
#view-voting.voting-2026 svg {
  display: block;
}

/* -------------------------------------------------------------------------- */
/* Hero (beide Seiten)                                                        */
/* -------------------------------------------------------------------------- */

#view-giveaway.giveaway-2026 .gw-hero,
#view-voting.voting-2026 .vt-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 18px 24px 18px 16px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--gv-line);
  border-radius: var(--gv-radius);
  background: linear-gradient(100deg, #08080e 0%, #0b0810 42%, #16070f 100%);
  box-shadow: none;
}

#view-voting.voting-2026 .vt-hero {
  min-height: 162px;
}

/* Giveaway: Textblock sitzt unten (Titel ab y 91 im 232 px hohen Hero). */
#view-giveaway.giveaway-2026 .gw-hero {
  min-height: 232px;
  justify-content: flex-end;
  padding: 24px 24px 28px 24px;
}

/* Roter Lichtverlauf rechts (Voting: einziger Ersatz fuer das fehlende Artwork). */
#view-voting.voting-2026 .vt-hero::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 58%;
  background:
    radial-gradient(66% 108% at 72% 44%, rgba(255, 48, 66, .52) 0%, rgba(176, 16, 38, .34) 40%, rgba(24, 6, 14, 0) 74%),
    radial-gradient(40% 70% at 40% 22%, rgba(255, 86, 96, .30) 0%, rgba(255, 86, 96, 0) 76%),
    radial-gradient(48% 92% at 90% 78%, rgba(214, 24, 50, .30) 0%, rgba(214, 24, 50, 0) 72%);
}

#view-voting.voting-2026 .vt-hero {
  --vt-hero-art: none;
}

#view-voting.voting-2026 .vt-hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 58%;
  display: block;
  overflow: hidden;
  background-image: var(--vt-hero-art);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
}

#view-voting.voting-2026 .vt-hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gv-hero-bg) 0%, rgba(8, 8, 14, .72) 24%, rgba(8, 8, 14, .14) 60%, rgba(8, 8, 14, 0) 84%);
}

/* Giveaway: vorhandenes Projektbanner als Bildebene, links abgedunkelt. */
#view-giveaway.giveaway-2026 .gw-hero-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  margin: 0;
  display: block;
  overflow: hidden;
}

#view-giveaway.giveaway-2026 .gw-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

#view-giveaway.giveaway-2026 .gw-hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gv-hero-bg) 0%, rgba(10, 10, 15, .94) 30%, rgba(10, 10, 15, .58) 52%, rgba(10, 10, 15, .08) 74%, rgba(10, 10, 15, 0) 100%);
}

#view-giveaway.giveaway-2026 .gw-hero-copy,
#view-voting.voting-2026 .vt-hero-copy {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0;
  max-width: none;
}

#view-giveaway.giveaway-2026 .gw-hero-title,
#view-voting.voting-2026 .vt-hero-title {
  margin: 0 !important;
  color: var(--gv-text);
  font-family: var(--font-display);
  font-size: 36px !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: -.01em !important;
}

#view-giveaway.giveaway-2026 .gw-hero-sub,
#view-voting.voting-2026 .vt-hero-sub {
  margin: 5px 0 0;
  max-width: none;
  color: var(--gv-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.006em;
}

#view-giveaway.giveaway-2026 .gw-hero-lead,
#view-voting.voting-2026 .vt-hero-lead {
  margin: 10px 0 0;
  max-width: 470px;
  color: var(--gv-muted);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 20px;
}

#view-giveaway.giveaway-2026 .gw-hero-lead {
  max-width: 440px;
  font-size: 14px;
  line-height: 22px;
}

/* ========================================================================== */
/* Giveaway                                                                   */
/* ========================================================================== */

/* V2.4.316: zwei Reiter (Aktuelle und Vergangene Giveaways); der Reiter
   "Teilnahmebedingungen" ist entfallen. */
#view-giveaway.giveaway-2026 .gw-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 0;
}

#view-giveaway.giveaway-2026 .gw-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  min-width: 0;
  padding: 4px 14px;
  border: 1px solid var(--gv-line);
  border-radius: 10px;
  background: #12161a;
  color: var(--gv-text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.005em;
  cursor: pointer;
  transition: background .16s var(--md-motion), border-color .16s var(--md-motion);
}

#view-giveaway.giveaway-2026 .gw-tab:hover {
  border-color: var(--gv-line-strong);
  background: #181d22;
}

#view-giveaway.giveaway-2026 .gw-tab:focus-visible {
  outline: 2px solid var(--gv-red-soft);
  outline-offset: 2px;
}

#view-giveaway.giveaway-2026 .gw-tab.is-active {
  border-color: var(--gv-red);
  background: var(--gv-red);
  color: #fff;
}

#view-giveaway.giveaway-2026 .gw-tab-short {
  display: none;
}

#view-giveaway.giveaway-2026 .gw-panel[hidden] {
  display: none;
}

#view-giveaway.giveaway-2026 .gw-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 0;
  padding: 0 2px;
}

#view-giveaway.giveaway-2026 .gw-section-head h2 {
  margin: 0;
  color: var(--gv-text);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.012em;
}

#view-giveaway.giveaway-2026 .gw-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 0;
}

#view-giveaway.giveaway-2026 .gw-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--gv-line);
  border-radius: var(--gv-radius);
  background: var(--gv-card-bg);
  color: var(--gv-text);
}

#view-giveaway.giveaway-2026 .gw-card-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 263 / 187;
  border-radius: 9px;
  background: #14181d;
}

#view-giveaway.giveaway-2026 .gw-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

#view-giveaway.giveaway-2026 .gw-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 6px 12px 12px;
}

#view-giveaway.giveaway-2026 .gw-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 20px;
  padding: 0 9px 0 7px;
  border-radius: 999px;
  background: #e12933;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
}

#view-giveaway.giveaway-2026 .gw-card-badge svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#view-giveaway.giveaway-2026 .gw-card-badge.is-ended {
  background: #3a3f46;
}

#view-giveaway.giveaway-2026 .gw-card-title {
  margin: 12px 0 0;
  color: var(--gv-text);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -.012em;
}

#view-giveaway.giveaway-2026 .gw-card-desc {
  margin: 10px 0 0;
  color: var(--gv-soft);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 17px;
}

#view-giveaway.giveaway-2026 .gw-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 37px;
  margin: 22px 0 0;
  padding: 0 12px;
  border: 1px solid var(--gv-red);
  border-radius: 8px;
  background: var(--gv-red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background .16s var(--md-motion), border-color .16s var(--md-motion), opacity .16s var(--md-motion);
}

#view-giveaway.giveaway-2026 .gw-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#view-giveaway.giveaway-2026 .gw-cta:hover {
  border-color: #f0303c;
  background: #f0303c;
}

#view-giveaway.giveaway-2026 .gw-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

#view-giveaway.giveaway-2026 .gw-cta:disabled {
  cursor: default;
  opacity: .55;
}

/* V2.4.323: Kartenraster und Leerzustaende folgen dem Status der Karten
   (hidden). Eine beendete Karte hat keinen Teilnahme-Knopf; Bild und Titel
   fuehren auf die Detailseite - wie bei der Kachel der Startseite. */
#view-giveaway.giveaway-2026 .gw-grid[hidden],
#view-giveaway.giveaway-2026 .gw-empty[hidden],
#view-giveaway.giveaway-2026 .gw-cta[hidden] {
  display: none;
}

#view-giveaway.giveaway-2026 .gw-card-link {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

#view-giveaway.giveaway-2026 .gw-card-link:hover,
#view-giveaway.giveaway-2026 .gw-card-link:focus-visible {
  color: #ff6d78;
}

#view-giveaway.giveaway-2026 .gw-card-media-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  border-radius: inherit;
}

/* Beibehaltene Teilnahme-Karten (V194-Regeln) unter der Kartenreihe. */
#view-giveaway.giveaway-2026 .gw-participation {
  margin-top: 30px;
}

#view-giveaway.giveaway-2026 .giveaway-bottom-grid {
  grid-template-columns: minmax(0, 1fr);
}

#view-giveaway.giveaway-2026 .giveaway-active-layout,
#view-giveaway.giveaway-2026 .giveaway-status-rail {
  grid-template-rows: auto;
  height: auto;
}

#view-giveaway.giveaway-2026 .giveaway-countdown {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

#view-giveaway.giveaway-2026 .giveaway-countdown b {
  font-size: 14px;
  line-height: 18px;
}

#view-giveaway.giveaway-2026 .giveaway-countdown > span {
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

/* Die Preis-Karte hat kein eigenes Bild mehr (das Bild steht in der Giveaway-Karte). */
#view-giveaway.giveaway-2026 .giveaway-prize-card {
  height: auto;
  min-height: 0;
}

#view-giveaway.giveaway-2026 .giveaway-prize-body {
  grid-template-columns: minmax(0, 1fr);
}

#view-giveaway.giveaway-2026 .giveaway-countdown > span {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

#view-giveaway.giveaway-2026 .giveaway-countdown small {
  font-weight: 400;
  color: var(--gv-muted);
}

#view-giveaway.giveaway-2026 .gw-empty {
  margin: 14px 0 0;
}

/* ========================================================================== */
/* Anime Voting                                                               */
/* ========================================================================== */

#view-voting.voting-2026 .vt-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 13px;
  align-items: start;
  margin: 16px 0 0;
}

#view-voting.voting-2026 .vt-current,
#view-voting.voting-2026 .vt-history {
  min-width: 0;
  padding: 0 14px 14px;
}

#view-voting.voting-2026 .vt-history {
  padding: 0 8px 12px;
  border: 1px solid var(--gv-line);
  border-radius: var(--gv-radius);
  background: var(--gv-panel-bg);
}

#view-voting.voting-2026 .vt-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 4px 0;
}

#view-voting.voting-2026 .vt-panel-head h2,
#view-voting.voting-2026 .vt-panel-head h3 {
  margin: 0;
  color: var(--gv-text);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.012em;
}

#view-voting.voting-2026 .vt-panel-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--gv-red-soft);
}

#view-voting.voting-2026 .vt-panel-icon img {
  display: block;
  width: 24px;
  height: 24px;
}

#view-voting.voting-2026 .vt-panel-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Modus-Umschalter (bestehende Funktion, in der Vorlage nicht vorhanden). */
#view-voting.voting-2026 .vt-mode-switch {
  display: inline-flex;
  gap: 4px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid var(--gv-line);
  border-radius: 999px;
  background: #0b0e11;
}

#view-voting.voting-2026 .vt-mode-btn {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--gv-muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background .16s var(--md-motion), color .16s var(--md-motion), border-color .16s var(--md-motion);
}

#view-voting.voting-2026 .vt-mode-btn:hover {
  color: var(--gv-text);
}

#view-voting.voting-2026 .vt-mode-btn:focus-visible {
  outline: 2px solid var(--gv-red-soft);
  outline-offset: 1px;
}

#view-voting.voting-2026 .vt-mode-btn.is-active {
  border-color: rgba(255, 64, 78, .55);
  background: var(--gv-red-deep);
  color: #fff;
}

#view-voting.voting-2026 .voting-admin-total {
  flex-basis: 100%;
  margin: 0;
  color: var(--gv-muted);
  font-size: 12px;
}

#view-voting.voting-2026 .vt-countdown {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gv-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.005em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

#view-voting.voting-2026 .vt-countdown svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#view-voting.voting-2026 .vt-countdown b {
  font-weight: 600;
}

/* Arena: zwei Karten, dazwischen das VS */
#view-voting.voting-2026 .vt-arena {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr);
  align-items: start;
  container-type: inline-size;
}

#view-voting.voting-2026 .vt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0 0 12px;
  overflow: hidden;
  border: 1px solid var(--gv-line);
  border-radius: var(--gv-radius);
  background: var(--gv-card-bg-deep);
  color: var(--gv-text);
  transition: border-color .16s var(--md-motion);
}

#view-voting.voting-2026 .vt-card.has-vote {
  border-color: rgba(255, 64, 78, .6);
}

#view-voting.voting-2026 .vt-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 234 / 248;
  overflow: hidden;
  background: #11151b;
}

#view-voting.voting-2026 .vt-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

#view-voting.voting-2026 .vt-card-img:not([src]) {
  visibility: hidden;
}

#view-voting.voting-2026 .vt-card-title {
  margin: 10px 8px 0;
  color: var(--gv-text);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.012em;
  min-height: 48px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#view-voting.voting-2026 .vt-card-title.is-long-title {
  font-size: 17px;
}

#view-voting.voting-2026 .vt-card-title.is-very-long-title {
  font-size: 15px;
}

/* Kleine Pill unter dem Titel (Modus des Tagesduells; Genres liefert die
   Voting-Datenquelle nicht). */
#view-voting.voting-2026 .vt-card-meta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 19px;
  margin: 8px 8px 0;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 6px;
  background: #141b20;
  color: #d3d8dc;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

/* Ergebnis nach der Stimmabgabe */
#view-voting.voting-2026 .vt-result {
  margin: 10px 8px 0;
}

#view-voting.voting-2026 .vt-result.is-hidden {
  display: none;
}

#view-voting.voting-2026 .vt-result-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--gv-muted);
  font-size: 11.5px;
}

#view-voting.voting-2026 .vt-result-meta strong {
  color: var(--gv-text);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

#view-voting.voting-2026 .vt-result-track {
  position: relative;
  height: 6px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

#view-voting.voting-2026 .vt-result-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--gv-red-vote);
  transition: width .4s var(--md-motion);
}

/* Vote-Knopf */
#view-voting.voting-2026 .vt-vote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 8px);
  min-height: 38px;
  margin: 12px 4px 0;
  padding: 0 10px;
  border: 1px solid var(--gv-red-vote);
  border-radius: 8px;
  background: var(--gv-red-vote);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background .16s var(--md-motion), border-color .16s var(--md-motion), opacity .16s var(--md-motion);
}

#view-voting.voting-2026 .vt-vote-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

#view-voting.voting-2026 .vt-vote-label,
#view-voting.voting-2026 .vt-vote-label-long {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#view-voting.voting-2026 .vt-vote-label {
  display: none;
}

#view-voting.voting-2026 .vt-vote:hover:not(:disabled) {
  border-color: #f5333e;
  background: #f5333e;
}

#view-voting.voting-2026 .vt-vote:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

#view-voting.voting-2026 .vt-vote:disabled {
  cursor: default;
  opacity: .6;
}

#view-voting.voting-2026 .vt-card.has-vote .vt-vote:disabled {
  opacity: 1;
  border-color: rgba(255, 64, 78, .55);
  background: var(--gv-red-deep);
}

/* VS: mittig auf Hoehe der Bilder */
#view-voting.voting-2026 .vt-vs {
  position: relative;
  display: grid;
  place-items: center;
  height: calc((100cqw - 100px) * 124 / 234);
  min-height: 120px;
  align-self: start;
}

#view-voting.voting-2026 .vt-vs::before {
  content: '';
  position: absolute;
  inset: 8% -30% 8% -30%;
  background:
    radial-gradient(48% 40% at 50% 50%, rgba(255, 40, 60, .78) 0%, rgba(214, 16, 40, .48) 38%, rgba(120, 8, 24, .18) 66%, rgba(120, 8, 24, 0) 100%);
  pointer-events: none;
}

#view-voting.voting-2026 .vt-vs span {
  position: relative;
  color: #fff1ec;
  font-family: var(--font-display);
  font-size: 66px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  text-shadow:
    0 0 14px rgba(255, 60, 80, .95),
    0 0 34px rgba(255, 20, 40, .75),
    0 2px 0 rgba(120, 0, 10, .6);
}

#view-voting.voting-2026 .vt-status {
  margin: 12px 0 0;
  min-height: 0;
  color: var(--gv-muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

#view-voting.voting-2026 .vt-status:empty {
  display: none;
}

#view-voting.voting-2026 .vt-status[data-kind="error"] {
  color: var(--gv-red-soft);
}

#view-voting.voting-2026 .vt-status[data-kind="success"] {
  color: var(--gv-green);
}

/* Letzte Votings */
#view-voting.voting-2026 .vt-history-list {
  display: grid;
  gap: 5px;
}

#view-voting.voting-2026 .vt-hist {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 10px;
  align-items: center;
  gap: 0 8px;
  min-height: 98px;
  padding: 5px 4px 5px 4px;
  border: 1px solid var(--gv-line);
  border-radius: 10px;
  background: var(--gv-row-bg);
}

#view-voting.voting-2026 .vt-hist[hidden] {
  display: none;
}

#view-voting.voting-2026 .vt-hist.is-extra {
  grid-template-columns: minmax(0, 1fr) 10px;
  min-height: 0;
  padding: 10px 4px 10px 10px;
}

#view-voting.voting-2026 .vt-hist-thumb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 64px;
  height: 86px;
  overflow: hidden;
  border-radius: 7px;
  background: #14181d;
}

#view-voting.voting-2026 .vt-hist-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

#view-voting.voting-2026 .vt-hist-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

#view-voting.voting-2026 .vt-hist-title {
  display: block;
  color: var(--gv-text);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
}

#view-voting.voting-2026 .vt-hist-title span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#view-voting.voting-2026 .vt-hist-winner {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: #cfd6da;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}

#view-voting.voting-2026 .vt-hist-winner > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#view-voting.voting-2026 .vt-hist-winner svg {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  color: var(--gv-green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#view-voting.voting-2026 .vt-hist-winner.is-open svg {
  color: var(--gv-dim);
}

#view-voting.voting-2026 .vt-hist-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  color: var(--gv-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
}

#view-voting.voting-2026 .vt-hist-meta time {
  color: var(--gv-dim);
  font-size: 10.5px;
  white-space: nowrap;
}

#view-voting.voting-2026 .vt-hist-arrow {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  color: var(--gv-muted);
}

#view-voting.voting-2026 .vt-hist-arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#view-voting.voting-2026 .vt-history-empty {
  padding: 14px 8px;
  color: var(--gv-muted);
  font-size: 12.5px;
  line-height: 1.4;
  text-align: center;
}

#view-voting.voting-2026 .vt-history-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 37px;
  margin: 12px 0 0;
  padding: 0 12px;
  border: 1px solid var(--gv-line-strong);
  border-radius: 8px;
  background: #14181d;
  color: var(--gv-text);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.012em;
  white-space: nowrap;
  cursor: pointer;
  transition: background .16s var(--md-motion), border-color .16s var(--md-motion);
}

#view-voting.voting-2026 .vt-history-more[hidden] {
  display: none;
}

#view-voting.voting-2026 .vt-history-more:hover {
  border-color: rgba(255, 255, 255, .26);
  background: #1a1f25;
}

#view-voting.voting-2026 .vt-history-more:focus-visible {
  outline: 2px solid var(--gv-red-soft);
  outline-offset: 2px;
}

/* ========================================================================== */
/* Schmaler Desktop                                                           */
/* ========================================================================== */

@media (min-width: 960px) and (max-width: 1040px) {
  #view-voting.voting-2026 .vt-main {
    grid-template-columns: minmax(0, 1fr) 224px;
  }

  #view-voting.voting-2026 .vt-arena {
    grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
  }

  #view-voting.voting-2026 .vt-vs {
    height: calc((100cqw - 84px) * 124 / 234);
  }

  #view-voting.voting-2026 .vt-vs span {
    font-size: 56px;
  }

  #view-voting.voting-2026 .vt-card-title {
    font-size: 18px;
  }

  #view-voting.voting-2026 .vt-panel-head h2 {
    font-size: 18px;
  }

  #view-giveaway.giveaway-2026 .gw-tab {
    font-size: 13px;
    padding: 4px 8px;
  }
}

/* ========================================================================== */
/* Mobile - rechte Seite der Referenzen                                       */
/* ========================================================================== */

@media (max-width: 959px) {
  #view-giveaway.giveaway-2026 .gw-hero,
  #view-voting.voting-2026 .vt-hero {
    padding: 18px 16px;
  }

  #view-giveaway.giveaway-2026 .gw-hero {
    min-height: 151px;
    justify-content: center;
    padding: 16px 16px 16px;
  }

  #view-voting.voting-2026 .vt-hero {
    min-height: 187px;
  }

  #view-giveaway.giveaway-2026 .gw-hero-art img {
    object-position: 68% 50%;
  }

  #view-giveaway.giveaway-2026 .gw-hero-art::after {
    background: linear-gradient(90deg, var(--gv-hero-bg) 0%, rgba(10, 10, 15, .96) 34%, rgba(10, 10, 15, .62) 56%, rgba(10, 10, 15, .1) 80%, rgba(10, 10, 15, 0) 100%);
  }

  #view-voting.voting-2026 .vt-hero::before,
  #view-voting.voting-2026 .vt-hero-art {
    width: 56%;
  }

  #view-giveaway.giveaway-2026 .gw-hero-title,
  #view-voting.voting-2026 .vt-hero-title {
    font-size: 28px !important;
    line-height: 1.1 !important;
  }

  #view-giveaway.giveaway-2026 .gw-hero-title {
    font-size: 25px !important;
  }

  #view-giveaway.giveaway-2026 .gw-hero-sub,
  #view-voting.voting-2026 .vt-hero-sub {
    margin-top: 4px;
    max-width: 230px;
    font-size: 16px;
    line-height: 21px;
  }

  #view-giveaway.giveaway-2026 .gw-hero-sub {
    max-width: 260px;
    font-size: 13.5px;
    line-height: 18px;
  }

  #view-giveaway.giveaway-2026 .gw-hero-lead,
  #view-voting.voting-2026 .vt-hero-lead {
    margin-top: 8px;
    max-width: 240px;
    font-size: 12.5px;
    line-height: 16.5px;
  }

  #view-giveaway.giveaway-2026 .gw-hero-lead {
    margin-top: 6px;
    max-width: 222px;
    font-size: 11.5px;
    line-height: 15px;
  }

  /* Giveaway: zwei kompakte Tabs in einer Reihe, gleich breit (V2.4.316) */
  #view-giveaway.giveaway-2026 .gw-tabs {
    display: flex;
    gap: 10px;
    margin-top: 8px;
  }

  #view-giveaway.giveaway-2026 .gw-tab {
    flex: 1 1 0;
    min-width: 0;
    min-height: 36px;
    padding: 4px 8px;
    border-radius: 9px;
    font-size: 10.5px;
    letter-spacing: -.01em;
    white-space: nowrap;
  }

  /* V2.4.316: Mit zwei Reitern passt "Vergangene Giveaways" auch mobil;
     die Kurzform "Vergangene" wird nicht mehr gebraucht. */

  #view-giveaway.giveaway-2026 .gw-section-head {
    margin-top: 22px;
  }

  #view-giveaway.giveaway-2026 .gw-section-head h2 {
    font-size: 15.5px;
  }

  #view-giveaway.giveaway-2026 .gw-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    margin-top: 12px;
  }

  /* Karte mobil: Bild links, Inhalt rechts */
  #view-giveaway.giveaway-2026 .gw-card {
    display: grid;
    grid-template-columns: 109px minmax(0, 1fr);
    gap: 0 12px;
    padding: 5px;
  }

  #view-giveaway.giveaway-2026 .gw-card-media {
    aspect-ratio: 109 / 174;
    height: 100%;
    min-height: 174px;
    border-radius: 8px;
  }

  /* Hochformat-Ausschnitt des Preisbanners: rechter Bildteil mit der Geschenkbox. */
  #view-giveaway.giveaway-2026 .gw-card-media img {
    object-position: 94% 50%;
  }

  #view-giveaway.giveaway-2026 .gw-card-body {
    padding: 8px 6px 4px 0;
  }

  #view-giveaway.giveaway-2026 .gw-card-badge {
    min-height: 16px;
    padding: 0 7px 0 6px;
    font-size: 9.5px;
  }

  #view-giveaway.giveaway-2026 .gw-card-badge svg {
    width: 10px;
    height: 10px;
  }

  #view-giveaway.giveaway-2026 .gw-card-title {
    margin-top: 6px;
    font-size: 13.5px;
    line-height: 15px;
  }

  #view-giveaway.giveaway-2026 .gw-card-desc {
    margin-top: 6px;
    font-size: 12px;
    line-height: 15px;
  }

  #view-giveaway.giveaway-2026 .gw-cta {
    min-height: 29px;
    margin-top: 10px;
    border-radius: 7px;
    font-size: 12px;
  }

  #view-giveaway.giveaway-2026 .gw-cta svg {
    width: 13px;
    height: 13px;
  }

  #view-giveaway.giveaway-2026 .gw-participation {
    margin-top: 22px;
  }

  #view-giveaway.giveaway-2026 .giveaway-active-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  /* Die Tablet-Regeln der Altdatei (761-1350 px) setzen feste Spalten- und
     Zeilenplaetze; in der einspaltigen Anordnung wuerden sie eine implizite
     zweite Spalte erzeugen. */
  #view-giveaway.giveaway-2026 .giveaway-entry-panel,
  #view-giveaway.giveaway-2026 .giveaway-prize-card,
  #view-giveaway.giveaway-2026 .giveaway-status-rail,
  #view-giveaway.giveaway-2026 .giveaway-bottom-grid {
    grid-column: 1;
    grid-row: auto;
  }

  #view-giveaway.giveaway-2026 .giveaway-status-rail {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  /* Voting mobil */
  #view-voting.voting-2026 .vt-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 18px;
  }

  #view-voting.voting-2026 .vt-current,
  #view-voting.voting-2026 .vt-history {
    padding: 0 10px 10px;
  }

  #view-voting.voting-2026 .vt-panel-head {
    min-height: 47px;
    gap: 8px;
  }

  #view-voting.voting-2026 .vt-panel-head h2,
  #view-voting.voting-2026 .vt-panel-head h3 {
    font-size: 15px;
  }

  #view-voting.voting-2026 .vt-panel-icon,
  #view-voting.voting-2026 .vt-panel-icon img {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  #view-voting.voting-2026 .vt-panel-icon svg {
    width: 17px;
    height: 17px;
  }

  #view-voting.voting-2026 .vt-countdown {
    font-size: 10.5px;
    gap: 5px;
  }

  #view-voting.voting-2026 .vt-countdown svg {
    width: 12px;
    height: 12px;
  }

  /* Der Modus-Umschalter rueckt in eine eigene Zeile unter den Kopf. */
  #view-voting.voting-2026 .vt-mode-switch {
    order: 5;
    flex-basis: 100%;
    margin-left: 0;
    justify-content: flex-start;
    width: max-content;
    max-width: 100%;
  }

  #view-voting.voting-2026 .vt-mode-btn {
    min-height: 22px;
    padding: 0 10px;
    font-size: 11px;
  }

  #view-voting.voting-2026 .vt-arena {
    grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr);
  }

  #view-voting.voting-2026 .vt-card {
    padding-bottom: 8px;
    border-radius: 10px;
  }

  #view-voting.voting-2026 .vt-card-media {
    aspect-ratio: 140 / 160;
  }

  #view-voting.voting-2026 .vt-card-title,
  #view-voting.voting-2026 .vt-card-title.is-long-title,
  #view-voting.voting-2026 .vt-card-title.is-very-long-title {
    margin: 7px 6px 0;
    min-height: 31px;
    font-size: 13.5px;
    line-height: 1.15;
  }

  #view-voting.voting-2026 .vt-card-meta {
    margin: 6px 6px 0;
    min-height: 15px;
    padding: 0 6px;
    font-size: 9.5px;
  }

  #view-voting.voting-2026 .vt-result {
    margin: 8px 6px 0;
  }

  #view-voting.voting-2026 .vt-result-meta strong {
    font-size: 15px;
  }

  #view-voting.voting-2026 .vt-vote {
    width: calc(100% - 8px);
    min-height: 35px;
    margin-top: 10px;
    padding: 0 6px;
    font-size: 12.5px;
    gap: 6px;
  }

  #view-voting.voting-2026 .vt-vote-icon {
    flex-basis: 14px;
    width: 14px;
    height: 14px;
  }

  #view-voting.voting-2026 .vt-vote-label {
    display: inline;
  }

  #view-voting.voting-2026 .vt-vote-label-long {
    display: none;
  }

  #view-voting.voting-2026 .vt-vs {
    height: calc((100cqw - 68px) * 80 / 140);
    min-height: 90px;
  }

  #view-voting.voting-2026 .vt-vs span {
    font-size: 30px;
  }

  #view-voting.voting-2026 .vt-vs::before {
    inset: 4% -40% 4% -40%;
  }

  #view-voting.voting-2026 .vt-status {
    margin-top: 10px;
    font-size: 11.5px;
  }

  #view-voting.voting-2026 .vt-history-head {
    min-height: 44px;
  }

  #view-voting.voting-2026 .vt-hist {
    grid-template-columns: 86px minmax(0, 1fr) 10px;
    min-height: 87px;
    padding: 5px 4px 5px 5px;
  }

  #view-voting.voting-2026 .vt-hist-thumb {
    width: 86px;
    height: 76px;
  }

  #view-voting.voting-2026 .vt-hist-title {
    font-size: 11.5px;
  }

  #view-voting.voting-2026 .vt-hist-winner {
    font-size: 10px;
  }

  #view-voting.voting-2026 .vt-hist-meta {
    font-size: 9.5px;
  }

  #view-voting.voting-2026 .vt-hist-meta time {
    font-size: 9.5px;
  }

  #view-voting.voting-2026 .vt-history-more {
    min-height: 40px;
    margin-top: 10px;
    font-size: 12px;
  }
}

@media (max-width: 344px) {
  #view-giveaway.giveaway-2026 .gw-tab {
    padding: 4px 5px;
    font-size: 9.5px;
  }

  #view-giveaway.giveaway-2026 .gw-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0 10px;
  }

  #view-giveaway.giveaway-2026 .gw-card-media {
    aspect-ratio: 96 / 160;
    min-height: 160px;
  }

  #view-voting.voting-2026 .vt-arena {
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
  }

  #view-voting.voting-2026 .vt-vs {
    height: calc((100cqw - 54px) * 80 / 140);
  }

  #view-voting.voting-2026 .vt-vs span {
    font-size: 24px;
  }

  #view-voting.voting-2026 .vt-vote {
    font-size: 11.5px;
    padding: 0 4px;
  }

  #view-voting.voting-2026 .vt-hist {
    grid-template-columns: 70px minmax(0, 1fr) 14px;
  }

  #view-voting.voting-2026 .vt-hist-thumb {
    width: 70px;
    height: 70px;
  }
}
