#skill-check-editor {margin:1rem 0;padding:.8rem 0;border-block:1px solid var(--line);}
#skill-check-editor summary,.skill-proof summary {cursor:pointer;}
#skill-check-editor p,.skill-proof p {font-size:.9rem;line-height:1.65;}
.skill-check-fields {display:flex;flex-wrap:wrap;gap:.6rem 1rem;}
.skill-check-fields label {display:grid;flex:1 1 7rem;gap:.25rem;min-width:0;}
.skill-check-fields select {min-width:0;width:100%;}
#check-queued:not([hidden]) {display:flex;align-items:center;justify-content:space-between;gap:.4rem;grid-column:1/-1;font-size:.85rem;}
.skill-proof {margin:.65rem 0;font-size:.85rem;}
.skill-proof p {white-space:pre-line;}
.message .judgment-proof{display:flex;flex-direction:column;align-items:flex-start;gap:3px;margin:4px 0 6px;padding:0;border:0;background:none;max-width:100%;}
.message .round-roll,.message .round-overflow{margin:0;padding:0;border:0;background:none;max-width:100%;}.message>.round-roll{margin:4px 0 6px;}
.message .roll{display:inline-block;vertical-align:top;width:fit-content;box-sizing:border-box;max-width:100%;margin:0;padding:1px 7px;border:1px solid;border-radius:4px;background:#111511;font:400 12px/1.55 var(--serif,serif);overflow-wrap:anywhere;list-style:none;}
.message .roll::-webkit-details-marker{display:none;}.message .roll.ok{border-color:rgba(125,148,89,.5);color:#b4ce97;}.message .roll.fail{border-color:rgba(180,90,69,.5);color:#e4a497;}
.message .roll.blind{border-color:rgba(162,136,209,.5);color:#cbbbe8;background:rgba(42,33,58,.45);}
.message.assistant .round-roll>p{margin:4px 0 6px;padding:3px 8px;border:0;border-left:1px solid #45546b;border-radius:0;background:none;color:var(--muted);font-size:12px;line-height:1.6;}.message .round-overflow>summary{font-size:12px;}
.dice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;}.dice-grid button{display:grid;gap:4px;padding:7px 3px;background:#1b2b40;color:var(--ink);border:1px solid #3d526f;min-height:48px;}.dice-grid button:hover{background:#294261;}.dice-grid small{font-size:11px;color:var(--muted);}#dice-choices h3{font:600 16px/1.4 var(--serif);margin:13px 0 7px;}
#dice-table{width:min(420px,calc(100vw - 24px));max-height:85dvh;overflow:auto;}#dice-table .skill-check-fields{margin:12px 0;}.dice-status,.dice-actions,.dice-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px;}.dice-status{flex-wrap:nowrap;padding:12px 0;border-bottom:1px solid var(--line);}.dice-status b{font:600 24px/1.2 Georgia,serif;padding:10px;color:#e7c888;border:1px solid #75694f;border-radius:8px;}.dice-status p{font-size:13px;color:var(--muted);}.dice-actions{padding-block:8px;}.dice-options{justify-content:space-between;border-top:1px solid var(--line);}.dice-options label{display:flex;align-items:center;gap:5px;min-height:44px;}
