/* What the Fwuck — a light news-site layout: masthead, category bar, pinned top stories, one row per category. */
:root {
  --ink: #111111; --text: #1f2328; --dim: #5b636b; --line: #e3e5e8; --bg: #ffffff; --bg-2: #f5f6f7;
  --brand: #E8112D; --r: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --head: "Arial Black", "Helvetica Neue", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* masthead */
.masthead { background: var(--ink); color: #fff; }
.mast-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 12px; flex-wrap: wrap; }
/* the whole web address on ONE line, words spaced, so nobody reads "FWUCK.com" on its own (Jason) */
.logo { display: inline-block; white-space: nowrap; text-decoration: none; line-height: 1; font-family: var(--head); font-weight: 900;
  font-size: clamp(22px, 6.4vw, 38px); letter-spacing: .01em; word-spacing: .22em; color: #fff; }
.logo .l1 { color: #fff; }
.logo .l2 { color: var(--brand); }
.logo .dotcom { color: #fff; letter-spacing: 0; }
.logo-sm { font-size: clamp(20px, 5vw, 28px); }
.mast-tag { margin: 0; color: #c9ccd0; font-size: 15px; font-style: italic; }
.catnav { background: #1b1b1b; border-top: 1px solid #2a2a2a; position: sticky; top: 0; z-index: 20; }
.catnav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.catnav ul::-webkit-scrollbar { display: none; }
.catnav a { display: block; padding: 12px 12px; white-space: nowrap; text-decoration: none; color: #e6e7e9; font-weight: 700; font-size: 14px; border-bottom: 3px solid transparent; }
.catnav a:hover { color: #fff; border-bottom-color: #555; }
.catnav a[aria-current] { color: #fff; border-bottom-color: var(--brand); }
@media (min-width: 900px) { .catnav { position: sticky; } }

.dateline { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 4px; color: var(--dim); font-size: 13px; font-weight: 600; }
.never-chip { border: 1.5px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

/* section headers: a bold rule in the category's color */
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding-top: 10px;
  border-top: 4px solid var(--c, var(--ink)); font: 900 24px/1.1 var(--head); letter-spacing: -.01em; color: var(--ink); text-transform: uppercase; }
.sec-h a { text-decoration: none; }
.sec-h a:hover { color: var(--c, var(--brand)); }
.see-all { font: 700 14px var(--font); text-transform: none; color: var(--c, var(--brand)) !important; white-space: nowrap; }
.top, .cat, .more { padding: 22px 0 30px; }

/* story cards: the whole card is one link; the category kicker sits above it */
.story { position: relative; display: grid; gap: 10px; align-content: start; }
.story-link { position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.story:hover .story-h { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.kicker { position: relative; z-index: 2; justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c); text-decoration: none; }
.kicker:hover { text-decoration: underline; }
.story-text { display: grid; gap: 6px; align-content: start; }
.story-h { margin: 0; font-size: 19px; line-height: 1.25; font-weight: 800; color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
.story-d { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-meta { color: #80878e; font-size: 12.5px; font-weight: 600; }
.thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--c); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-word { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 900 clamp(22px, 3vw, 34px) var(--head); text-transform: uppercase; letter-spacing: -.01em;
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(0,0,0,.18)); }

/* top stories: one big lead, the rest stacked beside it */
.top-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .top-grid { grid-template-columns: 1.65fr 1fr; } }
.story-lead .story-h { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
.story-lead .story-d { font-size: 17px; -webkit-line-clamp: 4; }
.top-side { display: grid; gap: 16px; align-content: start; }
.story-line { grid-template-columns: 132px 1fr; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.story-line:last-child { border-bottom: 0; }
.story-line .story-h { font-size: 16.5px; }
.story-line .thumb { aspect-ratio: 4 / 3; border-radius: 8px; }
.story-line .thumb-word { font-size: 15px; }

/* category rows */
.cat-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } .cat-grid.three { grid-template-columns: repeat(3, 1fr); } }
.empty { margin: 0; padding: 18px 20px; border-radius: var(--r); background: var(--bg-2); color: var(--dim); font-size: 15px; border-left: 4px solid var(--c); }

/* category page */
.cat-page { padding-bottom: 10px; }
.cat-head { padding: 26px 0 18px; border-bottom: 4px solid var(--c); margin-bottom: 24px; }
.cat-head h1 { margin: 0; font: 900 clamp(32px, 5vw, 48px)/1.05 var(--head); color: var(--ink); text-transform: uppercase; letter-spacing: -.02em; }
.cat-head p { margin: 8px 0 0; color: var(--dim); font-size: 17px; }
.cat-grid.all { margin-bottom: 36px; }

/* article page */
.article-page { padding-top: 26px; }
.ahead { display: grid; gap: 10px; margin-bottom: 22px; }
.ahead h1 { margin: 0; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -.025em; color: var(--ink); font-weight: 850; text-wrap: balance; }
.adek { margin: 0; font-size: 19px; line-height: 1.45; color: #3c434a; }
.ameta { margin: 0; color: var(--dim); font-size: 14px; font-weight: 600; }
.prose { font-size: 18px; line-height: 1.7; color: #22272d; }
.prose h2 { font-size: 26px; line-height: 1.2; margin: 36px 0 10px; color: var(--ink); letter-spacing: -.015em; }
.prose h3 { font-size: 20px; margin: 26px 0 6px; color: var(--ink); }
.prose a { color: #0b57d0; text-underline-offset: 2px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-2); }
.prose blockquote { margin: 18px 0; padding: 4px 18px; border-left: 4px solid var(--brand); color: #3c434a; }
.prose img, .afig img { border-radius: var(--r); }
.afig { margin: 22px 0; }
.afig figcaption { font-size: 13.5px; color: var(--dim); margin-top: 6px; }
.adisc { margin: 30px 0 40px; padding: 16px 18px; background: var(--bg-2); border-radius: var(--r); font-size: 14.5px; color: #3c434a; }
.adisc a { color: #0b57d0; }

/* app ads (same look as on Roadster Flies) */
.apps-band { background: #0f1113; padding: 44px 0; margin: 10px 0; }
.ad-ribbon { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-weight: 600; font-size: 15px; color: #c9ccd0; }
.ad-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #ffd23f; color: #1a1400; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.apps-grid { display: grid; gap: 16px; margin-top: 18px; }
@media (min-width: 900px) { .apps-grid { grid-template-columns: 1fr 1fr; } }
.app-tile { display: grid; gap: 14px; align-content: start; padding: 28px 26px 26px; border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-head .icon { width: 64px; height: 64px; border-radius: 15px; }
.band-name { font-weight: 760; font-size: 22px; letter-spacing: -.01em; }
.band-name span { display: block; font-weight: 600; font-size: 13.5px; }
.app-chip { margin-left: auto; align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1.5px solid currentColor; text-transform: uppercase; letter-spacing: .08em; }
.app-tile h2 { font-size: clamp(25px, 2.8vw, 32px); line-height: 1.15; letter-spacing: -.025em; font-weight: 760; margin: 4px 0 0; text-wrap: balance; }
.app-tile p { font-size: 16.5px; margin: 0; }
.ad-sub { font-size: clamp(19px, 2vw, 22px); line-height: 1.25; font-weight: 700; letter-spacing: -.015em; margin-top: -4px; text-wrap: balance; }
.cta-line { font-weight: 700; font-size: 15px; margin-top: 4px; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin-left: -10px; }
.badge-link { display: inline-flex; align-items: center; border-radius: 8px; }
.badge-apple { height: 40px; width: auto; margin: 10px; }
.badge-google { height: 59.5px; width: auto; }
.app-site { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; margin-top: 2px; }
.app-site:hover { text-decoration: underline; }
.tile-cc { background: linear-gradient(180deg, #CFE6F5 0%, #E9F1F7 50%, #FBEFE0 100%); color: #14212E; }
.tile-cc .band-name span, .tile-cc p { color: #55697C; }
.tile-cc .app-chip, .tile-cc .app-site, .tile-cc .ad-sub { color: #15618F; }
.cc-steps { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 10px; }
.cc-step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.94); }
.cc-step > div { display: grid; gap: 2px; min-width: 0; }
.cc-ico, .so-ico { font-size: 26px; line-height: 1.1; }
.cc-when { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cc-step.open .cc-when { color: #15618F; } .cc-step.close .cc-when { color: #B85C10; } .cc-step.win .cc-when { color: #1C5A96; }
.cc-step strong { font-size: 18px; color: #14212E; line-height: 1.25; }
.cc-text { font-size: 15px; color: #55697C; line-height: 1.45; }
.tile-so { background: #FFFFFF; color: #111417; border-top: 6px solid #0B5FAE; }
.tile-so .band-name span { color: #4A5560; }
.tile-so .app-chip, .tile-so .app-site, .tile-so .ad-sub { color: #0B5FAE; }
.so-qa { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 10px; }
.so-qa li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: #F4F7FB; border: 1px solid #D5DDE5; }
.so-qa li > div { display: grid; gap: 4px; min-width: 0; }
.so-q { font-size: 18px; line-height: 1.3; color: #111417; }
.so-a { font-size: 15px; line-height: 1.45; color: #4A5560; }
.so-a b { color: #1B7A3D; font-weight: 800; }
.continues-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin: -20px 0 22px; padding: 10px 14px; color: #c9ccd0; font-weight: 600; font-size: 14px; text-decoration: none; }
.continues-note:hover { color: #fff; }

/* footer */
.foot { background: var(--ink); color: #c9ccd0; padding: 40px 0 30px; margin-top: 10px; }
.foot-cols { display: grid; gap: 28px; }
@media (min-width: 800px) { .foot-cols { grid-template-columns: 2fr 1fr 1fr; } }
.foot h5 { margin: 0 0 10px; color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.never { max-width: 46ch; margin: 14px 0 0; font-size: 15px; }
.never strong { color: #fff; }
.disclaimer { margin: 30px 0 0; padding-top: 18px; border-top: 1px solid #2a2a2a; font-size: 12.5px; line-height: 1.6; color: #8d9399; }
.hero-fig { margin: 0 0 26px; }
.hero-fig img { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: var(--r); background: var(--bg-2); }
.hero-fig figcaption { margin-top: 6px; font-size: 12.5px; color: var(--dim); }
.hero-fig figcaption a { color: inherit; }

/* special blocks used by articles shared from Roadster Flies (light versions) */
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: #000; cursor: pointer; margin: 28px 0 8px; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video:hover img { opacity: 1; }
.video .play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.video .play::before { content: ""; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #0a0a0a; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcap { font-size: 13px; color: var(--dim); margin: 0 0 28px; }
.prose .afig + .afig { margin-top: 12px; }
.kr-banner { position: relative; overflow: hidden; margin: 32px 0; padding: 56px 24px 44px; border-radius: 14px; text-align: center;
  background: radial-gradient(80% 120% at 50% 120%, rgba(255,45,45,.18), transparent 60%), #030303; }
.kr-scan { position: absolute; left: 10%; right: 10%; top: 26px; height: 10px; border-radius: 5px; background: #200; overflow: hidden; }
.kr-scan::before { content: ""; position: absolute; top: 0; bottom: 0; width: 22%; border-radius: 5px;
  background: linear-gradient(90deg, transparent, #ff1a1a 40%, #ff6b6b 50%, #ff1a1a 60%, transparent); box-shadow: 0 0 22px #ff1a1a; animation: krscan 1.6s ease-in-out infinite alternate; }
@keyframes krscan { from { left: -2%; } to { left: 80%; } }
@media (prefers-reduced-motion: reduce) { .kr-scan::before { animation: none; left: 39%; } }
.kr-title { font-weight: 800; font-size: clamp(34px, 7vw, 72px); letter-spacing: .06em; line-height: 1; color: #f5f5f5; font-style: italic; }
.kr-title span { color: #ff2d2d; font-style: normal; font-weight: 300; letter-spacing: 0; margin: 0 .2em; }
.kr-sub { margin-top: 14px; font: 500 13px ui-monospace, Consolas, monospace; letter-spacing: .4em; color: #9a9a9a; }
.fun-grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 24px 0 10px; }
@media (min-width: 560px) { .fun-grid { grid-template-columns: 1fr 1fr; } }
.fun-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 18px; background: var(--bg-2); min-width: 0; }
.fun-card.hot { border-color: #f3a6b0; background: #fff1f3; }
.fun-emoji { font-size: 34px; line-height: 1; }
.fun-big { font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-top: 12px; color: var(--ink); font-variant-numeric: tabular-nums; }
.fun-label { font-weight: 700; font-size: 17px; color: var(--brand); margin-top: 6px; }
.fun-note { font-size: 14.5px; line-height: 1.5; color: var(--dim); margin-top: 8px; }
.fun-fine { font-size: 12.5px; color: var(--dim); line-height: 1.55; }
details.math { margin: 32px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); padding: 0 20px; }
details.math summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--ink); list-style: none; }
details.math summary::-webkit-details-marker { display: none; }
details.math summary::after { content: " +"; color: var(--brand); }
details.math[open] summary::after { content: " –"; }
details.math[open] { padding-bottom: 12px; }
blockquote.pull { margin: 8px 0 32px; padding: 22px 24px; border: 0; border-left: 4px solid var(--brand); background: var(--bg-2); border-radius: 0 14px 14px 0; }
blockquote.pull p { font-size: 22px; line-height: 1.4; color: var(--ink); margin: 0 0 12px; font-weight: 500; }
blockquote.pull cite { font-style: normal; font-size: 13.5px; color: var(--dim); }
.sub-pick { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 700; font-size: 15px; color: var(--ink); }
.sub-pick select { font: 600 15px var(--font); padding: 9px 12px; border: 2px solid var(--c); border-radius: 10px; background: #fff; color: var(--ink); max-width: 70vw; }
.empty a { color: var(--c); font-weight: 700; }

/* the short ad in the middle of articles (one line of problems + store buttons; "See more" opens the details) */
.apps-short { padding: 14px 0; margin: 8px 0 18px; background: #0f1113; }
.as-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.as-cont { color: #c9ccd0; font-size: 13px; font-weight: 600; text-decoration: none; }
.as-cont:hover { color: #fff; }
.as-grid { display: grid; gap: 8px; }
@media (min-width: 760px) { .as-grid { grid-template-columns: 1fr 1fr; } }
.as-tile { border-radius: 12px; padding: 10px 12px; display: grid; gap: 4px; align-content: start; }
.as-tile.tile-so { border-top: 3px solid #0B5FAE; }
.as-head { display: flex; align-items: center; gap: 10px; }
.as-head .icon { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.as-head strong { display: block; font-size: 15.5px; line-height: 1.2; }
.as-line { display: block; font-size: 13px; line-height: 1.3; opacity: .85; }
.as-sol { font-weight: 800; font-size: 13.5px; color: #1B7A3D; }
.tile-cc .as-sol { color: #15618F; }
.as-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.as-badge { display: inline-flex; align-items: center; }
.as-badge img[src$=".svg"] { height: 32px; width: auto; margin: 6px; }
.as-badge img[src$=".png"] { height: 47px; width: auto; }
.as-more { flex-basis: 100%; }
.as-more summary { cursor: pointer; font-weight: 700; font-size: 13px; color: #0B5FAE; list-style: none; }
.as-more summary::-webkit-details-marker { display: none; }
.as-more summary::after { content: " ▾"; }
.as-more[open] summary::after { content: " ▴"; }
.as-more p { font-size: 13.5px; margin: 6px 0 0; line-height: 1.45; }
.tile-cc .as-more summary { color: #15618F; }
.as-top .ad-tag { white-space: nowrap; font-size: 12px; padding: 4px 10px; }

/* "Our Apps" page */
.ap-intro { padding-top: 26px; padding-bottom: 8px; }
.ap-intro h1 { margin: 0; font-size: clamp(30px, 5vw, 46px); line-height: 1.08; }
.ap-intro p { margin: 10px 0 0; font-size: 18px; max-width: 60ch; }
.ap-app { padding: 18px 0; }
.ap-inner { max-width: 980px; margin: 0 auto; padding: 24px 20px; border-radius: 22px; display: grid; gap: 10px; }
.ap-inner.tile-so { background: #fff; border-top: 6px solid #0B5FAE; color: #111417; }
.ap-inner.tile-cc { background: linear-gradient(180deg, #CFE6F5 0%, #E9F1F7 55%, #FBEFE0 100%); color: #14212E; }
.ap-head { display: flex; align-items: center; gap: 16px; }
.ap-head .icon { width: 72px; height: 72px; border-radius: 16px; flex: none; }
.ap-head h2 { margin: 0; font-size: 30px; }
.ap-pitch { margin: 4px 0 0; font-size: 17px; font-weight: 600; opacity: .85; }
.ap-inner h3 { margin: 12px 0 0; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.ap-problems { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 18px; font-weight: 700; }
.ap-sol { margin: 4px 0 0; font-size: 20px; font-weight: 800; color: #1B7A3D; }
.tile-cc .ap-sol { color: #15618F; }
.ap-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; font-size: 16px; line-height: 1.5; }
.ap-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 10px 0; }
.ap-shots figure { margin: 0; }
.ap-shots img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 8px 26px rgba(0,0,0,.18); }
.ap-shots figcaption { font-size: 13px; margin-top: 6px; opacity: .8; }
.ap-fine { font-size: 13px; opacity: .75; margin: 4px 0 0; }
