:root {
--disney: #01147c; --svc-ink: 78%; --lift-on: 0; --bg: #f6f6f8; --card: #ffffff; --text: #1b1b1f; --muted: #6b6b75; --line: #e3e3e8;
--accent: #f47521; --accent-text: #111111; --today: #fff4ec; --green: #1f9d55;
--raise: 0 1px 3px rgba(30, 30, 60, .07); --art-strength: .13;
color-scheme: light; --late: #f08c00; --ui-radius: 12px; --ui-dialog-radius: 16px; --ui-gap: 8px;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--disney: #ececf1; --svc-ink: 100%; --lift-on: 1; --bg: #121216; --card: #1c1c22; --text: #ececf1; --muted: #9a9aa5; --line: #2c2c34;
--accent: #f47521; --accent-text: #111111; --today: #2a1f18; --green: #2fb36a;
--raise: none; --art-strength: .2;
color-scheme: dark;
}
}
:root[data-theme="dark"] {
--disney: #ececf1; --svc-ink: 100%; --lift-on: 1; --bg: #121216; --card: #1c1c22; --text: #ececf1; --muted: #9a9aa5; --line: #2c2c34;
--accent: #f47521; --accent-text: #111111; --today: #2a1f18; --green: #2fb36a;
--raise: none; --art-strength: .2;
color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; }
header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); padding: 12px 16px; }
.bar { max-width: 1000px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.controls { margin-top: 10px; }
.controls-left { display: flex; flex-wrap: wrap; align-items: center; min-width: 0; }
.brand { min-width: 0; flex: 1; }
.logo { flex: none; width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.brand-title { display: flex; align-items: center; gap: 7px; }
.brand-title h1 { min-width: 0; }
.menu-item { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 7px 10px; border: 0; border-radius: 8px;
background: transparent; color: var(--text); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.menu-item:hover { background: color-mix(in srgb, var(--text) 7%, transparent); }
.menu-item kbd { font: inherit; font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; }
h1 { font-size: 18px; margin: 0; line-height: 1.2; }
#tabName, .week-sub { color: var(--muted); font-size: 12px; }
.week-sub { display: none; }
button, input, select { font: inherit; color: inherit; }
button, select { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: 14px; }
@media (hover: hover) { button:hover, select:hover { border-color: var(--accent); } }
button:disabled { opacity: .55; cursor: default; }
:focus-visible, .row.selected-row { outline: 2px solid var(--accent); outline-offset: 2px; }
.weeknav { display: flex; align-items: center; gap: 4px; }
.weeknav .icon { height: 32px; width: 32px; padding: 0; font-size: 20px; line-height: 1; border-radius: 99px; display: inline-grid; place-items: center; }
.move, #refreshCatchup, #delayDice, .away-nav .round { display: inline-grid; place-items: center; }
#week { color: var(--text); font-size: 14px; font-weight: 600; min-width: 120px; text-align: center; font-variant-numeric: tabular-nums; }
.segmented { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 2px; }
.segmented :is(button, a) { border: 0; border-radius: 99px; padding: 4px 14px; background: transparent; color: var(--muted); font-size: 13px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.segmented :is(button[aria-pressed="true"], a[aria-current="page"]) { background: var(--accent); color: var(--accent-text); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .22); }
.segmented.soft :is(button[aria-pressed="true"], a[aria-current="page"]) { box-shadow: none; background: color-mix(in srgb, var(--accent) 20%, transparent); color: color-mix(in srgb, var(--accent) 60%, var(--text)); }
.count { display: inline-block; min-width: 18px; margin-left: 6px; padding: 0 5px; border-radius: 99px; font-size: 11px; font-weight: 700; line-height: 16px; text-align: center;
background: color-mix(in srgb, var(--accent) 22%, transparent); color: color-mix(in srgb, var(--accent) 60%, var(--text)); font-variant-numeric: tabular-nums; }
[aria-pressed="true"] > .count { background: rgba(255,255,255,.25); color: inherit; }
.pill { border-radius: 99px; padding: 5px 14px; font-size: 13px; }
/* links and menu toggles that look like buttons (Spiele, Wordle-Solver, Tier-Liste …) get the button look; plain links the accent, never the browser's blue/purple */
:where(a) { color: var(--accent); }
:where(a.pill, summary.pill) { display: inline-flex; cursor: pointer; list-style: none; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card); color: var(--text); text-decoration: none; }
@media (hover: hover) { :where(a.pill, summary.pill):hover { border-color: var(--accent); text-decoration: none; } }
/* text fields without their own page style (Börse, PIN, group code): the site's look instead of the browser's grey inset box */
:where(input.pill:not([type="checkbox"], [type="radio"])) { border: 1px solid var(--line); background: var(--card); color: var(--text); }
body.solo .picker, body.group #soloPerson { display: none; }
body.catchup .weeknav, body.catchup .week-only, body.catchup #soloPerson, body.catchup .picker,
body:not(.catchup) #anilistUser, body:not(.catchup) .catchup-only { display: none; }
body.pace .seasonal-only { display: none; }
.row.compact { padding-top: 6px; padding-bottom: 6px; }
.row.show-head { padding-bottom: 10px; }
body.catchup .controls-left { flex: 1 1 auto; }
#markAllStart { margin-left: auto; min-height: 30px; }
.catchup-bar { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-bottom: 12px; }
#markAll.sure { border-color: var(--green); color: var(--green); font-weight: 600; }
.watch-space { flex: none; width: 30px; }
.hidden-by-search { display: none !important; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.round { width: 36px; height: 36px; padding: 0; border-radius: 99px; display: grid; place-items: center; color: var(--muted); flex: none; }
.round[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); }
.search { display: flex; align-items: center; gap: 8px; }
#search { display: none; width: 210px; height: 36px; background: var(--card); border: 1px solid var(--line); }
#search:focus { border-color: var(--accent); }
.search.open #search { display: block; }
.search.open #searchButton { color: var(--accent); border-color: var(--accent); }
.picker { position: relative; }
#groupButton::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: -3px 2px 0 8px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); vertical-align: middle; }
.popover { position: absolute; top: calc(100% + 6px); left: 0; z-index: 50; width: max-content; max-width: min(320px, calc(100vw - 32px));
display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.25); scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.popover[hidden] { display: none; }
.settings { position: relative; }
.popover.menu { left: auto; right: 0; width: 244px; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 6px; }
.menu section + section { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; }
#settingsMenu { max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; }
#accountMenu, #people { max-height: calc(100dvh - 160px); overflow-y: auto; overscroll-behavior: contain; }
.menu-label { color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px 4px; }
.pills { display: flex; flex-direction: column; gap: 6px; padding: 4px 8px 8px; }
.menu .pills > button, .menu .pills > a, .menu .pill-row > button, .menu .toggle { min-width: 0; min-height: 38px; padding: 5px 6px; font-size: 12px; line-height: 1.2; text-align: center; }
.pills .pill-row { display: flex; gap: 6px; }
.menu .segmented { display: flex; margin: 4px 8px 8px; }
.menu .segmented button { flex: 1; min-height: 30px; padding: 4px 6px; font-size: 12px; }
.swatches { display: flex; justify-content: space-between; padding: 4px 10px 10px; }
.swatches button { width: 24px; height: 24px; padding: 0; border-radius: 50%; border: 2px solid var(--card); background: var(--swatch);
box-shadow: 0 0 0 1px var(--line); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--swatch); }
.swatches .person-swatch { --swatch: var(--accent);
background: conic-gradient(#8e7cc3, #b6d7a8, #ee6fa7, #0000ff, #9900ff, #a4c2f4, #ec4399, #38761d, #35dcd2, #8e7cc3); }
.pills > button { justify-content: center; }
.time-day { display: block; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.2; }
.time-day.same { display: none; }
.time small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.who { margin-left: 4px; }
.who-more { display: none; }
.who span { --tint: var(--person, var(--accent)); display: inline-block; margin-left: 3px; padding: 0 6px; border-radius: 99px;
font-size: 11px; line-height: 15px; color: color-mix(in srgb, var(--text) 70%, var(--muted));
background: color-mix(in srgb, var(--tint) 26%, transparent); border: 1px solid transparent; }
.who span.away { background: transparent; border-color: var(--line); color: var(--muted); text-decoration: line-through; opacity: .75; }
.who span.away.maybe { text-decoration: none; border-style: dashed; }
#soloPerson[style*="--person"] { border-color: var(--person); }
.chip[style*="--person"]::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%;
background: var(--person); vertical-align: 1px; }
.chip[style*="--person"][aria-pressed="true"] { background: var(--person); border-color: var(--person); color: var(--person-text); font-weight: 600; }
.chip[style*="--person"][aria-pressed="true"]::before { background: var(--person-text); opacity: .5; }
.pills .pill-row > button { flex: 1; justify-content: center; }
.pills a { text-decoration: none; justify-content: center; }
.menu .toggle { justify-content: center; }
.toggle, .pills button, .pills a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px;
border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 13px; cursor: pointer; user-select: none; }
.toggle:hover, .pills button:hover, .pills a:hover { border-color: var(--accent); }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
@media (pointer: coarse) {
.menu .pills button, .menu .pills a, .menu .toggle, #people .chip { min-height: 44px; }
.menu .segmented button { min-height: 40px; }
.menu .field input { min-height: 44px; font-size: 16px; }
#search { font-size: 16px; }
}
.toggle:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.toggle:has(input:checked), .pills button.current { background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 600; }
.pills button.muted { color: var(--muted); }
.avatar { width: 18px; height: 18px; margin-left: -6px; border-radius: 50%; display: grid; place-items: center; flex: none;
background: color-mix(in srgb, var(--accent) 20%, var(--card)); color: var(--accent); font-size: 10px; font-weight: 700; }
.current .avatar { background: rgba(255,255,255,.25); color: inherit; }
img.avatar { object-fit: cover; }
#accountButton { overflow: hidden; color: var(--accent); font-weight: 700; font-size: 15px; }
#accountButton.empty { color: var(--muted); }
#accountButton img { width: 100%; height: 100%; object-fit: cover; }
#accountButton.expiring { box-shadow: 0 0 0 2px var(--late); }
.login-ending { display: flex; align-items: center; gap: 8px; padding: 2px 2px 0 10px; font-size: 12px; color: var(--muted); }
.login-ending > span { flex: 1; min-width: 0; }
.login-ending > button { flex: none; min-height: 30px; padding: 3px 12px; }
.field { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px 10px; font-size: 12px; color: var(--muted); }
.field input { width: 100%; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; }
.field input:focus { border-color: var(--accent); }
.field select { width: 100%; min-width: 0; font-size: 13px; padding: 6px 8px; }
.sync-row { display: flex; gap: 8px; align-items: center; padding: 4px 10px 10px; }
.sync-row select { flex: 1; min-width: 0; border-radius: 8px; font-size: 12px; padding: 6px 8px; }
#accountMenu {
width: min(256px, calc(100vw - 24px));
padding: 8px;
border-radius: 16px;
}
.menu .menu-label { padding: 8px 8px 5px; }
#accountSection .account-choice { border-radius: 10px; }
#accountSection { gap: 6px; }
#accountSection .account-choice { display: flex; justify-content: flex-start; gap: 8px; padding: 8px 10px; min-width: 0; min-height: 38px; }
#accountSection .account-choice.current {
background: var(--today);
border-color: var(--accent);
color: var(--text);
}
#accountSection .account-choice.current .provider-badge { background: var(--card); }
.account-choice .avatar { width: 22px; height: 22px; margin: 0; }
.account-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-size: 12px; }
.provider-badge { flex: none; font-size: 10px; line-height: 1.3; font-weight: 600; padding: 3px 5px; border-radius: 5px;
color: var(--muted); background: var(--bg); }
.current .provider-badge { color: inherit; background: rgba(255,255,255,.18); }
.site-tools { max-width: 1032px; margin: 0 auto; padding: 12px 16px 28px; display: flex; flex-wrap: wrap;
justify-content: center; align-items: center; gap: 8px 20px; font-size: 12px; color: var(--muted); }
.site-tools a, .site-tools button { color: inherit; text-decoration: none; font: inherit; background: none; border: 0; padding: 6px 0; }
.site-tools a:hover, .site-tools button:hover { color: var(--text); text-decoration: underline; }
.edit-schedule { color: var(--muted); }
.edit-schedule[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); background: var(--today); }
.catchup-single img, .catchup-show .show-head img { width: 36px; height: 50px; }
.row.catchup-single, .shared.catchup-show { border-radius: 14px; }
.row.catchup-single, .catchup-show .row.show-head { padding: 10px 12px 10px 8px; }
.catchup-show .row.compact { padding: 6px 12px 6px 14px; gap: 10px; border-top-style: solid; background: color-mix(in srgb, var(--bg) 45%, var(--card)); }
.catchup-show .row.compact .time { width: auto; color: var(--muted); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.catchup-count {
display: inline-block;
margin-inline-end: 4px;
padding: 1px 7px;
border-radius: 99px;
background: var(--today);
color: color-mix(in srgb, var(--accent) 40%, var(--text));
font-size: 11px;
font-weight: 650;
white-space: nowrap;
}
.catchup-bar .pill { white-space: nowrap; }
@media (pointer: coarse) {
.menu .pills > button, .menu .pills > a, .menu .pill-row > button, .menu .toggle, #accountSection .account-choice { min-height: 44px; }
.sync-row select { min-height: 40px; font-size: 16px; }
}
.chip { padding: 4px 10px; border-radius: 99px; color: var(--muted); font-size: 13px; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 600; }
.segmented button { white-space: nowrap; }
.segmented button:disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 560px) {
header { padding: 10px 12px; background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; transition: transform .2s ease; }
.title-long { display: none; }
.bar:first-child { flex-wrap: nowrap; gap: 8px; position: relative; }
.brand { flex: 1 1 auto; }
h1, #tabName { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-actions { gap: 6px; }
.round { width: 34px; height: 34px; }
.logo { width: 34px; height: 34px; }
.settings { position: static; }
.popover.menu { left: auto; right: 0; top: calc(100% + 8px); margin: 0; }
.controls-left { flex-wrap: wrap; row-gap: 8px; flex: 1 1 auto; display: contents; gap: 5px; }
.controls-left > .segmented:first-child { flex: 1 1 100%; }
.controls-left > .segmented:first-child button { flex: 1; }
body:not(.catchup) #tabName:has(+ .week-sub) { display: none; }
body:not(.catchup) .week-sub { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.controls { justify-content: flex-start; margin-top: 8px; gap: 8px 6px; }
.weeknav { margin-left: auto; flex: none; gap: 3px; }
.controls-left > .segmented:not(:first-child) button { padding-left: 7px; padding-right: 7px; }
#groupButton { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#week { display: none; }
.weeknav .icon { height: 34px; width: 30px; }
.weeknav .range { margin-left: 0; }
.segmented button { padding: 4px 8px; font-size: 12px; min-height: 30px; }
#soloPerson, #groupButton { padding: 5px 8px; font-size: 12px; max-width: 96px; }
body.searching .brand { display: none; }
body.searching .top-actions, .search.open { flex: 1; min-width: 0; }
.search.open #search { flex: 1; width: auto; min-width: 0; }
.picker { position: static; }
.popover { left: 16px; right: 16px; top: auto; margin-top: 6px; max-width: none; width: auto; }
}
main { padding: 16px; max-width: 1032px; margin: 0 auto; }
.day { margin-bottom: 24px; }
/* a day with nothing on it takes less room, so the days with shows move up */
.day.empty { margin-bottom: 6px; }
.day.empty h2 { margin-bottom: 0; }
.day h2 { position: sticky; top: var(--head, 0); z-index: 10; display: flex; align-items: center; margin: 0 0 8px; padding: 9px 2px 7px; font-size: 14px; font-weight: 500; color: var(--muted); background: var(--bg); transition: top .2s ease; }
.day h2 b { font-weight: 700; color: var(--text); }
.day h2::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.not-listed > summary { list-style: none; cursor: pointer; }
.not-listed > summary::-webkit-details-marker { display: none; }
.not-listed .fold { width: 7px; height: 7px; margin: -4px 0 0 -4px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); transition: transform .15s ease; }
.not-listed[open] .fold { margin-top: -6px; transform: rotate(45deg); }
@media (hover: hover) { .not-listed > summary:hover h2 { color: var(--text); } }
header.away ~ main .day h2 { top: 0; }
.toscore { margin-top: 30px; }
.day.is-today h2 { color: color-mix(in srgb, var(--accent) 55%, var(--text)); }
.day.is-today h2 b { color: color-mix(in srgb, var(--accent) 60%, var(--text)); }
.day.is-today h2::after { background: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.day h2 .day-none { color: var(--muted); font-size: 14px; font-weight: 400; white-space: nowrap; }
.empty-day {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 9px 12px;
border: 1px dashed var(--line);
border-radius: 12px;
background: color-mix(in srgb, var(--card) 45%, var(--bg));
}
.row { position: relative; isolation: isolate; overflow: hidden; display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px 8px 8px; margin-bottom: 8px;
box-shadow: var(--raise); transition: border-color .15s ease; }
.row[style*="--art"]::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--art) center / cover no-repeat; opacity: var(--art-strength);
-webkit-mask-image: linear-gradient(90deg, #000 4%, transparent 52%); mask-image: linear-gradient(90deg, #000 4%, transparent 52%); transition: opacity .15s ease; }
.row.aired::before { opacity: calc(var(--art-strength) * .35) !important; }
@media (hover: hover) { .row:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); } .row[style*="--art"]:hover::before { opacity: calc(var(--art-strength) * 1.4); } }
.row.aired, .row.pause { background: transparent; box-shadow: none; }
.day.is-today {
padding-inline-start: 12px;
background: linear-gradient(var(--line), var(--line)) left 4px top / 1px 100% no-repeat;
}
.day.is-today.empty { padding-inline-start: 0; background: none; }
.now-line { display: flex; align-items: center; gap: 8px; margin: 2px 0 8px; pointer-events: none; }
.now-line::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.now-line span {
padding: 1px 7px;
border-radius: 99px;
background: var(--today);
color: color-mix(in srgb, var(--accent) 45%, var(--text));
font-size: 11px;
font-weight: 650;
}
.row.aired .time, .row.aired .title, .row.pause .time, .row.pause .title { color: var(--muted); }
.row.aired img, .row.pause img { opacity: .7; }
.row.aired:not(:hover) .cr:not(:focus-visible) { background: transparent !important; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); filter: none; }
.row.pause { border-style: dashed; background-color: color-mix(in srgb, var(--card) 55%, transparent); padding-top: 5px; padding-bottom: 5px; }
.row.pause .time { font-weight: 500; }
#list .row.pause > img { height: 46px; object-position: center 22%; box-shadow: none; }
.row.pause > .no-cover { display: none; }
.row.pause .ep a { color: inherit; text-decoration: underline dotted; }
.cr.news { background: transparent; color: var(--text); border: 1px solid var(--line); }
.shared { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; overflow: hidden; box-shadow: var(--raise); }
.shared .row { border: 0; border-radius: 0; margin: 0; box-shadow: none; }
.shared .row + .row { border-top: 1px dashed var(--line); }
.info .ep { margin-top: 4px; }
.row img { width: 50px; height: 70px; object-fit: cover; border-radius: 7px; flex: none; background: var(--line); box-shadow: 0 2px 8px rgba(0, 0, 0, .28); }
.time { width: var(--time-width, auto); flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.info { flex: 1; min-width: 0; }
.title { font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.title a { color: inherit; text-decoration: none; }
.title a:hover { text-decoration: underline; }
.ep { color: var(--muted); font-size: 13px; }
.ep .behind { margin-left: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 600; color: color-mix(in srgb, var(--accent) 75%, var(--text)); cursor: pointer; }
.ep .behind:hover { text-decoration: underline; text-underline-offset: 2px; }
.ep .behind::before { content: "·"; margin-right: 6px; color: var(--muted); font-weight: 400; }
/* Airing progress; unknown totals deliberately have no bar. */
.season-progress { width: min(220px, 100%); height: 3px; margin-top: 5px; border-radius: 99px; overflow: hidden; background: var(--line); }
.season-progress > span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.ep-tag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 99px; font-size: 11px; font-weight: 600; line-height: 16px;
background: color-mix(in srgb, var(--accent) 18%, transparent); color: color-mix(in srgb, var(--accent) 80%, var(--text)); }
.daystrip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 0 0 6px; }
.daystrip button { padding: 3px 0; border: 0; background: transparent; font-size: 12px; line-height: 18px; white-space: nowrap; color: var(--muted); position: relative; }
.daystrip b { font-weight: 600; font-variant-numeric: tabular-nums; }
.daystrip .past, .daystrip .free { opacity: .55; }
.daystrip .today { opacity: 1; font-weight: 700; background: color-mix(in srgb, var(--accent) 38%, transparent); box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--text); }
.daystrip .picked { opacity: 1; font-weight: 600; background: var(--accent); color: var(--accent-text); }
@media (hover: hover) { .daystrip button:not(.picked):hover { color: var(--text); opacity: 1; } }
@media (pointer: coarse) { .daystrip button { min-height: 30px; } }
body.searching .daystrip { display: none; }
.weekline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 6px; }
.weekline > .daystrip { flex: 1 1 340px; min-width: 0; margin: 0; }
.weekline > .alerts-chip { order: 1; margin-left: auto; }
.weekline > #planReadinessButton { order: 1; }
.weekline > .alerts-body { order: 2; flex: 0 0 100%; margin: 2px 0 4px; padding: 0 2px; }
.alerts-body[hidden] { display: none; }
.cr { --svc: var(--accent); flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; background: color-mix(in srgb, var(--svc) 8%, transparent); color: color-mix(in srgb, color-mix(in srgb, var(--svc) var(--svc-ink), #000), #fff calc(var(--text-lift, 0%) * var(--lift-on))); text-decoration: none; font-weight: 600; line-height: 1.2; border-radius: 99px; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 1px 3px rgba(0, 0, 0, .22); }
.links { flex: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 45%; }
.row .cr .site-icon, .row.compact .cr .site-icon { display: block; flex: none; width: 18px; height: 18px; margin-left: -3px; border-radius: 4px; object-fit: contain; background: none; box-shadow: none; }
.svc-icon { flex: none; width: 18px; height: 18px; margin-left: -3px; background: color-mix(in srgb, var(--svc) var(--svc-ink), #000); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
@media (hover: hover) { .cr:not(.other, .news):hover { background: color-mix(in srgb, var(--svc) 15%, transparent); } .cr.other:hover { background: color-mix(in srgb, var(--svc) 8%, transparent); } }
.cr.other { background: transparent; border: 1px solid color-mix(in srgb, var(--svc) 40%, transparent); box-shadow: none; }
.row.aired:not(:hover) .cr.other:not(:focus-visible) { border-color: transparent; }
.row.aired:not(:hover) .cr:not(:focus-visible) .svc-icon { background: currentColor; }
.watch { flex: none; width: 30px; height: 30px; padding: 0; border-radius: 9px; color: var(--green); border-color: color-mix(in srgb, var(--green) 55%, transparent); background: color-mix(in srgb, var(--green) 10%, transparent); font-size: 15px; font-weight: 700; line-height: 1; }
.watch:hover { border-color: var(--green); background: color-mix(in srgb, var(--green) 15%, var(--card)); }
.watch.done { background: var(--green); color: #fff; }
.drop { flex: none; min-width: 52px; height: 30px; padding: 0 8px; border-radius: 9px; color: var(--muted); font-size: 12px; background: transparent; border-color: transparent; }
@media (hover: hover) { .drop:hover { border-color: var(--line); color: var(--text); } }
.drop-space { flex: none; width: 52px; }
.score { flex: none; min-width: 52px; height: 30px; padding: 0 8px; border-radius: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.score.scored { color: var(--accent); border-color: var(--accent); font-weight: 600; }
#scoreInput input { flex: 0 1 110px; }
.move { flex: none; width: 30px; height: 30px; border-radius: 8px; color: var(--muted); font-size: 14px; padding: 0; touch-action: none; cursor: grab; }
.plan-in { flex: none; width: 30px; height: 30px; border-radius: 8px; color: var(--muted); padding: 0; display: inline-grid; place-items: center; }
.plan-in:hover { color: var(--accent); }
.catchup-tag { color: var(--accent); font-weight: 600; }
body.no-drop .drop, body.no-drop .drop-space, body.no-move .move, body.no-move .day-edit { display: none; }
.day h2 .day-edit { order: 1; padding: 3px 10px; font-size: 12px; }
.day h2 .day-discord, .day h2 .day-pencil { display: inline-grid; place-items: center; padding: 3px 9px; }
.day-dlg { width: min(460px, 92vw); }
.discord-nicks { margin: 8px 0; }
.discord-nicks summary { cursor: pointer; font-weight: 600; }
.discord-nicks > * + * { margin-top: 8px; }
.nick-row { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.nick-row span { flex: 0 1 45%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.day h2 .day-delay { order: 1; display: inline-grid; place-items: center; padding: 3px 9px; }
.day h2 .day-delay.on { border-color: var(--late); color: var(--late); }
.time.late, .time.late * { color: var(--late) !important; }
.delay-note { display: flex; align-items: center; gap: 8px; min-height: 24px; margin: 0 0 4px; padding: 0 0 0 10px;
border-left: 2px solid var(--late); border-radius: 5px; background: color-mix(in srgb, var(--late) 9%, var(--bg)); font-size: 12.5px; color: var(--muted); padding-block: 3px; }
.delay-note > span { flex: 1; min-width: 0; }
.delay-note b { color: var(--late); font-weight: 600; }
.delay-note .pill { flex: none; padding: 1px 10px; font-size: 12px; opacity: 0; transition: opacity .15s; }
.delay-note:hover .pill, .delay-note .pill:focus-visible { opacity: 1; }
@media (hover: none) { .delay-note .pill { opacity: 1; } }
.dlg .delay-custom { flex: 0 0 64px; }
#delayDlg { width: min(440px, 92vw); overflow-x: hidden; }
#delayDlg form { grid-template-columns: minmax(0, 1fr); }
#delayDlg form > * { min-width: 0; }
#delayDlg select { width: 100%; }
#delayDlg #delayReason { flex: 1 1 0; width: auto; min-width: 0; }
#reasonsDlg { width: min(560px, 92vw); }
#reasonsText { width: 100%; min-height: 280px; resize: vertical; font: inherit; font-size: 14px; line-height: 1.5;
padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); }
#delayMinutes { flex: 1 1 auto; min-width: 0; }
#delayMinutes button { flex: 1; padding: 4px 6px; }
#delayFrom { flex: 1; min-width: 0; }
.day-text { position: relative; }
.day-text textarea, .discord-text { box-sizing: border-box; width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-family: inherit; font-size: 14px; line-height: 1.6; resize: vertical; }
.day-suggest { display: grid; margin-top: 4px; padding: 4px; border: 1px solid var(--line); background: var(--card); }
.day-suggest button { display: flex; justify-content: space-between; gap: 12px; padding: 6px 8px; border: 0; background: none; color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.day-suggest button span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.day-suggest button[aria-selected="true"], .day-suggest button:hover { background: var(--today); }
.day-missing-list { display: grid; gap: 6px; }
.day-missing > span { flex: 1 1 100%; font-size: 14px; }
.day-missing input { max-width: 90px; }
.dlg { border: 1px solid var(--line); background: var(--card); color: var(--text); padding: 16px; width: min(380px, 92vw); max-height: calc(100dvh - 32px); overflow-y: auto; box-shadow: 0 16px 48px rgba(0,0,0,.25); }
.dlg::backdrop { background: rgba(0, 0, 0, .55); }
.dlg h2 { margin: 0 0 12px; font-size: 17px; line-height: 1.3; }
.quick-guide { width: min(460px, 92vw); }
.help-sections { display: grid; gap: 12px; margin-bottom: 16px; }
.help-sections h3 { font-size: 13px; margin: 0 0 3px; }
.help-sections p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.quick-guide > .dlg-row { position: sticky; bottom: -16px; margin: 0 -16px -16px; padding: 12px 16px; background: var(--card); border-top: 1px solid var(--line); }
.move-card { cursor: grab; }
.move-card:active { cursor: grabbing; }
.move-card a, .move-card button { cursor: pointer; }
.move:active { cursor: grabbing; }
.move-dragging { opacity: .55; }
.row.drop-slot { border-color: var(--accent); background: var(--today); outline: 2px solid var(--accent); outline-offset: -1px; }
.drop-ghost { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 10px 12px; border: 2px dashed var(--accent); border-radius: 12px; background: color-mix(in srgb, var(--accent) 10%, var(--card)); color: var(--text); font-size: 14px; pointer-events: auto; animation: ghost-in .12s ease-out; }
.drop-ghost.beside { margin-left: 28px; }
.drop-ghost-time { padding: 1px 8px; border-radius: 99px; background: var(--accent); color: var(--accent-text); font-size: 11.5px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.drop-ghost b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes ghost-in { from { opacity: 0; transform: scaleY(.6); } }
@media (prefers-reduced-motion: reduce) { .drop-ghost { animation: none; } }
.drag-hint { position: fixed; z-index: 58; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%);
max-width: calc(100vw - 24px); width: max-content; padding: 9px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--accent); color: var(--text); font-size: 13px; pointer-events: none; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
@media (hover: none) { #helpKeys { display: none; } }
.keyboard-guide { margin: 6px 0 0; display: grid; gap: 12px; font-size: 13px; }
.keyboard-guide > div { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 10px; align-items: center; }
.keyboard-guide dt { white-space: nowrap; }
.keyboard-guide dd { margin: 0; }
kbd { display: inline-block; min-width: 23px; padding: 2px 5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--bg); font: 12px/1.4 system-ui, sans-serif; text-align: center; }
.dlg p { margin: 0 0 12px; font-size: 14px; }
.dlg .dlg-row:last-child { justify-content: flex-end; }
.row > .watch, .row > .drop, .row > .score, .row > .move, .row > .plan-in { min-height: 32px; }
.dlg form { display: grid; gap: 10px; }
.dlg .muted { color: var(--muted); font-size: 13px; }
.dlg-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.move-actions > [hidden] { display: none; }
.move-skip { padding-top: 10px; border-top: 1px solid var(--line); }
.move-skip:not(:has(> :not([hidden]))) { display: none; }
.move-skip > .toggle { margin-left: auto; }
#moveDlg { width: min(430px, 92vw); }
.dlg-foot > button[value="cancel"] { margin-left: auto; }
.dlg select, .dlg input { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
.dlg input { flex: 1; min-width: 0; }
.dlg .pill.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.drop[data-sure] { color: #e5484d; border-color: #e5484d; }
.drop.dropped { display: inline-grid; place-items: center; border: 1px dashed var(--line); color: var(--muted); font-size: 11px; }
#settingsButton { position: relative; }
.datanote { color: var(--text); font-size: 13px; margin: 0 0 14px; padding: 8px 12px; border-radius: 10px; display: grid; gap: 4px;
border: 1px solid #d9a400; background: color-mix(in srgb, #d9a400 12%, transparent); }
.datanote-quiet { margin: -4px 0 12px; font-size: 12px; color: var(--muted); }
.status .retry { margin-top: 12px; }
#notice { position: fixed; left: 50%; transform: translateX(-50%); z-index: 60; width: max-content; display: flex; gap: 12px; align-items: center;
max-width: calc(100vw - 32px); padding: 10px 10px 10px 16px; border-radius: 12px; background: var(--card); color: var(--text);
border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.3); font-size: 14px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
#notice[hidden] { display: none; }
#update { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 61; width: max-content; display: flex; gap: 12px; align-items: center;
max-width: calc(100vw - 32px); padding: 10px 10px 10px 16px; border-radius: 12px; background: var(--card); color: var(--text);
border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.3); font-size: 14px; }
#update[hidden] { display: none; }
#updateReload { flex: none; border-color: var(--accent); color: var(--accent); font-weight: 600; }
.notes-dlg { width: min(460px, calc(100vw - 32px)); }
.notes-timer { margin: 4px 0 12px; font-size: 12px; }
.notes-age { margin-left: auto; padding-left: 10px; color: var(--muted); font-size: 11px; font-weight: 400; }
#notesList { display: grid; gap: 14px; margin: 10px 0 12px; max-height: 60vh; overflow: auto; }
.notes-entry h3 { margin: 0 0 6px; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }
.notes-entry h3 span { color: var(--muted); font-weight: 400; font-size: 12px; white-space: nowrap; }
.notes-entry ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13px; line-height: 1.4; }
a.menu-item { color: inherit; text-decoration: none; box-sizing: border-box; }
#noticeText { overflow: hidden; text-overflow: ellipsis; white-space: normal; overflow-wrap: anywhere; }
#noticeStop { min-height: 40px; flex: none; padding: 5px 12px; border-color: var(--accent); color: var(--text); font-weight: 650; }
#noticeStop[disabled] { opacity: .7; cursor: progress; }
#noticeUndo { min-height: 40px; flex: none; border-color: var(--accent); color: var(--accent); font-weight: 600; padding: 5px 12px; }
#list button[aria-busy] { cursor: progress; }
#noticeUndo[hidden] { display: none; }
.notice { color: var(--muted); font-size: 13px; text-align: center; margin: 0 0 14px; }
.notice .pill { margin-left: 6px; padding: 3px 10px; font-size: 12px; }
.status, .nomatch { color: var(--muted); text-align: center; padding: 40px 0; }
.status.happy {
display: grid;
justify-items: center;
gap: 10px;
padding: 24px 16px;
border: 1px solid var(--line);
border-radius: 16px;
background: color-mix(in srgb, var(--today) 50%, var(--card));
color: var(--text);
font-weight: 650;
}
.status.happy img { width: 56px; height: 56px; border-radius: 14px; }
.status.loading { padding: 4px 0 14px; font-size: 13px; }
.skeleton { display: grid; gap: 8px; }
#list:has(> .skeleton) { min-height: 100vh; }
.skeleton i { display: block; height: 88px; border-radius: 12px; border: 1px solid var(--line); animation: breathe 1.3s ease-in-out infinite alternate;
background: linear-gradient(var(--line), var(--line)) 8px 8px / 50px 70px no-repeat, linear-gradient(var(--line), var(--line)) 72px 24px / min(46%, 280px) 12px no-repeat, linear-gradient(var(--line), var(--line)) 72px 46px / min(22%, 120px) 10px no-repeat, var(--card); }
.skeleton i:nth-child(2) { animation-delay: .1s; } .skeleton i:nth-child(3) { animation-delay: .2s; } .skeleton i:nth-child(4) { animation-delay: .3s; } .skeleton i:nth-child(5) { animation-delay: .4s; }
@keyframes breathe { from { opacity: 1; } to { opacity: .45; } }
button, select, .toggle, .cr { transition: background-color .12s ease, border-color .12s ease, color .12s ease, transform .08s ease; }
button:not(:disabled):active, .cr:active, .toggle:active { transform: scale(.97); }
.popover:not([hidden]) { animation: rise .13s ease-out; }
.dlg[open] { animation: rise .16s ease-out; }
#notice:not([hidden]) { animation: toast .18s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translateX(-50%); } }
@media (hover: hover) { .round:hover { color: var(--text); } .cr:hover { filter: brightness(1.08); } }
details { color: var(--muted); font-size: 13px; margin-top: 28px; }
details.warning { color: #e5484d; margin: 0 0 16px; padding: 8px 12px; border: 1px solid #e5484d; border-radius: 10px;
background: color-mix(in srgb, #e5484d 10%, transparent); }
details.warning summary { cursor: pointer; font-weight: 600; }
details ul { margin: 6px 0 0; padding-left: 20px; }
.alerts { color: var(--muted); margin: 0 0 8px; padding: 0 2px; font-size: 13px; display: grid; gap: 4px; }
.alerts b { color: var(--text); font-weight: 500; }
.alerts a { color: inherit; text-decoration: underline dotted; }
.alerts .why { color: var(--muted); }
.alerts-chip { cursor: pointer; flex: none; width: max-content; max-width: 100%; box-sizing: border-box; min-height: 30px; color: var(--text); background: color-mix(in srgb, var(--accent) 22%, transparent); border: 0; box-shadow: inset 0 0 0 1px var(--accent); border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; padding: 4px 12px; display: flex; align-items: center; }
@media (hover: hover) { .alerts-chip:hover { background: color-mix(in srgb, var(--accent) 34%, transparent); } }
.alerts-chip::after { content: ''; width: 7px; height: 7px; margin: -3px 2px 0 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .15s ease; }
.alerts-chip[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(-135deg); }
.alerts .notice-count { white-space: nowrap; }
.alerts-body { display: grid; gap: 6px; margin: 8px 0 6px; }
@media (min-width: 561px) {
.links { max-width: 45%; }
.links > .cr { min-width: 138px; }
  .links > .cr:has(> .svc-icon, > .site-icon) {
    display: inline-grid;
    grid-template-columns: 18px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 4px;
    padding-inline: 9px;
    text-align: center;
  }
  .links > .cr > .svc-icon, .row .links > .cr > .site-icon { margin: 0; }
  .links > .cr:has(> .svc-icon, > .site-icon)::after { content: ""; }
}
@media (max-width: 560px) {
.row:not(.compact) { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; column-gap: 10px; row-gap: 8px; }
.row:not(.compact) > .time { grid-column: 1; grid-row: 1; }
.row:not(.compact) > img { grid-column: 1; grid-row: 1 / span 2; align-self: stretch; width: 50px; height: auto; min-height: 70px; }
.row:not(.compact) > .info { grid-column: 2 / -1; grid-row: 1; align-self: start; }
.row:not(.compact):not(:has(> img, > .time)) > .info { grid-column: 1 / -1; }
.row:not(.compact) > .links { grid-column: 2; grid-row: 2; justify-content: flex-start; min-width: 0; max-width: none; }
.row:not(.compact) > .links > .cr { max-width: 100%; overflow-wrap: anywhere; text-align: center; }
.row:not(.compact) > .watch, .row:not(.compact) > .drop, .row:not(.compact) > .score { align-self: start; }
.row:not(.compact) > .links:empty, .row:not(.compact) > .watch-space, .row:not(.compact) > .drop-space { display: none; }
.row:not(.compact) > .drop, .row:not(.compact) > .score { grid-column: 3; grid-row: 2; }
.row:not(.compact) > .watch { grid-column: 4; grid-row: 2; }
.row:not(.compact) > .move, .row:not(.compact) > .plan-in { grid-column: 5; grid-row: 2; }
.row:not(.compact):not(:has(> .watch, > .drop, > .score, > .move)):has(> .links > :only-child) { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto 1fr; row-gap: 2px; min-height: 86px; }
.row:not(.compact):not(:has(> .watch, > .drop, > .score, > .move)):has(> .links > :only-child) > .info { display: contents; }
.row:not(.compact):not(:has(> .watch, > .drop, > .score, > .move)):has(> .links > :only-child) > img, .row:not(.compact):not(:has(> .watch, > .drop, > .score, > .move)):has(> .links > :only-child):has(> img) > .time { min-height: 0; }
.row:not(.compact):not(:has(> .watch, > .drop, > .score, > .move)):has(> .links > :only-child) > img { contain: size; }
.row:not(.compact):not(:has(> .watch, > .drop, > .score, > .move)):has(> .links > :only-child) > .info > .title { grid-column: 2 / -1; grid-row: 1; }
.row:not(.compact):not(:has(> .watch, > .drop, > .score, > .move)):has(> .links > :only-child) > .info > .ep { grid-column: 2; grid-row: 2; align-self: start; margin: 2px 0 0; min-width: 0; } /* right under the title, not in the middle of the card */
.row:not(.compact):not(:has(> .watch, > .drop, > .score, > .move)):has(> .links > :only-child) > .links { grid-column: 3; grid-row: 2; align-self: end; }
.row:not(.compact):has(> img) > .time { grid-column: 1; grid-row: 1 / span 2; align-self: stretch; z-index: 1; width: 50px; min-height: 70px; display: flex; flex-direction: column; justify-content: flex-end; white-space: normal; }
.row:not(.compact):has(> img) > .time, .row.aired:not(.compact):has(> img) > .time { line-height: 1.15; text-align: center; border-radius: 6px; }
.row:not(.compact):has(> img) > .time .time-day, .row:not(.compact):has(> img) > .time small { font-size: 10px; }
.row.compact img { width: 36px; height: 50px; }
.catchup-single > img, .catchup-show .show-head > img { width: 44px; height: 62px; }
.who { display: flex; flex-wrap: wrap; gap: 3px; margin: 4px 0 0; }
.who span { margin: 0; }
.row .who:not(.open):has(> .who-more) { flex-wrap: nowrap; }
.row .who:not(.open):has(> .who-more) > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .who:not(.open) > span:nth-child(n+3) { display: none; }
.who-more { position: relative; display: inline-block; flex: none; padding: 0 6px; border-radius: 99px; border-color: var(--line); background: transparent; color: var(--muted); font-size: 11px; font-weight: 600; line-height: inherit; }
.who-more::after { content: ''; position: absolute; inset: -9px -6px; }
.cr { padding: 7px 9px; }
.row { gap: 10px; }
.time { font-size: 14px; }
}
@media (pointer: coarse) {
.cr { min-height: 36px; }
.watch, .move, .plan-in { width: 36px; height: 36px; }
.drop, .score { height: 36px; }
.watch-space { width: 36px; }
}
@media (max-width: 560px) {
header.away { transform: translateY(-100%); }
}
@media (prefers-reduced-motion: reduce) {
*, ::before, ::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.plan-start { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.plan-start input { padding: 4px 10px; }
.plan-go { margin-left: auto; background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 600; }
.plan-go:disabled { opacity: .6; }
.plan-hint { text-transform: none; letter-spacing: 0; font-weight: 400; }
.avail { display: grid; grid-template-columns: max-content repeat(7, minmax(30px, 1fr)) minmax(44px, 1.3fr); gap: 4px; align-items: center; padding: 0 10px; }
.avail-name { justify-self: start; margin-right: 8px; padding: 1px 8px; border-radius: 99px; font-size: 12px;
background: var(--person, var(--line)); color: var(--person-text, var(--text)); }
.avail-name.everyone { background: transparent; font-weight: 600; padding-left: 0; }
.avail-head { text-align: center; font-size: 11px; color: var(--muted); font-weight: 600; }
.avail-start { width: 100%; min-width: 0; padding: 3px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--card);
color: var(--text); font-size: 12px; text-align: center; }
.avail-start:focus { border-color: var(--accent); }
.busy-list { display: flex; flex-direction: column; gap: 6px; padding: 0 10px; }
.busy-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.busy-row .pill { padding: 4px 10px; font-size: 13px; background: var(--card); border: 1px solid var(--line); color: var(--text); }
.busy-time { width: 64px; text-align: center; }
.busy-note { flex: 1; min-width: 100px; }
.busy-row .round { width: 30px; height: 30px; font-size: 12px; }
.busy-empty { padding: 2px 0; }
.fallback-prime { margin-top: 6px; }
.busy-actions { margin: 8px 10px 0; justify-content: flex-start; }
.fixed-show { flex: 1; min-width: 160px; max-width: 100%; text-overflow: ellipsis; }
.plan-moves { margin: 0 10px; }
.plan-break-prefs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 10px; }
.break-pref { --tint: var(--person, var(--accent)); border: 1px solid color-mix(in srgb, var(--tint) 50%, transparent);
border-radius: 99px; padding: 3px 10px; font-size: 13px; color: var(--text); background: color-mix(in srgb, var(--tint) 20%, transparent); }
.break-pref.protect { background: var(--tint); border-color: var(--tint); color: var(--person-text, var(--accent-text)); font-weight: 600; }
.break-pref.fine { background: transparent; border-style: dashed; }
.plan-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan-compare > div { min-width: 0; }
.plan-side { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin: 0 0 6px 2px; }
.plan-side .plan-span { margin-left: 4px; font-size: 12px; }
.plan-none { padding: 8px 10px; }
.plan-views { margin-right: auto; }
.plan-breaks .plan-side { width: 100%; margin: 4px 0 0; }
.avail-day { padding: 3px 0; border-radius: 8px; font-size: 12px; color: var(--muted); }
.avail-day[aria-pressed="true"] { background: color-mix(in srgb, #e5484d 22%, var(--card)); border-color: #e5484d; color: #e5484d;
text-decoration: line-through; }
#planOut { scroll-margin-top: 72px; }
.plan-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.plan-tile { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; }
.plan-tile b { font-size: 22px; }
.plan-tile span { color: var(--muted); font-size: 12px; }
.plan-tile small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.plan-actions { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 14px; }
.plan-span { color: var(--muted); font-weight: 500; font-size: 13px; margin-left: 6px; }
.plan-slot { flex: 1; min-width: 0; display: flex; gap: 10px; align-items: center; }
.plan-slot .info .ep { white-space: normal; }
.plan-or { color: var(--muted); font-weight: 700; }
.plan-moved { color: #e5484d; }
.plan-breaks { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0 10px; font-size: 13px; }
.plan-break .who { margin: 0 4px 0 0; }
.plan-break .who span { margin: 0; }
@media (max-width: 560px) {
.avail { grid-template-columns: minmax(0, 58px) repeat(7, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 3px; padding: 0; }
.avail-name { max-width: 100%; margin-right: 0; padding: 1px 5px; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avail-day { padding: 5px 0; font-size: 11px; min-width: 0; }
.avail-start { font-size: 10px; padding: 3px 0; letter-spacing: -.02em; }
.avail-head { font-size: 10px; }
.plan-stats { grid-template-columns: repeat(2, 1fr); }
.plan-slot.pair { flex-direction: column; align-items: stretch; gap: 4px; }
.plan-or { display: none; }
.plan-slot.pair .info + .info { border-top: 1px dashed var(--line); padding-top: 4px; }
.plan-go { margin-left: 0; }
.plan-compare { grid-template-columns: 1fr; }
.plan-actions { flex-wrap: wrap; }
.plan-views { width: 100%; }
.plan-views button { flex: 1; }
}
.row:not(.compact):has(> img) > .time { z-index: 1; box-sizing: border-box; width: max-content; min-height: 0; display: block; white-space: nowrap; line-height: 1.15; text-align: center; padding: 2px 5px; --cover: 60px; }
.row:not(.compact):has(> img) > .time, .row:not(.compact):has(> img) > .time .time-day, .row:not(.compact):has(> img) > .time small { color: #e8e8e8; }
.row:not(.compact):has(> img) > .time::before { content: ''; position: absolute; left: max(-3px, calc(50% - var(--cover) / 2)); right: max(-3px, calc(50% - var(--cover) / 2)); top: -3px; bottom: -2px; z-index: -1; background: rgba(40, 40, 44, .72);
--fade-x: linear-gradient(to right, transparent, #000 4px, #000 calc(100% - 4px), transparent); --fade-y: linear-gradient(to bottom, transparent, #000 4px, #000 calc(100% - 4px), transparent);
-webkit-mask-image: var(--fade-x), var(--fade-y); mask-image: var(--fade-x), var(--fade-y); -webkit-mask-composite: source-in; mask-composite: intersect; }
.row:not(.compact):has(> img) > .time .out { display: none; }
@media (min-width: 561px) {
.row:not(.compact) > img { width: 60px; height: 84px; }
.row:not(.compact):has(> img) > .time { position: absolute; left: 38px; top: 50%; transform: translate(-50%, calc(42px - 100% - 4px)); font-size: 13px; }
.row:not(.compact):has(> img) > .time:has(small) { padding: 2px 3px; }
.row:not(.compact):has(> img) > .time .time-day, .row:not(.compact):has(> img) > .time small { font-size: 11px; }
.row:not(.compact):not(:has(> img)) > .time { width: 60px; text-align: center; }
}
@media (max-width: 560px) {
.row:not(.compact):has(> img) > .time, .row.aired:not(.compact):has(> img) > .time { --cover: 50px; position: relative; justify-self: center; align-self: end; width: max-content; min-height: 0; margin-bottom: 4px; padding: 2px 4px; font-size: 12px; }
}
.season-wrapped { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 920px; margin: 14px auto 0; padding: 14px 20px; border: 1px solid var(--accent); border-radius: 16px; background: var(--today); color: var(--text); text-decoration: none; }.season-wrapped[hidden] { display: none; }.season-wrapped span:first-child { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }@media (max-width: 600px) {.season-wrapped { margin: 12px 16px 0; gap: 10px; font-size: 13px; }.season-wrapped span:first-child { display: none; }}
.misc-tools { position: relative; }.round.misc-trigger { display: flex; align-items: center; justify-content: center; width: auto; padding: 0 12px; gap: 6px; border-radius: 24px; font-size: 12px; }.misc-trigger[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); background: var(--today); }
.misc-menu.site-tools { position: absolute; top: calc(100% + 9px); right: -74px; left: auto; max-width: calc(100vw - 32px); max-height: calc(100dvh - 100px); overflow: auto; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; margin: 0; border: 1px solid var(--line); background: var(--card); color: var(--text); box-shadow: 0 16px 50px #0004; z-index: 50; }
.misc-menu .misc-section-title { margin: 7px 4px 1px; padding: 10px 7px 3px; border-top: 1px solid var(--line); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.misc-menu[hidden] { display: none !important; }
.misc-menu a, .misc-menu button { display: flex; align-items: center; gap: 11px; min-height: 58px; width: 100%; padding: 10px; text-align: left; box-sizing: border-box; cursor: pointer; }
.misc-menu a:hover, .misc-menu button:hover { background: var(--today); color: var(--text); text-decoration: none; }.misc-menu a:focus-visible, .misc-menu button:focus-visible { outline: 2px solid var(--accent); }
.misc-icon { flex: none; display: grid; place-items: center; width: 32px; height: 34px; background: var(--today); color: var(--accent); border-radius: 8px; font-size: 21px; }.misc-text { flex: 1; min-width: 0; }.misc-text b { display: block; font-size: 13px; font-weight: 600; }.misc-text small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }.misc-menu a > span:last-child:not(.misc-text) { font-size: 12px; color: var(--muted); }
@media (max-width: 560px) {.misc-tools { position: static; }.round.misc-trigger { width: 34px; padding: 0; }.misc-trigger > span { display: none; }.misc-menu.site-tools { top: calc(100% + 8px); right: 0; }}
.row.pause .title { font-size: 14px; }
.fallback-prime [data-prime-choice="prime"] { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.prime-mark { flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: url(services/prime-video.svg) center / contain no-repeat; mask: url(services/prime-video.svg) center / contain no-repeat; }
.daystrip {
gap: 4px;
padding: 4px;
border: 1px solid var(--line);
border-radius: 14px;
background: var(--card);
}
.daystrip button {
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
min-height: 34px;
border-radius: 9px;
}
.daystrip button:hover:not(.picked) { background: var(--today); }
.daystrip button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.daystrip b { font-size: 14px; }
.daystrip .late::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--late); }
.day h2 { gap: 10px; padding-block: 10px; }
.day h2 b { font-size: 17px; letter-spacing: -.02em; }
.day .row { border-radius: 14px;
background-color: color-mix(in srgb, var(--card) 94%, var(--accent)); }
.day .row .title { line-height: 1.3; font-size: 16px; }
@media (max-width: 560px) {
.daystrip button { flex-direction: column; gap: 0; min-height: 44px; line-height: 1.15; }
.daystrip button span { font-size: 11px; }
}
.day .row.aired:not(.pause) { background-color: transparent; }
.day .row.pause { background-color: color-mix(in srgb, var(--card) 55%, var(--bg)); }
.day .row.pause .title { font-size: 14px; }
.day .row .ep { margin-top: 5px; }
.day .row > img { border-radius: 9px; box-shadow: 0 2px 7px #0003; }
.day .parallel-slot {
border-radius: 14px;
border-color: color-mix(in srgb, var(--accent) 20%, var(--line));
}
.day .parallel-slot > .row + .row { border-top-style: solid; }
.parallel-heading {
display: flex;
align-items: center;
gap: 9px;
padding: 6px 12px;
border-bottom: 1px solid var(--line);
background: var(--today);
color: var(--muted);
font-size: 12px;
}
.parallel-heading b { color: var(--text); font-size: 14px; font-variant-numeric: tabular-nums; }
@media (min-width: 800px) {
.day .parallel-slot {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
gap: 1px;
background: var(--line);
}
.parallel-slot .parallel-heading { grid-column: 1 / -1; border-bottom: 0; }
.day .parallel-slot > .row + .row { border-top-width: 0; }
.day .parallel-slot > .row {
flex-wrap: wrap;
align-content: center;
border-top: 0;
min-width: 0;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) repeat(3, auto);
    grid-template-rows: 1fr auto;
    column-gap: 8px;
    row-gap: 6px;
}
.day .parallel-slot > .row:is(.aired, .pause) { background: var(--bg); }
.parallel-slot > .row > .info { min-width: 100px; }
.parallel-slot > .row > .links { max-width: 100%; }
}
@media (max-width: 560px) {
.day .row .title { font-size: 15px; }
.day .row.pause .title { font-size: 14px; }
}
.weeknav {
padding: 3px;
border: 1px solid var(--line);
border-radius: 99px;
background: var(--card);
}
.weeknav .range { margin-left: 2px; }
.help-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.help-sections section:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.friend-view { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--text); }
.catchup-summary {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 4px 14px;
margin-bottom: 10px;
padding: 9px 12px;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--card);
color: var(--muted);
font-size: 13px;
}
.catchup-summary .friend-view { margin: 0; }
/* One header for every tool page: back pill ("Zum Plan" / "Spiele"), then the name and a muted line under it */
.tool-back { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px 4px 8px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); color: var(--text); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.tool-back:hover, .tool-back:focus-visible { border-color: var(--accent); text-decoration: none; }
.tool-back img { border-radius: 5px; }
header .brand h1 + div { color: var(--muted); font-size: 12px; }
.tool-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.tool-links a { padding: 7px 10px; border: 1px solid transparent; border-radius: 99px; color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tool-links a:hover, .tool-links a:focus-visible { border-color: var(--line); color: var(--accent); text-decoration: none; }
@media (max-width: 560px) { .tool-links { flex-wrap: nowrap; gap: 0; } .tool-links a { padding: 6px; font-size: 11px; } }
.busy-remove, #busyReload { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.controls-left > .segmented:first-child { border-radius: 12px; }
.controls-left > .segmented:first-child button { border-radius: 9px; }
.list-controls { display: inline-flex; align-items: center; min-width: 0; gap: 6px; }
.list-controls > select { min-width: 0; max-width: min(42vw, 215px); }
.list-controls > button { flex: none; }
/* on a phone the list picker has the row to itself: it uses the width instead of cutting the name off */
@media (max-width: 560px) { .list-controls { display: flex; width: 100%; } .list-controls > select { flex: 1; max-width: none; } }
.day .row:not(.pause) > .info > .ep { line-height: 1.45; }
.day .row > .links > .cr { min-height: 34px; }
.day .row > .watch { flex: none; }
@media (max-width: 920px) {
header { padding-block: 8px; }
body:not(.catchup) .controls { gap: 6px; justify-content: flex-start; }
body:not(.catchup) .controls-left { display: contents; }
body:not(.catchup) .controls-left > .segmented:first-child { flex: 1 1 100%; }
body:not(.catchup) .controls-left > .segmented:first-child button { flex: 1; }
body:not(.catchup) .weeknav { margin-left: auto; }
main { padding-top: 10px; }
.day h2 { padding-block: 7px; }
}
@media (max-width: 560px) {
.weeknav { padding: 0; border: 0; background: transparent; }
}
@media (pointer: coarse) {
.day .row > .links > .cr { min-height: 36px; }
}
.crash-note { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 1000; display: flex; align-items: center; gap: 10px;
padding: 8px 8px 8px 14px; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 12px;
box-shadow: 0 8px 24px rgba(0,0,0,.3); font-size: 14px; max-width: calc(100vw - 32px); }
.crash-note .crash-reload { background: var(--accent); color: var(--accent-text, #fff); border-color: transparent; }
.crash-note .crash-close { background: none; border: 0; color: var(--muted); padding: 4px 8px; }
.help-topics [aria-pressed="true"] { background: var(--today); border-color: var(--accent); }
.help-steps { flex-wrap: wrap; align-items: center; } .help-steps span { color: var(--muted); font-size: 12px; }
.settings-caption { padding: 2px 8px 0; color: var(--muted); font-size: 11px; }
#accountSection > .pill-row > button { border-radius: 8px; }
#accountSection .account-choice.current .avatar { outline: 1px solid var(--accent); outline-offset: 2px; }
.nomatch {
display: grid;
justify-items: center;
gap: 10px;
overflow-wrap: anywhere;
padding: 16px;
border: 1px dashed var(--line);
border-radius: 12px;
background: var(--card);
}
.stream-return { outline: 2px solid var(--accent); outline-offset: -2px; }
.row.next-watch-slot, .next-watch-slot > .row { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: inset 3px 0 0 var(--accent); }
.friend-summary { position: sticky; top: var(--head, 0); z-index: 12; }
header.away ~ main .friend-summary { top: 0; }
.watch.save-failed { border-color: var(--late); color: var(--late); }
@media (min-width: 720px) {
.day .row:not(.compact) > .time {
position: static;
transform: none;
flex: 0 0 72px;
width: 72px;
padding: 0 6px;
color: var(--text);
font-size: 16px;
font-weight: 650;
font-variant-numeric: tabular-nums;
text-align: center;
}
.day .row:not(.compact) > .time::before { content: none; }
.day .row:not(.compact) > .time :is(.time-day, small) { color: var(--muted); }
.day .row:not(.compact) > .time small { margin-top: 3px; font-size: 11px; font-weight: 500; }
.day .row.aired > .time, .day .row.pause > .time { color: var(--muted); }
}
.catchup-show .row.compact { padding-inline: 14px 12px; }
.catchup-show .row.compact > .time { color: var(--text); }
.row.skipped .time s { text-decoration-thickness: 1.5px; }
.day h2 .day-absent-button { order: 1; display: inline-grid; place-items: center; padding: 3px 9px; }
.day h2 .day-absent-button.on { border-color: var(--accent); color: var(--accent); }
.day h2 .pause-shift { order: 1; display: inline-grid; place-items: center; padding: 3px 9px; }
.day h2 .pause-shift.on { border-color: var(--accent); color: var(--accent); }
.day-absent { display: flex; flex-wrap: wrap; gap: 6px; }
.day-absent .pill[aria-pressed="mixed"] { border-color: var(--accent); border-style: dashed; }
.away-note { display: block; width: 100%; margin: 0 0 6px; padding: 2px 0 2px 10px; border: 0; border-left: 2px solid var(--accent); background: none; color: var(--muted); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.away-dlg { width: min(480px, calc(100vw - 20px)); max-height: min(92dvh, 860px); overflow-y: auto; overscroll-behavior: contain; }
.away-dlg form { display: grid; }
.away-head, .away-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.away-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.away-wd { text-align: center; color: var(--muted); padding: 2px 0 4px; font-size: 11px; font-weight: 600; }
.away-day { border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; display: grid; align-content: start; justify-items: center; cursor: pointer; }
.away-day:disabled { cursor: default; }
.away-day.today { border-color: var(--accent); }
.away-day.sel { background: var(--accent); border-color: var(--accent); color: var(--accent-text); box-shadow: 0 0 0 1px var(--accent); }
.away-day b { font-weight: 600; font-size: 14px; }
.away-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.away-dots i { border-radius: 50%; background: var(--person, var(--accent)); }
.away-day.sel .away-dots i { box-shadow: 0 0 0 1.5px var(--accent-text); }
.away-dots i.part { background: none; box-shadow: inset 0 0 0 1.5px var(--person, var(--accent)); }
.away-dots i.maybe { background: none; border: 1.5px dashed var(--person, var(--accent)); box-sizing: border-box; }
.away-editor { display: grid; border: 1px solid var(--line); }
.away-mode { justify-self: start; }
.away-time { display: flex; align-items: center; gap: 8px; font-size: 14px; justify-content: space-between; }
.away-sub { margin-top: 4px; }
.away-list { list-style: none; margin: 0; padding: 0; display: grid; }
.away-list li { display: flex; align-items: center; font-size: 14px; }
.away-list .pill { padding: 1px 9px; }
.away-who { padding: 1px 8px; border-radius: 99px; background: var(--person, var(--accent)); color: var(--person-text, var(--accent-text)); font-weight: 600; font-size: 13px; }
.day-absent .pill[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); border-color: transparent; }
#moveTime[hidden], #moveDouble[hidden], #moveLong[hidden] { display: none; }
.episode-kind { display: inline-flex; gap: 6px; }
#moveDouble[aria-pressed="true"], #moveLong[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); border-color: transparent; }

/* Compact Discord composer: preview and nickname editor share one viewport-sized dialog. */
#discordDlg { box-sizing: border-box; width: min(760px, calc(100vw - 24px)); max-width: 760px; max-height: min(680px, calc(100dvh - 24px)); overflow: hidden; padding: 0; }
#discordDlg form { display: flex; flex-direction: column; gap: 0; min-height: 0; max-height: min(680px, calc(100dvh - 24px)); }
.discord-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 20px 14px; border-bottom: 1px solid var(--line); }
.discord-head > div { min-width: 0; }
.discord-eyebrow { color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 5px; }
#discordName { display: block; font-size: 18px; line-height: 1.35; }
#discordNickToggle { flex-shrink: 0; font-size: 12px; }
.discord-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 0; flex: 1 1 auto; }
.discord-preview, #discordDlg .discord-nicks { min-width: 0; min-height: 0; margin: 0; padding: 16px 18px; }
.discord-preview { display: flex; flex-direction: column; gap: 9px; border-right: 1px solid var(--line); }
.discord-section-title { color: var(--text); font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.discord-section-title span { color: var(--muted); font-size: 11px; font-weight: 400; text-align: right; }
#discordText { resize: none; flex: 1 1 auto; min-height: 130px; width: 100%; font-size: 13px; line-height: 1.55; }
#discordDlg .discord-nicks { display: flex; flex-direction: column; gap: 9px; }
#discordDlg .discord-nicks[hidden], #discordNickToggle[hidden] { display: none; }
#discordDlg .discord-nicks .muted { margin: 0; font-size: 11.5px; line-height: 1.45; }
#discordNickList { min-height: 0; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
.nick-item { padding: 10px 0; border-bottom: 1px solid var(--line); }
.nick-item:first-child { padding-top: 2px; }
.nick-item:last-child { border-bottom: none; }
#discordDlg .nick-row { display: flex; flex-direction: column; gap: 5px; align-items: stretch; margin: 0; }
#discordDlg .nick-row span { flex: none; max-width: 100%; font-size: 12px; font-weight: 600; color: var(--text); }
#discordDlg .nick-row input { width: 100%; box-sizing: border-box; padding: 8px 10px; font-size: 13px; }
.nick-suggestions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.nick-suggestions > span { font-size: 11px; color: var(--muted); margin-right: 2px; }
.nick-suggestion { font: inherit; font-size: 11px; line-height: 1.4; background: var(--bg); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.nick-suggestion:hover, .nick-suggestion:focus-visible { border-color: var(--accent); color: var(--text); }
.discord-nick-actions { display: flex; justify-content: flex-end; flex: none; padding-top: 7px; border-top: 1px solid var(--line); }
.discord-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); }
#discordMsg { margin: 0; min-width: 0; }
.discord-footer .dlg-row { flex: none; }
@media (max-width: 600px) {
 #discordDlg { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
 #discordDlg form { max-height: calc(100dvh - 20px); }
 .discord-head { padding: 13px 14px; }
 .discord-layout { grid-template-columns: 1fr; grid-template-rows: minmax(135px, .65fr) minmax(0, 1fr); }
 .discord-preview, #discordDlg .discord-nicks { padding: 12px 14px; }
 .discord-preview { border-right: none; border-bottom: 1px solid var(--line); }
 #discordText { min-height: 85px; }
 .discord-footer { padding: 10px 14px; flex-wrap: wrap; }
 .discord-footer .dlg-row { margin-left: auto; }
}

/* Season-wide nickname editor search. */
.discord-nick-filter { display: flex; align-items: center; gap: 10px; min-width: 0; }
#discordNickSearch { flex: 1 1 auto; min-width: 0; width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); font: inherit; font-size: 13px; }
#discordNickCount { flex: none; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
#discordNickList .nick-item[hidden] { display: none; }

/* Season nickname setup: weekday chips filter existing inputs without discarding edits. */
.discord-nick-days { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.discord-nick-days .pill { padding: 4px 9px; font-size: 11px; }
.discord-nick-days .pill[aria-pressed="true"] { border-color: var(--accent); background: var(--today); color: var(--text); }
#discordDlg.nickname-setup .discord-preview { display: none; }
#discordDlg.nickname-setup .discord-layout { grid-template-columns: minmax(0, 1fr); }
#discordDlg.nickname-setup .discord-nicks { padding: 16px 20px; }
#discordDlg.nickname-setup #discordNickToggle, #discordDlg.nickname-setup #discordCopy { display: none; }
#discordDlg.nickname-setup { width: min(580px, calc(100vw - 24px)); }
@media (max-width: 600px) {
  #discordDlg.nickname-setup .discord-layout { grid-template-rows: minmax(0, 1fr); }
  #discordDlg.nickname-setup .discord-nicks { padding: 12px 14px; }
}


/* Shared visual rhythm across the schedule, planner, popovers and editors.
   Keep specialized tools (Wrapped, Ranker, Masterset) visually distinct. */
:where(.pill, .chip, .toggle, .segmented, .round, .daystrip button) {
  -webkit-tap-highlight-color: transparent;
}
:where(button, a, input, select, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
:where(button, select, input, textarea):disabled {
  cursor: not-allowed;
}
:where(.dlg, .popover, .row, .shared) {
  border-color: var(--line);
}
.dlg { border-radius: var(--ui-dialog-radius); }
.dlg form > * { min-width: 0; }
.dlg .dlg-row { gap: var(--ui-gap); }
.dlg .dlg-row > .pill { min-height: 35px; }
.dlg .dlg-row .pill, .dlg .pill, .dlg-foot .pill {
  border-radius: 999px;
}
.dlg :is(input:not([type="checkbox"]), select, textarea) {
  border-color: var(--line);
  background: var(--bg);
  color: var(--text);
}
.dlg :is(input:not([type="checkbox"]), select, textarea):focus-visible {
  border-color: var(--accent);
}
.dlg :is(input:not([type="checkbox"]), select, textarea)::placeholder {
  color: var(--muted);
  opacity: .8;
}
.day-suggest { border-radius: var(--ui-radius); }
.day-suggest button { border-radius: 9px; }
#delayDlg, #reasonsDlg, #dayDlg, #planDlg {
  box-sizing: border-box;
  max-width: calc(100vw - 24px);
}
#discordDlg .discord-head, #discordDlg .discord-footer {
  gap: 12px;
}
#discordDlg .discord-section-title { line-height: 1.4; }
#discordDlg .nick-suggestion { transition: border-color .12s ease, background-color .12s ease, color .12s ease; }
#discordDlg .nick-suggestion:hover { background: var(--today); }
#discordDlg .nick-suggestion:focus-visible { outline-offset: 1px; }
#discordDlg .nick-item[hidden] { display: none; }
#discordDlg #discordNickSearch { border-radius: 999px; }
#discordDlg #discordNickSearch::placeholder { color: var(--muted); opacity: .8; }
#discordDlg .discord-nick-days .pill { border-radius: 999px; min-height: 30px; }
#discordDlg .discord-nick-days .pill:hover { border-color: var(--accent); }
#discordDlg .discord-nick-days .pill[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
  font-weight: 600;
}
#settingsMenu .menu-item:focus-visible,
#accountMenu .menu-item:focus-visible { outline-offset: -2px; }
.misc-menu a, .misc-menu button { border-radius: var(--ui-radius); }
.misc-menu a:focus-visible, .misc-menu button:focus-visible { outline-offset: -2px; }
.busy-row .pill, .busy-actions .pill { border-radius: 999px; }
.row:not(.shared .row) { border-radius: var(--ui-radius); }
@media (max-width: 560px) {
  .dlg { max-width: calc(100vw - 20px); }
  .dlg .dlg-row > .pill { min-height: 40px; }
  #discordDlg .discord-footer { align-items: center; }
  #discordDlg .discord-footer .dlg-row { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .popover:not([hidden]), .dlg[open] { animation: none; }
  :where(button, select, .toggle, .cr) { transition: none; }
}


/* Absence dialog: two tabs (Kalender, Wiederkehrend), a compact calendar and short lists. */
.away-dlg form { gap: 12px; }
.away-head { gap: 12px; }
#awayTitle { font-size: 17px; letter-spacing: -.01em; cursor: help; }
.away-tabbar { display: flex; gap: 8px; align-items: center; min-width: 0; }
.away-tabbar .away-tabs { flex: 1; min-width: 0; }
.away-who-filter { flex: none; max-width: 40%; font-size: 12px; }
.away-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 2px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); }
.away-tabs [role="tab"] { min-height: 32px; padding: 4px 10px; border: 0; background: transparent; color: var(--muted); border-radius: 99px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.away-tabs [role="tab"][aria-selected="true"] { background: color-mix(in srgb, var(--accent) 20%, transparent); color: color-mix(in srgb, var(--accent) 60%, var(--text)); }
.away-tabs [role="tab"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.away-panel { display: grid; gap: 10px; min-width: 0; align-content: start; }
.away-panel[hidden], #awayEditor[hidden], .away-time[hidden], #awayMore[hidden], #repCancel[hidden] { display: none !important; }
.away-nav { justify-content: center; gap: 9px; }
#awayMonth { flex: 1 1 auto; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums; }
#awayPrev, #awayNext { width: 34px; height: 34px; padding: 0; flex: none; }
#awayToday { font-size: 12px; padding: 5px 10px; }
.away-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: center; color: var(--muted); font-size: 11px; }
.away-legend > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.away-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; box-sizing: border-box; }
.away-legend-dot { background: var(--muted); }
.away-legend-part { border: 1.5px solid var(--muted); }
.away-legend-maybe { border: 1.5px dashed var(--muted); }
.away-day { min-width: 0; min-height: 48px; padding: 5px 1px; border-radius: 11px; gap: 5px; }
.away-day:disabled { opacity: .4; }
.away-day.today { border: 2px solid var(--accent); }
.away-day.today.sel { outline: 2px solid var(--accent-text); outline-offset: -4px; }
.away-dots { min-height: 8px; align-items: center; }
.away-dots i { width: 8px; height: 8px; }
.away-hint { margin: 0; padding: 4px 8px; border-radius: 9px; background: var(--bg); color: var(--muted); font-size: 11px; line-height: 1.5; text-align: center; }
.away-editor { padding: 12px; border-radius: 12px; gap: 10px; }
#awayRange, #repFormTitle { font-size: 13px; }
.away-mode { width: 100%; }
.away-mode button { flex: 1 1 auto; min-width: 0; }
.away-time input { min-width: 110px; max-width: 155px; }
.away-editor .day-absent { gap: 7px; }
.away-editor .day-absent .pill { min-height: 34px; }
.away-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; }
.away-list-heading .away-sub { margin: 0; }
#awayListCount { font-size: 11px; }
.away-list { gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.away-list li { min-width: 0; padding: 7px 10px; gap: 9px; line-height: 1.35; }
.away-list li + li { border-top: 1px solid var(--line); }
.away-list li .pill { min-height: 30px; min-width: 30px; padding: 3px 8px; }
.away-whos { display: flex; flex-wrap: wrap; gap: 4px; flex: none; max-width: 45%; }
.away-entry-actions .pill { display: inline-grid; place-items: center; width: 32px; height: 32px; min-height: 0 !important; padding: 0 !important; border-radius: 50%; }
.away-list .away-what { overflow-wrap: anywhere; font-size: 12px; flex: 1 1 auto; min-width: 0; }
.away-more { justify-self: center; font-size: 12px; }
.rep-field { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; align-items: center; }
.rep-field > span { color: var(--muted); font-size: 12px; }
#repDaily { margin-bottom: 6px; }
#repDaily[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.rep-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.rep-weekdays button { min-height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--text); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.rep-weekdays button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.rep-dates { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.rep-dates label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); min-width: 0; }
.rep-dates input[type="date"] { min-width: 0; }
.rep-open { color: var(--text) !important; cursor: pointer; }
.rep-open input { margin: 0; accent-color: var(--accent); }
#repUntilBox[hidden] { display: none; }
@media (max-width: 420px) {
 .away-day { min-height: 42px; padding: 4px 1px; }
 .away-grid { gap: 3px; }
 .away-mode button { padding-inline: 4px; font-size: 12px; }
 .rep-field { grid-template-columns: 1fr; gap: 5px; }
}

/* Clarity pass: keep action labels readable on narrow screens. */
#editSchedule, #editScope button, #moveWeek, #moveAlways { white-space: nowrap; }
#editScope, #settingsMenu .segmented, .move-actions { min-width: 0; }
#settingsMenu .menu-item, #accountMenu .menu-item { text-align: left; }
@media (max-width: 560px) {
  #editScope button { padding-inline: 9px; font-size: 11px; }
  #editSchedule { padding-inline: 11px; }
  #settingsMenu { max-height: min(78dvh, 680px); overflow-y: auto; overscroll-behavior: contain; }
}

/* Compact return-to-today action, including small screens. */
.weeknav .jump-today { min-height: 32px; padding: 5px 10px; white-space: nowrap; font-size: 12px; }
.weeknav .jump-today[aria-current="date"] { border-color: var(--accent); color: var(--accent); font-weight: 650; }
@media (max-width: 560px) { .weeknav .jump-today { padding-inline: 8px; font-size: 11px; } }

/* Absence editor: compact actions and safe scrolling on mobile. */
.away-entry-actions { display: inline-flex; align-items: center; gap: 5px; flex: none; margin-left: auto; }
.away-entry-actions .pill { white-space: nowrap; }
@media (max-width: 420px) {
  .away-nav { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) { .away-dlg { scroll-behavior: auto; } }
@media (max-width: 560px) {
  .top-actions:has(#editScope:not([hidden])) { flex-wrap: wrap; justify-content: flex-end; }
  .top-actions #editScope { order: 9; flex: 1 1 100%; }
  .top-actions #editScope button { flex: 1; }
}

@media (min-width: 561px) {
  .links > .cr:has(> .svc-icon[style*="services/crunchyroll.svg"]),
  .links > .cr:has(> .site-icon[src$="/aniworld.png"]),
  .links > .cr:has(> .site-icon[src$="/subsplease.png"]),
  .links > .cr:has(> .site-icon[src$="/nyaa.png"]),
  .links > .cr:has(> .svc-icon[style*="services/disney.svg"]) { grid-template-columns: 22px minmax(0, 1fr) 14px; }
}

@media (min-width: 800px) {
  .day .parallel-slot > .row > .time { grid-area: 1 / 1; }
  .day .parallel-slot > .row > img { grid-area: 1 / 2; }
  .day .parallel-slot > .row > .info { grid-area: 1 / 3 / 2 / -1; min-width: 0; }
  .day .parallel-slot > .row > .links { grid-area: 2 / 1 / 3 / 4; justify-content: flex-start; min-width: 0; }
  .day .parallel-slot > .row > :is(.drop, .drop-space, .score) { grid-area: 2 / 4; }
  .day .parallel-slot > .row > :is(.watch, .watch-space) { grid-area: 2 / 5; }
  .day .parallel-slot > .row > .move { grid-area: 2 / 6; }
  .day .parallel-slot > .row > :is(.links, .watch, .drop, .score, .move) { align-self: end; }
}
@media (max-width: 560px) {
  .weeknav .icon, .day h2 .day-delay, .day .row > .watch { min-width: 44px; min-height: 44px; }
}
.day .row.pause .ep { color: var(--muted); }
.keep-time-note {
  display: inline-block;
  margin-inline-start: 5px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 11px;
  white-space: nowrap;
}

/* Steady cards, legible titles and visible save feedback. */
html { scrollbar-gutter: stable; }
#list .row > img { aspect-ratio: 5 / 7; }
#list .time, #catchupCount { font-variant-numeric: tabular-nums; }
#list .info { min-width: 0; }
#list .watch { position: relative; flex-shrink: 0; }
#list .watch[aria-busy="true"] { color: transparent; opacity: 1; }
#list .watch[aria-busy="true"]::after {
  content: ''; position: absolute; inset: 0; margin: auto; width: 15px; height: 15px;
  border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%;
  animation: saving-turn .8s linear infinite;
}
@keyframes saving-turn { to { transform: rotate(360deg); } }
#list .watch.save-failed { border-style: dashed; }
#list :is(button, a):focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.popover :is(button, a, input, select):focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
@media (max-width: 560px) {
  #list .title { font-size: 14px; line-height: 1.35; text-wrap: pretty; overflow-wrap: anywhere; }
  #list .ep { line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) {
  #list .watch[aria-busy="true"]::after { animation: none; border-style: dotted; }
}

/* Shared editor rhythm and quiet background-refresh status. */
:is(#moveDlg, #planDlg, #delayDlg, #dayDlg, #scoreDlg) { box-sizing: border-box; padding: 20px; max-height: calc(100dvh - 24px); overflow-y: auto; }
:is(#moveDlg, #planDlg, #delayDlg, #dayDlg, #scoreDlg) form { gap: 12px; }
.dlg :is(#moveMsg, #planMsg, #delayMsg, #dayMsg, #scoreMsg) { line-height: 1.45; overflow-wrap: anywhere; }
.dlg :is(#moveMsg, #planMsg, #delayMsg, #dayMsg, #scoreMsg):empty { display: none; }
.dlg .dlg-foot { padding-top: 12px; border-top: 1px solid var(--line); }
.dlg[aria-busy="true"] { cursor: progress; }
#refreshFeedback { position: fixed; z-index: 65; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); color: var(--muted); font-size: 12px; pointer-events: none; }
body:has(#notice:not([hidden])) #refreshFeedback { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
.status .empty-action { display: block; margin: 12px auto 0; }
@media (max-width: 560px) {
 :is(#moveDlg, #planDlg, #delayDlg, #dayDlg, #scoreDlg) { padding: 16px; }
 .dlg :is(button.pill, input:not([type="checkbox"]), select) { min-height: 44px; }
}

/* Visual audit: consistent controls without changing the service-button alignment. */
:is(#moveDlg, #planDlg, #delayDlg, #dayDlg, #scoreDlg) .dlg-row > .pill {
 min-height: 36px; display: inline-flex; align-items: center; justify-content: center; line-height: 1.25;
}
#delayDlg #delayMinutes { align-items: stretch; }
#delayDlg #delayMinutes button { min-height: 32px; display: inline-flex; align-items: center; justify-content: center; }
#delayDlg #delayDice { flex: 0 0 36px; padding-inline: 0; }
.day h2 :is(.day-delay, .day-absent-button, .pause-shift, .day-discord, .day-edit) {
 box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
 min-width: 34px; min-height: 30px; line-height: 1; border-radius: 999px;
}
@media (max-width: 560px) {
 :is(#moveDlg, #planDlg, #delayDlg, #dayDlg, #scoreDlg) .dlg-row > .pill,
 #delayDlg #delayMinutes button { min-height: 44px; }
 #delayDlg #delayDice { flex-basis: 44px; }
 .day h2 :is(.day-delay, .day-absent-button, .pause-shift, .day-discord, .day-edit) { min-width: 44px; min-height: 44px; }
 .day h2 { flex-wrap: wrap; }
}

/* Keep narrow day headings together instead of wrapping an isolated action. */
@media (max-width: 420px) {
 .day h2::after { display: none; }
 .day h2 > span:first-child { margin-inline-end: auto; }
}

/* Wochenübersicht */
.overview-dlg .away-head select { margin-left: auto; }
.overview-list { list-style: none; margin: 0; padding: 0; display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.overview-list li { display: flex; align-items: baseline; gap: 10px; padding: 5px 10px; font-size: 13px; min-width: 0; }
.overview-list li + li:not(.overview-day) { border-top: 1px solid var(--line); }
.overview-list .overview-day { padding: 6px 10px 4px; background: var(--chip, rgba(127,127,127,.12)); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.overview-time { flex: none; width: 40px; font-variant-numeric: tabular-nums; color: var(--muted); }
.overview-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overview-who { flex: none; font-size: 11px; color: var(--muted); }


/* Catch-up backlog grouped by airing season. The newest season opens by default. */
body.catchup #list > .catchup-season { margin: 0 0 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: clip; }
body.catchup #list > .catchup-season > summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; cursor: pointer; list-style: none; padding: 12px 15px; background: color-mix(in srgb,var(--card) 75%,var(--bg)); }
body.catchup #list > .catchup-season > summary::-webkit-details-marker { display: none; }
body.catchup #list > .catchup-season > summary h2 { position: static; margin: 0; padding: 0; display: flex; gap: 10px; align-items: center; background: transparent; font-weight: 750; font-size: 16px; color: var(--text); }
body.catchup #list > .catchup-season > summary h2::after { display: none; }
body.catchup #list > .catchup-season > summary .fold { width: 8px; height: 8px; display: inline-block; flex: none; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: rotate(-45deg); transition: transform .15s ease; }
body.catchup #list > .catchup-season[open] > summary .fold { transform: rotate(45deg); }
body.catchup .catchup-season-count { font-size: 12px; color: var(--muted); font-weight: 600; }
body.catchup #list > .catchup-season > .row,
body.catchup #list > .catchup-season > .shared { margin: 8px 10px; }
body.catchup #list > .catchup-season > .not-listed { margin: 9px 10px; padding: 0 8px 4px; border-top: 1px solid var(--line); }
body.catchup #list > .catchup-season > .not-listed > summary h2 { position: static; }
@media (max-width: 560px) {
 body.catchup #list > .catchup-season > summary { padding: 12px; }
 body.catchup #list > .catchup-season > summary h2 { font-size: 15px; }
 body.catchup #list > .catchup-season > .row,
 body.catchup #list > .catchup-season > .shared { margin: 7px; }
}

/* Bulk watched actions remain available even when a season is collapsed.
   The latest-only view omits its redundant season heading and border. */
body.catchup #list .catchup-season-tools { display: flex; justify-content: flex-end; align-items: center; padding: 7px 12px 10px; gap: 8px; }
body.catchup #list .catchup-season-tools .catchup-season-mark { min-height: 36px; font-size: 12px; font-weight: 650; border-color: color-mix(in srgb,var(--accent) 45%,var(--line)); color: var(--text); background: var(--today); }
body.catchup #list .catchup-season-tools .catchup-season-mark:hover { border-color: var(--accent); }
body.catchup #list .catchup-season-plain { display: block; min-width: 0; }
body.catchup #list .catchup-season-plain > .catchup-season-tools { padding: 0 0 10px; }
body.catchup #list .catchup-season-plain > .row,
body.catchup #list .catchup-season-plain > .shared { margin-bottom: 10px; }
body.catchup #list .catchup-season-plain > .not-listed { margin-top: 12px; }
body.catchup #list > .catchup-season:not([open]) > .catchup-season-tools { display: none; }
@media (max-width: 560px) {
 body.catchup #list .catchup-season-tools .catchup-season-mark { min-height: 44px; }
}

/* Kompakt (settings → Dichte): more shows on screen, smaller covers */
body.dense .day { margin-bottom: 14px; }
body.dense .day h2 { padding-block: 5px; margin-bottom: 5px; }
body.dense #list .row { padding: 4px 10px 4px 5px; margin-bottom: 5px; gap: 10px; border-radius: 10px; }
body.dense #list .row > img { width: 34px; height: 48px; aspect-ratio: auto; border-radius: 6px; }
body.dense #list .row.pause > img { height: 34px; }
body.dense .day .row .title { font-size: 14px; }
body.dense .day .row .ep { margin-top: 2px; }

/* one streaming button; other services behind "+N" */
.stream-more { flex: none; min-height: 30px; padding: 0 9px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.stream-more:hover, .stream-more[aria-expanded="true"] { color: var(--text); border-color: var(--accent); }
.stream-alternatives:not([hidden]) { display: contents; }

/* Catch-up: − N + next to the ✓ chooses how many open episodes to mark */
.ep-stepper { display: inline-flex; align-items: center; flex: none; border: 1px solid var(--line); border-radius: 99px; background: var(--card); }
.ep-stepper button { width: 26px; height: 28px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 15px; cursor: pointer; border-radius: 99px; }
.ep-stepper button:hover:not(:disabled) { color: var(--text); }
.ep-stepper button:disabled { opacity: .35; cursor: default; }
.ep-count { min-width: 16px; text-align: center; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
/* episodes set to 0: ✕ instead of ✓ takes the show off the list */
.remove-entry { flex: none; width: 30px; height: 30px; padding: 0; border-radius: 9px; border: 1px solid color-mix(in srgb, #e5484d 55%, var(--line)); background: color-mix(in srgb, #e5484d 12%, var(--card)); color: #e5484d; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
@media (hover: hover) { .remove-entry:hover:not(:disabled) { background: color-mix(in srgb, #e5484d 22%, var(--card)); } }


/* Header: Zeitplan, Abwesend, Spiele and Mehr as icon buttons (the name is in title / aria-label) */
.header-primary { display: flex; align-items: center; gap: 4px; min-width: 0; position: relative; }
.header-nav-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 34px; min-height: 34px; padding: 0; border: 1px solid var(--line); background: var(--card); border-radius: 999px; color: var(--muted); text-decoration: none; white-space: nowrap; font-size: 12px; font-weight: 650; line-height: 1; }
.header-primary .header-hub { flex: 0 0 34px; width: 34px; min-width: 34px; height: 34px; }
button.header-nav-link { font-family: inherit; cursor: pointer; }
.header-nav-link svg { flex: none; }
.header-nav-link span, .header-primary .misc-trigger > span { display: none; }
.header-nav-link:hover, .header-nav-link:focus-visible { border-color: var(--line); background: var(--today); color: var(--text); text-decoration: none; }
.header-nav-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.header-nav-link[aria-current="page"] { background: var(--today); color: var(--text); }
.header-primary .round.misc-trigger { min-height: 34px; width: 34px; padding: 0; }
.header-primary .misc-menu.site-tools { right: 0; left: auto; top: calc(100% + 9px); }
.header-primary .misc-menu .misc-action { display: flex; align-items: center; justify-content: flex-start; gap: 11px; width: 100%; min-height: 48px; padding: 10px; text-align: left; border: 0; background: none; color: var(--text); font: inherit; font-size: 13px; }
.header-primary .misc-action svg { flex: none; width: 32px; height: 22px; color: var(--accent); }
.header-primary .misc-action > span { display: block; }
.header-primary .misc-menu .misc-action:hover { background: var(--today); }
.header-primary .misc-menu .misc-action:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.header-primary .misc-menu .misc-section-title { margin-block: 7px 2px; }
@media (max-width: 800px) {.header-primary { gap: 0; }}
@media (max-width: 560px) {
 .header-primary { flex: none; }
 .header-nav-link { height: 34px; }
 .header-primary .misc-menu.site-tools { max-width: calc(100vw - 24px); }
 body.searching .header-primary { display: none; }
}

/* "Mehr" menu: built like the settings menu (same width, labels and spacing), one short list */
.misc-menu.site-tools { box-sizing: border-box; width: min(290px, calc(100vw - 24px)); padding: 10px; gap: 2px; border-radius: 16px; }
.misc-menu .misc-section-title, .header-primary .misc-menu .misc-section-title { margin: 6px 0 0; padding: 10px 6px 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; line-height: 1.3; }
.misc-menu .misc-section-title:first-child, .header-primary .misc-menu .misc-section-title:first-child { margin-top: 0; padding-top: 2px; border-top: 0; }
.misc-menu.site-tools > a, .header-primary .misc-menu.site-tools > .misc-action { min-height: 46px; padding: 6px 8px; gap: 10px; font-size: inherit; }
.misc-menu.site-tools .misc-icon { width: 30px; height: 30px; }
.misc-menu.site-tools > a { color: var(--text); }
.misc-feature-count {
  display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font: inherit;
  margin: 6px 0 0;
  padding: 8px 6px 2px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.misc-feature-count:hover { color: var(--text); }
.features-tabs { margin: 10px 0 2px; }
.features-tabs [aria-selected="true"] { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--text); }
.features-list section { margin: 0 0 14px; }
.features-list h3 { margin: 0 0 4px; font-size: 14px; display: flex; justify-content: space-between; }
.features-list h3 span { color: var(--muted); font-weight: 400; font-size: 12px; }
.features-list ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.5; }
.misc-menu.site-tools .misc-text small { margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- Cleaner lists ---- */
/* day headings: pause shift and the delay clock stay, everything else behind "⋯" */
.day-more { position: relative; display: inline-flex; order: 2; }
.day h2 .day-more-btn { display: inline-grid; place-items: center; padding: 3px 10px; font-size: 15px; line-height: 1; letter-spacing: 1px; }
.day-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 21; display: grid; gap: 2px; min-width: 250px; max-width: calc(100vw - 16px); box-sizing: border-box; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: 0 10px 30px #0005; }
.day-menu[hidden] { display: none; }
.day h2 .day-menu > button { order: 0; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 34px; padding: 6px 10px; border: 0; border-radius: 8px; background: none; color: var(--text); font: inherit; font-size: 13px; font-weight: 500; text-align: left; white-space: nowrap; justify-content: flex-start; min-width: 0; }
.day h2 .day-menu > button::after { content: attr(aria-label); }
.day h2 .day-menu > button:hover { background: var(--today); }
.day h2 .day-menu > button.on { color: var(--accent); }
/* who is away: a short note in the heading instead of its own line */
.day h2 .away-note { display: inline; width: auto; margin: 0; padding: 0; border: 0; color: var(--muted); font-size: 13px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.day h2 .away-note:hover { color: var(--text); }
/* "Droppen" only when the row is hovered (always on touch screens) */
@media (hover: hover) { .row .drop { opacity: 0; transition: opacity .15s; } .row:hover .drop, .row .drop:focus-visible { opacity: 1; } }
/* slimmer streaming buttons */
.links > .cr { min-width: 118px; }
.cr { min-height: 30px; padding: 5px 11px; font-size: 12.5px; }
.day h2 .day-menu > button svg { flex: none; width: 15px; height: 15px; }
.day h2:has(.day-menu:not([hidden])) { z-index: 20; }

/* Settings: three immediately useful controls; less-used options are discoverable
   in native, keyboard-accessible disclosure groups. */

/* A group can have different preferences for different people.
   Never mark opposite options as selected at the same time. */
#settingsMenu .settings-mixed-note { display: block; margin: 0 6px 9px; color: var(--muted); font-size: 11px; line-height: 1.3; }
#settingsMenu .settings-mixed-note[hidden] { display: none; }
#settingsMenu [data-mixed="true"] { border-style: dashed; }

/* Season progress: a thin line along the card's bottom edge (like a video's progress), not a bar of its own */
#list .row .season-progress { position: absolute; left: 0; right: 0; bottom: 0; width: auto; height: 2px; margin: 0; border-radius: 0; background: transparent; z-index: 1; }
#list .row .season-progress > span { border-radius: 0 2px 2px 0; background: color-mix(in srgb, var(--accent) 75%, transparent); }


/* Account-free Catch-up: a quiet, one-line addition field. */
.local-anime-add { display: flex; align-items: center; gap: 8px; width: 100%; margin: 6px 0 10px; }
.local-anime-add input { flex: 1; min-width: 0; min-height: 38px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text); font: inherit; font-size: 13px; }
.local-anime-add input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.local-anime-add button { min-height: 38px; flex: none; border: 1px solid var(--line); }
@media (max-width: 480px) {.local-anime-add { gap: 6px; }.local-anime-add input { font-size: 12px; padding-inline: 10px; }.local-anime-add button { padding-inline: 10px; }}


/* Browser-local anime list export: one entry point, two clear file choices. */
.local-export-entry { display: flex; justify-content: flex-end; margin: 0 0 4px; }
.local-export-entry .pill { min-height: 36px; border: 1px solid var(--line); background: var(--card); }
.local-export-entry .pill:hover, .local-export-entry .pill:focus-visible { border-color: var(--accent); background: var(--today); }
.local-export-dialog { box-sizing: border-box; width: min(400px,calc(100vw - 28px)); max-height: min(85dvh,650px); padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--text); box-shadow: 0 12px 55px rgba(0,0,0,.35); }
.local-export-dialog::backdrop { background: rgba(0,0,0,.52); }
.local-export-dialog h2 { margin: 0 28px 10px 0; font-size: 19px; }
.local-export-dialog .local-export-explain { font-size: 12px; line-height: 1.55; color: var(--muted); margin: 10px 0 0; }
.local-export-dialog .local-export-actions { display: grid; gap: 9px; margin: 18px 0; }
.local-export-dialog .local-export-actions .pill { min-height: 42px; text-align: center; border: 1px solid var(--line); background: var(--bg); }
.local-export-dialog .local-export-actions .pill:hover, .local-export-dialog .local-export-actions .pill:focus-visible { border-color: var(--accent); background: var(--today); }
.local-export-dialog .local-export-actions .pill:disabled { opacity: .55; cursor: wait; }
.local-export-dialog #localExportStatus { min-height: 18px; margin: 8px 0; color: var(--text); font-size: 12px; line-height: 1.5; }
.local-export-dialog .local-export-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--text); font: inherit; font-size: 23px; cursor: pointer; }
.local-export-dialog .local-export-close:hover, .local-export-dialog .local-export-close:focus-visible { border-color: var(--accent); }
@media (max-width: 480px) {.local-export-dialog { padding: 18px; }}


/* Browser-local restore: keep the choice compact and require a clear preview. */
.local-import-preview { padding: 12px; margin: 10px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.local-import-preview p { margin: 0 0 12px; font-size: 12px; line-height: 1.5; color: var(--text); }
.local-import-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.local-import-buttons .pill { min-height: 36px; border: 1px solid var(--line); }
.local-import-buttons #localImportConfirm { border-color: var(--accent); }

/* Catch-up: Nachholen automatisch einplanen */
#autoPlanDlg { box-sizing: border-box; width: min(460px, calc(100vw - 24px)); padding: 20px; max-height: calc(100dvh - 24px); overflow-y: auto; }
#autoPlanDlg form { display: grid; gap: 12px; }
#autoPlanDlg select { padding: 5px 10px; }
.auto-plan-days { gap: 6px; }
.auto-plan-check { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; cursor: pointer; }
.auto-plan-check:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.auto-plan-check input { margin: 0; accent-color: var(--accent); }
.auto-plan-preview { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; }
.auto-plan-day { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.auto-plan-budget { font-size: 12px; padding: 2px 4px; }
.auto-plan-time { display: inline-block; margin-top: 2px; }
.auto-plan-day small { color: var(--muted); }
.catchup-summary #autoPlanOpen { margin-left: auto; }

/* Long Catch-up seasons: keep the first eight shows visible, expand the rest on demand. */
body.catchup #list .catchup-overflow { margin: 6px 0 12px; border: 1px dashed var(--line); border-radius: 10px; overflow: hidden; }
body.catchup #list .catchup-overflow > summary { padding: 11px 14px; display: flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; list-style: none; color: var(--muted); font-size: 13px; font-weight: 650; background: color-mix(in srgb,var(--card) 70%,var(--bg)); }
body.catchup #list .catchup-overflow > summary::-webkit-details-marker { display: none; }
body.catchup #list .catchup-overflow > summary:hover { color: var(--text); background: var(--today); }
body.catchup #list .catchup-overflow > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
body.catchup #list .catchup-overflow .fold { width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .15s; }
body.catchup #list .catchup-overflow[open] .fold { transform: rotate(225deg); }
body.catchup #list .catchup-overflow > .row,
body.catchup #list .catchup-overflow > .shared { margin: 9px 9px 0; }
body.catchup #list .catchup-overflow > :last-child { margin-bottom: 9px; }

/* Phones */
@media (max-width: 560px) {
  /* the streaming button may shrink ("Crunchy…") instead of running into "Droppen" next to it */
  .row:not(.compact) > .links > .cr { min-width: 0; justify-content: flex-start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* Catch-up: the − N + counter sits top right, so it doesn't widen the button columns */
  .row:not(.compact):has(> .ep-stepper) > .info { grid-column: 2 / 3; }
  .row:not(.compact) > .ep-stepper { grid-column: 3 / span 3; grid-row: 1; justify-self: end; align-self: start; }
  .row:not(.compact) > .links > .cr > :is(.svc-icon, .site-icon) { flex: none; }
}
@media (max-width: 480px) {
  /* the header buttons need the room: only the logo, no title (the view and week show below anyway) */
  /* only the "?" stays, next to the logo, so help is always there */
  header .logo + .brand { flex: none; }
  header .logo + .brand :is(h1, #tabName, #weekSub) { display: none; }
  header .logo ~ .top-actions { margin-left: auto; gap: 4px; }
  header .logo + .brand .brand-help { width: 26px; height: 26px; }
  header > .bar:first-child { column-gap: 6px; }
}
/* very narrow phones: no room for it next to the icons; Hilfe stays in the settings */
@media (max-width: 340px) { header .logo + .brand { display: none; } }

/* Fortsetzung angekündigt (next to "Finale"): a quiet link to the sequel on AniList */
.ep-tag.sequel-tag { background: transparent; border: 1px dashed color-mix(in srgb, var(--accent) 70%, transparent); color: var(--accent); text-decoration: none; }
.ep-tag.sequel-tag:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); }

/* Catch-up: a show not continued for three weeks (idea 113) */
.idle-tag { margin-left: 6px; font-size: 11.5px; color: color-mix(in srgb, #c9a227 85%, var(--text)); }
.catchup-summary .inline-later { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* Suche: matching shows of the season that aren't on this week */
.season-matches { margin: 18px 0 8px; padding: 10px 14px; border: 1px dashed var(--line); border-radius: 12px; }
.season-matches h3 { margin: 0 0 6px; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.season-match { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 5px 0; font-size: 13.5px; border-top: 1px solid var(--line); }
.season-match:first-of-type { border-top: 0; }
.season-match > span { color: var(--muted); font-variant-numeric: tabular-nums; }
.starting-soon .season-match { align-items: center; }
.soon-cover { width: 22px; height: 31px; object-fit: cover; border-radius: 4px; flex: none; }

/* U34: Normal / Kurz for the Discord message */
.discord-format { margin-left: auto; }
.discord-format button { padding: 2px 10px; font-size: 11px; text-transform: none; letter-spacing: 0; }

/* U32: "Nur Text" layout: no covers, times, episodes and controls stay */
body.text-only #list .row > img, body.text-only #list .show-head > img { display: none; }
body.text-only #list .row:not(.compact) > .time { position: static !important; transform: none !important; align-self: center !important; justify-self: start !important; margin: 0 !important; padding: 0 0 0 4px !important; width: 60px !important; min-height: 0 !important; color: var(--text) !important; text-align: left !important; }
body.text-only #list .row:not(.compact) > .time::before { display: none; }
body.text-only #list .row:not(.compact) > .time .time-day, body.text-only #list .row:not(.compact) > .time small { color: var(--muted) !important; }
body.text-only #list .row:not(.compact) { min-height: 0 !important; }

/* U39: the explanation under a show set out by absences */
.away-why-tag { cursor: pointer; font: inherit; }
.away-why-tag[aria-expanded="true"] { border-color: var(--accent); color: var(--text); }
.away-why { margin-top: 4px; font-size: 12px; line-height: 1.45; color: var(--muted); }

/* N39 Datenstand */
.data-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.data-list li { display: grid; gap: 2px; font-size: 13px; }
.data-list span { color: var(--muted); }

/* U25: pin a show to the top of Catch-up */
.pin-show { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 6px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); vertical-align: -4px; cursor: pointer; opacity: .55; }
.pin-show:hover, .pin-show:focus-visible { opacity: 1; color: var(--text); }
.pin-show.on { opacity: 1; color: var(--accent); }
.pin-show.on svg path { fill: currentColor; }

/* N38: the group's week */
.away-week-scroll { overflow-x: auto; }
.away-week { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: 12px; }
.away-week th { font-weight: 600; color: var(--muted); padding: 2px; }
.away-week thead th small { display: block; font-weight: 500; }
.away-week thead th.aw-today { color: var(--accent); }
.away-week tbody th { text-align: left; white-space: nowrap; }
.away-week td { text-align: center; padding: 6px 2px; border-radius: 7px; background: var(--bg); min-width: 34px; white-space: nowrap; }
.away-week .aw-free, .away-legend .aw-free { color: var(--green, #5cc285); }
.away-week td.aw-off { background: color-mix(in srgb, #b45555 22%, var(--bg)); color: var(--text); }
.away-week td.aw-part { background: color-mix(in srgb, var(--accent) 16%, var(--bg)); color: var(--text); font-size: 11px; }
.away-week td.aw-maybe { border: 1px dashed var(--muted); }
.away-legend b { font-weight: 700; }

/* N44 Sync-Verlauf */
.sync-intro { margin: 4px 0 0; font-size: 12.5px; }
.sync-list { max-height: min(60dvh, 460px); overflow-y: auto; }
.sync-list li.failed b { color: #e5737a; }
.sync-list small { color: var(--muted); font-size: 11px; }
.repair-list a { color: var(--text); overflow-wrap: anywhere; }
.editor-box { display: grid; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.editor-box .muted { overflow-wrap: anywhere; }
.delivery-alert { margin-left: auto; padding-left: 8px; color: #e5b45c; font-size: 12px; }
.repair-list small.ok { color: #6cc28a; }
.repair-list small.warn { color: #e5b45c; }
.repair-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* N35 Nachschlagen */
.title-lookup .lookup-match { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.title-lookup .lookup-match > div { min-width: 0; }
.title-lookup small { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.lookup-chip { font-size: 11px; padding: 0 6px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); }
.lookup-chip.on { border-color: var(--accent); color: var(--text); }
.lookup-links { display: flex; gap: 6px; flex: none; }
.lookup-links a { font-size: 12px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--text); text-decoration: none; }
.lookup-links a:hover { border-color: var(--accent); }

/* N24 Listen-Check */
.health-list { display: grid; gap: 14px; margin-top: 10px; max-height: min(62dvh, 520px); overflow-y: auto; }
.health-list h3 { margin: 0 0 2px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); display: flex; gap: 8px; align-items: baseline; }
.health-list h3 span { color: var(--muted); font-weight: 500; }
/* N59: tick entries to copy them to MyAnimeList */
.data-list li:has(> .transfer-pick) { grid-template-columns: auto 1fr; column-gap: 8px; }
.data-list li > .transfer-pick { grid-row: span 2; margin: 2px 0 0; align-self: start; }
.health-list h3 .transfer-all { margin: 0; align-self: center; }
.health-list p { margin: 2px 0 0; font-size: 12px; }
.health-list a { color: var(--text); text-decoration: none; }
.health-list a:hover b { text-decoration: underline; }

/* N85 Lesbarkeit: bigger everything (the page is sized in px, so the body is zoomed) and stronger greys */
:root[data-textsize="large"] body { zoom: 1.12; width: calc(100vw / 1.12); }
:root[data-textsize="xl"] body { zoom: 1.25; width: calc(100vw / 1.25); }
:root[data-contrast="high"] body { --muted: color-mix(in srgb, var(--text) 82%, var(--bg)); --line: color-mix(in srgb, var(--text) 34%, var(--bg)); }
:root[data-textsize] .top-actions { flex-wrap: wrap; row-gap: 6px; }

/* Awards and Börse: who you are (identity.js) */
.identity-box { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: -.3rem 0 1rem; font-size: 13px; color: var(--muted); }
.identity-box:empty { display: none; }
.identity-box.ok { color: #4fbf7f; }
.identity-box.need a { color: var(--text); }
.identity-box input { width: 9rem; }

/* U43 Gesehene ausblenden: only in your own Solo view; U53 Leere Tage ausblenden: today and days with absences stay */
body.solo.hide-watched #list .day .row:has(.watch.done) { display: none; }
/* an absence on a day without episodes changes nothing in the plan: such days go too (U: recurring absences kept
   almost every empty day visible); today always stays */
body.hide-empty-days #list .day.empty:not(.is-today):not(.picked-day) { display: none; }
/* U50: the shows on "Später", each can come back on its own */
.later-list { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; }
.later-item { display: inline-flex; align-items: center; gap: 6px; }
.later-item .pill, .later-list > .pill { font-size: 12px; padding: 2px 8px; }

/* U61 / U63: warnings in the move dialog (the move still works) */
.move-warn { color: #e5b45c; font-size: 13px; }
.move-warn:empty { display: none; }
#moveUntilWeek { font-size: 13px; }
/* U62: shows an absence affects, before saving */
.away-affected { font-size: 13px; color: #e5b45c; margin: 6px 0 0; }
.away-affected:empty { display: none; }

/* Settings menu: one block. Quick choices on top; below, folds as plain rows (no boxes, no gaps), switches
   for on/off options, tools grouped by topic, and help, patch notes and feedback always at the bottom. */
#settingsMenu { box-sizing: border-box; width: min(300px, calc(100vw - 24px)); padding: 6px 8px 8px; border-radius: 16px; }
#settingsMenu section { min-width: 0; }
#settingsMenu details { margin: 0; color: var(--text); font-size: inherit; }
#settingsMenu .menu-label { padding: 10px 6px 6px; font-size: 10.5px; line-height: 1.2; }
#settingsMenu .segmented { box-sizing: border-box; width: 100%; min-width: 0; margin: 0; padding: 3px; border-radius: 999px; }
#settingsMenu .segmented button { min-width: 0; min-height: 32px; padding: 5px 8px; border-radius: 999px; font-size: 12px; line-height: 1.2; }
#settingsMenu .segmented + .segmented { margin-top: 6px; }
#settingsMenu .settings-caption { padding: 8px 6px 5px; font-size: 11px; line-height: 1.3; }
#settingsMenu .swatches { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 6px 4px; }
#settingsMenu .swatches button { flex: none; width: 24px; height: 24px; }
#settingsMenu .settings-primary { display: flex; flex-direction: column; padding-bottom: 8px; }
/* the folds: rows with a chevron, separated by a hairline */
#settingsMenu .settings-secondary { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
#settingsMenu .settings-fold { min-width: 0; border-bottom: 1px solid var(--line); }
#settingsMenu .settings-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 0 8px; list-style: none; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text); user-select: none; border-radius: 8px; }
#settingsMenu .settings-fold > summary::-webkit-details-marker { display: none; }
#settingsMenu .settings-fold > summary:hover { background: var(--today); }
#settingsMenu .settings-fold > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
#settingsMenu .settings-fold > summary small { margin-left: auto; color: var(--muted); font-weight: 400; font-size: 11px; }
#settingsMenu .settings-fold-arrow { width: 7px; height: 7px; flex: none; margin-right: 3px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translateY(-2px); transition: transform .15s ease; }
#settingsMenu .settings-fold[open] .settings-fold-arrow { transform: rotate(225deg) translateY(-2px); }
#settingsMenu .settings-fold-content { padding: 0 0 10px; }
#settingsMenu .settings-fold-content > section + section { margin-top: 2px; }
/* a fold whose tools are all hidden (no key in this browser) isn't shown */
#settingsMenu .settings-fold:not(:has(.settings-fold-content :is(.menu-item, label, select, .segmented):not([hidden]))) { display: none; }
/* on/off options: a row each, with a switch */

#settingsMenu .settings-options .toggle { display: flex; align-items: center; gap: 10px; background: none; color: var(--text); text-align: left; }
#settingsMenu .settings-options .toggle:hover { background: var(--today); }
#settingsMenu .settings-options .toggle input { position: absolute; opacity: 0; pointer-events: none; }
#settingsMenu .settings-options .toggle:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; }
#settingsMenu .settings-options .toggle[hidden] { display: none; }
#settingsMenu .settings-options .pill { font-size: 12px; }
/* tools: plain rows */
#settingsMenu .menu-item { box-sizing: border-box; min-height: 36px; padding: 0 8px; border: 0; border-radius: 8px; font-size: 13px; }
#settingsMenu .menu-item:hover, #settingsMenu .menu-item:focus-visible { background: var(--today); }
#settingsMenu .menu-item small { color: var(--muted); font-size: 11px; }
#settingsMenu .settings-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 2px 8px 0; }
#settingsMenu .settings-pair .pill { min-height: 32px; font-size: 12px; justify-content: center; }
/* always at the bottom: help, patch notes, feedback */
#settingsMenu .settings-footer { display: flex; gap: 4px; padding-top: 6px; }
#settingsMenu .settings-footer .menu-item { flex: 1; justify-content: center; gap: 6px; min-height: 34px; padding: 0 6px; font-size: 12px; color: var(--muted); }
#settingsMenu .settings-footer .menu-item:hover { color: var(--text); }
#settingsMenu .settings-footer .menu-item[hidden] { display: none; }
@media (pointer: coarse) { #settingsMenu .segmented button, #settingsMenu .settings-options .toggle, #settingsMenu .menu-item { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { #settingsMenu .settings-fold-arrow { transition: none; } }
/* the on/off options are shown right away, under the quick settings */
#settingsMenu .settings-shown, #settingsMenu .settings-primary + .catchup-only, #settingsMenu .settings-shown + .catchup-only { border-top: 1px solid var(--line); padding-bottom: 6px; }
#settingsMenu .settings-shown + .catchup-only { border-top: 0; }
/* the list tools in the account menu */
#accountMenu .list-tools { border-top: 1px solid var(--line); margin-top: 4px; }
#accountMenu .list-tools .menu-item { font-size: 13px; }
/* "Mehr": a Discord post that failed shows as a dot on the button and a sign on its row */
.misc-tools:has(.delivery-alert:not(:empty)) .misc-trigger { position: relative; }
.misc-tools:has(.delivery-alert:not(:empty)) .misc-trigger::after { content: ''; position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; border-radius: 50%; background: #e5a23b; }
.misc-text .delivery-alert { margin-left: 6px; padding: 0; }
#settingsMenu .settings-options .toggle, #settingsMenu .settings-options .toggle:has(input:checked) { font-weight: 400; color: var(--text); }
#settingsMenu .settings-footer .menu-item { white-space: nowrap; }
#settingsMenu .settings-footer kbd, #settingsMenu .settings-footer .notes-age { display: none; }
/* "?" next to the site name: help is always one click away */
.brand-help { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; line-height: 1; cursor: pointer; }
.brand-help:hover, .brand-help:focus-visible { color: var(--accent); border-color: var(--accent); }
@media (pointer: coarse) { .brand-help { width: 28px; height: 28px; } }
/* first visit: three short steps */
.welcome-dlg { max-width: min(420px, calc(100vw - 32px)); }
.welcome-dlg h2 { margin: 0 0 6px; font-size: 18px; }
.welcome-dlg > form > p { margin: 0 0 12px; font-size: 13px; line-height: 1.45; }
.welcome-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.welcome-steps li { counter-increment: step; display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; row-gap: 4px; align-items: start; }
.welcome-steps li::before { content: counter(step); grid-row: span 3; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-text, #fff); font-size: 13px; font-weight: 700; }
.welcome-steps b { font-size: 14px; }
.welcome-steps small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.welcome-steps li[hidden] { display: none; }
.welcome-person { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.welcome-person select { max-width: 220px; }
.welcome-dlg .welcome-help { margin-top: 14px !important; padding: 8px 10px; border-radius: 10px; background: var(--today); font-size: 12.5px; }
/* wide screens: the header links say what they are (Zeitplan, Abwesend, Spiele, Mehr); phones keep the icons */
@media (min-width: 900px) {
  .header-nav-link, .header-primary .misc-trigger { width: auto; padding: 0 12px 0 10px; border-radius: 999px; }
  .header-nav-link span, .header-primary .misc-trigger > span { display: inline; }
  .header-primary .round.misc-trigger { display: inline-flex; align-items: center; gap: 6px; width: auto; padding: 0 12px 0 10px; font-size: 12px; font-weight: 650; }
}
/* U: the day's buttons are icons (Verspätung, Skip, Alle gesehen, Abwesend, Pause überspringen); the title names them */
.day h2 .day-skip { order: 1; display: inline-grid; place-items: center; padding: 3px 9px; }
.day h2 .day-skip[aria-pressed="true"] { color: var(--accent-text); background: var(--accent); border-color: var(--accent); }
/* phones: the three tabs get the whole row, the person filter goes under them */
@media (max-width: 560px) {
  .away-tabbar { flex-wrap: wrap; }
  .away-tabbar .away-tabs { flex: 1 1 100%; }
  .away-tabbar > select { flex: 1 1 100%; }
  .away-tabs [role="tab"] { padding-inline: 6px; }
}
/* an episode that isn't out yet at our watch time */
.ep-tag.not-out { color: var(--late); border-color: color-mix(in srgb, var(--late) 45%, transparent); }
/* "Drop-Button immer sichtbar": the drop button looks like a button all the time, not only on hover;
   the switch itself only shows while the drop button is on */
body.drop-always .drop:not(.dropped), body.drop-always .row .drop { opacity: 1; border-color: var(--line); color: var(--text); }
/* optional reason for an absence (picked from a short list) */
.away-reason { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.away-reason small { color: var(--muted); font-size: 12px; }
.away-reason select { min-width: 0; max-width: 60%; }

/* Help has its own flex item: it never competes with a wrapping title. */
.top-actions > .brand-help { position: static; flex: 0 0 28px; width: 28px; height: 28px; align-self: center; }
.bulk-skip-bar { max-width: 1000px; margin: 12px auto 0; padding: 0 16px; }
.bulk-skip-options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--ui-radius); background: var(--card); }
.bulk-skip-options [data-bulk-count] { color: var(--muted); font-size: 12px; flex: 1 1 230px; }
.bulk-skip-options [data-bulk-error]:empty { display: none; }
.bulk-skip-options [data-bulk-error] { flex-basis: 100%; color: var(--late); }
.day h2 > :is(.day-absent-button, .day-watched) { display: inline-flex; align-items: center; gap: 5px; }
.weekline .day-more-btn { display: inline-grid; place-items: center; min-height: 30px; padding: 3px 12px; font-size: 15px; line-height: 1; letter-spacing: 1px; }
.weekline > .bulk-skip-options { flex-basis: 100%; order: 10; }
/* the brand never runs into the buttons next to it: it shortens instead (U: edit mode on a narrower window) */
header .brand { overflow: hidden; }
header .brand-title h1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bulk-skip-preview { flex-basis: 100%; margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; font-size: 12px; color: var(--muted); }
.bulk-skip-preview:empty { display: none; }
.row > .bulk-skip-pick { grid-column: 1 / -1; justify-self: end; flex: none; border-radius: 99px; padding: 5px 15px; }
.row > .bulk-unskip { grid-column: 1 / -1; justify-self: end; flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 99px; }
.row > .bulk-skip-pick[aria-pressed="true"] { color: var(--accent-text); background: var(--accent); border-color: var(--accent); }
.row.bulk-skip-selected { outline: 2px solid var(--accent); outline-offset: -2px; }
/* U: save status of a plan change (app-moves.js saveState) */
#saveState { position: fixed; z-index: 66; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: min(560px, calc(100vw - 32px)); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--muted); font-size: 12px; box-shadow: 0 4px 16px rgb(0 0 0 / .18); }
#saveState.ok { color: #4fbf7f; }
#saveState.failed { color: var(--text); border-color: #e5737a; }
#saveState .pill { font-size: 12px; padding: 3px 10px; }
body:has(#notice:not([hidden])) #saveState { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
/* narrow phones (360–400 px): slightly smaller header icons, so the account button stays on screen */
@media (max-width: 400px) {
  header .round, header .logo, header .header-primary .round.misc-trigger { width: 31px; height: 31px; min-height: 31px; }
  header .logo ~ .top-actions, header .header-primary { gap: 2px; }
  header > .bar:first-child { column-gap: 4px; }
  header { padding-left: 8px; padding-right: 8px; }
  header #editSchedule { padding-inline: 7px; }
  header .top-actions > .brand-help { flex-basis: 26px; width: 26px; height: 26px; }
}
/* U: Wartung — the checks in one dialog, in the look of the Mehr menu */
.maintenance-dlg { width: min(460px, calc(100vw - 32px)); }
.maintenance-list { display: grid; gap: 2px; margin: 10px 0 4px; }
.maintenance-list .misc-action, .maintenance-list a.misc-action { text-decoration: none; }
.maintenance-list .misc-action { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 54px; padding: 8px 10px; border: 0; border-radius: var(--ui-radius); background: none; color: var(--text); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.maintenance-list .misc-action[hidden] { display: none; }
.maintenance-list .misc-action:hover, .maintenance-list .misc-action:focus-visible { background: var(--today); }
.maintenance-list .misc-action:disabled { opacity: .5; cursor: default; }
.maintenance-list .misc-icon { width: 30px; height: 30px; }
.maintenance-list .misc-text small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
/* U: the Mehr menu as a compact grid, two entries per row; what each one does is in its tooltip */
.misc-menu.site-tools, .header-primary .misc-menu.site-tools { width: min(380px, calc(100vw - 24px)); }
.misc-menu .misc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.misc-menu .misc-grid > :is(a, button), .header-primary .misc-menu .misc-grid > .misc-action { min-height: 42px; padding: 5px 8px; gap: 9px; color: var(--text); }
.misc-menu .misc-grid .misc-icon { width: 28px; height: 28px; }
.misc-menu .misc-grid .misc-text small:not(.delivery-alert) { display: none; }
.misc-menu .misc-grid .misc-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.misc-menu .misc-grid > [hidden] { display: none; }
@media (max-width: 560px) {
  .misc-menu.site-tools, .header-primary .misc-menu.site-tools { position: fixed; top: 58px; left: 12px; right: 12px; width: auto; max-width: none; }
}
/* U: the Season Preview's turn on the plan, two weeks before the next season */
.weekline > .preview-call { order: 1; color: var(--accent); border-color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.weekline > .preview-call:hover { background: var(--today); text-decoration: none; }
/* U (the owner's mockup): a calm top row. "?" next to the name; Spiele and Mehr as icons side by side, Abwesend
   keeps its name; Bearbeiten moved to the controls below, next to the person */
header .header-primary :is(.header-games, .misc-trigger), header .header-primary .round.misc-trigger { width: 34px; height: 34px; min-height: 34px; padding: 0; gap: 0; justify-content: center; }
header .header-primary :is(.header-games span, .misc-trigger > span) { display: none; }
/* even spacing: Abwesend, Spiele and Mehr keep the same gap as the other header buttons (at every width) */
header .header-primary { gap: inherit; }
.controls-left > .edit-schedule, .controls-left > .edit-scope { flex: none; }
/* the person in the account menu: always there (also in Gruppe and Catch-up), full width */
#personSlot #soloPerson { display: block !important; width: 100%; max-width: none; }
#accountMenu .person-home { padding-bottom: 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
/* U: Anzeigen as pairs of equal chips (two per row, related ones side by side): on = filled */
#settingsMenu .settings-options { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 2px 0 4px; }
#settingsMenu .settings-options .toggle { min-width: 0; min-height: 0; padding: 5px 4px; border: 1px solid var(--line); border-radius: 99px; font-size: 11.5px; justify-content: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
#settingsMenu .settings-options .toggle:has(input:checked) { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
#settingsMenu .settings-options .toggle:has(input:checked):hover { background: var(--accent); }
#settingsMenu .settings-options .pill { grid-column: 1 / -1; justify-self: start; margin: 0; }
@media (pointer: coarse) { #settingsMenu .settings-options .toggle { min-height: 36px; } }
/* Keep the top navigation stable across edit and view changes.
   Continue the existing icon-first design without widening Spiele or Mehr. */
header .header-primary { flex: 0 0 auto; }
header .header-primary .header-games,
header .header-primary .round.misc-trigger { flex: 0 0 34px; }
@media (min-width: 900px) {
  header .header-primary .header-away {
    width: 112px;
    min-width: 112px;
    justify-content: center;
    padding-inline: 10px;
  }
  header .header-primary .header-games,
  header .header-primary .round.misc-trigger {
    width: 34px;
    min-width: 34px;
    padding: 0;
  }
}
@media (max-width: 899px) {
  header .header-primary .header-away { flex: 0 0 34px; }
}
/* U: the second row stays in one line with person picker and Edit: a little tighter */
.controls-left { gap: 6px; }
#editScope button { padding-inline: 10px; }
#editSchedule { padding-inline: 11px; }
#soloPerson { max-width: 100px; }
/* U: the week arrows at the ends of the day strip; the controls row keeps date, Heute and Woche */
.weeknav #prev, .weeknav #next { display: none; }
.weekline > .strip-step { flex: none; align-self: center; }
#editScope button { min-width: 34px; font-size: 14px; }

/* Troddl: the group's review score on hover of a show's name (troddl-hover.mjs) */
.troddl-card { position: fixed; z-index: 70; width: min(300px, calc(100vw - 24px)); padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); box-shadow: 0 10px 30px rgba(0,0,0,.28); font-size: 12px; display: grid; gap: 7px; }
.troddl-card[hidden] { display: none; }
.troddl-card-head { display: flex; align-items: center; gap: 9px; }
.troddl-card-head img { width: 22px; height: 22px; border-radius: 50%; }
.troddl-card-head span:not(.troddl-score) { display: grid; flex: 1; min-width: 0; }
.troddl-card-head small, .troddl-card q + small { color: var(--muted); }
.troddl-card q { display: block; color: var(--text); line-height: 1.4; quotes: "„" "“"; }
.troddl-card a { color: var(--accent); font-weight: 650; text-decoration: none; }
.troddl-card-links { display: flex; justify-content: flex-end; gap: 16px; }
.troddl-card .troddl-score { display: inline-grid; place-items: center; min-width: 34px; height: 34px; border-radius: 7px; font-weight: 800; font-size: 15px; color: #fff; }
/* the score colours (Troddl page and the hover card), like Metacritic */
.troddl-score.good { background: #2f9e5a; }
.troddl-score.mixed { background: #e6b422; color: #1b1b1f; }
.troddl-score.bad { background: #d6454b; }
.troddl-score.tbd { background: transparent; color: var(--muted); border: 1px dashed var(--line); }
.troddl-card .troddl-score.tbd { font-size: 11px; }

/* U: phone layout pass – the week arrows stay on the strip's line, a day's buttons are one size,
   Skip / ↺ take the drop button's place in the row and the selection bar is one compact line */
@media (max-width: 560px) {
 .weekline { column-gap: 6px; }
 .weekline > .daystrip { flex: 1 1 calc(100% - 84px); }
 .weekline > .strip-step { width: 34px; min-width: 34px; height: 44px; padding: 0; display: inline-grid; place-items: center; }
 .day h2 :is(.day-delay, .day-absent-button, .pause-shift, .day-discord, .day-edit, .day-skip, .day-more-btn) { width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 0; display: inline-grid; place-items: center; border-radius: 99px; }
 .day h2 { gap: 6px; }
 .row:has(> .bulk-skip-pick, > .bulk-unskip) > :is(.drop, .drop-space) { display: none; }
 .row > :is(.bulk-skip-pick, .bulk-unskip) { grid-area: 2 / 3; align-self: center; justify-self: end; }
 .row > .bulk-skip-pick { padding: 6px 12px; min-height: 36px; }
 .row > .bulk-unskip { width: 40px; height: 40px; }
 .bulk-skip-options { gap: 8px; padding: 8px 10px; }
 .bulk-skip-options [data-bulk-count] { flex: 1 1 100%; }
 .bulk-skip-options .toggle { font-size: 12px; }
 .bulk-skip-options .pill { padding: 6px 12px; font-size: 13px; min-height: 36px; }
 .bulk-skip-options [data-bulk-save] { margin-inline-start: auto; }
 .bulk-skip-options [data-bulk-cancel] { width: 36px; min-width: 36px; padding: 0; font-size: 0; display: inline-grid; place-items: center; }
 .bulk-skip-options [data-bulk-cancel]::before { content: '✕'; font-size: 14px; }
 #settingsMenu { width: calc(100vw - 24px); }
 body:not(.no-move) .row:has(> .move):has(> :is(.bulk-unskip, .bulk-skip-pick)) > .links > .cr { font-size: 0; gap: 0; padding-inline: 10px; grid-template-columns: auto; }
 #settingsMenu .settings-options .toggle { font-size: 12px; padding-inline: 6px; }
}
@media (max-width: 400px) {
 .row > .drop { padding-inline: 7px; font-size: 11px; }
 .row > .links > .cr { padding-inline: 8px; column-gap: 5px; }
 .row:not(.compact) { column-gap: 7px; }
 .row:has(> .ep-stepper) > .links > .cr { font-size: 0; column-gap: 0; padding-inline: 10px; }
}
/* Desktop day headings: keep long absence summaries from pushing day actions out of place.
   The full names remain available via the button tooltip and calendar dialog. */
@media (min-width: 561px) {
  .day h2 .away-note {
    flex: 0 1 auto;
    max-width: min(38ch, 32%);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
  }
  .day h2 .day-none { flex: 0 0 auto; }
  .day h2 .day-more { flex: 0 0 auto; }
}
/* U: on a phone a day's absence note goes on its own line under the date, so the day's buttons stay together */
@media (max-width: 560px) {
 .day h2 > span:first-child { margin-inline-end: auto; }
 .day h2 .away-note { order: 10; flex-basis: 100%; white-space: normal; margin-top: -4px; }
 /* lines of their own (absences) or at the end of the date line: no "·" in front */
 .day h2 :is(.away-note, .day-none) > .sep { display: none; }
}

/* finished a show: the score dialog also offers a Troddl review (opens the writer with the show picked) */
.score-troddl { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 4px; color: var(--accent); font-size: 13px; font-weight: 600; text-decoration: none; }
.score-troddl img { border-radius: 50%; }
.score-troddl:hover { text-decoration: underline; }

/* U: the tool pages' line under the name stays on one line on a phone, like the Watch-Planer */
@media (max-width: 560px) {
 header .brand h1 + div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
 header .brand { min-width: 0; }
}

/* an absence entered from someone's Schichtplan (tools/shift-plan.mjs) */
.aw-shift small { display: block; font-size: 9px; font-weight: 600; letter-spacing: .03em; opacity: .75; }

.alone-plan { margin-top: 14px; }
.alone-plan > h3 { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 600; }
.alone-plan > h3 span { font-weight: 400; }
.alone-row { border-style: dashed; }
.list-age { align-self: center; color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row.just-saved { border-color: color-mix(in srgb, var(--green) 70%, var(--line)); }
.saved-tag { position: absolute; right: 10px; bottom: 4px; padding: 1px 8px; border-radius: 99px; background: color-mix(in srgb, var(--green) 22%, var(--card)); color: var(--text); font-size: 11px; font-weight: 650; pointer-events: none; animation: ghost-in .12s ease-out; }
.day-all-seen { display: none; margin: 0 0 8px; color: var(--muted); font-size: 13px; }
body.solo.hide-watched #list .day.all-seen .day-all-seen { display: block; }
.day h2 .day-reveal { margin-left: 6px; padding: 2px 9px; font-size: 12px; }
#settingsReset { justify-self: start; }
/* "Allein" rows have no time to pass: once ticked they're dimmed like an aired group show */
.alone-row:has(.watch.done) { background: transparent; box-shadow: none; }
.alone-row:has(.watch.done)::before { opacity: calc(var(--art-strength) * .35) !important; }
.alone-row:has(.watch.done) .title, .alone-row:has(.watch.done) .title a, .alone-row:has(.watch.done) .ep { color: var(--muted); }
.alone-row:has(.watch.done) img { opacity: .7; }
/* a tick waiting for AniList / MyAnimeList (sent on its own later), and ↩ right after a tick */
.watch.queued { color: var(--muted); border-style: dashed; border-color: var(--muted); background: transparent; font-size: 13px; }
.tick-undo { flex: none; width: 30px; height: 30px; padding: 0; border-radius: 9px; color: var(--muted); background: transparent; border-color: var(--line); font-size: 15px; line-height: 1; animation: ghost-in .12s ease-out; }
.tick-undo:hover { color: var(--text); border-color: var(--muted); }
.tick-gone { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; padding: 6px 8px 6px 12px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: 13px; animation: ghost-in .12s ease-out; }
/* the open search bar holds everything about search, also clearing the recent searches */
.search-history-clear { display: none; flex: none; color: var(--muted); }
.search.open .search-history-clear:not([hidden]) { display: inline-grid; place-items: center; }
#settingsMenu .settings-options .toggle:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; }
.season-end { margin: -2px 0 12px; color: var(--muted); font-size: 13px; }
.season-end a { color: var(--text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: 3px; }
.season-end a:hover { color: var(--accent); }
/* new features since the last look at the list: a dot on "Mehr" and on "N Funktionen", "Neu" in the list */
#miscButton.has-new, #siteFeatureCount.has-new { position: relative; }
#miscButton.has-new::after, #siteFeatureCount.has-new::after { content: ''; position: absolute; top: 3px; right: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.feature-new { display: inline-block; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--accent-text); font-size: 10.5px; font-weight: 700; vertical-align: 1px; }

/* Compact time adjustment, kept inside the existing move dialog. */
.move-time-stepper { display:flex; align-items:center; gap:6px; flex:1; min-width:0; }
.move-time-stepper input { min-width:0; width:7em; flex:1; text-align:center; }
.move-time-stepper .pill { flex:0 0 auto; padding:6px 9px; min-height:36px; font-size:13px; font-variant-numeric:tabular-nums; }
#matchCount { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
#lookupMore { margin-left:auto; font-size:12px; }
/* move dialog: "Tauschen mit" another show of the week */
.move-swap { align-items: center; padding-top: 10px; border-top: 1px solid var(--line); }
.move-swap[hidden] { display: none; }
.move-swap label { color: var(--muted); font-size: 13px; white-space: nowrap; }
.move-swap select { flex: 1; min-width: 0; }
/* move dialog: Doppelt/Lang, Tauschen and Skip folded under "Mehr" */
.move-more { margin: 0; border-top: 1px solid var(--line); padding-top: 8px; }
.move-more > summary { display: flex; align-items: center; gap: 6px; width: max-content; padding: 4px 2px; color: var(--muted); font-size: 13px; cursor: pointer; list-style: none; }
.move-more > summary::-webkit-details-marker { display: none; }
.move-more > summary::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s ease; }
.move-more[open] > summary::after { transform: rotate(225deg) translateY(-1px); }
.move-more > summary:hover { color: var(--text); }
.move-more > .dlg-row { margin-top: 10px; }
.move-more .move-swap, .move-more .move-skip { border-top: 0; padding-top: 0; }
@media (prefers-reduced-motion: reduce) { .move-more > summary::after { transition: none; } }
.away-shows { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
.away-shows[hidden] { display: none; }
.away-shows .pill[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.away-shows-kind { flex-basis: 100%; width: max-content; margin-bottom: 2px; }

.move-swap { flex-wrap: wrap; }
.move-swap select { flex: 1 1 12rem; }

/* Before and after, kept inside the editor until confirmed. */
.edit-draft { display:flex; flex-wrap:wrap; gap:8px; align-items:center; padding:8px; border:1px solid var(--line); border-radius:var(--ui-radius); font-size:13px; }
.edit-draft[hidden], #editPreviewWarnings[hidden] { display:none; }
.edit-draft span { flex:1 1 14em; }
.edit-preview-changes { list-style:none; margin:0; padding:0; display:grid; gap:6px; }
.edit-preview-changes li { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:3px 12px; padding:8px 10px; border:1px solid var(--line); border-radius:var(--ui-radius); }
.edit-preview-changes li span { color:var(--muted); font-size:13px; }
#editPreviewWarnings { padding-inline-start:20px; }

.shift-time { color:inherit; background:transparent; border:0; padding:2px; font:inherit; line-height:inherit; text-decoration:underline dotted; text-underline-offset:3px; }
.shift-time:hover, .shift-time:focus-visible { background:var(--today); }
#shiftInfoTimes { font-weight:650; font-variant-numeric:tabular-nums; }
.solo-later { border:0; background:transparent; color:var(--muted); font-size:11px; padding:3px 5px; line-height:1.5; }
.solo-later:is(.on,:hover,:focus-visible) { color:var(--accent); background:var(--today); }
.solo-queue { margin-block:12px; }
.solo-queue h2 { font-size:15px; }


/* Visual refresh: clearer hierarchy without moving any controls or changing density.
   The current day reads as a distinct section; active shows feel like cards. */
#list .day.is-today:not(.empty, .watch-timeline) {
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 5%, var(--bg));
  box-shadow: inset 3px 0 0 color-mix(in srgb, var(--accent) 75%, transparent);
  padding: 0 10px 6px 14px;
  margin-inline: -10px;
}
#list .day.is-today:not(.empty, .watch-timeline) > h2 {
  background: transparent;
  border-radius: 12px;
}
#list .day.is-today:not(.watch-timeline) h2 > span:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, var(--card));
  color: var(--text);
}
#list .day:not(.is-today) h2 > span:first-child { font-weight: 650; }
#list .day .row:not(.aired, .pause) {
  border-color: color-mix(in srgb, var(--line) 88%, var(--accent));
  box-shadow: 0 2px 8px rgb(0 0 0 / .055);
}
@media (hover: hover) {
  #list .day .row:not(.aired, .pause):hover {
    border-color: color-mix(in srgb, var(--accent) 65%, var(--line));
    box-shadow: 0 4px 14px rgb(0 0 0 / .1);
  }
}
#list .day .row:not(.aired, .pause) > img {
  box-shadow: 0 3px 12px rgb(0 0 0 / .24);
}
.daystrip .today:not(.picked) {
  background: color-mix(in srgb, var(--accent) 15%, var(--card));
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 75%, transparent);
}
.daystrip .picked { box-shadow: 0 2px 7px rgb(0 0 0 / .14); }
@media (max-width: 560px) {
  #list .day.is-today:not(.empty, .watch-timeline) {
    margin-inline: -6px;
    padding-inline: 10px 6px;
    border-radius: 14px;
  }
  #list .day.is-today:not(.watch-timeline) h2 > span:first-child { min-height: 30px; padding: 4px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  #list .day .row { transition: none; }
}


/* Anime cards: stronger visual reading order while retaining the existing geometry.
   Time first, artwork and title second, episode details quietly underneath. */
#list .day .row:not(.pause) .title {
  font-weight: 730;
  letter-spacing: -.018em;
  line-height: 1.24;
}
#list .day .row:not(.pause, .aired) .time {
  color: color-mix(in srgb, var(--accent) 72%, var(--text));
  font-weight: 750;
  letter-spacing: -.015em;
}
#list .day .row .ep {
  margin-top: 5px;
  line-height: 1.5;
  font-size: 12.5px;
}
#list .day .row:not(.pause) > img {
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
}
#list .day .row:not(.pause, .aired) {
  box-shadow: inset 3px 0 0 color-mix(in srgb, var(--accent) 45%, transparent),
              0 2px 8px rgb(0 0 0 / .055);
}
@media (hover: hover) {
  #list .day .row:not(.pause, .aired):hover {
    box-shadow: inset 3px 0 0 color-mix(in srgb, var(--accent) 85%, transparent),
                0 4px 14px rgb(0 0 0 / .1);
  }
}
/* Dense and narrow layouts keep their existing text sizes and card dimensions. */
body.dense #list .day .row .ep { margin-top: 2px; }
@media (max-width: 560px) {
  #list .day .row .ep { margin-top: 3px; font-size: 12px; }
}

/* Visual refresh (Nov 2026) */
/* Drop as a trash can, the same size as ✓; red on hover and while it asks "Sicher?" */
.drop.drop-icon { min-width: 30px; width: 30px; padding: 0; display: inline-grid; place-items: center; border-radius: 99px; }
.drop.drop-icon[data-sure] { width: auto; padding: 0 10px; font-size: 12px; font-weight: 600; }
@media (hover: hover) { .drop.drop-icon:hover { color: #e5484d; border-color: color-mix(in srgb, #e5484d 40%, var(--line)); } }
.drop-space { width: 30px; }
/* Warnings (a source that doesn't answer): one amber bar with a ⚠; quiet notes stay one muted line */
.datanote { position: relative; padding: 9px 14px 9px 38px; border-radius: 14px; border-color: color-mix(in srgb, var(--late) 45%, var(--line)); background: color-mix(in srgb, var(--late) 9%, var(--card)); }
.datanote::before { content: "⚠"; position: absolute; left: 14px; top: 8px; color: var(--late); }
.datanote-quiet { text-align: center; }
/* Parallel shows: the stream buttons stay in the bottom-left corner of each show, ✓ in the bottom-right,
   however long the title runs */
@media (min-width: 800px) {
  .day .parallel-slot > .row { grid-template-rows: 1fr auto; }
  .day .parallel-slot > .row > .links { align-self: end; justify-self: start; justify-content: flex-start; }
  .day .parallel-slot > .row > :is(.watch, .watch-space, .drop, .drop-space, .score, .move) { align-self: end; }
}
/* "Allein · ohne feste Uhrzeit": a muted dash where the time would be, so cover and title line up with the rows above */
.alone-row > .alone-time { color: var(--muted); font-weight: 500; text-align: center; }

/* The plan uses a single time rail. A parallel group only has one stop. */
#list > .watch-timeline {
  --rail-width: 86px;
  --rail-color: color-mix(in srgb, var(--accent) 32%, var(--line));
  position: relative;
  padding-inline-start: 0;
  background: none;
}
#list > .watch-timeline:not(.empty) > h2 {
  border: 1px solid var(--rail-color);
  border-inline-start: 4px solid var(--accent);
  border-radius: 12px;
  padding: 8px 10px;
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
}
#list > .watch-timeline.is-today > h2 {
  background: color-mix(in srgb, var(--accent) 19%, var(--bg));
}
#list > .watch-timeline > h2::after { background: none; }
#list .weekline .daystrip .today:not(.picked) { background: transparent; }
#list .weekline .daystrip .picked { box-shadow: none; }
body:not(.text-only) #list > .watch-timeline:has(> .timeline-entry:not(.hidden-by-search)) {
  background: linear-gradient(var(--rail-color), var(--rail-color)) calc(var(--rail-width) - 12px) 0 / 2px 100% no-repeat;
}
body:not(.text-only) #list > .watch-timeline:has(> .timeline-entry:not(.hidden-by-search)) > :is(.row, .shared, .now-line, .delay-note, .alone-plan) {
  margin-inline-start: var(--rail-width);
}
#list > .watch-timeline > .timeline-entry {
  position: relative;
  overflow: visible;
}
#list > .watch-timeline :is(.timeline-entry.row, .timeline-entry > .row)::before {
  content: none;
}
#list > .watch-timeline > .timeline-entry > :is(.time, .parallel-heading) {
  color: color-mix(in srgb, var(--accent) 72%, var(--text));
  font-weight: 700;
}
body:not(.text-only) #list > .watch-timeline > .timeline-entry > :is(.time, .parallel-heading) {
  position: absolute;
  inset: 50% auto auto calc(-1 * var(--rail-width));
  grid-area: auto;
  transform: translateY(-50%);
  display: block;
  width: calc(var(--rail-width) - 19px);
  min-height: 0;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  text-align: end;
  white-space: normal;
  font-size: 14px;
  line-height: 1.2;
}
body:not(.text-only) #list > .watch-timeline > .timeline-entry > :is(.time, .parallel-heading)::before {
  content: '';
  position: absolute;
  inset: 50% -11px auto auto;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--bg);
}
#list > .watch-timeline > .timeline-entry > .late { color: var(--late); }
#list > .watch-timeline .timeline-entry .parallel-heading b { color: inherit; font-size: inherit; }
#list > .watch-timeline .timeline-entry :is(.parallel-heading > span, .time small, .parallel-release) {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
#list > .watch-timeline .timeline-entry .parallel-heading > span { display: block; }
#list > .watch-timeline .timeline-entry .parallel-release { margin-inline-start: 6px; white-space: nowrap; }
#list > .watch-timeline > .parallel-slot.timeline-entry {
  display: grid;
  gap: 6px;
  padding: 6px;
  border-color: var(--rail-color);
  background: color-mix(in srgb, var(--accent) 10%, var(--bg));
}
#list > .watch-timeline > .parallel-slot.timeline-entry > .row {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
}
#list > .watch-timeline > .parallel-slot.timeline-entry > .row.aired {
  background: color-mix(in srgb, var(--card) 60%, var(--bg));
}
@media (min-width: 900px) {
  #list > .watch-timeline > .parallel-slot.timeline-entry {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  }
}
@media (max-width: 899px) {
  #list > .watch-timeline > .parallel-slot.timeline-entry { grid-template-columns: minmax(0, 1fr); }
  body:not(.text-only) #list > .watch-timeline > .parallel-slot.timeline-entry > .parallel-heading { top: 46px; }
}
@media (max-width: 560px) {
  #list > .watch-timeline { --rail-width: 53px; }
  body:not(.text-only) #list > .watch-timeline > .timeline-entry > :is(.time, .parallel-heading) { font-size: 11px; }
  #list > .watch-timeline .timeline-entry :is(.parallel-heading > span, .time small) { font-size: 9px; }
  #list > .watch-timeline .timeline-entry .parallel-heading > span { overflow-wrap: anywhere; }
}

@media (max-width: 560px) {
  body:not(.text-only) #list .watch-timeline :is(.timeline-entry.row, .timeline-entry > .row) {
    grid-template-columns: 40px minmax(0, 1fr) repeat(3, auto);
    grid-template-rows: auto auto;
    gap: 5px;
    padding: 7px;
  }
  body:not(.text-only) #list .watch-timeline :is(.timeline-entry.row, .timeline-entry > .row) > img {
    grid-area: 1 / 1;
    width: 40px;
    height: 56px;
    min-height: 0;
    contain: none;
    align-self: start;
  }
  body:not(.text-only) #list .watch-timeline :is(.timeline-entry.row, .timeline-entry > .row) > .info {
    display: block;
    grid-area: 1 / 2 / 2 / -1;
  }
  body:not(.text-only) #list .watch-timeline :is(.timeline-entry.row, .timeline-entry > .row):not(:has(> img)) > .info { grid-column: 1 / -1; }
  body:not(.text-only) #list .watch-timeline :is(.timeline-entry.row, .timeline-entry > .row) > .links {
    grid-area: 2 / 1 / 3 / 3;
    align-self: center;
  }
  body:not(.text-only) #list .watch-timeline :is(.timeline-entry.row, .timeline-entry > .row) > :is(.drop, .score) { grid-area: 2 / 3; }
  body:not(.text-only) #list .watch-timeline :is(.timeline-entry.row, .timeline-entry > .row) > .watch { grid-area: 2 / 4; }
  body:not(.text-only) #list .watch-timeline :is(.timeline-entry.row, .timeline-entry > .row) > .move { grid-area: 2 / 5; }
  body:not(.text-only) #list .watch-timeline :is(.timeline-entry.row, .timeline-entry > .row) > .links > .cr {
    min-width: 0;
    white-space: normal;
  }
  body:not(.text-only, .no-drop) #list .watch-timeline :is(.timeline-entry.row, .timeline-entry > .row):has(> .drop):has(> .watch) > .links,
  body:not(.text-only) #list .watch-timeline :is(.timeline-entry.row, .timeline-entry > .row):has(> .bulk-skip-pick, > .bulk-unskip, > .ep-stepper) > .links {
    justify-content: start;
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

/* Page changes within the site (Plan, Hub, Museum, Season Club …) fade into each other instead of flashing;
   browsers without cross-page view transitions simply switch as before */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Wartung › Zustand (app-health.js): problems first, with their fix; what is fine folded away */
.health-status { margin:4px 0 12px; padding:10px 12px; border:1px solid var(--line); border-radius:12px; background:var(--bg); }
.health-status.is-warn { border-color:color-mix(in srgb,#e0a000 45%,var(--line)); }
.health-status.is-error { border-color:color-mix(in srgb,#e5484d 55%,var(--line)); }
.health-status.is-busy { opacity:.7; }
.health-head { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.health-head b { font-size:13.5px; }
.health-head small { color:var(--muted); font-size:11.5px; margin-right:auto; }
.health-head .pill { padding:3px 10px; font-size:12px; }
.health-note { margin:8px 0 0; font-size:12.5px; color:var(--muted); }
.health-list { list-style:none; margin:8px 0 0; padding:0; display:grid; gap:6px; }
.health-item { display:grid; grid-template-columns:16px minmax(0,1fr); align-items:start; gap:2px 9px; font-size:12.5px; }
.health-icon { flex:none; width:16px; text-align:center; font-weight:700; color:var(--muted); }
.health-item.is-ok .health-icon { color:#3fa66b; }
.health-item.is-warn .health-icon { color:#e0a000; }
.health-item.is-error .health-icon { color:#e5484d; }
.health-text { flex:1; min-width:0; display:grid; gap:1px; }
.health-text span { color:var(--muted); }
.health-text small { color:var(--muted); font-size:11.5px; line-height:1.35; }
.health-actions { grid-column:2; display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; margin-top:4px; }
.health-actions .pill { padding:3px 10px; font-size:12px; }
.health-actions a { font-size:12px; }
.health-more { margin-top:8px; }
.health-more summary { cursor:pointer; font-size:12px; color:var(--muted); }
.health-more h4 { margin:10px 0 0; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
/* a problem an editor can fix: a small dot on Mehr */
.misc-trigger.has-alert { position:relative; }
.misc-trigger.has-alert::after { content:""; position:absolute; top:3px; right:3px; width:8px; height:8px; border-radius:50%; background:#e0a000; box-shadow:0 0 0 2px var(--bg); }


/* Small count for active shared Pinnwand notes on the Hub navigation icon. */
.header-hub { position:relative; }
.header-hub-badge { position:absolute; inset-block-start:-4px; inset-inline-end:-4px; min-width:16px; height:16px; padding:0 4px; display:grid; place-items:center; border-radius:99px; background:var(--accent); color:var(--accent-text); border:2px solid var(--bg); font-size:9px; font-weight:800; line-height:1; box-sizing:content-box; }
