﻿.portal-page { min-height: 100svh; background: #050913; }
.portal-shell { display: grid; grid-template-columns: 255px minmax(0, 1fr); min-height: 100svh; }
.portal-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: 255px;
  display: flex;
  flex-direction: column;
  padding: 26px 18px 18px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #071426 0%, #040913 100%);
}
.campaign-chart{display:flex;align-items:end;gap:5px;min-height:150px;overflow-x:auto}.campaign-day{display:grid;align-items:end;gap:4px;min-width:24px;text-align:center}.campaign-day i{display:block;width:18px;margin:auto;background:linear-gradient(#e4bd63,#4e8daf);border-radius:4px 4px 0 0}.campaign-day small{font-size:8px;color:var(--muted);writing-mode:vertical-rl}
.portal-brand { padding: 0 10px 25px; border-bottom: 1px solid var(--line); }
.portal-brand img { width: 39px; height: 45px; }
.portal-brand span { font-size: 10px; }
.portal-brand strong { font-size: 15px; }
.portal-realm {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 8px 12px;
  padding: 10px 12px;
  border: 1px solid rgba(100,184,255,.13);
  background: rgba(100,184,255,.04);
}
.portal-realm .status-dot { width: 7px; height: 7px; }
.portal-realm .status-dot.is-online { background: var(--jade); box-shadow: 0 0 0 6px rgba(100,184,255,.08), 0 0 15px rgba(100,184,255,.5); }
.portal-realm span:last-child { display: flex; flex-direction: column; color: #6e8077; font-size: 8px; line-height: 1.35; letter-spacing: .12em; text-transform: uppercase; }
.portal-realm strong { color: #dfe7e2; font-size: 11px; letter-spacing: .04em; text-transform: none; }
.portal-nav { display: flex; flex-direction: column; gap: 3px; margin-top: 8px; }
.portal-nav-label { margin: 18px 12px 7px; color: #4f6259; font-size: 8px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.portal-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid transparent;
  color: #83938b;
  font-size: 11px;
  font-weight: 600;
  transition: color .2s, background .2s, border-color .2s;
}
.portal-nav a:hover, .portal-nav a.active { color: #ecf1ee; background: rgba(100,184,255,.06); border-color: rgba(100,184,255,.11); }
.portal-nav a.active { box-shadow: inset 2px 0 var(--jade); }
.portal-nav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.portal-nav .nav-badge { min-width: 19px; margin-left: auto; padding: 1px 5px; border-radius: 9px; background: rgba(100,184,255,.12); color: var(--jade); font-size: 8px; text-align: center; }
.portal-sidebar-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.portal-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
}
.avatar { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(185,228,255,.28); border-radius: 50%; background: #102238; color: var(--gold); font: 600 12px var(--font-display); }
.portal-user div { display: flex; flex-direction: column; min-width: 0; }
.portal-user strong { overflow: hidden; color: #dce5e0; font-size: 10px; text-overflow: ellipsis; }
.portal-user small { color: #5f7168; font-size: 8px; }
.logout-link { display: block; padding: 7px 9px; color: #62736a; font-size: 9px; text-align: center; }
.logout-link:hover { color: var(--jade); }

.portal-main { grid-column: 2; min-width: 0; }
.portal-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(25px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 11, 21, .92);
  backdrop-filter: blur(14px);
}
.portal-mobile-menu { display: none; }
.portal-breadcrumb { color: #65776e; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.portal-breadcrumb strong { color: #b7c4bd; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.icon-button {
  position: relative;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(10, 23, 39, .72);
  color: #83958b;
  cursor: pointer;
}
.icon-button:hover { color: var(--jade); border-color: rgba(100,184,255,.25); }
.icon-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.icon-button .notification-dot { position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.balance-pill {
  height: 39px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(217,184,108,.2);
  background: rgba(217,184,108,.05);
  color: #8f9e96;
  font-size: 9px;
}
.balance-pill strong { color: var(--gold); font-size: 11px; }

.portal-content { width: min(1450px, 100%); margin: 0 auto; padding: 42px clamp(25px, 4vw, 58px) 75px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.page-heading .eyebrow { margin-bottom: 9px; }
.page-heading h1 { margin: 0; font-size: clamp(31px, 3.2vw, 46px); line-height: 1.1; text-transform: none; }
.page-heading p:not(.eyebrow) { max-width: 620px; margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.page-actions .button { min-height: 42px; padding-inline: 17px; font-size: 9px; }

.portal-grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-main { grid-template-columns: minmax(0, 1.6fr) minmax(300px, .7fr); }
.portal-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(14,31,25,.94), rgba(8,20,16,.92));
  box-shadow: 0 18px 45px rgba(0,0,0,.14);
}
.card-pad { padding: 24px; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.card-header h2, .card-header h3 { margin: 0; font-size: 14px; letter-spacing: .02em; }
.card-header a, .card-header button { border: 0; background: none; color: var(--jade); font: 600 9px var(--font-body); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.stat-card { min-height: 125px; padding: 20px; }
.stat-top { display: flex; align-items: center; justify-content: space-between; }
.stat-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(100,184,255,.17); color: var(--jade); }
.stat-icon.gold { color: var(--gold); border-color: rgba(217,184,108,.2); }
.stat-icon svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.stat-trend { color: var(--jade); font-size: 8px; }
.stat-card strong { display: block; margin-top: 13px; font: 600 24px var(--font-display); }
.stat-card > span { color: #708178; font-size: 9px; }

.welcome-card {
  min-height: 245px;
  display: flex;
  align-items: center;
  padding: 34px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7,19,15,.96), rgba(7,19,15,.65)),
    url("../images/jadefall-hero.jpg") 68% 48% / cover;
}
.welcome-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,18,15,.65), transparent 70%); }
.welcome-copy { position: relative; z-index: 1; max-width: 570px; }
.welcome-copy h2 { margin: 0; font-size: clamp(25px, 3vw, 38px); }
.welcome-copy p { margin: 11px 0 22px; color: #a7b5ae; font-size: 11px; }
.welcome-copy .button { min-height: 40px; font-size: 9px; }
.quick-list { display: grid; gap: 1px; }
.quick-item { display: flex; align-items: center; gap: 13px; padding: 15px 20px; background: rgba(255,255,255,.012); border-bottom: 1px solid var(--line); }
.quick-item:last-child { border-bottom: 0; }
.quick-item-icon { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); font-size: 12px; }
.quick-item div { display: flex; flex-direction: column; min-width: 0; }
.quick-item strong { color: #cdd7d2; font-size: 10px; }
.quick-item small { color: #64766d; font-size: 8px; }
.quick-item time { margin-left: auto; color: #51635a; font-size: 8px; }

.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.data-table th { padding: 12px 16px; border-bottom: 1px solid var(--line); color: #5d7066; font-size: 8px; letter-spacing: .1em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 14px 16px; border-bottom: 1px solid rgba(207,226,216,.07); color: #96a69e; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(100,184,255,.025); }
.data-table strong { color: #d9e1dd; font-size: 10px; }
.rank { color: var(--gold); font: 600 12px var(--font-display); }
.faction { display: inline-flex; align-items: center; gap: 6px; }
.faction::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #668dcc; }
.faction.horde::before { background: #be6460; }
.tag { display: inline-flex; align-items: center; min-height: 21px; padding: 0 8px; border: 1px solid rgba(100,184,255,.15); background: rgba(100,184,255,.05); color: var(--jade); font-size: 8px; }
.tag.gold { border-color: rgba(217,184,108,.18); background: rgba(217,184,108,.05); color: var(--gold); }
.tag.muted { border-color: var(--line); color: #77887f; background: rgba(255,255,255,.02); }

.character-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.character-card { overflow: hidden; }
.character-art {
  position: relative;
  height: 145px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background:
    linear-gradient(0deg, rgba(6,17,13,.95), transparent 85%),
    radial-gradient(circle at 70% 20%, var(--class-color, #398c69), #0b1b16 68%);
}
.character-art::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: conic-gradient(from 180deg, transparent, color-mix(in srgb, var(--class-color, #64b8ff) 45%, transparent), transparent 35%);
  opacity: .16;
  animation: characterAura 10s linear infinite;
}
.character-orb {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, var(--class-color, #64b8ff) 35%, transparent 72%);
  box-shadow: 0 0 24px color-mix(in srgb, var(--class-color, #64b8ff) 55%, transparent);
  animation: characterPulse 2.8s ease-in-out infinite;
}
.character-level { position: absolute; right: 15px; top: 15px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(5,13,10,.65); font: 600 12px var(--font-display); }
.character-status { position: absolute; left: 18px; top: 52px; z-index: 1; min-height: 20px; display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; border: 1px solid rgba(255,255,255,.12); background: rgba(5,13,10,.7); color: #87988f; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.character-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #65766d; }
.character-status.is-online { color: var(--jade); border-color: rgba(100,184,255,.24); background: rgba(100,184,255,.07); }
.character-status.is-online::before { background: var(--jade); box-shadow: 0 0 12px rgba(100,184,255,.6); }
.character-rune { position: absolute; right: 35px; bottom: 5px; color: rgba(255,255,255,.08); font: 600 85px var(--font-display); line-height: 1; }
.character-name { position: relative; z-index: 1; }
.character-name h2 { margin: 0; font-size: 20px; }
.character-name span { color: #8ca096; font-size: 9px; }
.character-body { padding: 18px; }
.character-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.character-meta span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 7px; border: 1px solid rgba(199,220,209,.09); background: rgba(255,255,255,.025); color: #788a81; font-size: 8px; }
.character-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 17px; }
.character-stats div { display: flex; flex-direction: column; border-right: 1px solid var(--line); text-align: center; }
.character-stats div:last-child { border: 0; }
.character-stats small { color: #5e7167; font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.character-stats strong { color: #cbd5d0; font-size: 10px; }
.progress { height: 4px; overflow: hidden; background: #15241e; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #2c78bd, var(--jade)); }
.character-actions { display: flex; gap: 8px; margin-top: 15px; }
.character-actions a { flex: 1; min-height: 32px; display: grid; place-items: center; border: 1px solid var(--line); color: #83948b; font-size: 8px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.character-actions a:hover { color: var(--jade); border-color: rgba(100,184,255,.25); }
.character-empty { grid-column: 1 / -1; }
.character-empty .dashboard-card-actions { justify-content: center; }
@keyframes characterAura { to { transform: rotate(360deg); } }
@keyframes characterPulse { 50% { transform: scale(1.12); opacity: .72; } }

.armory-hero { display: grid; grid-template-columns: minmax(240px, 360px) minmax(0, 1fr); gap: 20px; padding: 18px; margin-bottom: 18px; }
.armory-portrait { height: 260px; border: 1px solid rgba(255,255,255,.08); }
.armory-summary { padding: 18px; }
.armory-summary h2 { margin: 0 0 8px; font-size: 28px; }
.armory-summary p { color: #8b9d94; font-size: 10px; }
.armory-equipment { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.armory-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); background: rgba(6,17,13,.52); }
.armory-item-info { min-width: 0; }
.armory-item-info div { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.armory-item-info strong, .armory-item-info a { color: #dce4e0; }
.armory-item-info span, .armory-item-info p, .armory-item-info small { color: #708279; font-size: 8px; }
.armory-item-info p, .armory-item-info small { display: block; margin: 3px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.armory-item.quality-3 strong a { color: #5da6ff; }
.armory-item.quality-4 strong a { color: #b06cff; }
.armory-item.quality-5 strong a { color: #ff9d38; }
.armory-item.quality-7 strong a { color: #e6cc80; }
.armory-collections { align-items: start; }
.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.collection-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(135deg, rgba(7, 20, 38, .84), rgba(13, 27, 45, .74));
}
.collection-card strong,
.collection-card strong a {
  color: #eef5f1;
  font-size: 11px;
  line-height: 1.2;
}
.collection-card small {
  display: block;
  margin-top: 4px;
  color: #82938b;
  font-size: 9px;
}
.collection-icon,
.collection-icon ins,
.collection-icon img {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px;
  min-height: 42px;
  border-radius: 7px;
}
.collection-letter {
  display: grid;
  place-items: center;
  border: 1px solid rgba(217,184,108,.30);
  background: radial-gradient(circle at 40% 20%, rgba(217,184,108,.35), rgba(11,22,18,.92));
  color: var(--gold);
  font: 900 17px var(--font-display);
  text-decoration: none;
}
.achievement-card .collection-letter { color: #ffe4a6; }
.hunter-pet .collection-letter { color: var(--jade); }
.muted-empty {
  margin: 0;
  color: #83938b;
  font-size: 12px;
}

.paperdoll-card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  margin-bottom: 18px;
  border-color: rgba(217,184,108,.18);
  background:
    linear-gradient(90deg, rgba(4,8,7,.94), rgba(5,10,9,.40) 38%, rgba(4,8,7,.96)),
    url("../images/jadefall-hero.jpg") center 42% / cover,
    radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--class-color, #64b8ff) 18%, transparent), transparent 36%),
    linear-gradient(90deg, rgba(5,9,8,.96), rgba(23,15,11,.78) 48%, rgba(5,9,8,.96)),
    linear-gradient(140deg, rgba(217,184,108,.10), transparent 34%, rgba(100,184,255,.05));
}
.paperdoll-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, transparent 0 18%, rgba(0,0,0,.26) 58%, rgba(0,0,0,.72)),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 24%);
  pointer-events: none;
}
.paperdoll-top,
.paperdoll-layout,
.paperdoll-bottom,
.paperdoll-note { position: relative; z-index: 1; }
.paperdoll-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.paperdoll-top h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: .92; letter-spacing: -.05em; }
.paperdoll-top p { margin: 6px 0 0; color: #b3c0b9; font-size: 10px; }
.paperdoll-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  min-width: min(520px, 100%);
}
.paperdoll-actions .filter-button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.armory-switcher {
  display: grid;
  gap: 4px;
  min-width: 170px;
}
.armory-switcher span {
  color: #8c9a92;
  font-size: 8px;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.armory-switcher select {
  min-height: 34px;
  border: 1px solid rgba(100,184,255,.22);
  border-radius: 0;
  background: rgba(5,16,13,.86);
  color: #dfe8e3;
  font: 700 10px var(--font-body);
  letter-spacing: .03em;
  padding: 0 10px;
}
.paperdoll-ilvl { min-width: 120px; text-align: right; }
.paperdoll-ilvl strong { display: block; color: #f1f4f2; font: 800 38px var(--font-display); line-height: .9; text-shadow: 0 6px 26px rgba(0,0,0,.4); }
.paperdoll-ilvl span { color: #9ca89f; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.paperdoll-layout { display: grid; grid-template-columns: 180px 270px minmax(360px, 460px) 270px; justify-content: center; gap: 10px; align-items: center; min-height: 430px; }
.paperdoll-slots { display: grid; gap: 6px; align-content: center; }
.armory-profile-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 18px 14px;
  border-right: 1px solid rgba(217,184,108,.12);
  background: linear-gradient(90deg, rgba(16,8,5,.62), rgba(16,8,5,.18));
}
.armory-profile-name strong {
  display: block;
  color: #fff;
  font: 800 36px var(--font-display);
  line-height: .88;
  letter-spacing: -.05em;
  text-shadow: 0 10px 30px rgba(0,0,0,.55);
}
.armory-profile-name span {
  display: block;
  margin-top: 8px;
  color: color-mix(in srgb, var(--class-color, #64b8ff) 78%, #fff);
  font-size: 10px;
  font-weight: 800;
}
.armory-profile-name em {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-style: normal;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.armory-score {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  gap: 6px;
  align-items: baseline;
  color: #e2e9e5;
}
.armory-score span {
  color: var(--gold);
  font-size: 15px;
}
.armory-score strong {
  color: #fff;
  font: 800 22px var(--font-display);
}
.armory-profile-nav {
  display: grid;
  gap: 10px;
}
.armory-profile-nav a {
  color: #b88d44;
  font-size: 10px;
  font-weight: 700;
}
.armory-profile-nav a.active,
.armory-profile-nav a:hover {
  color: #fff;
}
.paper-slot {
  min-height: 50px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: 11px auto 10px;
  gap: 2px 10px;
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(135deg, rgba(9,19,16,.94), rgba(21,32,27,.86));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.45), 0 10px 24px rgba(0,0,0,.18);
}
.paperdoll-slots.right .paper-slot {
  grid-template-columns: minmax(0, 1fr) 40px;
  text-align: right;
}
.paperdoll-slots.right .paper-icon {
  grid-column: 2;
}
.paperdoll-slots.right .paper-slot-label,
.paperdoll-slots.right .paper-slot-name,
.paperdoll-slots.right small {
  grid-column: 1;
}
.paper-slot:hover { border-color: color-mix(in srgb, var(--class-color, #64b8ff) 45%, rgba(255,255,255,.1)); transform: translateY(-1px); }
.paper-slot .paper-icon,
.paper-slot .paper-icon ins,
.paper-slot .paper-icon img { grid-row: 1 / span 3; width: 40px !important; height: 40px !important; min-width: 40px; min-height: 40px; border-radius: 6px; }
.paper-slot-label { color: #88988f; font-size: 7px; letter-spacing: .12em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.paper-slot-name,
.paper-slot-name a { color: #dce4e0; font-size: 9px; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.paper-slot small { color: #7f9188; font-size: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.paper-slot.empty {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  min-height: 42px;
  opacity: .34;
  background: linear-gradient(135deg, rgba(8,14,12,.55), rgba(16,22,19,.45));
}
.paper-slot.empty .paper-slot-label { color: #788981; }
.paper-slot.quality-3 { border-color: rgba(93,166,255,.45); box-shadow: inset 0 0 0 1px rgba(93,166,255,.16), 0 0 20px rgba(93,166,255,.08); }
.paper-slot.quality-4 { border-color: rgba(176,108,255,.55); box-shadow: inset 0 0 0 1px rgba(176,108,255,.2), 0 0 24px rgba(176,108,255,.1); }
.paper-slot.quality-5 { border-color: rgba(255,157,56,.68); box-shadow: inset 0 0 0 1px rgba(255,157,56,.25), 0 0 28px rgba(255,157,56,.14); }
.paper-slot.quality-7 { border-color: rgba(230,204,128,.62); }
.paperdoll-model {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 2px;
  background:
    radial-gradient(circle at 50% 16%, rgba(217,184,108,.18), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 28%),
    radial-gradient(circle at 50% 32%, rgba(255,255,255,.15), transparent 24%),
    linear-gradient(180deg, rgba(102,70,44,.20), rgba(5,12,10,.90));
}
.paperdoll-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(217,184,108,.11) 18% 19%, transparent 19% 81%, rgba(217,184,108,.11) 81% 82%, transparent 82%),
    radial-gradient(circle at 50% 78%, rgba(217,184,108,.13), transparent 32%),
    linear-gradient(180deg, transparent 0 72%, rgba(0,0,0,.45));
  opacity: .75;
}
.paperdoll-avatar {
  position: relative;
  width: 220px;
  height: 360px;
  filter: drop-shadow(0 28px 30px rgba(0,0,0,.48));
  animation: avatarIdle 4.8s ease-in-out infinite;
}
.armory-model-viewer {
  position: absolute;
  inset: -8px 0 -4px;
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: auto;
}
.armory-model-viewer canvas {
  width: 100% !important;
  height: 100% !important;
}
.armory-model-loading,
.armory-model-error {
  position: relative;
  z-index: 4;
  padding: 9px 12px;
  border: 1px solid rgba(217,184,108,.20);
  background: rgba(3,8,7,.72);
  color: #b9c7c0;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.armory-model-loading {
  align-self: start;
  justify-self: center;
  margin-top: 44px;
  opacity: .82;
}
.armory-model-error {
  align-self: center;
  justify-self: center;
  max-width: 520px;
}
.armory-model-loading small,
.armory-model-error span,
.armory-model-error small,
.armory-model-error code {
  display: block;
  margin-top: 5px;
}
.armory-model-error code {
  max-width: 520px;
  overflow-wrap: anywhere;
  color: #ffd98a;
  text-transform: none;
  letter-spacing: .02em;
}
.paperdoll-model.model-loaded .paperdoll-avatar,
.paperdoll-model.model-loaded .paperdoll-name {
  opacity: 0;
  pointer-events: none;
}
.paperdoll-model.model-failed .armory-model-viewer {
  pointer-events: none;
}
.avatar-glow { position: absolute; inset: 10% -22%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--class-color, #64b8ff) 22%, transparent), transparent 60%); filter: blur(12px); }
.avatar-head { position: absolute; left: 88px; top: 24px; width: 46px; height: 56px; border-radius: 46% 46% 42% 42%; background: linear-gradient(#ebc7a3, #9b6c55); box-shadow: inset 0 -10px 0 rgba(0,0,0,.12); }
.avatar-shoulders { position: absolute; left: 26px; top: 84px; width: 168px; height: 72px; border-radius: 45px 45px 18px 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--class-color, #64b8ff) 78%, #fff 10%), #17263a 70%); border: 2px solid rgba(255,255,255,.12); }
.avatar-body { position: absolute; left: 61px; top: 116px; width: 98px; height: 148px; border-radius: 24px 24px 16px 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--class-color, #64b8ff) 58%, #111), #111a26 72%); border: 1px solid rgba(255,255,255,.14); }
.avatar-arm { position: absolute; top: 135px; width: 34px; height: 134px; border-radius: 22px; background: linear-gradient(180deg, #24352d, #0c1411); transform-origin: top center; }
.avatar-arm.left { left: 35px; transform: rotate(16deg); }
.avatar-arm.right { right: 34px; transform: rotate(-22deg); }
.avatar-weapon { position: absolute; right: 4px; top: 78px; width: 12px; height: 228px; border-radius: 8px; background: linear-gradient(180deg, #d7f4ff, color-mix(in srgb, var(--class-color, #64b8ff) 70%, #222), #2a2117); transform: rotate(38deg); box-shadow: 0 0 22px color-mix(in srgb, var(--class-color, #64b8ff) 32%, transparent); }
.avatar-legs { position: absolute; left: 71px; top: 250px; width: 80px; height: 98px; border-radius: 14px 14px 28px 28px; background: linear-gradient(90deg, #101815 0 46%, transparent 46% 54%, #101815 54%); }
.paperdoll-avatar.race-1 .avatar-head { background: linear-gradient(#f0c9a5, #a86e52); }
.paperdoll-avatar.race-2 .avatar-head { background: linear-gradient(#7cb068, #46633b); }
.paperdoll-avatar.race-3 .avatar-head { background: linear-gradient(#d8b98d, #8a674a); }
.paperdoll-avatar.race-4 .avatar-head { background: linear-gradient(#b9c8df, #6e7b9c); }
.paperdoll-avatar.race-5 .avatar-head { background: linear-gradient(#c9c2b2, #726e69); }
.paperdoll-avatar.race-6 .avatar-head { background: linear-gradient(#9b7759, #4b3528); }
.paperdoll-avatar.race-7 .avatar-head { background: linear-gradient(#d6b28a, #91755c); }
.paperdoll-avatar.race-8 .avatar-head { background: linear-gradient(#73abc0, #41606f); }
.paperdoll-avatar.race-10 .avatar-head { background: linear-gradient(#e6c39f, #9a6657); }
.paperdoll-avatar.race-11 .avatar-head { background: linear-gradient(#99d4e3, #517f8d); }
.paperdoll-avatar.gender-1 { transform: scale(.94); }
.paperdoll-avatar.class-1 .avatar-shoulders,
.paperdoll-avatar.class-2 .avatar-shoulders,
.paperdoll-avatar.class-6 .avatar-shoulders { height: 78px; }
.paperdoll-avatar.class-8 .avatar-weapon,
.paperdoll-avatar.class-5 .avatar-weapon,
.paperdoll-avatar.class-9 .avatar-weapon { width: 10px; height: 220px; right: 18px; transform: rotate(28deg); }
.paperdoll-name { position: absolute; left: 20px; right: 20px; bottom: 18px; text-align: center; }
.paperdoll-name strong { display: block; color: #fff; font: 700 24px var(--font-display); }
.paperdoll-name span { color: #9cacA4; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.paperdoll-bottom { display: grid; grid-template-columns: repeat(4, minmax(0, 230px)); justify-content: center; gap: 8px; margin-top: 8px; }
.paperdoll-note { margin-top: 14px; color: #8a9a92; font-size: 9px; text-align: center; }
.armory-redesign-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(217,184,108,.12);
}
.armory-redesign-stats article {
  padding: 16px;
  background: linear-gradient(180deg, rgba(67,31,18,.52), rgba(22,10,7,.72));
  border: 1px solid rgba(217,184,108,.10);
}
.armory-redesign-stats h3 {
  margin: 0 0 12px;
  color: #fff;
  font: 700 17px var(--font-display);
}
.armory-redesign-stats dl {
  display: grid;
  gap: 8px;
  margin: 0;
}
.armory-redesign-stats div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #c9b08b;
  font-size: 10px;
}
.armory-redesign-stats dd {
  margin: 0;
  color: #3df06a;
  font-weight: 800;
}
@keyframes avatarIdle { 50% { transform: translateY(-6px) scale(1.01); } }

.realm-hero { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 30px; border-color: rgba(100,184,255,.2); background: linear-gradient(110deg, rgba(18,45,35,.92), rgba(7,19,15,.96)); }
.realm-state { display: flex; align-items: center; gap: 18px; }
.realm-state .status-dot { width: 12px; height: 12px; background: var(--jade); box-shadow: 0 0 0 8px rgba(100,184,255,.07), 0 0 22px rgba(100,184,255,.35); }
.realm-state h2 { margin: 0; font-size: 25px; }
.realm-state p { margin: 4px 0 0; color: #7d9086; font-size: 10px; }
.realm-online { text-align: right; }
.realm-online strong { display: block; color: var(--jade); font: 600 30px var(--font-display); }
.realm-online span { color: #687b71; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.metric-list { display: grid; gap: 16px; }
.metric-row { display: grid; grid-template-columns: 95px 1fr 45px; align-items: center; gap: 12px; }
.metric-row span, .metric-row strong { color: #778a80; font-size: 9px; }
.metric-row strong { color: #b5c1bb; text-align: right; }

.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filter-button { min-height: 34px; padding: 0 13px; border: 1px solid var(--line); background: rgba(13,29,24,.7); color: #74867d; font: 600 8px var(--font-body); letter-spacing: .07em; text-transform: uppercase; cursor: pointer; }
.filter-button:hover, .filter-button.active { border-color: rgba(100,184,255,.28); color: var(--jade); background: rgba(100,184,255,.06); }
.search-field { position: relative; min-width: 220px; margin-left: auto; }
.search-field input, .select-field {
  width: 100%;
  height: 34px;
  padding: 0 12px;
  outline: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(13,29,24,.7);
  color: #b6c2bc;
  font: 9px var(--font-body);
}

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.product-card { overflow: hidden; transition: transform .2s, border-color .2s; }
.product-card:hover { transform: translateY(-3px); border-color: rgba(100,184,255,.25); }
.product-visual { position: relative; height: 145px; display: grid; place-items: center; background: radial-gradient(circle, rgba(100,184,255,.17), rgba(9,23,18,.9) 65%); }
.product-visual.gold { background: radial-gradient(circle, rgba(217,184,108,.18), rgba(9,23,18,.9) 65%); }
.product-symbol { color: var(--jade); font: 500 55px var(--font-display); filter: drop-shadow(0 0 20px rgba(100,184,255,.2)); }
.product-item-icon { display: inline-flex; min-width: 56px; min-height: 56px; align-items: center; justify-content: center; }
.product-item-icon ins, .product-item-icon img { width: 56px !important; height: 56px !important; border-radius: 8px; }
.set-icon-grid { display: grid; grid-template-columns: repeat(2, 42px); gap: 6px; }
.set-icon-grid .product-item-icon { min-width: 42px; min-height: 42px; }
.set-icon-grid .product-item-icon ins, .set-icon-grid .product-item-icon img { width: 42px !important; height: 42px !important; }
.gold-coin { width: 72px; height: 72px; filter: drop-shadow(0 8px 14px rgba(217, 184, 108, .28)); transition: transform .2s ease; }
.product-card:hover .gold-coin { transform: translateY(-3px) rotate(-4deg) scale(1.04); }
.product-visual.gold .product-symbol { color: var(--gold); }
.product-badge { position: absolute; left: 12px; top: 12px; padding: 3px 7px; background: var(--gold); color: #141006; font-size: 7px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.product-info { padding: 17px; }
.product-info small { color: #62756b; font-size: 7px; letter-spacing: .11em; text-transform: uppercase; }
.product-info h2 { min-height: 38px; margin: 4px 0 6px; font-size: 14px; }
.shop-search { min-width: 230px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; background: rgba(4, 13, 10, .75); color: var(--text); font: inherit; }
.admin-action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.button-danger { background: #8b2f32; border-color: #b44b4f; }
.tag.danger { border-color: rgba(255,82,82,.35); background: rgba(255,82,82,.12); color: #ff9292; }
@media (max-width: 1100px) {
  .paperdoll-layout { grid-template-columns: 1fr; min-height: 0; }
  .armory-profile-panel { border-right: 0; border-bottom: 1px solid rgba(217,184,108,.12); }
  .paperdoll-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paperdoll-slots.right .paper-slot { grid-template-columns: 40px minmax(0, 1fr); text-align: left; }
  .paperdoll-slots.right .paper-icon { grid-column: 1; }
  .paperdoll-slots.right .paper-slot-label,
  .paperdoll-slots.right .paper-slot-name,
  .paperdoll-slots.right small { grid-column: 2; }
  .paperdoll-model { min-height: 430px; }
}
@media (min-width: 1300px) {
  .paperdoll-card { max-width: 1360px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 850px) { .admin-action-grid, .armory-hero, .armory-equipment, .collection-grid, .paperdoll-bottom, .armory-redesign-stats { grid-template-columns: 1fr; } .paperdoll-top { flex-direction: column; } .paperdoll-actions { justify-content: flex-start; } .paperdoll-ilvl { text-align: left; } }
.product-info p { min-height: 45px; margin: 0; color: #7d8e85; font-size: 9px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.product-price { color: var(--gold); font: 600 14px var(--font-display); }
.add-cart { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgba(100,184,255,.2); background: rgba(100,184,255,.06); color: var(--jade); cursor: pointer; }
.add-cart:hover { background: var(--jade); color: #050913; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 55px minmax(0,1fr) auto auto; align-items: center; gap: 15px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border: 0; }
.cart-icon { width: 52px; height: 52px; display: grid; place-items: center; background: rgba(100,184,255,.06); color: var(--jade); font: 500 22px var(--font-display); }
.cart-item h3 { margin: 0; font-size: 11px; }
.cart-item p { margin: 3px 0 0; color: #687a70; font-size: 8px; }
.cart-item-price { min-width: 70px; color: var(--gold); font: 600 12px var(--font-display); text-align: right; }
.remove-cart { border: 0; background: none; color: #64766d; cursor: pointer; }
.remove-cart:hover { color: #d67b74; }
.summary-list { margin: 0; }
.summary-list div { display: flex; justify-content: space-between; gap: 15px; padding: 9px 0; color: #7c8e84; font-size: 9px; }
.summary-list dd { margin: 0; color: #b8c4be; }
.summary-list .summary-total { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); color: #dce4e0; font-weight: 700; }
.summary-list .summary-total dd { color: var(--gold); font: 600 17px var(--font-display); }
.checkout-button { width: 100%; margin-top: 18px; }
.dashboard-login-card .summary-list dd { max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.account-state { display: inline-flex; align-items: center; gap: 6px; min-height: 20px; padding: 3px 8px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.035); color: #c9d5cf; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.account-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 14px currentColor; }
.account-state-ok { border-color: rgba(100,184,255,.22); background: rgba(100,184,255,.07); color: var(--jade); }
.account-state-wait { border-color: rgba(217,184,108,.22); background: rgba(217,184,108,.07); color: var(--gold); }
.account-state-danger { border-color: rgba(255,82,82,.24); background: rgba(255,82,82,.08); color: #ff7676; }
.profile-avatar-card { display: grid; gap: 14px; align-content: start; }
.profile-avatar-preview { width: 132px; height: 132px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(100,184,255,.22); border-radius: 50%; background: radial-gradient(circle at 35% 25%, rgba(100,184,255,.22), rgba(8,18,15,.92) 62%); box-shadow: 0 24px 60px rgba(0,0,0,.28), inset 0 0 0 7px rgba(255,255,255,.025); }
.profile-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-preview span { color: var(--gold); font: 800 38px var(--font-display); letter-spacing: -.04em; text-shadow: 0 10px 30px rgba(0,0,0,.45); }
.dashboard-login-note { display: grid; gap: 4px; margin-top: 18px; padding: 13px 15px; border: 1px solid rgba(100,184,255,.18); background: rgba(100,184,255,.055); }
.dashboard-login-note strong { color: #dbe8e1; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.dashboard-login-note span { color: #84968d; font-size: 9px; line-height: 1.6; }
.dashboard-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dashboard-card-actions .button { min-height: 38px; padding-inline: 15px; font-size: 9px; }
.server-statistics .card-header p { margin: 5px 0 0; color: #788a81; font-size: 9px; }
.server-stat-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.server-stat-summary article { padding: 17px; border: 1px solid var(--line); background: rgba(8, 22, 17, .72); }
.server-stat-summary span, .server-activity-card span { color: #71837a; font-size: 8px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.server-stat-summary strong { display: block; margin: 5px 0 1px; color: #f0eadb; font: 600 25px var(--font-display); }
.server-stat-summary small, .server-activity-card small { color: #788a81; font-size: 8px; }
.server-stat-panels { margin-top: 8px; }
.server-stat-panels section { padding: 18px; border: 1px solid var(--line); background: rgba(5, 16, 12, .5); }
.server-stat-panels h3 { margin: 0 0 13px; font-size: 14px; }
.stat-distribution-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 48px; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(199,220,209,.07); }
.stat-distribution-row:last-child { border-bottom: 0; }
.stat-distribution-row strong { display: block; color: #d7e2dc; font-size: 10px; }
.stat-distribution-row small { color: #65776e; font-size: 8px; }
.stat-distribution-row em { color: var(--gold); font: normal 600 11px var(--font-display); text-align: right; }
.server-activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.server-activity-card { padding: 15px; border: 1px solid var(--line); background: rgba(10, 23, 39, .66); }
.server-activity-card strong { display: block; margin: 5px 0 2px; color: #f0eadb; font: 600 20px var(--font-display); }
.bot-rental-panel { margin-top: 18px; }
.bot-rental-panel .server-stat-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bot-rental-panel td small { display: block; margin-top: 3px; color: #788a81; font-size: 11px; }
.bot-rental-panel .tag { margin: 2px 3px 0 0; }
.compact-table { font-size: 8px; }
.compact-table td { padding: 9px 8px; vertical-align: top; }
.service-chip-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.service-chip-list span { padding: 6px 8px; border: 1px solid var(--line); background: rgba(100,184,255,.055); color: #9db6d1; font-size: 8px; }
.admin-health-log { max-height: 360px; overflow: auto; margin: 0; padding: 16px; border: 1px solid var(--line); background: #050913; color: #9db1a6; font: 10px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }
.client-telemetry-cards .stat-card { background: rgba(4,16,12,.55); }

.download-hero { min-height: 260px; display: flex; align-items: center; padding: 38px; overflow: hidden; background: linear-gradient(90deg, rgba(5,16,12,.96), rgba(5,16,12,.4)), url("../images/jadefall-hero.jpg") 70% center / cover; }
.download-hero > div { position: relative; z-index: 1; max-width: 590px; }
.download-hero h2 { margin: 0; font-size: 34px; }
.download-hero p { color: #a0aea7; font-size: 11px; }
.download-actions { display: flex; gap: 10px; margin-top: 20px; }
.step-list { counter-reset: steps; }
.step-item { position: relative; padding: 20px 20px 20px 66px; border-bottom: 1px solid var(--line); }
.step-item:last-child { border: 0; }
.step-item::before { counter-increment: steps; content: counter(steps); position: absolute; left: 20px; top: 20px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(100,184,255,.25); color: var(--jade); font: 600 10px var(--font-display); }
.step-item h3 { margin: 0; font-size: 12px; }
.step-item p { margin: 5px 0 0; color: #75877e; font-size: 9px; }
.copy-row { display: flex; align-items: center; gap: 10px; margin-top: 9px; padding: 9px 11px; overflow-x: auto; border: 1px solid var(--line); background: #06110d; color: #a9b7b0; font: 10px monospace; }
.copy-row code { white-space: nowrap; }
.copy-row button { margin-left: auto; border: 0; background: none; color: var(--jade); font-size: 8px; cursor: pointer; }
.download-safe-box { margin-top: 22px; padding: 16px 18px; border: 1px solid rgba(217,184,108,.22); background: rgba(217,184,108,.05); color: #cbb985; font-size: 9px; }
.download-safe-box strong { display: block; margin-bottom: 8px; color: #e6d39a; font-size: 10px; }
.download-safe-box ul, .download-info-card ul { margin: 9px 0 0; padding-left: 18px; color: #87988f; }
.download-safe-box li, .download-info-card li { margin: 5px 0; }
.download-info-card { padding: 22px; }
.download-info-card h2 { margin: 0 0 10px; font-size: 15px; }
.download-info-card p { margin: 0 0 12px; color: #778981; font-size: 9px; line-height: 1.8; }
.download-info-card .button { margin-top: 14px; }
.download-info-card code, .step-item code { color: #d7c179; }

.guide-hero { display: grid; grid-template-columns: minmax(0,1fr) 390px; gap: 24px; align-items: center; padding: 32px; background: linear-gradient(125deg, rgba(6,17,13,.94), rgba(8,30,24,.88)), radial-gradient(circle at 82% 18%, rgba(217,184,108,.18), transparent 34%); }
.guide-hero h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 54px); }
.guide-hero p { max-width: 760px; margin: 0; color: #82958c; font-size: 11px; line-height: 1.8; }
.guide-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 0; }
.guide-facts div { padding: 16px; border: 1px solid var(--line); background: rgba(3,10,8,.42); }
.guide-facts dt { color: #65776e; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.guide-facts dd { margin: 6px 0 0; color: #e0e9e4; font: 700 13px var(--font-display); }
.guide-checks { display: grid; gap: 10px; }
.guide-checks article, .guide-card { padding: 16px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(10, 23, 39, .76), rgba(5, 12, 22, .92)); }
.guide-checks strong, .guide-card h3 { display: block; margin: 0 0 7px; color: #e0e9e4; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.guide-checks span, .guide-card p, .guide-text { margin: 0; color: #7c8e85; font-size: 9px; line-height: 1.75; }
.guide-command-box { margin-top: 18px; padding: 18px; border: 1px solid rgba(100,184,255,.2); background: rgba(100,184,255,.045); }
.guide-command-box strong { display: block; color: #dce7e1; font-size: 11px; }
.guide-command-box p { margin: 7px 0 12px; color: #74867d; font-size: 9px; line-height: 1.7; }
.guide-list { columns: 2; margin: 14px 0 0; padding-left: 18px; color: #cbb985; font-size: 10px; line-height: 1.9; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.news-card { overflow: hidden; }
.news-cover { height: 135px; display: flex; align-items: flex-end; padding: 16px; background: radial-gradient(circle at 75% 25%, rgba(100,184,255,.22), rgba(8,22,17,.95) 62%); }
.news-cover.gold { background: radial-gradient(circle at 75% 25%, rgba(217,184,108,.2), rgba(8,22,17,.95) 62%); }
.news-body { padding: 19px; }
.news-meta { display: flex; gap: 10px; color: #5d7066; font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.news-body h2 { margin: 8px 0; font-size: 15px; line-height: 1.4; }
.news-body p { margin: 0; color: #798b81; font-size: 9px; }
.news-details { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.news-details summary { color: var(--jade); cursor: pointer; font-size: 9px; font-weight: 700; }
.news-details p { margin-top: 10px; }
.news-body a { display: inline-block; margin-top: 14px; color: var(--jade); font-size: 8px; font-weight: 700; text-transform: uppercase; }

.support-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 18px; }
.support-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.support-category-card { padding: 16px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(10, 23, 39, .76), rgba(5, 12, 22, .92)); }
.support-category-card strong { display: block; margin-bottom: 5px; color: #e0e9e4; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.support-category-card span { color: #7c8e85; font-size: 9px; line-height: 1.6; }
.support-hint { padding: 12px 14px; border: 1px solid rgba(217,184,108,.18); background: rgba(217,184,108,.055); color: #cbb985; font-size: 9px; line-height: 1.65; }
.portal-form { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.portal-form label { display: block; margin-bottom: 6px; color: #899990; font-size: 9px; font-weight: 600; }
.portal-form input, .portal-form select, .portal-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  outline: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #081712;
  color: #c5d0ca;
  font: 10px var(--font-body);
}
.portal-form textarea { min-height: 125px; padding-block: 12px; resize: vertical; }
.portal-form input:focus, .portal-form select:focus, .portal-form textarea:focus { border-color: rgba(100,184,255,.45); }
.form-note { color: #607269; font-size: 8px; }
.notice-card {
  margin: 14px 0;
  padding: 13px 14px;
  border: 1px solid rgba(217,184,108,.28);
  background: rgba(217,184,108,.08);
  color: var(--text);
}
.notice-card strong { display: block; margin-bottom: 5px; color: var(--gold); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.notice-card p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.notice-card.warning { border-color: rgba(217,184,108,.38); background: linear-gradient(135deg, rgba(217,184,108,.11), rgba(10,22,18,.72)); }
.support-option { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); }
.support-option:last-child { border: 0; }
.support-option span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--jade); }
.support-option div { display: flex; flex-direction: column; }
.support-option strong { color: #c7d1cc; font-size: 10px; }
.support-option small { color: #687a70; font-size: 8px; }
.support-checklist { padding: 16px; border-top: 1px solid var(--line); color: #7f9188; font-size: 9px; line-height: 1.7; }
.support-checklist strong { display: block; margin-bottom: 8px; color: #d8e2dd; font-size: 10px; }
.support-checklist ul { margin: 0; padding-left: 18px; }
.support-checklist li { margin: 4px 0; }
.ticket-link { padding: 0; border: 0; background: none; color: var(--jade); cursor: pointer; }
.ticket-messages { display: grid; gap: 10px; margin-bottom: 18px; }
.ticket-message { max-width: 82%; padding: 14px; border: 1px solid var(--line); background: #081712; }
.ticket-message.staff { margin-left: auto; border-color: rgba(100,184,255,.28); background: rgba(100,184,255,.06); }
.ticket-message > div { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.ticket-message strong { color: #c7d1cc; font-size: 10px; }
.ticket-message time { color: #607269; font-size: 8px; }
.ticket-message p { margin: 0; color: #899990; font-size: 10px; line-height: 1.7; }
.ticket-attachments { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.ticket-attachments > strong { width: 100%; font-size: 10px; }
.ticket-attachments a { padding: 9px 12px; border: 1px solid var(--line); color: var(--jade); font-size: 9px; }
.ticket-reply-actions { display: flex; gap: 10px; align-items: center; }
.file-button { cursor: pointer; }

.admin-alert { padding: 14px 18px; border: 1px solid rgba(217,184,108,.22); background: rgba(217,184,108,.05); color: #cbb985; font-size: 9px; }
.admin-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.admin-action { min-height: 85px; display: flex; flex-direction: column; justify-content: center; padding: 16px; border: 1px solid var(--line); background: rgba(10, 23, 39, .72); }
.admin-action:hover { border-color: rgba(100,184,255,.25); }
.admin-action strong { font-size: 10px; }
.admin-action span { margin-top: 4px; color: #65776e; font-size: 8px; }
.stat-xl { margin: 10px 0 8px; color: #f1e8c7; font: 700 34px/1 var(--font-display); letter-spacing: -.03em; }
.empty-state { padding: 50px 25px; color: #697a71; text-align: center; }
.empty-state strong { display: block; margin-bottom: 7px; color: #b7c4bd; font: 600 16px var(--font-display); }
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: 320px;
  padding: 13px 17px;
  border: 1px solid rgba(100,184,255,.3);
  background: #0d211a;
  color: #c9d6cf;
  font-size: 10px;
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 1180px) {
  .grid-4, .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-main { grid-template-columns: 1fr; }
  .character-grid, .news-grid, .support-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .guide-hero { grid-template-columns: 1fr; }
}
@media (max-width: 850px) {
  .portal-shell { display: block; }
  .portal-sidebar { transform: translateX(-100%); transition: transform .25s; box-shadow: 30px 0 60px rgba(0,0,0,.35); }
  .portal-sidebar.open { transform: translateX(0); }
  .portal-main { width: 100%; }
  .portal-mobile-menu { display: grid; }
  .portal-topbar { padding-inline: 18px; }
  .portal-content { padding-inline: 18px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .grid-3, .server-stat-summary, .server-activity-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cart-layout, .support-layout { grid-template-columns: 1fr; }
  .admin-actions { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 580px) {
  .portal-content { padding-top: 30px; }
  .balance-pill span { display: none; }
  .grid-4, .grid-3, .grid-2, .product-grid, .character-grid, .news-grid, .support-category-grid, .server-stat-summary, .server-activity-grid { grid-template-columns: 1fr; }
  .stat-distribution-row { grid-template-columns: 1fr; gap: 7px; }
  .stat-distribution-row em { text-align: left; }
  .realm-hero { grid-template-columns: 1fr; }
  .realm-online { text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .search-field { width: 100%; margin-left: 0; }
  .cart-item { grid-template-columns: 45px minmax(0,1fr) auto; }
  .cart-item-price { grid-column: 2; text-align: left; }
  .download-hero { padding: 28px; }
  .download-actions { align-items: stretch; flex-direction: column; }
  .guide-hero { padding: 24px; }
  .guide-facts { grid-template-columns: 1fr; }
  .guide-list { columns: 1; }
  .admin-actions { grid-template-columns: 1fr; }
}

/* Jadefall WotLK 3.3.5a portal refresh. */
:root {
  --bg: #050913;
  --bg-soft: #08111f;
  --panel: #0a1422;
  --panel-light: #102238;
  --jade: #64b8ff;
  --jade-bright: #b9e4ff;
  --gold: #d7b56d;
  --cream: #f2f7ff;
  --muted: #91a4ba;
  --line: rgba(176, 218, 255, .15);
}

.portal-page {
  background:
    radial-gradient(circle at 72% 0%, rgba(93, 160, 220, .14), transparent 38%),
    radial-gradient(circle at 0% 42%, rgba(215, 181, 109, .06), transparent 28%),
    linear-gradient(180deg, #050913, #08111f 50%, #04070e);
  color: #eaf4ff;
}

.portal-sidebar {
  background:
    linear-gradient(180deg, rgba(5, 11, 21, .98), rgba(6, 14, 26, .98)),
    radial-gradient(circle at 50% 0%, rgba(100, 184, 255, .1), transparent 32%);
  border-right-color: rgba(176, 218, 255, .12);
}

.portal-main {
  background:
    linear-gradient(180deg, rgba(8, 17, 31, .36), rgba(4, 7, 14, .78)),
    radial-gradient(circle at 75% 12%, rgba(100, 184, 255, .08), transparent 24%);
}

.portal-topbar {
  background: rgba(5, 11, 21, .78);
  border-bottom-color: rgba(176, 218, 255, .12);
  backdrop-filter: blur(16px);
}

.portal-card,
.product-card,
.character-card,
.news-card,
.support-category-card,
.ticket-message,
.admin-action,
.notice-card,
.realm-hero,
.server-stat-summary > *,
.server-activity-grid > *,
.paperdoll-card,
.armory-hero-card {
  border-color: rgba(176, 218, 255, .15);
  background:
    linear-gradient(145deg, rgba(12, 28, 48, .86), rgba(5, 12, 22, .92)),
    radial-gradient(circle at 88% 10%, rgba(100, 184, 255, .07), transparent 30%);
}

.portal-card:hover,
.product-card:hover,
.character-card:hover,
.news-card:hover,
.admin-action:hover {
  border-color: rgba(185, 228, 255, .32);
}

.portal-nav a:hover,
.portal-nav a.active,
.ticket-link,
.support-option span,
.page-heading .eyebrow,
.eyebrow,
.tag,
.product-price,
.realm-online strong,
.stat-xl {
  color: var(--jade-bright);
}

.portal-nav a.active {
  background: rgba(100, 184, 255, .08);
  box-shadow: inset 2px 0 0 rgba(100, 184, 255, .7);
}

.status-dot,
.portal-realm-card .status-dot {
  background: #7fd0ff;
  box-shadow: 0 0 18px rgba(127, 208, 255, .65);
}

.button {
  background: linear-gradient(135deg, #b8dfff, #5aa9ed 58%, #2e6fa9);
  color: #07111f;
  box-shadow: 0 16px 40px rgba(66, 154, 224, .18);
}

.button-outline {
  background: rgba(9, 20, 34, .68);
  color: var(--cream);
  border-color: rgba(176, 218, 255, .24);
  box-shadow: none;
}

.button-outline:hover {
  color: var(--jade-bright);
  border-color: rgba(185, 228, 255, .5);
}

.hero-panel,
.realm-hero,
.download-hero,
.guide-hero {
  background:
    linear-gradient(90deg, rgba(5, 11, 21, .96), rgba(8, 18, 32, .52)),
    radial-gradient(circle at 72% 22%, rgba(100, 184, 255, .14), transparent 28%),
    url("../images/jadefall-hero.jpg") 70% center / cover;
  filter: saturate(.8) hue-rotate(168deg) contrast(1.04);
}

.download-hero > *,
.guide-hero > *,
.realm-hero > * {
  filter: hue-rotate(-168deg) saturate(1.25);
}

.portal-form input,
.portal-form select,
.portal-form textarea,
.search-field,
.cart-item,
.support-option {
  background: rgba(6, 15, 28, .78);
  border-color: rgba(176, 218, 255, .14);
  color: #dcefff;
}

.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus,
.search-field:focus {
  border-color: rgba(100, 184, 255, .52);
  box-shadow: 0 0 0 3px rgba(100, 184, 255, .08);
}

.toast {
  border-color: rgba(100, 184, 255, .32);
  background: #07172a;
  color: #eaf4ff;
}

/* Final WotLK pass: override old jade accent rules still used by older components. */
.portal-realm,
.balance-pill,
.icon-button,
.stat-icon,
.tag,
.nav-badge,
.character-status.is-online,
.support-option span,
.admin-alert,
.notice-card,
.registration-quip {
  border-color: rgba(176, 218, 255, .18) !important;
  background-color: rgba(100, 184, 255, .055) !important;
}

.portal-realm .status-dot.is-online,
.character-status.is-online::before,
.status-dot {
  background: #7fd0ff !important;
  box-shadow: 0 0 0 6px rgba(127, 208, 255, .08), 0 0 15px rgba(127, 208, 255, .55) !important;
}

.portal-nav a:hover,
.portal-nav a.active,
.icon-button:hover,
.character-actions a:hover,
.ticket-link,
.label-row a,
.terms-row a,
.muted-link:hover,
.product-card a,
.data-table a {
  color: #b9e4ff !important;
  border-color: rgba(185, 228, 255, .28) !important;
}

.portal-nav a:hover,
.portal-nav a.active,
.data-table tbody tr:hover {
  background: rgba(100, 184, 255, .06) !important;
}

.tag.jade,
.tag.gold,
.tag:not(.muted) {
  color: #b9e4ff !important;
}

.paperdoll-avatar,
.armory-model-stage,
.news-cover,
.download-card-icon,
.product-symbol {
  box-shadow: inset 0 0 0 1px rgba(176, 218, 255, .13), 0 0 34px rgba(100, 184, 255, .08) !important;
}

.paperdoll-card,
.armory-hero-card,
.pvp-stat-panel,
.bot-stat-panel {
  background:
    linear-gradient(145deg, rgba(12, 28, 48, .9), rgba(5, 12, 22, .94)),
    radial-gradient(circle at 80% 12%, rgba(100, 184, 255, .09), transparent 32%) !important;
}

.pvp-objective-line {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.pvp-player-chip-list {
  display: grid;
  gap: 6px;
  min-width: 190px;
}

.pvp-player-chip {
  display: grid;
  gap: 2px;
  padding: 6px 7px;
  border: 1px solid rgba(176, 218, 255, .12);
  background: rgba(5, 13, 24, .55);
}

.pvp-player-chip strong {
  color: #dcecff;
  font-size: 9px;
}

.pvp-player-chip small {
  color: #7f96a8;
  font-size: 8px;
  line-height: 1.35;
}

/* WotLK blue polish: align remaining panel tones without touching class/faction/item-quality colors. */
.realm-hero,
.portal-card,
.data-table-wrap,
.product-card,
.download-card,
.notice-card,
.support-option,
.ticket-card,
.profile-card,
.character-card {
  background:
    linear-gradient(145deg, rgba(10, 24, 42, .94), rgba(5, 11, 21, .97)),
    radial-gradient(circle at 82% 8%, rgba(100, 184, 255, .075), transparent 34%) !important;
  border-color: rgba(176, 218, 255, .13) !important;
}

.filter-button,
.search-field input,
.select-field,
.portal-form input,
.portal-form select,
.portal-form textarea,
.shop-search {
  background: rgba(6, 16, 30, .82) !important;
  border-color: rgba(176, 218, 255, .14) !important;
  color: #dcecff !important;
}

.filter-button:hover,
.filter-button.active {
  background: rgba(100, 184, 255, .09) !important;
  color: #b9e4ff !important;
}

.product-visual {
  background: radial-gradient(circle, rgba(100, 184, 255, .18), rgba(5, 13, 26, .95) 68%) !important;
}

.product-visual.gold {
  background: radial-gradient(circle, rgba(217, 184, 108, .2), rgba(5, 13, 26, .95) 68%) !important;
}

.portal-realm span:last-child,
.portal-nav-label,
.portal-user small,
.logout-link,
.portal-breadcrumb,
.icon-button,
.balance-pill,
.realm-state p,
.realm-online span,
.metric-row span,
.product-info small,
.paper-slot-label,
.paper-slot small {
  color: #7f93aa !important;
}

.armory-redesign-stats dd {
  color: #b9e4ff !important;
}

.season-rule-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.season-rule-list li::marker {
  color: #b9e4ff;
}

.season-rule-list code {
  padding: 2px 6px;
  border: 1px solid rgba(176, 218, 255, .16);
  border-radius: 5px;
  background: rgba(6, 16, 30, .82);
  color: #dcecff;
}

.season-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 18px 18px;
}

.season-preview-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(10, 23, 39, .88), rgba(4, 11, 20, .92));
  padding: 16px;
}

.season-preview-card.is-locked {
  opacity: .72;
}

.season-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.season-preview-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
}

.season-item-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.season-item {
  min-height: 46px;
  border: 1px solid rgba(100,184,255,.14);
  background: rgba(1, 7, 14, .45);
  padding: 8px;
  font-size: 10px;
}

.season-item strong {
  display: block;
  color: #d9b86c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.season-item span {
  color: var(--muted);
}

.season-unlock-rule {
  border-left: 2px solid rgba(102, 194, 255, .45);
  color: #cfeeff;
  font-size: 12px;
  line-height: 1.55;
  margin: 10px 0 12px;
  padding-left: 10px;
}

@media (max-width: 900px) {
  .season-preview-grid,
  .season-item-list {
    grid-template-columns: 1fr;
  }
}

.realm-roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.realm-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.realm-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0, rgba(100, 184, 255, .14), transparent 34%);
  pointer-events: none;
}

.realm-card.is-live {
  border-color: rgba(102, 194, 255, .34) !important;
}

.realm-card.is-planned {
  opacity: .82;
}

.realm-card h2 {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
}

.realm-meta-list,
.bot-policy-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.realm-meta-list span,
.bot-policy-strip span {
  border: 1px solid rgba(176, 218, 255, .14);
  background: rgba(6, 16, 30, .72);
  color: #b9e4ff;
  font-size: 10px;
  letter-spacing: .04em;
  padding: 7px 9px;
  text-transform: uppercase;
}

.realm-feature-list {
  display: grid;
  gap: 7px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.realm-feature-list li {
  color: var(--muted);
  font-size: 12px;
}

.realm-feature-list li::before {
  content: "•";
  color: #64b8ff;
  margin-right: 8px;
}

@media (max-width: 1100px) {
  .realm-roadmap {
    grid-template-columns: 1fr;
  }
}

.realm-live-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.realm-live-note span:not(.tag) {
  border: 1px solid rgba(176, 218, 255, .14);
  background: rgba(6, 16, 30, .72);
  color: #9fc6df;
  padding: 7px 9px;
}

/* Jadefall portal polish 2026-07-19: WotLK blauw/goud, minder groen, strakker leesbaar. */
.portal-page {
  background:
    radial-gradient(circle at 78% 10%, rgba(83, 151, 218, .16), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(213, 174, 88, .10), transparent 35%),
    linear-gradient(180deg, #071322 0%, #050b14 55%, #03070d 100%) !important;
}

.portal-main::before {
  background:
    linear-gradient(90deg, rgba(83, 151, 218, .06), transparent 38%, rgba(213, 174, 88, .05)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .04), transparent 45%);
}

.portal-content {
  max-width: 1240px;
}

.page-heading h1,
.card-header h2,
.portal-card h2 {
  letter-spacing: .02em;
  text-shadow: 0 0 22px rgba(83, 151, 218, .16);
}

.eyebrow span,
.portal-nav a.active::before,
.portal-nav a:hover::before {
  background: linear-gradient(90deg, #65b7ff, #d9b65f) !important;
}

.portal-card,
.product-card,
.character-card,
.data-table-wrap,
.download-hero,
.download-info-card {
  border-color: rgba(106, 167, 224, .18) !important;
  background:
    linear-gradient(180deg, rgba(12, 28, 47, .88), rgba(6, 14, 24, .94)) !important;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .035);
}

.portal-card {
  position: relative;
  overflow: hidden;
}

.portal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(101, 183, 255, .07), transparent 36%),
    linear-gradient(315deg, rgba(217, 182, 95, .045), transparent 42%);
  opacity: .75;
}

.portal-card > * {
  position: relative;
  z-index: 1;
}

.portal-nav a.active,
.portal-nav a:hover {
  background: linear-gradient(90deg, rgba(84, 147, 205, .18), rgba(217, 182, 95, .08)) !important;
  border-color: rgba(101, 183, 255, .22) !important;
}

.tag,
.realm-meta-list span,
.bot-policy-strip span {
  border-radius: 999px;
}

.tag.gold,
.button {
  background: linear-gradient(135deg, #6fbfff, #d9b65f) !important;
  color: #06101b !important;
}

.button {
  border-color: rgba(255, 255, 255, .20);
  box-shadow: 0 10px 26px rgba(83, 151, 218, .18);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 14px 32px rgba(83, 151, 218, .24);
}

.button.button-outline {
  background: rgba(10, 24, 40, .72) !important;
  color: #dcecff !important;
}

.admin-alert {
  border-left: 2px solid rgba(217, 182, 95, .62) !important;
  background: rgba(8, 20, 34, .62) !important;
}

.data-table th {
  color: #9fc9f2;
  letter-spacing: .08em;
}

.data-table td,
.data-table th {
  border-color: rgba(106, 167, 224, .13) !important;
}

.realm-card {
  min-height: 100%;
}

.realm-card.is-live {
  border-color: rgba(217, 182, 95, .28) !important;
}

.realm-feature-list li::before {
  color: #d9b65f;
}

.realm-live-note {
  padding-top: 14px;
  border-top: 1px solid rgba(106, 167, 224, .14);
}

.download-safe-box {
  border-color: rgba(106, 167, 224, .18) !important;
  background: rgba(5, 13, 24, .65) !important;
}

.form-note code,
.portal-card code,
.admin-alert code {
  color: #e8c875;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(217, 182, 95, .14);
  padding: .08rem .28rem;
  border-radius: 4px;
}

@media (max-width: 760px) {
  .portal-content {
    padding-inline: 14px;
  }

  .page-heading,
  .download-actions {
    gap: 12px;
  }

  .button,
  .download-actions .button {
    width: 100%;
    justify-content: center;
  }
}



/* Aanbevolen native launcher boven de handmatige clientdownloads. */
.launcher-download-spotlight { display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; margin-bottom: 16px; border-color: rgba(100, 184, 255, .28); background: linear-gradient(135deg, rgba(15, 37, 62, .96), rgba(7, 16, 28, .98)); }
.launcher-download-copy { padding: 38px; }
.launcher-download-copy .eyebrow { margin-top: 22px; }
.launcher-download-copy h2 { max-width: 650px; margin: 0; font-family: var(--font-display); font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
.launcher-download-copy > p:not(.eyebrow, .form-note) { max-width: 700px; color: var(--muted); font-size: 13px; }
.launcher-integrity { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 22px; border: 1px solid rgba(176, 218, 255, .14); background: rgba(176, 218, 255, .12); }
.launcher-integrity > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 12px 14px; background: #091725; }
.launcher-integrity span { color: #7991a6; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.launcher-integrity strong { color: #e8f4fc; font-size: 11px; }
.launcher-integrity .integrity-pending { color: #d7b56d; }
.launcher-integrity > div:last-child { grid-column: 1 / -1; }
.launcher-hash-row { grid-column: 1 / -1; }
.launcher-hash-row code { overflow-wrap: anywhere; color: #abdfff; font-size: 9px; }
.launcher-hash-row button { align-self: flex-start; padding: 4px 0; border: 0; border-bottom: 1px solid rgba(176, 218, 255, .3); background: transparent; color: #c8eaff; font-size: 8px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.launcher-signing-note { margin: 11px 0 0; color: #8197aa; font-size: 10px; }

/* Launcher-help: originele voorbeelden, stappen en doorzoekbare FAQ. */
.portal-nav { min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(100,184,255,.22) transparent; }
.help-jump-nav { position: sticky; top: 72px; z-index: 12; display: flex; gap: 7px; margin: -10px 0 22px; padding: 8px; overflow-x: auto; border: 1px solid rgba(176,218,255,.13); background: rgba(5,13,23,.9); backdrop-filter: blur(14px); }
.help-jump-nav a { flex: 0 0 auto; padding: 8px 12px; color: #91a7b8; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.help-jump-nav a:hover, .help-jump-nav a:focus-visible { background: rgba(100,184,255,.08); color: #dff3ff; }
.help-hero { display: grid; grid-template-columns: .82fr 1.18fr; overflow: hidden; border-color: rgba(100,184,255,.24); background: linear-gradient(135deg, rgba(13,33,53,.98), rgba(6,15,26,.98)); }
.help-hero-copy { padding: clamp(28px, 4vw, 52px); }
.help-hero-copy .eyebrow { margin-top: 24px; }
.help-hero-copy h2, .help-section-heading h2, .help-safety h2 { margin: 0; font-family: var(--font-display); font-size: clamp(27px, 3vw, 42px); line-height: 1.12; }
.help-hero-copy > p:not(.eyebrow) { color: #9db0be; font-size: 13px; }
.help-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0; }
.help-check-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; color: #9fb2c0; font-size: 10px; }
.help-check-list li::before { content: "✓"; margin-right: 9px; color: #5bd5a1; font-weight: 900; }
.help-hero-figure { display: flex; flex-direction: column; justify-content: center; min-width: 0; margin: 0; padding: 28px; border-left: 1px solid rgba(176,218,255,.12); background: radial-gradient(circle at 70% 10%, rgba(100,184,255,.13), transparent 46%), #07131f; }
.help-hero-figure img { width: 100%; border: 1px solid rgba(176,218,255,.15); box-shadow: 0 24px 55px rgba(0,0,0,.35); }
.help-hero-figure figcaption { margin-top: 12px; color: #71899b; font-size: 9px; text-align: center; }
.help-section { padding: 72px 0 8px; scroll-margin-top: 135px; }
.help-section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 45px; margin-bottom: 28px; }
.help-section-heading > p { margin: 0 0 4px; color: #879daf; font-size: 11px; }
.launcher-step-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: help-step; }
.launcher-step-grid li { min-height: 210px; padding: 24px; border: 1px solid rgba(176,218,255,.13); background: linear-gradient(145deg, rgba(13,31,48,.88), rgba(7,16,27,.96)); }
.launcher-step-grid li > span { display: block; margin-bottom: 36px; color: #6dbdeb; font-size: 10px; font-weight: 800; }
.launcher-step-grid strong { display: block; color: #edf7fd; font-family: var(--font-display); font-size: 15px; }
.launcher-step-grid p { margin: 9px 0 0; color: #879eae; font-size: 10px; }
.help-important { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding: 15px 18px; border-left: 3px solid #d7b56d; background: rgba(215,181,109,.07); color: #9fb0bc; font-size: 10px; }
.help-important strong { flex: 0 0 auto; color: #e8ca81; text-transform: uppercase; }
.help-example-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.help-example-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid rgba(176,218,255,.14); background: #081722; }
.help-example-card img { width: 100%; aspect-ratio: 12/7; object-fit: cover; background: #050a12; }
.help-example-card figcaption { display: flex; gap: 16px; min-height: 110px; padding: 20px; border-top: 1px solid rgba(176,218,255,.12); }
.help-example-card figcaption > span { color: #6dbdeb; font-size: 9px; font-weight: 800; }
.help-example-card strong { color: #eaf5fb; font-family: var(--font-display); font-size: 14px; }
.help-example-card p { margin: 6px 0 0; color: #849bab; font-size: 10px; }
.help-action-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; border: 1px solid rgba(176,218,255,.13); background: rgba(176,218,255,.12); }
.help-action-grid article { min-height: 145px; padding: 20px; background: #081622; }
.help-action-grid b { color: #c3e9ff; font-family: var(--font-display); font-size: 13px; }
.help-action-grid p { margin: 9px 0 0; color: #8299aa; font-size: 10px; }
.help-troubleshoot-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.help-troubleshoot-list article { padding: 22px; border: 1px solid rgba(176,218,255,.13); background: #081722; }
.help-troubleshoot-list span { color: #eff8fc; font-family: var(--font-display); font-size: 14px; }
.help-troubleshoot-list p { min-height: 45px; margin: 9px 0 16px; color: #879dac; font-size: 10px; }
.help-troubleshoot-list b { color: #77c8f5; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.faq-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.faq-toolbar label { flex: 1; max-width: 650px; }
.faq-toolbar label span { display: block; margin-bottom: 7px; color: #7f96a6; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.faq-toolbar input { width: 100%; min-height: 45px; padding: 0 14px; border: 1px solid rgba(176,218,255,.17); background: #071520; color: #e8f5fb; font: inherit; font-size: 11px; }
.faq-toolbar input:focus { outline: 2px solid rgba(121,201,250,.65); outline-offset: 2px; }
.faq-toolbar > div { display: flex; gap: 7px; }
.faq-toolbar button { padding: 10px 13px; border: 1px solid rgba(176,218,255,.16); background: #0c2030; color: #aac4d4; font-size: 8px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.launcher-faq { border-top: 1px solid rgba(176,218,255,.13); }
.launcher-faq details { border-bottom: 1px solid rgba(176,218,255,.13); background: rgba(8,22,34,.74); }
.launcher-faq details[open] { background: rgba(13,32,48,.92); }
.launcher-faq summary { position: relative; padding: 19px 52px 19px 20px; color: #dcebf3; font-family: var(--font-display); font-size: 13px; cursor: pointer; list-style: none; }
.launcher-faq summary::-webkit-details-marker { display: none; }
.launcher-faq summary::after { content: "+"; position: absolute; top: 15px; right: 20px; color: #79c9fa; font: 300 22px var(--font-body); }
.launcher-faq details[open] summary::after { content: "−"; }
.launcher-faq details > div { padding: 0 52px 20px 20px; color: #8da3b1; font-size: 11px; }
.launcher-faq details p { margin: 0; }
.faq-empty { padding: 25px; border: 1px solid rgba(215,181,109,.18); color: #d8bf83; font-size: 11px; text-align: center; }
.help-safety { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 78px; padding: clamp(28px,4vw,48px); border-color: rgba(215,181,109,.22); background: linear-gradient(125deg, rgba(22,34,43,.97), rgba(8,18,29,.98)); scroll-margin-top: 135px; }
.help-safety > div:first-child { max-width: 760px; }
.help-safety p:not(.eyebrow) { color: #92a6b4; font-size: 11px; }
.help-safety-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 1100px) {
  .help-hero { grid-template-columns: 1fr; }
  .help-hero-figure { border-top: 1px solid rgba(176,218,255,.12); border-left: 0; }
  .launcher-step-grid, .help-action-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
  .help-jump-nav { top: 72px; margin-inline: -14px; border-inline: 0; }
  .help-section { padding-top: 55px; }
  .help-section-heading { grid-template-columns: 1fr; gap: 14px; }
  .launcher-step-grid, .help-example-grid, .help-action-grid, .help-troubleshoot-list { grid-template-columns: 1fr; }
  .launcher-step-grid li { min-height: 0; }
  .launcher-step-grid li > span { margin-bottom: 20px; }
  .faq-toolbar, .help-safety { align-items: stretch; flex-direction: column; }
  .faq-toolbar > div, .help-safety-actions { justify-content: flex-start; }
  .help-hero-figure { padding: 14px; }
  .help-important { align-items: flex-start; flex-direction: column; }
}

@media print {
  .portal-sidebar, .portal-topbar, .help-jump-nav, .page-actions, .help-hero-actions, .faq-toolbar { display: none !important; }
  .portal-shell, .portal-main { display: block; }
  .portal-content { padding: 0; }
  .launcher-faq details { display: block; }
  .launcher-faq details > div { display: block; }
}
.launcher-download-visual { position: relative; padding: 32px; border-left: 1px solid rgba(176, 218, 255, .14); background: radial-gradient(circle at 80% 0%, rgba(100, 184, 255, .2), transparent 55%), #081421; }
.launcher-window-mark { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 12px; margin-bottom: 27px; }
.launcher-window-mark > span { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #78c5f5; color: #07111f; font-weight: 900; }
.launcher-window-mark strong { color: #edf7ff; font-family: var(--font-display); font-size: 12px; letter-spacing: .12em; }
.launcher-window-mark small { color: #7891a6; font-size: 8px; letter-spacing: .16em; }
.launcher-download-visual ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.launcher-download-visual li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgba(176, 218, 255, .12); background: rgba(7, 17, 29, .8); }
.launcher-download-visual li > b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #78c5f5; color: #07111f; }
.launcher-download-visual li:nth-child(2) > b { background: #ef916b; }
.launcher-download-visual li:nth-child(3) > b { background: #70d49b; }
.launcher-download-visual li span { display: flex; flex-direction: column; color: #edf7ff; font-size: 12px; font-weight: 700; }
.launcher-download-visual li small { color: #7891a6; font-size: 9px; font-weight: 500; }
.launcher-download-visual li em { color: #70d49b; font-size: 9px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.launcher-download-visual li em.soon { color: #d7b56d; }

@media (max-width: 860px) {
  .launcher-download-spotlight { grid-template-columns: 1fr; }
  .launcher-download-visual { border-top: 1px solid rgba(176, 218, 255, .14); border-left: 0; }
}

/* Registratie-opvolging en veilige downloadbegeleiding */
.welcome-flow{max-width:1120px;margin-inline:auto}.welcome-hero{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;padding:clamp(24px,4vw,42px);overflow:hidden;background:radial-gradient(circle at 90% 30%,rgba(61,165,215,.2),transparent 34%),linear-gradient(145deg,#0a1d2b,#07131f)}
.welcome-hero h1{margin:8px 0 12px;font:600 clamp(30px,4vw,48px)/1.08 Cinzel,serif}.welcome-hero p{max-width:720px;color:#9db2c1;line-height:1.7}.welcome-hero img{filter:drop-shadow(0 0 28px rgba(217,168,78,.25))}
.welcome-language{display:flex;gap:6px;margin-bottom:18px}.welcome-language button{min-width:38px;padding:7px 9px;border:1px solid rgba(111,190,232,.32);border-radius:5px;background:#0a2132;color:#a9c2d1;font:700 10px/1 inherit;letter-spacing:.08em;cursor:pointer}.welcome-language button:hover,.welcome-language button:focus-visible,.welcome-language button.is-active{border-color:#d9a84e;color:#f0c979;background:#142c3d;outline:none}
.welcome-checklist{display:grid;gap:12px;margin:18px 0;padding:0;list-style:none}.welcome-checklist li{display:grid;grid-template-columns:54px 1fr auto;gap:18px;align-items:center;padding:20px 22px;border:1px solid rgba(91,169,211,.25);background:linear-gradient(100deg,rgba(18,46,65,.9),rgba(7,19,31,.94));box-shadow:inset 0 1px rgba(220,244,255,.06)}.welcome-checklist li>span{display:grid;place-items:center;width:46px;height:46px;border:1px solid rgba(217,168,78,.48);color:#f0c979;font-weight:800}.welcome-checklist h2{margin:3px 0 5px;font-size:18px}.welcome-checklist p{margin:0;color:#91a8b8;line-height:1.55}.welcome-checklist small{color:#d9a84e;text-transform:uppercase;letter-spacing:.14em}.welcome-checklist li>b{color:#55d6a4;font-size:11px;text-transform:uppercase;letter-spacing:.12em}.welcome-support{display:flex;gap:16px;align-items:center;padding:20px 24px}.welcome-support p{margin:4px 0 0;color:#91a8b8}.welcome-support div{margin-right:auto}.welcome-support>a{color:#f0c979;font-weight:700}
.welcome-progress{display:grid;grid-template-columns:auto minmax(220px,1fr);gap:22px;align-items:center;margin-top:14px;padding:15px 20px}.welcome-progress strong,.welcome-progress span{display:block}.welcome-progress>div>span{margin-top:4px;color:#8fa7b6;font-size:11px}.welcome-progress .progress{height:7px;background:#07131f}.welcome-checklist li.is-done{border-color:rgba(85,214,164,.42)}.welcome-checklist li.is-done>span{border-color:#55d6a4;color:#55d6a4}
.download-guide{margin:16px 0;padding-bottom:18px}.download-guide .card-header{padding:20px 22px}.download-guide .card-header h2{margin:5px 0 0;font-size:21px}.download-guide ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:18px 20px;list-style:none}.download-guide li{display:grid;grid-template-columns:34px 1fr;gap:10px;padding:14px;border:1px solid rgba(91,169,211,.2);background:#091924}.download-guide li>b{display:grid;place-items:center;width:30px;height:30px;border:1px solid #31556f;color:#7dc8ed}.download-guide li strong,.download-guide li span{display:block}.download-guide li span{margin-top:5px;color:#8ea5b5;font-size:11px;line-height:1.5}.download-guide li.is-active{border-color:rgba(217,168,78,.55);background:linear-gradient(145deg,rgba(88,61,20,.22),#091924)}.download-guide-status{margin:0 20px;padding:12px 14px;border-left:3px solid #d9a84e;background:rgba(217,168,78,.07);color:#a9bac6;font-size:12px}
@media(max-width:900px){.download-guide ol{grid-template-columns:1fr 1fr}}@media(max-width:640px){.welcome-hero{grid-template-columns:1fr}.welcome-hero img{display:none}.welcome-progress{grid-template-columns:1fr}.welcome-checklist li{grid-template-columns:42px 1fr}.welcome-checklist li>a,.welcome-checklist li>b{grid-column:2}.welcome-support{align-items:flex-start;flex-wrap:wrap}.download-guide ol{grid-template-columns:1fr}}
.download-planner{margin:16px 0;overflow:hidden}.download-planner .card-header{padding:20px 22px}.download-planner .card-header h2{margin:5px 0 0;font-size:21px}.download-planner-layout{display:grid;grid-template-columns:minmax(250px,.7fr) minmax(360px,1.3fr);border-top:1px solid rgba(91,169,211,.18)}.download-planner-form,.download-planner-result{padding:22px}.download-planner-form{display:grid;align-content:start;gap:9px;background:linear-gradient(145deg,rgba(18,46,65,.6),rgba(7,19,31,.4));border-right:1px solid rgba(91,169,211,.18)}.download-planner-form label:not(.planner-check){margin-top:6px;color:#c5d2dc;font-size:12px;font-weight:700}.download-planner-form select{width:100%;min-height:42px;padding:9px 12px;border:1px solid #31556f;border-radius:3px;background:#071722;color:#e5edf3;font:500 13px Inter,sans-serif}.planner-check{display:flex;gap:10px;align-items:flex-start;margin-top:9px;color:#c5d2dc;font-size:12px;line-height:1.5}.planner-check input{width:17px;height:17px;margin:1px 0 0;accent-color:#d9a84e}.planner-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.planner-metrics div{padding:14px;border:1px solid rgba(91,169,211,.22);background:#081923}.planner-metrics span,.planner-metrics strong{display:block}.planner-metrics span{color:#829cab;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.planner-metrics strong{margin-top:6px;color:#f0c979;font-size:14px;line-height:1.35}.download-planner-result h3{margin:20px 0 10px;font-size:17px}.planner-readiness{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;margin:0 0 18px;padding:0;list-style:none}.planner-readiness li{display:flex;gap:9px;color:#aebfca;font-size:12px;line-height:1.5}.planner-readiness li span{color:#55d6a4;font-weight:800}.download-planner-note{margin:14px 0 0;color:#8fa7b6;font-size:12px;line-height:1.6}
@media(max-width:800px){.download-planner-layout{grid-template-columns:1fr}.download-planner-form{border-right:0;border-bottom:1px solid rgba(91,169,211,.18)}}@media(max-width:560px){.planner-metrics,.planner-readiness{grid-template-columns:1fr}.download-planner-form,.download-planner-result{padding:18px}.download-planner .download-actions{display:grid}.download-planner .download-actions .button{width:100%;justify-content:center}}
.system-readiness{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(420px,1.3fr);gap:24px;align-items:center;padding:20px 22px;border-top:1px solid rgba(91,169,211,.18);background:rgba(4,15,23,.44)}.system-readiness h3{margin:0 0 6px;font-size:16px}.system-readiness p{margin:0;color:#8fa7b6;font-size:12px;line-height:1.6}.system-readiness ul{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:0;list-style:none}.system-readiness li{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid rgba(91,169,211,.2);font-size:11px}.system-readiness li span{color:#8fa7b6}.system-readiness li strong{color:#d8e4ea;text-align:right}.system-readiness li strong[data-state="ok"]{color:#55d6a4}.system-readiness li strong[data-state="check"]{color:#f0c979}.download-health{margin:16px 0;overflow:hidden}.download-health .card-header{padding:20px 22px}.download-health .card-header h2{margin:5px 0 0;font-size:21px}.download-health-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:18px 20px;border-top:1px solid rgba(91,169,211,.18)}.download-health-card{padding:16px;border:1px solid rgba(91,169,211,.22);background:#081923}.download-health-card h3{margin:0 0 6px;font-size:15px}.download-health-card p{margin:0 0 12px;color:#9fb1bd;font-size:12px}.download-health-card small{display:block;margin-top:10px;color:#839caa;line-height:1.5}.download-health-checked{margin:0 20px 18px;color:#8fa7b6;font-size:11px}
@media(max-width:800px){.system-readiness{grid-template-columns:1fr}.download-health-cards{grid-template-columns:1fr}}@media(max-width:560px){.system-readiness ul{grid-template-columns:1fr}.system-readiness{padding:18px}}
.release-rollback-box{display:grid;grid-template-columns:minmax(240px,1fr) minmax(260px,.8fr) auto;gap:14px;align-items:center;margin-top:18px;padding:16px;border:1px solid rgba(217,168,78,.3);background:rgba(217,168,78,.06)}.release-rollback-box p{margin:5px 0 0;color:#8fa7b6;font-size:11px;line-height:1.5}.release-rollback-box select{min-height:40px;padding:8px 10px;border:1px solid #31556f;background:#071722;color:#e5edf3}@media(max-width:850px){.release-rollback-box{grid-template-columns:1fr}.release-rollback-box .button{width:100%;justify-content:center}}
.changelog-card{min-height:300px}.changelog-card h2{margin:14px 0 7px;font-size:19px}.changelog-version{display:block;color:#f0c979;font-size:16px}.changelog-card p{color:#8fa7b6;line-height:1.55}.changelog-card ul{display:grid;gap:8px;padding-left:18px;color:#b7c6cf;font-size:12px;line-height:1.5}
.funnel-day-wrap{max-height:430px;overflow:auto;border-bottom:1px solid rgba(91,169,211,.18)}.funnel-day-wrap .data-table{margin:0}.funnel-day-wrap thead{position:sticky;top:0;z-index:1;background:#0a1b28}

@media (max-width: 560px) {
  .launcher-download-copy, .launcher-download-visual { padding: 24px; }
  .launcher-download-copy .download-actions .button { width: 100%; }
  .launcher-download-visual li { grid-template-columns: auto 1fr; }
  .launcher-download-visual li em { grid-column: 2; }
}

/* Metal-portal treatment for account, armory, shop and admin surfaces. */
.portal-page {
  background:
    radial-gradient(circle at 82% 4%, rgba(69, 156, 205, .14), transparent 31rem),
    radial-gradient(circle at 30% 0%, rgba(217, 168, 78, .06), transparent 25rem),
    #040a12;
}

.portal-sidebar {
  border-right-color: rgba(91, 171, 215, .38);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 22%),
    linear-gradient(180deg, #102a3d 0%, #071522 35%, #030912 100%);
  box-shadow: inset -1px 0 rgba(195, 234, 255, .08), 14px 0 36px rgba(0,0,0,.24);
}

.portal-sidebar::after {
  content: "";
  position: absolute;
  inset: 0 -2px 0 auto;
  width: 2px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, #4fa8d8 20%, #d9a84e 51%, #4fa8d8 82%, transparent);
  opacity: .58;
}

.portal-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(79,168,216,.26)) drop-shadow(0 0 13px rgba(217,168,78,.12));
}

.portal-realm,
.balance-pill,
.icon-button {
  border-color: rgba(104, 186, 228, .3);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 48%),
    linear-gradient(145deg, rgba(24,59,81,.88), rgba(5,16,27,.94));
  box-shadow: inset 0 1px rgba(211,242,255,.1), inset 0 -1px rgba(0,0,0,.7);
}

.portal-nav a {
  border-left-width: 2px;
  background: linear-gradient(90deg, transparent, rgba(77,162,210,.015));
}
.portal-nav a:hover,
.portal-nav a.active {
  border-color: rgba(93, 177, 221, .25);
  background:
    linear-gradient(90deg, rgba(52, 124, 165, .2), rgba(12, 34, 49, .45));
  box-shadow: inset 2px 0 #d9a84e, inset 0 1px rgba(191,230,250,.05);
}

.portal-topbar {
  border-bottom-color: rgba(92, 172, 216, .32);
  background:
    linear-gradient(90deg, transparent, rgba(217,168,78,.04), transparent),
    linear-gradient(180deg, rgba(17,40,58,.97), rgba(5,15,25,.96));
  box-shadow: inset 0 -1px rgba(197,234,253,.06), 0 12px 28px rgba(0,0,0,.22);
}

.portal-topbar::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #347b9f 25%, #d9a84e 50%, #347b9f 75%, transparent);
  opacity: .65;
}

.portal-card,
.dashboard-card,
.form-card,
.auth-card,
.shop-product-card,
.armory-item,
.launcher-download-spotlight,
.launcher-download-visual li {
  border-color: rgba(103, 185, 226, .25);
  background:
    linear-gradient(135deg, rgba(255,255,255,.035), transparent 24%),
    linear-gradient(150deg, rgba(19,47,67,.95), rgba(5,15,25,.98) 70%);
  box-shadow: inset 0 1px rgba(210,241,255,.1), inset 0 -1px rgba(0,0,0,.66), 0 20px 44px rgba(0,0,0,.18);
}

.portal-card,
.dashboard-card,
.form-card,
.auth-card,
.shop-product-card { position: relative; }

.portal-card::before,
.dashboard-card::before,
.form-card::before,
.auth-card::before,
.shop-product-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, #4fa8d8, #d9a84e, transparent);
  opacity: .62;
  pointer-events: none;
}

.card-header,
.data-table th,
.quick-item,
.character-meta span,
.armory-item {
  border-color: rgba(99, 177, 219, .16);
}

.card-header {
  background: linear-gradient(90deg, rgba(57,129,167,.1), transparent 62%);
  box-shadow: inset 0 -1px rgba(0,0,0,.38);
}

.stat-icon,
.quick-item-icon,
.avatar,
.launcher-window-mark > span,
.launcher-download-visual li > b {
  border-color: rgba(111, 190, 232, .42);
  background:
    linear-gradient(180deg, rgba(255,255,255,.1), transparent 45%),
    linear-gradient(145deg, #275f7e, #0a2132);
  color: #c4edff;
  box-shadow: inset 0 1px rgba(225,247,255,.15), inset 0 -1px rgba(0,0,0,.7), 0 0 16px rgba(79,168,216,.08);
}
.stat-icon.gold,
.launcher-download-visual li:nth-child(2) > b {
  border-color: rgba(236, 197, 115, .5);
  background: linear-gradient(145deg, #d9a84e, #72501c);
  color: #07131f;
}

.portal-content input,
.portal-content select,
.portal-content textarea,
.auth-card input {
  border-color: rgba(91, 169, 211, .28);
  background: linear-gradient(180deg, rgba(3,10,17,.94), rgba(8,24,36,.94));
  box-shadow: inset 0 1px 5px rgba(0,0,0,.52), 0 1px rgba(198,235,255,.04);
}
.portal-content input:focus,
.portal-content select:focus,
.portal-content textarea:focus,
.auth-card input:focus {
  border-color: rgba(255, 210, 127, .62);
  box-shadow: inset 0 1px 5px rgba(0,0,0,.52), 0 0 0 2px rgba(217,168,78,.08), 0 0 18px rgba(217,168,78,.08);
}

.data-table tbody tr:hover { background: linear-gradient(90deg, rgba(67,147,190,.11), transparent); }
.tag.gold,
.balance-pill strong,
.rank { color: #f0c979; }

@media (max-width: 860px) {
  .portal-sidebar { box-shadow: 12px 0 32px rgba(0,0,0,.4); }
  .portal-topbar::after { opacity: .48; }
}
