/* Table Glass for the small pages (Upcard, Support, App privacy, Tables, Work with Ace Me, Newsletter...). The menu and
   footer are in site.css. Same tokens as the home page:
   white Inter text on dark glass over felt, gold only for money and the logo, system green/red/grey for results. */
:root {
  --ink: #07120e;
  --felt: #0f4a33;
  --felt-hi: #175a3e;
  --glass: rgba(28, 28, 30, 0.62);
  --glass-thick: rgba(28, 28, 30, 0.78);
  --edge: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --label: rgba(235, 235, 245, 0.80);
  --dim: rgba(235, 235, 245, 0.62);
  --gold: #f2c14e;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body {
  margin: 0; font-family: var(--font); color: var(--text); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: radial-gradient(120% 60% at 50% 0%, var(--felt-hi) 0%, var(--felt) 38%, var(--ink) 100%) no-repeat, var(--ink);
  min-height: 100vh;
}
.wrap {
  max-width: 960px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 720px; }
a { color: var(--text); text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--text); }
a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 600; color: var(--text); }


h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.1; letter-spacing: -.02em; margin: 0; font-weight: 800; text-wrap: balance; }
h2 { font-size: 20px; line-height: 1.25; margin: 0 0 8px; font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 17px; line-height: 1.3; margin: 0 0 4px; font-weight: 600; }
p { margin: 0; }
.label { color: var(--label); }
.eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--label); font-weight: 600; margin: 0 0 6px; }

.panel {
  background: var(--glass); border: 1px solid var(--edge); border-radius: 20px; padding: 22px;
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
}
.panel ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.panel li { color: var(--label); }
.money { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }

.stack { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.doc { padding-block: 32px 8px; display: grid; gap: 28px; }
.doc section { display: grid; gap: 10px; }
.doc .date { color: var(--dim); font-size: 14px; margin-top: 8px; }
.faq { display: grid; gap: 12px; }
.faq .panel p { color: var(--label); }
.faq .panel p + p { margin-top: 8px; }


/* YouTube videos: a local poster and play button; the player (youtube-nocookie.com) loads only after a tap. See /assets/yt.js. */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--edge); }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.yt-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: #000; }
.yt-play .btn-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .2s; }
.yt-play:hover .btn-play { transform: scale(1.06); }
.yt-play svg { width: 26px; height: 26px; margin-left: 4px; }
.yt-play .dur { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.78); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.yt-play:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.yt-note { color: var(--dim); font-size: 14px; margin-top: 8px; }
