:root {
  color: #223044;
  background: #f5f1e8;
  font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
  --ink: #223044;
  --muted: #6f7883;
  --line: #d8d3c8;
  --paper: #fffdf8;
  --paper-deep: #ece6da;
  --blue: #2c5a73;
  --blue-deep: #183f55;
  --blue-soft: #dceaf0;
  --orange: #d87b39;
  --orange-soft: #f4dfcc;
  --green: #47745f;
  --shadow: 0 18px 45px rgba(42, 49, 54, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 255, 255, 0.7), transparent 28rem),
    linear-gradient(135deg, #f5f1e8 0%, #f1eee7 48%, #e9eff0 100%);
}

button, input, select { font: inherit; }
button, a, select, input { -webkit-tap-highlight-color: transparent; }
button, a { cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible {
  outline: 3px solid rgba(216, 123, 57, 0.42);
  outline-offset: 3px;
}
a { color: inherit; }

.app-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 48px) 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  border-bottom: 1px solid rgba(216, 211, 200, 0.82);
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  color: #fffaf2;
  background: var(--blue-deep);
  border-radius: 10px 10px 10px 3px;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 21px;
  box-shadow: 4px 4px 0 var(--orange);
}
.brand strong, .brand small { display: block; }
.brand strong { color: var(--blue-deep); font-size: 15px; letter-spacing: 0.04em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 11px; letter-spacing: 0.04em; }
.preview-badge {
  padding: 7px 10px;
  color: var(--blue);
  border: 1px solid rgba(44, 90, 115, 0.25);
  border-radius: 999px;
  background: rgba(220, 234, 240, 0.58);
  font-size: 12px;
  white-space: nowrap;
}

main { min-height: 680px; }
.page { padding: clamp(48px, 8vw, 92px) 0 54px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; gap: clamp(34px, 8vw, 98px); }
.eyebrow, .section-kicker { margin: 0 0 16px; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--blue-deep); letter-spacing: -0.035em; }
h1 { max-width: 740px; margin-bottom: 23px; font-family: "STKaiti", "KaiTi", "Noto Serif SC", serif; font-size: clamp(42px, 7vw, 84px); font-weight: 600; line-height: 1.06; }
h1 em { color: var(--blue); font-style: normal; }
.lede { max-width: 590px; margin-bottom: 31px; color: #57626c; font-size: clamp(16px, 2vw, 19px); line-height: 1.8; }

.primary-button, .secondary-button, .text-button { border: 0; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.primary-button { padding: 14px 20px; color: #fffdf8; background: var(--blue-deep); border-radius: 9px 9px 9px 3px; box-shadow: 5px 5px 0 var(--orange); font-weight: 800; }
.primary-button:hover, .primary-button:focus-visible { background: var(--blue); transform: translate(-1px, -1px); box-shadow: 7px 7px 0 var(--orange); }
.secondary-button { padding: 11px 15px; color: var(--blue-deep); background: var(--paper-deep); border: 1px solid var(--line); border-radius: 7px; font-weight: 750; }
.secondary-button:hover, .secondary-button:focus-visible { background: #e3dcd0; }
.secondary-button:disabled { cursor: not-allowed; opacity: 0.55; }
.text-button { padding: 3px 0; color: var(--blue); background: transparent; font-weight: 800; }
.text-button:hover, .text-button:focus-visible { color: var(--orange); }

.hero-proof, .query-card, .result-card, .direction-card, .detail-section, .notice-card, .state-card { background: rgba(255, 253, 248, 0.86); border: 1px solid rgba(216, 211, 200, 0.88); box-shadow: var(--shadow); }
.hero-proof { position: relative; padding: 26px; border-top: 5px solid var(--orange); transform: rotate(1.2deg); }
.hero-proof::before { position: absolute; top: -16px; right: 28px; width: 75px; height: 29px; content: ""; background: rgba(216, 123, 57, 0.24); transform: rotate(4deg); }
.proof-label { margin-bottom: 24px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.proof-title { margin-bottom: 10px; color: var(--blue-deep); font-family: "STKaiti", "KaiTi", serif; font-size: 30px; font-weight: 600; }
.proof-copy { margin-bottom: 22px; color: var(--muted); line-height: 1.75; }
.proof-rule { display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid var(--line); color: var(--blue); font-size: 12px; }
.flow-note { display: flex; gap: 12px; align-items: center; margin-top: 62px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.flow-note strong { color: var(--blue-deep); }

.query-page, .results-page, .detail-page { max-width: 900px; margin: 0 auto; padding: 50px 0 58px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.page-heading h2 { margin-bottom: 10px; font-family: "STKaiti", "KaiTi", "Noto Serif SC", serif; font-size: clamp(34px, 6vw, 58px); font-weight: 600; }
.page-heading p { max-width: 580px; margin-bottom: 0; color: var(--muted); line-height: 1.75; }
.query-card { padding: clamp(22px, 5vw, 42px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--blue-deep); font-size: 13px; font-weight: 800; }
.field small, .form-footnote, .meta-copy { color: var(--muted); font-size: 12px; line-height: 1.65; }
.field-control { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); background: #fffefb; border: 1px solid #c9c5bd; border-radius: 6px; }
.field-control:hover { border-color: var(--blue); }
.form-note { display: flex; gap: 10px; align-items: flex-start; margin: 26px 0 0; padding: 13px 15px; color: #5f665e; background: #f2f0e8; border-left: 3px solid var(--green); font-size: 13px; line-height: 1.7; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; }
.notice-card { margin: 18px 0 24px; padding: 13px 16px; color: var(--blue); background: rgba(220, 234, 240, 0.5); border-color: rgba(44, 90, 115, 0.22); font-size: 13px; line-height: 1.65; }
.filter-bar { display: flex; align-items: center; gap: 14px; margin: 18px 0 24px; padding: 13px 16px; color: var(--blue-deep); background: rgba(255, 253, 248, 0.72); border: 1px solid rgba(216, 211, 200, 0.88); }
.filter-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-tag { border: 1px solid transparent; cursor: pointer; }
.filter-tag.active { color: #fffdf8; background: var(--blue); }

.result-layout { display: grid; gap: 18px; }
.direction-card { display: grid; grid-template-columns: 1fr auto; gap: 12px 25px; padding: 22px 24px; background: var(--blue-deep); border-color: var(--blue-deep); color: #eaf2f4; }
.direction-card[role="button"] { width: 100%; cursor: pointer; text-align: left; }
.direction-card h3 { margin-bottom: 8px; color: #fffdf8; font-size: 25px; }
.direction-card p { margin-bottom: 0; color: #c9d8dd; line-height: 1.7; }
.direction-amount { align-self: center; max-width: 240px; color: #fff0df; font-size: 15px; font-weight: 800; text-align: right; }
.direction-note { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.2); color: #c9d8dd; font-size: 12px; }
.result-card { padding: 24px; }
.card-topline, .detail-topline, .source-row, .status-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.card-topline { margin-bottom: 15px; }
.tag-list, .reason-list, .condition-list { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; list-style: none; }
.tag, .status-pill { display: inline-flex; align-items: center; padding: 5px 8px; color: var(--blue); background: var(--blue-soft); border-radius: 999px; font-size: 11px; font-weight: 800; }
.status-pill.orange { color: #8e4e20; background: var(--orange-soft); }
.result-card h3 { margin-bottom: 10px; font-size: 24px; line-height: 1.3; }
.result-card .benefit { margin-bottom: 18px; color: #4e5c66; line-height: 1.75; }
.match-reasons { padding-top: 15px; border-top: 1px dashed var(--line); }
.match-reasons strong, .condition-heading { display: block; margin-bottom: 9px; color: var(--blue-deep); font-size: 12px; }
.reason-list li { color: var(--green); font-size: 12px; }
.reason-list li::before { margin-right: 5px; content: "✓"; font-weight: 900; }
.benefit-breakdown { display: grid; gap: 9px; margin-top: 17px; }
.benefit-match { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 13px; padding: 12px 13px; background: #f7f4ed; border: 1px solid #e5e0d7; border-left: 3px solid var(--green); }
.benefit-match-excluded { border-left-color: #b36a4c; }
.benefit-match-unknown { border-left-color: var(--orange); }
.benefit-match strong { color: var(--blue-deep); font-size: 13px; }
.benefit-match p { margin: 4px 0 0; color: #66727a; font-size: 12px; line-height: 1.65; }
.benefit-match small { grid-column: 1 / -1; color: var(--muted); font-size: 11px; line-height: 1.55; }
.condition-status.excluded { color: #8b513b; background: #f2dfd8; }
.condition-status.unknown { color: #8e4e20; background: var(--orange-soft); }
.card-action { display: flex; justify-content: flex-end; margin-top: 20px; }
.state-card { padding: 36px 24px; text-align: center; }
.state-card .state-icon { display: grid; width: 45px; height: 45px; margin: 0 auto 15px; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 50%; font-size: 20px; font-weight: 900; }
.state-card h3 { margin-bottom: 10px; font-size: 24px; }
.state-card p { max-width: 520px; margin: 0 auto 20px; color: var(--muted); line-height: 1.75; }
.exclusion-list { max-width: 600px; margin: 0 auto 22px; padding: 0; color: #865338; font-size: 13px; line-height: 1.7; list-style-position: inside; text-align: left; }

.detail-page { max-width: 940px; }
.back-row { margin-bottom: 30px; }
.detail-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: 28px; }
.detail-header h2 { max-width: 760px; margin-bottom: 11px; font-family: "STKaiti", "KaiTi", "Noto Serif SC", serif; font-size: clamp(35px, 6vw, 65px); font-weight: 600; line-height: 1.08; }
.document-number { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.detail-stamp { min-width: 116px; padding: 14px 12px; color: #8e4e20; border: 1px solid rgba(216, 123, 57, 0.45); background: rgba(244, 223, 204, 0.62); font-size: 12px; font-weight: 800; line-height: 1.55; text-align: center; transform: rotate(-2deg); }
.detail-section { margin-bottom: 16px; padding: clamp(21px, 4vw, 32px); }
.detail-section h3 { margin-bottom: 15px; font-size: 23px; }
.interpretation-summary { margin-bottom: 21px; color: #384957; font-size: 17px; line-height: 1.85; }
.highlight-list, .step-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.highlight-list li, .step-list li { position: relative; padding-left: 23px; color: #53616b; line-height: 1.7; }
.highlight-list li::before { position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; content: ""; background: var(--orange); border-radius: 50% 50% 50% 2px; transform: rotate(-15deg); }
.step-list { counter-reset: steps; }
.step-list li { counter-increment: steps; }
.step-list li::before { position: absolute; left: 0; top: 1px; content: counter(steps); color: var(--orange); font-size: 12px; font-weight: 900; }
.source-grid, .fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.fact-grid > div, .source-grid > div { padding: 14px; background: #f7f4ed; border: 1px solid #e5e0d7; }
.fact-grid dt, .source-grid dt { margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 800; }
.fact-grid dd, .source-grid dd { margin: 0; color: var(--blue-deep); font-size: 14px; line-height: 1.6; }
.condition-list { display: grid; gap: 8px; }
.condition-item { display: grid; grid-template-columns: 92px 76px 1fr; gap: 10px; align-items: center; padding: 10px 12px; background: #f7f4ed; border: 1px solid #e5e0d7; color: #53616b; font-size: 12px; }
.condition-status { width: fit-content; padding: 3px 7px; border-radius: 999px; color: #47745f; background: #dfece4; font-size: 11px; font-weight: 800; }
.condition-status.not-applicable { color: #6f7883; background: #e8e7e1; }
.original-toggle { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 17px 18px; color: var(--blue-deep); background: #f7f4ed; border: 1px solid #e5e0d7; }
.original-toggle p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.original-text { max-height: 580px; overflow: auto; margin: 14px 0 0; padding: 20px; color: #314354; background: #f5f1e8; border: 1px solid #e1dcd1; font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif; font-size: 14px; line-height: 2; white-space: pre-wrap; }
.application-state { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 18px; padding: 15px; color: #47745f; background: #eaf2ed; border: 1px solid #cce1d4; }
.application-state strong { display: block; margin-bottom: 4px; color: #2e6049; }
.application-state p { margin-bottom: 0; color: #5b7164; font-size: 13px; line-height: 1.65; }
.application-methods { display: grid; gap: 13px; }
.application-method { padding: 16px; background: #f7f4ed; border: 1px solid #e5e0d7; }
.application-method strong { color: var(--blue-deep); }
.application-method > p { margin: 11px 0 0; color: #5b6570; font-size: 13px; line-height: 1.7; }
.application-method .step-list { margin-top: 13px; }
.source-row { margin-top: 20px; padding-top: 17px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 12px; }
.source-row a { color: var(--blue); font-weight: 800; text-underline-offset: 3px; }
.empty-copy { color: var(--muted); line-height: 1.7; }

.site-footer { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid rgba(216, 211, 200, 0.82); color: #899097; font-size: 11px; line-height: 1.6; }
.loading-line { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.loading-line::before { width: 12px; height: 12px; content: ""; border: 2px solid #c4d8df; border-top-color: var(--blue); border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
  .app-shell { padding-inline: 16px; }
  .hero, .detail-header { grid-template-columns: 1fr; }
  .hero { gap: 34px; }
  .hero-proof { max-width: 480px; margin-left: 6px; }
  .flow-note { margin-top: 39px; }
  .page-heading { display: block; }
  .page-heading .secondary-button { margin-top: 18px; }
  .form-grid, .source-grid, .fact-grid { grid-template-columns: 1fr; }
  .direction-card { grid-template-columns: 1fr; }
  .direction-amount { max-width: none; text-align: left; }
  .form-actions, .site-footer, .source-row, .original-toggle, .filter-bar { align-items: flex-start; flex-direction: column; }
  .condition-item { grid-template-columns: 1fr 86px; }
  .condition-item span:last-child { grid-column: 1 / -1; }
  .benefit-match { grid-template-columns: 1fr; }
  .benefit-match .condition-status { width: fit-content; }
  .detail-stamp { width: fit-content; }
}

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

/* B2-DEV-01：首页按 GATE-05 冻结原型实现。 */
:root {
  --font-scale: 1;
  --b2-ink: #18324b;
  --b2-muted: #667b8e;
  --b2-faint: #8fa1b2;
  --b2-blue: #165db7;
  --b2-blue-deep: #104681;
  --b2-blue-soft: #e8f1ff;
  --b2-line: #d9e5f0;
  --b2-paper: #ffffff;
  --b2-canvas: #f5f8ff;
  --b2-wash: #edf4fc;
}

body { background: #dfe9f5; overflow-x: hidden; }
.app-shell { width: min(100%, 520px); min-height: 100vh; padding: 0 0 24px; background: var(--b2-canvas); box-shadow: 0 18px 55px rgba(32, 77, 122, 0.13); }
.app-header { min-height: 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 14px 18px 12px; position: sticky; top: 0; z-index: 15; background: rgba(245, 248, 255, 0.94); border-bottom: 1px solid rgba(217, 229, 240, 0.82); backdrop-filter: blur(14px); }
.header-leading { min-width: 0; }
.brand-mini { color: var(--b2-blue-deep); font-weight: 800; letter-spacing: -0.03em; font-size: calc(15px * var(--font-scale)); text-decoration: none; }
.header-tools { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.scale-switch { display: inline-flex; flex: 0 0 auto; gap: 3px; padding: 3px; border: 1px solid var(--b2-line); border-radius: 12px; background: var(--b2-paper); white-space: nowrap; }
.scale-switch button { border: 0; border-radius: 8px; min-height: 29px; padding: 0 7px; color: var(--b2-muted); background: transparent; font-size: calc(12px * var(--font-scale)); font-weight: 800; white-space: nowrap; }
.scale-switch button:disabled { cursor: not-allowed; opacity: 0.46; }
.scale-switch button.scale-active { color: var(--b2-blue-deep); background: var(--b2-blue-soft); }
#app { min-height: 0; }
.home-page { padding: 0 14px 40px; }
.home-hero { min-height: 244px; display: flex; align-items: flex-end; padding: 28px 20px 24px; overflow: hidden; position: relative; background: #dbeafe; border-radius: 0 0 26px 26px; }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(239, 248, 255, 0.96) 0%, rgba(239, 248, 255, 0.84) 42%, rgba(239, 248, 255, 0.16) 100%), linear-gradient(0deg, rgba(18, 58, 94, 0.18), transparent 48%); pointer-events: none; }
.hero-copy, .hero-image { position: relative; z-index: 1; }
.hero-copy { width: min(72%, 330px); align-self: flex-end; padding-top: 8px; }
.hero-copy h1 { margin: 7px 0 10px; color: var(--b2-blue-deep); font-size: clamp(calc(30px * var(--font-scale)), calc(8.7vw * var(--font-scale)), calc(44px * var(--font-scale))); line-height: 1.08; letter-spacing: -0.07em; }
.hero-subtitle { margin: 0; max-width: 23em; color: #355872; font-size: calc(15px * var(--font-scale)); line-height: 1.65; }
.hero-image { position: absolute; inset: 0; z-index: 0; min-height: 0; background: url("/assets/home-watercolor.png") center / cover no-repeat; opacity: 0.96; filter: saturate(0.88) contrast(0.96); }
.home-page .eyebrow { margin: 0; color: var(--b2-blue); font-size: calc(12px * var(--font-scale)); font-weight: 800; line-height: 1.4; letter-spacing: 0.12em; text-transform: none; }
.home-page .query-card { margin-top: -12px; padding: 22px 18px 20px; position: relative; z-index: 2; background: var(--b2-paper); border: 1px solid rgba(217, 229, 240, 0.92); border-radius: 24px; box-shadow: 0 12px 34px rgba(43, 87, 132, 0.08); }
.home-page .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-page .section-heading h2 { margin: 5px 0 0; color: var(--b2-ink); font-size: calc(20px * var(--font-scale)); line-height: 1.35; letter-spacing: -0.04em; }
.home-page h1, .formal-page h1 { font-family: inherit; }
.filter-description { margin: 13px 0 0; color: var(--b2-muted); font-size: calc(13px * var(--font-scale)); line-height: 1.7; }
.required-note { color: var(--b2-faint); font-size: calc(12px * var(--font-scale)); white-space: nowrap; }
.home-page .field-group { display: block; margin-top: 20px; }
.home-page .field-group > label { display: block; margin-bottom: 8px; color: var(--b2-ink); font-size: calc(14px * var(--font-scale)); font-weight: 800; }
.home-page .field-group > label > span:first-child { color: #d36d47; }
.home-page .optional-label { color: var(--b2-muted) !important; font-weight: 600; }
.home-page .field-control, .home-page .number-control { width: 100%; border: 1px solid var(--b2-line); border-radius: 14px; background: #fbfdff; }
.home-page .field-control { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 15px; color: var(--b2-faint); text-align: left; }
.home-page .field-control.field-filled { color: var(--b2-blue-deep); background: #f6faff; border-color: #acd0f6; }
.home-page .field-control:disabled { cursor: wait; opacity: 0.72; }
.field-action { flex: 0 0 auto; color: var(--b2-blue); font-size: calc(13px * var(--font-scale)); font-weight: 800; }
.home-page .number-control { min-height: 52px; display: flex; align-items: center; padding: 0 15px; }
.home-page .number-control input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--b2-ink); background: transparent; }
.home-page .number-control input::placeholder { color: var(--b2-faint); }
.home-page .number-control span { color: var(--b2-muted); font-size: calc(14px * var(--font-scale)); }
.field-help, .field-error, .validation-note, .privacy-note, .modal-description { margin: 8px 0 0; color: var(--b2-muted); font-size: calc(12px * var(--font-scale)); line-height: 1.65; }
.field-error { color: #b14e4e; font-weight: 700; }
.home-page .quiet-link, .home-page .close-button, .home-page .text-button { border: 0; padding: 0; color: var(--b2-blue); background: transparent; font-weight: 700; }
.home-page .inline-region-picker, .home-page .inline-conditions-picker { margin-top: 14px; padding: 15px; background: var(--b2-wash); border: 1px solid #d3e4f5; border-radius: 18px; }
.inline-region-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.inline-region-heading h3 { margin: 5px 0 0; color: var(--b2-ink); font-size: calc(17px * var(--font-scale)); line-height: 1.35; }
.home-page .region-breadcrumb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.home-page .region-breadcrumb button { min-height: 42px; padding: 0 6px; border: 0; border-radius: 10px; color: var(--b2-muted); background: #f4f8fd; font-size: calc(11px * var(--font-scale)); text-align: center; }
.home-page .region-breadcrumb button:disabled { cursor: default; opacity: 0.78; }
.home-page .region-breadcrumb .breadcrumb-current { color: var(--b2-blue-deep); background: var(--b2-blue-soft); box-shadow: inset 0 -2px 0 var(--b2-blue); font-weight: 800; }
.home-page .region-breadcrumb .breadcrumb-complete { color: var(--b2-blue-deep); background: #f5f9ff; font-weight: 800; }
.inline-region-level { margin-top: 15px; padding-top: 14px; border-top: 1px solid #d8e6f2; }
.inline-region-level > p { margin: 0 0 9px; color: var(--b2-blue-deep); font-size: calc(12px * var(--font-scale)); font-weight: 800; }
.inline-option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.inline-option { min-height: 42px; padding: 7px 10px; border: 1px solid var(--b2-line); border-radius: 11px; color: var(--b2-ink); background: #fff; font-size: calc(12px * var(--font-scale)); text-align: left; }
.inline-option-selected { color: var(--b2-blue-deep); background: var(--b2-blue-soft); border-color: #acd0f6; font-weight: 800; }
.inline-conditions-picker fieldset { margin: 19px 0 0; padding: 0; border: 0; }
.inline-conditions-picker legend { color: var(--b2-ink); font-size: calc(14px * var(--font-scale)); font-weight: 800; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.checkbox-option { min-height: 48px; display: flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 0 10px; border: 1px solid var(--b2-line); border-radius: 12px; color: var(--b2-muted) !important; background: #fff; font-size: calc(12px * var(--font-scale)) !important; font-weight: 600 !important; }
.checkbox-option input { width: 16px; height: 16px; accent-color: var(--b2-blue); }
.checkbox-option.checkbox-selected { color: var(--b2-blue-deep) !important; background: var(--b2-blue-soft); border-color: #acd0f6; }
.inline-conditions-actions { display: flex; gap: 10px; margin-top: 18px; }
.inline-conditions-actions > * { flex: 1; }
.privacy-note { margin-top: 18px; padding-left: 12px; border-left: 2px solid #bcd8f6; color: #547289; }
.selected-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.selected-tags span { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 9px; border-radius: 999px; color: var(--b2-blue); background: var(--b2-blue-soft); font-size: calc(11px * var(--font-scale)); font-weight: 800; }
.home-page .primary-button, .home-page .secondary-button { min-height: 48px; border-radius: 14px; padding: 0 16px; font-weight: 800; }
.home-page .primary-button { border: 1px solid var(--b2-blue); color: #fff; background: var(--b2-blue); box-shadow: 0 10px 18px rgba(22, 93, 183, 0.2); }
.home-page .primary-button:disabled { color: #9dacbb; background: #e6edf4; border-color: #e6edf4; box-shadow: none; }
.home-page .secondary-button { border: 1px solid #cbdceb; color: var(--b2-blue-deep); background: #fff; }
.query-button { width: 100%; margin-top: 22px; }
.validation-note { text-align: center; color: #9b614d; }
.home-page .disclaimer { margin: 17px 4px 0; color: #71889b; font-size: calc(11px * var(--font-scale)); line-height: 1.7; }
.clear-basics { display: block; margin: 20px auto 0; color: var(--b2-muted); font-size: calc(12px * var(--font-scale)); font-weight: 600; }
.status-page { min-height: 580px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 42px 18px; text-align: center; }
.status-illustration { width: min(100%, 260px); min-height: 150px; display: grid; place-items: center; margin-bottom: 26px; color: #5f84a4; background: #e7f0fa; border-radius: 28px; font-size: calc(14px * var(--font-scale)); font-weight: 800; letter-spacing: 0.08em; }
.status-page h1 { margin-top: 8px; font-size: calc(28px * var(--font-scale)); }
.status-page > p { max-width: 25em; margin-bottom: 23px; color: var(--b2-muted); font-size: calc(12px * var(--font-scale)); line-height: 1.65; }
.status-page .primary-button { width: 100%; min-height: 48px; color: #fff; background: var(--b2-blue); border: 1px solid var(--b2-blue); border-radius: 14px; font-weight: 800; }
.site-footer { margin: 0 18px; padding-top: 18px; color: #71889b; border-top: 1px solid rgba(217, 229, 240, 0.82); font-size: calc(11px * var(--font-scale)); line-height: 1.7; }

@media (max-width: 400px) {
  .app-header { grid-template-columns: 1fr auto; }
  .home-hero { min-height: 225px; }
  .hero-copy h1 { font-size: calc(30px * var(--font-scale)); }
  .hero-subtitle { font-size: calc(13px * var(--font-scale)); }
  .home-page .region-breadcrumb button, .inline-option { min-height: 44px; }
  .home-page .close-button, .home-page .clear-basics { min-height: 44px; padding: 0 8px; }
}

/* B2-DEV-03/04：正式查询阅读链路，按 GATE-05 冻结原型收口。 */
.app-header { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.header-leading { grid-column: 1; display: flex; align-items: center; min-width: 0; }
.header-title { grid-column: 2; color: var(--b2-blue-deep); font-size: calc(14px * var(--font-scale)); font-weight: 800; white-space: nowrap; }
.header-tools { grid-column: 3; justify-self: end; }
.header-back { min-height: 36px; border: 0; padding: 0 4px; color: var(--b2-blue); background: transparent; font-size: calc(13px * var(--font-scale)); font-weight: 800; }

.formal-page { padding: 0 18px 42px; }
.formal-page h1, .formal-page h2, .formal-page h3 { color: var(--b2-ink); letter-spacing: -0.04em; }
.formal-page .page-intro { padding: 26px 4px 18px; }
.formal-page .page-intro h1 { margin: 8px 0 0; font-size: clamp(calc(28px * var(--font-scale)), calc(8vw * var(--font-scale)), calc(40px * var(--font-scale))); line-height: 1.12; }
.formal-page .eyebrow { margin: 0; color: var(--b2-blue); font-size: calc(12px * var(--font-scale)); font-weight: 800; line-height: 1.4; letter-spacing: 0.12em; }
.formal-page .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.formal-page .section-heading h2 { margin: 5px 0 0; font-size: calc(20px * var(--font-scale)); line-height: 1.35; }
.formal-page .compact-heading { align-items: end; }
.formal-page .benefit-section, .formal-page .policy-section { margin-top: 12px; }
.results-intro { padding: 26px 4px 19px; }
.results-intro h1 { margin: 8px 0 10px; font-size: clamp(calc(28px * var(--font-scale)), calc(8vw * var(--font-scale)), calc(40px * var(--font-scale))); line-height: 1.12; }
.result-hint { margin: 0; color: var(--b2-muted); font-size: calc(13px * var(--font-scale)); line-height: 1.7; }
.result-count { color: var(--b2-faint); font-size: calc(11px * var(--font-scale)); }
.benefit-summary-card { margin-top: 12px; padding: 18px; background: var(--b2-paper); border: 1px solid #cfe0f3; border-radius: 24px; box-shadow: 0 12px 30px rgba(43, 87, 132, 0.08); }
.benefit-summary-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.benefit-summary-list li { display: grid; gap: 10px; padding: 16px 14px; background: var(--b2-blue-soft); border: 1px solid #d3e4fa; border-radius: 16px; }
.benefit-treatment { min-width: 0; display: grid; gap: 4px; }
.benefit-treatment-label { color: var(--b2-blue); font-size: calc(11px * var(--font-scale)); font-weight: 800; line-height: 1.35; letter-spacing: 0.08em; }
.benefit-treatment-value { color: var(--b2-blue-deep); font-size: calc(22px * var(--font-scale)); line-height: 1.18; letter-spacing: -0.05em; overflow-wrap: anywhere; }
.benefit-name { margin: 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.72); font-size: calc(14px * var(--font-scale)); line-height: 1.4; }
.policy-list { display: grid; gap: 12px; margin-top: 12px; }
.policy-card { padding: 17px; background: var(--b2-paper); border: 1px solid var(--b2-line); border-radius: 20px; box-shadow: 0 9px 24px rgba(43, 87, 132, 0.06); }
.policy-card-topline, .card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.policy-card-topline, .card-meta { color: var(--b2-faint); font-size: calc(11px * var(--font-scale)); }
.policy-card h3 { margin: 11px 0 7px; font-size: calc(18px * var(--font-scale)); line-height: 1.4; }
.policy-card > p { margin: 0; color: var(--b2-muted); font-size: calc(13px * var(--font-scale)); line-height: 1.7; }
.card-meta { justify-content: flex-start; flex-wrap: wrap; margin-top: 13px; }
.card-link { width: 100%; min-height: 44px; margin-top: 15px; padding: 0 13px; border: 1px solid #bdd6f2; border-radius: 12px; color: var(--b2-blue); background: #f7fbff; font-size: calc(13px * var(--font-scale)); font-weight: 800; text-align: center; }
.card-link:hover, .card-link:focus-visible { background: var(--b2-blue-soft); }
.formal-page > .secondary-button { min-height: 48px; margin-top: 24px; border: 1px solid #cbdceb; border-radius: 14px; color: var(--b2-blue-deep); background: #fff; font-weight: 800; }
.formal-page .state-card { padding: 28px 18px; background: var(--b2-paper); border: 1px solid rgba(217, 229, 240, 0.92); border-radius: 24px; box-shadow: 0 12px 34px rgba(43, 87, 132, 0.08); text-align: center; }
.formal-page .state-card .state-icon { display: grid; width: 45px; height: 45px; margin: 0 auto 15px; place-items: center; color: var(--b2-blue); background: var(--b2-blue-soft); border-radius: 50%; font-size: 20px; font-weight: 900; }
.formal-page .state-card h2 { margin: 0 0 10px; font-size: calc(22px * var(--font-scale)); }
.formal-page .state-card p { margin: 0 auto 20px; color: var(--b2-muted); font-size: calc(13px * var(--font-scale)); line-height: 1.75; }
.formal-page .state-card .primary-button { min-height: 48px; border: 1px solid var(--b2-blue); border-radius: 14px; color: #fff; background: var(--b2-blue); font-weight: 800; }
.status-secondary-action { display: block; margin: 17px auto 0; color: var(--b2-blue); font-size: calc(12px * var(--font-scale)); font-weight: 800; }
.formal-status-page { min-height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: center; align-items: center; padding-bottom: 72px; text-align: center; }
.formal-status-page > h1 { margin: 8px 0 0; font-size: calc(28px * var(--font-scale)); line-height: 1.35; }
.formal-status-page > p:not(.eyebrow) { max-width: 25em; margin: 13px 0 23px; color: var(--b2-muted); font-size: calc(13px * var(--font-scale)); line-height: 1.7; }
.formal-status-page .primary-button { width: 100%; box-shadow: 0 10px 18px rgba(22, 93, 183, 0.2); }

.interpretation-page .detail-intro { padding-bottom: 15px; }
.interpretation-page .plain-language-card, .interpretation-page .original-card, .interpretation-page .next-step-card, .guide-page .guide-missing-card, .guide-page .published-content-card { margin-top: 12px; padding: 19px 17px; background: var(--b2-paper); border: 1px solid rgba(217, 229, 240, 0.92); border-radius: 24px; box-shadow: 0 12px 34px rgba(43, 87, 132, 0.08); }
.plain-language-section + .plain-language-section { margin-top: 20px; padding-top: 19px; border-top: 1px solid var(--b2-line); }
.plain-language-section h2 { margin: 0; font-size: calc(20px * var(--font-scale)); line-height: 1.35; }
.plain-language-section .content-lead, .plain-language-section li { color: var(--b2-muted); font-size: calc(14px * var(--font-scale)); line-height: 1.8; }
.plain-language-section .content-lead { margin: 0; color: var(--b2-ink); }
.plain-language-section ul { display: grid; gap: 10px; margin: 12px 0 0; padding-left: 21px; }
.plain-language-section li { padding-left: 3px; }
.content-source-note { margin: 17px 0 0; padding-top: 14px; border-top: 1px solid var(--b2-line); color: var(--b2-faint); font-size: calc(11px * var(--font-scale)); line-height: 1.65; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.original-heading-row { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.original-heading-row h2 { margin: 5px 0 0; font-size: calc(20px * var(--font-scale)); line-height: 1.35; }
.collapse-note { padding-top: 4px; color: var(--b2-faint); font-size: calc(11px * var(--font-scale)); }
.original-collapsed { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 15px 0 2px; border: 0; border-top: 1px solid var(--b2-line); color: var(--b2-blue-deep); background: transparent; font-size: calc(13px * var(--font-scale)); font-weight: 800; text-align: left; }
.original-collapsed span:last-child { color: var(--b2-faint); font-size: calc(11px * var(--font-scale)); font-weight: 600; }
.missing-state { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--b2-line); }
.missing-state h3 { margin: 0; color: var(--b2-ink); font-size: calc(16px * var(--font-scale)); line-height: 1.55; }
.missing-state p { margin: 7px 0 14px; color: var(--b2-muted); font-size: calc(12px * var(--font-scale)); line-height: 1.65; }
.original-document { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--b2-line); }
.document-label { margin-bottom: 13px; color: var(--b2-blue); font-size: calc(11px * var(--font-scale)); font-weight: 800; }
.original-pages { display: grid; gap: 12px; }
.original-pages figure { margin: 0; }
.original-pages img { display: block; width: 100%; height: auto; border: 1px solid var(--b2-line); border-radius: 12px; }
.original-pages figcaption { margin-top: 6px; color: var(--b2-faint); font-size: calc(11px * var(--font-scale)); text-align: center; }
.original-document .text-button { min-height: 44px; margin-top: 18px; padding: 0 8px; color: var(--b2-blue); font-weight: 800; }
.next-step-card { display: grid; gap: 0; background: var(--b2-blue-deep) !important; border-color: var(--b2-blue-deep) !important; }
.next-step-card h2, .next-step-card p, .next-step-card .eyebrow { color: #fff; }
.next-step-card h2 { margin: 7px 0 0; font-size: calc(20px * var(--font-scale)); }
.next-step-card p { margin: 9px 0 0; color: #c9ddf2; font-size: calc(13px * var(--font-scale)); line-height: 1.7; }
.next-step-card .primary-button { width: 100%; min-height: 48px; margin-top: 17px; border-color: #fff; border-radius: 14px; color: var(--b2-blue-deep); background: #fff; box-shadow: none; font-weight: 800; }

.guide-page .guide-hero { min-height: 228px; display: flex; align-items: flex-end; overflow: hidden; position: relative; margin: -4px -18px 14px; padding: 22px 20px; background: #f7efe0; }
.guide-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 250, 240, 0.96) 0%, rgba(255, 250, 240, 0.78) 48%, rgba(255, 250, 240, 0.12) 100%), linear-gradient(0deg, rgba(77, 56, 26, 0.14), transparent 56%); pointer-events: none; }
.guide-hero-image { position: absolute; inset: 0; z-index: 0; background: url("/assets/home-watercolor.png") center 61% / cover no-repeat; opacity: 0.96; }
.guide-hero-copy { position: relative; z-index: 1; width: min(72%, 330px); }
.page-badge { display: inline-flex; min-height: 25px; align-items: center; padding: 3px 9px; border-radius: 999px; color: var(--b2-blue); background: var(--b2-blue-soft); font-size: calc(11px * var(--font-scale)); font-weight: 800; }
.guide-hero-copy h1 { margin: 7px 0 5px; font-size: calc(30px * var(--font-scale)); line-height: 1.15; }
.guide-hero-copy > p:last-child { margin: 0; color: #597086; font-size: calc(14px * var(--font-scale)); line-height: 1.65; }
.guide-missing-card { padding: 22px 17px !important; text-align: center; }
.guide-missing-card h2 { margin: 0; font-size: calc(18px * var(--font-scale)); line-height: 1.6; }
.published-content-header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.published-content-header h2 { margin: 5px 0 0; color: var(--b2-ink); font-size: calc(20px * var(--font-scale)); line-height: 1.35; }
.content-lead { margin: 18px 0 0; color: var(--b2-ink); font-size: calc(14px * var(--font-scale)); line-height: 1.8; }
.published-media-placeholder { margin-top: 17px; padding: 15px; border: 1px dashed #a9c8e8; border-radius: 16px; color: var(--b2-blue-deep); background: #f7fbff; }
.published-media-placeholder span { display: block; font-size: calc(13px * var(--font-scale)); font-weight: 800; }
.published-media-placeholder p { margin: 7px 0 0; color: var(--b2-muted); font-size: calc(12px * var(--font-scale)); line-height: 1.65; }
.published-content-blocks { display: grid; gap: 17px; margin-top: 19px; }
.published-content-block { padding-top: 17px; border-top: 1px solid var(--b2-line); }
.content-block-label { display: inline-flex; min-height: 24px; align-items: center; padding: 3px 9px; border-radius: 999px; color: var(--b2-blue); background: var(--b2-blue-soft); font-size: calc(11px * var(--font-scale)); font-weight: 800; }
.published-content-block h3 { margin: 9px 0 0; font-size: calc(16px * var(--font-scale)); line-height: 1.4; }
.published-content-block > p { margin: 10px 0 0; color: var(--b2-muted); font-size: calc(12px * var(--font-scale)); line-height: 1.7; }
.content-block-facts { display: grid; gap: 7px; margin: 12px 0 0; padding: 10px 12px; color: var(--b2-muted); background: #f5f8ff; border-radius: 12px; font-size: calc(11px * var(--font-scale)); line-height: 1.55; }
.content-block-facts div { display: grid; grid-template-columns: 70px 1fr; gap: 8px; }
.content-block-facts dt { color: var(--b2-faint); }
.content-block-facts dd { margin: 0; }
.content-block-items { display: grid; gap: 8px; margin: 12px 0 0; padding: 0 0 0 20px; color: var(--b2-muted); font-size: calc(12px * var(--font-scale)); line-height: 1.65; }
.content-block-items li { padding-left: 3px; }
.formal-page .empty-copy { color: var(--b2-muted); line-height: 1.7; }

.content-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--b2-line); }
.content-actions .secondary-button { flex: 1 1 150px; min-height: 44px; margin: 0; border: 1px solid #cbdceb; border-radius: 14px; color: var(--b2-blue-deep); background: #fff; font-weight: 800; }
.content-action-note { margin: 10px 4px 0; color: var(--b2-muted); font-size: calc(12px * var(--font-scale)); line-height: 1.65; }
.feedback-success { color: #47745f; font-weight: 800; }
.feedback-panel { margin-top: 12px; padding: 18px 17px; background: var(--b2-paper); border: 1px solid #cfe0f3; border-radius: 24px; box-shadow: 0 12px 30px rgba(43, 87, 132, 0.08); }
.feedback-panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.feedback-panel-header h2 { margin: 5px 0 0; font-size: calc(20px * var(--font-scale)); line-height: 1.35; }
.feedback-context { margin: 13px 0 0; color: var(--b2-faint); font-size: calc(11px * var(--font-scale)); line-height: 1.6; }
.feedback-type-list { display: grid; gap: 8px; margin: 17px 0 0; padding: 0; border: 0; }
.feedback-type-list legend { margin-bottom: 8px; color: var(--b2-ink); font-size: calc(13px * var(--font-scale)); font-weight: 800; }
.feedback-type-option { min-height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid var(--b2-line); border-radius: 12px; color: var(--b2-muted); background: #fff; font-size: calc(13px * var(--font-scale)); }
.feedback-type-option input { width: 17px; height: 17px; accent-color: var(--b2-blue); }
.feedback-message-label { display: block; margin-top: 17px; color: var(--b2-ink); font-size: calc(13px * var(--font-scale)); font-weight: 800; }
.feedback-panel textarea { width: 100%; min-height: 92px; box-sizing: border-box; margin-top: 8px; padding: 11px 12px; border: 1px solid var(--b2-line); border-radius: 12px; color: var(--b2-ink); background: #fff; font: inherit; line-height: 1.6; resize: vertical; }
.feedback-panel textarea:focus, .feedback-type-option:has(input:focus-visible) { outline: 3px solid rgba(71, 116, 95, 0.2); outline-offset: 2px; }
.feedback-error { margin: 11px 0 0; color: #b14e4e; font-size: calc(12px * var(--font-scale)); font-weight: 800; line-height: 1.6; }
.feedback-form-actions { display: flex; gap: 10px; margin-top: 15px; }
.feedback-form-actions > * { flex: 1; min-height: 44px; border-radius: 14px; font-weight: 800; }
.feedback-form-actions .secondary-button { border: 1px solid #cbdceb; color: var(--b2-blue-deep); background: #fff; }
.feedback-form-actions .primary-button { border: 1px solid var(--b2-blue); color: #fff; background: var(--b2-blue); }
.recommendation-card { margin-top: 16px; padding: 19px 17px; background: #eef5f0; border: 1px solid #c7ddce; border-radius: 24px; box-shadow: 0 12px 30px rgba(71, 116, 95, 0.08); }
.recommendation-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.recommendation-badge { display: inline-flex; min-height: 24px; align-items: center; padding: 3px 9px; border-radius: 999px; color: #47745f; background: #dcefe3; font-size: calc(11px * var(--font-scale)); font-weight: 800; }
.recommendation-card h2 { margin: 8px 0 0; font-size: calc(21px * var(--font-scale)); line-height: 1.35; }
.recommendation-header > .recommendation-unavailable { flex: 0 0 auto; padding-top: 4px; color: #9b614d; font-size: calc(11px * var(--font-scale)); font-weight: 800; }
.recommendation-card > p { margin: 13px 0 0; color: #526f5d; font-size: calc(13px * var(--font-scale)); line-height: 1.7; }
.recommendation-note { padding-top: 12px; border-top: 1px solid #d3e5d8; }

@media (max-width: 400px) {
  .app-header { grid-template-columns: 1fr auto; }
  .header-title { display: none; }
  .header-tools { grid-column: 2; }
  .header-back { min-height: 44px; padding: 0 8px; }
  .benefit-treatment-value { font-size: calc(20px * var(--font-scale)); }
  .original-collapsed { min-height: 44px; }
  .guide-hero-copy { width: 78%; }
  .content-actions { flex-direction: column; }
  .content-actions .secondary-button { width: 100%; }
  .feedback-form-actions { flex-direction: column; }
}

/* B4-DEV-04：广告只在已配置真实平台时出现，失败由适配层整块移除。 */
.ad-slot { margin-top: 16px; }
.ad-slot-frame { position: relative; display: flex; min-height: 72px; align-items: center; justify-content: center; gap: 9px; padding: 12px 14px; border: 1px solid #d7e1e9; border-radius: 16px; color: #71889b; background: #f8fafb; }
.ad-slot-label { display: inline-flex; min-height: 21px; align-items: center; padding: 2px 7px; border: 1px solid #c9d7e2; border-radius: 999px; color: #667e91; background: #fff; font-size: calc(10px * var(--font-scale)); font-weight: 800; letter-spacing: 0.08em; }
.ad-slot-loading { color: #71889b; font-size: calc(12px * var(--font-scale)); line-height: 1.5; }
.ad-slot[data-ad-status="filled"] .ad-slot-frame { align-items: stretch; justify-content: stretch; padding: 0; border-color: #d7e1e9; background: #fff; }
.ad-slot[data-ad-status="filled"] .ad-slot-label { position: absolute; z-index: 1; margin: 8px; }
.ad-slot a, .ad-slot button { position: relative; z-index: 0; }
