/* Paper, ink and tea liquor. Light and dark follow the system. */
:root {
  --bg: #f3efe4;
  --surface: #fbf9f2;
  --surface-2: #ebe6d7;
  --ink: #1f2a24;
  --ink-2: #55615a;
  --ink-3: #737d74;
  --line: #ddd6c3;
  --green: #3f6b4a;
  --green-ink: #fbf9f2;
  --green-soft: #dfe8d6;
  --amber: #a9661c;
  --amber-soft: #f2e2c4;
  --danger: #a5402d;
  --star: #c58a1e;
  --shadow: 0 1px 2px rgba(40, 45, 30, .06), 0 4px 14px rgba(40, 45, 30, .05);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Noto Serif", "Source Serif 4", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --tabbar: 58px;
  /* liquor colours per category */
  --c-vitt: #d9cf9a; --c-gult: #dcb845; --c-gront: #86ab5e; --c-oolong: #c58436; --c-puer: #6b4226; --c-svart: #a5502a; --c-other: #9aa39b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151b18;
    --surface: #1e2622;
    --surface-2: #28322d;
    --ink: #e9e5d6;
    --ink-2: #b3b9ad;
    --ink-3: #8b9388;
    --line: #333e38;
    --green: #9cc48a;
    --green-ink: #13201a;
    --green-soft: #2a3a30;
    --amber: #e3a653;
    --amber-soft: #3d3122;
    --danger: #e58a76;
    --star: #e3b04f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    --c-vitt: #e6dcaa; --c-puer: #946242;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 var(--sans);
  overscroll-behavior-y: none;
}
body.sheet-open { overflow: hidden; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; touch-action: manipulation; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.muted { color: var(--ink-3); }
.grow { flex: 1; min-width: 0; }
.error { color: var(--danger); }
.danger { color: var(--danger); }

.c-vitt { --cat: var(--c-vitt); } .c-gult { --cat: var(--c-gult); } .c-gront { --cat: var(--c-gront); }
.c-oolong { --cat: var(--c-oolong); } .c-puer { --cat: var(--c-puer); } .c-svart { --cat: var(--c-svart); } .c-other { --cat: var(--c-other); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--cat, var(--c-other)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); flex: none; }

/* ── frame */
.top {
  position: sticky; top: 0; z-index: 5;
  padding: calc(var(--sat) + 6px) calc(var(--sar) + 12px) 6px calc(var(--sal) + 12px);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.top-row { display: flex; align-items: center; gap: 8px; min-height: 48px; }
.top h1 { font: 600 28px/1.1 var(--serif); letter-spacing: -.01em; flex: 1; padding-left: 4px; }
.top-title { flex: 1; text-align: center; color: var(--ink-2); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page { padding: 4px calc(var(--sar) + 16px) calc(var(--sab) + var(--tabbar) + 88px) calc(var(--sal) + 16px); max-width: 640px; margin: 0 auto; }
.top > * { max-width: 616px; margin-left: auto; margin-right: auto; }

.icon-btn { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--ink-2); flex: none; }
.icon-btn:active { background: var(--surface-2); }
.icon-btn.small { width: 40px; height: 40px; }
.icon-btn.small svg { width: 20px; height: 20px; }
.icon-btn[disabled] { opacity: .25; }
.icon-btn.danger { color: var(--danger); }

.btn {
  min-height: 48px; padding: 0 18px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; white-space: nowrap;
}
.btn:active { transform: translateY(1px); background: var(--surface-2); }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.btn-primary:active { background: var(--green); filter: brightness(.92); }
.btn-text { background: none; border-color: transparent; color: var(--green); padding: 0 10px; }
.btn-text.danger, .btn.danger { color: var(--danger); }
.btn.small { min-height: 40px; font-size: 14px; padding: 0 12px; border-radius: 12px; }
.btn-big { min-height: 60px; font-size: 19px; border-radius: 18px; padding: 0 22px; }
.btn-big b { font-variant-numeric: tabular-nums; margin-left: 4px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
  display: flex; justify-content: space-around;
  padding: 4px calc(var(--sar) + 8px) calc(var(--sab) + 4px) calc(var(--sal) + 8px);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.tab { flex: 1; max-width: 140px; min-height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 11px; color: var(--ink-3); border-radius: 12px; }
.tab svg { width: 23px; height: 23px; }
.tab.on { color: var(--green); font-weight: 600; }

.banner {
  position: fixed; z-index: 6; left: calc(var(--sal) + 10px); right: calc(var(--sar) + 10px); bottom: calc(var(--sab) + var(--tabbar) + 10px);
  max-width: 620px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; min-height: 56px;
  background: var(--ink); color: var(--bg); border-radius: 18px; box-shadow: 0 6px 22px rgba(0, 0, 0, .25);
  font-variant-numeric: tabular-nums;
}
.banner b { font-family: var(--serif); }
.banner-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 30%, transparent); }
.banner-go { font-weight: 600; opacity: .8; }
.banner.low { bottom: calc(var(--sab) + 12px); }

#toast {
  position: fixed; z-index: 30; left: 50%; bottom: calc(var(--sab) + 150px); transform: translate(-50%, 12px);
  max-width: min(88vw, 420px); padding: 11px 16px; border-radius: 14px; background: var(--ink); color: var(--bg);
  font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.err { background: var(--danger); color: #fff; }

.center-msg { min-height: 70vh; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; color: var(--ink-2); }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--green); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { color: var(--ink-3); padding: 18px 4px; }

/* ── unlock */
.unlock { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: calc(var(--sat) + 24px) 28px calc(var(--sab) + 24px); max-width: 440px; margin: 0 auto; text-align: center; }
.unlock img { border-radius: 22px; box-shadow: var(--shadow); }
.unlock h1 { font: 600 36px/1 var(--serif); }
.unlock p { color: var(--ink-2); }
.hanzi { font-size: 18px; letter-spacing: .3em; color: var(--ink-3) !important; margin: -8px 0 6px .3em; }
.unlock textarea { width: 100%; font: 15px/1.4 ui-monospace, Menlo, Consolas, monospace; word-break: break-all; }
.unlock .row { width: 100%; }
.unlock .btn { flex: 1; }
.colophon { color: var(--ink-3); font-size: 14px; text-align: center; padding: 18px 12px 0; }

/* ── list */
.search { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 6px 0 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-3); margin: 2px 0 10px; }
.search:focus-within { border-color: var(--green); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font-size: 17px; -webkit-appearance: none; appearance: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search-clear { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink-3); }
.search-clear svg { width: 18px; height: 18px; }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px 6px; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; font-size: 15px; }
.filter.on { background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 600; }

.group { font: 600 13px/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin: 26px 4px 10px; }
.group .count { font-weight: 400; opacity: .8; margin-left: 4px; }
.group-row { display: flex; align-items: flex-end; justify-content: space-between; }
.group-row .btn { margin-bottom: 0; min-height: 40px; }
.tea-list { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.tea-row { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-top: 1px solid var(--line); }
.tea-row:first-child { border-top: 0; }
.tea-row:active { background: var(--surface-2); }
.tea-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tea-row-name { font: 600 18px/1.25 var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tea-row-sub { font-size: 13.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tea-row-sub .times { color: var(--ink-3); margin-left: 4px; }
.tea-row-side { display: flex; flex-direction: column; align-items: flex-end; font-size: 12.5px; white-space: nowrap; gap: 2px; }
.mini-rating { color: var(--star); font-weight: 600; }
.tea-row.archived { opacity: .55; }

/* ── tea page */
.tea-name { font: 600 30px/1.12 var(--serif); letter-spacing: -.01em; margin: 6px 2px 10px; text-wrap: balance; overflow-wrap: anywhere; }
.tea-name::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--cat, var(--c-other)); margin-top: 12px; }
.general { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.stars { display: inline-flex; margin-left: -8px; }
.star { width: 44px; height: 44px; font-size: 28px; line-height: 44px; text-align: center; color: var(--line); }
.star.on { color: var(--star); }
.stars-ro { margin: 0; }
.stars-ro .star { width: auto; height: auto; font-size: 15px; line-height: 1; letter-spacing: 1px; }
.comment { text-align: left; width: 100%; padding: 10px 12px; border-radius: 12px; font: 17px/1.45 var(--serif); white-space: pre-wrap; background: none; margin-left: -12px; }
.comment:active { background: var(--surface-2); }
.comment-empty { color: var(--ink-3); font-style: italic; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); margin-bottom: 12px; }
.card h3 { font: 600 20px/1.2 var(--serif); }
.recipe { display: flex; flex-direction: column; gap: 10px; border-left: 4px solid var(--cat, var(--c-other)); }
.recipe-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.recipe-meta { color: var(--ink-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.recipe > .recipe-meta { margin-top: -6px; }
.badge { flex: none; font-size: 11.5px; font-weight: 600; letter-spacing: .03em; padding: 3px 9px; border-radius: 10px; white-space: nowrap; }
.badge-own { background: var(--green-soft); color: var(--green); }
.badge-vendor { background: var(--amber-soft); color: var(--amber); }
.badge-other, .badge-none { background: var(--surface-2); color: var(--ink-2); }
.badge-other { border: 1px dashed var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: baseline; gap: 5px; padding: 5px 10px 5px 6px; border-radius: 10px; background: var(--surface-2); font: 600 17px/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.chip i { font: 600 11px/1 var(--sans); color: var(--ink-3); min-width: 16px; text-align: center; align-self: center; }
.chip s { font-weight: 400; font-size: 13px; color: var(--ink-3); }
.chip-rinse { padding-left: 10px; font-weight: 400; font-size: 15px; color: var(--ink-2); background: none; border: 1px dashed var(--line); }
.basis { font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }

.log { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.log-head { display: flex; align-items: center; gap: 10px; min-height: 32px; }
.log-date { font-weight: 600; font-size: 14px; color: var(--ink-2); flex: 1; font-variant-numeric: tabular-nums; }
.log-head .icon-btn { margin: -6px -8px -6px 0; color: var(--ink-3); }
.log-brew { border-left: 4px solid var(--amber); }
.log-tea { display: inline-flex; align-items: center; gap: 8px; font: 600 18px/1.2 var(--serif); }
.inf-note { font-size: 15px; color: var(--ink-2); }
.inf-note b { color: var(--ink-3); font-weight: 600; }
details > summary { list-style: none; cursor: pointer; min-height: 48px; display: flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; padding: 0 4px; }
details > summary::-webkit-details-marker { display: none; }
details > summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(-45deg); transition: transform .15s; margin: 0 4px; }
details[open] > summary::before { transform: rotate(45deg); }
.about { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 4px; }

/* ── rendered notes */
.md { font: 17px/1.55 var(--serif); overflow-wrap: anywhere; }
.md > * + * { margin-top: .7em; }
.md a { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.md ul { margin: 0; padding-left: 1.2em; }
.md li + li { margin-top: .3em; }
.md-h { font: 600 17px/1.3 var(--sans); margin-top: 1.2em !important; }
.md blockquote { margin: 0; padding-left: 12px; border-left: 3px solid var(--line); color: var(--ink-2); }
.callout { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); font-size: 16px; }
.callout > * + * { margin-top: .6em; }
.callout-title { font: 600 14px/1.3 var(--sans); letter-spacing: .02em; color: var(--ink-2); }
.callout-tip { background: var(--green-soft); }
.callout-tip .callout-title { color: var(--green); }
.md-table { overflow-x: auto; margin-left: -4px; margin-right: -4px; }
.md table { border-collapse: collapse; font: 14px/1.35 var(--sans); min-width: 100%; overflow-wrap: normal; }
.md td:first-child { min-width: 7.5em; }
.md th, .md td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.md th { color: var(--ink-2); font-weight: 600; white-space: nowrap; }

/* ── sheets */
.sheet-backdrop { position: fixed; inset: 0; z-index: 20; background: rgba(10, 14, 12, .45); }
.sheet { position: fixed; z-index: 21; inset: calc(var(--sat) + 10px) 0 0 0; max-width: 640px; margin: 0 auto; background: var(--bg); border-radius: 22px 22px 0 0; display: flex; flex-direction: column; box-shadow: 0 -8px 30px rgba(0, 0, 0, .25); animation: rise .2s ease-out; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.sheet-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 6px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { flex: 1; font: 600 19px/1.2 var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px calc(var(--sar) + 16px) calc(var(--sab) + 40px) calc(var(--sal) + 16px); display: flex; flex-direction: column; gap: 16px; overscroll-behavior: contain; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row > .field { flex: 1; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.field-row { display: flex; gap: 12px; }
input[type=text], input[type=date], input[type=time], textarea, select {
  width: 100%; min-height: 48px; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 17px; outline: 0;
  -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; line-height: 1.45; font-family: var(--serif); }
input:focus, textarea:focus, select:focus { border-color: var(--green); }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 48px; padding: 6px 2px; }
.check input { width: 26px; height: 26px; flex: none; accent-color: var(--green); margin: 2px 0 0; }
.check-box { padding: 14px; border-radius: 14px; background: var(--green-soft); font-variant-numeric: tabular-nums; }

.ed-add-row { flex-wrap: nowrap; gap: 8px; }
.ed-add-row .btn { flex: 1 1 auto; padding: 0 8px; font-size: 15px; min-width: 0; }
.inf-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.inf-row { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 6px 10px 12px 14px; }
.inf-row.is-rinse { border-style: dashed; }
.inf-row-head { display: flex; align-items: center; justify-content: space-between; }
.inf-n { font-weight: 600; font-size: 14px; color: var(--ink-2); letter-spacing: .02em; }
.inf-tools { display: flex; }
.inf-row-body, .adjust { display: flex; gap: 10px; }
.stepper { flex: 1; min-width: 0; display: flex; align-items: stretch; height: 54px; border-radius: 14px; background: var(--surface-2); overflow: hidden; }
.stepper-temp { flex: .85; }
.step-btn { width: 46px; flex: none; font-size: 26px; line-height: 1; color: var(--ink-2); user-select: none; -webkit-user-select: none; touch-action: none; }
.step-btn:active { background: var(--line); }
.stepper label { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 1px; }
.stepper .step-val { width: 100%; min-height: 0; height: 100%; padding: 0; border: 0; border-radius: 0; background: none; text-align: center; font: 600 21px/1 var(--sans); font-variant-numeric: tabular-nums; }
.stepper-temp .step-val { text-align: right; width: 2.2em; flex: none; }
.unit { color: var(--ink-3); font-size: 14px; }
.stepper-sec .unit { display: none; }
.stepper:focus-within { box-shadow: inset 0 0 0 2px var(--green); }

/* ── session */
.session { padding-bottom: calc(var(--sab) + 130px); }
.steps { list-style: none; margin: 18px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.step { border-radius: 16px; }
.step-line { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px 0 10px; text-align: left; }
.tick { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; }
.tick svg { width: 16px; height: 16px; stroke-width: 2.6; }
.step-done .tick { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.step-name { flex: 1; font-weight: 600; }
.step-vals { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.step-vals b { color: var(--ink); font-size: 18px; }
.step-vals s { font-size: 13px; color: var(--ink-3); }
.step-todo, .step-skip { color: var(--ink-3); }
.step-todo .step-name, .step-skip .step-name { font-weight: 400; }
.step-done { background: var(--surface); border: 1px solid var(--line); }
.step-done .btn-text { margin: -8px 0 4px 40px; }
.step-note { margin: -6px 14px 12px 50px; font: 16px/1.4 var(--serif); color: var(--ink-2); }
.overrun { margin: 0 12px 12px 50px; font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.step-current { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 14px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; border-top: 4px solid var(--cat, var(--amber)); }
.step-current-head { display: flex; justify-content: space-between; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.step-current-head span:last-child:not(:first-child) { font-size: 20px; color: var(--ink); }
.step-current .btn-text { align-self: center; }
.dial { position: relative; width: min(64vw, 260px); aspect-ratio: 1; margin: 2px auto 4px; }
.dial svg { width: 100%; height: 100%; transform: rotate(-90deg); stroke-width: 6; }
.dial-bg { stroke: var(--surface-2); }
.dial-fg { stroke: var(--amber); transition: stroke-dashoffset .25s linear; }
.dial-time { position: absolute; inset: 0; display: grid; place-items: center; font: 300 clamp(52px, 17vw, 72px)/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.actionbar {
  position: fixed; z-index: 6; left: 0; right: 0; bottom: 0; display: flex; gap: 10px;
  padding: 12px calc(var(--sar) + 16px) calc(var(--sab) + 14px) calc(var(--sal) + 16px);
  background: linear-gradient(to top, var(--bg) 70%, transparent);
}
.actionbar > * { max-width: 640px; }

.more .card p { color: var(--ink-2); margin: 6px 0 12px; }

@media (min-width: 700px) {
  .tabbar { justify-content: center; }
  .actionbar { justify-content: center; }
  .actionbar .grow { flex: 0 1 420px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
