.page-header{align-items:flex-start;gap:24px;margin-bottom:26px}.header-actions{justify-content:flex-end;gap:12px;max-width:65%}.editor-nav{gap:8px;margin-bottom:14px}.editor-nav>button{min-height:44px;padding:10px 17px}.editor-user-badge{display:inline-flex;gap:8px;align-items:center;min-height:42px;padding:8px 12px;border:1px solid #52634e;border-radius:8px;color:#e5d6b2;font-size:13px;font-weight:550;max-width:100%;overflow-wrap:anywhere}.editor-user-badge small{border-left:1px solid #425044;padding-left:8px;font-size:11px}.editor-status-dot{display:inline-block;flex:0 0 9px;width:9px;height:9px;border-radius:50%;background:#83ce79;box-shadow:0 0 0 3px #83ce7914}.is-away .editor-status-dot{background:#e1bc57;box-shadow:0 0 0 3px #e1bc5714}.editor-presence{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.editor-presence:empty{display:none}.info-header{align-items:center;gap:16px}.info-description{max-width:100%;font-size:13px;color:#a6b8a6;margin:14px 0 10px}.info-status{font-size:13px;margin:12px 0 20px}.info-table th{padding:13px 12px;vertical-align:middle}.info-table td{vertical-align:middle}.info-table textarea{min-height:58px;height:70px;line-height:1.5;padding:12px;resize:vertical}.info-table .info-collection-heading th{position:static;padding:11px 14px;background:#304330;color:#f1dab0;border-top:1px solid #6c785655;font-size:15px;font-weight:650;letter-spacing:.02em}.info-table tbody tr:not(.info-collection-heading):hover{background:#233b2a66}.info-percent-field{display:flex;align-items:center;gap:5px;padding:6px 12px;min-width:110px;min-height:70px}.info-percent-field input{width:85px;padding:7px 4px;border:0;border-bottom:1px solid #617558;border-radius:0;background:transparent;font-variant-numeric:tabular-nums;text-align:right}.info-percent-field span{color:#dfbf7f}.info-table .info-item-description{height:76px;min-width:210px}.info-thumbnail{width:160px;height:100px}.info-table td.info-thumbnail-cell{width:180px;min-width:180px;padding:8px}.info-notes{gap:10px}.info-notes textarea{min-height:120px;font-weight:400}.object-preview-picture.is-table{width:min(1100px,86vw);max-height:calc(94dvh - 135px);height:auto}.object-preview-header h2{font-size:25px}.object-preview-header button{width:44px;height:44px;padding:0}.object-preview-picture{background:transparent}@media(max-width:1050px){.header-actions{max-width:60%}}@media(max-width:760px){.header-actions{max-width:none;justify-content:flex-start}.editor-presence{justify-content:flex-start}.page-header{gap:18px}.info-actions{width:100%}.info-actions button{flex:1}.info-header h2{font-size:25px}}

/* Keep selection and its actions together at every viewport width. */
.reference-set-controls{display:grid;gap:12px;width:100%;margin:0 0 18px;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:var(--panel);min-width:0}
.reference-set-row{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;min-width:0}
.reference-set-label{display:grid;flex:0 1 420px;min-width:0;gap:8px;color:var(--muted);font-size:12px;font-weight:550}
.reference-set-controls select{width:100%;max-width:none;height:44px;min-width:0;padding:9px 12px;font-size:14px}
.reference-set-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.reference-set-controls button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;min-height:44px;padding:9px 15px;white-space:nowrap;font-size:14px;line-height:20px;transition:background .15s,border-color .15s,box-shadow .15s}
.reference-set-controls .reference-set-add{width:auto;padding:9px 15px;font-size:14px;color:var(--gold);border-color:#827249;background:#dfbf7f0b}
.reference-set-plus{display:inline-flex;align-items:center;justify-content:center;width:18px;height:20px;font-size:23px;font-weight:400;line-height:1}
.reference-set-controls button:hover:not(:disabled){background:#304631;border-color:var(--gold)}
.reference-set-controls button:active:not(:disabled){background:#3c5239;box-shadow:inset 0 2px 4px #0003}
.reference-set-controls .danger{color:#e9b3a8;border-color:#735a4e}
.reference-set-controls .danger:hover:not(:disabled){background:#412d26;border-color:#b8806f}
.reference-set-mode{font-size:12px;color:var(--muted);line-height:1.5}
.reference-set-mode:empty,.reference-set-status:empty{display:none}
.reference-set-status{width:100%;margin:0;font-size:13px;line-height:1.5;color:var(--gold)}
.reference-set-form{display:grid;grid-template-columns:minmax(200px,420px) auto;align-items:end;justify-content:start;gap:12px;margin:0;padding:16px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}
.reference-set-form label{min-width:0;font-size:12px;color:var(--muted)}
.reference-set-form input{height:44px;font-size:14px}
.reference-set-form small{grid-column:1/-1;order:0;width:auto;font-size:12px}
.reference-set-form .info-actions{grid-column:2;grid-row:1;flex-wrap:nowrap}
@media(max-width:760px){.reference-set-controls{padding:16px}.reference-set-label{flex-basis:100%}.reference-set-form{grid-template-columns:minmax(0,1fr)}.reference-set-form .info-actions{grid-column:1;grid-row:auto;width:100%}.reference-set-form .info-actions button{flex:1}}
@media(max-width:480px){.reference-set-buttons{width:100%}.reference-set-controls .reference-set-add{width:100%}.reference-set-buttons .reference-set-reset,.reference-set-buttons .reference-set-delete{flex:1}.reference-set-form{padding-top:14px}}

.welcome-editor-form .welcome-enabled{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;cursor:pointer;font-size:14px;line-height:1.5}
.welcome-enabled .welcome-check{display:block;flex:0 0 22px;width:22px;height:22px;margin:0;padding:0;accent-color:var(--gold);cursor:pointer}
.welcome-enabled:hover{background:#25392b;border-color:#827249}
.welcome-enabled:has(:checked){border-color:#827249;background:#dfbf7f09}
.welcome-enabled:has(:disabled){opacity:.55;cursor:default}
.welcome-enabled:has(:disabled) .welcome-check{cursor:default}

/* Align labelled fields and actions on their shared bottom edge. */
.review-tools{align-items:flex-end;justify-content:flex-start;flex-wrap:wrap;gap:12px}
.review-tools label{min-width:0;gap:7px;font-size:14px}
.review-tools select,.review-tools button{height:44px;min-height:44px;margin:0;line-height:22px}
.review-tools select{padding:10px 12px}
.review-tools button{padding:10px 16px;white-space:nowrap}
.review-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;margin-bottom:18px}
.review-heading{min-width:0}.review-heading h2{margin-bottom:4px}
.review-filter-actions{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;min-width:0}
.review-filter-actions label{width:220px;max-width:100%}
#reviewStatus{margin:0;min-height:20px}#reviewList:not(:empty){margin-top:18px}
.chat-settings-form,.chat-channel-form{display:grid;gap:16px;margin:20px 0 0;padding:18px;border:1px solid var(--line);border-radius:10px;background:#ffffff02;min-width:0}
.chat-settings-form{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end}
.chat-settings-form label,.chat-channel-form label{min-width:0;gap:7px;font-size:14px}
.chat-settings-form input,.chat-channel-form input{height:44px;min-height:44px;padding:10px 12px;font-weight:400}
.chat-settings-form button,.chat-channel-form button{height:44px;min-height:44px;padding:10px 16px;line-height:22px;white-space:nowrap}
.chat-settings-form>.hint,.chat-channel-form>.hint{grid-column:1/-1;margin:0;line-height:1.6;font-weight:400}
.chat-moderation-tools{margin:0 0 18px;gap:12px}
.chat-moderation-tools>label{flex:0 1 220px}
.chat-moderation-actions{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;min-width:0}
#chatWorkspace>.info-status{margin:16px 0;font-size:13px}
.chat-channel-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin:0 0 20px}
.chat-channel-form h3{grid-column:1/-1;margin:0;font-size:16px;line-height:1.5}
.chat-channel-form>.info-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0;width:auto}
.chat-channel-form .info-actions button{flex:none}
@media(max-width:1100px){.chat-settings-form{grid-template-columns:repeat(3,minmax(0,1fr))}.chat-settings-form>button{grid-column:1/-1;justify-self:start}}
@media(max-width:760px){.review-header{grid-template-columns:minmax(0,1fr);gap:16px}.review-filter-actions{justify-content:flex-start}.review-filter-actions label{flex:1 1 200px;width:auto;max-width:320px}.chat-settings-form{grid-template-columns:minmax(0,1fr)}.chat-settings-form>button{width:100%;justify-self:stretch}.chat-settings-form,.chat-channel-form{padding:16px}.chat-channel-form{grid-template-columns:minmax(0,1fr)}.chat-moderation-tools>label{flex:1 1 180px}.chat-moderation-actions{flex:1 1 100%}.chat-channel-form .info-actions{width:100%}}
@media(max-width:480px){.review-filter-actions label{flex-basis:100%;max-width:none}.review-filter-actions>button{width:100%}.chat-moderation-tools>label{flex-basis:100%}.chat-moderation-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:10px}.chat-moderation-actions button{width:100%;white-space:normal;height:auto;min-height:44px}.chat-channel-form>.info-actions{display:grid;grid-template-columns:minmax(0,1fr)}.chat-channel-form .info-actions button{width:100%;white-space:normal;height:auto;min-height:44px}}

.notice-editor-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:16px 0 10px}.notice-editor-tabs button{height:44px;min-height:44px}.notice-editor-tabs [aria-selected=true]{border-color:var(--gold);background:#354635;color:#fff0cb}.notice-editor-description{max-width:900px;line-height:1.6}.notice-editor-settings{display:grid;grid-template-columns:minmax(150px,1fr) minmax(180px,1fr);gap:14px;align-items:end}.notice-editor-settings select{height:44px}.notice-editor-pages{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#1d3024}.notice-page-arrow,.notice-page-add{display:grid;place-items:center;width:40px;min-height:40px;height:40px;padding:0;line-height:1;font-size:23px}.notice-page-add{color:#d6e7b8;border-color:#688257!important}.notice-page-counter{min-width:60px;text-align:center;font-size:14px;font-variant-numeric:tabular-nums}.notice-editor-pages>button:last-child{margin-left:auto;min-height:40px;font-size:13px}.notice-editor-page-fields{display:grid;gap:16px;min-width:0;margin:0;padding:0;border:0}.notice-editor-page-fields textarea{min-height:180px}.welcome-editor-form{gap:16px;max-width:940px;margin-top:18px}@media(max-width:520px){.notice-editor-settings{grid-template-columns:minmax(0,1fr)}.notice-editor-pages>button:last-child{margin-left:0}.notice-editor-tabs button{flex:1;padding:9px 11px;font-size:14px}}

@media(max-width:520px){.notice-editor-tabs{align-items:stretch}.notice-editor-tabs button{height:auto;min-height:44px;line-height:20px;white-space:normal}}

.editor-games{display:flex;align-items:center;gap:12px;margin:0 0 18px;padding-bottom:16px;border-bottom:1px solid var(--line)}.editor-game-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid var(--gold);border-radius:8px;background:#354635;color:#fff0cb;font-size:16px;font-weight:650;text-decoration:none}.editor-game-link:hover{background:#435640}.editor-game-link:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.page-header{min-height:44px;margin-bottom:18px}.header-actions{max-width:100%;margin-left:auto;align-items:center}.header-actions>button,.header-actions>select,.editor-user-badge{height:44px;min-height:44px}.editor-user-icon{display:block;flex:0 0 16px;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.editor-user-badge>span{overflow:hidden;text-overflow:ellipsis;min-width:0}.editor-user-badge{white-space:nowrap}.editor-user-badge .editor-status-dot{flex-shrink:0}.editor-nav{padding-top:0;margin-top:0}.info-group-add{box-sizing:border-box;flex:0 0 36px;line-height:1}.info-plus-icon{flex:0 0 16px}@media(max-width:760px){.header-actions{margin-left:0}.editor-games{margin-bottom:16px}.editor-user-badge{max-width:100%}.editor-games .editor-game-link{max-width:100%}}
.editor-game-title{margin:0;font:30px/1.2 Georgia,serif;color:var(--text)}.editor-admin-link{display:inline-flex;align-items:center;justify-content:center;height:44px;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:7px;color:var(--text);background:transparent;font:550 15px/22px system-ui,sans-serif;text-decoration:none}.editor-admin-link:hover{background:#334b39}.editor-admin-link:focus-visible{outline:2px solid var(--gold);outline-offset:3px}@media(max-width:760px){.editor-game-title{font-size:27px}}
@media(max-width:760px){.form-grid{grid-template-columns:minmax(0,1fr)}.form-grid>*{min-width:0}.form-grid input,.form-grid select,.form-grid textarea{min-width:0}.list-head{flex-wrap:wrap}}
