/* Flightlog Japan — airport wayfinding style
   Black-and-yellow signage, high-legibility body text, ~66 characters per line. */
@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400&family=Barlow+Semi+Condensed:wght@600;700;800&display=swap");

:root {
  --sign: #1b1d20;        /* sign black */
  --sign-2: #2a2d32;
  --yellow: #f5c400;      /* wayfinding yellow */
  --paper: #f5f6f7;       /* cool page white */
  --surface: #ffffff;
  --text: #1e2328;
  --text-2: #565f69;
  --rule: #dcdfe3;
  --link: #145da0;        /* line-map blue */

  /* kept for article templates that use these names inline */
  --accent: #1b1d20;
  --accent-ink: #1b1d20;
  --accent-soft: #f5c400;
  --border: var(--rule);
  --bg: var(--paper);
  --radius: 6px;

  --display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 3px; }

img { max-width: 100%; height: auto; border-radius: var(--radius); }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header: black sign bar ---------- */
header.site-header {
  background: var(--sign);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 4px solid var(--yellow);
}
header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: .01em;
  color: #fff;
  text-decoration: none;
}
.brand span { color: var(--yellow); }
.brand:hover { text-decoration: none; }

nav.site-nav { display: flex; gap: 4px; }
nav.site-nav a {
  color: #e9ebee;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
}
nav.site-nav a:hover { background: var(--sign-2); color: var(--yellow); }

main.wrap { padding-top: 32px; padding-bottom: 72px; }

/* ---------- Hero: the departure sign ---------- */
.hero {
  position: relative;
  background: var(--yellow);
  color: var(--sign);
  border-radius: var(--radius);
  padding: 34px 32px 32px 132px;
  margin-bottom: 40px;
  min-height: 170px;
}
.hero::before {
  /* airport pictogram tile */
  content: "";
  position: absolute;
  left: 28px;
  top: 32px;
  width: 76px;
  height: 76px;
  border-radius: 6px;
  background: var(--sign) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5c400' d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5z'/%3E%3C/svg%3E") center / 50px no-repeat;
}
.hero h1 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -.005em;
  max-width: 22ch;
}
.hero p {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.6;
  max-width: 62ch;
  color: #2b2a24;
}

/* ---------- Article list ---------- */
.post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--sign);
  border-radius: var(--radius);
  padding: 20px 22px 22px;
  color: var(--text);
  text-decoration: none;
}
.post-card:hover { border-top-color: var(--yellow); text-decoration: none; }
.post-card:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* newest article spans the full width */
.post-card.featured { grid-column: 1 / -1; padding: 26px 28px 28px; }
.post-card.featured h2 { font-size: clamp(26px, 3.2vw, 34px); max-width: 30ch; }
.post-card.featured .excerpt { font-size: 18px; max-width: 64ch; }

.post-card .cat {
  align-self: flex-start;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--sign);
  background: var(--yellow);
  padding: 2px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.post-card h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.18;
  color: var(--sign);
}
.post-card .excerpt { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.post-card .meta { margin-top: 10px; font-size: 13px; color: var(--text-2); }

/* ---------- Article page ---------- */
article.post {
  max-width: 700px;
  margin: 0 auto;
}
article.post > .cat {
  font-family: var(--display) !important;
  font-size: 14px !important;
  border-radius: 3px !important;
  color: var(--sign) !important;
  background: var(--yellow) !important;
}
article.post h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.08;
  margin: 6px 0 10px;
  color: var(--sign);
}
article.post > .meta {
  color: var(--text-2);
  font-size: 15px;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--rule);
}
article.post h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  margin: 46px 0 12px;
  color: var(--sign);
  display: flex;
  gap: 12px;
  align-items: baseline;
}
article.post h2::before {
  /* small sign tile marking each section */
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--yellow);
  box-shadow: inset 0 0 0 3px var(--sign);
  border-radius: 2px;
  transform: translateY(1px);
}
article.post h3 { font-family: var(--display); font-weight: 700; font-size: 22px; margin: 30px 0 8px; }
article.post p { margin: 0 0 1.15em; }
article.post ul, article.post ol { padding-left: 1.3em; margin: 0 0 1.2em; }
article.post li { margin-bottom: .4em; }
article.post li::marker { color: var(--text-2); }
article.post strong { color: var(--sign); }

/* tables: readable and scrollable on phones */
article.post table {
  display: block;
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0 28px;
  font-size: 15.5px;
  line-height: 1.5;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
article.post th, article.post td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); min-width: 130px; }
article.post th { background: var(--sign); color: #fff; font-family: var(--display); font-weight: 700; font-size: 16px; }
article.post tr:last-child td { border-bottom: none; }
article.post tr:nth-child(even) td { background: #f8f9fa; }

/* affiliate links stand out a little */
article.post a[rel~="sponsored"] { font-weight: 700; }

blockquote {
  margin: 24px 0;
  padding: 14px 18px;
  border-left: 5px solid var(--yellow);
  background: var(--surface);
}

.ad-slot {
  margin: 34px 0;
  padding: 10px;
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
  text-align: center;
  font-size: 12px;
  color: var(--text-2);
}
.ad-slot:empty { display: none; }

.back-link {
  display: inline-block;
  margin-top: 36px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--sign);
  background: var(--yellow);
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
}
.back-link:hover { background: var(--sign); color: var(--yellow); text-decoration: none; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--sign);
  color: #c9cdd2;
  padding: 30px 0 44px;
  font-size: 15px;
}
footer.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 8px; }
footer.site-footer nav a { color: #fff; text-decoration: none; font-weight: 700; }
footer.site-footer nav a:hover { color: var(--yellow); }
footer.site-footer p { margin: 0; }

/* ---------- Phones ---------- */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  main.wrap { padding-top: 20px; padding-bottom: 56px; }
  .hero { padding: 104px 20px 24px; min-height: 0; margin-bottom: 28px; }
  .hero::before { left: 20px; top: 22px; width: 64px; height: 64px; background-size: 42px; }
  .post-list { grid-template-columns: 1fr; gap: 12px; }
  .post-card.featured { padding: 20px 20px 22px; }
  .post-card { padding: 18px 18px 20px; }
  .post-card h2 { font-size: 21px; }
  article.post h2 { font-size: 24px; margin-top: 38px; }
  .brand { font-size: 20px; }
  nav.site-nav { gap: 0; align-items: center; }
  nav.site-nav a { font-size: 15px; padding: 6px 7px; }
  .lang-switch summary { font-size: 14px; padding: 2px 6px; }
}
@media (max-width: 380px) {
  nav.site-nav > a:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- Photos ---------- */
.post-card { overflow: hidden; }
.post-card > .thumb {
  display: block;
  width: calc(100% + 44px);
  max-width: none;
  margin: -20px -22px 16px;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  background: var(--rule);
}
.post-card.featured > .thumb {
  width: calc(100% + 56px);
  margin: -26px -28px 20px;
  aspect-ratio: 21 / 9;
}
figure.hero-img { margin: 0 0 30px; }
figure.hero-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--rule);
}
figure.hero-img figcaption { margin-top: 8px; font-size: 13px; color: var(--text-2); }
figure.hero-img figcaption a { color: var(--text-2); }
@media (max-width: 720px) {
  .post-card > .thumb { width: calc(100% + 36px); margin: -18px -18px 14px; }
  .post-card.featured > .thumb { width: calc(100% + 40px); margin: -20px -20px 16px; aspect-ratio: 16 / 9; }
}

/* ---------- Reading aids (added by site.js) ---------- */
.post-card[hidden] { display: none; }

.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text-2); margin-bottom: 14px; }
.crumbs a { color: var(--text-2); }

.readinfo { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--text-2); margin: -12px 0 24px; }
.readinfo span + span::before { content: "|"; margin-right: 18px; color: var(--rule); }

/* the opening paragraph reads as the summary */
article.post > figure.hero-img + p,
article.post > .readinfo + p { font-size: 1.12em; line-height: 1.65; color: var(--sign); }

.toc {
  margin: 8px 0 32px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 6px solid var(--yellow);
  border-radius: var(--radius);
  padding: 14px 20px 6px;
}
.toc summary { font-family: var(--display); font-weight: 700; font-size: 19px; cursor: pointer; color: var(--sign); margin-bottom: 8px; }
.toc ul { list-style: none; padding: 0; margin: 0 0 8px; }
.toc li { margin: 0; border-top: 1px solid var(--rule); }
.toc li a { display: block; padding: 8px 0; text-decoration: none; color: var(--text); font-size: 16px; line-height: 1.4; }
.toc li a:hover { color: var(--link); text-decoration: underline; }

article.post h2 { scroll-margin-top: 80px; }

.aff-note {
  font-size: 14px !important;
  line-height: 1.55;
  color: var(--text-2);
  background: var(--surface);
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 0 0 28px !important;
}

.related { margin-top: 48px; padding-top: 8px; border-top: 4px solid var(--sign); }
.related h2::before { display: none; }
.related-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); }
.related-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--rule); }
.related-card .rcat { align-self: flex-start; font-family: var(--display); font-weight: 700; font-size: 13px; background: var(--yellow); color: var(--sign); padding: 1px 8px; border-radius: 3px; }
.related-card .rtitle { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.25; color: var(--sign); }
.related-card:hover .rtitle { text-decoration: underline; }

.filter-panel { margin: -12px 0 20px; display: grid; gap: 10px; }
.filter-row { display: flex; align-items: center; gap: 10px; }
.filter-label { flex: none; width: 52px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #5a5f66); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.filter-count { font-size: 15px; color: var(--muted, #5a5f66); margin: 0; }
.filter-empty { padding: 24px; border: 2px dashed var(--rule); border-radius: var(--radius); text-align: center; color: var(--muted, #5a5f66); }
.filters button {
  font-family: var(--display); font-weight: 700; font-size: 16px;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--sign); background: var(--surface); color: var(--sign);
}
.filters button[aria-pressed="true"] { background: var(--sign); color: var(--yellow); }
.filters button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

@media (max-width: 720px) {
  .related-list { grid-template-columns: 1fr; }
  .related-card { flex-direction: row; align-items: flex-start; gap: 12px; }
  .related-card img { width: 120px; flex: none; }
  .related-card .rcat { display: none; }
  .related-card .rtitle { font-size: 17px; }
  .filter-panel { margin-top: -6px; }
  .filter-row { align-items: flex-start; }
  .filter-label { width: auto; min-width: 44px; padding-top: 8px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { font-size: 15px; padding: 5px 12px; flex: none; }
}

/* Language switcher */
.brand, nav.site-nav a, .lang-switch summary { white-space: nowrap; }
nav.site-nav { align-items: center; }
.lang-switch { position: relative; margin-left: 4px; }
.lang-switch summary {
  list-style: none; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 15px;
  color: var(--yellow); border: 2px solid var(--yellow); border-radius: 4px; padding: 2px 8px; line-height: 1.3;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after { content: " ▾"; font-size: 12px; }
.lang-switch[open] summary { background: var(--yellow); color: var(--sign); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 150px;
  background: var(--surface, #fff); border: 2px solid var(--sign); border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18); padding: 6px 0; display: grid;
}
.site-header .lang-menu a { color: var(--sign); padding: 8px 14px; font-size: 16px; text-decoration: none; }
.site-header .lang-menu a:hover { background: var(--paper); }
.site-header .lang-menu a[aria-current] { font-weight: 700; }
.site-header .lang-menu a[aria-current]::before { content: "✓ "; }

/* Affiliate note + "Why we link to Klook" */
.aff-note { font-size: 15px !important; }
.aff-note p { margin: 0; font-size: 15px; }
.why-klook { margin-top: 8px; border-top: 1px dashed var(--rule); padding-top: 8px; }
.why-klook summary { cursor: pointer; font-weight: 700; color: var(--sign); }
.why-klook ul { margin: 8px 0 6px; padding-left: 20px; }
.why-klook li { margin: 4px 0; font-size: 15px; }
.why-klook p a { font-weight: 600; }

/* ---------- Photo hero (top page) ---------- */
.hero.hero-photo { padding: 0; background: none; min-height: 0; margin-bottom: 36px; }
.hero.hero-photo::before { display: none; }
.hero-pic { position: relative; margin: 0; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--sign); }
.hero-pic img { display: block; width: 100%; aspect-ratio: 5 / 2; object-fit: cover; object-position: 50% 55%; }
.hero-pic figcaption {
  position: absolute; right: 8px; bottom: 8px; font-size: 11.5px; line-height: 1.3;
  color: #fff; background: rgba(0,0,0,.55); padding: 3px 8px; border-radius: 3px;
}
.hero-pic figcaption a { color: #fff; }
.hero-sign {
  position: relative; background: var(--yellow); color: var(--sign);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 28px 32px 26px 132px;
}
.hero-sign::before {
  content: ""; position: absolute; left: 28px; top: -38px; width: 76px; height: 76px; border-radius: 6px;
  border: 4px solid var(--yellow);
  background: var(--sign) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5c400' d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5z'/%3E%3C/svg%3E") center / 46px no-repeat;
}
.hero-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-links a {
  font-family: var(--display); font-weight: 700; font-size: 16px; text-decoration: none;
  color: var(--yellow); background: var(--sign); padding: 7px 14px; border-radius: 4px;
}
.hero-links a::after { content: " ↓"; }
.hero-links a:hover { background: #000; text-decoration: none; }

/* ---------- Sections on the top page ---------- */
.post-section { margin: 0 0 44px; scroll-margin-top: 80px; }
.post-section[hidden] { display: none; }
.section-head { border-left: 6px solid var(--yellow); padding: 2px 0 2px 14px; margin: 0 0 16px; }
.section-head h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; color: var(--sign); }
.section-head p { margin: 4px 0 0; color: var(--text-2); font-size: 16px; }
.post-card .card-date { display: block; margin-top: 10px; font-size: 13.5px; color: var(--text-2); }

@media (max-width: 720px) {
  .hero-pic img { aspect-ratio: 16 / 9; }
  .hero-sign { padding: 50px 20px 22px; }
  .hero-sign::before { left: 20px; top: -34px; width: 64px; height: 64px; background-size: 40px; }
  .hero-links a { font-size: 15px; padding: 6px 12px; }
  .post-section { margin-bottom: 34px; }
}

/* ---------- Guide-section bar under the header ---------- */
.section-nav { background: #26292e; border-top: 1px solid #34383e; }
.section-nav .wrap {
  display: flex; gap: 4px; min-height: 0 !important; justify-content: flex-start !important;
  overflow-x: auto; scrollbar-width: none; padding-top: 4px; padding-bottom: 4px;
}
.section-nav .wrap::-webkit-scrollbar { display: none; }
.section-nav a {
  flex: none; white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: 15px;
  color: #e9eaec; text-decoration: none; padding: 6px 12px; border-radius: 4px;
}
.section-nav a:hover { background: var(--yellow); color: var(--sign); text-decoration: none; }
.section-nav a[aria-current="true"] { color: var(--yellow); box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
@media (max-width: 720px) {
  .section-nav .wrap { gap: 0; }
  .section-nav a { font-size: 13.5px; padding: 6px 6px; letter-spacing: -.01em; }
  .section-nav .wrap { padding-left: 10px; padding-right: 10px; }
}
.section-nav .nav-short { display: none; }
@media (max-width: 420px) {
  .section-nav .nav-long { display: none; }
  .section-nav .nav-short { display: inline; }
}

/* ---------- 2026-10-10: phone fixes ---------- */
/* filter chips scroll inside their row instead of widening the whole page */
.filter-panel { grid-template-columns: minmax(0, 1fr); }
.filter-row, .filters { min-width: 0; }

/* wide tables: a swipe hint, and the first column stays put while scrolling */
.table-hint {
  margin: 18px 0 -14px !important; font-size: 13.5px; font-weight: 700; color: var(--text-2);
}
.table-hint[hidden] { display: none; }
@media (max-width: 720px) {
  article.post th, article.post td { min-width: 120px; padding: 10px 12px; }
  article.post th:first-child, article.post td:first-child {
    position: sticky; left: 0; z-index: 1; min-width: 108px; max-width: 132px;
    box-shadow: inset -1px 0 0 var(--rule), 4px 0 6px -4px rgba(0,0,0,.18);
  }
  article.post td:first-child { background: var(--surface); font-weight: 700; color: var(--sign); }
  article.post tr:nth-child(even) td:first-child { background: #f8f9fa; }
  article.post th:first-child { background: var(--sign); }
}

/* ---------- Booking links (Klook etc.) shown as glossy pill buttons ---------- */
article.post a[rel~="sponsored"] {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 12px;
  margin: 6px 0; padding: 9px 9px 9px 20px; min-height: 46px;
  background: linear-gradient(180deg, #ff8f45 0%, #f26a12 48%, #d95500 100%);
  color: #fff !important; text-shadow: 0 1px 1px rgba(120, 40, 0, .45);
  font-family: var(--display); font-weight: 700; font-size: 1em; line-height: 1.2; letter-spacing: .01em;
  text-decoration: none !important;
  border-radius: 999px; border: 1px solid #c24c00;
  box-shadow: 0 4px 0 #a84200, 0 8px 16px rgba(217, 85, 0, .28);
  transition: transform .08s ease, box-shadow .08s ease, filter .15s ease;
}
/* glossy highlight on the top half */
article.post a[rel~="sponsored"]::before {
  content: ""; position: absolute; z-index: -1; left: 10px; right: 10px; top: 2px; height: 46%;
  border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .05));
}
/* white circle with an arrow on the right */
article.post a[rel~="sponsored"]::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e35f05' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
}
article.post a[rel~="sponsored"]:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 5px 0 #a84200, 0 10px 18px rgba(217, 85, 0, .32); }
article.post a[rel~="sponsored"]:active { transform: translateY(3px); box-shadow: 0 1px 0 #a84200, 0 3px 8px rgba(217, 85, 0, .25); }
article.post a[rel~="sponsored"]:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
article.post table a[rel~="sponsored"] { padding: 6px 6px 6px 14px; min-height: 0; font-size: .9em; gap: 8px; }
article.post table a[rel~="sponsored"]::after { width: 22px; height: 22px; background-size: 12px; }
.aff-tag { font-size: 12.5px; color: var(--text-2); white-space: nowrap; vertical-align: middle; }
