/* atomb-log · An original, locally owned reading theme. */
@font-face {
  font-family: "Atomb Pixel";
  src: url("data:font/woff;base64,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") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme:dark;
  --paper:#28383d;
  --sidebar:#243338;
  --surface:#2e4046;
  --ink:#e4e9e6;
  --muted:#b7c4c3;
  --faint:#a5b3b3;
  --line:#405257;
  --accent:#a8ccc5;
  --accent-soft:#354e50;
  --accent-emphasis:#FF4FA3;
  --accent-detail:#A78BFA;
  --art:#263f40;
  --code:#203036;
  --shadow:0 24px 100px #0005;
  --brand-line:#203036;
  --sidebar-width:258px;
  --body-font:"Noto Sans KR",sans-serif;
  --mono-font:var(--body-font)
}
:root[data-theme=light] {
  color-scheme:light;
  --paper:#e5edeb;
  --sidebar:#dce7e4;
  --surface:#f2f6f4;
  --ink:#293d41;
  --muted:#4e6467;
  --faint:#5d7275;
  --line:#bccdca;
  --accent:#356b65;
  --accent-soft:#d0e1dc;
  --accent-emphasis:#B51668;
  --accent-detail:#6934BC;
  --art:#cfdfda;
  --code:#dbe6e3;
  --shadow:0 24px 100px #243b3826;
  --brand-line:#bccdca
}
*,*::before,*::after {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scrollbar-gutter:stable;
  scroll-padding-top:95px
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body-font);
  font-size:15px;
  line-height:1.7;
  word-break:keep-all;
  -webkit-font-smoothing:antialiased
}
button,input {
  font:inherit
}
button,a,input {
  -webkit-tap-highlight-color:transparent
}
a {
  color:inherit;
  text-decoration:none
}
button {
  color:inherit;
  cursor:pointer
}
button:disabled {
  cursor:wait
}
button {
  border:0
}
button,summary,a {
  touch-action:manipulation
}
::selection {
  background:var(--accent-soft);
  color:var(--accent)
}
:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:5px
}
button:focus-visible {
  outline-offset:3px
}
img,svg {
  max-width:100%
}
svg {
  vertical-align:middle;
  flex-shrink:0
}
button {
  background:none
}
h1,h2,h3,p {
  margin:0
}
h1,h2,h3 {
  line-height:1.45;
  letter-spacing:-.045em
}
h1 {
  font-weight:650
}
kbd {
  font-family:var(--mono-font);
  font-size:10px;
  border:1px solid var(--line);
  border-radius:4px;
  padding:1px 5px;
  line-height:1.6;
  white-space:nowrap
}
.icon {
  flex:none;
  vertical-align:middle
}
.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
[hidden] {
  display:none!important
}
.skip-link {
  position:fixed;
  left:16px;
  top:-80px;
  z-index:200;
  background:var(--ink);
  color:var(--paper);
  padding:10px 18px;
  border-radius:8px
}
.skip-link:focus {
  top:12px
}
.icon-button {
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:7px;
  color:var(--muted);
  flex:none
}
.icon-button:hover {
  background:var(--accent-soft);
  color:var(--accent)
}
.text-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:550
}
.text-link:hover {
  color:var(--accent)
}
.text-link .icon {
  width:16px;
  height:16px;
  transition:transform .18s
}
.text-link:hover .icon {
  transform:translateX(3px)
}
.eyebrow {
  font-family:var(--mono-font);
  font-size:10px;
  letter-spacing:.12em;
  color:var(--muted);
  font-weight:400
}
.meta-dot {
  color:var(--faint)
}
/* Persistent navigation on desktop, a drawer on smaller screens. */
.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:var(--sidebar-width);
  padding:35px 25px 20px;
  background:var(--sidebar);
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  z-index:50;
  overflow-y:auto;
  scrollbar-width:thin
}
.sidebar-top {
  display:flex;
  align-items:center;
  justify-content:space-between
}
.brand {
  display:flex;
  gap:12px;
  align-items:center;
  color:var(--accent)
}
.brand>span {
  font-size:20px;
  font-weight:700;
  letter-spacing:-.7px;
  line-height:1.4;
  color:var(--ink)
}
.brand small {
  display:block;
  font-size:10px;
  font-weight:400;
  letter-spacing:0;
  color:var(--muted);
  margin-top:3px
}
.sidebar-close {
  display:none
}
.sidebar-search {
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  padding:9px 11px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:6px;
  margin:37px 0 23px;
  color:var(--muted);
  font-size:12px;
  text-align:left
}
.sidebar-search:hover {
  border-color:var(--faint)
}
.sidebar-search .icon {
  width:16px;
  height:16px
}
.sidebar-search kbd {
  margin-left:auto
}
.primary-nav {
  display:grid;
  gap:3px
}
.nav-link {
  display:flex;
  align-items:center;
  gap:11px;
  border-radius:6px;
  padding:10px 12px;
  font-size:12px;
  color:var(--muted);
  line-height:1.6
}
.nav-link:hover {
  background:var(--accent-soft);
  color:var(--accent)
}
.nav-link.active {
  background:var(--accent-soft);
  color:var(--accent);
  font-weight:650
}
.nav-link .icon {
  width:17px;
  height:17px
}
.nav-count {
  margin-left:auto;
  font-family:var(--mono-font);
  font-size:10px;
  font-weight:400
}
.sidebar-section-label {
  display:flex;
  justify-content:space-between;
  margin:34px 12px 10px;
  color:var(--faint);
  font-size:10px;
  letter-spacing:.04em
}
.sidebar-section-label>span {
  font-family:var(--mono-font)
}
.category-nav {
  padding-bottom:25px
}
.category-link {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:2px 0;
  padding:10px 12px;
  font-size:12px;
  color:var(--muted);
  border-radius:5px
}
.category-link:hover,.category-link.active {
  color:var(--accent);
  background:var(--accent-soft)
}
.category-link.active {
  font-weight:650
}
.category-link>small {
  font-family:var(--mono-font);
  color:var(--faint);
  font-size:10px;
  font-weight:400
}
.sidebar-bottom {
  margin-top:auto;
  padding:25px 10px 0;
  border-top:1px solid var(--line)
}
.sidebar-bottom>p {
  font-size:11px;
  color:var(--muted);
  line-height:1.9;
  letter-spacing:-.15px
}
.sidebar-bottom-row {
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:19px;
  font-size:9px;
  color:var(--faint);
  white-space:nowrap
}
.sidebar-bottom-row .icon-button {
  margin-left:auto;
  width:23px;
  height:28px
}
.sidebar-bottom-row .icon {
  width:13px;
  height:13px
}
.status-dot {
  width:5px;
  height:5px;
  background:#80966f;
  border-radius:50%;
  flex:none
}
.sidebar-overlay {
  display:none
}
.site-shell {
  margin-left:0;
  min-height:100vh;
  display:flex;
  flex-direction:column
}
.topbar {
  height:73px;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:30;
  background:var(--paper)
}
.topbar-inner {
  height:100%;
  padding:0 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}
.header-brand {
  font-family:"Atomb Pixel",var(--body-font);
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--ink);
  font-size:24px;
  font-weight:400;
  letter-spacing:0;
  white-space:nowrap;
  flex-shrink:0
}
.header-avatar {
  display:block;
  width:38px;
  height:38px;
  border:2px solid var(--accent);
  border-radius:50%;
  object-fit:cover;
  image-rendering:pixelated;
  background:#344d72;
  flex-shrink:0
}
.header-nav {
  display:flex;
  align-items:center;
  gap:32px;
  margin-left:auto
}
.header-nav a {
  padding:8px 0;
  color:var(--muted);
  font-family:"Atomb Pixel",var(--body-font);
  font-size:16px;
  letter-spacing:.07em;
  line-height:1.5;
  border-bottom:2px solid transparent
}
.header-nav a:hover,.header-nav a.active {
  color:var(--accent);
  border-bottom-color:var(--accent)
}
.header-search {
  border-radius:0
}
.header-search .icon {
  width:20px;
  height:20px
}
.breadcrumbs {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:11px;
  color:var(--muted);
  min-width:0
}
.breadcrumbs>span:first-of-type {
  opacity:.45
}
.breadcrumbs>span:last-child {
  color:var(--ink);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.breadcrumbs a:hover {
  color:var(--accent)
}
.topbar-actions {
  margin-left:auto;
  display:flex;
  gap:13px;
  align-items:center
}
.topbar-search {
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-size:11px
}
.topbar-search:hover {
  color:var(--accent)
}
.topbar-search .icon {
  width:15px;
  height:15px
}
.action-divider {
  height:15px;
  border-left:1px solid var(--line)
}
.theme-toggle .icon {
  width:18px;
  height:18px
}
.theme-toggle {
  border-radius:0
}
.theme-sun {
  display:none
}
[data-theme=dark] .theme-sun {
  display:inline
}
[data-theme=dark] .theme-moon {
  display:none
}
.menu-toggle {
  display:none
}
main {
  flex:1
}
main:focus {
  outline:none
}
.home-wrap {
  max-width:1170px;
  margin:0 auto;
  padding:0 58px
}
.hero {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  padding:64px 0 58px;
  border-bottom:1px solid var(--line)
}
.hero-copy>.eyebrow {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:9px;
  letter-spacing:.13em
}
.hero-copy>.eyebrow>span {
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--accent)
}
.hero h1 {
  font-size:49px;
  font-weight:650;
  line-height:1.32;
  letter-spacing:-2.5px;
  margin:20px 0 20px
}
.hero p {
  font-size:13px;
  color:var(--muted);
  line-height:1.95;
  letter-spacing:-.3px
}
.hero-link {
  font-size:11px;
  margin-top:25px;
  gap:16px
}
.hero-art {
  position:relative;
  width:222px;
  height:256px;
  background:var(--art);
  border:1px solid var(--line);
  border-radius:110px 110px 8px 8px;
  flex:none;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  margin-right:3px;
  color:var(--accent)
}
.hero-art>svg {
  width:202px;
  height:202px;
  margin-top:8px
}
.art-coordinate {
  position:absolute;
  top:30px;
  font-family:var(--mono-font);
  font-size:6px;
  letter-spacing:.04em;
  color:var(--muted)
}
.art-caption {
  font-family:var(--body-font);
  font-size:10px;
  font-style:italic;
  position:absolute;
  bottom:20px;
  color:var(--muted)
}
.pixel-hero {
  position:relative;
  display:block;
  width:100%;
  max-width:1170px;
  aspect-ratio:1296 / 789;
  overflow:hidden;
  margin:0 auto;
  padding:0;
  border:0;
  box-shadow:none;
  line-height:0;
  background:#11231f
}
/* Show the top-left 1296 × 789 region of the original 1672 × 941 scene.
   The monitor link stays in the original image's coordinate system. */
.pixel-scene {
  position:absolute;
  top:0;
  left:0;
  width:129.012345679%
}
.pixel-hero-image {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1672 / 941;
  object-fit:cover;
  object-position:center 48%;
  image-rendering:pixelated
}
.scene-middle-figurine {
  position:absolute;
  inset:0;
  display:block;
  pointer-events:none
}
.scene-interior-tone {
  filter:url(#night-room-tone)
}
[data-theme=light] .scene-interior-tone {
  filter:none
}
.scene-window-view {
  position:absolute;
  inset:0;
  pointer-events:none
}
.window-shared {
  filter:url(#night-window-tone)
}
[data-theme=light] .window-night-lights {
  display:none
}
[data-theme=light] .window-shared {
  filter:none
}
/* Identical silhouettes in both themes prevent objects from jumping on toggle. */
.scene-object-patches {
  clip-path:url(#day-edited-objects)
}
.scene-paper-patch {
  clip-path:url(#day-paper-stack)
}
[data-theme=light] .scene-edits {
  filter:brightness(1.45) saturate(.85) sepia(.12)
}
/* Versioned sources remain untouched; masks and color filters compose the scene. */
.scene-edits {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  image-rendering:pixelated;
  pointer-events:none
}
.scene-icon-outlines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.paper-stack-link {
  position: absolute;
  left: 26.61%;
  top: 66.31%;
  width: 7.18%;
  height: 8.5%;
  cursor: pointer;
}
.memo-book-link {
  position:absolute;
  left:37.68%;
  top:70.67%;
  width:14.35%;
  height:5.53%;
  cursor:pointer
}
.paper-stack-link::before,.memo-book-link::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  height: 100%;
  min-width: 44px;
  min-height: 44px;
  transform: translate(-50%, -50%);
}
.paper-stack-link:hover,.paper-stack-link:focus-visible,.memo-book-link:hover,.memo-book-link:focus-visible {
  outline: 2px solid #e4efff;
  outline-offset: 2px;
}
.paper-stack-label,.memo-book-label {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  width: 78%;
  min-width: 38px;
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(2px 2px 0 #101a30);
  pointer-events: none;
}
.memo-book-label {
  top:calc(100% + 8px);
  width:40%
}
.cat-figurine-link {
  position:absolute;
  left:36.48%;
  top:29.76%;
  width:5.74%;
  height:12.75%;
  cursor:pointer
}
.lamp-light-layer {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  pointer-events:none;
  opacity:0;
  image-rendering:pixelated
}
.desk-lamp-switch {
  position:absolute;
  left:50.1%;
  top:46.5%;
  width:10.9%;
  height:23.2%;
  padding:0;
  background:transparent;
  border:0;
  cursor:pointer
}
.desk-lamp-switch:focus-visible {
  outline:2px dashed #ffe6a2;
  outline-offset:3px
}
.pixel-scene:has(.desk-lamp-switch[aria-pressed="true"]) .lamp-light-layer,
.pixel-scene:has(.desk-lamp-switch:focus-visible) .lamp-light-layer {
  opacity:1
}
@media (hover:hover) {
  .pixel-scene:has(.desk-lamp-switch:hover) .lamp-light-layer {
    opacity:1
  }
}
.computer-screen-link {
  position:absolute;
  left:6.58%;
  top:50.8%;
  width:10.05%;
  height:11.9%;
  cursor:pointer
}
.wizard-poster-link {
  position:absolute;
  left:3.71%;
  top:17%;
  width:9.33%;
  height:26.35%;
  cursor:pointer
}
.math-poster-link {
  position:absolute;
  left:43.66%;
  top:18.17%;
  width:7.78%;
  height:23.7%;
  cursor:pointer
}
.wizard-poster-link:hover,.wizard-poster-link:focus-visible,.math-poster-link:hover,.math-poster-link:focus-visible {
  outline:2px solid #e4efff;
  outline-offset:2px;
  background:#ffffff0a
}
.poster-stat-label,.poster-math-label {
  position:absolute;
  left:50%;
  bottom:5%;
  transform:translateX(-50%);
  width:54%;
  min-width:36px;
  max-width:80%;
  height:auto;
  image-rendering:pixelated;
  filter:drop-shadow(2px 2px 0 #101a30);
  pointer-events:none
}
.poster-stat-label,.poster-math-label {
  bottom:auto;
  top:calc(100% + 8px)
}
.poster-math-label {
  width:65%
}
.poster-math-formula {
  opacity:0.5;
  position:absolute;
  left:50%;
  top:25%;
  transform:translateX(-50%);
  width:80%;
  height:auto;
  image-rendering:pixelated;
  filter:drop-shadow(2px 2px 0 #101a30);
  pointer-events:none
}
.computer-screen-link::before,.cat-figurine-link::before {
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:100%;
  height:100%;
  min-width:44px;
  min-height:44px;
  transform:translate(-50%,-50%)
}
.computer-screen-link:hover,.computer-screen-link:focus-visible,.cat-figurine-link:hover,.cat-figurine-link:focus-visible {
  outline:2px solid #b6e4ff;
  outline-offset:2px;
  background:#b6e4ff18
}
.computer-code-label, .figurine-about-label {
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  height:auto;
  image-rendering:pixelated;
  filter:drop-shadow(2px 2px 0 #101a30);
  pointer-events:none
}
.computer-code-label {
  bottom:10%;
  width:50%;
  min-width:28px;
  max-width:90%
}
.figurine-about-label {
  top:calc(100% + 8px);
  width:100%;
  min-width:38px
}
.hero-shortcuts {
  position:absolute;
  top:clamp(12px,3vw,36px);
  right:clamp(12px,3vw,36px);
  display:grid;
  gap:14px
}
.desktop-shortcut {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  width:84px;
  padding:4px;
  border:1px solid transparent;
  color:#f4f0e6;
  line-height:1;
  text-align:center
}
.desktop-shortcut>img {
  display:block;
  width:64px;
  height:64px;
  image-rendering:pixelated;
  filter:drop-shadow(2px 2px 0 #0b1329aa)
}
.desktop-shortcut>span {
  padding:2px 4px;
  background:#101a305c;
  font-family:var(--mono-font);
  font-size:12px;
  line-height:16px;
  letter-spacing:.03em;
  text-shadow:1px 1px 0 #101a30,2px 2px 0 #101a30
}
.desktop-shortcut:hover,.desktop-shortcut:focus-visible {
  border-color:#b7cbea;
  background:#7697ce33
}
.desktop-shortcut:focus-visible {
  outline:2px solid #e4efff;
  outline-offset:2px
}
.notes-section {
  padding-top:37px;
  padding-bottom:36px
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:23px
}
.section-heading .eyebrow {
  font-size:8px
}
.section-heading h2 {
  font-size:22px;
  font-weight:650;
  letter-spacing:-.8px;
  margin-top:5px;
  display:flex;
  gap:9px;
  align-items:center
}
.archive-link {
  font-size:10px;
  margin-bottom:5px
}
#notes-title {
  font-family:"Atomb Pixel",var(--body-font);
  font-weight:400;
  letter-spacing:0;
  margin-top:0;
}
.home-tag-filter .filter-chip {
  background:transparent;
  border:0;
  border-radius:0;
}
.home-tag-filter .filter-chip.active,
.home-tag-filter .filter-chip:hover {
  background:transparent;
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:5px;
}
.home-tag-filter [data-home-tag=""] {
  font-family:"Atomb Pixel",var(--body-font);
  font-size:14px;
}
.filter-bar {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin-bottom:12px
}
.filter-chip {
  padding:5px 11px;
  display:flex;
  gap:8px;
  align-items:center;
  font-size:10px;
  border:1px solid transparent;
  border-radius:5px;
  color:var(--muted)
}
.filter-chip:hover {
  background:var(--accent-soft)
}
.filter-chip.active {
  background:var(--accent);
  color:var(--paper)
}
.notes-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 185px;
  gap:40px;
  align-items:start
}
.notes-main {
  min-width:0
}
.post-item {
  padding:26px 0;
  border-bottom:1px solid var(--line)
}
.post-item.has-thumbnail {
  --muted:#e2ece9;
  --faint:#d8e5e3;
  --accent:#bfe8e1;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding-inline:clamp(16px,3vw,28px);
  background:#243338;
  color:#f0f5f3
}
.post-item.has-thumbnail h3 {
  overflow-wrap:anywhere
}
.post-item.has-thumbnail::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgb(18 31 36 / 82%),rgb(18 31 36 / 60%))
}
.post-item-cover {
  position:absolute;
  inset:0;
  z-index:-2;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover
}
.post-item-meta {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:10px;
  flex-wrap:wrap
}
.post-item-meta time {
  font-family:var(--mono-font);
  font-size:9px
}
.sample-label {
  font-size:8px;
  line-height:1.5;
  padding:1px 5px;
  border:1px solid var(--line);
  border-radius:3px;
  color:var(--faint);
  font-weight:400;
  letter-spacing:0
}
.post-item h3 {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:15px;
  font-size:21px;
  font-weight:600;
  letter-spacing:-.7px;
  margin:10px 0
}
.post-item h3 a:hover {
  color:var(--accent)
}
.post-excerpt {
  color:var(--muted);
  font-size:12px;
  line-height:1.9;
  letter-spacing:-.2px
}
.post-item-bottom {
  margin-top:17px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center
}
.post-tags {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  font-size:10px;
  color:var(--faint)
}
.post-tags a:hover {
  color:var(--accent)
}
.notebook-aside {
  padding-top:0
}
.aside-note {
  border:1px solid var(--line);
  border-radius:4px;
  background:var(--sidebar);
  padding:23px 20px 17px;
  position:relative
}
.aside-note::before {
  content:"";
  position:absolute;
  width:30px;
  height:5px;
  left:20px;
  top:-3px;
  background:var(--accent);
  opacity:.45
}
.aside-icon {
  display:inline-flex;
  color:var(--accent);
  margin-bottom:17px
}
.aside-icon .icon {
  width:24px;
  height:24px
}
.aside-note h3 {
  font-size:13px;
  font-weight:600;
  letter-spacing:-.4px;
  margin-bottom:11px
}
.aside-note p {
  font-size:10px;
  color:var(--muted);
  line-height:2
}
.aside-signature {
  display:flex;
  justify-content:space-between;
  gap:5px;
  font-family:var(--body-font);
  font-style:italic;
  font-size:8px;
  color:var(--faint);
  border-top:1px solid var(--line);
  padding-top:15px;
  margin-top:21px;
  white-space:nowrap
}
.aside-signature>span {
  font-style:normal
}
.aside-topics {
  padding-top:0;
  font-family:"Atomb Pixel",var(--body-font)
}
.aside-topics>.notebook-heading {
  display:block;
  font-family:inherit;
  font-size:20px;
  letter-spacing:0;
  line-height:1.5;
  margin-bottom:16px
}
.aside-topics>a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  padding:10px 0;
  border-bottom:1px solid var(--line);
  font-size:20px;
  color:var(--muted)
}
.aside-topics>a:first-of-type {
  margin-top:8px
}
.aside-topics>a {
  padding-left:.6em
}
.aside-topics>a:last-child {
  border-bottom:0
}
.back-link .pixel-arrow {
  stroke:none;
  image-rendering:pixelated
}
.aside-topics>a:hover {
  color:var(--accent)
}
.empty-state,.filter-empty {
  padding:40px 0;
  color:var(--muted)
}
.empty-state h3 {
  font-size:18px
}
.empty-state p {
  font-size:13px;
  margin-top:10px
}
.site-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  flex-wrap:wrap;
  max-width:1054px;
  width:calc(100% - 116px);
  margin:0 auto;
  padding:23px 0;
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--faint)
}
.site-footer>a {
  display:flex;
  align-items:center;
  gap:6px
}
.site-footer .icon {
  width:11px;
  height:11px
}
.site-footer>a:hover {
  color:var(--accent)
}
/* Long-form reading. */
.post-wrap {
  display:grid;
  grid-template-columns:minmax(0,710px) 165px;
  gap:54px;
  padding:43px 58px 60px;
  max-width:1170px;
  margin:auto
}
.back-link {
  font-size:calc(10px + 3pt);
  color:var(--muted);
  margin-bottom:38px
}
.back-link:hover .icon {
  transform:translateX(-3px)
}
.post-category {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  font-weight:600;
  color:var(--accent);
  margin-bottom:3px
}
.post-header h1 {
  font-size:36px;
  font-weight:650;
  letter-spacing:-1.4px;
  line-height:1.4
}
.post-description {
  color:var(--muted);
  font-size:14px;
  line-height:1.9;
  margin-top:12px
}
.post-byline {
  display:flex;
  gap:8px;
  align-items:center;
  color:var(--muted);
  font-size:15px;
  flex-wrap:wrap;
  margin:27px 0 36px;
  padding-bottom:29px;
  border-bottom:1px solid var(--line)
}
.author-avatar {
  background:var(--accent-soft);
  color:var(--accent);
  font-family:var(--body-font);
  font-size:12px;
  width:26px;
  height:26px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  border-radius:50%;
  margin-right:2px
}
.prose {
  font-size:15px;
  line-height:1.95;
  overflow-wrap:break-word
}
.prose>*:first-child {
  margin-top:0
}
.prose p {
  margin:0 0 24px
}
.prose .about-tagline {
  font-family:"Atomb Pixel",var(--body-font);
  font-size:18px;
  color:var(--accent);
  text-align:center
}
.prose img.about-portrait {
  width:calc(320px * 2 / 3);
  height:auto;
  margin:32px auto;
  border-radius:50%;
  image-rendering:pixelated
}
.about-page>.page-header {
  border-bottom:0
}
.about-page>.page-header h1 {
  font-family:"Atomb Pixel",var(--body-font);
  font-weight:400;
  letter-spacing:0;
  text-align:center
}
.prose h1 {
  font-size:28px;
  font-weight:650;
  margin:44px 0 19px;
  padding:4px 0 10px;
  border-bottom:1px solid var(--line);
  letter-spacing:-.7px
}
.prose h2 {
  font-size:24px;
  font-weight:650;
  margin:44px 0 19px;
  padding-top:4px;
  letter-spacing:-.7px
}
.prose h3 {
  font-size:19px;
  font-weight:600;
  margin:32px 0 16px;
  letter-spacing:-.5px
}
.prose h4 {
  font-size:16px;
  margin:26px 0 12px
}
.prose h1,.prose h2,.prose h3,.prose h4 {
  scroll-margin-top:96px
}
.prose a {
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:4px;
  text-decoration-color:var(--line)
}
.prose a:hover {
  text-decoration-color:var(--accent)
}
.prose ul,.prose ol {
  padding-left:24px;
  margin:0 0 24px
}
.prose li {
  padding-left:3px;
  margin:7px 0
}
.prose li>p {
  margin:8px 0
}
.prose li::marker {
  color:var(--accent)
}
.prose blockquote {
  margin:28px 0;
  padding:19px 24px;
  border-left:3px solid var(--accent);
  background:var(--sidebar);
  color:var(--muted);
  border-radius:0 4px 4px 0
}
.prose blockquote p:last-child {
  margin-bottom:0
}
.prose strong {
  color:var(--accent-emphasis);
  font-weight:650
}
/* Mist teal supports the main palette; hot pink emphasizes, purple marks tips/code. */
.prose blockquote.note,.prose blockquote.important,.prose blockquote.tip {
  --callout-color:var(--accent);
  border-left:3px solid var(--callout-color);
  background:color-mix(in srgb,var(--callout-color) 9%,var(--paper));
  color:var(--ink);
  border-radius:0;
  margin:20px 0
}
.prose blockquote.important { --callout-color:var(--accent-emphasis) }
.prose blockquote.tip { --callout-color:var(--accent-detail) }
.prose blockquote.note strong,.prose blockquote.important strong,.prose blockquote.tip strong {
  color:var(--callout-color)
}
.prose mark {
  background:color-mix(in srgb,var(--accent-detail) 20%,var(--paper));
  color:var(--ink);
  padding:1px 4px
}
.prose hr {
  border:0;
  border-top:1px solid var(--line);
  margin:38px 0
}
.prose code {
  font-family:var(--mono-font);
  font-size:.82em;
  background:var(--code);
  padding:3px 6px;
  border-radius:4px;
  overflow-wrap:anywhere;
  color:var(--accent-detail)
}
.prose pre {
  font-family:var(--mono-font);
  font-size:14px;
  line-height:1.85;
  padding:22px 24px;
  overflow:auto;
  margin:0;
  tab-size:2;
  background:var(--code);
  border:0;
  border-radius:3px;
  word-break:normal;
  overflow-wrap:normal;
  max-width:100%
}
.prose pre>code {
  padding:0;
  font-size:inherit;
  color:var(--ink);
  overflow-wrap:normal
}
.prose div.highlighter-rouge {
  position:relative;
  margin:24px 0
}
.prose div.highlighter-rouge>div.highlight {
  overflow:hidden
}
.code-copy {
  position:absolute;
  right:8px;
  top:8px;
  font-size:9px;
  border:1px solid var(--line);
  border-radius:4px;
  padding:3px 8px;
  background:var(--paper);
  color:var(--muted);
  z-index:1;
  opacity:0
}
.highlighter-rouge:hover .code-copy,.code-copy:focus-visible,.code-copy.copied {
  opacity:1
}
.code-copy:hover {
  color:var(--accent)
}
.heading-anchor {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none!important;
  margin-left:9px;
  width:21px;
  height:25px;
  color:var(--faint)!important;
  font-size:16px;
  opacity:0;
  vertical-align:middle
}
.prose h1:hover .heading-anchor,.prose h2:hover .heading-anchor,.prose h3:hover .heading-anchor,.heading-anchor:focus-visible {
  opacity:1
}
.table-scroll {
  overflow-x:auto;
  width:100%;
  margin:26px 0
}
.prose table {
  border-collapse:collapse;
  font-size:12px;
  min-width:100%;
  word-break:normal
}
.prose th,.prose td {
  padding:13px 16px;
  border:1px solid var(--line);
  text-align:left;
  line-height:1.7
}
.prose th {
  background:var(--accent-soft);
  color:var(--accent);
  border-bottom:2px solid var(--accent);
  font-weight:600
}
.prose th:first-child,.prose td:first-child {
  border-left:0
}
.prose th:last-child,.prose td:last-child {
  border-right:0
}
.prose img {
  display:block;
  border-radius:5px;
  max-width:100%;
  height:auto;
  margin:25px auto
}
.prose .footnotes {
  font-size:12px;
  color:var(--muted);
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:45px
}
.prose .footnotes p {
  margin:0
}
.prose input[type=checkbox] {
  accent-color:var(--accent)
}
.prose details {
  padding:15px 20px;
  background:var(--sidebar);
  border:1px solid var(--line);
  border-radius:5px;
  margin:20px 0
}
.prose details summary {
  font-weight:600;
  cursor:pointer
}
.prose details[open] summary {
  margin-bottom:15px
}
.post-footer {
  border-top:1px solid var(--line);
  padding:24px 0;
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:45px
}
.copy-link {
  font-size:10px;
  color:var(--muted);
  white-space:nowrap
}
.copy-link:hover .icon {
  transform:none
}
.post-pagination {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  border-top:1px solid var(--line);
  padding-top:30px
}
.post-pagination>a {
  display:flex;
  flex-direction:column;
  gap:9px
}
.post-pagination small {
  font-size:9px;
  color:var(--muted)
}
.post-pagination span {
  font-size:12px;
  line-height:1.7
}
.post-pagination>a:hover span {
  color:var(--accent)
}
.post-pagination .next-post {
  text-align:right;
  align-items:flex-end
}
.toc {
  align-self:start;
  position:sticky;
  top:110px;
  border-left:0;
  padding-left:20px;
  margin-top:45px
}
.toc>.eyebrow {
  font-size:8px
}
.toc h2 {
  font-size:11px;
  font-weight:600;
  margin:7px 0 17px;
  letter-spacing:0
}
.toc nav {
  display:grid;
  gap:10px
}
.toc nav a {
  font-size:12px;
  color:var(--muted);
  line-height:1.8;
  display:block
}
.toc-parent {
  position:relative;
  padding-right:14px;
  list-style:none;
  cursor:pointer
}
.toc-parent::-webkit-details-marker {
  display:none
}
.toc-parent::after {
  content:"";
  position:absolute;
  right:1px;
  top:7px;
  border-top:3px solid transparent;
  border-bottom:3px solid transparent;
  border-left:4px solid var(--muted);
  pointer-events:none
}
.toc-branch[open]>.toc-parent::after {
  transform:rotate(90deg)
}
.toc-children {
  position:relative;
  display:grid;
  gap:10px;
  margin-top:10px;
  margin-left:4px;
  padding-left:12px
}
.toc-branch:not([open])>.toc-children {
  display:none
}
.toc-children::before {
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:1px;
  background:var(--accent);
  pointer-events:none
}
.toc nav a:hover,.toc nav a.active {
  color:var(--accent)
}
.toc-branch:has(a.active)>.toc-parent>a {
  color:var(--accent)
}
.toc nav a.active {
  font-weight:650
}
.toc-top {
  display:block;
  margin-top:25px;
  padding-top:17px;
  border-top:1px solid var(--line);
  font-size:9px;
  color:var(--faint)
}
.reading-progress {
  position:fixed;
  top:72px;
  left:0;
  right:0;
  height:2px;
  z-index:35;
  pointer-events:none
}
.reading-progress>span {
  display:block;
  width:0;
  height:100%;
  background:var(--accent)
}
.page-wrap {
  max-width:900px;
  margin:0 auto;
  padding:63px 58px 70px
}
.page-header {
  margin-bottom:43px;
  padding-bottom:30px;
  border-bottom:1px solid var(--line)
}
.page-header .eyebrow {
  font-size:9px
}
.page-header h1 {
  font-size:36px;
  margin-top:16px;
  letter-spacing:-1.4px
}
.page-header p {
  font-size:13px;
  color:var(--muted);
  margin-top:15px
}
.button-primary {
  display:inline-flex;
  background:var(--accent);
  color:var(--paper)!important;
  padding:10px 17px;
  border-radius:5px;
  font-size:12px;
  text-decoration:none!important
}
.archive-wrap {
  max-width:1050px
}
.category-index-list {
  padding:0;
  margin:0;
  list-style:none
}
.category-index-list a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px 0;
  border-bottom:1px solid var(--line);
  font-size:16px
}
.category-index-list a:hover {
  color:var(--accent)
}
.category-index-count {
  color:var(--muted);
  font-size:11px;
  white-space:nowrap
}
.archive-toolbar {
  display:flex;
  justify-content:space-between;
  gap:15px;
  font-size:11px;
  color:var(--muted)
}
.archive-toolbar strong {
  color:var(--accent);
  font-weight:600
}
.archive-toolbar button {
  font-size:10px
}
.tag-filter {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:20px 0 38px
}
.tag-chip {
  font-size:10px;
  padding:4px 10px;
  border-radius:4px;
  color:var(--muted);
  border:1px solid var(--line)
}
.tag-chip:hover,.tag-chip.active {
  background:var(--accent-soft);
  border-color:var(--accent-soft);
  color:var(--accent)
}
.archive-year {
  margin-bottom:35px
}
.archive-year>h2 {
  display:flex;
  align-items:center;
  gap:13px;
  font-family:var(--mono-font);
  font-size:20px;
  font-weight:400;
  margin-bottom:14px;
  letter-spacing:-.5px
}
.archive-year>h2>span {
  font-family:var(--body-font);
  font-size:9px;
  color:var(--faint);
  letter-spacing:0
}
.archive-row {
  display:flex;
  align-items:baseline;
  gap:18px;
  border-bottom:1px solid var(--line);
  padding:17px 0
}
.archive-row time {
  font-family:var(--mono-font);
  font-size:10px;
  color:var(--faint);
  flex:none
}
.archive-row a {
  font-size:13px
}
.archive-row a:hover {
  color:var(--accent)
}
.archive-category {
  font-size:9px;
  color:var(--muted);
  margin-left:auto;
  white-space:nowrap
}
.archive-row>span:last-child {
  color:var(--faint);
  font-size:14px
}
.archive-empty {
  color:var(--muted);
  font-size:13px;
  padding:30px 0
}
.category-page {
  max-width:1000px
}
.category-header h1 {
  font-family:"Atomb Pixel",var(--body-font),sans-serif;
  font-weight:400;
  letter-spacing:0;
}
.category-header .eyebrow {
  font-size:calc(9px + 5pt)
}
.category-header {
  border-bottom:0;
  padding-bottom:0;
  margin-bottom:55px
}
.category-header p strong {
  color:var(--accent);
  font-weight:600
}
.category-year {
  margin-bottom:46px
}
.category-year h2 {
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
  color:var(--accent);
  font-family:"Atomb Pixel",var(--body-font);
  font-size:25px;
  font-weight:400;
  letter-spacing:0;
  scroll-margin-top:95px
}
.category-posts {
  padding:12px 0 0;
  margin:0;
  list-style:none
}
/* Native dialog provides focus containment and background inertness. */
.search-dialog {
  padding:0;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--paper);
  color:var(--ink);
  width:min(620px,calc(100% - 32px));
  max-height:75vh;
  box-shadow:var(--shadow);
  margin:12vh auto auto;
  overflow:hidden
}
.search-dialog::backdrop {
  background:#18211970;
  backdrop-filter:blur(4px)
}
.search-header {
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px 22px;
  border-bottom:1px solid var(--line);
  color:var(--muted)
}
.search-header input {
  width:100%;
  border:0;
  outline:0;
  background:none;
  color:var(--ink);
  font-size:14px;
  min-width:0
}
.search-header input::placeholder {
  color:var(--faint)
}
.search-header input:focus-visible {
  outline:0
}
.search-close {
  font-family:var(--mono-font);
  font-size:10px;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:4px;
  padding:2px 6px
}
.search-status {
  font-size:11px;
  color:var(--muted);
  padding:16px 23px 8px
}
.search-results {
  max-height:calc(75vh - 120px);
  min-height:70px;
  overflow-y:auto;
  padding:4px 12px 13px
}
.search-result {
  display:block;
  border-radius:6px;
  padding:14px 12px
}
.search-result:hover,.search-result:focus-visible {
  background:var(--accent-soft)
}
.search-result strong {
  display:block;
  font-size:14px;
  font-weight:600
}
.search-result small {
  display:block;
  color:var(--muted);
  font-size:9px;
  margin-top:5px
}
.search-result p {
  font-size:11px;
  color:var(--muted);
  margin-top:6px;
  line-height:1.8
}
.search-result mark {
  background:var(--accent-soft);
  color:var(--accent);
  font-weight:650
}
.search-error {
  padding:15px 12px;
  color:var(--muted);
  font-size:12px
}
.search-retry {
  display:block;
  color:var(--accent);
  margin-top:10px;
  padding:0;
  font-size:12px
}
.back-to-top {
  position:fixed;
  right:22px;
  bottom:22px;
  border:1px solid var(--line);
  background:var(--paper);
  box-shadow:0 2px 10px #00000008;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:opacity .2s,transform .2s,visibility .2s;
  z-index:20;
  font-size:18px
}
.back-to-top.visible {
  opacity:1;
  visibility:visible;
  transform:none
}
/* Code-only palette: distinct token colors for Python and R. */
.highlight {
  --syntax-keyword:#ff73b7;
  --syntax-string:#f3c17a;
  --syntax-function:#74c9ff;
  --syntax-number:#c5a7ff;
  --syntax-comment:#9baeb9;
  --syntax-operator:#a8ccc5;
}
[data-theme=light] .highlight {
  --syntax-keyword:#bd146b;
  --syntax-string:#98600a;
  --syntax-function:#006eae;
  --syntax-number:#7842bf;
  --syntax-comment:#657887;
  --syntax-operator:#376e71;
}
.highlight .c,.highlight .c1,.highlight .cm,.highlight .cp,.highlight .cd,.highlight .ch,.highlight .cs {
  color:var(--syntax-comment);
  font-style:italic
}
.highlight .k,.highlight .kd,.highlight .kn,.highlight .kp,.highlight .kr,.highlight .kt {
  color:var(--syntax-keyword)
}
.highlight .s,.highlight .s1,.highlight .s2,.highlight .sb,.highlight .sc,.highlight .sd,.highlight .sx,.highlight .sr,.highlight .ss {
  color:var(--syntax-string)
}
.highlight .nf,.highlight .nb,.highlight .nc,.highlight .nn {
  color:var(--syntax-function)
}
.highlight .m,.highlight .mi,.highlight .mf,.highlight .mh,.highlight .mo,.highlight .il,.highlight .kc {
  color:var(--syntax-number)
}
.highlight .o,.highlight .ow {
  color:var(--syntax-operator)
}
.highlight .p {
  color:var(--muted)
}
.highlight .na,.highlight .nt,.highlight .nl,.highlight .se,.highlight .si {
  color:var(--syntax-keyword)
}
@media(min-width:1600px) {
  :root {
    --sidebar-width:280px
  }
  .sidebar {
    padding-left:32px;
    padding-right:32px
  }
  .hero {
    padding-top:79px;
    padding-bottom:72px
  }
  .hero h1 {
    font-size:55px
  }
  .hero-art {
    width:240px;
    height:275px
  }
  .hero-art>svg {
    width:218px;
    height:218px
  }
  .post-item {
    padding:30px 0
  }
}
@media(max-width:1200px) {
  .topbar-inner {
    padding:0 38px
  }
  .home-wrap {
    padding:0 38px
  }
  .hero {
    gap:20px
  }
  .hero h1 {
    font-size:43px
  }
  .hero-art {
    width:180px;
    height:220px
  }
  .hero-art>svg {
    width:166px;
    height:166px
  }
  .art-coordinate {
    font-size:5px
  }
  .art-caption {
    font-size:8px
  }
  .notes-layout {
    grid-template-columns:minmax(0,1fr) 163px;
    gap:26px
  }
  .aside-note {
    padding:21px 15px 16px
  }
  .aside-signature {
    font-size:7px
  }
  .post-item h3 {
    font-size:19px
  }
  .post-wrap {
    grid-template-columns:minmax(0,1fr) 140px;
    gap:30px;
    padding-left:38px;
    padding-right:38px
  }
  .post-header h1 {
    font-size:32px
  }
  .site-footer {
    width:calc(100% - 76px)
  }
}
@media(max-width:1020px) {
  .hero-shortcuts {
    gap:8px
  }
  .desktop-shortcut {
    width:72px
  }
  .desktop-shortcut>img {
    width:48px;
    height:48px
  }
  :root {
    --sidebar-width:230px
  }
  .sidebar {
    padding:30px 19px 18px
  }
  .brand>span {
    font-size:18px
  }
  .brand small {
    font-size:9px
  }
  .brand-mark {
    width:31px;
    height:31px
  }
  .brand {
    gap:10px
  }
  .hero h1 {
    font-size:39px
  }
  .hero-art {
    width:155px;
    height:195px
  }
  .hero-art>svg {
    width:143px;
    height:143px
  }
  .art-coordinate {
    top:22px;
    font-size:4.5px
  }
  .art-caption {
    font-size:7px;
    bottom:15px
  }
  .notes-layout {
    display:block
  }
  .notebook-aside {
    display:none
  }
  .hero p {
    font-size:12px
  }
  .hero-copy>.eyebrow {
    font-size:8px
  }
  .post-wrap {
    display:block;
    max-width:820px
  }
  .toc {
    display:none
  }
  .post-header h1 {
    font-size:34px
  }
  .post-item h3 {
    font-size:21px
  }
  .page-wrap {
    padding-left:38px;
    padding-right:38px
  }
}
@media(max-width:760px) {
  .hero-shortcuts {
    top:10px;
    right:10px;
    gap:4px
  }
  .desktop-shortcut {
    width:60px;
    padding:2px;
    gap:2px
  }
  .desktop-shortcut>img {
    width:32px;
    height:32px
  }
  .desktop-shortcut>span {
    padding:1px 3px;
    font-size:10px;
    line-height:13px
  }
  :root {
    --sidebar-width:258px
  }
  .sidebar {
    transform:translateX(-100%);
    transition:transform .22s ease;
    z-index:80;
    padding:28px 24px 20px
  }
  .sidebar-close {
    display:inline-flex
  }
  .sidebar-top {
    gap:10px
  }
  .brand>span {
    font-size:19px
  }
  .brand-mark {
    width:31px;
    height:31px
  }
  .sidebar-close {
    width:28px;
    height:32px
  }
  .site-shell {
    margin-left:0
  }
  .topbar {
    height:62px
  }
  .topbar-inner {
    padding:0 20px;
    gap:12px
  }
  .header-brand {
    font-size:16px;
    gap:8px
  }
  .header-avatar {
    width:32px;
    height:32px
  }
  .header-nav {
    gap:18px
  }
  .header-nav a {
    font-size:10px;
    letter-spacing:.04em
  }
  .header-search {
    width:32px
  }
  .menu-toggle {
    display:inline-flex;
    margin-left:-7px
  }
  .topbar-actions {
    gap:8px
  }
  .action-divider {
    margin:0 3px
  }
  .breadcrumbs {
    font-size:10px;
    gap:9px
  }
  .topbar-search {
    padding:5px
  }
  .topbar-search>span {
    display:none
  }
  .home-wrap {
    padding:0 27px;
    max-width:700px
  }
  .hero {
    padding:45px 0 39px
  }
  .hero h1 {
    font-size:42px;
    letter-spacing:-2px
  }
  .hero-art {
    width:165px;
    height:207px
  }
  .hero-art>svg {
    width:153px;
    height:153px
  }
  .art-coordinate {
    font-size:4.8px
  }
  .hero p {
    font-size:12px
  }
  .hero-copy>.eyebrow {
    font-size:7px
  }
  .hero-link {
    font-size:10px;
    margin-top:22px
  }
  .notes-section {
    padding-top:29px
  }
  .section-heading {
    margin-bottom:20px
  }
  .section-heading h2 {
    font-size:21px
  }
  .post-item {
    padding:25px 0
  }
  .post-item h3 {
    font-size:20px
  }
  .post-excerpt {
    font-size:12px
  }
  .site-footer {
    width:calc(100% - 54px);
    max-width:646px;
    font-size:11px;
    padding:20px 0
  }
  .site-footer>span:nth-child(2) {
    display:none
  }
  .menu-open {
    overflow:hidden
  }
  .menu-open .sidebar {
    transform:translateX(0)
  }
  .menu-open .sidebar-overlay {
    display:block;
    position:fixed;
    inset:0;
    background:#15201970;
    backdrop-filter:blur(2px);
    z-index:70
  }
  .post-wrap {
    padding:30px 27px 50px;
    max-width:700px
  }
  .reading-progress {
    left:0;
    top:61px
  }
  .back-link {
    margin-bottom:30px
  }
  .post-header h1 {
    font-size:31px;
    letter-spacing:-1.2px
  }
  .post-description {
    font-size:13px
  }
  .post-byline {
    font-size:14px;
    margin-top:22px;
    margin-bottom:30px;
    gap:6px
  }
  .prose {
    font-size:15px;
    line-height:1.95
  }
  .prose h2 {
    font-size:23px
  }
  .prose pre {
    font-size:13px;
    padding:22px 18px
  }
  .prose blockquote {
    padding:17px 20px
  }
  .code-copy {
    opacity:1
  }
  .heading-anchor {
    opacity:.6
  }
  .page-wrap {
    max-width:700px;
    padding:45px 27px 55px
  }
  .page-header h1 {
    font-size:30px
  }
  .archive-row {
    gap:13px
  }
  .archive-row a {
    font-size:12px
  }
  .archive-category {
    font-size:8px
  }
  .archive-row>span:last-child {
    display:none
  }
  .back-to-top {
    right:15px;
    bottom:15px
  }
}
@media(max-width:440px) {
  .hero-shortcuts {
    top:6px;
    right:6px;
    gap:2px
  }
  .desktop-shortcut {
    width:52px;
    padding:0;
    gap:0
  }
  .desktop-shortcut>img {
    width:24px;
    height:24px
  }
  .desktop-shortcut>span {
    padding:0 2px;
    font-size:9px;
    line-height:12px
  }
  .home-wrap {
    padding:0 23px
  }
  .topbar-inner {
    padding:0 18px;
    gap:8px
  }
  .header-brand {
    font-size:15px;
    gap:7px
  }
  .header-avatar {
    width:30px;
    height:30px
  }
  .header-nav {
    gap:10px
  }
  .header-nav a {
    letter-spacing:.02em
  }
  .hero {
    gap:14px;
    padding:36px 0 33px
  }
  .hero h1 {
    font-size:35px;
    line-height:1.4;
    letter-spacing:-1.8px;
    margin:16px 0
  }
  .hero p {
    font-size:11px;
    line-height:1.95
  }
  .hero-art {
    width:116px;
    height:164px;
    align-self:center
  }
  .hero-art>svg {
    width:110px;
    height:110px
  }
  .art-coordinate {
    font-size:3.4px;
    top:21px
  }
  .art-caption {
    font-size:5.8px;
    bottom:15px
  }
  .hero-copy>.eyebrow {
    font-size:5.7px;
    letter-spacing:.06em;
    gap:5px
  }
  .hero-copy>.eyebrow>span {
    width:4px;
    height:4px
  }
  .hero-link {
    font-size:9px;
    gap:10px;
    margin-top:17px
  }
  .hero-link .icon {
    width:13px;
    height:13px
  }
  .section-heading h2 {
    font-size:20px
  }
  .archive-link {
    font-size:9px
  }
  .post-item h3 {
    font-size:19px
  }
  .filter-bar {
    gap:3px
  }
  .filter-chip {
    font-size:10px;
    padding:5px 9px
  }
  .post-tags {
    font-size:9px
  }
  .post-item-meta {
    font-size:9px;
    gap:6px
  }
  .post-excerpt {
    font-size:11px;
    line-height:1.95
  }
  .post-wrap {
    padding-left:23px;
    padding-right:23px
  }
  .post-header h1 {
    font-size:28px
  }
  .post-pagination {
    gap:18px
  }
  .post-pagination span {
    font-size:11px
  }
  .post-footer {
    gap:13px
  }
  .post-footer .post-tags {
    gap:7px
  }
  .post-byline {
    font-size:13px
  }
  .page-wrap {
    padding-left:23px;
    padding-right:23px
  }
  .page-header h1 {
    font-size:28px
  }
  .page-header p {
    font-size:12px
  }
  .archive-category {
    display:none
  }
  .archive-row time {
    font-size:9px
  }
  .search-header {
    padding:17px 16px;
    gap:10px
  }
  .search-header input {
    font-size:12px
  }
  .site-footer {
    width:calc(100% - 46px)
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important
  }
}
@media print {
  .sidebar,.topbar,.toc,.site-footer,.reading-progress,.post-pagination,.post-footer,.back-link,.back-to-top,.search-dialog,.heading-anchor,.code-copy {
    display:none!important
  }
  .site-shell {
    margin:0
  }
  .post-wrap,.page-wrap {
    display:block;
    max-width:100%;
    padding:0
  }
  .prose {
    font-size:11pt
  }
  .prose pre {
    white-space:pre-wrap
  }
  .post-header h1 {
    font-size:26pt
  }
  :root,:root[data-theme=dark] {
    --paper:#fff;
    --ink:#000;
    --muted:#444;
    --line:#ddd;
    --code:#f5f5f5;
    --accent:#333;
    --sidebar:#f7f7f7
  }
}
