/* Fortjort's articles (the no-ads list and the ads guide). Same palette and type as /apps/fortjort/. */
:root {
    --sky: #4fb0ff;
    --royal: #1a3696;
    --navy: #16224a;
    --gold: #ffe27a;
    --gold-deep: #e0a21a;
    --text: #1c2340;
    --muted: #5d6685;
    --surface: #f3f6fc;
    --line: #e1e7f3;
    --link: #1a5fd0;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17.5px/1.7 'DM Sans', system-ui, -apple-system, sans-serif; color: var(--text); background: #fff; overflow-x: hidden; }
a { color: var(--link); }
img { max-width: 100%; display: block; }

/* Nav */
body > nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 760px; margin: 0 auto; padding: 0 20px; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-app { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font: 22px 'Lilita One', system-ui, sans-serif; }
.nav-app img { width: 30px; height: 30px; border-radius: 22.37%; }
.nav-get { font-weight: 700; font-size: 14.5px; text-decoration: none; color: #fff; background: var(--royal); padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.nav-get:hover { background: #142c7c; }

/* Header */
.head { background: radial-gradient(circle at 50% 0%, #bfeaff 0%, var(--sky) 35%, var(--royal) 100%); color: #fff; padding: 48px 20px 52px; }
.head-inner { max-width: 760px; margin: 0 auto; }
.crumbs { margin: 0 0 14px; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
h1 { font: 400 clamp(36px, 6.4vw, 56px)/1.05 'Lilita One', system-ui, sans-serif; margin: 0; text-shadow: 0 3px 0 var(--navy), 0 8px 18px rgba(8, 18, 70, 0.35); }
.lede { font-size: 19px; line-height: 1.6; margin: 18px 0 0; max-width: 40em; opacity: 0.96; }
.byline { margin: 18px 0 0; font-size: 14.5px; opacity: 0.85; }
.byline a { color: #fff; }

/* Body */
article { max-width: 760px; margin: 0 auto; padding: 8px 20px 24px; }
h2 { font: 400 clamp(27px, 4.4vw, 34px)/1.15 'Lilita One', system-ui, sans-serif; color: var(--royal); margin: 52px 0 12px; }
h3 { font-size: 20px; line-height: 1.3; margin: 30px 0 6px; }
p { margin: 0 0 14px; }
ul, ol { padding-left: 1.3em; margin: 0 0 16px; }
li { margin: 4px 0; }
.note { font-size: 15.5px; color: var(--muted); }
.toc { background: var(--surface); border-radius: 16px; padding: 16px 20px; margin: 30px 0 0; font-size: 16px; }
.toc strong { display: block; margin-bottom: 4px; }
.toc ol { margin: 0; }
.answer { border-left: 5px solid var(--gold-deep); background: #fffaea; border-radius: 0 16px 16px 0; padding: 16px 20px; margin: 30px 0 0; font-size: 18px; }
.answer p:last-child { margin-bottom: 0; }

/* A game on the list */
.game { border: 2px solid var(--line); border-radius: 18px; padding: 18px 20px 16px; margin: 14px 0; }
.game h3 { margin: 0 0 4px; font-size: 20px; }
.game h3 a { color: var(--text); text-decoration: none; }
.game h3 a:hover { color: var(--link); text-decoration: underline; }
.game p { margin: 6px 0 0; font-size: 16.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.chips li { margin: 0; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--surface); color: var(--muted); }
.chips li.pay { background: #e8efff; color: var(--royal); }
.chips li.noads { background: #e6f6df; color: #23722a; }
.chips li.ads { background: #fdebe7; color: #b03a22; }
.game.mine { border-color: var(--gold-deep); background: linear-gradient(135deg, #fffaea, #fff3cf); }
.game .disclose { font-size: 14px; color: var(--muted); font-style: italic; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--surface); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* Fortjort card */
.get { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: center; background: linear-gradient(135deg, var(--royal), var(--navy)); color: #fff; border-radius: 22px; padding: 22px 24px; margin: 26px 0; }
.get img { width: 76px; height: 76px; border-radius: 22.37%; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }
.get p { margin: 0 0 12px; }
.get strong { font: 400 22px 'Lilita One', sans-serif; color: var(--gold); letter-spacing: 0.3px; }
.btn { display: inline-block; font-weight: 700; font-size: 15.5px; text-decoration: none; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--royal); }
.btn:hover { background: #f4f8ff; }
.btn + .more { margin-left: 14px; color: #fff; font-size: 15px; }

/* Questions */
.faq h3 { margin-top: 24px; }

/* Sources */
.sources { font-size: 14.5px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 48px; padding-top: 18px; }
.sources ol { padding-left: 1.2em; }
.sources a { word-break: break-word; }

footer { text-align: center; padding: 30px 20px 44px; color: var(--muted); font-size: 15px; }
footer a { margin: 0 6px; }

@media (max-width: 560px) {
    body { font-size: 17px; }
    .get { grid-template-columns: 1fr; }
    .get img { width: 64px; height: 64px; }
    .btn + .more { display: inline-block; margin: 10px 0 0; }
}

/* On a phone, a table's rows become cards, each cell labelled with its column. */
@media (max-width: 560px) {
    .table-wrap:has(table.stack) { overflow: visible; border: 0; }
    table.stack { min-width: 0; }
    table.stack thead { display: none; }
    table.stack tr { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 6px 0; margin-bottom: 12px; }
    table.stack td { display: block; border: 0; padding: 6px 16px; }
    table.stack td::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
    table.stack td:first-child::before { display: none; }
    table.stack td:first-child { font-weight: 700; font-size: 17px; }
}
