/* ---------- Base: the letter ---------- */
:root {
  --bg: #faf8f3;
  --fg: #1b1b19;
  --muted: #6b685f;
  --rule: #ddd7c9;
  --accent: #8a5a2b;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161513;
    --fg: #ece8df;
    --muted: #9a958a;
    --rule: #34312b;
    --accent: #d1a06a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 18px/1.6 var(--serif);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }

.titlebar, .taskbar, .palm-dock { display: none; }

.page {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 max(20px, env(safe-area-inset-right)) 56px max(20px, env(safe-area-inset-left));
}

/* header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding-top: env(safe-area-inset-top);
  font: 500 15px/1 var(--sans);
}
.top .name { color: var(--fg); text-decoration: none; }
body.home .top .name { visibility: hidden; }
.top nav { display: flex; align-items: center; gap: 18px; }
.top nav a { color: var(--muted); text-decoration: none; padding: 12px 0; }
.top nav a:hover { color: var(--fg); }
#mode {
  font: 500 13px/1 var(--sans);
  color: var(--muted);
  background: none;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 11px 14px;
  min-height: 40px;
  cursor: pointer;
}
#mode:hover { color: var(--fg); border-color: var(--muted); }

/* intro */
.intro { padding: 8px 0 8px; }
.portrait {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
}
h1 {
  font-weight: 400;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 20px 0 12px;
}
.lede { margin: 0; font-size: 20px; line-height: 1.5; }

/* sections */
section { margin: 44px 0 0; }
.label {
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
p { margin: 0 0 1em; }
.book-title { font-size: 24px; line-height: 1.2; margin: 0 0 6px; }
.book-title a { color: var(--fg); text-decoration: none; }
.book-sub { color: var(--muted); font-style: italic; margin: 0 0 14px; }
.cta {
  display: inline-block;
  font: 500 15px/1 var(--sans);
  padding: 14px 18px;
  border: 1px solid var(--fg);
  border-radius: 6px;
  color: var(--fg);
  text-decoration: none;
}
.cta:hover { background: var(--fg); color: var(--bg); }

.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 0 0 14px; }
.facts strong { font-weight: 600; }

/* lists */
.list { list-style: none; margin: 0; padding: 0; }
.entry {
  display: block;
  padding: 11px 0;
  color: var(--fg);
  text-decoration: none;
}
.entry .t { display: block; line-height: 1.35; }
.entry .d { display: block; margin-top: 3px; font: 13px/1.3 var(--sans); color: var(--muted); }
.entry:hover .t { color: var(--accent); }
.src { white-space: nowrap; }
.more { margin: 8px 0 0; font: 500 15px var(--sans); }
.more a { display: inline-block; padding: 8px 0; text-decoration: none; }
.year { font: 500 13px/1 var(--sans); color: var(--muted); letter-spacing: 0.06em; margin: 32px 0 6px; }
.page-title { margin: 8px 0 8px; }

/* posts */
.meta { font: 13px/1 var(--sans); color: var(--muted); margin: 8px 0 14px; }
.post-title { font-size: 32px; margin: 0 0 24px; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 1.15em; }
.prose h2, .prose h3, .prose h4 { font-weight: 600; line-height: 1.25; margin: 1.8em 0 0.5em; font-size: 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote { border-left: 2px solid var(--accent); padding-left: 1em; color: var(--muted); font-style: italic; }
.prose code { font-size: 0.9em; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.back { margin-top: 40px; font: 500 15px var(--sans); }
.back a { display: inline-block; padding: 10px 0; text-decoration: none; }

.foot {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font: 14px/1 var(--sans);
}
.foot a { display: inline-block; padding: 8px 0; color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--fg); }

@media (min-width: 700px) {
  body { font-size: 19px; }
  .page { padding-bottom: 80px; }
  .portrait { width: 112px; height: 112px; }
  h1 { font-size: 42px; }
  .lede { font-size: 22px; }
  .post-title { font-size: 40px; }
  .entry { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
  .entry .d { margin: 0; white-space: nowrap; }
}

/* ======================================================================
   Retro mode. Wide screens: Windows 98. Phones: Palm-style handheld.
   Both are switched on by html[data-theme="retro"].
   ====================================================================== */

html[data-theme="retro"] .titlebar { display: flex; }
html[data-theme="retro"] body.home .top .name { visibility: visible; }

/* ---------- Windows 98 (wide) ---------- */
.tb-palm { display: none; }
.menubar, .toolbar, .addressbar, .statusbar { display: none; }

@media (min-width: 700px) {
  html[data-theme="retro"] body {
    background: #008080;
    color: #000;
    font: 11px/1.3 Tahoma, "MS Sans Serif", Geneva, Verdana, sans-serif;
    height: 100vh;
    overflow: hidden;
    padding: 14px 14px 44px;
  }
  html[data-theme="retro"] .window {
    display: flex; flex-direction: column;
    max-width: 62rem; height: 100%; margin: 0 auto; padding: 2px;
    background: #c0c0c0;
    box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px #808080, inset 2px 2px #fff;
  }
  html[data-theme="retro"] .titlebar {
    align-items: center; justify-content: space-between; flex: none;
    padding: 2px 2px 2px 4px;
    background: linear-gradient(90deg, #000080, #1084d0);
    color: #fff; font-weight: 700; font-size: 11px;
  }
  html[data-theme="retro"] .tb-btns { display: flex; gap: 2px; }
  html[data-theme="retro"] .tb-btns .tb-btn:last-child { margin-left: 2px; }
  html[data-theme="retro"] .tb-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 14px; padding: 0; cursor: default;
    background: #c0c0c0; color: #000; font: 700 10px/1 Tahoma, sans-serif; border: 0;
    box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
  }
  html[data-theme="retro"] .menubar {
    display: flex; gap: 0; flex: none; padding: 2px 0 1px; border-bottom: 1px solid #808080; box-shadow: 0 1px #fff;
  }
  html[data-theme="retro"] .menubar span { padding: 2px 7px; font-size: 11px; }
  html[data-theme="retro"] .toolbar {
    display: flex; align-items: stretch; flex: none; gap: 1px; padding: 3px 2px;
    border-bottom: 1px solid #808080; box-shadow: 0 1px #fff;
  }
  html[data-theme="retro"] .tbtn {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-width: 54px; padding: 3px 6px 2px; border: 1px solid transparent; background: none;
    font: 11px Tahoma, sans-serif; color: #000; text-decoration: none; cursor: pointer;
  }
  html[data-theme="retro"] .tbtn b { font-size: 16px; line-height: 16px; font-weight: 400; color: #000080; }
  html[data-theme="retro"] .tbtn:hover { border-color: #fff #808080 #808080 #fff; }
  html[data-theme="retro"] .tbtn:active { border-color: #808080 #fff #fff #808080; }
  html[data-theme="retro"] .tbtn.exit { margin-left: auto; min-width: 0; padding: 3px 10px; align-self: center; border-color: #fff #808080 #808080 #fff; }
  html[data-theme="retro"] .addressbar {
    display: flex; align-items: center; flex: none; gap: 6px; padding: 3px 4px;
    border-bottom: 1px solid #808080; box-shadow: 0 1px #fff;
  }
  html[data-theme="retro"] .addr-label { color: #444; }
  html[data-theme="retro"] .addr {
    flex: 1; background: #fff; padding: 2px 4px; color: #000; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    box-shadow: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #0a0a0a, inset -2px -2px #dfdfdf;
  }
  html[data-theme="retro"] .go { padding: 2px 8px; }
  html[data-theme="retro"] .page {
    flex: 1; min-height: 0; overflow-y: scroll; max-width: none; margin: 2px 0 0; padding: 0 28px 24px;
    background: #fff; color: #000;
    font: 14px/1.5 Arial, Helvetica, sans-serif;
    box-shadow: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #0a0a0a, inset -2px -2px #dfdfdf;
    border: 2px solid transparent;
  }
  html[data-theme="retro"] .page::-webkit-scrollbar { width: 16px; }
  html[data-theme="retro"] .page::-webkit-scrollbar-track {
    background-color: #fff;
    background-image: linear-gradient(45deg, #c0c0c0 25%, transparent 25%, transparent 75%, #c0c0c0 75%), linear-gradient(45deg, #c0c0c0 25%, transparent 25%, transparent 75%, #c0c0c0 75%);
    background-size: 2px 2px; background-position: 0 0, 1px 1px;
  }
  html[data-theme="retro"] .page::-webkit-scrollbar-thumb {
    background: #c0c0c0; box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
  }
  html[data-theme="retro"] a { color: #0000ff; text-decoration: underline; }
  html[data-theme="retro"] a:visited { color: #800080; }
  html[data-theme="retro"] .top { display: none; }
  html[data-theme="retro"] .intro { padding-top: 20px; }
  html[data-theme="retro"] .portrait { border-radius: 0; width: 96px; height: 96px; border: 2px inset #c0c0c0; }
  html[data-theme="retro"] h1 { font: 700 28px/1.15 Arial, Helvetica, sans-serif; letter-spacing: 0; margin: 14px 0 8px; }
  html[data-theme="retro"] .lede { font-size: 14px; line-height: 1.5; }
  html[data-theme="retro"] section { margin-top: 22px; }
  html[data-theme="retro"] .label {
    font: 700 16px/1.2 Arial, Helvetica, sans-serif; letter-spacing: 0; text-transform: none; color: #fff;
    background: #000080; border: 0; padding: 3px 8px; margin-bottom: 10px;
  }
  html[data-theme="retro"] .book-title { font: 700 18px Arial, sans-serif; }
  html[data-theme="retro"] .book-title a { color: #0000ff; text-decoration: underline; }
  html[data-theme="retro"] .book-sub { color: #000; font-style: italic; }
  html[data-theme="retro"] .cta {
    font: 11px Tahoma, sans-serif; color: #000; background: #c0c0c0; border: 0; border-radius: 0;
    padding: 6px 16px; text-decoration: none;
    box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
  }
  html[data-theme="retro"] .cta:hover { background: #c0c0c0; color: #000; }
  html[data-theme="retro"] .facts { list-style: square; padding-left: 22px; }
  html[data-theme="retro"] .facts li { padding: 0 0 6px; }
  html[data-theme="retro"] .list { list-style: disc; padding-left: 22px; }
  html[data-theme="retro"] .list li { display: list-item; }
  html[data-theme="retro"] .entry { display: block; color: #0000ff; text-decoration: underline; padding: 2px 0; }
  html[data-theme="retro"] .entry .t, html[data-theme="retro"] .entry .d { display: inline; font: inherit; white-space: normal; }
  html[data-theme="retro"] .entry .d { display: inline-block; margin-left: 8px; color: #666; text-decoration: none; font-size: 12px; }
  html[data-theme="retro"] .year { font: 700 16px Arial, sans-serif; color: #000; letter-spacing: 0; margin: 18px 0 4px; border-bottom: 2px groove #c0c0c0; }
  html[data-theme="retro"] .more, html[data-theme="retro"] .back, html[data-theme="retro"] .meta, html[data-theme="retro"] .origin { font: 13px Arial, sans-serif; color: #000; }
  html[data-theme="retro"] .more a, html[data-theme="retro"] .back a { padding: 0; }
  html[data-theme="retro"] .page-title { font: 700 28px Arial, sans-serif; }
  html[data-theme="retro"] .post-title { font: 700 26px/1.2 Arial, sans-serif; }
  html[data-theme="retro"] .prose { font-size: 14px; }
  html[data-theme="retro"] .prose blockquote { border-left: 3px solid #808080; font-style: normal; color: #000; }
  html[data-theme="retro"] .foot { border-top: 2px groove #c0c0c0; margin-top: 28px; padding-top: 12px; font: 13px Arial, sans-serif; }
  html[data-theme="retro"] .foot a { color: #0000ff; padding: 0; }
  html[data-theme="retro"] .statusbar {
    display: flex; flex: none; gap: 2px; margin-top: 2px; padding: 2px 0 0;
  }
  html[data-theme="retro"] .statusbar span {
    padding: 2px 6px; box-shadow: inset 1px 1px #808080, inset -1px -1px #fff;
  }
  html[data-theme="retro"] .st-main { flex: 1; }
  html[data-theme="retro"] .st-zone { min-width: 120px; }

  html[data-theme="retro"] .taskbar {
    display: flex; align-items: center; gap: 6px;
    position: fixed; left: 0; right: 0; bottom: 0; height: 30px; padding: 2px;
    background: #c0c0c0; border-top: 1px solid #dfdfdf; box-shadow: inset 0 1px #fff; z-index: 20;
    font: 11px Tahoma, sans-serif; color: #000;
  }
  .start {
    display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 6px;
    font: 700 11px Tahoma, sans-serif; color: #000; background: #c0c0c0; border: 0; cursor: pointer;
    box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
  }
  .start .logo { display: grid; grid-template-columns: 6px 6px; gap: 1px; }
  .start .logo i { width: 6px; height: 6px; display: block; }
  .start .logo i:nth-child(1) { background: #f00; }
  .start .logo i:nth-child(2) { background: #0a0; }
  .start .logo i:nth-child(3) { background: #00f; }
  .start .logo i:nth-child(4) { background: #fc0; }
  .ql { display: inline-flex; gap: 4px; padding: 0 6px; border-left: 1px solid #808080; border-right: 1px solid #808080; height: 22px; align-items: center; }
  .ql i { width: 14px; height: 14px; background: #fff; border: 1px solid #000080; display: block; }
  .ql i:nth-child(2) { background: #000080; }
  .ql i:nth-child(3) { background: #008080; }
  .task {
    display: inline-flex; align-items: center; height: 22px; padding: 0 8px; min-width: 0; max-width: 220px;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 700;
    background-color: #fff;
    background-image: linear-gradient(45deg, #c0c0c0 25%, transparent 25%, transparent 75%, #c0c0c0 75%), linear-gradient(45deg, #c0c0c0 25%, transparent 25%, transparent 75%, #c0c0c0 75%);
    background-size: 2px 2px; background-position: 0 0, 1px 1px;
    box-shadow: inset 1px 1px #0a0a0a, inset -1px -1px #fff, inset 2px 2px #808080, inset -2px -2px #dfdfdf;
  }
  .startmenu {
    display: none; position: absolute; left: 2px; bottom: 28px; min-width: 170px; padding: 3px; background: #c0c0c0;
    box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
  }
  .startmenu.open { display: block; }
  .startmenu button {
    display: block; width: 100%; text-align: left; padding: 10px 14px; border: 0; background: none;
    font: 11px Tahoma, sans-serif; color: #000; cursor: pointer;
  }
  .startmenu button:hover { background: #000080; color: #fff; }
  .clock { margin-left: auto; padding: 3px 10px; box-shadow: inset 1px 1px #808080, inset -1px -1px #fff; }
  html[data-theme="retro"] .tb-win { display: inline; }
}

/* ---------- Palm Pilot (phones) ---------- */
@media (max-width: 699px) {
  html[data-theme="retro"] { --lcd: #c8d2b2; --ink: #1c2417; --ink2: #4d5740; }
  html[data-theme="retro"] body {
    background: var(--lcd);
    color: var(--ink);
    font: 700 15px/1.45 Geneva, Chicago, Monaco, "SF Mono", ui-monospace, "Courier New", monospace;
  }
  html[data-theme="retro"] .tb-win { display: none; }
  html[data-theme="retro"] .tb-palm { display: inline; }
  html[data-theme="retro"] .tb-btns { display: none; }
  html[data-theme="retro"] .titlebar {
    position: sticky; top: 0; z-index: 10;
    align-items: center; justify-content: space-between;
    padding: calc(5px + env(safe-area-inset-top)) 10px 5px;
    background: var(--ink); color: var(--lcd);
    font-size: 14px; letter-spacing: 0.02em;
  }
  html[data-theme="retro"] .titlebar::after { content: "\25BE"; }
  html[data-theme="retro"] .page { max-width: none; padding: 0 12px 190px; background: var(--lcd); }
  html[data-theme="retro"] a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }
  html[data-theme="retro"] .top { min-height: 0; padding: 10px 0 6px; font-weight: 700; font-size: 14px; line-height: 1; font-family: inherit; border-bottom: 1px dotted var(--ink); }
  html[data-theme="retro"] .top .name { display: none; }
  html[data-theme="retro"] .top nav { width: 100%; justify-content: space-between; }
  html[data-theme="retro"] .top nav a { color: var(--ink); padding: 10px 0; }
  html[data-theme="retro"] #mode {
    font-weight: 700; font-size: 13px; line-height: 1; font-family: inherit; color: var(--ink); background: none;
    border: 2px solid var(--ink); border-radius: 7px; padding: 8px 12px; min-height: 40px;
  }
  html[data-theme="retro"] #mode:active { background: var(--ink); color: var(--lcd); }
  html[data-theme="retro"] .portrait {
    border-radius: 0; width: 80px; height: 80px; border: 2px solid var(--ink);
    filter: grayscale(1) contrast(1.7) brightness(0.95); mix-blend-mode: multiply;
  }
  html[data-theme="retro"] h1 { font-weight: 700; font-size: 20px; line-height: 1.2; font-family: inherit; letter-spacing: 0; margin: 12px 0 6px; text-transform: uppercase; }
  html[data-theme="retro"] .lede { font-size: 15px; line-height: 1.45; }
  html[data-theme="retro"] section { margin-top: 22px; }
  html[data-theme="retro"] .label {
    font-weight: 700; font-size: 13px; line-height: 1; font-family: inherit; letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--lcd); background: var(--ink); border: 0; padding: 5px 8px; margin-bottom: 10px;
  }
  html[data-theme="retro"] .book-title { font-size: 17px; }
  html[data-theme="retro"] .book-title a { color: var(--ink); text-decoration: underline; }
  html[data-theme="retro"] .book-sub { color: var(--ink2); font-style: normal; font-size: 13px; }
  html[data-theme="retro"] .cta {
    font-weight: 700; font-size: 14px; line-height: 1; font-family: inherit; color: var(--ink); background: none;
    border: 2px solid var(--ink); border-radius: 8px; padding: 12px 16px; text-decoration: none;
  }
  html[data-theme="retro"] .cta:active { background: var(--ink); color: var(--lcd); }
  html[data-theme="retro"] .facts li { padding: 0 0 10px; border-bottom: 1px dotted var(--ink); margin-bottom: 10px; }
  html[data-theme="retro"] .facts li:last-child { border-bottom: 0; }
  html[data-theme="retro"] .entry { color: var(--ink); padding: 9px 0; border-bottom: 1px dotted var(--ink); }
  html[data-theme="retro"] .entry .t { text-decoration: none; }
  html[data-theme="retro"] .entry .d { color: var(--ink2); font-weight: 700; font-size: 12px; line-height: 1.3; font-family: inherit; }
  html[data-theme="retro"] .entry:active { background: var(--ink); color: var(--lcd); }
  html[data-theme="retro"] .entry:active .d { color: var(--lcd); }
  html[data-theme="retro"] .year { font-weight: 700; font-size: 13px; line-height: 1; font-family: inherit; color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 4px; letter-spacing: 0; margin: 22px 0 4px; }
  html[data-theme="retro"] .more, html[data-theme="retro"] .back, html[data-theme="retro"] .meta { font-weight: 700; font-size: 14px; line-height: 1.2; font-family: inherit; color: var(--ink); }
  html[data-theme="retro"] .meta { color: var(--ink2); }
  html[data-theme="retro"] .post-title { font-weight: 700; font-size: 19px; line-height: 1.25; font-family: inherit; text-transform: uppercase; }
  html[data-theme="retro"] .prose { font-size: 15px; font-weight: 400; }
  html[data-theme="retro"] .prose blockquote { border-left: 3px solid var(--ink); color: var(--ink2); font-style: normal; }
  html[data-theme="retro"] .foot { border-top: 1px dotted var(--ink); margin-top: 28px; padding-top: 14px; font-weight: 700; font-size: 14px; line-height: 1; font-family: inherit; }
  html[data-theme="retro"] .foot a { color: var(--ink); }

  html[data-theme="retro"] .palm-dock {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 8px 14px calc(10px + env(safe-area-inset-bottom));
    background: #b9b9ae; border-top: 3px solid #8c8c82;
    font-family: Geneva, Monaco, ui-monospace, monospace;
  }
  .gbox {
    position: relative; height: 76px; background: var(--lcd, #c8d2b2);
    border: 2px solid #55594d; border-radius: 6px; color: #1c2417;
    background-image:
      linear-gradient(90deg, transparent calc(33.3% - 1px), rgba(28,36,23,.45) calc(33.3% - 1px) 33.3%, transparent 33.3%,
                              transparent calc(66.6% - 1px), rgba(28,36,23,.45) calc(66.6% - 1px) 66.6%, transparent 66.6%);
  }
  .gbox .gtab { position: absolute; bottom: 6px; font-weight: 700; font-size: 12px; line-height: 1; font-family: inherit; }
  .gbox .gtab.l { left: 10px; } .gbox .gtab.r { right: 10px; }
  .gbox .gico { position: absolute; top: 6px; font-size: 18px; line-height: 1; }
  .gbox .home {
    position: absolute; top: 2px; left: 4px; width: 44px; height: 40px; padding: 0;
    background: none; border: 0; color: #1c2417; font-size: 24px; line-height: 1; cursor: pointer;
  }
  .gbox .gico.r { right: 14px; }
  .hw { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 0 6px; }
  .hw i { display: block; width: 36px; height: 20px; border-radius: 10px; background: #a3a398; box-shadow: inset 0 -2px #85857b; }
  .hw i:nth-child(2n) { background: #aeaea3; }
  .hw b { display: block; width: 44px; height: 24px; border-radius: 12px; background: #9c9c91; box-shadow: inset 0 -2px #7e7e74; }
}

@media (prefers-reduced-motion: no-preference) {
  html[data-theme="retro"] #mode, .cta, .entry { transition: none; }
}
