/* Leeslog — tokens come from DESIGN.md. Agents keep them in sync. */
:root { --bg:#f4efe4; --card:#fdfaf2; --line:#ddd3bd; --text:#2a2620; --muted:#7a6f5d; --accent:#8b5e34; --accent-deep:#6e4826; --ok:#3f6b4f; --bad:#b3492f; --font-display: Georgia, "Times New Roman", serif; --font-body: Georgia, "Times New Roman", serif; --input:#faf6ec; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 650; letter-spacing: .01em; }
a { color: var(--accent); text-decoration: none; }
* { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
::-webkit-scrollbar { width: 10px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.wrap { max-width: 860px; margin: 0 auto; padding: 22px 16px 60px; }
header { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.brand { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.dot { color: var(--accent); }
.center { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.box { width: 360px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-bottom: 16px; }
.card h2 { margin: 0 0 12px; font-size: 17px; }
.muted { color: var(--muted); } .note { color: var(--muted); font-size: 13.5px; font-style: italic; }
.err { color: var(--bad); font-size: 14px; }
button, .btn { padding: 9px 16px; border-radius: 7px; border: 1px solid var(--accent); background: var(--accent); color: var(--bg); font: 650 15px/1.3 var(--font-body); cursor: pointer; }
button.ghost { background: transparent; color: var(--accent); }
button.quiet { background: var(--card); border-color: var(--line); color: var(--text); font-weight: 400; }
button.plain { background: transparent; border-color: var(--line); color: var(--muted); font-weight: 400; }
button:hover { filter: brightness(1.08); } button:disabled { opacity: .5; cursor: default; }
input, select, textarea { width: 100%; padding: 10px 12px; border-radius: 7px; border: 1px solid var(--line); background: var(--input, color-mix(in srgb, var(--bg) 88%, black)); color: var(--text); font: inherit; }
label { display: block; color: var(--muted); font-size: 13px; margin: 10px 0 4px; }
ul.plain { list-style: none; margin: 6px 0 0; padding: 0; }
ul.plain li { padding: 10px 2px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; min-height: 44px; }
ul.plain li:last-child { border-bottom: none; }
.meta { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
:is(a, button, input, select, [tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* leeslog */
nav { display:flex; gap:4px; } nav a { padding:6px 12px; border-radius:7px; color:var(--muted); font-size:15px; }
nav a.on { color:var(--card); background:var(--accent); font-weight:650; }
.spacer { flex:1; } .spread { justify-content:space-between; align-items:center; }
.hello { font-family:var(--font-display); font-size:clamp(23px,5vw,30px); margin:4px 0 18px; }
.sectiontitle { font-family:var(--font-display); margin:8px 0 12px; }
.statline { display:flex; gap:22px; flex-wrap:wrap; margin:6px 0 20px; color:var(--muted); }
.statline b { font-family:var(--font-display); font-size:20px; color:var(--text); }
.stars, .star { color:var(--accent); } .star { cursor:pointer; opacity:.3; font-size:20px; } .star.on { opacity:1; }
.rate .star { font-size:22px; }
/* the boekenplank */
.plank { margin-bottom:20px; }
.books { display:flex; gap:5px; align-items:flex-end; overflow-x:auto; padding:8px 6px 0; min-height:150px; }
.spine { flex:none; width:38px; height:150px; border-radius:3px 3px 0 0; box-shadow:inset -3px 0 6px rgb(0 0 0 / .25), 0 2px 4px rgb(0 0 0 / .2);
  display:flex; align-items:flex-end; justify-content:center; padding:8px 4px; text-decoration:none; transition:transform .12s; }
.spine:hover { transform:translateY(-6px); }
.spine span { writing-mode:vertical-rl; transform:rotate(180deg); color:#fdfaf2; font:600 12px/1.1 var(--font-display); white-space:nowrap; overflow:hidden; max-height:132px; text-shadow:0 1px 2px rgb(0 0 0 / .4); }
.shelfboard { height:12px; background:linear-gradient(var(--accent),var(--accent-deep)); border-radius:0 0 4px 4px; box-shadow:0 3px 6px rgb(0 0 0 / .25); }
.bookhead { display:flex; gap:16px; align-items:flex-start; }
.spine.big { width:44px; height:120px; }
select { width:auto; padding:7px 9px; }
