@font-face { font-family: Nunito; src: url('../assets/fonts/Nunito/Nunito-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Nunito; src: url('../assets/fonts/Nunito/Nunito-Bold.ttf') format('truetype'); font-weight: 700 900; font-display: swap; }
:root { color-scheme: light; --cream: #fff9f1; --paper: #fff; --ink: #292638; --muted: #736e80; --coral: #ff885c; --mint: #a9e5ce; --line: #e8dfd8; --terracotta: #9e4124; --sand: #fff6ea; --shadow: 0 8px 24px rgb(71 45 34 / 10%); }
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; scrollbar-color: #d9cbb9 var(--cream); }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.65 Nunito, system-ui, sans-serif; -webkit-tap-highlight-color: #ff885c40; }
::selection { background: var(--mint); color: var(--ink); }
a { color: var(--terracotta); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a, button, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; border-radius: 5px; }
button { font: inherit; color: var(--ink); cursor: pointer; }
img { max-width: 100%; height: auto; }
.skip-link { position: absolute; z-index: 3; top: -90px; padding: 12px; background: white; }
.skip-link:focus { top: 8px; }
.policy-toolbar { width: min(920px, 100%); margin-inline: auto; padding: 18px 24px; display: flex; align-items: center; gap: 16px; }
.embedded-document .policy-toolbar, .embedded-document .policy-contents { display: none; }
.policy-toolbar .brand { margin-inline-end: auto; display: flex; align-items: center; text-decoration: none; }
.policy-toolbar img { width: 154px; height: 42px; }
.policy-toolbar > a:not(.brand), .policy-toolbar button { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; }
.policy-toolbar button, .policy-toolbar .policy-download { padding: 8px 16px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 3px 5px rgb(71 45 34 / 8%); }
.policy-toolbar button:hover, .policy-toolbar .policy-download:hover { background: var(--sand); }
.deck { display: grid; gap: 24px; padding: 0 16px 40px; }
.page { width: min(864px, 100%); margin: 0 auto; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow), inset 0 2px 2px #fff; }
.content { padding: 36px; }
.shape, .shape-soft, .top-logo, .corner-logo, .num { display: none; }
.cover { background: var(--sand); }
.cover .content { padding-block: 34px 28px; }
.hero-logo { display: block; width: 148px; height: 148px; object-fit: contain; margin: 0 auto 16px; }
h1, h2, h3, h4, .table-title { line-height: 1.3; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(27px, 4vw, 38px); letter-spacing: -.03em; margin: 0 0 16px; }
.page-title { text-align: center; }
.page-title .muted { display: block; font-size: .55em; color: var(--terracotta); font-weight: 700; margin-top: 8px; }
h2 { margin: 0 0 24px; font-size: clamp(23px, 3vw, 29px); letter-spacing: -.02em; }
h3 { font-size: 19px; margin: 0 0 12px; }
h4 { font-size: 17px; margin: 0 0 8px; }
p { margin: 0 0 14px; max-width: 72ch; }
li { margin-bottom: 8px; }
ul, ol { margin: 12px 0 20px; padding-inline-start: 24px; }
.cover-list { margin: 22px auto; max-width: 56ch; }
.footer-note { padding: 16px 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.grid-2, .table-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.panel { min-width: 0; }
.panel + .panel { padding-top: 24px; border-top: 1px solid var(--line); }
.subsection + .subsection { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.table-scroll { overflow-x: auto; max-width: 100%; margin: 16px 0 24px; border: 1px solid var(--line); border-radius: 18px; scrollbar-color: #b86143 var(--sand); }
.table-hint { font-size: 12px; color: var(--muted); margin: 14px 0 -8px; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; font-size: 14px; line-height: 1.45; background: #fff; }
th, td { padding: 12px 10px; text-align: center; vertical-align: middle; overflow-wrap: anywhere; border-bottom: 1px solid var(--line); }
th { background: var(--mint); color: var(--ink); font-weight: 800; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fffaf5; }
.commission-level-rate { display: inline-flex; align-items: baseline; gap: .65em; white-space: nowrap; }
.commission-level-rate strong { font-weight: 800; }
.commission-level-rate > span { color: var(--terracotta); font-weight: 400; }
.wide-table { min-width: 0; }
.coin-table { min-width: 0; }
.seller-levels-table { table-layout: fixed; min-width: 0; }
.seller-levels-table th { width: 20%; }
.seller-levels-table th:nth-child(2) { width: 22%; }
.seller-levels-table th:nth-child(3), .seller-levels-table th:nth-child(4) { width: 19%; }
.table-title { padding: 15px 18px; background: var(--coral); border-radius: 16px; font-size: 19px; margin-bottom: 18px; }
.mini, .mini li { font-size: 14px; }
.callout, .meta-box, .effective-gamer-formula { padding: 18px 20px; background: var(--sand); border-radius: 18px; margin: 20px 0; }
.callout strong { color: var(--terracotta); }
.note, .muted { color: var(--muted); }
.effective-gamer-question { margin-top: 24px; }
.effective-gamer-question strong { color: var(--ink); }
.badge-feature { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 18px; padding: 18px 0; }
.badge-feature img { width: 92px; }
.badge-kicker { color: var(--muted); font-size: 13px; }
.campaign-card { background: var(--sand); border-radius: 18px; padding: 20px; margin: 18px 0; }
.coin-amount { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.zuzu-coin, .coin-icon, .diamond-icon { width: 17px; height: 17px; vertical-align: -2px; object-fit: contain; }
.diamond-amount { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.diamond-amount > img, .coin-amount > img { align-self: center; }
.income-usd { display: block; white-space: nowrap; font-weight: 700; }
.income-diamonds { margin-top: 4px; color: var(--muted); font-size: .9em; }
.column-note { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; }
.salary-table th:first-child { width: 34%; }
.salary-table tr > :nth-child(3) { color: var(--terracotta); font-style: italic; font-weight: 700; background: var(--sand); }
.salary-table thead tr > :nth-child(3) { background: #ffe5d6; }
.recharge-coins { margin-top: 6px; font-size: 12px; color: #855400; font-weight: 700; white-space: nowrap; }
.shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.shot-item { margin: 0; padding: 20px; background: var(--sand); border-radius: 22px; }
.shot-item img { display: block; width: 100px; height: 100px; object-fit: contain; margin: 0 auto 18px; }
.caption-box { font-size: 14px; }
.caption-box strong { display: block; font-size: 17px; margin-bottom: 10px; }
.policy-contents { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.policy-contents summary { cursor: pointer; min-height: 44px; font-weight: 700; color: var(--terracotta); }
.policy-contents ol { margin-top: 0; }
.policy-contents li { padding-inline-start: 4px; }
.policy-contents a { display: inline-block; padding-block: 8px; }
.tree-figure { margin: 24px 0; }
.tree-figure svg { display: block; width: 100%; height: auto; }
.tree-figure text { font-family: Nunito, sans-serif; fill: var(--ink); font-size: 17px; font-weight: 700; }
.tree-figure .tree-link { fill: none; stroke: #b8a898; stroke-width: 2; }
.tree-figure .tree-node { fill: #fff6ea; stroke: #d9cbb9; stroke-width: 1.5; }
.tree-figure .included { fill: #a9e5ce; stroke: #78a591; }
.tree-figure .leader { fill: #ffbc83; stroke: #b86143; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 14px; }
.tree-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.tree-scroll svg { min-width: 600px; }
.tn-root { padding: 16px; background: var(--coral); border-radius: 16px; text-align: center; font-weight: 800; }
.tn-chains { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 12px; }
.tn-chain { display: grid; gap: 20px; }
.tn-chain > div { position: relative; background: var(--sand); border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px; text-align: center; font-weight: 700; }
.tn-chain:nth-child(2) > div { background: #e8f7ef; }
.tn-chain > div::before { content: ''; position: absolute; width: 1px; height: 20px; background: #b8a898; top: -21px; left: 50%; }
.tn-chain > div:first-child { margin-top: 20px; }
.formula { font-size: 18px; padding: 20px; background: var(--mint); border-radius: 18px; line-height: 1.6; margin: 20px 0; font-weight: 700; }
.result { font-size: 22px; font-weight: 800; color: var(--terracotta); }
.directory { padding-block: 24px; }
.directory a { display: flex; justify-content: space-between; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); padding: 16px 4px; font-size: 18px; font-weight: 700; text-decoration: none; }
.directory a:last-child { border-bottom: 0; }
.directory a:hover { background: var(--sand); }
.directory a span { color: var(--muted); font-size: 13px; font-weight: 400; padding-inline-start: 14px; text-align: end; }
@media (max-width: 600px) {
  body { font-size: 15px; }
  .policy-toolbar { padding: max(10px, env(safe-area-inset-top)) 14px 12px; gap: 12px; }
  .policy-toolbar img { width: 116px; height: 34px; }
  .policy-toolbar > a:not(.brand), .policy-toolbar button { font-size: 12px; }
  .policy-toolbar button, .policy-toolbar .policy-download { padding: 8px 10px; }
  .deck { padding: 0 8px max(24px, env(safe-area-inset-bottom)); gap: 16px; }
  .page { border-radius: 22px; }
  .content { padding: 24px 18px; }
  .cover .content { padding-block: 24px; }
  .footer-note { padding: 14px 18px; }
  .content { padding-inline: 10px; }
  th, td { padding: 8px 4px; font-size: 12px; }
  .wide-table th, .wide-table td, .coin-table th, .coin-table td,
  .seller-levels-table th, .seller-levels-table td { font-size: clamp(9px, 2.6vw, 12px); padding: 8px 3px; }
  .diamond-amount, .coin-amount { display: inline; white-space: normal; overflow-wrap: normal; }
  .diamond-amount > img, .coin-amount > img { display: block; width: 13px; height: 13px; margin: 0 auto 3px; }
  .income-usd, .recharge-coins { white-space: normal; }
  .column-note, .recharge-coins { font-size: inherit; }
  .commission-level-rate { white-space: normal; flex-wrap: wrap; justify-content: center; gap: 2px 6px; }

  h2 { margin-bottom: 18px; }
  h3 { font-size: 17px; }
  .hero-logo { width: 124px; height: 124px; }
  .badge-feature { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .badge-feature img { width: 72px; }
  .shot-grid { grid-template-columns: 1fr; gap: 16px; }
  .shot-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 18px 16px; align-items: center; }
  .shot-item img { width: 64px; height: 64px; margin: 0; }
  .formula { font-size: 16px; padding: 16px; }
  .tree-figure { margin-inline: -8px; }
}
.policy-history { margin-top: 28px; break-inside: avoid; }
.policy-history h3 { font-size: 18px; }
.policy-version-history { table-layout: fixed; }
.policy-version-history th:first-child { width: 20%; }
.policy-version-history th:nth-child(2) { width: 35%; }
@media print {
  @page { size: A4; margin: 12mm; }
  body { font-size: 10pt; background: #fff; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .policy-toolbar, .skip-link, .policy-contents, .table-hint { display: none; }
  .deck { display: block; padding: 0; }
  .page { width: 100%; border: 0; border-radius: 0; box-shadow: none; break-after: page; }
  .page:last-child { break-after: auto; }
  .content, .cover .content { padding: 4mm 0; }
  .grid-2, .table-stack, .shot-grid { display: block; }
  .panel + .panel, .shot-item + .shot-item { margin-top: 5mm; padding-top: 5mm; }
  h1 { font-size: 25pt; }
  h2 { font-size: 18pt; margin-bottom: 5mm; }
  h3 { font-size: 13pt; }
  h4 { font-size: 11pt; }
  p, li, .mini, .mini li, .caption-box { font-size: 10pt; }
  .diamond-amount, .coin-amount { white-space: normal; }
  .footer-note { padding: 5mm 0; }
  h2, h3 { break-after: avoid; }
  tr, .badge-feature, .shot-item, .formula, figure { break-inside: avoid; }
  thead { display: table-header-group; }
  .table-scroll, .tree-scroll { overflow: visible; border-radius: 0; }
  .wide-table, .coin-table, .tree-scroll svg { min-width: 0; }
  th, td { padding: 6px; font-size: 9pt; }
  a { color: inherit; }
}

/* Keep policy income figures readable within the mobile table. */
.bd-rewards-table th:nth-child(1) { width: 12%; }
.bd-rewards-table th:nth-child(2) { width: 29%; }
.bd-rewards-table th:nth-child(3) { width: 16%; }
.bd-rewards-table th:nth-child(4) { width: 20%; }
.bd-rewards-table th:nth-child(5) { width: 23%; }
.bd-validity-table th:first-child { width: 28%; }
.bd-rewards-table .income-diamonds { display: flex; align-items: center; justify-content: center; gap: 2px; white-space: nowrap; }
.bd-rewards-table .income-diamonds > img { display: inline-block; flex: 0 0 11px; width: 11px; height: 11px; margin: 0; }
.new-host-table col:nth-child(1) { width: 17%; }
.new-host-table col:nth-child(2) { width: 12%; }
.new-host-table col:nth-child(3) { width: 13%; }
.new-host-table col:nth-child(4), .new-host-table col:nth-child(5) { width: 20%; }
.new-host-table col:nth-child(6) { width: 18%; }
.hourly-rewards-table col:nth-child(1) { width: 14%; }
.hourly-rewards-table col:nth-child(2) { width: 26%; }
.hourly-rewards-table col:nth-child(n+3) { width: 20%; }
