/* Live-Daten und Bedienelemente für Start und Sendeplan. Die Hub-Schale ist gemeinsam. */
#plan-title:not(:empty)::before { content: '· '; }
#next-kicker::before {
  content: '';
  display: inline-block;
  width: .48rem;
  height: .48rem;
  margin-inline-end: .5rem;
  border-radius: 50%;
  vertical-align: .08em;
  background: currentColor;
}
.next-ticket .next-countdown { text-align: right; letter-spacing: .035em; }
.next-ticket .next-date, .next-ticket .next-notice {
  margin-block: .16rem .35rem;
  font-size: .83rem;
  color: #f0d79c;
}
.next-ticket .has-event .next-date { font-weight: 800; }
.next-ticket .next-date { font-weight: 800; }
.next-game-logo { max-width: min(12rem, 65%); max-height: 3rem; margin-block: .55rem; object-fit: contain; object-position: left; }
#live-badge {
  display: inline-flex;
  align-items: baseline;
  gap: .3rem;
  padding: .18rem .6rem;
  margin-top: .35rem;
  border-radius: 1rem;
  background: #f3ebdd;
  color: #514326;
  font-size: .78rem;
  font-weight: 800;
}
#live-badge.live { background: #d0e3ad; color: #173d32; }

.ticket-art {
  position: relative;
  overflow: hidden;
  background-position: 50% 70%;
  background-size: cover;
}
.ticket-art.motif-scene { height: clamp(7.4rem, 16vw, 10.8rem); }
.ticket-art.motif-scene .next-motif-image {
  position: absolute;
  margin: 0;
  max-width: none;
  mask-image: none;
}
.ticket-art.motif-cover .next-motif-image {
  width: min(100%, 15.4rem);
  height: 9rem;
}
.ticket-art.motif-live {
  padding-block: .45rem;
  background: radial-gradient(ellipse at center, #71505e, #392931 70%);
}
.ticket-art.motif-live .next-motif-image {
  width: min(100%, 8.9rem);
  height: 8.9rem;
  object-fit: contain;
  mask-image: none;
}
[data-spielmotiv="standard"] { --spiel-akzent: #c79b4b; }
.next-expanded[data-spielmotiv] > .next-visual { border-block-end: 4px solid var(--spiel-akzent); }
.next-expanded[data-spielmotiv] > .next-visual .next-motif-image { border: 0; }
.next-expanded .next-date { color: #fffaf0; font-weight: 800; margin-top: .55rem; }
.next-expanded .next-notice { margin-top: .35rem; }
.next-expanded .next-visual {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: .8rem;
}
.next-expanded .next-visual.motif-scene { height: 12rem; }
.next-expanded .next-visual.motif-cover .next-motif-image { width: min(100%, 19rem); height: 11rem; }
.next-expanded:not(:has(.next-visual:not([hidden]))) { grid-template-columns: minmax(0, 1fr); }
.next-expanded .next-countdown { font-size: .86rem; }

.plan-event .plan-date { grid-column: 1; }
.plan-event .plan-motif {
  grid-column: 2;
  position: relative;
  height: 3.3rem;
  overflow: hidden;
  border-radius: .45rem;
}
.plan-event .plan-image { position: absolute; max-width: none; }
.plan-event .plan-content { grid-column: 3; min-width: 0; }
.plan-event.no-art .plan-content { grid-column: 2 / 4; }
.plan-event .agenda-state { grid-column: 4; }
.agenda-state time { font-weight: 800; font-size: .89rem; }
.plan-genre, .plan-note { display: block; margin-top: .15rem; color: var(--muted); font-size: .82rem; }
.plan-note { overflow-wrap: anywhere; }
.plan-recording { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem .65rem; margin-top: .35rem; }
.plan-vod-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .35rem .8rem; border: 1px solid currentColor; border-radius: .5rem; font-size: .82rem; font-weight: 800; }
.plan-vod-link:hover { background: var(--wash); }
.plan-vod-link:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.plan-vod-note { color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; }
.plan-logo { max-width: min(7rem, 100%); max-height: 2.4rem; object-fit: contain; object-position: left; margin-top: .32rem; }
.plan-message, .plan-regular {
  list-style: none;
  border-bottom: 1px solid var(--line);
  padding: .7rem .65rem;
}
.plan-regular { display: flex; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; }
.plan-regular.today { background: var(--wash); }
.plan-error { color: var(--ochre); }
#plan-retry { margin-top: .6rem; }

.points-dashboard { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.points-dashboard .points-quick, .grain-ledger {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: clamp(1rem, 3.2vw, 2rem);
  margin-top: 0;
}
.points-heading, .ledger-heading { display: flex; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; }
.points-heading > a, .points-archive a { display: inline-flex; align-items: center; min-height: 44px; }
.points-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .25rem .5rem; margin-top: .6rem; }
.points-form label { grid-column: 1/-1; font-weight: 800; }
.points-form input {
  width: 100%;
  min-height: 45px;
  min-width: 0;
  padding: .5rem .7rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--muted);
  border-radius: 9px;
}
.points-form input::placeholder { color: var(--muted); }
.points-form input[aria-invalid="true"] { border-width: 2px; border-color: var(--ochre); }
.points-feedback { min-height: 2.2rem; padding-block: .45rem; font-size: .9rem; }
.points-status, .points-meta { color: var(--muted); }
.points-person { font-weight: 800; overflow-wrap: anywhere; }
.points-numbers { display: flex; gap: .4rem .8rem; flex-wrap: wrap; }
.points-retry { background: transparent; border: 0; min-height: 44px; color: var(--forest); text-decoration: underline; padding: 0; }
.mini-top { margin-block: .7rem; list-style: none; }
.mini-top li { display: flex; gap: .65rem; align-items: center; padding: .3rem 0; border-bottom: 1px solid var(--line); }
.mini-top .who { min-width: 0; overflow-wrap: anywhere; }
.mini-top .pts { margin-inline-start: auto; font-variant-numeric: tabular-nums; font-weight: 800; }
.ledger-heading img { width: 50px; height: 49px; }
.grain-ledger p { margin-top: .45rem; }
.button.secondary { color: var(--forest); background: var(--light); border-color: var(--line); }
.mode-live .button.primary { color: #2b1a20; }

.clip-picks, .archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; }
.first-look-copy p:not(.eyebrow) { max-width: 56ch; margin-top: .45rem; }
.first-look-copy .more { margin-inline-end: .75rem; }
.clip-picks a { display: grid; align-content: start; gap: .35rem; height: 100%; padding: .8rem 1rem; background: var(--light); border: 1px solid var(--line); border-radius: .75rem; color: var(--ink); }
.clip-context, .clip-watch { font-size: .85rem; color: var(--muted); }
.clip-watch { display: flex; gap: .15rem .65rem; flex-wrap: wrap; }
.vod-thumb { display: block; position: relative; }
.vod-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.vod-duration { position: absolute; right: .4rem; bottom: .4rem; padding: .12rem .4rem; border-radius: .35rem; background: #1a181c; color: #fffaf0; font-size: .8rem; }
.vod-copy { padding: .75rem .85rem; }
.vod-copy h3 { margin-top: .35rem; }
.vod-copy p, .vod-copy .w-label { color: var(--muted); font-size: .9rem; }
.vod-copy p { margin-top: .3rem; }
.vod-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .65rem; margin-top: .35rem; }
.vod-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.vod-actions button, .vod-player button {
  min-height: 44px;
  padding: .35rem .6rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--paper);
  color: var(--forest);
  font-weight: 800;
}
.vod-original { margin-top: .25rem; }
.vod-original summary { cursor: pointer; font-weight: 800; }
.vod-player { margin-top: .75rem; padding: .7rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--light); }
.vod-player-head { display: flex; justify-content: space-between; align-items: center; gap: .4rem .7rem; flex-wrap: wrap; }
.vod-frame { margin-block: .5rem; }
.vod-frame iframe { display: block; width: 100%; min-height: 300px; border: 0; }
.archive-section > .small, .vod-player > .small { color: var(--muted); font-size: .88rem; margin-top: .6rem; }
#vod-status:empty { margin: 0; }

.social-list { display: flex; flex-wrap: wrap; gap: .15rem .8rem; list-style: none; margin-top: .5rem; }
.social-list a { display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; }
.social-list span { font-size: .84rem; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding-block: .4rem; }
.faq summary { min-height: 44px; display: list-item; padding-block: .55rem; cursor: pointer; font-weight: 800; }
.faq details p { padding-bottom: .5rem; }
.cooperation-line h2 { margin-block: .25rem .4rem; }
.cooperation-line a { overflow-wrap: anywhere; display: inline-flex; align-items: center; min-height: 44px; }
.privacy-dialog { --text: var(--ink); --bg: var(--light); --card: var(--paper); --card2: var(--wash); --gold: var(--ochre); --green: var(--forest); --display: Baloo, sans-serif; }
.privacy-dialog .privacy-actions button { color: inherit; }

@media(max-width:635px) {
  .ticket-art.motif-cover .next-motif-image { width: min(100%, 11.9rem); height: 7rem; }
  .ticket-art.motif-live .next-motif-image { width: min(100%, 6rem); height: 6rem; }
  .next-expanded .next-visual.motif-cover .next-motif-image { width: min(100%, 12rem); height: 8rem; }
  .plan-event .plan-motif { display: none; }
  .plan-date span[aria-hidden="true"] { white-space: nowrap; font-size: .83rem; }
  .plan-event .plan-content, .plan-event.no-art .plan-content { grid-column: 2; }
  .plan-event .agenda-state { grid-column: 3; }
  .agenda-state time { font-size: .74rem; white-space: nowrap; }
  .points-dashboard, .clip-picks, .archive-grid { grid-template-columns: minmax(0, 1fr); }
}
@media(max-width:355px) {
  .home-dashboard .agenda-item { grid-template-columns: 2.35rem minmax(0, 1fr); }
  .plan-event .agenda-state { grid-column: 2; }
  .next-ticket .ticket-top { align-items: baseline; }
  .next-ticket .next-countdown { font-size: .65rem; }
}
@media(forced-colors:active) {
  #live-badge { border: 1px solid CanvasText; }
  .next-expanded[data-spielmotiv] > .next-visual { border-block-end-color: CanvasText; }
}
