.community-main{max-width:1440px;margin-inline:auto;padding:24px 24px 60px}.community-page-heading{margin-bottom:22px}.community-page-heading p{color:var(--muted);font-size:13px;margin-top:5px}
.community-dates{display:flex;flex-direction:column;gap:3px;color:var(--muted);font-size:11px;font-weight:400;line-height:1.6;grid-column:2}.community-dates>span{display:flex;flex-wrap:wrap;column-gap:4px}.community-detail-heading .community-dates{font-size:12px;margin:8px 0 12px}
.community-metadata-fields{grid-column:1/-1;min-width:0}.community-memo-snippets{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.community-memo-snippets>span{font-size:12px;color:var(--muted);margin-right:4px}.community-memo-snippets button{font-size:12px;padding:8px 10px;min-height:40px}.community-snippet-status{font-size:12px;color:var(--muted);margin:6px 0}.community-snippet-status:empty{display:none}.community-tag-picker{margin:16px 0 0;padding:0;border:0;min-width:0}.community-tag-picker legend{font-size:13px;margin-bottom:8px}.community-tag-picker small{color:var(--muted);font-size:12px;margin-left:6px}.community-tag-picker>div,.community-tags{display:flex;flex-wrap:wrap;gap:6px}.community-tag-picker button{font-size:13px;min-height:40px;padding:7px 12px;border:1px solid var(--line)}.community-tag-picker button[aria-pressed=true]{border-color:var(--accent);background:var(--game-inset);color:var(--accent)}.community-tag-picker button[aria-pressed=true]::before{content:'✓ ';font-weight:700}.community-tag{display:inline-block;border:1px solid var(--line);border-radius:4px;padding:3px 7px;font-size:11px;color:var(--accent);font-weight:400;line-height:1.5}.community-card-open>.community-tags{grid-column:2}.community-tag-filter{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;white-space:nowrap}.community-tag-filter select{min-height:44px;max-width:100%;min-width:0}.community-filter-row{flex-wrap:wrap}
.community-lanes{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:16px}.community-lanes button{display:flex;align-items:center;gap:7px;min-height:46px;padding:9px 18px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent}.community-lanes button[aria-pressed=true]{border-bottom-color:var(--game-gold);color:var(--game-gold);background:var(--game-inset)}.community-lanes .ui-icon{width:19px;height:19px;flex-shrink:0}
.community-filter-row{display:flex;align-items:end;gap:16px}.community-search{display:flex;gap:8px;flex:1;max-width:640px;min-width:0}.community-search input{padding:9px 12px;min-width:0;width:100%;min-height:44px}.community-search button{flex-shrink:0;min-width:64px}.community-category-label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}.community-list-note{font-size:12px;color:var(--muted);margin:12px 0}
.community-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}.community-card{min-width:0}.community-card-open{display:flex;flex-direction:column;align-items:stretch;text-align:left;width:100%;height:100%;padding:14px;border-color:var(--line);border-radius:6px;gap:7px;overflow:hidden}.community-card-open>strong{font-size:16px;color:var(--ink);overflow-wrap:anywhere}.community-card-art{height:90px;display:flex;align-items:center;justify-content:center;gap:3px;background:var(--game-inset);margin:-4px -4px 5px;border-radius:3px}.community-portrait{display:inline-flex;align-items:center;justify-content:center;min-width:0;flex-shrink:1}.community-portrait img{max-width:100%;height:auto;object-fit:contain;image-rendering:auto}.community-card-art .community-portrait{flex:0 1 64px}.community-card-art:has(.community-portrait:nth-child(4)) .community-portrait{flex-basis:48px}.community-portrait>.ui-icon{width:42px;height:42px;color:var(--muted)}.community-set-symbol>.ui-icon{height:42px;width:42px;color:var(--game-gold)}
.community-card-type{font-size:12px;color:var(--game-gold)}.community-card-memo{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--muted);font-size:12px;font-weight:400;min-height:39px;overflow-wrap:anywhere}.community-card-by{display:flex;justify-content:space-between;gap:12px;font-size:11px;font-weight:400;color:var(--muted);margin-top:auto;overflow-wrap:anywhere}.community-card-by time{flex-shrink:0}.community-card-count{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:8px;font-size:12px;color:var(--muted)}.community-card-count>span{color:var(--accent)}
.community-card-art.is-party{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:144px;gap:0;padding:4px}.community-mini-slot{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0}.community-mini-slot>small{font-size:10px;color:var(--muted);flex-shrink:0}.community-mini-slot .community-portrait{height:42px;flex:0 1 42px}.community-mini-slot .community-portrait img{max-height:42px;max-width:42px}.community-mini-slot .ui-icon{width:24px;height:24px}
.community-empty,.community-loading,.community-error{padding:36px 20px;background:var(--game-inset);border:1px solid var(--line);border-radius:5px}.community-empty h2{font-size:17px}.community-empty p,.community-error p{color:var(--muted);margin:8px 0 0}.community-error button{margin-top:15px}.community-load-more{text-align:center;margin:24px 0}.community-load-more button{min-width:180px}.community-muted{color:var(--muted)}
.community-detail{max-width:850px;margin:0 auto}.community-back{margin:0 0 14px}.community-detail-heading h2{font-size:23px;overflow-wrap:anywhere;margin:4px 0}.community-detail-heading p{font-size:12px;color:var(--muted)}.community-detail .community-memo,.community-memo{white-space:pre-wrap;overflow-wrap:anywhere;margin:16px 0;font-size:14px}.community-detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 10px}.community-action-status,.community-action-error{font-size:13px;margin:8px 0}.community-action-error:empty,.community-action-status:empty{display:none}.community-copy-fallback{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted);margin:14px 0;min-width:0}.community-copy-fallback input{width:100%;min-width:0;padding:9px;font-size:13px}
.community-hom-heading{display:flex;gap:16px;align-items:center;padding:14px 0;margin-top:6px;border-bottom:1px solid var(--line)}.community-hom-heading .community-portrait{width:72px;height:72px;flex-shrink:0}.community-hom-heading strong{font-size:17px;overflow-wrap:anywhere}.community-hom-heading p{font-size:12px;color:var(--muted);margin:4px 0}.community-content-count{margin:18px 0 10px;color:var(--muted);font-size:13px}
.community-skills{border-bottom:1px solid var(--line)}.community-skill{border-top:1px solid var(--line)}.community-skill summary{display:flex;align-items:center;gap:9px;padding:10px 8px;min-height:44px;font-size:14px}.community-skill summary:hover{background:var(--game-hover)}.community-skill summary .ui-icon{height:20px;width:20px;flex-shrink:0;color:var(--game-gold)}.community-skill summary>span{flex:1;min-width:0;overflow-wrap:anywhere}.community-skill summary small{color:var(--muted);font-size:11px;flex-shrink:0}.community-skill summary::after{margin-left:auto;flex-shrink:0}.community-skill p{margin:0;padding:2px 12px 14px 37px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:13px;color:var(--muted)}
.community-af,.community-original,.community-rules{margin:10px 0;font-size:13px}.community-af>summary,.community-original>summary,.community-rules>summary{padding:8px 0;min-height:40px;color:var(--muted)}.community-af dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 14px;margin:8px 0 12px}.community-af dl>div{display:flex;justify-content:space-between;gap:6px}.community-af dt{color:var(--muted)}.community-af dd{margin:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.community-original>p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;padding:10px;background:var(--game-inset);font-size:12px}.community-rules ul{padding-left:20px}.community-rules li{overflow-wrap:anywhere}
.community-party-members{display:grid;gap:10px;margin-top:18px}.community-party-member{border:1px solid var(--line);border-radius:5px;background:var(--game-inset);padding:0 12px}.community-party-member>summary{display:flex;gap:12px;align-items:center;min-height:72px;padding:8px 0}.community-party-member>summary>.community-portrait{width:48px;height:48px;flex-shrink:0}.community-party-member>summary>span:last-child{flex:1;min-width:0}.community-party-member>summary strong{display:block;overflow-wrap:anywhere}.community-party-member>summary small{display:block;color:var(--muted);font-size:12px}.community-party-member>summary::after{margin-left:auto}.community-slot-number{display:grid;place-items:center;flex-shrink:0;font-variant-numeric:tabular-nums;width:24px;height:26px;border:1px solid var(--control);color:var(--game-gold);font-size:13px}.community-party-member>.community-muted{padding-bottom:12px}.community-party-member>.community-skills{margin-bottom:12px}
.community-owner-actions{border-top:1px solid var(--line);margin-top:32px;padding-top:18px}.community-owner-actions p{color:var(--muted);font-size:12px;margin:7px 0}.community-delete-confirm>div{display:flex;gap:10px;margin-top:10px}.community-delete-confirm p.error{color:var(--game-red)}
dialog.community-browser-dialog{width:1060px;max-width:calc(100vw - 32px);padding:20px;max-height:92dvh}dialog.community-browser-dialog>header{position:sticky;top:-20px;z-index:1;padding:0 0 12px;margin-bottom:12px;border-bottom:1px solid var(--line)}dialog.community-browser-dialog>header h2{font-size:19px}.community-browser-dialog .community-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.community-browser-dialog .community-detail-heading p{margin:4px 0}.community-browser-dialog .community-list-note{margin:12px 0}.community-browser-dialog .community-detail-heading{display:block}
dialog.community-publish-dialog{width:780px;max-width:calc(100vw - 32px);padding:24px}.community-publish-intro{color:var(--muted)}.community-publish-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.community-publish-fields label{display:flex;flex-direction:column;gap:5px;font-size:13px}.community-publish-fields label small{display:inline;color:var(--muted)}.community-publish-fields input{width:100%;min-width:0;padding:9px}.community-publish-memo{grid-column:1/-1}.community-publish-fields textarea{min-height:98px}.community-publish-preview{padding:12px;border:1px solid var(--line);border-radius:4px}.community-publish-preview>summary{font-size:14px}.community-publish-preview[open]>summary{margin-bottom:12px}.community-publish-scope{font-size:12px;color:var(--game-gold)}.community-publish-retention{color:var(--muted);font-size:12px!important}.community-published h3{color:var(--game-gold);font-size:21px}.community-published a{display:inline-block;overflow-wrap:anywhere;margin-bottom:20px}.community-publish-dialog .dialog-actions{margin-top:20px}
@media(max-width:1100px){.community-page .app-header{flex-wrap:wrap;gap:0;padding:0 16px}.community-page .app-header>.brand{padding:12px 0 5px}.community-page .app-header .primary-nav{width:100%;overflow:auto;min-width:0;flex-basis:100%}.community-page .app-header .nav-button{padding:10px 13px;min-height:48px}.community-page .app-header .nav-button strong{font-size:13px}}
@media(max-width:600px){.community-main{padding:18px 12px 40px}.community-page-heading{margin-bottom:16px}.community-filter-row{align-items:stretch;flex-direction:column;gap:10px}.community-lanes{gap:0}.community-lanes button{justify-content:center;flex:1;padding:9px 6px;font-size:13px;gap:5px}.community-lanes .ui-icon{width:16px;height:16px}.community-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.community-card-open{padding:10px;gap:6px}.community-card-open>strong{font-size:14px}.community-card-art{height:76px}.community-card-art .community-portrait{flex-basis:54px}.community-card-art:has(.community-portrait:nth-child(4)){display:grid;grid-template-columns:repeat(3,1fr);gap:0;height:92px}.community-card-art:has(.community-portrait:nth-child(4)) .community-portrait img{max-height:42px}.community-card-by{flex-direction:column;gap:0}.community-card-count{flex-direction:column;gap:2px}.community-card-memo{-webkit-line-clamp:3;min-height:58px;font-size:11px}.community-card-type{font-size:11px}.community-empty,.community-error,.community-loading{padding:24px 14px}.community-detail-heading h2{font-size:20px}.community-detail-actions>button:first-child{width:100%}.community-skill summary{padding-inline:3px;gap:6px;font-size:13px}.community-skill p{padding-left:28px}.community-party-member{padding-inline:8px}.community-party-member>summary{gap:7px}.community-hom-heading strong{font-size:15px}dialog.community-browser-dialog{padding:14px;max-width:calc(100vw - 16px)}dialog.community-browser-dialog>header{top:-14px}.community-browser-dialog .community-grid{grid-template-columns:1fr}.community-browser-dialog .community-card-open{display:grid;grid-template-columns:100px minmax(0,1fr);gap:4px 12px}.community-browser-dialog .community-card-art{grid-row:1/6;height:100%;min-height:95px;margin:0;grid-column:1}.community-browser-dialog .community-card-open>strong,.community-browser-dialog .community-card-type,.community-browser-dialog .community-card-memo,.community-browser-dialog .community-card-by,.community-browser-dialog .community-card-count{grid-column:2}.community-browser-dialog .community-card-memo{min-height:0;-webkit-line-clamp:2}.community-browser-dialog .community-card-count{flex-direction:row}.community-browser-dialog .community-card-by{flex-direction:row}.community-browser-dialog>header h2{font-size:17px}dialog.community-publish-dialog{padding:16px;max-width:calc(100vw - 16px)}.community-publish-fields{grid-template-columns:1fr;gap:12px}.community-publish-memo{grid-column:auto}.community-publish-dialog .dialog-actions{gap:8px}.community-publish-dialog .dialog-actions button{flex:1}.community-publish-preview{padding:9px}.community-detail .community-memo{font-size:13px}}
.community-detail-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:1px solid var(--control);border-radius:5px;text-decoration:none;font-size:14px}
.community-build-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}.community-build-actions button{min-height:44px;font-size:13px}
dialog.community-build-dialog{width:780px;max-width:calc(100vw - 24px);max-height:92dvh;padding:0;overflow:auto;overscroll-behavior:contain}
.community-build-dialog>header{display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:2;background:var(--game-panel,var(--panel));padding:16px 20px;border-bottom:1px solid var(--line);margin:0}.community-build-dialog>header>div{flex:1;min-width:0}.community-build-dialog>header img{object-fit:contain;flex-shrink:0}.community-build-dialog>header h2{font-size:18px;margin:2px 0;overflow-wrap:anywhere}.community-build-dialog>header p{font-size:12px;color:var(--muted);margin:0;overflow-wrap:anywhere}.community-build-dialog>header>button{flex-shrink:0;min-height:44px}
.community-build-tabs{display:flex;gap:6px;margin:16px 20px 0;border-bottom:1px solid var(--line)}.community-build-tabs button{flex:1;min-height:46px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent}.community-build-tabs button[aria-pressed=true]{color:var(--game-gold);border-bottom-color:var(--game-gold);background:var(--game-inset)}
.community-build-body{padding:18px 20px 24px}.community-build-note{color:var(--muted);font-size:12px;line-height:1.8;margin:8px 0 14px}.community-material-intro h3,.community-diff-missing h3{font-size:16px;margin:0 0 12px}.community-material-intro h3 small{color:var(--muted);font-weight:400;margin-left:6px}.community-material-intro label{display:flex;align-items:center;gap:8px;font-size:13px;min-height:44px}.community-material-intro input{width:18px;height:18px}
.community-material-row{padding:16px 0;border-top:1px solid var(--line)}.community-material-heading{display:flex;align-items:center;gap:8px;font-size:14px}.community-material-heading .ui-icon,.community-diff-names .ui-icon{width:20px;height:20px;flex-shrink:0;color:var(--game-gold)}.community-material-heading strong{flex:1;min-width:0;overflow-wrap:anywhere}.community-material-heading small{font-size:11px;color:var(--muted);flex-shrink:0}.community-source-note{font-size:13px;margin:7px 0;color:var(--muted);line-height:1.8;overflow-wrap:anywhere}.community-sources{list-style:none;padding:0;margin:8px 0}.community-sources:empty{display:none}.community-sources li{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:6px 10px;background:var(--game-inset);font-size:13px}.community-sources li>span{min-width:0;overflow-wrap:anywhere}.community-sources li>strong{flex-shrink:0;font-variant-numeric:tabular-nums;color:var(--game-gold)}.community-sources small{color:var(--muted);font-size:11px}
.community-other-sources summary,.community-skill-description summary{font-size:12px;color:var(--muted);min-height:36px;padding-block:8px}.community-skill-description p{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.community-combined{margin:12px 0 18px;padding:12px;border:1px solid var(--line);border-radius:4px}.community-combined>summary{font-size:14px;color:var(--game-gold);min-height:32px}.community-combined-source{padding:12px 0;border-top:1px solid var(--line);font-size:13px;overflow-wrap:anywhere}.community-combined-source small{font-weight:400;color:var(--muted)}.community-combined-source ul{padding-left:20px;margin:6px 0}.community-combined-source li{padding-block:3px}
.community-compare-form>label{display:block;font-size:14px;margin-bottom:10px}.community-compare-form textarea{display:block;width:100%;min-height:148px;padding:12px;font-size:14px;resize:vertical;line-height:1.7}.community-compare-form>button{min-height:44px}.community-compare-form .error:empty{display:none}.community-comparison-summary{margin:24px 0 10px;font-size:18px;color:var(--game-gold);font-weight:700}.community-diff-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:20px}.community-diff-counts>span{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 10px;background:var(--game-inset);font-size:12px}.community-diff-counts strong{font-size:21px;font-variant-numeric:tabular-nums}.community-diff-counts>span:first-child strong{color:var(--game-gold)}.community-diff-group{border-top:1px solid var(--line);padding-block:10px}.community-diff-group>summary{font-size:14px;min-height:36px;padding-block:8px}.community-diff-names{padding:0;list-style:none}.community-diff-names li{display:flex;align-items:center;gap:8px;padding:8px 0;font-size:13px}.community-diff-names li>span{flex:1;min-width:0;overflow-wrap:anywhere}.community-diff-names small{font-size:11px;color:var(--muted)}.community-build-warning{border-left:3px solid var(--game-gold);padding:8px 12px;margin:14px 0;background:var(--game-inset);font-size:13px;line-height:1.8;overflow-wrap:anywhere}.community-build-warning p{margin:4px 0}
@media(max-width:600px){.community-build-actions{flex-direction:column}.community-build-actions button{text-align:center}dialog.community-build-dialog{max-width:calc(100vw - 16px);max-height:94dvh}.community-build-dialog>header{padding:10px 12px;gap:8px}.community-build-dialog>header h2{font-size:15px}.community-build-dialog>header img{width:40px;height:40px}.community-build-body{padding:14px 12px 22px}.community-build-tabs{margin:12px 12px 0}.community-build-tabs button{font-size:13px;padding-inline:8px}.community-diff-counts{gap:5px}.community-diff-counts>span{flex-direction:column;gap:4px;padding:10px 4px;font-size:11px}.community-compare-form>button{width:100%}.community-comparison-summary{font-size:16px}}

.history-diff{min-width:0;line-height:1.65}.history-diff-total{font-weight:700;font-size:15px}.history-diff-hom{border-top:1px solid var(--line);padding:14px 0;min-width:0}.history-diff-hom h4{font-size:15px;margin:0 0 8px;overflow-wrap:anywhere}.history-diff-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.history-diff-columns>section{min-width:0;padding:10px 12px;border-left:3px solid var(--line);background:var(--game-inset)}.history-diff-columns .history-diff-added{border-left-color:#79dca9}.history-diff-columns .history-diff-removed{border-left-color:#f3a2a2}.history-diff-columns h5{font-size:14px;margin:0 0 6px}.history-diff-added h5{color:#a2eac1}.history-diff-removed h5{color:#ffc0c0}.history-diff-columns h5 span{font-weight:400;margin-left:5px}.history-diff-columns ul{padding-left:20px;margin:0;font-size:14px;overflow-wrap:anywhere}.history-diff-columns li+li{margin-top:4px}.history-diff-note{color:var(--muted);font-size:13px;overflow-wrap:anywhere;margin:4px 0 8px}.history-diff-permanent{font-size:13px;overflow-wrap:anywhere}.history-full-content{margin:12px 0 18px}.history-full-content>summary{cursor:pointer;padding:12px 0;min-height:44px}#edit-history-detail{margin:18px 0 24px}#edit-history-detail>h3{margin:0 0 8px}#edit-history-list{border-top:1px solid var(--line)}.edit-history-row button[aria-pressed=true]{border-color:var(--game-gold);color:var(--game-gold)}.edit-history-row button{flex-shrink:0;min-height:44px}.history-diff-columns p{margin:0}
@media(max-width:580px){.history-diff-columns{grid-template-columns:1fr;gap:8px}.history-diff-hom{padding:12px 0}.history-diff-columns>section{padding:9px 10px}.edit-history-row button{font-size:13px;padding:8px}.history-diff-columns ul{font-size:14px}}
.community-version-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:5px}.community-version{display:inline-block;font-size:12px;line-height:1.5;padding:2px 7px;border:1px solid var(--line);border-radius:4px;color:var(--text);font-weight:600;vertical-align:middle;white-space:nowrap}.community-updated-badge,.community-member-updated{display:inline-block;font-size:12px!important;line-height:1.5;color:#a2eac1!important;font-weight:600}.community-updated-badge{margin-left:6px}.community-dates.is-updated>span:first-child{color:var(--text);font-size:13px}.community-first-published{font-size:11px}.community-detail-heading h2 .community-updated-badge{font-size:12px;vertical-align:middle}.community-latest-change{margin:16px 0;border-block:1px solid var(--line);padding:4px 0 12px}.community-latest-change>summary{display:flex;gap:12px;align-items:center;flex-wrap:wrap;cursor:pointer;min-height:48px;font-size:14px}.community-latest-change>summary>span:nth-child(2){flex:1;color:var(--muted)}.community-latest-change>summary>span:last-child{font-size:20px}.community-latest-change>a{display:inline-block;padding:10px 0;font-size:14px}.community-member-updated{margin-left:5px}

.community-latest-change>.history-diff>.history-diff-total{display:none}.community-latest-change>summary::after{display:none}.community-latest-change[open]>summary>span:last-child{transform:rotate(180deg)}

.community-member-change{margin:12px 0 16px;padding:12px;border:1px solid var(--line);border-radius:4px;min-width:0}.community-member-change>h4{margin:0 0 8px;font-size:14px}.community-member-change>h4>small{display:inline-block;margin-left:8px;font-size:12px;color:var(--muted);font-weight:400}.community-member-change .history-diff-hom{border-top:0;padding-bottom:0}.community-member-change .history-diff-hom>h4{font-size:13px;color:var(--muted)}

/* Author-selected importance: labels remain readable without color. */
[data-importance=required]{--importance-rgb:232,159,82;--importance-ink:#ffce99;--importance-opacity:.22}
[data-importance=recommended]{--importance-rgb:111,181,205;--importance-ink:#b3e6f5;--importance-opacity:.16}
[data-importance=optional]{--importance-rgb:165,175,187;--importance-ink:#c6ced9;--importance-opacity:.09}
.community-skill[data-importance]:not([data-importance=""])>summary,.skill-importance-row[data-importance]:not([data-importance=""]){background:linear-gradient(90deg,rgba(var(--importance-rgb),var(--importance-opacity)),transparent 88%);border-left:3px solid rgba(var(--importance-rgb),.85)}
.community-skill .skill-importance-label{flex:0 0 auto;font-size:11px;line-height:1.6;padding:1px 5px;border:1px solid rgba(var(--importance-rgb),.5);border-radius:3px;color:var(--importance-ink)}
.skill-importance-editor{margin:14px 0;border-block:1px solid var(--line);padding:4px 0}.skill-importance-editor>summary{cursor:pointer;min-height:48px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;font-weight:600}.skill-importance-editor>summary>small,.skill-importance-editor [data-importance-count]{font-size:12px;font-weight:400;color:var(--muted)}
.skill-importance-help{font-size:12px;color:var(--muted);line-height:1.8;margin:8px 0 12px}.skill-importance-target{display:grid;gap:6px;font-size:13px;margin-bottom:12px}.skill-importance-target select{width:100%;min-height:44px;padding:8px}
.skill-importance-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px 8px;border-left:3px solid transparent;border-bottom:1px solid var(--line)}.skill-importance-name{font-size:13px;overflow-wrap:anywhere;display:flex;align-items:center;gap:7px;min-width:0}.skill-importance-name>svg{width:18px;height:18px;flex-shrink:0}
.skill-importance-choices{display:flex;gap:4px}.skill-importance-choices button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:40px;min-width:62px;padding:6px 8px;font-size:12px;border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:4px}.skill-importance-choices button[aria-pressed=true]{color:var(--importance-ink);border-color:rgba(var(--importance-rgb),.85);background:rgba(var(--importance-rgb),.16);font-weight:700}.skill-importance-choices button:focus-visible{outline:2px solid var(--text);outline-offset:2px}.history-importance-changes h5{font-size:14px;margin:10px 0 4px}.history-importance-changes ul{font-size:13px;padding-left:20px}
@media(max-width:520px){.skill-importance-row{grid-template-columns:1fr;gap:6px;padding:10px 8px}.skill-importance-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px}.skill-importance-choices button{min-height:44px;min-width:0}.community-skill .skill-importance-label{font-size:10px}}

.skill-importance-editor>summary.importance-entry{padding:14px 12px;gap:12px;min-height:82px;background:var(--game-inset);border:1px solid var(--line);border-radius:5px}.importance-entry>.ui-icon{width:25px;height:25px;flex-shrink:0;color:var(--game-gold)}.importance-entry-copy{flex:1;min-width:0}.importance-entry-copy strong,.importance-entry-copy small{display:block}.importance-entry-copy strong{font-size:14px}.importance-entry-copy small{font-size:12px;color:var(--muted);font-weight:400;margin-top:5px}.skill-importance-editor.is-expanded{border:0;margin-top:24px;padding:0}.importance-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px}.importance-heading h3{font-size:17px;margin:0;overflow-wrap:anywhere}.importance-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 8px}.importance-legend>span{border-left:3px solid rgba(var(--importance-rgb),.85);background:rgba(var(--importance-rgb),.08);padding:8px 10px}.importance-legend strong{color:var(--importance-ink);font-size:13px;display:block}.importance-legend small{font-size:12px;color:var(--muted);display:block;margin-top:3px}.importance-empty{padding:24px 0;color:var(--muted);font-size:14px}.is-expanded .skill-importance-help{margin-bottom:16px}.is-expanded .skill-importance-row{padding-block:9px}
@media(max-width:520px){.importance-legend{gap:5px}.importance-legend>span{padding:7px}.importance-legend small{font-size:11px}.importance-heading h3{font-size:15px}.skill-importance-editor>summary.importance-entry{gap:8px;padding:12px 10px}.importance-entry-copy small{font-size:11px}.importance-entry>[data-importance-count]:not(:empty){flex-basis:100%;padding-left:33px}.skill-importance-editor.is-expanded{margin-top:20px}}
