/* PhoneHeadline — modern digital newspaper.
   Warm off-white page, soft charcoal ink, one crimson accent, serif headlines over a clean sans body,
   hairline column rules, full-colour photos with rounded corners. */
:root {
  color-scheme: light;
  --paper: #faf9f6;       /* page */
  --paper-2: #f2f0eb;     /* tinted cards, zebra rows */
  --card: #ffffff;
  --ink: #1f2328;
  --ink-2: #3d434b;
  --muted: #646a72;
  --hair: #e3e0d9;
  --rule: #2b3036;        /* the few strong rules left */
  --red: #b42318;
  --red-dark: #8f1c13;
  --red-soft: #fdecea;
  --radius: 10px;
  --black: "Fraunces", "Noto Serif Thai", Georgia, serif; /* wordmark */
  --head: "Noto Serif Thai", Georgia, serif;
  --deck: "Anuphan", "Noto Sans Thai", system-ui, sans-serif;
  --body: "Anuphan", "Noto Sans Thai", system-ui, sans-serif;
  --wrap: 1240px;
  --gut: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.7 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 8px 14px; font-weight: 600;
}
.skip:focus { top: 12px; color: var(--paper); }

/* ---------- ads: neutral ---------- */
.ad-slot { margin: 18px auto; max-width: var(--wrap); padding: 0 var(--gut); text-align: center; overflow: hidden; }
.wire .ad-slot, .post-side .ad-slot { padding: 0; margin: 20px 0; }
.ad-unit { display: block; margin: 0 auto; }

/* ---------- masthead ---------- */
.masthead { padding-top: 6px; }
.mast-strip {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--rule); padding: 6px 0; font-size: .8rem; color: var(--ink-2);
}
.mast-strip p { flex: 1; }
.mast-tag { text-align: center; font-family: var(--deck); font-style: italic; }
.mast-price { text-align: right; }
.mast-ed time { font-weight: 600; }
.mast-name {
  font-family: var(--black); font-weight: 400; text-align: center;
  font-size: clamp(3.1rem, 10.5vw, 7.2rem); line-height: 1.05; margin: 14px 0 0; letter-spacing: .01em;
}
.mast-name a:hover { color: var(--ink); }
.mast-motto {
  text-align: center; font-family: var(--deck); font-style: italic; font-size: .92rem; color: var(--muted);
  margin: 2px 0 12px;
}
.mast-nav { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.mast-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.mast-nav li + li { border-left: 1px solid var(--hair); }
.mast-nav a {
  display: block; padding: 8px 20px; font-family: var(--head); font-weight: 600; font-size: 1rem;
}
.mast-nav a[aria-current="page"] { color: var(--red); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

.wire-line { margin-top: 8px; }
.wire-line p {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: .85rem; border-bottom: 1px solid var(--hair); padding: 4px 0 6px;
}
.wire-line b { color: var(--red); font-family: var(--head); margin-right: 10px; }
.wire-line a + a::before { content: "◆"; color: var(--red); font-size: .6em; margin: 0 10px; vertical-align: middle; }

.crumbs { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--hair); }
.crumbs a { text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 3px; }

/* ---------- shared newspaper pieces ---------- */
.rubric {
  font-family: var(--head); font-weight: 700; font-size: .88rem; letter-spacing: .06em;
  border-top: 3px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 5px 0; margin: 0 0 14px;
}
.band {
  display: flex; align-items: center; gap: 16px; font-size: 1.35rem; font-weight: 700;
  margin: 40px 0 20px; text-align: center;
}
.band::before, .band::after { content: ""; flex: 1; border-top: 1px solid var(--hair); }
.band span { flex: 0 1 auto; }

.kicker { font-size: .76rem; font-weight: 600; letter-spacing: .04em; color: var(--red); margin-bottom: 4px; }
.kicker a { color: var(--red); }
.kicker a:hover { text-decoration: underline; }
.kicker span { color: var(--muted); font-weight: 500; }
.kicker > * + *::before { content: "·"; margin: 0 6px; color: var(--hair); }

.deck { font-family: var(--deck); font-size: .96rem; line-height: 1.7; color: var(--ink-2); margin: 4px 0 6px; }
.meta { font-size: .76rem; color: var(--muted); }
.byline { font-size: .85rem; color: var(--ink-2); }
.byline b { color: var(--ink); }

.story-img, .lead-img a { display: block; overflow: hidden; background: var(--paper-2); }
.story-img img, .lead-img img {
  display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover;
  filter: grayscale(1) sepia(.14) contrast(1.06); mix-blend-mode: multiply; transition: filter .3s;
}
.story-img:hover img, .lead-img a:hover img { filter: none; }
img.img-fallback { object-fit: contain !important; padding: 10%; filter: none !important; }

/* column-ruled grids: each column has a hairline on its left, the outer one is clipped */
.cols, .sections {
  display: grid; margin: 0 calc(var(--gut) * -1); overflow: hidden; row-gap: 28px;
}
.cols > *, .sections > * {
  padding: 0 var(--gut); border-left: 1px solid var(--hair); margin-left: -1px;
}
.cols { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.story .story-img { margin-bottom: 10px; }
.story h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.5; }

/* ---------- home: front page ---------- */
.front {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
  margin-top: 20px;
}
.front > * { padding: 0 22px; }
.front > :first-child { padding-left: 0; }
.front > :last-child { padding-right: 0; }
.briefs, .wire { border-left: 1px solid var(--rule); }

.lead-title {
  font-weight: 800; font-size: clamp(1.75rem, 3.3vw, 2.85rem); line-height: 1.28; letter-spacing: -.005em;
  margin: 4px 0 14px;
}
.lead-img { margin: 0; }
.lead-img figcaption, .post-cover figcaption {
  font-family: var(--deck); font-style: italic; font-size: .78rem; color: var(--muted);
  padding: 5px 0; border-bottom: 1px solid var(--hair);
}
.lead-text { column-count: 2; column-gap: 28px; column-rule: 1px solid var(--hair); margin-top: 12px; }
.lead-deck { font-family: var(--deck); font-size: 1.06rem; line-height: 1.8; margin-bottom: 10px; }
.lead .dropcap {
  float: left; font-family: var(--head); font-weight: 800; font-size: 3.4em; line-height: 1; margin: .02em .1em 0 0; color: var(--red);
}
.lead .byline { break-inside: avoid; border-top: 1px solid var(--hair); padding-top: 8px; margin-bottom: 8px; }
.lead-more a { font-family: var(--head); font-weight: 700; color: var(--red); }

.brief { border-bottom: 1px solid var(--hair); padding-bottom: 14px; margin-bottom: 14px; }
.brief:last-child { border-bottom: 0; margin-bottom: 0; }
.brief .story-img { margin-bottom: 10px; }
.brief h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.5; }
.brief-first h3 { font-size: 1.3rem; line-height: 1.45; }


.sections { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sec-name { font-size: 1.15rem; font-weight: 800; border-top: 3px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 4px 0; margin-bottom: 12px; }
.sec-item { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dotted var(--hair); }
.sec-item h4 { font-size: .98rem; font-weight: 600; line-height: 1.5; }
.sec-first h4 { font-size: 1.15rem; font-weight: 700; }
.sec-all { font-size: .82rem; font-weight: 600; }
.sec-all a { color: var(--red); }

/* ---------- section / author page ---------- */
.page-head { text-align: center; padding-top: 24px; padding-bottom: 20px; }
.page-head::after { content: ""; display: block; border-bottom: 1px solid var(--hair); margin-top: 20px; }
.page-label { font-size: .78rem; font-weight: 600; letter-spacing: .08em; color: var(--red); }
.page-head h1 { font-weight: 800; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.3; margin: 6px 0 8px; }
.page-head h1 small { font-size: .45em; font-weight: 600; color: var(--muted); }
.page-desc { font-family: var(--deck); font-style: italic; font-size: 1.1rem; color: var(--ink-2); max-width: 42em; margin: 0 auto; }
.page-desc a { color: var(--red); text-decoration: underline; }
.page-stats { display: inline-block; margin-top: 10px; padding-top: 6px; border-top: 1px solid var(--hair); font-size: .8rem; color: var(--muted); }

.sec-lead {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px;
  padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--rule);
}
.sec-lead h2 { font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.35; margin: 4px 0 12px; }
.sec-lead .byline { border-top: 1px solid var(--hair); padding-top: 8px; }

.newscols { column-count: 3; column-gap: 44px; column-rule: 1px solid var(--hair); }
.col-item { break-inside: avoid; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--hair); }
.col-item .story-img { margin-bottom: 10px; }
.col-item h2 { font-size: 1.15rem; font-weight: 700; line-height: 1.5; }

.pager {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px;
  margin: 30px 0 0; padding-top: 16px; border-top: 1px solid var(--hair); font-size: .9rem;
}
.pager a { font-family: var(--head); font-weight: 700; border: 1px solid var(--rule); padding: 6px 16px; }
.pager a:hover { background: var(--ink); color: var(--paper); }

.empty { text-align: center; border: 1px solid var(--hair); padding: 44px 20px; margin: 32px auto; max-width: 640px; }
.empty-mark { font-size: 2.4rem; color: var(--red); }
.empty h2 { font-size: 1.6rem; font-weight: 800; margin: 6px 0 8px; }
.empty p { font-family: var(--deck); color: var(--ink-2); }
.empty a { color: var(--red); text-decoration: underline; }

/* ---------- article ---------- */
.paper { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 44px; margin-top: 20px; }
.post { max-width: 46rem; margin: 0 auto; width: 100%; }
.post-head { text-align: center; }
.post-head h1 { font-weight: 800; font-size: clamp(1.85rem, 4vw, 2.9rem); line-height: 1.35; margin: 8px 0 12px; }
.post-deck { font-family: var(--deck); font-style: italic; font-size: 1.2rem; line-height: 1.7; color: var(--ink-2); max-width: 36em; margin: 0 auto; }
.post-byline {
  margin-top: 18px; padding: 8px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font-size: .85rem; color: var(--ink-2);
}
.post-byline a { font-weight: 700; color: var(--red); }
.post-byline p:first-child span { color: var(--muted); margin-left: 4px; }
.post-cover { margin: 22px 0 26px; }
.post-cover img { display: block; width: 100%; filter: grayscale(.3) sepia(.12); }

.post-body {
  font-family: var(--head); font-size: 1.1rem; line-height: 1.95; color: var(--ink);
  max-width: 37em; margin: 0 auto; overflow-wrap: break-word;
}
.post-body > p { margin: 0 0 1.1em; }
.post-body .dropcap {
  float: left; font-weight: 800; font-size: 3.6em; line-height: 1; margin: .04em .12em 0 0; color: var(--red);
}
.post-body h2 { font-size: 1.45rem; font-weight: 800; line-height: 1.45; margin: 1.6em 0 .6em; padding-top: 10px; border-top: 1px solid var(--rule); }
.post-body h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.5; margin: 1.4em 0 .5em; }
.post-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.post-body ul, .post-body ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.post-body li { margin-bottom: .35em; }
.post-body li::marker { color: var(--red); }
.post-body blockquote {
  margin: 1.6em 0; padding: 14px 10px; text-align: center; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  font-family: var(--deck); font-style: italic; font-size: 1.25rem; line-height: 1.7; color: var(--ink-2);
}
.post-body blockquote p { margin: 0; }
.post-body img { display: block; margin: 1.2em auto; filter: grayscale(.3) sepia(.12); }
.post-body figure { margin: 1.4em 0; }
.post-body figcaption { font-family: var(--deck); font-style: italic; font-size: .8rem; color: var(--muted); border-bottom: 1px solid var(--hair); padding: 4px 0; }
.post-body table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 1.4em 0; font: .9rem/1.6 var(--body); }
.post-body th, .post-body td { padding: 7px 10px; text-align: left; border-bottom: 1px solid var(--hair); }
.post-body table { border-bottom: 2px solid var(--rule); font-variant-numeric: tabular-nums; }
.post-body th { background: var(--ink); color: var(--paper); font-family: var(--head); font-weight: 700; border-bottom: 0; }
.post-body tbody tr:nth-child(even) td { background: var(--paper-2); }
.post-body hr { border: 0; border-top: 1px solid var(--hair); margin: 2em 0; }

.end-mark { text-align: center; color: var(--red); letter-spacing: .6em; font-size: .7rem; margin: 18px 0; }
.post-foot { border-top: 1px solid var(--hair); padding-top: 10px; font-size: .86rem; color: var(--ink-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.post-foot a { color: var(--red); }

.post-side .spec { margin: 0 0 22px; }
.post-side { border-left: 1px solid var(--rule); padding-left: 24px; align-self: start; position: sticky; top: 12px; }
.side-list { list-style: none; margin: 0; padding: 0; counter-reset: side; }
.side-list li { counter-increment: side; position: relative; padding: 0 0 12px 34px; margin-bottom: 12px; border-bottom: 1px dotted var(--hair); }
.side-list li::before { content: counter(side); position: absolute; left: 0; top: -4px; font: 800 1.6rem/1.2 var(--head); color: var(--red); }
.side-list a { display: block; font-family: var(--head); font-weight: 600; font-size: .95rem; line-height: 1.5; }
.side-list time { font-size: .74rem; color: var(--muted); }


/* ---------- legal ---------- */
.legal-page { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; }
.legal-toc { align-self: start; position: sticky; top: 12px; }
.legal-toc ol { margin: 0; padding-left: 1.2em; font-size: .88rem; }
.legal-toc li { padding: 5px 0; border-bottom: 1px dotted var(--hair); }
.legal-toc li::marker { color: var(--red); }
.legal-toc a:hover { text-decoration: underline; }
.legal-body { max-width: 44em; font-size: 1.04rem; line-height: 1.9; color: var(--ink-2); }
.legal-body .legal-updated { font-family: var(--deck); font-style: italic; color: var(--muted); border-bottom: 1px solid var(--hair); padding-bottom: 8px; margin-bottom: 16px; }
.legal-body h2 { font-size: 1.3rem; font-weight: 800; color: var(--ink); border-top: 1px solid var(--rule); padding-top: 12px; margin: 34px 0 10px; scroll-margin-top: 16px; }
.legal-body p { margin: 0 0 1em; }
.legal-body ul { padding-left: 1.3em; margin: 0 0 1em; }
.legal-body li { margin-bottom: .4em; }
.legal-body li::marker { color: var(--red); }
.legal-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-body strong { color: var(--ink); }

/* ---------- colophon ---------- */
.colophon { margin-top: 60px; border-top: 1px solid var(--hair); }
.colo-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 5fr); gap: 0; padding: 26px 0; }
.colo-top > * { padding: 0 22px; }
.colo-top > :first-child { padding-left: 0; }
.colo-top > * + * { border-left: 1px solid var(--hair); }
.colo-name { font-family: var(--black); font-size: 2.6rem; line-height: 1.1; }
.colo-brand p { font-family: var(--deck); font-size: .92rem; color: var(--ink-2); margin-top: 8px; }
.colophon ul { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.colo-secs li { padding: 3px 0; }
.colo-secs a { font-family: var(--head); font-weight: 600; }
.colo-latest li { padding: 6px 0; border-bottom: 1px dotted var(--hair); }
.colo-latest a { font-family: var(--head); font-weight: 600; display: block; line-height: 1.5; }
.colo-latest time { font-size: .74rem; color: var(--muted); }
.colo-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px;
  border-top: 1px solid var(--rule); padding: 12px 0 22px; font-size: .82rem; color: var(--ink-2);
}
.colo-bottom a { text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 3px; }
.colo-bottom .to-top { color: var(--red); text-decoration: none; font-weight: 600; }

/* ---------- mobile-phone engravings & devices ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.st-ico { width: 1.35em; height: .85em; vertical-align: -.05em; color: var(--ink); }
.sec-ico { width: 1.15em; height: 1.15em; vertical-align: -.2em; margin-right: .35em; color: var(--ink); flex: none; }
.mast-nav .sec-ico { width: 1.05em; height: 1.05em; }
.mast-nav a[aria-current="page"] .sec-ico { color: var(--red); }

/* masthead ears: engraved handsets flanking the nameplate, like the weather boxes of an old broadsheet */
.mast-row { display: grid; grid-template-columns: 196px minmax(0, 1fr) 196px; align-items: center; gap: 16px; }
.ear {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--rule); outline: 1px solid var(--rule); outline-offset: 2px;
  padding: 6px 8px; margin-top: 14px; font-size: .72rem; line-height: 1.45; color: var(--ink-2);
}
.ear svg { width: 46px; height: 72px; flex: none; }
.ear b { display: block; font-family: var(--head); font-size: .9rem; color: var(--red); }
.ear-l svg { transform: rotate(-9deg); }
.ear-r { flex-direction: row-reverse; text-align: right; }
.ear-r svg { transform: rotate(8deg); }

/* section bands carry a small engraved handset at each end of the rule */
.band span { display: inline-flex; align-items: center; gap: 10px; }
.band span::before, .band span::after {
  content: ""; width: 14px; height: 22px; flex: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 22'%3E%3Crect x='1' y='1' width='12' height='20' rx='2.6' fill='none' stroke='%239b1a1a' stroke-width='1.6'/%3E%3Cpath d='M3.5 4.5h7v11h-7z' fill='%239b1a1a' opacity='.35'/%3E%3Ccircle cx='7' cy='18.2' r='.9' fill='%239b1a1a'/%3E%3C/svg%3E");
}
.sec-name a { display: flex; align-items: center; }
.sec-name .sec-ico { width: 1.6em; height: 1.6em; }
.colo-secs a { display: inline-flex; align-items: center; }
.colo-press { font-size: .8rem !important; font-style: italic; color: var(--muted) !important; }

/* lead photo: a landscape handset held in an engraved hand */
.inhand { position: relative; padding: 6px 17.3% 9.5% 4px; }
.handset {
  position: relative; background: var(--ink); border-radius: 24px; padding: 11px 16px 11px 22px;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink);
}
.handset::before { /* front camera punch-hole in the bezel */
  content: ""; position: absolute; left: 7px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: #3a352e; box-shadow: inset 0 0 0 2px #0a0908;
}
.handset::after { /* volume keys on the top edge */
  content: ""; position: absolute; top: -4px; left: 22%; width: 18%; height: 4px; border-radius: 3px 3px 0 0; background: var(--ink);
}
.handset a { border-radius: 10px; }
.hand { position: absolute; right: 0; bottom: 0; width: 26%; height: auto; aspect-ratio: 120 / 140; pointer-events: none; }
.lead-img figcaption { margin-top: 4px; }

/* "สเปกประจำฉบับ" — boxed like a classified ad */
.spec {
  border: 2px solid var(--rule); outline: 1px solid var(--rule); outline-offset: -6px;
  padding: 10px 12px 8px; margin-top: 16px; background: var(--paper); font-size: .84rem; break-inside: avoid;
}
.spec-h {
  display: flex; align-items: center; gap: 6px; margin: -2px -4px 8px; padding: 3px 8px;
  background: var(--ink); color: var(--paper); font: 700 .92rem/1.5 var(--head); letter-spacing: .06em;
}
.spec-h svg { width: 18px; height: 18px; color: var(--paper); }
.spec dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.spec dl > div { display: flex; align-items: baseline; gap: 6px; padding: 3px 0; border-bottom: 1px dotted var(--hair); min-width: 0; }
.spec dt { font-weight: 700; color: var(--ink); white-space: nowrap; }
.spec dt::after { content: ""; }
.spec dd { margin: 0 0 0 auto; text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; min-width: 0; }
.spec dd a { color: var(--red); font-weight: 600; }
.spec-foot { margin-top: 6px; font: .74rem/1.5 var(--deck); color: var(--muted); text-align: center; }
.post-side .spec dl { grid-template-columns: minmax(0, 1fr); }

/* market-table look ("ราคามือถือวันนี้" boards) for timed lists */
.board { width: 100%; border-collapse: collapse; font-size: .86rem; border-bottom: 2px solid var(--rule); }
.board caption { caption-side: top; text-align: left; font: .8rem/1.5 var(--deck); color: var(--muted); padding-bottom: 6px; }
.board th { background: var(--ink); color: var(--paper); font: 700 .74rem/1.4 var(--head); letter-spacing: .04em; text-align: left; padding: 5px 8px; }
.board td { padding: 7px 8px; border-bottom: 1px dotted var(--hair); vertical-align: top; }
.board tbody tr:nth-child(even) td { background: var(--paper-2); }
.board .b-time { width: 4.6em; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .72rem; line-height: 1.35; }
.board .b-time b { display: block; color: var(--red); font-size: .95rem; }
.board td a { font-family: var(--head); font-weight: 600; line-height: 1.5; }
.board td > a, .board h3 a { display: block; }
.board h3 { font-size: 1rem; font-weight: 700; line-height: 1.5; }
.b-sec { display: flex; align-items: center; margin-top: 2px; font-size: .72rem; color: var(--muted); }
.b-sec .sec-ico { width: 1.25em; height: 1.25em; margin-right: .3em; }
.b-no { width: 3.2em; font: 800 1.35rem/1.2 var(--head); color: var(--red); text-align: center; }
.b-num { text-align: right !important; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.b-cat { display: inline-flex !important; align-items: center; color: var(--red); white-space: nowrap; }
.board-wide th.b-num { width: 6.5em; }
.b-show { display: none; }

.page-ico .sec-ico { width: 54px; height: 54px; margin: 0; color: var(--ink); }
.page-ico { display: inline-block; padding: 6px; border: 1px solid var(--rule); outline: 1px solid var(--rule); outline-offset: 3px; margin-bottom: 10px; }
.empty-art { width: 64px; height: 100px; display: block; margin: 0 auto 8px; transform: rotate(-6deg); }
.end-mark svg { width: 18px; height: 18px; color: var(--red); margin: 0 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .mast-row { grid-template-columns: 120px minmax(0, 1fr) 120px; }
  .ear p { display: none; }
  .ear { justify-content: center; }
  .front { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .front > .lead { grid-column: 1 / -1; padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--rule); }
  .front > .briefs { border-left: 0; padding-left: 0; }
  .paper { grid-template-columns: minmax(0, 1fr); }
  .post-side { position: static; border-left: 0; padding-left: 0; border-top: 1px solid var(--hair); padding-top: 18px; max-width: 46rem; margin: 0 auto; width: 100%; }
  .newscols { column-count: 2; }
}
@media (max-width: 800px) {
  .legal-page { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .legal-toc { position: static; border: 1px solid var(--rule); padding: 12px 16px; }
  .colo-top { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .colo-top > * { padding: 0; }
  .colo-top > * + * { border-left: 0; border-top: 1px solid var(--hair); padding-top: 18px; }
  .sec-lead { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  .mast-row { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 4px; }
  .ear { border: 0; outline: 0; padding: 0; margin-top: 8px; }
  .ear svg { width: 30px; height: 48px; }
  .handset { border-radius: 16px; padding: 7px 10px 7px 15px; }
  .handset::before { left: 4px; width: 6px; height: 6px; margin-top: -3px; }
  .handset a { border-radius: 6px; }
  .spec dl { grid-template-columns: minmax(0, 1fr); }
  .b-hide { display: none; }
  .b-show { display: flex; }
  .mast-strip { font-size: .74rem; }
  .mast-tag, .mast-price { display: none; }
  .mast-ed { text-align: center; }
  .mast-name { margin-top: 8px; }
  .mast-motto { font-size: .74rem; }
  .mast-nav ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .mast-nav li { flex: none; }
  .mast-nav a { padding: 7px 14px; font-size: .92rem; white-space: nowrap; }
  .front { grid-template-columns: minmax(0, 1fr); }
  .front > * { padding: 0; }
  .front > .wire { border-left: 0; border-top: 1px solid var(--hair); padding-top: 16px; margin-top: 20px; }
  .lead-text { column-count: 1; }
  .newscols { column-count: 1; }
  .band { font-size: 1.12rem; gap: 10px; margin-top: 30px; }
  .post-body { font-size: 1.05rem; line-height: 1.9; }
  .post-deck { font-size: 1.06rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}


/* ---------- modern refresh: lighter rules, colour photos, rounded cards ---------- */
.mast-name { font-weight: 800; letter-spacing: -.025em; font-size: clamp(1.8rem, 7.6vw, 5.6rem); margin-top: 18px; }
.mast-name a { color: var(--ink); }
.colo-name { font-weight: 800; letter-spacing: -.02em; }
.mast-tag, .mast-motto { font-style: normal; }
.mast-nav { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.mast-nav li + li { border-left: 0; }
.mast-nav ul { gap: 4px; padding: 8px 0; }
.mast-nav a { padding: 7px 16px; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: background .15s, color .15s; }
.mast-nav a:hover { background: var(--paper-2); color: var(--ink); }
.mast-nav a[aria-current="page"] { background: var(--red-soft); color: var(--red); text-decoration: none; }
.ear { border: 1px solid var(--hair); outline: 0; border-radius: var(--radius); background: var(--card); box-shadow: 0 1px 2px rgb(31 35 40 / .05); }
.rubric, .sec-name { border-top: 2px solid var(--ink); border-bottom: 0; padding: 8px 0 4px; letter-spacing: .02em; }
.band { font-size: 1.25rem; }
.band::before, .band::after { border-top: 1px solid var(--hair); }

.story-img, .lead-img a { border-radius: var(--radius); }
.story-img img, .lead-img img { filter: none; mix-blend-mode: normal; transition: transform .4s ease; }
.story-img:hover img, .lead-img a:hover img { filter: none; transform: scale(1.03); }
.post-cover img, .post-body img { filter: none; border-radius: var(--radius); }

.inhand { padding: 6px 0 0; }
.handset { background: #1b1e22; border-radius: 26px; box-shadow: 0 18px 40px -18px rgb(31 35 40 / .45), inset 0 0 0 1px rgb(255 255 255 / .06); }
.handset::before { background: #2c3137; box-shadow: inset 0 0 0 2px #0e1012; }
.handset::after { background: #1b1e22; }
.handset a { border-radius: 14px; }

.spec { border: 1px solid var(--hair); outline: 0; border-radius: var(--radius); background: var(--card); padding: 12px 16px 10px; box-shadow: 0 1px 2px rgb(31 35 40 / .05); }
.spec-h { margin: 0 0 8px; padding: 0 0 8px; background: none; color: var(--ink); border-bottom: 1px solid var(--hair); letter-spacing: .02em; }
.spec-h svg { color: var(--red); }
.spec dl > div { border-bottom-style: solid; }

.board { border-bottom: 0; }
.board th { background: var(--paper-2); color: var(--muted); border-bottom: 1px solid var(--hair); font-family: var(--body); font-weight: 600; }
.board td { border-bottom: 1px solid var(--hair); }
.board tbody tr:nth-child(even) td { background: transparent; }
.board tbody tr:hover td { background: var(--paper-2); }
.post-body th { background: var(--paper-2); color: var(--ink); }

.page-ico { border: 1px solid var(--hair); outline: 0; border-radius: 14px; background: var(--card); padding: 10px; }
.empty { border-radius: var(--radius); background: var(--card); }
.pager a { border-radius: 999px; }
.colophon { background: var(--paper-2); border-top: 1px solid var(--hair); }
.colo-bottom { border-top: 1px solid var(--hair); }
.wire-line p { border-bottom: 1px solid var(--hair); }
.post-body blockquote { border-radius: var(--radius); }

/* phone: the 13-letter wordmark needs the full row, so the ears shrink to bare icons */
@media (max-width: 640px) {
  .ear { border: 0; background: none; box-shadow: none; }
}
