diff --git a/apps/web/index.html b/apps/web/index.html
index d0864e8..6fa8a6f 100644
--- a/apps/web/index.html
+++ b/apps/web/index.html
@@ -1 +1,15 @@
-
STTrackerSTTracker is starting…
+
+
+
+
+
+
+
+ STTracker
+
+
+
+
+
+
+
diff --git a/apps/web/src/fonts/Inter-OFL.txt b/apps/web/src/fonts/Inter-OFL.txt
new file mode 100644
index 0000000..40589da
--- /dev/null
+++ b/apps/web/src/fonts/Inter-OFL.txt
@@ -0,0 +1,93 @@
+Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter) Inter-Italic[opsz,wght].ttf: Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/apps/web/src/fonts/inter-latin-wght-normal.woff2 b/apps/web/src/fonts/inter-latin-wght-normal.woff2
new file mode 100644
index 0000000..d15208d
Binary files /dev/null and b/apps/web/src/fonts/inter-latin-wght-normal.woff2 differ
diff --git a/apps/web/src/theme.css b/apps/web/src/theme.css
new file mode 100644
index 0000000..b72bf29
--- /dev/null
+++ b/apps/web/src/theme.css
@@ -0,0 +1,377 @@
+/* STTracker app theme. Tokens are DESIGN.md's, verbatim; derived values sit below them. */
+
+@font-face {
+ font-family: "Inter";
+ src: url("./fonts/inter-latin-wght-normal.woff2") format("woff2");
+ font-weight: 100 900;
+ font-style: normal;
+ font-display: swap;
+}
+
+:root {
+ /* DESIGN.md */
+ --surface-0: #17152b;
+ --surface-1: #1e1b36;
+ --surface-2: #262247;
+ --surface-3: #2d2852;
+ --text: #ece9ff;
+ --text-muted: #a9a3d6;
+ --text-faint: #8d87c2;
+ --accent: #6d5dfc;
+ --rating: #fbbf24;
+ --warn: #f97316;
+ --ok: #34d399;
+
+ --media-books: #6b3fa0;
+ --media-audio: #2f6b58;
+ --media-games: #c1652f;
+ --media-film: #344b7a;
+ --media-music: #a33b62;
+
+ /* Derived (from the approved mockup) */
+ --nav-text: #b8b3e0;
+ --pill-text: #c9c4f0;
+ --dash: #4b4485;
+ --focus: #9d92ff;
+ --warn-bg: #3a2a1a;
+ --warn-line: #f9731666;
+ --warn-text: #fde2c8;
+ --on-warn: #1c0f04; /* white on --warn is 2.8:1; this is 6.4:1 */
+ --review-text: #e3e0fb;
+ --draft-stripes: repeating-linear-gradient(45deg, #3a356b 0 6px, #2d2852 6px 12px);
+
+ --r-control: 8px;
+ --r-box: 10px;
+ --r-pill: 999px;
+ --r-cover: 4px;
+
+ --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
+ --font-review: "Gelasio", Georgia, "Times New Roman", serif;
+ --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
+
+ color-scheme: dark;
+}
+
+* { box-sizing: border-box; margin: 0; padding: 0; }
+html, body, #root { height: 100%; }
+body {
+ background: var(--surface-1);
+ color: var(--text);
+ font-family: var(--font-ui);
+ font-size: 0.9rem;
+ line-height: 1.45;
+ font-feature-settings: "cv11", "ss01";
+ -webkit-font-smoothing: antialiased;
+ caret-color: var(--rating);
+}
+::selection { background: #6d5dfc80; color: #fff; }
+* { scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
+button, input, select, textarea { font: inherit; color: inherit; }
+button { cursor: pointer; background: none; border: 0; }
+button:disabled { cursor: default; opacity: 0.55; }
+a { color: inherit; text-decoration: none; }
+a.text-link, .text-link { color: var(--focus); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
+:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
+.sr-only {
+ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
+ overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
+}
+.tabular { font-variant-numeric: tabular-nums; }
+svg.icon { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
+
+/* ---------- Controls ---------- */
+.input, .select, .textarea {
+ width: 100%;
+ background: var(--surface-3);
+ border: 1px solid transparent;
+ border-radius: var(--r-control);
+ padding: 8px 11px;
+ color: var(--text);
+ transition: border-color 0.15s, background 0.15s;
+}
+.input::placeholder, .textarea::placeholder { color: var(--text-muted); }
+.input:hover, .select:hover, .textarea:hover { border-color: var(--dash); }
+.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; border-color: var(--focus); }
+.select { appearance: none; padding-right: 30px; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
+.btn {
+ display: inline-flex; align-items: center; gap: 6px;
+ border-radius: var(--r-control); padding: 7px 13px; font-size: 0.82rem; font-weight: 500;
+ background: var(--surface-3); color: var(--text);
+ transition: background 0.15s;
+}
+.btn:hover:not(:disabled) { background: #3a346a; }
+.btn.primary { background: var(--accent); color: #fff; }
+.btn.primary:hover:not(:disabled) { background: #7c6dff; }
+.btn.ghost { background: transparent; color: var(--text-muted); padding: 5px 8px; }
+.btn.ghost:hover:not(:disabled) { background: var(--surface-3); color: var(--text); }
+.btn.small { padding: 4px 9px; font-size: 0.76rem; }
+.field { display: grid; gap: 5px; }
+.field > span { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
+.hint { font-size: 0.76rem; color: var(--text-faint); }
+.error-text { font-size: 0.8rem; color: #ffb4a8; }
+.box .hint, .box .error-text { margin-top: 6px; }
+
+/* ---------- Auth screens ---------- */
+.auth {
+ min-height: 100%;
+ display: grid; place-items: center;
+ padding: 40px 20px;
+ background:
+ radial-gradient(60rem 40rem at 85% -10%, #6d5dfc22, transparent 60%),
+ radial-gradient(40rem 30rem at -10% 110%, #fbbf2412, transparent 60%),
+ var(--surface-0);
+}
+.auth-card { width: min(400px, 100%); }
+.auth .logo { font-size: 1.15rem; margin: 0 0 28px; }
+.auth h1 { font-size: 1.6rem; line-height: 1.2; font-weight: 650; letter-spacing: -0.015em; text-wrap: balance; }
+.auth .lede { color: var(--text-muted); margin: 8px 0 26px; max-width: 42ch; }
+.auth form { display: grid; gap: 14px; }
+.auth form .btn.primary { justify-content: center; padding: 10px 14px; font-size: 0.9rem; margin-top: 6px; }
+.auth .alt { margin-top: 22px; color: var(--text-muted); font-size: 0.85rem; }
+.form-error { background: #3a1d24; border: 1px solid #f8717155; color: #ffd4d4; border-radius: var(--r-control); padding: 9px 12px; font-size: 0.84rem; }
+
+/* ---------- Shell ---------- */
+.logo { font-weight: 700; font-size: 1.05rem; color: var(--rating); letter-spacing: -0.01em; display: inline-block; }
+.shell { display: grid; grid-template-columns: 190px minmax(0, 1fr); height: 100%; }
+.side {
+ background: var(--surface-0); padding: 20px 14px 14px;
+ display: flex; flex-direction: column; overflow-y: auto;
+}
+.side .logo { margin: 0 8px 20px; }
+.side nav { display: flex; flex-direction: column; gap: 1px; }
+.nav {
+ padding: 7px 10px; border-radius: var(--r-control); color: var(--nav-text);
+ display: flex; justify-content: space-between; align-items: center; gap: 8px;
+ transition: background 0.15s, color 0.15s;
+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
+}
+.nav:hover { background: #221f40; color: var(--text); }
+.nav[aria-current="page"] { background: var(--surface-3); color: #fff; }
+.nav .count { background: var(--warn); color: var(--on-warn); font-weight: 650; border-radius: var(--r-pill); font-size: 0.72rem; padding: 1px 7px; line-height: 1.4; }
+.nav .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
+.nav .dot.paused { background: var(--dash); }
+.nav .name { overflow: hidden; text-overflow: ellipsis; }
+.grp { color: var(--text-faint); font-size: 0.78rem; margin: 18px 10px 6px; font-weight: 500; }
+.side-foot { margin-top: auto; padding: 14px 10px 0; display: grid; gap: 2px; font-size: 0.8rem; }
+.side-foot .who { color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+.side-foot button { justify-self: start; color: var(--text-faint); padding: 2px 0; }
+.side-foot button:hover { color: var(--text); }
+.main { min-width: 0; height: 100%; overflow: hidden; }
+
+/* ---------- Library ---------- */
+.library { display: grid; grid-template-columns: 360px minmax(0, 1fr); height: 100%; }
+.list-pane { border-right: 1px solid var(--surface-3); display: flex; flex-direction: column; min-height: 0; }
+.list-tools { padding: 18px 16px 10px; display: grid; gap: 12px; }
+.search { position: relative; }
+.search .icon { position: absolute; left: 11px; top: 50%; translate: 0 -50%; color: var(--text-muted); pointer-events: none; }
+.search .input { padding-left: 33px; }
+.quick { position: relative; }
+.quick .input {
+ background: transparent; border: 1px dashed var(--dash); color: var(--pill-text); padding-left: 32px;
+}
+.quick .input::placeholder { color: var(--pill-text); }
+.quick .input:hover { border-color: #6a62b0; }
+.quick .input:focus-visible { border-style: solid; border-color: var(--rating); background: #221f40; }
+.quick .plus { position: absolute; left: 11px; top: 50%; translate: 0 -50%; color: var(--rating); pointer-events: none; }
+.quick .plus .icon { stroke-width: 2.25; }
+.chips { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; padding: 2px 24px 2px 2px; margin: -2px -16px -2px -2px; mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
+.chips::-webkit-scrollbar { display: none; }
+.chip {
+ flex: none; border-radius: var(--r-pill); padding: 3px 10px; font-size: 0.76rem;
+ background: transparent; color: var(--text-muted); border: 1px solid var(--surface-3);
+ transition: background 0.15s, color 0.15s, border-color 0.15s;
+}
+.chip:hover { color: var(--text); border-color: var(--dash); }
+.chip[aria-pressed="true"] { background: var(--surface-3); color: #fff; border-color: var(--surface-3); }
+.chip.draft-chip[aria-pressed="true"] { color: var(--rating); border-color: #fbbf2466; background: #fbbf2414; }
+.filters { display: grid; gap: 6px; }
+.list { list-style: none; overflow-y: auto; flex: 1; padding-bottom: 12px; }
+.row {
+ display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center;
+ padding: 9px 16px; transition: background 0.12s;
+}
+.row:hover { background: #24204a; }
+.row[aria-current="page"] { background: var(--surface-3); }
+.row:focus-visible { outline-offset: -2px; border-radius: 0; }
+.row .title { font-size: 0.88rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
+.row .meta { color: var(--text-muted); font-size: 0.76rem; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+.row .end { display: flex; align-items: center; gap: 8px; }
+.row .stars { font-size: 0.75rem; }
+.flag { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); flex: none; }
+.flag.active { background: var(--accent); }
+.draft { font-size: 0.7rem; color: var(--rating); border: 1px solid #fbbf2466; border-radius: 4px; padding: 1px 5px; line-height: 1.35; }
+.stars { color: var(--rating); letter-spacing: 2px; white-space: nowrap; }
+.list-note { padding: 18px 16px; color: var(--text-muted); font-size: 0.85rem; display: grid; gap: 10px; justify-items: start; }
+.list-note strong { color: var(--text); font-weight: 600; }
+.more { margin: 10px 16px; }
+.skeleton .cover, .skeleton .bar { background: var(--surface-2); }
+.skeleton .bar { height: 10px; border-radius: 4px; width: 70%; }
+.skeleton .bar + .bar { width: 40%; margin-top: 7px; height: 8px; }
+@media (prefers-reduced-motion: no-preference) {
+ .skeleton { animation: pulse 1.4s ease-in-out infinite; }
+ @keyframes pulse { 50% { opacity: 0.55; } }
+}
+
+/* ---------- Covers ---------- */
+.cover { width: 40px; height: 56px; border-radius: 3px; overflow: hidden; flex: none; background: var(--surface-2); }
+.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
+.cover.is-draft { background: var(--draft-stripes); }
+.cover.large { width: 110px; height: 160px; border-radius: 5px; box-shadow: 0 6px 20px #0006; }
+.cover.small { width: 28px; height: 40px; border-radius: 3px; }
+
+/* ---------- Detail ---------- */
+.detail-pane { overflow-y: auto; min-width: 0; position: relative; }
+.detail { padding: 22px 26px 40px; max-width: 980px; }
+.detail-empty { height: 100%; display: grid; place-items: center; padding: 40px; text-align: center; color: var(--text-muted); }
+.detail-empty p { max-width: 34ch; }
+.detail-empty strong { display: block; color: var(--text); font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
+.back { display: none; }
+.det-head { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; }
+.det-head h1 { font-size: 1.45rem; line-height: 1.2; font-weight: 650; letter-spacing: -0.012em; text-wrap: balance; }
+.det-head .m { color: var(--text-muted); margin: 4px 0 12px; }
+.det-head .draft { margin-left: 8px; vertical-align: 3px; }
+.det-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
+.det-controls .select { width: auto; padding-top: 5px; padding-bottom: 5px; font-size: 0.82rem; }
+.det-tools { margin-left: auto; display: flex; gap: 4px; }
+.pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
+.pill { background: var(--surface-3); padding: 3px 4px 3px 10px; border-radius: var(--r-pill); font-size: 0.76rem; color: var(--pill-text); display: inline-flex; align-items: center; gap: 2px; }
+.pill button { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--text-muted); }
+.pill button:hover { background: #ffffff14; color: var(--text); }
+.pill button .icon { width: 11px; height: 11px; stroke-width: 2.25; }
+.tag-input { background: transparent; border: 1px dashed var(--dash); border-radius: var(--r-pill); padding: 2px 10px; font-size: 0.76rem; width: 96px; color: var(--pill-text); }
+.tag-input::placeholder { color: var(--text-muted); }
+.tag-input:focus-visible { outline: none; border-style: solid; border-color: var(--focus); width: 150px; }
+
+/* Rating control */
+.rating { display: inline-flex; align-items: center; gap: 2px; border-radius: 6px; padding: 2px; cursor: pointer; }
+.rating svg { width: 20px; height: 20px; display: block; }
+.rating .empty { fill: none; stroke: #6a62b0; stroke-width: 1.4; }
+.rating .full { fill: var(--rating); stroke: var(--rating); stroke-width: 1.4; }
+.rating-clear { margin-left: 6px; font-size: 0.74rem; color: var(--text-faint); padding: 2px 4px; border-radius: 4px; }
+.rating-clear:hover { color: var(--text); }
+.rating-number { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 0.82rem; }
+.rating-number .input { width: 72px; padding: 5px 8px; }
+
+/* Change alert */
+.alert {
+ margin: 18px 0 14px; background: var(--warn-bg); border: 1px solid var(--warn-line);
+ border-radius: var(--r-box); padding: 11px 14px; display: flex; gap: 12px; align-items: center;
+}
+.alert p { flex: 1; color: var(--warn-text); font-size: 0.85rem; line-height: 1.4; }
+.alert p b { font-weight: 650; }
+.alert .btn { background: var(--warn); color: var(--on-warn); font-weight: 600; border-radius: 6px; padding: 6px 12px; font-size: 0.8rem; white-space: nowrap; }
+.alert .btn:hover { background: #fb8a3c; }
+
+/* Boxes */
+.det-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
+.alert + .det-grid, .alert + .link-box { margin-top: 0; }
+.box { background: var(--surface-2); border-radius: var(--r-box); padding: 12px 14px; min-width: 0; }
+.box.wide { grid-column: 1 / -1; }
+.box-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; min-height: 22px; }
+.box h2 { font-size: 0.78rem; color: var(--text-faint); font-weight: 600; }
+.box .r { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 0; font-size: 0.84rem; }
+.box .r > :first-child { color: var(--text-muted); }
+.box .r > :last-child { text-align: right; }
+.box .r .x { opacity: 0; transition: opacity 0.15s; }
+.box .r:hover .x, .box .r .x:focus-visible { opacity: 1; }
+.box .empty-line { color: var(--text-muted); font-size: 0.84rem; }
+.box form { display: grid; gap: 10px; margin-top: 8px; }
+.box form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
+.box form .actions { display: flex; gap: 6px; }
+.box .input, .box .select { padding: 6px 9px; font-size: 0.84rem; }
+.box .search .input { padding-left: 33px; }
+.copy + .copy { border-top: 1px solid var(--surface-3); margin-top: 6px; padding-top: 6px; }
+.thumbs { display: flex; gap: 6px; flex-wrap: wrap; }
+.thumb { width: 58px; height: 44px; border-radius: 4px; background-color: var(--surface-3); background-size: cover; background-position: center; display: grid; place-items: center; font-size: 0.66rem; color: var(--text-muted); overflow: hidden; text-align: center; padding: 2px; }
+.thumb.upload { border: 1px dashed var(--dash); background: transparent; color: var(--text-muted); cursor: pointer; }
+.thumb.upload:hover { color: var(--text); border-color: #6a62b0; }
+.thumb.upload:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
+.src { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 0.84rem; }
+.src i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
+.src i.paused { background: var(--dash); }
+.children { list-style: none; }
+.children a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 5px 6px; margin: 0 -6px; border-radius: 6px; font-size: 0.84rem; }
+.children a:hover { background: var(--surface-3); }
+.children .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+.children .s { color: var(--text-muted); font-size: 0.76rem; margin-left: 8px; }
+.children .stars { font-size: 0.72rem; }
+.review textarea {
+ width: 100%; min-height: 7.5em; resize: vertical; background: transparent; border: 1px solid transparent;
+ border-radius: var(--r-control); padding: 6px 8px; margin: -6px -8px -4px; width: calc(100% + 16px);
+ font-family: var(--font-review); font-size: 0.95rem; line-height: 1.55; color: var(--review-text);
+}
+.review textarea::placeholder { color: var(--text-faint); font-style: italic; }
+.review textarea:hover { border-color: var(--surface-3); }
+.review textarea:focus-visible { outline: none; border-color: var(--focus); background: #211d40; }
+.saved { font-size: 0.74rem; color: var(--text-faint); }
+.custom { display: grid; gap: 10px; }
+.custom .checks { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.84rem; }
+.custom label.inline { display: inline-flex; gap: 6px; align-items: center; font-size: 0.84rem; }
+input[type="checkbox"] { accent-color: var(--accent); width: 15px; height: 15px; }
+
+/* Link to catalogue */
+.link-box { margin: 18px 0 14px; border: 1px solid #fbbf2440; background: #fbbf240a; }
+.link-box p { color: var(--text-muted); font-size: 0.84rem; max-width: 70ch; }
+.link-box .results { list-style: none; margin-top: 10px; display: grid; gap: 4px; }
+.link-box .results li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 5px 6px; border-radius: 6px; font-size: 0.84rem; }
+.link-box .results li:hover { background: var(--surface-3); }
+.link-box .results .m { color: var(--text-muted); font-size: 0.76rem; }
+.link-box .results .acts { display: flex; gap: 4px; }
+.link-box .search { margin-top: 12px; max-width: 420px; }
+.sub { font-size: 0.74rem; color: var(--text-faint); font-weight: 600; margin-top: 12px; }
+
+/* History drawer */
+.drawer {
+ position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 100vw); z-index: 20;
+ background: var(--surface-0); border-left: 1px solid var(--surface-3);
+ box-shadow: -18px 0 40px #0008; display: flex; flex-direction: column;
+}
+@media (prefers-reduced-motion: no-preference) {
+ .drawer { animation: drawer-in 0.32s var(--ease-out); }
+ @keyframes drawer-in { from { translate: 24px 0; opacity: 0; } }
+}
+.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 12px; }
+.drawer h2 { font-size: 1rem; font-weight: 650; }
+.drawer ol { list-style: none; overflow-y: auto; padding: 0 20px 24px; }
+.drawer li { border-top: 1px solid var(--surface-3); padding: 12px 0; display: grid; gap: 6px; }
+.drawer .when { display: flex; justify-content: space-between; gap: 10px; font-size: 0.78rem; color: var(--text-muted); }
+.drawer .who { color: var(--text); font-weight: 550; }
+.drawer dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 10px; font-size: 0.8rem; }
+.drawer dt { color: var(--text-faint); }
+.drawer dd { overflow-wrap: anywhere; }
+.drawer dd s { color: var(--text-faint); text-decoration-color: #8d87c299; }
+.drawer .arrow { color: var(--text-faint); margin: 0 4px; }
+
+/* Placeholder pages */
+.page { padding: 28px 32px; max-width: 60ch; }
+.page h1 { font-size: 1.3rem; font-weight: 650; margin-bottom: 8px; }
+.page p { color: var(--text-muted); }
+.boot { height: 100%; display: grid; place-items: center; background: var(--surface-0); }
+
+/* ---------- Responsive ---------- */
+@media (max-width: 1180px) {
+ .library { grid-template-columns: 320px minmax(0, 1fr); }
+ .det-grid { grid-template-columns: 1fr; }
+}
+@media (max-width: 860px) {
+ .shell { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
+ .side { flex-direction: row; align-items: center; gap: 4px; padding: 10px 12px; overflow-x: auto; overflow-y: hidden; border-bottom: 1px solid var(--surface-3); scrollbar-width: none; }
+ .side::-webkit-scrollbar { display: none; }
+ .side .logo { margin: 0 10px 0 4px; }
+ .side nav { flex-direction: row; }
+ .side .grp, .side .src-nav, .side-foot .who { display: none; }
+ .side-foot { margin: 0 0 0 auto; padding: 0 4px; }
+ .side-foot button { white-space: nowrap; }
+ .library { grid-template-columns: 1fr; }
+ .library.has-selection .list-pane { display: none; }
+ .library:not(.has-selection) .detail-pane { display: none; }
+ .list-pane { border-right: 0; }
+ .back { display: inline-flex; margin: 0 0 14px -8px; }
+ .detail { padding: 16px 16px 40px; }
+ .det-head { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
+ .cover.large { width: 84px; height: 122px; }
+ .det-head h1 { font-size: 1.2rem; }
+ .det-tools { margin-left: 0; }
+ .alert { flex-direction: column; align-items: stretch; }
+ .box form .two { grid-template-columns: 1fr; }
+}