:root {
    --ink: #17345b;
    --ink-soft: #53647b;
    --navy: #082d5d;
    --navy-deep: #031a39;
    --sky: #54baf0;
    --sky-bright: #9de7ff;
    --gold: #c6943e;
    --gold-light: #f2d796;
    --gold-dark: #805520;
    --ivory: #fffaf0;
    --paper: #f8f1e3;
    --paper-deep: #e9dcc5;
    --rose: #b95e72;
    --green: #4d8d72;
    --shadow: 0 22px 60px rgba(7, 31, 67, .22);
    --display-font: "DFKai-SB", "BiauKai", "Noto Serif TC", "PMingLiU", serif;
    --body-font: "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    color: var(--ink);
    background: #e8f5f9;
    font-family: var(--body-font);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

button,
input {
    font: inherit;
}

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

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

button {
    color: inherit;
}

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

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 50%;
    transform: translate(-50%, -160%);
    padding: 10px 18px;
    border-radius: 999px;
    color: #fff;
    background: var(--navy);
    box-shadow: var(--shadow);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translate(-50%, 0);
}

.hero {
    position: relative;
    z-index: 1;
    min-height: max(760px, 100svh);
    overflow: hidden;
    isolation: isolate;
    background: #65bde4;
}

.hero__art,
.hero__art img,
.hero-character-motion,
.hero-atmosphere,
.hero__veil,
.sparkles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__art {
    z-index: -4;
    display: block;
    overflow: hidden;
}

.hero__art img {
    max-width: none;
    object-fit: cover;
    object-position: center bottom;
    transform: none;
}

.hero__art::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 68%, rgba(154, 223, 255, .13), transparent 19%),
        radial-gradient(circle at 83% 65%, rgba(255, 229, 165, .11), transparent 20%),
        linear-gradient(108deg, transparent 28%, rgba(230, 250, 255, .08) 48%, transparent 66%);
    mix-blend-mode: screen;
    opacity: .42;
    animation: hero-character-light 11s ease-in-out infinite alternate;
}

@keyframes hero-character-light {
    0%, 100% { opacity: .34; transform: translate3d(-.4%, 0, 0); }
    48% { opacity: .7; }
    62% { opacity: .48; transform: translate3d(.45%, -.15%, 0); }
}

.hero-character-motion {
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
    contain: paint;
}

.hero-character-motion__motes {
    position: absolute;
    display: block;
    pointer-events: none;
    will-change: transform, opacity;
}

.hero-character-motion__motes {
    inset: 36% 3% 3%;
    opacity: .28;
    background-image:
        radial-gradient(circle at 8% 71%, rgba(255, 239, 177, .92) 0 1px, transparent 2px),
        radial-gradient(circle at 17% 42%, rgba(220, 247, 255, .86) 0 1.2px, transparent 2.2px),
        radial-gradient(circle at 27% 84%, rgba(255, 232, 159, .72) 0 1px, transparent 2px),
        radial-gradient(circle at 77% 58%, rgba(223, 248, 255, .84) 0 1.2px, transparent 2.2px),
        radial-gradient(circle at 87% 31%, rgba(255, 236, 170, .8) 0 1px, transparent 2px),
        radial-gradient(circle at 94% 76%, rgba(215, 245, 255, .78) 0 1.2px, transparent 2.2px);
    filter: drop-shadow(0 0 4px rgba(195, 237, 255, .72));
    animation: hero-character-motes 10.8s ease-in-out infinite;
}

@keyframes hero-character-motes {
    0%, 100% { opacity: .16; transform: translate3d(0, 8px, 0); }
    42% { opacity: .48; }
    68% { opacity: .25; transform: translate3d(3px, -7px, 0); }
}

.hero-atmosphere {
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.hero-atmosphere__light {
    position: absolute;
    display: block;
    width: 34vw;
    height: 80vh;
    opacity: .16;
    background: linear-gradient(178deg, rgba(255, 255, 255, .72), rgba(225, 248, 255, .18) 58%, transparent 82%);
    clip-path: polygon(43% 0, 58% 0, 100% 100%, 0 100%);
    transform-origin: 50% 0;
    animation: sky-light-drift 12s ease-in-out infinite alternate;
}

.hero-atmosphere__light--left {
    top: -16%;
    left: 5%;
    transform: rotate(8deg) translate3d(var(--hero-light-x, 0px), 0, 0);
}

.hero-atmosphere__light--center {
    top: -24%;
    left: 34%;
    width: 39vw;
    opacity: .1;
    animation-delay: -5s;
    transform: rotate(-3deg) translate3d(var(--hero-light-center-x, 0px), 0, 0);
}

.hero-atmosphere__light--right {
    top: -20%;
    right: 2%;
    opacity: .12;
    animation-delay: -8s;
    transform: rotate(-9deg) translate3d(var(--hero-light-right-x, 0px), 0, 0);
}

@keyframes sky-light-drift {
    from { opacity: .08; }
    to { opacity: .19; }
}

.hero__veil {
    z-index: -3;
    background:
        linear-gradient(180deg, rgba(4, 40, 88, .34) 0%, rgba(21, 93, 147, .06) 17%, rgba(255, 255, 255, 0) 52%, rgba(7, 29, 55, .14) 100%),
        radial-gradient(circle at 50% 14%, rgba(255, 255, 255, .36), transparent 31%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 68px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(236, 247, 246, .92));
    clip-path: polygon(0 38%, 7% 57%, 16% 41%, 25% 64%, 35% 46%, 45% 67%, 56% 42%, 67% 63%, 78% 39%, 89% 58%, 100% 37%, 100% 100%, 0 100%);
}

.sparkles {
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.sparkles i {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: .18;
    background: linear-gradient(135deg, transparent 35%, #fffceb 36% 64%, transparent 65%);
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    box-shadow: 0 0 7px rgba(255, 245, 198, .62);
    transform: translate3d(var(--sparkle-x, 0px), var(--sparkle-y, 0px), 0) scale(var(--sparkle-scale, 1));
    animation: star-glimmer var(--sparkle-speed, 4.8s) ease-in-out infinite;
}

.sparkles i:nth-child(1) { top: 17%; left: 13%; --sparkle-scale: .82; }
.sparkles i:nth-child(2) { top: 23%; left: 28%; --sparkle-scale: .58; }
.sparkles i:nth-child(3) { top: 12%; left: 42%; --sparkle-scale: .76; }
.sparkles i:nth-child(4) { top: 29%; left: 58%; --sparkle-scale: .52; }
.sparkles i:nth-child(5) { top: 16%; left: 72%; --sparkle-scale: .88; }
.sparkles i:nth-child(6) { top: 33%; left: 86%; --sparkle-scale: .66; }
.sparkles i:nth-child(7) { top: 48%; left: 49%; --sparkle-scale: .48; }
.sparkles i:nth-child(8) { top: 39%; left: 21%; --sparkle-scale: .62; }
.sparkles i:nth-child(9) { top: 8%; left: 19%; --sparkle-scale: .38; --sparkle-speed: 5.7s; }
.sparkles i:nth-child(10) { top: 36%; left: 36%; --sparkle-scale: .42; --sparkle-speed: 4.2s; }
.sparkles i:nth-child(11) { top: 21%; left: 64%; --sparkle-scale: .36; --sparkle-speed: 5.1s; }
.sparkles i:nth-child(12) { top: 42%; left: 77%; --sparkle-scale: .46; --sparkle-speed: 6.2s; }
.sparkles i:nth-child(13) { top: 11%; left: 91%; --sparkle-scale: .32; --sparkle-speed: 4.6s; }
.sparkles i:nth-child(14) { top: 52%; left: 10%; --sparkle-scale: .4; --sparkle-speed: 5.4s; }

.sparkles i:nth-child(3n + 1) { animation-delay: -1.7s; }
.sparkles i:nth-child(3n + 2) { animation-delay: -3.1s; }

@keyframes star-glimmer {
    0%, 100% { opacity: .12; }
    48% { opacity: .72; }
    60% { opacity: .32; }
}

.main-nav {
    position: absolute;
    z-index: 20;
    top: 20px;
    left: 50%;
    width: min(1260px, calc(100% - 285px));
    transform: translateX(-50%);
}

.main-nav__toggle {
    display: none;
}

.main-nav__list {
    display: flex;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    position: relative;
    --nav-scale: 1;
    --nav-y: 0px;
}

.nav-item--guide { --nav-scale: 1; --nav-y: -1px; }
.nav-item--wiki { --nav-scale: 1.03; --nav-y: -5px; }
.nav-item--member { --nav-scale: 1.03; --nav-y: -2px; }
.nav-item--forum { --nav-scale: 1.2; --nav-y: -7px; z-index: 3; }
.nav-item--download { --nav-scale: 1.02; --nav-y: 1px; }
.nav-item--sponsor { --nav-scale: 1.03; --nav-y: -2px; }
.nav-item--app { --nav-scale: .97; --nav-y: 2px; }

.nav-item__primary {
    position: relative;
    display: grid;
    min-height: 80px;
    align-items: center;
}

.nav-button {
    position: relative;
    display: grid;
    align-items: center;
    justify-content: center;
    height: 80px;
    min-height: 80px;
    padding: 0;
    border: 0;
    background: transparent;
    transform-origin: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.nav-button img {
    width: 100%;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 7px 8px rgba(7, 39, 74, .27));
    transform: translateY(var(--nav-y)) scale(var(--nav-scale));
    transition: filter .22s ease, transform .22s ease;
}

.nav-submenu-toggle {
    display: none;
}

.nav-button small {
    position: absolute;
    right: 50%;
    bottom: -4px;
    padding: 1px 8px;
    color: #fff8db;
    border: 1px solid rgba(255, 232, 165, .8);
    border-radius: 999px;
    background: rgba(17, 71, 126, .94);
    font-family: var(--body-font);
    font-size: .56rem;
    line-height: 1.5;
    letter-spacing: 0;
    text-shadow: none;
    transform: translateX(50%);
    white-space: nowrap;
}

.nav-item:hover .nav-button,
.nav-item:focus-within .nav-button,
.nav-button:focus-visible {
    transform: translateY(-2px) scale(1.015);
}

.nav-button:focus-visible {
    outline: 2px solid rgba(226, 250, 255, .98);
    outline-offset: 2px;
    border-radius: 14px;
    box-shadow: 0 0 0 4px rgba(57, 169, 222, .5);
}

.nav-item:hover .nav-button img,
.nav-item:focus-within .nav-button img,
.nav-button:focus-visible img {
    filter: hue-rotate(168deg) saturate(1.55) brightness(1.08) drop-shadow(0 0 11px rgba(125, 226, 255, .96)) drop-shadow(0 9px 9px rgba(4, 39, 76, .32));
    transform: translateY(var(--nav-y)) scale(var(--nav-scale));
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: 190px;
    padding: 12px;
    color: #5f431e;
    border: 1px solid rgba(214, 177, 103, .9);
    border-radius: 13px;
    background: rgba(255, 250, 237, .97);
    box-shadow: 0 18px 34px rgba(5, 38, 77, .28), inset 0 0 0 3px rgba(255, 255, 255, .66);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 1px solid #d6b167;
    border-left: 1px solid #d6b167;
    background: #fffaf0;
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown p {
    margin: 0 0 8px;
    padding: 0 6px 8px;
    border-bottom: 1px solid rgba(180, 136, 67, .3);
    font-family: var(--display-font);
    font-weight: 800;
    text-align: center;
}

.nav-dropdown ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-dropdown a {
    display: block;
    padding: 7px 10px;
    border-radius: 7px;
    font-size: .88rem;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
    color: #fff;
    outline: none;
    background: linear-gradient(90deg, #2e9cd7, #2269b2);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.hero__content {
    position: absolute;
    z-index: 8;
    top: clamp(165px, 21vh, 204px);
    left: 50%;
    display: flex;
    width: min(620px, 44vw);
    align-items: center;
    flex-direction: column;
    transform: translateX(-50%);
    text-align: center;
}

.magic-logo {
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.magic-logo__image,
.magic-logo__sheen {
    grid-area: 1 / 1;
}

.magic-logo--hero {
    width: min(100%, 580px);
    animation: logo-arrive .9s cubic-bezier(.16, .85, .3, 1) both;
}

.hero__logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 8px rgba(17, 45, 68, .28));
    transform-origin: 50% 54%;
    animation: hero-logo-breathe 5.8s ease-in-out 1s infinite;
    will-change: transform, filter;
}

@keyframes logo-arrive {
    from { opacity: 0; transform: translateY(-16px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hero-logo-breathe {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 8px 8px rgba(17, 45, 68, .28)) drop-shadow(0 0 0 rgba(145, 219, 255, 0));
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        filter: brightness(1.045) drop-shadow(0 9px 10px rgba(17, 45, 68, .25)) drop-shadow(0 0 14px rgba(145, 219, 255, .25));
        transform: translate3d(0, -1px, 0) scale(1.012);
    }
}

.magic-logo__sheen {
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(108deg, transparent 31%, rgba(255, 255, 255, .1) 42%, rgba(255, 244, 188, .82) 49%, rgba(255, 255, 255, .14) 56%, transparent 68%);
    background-position: 180% 0;
    background-size: 260% 100%;
    -webkit-mask: url("../brand/wargod-logo.webp") center / contain no-repeat;
    mask: url("../brand/wargod-logo.webp") center / contain no-repeat;
    mix-blend-mode: screen;
    opacity: 0;
    animation: magic-logo-sheen 7.6s cubic-bezier(.25, .1, .25, 1) infinite;
}

@keyframes magic-logo-sheen {
    0%, 57% { background-position: 180% 0; opacity: 0; }
    61% { opacity: .18; }
    72% { background-position: -80% 0; opacity: .76; }
    78%, 100% { background-position: -80% 0; opacity: 0; }
}

.magic-logo__spark {
    position: absolute;
    z-index: 3;
    width: 7px;
    height: 7px;
    pointer-events: none;
    opacity: 0;
    filter: drop-shadow(0 0 5px rgba(255, 245, 182, .95));
    transform: translate(-50%, -50%) scale(.45) rotate(45deg);
    animation: magic-gem-glint 5.9s ease-in-out infinite;
}

.magic-logo__spark::before,
.magic-logo__spark::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent 43%, #fff9d6 46% 54%, transparent 57%);
}

.magic-logo__spark::after {
    transform: rotate(90deg);
}

.magic-logo__spark--crown { top: 12%; left: 50%; animation-delay: -1.4s; }
.magic-logo__spark--heart { top: 78%; left: 50%; animation-delay: -3.8s; }
.magic-logo__spark--wing { top: 44%; left: 73%; animation-delay: -5.1s; }

@keyframes magic-gem-glint {
    0%, 70%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.35) rotate(45deg); }
    76% { opacity: .95; transform: translate(-50%, -50%) scale(1.1) rotate(45deg); }
    82% { opacity: .12; transform: translate(-50%, -50%) scale(.72) rotate(45deg); }
}

.hero__tagline-plaque {
    position: relative;
    width: min(100%, 590px);
    height: auto;
    margin: -6px 0 12px;
    filter: drop-shadow(0 5px 7px rgba(8, 34, 64, .22));
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hero-button {
    position: relative;
    display: grid;
    width: 236px;
    min-width: 0;
    height: 86px;
    min-height: 0;
    padding: 14px 44px;
    place-content: center;
    place-items: center;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
    cursor: pointer;
    border: 0;
    color: #694919;
    background: url("../ui-v2/hero-button-ivory-approved-v5.webp") center / 100% 100% no-repeat;
    text-align: center;
    text-shadow: 0 1px rgba(255, 255, 255, .85);
    transition: transform .2s ease, color .2s ease;
}

.hero-button span {
    width: 100%;
    padding-left: .14em;
    font-family: var(--display-font);
    font-size: 1.34rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .14em;
    transform: translateY(-1px);
}

.hero-button--primary,
.hero-button:hover,
.hero-button:focus-visible {
    outline: none;
}

.hero-button:hover,
.hero-button:focus-visible,
.hero-button--primary:hover,
.hero-button--primary:focus-visible,
.hero-button:active {
    color: #fff;
    background-image: url("../ui-v2/hero-button-blue-approved-v5.webp");
    text-shadow: 0 1px 2px rgba(0, 36, 78, .7);
    transform: translateY(-2px) scale(1.018);
}

.hero__scroll {
    position: absolute;
    z-index: 10;
    bottom: 25px;
    left: 50%;
    display: grid;
    place-items: center;
    gap: 3px;
    color: #fff;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: .72rem;
    letter-spacing: .18em;
    text-shadow: 0 2px 8px rgba(4, 29, 58, .8);
    transform: translateX(-50%);
}

.hero__scroll i {
    width: 19px;
    height: 19px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    animation: scroll-down 1.8s ease-in-out infinite;
}

@keyframes scroll-down {
    0%, 100% { opacity: .35; transform: translateY(-3px) rotate(45deg); }
    50% { opacity: 1; transform: translateY(5px) rotate(45deg); }
}

.floating-portal {
    position: fixed;
    z-index: 40;
    top: 104px;
    width: 190px;
}

.floating-portal--sponsor { left: 16px; }
.floating-portal--support { right: 16px; }

.floating-portal__button {
    position: relative;
    display: block;
    width: 100%;
    min-height: 0;
    aspect-ratio: 2 / 3;
    padding: 0;
    cursor: pointer;
    color: #fff8e5;
    border: 0;
    background: transparent;
    transition: transform .22s ease;
}

.floating-portal__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    object-fit: contain;
}

.floating-portal__button:hover,
.floating-portal__button:focus-visible {
    outline: none;
    transform: translateY(-4px) scale(1.015);
}

.floating-portal__title {
    position: absolute;
    z-index: 2;
    top: 29.5%;
    left: 14%;
    width: 72%;
    margin: 0;
    font-family: var(--display-font);
    font-size: 1.02rem;
    font-weight: 900;
    letter-spacing: .12em;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 2px 4px rgba(3, 27, 61, .72);
}

.floating-portal__hint {
    position: absolute;
    z-index: 2;
    right: 18%;
    bottom: 9.5%;
    left: 18%;
    color: rgba(255, 247, 224, .84);
    font-size: .55rem;
    letter-spacing: .04em;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 1px 3px rgba(4, 26, 56, .8);
}

.mini-slime {
    position: absolute;
    top: -25px;
    left: 50%;
    width: 58px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, .94);
    border-radius: 52% 52% 45% 45% / 64% 64% 40% 40%;
    background: radial-gradient(circle at 32% 22%, #fff 0 6%, transparent 7%), linear-gradient(180deg, #c5f0ff, #59b9ec 72%, #3b8dcd);
    box-shadow: inset -8px -8px 12px rgba(38, 111, 178, .2), 0 6px 12px rgba(16, 68, 111, .25);
    transform: translateX(-50%);
    animation: slime-breathe 2.7s ease-in-out infinite;
}

.mini-slime i {
    position: absolute;
    top: 19px;
    width: 12px;
    height: 5px;
    border-bottom: 2px solid #26659e;
    border-radius: 0 0 50% 50%;
}

.mini-slime i:first-child { left: 13px; transform: rotate(8deg); }
.mini-slime i:last-child { right: 13px; transform: rotate(-8deg); }

@keyframes slime-breathe {
    0%, 100% { transform: translateX(-50%) scale(1, 1); }
    50% { transform: translateX(-50%) scale(1.04, .96) translateY(1px); }
}

.qr-placeholder {
    position: absolute;
    z-index: 2;
    top: 43.4%;
    left: 24.3%;
    display: grid;
    width: 51.4%;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 3px;
    background: #fff;
    box-shadow: none;
}

.qr-placeholder::after {
    content: none;
}

.qr-placeholder i {
    position: absolute;
    width: 19px;
    height: 19px;
    border: 4px solid #6b665e;
    background: #fff;
    box-shadow: inset 0 0 0 3px #6b665e;
}

.qr-placeholder i:nth-child(1) { top: 4px; left: 4px; }
.qr-placeholder i:nth-child(2) { top: 4px; right: 4px; }
.qr-placeholder i:nth-child(3) { bottom: 4px; left: 4px; }

.qr-placeholder--official {
    overflow: hidden;
    background: #fff;
}

.qr-placeholder--official::after {
    content: none;
}

.qr-placeholder--official img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-placeholder--pending {
    color: #9a684c;
    font-family: var(--display-font);
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .08em;
    text-align: center;
}

.floating-portal--support .floating-portal__title {
    top: 30.3%;
}

.floating-portal--sponsor .qr-placeholder {
    top: 45.4%;
}

.adventure[hidden] {
    display: none;
}

.adventure {
    position: relative;
    z-index: 2;
    overflow: hidden;
    isolation: isolate;
    background: #dceff4;
}

.adventure::before,
.adventure::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.adventure::before {
    z-index: -2;
    background-image: url("../images/longpage-background-v1.webp");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.adventure::after {
    z-index: -1;
    background: linear-gradient(180deg, rgba(191, 226, 241, .16) 0%, rgba(248, 244, 222, .2) 36%, rgba(189, 224, 237, .28) 64%, rgba(6, 35, 73, .7) 76%, rgba(3, 20, 46, .9) 100%);
}

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

.world-intro {
    position: relative;
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
    padding: 66px 0 74px;
    text-align: center;
}

.world-intro::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 50%;
    width: min(780px, 80vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, #c8a15a, transparent);
    transform: translateX(-50%);
}

.world-intro::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 18px;
    left: 50%;
    width: min(980px, 96vw);
    height: 360px;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 26% 44%, rgba(126, 204, 238, .12), transparent 38%),
        radial-gradient(ellipse at 72% 36%, rgba(255, 222, 150, .1), transparent 34%),
        linear-gradient(108deg, transparent 28%, rgba(236, 250, 255, .08) 48%, transparent 67%);
    mix-blend-mode: screen;
    opacity: .62;
    transform: translateX(-50%);
    animation: world-air-current 18s ease-in-out infinite alternate;
}

.world-intro > * {
    position: relative;
    z-index: 1;
}

@keyframes world-air-current {
    from { opacity: .38; transform: translate3d(-50.35%, 1px, 0); }
    to { opacity: .7; transform: translate3d(-49.65%, -2px, 0); }
}

.world-intro__brand {
    position: relative;
    display: grid;
    place-items: center;
    gap: 2px;
    margin: 0 auto 10px;
    isolation: isolate;
}

.world-intro__brand::before {
    content: none;
}

.world-intro__logo {
    width: clamp(300px, 30vw, 430px);
    height: auto;
    filter: drop-shadow(0 10px 13px rgba(19, 55, 87, .23));
}

.world-intro__tagline-plaque {
    width: min(94vw, 590px);
    height: auto;
    margin-top: 0;
    filter: drop-shadow(0 5px 7px rgba(8, 34, 64, .2));
}

.world-intro .section-heading {
    position: relative;
    margin-top: 4px;
}

.world-intro .section-heading__eyebrow {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(.78rem, 1.05vw, 1rem);
    line-height: 1.2;
    letter-spacing: .2em;
}

.world-intro .section-heading h1 {
    max-width: 820px;
    margin-inline: auto;
    font-size: clamp(1.9rem, 3.2vw, 3.15rem);
}

.section-heading__eyebrow {
    display: inline-block;
    color: #b38135;
    font-family: Georgia, serif;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .32em;
}

.section-heading h1,
.section-heading h2 {
    margin: 7px 0 5px;
    color: #143967;
    font-family: var(--display-font);
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.2;
    letter-spacing: .08em;
    text-shadow: 0 2px #fff;
}

.section-heading p {
    margin: 0 auto;
    max-width: 650px;
    color: #64758a;
    line-height: 1.7;
}

.return-home {
    position: fixed;
    z-index: 35;
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    margin: 0;
    padding: 11px 22px 10px 42px;
    color: #f8e6b1;
    border: 2px solid #d8ad59;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(22, 76, 126, .97), rgba(5, 37, 78, .97));
    cursor: pointer;
    box-shadow:
        inset 0 0 0 3px rgba(255, 255, 255, .1),
        inset 0 0 0 5px rgba(224, 181, 95, .16),
        0 10px 24px rgba(1, 24, 55, .34);
    font-family: var(--display-font);
    font-weight: 800;
    letter-spacing: .08em;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.return-home::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 14px;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    color: #eaf9ff;
    border: 1px solid #efcf82;
    background: #2a93d3;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28), 0 0 10px rgba(91, 210, 255, .5);
    transform: translateY(-50%) rotate(45deg);
}

.return-home:hover,
.return-home:focus-visible {
    color: #fff;
    outline: none;
    border-color: #f2d58e;
    background: linear-gradient(180deg, #53c8f5, #1765ad 72%, #0a3975);
    box-shadow:
        inset 0 0 0 3px rgba(255, 255, 255, .18),
        inset 0 0 0 5px rgba(234, 198, 118, .18),
        0 0 20px rgba(86, 209, 255, .55),
        0 13px 27px rgba(1, 24, 55, .34);
    transform: translateY(-2px);
}

.content-rail {
    width: min(1240px, calc(100% - 40px));
    margin-inline: auto;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding-bottom: 92px;
}

.parchment-panel {
    position: relative;
    padding: 6px 16px 16px;
    border-width: 70px 56px 50px;
    border-style: solid;
    border-color: transparent;
    border-image-source: url("../ui-v2/panel-content-parchment-v1.webp");
    border-image-slice: 190 150 130 150 fill;
    border-image-width: 70px 56px 50px;
    border-image-repeat: stretch;
    overflow: visible;
    isolation: isolate;
    border-radius: 0;
    background: transparent;
    background-clip: padding-box;
    filter: drop-shadow(0 18px 24px rgba(34, 59, 84, .18));
}

.parchment-panel::before,
.parchment-panel::after {
    content: none;
}

.panel-heading {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(152, 111, 53, .26);
}

.panel-heading__icon {
    position: relative;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #fff;
    border: 2px solid #f2d59c;
    border-radius: 5px;
    background: linear-gradient(145deg, #65b9dd, #1f69ad);
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .2), 0 5px 12px rgba(20, 76, 126, .28);
    font-size: 0;
    transform: rotate(45deg);
}

.panel-heading__icon::after {
    content: "✦";
    font-size: 1rem;
    transform: rotate(-45deg);
}

.panel-heading p {
    margin: 0;
    color: #ae813c;
    font-family: Georgia, serif;
    font-size: .6rem;
    letter-spacing: .18em;
}

.panel-heading h2 {
    margin: 1px 0 0;
    color: #5d472b;
    font-family: var(--display-font);
    font-size: 1.25rem;
    letter-spacing: .05em;
}

.panel-heading > a {
    display: grid;
    width: 116px;
    min-height: 48px;
    padding: 12px 20px;
    place-items: center;
    color: #927041;
    background: url("../ui-v2/button-action-default-ivory-v1.webp") center / 100% 100% no-repeat;
    font-size: .72rem;
}

.panel-heading > a:hover,
.panel-heading > a:focus-visible {
    color: #1f79ba;
    outline: none;
    background-image: url("../ui-v2/button-action-active-blue-v1.webp");
    text-decoration: none;
}

.loot-broadcast {
    position: relative;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 9px;
    margin: 18px 0 8px;
    padding: 13px 14px;
    overflow: hidden;
    color: #364e66;
    border: 1px solid rgba(88, 160, 198, .5);
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(210, 242, 252, .86), rgba(255, 252, 229, .85));
}

.loot-broadcast__pin,
.loot-broadcast strong {
    padding: 2px 7px;
    color: #fff;
    border-radius: 5px;
    background: #b45b6b;
    font-size: .72rem;
}

.loot-broadcast strong {
    background: #347db4;
}

.loot-broadcast p {
    margin: 0;
    overflow: hidden;
    font-size: .85rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.loot-broadcast__pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #48a883;
    box-shadow: 0 0 0 0 rgba(72, 168, 131, .55);
    animation: pulse 1.9s infinite;
}

@keyframes pulse {
    70% { box-shadow: 0 0 0 8px rgba(72, 168, 131, 0); }
    100% { box-shadow: 0 0 0 0 rgba(72, 168, 131, 0); }
}

.article-list,
.forum-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-list li,
.forum-list li {
    margin: 5px 0;
}

.article-entry,
.forum-entry {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    min-height: 64px;
    padding: 1px 7px;
    color: #514735;
    border-width: 13px 22px;
    border-style: solid;
    border-color: transparent;
    border-image-source: url("../ui-v2/article-row-default-v1.webp");
    border-image-slice: 82 120 82 120 fill;
    border-image-width: 13px 22px;
    border-image-outset: 1px;
    border-image-repeat: stretch;
    text-decoration: none;
    transition: color .2s ease, filter .2s ease, transform .2s ease;
}

.article-entry:hover,
.article-entry:focus-visible,
.forum-entry:hover,
.forum-entry:focus-visible {
    color: #176fae;
    outline: none;
    border-image-source: url("../ui-v2/article-row-active-v1.webp");
    filter: drop-shadow(0 5px 8px rgba(47, 116, 158, .18));
    transform: translateX(2px);
}

.article-entry__title,
.forum-entry__title {
    display: block;
    overflow: hidden;
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-list time {
    color: #8b7b68;
    font-size: .75rem;
}

.tag {
    min-width: 46px;
    padding: 3px 7px;
    color: #fff;
    border-radius: 5px;
    font-size: .7rem;
    text-align: center;
}

.tag--blue { background: #5088b8; }
.tag--green { background: #66937a; }
.tag--rose { background: #a6667d; }
.tag--gold { background: #a9854c; }
.tag--slate { background: #6a7a90; }

.forum-tabs {
    display: flex;
    gap: 8px;
    margin: 17px 0 8px;
}

.forum-tabs button {
    min-width: 92px;
    min-height: 40px;
    padding: 10px 18px;
    color: #75624b;
    border: 0;
    background: url("../ui-v2/button-action-default-ivory-v1.webp") center / 100% 100% no-repeat;
    cursor: pointer;
    font-size: .75rem;
}

.forum-tabs button[aria-selected="true"],
.forum-tabs button:hover,
.forum-tabs button:focus-visible {
    color: #fff;
    outline: none;
    background-image: url("../ui-v2/button-action-active-blue-v1.webp");
}

.forum-type {
    min-width: 66px;
    padding: 3px 6px;
    color: #fff;
    border-radius: 5px;
    background: #789a81;
    font-size: .68rem;
    text-align: center;
}

.forum-entry__body {
    min-width: 0;
}

.forum-entry__title {
    font-size: .88rem;
}

.forum-entry__body p {
    margin: 1px 0 0;
    color: #8d806f;
    font-size: .68rem;
}

.forum-list__empty {
    display: grid;
    min-height: 136px;
    padding: 28px 24px;
    place-items: center;
    color: #746044;
    border-width: 18px 26px;
    border-style: solid;
    border-color: transparent;
    border-image-source: url("../ui-v2/article-row-default-v1.webp");
    border-image-slice: 82 120 82 120 fill;
    border-image-width: 18px 26px;
    text-align: center;
}

.forum-list__empty p {
    margin: 0 0 10px;
    line-height: 1.7;
}

.forum-list__empty a {
    display: grid;
    width: min(190px, 100%);
    min-height: 44px;
    padding: 10px 22px;
    place-items: center;
    color: #876c45;
    background: url("../ui-v2/button-action-default-ivory-v1.webp") center / 100% 100% no-repeat;
}

.forum-list__empty a:hover,
.forum-list__empty a:focus-visible {
    color: #fff;
    outline: none;
    background-image: url("../ui-v2/button-action-active-blue-v1.webp");
}

.reply-count {
    color: #89745a;
    font-size: .65rem;
    text-align: center;
}

.reply-count b {
    display: block;
    color: #347fb6;
    font-size: .9rem;
}

.showcase {
    padding-bottom: 110px;
}

.section-heading--compact {
    margin-bottom: 28px;
    text-align: center;
}

.section-heading--compact h2,
.section-heading--light h2 {
    font-size: clamp(1.9rem, 3.5vw, 3rem);
}

.showcase-stage {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1654 / 865;
    overflow: visible;
    isolation: isolate;
    background: transparent;
    filter: drop-shadow(0 24px 28px rgba(20, 57, 89, .24));
}

.showcase-stage__viewport {
    position: absolute;
    z-index: 1;
    inset: 11.8% 4.2% 12.6%;
    overflow: hidden;
    border-radius: 18px;
    background: #dceef4;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .76);
}

.showcase-stage__frame {
    position: absolute;
    z-index: 9;
    inset: 0;
    display: block;
    pointer-events: none;
}

.showcase-stage__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.showcase-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s ease, visibility .55s;
}

.showcase-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.showcase-slide__image {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(225, 242, 248, .34), rgba(226, 243, 249, .04) 58%, rgba(18, 66, 108, .12)),
        url("../images/hero-clean-v1.webp") var(--focus, center) / cover no-repeat;
    transform: scale(1.03);
    transition: transform 6s ease;
}

.showcase-slide.is-active .showcase-slide__image {
    transform: scale(1.085);
}

.showcase-slide__copy {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: clamp(24px, 4vw, 58px);
    width: min(410px, 46%);
    padding: 21px 24px 19px;
    color: #173b66;
    border: 1px solid rgba(198, 153, 73, .72);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(255, 253, 243, .94), rgba(239, 229, 205, .87));
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .48), 0 12px 24px rgba(19, 53, 82, .18);
    transform: translateY(-50%);
    text-shadow: none;
}

.showcase-slide__copy > span {
    color: #9c6b25;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .25em;
}

.showcase-slide__copy h3 {
    margin: 10px 0 8px;
    font-family: var(--display-font);
    font-size: clamp(1.7rem, 3.4vw, 3.1rem);
    line-height: 1.25;
    letter-spacing: .06em;
}

.showcase-slide__copy p {
    margin: 0 0 24px;
    color: #617389;
}

.showcase-slide__copy button {
    width: 176px;
    min-height: 68px;
    padding: 18px 30px;
    color: #6b4d22;
    border: 0;
    background: url("../ui-v2/button-action-default-ivory-v1.webp") center / 100% 100% no-repeat;
    cursor: pointer;
}

.showcase-slide__copy button:hover,
.showcase-slide__copy button:focus-visible {
    color: #fff;
    outline: none;
    background-image: url("../ui-v2/button-action-active-blue-v1.webp");
}

.carousel-controls {
    position: absolute;
    z-index: 6;
    right: 36px;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.carousel-controls > button {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #fff8dc;
    border: 1px solid #dfb866;
    border-radius: 50%;
    background: linear-gradient(145deg, #4bb8e4, #155d9e 72%, #0c3d76);
    cursor: pointer;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .15), 0 5px 12px rgba(8, 45, 79, .25);
    font-size: 1.35rem;
}

.carousel-controls > button:hover,
.carousel-controls > button:focus-visible {
    outline: none;
    background: #2b91cb;
}

.carousel-dots {
    display: flex;
    gap: 7px;
}

.carousel-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.carousel-dots button.is-active {
    background: #f3d17d;
    box-shadow: 0 0 8px #fff;
}

.feature-world {
    position: relative;
    padding: 100px max(20px, calc((100vw - 1240px) / 2)) 120px;
    color: #17345b;
    border-top: 1px solid rgba(191, 149, 77, .34);
    background:
        radial-gradient(circle at 50% -10%, rgba(116, 203, 233, .3), transparent 36%),
        radial-gradient(circle at 5% 70%, rgba(105, 183, 211, .12), transparent 29%),
        linear-gradient(180deg, rgba(224, 241, 248, .76), rgba(248, 245, 231, .94) 70%, rgba(232, 239, 235, .9));
}

.feature-world::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .66;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(235, 213, 157, .34), transparent) 50% 46px / min(760px, 68vw) 1px no-repeat,
        radial-gradient(ellipse at 50% 8%, rgba(255, 255, 255, .56), transparent 42%);
}

.section-heading--light {
    position: relative;
    text-align: center;
}

.section-heading--light h2 {
    color: #143967;
    text-shadow: 0 2px rgba(255, 255, 255, .84);
}

.section-heading--light p {
    color: #65768a;
}

.feature-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    margin-top: 45px;
}

.feature-card {
    --card-accent: #79d5f2;
    --card-glow: rgba(71, 180, 225, .28);
    position: relative;
    display: flex;
    grid-column: span 3;
    min-height: 340px;
    padding: 2px 13px 13px;
    overflow: visible;
    isolation: isolate;
    flex-direction: column;
    color: #17345b;
    border-width: 52px 28px 38px;
    border-style: solid;
    border-color: transparent;
    border-image-source: url("../ui-v3/feature-card-frame-v1.webp");
    border-image-slice: 165 115 145 115 fill;
    border-image-width: 52px 28px 38px;
    border-image-repeat: stretch;
    border-radius: 0;
    background: transparent;
    background-clip: padding-box;
    filter: drop-shadow(0 16px 20px rgba(25, 57, 82, .17));
    transition: filter .25s ease, transform .25s ease;
}

.feature-card:nth-child(n + 5) {
    grid-column: span 4;
}

.feature-card::before {
    content: none;
}

.feature-card::after {
    content: none;
}

.feature-card--guide { --card-accent: #76d9f5; --card-glow: rgba(79, 198, 237, .32); }
.feature-card--wiki { --card-accent: #a7a0ff; --card-glow: rgba(135, 121, 240, .3); }
.feature-card--member { --card-accent: #f1a7bd; --card-glow: rgba(220, 118, 154, .28); }
.feature-card--feature-forum { --card-accent: #5cc8ff; --card-glow: rgba(66, 177, 245, .4); }
.feature-card--download { --card-accent: #71dfc0; --card-glow: rgba(73, 196, 159, .3); }
.feature-card--sponsor { --card-accent: #f0c66e; --card-glow: rgba(227, 168, 64, .3); }
.feature-card--app { --card-accent: #c49cff; --card-glow: rgba(161, 111, 232, .3); }

.feature-card:hover {
    z-index: 1;
    filter: drop-shadow(0 20px 23px rgba(39, 111, 153, .25));
    transform: translateY(-4px);
}

.feature-card:focus-visible {
    outline: 2px solid #a7e9ff;
    outline-offset: 3px;
}

.feature-card__brand {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(100%, 244px);
    min-height: 84px;
    place-items: center;
    margin: 0 auto 8px;
}

.feature-card__brand::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 86%;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(ellipse, var(--card-glow), transparent 70%);
}

.feature-card__brand img {
    width: 100%;
    height: auto;
    max-height: 84px;
    object-fit: contain;
}

.feature-card > p {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    color: #317bad;
    font-size: .7rem;
    letter-spacing: .06em;
    text-align: center;
}

.feature-card ul {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-card li {
    padding: 3px 8px;
    color: #6b5f4d;
    border: 1px solid rgba(169, 124, 58, .24);
    border-radius: 999px;
    font-size: .68rem;
}

.feature-card > a {
    position: static;
    display: flex;
    width: 154px;
    min-height: 58px;
    margin: auto auto 0;
    padding: 14px 23px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #8b6226;
    background: url("../ui-v2/button-action-default-ivory-v1.webp") center / 100% 100% no-repeat;
    font-size: .8rem;
}

@media (hover: none) {
    .feature-card:hover {
        transform: none;
    }
}

.feature-card > a:hover,
.feature-card > a:focus-visible {
    color: #fff;
    outline: none;
    background-image: url("../ui-v2/button-action-active-blue-v1.webp");
}

.download-callout {
    position: relative;
    display: flex;
    width: min(1120px, calc(100% - 40px));
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: -16px auto 0;
    padding: 16px 28px;
    border-width: 28px 44px;
    border-style: solid;
    border-color: transparent;
    border-image-source: url("../ui-v2/article-row-default-v1.webp");
    border-image-slice: 82 120 82 120 fill;
    border-image-width: 28px 44px;
    border-image-repeat: stretch;
    border-radius: 0;
    background: transparent;
    background-clip: padding-box;
    filter: drop-shadow(0 18px 22px rgba(30, 63, 88, .18));
}

.download-callout span {
    color: #b17c30;
    font-family: Georgia, serif;
    font-size: .65rem;
    letter-spacing: .25em;
}

.download-callout h2 {
    margin: 3px 0;
    color: #173a65;
    font-family: var(--display-font);
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

.download-callout p {
    margin: 0;
    color: #756957;
    font-size: .83rem;
}

.download-callout__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 9px;
}

.download-callout__actions a,
.download-callout__actions button {
    display: grid;
    width: 176px;
    min-height: 68px;
    padding: 18px 28px;
    place-items: center;
    color: #6c4d20;
    border: 0;
    background: url("../ui-v2/button-action-default-ivory-v1.webp") center / 100% 100% no-repeat;
    cursor: pointer;
}

.download-callout__actions a:hover,
.download-callout__actions button:hover,
.download-callout__actions a:focus-visible,
.download-callout__actions button:focus-visible {
    color: #fff;
    outline: none;
    background-image: url("../ui-v2/button-action-active-blue-v1.webp");
}

.site-footer {
    padding: 80px 20px 40px;
    color: rgba(232, 244, 250, .78);
    border-top: 1px solid rgba(224, 187, 108, .45);
    background:
        radial-gradient(circle at 50% 0, rgba(72, 153, 194, .2), transparent 42%),
        linear-gradient(180deg, #0c3158, #082747 72%, #061e38);
    text-align: center;
}

.site-footer img {
    width: 100%;
    height: auto;
    margin: 0;
    filter: drop-shadow(0 7px 10px rgba(0, 0, 0, .35));
    transform-origin: center;
    animation: footer-logo-breathe 4.8s ease-in-out infinite;
    will-change: transform, filter;
}

.magic-logo--footer {
    width: 250px;
    margin: 0 auto 16px;
}

.magic-logo--footer .magic-logo__sheen {
    animation-duration: 6.8s;
    animation-delay: -2.1s;
}

.magic-logo--footer .magic-logo__spark {
    animation-duration: 5.2s;
}

@keyframes footer-logo-breathe {
    0%, 100% {
        filter: drop-shadow(0 7px 10px rgba(0, 0, 0, .35)) drop-shadow(0 0 0 rgba(139, 212, 255, 0));
        transform: scale(1);
    }

    50% {
        filter: brightness(1.045) drop-shadow(0 8px 12px rgba(0, 0, 0, .32)) drop-shadow(0 0 14px rgba(139, 212, 255, .34));
        transform: translate3d(0, -1px, 0) scale(1.02);
    }
}

.site-footer p {
    max-width: 650px;
    margin: 8px auto;
    font-size: .78rem;
}

.site-footer__legal {
    color: rgba(221, 239, 249, .42);
}

.login-dialog {
    width: min(440px, calc(100% - 32px));
    padding: 36px;
    color: #56452e;
    border: 1px solid #d0a45c;
    border-radius: 19px;
    background: linear-gradient(145deg, #fffdf5, #eadcc4);
    box-shadow: 0 30px 90px rgba(0, 19, 45, .52), inset 0 0 0 4px rgba(255, 255, 255, .75);
}

.login-dialog::backdrop {
    background: rgba(2, 22, 50, .7);
    backdrop-filter: blur(5px);
}

.login-dialog__ornament {
    position: absolute;
    top: 13px;
    right: 13px;
    bottom: 13px;
    left: 13px;
    border: 1px solid rgba(189, 145, 76, .38);
    border-radius: 12px;
    pointer-events: none;
}

.login-dialog__close {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    color: #806947;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 1.6rem;
}

.login-dialog__eyebrow {
    color: #b27e30;
    font: 700 .65rem Georgia, serif;
    letter-spacing: .25em;
}

.login-dialog h2 {
    margin: 5px 0;
    color: #173a65;
    font-family: var(--display-font);
    font-size: 2rem;
}

.login-dialog > p {
    margin: 0 0 20px;
    color: #7e7160;
    font-size: .82rem;
}

.login-dialog form {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 13px;
}

.login-dialog label {
    display: grid;
    gap: 5px;
    font-size: .78rem;
}

.login-dialog input {
    width: 100%;
    padding: 10px 12px;
    color: #203850;
    border: 1px solid #c7ac7e;
    border-radius: 8px;
    outline: none;
    background: rgba(255, 255, 255, .72);
}

.login-dialog input:focus {
    border-color: #3c9cd0;
    box-shadow: 0 0 0 3px rgba(68, 170, 218, .2);
}

.login-dialog form button {
    margin-top: 4px;
    padding: 11px;
    color: #fff;
    border: 1px solid #b7e9fb;
    border-radius: 999px;
    background: linear-gradient(180deg, #57bee9, #236bae);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .38);
    cursor: pointer;
}

.login-dialog__links {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 17px;
    font-size: .75rem;
}

.login-dialog__links a:hover,
.login-dialog__links a:focus-visible {
    color: #1878b7;
    outline: none;
    text-decoration: underline;
}

.toast {
    position: fixed;
    z-index: 100;
    right: 24px;
    bottom: 24px;
    max-width: min(360px, calc(100% - 48px));
    padding: 12px 18px;
    color: #fff;
    border: 1px solid rgba(157, 225, 255, .78);
    border-radius: 10px;
    background: rgba(7, 52, 99, .94);
    box-shadow: 0 15px 35px rgba(1, 20, 44, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .2s ease, visibility .2s, transform .2s ease;
}

.toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero.is-motion-paused .sparkles i,
.hero.is-motion-paused .hero-atmosphere__light,
.reduced-effects .sparkles i,
.reduced-effects .hero-atmosphere__light {
    animation-play-state: paused;
}

.hero.is-motion-paused .hero__art,
.hero.is-motion-paused .hero__art::after,
.hero.is-motion-paused .hero-character-motion__motes,
.hero.is-motion-paused .magic-logo__image,
.hero.is-motion-paused .magic-logo__sheen,
.hero.is-motion-paused .magic-logo__spark {
    animation-play-state: paused;
}

.reduced-effects .hero-atmosphere__light {
    opacity: .08;
}

.reduced-effects .hero__art,
.reduced-effects .hero__art::after,
.reduced-effects .hero-character-motion,
.reduced-effects .magic-logo__image,
.reduced-effects .world-intro::after {
    animation: none;
}

.reduced-effects .magic-logo__sheen,
.reduced-effects .magic-logo__spark {
    display: none;
}

.reduced-effects .hero-character-motion {
    display: none;
}

@media (max-width: 1544px) {
    .nav-item--guide { --nav-scale: 1.03; --nav-y: -1px; }
    .nav-item--wiki { --nav-scale: 1.03; --nav-y: -4px; }
    .nav-item--member { --nav-scale: 1.03; --nav-y: -2px; }
    .nav-item--forum { --nav-scale: clamp(1.1, calc(1.1 + (100vw - 1024px) * .0002), 1.2); --nav-y: -6px; }
    .nav-item--download { --nav-scale: 1.03; --nav-y: 1px; }
    .nav-item--sponsor { --nav-scale: 1; --nav-y: -2px; }
    .nav-item--app { --nav-scale: 1.02; --nav-y: 2px; }
}

@media (max-width: 1260px) {
    .main-nav {
        width: calc(100% - 220px);
    }

    .hero__tagline-plaque {
        margin-top: 4px;
    }

    .floating-portal {
        top: 93px;
        width: auto;
    }

    .floating-portal__button {
        display: flex;
        min-width: 112px;
        min-height: 44px;
        aspect-ratio: auto;
        align-items: center;
        justify-content: center;
        padding: 9px 13px 8px 34px;
        color: #fff8e5;
        border: 1px solid #f0d294;
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(51, 126, 185, .98), rgba(8, 52, 104, .98));
        box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .12), 0 8px 17px rgba(6, 35, 70, .24);
    }

    .floating-portal--sponsor .floating-portal__button {
        color: #6a3d2e;
        background: linear-gradient(180deg, rgba(255, 224, 216, .98), rgba(225, 123, 123, .98));
    }

    .floating-portal__button::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 16px;
        width: 13px;
        height: 13px;
        border: 1px solid #ffe7aa;
        background: #4ac1ef;
        box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .28), 0 0 8px rgba(87, 205, 255, .48);
        transform: translateY(-50%) rotate(45deg);
    }

    .floating-portal--sponsor .floating-portal__button::before {
        background: #f59b9f;
    }

    .floating-portal__art {
        display: none;
    }

    .floating-portal__title {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        margin: 0;
        font-size: .8rem;
        text-shadow: 0 1px 3px rgba(4, 26, 56, .48);
    }

    .floating-portal .qr-placeholder,
    .floating-portal__hint {
        display: none;
    }

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

    .feature-grid > .feature-card {
        grid-column: auto;
    }

    .feature-card:nth-child(7) {
        grid-column: 1 / -1;
        width: min(100%, 390px);
        justify-self: center;
    }
}

@media (max-width: 960px) {
    .hero {
        min-height: max(720px, 100svh);
    }

    .main-nav {
        width: calc(100% - 40px);
    }

    .floating-portal {
        top: 93px;
        width: auto;
    }

    .floating-portal--sponsor { left: 14px; }
    .floating-portal--support { right: 14px; }

    .floating-portal__button {
        display: flex;
        min-width: 105px;
        align-items: center;
        justify-content: center;
        padding: 9px 10px 8px 34px;
        border-radius: 999px;
    }

    .mini-slime {
        top: 50%;
        left: 18px;
        width: 42px;
        height: 29px;
        transform: translate(-50%, -50%);
        animation: none;
    }

    .mini-slime i {
        top: 16px;
        width: 9px;
    }

    .mini-slime i:first-child { left: 9px; }
    .mini-slime i:last-child { right: 9px; }

    .floating-portal__title {
        margin: 0;
        font-size: .78rem;
    }

    .qr-placeholder,
    .floating-portal__hint {
        display: none;
    }

    .hero__content {
        top: 125px;
        width: min(580px, 65vw);
    }

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

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

    .feature-card:nth-child(7) {
        grid-column: 1 / -1;
    }

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

@media (max-width: 720px) {
    .hero-character-motion__motes {
        inset: 46% 4% 4%;
        opacity: .2;
    }

    .return-home {
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        padding: 9px 14px 8px 34px;
        font-size: .76rem;
    }

    .return-home::before {
        left: 11px;
        width: 17px;
        height: 17px;
    }

    html {
        scroll-padding-top: 12px;
    }

    .hero {
        min-height: max(760px, 100svh);
    }

    .hero__art img {
        object-position: center center;
        transform: none;
    }

    .hero__veil {
        background:
            linear-gradient(180deg, rgba(4, 37, 79, .32) 0%, rgba(9, 57, 104, .02) 38%, rgba(4, 26, 49, .16) 100%),
            radial-gradient(circle at 50% 17%, rgba(255, 255, 255, .22), transparent 30%);
    }

    .main-nav {
        position: fixed;
        z-index: 60;
        top: 14px;
        left: auto;
        right: 14px;
        width: auto;
        transform: none;
    }

    .main-nav__toggle {
        position: relative;
        z-index: 2;
        display: grid;
        width: 46px;
        height: 46px;
        place-content: center;
        gap: 5px;
        cursor: pointer;
        border: 1px solid #f1d594;
        border-radius: 50%;
        background: rgba(255, 250, 233, .92);
        box-shadow: inset 0 0 0 3px rgba(167, 117, 40, .35), 0 8px 20px rgba(5, 39, 76, .25);
    }

    .main-nav__toggle span:not(.sr-only) {
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: #765224;
        transition: transform .2s ease, opacity .2s ease;
    }

    .main-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .main-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .main-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .main-nav__list {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        display: flex;
        width: min(350px, 88vw);
        padding: 82px 22px 28px;
        overflow-y: auto;
        flex-direction: column;
        gap: 10px;
        background:
            radial-gradient(circle at 100% 0, rgba(87, 185, 229, .3), transparent 30%),
            linear-gradient(160deg, rgba(5, 43, 88, .985), rgba(2, 22, 52, .99));
        box-shadow: -18px 0 48px rgba(0, 16, 40, .38);
        opacity: 0;
        visibility: hidden;
        transform: translateX(105%);
        transition: opacity .25s ease, visibility .25s, transform .25s ease;
    }

    .menu-open .main-nav__list {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-button {
        min-height: 64px;
        justify-content: flex-start;
        padding: 0;
    }

    .nav-button img {
        width: 100%;
        height: 64px;
    }

    .nav-dropdown {
        position: static;
        width: auto;
        max-height: 0;
        padding: 0 12px;
        overflow: hidden;
        color: rgba(228, 242, 251, .84);
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: hidden;
        transform: none;
        transition: max-height .25s ease, padding .25s ease;
    }

    .nav-dropdown::before,
    .nav-dropdown p {
        display: none;
    }

    .nav-item.is-submenu-open .nav-dropdown {
        max-height: 280px;
        padding-block: 5px;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown a {
        padding: 7px 13px;
        font-size: .82rem;
    }

    .floating-portal {
        position: fixed;
        z-index: 15;
        top: 72px;
    }

    .floating-portal--sponsor { left: 12px; }
    .floating-portal--support { right: 12px; }

    .floating-portal__button {
        min-width: 98px;
        padding-left: 29px;
        backdrop-filter: none;
    }

    .hero__content {
        top: clamp(116px, 15svh, 158px);
        width: min(92vw, 480px);
    }

    .magic-logo--hero {
        width: min(87vw, 450px);
    }

    .hero__tagline-plaque {
        width: min(90vw, 430px);
        margin: -3px 0 10px;
    }

    .hero__actions {
        gap: 8px;
    }

    .hero-button {
        width: min(42vw, 190px);
        height: auto;
        min-width: 0;
        aspect-ratio: 864 / 320;
        padding: 9px 22px;
    }

    .hero-button span {
        font-size: 1.06rem;
    }

    .hero__scroll {
        bottom: 18px;
    }

    .world-intro {
        width: calc(100% - 28px);
        padding-top: 52px;
    }

    .world-intro__brand {
        margin-bottom: 8px;
    }

    .world-intro__logo {
        width: min(82vw, 320px);
    }

    .world-intro__tagline-plaque {
        width: min(92vw, 440px);
        margin-top: 0;
    }

    .world-intro .section-heading__eyebrow {
        display: block;
        padding-inline: 8px;
        font-size: .72rem;
        letter-spacing: .12em;
    }

    .section-heading h1,
    .section-heading h2 {
        font-size: 1.85rem;
        letter-spacing: .04em;
    }

    .content-rail {
        width: calc(100% - 24px);
    }

    .parchment-panel {
        padding: 4px 12px 14px;
        border-width: 52px 30px 38px;
        border-image-width: 52px 30px 38px;
    }

    .panel-heading {
        grid-template-columns: auto 1fr;
    }

    .panel-heading > a {
        display: none;
    }

    .loot-broadcast {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 5px;
        padding: 10px 8px;
    }

    .loot-broadcast__pin,
    .loot-broadcast__pulse {
        display: none;
    }

    .loot-broadcast p {
        font-size: .72rem;
    }

    .article-entry,
    .forum-entry {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 7px;
        min-height: 60px;
        padding-inline: 3px;
        border-width: 12px 17px;
        border-image-width: 12px 17px;
    }

    .article-list time {
        display: none;
    }

    .forum-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
    }

    .forum-tabs button {
        min-width: 0;
        padding-inline: 6px;
    }

    .reply-count {
        display: none;
    }

    .showcase {
        padding-bottom: 86px;
    }

    .showcase-stage {
        width: 100%;
        max-width: 520px;
        height: auto;
        min-height: 0;
        aspect-ratio: 991 / 1362;
        margin-inline: auto;
    }

    .showcase-stage__viewport {
        inset: 8.5% 5.4% 9.4%;
        border-radius: 14px;
    }

    .showcase-slide__image {
        background-image:
            linear-gradient(0deg, rgba(214, 237, 246, .3), rgba(226, 245, 250, .03) 64%),
            url("../images/hero-mobile-clean-v1.webp");
        background-position: center 56%;
    }

    .showcase-slide__copy {
        top: auto;
        right: 20px;
        bottom: 66px;
        left: 20px;
        width: auto;
        padding: 16px 17px 14px;
        transform: none;
    }

    .showcase-slide__copy h3 {
        font-size: 1.75rem;
    }

    .carousel-controls {
        right: 18px;
        bottom: 16px;
    }

    .feature-world {
        padding: 80px 12px 100px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-grid > .feature-card,
    .feature-card:nth-child(7) {
        grid-column: auto;
        width: 100%;
    }

    .feature-card {
        min-height: 300px;
        padding: 1px 12px 13px;
        border-width: 48px 25px 36px;
        border-image-width: 48px 25px 36px;
    }

    .feature-card__brand {
        width: min(100%, 224px);
        min-height: 72px;
    }

    .feature-card__brand img {
        max-height: 72px;
    }

    .download-callout {
        width: calc(100% - 24px);
        margin-top: 0;
        padding: 12px 14px 18px;
        border-width: 24px 25px;
        border-image-width: 24px 25px;
    }

    .download-callout__actions {
        width: 100%;
        flex-direction: column;
    }

    .download-callout__actions a,
    .download-callout__actions button {
        width: 100%;
        text-align: center;
    }

    .site-footer {
        padding: 70px 20px calc(96px + env(safe-area-inset-bottom, 0px));
    }

    .login-dialog {
        padding: 30px 23px;
    }
}

@media (max-width: 1024px) {
    body.menu-open::before {
        content: "";
        position: fixed;
        z-index: 55;
        inset: 0;
        background: rgba(2, 20, 45, .48);
        backdrop-filter: blur(2px);
    }

    .nav-item--guide { --nav-scale: .85; --nav-y: -1px; }
    .nav-item--wiki { --nav-scale: 1.03; --nav-y: -5px; }
    .nav-item--member { --nav-scale: .92; --nav-y: -2px; }
    .nav-item--forum { --nav-scale: 1.18; --nav-y: -7px; }
    .nav-item--download { --nav-scale: .86; --nav-y: 1px; }
    .nav-item--sponsor { --nav-scale: 1.04; --nav-y: -3px; }
    .nav-item--app { --nav-scale: .9; --nav-y: 2px; }

    .nav-item__primary {
        grid-template-columns: minmax(0, 1fr) 40px;
        gap: 5px;
        min-height: 84px;
    }

    .nav-button {
        width: 100%;
        height: 84px;
        min-height: 84px;
    }

    .nav-button img {
        height: 72px;
    }

    .nav-submenu-toggle {
        display: grid;
        width: 38px;
        height: 38px;
        place-items: center;
        padding: 0;
        cursor: pointer;
        color: #f8dda0;
        border: 1px solid rgba(237, 208, 143, .7);
        border-radius: 50%;
        background: rgba(26, 86, 139, .72);
        box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12);
        transition: color .2s ease, background .2s ease, transform .2s ease;
    }

    .nav-submenu-toggle > span[aria-hidden="true"] {
        font-size: 1.25rem;
        line-height: 1;
        transform: translateY(-2px);
        transition: transform .2s ease;
    }

    .nav-submenu-toggle:hover,
    .nav-submenu-toggle:focus-visible,
    .nav-item.is-submenu-open .nav-submenu-toggle {
        color: #fff;
        outline: 2px solid rgba(217, 248, 255, .92);
        outline-offset: 2px;
        background: #2b95cf;
    }

    .nav-item.is-submenu-open .nav-submenu-toggle > span[aria-hidden="true"] {
        transform: translateY(2px) rotate(180deg);
    }

    .nav-item.is-submenu-open .nav-dropdown {
        max-height: 300px;
        padding-block: 5px;
        visibility: visible;
        transform: none;
    }
}

@media (min-width: 721px) and (max-width: 1024px) {
    .main-nav {
        position: fixed;
        z-index: 60;
        top: 14px;
        right: 14px;
        left: auto;
        width: auto;
        transform: none;
    }

    .main-nav__toggle {
        position: relative;
        z-index: 2;
        display: grid;
        width: 48px;
        height: 48px;
        place-content: center;
        gap: 5px;
        cursor: pointer;
        border: 1px solid #f1d594;
        border-radius: 50%;
        background: rgba(255, 250, 233, .94);
        box-shadow: inset 0 0 0 3px rgba(167, 117, 40, .35), 0 8px 20px rgba(5, 39, 76, .25);
    }

    .main-nav__toggle span:not(.sr-only) {
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: #765224;
        transition: transform .2s ease, opacity .2s ease;
    }

    .main-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .main-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .main-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .main-nav__list {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        display: flex;
        width: min(370px, 76vw);
        padding: 78px 22px 28px;
        overflow-y: auto;
        overscroll-behavior: contain;
        flex-direction: column;
        gap: 7px;
        background:
            radial-gradient(circle at 100% 0, rgba(87, 185, 229, .3), transparent 30%),
            linear-gradient(160deg, rgba(5, 43, 88, .99), rgba(2, 22, 52, .995));
        box-shadow: -18px 0 48px rgba(0, 16, 40, .38);
        opacity: 0;
        visibility: hidden;
        transform: translateX(105%);
        transition: opacity .25s ease, visibility .25s, transform .25s ease;
    }

    .menu-open .main-nav__list {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-dropdown {
        position: static;
        width: auto;
        max-height: 0;
        padding: 0 12px;
        overflow: hidden;
        color: rgba(228, 242, 251, .84);
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: hidden;
        transform: none;
        transition: max-height .25s ease, padding .25s ease;
    }

    .nav-dropdown::before,
    .nav-dropdown p {
        display: none;
    }

    .nav-dropdown a {
        padding: 7px 13px;
        font-size: .82rem;
    }

    .floating-portal {
        top: 78px;
        width: auto;
    }

    .floating-portal__button {
        display: flex;
        min-width: 105px;
        align-items: center;
        justify-content: center;
        padding: 9px 10px 8px 34px;
        border-radius: 999px;
    }

    .floating-portal .mini-slime {
        top: 50%;
        left: 18px;
        width: 42px;
        height: 29px;
        transform: translate(-50%, -50%);
        animation: none;
    }

    .floating-portal .mini-slime i {
        top: 16px;
        width: 9px;
    }

    .floating-portal .mini-slime i:first-child { left: 9px; }
    .floating-portal .mini-slime i:last-child { right: 9px; }

    .floating-portal__title {
        margin: 0;
        font-size: .78rem;
    }

    .floating-portal .qr-placeholder,
    .floating-portal__hint {
        display: none;
    }
}

@media (max-width: 390px) {
    .floating-portal__button {
        min-width: 86px;
        padding-right: 7px;
        font-size: .72rem;
    }

    .hero__actions {
        width: 88%;
        flex-direction: column;
    }

    .hero-button {
        width: 100%;
        height: auto;
        aspect-ratio: 864 / 320;
        padding: 10px 28px;
    }

    .hero-button span {
        font-size: 1.08rem;
    }

    .hero__tagline-plaque {
        margin-bottom: 9px;
    }
}

@media (min-width: 1025px) {
    .main-nav {
        width: min(1260px, calc(100% - 80px));
    }

    .main-nav__list {
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: clamp(6px, .55vw, 9px);
    }

    .nav-item {
        min-width: 0;
    }

    .nav-button {
        width: 100%;
    }

    .nav-button img {
        pointer-events: none;
    }

    .nav-item--wiki {
        --nav-scale: 1.09;
        --nav-y: -4px;
    }

    .nav-item--forum {
        --nav-scale: 1.20;
        --nav-y: -5px;
    }

    .nav-item--download {
        --nav-scale: 1.06;
    }

    .nav-item--sponsor {
        --nav-scale: 1.05;
        --nav-y: -3px;
    }
}

@media (min-width: 1360px) {
    .nav-item--wiki {
        --nav-scale: 1.10;
    }

    .nav-item--forum {
        --nav-scale: 1.25;
    }

    .nav-item--download {
        --nav-scale: 1.07;
    }

    .nav-item--sponsor {
        --nav-scale: 1.09;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .hero__art,
    .hero__art::after,
    .hero-character-motion,
    .magic-logo--hero,
    .magic-logo__image,
    .magic-logo__sheen,
    .magic-logo__spark,
    .world-intro::after {
        animation: none !important;
    }

    .magic-logo__sheen,
    .magic-logo__spark,
    .hero-character-motion {
        display: none;
    }

    .hero__art,
    .hero__art img,
    .magic-logo__image {
        transform: none !important;
    }
}
