/* ============================================================
   Sperrzeit – Glas Morgenlicht (Reflektor-Farbwelt)
   ============================================================ */
/* Schrift Sora (SIL Open Font License) – selbst gehostet, keine Verbindung zu Google beim Seitenaufruf */
@font-face { font-family: 'Sora'; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url('vendor/fonts/sora-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sora'; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url('vendor/fonts/sora-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f6f6f3; --white: #ffffff; --text: #1d1f24; --muted: #60646c; --line: #ebecee;
  --apricot: #e8945f; --apricot-2: #f0a674; --apricot-3: #f3c2a0; --ink: #b25c26; --ink-2: #a6531f;
  --peach: #fdf1e8; --grey: #eef0f2; --blue: #e8eef7; --blue-ink: #3b5f8f; --anth: #1d1f24;
  --glass: rgba(255,255,255,.55); --glass-strong: rgba(255,255,255,.72); --glass-border: rgba(255,255,255,.85);
  --blur: blur(22px) saturate(140%);
  --shadow: 0 1px 2px rgba(29,31,36,.04), 0 24px 50px -30px rgba(120,70,40,.35);
  --shadow-pop: 0 30px 70px -24px rgba(29,31,36,.35);
  --r: 26px; --r-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: Sora, system-ui, sans-serif; font-size: 16px; line-height: 1.55; color: var(--text); min-height: 100vh; -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(600px 420px at 85% 8%, rgba(240,166,116,.38), transparent 70%),
    radial-gradient(560px 460px at 8% 40%, rgba(170,196,232,.42), transparent 70%),
    radial-gradient(640px 420px at 70% 95%, rgba(243,194,160,.30), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
svg { width: 18px; height: 18px; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; touch-action: manipulation; }
input { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--apricot); outline-offset: 2px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.pad { padding: 14px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--anth); color: #fff; padding: 10px 14px; border-radius: 12px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Glas */
.glass { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--r); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--shadow); }
.reflex { position: absolute; inset: 0 0 auto 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--apricot-3) 0 10px, #fff 10px 20px); }

/* Länderkürzel & Kategorien */
.cc { display: inline-flex; align-items: center; gap: 5px; min-width: 52px; height: 26px; padding: 0 8px 0 2px; flex-shrink: 0; border: 1px solid rgba(29,31,36,.12); border-radius: 999px; background: #fff; color: var(--text); font: 700 11px/1 Sora, sans-serif; letter-spacing: .04em; box-shadow: 0 1px 2px rgba(29,31,36,.06); }
.cc .fi { display: block; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(29,31,36,.08); }
.catdot { width: 8px; height: 8px; border-radius: 50%; background: var(--cat); flex-shrink: 0; display: inline-block; }
.cat-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--cat); background: color-mix(in srgb, var(--cat) 14%, #fff); flex-shrink: 0; }
.cat-ic svg { width: 16px; height: 16px; }

/* Kopfleiste */
.top { position: sticky; top: 14px; z-index: 40; display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 8px 8px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.62); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.mark { display: block; width: 40px; height: 40px; flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(178,92,38,.18)); } /* Logo (assets/brand/logo.svg), ohne Hintergrund */
.top nav { display: flex; gap: 4px; margin-left: 12px; }
.top nav a { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); transition: background-color .2s var(--ease), color .2s; }
.top nav a:hover { color: var(--text); background: rgba(255,255,255,.6); }
.top nav a.on { background: var(--peach); color: var(--ink); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
/* Filter in der Kopfleiste */
.top-f { margin-left: auto; min-width: 0; }
.top-f:empty { display: none; }
.top.has-f .top-f + .top-r { margin-left: 0; }
/* Platz neben der Überschrift (breite Bildschirme) */
.intro-r { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.f-slot:empty { display: none; }
.f-slot .filters { justify-content: flex-end; }
.f-slot .pill span { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-slot .pop { left: auto; right: 0; }
.top-f .filters { flex-wrap: nowrap; gap: 6px; }
.top-f .pill { min-height: 40px; padding: 0 14px; background: rgba(255,255,255,.75); }
.top-f .pill span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-f .pop { right: 0; left: auto; }
.top-f .pop-wrap:first-child .pop { right: auto; left: 0; }
@media (max-width: 1140px) {
  .top.has-f { flex-wrap: wrap; border-radius: 26px; }
  .top.has-f .top-f { order: 3; width: 100%; margin: 2px 0 0; }
  .top.has-f .top-r { margin-left: auto; }
  .top-f .filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .top-f .pill { width: 100%; justify-content: flex-start; }
  .top-f .pill .chev { margin-left: auto; }
  .top-f .pop-wrap:first-child .pop, .top-f .pop { left: 0; right: auto; }
  .top-f .pop-wrap:last-child .pop { left: auto; right: 0; }
}
.pill .lbl { font-weight: inherit; }
@media (max-width: 900px) { .top.has-f .logo .ln { display: none; } }
@media (max-width: 600px) {
  .top-f .pill .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* bleibt für Screenreader lesbar */
  .top-f .pill span { max-width: none; }
}
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.62); border: 1px solid var(--glass-border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.seg button { min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); transition: background-color .2s var(--ease), color .2s; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--anth); color: #fff; }
.seg.lang button { padding: 0 12px; min-width: 40px; }
.iconbtn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: rgba(255,255,255,.7); color: var(--text); transition: background-color .2s; }
.iconbtn:hover { background: var(--peach); color: var(--ink); }
.iconbtn.sm { width: 36px; height: 36px; }

/* Einstieg */
.intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 28px; padding: 38px 0 24px; }
.intro .date { color: var(--muted); font-size: 13px; font-weight: 600; }
.intro h1 { font-size: clamp(26px, 3.3vw, 40px); font-weight: 300; line-height: 1.12; letter-spacing: -.022em; margin-top: 4px; }
.intro h1 b { font-weight: 600; color: var(--ink); }
.intro p.sub { color: var(--muted); margin-top: 6px; max-width: 52ch; font-size: 15px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--anth); color: #fff; font-weight: 700; font-size: 14px; transition: transform .12s var(--ease), background-color .2s; }
.btn:hover { background: #33363d; }
.btn:active { transform: scale(.98); }
.btn-soft { background: var(--peach); color: var(--ink); } .btn-soft:hover { background: #fbe4d3; }
.btn-ghost { background: transparent; color: var(--ink); } .btn-ghost:hover { background: var(--peach); }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; font-size: 14px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link.sm { font-size: 13px; min-height: 32px; }

/* Filter */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pop-wrap { position: relative; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.62); border: 1px solid var(--glass-border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-weight: 600; font-size: 14px; transition: border-color .2s; }
.pill span { color: var(--muted); font-weight: 600; }
.pill.set span { color: var(--ink); }
.pill[aria-expanded="true"] { border-color: var(--apricot); }
.pill .chev { width: 16px; height: 16px; color: var(--muted); transition: transform .2s var(--ease); }
.pill[aria-expanded="true"] .chev { transform: rotate(180deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 2px; padding: 2px 2px 2px 4px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--glass-border); }
.chip button { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; color: var(--muted); }
.chip button:hover { background: var(--peach); color: var(--ink); }
.chip svg { width: 14px; height: 14px; }

.pop { position: absolute; z-index: 60; top: calc(100% + 10px); right: 0; width: min(460px, calc(100vw - 32px)); padding: 18px; border-radius: 24px; background: rgba(255,255,255,.94); border: 1px solid var(--glass-border); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--shadow-pop); animation: pop .22s var(--ease); }
.pop.narrow { width: 300px; }
.intro .pop { right: auto; left: 0; }
.intro .f-slot .pop { left: auto; right: 0; } /* Filter rechts neben der Überschrift: Fenster nach links aufklappen */
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.pop-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pop-h b { font-size: 16px; font-weight: 600; }
.search { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--grey); }
.search input { flex: 1; background: transparent; border: 0; outline: none; font-size: 16px; min-width: 0; }
.search:focus-within { outline: 2.5px solid var(--apricot); outline-offset: 2px; }
.search svg { color: var(--muted); width: 16px; height: 16px; }
.groups { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 8px; }
.gbtn { min-height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--peach); color: var(--ink); }
.gbtn:hover { background: #fbe4d3; }
.clist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 6px; max-height: 40vh; overflow-y: auto; margin: 0 -6px; padding: 0 6px; }
.opt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px; border-radius: 12px; font-size: 14px; cursor: pointer; }
.opt:hover { background: var(--peach); }
.opt input { width: 18px; height: 18px; accent-color: var(--apricot); flex-shrink: 0; }
.catlist { display: flex; flex-direction: column; }
.tznote { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.optnote { display: block; font-size: 12px; color: var(--muted); }
.remember { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 14px; border-radius: 16px; background: var(--blue); }
.remember b { font-size: 14px; font-weight: 600; } .remember p { font-size: 12.5px; color: var(--muted); }
.switch { position: relative; width: 42px; height: 26px; border-radius: 999px; background: #cfd3d8; flex-shrink: 0; margin-top: 2px; transition: background-color .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .22s var(--ease); }
.switch[aria-checked="true"] { background: var(--anth); }
.switch[aria-checked="true"]::after { transform: translateX(16px); }
.pop-f { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }

/* Ring */
.ring { position: relative; width: var(--size); height: var(--size); flex-shrink: 0; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring svg circle:last-child { transition: stroke-dashoffset .8s var(--ease); }
.ring .c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px; padding: 0 12%; }
.ring .c b { font-weight: 300; letter-spacing: -.02em; line-height: 1; font-size: calc(var(--size) * .17); white-space: nowrap; }
.ring .c span { font-size: 12px; color: var(--muted); line-height: 1.3; }

/* Startseite */
.main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; }
.next { position: relative; overflow: hidden; padding: 36px 30px 30px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--peach); color: var(--ink-2); }
.badge svg { width: 14px; height: 14px; }
.badge.live { background: #fde3e3; color: #a33b3b; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.next .badge { position: absolute; left: 22px; top: 26px; }
.k { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.next .ring { margin: 22px 0 16px; }
.next h2 { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: 22px; font-weight: 600; }
.next .when { color: var(--muted); margin-top: 4px; }
.facts { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 18px; text-align: left; }
.facts div { background: rgba(255,255,255,.65); border-radius: var(--r-sm); padding: 12px 14px; min-width: 0; }
.facts dt { font-size: 12px; color: var(--muted); font-weight: 600; } .facts dd { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.next .btn { width: 100%; }


.tm { font-size: 13px; font-weight: 700; color: var(--ink-2); background: rgba(253,241,232,.95); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.nr { display: flex; align-items: center; gap: 10px; padding: 8px 0; } .nr + .nr { border-top: 1px solid rgba(29,31,36,.06); }
.nr span:nth-child(2) { flex: 1; font-weight: 600; font-size: 14px; } .nr .num { color: var(--muted); font-size: 13px; }

.empty { display: grid; place-items: center; text-align: center; gap: 8px; padding: 36px 16px; }
.empty-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--peach); color: var(--ink); margin-bottom: 4px; }
.empty p { color: var(--muted); max-width: 36ch; font-size: 14px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--peach); color: var(--ink-2); font-weight: 600; font-size: 12px; }
.tag svg { width: 14px; height: 14px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 40px 0 48px; font-size: 13px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; width: 100%; padding-top: 10px; border-top: 1px solid rgba(29,31,36,.07); }
.foot-links a { min-height: 32px; display: inline-flex; align-items: center; color: var(--muted); font-weight: 600; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Prüfhinweis am Eintrag */
.verify { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.6); border: 1px solid rgba(29,31,36,.06); font-size: 12.5px; line-height: 1.5; color: var(--text); }
.verify > svg { width: 16px; height: 16px; margin-top: 1px; color: var(--blue-ink); flex-shrink: 0; }
.verify .muted { color: var(--muted); }
.verify-a { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 2px; }
.verify-a .link { font-size: 12.5px; min-height: 30px; gap: 5px; }
.verify-a .link svg { width: 14px; height: 14px; }
button.link { padding: 0; }

/* Rechtstexte */
.legal { position: relative; overflow: hidden; max-width: 820px; padding: 38px 40px 34px; }
.legal h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -.015em; margin: 4px 0 18px; }
.legal h2 { font-size: 17px; font-weight: 600; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 8px 0 0 20px; display: grid; gap: 6px; }
.legal .lead { font-size: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.6); }
.legal .addr { margin-bottom: 10px; }
.legal .muted { font-size: 13px; margin-top: 18px; }
@media (max-width: 600px) { .legal { padding: 28px 20px 24px; } .legal p, .legal li { font-size: 14.5px; } }

/* ============================================================
   Startseite „Kommende“: Liste links, Details rechts
   ============================================================ */
html { scroll-behavior: smooth; }
.home { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.cc.ghost { visibility: hidden; }

/* Statuszeile unter dem Untertitel */
.v-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; font-size: 15px; min-height: 28px; }
.v-status .nobanbadge svg, .v-status .badge svg { width: 14px; height: 14px; }
.v-status .nx { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); }
.v-status .nx b { color: var(--text); font-weight: 600; }
.v-status .nx .cc { background: transparent; box-shadow: none; }

/* Listenkachel mit Filtern */
.v-list { padding: 22px 24px 18px; }
.v-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.v-head h3 { font-size: 20px; font-weight: 600; }
.v-head .count { color: var(--muted); font-size: 14px; }

/* Wochenleiste: Sprung zum Tag, Anzahl je Tag, Heute nur umrandet */
.wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; }
.wk a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0 10px; border-radius: 14px; background: rgba(255,255,255,.5); transition: background-color .2s; }
.wk a:hover { background: rgba(255,255,255,.9); }
.wk span { font-size: 12px; color: var(--muted); } .wk b { font-weight: 600; }
.v-wk { margin-bottom: 18px; }
.v-wk a { padding: 7px 0 8px; gap: 2px; }
.v-wk a.on { background: rgba(255,255,255,.5); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--anth); }
.v-wk a.on span { color: var(--muted); }
.v-wk a[aria-disabled="true"] { cursor: default; }
.v-wk a[aria-disabled="true"]:hover { background: rgba(255,255,255,.5); }
.v-wk .n { display: grid; place-items: center; min-width: 24px; height: 18px; padding: 0 6px; margin-top: 2px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--peach); color: var(--ink-2); }
.v-wk .n.z { background: transparent; color: #b3b7bd; }

/* Tage mit Überschrift, die unter der Kopfleiste haftet */
.v-tl { position: relative; padding-left: 14px; }
.v-tl::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: linear-gradient(var(--apricot-3), rgba(170,196,232,.9)); }
.v-day { position: relative; scroll-margin-top: calc(var(--hdr, 78px) + 6px); }
.v-day + .v-day { margin-top: 12px; }
.v-dh { position: sticky; top: calc(var(--hdr, 77px) + 1px); z-index: 2; display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 8px; margin-bottom: 2px; border-radius: 12px; background: rgba(251,250,248,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 15.5px; line-height: 20px; }
.v-dh b { font-weight: 600; }
.v-dh b, .v-dh > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-ds { display: none; }
.v-dh::before { content: ""; position: absolute; left: -14px; top: 50%; margin-top: -8px; width: 16px; height: 16px; box-sizing: border-box; border-radius: 50%; background: #fff; border: 3px solid var(--apricot); }
.v-day.today .v-dh::before { border-color: #d0573a; background: #f6c6b5; }
.v-rel { font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--grey); padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.v-day.today .v-rel { background: #fde3e3; color: #a33b3b; }
.v-cnt { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.v-day.free .v-dh { position: relative; top: auto; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: 14px; color: var(--muted); padding-top: 3px; padding-bottom: 3px; }
.v-day.free .v-dh::before { left: -12px; margin-top: -6px; width: 12px; height: 12px; border: 2px solid #d5d8dc; }
.v-day.free .v-cnt { font-weight: 500; }

/* Einzeilige Einträge: Land · Art · Titel · Uhrzeit rechts */
.v-row { display: grid; grid-template-columns: 54px 9px minmax(0, 1fr) auto 16px; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 7px 8px 7px 6px; border-radius: 12px; transition: background-color .2s; }
.v-row:hover { background: rgba(255,255,255,.65); }
.v-row[aria-current="true"] { background: rgba(255,255,255,.92); box-shadow: inset 0 0 0 1.5px var(--apricot-2); }
.v-row .cc { background: transparent; box-shadow: none; }
.v-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cat); }
.v-t { font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.v-t .warnmark { display: inline-block; width: 14px; height: 14px; margin-left: 6px; vertical-align: -2px; color: var(--ink-2); }
.v-tm { font-size: 13.5px; font-weight: 600; white-space: nowrap; text-align: right; }
.v-row.live .v-tm { color: #b8432a; }
.v-chev { width: 16px; height: 16px; color: var(--ink); opacity: 0; transition: opacity .2s, transform .2s var(--ease); }
.v-row:hover .v-chev, .v-row[aria-current="true"] .v-chev { opacity: 1; }
.v-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(29,31,36,.07); }
.v-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--muted); }
.v-legend span { display: inline-flex; align-items: center; gap: 6px; }

/* Detailkachel: bleibt sichtbar, eigener Scrollbereich ohne Balken */
.v-panel { position: sticky; top: calc(var(--hdr, 78px) + 18px); overflow: hidden; padding: 32px 26px 24px; }
.v-panel h2, .v-inline h2 { display: flex; gap: 8px 10px; align-items: center; flex-wrap: wrap; font-size: 19px; font-weight: 600; line-height: 1.3; }
.v-panel .reg, .v-inline .reg { color: var(--muted); font-size: 14px; margin-top: 4px; }
.v-when { font-size: 17px; font-weight: 600; margin-top: 16px; }
.v-when small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.v-barlbl { font-size: 12.5px; color: var(--muted); font-weight: 600; margin: 12px 0 8px; }
.v-facts { display: grid; margin-top: 16px; }
.v-facts > div { padding: 11px 0; border-top: 1px solid rgba(29,31,36,.07); font-size: 14px; }
.v-facts dt { color: var(--muted); font-size: 12.5px; font-weight: 600; margin-bottom: 3px; }
.v-facts dd { line-height: 1.55; overflow-wrap: anywhere; }
.v-facts .inl { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v-facts .inl dt { margin: 0; flex-shrink: 0; }
.v-facts .inl dd { display: flex; align-items: center; gap: 8px; font-weight: 600; text-align: right; }
.v-clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.v-more { margin-top: 6px; font-size: 13px; }
.v-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.v-btns .btn { min-height: 44px; padding: 0 12px; }
@media (min-width: 961px) {
  .v-panel { max-height: calc(100vh - var(--hdr, 78px) - 38px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; }
  .v-panel::-webkit-scrollbar { display: none; }
  .v-panel.more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent); }
}

/* Details unter dem Eintrag (nur Handy/Tablet) */
.v-inline { display: none; }

/* Dauerhaft gültig: nach Land gruppiert */
.v-perm { margin-top: 24px; padding: 22px 24px 18px; }
.v-ph { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.v-ph h4 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.v-ph h4 svg { color: var(--ink); }
.ctry2 { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.ctry2 .cc { background: transparent; box-shadow: none; }
.v-ph .link { margin-left: auto; }
.v-pg + .v-pg { margin-top: 14px; }
.v-pg > .ctry2 { margin: 4px 0 6px; }
.v-pl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.v-pr { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(29,31,36,.06); font-size: 14px; line-height: 1.35; }
.v-pr .cat-ic { width: 28px; height: 28px; border-radius: 9px; }
.v-pr .cat-ic svg { width: 14px; height: 14px; }
.v-pr b { font-weight: 600; }
.v-pr .warnmark { display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: -2px; color: var(--ink-2); }
.v-pr .num { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* Handy: Filterfenster als Leiste am unteren Rand. Der Glas-Effekt der Kopfleiste würde sonst
   zum Bezugsrahmen für das fest positionierte Fenster – solange es offen ist, ausschalten. */
@media (max-width: 700px) {
  .top:has(.pop:not([hidden])) { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.94); }
  .top-f .pop, .top-f .pop-wrap:first-child .pop, .top-f .pop-wrap:last-child .pop { left: 12px; right: 12px; }
}
@media (max-width: 960px) {
  .home { grid-template-columns: minmax(0, 1fr); }
  .home .v-panel { display: none; }
  .v-pl { grid-template-columns: minmax(0, 1fr); }
  .v-ph .link { margin-left: 0; }
  .v-inline { display: block; position: relative; overflow: hidden; margin: 6px 0 10px; padding: 18px 16px 16px; border-radius: 18px; background: rgba(255,255,255,.8); border: 1px solid var(--glass-border); }
  .v-inline .reflex { height: 6px; }
  .v-inline h2, .v-inline .reg { display: none; } /* steht schon im Eintrag darüber */
  .v-inline .v-when { margin-top: 6px; }
  .v-row[aria-current="true"] .v-chev { transform: rotate(90deg); }
}
@media (max-width: 600px) {
  .v-list, .v-perm { padding: 20px 14px 16px; }
  .v-head { margin-bottom: 10px; }
  /* Filter: zwei gleich breite Knöpfe, Zeitraum darunter über die ganze Breite */
  .v-wk { gap: 4px; margin-bottom: 14px; }
  .v-wk a { padding: 6px 0 7px; border-radius: 12px; }
  .v-wk span { font-size: 11px; }
  .v-wk .n { min-width: 20px; padding: 0 5px; }
  .v-tl { padding-left: 12px; }
  .v-tl::before { left: 5px; }
  .v-dh { gap: 6px; padding: 6px 6px 6px 8px; font-size: 14px; }
  .v-dh::before { left: -12px; width: 14px; height: 14px; margin-top: -7px; }
  .v-rel { font-size: 11px; padding: 1px 7px; }
  .v-dl { display: none; } .v-ds { display: inline; }
  .v-cnt { font-size: 12px; }
  .v-day.free .v-dh { font-size: 13px; }
  .v-day.free .v-dh::before { left: -10px; width: 10px; height: 10px; margin-top: -5px; }
  /* Eintrag zweizeilig: Titel oben, Uhrzeit darunter */
  .v-row { grid-template-columns: 50px 8px minmax(0, 1fr) 16px; column-gap: 8px; row-gap: 1px; padding: 8px 6px 8px 4px; }
  .v-row .cc { grid-row: 1 / span 2; align-self: start; }
  .v-dot { grid-row: 1; align-self: center; width: 8px; height: 8px; }
  .v-t { grid-column: 3; grid-row: 1; font-size: 14px; }
  .v-tm { grid-column: 3; grid-row: 2; text-align: left; color: var(--muted); font-size: 13px; }
  .v-chev { grid-column: 4; grid-row: 1 / span 2; opacity: .55; }
  .v-row[aria-current="true"] .v-chev { opacity: 1; }
  .v-inline { margin-left: -4px; margin-right: -4px; padding: 16px 14px 14px; }
  .v-facts .inl { flex-wrap: wrap; }
  .v-facts .inl dd { text-align: left; }
  .v-btns { grid-template-columns: minmax(0, 1fr); }
  .v-foot { flex-direction: column; align-items: flex-start; }
  .v-pr { grid-template-columns: 28px minmax(0, 1fr); row-gap: 2px; }
  .v-pr .num { grid-column: 2; }
}
.dhero.single { grid-template-columns: minmax(0, 1fr); }

/* Quellen & Prüfhinweise */
.flag { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); background: rgba(255,255,255,.6); border-radius: 12px; padding: 8px 10px; margin-top: 8px; }
.flag svg { width: 15px; height: 15px; margin-top: 1px; color: var(--blue-ink); }
.flag.warn { background: #fdf1e8; color: var(--ink-2); }
.flag.warn svg { color: var(--ink-2); }
.nobanbadge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: #e7f3ec; color: #2d6b47; }
.summary { font-size: 15px; margin-top: 12px; }

/* Dauerhaft gültige Regeln */
.prow { align-items: flex-start; gap: 10px; }
.prow .cat-ic { width: 28px; height: 28px; border-radius: 9px; }
.prow .cat-ic svg { width: 14px; height: 14px; }
.prow .pt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.35; }
.prow .ph { display: flex; align-items: flex-start; gap: 8px; }
.prow .ph b { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.prow .ph .cc { margin-top: -1px; }
.prow .ps { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.prow .ps .pv { font-weight: 400; color: var(--muted); }
.prow .pt small { font-weight: 400; font-size: 12px; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* 24-h-Balken */
.tbar { position: relative; height: 10px; border-radius: 999px; overflow: hidden; background: repeating-linear-gradient(90deg, transparent 0 calc(100%/24 - 1px), rgba(29,31,36,.06) calc(100%/24 - 1px) calc(100%/24)), rgba(29,31,36,.05); }
.tb-seg { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: repeating-linear-gradient(-45deg, var(--apricot) 0 6px, var(--apricot-2) 6px 10px); }
.tb-now { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--anth); }
.tb-lbl { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; }

/* Kalender */
.cal { padding: 24px; }
.cal-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.cal-h h2 { font-size: 24px; font-weight: 300; letter-spacing: -.01em; margin-right: 6px; } .cal-h h2 b { font-weight: 600; }
.cal-h .seg { margin-left: auto; }
.cg { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cg .dw { text-align: center; font-size: 12px; color: var(--muted); font-weight: 600; padding: 4px 0; }
.cell { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 108px; padding: 8px; border-radius: 16px; background: rgba(255,255,255,.55); text-align: left; min-width: 0; border: 1.5px solid transparent; transition: background-color .15s, border-color .15s; }
.cell:hover { background: rgba(255,255,255,.9); }
.cell.we { background: rgba(255,255,255,.35); }
.cell.out { opacity: .45; }
.cell .n { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 999px; font-size: 13px; font-weight: 600; align-self: flex-start; }
.cell.today .n { background: var(--anth); color: #fff; }
.cell[aria-selected="true"] { border-color: var(--apricot); background: rgba(255,255,255,.95); }
.cell .e { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; min-width: 0; padding: 2px 4px; border-radius: 8px; background: rgba(253,241,232,.9); }
.cell .e .cc { min-width: 0; height: 18px; font-size: 9.5px; padding: 0 5px 0 2px; gap: 3px; }
.cell .e .cc .fi { width: 13px; height: 13px; }
.cell .e .tt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.cell .ecs { display: flex; flex-wrap: wrap; gap: 4px; }
.cell .ec { display: inline-grid; place-items: center; min-width: 30px; height: 20px; padding: 0 5px; border-radius: 999px; font: 700 10px/1 Sora, sans-serif; letter-spacing: .04em;
  color: var(--text); background: color-mix(in srgb, var(--cat) 22%, #fff); border: 1.5px solid color-mix(in srgb, var(--cat) 70%, #fff); }
.cell .more { font-size: 11.5px; font-weight: 700; color: var(--ink); padding-left: 4px; }
.cell .dots { display: none; gap: 3px; justify-content: center; }
.cell .dots i { width: 6px; height: 6px; border-radius: 50%; display: block; background: var(--cat); }
.cg.week .cell { min-height: 280px; }
.cg.week .e .tt { white-space: normal; }
.cal-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.cal-note svg { color: var(--blue-ink); }
.calgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.daypanel { padding: 24px; position: sticky; top: 100px; }
.daypanel h3 { font-size: 20px; font-weight: 600; margin: 2px 0 14px; }
.drow { display: flex; align-items: center; gap: 12px; padding: 12px; margin: 0 -12px; border-radius: 16px; transition: background-color .2s; }
.drow:hover { background: rgba(255,255,255,.7); }
.drow .t { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.daypanel .drow .cat-ic { display: none; } .drow .t small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }

/* Detailseite */
.back { display: inline-flex; align-items: center; gap: 8px; margin: 34px 0 18px; color: var(--muted); font-weight: 600; font-size: 14px; min-height: 36px; }
.back:hover { color: var(--text); }
.dhero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 38px 36px 32px; }
.dhero h1 { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: clamp(28px, 4vw, 42px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin: 14px 0 6px; }
.dhero .reg { color: var(--muted); font-size: 17px; }
.dhero .tline { margin-top: 24px; max-width: 560px; }
.dhero .tline .lbl { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.dgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; margin-top: 24px; align-items: start; }
.dfacts { padding: 26px; }
.dfacts dl { display: grid; gap: 0; }
.dfacts dl div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(29,31,36,.07); }
.dfacts dl div:last-child { border-bottom: 0; }
.dfacts dt { color: var(--muted); font-size: 14px; } .dfacts dd { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.dfacts .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mapcard { padding: 22px; }
.mapcard .head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.mapcard h3 { font-size: 18px; font-weight: 600; }
.mapbox { position: relative; z-index: 0; isolation: isolate; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.6); min-height: 340px; }
.realmap { height: 380px; }
.mapgate { display: grid; place-items: center; text-align: center; gap: 12px; padding: 40px 24px; min-height: 340px; }
.mapgate p { font-size: 13px; color: var(--muted); max-width: 40ch; }
.maplegend { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 12px; }
.maplegend i { width: 14px; height: 14px; border-radius: 4px; background: var(--apricot); display: block; }
.more-list { padding: 24px; margin-top: 24px; }
.more-list h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }

/* Schematische Europa-Karte */
.tilemap { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: repeat(7, auto); gap: 6px; padding: 18px; }
.tile { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-size: 11px; font-weight: 700; color: #9aa0a8; background: rgba(255,255,255,.75); border: 1px solid rgba(29,31,36,.05); }
.tile.on { background: var(--apricot); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -8px rgba(224,123,62,.8); transform: scale(1.06); }
.tilemap.small { gap: 4px; padding: 0; }
.tilemap.small .tile { border-radius: 7px; font-size: 9px; }
.regionlabel { position: absolute; left: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.9); font-size: 13px; font-weight: 600; box-shadow: var(--shadow); }
.regionlabel svg { color: var(--ink); width: 16px; height: 16px; }

/* Kartenseite */
.mapgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.mapwrap { padding: 12px; }
#bigmap, .gate { position: relative; z-index: 0; isolation: isolate; height: 640px; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.6); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 12px 8px 4px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend .sw { width: 16px; height: 12px; border-radius: 4px; display: block; }
.legend .sw.c { background: rgba(240,166,116,.55); border: 1.5px solid #e07b3e; }
.legend .sw.a { background: rgba(224,97,62,.6); border: 1.5px solid #c9502e; }
.legend .sw.p { width: 12px; height: 12px; border-radius: 50%; background: var(--apricot); box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(29,31,36,.15); }
.legend .lnk { margin-left: auto; }
.maplist { padding: 20px; position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; }
.maplist h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.mitem { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; margin: 0 -10px; width: calc(100% + 20px); border-radius: 16px; text-align: left; transition: background-color .2s; }
.mitem:hover, .mitem.on { background: rgba(255,255,255,.8); }
.mitem .t { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; overflow-wrap: anywhere; } .mitem .t small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; }
.mitem .go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; color: var(--ink); flex-shrink: 0; }
.mitem .go:hover { background: var(--peach); }
.gate { display: grid; place-items: center; }
.gate-bg { position: absolute; inset: 0; display: grid; place-items: center; opacity: .55; filter: blur(1.5px); }
.gate-bg .tilemap { width: min(560px, 90%); }
.gatebox { position: relative; display: grid; justify-items: center; gap: 10px; max-width: 440px; margin: 16px; padding: 28px; text-align: center; background: rgba(255,255,255,.85); }
.gatebox b { font-size: 18px; font-weight: 600; } .gatebox p { font-size: 13.5px; color: var(--muted); }
.gatechk { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; min-height: 36px; cursor: pointer; }
.gatechk input { width: 18px; height: 18px; accent-color: var(--apricot); }
.mapbox .gate { height: auto; min-height: 340px; }
/* Leaflet an den Stil anpassen: Grundkarte gedämpft, damit die Fahrverbote hervortreten */
.leaflet-tile-pane { filter: grayscale(1) brightness(1.07) contrast(.9); }
.leaflet-container svg { width: auto; height: auto; max-width: none; } /* allgemeine Icon-Größe nicht auf die Kartenebene anwenden */
.leaflet-container { font-family: Sora, system-ui, sans-serif; background: #eef0f2; }
.leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: var(--shadow-pop); }
.leaflet-popup-content { margin: 14px 16px; }
.pp { display: grid; gap: 12px; min-width: 210px; }
.pp-i { display: grid; gap: 2px; font-size: 13px; }
.pp-i + .pp-i { border-top: 1px solid var(--line); padding-top: 10px; }
.pp-i b { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.pp-i span { color: var(--muted); }
.pp-i a { color: var(--ink) !important; font-weight: 700; margin-top: 2px; }
.leaflet-tooltip { font-family: Sora, sans-serif; font-weight: 600; border-radius: 10px; }
@media (max-width: 960px) { .mapgrid { grid-template-columns: minmax(0, 1fr); } .maplist { position: static; max-height: none; } }
@media (max-width: 600px) { #bigmap, .gate { height: 440px; } .legend .lnk { margin-left: 0; } }

/* Länderseite */
.lgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; align-items: start; }
.lsel { padding: 20px; }
.lsel .search { margin-bottom: 14px; background: rgba(255,255,255,.7); }
.ltabs { margin-bottom: 12px; }
.lcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 620px; overflow-y: auto; padding: 2px; }
.lcard { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border-radius: 16px; background: rgba(255,255,255,.55); border: 1.5px solid transparent; text-align: left; transition: background-color .15s, border-color .15s; min-width: 0; }
.lcard:hover { background: rgba(255,255,255,.9); }
.lcard[aria-current="true"] { border-color: var(--apricot); background: #fff; }
.lcard .nm { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcard small { font-size: 12px; color: var(--muted); white-space: nowrap; }
.lcard small.has { color: var(--ink); font-weight: 700; }
.ldetail { position: relative; overflow: hidden; padding: 30px; }
.ldetail .lh { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ldetail h2 { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.ldetail .top2 { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 22px; align-items: start; margin-top: 20px; }
.rules { display: grid; gap: 10px; }
.rule { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.65); }
.rule .cat-ic { width: 30px; height: 30px; }
.rule dt { font-size: 12px; color: var(--muted); font-weight: 600; } .rule dd { font-weight: 600; font-size: 14px; }
.ldetail h3 { font-size: 17px; font-weight: 600; margin: 26px 0 6px; }

@media (max-width: 960px) {
  .main, .calgrid, .dgrid, .lgrid { grid-template-columns: minmax(0, 1fr); }
  .daypanel { position: static; }
  .intro-r { align-items: flex-start; }
  .chips { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .cell { min-height: 60px; padding: 6px 4px; align-items: center; }
  .cell .e, .cell .more, .cell .ecs { display: none; }
  .cell .dots { display: flex; }
  .cell .n { align-self: center; }
  .cg { gap: 4px; }
  .cg.week .cell { min-height: 84px; }
  .cal { padding: 16px; }
  .dhero { grid-template-columns: minmax(0, 1fr); justify-items: start; padding: 30px 22px 24px; }
  .ldetail .top2 { grid-template-columns: minmax(0, 1fr); }
  .ldetail .top2 .tilemap { max-width: 260px; }
  .pop { position: fixed; top: auto; left: 12px !important; right: 12px; bottom: 12px; width: auto; max-height: 84dvh; display: flex; flex-direction: column; }
  .pop.narrow { width: auto; }
  .clist { max-height: none; flex: 1; grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .top nav a span, .logo .ln { display: none; }
  .top { gap: 6px; padding: 6px; }
  .top nav { margin-left: 2px; gap: 2px; }
  .top nav a { padding: 0 10px; height: 38px; }
  .seg.lang button { min-width: 34px; padding: 0 8px; }
  .seg button { white-space: nowrap; padding: 0 10px; }
  .intro-r { max-width: 100%; }
  .intro-r .seg { flex-wrap: wrap; max-width: 100%; }
  .intro { padding: 26px 0 18px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .next, .dfacts, .mapcard, .more-list, .ldetail, .lsel { padding: 22px 18px; }
  .next .badge { position: static; margin-bottom: 10px; }
  .dfacts dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .lcards { grid-template-columns: minmax(0, 1fr); max-height: 360px; }
  .realmap { height: 300px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
