/* Shared static-page chrome and legal-page layout */
:root{--gc-bg:#0d1117;--gc-surface:#161b22;--gc-surface-hover:#1c2333;--gc-border:#30363d;--gc-text:#e6edf3;--gc-text-muted:#adb6c0;--gc-text-dim:#9ba4ae;--gc-primary:#4f8ff7;--gc-primary-soft:rgba(79,143,247,0.12);--gc-primary-text:#fff;--gc-accent:#58a6ff;--gc-success:#3fb950;--gc-warning:#d29922;--gc-error:#f85149;--gc-input-bg:#0d1117;--gc-input-border:#30363d;--gc-radius:8px;--gc-radius-lg:12px;--gc-font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
[data-theme="light"]{--gc-bg:#f6f8fa;--gc-surface:#fff;--gc-surface-hover:#f3f4f6;--gc-border:#d1d5db;--gc-text:#1f2937;--gc-text-muted:#4b5563;--gc-text-dim:#5b6472;--gc-primary:#2563eb;--gc-primary-soft:rgba(37,99,235,0.08);--gc-input-bg:#fff;--gc-input-border:#d1d5db}
[data-theme="colourblind"]{--gc-bg:#faf6f1;--gc-surface:#fff;--gc-border:#d4c8b8;--gc-text:#1a1a1a;--gc-text-muted:#4a433a;--gc-text-dim:#5c5347;--gc-primary:#0047ab;--gc-primary-soft:rgba(0,71,171,0.10);--gc-accent:#0047ab}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-family:var(--gc-font);font-size:15px;line-height:1.6;color:var(--gc-text);background:var(--gc-bg)}
body{min-height:100vh}
a{color:var(--gc-accent);text-decoration:none}
a:hover{text-decoration:underline}
h1{font-size:1.7rem;font-weight:800;letter-spacing:-.03em;margin-bottom:6px;color:var(--gc-text)}
h2{font-size:1.05rem;font-weight:700;margin:28px 0 8px;color:var(--gc-text);padding-top:4px}
h3{font-size:.95rem;font-weight:600;margin:16px 0 6px;color:var(--gc-text)}
p{color:var(--gc-text-muted);font-size:.9rem;line-height:1.7;margin-bottom:10px}
ul,ol{color:var(--gc-text-muted);font-size:.9rem;line-height:1.7;padding-left:20px;margin-bottom:10px}
li{margin-bottom:4px}
strong{color:var(--gc-text);font-weight:600}
hr{border:none;border-top:1px solid var(--gc-border);margin:24px 0}
/* Chrome */
.gc-topbar{position:sticky;top:0;z-index:200;background:var(--gc-bg);border-bottom:1px solid var(--gc-border);box-shadow:0 1px 12px rgba(0,0,0,.22)}
.gc-topbar-inner{max-width:780px;margin:0 auto;padding:0 16px;height:52px;display:flex;align-items:center}
.gc-logo-link{display:flex;align-items:center;gap:9px;text-decoration:none;flex-shrink:0;margin-right:12px}
.gc-logo-mark{width:26px;height:26px}
.gc-logo-text{font-size:15px;font-weight:800;letter-spacing:-.025em;color:var(--gc-text);white-space:nowrap}
.gc-topnav{display:flex;align-items:center;gap:2px;flex:1;overflow:hidden}
.gc-tnav-link{font-size:12px;font-weight:500;color:var(--gc-text-muted);text-decoration:none;padding:8px 10px;border-radius:20px;transition:all .15s;white-space:nowrap;min-height:32px;display:inline-flex;align-items:center}
.gc-tnav-link:hover{color:var(--gc-text);background:var(--gc-surface-hover);text-decoration:none}
.gc-nav-toggle{display:none;background:transparent;border:1px solid var(--gc-border);border-radius:8px;color:var(--gc-text);padding:0;width:44px;height:44px;min-width:44px;min-height:44px;align-items:center;justify-content:center;cursor:pointer;margin-right:8px}
.gc-nav-toggle:hover{background:var(--gc-surface-hover);border-color:var(--gc-text-muted)}
.gc-nav-toggle:focus-visible{outline:2px solid var(--gc-primary);outline-offset:2px}
.gc-nav-toggle svg{display:block}
.gc-topbar-right{display:flex;align-items:center;gap:6px;flex-shrink:0;margin-left:auto}
/* Region */
.gc-region-wrap,.gc-theme-wrap{position:relative}
.gc-region-btn,.gc-theme-btn-top{display:flex;align-items:center;gap:5px;background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:20px;padding:4px 10px;font-size:12px;color:var(--gc-text-muted);cursor:pointer;transition:all .15s;white-space:nowrap}
.gc-region-btn:hover,.gc-theme-btn-top:hover{border-color:var(--gc-text-muted);color:var(--gc-text)}
.gc-region-flag{font-size:14px;line-height:1}
.gc-region-caret,.gc-theme-caret{font-size:9px;opacity:.5}
.gc-theme-btn-top svg{width:13px;height:13px}
/* Dropdowns */
.gc-region-dropdown,.gc-theme-dropdown{position:absolute;top:calc(100% + 6px);right:0;background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:var(--gc-radius-lg);box-shadow:0 8px 28px rgba(0,0,0,.32);min-width:210px;overflow:hidden;opacity:0;pointer-events:none;transform:translateY(-6px);transition:opacity .18s,transform .18s;z-index:400}
.gc-theme-dropdown{min-width:170px}
.gc-region-wrap.open .gc-region-dropdown,.gc-theme-wrap.open .gc-theme-dropdown{opacity:1;pointer-events:all;transform:translateY(0)}
.gc-region-option,.gc-theme-option{display:flex;align-items:center;gap:10px;padding:10px 14px;cursor:pointer;font-size:13px;color:var(--gc-text-muted);transition:background .1s;border:none;background:transparent;width:100%;text-align:left}
.gc-region-option:hover,.gc-theme-option:hover{background:var(--gc-surface-hover);color:var(--gc-text)}
.gc-region-option.active,.gc-theme-option.active{color:var(--gc-primary);background:var(--gc-primary-soft)}
.gc-region-option-flag{font-size:18px;line-height:1;flex-shrink:0}
.gc-region-option-info{flex:1;min-width:0}
.gc-region-option-name{font-weight:600;font-size:13px;color:inherit}
.gc-region-option-sub{font-size:11px;color:var(--gc-text-dim);margin-top:1px}
.gc-region-option-badge{font-size:10px;padding:2px 7px;border-radius:10px;background:var(--gc-primary-soft);color:var(--gc-primary);font-weight:700;flex-shrink:0}
.gc-region-detect-bar{padding:12px 14px;background:var(--gc-primary-soft);border-bottom:1px solid var(--gc-border);color:var(--gc-primary);display:flex;align-items:flex-start;gap:10px}
.gc-region-detect-icon{display:flex;align-items:center;justify-content:center;flex:0 0 auto;padding-top:2px}
.gc-region-detect-icon svg{width:13px;height:13px;display:block}
.gc-region-detect-content{display:flex;flex:1 1 auto;flex-direction:column;gap:2px;min-width:0}
.gc-region-detect-label{font-size:11px;font-weight:700;line-height:1.2}
.gc-region-detect-copy{font-size:11px;line-height:1.35}
.gc-region-detect-actions{display:flex;align-items:center;gap:8px;margin-left:auto;flex:0 0 auto;padding-top:1px}
.gc-region-detect-confirm{font-size:10px;padding:3px 10px;background:var(--gc-primary);color:var(--gc-primary-text);border:none;border-radius:999px;cursor:pointer;font-weight:600}
.gc-region-detect-dismiss{font-size:10px;padding:0;background:transparent;color:var(--gc-primary);border:none;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.gc-theme-option svg{width:15px;height:15px;flex-shrink:0;opacity:.8}
.gc-theme-option.active svg{opacity:1}
.gc-theme-divider{height:1px;background:var(--gc-border);margin:3px 0}
/* Ad zones */
.gc-ad-top{background:var(--gc-surface);border-bottom:1px solid var(--gc-border);min-height:50px;display:flex;align-items:center;justify-content:center;padding:4px 0}
.gc-ad-bottom{background:var(--gc-surface);border-top:1px solid var(--gc-border);min-height:50px;display:flex;align-items:center;justify-content:center;padding:4px 0;margin-top:24px}
/* Footer */
.gc-footer{background:var(--gc-surface);border-top:1px solid var(--gc-border)}
.gc-footer-inner{max-width:780px;margin:0 auto;padding:28px 16px 20px}
.gc-footer-trust{display:flex;gap:12px;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid var(--gc-border);margin-bottom:20px;justify-content:center}
.gc-trust-pill{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;color:var(--gc-text-muted);background:var(--gc-input-bg);border:1px solid var(--gc-border);border-radius:20px;padding:5px 11px}
.gc-trust-pill svg{width:13px;height:13px;color:var(--gc-success);flex-shrink:0}
.gc-footer-sitemap{display:grid;grid-template-columns:repeat(4,1fr);gap:16px 20px;margin-bottom:20px}
@media(max-width:640px){.gc-footer-sitemap{grid-template-columns:repeat(2,1fr)}}
.gc-fcol-head{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--gc-text-muted);margin-bottom:6px}
.gc-fcol a{display:block;font-size:12px;color:var(--gc-text-muted);text-decoration:none;padding:6px 0;line-height:1.5;min-height:24px;transition:color .12s}
.gc-fcol a:hover{color:var(--gc-primary)}
.gc-footer-about{font-size:11px;color:var(--gc-text-dim);line-height:1.65;padding:14px 0;border-top:1px solid var(--gc-border);border-bottom:1px solid var(--gc-border);margin-bottom:14px}
.gc-footer-about strong{color:var(--gc-text-muted)}
.gc-footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.gc-footer-copy{font-size:11px;color:var(--gc-text-dim)}
.gc-footer-legal{display:flex;gap:14px;flex-wrap:wrap}
.gc-footer-legal a{font-size:11px;color:var(--gc-text-dim);text-decoration:none;transition:color .12s}
.gc-footer-legal a:hover{color:var(--gc-text-muted)}
/* Static content layout */
.gc-static-wrap{max-width:780px;margin:0 auto;padding:32px 16px 64px}
.gc-static-header{margin-bottom:24px}
.gc-static-header h1{margin-bottom:4px}
.gc-static-meta{font-size:12px;color:var(--gc-text-dim);margin-bottom:0}
.gc-toc{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:var(--gc-radius-lg);padding:16px 20px;margin-bottom:28px}
.gc-toc-title{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--gc-text-dim);margin-bottom:10px}
.gc-toc ol{margin:0;padding-left:18px}
.gc-toc li{font-size:13px;color:var(--gc-text-muted);padding:2px 0}
.gc-toc a{color:var(--gc-accent)}
.gc-content-section{margin-bottom:0}
.gc-content-section h2{border-top:1px solid var(--gc-border);padding-top:24px;margin-top:24px}
.gc-content-section h2:first-child{border-top:none;padding-top:0;margin-top:0}
/* Sitemap specific */
.gc-sitemap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:20px}
@media(max-width:640px){.gc-sitemap-grid{grid-template-columns:1fr 1fr}}
.gc-sitemap-group h3{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--gc-text-muted);margin-bottom:8px;border-bottom:1px solid var(--gc-border);padding-bottom:6px}
.gc-sitemap-group a{display:block;font-size:13px;color:var(--gc-text-muted);text-decoration:none;padding:3px 0;transition:color .12s}
.gc-sitemap-group a:hover{color:var(--gc-primary)}
/* Contact form */
.gc-form-group{margin-bottom:14px}
.gc-form-label{display:block;font-size:13px;font-weight:500;color:var(--gc-text-muted);margin-bottom:5px}
.gc-form-input,.gc-form-textarea,.gc-form-select{width:100%;background:var(--gc-input-bg);border:1px solid var(--gc-input-border);border-radius:var(--gc-radius);padding:10px 12px;font-size:14px;color:var(--gc-text);font-family:var(--gc-font);transition:border-color .15s}
.gc-form-input:focus-visible,.gc-form-textarea:focus-visible,.gc-form-select:focus-visible{outline:none;border-color:var(--gc-primary);box-shadow:0 0 0 3px var(--gc-primary-soft)}
.gc-form-textarea{min-height:120px;resize:vertical}
.gc-submit-btn{background:var(--gc-primary);color:var(--gc-primary-text);border:none;border-radius:var(--gc-radius);padding:12px 24px;font-size:14px;font-weight:600;cursor:pointer;transition:opacity .15s}
.gc-submit-btn:hover{opacity:.88}
.gc-info-card{background:var(--gc-surface);border:1px solid var(--gc-border);border-radius:var(--gc-radius-lg);padding:18px;margin-bottom:16px}
.gc-info-card h3{margin-top:0}
/* Mobile */
@media(max-width:640px){
  .gc-nav-toggle{display:inline-flex}
  .gc-topnav{display:none;position:absolute;top:52px;left:0;right:0;flex-direction:column;background:var(--gc-bg);border-bottom:1px solid var(--gc-border);box-shadow:0 8px 24px rgba(0,0,0,.35);padding:8px;gap:4px;z-index:199;overflow-y:auto;max-height:calc(100vh - 52px)}
  .gc-topbar[data-nav="open"] .gc-topnav{display:flex}
  .gc-topnav .gc-tnav-link{font-size:14px;padding:12px 16px;border-radius:8px;width:100%;min-height:44px}
  .gc-region-name{display:none}
  .gc-static-wrap{padding:20px 14px 48px}
  .gc-region-detect-bar{align-items:flex-start;flex-wrap:wrap}
  .gc-region-detect-actions{width:100%;margin-left:23px;padding-top:0}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:0.01ms!important;animation-iteration-count:1!important;transition-duration:0.01ms!important}}
@media(prefers-contrast:more){:root,[data-theme="dark"]{--gc-text:#fff;--gc-text-muted:#d0d0d0;--gc-text-dim:#b0b0b0;--gc-border:#666}[data-theme="light"]{--gc-text:#000;--gc-text-muted:#333;--gc-text-dim:#444;--gc-border:#555}}
@media print{.gc-topbar,.gc-footer,.gc-ad-top,.gc-ad-bottom{display:none!important}}

/* ── GC-ADS v1.1 ── */
/**
 * GlobalCalc Ad Infrastructure — gc-ads.css v1.1
 * ================================================
 * FIXES in v1.1:
 * · Removed double-padding: gc-page-with-rail no longer has padding:0 16px
 *   (the existing .gc-page already has padding:0 16px 60px — adding again caused
 *   32px horizontal padding instead of 16px, squeezing the content area)
 * · gc-page inside the rail layout: removed margin:0 auto override —
 *   it's inside a grid cell, centering is handled by the grid
 * · Rail sticky: added explicit height:100% on the grid row and
 *   align-self:start to ensure sticky works correctly in CSS Grid
 * · gc-ad-top: full-width breakout — outside the grid so it spans 100vw correctly
 * · gc-ad-bottom: same full-width treatment
 * · Mobile: gc-page padding preserved correctly on single-column layout
 */

/* ── PAGE LAYOUT WITH RAIL ─────────────────────────────────────── */
.gc-page-with-rail {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0 28px;
  max-width: 1080px;
  margin: 0 auto;
  /* NO padding here — .gc-page already has padding:0 16px 60px */
  align-items: start;
}

/* Main content column */
.gc-page-with-rail .gc-main-col {
  min-width: 0;
  /* No max-width needed — grid track handles width */
}

/* Override .gc-page centering inside the grid — not needed, grid handles it */
.gc-page-with-rail .gc-main-col .gc-page {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

/* Rail column — sticky requires align-self:start on the grid item */
.gc-page-with-rail .gc-rail-col {
  position: sticky;
  top: 60px;               /* 52px topbar + 8px breathing room */
  align-self: start;       /* CRITICAL for sticky in CSS Grid */
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* max-height ensures rail doesn't overflow viewport on short pages */
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  scrollbar-width: none;   /* Hide scrollbar on rail */
}
.gc-page-with-rail .gc-rail-col::-webkit-scrollbar { display: none; }

/* Collapse rail on mobile / tablet */
@media (max-width: 900px) {
  .gc-page-with-rail {
    grid-template-columns: 1fr;
    /* Restore page horizontal padding on mobile when rail is gone */
    padding: 0;
  }
  .gc-rail-col {
    display: none !important;
  }
  /* Restore .gc-page centering when no rail */
  .gc-page-with-rail .gc-main-col .gc-page {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── AD SLOT BASE ─────────────────────────────────────────────── */
[id^="gc-ad-"] {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 0;
  transition: opacity 0.3s ease;
}

/* "Advertisement" label above every slot */
[id^="gc-ad-"]::before {
  content: 'Advertisement';
  display: block;
  font-family: var(--gc-font, -apple-system, sans-serif);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gc-text-dim, #6e7681);
  text-align: center;
  width: 100%;
  padding: 3px 0 2px;
  line-height: 1;
  flex-shrink: 0;
}

/* Loading shimmer */
[id^="gc-ad-"][data-state="loading"]::after {
  content: '';
  display: block;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    var(--gc-surface, #161b22) 25%,
    var(--gc-surface-hover, #1c2333) 50%,
    var(--gc-surface, #161b22) 75%
  );
  background-size: 400% 100%;
  animation: gc-shimmer 1.6s ease infinite;
}

@keyframes gc-shimmer {
  0%   { background-position: 100% 50% }
  100% { background-position: 0% 50% }
}

[id^="gc-ad-"][data-state="filled"] > iframe {
  border: none;
  display: block;
}

[id^="gc-ad-"].gc-ad-empty::before {
  display: none;
}

/* ── SLOT SIZES ───────────────────────────────────────────────── */

/* TOP — full-width leaderboard, OUTSIDE the grid, spans full content width */
#gc-ad-top {
  background: var(--gc-surface, #161b22);
  border-bottom: 1px solid var(--gc-border, #30363d);
  padding: 6px 0;
  /* Full bleed — sits between header and the grid wrapper */
}
#gc-ad-top[data-state="loading"]::after {
  width: min(728px, 100%);
  height: 90px;
}
@media (max-width: 767px) {
  #gc-ad-top[data-state="loading"]::after {
    width: min(320px, 100%);
    height: 50px;
  }
}

/* MID — between reset button and SEO content cards */
#gc-ad-mid {
  margin: 20px 0;
  background: transparent;
}
#gc-ad-mid[data-state="loading"]::after {
  width: min(728px, 100%);
  height: 90px;
}
@media (max-width: 767px) {
  #gc-ad-mid[data-state="loading"]::after {
    width: min(300px, 100%);
    height: 250px;
  }
}

/* RESULT — in-flow, reveals after first calculation */
#gc-ad-result {
  margin: 16px 0;
  background: transparent;
}
#gc-ad-result[data-state="loading"]::after {
  width: 300px;
  height: 250px;
}

/* RAIL — sticky right column, desktop only */
#gc-ad-rail {
  background: transparent;
  width: 300px;
}
#gc-ad-rail[data-state="loading"]::after {
  width: 300px;
  height: 600px;
}

/* BOTTOM — above footer, full-width like TOP */
#gc-ad-bottom {
  background: var(--gc-surface, #161b22);
  border-top: 1px solid var(--gc-border, #30363d);
  margin-top: 24px;
  padding: 6px 0;
}
#gc-ad-bottom[data-state="loading"]::after {
  width: min(728px, 100%);
  height: 90px;
}
@media (max-width: 767px) {
  #gc-ad-bottom[data-state="loading"]::after {
    width: min(300px, 100%);
    height: 250px;
  }
}

/* ── HOUSE ADS ─────────────────────────────────────────────────── */

.gc-house-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  border-radius: 6px;
  padding: 12px 20px;
  background: var(--ha-bg, rgba(79,143,247,0.08));
  border: 1px solid var(--ha-border, rgba(79,143,247,0.2));
  transition: opacity 0.15s, transform 0.15s;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.gc-house-ad:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* Leaderboard layout (top/mid/bottom slots on desktop) */
.gc-house-ad:not(.gc-house-ad--rail):not(.gc-house-ad--mrec) {
  flex-direction: row;
  gap: 12px;
  padding: 0 20px;
  height: 90px;
  max-width: 728px;
  justify-content: flex-start;
}
.gc-house-ad:not(.gc-house-ad--rail):not(.gc-house-ad--mrec) .gc-house-ad__sub,
.gc-house-ad:not(.gc-house-ad--rail):not(.gc-house-ad--mrec) .gc-house-ad__cta,
.gc-house-ad:not(.gc-house-ad--rail):not(.gc-house-ad--mrec) .gc-house-ad__eyebrow {
  display: none;
}
.gc-house-ad:not(.gc-house-ad--rail):not(.gc-house-ad--mrec) .gc-house-ad__label {
  font-size: 14px;
  font-weight: 600;
}

/* MREC (300×250) */
.gc-house-ad--mrec {
  width: 300px;
  height: 250px;
}

/* Rail (300×600) */
.gc-house-ad--rail {
  width: 300px;
  height: 600px;
}

.gc-house-ad__eyebrow {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gc-text-dim, #6e7681);
  width: 100%;
  text-align: center;
  margin-bottom: 4px;
}
.gc-house-ad__icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.gc-house-ad--mrec .gc-house-ad__icon,
.gc-house-ad--rail .gc-house-ad__icon {
  font-size: 36px;
  margin-bottom: 8px;
}
.gc-house-ad__label {
  font-family: var(--gc-font, sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--gc-text, #e6edf3);
  line-height: 1.3;
}
.gc-house-ad--mrec .gc-house-ad__label,
.gc-house-ad--rail .gc-house-ad__label {
  font-size: 15px;
  margin-bottom: 4px;
}
.gc-house-ad__sub {
  font-size: 11.5px;
  color: var(--gc-text-muted, #8b949e);
  line-height: 1.4;
  max-width: 220px;
}
.gc-house-ad__cta {
  font-size: 11px;
  color: var(--gc-primary, #4f8ff7);
  font-weight: 600;
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* Mobile house ads */
@media (max-width: 767px) {
  .gc-house-ad:not(.gc-house-ad--rail):not(.gc-house-ad--mrec) {
    max-width: 100%;
    height: 50px;
    padding: 0 12px;
    gap: 8px;
  }
  .gc-house-ad:not(.gc-house-ad--rail):not(.gc-house-ad--mrec) .gc-house-ad__icon {
    font-size: 20px;
  }
  .gc-house-ad:not(.gc-house-ad--rail):not(.gc-house-ad--mrec) .gc-house-ad__label {
    font-size: 12px;
  }
}

/* ── RESULT SLOT ANIMATION ────────────────────────────────────── */
#gc-ad-result {
  animation: gc-slot-reveal 0.4s ease forwards;
}
@keyframes gc-slot-reveal {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PRINT ─────────────────────────────────────────────────────── */
@media print {
  [id^="gc-ad-"],
  .gc-rail-col,
  .gc-house-ad {
    display: none !important;
  }
  .gc-page-with-rail {
    grid-template-columns: 1fr;
  }
}

/* ── LIGHT THEME ───────────────────────────────────────────────── */
[data-theme="light"] #gc-ad-top,
[data-theme="light"] #gc-ad-bottom {
  background: var(--gc-surface, #fff);
}
[data-theme="light"] .gc-house-ad {
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
:root{--display:'Syne',sans-serif;--mono:'JetBrains Mono','DM Mono',monospace;}
.n-word,.gc-logo-text,.s-ttl,.ft-col-head,.c-name,.mani-ttl{font-family:'Syne',sans-serif!important}
.n-word{letter-spacing:-.03em!important;font-weight:800!important}
h1,h2,h3{font-family:'Syne',sans-serif!important;letter-spacing:-.025em!important}
