.community-tools{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;margin:1rem 0}.community-tools label{display:flex;align-items:center;gap:.5rem}.community-tools input{width:auto}.rating-control{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem;border-top:1px solid var(--line,#45464c);padding-top:1rem;margin-top:1rem}.rating-summary{font-size:.9rem;color:var(--muted,#aeb0b8)}.community-dialog{color:var(--text,#f5f4f2);background:var(--panel,#24252a);border:1px solid var(--line,#555);border-radius:20px;padding:1.5rem;width:min(640px,calc(100% - 2rem));max-height:90dvh;overflow:auto}.community-dialog::backdrop{background:rgb(0 0 0 / .78)}.community-dialog h2{margin-top:0}.community-dialog button{min-height:44px}.star-choices{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}.star-choices button[aria-pressed=true]{background:#ff922e;color:#18191c}.card-dialog canvas{display:block;width:100%;height:auto;margin:1rem 0;border-radius:8px}.card-actions{flex-wrap:wrap}.community-panel{margin:1.5rem 0}.community-panel select{max-width:100%}.award-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.award-card{border:1px solid var(--line,#555);border-radius:14px;padding:1.25rem}.award-card blockquote{margin:1rem 0;white-space:pre-wrap;overflow-wrap:anywhere}.award-card h3{color:var(--accent,#ff922e)}.award-card ol{padding-left:1.5rem}.award-card li{padding:.4rem 0}.award-card a{color:inherit}.extras-list{display:grid;gap:1rem;padding-left:1.5rem}.extras-list a{color:var(--accent,#ff922e)}.scope-select{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin:1rem 0}.footnote a{color:inherit}[hidden]{display:none!important}@media(max-width:650px){.award-grid{grid-template-columns:1fr}.community-dialog{padding:1rem}.star-choices button{flex:1 0 28%}}

.award-badges{display:flex;gap:.5rem;flex-wrap:wrap}.award-badges:empty{display:none}.award-badges a{text-decoration:none}.scope-select select{width:auto;max-width:100%}.rating-control button:disabled{opacity:.6;cursor:wait}

/* Compact archive cards: quote first, tools on demand. */
#results{align-items:stretch}
.quote-card.quote-card-compact{min-height:0;padding:1rem 1.3rem;gap:0}
.quote-card-compact .card-top{min-height:32px}
.quote-card-compact .compact-copy{border:0;background:transparent;color:var(--muted);padding:.25rem .5rem;min-width:36px;min-height:36px;font-size:1.2rem;line-height:1}
.quote-card-compact .compact-copy:hover{background:var(--raised);color:var(--accent)}
.quote-card-compact blockquote{font-size:1.25rem;line-height:1.6;margin:.55rem 0 1.2rem}
.quote-details{margin-top:auto;min-width:0}
.quote-details>summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;list-style:none;cursor:pointer;min-height:32px;border-radius:5px}
.quote-details>summary::-webkit-details-marker{display:none}
.compact-game{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;color:var(--muted)}
.details-label{display:flex;align-items:center;gap:.45rem;flex-shrink:0;font-size:.875rem;color:var(--muted)}
.details-label::after{content:'+';font-size:1.1rem;color:var(--accent)}
.quote-details[open] .details-label::after{content:'−'}
.details-open,.quote-details[open] .details-closed{display:none}
.quote-details[open] .details-open{display:inline}
.quote-details>summary:hover .details-label{color:var(--accent)}
.quote-details-body{border-top:1px solid var(--line);padding-top:1rem;margin-top:.6rem;display:grid;gap:.85rem}
.quote-details-body .metadata{display:grid;gap:.4rem}
.quote-details-body .rating-control{margin-top:0}
.quote-details-body .award-badges:empty{display:none}
@media(max-width:650px){.quote-card.quote-card-compact{padding:.9rem 1rem}.quote-card-compact blockquote{font-size:1.15rem}.quote-details>summary{min-height:40px}.quote-card-compact .compact-copy{min-width:40px;min-height:40px}}

.compact-header-meta{display:flex;align-items:center;justify-content:flex-end;gap:.7rem;min-width:0}.compact-header-meta .date{text-align:right;overflow-wrap:anywhere}
/* Ratings remain a small part of the quote header. */
.compact-identity{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;min-width:0}.compact-stars{display:inline-flex;align-items:center;gap:1px;color:#e6ad18;font-size:.8rem;line-height:1}.compact-stars:empty{display:none}.compact-stars svg{display:block;flex:none}.compact-header-meta{flex-shrink:0}.quote-card-compact .card-top{flex-wrap:wrap;gap:.35rem .8rem}.quote-card-compact .compact-header-meta{margin-left:auto}.archive-nav{flex-wrap:wrap}.rating-game{max-width:760px;margin:2rem auto 3rem}.rating-game h1{margin-bottom:.75rem}.game-quote{margin:1.5rem 0;min-height:180px}.game-quote blockquote{font-size:clamp(1.3rem,3vw,1.9rem);line-height:1.55;margin:1.4rem 0;outline-offset:5px}.game-choices{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.65rem}.game-choices button{padding:1rem .5rem;font-size:1.15rem;min-height:54px}.game-choices button:disabled{opacity:.45;cursor:wait}.game-bottom{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.game-bottom span{font-size:.9rem;color:var(--muted)}.game-question{font-weight:650}.rating-game #game-status{min-height:1.6em}.rating-game #game-start{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:1.25rem;margin:1rem 0}@media(max-width:500px){.game-choices{grid-template-columns:repeat(3,minmax(0,1fr))}} 

@media(min-width:1100px){.filters{grid-template-columns:minmax(0,1.4fr) minmax(0,.7fr) minmax(0,.8fr) minmax(0,1.2fr) minmax(0,1.2fr)}}

.star-filter{display:flex;flex-direction:column;gap:.35rem;min-width:0}.star-filter>span:first-child{font-size:.875rem;color:var(--muted)}.star-filter-slider{display:flex;width:fit-content;max-width:100%;padding:.3rem 0;cursor:pointer;border-radius:6px;touch-action:manipulation}.filter-star{display:block;position:relative;width:28px;height:36px;flex:0 0 28px}.filter-star svg{width:28px;height:28px;max-width:none;display:block}.star-base{display:block;color:var(--muted);opacity:.55}.star-base polygon{fill:none;stroke:currentColor;stroke-width:1.2}.star-gold{position:absolute;top:0;left:0;overflow:hidden;width:0;height:28px;color:#e6ad18;pointer-events:none}.star-gold polygon{fill:currentColor}.filter-star.is-full .star-gold{width:100%}.filter-star.is-half .star-gold{width:50%}.star-filter-slider:hover .star-base{opacity:.9}.star-filter-value{font-size:.875rem;color:var(--text)}.star-filter-modes{display:flex;flex-wrap:wrap;gap:.3rem}.star-filter-modes button{font-size:.8rem;padding:.3rem .45rem;min-height:32px;background:transparent}.star-filter-modes button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}

/* Keep the rating control as shallow as the neighbouring form fields. */
.filters{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.star-filter{grid-column:1 / -1;display:grid;grid-template-columns:140px max-content;align-items:center;justify-content:start;column-gap:.75rem;row-gap:.4rem}
.star-filter>span:first-child{grid-column:1;grid-row:1;font-weight:550;color:var(--text)}
.star-filter-value{grid-column:2;grid-row:1;font-size:.8rem;color:var(--muted)}
.star-filter-slider{grid-column:1;grid-row:2;min-height:48px;align-items:center;padding:0}
.star-filter-modes{grid-column:2;grid-row:2;flex-wrap:nowrap;align-items:center;min-height:48px}
.star-filter-modes button{white-space:nowrap}
@media(min-width:1200px){.filters{grid-template-columns:minmax(0,1.3fr) minmax(0,.65fr) minmax(0,.75fr) minmax(0,1.1fr) 335px}.star-filter{grid-column:auto}}
@media(max-width:420px){.star-filter{grid-template-columns:minmax(0,1fr);row-gap:.2rem}.star-filter>span:first-child{grid-row:1;grid-column:1}.star-filter-value{grid-row:2;grid-column:1}.star-filter-slider{grid-row:3;grid-column:1}.star-filter-modes{grid-row:4;grid-column:1;min-height:36px;flex-wrap:wrap}}

.rating-group-list{padding-left:1.4rem}.rating-group-list li{padding:.65rem 0;border-bottom:1px solid var(--line)}.rating-group-list a{color:var(--accent);overflow-wrap:anywhere}.rating-group-list strong{display:inline-block;margin-left:.7rem;white-space:nowrap}.rating-group-list small{display:block;color:var(--muted);margin-top:.2rem;font-size:.875rem}#rating-insights .metrics{margin:1.2rem 0}#rating-insights .extras-list p{white-space:pre-wrap;overflow-wrap:anywhere}

.quote-editor-fields{border:0;margin:0;padding:0;display:grid;gap:1rem;min-width:0}.quote-editor-fields label{display:grid;gap:.4rem;font-weight:600}.quote-editor-fields textarea,.quote-editor-fields input{box-sizing:border-box;width:100%;min-width:0;font:inherit;color:var(--text);background:var(--bg,#18191c);border:1px solid var(--line,#555);border-radius:8px;padding:.75rem}.quote-editor-fields textarea{resize:vertical}.quote-editor-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}.quote-editor button[type=submit]{background:var(--accent,#ff922e);color:#18191c}.quote-editor button:disabled{opacity:.6}#game-edit-actions:empty{display:none}#game-edit-actions{margin-top:.75rem}

.danger-button{color:#ffb4ae!important;background:#542822!important;border:1px solid #ad665d!important}.quote-editor input[readonly]{opacity:.7}.community-dialog blockquote{white-space:pre-wrap;overflow-wrap:anywhere;max-height:40vh;overflow:auto}

.game-xp{display:grid;gap:.6rem;margin:1rem 0;padding:1rem;border:1px solid var(--line,#555);border-radius:12px;background:var(--panel,#24252a)}.game-xp progress{width:100%;height:10px;accent-color:var(--accent,#ff922e)}.game-xp small{color:var(--muted,#bbb)}.achievement-panel{margin-bottom:1.5rem}.achievement-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.8rem;margin:1rem 0}.earned-achievement{border:1px solid var(--line,#555);border-radius:12px;padding:1rem;display:grid;gap:.4rem}.earned-achievement small{color:var(--muted,#bbb)}.earned-achievement strong{color:var(--accent,#ff922e)}.earned-achievement p{margin:0;font-size:.9rem}.achievement-toast{position:fixed;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));z-index:50;width:min(320px,calc(100vw - 2rem));box-sizing:border-box;padding:1rem 1.2rem;background:var(--panel,#24252a);color:var(--text,#fff);border:1px solid var(--accent,#ff922e);border-radius:14px;box-shadow:0 8px 28px #0005;display:grid;gap:.4rem;pointer-events:none}.achievement-toast strong{color:var(--accent,#ff922e)}.achievement-toast small,.achievement-toast span{font-size:.85rem}

.achievement-panel>summary{cursor:pointer;font-weight:700}.achievement-panel>summary:focus-visible{outline:2px solid var(--accent,#ff922e);outline-offset:4px}

.xp-track{height:10px;width:100%;overflow:hidden;border-radius:999px;background:var(--line,#45464c)}.xp-fill{height:100%;width:0%;border-radius:inherit;background:var(--accent,#ff922e);transition:width 500ms cubic-bezier(.22,.68,.25,1)}.achievement-toast{animation:achievement-slide-in 420ms cubic-bezier(.16,1,.3,1) both}.achievement-toast.achievement-toast-out{animation:achievement-slide-out 340ms cubic-bezier(.4,0,1,1) both}@keyframes achievement-slide-in{from{opacity:0;transform:translateX(calc(100% + 2rem))}to{opacity:1;transform:translateX(0)}}@keyframes achievement-slide-out{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(calc(100% + 2rem))}}@media(prefers-reduced-motion:reduce){.xp-fill{transition:none}.achievement-toast,.achievement-toast.achievement-toast-out{animation:none}}

/* v4.4: compact shared moderation inbox, only mounted for authorized accounts. */
.mod-notifications{position:relative}.mod-notifications>summary{list-style:none;cursor:pointer;position:relative;display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line,#494b50);border-radius:12px}.mod-notifications>summary::-webkit-details-marker{display:none}.mod-notifications svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mod-badge{position:absolute;right:-7px;top:-7px;min-width:20px;height:20px;padding:0 4px;display:grid;place-items:center;background:#bd1733;color:#fff;border-radius:12px;font-size:11px;font-weight:800}.mod-badge[hidden]{display:none}.mod-notification-panel{position:absolute;right:0;top:52px;width:min(330px,calc(100vw - 40px));max-height:65vh;overflow:auto;background:var(--surface,#222326);color:var(--text,#f5f5f5);border:1px solid var(--line,#494b50);border-radius:14px;padding:18px;z-index:100;box-shadow:0 16px 50px #0006}.mod-notification-panel button{display:block;width:100%;text-align:left;margin:10px 0;padding:10px;font-size:14px}.mod-notification-panel>a{display:block;margin-top:15px;color:var(--accent,#ff971b)}.mod-notification-panel p{font-size:14px}.quote-editor form>label{display:grid;gap:8px;margin:16px 0}.quote-editor form>button{margin:8px 8px 0 0}.own-quotes-panel{margin:24px 0}.own-quotes-panel>label{display:grid;gap:8px;margin-top:20px}.own-quotes-panel blockquote{margin:14px 0;font-size:1.1rem;overflow-wrap:anywhere}.profile-record{scroll-margin-top:24px}.profile-record button{margin:4px 8px 4px 0}.mod-notifications summary:focus-visible{outline:2px solid var(--accent,#ff971b);outline-offset:4px}
@media(max-width:600px){.mod-notifications{position:static}.mod-notification-panel{right:16px;top:82px}}

/* v4.4.1: the report and editable current quote share one dialog. */
.report-context{border-left:3px solid var(--accent,#ff971b);padding:12px 16px;margin:12px 0 18px;background:var(--surface,#222326);border-radius:0 10px 10px 0}.report-context h3{margin:0 0 8px;font-size:1rem}.report-context p{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.report-context p:last-child{font-size:.82rem;color:var(--muted,#b2b7c2)}.quote-editor textarea{white-space:pre-wrap;resize:vertical}.quote-editor{max-height:90dvh;overflow-y:auto}

/* v4.4.2: quiet report icon next to the quote command. */
.compact-report,.game-quote .compact-copy{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:36px;min-height:36px;padding:6px;border:0;background:transparent;color:var(--muted);line-height:1}.compact-report svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linejoin:round;stroke-linecap:round}.compact-report:hover,.game-quote .compact-copy:hover{background:var(--raised);color:var(--accent)}.compact-report:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.compact-header-actions{display:flex;align-items:center;gap:2px}.game-quote .compact-copy{font-size:1.2rem}.compact-header-meta{flex-wrap:wrap;justify-content:flex-end}.game-quote .card-actions:empty{display:none}
@media(max-width:650px){.compact-report,.game-quote .compact-copy{min-width:40px;min-height:40px}.compact-header-meta{column-gap:2px}}

/* v4.5 Community and profile settings */
.community-avatar{width:42px;height:42px;flex:0 0 42px;display:inline-grid;place-items:center;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-weight:750;overflow:hidden;vertical-align:middle}.community-avatar img{width:100%;height:100%;object-fit:cover}.community-person{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:650}.moderator-badge{color:#25bc68;font-size:1.15rem}.owner-badge{color:var(--accent);font-size:1.15rem}.community-search-label{display:grid;gap:8px;max-width:440px}.community-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:14px}.community-table{border-collapse:collapse;width:100%;min-width:720px;background:var(--panel)}.community-table th,.community-table td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--line)}.community-table th button{border:0;background:transparent;padding:0;font-size:.85rem;white-space:nowrap}.community-table th[aria-sort=ascending],.community-table th[aria-sort=descending]{color:var(--accent)}.community-table td:not(:first-child){font-variant-numeric:tabular-nums}.community-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin:20px 0}.public-profile-heading{display:flex;align-items:center;gap:18px;margin:32px 0 12px}.public-profile-heading .community-avatar{width:72px;height:72px;flex-basis:72px;font-size:2rem}.public-bio{white-space:pre-wrap;overflow-wrap:anywhere;max-width:70ch;margin:18px 0 28px}.public-quote{margin:22px 0;padding-bottom:12px;border-bottom:1px solid var(--line)}.public-quote blockquote{margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:1.1rem}.profile-public-toggle{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;margin:14px 0}.profile-public-toggle input{width:20px;height:20px;accent-color:var(--accent)}#profile-settings>label:not(.profile-public-toggle){display:grid;gap:8px}#profile-settings textarea{width:100%;background:var(--input);color:var(--text);border:1px solid var(--line);border-radius:9px;padding:12px;font:inherit;resize:vertical}#profile-favorites blockquote{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}.mobile-menu-toggle{display:none}#my-avatar{margin-bottom:12px}
@media(max-width:760px){.mobile-menu-toggle{display:block;margin:18px 0 10px}.archive-nav.has-mobile-menu:not(.menu-open){display:none}.archive-nav.has-mobile-menu.menu-open{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin-top:0;padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:12px}.archive-nav.has-mobile-menu a{display:block;padding:10px 12px}.public-profile-heading h1{overflow-wrap:anywhere}.community-pagination{gap:10px;font-size:.9rem}.earned-achievement .achievement-rarity{display:block}#settings-save{width:100%}}

.moderator-badge svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}

/* v4.6: reserve rarity space so hovering never moves adjacent cards. */
.earned-achievement .achievement-rarity{display:block;min-height:3.2em;opacity:0;transform:translateY(4px);transition:opacity .18s ease,transform .18s ease;color:var(--accent);pointer-events:none}
.earned-achievement.rarity-open .achievement-rarity{opacity:1;transform:none}
@media(hover:none),(max-width:760px){.earned-achievement .achievement-rarity{opacity:1;transform:none}}
.moderator-badge img{display:block;width:20px;height:20px;object-fit:contain}
.star-filter{grid-template-columns:140px minmax(0,1fr)}
.star-filter-modes{flex-wrap:wrap;gap:4px;min-width:0}.star-filter-modes button{font-size:.75rem;padding:.3rem .4rem}
.star-filter-value{min-width:0;overflow-wrap:anywhere}
@media(min-width:1200px){.filters{grid-template-columns:minmax(0,1.3fr) minmax(0,.65fr) minmax(0,.75fr) minmax(0,1.1fr) 360px}}
@media(max-width:420px){.star-filter{grid-template-columns:minmax(0,1fr)}}
#page-content{min-width:0} .navigation-status{position:fixed;bottom:12px;left:50%;transform:translateX(-50%);z-index:200;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:10px 16px;max-width:90vw}
.page-enter{animation:page-enter .18s ease-out}@keyframes page-enter{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.page-enter{animation:none}.achievement-rarity{transition:none!important}}

.star-filter>span:first-child{font-size:.8rem}.star-filter-value{font-size:.75rem}
@media(min-width:521px){.top-actions select{width:175px}}
@media(max-width:520px){.topbar{display:grid;grid-template-columns:1fr auto;gap:12px}.top-actions{display:contents}.topbar .brand{grid-column:1;grid-row:1}.topbar .twitch{grid-column:2;grid-row:1;white-space:nowrap;justify-self:end}.topbar .theme-label{grid-column:1;grid-row:2}.topbar .mod-notifications{grid-column:2;grid-row:2;justify-self:end}.topbar .top-actions select{width:175px}}
/* Compact team tools: at most five rows per page, one expanded entry at a time. */
.mod-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.mod-history-grid>.community-panel{margin:16px 0}
.history-tools{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:16px 0}.history-tools label{flex:1;min-width:170px;display:grid;gap:6px;font-size:.85rem}.history-tools input{font-size:.9rem}.history-tools button{font-size:.8rem;padding:10px}
.history-entry{border-top:1px solid var(--line);padding:0}.history-entry>summary{padding:14px 4px;cursor:pointer;list-style:none}.history-entry>summary::-webkit-details-marker{display:none}.history-entry>summary::after{content:'Details +';color:var(--accent);font-size:.75rem;display:block;margin-top:4px}.history-entry[open]>summary::after{content:'Schließen −'}
.history-entry-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}.history-entry-head strong{font-size:.9rem;overflow-wrap:anywhere}.history-entry-head time{font-size:.75rem;color:var(--muted);white-space:nowrap}.history-entry-description{display:block;color:var(--muted);font-size:.8rem;margin-top:4px}
.history-entry-body{padding:0 4px 16px;font-size:.9rem;overflow-wrap:anywhere}.history-entry-body p,.history-entry-body blockquote{white-space:pre-wrap}.history-entry-body blockquote{margin:12px 0}.history-entry-body button{font-size:.8rem}.history-change h4{margin:18px 0 8px;font-size:.85rem}.history-diff{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.history-diff>div{background:var(--input);border:1px solid var(--line);border-radius:8px;padding:10px;min-width:0}.history-diff strong{font-size:.75rem;color:var(--accent)}.history-diff p{margin:8px 0 0;max-height:250px;overflow:auto;white-space:break-spaces}
.history-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px;font-size:.8rem}.history-pager button{font-size:.8rem;padding:8px 12px}.task-compact{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding:12px 0}.task-compact strong{font-size:.9rem}.task-compact p{margin:4px 0}.task-compact button{flex-shrink:0;font-size:.85rem}
.profile-team>summary,.team-search>summary,#moderation>summary,#identity-panel>summary,#backup-panel>summary,#admin>summary{cursor:pointer;font-weight:650}.profile-team-form label,.team-search>label{display:grid;gap:7px;margin:14px 0}.profile-team-form button{margin:8px 8px 0 0}.profile-team-form{max-width:650px}
@media(max-width:850px){.mod-history-grid{grid-template-columns:1fr}}@media(max-width:520px){.history-diff{grid-template-columns:1fr}.history-tools label{min-width:0;width:100%}.history-pager{flex-wrap:wrap}.task-compact{align-items:start}.task-compact p{font-size:.75rem}}

.mod-page .intro{padding:1.5rem 0}.mod-page .community-panel{margin:12px 0;padding:18px}.owner-settings>summary{font-weight:650;cursor:pointer}.owner-settings>.community-panel{margin:12px 0 0;background:var(--input)}

/* v4.8 compact, readable rankings and history */
.history-quote{margin:12px 0 8px;padding:0 12px;border-left:3px solid var(--accent,#ff941f);white-space:pre-wrap;overflow-wrap:anywhere;font-size:1rem;line-height:1.5}
.history-record{padding:4px 0;border-bottom:1px solid var(--border,#393b40)}
.achievement-sort{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px}.achievement-sort select{width:auto;max-width:100%}
.award-ranking{padding-left:2rem;margin:16px 0;list-style:decimal}.award-ranking li{padding:12px 8px;border-bottom:1px solid var(--border,#393b40);overflow-wrap:anywhere}.award-ranking li::marker{font-weight:800;color:var(--accent,#ff941f);font-size:1.25rem}.award-ranking blockquote{margin:0 0 8px!important;font-size:1.05rem;white-space:pre-wrap}.award-ranking a{font-size:.85rem}
.channel-notice{max-width:1200px;margin:12px auto;padding:12px 18px;border:1px solid #c58635;border-radius:12px;display:flex;gap:12px;flex-wrap:wrap}.channel-notice a{font-weight:700}#channel-status[data-state="connected"]{color:#65c995}

.card-formats{display:flex;gap:.5rem}.card-formats button[aria-pressed=true]{background:#ff922e;color:#18191c;border-color:#ff922e}.card-format-hint{color:var(--muted,#aeb0b8);font-size:.85rem;margin:.7rem 0}.card-preview.story-preview canvas{width:auto;max-width:100%;height:auto;max-height:52dvh;margin:1rem auto;object-fit:contain}
