/* Faction materials and shared interaction language. No text is baked into artwork. */
@font-face{font-family:'Gmarket Sans';src:url('assets/fonts/GmarketSansTTFMedium.ttf') format('truetype');font-style:normal;font-weight:400 500;font-display:swap}
@font-face{font-family:'Gmarket Sans';src:url('assets/fonts/GmarketSansTTFBold.ttf') format('truetype');font-style:normal;font-weight:600 900;font-display:swap}
@font-face{font-family:Inter;src:url('assets/fonts/InterVariable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}

:root,[data-faction="alliance"]{
  --font-ui:Inter,'Gmarket Sans','Malgun Gothic',Arial,sans-serif;
  --serif:var(--font-ui);
  --ink:#111f35;--ink-soft:#1b3150;--paper:#edf0f3;--surface:#fcfcfb;--surface-low:#e1e6ec;
  --line:#c5ccd5;--text:#25354b;--muted:#526074;
  --teal:#244f89;--teal-pale:#e1e9f3;--brass:#b5985e;--brass-dark:#6d5229;
  --rust:#295990;--rust-hover:#193e69;--realm:#213f67;
  --hero-ink:#182e48;--hero-muted:#d4deeb;--hero-border:#8294ac;
  --badge-bg:#e6edf5;--badge-line:#b7c8da;--badge-text:#2a4c78;--soft-accent:#e6edf4;
  --deep-accent:#243f62;--button-ink:#fff8e7;--light-gold:#f5dda3;--input-bg:#fff;
  --radius:5px;--shadow:0 4px 12px #1c304309,0 1px 2px #1c304306;
  --material:url('assets/skins/material-alliance-v1.png');
  --hero-title:#193659;--hero-copy:#354c65;--hero-kicker:#694e24;
  --hero-wash:linear-gradient(90deg,#e7ecf3c9 0%,#e7ecf387 50%,#e0e6ef30 100%);
  --header-wash:linear-gradient(105deg,#101d32f2,#182c49e8 65%,#10223bed);
  --metal-edge:#c2a771;--metal-shine:#eedeb2;--button-top:#3b72ad;--button-base:#234e81;--button-floor:#112d50;
  --standard-top:#23528f;--standard-base:#0d274f;--standard-thread:#d0ae69;--selected-bg:#e0eafa;
}
[data-faction="horde"]{
  --ink:#201a18;--ink-soft:#372522;--paper:#eee9e3;--surface:#fcf9f4;--surface-low:#e3d9ce;
  --line:#cecbc3;--text:#302f2d;--muted:#555b5b;
  --teal:#315e58;--teal-pale:#e5eeea;--brass:#ba9259;--brass-dark:#795526;
  --rust:#a83e2c;--rust-hover:#81291f;--realm:#542821;
  --hero-ink:#231b19;--hero-muted:#ebd6c3;--hero-border:#a27b62;
  --badge-bg:#e8eee9;--badge-line:#b7c9c0;--badge-text:#30564a;--soft-accent:#e8ece7;
  --deep-accent:#66352c;--button-ink:#fff4df;--light-gold:#efd09a;--input-bg:#fffdf9;
  --material:url('assets/skins/material-horde-v1.png');
  --hero-title:#fff2d8;--hero-copy:#e6d5c3;--hero-kicker:#e5bc7f;
  --hero-wash:linear-gradient(90deg,#1b1715a8 0%,#241b186b 52%,#23181624 100%);
  --header-wash:linear-gradient(105deg,#171615ed,#2e211dd6 65%,#361b17e8);
  --metal-edge:#ac8050;--metal-shine:#e6c292;--button-top:#b95139;--button-base:#853124;--button-floor:#4f1c17;
  --standard-top:#652623;--standard-base:#29171a;--standard-thread:#ac7c46;--selected-bg:#e1ece7;
}
body{font-family:var(--font-ui);font-weight:400;line-height:1.85;letter-spacing:-.012em;background:var(--paper)}
h1,h2,h3,h4,.section-head h2,.page-head h1,.welcome-panel h3,.footer-brand,.hero-crest strong,.feature-strip>a>span:first-child{font-family:var(--font-ui);font-weight:700;letter-spacing:-.035em}
.page-head h1{font-size:clamp(29px,3.3vw,43px);line-height:1.45}
.page-head p{color:var(--muted);line-height:1.85}
.section-head h2{font-size:25px;line-height:1.5}
.kicker{color:var(--brass-dark);font-weight:750;letter-spacing:.13em;font-size:12px;line-height:1.7}
/* Small navigational text stays readable; decoration must not lower text opacity. */
.rail-label,.rail-nav a,.rail-nav button,.left-rail>a,.feed-tabs button,.feed-tools label,.field>span,
.guide-branch>header h2,.guide-node strong,.guide-toc button,.guide-toc a,.guide-categories a,
.notification-tabs button,.notification-head button,.section-head a,.install-journey b,
.account-menu-links a,.guide-search button{font-family:var(--font-ui);font-weight:650;font-size:14px;color:var(--text)}
.rail-label{font-weight:700;color:var(--teal);letter-spacing:.035em}
.rail-nav a,.rail-nav button{line-height:1.6;min-height:44px}
.post-card .post-meta,.post-card .post-actions,.post-card .post-meta>.muted,.profile-facts,.guide-version,
.guide-capture figcaption,.feature-card p,.guide-node small,.guide-branch>header p{color:var(--muted);font-size:13px;line-height:1.8}
.guide-toc button,.guide-toc a{line-height:1.65}
.guide-node{padding-top:16px;padding-bottom:16px}
.guide-node>span,.guide-node>b{font-weight:650;color:var(--text)}
.install-journey a{padding:18px 14px;gap:5px 9px;align-content:start}
.install-journey small{font-size:12px;line-height:1.3}
.install-journey b{font-size:16px;line-height:1.55}
.install-journey a>span:last-child{font-size:15px;font-weight:500;line-height:1.7;color:var(--text);margin-top:10px;word-break:keep-all;overflow-wrap:break-word}
@media(max-width:700px){.install-journey a{padding:15px 11px}.install-journey b{font-size:15px}.install-journey a>span:last-child{font-size:14px;line-height:1.65}}
.tags .tag,.badge{font-weight:600;line-height:1.6;border-radius:4px}

/* The wordmark retains its original pixels; its transparent padding is framed in CSS. */
.site-header{isolation:isolate;border-bottom:1px solid var(--metal-edge);box-shadow:0 3px 12px #08101a40,inset 0 1px #ffffff17;background-image:var(--header-wash),var(--material);background-position:center,center 50%;background-size:cover}
.site-header:after{content:'';height:2px;position:absolute;bottom:-3px;inset-inline:0;background:linear-gradient(90deg,transparent,var(--metal-shine),transparent);opacity:.65;pointer-events:none}
.preview-strip{background:var(--ink);color:#d5d6d8;font-family:var(--font-ui);font-size:11px;min-height:28px;height:auto;line-height:1.7;padding:5px 12px}
.preview-strip span{color:var(--light-gold);font-weight:750}
.header-inner{max-width:1460px;position:relative;height:94px;padding:0 28px;display:flex;flex-wrap:nowrap;gap:24px}
.header-inner .brand{margin:0;min-width:0;flex:0 1 260px;min-height:48px}
.brand-wordmark{display:block;position:relative;width:260px;max-width:100%;aspect-ratio:2171 / 380;overflow:hidden}
.site-header .brand-wordmark img{position:absolute;display:block;max-width:none;width:100%;height:auto;top:50%;left:0;transform:translateY(-48.1%);object-fit:contain;filter:drop-shadow(0 2px 2px #0006)}
.brand:focus-visible{outline-offset:6px;border-radius:3px}
.header-inner .main-nav{display:flex;position:static;gap:19px;margin:0 auto;padding:0;background:none;box-shadow:none;border:0}
.header-inner .main-nav a{font-size:14px;font-weight:650;color:#e1e7ef;height:94px;min-height:44px;padding:0;line-height:1.6;border-radius:0;background:none}
.header-inner .main-nav a:hover,.header-inner .main-nav a[aria-current="page"]{color:var(--light-gold);text-shadow:0 0 18px #d5ad5738}
.header-inner .main-nav a[aria-current="page"]:after{display:block;height:3px;background:var(--light-gold);box-shadow:0 0 12px #d8b56d7a}
.site-header .mobile-menu{display:none}
.header-inner .faction-picker{margin:0;width:auto;gap:11px;flex:none;grid-column:auto;grid-row:auto}
.faction-picker>span:not(.faction-symbols){display:none}
.faction-symbols{width:35px;flex-basis:35px;height:46px}
.faction-symbols img{width:35px;height:46px;filter:drop-shadow(0 2px 2px #0006)}
.faction-picker select{min-width:126px;max-width:none;min-height:44px;background:linear-gradient(#ffffff0e,#00000018),var(--ink-soft);border-color:var(--metal-edge);border-radius:4px;color:var(--button-ink);font-weight:600}
.faction-picker select:hover{border-color:var(--metal-shine);background:var(--deep-accent)}
.site-header .profile-button,.site-header .notification-toggle,.site-header .mobile-menu{background:linear-gradient(#ffffff12,#00000020),var(--ink-soft);border:1px solid var(--metal-edge);box-shadow:inset 0 1px #ffffff16,0 2px 2px #0004;color:var(--button-ink);font-weight:650}
.site-header .profile-button:hover,.site-header .notification-toggle:hover,.site-header .mobile-menu:hover{border-color:var(--metal-shine);background:var(--deep-accent)}

/* Stormwind cut limestone / Orgrimmar hammered iron. */
.hero{margin:0;min-height:586px;border:0;border-bottom:3px solid var(--metal-edge);background:var(--hero-ink);box-shadow:none}
.hero-art{background-image:var(--hero-wash),var(--material);background-color:var(--hero-ink);background-position:center,center;background-size:cover;background-blend-mode:normal;inset:0;height:auto}
.hero-art:before{display:none}
.hero:after{content:'';position:absolute;inset:15px;pointer-events:none;border:1px solid color-mix(in srgb,var(--metal-edge) 48%,transparent);box-shadow:inset 0 1px #ffffff16;z-index:1}
.hero-inner{max-width:1290px;min-height:586px;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:70px;padding:26px 40px 35px;z-index:2}
.hero-copy{max-width:640px;padding:35px 0}
.hero h1{font-family:var(--font-ui);font-size:clamp(39px,4.5vw,62px);line-height:1.35;font-weight:700;letter-spacing:-.045em;color:var(--hero-title);text-shadow:0 2px 0 #ffffff35;margin:21px 0 25px}
[data-faction="horde"] .hero h1{text-shadow:0 3px 7px #0008}
.hero .kicker{color:var(--hero-kicker);font-size:12px;letter-spacing:.2em;font-weight:800;display:flex;align-items:center;gap:12px}
.hero .kicker:before{content:'';width:29px;height:2px;background:var(--hero-kicker);flex:none;box-shadow:0 3px color-mix(in srgb,var(--hero-kicker) 24%,transparent)}
.hero-copy>p{color:var(--hero-copy);font-size:16px;font-weight:500;line-height:1.95;text-shadow:0 1px #ffffff15}
.hero .button-row{margin-top:29px;gap:12px;flex-wrap:wrap}
.hero .button-row .button{min-height:49px;padding:13px 20px;font-size:14px;font-weight:650}
.hero-game{margin-top:32px;gap:18px;max-width:470px}
.hero-game img{width:110px}
.hero-game span{color:var(--hero-copy);font-size:12px;font-weight:500;line-height:1.9;border-color:var(--metal-edge)}
.hero-side{gap:18px;align-self:center;position:relative;padding:0 3px}
.hero-crest{position:relative;width:100%;min-height:217px;display:flex;align-items:center;justify-content:center;gap:27px;padding:10px 12px;color:var(--hero-title);isolation:isolate}
.hero-crest img{width:132px;height:174px;object-fit:contain;flex:none;filter:drop-shadow(0 7px 5px #0b14224d);position:relative;z-index:1}
.hero-crest .crest-standard{position:absolute;left:calc(50% - 188px);top:0;width:166px;height:230px;background:repeating-linear-gradient(92deg,#ffffff07 0 1px,transparent 1px 4px),linear-gradient(90deg,#0003,transparent 12%,#fff1 46%,#0003),linear-gradient(var(--standard-top),var(--standard-base));clip-path:polygon(0 0,100% 0,100% 87%,50% 100%,0 87%);border-top:3px solid var(--metal-shine);z-index:0;box-shadow:inset 8px 0 0 #0002,inset -8px 0 0 #0002}
.crest-standard:before{content:'';position:absolute;inset:8px 10px 0;border-left:1px solid var(--standard-thread);border-right:1px solid var(--standard-thread);opacity:.75}
.hero-crest>div{position:relative;z-index:1;max-width:205px}
.hero-crest .for-alliance{display:block}.hero-crest .for-horde{display:none}
[data-faction="horde"] .hero-crest .for-alliance{display:none}
[data-faction="horde"] .hero-crest .for-horde{display:block}
.hero-crest .crest-insignia{position:relative;display:grid;place-items:center;width:166px;height:230px;flex:none;isolation:isolate;padding-bottom:18px}
.hero-crest .crest-insignia .crest-standard{inset:0;width:100%;height:100%}
.hero-crest .realm-eyebrow{font-size:10px;font-weight:750;color:var(--hero-kicker);letter-spacing:.22em;margin-bottom:6px}
.hero-crest strong{font-family:Inter,Arial,sans-serif;font-size:24px;font-weight:750;line-height:1.28;letter-spacing:.065em;color:var(--hero-title)}
.hero-crest small{font-size:13px;color:var(--hero-copy);line-height:1.8;font-weight:500;margin-top:11px}
.hero-side .hero-chat{position:relative;align-self:stretch;max-width:none;width:100%;margin:0;padding:0 20px 17px;background:linear-gradient(140deg,#ffffff06,#00000018),var(--ink);border:1px solid var(--metal-edge);border-top:2px solid var(--metal-shine);box-shadow:0 15px 28px #1118272b,inset 0 0 0 4px #ffffff04;border-radius:5px;color:var(--button-ink);backdrop-filter:none}
.chat-tabs{display:flex;gap:6px;align-items:center;min-height:48px;border-color:#ffffff26}
.chat-tabs button{padding:8px 12px;font-size:13px;font-weight:700;color:#d8dee7;border-radius:3px}
.chat-tabs button[aria-pressed="true"]{color:var(--light-gold);background:#ffffff0b;box-shadow:inset 0 -2px var(--metal-edge)}
.chat-tabs button:hover{background:#ffffff12;color:var(--light-gold)}
.chat-tabs>span{color:#c8cbd1;font-weight:500;font-size:11px}
.chat-line{margin-top:12px}.chat-line>b{font-size:12px;font-weight:700}.chat-line p,.translated{font-size:13px;line-height:1.75}.translated{color:#edd49e;font-weight:500}
.chat-caption{font-size:12px;font-weight:500;color:#d7dce3;border-color:#ffffff26;padding-top:11px;margin-top:14px}
.status-dot{background:#72d3a1;box-shadow:0 0 0 3px #72d3a113}

/* Beveled enamel controls: a common hierarchy in both faction palettes. */
.button,.icon-button,.profile-button,.feed-tabs button,.notification-tabs button,.guide-toc button,.guide-node{transition:background-color .16s,border-color .16s,box-shadow .16s,color .16s,transform .16s}
.button{border-radius:4px;background:linear-gradient(#ffffffbb,#ffffff00),var(--surface);border:1px solid var(--line);box-shadow:inset 0 1px #fff,0 2px 2px #1525360d;font-weight:650;letter-spacing:-.025em}
.button.primary{background:linear-gradient(180deg,var(--button-top),var(--button-base));color:var(--button-ink);border:1px solid var(--button-floor);border-top-color:var(--metal-edge);box-shadow:inset 0 1px #ffffff45,inset 0 -3px var(--button-floor),0 3px 7px #0002;text-shadow:0 1px 1px #0006}
/* The bevel stays inside the border, so the hover rim encloses the whole button. */
.button.primary:hover:where(:not(:disabled):not([aria-disabled="true"])){background:linear-gradient(180deg,color-mix(in srgb,var(--button-top) 85%,white),var(--button-base));color:var(--button-ink);border-color:var(--metal-edge);box-shadow:inset 0 1px #ffffff55,inset 0 -3px var(--button-floor),0 0 0 1px var(--metal-edge),0 4px 10px #0003}
.button.secondary,.hero .button.secondary{background:linear-gradient(180deg,#ffffff12,#00000018),var(--ink-soft);color:var(--button-ink);border:1px solid var(--metal-edge);box-shadow:inset 0 1px #ffffff25,inset 0 -3px var(--button-floor),0 3px 7px #0002}
.button.secondary:hover:where(:not(:disabled):not([aria-disabled="true"])),.hero .button.secondary:hover:where(:not(:disabled):not([aria-disabled="true"])){background:linear-gradient(180deg,#ffffff20,#00000008),var(--deep-accent);color:var(--button-ink);border-color:var(--metal-shine);box-shadow:inset 0 1px #ffffff35,inset 0 -3px var(--button-floor),0 0 0 1px var(--metal-shine),0 4px 10px #0003}
.button.ghost{background:var(--surface);color:var(--teal);border-color:var(--badge-line);box-shadow:inset 0 1px #fff,0 2px 3px #00000008}
.button.ghost:hover{background:var(--teal-pale);border-color:var(--teal);color:var(--teal)}
.button:active:not(:disabled):not([aria-disabled="true"]),.profile-button:active,.icon-button:active{transform:translateY(2px);box-shadow:inset 0 2px 4px #0003}
.button:disabled,.button[aria-disabled="true"]{filter:saturate(.25);opacity:.55;transform:none;box-shadow:none}
:focus-visible{outline:3px solid var(--teal);outline-offset:4px}
.site-header :focus-visible,.hero :focus-visible{outline:3px solid var(--metal-shine);outline-offset:4px}
.rail-nav a.active,.rail-nav a[aria-current="page"],.feed-tabs button.active,.feed-tabs button[aria-pressed="true"],.notification-tabs button[aria-selected="true"]{font-weight:750;background:var(--selected-bg);color:var(--teal);box-shadow:inset 3px 0 var(--teal)}
.rail-nav a:hover,.guide-toc button:hover{background:var(--teal-pale);color:var(--teal)}
.post-actions button[aria-pressed="true"]{color:var(--teal);font-weight:700}
.notification-item.unread{border-left:3px solid var(--teal);background:var(--teal-pale)}
input,textarea,select{font-family:var(--font-ui);font-size:14px;border-radius:4px;box-shadow:inset 0 1px 3px #1525360d}
input:focus,textarea:focus,select:focus{border-color:var(--teal)}

/* Quiet reading surfaces retain the faction's brass/iron details. */
/* One full-width hero border owns this seam; the menu must not add another. */
.feature-strip.wrap{max-width:1210px;position:relative;z-index:3;margin:0 auto;border:1px solid var(--line);border-top:0;border-radius:0 0 6px 6px;background:linear-gradient(#ffffffa8,#ffffff00),var(--surface);box-shadow:0 8px 22px #1b2d430d;padding:0}
.feature-strip>a{padding:22px 26px;transition:background-color .16s;gap:15px}
.feature-strip>a:hover{background:var(--teal-pale);color:var(--teal)}
.feature-strip>a>span:first-child{font-size:25px;font-weight:650;color:var(--teal);letter-spacing:-.06em}
.feature-strip b{font-size:14px;font-weight:700;color:var(--text)}
.feature-strip small{font-size:12px;color:var(--muted);margin-top:4px}
.panel,.post-card,.profile-card,.feature-card,.server-card,.guide-branch,.download-release,.starter-panel,.next-quest{box-shadow:var(--shadow);border-color:var(--line)}
.section-head{border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:22px;position:relative}
.section-head:after{content:'';position:absolute;width:42px;height:3px;bottom:-2px;left:0;background:var(--metal-edge)}
.section-head h2{color:var(--text)}
.welcome-panel{border-top:3px solid var(--metal-edge);background:linear-gradient(145deg,#fff6,#ffffff00),var(--soft-accent)}
.welcome-panel h3{font-size:23px;line-height:1.65;letter-spacing:-.055em}
.welcome-panel .kicker{color:var(--brass-dark)}
.post-card:hover,.profile-card:hover{border-color:var(--badge-line)}
.profile-card{overflow:visible}
.profile-cover{border-radius:4px 4px 0 0}
.guide-node:hover,.feature-card:hover{border-color:var(--teal);box-shadow:0 0 0 1px var(--teal),var(--shadow)}
.ad-slot{border:1px solid var(--line);border-left:3px solid var(--metal-edge);background:var(--surface-low)}
.ad-slot:hover{border-color:var(--teal);color:var(--text);box-shadow:0 0 0 1px var(--teal)}
.ad-slot .ad-action{color:var(--teal);font-size:14px;font-weight:700;flex:none}
.site-footer{background:var(--surface-low);border-top:2px solid var(--metal-edge)}
.site-footer .asset-credit{color:var(--text);font-size:13px;line-height:1.85;max-width:650px}
.site-footer .asset-credit a{color:var(--teal);font-weight:650;text-decoration:underline;text-underline-offset:3px}
.site-footer .asset-credit a:hover{color:var(--text)}
.site-footer small,.site-footer .footer-label{color:var(--muted)}
.footer-brand{font-family:var(--font-ui);letter-spacing:.015em}
.guide-toc button{font-weight:650;color:var(--text)}
.guide-actionbar a,.guide-category-nav a{font-weight:650}

@media(max-width:1480px) and (min-width:1001px){
  .header-inner{display:grid;grid-template-columns:1fr auto auto;height:auto;min-height:123px;column-gap:24px;row-gap:0;padding:12px 32px 0}
  .header-inner .brand{grid-column:1;grid-row:1;min-height:48px}
  .header-inner .faction-picker{grid-column:2;grid-row:1}
  .header-inner .account-controls{grid-column:3;grid-row:1}
  .header-inner .main-nav{grid-column:1/-1;grid-row:2;justify-content:center;gap:35px;width:100%;margin-top:8px;border-top:1px solid #ffffff18}
  .header-inner .main-nav a{height:44px;font-size:14px}
}
@media(max-width:1100px){.hero-inner{gap:34px;padding-left:32px;padding-right:32px}.hero-crest{gap:20px}.hero-crest img{width:118px;height:155px}.hero-crest .crest-standard{left:calc(50% - 168px);width:150px;height:215px}.hero-crest strong{font-size:22px}.hero-copy>p{font-size:15px}.feature-strip.wrap{margin:0 24px}.feature-strip>a{padding:19px 20px}}
@media(max-width:1000px){
  .header-inner{height:86px;display:flex;gap:18px;padding:0 22px}
  .header-inner .brand{flex:1 1 auto;margin-right:auto}
  .brand-wordmark{width:240px}
  .site-header .mobile-menu{display:inline-flex;flex:none;width:44px;height:44px}
  .header-inner .main-nav{display:none;position:absolute;top:100%;left:0;right:0;padding:14px 22px;background:var(--ink);box-shadow:0 10px 20px #0004;border-bottom:1px solid var(--metal-edge);z-index:5}
  .header-inner .main-nav.open{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 15px}
  .header-inner .main-nav a{height:auto;min-height:46px;padding:10px 12px;border:1px solid transparent;border-radius:3px}
  .header-inner .main-nav a[aria-current="page"]{background:var(--deep-accent);border-color:var(--metal-edge)}
  .header-inner .main-nav a[aria-current="page"]:after{display:none}
  .hero h1{font-size:44px}.hero-crest strong{font-size:20px}.hero-crest img{width:104px;height:136px}.hero-crest{min-height:193px;gap:20px}.hero-crest .crest-standard{width:130px;left:calc(50% - 149px);height:204px}
}
@media(max-width:800px){
  .hero,.hero-inner{min-height:0}.hero-inner{grid-template-columns:1fr;gap:12px;padding:32px 30px 36px}
  .hero-copy{padding:6px 0 10px;max-width:none}.hero h1{font-size:45px;margin-top:17px}.hero-copy>p{font-size:15px}
  .hero-art{background-position:center,right center}.hero:after{inset:12px}
  .hero-side{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:22px;padding-top:18px}
  .hero-crest{min-height:320px;flex-direction:column;gap:14px;text-align:center;padding:5px 10px}
  .hero-crest .crest-standard{left:calc(50% - 79px);top:0;width:158px;height:190px}
  .hero-crest img{width:117px;height:152px}.hero-crest>div{max-width:none}.hero-crest strong{font-size:19px}.hero-crest strong br{display:none}
  .hero-crest small{font-size:12px;margin-top:6px}.hero-crest small br{display:none}.hero-crest .realm-eyebrow{margin-top:14px;margin-bottom:4px}
  .hero-side .hero-chat{padding:0 14px 14px;align-self:center}.chat-tabs{gap:3px}.chat-tabs button{padding-inline:7px}
  .feature-strip.wrap{margin:0 18px}.feature-strip{grid-template-columns:1fr}.feature-strip>a{padding:16px 20px}.feature-strip>a+a{border-left:0;border-top:1px solid var(--line)}
  .section-head h2{font-size:23px}
}
@media(max-width:620px){
  .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;height:auto;min-height:123px;padding:12px 18px;gap:9px 12px}
  .header-inner .brand{grid-column:1;grid-row:1;margin:0;min-height:44px;width:100%}
  .brand-wordmark{width:265px}
  .header-inner .account-controls{grid-column:2;grid-row:1;gap:6px}
  .site-header .mobile-menu{grid-column:1;grid-row:2;justify-self:start;z-index:1}
  .header-inner .faction-picker{grid-column:1/-1;grid-row:2;margin-left:57px;width:calc(100% - 57px);gap:10px}
  .faction-symbols{width:33px;flex-basis:33px}.faction-symbols img{width:33px;height:42px}
  .faction-picker select{flex:1;min-width:0;max-width:none;min-height:44px;font-size:14px}
  .header-inner .main-nav.open{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 18px}
  .account-controls>.profile-button{max-width:115px;padding:0 11px}
  .account-trigger-copy{display:none}
  .hero-inner{padding:30px 22px;gap:9px}.hero-copy{padding:5px 0 12px}.hero h1{font-size:38px;line-height:1.4;letter-spacing:-.07em;margin:17px 0 19px}
  .hero .kicker{font-size:10px;letter-spacing:.14em}.hero-copy>p{font-size:14px;line-height:1.9}
  .hero .button-row{margin-top:24px;gap:11px;flex-direction:row}.hero .button-row .button{font-size:14px;flex:1 1 200px;min-height:48px}
  .hero-game{margin-top:27px;gap:13px}.hero-game img{width:91px}.hero-game span{font-size:11px;padding-left:12px}
  .hero-side{display:flex;gap:20px;padding-top:8px}
  .hero-crest{min-height:200px;flex-direction:row;gap:26px;padding:8px 0;text-align:left;width:100%;border-top:1px solid color-mix(in srgb,var(--metal-edge) 60%,transparent);padding-top:23px}
  .hero-crest img{width:112px;height:145px}.hero-crest .crest-standard{left:calc(50% - 157px);top:15px;width:140px;height:185px}
  .hero-crest strong{font-size:20px}.hero-crest strong br{display:block}.hero-crest small{font-size:12px}.hero-crest small br{display:block}.hero-crest .realm-eyebrow{font-size:10px;margin:0 0 5px}
  .hero-side .hero-chat{padding:0 15px 15px}.chat-line p,.translated{font-size:13px;line-height:1.8}
  .hero:after{inset:9px}.hero-art{background-position:center,65% top;background-size:cover,auto 100%}
  .feature-strip.wrap{margin:0 13px}.feature-strip b{font-size:14px}.feature-strip small{font-size:12px}
  .section-head h2{font-size:22px}.page-head h1{font-size:29px}.guide-toc button{font-size:14px}
}
@media(max-width:360px){
  .header-inner{padding:10px 13px;column-gap:7px}.brand-wordmark{width:206px}.account-controls>.profile-button{padding:0 9px;max-width:98px}
  .hero-inner{padding:28px 19px}.hero h1{font-size:34px}.hero .button-row .button{padding-inline:12px}
  .hero-crest{gap:19px}.hero-crest .crest-standard{left:calc(50% - 139px);width:122px;height:177px}.hero-crest img{width:95px;height:128px}.hero-crest strong{font-size:17px;white-space:nowrap}
  .hero-game span{font-size:11px}.hero-game img{width:80px}.hero-game{gap:11px}
}
@media(prefers-reduced-motion:reduce){.button,.icon-button,.profile-button,.feed-tabs button,.notification-tabs button,.guide-toc button,.guide-node,.feature-strip>a{transition:none}.button:active:not(:disabled),.profile-button:active,.icon-button:active{transform:none}}

@media(max-width:1100px){.hero-crest .crest-insignia{width:150px;height:215px}}
@media(max-width:1000px){.hero-crest .crest-insignia{width:130px;height:204px}}
@media(max-width:800px){.hero-crest .crest-insignia{width:158px;height:190px}.hero-crest .realm-eyebrow{margin-top:0}}
@media(max-width:620px){.hero-crest .crest-insignia{width:140px;height:185px;padding-bottom:12px}.hero-crest{gap:20px}}
@media(max-width:360px){.hero-crest .crest-insignia{width:122px;height:177px}.hero-crest{gap:16px}}

/* Accent families distinguish places and purposes, not just faction membership. */
:root,[data-faction="alliance"]{--grove-top:#376358;--grove-base:#1b3d37;--sea-top:#436580;--sea-base:#263d5a;--dusk-top:#736080;--dusk-base:#433953;--note-bg:#f6eedc;--note-ink:#6b5127;--note-line:#dfc88f;--social-bg:#ebe6f2;--social-ink:#5b4875}
[data-faction="horde"]{--paper:#eeece7;--surface:#fffdf9;--surface-low:#e4e3dc;--grove-top:#586752;--grove-base:#303f38;--sea-top:#456263;--sea-base:#293e46;--dusk-top:#7d5255;--dusk-base:#49353f;--note-bg:#f6ead6;--note-ink:#765329;--note-line:#ddc08f;--social-bg:#eee4ed;--social-ink:#75425e}
.profile-cover,.mini-cover{--cover-top:var(--grove-top);--cover-base:var(--grove-base)}
.profile-cover.sea,.mini-cover.sea{--cover-top:var(--sea-top);--cover-base:var(--sea-base)}
.profile-cover.dusk,.mini-cover.dusk{--cover-top:var(--dusk-top);--cover-base:var(--dusk-base)}
.profile-card .profile-cover,.mini-home .mini-cover{background:radial-gradient(ellipse at 95% 15%,#ffffff16,transparent 65%),linear-gradient(120deg,var(--cover-base),var(--cover-top));color:#fff9ed;border-bottom:2px solid var(--metal-edge)}
.profile-card .profile-cover{display:flex;align-items:center;min-height:130px;height:auto;padding:23px 24px 30px;font:600 20px/1.55 var(--font-ui);letter-spacing:-.035em;text-shadow:0 1px 2px #0005}
.profile-card .profile-cover>span{max-width:none;position:relative;z-index:2}
.profile-card .profile-cover:before{opacity:.18;filter:none;background-size:250px 145px,210px 150px}
.profile-cover:hover{color:#fff;background-position:right center}
.profile-top{padding-top:3px;padding-bottom:16px}
.profile-top .profile-name{font-size:17px;font-weight:750;color:var(--text)}
.profile-top small{font-size:13px;color:var(--muted)}
.profile-card>p{color:var(--text);line-height:1.9}
.profile-card>.profile-facts{color:var(--muted);font-size:13px;line-height:1.9}
.profile-card>.text-link{font-size:14px;font-weight:700;color:var(--teal);padding-top:11px;border-top:1px solid var(--line);display:block;margin-bottom:18px}
.profile-card .tags .tag{border-color:#b9cfc7;background:#e8f0eb;color:#315348;font-size:12px;font-weight:650;padding:4px 7px}
.profile-card .tags .tag[data-tone="adventure"]{border-color:var(--note-line);background:var(--note-bg);color:var(--note-ink)}
.profile-card .tags .tag[data-tone="social"]{border-color:#cec0da;background:var(--social-bg);color:var(--social-ink)}
.profile-card .avatar{background:var(--ink-soft);color:var(--button-ink)}
.profile-card:has(.forest) .avatar{background:var(--grove-base)}
.profile-card:has(.sea) .avatar{background:var(--sea-base)}
.profile-card:has(.dusk) .avatar{background:var(--dusk-base)}
.profile-card .reason{background:var(--note-bg);color:var(--note-ink);border-color:var(--note-line);border-left-color:var(--brass-dark);font-weight:500}
.feature-strip>a:nth-child(2){background:#e6eeea75}.feature-strip>a:nth-child(2)>span:first-child{color:#3b6557}
.feature-strip>a:nth-child(3){background:color-mix(in srgb,var(--note-bg) 65%,transparent)}.feature-strip>a:nth-child(3)>span:first-child{color:var(--note-ink)}
.feature-strip>a:hover{background:var(--teal-pale)}
.guide-callout,.notice,.guide-context-links,.context-help{background:var(--note-bg);color:var(--note-ink);border-color:var(--note-line)}
.guide-node .node-path{color:#357461}
.guide-branch .skill-icon{box-shadow:inset 0 1px #ffffff55,0 3px 6px #132b3120}
.guide-branch:nth-child(3n+2) .skill-icon{background:linear-gradient(#496c68,#264d46);color:#f6e4b8}
.guide-branch:nth-child(3n) .skill-icon{background:linear-gradient(#73617e,#443850);color:#f6e4b8}
.feed-tabs button,.guide-toc button,.rail-nav a,.rail-nav button{color:var(--text)}
.feed-tabs button:hover,.guide-toc button:hover,.rail-nav a:hover{color:var(--teal)}
.composer-prompt{border-top:2px solid var(--metal-edge)}
.server-card.server-rp{border-top-color:#756082}.server-card.server-pvp{border-top-color:#9b4e42}.server-card.server-hardcore{border-top-color:#645b4e}
.mini-home .mini-cover h1{font-size:clamp(26px,3vw,37px);line-height:1.5;max-width:780px;color:#fff8e8}
@media(max-width:620px){.profile-card .profile-cover{min-height:119px;padding:23px 20px 28px;font-size:20px}.profile-top .profile-name{font-size:17px}.mini-home .mini-cover h1{font-size:26px}}
