*{box-sizing:border-box}
body{margin:0;background:var(--club-paper);color:var(--club-ink);font:16px/1.55 system-ui,"Microsoft YaHei",sans-serif}
main{max-width:1060px;margin:auto;padding:36px 24px 72px}
h1,h2,h3,h4,p{margin:0} h1,h2,h3{font-family:"Songti SC",SimSun,Georgia,serif} h1{font-size:clamp(2.2rem,5vw,3.6rem)} h2{font-size:1.8rem} h3{font-size:1.45rem} h4{font-size:1.1rem}
.heading,.section-title,.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.heading,.section-title{justify-content:space-between}.heading p,#seat-stats,#schedule-note,#plan-note{color:var(--club-muted)} .section-title{margin:18px 0}
.panel{padding:22px;background:#fffcf5;border:1px solid var(--club-rule);border-radius:8px;min-width:0;margin:12px 0}
label{display:grid;gap:4px;margin:10px 0;font-size:.9rem;font-weight:600}input,select,textarea,button{font:inherit;color:inherit}input,select,textarea{border:1px solid #ada89c;border-radius:4px;padding:8px 10px;background:white;width:100%;min-width:0}
textarea,pre{font: .9rem/1.5 ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere} button{cursor:pointer;border:1px solid #b0aa98;background:#fffdf6;border-radius:5px;padding:8px 13px;font-weight:600;min-height:42px}button:hover,button[aria-pressed=true]{background:#efe9d8}button.primary{color:white;background:#823d30;border-color:#823d30}button:disabled{opacity:.55;cursor:default}
.columns{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2.1fr);gap:16px}.columns .panel{margin:0}
.actions,#controls>h4,#controls>p,#history,#matches{margin:10px 0}
#notice:not(:empty),#feedback:not(:empty){padding:9px 12px;background:#f1ebdd;border-left:3px solid var(--club-brass);white-space:pre-wrap;overflow-wrap:anywhere}
#seat-list{display:grid;gap:5px;margin:10px 0}#seat-list button{display:flex;justify-content:space-between;gap:8px;text-align:left}#seat-list small{font-weight:400;color:var(--club-muted)}#seat-form{border-top:1px solid var(--club-rule);margin-top:14px;padding-top:14px}summary{cursor:pointer}a{color:#773a2f}
[hidden]{display:none!important}
.formats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#seat-list button{flex-direction:column;gap:2px}
#frozen-list details{margin:.45rem 0}
#frozen-list code{display:block;overflow-wrap:anywhere;margin:.4rem 0}
#add-seat{margin-top:10px;border-top:1px solid var(--club-rule)}
#add-seat summary,#clock-issue summary,#history>summary{min-height:44px;padding:10px 0;color:#704337;font-weight:620}
#feedback:not(:empty){max-height:12rem;overflow:auto}
#seat-form{border:0;padding:0;margin:0}
#picker-label{display:none}
:focus-visible{outline:3px solid #22677a;outline-offset:3px}
.desk-views{display:flex;gap:4px;border-bottom:1px solid var(--club-rule);margin-bottom:12px}
.desk-views button{border:0;border-radius:0 0 2px 2px;border-bottom:3px solid transparent;background:transparent;color:var(--club-muted)}
.desk-views button[aria-pressed=true]{color:#823d30;border-bottom-color:#a94436;background:transparent}
@media(min-width:721px){
  .has-event main{max-width:1200px;padding-top:20px}
  .has-event .heading h1{font-size:clamp(1.6rem,2.6vw,2.3rem)}
  .has-event .heading p{font-size:.87rem}
  .has-event .section-title{margin:12px 0 3px}
  .has-event .section-title h2{font-size:1.5rem}
  #seat-list{max-height:52vh;overflow:auto;scrollbar-gutter:stable}
  #seat-list button{padding:5px 12px;min-height:44px}
  #seat-list button[aria-pressed=true]{border-left:4px solid #a94436;color:#512c23}
  #seat-panel .actions{margin:8px 0}
  #reply-form textarea{min-height:150px;height:clamp(150px,22vh,250px)}
}
@media(max-width:720px){main{padding:20px 13px 52px}.columns{grid-template-columns:1fr}.panel{padding:15px}.heading{align-items:flex-start}}
@media(max-width:720px){
  #seat-list{display:none}
  #picker-label:not([hidden]){display:grid}
  #seat-picker,button{min-height:44px}
  #seat-panel{scroll-margin-top:14px}
  .has-event .heading h1{font-size:1.5rem}
  .has-event .heading p{display:none}
  .has-event .section-title{margin:12px 0}
  .has-event .section-title h2{font-size:1.35rem}
  .has-event .columns{gap:10px}
}
