/* SLOT 新聞網（ezslotnews）。色票、字級與閱讀版面沿用主站 ezslotdesign-knowledge 的 screen.css（2026-11-03 複製），之後在這裡維護。 */

/* ===== Shared chrome and homepage ===== */
:root {
  --bg: #f1f2ed;
  --surface: #e7eae3;
  --surface-2: #dce1d9;
  --ink: #131d19;
  --ink-2: #35423c;
  --ink-3: #4f5c56;
  --line: #d2d8cf;
  --line-2: #aeb9b0;
  --green: #265b49;
  --green-hover: #1c4a3b;
  --green-tint: #d9e5dd;
  --on-green: #f7f8f4;
  --select: #c4d9cd;
  --img-veil: none;
  /* 三個新聞分類借用主站的主題色：賭場＝數學赭、法規＝產業藍、市場＝評測紫（心理青太接近強調綠，不用） */
  --c-casino: #74521a;
  --c-reg: #465e8e;
  --c-mkt: #7a4666;
  --serif: var(--gh-font-heading, "Noto Serif TC", "Songti TC", serif);
  --sans: var(--gh-font-body, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif);
  --wrap: 1320px;
  --gutter: clamp(16px, 3.4vw, 40px);
  color-scheme: light;
}
:root:not([data-theme="light"]) {
  --bg: #0d1311;
  --surface: #141c19;
  --surface-2: #1c2622;
  --ink: #e7ece9;
  --ink-2: #b4c0bb;
  --ink-3: #8f9d97;
  --line: #232e2a;
  --line-2: #33413b;
  --green: #7cc4a6;
  --green-hover: #9ad3bb;
  --green-tint: #173029;
  --on-green: #0d1311;
  --select: #28493d;
  --img-veil: brightness(.9);
  --c-casino: #d2a55a;
  --c-reg: #93abdd;
  --c-mkt: #cc93b4;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-2) var(--bg); scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.75 var(--sans);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--green);
  overflow-x: clip;
}
::selection { background: var(--select); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .28em; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.num, time { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; }
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.i-arrow { flex: none; transition: transform .2s cubic-bezier(.16,1,.3,1); }
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 4px;
  font-size: 14px;
}
.skip:focus { top: 12px; }
/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
  margin-right: auto;
  padding-block: 8px;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .02em;
  line-height: 1.2;
  white-space: nowrap;
}
.brand-tag {
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: .06em;
  white-space: nowrap;
  padding-left: 14px;
  border-left: 1px solid var(--line-2);
  line-height: 1;
}
.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); background: var(--surface); }
.site-nav .nav-contact { color: var(--green); }
.header-tools { display: flex; gap: 4px; }
.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.icon-btn:hover { background: var(--surface); color: var(--ink); }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
/* Shared: category labels */
.cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cc, var(--ink-2));
  white-space: nowrap;
}
.cat::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: currentColor;
}
.cat[data-cat="casino"] { --cc: var(--c-casino); }
.cat[data-cat="regulation"] { --cc: var(--c-reg); }
.cat[data-cat="market"] { --cc: var(--c-mkt); }
/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding-block: 28px;
}
.footer-brand { display: flex; align-items: baseline; gap: 12px; }
.footer-brand .brand-name { font-size: 18px; }
.footer-brand .brand-tag { padding-left: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 4px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
}
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.copyright { font-size: 13px; color: var(--ink-3); }

/* ===== Lists: category page ===== */
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--green); border-radius: 6px 6px 0 0; }
/* Category page */
.tag-head { padding-top: clamp(32px, 4.5vw, 56px); }
.tag-head-inner { padding-bottom: 22px; border-bottom: 1px solid var(--ink); }
.tag-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px 20px;
  flex-wrap: wrap;
}
.tag-head h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.3;
  letter-spacing: .01em;
}
.tag-count { font-size: 15px; color: var(--ink-3); white-space: nowrap; }
.tag-desc {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 38em;
}
.tag-list { padding-bottom: clamp(64px, 8vw, 112px); }
.pagination {
  margin-top: clamp(28px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
a.page-btn:hover { background: var(--ink); color: var(--bg); }
a.page-btn.next:hover .i-arrow { transform: translateX(3px); }
a.page-btn.prev:hover .i-arrow { transform: translateX(-3px); }
.page-btn.prev { justify-self: start; }
.page-btn.next { justify-self: end; }
.page-btn[aria-disabled="true"] {
  border-color: var(--line);
  color: var(--ink-3);
  font-weight: 500;
  cursor: default;
}
.page-status {
  font-size: 14px;
  color: var(--ink-3);
  text-align: center;
  white-space: nowrap;
}
.page-status .num { color: var(--ink); font-weight: 700; }
.tag-count .num { font-weight: 700; font-size: 17px; color: var(--cc, var(--ink)); }

/* ===== Article ===== */
/* Article */
.col { width: min(720px, 100% - var(--gutter) * 2); margin-inline: auto; }
.col-wide { width: min(1040px, 100% - var(--gutter) * 2); margin-inline: auto; }
.article { padding-bottom: clamp(64px, 8vw, 112px); }
.reader-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-top: clamp(12px, 2vw, 24px);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }
.back-link:hover .i-arrow { transform: translateX(-3px); }
.font-glyph { font-weight: 600; line-height: 1; font-size: 17px; }
:root[data-fontsize="s"] .font-glyph { font-size: 14px; }
:root[data-fontsize="l"] .font-glyph { font-size: 21px; }
.reader-head { padding-top: clamp(28px, 4.5vw, 56px); }
.reader-head h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.42;
  letter-spacing: .01em;
}
.lead {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink-2);
}
.byline {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 12px;
  font-size: 14px;
  color: var(--ink-3);
}
.byline a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.byline .by-author { color: var(--ink-2); font-weight: 500; }
.byline a:hover { text-decoration: underline; text-decoration-color: var(--line-2); }
.byline .cat { font-size: 14px; }
.byline .sep { color: var(--line-2); }
.by-meta {
  display: inline-flex;
  align-items: center;
  gap: 0 10px;
  white-space: nowrap;
}
.reader-figure { margin: clamp(20px, 3vw, 32px) auto 0; }
.reader-figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  filter: var(--img-veil);
  background: var(--surface-2);
}
.reader-figure figcaption, .gh-content figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-3);
  text-align: center;
  text-wrap: pretty;
}
.reader-figure figcaption { width: min(720px, 100%); margin-inline: auto; }
/* Ghost content: one 720px measure (~40 字 at 18px), wide/full cards break out on the same grid. */
.gh-content {
  --main: min(720px, 100% - var(--gutter) * 2);
  display: grid;
  grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [wide-start] minmax(0, 160px) [main-start] var(--main) [main-end] minmax(0, 160px) [wide-end] minmax(var(--gutter), 1fr) [full-end];
  margin-top: clamp(32px, 4.5vw, 52px);
  font-size: 18px;
  line-height: 1.95;
  letter-spacing: .01em;
  color: var(--ink);
  overflow-wrap: break-word;
  line-break: strict;
}
:root[data-fontsize="s"] .gh-content { font-size: 16px; }
:root[data-fontsize="l"] .gh-content { font-size: 21px; }
.gh-content > * { grid-column: main-start / main-end; min-width: 0; margin: 0; }
.gh-content > * + * { margin-top: 1.2em; }
.gh-content > .kg-width-wide { grid-column: wide-start / wide-end; }
.gh-content > .kg-width-full { grid-column: full-start / full-end; }
.gh-content p:empty { display: none; }
.gh-content h2, .gh-content h3, .gh-content h4 { scroll-margin-top: 24px; text-wrap: balance; }
.gh-content > h2 {
  margin-top: 2.3em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.44em;
  line-height: 1.45;
  letter-spacing: .01em;
}
.gh-content > h3 {
  margin-top: 1.9em;
  font-weight: 700;
  font-size: 1.17em;
  line-height: 1.55;
}
.gh-content > h4 {
  margin-top: 1.7em;
  font-weight: 700;
  font-size: 1em;
  line-height: 1.6;
}
.gh-content > :is(h2, h3, h4) + * { margin-top: .65em; }
.gh-content > :is(h2, h3, h4):first-child { margin-top: 0; }
.gh-content :is(h2, h3, h4) > br:first-child { display: none; }
.gh-content a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
}
.gh-content a:hover { color: var(--green-hover); text-decoration-thickness: 2px; }
.gh-content strong, .gh-content b { font-weight: 700; }
.gh-content :is(ul, ol) { padding-left: 1.5em; }
.gh-content ul { list-style: disc; }
.gh-content ol { list-style: decimal; }
.gh-content li + li { margin-top: .45em; }
.gh-content li::marker { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.gh-content :is(ul, ol) :is(ul, ol) { margin-top: .45em; }
.gh-content hr {
  height: 1px;
  border: 0;
  background: var(--line-2);
  margin-block: 2.6em;
}
.gh-content > hr + * { margin-top: 0; }
.gh-content blockquote:not([class]) { padding-left: 1.25em; border-left: 1px solid var(--ink); color: var(--ink-2); }
.gh-content .kg-blockquote-alt {
  padding-inline: 1em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.22em;
  line-height: 1.7;
  text-align: center;
  color: var(--ink);
}
.gh-content blockquote p + p { margin-top: .8em; }
.gh-content code, .gh-content kbd, .gh-content pre { font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Noto Sans TC", monospace; }
.gh-content :not(pre) > code {
  padding: .1em .38em;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: .86em;
  overflow-wrap: anywhere;
}
.gh-content pre {
  overflow-x: auto;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0;
  tab-size: 2;
  scrollbar-width: thin;
}
.gh-content pre code { font-size: inherit; background: none; padding: 0; }
/* Tables scroll inside their own box; the page never scrolls sideways. */
.gh-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: .86em;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  scrollbar-width: thin;
  background: linear-gradient(to right, var(--bg) 30%, transparent) left / 32px 100% no-repeat local, linear-gradient(to left, var(--bg) 30%, transparent) right / 32px 100% no-repeat local, linear-gradient(to right, rgba(15, 26, 23, .12), transparent) left / 10px 100% no-repeat scroll, linear-gradient(to left, rgba(15, 26, 23, .12), transparent) right / 10px 100% no-repeat scroll;
}
.gh-content th, .gh-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.gh-content thead th, .gh-content tr:first-child th { border-bottom-color: var(--ink); font-weight: 700; white-space: nowrap; }
.gh-content th { color: var(--ink); }
.gh-content td { color: var(--ink-2); }
.gh-content img, .gh-content video { max-width: 100%; height: auto; }
.gh-content > figure img, .gh-content .kg-image-card img { margin-inline: auto; border-radius: 4px; filter: var(--img-veil); }
.gh-content .kg-width-full img { width: 100%; border-radius: 0; }
.gh-content .kg-width-wide img { width: 100%; }
.gh-content .kg-width-full figcaption { padding-inline: var(--gutter); }
.gh-content > figure, .gh-content > .kg-card { margin-top: 1.9em; }
.gh-content > figure + *, .gh-content > .kg-card + * { margin-top: 1.9em; }
.gh-content > .kg-card + p, .gh-content > figure + p { margin-top: 1.6em; }
.gh-content > :is(figure, .kg-card):first-child { margin-top: 0; }
/* Gallery */
.kg-gallery-container { display: flex; flex-direction: column; gap: 8px; }
.kg-gallery-row { display: flex; gap: 8px; }
.kg-gallery-image { flex: 1 1 0; min-width: 0; }
.kg-gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 3px;
  filter: var(--img-veil);
}
/* Bookmark */
.gh-content .kg-bookmark-container {
  display: flex;
  min-height: 132px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.gh-content .kg-bookmark-container:hover { color: var(--ink); border-color: var(--line-2); background: var(--surface); }
.kg-bookmark-content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  line-height: 1.6;
  letter-spacing: 0;
}
.kg-bookmark-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}
.kg-bookmark-container:hover .kg-bookmark-title { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .28em; }
.kg-bookmark-description {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-3);
  min-width: 0;
  white-space: nowrap;
}
.gh-content .kg-bookmark-icon {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 3px;
  margin: 0;
  filter: none;
}
.kg-bookmark-author, .kg-bookmark-publisher { overflow: hidden; text-overflow: ellipsis; }
.kg-bookmark-publisher { flex: 0 1 auto; min-width: 0; }
.kg-bookmark-author + .kg-bookmark-publisher::before { content: "·"; margin-right: 8px; color: var(--line-2); }
.kg-bookmark-thumbnail {
  position: relative;
  flex: 0 0 30%;
  max-width: 220px;
  background: var(--surface-2);
}
.gh-content .kg-bookmark-thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
}
/* Callout */
.kg-callout-card {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  line-height: 1.85;
}
.kg-callout-card-white { background: var(--bg); }
.kg-callout-card-grey { background: var(--surface-2); border-color: transparent; }
.kg-callout-card-accent, .kg-callout-card-green { background: var(--green-tint); border-color: transparent; }
.kg-callout-card-blue { background: color-mix(in srgb, var(--c-reg) 12%, var(--bg)); border-color: transparent; }
.kg-callout-card-yellow { background: color-mix(in srgb, var(--c-casino) 12%, var(--bg)); border-color: transparent; }
.kg-callout-card-red { background: color-mix(in srgb, var(--c-casino) 8%, var(--bg)); border-color: transparent; }
.kg-callout-card-pink, .kg-callout-card-purple { background: color-mix(in srgb, var(--c-mkt) 11%, var(--bg)); border-color: transparent; }
.kg-callout-emoji { flex: none; font-size: 1.1em; line-height: 1.7; }
.kg-callout-text { flex: 1 1 auto; min-width: 0; }
/* Toggle */
.kg-toggle-card { border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px 4px 20px; }
.kg-toggle-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  min-height: 52px;
}
.gh-content .kg-toggle-heading-text {
  margin: 0;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.55;
}
.kg-toggle-card-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.kg-toggle-card-icon:hover { background: var(--surface); color: var(--ink); }
.kg-toggle-card-icon svg { width: 14px; height: 14px; transition: transform .2s cubic-bezier(.16,1,.3,1); }
.kg-toggle-card[data-kg-toggle-state="open"] .kg-toggle-card-icon svg { transform: rotate(180deg); }
.kg-toggle-content { padding: 0 12px 16px 0; }
/* 開合要靠 main.js：沒有 JS 時內容一律展開、隱藏開合按鈕（appearance.js 會在 <html> 加上 .js）。 */
html.js .kg-toggle-card[data-kg-toggle-state="close"] .kg-toggle-content { display: none; }
html:not(.js) .kg-toggle-card-icon { display: none; }
/* Bookmark card shell (Ghost's bookmark assets are excluded; the container rules above do the styling). */
.kg-bookmark-card { width: 100%; }
/* Button */
.kg-button-card { display: flex; justify-content: flex-start; }
.kg-button-card.kg-align-left { justify-content: flex-start; }
.kg-button-card.kg-align-center { justify-content: center; }
.gh-content .kg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--green);
  color: var(--on-green);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 26, 23, .12), 0 4px 12px -6px rgba(15, 26, 23, .3);
}
.gh-content .kg-btn-accent { background: var(--green); color: var(--on-green); }
.gh-content .kg-btn:hover { background: var(--green-hover); color: var(--on-green); }
/* Embeds */
.kg-embed-card { display: flex; flex-direction: column; align-items: center; }
.kg-embed-card iframe { max-width: 100%; border: 0; }
.kg-embed-card iframe[src*="youtube"], .kg-embed-card iframe[src*="youtu.be"], .kg-embed-card iframe[src*="vimeo"] {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  background: var(--surface-2);
}
.kg-video-card video { width: 100%; border-radius: 4px; }
.kg-header-card {
  box-sizing: border-box;
  padding: 40px 24px;
  border-radius: 6px;
  background: var(--surface);
  text-align: center;
}
/* Prev / next */
.post-nav {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  border-top: 1px solid var(--ink);
}
.post-nav a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0 4px;
  text-decoration: none;
  min-height: 44px;
}
.post-nav .next { text-align: right; align-items: flex-end; grid-column: 2; }
.post-nav-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-3);
}
.post-nav-title { font-size: 17px; font-weight: 700; line-height: 1.55; }
.post-nav a:hover .main { text-decoration: underline; text-decoration-color: var(--line-2); }
.post-nav .prev:hover .i-arrow { transform: translateX(-3px); }
.post-nav .next:hover .i-arrow { transform: translateX(3px); }

/* ===== Pages: generic page ===== */
.page-body .gh-content { margin-top: clamp(28px, 3.5vw, 40px); }
/* Generic pages: the content column is the page column. */
.page-body .gh-content { --main: 100%; grid-template-columns: [full-start] 0 [wide-start] 0 [main-start] var(--main) [main-end] 0 [wide-end] 0 [full-end]; }

/* ===== Error page ===== */
/* Error */
.err { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(72px, 9vw, 128px); }
.err h1 {
  margin-top: 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.35;
  letter-spacing: .01em;
}
.err-lead {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-2);
}
.err-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.err-topics { margin-top: clamp(48px, 6vw, 72px); }
.err-topics h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}
.err-topics ul { display: grid; grid-template-columns: 1fr; }
.err-topics li { border-bottom: 1px solid var(--line); }
.err-topics a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  text-decoration: none;
}
.err-topics .cat { font-size: 16px; }
.err-topics .cat::before { width: 8px; height: 8px; }
.err-count { font-size: 14px; color: var(--ink-3); }
.err-count .num { color: var(--ink); font-weight: 700; }
.err-topics a:hover .cat { text-decoration: underline; text-underline-offset: .28em; }


/* Sponsored label and topic stay on one line in the byline, also when the byline stacks on phones. */
.by-tags { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0 12px; }
/* Without JavaScript Ghost search cannot open, so its buttons are hidden. */
html:not(.js) [data-ghost-search] { display: none; }
.page-figure { margin: clamp(20px, 3vw, 32px) 0 0; }
.page-figure img { width: 100%; height: auto; border-radius: 6px; }

/* ===== Shared: buttons, page head, screen-reader text（沿用主站） ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.page-head { padding-top: clamp(32px, 4.5vw, 56px); padding-bottom: 22px; border-bottom: 1px solid var(--ink); }
.page-head h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 3.1vw, 40px);
  line-height: 1.35;
  letter-spacing: .01em;
}
.page-lead {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-2);
}
.page-body { padding-bottom: clamp(64px, 8vw, 112px); }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: var(--on-green);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 26, 23, .12), 0 4px 12px -6px rgba(15, 26, 23, .3);
  transition: background-color .15s ease;
}
.btn-primary:hover { background: var(--green-hover); }
.btn-primary:hover .i-arrow { transform: translate(2px, -2px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }

/* ===== 新聞站專屬 ===== */
/* Header：網站名與「SLOT 設計王 旗下」；導覽最後一項是主站入口（綠色，比照主站的「聯絡我們」）。 */
.brand { align-items: baseline; }
.brand-name { text-decoration: none; }
.brand-tag a { color: var(--ink-2); text-decoration: none; }
.brand-tag a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); }
.site-nav .nav-parent { color: var(--green); gap: 6px; }
.site-nav .nav-parent:hover { color: var(--green-hover); }
.site-nav .nav-parent:hover .i-arrow { transform: translate(2px, -2px); }

/* 首頁標頭 */
.today {
  display: flex;
  align-items: baseline;
  gap: 8px 24px;
  flex-wrap: wrap;
  padding-top: clamp(32px, 4.5vw, 56px);
  padding-bottom: clamp(20px, 2.5vw, 32px);
}
.today h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.38;
  letter-spacing: .01em;
}
.today p { font-size: 15px; color: var(--ink-3); }

/* 三條線：等寬三欄，每欄從一條 ink 線開始（The Ruled Page Rule）。 */
.desks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 48px);
  align-items: start;
  padding-bottom: clamp(64px, 8vw, 112px);
}
.desk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--ink);
  padding-top: 6px;
}
.desk-head .cat {
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.desk-head .cat::before { width: 8px; height: 8px; }
.desk-head .cat:hover { text-decoration: underline; text-decoration-color: var(--line-2); }
.desk-count { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.desk-count .num { font-size: 15px; font-weight: 700; color: var(--cc, var(--ink)); }
.desk[data-cat="casino"] { --cc: var(--c-casino); }
.desk[data-cat="regulation"] { --cc: var(--c-reg); }
.desk[data-cat="market"] { --cc: var(--c-mkt); }
.desk-empty { padding: 18px 0; font-size: 15px; color: var(--ink-3); border-top: 1px solid var(--line); }
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
}
.more-link:hover { text-decoration: underline; }
.more-link:hover .i-arrow { transform: translateX(3px); }

/* 新聞清單：沒有卡片；日期、標題、兩行摘要、出處。只有分類頁在右側放封面縮圖。 */
.news-list { margin: 0; padding: 0; list-style: none; }
.news { border-top: 1px solid var(--line); }
.news:last-child { border-bottom: 1px solid var(--line); }
.byline .src a { color: var(--green); text-decoration-color: currentColor; }
.byline .src a:hover { color: var(--green-hover); }
.news-link {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  text-decoration: none;
}
.news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--ink-3); }
.news-title { font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.news-link:hover .news-title { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .28em; }
.news-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.src { display: inline-flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--ink-3); }
.src-label { color: var(--ink-3); }
.news .src { color: var(--ink-2); }
.news .src .src-label { color: var(--ink-3); }
/* 分類頁、全部新聞：單欄，限制行寬（約 40 字） */
.tag-list .news-list, .tag-head-inner { max-width: 760px; }
.tag-list .news-link { padding: 22px 0; }
.tag-list .news-excerpt { font-size: 16px; }
/* 分類頁：文字欄維持約 760px，右側加 16:9 封面縮圖（Alex 2026-11-04）；標頭線跟著加寬 */
.tag-list:has(.has-thumb) .news-list, .tag-head:has(+ .tag-list .has-thumb) .tag-head-inner { max-width: 1040px; }
.news-link.has-thumb { grid-template-columns: minmax(0, 1fr) 240px; column-gap: 36px; }
/* 沒有主圖的列：留出同樣的右側空間，文字欄與有圖列等寬 */
.tag-list:has(.has-thumb) .news-link:not(.has-thumb) { padding-right: 276px; }
.news-link.has-thumb > * { grid-column: 1; }
.news-link.has-thumb > .news-thumb { grid-column: 2; grid-row: 1 / span 4; align-self: start; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.news-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 新聞頁 byline：分類、出處、日期 */
.byline .src { font-size: 14px; color: var(--ink-2); }
.byline .src-label { color: var(--ink-3); }
.post-nav-title { font-size: 17px; font-weight: 700; line-height: 1.5; }

/* 頁尾：網站說明＋三站 */
.footer-inner { align-items: flex-start; gap: 24px 48px; padding-block: 36px; }
.footer-about { max-width: 26em; }
.footer-about .brand-name { font-size: 18px; }
.footer-about p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.family {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  flex: 1 1 520px;
  border-top: 1px solid var(--ink);
}
.family > * {
  display: grid;
  align-content: start;
  gap: 2px;
  min-height: 44px;
  padding: 12px 0;
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: none;
}
.family strong { font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--ink); }
.family a:hover strong { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .28em; }
.family-soon strong { color: var(--ink-2); }
.copyright { flex-basis: 100%; }

/* 三欄逐列對齊（比照主站主題分區的 subgrid）：標頭、6 則、看全部各佔一列。 */
@media (min-width: 1081px) {
  .desks { grid-template-rows: auto repeat(6, auto) auto; }
  .desk { display: grid; grid-row: span 8; grid-template-rows: subgrid; }
  .desk .news-list { display: contents; }
  .desk .more-link, .desk-empty { align-self: start; }
  /* 不足 6 則時「看全部」仍放在第 8 列，三欄的連結對齊。 */
  .desk .more-link { grid-row: 8; }
}

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .header-inner { flex-wrap: wrap; gap: 0 16px; }
  .site-nav {
    order: 3;
    border-top: 1px solid var(--line);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    width: calc(100% + var(--gutter) * 2);
  }
  .site-nav ul { justify-content: space-between; }
}
@media (max-width: 1080px) {
  .desks { grid-template-columns: 1fr; gap: clamp(40px, 6vw, 56px); }
}
@media (max-width: 639px) {
  .header-inner { min-height: 0; padding-top: 10px; }
  .brand { flex-direction: column; gap: 2px; align-items: flex-start; }
  .brand-tag { padding-left: 0; border-left: 0; }
  .site-nav ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
  .site-nav a { justify-content: center; padding: 0 4px; }
  .today h1 { font-size: 28px; }
  .news-title { font-size: 17px; }
  .news-link.has-thumb { grid-template-columns: minmax(0, 1fr) 112px; column-gap: 16px; }
  .tag-list:has(.has-thumb) .news-link:not(.has-thumb) { padding-right: 128px; }
  .family { grid-template-columns: 1fr; flex: none; width: 100%; }
  .footer-inner { flex-direction: column; }
  .tag-desc { font-size: 16px; }
  .page-btn { padding: 0 14px; }
  .pagination { gap: 8px; }
  .reader-top { padding-top: 8px; }
  .byline { flex-direction: column; align-items: flex-start; margin-top: 10px; }
  .lead { font-size: 17px; }
  .gh-content > * + * { margin-top: 1.1em; }
  .gh-content th, .gh-content td { padding: 8px 12px; }
  .gh-content pre { padding: 14px 16px; margin-inline: calc(var(--gutter) * -1); border-radius: 0; border-inline: 0; }
  .kg-bookmark-container { min-height: 0; }
  .kg-bookmark-content { padding: 14px 16px; }
  .kg-bookmark-thumbnail { flex-basis: 28%; }
  .kg-toggle-card { padding-left: 16px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { grid-column: 1; text-align: left; align-items: flex-start; border-top: 1px solid var(--line); margin-top: 16px; }
  .page-lead { font-size: 16px; }
  .err-actions > * { flex: 1 1 100%; }
  .err-lead { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
.tag-head[data-cat="casino"] { --cc: var(--c-casino); }
.tag-head[data-cat="regulation"] { --cc: var(--c-reg); }
.tag-head[data-cat="market"] { --cc: var(--c-mkt); }

/* ===== 地區頁（page-region.hbs，Alex 2026-11-04）=====
   左邊地圖圖版、右邊地名表側欄。綠色只給可以點的地區與目前選定的地區；越新越濃（42%–95%，選定的地區才是實心綠加 ink 外框；沒有新聞的陸地壓暗到 surface-2 與 bg 之間，最舊一級也要和它分得開，Alex 2026-11-04）（--heat 由 region.js 依最新一則的日期排名寫入）。
   清單的字級與墨色逐則遞減，用 nth-child，沒有 JS 也成立。 */
.region-head { padding-top: clamp(32px, 4.5vw, 56px); padding-bottom: 22px; }
.region-head h1 { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3.1vw, 44px); font-weight: 600; line-height: 1.3; letter-spacing: .01em; }
.region-lede { margin: 12px 0 0; max-width: 40em; font-size: 17px; line-height: 1.85; color: var(--ink-2); }
.region {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 0 clamp(24px, 3vw, 48px);
  align-items: start;
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
.region-plate { min-width: 0; }
/* 選了地區時地圖放大（region.js 改 viewBox）。--k＝目前寬度／全圖寬度：線寬與圓點半徑都乘上 --k，放大後粗細不變 */
.map-frame { position: relative; }
.world-map { display: block; width: 100%; height: auto; }
/* 空白陸地與國界用中性灰（同明度、去掉綠色調），綠色才靠色相跳出來（Alex 2026-11-04） */
.world-map { --land: color-mix(in oklab, var(--surface-2) 55%, var(--bg)); --border: var(--line-2); }
@supports (color: oklch(from red l c h)) {
  .world-map { --land: oklch(from color-mix(in oklab, var(--surface-2) 55%, var(--bg)) l 0.004 h); --border: oklch(from var(--line-2) l 0.006 h); }
}
.world-map .land path { fill: var(--land); stroke: var(--border); stroke-width: calc(.5px * var(--k, 1)); }
.world-map .geo { cursor: pointer; }
.world-map .geo:focus-visible { outline: none; }
.world-map .geo-country path {
  fill: color-mix(in oklab, var(--green) calc(25% + var(--heat, .5) * 70%), var(--surface-2));
  stroke: var(--border);
  stroke-width: calc(.5px * var(--k, 1));
  transition: fill .2s ease-out;
}
.world-map .geo .hit { r: calc(11px * var(--k, 1)); fill: transparent; }
.world-map .geo .dot {
  r: calc((2.6px + var(--heat, .5) * 2px) * var(--k, 1));
  fill: color-mix(in oklab, var(--green) calc(25% + var(--heat, .5) * 70%), var(--surface-2));
  stroke: var(--bg);
  stroke-width: calc(1.4px * var(--k, 1));
  transition: fill .2s ease-out, r .2s ease-out;
}
/* 縮放途中半徑每格都在變，不套半徑轉換，免得圓點跟不上 */
.world-map.is-zooming .geo .dot { transition: fill .2s ease-out; }
.world-map .geo:hover path, .world-map .geo:hover .dot { fill: var(--green-hover); }
.world-map .geo:focus-visible path, .world-map .geo:focus-visible .dot { fill: var(--green-hover); stroke: var(--ink); stroke-width: calc(1.6px * var(--k, 1)); }
/* 選了地區後，其他地區退成淡綠，選定的地區是實心綠加 ink 外框，圓點放大 */
.region.has-selection .world-map .geo:not(.is-selected) path,
.region.has-selection .world-map .geo:not(.is-selected) .dot { fill: color-mix(in oklab, var(--green) calc(var(--heat, .5) * 35%), var(--surface-2)); }
.world-map .geo.is-selected path { fill: var(--green); stroke: var(--ink); stroke-width: calc(1.8px * var(--k, 1)); }
.world-map .geo.is-selected .dot { r: calc(7px * var(--k, 1)); fill: var(--green); stroke: var(--ink); stroke-width: calc(2px * var(--k, 1)); }
.map-out {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--bg);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
}
.map-out[hidden] { display: none; }
.map-out:hover { color: var(--ink); background: var(--surface); }
.world-map .geo.is-empty { cursor: default; }
.world-map .geo.is-empty path, .world-map .geo.is-empty .dot { fill: var(--surface-2); }
.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin: 10px 0 0; font-size: 13px; color: var(--ink-3); }
.legend-item { display: inline-flex; align-items: center; gap: 8px; }
.legend-scale { display: inline-flex; gap: 2px; }
.legend-scale i { width: 16px; height: 8px; border-radius: 1px; background: color-mix(in oklab, var(--green) var(--p), var(--surface-2)); }
/* 圖例四格對齊地圖實際的濃度範圍：最新 85%、最舊約 32%（15% + .25 × 70%） */
.legend-scale i:nth-child(1) { --p: 95%; }
.legend-scale i:nth-child(2) { --p: 78%; }
.legend-scale i:nth-child(3) { --p: 60%; }
.legend-scale i:nth-child(4) { --p: 42%; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.gazetteer { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
/* 一洲一排（gazetteer partial）：左欄洲名，點了地圖放大到該洲；右邊是該洲的地名按鈕 */
.gz-rows { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gz-row { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 0 12px; align-items: start; }
/* 整洲都沒有已發布新聞時只剩洲名，藏起來（沒有 JS 也成立） */
.gz-row:not(:has(.gz-chip)) { display: none; }
.gz-cont {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
/* 放大鏡只在能點時出現（沒有 JS 時按鈕停用，洲名只是標題） */
.gz-cont:not(:disabled)::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--ink-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.6'/%3E%3Cpath d='M10.4 10.4 14.2 14.2M7 5v4M5 7h4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.6'/%3E%3Cpath d='M10.4 10.4 14.2 14.2M7 5v4M5 7h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.gz-cont:disabled { cursor: default; color: var(--ink); }
.gz-cont:not(:disabled):hover { color: var(--green-hover); }
.gz-cont:not(:disabled):hover::after { background: currentColor; }
.gz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gz-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}
.gz-chip .num { font-size: 13px; color: var(--ink-3); }
.gz-chip:hover { color: var(--ink); background: var(--surface); }
.gz-chip[aria-current="true"] { color: var(--ink); border-color: var(--green); box-shadow: inset 0 -2px 0 var(--green); }
.region-panel { min-width: 0; }
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 12px; }
.panel-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.3; }
.panel-head h2:focus { outline: none; }
.panel-count { margin: 0; font-size: 13px; color: var(--ink-3); }
.panel-count .num { margin-right: 2px; font-size: 15px; font-weight: 700; color: var(--ink); }
.panel-reset { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--green); text-decoration: none; }
.panel-reset:hover { color: var(--green-hover); }
.region-list { margin: 0; padding: 0; list-style: none; }
.rl { border-top: 1px solid var(--line); }
.rl:last-child { border-bottom: 1px solid var(--line); }
.rl-link { display: grid; gap: 5px; padding: 13px 0; text-decoration: none; }
.rl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; font-size: 13px; color: var(--ink-3); }
.rl-places span + span::before { content: "、"; }
/* 越新越顯眼，逐則遞減：第 1 則 24px ink 700，往下縮到 15px、墨色 ink → ink-2 → ink-3 */
.rl-title { font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ink-3); text-wrap: pretty; }
.rl:nth-child(1) .rl-title { font-size: 24px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.rl:nth-child(1) .rl-link { padding: 16px 0 18px; }
.rl:nth-child(2) .rl-title { font-size: 21px; font-weight: 700; line-height: 1.42; color: var(--ink); }
.rl:nth-child(3) .rl-title { font-size: 19px; font-weight: 700; color: var(--ink); }
.rl:nth-child(4) .rl-title { font-size: 18px; font-weight: 700; color: var(--ink-2); }
.rl:nth-child(5) .rl-title { font-size: 17px; font-weight: 700; color: var(--ink-2); }
.rl:nth-child(6) .rl-title { font-size: 16px; font-weight: 500; color: var(--ink-2); }
.rl-empty { padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-3); }
.rl-link:hover .rl-title { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .28em; }
/* 切換地區時，清單由上而下依序浮現（region.js 加 .is-in 與 --n） */
.region-list.is-in .rl { animation: rl-in .32s cubic-bezier(.16, 1, .3, 1) backwards; animation-delay: calc(var(--n, 0) * 28ms); }
@keyframes rl-in { from { opacity: 0; transform: translateY(6px); } }
.gz-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 112px); }
.gz-group { scroll-margin-top: 24px; }
.gz-group h2 { display: flex; align-items: baseline; gap: 8px; margin: 0; padding: 6px 0 10px; border-top: 1px solid var(--ink); font-family: var(--serif); font-size: 22px; font-weight: 600; }
.gz-group h2 .num { margin-left: auto; font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--ink); }
.gz-group h2 .unit { font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
/* 有 JS 時，各地區段落只是 region.js 的資料來源；右欄已列出選定地區 */
.region.is-live + .gz-groups { display: none; }
.region.is-live { padding-bottom: clamp(64px, 8vw, 112px); }
@media (max-width: 1080px) {
  .region { grid-template-columns: 1fr; }
  .region-panel { margin-top: 28px; padding-top: 6px; border-top: 1px solid var(--ink); scroll-margin-top: 12px; }
}
@media (max-width: 639px) {
  .site-nav li:has(.nav-parent) { grid-column: 1 / -1; }
  .region-lede { font-size: 16px; }
  /* 手機上每洲的地名按鈕改成一列橫向捲動（右側延伸到螢幕邊），清單不會被 20 多個按鈕擠到畫面下方 */
  .gz-row { grid-template-columns: 4.6em minmax(0, 1fr); gap: 0 8px; }
  .gz-chips { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px 0; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
  .gz-chips li { flex: none; }
  .rl:nth-child(1) .rl-title { font-size: 21px; }
  .rl:nth-child(2) .rl-title { font-size: 19px; }
}
