:root {
  --bg: #07070a;
  --text: #f1f1f3;
  --muted: #9a9aa6;
  --accent: #ff4d4d;
  --accent-2: #ff8a5c;
  --ok: #3ddc84;
  --warn: #f5c542;

  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --glass-brd: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.1);
  --blur: 20px;

  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; }
code {
  font-family: var(--mono); font-size: .9em;
  background: rgba(255,255,255,.08); padding: 2px 7px; border-radius: 7px;
  border: 1px solid var(--line);
}

.wrap { width: min(1040px, 100% - 32px); margin-inline: auto; }

/* ───────── Animated background (what the glass blurs) ───────── */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.b1 { width: 48vmax; height: 48vmax; left: -14vmax; top: -12vmax;
      background: radial-gradient(circle at 30% 30%, #ff4d4d, transparent 65%);
      animation: float1 24s ease-in-out infinite alternate; }
.b2 { width: 44vmax; height: 44vmax; right: -12vmax; top: 18vh;
      background: radial-gradient(circle at 60% 40%, #7a5cff, transparent 65%);
      animation: float2 28s ease-in-out infinite alternate; }
.b3 { width: 40vmax; height: 40vmax; left: 20vw; bottom: -16vmax;
      background: radial-gradient(circle at 50% 50%, #1fb6ff, transparent 65%);
      opacity: .4;
      animation: float3 32s ease-in-out infinite alternate; }
.grain {
  position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 3px 3px;
}

@keyframes float1 { from { transform: translate(0,0) scale(1); }   to { transform: translate(18vw, 14vh) scale(1.2); } }
@keyframes float2 { from { transform: translate(0,0) scale(1.1); } to { transform: translate(-20vw, -12vh) scale(.9); } }
@keyframes float3 { from { transform: translate(0,0) scale(1); }   to { transform: translate(14vw, -16vh) scale(1.25); } }

/* ───────── Liquid glass surfaces ───────── */
.top,
.setup,
.card,
details,
.about,
.empty,
input[type="search"],
select,
.chip {
  -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
  backdrop-filter: blur(var(--blur)) saturate(180%);
}

.card,
details,
.about,
.empty,
.setup {
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid var(--glass-brd);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, .35),
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -1px 0 rgba(255, 255, 255, .04);
}

/* Specular highlight that follows the cursor */
.card, .about, .setup .cell { position: relative; }
.card::before,
.about::before,
.setup .cell::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.16), transparent 45%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.card:hover::before,
.about:hover::before,
.setup .cell:hover::before { opacity: 1; }

/* ───────── Header ───────── */
.top {
  position: sticky; top: 10px; z-index: 10;
  width: min(1040px, 100% - 24px);
  margin: 10px auto 0;
  border-radius: 999px;
  background: rgba(20, 20, 26, .45);
  border: 1px solid var(--glass-brd);
  box-shadow: 0 8px 32px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.2);
  animation: dropIn .8s var(--ease) both;
}
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 22px; width: 100%; }
.brand { text-decoration: none; font-family: var(--mono); font-weight: 700; letter-spacing: .02em; }
.brand-mark { color: var(--accent); text-shadow: 0 0 18px rgba(255,77,77,.7); animation: glowPulse 3.2s ease-in-out infinite; }
.brand-sep { color: var(--muted); margin: 0 4px; }
.brand-sub { color: var(--text); }
.nav { display: flex; gap: 6px; }
.nav a {
  text-decoration: none; color: var(--muted); font-size: .9rem;
  padding: 6px 12px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.1); }

@keyframes dropIn { from { opacity: 0; transform: translateY(-24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes glowPulse { 0%,100% { text-shadow: 0 0 10px rgba(255,77,77,.5); } 50% { text-shadow: 0 0 22px rgba(255,77,77,.95); } }

/* ───────── Hero ───────── */
.hero { padding: 76px 0 40px; }
.hero > * { animation: fadeUp .9s var(--ease) both; }
.hero > :nth-child(1) { animation-delay: .1s; }
.hero > :nth-child(2) { animation-delay: .2s; }
.hero > :nth-child(3) { animation-delay: .3s; }
.hero > :nth-child(4) { animation-delay: .42s; }

.eyebrow { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; color: var(--muted); margin: 0 0 16px; }
h1 { font-size: clamp(2rem, 5.5vw, 3.7rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; font-weight: 700; }
.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2), #ff4d9a, var(--accent));
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradientShift 7s linear infinite;
}
.lead { max-width: 640px; color: var(--muted); font-size: 1.05rem; margin: 0 0 32px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes gradientShift { to { background-position: 250% 0; } }

/* Setup panel */
.setup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.setup .cell { background: rgba(14, 14, 20, .5); padding: 16px 18px; transition: background .25s; }
.setup .cell:hover { background: rgba(255,255,255,.07); }
.setup .k { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.setup .v { font-weight: 600; margin-top: 4px; word-break: break-word; }

/* ───────── Sections ───────── */
section.wrap { padding: 36px 0; }
.section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
h2 { margin: 0; font-size: 1.55rem; letter-spacing: -.02em; }
.count { font-family: var(--mono); font-size: .8rem; color: var(--muted); }

/* Scroll reveal (class added by script.js) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ───────── Toolbar ───────── */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
input[type="search"], select {
  background: rgba(255,255,255,.07);
  border: 1px solid var(--glass-brd);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 16px;
  font: inherit; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input[type="search"] { flex: 1 1 260px; }
input[type="search"]::placeholder { color: var(--muted); }
input[type="search"]:focus, select:focus {
  outline: none;
  background: rgba(255,255,255,.1);
  border-color: rgba(255,77,77,.7);
  box-shadow: 0 0 0 4px rgba(255,77,77,.18), inset 0 1px 0 rgba(255,255,255,.2);
}
select option { background: #15151b; color: var(--text); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--glass-brd);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  font: inherit; font-size: .85rem;
  cursor: pointer;
  transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.chip:hover { color: var(--text); transform: translateY(-2px); background: rgba(255,255,255,.12); }
.chip:active { transform: scale(.96); }
.chip.active {
  background: rgba(255,255,255,.92); color: #0a0a0d; font-weight: 600;
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(255,255,255,.22);
}
.chip small { opacity: .6; margin-left: 5px; font-family: var(--mono); }

/* ───────── File cards ───────── */
.list { display: grid; gap: 12px; }
.card {
  padding: 18px 20px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  align-items: center;
  animation: cardIn .6s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 55ms);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 18px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(255,255,255,.06);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(22px) scale(.98); } to { opacity: 1; transform: none; } }

.card h3 { margin: 0; font-size: 1.02rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.meta { font-family: var(--mono); font-size: .76rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.notes { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; margin: 4px 0 0; }
.actions { display: flex; gap: 8px; align-items: center; }

.tag {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px; border: 1px solid var(--glass-brd);
  background: rgba(255,255,255,.05); font-weight: 500;
}
.tag.cat { color: var(--muted); }
.tag.daily { color: var(--ok); border-color: rgba(61,220,132,.4); background: rgba(61,220,132,.1); }
.tag.tested { color: #6bd68f; border-color: rgba(107,214,143,.35); background: rgba(107,214,143,.07); }
.tag.partial { color: var(--warn); border-color: rgba(245,197,66,.4); background: rgba(245,197,66,.09); }
.tag.untested { color: var(--muted); }

/* Glossy buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-block;
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 55%), var(--accent);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 6px 20px rgba(255,77,77,.35), inset 0 1px 0 rgba(255,255,255,.45);
  padding: 9px 18px;
  border-radius: 999px;
  font: inherit; font-size: .88rem; font-weight: 600;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,77,77,.5), inset 0 1px 0 rgba(255,255,255,.5); }
.btn:hover::after { animation: sweep .8s var(--ease); }
.btn:active { transform: scale(.96); }
@keyframes sweep { to { left: 140%; } }

.btn.ghost {
  background: rgba(255,255,255,.08); color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
  border-color: var(--glass-brd);
}
.btn.ghost:hover { background: rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.btn.ghost::after { display: none; }
.btn.disabled { background: rgba(255,255,255,.05); border-color: var(--line); color: var(--muted); cursor: not-allowed; pointer-events: none; box-shadow: none; }
.btn.disabled::after { display: none; }
.btn.small { padding: 7px 13px; font-size: .78rem; font-family: var(--mono); font-weight: 500; }

.empty { color: var(--muted); text-align: center; padding: 40px 20px; border-style: dashed; border-radius: var(--radius); margin: 0; }

/* ───────── Guides ───────── */
.guides { display: grid; gap: 12px; }
details {
  border-radius: var(--radius);
  padding: 0 20px;
  transition: border-color .3s, background .3s;
}
details:hover { border-color: rgba(255,255,255,.26); }
details[open] { padding-bottom: 18px; background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); }
summary { cursor: pointer; padding: 17px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; font-family: var(--mono); color: var(--muted);
  width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.08);
  transition: transform .35s var(--ease), background .2s;
}
details[open] summary::after { content: "–"; transform: rotate(180deg); background: rgba(255,77,77,.25); color: #fff; }
details ol { margin: 0; padding-left: 20px; color: var(--muted); }
details[open] ol { animation: fadeUp .45s var(--ease) both; }
details li { margin: 7px 0; }

/* ───────── Changelog ───────── */
.log { list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(255,255,255,.14); }
.log li { position: relative; padding: 0 0 24px 24px; }
.log li::before {
  content: ""; position: absolute; left: -6px; top: 7px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,77,77,.18), 0 0 16px rgba(255,77,77,.8);
}
.log .date { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.log .title { font-weight: 600; margin: 2px 0; }
.log .desc { color: var(--muted); font-size: .92rem; margin: 0; }

/* ───────── About ───────── */
.about { border-radius: var(--radius); padding: 24px; }
.about p { margin: 0 0 14px; }
.about p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.warn { background: rgba(245,197,66,.08); border: 1px solid rgba(245,197,66,.3); padding: 13px 15px; border-radius: 14px; color: #efdfa8; font-size: .92rem; }

/* ───────── Footer ───────── */
.foot { margin-top: 40px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 24px 0; }
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--text); }

/* ───────── Mobile / fallbacks ───────── */
@media (max-width: 640px) {
  :root { --blur: 14px; }
  .blob { filter: blur(60px); }
  .top { top: 6px; margin-top: 6px; }
  .top-inner { padding: 0 14px; }
  .nav { gap: 0; }
  .nav a { font-size: .8rem; padding: 6px 8px; }
  .hero { padding: 52px 0 28px; }
  .card { grid-template-columns: 1fr; }
  .actions { margin-top: 4px; }
}

/* Browsers without backdrop-filter get a more solid surface */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .top, .card, details, .about, .empty, .setup { background: rgba(24, 24, 30, .92); }
}

/* Respect "reduce motion" settings */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ───────── Folders (file browser) ───────── */
[hidden] { display: none !important; }

.folders {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px 16px;
  margin-top: 26px;
}

.folder {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  text-align: left;
  font: inherit; color: inherit;
  padding: 22px 20px 18px;
  border-radius: 6px var(--radius) var(--radius) var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid var(--glass-brd);
  box-shadow: 0 10px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
  backdrop-filter: blur(var(--blur)) saturate(180%);
  cursor: pointer;
  animation: cardIn .6s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 70ms);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s;
}

/* Folder tab */
.folder::after {
  content: "";
  position: absolute; left: -1px; top: -13px;
  width: 78px; height: 14px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08));
  border: 1px solid var(--glass-brd); border-bottom: none;
  -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
  backdrop-filter: blur(var(--blur)) saturate(180%);
  transition: width .35s var(--ease), background .3s;
}

/* Cursor-following highlight */
.folder::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.16), transparent 45%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.folder:hover::before { opacity: 1; }

.folder:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.3);
  box-shadow: 0 18px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(255,255,255,.06);
}
.folder:hover::after { width: 96px; background: linear-gradient(180deg, rgba(255,77,77,.4), rgba(255,255,255,.1)); }
.folder:active { transform: translateY(-1px) scale(.985); }
.folder:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.folder-icon { font-size: 2rem; line-height: 1; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); transition: transform .4s var(--ease); }
.folder:hover .folder-icon { transform: scale(1.15) rotate(-5deg); }
.folder-name { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; margin-top: 6px; }
.folder-desc { color: var(--muted); font-size: .86rem; line-height: 1.45; flex: 1; }
.folder-count {
  margin-top: 8px;
  font-family: var(--mono); font-size: .72rem; color: var(--muted);
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--glass-brd); background: rgba(255,255,255,.06);
}
.folder-count.empty-folder { opacity: .7; border-style: dashed; }

/* Breadcrumb */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin: 8px 0 18px;
  animation: fadeUp .5s var(--ease) both;
}
.crumb-back {
  font: inherit; font-size: .85rem; color: var(--text); cursor: pointer;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid var(--glass-brd);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
  backdrop-filter: blur(var(--blur)) saturate(180%);
  transition: transform .25s var(--ease), background .2s;
}
.crumb-back:hover { background: rgba(255,255,255,.16); transform: translateX(-3px); }
.crumb-trail { font-family: var(--mono); font-size: .9rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.crumb-now { color: var(--text); font-weight: 700; }
.crumb-desc { flex-basis: 100%; margin: 0; color: var(--muted); font-size: .92rem; }

@media (max-width: 640px) {
  .folders { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .folder { padding: 18px 14px 14px; }
  .folder-desc { font-size: .8rem; }
}
@media (max-width: 380px) {
  .folders { grid-template-columns: 1fr; }
}

/* ───────── Tabs (header navigation) ───────── */
.nav a { position: relative; }
.nav a.active {
  color: var(--text);
  background: rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 14px rgba(0,0,0,.25);
}
.nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 14px; height: 2px;
  transform: translateX(-50%); border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.panel:not([hidden]) { animation: fadeUp .5s var(--ease) both; }
.panel-intro { color: var(--muted); max-width: 680px; margin: -4px 0 22px; }
.folders > .empty { grid-column: 1 / -1; }

/* ───────── Card extras ───────── */
.actions { flex-wrap: wrap; justify-content: flex-end; max-width: 440px; }
.tag.kind { color: #ffb4a0; border-color: rgba(255,138,92,.4); background: rgba(255,138,92,.08); }

/* ───────── Guides ───────── */
.guide summary { gap: 16px; align-items: flex-start; }
.g-title { display: flex; flex-direction: column; gap: 2px; }
.g-name { font-size: 1.04rem; }
.g-sum { font-weight: 400; font-size: .88rem; color: var(--muted); }
.g-body { display: grid; gap: 18px; padding-top: 4px; animation: fadeUp .45s var(--ease) both; }
.g-block h4 {
  margin: 0 0 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
}
.g-list, .g-steps { margin: 0; padding-left: 22px; color: var(--text); }
.g-list li, .g-steps li { margin: 7px 0; }
.g-steps li::marker { font-family: var(--mono); color: var(--accent-2); font-weight: 700; }
.g-list li::marker { color: var(--accent-2); }
.guide .g-body ol, .guide .g-body ul { color: var(--text); }
.g-warn {
  background: rgba(245,197,66,.08); border: 1px solid rgba(245,197,66,.3);
  padding: 12px 15px; border-radius: 14px; color: #efdfa8; font-size: .92rem;
}
.g-credit { margin: 0; color: var(--muted); font-size: .86rem; font-style: italic; }
.g-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ───────── Changelog items ───────── */
.log-items { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: .92rem; }
.log-items li { margin: 5px 0; }
.log .title { font-size: 1.05rem; }

/* ───────── About tab ───────── */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.about-grid .about { margin: 0; }
.about.wide { grid-column: 1 / -1; }
.about h3 { margin: 0 0 12px; font-size: 1.1rem; letter-spacing: -.01em; }
.about .small-title { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin: 14px 0 6px; }
.about .small-title:first-of-type { margin-top: 0; }
.about a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.about a:hover { text-decoration-color: var(--accent); }
.about .credits { font-size: .93rem; }
.specs { margin: 0; }
.specs > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.specs > div:last-child { border-bottom: none; }
.specs dt { color: var(--muted); font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; padding-top: 2px; }
.specs dd { margin: 0; font-weight: 500; }
.legend { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.legend li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); }
.folder-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.folder-list li { display: flex; flex-direction: column; gap: 2px; }
.folder-list a { font-weight: 600; text-decoration: none; }
.folder-list a:hover { color: var(--accent-2); }
.warn-box { background: linear-gradient(135deg, rgba(245,197,66,.12), rgba(245,197,66,.03)); border-color: rgba(245,197,66,.3); }
.warn-box p { color: #efdfa8; margin: 0; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }

@media (max-width: 640px) {
  .brand-sep, .brand-sub { display: none; }
  .specs > div { grid-template-columns: 1fr; gap: 2px; }
  .actions { max-width: none; justify-content: flex-start; }
  .nav a { padding: 6px 9px; }
}
