:root {
    --wr-paper: #f3eee6;
    --wr-surface: #fffdf8;
    --wr-ink: #183f40;
    --wr-rose: #b83f58;
    --wr-rose-dark: #9a3048;
    --wr-muted: #6d615a;
    --wr-rule: rgba(24, 63, 64, 0.18);
    --wr-rule-strong: rgba(24, 63, 64, 0.34);
    --wr-focus: #9a3048;
    --wr-font-display: "Noto Serif TC", "Songti TC", serif;
    --wr-font-body: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --wr-font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", monospace;
    --wr-radius-sm: 6px;
    --wr-radius-md: 12px;
    --wr-shadow-paper: 0 18px 45px rgba(24, 63, 64, 0.11);
    --wr-nav-height: 64px;
    --wr-nav-shell-height: calc(var(--wr-nav-height) + env(safe-area-inset-top, 0px));
    --wr-motion-micro: 180ms;
    --wr-motion-action: 300ms;
    --wr-motion-route: 720ms;
    --wr-ease-glide: cubic-bezier(0.16, 1, 0.3, 1);
    --wr-ease-spring: cubic-bezier(0.34, 1.35, 0.64, 1);

    /* Backward-compatible aliases used by existing public templates. */
    --primary-color: var(--wr-rose);
    --primary-hover: var(--wr-rose-dark);
    --secondary-color: var(--wr-muted);
    --accent-color: var(--wr-rose);
    --text-main: var(--wr-ink);
    --text-muted: var(--wr-muted);
    --bg-body: var(--wr-paper);
    --bg-white: var(--wr-surface);
    --surface-paper: var(--wr-surface);
    --rule-color: var(--wr-rule);
    --shadow-sm: 0 5px 16px rgba(24, 63, 64, 0.06);
    --shadow-md: 0 12px 28px rgba(24, 63, 64, 0.08);
    --shadow-lg: var(--wr-shadow-paper);
    --radius-sm: var(--wr-radius-sm);
    --radius-md: var(--wr-radius-md);
    --radius-lg: var(--wr-radius-md);
    --bs-primary: var(--wr-rose);
    --bs-secondary: var(--wr-muted);
    --bs-body-bg: var(--wr-paper);
    --bs-body-color: var(--wr-ink);
}

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

html {
    min-width: 320px;
    scroll-padding-top: calc(var(--wr-nav-shell-height) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    margin: 0;
    overflow-x: clip;
    color: var(--wr-ink);
    background: var(--wr-paper);
    font-family: var(--wr-font-body);
    font-size: 1rem;
    font-synthesis: none;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
    font-family: var(--wr-font-body);
}

img,
svg {
    max-width: 100%;
}

.wr-motion-icon {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wr-arrow-icon {
    transition: transform var(--wr-motion-action) var(--wr-ease-glide);
}

.wr-arrow-icon__shaft {
    stroke-dasharray: 15;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset var(--wr-motion-action) var(--wr-ease-glide);
}

:where(.btn-primary-custom, .wr-primary-action, .wr-secondary-action, .wr-inline-link):focus-visible .wr-arrow-icon {
    transform: translateX(3px);
}

:where(.btn-primary-custom, .wr-primary-action, .wr-secondary-action, .wr-inline-link):focus-visible .wr-arrow-icon__shaft {
    stroke-dashoffset: -1.5;
}

@media (hover: hover) {
    :where(.btn-primary-custom, .wr-primary-action, .wr-secondary-action, .wr-inline-link):hover .wr-arrow-icon {
        transform: translateX(3px);
    }

    :where(.btn-primary-custom, .wr-primary-action, .wr-secondary-action, .wr-inline-link):hover .wr-arrow-icon__shaft {
        stroke-dashoffset: -1.5;
    }
}

.container {
    width: 100%;
    max-width: 1140px;
    margin-inline: auto;
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
}

.sticky-top {
    position: sticky;
    top: 0;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-grow-1 {
    flex-grow: 1;
}

.collapse:not(.show) {
    display: none;
}

.collapsing {
    height: 0;
    overflow: hidden;
}

.bi {
    display: inline-block;
    width: 1em;
    font-style: normal;
    line-height: 1;
    text-align: center;
}

.bi-arrow-right::before {
    content: "→";
}

.bi-arrow-up-right::before {
    content: "↗";
}

.bi-arrow-left::before {
    content: "←";
}

a {
    color: var(--wr-rose-dark);
    text-underline-offset: 0.22em;
}

a,
button,
input,
select,
textarea,
[tabindex]:not([tabindex="-1"]) {
    -webkit-tap-highlight-color: rgba(184, 63, 88, 0.16);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--wr-focus);
    outline-offset: 3px;
}

::selection {
    color: var(--wr-surface);
    background: var(--wr-ink);
}

.wr-public-page :where(h1, h2, h3) {
    color: var(--wr-ink);
    font-family: var(--wr-font-body);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.wr-public-page :where(p, li) {
    text-wrap: pretty;
}

.wr-mono,
[data-ticket-number] {
    font-family: var(--wr-font-mono);
    font-variant-numeric: tabular-nums;
}

.text-primary-custom {
    color: var(--wr-rose-dark) !important;
}

.fw-medium {
    font-weight: 500;
}

.wr-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2000;
    min-height: 44px;
    padding: 9px 14px;
    border-radius: var(--wr-radius-sm);
    color: #fff;
    background: var(--wr-ink);
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-160%);
}

.wr-skip-link:focus {
    transform: translateY(0);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: var(--wr-nav-shell-height);
    padding: env(safe-area-inset-top, 0px) 0 0;
    border-bottom: 1px solid var(--wr-rule);
    background: rgba(243, 238, 230, 0.96) !important;
}

.navbar > .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: var(--wr-nav-height);
}

.navbar > .wr-navbar-container {
    max-width: 1280px;
}

.navbar-brand {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--wr-ink) !important;
    text-decoration: none;
}

.navbar-brand img {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    object-fit: contain;
}

.navbar-brand b {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0;
}

.navbar-toggler {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 7px;
    place-items: center;
    border: 1px solid var(--wr-rule-strong);
    border-radius: var(--wr-radius-sm);
    box-shadow: none !important;
}

.navbar-toggler-icon {
    position: relative;
    display: block;
    width: 1.5rem;
    height: 2px;
    border: 0;
    background: var(--wr-ink);
    background-image: none !important;
    transition: background-color var(--wr-motion-micro) ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--wr-ink);
    content: "";
    transform-origin: center;
    transition: transform var(--wr-motion-micro) var(--wr-ease-glide);
}

.navbar-toggler-icon::before {
    transform: translateY(-7px);
}

.navbar-toggler-icon::after {
    transform: translateY(7px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: translateY(-50%) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: translateY(-50%) rotate(-45deg);
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    min-width: 0;
}

.wr-mobile-nav-toolbar {
    display: none;
}

.wr-mobile-nav-close {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 8px 10px;
    border: 1px solid var(--wr-rule-strong);
    border-radius: var(--wr-radius-sm);
    color: var(--wr-ink);
    background: var(--wr-surface);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.wr-mobile-nav-close-icon {
    position: relative;
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

.wr-mobile-nav-close-icon::before,
.wr-mobile-nav-close-icon::after {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 2px;
    background: currentColor;
    content: "";
}

.wr-mobile-nav-close-icon::before {
    transform: translateY(-50%) rotate(45deg);
}

.wr-mobile-nav-close-icon::after {
    transform: translateY(-50%) rotate(-45deg);
}

.navbar-nav {
    display: flex;
    min-width: 0;
    margin: 0;
    padding-left: 0;
    flex-direction: column;
    list-style: none;
}

.nav-link {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin: 0 1px;
    padding: 10px 11px !important;
    color: var(--wr-ink) !important;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link::after {
    position: absolute;
    right: 11px;
    bottom: 6px;
    left: 11px;
    height: 1px;
    background: currentColor;
    content: "";
    opacity: 0;
    transform: scaleX(0.45);
    transition:
        opacity var(--wr-motion-micro) ease,
        transform var(--wr-motion-action) var(--wr-ease-glide);
}

.nav-link:hover,
.nav-link.active {
    color: var(--wr-rose-dark) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    opacity: 0.9;
    transform: scaleX(1);
}

.wr-user-menu-toggle::after,
.wr-nav-login::after {
    display: none;
}

.wr-nav-game-link {
    gap: 0.45rem;
    color: var(--wr-rose-dark) !important;
    font-weight: 700;
    white-space: nowrap;
}

.wr-nav-game-icon {
    width: 1.25rem;
    height: 1.075rem;
    flex: 0 0 auto;
    overflow: visible;
    transform-box: fill-box;
    transform-origin: 55% 75%;
}

.wr-nav-game-icon__cap {
    fill: var(--wr-rose);
    stroke: var(--wr-rose-dark);
    stroke-linejoin: round;
    stroke-width: 0.7;
    vector-effect: non-scaling-stroke;
}

.wr-nav-game-icon__trim {
    fill: var(--wr-paper);
    stroke: var(--wr-rose-dark);
    stroke-width: 0.65;
    vector-effect: non-scaling-stroke;
}

.dropdown {
    position: relative;
}

.wr-user-menu-toggle {
    max-width: 11rem;
    gap: 0.25rem;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.wr-user-menu-label {
    display: block;
    min-width: 0;
    max-width: 8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wr-dropdown-caret {
    margin-left: 0.25rem;
    color: var(--wr-muted);
    font-size: 1rem;
    line-height: 1;
}

.dropdown-menu {
    display: none;
    min-width: 12rem;
    margin: 0;
    padding: 0.4rem;
    border: 1px solid var(--wr-rule);
    border-radius: var(--wr-radius-sm);
    background: var(--wr-surface);
    box-shadow: var(--shadow-md);
    list-style: none;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    padding: 10px 16px;
    border: 0;
    color: var(--wr-ink);
    background: transparent;
    font-size: 0.9rem;
    text-align: left;
    text-decoration: none;
}

.dropdown-item:active,
.dropdown-item:hover {
    color: var(--wr-ink);
    background: rgba(24, 63, 64, 0.07);
}

.wr-logout-form {
    margin: 0;
}

.btn-primary-custom,
.btn-outline-primary {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--wr-radius-sm);
    box-shadow: 0 2px 0 rgba(24, 63, 64, 0.16);
    font-weight: 700;
    text-decoration: none;
    transition:
        color var(--wr-motion-micro) ease,
        background-color var(--wr-motion-micro) ease,
        border-color var(--wr-motion-micro) ease,
        box-shadow var(--wr-motion-micro) ease,
        transform var(--wr-motion-action) var(--wr-ease-spring);
}

.btn-primary-custom {
    border: 1px solid var(--wr-rose);
    color: #fff;
    background: var(--wr-rose);
}

.btn-primary-custom:hover,
.btn-primary-custom:focus-visible {
    border-color: var(--wr-rose-dark);
    color: #fff;
    background: var(--wr-rose-dark);
}

.btn-outline-primary {
    border: 1px solid var(--wr-rose-dark);
    color: var(--wr-rose-dark);
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
    border-color: var(--wr-rose-dark);
    color: #fff;
    background: var(--wr-rose-dark);
}

.btn-primary-custom:active,
.btn-outline-primary:active {
    box-shadow: 0 0 0 rgba(24, 63, 64, 0);
    transform: translateY(1px) scale(0.985);
}

@media (hover: hover) {
    .btn-primary-custom:hover,
    .btn-outline-primary:hover {
        box-shadow: 0 4px 0 rgba(24, 63, 64, 0.13);
        transform: translateY(-1px);
    }
}

.wr-nav-cta {
    min-height: 44px;
    padding: 8px 14px;
    font-size: 0.875rem;
    white-space: nowrap;
}

.accordion-button {
    display: flex;
    width: 100%;
    align-items: center;
    border: 0;
    text-align: left;
}

.accordion-collapse.show {
    display: block;
}

.hero-section {
    position: relative;
    overflow: clip;
    background: transparent;
}

.hero-section::before,
.hero-section::after {
    display: none;
}

.section-title {
    color: var(--wr-ink);
    font-family: var(--wr-font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    text-align: left;
}

.card {
    overflow: hidden;
    border: 1px solid var(--wr-rule);
    border-radius: var(--wr-radius-md);
    background: var(--wr-surface);
    box-shadow: none;
}

.form-label {
    margin-bottom: 6px;
    color: var(--wr-ink);
    font-size: 0.9rem;
    font-weight: 700;
}

.form-control,
.form-select {
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid var(--wr-rule-strong);
    border-radius: var(--wr-radius-sm);
    color: var(--wr-ink);
    background: var(--wr-surface);
    font-size: 1rem;
    transition: border-color 140ms ease, box-shadow 140ms ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--wr-rose-dark);
    color: var(--wr-ink);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(154, 48, 72, 0.18);
}

.form-control::placeholder {
    color: var(--wr-muted);
    opacity: 1;
}

.alert {
    position: relative;
    min-height: 48px;
    padding: 10px 52px 10px 14px;
    border-style: solid;
    border-width: 1px;
    border-radius: var(--wr-radius-sm);
    color: var(--wr-ink);
    background: var(--wr-surface);
    font-size: 0.94rem;
}

.alert-success {
    border-color: rgba(24, 63, 64, 0.4);
}

.alert-danger,
.alert-error {
    border-color: rgba(154, 48, 72, 0.55);
}

.btn-close {
    position: absolute;
    top: 50%;
    right: 4px;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 0;
    color: var(--wr-ink);
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    opacity: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.btn-close span {
    display: block;
}

.wr-flash-stack {
    position: relative;
    z-index: 20;
    padding-top: 16px;
}

.wr-prelaunch-banner {
    border-bottom: 1px solid var(--wr-rule-strong);
    color: var(--wr-ink);
    background: #f8dfae;
}

.wr-prelaunch-banner .container {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 12px;
    padding-block: 8px;
    font-size: 0.875rem;
    line-height: 1.55;
}

.wr-prelaunch-banner strong {
    flex: 0 0 auto;
    font-family: var(--wr-font-body);
    font-size: 0.875rem;
    letter-spacing: 0;
}

.wr-prelaunch-banner span {
    flex: 1 1 auto;
}

.wr-prelaunch-banner a {
    flex: 0 0 auto;
    min-height: 44px;
    align-content: center;
    color: inherit;
    font-weight: 700;
    text-underline-offset: 0.22em;
}

.wr-site-footer {
    margin-top: auto;
    padding: 40px 0 max(24px, env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--wr-surface);
    background: var(--wr-ink);
}

.wr-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    align-items: start;
    gap: 32px;
}

.wr-footer-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}

.wr-footer-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    color: #fff !important;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
}

.wr-footer-main p {
    max-width: 35rem;
    margin: 10px 0 0;
    color: rgba(255, 253, 248, 0.72);
    font-size: 0.9375rem;
}

.wr-footer-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    gap: 8px 16px;
}

.wr-footer-links a {
    justify-content: flex-start;
}

.wr-footer-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-top: 22px;
    margin-bottom: 0;
    font-style: normal;
}

.wr-site-footer .wr-footer-contact-link {
    min-width: 0;
    gap: 13px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--wr-radius-md);
    background: rgba(255, 253, 248, 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition:
        border-color var(--wr-motion-micro) ease,
        background-color var(--wr-motion-micro) ease,
        transform var(--wr-motion-action) var(--wr-ease-glide);
}

.wr-footer-contact-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: #fff;
    background: rgba(184, 63, 88, 0.2);
    transition:
        background-color var(--wr-motion-micro) ease,
        transform var(--wr-motion-action) var(--wr-ease-spring);
}

.wr-footer-channel-svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wr-footer-channel-svg__dot {
    fill: currentColor;
    stroke: none;
}

.wr-footer-contact-copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    line-height: 1.35;
}

.wr-footer-contact-copy small {
    color: rgba(255, 253, 248, 0.58);
    font-family: var(--wr-font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.wr-footer-contact-copy strong {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.wr-footer-contact-arrow {
    flex: 0 0 auto;
    margin-left: auto;
    color: rgba(255, 253, 248, 0.52);
    font-size: 1.05rem;
    line-height: 1;
    transition:
        color var(--wr-motion-micro) ease,
        transform var(--wr-motion-action) var(--wr-ease-glide);
}

.wr-site-footer .wr-footer-contact-link:focus-visible {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 253, 248, 0.09);
}

.wr-site-footer a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: rgba(255, 253, 248, 0.86) !important;
    text-underline-offset: 0.25em;
}

.wr-site-footer a:hover {
    color: #fff !important;
}

@media (hover: hover) {
    .wr-site-footer .wr-footer-contact-link:hover {
        border-color: rgba(255, 255, 255, 0.32);
        background: rgba(255, 253, 248, 0.085);
        transform: translateY(-2px);
    }

    .wr-footer-contact-link:hover .wr-footer-contact-icon {
        background: rgba(184, 63, 88, 0.38);
        transform: rotate(-3deg) scale(1.04);
    }

    .wr-footer-contact-link:hover .wr-footer-contact-arrow {
        color: #fff;
        transform: translate(2px, -2px);
    }
}

.wr-footer-meta {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 253, 248, 0.66);
    font-size: 0.875rem;
}

@media (max-width: 1199.98px) {
    :root[data-wr-menu-open],
    :root[data-wr-menu-open] body {
        overflow: hidden;
        overscroll-behavior: none;
    }

    .navbar {
        height: var(--wr-nav-shell-height);
    }

    :root[data-wr-menu-open] .navbar {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
    }

    .navbar > .container {
        height: var(--wr-nav-height);
        flex-wrap: nowrap;
    }

    .navbar-collapse {
        position: fixed;
        z-index: 1029;
        top: var(--wr-nav-shell-height);
        right: 0;
        bottom: 0;
        left: 0;
        height: auto;
        max-height: none;
        margin: 0;
        padding: 0 max(1rem, env(safe-area-inset-right, 0px)) max(18px, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
        overflow-y: auto;
        border-top: 1px solid var(--wr-rule);
        border-bottom: 0;
        background: var(--wr-paper);
        box-shadow: none;
        overscroll-behavior: contain;
    }

    .wr-mobile-nav-toolbar {
        position: sticky;
        z-index: 2;
        top: 0;
        display: flex;
        min-height: 60px;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 8px 0;
        border-bottom: 1px solid var(--wr-rule);
        background: var(--wr-paper);
    }

    .wr-mobile-nav-toolbar strong {
        color: var(--wr-ink);
        font-size: 0.9375rem;
        letter-spacing: 0.01em;
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .nav-link {
        width: 100%;
        min-height: 48px;
        margin: 0;
        padding: 11px 2px !important;
        border-bottom: 1px solid var(--wr-rule);
        font-size: 1rem;
    }

    .nav-link::after {
        display: none;
    }

    .wr-nav-cta {
        width: 100%;
        min-height: 48px;
        margin-top: 12px;
    }

    .dropdown-menu {
        width: 100%;
        padding: 0;
        border: 0;
        border-bottom: 1px solid var(--wr-rule);
        border-radius: 0;
        box-shadow: none;
    }

    .dropdown-item {
        min-height: 48px;
        padding-inline: 10px;
    }
}

@media (max-width: 575.98px) {
    .wr-prelaunch-banner .container {
        flex-wrap: wrap;
        gap: 2px 10px;
    }

    .wr-prelaunch-banner span {
        flex-basis: calc(100% - 7.5rem);
    }

    .wr-prelaunch-banner a {
        margin-left: auto;
    }
}

@media (min-width: 1200px) {
    :root {
        --wr-nav-height: 72px;
    }

    .navbar-expand-xl {
        flex-wrap: nowrap;
    }

    .navbar-expand-xl > .wr-navbar-container {
        flex-wrap: nowrap;
        justify-content: center;
        column-gap: clamp(0.75rem, 1.5vw, 1.5rem);
    }

    .navbar-expand-xl .navbar-toggler {
        display: none;
    }

    .navbar-expand-xl .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        flex-grow: 0;
    }

    .navbar-expand-xl .navbar-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 2px;
    }

    .navbar-expand-xl .navbar-nav.ms-auto {
        margin-left: 0 !important;
    }

    .navbar-expand-xl .navbar-nav > .nav-item {
        flex: 0 0 auto;
    }

    .navbar-expand-xl .nav-link {
        margin-inline: 0;
        padding-inline: 8px !important;
        font-size: 0.875rem;
    }

    .navbar-expand-xl .wr-nav-game-link {
        gap: 0.35rem;
    }

    .navbar-expand-xl .navbar-cart-button--desktop {
        margin-left: 0.25rem;
        padding-inline: 0.65rem;
    }

    .dropdown-menu {
        position: absolute;
        z-index: 1050;
        top: calc(100% + 0.35rem);
        right: 0;
    }

    .ms-auto {
        margin-left: auto !important;
    }

    .ms-xl-2 {
        margin-left: 0.375rem !important;
    }

    .align-items-xl-center {
        align-items: center !important;
    }

    .wr-navbar-authenticated .wr-nav-auth-optional {
        display: none;
    }
}

@keyframes wr-nav-santa-hat-greeting {
    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    38% {
        transform: translateY(-1px) rotate(-9deg);
    }

    72% {
        transform: translateY(-0.5px) rotate(5deg);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .wr-nav-game-icon {
        animation: wr-nav-santa-hat-greeting 720ms ease-out 500ms 1 both;
        transition: transform var(--wr-motion-micro) ease;
    }

    .wr-nav-game-link:focus-visible .wr-nav-game-icon {
        animation: none;
        transform: translateY(-1px) rotate(-9deg);
    }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .wr-nav-game-link:hover .wr-nav-game-icon {
        animation: none;
        transform: translateY(-1px) rotate(-9deg);
    }
}

@media (max-width: 991.98px) {
    .wr-footer-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767.98px) {
    .container {
        --bs-gutter-x: 32px;
    }

    .wr-footer-main {
        gap: 12px;
    }

    .wr-footer-meta {
        flex-direction: column;
        gap: 12px;
    }

    .wr-footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        justify-content: stretch;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .wr-footer-links a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .wr-footer-links a:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .wr-footer-meta {
        gap: 4px;
    }

    .wr-footer-contact {
        margin-top: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wr-nav-game-icon {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

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