:root {
  --ink: #302c2b;
  --muted: #706966;
  --accent: #ad493f;
  --line: #dedbd8;
  --sheet: #fcfbfa;
  --canvas: #f2f1ef;
  --city-bg: #ece9e6;
  --pending-bg: #e2e2e2;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; }
.workspace { max-width: 800px; margin: 0 auto; padding: 24px 28px calc(96px + env(safe-area-inset-bottom)); }
.site-header { padding: 4px 0 20px; }
.identity { min-width: 0; }
.product-title { font-size: 36px; font-weight: 800; letter-spacing: .02em; line-height: 1.3; margin: 0; }
.product-title #artist, .day-header #artist {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: #d8b2a6;
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}
.title-tail { font-size: 19px; font-weight: 450; color: var(--ink); margin-left: 6px; white-space: nowrap; }
.updated { margin: 7px 0 0; font-size: 12px; color: var(--muted); }
.information-notice { margin: 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.load-status { border: 1px solid var(--line); padding: 10px 16px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.load-status button { min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--accent); margin-bottom: 16px; }

/* 主屏幕添加引导 */
.header-meta { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; margin-top: 7px; font-size: 12px; }
.header-meta .updated { margin: 0; }
.header-meta > * + *::before { content: "·"; display: inline-block; margin: 0 8px; color: var(--muted); text-decoration: none; }
.changelog-entry { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px; line-height: 1.5; white-space: nowrap; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.changelog-entry:active { color: var(--ink); }
.changelog-entry:disabled { color: var(--muted); cursor: default; }
.changelog-dialog { width: min(480px, calc(100% - 28px)); height: 480px; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--sheet); color: var(--ink); overflow: hidden; }
.changelog-dialog[open] { display: flex; flex-direction: column; }
.changelog-dialog::backdrop { background: rgb(30 25 23 / 40%); }
body:has(.changelog-dialog[open]) { overflow: hidden; }
.changelog-dialog-header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.changelog-dialog-header h2 { margin: 0; font-size: 18px; }
.changelog-list { flex: 1; padding: 12px 20px 16px; overflow-y: auto; min-height: 0; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.changelog-date + .changelog-date { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.changelog-date h3 { margin: 0 0 6px; font-size: 13px; color: var(--ink); font-weight: 600; }
.changelog-date ul { margin: 0; padding-left: 1.25em; }
.changelog-date li + li { margin-top: 4px; }
.install-entry { min-height: 32px; padding: 5px 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: 12px; white-space: nowrap; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.install-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 16px 20px 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--sheet); color: var(--ink); overflow-y: auto; }
.install-dialog::backdrop { background: rgb(30 25 23 / 40%); }
body:has(.install-dialog[open]) { overflow: hidden; }
.install-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.install-dialog-header h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; }
.install-close { width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 26px; cursor: pointer; }
.install-native { margin-top: 14px; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 4px; background: var(--accent); color: white; font: inherit; cursor: pointer; }
.install-steps { font-size: 13px; line-height: 1.8; }
.install-steps h3 { margin: 14px 0 4px; font-size: 14px; text-wrap: initial; }
.install-steps ol { margin: 0; padding-left: 1.5em; }
.install-steps .menu-label { padding: 2px 3px; border-radius: 3px; background: #f2eeeb; white-space: nowrap; }
.install-manual { margin: 14px 0 0; }
.install-intro { margin: 0; color: var(--muted); }
.install-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
@media (display-mode: standalone) { .install-entry { display: none; } }

.ticket-entry { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; padding: 6px 0; border: 0; border-radius: 6px; background: none; color: var(--accent); font: inherit; font-size: 13px; font-weight: 500; line-height: 18px; white-space: nowrap; cursor: pointer; }
.ticket-entry-label { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 32px; padding: 6px 10px; border: 1px solid #bda79b; border-radius: 6px; background: var(--sheet); }
.ticket-entry:not(:disabled):active .ticket-entry-label { border-color: var(--accent); background: #eee4df; }
.ticket-entry:disabled { color: var(--muted); cursor: default; }
.ticket-dialog { width: min(480px, calc(100% - 28px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--sheet); color: var(--ink); overflow: hidden; }
.ticket-dialog[open] { display: flex; flex-direction: column; }
.ticket-dialog::backdrop { background: rgb(30 25 23 / 40%); }
body:has(.ticket-dialog[open]) { overflow: hidden; }
.ticket-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 12px 14px 20px; border-bottom: 1px solid var(--line); }
.ticket-dialog-header h2 { margin: 0; font-size: 18px; }
.ticket-dialog-header p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.ticket-list { padding: 16px 20px 20px; overflow-y: auto; min-height: 0; }
.ticket-status-group h3 { margin: 0 0 6px; font-size: 16px; font-weight: 500; color: var(--accent); }
.ticket-status-group + .ticket-status-group { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.ticket-status-group ul { list-style: none; margin: 0; padding: 0; }
.ticket-status-group li { padding: 10px 0; }
.ticket-status-group li + li { border-top: 1px solid #e9e7e4; }
.ticket-upcoming li { padding: 0; }
.ticket-upcoming-entry { display: block; padding: 10px 0; }
.ticket-entry-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; font-size: 15px; font-weight: 650; }
.ticket-entry-primary { white-space: nowrap; }
.ticket-entry-platform { color: var(--muted); font-size: 13px; font-weight: 400; }
.ticket-entry-heading time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket-event { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; font-size: 13px; font-weight: 400; line-height: 1.7; overflow-wrap: anywhere; }
.ticket-event-meta { margin-right: 4px; font-weight: 600; white-space: nowrap; }
.ticket-on-sale li { padding: 0; }
.ticket-series { margin-top: 12px; }
.ticket-series + .ticket-series { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.ticket-show { display: flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 10px 0; overflow-wrap: anywhere; }
.ticket-show-name { margin: 0 0 4px; font-size: .9375rem; font-weight: 700; line-height: 1.5; text-wrap: initial; overflow-wrap: anywhere; }
.ticket-show-meta { display: block; font-size: .875rem; font-weight: 500; line-height: 1.7; }
.ticket-show-chevron { flex: none; color: var(--accent); }
a.ticket-show:active, a.ticket-upcoming-entry:active { background: var(--canvas); }
.ticket-empty { margin: 12px 0; color: var(--muted); font-size: 14px; }

.announcement-button { border: 0; padding: 0; background: none; font: inherit; cursor: pointer; }
.announcement-dialog { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--sheet); color: var(--ink); overflow: hidden; }
.announcement-dialog[open] { display: flex; flex-direction: column; }
.announcement-dialog::backdrop { background: rgb(30 25 23 / 50%); }
body:has(.announcement-dialog[open]) { overflow: hidden; }
.announcement-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px 8px 16px; flex-shrink: 0; }
.announcement-header h2 { margin: 0; font-size: 17px; }
.announcement-content { overflow-y: auto; min-height: 0; }
.announcement-content img { display: block; width: 100%; height: auto; }
.announcement-content p { margin: 16px; font-size: 13px; }

/* 月历：日期、城市颜色、活动类型 */
.calendar-section { background: var(--sheet); border-radius: 5px; padding: 10px 20px; }
.calendar-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 7px 16px; margin-bottom: 12px; }
.calendar-head > .legend-row, .calendar-guide { grid-column: 1 / -1; }
.calendar-head > .month-nav + .legend-row { grid-column: 2; }
.month-nav { display: flex; align-items: center; margin-left: -12px; }
.month-step { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--accent); cursor: pointer; }
.month-step:disabled { color: var(--line); cursor: default; }
.month-step:not(:disabled):active { background: #f1ece8; }
.month-picker { position: relative; }
.month-picker::after {
  content: "";
  position: absolute;
  right: 6px;
  top: calc(50% - 7px);
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  pointer-events: none;
}
.month-toggle {
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  min-height: 44px;
  padding: 0 24px 0 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  white-space: nowrap;
  cursor: pointer;
}
.month-toggle:disabled { color: var(--muted); cursor: default; }
.month-dialog { position: fixed; inset: auto; top: var(--month-dialog-top, 0); left: var(--month-dialog-left, 0); width: 288px; max-width: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--sheet); color: var(--ink); box-shadow: 0 10px 28px rgb(48 44 43 / 14%); }
.month-dialog::backdrop { background: transparent; }
body:has(.month-dialog[open]) { overflow: hidden; }
.month-dialog-body { padding: 6px 10px 12px; }
.month-dialog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.month-dialog-head strong { font-size: 16px; }
.month-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.month-option { min-height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.month-option.is-today { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.month-option[aria-current="true"] { background: var(--accent); color: #fff; font-weight: 700; box-shadow: none; }
.month-option:disabled { color: #c3bdb9; cursor: default; }
.month-option:not(:disabled):not([aria-current="true"]):active { background: #f1ece8; }
.legend-row { display: flex; min-width: 0; align-items: baseline; justify-content: flex-end; gap: 12px; max-width: 100%; }
.legend { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 12px; }
.legend-item { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; white-space: nowrap; }
.swatch { display: block; width: 24px; height: 14px; border: 1px solid #00000012; }
.calendar-guide { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; width: 100%; }
.type-legend { display: flex; gap: 12px; font-size: 12px; flex-shrink: 0; }
.type-legend > span { display: flex; align-items: center; gap: 5px; }
.type-dot { display: inline-block; width: 8px; height: 8px; border: 1.5px solid #4e4440; border-radius: 50%; flex-shrink: 0; }
.type-dot.performance { background: #4e4440; }
.type-dot.meetup { background: transparent; }
.type-dot.livestream { background: #4e4440; border-radius: 1px; }
.weekdays, .calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.weekdays { background: #eeeae6; border-bottom: 2px solid #c9c1bb; padding: 7px 0; color: #514b47; text-align: center; font-size: 12px; font-weight: 600; }
.calendar { margin-top: 6px; }
.day { min-width: 0; min-height: 46px; display: flex; flex-direction: column; padding: 3px 7px; border-bottom: 1px solid var(--line); }
.day time { font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted); }
.day time[aria-current="date"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.day.active { background: var(--city-bg); border-radius: 2px; transition: box-shadow .15s; }
.day.active time { font-weight: 700; color: var(--ink); }
.pending-swatch, .day.pending-day {
  background: repeating-linear-gradient(135deg, var(--pending-bg) 0px, var(--pending-bg) 5px, #cbcbcb 5px, #cbcbcb 6px);
}
.day.pending-day { border-radius: 2px; }
.day.pending-day time { font-weight: 700; color: var(--ink); }
.pending-label { display: inline-block; margin-right: 6px; padding: 1px 5px; border-radius: 2px; background: #d5d1cd; color: #514b47; font-size: 12px; font-weight: 500; white-space: nowrap; }
.day strong { font-size: 12px; font-weight: 600; margin-top: auto; line-height: 1.4; overflow-wrap: anywhere; }
.day-city { display: block; white-space: nowrap; }
.day.empty { border: 0; }
.day-top { display: flex; align-items: center; justify-content: space-between; gap: 2px; min-width: 0; flex-wrap: wrap; }
.type-dots { display: flex; gap: 2px; flex-shrink: 0; }
.calendar-hint { color: var(--muted); font-size: 12px; font-weight: 400; margin: 0; }

/* 本月行程表格 */
.agenda { margin-top: 22px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-heading h2 { font-size: 19px; margin: 0; }
.empty-month, .empty-day { padding: 20px 16px; margin: 0; background: var(--sheet); color: var(--muted); font-size: 14px; }
.agenda-group + .agenda-group { margin-top: 30px; }
.agenda-group h3 { margin: 0 0 10px; padding-left: 10px; border-left: 3px solid currentColor; font-size: 16px; font-weight: 700; line-height: 1.35; }
.agenda-group-upcoming h3 { color: var(--accent); }
.agenda-group-past h3 { color: #514b47; }
.itinerary-table { width: 100%; border-collapse: collapse; table-layout: fixed; background: var(--sheet); font-size: 13px; }
.date-col { width: 16%; }
.city-col { width: 16%; }
.time-col { width: 22%; }
.event-col { width: 46%; }
.itinerary-table .agenda-columns th { text-align: left; background: #eeeae6; border-top: 1px solid var(--line); border-bottom: 1px solid #c9c1bb; font-size: 12px; font-weight: 550; color: var(--muted); padding: 9px 8px; }
.itinerary-table td, .table-date { border-bottom: 1px solid #e9e6e3; padding: 12px 8px; vertical-align: top; text-align: left; }
.itinerary-table tr.date-group-start:not(:first-child) > * { border-top: 2px solid #c9c1bb; }
.itinerary-table .pending-row > td, .table-date.pending-date { background: #e8e6e3; }
.pending-city-name { display: inline-block; padding: 2px 6px; background: #d6d2ce; color: #57524e; font-size: 12px; line-height: 1.5; font-weight: 600; border-radius: 2px; overflow-wrap: anywhere; }
.itinerary-table tr:has(.table-activity a:focus-visible) > td, .table-date:focus-within { background: #f1ece8; }
.table-date a, .date-entry { display: flex; flex-direction: column; min-height: 44px; gap: 3px; }
.table-date strong { font-size: 14px; font-variant-numeric: tabular-nums; }
.table-date small { font-size: 12px; font-weight: 400; color: var(--muted); }
.city-tag { display: inline-block; background: var(--city-bg); color: #302f35; padding: 3px 10px; font-size: 12px; line-height: 1.5; font-weight: 600; border-radius: 2px; overflow-wrap: anywhere; }
.itinerary-table .city-tag { padding: 2px 6px; }
.table-time strong { display: block; font-size: 14px; font-variant-numeric: tabular-nums; }
.table-time > span { display: flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 12px; color: var(--muted); margin-top: 4px; }
.table-activity a { position: relative; display: block; min-height: 44px; padding-right: 18px; overflow-wrap: anywhere; }
.pending-activity { min-height: 44px; overflow-wrap: anywhere; }
.row-chevron { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.table-activity a strong, .pending-activity strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.55; text-wrap: pretty; }
.table-activity a span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.6; margin-top: 4px; }

/* 首页今日入口与当天活动详情 */
.today-shortcut { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding: 14px 16px; border: 1px solid #d6b3a8; border-radius: 6px; background: #f8eee9; }
.today-copy { min-width: 0; }
.today-copy strong { display: block; color: var(--accent); font-size: 15px; }
.today-part { white-space: nowrap; }
#today-times { display: block; margin-top: 4px; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.today-action { color: var(--accent); font-size: 13px; white-space: nowrap; flex-shrink: 0; }
.day-workspace { max-width: 640px; }
.day-header { padding-bottom: 16px; }
.day-navigation { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.day-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-right: 8px; color: var(--ink); font-size: 14px; font-weight: 550; white-space: nowrap; }
.day-back svg { color: var(--accent); }
.day-back span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.day-identity { font-size: 13px; color: var(--muted); white-space: nowrap; }
.day-header #artist { font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif; font-size: 16px; font-weight: 700; color: var(--accent); text-decoration: none; margin-right: 3px; }
.day-header #day-title { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: normal; line-height: 1.4; }
.day-count { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.day-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.day-heading-text { min-width: 0; }
.day-camera { display: inline-flex; flex-shrink: 0; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 20px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
/* 每场活动保持一个白色整体，以文字层级和内部细线分区。 */
.day-events { display: flex; flex-direction: column; gap: 20px; }
.activity-detail { background: #fff; border: 1px solid #e1dfdc; border-radius: 8px; }
.activity-intro { padding: 12px 16px 6px; }
.activity-detail h2 { margin: 0; font-size: 16px; font-weight: 650; line-height: 1.6; text-wrap: wrap; overflow-wrap: anywhere; }
.type-label { display: inline-block; vertical-align: 1px; margin-right: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.type-label[data-type="见面会"] { background: #eee8f7; color: #655080; }
.type-label[data-type="演出"] { background: #e4eef8; color: #395e80; }
.type-label[data-type="直播"] { background: #e5f1e9; color: #38664a; }
.activity-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; min-height: 44px; margin-bottom: 4px; }
.activity-time { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; color: var(--accent); }
.pending-info { display: inline-block; width: fit-content; padding: 1px 4px; border-radius: 2px; background: #f0efed; color: #706966; font-size: 12px; font-weight: 400; line-height: 1.5; }
.activity-time.pending-info { font-size: 13px; padding: 2px 5px; }
.table-time strong.pending-info, .table-activity a span.pending-info { display: inline-block; color: #706966; font-size: 12px; font-weight: 400; }
.activity-location { margin: 0; padding: 0 16px 10px; }
.activity-location > div { display: grid; grid-template-columns: 2em minmax(0, 1fr); gap: 12px; align-items: baseline; font-size: 14px; }
.activity-location dt { color: var(--ink); font-weight: 650; line-height: 1.7; }
.activity-location dd { line-height: 1.7; margin: 0; overflow-wrap: anywhere; }
.activity-flow { margin: 0 16px; padding: 12px 0; border-top: 1px solid #e9e7e4; }
.activity-flow h3, .activity-remarks h3, .activity-ticketing h3 { margin: 0 0 10px; font-size: 16px; font-weight: 700; line-height: 1.5; text-wrap: wrap; }
.activity-flow table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.activity-flow td { padding: 0 0 8px; vertical-align: top; white-space: pre-wrap; overflow-wrap: anywhere; }
.activity-flow tr:last-child td { padding-bottom: 0; }
.activity-flow .flow-time { width: 1%; padding-right: 16px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: #514b47; }
.activity-flow .flow-time + td { position: relative; padding-left: 18px; }
/* 只连接相邻的时间节点，连线从本行圆心到下一行圆心。 */
.activity-flow tr:has(+ tr .flow-time) .flow-time + td::before { content: ""; position: absolute; left: 0; top: .8em; bottom: -.8em; width: 1px; background: #d0d2d4; }
.activity-flow .flow-time + td::after { content: ""; position: absolute; left: -3px; top: calc(.8em - 3.5px); width: 7px; height: 7px; border: 1px solid #929ba2; border-radius: 50%; background: #fff; }
.activity-flow .flow-note { color: var(--muted); }
.activity-remarks { margin: 0 16px; padding: 12px 0; border-top: 1px solid #e9e7e4; }
.activity-remarks p { margin: 0; font-size: 14px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.activity-ticketing { margin: 0 16px; padding: 12px 0; border-top: 1px solid #e9e7e4; }
.ticket-stages { list-style: none; margin: 0; padding: 0; }
.ticket-stages li { display: flex; align-items: center; gap: 12px; }
.ticket-stage-info { flex: 1; min-width: 0; }
.ticket-stages li + li { margin-top: 8px; padding-top: 8px; border-top: 1px solid #f0efed; }
.ticket-stage-time { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; font-variant-numeric: tabular-nums; }
.ticket-stage-time b { margin-left: 4px; font-size: inherit; font-weight: inherit; white-space: nowrap; }
.ticket-stage-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font-size: 13px; line-height: 1.5; }
.ticket-stage-description { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin-right: auto; }
.ticket-stage-label { overflow-wrap: anywhere; }
.ticket-stage-separator, .ticket-platform-name { color: var(--muted); }
.ticket-platform-name { overflow-wrap: anywhere; }
.ticket-action { display: inline-flex; flex: none; align-items: center; justify-content: flex-end; gap: 4px; white-space: nowrap; min-width: 44px; min-height: 28px; font-size: 13px; color: var(--accent); }
.ticket-action-label { overflow-wrap: anywhere; }
.ticket-action-label { text-decoration: underline; text-underline-offset: 3px; }
.link-icon { flex: none; }
.activity-sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 16px; padding: 4px 0; border-top: 1px solid #e9e7e4; }
.activity-source-item { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; }
.activity-sources .official-link { min-height: 0; font-size: 13px; white-space: nowrap; }
.activity-source-item:nth-child(even)::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.activity-source-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.venue-line { display: flex; align-items: flex-start; gap: 2px; }
.venue-line > span { min-width: 0; }
.venue-address { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.copy-venue { position: relative; display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 28px; height: 28px; margin: -2px 0; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--accent); cursor: pointer; }
.copy-venue::after { content: ""; position: absolute; inset: -8px; }
.copy-venue:disabled { cursor: wait; }
.copy-status { display: block; color: var(--accent); font-size: 12px; }
.copy-status:empty { display: none; }
.official-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--accent); font-size: 14px; }
.information-footer, .day-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.day-footer .information-notice { flex-basis: 100%; }
.day-footer { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (hover: hover) {
  .install-entry:hover, .changelog-entry:not(:disabled):hover { color: var(--ink); }
  a.ticket-show:hover .ticket-show-meta { color: var(--accent); }
  a.ticket-upcoming-entry:hover .ticket-event { color: var(--accent); }
  .ticket-entry:not(:disabled):hover .ticket-entry-label { border-color: var(--accent); background: #f5eeea; }
  .day-back:hover { color: var(--accent); }
  .copy-venue:hover { background: #e9e4e0; }
  .month-toggle:not(:disabled):hover { color: var(--accent); }
  .month-option:not(:disabled):not([aria-current="true"]):hover { background: #f1ece8; }
  .month-step:not(:disabled):hover { background: #f1ece8; }
  .day.active:hover { box-shadow: inset 0 0 0 2px var(--accent); }
  .itinerary-table a:hover { color: var(--accent); }
  .itinerary-table tr:has(.table-activity a):has(td:hover) > td, .table-date:has(a):hover { background: #f1ece8; }
}

@media (max-width: 540px) {
  .workspace { padding: 18px 14px calc(120px + env(safe-area-inset-bottom)); }
  .site-header { padding-bottom: 20px; }
  .product-title { font-size: 32px; }
  .title-tail { font-size: 17px; margin-left: 4px; }
  .calendar-section { padding: 8px 10px 10px; }
  .calendar-head > .month-nav + .legend-row { grid-column: 1 / -1; }
  .month-nav { grid-column: 1 / -1; justify-content: space-between; margin: -4px -6px 0; }
  .month-toggle { font-size: 18px; }
  .month-dialog { left: 14px; right: 14px; width: auto; }
  .swatch { width: 22px; height: 13px; }
  .legend-row { gap: 10px; }
  .weekdays, .calendar { gap: 3px; }
  .day { min-height: 44px; padding: 2px; }
  .day time { font-size: 15px; }
  .agenda { margin-top: 23px; }
  .date-col { width: 44px; }
  .city-col { width: 44px; }
  .time-col { width: 68px; }
  .event-col { width: auto; }
  .itinerary-table .agenda-columns th { padding: 8px 4px; }
  .itinerary-table .agenda-columns th:nth-child(3) { white-space: nowrap; }
  .itinerary-table td, .table-date { padding: 10px 4px; }
  .table-activity a { padding-right: 14px; }
  .row-chevron { right: 3px; }
  .table-date strong, .table-time strong { font-size: 13px; }
  .itinerary-table .city-tag, .pending-city-name { padding: 2px 4px; }
  .back-link { margin-bottom: 8px; }
}

@media (max-width: 360px) {
  .product-title { font-size: 28px; }
  .title-tail { font-size: 16px; }
  .today-action-label { display: none; }
  .today-shortcut { gap: 8px; padding: 12px; }
  .day { min-height: 62px; }
  .day-top { flex-direction: column; align-items: flex-start; gap: 3px; }
  .day-camera { gap: 4px; padding: 0 12px; font-size: 13px; }
}

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