/* Fonts: Inter (c) The Inter Project Authors, Urbanist (c) The Urbanist Project Authors.
   Both licensed under the SIL Open Font License 1.1 (https://openfontlicense.org). Self-hosted, no third-party requests. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("/assets/fonts/urbanist-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("/assets/fonts/urbanist-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Bober Casino Przewodniki / Bober Casino Guides – one stylesheet for the whole site.
   Palette taken from the mascot and logo; layout ideas from the reference design. */
:root {
  --cream: #fbf4e8;
  --cream-2: #f5e9d4;
  --paper: #ffffff;
  --ink: #2a1608;
  --ink-2: #5b4636;
  --line: #eadcc6;
  --caramel: #b0602f;
  --caramel-d: #8a4520;
  --gold: #f2b440;
  --gold-l: #fde7b0;
  --teal: #1f9e9b;
  --teal-d: #12706e;
  --teal-l: #d3f1ee;
  --pink: #f4c4ba;
  --pink-l: #fde6e0;
  --frame: #2a1608;
  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 10px 30px rgba(42, 22, 8, .08);
  --f-head: "Urbanist", "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 16px/1.65 var(--f-body); color: var(--ink); background: var(--cream); overflow-x: hidden; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--caramel-d); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, .f-h, .card-t, .calc-title, .cl-title { font-family: var(--f-head); line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.9rem); font-weight: 800; margin: .2em 0 .35em; }
h2 { font-size: clamp(1.55rem, 4.4vw, 2.25rem); font-weight: 800; margin: 0 0 .5em; }
h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
table { border-collapse: collapse; width: 100%; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 8px; color: #fff; }

/* ---------- frame (reference design: dark outer frame) ---------- */
body.framed { background: var(--frame); padding: 8px; }
body.framed .page { background: var(--cream); border-radius: 18px; overflow: clip; }
@media (min-width: 960px) { body.framed { padding: 14px; } body.framed .page { border-radius: 26px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--ink); font: 700 15px/1.1 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn-primary:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-ghost:hover { color: var(--ink); background: var(--cream-2); }
.btn-small { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cream-2); color: var(--ink); cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--gold-l); }
.badge { display: inline-block; font: 700 12px/1 var(--f-body); text-transform: uppercase; letter-spacing: .05em; padding: 4px 7px; border-radius: 999px; background: var(--pink-l); color: var(--caramel-d); vertical-align: middle; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; padding: 8px 0; }
body.framed .site-header { top: 0; }
.hdr { width: calc(100% - 2 * var(--gutter)); max-width: calc(1200px - 2 * var(--gutter)); display: flex; align-items: center; gap: 8px; background: var(--paper); border-radius: 999px; padding: 6px 6px 6px 14px; box-shadow: var(--shadow); min-height: 60px; }
.brand { display: flex; align-items: center; flex: none; margin-right: auto; }
.brand .logo { width: 74px; height: auto; display: block; }
.hdr-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.lang-link { display: none; align-items: center; justify-content: center; height: 40px; padding: 0 14px; border-radius: 999px; font: 600 14px var(--f-body); color: var(--ink); text-decoration: none; background: var(--cream-2); white-space: nowrap; }
.lang-link:hover { background: var(--gold-l); color: var(--ink); }
.hdr-btn { min-height: 44px; padding: 8px 14px; font-size: 14px; }
.hdr-btn.btn-ghost { display: none; }
.burger { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: none; }
.burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile nav panel */
.nav { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 4px); background: var(--paper); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(42, 22, 8, .2); padding: 12px; max-height: calc(100vh - 100px); overflow: auto; }
.nav.open { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li { margin: 0; border-bottom: 1px solid var(--line); }
.nav-btn, .nav-link { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 8px 10px; background: none; border: 0; font: 600 16px var(--f-body); color: var(--ink); text-decoration: none; cursor: pointer; text-align: left; }
.nav-top { display: flex; align-items: center; }
.nav-top .nav-hub { flex: 1; }
.nav-top .nav-btn { width: 48px; flex: none; justify-content: center; border-radius: 12px; }
.nav-hub[aria-current="page"] { color: var(--caramel-d); }
.nav-btn svg { transition: transform .2s; flex: none; }
.nav-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub { list-style: none; margin: 0 0 8px; padding: 0 0 0 8px; display: none; }
.has-sub.open > .sub { display: block; }
.sub li { margin: 0; }
.sub a { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--gold-l); color: var(--ink); }
.nav-lang { display: flex; align-items: center; min-height: 48px; padding: 8px 10px; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 4px 4px; }
.nav-search { display: none; width: 100%; align-items: center; gap: 10px; min-height: 48px; padding: 8px 10px; border: 0; border-bottom: 1px solid var(--line); background: none; font: 600 16px var(--f-body); color: var(--ink); cursor: pointer; text-align: left; }
@media (max-width: 399px) {
  body.framed { padding: 6px; }
  .hdr { gap: 6px; padding-left: 10px; }
  .brand .logo { width: 64px; }
  .hdr-search { display: none; }
  .nav-search { display: flex; }
  .hdr-btn.btn-primary { font-size: 13px; padding: 8px 11px; }
}

@media (min-width: 420px) {
  .brand .logo { width: 86px; }
}
@media (min-width: 640px) {
  .hdr-btn.btn-ghost, .lang-link { display: inline-flex; }
  .hdr { padding-left: 18px; }
  .brand .logo { width: 96px; }
}
@media (min-width: 1280px) {
  .site-header { padding: 12px 0; }
  .burger, .nav-cta, .nav-lang, .nav-search { display: none; }
  .nav { display: block; position: static; background: none; box-shadow: none; padding: 0; max-height: none; overflow: visible; margin: 0 auto 0 12px; }
  .nav-list { display: flex; gap: 2px; }
  .nav-list > li { border: 0; position: relative; }
  .nav-btn, .nav-link { min-height: 44px; padding: 8px 12px; border-radius: 999px; font-size: 15px; width: auto; }
  .nav-link .badge { display: none; }
  .nav-top .nav-hub { padding-right: 4px; }
  .nav-top .nav-btn { width: 32px; padding: 8px 4px; margin-left: -2px; }
  .nav-top:hover { background: var(--cream-2); border-radius: 999px; }
  .nav-top:hover .nav-hub, .nav-top:hover .nav-btn { background: none; }
  .nav-btn:hover, .nav-link:hover { background: var(--cream-2); color: var(--ink); }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
  .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
  .sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; background: var(--paper); border-radius: var(--radius-s); box-shadow: 0 18px 40px rgba(42, 22, 8, .16); padding: 8px; z-index: 5; }
  .brand { margin-right: 0; }
  .brand .logo { width: 104px; }
}

/* ---------- search ---------- */
.search { position: relative; display: flex; align-items: center; }
.search input { width: 100%; min-height: 54px; padding: 12px 16px 12px 46px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); font: 16px var(--f-body); color: var(--ink); }
.search input::placeholder { color: #8b7866; }
.search-ic { position: absolute; left: 16px; top: 17px; color: var(--ink-2); display: flex; pointer-events: none; }
.search-res { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--paper); border-radius: var(--radius-s); box-shadow: 0 18px 40px rgba(42, 22, 8, .18); overflow: hidden; }
.search-res:empty { display: none; }
.search-res ul { list-style: none; margin: 0; padding: 6px; }
.search-res li { margin: 0; }
.search-res a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.search-res a:hover, .search-res a:focus { background: var(--gold-l); }
.search-res .sr-t { display: block; font-weight: 700; }
.search-res .sr-d { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.search-res .sr-none { display: flex; gap: 12px; align-items: center; padding: 12px 16px; font-size: 15px; }
.search-res .sr-none img { width: 96px; height: auto; flex: none; }
.search-res .sr-none p { margin: 0; }
.search-panel { position: fixed; inset: 0; z-index: 60; background: rgba(42, 22, 8, .55); padding-top: 80px; }
.search-box { display: flex; gap: 8px; align-items: flex-start; }
.search-box .search { flex: 1; }
.search-close { width: 54px; height: 54px; background: var(--paper); }

/* ---------- home hero ---------- */
.home-hero { padding: 8px 0 24px; }
.home-hero .hero-grid { position: relative; background: radial-gradient(60% 70% at 85% 30%, rgba(31, 158, 155, .22), transparent 70%), radial-gradient(50% 60% at 70% 90%, rgba(242, 180, 64, .3), transparent 70%), var(--paper); border-radius: var(--radius); padding: 24px 18px; display: grid; gap: 24px; max-width: calc(1200px - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); }
.kicker { display: inline-block; font: 700 13px/1.3 var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--caramel-d); margin: 0; }
.home-hero h1 { font-size: clamp(1.9rem, 8.4vw, 3.6rem); }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 60ch; }
.home-hero .search { max-width: 560px; margin: 18px 0 14px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border-radius: 999px; background: var(--cream-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; border: 1px solid var(--line); }
.chip:hover { background: var(--gold-l); color: var(--ink); }

.hero-art { position: relative; aspect-ratio: 6 / 4.6; max-width: 600px; margin: 0 auto; width: 100%; }
.hero-swoosh { position: absolute; inset: 22% -4% auto -4%; width: 108%; color: var(--teal); opacity: .85; }
.laptop { position: absolute; right: 2%; top: 8%; width: 74%; filter: drop-shadow(0 22px 24px rgba(42, 22, 8, .25)); transform: rotate(-4deg); }
.laptop-lid { background: #1d1f22; border-radius: 16px 16px 6px 6px; padding: 3.2%; border: 2px solid #3a3d42; }
.laptop-screen { background: var(--cream); border-radius: 6px; aspect-ratio: 16 / 10; overflow: hidden; display: flex; flex-direction: column; }
.lui-bar { display: flex; align-items: center; gap: 4px; padding: 3.2% 4%; background: var(--paper); border-bottom: 1px solid var(--line); }
.lui-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.lui-bar i:nth-child(2) { background: var(--gold); }
.lui-bar i:nth-child(3) { background: var(--teal); }
.lui-bar span { flex: 1; height: 7px; margin-left: 8px; border-radius: 99px; background: var(--cream-2); }
.lui-body { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto 1fr; gap: 6% 6%; padding: 6% 6% 5%; align-items: center; }
.lui-logo { grid-row: 1 / 3; }
.lui-logo img { width: 100%; height: auto; display: block; }
.lui-lines { display: grid; gap: 7px; }
.lui-lines span { height: 7px; border-radius: 99px; background: var(--line); }
.lui-lines .short { width: 60%; }
.lui-progress { height: 10px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.lui-progress span { display: block; height: 100%; width: 62%; background: var(--teal); border-radius: 99px; }
.lui-cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; align-self: stretch; }
.lui-cards span { border-radius: 8px; background: var(--gold); min-height: 20px; }
.lui-cards span:nth-child(2) { background: var(--teal-l); }
.lui-cards span:nth-child(3) { background: var(--pink-l); }
.laptop-base { position: relative; height: 0; padding-top: 4.2%; margin: 0 -7%; background: linear-gradient(#d9dbde, #a9adb3); border-radius: 0 0 18px 18px / 0 0 70% 70%; }
.laptop-base span { position: absolute; left: 50%; top: 0; width: 18%; height: 40%; transform: translateX(-50%); background: #8f949a; border-radius: 0 0 8px 8px; }
.hero-mascot { position: absolute; left: -2%; bottom: -2%; width: 44%; height: auto; z-index: 2; filter: drop-shadow(0 10px 14px rgba(42, 22, 8, .25)); }
.sticker { position: absolute; right: -1%; bottom: 2%; width: 23%; z-index: 3; }
.sticker circle { fill: var(--gold); stroke: var(--ink); stroke-width: 2.5; }
.sticker text { font: 800 11.5px var(--f-head); letter-spacing: .04em; text-transform: uppercase; fill: var(--ink); }
.sticker-arrow { stroke: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .sticker text { transform-origin: 60px 60px; animation: spin 14s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 960px) {
  .home-hero .hero-grid { grid-template-columns: 1.15fr 1fr; align-items: center; padding: 56px 48px; gap: 32px; border-radius: 30px; }
}

/* ---------- home bands & cards ---------- */
.band { padding: 40px 0; }
.band-alt { background: var(--cream-2); }
.band-lead { color: var(--ink-2); max-width: 65ch; margin-top: -.2em; }
.what-grid { display: grid; gap: 24px; }
.is-isnt { display: grid; gap: 14px; }
.is, .isnt { border-radius: var(--radius); padding: 20px 22px; }
.is { background: var(--teal-l); }
.isnt { background: var(--pink-l); }
.is ul, .isnt ul { list-style: none; padding: 0; margin: 0; }
.is li, .isnt li { position: relative; padding-left: 28px; }
.is li::before, .isnt li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.is li::before { content: "✓"; color: var(--teal-d); }
.isnt li::before { content: "✕"; color: var(--caramel-d); }
.ii-h { font: 800 1.1rem var(--f-head); margin-bottom: .6em; }
@media (min-width: 820px) { .what-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } .is-isnt { grid-template-columns: 1fr 1fr; } }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cards > li { margin: 0; display: flex; }
.card { position: relative; display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 22px; border-radius: var(--radius); background: var(--paper); color: var(--ink); text-decoration: none; border: 2px solid transparent; transition: transform .15s, border-color .15s; }
.card:hover { color: var(--ink); transform: translateY(-3px); border-color: var(--ink); }
.cards-4 > li:nth-child(4n+1) .card { background: var(--gold); }
.cards-4 > li:nth-child(4n+2) .card { background: #8fdcd6; }
.cards-4 > li:nth-child(4n+3) .card { background: var(--pink); }
.cards-4 > li:nth-child(4n+4) .card { background: var(--gold-l); }
.card-ic { display: block; width: 64px; height: 64px; margin: -4px 0 2px; }
.card-ic img { width: 64px; height: 64px; display: block; filter: drop-shadow(0 4px 6px rgba(42, 22, 8, .18)); transition: transform .2s; }
.card:hover .card-ic img { transform: rotate(-6deg) scale(1.06); }
.card-k { font: 700 12px/1.3 var(--f-body); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2); }
.card-t { font-size: 1.22rem; font-weight: 800; }
.card-d { font-size: 15px; line-height: 1.5; color: #3e2a1b; flex: 1; }
.card-more { align-self: flex-start; display: inline-flex; align-items: center; min-height: 36px; padding: 6px 16px; margin-top: 6px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.card-soon .badge { align-self: flex-start; background: rgba(255, 255, 255, .7); }
@media (min-width: 640px) { .cards-4, .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards.cards-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- guide (shared editorial framework) ---------- */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 70; background: transparent; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--teal); }
.post-hero { padding: 8px 0 8px; }
.post-hero .hero-grid { display: grid; gap: 20px; background: radial-gradient(55% 80% at 95% 10%, rgba(31, 158, 155, .18), transparent 70%), var(--paper); border-radius: var(--radius); padding: 22px 18px; width: calc(100% - 2 * var(--gutter)); max-width: calc(1200px - 2 * var(--gutter)); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 12px; font-size: 14px; }
.crumbs li { margin: 0; display: flex; align-items: center; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: #b4a28f; }
.crumbs a { display: inline-flex; align-items: center; min-height: 30px; color: var(--teal-d); }
.post-hero h1 { font-size: clamp(1.8rem, 6.4vw, 3.2rem); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--ink-2); margin: 0; }
.meta span + span::before { content: "•"; margin-right: 16px; color: var(--caramel); }
.learn { background: var(--gold-l); border-radius: var(--radius-s); padding: 18px 20px; }
.learn-h { font: 800 1.05rem var(--f-head); margin-bottom: .5em; }
.learn ul { margin: 0; padding-left: 1.1em; }
.learn li::marker { color: var(--caramel); }
.hero-shape { margin: 20px 0 0; filter: drop-shadow(8px 8px 0 var(--ink)); max-width: 980px; }
.hero-pic { margin: 0; padding: 3% 4% 2%; background: radial-gradient(60% 80% at 30% 40%, rgba(242, 180, 64, .35), transparent 70%), radial-gradient(55% 75% at 75% 60%, rgba(31, 158, 155, .28), transparent 70%), var(--gold-l); clip-path: polygon(0 6%, 9% 0, 62% 3%, 100% 0, 100% 86%, 93% 100%, 30% 97%, 0 100%); }
.hero-pic img { display: block; width: 100%; height: auto; }
.hero-shape .ph { clip-path: polygon(0 6%, 9% 0, 62% 3%, 100% 0, 100% 86%, 93% 100%, 30% 97%, 0 100%); margin: 0; }
.post-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 16px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--paper); max-width: 980px; }
.info-ic { width: 28px; height: 28px; flex: none; }
@media (min-width: 960px) {
  .post-hero .hero-grid { grid-template-columns: 1.6fr 1fr; align-items: center; padding: 44px 44px; border-radius: 30px; }
}

.ph { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; margin: 0; padding: 16px; text-align: center; border-radius: var(--radius-s); background: repeating-linear-gradient(135deg, var(--cream-2) 0 14px, #efe0c6 14px 28px); color: var(--ink-2); }
.ph-label { font: 800 1rem var(--f-head); color: var(--ink); }
.ph-file { font: 13px/1.3 ui-monospace, Menlo, monospace; }
.ph figcaption { font-size: 13px; max-width: 46ch; }

.post-layout { display: grid; gap: 8px; padding-top: 24px; padding-bottom: 40px; }
.toc-box { background: var(--paper); border-radius: var(--radius-s); padding: 4px 16px; border: 1px solid var(--line); }
.toc-box summary { min-height: 48px; display: flex; align-items: center; font: 800 1.05rem var(--f-head); cursor: pointer; }
.toc-box ol { margin: 0 0 12px; padding-left: 1.3em; font-size: 15px; }
.toc-box li { margin: 0; }
.toc-box a { display: inline-flex; min-height: 34px; align-items: center; color: var(--ink); text-decoration: none; }
.toc-box a:hover { color: var(--teal-d); text-decoration: underline; }
.toc-box a[aria-current="true"] { color: var(--teal-d); font-weight: 700; }
@media (min-width: 1100px) {
  .post-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 40px; }
  .toc { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
  .toc-box summary { pointer-events: none; list-style: none; }
  .toc-box summary::-webkit-details-marker { display: none; }
}
.post-main { min-width: 0; max-width: 820px; }
.post-sec { padding: 28px 0 8px; border-bottom: 1px solid var(--line); }
.eyebrow { font: 800 14px var(--f-head); color: var(--caramel); margin: 0 0 4px; letter-spacing: .08em; }
.sec-lead { font-size: 1.08rem; color: var(--ink-2); }

/* mascot beside headings */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sec-head > div { min-width: 0; }
.sec-mascot { width: 84px; height: 84px; flex: none; filter: drop-shadow(0 6px 8px rgba(42, 22, 8, .18)); }
@media (min-width: 640px) { .sec-mascot { width: 120px; height: 120px; } }
@media (min-width: 1100px) { .sec-mascot { width: 140px; height: 140px; } }
.hub-head .sec-mascot { width: 110px; height: 110px; }
@media (min-width: 640px) { .hub-head .sec-mascot { width: 170px; height: 170px; } }
.author-box { display: flex; gap: 16px; align-items: flex-start; }
.author-ava { width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--gold-l); }
.calc-done { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--teal-l); font-weight: 700; }
.calc-done img { width: 72px; height: 72px; flex: none; }
.calc-done p { margin: 0; }

/* glossary terms */
.term { display: inline; padding: 0; margin: 0; border: 0; background: none; font: inherit; color: inherit; cursor: help; border-bottom: 2px dotted var(--teal); text-align: inherit; }
.term:hover, .term[aria-expanded="true"] { background: var(--teal-l); border-bottom-style: solid; }
.gloss-pop { position: absolute; z-index: 80; max-width: min(320px, calc(100vw - 32px)); background: var(--ink); color: #fff; border-radius: var(--radius-s); padding: 14px 16px; box-shadow: 0 16px 40px rgba(42, 22, 8, .3); font-size: 15px; line-height: 1.5; }
.gloss-term { font: 800 1rem var(--f-head); color: var(--gold); margin: 0 0 4px; }
.gloss-def { margin: 0; }

/* callouts */
.example, .confirm, .tip { border-radius: var(--radius-s); padding: 18px 20px; margin: 0 0 1.2em; }
.example { background: var(--paper); border: 2px dashed var(--caramel); }
.ex-label, .confirm-label, .tip-label { font: 800 13px var(--f-body); text-transform: uppercase; letter-spacing: .07em; margin: 0 0 8px; }
.ex-label { color: var(--caramel-d); }
.ex-title { font-weight: 700; }
.ex-note { font-size: 13px; color: var(--ink-2); margin: 10px 0 0; }
.confirm { background: var(--pink-l); border-left: 5px solid var(--caramel); }
.confirm-label { color: var(--caramel-d); display: flex; align-items: center; gap: 8px; }
.tip { background: var(--teal-l); }
.tip-label { color: var(--teal-d); }
.example > :last-child, .confirm > :last-child, .tip > :last-child { margin-bottom: 0; }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--paper); }
.table-wrap table { min-width: 520px; font-size: 15px; }
.table-wrap th, .table-wrap td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--ink); color: #fff; font-weight: 700; }
.table-wrap tbody th { font-weight: 700; background: var(--cream); }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }

/* reasons */
.reasons { display: grid; gap: 14px; }
.reason { background: var(--paper); border-radius: var(--radius-s); padding: 18px 20px; border: 1px solid var(--line); }
.reason h3 { display: flex; gap: 10px; align-items: flex-start; }
.num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); font: 800 15px var(--f-head); }
.reason dl { margin: 0; display: grid; gap: 4px; }
.reason dt { font: 700 13px var(--f-body); text-transform: uppercase; letter-spacing: .06em; color: var(--teal-d); margin-top: 8px; }
.reason dd { margin: 0; }

/* decision tree */
.tree { list-style: none; padding: 0; margin: 0 0 1.2em; counter-reset: tq; }
.tree > li { position: relative; padding: 0 0 18px 46px; margin: 0; counter-increment: tq; }
.tree > li::before { content: counter(tq); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font: 800 15px var(--f-head); }
.tree > li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: var(--line); }
.tree-q { font-weight: 700; margin-bottom: 8px; }
.tree-a { display: grid; gap: 8px; }
.tree-a p { margin: 0; padding: 10px 14px; border-radius: 12px; font-size: 15px; }
.tree-yes { background: var(--teal-l); }
.tree-no { background: var(--pink-l); }
@media (min-width: 700px) { .tree-a { grid-template-columns: 1fr 1fr; } }

/* checklist */
.checklist { background: var(--paper); border-radius: var(--radius-s); border: 2px solid var(--ink); padding: 18px 20px; margin: 0 0 1.2em; }
.cl-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; align-items: baseline; margin-bottom: 10px; }
.cl-title { font-size: 1.1rem; font-weight: 800; margin: 0; }
.cl-count { font-size: 14px; color: var(--ink-2); margin: 0; }
.checklist ul { list-style: none; padding: 0; margin: 0 0 14px; }
.checklist li { margin: 0; border-bottom: 1px solid var(--line); }
.checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; min-height: 44px; cursor: pointer; }
.checklist input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--teal); }
.checklist input:checked + span { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--teal); }

/* diagnostic flow */
.diag fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.diag legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.diag-opts { display: grid; gap: 8px; }
.diag-opt { display: flex; gap: 10px; align-items: center; min-height: 48px; padding: 10px 14px; border-radius: 12px; background: var(--paper); border: 2px solid var(--line); cursor: pointer; }
.diag-opt:has(input:checked) { border-color: var(--ink); background: var(--gold-l); }
.diag-opt input { width: 20px; height: 20px; accent-color: var(--teal); flex: none; margin: 0; }
.diag-panel { background: var(--paper); border-radius: var(--radius-s); padding: 18px 20px; border-left: 5px solid var(--teal); }
.diag-h { font: 800 1.1rem var(--f-head); }
@media (min-width: 640px) { .diag-opts { grid-template-columns: 1fr 1fr; } }

/* process flow */
.flow { margin: 0 0 1.2em; }
.flow-steps { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.flow-steps li { margin: 0; }
.flow-step { display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; width: 100%; min-height: 56px; text-align: left; padding: 10px 12px; border-radius: 14px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; font: inherit; color: var(--ink); }
.flow-step[aria-pressed="true"] { border-color: var(--ink); background: var(--gold-l); }
.flow-n { grid-row: 1 / 3; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font: 800 14px var(--f-head); }
.flow-t { font-weight: 700; }
.flow-s { font-size: 14px; color: var(--ink-2); }
.flow-panel { background: var(--paper); border-radius: var(--radius-s); padding: 18px 20px; border-left: 5px solid var(--teal); }
.flow-dt { font: 800 1.1rem var(--f-head); }
@media (min-width: 900px) { .flow-steps { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } .flow-step { grid-template-columns: 1fr; } .flow-n { grid-row: auto; } }

/* bars */
.bars { margin: 0 0 1.2em; background: var(--paper); border-radius: var(--radius-s); padding: 18px 20px; border: 1px solid var(--line); }
.bars figcaption { font-weight: 700; margin-bottom: 12px; }
.bars ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin: 0; }
.bar-name { font-weight: 600; }
.bar-val { font-weight: 800; font-family: var(--f-head); }
.bar-track { grid-column: 1 / -1; height: 12px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--teal); border-radius: 99px; }
.bar-note { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }

/* equation + progress */
.eq, .pv { margin: 0 0 1.2em; background: var(--paper); border-radius: var(--radius-s); padding: 18px 20px; border: 1px solid var(--line); }
.eq-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.eq-box { display: flex; flex-direction: column; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--gold-l); min-width: 90px; }
.eq-box:last-child { background: var(--teal-l); }
.eq-v { font: 800 1.35rem var(--f-head); }
.eq-c { font-size: 13px; color: var(--ink-2); }
.eq-op { font: 800 1.4rem var(--f-head); color: var(--caramel); }
.eq figcaption, .pv figcaption { font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.pv-bar { height: 16px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.pv-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), #3cc1bc); border-radius: 99px; transition: width .4s; }
.pv-legend { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; font-size: 15px; }

/* balance diagram */
.bal { margin: 0 0 1.2em; }
.bal-grid { display: grid; gap: 10px; }
.bal-box { border-radius: var(--radius-s); padding: 18px 20px; }
.bal-cash { background: var(--teal-l); }
.bal-bonus { background: var(--gold-l); }
.bal-h { font: 800 1.1rem var(--f-head); }
.bal-box ul { margin: 0; }
.bal-arrow { display: flex; align-items: center; justify-content: center; font: 800 1.6rem var(--f-head); color: var(--caramel); transform: rotate(90deg); }
.bal-conv { font-weight: 600; margin: 10px 0 4px; }
.bal figcaption { font-size: 13px; color: var(--ink-2); }
@media (min-width: 700px) { .bal-grid { grid-template-columns: 1fr auto 1fr; } .bal-arrow { transform: none; } }

/* calculator */
.calc { background: var(--paper); border-radius: var(--radius); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 20px; margin: 0 0 1.4em; }
.calc-title { font-size: 1.3rem; font-weight: 800; }
.calc-base { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.calc-base legend { font-weight: 700; margin-bottom: 8px; padding: 0; width: 100%; }
.seg { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); font-weight: 600; }
.seg input:checked + span { border-color: var(--ink); background: var(--gold); }
.seg input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.calc-grid { display: grid; gap: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.inp { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 12px; background: var(--cream); overflow: hidden; }
.inp:focus-within { border-color: var(--teal); }
.inp input { flex: 1; min-width: 0; min-height: 48px; padding: 10px 12px; border: 0; background: transparent; font: 16px var(--f-body); color: var(--ink); }
.inp input:focus { outline: none; }
.inp input:disabled { opacity: .5; }
.inp span { padding: 0 14px; font-weight: 700; color: var(--ink-2); }
.field[data-dep-field].off { opacity: .55; }
.hint { font-size: 13px; color: var(--ink-2); margin: 6px 0 0; }
.calc-err { color: #a12d14; font-weight: 600; margin: 12px 0 0; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.calc-out { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.calc-res { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 12px; }
.calc-res div { background: var(--cream); border-radius: 12px; padding: 10px 12px; }
.calc-res dt { font-size: 13px; color: var(--ink-2); }
.calc-res dd { margin: 0; font: 800 1.25rem var(--f-head); }
.calc-formula { font-size: 14px; margin: 12px 0 0; }
.calc-note { font-size: 13px; color: var(--ink-2); margin: 14px 0 0; }
@media (min-width: 640px) { .calc-grid { grid-template-columns: 1fr 1fr; } .calc-res { grid-template-columns: repeat(4, 1fr); } }

/* terms example */
.tx { display: grid; gap: 14px; margin: 0 0 1.2em; }
.tx-doc { background: var(--paper); border-radius: var(--radius-s); padding: 18px 20px; border: 1px solid var(--line); font-size: 15px; }
.tx-doc-label { font: 800 13px var(--f-body); text-transform: uppercase; letter-spacing: .07em; color: var(--caramel-d); }
.tx-doc-h { font-weight: 700; }
.tx-mark { display: inline; font: inherit; color: inherit; padding: 1px 4px; margin: 0; border: 0; border-radius: 5px; background: var(--gold-l); box-shadow: inset 0 -2px 0 var(--gold); cursor: pointer; text-align: inherit; }
.tx-mark:hover, .tx-mark[aria-pressed="true"] { background: var(--gold); }
.tx-panel { background: var(--teal-l); border-radius: var(--radius-s); padding: 18px 20px; align-self: start; }
.tx-hint { margin: 0; font-weight: 600; }
.tx-name { font: 800 1.1rem var(--f-head); }
.tx-detail dl, .term-dl { margin: 0; }
.tx-detail dt, .term-dl dt { font: 700 13px var(--f-body); text-transform: uppercase; letter-spacing: .06em; color: var(--teal-d); margin-top: 10px; }
.tx-detail dd, .term-dl dd { margin: 0; }
@media (min-width: 900px) { .tx { grid-template-columns: 1.3fr 1fr; } .tx-panel { position: sticky; top: 100px; } }

/* author, faq, related */
.author-box { margin: 32px 0 0; background: var(--paper); border-radius: var(--radius-s); padding: 18px 20px; border-left: 5px solid var(--gold); }
.author-name { font: 800 1.05rem var(--f-head); margin-bottom: .4em; }
.author-box p:last-child { margin: 0; }
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--paper); border-radius: var(--radius-s); border: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 52px; padding: 12px 18px; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font: 800 18px var(--f-head); }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 18px 14px; }
.faq-a p:last-child { margin: 0; }
.related { padding: 36px 0 0; }

/* bonus issues hub */
.hub-page { padding-top: 24px; padding-bottom: 48px; }
.hub-page .lead { margin-bottom: 24px; }
.cards.cards-2 > li:nth-child(4n+1) .card { background: var(--gold); }
.cards.cards-2 > li:nth-child(4n+2) .card { background: #8fdcd6; }
.cards.cards-2 > li:nth-child(4n+3) .card { background: var(--pink); }
.cards.cards-2 > li:nth-child(4n+4) .card { background: var(--gold-l); }
@media (min-width: 640px) { .cards.cards-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cards.cards-2 { grid-template-columns: 1fr 1fr; } .cards-2 .card { padding: 28px; } }
.hub-more { display: grid; gap: 16px; align-items: center; margin-top: 36px; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 2px dashed var(--caramel); }
.hub-more h2 { font-size: 1.6rem; margin-bottom: .3em; }
.hub-more-art { width: min(260px, 70%); height: auto; justify-self: center; }
@media (min-width: 760px) { .hub-more { grid-template-columns: auto 1fr; padding: 28px 36px; } .hub-more-art { width: 260px; } }
.f-h a { color: var(--gold) !important; display: inline-flex; align-items: center; min-height: 32px; }

/* coming soon pages */
.sec-head-left { justify-content: flex-start; }
.soon-hero { display: grid; gap: 20px; align-items: center; margin-top: 8px; padding: 24px 20px; border-radius: var(--radius); background: radial-gradient(60% 80% at 20% 30%, rgba(242, 180, 64, .3), transparent 70%), radial-gradient(50% 70% at 85% 80%, rgba(31, 158, 155, .2), transparent 70%), var(--paper); }
.soon-visual { position: relative; justify-self: center; width: min(340px, 80%); }
.soon-visual .soon-art { width: 100%; height: auto; display: block; filter: drop-shadow(0 8px 12px rgba(42, 22, 8, .15)); }
.soon-icon { position: absolute; right: -6%; bottom: -10%; width: 34%; height: auto; filter: drop-shadow(0 6px 8px rgba(42, 22, 8, .2)); }
.soon-meanwhile { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--cream); border-left: 4px solid var(--teal); }
@media (min-width: 900px) { .soon-hero { grid-template-columns: 340px 1fr; gap: 48px; padding: 44px; border-radius: 30px; } .soon-visual { width: 100%; } }

/* coming soon + 404 */
.soon-page { padding: 24px var(--gutter) 48px; }
.soon-head { display: grid; gap: 16px; align-items: center; }
.soon-art { width: min(380px, 80%); height: auto; justify-self: center; filter: drop-shadow(0 8px 12px rgba(42, 22, 8, .15)); }
@media (min-width: 900px) { .soon-head { grid-template-columns: 1fr auto; } .soon-art { width: 380px; } }
.soon-grid { display: grid; gap: 14px; margin-top: 24px; }
.soon-item { background: var(--paper); border-radius: var(--radius); padding: 22px; scroll-margin-top: 100px; }
.soon-item:nth-child(5n+1) { background: var(--gold-l); }
.soon-item:nth-child(5n+2) { background: var(--teal-l); }
.soon-item:nth-child(5n+3) { background: var(--pink-l); }
.soon-item h2 { margin-top: 10px; font-size: 1.5rem; }
.soon-item a { display: inline-flex; min-height: 32px; align-items: center; }
.soon-item:target { outline: 3px solid var(--ink); }
@media (min-width: 760px) { .soon-grid { grid-template-columns: 1fr 1fr; } }
.page-404 { padding-top: 32px; padding-bottom: 64px; max-width: 760px; text-align: center; }
.empty-art { width: min(420px, 90%); height: auto; display: block; margin: 0 auto 8px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #f4e7d6; padding: 44px 0 24px; margin-top: 24px; font-size: 15px; }
body.framed .site-footer { margin-top: 24px; }
.site-footer a { color: #f4e7d6; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.f-grid { display: grid; gap: 28px; }
.f-brand { margin: 0 0 12px; }
.f-logo { width: 130px; height: auto; display: block; }
.f-h { font-size: 1.05rem; font-weight: 800; color: var(--gold); margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; }
.site-footer .badge { background: rgba(255, 255, 255, .14); color: #f4e7d6; }
.f-help { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.orgs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.org-logo { display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px; padding: 8px 12px; min-height: 56px; }
.org-logo:hover { border-color: var(--gold); }
.org-age { display: inline-flex; align-items: center; min-height: 56px; }
.org-logo img { height: 40px; width: auto; }
.org-tall img { height: 52px; }
.org-text { text-decoration: underline !important; text-underline-offset: 3px; }
.f-bottom { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 10px; font-size: 14px; color: #dccab5; }
.f-bottom p { margin: 0; }
.age { width: 110px; height: auto; display: block; }
@media (min-width: 760px) { .f-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .toc, .read-progress, .search-panel, .gloss-pop, .no-print, .related, .skip { display: none !important; }
  body, body.framed { background: #fff; padding: 0; }
  .card, .calc { box-shadow: none; }
  html.printing-one body > *:not(#print-sheet) { display: none !important; }
}
#print-sheet { display: none; }
@media print {
  @page { margin: 0; }
  html.printing-one #print-sheet { display: block; padding: 14mm 16mm; font: 12pt/1.5 var(--f-body); color: #000; }
  #print-sheet h2 { font-size: 16pt; margin: 0 0 10pt; }
  #print-sheet ul { list-style: none; padding: 0; margin: 0; }
  #print-sheet li { padding: 6pt 0; border-bottom: 1px solid #ccc; }
}
