/* =========================================================
   MYTHORIA — Shared visual system
   Portal, account and community notice
   ========================================================= */

:root {
    color-scheme: dark;
    --myth-bg: #100d18;
    --myth-bg-soft: #191326;
    --myth-panel: #21182f;
    --myth-panel-light: #2b203b;
    --myth-purple: #7042a0;
    --myth-purple-light: #a77bd0;
    --myth-gold: #c9a65a;
    --myth-gold-light: #f0d58e;
    --myth-text: #eee8f4;
    --myth-muted: #b7aabe;
    --myth-border: rgba(201,166,90,.42);
    --myth-shadow: 0 18px 50px rgba(0,0,0,.42);
}

body.portal-home,
body.account-page,
body.coins-page {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(ellipse at 50% -15%, rgba(112,66,160,.24), transparent 55%),
        radial-gradient(ellipse at 90% 70%, rgba(65,38,91,.13), transparent 45%),
        var(--myth-bg);
    color: var(--myth-text);
    font: 14px/1.7 Verdana, Arial, sans-serif;
}

.portal-home a,
.account-page a,
.coins-page a {
    color: var(--myth-gold-light);
    text-decoration: none;
}

.portal-home a:hover,
.account-page a:hover,
.coins-page a:hover {
    color: #fff2c8;
    text-decoration: underline;
}

.portal-home a:focus-visible,
.account-page a:focus-visible,
.coins-page a:focus-visible,
.portal-home button:focus-visible,
.account-page button:focus-visible,
.coins-page button:focus-visible,
.portal-home input:focus-visible,
.account-page input:focus-visible,
.account-page select:focus-visible {
    outline: 2px solid var(--myth-gold-light);
    outline-offset: 3px;
}

/* Main frame and masthead */

.portal-home .skyline,
.account-page .skyline {
    width: calc(100% - 40px);
    max-width: 1240px;
    margin: 22px auto 0;
    overflow: hidden;
    border: 1px solid var(--myth-border);
    border-bottom: 0;
    background: linear-gradient(135deg, #21182f, #100d18 70%);
    box-shadow: 0 8px 30px rgba(0,0,0,.28);
}

.portal-home .masthead,
.account-page .masthead {
    position: relative;
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 30px;
    overflow: hidden;
    border: 0;
    background:
        radial-gradient(ellipse at 18% 50%, rgba(112,66,160,.34), transparent 48%),
        linear-gradient(110deg, #21172f 0%, #15101f 58%, #100d18 100%);
}

.portal-home .masthead::before,
.account-page .masthead::before {
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--myth-gold), var(--myth-purple-light), transparent);
    content: "";
}

.portal-home .wordmark,
.account-page .wordmark {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    gap: 15px;
    min-width: 0;
    text-decoration: none;
}

.portal-home .wordmark span,
.account-page .wordmark span {
    color: var(--myth-gold-light);
    font: normal 49px/.95 Georgia, "Times New Roman", serif;
    letter-spacing: 3px;
    text-shadow: 0 2px 3px #000, 0 0 22px rgba(201,166,90,.2);
}

.portal-home .wordmark i,
.account-page .wordmark i {
    color: var(--myth-purple-light);
    font: normal 10px Georgia, serif;
    letter-spacing: 2px;
    white-space: nowrap;
}

.portal-home .motto,
.account-page .motto {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--myth-text);
    font: italic 14px/1.6 Georgia, serif;
    text-align: right;
}

.portal-home .motto span,
.account-page .motto span {
    color: var(--myth-muted);
    font-size: 12px;
}

/* Navigation */

.portal-home .topnav,
.account-page .topnav {
    display: flex;
    flex-wrap: wrap;
    min-height: 46px;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid var(--myth-border);
    background: linear-gradient(180deg, #30243e, #1b1526);
}

.portal-home .topnav a,
.account-page .topnav a {
    display: flex;
    flex: 1 1 auto;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border-right: 1px solid rgba(255,255,255,.055);
    color: #ded3e8;
    font: bold 13px/1.3 Georgia, serif;
    text-align: center;
    transition: background .18s ease, color .18s ease;
}

.portal-home .topnav a:hover,
.account-page .topnav a:hover {
    background: rgba(167,123,208,.13);
    color: var(--myth-gold-light);
    text-decoration: none;
}

.portal-home .topnav a[aria-current],
.account-page .topnav a[aria-current] {
    background: linear-gradient(180deg, rgba(112,66,160,.28), rgba(112,66,160,.08));
    box-shadow: inset 0 2px var(--myth-gold);
    color: var(--myth-gold-light);
}

/* Language selector */

.portal-home .language-switcher,
.account-page .language-switcher {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    padding: 9px 14px;
    border: 0;
    border-bottom: 1px solid var(--myth-border);
    background: #15101f;
}

.portal-home .language-switcher a,
.account-page .language-switcher a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border: 1px solid rgba(201,166,90,.3);
    border-radius: 3px;
    background: #241b31;
    color: var(--myth-muted);
    font-size: 11px;
}

.portal-home .language-switcher a:hover,
.account-page .language-switcher a:hover,
.portal-home .language-switcher a[aria-current=true],
.account-page .language-switcher a[aria-current=true] {
    border-color: var(--myth-gold);
    background: #382943;
    color: var(--myth-gold-light);
    text-decoration: none;
}

/* Main layout */

.portal-home .layout,
.account-page .layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    width: calc(100% - 40px);
    max-width: 1240px;
    margin: 16px auto 35px;
}

.portal-home .sidebar,
.account-page .sidebar {
    min-width: 0;
    color: var(--myth-text);
}

.portal-home .stone-menu,
.account-page .stone-menu {
    padding: 14px 13px;
    border: 1px solid var(--myth-border);
    border-radius: 4px;
    background:
        linear-gradient(145deg, rgba(112,66,160,.13), transparent 55%),
        var(--myth-panel);
    box-shadow: var(--myth-shadow);
}

.portal-home .stone-menu h2,
.account-page .stone-menu h2 {
    margin: 0 0 12px;
    padding: 0 0 11px;
    border-bottom: 1px solid var(--myth-border);
    color: var(--myth-gold-light);
    font: normal 19px/1.3 Georgia, serif;
    text-align: left;
}

.portal-home .stone-menu a,
.account-page .stone-menu a {
    display: block;
    padding: 7px 5px;
    border-bottom: 1px solid rgba(255,255,255,.045);
    color: #ded3e8;
    font: normal 13px/1.45 Georgia, serif;
}

.portal-home .stone-menu a:hover,
.account-page .stone-menu a:hover {
    padding-left: 9px;
    background: rgba(167,123,208,.09);
    color: var(--myth-gold-light);
    text-decoration: none;
}

.portal-home .side-rule,
.account-page .side-rule {
    height: 1px;
    margin: 15px 0;
    border: 0;
    background: linear-gradient(90deg, transparent, var(--myth-gold), transparent);
}

.portal-home .side-signature {
    margin: 15px 0 5px;
    color: var(--myth-gold-light);
    font: italic 25px Georgia, serif;
    text-align: center;
}

.portal-home .side-signature span {
    display: block;
    color: var(--myth-purple-light);
    font: 10px Verdana, sans-serif;
    letter-spacing: 5px;
}

.portal-home .world-note,
.portal-home .side-news {
    margin: 17px 0;
    padding: 13px;
    border: 1px solid rgba(201,166,90,.24);
    background: rgba(33,24,47,.8);
    color: var(--myth-muted);
    font: 12px/1.6 Verdana, sans-serif;
}

.portal-home .world-note h2,
.portal-home .side-news h2 {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--myth-border);
    color: var(--myth-gold-light);
    font: normal 16px Georgia, serif;
}

.portal-home .world-note dt {
    color: var(--myth-muted);
}

.portal-home .world-note dd {
    color: var(--myth-text);
}

.portal-home .side-news a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
    color: #d5c5e4;
    font-size: 11px;
}

.portal-home .side-news time {
    display: block;
    margin-top: 3px;
    color: #988ba5;
    font-size: 10px;
}

/* Main content panels */

.portal-home .paper,
.account-page .paper,
.coins-page .paper {
    min-width: 0;
    min-height: 600px;
    padding: 30px;
    border: 1px solid var(--myth-border);
    border-radius: 4px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(112,66,160,.13), transparent 48%),
        linear-gradient(145deg, #21182f, #191326 65%, #171120);
    box-shadow: var(--myth-shadow);
    color: var(--myth-text);
}

.portal-home .page-title,
.account-page .page-title {
    display: block;
    margin: 0 0 25px;
    padding: 0 0 15px;
    border: 0;
    border-bottom: 1px solid var(--myth-border);
    box-shadow: none;
}

.portal-home .page-title h1,
.portal-home .page-title h2,
.account-page .page-title h1 {
    margin: 0;
    color: var(--myth-gold-light);
    font: normal 34px/1.2 Georgia, serif;
    letter-spacing: .2px;
}

.portal-home .page-title p,
.account-page .page-title p {
    margin: 8px 0 0;
    color: var(--myth-muted);
    font-size: 12px;
    line-height: 1.6;
}

.portal-home .eyebrow {
    color: var(--myth-purple-light);
    font: bold 10px/1.5 Verdana, sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Portal welcome area */

.portal-home .welcome {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    align-items: center;
    gap: 25px;
    margin: 0 0 27px;
    padding: 5px 5px 23px;
    border-bottom: 1px solid var(--myth-border);
}

.portal-home .welcome h1 {
    margin: 4px 0 12px;
    color: var(--myth-gold-light);
    font: normal 38px/1.15 Georgia, serif;
    letter-spacing: -.4px;
}

.portal-home .intro {
    max-width: 70ch;
    color: #d3c9dc;
    font-size: 14px;
    line-height: 1.8;
}

.portal-home .welcome-crest img {
    filter: drop-shadow(0 8px 15px rgba(0,0,0,.55));
}

.portal-home .welcome-crest span {
    color: var(--myth-gold);
}

/* Buttons */

.portal-home .button,
.account-page .button,
.coins-page .button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 9px 17px;
    border: 1px solid #9e7b43;
    border-radius: 3px;
    background: linear-gradient(180deg, #79552e, #49301f);
    box-shadow: inset 0 1px rgba(255,255,255,.13), 0 3px 10px rgba(0,0,0,.25);
    color: #fff0cf;
    font: bold 13px/1.3 Georgia, serif;
    text-shadow: 0 1px 2px #24150b;
    cursor: pointer;
    transition: filter .18s ease, transform .18s ease;
}

.portal-home .button:hover,
.account-page .button:hover,
.coins-page .button:hover {
    filter: brightness(1.17);
    color: #fff8e8;
    text-decoration: none;
    transform: translateY(-1px);
}

.portal-home .button-secondary {
    border-color: rgba(167,123,208,.55);
    background: linear-gradient(180deg, #50376b, #30203f);
    color: #eee1fa;
    text-shadow: 0 1px 2px #100b18;
}

/* News and content sections */

.portal-home .news-ribbon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 15px;
    min-height: 42px;
    margin: 23px 0 17px;
    padding: 9px 14px;
    border: 1px solid rgba(201,166,90,.55);
    border-left: 3px solid var(--myth-gold);
    background: linear-gradient(100deg, #4a263b, #2a1b32 70%);
    box-shadow: 0 5px 16px rgba(0,0,0,.2);
    color: var(--myth-gold-light);
    font: bold 14px/1.4 Georgia, serif;
}

.portal-home .news-ribbon h3 {
    margin: 0;
    color: inherit;
    font: inherit;
}

.portal-home .news-ribbon time {
    color: #c5b2c9;
    font: normal 10px Verdana, sans-serif;
}

.portal-home .news-body,
.portal-home .content-section {
    color: #d9d0e1;
}

.portal-home .content-section h2,
.portal-home .content-section h4,
.portal-home .section-heading h2,
.portal-home .download-section h2,
.account-page .account-section h2,
.account-page .content-section h2 {
    color: var(--myth-gold-light);
    font: normal 25px/1.3 Georgia, serif;
}

.portal-home .gold-list li::before {
    background: var(--myth-gold);
    box-shadow: 0 0 8px rgba(201,166,90,.35);
}

.portal-home .journey-steps {
    border-color: var(--myth-border);
}

.portal-home .journey-steps b {
    color: var(--myth-gold);
}

.portal-home .journey-steps a {
    color: #d9c6ed;
}

.portal-home .classic-index {
    margin: 16px 0 22px;
    border: 1px solid rgba(201,166,90,.3);
    background: rgba(16,13,24,.55);
    color: var(--myth-text);
}

.portal-home .classic-index summary {
    padding: 12px 15px;
    color: var(--myth-gold-light);
    cursor: pointer;
    font: bold 13px Georgia, serif;
}

.portal-home .classic-index nav {
    padding: 5px 15px 13px;
}

.portal-home .classic-index nav a {
    display: block;
    padding: 7px 0;
    border-top: 1px solid rgba(255,255,255,.06);
    color: #d7c8e4;
    font-size: 12px;
}

/* Account forms and notices */

.account-page .account-section,
.account-page .content-section {
    margin-top: 18px;
    padding: 20px 8px;
    border-top: 1px solid var(--myth-border);
    color: #d9d0e1;
}

.account-page .account-section form {
    max-width: 720px;
}

.account-page .account-section label {
    color: #e8dfef;
}

.account-page .account-section input,
.account-page .account-section select {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid rgba(201,166,90,.42);
    border-radius: 3px;
    background: #110e19;
    color: var(--myth-text);
}

.account-page .account-section input::placeholder {
    color: #8f829c;
}

.account-page .account-section input:focus,
.account-page .account-section select:focus {
    border-color: var(--myth-purple-light);
    outline: 2px solid rgba(167,123,208,.35);
    outline-offset: 1px;
}

.account-page .account-section small,
.account-page .password-note,
.account-page .small-note {
    color: var(--myth-muted);
}

.account-page .notice {
    margin: 15px 0;
    padding: 13px 16px;
    border: 1px solid var(--myth-border);
    border-left: 3px solid var(--myth-gold);
    background: rgba(16,13,24,.7);
    color: var(--myth-text);
}

.account-page .notice.error {
    border-color: #a85b68;
    background: rgba(91,30,43,.28);
    color: #ffc3c9;
}

.account-page .notice.success {
    border-color: #718e65;
    background: rgba(43,75,43,.25);
    color: #d5efc9;
}

.account-page .character-card {
    padding: 16px;
    border: 1px solid var(--myth-border);
    border-radius: 3px;
    background: linear-gradient(145deg, #2b203b, #1b1526);
    color: var(--myth-muted);
}

.account-page .character-card h3 {
    color: var(--myth-gold-light);
    font: normal 22px Georgia, serif;
}

.portal-home footer,
.account-page footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--myth-border);
    color: #94879f;
    font: 10px/1.7 Verdana, sans-serif;
    text-align: center;
}

/* Community notice */

.coins-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 25px;
}

.coins-page .paper {
    width: min(100%, 760px);
    min-height: 0;
    padding: 38px;
}

.coins-page .eyebrow {
    color: var(--myth-purple-light);
    font: bold 11px Verdana, sans-serif;
    letter-spacing: 2px;
}

.coins-page h1 {
    margin: 12px 0 20px;
    color: var(--myth-gold-light);
    font: normal 36px/1.2 Georgia, serif;
}

.coins-page p {
    color: #d5cadd;
}

.coins-page p:last-child {
    margin-top: 28px;
}

/* Responsive */

@media (max-width: 900px) {
    .portal-home .layout,
    .account-page .layout {
        grid-template-columns: 175px minmax(0, 1fr);
        gap: 12px;
    }

    .portal-home .paper,
    .account-page .paper {
        padding: 23px 20px;
    }

    .portal-home .masthead,
    .account-page .masthead {
        min-height: 95px;
    }

    .portal-home .wordmark span,
    .account-page .wordmark span {
        font-size: 42px;
    }
}

@media (max-width: 640px) {
    .portal-home .skyline,
    .account-page .skyline,
    .portal-home .layout,
    .account-page .layout {
        width: 100%;
    }

    .portal-home .skyline,
    .account-page .skyline {
        margin-top: 0;
        border-right: 0;
        border-left: 0;
    }

    .portal-home .masthead,
    .account-page .masthead {
        min-height: 82px;
        padding: 13px 16px;
    }

    .portal-home .wordmark,
    .account-page .wordmark {
        gap: 9px;
    }

    .portal-home .wordmark span,
    .account-page .wordmark span {
        font-size: 37px;
        letter-spacing: 1px;
    }

    .portal-home .wordmark i,
    .account-page .wordmark i {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .portal-home .motto,
    .account-page .motto {
        display: none;
    }

    .portal-home .topnav,
    .account-page .topnav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-home .topnav a,
    .account-page .topnav a {
        min-height: 42px;
        padding: 7px 5px;
        border-bottom: 1px solid rgba(255,255,255,.05);
        font-size: 12px;
    }

    .portal-home .language-switcher,
    .account-page .language-switcher {
        justify-content: center;
    }

    .portal-home .layout,
    .account-page .layout {
        display: block;
        margin-top: 0;
    }

    .portal-home .sidebar,
    .account-page .sidebar {
        display: none;
    }

    .portal-home .paper,
    .account-page .paper {
        min-height: 0;
        padding: 22px 16px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .portal-home .welcome {
        grid-template-columns: minmax(0, 1fr);
        padding-inline: 2px;
    }

    .portal-home .welcome h1 {
        font-size: 31px;
    }

    .portal-home .welcome-crest {
        display: none;
    }

    .portal-home .page-title h1,
    .portal-home .page-title h2,
    .account-page .page-title h1 {
        font-size: 29px;
    }

    .portal-home .news-ribbon {
        display: block;
    }

    .portal-home .news-ribbon time {
        display: block;
        margin-top: 5px;
    }

    .account-page .account-section {
        padding-inline: 2px;
    }

    .account-page .account-section form {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .account-page .account-section small,
    .account-page .password-note,
    .account-page .primary {
        grid-column: 1;
    }

    .account-page .primary {
        width: 100%;
    }

    .coins-page {
        padding: 12px;
    }

    .coins-page .paper {
        padding: 25px 19px;
    }

    .coins-page h1 {
        font-size: 30px;
    }
}

/* =========================================================
   MYTHORIA ACCOUNT — NEW INTERFACE
   ========================================================= */

.account-page {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(112,66,160,.22), transparent 48%),
        linear-gradient(180deg, #100d18, #15101f 55%, #0d0a13);
    color: var(--myth-text);
    font: 14px/1.7 Verdana, Arial, sans-serif;
}

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

.account-page a {
    color: var(--myth-gold-light);
    text-decoration: none;
}

.account-page a:hover {
    color: #fff;
    text-decoration: underline;
}

.account-page .myth-account-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 28px auto 50px;
    border: 1px solid rgba(201,166,90,.35);
    background: linear-gradient(145deg, rgba(35,25,49,.96), rgba(16,13,24,.98));
    box-shadow: 0 25px 80px rgba(0,0,0,.48);
}

.account-page .myth-header {
    border-bottom: 1px solid var(--myth-border);
    background:
        radial-gradient(ellipse at 20% 0%, rgba(112,66,160,.32), transparent 55%),
        linear-gradient(115deg, #21172f, #100d18 75%);
}

.account-page .myth-header-inner {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 34px;
}

.account-page .myth-brand {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.account-page .myth-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.account-page .myth-brand-copy strong {
    color: var(--myth-gold-light);
    font: normal 46px/.95 Georgia, "Times New Roman", serif;
    letter-spacing: 4px;
    text-shadow: 0 2px 4px #000, 0 0 24px rgba(201,166,90,.2);
}

.account-page .myth-brand-copy small {
    color: var(--myth-purple-light);
    font: 10px Georgia, serif;
    letter-spacing: 3px;
}

.account-page .myth-header-motto {
    margin: 0;
    color: #c7b9d2;
    font: italic 15px Georgia, serif;
    text-align: right;
}

.account-page .myth-nav {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid var(--myth-border);
    background: linear-gradient(180deg, #30243e, #1b1526);
}

.account-page .myth-nav a {
    display: flex;
    min-height: 48px;
    flex: 1 1 130px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-right: 1px solid rgba(255,255,255,.06);
    color: #ded3e8;
    font: bold 13px Georgia, serif;
    text-align: center;
    transition: background .2s ease, color .2s ease;
}

.account-page .myth-nav a:hover,
.account-page .myth-nav a[aria-current] {
    background: rgba(112,66,160,.22);
    color: var(--myth-gold-light);
    text-decoration: none;
    box-shadow: inset 0 -2px var(--myth-gold);
}

.account-page .myth-account-language {
    display: flex;
    justify-content: flex-end;
    padding: 9px 18px;
    border-bottom: 1px solid rgba(201,166,90,.22);
    background: rgba(12,9,18,.55);
}

.account-page .myth-account-language .language-switcher {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.account-page .myth-account-language .language-switcher a {
    padding: 4px 9px;
    border: 1px solid rgba(201,166,90,.3);
    background: #241b31;
    color: var(--myth-muted);
    font-size: 11px;
}

.account-page .myth-account-main {
    min-height: 540px;
    padding: 42px clamp(20px, 5vw, 64px) 30px;
}

.account-page .myth-account-heading {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--myth-border);
}

.account-page .myth-account-eyebrow {
    margin: 0 0 7px;
    color: var(--myth-purple-light);
    font: bold 10px/1.5 Verdana, sans-serif;
    letter-spacing: 2px;
}

.account-page .myth-account-heading h1 {
    margin: 0;
    color: var(--myth-gold-light);
    font: normal clamp(30px, 4vw, 42px)/1.15 Georgia, serif;
}

.account-page .myth-account-heading > p:last-child {
    margin: 9px 0 0;
    color: var(--myth-muted);
}

.account-page .myth-account-login-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, .8fr);
    gap: 22px;
    max-width: 900px;
    margin: 0 auto;
}

.account-page .myth-account-card,
.account-page .myth-account-side-panel {
    min-width: 0;
    padding: 25px;
    border: 1px solid var(--myth-border);
    background:
        radial-gradient(ellipse at 100% 0%, rgba(112,66,160,.14), transparent 55%),
        linear-gradient(145deg, #261c35, #171120);
    box-shadow: 0 12px 35px rgba(0,0,0,.25);
}

.account-page .myth-account-card-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.account-page .myth-account-symbol {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid rgba(201,166,90,.5);
    background: rgba(112,66,160,.17);
    color: var(--myth-gold-light);
    font-size: 21px;
}

.account-page .myth-account-card-heading .myth-account-eyebrow {
    margin-bottom: 2px;
}

.account-page .myth-account-card h2,
.account-page .myth-account-section h2,
.account-page .myth-account-overview h2 {
    margin: 0;
    color: var(--myth-gold-light);
    font: normal 25px/1.25 Georgia, serif;
}

.account-page .myth-account-description {
    margin: 0 0 22px;
    color: var(--myth-muted);
    font-size: 13px;
}

.account-page .myth-account-form {
    display: grid;
    gap: 9px;
}

.account-page .myth-account-form label {
    margin-top: 7px;
    color: #e8dfef;
    font-size: 12px;
    font-weight: bold;
}

.account-page .myth-account-form input,
.account-page .myth-account-form select {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(201,166,90,.35);
    border-radius: 2px;
    background: #100d18;
    color: var(--myth-text);
    font: 14px Verdana, sans-serif;
}

.account-page .myth-account-form input:focus,
.account-page .myth-account-form select:focus {
    border-color: var(--myth-purple-light);
    outline: 2px solid rgba(167,123,208,.25);
}

.account-page .myth-account-button {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border: 1px solid #9e7b43;
    border-radius: 2px;
    background: linear-gradient(180deg, #79552e, #49301f);
    color: #fff0cf;
    font: bold 12px Georgia, serif;
    cursor: pointer;
}

.account-page .myth-account-button:hover {
    filter: brightness(1.18);
}

.account-page .myth-account-form .myth-account-button {
    width: 100%;
    margin-top: 13px;
}

.account-page .myth-account-button.secondary {
    border-color: rgba(167,123,208,.5);
    background: linear-gradient(180deg, #50376b, #30203f);
}

.account-page .myth-account-register {
    margin: 23px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(201,166,90,.2);
    color: #d9d0e1;
    font-size: 12px;
}

.account-page .myth-account-register a {
    display: inline-block;
    margin-top: 5px;
}

.account-page .myth-account-small-note {
    margin: 13px 0 0;
    color: #93869e;
    font-size: 11px;
}

.account-page .myth-account-side-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 35%, rgba(112,66,160,.25), transparent 65%),
        linear-gradient(160deg, #21172f, #120e1b);
}

.account-page .myth-account-side-icon {
    color: var(--myth-gold);
    font-size: 45px;
    text-shadow: 0 0 25px rgba(201,166,90,.35);
}

.account-page .myth-account-side-panel h2 {
    margin: 14px 0 3px;
    color: var(--myth-gold-light);
    font: normal 27px Georgia, serif;
    letter-spacing: 3px;
}

.account-page .myth-account-side-panel p {
    color: var(--myth-muted);
    font: 10px Georgia, serif;
    letter-spacing: 1px;
}

.account-page .myth-account-divider {
    width: 70%;
    height: 1px;
    margin: 20px 0;
    background: linear-gradient(90deg, transparent, var(--myth-gold), transparent);
}

.account-page .myth-account-side-panel a {
    margin-top: 15px;
    font: 12px Georgia, serif;
}

.account-page .myth-account-notice {
    margin: 0 0 22px;
    padding: 14px 17px;
    border: 1px solid var(--myth-border);
    border-left: 3px solid var(--myth-gold);
    background: rgba(16,13,24,.75);
    color: var(--myth-text);
}

.account-page .myth-account-notice.error {
    border-color: #a85b68;
    background: rgba(91,30,43,.28);
    color: #ffc3c9;
}

.account-page .myth-account-notice.success {
    border-color: #718e65;
    background: rgba(43,75,43,.25);
    color: #d5efc9;
}

.account-page .myth-account-overview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}

.account-page .myth-account-overview h2 {
    font-size: 28px;
}

.account-page .myth-account-premium {
    margin: 9px 0 0;
    color: var(--myth-muted);
    font-size: 13px;
}

.account-page .myth-account-section {
    margin: 0 0 35px;
}

.account-page .myth-account-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 17px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--myth-border);
}

.account-page .myth-account-section-heading h2 {
    font-size: 29px;
}

.account-page .myth-account-section-mark {
    color: rgba(201,166,90,.45);
    font: normal 32px Georgia, serif;
}

.account-page .myth-account-character-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 13px;
}

.account-page .myth-account-character {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 17px;
    border: 1px solid rgba(201,166,90,.3);
    background: linear-gradient(145deg, #2b203b, #191326);
}

.account-page .myth-account-character-icon {
    color: var(--myth-gold);
    font-size: 25px;
}

.account-page .myth-account-character h3 {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--myth-gold-light);
    font: normal 19px Georgia, serif;
}

.account-page .myth-account-character p {
    margin: 5px 0 0;
    color: var(--myth-muted);
    font-size: 11px;
}

.account-page .myth-account-management-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.account-page .myth-account-management-grid .myth-account-card {
    padding: 22px;
}

.account-page .myth-account-footer {
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid var(--myth-border);
    color: #93869e;
    font-size: 10px;
    text-align: center;
}

.account-page .myth-account-footer span {
    color: var(--myth-gold);
    font: normal 17px Georgia, serif;
    letter-spacing: 3px;
}

.account-page .myth-account-footer p {
    margin: 5px 0 0;
}

.account-page .skip-link {
    position: absolute;
    left: -9999px;
}

.account-page .skip-link:focus {
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 10px;
    background: #21182f;
}

@media (max-width: 760px) {
    .account-page .myth-account-shell {
        width: 100%;
        margin: 0 auto;
        border-right: 0;
        border-left: 0;
    }

    .account-page .myth-header-inner {
        min-height: 90px;
        padding: 17px 20px;
    }

    .account-page .myth-brand-copy strong {
        font-size: 37px;
    }

    .account-page .myth-brand-copy small {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .account-page .myth-header-motto {
        display: none;
    }

    .account-page .myth-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-page .myth-nav a {
        min-height: 43px;
    }

    .account-page .myth-account-main {
        padding: 30px 17px 24px;
    }

    .account-page .myth-account-login-layout,
    .account-page .myth-account-management-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .account-page .myth-account-side-panel {
        min-height: 210px;
    }

    .account-page .myth-account-overview {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-page .myth-account-overview form,
    .account-page .myth-account-overview button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .account-page .myth-account-card {
        padding: 19px 16px;
    }

    .account-page .myth-account-heading h1 {
        font-size: 30px;
    }

    .account-page .myth-account-section-heading h2 {
        font-size: 24px;
    }
}
/* =========================================================
   MYTHORIA — Portal redesign
   Scoped exclusively to the public portal.
   ========================================================= */

body.portal-home {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(112, 66, 160, .22), transparent 42%),
        linear-gradient(180deg, #100d18 0%, #171020 48%, #0d0a12 100%);
    color: var(--myth-text);
}

.portal-home .skyline {
    min-height: 12px;
    background: linear-gradient(90deg, #291b3b, #7042a0 50%, #291b3b);
    border-bottom: 1px solid rgba(201, 166, 90, .35);
}

.portal-home .masthead {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 38px clamp(22px, 5vw, 76px) 30px;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(112, 66, 160, .24), transparent 55%),
        linear-gradient(135deg, rgba(35, 25, 49, .98), rgba(17, 13, 25, .98));
    border-bottom: 1px solid var(--myth-border);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

.portal-home .wordmark {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: var(--myth-gold-light);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1;
    text-shadow: 0 3px 18px rgba(201, 166, 90, .2);
}

.portal-home .wordmark small {
    color: var(--myth-muted);
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .25em;
}

.portal-home .motto {
    max-width: 340px;
    color: #c9bbd5;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    font-style: italic;
    line-height: 1.7;
    text-align: right;
}

.portal-home .topnav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 13px 22px;
    background: rgba(12, 9, 18, .94);
    border-bottom: 1px solid rgba(201, 166, 90, .28);
}

.portal-home .topnav a {
    padding: 10px 17px;
    color: #c9bbd5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.portal-home .topnav a:hover,
.portal-home .topnav a:focus-visible {
    color: var(--myth-gold-light);
    background: rgba(112, 66, 160, .18);
    border-color: var(--myth-border);
    outline: none;
}

.portal-home .layout {
    display: grid;
    grid-template-columns: minmax(220px, 275px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(22px, 3vw, 42px);
    width: min(1360px, calc(100% - 48px));
    margin: 42px auto 80px;
}

.portal-home .sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
}

.portal-home .stone-menu,
.portal-home .world-note,
.portal-home .side-news {
    padding: 22px;
    background:
        linear-gradient(145deg, rgba(43, 32, 59, .96), rgba(25, 19, 38, .98));
    border: 1px solid var(--myth-border);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .24);
}

.portal-home .stone-menu h2,
.portal-home .world-note h2,
.portal-home .side-news h2 {
    margin: 0 0 17px;
    padding-bottom: 13px;
    color: var(--myth-gold-light);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    border-bottom: 1px solid rgba(201, 166, 90, .3);
}

.portal-home .stone-menu a,
.portal-home .side-news a {
    display: block;
    padding: 9px 0;
    color: #d7cce0;
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.portal-home .stone-menu a:hover,
.portal-home .side-news a:hover {
    color: var(--myth-gold-light);
}

.portal-home .world-note,
.portal-home .side-news {
    color: var(--myth-muted);
    font-size: 13px;
    line-height: 1.75;
}

.portal-home .paper {
    min-width: 0;
    padding: clamp(22px, 4vw, 48px);
    color: var(--myth-text);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(112, 66, 160, .13), transparent 50%),
        linear-gradient(145deg, rgba(35, 26, 48, .98), rgba(22, 17, 32, .99));
    border: 1px solid var(--myth-border);
    box-shadow: var(--myth-shadow);
}

.portal-home .welcome {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 190px);
    align-items: center;
    gap: 30px;
    overflow: hidden;
    margin: 0 0 42px;
    padding: clamp(26px, 4vw, 46px);
    background:
        radial-gradient(ellipse at 85% 50%, rgba(112, 66, 160, .28), transparent 55%),
        linear-gradient(125deg, #2b1d3d, #171020 72%);
    border: 1px solid rgba(201, 166, 90, .55);
    box-shadow: inset 0 0 45px rgba(0, 0, 0, .25);
}

.portal-home .welcome h1 {
    margin: 0 0 18px;
    color: var(--myth-gold-light);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
}

.portal-home .welcome-copy {
    color: #d6cadd;
    font-size: 15px;
    line-height: 1.85;
}

.portal-home .welcome-crest {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-home .welcome-crest img {
    display: block;
    width: min(100%, 170px);
    height: auto;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .45));
}

.portal-home .welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.portal-home .journey-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 42px;
}

.portal-home .journey-steps > * {
    min-width: 0;
    padding: 18px;
    background: rgba(12, 9, 18, .48);
    border: 1px solid rgba(201, 166, 90, .25);
}

.portal-home .paper h2 {
    color: var(--myth-gold-light);
    font-family: Georgia, 'Times New Roman', serif;
}

.portal-home .paper p,
.portal-home .paper li {
    color: #d0c5d8;
    line-height: 1.8;
}

.portal-home .paper a {
    color: #d7b9f1;
}

.portal-home .paper a:hover {
    color: var(--myth-gold-light);
}

.portal-home .news-index,
.portal-home .account-section,
.portal-home #download,
.portal-home #mundo,
.portal-home #primeiros-passos {
    margin-top: 34px;
    padding: clamp(20px, 3vw, 32px);
    background: rgba(12, 9, 18, .38);
    border: 1px solid rgba(201, 166, 90, .25);
}

.portal-home .news-index summary {
    color: var(--myth-gold-light);
    cursor: pointer;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
}

.portal-home .systems-illustration {
    margin: 34px 0;
    padding: 16px;
    background: rgba(8, 7, 12, .42);
    border: 1px solid rgba(201, 166, 90, .25);
}

.portal-home .systems-illustration img {
    display: block;
    width: 100%;
    height: auto;
}

.portal-home .account-section form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.portal-home .account-section form label,
.portal-home .account-section form small,
.portal-home .account-section form .password-note,
.portal-home .account-section form button,
.portal-home .account-section form .trap {
    grid-column: 1 / -1;
}

.portal-home .account-section input,
.portal-home .account-section select {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    color: var(--myth-text);
    background: #100c18;
    border: 1px solid rgba(201, 166, 90, .35);
    border-radius: 3px;
}

.portal-home .account-section input:focus,
.portal-home .account-section select:focus {
    border-color: var(--myth-gold);
    outline: 2px solid rgba(201, 166, 90, .18);
}

.portal-home .account-section form button,
.portal-home .button {
    min-height: 46px;
    padding: 12px 22px;
    color: #1b1322;
    font-weight: 800;
    letter-spacing: .06em;
    background: linear-gradient(135deg, #f0d58e, #b58a43);
    border: 1px solid #f0d58e;
    cursor: pointer;
}

.portal-home .account-section form button:hover,
.portal-home .button:hover {
    filter: brightness(1.08);
}

.portal-home footer {
    padding: 28px 20px;
    color: var(--myth-muted);
    text-align: center;
    border-top: 1px solid var(--myth-border);
}

/* Portal responsive layout */
@media (max-width: 900px) {
    .portal-home .layout {
        grid-template-columns: 1fr;
    }

    .portal-home .sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-home .side-news {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .portal-home .masthead {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 28px 22px;
    }

    .portal-home .motto {
        text-align: left;
    }

    .portal-home .topnav {
        justify-content: flex-start;
        gap: 3px;
        padding: 10px;
    }

    .portal-home .topnav a {
        padding: 9px 10px;
        font-size: 10px;
    }

    .portal-home .layout {
        width: min(100% - 24px, 560px);
        margin: 20px auto 48px;
    }

    .portal-home .sidebar {
        grid-template-columns: 1fr;
    }

    .portal-home .paper {
        padding: 16px;
    }

    .portal-home .welcome {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .portal-home .welcome-crest {
        display: none;
    }

    .portal-home .journey-steps {
        grid-template-columns: 1fr;
    }

    .portal-home .account-section form {
        grid-template-columns: 1fr;
    }
}
/* Mythoria portal — full-width main layout after sidebar removal */
.portal-home .layout.myth-portal-layout {
    display: block;
    width: min(1280px, calc(100% - 48px));
    margin: 42px auto 80px;
}

.portal-home .layout.myth-portal-layout > .paper {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 620px) {
    .portal-home .layout.myth-portal-layout {
        width: calc(100% - 24px);
        margin: 20px auto 48px;
    }
}
/* =========================================================
   MYTHORIA — Unified site shell
   Shared header, navigation and footer
   ========================================================= */

.myth-global-header {
    position: relative;
    width: min(1240px, calc(100% - 40px));
    margin: 22px auto 0;
    overflow: hidden;
    border: 1px solid var(--myth-border);
    background:
        radial-gradient(ellipse at 18% 35%, rgba(112,66,160,.32), transparent 48%),
        linear-gradient(110deg, #21172f, #100d18 78%);
    box-shadow: 0 8px 35px rgba(0,0,0,.35);
}

.myth-global-header-inner {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 30px;
}

.myth-global-brand {
    display: inline-flex;
    color: var(--myth-gold-light);
    text-decoration: none;
    text-shadow: 0 3px 15px rgba(201,166,90,.2);
}

.myth-global-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.myth-global-brand-copy strong {
    font: bold clamp(32px, 4vw, 46px)/1 Georgia, "Times New Roman", serif;
    letter-spacing: 4px;
}

.myth-global-brand-copy small {
    color: var(--myth-purple-light);
    font: 10px/1.5 Verdana, Arial, sans-serif;
    letter-spacing: 3px;
}

.myth-global-motto {
    margin: 0;
    color: var(--myth-muted);
    font: 12px/1.5 Verdana, Arial, sans-serif;
    letter-spacing: 2px;
    text-align: right;
}

.myth-global-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 18px;
    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid var(--myth-border);
    background: rgba(8,6,13,.58);
}

.myth-global-nav a {
    padding: 9px 15px;
    border: 1px solid transparent;
    color: var(--myth-muted);
    font: bold 11px/1.4 Verdana, Arial, sans-serif;
    letter-spacing: .7px;
    text-decoration: none;
    transition: .18s ease;
}

.myth-global-nav a:hover,
.myth-global-nav a[aria-current="page"] {
    border-color: rgba(201,166,90,.35);
    background: rgba(112,66,160,.2);
    color: var(--myth-gold-light);
}

.myth-global-language {
    display: flex;
    justify-content: flex-end;
    padding: 8px 24px;
    background: rgba(8,6,13,.3);
}

.myth-global-footer {
    width: min(1240px, calc(100% - 40px));
    margin: 36px auto 24px;
    padding: 24px;
    border-top: 1px solid var(--myth-border);
    color: var(--myth-muted);
    text-align: center;
    font: 12px/1.7 Verdana, Arial, sans-serif;
}

.myth-global-footer strong {
    color: var(--myth-gold-light);
    letter-spacing: 2px;
}

.myth-global-footer p {
    margin: 7px 0 2px;
}

.myth-global-footer span {
    font-size: 10px;
    opacity: .75;
}

@media (max-width: 700px) {
    .myth-global-header,
    .myth-global-footer {
        width: calc(100% - 20px);
    }

    .myth-global-header-inner {
        min-height: auto;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 24px 14px 18px;
    }

    .myth-global-motto {
        text-align: center;
        font-size: 10px;
    }

    .myth-global-nav {
        gap: 3px;
        padding: 9px 5px;
    }

    .myth-global-nav a {
        padding: 8px 9px;
        font-size: 10px;
    }

    .myth-global-language {
        justify-content: center;
    }
}
/* MYTHORIA — News archive */
.myth-news-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(112,66,160,.18), transparent 48%),
        var(--myth-bg);
    color: var(--myth-text);
}
.myth-news-skip {
    position: absolute;
    left: -10000px;
    top: 10px;
    z-index: 1000;
}
.myth-news-skip:focus {
    left: 10px;
    padding: 10px 14px;
    background: var(--myth-panel);
    color: var(--myth-gold-light);
}
.myth-news-main {
    width: min(1040px, calc(100% - 36px));
    margin: 42px auto 64px;
}
.myth-news-heading {
    margin-bottom: 30px;
    padding: 26px 30px;
    border: 1px solid var(--myth-border);
    background: linear-gradient(135deg, rgba(43,32,59,.96), rgba(25,19,38,.96));
    box-shadow: var(--myth-shadow);
}
.myth-news-eyebrow {
    margin: 0 0 9px;
    color: var(--myth-gold);
    font: bold 11px/1.5 Verdana, sans-serif;
    letter-spacing: 2px;
}
.myth-news-heading h1 {
    margin: 0;
    color: var(--myth-gold-light);
    font: normal clamp(30px, 5vw, 43px)/1.15 Georgia, serif;
}
.myth-news-heading > p:last-child {
    max-width: 68ch;
    margin: 12px 0 0;
    color: var(--myth-muted);
    font: 14px/1.7 Verdana, sans-serif;
}
.myth-news-list {
    display: grid;
    gap: 22px;
}
.myth-news-entry {
    padding: 24px 28px;
    border: 1px solid var(--myth-border);
    background: linear-gradient(145deg, var(--myth-panel), var(--myth-bg-soft));
    box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
.myth-news-entry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(201,166,90,.25);
}
.myth-news-category {
    color: var(--myth-gold-light);
    font: bold 10px/1.5 Verdana, sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.myth-news-entry time {
    color: var(--myth-muted);
    font: 11px/1.5 Verdana, sans-serif;
}
.myth-news-entry h2 {
    margin: 18px 0 9px;
    color: var(--myth-gold-light);
    font: normal clamp(23px, 3vw, 30px)/1.25 Georgia, serif;
}
.myth-news-summary {
    margin: 0 0 18px;
    color: #d7c9e3;
    font: italic 14px/1.7 Georgia, serif;
}
.myth-news-body {
    color: var(--myth-text);
    font: 13px/1.85 Verdana, sans-serif;
}
.myth-news-body p {
    max-width: 82ch;
    margin: 12px 0;
}
.myth-news-empty {
    padding: 24px;
    border: 1px solid var(--myth-border);
    color: var(--myth-muted);
    background: var(--myth-panel);
}
@media (max-width: 640px) {
    .myth-news-main {
        width: min(100% - 24px, 1040px);
        margin: 24px auto 42px;
    }
    .myth-news-heading,
    .myth-news-entry {
        padding: 20px 17px;
    }
    .myth-news-entry-header {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* =========================================================
   MYTHORIA — Medieval identity / header
   ========================================================= */

.myth-global-header {
    width: min(1460px, calc(100% - 48px));
    margin: 18px auto 0;
    overflow: hidden;
    border: 3px solid #655747;
    outline: 1px solid #c6a66b;
    outline-offset: -6px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.09), transparent 22%),
        linear-gradient(180deg, #49413b 0%, #29232a 18%, #17131c 100%);
    box-shadow:
        0 0 0 2px #171119,
        0 0 0 4px #8c7655,
        0 12px 35px rgba(0,0,0,.65);
}

.myth-global-header-inner {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 25px;
    background:
        linear-gradient(90deg, rgba(12,9,13,.25), transparent 35%, rgba(12,9,13,.35)),
        repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px);
}

.myth-global-brand {
    flex: 0 0 auto;
    color: #f2d58e;
    text-decoration: none;
    text-shadow: 0 2px 2px #000, 0 0 16px rgba(219,169,76,.35);
}

.myth-global-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.myth-global-brand-copy strong {
    color: #f1d28a;
    font: bold clamp(34px, 4vw, 52px)/.95 Georgia, "Times New Roman", serif;
    letter-spacing: 5px;
}

.myth-global-brand-copy small {
    color: #d3c2a0;
    font: bold 10px/1.4 Georgia, "Times New Roman", serif;
    letter-spacing: 3px;
}

.myth-global-nav {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5px;
    padding: 7px;
    border: 2px solid #71604a;
    outline: 1px solid rgba(230,198,132,.45);
    background:
        linear-gradient(180deg, #3b3331, #211c21 48%, #30272a);
    box-shadow: inset 0 1px rgba(255,255,255,.12), 0 4px 12px #09070b;
}

.myth-global-nav a.myth-nav-item {
    min-width: 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    border: 1px solid transparent;
    color: #e4d5b8;
    font: bold 10px/1.3 Georgia, "Times New Roman", serif;
    letter-spacing: .35px;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 2px #000;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.myth-global-nav a.myth-nav-item:hover,
.myth-global-nav a.myth-nav-item[aria-current="page"] {
    border-color: #c5a66a;
    background: linear-gradient(180deg, rgba(193,151,77,.28), rgba(75,49,34,.5));
    color: #ffe7a9;
    text-decoration: none;
}

.myth-nav-icon {
    color: #e4c47e;
    font: 25px/1 Georgia, "Times New Roman", serif;
    text-shadow: 0 2px 3px #000;
}

.myth-global-language {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 5px 22px;
    border-top: 1px solid rgba(224,193,133,.35);
    background: linear-gradient(180deg, #211b20, #151119);
}

.myth-global-footer {
    width: min(1460px, calc(100% - 48px));
    margin: 32px auto 22px;
    padding: 22px;
    border: 2px solid #625342;
    outline: 1px solid rgba(201,166,90,.5);
    outline-offset: -5px;
    background: linear-gradient(180deg, #29232a, #151119);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

@media (max-width: 900px) {
    .myth-global-header-inner {
        flex-direction: column;
        gap: 18px;
        padding: 22px 14px;
    }

    .myth-global-nav {
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 560px) {
    .myth-global-header,
    .myth-global-footer {
        width: calc(100% - 20px);
    }

    .myth-global-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .myth-global-nav a.myth-nav-item {
        min-width: 0;
    }

    .myth-global-language {
        justify-content: center;
        padding-inline: 8px;
    }
}


/* MYTHORIA — GLOBAL MEDIEVAL IDENTITY */

:root {
    color-scheme: dark;
    --myth-bg: #110e12;
    --myth-bg-soft: #201a1b;
    --myth-panel: #292126;
    --myth-panel-light: #39302d;
    --myth-purple: #59404e;
    --myth-purple-light: #b89a9b;
    --myth-gold: #b99758;
    --myth-gold-light: #ecd39a;
    --myth-text: #eee5d5;
    --myth-muted: #b9ad9d;
    --myth-border: rgba(185,151,88,.58);
    --myth-shadow: 0 18px 45px rgba(0,0,0,.65);
}

body.portal-home,
body.wiki-page,
body.myth-news-page,
body.account-page,
body.coins-page {
    min-height: 100vh;
    margin: 0;
    color: var(--myth-text);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(139,104,68,.15), transparent 48%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.012) 0 2px, transparent 2px 5px),
        linear-gradient(180deg, #211b1b 0%, #110e12 48%, #0b090c 100%);
    font-family: Georgia, "Times New Roman", serif;
}

body.portal-home a,
body.wiki-page a,
body.myth-news-page a,
body.account-page a,
body.coins-page a {
    color: var(--myth-gold-light);
}

body.portal-home a:hover,
body.wiki-page a:hover,
body.myth-news-page a:hover,
body.account-page a:hover,
body.coins-page a:hover {
    color: #fff0c7;
}

.myth-account-main,
.myth-news-main,
.myth-account-card,
.account-section,
.myth-news-entry,
.myth-news-heading,
.project-note,
.project-card,
.myth-action-card {
    border: 1px solid #796346;
    outline: 1px solid rgba(201,166,90,.22);
    outline-offset: -5px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.035), transparent 35%),
        linear-gradient(180deg, #30272a, #1b161b);
    box-shadow: 0 12px 30px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.045);
}

.myth-news-heading h1,
.myth-news-heading h2,
.myth-account-main h1,
.myth-account-main h2,
.myth-account-card h1,
.myth-account-card h2,
.account-section h2,
.project-home h1,
.project-home h2 {
    color: var(--myth-gold-light);
    font-family: Georgia, "Times New Roman", serif;
    text-shadow: 0 2px 3px #000;
}

.myth-news-entry h2,
.myth-news-entry h3 {
    color: #ead19a;
    font-family: Georgia, "Times New Roman", serif;
}

.myth-account-main input,
.myth-account-main select,
.myth-account-main textarea,
.account-page input,
.account-page select,
.account-page textarea {
    border: 1px solid #756044;
    background: #151116;
    color: #f1e7d5;
}

.myth-account-main button,
.myth-account-main .button,
.account-page button,
.account-page .button,
.project-home .button,
.project-home a.button {
    border: 1px solid #e0c17c;
    background: linear-gradient(180deg, #d3b16e, #98713b);
    color: #21170f;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: bold;
    box-shadow: inset 0 1px rgba(255,255,255,.35), 0 4px 10px rgba(0,0,0,.35);
}

.myth-account-main button:hover,
.myth-account-main .button:hover,
.account-page button:hover,
.account-page .button:hover,
.project-home .button:hover,
.project-home a.button:hover {
    background: linear-gradient(180deg, #f0d99e, #b88e4e);
    color: #1b120c;
}

.myth-global-footer {
    border-color: #796346;
    background: linear-gradient(180deg, #30272a, #171218);
}

.myth-global-footer strong {
    color: var(--myth-gold-light);
}

@media (max-width: 700px) {
    .myth-account-main,
    .myth-news-main {
        width: calc(100% - 24px);
        box-sizing: border-box;
    }
}

/* =========================================================
   MYTHORIA — HOMEPAGE MEDIEVAL PORTAL
   ========================================================= */

.portal-home .myth-hero {
    position: relative;
    isolation: isolate;
    width: min(1460px, calc(100% - 48px));
    min-height: 440px;
    box-sizing: border-box;
    margin: 28px auto 34px;
    padding: clamp(55px, 8vw, 110px) 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border: 4px solid #776044;
    outline: 1px solid #d1b477;
    outline-offset: -9px;
    background:
        radial-gradient(ellipse at 50% 38%, rgba(151,104,61,.34), transparent 45%),
        linear-gradient(180deg, rgba(15,11,15,.12), rgba(12,8,12,.78)),
        linear-gradient(110deg, #4a3430, #30232a 48%, #17131b);
    box-shadow: 0 18px 48px rgba(0,0,0,.65), inset 0 0 65px rgba(0,0,0,.38);
}

.portal-home .myth-hero::before,
.portal-home .myth-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.portal-home .myth-hero::before {
    inset: 14px;
    border: 1px solid rgba(231,197,128,.48);
    background:
        radial-gradient(ellipse at 50% 100%, rgba(204,155,82,.12), transparent 55%),
        repeating-linear-gradient(90deg, transparent 0 79px, rgba(230,203,157,.025) 80px);
}

.portal-home .myth-hero::after {
    width: 340px;
    height: 340px;
    right: -100px;
    top: -150px;
    border: 2px solid rgba(224,190,123,.15);
    transform: rotate(45deg);
    box-shadow: 0 0 0 18px rgba(224,190,123,.025), 0 0 0 38px rgba(224,190,123,.02);
}

.portal-home .myth-hero h1,
.portal-home #myth-hero-title {
    max-width: 900px;
    margin: 0 auto 18px;
    color: #f4d995;
    font: bold clamp(38px, 6vw, 68px)/1.08 Georgia, "Times New Roman", serif;
    letter-spacing: 1px;
    text-shadow: 0 4px 5px #080609, 0 0 24px rgba(220,174,94,.35);
}

.portal-home .myth-hero p {
    max-width: 760px;
    color: #eee1c9;
    font: 17px/1.8 Georgia, "Times New Roman", serif;
    text-shadow: 0 2px 4px #000;
}

.portal-home .myth-hero .button,
.portal-home .myth-hero a.button {
    min-width: 180px;
    margin: 12px 7px;
    padding: 14px 25px;
    border: 2px solid #e4c783;
    background: linear-gradient(180deg, #e3c783, #a77d43 55%, #76512e);
    color: #21160e;
    font: bold 15px Georgia, "Times New Roman", serif;
    letter-spacing: 1px;
    text-decoration: none;
    text-shadow: 0 1px rgba(255,255,255,.25);
    box-shadow: inset 0 1px rgba(255,255,255,.4), 0 5px 15px rgba(0,0,0,.55);
}

.portal-home .myth-hero .button:hover,
.portal-home .myth-hero a.button:hover {
    background: linear-gradient(180deg, #f5dfa7, #c49a5b);
    color: #160f09;
}

.portal-home .myth-action-grid {
    width: min(1320px, calc(100% - 48px));
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.portal-home .myth-action-card {
    position: relative;
    min-height: 170px;
    box-sizing: border-box;
    padding: 27px 22px;
    border: 2px solid #756044;
    outline: 1px solid rgba(220,190,131,.25);
    outline-offset: -6px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.055), transparent 42%),
        linear-gradient(180deg, #39302d, #211a20);
    box-shadow: 0 10px 25px rgba(0,0,0,.4), inset 0 1px rgba(255,255,255,.07);
    text-align: center;
}

.portal-home .myth-action-card h2,
.portal-home .myth-action-card h3 {
    color: #e8ca8b;
    font: bold 21px/1.3 Georgia, "Times New Roman", serif;
    text-shadow: 0 2px 3px #000;
}

.portal-home .myth-action-card p {
    color: #d0c3b2;
    font: 14px/1.7 Georgia, "Times New Roman", serif;
}

.portal-home .myth-action-card::before {
    content: "✦";
    display: block;
    margin-bottom: 12px;
    color: #c8a568;
    font-size: 20px;
}

.portal-home #myth-intro-title {
    color: #ecd49b;
    font-family: Georgia, "Times New Roman", serif;
    text-align: center;
    text-shadow: 0 2px 4px #000;
}

.portal-home .project-note {
    width: min(1200px, calc(100% - 48px));
    box-sizing: border-box;
    margin: 35px auto;
    padding: 28px;
    border: 2px solid #756044;
    background: linear-gradient(145deg, #342a2b, #1d171d);
    box-shadow: 0 10px 28px rgba(0,0,0,.4);
}

@media (max-width: 900px) {
    .portal-home .myth-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .portal-home .myth-hero {
        width: calc(100% - 20px);
        min-height: 350px;
        padding: 55px 20px;
    }

    .portal-home .myth-action-grid {
        width: calc(100% - 24px);
        grid-template-columns: 1fr;
    }

    .portal-home .project-note {
        width: calc(100% - 24px);
    }
}

/* =========================================================
   MYTHORIA — REBUILT MEDIEVAL HOMEPAGE
   ========================================================= */

.myth-medieval-home {
    width: 100%;
    padding: 0 0 30px;
    color: #eee5d5;
}

.myth-kingdom-hero {
    position: relative;
    isolation: isolate;
    width: min(1460px, calc(100% - 48px));
    min-height: 570px;
    margin: 26px auto 34px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #66513a;
    outline: 1px solid #c7a66b;
    outline-offset: -10px;
    background: #28202a;
    box-shadow: 0 18px 45px rgba(0,0,0,.65);
}

.myth-hero-scene {
    position: absolute;
    z-index: -3;
    inset: 0;
    overflow: hidden;
    background:
        linear-gradient(180deg, #40303b 0%, #98654e 42%, #d49a61 66%, #34252a 100%);
}

.myth-scene-sun {
    position: absolute;
    width: 260px;
    height: 260px;
    left: 50%;
    top: 13%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, #f5d49a 0%, #d99a65 55%, rgba(217,154,101,0) 72%);
    filter: blur(2px);
}

.myth-scene-mountains {
    position: absolute;
    inset: 38% 0 0;
    background:
        linear-gradient(145deg, transparent 35%, #49333a 35.2% 55%, transparent 55.2%) 0 0 / 48% 100% no-repeat,
        linear-gradient(215deg, transparent 35%, #382b37 35.2% 58%, transparent 58.2%) 100% 0 / 60% 100% no-repeat,
        linear-gradient(180deg, transparent, #211b27);
}

.myth-scene-castle {
    position: absolute;
    left: 50%;
    bottom: 17%;
    width: min(560px, 70%);
    height: 260px;
    transform: translateX(-50%);
    filter: drop-shadow(0 10px 12px rgba(0,0,0,.5));
}

.myth-castle-main {
    position: absolute;
    left: 23%;
    right: 23%;
    bottom: 0;
    height: 66%;
    border: 4px solid #40333a;
    background:
        repeating-linear-gradient(90deg, transparent 0 37px, rgba(15,12,17,.45) 38px 43px),
        linear-gradient(90deg, #66504a, #9a7560 48%, #493a40);
    clip-path: polygon(0 12%, 12% 12%, 12% 0, 20% 0, 20% 12%, 80% 12%, 80% 0, 88% 0, 88% 12%, 100% 12%, 100% 100%, 0 100%);
}

.myth-tower {
    position: absolute;
    bottom: 0;
    width: 24%;
    height: 100%;
    border: 4px solid #40333a;
    background: linear-gradient(90deg, #514047, #98745d 50%, #493941);
}

.myth-tower::before {
    content: "";
    position: absolute;
    left: -12%;
    right: -12%;
    top: -30px;
    height: 35px;
    background: linear-gradient(180deg, #bd9168, #60474a);
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.myth-tower-left { left: 5%; }
.myth-tower-right { right: 5%; height: 85%; }

.myth-scene-ground {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 22%;
    background: linear-gradient(180deg, transparent, #17141c 75%);
}

.myth-scene-placeholder {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    color: rgba(255,235,199,.45);
    font: 10px Georgia,serif;
    letter-spacing: 5px;
    text-align: center;
}

.myth-hero-shade {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12,9,15,.45), rgba(12,9,15,.12) 50%, rgba(12,9,15,.45)),
        linear-gradient(180deg, rgba(10,8,13,.1), rgba(10,8,13,.58));
}

.myth-hero-copy {
    width: min(780px, 90%);
    margin: 0 auto;
    padding: 65px 20px;
    text-align: center;
    text-shadow: 0 3px 6px #09070a;
}

.myth-ornament-label {
    display: inline-block;
    margin-bottom: 18px;
    color: #ead19b;
    font: bold 12px Georgia,serif;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.myth-hero-copy h1 {
    margin: 0 0 20px;
    color: #f5d99b;
    font: bold clamp(38px, 6vw, 66px)/1.1 Georgia,serif;
    text-shadow: 0 4px 5px #09070a, 0 0 25px rgba(242,194,115,.35);
}

.myth-hero-copy p {
    max-width: 700px;
    margin: 0 auto 28px;
    color: #f1e5d0;
    font: 18px/1.7 Georgia,serif;
}

.myth-gold-cta {
    display: inline-block;
    min-width: 180px;
    padding: 15px 30px;
    border: 2px solid #f0d69a;
    background: linear-gradient(180deg, #e8ce91, #a77b43);
    color: #25190f !important;
    font: bold 15px Georgia,serif;
    letter-spacing: 1px;
    text-decoration: none !important;
    text-shadow: none;
    box-shadow: inset 0 1px rgba(255,255,255,.5), 0 5px 15px rgba(0,0,0,.5);
}

.myth-gold-cta:hover {
    background: linear-gradient(180deg, #f7e5b7, #c59b5d);
    color: #1b120c !important;
}

.myth-hero-bottom-ornament {
    position: absolute;
    bottom: 17px;
    left: 25%;
    right: 25%;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #e4c47e;
}

.myth-hero-bottom-ornament span {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, #d3b477, transparent);
}

.myth-feature-section {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto 42px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 15px;
}

.myth-feature-panel {
    min-height: 190px;
    box-sizing: border-box;
    padding: 25px 18px;
    border: 3px solid #62503c;
    outline: 1px solid rgba(224,193,133,.4);
    outline-offset: -7px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.05), transparent 45%),
        linear-gradient(180deg, #39302e, #201a20);
    box-shadow: inset 0 1px rgba(255,255,255,.08), 0 9px 22px rgba(0,0,0,.4);
    text-align: center;
}

.myth-feature-symbol {
    display: block;
    margin-bottom: 12px;
    color: #e0c17d;
    font-size: 31px;
    text-shadow: 0 3px 4px #000;
}

.myth-feature-panel h2 {
    margin: 0 0 10px;
    color: #ecd39a;
    font: bold 19px/1.3 Georgia,serif;
}

.myth-feature-panel p {
    margin: 0;
    color: #cfc2b0;
    font: 13px/1.65 Georgia,serif;
}

.myth-home-lower {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.myth-lower-panel {
    min-height: 225px;
    box-sizing: border-box;
    padding: 28px;
    border: 3px solid #66543e;
    outline: 1px solid rgba(224,193,133,.3);
    outline-offset: -7px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.04), transparent 45%),
        linear-gradient(180deg, #332a2c, #1c171d);
    box-shadow: 0 10px 25px rgba(0,0,0,.38);
}

.myth-panel-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(201,166,90,.38);
}

.myth-heading-emblem {
    color: #e2c17c;
    font-size: 33px;
}

.myth-panel-kicker {
    color: #bba37b;
    font: 10px Georgia,serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.myth-panel-heading h2 {
    margin: 3px 0 0;
    color: #f0d69a;
    font: bold 25px Georgia,serif;
}

.myth-lower-panel > p {
    min-height: 55px;
    color: #d2c6b5;
    font: 14px/1.7 Georgia,serif;
}

.myth-text-link {
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 1px solid #b9955c;
    color: #ecd39a !important;
    font: bold 13px Georgia,serif;
    text-decoration: none !important;
}

.myth-text-link span {
    padding-left: 8px;
}

.myth-home-bottom-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    width: min(1000px, calc(100% - 40px));
    margin: 0 auto;
}

.myth-home-bottom-actions a {
    padding: 11px 22px;
    border: 1px solid #796346;
    background: linear-gradient(180deg, #39302d, #211a20);
    color: #e8d2a2 !important;
    font: bold 12px Georgia,serif;
    text-decoration: none !important;
}

.myth-home-bottom-actions a:hover {
    border-color: #e1c17e;
    background: #4a3a31;
}

@media (max-width: 900px) {
    .myth-feature-section {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .myth-kingdom-hero {
        min-height: 490px;
    }
}

@media (max-width: 600px) {
    .myth-kingdom-hero {
        width: calc(100% - 20px);
        min-height: 430px;
    }

    .myth-scene-castle {
        width: 95%;
        height: 190px;
    }

    .myth-hero-copy p {
        font-size: 15px;
    }

    .myth-feature-section,
    .myth-home-lower {
        width: calc(100% - 24px);
        grid-template-columns: 1fr;
    }

    .myth-feature-panel {
        min-height: 150px;
    }

    .myth-lower-panel {
        padding: 23px;
    }
}

/* =========================================================
   MYTHORIA — INTERNAL PAGES COMPLETE MEDIEVAL LAYOUT
   News / Register / Account / Coins
   ========================================================= */

/* Shared page dimensions */

.myth-news-page,
.account-page,
.coins-page {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(157,113,68,.13), transparent 48%),
        linear-gradient(180deg, #211a1b, #100d12 65%, #09080b);
}

.myth-news-main,
.myth-account-main,
.myth-account-shell,
.coins-page main {
    width: min(1180px, calc(100% - 48px));
    margin: 38px auto;
    box-sizing: border-box;
}

.myth-account-shell {
    padding: 0;
}

/* Page titles */

.myth-news-heading,
.account-page .section-heading,
.myth-account-main > h1,
.myth-account-main > h2,
.coins-page h1 {
    margin-bottom: 26px;
    padding: 25px 28px;
    border: 3px solid #6f5940;
    outline: 1px solid rgba(220,190,131,.32);
    outline-offset: -7px;
    background: linear-gradient(145deg, #403235, #211a20);
    box-shadow: 0 10px 25px rgba(0,0,0,.4);
}

.myth-news-heading h1,
.account-page .section-heading h1,
.account-page .section-heading h2,
.myth-account-main > h1,
.myth-account-main > h2,
.coins-page h1 {
    color: #efd49a;
    font: bold clamp(25px, 4vw, 36px)/1.2 Georgia, "Times New Roman", serif;
    text-shadow: 0 2px 4px #000;
}

/* News archive */

.myth-news-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.myth-news-entry {
    position: relative;
    min-width: 0;
    box-sizing: border-box;
    padding: 28px;
    border: 3px solid #66533d;
    outline: 1px solid rgba(224,193,133,.28);
    outline-offset: -7px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.045), transparent 45%),
        linear-gradient(180deg, #352b2d, #1d171d);
    box-shadow: 0 10px 24px rgba(0,0,0,.38);
}

.myth-news-entry h2,
.myth-news-entry h3 {
    margin-top: 0;
    color: #efd49a;
    font: bold 23px/1.3 Georgia, "Times New Roman", serif;
}

.myth-news-entry p {
    color: #d0c4b3;
    font: 14px/1.8 Georgia, "Times New Roman", serif;
}

.myth-news-entry time,
.myth-news-entry .date,
.myth-news-entry .category {
    color: #c5a66e;
    font: 11px Georgia, "Times New Roman", serif;
    letter-spacing: 1px;
}

/* Registration and account surfaces */

.myth-account-main,
.myth-account-card,
.account-section,
.account-page .myth-account-card {
    padding: 28px;
    border: 3px solid #6c573f;
    outline: 1px solid rgba(224,193,133,.3);
    outline-offset: -7px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.04), transparent 45%),
        linear-gradient(180deg, #352b2d, #1d171d);
    box-shadow: 0 12px 30px rgba(0,0,0,.42);
}

.myth-account-main .account-section,
.myth-account-main .myth-account-card {
    margin-bottom: 22px;
}

.account-section h2,
.myth-account-card h2,
.myth-account-main h2 {
    color: #ecd39a;
    font: bold 23px/1.3 Georgia, "Times New Roman", serif;
}

.myth-account-main p,
.myth-account-card p,
.account-section p {
    color: #d0c4b3;
    line-height: 1.75;
}

/* Form labels and controls */

.myth-account-main form,
.myth-account-card form {
    display: grid;
    gap: 15px;
}

.myth-account-main label,
.myth-account-card label,
.account-section label {
    display: block;
    margin-bottom: 6px;
    color: #e4d2b2;
    font: bold 13px Georgia, "Times New Roman", serif;
}

.myth-account-main input,
.myth-account-main select,
.myth-account-main textarea,
.myth-account-card input,
.myth-account-card select,
.myth-account-card textarea,
.account-page input,
.account-page select,
.account-page textarea {
    width: 100%;
    max-width: 100%;
    min-height: 43px;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #796348;
    border-radius: 2px;
    background: #151116;
    color: #f1e7d5;
    font: 14px Georgia, "Times New Roman", serif;
    box-shadow: inset 0 2px 6px rgba(0,0,0,.45);
}

.myth-account-main input:focus,
.myth-account-main select:focus,
.myth-account-card input:focus,
.myth-account-card select:focus,
.account-page input:focus,
.account-page select:focus {
    border-color: #e1c17e;
    outline: 1px solid rgba(225,193,126,.3);
}

/* Medieval buttons */

.myth-account-main button,
.myth-account-main input[type="submit"],
.myth-account-main .button,
.myth-account-card button,
.myth-account-card input[type="submit"],
.account-page button,
.account-page input[type="submit"],
.account-page .button,
.coins-page .button {
    display: inline-block;
    min-height: 42px;
    padding: 11px 22px;
    border: 2px solid #d8b875;
    border-radius: 2px;
    background: linear-gradient(180deg, #e4c987, #a47a43);
    color: #21170f;
    font: bold 13px Georgia, "Times New Roman", serif;
    text-decoration: none;
    cursor: pointer;
    box-shadow: inset 0 1px rgba(255,255,255,.35), 0 4px 10px rgba(0,0,0,.35);
}

.myth-account-main button:hover,
.myth-account-main input[type="submit"]:hover,
.myth-account-card button:hover,
.account-page button:hover,
.account-page input[type="submit"]:hover,
.account-page .button:hover {
    background: linear-gradient(180deg, #f2dfa9, #c39b5d);
    color: #1b120c;
}

/* Notices, feedback and password guidance */

.notice,
.password-note,
.account-page .alert,
.account-page .message,
.myth-account-main .notice {
    margin: 18px 0;
    padding: 15px 18px;
    border: 1px solid #927448;
    background: linear-gradient(120deg, rgba(157,119,63,.2), rgba(34,26,28,.8));
    color: #ead9b9;
    font: 13px/1.7 Georgia, "Times New Roman", serif;
}

/* Character lists and account data */

.character-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.character-card {
    padding: 18px;
    border: 2px solid #66533d;
    background: linear-gradient(180deg, #39302e, #211a20);
    box-shadow: 0 6px 16px rgba(0,0,0,.3);
}

.character-card strong,
.character-card h3 {
    color: #ecd39a;
    font-family: Georgia, "Times New Roman", serif;
}

/* Disabled shop */

.coins-page .myth-account-main,
.coins-page .coins-content,
.coins-page .notice {
    border-color: #6c573f;
    background: linear-gradient(145deg, #352b2d, #1d171d);
    color: #e8dece;
}

/* Responsive internal pages */

@media (max-width: 760px) {
    .myth-news-main,
    .myth-account-main,
    .myth-account-shell,
    .coins-page main {
        width: calc(100% - 24px);
        margin: 22px auto;
    }

    .myth-news-list,
    .character-list {
        grid-template-columns: 1fr;
    }

    .myth-news-entry,
    .myth-account-main,
    .myth-account-card,
    .account-section {
        padding: 20px;
    }
}