/* The public website of Ascension Mu (home, download, register, armory, news, changelog). Everything is prefixed "site-" so it never touches the admin panel. */
:root {
  --site-bg: #0a0716;
  --site-bg-2: #120d24;
  --site-card: rgba(26, 19, 48, .86);
  --site-line: rgba(232, 184, 92, .22);
  --site-gold: #e8b85c;
  --site-gold-2: #ffd98a;
  --site-text: #ece6f7;
  --site-dim: #a99fc4;
  --site-blue: #7fb2ff;
  --site-red: #e0604e;
  --site-green: #6fdc7a;
}

body.site-body, .site-shell { background: var(--site-bg); color: var(--site-text); }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(120% 70% at 50% -10%, #261a4d 0%, var(--site-bg) 55%) fixed; }
.site-shell a { color: var(--site-gold); text-decoration: none; }
.site-shell a:hover { color: var(--site-gold-2); }
.site-shell h1, .site-shell h2, .site-shell h3 { font-family: "Cinzel", "Palatino Linotype", Georgia, serif; color: #fbe9c9; letter-spacing: .02em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 0 28px; height: 64px;
  background: rgba(10, 7, 22, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--site-line); }
.site-brand { display: flex; align-items: center; gap: 10px; height: 100%; }
.site-brand img { height: 44px; width: auto; filter: drop-shadow(0 0 8px rgba(240, 160, 60, .45)); }
.site-nav { display: flex; gap: 4px; flex: 1; }
.site-nav a { color: var(--site-dim); padding: 8px 14px; border-radius: 8px; font-weight: 500; }
.site-nav a:hover { color: var(--site-text); background: rgba(255, 255, 255, .06); }
.site-nav a.active { color: var(--site-gold-2); background: rgba(232, 184, 92, .12); }
.site-header .site-admin { font-size: 13px; color: var(--site-dim); }

/* hero */
.site-hero { position: relative; min-height: 520px; display: grid; place-items: center; text-align: center; padding: 56px 20px 72px; overflow: hidden;
  }
.site-hero img.logo { max-width: min(760px, 92vw); height: auto; filter: drop-shadow(0 8px 28px rgba(0, 0, 0, .6)); }
.site-hero p.tag { margin: 6px 0 26px; font-size: 18px; color: var(--site-text); text-shadow: 0 2px 10px #000; }
.site-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.site-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 12px; font-weight: 700; font-size: 16px; border: 1px solid rgba(255, 190, 130, .55);
  color: #fff4e2 !important; background: linear-gradient(180deg, #f08a3c, #d8572a 55%, #b23c1d); box-shadow: 0 0 22px rgba(232, 96, 44, .45); cursor: pointer; }
.site-btn:hover { filter: brightness(1.1); }
.site-btn.ghost { background: rgba(255, 255, 255, .06); border-color: var(--site-line); box-shadow: none; color: var(--site-text) !important; }
.site-btn:disabled { filter: saturate(.3) brightness(.7); cursor: default; }

/* content */
.site-main { flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 34px 20px 60px; }
.site-main h1 { font-size: 34px; margin: 0 0 6px; }
.site-main .lead { color: var(--site-dim); margin: 0 0 26px; }
.site-card { background: var(--site-card); border: 1px solid var(--site-line); border-radius: 14px; padding: 20px 24px; margin-bottom: 18px; }
.site-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.site-card h2 { margin: 0 0 10px; font-size: 22px; }
.site-card h3 { margin: 0 0 6px; font-size: 18px; }
.site-meta { color: var(--site-dim); font-size: 13px; }
.site-tag { display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 10px; border-radius: 999px; font-weight: 700; color: #2a1208; background: linear-gradient(90deg, #f08a3c, #ffc27a); margin-right: 8px; }
.site-tag.fix { background: linear-gradient(90deg, #6fdc7a, #b7f0be); }
.site-tag.event { background: linear-gradient(90deg, #7fb2ff, #b9d4ff); }
.site-body-text p { margin: 0 0 12px; line-height: 1.7; }
.site-body-text ul { margin: 0 0 12px; padding-left: 22px; line-height: 1.7; }

/* forms */
.site-form label { display: block; margin: 14px 0 4px; font-size: 13px; color: var(--site-dim); }
.site-form input[type=text], .site-form input[type=password], .site-form input[type=email], .site-form input:not([type]) { width: 100%; padding: 11px 13px; border-radius: 9px; border: 1px solid var(--site-line); background: #0d0a1c; color: var(--site-text); font: inherit; }
.site-form input:focus { outline: none; border-color: var(--site-gold); }
.site-form .hint { font-size: 12px; color: var(--site-dim); margin-top: 3px; }
.site-form .hp { position: absolute; left: -5000px; height: 0; overflow: hidden; }
.site-msg { padding: 12px 16px; border-radius: 10px; margin: 14px 0; }
.site-msg.ok { background: rgba(111, 220, 122, .12); border: 1px solid rgba(111, 220, 122, .4); }
.site-msg.err { background: rgba(224, 96, 78, .12); border: 1px solid rgba(224, 96, 78, .45); }

/* tables */
.site-table { width: 100%; border-collapse: collapse; }
.site-table th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--site-dim); padding: 8px 10px; border-bottom: 1px solid var(--site-line); }
.site-table td { padding: 9px 10px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.site-table tr:hover td { background: rgba(255, 255, 255, .03); }

/* armory */
.site-search { display: flex; gap: 10px; margin: 0 0 22px; }
.site-search input { flex: 1; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--site-line); background: #0d0a1c; color: var(--site-text); font: inherit; font-size: 16px; }
.armory-head { display: flex; flex-wrap: wrap; gap: 18px; align-items: baseline; }
.armory-head h1 { margin: 0; }
.armory-sub { color: var(--site-gold-2); font-size: 18px; }
.armory-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.armory-stat { background: rgba(255, 255, 255, .04); border: 1px solid var(--site-line); border-radius: 10px; padding: 10px 12px; text-align: center; }
.armory-stat b { display: block; font-size: 22px; color: var(--site-gold-2); }
.armory-stat span { font-size: 12px; color: var(--site-dim); text-transform: uppercase; letter-spacing: .08em; }
.item-name { font-weight: 600; }
.item-name.exc { color: #7fe3a0; }
.item-name.anc { color: #8fd0ff; }
.item-opts { font-size: 12px; color: var(--site-dim); }
.badge-on { color: var(--site-green); } .badge-off { color: var(--site-dim); }
.site-pager { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.site-pager a, .site-pager span { padding: 7px 14px; border-radius: 8px; border: 1px solid var(--site-line); }
.site-pager span.current { background: rgba(232, 184, 92, .15); color: var(--site-gold-2); }

/* footer */
.site-footer { border-top: 1px solid var(--site-line); padding: 22px 28px; text-align: center; color: var(--site-dim); font-size: 13px; }

@media (max-width: 760px) {
  .site-header { padding: 0 14px; gap: 10px; height: auto; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .site-nav { order: 3; width: 100%; overflow-x: auto; }
  .site-hero { min-height: 420px; }
}

/* the small icon next to the brand in the admin panel */
.brand-icon { height: 22px; width: auto; vertical-align: -5px; }

/* The error bar of Blazor: hidden until Blazor shows it (the admin layout has its own styles for this; the public layout needs them too). */
.site-shell + #blazor-error-ui { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; padding: 10px 20px; background: #2a1020; color: #ffd0c8; border-top: 1px solid var(--site-red); }
.site-shell + #blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 14px; top: 8px; }
.site-shell + #blazor-error-ui a { color: var(--site-gold-2); margin-left: 8px; }

/* The account menu (site.js) */
.site-account { position: fixed; top: 12px; right: 18px; z-index: 40; font-size: 14px; }
.site-header { padding-right: 190px; }
.site-account-btn { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--site-line); background: rgba(26, 19, 48, .95); color: var(--site-gold-2); font: inherit; font-weight: 600; cursor: pointer; }
.site-account-btn:hover { background: rgba(48, 34, 86, .95); }
.site-account-btn .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--site-green); box-shadow: 0 0 8px var(--site-green); }
.site-account-btn .caret { opacity: .7; }
.site-account-panel { position: absolute; right: 0; top: 46px; width: 290px; padding: 14px; border-radius: 12px; border: 1px solid var(--site-line); background: rgba(18, 13, 36, .98); box-shadow: 0 12px 34px rgba(0, 0, 0, .6); color: var(--site-text); }
.site-account-form label { display: block; margin: 0 0 10px; font-size: 12px; color: var(--site-dim); }
.site-account-form label.check { display: flex; align-items: center; gap: 6px; }
.site-account-form input[type=text], .site-account-form input[type=password] { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; border-radius: 8px; border: 1px solid var(--site-line); background: #0d0a1c; color: var(--site-text); font: inherit; }
.site-account-form input:focus { outline: none; border-color: var(--site-gold); }
.site-account-go { display: block; width: 100%; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255, 190, 130, .55); color: #fff4e2 !important; background: linear-gradient(180deg, #f08a3c, #d8572a 55%, #b23c1d); font: inherit; font-weight: 700; text-align: center; cursor: pointer; }
.site-account-go:hover { filter: brightness(1.1); }
.site-account-go:disabled { filter: saturate(.3); }
.site-account-out { display: block; width: 100%; margin-top: 10px; padding: 8px; border-radius: 9px; border: 1px solid var(--site-line); background: transparent; color: var(--site-dim); font: inherit; cursor: pointer; }
.site-account-out:hover { color: var(--site-text); background: rgba(255, 255, 255, .05); }
.site-account-link { display: block; margin-top: 10px; text-align: center; color: var(--site-gold) !important; }
.site-account-msg { margin: 0 0 10px; font-size: 13px; color: var(--site-dim); }
.site-account-form .site-account-msg { color: #ff9c8c; }
.site-account-who { font-weight: 700; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.site-account-who small { color: var(--site-dim); font-weight: 400; }
.site-account-sub { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--site-dim); margin: 4px 0 6px; }
.site-account-char { display: block; padding: 7px 9px; border-radius: 8px; color: var(--site-text) !important; }
.site-account-char:hover { background: rgba(255, 255, 255, .06); }
.site-account-char span { color: var(--site-dim); font-size: 12px; }

/* armory profile (Warmane-style: header, tabs, paper doll, stat blocks, talent trees) */
.armory-page .armory-search { margin-bottom: 18px; }
.armory-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; border-bottom: 1px solid var(--site-line); padding-bottom: 12px; }
.armory-header h1 { margin: 0; }
.armory-header h1 .badge-on, .armory-header h1 .badge-off { font-size: 14px; font-weight: 400; margin-left: 10px; }
.armory-rankbox { text-align: right; }
.armory-rankbox b { display: block; font-size: 26px; color: var(--site-gold-2); line-height: 1; }
.armory-rankbox span { font-size: 12px; color: var(--site-dim); text-transform: uppercase; letter-spacing: .08em; }
.armory-tabs { display: flex; gap: 4px; margin: 16px 0; border-bottom: 1px solid var(--site-line); }
.armory-tabs a { padding: 9px 18px; color: var(--site-dim) !important; border: 1px solid transparent; border-bottom: 0; border-radius: 8px 8px 0 0; text-decoration: none !important; }
.armory-tabs a:hover { color: var(--site-text) !important; }
.armory-tabs a.active { color: var(--site-gold-2) !important; background: rgba(255, 255, 255, .05); border-color: var(--site-line); }
.armory-summary { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 860px) { .armory-summary { grid-template-columns: 1fr; } }
.armory-paperdoll { display: grid; grid-template-columns: 1fr 1.1fr 1fr; grid-template-rows: repeat(5, 64px) 64px; gap: 8px; padding: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--site-line); border-radius: 12px; }
.armory-figure { grid-column: 2; grid-row: 1 / 6; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; border-radius: 10px; background: radial-gradient(ellipse at center, rgba(212, 175, 90, .12), transparent 70%); }
.armory-figure b { font-size: 22px; color: var(--site-gold-2); }
.slot { position: relative; }
.slot-l1 { grid-column: 1; grid-row: 1; } .slot-l2 { grid-column: 1; grid-row: 2; } .slot-l3 { grid-column: 1; grid-row: 3; } .slot-l4 { grid-column: 1; grid-row: 4; } .slot-l5 { grid-column: 1; grid-row: 5; }
.slot-r1 { grid-column: 3; grid-row: 1; } .slot-r2 { grid-column: 3; grid-row: 2; } .slot-r3 { grid-column: 3; grid-row: 3; } .slot-r4 { grid-column: 3; grid-row: 4; } .slot-r5 { grid-column: 3; grid-row: 5; }
.slot-b1 { grid-column: 1; grid-row: 6; } .slot-b2 { grid-column: 3; grid-row: 6; }
.slot .item { height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4px 6px; border: 1px solid var(--site-line); border-radius: 8px; background: rgba(255, 255, 255, .04); font-size: 12px; line-height: 1.2; cursor: default; outline: none; }
.slot .item.empty { color: var(--site-dim); border-style: dashed; opacity: .55; }
.slot .item.exc { border-color: #3f9a62; color: #7fe3a0; }
.slot .item.anc { border-color: #4a8cc0; color: #8fd0ff; }
.slot .item-label { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.item-tip { display: none; position: absolute; z-index: 20; left: 0; top: 100%; min-width: 200px; max-width: 280px; padding: 10px 12px; background: #11141b; border: 1px solid var(--site-line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); text-align: left; flex-direction: column; gap: 4px; }
.slot-r1 .item-tip, .slot-r2 .item-tip, .slot-r3 .item-tip, .slot-r4 .item-tip, .slot-r5 .item-tip, .slot-b2 .item-tip { left: auto; right: 0; }
.slot .item:hover .item-tip, .slot .item:focus .item-tip { display: flex; }
.item-tip .item-opts { color: var(--site-text); font-size: 12px; }
.armory-side { display: flex; flex-direction: column; gap: 14px; }
.armory-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; align-items: start; }
.stat-list { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; margin: 0; }
.stat-list dt { color: var(--site-dim); font-weight: 400; }
.stat-list dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.armory-side h2, .armory-cols h2 { font-size: 16px; margin-top: 0; }
.talent-trees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.talent-tree h2 small { display: block; font-size: 12px; font-weight: 400; color: var(--site-dim); text-transform: uppercase; letter-spacing: .08em; }
.talent-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 6px; }
.talent, .talent-empty { min-height: 54px; }
.talent { display: flex; flex-direction: column; justify-content: space-between; padding: 5px 6px; font-size: 11px; line-height: 1.15; border: 1px solid var(--site-line); border-radius: 8px; background: rgba(255, 255, 255, .03); }
.talent.none { opacity: .45; }
.talent.some { border-color: var(--site-gold-2); }
.talent.full { border-color: var(--site-gold-2); background: rgba(212, 175, 90, .16); }
.talent-rank { align-self: flex-end; color: var(--site-gold-2); font-weight: 600; }
.talent-name { overflow-wrap: anywhere; hyphens: auto; }

/* coin shop */
.shop-balance { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.shop-balance b { font-size: 26px; color: var(--site-gold-2); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 14px 0; }
.shop-pack { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.shop-pack h2 { margin: 0; font-size: 18px; }
.shop-coins { font-size: 30px; font-weight: 700; color: var(--site-gold-2); }
.shop-coins small { font-size: 13px; color: var(--site-dim); font-weight: 400; }
.shop-price { font-size: 22px; }
.shop-history { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 4px; }
.shop-history:empty::after { content: "No purchases yet."; color: var(--site-dim); }
#shop-msg:empty { display: none; }

/* Armory: Mystic Scrolls */
.mystic-card h2 small { display: block; font-size: 12px; font-weight: 400; color: var(--site-dim); text-transform: uppercase; letter-spacing: .08em; }
.mystic-tier { margin: 14px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.mystic-tier.tier-1 { color: #5fd88a; } .mystic-tier.tier-2 { color: #6aa8ff; } .mystic-tier.tier-3 { color: #c9a0ff; } .mystic-tier.tier-4 { color: #ffb347; }
.mystic-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.mystic-slot { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; font-size: 12px; line-height: 1.25; border: 1px solid var(--site-line); border-radius: 8px; background: rgba(255, 255, 255, .03); }
.mystic-slot.tier-1 { border-color: #2f7a4b; } .mystic-slot.tier-2 { border-color: #3a5f9f; } .mystic-slot.tier-3 { border-color: #7b57ad; } .mystic-slot.tier-4 { border-color: #b07a2a; }
.mystic-slot.empty, .mystic-slot.locked { opacity: .55; }
.mystic-name { font-weight: 600; }
.mystic-skill { color: var(--site-dim); }
.mystic-effect { color: #8fc4ff; }

/* ---- graphical armory: Mystic Altar wheel, scroll collection, talent maps ---- */
.mw-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-top: 12px; }
.mw-wrap { --s: 1; width: calc(336px * var(--s)); height: calc(346px * var(--s)); flex: none; }
.mw { position: relative; width: 336px; height: 346px; transform: scale(var(--s)); transform-origin: 0 0; }
@media (max-width: 520px) { .mw-wrap { --s: .78; } }
.ms { position: absolute; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ms .mr { position: absolute; pointer-events: none; }
.ms-icon { position: relative; border-radius: 50%; image-rendering: auto; flex: none; }
.ms.empty .ms-icon, .ms.locked .ms-icon { opacity: .35; }
.ms-q { position: relative; font: 700 26px/1 Georgia, serif; color: #ffd36b; text-shadow: 0 0 8px rgba(255, 190, 70, .9), 0 0 2px #000; }
.ms.locked .mr { opacity: .45; filter: grayscale(.6); }
.ms-text { position: relative; font-size: 11px; color: #9a8f78; text-shadow: 0 1px 2px #000; }
.ms.sel .mr { filter: drop-shadow(0 0 6px rgba(255, 220, 120, .95)); }
.ms:hover .mr { filter: brightness(1.25) drop-shadow(0 0 5px rgba(255, 220, 120, .8)); }
.mw-detail { flex: 1 1 240px; min-width: 220px; padding: 12px 14px; border: 1px solid var(--site-line); border-left-width: 3px; border-radius: 8px; background: rgba(255, 255, 255, .03); }
.mw-detail.tier-1 { border-left-color: #2f9a5b; } .mw-detail.tier-2 { border-left-color: #4a82d8; } .mw-detail.tier-3 { border-left-color: #9a6fd0; } .mw-detail.tier-4 { border-left-color: #e0952a; }
.mw-rarity { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--site-dim); }
.mw-detail h3 { margin: 4px 0 2px; font-size: 18px; }
.mw-skill { color: var(--site-dim); font-size: 12px; margin-bottom: 6px; }
.mw-detail p { margin: 3px 0; font-size: 13px; color: #8fc4ff; }
.mc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; margin-top: 10px; }
.mc { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border: 1px solid var(--site-line); border-radius: 8px; background: rgba(255, 255, 255, .03); font-size: 12px; line-height: 1.2; }
.mc.equipped { background: rgba(212, 175, 90, .14); border-color: var(--site-gold-2); }
.mc-frame { position: relative; flex: none; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; }
.mc-frame .mr { position: absolute; pointer-events: none; }
.mc-text { display: flex; flex-direction: column; min-width: 0; }
.mc-name { font-weight: 600; } .mc-skill { color: var(--site-dim); }
.tmap-scroll { overflow-x: auto; padding-bottom: 4px; }
.tmap { position: relative; margin: 8px auto 0; background: radial-gradient(ellipse at center, rgba(255, 255, 255, .03), transparent 70%); }
.tmap-edges { position: absolute; left: 0; top: 0; pointer-events: none; }
.tmap-edges line { stroke: #3a3a44; stroke-width: 3; stroke-linecap: round; }
.tmap-edges line.on { stroke: #d4af5a; }
.tnode { position: absolute; width: 45px; height: 57px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; padding-bottom: 8px; border: 2px solid #3a3a44; border-radius: 8px; background: #121217; cursor: default; }
.tnode.some { border-color: var(--site-gold-2); }
.tnode.full { border-color: #ffd36b; box-shadow: 0 0 8px rgba(255, 211, 107, .55); }
.tnode.choice { border-color: #8e5fc8; } .tnode.choice.some, .tnode.choice.full { border-color: #c9a0ff; }
.tnode.none .tnode-icon { opacity: .75; }
.tnode-icon { background-repeat: no-repeat; flex: none; }
.tnode-rank { position: absolute; right: -3px; bottom: -8px; padding: 0 4px; font-size: 10px; line-height: 15px; color: var(--site-gold-2); background: #0c0c10; border: 1px solid #3a3a44; border-radius: 6px; }
/* BEGIN armory-art (generated by scratchpad/gen-armory-css.js from the artist sheet of the Mystic Altar) */
.mw-art { position: absolute; left: -6px; top: -6px; width: 348px; height: 358px; background: url(armory/mystic-art.png) -2px -2px no-repeat; pointer-events: none; }
.mr-1-c { width: 102px; height: 107.1px; left: 0; top: -2.55px; background: url(armory/mystic-art.png) -647.7px -673.2px / 1305.6px 984.3px no-repeat; }
.mr-1-o { width: 80.7px; height: 84.73px; left: 0; top: -2.02px; background: url(armory/mystic-art.png) -512.45px -532.62px / 1032.96px 778.75px no-repeat; }
.mr-1-i { width: 70.8px; height: 74.34px; left: 0; top: -1.77px; background: url(armory/mystic-art.png) -449.58px -467.28px / 906.24px 683.22px no-repeat; }
.mr-1-s { width: 46px; height: 48.3px; left: 0; top: -1.15px; background: url(armory/mystic-art.png) -292.1px -303.6px / 588.8px 443.9px no-repeat; }
.mr-2-c { width: 102px; height: 102px; left: 0; top: 0px; background: url(armory/mystic-art.png) -510px -641.14px / 1243.43px 937.43px no-repeat; }
.mr-2-o { width: 80.7px; height: 80.7px; left: 0; top: 0px; background: url(armory/mystic-art.png) -403.5px -507.26px / 983.77px 741.67px no-repeat; }
.mr-2-i { width: 70.8px; height: 70.8px; left: 0; top: 0px; background: url(armory/mystic-art.png) -354px -445.03px / 863.09px 650.69px no-repeat; }
.mr-2-s { width: 46px; height: 46px; left: 0; top: 0px; background: url(armory/mystic-art.png) -230px -289.14px / 560.76px 422.76px no-repeat; }
.mr-3-c { width: 102px; height: 104.55px; left: 0; top: -1.27px; background: url(armory/mystic-art.png) -754.8px -673.2px / 1305.6px 984.3px no-repeat; }
.mr-3-o { width: 80.7px; height: 82.72px; left: 0; top: -1.01px; background: url(armory/mystic-art.png) -597.18px -532.62px / 1032.96px 778.75px no-repeat; }
.mr-3-i { width: 70.8px; height: 72.57px; left: 0; top: -0.89px; background: url(armory/mystic-art.png) -523.92px -467.28px / 906.24px 683.22px no-repeat; }
.mr-3-s { width: 46px; height: 47.15px; left: 0; top: -0.57px; background: url(armory/mystic-art.png) -340.4px -303.6px / 588.8px 443.9px no-repeat; }
.mr-4-c { width: 102px; height: 106.98px; left: 0; top: -2.49px; background: url(armory/mystic-art.png) -415.46px -656.78px / 1273.76px 960.29px no-repeat; }
.mr-4-o { width: 80.7px; height: 84.64px; left: 0; top: -1.97px; background: url(armory/mystic-art.png) -328.7px -519.63px / 1007.77px 759.76px no-repeat; }
.mr-4-i { width: 70.8px; height: 74.25px; left: 0; top: -1.73px; background: url(armory/mystic-art.png) -288.38px -455.88px / 884.14px 666.56px no-repeat; }
.mr-4-s { width: 46px; height: 48.24px; left: 0; top: -1.12px; background: url(armory/mystic-art.png) -187.37px -296.2px / 574.44px 433.07px no-repeat; }
.ms.c { width: 102px; height: 102px; } .ms.o { width: 80.7px; height: 80.7px; } .ms.i { width: 70.8px; height: 70.8px; }
/* END armory-art */

/* ---- armory realm cards and realm bar ---- */
.realm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 18px; }
.realm-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--site-line); border-radius: 12px; background: rgba(255, 255, 255, .03); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s, background .15s; }
.realm-card:hover { border-color: var(--site-gold-2); background: rgba(212, 175, 90, .08); transform: translateY(-2px); }
.realm-card-stage { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--site-dim); }
.realm-card.ptr .realm-card-stage { color: #6aa8ff; } .realm-card.live .realm-card-stage { color: #5fd88a; }
.realm-card-name { font-size: 22px; font-weight: 700; }
.realm-card-kind { font-size: 13px; color: var(--site-gold-2); }
.realm-card.classic .realm-card-kind { color: #c9a0ff; }
.realm-card-text { font-size: 13px; color: var(--site-dim); }
.realm-card-go { margin-top: 8px; font-size: 13px; color: var(--site-gold-2); }
.armory-realmbar { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13px; }
.realm-chip { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--site-line); font-size: 12px; }
.realm-chip.ptr { border-color: #3a5f9f; color: #8fc4ff; } .realm-chip.live { border-color: #2f7a4b; color: #8fe0aa; }

/* talent maps: no horizontal scrollbar; on narrow screens the map shrinks to fit the card instead */
.tmap-scroll { overflow-x: visible; }
@media (max-width: 430px) { .talent-tree { padding-left: 10px; padding-right: 10px; } .tmap { zoom: .86; } }
@media (max-width: 370px) { .tmap { zoom: .74; } }

/* the three talent trees side by side: each map shrinks to its column; fewer columns on narrower screens (the map then is full size) */
.tmap { zoom: .84; }
@media (max-width: 1020px) { .talent-trees { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tmap { zoom: 1; } }
@media (max-width: 700px) { .talent-trees { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 430px) { .tmap { zoom: .86; } }
@media (max-width: 370px) { .tmap { zoom: .74; } }
