/* Rowline 原型基础样式：五套配色变量、通用组件与共享页面。舞台布局的版式在 layout-a.css。 */

/* 4 套日间配色共用同一套中性色阶与剧场黑，只替换品牌色阶；中性色不带品牌色相，避免和演出海报撞色。夜场是独立的冷灰黑阶。 */
:root,
[data-theme] {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --surface-3: #e5e8ee;
  --text: #0f141c;
  --text-2: #5a6270;
  --border: #e4e7ec;
  /* 规范值 #949ca8 在 --bg 上只有 2.6:1，加深到控件边框需要的 3:1。 */
  --border-strong: #88909d;
  --on-brand: #ffffff;
  --header-bg: #0b0e14;
  --header-fg: #ffffff;
  --header-fg-2: #b8c0cc;
  --header-hover: rgb(255 255 255 / 0.12);
  --header-cta-bg: #ffffff;
  --header-cta-fg: #0f141c;
  --header-cta-hover: #e5e8ee;
  --search-bg: #ffffff;
  --footer-bg: #0b0e14;
  --footer-fg: #ffffff;
  --footer-fg-2: #b8c0cc;
  --footer-line: rgb(255 255 255 / 0.12);
  --focus-on-brand: #ffffff;
  --success: #087443;
  --success-soft: #e6f6f0;
  --warning: #b45309;
  --warning-soft: #fef3c7;
  --danger: #be2532;
  --danger-soft: #fdeaea;
  --neutral-soft: #f1f3f6;
  --map-empty: #e5e8ee;
  --map-stroke: #c9ced6;
  --stage: #0f141c;
  --on-stage: #ffffff;
  --shadow-color: 220 30% 8%;
}

/* 品牌色阶：前 5 套为全浅色通透系（默认 coral 珊瑚暖橙），后 5 套为深色舞台对比系。 */
:root,
[data-theme="coral"] {
  --bg: #f8f9fb;
  --brand: #d9381e;
  --brand-hover: #b82d16;
  --brand-soft: #fff1ee;
  --brand-soft-text: #a92410;
  --brand-text: #c8321a;
  --focus: #d9381e;
  --selection: #fdd8d0;
}

[data-theme="sky"] {
  --bg: #f6f9fc;
  --brand: #0062cc;
  --brand-hover: #004ea3;
  --brand-soft: #eff7ff;
  --brand-soft-text: #004a99;
  --brand-text: #0058b8;
  --focus: #0062cc;
  --selection: #d6eaff;
}

[data-theme="mint"] {
  --bg: #f5faf8;
  --brand: #087a5a;
  --brand-hover: #066046;
  --brand-soft: #ecfaf5;
  --brand-soft-text: #055840;
  --brand-text: #076e50;
  --focus: #087a5a;
  --selection: #c8f2e4;
}

[data-theme="rose"] {
  --bg: #fbf7f9;
  --brand: #d42658;
  --brand-hover: #b21c47;
  --brand-soft: #fff0f5;
  --brand-soft-text: #a3163f;
  --brand-text: #c2204f;
  --focus: #d42658;
  --selection: #fcd2df;
}

[data-theme="violet"] {
  --bg: #f8f7fc;
  --brand: #5538ee;
  --brand-hover: #4326d6;
  --brand-soft: #f2f0ff;
  --brand-soft-text: #3d21c4;
  --brand-text: #4c30de;
  --focus: #5538ee;
  --selection: #dfd9ff;
}

[data-theme="vermilion"] {
  /* 规范值 #e53924 上白字只有 4.25:1，同色相压暗到 4.5:1。 */
  --brand: #dc3723;
  --brand-hover: #c82b18;
  --brand-soft: #fef1ef;
  --brand-soft-text: #b42318;
  --brand-text: #d12e1b;
  --focus: #dc3723;
  --selection: #fcd5cf;
}

[data-theme="harbour"] {
  --brand: #1d4ed8;
  --brand-hover: #1e40af;
  --brand-soft: #eff4ff;
  --brand-soft-text: #1e3a8a;
  --brand-text: #1d4ed8;
  --focus: #1d4ed8;
  --selection: #dbeafe;
}

[data-theme="jade"] {
  --brand: #0d7a5f;
  --brand-hover: #09624c;
  --brand-soft: #ecf8f4;
  --brand-soft-text: #065f46;
  --brand-text: #0b6e55;
  --focus: #0d7a5f;
  --selection: #c6f0e2;
}

[data-theme="amethyst"] {
  --brand: #5b3df5;
  --brand-hover: #492ce0;
  --brand-soft: #f2effe;
  --brand-soft-text: #4326c9;
  --brand-text: #5234e8;
  --focus: #5b3df5;
  --selection: #e0d9fe;
}

[data-theme="night"] {
  color-scheme: dark;
  --bg: #0a0c10;
  --surface: #12151c;
  --surface-2: #181c25;
  --surface-3: #222733;
  --text: #f3f5f8;
  --text-2: #9ca3af;
  --border: #232834;
  /* 规范值 #4b5563 在 --surface 上只有 2.4:1，提亮到 3:1 以上。 */
  --border-strong: #6b7280;
  --brand: #f0b429;
  --brand-hover: #f7c948;
  --on-brand: #141004;
  --brand-soft: #262012;
  --brand-soft-text: #f7c948;
  --brand-text: #f0b429;
  --header-bg: #07080b;
  --header-fg: #f3f5f8;
  --header-fg-2: #9ca3af;
  --header-hover: rgb(255 255 255 / 0.08);
  --header-cta-bg: #f3f5f8;
  --header-cta-fg: #0a0c10;
  --header-cta-hover: #ffffff;
  --search-bg: #181c25;
  --footer-bg: #07080b;
  --footer-fg: #f3f5f8;
  --footer-fg-2: #9ca3af;
  --footer-line: rgb(255 255 255 / 0.1);
  --focus: #f0b429;
  --focus-on-brand: #f0b429;
  --selection: #4d3b11;
  --success: #4ade80;
  --success-soft: #0f291e;
  --warning: #fbbf24;
  --warning-soft: #2e2110;
  --danger: #ff8a80;
  --danger-soft: #3a1717;
  --neutral-soft: #1e232e;
  --map-empty: #222733;
  --map-stroke: #343a47;
  --stage: #f3f5f8;
  --on-stage: #0a0c10;
  --shadow-color: 0 0% 0%;
}

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --gutter: 40px;
  --header-h: 72px;
  --radius-sm: 6px;
  --radius-control: 8px;
  --radius-card: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --shadow-raise: 0 18px 40px -18px hsl(var(--shadow-color) / 0.45), 0 2px 6px hsl(var(--shadow-color) / 0.06);
  --shadow-float: 0 16px 36px -10px hsl(var(--shadow-color) / 0.28), 0 2px 8px hsl(var(--shadow-color) / 0.08);
  --on-image: #ffffff;
  --on-image-2: rgb(255 255 255 / 0.86);
  --image-scrim: linear-gradient(90deg, rgb(9 11 16 / 0.82) 0%, rgb(9 11 16 / 0.66) 52%, rgb(9 11 16 / 0.3) 100%);
}

@media (min-width: 1680px) {
  :root { --container: 1360px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-color: var(--border-strong) var(--bg); scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-width: 1200px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--brand);
}
::selection { background: var(--selection); color: var(--text); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border: 3px solid var(--bg); border-radius: 999px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; line-height: 1.25; }
svg.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
svg.icon.sm { width: 16px; height: 16px; }
svg.icon.lg { width: 24px; height: 24px; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.on-image :focus-visible, .site-header :focus-visible, .home-band :focus-visible { outline-color: var(--focus-on-brand); }
.container { width: min(var(--container), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

.skip-link { position: fixed; left: 16px; top: -120px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-control); background: var(--surface); color: var(--text); transition: top var(--dur-fast) var(--ease-out); }
.skip-link:focus { top: 12px; box-shadow: var(--shadow-float); }

/* 按钮与基础控件 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius-control);
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover:not(:disabled) { background: var(--brand-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover:not(:disabled) { border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-2); }
.btn-link { min-height: 36px; padding: 0 4px; background: none; color: var(--brand-text); }
.btn-link:hover { text-decoration: underline; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; border-radius: 10px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; background: var(--surface-2); color: var(--text-2); border-color: var(--border); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid transparent; border-radius: var(--radius-control); background: transparent; color: var(--text-2); transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.icon-btn:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }
.icon-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.icon-btn.bordered { border-color: var(--border); background: var(--surface); }

.input, .select {
  width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-control);
  background: var(--surface); color: var(--text); font-size: 15px;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.input::placeholder { color: var(--text-2); opacity: 1; }
.input:hover, .select:hover { border-color: var(--text-2); }
.input:focus-visible, .select:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 28%, transparent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field { display: grid; gap: 8px; }
.field-label { font-size: 14px; font-weight: 600; }
.field-hint { font-size: 13px; color: var(--text-2); }
.field-error { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--danger); }
.check { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.check a { color: var(--brand-text); }
.check a:hover { text-decoration: underline; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); color: var(--text);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.chip:hover { border-color: var(--border-strong); }
.chip[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-soft-text); font-weight: 600; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }

.tag { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 8px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); font-size: 13px; font-weight: 500; white-space: nowrap; }
.tag.tag-brand { background: var(--brand-soft); color: var(--brand-soft-text); }
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.warning { background: var(--warning-soft); color: var(--warning); }
.badge.info { background: var(--brand-soft); color: var(--brand-soft-text); }
.badge.success { background: var(--success-soft); color: var(--success); }
.badge.neutral { background: var(--neutral-soft); color: var(--text-2); }
.badge.danger { background: var(--danger-soft); color: var(--danger); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }

/* 站点顶栏 */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header-bg); color: var(--header-fg); }
[data-theme="night"] .site-header { border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 40px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--header-fg); font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark rect { fill: var(--header-fg); }
.brand-mark path { stroke: var(--header-bg); }
.cat-nav { position: relative; align-self: stretch; }
.cat-nav ul { position: relative; display: flex; height: 100%; }
.cat-nav a { display: inline-flex; align-items: center; height: 100%; padding: 0 16px; color: var(--header-fg-2); font-size: 15px; font-weight: 600; transition: color var(--dur-fast) var(--ease-out); }
.cat-nav a:hover, .cat-nav a[aria-current="page"] { color: var(--header-fg); }
.cat-nav a:focus-visible { outline-offset: -6px; border-radius: 10px; }
.cat-indicator { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; border-radius: 3px 3px 0 0; background: var(--header-fg); opacity: 0; transition: transform var(--dur) var(--ease-out), width var(--dur) var(--ease-out), opacity var(--dur-fast); pointer-events: none; }
[data-theme="night"] .cat-indicator { background: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--header-fg-2); font-size: 14px; font-weight: 600; }
.header-btn:hover, .header-btn[aria-expanded="true"] { background: var(--header-hover); color: var(--header-fg); }
.header-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: var(--radius-control); background: var(--header-cta-bg); color: var(--header-cta-fg); font-size: 14px; font-weight: 700; transition: background-color var(--dur-fast) var(--ease-out); }
.header-cta:hover { background: var(--header-cta-hover); }
.header-user { position: relative; }
.header-account { display: flex; align-items: center; gap: 2px; }
.header-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--header-fg-2); }
.header-icon-btn:hover { background: var(--header-hover); color: var(--header-fg); }
.header-btn[aria-current="page"] { color: var(--header-fg); }

.popover {
  position: absolute; z-index: 50; top: calc(100% + 10px); right: 0; width: 340px; padding: 20px;
  border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); color: var(--text); box-shadow: var(--shadow-float);
  transform-origin: top right; animation: pop-in var(--dur) var(--ease-out);
}
.popover.menu { width: 200px; padding: 6px; }
.menu-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 12px; border: 0; border-radius: var(--radius-control); background: none; font-size: 14px; text-align: left; }
.menu-item:hover { background: var(--surface-2); }
@keyframes pop-in { from { opacity: 0; transform: scale(0.98) translateY(-4px); } }
.pref-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pref-head h2 { font-size: 16px; font-weight: 700; }
.pref-group { border: 0; margin: 0 0 16px; padding: 0; }
.pref-group legend { margin-bottom: 8px; padding: 0; font-size: 13px; font-weight: 600; color: var(--text-2); }
.pref-options { display: grid; gap: 6px; }
.pref-option { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-control); font-size: 14px; cursor: pointer; }
.pref-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-soft-text); font-weight: 600; }
.pref-option input { accent-color: var(--brand); margin: 0; }

/* 首页 */
.home-band { background: var(--header-bg); padding: 8px 0 176px; }
.search-form { position: relative; display: flex; align-items: center; width: min(760px, 100%); margin-inline: auto; }
.search-field { position: relative; flex: 1; }
.search-field > .icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-2); pointer-events: none; }
.search-input { width: 100%; height: 56px; padding: 0 120px 0 52px; border: 0; border-radius: var(--radius-card); background: var(--search-bg); color: var(--text); font-size: 16px; box-shadow: 0 8px 24px -12px rgb(0 0 0 / 0.35); }
.search-input::placeholder { color: var(--text-2); opacity: 1; }
.search-input:focus-visible { outline: 3px solid var(--focus-on-brand); outline-offset: 2px; }
.search-submit { position: absolute; right: 6px; top: 6px; height: 44px; padding: 0 24px; }
.recent-panel { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0; padding: 16px 20px 18px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); color: var(--text); box-shadow: var(--shadow-float); animation: pop-in var(--dur) var(--ease-out); transform-origin: top center; }
.recent-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.recent-head h2 { font-size: 14px; font-weight: 700; }
.recent-list { display: flex; flex-wrap: wrap; gap: 8px; }
.recent-empty { padding: 6px 0; font-size: 14px; color: var(--text-2); }

.home-banner { position: relative; z-index: 1; margin-top: -160px; }
.banner-card { overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-raise); }
.banner-stage { position: relative; height: 440px; background: #0d0f14; color: var(--on-image); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 480ms var(--ease-out), visibility 0s linear 480ms; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 480ms var(--ease-out), visibility 0s; }
.slide-bg { position: absolute; inset: 0; overflow: hidden; }
.slide-bg img { position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; filter: blur(44px) saturate(1.35); }
.slide-bg::after { content: ""; position: absolute; inset: 0; background: var(--image-scrim); }
.slide-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 64px; height: 100%; padding: 0 72px 0 64px; }
.slide-city { margin: 14px 0 32px; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; color: var(--on-image-2); }
.slide-title { margin: 0; font-size: 46px; font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; color: var(--on-image); }
.slide-poster { width: 300px; aspect-ratio: 4 / 5; border-radius: var(--radius-card); object-fit: cover; box-shadow: 0 28px 56px -20px rgb(0 0 0 / 0.7); }
.slide .btn-primary { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2); }
.banner-dots { position: absolute; left: 52px; bottom: 18px; display: flex; }
.banner-dot { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; }
.banner-dot span { width: 8px; height: 8px; border-radius: 999px; background: rgb(255 255 255 / 0.5); transition: width var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out); }
.banner-dot:hover span { background: #fff; }
.banner-dot[aria-current="true"] span { width: 28px; background: #fff; }
.banner-dot:focus-visible { outline-color: #fff; outline-offset: -4px; border-radius: 999px; }
.assurance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.assurance-item { display: flex; gap: 14px; padding: 22px 32px; }
.assurance-item + .assurance-item { border-left: 1px solid var(--border); }
.assurance-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--brand-soft); color: var(--brand-soft-text); }
.assurance-item h3 { font-size: 15px; font-weight: 700; line-height: 1.4; }
.assurance-item p { margin-top: 2px; font-size: 13px; line-height: 1.55; color: var(--text-2); }

.section { padding-top: 64px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.band { margin-top: 64px; padding: 52px 0 60px; background: var(--surface); border-block: 1px solid var(--border); }
.band .section { padding-top: 0; }
.poster-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.poster-card { display: block; }
.poster-img { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-card); background: var(--surface-2); }
.poster-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 560ms var(--ease-out); }
.poster-card:hover .poster-img img { transform: scale(1.035); }
.poster-title { display: -webkit-box; margin-top: 14px; overflow: hidden; font-size: 17px; font-weight: 700; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; transition: color var(--dur-fast) var(--ease-out); }
.poster-card:hover .poster-title { color: var(--brand-text); }
.poster-card:focus-visible { outline-offset: 6px; border-radius: var(--radius-card); }
.more-row { display: flex; justify-content: center; align-items: center; min-height: 64px; margin-top: 28px; }
.more-row p { font-size: 14px; color: var(--text-2); }
.empty-block { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 200px; padding: 32px; border: 1px dashed var(--border-strong); border-radius: var(--radius-card); color: var(--text-2); text-align: center; }
.empty-block .icon { width: 32px; height: 32px; stroke-width: 1.5; }
.empty-block strong { color: var(--text); font-size: 16px; }
.error-block { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border: 1px solid color-mix(in srgb, var(--danger) 40%, var(--border)); border-radius: var(--radius-card); background: var(--danger-soft); color: var(--danger); font-weight: 600; }
.error-block > span { display: inline-flex; align-items: center; gap: 10px; }

.skeleton { background: var(--surface-3); border-radius: var(--radius-card); animation: sk-pulse 1.2s ease-in-out infinite alternate; }
@keyframes sk-pulse { from { opacity: 1; } to { opacity: 0.55; } }
.sk-poster { aspect-ratio: 4 / 5; }
.sk-line { height: 18px; margin-top: 14px; border-radius: 6px; width: 70%; }
.sk-banner { height: 440px; border-radius: 0; }

/* 页脚 */
.site-footer { margin-top: 96px; padding: 56px 0 40px; background: var(--footer-bg); color: var(--footer-fg-2); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--footer-fg); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.footer-brand .brand-mark rect { fill: var(--footer-fg); }
.footer-brand .brand-mark path { stroke: var(--footer-bg); }
.site-footer h2 { margin-bottom: 14px; color: var(--footer-fg); font-size: 15px; font-weight: 700; }
.site-footer a:hover { color: var(--footer-fg); text-decoration: underline; }
.social-list { display: flex; gap: 10px; margin-bottom: 16px; }
.social-list li { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.social-list img { width: 20px; height: 20px; }
.footer-links li a { display: inline-flex; align-items: center; min-height: 36px; }
.pay-list { display: grid; grid-template-columns: repeat(5, 52px); gap: 8px; }
.pay-list li { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 36px; border-radius: var(--radius-sm); background: #fff; }
.pay-list li.dark { background: #000; box-shadow: inset 0 0 0 1px var(--footer-line); }
.pay-list img { width: 36px; height: 27px; object-fit: contain; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--footer-line); }
.legal-links { display: flex; gap: 24px; }
.legal-links a { display: inline-flex; align-items: center; min-height: 44px; }
.disclaimer { max-width: 92ch; margin-top: 12px; font-size: 13px; line-height: 1.7; }
.data-credit { margin-top: 4px; }
.data-credit a { text-decoration: underline; text-underline-offset: 2px; }

.to-top { position: fixed; right: 32px; bottom: 32px; z-index: 35; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: var(--shadow-float); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--border-strong); }

/* 原型设置面板（仅原型） */
.proto-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 6px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); color: var(--text); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-float); }
.proto-toggle:hover { border-color: var(--border-strong); }
.proto-panel { position: absolute; left: 0; bottom: calc(100% + 12px); width: 340px; max-height: calc(100vh - 120px); overflow: auto; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); box-shadow: var(--shadow-float); transform-origin: bottom left; animation: pop-in var(--dur) var(--ease-out); }
.proto-panel h2 { font-size: 16px; font-weight: 700; }
.proto-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.proto-group { margin: 0 0 14px; padding: 0; border: 0; }
.proto-group legend { margin-bottom: 8px; padding: 0; font-size: 13px; font-weight: 600; color: var(--text-2); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-pill); font-size: 13px; cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-soft-text); font-weight: 600; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.proto-note { font-size: 12px; color: var(--text-2); }

/* 搜索与分类 */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 48px; }
.page-title { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.page-sub { margin-top: 6px; font-size: 14px; color: var(--text-2); }
.inline-search { display: flex; gap: 8px; width: 460px; }
.inline-search .search-field > .icon { left: 14px; }
.inline-search .input { padding-left: 42px; }
.filter-row { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 14px; color: var(--text-2); }
.cat-banner { position: relative; height: 300px; overflow: hidden; background: #0d0f14; color: var(--on-image); }
.cat-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(9 11 16 / 0.82) 0%, rgb(9 11 16 / 0.4) 55%, rgb(9 11 16 / 0.15) 100%); }
.cat-banner .container { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; height: 100%; padding-bottom: 76px; }
.cat-banner .page-title { font-size: 44px; color: var(--on-image); }
.cat-banner .page-sub { color: var(--on-image-2); }
.results-wrap { position: relative; z-index: 2; }
.has-banner .results-wrap { margin-top: -44px; padding: 28px 28px 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--bg); }
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.has-banner .results { margin-top: 0; }
.event-row { position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 20px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); transition: border-color var(--dur-fast) var(--ease-out); }
.event-row:hover { border-color: var(--border-strong); }
.event-row:hover h2 { color: var(--brand-text); }
.event-row-img { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-control); background: var(--surface-2); }
.event-row-img img { width: 100%; height: 100%; object-fit: cover; }
.event-row-body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-top: 2px; }
.event-row-body > h2, .event-row-body > .meta { align-self: stretch; }
.event-row h2 { display: -webkit-box; margin-top: 0; overflow: hidden; font-size: 19px; font-weight: 800; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; transition: color var(--dur-fast) var(--ease-out); }
.meta { display: grid; gap: 6px; margin-top: 10px; font-size: 14px; color: var(--text-2); }
.meta li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.meta li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; align-self: stretch; margin-top: auto; padding-top: 12px; }
.event-row a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-card); }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 36px; }
.pager .page-num { min-width: 40px; min-height: 40px; padding: 0 8px; border: 1px solid transparent; border-radius: var(--radius-control); background: none; font-weight: 600; }
.pager .page-num[aria-current="page"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-soft-text); }
.pager .page-num:hover:not([aria-current]) { background: var(--surface-2); }
.results-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 320px; padding: 40px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); text-align: center; }
.results-empty .icon { width: 36px; height: 36px; color: var(--text-2); stroke-width: 1.5; }
.results-empty strong { font-size: 17px; }

/* 演出详情 */
.event-hero { position: relative; overflow: hidden; background: #0d0f14; color: var(--on-image); }
.event-hero-bg { position: absolute; inset: 0; }
.event-hero-bg img { position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; filter: blur(48px) saturate(1.3); }
.event-hero-bg::after { content: ""; position: absolute; inset: 0; background: var(--image-scrim); }
.event-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 272px; align-items: center; gap: 72px; min-height: 420px; padding: 56px 0; }
.chip-on-image { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: var(--radius-pill); background: rgb(255 255 255 / 0.16); color: var(--on-image); font-size: 13px; font-weight: 600; }
.event-hero h1 { margin: 0 0 24px; font-size: 46px; font-weight: 800; letter-spacing: -0.02em; color: var(--on-image); }
.hero-tags { margin-top: 24px; }
.hero-meta { display: grid; gap: 12px; font-size: 16px; color: var(--on-image-2); }
.hero-meta li { display: flex; align-items: flex-start; gap: 12px; }
.hero-meta .icon { margin-top: 2px; color: var(--on-image); }
.hero-meta small { display: block; font-size: 14px; color: var(--on-image-2); }
.hero-poster { width: 272px; aspect-ratio: 4 / 5; border-radius: var(--radius-card); object-fit: cover; box-shadow: 0 28px 56px -20px rgb(0 0 0 / 0.7); }
.event-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; padding-top: 32px; }
.tablist { display: flex; gap: 36px; border-bottom: 1px solid var(--border); }
.tab { position: relative; min-height: 56px; padding: 0; border: 0; background: none; color: var(--text-2); font-size: 17px; font-weight: 700; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); }
.tab:focus-visible { outline-offset: -4px; border-radius: 6px; }
.tabpanel { padding-top: 24px; }
.local-note { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 14px; color: var(--text-2); }
.stop { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.stop + .stop { margin-top: 16px; }
.stop-head { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 20px; width: 100%; padding: 18px 20px; border: 0; border-radius: var(--radius-card); background: none; text-align: left; }
.stop-head:hover .stop-toggle { text-decoration: underline; }
.date-block { display: grid; place-content: center; width: 72px; height: 72px; border-radius: 10px; background: var(--surface-2); text-align: center; line-height: 1.2; }
.date-block small { font-size: 13px; font-weight: 600; color: var(--text-2); }
.date-block strong { font-size: 20px; font-weight: 800; }
.stop-city { display: block; font-size: 19px; font-weight: 800; }
.stop-venue { display: block; margin-top: 2px; font-size: 14px; color: var(--text-2); }
.stop-toggle { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-text); font-size: 15px; font-weight: 700; }
.stop-toggle .icon { transition: transform var(--dur) var(--ease-out); }
.stop-head[aria-expanded="true"] .stop-toggle .icon { transform: rotate(180deg); }
.session-list { padding: 0 20px 8px; }
.session-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 12px 0; border-top: 1px solid var(--border); }
.session-when { font-size: 16px; font-weight: 700; }
.session-when span { margin-left: 10px; color: var(--text-2); font-weight: 500; }
.stop-empty, .panel-empty { padding: 28px 20px; color: var(--text-2); font-size: 15px; text-align: center; }
.panel-empty { border: 1px dashed var(--border-strong); border-radius: var(--radius-card); }
.prose { max-width: 68ch; font-size: 16px; line-height: 1.85; }
.prose p + p { margin-top: 1em; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; }
.aside-card h2 { margin-bottom: 16px; font-size: 18px; font-weight: 800; }
.assure-list { display: grid; gap: 18px; }
.assure-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
.assure-list .assurance-icon { width: 36px; height: 36px; }
.assure-list h3 { font-size: 15px; font-weight: 700; }
.assure-list p { margin-top: 2px; font-size: 13px; line-height: 1.6; color: var(--text-2); }

/* 选票 */
.tk-top { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--border); }
.tk-top-inner { display: flex; align-items: center; gap: 16px; height: 80px; }
.tk-back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px 0 8px; border-radius: var(--radius-control); color: var(--text-2); font-size: 14px; font-weight: 600; }
.tk-back:hover { background: var(--surface-2); color: var(--text); }
.tk-thumb { width: 44px; height: 55px; border-radius: var(--radius-sm); object-fit: cover; }
.tk-title { min-width: 0; }
.tk-title h1 { overflow: hidden; font-size: 18px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.tk-title p { font-size: 13px; color: var(--text-2); }
.tk-controls { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.tk-controls .select { width: 300px; }
.qty-btn { min-width: 112px; }
.tk-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0 0; }
.tk-grades { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tk-grades > span { margin-right: 4px; font-size: 14px; font-weight: 700; }
.tk-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.tk-sort .select { width: 180px; min-height: 40px; }
.tk-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(420px, 1fr); gap: 24px; align-items: start; padding: 16px 0 72px; }
.map-panel { position: sticky; top: 96px; display: flex; flex-direction: column; height: calc(100vh - 112px); min-height: 560px; max-height: 820px; overflow: hidden; }
.map-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.map-head h2 { font-size: 16px; font-weight: 800; }
.map-tools { display: flex; align-items: center; gap: 4px; }
.switch { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 8px; font-size: 13px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--border-strong); transition: background-color var(--dur-fast); }
.switch .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform var(--dur) var(--ease-out); }
.switch input:checked + .track { background: var(--brand); }
.switch input:checked + .track::after { transform: translateX(14px); }
.switch input:focus-visible + .track { outline: 2px solid var(--focus); outline-offset: 2px; }
.map-viewport { position: relative; flex: 1; overflow: hidden; background: var(--surface); cursor: grab; touch-action: none; }
.map-viewport.is-dragging { cursor: grabbing; }
.map-viewport svg { width: 100%; height: 100%; transform-origin: 50% 50%; transition: transform var(--dur) var(--ease-out); }
.map-viewport.is-dragging svg { transition: none; }
.region { fill: var(--map-empty); stroke: var(--map-stroke); stroke-width: 1.5; transition: fill var(--dur-fast), opacity var(--dur-fast), stroke-width var(--dur-fast); }
.region.has-offers { fill: color-mix(in srgb, var(--tier) 34%, var(--surface)); stroke: var(--tier); cursor: pointer; }
.region.has-offers:hover, .region.is-hot { fill: color-mix(in srgb, var(--tier) 62%, var(--surface)); stroke-width: 3; }
.region.is-selected { fill: var(--tier); stroke: var(--text); stroke-width: 3; }
.region.is-dim { opacity: 0.32; }
.region:focus-visible { outline: none; stroke: var(--focus); stroke-width: 4; }
.region-label { fill: var(--text); font-size: 15px; font-weight: 700; pointer-events: none; text-anchor: middle; dominant-baseline: middle; }
.region-price { fill: var(--text-2); font-size: 11px; font-weight: 700; pointer-events: none; text-anchor: middle; dominant-baseline: middle; }
.region-label.on-selected, .region.is-selected ~ .region-label, .region.is-selected ~ .region-price { fill: #fff; }
.map-labels-off .region-label, .map-labels-off .region-price { display: none; }
.stage-shape { fill: var(--stage); }
.stage-label { fill: var(--on-stage); font-size: 16px; font-weight: 700; text-anchor: middle; dominant-baseline: middle; letter-spacing: 0.2em; }
.map-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--surface); box-shadow: var(--shadow-float); }
.map-zoom .icon-btn { width: 36px; height: 36px; }
.map-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.map-selected { color: var(--text); font-weight: 600; }
.offers-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 12px; }
.offers-head h2 { font-size: 18px; font-weight: 800; }
.offers-head p { font-size: 14px; color: var(--text-2); }
.offer-list { display: grid; gap: 12px; }
/* 票根：底板单独加切口遮罩，按钮本身不加遮罩，焦点环不会被裁掉。 */
.stub { --stub-w: 168px; --notch: 9px; position: relative; isolation: isolate; }
.stub::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid var(--stub-border, var(--border)); border-radius: var(--radius-card); background: var(--stub-bg, var(--surface)); -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub-w)) 0, #0000 97%, #000 100%), radial-gradient(circle var(--notch) at calc(100% - var(--stub-w)) 100%, #0000 97%, #000 100%); -webkit-mask-composite: source-in; mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub-w)) 0, #0000 97%, #000 100%), radial-gradient(circle var(--notch) at calc(100% - var(--stub-w)) 100%, #0000 97%, #000 100%); mask-composite: intersect; transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.stub-line { position: absolute; top: 16px; bottom: 16px; right: var(--stub-w); border-left: 1.5px dashed color-mix(in srgb, var(--border-strong) 70%, transparent); }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) var(--stub-w); width: 100%; min-height: 120px; padding: 0; border: 0; border-radius: var(--radius-card); background: transparent; color: var(--text); text-align: left; }
.offer:hover { --stub-border: var(--border-strong); }
.offer.is-hot { --stub-border: var(--offer-color); }
.offer[aria-pressed="true"] { --stub-border: var(--brand); --stub-bg: color-mix(in srgb, var(--brand-soft) 70%, var(--surface)); }
.offer-main { display: grid; align-content: center; gap: 8px; padding: 18px 20px; }
.offer-grade { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; }
.offer-grade .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--offer-color); flex: none; }
.offer-pos { font-size: 14px; color: var(--text-2); }
.offer-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.offer-price { display: grid; align-content: center; justify-items: end; gap: 2px; padding: 18px 20px 18px 16px; }
.offer-price strong { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.offer-price small { font-size: 13px; color: var(--text-2); }
.select-bar { position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 14px 16px 14px 20px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-float); animation: pop-in var(--dur) var(--ease-out); }
.select-bar p { min-width: 0; font-size: 14px; color: var(--text-2); }
.select-bar strong { display: block; color: var(--text); font-size: 15px; }
.offers-empty { display: grid; justify-items: center; gap: 10px; padding: 40px 20px; color: var(--text-2); text-align: center; }

/* 对话框 */
dialog.modal { width: min(460px, calc(100vw - 48px)); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--surface); color: var(--text); box-shadow: var(--shadow-float); }
dialog.modal[open] { animation: pop-in var(--dur) var(--ease-out); }
dialog.modal::backdrop { background: rgb(8 10 15 / 0.56); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 8px; }
.modal-head h2 { font-size: 19px; font-weight: 800; }
.modal-body { padding: 8px 24px 4px; }
.modal-body p { color: var(--text-2); }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 20px 24px 24px; }
.qty-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 8px 0 18px; }
.qty-opt { min-height: 56px; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--surface); font-size: 18px; font-weight: 800; }
.qty-opt:hover { border-color: var(--border-strong); }
.qty-opt[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }

/* 确认订单 */
.flow-head { padding-top: 32px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.back-link:hover { color: var(--text); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; margin-top: 20px; }
.panel { padding: 24px; }
.panel + .panel { margin-top: 20px; }
.panel-title { margin-bottom: 16px; font-size: 18px; font-weight: 800; }
.item-head { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.item-head img { width: 76px; height: 95px; border-radius: var(--radius-control); object-fit: cover; }
.item-head h2 { font-size: 20px; font-weight: 800; }
.item-head p { margin-top: 4px; font-size: 14px; color: var(--text-2); }
.kv { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px 16px; margin-top: 20px; font-size: 15px; }
.kv dt { color: var(--text-2); }
.kv dd { font-weight: 600; }
.radio-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.radio-card { position: relative; display: grid; gap: 4px; min-height: 84px; padding: 16px 18px; border: 1px solid var(--border-strong); border-radius: var(--radius-card); background: var(--surface); cursor: pointer; transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.radio-card:hover { border-color: var(--text-2); }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card strong { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.radio-card small { font-size: 13px; color: var(--text-2); }
.radio-card .check-mark { position: absolute; top: 12px; right: 12px; display: none; color: var(--brand-text); }
.radio-card:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand-soft) 55%, var(--surface)); box-shadow: inset 0 0 0 1px var(--brand); }
.radio-card:has(input:checked) .check-mark { display: block; }
.radio-card:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.radio-card:has(input:disabled) { cursor: not-allowed; opacity: 0.55; }
.delivery-detail { margin-top: 16px; padding: 16px 18px; border-radius: var(--radius-card); background: var(--surface-2); }
.delivery-detail .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.delivery-detail p { font-size: 14px; color: var(--text-2); }
.delivery-detail strong { font-size: 15px; }
.inline-alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--radius-control); font-size: 14px; }
.inline-alert.warning { background: var(--warning-soft); color: var(--warning); }
.inline-alert.info { background: var(--brand-soft); color: var(--brand-soft-text); }
.inline-alert.success { background: var(--success-soft); color: var(--success); }
.inline-alert.danger { background: var(--danger-soft); color: var(--danger); }
.pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pay-opt { position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-card); cursor: pointer; transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.pay-opt:hover { border-color: var(--text-2); }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand-soft) 55%, var(--surface)); box-shadow: inset 0 0 0 1px var(--brand); }
.pay-opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.pay-opt .radio { width: 18px; height: 18px; flex: none; border: 1.5px solid var(--border-strong); border-radius: 50%; }
.pay-opt:has(input:checked) .radio { border: 5px solid var(--brand); }
.pay-opt.wide { grid-column: 1 / -1; }
.pay-logos { display: flex; gap: 6px; margin-left: auto; }
.pay-logos span, .pay-logo { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 30px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.pay-logos span.dark, .pay-logo.dark { background: #000; border-color: #000; }
.pay-logos img, .pay-logo img { width: 32px; height: 22px; object-fit: contain; }
.pay-name { font-size: 15px; font-weight: 600; }
.summary { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; }
.sum-rows { display: grid; gap: 12px; font-size: 15px; }
.sum-rows div { display: flex; justify-content: space-between; gap: 16px; }
.sum-rows dt { color: var(--text-2); }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.sum-total span { font-size: 15px; font-weight: 700; }
.sum-total strong { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.sum-ref { margin-top: 4px; font-size: 13px; color: var(--text-2); text-align: right; }
.sum-note { display: flex; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--text-2); }

/* 用户中心与订单 */
.account-grid { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 40px; }
.side-nav { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px 12px; }
.side-nav h2 { padding: 0 12px 12px; font-size: 18px; font-weight: 800; }
.side-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: var(--radius-control); color: var(--text-2); font-size: 15px; font-weight: 600; }
.side-nav a:hover { background: var(--surface-2); color: var(--text); }
.side-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-soft-text); }
.content-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.content-head h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; }
.order-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.order-tab { position: relative; display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; }
.order-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); }
.order-toolbar .select { width: 180px; min-height: 40px; margin-bottom: 6px; border-color: var(--border); }
.order-list { display: grid; gap: 16px; }
/* 订单卡的票根切口在抬头与正文的分界线两端。 */
.order-card { --cut: 57px; position: relative; isolation: isolate; }
.order-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); -webkit-mask: radial-gradient(circle 9px at 0 var(--cut), #0000 97%, #000 100%), radial-gradient(circle 9px at 100% var(--cut), #0000 97%, #000 100%); -webkit-mask-composite: source-in; mask: radial-gradient(circle 9px at 0 var(--cut), #0000 97%, #000 100%), radial-gradient(circle 9px at 100% var(--cut), #0000 97%, #000 100%); mask-composite: intersect; }
.order-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 57px; padding: 0 24px; font-size: 14px; color: var(--text-2); }
.order-top .left { display: flex; align-items: center; gap: 16px; }
.order-no { display: inline-flex; align-items: center; gap: 4px; color: var(--text); font-weight: 700; }
.order-no .icon-btn { width: 32px; height: 32px; }
.order-top .right { display: flex; align-items: center; gap: 12px; }
.countdown { color: var(--warning); font-weight: 700; }
.tear { margin: 0 16px; border-top: 1.5px dashed color-mix(in srgb, var(--border-strong) 70%, transparent); }
.order-body { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 24px 22px; }
.order-body img { width: 72px; height: 90px; border-radius: var(--radius-control); object-fit: cover; }
.order-body h2 { font-size: 18px; font-weight: 800; }
.order-body .meta { margin-top: 6px; gap: 4px; }
.order-line { margin-top: 10px; font-size: 14px; }
.order-line b { font-weight: 700; }
.order-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.order-side { display: grid; justify-items: end; gap: 12px; min-width: 200px; }
.order-amount { text-align: right; }
.order-amount small { display: block; font-size: 13px; color: var(--text-2); }
.order-amount strong { font-size: 22px; font-weight: 800; }
.order-actions { display: flex; gap: 8px; }
.status-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; }
.status-main { display: flex; align-items: center; gap: 18px; }
.status-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; }
.status-icon .icon { width: 26px; height: 26px; }
.status-icon.warning { background: var(--warning-soft); color: var(--warning); }
.status-icon.info { background: var(--brand-soft); color: var(--brand-soft-text); }
.status-icon.success { background: var(--success-soft); color: var(--success); }
.status-icon.neutral { background: var(--neutral-soft); color: var(--text-2); }
.status-main h2 { font-size: 24px; font-weight: 800; }
.status-main p { margin-top: 2px; font-size: 14px; color: var(--text-2); }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.detail-grid .panel + .panel { margin-top: 0; }
.detail-grid .span-2 { grid-column: 1 / -1; }
.kv.wide { grid-template-columns: 120px minmax(0, 1fr); margin-top: 0; }
.login-gate { display: grid; justify-items: center; gap: 16px; padding: 72px 24px; text-align: center; }
.login-gate .icon { width: 40px; height: 40px; color: var(--text-2); stroke-width: 1.5; }
.login-gate h2 { font-size: 20px; font-weight: 800; }
.settings-list { display: grid; }
.settings-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 72px; padding: 14px 0; border-top: 1px solid var(--border); }
.settings-row:first-child { border-top: 0; }
.settings-row dt { color: var(--text-2); }
.settings-row dd { font-size: 16px; font-weight: 700; }
.settings-row dd.settings-action { font-size: 15px; font-weight: 400; }
.settings-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--text-2); }
.address-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.address-card { display: grid; gap: 8px; padding: 20px 22px; }
.address-card.is-default { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.address-name { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; }
.address-name span { font-weight: 500; color: var(--text-2); font-size: 14px; }
.address-line { font-size: 14px; line-height: 1.7; color: var(--text-2); }
.address-actions { display: flex; gap: 4px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
dialog.modal.wide { width: min(640px, calc(100vw - 48px)); }

/* 登录 */
.login-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 72px; align-items: center; min-height: calc(100vh - var(--header-h)); padding: 48px 0 64px; }
.poster-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-height: 760px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 86%, transparent 100%); }
.poster-wall img { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-card); object-fit: cover; }
.poster-wall > div { display: grid; gap: 20px; }
.poster-wall > div:nth-child(2) { transform: translateY(48px); }
.login-card { padding: 40px; box-shadow: var(--shadow-raise); border: 0; }
.login-card h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.login-form { display: grid; gap: 18px; margin-top: 28px; }
.phone-row { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 8px; }
.code-row { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 8px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 28px 0 16px; font-size: 13px; color: var(--text-2); }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--border); }
.other-methods { display: grid; gap: 10px; }
.other-methods .btn { justify-content: flex-start; }
.other-methods .btn .tag { margin-left: auto; }
.captcha-stage { display: grid; place-items: center; height: 220px; margin: 8px 0 16px; border-radius: var(--radius-card); background: var(--surface-2); }
.captcha-img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--surface); }
.range { width: 100%; accent-color: var(--brand); }

.toast { position: fixed; left: 50%; top: calc(var(--header-h) + 16px); z-index: 90; display: flex; align-items: center; gap: 10px; max-width: 560px; padding: 12px 18px; border-radius: var(--radius-control); background: var(--text); color: var(--surface); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-float); transform: translateX(-50%); animation: toast-in var(--dur) var(--ease-out); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -6px); } }

/* 状态视图只隐藏不属于当前状态的块，各块保留自身的 display。 */
body[data-page-state="ready"] [data-state-view]:not([data-state-view~="ready"]),
body[data-page-state="loading"] [data-state-view]:not([data-state-view~="loading"]),
body[data-page-state="empty"] [data-state-view]:not([data-state-view~="empty"]),
body[data-page-state="error"] [data-state-view]:not([data-state-view~="error"]),
body[data-page-state="notfound"] [data-state-view]:not([data-state-view~="notfound"]),
body[data-page-state="expired"] [data-state-view]:not([data-state-view~="expired"]) { display: none; }
body[data-auth="in"] [data-auth-view="out"],
body[data-auth="out"] [data-auth-view="in"] { display: none; }

/* 原型面板页面导航 */
.proto-legend { margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.proto-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; }
.proto-pages a { display: flex; align-items: center; min-height: 32px; padding: 0 8px; border-radius: var(--radius-sm); font-size: 13px; color: var(--text); }
.proto-pages a:hover { background: var(--surface-2); }
.proto-pages a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-soft-text); font-weight: 600; }
.is-shot .to-top { display: none; }

/* 补充组件 */
.btn-danger { background: var(--danger); color: #ffffff; }
.btn-danger:hover:not(:disabled) { background: color-mix(in srgb, var(--danger) 86%, #000000); }
[data-theme="night"] .btn-danger { color: #1f0b09; }
[data-theme="night"] .btn-danger:hover:not(:disabled) { background: color-mix(in srgb, var(--danger) 86%, #ffffff); }
.page-indicator { min-width: 64px; font-size: 14px; font-weight: 600; color: var(--text-2); text-align: center; }
.sk-row { height: 194px; }
.sk-panel { height: 220px; }
.sk-panel + .sk-panel { margin-top: 20px; }
.sk-panel.tall { height: 420px; }
.sk-order { height: 196px; }
.banner-empty { display: grid; place-items: center; height: 440px; background: var(--surface-2); color: var(--text-2); font-size: 16px; }
.result-page { display: grid; place-items: center; min-height: 480px; padding: 64px 0; }
.result-block { display: grid; justify-items: center; gap: 14px; max-width: 460px; text-align: center; }
.result-block > .icon { width: 44px; height: 44px; color: var(--text-2); stroke-width: 1.5; }
.result-block h1, .result-block h2 { font-size: 24px; font-weight: 800; }
.result-block p { color: var(--text-2); }
.panel-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-title-row .panel-title { margin-bottom: 0; }
.panel-title-row + .delivery-detail { margin-top: 0; }
.meetup-fields { margin-top: 14px; }
.sum-rows dd { text-align: right; }
.sum-rows .ref { display: block; font-size: 12px; color: var(--text-2); }
.summary .inline-alert { margin-top: 16px; }
.submit-order { margin-top: 20px; }
.address-pick { display: grid; gap: 10px; }
.address-pick .radio-card { padding-right: 44px; }
.address-pick .tag { margin-left: 2px; }
.add-address-link { margin-top: 10px; }
.account-content { min-width: 0; }
.status-actions { display: flex; align-items: center; gap: 16px; }
.detail-kv { grid-template-columns: 96px minmax(0, 1fr) 96px minmax(0, 1fr); }
.info-kv dd { display: flex; align-items: center; gap: 8px; }
.panel-lead { margin-bottom: 8px; }
.row-actions { display: flex; gap: 8px; }
.email-form { display: grid; gap: 16px; max-width: 560px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.narrow-form { max-width: 600px; }
.narrow-form .login-form { margin-top: 0; }
.login-head { display: grid; justify-items: start; gap: 12px; }
.login-head .back-link { margin-left: -2px; }
.region-label.muted { fill: var(--text-2); font-weight: 600; }
.load-more { margin-top: 16px; }
.field-error + .field-error { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .skeleton { animation: none; }
}

/* 原型工具条：配色切换与原型设置（仅原型评审，不随配色换肤）。 */
.proto-dock { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 14px; background: #121418; color: #f3f4f6; font-family: var(--font-sans); font-size: 13px; line-height: 1.2; box-shadow: 0 16px 36px -12px rgb(0 0 0 / 0.55), 0 2px 6px rgb(0 0 0 / 0.2); }
.dock-home { display: inline-flex; align-items: center; min-height: 36px; padding: 0 8px 0 10px; border-radius: 10px; color: #b4bac6; font-weight: 600; }
.dock-home:hover { color: #fff; text-decoration: underline; }
.dock-mods-btn, .dock-mods-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--brand); color: var(--on-brand); font-size: 13px; font-weight: 700; white-space: nowrap; transition: background-color var(--dur-fast) var(--ease-out); }
.dock-mods-btn:hover, .dock-mods-link:hover { background: var(--brand-hover); }
.mods-panel { width: 460px; max-height: min(76vh, 660px); overflow-y: auto; }
.mods-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.mods-preset-label { font-size: 12px; font-weight: 700; color: var(--text-2); width: 100%; }
.mods-preset-btn { min-height: 30px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--text); font-size: 12px; font-weight: 600; }
.mods-preset-btn:hover { border-color: var(--text); }
.mods-preset-btn[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.mods-list { display: grid; gap: 6px; margin: 12px 0; }
.mods-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); }
.mods-check { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; cursor: pointer; font-size: 13px; color: var(--text); }
.mods-check input { width: 16px; height: 16px; accent-color: var(--brand); flex: none; }
.mods-code { display: inline-grid; place-items: center; min-width: 28px; height: 20px; padding: 0 5px; border-radius: 5px; background: var(--surface); color: var(--text); font-size: 11px; font-weight: 800; }
.mods-name { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mods-ref { color: var(--text-2); font-size: 11px; white-space: nowrap; margin-left: auto; }
.mods-order { display: flex; gap: 4px; flex: none; }
.mods-move { width: 26px; height: 26px; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface); color: var(--text); font-size: 12px; font-weight: 700; }
.mods-move:hover { border-color: var(--text); background: var(--surface-3); }
.dock-themes { display: flex; align-items: center; gap: 2px; padding: 0 4px; border-left: 1px solid rgb(255 255 255 / 0.12); }
.dock-theme { display: inline-grid; place-items: center; width: 28px; height: 34px; padding: 0; border: 0; border-radius: 9px; background: none; }
.dock-swatch { width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(from 225deg, var(--sw-a) 0 50%, var(--sw-b) 0 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.34); transition: box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.dock-theme:hover .dock-swatch { transform: scale(1.1); }
.dock-theme[aria-pressed="true"] .dock-swatch { box-shadow: 0 0 0 2px #121418, 0 0 0 4px #ffffff; }
.dock-theme:focus-visible { outline-offset: -2px; }
.dock-theme-label { min-width: 4.5em; padding: 0 6px 0 6px; color: #dde0e6; font-weight: 600; white-space: nowrap; }
.proto-dock .proto-toggle { min-height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: rgb(255 255 255 / 0.12); color: #ffffff; font-size: 13px; font-weight: 600; box-shadow: none; }
.proto-dock .proto-toggle:hover, .proto-dock .proto-toggle[aria-expanded="true"] { background: rgb(255 255 255 / 0.2); }
.dock-collapse { display: inline-grid; place-items: center; width: 30px; height: 36px; border: 0; border-radius: 10px; background: none; color: #b4bac6; }
.dock-collapse:hover { background: rgb(255 255 255 / 0.09); color: #fff; }
.dock-collapse .icon { transition: transform var(--dur) var(--ease-out); }
.proto-dock.is-collapsed .dock-home, .proto-dock.is-collapsed .dock-mods-btn, .proto-dock.is-collapsed .dock-mods-link, .proto-dock.is-collapsed .dock-theme:not([aria-pressed="true"]), .proto-dock.is-collapsed .dock-theme-label, .proto-dock.is-collapsed .proto-toggle { display: none; }
.proto-dock.is-collapsed .dock-themes { border-left: 0; }
.proto-dock.is-collapsed .dock-collapse .icon { transform: rotate(180deg); }
.proto-dock :focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
.proto-dock .proto-panel :focus-visible { outline-color: var(--focus); }
.proto-dock .proto-panel { left: 0; bottom: calc(100% + 10px); font-size: 15px; line-height: 1.6; }
.is-shot .proto-dock { display: none; }
