@charset "UTF-8";
:root,
.blog-root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --fg: #0a0a0a;
  --fg-soft: #525252;
  --fg-mute: #8a8a8a;
  --line: #e6e6e6;
  --line-strong: #d4d4d4;
  --accent: oklch(0.50 0.16 254);
  --accent-soft: color-mix(in oklab, var(--accent) 12%, transparent);
  --radius: 6px;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --display-weight: 400;
  --display-tracking: -0.022em;
}

[data-font-mode=mono] {
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --serif: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --display-weight: 600;
}

[data-font-mode=editorial] {
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --display-weight: 400;
}

[data-font-mode=grotesk] {
  --sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --serif: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --display-weight: 600;
}

[data-area=quantum] {
  --area-color: oklch(0.55 0.16 270);
}

[data-area=ai] {
  --area-color: oklch(0.62 0.16 35);
}

[data-area=swe] {
  --area-color: oklch(0.55 0.13 170);
}

[data-area=letture] {
  --area-color: oklch(0.55 0.10 80);
}

.blog-root *,
.blog-root *::before,
.blog-root *::after {
  box-sizing: border-box;
}

.blog-root {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scrollbar-width: thin;
}
.blog-root a {
  color: inherit;
  text-decoration: none;
}
.blog-root button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
}
.blog-root p {
  margin: 0;
}
.blog-root h1, .blog-root h2, .blog-root h3 {
  margin: 0;
  font-weight: inherit;
}
.blog-root ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog-root dl, .blog-root dd {
  margin: 0;
}
.blog-root img {
  display: block;
  max-width: 100%;
}
.blog-root p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.blog-root .meta,
.blog-root .archive-date, .blog-root .archive-min, .blog-root .archive-title,
.blog-root .crumbs,
.blog-root .section-head,
.blog-root .view-count,
.blog-root .g-legend,
.blog-root .home-cat-count,
.blog-root .tag-rank .meta,
.blog-root code, .blog-root pre,
.blog-root .highlight,
.blog-root .footer-inner,
.blog-root .bh-sub,
.blog-root .post-meta-row,
.blog-root .role,
.blog-root .about-stack dd,
.blog-root .about-stack dt {
  text-align: left;
  hyphens: none;
  -webkit-hyphens: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
}

.blog-root {
  width: 100%;
  min-height: 100vh;
  position: relative;
  container-type: inline-size;
  container-name: blog;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
}

.b-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}
.b-page.narrow {
  max-width: 720px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fg-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: all 0.15s;
  cursor: pointer;
  letter-spacing: 0;
  line-height: 1.45;
  text-decoration: none;
}
.tag .lbl {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.tag:hover {
  color: var(--fg);
  border-color: var(--line-strong);
  background: var(--bg);
}
.tag.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
  padding: 5px 16px;
  box-shadow: 0 1px 0 var(--accent), 0 6px 16px -8px color-mix(in oklab, var(--accent) 80%, transparent);
}
.tag.active .lbl::after {
  content: "✓";
  font-size: 10px;
  font-weight: 700;
  margin-left: 8px;
  display: inline-block;
  line-height: 1;
}
.tag .n {
  color: var(--fg-mute);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  padding-left: 8px;
  margin-left: 0;
  border-left: 1px solid var(--line);
}
.tag.active .n {
  color: color-mix(in oklab, white 75%, var(--accent));
  border-left-color: color-mix(in oklab, white 30%, transparent);
}

.cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-soft);
  cursor: pointer;
  transition: color 0.15s;
  text-decoration: none;
}
.cat::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--cat-color, var(--accent));
  border-radius: 50%;
  flex-shrink: 0;
}
.cat:hover {
  color: var(--fg);
}
.cat[data-cat=quantum] {
  --cat-color: oklch(0.55 0.16 270);
}
.cat[data-cat=ai] {
  --cat-color: oklch(0.62 0.16 35);
}
.cat[data-cat=swe] {
  --cat-color: oklch(0.55 0.13 170);
}
.cat[data-cat=letture] {
  --cat-color: oklch(0.55 0.10 80);
}

.meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.meta .sep {
  opacity: 0.4;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 60%, black));
  display: inline-block;
  flex: 0 0 32px;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}
.section-head h2 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
  white-space: nowrap;
}
.section-head .line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.idx-hd {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.idx-hd .crumbs {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  display: flex;
  align-items: center;
  gap: 8px;
}
.idx-hd .crumbs a {
  color: var(--fg-soft);
}
.idx-hd .crumbs a:hover {
  color: var(--fg);
}
.idx-hd h1 {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.1;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
}
.idx-hd .tag-h1 {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0;
  font-size: 0.65em;
  padding: 8px 18px;
  margin-left: 10px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 999px;
  vertical-align: middle;
  box-shadow: 0 1px 0 var(--accent), 0 8px 22px -10px color-mix(in oklab, var(--accent) 70%, transparent);
}
.idx-hd .desc {
  font-size: 16px;
  color: var(--fg-soft);
}

.highlight {
  background: oklch(18% 0.01 250deg);
  border-radius: var(--radius);
  overflow-x: auto;
}
.highlight pre {
  margin: 0;
  padding: 18px 22px;
  font: 13.5px/1.55 var(--mono);
  color: oklch(92% 0.01 250deg);
  background: transparent;
  overflow-x: auto;
}
.highlight .k, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt, .highlight .ow {
  color: oklch(78% 0.13 30deg);
}
.highlight .c, .highlight .c1, .highlight .cm, .highlight .cs, .highlight .cp {
  color: oklch(70% 0.02 250deg);
  font-style: italic;
}
.highlight .nf, .highlight .nc, .highlight .nn {
  color: oklch(80% 0.13 200deg);
}
.highlight .s, .highlight .s1, .highlight .s2, .highlight .se, .highlight .si, .highlight .sb, .highlight .sc {
  color: oklch(78% 0.1 130deg);
}
.highlight .mi, .highlight .mf, .highlight .mh, .highlight .mo, .highlight .m {
  color: oklch(78% 0.1 130deg);
}
.highlight .o {
  color: oklch(78% 0.13 30deg);
}
.highlight .nb {
  color: oklch(80% 0.13 200deg);
}
.highlight .err {
  color: oklch(70% 0.2 25deg);
}

.bh {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.bh-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.bh-brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--fg);
}
.bh-brand .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
  vertical-align: middle;
  margin-bottom: 2px;
}
.bh-brand .sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  font-weight: 400;
  letter-spacing: 0;
}

.bh-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-size: 14px;
}
.bh-nav a {
  color: var(--fg-soft);
  transition: color 0.15s;
  padding: 4px 0;
  position: relative;
  text-decoration: none;
}
.bh-nav a:hover {
  color: var(--fg);
}
.bh-nav a[aria-current=page] {
  color: var(--fg);
}
.bh-nav a[aria-current=page]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 2px;
  background: var(--accent);
}

.bf {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding: 36px 32px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
}
.bf a {
  color: var(--fg-soft);
}
.bf a:hover {
  color: var(--fg);
}
.bf .legal {
  display: flex;
  gap: 16px;
}

.hero {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.hero.hero--solo {
  grid-template-columns: 1fr;
}
.hero .hero-link {
  color: inherit;
  text-decoration: none;
}
.hero .hero-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero .hero-eyebrow,
.hero .meta {
  position: relative;
  z-index: 1;
}
.hero:hover .hero-link {
  color: var(--accent);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.08;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  margin-bottom: 18px;
  transition: color 0.15s;
}

.hero .ex {
  color: var(--fg-soft);
  font-size: 17px;
  line-height: 1.55;
}

.hero .meta {
  margin-top: 24px;
}

.hero-cover {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, oklch(0.85 0.08 var(--hue, 220)), oklch(0.7 0.12 var(--hue, 220)));
  position: relative;
  overflow: hidden;
}
.hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, color-mix(in oklab, white 30%, transparent), transparent 60%);
}
.hero-cover .tag-mono {
  position: absolute;
  top: 14px;
  left: 14px;
  font: 10px var(--mono);
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  color: #1a1a1a;
  backdrop-filter: blur(8px);
  z-index: 1;
}

.hero-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(480px, 42%);
  max-height: 420px;
  object-fit: contain;
  border-radius: var(--radius);
  align-self: center;
}

.post-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.post-list.single {
  grid-template-columns: 1fr;
}

.post-card {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.15s;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
}
.post-card h3 .post-card-link {
  color: inherit;
  text-decoration: none;
}
.post-card h3 .post-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}
.post-card .row1, .post-card .row2 {
  position: relative;
  z-index: 1;
}
.post-list .post-card:nth-child(odd) {
  padding-right: 28px;
  border-right: 1px solid var(--line);
}
.post-list .post-card:nth-child(even) {
  padding-left: 28px;
}
.post-list .post-card:nth-last-child(-n+2):not(:nth-last-child(1):nth-child(odd)) {
  border-bottom: 0;
}
.post-list.single .post-card {
  padding: 28px 0;
  border-right: 0;
  padding-left: 0;
  padding-right: 0;
}
.post-card .row1 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.post-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.18;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  margin-bottom: 10px;
  transition: color 0.15s;
}
.post-card .ex {
  color: var(--fg-soft);
  font-size: 14.5px;
  line-height: 1.55;
}
.post-card .row2 {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.post-card:hover h3 {
  color: var(--accent);
}

.blog-root[data-cards=shadow] .post-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 1px 0 var(--line), 0 4px 14px -8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s, transform 0.15s;
}

.blog-root[data-cards=shadow] .post-list {
  gap: 16px;
}

.blog-root[data-cards=shadow] .post-list .post-card {
  border-right: 0;
  padding-left: 22px;
  padding-right: 22px;
  border-bottom: 1px solid var(--line);
}

.blog-root[data-cards=shadow] .post-card:hover {
  box-shadow: 0 1px 0 var(--line), 0 10px 28px -10px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.blog-root[data-cards=bordered] .post-card {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.blog-root[data-cards=bordered] .post-list {
  gap: 14px;
}

.blog-root[data-cards=bordered] .post-list .post-card {
  border-right: 1px solid var(--line);
  padding-left: 22px;
  padding-right: 22px;
  border-bottom: 1px solid var(--line);
}

.blog-root[data-cards=bordered] .post-card:hover {
  border-color: var(--accent);
}

.blog-root[data-cards=minimal] .post-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 24px 0;
}

.blog-root[data-cards=minimal] .post-list {
  gap: 0;
}

.blog-root[data-cards=minimal] .post-list .post-card:nth-child(odd) {
  padding-right: 28px;
  border-right: 1px solid var(--line);
  padding-left: 0;
}

.blog-root[data-cards=minimal] .post-list .post-card:nth-child(even) {
  padding-left: 28px;
  padding-right: 0;
}

.archive-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.archive-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  align-items: baseline;
  text-decoration: none;
  color: inherit;
}
.archive-item:hover .archive-title {
  color: var(--accent);
}
.archive-item .archive-date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  white-space: nowrap;
}
.archive-item .archive-title {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.3;
  transition: color 0.15s;
}
.archive-item .archive-min {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  white-space: nowrap;
}

.home-cat-footer {
  margin-top: 64px;
}

.home-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.home-cat-grid li:nth-child(odd) {
  padding-right: 22px;
  border-right: 1px solid var(--line);
}
.home-cat-grid li:nth-child(even) {
  padding-left: 22px;
}

.home-cat-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}
.home-cat-item:hover .home-cat-arrow {
  transform: translateX(3px);
  color: var(--accent);
}
.home-cat-item:hover .home-cat-name {
  color: var(--accent);
}

.home-cat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cat-color, var(--accent));
}
.home-cat-dot[data-cat=quantum] {
  --cat-color: oklch(0.55 0.16 270);
}
.home-cat-dot[data-cat=ai] {
  --cat-color: oklch(0.62 0.16 35);
}
.home-cat-dot[data-cat=swe] {
  --cat-color: oklch(0.55 0.13 170);
}
.home-cat-dot[data-cat=letture] {
  --cat-color: oklch(0.55 0.10 80);
}

.home-cat-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: var(--display-weight);
  letter-spacing: -0.01em;
  color: var(--fg);
  transition: color 0.15s;
}

.home-cat-count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-soft);
  font-variant-numeric: tabular-nums;
}
.home-cat-count .u {
  color: var(--fg-mute);
  margin-left: 2px;
}

.home-cat-arrow {
  font-family: var(--sans);
  color: var(--fg-mute);
  font-size: 16px;
  transition: transform 0.15s, color 0.15s;
}

.post-hd {
  padding: 24px 0 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.post-hd .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  margin-bottom: 24px;
  text-decoration: none;
}
.post-hd .back:hover {
  color: var(--fg);
}
.post-hd .cats {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}
.post-hd h1 {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.12;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  margin-bottom: 18px;
}
.post-hd .deck {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--fg-soft);
  margin-bottom: 24px;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.post-hd .post-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.post-hd .post-meta-row .sep-dot {
  color: var(--fg-mute);
  font-size: 10px;
  line-height: 1;
}
.post-hd .post-meta-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1 1 auto;
}

.article {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg);
}
.article > * + * {
  margin-top: 24px;
}
.article p {
  color: var(--fg);
}
.article p + p {
  margin-top: 1.7em;
}
.article h2 {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
  font-weight: var(--display-weight);
  letter-spacing: -0.012em;
  margin-top: 44px;
  margin-bottom: 4px;
}
.article h3 {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.25;
  font-weight: var(--display-weight);
  letter-spacing: -0.01em;
  margin-top: 32px;
  margin-bottom: 4px;
}
.article ul, .article ol {
  padding-left: 1.5em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article ul {
  list-style: disc;
}
.article ol {
  list-style: decimal;
}
.article .math-block,
.article mjx-container[display=true] {
  display: block;
  padding: 18px 22px;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 16px;
  margin-top: 24px;
}
.article blockquote {
  padding: 18px 22px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  font-size: 16px;
  color: var(--fg);
  border-left: 3px solid var(--accent);
}
.article blockquote p {
  color: var(--fg);
}
.article pre.highlight,
.article div.highlight {
  margin-top: 24px;
}
.article code:not([class]) {
  font-family: var(--mono);
  font-size: 0.875em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 5px;
}
.article .highlight code {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: inherit;
}
.article .mermaid-block,
.article .language-mermaid {
  padding: 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow-x: auto;
}
.article .mermaid-block svg,
.article .language-mermaid svg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
.article img {
  border-radius: var(--radius);
  max-width: 100%;
}
.article a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, var(--accent) 40%, transparent);
  text-underline-offset: 3px;
}
.article a:hover {
  text-decoration-color: var(--accent);
}
.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.article table th {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
  text-align: left;
  padding: 8px 12px;
  border-bottom: 2px solid var(--line-strong);
}
.article table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.article table tr:last-child td {
  border-bottom: 0;
}
.article hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

.blog-root mjx-container[display=true] {
  margin: 0;
}

.article-foot {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.article-foot .foot-section-label {
  font: 500 11px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 10px;
}
.article-foot .tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-foot .share {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--fg-mute);
  font-family: var(--mono);
  font-size: 11px;
}
.article-foot .share a {
  color: var(--fg-soft);
  text-decoration: none;
}
.article-foot .share a:hover {
  color: var(--fg);
}
.article-foot .share .sep {
  opacity: 0.4;
}

.cat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.cat-list li {
  display: block;
  border-bottom: 1px solid var(--line);
}
.cat-list li:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 28px;
}
.cat-list li:nth-child(even) {
  padding-left: 28px;
}
.cat-list li:nth-last-child(-n+2) {
  border-bottom: 0;
}
.cat-list .item {
  padding: 28px 0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.cat-list .item:hover h3 .name {
  color: var(--accent);
}
.cat-list .item h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  margin-bottom: 8px;
}
.cat-list .item h3 .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  font-weight: 400;
  letter-spacing: 0;
}
.cat-list .item h3 .name {
  transition: color 0.15s;
}
.cat-list .item p {
  color: var(--fg-soft);
  font-size: 14px;
  line-height: 1.55;
}

.view-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  padding: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: max-content;
  max-width: 100%;
}
.view-toggle button {
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-soft);
  transition: all 0.15s;
}
.view-toggle button:hover {
  color: var(--fg);
}
.view-toggle button.on {
  background: var(--fg);
  color: var(--bg);
}
.view-toggle .view-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  padding: 0 12px 0 4px;
  margin-left: auto;
  white-space: nowrap;
}

.tag-cloud-w {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 28px 8px;
  align-items: baseline;
  justify-content: center;
  text-align: center;
  line-height: 1.4;
}
.tag-cloud-w .tag-w {
  font-family: var(--serif);
  letter-spacing: -0.012em;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s, transform 0.15s;
  text-decoration: none;
  cursor: pointer;
}
.tag-cloud-w .tag-w:hover {
  color: var(--accent) !important;
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.tag-cloud-w .tag-w .n {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--fg-mute);
  vertical-align: super;
  line-height: 1;
}

.tag-graph-wrap {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
}

.tag-graph {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 760/520;
  background-image: radial-gradient(circle, color-mix(in oklab, var(--fg) 12%, transparent) 1px, transparent 1.2px);
  background-size: 22px 22px;
  background-position: 11px 11px;
  border-radius: 8px;
}
.tag-graph .g-edge {
  stroke: var(--fg-mute);
  stroke-opacity: 0.22;
  transition: stroke 0.15s, stroke-opacity 0.15s, stroke-width 0.15s;
  pointer-events: none;
}
.tag-graph .g-edge.a {
  stroke: var(--accent);
  stroke-opacity: 0.7;
}
.tag-graph .g-edge.d {
  stroke-opacity: 0.06;
}
.tag-graph .g-node {
  cursor: pointer;
}
.tag-graph .g-node .g-halo {
  fill: var(--accent);
  stroke: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.tag-graph .g-node .g-dot {
  fill: color-mix(in oklab, var(--fg) calc(35% + var(--tone, 0) * 50%), var(--bg-soft));
  stroke: var(--bg);
  stroke-width: 2;
  transition: fill 0.15s, filter 0.15s, opacity 0.15s;
}
.tag-graph .g-node .g-label {
  font: 500 11px var(--mono);
  fill: var(--fg);
  pointer-events: none;
  transition: opacity 0.15s, font-size 0.15s, fill 0.15s;
}
.tag-graph .g-node .g-num {
  font: 600 9px var(--mono);
  fill: var(--bg);
  pointer-events: none;
}
.tag-graph .g-node:hover .g-dot, .tag-graph .g-node.a .g-dot {
  fill: var(--accent);
  filter: drop-shadow(0 4px 10px color-mix(in oklab, var(--accent) 50%, transparent));
}
.tag-graph .g-node.a .g-halo {
  opacity: 0.18;
}
.tag-graph .g-node.a .g-label {
  font-size: 13px;
  fill: var(--accent);
  font-weight: 600;
}
.tag-graph .g-node.d .g-dot {
  opacity: 0.18;
}
.tag-graph .g-node.d .g-label {
  opacity: 0.25;
}
.tag-graph .g-node.d .g-num {
  opacity: 0.3;
}

.g-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 14px 8px 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-soft);
}
.g-legend .g-leg-scale,
.g-legend .g-leg-edge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.g-legend .g-leg-dot {
  display: inline-block;
  border-radius: 50%;
  background: var(--fg-soft);
  vertical-align: middle;
}
.g-legend .g-leg-dot.s1 {
  width: 6px;
  height: 6px;
  opacity: 0.55;
}
.g-legend .g-leg-dot.s2 {
  width: 10px;
  height: 10px;
  opacity: 0.75;
}
.g-legend .g-leg-dot.s3 {
  width: 14px;
  height: 14px;
  opacity: 1;
}
.g-legend .g-leg-edge svg {
  color: var(--fg-soft);
}
.g-legend .g-leg-hint {
  color: var(--fg-mute);
  margin-left: auto;
}

.tag-rank {
  display: flex;
  flex-direction: column;
}
.tag-rank li {
  display: grid;
  grid-template-columns: 200px 1fr 48px;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  align-items: center;
  text-decoration: none;
  position: relative;
}
.tag-rank li:last-child {
  border-bottom: 0;
}
.tag-rank li:hover .bar-fill {
  filter: brightness(1.1);
}
.tag-rank li:hover .tag {
  border-color: var(--accent);
  color: var(--accent);
}
.tag-rank li .rank-link {
  position: absolute;
  inset: 0;
  z-index: 0;
  color: inherit;
  text-decoration: none;
}
.tag-rank li .tag {
  position: relative;
  z-index: 1;
}
.tag-rank .bar {
  height: 4px;
  background: var(--bg-soft);
  border-radius: 2px;
  overflow: hidden;
}
.tag-rank .bar-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.3s;
}
.tag-rank .meta.n {
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-soft);
}

.about-hd {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.about-hd .pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.about-hd .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-hd h1 {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.1;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  margin-bottom: 8px;
}
.about-hd .role {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.about-hd .tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.about-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-body h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: var(--display-weight);
  letter-spacing: -0.012em;
  margin-top: 24px;
  margin-bottom: 4px;
}
.about-body p {
  color: var(--fg);
}
.about-body a {
  border-bottom: 1px solid var(--line-strong);
  color: inherit;
}
.about-body a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.about-body strong {
  font-weight: 600;
}
.about-body em {
  font-style: italic;
}

.about-stack {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px 20px;
  font-size: 14px;
  margin-top: 16px;
}
.about-stack dt {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 3px;
}
.about-stack dd {
  margin: 0;
  color: var(--fg);
}

@container blog (max-width: 880px) {
  .bh-inner {
    padding: 12px 22px;
    gap: 16px;
  }
  .bh-nav {
    gap: 14px;
  }
  .b-page {
    padding: 36px 22px 64px;
  }
  .bf {
    padding: 28px 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    padding-bottom: 36px;
    margin-bottom: 36px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-cover {
    order: -1;
    aspect-ratio: 16/9;
  }
  .post-list {
    grid-template-columns: 1fr;
  }
  .post-list .post-card:nth-child(odd),
  .post-list .post-card:nth-child(even) {
    padding: 24px 0;
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .blog-root[data-cards=minimal] .post-list .post-card:nth-child(odd),
  .blog-root[data-cards=minimal] .post-list .post-card:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }
  .blog-root[data-cards=shadow] .post-list .post-card,
  .blog-root[data-cards=bordered] .post-list .post-card {
    padding: 22px;
  }
  .cat-list {
    grid-template-columns: 1fr;
  }
  .cat-list li:nth-child(odd),
  .cat-list li:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .cat-list li:last-child {
    border-bottom: 0;
  }
  .home-cat-grid {
    grid-template-columns: 1fr;
  }
  .home-cat-grid li:nth-child(odd),
  .home-cat-grid li:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }
}
@container blog (max-width: 640px) {
  .blog-root {
    font-size: 14.5px;
  }
  .bh-inner {
    padding: 10px 16px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .bh-brand {
    font-size: 15px;
  }
  .bh-brand .sub {
    display: none;
  }
  .bh-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 0 4px;
    border-top: 1px solid var(--line);
    scrollbar-width: none;
  }
  .bh-nav::-webkit-scrollbar {
    display: none;
  }
  .bh-nav a {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--fg-soft);
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .bh-nav a[aria-current=page] {
    color: var(--fg);
    background: var(--bg-soft);
  }
  .bh-nav a[aria-current=page]::after {
    display: none;
  }
  .b-page {
    padding: 24px 16px 48px;
  }
  .bf {
    padding: 24px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .bf .legal {
    flex-wrap: wrap;
  }
  .hero {
    gap: 18px;
    padding-bottom: 28px;
    margin-bottom: 28px;
  }
  .hero-eyebrow {
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
  }
  .hero h1 {
    font-size: 28px;
    margin-bottom: 12px;
    line-height: 1.12;
  }
  .hero .ex {
    font-size: 15px;
  }
  .hero .meta {
    margin-top: 16px;
  }
  .hero-cover {
    aspect-ratio: 16/10;
    border-radius: var(--radius);
  }
  .section-head {
    gap: 12px;
    margin-bottom: 18px;
  }
  .post-card {
    padding: 22px 0 !important;
  }
  .post-card h3 {
    font-size: 19px;
  }
  .post-card .ex {
    font-size: 14px;
  }
  .blog-root[data-cards=shadow] .post-list .post-card,
  .blog-root[data-cards=bordered] .post-list .post-card {
    padding: 18px !important;
    border-radius: 10px;
  }
  .blog-root[data-cards=shadow] .post-list {
    gap: 12px;
  }
  .archive-item {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .archive-date {
    grid-column: 1/-1;
    order: 2;
    font-size: 10px !important;
  }
  .archive-title {
    order: 1;
    font-size: 16px !important;
  }
  .archive-min {
    order: 3;
    align-self: end;
  }
  .post-hd {
    padding: 16px 0 24px;
    margin-bottom: 24px;
  }
  .post-hd .cats {
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
  }
  .post-hd h1 {
    font-size: 28px;
    margin-bottom: 14px;
  }
  .post-hd .deck {
    font-size: 16px;
    margin-bottom: 18px;
  }
  .post-hd .post-meta-row {
    gap: 10px;
    padding-top: 12px;
  }
  .post-hd .post-meta-tags {
    gap: 6px;
  }
  .article {
    font-size: 15.5px;
    line-height: 1.65;
  }
  .article h2 {
    font-size: 22px;
    margin-top: 32px;
  }
  .article .math-block,
  .article blockquote {
    padding: 14px 16px;
    font-size: 14.5px;
  }
  .article pre {
    padding: 14px 16px;
    font-size: 12.5px;
  }
  .article .mermaid-block,
  .article .language-mermaid {
    padding: 16px;
  }
  .article-foot {
    margin-top: 40px;
    padding-top: 24px;
    gap: 20px;
  }
  .article-foot .share {
    flex-wrap: wrap;
  }
  .idx-hd {
    padding-bottom: 22px;
    margin-bottom: 22px;
  }
  .idx-hd h1 {
    font-size: 26px;
  }
  .idx-hd .tag-h1 {
    font-size: 0.6em;
    padding: 6px 12px;
    margin-left: 6px;
  }
  .idx-hd .desc {
    font-size: 14.5px;
  }
  .tag-rank li {
    grid-template-columns: 1fr 36px;
    gap: 10px;
    padding: 10px 0;
  }
  .tag-rank li .bar {
    grid-column: 1/-1;
  }
  .view-toggle {
    padding: 3px;
    gap: 4px;
  }
  .view-toggle button {
    padding: 6px 12px;
    font-size: 12px;
  }
  .view-toggle .view-count {
    display: none;
  }
  .tag-cloud-w {
    gap: 8px 14px;
    padding: 18px 4px;
  }
  .tag-graph-wrap {
    padding: 8px;
  }
  .tag-graph {
    aspect-ratio: 4/5;
    background-size: 16px 16px;
  }
  .g-legend {
    gap: 10px;
    font-size: 10.5px;
  }
  .g-leg-hint {
    display: none;
  }
  .about-hd {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 22px;
    margin-bottom: 22px;
  }
  .about-hd .pic {
    width: 84px;
    height: 84px;
  }
  .about-hd h1 {
    font-size: 28px;
  }
  .about-body {
    font-size: 15.5px;
    line-height: 1.65;
  }
  .about-stack {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }
  .about-stack dt {
    padding-top: 14px;
  }
  .about-stack dd {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }
}
@container blog (max-width: 420px) {
  .hero h1 {
    font-size: 24px;
  }
  .post-hd h1,
  .idx-hd h1,
  .about-hd h1 {
    font-size: 24px;
  }
  .b-page {
    padding: 20px 14px 40px;
  }
  .bh-inner {
    padding: 10px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tag-graph .g-node,
  .tag-graph .g-edge,
  .post-card,
  .home-cat-arrow,
  .tag-cloud-w .tag-w {
    transition: none !important;
    transform: none !important;
  }
}

/*# sourceMappingURL=main.css.map */