/* Homepage follows the supplied guild operations layout. */
.guild-home{background:var(--bg);min-height:100svh;--panel:#12151c;--muted:#a2a9bb;--border:#292e3d;--accent:#a78bfa}
.guild-home [hidden]{display:none!important}.guild-home ::selection{background:#513a78;color:#fff}.guild-home input{caret-color:var(--accent)}.guild-home *{scrollbar-color:#424859 #12151c;scrollbar-width:thin}
.overview-main{padding:30px var(--content-gutter) 40px}
.overview-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.overview-heading h1{font:650 1.75rem/1.25 system-ui,sans-serif;letter-spacing:-.02em}#roster-status{color:var(--muted);font-size:.875rem;margin-top:5px;max-width:70ch}
.overview-actions{display:flex;align-items:center;gap:16px}.roster-search{display:flex;align-items:center;position:relative;width:clamp(220px,23vw,360px)}.roster-search svg{position:absolute;left:14px;width:20px;height:20px;fill:none;stroke:var(--muted);stroke-width:1.7;pointer-events:none}.roster-search input{width:100%;min-height:46px;padding:11px 14px 11px 44px;border-radius:10px;background:transparent;font-size:.9375rem}
.raid-action{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 20px;border-radius:10px;text-decoration:none;font-size:.9375rem;font-weight:600;white-space:nowrap;background:#7c3aed;color:#fff}.raid-action:hover{background:#8b4bf1}
.overview-metrics{display:grid;grid-template-columns:minmax(230px,2.5fr) repeat(4,minmax(0,1fr));align-items:center;gap:0;background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:20px 12px;margin-bottom:24px}
.metric{padding:0 20px;min-width:0}.metric+.metric{border-left:1px solid var(--border)}.metric h2{font-size:.8125rem;font-weight:400;color:var(--muted);margin-bottom:5px}.metric-value{font-size:1.65rem;font-weight:650;line-height:1.35;font-variant-numeric:tabular-nums;white-space:nowrap}.metric-context{font-size:.8125rem;font-weight:400;margin-left:6px;color:var(--muted);white-space:normal}.raid-summary{font-size:.9375rem;line-height:1.6;overflow-wrap:anywhere}.raid-summary strong{font-weight:600}.raid-summary span{color:var(--muted)}
.overview-columns{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}
.recruitment-snapshot{background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:20px;min-width:0}.recruitment-snapshot h2{font-size:1.125rem;line-height:1.4}.recruitment-snapshot>p{font-size:.8125rem;color:var(--muted);margin-top:8px;line-height:1.5}
#recruitment-needs{list-style:none;padding:0;margin:18px 0 0}#recruitment-needs>li+li{border-top:1px solid var(--border);margin-top:16px;padding-top:16px}.snapshot-class{display:flex;align-items:center;gap:10px}.snapshot-class img{width:26px;height:26px;border-radius:7px}.snapshot-class h3{font-size:.875rem;font-weight:600}.snapshot-specs{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:8px}.snapshot-specs li{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:.8125rem;color:var(--muted)}.snapshot-specs li>span:first-child{min-width:0;overflow-wrap:anywhere}.snapshot-priority{font-size:.6875rem;font-weight:600;white-space:nowrap}.snapshot-high{color:#ffd166}.snapshot-medium{color:var(--selected-text)}.snapshot-low{color:#a4ceff}
.roster-panel{background:var(--panel);border:1px solid var(--border);border-radius:14px;overflow:hidden;min-width:0}.class-filters{display:flex;align-items:stretch;gap:18px;padding:0 22px;overflow-x:auto;border-bottom:1px solid var(--border)}.class-filters button{display:inline-flex;align-items:center;gap:7px;min-height:52px;flex-shrink:0;padding:12px 2px;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:.875rem;font-weight:400}.class-filters button[aria-pressed=true]{color:var(--text);box-shadow:inset 0 -3px var(--accent);font-weight:600}.class-filters button:hover{color:var(--text);background:transparent}.class-count{color:var(--muted);font-variant-numeric:tabular-nums}.class-swatch{width:8px;height:8px;background:currentColor;border-radius:2px}.recruitment-dot{width:6px;height:6px;border-radius:50%;background:var(--recruitment-ink);margin-left:2px}
.panel-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:18px 22px}.panel-heading>p{font-size:.8125rem;color:var(--muted)}.roster-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.roster-controls select,.roster-controls button{min-height:44px;padding:10px 12px;font-size:.875rem;font-weight:400;border-radius:10px;background:var(--bg)}.roster-controls button[aria-pressed=true]{border-color:#6850a3;background:#241e37;color:#ded1ff}
.roster-scroll{overflow-x:auto}.roster-table{width:100%;min-width:790px;border-collapse:collapse;text-align:left}.roster-table th{padding:10px 18px;color:var(--muted);font-weight:400;font-size:.8125rem;white-space:nowrap;border-bottom:1px solid var(--border)}.roster-table th button{font:inherit;color:inherit;background:none;border:none;padding:8px 0;min-height:40px}.roster-table td{padding:10px 18px;border-bottom:1px solid #232837;font-size:.875rem;line-height:1.5}.roster-table td:first-child,.roster-table th:first-child{padding-left:22px}.roster-table .numeric{text-align:right}.roster-table td:nth-child(5),.roster-table td:nth-child(6){white-space:nowrap;color:var(--muted);font-size:.8125rem}.roster-table tr:hover td{background:#191d27}
.character-button{display:inline-flex;align-items:center;gap:12px;min-height:36px;padding:0;border:0;background:transparent;font-size:.875rem;font-weight:600;text-align:left}.character-button>span{color:var(--text)}.character-button:hover:not(:disabled){background:none;text-decoration:underline;text-underline-offset:3px}.character-level{display:block;color:var(--muted);font-size:.6875rem;font-weight:400}.class-icon{width:30px;height:30px;border-radius:7px;flex-shrink:0}.spec-cell{display:flex;align-items:center;gap:4px;min-width:170px;color:var(--muted);flex-wrap:wrap}.spec-icon{width:18px;height:18px;border-radius:3px;margin-right:3px}.role-healer{color:var(--role-healer)}.role-tank{color:var(--role-tank)}.role-dps{color:var(--role-dps)}.role-hybrid,.role-unknown{color:var(--muted)}.roster-table td:nth-child(3){white-space:nowrap}
.item-level{display:flex;align-items:center;justify-content:flex-end;gap:14px;font-variant-numeric:tabular-nums}.item-level strong{min-width:24px;font-weight:600}.item-level progress{width:90px;height:6px;border:0;border-radius:8px;overflow:hidden;background:#252a38;accent-color:var(--accent)}.item-level progress::-webkit-progress-bar{background:#252a38}.item-level progress::-webkit-progress-value{background:var(--accent);border-radius:8px}.item-level progress::-moz-progress-bar{background:var(--accent);border-radius:8px}
.roster-footer{padding:18px 22px;color:var(--muted);font-size:.8125rem}.roster-empty{padding:28px 22px;color:var(--muted)}.roster-empty button{margin-top:12px}.overview-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:22px;color:var(--muted);font-size:.75rem}
.character-dialog{width:min(1120px,calc(100% - 40px));max-height:calc(100svh - 40px);padding:0;border:1px solid #4c465d;border-radius:8px;background:#10131a}.character-dialog::backdrop{background:#000b}.character-dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 26px 12px}.character-dialog-header h2{font-family:Richters,Georgia,serif;font-weight:400;font-size:2.25rem}#character-subtitle{font-size:.875rem;margin-top:5px}#close-character{width:44px;height:44px;padding:10px;flex-shrink:0;background:none}#close-character svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.6;fill:none}#character-status{margin:0 26px 16px;font-size:.8125rem;color:var(--muted)}
#character-tabs{display:flex;justify-content:flex-start;gap:4px;padding:0 20px;border-bottom:1px solid var(--border);overflow-x:auto;flex-wrap:nowrap}#character-tabs button{border:none;border-radius:0;background:none;padding:12px 10px;font-size:.875rem;font-weight:400;color:var(--muted);white-space:nowrap}#character-tabs button[aria-current=true]{color:var(--text);box-shadow:inset 0 -2px var(--accent)}#character-content{padding:24px 26px 28px;min-height:160px}
.equipment-layout{display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,1.35fr) minmax(160px,1fr);gap:18px;align-items:start}.gear-column{display:grid;gap:7px}.gear-item{border:1px solid #292e39;border-radius:4px;background:#151922}.gear-item summary{display:flex;gap:10px;align-items:center;padding:9px;cursor:pointer;list-style:none}.gear-item summary::-webkit-details-marker{display:none}.gear-item summary:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}.gear-item img{width:38px;height:38px;border-radius:3px}.gear-item strong{font-size:.875rem;font-weight:500;display:block}.gear-item small{color:var(--muted);font-size:.75rem;display:block}.gear-tooltip{padding:0 12px 14px;font-size:.8125rem}.gear-tooltip p+p{margin-top:4px}.gear-tooltip .bonus{color:#8edd9d}.gear-tooltip .set-name{color:#f3d87c;margin-top:10px}
.quality-rare{color:#77b8ff}.quality-uncommon{color:#7cd979}.quality-epic{color:#c68eff}.quality-legendary{color:#ffae65}.quality-poor{color:#afb4be}
.character-art{display:grid;justify-items:center;gap:10px;position:sticky;top:10px}.character-art>.character-model{width:100%;height:clamp(460px,60svh,600px);object-fit:cover;object-position:center}.character-art>.character-avatar{width:144px;height:144px;object-fit:contain;margin:24px 0}.character-art .profile-spec{display:flex;align-items:center;gap:7px;font-size:.875rem}.character-art .profile-spec img{width:24px;height:24px}.character-art p{font-size:.875rem;color:var(--muted)}
.profile-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.profile-section h3{font-size:1rem;margin-bottom:14px}.profile-section p,.profile-section li{font-size:.875rem}.profile-section dl{margin:0}.stat-row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #272c36;font-size:.875rem}.stat-row dt{color:var(--muted);text-transform:capitalize}.stat-row dd{margin:0;text-align:right}.stat-row abbr{text-decoration:underline dotted;text-underline-offset:3px}
.talent-tree-heading{display:flex;align-items:center;gap:9px;margin-bottom:16px}.talent-tree-heading img{width:32px;height:32px}.talent-tree-heading h3{margin:0}.talent-tree-heading small{color:var(--muted)}.talent-entry{border-top:1px solid #292e39;padding:12px 0}.talent-entry summary{cursor:pointer;display:flex;align-items:center;gap:9px;font-size:.875rem}.talent-entry img{width:28px;height:28px}.talent-entry summary span{margin-left:auto;white-space:nowrap;color:var(--muted)}.talent-entry p{font-size:.8125rem;color:var(--muted);margin-top:10px;white-space:pre-line}
.profession-entry{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--border)}.profession-entry img{width:40px;height:40px}.profession-entry>div{flex:1}.profession-entry p{margin-top:6px;color:var(--muted);font-size:.875rem}.collection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}.collection-entry{display:flex;gap:10px;align-items:center;font-size:.875rem;padding:12px 0}.collection-entry img{width:36px;height:36px}.collection-entry small{display:block;color:var(--muted)}.profile-notice{color:var(--muted);font-size:.875rem;line-height:1.6;max-width:70ch}.profile-notice button{margin:14px 0;display:block}body.profile-open{overflow:hidden}

@media(max-width:1440px){.overview-columns{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1250px){.overview-metrics{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:18px}.metric-raid{grid-column:1/-1;padding-bottom:16px;border-bottom:1px solid var(--border)}.metric-raid+.metric{border-left:0}.overview-heading{align-items:flex-start}.overview-actions{gap:10px}.roster-search{width:220px}.metric{padding-left:14px;padding-right:14px}.metric-value{font-size:1.5rem}}
@media(max-width:1050px){.overview-heading{flex-wrap:wrap}.overview-actions{width:100%}.roster-search{flex:1;width:auto}.item-level progress{width:60px}}
@media(max-width:800px){.overview-main{padding:24px 16px 36px}.profile-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.equipment-layout{grid-template-columns:1fr 1fr}.character-art{grid-column:1/-1;grid-row:1;position:static}.character-art>.character-model{width:min(100%,440px);height:360px}}
@media(max-width:500px){.overview-heading h1{font-size:1.5rem}.overview-heading{margin-bottom:20px;gap:18px}.overview-actions{gap:10px}.roster-search{min-width:0}.roster-search input{font-size:.8125rem;padding-left:35px}.roster-search svg{left:10px;width:16px}.raid-action{padding:10px 14px;font-size:.8125rem}.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 4px;row-gap:16px}.metric:nth-child(4){border-left:0}.metric-context{display:inline;font-size:.75rem}.recruitment-snapshot{padding:18px}.class-filters{padding:0 14px;gap:18px}.panel-heading{padding:16px 14px}.roster-controls{width:100%;gap:8px}.roster-controls label{flex:1;min-width:0}.roster-controls select{width:100%;font-size:.8125rem}.roster-controls button{font-size:.8125rem}.roster-footer{padding:16px 14px}.character-dialog{width:calc(100% - 16px);max-height:calc(100svh - 16px)}.character-dialog-header{padding:18px 16px 10px}.character-dialog-header h2{font-size:1.75rem}#character-status{margin:0 16px 12px}#character-content{padding:18px 16px}#character-tabs{padding:0 8px}.profile-columns{grid-template-columns:1fr}.equipment-layout{gap:10px}.gear-item summary{flex-direction:column;align-items:flex-start;gap:5px}.gear-item strong{font-size:.8125rem}}
