/* 인생도박 커뮤니티 안내 — an independent editorial reading room. */
:root {
  --cm-paper: #f7f5ef;
  --cm-ink: #142332;
  --cm-green: #244e40;
  --cm-orange: #cf5b35;
  --cm-muted: #5d665f;
  --cm-rule: #d5d8cc;
  --cm-soft: #edf0e6;
  --cm-white: #fffefa;
  --navy-950: var(--cm-ink);
  --navy-900: var(--cm-green);
  --navy-800: #345b4e;
  --teal-700: var(--cm-green);
  --teal-600: #35634f;
  --teal-100: #e9eee2;
  --coral-600: var(--cm-orange);
  --coral-100: #f9ece4;
  --sand-50: var(--cm-paper);
  --sand-100: #efeee5;
  --ink: var(--cm-ink);
  --muted: var(--cm-muted);
  --line: var(--cm-rule);
  --white: var(--cm-white);
  --shadow: none;
  --radius-lg: 4px;
  --radius-md: 4px;
  --shell: 1200px;
}

html { scroll-padding-top: 104px; }
body { background: var(--cm-paper); color: var(--cm-ink); }
main { min-width: 0; }
img, svg, video { max-width: 100%; }
a { color: var(--cm-green); }
a:hover { color: #a44425; }
:focus-visible { outline: 3px solid #a44425; outline-offset: 5px; }
::selection { color: #fffefa; background: var(--cm-green); }
.shell, .breadcrumbs { width: min(calc(100% - 64px), var(--shell)); }
.button { min-height: 48px; padding: 12px 22px; border-radius: 3px; box-shadow: none; }
.button:hover { transform: none; }
.button--primary { background: var(--cm-green); box-shadow: none; }
.button--primary:hover { background: #183d31; }
.button--outline { border-color: #99a297; color: var(--cm-green); }
.button--light { background: transparent; border-color: var(--cm-rule); }
.button:disabled { opacity: .6; cursor: not-allowed; }
.text-link { text-underline-offset: .22em; }
.skip-link { border: 1px solid var(--cm-ink); border-radius: 2px; }

/* A compact masthead leaves the reading experience visible. */
.site-header { background: var(--cm-paper); border-bottom: 1px solid var(--cm-rule); backdrop-filter: none; }
.header-inner { min-height: 88px; gap: 24px; }
.wordmark { flex-shrink: 0; gap: 12px; }
.wordmark-mark { width: 43px; height: 43px; border-radius: 2px; color: var(--cm-paper); background: var(--cm-green); }
.wordmark-mark svg { width: 29px; height: 29px; stroke: var(--cm-paper); }
.wordmark-mark img { width: 43px; height: 43px; }
.wordmark strong { font-size: 1.3rem; font-weight: 800; letter-spacing: -.055em; }
.wordmark small { color: var(--cm-muted); font-size: .68rem; letter-spacing: .015em; margin-top: 6px; }
.main-nav { flex-wrap: wrap; justify-content: flex-end; gap: 3px 17px; }
.main-nav a { position: relative; min-height: 44px; padding: 11px 2px; border-radius: 0; color: var(--cm-muted); font-size: .85rem; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--cm-ink); background: transparent; }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 4px; left: 2px; right: 2px; height: 2px; background: var(--cm-orange); }
.main-nav .nav-help, .main-nav .nav-help:hover, .main-nav .nav-help[aria-current="page"] { background: transparent; color: var(--cm-muted); }

/* The home page uses type and rules, rather than a borrowed service UI. */
.community-home { overflow: clip; }
.cm-hero { padding: 38px 0 0; }
.cm-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cm-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0; color: var(--cm-green); font-size: .75rem; font-weight: 800; letter-spacing: .035em; }
.cm-kicker::before { content: ""; width: 7px; height: 7px; flex: 0 0 7px; background: var(--cm-orange); border-radius: 50%; }
.cm-edition { margin: 0; color: var(--cm-muted); font-size: .72rem; letter-spacing: .04em; text-align: right; }
.cm-display { max-width: 100%; margin: 35px 0 28px; color: var(--cm-green); font-size: clamp(4.7rem, 10.8vw, 9.6rem); font-weight: 850; letter-spacing: -.075em; line-height: 1.08; overflow-wrap: anywhere; }
.cm-display > h1 { margin: 0; color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit; }
.cm-display .cm-domain { display: block; width: fit-content; margin: .31em 0 0; color: var(--cm-ink); font-size: .29em; font-weight: 550; letter-spacing: -.035em; line-height: 1.55; }
.cm-hero .cm-domain:not(.cm-display .cm-domain) { margin: -12px 0 27px; color: var(--cm-ink); font-size: clamp(1.3rem, 2.5vw, 2.3rem); font-weight: 550; letter-spacing: -.035em; line-height: 1.55; }
.cm-display .cm-title-line { display: block; }
.cm-hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; padding: 10px 0 34px; }
.cm-standfirst { max-width: 700px; margin: 0; color: #48574e; font-size: clamp(1rem, 1.65vw, 1.2rem); line-height: 1.85; }
.cm-standfirst strong { color: var(--cm-ink); font-weight: 750; }
.cm-standfirst > p:last-child { margin-bottom: 0; }
.cm-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-bottom: 3px; }
.cm-hero-actions a { white-space: nowrap; font-size: .88rem; }
.cm-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--cm-ink); border-bottom: 1px solid var(--cm-rule); }
.cm-facts > * { min-width: 0; padding: 19px 24px 19px 0; margin: 0; }
.cm-facts > * + * { padding-left: 28px; border-left: 1px solid var(--cm-rule); }
.cm-facts dt, .cm-facts small, .cm-facts .cm-fact-label { display: block; margin: 0 0 4px; color: var(--cm-muted); font-size: .7rem; font-weight: 500; letter-spacing: .015em; }
.cm-facts dd { margin: 0; }
.cm-facts strong, .cm-facts dd { display: block; color: var(--cm-ink); font-size: .91rem; font-weight: 700; }
.cm-facts span { font-size: .85rem; }

.cm-section { padding: 82px 0; border-bottom: 1px solid var(--cm-rule); scroll-margin-top: 110px; }
.cm-section--tint { background: #efeee5; }
.cm-section-head { display: grid; grid-template-columns: 158px minmax(0, 1fr) auto; align-items: baseline; gap: 12px 20px; margin-bottom: 30px; }
.cm-section-index { color: var(--cm-orange); font-size: .68rem; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: .035em; }
.cm-section-head h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.65rem); letter-spacing: -.055em; font-weight: 800; }
.cm-section-head > a { margin-left: auto; color: var(--cm-green); font-size: .84rem; font-weight: 700; }
.cm-section-head > p { grid-column: 2 / -1; max-width: 760px; margin: 0; color: var(--cm-muted); font-size: .94rem; line-height: 1.9; }
.cm-section-lead { max-width: 760px; margin-bottom: 28px; color: var(--cm-muted); font-size: 1.02rem; line-height: 1.85; }
.cm-section-lead:last-child { margin-bottom: 0; }
.cm-feature-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(36px, 7vw, 104px); align-items: start; }
.cm-feature-body { min-width: 0; }
.cm-feature-body > p { font-size: 1.04rem; line-height: 1.95; color: #46544b; }
.cm-feature-body > p:last-child { margin-bottom: 0; }
.cm-feature-body h3 { margin: 30px 0 14px; font-size: 1.2rem; line-height: 1.5; }
.cm-feature-body ul { padding-left: 1.2em; color: #46544b; }
.cm-feature-body li { padding: 3px 0; }
.cm-inline-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--cm-rule); }
.cm-inline-links a { font-size: .88rem; font-weight: 750; }
.cm-sidebar { min-width: 0; padding: 25px 26px; background: var(--cm-soft); border-top: 3px solid var(--cm-green); }
.cm-sidebar > span, .cm-sidebar > small, .cm-sidebar .cm-note-label { display: block; margin-bottom: 18px; color: var(--cm-green); font-size: .72rem; font-weight: 800; letter-spacing: .035em; }
.cm-sidebar h3 { margin: 0 0 16px; font-size: 1.18rem; line-height: 1.5; }
.cm-sidebar p, .cm-sidebar li { font-size: .87rem; line-height: 1.85; color: #48554b; }
.cm-sidebar ul { margin: 0; padding-left: 1.2em; }
.cm-sidebar ol { margin: 0; padding-left: 1.4em; }
.cm-sidebar li + li { margin-top: 9px; }
.cm-sidebar > strong { display: block; margin: 0 0 16px; font-size: 1.08rem; }
.cm-sidebar p:last-child { margin-bottom: 0; }
.cm-sidebar a { font-weight: 700; }

.cm-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 32px; border-top: 1px solid var(--cm-rule); border-bottom: 1px solid var(--cm-rule); }
.cm-topic { min-width: 0; padding: 29px 28px 31px 0; }
.cm-topic + .cm-topic { border-left: 1px solid var(--cm-rule); padding-left: 28px; }
.cm-topic > span, .cm-topic > small { display: block; margin-bottom: 22px; color: var(--cm-orange); font-size: .73rem; font-weight: 800; }
.cm-topic h3 { margin-bottom: 12px; font-size: 1.22rem; line-height: 1.45; letter-spacing: -.04em; }
.cm-topic p { margin: 0; font-size: .9rem; line-height: 1.85; color: var(--cm-muted); }
.cm-topic a { display: inline-block; margin-top: 17px; font-size: .87rem; font-weight: 750; }
.cm-topic > a:only-child { margin-top: 0; }

.cm-guide-list { border-top: 1px solid var(--cm-ink); }
.cm-guide-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 23px; align-items: center; padding: 24px 8px 24px 0; border-bottom: 1px solid var(--cm-rule); color: inherit; text-decoration: none; }
a.cm-guide-row:hover { color: inherit; background: #efeee4; }
.cm-guide-no { align-self: start; padding-top: 3px; color: var(--cm-orange); font-size: .77rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.cm-guide-copy { min-width: 0; }
.cm-guide-copy h3, .cm-guide-copy strong { display: block; margin: 0 0 7px; font-size: 1.17rem; font-weight: 750; line-height: 1.5; letter-spacing: -.035em; color: var(--cm-ink); }
.cm-guide-copy p, .cm-guide-copy > span { display: block; margin: 0; color: var(--cm-muted); font-size: .87rem; line-height: 1.8; }
.cm-guide-tag { display: flex; align-items: center; gap: 20px; color: var(--cm-green); font-size: .76rem; white-space: nowrap; }
.cm-guide-tag::after { content: "↗"; color: var(--cm-orange); font-size: 1.25rem; line-height: 1; }
.cm-guide-tag > [aria-hidden] { display: none; }
.cm-guide-copy a { color: var(--cm-ink); text-decoration: none; }
.cm-guide-copy a:hover { text-decoration: underline; }

.cm-observations { max-width: 100%; overflow-x: auto; margin-top: 29px; border-top: 1px solid var(--cm-ink); }
.cm-observations table { width: 100%; min-width: 560px; background: transparent; font-size: .86rem; line-height: 1.85; }
.cm-observations caption { padding: 15px 0; color: var(--cm-muted); font-size: .76rem; text-align: left; }
.cm-observations th { padding: 15px 18px; color: var(--cm-green); background: var(--cm-soft); font-size: .78rem; font-weight: 750; }
.cm-observations td { padding: 18px; border-bottom: 1px solid var(--cm-rule); vertical-align: top; }
.cm-observations th:first-child, .cm-observations td:first-child { padding-left: 0; width: 19%; }
.cm-observations th:last-child, .cm-observations td:last-child { width: 31%; padding-right: 4px; }
.cm-observations td:first-child { font-weight: 750; }
.cm-observations tr:last-child td { border-bottom: 1px solid var(--cm-rule); }
.cm-observations a { overflow-wrap: anywhere; }
.cm-source-line { margin: 15px 0 0; color: var(--cm-muted); font-size: .76rem; line-height: 1.9; }

.cm-address-note { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 26px; padding: 27px 30px; background: var(--cm-soft); border-top: 3px solid var(--cm-green); }
.cm-address-note h3 { font-size: 1.3rem; line-height: 1.5; }
.cm-address-note p { max-width: 780px; margin: 0; color: #48554b; font-size: .88rem; }
.cm-address-note p > strong { display: block; margin-bottom: 5px; color: var(--cm-ink); }
.cm-address-note > a { flex-shrink: 0; font-size: .82rem; font-weight: 750; }
.cm-address-note code { display: inline; color: var(--cm-green); padding: 0; border-radius: 0; background: transparent; overflow-wrap: anywhere; font-size: .9em; }
.cm-address-note > div { min-width: 0; }
.cm-domain-tool { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px 45px; min-width: 0; padding: 30px; background: var(--cm-soft); border-top: 3px solid var(--cm-green); }
.cm-domain-tool > p:first-child { margin: 0; color: #48554b; font-size: .9rem; line-height: 1.9; }
.cm-domain-tool > p:first-child strong { display: inline-block; margin-bottom: 5px; color: var(--cm-ink); font-size: 1.06rem; }
.cm-domain-tool > p:first-child code { padding: 0; border-radius: 0; background: transparent; color: var(--cm-green); font-size: .89em; }
.cm-domain-tool label { display: block; margin: 0 0 9px; color: var(--cm-ink); font-size: .87rem; font-weight: 750; }
.cm-domain-tool form { min-width: 0; }
.cm-domain-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.cm-domain-tool form > label, .cm-domain-tool form > p, .cm-domain-tool form > output { grid-column: 1 / -1; }
.cm-domain-tool input { width: 100%; min-width: 0; min-height: 48px; padding: 11px 13px; color: var(--cm-ink); background: var(--cm-white); border: 1px solid #9da899; border-radius: 2px; font-size: .93rem; }
.cm-domain-tool input::placeholder { color: #747d73; opacity: 1; }
.cm-domain-tool input[aria-invalid="true"] { border-color: #a44425; }
.cm-domain-tool button { min-height: 48px; padding: 10px 17px; color: var(--cm-white); background: var(--cm-green); border: 1px solid var(--cm-green); border-radius: 2px; font-size: .88rem; font-weight: 750; cursor: pointer; }
.cm-domain-tool button:hover { background: #183d31; }
.cm-domain-tool [data-domain-result] { display: block; margin: 15px 0 0; padding: 14px 0 0; border-top: 1px solid #c6cebf; color: #445147; font-size: .86rem; line-height: 1.85; overflow-wrap: anywhere; }
.cm-domain-tool [data-domain-result]:empty { display: none; }
.cm-domain-tool [data-domain-result][data-state="error"] { color: #973a23; }
.cm-domain-tool .cm-tool-note, .cm-domain-tool small { display: block; grid-column: 1 / -1; margin: 3px 0 0; color: var(--cm-muted); font-size: .76rem; line-height: 1.8; }
.cm-domain-tool noscript { grid-column: 1 / -1; }
.cm-domain-tool noscript p { margin-top: 0; }

.cm-faq { border-top: 1px solid var(--cm-ink); }
.cm-faq details { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--cm-rule); border-radius: 0; background: transparent; }
.cm-faq summary { display: flex; align-items: baseline; gap: 18px; justify-content: space-between; min-height: 72px; padding: 23px 4px 23px 0; font-size: 1.04rem; font-weight: 750; line-height: 1.6; list-style: none; }
.cm-faq summary::-webkit-details-marker { display: none; }
.cm-faq summary::after { content: "+"; flex: 0 0 auto; align-self: center; color: var(--cm-green); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.cm-faq details[open] summary::after { content: "−"; }
.cm-faq details[open] summary { padding-bottom: 12px; }
.cm-faq details > p, .cm-faq details > div { max-width: 900px; margin: 0; padding: 0 42px 24px 0; color: #4f5b51; font-size: .94rem; line-height: 1.95; }
.cm-faq details > div p:last-child { margin-bottom: 0; }
.cm-faq summary:hover { color: var(--cm-green); }
.cm-support-strip { padding: 38px 0; background: var(--cm-green); color: #e3eadf; }
.cm-support-strip > .shell { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.cm-support-strip h2, .cm-support-strip h3, .cm-support-strip strong { color: var(--cm-white); }
.cm-support-strip h2 { margin: 0 0 7px; font-size: 1.33rem; letter-spacing: -.03em; }
.cm-support-strip p { margin: 0; color: #d2ddce; font-size: .9rem; }
.cm-support-strip a { color: var(--cm-white); font-size: .88rem; font-weight: 750; }
.cm-support-strip .cm-kicker { color: #c5d4c2; margin-bottom: 10px; }
.cm-support-strip .cm-inline-links { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; }
.cm-support-strip .button { border-color: #8da492; background: transparent; white-space: nowrap; }
.cm-support-strip .button:hover { background: #345d4e; }

/* Existing guides share the same editorial visual language. */
.breadcrumbs { margin-top: 24px; font-size: .75rem; }
.eyebrow, .section-kicker { color: var(--cm-green); letter-spacing: .02em; text-transform: none; }
.eyebrow::before { width: 6px; height: 6px; background: var(--cm-orange); box-shadow: none; }
.page-hero { gap: 62px; padding-block: 42px 60px; }
.page-hero h1, .article-header h1, .guide-header h1, .listing-header h1 { font-size: clamp(2.25rem, 4.8vw, 4rem); letter-spacing: -.055em; line-height: 1.25; }
.page-hero > img, .article-header--image img, .guide-cover { border-radius: 3px; box-shadow: none; }
.prose { min-width: 0; line-height: 1.95; }
.prose h2 { border-top: 1px solid var(--cm-rule); padding-top: 25px; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.045em; }
.prose table { width: 100%; min-width: 0; table-layout: fixed; margin-block: 26px; }
.prose th, .prose td { overflow-wrap: anywhere; }
.prose th:first-child, .prose td:first-child { width: 24%; }
.prose-layout { gap: clamp(32px, 5vw, 76px); }
.narrow-prose { margin-left: 0; }
.article-header { padding-bottom: 38px; }
.article-header > p, .guide-header > p, .listing-header > p { line-height: 1.9; }
.guide-cover { max-width: 780px; }
.article-sources { padding: 26px; border-top: 2px solid var(--cm-green); border-radius: 0; }
.article-card { border-radius: 2px; background: var(--cm-white); }
.article-grid { gap: 24px; }
.article-body { padding: 23px 21px; }
.article-body h2, .article-body h3 { font-size: 1.12rem; line-height: 1.6; }
.article-image { aspect-ratio: 16 / 10; }
.article-image img[src*="community-og"] { object-fit: contain; background: var(--cm-paper); }
.article-image:hover img[src*="community-og"] { transform: none; }
.article-next a, .resource-list a, .side-card, .support-path, .evidence-panel, .contact-card { border-radius: 3px; box-shadow: none; }
.side-card { background: #efefe5; border-color: var(--cm-rule); }
.side-card--warning { background: #f7eae1; border-color: #e5cabc; }
.side-card--teal { background: var(--cm-soft); border-color: #cbd3c1; }
.side-card a:not(.big-number) { border-bottom-color: #cdd2c3; }
.callout { border-radius: 0; }
.steps li { border-radius: 2px; }
.steps li::before { border-radius: 2px; }
.table-wrap, details { border-radius: 2px; }
th { background: var(--cm-soft); }
.need-filter, .memo-handling, .evidence-checks label { border-radius: 2px; }
.need-filter { background: var(--cm-soft); border-color: #cbd3c1; }
.support-section { padding-top: 64px; }
.section--navy { background: var(--cm-green); }
.section-heading > span, .section-heading > div > span, .source-strip > div > span { color: var(--cm-green); }
.support-label { color: var(--cm-green); }
.support-path .support-number { color: var(--cm-green); }
.source-strip { border-radius: 2px; }

/* Quiet colophon, with the independent publisher clearly identified. */
.site-footer { padding: 52px 0 24px; background: var(--cm-paper); color: var(--cm-muted); border-top: 1px solid var(--cm-rule); }
.footer-grid { grid-template-columns: 1.5fr .8fr .7fr; gap: 65px; }
.footer-grid strong { color: var(--cm-ink); font-size: .82rem; }
.footer-grid .footer-title { color: var(--cm-green); font-size: 1.2rem; }
.footer-grid p { max-width: 480px; font-size: .82rem; line-height: 1.9; }
.footer-grid a { width: fit-content; color: #4c5b50; font-size: .8rem; }
.footer-grid a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 38px; padding-top: 17px; border-top: 1px solid var(--cm-rule); font-size: .7rem; }
.histats-counter { max-width: var(--shell); margin: 12px auto 0; }

@media (min-width: 1600px) {
  .cm-hero { padding-top: 48px; }
  .cm-display { margin-top: 44px; }
}

@media (max-width: 1000px) {
  .header-inner { min-height: 80px; gap: 20px; }
  .main-nav { gap: 3px 11px; }
  .main-nav a { font-size: .79rem; }
  .cm-hero-bottom { grid-template-columns: 1fr; gap: 21px; }
  .cm-standfirst { max-width: 760px; }
  .cm-hero-actions { justify-content: flex-start; }
  .cm-feature-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 35px; }
  .cm-address-note { gap: 32px; padding: 28px; }
  .footer-grid { gap: 36px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 24px; }
  .shell, .breadcrumbs { width: calc(100% - 40px); }
  .site-header { position: static; }
  .header-inner { flex-direction: column; align-items: flex-start; padding: 17px 0 0; gap: 10px; }
  .wordmark-mark { width: 36px; height: 36px; }
  .wordmark-mark img { width: 36px; height: 36px; }
  .wordmark-mark svg { width: 25px; height: 25px; }
  .wordmark strong { font-size: 1.12rem; }
  .wordmark small { font-size: .65rem; margin-top: 4px; }
  .main-nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 0 17px; overflow: visible; padding-bottom: 3px; }
  .main-nav a { min-height: 44px; padding: 11px 0; font-size: .76rem; }
  .main-nav a[aria-current="page"]::after { left: 0; right: 0; bottom: 2px; }
  .cm-hero { padding-top: 26px; }
  .cm-hero-top { align-items: flex-start; }
  .cm-kicker { font-size: .66rem; gap: 6px; letter-spacing: 0; }
  .cm-edition { font-size: .62rem; max-width: 135px; }
  .cm-display { margin: 31px 0 23px; font-size: clamp(3.5rem, 20.5vw, 7.7rem); line-height: 1.08; letter-spacing: -.075em; }
  .cm-display .cm-domain { margin-top: .42em; font-size: .34em; }
  .cm-hero-bottom { gap: 21px; padding-bottom: 29px; }
  .cm-standfirst { font-size: .96rem; line-height: 1.9; }
  .cm-hero-actions { gap: 9px; }
  .cm-hero-actions .button { min-height: 46px; padding: 11px 16px; font-size: .82rem; }
  .cm-facts > * { padding: 16px 13px 18px 0; }
  .cm-facts > * + * { padding-left: 16px; }
  .cm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cm-facts > :nth-child(3) { padding-left: 0; border-left: 0; }
  .cm-facts > :nth-child(n + 3) { border-top: 1px solid var(--cm-rule); }
  .cm-facts dt, .cm-facts small, .cm-facts .cm-fact-label { font-size: .63rem; }
  .cm-facts strong, .cm-facts dd { font-size: .76rem; }
  .cm-facts span { font-size: .72rem; }
  .cm-section { padding-block: 52px; scroll-margin-top: 24px; }
  .cm-section-head { grid-template-columns: minmax(0, 1fr) auto; gap: 9px 11px; margin-bottom: 23px; }
  .cm-section-index { grid-column: 1 / -1; }
  .cm-section-head > p { grid-column: 1 / -1; font-size: .87rem; }
  .cm-section-head h2 { font-size: 1.75rem; }
  .cm-section-head > a { font-size: .75rem; }
  .cm-section-index { font-size: .69rem; }
  .cm-section-lead, .cm-feature-body > p { font-size: .95rem; }
  .cm-feature-layout { grid-template-columns: 1fr; gap: 28px; }
  .cm-sidebar { padding: 23px; }
  .cm-sidebar > span, .cm-sidebar > small, .cm-sidebar .cm-note-label { margin-bottom: 13px; }
  .cm-topic-grid { grid-template-columns: 1fr; margin-top: 24px; }
  .cm-topic, .cm-topic + .cm-topic { padding: 23px 0; border-left: 0; }
  .cm-topic + .cm-topic { border-top: 1px solid var(--cm-rule); }
  .cm-topic > span, .cm-topic > small { margin-bottom: 12px; }
  .cm-topic h3 { font-size: 1.15rem; margin-bottom: 8px; }
  .cm-topic p { font-size: .88rem; }
  .cm-guide-row { grid-template-columns: 27px minmax(0, 1fr) auto; gap: 12px; padding-block: 21px; }
  .cm-guide-no { font-size: .67rem; padding-top: 4px; }
  .cm-guide-copy h3, .cm-guide-copy strong { font-size: 1.02rem; }
  .cm-guide-copy p, .cm-guide-copy > span { font-size: .81rem; }
  .cm-guide-tag { gap: 0; font-size: 0; }
  .cm-guide-tag::after { font-size: 1.2rem; }
  .cm-observations table { min-width: 0; table-layout: fixed; font-size: .78rem; line-height: 1.85; }
  .cm-observations th, .cm-observations td { padding: 13px 8px; overflow-wrap: anywhere; }
  .cm-observations th:first-child, .cm-observations td:first-child { width: 25%; }
  .cm-observations th:last-child, .cm-observations td:last-child { width: 36%; }
  .cm-observations code { padding: 0; background: transparent; font-size: .85em; }
  .cm-address-note { flex-direction: column; align-items: flex-start; gap: 15px; padding: 24px 22px; }
  .cm-address-note h3 { font-size: 1.2rem; }
  .cm-address-note p { font-size: .88rem; }
  .cm-domain-tool { grid-template-columns: 1fr; gap: 22px; padding: 24px 22px; }
  .cm-faq summary { min-height: 67px; padding-block: 19px; font-size: .96rem; }
  .cm-faq details > p, .cm-faq details > div { padding: 0 24px 22px 0; font-size: .88rem; }
  .cm-support-strip { padding-block: 29px; }
  .cm-support-strip > .shell { grid-template-columns: 1fr; gap: 18px; }
  .cm-support-strip h2 { font-size: 1.2rem; }
  .cm-support-strip p { font-size: .85rem; }
  .cm-support-strip .button { width: fit-content; min-height: 44px; padding: 10px 16px; }
  .page-hero { gap: 28px; padding-top: 32px; }
  .page-hero h1, .article-header h1, .guide-header h1, .listing-header h1 { font-size: clamp(2rem, 7.5vw, 3rem); }
  .article-header > p, .guide-header > p, .listing-header > p, .page-hero-copy > p { font-size: .98rem; }
  .prose { font-size: .98rem; }
  .prose table { font-size: .78rem; line-height: 1.85; }
  .prose th, .prose td { padding: 12px 8px; word-break: normal; }
  .prose-layout { grid-template-columns: 1fr; }
  .side-stack { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 29px 25px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 6px; margin-top: 28px; }
  .site-footer { padding-top: 38px; }
}

@media (max-width: 380px) {
  .shell, .breadcrumbs { width: calc(100% - 32px); }
  .main-nav { gap: 0 12px; }
  .main-nav a { font-size: .7rem; }
  .cm-edition { font-size: .58rem; max-width: 104px; }
  .cm-kicker { font-size: .61rem; }
  .cm-display { font-size: 20.5vw; margin-top: 28px; }
  .cm-display .cm-domain { font-size: .37em; }
  .cm-facts { grid-template-columns: 1fr; }
  .cm-facts > *, .cm-facts > * + * { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 10px 0; border-left: 0; }
  .cm-facts > * + * { border-top: 1px solid var(--cm-rule); }
  .cm-facts dt, .cm-facts small, .cm-facts .cm-fact-label { margin: 0; font-size: .68rem; }
  .cm-facts strong, .cm-facts dd { text-align: right; font-size: .77rem; }
  .cm-section-head h2 { font-size: 1.5rem; }
  .cm-section-head > a { grid-column: 1 / -1; margin-left: 0; }
  .cm-address-note { padding: 22px 17px; }
  .cm-domain-tool { padding: 22px 17px; }
  .cm-domain-input-row { grid-template-columns: 1fr; }
  .cm-domain-tool input, .cm-domain-tool button { font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html, *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .cm-hero-actions, .cm-domain-tool, .site-footer, .cm-support-strip, .skip-link { display: none; }
  body { background: white; color: black; }
  .shell { width: 100%; }
  .cm-section { padding-block: 25px; break-inside: avoid; }
  .cm-display { font-size: 52pt; }
  .cm-faq details > p, .cm-faq details > div { display: block; }
}
