/* 站台 · station theme (rebuilt 2026-12). Loaded after every other stylesheet.
   Warm grey ground, white surfaces, ink text, one signal red for primary actions and unread counts.
   Desktop uses a left navigation rail (X / 微博 style); phones keep a top bar and a bottom tab bar.
   `--purple` keeps its old name so every older rule that used the violet now picks up the signal red. */
:root {
  --ink: #14161a;
  --ink-2: #4a4f57;
  --muted: #737882;
  --line: #e6e7ea;
  --line-soft: #eeeff1;
  --line-strong: #d5d7dc;
  --paper: #f5f5f2;
  --card: #fff;
  --signal: #d33a22;
  --purple: #d33a22;
  --brand-hover: #b9301b;
  --brand-soft: #fbece8;
  --link: #2a4d8f;
  --deep: #14161a;
  --soft: #f0f1f3;
  --hover: #ebebe6;
  --radius: 12px;
  --shadow: none;
  --rail-w: 244px;
  --main-w: 1000px;
  font: 15px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}
body { background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
body:has(.discovery), body:has(.note-detail) { background: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--link); outline-offset: 2px;
}
h1 { font-size: 1.6rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
h2 { font-size: 1.08rem; font-weight: 700; letter-spacing: 0; line-height: 1.45; }
h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
small { font-size: 0.82rem; }
.visually-hidden, .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Buttons, links, tags ---------- */
.btn { min-height: 36px; padding: 7px 16px; border-radius: 999px; font-size: 0.93rem; font-weight: 600; }
.btn:hover { filter: none; }
.btn.primary, .register-link { background: var(--signal); color: #fff; }
.btn.primary:hover, .register-link:hover { background: var(--brand-hover); }
.btn.outline, .account-link { border: 1px solid var(--line-strong); background: #fff; color: var(--ink); }
.btn.outline:hover, .account-link:hover { background: #f7f7f5; border-color: #c6c9cf; }
.btn.soft { background: var(--soft); color: var(--ink); }
.btn.soft:hover { background: #e7e8eb; }
.btn.quiet, .quiet { color: var(--ink-2); padding: 6px 10px; }
.btn.quiet:hover { color: var(--ink); background: var(--hover); }
.btn.lime { background: var(--ink); color: #fff; }
.btn.lime:hover { background: #2b2e34; }
.textlink { color: var(--link); font-weight: 500; font-size: 0.93rem; }
.textlink:hover { text-decoration: underline; text-underline-offset: 3px; }
.tag { padding: 1px 8px; border-radius: 4px; background: var(--soft); color: var(--ink-2); font-size: 0.78rem; font-weight: 500; }
.tag.violet { background: var(--brand-soft); color: var(--signal); }
.tag.overlay-tag { background: #14161ac4; color: #fff; box-shadow: none; font-weight: 500; backdrop-filter: blur(4px); }
.letter { font-weight: 700; }
.empty { background: transparent; border: 1px dashed var(--line-strong); border-radius: 10px; padding: 18px; font-size: 0.93rem; color: var(--muted); }
.note, .source { background: #f6f6f4; color: var(--ink-2); border-radius: 8px; }
.facts { background: #f7f7f5; border-radius: 10px; }
.code { background: var(--soft); }
.amount, .booking-price strong, .stat strong, time { font-variant-numeric: tabular-nums; }

/* ---------- Surfaces ---------- */
.panel, .card, .admin-nav, .stat, .profile-head, .play-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; }
.panel { padding: 18px 20px; margin-bottom: 14px; }
.panel > h2 { font-size: 1rem; margin-bottom: 10px; }
.layout { gap: 24px; }

/* ---------- Shell: desktop navigation rail ---------- */
.brand img { width: 30px; height: 30px; border-radius: 0; }
.brand strong { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.04em; }
.brand-tagline { display: none; }
.brand-wordmark { gap: 0; }
.nav-dot { background: var(--signal); color: #fff; }
.login-link { color: var(--ink-2); font-size: 0.93rem; font-weight: 600; }
@media (min-width: 721px) {
  body {
    display: grid; align-items: start;
    grid-template-columns: minmax(20px, 1fr) var(--rail-w) minmax(0, var(--main-w)) minmax(20px, 1fr);
  }
  #header {
    grid-column: 2; grid-row: 1; position: sticky; top: 0; z-index: 5;
    height: 100vh; height: 100dvh; padding: 20px 28px 20px 0;
    background: transparent; border: 0; backdrop-filter: none;
  }
  .bar { width: auto; height: 100%; margin: 0; display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .brand { padding: 4px 12px 22px; gap: 10px; }
  .desktop-nav { height: auto; display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .desktop-nav a {
    justify-content: flex-start; gap: 14px; height: 46px; padding: 0 12px; border-radius: 10px;
    color: var(--ink-2); font-size: 1.03rem; font-weight: 500; background: transparent;
  }
  .desktop-nav a:hover { background: var(--hover); color: var(--ink); }
  .desktop-nav .active { background: transparent; color: var(--ink); font-weight: 700; }
  .desktop-nav .active .ic { stroke-width: 2.2; }
  .desktop-nav .ic { width: 22px; height: 22px; }
  .desktop-nav .nav-dot { position: static; margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: 10px; font-size: 12px; line-height: 20px; text-align: center; }
  .desktop-nav a[href="/create"] {
    order: 9; margin-top: 18px; justify-content: center; gap: 6px; border-radius: 999px;
    background: var(--ink); color: #fff; font-size: 0.98rem; font-weight: 600;
  }
  .desktop-nav a[href="/create"]:hover { background: #2b2e34; color: #fff; }
  .desktop-nav a[href="/create"] .ic { width: 18px; height: 18px; stroke-width: 2.2; }
  .bar-right { margin: auto 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 8px; white-space: nowrap; }
  .bar-right .account-link {
    display: flex; align-items: center; gap: 10px; max-width: none; min-height: 0; padding: 8px 10px; border: 0; border-radius: 999px;
    background: transparent; color: var(--ink); font-weight: 600; justify-content: flex-start;
  }
  .bar-right .account-link > span { overflow: hidden; text-overflow: ellipsis; }
  .bar-right .account-link .avatar { flex: none; border-radius: 50%; }
  .bar-right .account-link:hover { background: var(--hover); }
  .bar-right .login-link { order: 2; text-align: center; padding: 6px; }
  .bar-right .register-link { min-height: 40px; display: grid; place-items: center; }
  #main { grid-column: 3; grid-row: 1; width: auto; margin: 0; padding: 28px 0 72px; min-height: 100vh; }
  .skip + header + #main { min-height: 100vh; }
}
/* Narrow desktops and tablets: the rail keeps its icons only. */
@media (min-width: 721px) and (max-width: 1099px) {
  :root { --rail-w: 84px; }
  #header { padding: 16px 16px 16px 0; }
  .brand { justify-content: center; padding: 4px 0 20px; }
  .brand strong, .brand-wordmark { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .desktop-nav a { justify-content: center; padding: 0; }
  .desktop-nav a > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .desktop-nav .nav-dot { position: absolute; top: 4px; left: calc(50% + 5px); margin: 0; min-width: 18px; font-size: 11px; line-height: 18px; padding: 0 4px; }
  .desktop-nav a[href="/create"] { width: 46px; align-self: center; }
  .bar-right .account-link { display: none; }
  .bar-right .login-link, .bar-right .register-link { min-height: 0; padding: 6px 0; font-size: 0.8rem; text-align: center; }
}

/* ---------- Shell: phones ---------- */
@media (max-width: 720px) {
  #header { height: 52px; background: #fff; border-bottom: 1px solid var(--line); backdrop-filter: none; }
  .bar { width: calc(100% - 28px); gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .brand strong { font-size: 1.08rem; }
  .bar-right .login-link { font-size: 0.9rem; }
  .bar-right .register-link { min-height: 32px; padding: 5px 14px; }
  #main { padding: 16px 0 92px; }
  h1 { font-size: 1.35rem; }
  .panel { padding: 14px 16px; }
  #mobile {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; gap: 0;
    padding: 6px 2px max(6px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); backdrop-filter: none;
  }
  #mobile a { max-width: none; flex-direction: column; gap: 2px; padding: 4px 0; border-radius: 0; background: transparent; color: var(--muted); font-size: 0.69rem; font-weight: 500; }
  #mobile .ic { width: 23px; height: 23px; }
  #mobile .active { background: transparent; color: var(--ink); font-weight: 700; }
  #mobile .active .ic { stroke-width: 2.2; color: var(--ink); }
  #mobile a[href="/create"] > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #mobile a[href="/create"] .ic { width: 46px; height: 34px; padding: 7px 13px; border-radius: 11px; background: var(--ink); color: #fff; stroke-width: 2.2; }
  #mobile .nav-dot { top: 0; left: calc(50% + 5px); min-width: 16px; padding: 0 4px; border-radius: 8px; font-size: 10px; line-height: 16px; }
  #toast { bottom: 80px; }
}

/* ---------- Page headings, tabs, search ---------- */
.heading { margin-bottom: 16px; }
.heading h1 { font-size: 1.6rem; }
.heading p { font-size: 0.9rem; color: var(--muted); }
.tabs { gap: 26px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.tabs a { margin-bottom: -1px; padding: 10px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--muted); font-size: 0.97rem; font-weight: 500; }
.tabs a:hover { color: var(--ink); filter: none; background: transparent; }
.tabs .selected { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); background: transparent; }
.section-title { margin: 22px 0 10px; }
.section-title h2 { font-size: 1.05rem; }
.section-title span { color: var(--muted); font-size: 0.85rem; }
.search { height: 40px; padding: 0 14px; border: 1px solid transparent; border-radius: 999px; background: #ebecee; }
.search:focus-within { background: #fff; border-color: var(--line-strong); }
.search input { background: transparent; }
.search .ic { color: var(--muted); }
.search button { color: var(--ink-2); font-weight: 600; }
.tab-bar { border-bottom: 0; }

/* ---------- Forms ---------- */
.field > span { font-size: 0.86rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select, .copy { border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 11px; font-size: 0.95rem; background: #fff; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #c4c7cd; }
.form summary, summary { color: var(--ink-2); }
.game-config { background: #f7f7f5; }
.form-error { color: #b3261e; }
.filter-fold > summary { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink); font-size: 0.88rem; font-weight: 500; }
.event-filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; box-shadow: none; }
.event-filters .field > span { font-size: 0.78rem; color: var(--muted); }
.event-filters .field input, .event-filters .field select { padding: 6px 10px; font-size: 0.9rem; }

/* ---------- Home: event timetable ---------- */
.timetable { display: flex; flex-direction: column; gap: 6px; }
.day-head { padding: 8px 2px 8px; color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.day-group:first-child .day-head { padding-top: 0; }
.day-rows { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.timetable > .ad-placement:not([hidden]) { margin: 8px 0 2px; }
.timetable .car-card {
  position: relative; display: grid; grid-template-columns: 62px 76px minmax(0, 1fr) auto;
  grid-template-areas: "when cover body price"; gap: 16px; align-items: center;
  padding: 14px 18px; margin: 0; background: #fff; border: 0; border-top: 1px solid var(--line-soft); border-radius: 0; overflow: visible;
}
.timetable .car-card:first-child { border-top: 0; }
.timetable .car-card:hover { background: #fafaf8; }
.car-card .row-when { grid-area: when; display: flex; flex-direction: column; line-height: 1.2; }
.car-card .row-when b { font-size: 1.2rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.car-card .row-when small { margin-top: 3px; color: var(--muted); font-size: 0.72rem; }
.timetable .car-card > .cover { grid-area: cover; display: block; width: 76px; height: 76px; min-height: 0; border-radius: 8px; overflow: hidden; background: #eceee9; }
.timetable .car-card > .cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.timetable .car-card .card-body { grid-area: body; min-width: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.timetable .car-card .eyeline { display: flex; flex-wrap: wrap; align-items: center; gap: 0; min-height: 0; margin: 0; }
.timetable .car-card .eyeline .tag { padding: 0; background: none; color: var(--ink-2); font-size: 0.78rem; font-weight: 500; }
.timetable .car-card .eyeline .tag + .tag::before { content: "·"; margin: 0 6px; color: var(--muted); }
.timetable .car-card h3 { margin: 0; font-size: 1.03rem; font-weight: 600; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timetable .car-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.timetable .car-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.timetable .car-card .meta { margin: 0; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 0.85rem; }
.plaza-highlight { margin: 20px 0; }
.ad-placement:not([hidden]) + .plaza-highlight { display:none; }
.layout aside .friendline > span:last-child { min-width:0; }
.layout aside .friendline > span:last-child > b,
.layout aside .friendline > span:last-child > small { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.car-card .row-price { grid-area: price; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; white-space: nowrap; }
.car-card .row-price b { font-size: 0.98rem; font-weight: 600; }
.car-card .row-price small { color: var(--muted); font-size: 0.78rem; }
.car-card .row-price small.hot { color: var(--signal); font-weight: 500; }
.car-card .row-price small.done { color: #1f6447; font-weight: 500; }
@media (max-width: 720px) {
  .timetable .car-card { grid-template-columns: 44px 64px minmax(0, 1fr); grid-template-areas: "when cover body" "when cover price"; column-gap: 12px; row-gap: 2px; padding: 12px 14px; }
  .timetable .car-card > .cover { width: 64px; height: 64px; }
  .car-card .row-when b { font-size: 1rem; }
  .timetable .car-card h3 { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 0.98rem; }
  .car-card .row-price { flex-direction: row; align-items: baseline; gap: 8px; text-align: left; }
  .car-card .row-price b { font-size: 0.9rem; }
  .timetable .car-card .card-body { align-self: end; }
  .timetable .car-card .row-price { align-self: start; }
}

/* ---------- Side column on the home page ---------- */
.friendline { border-bottom-color: var(--line-soft); }
.friend-result { padding: 14px 16px; }

/* ---------- Programme spotlight and recommendations ---------- */
.recommendation-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.recommendation-card .recommendation-copy h3 { margin: 0; line-height: 1.45; }
.recommended-events h2 { font-size: 1.05rem; }

/* ---------- Circles: line badges instead of cartoon covers ---------- */
.line-badge { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; color: #fff; font-size: 1.05rem; font-weight: 700; line-height: 1; }
.line-badge.small { width: 18px; height: 18px; border-radius: 4px; font-size: 0.66rem; }
.tone-0 { --tone: #d33a22; } .tone-1 { --tone: #a86a12; } .tone-2 { --tone: #2a4d8f; } .tone-3 { --tone: #1f6447; } .tone-4 { --tone: #6a3b7f; } .tone-5 { --tone: #2563c9; }
.line-badge { background: var(--tone, #14161a); }
.line-badge.large { width: 56px; height: 56px; border-radius: 14px; font-size: 1.4rem; }
.circle-list { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.circle-list > .circle-card { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 18px; border: 0; border-top: 1px solid var(--line-soft); border-radius: 0; }
.circle-list > .circle-card:first-child { border-top: 0; }
.circle-list > .circle-card:hover { background: #fafaf8; }
.circle-list > .ad-placement:not([hidden]) { padding: 12px; border-top: 1px solid var(--line-soft); }
.circle-list .circle-card-cover { height: auto; background: none; overflow: visible; }
.circle-list .card-body { padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head foot" "text foot"; column-gap: 16px; row-gap: 2px; align-items: center; }
.circle-list .circle-headline { grid-area: head; justify-content: flex-start; gap: 8px; }
.circle-list .circle-headline h2 { font-size: 1rem; font-weight: 600; }
.circle-list .circle-headline h2 a::after { content: ""; position: absolute; inset: 0; }
.circle-list .circle-card-description { grid-area: text; margin: 0; color: var(--muted); font-size: 0.86rem; -webkit-line-clamp: 1; }
.circle-list .circle-card footer { grid-area: foot; border: 0; padding: 0; margin: 0; flex-direction: column; align-items: flex-end; gap: 2px; }
.circle-list .circle-card footer .tag { background: none; padding: 0; color: var(--ink-2); }
.circle-mark { margin-bottom: 12px; }
@media (max-width: 720px) {
  .circle-list > .circle-card { padding: 12px 14px; gap: 12px; }
  .circle-list .card-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "text" "foot"; }
  .circle-list .circle-card footer { flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; }
}

/* ---------- Cover photos ---------- */
.cover-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover:has(> .cover-photo), .card-cover:has(> .cover-photo) { background: #eceee9; }
.detail-cover { border-radius: var(--radius); overflow: hidden; background: #eceee9; }
.detail-cover > .cover-photo { aspect-ratio: auto; }

/* ---------- Discovery feed ---------- */
.note-excerpt { background: #f3f3f0; color: #2b2e34; }
.note-excerpt.tone-1 { background: #f5efe6; color: #4a3d2c; }
.note-excerpt.tone-2 { background: #ecf2ed; color: #2f4130; }
.note-excerpt.tone-3 { background: #ebf0f6; color: #2c3b48; }
.note-excerpt p { font-family: inherit; font-weight: 600; font-size: clamp(0.98rem, 1.3vw, 1.2rem); }
.note-open h2 { font-weight: 600; font-size: 0.97rem; }
.note-board { background: var(--soft); color: var(--ink-2); border-radius: 4px; }
.note-topic { color: var(--link); }
.note-like[aria-pressed=true] { color: var(--signal); }
.discovery .note-write { border-radius: 999px; }
.discover-head h1 { font-size: 1.6rem; }
.ad-card { background: #fff; }
a.ad-card:hover { border-color: var(--line-strong); }
.ad-label { border-color: var(--line-strong); }
@media (max-width: 720px) { .discover-head h1 { font-size: 1.35rem; } }

/* ---------- Dialogs and toast ---------- */
dialog { border: 0; border-radius: 16px; padding: 20px; box-shadow: 0 16px 48px #0f101233; }
dialog::backdrop { background: #0f10124d; backdrop-filter: none; }
.modal-head h2 { font-size: 1.1rem; }
#toast { background: var(--ink); border-radius: 10px; font-size: 0.93rem; }

/* ---------- Sign-in: one centred card ---------- */
.account-layout { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin: 48px auto; border: 1px solid var(--line); border-radius: 16px; box-shadow: none; background: #fff; }
.account-art { display: none; }
.auth-panel { padding: 30px 28px; margin: 0; border: 0; border-radius: inherit; }
.auth-panel .form-end .btn { width: 100%; min-height: 44px; }
.auth-panel > .actions { margin-top: 14px; gap: 14px; }
.auth-panel h1 { font-size: 1.45rem; }

/* ---------- Admin ---------- */
.admin-nav a { border-radius: 8px; color: var(--ink-2); }
.admin-nav a.active { background: var(--soft); color: var(--ink); font-weight: 650; }
.stat strong { color: var(--ink); font-size: 1.45rem; }

/* ---------- 我的 and wallet ---------- */
.owner-profile { border-radius: var(--radius); background: #fff; }
.profile-panorama { border-radius: 11px 11px 0 0; }
.profile-name h1 { font-size: 1.45rem; }
.profile-shortcuts a { min-height: 40px; border-radius: 10px; color: var(--ink-2); font-weight: 500; }
.profile-shortcuts a:hover { color: var(--ink); border-color: var(--line-strong); background: #f7f7f5; }
.profile-more[open] > summary, .profile-more > summary:hover, .profile-menu a:hover { background: var(--soft); }
.profile-empty-icon { background: var(--soft); color: var(--ink-2); border-radius: 12px; }
.profile-bar nav a { font-weight: 500; }
.profile-bar nav a[aria-current] { font-weight: 700; color: var(--ink); }
.profile-bar nav a[aria-current]::after { height: 2px; background: var(--ink); }
.wallet-balance { background: #fff; }
.wallet-balance p, .wallet-form [data-wallet-quote] { color: var(--ink); }
.amount { letter-spacing: 0; }

/* ---------- Inline links are blue; red stays on primary actions and unread counts ---------- */
.consents a, .sheet-web, .sheet-internal, .sheet-detail, .chat-sign-in, .draft-file { color: var(--link); }
.item:hover { color: var(--ink); background: #f7f7f5; }
.program-filter-details summary, .compose-section h2 svg { color: var(--ink-2); }
.sheet-card-body .sheet-card-time { color: var(--ink); }
.profile-add-bio:hover, .profile-stats a:hover span { color: var(--ink); }
.heading .textlink, .section-title .textlink, .panel > header .textlink { color: var(--ink-2); }
.reading h1 { font-size: 1.6rem; }
.eyeline .tag { background: var(--soft); color: var(--ink-2); }

/* ---------- Event page ---------- */
.event-cover { height: clamp(180px, 26vw, 300px); margin-bottom: 18px; border-radius: 14px; }
.event-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.event-head-copy { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.event-head h1 { margin: 0; font-size: 1.75rem; line-height: 1.3; }
.event-kicker { margin: 0; color: var(--ink-2); font-size: 0.85rem; font-weight: 500; }
.event-scope { margin: 0; color: var(--muted); font-size: 0.86rem; }
.event-head-actions { display: flex; gap: 8px; flex: none; }
.pop-menu { position: relative; }
.pop-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.pop-menu > summary::-webkit-details-marker { display: none; }
.pop-menu[open] > summary { background: var(--soft); }
.pop-list {
  position: absolute; z-index: 6; top: calc(100% + 6px); right: 0; min-width: 210px; padding: 6px;
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px #0f10121f;
}
.pop-list .btn, .pop-list a { justify-content: flex-start; gap: 10px; width: 100%; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font-weight: 500; text-align: left; }
.pop-list .btn:hover, .pop-list a:hover { background: var(--soft); }
.pop-list .danger { color: #b3261e; }
.booking-card { padding: 20px; }
.booking-price strong { font-size: 1.6rem; font-weight: 700; color: var(--ink); letter-spacing: 0; }
.booking-price .tag { background: var(--soft); color: var(--ink-2); }
.booking-price .tag.violet { background: #e4f2ea; color: #1f6447; }
.booking-facts { gap: 0; margin-top: 12px; }
.booking-facts li { gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-soft); }
.booking-facts li:first-child { border-top: 0; }
.booking-facts .ic { color: var(--ink-2); margin-top: 3px; }
.booking-facts b { font-weight: 600; font-variant-numeric: tabular-nums; }
.booking-meter { height: 4px; margin: 6px 0 2px; background: var(--line-soft); }
.booking-meter span { background: var(--ink); }
.booking-actions { margin-top: 16px; }
.booking-actions > .btn.primary { flex: 1 1 auto; min-height: 48px; font-size: 1rem; }
.booking-terms { color: var(--muted); font-size: 0.8rem; line-height: 1.6; }
.event-main .panel > h2 { font-size: 1.05rem; }
.host-card { display: flex; align-items: center; gap: 12px; }
.host-card > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.host-card b { font-weight: 600; }
.host-card b a:hover { text-decoration: underline; text-underline-offset: 3px; }
.host-card small { color: var(--muted); }
.host-card .btn { min-height: 32px; padding: 4px 14px; font-size: 0.86rem; }
.event-layout aside > .btn.quiet { color: var(--muted); font-size: 0.85rem; }
@media (min-width: 721px) {
  .event-layout { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 720px) {
  .event-cover { height: 220px; margin: -16px -15px 14px; width: auto; border-radius: 0; }
  .event-head { gap: 10px; }
  .event-head h1 { font-size: 1.4rem; }
  .event-head-actions .share-menu > summary { width: 38px; padding: 0; justify-content: center; }
  .event-head-actions .share-menu > summary > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* ---------- Note page (小红书 layout: photo | author, text, comments, action bar) ---------- */
.note-detail { max-width: 720px; background: #fff; }
.note-detail.with-photo {
  max-width: 1080px; grid-template-columns: minmax(0, 1.12fr) minmax(340px, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: 16px; overflow: clip;
}
.note-detail:not(.with-photo) .note-detail-body { padding: 4px 0 0; }
.note-detail.with-photo .note-detail-photo { position: sticky; top: 0; align-self: start; background: #f3f3f0; }
.note-detail.with-photo .note-detail-photo img, .note-detail.with-photo .note-detail-photo video { width: 100%; max-height: 100dvh; min-height: 420px; object-fit: contain; border-radius: 0; background: #f3f3f0; }
.note-detail.with-photo .note-detail-body { padding: 22px 26px 0; border-left: 1px solid var(--line); }
.note-author { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.note-author .byline b { font-size: 0.95rem; font-weight: 600; }
.note-author .byline .avatar { width: 36px; height: 36px; --size: 36px; }
.note-author-tools { display: flex; align-items: center; gap: 4px; }
.note-author-tools > .btn { min-height: 32px; padding: 4px 16px; font-size: 0.88rem; }
.note-more > summary { width: 34px; min-height: 34px; padding: 0; justify-content: center; border-radius: 50%; }
.note-detail-body h1 { margin: 16px 0 10px; font-size: 1.35rem; line-height: 1.45; }
.note-detail-body .prose, .note-detail-body .thread-body { font-size: 0.98rem; line-height: 1.8; color: var(--ink); }
.note-detail-body .note-labels { margin: 12px 0 4px; }
.note-meta { margin: 0 0 14px; color: var(--muted); font-size: 0.82rem; }
.note-detail-body > .panel { margin: 14px 0; }
.note-comments { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.note-comments > h2 { margin: 0 0 6px; color: var(--muted); font-size: 0.86rem; font-weight: 500; }
.note-comments .reply { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.note-comments .reply header { justify-content: flex-start; gap: 8px; }
.note-comments .reply header small { color: var(--muted); font-size: 0.78rem; }
.note-comments .reply .byline b { font-size: 0.86rem; color: var(--ink-2); font-weight: 500; }
.note-comments .reply > p { margin: 4px 0 2px 36px; font-size: 0.95rem; }
.note-comments .reply .actions { margin: 0 0 0 28px; gap: 0; }
.note-comments .reply .actions .btn { min-height: 28px; padding: 2px 8px; font-size: 0.8rem; color: var(--muted); }
.note-comments .reply .actions [aria-pressed=true] { color: var(--signal); }
.note-comments .empty { border: 0; padding: 14px 0; text-align: left; }
.note-bar {
  position: sticky; bottom: 0; z-index: 3; display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px 14px;
  margin: 10px -26px 0; padding: 12px 26px 14px; background: #fff; border-top: 1px solid var(--line);
}
.note-detail:not(.with-photo) .note-bar { margin-inline: 0; padding-inline: 0; }
.note-bar > form { flex: 1 1 200px; min-width: 0; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 8px; }
.note-bar > form > .field { flex: 1 1 140px; margin: 0; }
.note-bar > form > .field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.note-bar textarea { field-sizing: content; min-height: 38px; max-height: 140px; padding: 8px 14px; border: 0; border-radius: 19px; background: var(--soft); resize: none; font-size: 0.93rem; line-height: 1.5; }
.note-bar textarea:focus { background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); outline: 0; }
.note-bar .form-end { margin: 0; }
.note-bar .form-end .btn { min-height: 38px; padding: 6px 16px; }
.note-bar > form:has(textarea:placeholder-shown) .form-end { display: none; }
.note-bar .reply-target { flex-basis: 100%; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 0.82rem; }
.note-bar .reply-target[hidden] { display: none; }
.note-bar .form-error:empty { display: none; }
.note-bar .form-error { flex-basis: 100%; margin: 0; }
.note-login { flex: 1; margin: 0; align-self: center; color: var(--muted); font-size: 0.9rem; }
.note-bar-actions { display: flex; align-items: center; gap: 4px; min-height: 38px; }
.note-act {
  display: inline-flex; align-items: center; gap: 4px; min-width: 38px; height: 38px; padding: 0 6px; border: 0; border-radius: 19px;
  background: transparent; color: var(--ink-2); font: inherit; font-size: 0.86rem; font-variant-numeric: tabular-nums; cursor: pointer; list-style: none;
}
.note-act:hover { background: var(--soft); color: var(--ink); }
.note-act[data-action=like][aria-pressed=true] { color: var(--signal); }
.note-act[data-action=like][aria-pressed=true] .ic { fill: var(--signal); }
.note-act[data-action=save-post][aria-pressed=true] { color: #a86a12; }
.note-act[data-action=save-post][aria-pressed=true] .ic { fill: #e7b23a; stroke: #a86a12; }
.note-share > summary.note-act::-webkit-details-marker { display: none; }
.note-share .pop-list { top: auto; bottom: calc(100% + 8px); }
@media (max-width: 980px) {
  .note-detail.with-photo { display: block; border: 0; border-radius: 0; overflow: visible; }
  .note-detail.with-photo .note-detail-photo { position: static; margin: 0 0 14px; }
  .note-detail.with-photo .note-detail-photo img, .note-detail.with-photo .note-detail-photo video { min-height: 0; max-height: 70vh; border-radius: 12px; }
  .note-detail.with-photo .note-detail-body { padding: 0; border: 0; }
  .note-bar { margin-inline: 0; padding-inline: 0; }
}
@media (max-width: 720px) {
  .note-detail.with-photo .note-detail-photo { margin: -16px -15px 14px; }
  .note-detail.with-photo .note-detail-photo img { border-radius: 0; max-height: 62vh; }
  .note-bar { bottom: calc(58px + env(safe-area-inset-bottom)); margin-inline: -15px; padding: 8px 15px; }
  .note-bar > form { flex-basis: 150px; }
  .note-act > span:empty { display: none; }
  .note-act { min-width: 34px; padding: 0 4px; }
}

/* ---------- Chat ---------- */
/* Launcher: a round ink button on desktop. Phones reach chat from the 聊天 tab, so the launcher only appears
   inside an open dialog (where the tab bar is covered). */
#chat-launcher { width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 6px 18px #0f101233; }
#chat-launcher:hover { background: #2b2e34; }
#chat-launcher > span:not(.launcher-symbol) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.launcher-unread { right: -2px; top: -2px; min-width: 18px; padding: 0 5px; border: 2px solid #fff; background: var(--signal); font-size: 11px; line-height: 14px; }
@media (max-width: 720px) {
  body > #chat-track { display: none; }
  #dialog #chat-launcher { width: 46px; height: 46px; }
}

/* Floating window: one narrow column that switches between the list and a conversation. */
#chat-window { border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px #0f10122e; }
#chat-window::backdrop { background: #0f101226; }
@media (min-width: 721px) {
  #chat-window { width: min(380px, calc(100vw - 40px)); height: min(660px, calc(100dvh - 96px)); }
  /* Docked left, the window opens beside the navigation rail instead of over it. */
  #chat-window[data-edge="left"] { left: calc(max(20px, (100vw - var(--rail-w) - var(--main-w)) / 2) + var(--rail-w)); }
}
.chat-window-bar { flex-basis: 40px; padding: 0 6px 0 16px; background: #fff; border-bottom: 1px solid var(--line-soft); }
.chat-window-bar > span { color: var(--ink); font-size: 13px; font-weight: 600; }
.chat-window-bar > span .ic { color: var(--ink); }
.chat-icon { color: var(--ink-2); border-radius: 50%; }
.chat-icon:hover, .chat-icon:focus-visible { background: var(--soft); color: var(--ink); }

/* Shared look */
#chat-page { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.chat-rail { gap: 4px; padding: 16px 6px; background: #fafaf8; border-right: 1px solid var(--line-soft); }
.chat-rail button { width: 48px; padding: 8px 2px; border-radius: 10px; color: var(--muted); font-size: 11px; }
.chat-rail button:hover { background: var(--hover); color: var(--ink); }
.chat-rail button[aria-pressed=true] { background: #ececE8; color: var(--ink); font-weight: 650; }
.chat-workspace .rail-avatar .avatar { border-radius: 50%; }
.chat-directory { background: #fff; border-right: 1px solid var(--line-soft); }
.chat-directory > header { padding: 16px 16px 10px; }
.chat-directory h2, .thread-title h2 { font-size: 18px; font-weight: 700; }
.chat-directory header .chat-icon { width: 32px; height: 32px; background: var(--soft); color: var(--ink); }
.chat-search { border-radius: 999px; background: var(--soft); padding: 0 12px; color: var(--muted); }
.chat-directory > .chat-search { margin: 0 14px; }
.chat-search input { padding: 8px 0; font-size: 14px; }
.chat-search:focus-within { outline: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }
.chat-filters { gap: 6px; margin: 10px 14px 4px; overflow-x: auto; scrollbar-width: none; }
.chat-filters button { flex: none; padding: 3px 12px; border-radius: 999px; background: transparent; border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; }
.chat-filters button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
#conversation-list { padding: 4px 6px 10px; }
.conversation-row { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; padding: 9px 10px; border-radius: 10px; }
.conversation-row:hover { background: #f6f6f4; }
.conversation-row.current { background: var(--soft); box-shadow: none; }
.chat-workspace .avatar, .service-avatar, .group-face, .group-mosaic { border-radius: 50%; }
.group-face, .group-mosaic { background: #e9ebee; color: var(--ink-2); }
.conversation-copy { gap: 2px; }
.conversation-copy b { font-size: 15px; font-weight: 600; }
.conversation-preview { font-size: 13px; color: var(--muted); }
.conversation-preview em { color: var(--signal); }
.row-meta { font-size: 12px; color: #8a8f98; }
.room-unread { background: var(--signal); font-size: 11px; }
.room-unread.muted-unread { background: #b4b8bf; }
.pinned-toggle { color: var(--muted); font-size: 12px; }
.chat-invite { border-color: var(--line); border-radius: 10px; }
.chat-thread { background: #fff; }
.choose-mark { width: 64px; height: 64px; color: #9aa0a8; background: var(--soft); border-radius: 50%; }
.choose-chat h2 { font-size: 17px; font-weight: 650; }
.thread-header { min-height: 58px; padding: 8px 14px; background: #fff; border-bottom: 1px solid var(--line-soft); }
.thread-title h2 { font-size: 16px; font-weight: 650; }
.thread-title small { font-size: 12px; }
.thread-actions .btn { min-height: 30px; padding: 4px 12px; font-size: 13px; }
.chat-announcement { background: #f6f6f4; border-radius: 8px; }
.chat-thread .chat-log { padding: 14px 18px; }
.thread-time, .thread-empty { font-size: 12px; color: #9aa0a8; margin: 10px 0 14px; }
.chat-thread .bubble { gap: 8px; margin: 0 0 6px; max-width: 78%; }
.chat-thread .bubble.own .bubble-avatar { display: none; }
.bubble-avatar .avatar { border-radius: 50%; }
.bubble-author { margin: 0 0 2px 12px; font-size: 12px; }
.bubble-content { padding: 8px 13px; border: 0; border-radius: 18px 18px 18px 6px; background: var(--soft); }
.own .bubble-content { border: 0; border-radius: 18px 18px 6px 18px; background: var(--ink); color: #fff; }
.own .bubble-content a, .own .bubble-content .textlink { color: #fff; text-decoration: underline; }
.own .bubble-content .source { background: #ffffff1f; color: #fff; }
.bubble-content p { font-size: 15px; line-height: 1.5; }
.bubble-content.sticker-only { background: transparent; }
.message-actions .btn { color: #8a8f98; }
.bubble .voice-record { color: inherit; }
.chat-composer { margin: 0 12px 12px; padding: 6px 8px 6px 14px; border: 1px solid var(--line-strong); border-radius: 18px; background: #fff; }
.chat-composer:focus-within { border-color: #b9bdc4; border-top-color: #b9bdc4; }
.chat-composer textarea { min-height: 38px; font-size: 15px; }
.chat-tools summary { color: var(--ink-2); border-radius: 8px; }
.chat-tools summary span { font-size: 12px; }
.chat-tools summary:hover, .chat-tools details[open] summary { background: var(--soft); color: var(--ink); }
.tool-pop { border-radius: 12px; box-shadow: 0 8px 28px #0f101222; }
.emoji-choices button, .sticker-choices button { border-radius: 10px; }
.emoji-choices button:hover, .sticker-choices button:hover { background: var(--soft); }
.send-chat { min-height: 32px; padding: 5px 18px; border-radius: 999px; font-size: 14px; }
.greeting-actions { color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.support-welcome, .support-message { background: var(--soft); border-radius: 18px 18px 18px 6px; padding: 8px 13px; }
.support-message.mine { background: var(--ink); color: #fff; border-radius: 18px 18px 6px 18px; }
.support-message.mine small { display: none; }
.support-message small { font-size: 12px; }
.support-tools { border-top-color: var(--line); }
.support-shortcuts .btn { background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; min-height: 28px; padding: 3px 11px; font-size: 13px; color: var(--ink-2); }
.support-send input { border-color: var(--line-strong); border-radius: 999px; padding: 9px 14px; }
.support-switch [aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }

/* Single-column chat: the floating window everywhere, and the 聊天 page on phones.
   The rail becomes two tabs above the list; a conversation takes the whole column. */
#chat-window .chat-workspace { position: relative; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
#chat-window .chat-rail { flex-direction: row; justify-content: flex-start; gap: 4px; padding: 12px 14px 6px; background: #fff; border: 0; }
#chat-window .rail-avatar { display: none; }
#chat-window .chat-rail button { width: auto; display: inline-flex; gap: 0; padding: 5px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); }
#chat-window .chat-rail button .ic { display: none; }
#chat-window .chat-rail button[aria-pressed=true] { background: var(--ink); color: #fff; }
#chat-window .chat-directory { grid-row: 2; border: 0; }
#chat-window .chat-directory > header { position: absolute; top: 10px; right: 12px; padding: 0; }
#chat-window .chat-directory > header h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#chat-window .chat-directory > .chat-search { margin-top: 6px; }
#chat-window .chat-thread { display: none; }
#chat-window .chat-workspace[data-conversation=yes] .chat-rail, #chat-window .chat-workspace[data-conversation=yes] .chat-directory { display: none; }
#chat-window .chat-workspace[data-conversation=yes] .chat-thread { grid-row: 1 / -1; display: flex; }
#chat-window .thread-header [data-action=chat-back] { display: inline-grid; width: 32px; }
#chat-window .thread-header { gap: 6px; padding: 8px 8px 8px 6px; }
#chat-window .thread-actions .btn { padding: 4px 8px; }
#chat-window .chat-thread .chat-log { padding: 12px 14px; }
#chat-window .chat-thread .bubble { max-width: 84%; }
#chat-window .chat-composer { margin: 0 10px 10px; }
/* Icon-only tools: the label stays as an invisible layer over the whole button, so it still names and hits it. */
#chat-window .chat-tools summary { position: relative; }
#chat-window .chat-tools summary span { position: absolute; inset: 0; overflow: hidden; opacity: 0; font-size: 1px; white-space: nowrap; }
#chat-window .message-actions { opacity: 1; }
@media (max-width: 720px) {
  #chat-window, #chat-page { border: 0; border-radius: 0; }
  #chat-page .chat-workspace { position: relative; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  #chat-page .chat-rail { flex-direction: row; justify-content: flex-start; gap: 4px; padding: 12px 14px 6px; background: #fff; border: 0; }
  #chat-page .rail-avatar { display: none; }
  #chat-page .chat-rail button { width: auto; display: inline-flex; gap: 0; padding: 5px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); }
  #chat-page .chat-rail button .ic { display: none; }
  #chat-page .chat-rail button[aria-pressed=true] { background: var(--ink); color: #fff; }
  #chat-page .chat-directory { grid-row: 2; border: 0; }
  #chat-page .chat-directory > header { position: absolute; top: 10px; right: 12px; padding: 0; }
  #chat-page .chat-directory > header h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #chat-page .chat-directory > .chat-search { margin-top: 6px; }
  .chat-workspace[data-conversation=yes] .chat-thread { grid-row: 1 / -1; }
  .chat-thread .bubble { max-width: 84%; }
  .chat-thread .chat-log { padding: 12px; }
  .chat-composer { margin: 0 8px 8px; }
}

/* The 聊天 page on desktop fills the content column next to the rail. */
@media (min-width: 721px) {
  body:has(#main > #chat-page) { display: grid; height: 100dvh; overflow: hidden; grid-template-rows: minmax(0, 1fr); }
  #main:has(> #chat-page) { grid-column: 3; height: 100dvh; min-height: 0; width: auto; margin: 0; padding: 20px 0; display: flex; flex-direction: column; }
  #chat-page .chat-workspace { grid-template-columns: 64px minmax(250px, 300px) minmax(0, 1fr); }
}
@media (min-width: 721px) and (max-width: 1099px) {
  #chat-page .chat-workspace { grid-template-columns: 56px 240px minmax(0, 1fr); }
}
.booking-price strong .per { font-size: 0.9rem; font-weight: 500; color: var(--ink-2); }

/* ---------- Language switch (header) ---------- */
.lang-menu > summary {
  min-height: 34px; padding: 0 10px; border-radius: 999px; color: var(--ink-2); font-size: 0.9rem; font-weight: 500; white-space: nowrap;
}
.lang-menu > summary:hover { background: var(--hover); color: var(--ink); }
.lang-menu > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lang-menu .pop-list { min-width: 190px; }
.pop-list .lang-option { justify-content: space-between; }
.lang-option[aria-checked="true"] { font-weight: 600; }
.lang-option .ic { color: var(--ink); flex: none; }
.lang-option small { color: var(--muted); font-size: 0.75rem; font-weight: 500; }
@media (min-width: 721px) {
  /* The rail's bottom group: language first, then the account row. */
  .bar-right .lang-menu { order: -1; }
  .lang-menu > summary { display: flex; gap: 14px; height: 40px; padding: 0 12px; border-radius: 10px; font-size: 0.93rem; }
  .lang-menu > summary .ic { width: 20px; height: 20px; }
  .lang-menu .pop-list { top: auto; bottom: calc(100% + 6px); left: 0; right: auto; }
}
@media (min-width: 721px) and (max-width: 1099px) {
  .lang-menu > summary { justify-content: center; padding: 0; }
  .lang-menu > summary > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 720px) {
  .lang-menu > summary { width: 34px; min-height: 34px; justify-content: center; padding: 0; }
  .lang-menu > summary > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .lang-menu .pop-list { top: calc(100% + 8px); }
}

/* ---------- Real catalogue data (2026-12-05) ---------- */
/* Organizer tiles stand in for missing artwork: a letter in the organizer's tone, never a stock photo. */
.cover-mark { display: grid; place-items: center; background: color-mix(in srgb, var(--tone, #14161a) 11%, #fff); color: var(--tone, #14161a); }
.cover-mark b { font-size: 1.7rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.timetable .car-card > .cover.cover-mark { display: grid; }
.timetable .car-card .eyeline .tag.main-tag { color: var(--ink); font-weight: 600; }
.car-card .row-price:empty { display: none; }
.host-mark { flex: none; width: 38px; height: 38px; border-radius: 10px; }
.host-mark b { font-size: 1rem; }
.program-mark { flex: none; width: 128px; height: 76px; border-radius: 10px; }
.program-mark b { font-size: 1.9rem; }
.recommendation-mark { flex: none; width: min(42%, 260px); height: 100%; }
.recommendation-mark b { font-size: 2.6rem; }
@media (max-width: 720px) {
  .timetable .car-card:has(> .row-price:empty) .card-body { grid-row: 1 / 3; align-self: center; }
  .program-mark { width: 94px; height: 66px; }
  .program-mark b { font-size: 1.5rem; }
}

/* 推荐: two conferences side by side on wide screens; on phones the next card peeks in. */
@media (min-width: 721px) {
  .recommendation-track { grid-auto-columns: calc((100% - 12px) / 2); }
  .recommendation-card { height: 128px; }
  .recommendation-card img, .recommendation-mark { width: 38%; }
  .recommendation-copy { padding: 12px 16px; }
  .recommendation-copy h3 { font-size: 1rem; -webkit-line-clamp: 2; }
}
@media (max-width: 720px) {
  .recommendation-track { grid-auto-columns: 86%; }
}

/* Page navigation under long lists. */
.program-pager { justify-content: center; gap: 8px; margin: 18px 0 6px; color: var(--muted); font-size: 0.9rem; }
.program-pager span { padding: 0 6px; font-variant-numeric: tabular-nums; }
.program-pager .textlink {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 500; text-decoration: none;
}
.program-pager .textlink:hover { background: #f7f7f5; }

/* Empty states read as a quiet card, not a wireframe box; inside a panel they are plain text. */
.empty { margin: 0; padding: 32px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--muted); text-align: center; }
.empty-cta { gap: 14px; }
.empty-cta p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.panel .empty, .booking-card .empty { padding: 4px 0; border: 0; background: none; text-align: left; }
.note-comments .empty { border: 0; padding: 14px 0; text-align: left; background: none; }

/* An event page without its own artwork opens straight on the title. */
.event-head.no-cover { margin-top: 4px; }
/* "全天" / "3 天" / "All day" sit where a clock time would: smaller, and never broken mid-word. */
.car-card .row-when b.word { font-size: 1rem; white-space: nowrap; }
.recommendation-tools .textlink { white-space: nowrap; }
@media (max-width: 720px) {
  .timetable .car-card { grid-template-columns: 50px 64px minmax(0, 1fr); }
  .car-card .row-when b.word { font-size: 0.86rem; }
  /* Phones swipe the 推荐 row; the arrows are for mouse users. */
  .recommendation-arrows { display: none !important; }
}
