/* 議題頁、我的議題、紙卡頁的基礎樣式（原 council-ballot.css；表決頁 2026-10-30 改版後拆出，避免議題頁跑版）
   2026-11-10 APP-03：頁首／頁尾連結改 inline-flex＋min-height:44px 作為手機觸控區，外層 padding 相應縮小以維持原本視覺高度 */
:root{color-scheme:dark;--bg:#0e0c0e;--panel:#201418;--line:#ffffff16;--text:#eee8e3;--muted:#b4a5a3;--red:#ec645e;--green:#86c1a1;font-family:system-ui,-apple-system,'Noto Sans TC',sans-serif;background:var(--bg);color:var(--text)}
*{box-sizing:border-box}body{margin:0;min-height:100dvh}#data-rain,.vignette{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}#data-rain{opacity:.19;z-index:-2}.vignette{background:radial-gradient(ellipse at 50% 12%,#451c2245,transparent 65%),linear-gradient(0deg,#0e0c0ef2,transparent 80%);z-index:-1}a{color:inherit;text-underline-offset:5px}button,input,select,textarea{font:inherit}button,a,select,input,textarea{-webkit-tap-highlight-color:transparent}button{border:1px solid #ee84724a;background:#6b2a2a;color:#fff4ed;padding:12px 20px;border-radius:10px;cursor:pointer;min-height:44px}button:hover:not(:disabled){background:#863533}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--green);outline-offset:4px}.quiet{background:#ffffff08;border-color:var(--line)}[hidden]{display:none!important}.topline{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:6px max(24px,calc((100vw - 1120px)/2));border-bottom:1px solid #993f384f;font-size:12px;letter-spacing:.06em;background:#120c10d9;overflow:hidden}.topline:after{content:'';position:absolute;bottom:0;height:1px;width:22%;background:linear-gradient(90deg,transparent,#fcd6b6,#ea6353,transparent);box-shadow:0 0 8px #f86a49;animation:current 6s linear infinite}.topline a{text-decoration:none;display:inline-flex;align-items:center;min-height:44px}.topline span{color:var(--muted)}#connection{white-space:nowrap;color:var(--green)}#connection.offline{color:#f3bb75}main{width:min(100% - 48px,1120px);margin:0 auto;padding:52px 0 24px}.masthead{display:flex;align-items:center;justify-content:space-between;gap:24px}.eyebrow{font-family:ui-monospace,monospace;font-size:11px;letter-spacing:.16em;color:#c5867f;margin:0 0 14px}h1{font-size:clamp(26px,3.6vw,44px);font-weight:500;letter-spacing:-.025em;margin:0;line-height:1.35}.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:32px 0 0;font-size:13px;color:var(--muted)}select,input,textarea{background:#171215;border:1px solid #ffffff20;color:var(--text);border-radius:8px;padding:11px 13px;max-width:100%}select{min-width:160px;max-width:100%}#account{margin-left:auto;display:flex;align-items:center;gap:10px;font-size:12px}#account a{color:var(--green)}#notice{min-height:22px;margin:18px 0 12px;color:#efbda7;font-size:14px;line-height:1.65}.panel{position:relative;background:linear-gradient(135deg,#27191ce8,#181416ed);border:1px solid #cd8e752b;border-radius:20px;overflow:hidden;padding:36px;box-shadow:0 30px 90px #0003}.panel:before{content:'';position:absolute;top:0;left:32px;width:38px;height:2px;background:#ef9e7a}.question-meta{display:flex;align-items:center;gap:12px;justify-content:space-between;font-family:ui-monospace,monospace;font-size:12px;color:var(--muted)}.question-number{color:#e9a59c;letter-spacing:.18em}.badge{border:1px solid #ffffff16;padding:5px 10px;border-radius:100px;font-family:inherit}.badge.live:before{content:'';display:inline-block;width:6px;height:6px;background:#89cba8;border-radius:100%;margin-right:7px;box-shadow:0 0 10px #74ad91}.question-title{font-size:clamp(25px,3.8vw,48px);line-height:1.55;font-weight:500;letter-spacing:-.02em;margin:28px 0 32px;overflow-wrap:anywhere}.options{display:grid;gap:12px}.choice{display:flex;align-items:center;text-align:left;gap:16px;background:#ffffff03;border-color:#ffffff1e;padding:18px 22px;line-height:1.55;min-height:66px}.choice:disabled{opacity:.75}.choice.selected{border-color:#c57765;background:#6c383435;opacity:1}.choice-index{font-family:ui-monospace,monospace;color:#c1988e;font-size:12px;flex-shrink:0}.choice-text{flex:1;overflow-wrap:anywhere}.choice-mark{font-size:12px;color:var(--green)}.participation{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:24px;color:var(--muted);font-size:13px;line-height:1.6}.participation strong{color:var(--text);font-size:22px;font-family:ui-monospace,monospace;margin-right:6px;font-weight:400}.saved{color:var(--green);font-size:13px;min-height:20px;margin:18px 0 0}.result{padding:15px 0;border-top:1px solid var(--line)}.result-label{display:flex;gap:20px;justify-content:space-between;align-items:baseline;line-height:1.6;margin-bottom:10px}.result-label span:first-child{overflow-wrap:anywhere}.result-number{white-space:nowrap;font-family:ui-monospace,monospace;color:#deb9a9}.result-track{height:6px;background:#ffffff08;border-radius:4px;overflow:hidden}.result-fill{height:100%;width:var(--amount);background:linear-gradient(90deg,#82413d,#e3a087);transition:width .7s ease}.result:nth-child(2) .result-fill{background:linear-gradient(90deg,#3d615b,#90b6a6)}.result:nth-child(3) .result-fill{background:linear-gradient(90deg,#555266,#a49db2)}.empty{padding:72px 24px;text-align:center;border:1px solid var(--line);border-radius:16px;line-height:1.8;color:var(--muted)}.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.summary-grid .panel{padding:24px}.summary-grid .question-title{font-size:22px;margin:18px 0 24px}.summary-grid .panel:last-child{grid-column:1/-1}#host{padding:24px 0;border-bottom:1px solid var(--line)}#host h2{font-size:17px;font-weight:500}#host .actions{display:flex;flex-wrap:wrap;gap:10px}#host p{font-size:13px;color:var(--muted);line-height:1.8}.stage .toolbar{opacity:.85}.stage .panel{padding:44px 56px}.stage .question-title{font-size:clamp(32px,4.3vw,62px)}.stage .options{grid-template-columns:repeat(2,minmax(0,1fr))}.stage .choice{font-size:23px}.stage .summary-grid .panel{padding:24px}.stage .summary-grid .question-title{font-size:24px}.stage .result-track{height:10px}details{border:1px solid var(--line);padding:20px 24px;border-radius:12px;margin:20px 0}summary{cursor:pointer;font-size:15px}details p{color:var(--muted);font-size:13px;line-height:1.8}form{display:grid;gap:18px;margin-top:20px}form label{display:grid;gap:8px;font-size:13px;color:var(--muted)}form textarea{resize:vertical;min-height:90px;width:100%;line-height:1.7}fieldset{margin:0 0 20px;padding:20px;border:1px solid var(--line);border-radius:10px;display:grid;gap:16px}legend{font-size:13px;color:#daa998}footer{display:flex;flex-wrap:wrap;align-items:center;gap:0 18px;margin-top:22px;font-size:12px;color:#a59291}footer a{display:inline-flex;align-items:center;min-height:44px}footer span{margin-right:auto}@keyframes current{from{transform:translateX(-130%)}to{transform:translateX(600%)}}
@media(max-width:600px){main{width:calc(100% - 32px);padding-top:28px}.topline{padding:3px 16px}.topline a span{display:none}.masthead{gap:12px}.eyebrow{font-size:9px;letter-spacing:.08em}h1{font-size:26px}.toolbar{gap:8px;margin-top:24px}.toolbar label{width:100%}.toolbar select{flex:1;font-size:13px}#account{margin-left:0}#notice{font-size:12px}.panel,.stage .panel{padding:23px 20px;border-radius:14px}.question-title,.stage .question-title{font-size:27px;margin:23px 0}.choice{padding:15px;gap:12px}.stage .options{grid-template-columns:1fr}.stage .choice{font-size:18px}.participation{font-size:12px;align-items:flex-start}.summary-grid{grid-template-columns:1fr}.summary-grid .panel:last-child{grid-column:auto}#host .actions button{flex:1}fieldset{padding:14px}details{padding:18px}footer span{width:100%}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}#data-rain{display:none}}
.stage #account{display:none}

.embedded header,.embedded footer,.embedded .toolbar label,.embedded #event-select{display:none!important}.embedded main{padding-top:20px}.embedded .masthead h1{font-size:26px}
