/* AFK 새로운 여정 — MyuDex design system (macOS look: HIG structure, fill ladder, 4 px
   grid, radii) in the mascot's colours (owner, 2026-11-12): hat peach #EBB371, cape mint
   #90D9B5, face cream #F7F4E9, outline #2A1419, hat band deep teal #204D5E.
   Two looks that follow the device (prefers-color-scheme), with a switch in the top bar
   (html[data-theme], saved per browser): dark = Shadow Grey + peach (L4), light = cream +
   deep teal (L3). Words read at 4.5:1 on every ground they sit on. --mint is the orb's ink. */
:root {
  --mint: #ebb371; --shadow-grey: #282828;
  --bg: #282828; --card: #313131; --side: #2d2d2d; --pop: #383838;
  --fg: rgba(255,254,235,.9); --muted: #aeac9c; --border: rgba(255,254,235,.11); --hair: rgba(255,254,235,.06);
  --fill: rgba(255,254,235,.06); --fill-2: rgba(255,254,235,.1); --band: #2f2f2d;
  --accent: #ebb371; --accent-strong: #f2c88f; --eyebrow: #f2c88f; --today: #d63a30;
  --wash: #3f3a30; --selected: #ebb371; --on-selected: #2a1419;
  --now-bg: #2f3a33; --now-fg: #90d9b5; --soon-bg: #4a3b2c; --soon-fg: #f2d29b;
  --warm: #ebb371; --warm-ink: #f2c14e; --red: #ff453a; --err: #ff6b6b;
  --tile: #3a3a38; --tile-filled: #ebb371; --tile-ink: #2a1419; --input: #8a8a8a;
  --shadow: 0 10px 32px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
  --ev: 30%;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
  --mint: #4fa593;
  --bg: #f7f4e9; --card: #ffffff; --side: #efeadb; --pop: #ffffff;
  --fg: #2a1419; --muted: #6b5f57; --border: rgba(42,20,25,.12); --hair: rgba(42,20,25,.07);
  --fill: rgba(42,20,25,.05); --fill-2: rgba(42,20,25,.08); --band: #f6f1e4;
  --accent: #204d5e; --accent-strong: #204d5e; --eyebrow: #3a7a6a; --today: #d63a30;
  --wash: #dff3ea; --selected: #204d5e; --on-selected: #ffffff;
  --now-bg: #dff3ea; --now-fg: #1d5a4c; --soon-bg: #fbe7cc; --soon-fg: #7a4f0c;
  --warm: #ebb371; --warm-ink: #8a5a10; --red: #ff3b30; --err: #c4122a;
  --tile: #ebe5d6; --tile-filled: #90d9b5; --tile-ink: #2a1419; --input: #85796f;
  --shadow: 0 8px 28px rgba(42,20,25,.16), 0 0 0 1px rgba(42,20,25,.07);
  --ev: 22%;
  color-scheme: light;
  }
}
:root[data-theme="light"] {
  --mint: #4fa593;
  --bg: #f7f4e9; --card: #ffffff; --side: #efeadb; --pop: #ffffff;
  --fg: #2a1419; --muted: #6b5f57; --border: rgba(42,20,25,.12); --hair: rgba(42,20,25,.07);
  --fill: rgba(42,20,25,.05); --fill-2: rgba(42,20,25,.08); --band: #f6f1e4;
  --accent: #204d5e; --accent-strong: #204d5e; --eyebrow: #3a7a6a; --today: #d63a30;
  --wash: #dff3ea; --selected: #204d5e; --on-selected: #ffffff;
  --now-bg: #dff3ea; --now-fg: #1d5a4c; --soon-bg: #fbe7cc; --soon-fg: #7a4f0c;
  --warm: #ebb371; --warm-ink: #8a5a10; --red: #ff3b30; --err: #c4122a;
  --tile: #ebe5d6; --tile-filled: #90d9b5; --tile-ink: #2a1419; --input: #85796f;
  --shadow: 0 8px 28px rgba(42,20,25,.16), 0 0 0 1px rgba(42,20,25,.07);
  --ev: 22%;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Pretendard", "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  overflow-wrap: anywhere; word-break: keep-all;
}
a { color: var(--accent); text-underline-offset: 2px; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
svg.icon { width: 18px; height: 18px; flex: none; display: block; }


.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 4px 12px; border: 0; border-radius: 8px; background: var(--fill-2); color: var(--fg); cursor: pointer; font-size: 14px; text-decoration: none; }
.btn:hover { background: var(--border); }
.btn.default { background: var(--selected); color: var(--on-selected); font-weight: 600; }
.btn.icon-only { width: 32px; padding: 0; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 16px; background: var(--card); border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 44px; height: auto; display: block; }
.menu-btn { display: none; background: none; }
.top .busy { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }

.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - 56px); }
.side { background: var(--side); border-right: 1px solid var(--border); padding: 12px 12px 40px; position: sticky; top: 56px; align-self: start; max-height: calc(100vh - 56px); overflow-y: auto; }
.nav-group + .nav-group { margin-top: 16px; }
.nav-group h2 { font-size: 12px; font-weight: 600; color: var(--muted); margin: 0 8px 4px; }
.nav-group ul { list-style: none; margin: 0; padding: 0; }
.nav-group a { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 5px 10px; border-radius: 6px; color: var(--fg); text-decoration: none; font-size: 14px; }
.nav-group a:hover { background: var(--fill); }
.nav-group a[aria-current="page"] { background: var(--fill-2); color: var(--accent); font-weight: 600; }
.nav-group a svg { color: var(--accent); }
.nav-group a .lock { margin-left: auto; color: var(--muted); width: 14px; height: 14px; }

main { padding: 28px 32px 72px; max-width: 1180px; min-width: 0; width: 100%; }
.page-head { margin: 0 0 24px; }
.eyebrow { margin: 0 0 2px; font-size: 13px; font-weight: 600; color: var(--accent); }
main h1 { font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; margin: 0; }
.updated { color: var(--muted); margin: 6px 0 0; font-size: 13px; }

.block { background: var(--card); border: 1px solid var(--hair); border-radius: 12px; padding: 16px 20px 20px; margin: 0 0 24px; }
.block > h2 { margin: 0 0 12px; font-size: 19px; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; }
.block > h2 time { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 8px; }

.hello { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; }
.hello img { width: 112px; height: auto; flex: none; }
.hello p { margin: 4px 0 0; color: var(--muted); }
.home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; align-items: start; }
.list-card { background: var(--card); border: 1px solid var(--hair); border-radius: 12px; overflow: hidden; }
.list-card h2 { margin: 0; padding: 12px 16px 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.list-card ul { list-style: none; margin: 0; padding: 0 0 4px; }
.list-card a { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 12px 8px 16px; color: var(--fg); text-decoration: none; }
.list-card li + li a { border-top: 1px solid var(--hair); }
.list-card a:hover { background: var(--fill); }
.list-card a .chev { margin-left: auto; color: var(--muted); width: 16px; height: 16px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 12px 0 4px; }
.info { margin: 0; }
.info a { display: block; position: relative; border-radius: 8px; overflow: hidden; background: var(--fill); }
.info img { width: 100%; height: auto; display: block; cursor: zoom-in; }
.info figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.info .loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

.comps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 12px; }
.comp { border-radius: 12px; padding: 14px 16px 16px; background: var(--band); min-width: 0; }
.comp header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.comp h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; }
.stars { color: var(--warm-ink); letter-spacing: 1px; font-size: 13px; }
.code { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 6px; }
.code code { font: 600 15px/1.3 "Cascadia Mono", Consolas, ui-monospace, monospace; padding: 5px 10px; background: var(--card); border-radius: 8px; letter-spacing: .04em; }
.copy.done { color: var(--accent); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.board-wrap { margin: 12px 0 0; overflow-x: auto; }
.board-wrap figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.board { position: relative; margin-top: 20px; }
.board-front { position: absolute; top: -20px; left: 0; font-size: 11px; color: var(--muted); }
.tile { position: absolute; display: flex; align-items: center; justify-content: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--tile); transform: scale(.94); }
.tile.filled { background: var(--tile-filled); }
.tile img { width: 86%; height: 86%; object-fit: cover; clip-path: inherit; }

.table-wrap { overflow-x: auto; margin: 12px 0; border: 1px solid var(--border); border-radius: 8px; }
.table-wrap table { border-collapse: collapse; font-size: 14px; min-width: 100%; }
.table-wrap th, .table-wrap td { padding: 7px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.table-wrap th { background: var(--band); font-weight: 600; }
.table-wrap tbody tr:nth-child(even) td { background: var(--fill); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }

footer { padding: 20px 16px; text-align: center; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); }

/* Calendar (MyuDex's Apple-Calendar look) */
.cal-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; }
.cal-title { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.cal-title span { font-weight: 400; color: var(--muted); }
.cal-tools { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.cal-nav { display: flex; gap: 4px; }
.seg { display: inline-flex; padding: 2px; background: var(--fill-2); border-radius: 8px; }
.seg button { border: 0; background: none; padding: 4px 14px; min-height: 28px; border-radius: 6px; cursor: pointer; font-size: 13px; }
.seg button[aria-pressed="true"] { background: var(--card); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.14); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.cal-legend button { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 2px 10px 2px 8px; border: 0; border-radius: 999px; background: var(--fill); cursor: pointer; font-size: 13px; }
.cal-legend button[aria-pressed="false"] { color: var(--muted); }
.cal-legend button[aria-pressed="false"] .dot { background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }
.cal-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

.month { background: var(--card); border: 1px solid var(--hair); border-radius: 12px; overflow: hidden; }
.month-head { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); font-size: 12px; color: var(--muted); }
.month-head div { padding: 8px 8px 6px; text-align: right; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--border); min-height: 112px; align-content: start; padding-bottom: 6px; }
.week .day { grid-row: 1 / span 40; border-left: 1px solid var(--hair); }
.week .day:first-child { border-left: 0; }
.week .day.weekend { background: var(--band); }
.week .num { grid-row: 1; z-index: 1; display: flex; justify-content: flex-end; padding: 4px 6px 2px; font-size: 12px; }
.week .num b { font-weight: 400; min-width: 24px; height: 24px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
.week .num.out b { color: var(--muted); }
.week .num.today b { background: var(--red); color: #fff; font-weight: 600; }
.week .num.picked:not(.today) b { background: var(--fill-2); font-weight: 600; }
.ev { z-index: 1; margin: 1px 3px; padding: 2px 6px 2px 9px; border: 0; border-radius: 4px; text-align: left; cursor: pointer; font-size: 12px; line-height: 1.35; color: var(--fg); position: relative; background: color-mix(in srgb, var(--hue) var(--ev), var(--card)); }
.ev.starts::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 4px 0 0 4px; background: var(--hue); }
.ev:hover { background: color-mix(in srgb, var(--hue) calc(var(--ev) + 8%), var(--card)); }
.ev .cont { color: var(--muted); }

.agenda { margin-top: 16px; }
.agenda h2, .list-sec { font-size: 13px; font-weight: 600; color: var(--muted); margin: 16px 0 6px; }
.cal-list { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--hair); border-radius: 12px; overflow: hidden; }
.cal-list li + li { border-top: 1px solid var(--hair); }
.row { display: grid; grid-template-columns: 4px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 14px 10px 0; width: 100%; border: 0; background: none; text-align: left; cursor: pointer; }
.row:hover { background: var(--fill); }
.row .edge { align-self: stretch; background: var(--hue); border-radius: 0 2px 2px 0; grid-row: 1 / span 2; }
.row strong { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; }
.row .when { display: block; font-size: 13px; color: var(--muted); }
.row .track { grid-column: 2 / 4; height: 4px; border-radius: 2px; background: var(--fill-2); position: relative; margin-top: 4px; }
.row .track i { position: absolute; top: 0; bottom: 0; border-radius: 2px; background: var(--hue); }
.row .track b { position: absolute; top: -3px; width: 2px; height: 10px; background: var(--red); border-radius: 1px; }
.pill { display: inline-flex; align-items: center; min-height: 22px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--fill-2); color: var(--muted); }
.pill.now { background: var(--wash); color: var(--accent); }
.pill.soon { background: color-mix(in srgb, var(--warm) 30%, var(--card)); color: var(--warm-ink); }

.pop { position: fixed; z-index: 40; width: min(340px, calc(100vw - 32px)); background: var(--pop); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 16px 16px; }
.pop[hidden] { display: none; }
.pop h3 { margin: 0 32px 6px 0; font-size: 17px; font-weight: 650; line-height: 1.3; display: flex; gap: 8px; align-items: baseline; }
.pop p { margin: 4px 0; font-size: 14px; }
.pop .k { color: var(--muted); font-size: 13px; }
.pop .close { position: absolute; top: 8px; right: 8px; width: 28px; min-height: 28px; height: 28px; padding: 0; }

.now-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px; }
.now-head h2 { margin: 0; font-size: 19px; font-weight: 650; }
.now-head a { font-size: 14px; margin-left: auto; text-decoration: none; }
.now-list { margin-bottom: 28px; }

.page-wait { min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 14px; }
.top .busy { height: 32px; }

.k { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.boss-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.boss-line strong { font-size: 17px; }
.boss-line .k { margin: 0; }
.boss-info { display: grid; grid-template-columns: minmax(0, 560px) minmax(220px, 1fr); gap: 20px; align-items: start; }
.boss-side h3, .charm-group h3 { font-size: 13px; font-weight: 600; color: var(--muted); margin: 12px 0 6px; }
.rota { margin: 0; padding: 0; list-style: none; counter-reset: r; border-radius: 8px; overflow: hidden; background: var(--band); }
.rota li { counter-increment: r; display: flex; flex-wrap: wrap; gap: 2px 8px; padding: 7px 12px; font-size: 14px; border-top: 1px solid var(--hair); }
.rota li:first-child { border-top: 0; }
.rota li::before { content: counter(r); color: var(--muted); min-width: 14px; }
.rota li span { color: var(--muted); }
.rota li.on { background: var(--wash); color: var(--accent); font-weight: 600; }
.charms { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.charm-group ul { list-style: none; margin: 0; padding: 0; background: var(--band); border-radius: 8px; overflow: hidden; }
.charm-group li { display: flex; flex-direction: column; padding: 8px 12px; border-top: 1px solid var(--hair); }
.charm-group li:first-child { border-top: 0; }
.charm-group li span { font-size: 13px; color: var(--muted); }

.dr-head { margin: 0 0 24px; }
.dr-today { margin: 8px 0 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.dr-head h1 { font-size: 34px; }
.dr-head h1 .en { font-size: 20px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.dr-tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 6px; margin: 0 0 16px; }
.dr-tabs button { display: flex; align-items: center; gap: 8px; text-align: left; padding: 8px 10px; border: 0; border-radius: 8px; background: var(--fill); cursor: pointer; min-height: 48px; }
.dr-tabs button:hover { background: var(--fill-2); }
.dr-tabs button[aria-selected="true"] { background: var(--wash); box-shadow: inset 0 0 0 1.5px var(--mint); }
.dr-tabs .n { color: var(--muted); font-size: 12px; min-width: 12px; }
.dr-tabs strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.dr-tabs small { display: block; font-size: 12px; color: var(--muted); }
.dr-tabs .pill, .dr-tabs .none { margin-left: auto; }
.dr-img { max-width: 620px; }
.dr-empty { padding: 48px 16px; text-align: center; color: var(--muted); background: var(--band); border-radius: 8px; max-width: 620px; }

/* site extras */
html { scroll-padding-top: 64px; }
.top .busy[hidden] { display: none; }
.top .busy canvas { width: 32px; height: 32px; }
.icon.lock { width: 14px; height: 14px; }
.empty { color: var(--muted); }
.intro { margin-top: 12px; max-width: 68ch; }
.note p, .intro p { margin: 6px 0; }
.info .loading[hidden] { display: none; }
.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.link { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--hair); color: var(--fg); text-decoration: none; }
.link:hover { background: var(--fill); }
.link strong { display: flex; align-items: center; gap: 6px; }
.link strong svg { color: var(--muted); width: 16px; height: 16px; }
.link span { font-size: 13px; color: var(--muted); }
.link .link-host { color: var(--accent); }
.unlock { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; padding: 16px 20px; background: var(--card); border: 1px solid var(--hair); border-radius: 12px; }
.unlock label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.unlock input { min-height: 32px; padding: 4px 10px; border: 1px solid var(--input); border-radius: 8px; background: var(--bg); color: var(--fg); font: inherit; }
.err { color: var(--err); width: 100%; margin: 0; }
.unlock[hidden], .leaks-body[hidden], .err[hidden], .page-wait[hidden] { display: none; }
.leaks-body hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
.leak-page > .page-head h1 { font-size: 22px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox img { max-width: 96vw; max-height: 92vh; display: block; }
.lightbox .close { position: fixed; top: 12px; right: 16px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.6); color: #fff; border: 0; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 760px) {
  .top { height: 52px; padding: 0 8px 0 4px; }
  .menu-btn { display: inline-flex; }
  .brand { font-size: 16px; }
  .brand img { width: 38px; }
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .side.open { display: block; position: fixed; top: 52px; left: 0; right: 0; bottom: 0; z-index: 30; overflow-y: auto; padding: 12px 16px 48px; }
  .nav-group a { min-height: 44px; font-size: 16px; }
  main { padding: 20px 16px 56px; }
  main h1 { font-size: 26px; }
  .block { padding: 14px 16px 16px; margin-bottom: 16px; }
  .comps, .gallery { grid-template-columns: minmax(0, 1fr); }
  .hello img { width: 84px; }
  .week { min-height: 58px; }
  .ev { height: 4px; min-height: 4px; padding: 0; margin: 1px 2px; border-radius: 2px; font-size: 0; background: var(--hue); pointer-events: none; }
  .ev::before, .ev > * { display: none; }
  .week .num b { cursor: pointer; min-width: 32px; height: 32px; border-radius: 16px; font-size: 15px; }
  .month-head div { text-align: center; padding: 8px 0 4px; }
  .week .num { justify-content: center; padding: 3px 0 2px; }
  .cal-title { font-size: 24px; }
  .cal-tools { margin-left: 0; width: 100%; justify-content: space-between; }
  .mo, .busy-words { display: none; }
  .boss-info { grid-template-columns: minmax(0, 1fr); }
  .dr-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dr-tabs button { padding: 8px; gap: 6px; }
  .dr-head h1 { font-size: 28px; }
}
@media (min-width: 761px) { .agenda.phone-only { display: none; } }
a.row { color: inherit; text-decoration: none; }
.unlock .orb-slot { display: inline-flex; }
.unlock .orb-slot[hidden] { display: none; }
.unlock label svg { color: var(--muted); }
.dr-tabs button:focus-visible { outline-offset: 1px; }
.cal-tools[hidden] { display: none; }
.week .num b[role=button] { cursor: pointer; }
.pop code { font: 12px Consolas, ui-monospace, monospace; }
.dr-tabs button > span:nth-child(2) { min-width: 0; overflow-wrap: normal; word-break: keep-all; }
.dr-tabs .none { white-space: nowrap; }
.pill { color: var(--fg); }
.pill.now { background: var(--now-bg); color: var(--now-fg); }
.pill.soon { background: var(--soon-bg); color: var(--soon-fg); }
.nav-group a[aria-current="page"] { color: var(--accent-strong); }
.nav-group a[aria-current="page"] svg { color: var(--accent-strong); }
.week .num.today b { background: var(--today); }
.eyebrow { color: var(--eyebrow); }
.theme-btn { margin-left: auto; background: none; }
.theme-btn:hover { background: var(--fill-2); }
.top .busy { margin-left: 0; }
.theme-btn .sun { display: none; }
:root[data-look="dark"] .theme-btn .sun { display: block; }
:root[data-look="dark"] .theme-btn .moon { display: none; }
.dr-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 14px; }
.dr-bar h2 { margin: 0; font-size: 19px; font-weight: 650; }
.dr-pick { position: relative; display: inline-flex; align-items: center; flex: 0 1 auto; max-width: 100%; }
.dr-pick select { appearance: none; -webkit-appearance: none; min-height: 36px; max-width: 100%; padding: 6px 36px 6px 12px; border: 0; border-radius: 8px;
  background: var(--fill-2); color: var(--fg); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; white-space: normal; }
.dr-pick select:hover { background: var(--border); }
.dr-pick select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dr-pick select option { background: var(--pop); color: var(--fg); font-weight: 400; }
.dr-pick .chev { position: absolute; right: 10px; pointer-events: none; color: var(--muted); width: 16px; height: 16px; }
@media (max-width: 760px) { .dr-pick, .dr-pick select { width: 100%; } }
.today-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 2px 12px 2px 10px; border-radius: 999px;
  background: var(--selected); color: var(--on-selected); font-size: 13px; font-weight: 700; white-space: nowrap; }
.today-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.today-badge[hidden], .today-back[hidden] { display: none; }
.dr-pick select.is-today { box-shadow: inset 0 0 0 2px var(--selected); background: var(--wash); }
.running { z-index: 1; margin: 1px 3px 3px; padding: 2px 8px; border: 0; border-radius: 4px; background: var(--fill); color: var(--muted); font-size: 12px; text-align: left; cursor: pointer; }
.running:hover { background: var(--fill-2); color: var(--fg); }
.more { z-index: 1; justify-self: start; margin: 1px 3px; padding: 0 6px; border: 0; border-radius: 4px; background: none; color: var(--muted); font-size: 12px; font-weight: 600; cursor: pointer; }
.more:hover { background: var(--fill); color: var(--fg); }
.run-line { height: 4px; margin: 2px; border-radius: 2px; background: var(--fill-2); z-index: 1; }
.ev.ends { border-top-right-radius: 4px; border-bottom-right-radius: 4px; }
.pop-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 60vh; overflow-y: auto; }
.pop-list button { display: flex; gap: 8px; align-items: baseline; width: 100%; padding: 6px 8px; border: 0; border-radius: 6px; background: none; text-align: left; cursor: pointer; font-size: 14px; }
.pop-list button:hover { background: var(--fill); }
.pop-list small { display: block; color: var(--muted); font-size: 12px; }
