#attributes-panel{width:min(960px,calc(100vw - 36px));max-height:calc(100dvh - 40px);padding:28px;border:1px solid #8eab8c;border-radius:20px;background:linear-gradient(125deg,#152e28,#203e33);color:#f2f2df;box-shadow:0 24px 100px #0009}#attributes-panel::backdrop{background:#071a16ad;backdrop-filter:blur(5px)}.attributes-heading{display:flex;gap:16px;align-items:center;border-bottom:1px solid #b6c49440;padding-bottom:16px}.attributes-heading img{width:65px;height:65px;border-radius:50%;background:#68866c}.attributes-heading h2{font-size:26px;margin:2px 0}.attributes-heading p{margin:3px 0;color:#c7d4c2}.attributes-heading>button{margin-left:auto}.allocation-top{display:flex;align-items:center;justify-content:space-between;padding:18px 0 12px}.allocation-top h3{margin:3px 0}.points-badge{color:#e8d9a2;background:#09261d88;border:1px solid #b7a96465;border-radius:10px;padding:7px 15px}.points-badge b{font-size:28px;padding-left:12px}.allocation-columns{display:grid;grid-template-columns:1.1fr 1fr;gap:24px}.attribute-row{display:grid;grid-template-columns:1fr 30px 36px 30px;align-items:center;gap:6px;min-height:59px;padding:6px 8px;border-bottom:1px solid #b5c39a26}.attribute-row small{display:block;color:#aec5b4;font-size:11px;line-height:1.6}.attribute-row b{font-size:17px}.attribute-row strong{text-align:center;color:#f4e5a8;font-size:20px}.attribute-row button,#attributes-panel button,#creator-back,#creator-points-reset{border:1px solid #a5b78c70;border-radius:7px;background:#456744;color:#fcf9dd;padding:7px;cursor:pointer}.attribute-row button:disabled{opacity:.3;cursor:default}.attribute-row.changed{background:#78996628}.derived-stats{border-left:1px solid #c3d09628;padding-left:22px}.derived-stats h3{margin:4px 0 14px;font-size:16px}.derived-stats h3 small{font-size:11px;color:#a6bea8;font-weight:400;margin-left:10px}.attribute-vitals{display:grid;gap:8px;margin-bottom:12px}.attribute-vitals>div{display:flex;justify-content:space-between;gap:8px;background:#365243;border-radius:6px;padding:10px;color:#d9e8d4}.attribute-vitals>div+div{background:#29494c}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stat-grid>div{border-bottom:1px solid #b5c39a22;padding-bottom:7px}.stat-grid small{display:block;color:#a9c0b2;font-size:12px}.stat-grid b{display:block;margin-top:3px;font-size:16px;font-weight:500}.stat-grid span,.attribute-vitals span{color:#a8b8a3;font-size:12px}.stat-grid em,.attribute-vitals em{color:#f3db8f;font-style:normal}.allocation-note,.regen-preview{font-size:11px;line-height:1.7;color:#a9c0ac;margin:10px 0}.regen-preview{color:#d7dca6}.attributes-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:14px}.attributes-actions button{padding:11px 25px!important}#attributes-confirm{background:#cad597!important;color:#233b25!important;font-weight:700}#attributes-message{font-size:12px;color:#c8d8ac;min-height:18px;margin:16px 0 0}.character-card[data-stage="attributes"]{width:min(1200px,96vw);grid-template-columns:.55fr 1.45fr}.character-card[data-stage="attributes"] .character-form{padding:22px 26px}.character-card[data-stage="attributes"] .creator-intro{margin-bottom:5px}#allocation-step .allocation-top{padding-top:6px}#allocation-step .attribute-row{min-height:56px}#allocation-step .attribute-row small{font-size:10px}#allocation-step .derived-stats{padding-left:16px}#allocation-step .allocation-columns{gap:16px}#allocation-step .attributes-actions{justify-content:space-between;align-items:center}#allocation-step #start{width:auto;flex:1;margin:0;padding:12px}#allocation-step .stat-grid{gap:8px}.character-card [hidden]{display:none!important}#creator-next{width:100%;margin-top:16px}#casting{padding:9px 12px;background:#102e2de8;border:1px solid #a6c8bc;border-radius:7px;color:#e8e9bd;margin:0 auto 10px;width:270px}#casting span{font-size:12px}#casting progress{display:block;width:100%;height:8px;accent-color:#dbdba5;margin-top:6px}#attributes-button small{display:block;color:#e3d28e;font-size:10px}#attributes-button{width:100%;padding:7px;background:#29483d;color:#f1e9cb;border:1px solid #a9b77d70;border-radius:8px;margin-top:5px;cursor:pointer}
@media(max-width:800px){.character-card[data-stage="attributes"]{grid-template-columns:1fr}.character-card[data-stage="attributes"] .character-visual{display:none}.allocation-columns{grid-template-columns:1fr}.derived-stats{padding-left:0;border-left:0}.stat-grid{grid-template-columns:repeat(3,1fr)}#attributes-panel{padding:16px}#allocation-step .allocation-columns{grid-template-columns:1fr}.character-card[data-stage="attributes"] .character-form{max-height:90dvh;overflow:auto}.attribute-row{min-height:48px}.allocation-top{padding-top:10px}}
@media(min-width:801px){.stat-grid{grid-template-columns:repeat(3,1fr)}.stat-grid b{font-size:14px}.attribute-row{min-height:53px}#attributes-panel{padding:20px 26px}.allocation-top{padding:12px 0 8px}.attributes-heading{padding-bottom:10px}#allocation-step .attribute-row{min-height:51px}.character-card[data-stage="attributes"]{min-height:630px}#allocation-step .allocation-note{margin:7px 0}}
/* 配點預覽的戰鬥細項（2026-10-09）。 */
.combat-details{display:grid;grid-template-columns:auto 1fr;gap:2px 12px;margin:8px 0;font-size:13px}.combat-details dt{opacity:.75}.combat-details dd{margin:0}
