:root {
  --ink: #eaf5ee;
  --muted: #95aaa4;
  --deep: #071a18;
  --panel: #0d2723;
  --panel-2: #12332d;
  --line: rgba(211, 238, 226, .14);
  --cream: #f4efdf;
  --orange: #ff6b4a;
  --orange-dark: #df4e31;
  --mint: #73d7b0;
  --danger: #ff9580;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: radial-gradient(circle at 78% 0%, #174a3f 0, transparent 35%), var(--deep); font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 32px 32px; }
button, input { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 56px; position: relative; }
.masthead { display: flex; align-items: center; gap: 16px; padding: 0 4px 28px; }
.masthead h1 { margin: 2px 0 0; font-size: clamp(1.65rem, 3vw, 2.3rem); letter-spacing: -.03em; }
.eyebrow { color: var(--mint); font-size: .75rem; font-weight: 800; letter-spacing: .18em; margin: 0; }
.brand-mark { width: 54px; height: 54px; border: 1px solid var(--line); border-radius: 16px; position: relative; background: rgba(255,255,255,.04); }
.brand-mark::before { content: ""; position: absolute; width: 19px; height: 19px; border-radius: 50%; background: var(--cream); top: 9px; right: 8px; }
.brand-mark span { position: absolute; width: 9px; height: 31px; border-radius: 9px; background: var(--orange); transform: rotate(41deg); left: 18px; top: 19px; }
.live { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(115,215,176,.12); }
.workspace { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.signup-panel { padding: clamp(28px, 5vw, 56px); background: rgba(13,39,35,.92); min-height: 620px; }
.status-panel { padding: clamp(28px, 4vw, 42px); background: rgba(7,26,24,.88); border-left: 1px solid var(--line); }
.step-heading { display: flex; align-items: flex-start; gap: 17px; margin-bottom: 25px; }
.step-heading > span { color: var(--orange); font-weight: 900; font-size: .8rem; padding-top: 6px; }
.step-heading h2, .status-heading h2 { font-size: 1.45rem; margin: 0 0 4px; }
.step-heading p { color: var(--muted); margin: 0; font-size: .91rem; }
.name-control { position: relative; margin-left: 39px; }
.name-control label { display: block; color: var(--muted); font-size: .84rem; margin-bottom: 8px; }
.name-control input { width: 100%; height: 58px; border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; color: var(--ink); background: rgba(255,255,255,.045); outline: none; font-size: 1.08rem; transition: .2s; }
.name-control input:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(115,215,176,.1); }
.hint { color: var(--muted); font-size: .8rem; margin: 9px 2px 0; }
.suggestions { position: absolute; z-index: 5; top: 88px; left: 0; right: 0; padding: 7px; border: 1px solid var(--line); border-radius: 14px; background: #15352f; box-shadow: 0 16px 40px rgba(0,0,0,.4); max-height: 248px; overflow-y: auto; }
.suggestion { width: 100%; display: flex; align-items: center; justify-content: space-between; border: 0; padding: 12px; border-radius: 9px; color: var(--ink); background: transparent; text-align: left; }
.suggestion:hover, .suggestion:focus { background: rgba(255,255,255,.08); outline: none; }
.suggestion small { color: var(--muted); }
.identity { margin: 31px 0 0 39px; display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid rgba(115,215,176,.25); border-radius: 15px; background: rgba(115,215,176,.07); }
.identity[hidden] { display: none; }
.avatar { width: 41px; height: 41px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--deep); font-weight: 900; }
.identity strong, .identity span { display: block; }
.identity span { color: var(--muted); font-size: .82rem; margin-top: 2px; }
.text-button { margin-left: auto; border: 0; background: transparent; color: var(--mint); padding: 8px; }
.slot-step { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 31px; }
.slot-step[hidden] { display: none; }
.step-heading.compact { margin-bottom: 20px; }
.slot-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-left: 39px; }
.slot-option { position: relative; border: 1px solid var(--line); border-radius: 15px; padding: 16px; color: var(--ink); background: rgba(255,255,255,.035); text-align: left; transition: transform .16s, border-color .16s, background .16s; }
.slot-option:hover:not(:disabled) { transform: translateY(-2px); border-color: rgba(115,215,176,.55); }
.slot-option.selected { border-color: var(--orange); background: rgba(255,107,74,.1); box-shadow: inset 0 0 0 1px var(--orange); }
.slot-option:disabled { opacity: .45; cursor: not-allowed; }
.slot-option strong, .slot-option span { display: block; }
.slot-option strong { font-size: 1rem; margin-bottom: 5px; }
.slot-option span { color: var(--muted); font-size: .82rem; }
.slot-option b { position: absolute; right: 14px; top: 15px; color: var(--mint); font-size: .8rem; }
.slot-option.full b { color: var(--danger); }
.actions { display: flex; gap: 12px; align-items: center; margin: 25px 0 0 39px; }
.primary-button { min-height: 50px; padding: 0 27px; border: 0; border-radius: 13px; color: #1a1714; background: var(--orange); font-weight: 800; box-shadow: 0 10px 26px rgba(255,107,74,.19); }
.primary-button:hover:not(:disabled) { background: #ff795b; }
.primary-button:disabled { opacity: .38; cursor: not-allowed; }
.danger-button { min-height: 50px; padding: 0 15px; border: 1px solid rgba(255,149,128,.3); border-radius: 13px; color: var(--danger); background: transparent; }
.status-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; }
.status-heading h2 { margin-top: 5px; }
.icon-button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 1.35rem; }
.icon-button:hover { color: var(--ink); border-color: rgba(255,255,255,.3); }
.capacity-board { display: grid; gap: 10px; }
.capacity-card { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.028); }
.capacity-top { display: flex; justify-content: space-between; align-items: baseline; }
.capacity-top strong { font-size: .95rem; }
.capacity-top span { font-size: .8rem; color: var(--muted); }
.capacity-top span b { color: var(--ink); font-size: 1rem; }
.meter { height: 5px; border-radius: 99px; background: rgba(255,255,255,.08); margin: 12px 0 10px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--mint); border-radius: inherit; transition: width .3s; }
.capacity-card.full .meter i { background: var(--orange); }
.names { min-height: 20px; color: var(--muted); font-size: .78rem; line-height: 1.65; }
.board-note { color: var(--muted); font-size: .78rem; text-align: center; margin: 19px 0 0; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); padding: 13px 19px; background: var(--cream); color: var(--deep); border-radius: 12px; font-weight: 700; box-shadow: 0 15px 35px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: .2s; z-index: 10; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #ffd8cf; color: #631f13; }
.password-step { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 31px; }
.password-step[hidden] { display: none; }
.password-control { margin-left: 39px; }
.password-control label { display: block; color: var(--muted); font-size: .84rem; margin-bottom: 8px; }
.password-row { display: flex; gap: 10px; }
.password-row input { min-width: 0; flex: 1; height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.05); color: var(--ink); outline: none; }
.password-row input:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(115,215,176,.1); }
.confirm-row { margin-top: 10px; padding-right: 88px; }
.password-error { min-height: 20px; margin-top: 11px; color: var(--danger); font-size: .84rem; text-align: center; }
.cancelled-panel { margin-top: 18px; padding: 15px 17px; border: 1px dashed rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.025); }
.cancelled-panel p { margin: 0 0 7px; color: var(--muted); font-size: .78rem; letter-spacing: .08em; }
.cancelled-panel div { color: rgba(245,239,223,.72); font-size: .86rem; line-height: 1.65; overflow-wrap: anywhere; white-space: pre-line; }
@media (max-width: 820px) { .workspace { grid-template-columns: 1fr; } .status-panel { border-left: 0; border-top: 1px solid var(--line); } .signup-panel { min-height: auto; } }
@media (max-width: 520px) { .shell { width: min(100% - 22px, 1180px); padding-top: 18px; } .masthead { padding-bottom: 18px; } .live span { display: none; } .workspace { border-radius: 20px; } .signup-panel, .status-panel { padding: 24px 18px; } .name-control, .identity, .slot-picker, .actions, .password-control { margin-left: 0; } .slot-picker { grid-template-columns: 1fr; } .actions { align-items: stretch; flex-direction: column; } .actions button { width: 100%; } .password-row { align-items: stretch; flex-direction: column; } .password-row button { width: 100%; } .confirm-row { padding-right: 0; } }
