:root {
  --ink: #0e141b;
  --fg: #1c2128;
  --muted: #5c6570;
  --line: #e4e7eb;
  --paper: #f4f5f7;
  --card: #ffffff;
  --accent: #1a4a73;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  color: var(--fg);
  background: var(--paper);
  line-height: 1.55;
  font-size: 15px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 80;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
}
.skip:focus {
  left: 12px;
}

a, button { -webkit-tap-highlight-color: transparent; }
::selection { background: #d5e3ef; }
a { color: var(--accent); }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; overflow-wrap: anywhere; }
.wrap {
  width: min(1160px, calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  color: #fff;
  padding-top: env(safe-area-inset-top);
}
.site-header .wrap {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 16px;
  flex: 0 0 auto;
}
.site-header nav {
  display: flex;
  gap: 16px;
  margin-right: auto;
  font-size: 13px;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.nav-store { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 0 -10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle i {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header.is-open .nav-toggle i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header.is-open .nav-toggle i:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.site-header nav a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}
.site-header nav a:hover,
.site-header nav a.current { color: #fff; }

.lang { position: relative; flex: 0 0 auto; }
.lang-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  font: 500 12px/1 "Noto Sans SC", sans-serif;
  cursor: pointer;
}
.lang-btn i {
  font-style: normal;
  font-size: 9px;
  opacity: 0.7;
}
.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 156px;
  background: #161c24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 0;
  z-index: 30;
}
.lang.open .lang-menu { display: block; }
.lang-menu button,
.lang-menu a {
  display: block;
  width: 100%;
  text-align: left;
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  padding: 8px 12px;
  font: 400 13px/1.35 "Noto Sans SC", sans-serif;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}
.lang-menu button:hover,
.lang-menu a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.lang-menu button[aria-selected="true"],
.lang-menu a[aria-selected="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.lang-menu button small,
.lang-menu a small {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font: 500 13px/1 "Noto Sans SC", sans-serif;
  cursor: pointer;
}
.btn-sm {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-line {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 28px 0 22px;
}
.page-hero h1 {
  font-size: 26px;
  letter-spacing: -0.03em;
}
.page-hero p {
  margin-top: 8px;
  max-width: 46em;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.hero {
  background: var(--ink);
  color: #fff;
  padding: 40px 0 32px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.hero .lead {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.68);
}
.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-meta dt {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2px;
}
.hero-meta dd { font-size: 13px; font-weight: 500; }

.block {
  padding: 40px 0;
  scroll-margin-top: 52px;
}
.block-alt { background: #fff; }
.block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.block-head h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex: 0 0 auto;
}
.block-head p {
  color: var(--muted);
  font-size: 14px;
}

.split-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px 18px 18px;
}
.block-alt .panel { background: var(--paper); }
.panel h3 {
  font-size: 14px;
  margin-bottom: 8px;
}
.panel p, .panel li { color: var(--muted); font-size: 13px; }
.panel ol, .panel ul { margin-left: 18px; }
.panel li + li { margin-top: 6px; }
.inline-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.block .btn { background: var(--accent); color: #fff; border-color: var(--accent); }
.block .btn-line { background: transparent; color: var(--accent); }

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  background: var(--card);
  font-size: 13px;
}
.table caption {
  text-align: left;
  font-weight: 600;
  padding: 0 0 8px;
}
.table th, .table td {
  text-align: left;
  padding: 9px 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.table th {
  width: 18%;
  font-weight: 500;
  background: #eef0f3;
  color: var(--fg);
}

.feat-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 8px;
  font-size: 13px;
}
.feat-toc a { text-decoration: none; }

.feat-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  justify-content: start;
  align-items: start;
  gap: 20px 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 64px;
}
.feat-item:last-child { border-bottom: 0; }
.feat-item.reverse { grid-template-columns: 220px minmax(0, 1fr); }
.feat-item.reverse .feat-copy { order: 2; }
.feat-item h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.feat-item .where {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}
.feat-item p {
  color: var(--muted);
  font-size: 14px;
  max-width: 42em;
}
.feat-item p + p { margin-top: 8px; }
.feat-item ul, .feat-item ol {
  margin: 10px 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  max-width: 42em;
}
.feat-item li + li { margin-top: 6px; }
.feat-item .more {
  margin-top: 12px;
  font-size: 13px;
}
.feat-shot { margin: 0; width: min(220px, 100%); }
.feat-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  background: #eee;
}
.feat-shot figcaption {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.feat-grid article {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px 14px 16px;
}
.feat-grid h3 { font-size: 14px; margin-bottom: 6px; }

.set-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 20px;
  align-items: start;
}
.set-split > figure {
  margin: 0;
  position: sticky;
  top: 64px;
}
.set-split > figure,
.set-row.has-shot > figure { max-width: 100%; }
.set-split > figure img,
.set-row.has-shot > figure img {
  display: block;
  width: min(200px, 100%);
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #eee;
}
.set-split > figure figcaption,
.set-row.has-shot > figure figcaption {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.set-row.has-shot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 16px;
  align-items: start;
}
.set-row.has-shot > figure {
  margin: 0;
  position: sticky;
  top: 64px;
}

.set-group { margin-top: 28px; }
.set-group > h2 {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.set-group > p.lead {
  color: var(--muted);
  font-size: 13px;
  margin: -2px 0 10px;
}
.set-box {
  background: var(--card);
  border: 1px solid var(--line);
}
.set-row {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 64px;
}
.set-row:first-child { border-top: 0; }
.set-row h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.set-row .def {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 8px;
}
.set-row p, .set-row li { color: var(--muted); font-size: 14px; }
.set-row p + p { margin-top: 8px; }
.set-row ul, .set-row ol { margin: 8px 0 0 18px; }
.set-row li + li { margin-top: 5px; }

.set-aside {
  margin-top: 28px;
  padding: 16px 18px;
  background: #eef2f6;
  font-size: 14px;
  color: var(--muted);
}
.set-aside h2 {
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 8px;
}

.dl-id {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px 20px;
}
.dl-id img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: block;
}
.dl-id h2 { font-size: 20px; letter-spacing: -0.02em; }
.dl-id p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.dl-id .inline-actions { margin-top: 0; }

.dl-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.dl-step:last-child { border-bottom: 0; }
.dl-step .n {
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  color: var(--accent);
  line-height: 1.2;
}
.dl-step h3 { font-size: 16px; margin-bottom: 6px; }
.dl-step p, .dl-step li { color: var(--muted); font-size: 14px; }
.dl-step p + p { margin-top: 8px; }
.dl-step ul, .dl-step ol { margin: 8px 0 0 18px; }
.dl-step li + li { margin-top: 5px; }

.dl-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  align-items: start;
}
.dl-cols h2 {
  font-size: 18px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.dl-cols p, .dl-cols li { color: var(--muted); font-size: 14px; }
.dl-cols p + p { margin-top: 8px; }
.dl-cols ul, .dl-cols ol { margin: 8px 0 0 18px; }
.dl-cols li + li { margin-top: 6px; }
.set-aside ul { margin: 8px 0 0 18px; }
.set-aside li + li { margin-top: 5px; }
.feat-grid p { color: var(--muted); font-size: 13px; }

.guide {
  border: 1px solid var(--line);
  background: #fff;
}
.guide-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.guide-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 11px 16px;
  font: 500 13px/1 "Noto Sans SC", sans-serif;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.guide-tabs button.on {
  color: var(--fg);
  border-bottom-color: var(--accent);
  background: #fff;
}
.guide-panel { display: none; padding: 16px 18px 18px; }
.guide-panel.on { display: block; }
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}
.guide-panel h3 {
  font-size: 14px;
  margin-bottom: 8px;
}
.guide-panel ol, .guide-panel ul { margin-left: 18px; }
.guide-panel li { font-size: 13px; color: var(--muted); }
.guide-panel li + li { margin-top: 6px; }
.guide-panel strong { color: var(--fg); font-weight: 600; }

.hint {
  margin-top: 12px;
  padding: 8px 10px;
  background: #eef2f6;
  color: var(--muted);
  font-size: 12px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.faq-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 14px 16px;
}
.faq-grid h3 { font-size: 14px; margin-bottom: 6px; }
.faq-grid p { color: var(--muted); font-size: 13px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 calc(24px + env(safe-area-inset-bottom, 0px));
  color: var(--muted);
  font-size: 12px;
}
.site-footer .wrap {
  display: flex;
  gap: 24px;
  align-items: baseline;
}
.site-footer span {
  color: var(--fg);
  font-weight: 600;
  flex: 0 0 auto;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer nav a:hover { color: var(--accent); }
.site-footer p { flex: 1 1 100%; }


.blog-masthead {
  padding: 36px 0 8px;
}
.blog-masthead h1 {
  font-size: 28px;
  letter-spacing: -0.03em;
}
.blog-masthead p {
  margin-top: 8px;
  max-width: 40em;
  color: var(--muted);
  font-size: 14px;
}
.blog-feed {
  width: min(760px, 100%);
  padding: 8px 0 72px;
}
.blog-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.blog-item:last-child { border-bottom: 1px solid var(--line); }
.blog-item time {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--muted);
  padding-top: 4px;
}
.blog-item h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.blog-item p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}
.blog-item em {
  display: inline-block;
  margin-top: 10px;
  font-style: normal;
  font-size: 12px;
  color: var(--accent);
}
.blog-item:hover h2 { color: var(--accent); }

.article {
  width: min(680px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 120px;
}
.crumb {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb span { margin: 0 8px; color: #b4bac1; }
.blog-masthead .crumb { margin-bottom: 18px; }

.article-meta {
  margin-top: 22px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--muted);
}
.article h1 {
  margin-top: 8px;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.article-lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}
.article-body { margin-top: 28px; }
.article-body p { margin-top: 14px; }
.article-body h2 {
  margin: 32px 0 10px;
  font-size: 18px;
}
.article-body ul,
.article-body ol {
  margin: 10px 0 0 1.2em;
}
.article-body li { margin-top: 6px; }
.article-body li::marker { color: var(--muted); }
.article-more {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.article-more h2 {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.article-more ul {
  margin-top: 10px;
  list-style: none;
}
.article-more li + li { margin-top: 10px; }
.article-more a {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}
.article-more time {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--muted);
}
.article-more a:hover span { color: var(--accent); }

.dl-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 40px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
}
.dl-card img { border-radius: 14px; }
.dl-card h2 { font-size: 16px; letter-spacing: -0.02em; }
.dl-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.dl-card .btn {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.dl-card .btn-line {
  background: transparent;
  color: var(--accent);
}

.dl-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 30;
  width: min(268px, calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  padding: 12px 34px 12px 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(14, 20, 27, 0.14);
}
.dl-float a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.dl-float img { border-radius: 9px; flex: 0 0 auto; }
.dl-float strong {
  display: block;
  font-size: 13px;
}
.dl-float small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}
.dl-float-close {
  appearance: none;
  position: absolute;
  top: 4px;
  right: 6px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .site-header nav { gap: 12px; }
}

@media (max-width: 900px) {
  .site-header .wrap { flex-wrap: wrap; gap: 0 12px; }
  .brand { order: 1; margin-right: auto; }
  .header-tools { order: 2; position: relative; z-index: 2; }
  .site-header nav {
    display: none;
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 4px 0 12px;
    max-height: min(70vh, calc(100dvh - 64px - env(safe-area-inset-top, 0px)));
    overflow-y: auto;
  }
  .site-header.is-open nav { display: flex; }
  .site-header nav a {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 15px;
  }
  .nav-toggle { display: flex; }
  .header-store { display: none; }
  .nav-store { display: block; }
  body.nav-open { overflow: hidden; }

  .hero-grid, .split-3, .feat-grid, .guide-grid, .feat-item, .feat-item.reverse, .set-split, .set-row.has-shot, .dl-id, .dl-cols { grid-template-columns: 1fr; }
  .set-split > figure, .set-row.has-shot > figure { position: static; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat-item.reverse .feat-copy { order: 0; }
  .feat-item.reverse .feat-shot { order: 2; }
  .feat-shot,
  .set-split > figure,
  .set-row.has-shot > figure { margin-inline: auto; }
  .block-head { display: block; }
  .block-head p { margin-top: 4px; }
  .site-footer .wrap { display: block; }
  .site-footer span { margin-bottom: 6px; display: block; }
  .dl-id .inline-actions { margin-top: 4px; }
}

@media (max-width: 720px) {
  .wrap { width: min(1160px, calc(100% - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))); }
  .hero-meta, .feat-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero { padding: 28px 0 24px; }
  .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 14px; }
  .page-hero, .blog-masthead { padding: 22px 0 16px; }
  .page-hero h1, .blog-masthead h1, .article h1 { font-size: 24px; }
  .block { padding: 28px 0; }
  .btn { min-height: 40px; }
  .guide-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .guide-tabs button { flex: 0 0 auto; }
  .feat-toc {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -12px;
    padding: 0 12px 4px;
    -webkit-overflow-scrolling: touch;
  }
  .feat-toc a { flex: 0 0 auto; }
  .table, .table tbody, .table tr, .table th, .table td, .table caption {
    display: block;
    width: 100%;
  }
  .table th {
    width: 100%;
    padding-bottom: 4px;
    border-bottom: 0;
  }
  .table td {
    border-top: 0;
    padding-top: 0;
  }
  .table tr + tr th { border-top: 0; }
  .blog-item, .article-more a { grid-template-columns: 1fr; gap: 6px; }
  .blog-feed { padding-bottom: 48px; }
  .article { padding: 20px 0 120px; width: min(680px, calc(100% - 24px)); }
  .article-lead { font-size: 15px; }
  .dl-card { grid-template-columns: 1fr; padding: 16px; }
  .dl-float { width: min(260px, calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))); }
  .crumb { overflow-wrap: anywhere; }
}

@media (max-width: 400px) {
  .hero-actions .btn,
  .inline-actions .btn { width: 100%; }
  .brand { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-toggle i { transition: none; }
}
