@font-face {
    font-family: "Lifecraft";
    src: url("/system/lib/Lifecraft.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Adventure Sans";
    src: url("/system/lib/segoeui-normal.ttf") format("truetype");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Adventure Sans";
    src: url("/system/lib/segoeui-bold.ttf") format("truetype");
    font-display: swap;
    font-style: normal;
    font-weight: 700;
}

:root {
    color-scheme: dark;
    --ink-950: #030714;
    --ink-900: #071020;
    --ink-850: #0a172c;
    --ink-800: #0e203a;
    --alliance-700: #124d9c;
    --alliance-600: #1768c7;
    --alliance-500: #2e88e6;
    --alliance-300: #8ac9ff;
    --ice-100: #e9f5ff;
    --gold-500: #d9a93a;
    --gold-400: #f1c75b;
    --gold-300: #ffe49a;
    --paper: #f5ead0;
    --text: #eef6ff;
    --muted: #a9bad0;
    --success: #59d28c;
    --danger: #ff7b7b;
    --warning: #f0bd58;
    --line: rgba(139, 190, 236, 0.2);
    --line-gold: rgba(241, 199, 91, 0.48);
    --panel: rgba(8, 20, 39, 0.91);
    --panel-raised: rgba(12, 29, 54, 0.96);
    --shadow: 0 1rem 1.25rem -1rem rgba(0, 0, 0, 0.82);
    --radius-sm: 0.25rem;
    --radius: 0.4rem;
    --radius-lg: 0.55rem;
    --site-width: 86rem;
    --hero-fade-start: 64rem;
    --hero-fade-end: 104rem;
}

:root[data-theme="horde"] {
    --ink-950: #120305;
    --ink-900: #1c070a;
    --ink-850: #270b0f;
    --ink-800: #351017;
    --alliance-700: #75151d;
    --alliance-600: #a51f2a;
    --alliance-500: #d13a42;
    --alliance-300: #ff9b9b;
    --ice-100: #fff0e7;
    --gold-500: #b88a34;
    --gold-400: #dfb65c;
    --gold-300: #f6d995;
    --text: #fff2eb;
    --muted: #c9aba8;
    --line: rgba(237, 130, 122, 0.22);
    --line-gold: rgba(223, 182, 92, 0.5);
    --panel: rgba(35, 8, 13, 0.92);
    --panel-raised: rgba(49, 12, 18, 0.96);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.site-body {
    min-width: 20rem;
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(3, 8, 21, 0.5) 0, rgba(3, 8, 21, 0.5) var(--hero-fade-start), rgba(3, 8, 21, 0.96) var(--hero-fade-end)),
        url("/system/img/hero-ironforge.png?v=20260808-background") center top / cover fixed no-repeat,
        var(--ink-950);
    font: 400 1.0625rem/1.6 "Adventure Sans", "Segoe UI", sans-serif;
}

:root[data-theme="horde"] body.site-body {
    background:
        linear-gradient(180deg, rgba(22, 2, 5, 0.55) 0, rgba(22, 2, 5, 0.55) var(--hero-fade-start), rgba(14, 2, 4, 0.97) var(--hero-fade-end)),
        linear-gradient(90deg, rgba(97, 5, 14, 0.26), transparent 55%),
        url("/system/img/hero-orgrimmar.png?v=20260808-horde-background") center top / cover fixed no-repeat,
        var(--ink-950);
}

body.site-body::before { display: none; }

body.site-body img {
    display: block;
    max-width: 100%;
}

body.site-body a {
    color: var(--alliance-300);
    text-decoration-color: rgba(138, 201, 255, 0.45);
    text-underline-offset: 0.2em;
}

body.site-body a:hover {
    color: var(--gold-300);
    text-decoration-color: currentColor;
}

body.site-body button,
body.site-body input,
body.site-body select {
    font: inherit;
}

body.site-body button,
body.site-body a {
    -webkit-tap-highlight-color: transparent;
}

body.site-body :focus-visible {
    outline: 3px solid var(--gold-400);
    outline-offset: 3px;
}

body.site-body h2 {
    font-family: Lifecraft, Georgia, serif;
    font-weight: 400;
}

.site-shell {
    width: min(var(--site-width), calc(100% - 2rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid var(--line-gold);
    background: rgba(3, 9, 22, 0.97);
    box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.28);
}

.site-header__inner {
    display: flex;
    min-height: 5rem;
    align-items: center;
    justify-content: flex-start;
    gap: 0.7rem;
}

.site-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.7rem;
    color: var(--text) !important;
    text-decoration: none;
}

.site-brand__crest {
    display: block;
    width: 3.25rem;
    height: 3.25rem;
    flex: 0 0 auto;
    filter: drop-shadow(0 0.3rem 0.55rem rgba(0, 0, 0, 0.72)) drop-shadow(0 0 0.7rem rgba(46, 136, 230, 0.24));
}

.site-brand__crest img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

:root[data-theme="horde"] .site-brand__crest {
    filter: drop-shadow(0 0.3rem 0.55rem rgba(0, 0, 0, 0.75)) drop-shadow(0 0 0.75rem rgba(209, 58, 66, 0.32));
}

.site-brand__text {
    display: grid;
    min-width: 0;
    line-height: 1;
}

.site-brand__name {
    color: var(--gold-300);
    font-family: Lifecraft, Georgia, serif;
    font-size: clamp(1.85rem, 2.7vw, 2.2rem);
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 0.95;
    text-shadow: 0 0.12rem 0 #311b04, 0 0.2rem 0.75rem rgba(0, 0, 0, 0.75);
    -webkit-text-stroke: 0.025rem rgba(255, 222, 139, 0.42);
}

.site-brand__realm {
    margin-top: 0.3rem;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1.1;
    text-transform: none;
    white-space: nowrap;
}

.site-brand:hover .site-brand__name {
    color: var(--gold-200);
}

.site-nav {
    display: flex;
    align-items: stretch;
    gap: 0.12rem;
    padding: 0.22rem;
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    background: rgba(7, 16, 32, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 0.4rem 1rem rgba(0, 0, 0, 0.16);
}

.theme-toggle {
    display: inline-flex;
    width: 2.9rem;
    min-height: 2.9rem;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    color: var(--gold-300);
    background: rgba(7, 16, 32, 0.72);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.theme-toggle:hover { border-color: var(--line-gold); }

.theme-toggle__icon {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    filter: drop-shadow(0 0.16rem 0.2rem rgba(0, 0, 0, 0.72));
}

:root[data-theme="horde"] .site-header,
:root[data-theme="horde"] .theme-toggle {
    background-color: rgba(28, 4, 8, 0.94);
}

:root[data-theme="horde"] .site-nav {
    background: rgba(37, 7, 12, 0.78);
}

:root[data-theme="horde"] .realm-panel,
:root[data-theme="horde"] .panel,
:root[data-theme="horde"] .tool-card,
:root[data-theme="horde"] .feature-card,
:root[data-theme="horde"] .step-card,
:root[data-theme="horde"] .catalog-card {
    background: linear-gradient(145deg, rgba(58, 13, 20, 0.95), rgba(22, 5, 9, 0.97));
}

:root[data-theme="horde"] .tool-card:hover {
    background: linear-gradient(145deg, rgba(92, 19, 28, 0.97), rgba(34, 7, 13, 0.98));
}

.site-nav a,
.site-nav__account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.45rem;
    padding: 0.55rem 0.7rem;
    border: 0;
    border-radius: 0.42rem;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-family: "Adventure Sans", "Segoe UI", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-decoration: none;
    text-transform: uppercase;
}

body.site-body .site-nav__account {
    font-family: "Adventure Sans", "Segoe UI", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.035em;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav__account:hover {
    color: var(--gold-300);
    background: rgba(46, 136, 230, 0.12);
}

.site-nav__account-form {
    display: flex;
    align-items: stretch;
    margin: 0;
}

.site-nav a.site-nav__discord {
    margin: 0;
    border: 0;
    color: var(--muted);
}

.site-nav a.site-nav__discord:hover {
    color: var(--gold-300);
}

.site-nav-toggle {
    display: none;
    min-width: 2.75rem;
    min-height: 2.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--text);
    background: var(--ink-800);
    cursor: pointer;
}

.site-main {
    padding-block: 0 4rem;
}

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 42rem;
    align-items: center;
    grid-template-columns: minmax(0, 1fr);
    background: transparent;
    text-align: left;
}

.hero::after {
    content: none;
}

:root[data-theme="horde"] .hero {
    background: transparent;
}

.hero__content {
    display: grid;
    width: min(53%, 46rem);
    justify-items: start;
    padding-block: clamp(2rem, 4.5vw, 4.5rem);
    padding-inline: 0;
}

.hero__logo {
    width: 100%;
    max-width: 46rem;
    margin: 0 0 1.5rem;
    filter: drop-shadow(0 1rem 2rem rgba(0, 0, 0, 0.54));
}

.hero h1,
.page-hero h1 {
    margin: 0;
    color: var(--gold-300);
    font-family: Lifecraft, Georgia, serif;
    font-weight: 400;
    letter-spacing: 0.035em;
    line-height: 1.05;
    text-shadow: 0 0.2rem 1.25rem rgba(0, 0, 0, 0.55);
}

.hero h1 {
    width: 86%;
    max-width: 23ch;
    justify-self: center;
    font-size: clamp(2rem, 3.4vw, 3rem);
    text-align: left;
}

.hero__lede {
    width: 86%;
    max-width: 36rem;
    justify-self: center;
    margin: 1.25rem 0 0;
    color: #d5e4f2;
    font-size: clamp(1rem, 2vw, 1.18rem);
    text-align: left;
    text-shadow: 0 0.15rem 0.8rem rgba(0, 0, 0, 0.8);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
    justify-content: center;
}

.button,
button.button {
    display: inline-flex;
    min-height: 2.9rem;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 1.05rem;
    border: 1px solid rgba(138, 201, 255, 0.45);
    border-radius: var(--radius-sm);
    color: white !important;
    background: linear-gradient(180deg, var(--alliance-500), var(--alliance-700));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 0.5rem 1.25rem rgba(5, 62, 132, 0.28);
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
}

.button:hover {
    border-color: var(--gold-300);
    color: var(--gold-300) !important;
    transform: translateY(-1px);
}

.button--secondary {
    border-color: var(--line-gold);
    color: var(--gold-300) !important;
    background: linear-gradient(180deg, rgba(37, 48, 67, 0.96), rgba(10, 21, 39, 0.98));
}

.button--quiet {
    min-height: 2.4rem;
    padding: 0.45rem 0.75rem;
    border-color: var(--line);
    color: var(--muted) !important;
    background: rgba(7, 16, 32, 0.72);
    box-shadow: none;
    font-size: 0.84rem;
}

.realm-panel,
.panel,
.tool-card,
.feature-card,
.step-card,
.catalog-card {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(15, 36, 66, 0.94), rgba(6, 17, 34, 0.96));
    box-shadow: var(--shadow);
}

.realm-panel {
    position: relative;
    overflow: hidden;
    padding: 1.2rem;
    border-color: var(--line-gold);
    border-radius: var(--radius-lg);
    width: min(48rem, 100%);
    margin-inline: auto;
    text-align: left;
}

.hero__realm {
    width: 86%;
    max-width: 36rem;
    justify-self: center;
    margin: 1.5rem 0 0;
}

.realm-panel::before {
    position: absolute;
    width: 12rem;
    height: 12rem;
    top: -7rem;
    right: -4rem;
    border-radius: 50%;
    background: rgba(46, 136, 230, 0.22);
    filter: blur(1rem);
    content: "";
}

.realm-panel__title {
    margin: 0 0 0.9rem;
    color: var(--gold-300);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.status-list {
    display: grid;
    gap: 0.6rem;
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(139, 190, 236, 0.13);
    border-radius: 0.6rem;
    background: rgba(2, 9, 21, 0.5);
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.status-indicator::before {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: #667386;
    box-shadow: 0 0 0.75rem currentColor;
    content: "";
}

.status-indicator[data-status="online"] {
    color: var(--success);
}

.status-indicator[data-status="online"]::before {
    background: var(--success);
}

.status-indicator[data-status="offline"] {
    color: var(--danger);
}

.status-indicator[data-status="offline"]::before {
    background: var(--danger);
}

.realmlist {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.realmlist__label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.realmlist__value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--gold-300);
    font: 700 0.9rem/1.3 ui-monospace, Consolas, monospace;
    overflow-wrap: anywhere;
}

.realmlist__address {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.55rem;
}

.realmlist__account {
    flex: 0 0 auto;
    font-family: SegoeUI, Arial, sans-serif;
}

.realmlist__copy {
    display: inline-grid;
    width: 1.8rem;
    height: 1.8rem;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 0.35rem;
    color: var(--gold-400);
    background: transparent;
    cursor: pointer;
}

.realmlist__copy:hover,
.realmlist__copy:focus-visible,
.realmlist__copy.is-copied {
    color: var(--gold-200);
    background: rgba(46, 136, 230, 0.18);
}

.section {
    padding-block: clamp(2rem, 4vw, 3.5rem);
    scroll-margin-top: 5rem;
}

.section-heading {
    display: block;
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    margin: 0;
    padding-bottom: 0;
    border-bottom: 0;
    color: var(--gold-300);
    font-size: clamp(1.55rem, 3vw, 2rem);
    line-height: 1.2;
}

.page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.section-heading p:last-child {
    max-width: 38rem;
    margin: 0.8rem 0 0;
    color: var(--muted);
}

.tool-grid,
.feature-grid,
.step-grid,
.catalog-grid {
    display: grid;
    gap: 1rem;
}

.tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-card {
    position: relative;
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 1.25rem;
    border-bottom-color: var(--gold-500);
    border-radius: var(--radius);
    color: var(--text) !important;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.tool-card:hover {
    border-color: var(--line-gold);
    background: linear-gradient(145deg, rgba(18, 56, 105, 0.97), rgba(8, 24, 48, 0.98));
    transform: translateY(-2px);
}

.tool-card__number,
.tool-card__icon {
    margin-bottom: 0.8rem;
    color: var(--gold-400);
    font-size: 1.5rem;
}

.tool-card h3,
.feature-card h3,
.step-card h3,
.catalog-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.05rem;
}

.tool-card p,
.feature-card p,
.step-card p,
.catalog-card p {
    margin: 0.45rem 0 0;
    color: var(--muted);
    font-size: 0.91rem;
}

.feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
    display: grid;
    grid-template-columns: 3.6rem minmax(0, 1fr);
    column-gap: 1rem;
    padding: clamp(1.35rem, 2.5vw, 2rem);
    border-bottom-color: var(--gold-500);
    border-radius: var(--radius);
}

.feature-card__icon {
    grid-row: 1 / span 2;
    width: 3.6rem;
    height: 3.6rem;
    margin-bottom: 0;
    filter: drop-shadow(0 0.4rem 0.75rem rgba(0, 0, 0, 0.4));
}

.feature-card ul {
    grid-column: 2;
    display: grid;
    gap: 0.5rem;
    margin: 0.85rem 0 0;
    padding: 0;
    color: #cfdeeb;
    font-size: 0.96rem;
    line-height: 1.55;
    list-style: none;
}

.feature-card li {
    position: relative;
    padding-left: 1rem;
}

.feature-card li strong { color: var(--text); }

.feature-card li::before {
    position: absolute;
    left: 0;
    color: var(--gold-400);
    content: "◆";
    font-size: 0.5rem;
    transform: translateY(0.35rem);
}

.panel {
    padding: clamp(1.1rem, 3vw, 2rem);
    border-radius: var(--radius-lg);
    border-bottom-color: var(--gold-500);
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 1.15fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: start;
}

.account-layout h2 {
    margin: 0;
    color: var(--gold-300);
    font: 400 clamp(2rem, 4vw, 3rem)/1.05 Lifecraft, serif;
}

.account-layout__copy > p {
    color: var(--muted);
}

.form-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.3rem;
    border: 1px solid var(--line);
    border-radius: 0.7rem;
    background: rgba(2, 9, 21, 0.6);
}

.form-tab {
    min-height: 2.55rem;
    border: 0;
    border-radius: 0.5rem;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-weight: 700;
}

.form-tab[aria-selected="true"] {
    color: var(--gold-300);
    background: rgba(23, 104, 199, 0.26);
    box-shadow: inset 0 0 0 1px rgba(138, 201, 255, 0.15);
}

.form-stack {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.field {
    display: grid;
    gap: 0.35rem;
}

.field label {
    color: #c9d8e6;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.field input,
.field select,
.search-input {
    width: 100%;
    min-height: 3rem;
    padding: 0.68rem 0.8rem;
    border: 1px solid rgba(139, 190, 236, 0.28);
    border-radius: var(--radius-sm);
    color: var(--text);
    background: rgba(2, 8, 19, 0.76);
}

.field input:hover,
.field input:focus,
.field select:focus,
.search-input:focus {
    border-color: var(--alliance-300);
}

.field-hint,
.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.form-status {
    display: none;
    margin: 0;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(2, 9, 21, 0.65);
}

.form-status.is-visible {
    display: block;
}

.form-status.is-success {
    border-color: rgba(89, 210, 140, 0.45);
    color: #baf2cf;
}

.form-status.is-error {
    border-color: rgba(255, 123, 123, 0.45);
    color: #ffc1c1;
}

.verification-code input {
    max-width: 14rem;
    font-size: 1.2rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.22em;
    text-align: center;
}

.verification-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
}

.verification-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.15rem 0;
    border: 0;
    color: var(--alliance-300);
    background: transparent;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
}

.verification-action:hover {
    color: var(--gold-300);
}

.verification-action:disabled {
    color: var(--muted);
    cursor: wait;
    opacity: 0.7;
}

.recaptcha-wrap {
    width: 100%;
    overflow-x: auto;
}

.g-recaptcha {
    width: 304px;
    height: 78px;
    overflow: hidden;
    border-radius: 3px;
    background: #222;
}

.g-recaptcha iframe {
    display: block !important;
    border: 0 !important;
    background: #222;
    color-scheme: dark;
}

.account-session {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(2, 9, 21, 0.58);
}

.account-session p,
.account-session form {
    margin: 0;
}

.account-session__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
    position: relative;
    overflow: hidden;
    min-height: 15rem;
    padding: 1.25rem;
    border-bottom-color: var(--gold-500);
    border-radius: var(--radius);
    transition: transform 240ms ease, border-color 240ms ease, background 420ms ease, box-shadow 240ms ease, opacity 240ms ease;
}

.step-card__number {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.8rem;
    place-items: center;
    border: 1px solid var(--line-gold);
    border-radius: 0.25rem;
    color: var(--gold-300);
    background: rgba(23, 104, 199, 0.18);
    font: 700 1.05rem/1 "Adventure Sans", "Segoe UI", sans-serif;
    transform: rotate(45deg);
    transition: color 240ms ease, border-color 240ms ease, background 320ms ease, transform 420ms cubic-bezier(0.2, 0.9, 0.25, 1.35);
}

.step-card__number > span,
.step-card__number > i {
    grid-area: 1 / 1;
    transform: rotate(-45deg);
}

.step-card__number > i {
    opacity: 0;
    font-size: 1.7rem;
    filter: drop-shadow(0 0.15rem 0.2rem rgba(0, 0, 0, 0.55));
    transform: rotate(-45deg) scale(0.45);
}

.onboarding-step::after {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.24) 48%, transparent 62%);
    content: "";
    pointer-events: none;
    transform: translateX(-145%);
}

.onboarding-step > * {
    position: relative;
    z-index: 1;
}

.onboarding-step:not(.is-ready):not(.is-complete):not(.is-completing) {
    opacity: 0.66;
}

.onboarding-step.is-ready {
    border-color: rgba(125, 211, 156, 0.68);
    background: linear-gradient(145deg, rgba(24, 92, 66, 0.88), rgba(9, 31, 54, 0.97) 72%);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(139, 231, 170, 0.08);
    transform: translateY(-0.35rem);
}

:root[data-theme="horde"] .onboarding-step.is-ready {
    background: linear-gradient(145deg, rgba(32, 100, 63, 0.9), rgba(61, 14, 20, 0.97) 76%);
}

.onboarding-step.is-complete,
.onboarding-step.is-completing {
    border-color: rgba(134, 228, 164, 0.74);
    background: linear-gradient(145deg, rgba(23, 111, 66, 0.96), rgba(7, 57, 39, 0.98));
    box-shadow: inset 0 0 1.4rem rgba(132, 234, 165, 0.08);
}

.onboarding-step.is-completing::after {
    animation: onboarding-sheen 820ms ease-out both;
}

.onboarding-step.is-complete .step-card__number,
.onboarding-step.is-completing .step-card__number {
    border-color: #b9f3c9;
    color: #e4ffeb;
    background: linear-gradient(145deg, #348c50, #155f36);
    transform: rotate(45deg) scale(1.08);
}

.onboarding-step.is-complete .step-card__number > span,
.onboarding-step.is-completing .step-card__number > span {
    opacity: 0;
}

.onboarding-step.is-complete .step-card__number > i,
.onboarding-step.is-completing .step-card__number > i {
    opacity: 1;
    transform: rotate(-45deg) scale(1);
    transition: opacity 180ms ease 120ms, transform 500ms cubic-bezier(0.2, 0.9, 0.25, 1.45) 100ms;
}

.onboarding-step__action {
    display: inline-flex;
    min-height: 2.4rem;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.35rem 0;
    border: 0;
    color: var(--gold-300) !important;
    background: transparent;
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
}

.onboarding-step__action:hover,
.onboarding-step__action:focus-visible {
    color: var(--gold-200) !important;
}

.onboarding-step:not(.is-ready) .onboarding-step__action {
    visibility: hidden;
    pointer-events: none;
}

.onboarding-step__copy {
    font-family: inherit;
}

.onboarding.is-finished {
    overflow: hidden;
    animation: onboarding-finish 1s ease both;
}

@keyframes onboarding-sheen {
    from { transform: translateX(-145%); }
    to { transform: translateX(145%); }
}

@keyframes onboarding-finish {
    0%, 65% { max-height: 34rem; opacity: 1; }
    100% { max-height: 0; padding-block: 0; opacity: 0; }
}

.online-players {
    display: none;
    padding: 1rem;
    border-block: 1px solid var(--line);
    background: rgba(3, 10, 24, 0.82);
}

.online-players.is-visible {
    display: block;
}

.online-players__inner {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    overflow-x: auto;
    scrollbar-color: var(--alliance-600) transparent;
}

.online-players__label {
    position: sticky;
    left: 0;
    flex: 0 0 auto;
    padding-right: 0.5rem;
    color: var(--gold-400);
    background: var(--ink-950);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

[data-player-list] {
    display: flex;
    gap: 0.7rem;
}

.player-card {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    width: clamp(12rem, 16vw, 14rem);
    min-width: 0;
    gap: 0.6rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--text) !important;
    background: linear-gradient(140deg, var(--ink-800), var(--ink-900));
    text-decoration: none;
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.14);
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.player-card::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: 67%;
    background-repeat: no-repeat;
    background-position: -18px -65px;
    background-size: 120% auto;
    opacity: 0.03;
    pointer-events: none;
    transition: opacity 160ms ease;
}

.player-card--alliance::before {
    background-image: url('/system/img/alliance.png?v=20260809-faction-icons');
}

.player-card--horde::before {
    background-image: url('/system/img/horde.png?v=20260809-faction-icons');
}

.player-card--horde {
    border-color: rgba(237, 130, 122, 0.22);
    background: linear-gradient(145deg, rgba(58, 13, 20, 0.95), rgba(22, 5, 9, 0.97));
}

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

.player-card:hover,
.player-card:focus-visible {
    border-color: var(--line-gold);
    color: var(--gold-300) !important;
    background: linear-gradient(140deg, var(--ink-800), var(--ink-850));
    box-shadow: 0 0.55rem 1.25rem rgba(0, 0, 0, 0.25), inset 0 0 1rem rgba(241, 199, 91, 0.05);
}

.player-card--horde:hover,
.player-card--horde:focus-visible {
    background: linear-gradient(145deg, rgba(92, 19, 28, 0.97), rgba(34, 7, 13, 0.98));
}

.player-card:hover::before,
.player-card:focus-visible::before {
    opacity: 0.05;
}

.player-card__avatar {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line-gold);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, rgba(241, 199, 91, 0.28), rgba(7, 22, 35, 0.95) 70%);
}

.player-card__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.player-card__body {
    display: grid;
    min-width: 0;
    line-height: 1.15;
}

.player-card__level {
    color: var(--gold-400);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.player-card__name,
.player-card__details {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-card__name {
    margin-top: 0.1rem;
    color: inherit;
    font-size: 0.9rem;
}

.player-card__details {
    margin-top: 0.15rem;
    color: var(--muted);
    font-size: 0.68rem;
}

.player-card__arrow {
    margin-left: auto;
    color: var(--muted);
    font-size: 1.2rem;
    transition: color 160ms ease, transform 160ms ease;
}

.player-card:hover .player-card__arrow,
.player-card:focus-visible .player-card__arrow {
    color: var(--gold-300);
    transform: translateX(0.15rem);
}

.page-hero {
    padding-block: clamp(2.5rem, 7vw, 5rem) 2rem;
}

.page-heading__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.55rem;
    color: var(--gold-300);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.35;
    text-transform: uppercase;
}

.page-heading__eyebrow a,
.page-heading__eyebrow a:visited {
    color: var(--gold-300);
    text-decoration: none;
}

.page-heading__eyebrow a:hover,
.page-heading__eyebrow a:focus-visible {
    color: #fff;
}

.page-heading__separator {
    color: var(--muted);
    font-size: 0.68em;
    opacity: 0.8;
}

.page-heading__title,
.page-hero h1 {
    margin: 0;
    color: var(--text);
    font: 400 clamp(2.2rem, 5vw, 3.7rem)/1 Lifecraft, Georgia, serif;
    letter-spacing: 0.035em;
}

.page-heading__lede,
.page-hero p:last-child {
    max-width: 48rem;
    margin: 0.8rem 0 0;
    color: var(--muted);
}

.site-footer {
    padding-block: 2rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: rgba(2, 7, 16, 0.9);
    font-size: 0.8rem;
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer p {
    margin: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

[hidden] {
    display: none !important;
}

@media (max-width: 64rem) {
    .site-nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 1rem;
        left: 1rem;
        display: none;
        padding: 0.65rem;
        border: 1px solid var(--line-gold);
        border-radius: 0 0 var(--radius) var(--radius);
        background: rgba(3, 10, 24, 0.98);
        box-shadow: var(--shadow);
    }

    :root[data-theme="horde"] .site-nav { background: rgba(28, 4, 8, 0.98); }

    .site-nav.is-open {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(8.25rem, 1fr));
        gap: 0.25rem;
    }

    .site-nav a,
    .site-nav__account {
        width: 100%;
        text-align: center;
    }

    .site-nav__account-form {
        width: 100%;
    }

    .hero__content { width: min(55%, 40rem); }

    .realm-panel {
        max-width: 34rem;
    }

    .tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 45rem) {
    :root {
        --hero-fade-start: 54rem;
        --hero-fade-end: 88rem;
    }

    .site-shell {
        width: min(100% - 1rem, var(--site-width));
    }

    .site-header__inner {
        min-height: 4.25rem;
    }

    .site-brand__realm {
        display: none;
    }

    .site-brand {
        gap: 0.4rem;
    }

    .site-brand__crest {
        width: 2.65rem;
        height: 2.65rem;
    }

    .site-brand__name {
        font-size: clamp(1.55rem, 7vw, 1.85rem);
    }

    .site-nav {
        right: 0.5rem;
        left: 0.5rem;
        grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)) !important;
    }

    .hero {
        min-height: 38rem;
        background: linear-gradient(90deg, rgba(2, 8, 21, 0.72), rgba(2, 8, 21, 0.38));
        text-align: center;
    }

    :root[data-theme="horde"] .hero {
        background: linear-gradient(90deg, rgba(24, 3, 7, 0.78), rgba(24, 3, 7, 0.42));
    }

    .hero__content {
        width: 100%;
        justify-items: center;
        padding: 2rem 0;
    }

    .hero__logo {
        width: min(31rem, 100%);
    }

    .hero h1,
    .hero__lede,
    .hero__realm {
        width: 90%;
    }

    .realmlist__value {
        align-items: flex-start;
        flex-direction: column;
    }

    .tool-grid,
    .feature-grid,
    .step-grid,
    .account-layout {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: block;
    }

    .section-heading p:last-child {
        margin-top: 0.6rem;
    }

    .site-footer__inner {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
