/* Local Character - layout after character.ai: sidebar, discover grid, centred chat column. */
:root {
  --bg: #f4f4f5; --side: #fafafa; --panel: #ffffff; --line: #e4e4e7;
  --text: #18181b; --muted: #71717a; --faint: #a1a1aa;
  --bubble: #e8e8ea; --bubble-me: #dcdce0; --chip: #ececee; --chip-on: #18181b; --chip-on-text: #fff;
  --accent: #18181b; --accent-text: #fff; --focus: #6366f1; --danger: #dc2626; --ok: #16a34a;
  --radius: 18px; --shadow: 0 8px 30px rgba(0,0,0,.08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121214; --side: #18181b; --panel: #1f1f23; --line: #2e2e33;
    --text: #f4f4f5; --muted: #a1a1aa; --faint: #71717a;
    --bubble: #26262b; --bubble-me: #303036; --chip: #26262b; --chip-on: #f4f4f5; --chip-on-text: #18181b;
    --accent: #f4f4f5; --accent-text: #18181b; --shadow: 0 8px 30px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121214; --side: #18181b; --panel: #1f1f23; --line: #2e2e33;
  --text: #f4f4f5; --muted: #a1a1aa; --faint: #71717a;
  --bubble: #26262b; --bubble-me: #303036; --chip: #26262b; --chip-on: #f4f4f5; --chip-on-text: #18181b;
  --accent: #f4f4f5; --accent-text: #18181b; --shadow: 0 8px 30px rgba(0,0,0,.4);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
.card, .mini-card, .btn, .btn-create, .hist-item, .recent-item, .nav-item, .logo { text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---- shell ---- */
.shell { display: grid; grid-template-columns: 256px 1fr; height: 100dvh; }
.shell.collapsed { grid-template-columns: 0 1fr; }
.side { background: var(--side); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.shell.collapsed .side { border: 0; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 16px 12px 22px; }
.logo { font-size: 23px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--muted); }
.icon-btn:hover { background: var(--chip); color: var(--text); }
.icon-btn.on { color: var(--text); background: var(--chip); }
.nav { padding: 4px 16px; display: flex; flex-direction: column; gap: 2px; }
.btn-create { display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px 10px 16px; border-radius: 999px; background: var(--chip); font-weight: 500; margin: 4px 0 10px; align-self: flex-start; }
.btn-create:hover { filter: brightness(.96); }
.nav-item { display: flex; align-items: center; gap: 14px; padding: 9px 12px; border-radius: 12px; text-decoration: none; }
.nav-item:hover, .nav-item.on { background: var(--chip); }
.side-search { margin: 12px 16px 6px; position: relative; }
.side-search input { width: 100%; padding: 8px 12px 8px 36px; border-radius: 10px; border: 0; background: var(--chip); outline: none; }
.side-search svg { position: absolute; left: 10px; top: 9px; width: 18px; height: 18px; color: var(--muted); }
.recent { flex: 1; overflow-y: auto; padding: 4px 12px 12px; }
.recent h3 { font-size: 12px; font-weight: 500; color: var(--muted); margin: 14px 8px 6px; }
.recent-item { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; width: 100%; text-align: left; text-decoration: none; }
.recent-item:hover, .recent-item.on { background: var(--chip); }
.recent-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-foot { border-top: 1px solid var(--line); padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.privacy-pill { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-text); font-weight: 500; justify-content: center; }
.side-foot .nav-item { font-size: 14px; }

.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--chip); flex: none; display: inline-grid; place-items: center; font-weight: 600; font-size: 13px; color: #fff; overflow: hidden; }
.avatar.lg { width: 64px; height: 64px; font-size: 24px; }
.avatar.sm { width: 24px; height: 24px; font-size: 11px; }

.main { position: relative; min-width: 0; display: flex; flex-direction: column; height: 100dvh; overflow: hidden; }
.scrim { display: none; }
.menu-btn { position: absolute; top: 14px; left: 14px; z-index: 5; }
.shell:not(.collapsed) .menu-btn { display: none; }

/* ---- discover ---- */
.discover { flex: 1; overflow-y: auto; padding: 28px 40px 60px; }
.discover-inner { max-width: 1120px; margin: 0 auto; }
.hello { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 4px 0 18px; }
.hello p { margin: 0; color: var(--muted); font-size: 14px; }
.hello h1 { margin: 0; font-size: 22px; font-weight: 600; }
.big-search { position: relative; width: min(420px, 100%); }
.big-search input { width: 100%; padding: 12px 18px 12px 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); outline: none; }
.big-search svg { position: absolute; left: 15px; top: 13px; width: 18px; height: 18px; color: var(--muted); }
.promise { display: flex; gap: 14px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 26px; }
.promise strong { display: block; }
.promise span { color: var(--muted); font-size: 14px; }
.section-h { font-size: 16px; font-weight: 600; margin: 26px 0 12px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 16px; }
.chip { padding: 8px 18px; border-radius: 999px; background: var(--chip); font-weight: 500; font-size: 14px; }
.chip.on { background: var(--chip-on); color: var(--chip-on-text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.card { display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 14px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); min-width: 0; position: relative; }
.card:hover { box-shadow: var(--shadow); }
.card img, .card .ph { width: 92px; height: 116px; border-radius: 12px; object-fit: cover; flex: none; background: var(--chip); display: grid; place-items: center; font-size: 34px; font-weight: 600; color: #fff; }
.card-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; padding-top: 2px; }
.card-name { font-weight: 600; }
.card-by { font-size: 12px; color: var(--muted); }
.card-tag { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { font-size: 12px; color: var(--faint); margin-top: auto; }
.row-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.mini-card { flex: none; width: 150px; display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 10px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.mini-card img, .mini-card .ph { width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover; display: grid; place-items: center; font-size: 34px; font-weight: 600; color: #fff; }
.mini-card b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-card span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty-note { color: var(--muted); padding: 20px 0; }

/* ---- chat ---- */
.chat { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px 14px 60px; border-bottom: 1px solid var(--line); background: var(--bg); }
.shell:not(.collapsed) .chat-head { padding-left: 24px; }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; text-align: left; }
.who .avatar { width: 40px; height: 40px; }
.who b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who small { color: var(--muted); font-size: 12px; }
.head-actions { display: flex; gap: 8px; }
.head-actions .icon-btn { border: 1px solid var(--line); width: 40px; height: 40px; }
.scroll { flex: 1; overflow-y: auto; padding: 24px 16px 12px; }
.col { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.intro { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 20px 0 10px; }
.intro .avatar { width: 72px; height: 72px; font-size: 28px; margin-bottom: 6px; }
.intro b { font-size: 16px; font-weight: 500; }
.intro span { color: var(--muted); font-size: 13px; }
.msg { display: flex; flex-direction: column; gap: 6px; max-width: 86%; position: relative; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg-name { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.badge { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--chip); color: var(--muted); }
.bubble { background: var(--bubble); padding: 12px 16px; border-radius: 16px; white-space: pre-wrap; word-wrap: break-word; }
.msg.me .bubble { background: var(--bubble-me); }
.bubble em { color: var(--muted); }
.msg.me .bubble em { color: inherit; opacity: .8; }
.bubble.typing::after { content: "▍"; animation: blink 1s steps(1) infinite; color: var(--muted); }
@keyframes blink { 50% { opacity: 0; } }
.bubble .pic { display: block; max-width: 100%; width: 384px; border-radius: 12px; margin-top: 4px; }
.msg-tools { display: flex; align-items: center; gap: 2px; color: var(--muted); }
.msg-tools .icon-btn { width: 30px; height: 30px; }
.msg-tools svg.i { width: 17px; height: 17px; }
.swipe { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-variant-numeric: tabular-nums; }
.msg-more { position: absolute; right: -38px; top: 22px; opacity: 0; }
.msg.me .msg-more { right: auto; left: -38px; }
.msg:hover .msg-more, .msg-more:focus-visible, .msg-more[aria-expanded="true"] { opacity: 1; }
.msg-err { color: var(--danger); font-size: 13px; }
.edit-box { width: min(620px, 80vw); min-height: 90px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); padding: 10px 12px; resize: vertical; }
.edit-row { display: flex; gap: 8px; justify-content: flex-end; }

.composer { padding: 10px 16px 8px; }
.composer .col { gap: 6px; }
.compose-row { display: flex; align-items: flex-end; gap: 8px; }
.compose-box { flex: 1; display: flex; align-items: flex-end; background: var(--chip); border-radius: 26px; padding: 6px 6px 6px 20px; border: 1px solid var(--line); }
.compose-box textarea { flex: 1; border: 0; outline: none; resize: none; background: none; padding: 9px 0; max-height: 180px; line-height: 1.45; }
.send { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-text); display: grid; place-items: center; flex: none; }
.send:disabled { opacity: .35; cursor: default; }
.side-tool { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; background: var(--bg); }
.side-tool:hover { background: var(--chip); }
.side-tool.on { background: var(--accent); color: var(--accent-text); }
.fine { text-align: center; font-size: 12px; color: var(--muted); }
.fine button { text-decoration: underline; color: inherit; font-size: 12px; }

/* ---- engine card (in-chat download / status) ---- */
.engine-card { align-self: center; width: min(520px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.engine-card b { font-size: 15px; }
.engine-card p { margin: 0; color: var(--muted); font-size: 14px; }
.bar { height: 6px; border-radius: 999px; background: var(--chip); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--accent); color: var(--accent-text); font-weight: 500; }
.btn.ghost { background: var(--chip); color: var(--text); }
.btn.danger { background: none; color: var(--danger); border: 1px solid var(--line); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- right panel (character details) ---- */
.panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(330px, 100%); background: var(--panel); border-left: 1px solid var(--line); box-shadow: var(--shadow); z-index: 20; display: flex; flex-direction: column; overflow-y: auto; }
.panel-head { display: flex; gap: 14px; padding: 22px 20px 12px; align-items: center; }
.panel-head .avatar { width: 64px; height: 64px; }
.panel-head b { display: block; font-size: 16px; font-weight: 500; }
.panel-head small { color: var(--muted); font-size: 12px; display: block; }
.panel-desc { margin: 0 20px 12px; font-size: 13px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.panel-list { padding: 6px 12px 20px; display: flex; flex-direction: column; gap: 2px; }
.panel-row { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 12px; text-align: left; width: 100%; }
.panel-row:hover { background: var(--chip); }
.panel-row .val { margin-left: auto; color: var(--muted); font-size: 14px; }
.panel-row.danger { color: var(--danger); }
.panel-sub { padding: 6px 12px 20px; display: flex; flex-direction: column; gap: 6px; }
.back-row { display: flex; align-items: center; gap: 8px; padding: 18px 16px 8px; font-weight: 600; }
.opt { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); width: 100%; }
.opt.on { border-color: var(--text); }
.opt small { color: var(--muted); font-size: 13px; }
.sub-h { color: var(--muted); font-size: 12px; font-weight: 500; margin: 10px 4px 0; text-transform: uppercase; letter-spacing: .04em; }
.mixer { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.mixer > b { font-weight: 600; font-size: 14px; }
.mixer .af-row .btn { padding: 8px 12px; font-size: 13px; }
.mixer .hint { font-size: 12px; color: var(--muted); }
.mix-why { margin: 0; font-size: 13px; color: var(--text); }
.mix-row { display: grid; grid-template-columns: 1fr 80px 32px; gap: 6px; align-items: center; }
.mix-row select { min-width: 0; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.mix-row input[type=range], .mix-slider input { width: 100%; accent-color: var(--text); }
.mix-slider { display: grid; grid-template-columns: 48px 1fr 44px; gap: 6px; align-items: center; font-size: 13px; }
.mix-slider small { color: var(--muted); text-align: right; }
.btn.sm { padding: 6px 12px; font-size: 13px; align-self: flex-start; }
.clip-match { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.clip-match .af-row { align-items: center; }
.clip-match select { padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 13px; }
.match-row { display: grid; grid-template-columns: 1fr auto auto; gap: 6px; align-items: center; font-size: 13px; }
.hist-item { display: flex; flex-direction: column; text-align: left; padding: 10px 12px; border-radius: 12px; width: 100%; }
.hist-item:hover, .hist-item.on { background: var(--chip); }
.hist-item small { color: var(--muted); font-size: 12px; }

/* ---- menus & dialogs ---- */
.menu { position: fixed; z-index: 50; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; min-width: 190px; }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 9px; text-align: left; font-size: 14px; }
.menu button:hover, .menu button:focus-visible { background: var(--chip); }
.menu button.danger { color: var(--danger); }
dialog { border: 0; padding: 0; border-radius: 22px; background: var(--panel); color: var(--text); box-shadow: var(--shadow); width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); }
dialog::backdrop { background: rgba(0,0,0,.45); }
.dlg { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.dlg h2 { margin: 0; font-size: 19px; font-weight: 600; }
.dlg p { margin: 0; color: var(--muted); font-size: 14px; }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 500; font-size: 14px; display: flex; justify-content: space-between; }
.field label small { color: var(--faint); font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); outline: none; }
.field textarea { resize: vertical; min-height: 84px; }
.field .hint { font-size: 12px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.model-row { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.model-row:first-of-type { border-top: 0; }
.model-row div { flex: 1; min-width: 0; }
.model-row b { display: block; font-weight: 500; }
.model-row small { color: var(--muted); font-size: 13px; }
.model-row .bar { margin-top: 6px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--accent); color: var(--accent-text); padding: 10px 18px; border-radius: 999px; z-index: 80; font-size: 14px; box-shadow: var(--shadow); }

/* ---- create page ---- */
.create { flex: 1; overflow-y: auto; padding: 28px 20px 60px; }
.create-inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.create h1 { font-size: 22px; margin: 0; font-weight: 600; }
.avatar-pick { display: flex; gap: 16px; align-items: center; }
.avatar-pick .avatar { width: 96px; height: 96px; font-size: 36px; border-radius: 50%; }
.avatar-pick .btn-row { flex-direction: column; align-items: flex-start; }
.autofill { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.autofill b { font-weight: 600; font-size: 14px; }
.af-row { display: flex; gap: 8px; }
.af-row input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); outline: none; }
.af-row .btn { flex: none; }
.autofill .hint { font-size: 12px; color: var(--muted); }
.af-status { margin: 0; font-size: 13px; color: var(--muted); }
.af-status:empty, .af-sources:empty { display: none; }
.af-status.err { color: var(--danger); }
.af-sources { font-size: 12px; color: var(--muted); }
.af-sources a { color: inherit; text-decoration: underline; }

/* ---- phone ---- */
@media (max-width: 760px) {
  .shell, .shell.collapsed { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: min(290px, 86vw); z-index: 40; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow); }
  .shell.drawer .side { transform: none; }
  .shell .menu-btn { display: inline-grid !important; }
  .shell.drawer .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 35; }
  .chat-head, .shell:not(.collapsed) .chat-head { padding: 10px 12px 10px 56px; }
  .discover { padding: 64px 16px 40px; }
  .grid { grid-template-columns: 1fr; }
  .msg { max-width: 100%; }
  .msg-more { position: static; opacity: 1; align-self: flex-end; }
  .msg.me .msg-more { align-self: flex-start; }
  .scroll { padding: 16px 12px 8px; }
  .composer { padding: 8px 12px 6px; }
  .side-tool { width: 40px; height: 40px; }
  .create { padding-top: 64px; }
}

/* ---- voice input & call ---- */
.mic-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--muted); margin-right: 4px; }
.mic-btn:hover { color: var(--text); background: var(--bg); }
.mic-btn.on, .mic-btn.on:hover { background: var(--chip-on); color: var(--chip-on-text); }
.mic-btn.live { background: var(--danger); color: #fff; animation: pulse 1.2s ease-in-out infinite; }
.mic-btn.busy { opacity: .5; cursor: progress; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(220,38,38,.18); } }
.mic-btn.live { animation: none; box-shadow: 0 0 0 calc(2px + var(--lvl, 0) * 12px) rgba(220,38,38,.22); transition: box-shadow .08s; }
.talk { text-align: center; font-size: 13px; font-weight: 500; color: var(--text); }
.retry { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--chip); font-size: 13px; font-weight: 500; }
.msg.me .retry { align-self: flex-end; }
.retry svg.i { width: 15px; height: 15px; }
.fact { display: flex; align-items: center; gap: 8px; padding: 8px 6px 8px 12px; border-radius: 12px; background: var(--bg); font-size: 14px; }
.fact span { flex: 1; }
.fact .icon-btn { width: 28px; height: 28px; flex: none; }
.fact-add { display: flex; gap: 8px; margin-top: 6px; }
.fact-add input { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); outline: none; }

/* static intro (index.html) - read by crawlers and no-JS visitors; the app replaces #view on start */
.static-intro { max-width: 720px; margin: 48px auto; padding: 0 16px; line-height: 1.65; }
.static-intro h1 { font-size: 28px; line-height: 1.2; margin: 0 0 12px; }
.side-links { margin: 0 0 8px; padding: 0 8px; font-size: 12px; color: var(--muted); }
.side-links a { text-decoration: none; }
.side-links a:hover { color: var(--text); }
