:root {
  --paper: #f6f4ef;
  --surface: #ffffff;
  --sunken: #eeebe4;
  --ink: #1c1b19;
  --ink-2: #55524b;
  --ink-3: #85817a;
  --line: #e2ded5;
  --line-strong: #c9c4b8;
  --accent: #b4232a;
  --accent-hover: #981c22;
  --accent-ink: #ffffff;
  --accent-soft: #f8e7e6;
  --brand: #5a1e90;
  --brand-hover: #4b1877;
  --brand-ink: #ffffff;
  --brand-soft: #f1e9f9;
  --brand-text: #5a1e90;
  --done: #1d6b3b;
  --done-soft: #e3f0e7;
  --done-strong: #1f6f3e;
  --done-hover: #185a32;
  --wait: #8a5a00;
  --wait-soft: #f7ecd4;
  --off-ink: #b4232a;
  --order-ink: #2f5f86;
  --focus: #1c1b19;
  --shadow: 0 1px 2px rgba(28, 27, 25, 0.05), 0 6px 20px rgba(28, 27, 25, 0.06);
  --shadow-strong: 0 12px 40px rgba(28, 27, 25, 0.18);
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bar: 64px;
  --page: 2400px;
  --gutter: clamp(16px, 2.5vw, 40px);
  --c1: #b4232a;
  --c2: #1c1b19;
  --c3: #9a7b3f;
  --c4: #4f7186;
  --c5: #8c867b;
  --c6: #cfc9bc;
  --panel: #1c1b19;
  --panel-ink: #f6f4ef;
  --panel-2: #b7b2a7;
  --panel-line: #3a3833;
  --panel-up: #63c98f;
  --panel-down: #f08a8f;
  --lift: 0 1px 2px rgba(28, 27, 25, 0.08);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #151514;
  --surface: #1e1d1b;
  --sunken: #2a2926;
  --ink: #f1efe9;
  --ink-2: #b7b2a7;
  --ink-3: #8a857a;
  --line: #33312d;
  --line-strong: #4a4741;
  --accent: #c9343b;
  --accent-hover: #d9474e;
  --accent-ink: #ffffff;
  --accent-soft: #3a1f20;
  --brand: #5a1e90;
  --brand-hover: #6b2ba6;
  --brand-ink: #ffffff;
  --brand-soft: #2c1d3d;
  --brand-text: #b48ce8;
  --done: #63c98f;
  --done-soft: #183022;
  --done-strong: #257647;
  --done-hover: #2c8752;
  --wait: #e7b65a;
  --wait-soft: #3a2f17;
  --off-ink: #f08a8f;
  --order-ink: #8fb3c9;
  --focus: #f1efe9;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.25);
  --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.5);
  --c1: #d9474e;
  --c2: #f1efe9;
  --c3: #c9a35a;
  --c4: #7fa6bd;
  --c5: #8a857a;
  --c6: #4a4741;
  --panel: #2a2926;
  --panel-ink: #f1efe9;
  --panel-2: #b7b2a7;
  --panel-line: #4a4741;
  --panel-up: #63c98f;
  --panel-down: #f08a8f;
  --lift: 0 1px 2px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #151514;
    --surface: #1e1d1b;
    --sunken: #2a2926;
    --ink: #f1efe9;
    --ink-2: #b7b2a7;
    --ink-3: #8a857a;
    --line: #33312d;
    --line-strong: #4a4741;
    --accent: #c9343b;
    --accent-hover: #d9474e;
    --accent-ink: #ffffff;
    --accent-soft: #3a1f20;
    --brand: #5a1e90;
    --brand-hover: #6b2ba6;
    --brand-ink: #ffffff;
    --brand-soft: #2c1d3d;
    --brand-text: #b48ce8;
    --done: #63c98f;
    --done-soft: #183022;
    --done-strong: #257647;
    --done-hover: #2c8752;
    --wait: #e7b65a;
    --wait-soft: #3a2f17;
    --off-ink: #f08a8f;
    --order-ink: #8fb3c9;
    --focus: #f1efe9;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.25);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.5);
    --c1: #d9474e;
    --c2: #f1efe9;
    --c3: #c9a35a;
    --c4: #7fa6bd;
    --c5: #8a857a;
    --c6: #4a4741;
    --panel: #2a2926;
    --panel-ink: #f1efe9;
    --panel-2: #b7b2a7;
    --panel-line: #4a4741;
    --panel-up: #63c98f;
    --panel-down: #f08a8f;
    --lift: 0 1px 2px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-gutter: stable; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: 19px; line-height: 1.3; font-weight: 700; }
h3 { font-size: 16px; line-height: 1.3; font-weight: 600; }
a { color: inherit; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
details:not(:has(> summary)) { visibility: hidden; }
.sold-out-mark:not(:has(> summary)), .request-edit:not(:has(> summary)) { display: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }
.icon { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--ink-2); font-weight: 400; }
.link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 6px; }
.link .icon { width: 16px; height: 16px; }
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { border-color: var(--ink-3); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-pick:disabled, .btn-follow:disabled { opacity: 1; cursor: default; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-quiet { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn-quiet:hover { background: var(--sunken); border-color: transparent; color: var(--ink); }
.btn-large { min-height: 52px; font-size: 17px; padding: 12px 22px; }
.btn-small { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--page); margin: 0 auto; height: 60px; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand-text { display: grid; line-height: 1.15; }
.brand-with {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0; color: var(--ink-2);
}
.brand-shop { width: 16px; height: 16px; border-radius: 4px; flex: none; }
.tabs { display: flex; gap: 4px; margin-right: auto; }
.tabs a {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 9px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px;
}
.tabs a:hover { color: var(--ink); background: var(--sunken); }
.tabs a[aria-current="page"] { color: var(--ink); background: var(--sunken); }
.badge {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
}
.bell { margin-right: 2px; }
.bell > summary { padding: 6px; gap: 6px; color: var(--ink-2); }
.bell > summary .icon { width: 22px; height: 22px; }
.bell[open] > summary, .bell > summary:hover { color: var(--ink); }
.account-menu.bell-menu {
  width: 340px; max-width: calc(100vw - 32px); gap: 10px;
  display: flex; flex-direction: column;
  max-height: calc(100vh - 72px - var(--under, 0px)); max-height: calc(100dvh - 72px - var(--under, 0px));
}
.account-menu.bell-menu > * { flex: none; }
.bell-close {
  position: absolute; top: 5px; right: 5px; width: 36px; height: 36px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-2); cursor: pointer;
}
.bell-close:hover { background: var(--sunken); color: var(--ink); }
.bell-close .icon { width: 18px; height: 18px; }
.account-menu.bell-menu > .news-list { flex: 0 1 auto; min-height: 0; }
.news-list { display: grid; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.news { display: grid; grid-template-columns: 26px 1fr; gap: 2px 10px; align-items: start; padding: 10px 0; }
.news + .news { border-top: 1px solid var(--line); }
.news-mark {
  grid-row: 1 / span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px;
  background: var(--done-soft); color: var(--done);
}
.news-mark .icon { width: 16px; height: 16px; }
.news-mark.news-missed, .news-mark.news-soldout { background: var(--accent-soft); color: var(--accent); }
.news-mark.news-looking, .news-mark.news-ordered { background: var(--sunken); color: var(--ink); }
.news-mark.news-notfound { background: var(--sunken); color: var(--ink-2); }
.news-title { font-size: 15px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.news.is-unread .news-title { font-weight: 700; }
.news-title a { color: inherit; text-decoration: none; }
.news-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.news-meta { font-size: 13px; color: var(--ink-2); }
.news-empty { font-size: 14px; }
.news-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.news-foot a { font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.news-foot a:hover { color: var(--ink); }
@media (max-width: 599px) {
  .account-menu.bell-menu {
    position: fixed; left: 12px; right: 12px; top: 66px; width: auto; max-width: none;
    max-height: calc(100vh - 78px - var(--under, 0px)); max-height: calc(100dvh - 78px - var(--under, 0px));
  }
  .bell { margin-right: 0; }
  .bell > summary { position: relative; }
  .bell > summary .badge { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; }
}
.account { position: relative; }
.account summary {
  display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer;
  padding: 4px 8px 4px 4px; border-radius: 999px; font-weight: 600; font-size: 15px;
}
.account summary::-webkit-details-marker { display: none; }
.account summary:hover, .account[open] summary { background: var(--sunken); }
@media (min-width: 720px) and (max-width: 979px) {
  .topbar-inner { gap: 12px; }
  .account-name { display: none; }
  .account summary { padding: 4px; }
  .tabs a { padding-left: 10px; padding-right: 10px; }
  .tabs:has(> a:nth-child(4)) .icon { display: none; }
  .bell > summary { position: relative; }
  .bell > summary .badge { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; }
}
@media (min-width: 720px) and (max-width: 1199px) {
  .tabs:has(> a:nth-child(5)) .icon { display: none; }
}
@media (min-width: 720px) and (max-width: 979px) {
  .topbar-inner:has(.tabs > a:nth-child(5)) { gap: 8px; }
  .tabs:has(> a:nth-child(5)) a { padding-left: 6px; padding-right: 6px; }
}
@media (min-width: 720px) {
  .tabs a span { white-space: nowrap; }
}
.account-menu {
  position: absolute; right: 0; top: calc(100% + 8px); width: 240px; z-index: 30;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-strong); padding: 14px; display: grid; gap: 12px;
}
.account-who { font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.account-who strong { color: var(--ink); }
.theme-choice fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.theme-choice legend {
  padding: 0; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.theme-choice .segmented { display: flex; width: 100%; }
.theme-choice label {
  flex: 1; position: relative; text-align: center; cursor: pointer; padding: 7px 4px; border-radius: 9px;
  font-weight: 600; font-size: 14px; color: var(--ink-2);
}
.theme-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.theme-choice label:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.theme-choice label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--sunken); flex: none; }
.avatar-letter { display: inline-grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.main { flex: 1; width: 100%; max-width: var(--page); margin: 0 auto; padding: 28px var(--gutter) 56px; }
.main:focus { outline: none; }
.page-head { margin-bottom: 20px; display: grid; gap: 6px; }
.page-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.page-head-row > div { display: grid; gap: 6px; }
.lede { color: var(--ink-2); font-size: 17px; }
.lede strong { color: var(--ink); }
.page-note { font-size: 14px; color: var(--ink-2); max-width: 72ch; }
.callout {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; margin-bottom: 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 15px;
}
.callout .icon { margin-top: 2px; color: var(--ink-3); }
.week-status {
  display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 10px; padding: 10px 12px;
  border-radius: 10px; background: var(--sunken); color: var(--ink-2); font-size: 15px;
}
.week-status .icon { flex: none; margin-top: 2px; color: var(--done); }
.week-status strong { color: var(--ink); }
.week-status.is-ready { background: var(--done-soft); color: var(--ink); }
.empty {
  margin-top: 24px; padding: 40px 20px; text-align: center; display: grid; gap: 10px; justify-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
}
.empty p { color: var(--ink-2); max-width: 46ch; }
.empty .btn { margin-top: 8px; }
.footer {
  max-width: var(--page); width: 100%; margin: 0 auto; padding: 24px var(--gutter) 64px;
  color: var(--ink-3); font-size: 13px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 4px 20px;
}
.footer-side { display: grid; gap: 4px; }
.footer-end { text-align: right; }
.footer-note { font-size: 12px; }
.weeks {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px 18px;
  scroll-snap-type: x proximity; scroll-padding: 0 2px; scrollbar-width: none;
}
.weeks::-webkit-scrollbar { display: none; }
.weeks > * { scroll-snap-align: start; }
.weeks[data-at-end] { scroll-snap-type: none; }
.scripted .weeks:not([data-placed]) { visibility: hidden; animation: weeks-reveal 0s linear 3s forwards; }
@keyframes weeks-reveal { to { visibility: visible; } }
.weeks a {
  flex: none; scroll-snap-align: start; display: grid; gap: 1px; min-width: 112px;
  padding: 9px 14px; border-radius: 10px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line);
}
.weeks a:hover { border-color: var(--ink-3); }
.week-name { font-weight: 700; font-size: 15px; }
.week-sub { font-size: 13px; color: var(--ink-2); }
.weeks a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.weeks a[aria-current="page"] .week-sub { color: inherit; opacity: 0.75; }
select.weeks-more {
  flex: none; width: auto; align-self: stretch; min-height: 0; padding: 9px 38px 9px 14px;
  border: 1px solid var(--line); border-radius: 10px; background-color: var(--surface);
  font-weight: 700; font-size: 16px; color: var(--ink);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
}
select.weeks-more:hover { border-color: var(--ink-3); }
select.weeks-more option { background: var(--surface); color: var(--ink); font-weight: 400; }
select.weeks-more.is-showing { background-color: var(--ink); border-color: var(--ink); color: var(--paper); }
select.weeks-month { width: calc(12ch + 52px); }
.btn.is-disabled, .btn[data-print][disabled] { opacity: 0.5; cursor: default; pointer-events: none; }
.filters { display: grid; gap: 12px; margin-bottom: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface);
  font-size: 16px;
}
input[type="search"]:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--sunken); }
textarea { min-height: 72px; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.input-icon { position: relative; display: block; }
.input-icon .icon { position: absolute; left: 14px; top: 14px; color: var(--ink-3); pointer-events: none; }
.input-icon input { padding-left: 44px; }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.search-clear { display: none; }
.scripted .search-box input { padding-right: 48px; }
.scripted .search-box input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.scripted .search-clear:not([hidden]) {
  display: grid; place-items: center; position: absolute; top: 4px; right: 4px; width: 40px; height: 40px;
  padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--ink-3); cursor: pointer;
}
.scripted .search-clear:hover { background: var(--sunken); color: var(--ink); }
.search-clear:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.input-icon .search-clear .icon { position: static; color: inherit; }
.results { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
.grid.is-arranging { overflow-anchor: none; }
.results span { color: var(--ink); font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.others { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.others-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 16px; }
.others-title { font-size: 22px; line-height: 1.25; font-weight: 800; }
.others-sub { font-size: 15px; color: var(--ink-2); }
.others-more { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.card-out {
  justify-self: start; margin-bottom: 4px; padding: 2px 9px; border-radius: 999px;
  background: var(--sunken); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.5;
}
.card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.cover {
  position: relative; display: block; width: 100%; aspect-ratio: 2 / 3; padding: 0; border: 0;
  background: var(--sunken); cursor: zoom-in; overflow: hidden;
}
.cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; background: var(--sunken); }
.cover-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; text-align: center;
  font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--ink-2);
}
.soon { position: absolute; inset: 0; z-index: 1; display: block; }
.soon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover:focus-visible { outline-offset: -3px; border-radius: 0; }
.card-body { padding: 10px 12px 0; display: grid; gap: 2px; }
.publisher { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em; }
.card-title {
  font-size: 15px; font-weight: 600; line-height: 1.3; min-height: 2.6em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.price { font-size: 14px; color: var(--ink-2); }
.pick { padding: 10px 12px 12px; margin-top: auto; }
.btn-pick { width: 100%; white-space: nowrap; }
.btn-pick .when-on, .btn-pick.is-picked .when-off { display: none; }
.btn-pick.is-picked .when-on, .btn-pick .when-off { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.btn-pick.is-picked { background: var(--done-strong); border-color: var(--done-strong); color: #fff; }
.btn-pick.is-picked:hover { background: var(--done-hover); border-color: var(--done-hover); }
.btn-pick.is-picked[data-settled], .btn-pick.is-picked[data-settled]:hover { background: var(--done-strong); border-color: var(--done-strong); cursor: default; }
.btn-pick.is-taking .when-off .icon { display: none; }
.btn-pick .when-gone, .btn-pick.is-sold-out .when-off, .btn-pick.is-sold-out .when-on { display: none; }
.btn-pick.is-sold-out .when-gone { display: inline; }
.btn-pick.is-sold-out, .btn-pick.is-sold-out:hover { background: var(--sunken); border-color: var(--line); color: var(--ink-2); cursor: not-allowed; }
.card { transition: border-color 0.15s, box-shadow 0.15s; }
.card:hover { border-color: var(--line-strong); }
.card:has(.is-picked), .card:has(.is-picked):hover { border-color: var(--done-strong); box-shadow: 0 0 0 1px var(--done-strong); }
.cover-count {
  position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 3px 8px; border-radius: 999px;
  background: rgba(17, 16, 15, 0.78); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.01em;
}
.foc { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.sold-out-badge {
  position: absolute; left: 8px; top: 8px; z-index: 2; padding: 3px 9px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.01em;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.card:has(.sold-out-badge) .cover img { opacity: 0.6; }
.card:has(.sold-out-badge) .cover-fallback { display: none; }
.verified-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--done-strong); color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.verified-badge .icon { width: 16px; height: 16px; stroke-width: 3; }
.check-line { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; padding: 10px 12px; border-radius: 10px; }
.check-line .icon { flex: none; margin-top: 1px; }
.check-line.is-ok { background: var(--done-soft); color: var(--done); font-weight: 600; }
.check-line.is-off { background: var(--accent-soft); color: var(--ink); }
.check-line ul { margin: 4px 0 0; padding-left: 18px; list-style: disc; }
.sources-box > summary { list-style: none; cursor: pointer; }
.sources-box > summary::-webkit-details-marker { display: none; }
.sources-box > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sources-summary { flex: 1; min-width: 0; }
.sources-box > summary.is-off { font-weight: 700; }
.sources-box[open] > summary > .icon:last-child { transform: rotate(180deg); }
.sources-table { margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.sources-table table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.sources-table th, .sources-table td { text-align: left; vertical-align: top; padding: 8px 6px; }
.sources-table tr > :first-child { padding-left: 10px; }
.sources-table tr > :last-child { padding-right: 10px; }
.sources-table thead th { background: var(--sunken); font-size: 11px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.sources-table td { white-space: nowrap; }
.sources-table tbody tr { border-top: 1px solid var(--line); }
.sources-table tbody th { font-weight: 600; }
.sources-role { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.sources-table td.is-off { color: var(--off-ink); font-weight: 700; }
.sources-none { color: var(--ink-3); }
.sources-table tfoot tr { border-top: 1px solid var(--line-strong); background: var(--sunken); }
.sources-table tfoot th, .sources-table tfoot td { font-weight: 700; }
.sources-note { margin: 0; padding: 10px; font-size: 13px; line-height: 1.45; color: var(--ink-2); border-top: 1px solid var(--line); }
.sku { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }
.sheet {
  width: min(900px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0;
  border: 0; border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-strong);
  overscroll-behavior: contain;
}
.sheet { height: calc(100% - 24px); }
html:has(.sheet[open]) { overflow: hidden; }
.sheet::backdrop { background: rgba(20, 19, 17, 0.6); }
.sheet-inner { position: relative; padding: 18px; }
.sheet-bar {
  position: sticky; top: 0; z-index: 10; height: 0; margin: -18px -18px 0;
  display: flex; justify-content: flex-end; pointer-events: none;
}
.sheet-close {
  pointer-events: auto; margin: 10px 10px 0 0; width: 44px; height: 44px; flex: none;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--surface); color: var(--ink); cursor: pointer;
  box-shadow: 0 0 0 1px var(--line), 0 4px 14px rgba(0, 0, 0, 0.25);
}
.sheet-close:hover { background: var(--sunken); }
.sheet-close .icon { width: 22px; height: 22px; }
.detail { display: grid; gap: 20px; }
.detail-cover {
  position: relative; width: min(280px, 72%); aspect-ratio: 2 / 3; justify-self: center;
  border-radius: 10px; overflow: hidden; background: var(--sunken); box-shadow: var(--shadow);
}
.detail-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.detail-cover .detail-large { z-index: 2; }
.detail-cover .soon { display: none; }
.detail-cover.is-soon .soon { display: block; }
.detail-cover.is-soon > img { display: none; }
.detail-cover:not(.is-soon, .is-missing) { cursor: zoom-in; }
.detail-cover:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.zoom-hint {
  position: absolute; right: 8px; bottom: 8px; z-index: 3; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(17, 16, 15, 0.72); color: #fff; pointer-events: none;
}
.zoom-hint .icon { width: 18px; height: 18px; }
.detail-cover.is-soon .zoom-hint, .detail-cover.is-missing .zoom-hint { display: none; }
.viewer {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 12px;
  border: 0; background: transparent; cursor: zoom-out; overscroll-behavior: contain;
}
.viewer[open] { display: grid; place-items: center; }
.viewer::backdrop { background: rgba(10, 10, 9, 0.92); }
.viewer img {
  max-width: 100%; max-height: calc(100dvh - 24px); width: auto; height: auto;
  border-radius: 8px; box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}
.viewer-close {
  position: fixed; top: 12px; right: 12px; width: 48px; height: 48px;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.14); color: #fff;
}
.viewer-close:hover { background: rgba(255, 255, 255, 0.24); }
.viewer-close .icon { width: 24px; height: 24px; }
html:has(.viewer[open]) { overflow: hidden; }
.detail-info { display: grid; gap: 16px; align-content: start; min-width: 0; }
.detail-info > .publisher { margin-bottom: -12px; }
.detail-title { font-size: 24px; line-height: 1.2; font-weight: 800; padding-right: 44px; }
.detail.is-loading .detail-info .muted { font-size: 15px; }
.facts {
  margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--sunken);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px;
}
.facts div { display: grid; gap: 2px; min-width: 0; }
.facts dt { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.facts dd { margin: 0; font-size: 15px; font-weight: 600; }
.server-status { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 15px; line-height: 1.45; }
.server-status .icon { flex: none; margin-top: 1px; }
.server-status.is-off { background: var(--accent-soft); color: var(--ink); }
.server-status.is-off .icon { color: var(--accent); }
.server-block .week-heading .tag { position: relative; top: 1px; }
.server-status ul { margin: 4px 0 0; padding-left: 18px; list-style: disc; }
.server-facts { margin: 12px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.server-fact { display: grid; gap: 6px; align-content: start; min-width: 0; padding: 12px 14px; border-radius: 12px; background: var(--sunken); }
.server-fact.is-wide { grid-column: 1 / -1; }
.server-fact dt { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.server-fact dd { margin: 0; display: grid; gap: 6px; }
.server-value { font-size: 20px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.server-more { font-size: 13px; color: var(--ink-2); }
.server-fact.is-off .server-value { color: var(--accent); }
.server-bar { display: block; width: 100%; height: 12px; margin: -3px 0; overflow: visible; }
.server-bar-track { fill: var(--line-strong); }
.server-bar-fill { fill: var(--ink-2); }
.server-fact.is-off .server-bar-fill { fill: var(--accent); }
.server-bar-peak { fill: var(--ink-3); }
.detail-form { display: grid; gap: 14px; }
.choose-cover { border: 0; margin: 0; padding: 0; min-width: 0; }
.choose-cover legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 16px; }
.cover-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
.cover-grid.is-collapsed .cover-option:nth-child(n + 10) { display: none; }
.show-all { margin-top: 14px; }
.cover-option {
  position: relative; display: grid; gap: 3px; align-content: start; min-width: 0;
  cursor: pointer; text-align: center; font-size: 13px; line-height: 1.25;
  -webkit-tap-highlight-color: transparent;
}
.cover-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cover-option-image {
  position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; margin-bottom: 4px;
  background: var(--sunken); box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.12s;
}
.cover-option-image > img { width: 100%; height: 100%; object-fit: cover; background: var(--sunken); }
.cover-option:hover .cover-option-image { box-shadow: 0 0 0 2px var(--line-strong); }
.cover-option input:checked + .cover-option-image { box-shadow: 0 0 0 3px var(--done-strong); }
.cover-option input:focus-visible + .cover-option-image { outline: 3px solid var(--focus); outline-offset: 3px; }
.cover-option-tick {
  position: absolute; top: 6px; right: 6px; z-index: 2; width: 26px; height: 26px; border-radius: 50%;
  display: none; place-items: center; background: var(--done-strong); color: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.cover-option-tick .icon { width: 16px; height: 16px; stroke-width: 3; }
.cover-option input:checked + .cover-option-image .cover-option-tick { display: grid; }
.cover-option-name { font-weight: 700; font-size: 14px; }
.cover-option-kind { color: var(--ink-2); font-size: 12px; overflow-wrap: anywhere; }
.cover-option-price { color: var(--ink); font-size: 12px; font-weight: 700; }
.cover-option-price.cover-option-gone { color: var(--accent); }
.cover-option.is-sold-out .cover-option-image > img { opacity: 0.45; }
.cover-option:has(input:disabled) { cursor: not-allowed; }
.cover-option:has(input:disabled):hover .cover-option-image { box-shadow: 0 0 0 1px var(--line); }
.sold-out-note, .pick-note { font-size: 14px; color: var(--ink-2); }
.detail-actions {
  position: sticky; bottom: 0; z-index: 3; display: grid; gap: 8px;
  padding: 12px 0 4px; background: var(--surface); border-top: 1px solid var(--line);
}
.chosen { font-size: 14px; color: var(--ink-2); }
.chosen strong { color: var(--ink); }
.chosen-line { display: flex; align-items: center; gap: 12px; min-width: 0; }
.chosen-line .chosen { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chosen-line .copies-switch { flex: none; gap: 8px; font-size: 13px; line-height: 20px; color: var(--ink-2); white-space: nowrap; }
.copies-switch .switch-track { width: 34px; height: 20px; }
.copies-switch .switch-track::after { top: 3px; left: 3px; width: 14px; height: 14px; }
.copies-switch input:checked + .switch-track::after { transform: translateX(14px); }
.copies-switch:has(input:disabled) { cursor: default; }
.copies-switch:has(input:disabled) .switch-track { opacity: 0.6; }
html:not(.scripted) .copies-switch { display: none; }
.cover-grid.is-multi .cover-option input:checked + .cover-option-image { box-shadow: 0 0 0 1px var(--line); }
.cover-grid.is-multi .cover-option:hover input + .cover-option-image { box-shadow: 0 0 0 2px var(--line-strong); }
.cover-grid.is-multi .cover-option.is-ticked input + .cover-option-image { box-shadow: 0 0 0 3px var(--done-strong); }
.cover-grid.is-multi .cover-option-tick {
  display: grid; background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 2px rgba(28, 27, 25, 0.38), 0 1px 4px rgba(0, 0, 0, 0.25);
}
.cover-grid.is-multi .cover-option-tick .icon { visibility: hidden; }
.cover-grid.is-multi .cover-option.is-ticked .cover-option-tick { background: var(--done-strong); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); }
.cover-grid.is-multi .cover-option.is-ticked .cover-option-tick .icon { visibility: visible; }
.cover-grid.is-multi .cover-option:has(input:disabled):not(.is-ticked) .cover-option-tick { display: none; }
.cover-option-n { display: none; font-size: 13px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.cover-option-tick.has-n .icon { display: none; }
.cover-option-tick.has-n .cover-option-n { display: block; }
.cover-stepper {
  position: absolute; left: 50%; bottom: 8px; z-index: 3; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px;
  background: rgba(20, 20, 18, 0.86); color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.cover-grid:not(.is-multi) .cover-stepper { display: none; }
.cover-step {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; user-select: none; -webkit-user-select: none;
}
.cover-step:hover { background: rgba(255, 255, 255, 0.16); }
.cover-step[aria-disabled="true"] { opacity: 0.35; cursor: default; }
.cover-step[aria-disabled="true"]:hover { background: transparent; }
.cover-step:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.cover-qty { min-width: 16px; text-align: center; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.description { display: grid; gap: 10px; font-size: 15px; line-height: 1.6; }
.credits { margin: 0; display: grid; gap: 6px; font-size: 14px; }
.credits div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
.credits dt { font-weight: 700; color: var(--ink-2); }
.credits dd { margin: 0; }
.comic-page {
  max-width: 980px; margin: 0 auto; padding: 20px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
}
.week-block {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 16px 14px; margin-bottom: 18px;
}
.week-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-bottom: 6px; }
.week-when { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.week-total { padding-top: 12px; font-weight: 700; text-align: right; }
.rows > li + li { border-top: 1px solid var(--line); }
.row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; }
.row.is-leaving { opacity: 0.4; }
.row-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.row-title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; color: var(--ink-2); }
.row-note { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; color: var(--ink); margin-top: 2px; }
.row-note .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--ink-3); }
.row-action { flex: none; }
.thumb {
  flex: none; display: block; width: 56px; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden;
  background: var(--sunken); border: 1px solid var(--line);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; background: var(--sunken); }
.thumb-link { flex: none; display: block; border-radius: 6px; }
.row-title a { color: inherit; text-decoration: none; }
.row-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; background: var(--sunken); color: var(--ink);
}
.tag .icon { width: 15px; height: 15px; margin-left: -2px; }
.tag-done { background: var(--done-soft); color: var(--done); }
.tag-strong { background: var(--ink); color: var(--paper); }
.tag-soldout { background: var(--accent-soft); color: var(--accent); }
.tag-looking { background: var(--sunken); color: var(--ink); }
.tag-quiet { background: var(--sunken); color: var(--ink-2); }
.tag-ordered { background: var(--sunken); color: var(--ink); }
.row.is-missed .row-title, .row.is-missed .thumb { opacity: 0.55; }
.note-edit { margin-top: 4px; }
.note-edit summary {
  display: inline-block; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2);
  text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; list-style: none;
}
.note-edit summary::-webkit-details-marker { display: none; }
.note-edit summary:hover { color: var(--ink); }
.note-edit form { display: grid; gap: 10px; padding: 10px 0 2px; max-width: 480px; justify-items: start; }
.note-edit .field { width: 100%; }
.earlier { margin-top: 28px; }
.earlier > summary {
  cursor: pointer; font-weight: 700; font-size: 17px; padding: 10px 0; margin-bottom: 8px;
}
.week-block-past { opacity: 0.92; }
.list-head { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
.list-head > :not(h1):not(.head-links) { grid-column: 1 / -1; }
.head-links { display: flex; gap: 8px; }
@media (max-width: 719px) {
  .list-head.has-two { grid-template-columns: minmax(0, 1fr); }
  .list-head.has-two > .head-links { order: 1; margin: 4px 0; }
  .list-head.has-two > .page-note { order: 2; }
  .list-head.has-two .head-links > .btn { flex: 1 1 0; }
}
.subscriptions-block { padding-top: 8px; }
.subscriptions-block .series-list { margin-top: 0; }
.head-with-history { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: minmax(44px, auto); column-gap: 12px; align-items: center; }
.head-with-history > :not(h1):not(.head-history) { grid-column: 1 / -1; }
.head-with-history > [data-requests-summary] { min-height: 1.5em; min-height: 1lh; }
.head-history, .requests-history { flex: none; min-height: 44px; }
.requests-bar .segmented a { position: relative; line-height: 22px; }
.requests-bar .tab-dot { top: 4px; right: 5px; left: auto; }
.head-history[aria-current="page"], .requests-history[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.requests-top { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title actions" "lede actions" "bar bar"; column-gap: 16px; align-items: center; }
.requests-top > h1 { grid-area: title; }
.requests-top > .lede { grid-area: lede; min-height: 1.5em; min-height: 1lh; }
.requests-top > .requests-bar { grid-area: bar; }
.requests-top > .head-actions { grid-area: actions; }
.requests-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 8px; }
.requests-bar > .requests-history { margin-left: auto; }
.request.is-past .row-title { opacity: 0.85; }
@media (max-width: 719px) {
  .requests-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "lede" "bar" "actions"; }
  .requests-top > .head-actions { margin-top: 6px; }
}
.history-bar { justify-content: flex-start; gap: 12px 20px; }
.history-month { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.history-sum { color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.history-months { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.history-bar + .week-block-past { margin-top: 0; }
.history-find { display: flex; gap: 8px; margin: 0 0 18px; }
.history-find-box { position: relative; flex: 1; min-width: 0; }
.history-find-box .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.history-find-box input { width: 100%; padding-left: 40px; }
@media (max-width: 719px) {
  .history-month, .history-month .field-inline { width: 100%; }
}
.orders-week + .orders-week { margin-top: 28px; }
.orders-week > .week-heading { font-size: 20px; padding-bottom: 12px; }
.orders-week > .week-heading > a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.orders-week > .week-heading > a:hover { text-decoration-color: currentColor; }
.week-people {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.week-people > li { outline: 1px solid var(--line); }
.week-person {
  display: flex; align-items: center; gap: 12px; height: 100%; min-height: 60px; box-sizing: border-box;
  padding: 10px 12px 10px 16px; color: inherit; text-decoration: none;
}
.week-person:hover { background: var(--sunken); }
.week-person:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.week-person-who { flex: 1 1 auto; min-width: 0; display: grid; }
.week-person-name { font-weight: 700; overflow-wrap: anywhere; }
.week-person-sum { font-size: 14px; color: var(--ink-2); }
.week-person-aside { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.week-person-aside.is-done { color: var(--done); font-weight: 600; }
.week-person .icon { flex: none; width: 20px; height: 20px; color: var(--ink-3); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.segmented { display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px; background: var(--sunken); }
.segmented a { padding: 8px 16px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.segmented a[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.progress { color: var(--ink-2); font-size: 15px; }
.progress strong { color: var(--ink); }
.requests-top + .progress { margin: -6px 0 14px; }
.person {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px 6px; min-width: 0;
}
.person-head { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "face name" "face total" "action action"; column-gap: 10px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.person-head > .avatar, .person-head > .person-open { grid-area: face; }
.person-head-main { display: contents; }
.person-head h2 { grid-area: name; font-size: 18px; overflow-wrap: anywhere; text-wrap: balance; }
.person-head-main .muted { grid-area: total; font-size: 14px; }
.person-head-main .muted.two-lines { min-height: 3em; }
.person-head > .all-aside, .person-head > form[data-aside-all] { grid-area: action; justify-self: start; margin-top: 8px; }
.person-head > .all-aside[hidden] { display: inline-flex !important; visibility: hidden; }
.person-head > form[data-aside-all][hidden] { display: block !important; visibility: hidden; }
.all-aside { padding: 6px 12px; min-height: 38px; }
.person-head .avatar { width: 36px; height: 36px; }
.person .rows > li + li { border-top: 1px solid var(--line); }
.by-person { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media screen and (min-width: 800px) {
  .by-person .person { display: flow-root; padding: 0 16px 0 20px; background-image: linear-gradient(var(--line), var(--line)); background-size: 1px 100%; background-repeat: no-repeat; background-position: 259px 0; }
  .by-person .person-head { float: left; width: 240px; grid-template-columns: 36px minmax(0, 1fr); grid-template-areas: "face name" "face total" "action action"; align-content: start; padding: 16px 20px 16px 0; border-bottom: 0; }
  .by-person .person-head > .all-aside, .by-person .person-head > form[data-aside-all] { justify-self: start; margin-top: 10px; }
  .by-person .rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); column-gap: 32px; align-items: start; margin: -1px 0 0 264px; }
  .by-person .rows > li { border-top: 1px solid var(--line); }
}
@media screen {
  .row-check > .thumb-large { position: relative; }
  .thumb-large > [data-ordered-tag], .thumb-large > [data-unavailable-tag] { position: absolute; left: -4px; right: -4px; bottom: 5px; width: fit-content; margin: 0 auto; padding: 2px 7px; font-size: 12px; line-height: 1.2; text-align: center; pointer-events: none; box-shadow: 0 0 0 2px var(--surface); }
  .thumb-large > [data-unavailable-tag] { left: 0; right: 0; width: min-content; padding: 2px 6px; line-height: 1.15; border-radius: 9px; }
}
@media print {
  .row-check > .thumb-large { order: 1; }
  .row-check > .row-menu { order: 2; }
}
@media screen {
  [data-request-row] .row-main { position: relative; }
  [data-request-row] .row-meta > [data-looking-tag],
  [data-request-row] .row-meta > [data-request-ordered-tag] { position: absolute; top: 0; right: 0; padding: 0 8px; font-size: 12px; line-height: 18px; }
  .by-person:has(> .person[data-requests]) { padding-bottom: 32px; }
}
.by-person .row-main { display: flex; flex-direction: column; }
.icon.down { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.row-check { align-items: center; }
.row-check.is-done .row-main, .row-check.is-done .thumb { opacity: 0.55; }
.set-aside { flex: none; display: flex; align-items: center; gap: 8px; }
.check {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer;
  font-size: 12px; font-weight: 600; color: var(--ink-2); min-width: 64px;
}
.check input { width: 26px; height: 26px; margin: 0; accent-color: var(--done); cursor: pointer; }
.thumb-large { flex: none; display: block; }
.thumb-large .thumb { width: 72px; border-radius: 8px; }
.head-actions, .page-head-row > .head-actions { flex: none; display: flex; gap: 8px; }
.page-head-row > .head-actions-admin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-head-row > .head-actions-admin > .head-settings { grid-column: -3 / -1; }
@media (min-width: 1100px) {
  .page-head-row > .head-actions-admin { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.fetch-ask { margin-bottom: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.head-actions .btn .badge { min-width: 20px; height: 20px; padding: 0 6px; font-size: 12px; }
.person-picker { display: flex; align-items: center; gap: 8px; }
.field-inline { display: flex; align-items: center; gap: 8px; }
.field-inline select { min-height: 42px; width: auto; max-width: 70vw; padding-top: 8px; padding-bottom: 8px; }
.sort-picker { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: -4px 0 14px; }
.sort-picker select { width: 220px; }
@media (min-width: 720px) {
  .person-picker select { width: 260px; }
  .toolbar .progress { min-width: 170px; text-align: right; }
}
@media (min-width: 1000px) {
  .toolbar { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(170px, auto); }
  .toolbar > :is(.segmented, .orders-views) { grid-column: 1; justify-self: start; }
  .toolbar > .person-picker { grid-column: 2; justify-self: center; }
  .toolbar > .progress { grid-column: 3; justify-self: end; }
}
@media screen and (max-width: 1199px) {
  .orders-top { display: grid; grid-template-columns: minmax(0, 1fr); }
  .orders-top > .page-head-row { display: contents; }
  .orders-top > .page-head-row > div:first-child { margin-bottom: 20px; }
  .orders-top > .toolbar { order: 1; }
  .orders-top > .page-head-row > .head-actions { order: 2; margin-bottom: 18px; }
  .orders-top > .orders-history-bar { order: 3; }
  .orders-top + .empty { margin-top: 6px; }
}
@media screen and (max-width: 999px) {
  .orders-top.has-weeks > .toolbar { display: contents; }
  .orders-top.has-weeks > .toolbar > .orders-views { order: 1; justify-self: start; margin-bottom: 18px; }
  .orders-top.has-weeks > .toolbar > .weeks { order: 3; }
  .orders-top.has-weeks > .toolbar > .person-picker { order: 4; margin-bottom: 18px; }
  .orders-top.has-weeks > .toolbar > .progress { order: 5; margin-bottom: 18px; }
}
@media screen and (min-width: 720px) and (max-width: 999px) {
  .orders-top.has-weeks { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; }
  .orders-top.has-weeks > .toolbar > .weeks, .orders-top.has-weeks > .page-head-row > *, .orders-top.has-weeks > .toolbar > .orders-views { grid-column: 1 / -1; }
  .orders-top.has-weeks > .toolbar > .person-picker { grid-column: 1; align-self: center; }
  .orders-top.has-weeks > .toolbar > .progress { grid-column: 2; align-self: center; }
}
@media screen and (min-width: 1000px) and (max-width: 1199px) {
  .orders-top.has-weeks { grid-template-columns: auto minmax(0, 1fr) minmax(170px, auto); column-gap: 12px; align-items: center; }
  .orders-top.has-weeks > .toolbar { display: contents; }
  .orders-top.has-weeks > .page-head-row > div:first-child { grid-column: 1 / -1; grid-row: 1; }
  .orders-top.has-weeks > .toolbar > :is(.orders-views, .person-picker, .progress) { grid-row: 2; margin-bottom: 18px; }
  .orders-top.has-weeks > .page-head-row > .head-actions { grid-column: 1 / -1; grid-row: 3; }
  .orders-top.has-weeks > .toolbar > .weeks { grid-column: 1 / -1; grid-row: 4; }
}
@media screen and (min-width: 1200px) {
  .orders-top.has-weeks > .toolbar { row-gap: 0; margin-bottom: 0; }
  .orders-top.has-weeks > .toolbar > :is(.orders-views, .person-picker, .progress) { grid-row: 1; margin-bottom: 18px; }
  .orders-top.has-weeks > .toolbar > .weeks { grid-column: 1 / -1; grid-row: 2; }
  .orders-top.has-weeks + .empty { margin-top: 6px; }
}
@media screen and (max-width: 719px) {
  .orders-top .lede { min-height: 3em; }
  .orders-top.has-weeks > .toolbar > .person-picker + .progress { margin-top: -6px; }
}
.orders-views { display: flex; align-items: stretch; gap: 8px; }
.orders-history { flex: none; min-height: 0; padding-top: 0; padding-bottom: 0; }
.orders-history[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.orders-history-bar { display: grid; gap: 14px; margin-bottom: 18px; }
.history-when { display: flex; flex-wrap: wrap; gap: 12px; }
.history-pick select { width: 180px; }
.history-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.history-tile {
  display: grid; gap: 2px; align-content: start; min-height: 72px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none;
}
.history-tile b { font-size: 22px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.history-tile span { font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--ink-2); }
.history-tile:hover { border-color: var(--ink-3); }
.history-tile:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.history-tile[aria-current="page"] { background: var(--ink); border-color: var(--ink); }
.history-tile[aria-current="page"] b, .history-tile[aria-current="page"] span { color: var(--paper); }
.history-dot { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; vertical-align: 1px; }
.history-dot.is-aside { background: var(--done); }
.history-dot.is-ordered { background: var(--brand-text); }
.history-dot.is-pending { background: var(--wait); }
.history-dot.is-gone { background: var(--accent); }
.tag-pending { background: var(--wait-soft); color: var(--wait); }
.history-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.crumb.history-back { margin: 0 0 12px; }
@media (max-width: 719px) {
  .history-when { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-pick select { width: auto; }
  .history-board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .history-tile { min-height: 64px; padding: 8px 10px; }
  .history-tile b { font-size: 19px; }
  .history-people .week-person { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; }
  .history-people .week-person > .history-chips { grid-column: 1; justify-content: flex-start; }
  .history-people .week-person > .icon { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
@media (max-width: 359px) {
  .orders-history { padding-left: 12px; padding-right: 12px; }
  .orders-history > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.comic-orders {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr));
  gap: 12px; align-items: stretch;
}
.comic-order {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
}
.comic-order > .row-main { align-self: stretch; display: flex; flex-direction: column; gap: 3px; }
.comic-order > .row-main > .sold-out-box { margin-top: auto; padding-top: 6px; }
.comic-order > .row-main > .comic-marks { margin-top: auto; padding-top: 10px; }
.comic-order > .row-main > .comic-marks + .sold-out-box { margin-top: 0; }
.comic-marks { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.comic-mark { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.comic-mark input { width: 24px; height: 24px; margin: 0; cursor: pointer; accent-color: var(--done); }
.comic-mark.is-order input { accent-color: var(--ink); }
.comic-mark input:disabled { cursor: default; }
.comic-mark small { font-size: 13px; font-weight: 400; color: var(--ink-2); }
.comic-marks .row-menu { margin: -6px -6px -6px auto; align-self: center; }
.comic-order.is-done > .thumb-large, .comic-order.is-done .row-title, .comic-order.is-done .publisher { opacity: 0.55; }
.scripted .comic-order .sold-out-mark:not([open]) > summary { display: none; }
html:not(.scripted) [data-sold-out-open] { display: none; }
.comic-order-for { font-size: 15px; margin-top: 2px; }
.comic-order-missed { color: var(--accent); }
.sold-out-box { margin-top: 6px; }
.sold-out-mark > summary { list-style: none; }
.sold-out-mark > summary::-webkit-details-marker { display: none; }
.sold-out-mark[open] > summary { background: var(--sunken); }
.sold-out-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 8px; }
.sold-out-box > .sold-out-form { margin-top: 0; }
.sold-out-copies { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.sold-out-copies input {
  width: 4.5em; min-height: 38px; padding: 6px 10px; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface);
  font-size: 16px;
}
.sold-out-copies input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--sunken); }
.sold-out-form .segmented label { position: relative; cursor: pointer; }
.sold-out-form .segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sold-out-form .segmented span { display: block; padding: 6px 10px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.sold-out-form .segmented input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.sold-out-form .segmented input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }
.btn-sold-out { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-sold-out:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.sold-out-count { font-size: 14px; color: var(--ink-2); }
.sold-out-help { flex-basis: 100%; font-size: 13px; color: var(--ink-2); }
.shop-tools { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.shop-tools .sold-out-box { margin-top: 0; }
.cover-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 2px; }
.cover-price-field { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.cover-price-field input {
  width: 7.5em; min-height: 38px; padding: 6px 10px; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface);
  font-size: 16px;
}
.cover-price-field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--sunken); }
.comic-order-copies { flex: none; display: grid; justify-items: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.copies {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 10px;
  background: var(--ink); color: var(--paper); font-weight: 800; font-size: 20px;
}
.follow { display: grid; gap: 6px; }
.btn-follow .when-on, .btn-follow.is-following .when-off { display: none; }
.btn-follow.is-following .when-on, .btn-follow .when-off { display: inline-flex; align-items: center; gap: 8px; }
.btn-follow.is-following { border-color: var(--done-strong); color: var(--done); background: var(--done-soft); }
.follow-help { font-size: 13px; color: var(--ink-2); text-align: center; }
.follow-help .when-on, .follow:has(.is-following) .follow-help .when-off { display: none; }
.follow:has(.is-following) .follow-help .when-on { display: inline; }
.series-block {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 16px 8px; margin-bottom: 18px;
}
.series-block .week-heading { display: flex; align-items: center; gap: 8px; }
.series-list { margin-top: 8px; }
.series-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.series-list li + li { border-top: 1px solid var(--line); }
.series-name { font-weight: 600; }
.notice {
  display: flex; gap: 8px; align-items: center; margin-bottom: 18px; padding: 12px 14px; border-radius: 12px;
  background: var(--done-soft); color: var(--done); font-weight: 600;
}
.crumb { margin-bottom: 4.5px; font-size: 14px; line-height: 30px; }
.crumb a {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 8px; vertical-align: top;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--ink-2); font-weight: 600; text-decoration: none;
}
.crumb a:hover { color: var(--ink); border-color: var(--line-strong); }
.crumb .icon { width: 16px; height: 16px; flex: none; }
.crumb a { max-width: 100%; }
.crumb-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-page-head { display: flex; gap: 14px; align-items: center; }
.person-page-head .avatar { width: 56px; height: 56px; font-size: 22px; }
.person-page-head h1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.people-list { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.people-list li + li { border-top: 1px solid var(--line); }
.person-link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-decoration: none; color: inherit; }
.person-link:hover { background: var(--sunken); }
.person-link .avatar { width: 40px; height: 40px; }
.person-link-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.person-link-name { font-weight: 700; font-size: 16px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.person-link-main .muted { font-size: 13px; }
.person-link-counts { display: flex; gap: 16px; font-size: 13px; color: var(--ink-2); }
.person-link-counts strong { color: var(--ink); font-size: 15px; }
.row-center { align-items: center; }
.danger {
  margin-top: 28px; padding: 16px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--surface); display: grid; gap: 10px;
}
.danger h2 { font-size: 17px; }
.danger details { border-top: 1px solid var(--line); padding-top: 10px; }
.danger summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.danger details p { margin: 8px 0 12px; color: var(--ink-2); font-size: 14px; }
.danger > .danger-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; color: var(--ink); }
.danger > .danger-head::-webkit-details-marker { display: none; }
.danger > .danger-head .icon { flex: none; color: var(--ink-3); transition: transform 0.15s; }
.danger[open] > .danger-head .icon { transform: rotate(180deg); }
.danger > details { margin-top: 10px; }
.person-facts { margin: 0 0 20px; }
.glance-facts { margin: 0 0 20px; gap: 8px; }
.glance-facts .server-fact { padding: 10px 12px; gap: 2px; }
.glance-facts .server-value { font-size: 18px; }
.person-open { color: inherit; text-decoration: none; }
.person-open:hover { text-decoration: underline; }
.person-open:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.confirm {
  width: min(92vw, 380px); padding: 20px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-strong);
}
.confirm::backdrop { background: rgba(20, 19, 17, 0.6); }
.confirm-text { font-size: 17px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.confirm-more { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--ink-2); overflow-wrap: anywhere; }
.confirm-choices { display: grid; gap: 8px; margin-top: 18px; }
.switch { position: relative; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { flex: none; position: relative; width: 40px; height: 24px; border-radius: 999px; background: var(--line-strong); transition: background 0.15s; }
.switch-track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface); transition: transform 0.15s;
}
.switch input:checked + .switch-track { background: var(--done); }
.switch input:checked + .switch-track::after { transform: translateX(16px); }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--focus); outline-offset: 2px; }
.switch-words { display: grid; gap: 1px; }
.switch-words small { font-size: 12px; font-weight: 400; color: var(--ink-2); }
html:not(.js) [data-lock-choice] { display: none; }
.btn.is-locked, .btn.is-locked:hover { opacity: 0.4; cursor: not-allowed; }
html.scripted:not(.lock-off) body.is-admin form[data-removes] button[type="submit"] { opacity: 0.4; cursor: not-allowed; }
.did-list { display: grid; }
.did-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 9px 0; font-size: 15px; }
.did-list li + li { border-top: 1px solid var(--line); }
.did-what { flex: 1 1 16ch; min-width: 0; overflow-wrap: anywhere; }
.did-when { flex: none; margin-left: auto; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.did .did-list { margin-top: 8px; }
.log { padding: 0 16px 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.did .log { margin-top: 8px; }
.log-day + .log-day { border-top: 1px solid var(--line); }
.log-day-name { padding: 12px 0 4px; font-size: 12px; font-weight: 700; line-height: 1.4; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.log-day + .log-day .log-day-name { padding-top: 14px; }
.log-line {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; grid-template-areas: "face who when" ". what what";
  column-gap: 10px; row-gap: 2px; align-items: center; padding: 8px 0; font-size: 15px;
}
.log-line + .log-line { border-top: 1px solid var(--sunken); }
.log-face {
  grid-area: face; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  color: #fff; font-size: 11px; font-weight: 700; line-height: 1;
}
img.log-face { object-fit: cover; background: var(--sunken); }
.log-who { grid-area: who; min-width: 0; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-who:hover { text-decoration: underline; }
.log-what { grid-area: what; display: flex; align-items: flex-start; gap: 8px; min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.log-what > .icon { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--ink-3); }
.log-what.is-visit, .log-what.is-signin { color: var(--ink-2); }
.log-what.is-add > .icon, .log-what.is-aside > .icon { color: var(--done); }
.log-what.is-remove > .icon { color: var(--off-ink); }
.log-what.is-order > .icon { color: var(--order-ink); }
.log-when { grid-area: when; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.log.is-own .log-line { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "what when"; column-gap: 12px; }
.tint-0 { background: #4a6b80; }
.tint-1 { background: #8a6a2f; }
.tint-2 { background: #6b5b95; }
.tint-3 { background: #3b7562; }
.tint-4 { background: #a8323a; }
.tint-5 { background: #56692c; }
.tint-6 { background: #7a4f6d; }
.tint-7 { background: #8c5a3c; }
@media (min-width: 720px) {
  .log-line { grid-template-columns: 24px minmax(0, 260px) minmax(0, 1fr) 84px; grid-template-areas: "face who what when"; column-gap: 12px; padding: 7px 0; }
  .log-what { font-size: 15px; }
  .log.is-own .log-line { grid-template-columns: minmax(0, 1fr) 84px; grid-template-areas: "what when"; }
}
.twin-list { display: grid; }
.twin { display: grid; gap: 10px; padding: 14px 0; }
.twin + .twin { border-top: 1px solid var(--line); }
.twin-pair { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.twin-side { display: flex; gap: 12px; align-items: center; min-width: 0; }
.twin-words { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.twin-words .muted, .twin-facts { font-size: 14px; }
a.twin-side { text-decoration: none; }
a.twin-side:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.twin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.did-list li.settled { align-items: center; }
.did-list li.settled .did-what { flex: 1 1 100%; }
.did-list li.settled .did-when { margin-left: 0; }
.did-list li.settled form { margin-left: auto; }
@media (min-width: 720px) {
  .twin-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .did-list li.settled .did-what { flex: 1 1 16ch; }
  .did-list li.settled .did-when { margin-left: auto; }
  .did-list li.settled form { margin-left: 0; }
}
.btn-danger { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-danger:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
@media (max-width: 719px) {
  .person-link { flex-wrap: wrap; }
  .person-link-counts { width: 100%; padding-left: 54px; }
}
.welcome { display: grid; place-items: center; padding: 24px 0; min-height: 70vh; }
.welcome-card {
  width: 100%; max-width: 460px; display: grid; gap: 16px; justify-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px;
  box-shadow: var(--shadow);
}
.welcome-card h1 { font-size: 32px; }
.welcome-actions { width: 100%; display: grid; gap: 10px; margin-top: 4px; }
.alert { width: 100%; padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--ink); font-size: 15px; }
.steps { display: grid; gap: 12px; margin-top: 8px; width: 100%; }
.steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.steps strong { color: var(--ink); }
.step-number {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--sunken); color: var(--ink); font-weight: 700; font-size: 14px;
}
.fine { font-size: 13px; color: var(--ink-3); }
.landing-card { max-width: 440px; justify-items: center; text-align: center; padding-top: 32px; }
.landing-banner {
  display: block; width: 100%; height: auto; border-radius: 16px; background: #050405;
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px #5865f2, var(--shadow-strong);
  margin-bottom: 6px;
  pointer-events: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}
.landing-hello { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--ink); max-width: 26ch; margin-top: 4px; }
.landing-card .lede { max-width: 34ch; }
.landing-card .steps { text-align: left; margin-top: 4px; padding: 16px; border-radius: 14px; background: var(--sunken); }
.landing-card .step-number { background: var(--surface); }
.people { width: 100%; display: grid; gap: 8px; }
.person-button { justify-content: flex-start; gap: 12px; }
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 36px; height: 36px;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--ink); background: color-mix(in srgb, var(--ink) 50%, transparent);
  color: var(--paper); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  visibility: hidden; opacity: 0; transform: translateY(8px);
  transition: opacity 0.18s, transform 0.18s, background 0.15s, visibility 0s linear 0.18s;
}
.to-top.is-showing { visibility: visible; opacity: 1; transform: none; transition: opacity 0.18s, transform 0.18s, background 0.15s; }
.to-top:hover, .to-top:focus-visible { background: color-mix(in srgb, var(--ink) 85%, transparent); }
.to-top:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.to-top .icon { width: 18px; height: 18px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 2 * (16px + 36px + 8px));
  display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 18px;
  background: var(--ink); color: var(--paper); border-radius: 12px; box-shadow: var(--shadow-strong);
  font-size: 15px; font-weight: 500;
}
.toast-undo {
  border: 0; background: transparent; color: inherit; font-weight: 800; padding: 8px 10px; border-radius: 8px;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.toast-undo:hover { background: rgba(127, 127, 127, 0.25); }
.toast.is-showing { animation: toast-in 0.18s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }
@media (max-width: 719px) {
  body.signed-in { padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom)); }
  .account-menu.bell-menu { --under: calc(var(--bar) + env(safe-area-inset-bottom, 0px)); }
  .topbar-inner { height: 56px; gap: 12px; justify-content: space-between; }
  .account-name { display: none; }
  .account summary { padding: 4px; }
  .tabs {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; gap: 0;
    height: calc(var(--bar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--surface); border-top: 1px solid var(--line);
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  }
  .tabs a { flex-direction: column; justify-content: center; gap: 2px; border-radius: 0; font-size: 12px; padding: 6px 4px; }
  .tabs a:hover { background: transparent; }
  .tabs a[aria-current="page"] { background: transparent; color: var(--brand-text); }
  .tabs .icon { width: 24px; height: 24px; }
  .tabs .badge { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 20px; height: 20px; font-size: 11px; }
  .tabs a span { white-space: nowrap; }
  .toast { bottom: calc(var(--bar) + env(safe-area-inset-bottom) + 12px); }
  .to-top { bottom: calc(var(--bar) + env(safe-area-inset-bottom) + 12px); }
  .footer-end { text-align: left; }
  .main { padding-top: 20px; }
  h1 { font-size: 26px; }
  .page-head-row { flex-direction: column; }
  .thumb-large .thumb { width: 64px; }
  .head-actions { width: 100%; flex-wrap: nowrap; }
  .head-actions .btn { flex: 1; }
  .page-head-row > .head-actions-admin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head-row > .head-actions-orders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .head-actions-orders .btn { padding-left: 12px; padding-right: 12px; }
  .row-check { gap: 10px; }
  .check { min-width: 52px; }
  .comic-page .detail-actions { bottom: calc(var(--bar) + env(safe-area-inset-bottom)); }
  .toolbar { align-items: stretch; }
  .person-picker, .sort-picker, .field-inline, .field-inline select { width: 100%; max-width: none; }
  .field-inline select { flex: 1; }
}
.card { container-type: inline-size; }
@container (max-width: 199px) {
  .card .on-phones-unseen {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .card .btn-pick { padding-left: 10px; padding-right: 10px; }
  .card-body { padding: 10px 10px 0; }
  .pick { padding: 10px 10px 10px; }
}
@media (min-width: 560px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px 16px; }
  .sheet-inner { padding: 24px; }
  .sheet-bar { margin: -24px -24px 0; }
  .detail { grid-template-columns: minmax(220px, 300px) 1fr; gap: 28px; align-items: start; }
  .detail-cover { width: 100%; }
  .facts { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
}
@media (min-width: 720px) {
  .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .filters > .field-grow { grid-column: 1 / -1; }
  .main { padding-top: 32px; }
  h1 { font-size: 32px; }
  .welcome-card { padding: 36px 32px; }
  .thumb { width: 60px; }
  .server-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
  .filters { grid-template-columns: minmax(0, 1fr) 280px 300px; }
  .filters > .field-grow { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  :root { --paper: #fff; --surface: #fff; --ink: #000; --ink-2: #333; --line: #bbb; }
  body { background: #fff; padding: 0 !important; }
  .topbar, .tabs, .footer, .weeks, .week-steps, .comic-marks, .toolbar .segmented, .orders-history, .history-when, .sort-picker, [data-print], .toast, .to-top, .skip, .set-aside, .thumb { display: none !important; }
  .main { padding: 0; max-width: none; }
  .person, .table-wrap, .week-block, .comic-order { border-color: #bbb; box-shadow: none; }
  .comic-order { break-inside: avoid; }
  .orders-week > .week-heading { break-after: avoid; }
  .week-people > li { break-inside: avoid; }
  .week-person .icon { display: none; }
  .head-actions [href="/stats"], .head-actions [href="/admin/match"] { display: none !important; }
  .stats-snap { display: none !important; }
  .row { padding: 6px 0; }
  .row-check.is-done .row-main { opacity: 1; text-decoration: line-through; }
}
.js :is(.cover, .thumb, .cover-option-image) > img:not(.is-ready) { opacity: 0; }
.js .detail-cover > img.detail-large:not(.is-ready) { opacity: 0; }
.js :is(.cover, .thumb, .cover-option-image) > img, .js .detail-large { transition: opacity 0.12s; }
html.is-navigating .grid, html.is-navigating .results { opacity: 0.5; transition: opacity 0.25s; }
html.is-navigating::before {
  content: ""; position: fixed; top: 0; left: 0; z-index: 200; width: 100%; height: 3px;
  background: var(--brand-text); transform-origin: left; animation: going 1.6s ease-out forwards;
}
@keyframes going { from { transform: scaleX(0); } to { transform: scaleX(0.92); } }
html.is-navigating .weeks a[aria-current="page"]:not(.is-going) { background: var(--surface); border-color: var(--line); color: var(--ink); }
html.is-navigating .weeks a[aria-current="page"]:not(.is-going) .week-sub { color: var(--ink-2); opacity: 1; }
.weeks a.is-going { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.weeks a.is-going .week-sub { color: inherit; opacity: 0.75; }
.btn.week-step.is-going { border-color: var(--ink); background: var(--sunken); }
.week-steps { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.week-step { min-height: 56px; padding: 8px 16px; gap: 10px; text-align: left; }
.week-step > span { display: grid; gap: 1px; }
.week-step-what { font-weight: 700; font-size: 15px; }
.week-step-when { font-size: 13px; font-weight: 400; color: var(--ink-2); }
.week-step-next { margin-left: auto; text-align: right; }
.week-step .icon { flex: none; }
.settled-note {
  display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 10px;
  background: var(--done-soft, var(--sunken)); color: var(--ink-2); font-size: 14px; line-height: 1.4;
}
.settled-note .icon { flex: none; margin-top: 1px; color: var(--done-strong); }
.settled-note.is-ordered { background: var(--sunken); }
.settled-note.is-ordered .icon { color: var(--ink-2); }
.row-menu { position: relative; flex: none; align-self: flex-start; width: 36px; margin: -6px -6px 0 0; }
.row-menu summary {
  list-style: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  color: var(--ink-3); cursor: pointer;
}
.row-menu summary::-webkit-details-marker { display: none; }
.row-menu summary:hover, .row-menu[open] summary { background: var(--sunken); color: var(--ink); }
.row-menu summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.row-menu-list {
  position: absolute; right: 0; top: 40px; z-index: 20; min-width: 230px; padding: 6px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-strong); display: grid; gap: 2px;
}
.row-menu-list button {
  display: grid; gap: 1px; width: 100%; text-align: left; padding: 9px 12px; border: 0; border-radius: 9px;
  background: none; color: var(--ink); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
}
.row-menu-list button:hover, .row-menu-list button:focus-visible { background: var(--sunken); outline: none; }
.row-menu-list button:disabled { opacity: 0.6; cursor: progress; }
.row-menu-list button.is-locked { opacity: 0.4; cursor: not-allowed; }
.row-menu-list small { font-weight: 400; font-size: 12px; color: var(--ink-2); }
.row-menu-list .menu-remove { color: var(--accent); }
.request-list { display: grid; gap: 10px; margin-top: 12px; }
.request-list li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.request-head { display: flex; gap: 14px; align-items: flex-start; }
.request-head .row-main { flex: 1; min-width: 0; }
.request-actions { flex: none; display: flex; gap: 2px; margin: -4px -8px 0 0; }
.request.is-done .row-title { opacity: 0.7; }
.request-edit .request-form { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.scripted .request-edit > summary { display: none; }
html:not(.scripted) [data-request-edit] { display: none; }
.input-hash { position: relative; display: block; }
.input-hash .hash { display: none; position: absolute; left: 14px; top: 0; bottom: 0; place-items: center; font-weight: 600; color: var(--ink-2); pointer-events: none; }
.input-hash.is-hash .hash { display: grid; }
.request-form .input-hash.is-hash input[type="text"] { padding-left: 32px; }
.request-add { margin-top: 10px; }
.request-add > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-decoration: none; }
.request-make { display: inline-flex; align-items: center; gap: 8px; }
.request-make .icon { flex: none; width: 18px; height: 18px; }
.request-add[open] > summary .request-make .icon { display: none; }
.request-add[open] > summary .request-make > span { text-decoration: underline; text-underline-offset: 3px; }
.request-add:not([open]) > summary {
  display: inline-flex; width: auto; justify-content: center; min-height: 44px; padding: 10px 18px; line-height: 22px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface);
  color: var(--ink); font-size: 15px; transition: border-color 0.15s;
}
.request-add:not([open]) > summary:hover { border-color: var(--ink-3); }
@media (max-width: 719px) {
  .request-add:not([open]) > summary { display: flex; width: 100%; }
}
.request-fold {
  display: none; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 999px;
  color: var(--ink-2); background: var(--sunken);
}
.request-add[open] > summary .request-fold { display: inline-grid; }
.request-add[open] > summary:hover .request-fold { color: var(--ink); }
.note-edit .request-form { display: grid; gap: 14px; padding: 12px 0 6px; max-width: 600px; justify-items: stretch; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.request-form input[type="text"], .request-form input[type="number"] {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface);
  font-size: 16px;
}
.request-form input[type="text"]:focus, .request-form input[type="number"]:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--sunken); }
.field-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.request-form .field-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.request-form .field-row-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.request-form input[type="text"] { text-overflow: ellipsis; }
.request-form .form-actions { align-items: center; }
.graded-mine { margin-top: 28px; scroll-margin-top: 72px; }
.requests-block + .graded-mine { margin-top: 10px; }
.graded-mine-title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 18px; }
.graded-mine-title .icon { width: 20px; height: 20px; color: var(--brand-text); }
.graded-mine > .muted { margin: -6px 0 2px; }
.graded-ask { margin: 0 0 14px; }
.graded-ask-press { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.graded-ask-press input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--brand); cursor: pointer; }
.stepper { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 6px; }
.stepper .btn { min-height: 48px; padding: 0; font-size: 20px; }
.request-form .stepper input[type="number"] {
  padding-left: 4px; padding-right: 4px; text-align: center; font-variant-numeric: tabular-nums;
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input[type="number"]::-webkit-inner-spin-button, .stepper input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 719px) {
  .request-form .form-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
}
.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.choice .segmented { display: flex; width: 100%; }
.choice label {
  flex: 1; position: relative; display: flex; align-items: center; justify-content: center;
  text-align: center; cursor: pointer; padding: 9px 6px; border-radius: 9px;
  font-weight: 600; font-size: 14px; color: var(--ink-2);
}
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.choice label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.landing-intro, .landing-go { display: grid; gap: 16px; justify-items: center; width: 100%; }
@media (min-width: 900px) {
  .landing-card { max-width: 940px; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: start; justify-items: stretch; text-align: left; padding: 44px 48px; }
  .landing-intro { justify-items: start; }
  .landing-banner { margin-top: 6px; }
  .landing-go > .welcome-actions:first-child { margin-top: 0; }
  .landing-card .lede { max-width: 36ch; }
  .landing-hello { max-width: 22ch; }
}
.landing-join {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px;
  width: 100%; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2);
}
.landing-join > span { white-space: nowrap; }
.btn-discord {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: #5865f2; color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.btn-discord:hover { background: #4752c4; }
.btn-discord:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.btn-discord .icon { width: 22px; height: 22px; }
.btn.btn-discord-signin { background: #5865f2; border-color: #5865f2; color: #fff; font-weight: 700; }
.btn.btn-discord-signin:hover { background: #4752c4; border-color: #4752c4; }
.btn.btn-discord-signin .icon { width: 24px; height: 24px; }
@media (min-width: 900px) {
  .landing-join { grid-column: 1 / -1; justify-content: flex-end; margin-top: 4px; }
}
.stats { display: grid; gap: 20px; min-width: 0; }
.stats > .page-head { margin-bottom: 0; }
.stats .lede { text-wrap: balance; }
.stats-hide { display: inline-grid; }
.stats-hide > span { grid-area: 1 / 1; text-align: center; }
.stats-when-hidden { visibility: hidden; }
.stats-hide-box:checked ~ .page-head .stats-hide { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stats-hide-box:checked ~ .page-head .stats-when-shown { visibility: hidden; }
.stats-hide-box:checked ~ .page-head .stats-when-hidden { visibility: visible; }
.stats-hide-box:focus-visible ~ .page-head .stats-hide { outline: 3px solid var(--focus); outline-offset: 2px; }
.stats-hide-box:checked ~ * .stats-name { filter: blur(6px); user-select: none; }
.head-actions .stats-snap { flex: none; width: 44px; padding: 0; }
.stats-snap .icon { flex: none; }
.stats-snap[aria-busy="true"] { opacity: 0.6; cursor: progress; }
html:not(.scripted) .stats-snap { display: none; }
.stats-months { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.stats-month {
  flex: none; min-width: 112px; padding: 10px 14px; display: grid; gap: 1px; align-content: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface);
  color: var(--ink); text-decoration: none; font: inherit;
}
.stats-month b { font-size: 15px; }
.stats-month span { font-size: 13px; color: var(--ink-2); }
.stats-month[aria-current="page"], .stats-earlier.is-showing { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.stats-month[aria-current="page"] span { color: var(--line-strong); }
.stats-earlier { font-size: 15px; font-weight: 700; cursor: pointer; }
.stats-fact { background: var(--sunken); border-radius: var(--radius); padding: 12px 14px; display: grid; gap: 4px; align-content: start; min-width: 0; margin: 0; }
.stats-fact dt { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.stats-fact dd { margin: 0; }
.stats-value { font-size: 22px; font-weight: 800; line-height: 1.1; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.stats-more { font-size: 13px; color: var(--ink-2); }
.stats .is-up { color: var(--done); font-weight: 700; }
.stats .is-down { color: var(--accent); font-weight: 700; }
.stats-glance { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--panel-line); border-radius: 16px; overflow: hidden; }
@media (min-width: 640px) { .stats-glance { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .stats-glance { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.stats-glance .stats-fact { background: var(--panel); color: var(--panel-ink); border-radius: 0; padding: 16px 18px 18px; gap: 6px; }
.stats-glance .stats-fact dt, .stats-glance .stats-more { color: var(--panel-2); }
.stats-glance .stats-value { font-size: clamp(24px, 2.4vw, 34px); }
.stats-glance .is-up { color: var(--panel-up); }
.stats-glance .is-down { color: var(--panel-down); }
.stats-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); grid-auto-flow: dense; }
.stats-stack { display: grid; gap: 16px; min-width: 0; grid-template-rows: auto 1fr; }
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-span-2 { grid-column: 1 / -1; }
}
@media (min-width: 900px) and (max-width: 1299px) {
  .stats-stack { display: contents; }
  .stats-wide-when-two { grid-column: 1 / -1; }
}
@media (min-width: 1300px) {
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-span-2 { grid-column: span 2; }
  .stats.is-viewer .stats-grid > * { order: 2; }
  .stats.is-viewer .stats-grid > .stats-fill { order: 0; }
  .stats.is-viewer .stats-grid > .stats-stack { order: 1; }
  .stats.is-viewer.has-before .stats-wide-when-two { grid-column: 1 / -1; }
}
.stats-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.stats-fill { align-content: stretch; grid-template-rows: auto 1fr; }
.stats-card > header { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; justify-content: space-between; }
.stats-card h2 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.stats-sub { font-size: 14px; color: var(--ink-2); }
.stats-says { font-size: 15px; color: var(--ink-2); margin: 0; }
.stats-says strong { color: var(--ink); }
.stats-mini { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stats-mini > :only-child { grid-column: 1 / -1; }
.stats-top { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .stats-top { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.stats-lead { background: var(--sunken); border-radius: var(--radius); padding: 14px; display: flex; gap: 16px; align-items: center; min-width: 0; }
.stats-lead-cover { flex: none; display: block; width: clamp(104px, 30%, 150px); aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: var(--surface); box-shadow: var(--lift); }
.stats-lead-cover img { width: 100%; height: 100%; object-fit: cover; }
.stats-lead-words { display: grid; gap: 6px; min-width: 0; justify-items: start; }
.stats-kicker { font-size: 12px; font-weight: 700; color: var(--brand-text); text-transform: uppercase; letter-spacing: 0.06em; }
.stats-lead-title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.stats-lead-n { font-size: 44px; font-weight: 800; line-height: 1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stats-lead-n small { font-size: 15px; font-weight: 600; color: var(--ink-2); margin-left: 6px; }
.stats-pub { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.stats-ranked { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: space-between; }
.stats-ranked li { display: grid; grid-template-columns: 20px auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.stats-ranked .thumb { width: 44px; }
.stats-plain { gap: 0; align-content: start; }
.stats-plain li { grid-template-columns: 20px minmax(0, 1fr) auto; padding: 9px 0; border-top: 1px solid var(--line); }
.stats-plain li:first-child { border-top: 0; padding-top: 0; }
.stats-rank { font-weight: 800; color: var(--ink-3); text-align: center; font-variant-numeric: tabular-nums; }
.stats-ranked-words { display: grid; min-width: 0; }
.stats-title { display: block; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.stats-meter { display: block; width: 100%; height: 6px; margin-top: 6px; }
.stats-track-back { fill: var(--sunken); }
.stats-track-fill { fill: var(--ink); }
.stats-copies { text-align: right; display: grid; justify-items: end; gap: 3px; }
.stats-copies b { font-size: 20px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.stats-tag { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--sunken); color: var(--ink-2); white-space: nowrap; }
.stats-lead .stats-tag { background: var(--surface); }
.stats-tag.is-new { background: var(--accent-soft); color: var(--accent); }
.stats-tag.is-up { background: var(--done-soft); color: var(--done); }
.stats-scroll { overflow-x: auto; }
.stats-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.stats-table th { text-align: right; font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; padding: 0 0 8px 16px; white-space: nowrap; }
.stats-table th:first-child { text-align: left; padding-left: 0; width: 100%; }
.stats-table td { padding: 9px 0 9px 16px; border-top: 1px solid var(--line); text-align: right; white-space: nowrap; }
.stats-table td:first-child { text-align: left; padding-left: 0; white-space: normal; }
.stats-person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.stats-person > .stats-name { flex: none; display: flex; }
.stats-person-words { display: grid; min-width: 0; }
.stats-person-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.stats-person-name b { overflow-wrap: anywhere; }
.stats-under { font-size: 13px; color: var(--ink-2); display: none; }
@media (max-width: 599px) {
  .stats-table th:nth-child(n+4), .stats-table td:nth-child(n+4) { display: none; }
  .stats-under { display: block; }
}
.stats-quiet { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stats-quiet li { background: var(--sunken); border-radius: 999px; padding: 4px 12px; font-size: 14px; }
.stats-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px; background: var(--sunken); }
.stats-seg label { padding: 6px 12px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; }
#stats-by-comics:checked ~ header .stats-seg-comics, #stats-by-dollars:checked ~ header .stats-seg-dollars { background: var(--surface); color: var(--ink); box-shadow: var(--lift); }
#stats-by-comics:focus-visible ~ header .stats-seg-comics, #stats-by-dollars:focus-visible ~ header .stats-seg-dollars { outline: 3px solid var(--focus); outline-offset: 2px; }
.stats-by-both { display: grid; min-width: 0; }
.stats-by-both > div { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; min-width: 0; }
.stats-by-dollars { visibility: hidden; }
#stats-by-dollars:checked ~ .stats-by-both .stats-by-comics { visibility: hidden; }
#stats-by-dollars:checked ~ .stats-by-both .stats-by-dollars { visibility: visible; }
#stats-for-month:checked ~ header .stats-seg-month, #stats-for-week:checked ~ header .stats-seg-week { background: var(--surface); color: var(--ink); box-shadow: var(--lift); }
#stats-for-month:focus-visible ~ header .stats-seg-month, #stats-for-week:focus-visible ~ header .stats-seg-week { outline: 3px solid var(--focus); outline-offset: 2px; }
.stats-for-both { display: grid; min-width: 0; }
.stats-for-both > div { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; min-width: 0; }
.stats-for-week { visibility: hidden; }
#stats-for-week:checked ~ .stats-for-both .stats-for-month { visibility: hidden; }
#stats-for-week:checked ~ .stats-for-both .stats-for-week { visibility: visible; }
.stats-donut-wrap { display: grid; gap: 18px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 520px) { .stats-donut-wrap { grid-template-columns: 180px minmax(0, 1fr); } }
.stats-donut { width: 180px; max-width: 100%; margin: 0 auto; display: block; }
.stats-ring { stroke: var(--sunken); }
.stats-donut-total { fill: var(--ink); font-family: var(--font); font-size: 27px; font-weight: 800; }
.stats-donut-unit { fill: var(--ink-2); font-family: var(--font); font-size: 12px; }
circle.stats-c1 { stroke: var(--c1); }
circle.stats-c2 { stroke: var(--c2); }
circle.stats-c3 { stroke: var(--c3); }
circle.stats-c4 { stroke: var(--c4); }
circle.stats-c5 { stroke: var(--c5); }
circle.stats-c6 { stroke: var(--c6); }
rect.stats-c1 { fill: var(--c1); }
rect.stats-c2 { fill: var(--c2); }
rect.stats-c3 { fill: var(--c3); }
rect.stats-c4 { fill: var(--c4); }
rect.stats-c5 { fill: var(--c5); }
rect.stats-c6 { fill: var(--c6); }
.stats-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stats-legend li { display: grid; grid-template-columns: 14px minmax(0, 1fr) 10ch 4ch; gap: 10px; align-items: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.stats-legend b { text-align: right; }
.stats-pct { color: var(--ink-2); text-align: right; }
.stats-key { display: block; flex: none; }
.stats-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.stats-bars li { display: grid; grid-template-columns: minmax(84px, 34%) minmax(0, 1fr) 4ch; gap: 10px; align-items: center; font-size: 14px; }
.stats-track { display: block; width: 100%; height: 14px; }
.stats-bars .stats-track-fill { fill: var(--ink-2); }
.stats-bars .is-top .stats-track-fill { fill: var(--brand-text); }
.stats-n { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.stats-split-wrap { height: 18px; border-radius: 9px; overflow: hidden; background: var(--sunken); }
.stats-split { display: block; width: 100%; height: 18px; }
.stats-split-a { fill: var(--c2); }
.stats-split-b { fill: var(--c3); }
.stats-split-key { margin: -6px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-2); }
.stats-split-key > span { display: inline-flex; align-items: center; gap: 6px; }
.stats-split-key b { color: var(--ink); font-variant-numeric: tabular-nums; }
.stats-weeks { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.stats-week { display: grid; gap: 6px; min-width: 0; }
.stats-week-room { height: 180px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); }
.stats-week-n { font-size: 12px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.stats-week-bar { display: block; width: min(46px, 70%); fill: var(--ink-2); border-radius: 5px 5px 0 0; }
.stats-week.is-now .stats-week-bar { fill: var(--c1); }
.stats-week-label { font-size: 11px; color: var(--ink-2); text-align: center; white-space: nowrap; }
.stats-week.is-now .stats-week-label { color: var(--c1); font-weight: 700; }
@media (max-width: 599px) { .stats-week.is-odd .stats-week-label { visibility: hidden; } }
@media (max-width: 340px) {
  .head-actions-orders .btn { padding-left: 8px; padding-right: 8px; gap: 6px; }
}
.text-input {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface);
  font-size: 16px;
}
.text-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--sunken); }
.text-input::placeholder { color: var(--ink-3); }
.password-box { position: relative; display: block; }
.password-box .text-input { padding-right: 52px; }
.eye {
  position: absolute; top: 4px; right: 4px; width: 40px; height: 40px;
  display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: var(--ink-3); cursor: pointer;
}
.eye:hover { background: var(--sunken); color: var(--ink); }
.eye.is-showing { color: var(--ink); }
.eye:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.field-error { font-size: 14px; font-weight: 600; color: var(--off-ink); }
.field-help { font-size: 14px; color: var(--ink-2); max-width: 64ch; }
.tick { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.tick input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--done-strong); }
.btn.landing-password { color: var(--ink-2); }
.btn.landing-password .icon { width: 18px; height: 18px; }
.signin-card, .join-card { max-width: 440px; }
.signin-form, .join-form { width: 100%; display: grid; gap: 14px; }
.signin-card .fine { margin-top: 2px; }
.join-card { justify-items: stretch; padding-top: 28px; }
.join-banner { margin-bottom: 8px; }
.join-card h1 { font-size: 28px; text-wrap: balance; }
.join-next { font-size: 15px; color: var(--ink-2); }
.join-next strong { color: var(--ink); }
.join-go { margin-top: 4px; }
.tab-dot {
  position: absolute; top: 6px; right: 4px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 2px var(--surface);
}
@media (max-width: 719px) {
  .tab-dot { top: 8px; right: auto; left: calc(50% + 10px); }
}
.account-discord-form { display: grid; }
.account-discord { justify-content: center; border: 0; cursor: pointer; font-family: inherit; }
.account-connected { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.account-connected .icon { width: 18px; height: 18px; color: var(--done); }
.news-mark.news-renamed { background: var(--sunken); color: var(--ink); }
.add-person { margin-bottom: 16px; }
.add-person > summary { list-style: none; }
.add-person > summary::-webkit-details-marker { display: none; }
.add-person-button { width: 100%; }
@media (min-width: 720px) { .add-person-button { width: auto; } }
.add-person[open] > summary { display: none; }
.add-person-form {
  display: grid; gap: 10px; padding: 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); max-width: 560px;
}
.add-person-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.people-find { margin-bottom: 16px; max-width: 560px; }
.people-block { padding: 0; overflow: hidden; }
.people-block > .week-heading { padding: 14px 16px 6px; }
.people-block .people-list { border: 0; border-radius: 0; }
.people-block > .week-heading + .people-list { border-top: 1px solid var(--line); }
.person-link-go { display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.person-link-go .icon { width: 16px; height: 16px; }
.people-none { margin: 4px 0 16px; }
.person-id { font-size: 14px; overflow-wrap: anywhere; }
.person-id-value { font-variant-numeric: tabular-nums; user-select: all; }
.account-block { display: grid; gap: 14px; }
.account-block > .week-heading { padding-bottom: 0; }
.name-form { display: grid; gap: 8px; max-width: 560px; }
.name-row { display: flex; gap: 8px; }
.name-row .text-input, .name-row select { flex: 1; min-width: 0; }
.name-row .btn { flex: none; }
.account-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.account-actions > form { display: contents; }
.account-stop { border-top: 1px solid var(--line); padding-top: 12px; }
.btn.btn-stop { color: var(--off-ink); padding-left: 10px; padding-right: 12px; }
.btn.btn-stop:hover { color: var(--off-ink); }
.account-password > summary { cursor: pointer; font-weight: 600; width: fit-content; }
.password-form { display: grid; gap: 12px; margin-top: 12px; max-width: 560px; }
.account-merge { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: var(--ink-2); }
.account-wrong { color: var(--off-ink); }
.code-screen { max-width: 520px; margin: 0 auto; text-align: center; }
.code-waiting, .code-done { display: grid; gap: 14px; justify-items: center; }
.code-screen h1 { overflow-wrap: anywhere; text-wrap: balance; }
.code-screen .lede { max-width: 36ch; text-wrap: balance; }
.qr-box {
  width: min(100%, 420px); aspect-ratio: 1; padding: 0; border-radius: 16px; overflow: hidden;
  background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow);
}
.qr { display: block; width: 100%; height: 100%; }
.code-left { font-size: 15px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.code-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.code-done { padding-top: 24px; }
.code-done-mark {
  display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%;
  background: var(--done-soft); color: var(--done);
}
.code-done-mark .icon { width: 44px; height: 44px; stroke-width: 2.5; }
.people-tools { margin-bottom: 10px; }
.people-tools .people-find { margin-bottom: 0; }
.pills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.pills-quiet { margin-bottom: 16px; }
.pills-label { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; margin-right: 2px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.pill:hover { color: var(--ink); border-color: var(--line-strong); }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill .icon { width: 16px; height: 16px; }
.pill-count { font-variant-numeric: tabular-nums; color: var(--ink-3); font-weight: 700; }
.pill.is-active .pill-count { color: var(--paper); opacity: 0.75; }
.glance-link { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.glance-link:hover { text-decoration-color: currentColor; }
.merge-with { margin-bottom: 16px; max-width: 560px; }
.merge-form { display: grid; gap: 14px; }
.merge-form > .btn { justify-self: start; }
.merge-sides { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .merge-sides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.merge-side {
  position: relative; display: grid; gap: 12px; padding: 16px; border-radius: 16px; cursor: pointer;
  background: var(--surface); border: 2px solid var(--line); min-width: 0;
}
.merge-side > input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.merge-side:has(> input:checked) { border-color: var(--done-strong); }
.merge-side:has(> input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.merge-side-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.merge-side-head .avatar { width: 40px; height: 40px; }
.merge-side-head > span { display: grid; min-width: 0; overflow-wrap: anywhere; }
.merge-side-head .muted { font-size: 14px; }
.merge-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.merge-facts dt { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.merge-facts dd { margin: 0; font-size: 15px; }
.merge-keep { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.merge-side:has(> input:checked) .merge-keep { color: var(--done); }
.setting-block { display: grid; gap: 0; padding-top: 4px; padding-bottom: 4px; }
.setting { display: grid; gap: 10px; padding: 14px 0; }
.setting + .setting { border-top: 1px solid var(--line); }
.setting-switch .switch-words { font-size: 17px; font-weight: 700; }
.setting-about { font-size: 14px; color: var(--ink-2); max-width: 72ch; }
.setting-choice fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.setting-choice legend {
  padding: 0; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.setting-choice .segmented { display: inline-flex; flex-wrap: wrap; }
.setting-choice label {
  position: relative; cursor: pointer; padding: 7px 12px; border-radius: 9px;
  font-weight: 600; font-size: 14px; color: var(--ink-2);
}
.setting-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.setting-choice label:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.setting-choice label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.setting-status { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.setting-status .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--done); }
.setting-status.is-off .icon { color: var(--ink-3); }
.setting-test { justify-self: start; }
.setting-code { font-size: 13px; padding: 1px 6px; border-radius: 6px; background: var(--sunken); color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.setting-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 20px; }
.setting-row > form, .setting-row > .btn { justify-self: end; }
.setting-name { font-size: 17px; }
@media (max-width: 599px) {
  .setting-row { grid-template-columns: minmax(0, 1fr); }
  .setting-row > form, .setting-row > .btn { justify-self: start; }
}
.night-line { font-size: 15px; color: var(--ink-2); margin: 2px 0 12px; }
.night-line strong { color: var(--ink); }
.night-line.is-off strong { color: var(--accent); }
.nights { margin-top: 14px; }
.nights > summary { font-size: 15px; padding: 6px 0; margin-bottom: 4px; }
.night-list { display: grid; }
.night-list .night-line { margin: 0; padding: 8px 0; font-size: 14px; }
.night-list .night-line + .night-line { border-top: 1px solid var(--line); }
.toolbar.fetch-bar { display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 12px; }
.fetch-bar > .btn { flex: none; }
@media (max-width: 719px) {
  .fetch-bar .history-month { flex: 1 1 auto; min-width: 0; width: auto; }
}
.fetch-night > .week-heading { align-items: center; }
.fetch-night > .week-heading .tag { position: relative; top: 0; }
.fetch-now {
  display: flex; gap: 8px; align-items: center; margin: 0 0 12px; padding: 10px 12px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand-text); font-size: 14px; font-weight: 600;
}
.fetch-now .icon { flex: none; width: 18px; height: 18px; }
.fetch-none { margin: 4px 0 2px; padding: 12px 14px; border-radius: 10px; background: var(--sunken); color: var(--ink-2); font-size: 14px; }
.fetch-steps { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--line); }
.fetch-step {
  position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 2px 14px;
  padding: 12px 0 12px 26px;
}
.fetch-step + .fetch-step { border-top: 1px solid var(--line); }
.fetch-step::before {
  content: ""; position: absolute; left: 4px; top: 17px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--done); box-shadow: 0 0 0 3px var(--done-soft);
}
.fetch-step.is-off::before { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fetch-step.is-partly::before { background: var(--c3); box-shadow: 0 0 0 3px var(--sunken); }
.fetch-step.is-note::before { background: var(--surface); border: 2px solid var(--brand-text); width: 10px; height: 10px; box-sizing: border-box; box-shadow: none; }
.fetch-time { padding-top: 2px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fetch-main { display: grid; gap: 3px; min-width: 0; }
.fetch-what { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15px; line-height: 1.35; }
.fetch-what strong { font-weight: 600; color: var(--ink); }
.fetch-step.is-note .fetch-what strong { color: var(--brand-text); }
.tag-again { padding: 0 8px; font-size: 12px; background: var(--brand-soft); color: var(--brand-text); }
.fetch-result { font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.fetch-result.fetch-failed { color: var(--off-ink); font-weight: 600; }
.fetch-subhead { margin: 14px 0 6px; font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.fetch-sources { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 6px; }
.fetch-source {
  position: relative; display: grid; gap: 1px; min-width: 0; padding: 8px 12px 8px 30px;
  border-radius: 10px; background: var(--sunken); font-size: 14px; line-height: 1.35;
}
.fetch-source::before {
  content: ""; position: absolute; left: 12px; top: 13px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--done);
}
.fetch-source.is-partly::before { background: var(--c3); }
.fetch-source.is-missed::before { background: var(--accent); }
.fetch-source.is-idle::before, .fetch-source.is-off::before { background: transparent; border: 2px solid var(--ink-3); box-sizing: border-box; }
.fetch-source strong { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.fetch-source-words { font-size: 13px; color: var(--ink-2); }
.fetch-source.is-missed .fetch-source-words { color: var(--off-ink); font-weight: 600; }
.tag-partly { background: var(--sunken); color: var(--ink); }
.fetch-said { display: grid; gap: 4px; margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); }
.fetch-said-label { font-size: 12px; font-weight: 700; color: var(--off-ink); text-transform: uppercase; letter-spacing: 0.05em; }
.fetch-said code {
  font: 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color: var(--ink); overflow-wrap: anywhere; white-space: pre-wrap;
}
@media (max-width: 559px) {
  .fetch-step { grid-template-columns: minmax(0, 1fr); padding-left: 24px; }
  .fetch-time { padding-top: 0; }
}
.log-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -4px 0 16px; min-height: 34px; }
.log-people { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 2px; }
.log-faces {
  display: flex; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  padding: 5px 5px 8px; margin: -3px -5px 0; min-width: 0;
}
.log-count {
  flex: none; margin-top: 2px; line-height: 28px; font-size: 13px; color: var(--ink-2);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.log-faces::-webkit-scrollbar { display: none; }
.log-face-link { flex: none; display: block; border-radius: 50%; text-decoration: none; }
.log-face-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.log-face-link .log-face { width: 28px; height: 28px; font-size: 12px; }
.log-face-link:hover .log-face { box-shadow: 0 0 0 2px var(--line-strong); }
.log-face.is-gone { background: var(--line-strong); }
.log-comic { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.log-comic:hover { text-decoration-color: currentColor; }
.log-what.is-account > .icon { color: var(--ink-2); }
.log-what.is-wrong > .icon { color: var(--off-ink); }
@media (max-width: 380px) {
  .tabs:has(> a:nth-child(4)) a { font-size: 11px; padding-left: 2px; padding-right: 2px; }
}
