/* Arcania — Mists of Pandaria */
:root {
  color-scheme: dark;
  --bg: #0b111b;
  --bg-soft: #111b28;
  --panel: #142131;
  --panel-raised: #1b2b3c;
  --line: rgba(190, 169, 116, .24);
  --jade: #9cb9a7;
  --jade-strong: #819e8e;
  --gold: #d8bb78;
  --text: #ece8dc;
  --muted: #aeb8c0;
  --danger: #d38a7c;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 50% 0%, rgba(47,75,100,.22), transparent 60%), var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--jade); text-decoration: none; transition: color .16s ease; }
a:hover { color: var(--gold); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
code { padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; background: #11150f; color: #d7d2bf; font-family: Consolas, monospace; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { color: #12130f; background: var(--gold); }

/* Navigation */
.mainnav { position: relative; z-index: 20; background: #121610; border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 64px; display: flex; align-items: center; gap: 16px; }
.nav-brand { display: flex; flex: 0 0 auto; align-items: center; margin-right: 6px; }
.nav-logo { display: block; width: 42px; height: 42px; object-fit: contain; }
.nav-status { flex: 0 0 auto; }
.nav-links { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: 4px; }
.mainnav .nav-links a { padding: 8px 11px; border-radius: 5px; color: #cfcec3; font-size: .84rem; font-weight: 600; white-space: nowrap; }
.mainnav .nav-links a:hover, .mainnav .nav-links a.active { color: var(--gold); background: rgba(214,182,111,.09); }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; border: 1px solid rgba(255,255,255,.11); border-radius: 4px; color: var(--muted); background: rgba(255,255,255,.035); font-size: .72rem; white-space: nowrap; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #888; }
.chip.on { color: #a6cf98; border-color: rgba(125,177,112,.35); }
.chip.on .dot { background: #78c267; box-shadow: 0 0 7px rgba(120,194,103,.7); }
.chip.off { color: var(--danger); border-color: rgba(211,138,124,.3); }
.chip.off .dot { background: var(--danger); }
.chip.gold { color: var(--gold); border-color: var(--line); }

/* Cinematic video hero inspired by Firestorm's landing page. The poster is official MoP Classic art. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  height: min(730px, calc(100svh - 64px));
  min-height: 570px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(214,182,111,.3);
  background-color: #233628;
  background-image: url('https://bnetcmsus-a.akamaihd.net/cms/content_entry_media/CF24DOGD5P711753133721408.png');
  background-position: center 48%;
  background-size: cover;
}
.hero-media { position: absolute; z-index: 0; inset: 0; overflow: hidden; background: #15251a; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 78% 85% at 50% 38%, rgba(10,13,17,.04), rgba(6,10,11,.36)),
              linear-gradient(90deg, rgba(7,11,10,.34), rgba(8,13,12,.12) 47%, rgba(7,11,10,.42)),
              linear-gradient(180deg, rgba(8,11,10,.14), rgba(8,11,10,.12) 46%, rgba(16,19,15,.94));
}
.hero-inner { position: relative; z-index: 2; width: min(760px, calc(100% - 40px)); padding: 34px 20px 44px; text-align: center; text-shadow: 0 2px 12px rgba(0,0,0,.85); }
.hero-logo { display: block; width: 132px; height: 132px; object-fit: contain; margin: 0 auto 2px; filter: drop-shadow(0 8px 20px rgba(0,0,0,.68)); }
.hero-world { margin: 0 0 12px; color: #e0c77f; font-family: "Cinzel", Georgia, serif; font-size: .85rem; font-weight: 700; letter-spacing: 2.7px; }
.hero-world span { padding-inline: 5px; color: #a7c29a; }
.hero-title { margin: 0 0 10px; color: #fff9e9; font-family: "Cinzel", Georgia, serif; font-size: clamp(2rem, 4.2vw, 3.55rem); font-weight: 700; line-height: 1.18; }
.tagline { margin: 0; color: #f3f0e6; font-family: "Marcellus", Georgia, serif; font-size: clamp(1rem, 1.8vw, 1.2rem); }
.hero-description { max-width: 590px; margin: 10px auto 0; color: #e5e4d9; font-size: .9rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.scroll-hint { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; margin-top: 23px; color: #e3ddc9; font-size: .65rem; letter-spacing: 1.4px; text-transform: uppercase; }
.scroll-hint .arrow { width: 8px; height: 8px; transform: rotate(45deg); border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }

/* Realm mini-panel */
.realm-panel { position: absolute; z-index: 3; top: 22px; right: max(24px, calc((100vw - 1400px) / 2)); width: 268px; padding: 13px 15px; border: 1px solid rgba(231,215,171,.34); border-radius: 5px; color: #e9e6da; background: rgba(17,22,17,.78); box-shadow: 0 10px 30px rgba(0,0,0,.2); backdrop-filter: blur(8px); text-shadow: none; }
.realm-panel-title { margin-bottom: 4px; color: #d9c68f; font-family: "Cinzel", Georgia, serif; font-size: .65rem; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.realm-row { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.09); font-size: .7rem; }
.realm-row strong { color: #dedfd3; font-size: .66rem; font-weight: 600; }
.realm-light { width: 7px; height: 7px; border-radius: 50%; background: #ae645c; }
.realm-light.is-up { background: #80bd68; box-shadow: 0 0 7px rgba(128,189,104,.68); }
.realm-total { padding-top: 8px; color: #c9cbbf; font-size: .65rem; letter-spacing: .7px; text-transform: uppercase; }
.realm-total strong { margin-right: 5px; color: white; font-family: "Cinzel", Georgia, serif; font-size: 1rem; }
.realm-address { margin-top: 4px; color: #bcbfb2; font-size: .62rem; }
.realm-address span { margin-inline: 3px; color: var(--gold); }
.realm-address code { padding: 0; border: 0; color: #d9d5c7; background: none; font-size: inherit; }

/* Secondary page masthead */
.page-header { position: relative; display: flex; min-height: 165px; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(11,16,12,.87), rgba(11,16,12,.42)), linear-gradient(0deg, rgba(11,16,12,.52), rgba(11,16,12,.18)), url('https://bnetcmsus-a.akamaihd.net/cms/content_entry_media/CF24DOGD5P711753133721408.png') center 46% / cover; }
.page-header .wrap { position: relative; z-index: 1; padding-block: 28px; }
.page-kicker { color: #bac7a6; font-size: .66rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.page-title { margin: 5px 0 0; color: #f0e5c7; font-family: "Cinzel", Georgia, serif; font-size: clamp(1.45rem, 3vw, 2.15rem); font-weight: 700; line-height: 1.25; }

/* Content, headings and buttons */
.content { flex: 1; padding-top: 38px; padding-bottom: 68px; }
.section-title { position: relative; margin: 38px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: #e4d2a1; font-family: "Cinzel", Georgia, serif; font-size: clamp(1.3rem, 2.7vw, 1.75rem); font-weight: 700; line-height: 1.35; }
.section-title::after { position: absolute; bottom: -1px; left: 0; width: 58px; height: 2px; background: var(--jade-strong); content: ""; }
h2.section-title[style*="text-align:center"]::after { left: 50%; transform: translateX(-50%); }
h2.section-title[style*="text-align:center"]::before { left: calc(50% + 32px); }
.eyebrow { color: #9db58f; font-size: .67rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.panel-title { margin: 0 0 12px; color: #dcc78c; font-family: "Marcellus", Georgia, serif; font-size: 1.05rem; font-weight: 400; }
.btn { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 7px; padding: 9px 17px; border: 1px solid transparent; border-radius: 5px; cursor: pointer; font-size: .82rem; font-weight: 700; line-height: 1.25; text-align: center; transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-gold { border-color: #d1aa5e; color: #fff7df; background: linear-gradient(#9c6426, #744317); box-shadow: inset 0 1px rgba(255,255,255,.13); }
.btn-gold:hover { border-color: #e1c17d; color: white; background: linear-gradient(#b07a32, #87501d); }
.btn-ghost { border-color: rgba(225,210,169,.48); color: #eee5cb; background: rgba(16,22,17,.55); }
.btn-ghost:hover { border-color: var(--gold); color: white; background: rgba(16,22,17,.82); }
.btn-jade { border-color: #71936c; color: #f1f0e6; background: #496a45; }
.btn-jade:hover { color: white; background: #597e53; }

/* Home overview */
.stats-band { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: -51px; }
.stat { min-width: 0; padding: 16px 12px 14px; border: 1px solid rgba(205,183,126,.26); border-radius: 5px; background: rgba(24,30,23,.96); box-shadow: 0 8px 22px rgba(0,0,0,.22); text-align: center; }
.stat .val { overflow-wrap: anywhere; color: #e1c77e; font-family: "Cinzel", Georgia, serif; font-size: clamp(1.15rem, 2.3vw, 1.55rem); font-weight: 700; line-height: 1.25; }
.stat .lbl { margin-top: 4px; color: #bcbdb2; font-size: .65rem; letter-spacing: .7px; text-transform: uppercase; }
.intro-block { max-width: 900px; margin: 62px 0 50px; }
.intro-block .section-title { margin-top: 7px; margin-bottom: 12px; }
.intro-copy p { max-width: 740px; margin: 0; color: #c3c3b7; font-size: .96rem; line-height: 1.85; }
.intro-copy p b { color: #e2cf9b; }
.text-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; color: #b4ca9d; font-size: .82rem; font-weight: 700; }
.text-link span { color: var(--gold); }
.section-heading { margin-bottom: 18px; }
.section-heading .section-title { margin-top: 4px; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.feature { min-width: 0; padding: 20px; border: 1px solid rgba(196,176,123,.18); border-radius: var(--radius); background: linear-gradient(135deg, #1c221b, #171c16); }
.feature .f-icon { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-bottom: 12px; border: 1px solid rgba(214,182,111,.22); border-radius: 6px; background: #141913; }
.feature .f-icon img { width: 30px; height: 30px; border-radius: 4px; }
.feature h3 { margin: 0 0 6px; color: #dfcf9e; font-family: "Marcellus", Georgia, serif; font-size: .98rem; font-weight: 400; }
.feature p { margin: 0; color: #b9baae; font-size: .84rem; line-height: 1.65; }
.join-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; padding: 22px 25px; border: 1px solid rgba(205,183,126,.26); border-radius: var(--radius); background: linear-gradient(110deg, #20271d, #171c16); }
.join-banner h2 { margin: 4px 0; color: #eee4cb; font-family: "Cinzel", Georgia, serif; font-size: clamp(1.15rem, 2.4vw, 1.55rem); }
.join-banner p { margin: 3px 0 0; color: #b9baae; font-size: .87rem; }

/* Panels, forms, alerts */
.card { position: relative; overflow-x: auto; padding: 21px; border: 1px solid rgba(196,176,123,.19); border-radius: var(--radius); background: #1a1f19; box-shadow: 0 7px 22px rgba(0,0,0,.16); }
.form-card { width: min(100%, 440px); margin: 14px auto; }
.field { margin-bottom: 15px; }
.field label { display: block; margin-bottom: 6px; color: #dfcf9e; font-size: .8rem; font-weight: 600; }
.field input, .field select, .field textarea, .modal select { width: 100%; min-height: 40px; padding: 9px 11px; border: 1px solid rgba(202,184,133,.22); border-radius: 5px; color: var(--text); background: #111610; font-size: .88rem; }
.field input:focus, .field select:focus, .field textarea:focus, .modal select:focus { outline: none; border-color: #8ca57a; box-shadow: 0 0 0 2px rgba(140,165,122,.12); }
.field small { display: block; margin-top: 5px; color: var(--muted); font-size: .74rem; }
.alert { margin: 0 0 14px; padding: 10px 13px; border: 1px solid; border-radius: 5px; font-size: .84rem; }
.alert-ok { border-color: rgba(125,177,112,.4); color: #bbd7a8; background: rgba(46,77,40,.34); }
.alert-err { border-color: rgba(211,138,124,.38); color: #e2aba0; background: rgba(79,39,34,.34); }

/* Tables and badges */
.table-wrap { width: 100%; overflow-x: auto; }
table.grid { width: 100%; border-collapse: collapse; }
table.grid th, table.grid td { padding: 10px 12px; border: 1px solid rgba(196,176,123,.16); text-align: left; font-size: .82rem; }
table.grid th { color: #ddcc98; background: #242a21; font-size: .68rem; letter-spacing: .8px; text-transform: uppercase; }
table.grid tr:hover td { background: rgba(145,169,121,.055); }
.coin-g { color: var(--gold); } .coin-s { color: #cbd0c6; } .coin-c { color: #b18a64; }
.badge { display: inline-block; padding: 3px 9px; border: 1px solid; border-radius: 20px; font-size: .68rem; white-space: nowrap; }
.badge.online { border-color: rgba(125,177,112,.38); color: #a9d099; background: rgba(82,126,70,.13); }
.badge.offline { border-color: rgba(255,255,255,.14); color: #aaa99f; }
.badge.warn { border-color: rgba(214,182,111,.45); color: var(--gold); }

/* Store */
.shop-cats { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 18px; }
.catbtn { min-height: 34px; padding: 7px 12px; border: 1px solid rgba(196,176,123,.22); border-radius: 4px; color: #c7c5b9; background: #1a2019; cursor: pointer; font-size: .77rem; }
.catbtn:hover, .catbtn.active { border-color: #8c9f70; color: #e6d7ad; background: #293324; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(225px,1fr)); gap: 12px; }
.product { display: flex; min-width: 0; flex-direction: column; gap: 10px; padding: 15px; border: 1px solid rgba(196,176,123,.19); border-radius: var(--radius); background: #1a1f19; }
.product:hover { border-color: rgba(166,188,133,.48); background: #1d241c; }
.product .p-top { display: flex; align-items: center; gap: 10px; }
.product img.pic { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.1); border-radius: 5px; background: #111610; }
.product .p-name { color: #e4d7b2; font-size: .86rem; font-weight: 700; line-height: 1.4; }
.product .p-desc { flex: 1; color: #b6b7aa; font-size: .77rem; line-height: 1.55; }
.product .p-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; }
.product .p-price { color: var(--gold); font-size: .8rem; font-weight: 700; }
.product .btn { min-height: 34px; padding: 7px 11px; font-size: .73rem; }
.balance-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding: 13px 16px; border: 1px solid rgba(214,182,111,.28); border-radius: 5px; background: #1a2018; font-size: .88rem; }
.balance-bar .dp { color: var(--gold); font-family: "Cinzel", Georgia, serif; font-size: 1.15rem; font-weight: 700; }

/* Shop modal */
.modal-bg { position: fixed; z-index: 100; inset: 0; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(5,8,6,.78); backdrop-filter: blur(3px); }
.modal-bg.open { display: flex; }
.modal { width: min(100%, 430px); padding: 22px; border: 1px solid rgba(214,182,111,.4); border-radius: 8px; background: #1b211a; box-shadow: 0 22px 70px rgba(0,0,0,.5); }
.modal h3 { margin: 0 0 8px; color: #e3ce94; font-family: "Marcellus", Georgia, serif; font-size: 1.05rem; }
.modal p { color: var(--muted); font-size: .82rem; }
.modal select { margin: 8px 0 14px; }
.modal .m-actions { display: flex; justify-content: flex-end; gap: 8px; }

/* Realm status and launcher */
.status-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.status-card { display: flex; align-items: center; gap: 11px; padding: 15px; border: 1px solid rgba(196,176,123,.18); border-radius: 5px; background: #1a2019; }
.status-card .s-dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #777; }
.status-card .s-name { flex: 1; color: #ddd9cc; font-size: .83rem; font-weight: 600; }
.status-card .s-state { color: #aaa99f; font-size: .74rem; }
.status-card.up .s-dot { background: #79b96a; box-shadow: 0 0 8px rgba(121,185,106,.55); }
.status-card.up .s-state { color: #a9d099; }
.status-card.down .s-dot { background: var(--danger); }
.status-card.down .s-state { color: #e1a197; }
.launcher-hero { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 22px; border-color: rgba(214,182,111,.28); }
.launcher-hero .lh-right { display: flex; flex-direction: column; align-items: stretch; gap: 9px; text-align: center; }

/* Footer */
.sitefooter { margin-top: auto; border-top: 1px solid var(--line); background: #0d110d; }
.footer-cols { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; padding: 28px 0 22px; }
.sitefooter h3 { margin: 0 0 7px; color: #ddca94; font-family: "Marcellus", Georgia, serif; font-size: .9rem; font-weight: 400; }
.sitefooter p { margin: 0; color: #aaa99f; font-size: .75rem; line-height: 1.7; }
.footer-bottom { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.07); color: #888a80; font-size: .7rem; text-align: center; }

@media (max-width: 980px) {
  .nav-inner { flex-wrap: wrap; justify-content: center; gap: 5px 12px; padding-block: 7px; }
  .nav-links { flex: 0 1 100%; justify-content: center; }
  .nav-brand { margin-right: 5px; }
  .hero { height: 690px; }
  .realm-panel { right: 18px; width: 245px; }
}
@media (max-width: 700px) {
  .wrap { width: min(100% - 30px, 560px); }
  .nav-inner { gap: 4px 8px; }
  .nav-logo { width: 36px; height: 36px; }
  .nav-status { display: none; }
  .nav-links { gap: 1px; }
  .mainnav .nav-links a { padding: 7px 8px; font-size: .73rem; }
  .hero { height: auto; min-height: 700px; background-position: 43% center; }
  .hero-video { object-position: 44% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,13,10,.43), rgba(8,13,10,.31)), linear-gradient(180deg, rgba(9,13,10,.2), rgba(9,13,10,.23) 35%, rgba(13,17,12,.93)); }
  .realm-panel { top: 13px; right: 15px; left: 15px; width: auto; padding: 10px 12px; }
  .realm-row { padding: 5px 0; }
  .hero-inner { width: 100%; padding: 210px 17px 40px; }
  .hero-logo { width: 94px; height: 94px; }
  .hero-world { font-size: .73rem; letter-spacing: 1.8px; }
  .hero-title { font-size: clamp(1.85rem, 9vw, 2.65rem); }
  .hero-description { max-width: 400px; font-size: .82rem; }
  .hero-actions { flex-direction: column; align-items: center; margin-top: 16px; }
  .hero-actions .btn { width: min(100%, 290px); }
  .scroll-hint { margin-top: 16px; }
  .content { padding-top: 30px; padding-bottom: 48px; }
  .stats-band { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: -32px; }
  .stat { padding: 11px 7px; }
  .stat .lbl { font-size: .57rem; }
  .intro-block { margin: 40px 0 35px; }
  .features { grid-template-columns: 1fr; }
  .join-banner { align-items: flex-start; flex-direction: column; padding: 18px; }
  .join-banner .btn { width: 100%; }
  .page-header { min-height: 135px; }
  .page-header .wrap { padding-block: 20px; }
  .section-title { margin-top: 29px; }
  .status-cards { grid-template-columns: 1fr; }
  .launcher-hero { grid-template-columns: 1fr; }
  .launcher-hero .lh-right { align-items: stretch; }
  .footer-cols { grid-template-columns: 1fr; gap: 17px; padding-block: 23px 18px; }
  .card { padding: 16px; }
  table.grid { min-width: 560px; }
  .form-card table.grid { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .hero-video { display: none; }
}

/* Boutique: clearer catalogue, balance and product actions. */
.shop-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(250px,320px); align-items: center; gap: 28px; margin: 12px 0 27px; padding: 24px 27px; border: 1px solid rgba(199,174,112,.23); border-radius: 9px; background: linear-gradient(115deg, rgba(35,47,32,.94), rgba(22,29,22,.98)); }
.shop-intro-copy h2 { margin: 5px 0 7px; color: #f1e6ca; font-family: "Cinzel", Georgia, serif; font-size: clamp(1.25rem, 2.4vw, 1.8rem); line-height: 1.3; }
.shop-intro-copy p { max-width: 680px; margin: 0; color: #c1c3b6; font-size: .86rem; }
.shop-wallet { display: flex; min-height: 108px; flex-direction: column; justify-content: center; padding: 14px 18px; border: 1px solid rgba(214,182,111,.29); border-radius: 7px; background: rgba(11,17,12,.5); }
.wallet-label { color: #b9c0ae; font-size: .68rem; letter-spacing: .7px; text-transform: uppercase; }
.shop-wallet > strong { color: #e7cc83; font-family: "Cinzel", Georgia, serif; font-size: 1.55rem; line-height: 1.4; }
.shop-wallet > strong small { color: #c5b078; font-family: "Segoe UI", system-ui, sans-serif; font-size: .72rem; }
.shop-wallet > a:not(.btn) { color: #aeca9a; font-size: .72rem; }
.shop-wallet > a:not(.btn) span { padding-left: 4px; color: var(--gold); }
.shop-wallet-guest { gap: 5px; }
.shop-wallet-guest .btn { align-self: flex-start; min-height: 34px; margin: 3px 0; font-size: .72rem; }
.shop-wallet-guest small { color: var(--muted); font-size: .7rem; }
.shop-catalog { padding: 18px; border: 1px solid rgba(199,174,112,.16); border-radius: 9px; background: rgba(16,21,16,.55); }
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 13px; }
.shop-cats { display: flex; min-width: 0; flex: 1; flex-wrap: wrap; gap: 6px; margin: 0; }
.shop-cats .catbtn { display: inline-flex; min-height: 35px; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(196,176,123,.17); border-radius: 5px; color: #c2c4b7; background: #1b211a; font-size: .7rem; transition: border-color .16s, background .16s, color .16s; }
.shop-cats .catbtn:hover { border-color: rgba(170,194,143,.5); color: #ebe4d0; background: #222a20; }
.shop-cats .catbtn.active { border-color: rgba(165,190,136,.65); color: #edf0dd; background: #2d3b29; box-shadow: inset 0 0 0 1px rgba(165,190,136,.08); }
.shop-cats .catbtn span { display: inline-grid; min-width: 20px; height: 19px; place-items: center; padding: 0 4px; border-radius: 12px; color: #b9c5a9; background: rgba(255,255,255,.08); font-size: .61rem; }
.shop-tools { display: flex; align-items: center; gap: 7px; }
.shop-search { position: relative; display: block; }
.shop-search input { width: 205px; height: 35px; padding: 7px 10px 7px 32px; border: 1px solid rgba(196,176,123,.2); border-radius: 5px; color: var(--text); background: #111610; font-size: .72rem; }
.shop-search input:focus, .shop-sort:focus { outline: none; border-color: #82986f; box-shadow: 0 0 0 2px rgba(130,152,111,.11); }
.search-symbol { position: absolute; top: 10px; left: 11px; width: 11px; height: 11px; border: 1.5px solid #aeb49f; border-radius: 50%; pointer-events: none; }
.search-symbol::after { position: absolute; right: -5px; bottom: -3px; width: 5px; height: 1.5px; transform: rotate(48deg); background: #aeb49f; content: ""; }
.shop-sort-label { color: #aeb4a4; font-size: .66rem; }
.shop-sort { height: 35px; padding: 0 25px 0 9px; border: 1px solid rgba(196,176,123,.2); border-radius: 5px; color: #d2d2c6; background: #111610; font-size: .7rem; }
.shop-results { display: flex; justify-content: space-between; gap: 10px; margin: 15px 0 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(199,174,112,.13); color: #92988a; font-size: .66rem; }
.shop-results #shopResultCount { color: #d2c28e; font-weight: 700; }
.shop-grid { grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 13px; margin-top: 0; }
.product { position: relative; min-height: 275px; gap: 0; padding: 0; overflow: hidden; border-color: rgba(199,174,112,.18); border-radius: 7px; background: #1a2019; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.product:hover { transform: translateY(-3px); border-color: rgba(177,197,143,.55); background: #1d241b; box-shadow: 0 12px 27px rgba(0,0,0,.24); }
.product[hidden] { display: none !important; }
.product-art { position: relative; display: flex; height: 94px; align-items: center; justify-content: center; border-bottom: 1px solid rgba(199,174,112,.14); background: radial-gradient(ellipse at 50% 115%, rgba(103,139,79,.28), transparent 67%), linear-gradient(135deg, #242d22, #171d18); }
.product-art::before, .product-art::after { position: absolute; top: 50%; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, rgba(214,182,111,.42)); content: ""; }
.product-art::before { left: 17px; }
.product-art::after { right: 17px; transform: rotate(180deg); }
.product img.pic { width: 58px; height: 58px; border: 1px solid rgba(230,209,151,.44); border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.product-type { position: absolute; top: 9px; right: 9px; max-width: calc(50% - 10px); overflow: hidden; padding: 3px 7px; border: 1px solid rgba(214,182,111,.2); border-radius: 20px; color: #d1c394; background: rgba(8,13,9,.42); font-size: .56rem; text-overflow: ellipsis; white-space: nowrap; }
.p-body { padding: 13px 15px 8px; }
.product .p-name { min-height: 2.7em; margin: 0 0 5px; color: #eee5cb; font-family: "Marcellus", Georgia, serif; font-size: .88rem; font-weight: 400; line-height: 1.4; }
.product .p-desc { display: -webkit-box; min-height: 3.1em; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; flex: none; color: #adb2a5; font-size: .71rem; line-height: 1.55; }
.product-delivery { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: #9eaa95; font-size: .62rem; }
.delivery-dot { width: 5px; height: 5px; border-radius: 50%; background: #83b374; box-shadow: 0 0 6px rgba(131,179,116,.4); }
.product .p-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 10px 13px 12px; border-top: 1px solid rgba(199,174,112,.13); }
.product .p-price { display: flex; align-items: baseline; gap: 5px; color: #d9c17c; }
.product .p-price strong { font-family: "Cinzel", Georgia, serif; font-size: 1.08rem; }
.product .p-price span { color: #a9a995; font-size: .64rem; }
.product .btn-shop-buy { min-height: 33px; padding: 7px 11px; border: 1px solid rgba(166,192,136,.38); border-radius: 4px; color: #e6e8d8; background: #394a32; font-size: .68rem; }
.product .btn-shop-buy:hover { border-color: #b2c694; color: white; background: #4b613f; }
.product .btn-shop-buy span { color: #d9c17c; }
.shop-empty { padding: 44px 15px; color: #afb3a6; font-size: .86rem; text-align: center; }
.shop-modal { position: relative; padding: 27px; }
.shop-modal .modal-close { position: absolute; top: 12px; right: 14px; width: 30px; height: 30px; border: 0; border-radius: 50%; color: #b9bcaf; background: rgba(255,255,255,.06); cursor: pointer; font-size: 1.2rem; line-height: 1; }
.shop-modal .modal-close:hover { color: white; background: rgba(255,255,255,.12); }
.shop-modal .eyebrow { display: block; margin-bottom: 5px; }
.shop-modal h3 { padding-right: 24px; font-size: 1.2rem; }
.shop-modal p { margin: 7px 0 17px; line-height: 1.6; }
.shop-character-label { display: block; margin-bottom: 6px; color: #d9c995; font-size: .72rem; font-weight: 700; }
.shop-modal select { margin: 0 0 12px; }
.shop-modal .shop-modal-note { margin: 0 0 14px; color: #d1ad77; font-size: .71rem; }
.shop-modal .m-actions { margin-top: 9px; }
.shop-modal .btn:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
@media (max-width: 820px) {
  .shop-intro { grid-template-columns: minmax(0,1fr) 260px; gap: 17px; padding: 20px; }
  .shop-toolbar { align-items: stretch; flex-direction: column; }
  .shop-tools { justify-content: flex-end; }
}
@media (max-width: 620px) {
  .shop-intro { grid-template-columns: 1fr; gap: 15px; margin-bottom: 17px; padding: 17px; }
  .shop-wallet { min-height: auto; }
  .shop-wallet-guest .btn { align-self: stretch; }
  .shop-catalog { padding: 11px; }
  .shop-cats { flex-wrap: nowrap; overflow-x: auto; padding: 1px 1px 6px; scrollbar-width: thin; }
  .shop-cats .catbtn { flex: 0 0 auto; }
  .shop-tools { display: grid; grid-template-columns: minmax(0,1fr) auto; }
  .shop-search input { width: 100%; }
  .shop-sort-label { display: none; }
  .shop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .product { min-height: 260px; }
  .product-art { height: 78px; }
  .product img.pic { width: 48px; height: 48px; }
  .product .p-name { min-height: 3.9em; font-size: .78rem; }
  .product .p-desc { min-height: 4.6em; font-size: .65rem; }
  .product .p-foot { align-items: flex-start; flex-direction: column; padding: 9px 10px 10px; }
  .product .btn-shop-buy { width: 100%; justify-content: center; }
  .shop-results { font-size: .6rem; }
  .shop-modal { padding: 22px 17px 17px; }
}

/* Warcraft-facing pages: midnight blue, jade steel, restrained gold detailing. */
body { background-image: radial-gradient(ellipse 78% 420px at 50% 0%, rgba(42,75,104,.2), transparent 74%), linear-gradient(180deg, #0c1420, #0b111b 520px); }
.mainnav { background: rgba(10,17,27,.96); border-bottom-color: rgba(191,171,119,.22); box-shadow: 0 5px 22px rgba(0,0,0,.18); }
.mainnav .nav-links a { color: #c2c9cf; }
.mainnav .nav-links a:hover, .mainnav .nav-links a.active { color: #f0dda8; background: rgba(213,185,117,.08); }
.page-header {
  min-height: 190px;
  border-bottom-color: rgba(216,187,120,.31);
  background: linear-gradient(90deg, rgba(7,13,22,.9), rgba(7,13,22,.47) 56%, rgba(7,13,22,.72)),
              linear-gradient(0deg, rgba(11,17,27,.5), transparent 62%),
              url('https://bnetcmsus-a.akamaihd.net/cms/content_entry_media/CF24DOGD5P711753133721408.png') center 42% / cover;
}
.page-header .wrap { padding-block: 31px; }
.page-kicker { color: #a8bba9; letter-spacing: 2px; }
.page-title { max-width: 780px; padding-left: 13px; border-left: 2px solid var(--gold); color: #f0e3c1; font-size: clamp(1.55rem,3.3vw,2.35rem); text-shadow: 0 2px 14px rgba(0,0,0,.68); }
.content { padding-top: 31px; }
.content > .section-title:first-child { margin-top: 0; }
.section-title { color: #e9d59f; border-bottom-color: rgba(200,179,127,.21); }
.section-title::after { width: 76px; background: linear-gradient(90deg, #d8bb78, rgba(216,187,120,.14)); }
.section-title::before { position: absolute; bottom: -3px; left: 72px; width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid #d8bb78; background: #0c1420; content: ""; }
.eyebrow { color: #a8c0ae; }
.panel-title { color: #e1cd95; }
.card { border-color: rgba(188,177,143,.19); background: linear-gradient(145deg, rgba(24,37,53,.98), rgba(16,27,41,.98)); box-shadow: 0 10px 28px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.025); }
.card::before { position: absolute; top: 0; left: 18px; right: 18px; height: 1px; background: linear-gradient(90deg, transparent, rgba(216,187,120,.4), transparent); content: ""; pointer-events: none; }
.feature, .status-card, .product { border-color: rgba(177,185,177,.16); background: linear-gradient(145deg, #19283a, #121d2b); }
.feature:hover, .product:hover { border-color: rgba(216,187,120,.48); background: linear-gradient(145deg, #203349, #152336); box-shadow: 0 14px 31px rgba(0,0,0,.24); }
.feature h3, .product .p-name { color: #e6d6ad; }
.feature p, .product .p-desc { color: #b2bdc5; }
.feature .f-icon { border-color: rgba(216,187,120,.24); background: #101a27; }
.stats-band .stat { border-color: rgba(192,174,126,.24); background: linear-gradient(155deg, rgba(27,42,57,.98), rgba(16,27,40,.98)); }
.stat .val { color: #dfc57f; }
.join-banner { border-color: rgba(192,174,126,.25); background: linear-gradient(110deg, #1a2b3b, #131f2d); }
.join-banner h2 { color: #f0e4c4; }
.balance-bar { border-color: rgba(216,187,120,.27); background: linear-gradient(100deg,#1a2b3b,#142130); }
.field input, .field select, .field textarea, .modal select { border-color: rgba(185,184,164,.21); background: #0e1825; }
table.grid th { color: #e0cd99; background: #1c2b3b; }
table.grid th, table.grid td { border-color: rgba(185,184,164,.15); }
table.grid tr:hover td { background: rgba(151,177,170,.055); }
.badge.online { color: #a9d5ae; }
.status-card { border-left: 2px solid rgba(158,166,154,.3); }
.status-card.up { border-left-color: #86c184; }
.status-card.down { border-left-color: #d28b7e; }
.status-card .s-name { color: #e0e2d9; }
.sitefooter { border-top-color: rgba(190,169,116,.2); background: #080e17; }
.footer-bottom { border-top-color: rgba(255,255,255,.075); }

/* Give the shop its own premium catalogue surface within the common world theme. */
.shop-intro { border-color: rgba(194,177,131,.26); background: linear-gradient(112deg, rgba(35,55,71,.98), rgba(18,32,47,.99)); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.shop-intro-copy h2 { color: #f1e5c8; }
.shop-intro-copy p { color: #bdc8ce; }
.shop-wallet { border-color: rgba(215,190,127,.27); background: rgba(10,19,30,.62); }
.shop-wallet > strong { color: #e3c77f; }
.shop-catalog { border-color: rgba(190,178,141,.16); background: rgba(14,23,35,.76); }
.shop-cats .catbtn { border-color: rgba(180,186,181,.16); color: #c2ccd1; background: #172536; }
.shop-cats .catbtn:hover { border-color: rgba(216,187,120,.42); color: #f0e4c3; background: #1e3042; }
.shop-cats .catbtn.active { border-color: rgba(216,187,120,.66); color: #f3e7c6; background: linear-gradient(180deg,#31465a,#233648); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.shop-cats .catbtn span { color: #c8c9bd; background: rgba(0,0,0,.2); }
.shop-search input, .shop-sort { border-color: rgba(180,186,181,.19); color: #e5e5da; background: #0e1825; }
.shop-results { border-bottom-color: rgba(190,178,141,.16); color: #a9b4ba; }
.shop-results #shopResultCount { color: #e2cb8d; }
.product { border-color: rgba(188,180,145,.16); background: linear-gradient(160deg,#1b2b3d,#142132); }
.product:hover { border-color: rgba(216,187,120,.49); background: linear-gradient(145deg,#23394d,#17283a); }
.product-art { border-bottom-color: rgba(197,178,129,.2); background: radial-gradient(ellipse at 50% 120%, rgba(104,148,131,.27), transparent 68%), linear-gradient(135deg,#25394a,#18283a); }
.product-art::before, .product-art::after { background: linear-gradient(90deg,transparent,rgba(216,187,120,.51)); }
.product img.pic { border-color: rgba(224,201,145,.52); }
.product-type { border-color: rgba(216,187,120,.24); color: #e0d1a7; background: rgba(9,17,27,.58); }
.product .p-name { color: #eee2c3; }
.product .p-desc { color: #bac4ca; }
.product-delivery { color: #afc2b4; }
.product .p-foot { border-top-color: rgba(190,178,141,.16); }
.product .p-price { color: #e3c77f; }
.product .p-price span { color: #b3bdc0; }
.product .btn-shop-buy { border-color: rgba(214,190,126,.48); color: #f0e5c8; background: linear-gradient(180deg,#38503e,#2a4135); }
.product .btn-shop-buy:hover { border-color: #d6bd7c; color: white; background: linear-gradient(180deg,#526a47,#3a543b); }
.shop-modal { border-color: rgba(216,187,120,.42); background: linear-gradient(145deg,#1d2d3d,#111e2c); }
.shop-modal select { background: #0e1825; }
.modal-bg { background: rgba(3,8,15,.82); }

/* Sign-in and registration */
.auth-layout { display: grid; grid-template-columns: minmax(285px,.88fr) minmax(0,1.12fr); max-width: 990px; min-height: 490px; overflow: hidden; margin: 3px auto 40px; border: 1px solid rgba(190,169,116,.24); border-radius: 11px; background: #111c2a; box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.auth-story { position: relative; isolation: isolate; display: flex; min-height: 100%; flex-direction: column; justify-content: center; overflow: hidden; padding: 35px; background: #15273a url('https://bnetcmsus-a.akamaihd.net/cms/content_entry_media/CF24DOGD5P711753133721408.png') center / cover; }
.auth-story::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(145deg,rgba(10,18,28,.53),rgba(9,17,26,.9)), linear-gradient(0deg,rgba(10,17,26,.55),transparent); content: ""; }
.auth-story h2 { max-width: 360px; margin: 9px 0 11px; color: #f4e8c9; font: 700 clamp(1.5rem,3vw,2.15rem)/1.3 "Cinzel", Georgia, serif; }
.auth-story > p { max-width: 365px; margin: 0; color: #d2d7d0; font-size: .86rem; line-height: 1.8; }
.auth-world-mark { display: flex; align-items: center; gap: 12px; margin-top: 34px; padding-top: 19px; border-top: 1px solid rgba(235,218,171,.25); color: #e4d4a7; font: 700 .65rem/1.6 "Cinzel", Georgia, serif; letter-spacing: 1.1px; }
.auth-world-mark img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
.auth-world-mark small { color: #c2c6b5; font: 600 .55rem "Segoe UI", system-ui, sans-serif; letter-spacing: 1.1px; }
.auth-reward-card { display: flex; align-items: center; gap: 11px; max-width: 300px; margin-top: 30px; padding: 11px 13px; border: 1px solid rgba(225,201,139,.3); border-radius: 6px; background: rgba(11,19,27,.55); backdrop-filter: blur(6px); }
.auth-reward-seal { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgba(225,201,139,.48); border-radius: 50%; color: #edcf82; font-size: 1.1rem; }
.auth-reward-card strong, .auth-reward-card small { display: block; }
.auth-reward-card strong { color: #f0d990; font-size: .79rem; }
.auth-reward-card small { color: #c1c7bb; font-size: .65rem; }
.auth-panel { padding: clamp(22px,4vw,39px); background: linear-gradient(150deg,#172638,#111d2b); }
.auth-panel-heading { margin-bottom: 19px; }
.auth-panel-heading h2 { margin: 4px 0 5px; color: #efe2c0; font: 700 1.48rem "Cinzel", Georgia, serif; }
.auth-panel-heading p { margin: 0; color: #b5c0c8; font-size: .78rem; line-height: 1.6; }
.auth-panel .field { margin-bottom: 13px; }
.auth-panel .field label { color: #dcd0aa; }
.auth-panel .field input { min-height: 42px; border-color: rgba(180,183,170,.21); background: #0e1825; }
.auth-submit { width: 100%; min-height: 43px; margin-top: 7px; }
.auth-submit span { color: #eddaaa; }
.auth-panel-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(190,169,116,.14); color: #aeb9c0; font-size: .74rem; }
.auth-panel-footer a { color: #d8c181; font-weight: 700; }
.auth-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 13px; }
.auth-captcha-field { max-width: 190px; }
.terms-check { display: flex; align-items: flex-start; gap: 9px; margin: 13px 0 4px; color: #b7c0c4; font-size: .67rem; line-height: 1.55; }
.terms-check input { flex: 0 0 auto; width: 15px; height: 15px; margin: 2px 0 0; accent-color: #8ca880; }
.terms-check a { color: #e0ca8a; text-decoration: underline; text-underline-offset: 2px; }

/* Legal and policy documents */
.legal-document { max-width: 920px; margin: 0 auto; padding: 2px 0 25px; }
.legal-heading { margin-bottom: 23px; padding-bottom: 18px; border-bottom: 1px solid rgba(190,169,116,.2); }
.legal-heading h2 { margin: 5px 0; color: #eee1bd; font: 700 clamp(1.4rem,3vw,2rem) "Cinzel", Georgia, serif; }
.legal-heading p { margin: 0; color: #939fab; font-size: .68rem; }
.legal-notice { margin-bottom: 22px; padding: 12px 15px; border: 1px solid rgba(216,187,120,.27); border-left: 3px solid #c5a963; border-radius: 5px; color: #c3c7c1; background: rgba(35,47,53,.45); font-size: .76rem; line-height: 1.7; }
.legal-notice strong { color: #e4d29b; }
.legal-section { margin: 0 0 11px; padding: 17px 19px; border: 1px solid rgba(169,180,180,.12); border-radius: 6px; background: linear-gradient(145deg,rgba(22,35,49,.75),rgba(15,25,38,.75)); }
.legal-section h3 { margin: 0 0 7px; color: #dfcc96; font: 400 1rem "Marcellus", Georgia, serif; }
.legal-section p, .legal-section li { color: #b9c1c4; font-size: .76rem; line-height: 1.8; }
.legal-section p { margin: 6px 0; }
.legal-section ul { margin: 7px 0; padding-left: 19px; }
.legal-details { display: grid; grid-template-columns: minmax(130px,.4fr) minmax(0,1fr); gap: 7px 15px; margin: 11px 0; font-size: .75rem; }
.legal-details dt { color: #d4c58f; font-weight: 700; }
.legal-details dd { margin: 0; color: #c2c8c7; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 20px; padding: 0 0 14px; }
.footer-legal a { color: #9ca9b0; font-size: .66rem; }
.footer-legal a:hover { color: var(--gold); }

/* Cinematic daily DP gift */
.daily-gift { position: fixed; z-index: 80; right: 24px; bottom: 22px; display: flex; align-items: flex-end; gap: 11px; }
.daily-gift-trigger { position: relative; z-index: 2; display: grid; width: 72px; height: 72px; flex: 0 0 72px; place-items: center; border: 1px solid rgba(235,211,151,.58); border-radius: 50%; background: radial-gradient(circle at 34% 25%,#344c4d,#172638 70%); box-shadow: 0 7px 24px rgba(0,0,0,.44),inset 0 1px rgba(255,255,255,.14),0 0 24px rgba(202,174,104,.12); cursor: pointer; animation: daily-gift-float 3.2s ease-in-out infinite; }
.daily-gift-trigger:hover { border-color: #f0d88d; box-shadow: 0 8px 27px rgba(0,0,0,.5),0 0 29px rgba(225,196,117,.28); }
.daily-gift-svg { width: 62px; height: 62px; overflow: visible; filter: drop-shadow(0 3px 6px rgba(0,0,0,.43)); }
.daily-gift-mark { position: absolute; right: -5px; bottom: -2px; display: grid; min-width: 29px; height: 21px; place-items: center; padding: 0 5px; border: 1px solid #f0dda5; border-radius: 12px; color: #fff8e6; background: linear-gradient(#a77b3d,#765328); box-shadow: 0 2px 8px rgba(0,0,0,.38); font-size: .57rem; font-weight: 800; }
.daily-gift-callout { position: relative; max-width: 220px; margin: 0 0 11px; padding: 9px 12px; border: 1px solid rgba(227,205,150,.4); border-radius: 6px; color: #f1e7c9; background: rgba(14,24,34,.95); box-shadow: 0 5px 22px rgba(0,0,0,.33); font-size: .71rem; font-weight: 700; transition: opacity .18s,transform .18s; }
.daily-gift-callout::after { position: absolute; right: -5px; bottom: 12px; width: 8px; height: 8px; transform: rotate(45deg); border-top: 1px solid rgba(227,205,150,.4); border-right: 1px solid rgba(227,205,150,.4); background: #0e1822; content: ""; }
.daily-gift.is-open .daily-gift-callout { transform: translateY(5px); opacity: 0; pointer-events: none; }
.daily-gift-panel { position: absolute; right: 0; bottom: 85px; display: none; width: min(340px,calc(100vw - 28px)); padding: 21px; border: 1px solid rgba(216,187,120,.42); border-radius: 9px; background: linear-gradient(145deg,rgba(26,42,56,.98),rgba(13,24,38,.99)); box-shadow: 0 18px 55px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.05); }
.daily-gift.is-open .daily-gift-panel { display: block; animation: daily-gift-panel-in .22s ease-out; }
.daily-gift-close { position: absolute; top: 9px; right: 10px; width: 29px; height: 29px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; color: #b9c2c3; background: rgba(255,255,255,.04); cursor: pointer; font-size: 1.1rem; }
.daily-gift-panel h2 { margin: 5px 24px 7px 0; color: #f0e4c4; font: 700 1.03rem "Cinzel", Georgia, serif; line-height: 1.4; }
.daily-gift-panel > p { margin: 0 0 13px; color: #bdc6c6; font-size: .75rem; line-height: 1.65; }
.daily-gift-panel > p strong { color: #e7ca81; }
.daily-gift-links { display: flex; align-items: center; gap: 12px; }
.daily-gift-links .btn { min-height: 35px; font-size: .7rem; }
.daily-gift-register { color: #d6c58e; font-size: .69rem; }
.daily-gift-claim { width: 100%; min-height: 39px; }
.daily-gift-claim.is-opening { animation: daily-gift-claim-pulse .6s ease-in-out infinite alternate; }
.daily-gift-claim:disabled { cursor: default; opacity: .72; }
.daily-gift-message { min-height: 18px; margin-top: 9px; color: #e5b79a; font-size: .68rem; line-height: 1.5; }
.daily-gift-message.daily-gift-success { color: #add2a8; }
.daily-gift.is-opening .daily-gift-svg { animation: daily-gift-open .85s cubic-bezier(.2,.75,.25,1); }
.daily-gift.is-claimed .daily-gift-mark { border-color: rgba(184,213,167,.68); background: linear-gradient(#658a59,#3f6747); }
@keyframes daily-gift-float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(2deg); } }
@keyframes daily-gift-panel-in { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes daily-gift-open { 0% { transform: scale(1) rotate(0); } 38% { transform: scale(1.2) rotate(-9deg); } 72% { transform: scale(.94) rotate(6deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes daily-gift-claim-pulse { from { box-shadow: 0 0 0 rgba(222,193,123,0); } to { box-shadow: 0 0 17px rgba(222,193,123,.29); } }

/* Launcher and realm status layouts */
.launcher-showcase { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); gap: 21px; overflow: hidden; margin: 5px 0 36px; border: 1px solid rgba(190,169,116,.24); border-radius: 10px; background: linear-gradient(120deg,#172839,#111c2b); box-shadow: 0 15px 38px rgba(0,0,0,.23); }
.launcher-copy { position: relative; display: flex; min-height: 335px; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; padding: 34px; background: linear-gradient(90deg,rgba(9,16,25,.6),rgba(12,20,29,.82)),url('https://bnetcmsus-a.akamaihd.net/cms/content_entry_media/CF24DOGD5P711753133721408.png') center 52% / cover; }
.launcher-copy h2 { max-width: 490px; margin: 8px 0 10px; color: #f2e4c0; font: 700 clamp(1.55rem,3.2vw,2.45rem)/1.28 "Cinzel",Georgia,serif; }
.launcher-copy > p { max-width: 510px; margin: 0; color: #d1d5cf; font-size: .82rem; line-height: 1.8; }
.launcher-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 19px; }
.launcher-specs span { padding: 5px 8px; border: 1px solid rgba(220,202,151,.27); border-radius: 4px; color: #e0d4b0; background: rgba(9,17,25,.56); font-size: .59rem; font-weight: 700; letter-spacing: .3px; }
.launcher-assurance { display: flex; align-items: center; gap: 9px; margin-top: 19px; color: #e5e4d8; }
.launcher-assurance-icon { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid rgba(157,198,154,.5); border-radius: 50%; color: #a6d2a0; font-size: .75rem; }
.launcher-assurance strong, .launcher-assurance small { display: block; }
.launcher-assurance strong { font-size: .68rem; }
.launcher-assurance small { margin-top: 1px; color: #adb7b8; font-size: .61rem; }
.launcher-release { align-self: center; padding: 24px 22px; }
.launcher-release-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; padding-bottom: 10px; border-bottom: 1px solid rgba(190,169,116,.16); }
.launcher-release-logo { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 5px 12px rgba(0,0,0,.35)); }
.launcher-release-brand strong, .launcher-release-brand small { display: block; }
.launcher-release-brand strong { color: #eee1c1; font: 700 .95rem "Cinzel",Georgia,serif; letter-spacing: 1px; }
.launcher-release-brand small { margin-top: 4px; color: #9faeae; font-size: .56rem; font-weight: 700; letter-spacing: 1.2px; }
.release-status { display: flex; align-items: center; gap: 7px; color: #a9b6af; font-size: .63rem; }
.release-status span { width: 7px; height: 7px; border-radius: 50%; background: #d09a72; }
.release-status.is-ready span { background: #88c47b; box-shadow: 0 0 8px rgba(136,196,123,.5); }
.launcher-release h3 { margin: 9px 0 4px; color: #eee1c0; font: 700 1.1rem "Cinzel", Georgia, serif; }
.launcher-release > p { margin: 0 0 13px; color: #aebac1; font-size: .7rem; }
.launcher-download { display: flex; align-items: center; gap: 9px; margin-top: 7px; padding: 10px; border: 1px solid rgba(179,186,176,.15); border-radius: 6px; color: #e1e5da !important; background: rgba(255,255,255,.025); }
.launcher-download:hover { border-color: rgba(216,187,120,.48); background: rgba(255,255,255,.055); text-decoration: none; }
.launcher-download-main { border-color: rgba(216,187,120,.34); background: rgba(216,187,120,.07); }
.download-mark { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border: 1px solid rgba(216,187,120,.28); border-radius: 5px; color: #e3ca88; background: rgba(11,19,27,.45); font-size: 1rem; }
.launcher-download > span:nth-child(2) { min-width: 0; flex: 1; }
.launcher-download strong, .launcher-download small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.launcher-download strong { color: #e8e3d4; font-size: .68rem; }
.launcher-download small { margin-top: 2px; color: #9eaab2; font-size: .58rem; }
.download-arrow { color: #dcc582; }
.launcher-platform-note { display: block; margin-top: 11px; color: #88959f; font-size: .59rem; text-align: center; }
.launcher-empty { display: flex; flex-direction: column; gap: 4px; padding: 15px; border: 1px dashed rgba(190,169,116,.23); border-radius: 6px; color: #e0d3ab; font-size: .7rem; }
.launcher-empty span { color: #aab4b7; font-size: .65rem; }
.launcher-features { margin-top: 16px; }
.launcher-section-heading { margin-bottom: 13px; }
.launcher-section-heading h2 { margin: 4px 0 0; color: #e8dab4; font: 700 1.2rem "Cinzel",Georgia,serif; }
.launcher-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.launcher-feature { display: flex; align-items: flex-start; gap: 12px; padding: 17px; border: 1px solid rgba(190,169,116,.17); border-radius: 7px; background: linear-gradient(140deg,#172638,#111d2a); }
.launcher-feature-mark { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border: 1px solid rgba(216,187,120,.32); border-radius: 50%; color: #e0c982; font: 700 .63rem "Cinzel",Georgia,serif; }
.launcher-feature h3 { margin: 1px 0 4px; color: #e3d4ae; font: 400 .83rem "Marcellus",Georgia,serif; }
.launcher-feature p { margin: 0; color: #b1bcc2; font-size: .66rem; line-height: 1.65; }

/* Server status centre */
.status-overview { display: flex; align-items: center; justify-content: space-between; gap: 17px; margin: 2px 0 15px; padding: 18px 21px; border: 1px solid rgba(134,191,136,.24); border-radius: 8px; background: linear-gradient(105deg,rgba(33,65,51,.39),rgba(20,35,47,.72)); }
.status-overview.systems-degraded { border-color: rgba(209,142,112,.32); background: linear-gradient(105deg,rgba(75,48,37,.35),rgba(25,34,44,.75)); }
.status-overview h2 { margin: 3px 0; color: #e9e4d2; font: 700 clamp(1rem,2vw,1.35rem) "Cinzel",Georgia,serif; }
.status-overview p { margin: 0; color: #aeb9bf; font-size: .68rem; }
.status-refresh { flex: 0 0 auto; min-height: 34px; font-size: .68rem; }
.status-refresh span { margin-right: 4px; color: #e1c77f; font-size: 1rem; }
.status-services { display: grid; grid-template-columns: repeat(auto-fit,minmax(215px,1fr)); gap: 9px; margin-bottom: 28px; }
.status-service { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(177,185,177,.15); border-radius: 6px; background: linear-gradient(145deg,#192838,#121e2b); }
.status-service.is-online { border-left: 2px solid #82b88a; }
.status-service.is-offline { border-left: 2px solid #c77e70; }
.service-indicator { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #c77e70; box-shadow: 0 0 8px rgba(199,126,112,.32); }
.status-service.is-online .service-indicator { background: #83c184; box-shadow: 0 0 8px rgba(131,193,132,.42); }
.service-copy { min-width: 0; flex: 1; }
.service-copy h3 { margin: 0; color: #e0e2d9; font-size: .72rem; font-weight: 700; }
.service-copy p { margin: 2px 0 0; overflow: hidden; color: #9fabb3; font-size: .59rem; text-overflow: ellipsis; white-space: nowrap; }
.service-state { color: #d6a092; font-size: .59rem; font-weight: 700; white-space: nowrap; }
.status-service.is-online .service-state { color: #a8d4a9; }
.realm-health { margin-top: 4px; }
.realm-health-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.realm-health-heading h2 { margin: 4px 0 0; color: #e7dab7; font: 700 1.08rem "Cinzel",Georgia,serif; }
.realm-patch { padding: 4px 8px; border: 1px solid rgba(216,187,120,.23); border-radius: 4px; color: #aeb8ba; font-size: .57rem; letter-spacing: .9px; }
.realm-patch strong { color: #e3c982; }
.server-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.server-metric { position: relative; display: flex; min-height: 145px; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; padding: 17px; border: 1px solid rgba(190,169,116,.19); border-radius: 7px; background: linear-gradient(150deg,#192a3b,#111d2b); }
.server-metric::after { position: absolute; top: -32px; right: -28px; width: 90px; height: 90px; border: 1px solid rgba(216,187,120,.08); border-radius: 50%; box-shadow: 0 0 0 10px rgba(216,187,120,.025),0 0 0 20px rgba(216,187,120,.02); content: ""; }
.metric-icon { width: 23px; height: 23px; margin-bottom: 8px; border: 1px solid rgba(216,187,120,.3); border-radius: 6px; background: rgba(216,187,120,.07); }
.metric-online { background: radial-gradient(circle,#94ce90 0 3px,transparent 4px) center/12px 12px no-repeat,rgba(126,183,121,.1); }
.metric-uptime { background: linear-gradient(90deg,transparent 43%,#d8bb78 44% 50%,transparent 51%) center/13px 13px no-repeat,linear-gradient(transparent 43%,#d8bb78 44% 50%,transparent 51%) center/13px 13px no-repeat,rgba(216,187,120,.07); }
.metric-peak { background: linear-gradient(135deg,transparent 43%,#9cb9b7 44% 51%,transparent 52%) center/14px 14px no-repeat,linear-gradient(45deg,transparent 43%,#9cb9b7 44% 51%,transparent 52%) center/14px 14px no-repeat,rgba(156,185,183,.07); }
.metric-build { background: linear-gradient(90deg,transparent 40%,#d5c28c 41% 47%,transparent 48%) center/13px 13px no-repeat,linear-gradient(0deg,transparent 40%,#d5c28c 41% 47%,transparent 48%) center/13px 13px no-repeat,rgba(216,187,120,.07); }
.metric-label { color: #aeb9bd; font-size: .63rem; }
.server-metric > strong { margin-top: 2px; color: #ebd18f; font: 700 clamp(1.1rem,2.1vw,1.55rem) "Cinzel",Georgia,serif; }
.server-metric > small { margin-top: 3px; color: #909da5; font-size: .57rem; }
.status-footnote { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; padding: 10px 12px; border-top: 1px solid rgba(190,169,116,.13); color: #97a4aa; }
.status-footnote-mark { display: grid; width: 17px; height: 17px; flex: 0 0 17px; place-items: center; border: 1px solid rgba(190,169,116,.29); border-radius: 50%; color: #d3be83; font: 700 .63rem Georgia,serif; }
.status-footnote p { margin: 0; font-size: .61rem; line-height: 1.6; }

/* Account overview and DP ledger */
.account-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,290px); align-items: center; gap: 25px; margin: 1px 0 13px; padding: 22px 24px; border: 1px solid rgba(190,169,116,.25); border-radius: 9px; background: linear-gradient(112deg,rgba(32,51,68,.98),rgba(17,29,44,.99)); box-shadow: 0 12px 32px rgba(0,0,0,.19); }
.account-identity { display: flex; min-width: 0; align-items: center; gap: 17px; }
.account-emblem { width: 76px; height: 76px; flex: 0 0 76px; object-fit: contain; filter: drop-shadow(0 5px 14px rgba(0,0,0,.37)); }
.account-identity h2 { margin: 4px 0 3px; overflow-wrap: anywhere; color: #f0e4c5; font: 700 clamp(1.2rem,2.7vw,1.75rem) "Cinzel",Georgia,serif; }
.account-identity p { margin: 0; color: #aebbc2; font-size: .72rem; }
.account-identity p span { padding: 0 4px; color: var(--gold); }
.account-balance { display: flex; flex-direction: column; align-items: flex-start; padding: 13px 16px; border: 1px solid rgba(218,190,127,.25); border-radius: 7px; background: rgba(9,17,27,.44); }
.account-balance > span { color: #afbbc0; font-size: .62rem; letter-spacing: .7px; text-transform: uppercase; }
.account-balance > strong { color: #e5ca80; font: 700 1.65rem "Cinzel",Georgia,serif; line-height: 1.35; }
.account-balance > strong small { color: #c7b479; font: 700 .68rem "Segoe UI",system-ui,sans-serif; }
.account-balance > a { color: #aecaad; font-size: .65rem; }
.account-admin-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 15px; padding: 10px 13px; border: 1px solid rgba(132,190,141,.22); border-radius: 6px; color: #b9d4ba; background: rgba(38,68,50,.28); font-size: .74rem; }
.account-admin-banner .btn { min-height: 32px; padding: 6px 10px; font-size: .65rem; }
.account-highlights { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-bottom: 31px; }
.account-highlight { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border: 1px solid rgba(190,169,116,.16); border-radius: 6px; background: linear-gradient(135deg,#19293a,#121e2c); }
.account-highlight-icon { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border: 1px solid rgba(216,187,120,.25); border-radius: 50%; color: #dfc77f; background: rgba(216,187,120,.06); font-size: .85rem; }
.account-highlight strong, .account-highlight small { display: block; }
.account-highlight strong { color: #e8d39d; font: 700 .97rem "Cinzel",Georgia,serif; }
.account-highlight small { color: #a7b2b9; font-size: .61rem; }
.account-section { margin: 0 0 30px; }
.account-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 0 0 11px; }
.account-section-heading h2 { margin: 3px 0 0; color: #ebdcba; font: 700 1.12rem "Cinzel",Georgia,serif; }
.account-section-count { padding: 4px 9px; border: 1px solid rgba(190,169,116,.18); border-radius: 20px; color: #b9c1bd; font-size: .61rem; }
.account-section-link { color: #dac786; font-size: .68rem; font-weight: 700; }
.account-section-link span { padding-left: 4px; }
.account-characters { padding: 8px; }
.account-characters table.grid { min-width: 620px; }
.account-character-name { color: var(--class-color); font-weight: 700; }
.level-chip { display: inline-grid; min-width: 27px; height: 24px; place-items: center; border: 1px solid rgba(216,187,120,.2); border-radius: 4px; color: #e3ce95; background: rgba(216,187,120,.06); font-size: .66rem; font-weight: 700; }
.account-empty { display: flex; align-items: center; gap: 13px; padding: 21px 15px; }
.account-empty-mark { display: grid; width: 37px; height: 37px; flex: 0 0 37px; place-items: center; border: 1px solid rgba(216,187,120,.28); border-radius: 50%; color: #d9c17c; background: rgba(216,187,120,.05); }
.account-empty strong { color: #e4d8b8; font: 400 .86rem "Marcellus",Georgia,serif; }
.account-empty p { margin: 4px 0 0; color: #aeb8bd; font-size: .68rem; }
.account-ledger { padding: 5px 16px; }
.account-ledger-head, .account-ledger-row { display: grid; grid-template-columns: minmax(0,1fr) 130px 105px; align-items: center; gap: 12px; }
.account-ledger-head { padding: 10px 7px 8px; border-bottom: 1px solid rgba(190,169,116,.16); color: #8998a1; font-size: .57rem; letter-spacing: .9px; text-transform: uppercase; }
.account-ledger-head span:last-child { text-align: right; }
.account-ledger-row { grid-template-columns: 31px minmax(0,1fr) 130px 105px; min-height: 56px; padding: 7px; border-bottom: 1px solid rgba(190,169,116,.1); }
.account-ledger-row:last-of-type { border-bottom: 0; }
.ledger-mark { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid; border-radius: 50%; font-size: .75rem; font-weight: 800; }
.ledger-earned { border-color: rgba(134,192,138,.32); color: #9ed0a1; background: rgba(75,131,76,.1); }
.ledger-spent { border-color: rgba(196,153,113,.3); color: #d6b18a; background: rgba(132,84,52,.1); }
.ledger-details { min-width: 0; }
.ledger-details strong, .ledger-details small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger-details strong { color: #e2e2d7; font-size: .7rem; }
.ledger-details small { margin-top: 2px; color: #929fa7; font-size: .59rem; }
.account-ledger-row time { color: #a5afb4; font-size: .61rem; }
.ledger-amount { text-align: right; font-size: .68rem; white-space: nowrap; }
.ledger-amount.is-earned { color: #a7d2a5; }
.ledger-amount.is-spent { color: #d8b38f; }
.account-ledger-note { margin: 8px 6px; color: #8d9aa1; font-size: .6rem; }
.account-settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.account-setting-card { padding: 19px; }
.account-setting-mark { display: grid; width: 32px; height: 32px; place-items: center; margin-bottom: 10px; border: 1px solid rgba(216,187,120,.27); border-radius: 6px; color: #dfc780; background: rgba(216,187,120,.06); font-size: .72rem; font-weight: 700; }
.account-setting-card h3 { margin: 0 0 4px; color: #e8dcb9; font: 400 .94rem "Marcellus",Georgia,serif; }
.account-setting-card > p { margin: 0 0 14px; color: #aab5bc; font-size: .66rem; }
.account-setting-card .field { margin-bottom: 10px; }
.account-setting-card .field input { min-height: 37px; }
.account-setting-card .btn { min-height: 36px; font-size: .68rem; }

@media (max-width: 760px) {
  .auth-layout { grid-template-columns: 1fr; margin-bottom: 30px; }
  .auth-story { min-height: 240px; padding: 24px; }
  .auth-world-mark { margin-top: 18px; padding-top: 12px; }
  .auth-reward-card { margin-top: 17px; }
  .auth-panel { padding: 22px 18px; }
  .auth-form-grid { grid-template-columns: 1fr; }
  .auth-captcha-field { max-width: none; }
  .legal-section { padding: 14px; }
  .legal-details { grid-template-columns: 1fr; gap: 2px; }
  .legal-details dd { margin-bottom: 8px; }
  .daily-gift { right: 13px; bottom: 13px; gap: 7px; }
  .daily-gift-trigger { width: 62px; height: 62px; flex-basis: 62px; }
  .daily-gift-svg { width: 53px; height: 53px; }
  .daily-gift-callout { max-width: 185px; margin-bottom: 6px; padding: 7px 9px; font-size: .63rem; }
  .daily-gift-panel { bottom: 73px; }
  .launcher-showcase { grid-template-columns: 1fr; }
  .launcher-copy { min-height: 290px; padding: 25px 21px; }
  .launcher-release { padding: 18px; }
  .launcher-release-logo { width: 78px; height: 78px; }
  .launcher-feature-grid { grid-template-columns: 1fr; }
  .status-overview { align-items: flex-start; flex-direction: column; padding: 15px; }
  .server-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .server-metric { min-height: 125px; padding: 13px; }
  .account-hero { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .account-emblem { width: 58px; height: 58px; flex-basis: 58px; }
  .account-balance { width: 100%; }
  .account-highlights { grid-template-columns: 1fr; gap: 6px; margin-bottom: 25px; }
  .account-highlight { padding: 9px 11px; }
  .account-settings-grid { grid-template-columns: 1fr; }
  .account-ledger-head { display: none; }
  .account-ledger { padding: 5px 9px; }
  .account-ledger-row { grid-template-columns: 29px minmax(0,1fr) auto; gap: 7px; padding: 9px 4px; }
  .account-ledger-row time { grid-column: 2; grid-row: 2; font-size: .56rem; }
  .ledger-amount { grid-column: 3; grid-row: 1 / span 2; }
  .account-admin-banner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .daily-gift-trigger, .daily-gift.is-opening .daily-gift-svg, .daily-gift-claim.is-opening { animation: none !important; }
}
