[hidden] { display: none !important; }
:root {
  --bg: #f7f4ee; --panel: #fffdf9; --panel2: #f1ece3; --ink: #17140f; --ink2: #4b453d; --mute: #8c8478; --line: #e7e0d4; --line2: #d9d0c1;
  --accent: #d6336c; --live: #e03131; --gold: #e0a100; --green: #2b8a3e;
  --shadow: 0 1px 2px rgba(40,30,15,.05), 0 6px 24px -8px rgba(40,30,15,.12);
  --shadow-lg: 0 24px 60px -12px rgba(30,20,10,.35);
  --serif: "Newsreader", Georgia, serif; --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif; --black: "UnifrakturMaguntia", serif;
  --side: 268px; --r: 14px; --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #12110f; --panel: #1b1916; --panel2: #24211d; --ink: #f2ede4; --ink2: #c9c1b4; --mute: #8a8276; --line: #2c2924; --line2: #3a362f;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -10px rgba(0,0,0,.6); --shadow-lg: 0 24px 60px -12px rgba(0,0,0,.7);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--mute); } .small { font-size: 13px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.logo { font-family: var(--black); text-decoration: none; line-height: 1; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 22px 16px 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; scrollbar-width: thin; }
.brand { display: block; text-decoration: none; padding: 0 10px 18px; }
.brand .logo { font-size: 46px; display: block; }
.tagline { font-size: 12.5px; color: var(--mute); letter-spacing: .02em; }
.side-h { font: 600 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding: 18px 10px 6px; }
.nav { display: flex; flex-direction: column; gap: 1px; }
.nav button { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px; color: var(--ink2); font-weight: 500; text-align: left; transition: background .15s, color .15s; position: relative; }
.nav button:hover { background: var(--panel2); color: var(--ink); }
.nav button[aria-current="true"] { background: var(--panel); color: var(--ink); box-shadow: var(--shadow); }
.nav button .n { margin-left: auto; font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; }
.nav button:disabled { opacity: .4; cursor: default; }
.cats .dot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); transition: transform .2s var(--ease); }
.cats .dot .i { width: 15px; height: 15px; }
.cats button:hover .dot { transform: scale(1.08) rotate(-4deg); }
.cats button[aria-current="true"] .dot { background: var(--c); color: #fff; }

.toggles { display: flex; flex-direction: column; gap: 2px; }
.tog { display: flex; align-items: center; gap: 11px; padding: 7px 10px; border-radius: 10px; color: var(--ink2); font-weight: 500; cursor: pointer; }
.tog:hover { background: var(--panel2); }
.tog .i { color: var(--mute); }
.tog .sw { margin-left: auto; width: 30px; height: 18px; border-radius: 9px; background: var(--line2); position: relative; transition: background .2s; flex: none; }
.tog .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .25s var(--ease); }
.tog[aria-checked="true"] .sw { background: var(--ink); }
.tog[aria-checked="true"] .sw::after { transform: translateX(12px); }
.tog[aria-checked="true"] .i { color: var(--ink); }
.side-foot { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.addbtn { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: var(--bg); border-radius: 12px; padding: 11px; font-weight: 600; transition: transform .15s, box-shadow .2s; }
.addbtn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.side-row { display: flex; gap: 6px; }
.ghostbtn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink2); font-weight: 600; font-size: 13px; text-decoration: none; transition: background .15s; }
.ghostbtn:hover { background: var(--panel2); }

/* ---------- main ---------- */
.main { min-width: 0; padding: 18px 36px 40px; max-width: 1180px; width: 100%; }
.mtop { display: flex; gap: 12px; align-items: center; position: sticky; top: 0; z-index: 15; padding: 10px 0 12px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4); }
.mlogo { display: none; font-size: 34px; }
.search { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--line2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent), var(--shadow); }
.search .i { color: var(--mute); }
.search input { flex: 1; border: 0; background: none; outline: 0; font: 16px var(--sans); color: var(--ink); padding: 13px 0; min-width: 0; }
.search input::-webkit-search-cancel-button { filter: grayscale(1); }
.search kbd { font: 600 11px var(--sans); color: var(--mute); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.planbtn { display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 600; box-shadow: var(--shadow); transition: transform .15s; }
.planbtn:hover { transform: translateY(-1px); }
.planbtn .i { color: var(--gold); fill: var(--gold); }
.planbtn b { background: var(--accent); color: #fff; border-radius: 10px; font-size: 11px; padding: 1px 7px; animation: pop .35s var(--ease); }

/* date scroller */
.dates { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px 14px; scroll-snap-type: x proximity; }
.dates::-webkit-scrollbar { display: none; }
.date { flex: none; scroll-snap-align: start; width: 64px; padding: 9px 0 8px; border-radius: 14px; text-align: center; background: var(--panel); border: 1px solid var(--line); transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s; position: relative; }
.date:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.date .w { font: 600 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); display: block; }
.date .d { font: 600 22px/1.15 var(--serif); display: block; }
.date .c { display: flex; justify-content: center; gap: 2px; height: 6px; margin-top: 3px; }
.date .c i { width: 4px; height: 4px; border-radius: 50%; background: var(--line2); }
.date .c i.on { background: var(--accent); }
.date[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); box-shadow: var(--shadow); }
.date[aria-selected="true"] .w { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.date[aria-selected="true"] .c i { background: color-mix(in srgb, var(--bg) 40%, transparent); } .date[aria-selected="true"] .c i.on { background: var(--bg); }
.date.today::before { content: ""; position: absolute; top: 7px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.date.sat .w, .date.sun .w { color: var(--accent); }
.date[aria-selected="true"].sat .w, .date[aria-selected="true"].sun .w { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.date.zero { opacity: .45; }
.date.month { width: auto; padding: 0 4px; background: none; border: 0; display: flex; align-items: flex-end; font: 600 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); writing-mode: vertical-rl; transform: rotate(180deg); }
.date.month:hover { transform: rotate(180deg); box-shadow: none; }

.mcats { display: none; }
.activebar { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 5px 8px 5px 12px; animation: pop .3s var(--ease); }
.pill .i { width: 14px; height: 14px; opacity: .7; }
.pill.clear { background: none; color: var(--mute); padding-left: 6px; }

/* highlights */
.hl { margin: 6px 0 8px; }
.hl-h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; }
.hl-h h2 { font: 600 22px var(--serif); margin: 0; }
.hl-h span { color: var(--mute); font-size: 13px; }
.hl-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
.card { flex: 0 0 240px; scroll-snap-align: start; border-radius: var(--r); overflow: hidden; background: var(--panel); box-shadow: var(--shadow); text-align: left; transition: transform .3s var(--ease), box-shadow .3s; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .img { height: 140px; position: relative; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 85%, #000) , color-mix(in srgb, var(--c) 55%, #fff)); display: grid; place-items: center; color: rgba(255,255,255,.85); }
.card .img > .i { width: 46px; height: 46px; stroke-width: 1.4; transition: transform .5s var(--ease); }
.card:hover .img > .i { transform: scale(1.12) rotate(-6deg); }
.card .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .img img { transform: scale(1.06); }
.card .time { position: absolute; left: 10px; top: 10px; background: rgba(15,12,8,.72); color: #fff; backdrop-filter: blur(6px); font: 600 12.5px var(--sans); padding: 4px 9px; border-radius: 8px; display: flex; gap: 6px; align-items: center; }
.card .body { padding: 11px 13px 13px; }
.card .t { font: 600 16.5px/1.25 var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 41px; }
.card .v { font-size: 12.5px; color: var(--mute); margin-top: 5px; display: flex; gap: 5px; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .v .i { width: 13px; height: 13px; }

/* list */
.content { min-height: 50vh; }
.content.swap { animation: fadein .35s var(--ease); }
.dayhead { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 6px; position: sticky; top: 64px; z-index: 5; padding: 6px 0; background: var(--bg); }
.dayhead h2 { font: 600 30px/1.1 var(--serif); margin: 0; letter-spacing: -.01em; }
.dayhead span { font-size: 13px; color: var(--mute); }
.cat { margin-top: 18px; }
.cat-h { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--c); }
.cat-h .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); }
.cat-h .dot .i { width: 16px; height: 16px; }
.cat-h h3 { margin: 0; font: 600 17px var(--sans); color: var(--ink); }
.cat-h .n { font-size: 13px; color: var(--mute); }
.cat-h::after { content: ""; flex: 1; height: 1px; background: var(--line); margin-left: 6px; }
.series { font: italic 14px var(--serif); color: var(--ink2); margin: 10px 4px 4px; display: flex; align-items: center; gap: 8px; }
.series::before { content: ""; width: 14px; height: 1px; background: var(--c); }
.list { display: flex; flex-direction: column; gap: 6px; }

.ev { display: grid; grid-template-columns: 62px 58px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 9px 12px 9px 14px; border-radius: var(--r); background: var(--panel); border: 1px solid transparent; cursor: pointer; position: relative;
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; animation: rise .45s var(--ease) both; animation-delay: calc(min(var(--i, 0), 18) * 22ms); }
.ev:hover { transform: translateX(3px); box-shadow: var(--shadow); border-color: var(--line); }
.ev::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); opacity: 0; transition: opacity .2s; }
.ev:hover::before { opacity: 1; }
.ev .tm { font: 600 16px var(--sans); font-variant-numeric: tabular-nums; }
.ev .tm small { display: block; font-size: 11px; color: var(--mute); font-weight: 500; }
.ev .tm.tba { font-size: 12px; color: var(--mute); letter-spacing: .06em; }
.ev .th { width: 58px; height: 58px; border-radius: 11px; overflow: hidden; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 13%, var(--panel)); color: var(--c); position: relative; }
.ev .th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.ev:hover .th img { transform: scale(1.08); }
.ev .th .i { width: 22px; height: 22px; stroke-width: 1.6; }
.ev .ti { font: 17.5px/1.28 var(--serif); }
.ev .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 3px; font-size: 13px; color: var(--mute); }
.ev .meta .i { width: 13px; height: 13px; }
.ev .meta span { display: inline-flex; align-items: center; gap: 4px; }
.badge { font: 700 10.5px var(--sans); letter-spacing: .05em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; }
.badge.free { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.badge.sold_out, .badge.cancelled { background: color-mix(in srgb, var(--live) 13%, transparent); color: var(--live); }
.badge.registration { background: color-mix(in srgb, var(--gold) 18%, transparent); color: color-mix(in srgb, var(--gold) 70%, var(--ink)); }
.badge.english { background: var(--panel2); color: var(--ink2); }
.badge.live { background: var(--live); color: #fff; display: inline-flex; align-items: center; gap: 5px; }
.badge.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.ev .star { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--line2); transition: color .2s, background .2s, transform .2s; }
.ev .star:hover { background: var(--panel2); color: var(--gold); }
.ev .star.on { color: var(--gold); }
.ev .star.on .i { fill: var(--gold); }
.star.popping .i { animation: pop .45s var(--ease); }
.ev.past { opacity: .5; }
.ev.past:hover { opacity: .85; }
mark { background: color-mix(in srgb, var(--gold) 30%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }

.empty { text-align: center; padding: 70px 10px; animation: fadein .4s; }
.empty .big { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; background: var(--panel); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--accent); }
.empty .big .i { width: 28px; height: 28px; }
.empty h3 { font: 600 24px var(--serif); margin: 0 0 6px; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--bg); border-radius: 12px; padding: 11px 16px; font-weight: 600; font-size: 14.5px; text-decoration: none; transition: transform .15s, opacity .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: var(--panel); color: var(--ink); border: 1px solid var(--line); }
.btn .i { width: 16px; height: 16px; }
.link { text-decoration: underline; text-underline-offset: 3px; color: var(--ink2); }

/* skeleton */
.sk { height: 76px; border-radius: var(--r); margin-bottom: 6px; background: linear-gradient(90deg, var(--panel) 0%, var(--panel2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }

.foot { margin-top: 70px; padding: 26px 0 30px; border-top: 1px solid var(--line); color: var(--ink2); font-size: 14px; max-width: 560px; }
.foot .logo { font-size: 30px; }
.foot p { margin: 8px 0; }

/* ---------- drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(15,12,8,.42); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 40; backdrop-filter: blur(2px); }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(460px, calc(100vw - 20px)); background: var(--bg); border-radius: 20px; box-shadow: var(--shadow-lg); z-index: 41; transform: translateX(calc(100% + 20px)); transition: transform .45s var(--ease); overflow-y: auto; }
.drawer.on { transform: none; }
.drawer-in { padding: 0 0 26px; }
.d-hero { height: 240px; position: relative; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 85%, #000), color-mix(in srgb, var(--c) 50%, #fff)); display: grid; place-items: center; color: rgba(255,255,255,.85); }
.d-hero > .i { width: 72px; height: 72px; stroke-width: 1.2; animation: floaty 5s ease-in-out infinite; }
.d-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: zoomout 1.2s var(--ease); }
.d-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(15,12,8,.55); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); z-index: 2; transition: transform .2s; }
.d-close:hover { transform: rotate(90deg); }
.d-cat { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; gap: 6px; align-items: center; background: rgba(15,12,8,.6); color: #fff; padding: 5px 10px; border-radius: 9px; font: 600 12px var(--sans); backdrop-filter: blur(6px); }
.d-cat .i { width: 14px; height: 14px; }
.d-body { padding: 18px 24px 0; }
.d-body > * { animation: rise .5s var(--ease) both; }
.d-body > :nth-child(2) { animation-delay: .05s; } .d-body > :nth-child(3) { animation-delay: .1s; } .d-body > :nth-child(4) { animation-delay: .15s; } .d-body > :nth-child(5) { animation-delay: .2s; }
.d-series { font: italic 14px var(--serif); color: var(--mute); }
.d-title { font: 600 28px/1.15 var(--serif); margin: 4px 0 12px; letter-spacing: -.01em; }
.d-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.d-facts { display: flex; flex-direction: column; gap: 2px; margin: 10px 0 0; }
.fact { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 12px; background: var(--panel); }
.fact > .i { color: var(--c); margin-top: 1px; }
.fact b { display: block; font-weight: 600; }
.fact span { color: var(--mute); font-size: 13.5px; }
.fact a { color: var(--ink2); }
.d-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.d-actions .btn { justify-content: center; }
.d-actions .wide { grid-column: 1 / -1; }
.d-note { font-size: 12.5px; color: var(--mute); margin: 16px 0 0; display: flex; gap: 8px; }
.d-note .i { width: 15px; height: 15px; margin-top: 1px; }

/* ---------- sheets ---------- */
.sheet { border: 0; padding: 0; background: var(--bg); color: var(--ink); width: min(540px, 100vw); max-height: 88vh; border-radius: 20px; box-shadow: var(--shadow-lg); }
.sheet[open] { animation: sheetin .4s var(--ease); }
.sheet::backdrop { background: rgba(15,12,8,.42); backdrop-filter: blur(2px); }
.sheet-in { padding: 18px 22px 24px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sheet-head h2 { margin: 0; font: 600 24px var(--serif); }
.x { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--mute); background: var(--panel2); transition: transform .2s; }
.x:hover { transform: rotate(90deg); }
.row-end { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-top: 10px; }
.grid2 .full { grid-column: 1 / -1; }
.grid2 label { font-size: 13px; color: var(--ink2); display: flex; flex-direction: column; gap: 5px; font-weight: 500; }
.grid2 input, .grid2 select { font: 15px var(--sans); padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.plan-day { font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin: 16px 0 8px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px) scale(.96); opacity: 0; background: var(--ink); color: var(--bg); padding: 11px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; transition: .35s var(--ease); pointer-events: none; z-index: 100; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow-lg); }
.toast.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.tabbar { display: none; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes fadein { from { opacity: 0; } }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes pulse { 50% { opacity: .3; transform: scale(.8); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes floaty { 50% { transform: translateY(-8px) rotate(-3deg); } }
@keyframes zoomout { from { transform: scale(1.12); } }
@keyframes sheetin { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .main { padding: 14px 24px 40px; } :root { --side: 236px; } }
@media (max-width: 900px) {
  .shell { display: block; }
  .side { display: none; }
  .main { padding: 6px 14px 110px; }
  .mlogo { display: block; }
  .mtop { flex-wrap: wrap; gap: 8px; padding-top: 8px; }
  .search { order: 3; flex-basis: 100%; }
  .planbtn { margin-left: auto; padding: 9px 12px; }
  .planbtn [data-i18n] { display: none; }
  .search kbd { display: none; }
  .dayhead { top: 118px; }
  .mcats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 2px 12px; margin: 0 -14px; padding-left: 14px; }
  .mcats::-webkit-scrollbar { display: none; }
  .mcat { flex: none; display: flex; align-items: center; gap: 7px; padding: 7px 12px 7px 7px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; font-size: 13.5px; transition: background .2s, color .2s; }
  .mcat .dot { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); }
  .mcat .dot .i { width: 14px; height: 14px; }
  .mcat[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .mcat[aria-current="true"] .dot { background: var(--c); color: #fff; }
  .ev { grid-template-columns: 46px 50px minmax(0, 1fr) auto; gap: 10px; padding: 8px 6px 8px 10px; }
  .ev .th { width: 50px; height: 50px; }
  .ev .tm { font-size: 15px; }
  .ev .ti { font-size: 16.5px; }
  .ev .star { width: 32px; height: 32px; }
  .ev:hover { transform: none; }
  .dayhead h2 { font-size: 25px; }
  .card { flex-basis: 210px; }
  .card .img { height: 120px; }
  .tabbar { display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30; background: color-mix(in srgb, var(--panel) 88%, transparent); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 6px; }
  .tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0 5px; border-radius: 14px; font-size: 11px; font-weight: 600; color: var(--mute); transition: background .2s, color .2s; position: relative; }
  .tabbar button[aria-current="true"] { color: var(--ink); background: var(--panel2); }
  .tabbar button b { position: absolute; top: 3px; right: calc(50% - 20px); background: var(--accent); color: #fff; font-size: 10px; border-radius: 8px; padding: 0 5px; }
  .drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; transform: translateY(100%); }
  .d-hero { height: 200px; }
  .sheet { margin: auto 0 0; max-width: 100vw; width: 100vw; border-radius: 22px 22px 0 0; }
  .grid2 { grid-template-columns: 1fr; }
}

.ongoing { margin-top: 18px; border-radius: var(--r); background: var(--panel); border: 1px dashed var(--line2); }
.ongoing summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 600; color: var(--ink2); }
.ongoing summary::-webkit-details-marker { display: none; }
.ongoing summary .i:last-child { margin-left: auto; transition: transform .3s var(--ease); }
.ongoing[open] summary .i:last-child { transform: rotate(180deg); }
.ongoing .list { padding: 0 6px 6px; }
.ongoing .ev { background: var(--bg); }

/* ---------- wide screens ---------- */
.main { margin: 0 auto; max-width: 1480px; }
.side { scrollbar-width: thin; scrollbar-color: transparent transparent; scrollbar-gutter: stable; transition: scrollbar-color .3s; }
.side:hover { scrollbar-color: var(--line2) transparent; }
.side::-webkit-scrollbar { width: 6px; } .side::-webkit-scrollbar-thumb { background: transparent; border-radius: 3px; }
.side:hover::-webkit-scrollbar-thumb { background: var(--line2); }
.nav button .lbl { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl { position: relative; }
.hl-row { scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 60px), transparent); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 60px), transparent); }
.hl-row::-webkit-scrollbar { display: none; }
.hl-row.atend { -webkit-mask-image: none; mask-image: none; }
.hl-nav { position: absolute; top: 0; right: 0; display: flex; gap: 6px; }
.hl-nav button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); display: grid; place-items: center; color: var(--ink2); transition: transform .15s, opacity .2s; }
.hl-nav button:hover { transform: scale(1.08); }
.hl-nav button:disabled { opacity: .35; transform: none; cursor: default; }
.hl-nav .i { width: 16px; height: 16px; }
.hl-nav .prev .i { transform: rotate(180deg); }
@media (min-width: 1700px) {
  .cat .list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat .list .series { grid-column: 1 / -1; }
  .ev:hover { transform: translateY(-2px); }
  .card { flex-basis: 270px; }
}
@media (max-width: 900px) { .hl-nav { display: none; } }

/* ---------- month calendar ---------- */
.cal { padding: 4px 6px 4px; }
.cal-h { display: flex; align-items: center; gap: 4px; padding: 0 4px 8px; }
.cal-h b { flex: 1; font: 600 19px var(--serif); }
.cal-h button { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--ink2); transition: background .15s; }
.cal-h button:hover:not(:disabled) { background: var(--panel2); color: var(--ink); }
.cal-h button:disabled { opacity: .3; cursor: default; }
.cal-h button .i { width: 16px; height: 16px; transform: rotate(90deg); }
.cal-h button + button .i { transform: rotate(-90deg); }
.cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cw { font: 600 10px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); text-align: center; padding: 2px 0 6px; }
.cd { position: relative; aspect-ratio: 1; min-height: 30px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font: 500 13.5px var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); transition: background .15s, transform .15s var(--ease), color .15s; }
.cd:hover:not(:disabled) { background: var(--panel2); transform: scale(1.06); }
.cd.we span { color: var(--accent); }
.cd.out { opacity: .45; }
.cd.past { opacity: .28; cursor: default; }
.cd i { width: 14px; height: 3px; border-radius: 2px; background: var(--line2); opacity: 0; }
.cd i.h1 { opacity: .5; background: var(--accent); width: 5px; } .cd i.h2 { opacity: .65; background: var(--accent); width: 8px; }
.cd i.h3 { opacity: .85; background: var(--accent); width: 11px; } .cd i.h4 { opacity: 1; background: var(--accent); width: 14px; }
.cd .pd, .cal-l .pd { position: absolute; top: 4px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--bg); }
.cd.today { box-shadow: inset 0 0 0 1.5px var(--ink2); font-weight: 700; }
.cd.rng { background: color-mix(in srgb, var(--accent) 10%, transparent); border-radius: 6px; }
.cd.sel { background: var(--ink) !important; color: var(--bg); box-shadow: var(--shadow); }
.cd.sel span { color: var(--bg); } .cd.sel i { background: var(--bg) !important; }
.cal-l { display: flex; justify-content: center; gap: 14px; padding: 8px 0 2px; font-size: 11.5px; color: var(--mute); }
.cal-l span { display: inline-flex; align-items: center; gap: 6px; position: relative; }
.cal-l i { display: inline-block; width: 11px; height: 3px; border-radius: 2px; background: var(--accent); }
.cal-l .pd { position: static; box-shadow: none; }
.side .cal { margin: -4px 0 0; }
.when { display: flex; flex-wrap: wrap; gap: 3px; margin: 10px 4px 0; padding: 3px; background: var(--panel2); border-radius: 12px; }
.when button { flex: 1 1 auto; min-width: 0; padding: 7px 8px; border-radius: 9px; font-size: 12.5px; text-align: center; font-weight: 600; color: var(--ink2); white-space: nowrap; transition: background .15s, color .15s, box-shadow .15s; }
.when button:hover { color: var(--ink); }
.when button[aria-current="true"] { background: var(--panel); color: var(--ink); box-shadow: var(--shadow); }
.date.calbtn { display: none; }
#calSheet .cal { padding: 0 0 6px; } #calSheet .cd { min-height: 40px; font-size: 15px; }
@media (max-width: 900px) { .date.calbtn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ink2); } .date.calbtn .i { width: 20px; height: 20px; } }

/* ---------- section header + festivals ---------- */
.sec-h { display: flex; align-items: center; gap: 14px; margin: 8px 0 12px; }
.sec-h h2 { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 600 11.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.sec-h h2 .i { width: 15px; height: 15px; }
.sec-h .line { flex: 1; height: 1px; background: var(--line); }
.fests { margin: 4px 0 18px; }
.fest-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 10px; scrollbar-width: none; }
.fest-row::-webkit-scrollbar { display: none; }
.fest { flex: 0 0 250px; scroll-snap-align: start; text-align: left; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.fest:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); }
.f-img { position: relative; height: 112px; display: grid; place-items: center; color: rgba(255,255,255,.85); background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--c) 80%, #fff) 0%, var(--c) 45%, color-mix(in srgb, var(--c) 60%, #000) 100%); overflow: hidden; }
.f-img > .i { width: 40px; height: 40px; stroke-width: 1.4; }
.f-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fest:hover .f-img img { transform: scale(1.06); }
.f-cd { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--sans); padding: 4px 9px; border-radius: 99px; background: rgba(15,12,8,.72); color: #fff; backdrop-filter: blur(6px); }
.f-cd .pulse { width: 7px; height: 7px; border-radius: 50%; background: #51cf66; animation: pulse 1.6s infinite; }
.f-b { padding: 11px 14px 13px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.f-n { font: 600 18px/1.2 var(--serif); }
.f-d { font-size: 13px; color: var(--ink2); }
.f-c { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--c); }
.f-c .i { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.fest:hover .f-c .i { transform: translateX(3px); }

/* ---------- bigger day header ---------- */
.dayhead { align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; }
.dh-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dayhead .eyebrow { font: 600 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.dayhead .eyebrow .clock { font-style: normal; color: var(--mute); letter-spacing: .08em; }
.dayhead.big h2 { font-size: 40px; letter-spacing: -.02em; }
.dh-s { display: flex; align-items: center; gap: 12px; padding-bottom: 4px; }
.dayhead .dh-n { font-size: 13.5px; color: var(--mute); font-variant-numeric: tabular-nums; }
.dchips { display: inline-flex; gap: 5px; }
.dchip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 99px; background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--c); font-size: 12.5px; transition: background .15s, transform .15s; }
.dchip:hover { background: color-mix(in srgb, var(--c) 22%, transparent); transform: translateY(-1px); }
.dchip .i { width: 13px; height: 13px; } .dchip b { font-weight: 700; }
@media (max-width: 900px) { .dayhead.big h2 { font-size: 28px; } .dchips { display: none; } .fest { flex-basis: 220px; } .f-img { height: 96px; } }
.badge.age { background: color-mix(in srgb, var(--live) 12%, transparent); color: var(--live); }
.badge.changed { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
.badge.student, .badge.balkan { background: var(--panel2); color: var(--ink2); }

/* ticket purchase ("Kupi karte") */
.btn.buy { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn.buy .buy-host { font-weight: 500; font-size: 12.5px; opacity: .78; margin-left: 2px; }
.btn.buy .buy-host::before { content: "· "; }
.ev .meta a.buy-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 6px; border-radius: 6px; font: 700 11px var(--sans); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, transparent); transition: background .15s, color .15s; }
.ev .meta a.buy-chip:hover { background: var(--accent); color: #fff; }
.ev .meta a.buy-chip .i { width: 12px; height: 12px; }
.when.two { display: grid; grid-template-columns: 1fr 1fr; }

/* =========================================================
   Andra's round of feedback (Nov 2026)
   ========================================================= */
:root { --side: 300px; }
@media (max-width: 1100px) { :root { --side: 268px; } }

/* 1 — bigger sidebar calendar + month view button */
.side .cal { padding: 2px 2px 4px; }
.cal-h b { font-size: 21px; }
.cal-g { gap: 3px; }
.cw { font-size: 11px; }
.side .cd { min-height: 38px; font-size: 15px; border-radius: 11px; }
.cd i { height: 3.5px; }
.cd .pd { top: 0; right: 0; width: 12px; height: 12px; background: none; box-shadow: none; display: grid; place-items: center; }
.cd .pd .i, .cal-l .pd .i, .mc .pd .i { width: 11px; height: 11px; color: var(--gold); fill: var(--gold); stroke-width: 1.5; }
.cd.sel .pd .i { color: #ffd43b; fill: #ffd43b; }
.cal-l .pd { width: auto; height: auto; background: none; display: inline-grid; }
.cal-big { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 8px; padding: 9px; border-radius: 11px; border: 1px solid var(--line); background: var(--panel); font-weight: 600; font-size: 13.5px; color: var(--ink2); transition: background .15s, color .15s, transform .15s; }
.cal-big:hover { color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.cal-big .i { width: 16px; height: 16px; }

/* month view in the main area */
.month { margin-top: 6px; animation: fadein .3s var(--ease); }
.month-h { display: flex; align-items: center; gap: 8px; margin: 10px 0 14px; }
.month-h h2 { font: 600 40px/1.1 var(--serif); letter-spacing: -.02em; margin: 0 8px 0 0; }
.month-h > button:not(.btn) { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); display: grid; place-items: center; }
.month-h > button:disabled { opacity: .3; cursor: default; }
.month-h > button .i { transform: rotate(90deg); } .month-h > button + button:not(.btn) .i { transform: rotate(-90deg); }
.month-h .btn { margin-left: auto; }
.month-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.mw { font: 600 11.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding: 0 6px 2px; }
.mc { min-height: 150px; display: flex; flex-direction: column; gap: 6px; align-items: stretch; text-align: left; padding: 10px 10px 9px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: transform .15s var(--ease), box-shadow .2s, border-color .2s; min-width: 0; }
.mc:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line2); }
.mc.out { background: none; border: 0; }
.mc.past { opacity: .4; cursor: default; min-height: 0; }
.mc.today { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.mc-h { display: flex; align-items: center; gap: 6px; }
.mc-h b { font: 600 22px var(--serif); }
.mc.we .mc-h b { color: var(--accent); }
.mc-h .pd { display: grid; }
.mc-n { margin-left: auto; font: 700 11.5px var(--sans); color: var(--bg); background: var(--ink); border-radius: 99px; padding: 2px 8px; }
.mc-cats { display: flex; flex-wrap: wrap; gap: 3px; }
.mc-cats i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); }
.mc-cats .i { width: 13px; height: 13px; }
.mc-ev { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mc-ev span { font-size: 12.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 7px; border-left: 2.5px solid var(--c); }
.mc-ev em { font-style: normal; font-weight: 700; margin-right: 5px; font-variant-numeric: tabular-nums; }
.mc-ev .more { border: 0; padding-left: 0; color: var(--mute); font-weight: 600; }
@media (max-width: 1250px) { .mc-ev { display: none; } .mc { min-height: 96px; } }
@media (max-width: 900px) {
  .month-h h2 { font-size: 28px; } .month-h .btn span { display: none; }
  .month-g { gap: 4px; } .mc { min-height: 64px; padding: 6px 5px; border-radius: 10px; gap: 4px; }
  .mc-h b { font-size: 16px; } .mc-n { font-size: 10px; padding: 1px 5px; } .mc-cats i { width: 14px; height: 14px; border-radius: 4px; } .mc-cats .i { width: 9px; height: 9px; }
  .mw { font-size: 9.5px; letter-spacing: .04em; padding: 0 2px; text-align: center; }
  .mc-h .pd { display: none; }
}

/* 2 — clear separators between categories */
.cat { margin-top: 30px; }
.cat:first-of-type { margin-top: 18px; }
.cat-h { margin-bottom: 12px; }
.cat-h::after { height: 3px; border-radius: 3px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 55%, var(--line2)), var(--line) 70%); margin-left: 8px; }
.cat-h h3 { font-size: 18px; font-weight: 700; }

/* 3.1 — selected category is unmistakable */
.cats button[aria-current="true"] { font-weight: 700; }
.cats button[data-cat]:not([data-cat=""])[aria-current="true"] { background: color-mix(in srgb, var(--c, var(--ink)) 12%, var(--panel)); color: var(--ink); font-weight: 700; box-shadow: inset 3px 0 0 var(--c, var(--ink)), var(--shadow); }
.cats button[data-cat]:not([data-cat=""])[aria-current="true"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.cats button[aria-current="true"] .n { color: var(--ink2); font-weight: 600; }
.mcat[aria-current="true"]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 2px; }

/* 6 — "My schedule" right under All categories */
.cats .mine .dot { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
.cats .mine .dot .i { fill: var(--gold); }
.cats .mine .n { color: var(--gold); font-weight: 700; }
.nav-sep { height: 1px; background: var(--line); margin: 6px 10px; }

/* 4 — "add your event" call to action, top right */
.addcta { display: flex; align-items: center; gap: 8px; padding: 11px 15px; border-radius: 14px; background: var(--ink); color: var(--bg); font-size: 13.5px; font-weight: 500; white-space: nowrap; box-shadow: var(--shadow); transition: transform .15s, box-shadow .2s; }
.addcta:hover { transform: translateY(-1px); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent), var(--shadow); }
.addcta b { font-weight: 700; color: color-mix(in srgb, var(--accent) 45%, var(--bg)); }
.addcta .i { width: 16px; height: 16px; }
.addcta .s { display: none; }
@media (max-width: 1250px) { .addcta .l { display: none; } .addcta .s { display: inline; font-weight: 600; } }
@media (max-width: 900px) { .addcta { padding: 9px 12px; } .addcta .s { display: none; } .mtop .planbtn { margin-left: auto; } }

/* 8 — next day at the bottom of a single day */
.nextday { width: 100%; margin-top: 34px; display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); text-align: left; transition: transform .2s var(--ease), box-shadow .2s; }
.nextday:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.nextday small { display: block; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.nextday b { font: 600 26px/1.2 var(--serif); }
.nextday .nd-n { margin-left: auto; color: var(--mute); font-size: 13.5px; }
.nextday > .i { width: 22px; height: 22px; }

/* 9 — ongoing (multi-day) right under the day header, with an "until" date */
.ongoing { margin-top: 14px; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); background: color-mix(in srgb, var(--accent) 4%, var(--panel)); }
.ongoing summary { color: var(--ink); }
.ongoing summary > .i:first-child { color: var(--accent); }
.ev .tm.until { font-size: 14px; line-height: 1.15; }
.ev .tm.until small { display: block; font: 600 10px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }

/* 10 — story preview */
.story-dlg { width: min(440px, 100vw); }
.story-img { display: block; width: 100%; max-height: 62vh; object-fit: contain; border-radius: 14px; box-shadow: var(--shadow); background: var(--panel2); }


.cal-f { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.side .cal-f, #calSheet .cal-f { flex-direction: column; align-items: stretch; }


/* ---------- Andra 10.11: calendar = row of big squares under the search, on desktop too ---------- */
.date .n { display: none; }
.date .pd { position: absolute; bottom: 5px; right: 6px; width: 13px; height: 13px; color: var(--gold); }
.date .pd .i { width: 12px; height: 12px; fill: var(--gold); stroke: var(--gold); }
.date.rng:not([aria-selected="true"]) { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: color-mix(in srgb, var(--accent) 7%, var(--panel)); }
.date.monthbtn { display: none; }
@media (min-width: 901px) {
  .dates { gap: 8px; padding: 4px 2px 20px; margin-top: 2px; }
  .date { flex: 1 1 0; min-width: 54px; width: auto; min-height: 92px; padding: 12px 0 10px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
  .date .w { font-size: 11.5px; }
  .date .d { font-size: 30px; line-height: 1.05; }
  .date .c { gap: 3px; margin-top: 4px; } .date .c i { width: 5px; height: 5px; }
  .date .n { display: block; font: 600 10.5px var(--sans); color: var(--mute); min-height: 12px; font-variant-numeric: tabular-nums; }
  .date[aria-selected="true"] .n { color: color-mix(in srgb, var(--bg) 65%, transparent); }
  .date.today::before { top: 9px; right: 10px; }
  .date.month { min-height: 0; flex: 0 0 auto; }
  .date.monthbtn { display: flex; color: var(--ink2); flex: 1.1 1 0; }
  .date .pd { bottom: 7px; right: 8px; }
  .date.monthbtn .i { width: 22px; height: 22px; }
  .date.monthbtn .w { letter-spacing: .04em; }
  .date.monthbtn[aria-selected="true"] { color: var(--bg); }
}

/* "On all week": one auto-scrolling strip (festivals + multi-day) instead of Festivals + Tonight */
.fests { position: relative; margin: 0 0 22px; padding: 14px 16px 6px; border-radius: 20px; background: var(--panel2); border: 1px solid var(--line); }
.fests .sec-h { margin: 0 0 12px; }
.fests .sec-h h2 { font-size: 13px; color: var(--ink); }
.fests .sec-h h2 .i { color: var(--accent); width: 17px; height: 17px; }
.fests .aw-n { font-size: 12.5px; color: var(--mute); font-weight: 600; margin-left: -6px; }
.fests .hl-nav { position: static; }
.fests .fest-row { scroll-snap-type: none; padding-bottom: 12px; }
.fests .fest { flex-basis: 220px; animation-delay: calc(min(var(--i, 0), 6) * 50ms); }
.fests .f-img { height: 104px; }
.fests .f-n { font-size: 16.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.f-k { font: 600 10.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.fests .f-d { display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fests .f-d .i { width: 13px; height: 13px; flex: none; color: var(--mute); }
@media (max-width: 900px) { .fests { padding: 12px 0 4px 12px; border-radius: 16px; } .fests .sec-h { padding-right: 12px; } .fests .fest { flex-basis: 180px; } .fests .f-img { height: 88px; } }

/* selected marker also on "All categories" and "My schedule" */
.cats button[data-cat=""][aria-current="true"], .cats button.mine[aria-current="true"] { background: color-mix(in srgb, var(--ink) 7%, var(--panel)); color: var(--ink); font-weight: 700; box-shadow: inset 3px 0 0 var(--ink), var(--shadow); }
.cats button.mine[aria-current="true"] { background: color-mix(in srgb, var(--gold) 13%, var(--panel)); box-shadow: inset 3px 0 0 var(--gold), var(--shadow); }
.cats button[data-cat=""][aria-current="true"]::after, .cats button.mine[aria-current="true"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }

/* "My schedule" list header */
.mine-bar { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding: 18px 20px; margin: 4px 0 8px; border-radius: 18px; background: color-mix(in srgb, var(--gold) 10%, var(--panel)); border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--line)); }
.mine-bar .eyebrow { display: inline-flex; align-items: center; gap: 6px; font: 600 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.mine-bar .eyebrow .i { width: 14px; height: 14px; fill: var(--gold); }
.mine-bar h2 { margin: 4px 0 0; font: 600 24px var(--serif); }
.mb-a { display: flex; gap: 8px; flex-wrap: wrap; }

/* Andra 12.11: whole poster visible in "On all week" (no cropping) — blurred copy fills the frame */
.fests .f-img img { object-fit: contain; }
.fests .f-img img.bg { object-fit: cover; filter: blur(14px) saturate(1.2); transform: scale(1.15); opacity: .85; }
.fests .fest:hover .f-img img:not(.bg) { transform: none; }
.fests .f-img { height: 132px; }
@media (max-width: 900px) { .fests .f-img { height: 120px; } }

/* language + theme on phones (the sidebar with these buttons is hidden there) */
.mbtn { display: none; }
@media (max-width: 900px) {
  .mbtn { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); font: 700 12.5px var(--sans); letter-spacing: .04em; color: var(--ink2); }
  .mbtn .i { width: 18px; height: 18px; }
  #mLangBtn { margin-left: auto; }
  .mtop .planbtn { margin-left: 0; }
}

/* event detail: whole poster, blurred fill behind */
.d-hero { height: 300px; }
.d-hero img { object-fit: contain; }
.d-hero img.bg { object-fit: cover; filter: blur(18px) saturate(1.2); transform: scale(1.15); opacity: .9; animation: none; }
@media (max-width: 900px) { .d-hero { height: 280px; } }
