/* Shared styles for lab pages.
   Per-page overrides may live in an inline <style> block AFTER this stylesheet. */

:root {
  --ink: #0f172a;
  --muted: #5b6675;
  --line: rgba(15,23,42,0.10);
  --bg: #ffffff;
  --accent: #1cb5d3;
  --accent-dark: #0891b2;
  --card-bg: #f8fafc;
  --card-border: rgba(15,23,42,0.10);
  --navy: #0a1a3a;
  --green: #059669;
  --green-bg: #ecfdf5;
  --amber: #d97706;
  --amber-bg: #fffbeb;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.6; font-size: 17px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

/* ── HERO ── */
header.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f172a 100%);
  color: #e2e8f0;
  padding: 80px 32px 72px;
}
header.hero .wrap { max-width: 1100px; margin: 0 auto; }
header.hero .site-brand {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
  text-decoration: none; color: inherit;
}
header.hero .site-brand:hover { text-decoration: none; opacity: 0.92; }
header.hero .site-brand .site-brand-mark {
  width: 32px !important; height: 32px !important;
  flex: 0 0 32px;
  filter: drop-shadow(0 1px 4px rgba(28,181,211,0.30));
  display: inline-block;
}
header.hero .site-brand .site-brand-text {
  font-size: 15px; font-weight: 800; color: #f8fafc;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1;
}
header.hero .site-brand .site-brand-text .the {
  color: #67e8f9; font-weight: 500; letter-spacing: 0.18em; margin: 0 2px;
}
@media (max-width: 720px) {
  header.hero .site-brand .site-brand-mark { width: 26px !important; height: 26px !important; flex: 0 0 26px; }
  header.hero .site-brand .site-brand-text { font-size: 13px; letter-spacing: 0.12em; }
}
header.hero .breadcrumb {
  color: #67e8f9; font-size: 13px; letter-spacing: 0.10em;
  font-weight: 600; margin-bottom: 20px;
}
header.hero .breadcrumb a { color: #67e8f9; }
header.hero .eyebrow {
  color: #67e8f9; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 16px;
}
header.hero h1 {
  font-size: 40px; line-height: 1.1; margin: 0 0 16px;
  letter-spacing: -0.02em; font-weight: 700; color: #f8fafc;
  max-width: 900px;
}
header.hero .author-card {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px; padding: 10px 16px; margin: 4px 0 24px;
}
header.hero .author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(28,181,211,0.15); border: 2px solid rgba(28,181,211,0.50);
  color: #67e8f9; display: grid; place-items: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
  font-family: ui-monospace, monospace;
}
header.hero .author-name { font-weight: 600; color: #f1f5f9; font-size: 15px; line-height: 1.3; }
header.hero .author-role { color: rgba(255,255,255,0.45); font-size: 12.5px; }
header.hero .sub {
  font-size: 18px; line-height: 1.55; color: #cbd5e1; max-width: 760px; margin: 0 0 28px;
}
header.hero .lead-chip {
  display: inline-block; background: rgba(28,181,211,0.12); border: 1px solid rgba(28,181,211,0.45);
  color: #67e8f9; padding: 6px 12px; border-radius: 14px;
  font-size: 13px; font-family: ui-monospace, monospace; margin-right: 8px; margin-bottom: 6px;
}
header.hero .status-badge {
  display: inline-block; background: rgba(5,150,105,0.2); border: 1px solid rgba(5,150,105,0.5);
  color: #6ee7b7; padding: 4px 12px; border-radius: 10px;
  font-size: 12px; font-weight: 700; margin-bottom: 20px;
}

/* ── PAGE LAYOUT ── */
main { max-width: 1100px; margin: 0 auto; padding: 56px 32px 96px; }

h2 {
  font-size: 26px; margin: 48px 0 18px;
  letter-spacing: -0.005em; font-weight: 700;
  border-left: 4px solid var(--accent); padding-left: 14px;
}
h2:first-child { margin-top: 0; }
h3 { font-size: 19px; margin: 28px 0 8px; color: var(--ink); font-weight: 700; }
h4 { font-size: 16px; margin: 20px 0 6px; color: var(--ink); font-weight: 700; }

.intro { font-size: 17px; color: #334155; max-width: 820px; margin-bottom: 32px; }
.intro p { margin: 0 0 14px; }

p { margin: 0 0 14px; }

code {
  background: rgba(28,181,211,0.08); color: #0e7490;
  padding: 2px 7px; border-radius: 5px; font-size: 14px;
  font-family: ui-monospace, "Cascadia Code", monospace;
  border: 1px solid rgba(28,181,211,0.20);
}
pre {
  background: #0f172a; color: #e2e8f0;
  padding: 20px 24px; border-radius: 10px;
  overflow-x: auto; font-size: 14px; line-height: 1.6;
  font-family: ui-monospace, "Cascadia Code", monospace;
  margin: 16px 0 24px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;          /* anchors copy-btn + scroll-hint mask */
}
pre code { background: none; border: none; color: inherit; padding: 0; font-size: inherit; }

/* ── STEP BLOCK ── */
.step {
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 20px 0;
  background: var(--card-bg);
  position: relative;
  scroll-margin-top: 24px;     /* keep anchor target clear of any sticky bar */
}
.step .step-num {
  display: inline-block;
  background: var(--navy); color: #67e8f9;
  font-size: 11px; font-weight: 800; letter-spacing: 0.10em;
  padding: 3px 10px; border-radius: 8px;
  font-family: ui-monospace, monospace;
  margin-bottom: 10px;
}
.step h3 { margin: 0 0 10px; font-size: 18px; }
.step p { margin: 0 0 10px; color: #475569; }
.step p:last-child { margin-bottom: 0; }

/* Hover-only anchor link on step headings (anchor IDs injected by site.js) */
.step h3 .anchor-link {
  display: inline-block; margin-left: 8px;
  color: var(--accent); text-decoration: none;
  opacity: 0; transition: opacity 0.12s;
  font-weight: 400; font-size: 0.85em;
  user-select: none;
}
.step:hover h3 .anchor-link,
.step h3:focus-within .anchor-link { opacity: 0.65; }
.step h3 .anchor-link:hover { opacity: 1; text-decoration: none; }

/* ── CALLOUTS ── */
.note {
  background: var(--amber-bg);
  border: 1px solid rgba(217,119,6,0.30);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 15px;
  color: #92400e;
}
.note strong { color: #78350f; }

.tip {
  background: var(--green-bg);
  border: 1px solid rgba(5,150,105,0.30);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 15px;
  color: #065f46;
}

details.about {
  background: var(--amber-bg);
  border: 1px solid rgba(217,119,6,0.30);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  margin: 0 0 28px;
  color: #92400e;
  font-size: 15px;
}
details.about > summary {
  cursor: pointer; list-style: none;
  padding: 14px 18px;
  font-weight: 700; color: #78350f;
  display: flex; align-items: center; gap: 10px;
  user-select: none;
}
details.about > summary::-webkit-details-marker { display: none; }
details.about > summary::before {
  content: "▸";
  display: inline-block;
  transition: transform 0.15s;
  color: var(--amber);
  font-size: 13px;
  width: 12px;
}
details.about[open] > summary::before { transform: rotate(90deg); }
details.about > summary:hover { color: var(--amber); }
details.about .about-body { padding: 0 18px 16px 30px; }
details.about .about-body p { margin: 0 0 10px; }
details.about .about-body p:last-child { margin-bottom: 0; }
details.about .about-body ul { margin: 6px 0 10px; padding-left: 20px; }
details.about .about-body strong { color: #78350f; }
details.about .about-body code {
  background: rgba(217,119,6,0.10); color: #92400e;
  border-color: rgba(217,119,6,0.25);
}

/* ── PREREQ GRID ── */
.prereqs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0 28px;
}
@media (max-width: 640px) { .prereqs { grid-template-columns: 1fr; } }
.prereq-item {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 10px; padding: 14px 18px;
  display: flex; align-items: flex-start; gap: 12px;
}
.prereq-item .icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.prereq-item .name { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.prereq-item .install { font-size: 13px; color: var(--muted); font-family: ui-monospace, monospace; }

/* ── ARCH DIAGRAM ── */
.arch-diagram {
  background: var(--navy); border-radius: 12px; padding: 28px 32px;
  margin: 24px 0; color: #e2e8f0;
}
.arch-diagram h4 { color: #67e8f9; margin: 0 0 14px; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; }
.arch-diagram pre {
  background: transparent; border: none; margin: 0;
  color: #cbd5e1; font-size: 13px; padding: 0;
}

/* ── TABLES ── */
.ip-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.ip-table th {
  text-align: left; padding: 10px 14px;
  background: var(--navy); color: #67e8f9;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700;
}
.ip-table th:first-child { border-radius: 8px 0 0 0; }
.ip-table th:last-child  { border-radius: 0 8px 0 0; }
.ip-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: #334155; }
.ip-table td code { font-size: 13px; }
.ip-table tr:last-child td { border-bottom: none; }
.ip-table tr:nth-child(even) td { background: var(--card-bg); }

.diff-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.diff-table th {
  text-align: left; padding: 10px 14px;
  background: rgba(28,181,211,0.10); color: #0e7490;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
}
.diff-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.diff-table tr:last-child td { border-bottom: none; }
.diff-table .vs { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; }

/* ── CLOSING ── */
.closing {
  background: var(--navy); color: #cbd5e1; border-radius: 12px;
  padding: 28px 32px; margin: 48px 0 0;
}
.closing h3 { color: #f8fafc; margin: 0 0 8px; font-size: 20px; }
.closing p { margin: 0 0 6px; }
.closing a { color: #67e8f9; }
.closing ul { margin: 8px 0; padding-left: 20px; }
.closing li { margin-bottom: 6px; }

/* ── FOOTER ── */
footer {
  max-width: 1100px; margin: 0 auto; padding: 32px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between;
}
footer a { color: var(--accent-dark); }

/* ── COPY-TO-CLIPBOARD ── */
.copy-btn {
  position: absolute; top: 10px; right: 10px; z-index: 10;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22);
  color: #94a3b8; border-radius: 6px; padding: 5px 6px;
  cursor: pointer; line-height: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
  user-select: none;
}
pre .copy-btn { opacity: 0.55; }
pre:hover .copy-btn,
pre .copy-btn:focus-visible { opacity: 1; }
.copy-btn:hover { background: rgba(255,255,255,0.20); color: #e2e8f0; border-color: rgba(255,255,255,0.40); }
.copy-btn.copied { background: rgba(5,150,105,0.25); border-color: rgba(5,150,105,0.55); color: #6ee7b7; opacity: 1; }

/* ── MOBILE SCROLL-HINT on overflowing <pre> ── */
pre.is-scrollable::after {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 32px; pointer-events: none; border-radius: 0 10px 10px 0;
  background: linear-gradient(to right, rgba(15,23,42,0) 0%, rgba(15,23,42,0.85) 100%);
  opacity: 0.85; transition: opacity 0.15s;
}
pre.is-scrollable.at-end::after { opacity: 0; }

/* ── STICKY TOC (injected by site.js, fixed position) ── */
.site-toc {
  position: fixed; top: 24px; right: 20px;
  width: 220px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  font-size: 13px;
  border-left: 1px solid var(--line);
  padding: 4px 0 4px 14px;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: width 0.18s ease, padding 0.18s ease;
}
@media (max-width: 1450px) { .site-toc { display: none; } }

/* Collapse toggle — small chevron in the top-right of the TOC */
.site-toc .toc-toggle {
  position: absolute; top: 4px; right: 6px;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--card-border);
  background: #fff; color: var(--muted);
  border-radius: 6px;
  cursor: pointer; padding: 0;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.site-toc .toc-toggle:hover { color: var(--accent-dark); border-color: var(--accent-dark); background: rgba(28,181,211,0.08); }
.site-toc .toc-toggle .toc-toggle-icon {
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);                  /* ◀ when expanded — click to collapse */
  transition: transform 0.18s ease;
  margin-left: -2px;
}
.site-toc.collapsed { width: 34px; padding: 4px; border-left: 0; overflow: hidden; }
.site-toc.collapsed .toc-title,
.site-toc.collapsed ul { display: none; }
.site-toc.collapsed .toc-toggle { position: static; top: auto; right: auto; }
.site-toc.collapsed .toc-toggle-icon { transform: rotate(135deg); margin-left: 0; margin-right: -2px; }   /* ▶ when collapsed */

.site-toc .toc-title {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
  margin: 0 28px 10px 0;                      /* right-margin keeps title clear of toggle */
}
.site-toc ul { list-style: none; margin: 0; padding: 0; }
.site-toc li { margin: 0; }
.site-toc a {
  display: block; padding: 4px 8px;
  color: #475569; text-decoration: none;
  border-radius: 6px; line-height: 1.35;
}
.site-toc a:hover { color: var(--accent-dark); background: rgba(28,181,211,0.08); }
.site-toc a.active { color: var(--accent-dark); background: rgba(28,181,211,0.12); font-weight: 600; }
.site-toc .toc-h2 { font-weight: 700; color: var(--ink); margin-top: 8px; }
.site-toc .toc-h2:first-child { margin-top: 0; }
.site-toc .toc-step { padding-left: 18px; font-size: 12.5px; }
.site-toc .toc-step .toc-num {
  display: inline-block; min-width: 0;
  color: var(--accent-dark); font-family: ui-monospace, monospace;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em;
  margin-right: 6px;
}

/* ── PREV / NEXT PAGER ── */
.site-pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin: 48px 0 0;
}
@media (max-width: 640px) { .site-pager { grid-template-columns: 1fr; } }
.site-pager a {
  display: block; padding: 16px 20px;
  border: 1px solid var(--card-border); border-radius: 12px;
  background: var(--card-bg); color: var(--ink);
  text-decoration: none;
  transition: border-color 0.12s, box-shadow 0.12s, background 0.12s;
}
.site-pager a:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(28,181,211,0.18);
  background: #fff;
  text-decoration: none;
}
.site-pager .pager-dir {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 4px;
}
.site-pager .pager-title { font-weight: 700; font-size: 15px; color: var(--ink); }
.site-pager .pager-next { text-align: right; }
.site-pager .pager-empty {
  border: 1px dashed var(--card-border); background: transparent;
  color: var(--muted); pointer-events: none; opacity: 0.55;
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE — applies to every lab page that uses this stylesheet.
   Tightens hero / main / footer padding and prevents the H1 +
   tracked-out eyebrow from overflowing on ~390px-wide phones.
══════════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
  /* Stop long hyphenated chip text + inline <code> tokens from
     pushing the body wider than the viewport.
     Note: pre code is excluded — code blocks must scroll, not break. */
  header.hero .lead-chip,
  header.hero .status-badge,
  p > code, li > code, td > code, h1 code, h2 code, h3 code,
  .summary code, .lead code, .intro code,
  .closing code {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  header.hero { padding: 40px 16px 32px; }
  header.hero h1 { font-size: 28px; line-height: 1.15; overflow-wrap: anywhere; }
  header.hero .eyebrow {
    font-size: 11.5px;
    letter-spacing: 0.10em;       /* was 0.18em — caused overflow */
    word-spacing: 0.05em;
    margin-bottom: 12px;
  }
  header.hero .sub { font-size: 15.5px; line-height: 1.5; }
  header.hero .breadcrumb { font-size: 12px; margin-bottom: 14px; }
  header.hero .author-card { padding: 8px 12px; gap: 10px; margin: 4px 0 18px; }
  header.hero .author-name { font-size: 14px; }
  header.hero .author-role { font-size: 11.5px; }
  header.hero .lead-chip { font-size: 11.5px; padding: 5px 9px; margin-right: 4px; margin-bottom: 5px; }
  header.hero .status-badge { font-size: 11px; padding: 3px 9px; }

  main { padding: 28px 14px 56px; }

  h2 { font-size: 22px; margin: 36px 0 14px; padding-left: 10px; }
  h3 { font-size: 17px; }
  .intro { font-size: 15.5px; }
  .intro p { margin: 0 0 12px; }

  .step { padding: 16px 14px; }
  .step h3 { font-size: 16px; }

  pre { padding: 14px 16px; font-size: 12.5px; }

  /* arch-diagram cards: less inner padding so the ASCII art has room
     to scroll within the card rather than blowing past the viewport */
  .arch-diagram { padding: 18px 14px; border-radius: 10px; }
  .arch-diagram pre { font-size: 11.5px; overflow-x: auto; }

  /* ip-table / diff-table → scrollable on phones */
  .ip-table, .diff-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .closing { padding: 20px 16px; border-radius: 10px; margin-top: 36px; }
  .closing h3 { font-size: 17px; }

  footer { padding: 20px 16px; flex-direction: column; gap: 10px; }

  /* prereq grid stacks one-column at this breakpoint too */
  .prereqs { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  header.hero h1 { font-size: 25px; }
  main { padding: 24px 10px 48px; }
  h2 { font-size: 20px; }
  pre { padding: 12px 14px; font-size: 12px; }
}

/* ══════════════════════════════════════════════════════════════════
   LIGHTBOX  — click any diagram, ASCII arch box, or image to expand.
   Triggers and the modal overlay are wired up by site.js.
══════════════════════════════════════════════════════════════════ */
.lb-trigger { cursor: zoom-in; transition: box-shadow 0.15s, transform 0.15s; }
.lb-trigger:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.diagram-wrap .lb-trigger:hover { transform: translateY(-1px); }
.arch-diagram.lb-trigger:hover {
  box-shadow: 0 8px 28px rgba(15,23,42,0.30);
}
main img.lb-trigger:hover { box-shadow: 0 6px 18px rgba(15,23,42,0.20); }

/* tiny corner badge so people know they can tap to expand */
.lb-trigger { position: relative; }
.lb-trigger::after {
  content: "⤢ tap to expand";
  position: absolute; top: 10px; right: 12px;
  font: 11px/1 ui-monospace, monospace;
  color: #67e8f9;
  background: rgba(10,26,58,0.85);
  border: 1px solid rgba(103,232,249,0.40);
  padding: 5px 9px; border-radius: 6px;
  opacity: 0; transition: opacity 0.15s;
  pointer-events: none; z-index: 5;
}
.lb-trigger:hover::after,
.lb-trigger:focus-visible::after { opacity: 1; }
/* on touch devices, just show the badge persistently */
@media (hover: none) {
  .lb-trigger::after { opacity: 0.85; }
}

html.lb-locked, html.lb-locked body { overflow: hidden; }

.lb-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(8,15,30,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; transition: opacity 0.18s;
}
.lb-modal.lb-open { display: flex; opacity: 1; }

.lb-modal .lb-inner {
  width: min(95vw, 1400px);     /* fill the modal — SVGs scale up to fit */
  max-height: 92vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}

/* Each clone type gets sensible "fill the modal" sizing */
.lb-modal .lb-inner svg {
  width: 100%; height: auto;
  max-height: 84vh; display: block;
}
.lb-modal .lb-inner img {
  width: 100%; height: auto; display: block;
  max-height: 84vh; object-fit: contain;
}
.lb-modal .lb-inner .arch-diagram {
  margin: 0; padding: 24px 28px;
}
.lb-modal .lb-inner .arch-diagram pre {
  font-size: 14px; line-height: 1.55;
  overflow-x: auto;
}
/* never show the corner badge in the expanded clone */
.lb-modal .lb-inner ::after { display: none !important; }
.lb-modal .lb-inner * { cursor: default; }

.lb-modal .lb-close {
  position: fixed; top: 18px; right: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.10);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.30);
  font-size: 24px; line-height: 1; font-weight: 300;
  cursor: pointer; display: grid; place-items: center;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  z-index: 10000;
}
.lb-modal .lb-close:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.60);
  transform: scale(1.05);
}

@media (max-width: 720px) {
  .lb-modal { padding: 12px; }
  .lb-modal .lb-inner { padding: 18px 16px; border-radius: 10px; }
  .lb-modal .lb-inner .arch-diagram { padding: 14px 12px; }
  .lb-modal .lb-inner .arch-diagram pre { font-size: 11px; line-height: 1.45; }
  .lb-modal .lb-close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 20px; }
  .lb-trigger::after { font-size: 10px; padding: 4px 7px; top: 8px; right: 8px; }
}
