/* Quiet surfaces, compact controls and Farever's warm metal accents. */
html:root{--bg:#101214;--surface:#1a1d20;--panel-inset:#141719;--text:#f3f1eb;--muted:#adb4b8;--accent:#d9bd82;--border:#343a3e;--line:var(--border);--control-bg:#2b3034;--control-hover:#394146;--control-pressed:#424c51;--control-text:var(--text);--control-ring:#d9bd82;--control-radius:10px;--panel-shadow:none;--sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html.theme-light{--bg:#f5f5f3;--surface:#fff;--panel-inset:#f1f2ef;--text:#202624;--muted:#626b67;--accent:#796137;--border:#dce1dc;--line:var(--border);--control-bg:#eceeeb;--control-hover:#e0e4de;--control-pressed:#d6dcd4;--control-text:#202624;--control-ring:#8c7348;--panel-shadow:none}
html body.farever-minimal{font-family:var(--sans);background:var(--bg);color:var(--text);letter-spacing:-.012em}
body.farever-minimal::before,body.farever-minimal::after{display:none}
.farever-minimal :is(input,select,textarea){border-radius:9px;box-shadow:none;background:var(--panel-inset);color:var(--text);border-color:var(--border);font:inherit;font-size:14px}
.farever-minimal :is(button,.button,.subtle-button){border-radius:10px;font-size:13px;line-height:1.35;letter-spacing:0;min-height:36px;box-shadow:none}
.farever-minimal :is(.button.primary,button[type=submit]){background:#d9bd82;color:#211e17;border-color:transparent}
.farever-minimal :is(button,.button):hover{filter:brightness(1.06)}
.farever-minimal :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.farever-minimal [hidden]{display:none!important}
.farever-minimal :is(.guild-panel,.build-panel,.saved-build-card,.tools-hub-card,.database-detail-card,.video-card){background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:none}
.farever-minimal .eyebrow{font-size:10px;letter-spacing:.16em;color:var(--accent);margin-bottom:10px}
.farever-minimal :is(.page-hero,.account-heading){padding-top:28px;padding-bottom:22px;margin:0;min-height:0}
.farever-minimal :is(.page-hero,.account-heading) h1{font:650 clamp(28px,3.4vw,46px)/1.12 var(--sans);letter-spacing:-.045em;max-width:100%;margin:0 0 12px}
.farever-minimal :is(.page-hero,.account-heading) h1 em{font:inherit;color:var(--accent)}
.farever-minimal :is(.page-hero,.account-heading)>p:not(.eyebrow){font-size:15px;line-height:1.6;max-width:760px;margin:0 0 16px;color:var(--muted)}
.farever-minimal :is(.guild-panel,.tools-hub-card,.game-section,.build-panel,.section-heading,.community-gallery) :is(h2,h3){font-family:var(--sans);font-weight:600;letter-spacing:-.025em}
.farever-minimal .section-heading h2{font-size:clamp(24px,3vw,36px)}
.farever-minimal .section.game-section{padding-top:12px;padding-bottom:32px}
.farever-minimal .tools-subpage-nav{padding-top:12px;padding-bottom:12px;margin-bottom:0;border-color:var(--border)}
.farever-minimal #contenu:has(#weapon-app)>:is(.tools-subpage-nav,.page-hero),.farever-minimal #contenu:has(.integrated-rifts)>:is(.tools-subpage-nav,.page-hero),.farever-minimal #contenu:has(#dungeon-app)>:is(.tools-subpage-nav,.page-hero){width:min(88%,1280px);margin-left:auto;margin-right:auto}
.farever-minimal .tools-siblings a{background:transparent;color:var(--muted);border:0;border-radius:8px;min-height:32px;padding:8px 12px}
.farever-minimal .tools-siblings a[aria-current=page]{background:var(--control-bg);color:var(--text)}
html body.farever-minimal .header{--header-bg:var(--surface);--header-rail:var(--panel-inset);--header-line:var(--border);--header-hover:var(--control-hover);background:var(--surface);border:0;border-bottom:1px solid var(--border);box-shadow:none}
html body.farever-minimal .header #navigation{gap:3px;background:transparent;border:0;padding:0}
html body.farever-minimal .header #navigation :is(a,summary){background:transparent;border:0;color:var(--muted);box-shadow:none;border-radius:8px;min-height:34px;padding:9px 12px;font-size:13px}
html body.farever-minimal .header #navigation :is(a,summary):hover,html body.farever-minimal .header #navigation :is(a[aria-current=page],details[open]>summary){background:var(--control-bg);color:var(--text)}
html body.farever-minimal .header #navigation .tools-dropdown{border:1px solid var(--border);border-radius:14px;box-shadow:0 14px 38px #0003;background:var(--surface);min-width:230px;padding:8px}
.farever-minimal .nav-category+.nav-category{border-top:1px solid var(--border);margin-top:7px;padding-top:7px}
.farever-minimal .nav-category-label{display:block;padding:6px 12px;color:var(--accent);font-size:10px;letter-spacing:.12em;text-transform:uppercase}
.farever-minimal .header-live{background:transparent;border-color:var(--border)}
.farever-minimal :is(.header-players,.header-rift){background:transparent;border-color:var(--border);border-radius:9px}
.farever-minimal .brand-copy{font-size:23px}.farever-minimal .brand-copy span{font-size:8px}
.farever-minimal .filter-bar{padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:14px;gap:12px;margin:8px 0 16px}
.farever-minimal .filter-bar label{font-size:12px}.farever-minimal .result-count{font-size:12px;color:var(--muted)}
/* Dungeon rows disclose their loot only when opened. */
.farever-minimal .dungeon-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;max-width:1400px;margin-inline:auto}
.farever-minimal details.dungeon-card{display:block;padding:0;border-radius:14px;overflow:hidden}
.farever-minimal .dungeon-card-heading{display:flex;align-items:center;gap:18px;padding:18px 20px;border:0;cursor:pointer;list-style:none;background:var(--surface)}
.farever-minimal .dungeon-card-heading::-webkit-details-marker{display:none}
.farever-minimal .dungeon-card-heading::after{content:'+';font-size:24px;color:var(--accent);font-weight:300;flex:0 0 auto}
.farever-minimal .dungeon-card[open]>.dungeon-card-heading::after{content:'−'}
.farever-minimal .dungeon-card-heading>div{flex:1;min-width:0}.farever-minimal .dungeon-card h3{font:600 17px/1.3 var(--sans)}
.farever-minimal .dungeon-meta{text-align:left;white-space:normal;margin-top:5px;font-size:12px}
.farever-minimal .dungeon-drop-count{font-size:12px;color:var(--muted);white-space:nowrap}
.farever-minimal .dungeon-drops{margin:0;padding:6px 20px 16px;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--border)}
.farever-minimal .dungeon-card-actions{margin:0;padding:0 20px 18px}
/* Weapon cards retain class/type filters, exact variants and item links. */
.weapon-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
.weapon-card{min-width:0;padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:16px;content-visibility:auto;contain-intrinsic-size:auto 220px}
.weapon-card-heading{display:flex;gap:12px;align-items:center}.weapon-card-heading>div{min-width:0}
.farever-minimal .weapon-card h2{font-size:17px;line-height:1.3;margin:0 0 6px}.weapon-card h2 a{text-decoration:none;color:var(--text)}
.weapon-card-heading p{font-size:12px;line-height:1.5;margin:0}.muted{color:var(--muted)}
.weapon-art{display:inline-block;flex:0 0 auto;background-repeat:no-repeat;border-radius:9px;background-color:#23312b}
.weapon-skill-chips{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.weapon-skill-chip{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--text);background:var(--panel-inset);border-radius:8px;padding:5px 8px;text-decoration:none}
.weapon-details>summary,.saved-loadout>summary,.guild-settings>summary{padding:12px 0;font-size:13px;font-weight:600;cursor:pointer;border-top:1px solid var(--border)}
.weapon-detail-content h3{font-size:14px;margin:14px 0 6px}.weapon-detail-content p{font-size:13px;line-height:1.6;margin:6px 0}.weapon-detail-content small{font-size:11px;color:var(--muted)}
.weapon-ability{padding-bottom:12px;border-bottom:1px solid var(--border)}.weapon-drop small{display:block}.weapon-reference{color:var(--muted)}
/* Workspace controls stay mounted while switching panels. */
.farever-minimal .account-status{padding:8px 12px;font-size:12px;border:0;background:transparent;margin:0 0 8px;color:var(--muted)}
.farever-minimal .discord-connection:has(button){display:flex;align-items:center;gap:12px;justify-content:space-between;padding:10px 14px;margin-bottom:14px}
.farever-minimal .discord-connection p{font-size:13px;margin:0}.farever-minimal .discord-connection:has(button) button{font-size:12px;min-height:30px;padding:6px 10px}
.farever-minimal .build-layout{display:block}.farever-minimal .build-workbench{gap:12px}.farever-minimal .build-toolbar{padding:12px;gap:10px;margin:0 0 12px}
.farever-minimal .build-toolbar input,.farever-minimal .build-toolbar select{min-height:36px;padding:8px 10px}.farever-minimal .build-toolbar label{font-size:12px}
.workbench-stage{display:grid;grid-template-columns:260px minmax(0,1fr);gap:14px;align-items:start}.workbench-content,.workbench-panels{min-width:0}
.workbench-navigation{display:flex;align-items:center;gap:4px;justify-content:flex-start;margin-bottom:12px;padding:4px;background:var(--panel-inset);border-radius:12px;overflow-x:auto;scrollbar-width:none}
.workbench-navigation::-webkit-scrollbar{display:none}.workbench-tabs{display:contents}
.farever-minimal .workbench-tab{border:0;background:transparent;color:var(--muted);padding:9px 14px;min-height:36px;border-radius:9px;font-size:13px}
.farever-minimal .workbench-tab[aria-selected=true]{background:var(--surface);color:var(--text);box-shadow:0 1px 5px #0002}
.farever-minimal .workbench-tab{flex:0 0 auto}.farever-minimal #editor-tab-equipment{order:1}.farever-minimal #editor-tab-skills{order:2}.farever-minimal #editor-tab-talents{order:3}.farever-minimal #editor-tab-runes{order:4}.farever-minimal #editor-tab-options{order:5;margin-left:auto}
.farever-minimal .workbench-stage .build-attributes{position:static;grid-column:auto;grid-row:auto;padding:14px}.farever-minimal .workbench-stage .build-attributes :is(h2,h3){font-size:14px}
.farever-minimal .workbench-stage .build-attributes .build-hint{font-size:11px}.farever-minimal .workbench-panels>.build-panel{margin:0;padding:14px;grid-column:auto;grid-row:auto}
.farever-minimal .build-panel-heading{margin-bottom:10px}.farever-minimal .build-panel-heading h2{font-size:16px}
.farever-minimal .tabbed-workbench .paperdoll-slots{grid-template-columns:minmax(0,1fr) minmax(250px,.7fr) minmax(0,1fr);gap:8px}
.farever-minimal .tabbed-workbench .gear-side{gap:6px}
.farever-minimal .tabbed-workbench .gear-slot{padding:6px;min-height:56px;border-radius:10px;gap:7px}
.farever-minimal .tabbed-workbench .gear-slot-content{min-width:0}
.farever-minimal .tabbed-workbench .gear-slot :is(button,select){min-height:30px;padding:6px 8px;font-size:12px;line-height:1.3;border-radius:7px}
.farever-minimal .tabbed-workbench .gear-slot label{font-size:10px;margin:0}
.farever-minimal .tabbed-workbench .build-filters{margin-bottom:8px;gap:10px}.farever-minimal .tabbed-workbench .build-filters label{font-size:12px}
.farever-minimal .tabbed-workbench #build-skills{overflow:visible;display:grid;grid-template-columns:1fr;gap:16px}
.farever-minimal .tabbed-workbench :is(.build-class-skills,.build-weapon-skills){display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:8px;min-width:0}
.farever-minimal .tabbed-workbench .build-skill-card{min-width:0;min-height:120px;padding:12px;gap:6px;border-radius:12px}
.farever-minimal .tabbed-workbench .visual-runes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.farever-minimal .tabbed-workbench .build-talents-panel{max-height:min(660px,70dvh);overflow:auto}.farever-minimal .tabbed-workbench .visual-talents{gap:8px}.farever-minimal .tabbed-workbench .talent-tier{padding-top:20px}
.farever-minimal .workbench-options :is(.build-panel,fieldset){padding:0;border:0;background:transparent;margin:0 0 16px}.farever-minimal .build-tags-panel .build-hint{display:none}
.build-library-disclosure{margin:18px 0;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.build-library-disclosure>summary{cursor:pointer;padding:16px;font-weight:600;font-size:14px}
.farever-minimal .build-library-disclosure .build-library{border:0;padding:0 16px 16px}.farever-minimal .saved-build-card{padding:16px}.farever-minimal .saved-build-card h3{font-size:17px}
.farever-minimal .community-gallery{border:0;background:transparent;padding:0}.farever-minimal .community-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.farever-minimal .community-card{--community-portrait-width:80px;content-visibility:auto;contain-intrinsic-size:auto 250px;background:var(--surface);border:1px solid var(--border);border-radius:16px;min-height:0}
.farever-minimal .community-card-body{padding:16px 100px 8px 16px}.farever-minimal .community-card h3{font-size:15px}.farever-minimal .community-card p{font-size:12px;margin:5px 0}
.farever-minimal .community-card-footer{padding:10px 16px}.farever-minimal .community-card :is(button,.button){font-size:11px;min-height:30px;padding:7px 9px}
.farever-minimal .community-card .community-portrait{max-height:150px}.farever-minimal .community-creator{background:transparent;padding:0;color:var(--muted)}
/* Guild onboarding, directory and owner controls. */
.guild-welcome{max-width:850px;min-height:60vh;margin:0 auto;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:50px 24px}
.farever-minimal .guild-welcome h1{font:650 clamp(32px,4.2vw,58px)/1.08 var(--sans);letter-spacing:-.05em;margin:4px 0 20px}
.guild-welcome>p:not(.eyebrow){font-size:17px;line-height:1.65;color:var(--muted);max-width:650px;margin:0 0 22px}
.guild-benefits{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:6px 0 26px}.guild-benefits span{padding:9px 14px;background:var(--surface);border:1px solid var(--border);border-radius:30px;font-size:12px}
.farever-minimal .guild-welcome .discord-connection{border:0;background:transparent;padding:0;margin:0}.farever-minimal .guild-welcome .discord-connection h2,.farever-minimal .guild-welcome .discord-connection>p{display:none}
.guild-welcome .account-actions{justify-content:center}.guild-welcome .guild-onboarding-note{font-size:13px!important;margin-top:18px!important}
.farever-minimal .guild-directory{padding:20px;margin-bottom:18px}.directory-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.farever-minimal .directory-heading h2{font-size:22px;margin:0}
.directory-toolbar{margin:18px 0 8px;max-width:520px}.directory-toolbar label{font-size:12px}.directory-toolbar input{display:block;width:100%;margin-top:6px}.directory-status{font-size:12px;color:var(--muted)}
.guild-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.guild-directory-card{border:1px solid var(--border);border-radius:12px;padding:18px;background:var(--panel-inset);min-width:0;overflow-wrap:anywhere}.guild-directory-card h3{font-size:18px;margin:0 0 10px}.guild-directory-card p{font-size:13px;margin:6px 0}.guild-directory-card small{color:var(--muted);font-size:12px}.guild-directory-card .button{margin-top:14px}
.farever-minimal .guild-setup{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:16px;margin:16px 0}.guild-setup>div{flex:1 1 100%}.farever-minimal .guild-setup h2{font:600 22px/1.3 var(--sans);margin:8px 0}.guild-setup p{color:var(--muted);font-size:14px;margin:6px 0}
.farever-minimal .guild-entry{gap:16px}.farever-minimal .guild-entry h2{font-size:22px}.farever-minimal .guild-panel{padding:20px}.farever-minimal .guild-settings>form{padding:14px 0 0;border:0}.guild-settings summary{border:0;padding:0;font-size:16px}
.profile-guild-invite{grid-column:1/-1;max-width:480px}.profile-guild-invite small{display:block;margin-top:5px;color:var(--muted);font-size:12px}
@media(min-width:1500px){.farever-minimal .community-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.weapon-cards,.guild-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.farever-minimal .community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workbench-stage{grid-template-columns:230px minmax(0,1fr)}.farever-minimal .tabbed-workbench .paperdoll-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.farever-minimal .tabbed-workbench .build-character{display:none}.farever-minimal .dungeon-drops{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.workbench-stage{display:flex;flex-direction:column}.workbench-stage>.build-attributes{width:100%}.workbench-content{width:100%}.farever-minimal .workbench-stage .build-attributes #build-attributes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.workbench-navigation{align-items:stretch}.workbench-tabs{flex:1}.farever-minimal .workbench-tab{flex:1;padding:8px 10px;font-size:12px}.farever-minimal .tabbed-workbench .visual-runes{grid-template-columns:repeat(2,minmax(0,1fr))}.farever-minimal .guild-layout{grid-template-columns:1fr}.guild-welcome{min-height:55vh;padding:36px 8px}.guild-welcome>p:not(.eyebrow){font-size:15px}.farever-minimal .header #navigation.open{background:var(--surface)}.farever-minimal .dungeon-card-heading{padding:16px}.farever-minimal .dungeon-card h3{font-size:15px}}
@media(max-width:540px){.weapon-cards,.guild-directory-grid,.farever-minimal .community-grid{grid-template-columns:1fr}.farever-minimal .dungeon-drops{grid-template-columns:1fr;padding-inline:16px}.farever-minimal .tabbed-workbench .paperdoll-slots{grid-template-columns:1fr}.farever-minimal .tabbed-workbench .visual-runes{grid-template-columns:1fr}.farever-minimal .tabbed-workbench .gear-slot{flex-direction:row}.directory-heading{align-items:start}.farever-minimal .guild-directory{padding:14px}.farever-minimal .account-heading h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){.farever-minimal *{scroll-behavior:auto!important;transition:none!important}}
.farever-minimal .visual-build .build-stat{background:var(--panel-inset);grid-template-columns:minmax(0,1fr) 48px;padding:5px 8px;margin:4px 0;gap:6px;border-radius:8px;min-height:28px}
.farever-minimal .visual-build .build-stat>span{font-size:11px;line-height:1.35}
.farever-minimal .visual-build .build-stat output{font-size:13px;font-weight:600;text-align:right;color:var(--text)}
.farever-minimal .community-card .community-author{background:transparent;color:var(--muted);padding:3px 0;min-height:24px}

/* Language and theme controls share the next-rift pill treatment. */
html body.farever-minimal .header #site-settings{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;gap:8px}
html body.farever-minimal .header #site-settings :is(select,button){background:transparent;color:var(--text);border:1px solid var(--border);border-radius:9px;box-shadow:none;height:44px;min-height:44px;margin:0;padding:8px 12px;font:500 .875rem/1.2 var(--sans)}
html body.farever-minimal .header #site-settings button{width:44px;min-width:44px;padding:10px}
html body.farever-minimal .header #site-settings :is(select,button):hover{background:var(--header-hover);border-color:var(--accent);filter:none}
/* Dungeon gallery: three illustrated cards per row, each retaining its native disclosure. */
.farever-minimal .dungeon-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1600px}
.farever-minimal details.dungeon-card{background:var(--surface);border-color:var(--border);box-shadow:0 16px 38px rgba(0,0,0,.16)}
.farever-minimal .dungeon-card-heading{display:block;padding:0;background:transparent}
.farever-minimal .dungeon-card-heading::after{content:none}
.farever-minimal .dungeon-card-visual{position:relative;aspect-ratio:16/10;min-height:190px;overflow:hidden;background:var(--panel-inset)}
.farever-minimal .dungeon-card-art{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease,filter .35s ease}
.farever-minimal .dungeon-card-heading:hover .dungeon-card-art{transform:scale(1.025);filter:saturate(1.08)}
.farever-minimal .dungeon-card-shade{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:22px;background:linear-gradient(180deg,rgba(8,12,15,.04) 20%,rgba(8,12,15,.36) 53%,rgba(8,12,15,.94) 100%);color:#fff}
.farever-minimal .dungeon-kind-badge{align-self:flex-start;margin-bottom:9px;padding:5px 8px;border:1px solid rgba(232,202,139,.75);border-radius:6px;background:rgba(15,18,20,.72);color:#f0ce89;font-size:11px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;backdrop-filter:blur(8px)}
.farever-minimal .dungeon-kind-boss{border-color:rgba(216,104,104,.78);color:#ffd0c7}
.farever-minimal .dungeon-card h3{margin:0;color:#fff;font:600 clamp(18px,1.35vw,23px)/1.16 var(--serif);text-wrap:balance;text-shadow:0 2px 14px #000}
.farever-minimal .dungeon-meta{margin:7px 0 0;color:rgba(255,255,255,.78);font-size:12px}
.farever-minimal .dungeon-card-disclosure{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:var(--surface)}
.farever-minimal .dungeon-drop-count{color:var(--text);font-size:13px;font-weight:650}
.farever-minimal .dungeon-disclosure-icon{position:relative;width:26px;height:26px;flex:0 0 auto;border:1px solid var(--border);border-radius:50%;background:var(--control-bg)}
.farever-minimal .dungeon-disclosure-icon::before,.farever-minimal .dungeon-disclosure-icon::after{content:'';position:absolute;left:7px;right:7px;top:12px;height:1.5px;background:var(--accent)}
.farever-minimal .dungeon-disclosure-icon::after{transform:rotate(90deg);transition:transform .18s ease}
.farever-minimal .dungeon-card[open] .dungeon-card-heading span{transform:none}
.farever-minimal .dungeon-card[open] .dungeon-disclosure-icon{display:none}
.farever-minimal .dungeon-card[open] .dungeon-card-disclosure{border-bottom:0}
.farever-minimal .dungeon-drops{grid-template-columns:1fr;padding:8px 18px 14px;border-top:0;background:var(--panel-inset)}
.farever-minimal .dungeon-drop{padding:10px 0;border-bottom:0}
.farever-minimal .dungeon-card-actions{padding:0 18px 16px;background:var(--panel-inset)}
@media(max-width:1180px){.farever-minimal .dungeon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.farever-minimal .dungeon-grid{grid-template-columns:1fr}.farever-minimal .dungeon-card-visual{min-height:210px}.farever-minimal .dungeon-card-shade{padding:18px}}
@media(max-width:520px){html body.farever-minimal .header #site-settings{gap:6px}html body.farever-minimal .header #site-settings select{min-width:86px;width:auto;padding:8px 6px}}

/* 2026 mobile-first navigation and interaction pass. */
.farever-minimal :is(button,.button,.subtle-button,.tools-siblings a){transition:transform .16s ease,background-color .16s ease,border-color .16s ease,color .16s ease,opacity .16s ease}
.farever-minimal :is(button,.button,.subtle-button,.tools-siblings a):active{transform:scale(.975)}
.farever-minimal :is(button,.button,.subtle-button)[disabled]{opacity:.48;cursor:not-allowed;transform:none}
.header .header-quick{display:flex;align-items:center;gap:4px;justify-self:end}
.header .header-quick a{display:flex;align-items:center;min-height:42px;padding:9px 11px;border-radius:9px;color:var(--muted);font-size:12px;font-weight:600;white-space:nowrap;text-decoration:none}
.header .header-character svg{display:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.header .header-quick a:hover,.header .header-quick a[aria-current=page]{background:var(--control-bg);color:var(--text)}
.header #site-settings .language-native{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;opacity:0!important;pointer-events:none!important}
.header .language-switch{display:flex;align-items:center;height:36px;padding:2px;border:1px solid var(--border);border-radius:9px;background:var(--panel-inset)}
html body.farever-minimal .header #site-settings .language-switch button{width:auto;min-width:34px;height:30px;min-height:30px;padding:5px 8px;border:0;border-radius:7px;font-size:11px;font-weight:700;color:var(--muted)}
html body.farever-minimal .header #site-settings .language-switch button.is-active{background:var(--control-bg);color:var(--text)}

@media(min-width:1151px){
 html body.farever-minimal .header{grid-template-columns:auto minmax(0,1fr) auto auto auto;gap:10px;padding-block:12px}
 html body.farever-minimal .header #navigation{grid-column:2;grid-row:1;justify-self:center}
 html body.farever-minimal .header .header-live{grid-column:3;grid-row:1;justify-self:end;width:auto}
 html body.farever-minimal .header .header-quick{grid-column:4;grid-row:1}
 html body.farever-minimal .header #site-settings{grid-column:5;grid-row:1}
}

@media(min-width:1151px) and (max-width:1450px){
 html body.farever-minimal .header .brand-copy{display:none}
 html body.farever-minimal .header #navigation :is(a,summary){padding-inline:9px}
 html body.farever-minimal .header .header-quick a:first-child{display:none}
 html body.farever-minimal .header .header-character{width:42px;padding:10px;justify-content:center;border:1px solid var(--border)}
 html body.farever-minimal .header .header-character svg{display:block}
 html body.farever-minimal .header .header-character span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
}

@media(max-width:1150px){
 html body.farever-minimal .header{grid-template-columns:minmax(0,1fr) auto auto auto auto;gap:8px;padding:10px 14px;min-height:68px}
 html body.farever-minimal .header .brand{grid-column:1;grid-row:1}
 html body.farever-minimal .header .header-live{grid-column:2;grid-row:1;width:auto;justify-self:end}
 html body.farever-minimal .header .header-quick{grid-column:3;grid-row:1}
 html body.farever-minimal .header .header-quick a:first-child{display:none}
 html body.farever-minimal .header .header-character{width:42px;height:42px;min-height:42px;padding:10px;justify-content:center;border:1px solid var(--border)}
 html body.farever-minimal .header .header-character svg{display:block}
 html body.farever-minimal .header .header-character span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 html body.farever-minimal .header #site-settings{grid-column:4;grid-row:1}
 html body.farever-minimal .header .menu-button{grid-column:5;grid-row:1;min-height:44px;width:44px;padding:9px;border-radius:11px}
 body.menu-open{overflow:hidden}
 body.menu-open::after{content:"";position:fixed;inset:0;z-index:38;background:rgba(4,7,8,.58);backdrop-filter:blur(4px)}
 html body.farever-minimal .header #navigation.open{display:flex;position:fixed;z-index:45;inset:auto 12px 12px;max-height:min(72dvh,620px);overflow:auto;padding:10px;gap:5px;border:1px solid var(--border);border-radius:20px;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 22px 70px #0008;transform-origin:bottom;animation:farever-sheet-in .18s ease-out}
 html body.farever-minimal .header #navigation>.nav-group,html body.farever-minimal .header #navigation>.nav-guild{width:100%}
 html body.farever-minimal .header #navigation :is(a,summary){min-height:44px;padding:10px 12px;border-radius:10px;font-size:14px}
 html body.farever-minimal .header #navigation .tools-dropdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:3px 0 6px;padding:5px;border:0;border-radius:12px;background:var(--panel-inset)}
 html body.farever-minimal .header #navigation .tools-dropdown a{min-height:40px;padding:9px 10px;font-size:12px;white-space:normal}
 @keyframes farever-sheet-in{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}
}

@media(max-width:760px){
 html body.farever-minimal{--page-gutter:14px}
 html body.farever-minimal .header{position:relative;z-index:40}
 html body.farever-minimal .header{grid-template-columns:auto minmax(108px,1fr) auto auto auto;gap:6px;padding-inline:8px}
 html body.farever-minimal .header .brand-copy{display:none}
 html body.farever-minimal .header .brand-emblem{width:38px;height:38px;flex-basis:38px}
 html body.farever-minimal .header .header-live{grid-column:2;grid-row:1;width:auto;min-width:0;gap:4px}
 html body.farever-minimal .header .header-quick{display:flex;grid-column:3}
 html body.farever-minimal .header .header-quick .header-character{width:42px;height:42px;min-height:42px;padding:10px;justify-content:center;border:1px solid var(--border)}
 html body.farever-minimal .header .header-quick .header-character svg{display:block}
 html body.farever-minimal .header .header-quick .header-character span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 html body.farever-minimal .header #site-settings{grid-column:4}
 html body.farever-minimal .header .menu-button{grid-column:5}
 html body.farever-minimal .header #site-theme{display:none}
 html body.farever-minimal .header .header-live :is(.header-players,.header-rift){min-height:40px;padding:5px 7px;border-radius:10px;font-size:12px}
 html body.farever-minimal .header .header-live .header-players{flex-direction:row;gap:5px}
 html body.farever-minimal .header-rift-copy{flex-direction:row;align-items:center;gap:6px}
 html body.farever-minimal .header #header-rift-label{display:none}
 html body.farever-minimal :is(.page-hero,.account-heading){padding:20px 0 16px}
 html body.farever-minimal :is(.page-hero,.account-heading) h1{font-size:clamp(27px,8vw,36px);margin-bottom:8px}
 html body.farever-minimal :is(.page-hero,.account-heading)>p:not(.eyebrow){font-size:13px;line-height:1.5;margin-bottom:12px}
 html body.farever-minimal .tools-subpage-nav{display:none}
 html body.farever-minimal :is(.guild-panel,.build-panel,.saved-build-card,.tools-hub-card,.database-detail-card,.video-card){border-radius:13px}
 html body.farever-minimal :is(.guild-panel,.build-panel){padding:14px}
 html body.farever-minimal .filter-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:8px;border-radius:12px;position:sticky;top:6px;z-index:6;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(14px)}
 html body.farever-minimal .filter-bar>label:first-child{grid-column:1/-1}
 html body.farever-minimal .filter-bar :is(input,select,button){width:100%;min-height:42px}
 html body.farever-minimal .community-gallery{margin-top:4px}
 html body.farever-minimal .community-grid{gap:10px}
 html body.farever-minimal .community-card{--community-portrait-width:70px;border-radius:13px}
 html body.farever-minimal .community-card-body{padding:13px 90px 7px 13px}
 html body.farever-minimal .community-card-footer{padding:8px 12px;gap:6px}
 html body.farever-minimal .community-weapons{margin-top:8px;gap:6px}
 html body.farever-minimal .community-weapon{width:42px;height:42px;flex-basis:42px}
 html body.farever-minimal .account-actions{gap:7px}
 html body.farever-minimal .account-actions .button{min-height:40px;padding:9px 12px;font-size:12px}
 html body.farever-minimal .account-heading:has(#public-build-title){padding:14px;border-left:3px solid var(--accent);border-radius:13px;background:linear-gradient(145deg,#172232,var(--surface));border-top:1px solid #53657c;border-right:1px solid #53657c;border-bottom:1px solid #53657c}
 html body.farever-minimal .account-heading:has(#public-build-title) .eyebrow{margin-bottom:7px}
 html body.farever-minimal .account-heading:has(#public-build-title) h1{font-size:27px}
 html body.farever-minimal .public-build-layout{gap:10px}
 html body.farever-minimal .build-discussion{height:min(560px,72dvh);min-height:380px;padding:12px}
 html body.farever-minimal .workbench-navigation{position:sticky;top:6px;z-index:7}
 html body.farever-minimal .workbench-stage .build-attributes #build-attributes{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.farever-minimal .tabbed-workbench .paperdoll-slots{grid-template-columns:1fr}
 html body.farever-minimal .tabbed-workbench .build-character{display:block;min-height:260px}
 html body.farever-minimal .dungeon-grid{grid-template-columns:1fr;gap:10px}
 html body.farever-minimal .weapon-cards{grid-template-columns:1fr;gap:10px}
}

@media(max-width:430px){
 html body.farever-minimal .header{grid-template-columns:38px minmax(100px,1fr) 38px auto 40px;gap:4px;padding-inline:6px}
 html body.farever-minimal .header .brand-copy{display:none}
 html body.farever-minimal .header .brand-emblem{width:38px;height:38px;flex-basis:38px}
 html body.farever-minimal .header .header-live :is(.header-players,.header-rift){padding-inline:5px;min-height:38px}
 html body.farever-minimal .header .header-player-count>span{display:none}
 html body.farever-minimal .header .header-player-source{display:none}
 html body.farever-minimal .header .header-rift img{width:20px;height:20px}
 html body.farever-minimal .header .header-quick .header-character{width:38px;height:38px;min-height:38px;padding:8px}
 html body.farever-minimal .header .menu-button{width:40px;min-width:40px;min-height:40px;padding:7px}
 html body.farever-minimal .header #site-settings{gap:5px}
 html body.farever-minimal .header #site-theme{display:none}
 html body.farever-minimal .header .language-switch{height:34px}
 html body.farever-minimal .header #site-settings .language-switch button{min-width:27px;width:27px;height:28px;min-height:28px;padding:4px}
 html body.farever-minimal .header #navigation.open{inset-inline:8px;bottom:8px}
 html body.farever-minimal .header #navigation .tools-dropdown{grid-template-columns:1fr 1fr}
 html body.farever-minimal .filter-bar{grid-template-columns:1fr}
 html body.farever-minimal .filter-bar>label:first-child{grid-column:auto}
}
/* Shared, lightweight controls and compact build browsing. */
html body.builds-page #contenu #build-heading-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto}
html body.builds-page #contenu #build-heading-actions #open-build-editor{margin:0}
html body.builds-page #contenu #build-heading-actions [hidden],html body.builds-page #discord-connection[hidden]{display:none!important}
@media(max-width:650px){html body.builds-page #contenu #build-heading-actions{margin-left:0;flex-basis:100%}}
html.theme-light body.builds-page #contenu .account-heading:has(#public-build-title){background:var(--surface);border-color:var(--border);border-left-color:var(--accent)}
@media(min-width:1101px) and (max-width:1500px){html body.farever-minimal .tabbed-workbench .paperdoll-slots{grid-template-columns:minmax(0,1fr) minmax(130px,.7fr) minmax(0,1fr)}html body .visual-build .gear-slot .equipment-open{grid-column:1;grid-row:3;justify-self:start;padding:5px 7px;min-height:30px;font-size:12px}}
html body.farever-minimal :is(button,.button,.subtle-button):not(.map-marker){border-radius:12px;box-shadow:none;font-size:.875rem;line-height:1.35;min-height:42px;padding:10px 16px;font-weight:600}
html body.farever-minimal :is(button,.button):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
html body.farever-minimal :is(button,.button)[aria-busy=true]{opacity:.65;cursor:progress}
html body.farever-minimal :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:10px;font-size:1rem;border-color:var(--border);background:var(--panel-inset,var(--surface));color:var(--text)}
html body[data-community-builds] .account-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;margin:28px 0}
html body[data-community-builds] .account-heading .eyebrow{display:none}
html body[data-community-builds] .account-heading h1{font-family:var(--sans);font-size:clamp(2rem,4vw,3rem);letter-spacing:-.04em;margin:0}
html body[data-community-builds] .account-heading>p{grid-column:1;font-size:1rem;max-width:56ch}
html body[data-community-builds] .account-heading .account-actions{grid-column:2;grid-row:1 / 3;align-self:center}
html body .community-toolbar{display:grid;grid-template-columns:minmax(160px,1fr) 180px auto;gap:12px;align-items:end;position:relative}
html body .community-toolbar label{font-size:.875rem;display:grid;gap:6px;min-width:0}
html body .community-toolbar :is(input,select){width:100%;min-width:0;min-height:44px}
.community-filters>summary{cursor:pointer;list-style:none;min-height:44px;padding:12px 20px;border-radius:12px;background:var(--control-bg,var(--surface));font-size:.875rem;font-weight:600}
.community-filters[open]>summary{color:var(--accent)}
.community-filter-fields{position:absolute;z-index:12;top:100%;right:0;width:min(600px,100%);display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:0 12px 32px #0002}
html body.farever-minimal .community-card{border-color:transparent;border-radius:18px;contain-intrinsic-size:auto 260px;box-shadow:0 2px 8px #0001}
html body.farever-minimal .community-card h3{font-size:1.0625rem;line-height:1.4}
html body.farever-minimal .community-card p{font-size:.875rem}
html body.farever-minimal .community-card .community-card-footer{border:0;background:transparent;padding-top:4px}
html body.farever-minimal .community-card-footer :is(button,.button){font-size:.875rem;min-height:40px;background:transparent;padding:8px}
html body.farever-minimal .community-card .build-tags{gap:5px}
html body.farever-minimal .community-card .build-tag{font-size:.75rem;border:0;padding:4px 7px;background:var(--panel-inset,var(--surface))}
.build-skeleton{padding:24px;min-height:245px;display:flex;gap:18px;flex-direction:column}
.build-skeleton span{display:block;height:22px;background:var(--control-bg,#303638);border-radius:8px;animation:build-pulse 1.5s ease-in-out infinite alternate}
.build-skeleton span:nth-child(2){width:60%}.build-skeleton span:nth-child(3){height:70px;width:80%}
@keyframes build-pulse{to{opacity:.35}}
.optimizer-priorities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border:0;padding:12px 0}.optimizer-priorities label{display:grid;gap:6px;min-width:0}.optimizer-priorities select{width:100%;min-width:0}.optimizer-score{font-weight:700;color:var(--accent)}
@media(max-width:760px){html body[data-community-builds] .account-heading{display:block;margin:20px 0}html body[data-community-builds] .account-heading>p{font-size:.9375rem}html body .community-toolbar{grid-template-columns:minmax(0,1fr) auto}html body .community-toolbar>label:first-child{grid-column:1 / -1}.community-filter-fields{position:relative;top:auto;width:100%;grid-template-columns:1fr;padding:16px;margin-top:8px}.community-filters[open]{grid-column:1 / -1}.optimizer-priorities{grid-template-columns:1fr}html body.farever-minimal .community-card-body{padding:16px 90px 12px 16px}}
@media(prefers-reduced-motion:reduce){.build-skeleton span{animation:none}html body.farever-minimal :is(button,.button){transition:none;transform:none}}
html body.builds-page[data-community-builds] #contenu .account-heading{display:grid;background:none;border:0;padding:12px 0 20px;grid-template-columns:minmax(0,1fr) auto;gap:10px 24px}
html body.builds-page[data-community-builds] #contenu .account-heading h1{font-size:clamp(2rem,4vw,3rem)}
html body.builds-page[data-community-builds] #contenu .account-heading>p{font-size:1rem;line-height:1.5}
html body.builds-page[data-community-builds] #contenu .community-toolbar{background:none;border:0;padding:0}
html body.builds-page[data-community-builds] #contenu .community-card-body{flex:1;padding:18px 88px 14px 18px}
html body.builds-page[data-community-builds] #contenu .community-author{padding:2px 0;min-height:24px;background:none;color:var(--muted);font-weight:400;text-align:left;font-size:.875rem}
html body.builds-page[data-community-builds] #contenu .community-card{height:auto;min-height:0;align-self:start}
html body.builds-page[data-community-builds] #contenu .community-card-footer .button{background:transparent;min-height:40px;font-size:.875rem}
html body.builds-page[data-community-builds] #contenu .community-filters{border:0;margin:0}
.community-active-filters{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.community-active-filters:empty{display:none}html body.farever-minimal .community-active-filters button{font-size:.875rem;padding:6px 12px;min-height:36px;color:var(--accent)}
html body.farever-minimal #build-form[hidden]{display:none!important}#open-build-editor{margin:16px 0}.farever-minimal .saved-builds{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px}.farever-minimal .saved-build-card{padding:18px;border-radius:16px;border-color:transparent}.farever-minimal .saved-build-card h3{font:600 1.05rem/1.4 var(--sans)}
html body.builds-page[data-community-builds] #contenu .community-filters{padding:0}
html body.builds-page[data-community-builds] #contenu .account-heading .button{font-size:.875rem;min-height:42px}
@media(max-width:760px){html body.builds-page[data-community-builds] #contenu .community-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:10px}html body.builds-page[data-community-builds] #contenu .community-toolbar>label:first-child{grid-column:1/-1}html body.builds-page[data-community-builds] #contenu .community-filters{align-self:end}html body.builds-page[data-community-builds] #contenu .community-filters[open]{grid-column:1/-1}html body.builds-page[data-community-builds] #contenu .community-gallery{margin:10px 0 30px}html body.builds-page[data-community-builds] #contenu .community-filters>summary{margin:0}}
@media(max-width:760px){html body.builds-page[data-community-builds] #contenu .account-heading{display:block}html body.builds-page[data-community-builds] #contenu .account-heading>p{margin:12px 0}html body.builds-page[data-community-builds] #contenu .account-heading .account-actions{margin-top:16px}}
