/* affiliaterpg.com · design additions 3 Dec 2026 · load AFTER site.css
   Rule: the reading page stays the old AffiliateRPG web look (white · navy · blue · Prompt).
   Affililand / Reel game style lives only in the cover images and the home hero strip. */
:root{ --gold:#ffb800; --gold-soft:#fff6db; --berry:#d9467a; --navy:#0d1f4d; --ok-soft:#e9f7ef; --warn-soft:#fff4e5; }

/* ---------- page = daytime sky (TL 3 Dec: "white is too white, make it sky blue like AffiliateRPG")
   deeper sky at the top fading to a pale horizon; soft cloud puffs; white cards float on it */
/* TL 3 Dec: full sky page rejected -> page stays WHITE. Two light touches only:
   (1) a pale sky wash right under the top, fading to white within ~360 px
   (2) an Affililand horizon above the footer (the world "ends" the page) */
body{background:linear-gradient(180deg,#e3f3ff 0,#f2f9ff 180px,#fff 360px) #fff no-repeat}
.ft{margin-top:0;border-top:0}
.horizon{height:180px;margin-top:40px;background:url(/assets/img/horizon.webp) center bottom/cover}
@media (max-width:760px){.horizon{height:110px}}

/* ---------- header: one row on mobile (was 2 wrapped rows ≈ 100 px) */
@media (max-width:760px){
  .hd .wrap{flex-wrap:nowrap;gap:10px;padding-top:0;min-height:56px}
  .logo{font-size:17px;flex:none}.logo img{width:28px;height:28px}
  .nav{min-width:0}
  .nav{margin-left:auto;width:auto;flex-wrap:nowrap;overflow-x:auto;padding-bottom:0;
       -webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
}

/* ---------- home hero strip (short: the articles are the page) */
.hero-strip{position:relative;color:#fff;background:var(--navy) url(/assets/img/strip.webp) center 62%/cover;padding:36px 0 30px}
.hero-strip::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,22,60,.92),rgba(10,22,60,.55) 60%,rgba(10,22,60,.15))}
.hero-strip .wrap{position:relative}
.hero-strip h1{font-size:clamp(26px,4.4vw,40px);margin:8px 0 6px;color:#fff}
.hero-strip h1 em{font-style:normal;color:var(--gold)}
.hero-strip p{margin:0;color:#dfe7f7;max-width:560px}
.hero-strip .eyebrow{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.3);color:#fff}

/* ---------- article index cards (cover = the 1200x630 OG image, shown whole) */
.posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
.post{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden;
      text-decoration:none;color:var(--ink);box-shadow:var(--shadow);transition:transform .15s,box-shadow .15s}
.post:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(7,26,76,.16)}
.post img{aspect-ratio:1200/630;width:100%;object-fit:cover}
.post .body{padding:14px 18px 18px;display:grid;gap:6px}
.post h3{font-size:19px;line-height:1.4;margin:0}
.post p{margin:0;color:var(--ink-2);font-size:15px;line-height:1.6}
.post .meta{font-size:13px;color:var(--ink-2)}
.post.feature{grid-column:1/-1}
@media (min-width:761px){
  .post.feature{flex-direction:row}
  .post.feature img{width:58%;flex:none}
  .post.feature .body{align-content:center;padding:24px 28px}
  .post.feature h3{font-size:26px}
}
.cat{justify-self:start;font-size:12px;font-weight:600;letter-spacing:.02em;border-radius:var(--r-pill);padding:2px 10px;color:#fff}
.cat.ads{background:#ff5a36}.cat.ai{background:var(--berry)}.cat.reels{background:#2f6bf0}.cat.comm{background:var(--gold);color:var(--navy)}.cat.start{background:#00a08c}

/* ---------- article page */
.art-head{padding:26px 0 8px}
.art-head h1{margin:10px 0 12px}
.art-cover{border-radius:var(--r-card);overflow:hidden;box-shadow:var(--shadow);margin:16px 0 6px}
.byline{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--ink-2)}
.byline img{width:36px;height:36px;border-radius:50%}
.byline b{color:var(--ink);font-weight:600}

.tldr{background:var(--gold-soft);border:2px solid var(--navy);border-radius:var(--r-card);box-shadow:0 5px 0 var(--navy);padding:16px 20px;margin:22px 0}
.tldr h2{font-size:18px;margin:0 0 6px;display:flex;gap:8px;align-items:center}
.tldr ul{margin:0;padding-left:20px}.tldr li{margin:2px 0}

.toc{border:1px solid var(--line);border-radius:14px;padding:14px 18px;background:var(--soft);margin:18px 0}
.toc summary{font-weight:600;cursor:pointer}
.toc ol{margin:8px 0 0;padding-left:22px;font-size:16px}.toc a{text-decoration:none}

/* talk line: round head avatar + bubble (replaces the 96 px full-body .duo) */
.talk{display:grid;grid-template-columns:52px 1fr;gap:12px;align-items:start;margin:18px 0}
.talk img{width:52px;height:52px;border-radius:50%;border:2px solid var(--line)}
.talk .bubble{border-radius:4px 18px 18px 18px;box-shadow:none;background:var(--soft-2);border-color:transparent}
.talk.nw .bubble{background:#fdeef4}.talk.nw .bubble b{color:var(--berry)}

.shot{margin:16px 0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.shot img{width:100%}
.shot figcaption{font-size:14px;color:var(--ink-2);padding:8px 14px;border-top:1px solid var(--line);display:flex;gap:8px}
.shot figcaption b{flex:none;width:24px;height:24px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:13px}
.shot .ph{aspect-ratio:9/12;max-height:420px;width:100%;display:grid;place-items:center;color:#9aa6bd;background:repeating-linear-gradient(45deg,#f6f9fd 0 12px,#eef3fa 12px 24px)}

.callout{border-radius:14px;padding:14px 16px 14px 52px;position:relative;margin:16px 0;font-size:16px}
.callout::before{position:absolute;left:14px;top:12px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-weight:700;color:#fff}
.callout.warn{background:var(--warn-soft);border:1px solid #f3c98b}.callout.warn::before{content:"!";background:var(--warn)}
.callout.ok{background:var(--ok-soft);border:1px solid #a9dcbf}.callout.ok::before{content:"✓";background:var(--ok)}

.faq details{border:1px solid var(--line);border-radius:14px;margin:10px 0;background:#fff}
.faq summary{padding:14px 44px 14px 16px;font-weight:600;cursor:pointer;list-style:none;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:16px;top:10px;font-size:22px;color:var(--brand)}
.faq details[open] summary::after{content:"–"}
.faq details>div{padding:0 16px 14px;color:var(--ink-2)}

.sources{font-size:14px;color:var(--ink-2)}.sources ol{padding-left:20px}

.author{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center;border:1px solid var(--line);border-radius:var(--r-card);padding:16px 18px;margin:26px 0;background:#fff}
.author .pair{display:flex}.author .pair img{width:56px;height:56px;border-radius:50%;border:3px solid #fff;box-shadow:0 2px 8px rgba(7,26,76,.15)}
.author .pair img+img{margin-left:-14px}
.author b{display:block}.author p{margin:2px 0 0;font-size:15px;color:var(--ink-2)}

.related{margin-top:10px}.related .posts{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.related .post h3{font-size:16px}
