/* r10b asset fix */
/* potebo locked palette + components — v1 framework */
:root {
  --paper: #ebe4d6;
  --ink: #26201a;
  --ink-2: #4a4338;
  --ink-3: #6e6458;
  --accent: #e85d2a;
  --sun: #f0c94d;
  --rose: #f0b0c4;
  --sky: #9ec9e8;
  --mint: #a8d49a;
  --card: #f4efe4;
  --p: #f0c94d;
  --t: #9ec9e8;
  --border: 2px solid var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 2px 2px 0 var(--ink);
  --shadow-xs: 1px 1px 0 var(--ink);
  --radius: 14px;
  /* CJK-first stack: zh-CN 正文优先系统黑体，拉丁回落到系统 UI */
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC",
    "Microsoft YaHei UI", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei UI",
    "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --text: 16px;
  --leading: 1.65;
  --leading-tight: 1.25;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text);
  line-height: var(--leading);
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}
a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
a:hover { color: var(--accent); }
/* Soft mention / nested-parent links — no heavy orange underline */
a.t-mention,
a.fan-mention {
  color: #3a5a7a;
  text-decoration: none;
  text-decoration-thickness: 1px;
}
a.t-mention:hover,
a.fan-mention:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(232, 93, 42, 0.45);
  text-decoration-thickness: 1px;
}
.t-parent {
  text-decoration: none;
  color: inherit;
}
.t-parent:empty { display: none !important; }
.t-parent-hit {
  position: absolute; inset: 0; z-index: 1;
  border-radius: inherit; text-decoration: none;
}
.t-parent-hit .visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.page { max-width: 760px; margin: 0 auto; padding: 0 20px 80px; }

/* top bar / nav */
.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 22px 0 18px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
}
.brand-mark {
  width: 42px; height: 42px; border: 0; border-radius: 12px;
  background: transparent; color: #fff8f0; box-shadow: none;
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
  transform: rotate(-3deg); overflow: visible; flex: none;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(2px 2px 0 var(--ink)); image-rendering: -webkit-optimize-contrast; }
.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand small, .brand-sub {
  display: block; margin-top: 2px; font-family: var(--mono);
  color: var(--ink-3); font-size: 10px; letter-spacing: 0.06em; font-weight: 500;
  text-transform: none; opacity: 0.9;
}
.brand h1 {
  margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.05;
}
.brand small {
  display: block; margin-top: 3px; font-family: var(--mono);
  color: var(--ink-3); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
}
.nav {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  border: var(--border); background: var(--card); border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink); padding: 6px 12px;
  font-size: 13px; font-weight: 700;
}
.nav a:hover { background: var(--sun); color: var(--ink); transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--ink); }
.nav a:active { transform: translate(2px,2px); box-shadow: none; }
.nav a.is-active { background: var(--sun); }

/* duel / who cards */
.duel {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 10px; align-items: stretch; margin: 8px 0 22px;
}
.who {
  border: var(--border); border-radius: var(--radius); background: var(--card);
  box-shadow: var(--shadow-sm); padding: 14px 14px 12px;
}
.who--p { transform: rotate(-0.6deg); }
.who--t { transform: rotate(0.6deg); text-align: right; }
.who-top { display: flex; align-items: center; gap: 10px; }
.who--t .who-top { flex-direction: row-reverse; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; border: var(--border);
  box-shadow: 2px 2px 0 var(--ink); display: grid; place-items: center;
  font-weight: 800; font-size: 13px; flex: none; object-fit: cover;
  background: var(--card);
}
.who--p .avatar { background: var(--p); }
.who--t .avatar { background: var(--t); }
.who h2 { margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.25; }
.who .handle {
  font-family: var(--mono); color: var(--ink-3); font-size: 11px; margin-top: 2px;
}
.vs {
  align-self: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: var(--border); background: var(--accent); color: #fff8f0;
  box-shadow: var(--shadow-sm); display: grid; place-items: center;
  font-weight: 800; font-size: 12px; letter-spacing: 0.04em;
  transform: rotate(-8deg);
}
.lede {
  grid-column: 1 / -1;
  color: var(--ink-2); font-size: 15.5px; margin: 8px 0 0; max-width: none; line-height: 1.7;
}

/* highlight ticket */
.ticket {
  border: var(--border); border-radius: var(--radius); background: var(--card);
  box-shadow: var(--shadow); overflow: hidden; margin: 0 0 40px;
}
.ticket-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: var(--sun); border-bottom: var(--border); padding: 10px 16px;
  font-family: var(--font-display); font-size: 15px; letter-spacing: 0.04em; text-transform: none;
  font-weight: 800;
}
.ticket-body { padding: 16px 18px 18px; }
.ticket-body h3 { display: none; }
.ticket-body p,
.ticket-body .ticket-notice {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.65;
}
.ticket-body p:last-child,
.ticket-body .ticket-notice:last-child { margin-bottom: 0; }
.ticket-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  flex-wrap: wrap; margin-top: 14px;
}
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: var(--border); background: var(--accent); color: #fff8f0;
  border-radius: 10px; box-shadow: 2px 2px 0 var(--ink);
  padding: 7px 12px; font-size: 13px; font-weight: 800; text-decoration: none;
}
.btn:hover { color: #fff8f0; background: #d14e20; }
.btn--ghost {
  background: var(--card); color: var(--ink);
}
.btn--ghost:hover { background: var(--sun); color: var(--ink); }
.muted { font-family: var(--mono); color: var(--ink-2); font-size: 12.5px; font-weight: 650; }

/* section head */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; margin-bottom: 18px; flex-wrap: wrap;
}
.section-head h2 { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.section-head .muted { margin: 0; }
.page-title {
  margin: 8px 0 6px; font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 34px); font-weight: 700;
  letter-spacing: -0.015em; line-height: var(--leading-tight);
}
.page-sub { margin: 0 0 28px; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }

/* timeline spine */
.spine { list-style: none; margin: 0; padding: 0; position: relative; }
.spine:before {
  content: ""; position: absolute; left: 18px; top: 8px; bottom: 8px;
  width: 2px; background: var(--ink); opacity: 0.25;
}
.entry {
  position: relative; padding-left: 52px; margin-bottom: 22px;
}
.dot {
  position: absolute; left: 8px; top: 18px;
  width: 22px; height: 22px; border-radius: 50%;
  border: var(--border); box-shadow: 2px 2px 0 var(--ink);
  background: var(--card); z-index: 1;
}
.entry--p .dot { background: var(--p); }
.entry--t .dot { background: var(--t); }
.entry--both .dot {
  background: linear-gradient(135deg, var(--p) 50%, var(--t) 50%);
}
.card {
  border: var(--border); border-radius: 16px; background: var(--card);
  box-shadow: var(--shadow-sm); padding: 14px 16px 12px;
}
.meta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px;
}
.pill {
  border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 1px 9px 2px; font-size: 12px; font-weight: 700;
  background: var(--sun);
}
.pill.type { background: var(--rose); font-size: 11px; }
.pill.type-quote { background: var(--sky); }
.pill.type-reply { background: var(--mint); }
.pill.type-mention { background: var(--rose); }
.when { font-family: var(--mono); color: var(--ink-3); font-size: 11px; }
.card p { margin: 0; font-size: 15px; line-height: 1.7; }
.card .src {
  display: inline-block; margin-top: 10px;
  font-family: var(--mono); font-size: 12px;
}

/* fanart grid — timeline-style rich cards (poster hotlink; no local mp4) */
.fan-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 8px;
  max-width: 640px;
}
@media (min-width: 860px) {
  .fan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}
.fan-card-rich {
  margin: 0;
  display: flex; flex-direction: column;
  min-width: 0;
}
.fan-card-rich .t-caption { padding-bottom: 10px; }
.fan-media-link {
  display: block; text-decoration: none; color: inherit; position: relative;
}
.fan-media-link:hover { color: inherit; }
.fan-media-link .t-media img {
  width: 100%; height: 200px; max-height: 200px; object-fit: cover; background: #e7dfd0;
}
.fan-play {
  position: absolute; inset: 0; margin: auto; width: 40px; height: 40px;
  border-radius: 999px; background: rgba(0,0,0,0.5); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; pointer-events: none; line-height: 1;
  box-shadow: 0 1px 0 rgba(0,0,0,0.25);
}

.fan-video-play {
  appearance: none; border: 0; padding: 0; margin: 0; background: none;
  cursor: pointer; display: block; width: 100%; position: relative;
}
.fan-video-play img, .fan-video-fallback {
  display: block; width: 100%; height: 200px; max-height: 200px; object-fit: cover; background: #e7dfd0;
}
.fan-video-fallback { min-height: 200px; }
.fan-kind {
  display: inline-block; margin: 0 0 8px;
  border: 1.5px solid rgba(0,0,0,0.28); border-radius: 999px;
  padding: 1px 9px 2px; font-size: 11px; font-weight: 700;
  background: rgba(240,201,77,0.55); font-family: var(--mono);
}
.src.muted { color: var(--ink-3); cursor: default; text-decoration: none; }


.note {
  margin-top: 14px; border: var(--border); border-style: dashed;
  border-radius: var(--radius); padding: 12px 14px;
  color: var(--ink-2); font-size: 13px;
}
.note p { margin: 0 0 8px; }
.note p:last-child { margin-bottom: 0; }

.entry-card {
  border: var(--border); border-radius: var(--radius); background: var(--card);
  box-shadow: var(--shadow-xs); padding: 18px 18px 20px; margin-bottom: 16px;
}
.entry-card h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.35; }
.entry-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.entry-card ul { margin: 8px 0 0; padding-left: 1.2em; color: var(--ink-2); font-size: 14px; }
.entry-card li { margin-bottom: 4px; }
.entry-card .contact-pending {
  margin-top: 12px; padding: 10px 12px;
  border: var(--border); border-style: dashed; border-radius: 10px;
  background: rgba(240,217,138,0.35); color: var(--ink); font-size: 13px; font-weight: 650;
}

.submit-placeholder {
  margin-top: 14px; padding: 14px;
  border: var(--border); border-style: dashed; border-radius: 12px;
  background: rgba(183,212,234,0.28);
}
.submit-label { margin: 0 0 6px; font-weight: 800; font-size: 13px; }
.submit-hint { margin: 0 0 12px; font-size: 12px; color: var(--ink-2); line-height: 1.45; }
.submit-fake {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  opacity: 0.72; pointer-events: none; user-select: none;
}
.submit-fake-field {
  flex: 1; min-width: 160px; border: var(--border); border-radius: 10px;
  background: var(--card); padding: 10px 12px; font-family: var(--mono);
  font-size: 12px; color: var(--ink-3);
}
.submit-fake-btn {
  border: var(--border); border-radius: 999px; padding: 8px 14px;
  background: #ddd6c8; font-size: 12px; font-weight: 800; color: var(--ink-2);
}

.entry-card code, .note code {
  font-family: var(--mono); font-size: 0.92em;
  background: rgba(0,0,0,0.05); padding: 1px 5px; border-radius: 4px;
}

.gate {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px;
}

footer {
  border-top: var(--border); margin-top: 48px; padding-top: 16px;
  color: var(--ink-2); font-size: 13px;
}
footer p { margin: 0 0 6px; }

.empty {
  border: var(--border); border-style: dashed; border-radius: var(--radius);
  padding: 28px 18px; text-align: center; color: var(--ink-2); font-size: 14px;
}

@media (max-width: 560px) {
  .duel { grid-template-columns: 1fr; }
  .vs { justify-self: center; transform: rotate(0); margin: -2px 0; }
  .who--t { text-align: left; }
  .who--t .who-top { flex-direction: row; }
  .fan-grid { grid-template-columns: 1fr; }
  .spine:before { left: 14px; }
  .entry { padding-left: 44px; }
  .dot { left: 4px; width: 20px; height: 20px; }
}

/* 制作版：统一节奏、可访问导航与移动布局 */
.brand-name { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); }
main { display: block; }
.top { margin-bottom: 14px; }
.home-section + .home-section { margin-top: 44px; }
.section-link {
  font-size: 13px; font-weight: 700; white-space: nowrap;
  text-decoration: none;
  border: var(--border); border-radius: 999px;
  background: var(--card); padding: 4px 12px;
  box-shadow: var(--shadow-xs);
  color: var(--ink);
}
.section-link:hover { background: var(--sun); color: var(--ink); }
.ticket { margin-bottom: 40px; }
.ticket-body { padding: 20px 18px 18px; }
.card { min-height: 112px; }
.entry:last-child { margin-bottom: 0; }
.spine:before { bottom: 12px; }
.page-title { margin-top: 10px; }
.page-sub { max-width: 62ch; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 10; padding: 8px 14px; background: var(--card); border: var(--border); }
.skip-link:focus { top: 12px; }
@media (max-width: 560px) {
  .page { padding: 0 18px 40px; }
  .top { gap: 18px; padding-top: 20px; margin-bottom: 14px; }
  .nav { width: 100%; justify-content: space-between; gap: 7px; }
  .nav a { flex: 1; text-align: center; padding: 8px 9px; }
  .duel { grid-template-columns: minmax(0,1fr) 32px minmax(0,1fr); gap: 6px; margin-bottom: 24px; }
  .who { padding: 12px 9px; }
  .who-top, .who--t .who-top { flex-direction: column; align-items: flex-start; gap: 9px; }
  .who--t .who-top { align-items: flex-end; }
  .who--t { text-align: right; }
  .who h2 { font-size: 15px; }
  .who .handle { font-size: 10px; }
  .vs { width: 32px; height: 32px; font-size: 10px; }
  .lede { margin-top: 12px; font-size: 14px; }
  .ticket-body { padding: 18px 15px; }
  .ticket-bar { font-size: 10px; padding: 8px 12px; }
  .section-head h2 { font-size: 21px; }
  .entry { padding-left: 34px; }
  .dot { left: 0; width: 20px; height: 20px; }
  .spine:before { left: 9px; }
  .card { padding: 13px 12px; }
  .meta { gap: 6px; }
  .when { flex-basis: 100%; }
  .fan-grid { gap: 12px; grid-template-columns: 1fr; }
  .fan-card-rich { min-width: 0; }
  footer { margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* --- rich timeline + i18n --- */
.top { flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.lang-switch {
  display: inline-flex; gap: 4px; margin-left: auto;
  border: var(--border); border-radius: 999px; padding: 3px;
  background: rgba(255,255,255,0.45);
}
.lang-btn {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 700; color: var(--ink-2);
  padding: 6px 10px; border-radius: 999px;
}
.lang-btn.is-active { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.card--rich { min-height: 0; }

.t-divider {
  border: 0; border-top: 1px solid rgba(0,0,0,0.12);
  margin: 12px 0 10px;
}
.t-caption {
  margin: 0;
  padding: 0 0 18px 10px;
  color: var(--ink-2); font-size: 13px; line-height: 1.55;
  border-left: 3px solid rgba(0,0,0,0.14);
}
.t-caption--empty { opacity: 0.7; font-style: italic; border-left-color: rgba(0,0,0,0.08); }
.t-parent {
  display: block;
  position: relative;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.035);
  border: var(--border);
  border-left: 3px solid var(--accent);
  font-size: 12px; color: var(--ink-2);
  transition: background 0.12s ease, box-shadow 0.12s ease;
}
.t-parent:empty { display: none !important; }
.t-parent:hover {
  background: rgba(232, 93, 42, 0.06);
  box-shadow: 2px 2px 0 var(--ink);
}
.t-parent-hd {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.t-parent-avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid var(--ink); background: #ddd6c8; flex-shrink: 0;
}
.t-parent-avatar--ph {
  display: inline-block; background: #cfc6b4;
}
.t-parent-meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0;
}
.t-parent-name {
  font-weight: 800; font-size: 13px; color: var(--ink); line-height: 1.2;
  border: 0; background: none; padding: 0; box-shadow: none; border-radius: 0;
}
.t-parent-handle {
  color: var(--ink-3); font-family: var(--mono); font-size: 11px;
  text-decoration: none; font-weight: 600;
}
.t-parent-text {
  margin: 0; white-space: pre-wrap; word-break: break-word;
  font-size: 12.5px; line-height: 1.45; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.t-parent-thumb {
  margin-top: 8px; border-radius: 8px; overflow: hidden;
  max-width: 140px; border: 1.5px solid rgba(0,0,0,0.12);
}
.t-parent-thumb img {
  display: block; width: 100%; height: auto; max-height: 100px; object-fit: cover;
}

.t-author { display: flex; gap: 10px; align-items: center; margin: 0 0 10px; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: var(--border); background: #ddd6c8;
}
.t-author-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.t-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 1.3; border: 0; background: none; padding: 0; box-shadow: none; }
.t-handle { font-size: 13px; color: var(--ink-3); text-decoration: none; font-weight: 500; }
.t-handle:hover { color: var(--ink); text-decoration: underline; }
.t-body { margin: 0 0 10px; }
.t-text {
  margin: 0; white-space: pre-wrap; word-break: break-word;
  font-size: 15.5px; line-height: 1.7; color: var(--ink);
}
.t-text-zh {
  margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-2);
  white-space: pre-wrap; word-break: break-word;
}
.t-zh-tag {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-3);
  border: var(--border); border-radius: 999px; padding: 1px 7px; margin-right: 6px;
}
.t-expand {
  appearance: none; border: 0; background: none; cursor: pointer;
  color: var(--ink-2); font: inherit; font-size: 12px; font-weight: 700;
  padding: 4px 0; text-decoration: underline;
}
.t-link { color: #3a5a7a; word-break: break-all; }
.t-mention { color: #3a5a7a; word-break: break-word; }
.t-media-grid {
  display: grid; gap: 6px; margin: 0 0 10px;
  border-radius: 12px; overflow: hidden;
}
.t-media-grid--2 { grid-template-columns: 1fr 1fr; }
.t-media-grid--3, .t-media-grid--4 { grid-template-columns: 1fr 1fr; }
.t-media { margin: 0; background: rgba(0,0,0,0.04); }
.t-media img, .t-media video {
  display: block; width: 100%; max-height: 280px; object-fit: contain; background: #1a1814;
}
.t-media-open {
  appearance: none; border: 0; padding: 0; margin: 0; background: none;
  cursor: zoom-in; display: block; width: 100%; position: relative;
}
.t-metrics {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-2);
  margin: 0 0 10px;
}
.lightbox {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(30, 26, 20, 0.82);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none !important; }
.lightbox img {
  max-width: min(960px, 100%); max-height: 90vh;
  border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.lightbox-close {
  position: absolute; top: 16px; right: 18px;
  appearance: none; border: 0; background: rgba(255,255,255,0.9);
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 22px; line-height: 1; cursor: pointer;
}
@media (max-width: 560px) {
  .lang-switch { margin-left: 0; width: 100%; justify-content: center; }
  .t-media img, .t-media video { max-height: 280px; }
}

/* never pill-border author names */
.t-parent-name, .t-name { border: 0 !important; background: none !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.pill:empty { display: none !important; }

/* caption suggest + feedback modal */
.t-caption-row {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 12px;
  margin: 0 0 4px;
}
.t-caption-row .t-caption { flex: 1 1 220px; margin: 0; padding-bottom: 10px; }
.t-caption-row--empty .t-caption--empty {
  min-height: 1.2em;
  font-style: normal;
  opacity: 0.45;
}
.t-caption-suggest {
  appearance: none; cursor: pointer;
  flex: 0 0 auto; align-self: center;
  font: inherit; font-size: 12px; font-weight: 700;
  color: var(--ink);
  background: var(--card);
  border: var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  box-shadow: var(--shadow-sm);
}
.t-caption-suggest:hover { background: #f6f0e4; }
.t-caption-suggest--quiet {
  box-shadow: none; opacity: 0.85; font-weight: 600; color: var(--ink-2);
}

.fb-open { overflow: hidden; }
.fb-modal {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.fb-modal[hidden] { display: none !important; }
.fb-backdrop {
  position: absolute; inset: 0;
  background: rgba(40, 34, 26, 0.55);
}
.fb-panel {
  position: relative; z-index: 1;
  width: min(440px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: #f3ecdf;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 rgba(30, 26, 20, 0.35);
  padding: 22px 20px 18px;
}
.fb-close {
  position: absolute; top: 10px; right: 12px;
  appearance: none; border: 0; background: transparent;
  font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink-2);
}
.fb-title { margin: 0 28px 6px 0; font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.fb-hint { margin: 0 0 14px; font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.fb-form { display: flex; flex-direction: column; gap: 10px; }
.fb-label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.fb-input {
  font: inherit; font-size: 14px; font-weight: 500; color: var(--ink);
  background: #fffaf0;
  border: 1.5px solid rgba(0,0,0,0.22);
  border-radius: 10px;
  padding: 8px 10px;
}
.fb-input:focus { outline: 2px solid rgba(232, 93, 42, 0.35); border-color: var(--accent); }
.fb-input[readonly] { opacity: 0.75; background: #ebe4d6; }
.fb-textarea { resize: vertical; min-height: 110px; line-height: 1.45; }
.fb-fanart-note {
  margin: 0; font-size: 12px; color: var(--ink-2);
  background: rgba(0,0,0,0.04); border-radius: 8px; padding: 8px 10px;
}
.fb-status { margin: 0; font-size: 13px; line-height: 1.45; }
.fb-status.is-ok { color: #2f6b3a; }
.fb-status.is-err { color: #8a3a2a; }
.fb-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.fb-btn {
  appearance: none; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700;
  border-radius: 999px; padding: 8px 14px;
  border: 1.5px solid var(--ink);
}
.fb-btn--ghost { background: transparent; color: var(--ink-2); border-color: rgba(0,0,0,0.25); }
.fb-btn--primary { background: var(--ink); color: #f3ecdf; }
.fb-btn--primary:disabled { opacity: 0.55; cursor: wait; }
.fb-open-btn {
  appearance: none; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700;
  color: var(--ink); background: var(--card);
  border: var(--border); border-radius: 999px; padding: 7px 14px;
  box-shadow: var(--shadow-sm);
}
.fb-open-btn:hover { background: #f6f0e4; }

/* potebo-r8-feedback */


/* potebo-r8b-votes */
.vote-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 10px; padding-top: 2px;
}
.vote-btn {
  appearance: none; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700;
  color: var(--ink-2); background: var(--card);
  border: 1.5px solid rgba(0,0,0,0.18); border-radius: 999px;
  padding: 5px 11px; line-height: 1.2;
  display: inline-flex; align-items: center; gap: 5px;
}
.vote-btn:hover { background: #f6f0e4; }
.vote-btn.is-active {
  color: var(--ink); border-color: var(--accent, #e85d2a);
  background: #fff6ef;
}
.vote-btn:disabled { opacity: 0.55; cursor: wait; }
.vote-flag {
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
  color: #8a3a2a; background: #f6e4de; border-radius: 999px;
  padding: 3px 8px;
}
.vote-row.is-flagged .fan-card-rich,
.fan-card-rich:has(.vote-row.is-flagged) {
  /* badge only; keep visible */
}

/* potebo-r16-ui */
.ticket { box-shadow: var(--shadow); }
.card--rich, .fan-card-rich { box-shadow: var(--shadow-sm); }
.section-head .muted { font-size: 13px; color: var(--ink-2); }

@media (max-width: 560px) {
  .top {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px 10px;
    padding-top: 16px;
    margin-bottom: 10px;
  }
  .brand { grid-column: 1; min-width: 0; }
  .lang-switch {
    grid-column: 2;
    margin-left: 0;
    width: auto;
    justify-content: flex-end;
    padding: 2px;
  }
  .lang-btn { padding: 5px 8px; font-size: 11px; }
  .nav {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    justify-content: stretch;
  }
  .nav a {
    flex: unset;
    text-align: center;
    padding: 7px 4px;
    font-size: 12px;
    box-shadow: var(--shadow-xs);
  }
  /* duel: stack to kill VS overlap */
  .duel {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }
  .vs {
    justify-self: center;
    width: 36px; height: 36px; font-size: 11px;
    margin: -4px 0;
    transform: rotate(-6deg);
  }
  .who { padding: 12px 12px; }
  .who-top, .who--t .who-top {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .who--t { text-align: left; }
  .who--t .who-top { align-items: center; }
  .lede { margin-top: 4px; font-size: 14.5px; }
  .t-media img, .t-media video { max-height: 220px; }
  .fan-media-link .t-media img,
  .fan-video-play img,
  .fan-video-fallback { height: 180px; max-height: 180px; }
}

/* r17: brand subtitle removed */
.brand small, .brand-sub { display: none !important; }

/* r20: 友情提示 = one rich-text block (no para gap) */
.ticket-bar { font-size: 15px; font-weight: 800; letter-spacing: 0.04em; text-transform: none; font-family: var(--font-display); padding: 10px 16px; }
.ticket-body h3 { display: none !important; }
.ticket-body p,
.ticket-body .ticket-notice {
  margin: 0 !important;
  color: var(--ink) !important;
  font-family: var(--font) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.65 !important;
}
.ticket-body .ticket-notice span { display: inline; }
.ticket-foot { display: none !important; }
@media (max-width: 560px) {
  .ticket-bar { font-size: 14px; padding: 9px 14px; }
  .ticket-body p,
  .ticket-body .ticket-notice { font-size: 16px !important; }
}

/* r25: timeline / fanart pager — breathing room, no overlapping borders */
.section-head--meta {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 12px;
  margin: 0 0 14px;
  flex-wrap: wrap;
}
.section-head--meta .tl-meta {
  margin: 0;
  font-size: 13px;
  color: var(--ink-2);
}
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin: 0 0 18px;
}
.pager + .spine,
.pager + .fan-grid { margin-top: 0; }
.spine + .pager,
.fan-grid + .pager {
  margin-top: 22px;
  margin-bottom: 8px;
}
.pager-nav {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.pager-btn {
  margin: 0;
  flex: 0 0 auto;
}
.pager-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.pager-meta {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 4px;
  white-space: nowrap;
  font-size: 13px;
}
.pager-meta--count {
  margin-right: 2px;
}
.pager--meta {
  justify-content: flex-end;
  margin-bottom: 14px;
}
@media (max-width: 560px) {
  .pager { gap: 10px 12px; }
  .pager-nav { gap: 8px; width: 100%; }
  .pager-btn { padding: 7px 10px; font-size: 12.5px; }
  .section-head--meta { justify-content: flex-start; }
}

/* r27: header feedback + deleted parent + earliest jump */
.nav-feedback {
  appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  background: rgba(255,255,255,0.45);
  border: var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  margin-left: auto;
  line-height: 1.2;
  white-space: nowrap;
}
.nav-feedback:hover { background: var(--card); color: var(--ink); }
.lang-switch { margin-left: 0; }
.t-parent--deleted {
  background: rgba(0,0,0,0.03);
  border-left-color: rgba(0,0,0,0.18);
}
.t-parent-deleted {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  font-style: italic;
}
.pager-btn--earliest { margin-left: 2px; }
.pager--tl .pager-nav {
  width: 100%;
  justify-content: flex-start;
  flex-wrap: wrap;
  row-gap: 8px;
}
@media (max-width: 560px) {
  .top {
    grid-template-columns: 1fr auto;
  }
  .nav-feedback {
    grid-column: 1 / -1;
    margin-left: 0;
    width: 100%;
    text-align: center;
    padding: 7px 10px;
    order: 3;
  }
  .lang-switch { grid-column: 2; }
  .nav { grid-column: 1 / -1; }
}



/* Turnstile */
.fb-turnstile {
  margin: 10px 0 4px;
  min-height: 0;
}
.fb-turnstile:empty { display: none; }
.potebo-ts-vote-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  background: rgba(20, 16, 12, 0.35);
  box-sizing: border-box;
}
.potebo-ts-vote-overlay.is-open {
  display: flex;
}
.potebo-ts-vote-panel {
  width: min(100%, 360px);
  min-width: 300px;
  background: #fffaf3;
  border: 1px solid rgba(40, 30, 20, 0.12);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(20, 16, 12, 0.22);
  padding: 14px 14px 16px;
  box-sizing: border-box;
}
.potebo-ts-vote-panel__title {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2a2118;
}
.potebo-ts-vote {
  min-width: 300px;
  min-height: 65px;
  width: 100%;
}
/* potebo-r31-turnstile-overlay */
