/* 职业弧线 · 沙龙互动 — 共享样式（静谧蓝 + 留白） */
:root{
  --ink:#1A1D21; --blue:#2F5C8F; --blue-soft:#EAF0F6;
  --grey:#44474D; --lgrey:#8A8F98; --line:#D7DBE0; --bg:#F4F5F7; --white:#FFFFFF;
}
*{box-sizing:border-box; -webkit-tap-highlight-color:transparent;}
html,body{margin:0; padding:0; font-family:"Microsoft YaHei","PingFang SC","Helvetica Neue",Arial,sans-serif;
  color:var(--ink); background:var(--white); -webkit-font-smoothing:antialiased;}
a{color:var(--blue); text-decoration:none;}

/* ---------- 手机端布局 ---------- */
.app{max-width:520px; margin:0 auto; min-height:100vh; display:flex; flex-direction:column;}
.app-header{padding:22px 20px 14px; border-bottom:2px solid var(--blue);}
.brand{font-size:13px; letter-spacing:2px; color:var(--blue); font-weight:700;}
.title{font-size:22px; font-weight:700; margin:6px 0 2px;}
.subtitle{font-size:13px; color:var(--lgrey);}
.tabs{display:flex; background:var(--bg);}
.tab{flex:1; text-align:center; padding:14px 4px; font-size:14px; color:var(--grey);
  border-bottom:3px solid transparent; cursor:pointer;}
.tab.active{color:var(--blue); font-weight:700; border-bottom-color:var(--blue); background:var(--white);}
.tab-body{flex:1; padding:22px 20px 40px; display:none;}
.tab-body.active{display:block;}

/* 卡片 */
.card{background:var(--bg); border:1px solid var(--line); border-radius:12px; padding:18px; margin-bottom:16px;}
.card h3{margin:0 0 10px; font-size:16px; color:var(--blue);}
.card p.tip{font-size:12.5px; color:var(--lgrey); line-height:1.7; margin:8px 0 0;}
.label{font-size:13px; color:var(--grey); font-weight:700; margin:14px 0 6px; display:block;}
textarea,input[type=text]{width:100%; border:1px solid var(--line); border-radius:8px; padding:11px 12px;
  font-size:15px; font-family:inherit; color:var(--ink); background:var(--white); resize:vertical;}
textarea{min-height:64px;}
.btn{display:inline-block; background:var(--blue); color:#fff; border:none; border-radius:8px;
  padding:13px 18px; font-size:15px; font-weight:700; cursor:pointer; width:100%; margin-top:8px;}
.btn:active{opacity:.85;}
.btn.secondary{background:var(--white); color:var(--blue); border:1px solid var(--blue);}
.hint{font-size:12px; color:var(--lgrey); margin-top:10px; line-height:1.6;}

/* 投票 */
.vote-hero{font-size:18px; font-weight:700; line-height:1.6; margin:4px 0 14px;}
.vote-count{font-size:13px; color:var(--blue); margin-top:10px;}
.voted-ok{background:var(--blue-soft); border:1px solid var(--blue); border-radius:10px;
  padding:16px; text-align:center; color:var(--blue); font-weight:700; font-size:15px; display:none;}
.voted-ok.show{display:block;}

/* 自评卡结果 */
.saved-tag{display:inline-block; background:#E8F3EA; color:#2E7D4F; font-size:12px;
  padding:3px 10px; border-radius:20px; margin-left:8px;}
/* 12题打分 */
.qitem{border-top:1px solid var(--line); padding:16px 0 6px;}
.qitem:first-child{border-top:none; padding-top:4px;}
.qtext{font-size:14.5px; line-height:1.6; color:var(--ink); margin-bottom:12px;}
.qnum{display:inline-block; min-width:20px; height:20px; line-height:20px; text-align:center;
  background:var(--blue); color:#fff; border-radius:50%; font-size:12px; font-weight:700; margin-right:8px;}
.scale{display:flex; justify-content:space-between; gap:6px;}
.scale-opt{flex:1; text-align:center;}
.scale-opt input{position:absolute; opacity:0; width:0; height:0;}
.scale-opt span{display:block; padding:9px 0; border:1px solid var(--line); border-radius:8px;
  background:var(--white); color:var(--grey); font-weight:700; font-size:15px; cursor:pointer;}
.scale-opt input:checked + span{background:var(--blue); color:#fff; border-color:var(--blue);}
.scalelabels{display:flex; justify-content:space-between; font-size:11px; color:var(--lgrey); margin-top:6px;}
/* 结果卡 */
.result-card{background:#fff; border:1.5px solid var(--blue);}
.result-card h3{color:var(--ink); font-size:18px; text-align:center;}
.result-card #resultDesc{color:var(--grey); text-align:center;}
.bar-row{display:flex; align-items:center; gap:10px; margin:12px 0;}
.bar-name{width:40px; font-size:13px; font-weight:700; color:var(--grey);}
.bar-track{flex:1; height:14px; background:var(--bg); border-radius:8px; overflow:hidden;}
.bar-fill{height:100%; background:#B8C6D6; border-radius:8px;}
.bar-fill.bar-top{background:var(--blue);}
.bar-val{width:26px; text-align:right; font-size:13px; font-weight:700; color:var(--blue);}

/* ---------- 大屏端 ---------- */
.screen{height:100vh; display:flex; flex-direction:column; background:#0F1B2D; color:#fff; overflow:hidden;}
.screen-top{display:flex; justify-content:space-between; align-items:center; padding:24px 40px;
  border-bottom:1px solid rgba(255,255,255,.12);}
.screen-top .st-title{font-size:26px; font-weight:700; letter-spacing:1px;}
.screen-top .st-sub{font-size:14px; color:#9FB3C8; margin-top:4px;}
.qr-box{display:flex; align-items:center; gap:18px; background:rgba(255,255,255,.06);
  padding:14px 20px; border-radius:12px;}
.qr-box img{width:96px; height:96px; background:#fff; border-radius:6px;}
.qr-box .qr-text{font-size:13px; color:#9FB3C8; line-height:1.7;}
.qr-box .qr-url{font-size:16px; color:#fff; font-weight:700; margin-top:2px;}
.qr-box .qr-hint{font-size:12px; color:#9FB3C8; margin-top:8px; max-width:240px; line-height:1.6;}
.cloud{flex:1; padding:30px 40px; overflow:hidden; position:relative;}
.cloud-title{font-size:15px; color:#9FB3C8; margin-bottom:6px; letter-spacing:2px;}
#cloud{display:flex; flex-wrap:wrap; align-content:flex-start; gap:14px 18px;}
.bubble{background:rgba(47,92,143,.85); color:#fff; border-radius:30px; padding:10px 22px;
  font-weight:700; line-height:1; animation:pop .5s ease; box-shadow:0 4px 18px rgba(0,0,0,.25);}
.bubble.new{background:#E0A83B; color:#1A1D21;}
@keyframes pop{0%{transform:scale(.3); opacity:0;}100%{transform:scale(1); opacity:1;}}
.cloud-empty{position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  color:#5B7088; font-size:18px; text-align:center; line-height:1.8;}
.screen-foot{text-align:center; padding:16px; font-size:13px; color:#6E8499;}

/* ---------- 会话 / 批次（2026-11-19 新增） ---------- */
/* 手机端：匿名收集告知 + 未开始遮罩 */
.notice{background:var(--blue-soft); border-bottom:1px solid var(--line); color:var(--grey);
  font-size:11.5px; line-height:1.6; padding:10px 20px;}
#appGate{position:fixed; inset:0; z-index:120; background:rgba(244,245,247,.98);
  display:none; align-items:center; justify-content:center; flex-direction:column;
  padding:30px; text-align:center;}
#appGate .g-title{font-size:22px; font-weight:700; color:var(--blue); margin-bottom:12px;}
#appGate .g-sub{font-size:14px; color:var(--grey); line-height:1.9;}
#arcSubmitOk{margin-top:10px;}

/* 大屏端：左上角批次栏 */
.admin-bar{display:flex; align-items:center; gap:12px; padding:12px 40px; flex-wrap:wrap;
  background:rgba(255,255,255,.05); border-bottom:1px solid rgba(255,255,255,.1);}
.ab-label{font-size:13px; color:#9FB3C8; letter-spacing:1px;}
.admin-bar select{background:#1B2C44; color:#fff; border:1px solid rgba(255,255,255,.25);
  border-radius:8px; padding:8px 12px; font-size:14px; font-family:inherit; max-width:380px;}
.ab-btn{background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.25);
  border-radius:8px; padding:8px 14px; font-size:13px; cursor:pointer; font-family:inherit;}
.ab-btn:hover{background:rgba(255,255,255,.2);}
.ab-btn.ab-exit{margin-left:auto; background:#8B3A3A; border-color:#B25A5A;}
.ab-stat{font-size:13px; color:#9FB3C8;}
.view-note{margin-top:8px; font-size:13px; color:#E0A83B;}
.stat-line{font-size:13px; color:#9FB3C8; letter-spacing:0;}

/* 大屏端：密钥入口 */
.gate{position:fixed; inset:0; z-index:200; background:#0F1B2D;
  display:none; align-items:center; justify-content:center; padding:20px;}
.gate-card{background:#16253C; border:1px solid rgba(255,255,255,.16); border-radius:16px;
  padding:34px; width:100%; max-width:400px; text-align:center;}
.gate-title{font-size:24px; font-weight:700; color:#fff; margin-bottom:8px;}
.gate-sub{font-size:14px; color:#9FB3C8; line-height:1.7; margin-bottom:22px;}
.gate-card input{width:100%; background:#0F1B2D; color:#fff; border:1px solid rgba(255,255,255,.3);
  border-radius:8px; padding:12px 14px; font-size:16px; text-align:center; letter-spacing:2px; font-family:inherit;}
.gate-btn{width:100%; margin-top:14px; background:#2F5C8F; color:#fff; border:none; border-radius:8px;
  padding:13px; font-size:16px; font-weight:700; cursor:pointer; font-family:inherit;}
.gate-err{color:#E88B8B; font-size:13px; margin-top:12px; min-height:18px;}
.gate-hint{color:#6E8499; font-size:12px; line-height:1.7; margin-top:16px;}
