/* Fake Chat Maker page: "The Daily Fake", a tabloid front page. Fonts are self-hosted (css/fonts-pages.css):
   Anton (headlines), Newsreader (text), UnifrakturCook (nameplate), Archivo Narrow (labels), Figtree (the chat). */
:root{--np:#ebe5d3;--ink:#181613;--red:#cf1f17;--hi:#ffe94a;--mut:#58524a;--rule:#181613;color-scheme:light}
*{box-sizing:border-box;margin:0}
html{-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{font:400 18px/1.5 "Newsreader",Georgia,serif;color:var(--ink);background:var(--np);background-image:radial-gradient(rgba(24,22,19,.07) 1px,transparent 1.4px);background-size:5px 5px;overflow-x:clip}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
ul{list-style:none;padding:0}
:focus-visible{outline:3px solid var(--red);outline-offset:2px}
.skip{position:fixed;left:12px;top:-70px;z-index:100;background:var(--ink);color:var(--np);padding:10px 16px;font:600 14px/1 "Archivo Narrow",sans-serif;letter-spacing:.1em;text-transform:uppercase;text-decoration:none}
.skip:focus{top:12px}
.wrap{max-width:1240px;margin:0 auto;padding-inline:clamp(14px,3vw,36px)}
.cond{font-family:"Anton",Impact,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:.01em;line-height:.98;overflow-wrap:break-word;hyphens:auto;text-wrap:balance}
.lab{font:600 13px/1 "Archivo Narrow",sans-serif;letter-spacing:.14em;text-transform:uppercase}

/* top strip, ticker */
.strip{border-bottom:3px double var(--rule);display:flex;align-items:center;flex-wrap:wrap;gap:8px 22px;padding-block:9px}
.strip a{text-decoration:none}
.strip a:hover{background:var(--hi)}
.strip .vol{margin-right:auto}
.strip nav{display:flex;gap:6px 22px;flex-wrap:wrap}
.strip .i18n-dd{margin:0;font:600 13px/1 "Archivo Narrow",sans-serif}
.strip .i18n-dd>summary{border:1px solid var(--ink);border-radius:0;padding:5px 9px;letter-spacing:.14em;text-transform:uppercase}
.strip .i18n-dd>summary:hover,.strip .i18n-dd>summary:focus-visible{background:var(--hi)}
.strip .i18n-dd>ul{background:var(--ink);color:var(--np);border:2px solid var(--ink);border-radius:0;box-shadow:5px 5px 0 rgba(24,22,19,.25);font-family:"Archivo Narrow",sans-serif}
.strip .i18n-dd>ul a{border-radius:0;font-size:15px}
.strip .i18n-dd>ul a:hover,.strip .i18n-dd>ul a:focus-visible{background:var(--hi);color:var(--ink)}
.strip .i18n-dd>ul a[aria-current]{background:var(--np);color:var(--ink)}
.tick{background:var(--red);color:#fff;overflow:hidden;white-space:nowrap;padding:8px 0;font:400 15px/1 "Anton",sans-serif;letter-spacing:.08em;text-transform:uppercase}
.tk-track{display:flex;width:max-content;animation:tick var(--dur,40s) linear infinite}
.tk{display:flex;flex:none}
.tk span::before{content:"\2022";margin:0 1.2em}
@keyframes tick{to{transform:translateX(calc(-1 * var(--w,100%)))}}

/* masthead */
.mast{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:22px 0 14px;border-bottom:3px solid var(--rule)}
.mid{text-align:center;min-width:0}
.np{font:700 clamp(52px,9.6vw,138px)/.95 "UnifrakturCook","Old English Text MT",serif;letter-spacing:0;overflow-wrap:break-word}
.mid h1{font-size:clamp(17px,2.1vw,27px);letter-spacing:.12em;line-height:1.1;margin-top:8px;padding:6px 0;border-block:1px solid var(--rule)}
.ear{border:2px solid var(--rule);padding:10px 12px;text-align:center;font-size:15px;line-height:1.35;max-width:210px;background:rgba(255,255,255,.35)}
.ear .big{font:400 clamp(20px,1.9vw,26px)/1.05 "Anton",sans-serif;text-transform:uppercase;margin-top:4px;overflow-wrap:break-word;hyphens:auto}
.ear .big+p{margin-top:4px}
.ear.r{justify-self:end}
.dateline{display:flex;justify-content:space-between;gap:6px 18px;flex-wrap:wrap;border-bottom:1px solid var(--rule);padding:7px 0}

/* front page */
.front{display:grid;grid-template-columns:2.35fr 1fr;padding:22px 0 8px}
.main{padding-right:clamp(16px,2.6vw,34px);border-right:1px solid var(--rule);min-width:0}
.side{padding-left:clamp(16px,2.6vw,34px);display:grid;gap:22px;align-content:start;min-width:0}
.kick{display:inline-block;background:var(--red);color:#fff;padding:5px 9px;margin-bottom:12px}
.story{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(18px,3vw,36px);align-items:start}
.story>*{min-width:0}
.story h2{font-size:clamp(42px,4.9vw,72px);line-height:1.06;margin-bottom:16px;text-wrap:balance}
/* The highlight is clamped to the cap height of Anton (content area is 1.51em tall, far more than the line pitch), so it never covers the line above */
.story h2 mark{background:linear-gradient(transparent 9%,var(--hi) 9%,var(--hi) 85%,transparent 85%);color:inherit;padding:0 .1em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.deck{font-size:clamp(19px,1.8vw,23px);font-style:italic;line-height:1.4;margin-bottom:16px}
.by{color:var(--mut);margin-bottom:18px;line-height:1.3}
.cta{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.cta img{height:54px;width:auto}
.btn{font:400 18px/1 "Anton",sans-serif;text-transform:uppercase;letter-spacing:.05em;border:3px solid var(--ink);padding:12px 18px;background:var(--hi);text-decoration:none;box-shadow:4px 4px 0 var(--ink);transition:transform .1s,box-shadow .1s}
.btn:hover{background:#fff27a}
.btn:active{transform:translate(4px,4px);box-shadow:none}
.photo{border:2px solid var(--ink);background:#fff;padding:10px;rotate:1.2deg;box-shadow:6px 6px 0 rgba(24,22,19,.25)}
.photo .ph{height:510px;border:2px solid var(--ink);filter:grayscale(.35) contrast(1.05)}
.photo figcaption{font-size:14px;font-style:italic;color:var(--mut);padding-top:8px;line-height:1.3}
.photo .fc-tabs{margin-top:10px;color:var(--ink)}
.box{border:2px solid var(--ink);padding:16px 16px 18px;background:rgba(255,255,255,.4)}
.box h2{font-size:26px;margin-bottom:10px;border-bottom:2px solid var(--ink);padding-bottom:8px}
.toc{display:grid;gap:6px;font-size:17px;counter-reset:pg 1}
.toc li{display:flex;gap:12px;border-bottom:1px dotted var(--ink);padding-bottom:4px;counter-increment:pg}
.toc li::after{content:counter(pg);margin-left:auto}
.toc a{text-decoration:none}
.toc a:hover{background:var(--hi)}
.coupon{border:3px dashed var(--ink);padding:16px;text-align:center;background:var(--hi)}
.coupon h2{font-size:30px;margin-bottom:6px}
.coupon p{font-size:16px;margin-bottom:12px}
.coupon img{height:50px;margin:0 auto}
.qa p{font-size:16.5px}

/* three columns */
.rulebar{border-top:3px double var(--rule);margin-top:26px;padding-top:6px}
.cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:clamp(28px,4.4vw,56px);padding:18px 0 10px}
.art{position:relative;display:grid;grid-row:span 5;grid-template-rows:subgrid;align-content:start;scroll-margin-top:12px}
.art+.art::before{content:"";position:absolute;inset:0 auto 0 calc(clamp(28px,4.4vw,56px) / -2);border-left:1px solid var(--rule)}
.art h2{font-size:clamp(32px,3.4vw,46px);margin:8px 0 12px}
.fig{border:1px solid var(--ink);margin-bottom:12px;background:#fff;filter:grayscale(1) contrast(1.15);mix-blend-mode:multiply}
/* the store screens (600x1067) without the caption baked into the top 195px */
.crop-shot{aspect-ratio:600/560;overflow:hidden;position:relative}
.crop-shot img{width:100%;height:auto;margin-top:-32.5%}
.art p{hyphens:auto}
.art p:not(.cap)::first-letter{font:400 3.3em/.8 "Anton",sans-serif;float:left;padding:.06em .1em 0 0;color:var(--red)}
.art .cap{font-size:14px;font-style:italic;color:var(--mut);margin-top:8px}

/* classifieds */
.cls{margin-top:26px;border-top:3px solid var(--rule);padding-top:10px;scroll-margin-top:12px}
.cls>h2{font-size:clamp(34px,4.4vw,58px);text-align:center;margin-bottom:16px}
.ads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ad{border:2px solid var(--ink);padding:14px 16px;background:rgba(255,255,255,.35);font-size:17px}
.ad h3{font:400 22px/1 "Anton",sans-serif;text-transform:uppercase;margin-bottom:6px;letter-spacing:.02em;overflow-wrap:break-word}
.ad:nth-child(2),.ad:nth-child(5){background:var(--hi)}
.ad:nth-child(3){border-style:dashed}

/* footer */
footer{margin-top:40px;background:var(--ink);color:var(--np);padding:30px 0 36px}
.corr{border:2px solid var(--np);padding:16px 18px;max-width:78ch;font-size:16px;margin-bottom:22px}
.corr h2{display:inline;font:400 22px/1 "Anton",sans-serif;text-transform:uppercase;letter-spacing:.05em;margin-right:8px}
.corr p{display:inline}
footer nav{display:flex;gap:10px 26px;flex-wrap:wrap}
footer nav+nav{margin-top:14px;opacity:.8}
footer a{text-decoration:none;border-bottom:1px solid transparent}
footer a:hover,footer a:focus-visible{border-color:var(--np)}
footer :focus-visible{outline-color:var(--hi)}
footer .row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 24px;margin-top:22px;padding-top:14px;border-top:1px solid rgba(235,229,211,.3);font-size:14px;opacity:.85}
footer .i18n-langs{padding:18px 0 0;font:600 13px/1.4 "Archivo Narrow",sans-serif;letter-spacing:.1em}
footer .i18n-langs a{border-bottom:0;border-radius:0;padding:.45rem .5rem}
footer .i18n-langs a:hover,footer .i18n-langs a:focus-visible{background:var(--hi);color:var(--ink);opacity:1}
footer .i18n-langs a[aria-current]{box-shadow:inset 0 0 0 1px var(--np)}

@media (max-width:980px){
  .front,.story,.cols,.ads{grid-template-columns:minmax(0,1fr)}
  .story h2{font-size:clamp(34px,9.5vw,56px)}
  .main{padding-right:0;border-right:0}
  .side{padding-left:0;margin-top:26px}
  .mast{grid-template-columns:minmax(0,1fr)}
  .ear{display:none}
  .ear.r{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:2px 10px;max-width:none;justify-self:stretch;border-width:1px 0;padding:7px 0;background:none;font-size:15px}
  .ear.r .lab,.ear.r .big,.ear.r p{margin:0}
  .ear.r .big{font-size:18px}
  .art{display:block;grid-row:auto;padding:0 0 26px}
  .art+.art::before{display:none}
  .photo{max-width:380px;rotate:0deg}
}
@media (max-width:640px){
  .strip .i18n-dd{order:1;margin-left:auto}
  .strip .back{order:0}
  .strip .vol{order:2;flex-basis:100%;margin-right:0}
  .strip nav{order:3;flex-basis:100%}
}
@media (prefers-reduced-motion:reduce){
  .tick{white-space:normal}
  .tk-track{animation:none;width:auto}
  .tk{flex-wrap:wrap;justify-content:center}
  .tk-track .tk+.tk{display:none}
  .btn{transition:none}
}

/* Japanese and Korean: the Latin faces carry no CJK glyphs, so headlines and labels fall back to a bold gothic, text to a serif */
:lang(ja) body{font-family:"Newsreader","Hiragino Mincho ProN","Yu Mincho","YuMincho","Noto Serif JP","MS PMincho",serif}
:lang(ko) body{font-family:"Newsreader","Apple Myungjo","Nanum Myeongjo","Noto Serif KR","Batang",serif}
:lang(ja) :is(.cond,.lab,.btn,.tick,.ear .big,.ad h3,.corr h2,.skip,.strip .i18n-dd,.pick button){font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic","YuGothic","Noto Sans JP","Meiryo",sans-serif;font-weight:800;text-transform:none;letter-spacing:.03em;line-height:1.25}
:lang(ko) :is(.cond,.lab,.btn,.tick,.ear .big,.ad h3,.corr h2,.skip,.strip .i18n-dd,.pick button){font-family:"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR","Nanum Gothic",sans-serif;font-weight:800;text-transform:none;letter-spacing:.02em;line-height:1.25}
:is(:lang(ja),:lang(ko)) .lab{letter-spacing:.06em;font-size:13px}
:is(:lang(ja),:lang(ko)) .story h2 mark{background:var(--hi)}

/* Latin languages with accents on capitals (Ä, Ü, Ł, Ś, Ç, Ş…): Anton needs more leading than the English headline, or the marks hit the line above */
:is(:lang(de),:lang(pl),:lang(fr),:lang(es),:lang(pt),:lang(it),:lang(cs),:lang(tr)) :is(.cond,.ad h3,.ear .big){line-height:1.12}
:is(:lang(de),:lang(pl),:lang(fr),:lang(es),:lang(pt),:lang(it),:lang(cs),:lang(tr)) .story h2{line-height:1.2}
:is(:lang(ja),:lang(ko)) .art p::first-letter{all:unset}
:lang(ja) .deck,:lang(ko) .deck{font-style:normal}
:lang(ja) .photo figcaption,:lang(ko) .photo figcaption,:lang(ja) .cap,:lang(ko) .cap{font-style:normal}

/* the chat (what the app itself renders; three looks: Ink, Riso, Mono) */
.fc{--bg:#f4efe6;--hd:#ffd84a;--hdfg:#1a1714;--me:#ff5a36;--mefg:#1a1714;--th:#cdb8ff;--thfg:#1a1714;--line:#1a1714;--bw:1.5px;
  display:flex;flex-direction:column;min-height:0;height:100%;background:var(--bg);color:var(--thfg);
  font:500 14px/1.35 "Figtree",system-ui,sans-serif;overflow:hidden;position:relative;transition:background .35s}
.fc[data-style=ink]{--bg:#d9cdb4;--hd:#1a1714;--hdfg:#f4efe6;--me:#1a1714;--mefg:#f4efe6;--th:#efe9db;--thfg:#1a1714}
.fc[data-style=riso]{--bg:#f4efe6}
.fc[data-style=mono]{--bg:#e6e3dc;--hd:#3a3f47;--hdfg:#fff;--me:#3a3f47;--mefg:#fff;--th:#f6f4f0;--thfg:#1a1714;--bw:0px}
.fc-h{display:flex;align-items:center;gap:9px;padding:10px 12px;background:var(--hd);color:var(--hdfg);font-weight:700;flex:none;transition:background .35s,color .35s}
.fc-h i{width:26px;height:26px;border-radius:50%;background:#cdb8ff;color:#1a1714;display:grid;place-items:center;font:700 12px/1 "Figtree",sans-serif;font-style:normal;flex:none}
.fc-l{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:7px;padding:12px 10px;scrollbar-width:none}
.fc-l::-webkit-scrollbar{display:none}
.fc-m{max-width:82%;width:fit-content;padding:7px 11px 5px;border:var(--bw) solid var(--line);border-radius:16px 16px 16px 4px;background:var(--th);color:var(--thfg);animation:fcpop .2s ease-out;overflow-wrap:anywhere;transition:background .35s,color .35s}
.fc-m.me{margin-left:auto;background:var(--me);color:var(--mefg);border-radius:16px 16px 4px 16px}
.fc-m small{display:flex;gap:4px;justify-content:flex-end;align-items:center;font:600 10px/1 "Figtree",sans-serif;opacity:.7;margin-top:3px}
.fc-m small svg{width:13px;height:13px}
.fc-t{display:flex;gap:4px;padding:10px 13px}
.fc-t b{width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.35;animation:fcdot 1s infinite}
.fc-t b:nth-child(2){animation-delay:.15s}
.fc-t b:nth-child(3){animation-delay:.3s}
.fc-c{display:flex;gap:6px;padding:8px;background:rgba(255,255,255,.4);border-top:2px solid var(--line);flex:none}
.fc-c[hidden]{display:none}
.fc[data-style=mono] .fc-c{border-top-width:0}
.fc-w{display:flex;border:2px solid var(--line);border-radius:10px;overflow:hidden;flex:none}
.fc-w button{font:700 12px/1 "Figtree",system-ui,sans-serif;padding:0 10px;color:inherit;background:transparent;border:0;cursor:pointer}
.fc-w button[aria-pressed=true]{background:var(--me);color:var(--mefg)}
.fc-w button[data-w=t][aria-pressed=true]{background:var(--th);color:var(--thfg)}
.fc-c input{flex:1;min-width:0;font:500 13px/1 "Figtree",system-ui,sans-serif;padding:10px;border:2px solid var(--line);border-radius:10px;background:rgba(255,255,255,.65);color:#1a1714}
.fc-c input::placeholder{color:#6b645a}
.fc-c button.go{flex:none;width:38px;border:2px solid var(--line);border-radius:10px;background:var(--me);color:var(--mefg);display:grid;place-items:center;cursor:pointer;padding:0}
.fc-c button.go svg{width:18px;height:18px}
.fc-c :focus-visible,.fc-tabs :focus-visible{outline:3px solid #1a1714;outline-offset:2px}
.fc-tabs{display:inline-flex;gap:6px}
.fc-tabs[hidden]{display:none}
.fc-tabs button{font:700 14px/1 "Figtree",system-ui,sans-serif;padding:9px 14px;border:2px solid currentColor;border-radius:10px;background:transparent;color:inherit;cursor:pointer}
.fc-tabs button[aria-pressed=true]{background:#1a1714;color:#f4efe6;border-color:#1a1714}
@keyframes fcpop{from{transform:scale(1.06);opacity:0}to{transform:none;opacity:1}}
@keyframes fcdot{0%,60%,100%{opacity:.3;transform:none}30%{opacity:.9;transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.fc,.fc-h,.fc-m{transition:none}.fc-m,.fc-t b{animation:none}}

/* ticker: a pause button (WCAG 2.2.2); shown by the script, only while the ticker moves */
.tickbar{position:relative}
.tk-pause{position:absolute;top:0;right:0;bottom:0;width:44px;margin:0;padding:0;border:0;background:var(--red);color:#fff;cursor:pointer;display:grid;place-items:center}
.tk-pause::after{content:"";position:absolute;right:100%;top:0;bottom:0;width:18px;background:linear-gradient(90deg,transparent,var(--red));pointer-events:none}
.tk-pause[hidden]{display:none}
.tk-pause::before{content:"";width:10px;height:12px;border-left:3px solid currentColor;border-right:3px solid currentColor}
.tk-pause[aria-pressed=true]::before{width:0;height:0;border:0;border-left:11px solid currentColor;border-block:7px solid transparent}
.tk-pause:focus-visible{outline:3px solid #fff;outline-offset:-5px}
.tickbar.paused .tk-track{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.tk-pause{display:none}}

/* cover stories: the headline, the deck, the chat and the caption change together (Battery, Sam, Coach, Landlord, Boss) */
.kickrow{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-bottom:14px}
.kickrow .kick{margin:0}
.pick{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.pick[hidden]{display:none}
.pick .lab{color:var(--mut);margin-right:4px}
.pick button{font:600 13px/1 "Archivo Narrow",sans-serif;letter-spacing:.12em;text-transform:uppercase;border:2px solid var(--ink);background:transparent;color:var(--ink);padding:10px 12px;min-height:40px;cursor:pointer}
.pick button:hover{background:var(--hi)}
.pick button[aria-pressed=true]{background:var(--ink);color:var(--np)}
/* all headlines sit in one grid cell, so the tallest one sets the height and nothing below moves; without scripts only the first shows */
.hl{display:grid}
.hl-i{min-width:0}
.hl-i:not(.on){display:none}
.hl.js .hl-i{display:block;grid-area:1/1;visibility:hidden}
.hl.js .hl-i.on{visibility:visible}
.hl.sw .hl-i.on{animation:hlin .3s ease-out}
@keyframes hlin{from{opacity:0;transform:translateY(5px)}}
@media (prefers-reduced-motion:reduce){.hl.sw .hl-i.on{animation:none}}
.photo figcaption .ex{font-style:normal;font-weight:600}
.js-only{display:none}
.js .js-only{display:inline}
/* the example chat starts empty when the script is going to type it (no flash of the finished chat); if the script never comes, it shows after 3 s */
.js #demo[data-animate] .fc-l[data-static]{visibility:hidden;animation:fcreveal 0s 3s forwards}
@keyframes fcreveal{to{visibility:visible}}
/* the frame holds all six messages of every chat; the headlines are longer than before, so a bit smaller on desktop */
@media (min-width:981px){
  .story h2{font-size:clamp(40px,4.3vw,64px)}
}
@media (min-width:981px) and (max-width:1180px){.photo .ph{height:570px}}
/* "Them" pressed was nearly invisible in Mono; Riso timestamps on orange were too faint */
.fc[data-style=mono] .fc-w button[data-w=t][aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--line)}
.fc[data-style=riso] .fc-m small{opacity:.88}
/* the app screenshots are colour plates: every chat is in another look, so the grayscale newspaper filter would hide the point */
.fig.crop-shot{filter:saturate(.95) contrast(1.02);mix-blend-mode:normal}
/* the cover chat: every story opens in its own look, like a different chat app (the app has the same looks; Ink / Riso / Mono stay as the visitor's own picks) */
.photo .ph{filter:contrast(1.02)}
.fc-h i{background:var(--av,#cdb8ff);color:var(--avfg,#1a1714)}
.fc-c{background:var(--cbg,rgba(255,255,255,.4))}
.fc-c input{background:var(--inbg,rgba(255,255,255,.65));color:var(--infg,#1a1714)}
.fc-c input::placeholder{color:var(--ph,#6b645a)}
.fc-c :focus-visible{outline-color:var(--fo,#1a1714)}
.fc[data-style=velvet]{--bg:#0b0b0d;--hd:#17171b;--hdfg:#f2f2f5;--me:#6d35e8;--mefg:#fff;--th:#26262c;--thfg:#f2f2f5;--line:#34343c;--bw:0px;--av:#ff9fc2;--cbg:#141417;--inbg:#26262c;--infg:#f2f2f5;--ph:#9a9aa6;--fo:#fff}
.fc[data-style=harbor]{--bg:#fff;--hd:#fff;--hdfg:#1a1714;--me:#1a68d0;--mefg:#fff;--th:#ececef;--thfg:#1a1714;--line:#dcdce3;--bw:0px;--av:#1a68d0;--avfg:#fff;--cbg:#fff;--inbg:#f1f1f4}
.fc[data-style=meadow]{--bg:#eae2d7;--hd:#0f6b5e;--hdfg:#fff;--me:#d7f7c6;--mefg:#1a1714;--th:#fff;--thfg:#1a1714;--line:#d2c8b8;--bw:0px;--av:#d8efe9;--avfg:#0f6b5e;--cbg:#f3efe8;--inbg:#fff}
.fc[data-style=sunny]{--bg:#fff;--hd:#fff;--hdfg:#1a1714;--me:#ffd600;--mefg:#1a1714;--th:#efeff1;--thfg:#1a1714;--line:#dcdce3;--bw:0px;--av:#e0a800;--avfg:#1a1714;--cbg:#fff;--inbg:#f1f1f4}
.fc[data-style=dusk]{--bg:#fff;--hd:#5a2fd6;--hdfg:#fff;--me:#5a2fd6;--mefg:#fff;--th:#ececf1;--thfg:#1a1714;--line:#dcd8ec;--bw:0px;--av:#d9ccff;--avfg:#3a1fa0;--cbg:#faf9fd;--inbg:#fff}
.fc[data-style=velvet] .fc-c,.fc[data-style=harbor] .fc-c,.fc[data-style=meadow] .fc-c,.fc[data-style=sunny] .fc-c,.fc[data-style=dusk] .fc-c{border-top-width:1px}
.fc[data-style=harbor] .fc-h,.fc[data-style=sunny] .fc-h{box-shadow:0 1px 0 var(--line)}
.fc[data-style=velvet] .fc-w button[data-w=t][aria-pressed=true],.fc[data-style=harbor] .fc-w button[data-w=t][aria-pressed=true],.fc[data-style=sunny] .fc-w button[data-w=t][aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--line)}
/* page 5 label above the classifieds */
.cls>.lab{display:block;text-align:center;margin-bottom:6px}
/* top strip links: a 25 px tall hit area instead of the 13 px text box */
.strip nav a,.strip .back{display:inline-block;padding:6px 0}
/* tablets: figure on the left, text on the right (one very wide screenshot per article was too much) */
@media (min-width:641px) and (max-width:980px){
  .art{display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr);grid-template-rows:auto auto auto 1fr;column-gap:24px;align-items:start}
  .art>.lab,.art>h2{grid-column:1/-1}
  .art>.fig{grid-column:1;grid-row:3/span 2;margin-bottom:0}
  .art>p:not(.cap){grid-column:2;grid-row:3}
  .art>.cap{grid-column:2;grid-row:4}
}
/* narrow screens: bigger touch targets in the top strip */
@media (max-width:640px){
  .strip{gap:0 16px}
  .strip nav a,.strip .back{padding:12px 2px}
  .strip nav{gap:0 8px}
  .strip .i18n-dd>summary{padding:12px 10px}
}
.fc[data-style=velvet] .fc-m.me small{opacity:.92}
