:root {
    --bg-deep: #080812;
    --bg-base: rgb(13, 18, 24);
    --bg-surface: rgb(16, 22, 30);
    --chrome-h: 95px;
    --gold: #c09630;
    --gold-light: #e8c85a;
    --parchment: #e8dcc8;
    --muted: #7a6c58;
    --dim: #5a5040;
    --vrylios: #6a9acc;
    --raethia: #7ab060;
    --danger: #c06030;
    --success: #5ab060;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.st-body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg-base);
    color: var(--parchment);
    -webkit-font-smoothing: antialiased;
    font-family: "EB Garamond", serif;
}

body.st-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.018;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px;
}

::selection {
    background: rgba(192, 150, 48, 0.25);
    color: #e8c85a;
}

::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-thumb {
    background: rgba(192, 150, 48, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

a {
    color: inherit;
    text-decoration: none;
}

.st-main,
.st-nav,
.st-status-bar,
.st-footer {
    position: relative;
    z-index: 1;
}

.st-container {
    width: min(1200px, 100% - 48px);
    margin: 0 auto;
}

.st-main {
    padding-top: var(--chrome-h);
    min-height: 70vh;
}

.st-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(9, 14, 22, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(192, 150, 50, 0.08);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.st-nav-inner {
    width: min(1200px, 100% - 48px);
    margin: 0 auto;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.st-brand {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.st-brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-family: "Cinzel", serif;
    font-size: 12px;
    letter-spacing: 0.12em;
}

.st-brand-text {
    color: #d4aa45;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.08em;
}

.st-nav-links {
    display: inline-flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.st-nav-links a {
    font-family: "Cinzel", serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #a89878;
    border-bottom: 1px solid transparent;
    padding: 6px 8px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.st-nav-links a:hover,
.st-nav-links a.is-active {
    color: var(--gold-light);
    border-color: var(--gold-light);
}

.st-nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.st-nav-actions form {
    margin: 0;
}

.st-nav-actions .st-btn {
    font-size: 15px;
    padding: 8px 15px;
}

.st-nav-actions .st-btn-dashboard {
    color: #d4aa45;
    border-color: rgba(192, 150, 50, 0.4);
}

.st-nav-actions .st-btn-dashboard:hover {
    color: #d4aa45;
    background: rgba(192, 150, 48, 0.08);
}

.st-nav-actions .st-btn-dashboard.is-active {
    background: rgba(192, 150, 48, 0.18);
}

.st-nav-toggle {
    display: none;
    border: 1px solid rgba(192, 150, 50, 0.3);
    background: transparent;
    color: #d4aa45;
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 12px;
}

.st-status-bar {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(192, 150, 50, 0.12);
    background: rgba(8, 8, 18, 0.97);
}

.st-status-inner {
    width: min(1200px, 100% - 48px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 8px 0;
}

.st-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--success);
    box-shadow: 0 0 6px var(--success);
    margin-right: 8px;
}

.st-label {
    font-family: "Cinzel", serif;
    color: var(--success);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.st-sep {
    width: 1px;
    height: 14px;
    background: rgba(192, 150, 50, 0.14);
}

.st-kv {
    color: #4a4030;
    font-size: 14px;
}

.st-kv b {
    color: #8a7860;
    font-family: "Cinzel", serif;
    margin-left: 4px;
}

.st-kv b.st-faction-v {
    color: var(--vrylios);
}

.st-kv b.st-faction-r {
    color: var(--raethia);
}

.st-meta {
    margin-left: auto;
    color: #2e2820;
    font-size: 14px;
}

.st-alert {
    position: relative;
    top: 32px;
    width: min(1200px, 100% - 48px);
    margin: 0 auto 14px;
    border: 1px solid transparent;
    padding: 11px 14px;
    font-size: 15px;
}

.st-alert-success {
    color: #a5c7a4;
    border-color: rgba(90, 176, 96, 0.4);
    background: rgba(90, 176, 96, 0.1);
}

.st-alert-error {
    color: #d18a6d;
    border-color: rgba(192, 96, 48, 0.4);
    background: rgba(192, 96, 48, 0.1);
}

.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    padding: 9px 18px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: "Cinzel", serif;
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.st-btn-gold {
    background: linear-gradient(135deg, #c09630, #e0b850);
    border-color: transparent;
    color: #0d0d1a;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(192, 150, 48, 0.2);
}

.st-btn-gold:hover {
    background: linear-gradient(135deg, #d4aa45, #f0cc70);
    box-shadow: 0 4px 20px rgba(192, 150, 48, 0.4);
    transform: translateY(-1px);
}

.st-btn-ghost {
    background: transparent;
    border-color: rgba(192, 150, 50, 0.32);
    color: #a89878;
}

.st-btn-ghost:hover {
    background: rgba(192, 150, 48, 0.08);
    color: var(--gold-light);
}

.st-btn-block {
    width: 100%;
}

.st-btn-lg {
    padding: 16px 34px;
    font-size: 16px;
    letter-spacing: 0.12em;
}

.st-btn-slant {
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    -webkit-clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.st-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.st-ornament::before,
.st-ornament::after {
    content: "";
    width: 60px;
    height: 1px;
    margin: 0 4px;
    background: linear-gradient(to right, transparent, var(--gold));
}

.st-ornament::after {
    background: linear-gradient(to left, transparent, var(--gold));
}

.st-ornament .diamond {
    width: 12px;
    height: 12px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
    display: inline-block;
    position: relative;
}

.st-ornament .diamond::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    transform: translate(-50%, -50%);
}

.st-page {
    width: min(1200px, 100% - 48px);
    margin: 0 auto;
    padding: 48px 0 84px;
}

.st-hero {
    height: calc(100vh - var(--chrome-h));
    min-height: calc(100vh - var(--chrome-h));
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(192, 150, 48, 0.06) 0%, transparent 70%);
}

.st-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='52' viewBox='0 0 60 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 17.3 L60 34.6 L30 52 L0 34.6 L0 17.3 Z' fill='none' stroke='rgba(192,150,48,0.04)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 60px 52px;
    opacity: 0.7;
    pointer-events: none;
}

.st-hero-inner {
    width: min(900px, 100% - 48px);
    margin: 0 auto;
    padding: clamp(28px, 3vh, 64px) 0 clamp(36px, 8vh, 86px);
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.st-pretitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: "Cinzel", serif;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #7a6840;
    margin-bottom: 24px;
}

.st-pretitle::before,
.st-pretitle::after {
    content: "";
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(192, 150, 48, 0.5));
}

.st-pretitle::after {
    background: linear-gradient(to left, transparent, rgba(192, 150, 48, 0.5));
}

.st-hero h1 {
    margin: 0;
    color: #e8c85a;
    text-shadow: 0 0 60px rgba(192, 150, 48, 0.22), 0 2px 4px rgba(0, 0, 0, 0.8);
    font-family: "Cinzel Decorative", "Cinzel", serif;
    font-size: clamp(58px, 7.8vw, 88px);
    letter-spacing: 0.06em;
    line-height: 1.05;
}

.st-subtitle {
    color: #a89060;
    margin: 24px auto 0;
    max-width: 700px;
    font-size: clamp(18px, 3vw, 24px);
    font-style: italic;
    line-height: 1.5;
}

.st-hero-divider {
    width: 82px;
    height: 2px;
    margin: 18px auto 0;
    background: linear-gradient(to right, transparent, #c09630, transparent);
}

.st-hero-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.st-factions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 56px;
}

.st-factions-vs {
    font-family: "Cinzel", serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3a3228;
}

.st-scroll-hint {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.st-scroll-hint span {
    font-family: "Cinzel", serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #3a3228;
}

.st-scroll-hint i {
    display: block;
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, rgba(192, 150, 48, 0.5), transparent);
    animation: stPulse 2s ease-in-out infinite;
}

.st-faction-box {
    border: 1px solid;
    padding: 12px 20px;
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.st-faction-body {
    text-align: left;
}

.st-faction-box .st-faction-icon {
    font-size: 22px;
    line-height: 1;
    margin-left: 6px;
}

.st-faction-box h3 {
    margin: 0 0 4px;
    font-family: "Cinzel", serif;
    font-size: 12px;
    letter-spacing: 0.1em;
}

.st-faction-box p {
    margin: 0;
    font-size: 13px;
}

.st-faction-box.v {
    background: rgba(58, 106, 170, 0.1);
    border-color: rgba(58, 106, 170, 0.3);
}

.st-faction-box.v h3,
.st-faction-v {
    color: var(--vrylios);
}

.st-faction-box.v .st-faction-icon {
    color: var(--vrylios);
}

.st-faction-box.v p {
    color: #4a6a88;
}

.st-faction-box.r {
    background: rgba(74, 122, 64, 0.1);
    border-color: rgba(74, 122, 64, 0.3);
}

.st-faction-box.r h3,
.st-faction-r {
    color: var(--raethia);
}

.st-faction-box.r .st-faction-icon {
    color: var(--raethia);
}

.st-faction-box.r p {
    color: #4a6840;
}

.st-section {
    padding: 80px 0;
}

.st-section-muted {
    border-top: 1px solid rgba(192, 150, 50, 0.08);
    border-bottom: 1px solid rgba(192, 150, 50, 0.08);
    background: rgba(0, 0, 0, 0.3);
}

.st-section-head {
    text-align: center;
    margin-bottom: 42px;
}

.st-section-head h2 {
    margin: 16px 0 10px;
    font-family: "Cinzel", serif;
    color: #d4aa45;
    font-size: clamp(24px, 3vw, 38px);
    letter-spacing: 0.08em;
    font-weight: 600;
}

.st-section-head p {
    margin: 0 auto;
    max-width: 620px;
    font-size: 18px;
    color: var(--muted);
}

.st-download-root {
    padding-top: 0;
}

.st-download-hero {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px 64px;
    text-align: center;
}

.st-download-title {
    margin: 24px 0 12px;
    font-family: "Cinzel", serif;
    font-size: clamp(28px, 4vw, 48px);
    color: #d4aa45;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.st-download-subtitle {
    margin: 0;
    font-family: "EB Garamond", serif;
    font-size: 20px;
    color: #7a6c58;
    font-style: italic;
    line-height: 1.6;
}

.st-download-main {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.st-download-main-btn {
    padding: 18px 52px;
    font-size: 17px;
}

.st-download-meta {
    font-family: "EB Garamond", serif;
    font-size: 14px;
    color: #5a5040;
}

.st-download-platforms {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.st-download-platform {
    padding: 8px 20px;
    border: 1px solid;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.st-download-platform.is-available {
    background: rgba(192, 150, 48, 0.08);
    border-color: rgba(192, 150, 48, 0.3);
}

.st-download-platform.is-unavailable {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.06);
}

.st-os-logo {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.st-os-logo i {
    font-size: 16px;
    line-height: 1;
}

.st-os-logo.windows {
    color: #a89878;
}

.st-os-logo.mac {
    color: #a89878;
}

.st-os-logo.linux {
    color: #3a3228;
}

.st-download-platform-label {
    font-family: "Cinzel", serif;
    font-size: 13px;
    letter-spacing: 0.06em;
}

.st-download-platform.is-available .st-download-platform-label {
    color: #a89878;
}

.st-download-platform.is-unavailable .st-download-platform-label,
.st-download-platform-note {
    color: #3a3228;
}

.st-download-platform-note {
    font-family: "EB Garamond", serif;
    font-size: 12px;
}

.st-download-req {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.st-download-req-shell {
    border: 1px solid rgba(192, 150, 50, 0.15);
    overflow-x: auto;
}

.st-download-req-table {
    min-width: 760px;
}

.st-download-req-head,
.st-download-req-row {
    display: grid;
    grid-template-columns: 140px 1fr 1fr;
    gap: 16px;
    padding: 12px 24px;
    align-items: center;
}

.st-download-req-head {
    background: rgba(0, 0, 0, 0.4);
}

.st-download-req-head > div {
    font-family: "Cinzel", serif;
    font-size: 11px;
    color: #8a7860;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.st-download-req-row {
    padding: 14px 24px;
    border-top: 1px solid rgba(192, 150, 50, 0.08);
}

.st-download-req-row:nth-child(odd) {
    background: rgba(255, 255, 255, 0.015);
}

.st-download-req-label {
    font-family: "Cinzel", serif;
    font-size: 12px;
    color: #7a6840;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.st-download-req-min {
    font-family: "EB Garamond", serif;
    font-size: 16px;
    color: #7a6c58;
}

.st-download-req-rec {
    font-family: "EB Garamond", serif;
    font-size: 16px;
    color: #a89878;
}

.st-download-guide {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(192, 150, 50, 0.08);
    border-bottom: 1px solid rgba(192, 150, 50, 0.08);
    padding: 80px 24px;
}

.st-download-guide-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.st-download-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.st-download-step {
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(192, 150, 50, 0.12);
}

.st-download-step-n {
    font-family: "Cinzel", serif;
    font-size: 36px;
    color: rgba(192, 150, 48, 0.2);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 16px;
}

.st-download-step h3 {
    margin: 0 0 12px;
    font-family: "Cinzel", serif;
    font-size: 15px;
    color: #d4aa45;
    letter-spacing: 0.04em;
}

.st-download-step p {
    margin: 0;
    font-family: "EB Garamond", serif;
    font-size: 16px;
    color: #7a6c58;
    line-height: 1.7;
}

.st-download-cta {
    margin-top: 48px;
    text-align: center;
}

.st-download-cta p {
    margin: 0 0 20px;
    font-family: "EB Garamond", serif;
    font-size: 16px;
    color: #5a5040;
}

.st-download-cta-btn {
    padding: 18px 52px;
    font-size: 17px;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.st-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

.st-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.st-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.st-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}

.st-card {
    border: 1px solid rgba(192, 150, 48, 0.12);
    background: rgba(255, 255, 255, 0.025);
    padding: 26px 24px;
    transition: all 0.25s ease;
}

.st-card:hover {
    background: rgba(192, 150, 48, 0.06);
    border-color: rgba(192, 150, 48, 0.34);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.st-card-icon {
    font-family: "Cinzel", serif;
    font-size: 26px;
    color: #d4aa45;
    margin-bottom: 12px;
}

.st-card h3 {
    margin: 0 0 10px;
    color: #d4aa45;
    font-family: "Cinzel", serif;
    font-size: 16px;
    letter-spacing: 0.05em;
}

.st-card p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.st-photo {
    border: 1px solid rgba(192, 150, 50, 0.14);
    min-height: 200px;
    background: repeating-linear-gradient(
        45deg,
        #1a1830,
        #1a1830 10px,
        #1e1c38 10px,
        #1e1c38 20px
    );
    display: grid;
    place-items: center;
    color: rgba(192, 150, 50, 0.45);
    text-align: center;
    font-family: monospace;
    font-size: 11px;
}

.st-photo.tall {
    min-height: 280px;
}

.st-media-photo {
    height: 280px;
    min-height: 280px;
}

.st-text-block p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.85;
    margin: 0 0 16px;
}

.st-lore-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.st-lore-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.st-lore-head {
    text-align: left;
    margin-bottom: 48px;
}

.st-lore-head .st-ornament {
    width: fit-content;
    margin: 0 auto;
}

.st-lore-head h2 {
    margin: 20px 0 12px;
}

.st-lore-p {
    margin: 0 0 20px;
    color: #7a6c58;
    font-size: 18px;
    line-height: 1.85;
}

.st-lore-p:last-of-type {
    margin-bottom: 32px;
}

.st-lore-cta {
    padding: 10px 28px;
    font-size: 14px;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.st-lore-map {
    height: 380px;
    min-height: 380px;
}

.st-center {
    text-align: center;
}

.st-auth-wrap {
    min-height: calc(100vh - 106px);
    display: grid;
    place-items: center;
    padding: 60px 24px;
}

.st-auth-card {
    width: min(460px, 100%);
    border: 1px solid rgba(192, 150, 50, 0.2);
    background: rgba(255, 255, 255, 0.025);
    padding: 34px 30px;
}

.st-auth-head {
    text-align: center;
    margin-bottom: 28px;
}

.st-auth-head h1 {
    margin: 16px 0 8px;
    font-family: "Cinzel", serif;
    font-size: 30px;
    letter-spacing: 0.08em;
    color: #d4aa45;
}

.st-auth-head p {
    margin: 0;
    color: #6a5c48;
    font-size: 16px;
    font-style: italic;
}

.st-label-field {
    display: block;
    margin-bottom: 16px;
}

.st-label-field > span {
    display: block;
    margin-bottom: 8px;
    font-family: "Cinzel", serif;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a7860;
}

.st-label-field input {
    width: 100%;
    border: 1px solid rgba(192, 150, 50, 0.25);
    background: rgba(255, 255, 255, 0.04);
    color: var(--parchment);
    padding: 12px 14px;
    font-size: 16px;
    font-family: "EB Garamond", serif;
    outline: none;
}

.st-label-field input:focus {
    border-color: rgba(192, 150, 50, 0.55);
}

.st-password-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 8px;
    align-items: stretch;
}

.st-password-toggle {
    border: 1px solid rgba(192, 150, 50, 0.25);
    background: rgba(255, 255, 255, 0.04);
    color: #8a7860;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    font-size: 16px;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.st-password-toggle:hover {
    color: #d4aa45;
    border-color: rgba(192, 150, 50, 0.45);
}

.st-password-toggle:focus-visible {
    outline: 1px solid rgba(192, 150, 50, 0.55);
    outline-offset: 1px;
    color: #d4aa45;
    border-color: rgba(192, 150, 50, 0.55);
    background: rgba(192, 150, 48, 0.08);
}

.st-label-field input[type="file"] {
    padding: 9px 12px;
    font-size: 14px;
}

.st-label-field input[type="file"]::file-selector-button {
    margin-right: 10px;
    border: 1px solid rgba(192, 150, 50, 0.35);
    background: rgba(192, 150, 48, 0.1);
    color: #d4aa45;
    font-family: "Cinzel", serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 10px;
    cursor: pointer;
}

.st-field-hint {
    color: #5a5040;
    font-size: 13px;
    margin-top: 4px;
}

.st-divider {
    height: 1px;
    margin: 20px 0;
    background: rgba(192, 150, 50, 0.12);
}

.st-link-btn {
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    color: #a89060;
    text-decoration: underline;
    font-size: 15px;
    font-family: "EB Garamond", serif;
    cursor: pointer;
}

.st-auth-alt-action {
    display: block;
    width: 100%;
    text-align: center;
}

.st-passkey-login {
    display: grid;
    gap: 8px;
}

.st-passkey-login-primary {
    gap: 12px;
}

.st-auth-method-title {
    font-family: "Cinzel", serif;
    font-size: 16px;
    color: #d4aa45;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.st-auth-method-copy {
    margin: 0;
    color: #6a5c48;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.st-auth-success {
    border: 1px solid rgba(90, 176, 96, 0.28);
    background: rgba(90, 176, 96, 0.08);
    padding: 18px 20px;
    margin-bottom: 20px;
}

.st-auth-success-title {
    margin-bottom: 6px;
    font-family: "Cinzel", serif;
    font-size: 13px;
    color: #a5c7a4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.st-auth-success p {
    margin: 0;
    color: #7fa07a;
    font-size: 16px;
    line-height: 1.6;
}

.st-auth-actions {
    display: grid;
    gap: 10px;
}

.st-passkey-login [hidden],
.st-auth-email-methods[hidden],
.st-passkey-status[hidden] {
    display: none !important;
}

.st-panel {
    border: 1px solid rgba(192, 150, 50, 0.15);
    background: rgba(255, 255, 255, 0.025);
    padding: 24px;
}

.st-panel h1,
.st-panel h2,
.st-panel h3,
.st-panel h4 {
    margin-top: 0;
    font-family: "Cinzel", serif;
    color: #d4aa45;
}

.st-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.st-dash-shell {
    padding: 40px 0 84px;
}

.st-dash-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.st-dash-sidebar {
    width: 200px;
    flex-shrink: 0;
    position: sticky;
    top: 108px;
}

.st-dash-sidebar-title {
    font-family: "Cinzel", serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #5a5040;
    margin-bottom: 16px;
}

.st-dash-nav {
    display: flex;
    flex-direction: column;
}

.st-dash-nav a {
    display: flex;
    align-items: center;
    width: 100%;
    border-left: 2px solid transparent;
    background: none;
    color: #7a6c58;
    padding: 10px 14px;
    font-family: "Cinzel", serif;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-align: left;
    transition: all 0.2s ease;
}

.st-dash-nav a:hover,
.st-dash-nav a.is-active {
    color: #d4aa45;
    border-left-color: #c09630;
    background: rgba(192, 150, 48, 0.1);
}

.st-dash-divider {
    height: 1px;
    margin: 24px 0;
    background: rgba(192, 150, 50, 0.15);
}

.st-dash-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-family: "Cinzel", serif;
    font-size: 12px;
    color: #5a5040;
}

.st-dash-main {
    flex: 1;
    min-width: 0;
}

.st-dash-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.st-dash-head h1 {
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: 26px;
    color: #d4aa45;
    letter-spacing: 0.06em;
}

.st-dash-download {
    padding: 7px 18px;
    font-size: 12px;
    font-weight: 600;
}

.st-dash-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.st-dash-stat-card {
    background: rgba(255, 255, 255, 0.024);
    border: 1px solid rgba(192, 150, 50, 0.12);
    padding: 20px;
    text-align: center;
}

.st-dash-stat-icon {
    font-size: 20px;
    margin-bottom: 8px;
}

.st-dash-stat-value {
    font-family: "Cinzel", serif;
    font-size: 20px;
    color: #d4aa45;
    font-weight: 700;
}

.st-dash-stat-label {
    margin-top: 4px;
    font-family: "EB Garamond", serif;
    font-size: 12px;
    color: #5a5040;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.st-dash-subhead {
    margin-bottom: 16px;
    font-family: "Cinzel", serif;
    font-size: 12px;
    color: #8a7860;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.st-dash-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.st-dash-character-card {
    background: rgba(255, 255, 255, 0.024);
    border: 1px solid rgba(192, 150, 48, 0.12);
    padding: 20px 24px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.st-dash-character-card:hover {
    background: rgba(192, 150, 48, 0.06);
    border-color: rgba(192, 150, 48, 0.3);
}

.st-dash-char-avatar {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.st-dash-char-avatar.v {
    background: rgba(58, 106, 170, 0.15);
    border: 1px solid rgba(58, 106, 170, 0.3);
}

.st-dash-char-avatar.r {
    background: rgba(74, 122, 64, 0.15);
    border: 1px solid rgba(74, 122, 64, 0.3);
}

.st-dash-char-main {
    flex: 1;
    min-width: 140px;
}

.st-dash-char-name {
    margin-bottom: 6px;
    font-family: "Cinzel", serif;
    font-size: 17px;
    color: #d4aa45;
}

.st-dash-faction {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border: 1px solid;
    font-family: "Cinzel", serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.st-dash-faction.v {
    background: rgba(58, 106, 170, 0.15);
    border-color: rgba(58, 106, 170, 0.4);
    color: #6a9acc;
}

.st-dash-faction.r {
    background: rgba(74, 122, 64, 0.15);
    border-color: rgba(74, 122, 64, 0.4);
    color: #7ab060;
}

.st-dash-char-metrics {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.st-dash-char-metric {
    text-align: center;
}

.st-dash-char-metric-value {
    font-family: "Cinzel", serif;
    font-size: 20px;
    color: #e8c85a;
    font-weight: 700;
}

.st-dash-char-metric-label {
    font-family: "EB Garamond", serif;
    font-size: 12px;
    color: #5a5040;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.st-dash-link {
    margin-top: 12px;
    display: inline-flex;
    font-family: "EB Garamond", serif;
    font-size: 15px;
    color: #7a6840;
    text-decoration: underline;
}

.st-dash-copy-em {
    margin-bottom: 24px;
    font-family: "EB Garamond", serif;
    font-size: 17px;
    color: #7a6c58;
    font-style: italic;
}

.st-dash-copy {
    font-family: "EB Garamond", serif;
    font-size: 15px;
    color: #6a5c48;
}

.st-dash-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.st-dash-block {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(192, 150, 50, 0.15);
    padding: 24px 28px;
}

.st-dash-block-label {
    margin-bottom: 16px;
    font-family: "Cinzel", serif;
    font-size: 13px;
    color: #7a6840;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.st-dash-email-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.st-dash-email-edit {
    width: min(100%, 540px);
}

.st-dash-email-edit[hidden] {
    display: none !important;
}

.st-dash-email {
    font-family: "EB Garamond", serif;
    font-size: 17px;
    color: #a89878;
}

.st-dash-email-input {
    width: 100%;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(192, 150, 50, 0.35);
    color: #e8dcc8;
    font-family: "EB Garamond", serif;
    font-size: 16px;
    padding: 10px 14px;
    outline: none;
    margin-bottom: 12px;
}

.st-dash-email-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.st-dash-inline-link {
    border: none;
    background: none;
    cursor: pointer;
    font-family: "Cinzel", serif;
    font-size: 11px;
    color: #7a6840;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: underline;
    padding: 0;
}

.st-dash-account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.st-dash-meta-label {
    margin-bottom: 6px;
    font-family: "Cinzel", serif;
    font-size: 11px;
    color: #5a5040;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.st-dash-meta-value {
    font-family: "EB Garamond", serif;
    font-size: 16px;
    color: #8a7860;
}

.st-dash-security-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.st-dash-security-title {
    font-family: "Cinzel", serif;
    font-size: 15px;
    color: #d4aa45;
    margin-bottom: 6px;
}

.st-dash-badge-danger {
    padding: 5px 14px;
    background: rgba(192, 96, 48, 0.12);
    border: 1px solid rgba(192, 96, 48, 0.3);
    font-family: "Cinzel", serif;
    font-size: 11px;
    color: #c07040;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.st-dash-badge-success,
.st-dash-badge-muted {
    padding: 5px 14px;
    font-family: "Cinzel", serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.st-dash-badge-success {
    background: rgba(90, 176, 96, 0.12);
    border: 1px solid rgba(90, 176, 96, 0.32);
    color: #7ab060;
}

.st-dash-badge-alert {
    padding: 5px 14px;
    background: rgba(198, 64, 64, 0.16);
    border: 1px solid rgba(198, 64, 64, 0.45);
    color: #ff6f6f;
    font-family: "Cinzel", serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.st-dash-badge-muted {
    background: rgba(138, 120, 96, 0.1);
    border: 1px solid rgba(138, 120, 96, 0.24);
    color: #7a6c58;
}

.st-dash-btn-sm {
    padding: 9px 18px;
    font-size: 12px;
}

.st-dash-mb {
    margin-bottom: 18px;
}

.st-dash-field {
    display: block;
    margin-bottom: 16px;
}

.st-dash-field > span {
    display: block;
    margin-bottom: 6px;
    font-family: "Cinzel", serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #7a6840;
    text-transform: uppercase;
}

.st-dash-field input {
    width: 100%;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(192, 150, 50, 0.2);
    color: #e8dcc8;
    font-family: "EB Garamond", serif;
    font-size: 16px;
    padding: 10px 14px;
    outline: none;
}

.st-dash-field .st-password-row {
    width: 100%;
    max-width: 360px;
}

.st-dash-field .st-password-row input {
    width: 100%;
    max-width: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(192, 150, 50, 0.2);
    color: #e8dcc8;
    font-family: "EB Garamond", serif;
    font-size: 16px;
    padding: 10px 14px;
    outline: none;
}

.st-dash-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
}

.st-dash-row-title {
    margin-bottom: 4px;
    font-family: "Cinzel", serif;
    font-size: 13px;
    color: #a89878;
}

.st-dash-row-copy {
    font-family: "EB Garamond", serif;
    font-size: 14px;
    color: #5a5040;
}

.st-totp-passkey-row {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(192, 150, 50, 0.08);
}

.st-totp-removal-pending {
    margin-top: 6px;
    color: #c09630;
}

.st-passkey-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.st-passkey-add-btn {
    margin-top: 14px;
}

.st-passkey-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    border: 1px solid rgba(192, 150, 50, 0.12);
    background: rgba(255, 255, 255, 0.02);
    padding: 14px 16px;
}

.st-passkey-label {
    margin-bottom: 4px;
    font-family: "Cinzel", serif;
    font-size: 13px;
    color: #a89878;
}

.st-passkey-actions {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.st-passkey-empty {
    border: 1px dashed rgba(192, 150, 50, 0.18);
    color: #5a5040;
    padding: 14px 16px;
    font-size: 15px;
}

.st-passkey-dot {
    color: #3a3228;
    margin: 0 6px;
}

.st-danger-link {
    color: #a55f42;
}

.st-dash-settings {
    padding: 28px;
}

.st-dash-settings-row {
    padding: 16px 0;
    border-bottom: 1px solid rgba(192, 150, 50, 0.08);
}

.st-dash-toggle {
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(192, 150, 50, 0.3);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: all 0.25s ease;
}

.st-dash-toggle span {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #5a5040;
    transition: left 0.25s ease, background 0.25s ease;
}

.st-dash-toggle.is-on {
    background: #c09630;
}

.st-dash-toggle.is-on span {
    left: 22px;
    background: #0d0d1a;
}

.st-totp-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(4, 8, 14, 0.82);
    display: grid;
    place-items: center;
    padding: 24px;
}

.st-totp-modal[hidden] {
    display: none !important;
}

.st-totp-modal-panel {
    position: relative;
    width: min(940px, 100%);
    border: 1px solid rgba(192, 150, 50, 0.22);
    background: rgba(13, 18, 24, 0.98);
    padding: 28px;
}

.st-totp-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(192, 150, 50, 0.22);
    background: transparent;
    color: #8a7860;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.st-totp-modal-close:hover {
    border-color: rgba(192, 150, 50, 0.4);
    color: #d4aa45;
}

.st-totp-title {
    margin: 0 0 20px;
    font-family: "Cinzel", serif;
    color: #d4aa45;
    font-size: 26px;
    letter-spacing: 0.04em;
}

.st-totp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 24px;
    align-items: start;
}

.st-totp-steps {
    display: grid;
    gap: 16px;
}

.st-totp-step {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
}

.st-totp-step-n {
    margin-top: 1px;
    font-family: "Cinzel", serif;
    color: #7a6840;
    font-size: 14px;
}

.st-totp-step-copy {
    margin: 0;
    font-family: "EB Garamond", serif;
    color: #a89878;
    font-size: 16px;
    line-height: 1.45;
}

.st-totp-step-subcopy {
    margin: 8px 0 10px;
    font-family: "EB Garamond", serif;
    color: #7a6c58;
    font-size: 14px;
}

.st-totp-app-list {
    margin-top: 8px;
    display: grid;
    gap: 4px;
}

.st-totp-app-list span {
    font-family: "EB Garamond", serif;
    color: #7ab060;
    font-size: 15px;
}

.st-totp-secret-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 8px;
    max-width: 420px;
}

.st-totp-secret-input,
.st-totp-code-input {
    width: 100%;
    border: 1px solid rgba(192, 150, 50, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: #e8dcc8;
    font-family: "EB Garamond", serif;
    font-size: 17px;
    padding: 9px 12px;
    outline: none;
}

.st-totp-secret-input {
    letter-spacing: 0.04em;
    color: #a89878;
}

.st-totp-code-input {
    margin-top: 8px;
    max-width: 180px;
    text-align: center;
    font-family: "Cinzel", serif;
    letter-spacing: 0.18em;
}

.st-totp-copy-btn {
    border: 1px solid rgba(192, 150, 50, 0.22);
    background: transparent;
    color: #8a7860;
    cursor: pointer;
    font-size: 14px;
}

.st-totp-copy-btn:hover {
    border-color: rgba(192, 150, 50, 0.45);
    color: #d4aa45;
}

.st-totp-qr-wrap {
    display: flex;
    justify-content: center;
}

.st-totp-qr-frame {
    width: 196px;
    min-width: 196px;
    min-height: 196px;
    border: 1px solid rgba(192, 150, 50, 0.2);
    background: #f1ebde;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #3a3228;
    font-family: "Cinzel", serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    padding: 12px;
}

.st-totp-modal-status {
    margin-top: 14px;
}

.st-totp-actions {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(192, 150, 50, 0.12);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.st-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid rgba(192, 150, 50, 0.15);
}

.st-table th,
.st-table td {
    border-top: 1px solid rgba(192, 150, 50, 0.1);
    padding: 11px 12px;
    text-align: left;
}

.st-table th {
    font-family: "Cinzel", serif;
    font-size: 11px;
    color: #7a6840;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(0, 0, 0, 0.45);
}

.st-table td {
    color: #9a8c78;
    font-size: 15px;
}

.st-podium {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto 36px;
}

.st-podium .st-panel {
    text-align: center;
    padding: 16px 14px;
}

.st-rank {
    font-family: "Cinzel", serif;
    color: #d4aa45;
    font-size: 24px;
    margin-bottom: 6px;
}

.st-rank.gold {
    color: #f0cc50;
}

.st-rank.silver {
    color: #b0b8c8;
}

.st-rank.bronze {
    color: #c8824a;
}

.st-filter-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.st-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(192, 150, 50, 0.15);
    background: transparent;
    color: #6a5c48;
    font-family: "Cinzel", serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 12px;
    cursor: pointer;
    text-decoration: none;
}

.st-tag.is-active {
    border-color: rgba(192, 150, 48, 0.5);
    color: #d4aa45;
    background: rgba(192, 150, 48, 0.12);
}

.st-leaderboard-page {
    padding-top: 56px;
    padding-bottom: 84px;
}

.st-leaderboard-head {
    margin-bottom: 40px;
    text-align: center;
}

.st-leaderboard-back {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-family: "Cinzel", serif;
    font-size: 11px;
    color: #7a6840;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.st-leaderboard-head h1 {
    margin: 20px 0 8px;
    font-family: "Cinzel", serif;
    font-size: clamp(24px, 3.5vw, 42px);
    color: #d4aa45;
    letter-spacing: 0.08em;
}

.st-leaderboard-head p {
    margin: 0;
    font-size: 18px;
    color: #7a6c58;
    font-style: italic;
}

.st-leaderboard-podium {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 12px;
    max-width: 680px;
    margin: 0 auto 40px;
}

.st-podium-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(192, 150, 50, 0.12);
    padding: 20px 16px;
    text-align: center;
    align-self: flex-end;
}

.st-podium-card.is-first {
    background: rgba(192, 150, 48, 0.1);
    border-color: rgba(192, 150, 48, 0.4);
    padding: 28px 20px 20px;
    align-self: flex-start;
}

.st-podium-rank {
    margin-bottom: 8px;
    font-family: "Cinzel", serif;
    font-size: 22px;
    font-weight: 700;
}

.st-podium-card.is-first .st-podium-rank {
    font-size: 28px;
}

.st-podium-card h3 {
    margin: 0 0 6px;
    font-family: "Cinzel", serif;
    font-size: 14px;
    color: #d4aa45;
}

.st-podium-card.is-first h3 {
    font-size: 16px;
}

.st-podium-score {
    margin-top: 10px;
    font-family: "Cinzel", serif;
    font-size: 18px;
    font-weight: 700;
}

.st-podium-card.is-first .st-podium-score {
    font-size: 22px;
}

.st-podium-label {
    margin-top: 2px;
    font-family: "EB Garamond", serif;
    font-size: 12px;
    color: #3a3228;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.st-leaderboard-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.st-leaderboard-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.st-leaderboard-meta {
    font-family: "Cinzel", serif;
    font-size: 13px;
    color: #7a6840;
    letter-spacing: 0.06em;
}

.st-leaderboard-meta span {
    color: #d4aa45;
}

.st-leaderboard-search {
    width: 220px;
    max-width: 100%;
    border: 1px solid rgba(192, 150, 50, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: #e8dcc8;
    padding: 8px 14px;
    font-size: 15px;
    font-family: "EB Garamond", serif;
    outline: none;
}

.st-leaderboard-table-shell {
    border: 1px solid rgba(192, 150, 50, 0.15);
    overflow-x: auto;
    overflow-y: hidden;
}

.st-leaderboard-table {
    display: grid;
    grid-template-columns: 56px 1fr 1fr 1fr 100px;
    gap: 8px;
    align-items: center;
    min-width: 720px;
    padding: 12px 20px;
}

.st-leaderboard-table-head {
    background: rgba(0, 0, 0, 0.45);
    padding-top: 10px;
    padding-bottom: 10px;
}

.st-leaderboard-table-head > div {
    font-family: "Cinzel", serif;
    font-size: 11px;
    color: #7a6840;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.st-leaderboard-row {
    border-top: 1px solid rgba(192, 150, 50, 0.07);
}

.st-leaderboard-row.is-alt {
    background: rgba(255, 255, 255, 0.012);
}

.st-lb-rank {
    font-family: "Cinzel", serif;
    font-size: 14px;
    color: #4a4030;
}

.st-lb-name {
    font-family: "Cinzel", serif;
    font-size: 14px;
    color: #a89878;
}

.st-lb-guild {
    font-family: "EB Garamond", serif;
    font-size: 14px;
    color: #5a5040;
}

.st-lb-level {
    font-family: "Cinzel", serif;
    font-size: 15px;
    color: #d4aa45;
    font-weight: 600;
}

.st-leaderboard-empty {
    padding: 40px;
    text-align: center;
    font-family: "EB Garamond", serif;
    font-size: 17px;
    color: #5a5040;
    font-style: italic;
}

.st-leaderboard-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.st-lb-page-btn {
    border: 1px solid rgba(192, 150, 50, 0.2);
    background: transparent;
    color: #a89878;
    padding: 6px 12px;
    min-width: 34px;
    min-height: 30px;
    font-family: "Cinzel", serif;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.st-lb-page-btn:hover {
    border-color: rgba(192, 150, 50, 0.4);
    color: #d4aa45;
    background: rgba(192, 150, 48, 0.08);
}

.st-lb-page-btn.is-active {
    border-color: rgba(192, 150, 48, 0.5);
    background: rgba(192, 150, 48, 0.15);
    color: #d4aa45;
}

.st-lb-page-btn.is-arrow {
    min-width: 30px;
    padding: 6px 8px;
}

.st-lb-page-btn.is-last {
    color: #d4aa45;
}

.st-lb-page-btn.is-disabled {
    color: #3a3228;
    border-color: rgba(192, 150, 50, 0.2);
    background: transparent;
    cursor: default;
}

.st-lb-page-btn.is-disabled:hover {
    color: #3a3228;
    border-color: rgba(192, 150, 50, 0.2);
    background: transparent;
}

.st-lb-ellipsis {
    color: #a77f33;
    font-family: "Cinzel", serif;
    font-size: 14px;
    letter-spacing: 0.08em;
    padding: 0 4px;
}

.st-news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.st-news-item {
    border-bottom: 1px solid rgba(192, 150, 50, 0.1);
    padding: 20px 0;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
}

.st-news-item .st-photo {
    min-height: 107px;
    height: 107px;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.st-news-item h3 {
    margin: 0 0 8px;
    font-family: "Cinzel", serif;
    font-size: 17px;
    color: #c4a040;
}

.st-news-item p {
    margin: 8px 0;
    color: #6a5c48;
    font-size: 16px;
}

.st-news-item .read-more {
    margin-top: 10px;
    color: #7a6040;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.st-article-shell {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.st-article-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 32px;
    font-family: "Cinzel", serif;
    font-size: 11px;
    color: #7a6840;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.st-article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.st-article-preview-banner {
    margin: -6px 0 24px;
    border: 1px solid rgba(192, 150, 48, 0.35);
    background: rgba(192, 150, 48, 0.13);
    color: #d4aa45;
    font-family: "Cinzel", serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 12px;
}

.st-article-title {
    margin: 0 0 28px;
    font-family: "Cinzel", serif;
    font-size: clamp(20px, 3vw, 32px);
    color: #d4aa45;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

.st-article-image {
    height: 280px;
    min-height: 280px;
    margin-bottom: 36px;
    overflow: hidden;
}

.st-article-content {
    margin: 0;
}

.st-markdown > :first-child {
    margin-top: 0;
}

.st-markdown h2,
.st-markdown h3,
.st-markdown h4 {
    margin: 28px 0 10px;
    font-family: "Cinzel", serif;
    color: #d4aa45;
    letter-spacing: 0.04em;
}

.st-markdown h2 {
    font-size: 24px;
}

.st-markdown h3 {
    font-size: 20px;
}

.st-markdown h4 {
    font-size: 17px;
}

.st-markdown p {
    margin: 0 0 20px;
    font-family: "EB Garamond", serif;
    font-size: 21px;
    color: #9a8c78;
    line-height: 1.75;
}

.st-markdown ul,
.st-markdown ol {
    margin: 0 0 22px 24px;
    color: #9a8c78;
    font-size: 20px;
    line-height: 1.75;
}

.st-editor-content ul ul,
.st-editor-content ul ol,
.st-editor-content ol ul,
.st-editor-content ol ol {
    margin: 0;
}

.st-markdown li {
    margin: 0 0 6px;
}

.st-markdown a {
    color: #d4aa45;
    text-decoration: underline;
}

.st-markdown code {
    font-family: "Consolas", "Courier New", monospace;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(192, 150, 50, 0.18);
    color: #c8b088;
    padding: 1px 4px;
}

.st-markdown pre {
    margin: 0 0 22px;
    padding: 14px;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(192, 150, 50, 0.18);
}

.st-markdown pre code {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 13px;
}

.st-article-paragraph {
    margin: 0 0 20px;
    font-family: "EB Garamond", serif;
    font-size: 18px;
    color: #9a8c78;
    line-height: 1.85;
}

.st-article-paragraph.is-italic {
    color: #8a7860;
    font-style: italic;
}

.st-article-strong {
    color: #d4aa45;
    font-weight: 700;
}

.st-article-divider {
    height: 1px;
    margin: 48px 0 32px;
    background: rgba(192, 150, 50, 0.15);
}

.st-article-ornament {
    display: flex;
    justify-content: center;
}

.st-meta-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.st-pill {
    border: 1px solid rgba(192, 150, 48, 0.25);
    background: rgba(192, 150, 48, 0.1);
    color: #c09630;
    font-family: "Cinzel", serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 3px 9px;
}

.st-pill.faction-v {
    color: var(--vrylios);
    background: rgba(58, 106, 170, 0.1);
    border-color: rgba(58, 106, 170, 0.3);
}
.st-pill.faction-r {
    color: var(--raethia);
    background: rgba(74, 122, 64, 0.1);
    border-color: rgba(74, 122, 64, 0.3);
}

.st-pill.patch-notes {
    background: rgba(106, 154, 204, 0.094);
    border: 1px solid rgba(106, 154, 204, 0.267);
    color: rgb(106, 154, 204);
}
.st-pill.dev-blog {
    background: rgba(192, 150, 48, 0.094);
    border: 1px solid rgba(192, 150, 48, 0.4);
    color: rgb(192, 150, 48);
}
.st-pill.lore {
    background: rgba(122, 176, 96, 0.094);
    border: 1px solid rgba(122, 176, 96, 0.4);
    color: rgb(122, 176, 96);
}
.st-pill.announcement {
    background: rgba(192, 122, 64, 0.094);
    border: 1px solid rgba(192, 122, 64, 0.4);
    color: rgb(192, 122, 64);
}
.st-pill.hotfix {
    background: rgba(192, 80, 48, 0.094);
    border: 1px solid rgba(192, 80, 48, 0.4);
    color: rgb(192, 80, 48);
}
.st-pill.update {
    background: rgba(138, 112, 204, 0.094);
    border: 1px solid rgba(138, 112, 204, 0.4);
    color: rgb(138, 112, 204);
}

.st-date {
    color: #4a4030;
    font-size: 14px;
}

.st-community {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 44px;
}

.st-sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.st-wiki-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    align-items: start;
}

.st-wiki-sidebar {
    position: sticky;
    top: 116px;
}

.st-wiki-sidebar a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 9px 12px;
    color: #7a6c58;
    border-left: 2px solid transparent;
    font-size: 16px;
}

.st-wiki-sidebar a.is-active,
.st-wiki-sidebar a:hover {
    color: #d4aa45;
    border-left-color: #c09630;
    background: rgba(192, 150, 48, 0.1);
}

.st-wiki-head {
    border-bottom: 1px solid rgba(192, 150, 50, 0.15);
    background: rgba(0, 0, 0, 0.4);
    padding: 14px 0;
    margin-bottom: 28px;
}

.st-wiki-top {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.st-search-placeholder {
    flex: 1;
    max-width: 420px;
}

.st-search-placeholder input {
    width: 100%;
    border: 1px solid rgba(192, 150, 50, 0.25);
    background: rgba(255, 255, 255, 0.05);
    color: #7a6c58;
    font-size: 15px;
    padding: 9px 12px;
}

.st-search-placeholder small {
    display: block;
    color: #5a5040;
    margin-top: 4px;
}

.st-article h1 {
    margin: 0 0 6px;
    color: #d4aa45;
    font-family: "Cinzel", serif;
    font-size: clamp(24px, 3vw, 36px);
}

.st-article h2 {
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(192, 150, 50, 0.12);
    color: #c09630;
    font-family: "Cinzel", serif;
    font-size: 19px;
}

.st-article p {
    margin: 0 0 14px;
    color: #9a8c78;
    font-size: 17px;
    line-height: 1.8;
}

.st-footer {
    margin-top: 80px;
    border-top: 1px solid rgba(192, 150, 50, 0.15);
    background:
        radial-gradient(80% 120% at 50% 40%, rgb(14 22 36) 0%, rgba(8, 8, 18, 0.92) 70%),
        #08081200;
    padding: 48px 0 32px;
    position: relative;
}

.st-footer::after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='52' viewBox='0 0 60 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 17.3 L60 34.6 L30 52 L0 34.6 L0 17.3 Z' fill='none' stroke='rgba(192,150,48,0.04)' stroke-width='1'/%3E%3C/svg%3E");
    display: block;
    height: 100%;
    width: 100%;
    z-index: 99;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.6;
    pointer-events: none;
}

.st-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.st-footer h3 {
    margin: 0 0 12px;
    color: #d4aa45;
    font-family: "Cinzel", serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.st-footer h4 {
    margin: 0 0 16px;
    color: #a89878;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: "Cinzel", serif;
    font-size: 12px;
}

.st-footer-lead {
    max-width: 280px;
    margin: 0;
    color: #6a5c48;
    font-size: 15px;
    line-height: 1.7;
}

.st-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.st-footer-social a {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(192, 150, 50, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6a5c48;
    font-family: "Cinzel", serif;
    font-size: 13px;
    transition: all 0.2s ease;
}

.st-footer-social a:hover {
    color: #a89878;
    border-color: rgba(192, 150, 50, 0.4);
    background: rgba(192, 150, 48, 0.08);
}

.st-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.st-footer-nav a {
    color: #6a5c48;
    font-size: 15px;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.st-footer-nav a:hover {
    color: #a89878;
}

.st-footer-faction-name {
    margin: 0 0 8px;
    font-size: 15px;
}

.st-footer-faction-copy {
    margin: 0;
    color: #5a7850;
    font-size: 14px;
    line-height: 1.6;
}

.st-footer-faction-sep {
    height: 1px;
    background: rgba(192, 150, 50, 0.1);
    margin: 12px 0;
}

.st-faction-v {
    color: #6a9acc;
}

.st-faction-r {
    color: #7a9e60;
}

.st-footer-bottom {
    border-top: 1px solid rgba(192, 150, 50, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #3a3228;
    font-size: 13px;
}

.st-studio-page {
    padding-top: 48px;
}

.st-studio-breadcrumb {
    margin-bottom: 16px;
}

.st-studio-breadcrumb a {
    font-family: "Cinzel", serif;
    font-size: 11px;
    color: #7a6840;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.st-studio-head {
    margin-bottom: 28px;
    text-align: center;
}

.st-studio-head.st-studio-head-left {
    text-align: left;
}

.st-studio-head h1 {
    margin: 14px 0 8px;
    font-family: "Cinzel", serif;
    font-size: clamp(26px, 3.5vw, 42px);
    color: #d4aa45;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.st-studio-head p {
    margin: 0;
    color: #7a6c58;
    font-size: 18px;
    font-style: italic;
}

.st-studio-filter-panel {
    margin-bottom: 16px;
}

.st-studio-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.st-studio-filters {
    flex: 1;
    min-width: min(640px, 100%);
}

.st-studio-filter-grid {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) 180px 180px;
    gap: 12px;
}

.st-studio-filter-actions {
    margin-top: 4px;
    display: flex;
    gap: 8px;
}

.st-studio-select {
    width: 100%;
    border: 1px solid rgba(192, 150, 50, 0.25);
    background: rgba(255, 255, 255, 0.04);
    color: var(--parchment);
    padding: 12px 14px;
    font-size: 16px;
    font-family: "EB Garamond", serif;
    outline: none;
}
.st-studio-select option {
    background: #22262C;
    color: var(--parchment);
}

.st-studio-select:focus {
    border-color: rgba(192, 150, 50, 0.55);
}

.st-studio-list-panel {
    padding: 0;
    overflow: hidden;
}

.st-studio-list-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(192, 150, 50, 0.12);
    background: rgba(0, 0, 0, 0.35);
    font-family: "Cinzel", serif;
    font-size: 12px;
    color: #7a6840;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.st-studio-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 18px;
    border-top: 1px solid rgba(192, 150, 50, 0.1);
}

.st-studio-item:first-child {
    border-top: 0;
}

.st-studio-item-main h3 {
    margin: 0 0 8px;
    font-family: "Cinzel", serif;
    color: #d4aa45;
    font-size: 19px;
}

.st-studio-item-main p {
    margin: 0 0 10px;
    color: #7a6c58;
    font-size: 17px;
    line-height: 1.7;
}

.st-studio-item-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.st-status-pill {
    border: 1px solid rgba(192, 150, 48, 0.25);
    background: rgba(192, 150, 48, 0.08);
    color: #a89878;
    font-family: "Cinzel", serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 8px;
}

.st-status-pill.is-draft {
    border-color: rgba(138, 120, 96, 0.3);
    background: rgba(138, 120, 96, 0.08);
    color: #8a7860;
}

.st-status-pill.is-scheduled {
    border-color: rgba(106, 154, 204, 0.35);
    background: rgba(106, 154, 204, 0.1);
    color: #6a9acc;
}

.st-status-pill.is-published {
    border-color: rgba(122, 176, 96, 0.35);
    background: rgba(122, 176, 96, 0.1);
    color: #7ab060;
}

.st-status-pill.is-archived {
    border-color: rgba(192, 80, 48, 0.3);
    background: rgba(192, 80, 48, 0.08);
    color: #c06030;
}

.st-studio-item-dates {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #5a5040;
}

.st-studio-item-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    justify-content: center;
}

.st-studio-pagination {
    border-top: 1px solid rgba(192, 150, 50, 0.12);
    padding: 14px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.st-studio-gutenberg-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
}

.st-studio-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.st-studio-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.st-studio-tab-btn {
    border: 1px solid rgba(192, 150, 50, 0.24);
    background: rgba(255, 255, 255, 0.02);
    color: #8a7860;
    font-family: "Cinzel", serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 9px 14px;
    cursor: pointer;
}

.st-studio-tab-btn:hover {
    color: #d4aa45;
    border-color: rgba(192, 150, 50, 0.45);
}

.st-studio-tab-btn.is-active {
    color: #d4aa45;
    border-color: rgba(192, 150, 50, 0.55);
    background: rgba(192, 150, 48, 0.1);
}

.st-studio-sidebar-save {
    margin-bottom: 2px;
}

.st-studio-editor-main {
    padding: 18px;
}

.st-studio-field-stack {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

.st-studio-tab-panel {
    display: none;
}

.st-studio-tab-panel.is-active {
    display: block;
}

.st-studio-editor-wrap {
    border: 1px solid rgba(192, 150, 50, 0.2);
    background: rgba(0, 0, 0, 0.2);
    min-height: 560px;
}

.st-studio-editor-canvas {
    padding: 14px 8px;
}

.st-studio-editor-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.st-studio-side-card {
    border: 1px solid rgba(192, 150, 50, 0.12);
    background: rgba(255, 255, 255, 0.015);
    padding: 12px;
}

.st-studio-side-card h3 {
    margin: 0 0 10px;
}

.st-studio-header-image-preview {
    border: 1px solid rgba(192, 150, 50, 0.18);
    margin: 0 0 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
}

.st-studio-header-image-preview img {
    width: 100%;
    max-height: 200px;
    display: block;
    object-fit: cover;
}

.st-studio-preview-surface {
    border: 1px solid rgba(192, 150, 50, 0.15);
    background: rgba(0, 0, 0, 0.25);
    min-height: 720px;
    padding: 18px;
}

.st-studio-preview-post {
    max-width: 760px;
    margin: 0 auto;
}

.st-studio-history-wrap {
    border: 1px solid rgba(192, 150, 50, 0.12);
    overflow-x: auto;
}

.st-studio-history-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.st-studio-history-table th,
.st-studio-history-table td {
    border-top: 1px solid rgba(192, 150, 50, 0.1);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.st-studio-history-table thead th {
    border-top: 0;
    background: rgba(0, 0, 0, 0.35);
    color: #8a7860;
    font-family: "Cinzel", serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.st-studio-history-table tbody td {
    color: #9a8c78;
    font-size: 15px;
}

.st-studio-textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    border: 1px solid rgba(192, 150, 50, 0.25);
    background: rgba(255, 255, 255, 0.04);
    color: var(--parchment);
    padding: 12px 14px;
    font-size: 16px;
    font-family: "EB Garamond", serif;
    outline: none;
}

.st-studio-textarea-sm {
    min-height: 110px;
}

.st-studio-textarea:focus {
    border-color: rgba(192, 150, 50, 0.55);
}

.st-studio-editor-canvas .codex-editor__redactor {
    padding-bottom: 18px !important;
}

.st-studio-editor-canvas .ce-toolbar__content,
.st-studio-editor-canvas .ce-block__content {
    max-width: 760px;
}

.st-studio-editor-canvas .ce-paragraph,
.st-studio-editor-canvas .ce-header,
.st-studio-editor-canvas .ce-quote__text,
.st-studio-editor-canvas .ce-quote__caption,
.st-studio-editor-canvas .cdx-list__item {
    color: #b6a287;
    font-family: "EB Garamond", serif;
}

.st-studio-editor-canvas .ce-header {
    color: #d4aa45;
    font-family: "Cinzel", serif;
}

.st-studio-editor-canvas .ce-popover,
.st-studio-editor-canvas .ce-toolbar__plus,
.st-studio-editor-canvas .ce-toolbar__settings-btn {
    color: #ceb98f;
}

.st-studio-editor-canvas .ce-toolbar__plus:hover,
.st-studio-editor-canvas .ce-toolbar__settings-btn:hover {
    color: #e8c85a;
}

.st-studio-editor-canvas .ce-block--selected .ce-block__content {
    background: rgba(192, 150, 48, 0.08);
}

.st-studio-editor-canvas .ce-delimiter {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    color: transparent;
    font-size: 0;
    letter-spacing: 0;
    user-select: none;
}

.st-studio-editor-canvas .ce-delimiter::before {
    content: "";
    width: 148px;
    height: 1px;
    background:
        linear-gradient(to right, transparent, var(--gold) 45%, transparent 45%, transparent 55%, var(--gold) 55%, transparent);
    opacity: 0.95;
}

.st-studio-editor-canvas .ce-delimiter::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
    background: radial-gradient(circle at center, var(--gold) 0 2px, transparent 3px);
}

.st-editor-content > :first-child {
    margin-top: 0;
}

.st-editor-content h2,
.st-editor-content h3,
.st-editor-content h4 {
    margin: 28px 0 10px;
    font-family: "Cinzel", serif;
    color: #d4aa45;
    letter-spacing: 0.04em;
}

.st-editor-content h2 {
    font-size: 24px;
}

.st-editor-content h3 {
    font-size: 20px;
}

.st-editor-content h4 {
    font-size: 17px;
}

.st-editor-content p {
    margin: 0 0 20px;
    font-family: "EB Garamond", serif;
    font-size: 21px;
    color: #9a8c78;
    line-height: 1.75;
}

.st-editor-content ul,
.st-editor-content ol {
    margin: 0 0 16px 0;
    color: #9a8c78;
    font-size: 20px;
    line-height: 1.75;
}

.st-editor-content li {
    margin: 0 0 6px;
}

.st-editor-content blockquote {
    margin: 0 0 22px;
    border-left: 2px solid rgba(192, 150, 50, 0.35);
    padding: 6px 0 6px 16px;
}

.st-editor-content blockquote p {
    margin: 0;
}

.st-editor-content blockquote cite {
    display: block;
    margin-top: 6px;
    color: #8a7860;
    font-size: 16px;
}

.st-editor-content hr {
    border: 0;
    border-top: 1px solid rgba(192, 150, 50, 0.2);
    margin: 30px 0;
}

.st-editor-content .st-editor-delimiter {
    margin: 12px 0 28px;
}

.st-editor-content .st-editor-figure {
    margin: 0 0 24px;
}

.st-editor-content .st-editor-figure img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(192, 150, 50, 0.18);
}

.st-editor-content .st-editor-figure figcaption {
    margin-top: 8px;
    color: #7a6c58;
    font-size: 16px;
    font-style: italic;
}

.st-editor-content .st-editor-table-wrap {
    margin: 0 0 24px;
    overflow-x: auto;
}

.st-editor-content .st-editor-table {
    width: 100%;
    min-width: 340px;
    border-collapse: collapse;
}

.st-editor-content .st-editor-table th,
.st-editor-content .st-editor-table td {
    border: 1px solid rgba(192, 150, 50, 0.18);
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
    color: #9a8c78;
    font-family: "EB Garamond", serif;
    font-size: 19px;
    line-height: 1.55;
}

.st-editor-content .st-editor-table th {
    background: rgba(192, 150, 50, 0.1);
    color: #d4aa45;
    font-family: "Cinzel", serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.st-video-embed {
    margin: 0 0 24px;
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.st-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.st-studio-sidebar h3 {
    margin: 0 0 10px;
}

.st-studio-sidebar p {
    margin: 0 0 10px;
}

.st-studio-side-meta {
    display: grid;
    gap: 8px;
    color: #7a6c58;
    font-size: 15px;
}

.st-studio-side-meta b {
    color: #a89878;
    font-family: "Cinzel", serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-right: 6px;
}

.st-studio-events {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.st-studio-event {
    border: 1px solid rgba(192, 150, 50, 0.12);
    background: rgba(255, 255, 255, 0.02);
    padding: 10px;
}

.st-studio-event-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    color: #6a5c48;
    font-size: 12px;
}

.st-studio-event-actor {
    margin-top: 6px;
    font-size: 14px;
    color: #8a7860;
}

.st-studio-empty {
    margin: 0;
    color: #5a5040;
    font-style: italic;
}

@keyframes stPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(0.8);
    }
    50% {
        opacity: 0.8;
        transform: scaleY(1);
    }
}

@media (max-width: 980px) {
    .st-nav-links,
    .st-nav-actions {
        display: none;
    }

    .st-nav-toggle {
        display: inline-flex;
    }

    .st-nav-inner.is-open {
        flex-wrap: wrap;
        padding-bottom: 12px;
    }

    .st-nav-inner.is-open .st-nav-links,
    .st-nav-inner.is-open .st-nav-actions {
        display: flex;
        width: 100%;
    }

    .st-nav-inner.is-open .st-nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        border-top: 1px solid rgba(192, 150, 50, 0.12);
        padding-top: 10px;
    }

    .st-nav-inner.is-open .st-nav-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
        padding-top: 8px;
    }

    .st-meta {
        margin-left: 0;
    }

    .st-hero h1 {
        font-size: clamp(48px, 11vw, 78px);
    }

    .st-subtitle {
        font-size: clamp(22px, 5.6vw, 32px);
    }

    .st-faction-box {
        min-width: 0;
        width: min(280px, 100%);
    }

    .st-factions-vs {
        width: 100%;
        text-align: center;
    }

    .st-grid-2,
    .st-community,
    .st-wiki-layout,
    .st-studio-gutenberg-layout {
        grid-template-columns: 1fr;
    }

    .st-studio-topbar {
        flex-wrap: wrap;
    }

    .st-studio-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .st-studio-item {
        grid-template-columns: 1fr;
    }

    .st-studio-item-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .st-lore-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .st-lore-map {
        height: 320px;
        min-height: 320px;
    }

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

    .st-dash-layout {
        flex-direction: column;
    }

    .st-dash-sidebar,
    .st-wiki-sidebar {
        position: static;
    }

    .st-totp-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .st-totp-qr-wrap {
        justify-content: flex-start;
    }

    .st-news-item {
        grid-template-columns: 1fr;
    }

    .st-podium {
        grid-template-columns: 1fr;
    }

    .st-leaderboard-podium {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .st-podium-card,
    .st-podium-card.is-first {
        align-self: stretch;
        padding: 20px 16px;
    }

    .st-podium-card.is-first .st-podium-rank {
        font-size: 24px;
    }

    .st-podium-card.is-first .st-podium-score {
        font-size: 20px;
    }

    .st-download-main-btn {
        padding: 16px 36px;
        font-size: 15px;
    }
}

@media (max-width: 680px) {
    .st-container,
    .st-page,
    .st-hero-inner {
        width: min(1200px, 100% - 28px);
    }

    .st-status-inner {
        width: min(1200px, 100% - 28px);
        gap: 10px;
    }

    .st-status-inner .st-sep,
    .st-status-inner .st-kv:nth-child(n + 8) {
        display: none;
    }

    .st-footer-bottom {
        flex-direction: column;
    }

    .st-btn-lg {
        font-size: 13px;
        padding: 11px 20px;
    }

    .st-subtitle {
        font-size: clamp(20px, 7vw, 28px);
    }

    .st-faction-box p {
        font-size: 13px;
    }

    .st-media-grid {
        grid-template-columns: 1fr;
    }

    .st-studio-filter-grid,
    .st-studio-gutenberg-layout {
        grid-template-columns: 1fr;
    }

    .st-studio-filters {
        min-width: 100%;
    }

    .st-studio-editor-wrap {
        min-height: 420px;
    }

    .st-studio-preview-surface {
        min-height: 520px;
    }

    .st-markdown p,
    .st-markdown ul,
    .st-markdown ol,
    .st-editor-content p,
    .st-editor-content ul,
    .st-editor-content ol {
        font-size: 19px;
    }

    .st-editor-content .st-editor-table th,
    .st-editor-content .st-editor-table td {
        font-size: 17px;
    }

    .st-leaderboard-search {
        width: 100%;
    }

    .st-leaderboard-table {
        min-width: 660px;
    }

    .st-lore-map {
        height: 280px;
        min-height: 280px;
    }

    .st-article-shell {
        padding: 40px 14px 72px;
    }

    .st-article-title {
        font-size: clamp(20px, 6vw, 28px);
    }

    .st-article-image {
        height: 220px;
        min-height: 220px;
    }

    .st-download-hero {
        padding: 60px 24px 48px;
    }

    .st-download-main-btn {
        width: min(100%, 420px);
        padding: 14px 24px;
        font-size: 14px;
    }

    .st-download-cta-btn {
        width: min(100%, 520px);
        padding: 14px 24px;
        font-size: 14px;
    }

    .st-download-subtitle {
        font-size: 18px;
    }

    .st-totp-modal {
        padding: 14px;
    }

    .st-totp-modal-panel {
        padding: 22px 16px 18px;
    }

    .st-totp-actions {
        justify-content: stretch;
    }

    .st-totp-actions .st-btn {
        flex: 1;
    }
}
