[data-edit-id]{white-space:pre-wrap}#admin-bar{position:fixed;bottom:16px;left:calc(var(--sidebar,240px) + 16px);right:16px;z-index:150;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:16px;border:1px solid var(--line);border-radius:24px;background:rgba(23,27,20,.94);backdrop-filter:blur(16px);box-shadow:0 8px 32px #00000018;color:var(--text);font:16px/1.6 system-ui}#admin-bar[hidden]{display:none}#admin-bar button,.admin-login{border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--text);padding:8px 16px;min-height:48px;font:inherit;transition:transform .2s cubic-bezier(.2,.8,.2,1)}#admin-bar button:active,.admin-login:active{transform:scale(.96)}#admin-bar button:disabled{opacity:.5;cursor:wait}#admin-save{background:#c6aa69!important;color:#10130e!important}#admin-status{flex:1;min-width:160px}body.is-editing{padding-bottom:160px}body.is-editing [data-edit-id]{outline:1px dashed #c6aa6966;border-radius:4px;cursor:text;min-width:8px}body.is-editing [data-edit-id]:focus{outline:2px solid #d5b879;background:#c6aa6918}body.is-editing [data-edit-id][data-dirty]{background:#c6aa6928}.admin-login{display:inline-flex;align-items:center;text-decoration:none;margin-top:16px}#admin-account-note{font-size:14px;color:var(--muted)}@media(max-width:800px){#admin-bar{left:8px;right:8px;bottom:8px;padding:16px;border-radius:16px}#admin-status{flex-basis:100%}body.is-editing{padding-bottom:240px}}
body.admin-signed-in{padding-bottom:144px}body.admin-signed-in.is-editing{padding-bottom:240px}

.release-bar{margin:0 0 32px;padding:16px 24px;border:1px solid var(--line);border-radius:24px;background:rgba(25,30,22,.8);backdrop-filter:blur(16px);font:16px/1.6 system-ui}.release-choice{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.release-choice label{font-weight:700;color:var(--accent,#d2b878)}.release-choice select{min-height:48px;max-width:100%;padding:8px 16px;border:1px solid var(--line);border-radius:16px;background:var(--panel,#171b14);color:var(--text,#ddd);font:16px/1.6 system-ui}.release-bar p{margin:8px 0 0;color:var(--muted,#adb2a4);font-size:14px}.release-choice span,.release-origin{font-size:14px}.release-dialog{width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;border:1px solid var(--line,#394331);border-radius:24px;background:rgba(25,30,22,.98);backdrop-filter:blur(16px);color:var(--text,#ddd);padding:24px;font:16px/1.6 system-ui;box-shadow:0 8px 32px #00000018}.release-dialog::backdrop{background:#0b100ce0;backdrop-filter:blur(8px)}.release-dialog h2{font-size:24px;line-height:1.5;margin:0 0 16px}.release-dialog p{margin:16px 0}.release-dialog input:not([type=checkbox]){display:block;box-sizing:border-box;width:100%;margin-top:8px;padding:8px 16px;min-height:48px;border:1px solid var(--line,#394331);border-radius:16px;background:#11160e;color:inherit;font:inherit}.release-actions{display:flex;gap:16px;justify-content:flex-end;margin-top:24px;flex-wrap:wrap}.release-dialog button{padding:8px 16px;min-height:48px;border:1px solid var(--line,#394331);border-radius:16px;background:var(--panel,#171b14);color:inherit;font:inherit;transition:transform .2s cubic-bezier(.2,.8,.2,1)}.release-dialog button[type=submit]{background:#c6aa69;color:#10130e}.release-dialog button:active{transform:scale(.96)}.release-dialog button:disabled{opacity:.5}.release-error{color:#f0b9a9}.release-check{display:flex;gap:16px;align-items:flex-start}.release-check input{width:24px;height:24px;flex-shrink:0;margin-top:0}body.admin-signed-in{padding-bottom:208px}@media(max-width:800px){.release-bar{padding:16px;margin-bottom:24px}.release-choice{gap:8px}.release-choice select{width:100%}body.admin-signed-in{padding-bottom:288px}}

.planner-nav-entry{display:flex;padding:16px;margin-top:16px;border:1px solid var(--line);border-radius:16px;color:var(--gold,#d0b574);line-height:1.6;transition:transform .18s ease}.planner-nav-entry:active{transform:scale(.96)}

/* ExileLab tokens. Guide breakpoints: 960px compact, 1120px tablet. */
:root,[data-theme="dark"]{
 color-scheme:dark;
 --color-bg-primary:#0B0B0F;--color-bg-secondary:#111216;--color-bg-panel:#16171B;
 --color-gold-primary:#D4AF7C;--color-gold-secondary:#B88A60;--color-gold-hover:#E2C18C;--color-gold-active:#F0CF91;
 --color-text-primary:#E8E1D0;--color-text-secondary:#A8A6A2;--color-text-muted:#747474;--color-text-caption:#96938E;
 --color-border:rgba(212,175,124,.18);--color-border-hover:rgba(212,175,124,.35);
 --color-success:#62B985;--color-warning:#D9A441;--color-error:#CF5A5A;--color-info:#5C8FC7;
 --color-price-up:#60B980;--color-price-down:#C85B5B;--color-price-neutral:#9A9A9A;
 --space-1:8px;--space-2:16px;--space-3:24px;--space-4:32px;--space-5:40px;--space-6:48px;--space-8:64px;
 --radius-sm:8px;--radius-card:8px;--radius-dialog:16px;
 --font-ui:"Noto Sans TC",Inter,-apple-system,BlinkMacSystemFont,"Microsoft JhengHei",sans-serif;
 --font-display:Cinzel,Georgia,"Times New Roman","Noto Serif TC",serif;
 --font-number:Inter,"Roboto Mono",ui-monospace,monospace;
 --text-h1:clamp(28px,3.2vw,48px);--text-h2:clamp(28px,2.4vw,32px);--text-h3:24px;--text-body:16px;--text-small:14px;--text-caption:12px;
 --shadow-soft:0 8px 24px rgb(0 0 0 / .08);--transition-fast:180ms;--ease-out:cubic-bezier(.22,1,.36,1);
 --bg:var(--color-bg-primary);--panel:var(--color-bg-secondary);--panel2:var(--color-bg-panel);--line:var(--color-border);
 --text:var(--color-text-primary);--muted:var(--color-text-secondary);--gold:var(--color-gold-primary);--gold2:var(--color-gold-hover);
 --accent:var(--gold);--red:var(--color-error);--blue:var(--color-info);--green:var(--color-success);--purple:#B8A6CF;
 --rose-soft:#252117;--sage-soft:#19221C;--sky-soft:#19232F;--shadow:var(--shadow-soft);
}
body{background:radial-gradient(ellipse at 65% 0,rgba(212,175,124,.05),transparent 40%),var(--bg);color:var(--text);font:var(--text-body)/1.6 var(--font-ui)}
::selection{background:#56432B;color:var(--text)}
a{color:var(--gold)}a:hover{color:var(--gold2)}
button,input,select,textarea{font:inherit}
button,a.button,.brand-button,.btnlink,.source-link,.guide-shortcut,.admin-login,.planner-nav-entry{transition:transform var(--transition-fast) var(--ease-out),background var(--transition-fast),border-color var(--transition-fast);border-radius:var(--radius-sm)}
button:active,.brand-button:active,.btnlink:active,.source-link:active,.guide-shortcut:active,.admin-login:active{transform:scale(.97)}
button:disabled{cursor:not-allowed}
:focus-visible{outline:2px solid var(--gold2);outline-offset:4px}
input,select,textarea{accent-color:var(--gold);color:var(--text);background:var(--panel);border-color:var(--line)}
input::placeholder,textarea::placeholder{color:var(--color-text-caption);opacity:1}
h1,h2,h3,h4{color:var(--text);line-height:1.3;letter-spacing:0}h1{font-size:var(--text-h1)}h2{font-size:var(--text-h2)}h3{font-size:var(--text-h3)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.brand-logo{display:inline-flex;align-items:center;flex-shrink:0}
[lang=en]{--font-ui:Inter,"Noto Sans TC",-apple-system,BlinkMacSystemFont,sans-serif}
.brand-horizontal{display:block;width:144px;height:48px;object-fit:contain}
.brand-mark{width:40px;height:40px;object-fit:contain;flex-shrink:0}
.brand-mobile{display:none;align-items:center;gap:8px;font:22px/1.5 var(--font-display);color:var(--gold)}
@media(max-width:600px){.brand-horizontal{display:none}.brand-mobile{display:flex}}
.brand-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-3);min-height:48px;padding:var(--space-1) var(--space-3);border:1px solid var(--color-border-hover);text-decoration:none;color:var(--text);background:var(--panel)}
.brand-button:hover{border-color:var(--gold);background:var(--panel2);color:var(--gold2)}
.brand-button--primary{background:var(--gold);color:var(--bg);border-color:var(--gold);font-weight:650}
.brand-button--primary:hover{background:var(--gold2);color:var(--bg)}
.brand-button--primary:active{background:var(--color-gold-active)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* ExileLab guide shell; existing content and game artwork retain their structure. */
:root{--sidebar:216px;--header:72px}
html{scroll-padding-top:104px}
.site-header{position:sticky;top:0;height:var(--header);padding:0 var(--space-4);gap:var(--space-4);background:rgba(8,9,11,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(212,175,124,.12)}
.brand{color:var(--gold);text-decoration:none;font-weight:400;gap:0}
.primary-nav{display:flex;align-items:center;gap:var(--space-1);margin:auto}
.primary-tab{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-family:var(--font-ui);font-size:14px;line-height:1.5;min-height:48px;padding:var(--space-1) var(--space-2);border:1px solid transparent;background:none;color:var(--muted);font-weight:500;white-space:nowrap}
.primary-tab:hover{color:var(--text);background:var(--panel2)}
.primary-tab[aria-current=page]{color:var(--gold);background:rgba(212,175,124,.07);border-color:var(--line)}
.brand-header-actions{display:flex;align-items:center;gap:var(--space-2)}
.brand-language select{min-height:40px;max-width:88px;border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-1);font-size:var(--text-small);background:var(--panel);color:var(--text)}
.search-wrap{margin:0}.header-search{width:208px;position:relative}.search{border-radius:var(--radius-sm);min-height:40px;padding:var(--space-1) var(--space-4);box-shadow:none;border-color:var(--line);font-size:var(--text-small)}
.search-glyph{position:absolute;left:8px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:24px;height:24px;line-height:1;font-size:24px;color:var(--gold)}.clear-search{top:4px;right:0}
.search:focus{border-color:var(--gold)}
.toolbar{width:var(--sidebar);padding:var(--space-4) var(--space-2);background:rgb(17 18 22 / .8);backdrop-filter:blur(16px);border-color:var(--line);scrollbar-width:thin}
.grouped-nav{gap:var(--space-3)}.hub-group[hidden]{display:none!important}
.nav-category-label{font-size:var(--text-caption);color:var(--color-text-caption);letter-spacing:.08em;padding:0 var(--space-2) var(--space-2);border-bottom-color:var(--line)}
.tab{min-height:48px;gap:var(--space-2);padding:var(--space-1) var(--space-2);color:var(--muted);border-radius:var(--radius-sm);font-size:var(--text-small)}
.tab:hover{background:var(--panel2);color:var(--text)}.tab[aria-current=page]{background:rgba(212,175,124,.08);color:var(--gold);border-color:var(--line)}
.tab .game-icon{width:24px;height:24px;flex-basis:24px}
.planner-nav-entry{background:var(--panel2);border:1px solid var(--line);color:var(--gold);font-size:var(--text-small)}
main{max-width:1600px;padding:var(--space-4) var(--space-5) var(--space-8)}
.release-bar{background:var(--panel);border-color:var(--line);border-radius:var(--radius-sm);padding:var(--space-2) var(--space-3);margin-bottom:var(--space-4)}
.release-choice select{background:var(--panel2);color:var(--text);border-radius:var(--radius-sm);min-height:40px}.release-bar p{font-size:var(--text-caption)}
body[data-page=home] main{margin-left:0;margin-right:auto;max-width:1280px;margin-inline:auto;padding-top:0}
body[data-page=home] .toolbar{display:none}
body[data-page=home] .release-bar{margin-top:var(--space-3);margin-bottom:0}
body[data-page=home] .release-bar p{display:none}
body[data-page=home] .release-choice{font-size:var(--text-caption)}
body[data-page=home] .release-choice select{min-height:32px;font-size:var(--text-caption);padding:0 var(--space-1)}
body[data-page=home] .footer{margin-left:0}
.overview-intro,.hub-heading{padding:0 0 var(--space-4);margin-bottom:var(--space-4);border-bottom:1px solid var(--line)}
.overview-intro h1,.hub-heading h1{font-size:var(--text-h1)}.overview-intro p,.hub-heading p,.section-lead{color:var(--muted);max-width:80ch;font-size:var(--text-body)}
.card,.guide-shortcut,.summary-item,.preset>div,.waystone-rule,.empty-collection{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:none}
.card{padding:var(--space-3)}.card h3{font-size:var(--text-h3)}.card h4{color:var(--gold)}
.guide-shortcut{padding:var(--space-3);transition:transform var(--transition-fast),border-color var(--transition-fast)}.guide-shortcut:hover{border-color:var(--color-border-hover);transform:translateY(-2px)}
.guide-shortcut .game-icon{width:40px;height:40px;flex-basis:40px}.guide-shortcut>div>span{display:block;margin-top:var(--space-1);font-size:var(--text-small)}
.mechanic-head{padding-bottom:var(--space-3);border-bottom:1px solid var(--line)}
.btnlink,.source-link{min-height:48px;background:var(--panel);border-color:var(--line);color:var(--gold)}
.btnlink:hover,.source-link:hover{background:var(--panel2);border-color:var(--gold)}
.overview-comparison .compare tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2)}
.overview-comparison table.compare{display:block;min-width:0}.overview-comparison .table-wrap{border:0;border-radius:0;overflow:visible}
.overview-comparison .compare thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.overview-comparison .compare tr{display:grid;grid-template-columns:1fr auto;gap:var(--space-2);padding:var(--space-3);border:1px solid var(--line);border-radius:var(--radius-card);background:var(--panel)}
.overview-comparison .compare td{display:block;padding:0;border:0;white-space:normal}
.overview-comparison .compare td:first-child{grid-column:1;grid-row:1}
.overview-comparison .compare td:nth-child(2){grid-column:1/-1;grid-row:2;color:var(--muted)}
.overview-comparison .compare td:nth-child(3){display:block;grid-column:1/-1;grid-row:3}
.overview-comparison .compare td:nth-child(4){grid-column:1/-1;grid-row:4;padding-top:var(--space-2);border-top:1px solid var(--line);color:var(--muted);font-size:var(--text-small)}
.overview-comparison .compare td:nth-child(5){grid-column:2;grid-row:1;text-align:right}
.overview-editorial{background:var(--panel2);border:1px solid var(--line);border-radius:var(--radius-card);padding:var(--space-3)}
.kind{padding:var(--space-1);border-radius:var(--radius-sm)}.kind.fact{color:#9FBBDE;background:#19232F}.kind.infer{color:#D4AF7C;background:#282319}.kind.community{color:#C3B0DD;background:#292232}
.badge{color:var(--muted);background:var(--panel2);border-radius:var(--radius-sm)}
.callout{background:#232018;border-color:var(--gold);border-radius:0 var(--radius-sm) var(--radius-sm) 0}
.callout.warn{background:#291C1C;border-color:var(--red)}.callout.ok{background:#18251D;border-color:var(--green)}.callout.info{background:#19232F;border-color:var(--blue)}
.strategy-steps li{background:var(--panel2);border-radius:var(--radius-sm)}.strategy-steps li::before{background:#282319;color:var(--gold)}
.table-wrap{border-color:var(--line);border-radius:var(--radius-sm)}th{position:sticky;top:0;background:var(--panel2);color:var(--muted)}tbody tr:hover{background:var(--panel2)}td{font-variant-numeric:tabular-nums}
code.regex{background:var(--bg);color:var(--gold2);border-radius:var(--radius-sm)}.copy{background:#282319;color:var(--gold2);border-color:var(--line)}
.exp-nav{position:sticky;top:var(--header);z-index:20;padding:var(--space-1);background:rgb(17 18 22 / .96);backdrop-filter:blur(16px);border:1px solid var(--line);border-radius:var(--radius-sm)}
.exp-tabs{margin:0;padding:0}.exp-tab{min-height:48px;border-radius:var(--radius-sm)}.exp-tab[aria-selected=true]{background:#282319;border-color:var(--line);color:var(--gold2)}
.sheet-meta,.sheet-gallery{background:var(--panel);border-radius:var(--radius-sm);border-color:var(--line)}
.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3)}
.resource-list{display:flex;flex-direction:column;gap:var(--space-1);margin-top:var(--space-2)}.resource-list a{display:flex;justify-content:space-between;min-height:48px;padding:var(--space-2) 0;border-bottom:1px solid var(--line);text-decoration:none}.resource-list a::after{content:'↗'}
.hub-entry-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}.hub-entry-list .card{padding:var(--space-4)}.hub-entry-list h2{font-size:24px}.hub-entry-list p{margin:var(--space-2) 0 var(--space-3);color:var(--muted)}
.footer{padding:var(--space-6) var(--space-5);background:var(--panel);border-color:var(--line);color:var(--muted)}.footer a{color:var(--gold)}.footer .small{font-size:var(--text-caption)}
#admin-bar,.release-dialog{background:rgb(17 18 22 / .96);border-radius:var(--radius-dialog);box-shadow:var(--shadow)}
#admin-save{background:var(--gold)!important;color:var(--bg)!important}
.release-dialog input:not([type=checkbox]){background:var(--panel2);color:var(--text)}.release-dialog button[type=submit]{background:var(--gold);color:var(--bg)}.release-error{color:#E89595}
body.is-editing [data-edit-id]:focus{background:#282319}body.is-editing [data-edit-id][data-dirty]{background:#3C301F}
.mobile-menu{background:var(--panel);border-color:var(--line);min-width:48px;min-height:48px;padding:var(--space-1);color:var(--gold);align-items:center;justify-content:center}
.skip-link{background:var(--gold);color:var(--bg);border-radius:var(--radius-sm)}
.eyebrow{display:block;color:var(--gold);font:12px/1.6 var(--font-ui);letter-spacing:.18em;font-weight:500}
@media(min-width:1680px){main{margin-left:var(--sidebar)}}
@media(max-width:1120px){.site-header{gap:var(--space-2);padding:0 var(--space-3)}.primary-tab{padding:var(--space-1) var(--space-2)}.header-search{width:160px}.brand-logo{gap:var(--space-1)}main{padding:var(--space-4)}.resource-grid{grid-template-columns:1fr}}
@media(max-width:1200px){.header-search{width:144px}.primary-tab{padding:var(--space-1)}.brand-subtitle{letter-spacing:.2em}.brand-header-actions{gap:var(--space-1)}.brand-language select{max-width:72px}.hub-entry-list{grid-template-columns:1fr}}
@media(max-width:1200px){
 :root{--header:64px}.site-header{height:var(--header);display:flex;justify-content:space-between;gap:var(--space-2);padding:0 var(--space-2)}
 .brand-header-actions{margin-left:auto}.mobile-menu{display:flex}
 .primary-nav{display:none;position:fixed;top:var(--header);left:8px;right:8px;width:auto;height:56px;padding:8px;gap:0;min-width:0;overflow-x:auto;scrollbar-width:thin;background:var(--panel);z-index:46}
 .site-header:has(.mobile-menu[aria-expanded=true]) .primary-nav{display:flex}.primary-tab{flex:1;min-height:40px;padding:8px;font-size:14px}
 .header-search{display:none;position:fixed;top:calc(var(--header) + 56px);left:16px;right:16px;width:auto;z-index:46;padding-top:8px}.site-header:has(.mobile-menu[aria-expanded=true]) .header-search{display:block}.header-search .search{min-height:48px}.header-search .search-glyph{top:12px}.header-search .clear-search{top:16px}
 .toolbar,body[data-page=home] .toolbar{display:none;position:fixed;inset:var(--header) 8px auto;width:auto;max-height:calc(100dvh - var(--header) - 16px);overscroll-behavior:contain;padding:128px 16px 24px;border:1px solid var(--line);border-radius:0 0 var(--radius-dialog) var(--radius-dialog);background:rgb(17 18 22 / .98);box-shadow:var(--shadow)}
 .toolbar.menu-open,body[data-page=home] .toolbar.menu-open{display:block}.grouped-nav{display:block}.nav-category-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 main,body[data-page=home] main{margin:0;padding:24px 16px 48px}body[data-page=home] main{padding-top:0}
 .release-bar{padding:16px;margin-bottom:24px}.release-choice select{width:auto}
 .overview-comparison .compare tbody,.resource-grid,.hub-entry-list{grid-template-columns:1fr}.overview-comparison .compare tr{padding:24px}.card,.card.third,.card.quarter{padding:24px;border-radius:var(--radius-card)}.hub-entry-list .card{padding:24px}
 .guide-shortcuts{grid-template-columns:1fr 1fr}.guide-shortcut{padding:16px;display:block}.guide-shortcut .game-icon{display:block;width:32px;height:32px;margin-bottom:8px}.guide-shortcut .arrow{display:none}
 .footer{margin-left:0;padding:24px 16px}
}

/* Official artwork and compact platform presentation; content stays versioned. */
body[data-page=home] main{max-width:1440px;padding:0 40px 64px}
body[data-page=home] .release-bar{margin:0;border:0;border-radius:0;padding:8px 0;background:transparent;backdrop-filter:none}
body[data-page=home] .release-choice{gap:16px;color:var(--muted);font-size:12px}
body[data-page=home] .release-choice label{font-weight:400;color:var(--muted)}
body[data-page=home] .release-choice select{font-size:12px;background:var(--panel);border-color:#303137;min-height:32px}
body[data-page=home] .release-choice>span{font-size:12px;margin-left:auto}
#home{--home-line:rgba(255,255,255,.06);--home-surface:#141519;--home-hover:#191A20;font-family:var(--font-ui)}
.site-header[lang=en],.platform-footer[lang=en]{font-family:var(--font-ui)}
#home h1,#home h2,#home h3{font-family:var(--font-ui);letter-spacing:-.02em;line-height:1.5}
#home a{color:var(--text)}#home a:hover{color:var(--gold2)}
.platform-hero{position:relative;display:flex;align-items:center;aspect-ratio:2172/724;min-height:0;padding:24px 64px;border:1px solid rgba(255,255,255,.06);border-radius:12px;background-color:#07080A;background-image:linear-gradient(90deg,rgba(7,8,10,.96) 0%,rgba(7,8,10,.90) 24%,rgba(7,8,10,.68) 40%,rgba(7,8,10,.30) 57%,rgba(7,8,10,.08) 75%,rgba(7,8,10,0) 100%),url('/brand/exilelab-hero-background.png');background-position:center;background-size:100% 100%,contain;background-repeat:no-repeat}
.platform-intro{width:100%;min-width:0;max-width:500px}
.platform-eyebrow{font:500 13px/1.6 var(--font-ui);letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
#home .platform-intro .hero-title{width:100%;margin:20px 0 0;line-height:0}
.hero-title-image{display:block;width:min(100%,440px);height:auto;object-fit:contain;transform:translateX(-4.875%)}
.hero-tagline{width:100%;margin-top:-36px;line-height:0}
.hero-tagline-image{display:block;width:min(100%,400px);height:auto;object-fit:contain;transform:translateX(-3.222%)}
.platform-intro>p{margin:0}
.platform-intro>.hero-description{max-width:340px;color:#C9C3B6;font-size:17px;line-height:1.65;margin-top:20px}
.hero-description-tail{white-space:nowrap}
.global-search-anchor{position:relative;margin-top:24px}
.global-search{display:flex;align-items:center;gap:8px;height:56px;padding:8px 16px;background:rgba(17,18,22,.82);border:1px solid rgba(255,255,255,.08);border-radius:10px}
.global-search:hover{border-color:rgba(212,175,124,.18)}
.global-search:focus-within{border-color:rgba(212,175,124,.38);outline:2px solid rgba(212,175,124,.08)}
.global-search>span{font-size:28px;color:var(--muted)}
.global-search input{min-width:0;width:100%;flex:1;border:0;background:none;outline:0;font-size:16px;color:var(--text);padding:0}
.global-search input:focus-visible{outline:0}
.global-search button{width:32px;height:32px;flex-shrink:0;border:0;border-radius:8px;background:transparent;color:var(--muted)}
.global-results{position:absolute;z-index:40;top:calc(100% + 8px);left:0;right:0;background:rgb(22 23 27 / .98);border:1px solid #42434B;border-radius:8px;box-shadow:var(--shadow-soft);backdrop-filter:blur(12px);max-height:400px;overflow:auto}
.global-results[hidden]{display:none}.global-results>p{padding:8px 16px;margin:0;color:var(--muted);font-size:12px;border-bottom:1px solid var(--home-line)}
.global-results ul{list-style:none;margin:0;padding:8px}.global-results li+li{margin-top:0}
.global-results a{display:grid;grid-template-columns:1fr auto;gap:8px 16px;text-decoration:none;padding:8px;border-radius:8px;min-height:64px}
.global-results a:hover,.global-results a:focus{background:#24252C}
.global-results a>span{grid-column:2;grid-row:1;font-size:12px;color:var(--muted)}
.global-results strong{grid-column:1;grid-row:1;font-size:14px;font-weight:550}
.global-results small{grid-column:1/-1;color:var(--muted);font-size:12px;line-height:1.6}
.hero-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.hero-shortcuts a{display:flex;align-items:center;gap:8px;min-height:32px;padding:0 16px;border-radius:8px;background:rgba(255,255,255,.025);font-size:12px;text-decoration:none}
.hero-shortcuts span{color:var(--muted)}
.home-sections{display:grid;gap:72px;margin-top:64px}
.home-section{min-width:0}
.platform-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.platform-section-heading h2{font-size:30px;font-weight:600;margin:0}
.platform-section-heading p{font-size:14px;color:var(--muted);margin:8px 0 0}
.platform-section-heading>a{font-size:13px;text-decoration:none;white-space:nowrap;color:var(--muted)!important;min-height:40px;display:flex;align-items:center}
.strategy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.strategy-card{display:block;padding:16px;border:1px solid var(--home-line);border-radius:10px;background:var(--home-surface);text-decoration:none;min-width:0}
.strategy-card,.compact-resource{transition:background 160ms ease,border-color 160ms ease,transform 160ms ease}
.strategy-card:hover,.compact-resource:hover{border-color:rgba(212,175,124,.28);background:var(--home-hover);transform:translateY(-1px)}
.strategy-card:active,.compact-resource:active,.compact-button:active,.hero-shortcuts a:active{transform:scale(.98)}
.strategy-card-heading{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.strategy-card-heading img{width:32px;height:32px;object-fit:contain}.strategy-card-heading h3{font-size:18px;font-weight:550;margin:0}.strategy-card-heading>span{margin-left:auto;color:var(--muted)}
.strategy-facts{margin:0;display:grid;gap:8px;font-size:12px;line-height:1.6}.strategy-facts>div{display:grid;grid-template-columns:64px 1fr;gap:8px}
.strategy-facts dt{color:var(--muted)}.strategy-facts dd{margin:0;min-width:0;color:var(--text)}.strategy-facts>div:last-child{border-top:1px solid var(--home-line);padding-top:8px}
.platform-note{font-size:12px!important;line-height:1.6;color:var(--color-text-caption)!important;margin:16px 0 0}
.builds-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px;border:1px solid var(--home-line);border-radius:10px;background:var(--home-surface)}
.builds-panel p{font-size:14px;margin:8px 0 0}.builds-panel .platform-note{margin-top:8px}
.neutral-badge{display:inline-block;font-size:11px;background:var(--panel2);color:var(--muted);border:1px solid var(--home-line);border-radius:8px;padding:0 8px;line-height:1.6;white-space:nowrap}
.compact-button{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;text-decoration:none;border:1px solid #42434B;border-radius:8px;font-size:13px;background:var(--panel2);white-space:nowrap;transition:transform 160ms ease}
.market-panel{background:var(--home-surface);border:1px solid var(--home-line);border-radius:10px;padding:16px}
.market-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.data-count{display:flex;align-items:baseline;gap:8px;font:24px/1.5 var(--font-number);font-variant-numeric:tabular-nums;color:var(--text)}
.data-count small{font:12px/1.6 var(--font-ui);color:var(--muted)}
.market-status{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.status-dot{width:8px;height:8px;border-radius:50%;background:#85858E}
.market-filters{display:flex;gap:8px;overflow:auto;margin-bottom:8px;scrollbar-width:thin}
.market-filters button{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;background:transparent;color:var(--muted);border:1px solid transparent;padding:8px 16px;min-height:40px;font-size:12px}
.market-filters button[aria-pressed=true]{background:rgba(212,175,124,.06);color:var(--gold);border-color:rgba(212,175,124,.2)}
.market-filters button>span{font:11px/1.6 var(--font-number);color:var(--color-text-caption)}
.market-table-wrap{max-height:280px;overflow:auto;scrollbar-width:thin;scrollbar-color:#42434B transparent}
.home-market-table{min-width:0!important;width:100%;font-size:13px;font-variant-numeric:tabular-nums}
.home-market-table th{position:sticky;top:0;z-index:1;background:var(--panel);padding:8px 16px;border-bottom:1px solid var(--home-line);font-size:12px}
.home-market-table td{padding:8px 16px;border-bottom:1px solid var(--home-line);height:40px}
.home-market-table th:not(:first-child),.home-market-table td:not(:first-child){text-align:right;width:20%;color:var(--muted)}
.home-market-table a{display:flex;align-items:center;gap:8px;text-decoration:none;font-size:13px;min-height:24px}
.home-market-table a>span{color:var(--color-text-caption)}
.home-market-table tr[hidden]{display:none}.home-market-table tbody tr:hover{background:var(--home-hover)}
.compact-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.compact-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.compact-resource{display:flex;align-items:center;gap:16px;padding:16px;border:1px solid var(--home-line);border-radius:10px;background:var(--home-surface);text-decoration:none;min-width:0}
.resource-id{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;background:var(--panel2);border:1px solid var(--home-line);border-radius:8px;font-size:13px;color:var(--muted)}
.compact-resource strong{display:block;font-size:14px;font-weight:550}.compact-resource small{display:block;font-size:12px;color:var(--muted)}
.resource-type{margin-left:auto;font-size:11px;color:var(--muted);white-space:nowrap}
.updates-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--home-line)}
.updates-list li{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--home-line);font-size:13px}
.updates-list a{display:flex;align-items:center;gap:16px;flex:1;text-decoration:none;min-width:0;overflow-wrap:anywhere}
.updates-list a span{color:var(--muted);font-size:12px}
.updates-list time,.update-date{color:var(--muted);font-size:12px}
.platform-footer{position:relative;padding:40px max(40px,calc((100vw - 1360px)/2));background:#0D0E12;border-top:1px solid #2A2B31;min-height:240px}
.footer-main{display:flex;align-items:center;gap:24px}
.footer-motto{margin:0;font:12px/1.6 var(--font-ui);letter-spacing:0;color:var(--muted)}
.footer-main nav{display:flex;gap:24px;margin-left:auto}.footer-main nav a{color:var(--muted);font-size:13px;text-decoration:none;min-height:40px;display:flex;align-items:center}
.footer-bottom{display:flex;align-items:start;gap:24px;margin-top:24px;color:var(--color-text-caption);font-size:11px;padding-top:24px;border-top:1px solid #2A2B31}
.footer-bottom p{margin:0;max-width:80ch}.footer-bottom>a{color:var(--muted)}.footer-bottom>span{margin-left:auto;white-space:nowrap}
.footer-version{margin-top:16px;color:var(--color-text-caption);font:11px/1.6 var(--font-number);letter-spacing:.08em;text-align:right}
.platform-footer>.admin-login{position:absolute;bottom:16px;right:max(40px,calc((100vw - 1360px)/2));min-height:32px;padding:0 8px;font-size:11px;margin:0;border-color:#303137;color:var(--muted);background:transparent}
@media(max-width:1120px){body[data-page=home] main{padding-inline:32px}.platform-hero{aspect-ratio:auto;min-height:520px;padding:48px;background-position:center}.platform-intro{max-width:520px}.hero-title-image{width:min(100%,400px)}.hero-tagline{margin-top:-32px}.hero-tagline-image{width:min(100%,368px)}.strategy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-resource{gap:8px}.compact-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-motto{display:none}}
@media(max-width:800px){body[data-page=home] main{padding:0 16px 48px}.platform-hero{min-height:520px;padding:40px 24px;background-position:center;background-image:linear-gradient(90deg,rgba(7,8,10,.94) 0%,rgba(7,8,10,.84) 38%,rgba(7,8,10,.48) 72%,rgba(7,8,10,.18) 100%),url('/brand/exilelab-hero-background.png')}.platform-intro{max-width:100%;transform:none}.platform-eyebrow{font-size:12px}.hero-title-image,.hero-tagline-image{width:100%;max-width:380px}.hero-tagline{margin-top:-24px}.platform-intro>.hero-description{max-width:31ch;font-size:15px;line-height:1.65;margin-top:24px}.global-search{padding:8px;min-height:56px}.global-search input{font-size:14px}.hero-shortcuts{gap:8px 16px}.hero-shortcuts a{font-size:12px}.home-sections{gap:48px;margin-top:40px}.platform-section-heading h2{font-size:20px}.platform-section-heading>a{font-size:12px}.platform-section-heading{gap:8px}.strategy-facts>div{grid-template-columns:1fr;gap:0}.compact-resource-grid,.compact-tool-grid{grid-template-columns:1fr}.compact-resource{gap:16px}.market-filters{gap:0}.market-filters button{padding:8px;flex:1;gap:8px}.home-market-table th,.home-market-table td{padding:8px}.builds-panel{align-items:start;flex-direction:column;gap:16px}.platform-footer{padding:32px 16px 56px;min-height:0}.footer-main{flex-wrap:wrap;gap:16px}.footer-main nav{width:100%;gap:24px;margin-left:0}.footer-bottom{flex-wrap:wrap;gap:8px;margin-top:16px;padding-top:16px}.footer-bottom>span{margin-left:8px;white-space:normal}.platform-footer>.admin-login{right:16px}.global-results{max-height:320px}.updates-list li{flex-wrap:wrap;gap:8px 16px}.updates-list a{flex-basis:70%}.updates-list time,.update-date{margin-left:0}}
@media(max-width:480px){.platform-hero{padding:40px 16px;background-position:center}.platform-intro>.hero-description{max-width:28ch}.hero-shortcuts{gap:8px 16px}.hero-shortcuts a{gap:0}.hero-shortcuts span{display:none}.strategy-grid{grid-template-columns:1fr}.strategy-facts>div{grid-template-columns:64px 1fr;gap:8px}.market-source{display:none}.market-filters button{font-size:11px;gap:4px}.market-filters button>span{font-size:10px}.market-panel{padding:16px}.platform-section-heading h2{font-size:18px}.global-search input{font-size:16px}.global-search>span{font-size:24px}.footer-main nav{gap:16px}.footer-main nav a{font-size:12px}}

/* Published community build cards; scoped to preserve the existing guide shell. */
#home .build-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}#home .build-card{overflow:hidden;border:1px solid var(--home-line);border-radius:10px;background:var(--home-surface);min-width:0}#home .build-cover{width:100%;height:144px;object-fit:cover}#home .card-body{padding:24px}#home .build-card h2{font-family:'Noto Sans TC',system-ui,sans-serif;font-size:20px;margin:16px 0 8px;line-height:1.5}#home .build-card p{color:#a4a4b0;font-size:14px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#home .build-card .meta,#home .build-card .chips,#home .card-bottom{display:flex;gap:8px;flex-wrap:wrap;align-items:center}#home .build-card .badge,#home .build-card .chips span{border:1px solid #303037;border-radius:8px;padding:0 8px;font-size:12px;color:#a4a4b0}#home .card-bottom{justify-content:space-between;margin-top:16px;padding-top:16px;border-top:1px solid #303037;font-size:12px}.community-account-link{font-family:'Noto Sans TC',system-ui,sans-serif;font-size:12px;white-space:nowrap}
@media(max-width:1000px){#home .build-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){#home .build-grid{grid-template-columns:1fr}.community-account-link{display:none}}

/* Editorial homepage hierarchy; shared guide and account pages retain their styles. */
#home .platform-section-heading h2::before{content:"";display:block;width:24px;height:1px;background:rgba(212,175,124,.48);margin-bottom:8px}
#home .hero-shortcuts a:hover{background:rgba(212,175,124,.06);color:var(--gold)}
#home .market-section{padding:24px;background:#0E0F13;border-radius:12px}
#home .realm-market{background:var(--home-surface);border:1px solid var(--home-line);border-radius:10px}
#home .home-build-empty{display:flex;align-items:center;gap:24px;min-height:128px;padding:24px;background:var(--home-surface);border-radius:10px}
#home .empty-build-icon{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;font-size:28px;color:var(--muted)}
#home .home-build-empty h3{font-size:16px;font-weight:500;margin:0 0 8px}
#home .home-build-empty p{font-size:14px;color:var(--muted);margin:0;line-height:1.6}
#home .home-build-empty .compact-button{margin-left:auto;background:transparent;border-color:rgba(255,255,255,.10);gap:8px}
body[data-page=home]:has(#home.active){--header:72px}
body[data-page=home]:has(#home.active) .site-header{height:72px;gap:16px;background:rgba(8,9,11,.88);backdrop-filter:blur(16px);border-bottom:1px solid rgba(212,175,124,.08)}
body[data-page=home]:has(#home.active) .site-header .brand-horizontal{width:192px;height:64px}
body[data-page=home]:has(#home.active) .primary-nav{gap:0}
body[data-page=home]:has(#home.active) .primary-tab{padding:8px 16px;background:transparent;border-color:transparent;font-size:16px!important}
body[data-page=home]:has(#home.active) .primary-tab:hover{background:transparent;color:var(--gold)}
body[data-page=home]:has(#home.active) .brand-header-actions{gap:16px}
body[data-page=home]:has(#home.active) .header-search{width:176px}
body[data-page=home]:has(#home.active) .header-search .search{border-radius:24px;background:rgba(255,255,255,.025);border-color:rgba(255,255,255,.08);font-size:12px}
body[data-page=home]:has(#home.active) .community-account-link{padding:8px 16px;border:1px solid rgba(255,255,255,.08);border-radius:8px;text-decoration:none}
body[data-page=home]:has(#home.active) .brand-language select{background:transparent;border:0;max-width:80px;padding:8px 0;color:var(--muted)}
body[data-page=home]:has(#home.active) .realm-selector{margin:0;padding-left:16px;border-left:1px solid rgba(255,255,255,.08)}
body[data-page=home]:has(#home.active) .realm-selector summary{border:0;border-radius:8px;padding:8px 0;color:var(--muted);font-size:12px;list-style:none}
body[data-page=home]:has(#home.active) .realm-selector summary::-webkit-details-marker{display:none}
body[data-page=home]:has(#home.active) .realm-selector summary::after{content:"⌄";padding-left:8px}
body[data-page=home]:has(#home.active) .realm-selector summary:hover{color:var(--gold)}
#home button,#home .compact-button,#home .hero-shortcuts a{transition:transform 180ms cubic-bezier(.2,.8,.2,1),background 180ms ease,border-color 180ms ease}
#home button:active{transform:scale(.97)}
@media(max-width:1120px){#home .platform-intro{max-width:520px}}
@media(max-width:1200px){body[data-page=home]:has(#home.active) .header-search{width:auto}body[data-page=home]:has(#home.active) .primary-tab{padding:8px}}
@media(max-width:800px){#home .home-sections{gap:72px;margin-top:56px}#home .platform-section-heading h2{font-size:28px}#home .platform-section-heading{margin-bottom:24px}#home .market-section{padding:16px}#home .home-build-empty{display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px 16px;padding:16px;min-height:0}#home .home-build-empty>div{flex:1;min-width:0}#home .home-build-empty .compact-button{grid-column:2;justify-self:start;margin-left:0}#home .home-build-empty p{font-size:13px}}
@media(max-width:480px){#home .hero-shortcuts{gap:8px}#home .hero-shortcuts a{padding-inline:12px}#home .platform-section-heading h2{font-size:28px}body[data-page=home]:has(#home.active) .realm-selector{padding-left:8px}body[data-page=home]:has(#home.active) .realm-selector summary{font-size:0}body[data-page=home]:has(#home.active) .realm-selector summary::after{font-size:12px}}
@media(prefers-reduced-motion:reduce){#home button,#home a{transition:none}}

@media(min-width:360px) and (max-width:760px){body[data-page=home]:has(#home.active) .brand-language{display:block}body[data-page=home]:has(#home.active) .brand-header-actions{gap:8px}body[data-page=home]:has(#home.active) .brand-language select{max-width:64px;font-size:12px}}

/* Single header control for each action; no duplicate hero/footer navigation. */
.site-header>.release-choice{display:flex;align-items:center;flex-shrink:0;margin:0;gap:8px}
.site-header>.release-choice>label,.site-header>.release-choice>span{display:none}
.site-header>.release-choice select{max-width:144px;min-height:32px;padding:0 8px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#111216;color:var(--muted);font:12px/1.5 var(--font-ui)}
body[data-page=home] .release-bar{display:none}
body[data-page=home] main{padding-top:24px}
.site-header .global-search-anchor{display:none;width:320px;flex-shrink:0;margin:0}
body[data-page=home] .site-header .global-search-anchor{display:block}
body[data-page=home] .site-header .header-search{display:none!important}
.site-header .global-search{height:40px;min-height:40px;padding:0 8px;border-radius:24px;gap:8px}
.site-header .global-search input{font-size:12px}
.site-header .global-search>span{display:grid;place-items:center;width:24px;height:24px;flex-shrink:0;line-height:1;font-size:24px}
.site-header .global-search button{display:none}
.site-header .global-results{left:auto;right:0;width:min(440px,calc(100vw - 32px))}
.site-header .global-results a{text-decoration:none;color:var(--text)}
.platform-footer{min-height:0;padding-block:32px}
@media(max-width:1280px) and (min-width:1201px){.site-header{gap:8px;padding-inline:16px}.site-header .brand-horizontal{width:168px!important;height:56px!important}.site-header .brand-header-actions{gap:8px}body[data-page=home]:has(#home.active) .site-header .primary-tab{padding-inline:8px!important;font-size:14px!important}.site-header>.release-choice select{max-width:112px}.site-header .global-search-anchor{width:320px}}
@media(max-width:1200px){.site-header .global-search-anchor{display:none!important;position:fixed;top:calc(var(--header) + 56px);left:16px;right:16px;width:auto!important}.site-header:has(#menuToggle[aria-expanded=true]) .global-search-anchor{display:block!important}body:not([data-page=home]) .site-header .global-search-anchor{display:none!important}.site-header .global-results{width:100%;left:0;right:0}.site-header>.release-choice select{max-width:104px}.site-header .brand-header-actions{margin-left:auto}}
@media(max-width:600px){.site-header .brand-mobile>span{display:none}.site-header .brand-horizontal{display:none}.site-header .brand-mobile{display:flex}.site-header{gap:8px!important;padding-inline:8px}.site-header>.release-choice select{max-width:96px}.site-header .brand-header-actions{gap:8px!important}.site-header .brand-language{display:block!important}.site-header .brand-language select{max-width:56px;font-size:12px;padding-inline:0}.site-header .realm-selector{padding-left:0!important}}

.search-glyph svg,.global-search>span svg{display:block;flex-shrink:0}
