/* base.css — 公共基础样式与通用组件：变量 / reset / 站点头尾 / 按钮 / 表单 / 卡片 / 弹窗 / 徽章等全站所有页面都会加载本文件 */
:root {
  --ink: #111111;
  --paper: #f6f6f1;
  --white: #ffffff;
  --line: #d7d7cf;
  --muted: #6e6e66;
  --coral: #ff6547;
  --coral-strong: #d85321;
  --cyan: #21a8b7;
  --yellow: #f5c84b;
  --green: #247b63;
  --error: #b42318;
  --radius: 6px;
  --shell: min(1180px, calc(100vw - 48px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif; letter-spacing: 0; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.shell { width: var(--shell); margin: 0 auto; }
.section { padding: 112px 0; }
.section-kicker { margin: 0 0 22px; font-size: 12px; line-height: 1; font-weight: 800; letter-spacing: 0; }
h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 0; font-size: clamp(38px, 5.2vw, 72px); line-height: 1.03; font-weight: 800; letter-spacing: 0; }
p { line-height: 1.75; }
.site-header { position: sticky; z-index: 50; top: 0; height: 68px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; background: rgba(246,246,241,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-lockup { width: 184px; height: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 13px; font-weight: 700; }
.site-nav > a:not(.button) { position: relative; }
/* 账号入口（登录 / 姓名）：纯文本，靠颜色与字重突出，不加边框或底色 */
.site-nav > a.nav-account { color: var(--coral-strong); font-weight: 900; font-size: 14px; letter-spacing: .01em; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.site-nav > a.nav-account::after { display: none; }
.site-nav > a.nav-account:hover { color: var(--ink); }
.site-nav > a.nav-account.is-signed-in { color: var(--coral-strong); }
.site-nav > a.nav-account.is-signed-in:hover { color: var(--ink); }
.site-nav > a.nav-account[aria-current="page"] { color: var(--ink); }
.site-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--ink); transition: right .2s ease; }
.site-nav > a:not(.button):hover::after { right: 0; }
.nav-admin { color: var(--muted); }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); }
.button { min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; gap: 22px; font-weight: 800; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 5px 0 rgba(17,17,17,.18); }
.button-small { min-height: 38px; padding: 0 16px; }
.button-dark { color: white; background: var(--ink); }
.button-primary { color: var(--ink); background: var(--yellow); border-color: var(--ink); }
.button-quiet { background: transparent; border-color: var(--line); }
.button-danger { color: white; background: var(--error); border-color: var(--error); }
.button-danger:hover { background: #8f1d14; border-color: #8f1d14; }
.text-link { padding: 0; border: 0; background: transparent; display: inline-flex; align-items: center; gap: 12px; color: white; font-weight: 800; cursor: pointer; }
.text-link span { font-size: 18px; }
.dark-link { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
[hidden] { display: none !important; }
.intro-copy .text-link { margin-top: 8px; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.process-list li { min-height: 112px; display: grid; grid-template-columns: 70px 210px 1fr; align-items: center; border-bottom: 1px solid var(--line); transition: background .18s ease, padding .18s ease; }
.process-list li:hover { padding: 0 18px; background: var(--yellow); }
.process-list li > span { font: 700 12px Consolas, monospace; color: var(--muted); }
.process-list strong { font-size: 24px; }
.process-list p { max-width: 620px; margin: 0; color: var(--muted); }
.theme-section { background: var(--paper); }
.compact-heading { grid-template-columns: 1fr auto; }
.status-chip { padding: 9px 12px; border: 1px solid var(--ink); border-radius: 999px; font: 700 11px Consolas, monospace; }
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.theme-card { min-height: 390px; padding: 28px; border: 1px solid var(--ink); border-radius: var(--radius); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.theme-card:hover { transform: translateY(-7px); box-shadow: 7px 7px 0 var(--ink); }
.theme-card > span { font: 700 11px Consolas, monospace; }
.theme-card h3 { margin: 82px 0 18px; font-size: 31px; line-height: 1.15; }
.theme-card p { margin-bottom: 30px; font-size: 14px; }
.theme-card b { margin-top: auto; font: 800 11px Consolas, monospace; }
.theme-coral { background: var(--coral); }
.theme-cyan { background: var(--cyan); }
.theme-yellow { background: var(--yellow); }
.day-tab.active { color: white; background: var(--ink); border-color: var(--ink); }
.ai-copy > p:not(.section-kicker) { max-width: 660px; margin: 28px 0 36px; color: #bdbdb5; font-size: 16px; }
.tool-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-row span { padding: 9px 11px; border: 1px solid #ffffff44; border-radius: 3px; font: 700 11px Consolas, monospace; }
.apply-intro > p:not(.section-kicker) { margin: 26px 0; }
.status-dot { width: 8px; height: 8px; display: inline-block; margin-right: 8px; border-radius: 50%; background: var(--green); }
#application-form { min-height: 500px; padding: 34px; }
.form-step h3, .form-success h3 { margin-bottom: 8px; font-size: 26px; }
.application-start-step .section-kicker { margin-bottom: 18px; color: var(--coral); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-grid-single { grid-template-columns: minmax(0, 220px); }
.choice-card-selected { cursor: default; }
.team-intent-fieldset { margin-top: 26px !important; }
.team-intent-name { max-width: 380px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 700; }
.choice-card { cursor: pointer; }
.choice-card input { position: absolute; width: auto; opacity: 0; pointer-events: none; }
.choice-card span { min-height: 148px; padding: 16px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); transition: border .15s, background .15s; }
.choice-card input:checked + span { border: 2px solid var(--ink); background: #f0f0ea; }
.choice-card b { margin-bottom: 28px; font: 700 11px Consolas, monospace; }
.choice-card strong { font-size: 14px; }
.choice-card small { margin-top: 7px; color: var(--muted); font-size: 11px; }
.team-code-field { margin-top: 24px; }
.team-code-field > label, form > .form-step > label, .field-grid label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 700; }
.team-code-field small, legend small { margin-left: 5px; color: var(--muted); font-weight: 400; }
input, textarea, select { width: 100%; padding: 13px 14px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 4px; outline: none; }
/* 全局下拉框：去掉系统默认外观，统一高度、内边距和自绘箭头 */
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; text-overflow: ellipsis; }
select:hover { border-color: #b7b7b0; }
select:focus-visible, input:focus-visible, textarea:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 2px var(--yellow); }
select:disabled { color: #8a8a83; background-color: #f2f2ed; cursor: not-allowed; }
select option { color: var(--ink); background: white; font-size: 13px; line-height: 1.6; }
select option:checked { background: #ffec99; color: var(--ink); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.skill-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-grid label { position: relative; }
.skill-grid label input { position: absolute; width: auto; opacity: 0; }
.skill-grid span { display: inline-block; padding: 8px 10px; border: 1px solid var(--line); border-radius: 3px; font: 700 10px Consolas, monospace; cursor: pointer; }
.skill-grid input:checked + span { color: white; background: var(--ink); border-color: var(--ink); }
.consent { display: flex; flex-direction: row !important; align-items: flex-start; gap: 8px; font-weight: 400 !important; line-height: 1.55; }
.consent input { width: 17px; height: 17px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--ink); }
.form-error { min-height: 22px; margin: 16px 0 0; color: var(--error); font-size: 12px; }
.form-success { padding: 56px 38px; }
.success-mark { width: 48px; height: 48px; margin-bottom: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-weight: 900; }
.form-success > p:not(.section-kicker) { max-width: 470px; color: var(--muted); }
.form-success > p strong { color: var(--ink); }
.organizer-note { max-width: 390px; padding-top: 18px; display: grid; grid-template-columns: 58px 1fr; gap: 14px; border-top: 1px solid #ffffff77; }
.organizer-note p { margin: 0; color: #d8eee6; font-size: 12px; line-height: 1.65; }
/* 统一通知与确认弹窗（public/ui.js） */
.ui-toast-host { position: fixed; z-index: 200; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.ui-toast { max-width: min(92vw, 440px); padding: 12px 18px; color: white; background: var(--ink); border-radius: 4px; box-shadow: 4px 4px 0 rgba(17, 17, 17, .16); font-size: 13px; line-height: 1.55; opacity: 0; transform: translateY(14px); transition: opacity .22s ease, transform .22s ease; }
.ui-toast.is-visible { opacity: 1; transform: translateY(0); }
.ui-toast.is-success { background: var(--green); }
.ui-toast.is-error { background: var(--error); }
.ui-dialog { width: min(440px, calc(100vw - 32px)); max-width: calc(100vw - 32px); padding: 0; color: var(--ink); background: white; border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); }
.ui-dialog::backdrop { background: rgba(17, 17, 17, .72); backdrop-filter: blur(3px); }
.ui-dialog-card { padding: 26px 24px 22px; }
.ui-dialog-card .section-kicker { margin-bottom: 10px; color: var(--coral); }
.ui-dialog.is-danger .section-kicker, .ui-dialog.is-error .section-kicker { color: var(--error); }
.ui-dialog-title { margin: 0 0 10px; font-size: 21px; line-height: 1.3; }
.ui-dialog-body { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.ui-dialog-body + .ui-dialog-body { margin-top: 10px; }
.ui-dialog.is-danger .ui-dialog-body, .ui-dialog.is-error .ui-dialog-body { color: #7a3a33; }
.ui-dialog-actions { margin-top: 22px; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
/* 主办方填写的超文本 */
.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text p, .rich-text ul, .rich-text ol { margin: 0 0 8px; }
.rich-text h3, .rich-text h4, .rich-text h5 { margin: 12px 0 6px; color: var(--ink); font-size: 14px; }
.rich-text ul, .rich-text ol { padding-left: 20px; }
.rich-text li { margin-bottom: 4px; }
.rich-text a { color: var(--ink); font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--ink); }
.rich-text a:hover { color: var(--coral-strong); border-color: var(--coral-strong); }
.rich-text code { padding: 1px 5px; background: #f2f2ec; border-radius: 3px; font: 700 12px Consolas, monospace; }

@media (max-width: 520px) {
  .ui-dialog-card { padding: 22px 18px 18px; }
  .ui-dialog-actions { flex-direction: column-reverse; }
  .ui-dialog-actions .button { width: 100%; }
}

/* Participant profile */
.profile-body { min-height: 100vh; background: var(--paper); }
.profile-nav { gap: 22px; }
.profile-shell { padding: 84px 0 120px; }
.profile-login-copy > p:not(.section-kicker) { max-width: 530px; color: var(--muted); font-size: 16px; }
.profile-login-card { padding: 30px; background: white; border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: 9px 9px 0 var(--cyan); }
.profile-card-top { margin-bottom: 38px; font: 700 11px Consolas, monospace; }
.profile-login-card h2 { margin-bottom: 10px; font-size: 31px; }
.profile-login-card > p { color: var(--muted); font-size: 12px; }
.profile-login-card label { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 700; }
.profile-login-card .button { width: 100%; margin-top: 15px; }
.profile-login-card > small { margin-top: 22px; display: block; color: var(--muted); font-size: 11px; }
.profile-login-card > small a { color: var(--ink); border-bottom: 1px solid var(--ink); }
.field-help { color: var(--muted); font-size: 10px; font-weight: 400; }
.profile-error { min-height: 19px; margin: 10px 0 0; color: var(--error); font-size: 11px; }
.profile-header { margin-bottom: 35px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.profile-header h1 { margin: 0 0 13px; font-size: clamp(42px, 5vw, 66px); line-height: 1; }
.profile-header h1 span { color: var(--coral); }
.profile-header p:not(.section-kicker) { margin: 0; color: var(--muted); font-size: 14px; }
.profile-status-icon { width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--ink); background: var(--yellow); font-weight: 900; }
.profile-status-icon.status-waitlist { background: var(--coral); }
.profile-status-icon.status-review { background: var(--yellow); }
.profile-status-id { margin-left: auto; color: var(--yellow); font: 700 11px Consolas, monospace; }
.profile-side-nav button.active { color: var(--ink); background: var(--yellow); }
.profile-panel.active { display: block; }
.profile-panel-heading .text-link { font-size: 11px; }
.profile-entry-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.profile-entry-options label { position: relative; cursor: pointer; }
.profile-entry-options input { position: absolute; width: auto; opacity: 0; }
.profile-entry-options span { display: inline-block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; font-size: 11px; }
.profile-entry-options input:checked + span { color: white; background: var(--ink); border-color: var(--ink); }
.profile-team-code { max-width: 380px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 700; }
.profile-panel .field-grid { gap: 16px; }
.profile-panel .field-grid label, .profile-form-block > label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 700; }
.notice-meta { display: flex; gap: 12px; align-items: center; color: var(--muted); font: 700 10px Consolas, monospace; }
.notice-meta span { color: var(--coral); }
.notice-subtitle { margin: 0 0 8px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-size: 11px; line-height: 1.5; }
.notice-subtitle b { color: var(--muted); font: 700 9px Consolas, monospace; letter-spacing: .04em; text-transform: uppercase; }
.notice-subtitle span { min-width: 0; color: var(--ink); font-weight: 800; overflow-wrap: anywhere; }
.notice-subtitle small { flex: 1 1 100%; color: var(--muted); font-size: 10px; }
.notice-read-pill { margin-left: 8px; padding: 2px 9px; vertical-align: 2px; display: inline-block; border-radius: 999px; font: 700 10px Consolas, monospace; white-space: nowrap; }
.notice-read-pill.is-pending { color: #0b5c73; background: #dff1f7; }
.notice-read-pill.is-done { color: #07583e; background: #d9f2e8; }
.admin-nav button.active { color: var(--ink); background: var(--yellow); font-weight: 800; }
.admin-panel.active { display: block; }
.metric-card, .admin-card { background: white; border: 1px solid #d8d8d1; border-radius: var(--radius); }
.admin-card { min-width: 0; padding: 20px; }
.admin-card-head { margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.admin-card-head h2 { font-size: 16px; }
.admin-card-head a, .admin-card-head button { padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
.outline-button { min-height: 40px; padding: 0 14px; border: 1px solid #c8c8c1; border-radius: 4px; background: white; font-size: 11px; font-weight: 700; cursor: pointer; }
.outline-button.primary { color: white; background: var(--ink); border-color: var(--ink); }
.status-pending { color: #715600; background: #fff2b8; }
.status-waitlist { color: #7e2a1d; background: #ffe1da; }
.empty-state { padding: 48px; text-align: center; color: var(--muted); font-size: 12px; }
.notice-compose .field-help { font-weight: 400; }
.admin-notice-item .notice-meta { justify-content: space-between; }
/* 后台标题：药丸跟在标题后面，标题过长时药丸不换行到下一行中间。 */
.admin-notice-item h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 0; }
.team-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.team-card-admin { padding: 18px; background: white; border: 1px solid #d8d8d1; border-radius: var(--radius); }
.team-card-head { padding-bottom: 14px; display: flex; justify-content: space-between; border-bottom: 1px solid #ededE7; }
.team-card-head strong { font-size: 13px; }
.team-card-head span { font: 700 9px Consolas, monospace; color: var(--muted); }
.team-member-list { margin: 12px 0 0; padding: 0; list-style: none; }
.team-member-list li { padding: 8px 0; display: flex; justify-content: space-between; border-bottom: 1px solid #f0f0eb; font-size: 11px; }
.team-member-list small { color: var(--muted); }
.team-card-admin.unassigned { border-style: dashed; background: transparent; }
.voting-shell { padding: 86px 0 120px; }
.voting-login { min-height: 610px; display: grid; grid-template-columns: 1fr 420px; gap: 100px; align-items: center; }
.voting-login h1, .voting-top h1, .vote-success h1 { margin-bottom: 26px; font-size: clamp(52px, 6vw, 86px); line-height: .96; }
.voting-login > div > p:not(.section-kicker), .voting-top > div > p:not(.section-kicker) { max-width: 600px; color: var(--muted); font-size: 16px; }
.candidate-card { min-height: 146px; padding: 17px; position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; transition: transform .15s, background .15s, border .15s; }
.candidate-card:hover { transform: translateY(-3px); border-color: var(--ink); }
.candidate-card input { position: absolute; opacity: 0; pointer-events: none; }
.candidate-card:has(input:checked) { background: #f0f0ea; border-color: var(--ink); box-shadow: inset 4px 0 0 var(--green); }
.candidate-number { color: var(--muted); font: 700 10px Consolas, monospace; }
.candidate-card strong { margin: 30px 0 7px; font-size: 17px; }
.candidate-card small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.candidate-card em { margin-top: auto; align-self: flex-end; color: var(--muted); font-style: normal; font-size: 10px; }
.candidate-card em b { color: var(--ink); font-size: 15px; }
.accent-coral { border-top: 4px solid var(--coral); }
.accent-cyan { border-top: 4px solid var(--cyan); }
.accent-yellow { border-top: 4px solid var(--yellow); }
.ranking-help { margin: 20px 0 10px; color: var(--muted); font-size: 11px; }
.rank-selects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rank-selects label { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 700; }
.rank-selects label:first-child { color: var(--ink); }
.rank-selects select { padding: 11px 10px; font-size: 11px; }
.vote-success > p:not(.section-kicker) { margin-bottom: 30px; color: var(--muted); }

@media (max-width: 1120px) and (min-width: 961px) {
  .home-header .nav-toggle { display: block; }
  .home-header .site-nav { position: absolute; top: 68px; left: 0; right: 0; padding: 20px 24px 24px; display: none; flex-direction: column; align-items: stretch; gap: 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .home-header .site-nav.open { display: flex; }
  .home-header .nav-admin { margin-top: 8px; }
  .home-header .site-nav .button { width: 100%; }
}

@media (max-width: 960px) {
  :root { --shell: min(100% - 32px, 760px); }
  .section { padding: 82px 0; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; padding: 20px 24px 24px; display: none; flex-direction: column; align-items: stretch; gap: 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .nav-admin { margin-top: 8px; }
  .site-nav .button { width: 100%; }
  .process-list li { grid-template-columns: 50px 160px 1fr; }
  .theme-grid { grid-template-columns: 1fr; }
  .theme-card { min-height: 280px; }
  .theme-card h3 { margin-top: 50px; }
  .voting-login { grid-template-columns: 1fr; gap: 48px; }
  .rank-selects { grid-template-columns: 1fr 1fr 1fr; }
  .team-board { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  .section { padding: 68px 0; }
  .site-header { padding: 0 14px; }
  .brand-lockup { width: 154px; }
  h2 { font-size: 39px; }
  .process-list li { padding: 22px 0; grid-template-columns: 44px 1fr; align-items: start; }
  .process-list li strong { font-size: 19px; }
  .process-list li p { grid-column: 2; margin-top: 8px; font-size: 13px; }
  .process-list li:hover { padding: 22px 10px; }
  .compact-heading { grid-template-columns: 1fr; }
  .status-chip { justify-self: start; }
  .theme-card { min-height: 255px; }
  #application-form { padding: 26px 20px; }
  .choice-grid, .field-grid { grid-template-columns: 1fr; }
  .choice-card span { min-height: 105px; }
  .choice-card b { margin-bottom: 17px; }
  .organizer-list > div { grid-template-columns: 34px 1fr; }
  .organizer-list small { grid-column: 2; margin-top: 4px; }
  .voting-shell { padding-top: 54px; }
  .voting-login { min-height: 0; }
  .voting-login h1 { font-size: 50px; }
  .candidate-card { min-height: 120px; }
  .metrics-grid, .team-board, .vote-summary { grid-template-columns: 1fr; }
  .profile-shell { padding-top: 52px; }
  .profile-nav { display: none; }
  .profile-login-card { padding: 24px 20px; box-shadow: 6px 6px 0 var(--cyan); }
  .profile-header { align-items: flex-start; flex-direction: column; }
  .profile-header h1 { font-size: 42px; }
  .profile-status-id { margin: 5px 0 0 auto; }
  .profile-panel .field-grid { grid-template-columns: 1fr; }
  .organizer-note { grid-template-columns: 44px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .collab-orbit-ring, .collab-core, .collab-partner, .collab-caption { animation: none; opacity: 1; }
  .collab-orbit-ring { transform: translateX(-50%) scale(1); }
  .collab-core { transform: translateX(-50%) scale(1); }
  .collab-innoseed { transform: translate(-106px, 224px) scale(.82); }
  .collab-xiaomi { transform: translate(-27px, 224px) scale(.82); }
  .collab-huawei { transform: translate(54px, 224px) scale(.82); }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.idea-list,.team-board.compact,.gallery-grid {display:grid;gap:16px;margin-top:24px}
.idea-card,.project-card,.team-focus {padding:20px;border:1px solid var(--line,#d8d8d2);background:#fff}
.idea-card span,.project-card .section-kicker {color:var(--coral,#ef6b5b);font-size:11px;font-weight:800}
.team-card-admin ul {padding-left:18px}
.project-members span,.tool-row span {padding:7px 10px;color:var(--ink);background:#f1f0ea;font-size:12px}
.review-row {display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line,#d8d8d2)}
.review-row small {display:block;color:var(--muted,#666)}
#config-editor,#project-review {margin-top:24px}
.compact .team-card-admin {margin-bottom:0}
#config-editor .field-grid .config-pack { grid-column: 1 / -1; }

@media(max-width:760px) {
  .workspace-grid,.starter-layout,.gallery-grid {grid-template-columns:1fr}
  .profile-header {display:block}
  .profile-header .button {margin-top:16px}
}

.is-disabled { opacity: .68; }
.button.is-disabled { color: #777; background: #d8d8d2; border-color: #c4c4be; cursor: not-allowed; box-shadow: none; }
.button.is-disabled:hover { transform: none; box-shadow: none; }
.organizer-public-body { min-height: 100vh; background: #efefea; }
.organizer-public-header { position: relative; }
.organizer-public-header .text-link { color: var(--ink); }
.organizer-public-main { padding-bottom: 80px; }
.organizer-public-hero { padding-top: 96px; padding-bottom: 48px; }
.organizer-public-hero h1 { max-width: 700px; font-size: clamp(52px, 7vw, 96px); line-height: .95; }
.organizer-public-hero > p:last-child { max-width: 520px; margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.organizer-public-grid { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.organizer-public-details { margin: 0; }
.organizer-public-details > div { padding: 13px 0; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.organizer-public-details dt { color: var(--muted); font-size: 12px; }
.organizer-public-details dd { margin: 0; text-align: right; font-weight: 700; }
.organizer-public-projects { background: white; }
.organizer-public-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.organizer-public-item { padding: 20px; border: 1px solid var(--line); background: #fff; }
.organizer-public-item > span { color: var(--muted); font: 700 10px Consolas, monospace; }
.organizer-public-item h3 { margin: 22px 0 8px; font-size: 20px; }
.organizer-public-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.organizer-public-item a { display: inline-block; margin-top: 18px; color: var(--ink); font-weight: 700; font-size: 12px; }

@media (max-width: 700px) {
  .organizer-public-header { padding-left: 20px; padding-right: 20px; }
  .organizer-public-header .brand-lockup { width: 150px; }
  .organizer-public-hero { padding-top: 64px; }
  .organizer-public-hero h1 { font-size: 56px; }
  .organizer-public-grid, .organizer-public-list { grid-template-columns: 1fr; }
}

/* Shared navigation alignment */
.site-header { gap: 28px; }
.site-header .brand { flex: 0 0 auto; }
.site-header .site-nav { flex: 1 1 auto; min-width: 0; justify-content: flex-end; gap: clamp(14px, 1.8vw, 26px); }
.site-header .site-nav > a:not(.button) { white-space: nowrap; }
.site-header .site-nav .button { flex: 0 0 auto; white-space: nowrap; }
.stage-brief-head {display:flex;justify-content:space-between;color:var(--muted);font:800 10px Consolas,monospace;text-transform:uppercase}
.stage-brief-divider {border-top:1px solid var(--line)}
.stage-brief-label {margin:18px 0 10px;color:var(--muted);font-size:10px;font-weight:800}
.stage-timeline-wrap {margin-top:28px}
.stage-timeline-head {display:flex;justify-content:space-between;margin-bottom:11px;color:var(--muted);font-size:11px;font-weight:800}
.stage-timeline {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.stage-timeline-item {min-height:80px;position:relative;padding:10px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;border:1px solid var(--line);background:#fff;text-align:left;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.stage-timeline-item:hover {transform:translateY(-3px);border-color:var(--ink)}
.stage-timeline-item.active {color:var(--ink);background:var(--yellow);border-color:var(--ink)}
.stage-timeline-item.done {opacity:.56}
.stage-timeline-item span {color:var(--muted);font:700 9px Consolas,monospace}
.stage-timeline-item b {font-size:12px}
.stage-timeline-item small {color:var(--muted);font-size:9px}
.stage-timeline-item i {width:5px;height:5px;position:absolute;top:10px;right:10px;border-radius:50%;background:var(--coral)}
.stage-timeline-item i.team {background:var(--green)}

@media(max-width:900px) {
  .stage-timeline {grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:600px) {
  .stage-timeline {grid-template-columns:repeat(2,minmax(0,1fr))}
}

.stage-timeline-item i.team { background: var(--coral); }
.stage-reference { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.stage-reference-head { display:flex; justify-content:space-between; gap:10px; margin-bottom:12px; color:var(--muted); font:800 9px Consolas,monospace; letter-spacing:.06em; }
.stage-timeline-item:hover { transform: none; box-shadow: 3px 3px 0 var(--ink); }

@media (min-width: 961px) and (max-width: 1120px) {
  .site-header { padding-left: 20px; padding-right: 20px; gap: 18px; }
  .site-header .brand-lockup { width: 164px; }
  .site-header .site-nav { gap: 13px; font-size: 12px; }
}

@media (max-width: 960px) {
  .organizer-public-header .site-nav { justify-content: initial; }
}

.stage-node-marker { display:inline-grid; grid-template-columns:auto auto; align-items:end; gap:0 13px; min-width:220px; padding:10px 14px 8px; color:#111; background:var(--yellow); box-shadow:8px 8px 0 #f4ca4b44; transform:skewX(-7deg); }
.stage-node-marker>* { transform:skewX(7deg); }
.stage-node-marker span { grid-column:1 / -1; font:800 10px Consolas,monospace; letter-spacing:.1em; }
.stage-node-marker b { font:900 clamp(34px,4vw,66px)/.78 Consolas,monospace; }
.stage-node-marker i { padding-bottom:3px; font:800 11px Consolas,monospace; font-style:normal; letter-spacing:.08em; }
.stage-node-marker { display:none; }
.stage-context-label {
  color:var(--yellow);
  font:800 clamp(11px,.9vw,15px)/1 Consolas,monospace;
  letter-spacing:.1em;
  white-space:nowrap;
}
.stage-context-label {
  font-size:28px;
}
.stage-final-board>div:nth-child(2) { transform:translateY(14px); }
.stage-final-board>div:nth-child(4) { transform:translateY(8px); }
.stage-final-board>div:nth-child(2) b,
.stage-final-board>div:nth-child(4) b { color:#f4ca4b; }

@media(max-width:900px) {
  .stage-final-board>div:nth-child(2),
  .stage-final-board>div:nth-child(4) { transform:none; }
}

/* Remote workflow surfaces retained alongside the local live-stage deck. */
.site-nav > a[aria-current="page"]::after { right:0; }
.site-nav > a[aria-current="page"] { color:var(--green); }
.theme-reveal { width:100%; min-height:168px; padding:28px; display:flex; align-items:center; gap:22px; color:var(--ink); background:#fff; border:1px dashed var(--ink); border-radius:var(--radius); text-align:left; cursor:pointer; transition:background .18s ease,transform .18s ease,box-shadow .18s ease; }
.theme-reveal:hover { background:var(--yellow); transform:translateY(-3px); box-shadow:6px 6px 0 var(--ink); }
.theme-reveal-mark { width:48px; height:48px; display:grid; place-items:center; flex:0 0 auto; border:1px solid var(--ink); border-radius:50%; font-size:26px; line-height:1; }
.theme-reveal span:last-child { display:flex; flex-direction:column; gap:7px; }
.theme-reveal strong { font-size:20px; }
.theme-reveal small { color:var(--muted); font-size:12px; }
.application-launcher-body .section-kicker { color:var(--coral); }
.application-launcher-body p:not(.section-kicker) { max-width:390px; margin-bottom:28px; color:var(--muted); font-size:13px; }
.application-modal { width:min(760px,calc(100vw - 32px)); max-width:calc(100vw - 32px); min-height:min(570px,90dvh); max-height:min(90dvh,840px); margin:auto; padding:0; overflow:auto; }
.application-modal #roadshow-form { min-height:500px; padding:34px; }
.application-modal[open],.info-modal[open] { display:block; }
.application-modal::backdrop,.info-modal::backdrop { background:rgba(17,17,17,.72); backdrop-filter:blur(3px); }
.application-modal .modal-close,.info-modal .modal-close { position:absolute; z-index:2; top:10px; right:13px; width:34px; height:34px; padding:0; border:0; color:var(--muted); background:transparent; font-size:28px; line-height:1; cursor:pointer; }
.application-modal .form-head { padding-right: 64px; }
.application-modal .modal-close { border-radius: 50%; transition: color .15s, background .15s; }
.application-modal .modal-close:hover { color: var(--ink); background: #ededE7; }
.admin-detail-head .section-kicker { margin:0 0 8px; color:var(--coral); }
.admin-detail-status .outline-button { padding:7px 12px; font-size:11px; }
.info-modal { width:min(430px,calc(100vw - 32px)); padding:0; border:0; background:transparent; }
.info-modal-card { position:relative; padding:34px; background:#fff; border:1px solid var(--ink); box-shadow:9px 9px 0 var(--cyan); }
.info-modal-card .section-kicker { margin-bottom:16px; color:var(--coral); }
.info-modal-card h2 { margin-bottom:14px; font-size:32px; }
.info-modal-card p:not(.section-kicker) { margin-bottom:22px; color:var(--muted); font-size:13px; line-height:1.65; }
.info-modal-card img { width:min(100%,270px); aspect-ratio:1; display:block; margin:0 auto 18px; object-fit:contain; border:1px solid var(--line); }
.info-modal-card small { display:block; color:var(--muted); font-size:10px; line-height:1.5; }
.info-drawer-head .section-kicker { margin:0 0 5px; color:var(--yellow); font-size:10px; }

@media(max-width:620px) {
  .theme-reveal {min-height:140px;padding:22px}
  .application-modal #application-form,.application-modal #roadshow-form,.admin-detail-modal #applicant-detail {padding:26px 20px 32px}
  .application-modal #roadshow-form {min-height:0}
  .application-modal .form-head { padding-right: 58px; }
  .info-modal-card {padding:30px 22px}
}

.timeline-item.active, .timeline-item:hover, .timeline-item:focus-visible { padding: 0 20px; background: var(--yellow); border-color: var(--ink); outline: none; }

@media (max-width: 600px) {
  .timeline-item.active, .timeline-item:hover, .timeline-item:focus-visible { padding: 0 12px; }
}

.sponsor-logos-inline {margin-top:24px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}

@media(max-width:900px) {
  .sponsor-logos-inline {max-width:620px}
}

@media(max-width:600px) {
  .sponsor-logos-inline {grid-template-columns:1fr}
}

/* Gallery and team workspace surfaces */
.profile-body[data-page="gallery"] .profile-shell { padding-top: 58px; }
.profile-body[data-page="gallery"] .profile-header { margin-bottom: 0; padding-bottom: 38px; border-bottom: 1px solid var(--ink); }
.profile-body[data-page="gallery"] .profile-header > div { min-width: 0; flex: 1 1 auto; }
.profile-body[data-page="gallery"] .profile-header .section-kicker { color: var(--coral); }
.profile-body[data-page="gallery"] .profile-header .button { flex: 0 0 auto; }
.gallery-submit-panel .section-kicker { margin-bottom: 8px; color: var(--coral); font-size: 10px; }
.gallery-submit-panel p:not(.section-kicker) { max-width: 520px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.profile-body[data-page="gallery"] .gallery-grid { margin-top: 58px; padding-top: 24px; border-top: 1px solid var(--ink); }
.profile-body[data-page="gallery"] .project-card { padding: 16px; overflow: hidden; display: flex; flex-direction: column; }
.profile-body[data-page="gallery"] .project-cover { height: auto; aspect-ratio: 16 / 7; position: relative; }
.profile-body[data-page="gallery"] .project-cover::after { content: ""; position: absolute; inset: 12px; border: 1px solid #ffffff24; pointer-events: none; }
.profile-body[data-page="gallery"] .project-cover + .section-kicker { margin: 20px 0 10px; }
.profile-body[data-page="gallery"] .project-card h2 { margin: 0 0 7px; font-size: 28px; line-height: 1.15; }
.profile-body[data-page="gallery"] .project-tagline { min-height: 44px; margin: 0; color: var(--muted); font-size: 13px; }
.profile-body[data-page="gallery"] .project-card dl { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); line-height: 1.55; }
.profile-body[data-page="gallery"] .project-card dt { font: 800 10px Consolas, monospace; text-transform: uppercase; }
.profile-body[data-page="gallery"] .project-members { margin-top: auto; padding-top: 20px; }
.profile-body[data-page="gallery"] .project-actions { align-items: center; margin-top: 4px; }
.profile-body[data-page="gallery"] .project-actions .button { min-height: 42px; padding: 0 16px; font-size: 12px; }
.profile-body[data-page="gallery"] .project-actions .outline-button { min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; border: 1px solid var(--ink); font-size: 12px; font-weight: 800; }
.team-market .admin-card-head { margin-bottom: 28px; align-items: flex-start; }
.team-market .admin-card-head h2 { margin-bottom: 4px; font-size: 22px; }
.team-market .admin-card-head > span { padding-top: 4px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.team-focus-head .section-kicker { margin-bottom: 8px; color: var(--coral); }
.team-status.is-locked { color: var(--green); }
.team-board.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-board.compact .team-card-admin { min-width: 0; }
.team-board.compact .team-card-admin ul { margin: 14px 0; padding-left: 18px; font-size: 12px; line-height: 1.7; }

@media (max-width: 760px) {
  .profile-body[data-page="gallery"] .profile-shell { padding-top: 42px; }
  .profile-body[data-page="gallery"] .profile-header { gap: 24px; padding-bottom: 30px; }
  .profile-body[data-page="gallery"] .profile-header > div { width: 100%; }
  .profile-body[data-page="gallery"] .profile-header h1,
  .profile-body[data-page="gallery"] .profile-header p { overflow-wrap: anywhere; }
  .profile-body[data-page="gallery"] .gallery-grid { margin-top: 42px; }
  .profile-body[data-page="gallery"] .project-cover { aspect-ratio: 16 / 8; }
  .profile-body[data-page="gallery"] .project-tagline { min-height: 0; }
  .team-market .admin-card-head { gap: 14px; }
  .team-board.compact { grid-template-columns: 1fr; }
}

/* Floating participant entry */
#participant-fab-root { position: fixed; right: 24px; bottom: 24px; z-index: 30; }
.participant-fab { display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px 8px 8px; color: var(--ink); background: var(--yellow); border: 1px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink); text-decoration: none; font-size: 12px; font-weight: 800; cursor: pointer; }
.participant-fab:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink); }
.participant-fab-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--coral); font-size: 16px; }
.participant-fab-label { font: 700 11px Consolas, monospace; }
.participant-fab-panel { width: 260px; margin-bottom: 14px; padding: 20px; background: white; border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--cyan); }
.participant-fab-panel h3 { margin: 5px 0 6px; font-size: 21px; }
.participant-fab-panel h3 small { color: var(--coral); font: 700 11px Consolas, monospace; }
.participant-fab-panel p:not(.section-kicker) { margin: 0 0 15px; color: var(--muted); font-size: 12px; }
.participant-fab-actions .button { width: 100%; padding: 11px 12px; font-size: 11px; }

@media (max-width: 760px) {
  #participant-fab-root { right: 14px; bottom: 14px; }
  .participant-fab-panel { width: min(260px, calc(100vw - 28px)); }
}

.profile-account-actions .outline-button { flex: 1 1 0; width: auto; min-width: 0; justify-content: center; white-space: nowrap; }
.application-choice-card .section-kicker {margin-bottom:18px;color:var(--coral)}
.application-choice-card p:not(.section-kicker) {min-height:78px;margin:0 0 18px;color:var(--muted);font-size:13px;line-height:1.8}
.application-choice-roadshow .section-kicker,.application-choice-roadshow p:not(.section-kicker) {color:var(--ink)}
.application-choice-roadshow .button-dark {color:#fff;background:var(--ink);border-color:var(--ink)}

@media(max-width:760px) {
  .application-choice-card p:not(.section-kicker) {min-height:0}
}

.cover-upload-preview {display:block;max-width:320px;max-height:180px;margin-top:10px;object-fit:cover;border:1px solid var(--line,#d8d8d2)}
.profile-intended-head .section-kicker { margin-bottom: 9px; color: var(--coral); font: 800 10px Consolas, monospace; letter-spacing: .06em; }
.profile-intended-head p:not(.section-kicker) { max-width: 580px; margin: 0; color: #5e5a3d; font-size: 11px; line-height: 1.6; }
/* Missing-field reminder highlight for registration forms */
.field-error { border-color: var(--error) !important; background: #fff7f6; }
.field-error:focus { border-color: var(--error) !important; box-shadow: 0 0 0 3px rgba(180, 35, 24, .14); }
.field-error::placeholder { color: #c2716a; }
input[type="checkbox"].field-error, input[type="radio"].field-error { outline: 2px solid var(--error); outline-offset: 3px; }
.roadshow-summary .section-kicker { margin-bottom: 9px; color: var(--cyan); font: 800 10px Consolas, monospace; letter-spacing: .06em; }
.roadshow-summary > p:not(.section-kicker):not(.field-help) { margin: 0 0 18px; color: var(--muted); font-size: 12px; }
.roadshow-summary .field-help { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #cbe4ea; line-height: 1.6; }
/* 活动选择 */
.choice-fieldset { padding: 0; border: 0; }
.choice-fieldset legend { margin-bottom: 12px; font-size: 12px; font-weight: 700; }
#roadshow-form .choice-fieldset, .profile-form-block .choice-fieldset { margin: 24px 0 0; }
.choice-fieldset .consent { padding: 13px 15px; align-items: center; gap: 11px; background: #f7f7f2; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.choice-fieldset .consent + .consent { margin-top: 8px; }
.choice-fieldset .consent:hover { border-color: var(--ink); }
.choice-fieldset .consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.choice-fieldset .consent span { font-weight: 700; }
.choice-fieldset .consent:has(input:checked) { background: white; border-color: var(--ink); box-shadow: 3px 3px 0 rgba(17, 17, 17, .07); }

@media (max-width: 600px) {
  .choice-fieldset .consent { padding: 12px 13px; }
}

.qa-search .section-kicker { margin: 0; }
.qa-login-note p:not(.section-kicker) { max-width: 720px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.qa-list { margin-top: 18px; display: grid; gap: 12px; }
.qa-card { padding: 20px 22px; background: white; border: 1px solid #d8d8d1; border-radius: var(--radius); transition: box-shadow .18s ease, transform .18s ease; }
.qa-card:hover { transform: translateY(-2px); box-shadow: 5px 5px 0 rgba(17, 17, 17, .08); }
.qa-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.qa-card-head .qa-time { margin-left: auto; }
.qa-time { color: var(--muted); font: 700 10px Consolas, monospace; }
/* pending / answered / pinned / hidden */
.qa-badge { padding: 3px 9px; border: 1px solid transparent; border-radius: 999px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.qa-badge-pending { color: #664d00; background: #fff2b8; border-color: #d7b839; }
.qa-badge-answered { color: #1c5c46; background: #e4f5ee; border-color: #a9d9c6; }
.qa-badge-pinned { color: var(--ink); background: var(--yellow); border-color: var(--ink); }
.qa-badge-hidden { color: #5b5b55; background: #ececE5; border-color: #c9c9c1; }
.qa-collapse { margin-top: 14px; padding-top: 14px; border-top: 1px solid #ededE7; }
.qa-answer .qa-time { display: block; }
.qa-card.is-pending { background: #fdfdf9; border-style: dashed; }
.qa-empty { margin-top: 18px; padding: 26px 24px; color: var(--muted); background: #f2f2ed; border-radius: var(--radius); font-size: 13px; line-height: 1.7; }
.profile-body[data-page="qa"] .profile-shell { padding-bottom: 90px; }
.qa-admin-block .qa-time { display: block; margin-top: 4px; }
.admin-body .button, .admin-body .outline-button, .admin-body .qa-choice,
.profile-body[data-page="qa"] .button, .profile-body[data-page="qa"] .outline-button, .profile-body[data-page="qa"] .qa-choice {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 800;
}
.admin-body .button-small, .profile-body[data-page="qa"] .button-small { min-height: 34px; padding: 0 12px; }
.admin-body .qa-choice, .profile-body[data-page="qa"] .qa-choice { font-weight: 700; }
#panel-teams .admin-card,
#panel-ideas .admin-card { padding: 24px; }
#panel-teams .team-board,
#panel-ideas .idea-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: 16px; margin-top: 0; align-items: start; }
#panel-teams .team-card-admin,
#panel-ideas .idea-card { position: relative; padding: 20px; display: flex; flex-direction: column; gap: 14px; background: white; border: 1px solid #d8d8d1; border-top: 3px solid var(--ink); border-radius: var(--radius); }
#panel-teams .team-card-admin.is-locked { border-top-color: var(--green); }
#panel-teams .team-card-admin .team-card-head { margin: 0; padding: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border: 0; }
#panel-teams .team-card-admin .team-card-name { min-width: 0; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
#panel-teams .team-card-admin .team-card-count { flex: 0 0 auto; padding: 4px 8px; color: var(--muted); background: #f1f0ea; border-radius: 999px; font: 700 10px Consolas, monospace; }
#panel-teams .team-card-admin .team-card-meta { display: flex; flex-wrap: wrap; gap: 6px; }
#panel-teams .team-card-admin .team-card-meta > span { padding: 5px 9px; color: var(--muted); background: #f7f7f3; border: 1px solid #ececE5; border-radius: 4px; font-size: 10px; }
#panel-teams .team-card-admin .team-card-meta b { color: var(--ink); font: 800 11px Consolas, monospace; letter-spacing: .02em; }
#panel-teams .team-card-admin .team-card-status { margin: 0; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; line-height: 1.4; }
#panel-teams .team-card-admin.is-locked .team-card-status { color: var(--green); font-weight: 700; }
#panel-teams .team-card-admin .team-member-list { margin: 0; padding: 8px 0 0; list-style: none; border-top: 1px solid #ededE7; }
#panel-teams .team-card-admin .team-member-list li { padding: 9px 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 0; border-radius: 4px; font-size: 12px; }
#panel-teams .team-card-admin .team-member-list li + li { margin-top: 4px; }
#panel-teams .team-card-admin .team-member-list .team-member-name { font-weight: 700; overflow-wrap: anywhere; }
#panel-teams .team-card-admin .team-member-list small { flex: 0 0 auto; max-width: 58%; color: var(--muted); font-size: 10px; text-align: right; }
#panel-teams .team-card-admin .team-member-list li.is-empty { color: #a2a29a; background: transparent; }
/* 成员状态底色：已录取/已通过=浅绿 · 待审核=纸色 · 待复审=浅蓝 · 未通过=浅红 · 候补=黄 */
#panel-teams .team-card-admin .team-member-list li.is-approved { background: #d9f2e8; }
#panel-teams .team-card-admin .team-member-list li.is-pending { background: var(--paper); }
#panel-teams .team-card-admin .team-member-list li.is-review { background: #d2e7f8; }
#panel-teams .team-card-admin .team-member-list li.is-rejected { background: #ffe3de; }
#panel-teams .team-card-admin .team-member-list li.is-waitlist { background: #fbe6a0; }
/* 卡片里的状态计数 */
#panel-teams .team-card-admin .team-card-stats { display: flex; flex-wrap: wrap; gap: 6px; }
#panel-teams .team-card-admin .team-stat { padding: 5px 9px; display: inline-flex; align-items: baseline; gap: 5px; color: #3f3f39; background: var(--paper); border: 1px solid #e4e4dd; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
#panel-teams .team-card-admin .team-stat b { font: 800 11px Consolas, monospace; }
#panel-teams .team-card-admin .team-stat.is-approved { color: #07583e; background: #d9f2e8; border-color: #b6e3d2; }
#panel-teams .team-card-admin .team-stat.is-waitlist { color: #6b4f00; background: #fbe6a0; border-color: #eed481; }
#panel-teams .team-card-admin .team-stat.is-rejected { color: #7e2a1d; background: #ffe3de; border-color: #f4c3b8; }
#panel-teams .team-card-admin.is-locked .admin-team-lock { color: var(--coral-strong); border-color: #e3b8ab; background: #fff5f2; }
#panel-teams .team-card-admin.is-locked .admin-team-lock:hover { color: white; background: var(--coral-strong); border-color: var(--coral-strong); }

@media (max-width: 620px) {
  #panel-teams .admin-card,
  #panel-ideas .admin-card { padding: 18px; }
  #panel-teams .team-board,
  #panel-ideas .idea-list { grid-template-columns: 1fr; gap: 12px; }
  #panel-teams .team-card-admin .team-member-list small { max-width: 50%; }
}

.chart-switch button.active { color: var(--ink); background: white; box-shadow: 0 1px 2px rgba(17, 17, 17, .14); }
.filter-builder-head .outline-button { flex: 0 0 auto; }
/* 投票 */
#panel-voting .admin-card + .admin-card { margin-top: 14px; }
