/* GTV original: /assets/css/blocks-panel.css */
/* GRAUMAENLEIN.TV – BLOCKS Startseiten-Widget, gezielt auf .gtv-games-panel beschränkt */
.gtv-games-panel .heading-icon svg {display:block;width:23px;height:23px}
.gtv-blocks-feature{display:flex;align-items:center;gap:13px;padding:12px;background:linear-gradient(110deg,#12152b,#28204b);border-radius:13px;color:white;text-decoration:none;min-width:0;transition:transform .15s,box-shadow .15s}
.gtv-blocks-feature:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(94,28,191,.24)}
.gtv-blocks-feature-icon{flex:none;display:grid;place-items:center;width:60px;height:60px;border-radius:12px;background:rgba(255,255,255,.06)}
.gtv-blocks-feature-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.gtv-blocks-feature-copy strong{font:900 clamp(19px,1.5vw,25px)/1 Outfit,sans-serif;letter-spacing:.025em;color:white}
.gtv-blocks-feature-copy small{font-size:11px;color:#aeb6d9;line-height:1.35}
.gtv-blocks-feature-chevron{font-size:24px;color:#c69dff;font-weight:800}
.gtv-blocks-score-heading{display:flex;align-items:center;justify-content:space-between;margin:17px 0 6px;color:#171631;font-size:13px}
.gtv-blocks-score-heading strong{font-weight:900}
.gtv-blocks-score-heading span{color:#7627ea;font-size:10px;font-weight:900;letter-spacing:.06em}
.gtv-blocks-score-empty{font-size:12px;padding:15px 4px;color:#77819a;margin:0}
.gtv-blocks-top-list{list-style:none;padding:0;margin:0}
.gtv-blocks-top-list li{display:flex;align-items:center;gap:9px;padding:11px 3px;border-bottom:1px solid #edf0f7;font-size:12px;color:#202243}
.gtv-blocks-top-list li:last-child{border:0}
.gtv-blocks-rank{color:#7b34e9;width:22px;font-weight:900;flex:none}
.gtv-blocks-player{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1;font-weight:800}
.gtv-blocks-top-list li>strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:900;color:#252440}
.gtv-blocks-play{display:block;margin-top:16px;text-align:center;text-decoration:none;padding:12px;border-radius:10px}
@media (max-width:450px){.gtv-blocks-feature{gap:9px;padding:10px}.gtv-blocks-feature-icon{width:55px;height:55px}.gtv-blocks-score-heading{margin-top:13px}}

/* GTV original: /modules/blocks/blocks.css */
/* GTV Blocks: scoped to the module, homepage game tile and replaced community leaderboard. */
.gtv-blocks-games .section-heading{margin-bottom:12px}
.gtv-blocks-mini{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e8e5fa;background:#f9f8ff;border-radius:11px;text-decoration:none;color:#15132b;min-height:54px;transition:background .2s,border-color .2s}
.gtv-blocks-mini:hover{background:#f0eaff;border-color:#c9a7ff}
.gtv-blocks-mini-icon{display:grid;place-items:center;flex:none;width:33px;height:33px;border-radius:9px;background:#252043}
.gtv-blocks-mini-icon svg{display:block;width:24px;height:24px}
.gtv-blocks-mini strong{font:800 15px/1.2 Outfit,'DM Sans',sans-serif;letter-spacing:.03em}
.gtv-blocks-mini-arrow{color:#732be9;margin-left:auto;font-weight:900;font-size:20px}
.gtv-blocks-home-ranking{min-height:250px}
.gtv-blocks-rank-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.gtv-blocks-rank-head h4{margin:0;font-size:13px;font-weight:900}
.gtv-blocks-rank-head>span{color:#742bef;font-size:10px;font-weight:900;letter-spacing:.06em;white-space:nowrap}
.gtv-blocks-leaderboard-list{list-style:none;margin:0;padding:0}
.gtv-blocks-leaderboard-list li{display:flex;gap:9px;align-items:center;padding:8px 0;border-bottom:1px solid #e8ecf4;min-width:0;font-size:12px}
.gtv-blocks-leaderboard-list li:last-child{border-bottom:none}
.gtv-blocks-place{color:#7132de;font-weight:900;flex:none;width:20px}
.gtv-blocks-user{font-weight:800;color:#17172f;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0;flex:1}
.gtv-blocks-points{font-weight:900;color:#262844;font-variant-numeric:tabular-nums}
.gtv-blocks-leaderboard-note{padding:18px 0;color:#727b91;font-size:12px}
.gtv-blocks-ranking-link{display:inline-block;margin-top:14px;color:#6f24ec;text-decoration:none;font-size:11px;font-weight:800}
.gtv-blocks-ranking-link:hover{text-decoration:underline}
.gtv-blocks-module-page{max-width:1380px;margin:0 auto;padding:22px 16px 35px;min-width:0}
.gtv-blocks-module-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 auto 14px;max-width:1250px}
.gtv-blocks-module-intro h1{font:900 clamp(22px,2.5vw,34px)/1.1 Outfit,'DM Sans',sans-serif;color:#17132d;margin:0}
.gtv-blocks-module-icon{color:#7430e7}
.gtv-blocks-module-intro a{font-size:12px;color:#6c2be6;font-weight:800;text-decoration:none}
#gtv-blocks-game-frame{display:block;width:100%;height:970px;max-width:1250px;margin:0 auto;background:#f8f8fd;border:0;border-radius:18px;box-shadow:0 16px 40px rgba(23,19,68,.16)}
@media(max-width:650px){.gtv-blocks-module-page{padding:10px 7px 22px}.gtv-blocks-module-intro{padding:9px 7px;flex-wrap:wrap}.gtv-blocks-module-intro a{font-size:11px}#gtv-blocks-game-frame{height:1220px;border-radius:13px}}

/* V1.2 Website-harmonized presentation */
.gtv-blocks-module-page{background:#f7f8fd}
.gtv-blocks-module-intro{border:1px solid #eee9f8;background:#fff;padding:15px 20px;border-radius:15px}
.gtv-blocks-module-intro h1{letter-spacing:-.025em}
#gtv-blocks-game-frame{box-shadow:0 14px 38px rgba(68,29,130,.10)}

/* GTV original: /assets/css/gtv-light-contrast.css */
/* GRAUMAENLEIN.TV – Light Mode Contrast v1
   Nur Light Mode, keine Änderung an dunklem Theme oder Hero-Bildern. */
html:not([data-gtv-theme="dark"]) {
  --border: #d5d2e5;
  --shadow: 0 5px 18px rgba(37,26,74,.11), 0 1px 3px rgba(37,26,74,.055);
}
html:not([data-gtv-theme="dark"]) body {
  background-color: #f1f1f8;
}
html:not([data-gtv-theme="dark"]) .panel {
  border: 1px solid #d6d2e5;
  background: #fff;
  box-shadow: 0 5px 19px rgba(34,22,71,.10), 0 1px 3px rgba(34,22,71,.055);
}
html:not([data-gtv-theme="dark"]) :is(.community-card,.top-story) {
  border-color: #d8d3e7;
}
html:not([data-gtv-theme="dark"]) .community-card {
  background-color: #fcfbff;
}
html:not([data-gtv-theme="dark"]) .small-article {
  border-bottom-color: #d8d4e6;
}
html:not([data-gtv-theme="dark"]) .small-article:last-child { border-bottom: 0; }
html:not([data-gtv-theme="dark"]) :is(.feature-card,.gallery-item,.gallery-more) {
  box-shadow: 0 5px 17px rgba(35,23,75,.16);
}
html:not([data-gtv-theme="dark"]) :is(.pill,.vote-options button) {
  border: 1px solid #ddd7eb;
}
html:not([data-gtv-theme="dark"]) :is(.calendar-panel,.calendar-card,.widget-card,.magazine-card,.article-card,.game-card) {
  border-color: #d6d2e5;
  box-shadow: 0 4px 16px rgba(34,22,71,.09);
}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-gtv-theme="dark"]) .panel { transition: box-shadow .2s ease, border-color .2s ease; }
}

/* GTV original: /assets/css/gtv-poll-size-fix.css */
/* GRAUMAENLEIN_TV – kompakte Startseiten-Umfrage, Light + Dark */
.community-card.poll {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px;
}
.community-card.poll h4 {
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 9px;
}
.community-card.poll h3 {
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 12px;
}
.community-card.poll .vote-options {
  display: grid;
  gap: 7px;
  width: 100%;
}
.community-card.poll .vote-options button {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 41px;
  width: 100%;
  padding: 8px 11px;
  border-radius: 11px;
  font-size: 14px;
  line-height: 1.3;
  gap: 9px;
}
.community-card.poll .vote-options button::before {
  flex-shrink: 0;
  font-size: 16px;
}
.community-card.poll .vote-options button span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.community-card.poll .vote-options button b {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.community-card.poll #vote-status {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
}
@media (max-width: 550px) {
  .community-card.poll { padding: 12px; }
  .community-card.poll .vote-options button { min-height: 42px; padding: 9px 10px; }
  .community-card.poll .vote-options button b { font-size: 12px; }
}

/* GTV original: /assets/css/gtv-community-unified.css */
/* GRAUMAENLEIN_TV — Community: Poll + Ranking im urspruenglichen kompakten Bestenlisten-Stil. v2 */
.community-grid > .community-card.poll,
.community-grid > .community-card.gtv-blocks-home-ranking {
  box-sizing:border-box;
  min-width:0;
  padding:14px;
}
.community-grid > .community-card.poll h4,
.community-grid > .community-card.gtv-blocks-home-ranking .gtv-blocks-rank-head h4 {
  font-size:15px;
  line-height:1.35;
  font-weight:800;
  margin:0;
}
.community-grid > .community-card.poll h4 {margin-bottom:14px;}
.community-grid > .community-card.poll h3 {
  font-size:15px;
  line-height:1.35;
  margin:0 0 10px;
}
.community-grid > .community-card.gtv-blocks-home-ranking .gtv-blocks-rank-head {
  margin:0 0 12px;
  min-height:20px;
}
/* Beide Listen: schlichte Zeilen mit Trennlinien statt grauen Pillen. */
.community-grid > .community-card.poll .vote-options,
.community-grid > .community-card.gtv-blocks-home-ranking .gtv-blocks-leaderboard-list {
  display:grid;
  gap:0;
}
.community-grid > .community-card.poll .vote-options button,
.community-grid > .community-card.gtv-blocks-home-ranking .gtv-blocks-leaderboard-list li {
  box-sizing:border-box;
  min-height:39px;
  padding:8px 5px;
  border:0;
  border-bottom:1px solid #e5e5ee;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  font-size:13px;
  line-height:1.35;
  color:inherit;
}
.community-grid > .community-card.poll .vote-options button:last-child,
.community-grid > .community-card.gtv-blocks-home-ranking .gtv-blocks-leaderboard-list li:last-child {border-bottom:0;}
.community-grid > .community-card.poll .vote-options button {display:flex;align-items:center;gap:8px;width:100%;text-align:left;}
.community-grid > .community-card.poll .vote-options button::before {flex:0 0 auto;font-size:15px;color:#792cf0;}
.community-grid > .community-card.poll .vote-options button span {flex:1;min-width:0;}
.community-grid > .community-card.poll .vote-options button b {font-size:12px;font-weight:700;white-space:nowrap;}
.community-grid > .community-card.poll .vote-options button.selected {background:rgba(124,45,234,.07);outline:none;}
.community-grid > .community-card.poll #vote-status {display:block;margin-top:12px;font-size:12px;}
.community-grid > .community-card.gtv-blocks-home-ranking .gtv-blocks-ranking-link {display:inline-block;margin-top:12px;}
html[data-gtv-theme="dark"] .community-grid > .community-card.poll .vote-options button,
html[data-gtv-theme="dark"] .community-grid > .community-card.gtv-blocks-home-ranking .gtv-blocks-leaderboard-list li,
body.dark-mode .community-grid > .community-card.poll .vote-options button,
body.dark-mode .community-grid > .community-card.gtv-blocks-home-ranking .gtv-blocks-leaderboard-list li {border-bottom-color:#40334f;background:transparent;color:inherit;}
@media(max-width:550px){
  .community-grid > .community-card.poll,
  .community-grid > .community-card.gtv-blocks-home-ranking {padding:12px;}
  .community-grid > .community-card.poll .vote-options button b {font-size:11px;}
}

/* GTV original: /assets/css/gtv-topstory-home-v1.css */
/* GRAUMAENLEIN_TV – Top Story Startseite, V1
   Kompakt und vollständig lesbar, ohne das Newsroom-Layout anzutasten. */
#magazin .magazine-grid > .top-story {
  min-width: 0;
}
#magazin .magazine-grid > .top-story .story-body {
  padding: clamp(12px, 1.25vw, 18px);
  min-width: 0;
}
#magazin .magazine-grid > .top-story .story-body h3 {
  font-size: clamp(22px, 2vw, 32px) !important;
  line-height: 1.16 !important;
  letter-spacing: -.025em !important;
  margin: 7px 0 12px !important;
  overflow-wrap: anywhere;
  hyphens: auto;
}
#magazin .magazine-grid > .top-story .story-body h3 a {
  font-size: inherit !important;
  line-height: inherit !important;
  text-decoration: none;
}
#magazin .magazine-grid > .top-story .story-body > p {
  font-size: clamp(13px, 1.06vw, 16px) !important;
  line-height: 1.5 !important;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
#magazin .magazine-grid > .top-story .story-meta {
  flex-wrap: wrap;
  row-gap: 8px;
  line-height: 1.35;
}
#magazin .magazine-grid > .top-story .story-meta .gtv-news-home-arrow {
  flex: 0 0 auto;
  margin-left: auto;
}
@media (max-width: 899px) {
  #magazin .magazine-grid > .top-story .story-body h3 {
    font-size: clamp(22px, 4vw, 30px) !important;
  }
}
@media (max-width: 480px) {
  #magazin .magazine-grid > .top-story .story-body h3 {
    font-size: clamp(20px, 5.6vw, 26px) !important;
  }
  #magazin .magazine-grid > .top-story .story-body > p {
    font-size: 14px !important;
  }
}
