.game-version select{background:#17231b;color:#cfbe8c;border:1px solid #5a6042;padding:8px 10px;font-size:10px;max-width:180px}.game-version option:disabled{color:#78816c}.party-hero{background:linear-gradient(90deg,#15271fed,#15271fbb 50%,#15271f33),url('/assets/images/camp-valley.png') 85% 60%/cover;border:1px solid #68724966;border-radius:7px;padding:29px 32px;min-height:230px;position:relative;margin-bottom:23px}.party-hero h1{font-size:43px;line-height:1.1;color:#ece0bf;margin:13px 0 13px}.party-hero h1 em{font-style:normal;color:#dbbe83}.party-hero p{font-size:12px;color:#acb8a0;line-height:1.8}.party-hero .eyebrow{font-size:8px;letter-spacing:1.8px}.party-hero-badge{position:absolute;right:25px;bottom:22px;padding:7px 11px;border:1px solid #b3a36f55;border-radius:5px;background:#122419c9;color:#d5cb9f;font-size:10px;display:flex;gap:7px;align-items:center}.party-toolbar{display:flex;align-items:center;gap:14px;margin:19px 0;flex-wrap:wrap}.party-toolbar label{font-size:10px;color:#8fa084;display:flex;align-items:center;gap:10px}.party-toolbar select{font-size:11px;max-width:240px;padding:8px 10px}.party-toolbar>span{margin-left:auto;font-size:9px;color:#a6a27a}.party-toolbar>.gold-button{font-size:10px;padding:9px 13px}.party-context-note{display:flex;align-items:flex-start;gap:9px;font-size:10px;color:#9da98d;line-height:1.8;margin:18px 0 22px}.party-context-note>.icon{width:16px;height:16px;margin-top:2px;color:#b3aa7d}.party-setup{display:grid;grid-template-columns:1fr 1fr 110px;gap:15px;margin-bottom:27px;padding:18px 20px}.party-setup label{font-size:10px;color:#a3b094;display:flex;flex-direction:column;gap:7px}.party-setup input{width:100%;min-width:0;font-size:12px}.party-members{margin-bottom:28px}.party-members .eyebrow,.quest-panel .eyebrow{font-size:8px;letter-spacing:1.6px;margin-bottom:7px}.party-members .section-header h2,.quest-panel .section-header h2{font-size:25px}.member-grid{display:flex;gap:12px;flex-wrap:wrap}.member-card{flex:1 1 160px;max-width:350px;min-width:0;background:linear-gradient(135deg,#263023,#19251d);border:1px solid #4a5238;border-radius:6px;padding:15px;display:grid;grid-template-columns:36px 1fr 21px;gap:7px 10px;align-items:center}.member-avatar{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#83713b55,#2d3a26);border:1px solid #a58b4255;width:35px;height:39px;border-radius:6px;color:#d8bd83;font:22px var(--serif)}.member-name{min-width:0}.member-name h3{font-size:19px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-name>span{font-size:9px;color:#a3b18d}.member-card>.text-button{padding:3px}.member-card>.text-button .icon{width:14px}.member-status{grid-column:1/-1;font-size:8px;line-height:1.6;color:#93a184;padding:7px 0 2px}.member-counts{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px 12px;border-top:1px solid #465035;padding-top:8px;font-size:9px;color:#b6c09e}.member-counts b{font-weight:400;color:#c9a18a}.party-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:20px;align-items:start}.quest-panel{min-width:0;padding:20px}.quest-phase-filters{display:flex;gap:5px;margin:18px 0 14px;flex-wrap:wrap}.quest-phase-filters button{border:1px solid #4c573a;background:transparent;color:#96a88a;font-size:9px;padding:6px 9px;border-radius:4px}.quest-phase-filters button.selected{background:#9d894126;border-color:#8c8151;color:#d7c590}.quest-table-scroll{overflow:auto;scrollbar-width:thin;scrollbar-color:#6b7548 #1c291c;border:1px solid #3e4a32;border-radius:5px}.quest-matrix{border-collapse:collapse;width:100%;font-size:10px;text-align:left}.quest-matrix th,.quest-matrix td{padding:13px 10px;border-bottom:1px solid #3f4b32;border-right:1px solid #3c482e;vertical-align:top}.quest-matrix th:last-child,.quest-matrix td:last-child{border-right:0}.quest-matrix tr:last-child>td,.quest-matrix tr:last-child>th{border-bottom:0}.quest-matrix thead th{font-weight:400;color:#bbb891;background:#233021;font-size:10px;white-space:nowrap}.quest-matrix th:first-child{min-width:220px;max-width:280px}.quest-title{display:flex;align-items:start;gap:5px;background:none;border:0;text-align:left;padding:0;color:#d3d6bd;font-size:11px;line-height:1.7;width:100%}.quest-title .icon{width:12px;height:12px;margin-top:4px;flex-shrink:0}.quest-phase{display:block;font-size:7px;color:#c0af80;letter-spacing:.5px;margin:6px 0}.quest-dependency{display:block;font-weight:400;color:#94a483;font-size:8px;margin:6px 0;line-height:1.7}.quest-dependency .icon{width:11px;height:11px}.share-state{font-size:8px;line-height:1.7;color:#8e9e80;font-weight:400;display:flex;gap:5px;align-items:start}.share-state>.icon{width:12px;height:12px;flex-shrink:0;margin-top:2px}.share-state.share-yes{color:#abc49b}.quest-state{font-size:9px;width:123px;padding:8px 5px;color:#b9ba99;border-color:#4d593b;background:#18251b}.quest-state.state-unknown{color:#8d9c81;border-style:dashed}.quest-state.state-done{color:#c0d7a7;background:#354b2e}.quest-state.state-held{color:#a6c9d1;background:#223d36}.quest-state.state-needed{color:#d3ba83;background:#38371f}.quest-state.state-blocked{color:#d4a18a;background:#3a2920}.party-caption{font-size:9px;color:#899d7d;line-height:1.8;margin:14px 0 0}.party-checklist .panel{padding:18px;margin-bottom:15px}.party-checklist .eyebrow{font-size:8px;letter-spacing:1px;margin-bottom:9px}.party-checklist h3{font-size:23px;color:#dad2b4;margin-bottom:10px}.party-checklist p{font-size:10px;line-height:1.8;color:#9daa8a}.must-take{padding:13px 0;border-bottom:1px solid #3f4a32;display:flex;gap:8px}.must-take>.icon{width:14px;height:14px;color:#c3ae74;flex-shrink:0;margin-top:3px}.must-take strong{display:block;font-weight:400;font-size:11px;line-height:1.6;color:#c7cbaa}.must-take span{display:block;font-size:9px;color:#a3ad8c;margin-top:6px}.party-checklist textarea{width:100%;font-size:11px;min-height:125px;line-height:1.7;padding:10px}.party-empty{padding:28px 18px;border:1px dashed #5e6d43;background:#21302166;border-radius:5px;font-size:12px;color:#aebc9c;line-height:1.9}.proposal-panel{display:grid;grid-template-columns:1fr 250px;gap:30px;align-items:center;border:1px solid #6b684366;border-radius:6px;padding:26px;margin-top:27px;background:radial-gradient(ellipse at 0 0,#776c3522,transparent 60%),#1c271d}.proposal-panel h2{font-size:28px;color:#e0d7ba;margin:10px 0}.proposal-panel p{font-size:11px;color:#9fad90;line-height:1.9;max-width:480px}.proposal-panel .eyebrow{font-size:8px;letter-spacing:1.3px}.proposal-panel .tag{font-size:8px;letter-spacing:1px;color:#a5a880;display:block;margin-bottom:12px}.proposal-panel .full-width{margin-top:9px}.proposal-lifecycle{display:flex;align-items:center;gap:9px;margin-top:20px;flex-wrap:wrap}.proposal-lifecycle span{padding:5px 8px;border:1px solid #505a39;color:#7f9074;font-size:9px;border-radius:4px}.proposal-lifecycle span.current{color:#d7c490;background:#9b824827;border-color:#92844d}.proposal-lifecycle .icon{width:13px;height:13px;color:#6e7d60}.party-notes{display:block;margin:24px 0 0;font-size:11px;color:#9daa8b}.party-notes textarea{display:block;width:100%;font-size:12px;margin-top:9px;min-height:85px}.quest-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.proposal-member{border:1px solid #4b5739;border-radius:5px;padding:17px;margin:15px 0;background:#1d2b1d}.proposal-member h3{font-size:23px;color:#d5c38e;margin-bottom:8px}.proposal-task{padding:9px 0;border-bottom:1px solid #3c4a30;font-size:11px;color:#becbac}.proposal-task:last-child{border:0}.proposal-task small{display:block;font-size:9px;color:#8fa180;margin-top:4px}.mention-choices{display:grid;gap:9px;margin:20px 0}.mention-choices button{justify-content:space-between;font-size:13px}.mention-choices span{font-size:10px;color:#92a083}.mention-trigger{border:1px solid #566343;background:#263622;color:#c4c6a0;padding:6px 8px;border-radius:4px;font-size:10px;white-space:nowrap}.chat-party-entry{display:flex;align-items:center;gap:10px;justify-content:space-between;border-top:1px solid #3e4b32;margin:0 21px 13px;padding-top:12px}.chat-party-entry>span{font-size:9px;color:#7e9475}.chat-party-context{padding:13px 0;margin-top:16px;border-top:1px solid #455238;border-bottom:1px solid #455238}.chat-party-context .eyebrow{margin-bottom:8px}.chat-party-context h3{font-size:21px}.chat-party-context p{font-size:10px;color:#a1b190;margin:7px 0 10px;overflow-wrap:anywhere}.chat-party-context small{display:block;font-size:8px;color:#8a9b7c;margin-top:10px}.chat-composer>div>span{margin-left:auto}.party-setup input[type=number]{appearance:textfield}
@media(max-width:1400px){.party-layout{grid-template-columns:1fr}.party-checklist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.party-checklist .panel{margin:0}.quest-matrix th:first-child{min-width:260px}.quest-state{width:125px}}



@media(min-width:701px) and (max-width:1050px){.party-checklist{grid-template-columns:1fr 1fr}.party-checklist>.panel:last-child{grid-column:1/-1}}

/* The preparation matrix is a readable overview; manual edits live in the quest card. */
.quest-matrix .quest-status{display:inline-flex;align-items:center;gap:8px;width:auto;min-width:0;padding:5px 0;border:0;background:none;font-size:11px;white-space:nowrap;line-height:1.6}
.quest-matrix .quest-status>.icon{width:14px;height:14px;flex-shrink:0}
.quest-matrix .quest-status.state-done{color:#c7d7a7;background:none}.quest-matrix .quest-status.state-held{color:#b1ccd1;background:none}.quest-matrix .quest-status.state-needed{color:#ddc18b;background:none}.quest-matrix .quest-status.state-blocked{color:#dda38e;background:none}.quest-matrix .quest-status.state-unknown{color:#a3a58d;background:none}
.quest-member-editor{padding-top:18px;margin-top:6px;border-top:1px solid #98825240}.quest-member-editor h3{font-size:22px;margin-bottom:7px}.quest-member-editor>p{font-size:11px;line-height:1.7;margin-bottom:17px}
.quest-member-states{border:0;border-top:1px solid #98825230;margin:0 0 16px;padding:9px 0 0;min-width:0}.quest-member-states legend{padding:0 9px 0 0;color:#e3c996;font-size:13px}.quest-state-options{display:flex;flex-wrap:wrap;gap:6px}
.form-stack .quest-state-option{display:block;position:relative;cursor:pointer;font-size:10px;font-weight:400}.quest-state-option input{position:absolute;opacity:0;width:1px;height:1px;margin:0;padding:0}.quest-state-option>span{display:flex;align-items:center;gap:6px;border:1px solid #98825240;border-radius:5px;padding:8px 10px;color:#aca990;background:#1a21172e;transition:border-color .15s,background .15s}.quest-state-option .icon{width:12px;height:12px}.quest-state-option:hover>span{border-color:#b6a06c}.quest-state-option input:checked+span{border-color:#c8ad72;background:#b2964e23;color:#e6d2a2}.quest-state-option.state-done input:checked+span{border-color:#91a974;background:#6c85502e;color:#d3e3b7}.quest-state-option.state-held input:checked+span{border-color:#80a5ac;background:#5e8b9526;color:#c8e1e7}.quest-state-option.state-blocked input:checked+span{border-color:#ba8b70;background:#a3624726;color:#edbca7}.quest-state-option input:focus-visible+span{outline:2px solid #e3c17f;outline-offset:3px}
