:root {
    color-scheme: light;
    --ink: #241b12;
    --muted: #5f4f3c;
    --paper: #f3dfb7;
    --paper-soft: #faeccd;
    --paper-dark: #d7b878;
    --paper-line: rgba(88, 59, 28, .22);
    --line: #3b2816;
    --gold: #d88f12;
    --gold-light: #ffd466;
    --green: #6f850d;
    --green-dark: #3f5308;
    --blue: #153e5b;
    --blue-dark: #082235;
    --red: #9d3f1d;
    --shadow: 0 7px 0 rgba(59, 40, 22, .24), 0 18px 35px rgba(59, 40, 22, .18);
    --sketch-shadow: 2px 2px 0 rgba(255, 248, 219, .7), -2px -1px 0 rgba(84, 55, 25, .28);
    --site-width: min(1500px, calc(100% - 42px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Trebuchet MS", Arial, sans-serif;
    color: var(--ink);
    background: #050403 url("../img/layout/walpaper.png") center top / cover fixed no-repeat;
}

body > main {
    display: block;
    position: relative;
    z-index: 1;
}

.site-header {
    z-index: 70;
}

.site-footer {
    position: relative;
    z-index: 2;
}

.site-bg-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.site-bg-overlay {
    z-index: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(243, 223, 183, .18), transparent 32rem),
        rgba(0, 0, 0, .42);
}

body::before {
    content: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: var(--site-width);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background:
        radial-gradient(circle at 20% 0, rgba(255, 251, 228, .9), transparent 24rem),
        linear-gradient(180deg, rgba(250, 236, 205, .98), rgba(233, 205, 150, .96)),
        var(--paper);
    border-bottom: 0;
    box-shadow: 0 8px 18px rgba(59, 40, 22, .12);
}

.paper-edge {
    display: none;
}

.site-header::before,
.site-footer::before,
.page-banner::before {
    content: none;
}

.site-header::before {
    bottom: 7px;
}

.header-grid {
    min-height: 108px;
    display: grid;
    grid-template-columns: 330px 1fr 300px;
    gap: 18px;
    align-items: center;
}

.brand,
.footer-brand {
    display: inline-flex;
    flex-direction: column;
    width: fit-content;
    line-height: .85;
    transform: rotate(-2deg);
}

.brand img {
    display: none;
}

.brand strong,
.footer-brand strong {
    font-family: Georgia, serif;
    font-size: clamp(2.7rem, 4.7vw, 4.7rem);
    color: #f0a81f;
    text-shadow:
        2px 2px 0 #fff1a7,
        -2px 2px 0 var(--line),
        2px -2px 0 var(--line),
        0 5px 0 #5a3210;
}

.brand span,
.footer-brand span {
    margin-left: 42px;
    color: #4e3215;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .25rem;
}

.main-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.9vw, 34px);
}

.main-menu a {
    position: relative;
    padding: 40px 0 30px;
    font-size: 1.08rem;
    font-weight: 900;
    text-transform: uppercase;
}

.main-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    height: 4px;
    transform: scaleX(0);
    background: var(--green-dark);
    transition: transform .2s ease;
}

.main-menu a:hover::after,
.main-menu a.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 26px;
    border: 4px solid var(--line);
    border-radius: 5px;
    color: #fff7db;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 1px 2px 0 rgba(0, 0, 0, .55);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .42), 0 5px 0 rgba(59, 40, 22, .38);
    transition: transform .16s ease, box-shadow .16s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .42), 0 7px 0 rgba(59, 40, 22, .38);
}

.btn-gold {
    background: linear-gradient(180deg, var(--gold-light), var(--gold) 45%, #9f5209);
}

.btn-green {
    background: linear-gradient(180deg, #b2c02a, var(--green) 45%, var(--green-dark));
}

.btn-blue {
    background: linear-gradient(180deg, #2e6f93, var(--blue) 45%, var(--blue-dark));
}

.btn-light {
    color: var(--ink);
    text-shadow: none;
    background: linear-gradient(180deg, #fff4d1, #d8b56f);
}

.btn-large {
    min-height: 72px;
    min-width: 260px;
    font-size: 1.8rem;
}

.btn-wide {
    width: 100%;
}

.menu-toggle {
    display: none;
}

.icon {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    border-bottom: 0;
    background:
        radial-gradient(circle at 56% 18%, rgba(255, 249, 219, .82), transparent 16rem),
        linear-gradient(90deg, rgba(243, 223, 183, .46), rgba(243, 223, 183, .7) 44%, rgba(243, 223, 183, .94)),
        linear-gradient(180deg, var(--paper-soft), var(--paper) 52%, #e0c285);
}

.site-header {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 70;
    background: transparent;
    box-shadow: none;
}

.header-grid {
    position: relative;
    min-height: min(6.4vw, 96px);
    display: block;
}

.brand {
    visibility: visible;
    position: absolute;
    left: 50%;
    top: min(2.8vw, 46px);
    width: min(15vw, 216px);
    transform: translate(-50%, -50%);
    z-index: 6;
    filter:
        drop-shadow(0 0 4px rgba(255, 213, 93, .72))
        drop-shadow(0 0 10px rgba(217, 139, 18, .42))
        drop-shadow(0 3px 2px rgba(63, 37, 9, .45));
    animation: brand-gold-pulse 3.2s ease-in-out infinite;
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
}

.brand.active {
    filter:
        drop-shadow(0 0 6px rgba(255, 221, 108, .9))
        drop-shadow(0 0 16px rgba(217, 139, 18, .58))
        drop-shadow(0 3px 2px rgba(63, 37, 9, .45));
}

@keyframes brand-gold-pulse {
    0%,
    100% {
        filter:
            drop-shadow(0 0 4px rgba(255, 213, 93, .62))
            drop-shadow(0 0 10px rgba(217, 139, 18, .34))
            drop-shadow(0 3px 2px rgba(63, 37, 9, .45));
    }

    50% {
        filter:
            drop-shadow(0 0 8px rgba(255, 235, 149, .9))
            drop-shadow(0 0 18px rgba(217, 139, 18, .62))
            drop-shadow(0 3px 2px rgba(63, 37, 9, .48));
    }
}

.language-switcher {
    position: fixed;
    right: 0;
    top: 22px;
    z-index: 82;
}

.language-current,
.language-options button {
    width: clamp(64px, 4.6vw, 84px);
    height: clamp(64px, 4.6vw, 84px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    filter: drop-shadow(0 1px 1px rgba(45, 28, 11, .55));
    transition: transform .15s ease, filter .15s ease;
}

.language-current img,
.language-options img {
    width: 78%;
    height: auto;
    object-fit: contain;
    border-radius: 50%;
}

.language-current:hover,
.language-options button:hover {
    transform: translateY(-1px) scale(1.08);
    filter: drop-shadow(0 0 5px rgba(218, 151, 27, .62)) drop-shadow(0 1px 1px rgba(45, 28, 11, .55));
}

.language-options button[hidden] {
    display: none;
}

.language-options {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    display: grid;
    gap: 6px;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
}

.language-switcher:hover .language-options,
.language-switcher:focus-within .language-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


.brand strong,
.brand span {
    display: none;
}

.main-menu a {
    display: flex;
    align-items: center;
    min-height: min(3vw, 44px);
    padding: 0;
}

.main-menu a::after {
    bottom: min(.05vw, 1px);
}

.header-actions {
    position: absolute;
    right: 1.55%;
    top: min(1.55vw, 23px);
}

.main-menu {
    position: absolute;
    left: auto;
    right: auto;
    top: min(1.75vw, 26px);
    justify-content: space-between;
    gap: 0;
}

.main-menu-left {
    left: 16.5%;
    right: 58.2%;
}

.main-menu-right {
    left: 58.2%;
    right: 16.2%;
}

.header-actions .btn {
    min-height: clamp(40px, 3vw, 54px);
    padding-inline: clamp(18px, 1.65vw, 28px);
}

.side-actions {
    position: fixed;
    right: 0;
    top: 43%;
    z-index: 80;
    display: grid;
    gap: 10px;
    transform: translateY(-50%);
}

.side-action {
    position: relative;
    width: clamp(64px, 4.6vw, 84px);
    height: clamp(64px, 4.6vw, 84px);
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    transition: transform .16s ease, filter .16s ease;
}

.side-action:hover {
    transform: translateX(-5px) scale(1.06);
    filter: brightness(1.1);
}

.side-action img {
    width: 82%;
    height: 82%;
    object-fit: contain;
    filter: drop-shadow(0 2px 1px rgba(47, 29, 12, .55)) drop-shadow(0 0 5px rgba(255, 210, 86, .32));
}

.side-action svg {
    width: 78%;
    height: 78%;
    filter: drop-shadow(0 2px 1px rgba(47, 29, 12, .55));
}

.side-action span {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    padding: 7px 10px;
    color: #fff4cf;
    font-size: clamp(9px, .7vw, 12px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    border: 2px solid #3b2816;
    border-radius: 4px;
    background: linear-gradient(180deg, #1c5d85, #082235);
    box-shadow: 0 3px 0 rgba(59, 40, 22, .32);
    opacity: 0;
    pointer-events: none;
    transform: translate(6px, -50%);
    transition: opacity .16s ease, transform .16s ease;
}

.side-action:hover span {
    opacity: 1;
    transform: translate(0, -50%);
}

.side-action-discord {
    color: #5865f2;
    background: transparent;
}

.side-action-discord svg {
    animation: discord-pulse 2.7s ease-in-out infinite;
    filter:
        drop-shadow(0 0 5px rgba(114, 137, 218, .78))
        drop-shadow(0 0 12px rgba(88, 101, 242, .5))
        drop-shadow(0 2px 1px rgba(47, 29, 12, .55));
}

.side-action-panel {
    background: transparent;
}

.side-action-panel img {
    animation: account-pulse 2.4s ease-in-out infinite;
    filter:
        drop-shadow(0 0 5px rgba(255, 221, 112, .78))
        drop-shadow(0 0 12px rgba(216, 143, 18, .55))
        drop-shadow(0 2px 1px rgba(47, 29, 12, .55));
}

@keyframes account-pulse {
    0%,
    100% {
        transform: scale(1);
        filter:
            drop-shadow(0 0 5px rgba(255, 221, 112, .65))
            drop-shadow(0 0 10px rgba(216, 143, 18, .42))
            drop-shadow(0 2px 1px rgba(47, 29, 12, .55));
    }

    50% {
        transform: scale(1.08);
        filter:
            drop-shadow(0 0 9px rgba(255, 235, 149, .95))
            drop-shadow(0 0 18px rgba(216, 143, 18, .72))
            drop-shadow(0 3px 2px rgba(47, 29, 12, .58));
    }
}

@keyframes discord-pulse {
    0%,
    100% {
        transform: scale(1);
        filter:
            drop-shadow(0 0 5px rgba(114, 137, 218, .68))
            drop-shadow(0 0 10px rgba(88, 101, 242, .42))
            drop-shadow(0 2px 1px rgba(47, 29, 12, .55));
    }

    50% {
        transform: scale(1.08);
        filter:
            drop-shadow(0 0 9px rgba(154, 171, 255, .96))
            drop-shadow(0 0 18px rgba(88, 101, 242, .75))
            drop-shadow(0 3px 2px rgba(47, 29, 12, .58));
    }
}

.account-popover {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 100;
    width: min(520px, calc(100vw - 34px));
    padding: 28px 34px 30px;
    color: #2b2117;
    background:
        linear-gradient(180deg, rgba(246, 226, 184, .72), rgba(229, 196, 132, .78)),
        url("../img/layout/box2.png") center / 100% 100% no-repeat;
    border: 3px solid #3b2816;
    border-radius: 8px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 244, 205, .72),
        0 8px 0 rgba(59, 40, 22, .22),
        0 22px 54px rgba(0, 0, 0, .38);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -46%) scale(.96);
    transition: opacity .16s ease, transform .16s ease;
}

.account-popover::before {
    content: "";
    position: fixed;
    inset: -100vh -100vw;
    z-index: -1;
    background: rgba(0, 0, 0, .46);
    opacity: 0;
    transition: opacity .16s ease;
}

.account-popover.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.account-popover.is-open::before {
    opacity: 1;
}

.account-popover-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #fff3c9;
    border: 2px solid #3f2814;
    border-radius: 50%;
    background: linear-gradient(180deg, #9b2d20, #5a120d);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .3),
        0 3px 0 rgba(61, 35, 13, .32),
        0 0 12px rgba(210, 92, 42, .28);
    font-family: Arial, sans-serif;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.account-popover-close:hover {
    background: linear-gradient(180deg, #c44927, #74180f);
    transform: translateY(-1px);
}

.account-popover-head {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-bottom: 16px;
    text-align: center;
}

.account-popover-head img {
    width: min(210px, 56%);
    height: auto;
    filter:
        drop-shadow(0 0 5px rgba(255, 213, 93, .62))
        drop-shadow(0 3px 2px rgba(63, 37, 9, .42));
}

.account-popover h2 {
    margin: 0;
    color: #3b2816;
    font-family: Georgia, serif;
    font-size: clamp(1.7rem, 2.4vw, 2.35rem);
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-shadow:
        1px 1px 0 rgba(255, 246, 209, .95),
        0 3px 0 rgba(79, 51, 20, .16);
}

.account-popover h2::after {
    content: "";
    display: block;
    width: min(210px, 78%);
    height: 2px;
    margin: 9px auto 0;
    background: linear-gradient(90deg, transparent, rgba(157, 63, 29, .75), rgba(216, 143, 18, .85), rgba(157, 63, 29, .75), transparent);
}

.account-popover p {
    margin: 0;
    font-size: .92rem;
    font-weight: 900;
}

.account-warning {
    width: min(390px, 100%);
    padding: 8px 14px;
    color: #7f2115;
    font-size: clamp(.68rem, .8vw, .82rem);
    line-height: 1.2;
    text-transform: uppercase;
    border: 1px solid rgba(127, 33, 21, .45);
    border-left: 4px solid #9d3f1d;
    border-radius: 4px;
    background:
        linear-gradient(180deg, rgba(255, 241, 216, .72), rgba(232, 191, 147, .52));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}

.account-popover form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
}

.account-popover label {
    display: grid;
    gap: 6px;
    font-weight: 900;
    font-size: .84rem;
    text-transform: uppercase;
}

.account-popover input {
    width: 100%;
    border: 1px solid rgba(59, 40, 22, .28);
    border-radius: 6px;
    padding: 12px 13px;
    color: #2b2117;
    background: rgba(255, 249, 229, .88);
    box-shadow: inset 0 2px 5px rgba(79, 51, 20, .1);
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.account-popover input:focus {
    border-color: #c58212;
    background: #fff9e6;
    box-shadow:
        inset 0 2px 5px rgba(79, 51, 20, .08),
        0 0 0 3px rgba(217, 143, 18, .18);
}

.register-message {
    display: none;
    padding: 10px 12px;
    border: 1px solid rgba(59, 40, 22, .2);
    border-radius: 6px;
    font-size: .82rem;
    font-weight: 900;
    line-height: 1.25;
}

.register-message.is-loading,
.register-message.is-success,
.register-message.is-error {
    display: block;
}

.register-message.is-loading {
    color: #4c351e;
    background: rgba(255, 244, 216, .74);
}

.register-message.is-success {
    color: #24450d;
    border-color: rgba(69, 111, 15, .28);
    background: rgba(211, 235, 154, .62);
}

.register-message.is-error {
    color: #74180f;
    border-color: rgba(145, 39, 25, .3);
    background: rgba(255, 217, 203, .72);
}

.account-popover .btn:disabled {
    cursor: wait;
    opacity: .68;
}

.password-meter {
    display: grid;
    gap: 5px;
    margin-top: -3px;
}

.password-meter span {
    height: 8px;
    overflow: hidden;
    border: 1px solid rgba(59, 40, 22, .38);
    border-radius: 999px;
    background: rgba(83, 59, 35, .18);
}

.password-meter i {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: #9d3f1d;
    transition: width .18s ease, background .18s ease;
}

.password-meter strong {
    color: #7f2115;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.password-meter em {
    color: #59402a;
    font-size: .74rem;
    font-style: normal;
    font-weight: 800;
}

.password-meter.is-medium i {
    background: #d88f12;
}

.password-meter.is-strong i {
    background: #55751d;
}

.password-meter.is-medium strong {
    color: #9f5209;
}

.password-meter.is-strong strong {
    color: #35571d;
}

.account-popover .btn {
    min-height: 48px;
    margin-top: 4px;
    border-width: 3px;
}

.account-popover form > a {
    justify-self: center;
    color: #5f3a13;
    font-size: .84rem;
    font-weight: 900;
    text-transform: uppercase;
}

.art-hero {
    width: var(--site-width);
    aspect-ratio: 2048 / 609;
    min-height: 0;
    margin-inline: auto;
    background: transparent;
}

.art-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    background: url("../img/layout/topbg.png") center top / 100% 100% no-repeat;
}

.art-hero .hero-slides {
    position: absolute;
    z-index: 1;
    left: 1.05%;
    right: 1.05%;
    top: 19.3%;
    bottom: 0;
    overflow: hidden;
}

.art-hero .hero-slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .65s ease;
}

.art-hero .hero-slides img.is-active {
    opacity: 1;
}

.art-hero .hero-slides::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .38);
}

.art-hero .hero-characters {
    opacity: 0;
}

.art-hero .hero-copy {
    position: absolute;
    z-index: 18;
    left: 35.2%;
    top: 35.5%;
    width: 37%;
    margin: 0;
    opacity: 1;
    pointer-events: auto;
    min-height: 13vw;
}

.art-hero .hero-message {
    display: none;
    min-height: 7.2vw;
}

.art-hero .hero-message.is-active {
    display: block;
}

.art-hero .hero-copy h1 {
    margin: 0 0 .7vw;
    font-size: clamp(24px, 3vw, 52px);
    line-height: .95;
    color: #fff3cf;
    text-shadow:
        2px 2px 0 #2d2117,
        -1px -1px 0 #2d2117,
        0 4px 8px rgba(0, 0, 0, .55);
}

.art-hero .hero-copy p {
    max-width: 100%;
    margin: 0 auto 1.05vw;
    font-size: clamp(10px, 1.12vw, 19px);
    line-height: 1.35;
    color: #fff8de;
    text-transform: uppercase;
    font-weight: 900;
    text-shadow:
        1px 1px 0 #1f1710,
        0 3px 8px rgba(0, 0, 0, .62);
}

.art-hero .hero-copy .slider-dots {
    margin-top: .65vw;
}

.art-hero .hero-copy .slider-dots span {
    width: clamp(9px, .82vw, 15px);
    height: clamp(9px, .82vw, 15px);
}

.art-hero .hero-copy .slider-dots span.is-active {
    background: var(--gold);
}

.art-hero .hero-grid {
    position: static;
    min-height: 0;
    height: 100%;
    display: block;
    width: 100%;
}

.art-hero .download-box {
    position: absolute;
    z-index: 25;
    right: 4.2%;
    top: 20.6%;
    width: 19.45%;
    aspect-ratio: 398 / 470;
    padding: 1.35% 1.35% 1.1%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url("../img/layout/box2.png") center / 100% 100% no-repeat;
    box-shadow: none;
    text-align: center;
    opacity: 1 !important;
    visibility: visible;
    pointer-events: auto;
}

.art-hero .download-box h2 {
    margin-top: 3.5%;
    font-size: clamp(10px, 1.25vw, 22px);
    line-height: 1;
}

.art-hero .download-emblem {
    width: 43%;
    height: auto;
    aspect-ratio: 173 / 123;
    margin: 12% auto 7%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.art-hero .download-emblem img {
    width: 100%;
    height: auto;
}

.art-hero .download-box .btn {
    min-height: clamp(24px, 2.35vw, 43px);
    border-width: 2px;
    font-size: clamp(8px, .92vw, 16px);
    padding-inline: .8vw;
}

.art-hero .download-box dl {
    width: 78%;
    margin: 7% 0 6%;
    font-size: clamp(8px, .75vw, 14px);
    line-height: 1.25;
}

.art-hero .download-box .btn-light {
    min-height: clamp(22px, 2vw, 38px);
}

.hero::before {
    content: none;
}

.hero-characters {
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(47vw, 710px);
    height: 100%;
    clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
}

.hero-grid {
    position: relative;
    min-height: 460px;
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 36px;
    align-items: center;
}

.hero-copy {
    width: min(650px, 100%);
    margin-left: auto;
    text-align: center;
}

.hero-copy h1 {
    margin: 0 0 22px;
    font-family: Georgia, serif;
    font-size: clamp(3rem, 5.4vw, 5.9rem);
    line-height: .94;
    text-transform: uppercase;
    color: #483629;
    text-shadow: 2px 2px 0 #fff7df, 0 5px 0 rgba(59, 40, 22, .18);
}

.hero-copy p {
    margin: 0 auto 34px;
    max-width: 560px;
    font-size: clamp(1.2rem, 2.2vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 26px;
}

.slider-dots span {
    width: 18px;
    height: 18px;
    border: 3px solid var(--line);
    border-radius: 50%;
    background: #e5dfce;
}

.slider-dots span:first-child {
    background: var(--gold);
}

.slider-dots.small span {
    width: 15px;
    height: 15px;
}

.download-box,
.panel,
.feature-strip {
    position: relative;
    border: 0;
    border-radius: 3px 6px 4px 5px;
    background:
        radial-gradient(circle at 22% 12%, rgba(255,255,255,.7), transparent 18rem),
        linear-gradient(180deg, var(--paper-soft), var(--paper));
    box-shadow: 0 10px 24px rgba(59, 40, 22, .12);
}

.download-box::before,
.panel::before,
.feature-strip::before,
.download-box::after,
.panel::after,
.feature-strip::after {
    content: none;
}

.download-box {
    padding: 24px;
    text-align: center;
}

.download-box h2,
.panel-head h2,
.page-banner h1 {
    margin: 0;
    text-transform: uppercase;
}

.download-box h2 {
    font-size: 1.7rem;
}

.download-emblem {
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    margin: 22px auto;
    color: var(--green-dark);
    border: 6px solid var(--line);
    border-radius: 50%;
    background: #f7e5b8;
    box-shadow: inset 0 0 0 6px #e3bf59;
}

.download-emblem .icon {
    width: 58px;
    height: 58px;
}

dl {
    display: grid;
    gap: 4px;
    margin: 22px 0;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 800;
}

dl div {
    display: flex;
    gap: 10px;
}

dd {
    margin: 0;
}

.middle-art {
    padding: 0;
    background: transparent;
}

.middle-art-inner {
    position: relative;
    container-type: inline-size;
    aspect-ratio: 2048 / 641;
    padding: 1.25% 5.2% 1.4%;
    background: url("../img/layout/bg2.png") center top / 100% 100% no-repeat;
    overflow: hidden;
}

.home-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35%;
    margin-top: 0;
    height: auto;
}

.middle-art .panel,
.middle-art .feature-strip {
    background: transparent;
    box-shadow: none;
    min-height: 0;
    overflow: hidden;
}

.middle-art .panel {
    aspect-ratio: 655 / 455;
    background: url("../img/layout/box.png") center / 100% 100% no-repeat;
}

.middle-art .panel-head {
    border-bottom: 0;
    min-height: 3.15cqw;
    padding: 0 2.15cqw;
    align-items: center;
}

.middle-art .panel-head h2 {
    font-size: clamp(10px, .95cqw, 16px);
    line-height: 1;
}

.middle-art .panel-head a {
    font-size: clamp(7px, .72cqw, 11px);
    white-space: nowrap;
}

.middle-art .news-list {
    gap: .48cqw;
    padding: .82cqw 1.65cqw 0;
}

.middle-art .news-item {
    grid-template-columns: 5.72cqw 1fr;
    gap: .62cqw;
    min-height: 4.05cqw;
    padding: .38cqw .48cqw;
    overflow: hidden;
    text-align: left;
}

.middle-art .news-item strong {
    font-size: clamp(8px, .78cqw, 12px);
    line-height: 1;
}

.middle-art .news-item time,
.middle-art .news-item em {
    font-size: clamp(7px, .66cqw, 10px);
    line-height: 1.12;
}

.middle-art .thumb {
    width: 100%;
    aspect-ratio: 1.48;
}

.middle-art .tabs {
    margin-inline: .75cqw;
}

.middle-art .tabs button {
    min-height: 2.7cqw;
    font-size: clamp(7px, .68cqw, 10px);
}

.middle-art .ranking-list {
    gap: .22cqw;
    margin-inline: .75cqw;
    padding: 1.2cqw 1.6cqw .22cqw;
}

.middle-art .ranking-list li {
    grid-template-columns: 1.75cqw 1.9cqw 2.3cqw minmax(0, 1fr) 2.3cqw 4.35cqw;
    gap: .34cqw;
    font-size: clamp(9px, .86cqw, 14px);
    line-height: 1.05;
}

.middle-art .ranking-heading {
    min-height: 1.1cqw;
    padding-bottom: .1cqw;
}

.middle-art .ranking-heading span {
    font-size: clamp(6px, .56cqw, 9px);
}

.middle-art .ranking-heading span:nth-child(5),
.middle-art .ranking-heading span:nth-child(6) {
    transform: translateY(.12cqw);
}

.middle-art .ranking-list b {
    font-size: clamp(11px, 1.12cqw, 18px);
}

.middle-art .medal {
    width: 1.8cqw;
    height: 1.8cqw;
}

.middle-art .home-rank-class {
    width: 2.25cqw;
    height: 2.25cqw;
}

.middle-art .home-rank-crown {
    width: 1.75cqw;
    height: 1.3cqw;
}

.middle-art .home-rank-player {
    min-height: 1.8cqw;
    padding: .18cqw .56cqw;
}

.middle-art .rank-1 .home-rank-player::before,
.middle-art .rank-2 .home-rank-player::before,
.middle-art .rank-3 .home-rank-player::before {
    left: -.45cqw;
    height: 86%;
    border-radius: .22cqw;
    clip-path: polygon(0 0, calc(100% - .6cqw) 0, 100% 50%, calc(100% - .6cqw) 100%, 0 100%, .38cqw 50%);
}

.middle-art .home-rank-player strong {
    font-size: clamp(8px, .88cqw, 13px);
}

.middle-art .ranking-list li em,
.middle-art .home-rank-exp {
    font-size: clamp(8px, .74cqw, 11px);
}

.middle-art .event-card {
    min-height: 0;
    height: 14.4cqw;
    margin: .8cqw 1.45cqw 0;
    grid-template-columns: 3.4cqw 1fr 3.4cqw;
}

.middle-art .panel:nth-child(3) {
    padding-inline: .45cqw;
}

.middle-art .event-card span {
    font-size: clamp(10px, 1.18cqw, 18px);
}

.middle-art .event-card strong {
    margin: .25cqw 0 1.35cqw;
    font-size: clamp(22px, 2.45cqw, 42px);
    line-height: .95;
}

.middle-art .event-card button {
    width: 2.7cqw;
    height: 4.1cqw;
    font-size: clamp(18px, 2.2cqw, 34px);
}

.middle-art .auto-combat-card {
    margin: .8cqw 1.45cqw 0;
    min-height: 14.4cqw;
    padding: .7cqw;
}

.middle-art .auto-combat-card img {
    height: 7.6cqw;
}

.middle-art .auto-combat-copy span {
    font-size: clamp(8px, .86cqw, 13px);
}

.middle-art .auto-combat-copy strong {
    font-size: clamp(14px, 1.55cqw, 25px);
}

.middle-art .auto-combat-copy p {
    font-size: clamp(7px, .68cqw, 11px);
}

.middle-art .feature-strip article {
    min-height: 0;
    aspect-ratio: 453 / 162;
    padding: 1cqw 1.55cqw;
    grid-template-columns: 8.2cqw 1fr;
    gap: 1.1cqw;
    background: url("../img/layout/minibox.png") center / 100% 100% no-repeat;
}

.middle-art .feature-strip h3 {
    font-size: clamp(8px, .82cqw, 12px);
    line-height: 1.05;
}

.middle-art .feature-strip p {
    margin-top: .35cqw;
    font-size: clamp(7px, .68cqw, 10px);
    line-height: 1.15;
}

.middle-art .feature-strip {
    height: auto;
    margin-top: .65%;
}

.middle-art .feature-icon {
    visibility: visible;
    display: grid;
    place-items: center;
}

.middle-art .feature-icon img {
    width: 7.25cqw;
    max-width: 100%;
    height: auto;
}

.middle-art .feature-icon .icon {
    width: 6.4cqw;
    height: 6.4cqw;
    color: #b58327;
}

.middle-art .feature-strip article {
    border-right: 0;
}

.middle-art .btn {
    min-height: 2.7cqw;
    padding: 0 1.4cqw;
    border-width: 2px;
    font-size: clamp(7px, .68cqw, 10px);
}

.middle-art .ranking-list + .btn-wide {
    width: 73%;
    min-height: 1.85cqw;
    margin: .18cqw auto 0;
    font-size: clamp(7px, .62cqw, 10px);
    display: flex;
}

.panel {
    overflow: visible;
}

.panel-head {
    position: relative;
    z-index: 1;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(59, 40, 22, .16);
    box-shadow: none;
}

.panel-head h2 {
    font-size: 1.45rem;
}

.panel-head a {
    font-weight: 900;
    text-transform: uppercase;
}

.news-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    padding: 16px;
}

.news-item {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 16px;
    align-items: center;
    width: 100%;
    font: inherit;
    color: inherit;
    cursor: pointer;
    border: 1px solid rgba(88, 59, 28, .24);
    background:
        linear-gradient(180deg, rgba(255, 248, 226, .56), rgba(226, 196, 135, .22)),
        rgba(250, 236, 205, .34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .38),
        0 2px 0 rgba(88, 59, 28, .12);
    padding: 10px;
}

.news-item:hover,
.news-item:focus-visible {
    border-color: rgba(126, 56, 22, .42);
    background:
        linear-gradient(180deg, rgba(255, 248, 226, .74), rgba(226, 196, 135, .32)),
        rgba(250, 236, 205, .48);
}

.thumb {
    display: block;
    aspect-ratio: 1.48;
    border: 0;
    box-shadow: none;
}

.news-copy {
    display: block;
    min-width: 0;
    padding: 4px 6px;
}

.news-thumb-image {
    display: block;
    width: 100%;
    aspect-ratio: 1.48;
    object-fit: cover;
}

.news-item strong,
.article-card h2,
.feature-strip h3 {
    display: block;
    color: var(--red);
    font-weight: 900;
    text-transform: uppercase;
}

.news-item time,
.article-card time {
    display: block;
    margin: 4px 0;
    color: #5d452b;
    font-weight: 800;
}

.news-item em {
    display: block;
    color: var(--ink);
    font-style: normal;
    font-weight: 700;
}

.news-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(5, 4, 3, .58);
}

.news-modal.is-open {
    display: grid;
}

.news-modal-card {
    position: relative;
    width: min(760px, 94vw);
    min-height: 500px;
    padding: 48px 48px 38px;
    background: url("../img/layout/Boxgrande.png") center / 100% 100% no-repeat;
    color: var(--ink);
}

.news-modal-close {
    position: absolute;
    top: 22px;
    right: 28px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 4px;
    background: rgba(88, 59, 28, .18);
    color: var(--ink);
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
}

.news-modal-heading {
    display: grid;
    justify-items: center;
    padding: 0 52px 16px;
    text-align: center;
}

.news-modal-heading h2 {
    position: relative;
    margin: 0 0 8px;
    padding: 0 28px 9px;
    color: #7f2f17;
    font-family: Georgia, serif;
    font-size: clamp(22px, 2vw, 34px);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0;
    text-shadow:
        1px 1px 0 rgba(255, 248, 226, .75),
        0 2px 0 rgba(88, 59, 28, .12);
}

.news-modal-heading h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(260px, 82%);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(127, 47, 23, .72), transparent);
    transform: translateX(-50%);
}

.news-modal-heading time {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 4px 10px;
    border: 1px solid rgba(88, 59, 28, .2);
    background: rgba(255, 246, 218, .42);
    color: #5d452b;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.news-modal-banner {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    padding: 0 62px;
}

.news-modal-banner img {
    display: block;
    width: 100%;
    max-height: 210px;
    object-fit: cover;
}

.news-modal-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 52px;
    height: 66px;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.news-modal-arrow img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 1px rgba(59, 40, 22, .35));
}

.news-modal-arrow:hover img,
.news-modal-arrow:focus-visible img {
    filter: drop-shadow(0 3px 2px rgba(59, 40, 22, .48));
    transform: scale(1.06);
}

.news-modal-prev {
    left: 8px;
}

.news-modal-next {
    right: 8px;
}

.news-modal-copy {
    padding: 0 8px;
}

.news-modal-textbox {
    position: relative;
    padding: 18px 20px 20px;
    border: 1px solid rgba(88, 59, 28, .28);
    background:
        linear-gradient(180deg, rgba(255, 248, 226, .72), rgba(226, 196, 135, .26)),
        rgba(250, 236, 205, .52);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .42),
        0 2px 0 rgba(88, 59, 28, .14);
}

.news-modal-textbox span {
    display: block;
    margin-bottom: 8px;
    color: #7f2f17;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.news-modal-textbox p {
    margin: 0;
    color: var(--ink);
    font-size: clamp(16px, 1.05vw, 19px);
    font-weight: 800;
    line-height: 1.52;
}

.tabs {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid rgba(59, 40, 22, .16);
}

.tabs button {
    min-height: 54px;
    border: 0;
    border-right: 1px solid rgba(59, 40, 22, .16);
    background: rgba(214, 178, 111, .35);
    color: var(--ink);
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.tabs button:last-child {
    border-right: 0;
}

.tabs button.active {
    color: var(--green-dark);
    background: rgba(142, 157, 26, .22);
    box-shadow: inset 0 -5px 0 var(--green-dark);
}

.ranking-list {
    position: relative;
    z-index: 1;
    list-style: none;
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 20px 28px;
}

.ranking-list li {
    display: grid;
    grid-template-columns: 52px 38px 44px minmax(0, 1fr) 56px 96px;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 800;
}

.ranking-heading {
    min-height: 24px;
    padding-bottom: 2px;
    color: #654424;
    border-bottom: 1px solid rgba(91, 58, 26, .25);
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ranking-heading span {
    overflow: hidden;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-list b {
    color: #2d1d10;
    font-size: 1.45rem;
    line-height: 1;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 244, 208, .7);
}

.medal {
    width: 32px;
    height: 32px;
    background: radial-gradient(circle, #ffe06d 0 34%, var(--line) 36% 42%, transparent 44%), conic-gradient(var(--gold), #fff17a, var(--green), var(--gold));
    clip-path: polygon(50% 0, 61% 26%, 90% 15%, 76% 43%, 100% 58%, 70% 64%, 76% 95%, 50% 78%, 24% 95%, 30% 64%, 0 58%, 24% 43%, 10% 15%, 39% 26%);
}

.ranking-list li.rank-1 b {
    color: #a26505;
}

.ranking-list li.rank-2 b {
    color: #69747d;
}

.ranking-list li.rank-3 b {
    color: #9a5522;
}

.home-rank-crown {
    position: relative;
    width: 32px;
    height: 28px;
    display: grid;
    place-items: center;
    justify-self: center;
    filter: drop-shadow(0 2px 1px rgba(59, 38, 14, .42));
}

.home-rank-crown::before {
    content: none;
}

.home-rank-crown::after {
    content: "";
    position: absolute;
    inset: auto 5px 1px;
    height: 3px;
    border-radius: 999px;
    background: rgba(61, 36, 12, .42);
    filter: blur(.2px);
}

.home-rank-crown img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-rank-crown.is-empty {
    visibility: hidden;
}

.home-rank-crown.is-empty::after {
    content: none;
}

.rank-1 .home-rank-crown img {
    filter: drop-shadow(0 0 6px rgba(255, 224, 87, .7)) drop-shadow(0 2px 0 rgba(101, 58, 6, .35));
}

.rank-2 .home-rank-crown img {
    filter: drop-shadow(0 0 6px rgba(226, 238, 248, .66)) drop-shadow(0 2px 0 rgba(69, 80, 89, .32));
}

.rank-3 .home-rank-crown img {
    filter: drop-shadow(0 0 6px rgba(225, 132, 55, .55)) drop-shadow(0 2px 0 rgba(89, 42, 14, .35));
}

.home-rank-class {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(76, 51, 23, .38);
    background: radial-gradient(circle, rgba(255, 245, 209, .8), rgba(214, 178, 111, .38));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}

.home-rank-class img {
    width: 92%;
    height: 92%;
    object-fit: contain;
    filter: drop-shadow(0 2px 1px rgba(59, 38, 14, .35));
}

.home-rank-player {
    position: relative;
    display: grid;
    align-items: center;
    min-width: 0;
    min-height: 34px;
    padding: 4px 12px;
}

.rank-1 .home-rank-player::before,
.rank-2 .home-rank-player::before,
.rank-3 .home-rank-player::before {
    content: "";
    position: absolute;
    left: -9px;
    right: 0;
    top: 50%;
    z-index: -1;
    height: 82%;
    transform: translateY(-50%);
    border: 1px solid rgba(81, 50, 18, .28);
    border-radius: 4px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 8px 50%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .48),
        inset 0 -1px 0 rgba(82, 48, 14, .18),
        0 2px 4px rgba(59, 38, 14, .16);
}

.rank-1 .home-rank-player::before {
    background:
        linear-gradient(90deg, rgba(114, 68, 8, .18), transparent 18%),
        linear-gradient(180deg, rgba(255, 247, 177, .88), rgba(227, 155, 28, .58) 55%, rgba(126, 72, 8, .22));
}

.rank-2 .home-rank-player::before {
    background:
        linear-gradient(90deg, rgba(70, 81, 91, .16), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(185, 199, 211, .66) 58%, rgba(82, 95, 107, .2));
}

.rank-3 .home-rank-player::before {
    background:
        linear-gradient(90deg, rgba(92, 44, 15, .18), transparent 18%),
        linear-gradient(180deg, rgba(255, 216, 169, .78), rgba(184, 98, 41, .62) 58%, rgba(91, 43, 14, .2));
}

.home-rank-player strong {
    overflow: hidden;
    color: #21170e;
    font-size: 1.12rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-1 .home-rank-player strong {
    color: #1b1208;
    text-shadow:
        0 1px 0 rgba(255, 249, 201, .85),
        0 0 5px rgba(255, 227, 82, .9),
        0 0 12px rgba(232, 156, 19, .68);
}

.rank-2 .home-rank-player strong {
    color: #1b1208;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, .85),
        0 0 5px rgba(239, 249, 255, .92),
        0 0 12px rgba(141, 165, 184, .66);
}

.rank-3 .home-rank-player strong {
    color: #1b1208;
    text-shadow:
        0 1px 0 rgba(255, 229, 199, .82),
        0 0 5px rgba(230, 133, 55, .86),
        0 0 12px rgba(157, 68, 18, .64);
}

.ranking-list li em {
    justify-self: center;
    transform: translateY(3px);
    min-width: 0;
    padding: 0;
    color: #2d1d10;
    border: 0;
    background: transparent;
    font-style: normal;
    font-weight: 900;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 244, 208, .65);
}

.home-rank-exp {
    justify-self: center;
    transform: translateY(3px);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-heading span:nth-child(5),
.ranking-heading span:nth-child(6) {
    transform: translateY(2px);
}

.event-card {
    min-height: 322px;
    margin: 14px;
    display: grid;
    grid-template-columns: 54px 1fr 54px;
    align-items: center;
    border: 0;
    box-shadow: none;
    text-align: center;
}

.event-card button {
    width: 44px;
    height: 62px;
    margin-inline: auto;
    border: 4px solid var(--line);
    border-radius: 4px;
    color: #fff7d2;
    background: linear-gradient(180deg, #a5b82d, var(--green-dark));
    font-size: 3rem;
    line-height: .8;
    cursor: pointer;
}

.event-card span,
.event-card strong {
    display: block;
    color: #fff7df;
    text-transform: uppercase;
    text-shadow: 2px 3px 0 rgba(0, 0, 0, .75);
}

.event-card span {
    font-size: 1.5rem;
    font-weight: 900;
}

.event-card strong {
    margin: 6px 0 24px;
    font-family: Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.auto-combat-card {
    display: grid;
    gap: 12px;
    align-content: start;
    min-height: 322px;
    margin: 14px;
    padding: 14px;
    border: 1px solid rgba(88, 59, 28, .24);
    background:
        linear-gradient(180deg, rgba(255, 248, 226, .48), rgba(226, 196, 135, .18)),
        rgba(250, 236, 205, .32);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .34),
        0 2px 0 rgba(88, 59, 28, .12);
}

.auto-combat-card img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
    border: 1px solid rgba(88, 59, 28, .22);
}

.auto-combat-copy {
    padding: 4px 8px 0;
}

.auto-combat-copy span {
    display: block;
    color: #5d452b;
    font-weight: 900;
    text-transform: uppercase;
}

.auto-combat-copy strong {
    display: block;
    margin: 4px 0 6px;
    color: var(--red);
    font-family: Georgia, serif;
    font-size: 1.9rem;
    line-height: 1;
    text-transform: uppercase;
}

.auto-combat-copy p {
    margin: 0;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.32;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 18px;
    margin-bottom: 0;
}

.feature-strip article {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 132px;
    padding: 18px 28px;
    border-right: 1px solid rgba(59, 40, 22, .12);
    box-shadow: none;
}

.feature-strip article:last-child {
    border-right: 0;
}

.feature-icon {
    color: #0f5170;
}

.feature-icon .icon {
    width: 82px;
    height: 82px;
    filter: drop-shadow(2px 4px 0 rgba(59, 40, 22, .25));
}

.feature-strip h3,
.feature-strip p {
    margin: 0;
}

.feature-strip p {
    margin-top: 8px;
    font-weight: 700;
}

.page-banner {
    position: relative;
    padding: 70px 0;
    border-bottom: 0;
    box-shadow: 0 8px 18px rgba(59, 40, 22, .1);
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 252, 232, .9), transparent 28rem),
        linear-gradient(90deg, rgba(243, 223, 183, .98), rgba(243, 223, 183, .74)),
        var(--paper);
}

body:not(.page-home) .page-banner {
    display: none;
}

.page-banner::before {
    bottom: 7px;
}

.page-banner p,
.page-banner span {
    margin: 0;
    font-weight: 900;
    text-transform: uppercase;
}

.page-banner h1 {
    margin: 5px 0 10px;
    font-family: Georgia, serif;
    font-size: clamp(2.8rem, 5vw, 5rem);
}

.page-content {
    padding: 28px 0 34px;
}

body:not(.page-home) .page-content {
    width: var(--site-width);
    max-width: none;
    aspect-ratio: 2048 / 641;
    margin-inline: auto;
    padding: 3.2% 5.2% 2%;
    background: url("../img/layout/bg3.png") center top / 100% 100% no-repeat;
    overflow: visible;
}

body:not(.page-home) .page-content.narrow {
    max-width: none;
}

body:not(.page-home) .page-content > .panel,
body:not(.page-home) .page-content > .content-grid,
body:not(.page-home) .page-content > form {
    position: relative;
    z-index: 1;
}

body:not(.page-home) .page-content .panel {
    background: url("../img/layout/box.png") center / 100% 100% no-repeat;
    box-shadow: none;
}

body:not(.page-home) .page-content .content-grid.cards-3 {
    height: 70%;
    align-items: stretch;
}

body:not(.page-home) .page-content .article-card,
body:not(.page-home) .page-content .download-item,
body:not(.page-home) .page-content .social-card {
    aspect-ratio: 655 / 455;
    overflow: hidden;
}

body:not(.page-home) .page-content .guide-panel,
body:not(.page-home) .page-content .ranking-page,
body:not(.page-home) .page-content .support-box,
body:not(.page-home) .page-content .empty-state,
body:not(.page-home) .page-content .text-page,
body:not(.page-home) .page-content.form-card,
body:not(.page-home) .page-content > .form-card {
    width: min(760px, 68%);
    margin: 0 auto;
    min-height: 62%;
}

body:not(.page-home) .page-content > .form-card {
    background: url("../img/layout/box.png") center / 100% 100% no-repeat;
    box-shadow: none;
}

body:not(.page-home) .page-content.roadmap-content {
    aspect-ratio: 2048 / 1120;
    padding: 2.2% 5.2% 2.8%;
}

body:not(.page-home) .page-content.downloads-page-content {
    aspect-ratio: 2048 / 930;
    padding: 2.1% 5.4% 3.2%;
}

body:not(.page-home) .page-content.forum-page-content {
    aspect-ratio: 2048 / 1250;
    padding: 2.1% 5.4% 3.4%;
}

body:not(.page-home) .page-content.rankings-page-content {
    aspect-ratio: 2048 / 1220;
    padding: 2.1% 5.6% 3.1%;
}

body:not(.page-home) .page-content.streamer-page-content {
    aspect-ratio: 2048 / 930;
    padding: 2.1% 5.4% 3.2%;
}

.ranking-shell {
    position: relative;
    height: 100%;
    display: grid;
    grid-template-rows: auto auto auto auto 1fr;
    gap: clamp(9px, .72vw, 15px);
    padding: clamp(44px, 3vw, 62px) clamp(40px, 3vw, 64px) clamp(30px, 2.1vw, 45px);
    background: url("../img/layout/Boxgrande.png") center / 100% 100% no-repeat;
}

.ranking-shell .sketch-title {
    justify-self: center;
    margin-top: clamp(-30px, -1.3vw, -16px);
    margin-bottom: clamp(1px, .2vw, 5px);
    z-index: 2;
}

.ranking-type-buttons {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: clamp(6px, .55vw, 11px);
}

.btn-ranking-type {
    min-height: clamp(45px, 3vw, 58px);
    display: grid;
    grid-template-columns: clamp(22px, 1.6vw, 31px) 1fr;
    align-items: center;
    gap: clamp(5px, .35vw, 8px);
    padding: clamp(5px, .42vw, 8px);
    color: #2a1e12;
    border: 1px solid rgba(72, 49, 24, .36);
    background: rgba(225, 194, 128, .42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38);
    font-size: clamp(8px, .62vw, 12px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
}

.btn-ranking-type.active,
.btn-ranking-type:hover {
    color: #fff4cf;
    background: linear-gradient(180deg, #7fa20f, #345305);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 3px 0 rgba(59, 40, 22, .28);
}

.btn-ranking-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    filter: drop-shadow(0 2px 1px rgba(45, 27, 11, .38));
}

.section-classes-selection {
    display: grid;
    gap: clamp(4px, .35vw, 7px);
    justify-content: center;
}

[data-level-class-filters]:not(.is-visible) {
    display: none;
}

.ranking-class-hint {
    margin: 0;
    color: #6b3b1f;
    font-size: clamp(8px, .62vw, 11px);
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.ranking-classes-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: clamp(6px, .55vw, 11px);
    margin: 0;
    padding: 0;
}

.ranking-classes-all {
    margin-bottom: clamp(1px, .25vw, 5px);
}

.list-classes-item {
    width: clamp(48px, 3.45vw, 66px);
    height: clamp(48px, 3.45vw, 66px);
    position: relative;
    display: grid;
    place-items: center;
    color: #2d2014;
    border: 1px solid rgba(72, 49, 24, .32);
    background: rgba(248, 230, 184, .42);
    cursor: pointer;
}

.list-classes-item.all-classes {
    width: clamp(66px, 4.8vw, 92px);
    height: clamp(39px, 2.75vw, 52px);
    grid-template-columns: clamp(27px, 1.9vw, 38px) 1fr;
    gap: 4px;
    padding-inline: 7px;
}

.list-classes-item.active,
.list-classes-item:hover {
    background: rgba(126, 159, 25, .28);
    outline: 3px solid rgba(67, 94, 9, .35);
}

.list-player-class-img {
    width: 86%;
    height: 86%;
    object-fit: contain;
    filter: drop-shadow(0 2px 1px rgba(45, 27, 11, .35));
}

.list-classes-item span {
    position: absolute;
    right: 3px;
    bottom: 2px;
    font-size: clamp(7px, .5vw, 9px);
    font-weight: 800;
}

.list-classes-item.all-classes span {
    position: static;
    font-size: clamp(9px, .7vw, 12px);
    font-weight: 900;
}

.ranking-filter-row {
    display: grid;
    grid-template-columns: minmax(170px, 230px) minmax(220px, 340px);
    justify-content: center;
    gap: clamp(10px, .8vw, 16px);
}

.ranking-filter-row label {
    color: #5d371f;
    font-size: clamp(9px, .68vw, 12px);
    font-weight: 900;
    text-transform: uppercase;
}

.ranking-filter-row select,
.ranking-filter-row input {
    width: 100%;
    min-height: clamp(30px, 2vw, 40px);
    margin-top: 4px;
    padding: 0 12px;
    border: 1px solid rgba(72, 49, 24, .38);
    background: rgba(255, 244, 217, .62);
    color: #24180d;
    font-weight: 800;
}

.data-table-section {
    min-height: 0;
}

.ranking-table-iframe {
    display: none;
    height: 100%;
    min-height: 0;
}

.ranking-table-iframe.is-active,
.ranking-table-iframe.active {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: clamp(8px, .65vw, 13px);
}

.ranking-table-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid rgba(77, 54, 29, .24);
    padding-bottom: clamp(6px, .45vw, 10px);
}

.ranking-table-title h2 {
    margin: 0;
    color: #7f2f17;
    font-family: Georgia, serif;
    font-size: clamp(18px, 1.55vw, 30px);
    line-height: 1;
    text-transform: uppercase;
}

.ranking-table-title p {
    margin: 0;
    color: #5f4b34;
    font-size: clamp(8px, .62vw, 11px);
    font-weight: 800;
    text-align: right;
}

.ranking-data-table {
    min-height: 0;
    overflow: auto;
    border: 1px solid rgba(72, 49, 24, .27);
    background: rgba(255, 244, 218, .25);
}

.ranking-data-head,
.ranking-data-row {
    display: grid;
    grid-template-columns: .5fr .9fr .9fr 1.5fr .75fr .75fr;
    align-items: center;
}

.ranking-data-row[hidden] {
    display: none;
}

.ranking-data-head {
    position: sticky;
    top: 0;
    z-index: 1;
    min-height: clamp(32px, 2.15vw, 42px);
    color: #1f160f;
    background: rgba(220, 187, 120, .72);
    border-bottom: 3px solid #43610c;
    font-size: clamp(8px, .58vw, 11px);
    font-weight: 900;
    text-transform: uppercase;
}

.ranking-data-head span,
.ranking-data-row > * {
    min-width: 0;
    padding: clamp(5px, .4vw, 8px) clamp(8px, .65vw, 13px);
}

.ranking-data-row {
    min-height: clamp(38px, 2.55vw, 50px);
    border-bottom: 1px solid rgba(72, 49, 24, .16);
    color: #24180e;
    background: rgba(255, 247, 226, .26);
    font-size: clamp(9px, .68vw, 13px);
    font-weight: 800;
}

.ranking-data-row:nth-child(odd) {
    background: rgba(225, 194, 128, .18);
}

.ranking-data-row:hover {
    background: rgba(126, 159, 25, .16);
}

.rank-position {
    color: #0f0c08;
    font-size: clamp(13px, 1vw, 20px);
    font-weight: 900;
    text-align: center;
}

.rank-clan,
.rank-class {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rank-clan i {
    width: clamp(22px, 1.55vw, 30px);
    height: clamp(22px, 1.55vw, 30px);
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff1c7;
    border-radius: 50%;
    background: linear-gradient(180deg, #9a741d, #46300e);
    font-style: normal;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .65);
}

.rank-class img {
    width: clamp(21px, 1.45vw, 28px);
    height: clamp(21px, 1.45vw, 28px);
    object-fit: contain;
    flex: 0 0 auto;
}

.ranking-data-row strong,
.ranking-data-row em {
    color: #2b2117;
    font-weight: 900;
}

.ranking-data-row em {
    font-style: normal;
}

.forum-layout {
    height: 100%;
    display: grid;
    grid-template-columns: 1.48fr .92fr;
    grid-template-rows: .28fr 1fr;
    gap: clamp(12px, 1.05vw, 22px);
}

.forum-hero-panel,
.forum-stats-panel,
.forum-categories-panel,
.forum-topics-panel {
    position: relative;
}

.forum-hero-panel {
    background: url("../img/layout/Boxgrande.png") center / 100% 100% no-repeat;
    padding: clamp(38px, 2.6vw, 52px) clamp(28px, 2vw, 44px) clamp(18px, 1.25vw, 28px);
}

.forum-stats-panel,
.forum-topics-panel {
    background: url("../img/layout/boxinfo.png") center / 100% 100% no-repeat;
    padding: clamp(38px, 2.6vw, 52px) clamp(22px, 1.55vw, 34px) clamp(18px, 1.25vw, 28px);
}

.forum-categories-panel {
    background: url("../img/layout/Boxgrande.png") center / 100% 100% no-repeat;
    padding: clamp(42px, 2.9vw, 58px) clamp(24px, 1.8vw, 38px) clamp(18px, 1.25vw, 28px);
}

.forum-hero-copy {
    height: 100%;
    display: grid;
    grid-template-columns: clamp(82px, 6vw, 118px) 1fr auto;
    gap: clamp(18px, 1.45vw, 30px);
    align-items: center;
}

.forum-hero-copy img {
    width: 100%;
    filter: drop-shadow(0 3px 1px rgba(59, 40, 22, .35));
}

.forum-hero-copy h2,
.forum-categories h3,
.forum-topic-list h3 {
    margin: 0;
    color: #2b2117;
    text-transform: uppercase;
}

.forum-hero-copy h2 {
    font-family: Georgia, serif;
    font-size: clamp(22px, 1.85vw, 34px);
}

.forum-hero-copy p,
.forum-categories p,
.forum-topic-list p,
.forum-stats-panel p {
    margin: 6px 0 0;
    color: #3f3022;
    font-weight: 800;
    line-height: 1.25;
}

.forum-hero-copy p {
    font-size: clamp(11px, .86vw, 15px);
}

.forum-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.forum-stats div {
    display: grid;
    place-items: center;
    min-height: clamp(58px, 4.1vw, 78px);
    border: 1px solid rgba(59, 40, 22, .24);
    background: rgba(255, 244, 215, .42);
}

.forum-stats strong {
    color: #9d3f1d;
    font-size: clamp(20px, 1.6vw, 30px);
    line-height: 1;
}

.forum-stats span {
    color: #2b2117;
    font-size: clamp(9px, .7vw, 12px);
    font-weight: 900;
    text-transform: uppercase;
}

.forum-stats-panel p {
    font-size: clamp(9px, .72vw, 13px);
    text-align: center;
}

.forum-categories {
    height: 100%;
    display: grid;
    gap: clamp(6px, .55vw, 10px);
}

.forum-categories article {
    display: grid;
    grid-template-columns: clamp(52px, 3.8vw, 74px) 1fr auto;
    gap: clamp(12px, 1vw, 20px);
    align-items: center;
    padding: clamp(8px, .65vw, 13px) clamp(12px, 1vw, 20px);
    border: 1px solid rgba(59, 40, 22, .24);
    background: rgba(255, 244, 215, .32);
}

.forum-categories img {
    width: 100%;
    filter: drop-shadow(0 2px 1px rgba(59, 40, 22, .28));
}

.forum-categories h3 {
    color: #7f2f17;
    font-size: clamp(12px, .92vw, 17px);
}

.forum-categories p {
    font-size: clamp(9px, .7vw, 13px);
}

.forum-categories dl {
    display: grid;
    grid-template-columns: repeat(2, clamp(48px, 3.8vw, 68px));
    gap: 8px;
    margin: 0;
    text-align: center;
}

.forum-categories dt {
    color: #5f4f3c;
    font-size: clamp(8px, .6vw, 11px);
    font-weight: 900;
    text-transform: uppercase;
}

.forum-categories dd {
    color: #2b2117;
    font-size: clamp(14px, 1vw, 19px);
    font-weight: 900;
}

.forum-topic-list {
    display: grid;
    gap: clamp(7px, .55vw, 11px);
}

.forum-topic-list article {
    padding: clamp(9px, .72vw, 13px);
    border: 1px solid rgba(59, 40, 22, .24);
    background: rgba(255, 244, 215, .34);
}

.forum-topic-list span {
    display: inline-block;
    margin-bottom: 6px;
    padding: 4px 8px;
    color: #fff4cf;
    font-size: clamp(8px, .62vw, 11px);
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 3px;
    background: linear-gradient(180deg, #8da82b, #345405);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .55);
}

.forum-topic-list h3 {
    font-size: clamp(11px, .82vw, 15px);
    line-height: 1.1;
}

.forum-topic-list p {
    font-size: clamp(9px, .66vw, 12px);
}

.streamer-layout {
    display: grid;
    grid-template-columns: 1.34fr .74fr;
    grid-template-rows: .86fr 1fr;
    gap: clamp(12px, 1.05vw, 22px);
    height: 100%;
}

.streamer-feature-panel,
.streamer-guide-panel,
.streamer-roster-panel {
    position: relative;
    min-width: 0;
}

.streamer-feature-panel,
.streamer-roster-panel {
    background: url("../img/layout/Boxgrande.png") center / 100% 100% no-repeat;
}

.streamer-guide-panel {
    background: url("../img/layout/boxinfo.png") center / 100% 100% no-repeat;
    padding: clamp(42px, 3vw, 58px) clamp(22px, 1.6vw, 34px) clamp(18px, 1.25vw, 28px);
}

.streamer-feature-panel {
    padding: clamp(44px, 3.1vw, 62px) clamp(34px, 2.4vw, 52px) clamp(24px, 1.7vw, 36px);
}

.streamer-roster-panel {
    grid-column: 1 / -1;
    padding: clamp(44px, 3vw, 60px) clamp(28px, 2.05vw, 44px) clamp(18px, 1.3vw, 30px);
}

.streamer-feature-content {
    display: grid;
    grid-template-columns: minmax(150px, .42fr) 1fr;
    gap: clamp(18px, 1.8vw, 36px);
    align-items: center;
    height: 100%;
}

.streamer-feature-emblem {
    display: grid;
    justify-items: center;
    gap: 10px;
}

.streamer-feature-emblem img {
    width: min(190px, 82%);
    filter: drop-shadow(0 4px 2px rgba(59, 40, 22, .36));
}

.streamer-feature-emblem span,
.streamer-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 12px;
    border-radius: 4px;
    background: linear-gradient(180deg, #8da82b, #345405);
    color: #fff6da;
    font-size: clamp(10px, .72vw, 13px);
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .5);
}

.streamer-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: clamp(10px, .74vw, 13px);
    font-weight: 900;
    text-transform: uppercase;
}

.streamer-feature-copy h2 {
    margin: 0 0 8px;
    color: #7f2f17;
    font-family: Georgia, serif;
    font-size: clamp(28px, 2.4vw, 48px);
    line-height: 1;
    text-transform: uppercase;
}

.streamer-feature-copy p,
.streamer-guide-panel p,
.streamer-card p {
    margin: 0;
    color: #3f3022;
    font-size: clamp(11px, .82vw, 15px);
    font-weight: 800;
    line-height: 1.35;
}

.streamer-feature-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: clamp(12px, 1vw, 18px) 0;
}

.streamer-feature-meta div,
.streamer-card dl div {
    padding: 9px 10px;
    border: 1px solid rgba(59, 40, 22, .22);
    background: rgba(255, 246, 218, .34);
}

.streamer-feature-meta dt,
.streamer-card dt {
    color: #5f4f3c;
    font-size: clamp(8px, .62vw, 11px);
    font-weight: 900;
    text-transform: uppercase;
}

.streamer-feature-meta dd,
.streamer-card dd {
    margin: 3px 0 0;
    color: #2b2117;
    font-size: clamp(11px, .82vw, 15px);
    font-weight: 900;
}

.streamer-guide-panel ol {
    display: grid;
    gap: 10px;
    margin: 0 0 14px;
    padding-left: 20px;
    color: #2b2117;
    font-size: clamp(11px, .82vw, 15px);
    font-weight: 900;
    line-height: 1.28;
}

.streamer-roster {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, .95vw, 18px);
    height: 100%;
}

.streamer-card {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    gap: 10px;
    min-width: 0;
    padding: clamp(14px, 1.05vw, 22px);
    border: 1px solid rgba(59, 40, 22, .2);
    background: rgba(255, 246, 218, .38);
}

.streamer-card.is-offline .streamer-status {
    background: linear-gradient(180deg, #8b7b58, #4c3a24);
}

.streamer-card h3 {
    margin: 0;
    color: #7f2f17;
    font-size: clamp(15px, 1.1vw, 22px);
    text-transform: uppercase;
}

.streamer-card dl {
    display: grid;
    gap: 6px;
    margin: 0;
}

.streamer-disabled {
    pointer-events: none;
    opacity: .72;
}

.streamer-profile-layout {
    display: grid;
    grid-template-columns: 1.34fr .74fr;
    grid-template-rows: .95fr 1fr;
    gap: clamp(12px, 1.05vw, 22px);
    height: 100%;
}

.streamer-spotlight-panel,
.streamer-info-panel,
.streamer-details-panel {
    position: relative;
    min-width: 0;
}

.streamer-spotlight-panel,
.streamer-details-panel {
    background: url("../img/layout/Boxgrande.png") center / 100% 100% no-repeat;
}

.streamer-info-panel {
    background: url("../img/layout/boxinfo.png") center / 100% 100% no-repeat;
    padding: clamp(42px, 3vw, 58px) clamp(22px, 1.6vw, 34px) clamp(18px, 1.25vw, 28px);
}

.streamer-spotlight-panel {
    padding: clamp(46px, 3.25vw, 66px) clamp(36px, 2.6vw, 56px) clamp(24px, 1.7vw, 36px);
}

.streamer-details-panel {
    grid-column: 1 / -1;
    padding: clamp(46px, 3.15vw, 64px) clamp(30px, 2.1vw, 46px) clamp(20px, 1.4vw, 32px);
}

.streamer-spotlight {
    display: grid;
    grid-template-columns: minmax(170px, .42fr) 1fr;
    gap: clamp(20px, 1.9vw, 40px);
    align-items: center;
    height: 100%;
}

.streamer-avatar-frame {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 18px;
    border: 2px solid rgba(59, 40, 22, .22);
    background:
        linear-gradient(180deg, rgba(255, 246, 218, .45), rgba(215, 184, 120, .22)),
        rgba(255, 246, 218, .25);
}

.streamer-avatar-frame img {
    width: min(210px, 82%);
    filter: drop-shadow(0 5px 2px rgba(59, 40, 22, .38));
}

.streamer-avatar-frame span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 5px 14px;
    border-radius: 4px;
    background: linear-gradient(180deg, #8da82b, #345405);
    color: #fff6da;
    font-size: clamp(10px, .76vw, 14px);
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .55);
}

.streamer-spotlight-copy h2 {
    margin: 0 0 10px;
    color: #7f2f17;
    font-family: Georgia, serif;
    font-size: clamp(34px, 3vw, 60px);
    line-height: .95;
    text-transform: uppercase;
}

.streamer-spotlight-copy p {
    width: min(760px, 100%);
    margin: 0;
    color: #3f3022;
    font-size: clamp(12px, .92vw, 17px);
    font-weight: 800;
    line-height: 1.42;
}

.streamer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: clamp(14px, 1.1vw, 20px);
}

.streamer-info-list {
    display: grid;
    gap: clamp(8px, .72vw, 13px);
    margin: 0 0 16px;
}

.streamer-info-list div {
    padding: 10px 12px;
    border: 1px solid rgba(59, 40, 22, .22);
    background: rgba(255, 246, 218, .34);
}

.streamer-info-list dt {
    color: #5f4f3c;
    font-size: clamp(8px, .62vw, 11px);
    font-weight: 900;
    text-transform: uppercase;
}

.streamer-info-list dd {
    margin: 3px 0 0;
    color: #2b2117;
    font-size: clamp(12px, .9vw, 16px);
    font-weight: 900;
}

.streamer-twitch-link {
    display: block;
    padding: 11px 12px;
    border: 1px solid rgba(59, 40, 22, .24);
    background: linear-gradient(180deg, rgba(155, 99, 208, .24), rgba(90, 54, 130, .18));
    color: #4a246d;
    font-size: clamp(12px, .9vw, 16px);
    font-weight: 900;
    text-align: center;
}

.streamer-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, .82vw, 16px);
    height: 100%;
}

.streamer-highlight-grid article {
    display: grid;
    grid-template-columns: clamp(50px, 3.7vw, 72px) 1fr;
    gap: 12px;
    align-items: center;
    padding: clamp(12px, .95vw, 18px);
    border: 1px solid rgba(59, 40, 22, .2);
    background: rgba(255, 246, 218, .34);
}

.streamer-highlight-grid img {
    width: 100%;
    filter: drop-shadow(0 2px 1px rgba(59, 40, 22, .28));
}

.streamer-highlight-grid h3 {
    margin: 0 0 5px;
    color: #7f2f17;
    font-size: clamp(12px, .92vw, 17px);
    text-transform: uppercase;
}

.streamer-highlight-grid p {
    margin: 0;
    color: #3f3022;
    font-size: clamp(9px, .7vw, 13px);
    font-weight: 800;
    line-height: 1.28;
}

.downloads-layout {
    height: 100%;
    display: grid;
    grid-template-columns: 1.48fr .95fr;
    grid-template-rows: 1fr .34fr;
    gap: clamp(12px, 1.05vw, 22px);
}

.download-client-panel,
.download-requirements-panel,
.install-guide-panel {
    position: relative;
}

.download-client-panel {
    background: url("../img/layout/Boxgrande.png") center / 100% 100% no-repeat;
}

.download-requirements-panel {
    background: url("../img/layout/boxinfo.png") center / 100% 100% no-repeat;
}

.install-guide-panel {
    background: url("../img/layout/boxcumprida.png") center / 100% 100% no-repeat;
}

.download-client-panel {
    padding: clamp(42px, 3vw, 58px) clamp(28px, 2.1vw, 44px) clamp(18px, 1.3vw, 28px);
}

.download-requirements-panel {
    padding: clamp(42px, 3vw, 58px) clamp(22px, 1.6vw, 34px) clamp(16px, 1.2vw, 24px);
}

.install-guide-panel {
    grid-column: 1 / -1;
    padding: clamp(36px, 2.55vw, 48px) clamp(24px, 1.8vw, 38px) clamp(14px, 1vw, 22px);
}

.sketch-title {
    position: absolute;
    left: 50%;
    top: 0;
    min-width: min(300px, 58%);
    min-height: clamp(31px, 2.15vw, 42px);
    display: grid;
    place-items: center;
    padding: 0 28px;
    color: #fff4cf;
    font-size: clamp(14px, 1.05vw, 20px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 1px 2px 0 rgba(0, 0, 0, .65);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translate(-50%, -42%);
}

.title-green {
    background: url("../img/icons/tituloverde.png") center / 100% 100% no-repeat;
}

.title-blue {
    background: url("../img/icons/tituloazul.png") center / 100% 100% no-repeat;
}

.download-requirements-panel .sketch-title {
    min-width: min(360px, 76%);
    font-size: clamp(12px, .88vw, 17px);
    white-space: nowrap;
}

.title-purple {
    background: url("../img/icons/tituloroxopng.png") center / 100% 100% no-repeat;
}

.download-client-body {
    display: grid;
    grid-template-columns: .48fr 1fr;
    gap: clamp(24px, 2.2vw, 46px);
    align-items: center;
}

.download-main-icon {
    display: grid;
    place-items: center;
}

.download-main-icon img {
    width: min(150px, 70%);
    filter: drop-shadow(0 3px 1px rgba(59, 40, 22, .35));
}

.download-main-info h2 {
    margin: 0 0 4px;
    color: #2b2117;
    font-family: Georgia, serif;
    font-size: clamp(22px, 1.85vw, 34px);
    line-height: 1;
    text-transform: uppercase;
}

.download-main-info dl {
    margin: 0 0 12px;
    gap: 2px;
    font-size: clamp(11px, .78vw, 14px);
}

.download-main-info p {
    margin: 10px 0 0;
    color: #2b2117;
    font-size: clamp(10px, .72vw, 13px);
    font-weight: 800;
}

.download-client-button {
    width: min(430px, 100%);
    min-height: clamp(52px, 3.9vw, 76px);
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    padding: 8px 18px;
    color: #fff4cf;
    border: 4px solid #3b2816;
    border-radius: 5px;
    background: linear-gradient(180deg, #8da82b, #53770b 55%, #274606);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .36), 0 5px 0 rgba(59, 40, 22, .35);
    text-align: center;
    text-shadow: 1px 2px 0 rgba(0, 0, 0, .62);
}

.download-client-button img {
    width: 34px;
    justify-self: center;
}

.download-client-button span,
.download-client-button small {
    display: block;
    grid-column: 2;
}

.download-client-button span {
    font-size: clamp(16px, 1.25vw, 24px);
    font-weight: 900;
    text-transform: uppercase;
}

.download-client-button small {
    font-size: clamp(10px, .78vw, 14px);
    font-weight: 800;
}

.download-options-title {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    align-items: center;
    margin: clamp(16px, 1.5vw, 28px) 0 clamp(10px, .9vw, 18px);
}

.download-options-title span {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 40, 22, .55), transparent);
}

.download-options-title strong {
    color: #2b2117;
    font-size: clamp(11px, .82vw, 15px);
    text-transform: uppercase;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.download-options a {
    display: grid;
    grid-template-columns: clamp(62px, 4.55vw, 88px) 1fr;
    align-items: center;
    padding: 4px 10px;
    color: #2b2117;
    border-right: 1px solid rgba(59, 40, 22, .34);
}

.download-options a:last-child {
    border-right: 0;
}

.download-options img {
    grid-row: span 2;
    width: clamp(58px, 4.15vw, 80px);
    height: clamp(42px, 3vw, 58px);
    object-fit: contain;
    transform: scale(1.38);
    transform-origin: center;
    filter: drop-shadow(0 2px 1px rgba(59, 40, 22, .28));
}

.download-options b {
    grid-row: span 2;
    font-size: clamp(22px, 1.55vw, 30px);
    color: #775210;
}

.download-options span {
    font-size: clamp(10px, .78vw, 14px);
    font-weight: 900;
    text-transform: uppercase;
}

.download-options small {
    font-size: clamp(9px, .68vw, 12px);
    font-weight: 800;
}

.requirements-columns {
    display: grid;
    gap: clamp(12px, 1vw, 20px);
}

.requirements-columns h3 {
    margin: 0 0 6px;
    color: #164f78;
    font-size: clamp(13px, .95vw, 18px);
    text-transform: uppercase;
}

.requirements-columns ul {
    display: grid;
    gap: 3px;
    margin: 0;
    padding-left: 18px;
}

.requirements-columns li {
    color: #2b2117;
    font-size: clamp(9px, .68vw, 13px);
    font-weight: 800;
    line-height: 1.18;
}

.install-steps {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 1.15vw, 24px);
    align-items: center;
}

.install-steps article {
    position: relative;
    display: grid;
    grid-template-columns: clamp(54px, 4vw, 76px) 1fr;
    gap: clamp(14px, 1.25vw, 26px);
    align-items: center;
}

.install-steps img,
.install-steps b {
    width: clamp(58px, 4.3vw, 82px);
    height: clamp(58px, 4.3vw, 82px);
    object-fit: contain;
    filter: drop-shadow(0 3px 1px rgba(59, 40, 22, .3));
}

.install-steps b {
    display: grid;
    place-items: center;
    color: #9a650b;
    font-size: clamp(38px, 3vw, 58px);
}

.install-steps h3 {
    margin: 0 0 5px;
    color: #2b2117;
    font-size: clamp(10px, .78vw, 14px);
    text-transform: uppercase;
}

.install-steps p {
    margin: 0;
    color: #2b2117;
    font-size: clamp(9px, .68vw, 12px);
    font-weight: 800;
    line-height: 1.22;
}

.step-arrow {
    position: absolute;
    left: calc(-1 * clamp(6px, .65vw, 14px));
    top: 50%;
    width: clamp(20px, 1.45vw, 30px) !important;
    height: auto !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 1px rgba(59, 40, 22, .35));
    transform: translate(-50%, -50%);
}

.page-stack {
    display: grid;
    gap: 0;
}

.page-stack .page-content {
    margin-top: 0;
    z-index: 1;
}

.page-stack .page-content + .page-content {
    margin-top: -1px;
    z-index: 0;
}

.page-content-segment {
    position: relative;
    overflow: visible;
}

.page-content-segment > * {
    position: relative;
    z-index: 2;
}

.page-content-bg2,
.page-content-end {
    background-image: url("../img/layout/bg2.png") !important;
}

.roadmap-page {
    display: grid;
    place-items: center;
}

.roadmap-board {
    width: min(1040px, 88%);
    height: 82%;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: clamp(12px, 1.1vw, 22px);
}

.roadmap-intro {
    text-align: center;
}

.roadmap-intro p,
.roadmap-card-head span,
.roadmap-card-head strong {
    margin: 0;
    color: #9d3f1d;
    font-weight: 900;
    text-transform: uppercase;
}

.roadmap-intro h2 {
    margin: 4px 0 6px;
    font-family: Georgia, serif;
    font-size: clamp(28px, 3vw, 52px);
    line-height: .95;
    color: #4a3320;
    text-transform: uppercase;
}

.roadmap-intro span {
    display: block;
    color: var(--muted);
    font-weight: 800;
    font-size: clamp(11px, .95vw, 16px);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px, .9vw, 18px);
    align-items: stretch;
}

.roadmap-card {
    position: relative;
    min-height: 0;
    padding: clamp(18px, 1.55vw, 28px);
    background: url("../img/layout/box.png") center / 100% 100% no-repeat;
    overflow: hidden;
}

.roadmap-card-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    font-size: clamp(8px, .75vw, 12px);
}

.roadmap-card-head strong {
    color: var(--green-dark);
}

.roadmap-card h3 {
    margin: clamp(10px, 1vw, 18px) 0;
    color: #2f2419;
    font-size: clamp(15px, 1.25vw, 22px);
    line-height: 1.05;
    text-transform: uppercase;
}

.roadmap-card ul {
    display: grid;
    gap: clamp(6px, .55vw, 10px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.roadmap-card li {
    position: relative;
    padding-left: 18px;
    color: #2b2117;
    font-size: clamp(10px, .82vw, 14px);
    font-weight: 800;
    line-height: 1.25;
}

.roadmap-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .45em;
    width: 8px;
    height: 8px;
    border: 2px solid var(--line);
    border-radius: 50%;
    background: var(--gold);
}

.roadmap-details {
    width: min(1000px, 84%);
    height: 74%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 1.2vw, 24px);
    margin: 3% auto 0;
}

.roadmap-details article {
    padding: clamp(22px, 2vw, 34px);
    background: url("../img/layout/box.png") center / 100% 100% no-repeat;
}

.roadmap-details h2 {
    margin: 0 0 14px;
    color: #9d3f1d;
    font-size: clamp(16px, 1.35vw, 24px);
    line-height: 1.05;
    text-transform: uppercase;
}

.roadmap-details p {
    margin: 0;
    color: #2b2117;
    font-size: clamp(11px, .9vw, 15px);
    font-weight: 800;
    line-height: 1.35;
}

.phase-roadmap {
    width: min(1280px, 93%);
    height: 94%;
    margin: .9% auto 0;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: clamp(8px, .75vw, 16px);
}

.phase-roadmap.is-continuation {
    height: 82%;
    margin-top: .8%;
    grid-template-rows: 1fr;
    align-items: start;
}

.phase-roadmap.has-note {
    height: auto;
    grid-template-rows: auto auto auto;
    align-content: start;
    gap: clamp(8px, .65vw, 14px);
}

.phase-roadmap-head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(14px, 1.2vw, 28px);
    align-items: center;
}

.phase-roadmap-head span {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 40, 22, .58), transparent);
}

.phase-roadmap-head h2 {
    margin: 0;
    color: #2d241a;
    font-size: clamp(20px, 1.8vw, 34px);
    letter-spacing: .04em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.phase-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(142px, 178px));
    justify-content: center;
    gap: clamp(10px, .9vw, 18px) clamp(18px, 1.85vw, 34px);
    align-items: start;
    padding-top: clamp(14px, 1vw, 22px);
}

.phase-card {
    position: relative;
    aspect-ratio: 242 / 390;
    padding: 42px 15px 34px;
    background: url("../img/icons/boxfase.png") center / 100% 100% no-repeat;
    text-align: center;
    overflow: visible;
}

.phase-badge-wrap {
    position: absolute;
    left: 50%;
    top: 4px;
    z-index: 2;
    width: 74%;
    display: grid;
    place-items: center;
    transform: translate(-50%, -62%);
}

.phase-badge {
    width: 100%;
    height: auto;
}

.phase-badge-wrap strong {
    position: absolute;
    top: 49%;
    left: 50%;
    color: #fff5cf;
    font-size: clamp(10px, .9vw, 16px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 1px 2px 0 rgba(0, 0, 0, .7);
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.phase-card.is-progress .phase-badge-wrap,
.phase-card.is-future .phase-badge-wrap {
    width: 74%;
    top: 4px;
}

.phase-card.is-progress .phase-badge-wrap strong,
.phase-card.is-future .phase-badge-wrap strong {
    font-size: clamp(10px, .9vw, 16px);
}

.phase-card h3 {
    margin: 0;
    color: #35571d;
    font-size: clamp(11px, .86vw, 16px);
    line-height: 1;
    text-transform: uppercase;
}

.phase-card p {
    margin: 6px 0 9px;
    color: #35571d;
    font-size: clamp(9px, .68vw, 12px);
    font-weight: 900;
    text-transform: uppercase;
}

.phase-symbol {
    width: 42%;
    margin: 0 auto 9px;
}

.phase-card.is-progress .phase-symbol,
.phase-card.is-future .phase-symbol {
    width: 45%;
}

.phase-card ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.phase-card li {
    display: grid;
    grid-template-columns: 13px 1fr;
    gap: 5px;
    align-items: center;
    color: #302519;
    font-size: clamp(7px, .55vw, 10px);
    font-weight: 800;
    line-height: 1.15;
}

.phase-check {
    width: 11px;
    height: 11px;
    display: inline-block;
    background: url("../img/icons/comfirmado.png") center / contain no-repeat;
}

.phase-card li.is-pending .phase-check {
    border: 2px solid #55751d;
    border-radius: 50%;
    background: rgba(232, 205, 123, .72);
    box-shadow: inset 0 0 0 3px rgba(81, 53, 18, .12);
}

.phase-card li img {
    width: 16px;
}

.phase-status-wrap {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 94%;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
}

.phase-status {
    width: 100%;
    height: auto;
}

.phase-status-wrap strong {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 88%;
    color: #fff3cf;
    font-size: clamp(7px, .55vw, 10px);
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 2px 1px rgba(0, 0, 0, .55);
    transform: translate(-50%, -52%);
    white-space: nowrap;
}

.roadmap-title-note {
    position: relative;
    width: min(760px, 62%);
    margin: clamp(4px, .35vw, 8px) auto 0;
}

.roadmap-title-note img {
    display: block;
    width: 100%;
    height: auto;
}

.roadmap-title-note-content {
    position: absolute;
    left: 7%;
    right: 7%;
    top: 50%;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    gap: clamp(10px, .9vw, 18px);
    align-items: center;
    transform: translateY(-50%);
}

.roadmap-title-note-content img {
    width: 28px;
    height: auto;
    justify-self: center;
}

.roadmap-title-note p {
    margin: 0;
    color: #3c2a1b;
    font-family: Georgia, serif;
    font-size: clamp(9px, .78vw, 14px);
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-shadow: 1px 1px 0 rgba(255, 249, 223, .9);
    white-space: nowrap;
}

.info-content .info-grid {
    height: 74%;
    align-items: center;
}

.info-card {
    display: grid;
    align-content: center;
    padding: clamp(24px, 2.2vw, 42px);
    text-align: center;
}

.info-card h2 {
    margin: 0 0 14px;
    color: #9d3f1d;
    font-size: clamp(16px, 1.35vw, 24px);
    line-height: 1.05;
    text-transform: uppercase;
}

.info-card p {
    margin: 0;
    color: #2b2117;
    font-size: clamp(11px, .9vw, 15px);
    font-weight: 800;
    line-height: 1.35;
}

.narrow {
    max-width: 620px;
}

.content-grid {
    display: grid;
    gap: 18px;
}

.cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

.article-image {
    position: relative;
    z-index: 1;
    display: block;
    aspect-ratio: 1.5;
    border-bottom: 0;
    box-shadow: none;
}

.article-body,
.download-item,
.social-card,
.empty-state,
.support-box,
.text-page,
.guide-panel,
.form-card {
    position: relative;
    z-index: 1;
    padding: 24px;
}

.download-item,
.social-card,
.empty-state {
    text-align: center;
}

.download-item h2,
.social-card h2,
.empty-state h2,
.support-box h2,
.guide-panel h2,
.text-page h2 {
    margin: 0 0 12px;
    text-transform: uppercase;
}

.download-item p,
.social-card p,
.empty-state p,
.support-box p,
.article-body p,
.text-page p {
    color: var(--muted);
    font-weight: 700;
}

.download-item span {
    display: block;
    margin: 14px 0 20px;
    font-weight: 900;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.steps article {
    padding: 18px;
    border: 0;
    background: rgba(255, 245, 215, .55);
    box-shadow: none;
}

.steps b {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 3px solid var(--line);
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
}

.ranking-full {
    padding: 28px;
}

.form-card {
    display: grid;
    gap: 16px;
}

.form-card label {
    display: grid;
    gap: 7px;
    font-weight: 900;
}

.form-card input,
.form-card textarea {
    width: 100%;
    border: 1px solid rgba(59, 40, 22, .22);
    border-radius: 4px;
    padding: 13px 14px;
    color: var(--ink);
    background: #fff6dc;
    box-shadow: none;
}

.site-footer {
    position: relative;
    flex-shrink: 0;
    border-top: 0;
    box-shadow: none;
    background: transparent;
}

.site-footer::before {
    top: 7px;
}

.footer-grid {
    position: relative;
    aspect-ratio: 2048 / 112;
    min-height: 0;
    display: block;
    background: url("../img/layout/rodape.png") center top / 100% 100% no-repeat;
}

.site-footer .footer-brand {
    visibility: hidden;
}

.footer-brand strong {
    font-size: 2.6rem;
}

.footer-brand span {
    font-size: .78rem;
}

.footer-links {
    position: absolute;
    left: 34%;
    top: 49%;
    transform: translateY(-50%);
    width: 34%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .45vw 1.15vw;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 rgba(255, 248, 219, .75);
    font-size: clamp(7px, .66vw, 11px);
    line-height: 1;
}

.footer-grid p {
    position: absolute;
    right: 7%;
    top: 49%;
    transform: translateY(-50%);
    width: 20%;
    margin: 0;
    text-align: right;
    font-weight: 900;
    text-shadow: 1px 1px 0 rgba(255, 248, 219, .75);
    font-size: clamp(7px, .66vw, 11px);
    line-height: 1.12;
}

.placeholder {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #f8e8c5, #e6c98c 58%, #d4af67);
}

.placeholder::after {
    content: none;
}

.placeholder-characters {
    background:
        radial-gradient(circle at 34% 24%, rgba(244, 190, 114, .9) 0 7%, transparent 8%),
        linear-gradient(90deg, rgba(37, 57, 74, .78) 0 22%, rgba(182, 104, 43, .82) 23% 36%, rgba(230, 193, 153, .78) 37% 44%, rgba(73, 51, 105, .76) 45% 58%, transparent 59%),
        linear-gradient(180deg, rgba(250,236,205,.08), rgba(90,60,29,.16));
}

.placeholder-war {
    background:
        linear-gradient(180deg, rgba(243, 223, 183, .08), rgba(59, 40, 22, .42)),
        linear-gradient(135deg, #dfc285, #f5e2b5 42%, #8d7442 43%, #4a3922);
}

.news-warrior {
    background: linear-gradient(135deg, #d9be83, #efc57a 42%, #a7682c 43%, #5b4429);
}

.news-chest {
    background: radial-gradient(circle at 55% 45%, #f0b52f 0 17%, #653412 18% 31%, transparent 32%), linear-gradient(135deg, #d5b979, #e6c061);
}

.news-items {
    background: linear-gradient(135deg, #8f7341, #a66d30 48%, #d3ac60);
}

@media (max-width: 1200px) {
    .header-grid {
        grid-template-columns: 1fr auto;
        min-height: 92px;
    }

    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: grid;
        gap: 5px;
        width: 52px;
        height: 46px;
        padding: 10px;
        border: 4px solid var(--line);
        background: var(--paper);
    }

    .menu-toggle span {
        height: 3px;
        background: var(--line);
    }

    .main-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 92px;
        display: none;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        background: var(--paper);
        border-bottom: 4px solid var(--line);
    }

    .main-menu-right {
        top: calc(92px + 160px);
    }

    .main-menu.open {
        display: grid;
    }

    .main-menu a {
        padding: 18px;
        border-top: 2px solid rgba(59, 40, 22, .2);
        text-align: center;
    }

    .home-panels,
    .cards-3 {
        grid-template-columns: 1fr;
    }

    .middle-art-inner {
        aspect-ratio: auto;
        padding: 18px;
        background-size: cover;
    }

    .middle-art .home-panels,
    .middle-art .feature-strip {
        height: auto;
    }

    .middle-art .feature-strip {
        margin-top: 18px;
    }

    .feature-strip,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-characters {
        opacity: .35;
    }
}

@media (max-width: 760px) {
    body::before {
        inset: 4px;
    }

    .container {
        width: var(--site-width);
    }

    .brand strong {
        font-size: 2.35rem;
    }

    .brand span {
        margin-left: 24px;
        font-size: .75rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 34px 0;
    }

    .hero-characters {
        width: 100%;
        clip-path: none;
    }

    .hero-copy {
        margin: 0;
    }

    .download-box {
        max-width: 380px;
        margin-inline: auto;
    }

    .news-item,
    .feature-strip,
    .steps,
    .footer-grid {
        display: block;
    }

    .feature-strip article {
        grid-template-columns: 82px 1fr;
        border-right: 0;
        border-bottom: 2px solid rgba(59, 40, 22, .22);
    }

    .feature-strip article:last-child {
        border-bottom: 0;
    }

    .footer-grid {
        padding: 0;
    }

    .footer-brand {
        margin-inline: auto;
    }

    .footer-grid p {
        text-align: right;
    }

    .side-actions {
        right: 8px;
        top: auto;
        bottom: 18px;
        transform: none;
    }

    .side-action span {
        display: none;
    }

    .language-switcher {
        right: 8px;
        top: 12px;
    }

    .account-popover {
        width: min(360px, calc(100vw - 28px));
        padding: 22px;
        transform: translate(-50%, -46%) scale(.96);
    }

    .account-popover.is-open {
        transform: translate(-50%, -50%) scale(1);
    }

    .account-popover-head img {
        width: min(180px, 62%);
    }
}

@media (max-width: 900px) {
    .streamer-page-content {
        aspect-ratio: auto !important;
    }

    .streamer-layout,
    .streamer-profile-layout,
    .streamer-feature-content,
    .streamer-spotlight,
    .streamer-roster,
    .streamer-feature-meta,
    .streamer-highlight-grid {
        display: block;
    }

    .streamer-feature-panel,
    .streamer-spotlight-panel,
    .streamer-guide-panel,
    .streamer-roster-panel,
    .streamer-info-panel,
    .streamer-details-panel,
    .streamer-card {
        margin-bottom: 16px;
    }

    .streamer-feature-emblem,
    .streamer-avatar-frame {
        margin-bottom: 14px;
    }

    .streamer-highlight-grid article {
        margin-bottom: 10px;
    }
}

