:root {
    --seat-red: #a50918;
    --seat-deep: #58070e;
    --seat-ink: #261b18;
    --seat-muted: #76645d;
    --seat-paper: #f6f0e7;
    --seat-card: #fffaf3;
    --seat-line: rgba(88, 7, 14, .17);
    --seat-shadow: 0 18px 45px rgba(71, 31, 20, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--seat-ink); background: var(--seat-paper); font-family: "Microsoft YaHei", "PingFang SC", sans-serif; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .35; background-image: radial-gradient(rgba(80, 35, 22, .15) .55px, transparent .7px); background-size: 5px 5px; mix-blend-mode: multiply; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
[hidden] { display: none !important; }

.seat-topbar { position: relative; z-index: 3; width: min(1220px, calc(100% - 48px)); min-height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--seat-line); }
.seat-wordmark { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.seat-wordmark span { color: var(--seat-red); font-family: Georgia, serif; font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.seat-wordmark strong { font-size: 18px; }
.seat-topbar nav { display: flex; align-items: center; gap: 25px; font-size: 13px; color: var(--seat-muted); }
.seat-topbar nav a { transition: color .2s ease; }
.seat-topbar nav a:hover { color: var(--seat-red); }
.seat-shell { position: relative; z-index: 1; width: min(1180px, calc(100% - 48px)); min-height: 68vh; margin: 48px auto 80px; }
.seat-notice { position: sticky; z-index: 10; top: 12px; margin: 0 0 20px; padding: 13px 16px; border: 1px solid rgba(32, 101, 61, .3); border-radius: 6px; background: #f4fbf3; color: #286238; box-shadow: var(--seat-shadow); font-size: 14px; }
.seat-notice.is-error { border-color: rgba(165, 9, 24, .35); background: #fff0ed; color: var(--seat-red); }

.seat-hero { min-height: 260px; overflow: hidden; border: 1px solid var(--seat-line); background: var(--seat-card); box-shadow: var(--seat-shadow); }
.seat-hero-copy { padding: clamp(46px, 7vw, 82px); }
.seat-hero-copy > p, .seat-page-heading > p { margin: 0 0 16px; color: var(--seat-red); font-family: Georgia, serif; font-size: 13px; font-weight: 700; letter-spacing: .18em; }
.seat-hero-copy > span { display: block; max-width: 640px; margin: 0; color: var(--seat-muted); font-size: 15px; line-height: 1.9; }
.seat-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.seat-primary, .seat-secondary { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 23px; border: 1px solid var(--seat-red); border-radius: 3px; font-size: 14px; font-weight: 700; }
.seat-primary { border: 0; background: var(--seat-red); color: #fff; }
.seat-primary:hover { background: var(--seat-deep); }
.seat-secondary { background: transparent; color: var(--seat-red); }
.seat-hero-mark { position: relative; min-height: 100%; display: grid; place-items: center; overflow: hidden; color: #fff; background: var(--seat-red); }
.seat-hero-mark::before, .seat-hero-mark::after { content: ""; position: absolute; width: 320px; height: 320px; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; }
.seat-hero-mark::after { width: 220px; height: 220px; }
.seat-hero-mark strong { z-index: 1; font-family: "Songti SC", serif; font-size: 104px; font-weight: 400; }
.seat-hero-mark small { position: absolute; top: 28px; left: 30px; letter-spacing: .25em; }
.seat-hero-mark span { position: absolute; right: 28px; bottom: 25px; font-family: Georgia, serif; letter-spacing: .16em; }

.seat-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--seat-line); border-top: 0; background: rgba(255,250,243,.78); }
.seat-stats article { min-height: 112px; display: flex; flex-direction: column; justify-content: center; padding: 24px 30px; border-right: 1px solid var(--seat-line); }
.seat-stats article:last-child { border-right: 0; }
.seat-stats strong { color: var(--seat-red); font-family: Georgia, serif; font-size: 34px; font-weight: 500; }
.seat-stats span { margin-top: 5px; color: var(--seat-muted); font-size: 12px; }
.seat-entry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 42px; }
.seat-entry-grid > a { min-height: 242px; padding: 28px; border: 1px solid var(--seat-line); background: rgba(255,250,243,.72); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.seat-entry-grid > a:hover { transform: translateY(-3px); border-color: rgba(165,9,24,.45); box-shadow: var(--seat-shadow); }
.seat-entry-grid span { color: var(--seat-red); font-family: Georgia, serif; font-size: 12px; }
.seat-entry-grid h2 { margin: 35px 0 12px; font-family: "Songti SC", serif; font-size: 23px; }
.seat-entry-grid p { min-height: 48px; color: var(--seat-muted); font-size: 13px; line-height: 1.75; }
.seat-entry-grid b { display: block; margin-top: 25px; color: var(--seat-red); font-size: 12px; }

.seat-page-heading { position: relative; margin-bottom: 34px; padding: 0 0 30px; border-bottom: 1px solid var(--seat-line); }
.seat-page-heading h1 { max-width: 850px; margin: 0 0 14px; font-family: Georgia, "Songti SC", serif; font-size: clamp(38px, 6vw, 64px); font-weight: 500; line-height: 1.15; }
.seat-page-heading > span { display: block; max-width: 700px; color: var(--seat-muted); font-size: 14px; line-height: 1.8; }
.seat-page-heading > .seat-primary { position: absolute; right: 0; bottom: 30px; }

.seat-form { display: grid; gap: 18px; }
.seat-form fieldset, .seat-compact-form, .seat-admin-form { margin: 0; padding: 30px; border: 1px solid var(--seat-line); background: var(--seat-card); box-shadow: 0 10px 25px rgba(71,31,20,.04); }
.seat-form legend { padding: 0 12px 0 0; color: var(--seat-red); font-family: Georgia, serif; font-size: 15px; font-weight: 700; letter-spacing: .08em; }
.seat-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.seat-form label, .seat-filter label { display: grid; gap: 9px; color: #55443e; font-size: 13px; font-weight: 700; }
.seat-form input:not([type="checkbox"]), .seat-form select, .seat-form textarea, .seat-filter input:not([type="checkbox"]), .seat-filter select { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid rgba(77,52,44,.2); border-radius: 2px; outline: 0; background: #fffdf9; color: var(--seat-ink); }
.seat-form textarea { resize: vertical; }
.seat-form input:focus, .seat-form select:focus, .seat-form textarea:focus, .seat-filter input:focus, .seat-filter select:focus { border-color: var(--seat-red); box-shadow: 0 0 0 3px rgba(165,9,24,.07); }
.seat-form small { color: var(--seat-muted); font-size: 11px; font-weight: 400; line-height: 1.6; }
.seat-wide { grid-column: 1 / -1; }
.seat-check, .seat-check-grid label, .seat-agree { display: flex !important; grid-auto-flow: column; justify-content: start; align-items: center; gap: 9px !important; }
.seat-check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 22px; }
.seat-choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.seat-choice-grid label { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 11px; border: 1px solid var(--seat-line); border-radius: 2px; background: #fffdf9; font-weight: 400; }
.seat-multi-select { position: relative; }
.seat-multi-select summary { min-height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; border: 1px solid rgba(77,52,44,.2); background: #fffdf9; color: var(--seat-ink); font-weight: 400; cursor: pointer; list-style: none; }
.seat-multi-select summary::-webkit-details-marker { display: none; }
.seat-multi-select summary::after { content: "⌄"; color: var(--seat-red); }
.seat-multi-select[open] .seat-choice-grid { position: absolute; z-index: 8; top: calc(100% + 4px); left: 0; right: 0; max-height: 260px; overflow-y: auto; padding: 10px; border: 1px solid var(--seat-line); background: #fffdf9; box-shadow: var(--seat-shadow); }
.seat-agree { color: var(--seat-muted) !important; font-size: 13px !important; font-weight: 400 !important; }
.seat-agree a { color: var(--seat-red); text-decoration: underline; }
.seat-submit-button { width: 190px; min-height: 52px; }
.seat-primary:disabled { opacity: .55; cursor: wait; }
.seat-compact-form { width: min(680px, 100%); gap: 20px; }

.seat-filter { display: grid; grid-template-columns: 1.05fr 1.05fr .8fr .8fr auto; align-items: end; gap: 12px; margin-bottom: 24px; padding: 18px; border: 1px solid var(--seat-line); background: rgba(255,250,243,.75); }
.seat-filter button { min-height: 46px; padding: 0 28px; border: 0; border-radius: 2px; background: var(--seat-red); color: white; font-weight: 700; }
.seat-filter .seat-multi-select summary { min-height: 42px; padding: 8px 11px; font-size: 12px; line-height: 1.35; }
.seat-filter .seat-multi-select[open] .seat-choice-grid { max-height: 220px; padding: 8px; }
.seat-filter .seat-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.seat-filter .seat-choice-grid label { min-height: 30px; padding: 5px 7px; font-size: 12px; line-height: 1.25; }
.seat-choice-grid input[type="checkbox"] { flex: 0 0 auto; width: 14px; height: 14px; margin: 0; accent-color: var(--seat-red); }
.seat-pool-gate { display: grid; justify-items: start; gap: 16px; margin-bottom: 24px; padding: 24px; border: 1px solid var(--seat-line); background: var(--seat-card); box-shadow: var(--seat-shadow); }
.seat-pool-gate p { margin: 0; color: var(--seat-muted); line-height: 1.8; }
.seat-map-panel { margin: 0 0 24px; padding: 20px; border: 1px solid var(--seat-line); background: #fffdf9; box-shadow: var(--seat-shadow); }
.seat-map-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.seat-map-toolbar p { margin: 0 0 4px; color: var(--seat-red); font-family: Georgia, serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.seat-map-toolbar h2 { margin: 0; font-family: "Songti SC", serif; font-size: 22px; }
.seat-map-toolbar span { display: block; margin-top: 5px; color: var(--seat-muted); font-size: 12px; }
.seat-map-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.seat-map-actions button { min-height: 36px; padding: 0 12px; border: 1px solid var(--seat-line); background: #fff; color: var(--seat-red); font-weight: 700; }
.seat-map-canvas { overflow: hidden; border: 1px solid #e2d9cf; border-radius: 8px; background: #f9f7f3; }
.seat-map-canvas svg { display: block; width: 100%; max-height: 680px; touch-action: manipulation; }
.seat-map-bg { fill: #f7f5f1; stroke: #e7e0d7; stroke-width: 2; }
.seat-map-stage { fill: #555c63; }
.seat-map-stage-label { fill: #fff; font-size: 21px; font-weight: 700; }
.seat-map-control { fill: #fff; stroke: #7d858c; stroke-width: 1.5; }
.seat-map-control-label { fill: #596168; font-size: 12px; }
.seat-map-direction { fill: #5f646a; font-size: 13px; }
.seat-map-region { cursor: pointer; outline: none; }
.seat-map-region > rect, .seat-map-region > path { stroke: #fff; stroke-width: 2.4; transition: opacity .15s, stroke .15s, stroke-width .15s, filter .15s; }
.seat-map-region:hover > rect, .seat-map-region:hover > path, .seat-map-region:focus > rect, .seat-map-region:focus > path { stroke: #54101a; stroke-width: 4; filter: drop-shadow(0 2px 3px rgba(52,18,21,.28)); }
.seat-map-region.is-selected > rect, .seat-map-region.is-selected > path { stroke: #111827; stroke-width: 6; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.seat-map-region.is-selected .seat-map-region-label { font-weight: 900; text-decoration: underline; }
.seat-map-region.is-unconfigured { cursor: not-allowed; opacity: .3; }
.seat-map-region.is-readonly { cursor: default; opacity: .24; }
.seat-map-region.is-readonly:hover > rect, .seat-map-region.is-readonly:hover > path { stroke: #fff; stroke-width: 2.4; filter: none; }
.seat-map-region-label { pointer-events: none; fill: #17191c; font-size: 10px; font-weight: 700; paint-order: stroke; stroke: rgba(255,255,255,.85); stroke-width: 2px; stroke-linejoin: round; }
.seat-map-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; color: var(--seat-muted); font-size: 12px; }
.seat-map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.seat-map-legend i { width: 14px; height: 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 3px; background: var(--seat-map-color); }
.seat-map-summary { margin: 12px 0 0; color: var(--seat-muted); font-size: 12px; line-height: 1.7; }
.seat-map-detail { margin-top: 16px; padding: 16px; border: 1px solid var(--seat-line); border-radius: 8px; background: #fffaf3; }
.seat-map-detail-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.seat-map-detail-head p { margin: 0 0 4px; color: var(--seat-red); font-family: Georgia, serif; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.seat-map-detail-head h3 { margin: 0; font-family: "Songti SC", serif; font-size: 20px; }
.seat-map-detail-head span { display: block; margin-top: 5px; color: var(--seat-muted); font-size: 12px; line-height: 1.6; }
.seat-map-detail-head strong { flex: 0 0 auto; color: var(--seat-red); font-family: Georgia, serif; font-size: 20px; font-weight: 700; }
.seat-map-seat-grid-wrap { display: grid; grid-template-columns: 46px minmax(0,1fr); max-height: 360px; overflow: auto; border: 1px solid #e2d9cf; border-radius: 6px; background: #fffdf9; }
.seat-map-row-labels { display: grid; align-content: start; gap: 3px; position: sticky; left: 0; z-index: 1; padding: 8px 6px; background: #fffdf9; border-right: 1px solid #e2d9cf; }
.seat-map-row-labels span { display: grid; height: 22px; place-items: center; color: var(--seat-muted); font-size: 10px; white-space: nowrap; }
.seat-map-seat-grid { display: grid; grid-template-columns: repeat(var(--seat-map-seat-columns), 24px); gap: 3px; align-content: start; padding: 8px; }
.seat-map-seat-grid button { display: grid; width: 24px; height: 22px; place-items: center; padding: 0; border: 1px solid rgba(88,7,14,.14); border-radius: 3px; background: #fff; color: #4f443f; font-size: 9px; line-height: 1; }
.seat-map-seat-grid button:hover, .seat-map-seat-grid button:focus { border-color: var(--seat-red); color: var(--seat-red); outline: 0; box-shadow: 0 0 0 2px rgba(165,9,24,.08); }
.seat-map-seat-grid button.is-selected { border-color: #111827; background: #111827; color: #fff; font-weight: 900; }
.seat-map-detail-note { margin: 10px 0 0; color: var(--seat-muted); font-size: 12px; line-height: 1.7; }
.seat-map-panel.is-expanded { position: fixed; z-index: 50; inset: 12px; margin: 0; overflow: auto; }
.seat-map-panel.is-expanded .seat-map-canvas svg { width: min(1100px, 100%); max-height: none; margin: auto; }
body.seat-map-open { overflow: hidden; }
.seat-price-fixed { background: #f2eee8 !important; color: #5d554f !important; }
.seat-pool-layout { display: grid; grid-template-columns: minmax(280px,.82fr) minmax(0,1.45fr); gap: 18px; align-items: start; }
.seat-recommend-panel, .seat-public-panel { min-width: 0; }
.seat-pool-title { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 0 0 14px; border-bottom: 1px solid var(--seat-line); padding-bottom: 10px; }
.seat-pool-title p { margin: 0; color: var(--seat-red); font-family: Georgia, serif; font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.seat-pool-title h2 { margin: 0; font-family: "Songti SC", serif; font-size: 22px; }
.seat-list { display: grid; gap: 13px; }
.seat-list-card { display: grid; grid-template-columns: minmax(140px,.45fr) minmax(0,1.55fr) auto; align-items: center; gap: 25px; min-height: 138px; padding: 25px 28px; border: 1px solid var(--seat-line); background: var(--seat-card); }
.seat-list-card:hover { border-color: rgba(165,9,24,.4); }
.seat-list-card.is-map-target { border-color: #111827; box-shadow: 0 0 0 3px rgba(17,24,39,.12); }
.seat-list-seat strong { display: block; color: var(--seat-red); font-family: Georgia, "Songti SC", serif; font-size: 28px; font-weight: 500; }
.seat-list-seat span, .seat-list-copy p, .seat-list-meta { color: var(--seat-muted); font-size: 12px; line-height: 1.7; }
.seat-list-copy h2 { margin: 0 0 8px; font-family: "Songti SC", serif; font-size: 20px; }
.seat-list-copy p { margin: 0; }
.seat-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.seat-tags span, .seat-status { display: inline-flex; padding: 5px 8px; border: 1px solid rgba(165,9,24,.18); background: #fff3ef; color: var(--seat-red); font-size: 11px; }
.seat-list-action { min-width: 98px; text-align: right; color: var(--seat-red); font-size: 13px; font-weight: 700; }
.seat-empty { margin: 0; padding: 48px 24px; border: 1px dashed var(--seat-line); color: var(--seat-muted); text-align: center; }

.seat-detail { padding: clamp(25px, 5vw, 54px); border: 1px solid var(--seat-line); background: var(--seat-card); box-shadow: var(--seat-shadow); }
.seat-detail-head { display: flex; justify-content: space-between; gap: 22px; padding-bottom: 25px; border-bottom: 1px solid var(--seat-line); }
.seat-detail-head h2 { margin: 0 0 7px; font-family: Georgia, "Songti SC", serif; font-size: 38px; font-weight: 500; }
.seat-detail-head p { margin: 0; color: var(--seat-muted); }
.seat-detail-price { color: var(--seat-red); font-family: Georgia, serif; font-size: 34px; white-space: nowrap; }
.seat-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 28px 0; background: var(--seat-line); border: 1px solid var(--seat-line); }
.seat-detail-grid div { min-height: 90px; padding: 18px; background: #fffdf9; }
.seat-detail-grid span { display: block; margin-bottom: 8px; color: var(--seat-muted); font-size: 11px; }
.seat-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.seat-contact-box { margin-top: 18px; padding: 18px; border-left: 3px solid var(--seat-red); background: #fff3ef; }
.seat-report { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--seat-line); }
.seat-text-button { padding: 0; border: 0; background: none; color: var(--seat-muted); font-size: 12px; text-decoration: underline; }

.seat-rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.seat-rules article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; min-height: 170px; padding: 28px; border: 1px solid var(--seat-line); background: var(--seat-card); }
.seat-rules article:last-child { grid-column: 1 / -1; }
.seat-rules article > span { color: var(--seat-red); font-family: Georgia, serif; }
.seat-rules h2 { margin: 0 0 12px; font-family: "Songti SC", serif; font-size: 21px; }
.seat-rules p { margin: 0; color: var(--seat-muted); font-size: 13px; line-height: 1.85; }

.seat-admin-gate { padding: 22px; border: 1px solid var(--seat-line); background: var(--seat-card); }
.seat-admin-tabs { display: flex; gap: 8px; margin: 28px 0 18px; border-bottom: 1px solid var(--seat-line); }
.seat-admin-tabs button { padding: 12px 18px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--seat-muted); }
.seat-admin-tabs button.is-active { border-bottom-color: var(--seat-red); color: var(--seat-red); font-weight: 700; }
.seat-admin-export { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0; padding: 16px; border: 1px solid var(--seat-line); background: rgba(255,250,243,.75); }
.seat-admin-export p { margin: 0 auto 0 0; color: var(--seat-red); font-family: Georgia, serif; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.seat-admin-export button { min-height: 38px; padding: 0 14px; border: 1px solid var(--seat-red); background: #fff; color: var(--seat-red); font-weight: 700; }
.seat-admin-export button:disabled { opacity: .55; cursor: wait; }
.seat-listing-import form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: 100%; }
.seat-listing-import label { flex: 1 1 240px; margin: 0; color: var(--seat-muted); font-size: 12px; font-weight: 700; }
.seat-listing-import input { margin-top: 6px; }
.seat-listing-import small, .seat-listing-import span { flex: 1 1 100%; color: var(--seat-muted); font-size: 12px; line-height: 1.65; }
.seat-admin-form { margin-bottom: 20px; }
.seat-admin-form h2 { margin-top: 0; }
.seat-listing-create { margin-top: 20px; padding: 16px 18px; border-color: #c5d0d7; box-shadow: none; }
.seat-listing-create h2 { margin-bottom: 12px; font-size: 18px; }
.seat-listing-create .seat-form-grid { gap: 10px 14px; }
.seat-listing-create label { font-size: 12px; }
.seat-listing-create input, .seat-listing-create select { min-height: 34px; padding: 7px 9px; }
.seat-listing-create textarea { min-height: 52px; }
.seat-listing-create button { min-height: 36px; padding: 0 18px; }
.seat-review-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.seat-review-actions button { padding: 7px 11px; border: 1px solid var(--seat-red); background: white; color: var(--seat-red); }
.seat-review-actions button[data-action="approve"] { background: var(--seat-red); color: white; }
.seat-review-actions button.is-danger { border-color: #671019; background: #671019; color: white; }
.seat-admin-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px 18px; margin: 16px 0 0; }
.seat-admin-details div { min-width: 0; }
.seat-admin-details .is-wide { grid-column: 1/-1; }
.seat-admin-details dt { color: var(--seat-muted); font-size: 11px; }
.seat-admin-details dd { margin: 3px 0 0; overflow-wrap: anywhere; font-size: 13px; }
.seat-admin-evidence { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.seat-admin-evidence button { padding: 7px 10px; border: 1px solid var(--seat-line); background: #fff; color: var(--seat-red); }
.seat-admin-evidence-note, .seat-import-result { margin-top: 12px; color: var(--seat-muted); font-size: 12px; }
.seat-form-error{margin:14px 0 0;padding:12px 14px;border:1px solid rgba(184,27,42,.28);background:rgba(184,27,42,.06);color:var(--seat-red);font-size:14px;line-height:1.6}
.seat-list-side { display: grid; justify-items: end; gap: 12px; }
.seat-withdraw-button { color: var(--seat-red); }
.seat-edit-button { color: var(--seat-red); }
.seat-status-group { display: grid; gap: 12px; }
.seat-status-group + .seat-status-group { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--seat-line); }
.seat-status-group > h2 { margin: 0; color: var(--seat-red); font-family: Georgia, "Songti SC", serif; font-size: 18px; font-weight: 500; }
.seat-edit-form { margin-bottom: 24px; }
.seat-edit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.seat-admin-subtabs { display: flex; gap: 8px; margin: 0 0 16px; }
.seat-admin-subtabs button { min-height: 38px; padding: 0 16px; border: 1px solid var(--seat-line); background: var(--seat-card); color: var(--seat-muted); }
.seat-admin-subtabs button.is-active { border-color: var(--seat-red); background: var(--seat-red); color: #fff; font-weight: 700; }
.seat-match-details { grid-template-columns: repeat(2,minmax(0,1fr)); }
.seat-match-user-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 18px; margin: 16px 0 0; }
.seat-match-user-details dt { color: var(--seat-muted); font-size: 11px; }
.seat-match-user-details dd { margin: 3px 0 0; overflow-wrap: anywhere; font-size: 13px; }
.seat-config-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.seat-config-grid .seat-admin-form { margin-bottom: 0; }
.seat-config-grid .seat-form-grid { grid-template-columns: 1fr; gap: 14px; }
.seat-config-lists { display: grid; gap: 28px; margin-top: 28px; }
.seat-config-lists h2 { margin: 0 0 12px; color: var(--seat-red); font-family: Georgia, "Songti SC", serif; font-size: 20px; font-weight: 500; }
.seat-config-card .seat-admin-details { grid-template-columns: repeat(3,minmax(0,1fr)); }
.seat-zone-import { margin-top: 18px; }
.seat-sheet { margin-top: 22px; border: 1px solid #b7c4ce; background: #fff; box-shadow: 0 4px 14px rgba(42,54,63,.08); }
.seat-sheet-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; padding: 12px; border-bottom: 1px solid #b7c4ce; background: #eef3f7; }
.seat-sheet-toolbar label { display: grid; gap: 5px; color: var(--seat-muted); font-size: 11px; font-weight: 700; }
.seat-sheet-toolbar input, .seat-sheet-toolbar select { min-height: 34px; min-width: 120px; padding: 0 9px; border: 1px solid #aab8c2; background: #fff; color: var(--seat-ink); }
.seat-sheet-toolbar .seat-sheet-search { flex: 1 1 220px; }
.seat-sheet-toolbar .seat-sheet-search input { width: 100%; }
.seat-sheet-toolbar button { min-height: 34px; padding: 0 11px; border: 1px solid #7e929f; background: #fff; color: #304652; font-weight: 700; }
.seat-sheet-toolbar button.seat-primary { border-color: var(--seat-red); background: var(--seat-red); color: #fff; }
.seat-sheet-toolbar button.seat-primary:hover { background: var(--seat-deep); color: #fff; }
.seat-sheet-scroll { overflow-x: auto; }
.seat-sheet-table { width: 100%; min-width: 1120px; border-collapse: collapse; font-size: 12px; color: #263740; }
.seat-sheet-table th { position: sticky; top: 0; z-index: 1; padding: 0; border-right: 1px solid #c6d0d7; border-bottom: 1px solid #8fa2ae; background: #dfe9ef; color: #314752; font-size: 11px; text-align: left; white-space: nowrap; }
.seat-sheet-table td { padding: 0; border-right: 1px solid #d3dce2; border-bottom: 1px solid #d3dce2; vertical-align: middle; }
.seat-sheet-table tbody tr:nth-child(even) { background: #f8fbfc; }
.seat-sheet-table tbody tr:hover { background: #eaf4fb; }
.seat-sheet-table input, .seat-sheet-table select { width: 100%; min-width: 70px; min-height: 34px; padding: 0 7px; border: 1px solid transparent; border-radius: 0; background: transparent; color: var(--seat-ink); }
.seat-sheet-table input:focus, .seat-sheet-table select:focus { border-color: #4c9bd2; outline: 1px solid #4c9bd2; background: #fff; }
.seat-sheet-table .sheet-sort { display: block; width: 100%; min-height: 36px; padding: 0 8px; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.seat-sheet-table .sheet-sort:hover { background: #cbdde8; }
.seat-sheet-table .sheet-check { width: 38px; min-width: 38px; padding: 0 8px; text-align: center; }
.seat-sheet-table .sheet-check input { min-width: 16px; width: 16px; }
.seat-sheet-table .sheet-scene, .seat-sheet-table .sheet-zone { min-width: 120px; white-space: nowrap; }
.seat-sheet-table .sheet-note { min-width: 180px; }
.seat-sheet-table .sheet-save { margin: 0 7px; padding: 6px 9px; border: 1px solid #217346; background: #fff; color: #217346; white-space: nowrap; }
.seat-sheet-table .sheet-save:disabled { opacity: .5; cursor: wait; }
.seat-sheet-table .sheet-fixed-price { display: block; min-width: 82px; padding: 9px 7px; color: #40545f; font-weight: 700; white-space: nowrap; }
.seat-intensity-tag { display: inline-flex; align-items: center; margin: 5px 7px; padding: 4px 8px; border-radius: 999px; background: #f1ecff; color: #6245a8; font-weight: 700; white-space: nowrap; }
.seat-sheet-empty { padding: 30px 16px; color: var(--seat-muted); text-align: center; }
.seat-sheet-pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid #b7c4ce; background: #f7fafc; color: #40545f; font-size: 12px; }
.seat-sheet-pager div { display: flex; gap: 8px; }
.seat-sheet-pager button { min-height: 30px; padding: 0 10px; border: 1px solid #9aabb6; background: #fff; color: #304652; font-weight: 700; }
.seat-sheet-pager button:disabled { opacity: .45; cursor: not-allowed; }

@media (max-width: 900px) {
    .seat-topbar { width: min(100% - 32px, 1220px); align-items: flex-start; padding: 22px 0; }
    .seat-topbar nav { max-width: 460px; justify-content: flex-end; flex-wrap: wrap; gap: 12px 20px; }
    .seat-shell { width: min(100% - 32px, 1180px); margin-top: 32px; }
    .seat-hero-copy { padding: 48px; }
    .seat-entry-grid { grid-template-columns: repeat(2, 1fr); }
    .seat-choice-grid { grid-template-columns: repeat(3, 1fr); }
    .seat-config-grid { grid-template-columns: 1fr; }
    .seat-filter, .seat-pool-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .seat-topbar { display: block; min-height: 0; }
    .seat-wordmark { justify-content: space-between; }
    .seat-wordmark span { font-size: 10px; }
    .seat-wordmark strong { font-size: 16px; }
    .seat-topbar nav { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); max-width: none; gap: 0; border: 1px solid var(--seat-line); }
    .seat-topbar nav a { padding: 10px 6px; border-right: 1px solid var(--seat-line); border-bottom: 1px solid var(--seat-line); font-size: 11px; text-align: center; }
    .seat-shell { width: min(100% - 24px, 1180px); margin: 24px auto 50px; }
    .seat-hero { min-height: 0; }
    .seat-hero-copy { padding: 35px 25px 40px; }
    .seat-hero-copy > span { font-size: 13px; }
    .seat-stats { grid-template-columns: repeat(2, 1fr); border-top: 0; }
    .seat-stats article { min-height: 94px; padding: 18px; border-bottom: 1px solid var(--seat-line); }
    .seat-stats article:nth-child(2) { border-right: 0; }
    .seat-stats strong { font-size: 27px; }
    .seat-entry-grid { grid-template-columns: 1fr; margin-top: 24px; }
    .seat-entry-grid > a { min-height: 180px; }
    .seat-entry-grid h2 { margin-top: 22px; }
    .seat-entry-grid p { min-height: 0; }
    .seat-page-heading { margin-bottom: 22px; padding-bottom: 22px; }
    .seat-page-heading h1 { font-size: 38px; }
    .seat-page-heading > .seat-primary { position: static; margin-top: 18px; }
    .seat-form fieldset, .seat-compact-form, .seat-admin-form { padding: 22px 18px; }
    .seat-form-grid, .seat-check-grid { grid-template-columns: 1fr; gap: 15px; }
    .seat-choice-grid { grid-template-columns: repeat(2, 1fr); }
    .seat-filter { grid-template-columns: 1fr; }
    .seat-map-panel { padding: 12px; }
    .seat-map-toolbar { display: grid; align-items: start; }
    .seat-map-canvas { overflow-x: auto; }
    .seat-map-canvas svg { min-width: 620px; }
    .seat-map-panel.is-expanded { inset: 0; padding: 10px; }
    .seat-map-panel.is-expanded .seat-map-canvas svg { min-width: 760px; }
    .seat-list-card { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
    .seat-pool-layout .seat-list { gap: 7px; }
    .seat-pool-layout .seat-list-card { grid-template-columns: minmax(72px,.32fr) minmax(0,1fr) auto; gap: 8px; min-height: 76px; padding: 9px 10px; align-items: center; }
    .seat-pool-layout .seat-list-seat strong { font-size: 18px; line-height: 1.1; }
    .seat-pool-layout .seat-list-seat span { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 10px; line-height: 1.3; }
    .seat-pool-layout .seat-list-copy h2 { margin-bottom: 3px; font-size: 15px; line-height: 1.25; }
    .seat-pool-layout .seat-list-copy p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 1; -webkit-box-orient: vertical; font-size: 11px; line-height: 1.35; }
    .seat-pool-layout .seat-tags { gap: 4px; margin-top: 5px; }
    .seat-pool-layout .seat-tags span { padding: 2px 5px; font-size: 10px; line-height: 1.2; }
    .seat-pool-layout .seat-list-action { min-width: 52px; font-size: 12px; text-align: right; }
    .seat-list-action { text-align: left; }
    .seat-pool-layout .seat-list-action { text-align: right; }
    .seat-list-side { justify-items: start; }
    .seat-admin-details { grid-template-columns: 1fr; }
    .seat-admin-details .is-wide { grid-column: auto; }
    .seat-detail { padding: 23px 18px; }
    .seat-detail-head { display: block; }
    .seat-detail-price { display: block; margin-top: 15px; }
    .seat-detail-grid { grid-template-columns: repeat(2, 1fr); }
    .seat-rules { grid-template-columns: 1fr; }
    .seat-rules article:last-child { grid-column: auto; }
    .seat-rules article { grid-template-columns: 34px 1fr; padding: 22px; }
    .seat-admin-tabs { overflow-x: auto; }
    .seat-admin-tabs button { white-space: nowrap; }
    .seat-config-card .seat-admin-details { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
    .seat-wordmark span { display: none; }
    .seat-topbar nav { grid-template-columns: repeat(2, 1fr); }
    .seat-choice-grid, .seat-detail-grid { grid-template-columns: 1fr; }
    .seat-hero-actions > * { width: 100%; }
}
.seat-dialog-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:20px;background:rgba(15,23,42,.45)}
.seat-dialog{width:min(520px,100%);padding:24px;background:#fff;border:1px solid #dbe3ed;box-shadow:0 18px 50px rgba(15,23,42,.2)}
.seat-evidence-dialog{display:flex;width:min(760px,100%);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);flex-direction:column;gap:14px;overflow:hidden}
.seat-evidence-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.seat-evidence-dialog-heading h2{margin:0}
.seat-evidence-dialog-heading button{flex:0 0 auto}
.seat-evidence-dialog [data-evidence-preview-status]{margin:0;color:var(--seat-muted)}
.seat-evidence-dialog [data-evidence-preview-status].is-error{color:var(--seat-red)}
.seat-evidence-image{display:block;max-width:100%;max-height:calc(100vh - 160px);max-height:calc(100dvh - 160px);margin:auto;object-fit:contain;background:#f6f8fb}
.seat-evidence-image[hidden]{display:none}
