/*
 * Vamp Wars responsive game-client skin.
 * Inspired by the usability patterns of modern virtual-pet/browser-game
 * dashboards: prominent category navigation, rounded content cards, strong
 * mobile controls, and a server-rendered/AJAX-enhanced page shell.
 */

:root {
    --vw-page: #f2edf4;
    --vw-page-deep: #ded4e2;
    --vw-ink: #2c2030;
    --vw-muted-ink: #6f6274;
    --vw-purple: #5d2454;
    --vw-purple-dark: #361430;
    --vw-purple-soft: #efe2ed;
    --vw-red: #a92e45;
    --vw-red-dark: #761c30;
    --vw-teal: #167e84;
    --vw-blue: #3b679e;
    --vw-gold: #d39b36;
    --vw-card: #ffffff;
    --vw-border-light: #d9cedd;
    --vw-shadow-soft: 0 8px 24px rgba(55, 30, 58, .12);
    --vw-shadow-card: 0 2px 0 rgba(74, 46, 78, .07), 0 10px 30px rgba(52, 27, 55, .08);
    --vw-radius: 18px;
    --vw-radius-sm: 12px;
}

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

/* Public website shell */
body.vw-public-body {
    margin: 0;
    min-height: 100vh;
    padding: 0;
    color: var(--vw-ink);
    background:
        radial-gradient(circle at 12% 0%, rgba(136, 54, 114, .13), transparent 30rem),
        radial-gradient(circle at 88% 8%, rgba(29, 132, 139, .10), transparent 26rem),
        linear-gradient(180deg, #fbf8fc 0, var(--vw-page) 420px, #e9e1ec 100%);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
}

.vw-public-body a {
    color: var(--vw-purple);
}

.vw-public-width {
    width: min(1260px, calc(100% - 32px));
    margin-inline: auto;
}

.vw-public-utility {
    color: #f8eff7;
    background: linear-gradient(90deg, var(--vw-purple-dark), #541d46 55%, #2d1838);
    border-bottom: 1px solid rgba(255,255,255,.12);
    font-size: 12px;
}

.vw-public-utility .vw-public-width {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.vw-public-utility i {
    margin-right: 6px;
    color: #efb6d3;
}

.vw-utility-stats {
    color: #d9c8dd;
}

.vw-utility-stats b {
    color: #fff;
}

.vw-public-header {
    position: relative;
    z-index: 40;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(87, 53, 91, .12);
    box-shadow: 0 8px 24px rgba(56, 31, 59, .08);
    backdrop-filter: blur(16px);
}

.vw-brand-row {
    min-height: 90px;
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.vw-public-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--vw-ink) !important;
    text-decoration: none !important;
}

.vw-brand-mark {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 16px 16px 16px 5px;
    color: #fff;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.24), transparent 38%),
        linear-gradient(145deg, #8b315f, #4d193f);
    border: 2px solid rgba(255,255,255,.82);
    outline: 2px solid #6f2455;
    box-shadow: 0 8px 18px rgba(95, 30, 78, .28);
    font-weight: 1000;
    letter-spacing: -.06em;
}

.vw-public-brand strong,
.vw-public-brand small {
    display: block;
}

.vw-public-brand strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    line-height: 1;
    color: #43223e;
}

.vw-public-brand small {
    margin-top: 5px;
    color: var(--vw-muted-ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.vw-header-search {
    width: 100%;
    max-width: 560px;
    justify-self: center;
}

.vw-header-search form {
    display: flex;
    align-items: center;
    padding: 5px;
    background: #f3edf4;
    border: 1px solid #d9cddd;
    border-radius: 999px;
    box-shadow: inset 0 1px 2px rgba(62, 39, 66, .06);
}

.vw-header-search input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    color: var(--vw-ink);
    background: transparent;
    font-size: 14px;
}

.vw-header-search button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--vw-purple);
    cursor: pointer;
}

.vw-account-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.vw-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.vw-button:hover {
    transform: translateY(-1px);
}

.vw-button-primary {
    color: #fff !important;
    background: linear-gradient(180deg, #a93b58, #7c213d);
    border-color: #68182f;
    box-shadow: 0 5px 12px rgba(126, 31, 62, .22);
}

.vw-button-soft {
    color: #4f2948 !important;
    background: #f2e8f1;
    border-color: #d5c3d3;
}

.vw-button-block {
    width: 100%;
    box-sizing: border-box;
}

.vw-mobile-menu-button {
    display: none;
}

.vw-category-nav {
    background: linear-gradient(180deg, #ffffff, #f8f3f8);
    border-top: 1px solid #eee5ef;
}

.vw-category-nav .vw-public-width {
    display: grid;
    grid-template-columns: repeat(8, minmax(86px, 1fr));
    gap: 3px;
}

.vw-category-link {
    min-height: 78px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 5px;
    color: #5e5261 !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .02em;
}

.vw-category-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: transparent;
}

.vw-category-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #5e3456;
    background: #efe3ee;
    border: 1px solid #dcc9d9;
    font-size: 16px;
    transition: transform .16s ease, background .16s ease;
}

.vw-category-link:hover .vw-category-icon,
.vw-category-link.is-active .vw-category-icon {
    transform: translateY(-2px);
    color: #fff;
    background: linear-gradient(145deg, #9e3c67, #5b214c);
    border-color: #5b214c;
    box-shadow: 0 6px 12px rgba(91, 33, 76, .20);
}

.vw-category-link.is-active {
    color: #45213e !important;
}

.vw-category-link.is-active::after {
    background: var(--vw-red);
}

.vw-public-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    padding-top: 24px;
    padding-bottom: 32px;
    align-items: start;
}

.vw-public-main {
    min-width: 0;
    outline: 0;
    transition: opacity .16s ease, transform .16s ease;
}

.public-loading .vw-public-main {
    opacity: .58;
    transform: translateY(2px);
    pointer-events: none;
}

.vw-public-sidebar {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 16px;
}

.vw-side-card,
.vw-content-card,
.vw-page-hero,
.vw-stat-strip,
.vw-feature-card,
.vw-profile-card,
.vw-list-card {
    background: var(--vw-card);
    border: 1px solid var(--vw-border-light);
    border-radius: var(--vw-radius);
    box-shadow: var(--vw-shadow-card);
}

.vw-side-card {
    padding: 16px;
}

.vw-side-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: #4d2646;
    font-size: 14px;
    font-weight: 950;
}

.vw-side-card-title i {
    color: var(--vw-red);
}

.vw-login-form {
    display: grid;
    gap: 10px;
}

.vw-login-form label {
    display: grid;
    gap: 5px;
    color: var(--vw-muted-ink);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.vw-login-form input,
.vw-filter-form input,
.vw-filter-form select {
    width: 100%;
    height: 42px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid #d5c9d8;
    border-radius: 11px;
    outline: none;
    color: var(--vw-ink);
    background: #fbf9fc;
    font-size: 14px;
}

.vw-login-form input:focus,
.vw-filter-form input:focus,
.vw-filter-form select:focus {
    border-color: #92567e;
    box-shadow: 0 0 0 3px rgba(128, 55, 107, .12);
}

.vw-login-error {
    padding: 9px 10px;
    color: #72152c;
    background: #fde7ec;
    border: 1px solid #efb2c0;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 750;
}

.vw-side-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    font-size: 11px;
    font-weight: 800;
}

.vw-realm-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.vw-realm-stat-grid div {
    padding: 11px 8px;
    text-align: center;
    background: #f7f2f7;
    border: 1px solid #e4d9e5;
    border-radius: 12px;
}

.vw-realm-stat-grid strong,
.vw-realm-stat-grid span {
    display: block;
}

.vw-realm-stat-grid strong {
    color: #4e2246;
    font-size: 18px;
}

.vw-realm-stat-grid span {
    margin-top: 2px;
    color: var(--vw-muted-ink);
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
}

.vw-side-nav-link,
.vw-side-link {
    display: block;
    padding: 9px 0;
    color: #5b3554 !important;
    border-top: 1px solid #eee6ef;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 800;
}

.vw-side-nav-link:first-of-type {
    border-top: 0;
}

.vw-mini-player {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 13px;
}

.vw-mini-player img,
.vw-mini-avatar {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    object-fit: cover;
    border-radius: 15px;
    background: #eadce8;
    border: 1px solid #d0bcd0;
}

.vw-mini-player strong,
.vw-mini-player span {
    display: block;
}

.vw-mini-player strong {
    color: #482340;
    font-size: 15px;
}

.vw-mini-player span {
    color: var(--vw-muted-ink);
    font-size: 11px;
}

.vw-breadcrumbs {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 750;
}

.vw-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vw-breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 7px;
    color: #aa9cac;
}

.vw-breadcrumbs a {
    text-decoration: none;
}

.vw-breadcrumbs span {
    color: var(--vw-muted-ink);
}

.vw-page-hero {
    min-height: 210px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 32px;
    margin-bottom: 18px;
    background:
        radial-gradient(circle at 85% 20%, rgba(255,255,255,.20), transparent 17rem),
        linear-gradient(125deg, #421537 0%, #70224f 58%, #8b304f 100%);
    border-color: rgba(72, 21, 57, .68);
    color: #fff;
}

.vw-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(135deg, rgba(255,255,255,.035) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.035) 50%, rgba(255,255,255,.035) 75%, transparent 75%, transparent);
    background-size: 30px 30px;
    pointer-events: none;
}

.vw-page-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.vw-page-hero h1 {
    margin: 8px 0 10px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 5vw, 50px);
    line-height: 1.06;
    letter-spacing: -.025em;
}

.vw-page-hero p {
    max-width: 650px;
    margin: 0;
    color: #f1dfe9;
    font-size: 16px;
}

.vw-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border: 1px solid rgba(255,255,255,.23);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #ffeaf3;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vw-page-hero-mark {
    width: 150px;
    height: 150px;
    position: relative;
    z-index: 1;
    flex: 0 0 150px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255,255,255,.18);
    border-radius: 50%;
    color: #ffe6f0;
    background: rgba(255,255,255,.08);
    box-shadow: inset 0 0 0 12px rgba(255,255,255,.03);
    font-size: 56px;
}

.vw-content-card {
    padding: 24px;
    margin-bottom: 18px;
}

.vw-content-card h2,
.vw-content-card h3,
.vw-section-heading h2 {
    color: #47213f;
    font-family: Georgia, "Times New Roman", serif;
}

.vw-content-card h2,
.vw-section-heading h2 {
    margin: 0 0 10px;
    font-size: 26px;
}

.vw-content-card h3 {
    margin: 20px 0 7px;
    font-size: 20px;
}

.vw-content-card p:last-child {
    margin-bottom: 0;
}

.vw-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 2px 12px;
}

.vw-section-heading p {
    margin: 0;
    color: var(--vw-muted-ink);
    font-size: 13px;
}

.vw-feature-grid,
.vw-card-grid,
.vw-system-grid,
.vw-city-grid,
.vw-item-grid,
.vw-player-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.vw-feature-card,
.vw-list-card,
.vw-profile-card {
    min-width: 0;
    padding: 18px;
}

.vw-feature-card {
    position: relative;
    overflow: hidden;
}

.vw-feature-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--card-accent, var(--vw-purple));
}

.vw-feature-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 14px;
    color: var(--card-accent, var(--vw-purple));
    background: #f3e8f1;
    font-size: 19px;
}

.vw-feature-card h3 {
    margin: 0 0 6px;
    color: #45213e;
    font-size: 16px;
}

.vw-feature-card p {
    margin: 0;
    color: var(--vw-muted-ink);
    font-size: 13px;
}

.vw-feature-card a {
    display: inline-flex;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

.vw-stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    margin-bottom: 18px;
}

.vw-stat-strip > div {
    padding: 18px;
    text-align: center;
    border-right: 1px solid #e7dee8;
}

.vw-stat-strip > div:last-child {
    border-right: 0;
}

.vw-stat-strip strong,
.vw-stat-strip span {
    display: block;
}

.vw-stat-strip strong {
    color: #4d2445;
    font-size: 24px;
}

.vw-stat-strip span {
    margin-top: 2px;
    color: var(--vw-muted-ink);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.vw-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.vw-home-hero-actions .vw-button-soft {
    color: #fff !important;
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.25);
}

.vw-filter-card {
    padding: 14px;
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid var(--vw-border-light);
    border-radius: 15px;
    box-shadow: var(--vw-shadow-card);
}

.vw-filter-form {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 9px;
}

.vw-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--vw-border-light);
    border-radius: var(--vw-radius);
    box-shadow: var(--vw-shadow-card);
}

.vw-data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.vw-data-table th,
.vw-data-table td {
    padding: 13px 15px;
    border-bottom: 1px solid #eee7ef;
    text-align: left;
    vertical-align: middle;
}

.vw-data-table th {
    color: #5c4a5e;
    background: #f7f2f7;
    font-size: 10px;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.vw-data-table tr:last-child td {
    border-bottom: 0;
}

.vw-data-table tbody tr:hover td {
    background: #fcf8fc;
}

.vw-table-player {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vw-table-avatar,
.vw-profile-avatar,
.vw-item-image {
    object-fit: cover;
    background: #f0e6ef;
    border: 1px solid #d7c6d5;
}

.vw-table-avatar {
    width: 38px;
    height: 38px;
    border-radius: 11px;
}

.vw-avatar-fallback {
    display: grid;
    place-items: center;
    color: #6d3c63;
}

.vw-online-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-right: 5px;
    border-radius: 50%;
    background: #b4a9b7;
}

.vw-online-dot.is-online {
    background: #2ca36b;
    box-shadow: 0 0 0 3px rgba(44,163,107,.12);
}

.vw-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 7px;
    color: #5d3b59;
    background: #f2e9f1;
    border: 1px solid #dfd0dd;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 850;
}

.vw-badge-vampire {
    color: #7b1e35;
    background: #fbe7eb;
    border-color: #efbbc7;
}

.vw-badge-lycan {
    color: #235d59;
    background: #e4f4f1;
    border-color: #b5ded8;
}

.vw-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 18px 0;
}

.vw-pagination a,
.vw-pagination span {
    min-width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    padding: 0 10px;
    border: 1px solid #d7cad9;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.vw-pagination .is-current {
    color: #fff;
    background: var(--vw-purple);
    border-color: var(--vw-purple);
}

.vw-profile-header {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 24px;
    margin-bottom: 18px;
    color: #fff;
    background: linear-gradient(130deg, #3f1637, #722750 65%, #91415b);
    border: 1px solid #512044;
    border-radius: var(--vw-radius);
    box-shadow: var(--vw-shadow-soft);
}

.vw-profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 24px;
    border: 4px solid rgba(255,255,255,.75);
    outline: 1px solid rgba(38,12,31,.65);
}

.vw-profile-header h1 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
}

.vw-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.vw-profile-meta .vw-badge {
    color: #fff;
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.2);
}

.vw-profile-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.vw-profile-stat {
    padding: 16px;
    background: #fff;
    border: 1px solid var(--vw-border-light);
    border-radius: 15px;
    box-shadow: var(--vw-shadow-card);
}

.vw-profile-stat strong,
.vw-profile-stat span {
    display: block;
}

.vw-profile-stat strong {
    color: #4a2342;
    font-size: 21px;
}

.vw-profile-stat span {
    color: var(--vw-muted-ink);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.vw-item-card {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px;
    color: inherit !important;
    text-decoration: none !important;
}

.vw-item-image {
    width: 74px;
    height: 74px;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 14px;
}

.vw-item-card h3 {
    margin: 0 0 4px;
    color: #482341;
    font-size: 14px;
}

.vw-item-card p {
    margin: 0;
    color: var(--vw-muted-ink);
    font-size: 11px;
}

.vw-item-card span {
    display: inline-block;
    margin-top: 7px;
    color: #7b2645;
    font-size: 11px;
    font-weight: 850;
}

.vw-empty-state {
    padding: 42px 24px;
    text-align: center;
    color: var(--vw-muted-ink);
    background: #fff;
    border: 1px solid var(--vw-border-light);
    border-radius: var(--vw-radius);
    box-shadow: var(--vw-shadow-card);
}

.vw-empty-state i {
    display: block;
    margin-bottom: 10px;
    color: #aa8aa4;
    font-size: 34px;
}

.vw-faq details {
    padding: 14px 0;
    border-top: 1px solid #eae1eb;
}

.vw-faq details:first-child {
    border-top: 0;
}

.vw-faq summary {
    cursor: pointer;
    color: #4c2444;
    font-weight: 900;
}

.vw-faq details p {
    margin: 9px 0 0;
    color: var(--vw-muted-ink);
}

.vw-update-card {
    padding: 20px;
    margin-bottom: 13px;
    background: #fff;
    border: 1px solid var(--vw-border-light);
    border-radius: 16px;
    box-shadow: var(--vw-shadow-card);
}

.vw-update-card time {
    display: block;
    margin-bottom: 7px;
    color: #8d778d;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.vw-update-card p {
    margin: 0;
}

.vw-public-footer {
    color: #d9cbdc;
    background: linear-gradient(130deg, #2a1328, #3c1937 60%, #25142d);
    border-top: 4px solid #8a3157;
}

.vw-public-footer .vw-public-width {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px 28px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.vw-public-footer strong,
.vw-public-footer span {
    display: block;
}

.vw-public-footer strong {
    color: #fff;
    font-size: 18px;
}

.vw-public-footer span,
.vw-public-footer small {
    color: #baabba;
    font-size: 11px;
}

.vw-public-footer small {
    grid-column: 1 / -1;
}

.vw-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.vw-footer-links a {
    color: #f0dce9 !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.vw-public-bottom-nav,
.vw-public-menu-backdrop {
    display: none;
}

/* Authenticated game shell: lighter card-based browser-game framing */
body.dark-body {
    background:
        radial-gradient(circle at 12% 0%, rgba(123, 43, 98, .20), transparent 30rem),
        radial-gradient(circle at 87% 4%, rgba(24, 120, 128, .13), transparent 26rem),
        linear-gradient(180deg, #ece4ef, #ddd2e1 100%) !important;
    color: #302332 !important;
}

.dark-body .theme-shell,
.dark-body .dark-theme-shell {
    background: transparent !important;
}

.dark-body .theme-wrapper,
.dark-body .dark-theme-wrapper {
    width: min(1360px, calc(100% - 24px)) !important;
}

.dark-body .theme-header,
.dark-body .dark-theme-header {
    overflow: visible !important;
    margin-top: 12px !important;
    background: #fff !important;
    border: 1px solid #cfc0d1 !important;
    border-radius: 20px !important;
    box-shadow: var(--vw-shadow-soft) !important;
}

.dark-body .theme-header::before,
.dark-body .dark-theme-header::before {
    display: none !important;
}

.dark-body .header_bg {
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    padding: 18px 20px !important;
    background:
        linear-gradient(125deg, rgba(62, 20, 52, .98), rgba(101, 31, 74, .96)),
        url('../images/header-bg.png') center/cover !important;
    border-radius: 19px 19px 0 0 !important;
}

.dark-body .player_stats {
    width: min(620px, 100%) !important;
    padding: 14px !important;
    background: rgba(255,255,255,.10) !important;
    border-color: rgba(255,255,255,.18) !important;
    border-radius: 15px !important;
    box-shadow: none !important;
}

.dark-body .player_name {
    color: #fff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px !important;
}

.dark-body .player_stats_lbl {
    color: #eadce8 !important;
}

.dark-body .player_stats_percent_value {
    color: #fff !important;
}

.dark-body .player_stats_bar {
    background: rgba(17, 4, 15, .42) !important;
}

.dark-body .header_meta_bar {
    padding: 10px 14px !important;
    background: #f7f2f7 !important;
    border-top: 0 !important;
}

.dark-body .player_assets {
    justify-content: center;
}

.dark-body .player_assets .asset {
    color: #756678 !important;
    background: #fff !important;
    border: 1px solid #ded1df !important;
    box-shadow: 0 2px 6px rgba(65, 38, 68, .06);
}

.dark-body .asset_label {
    color: #8c7c8e !important;
}

.dark-body .asset_value {
    color: #502449 !important;
}

.dark-body .header_nav_bar {
    padding: 8px 12px 10px !important;
    background: #fff !important;
    border-top: 1px solid #ece3ed !important;
    border-radius: 0 0 19px 19px;
}

.dark-body .header_quicklinks {
    display: grid !important;
    grid-template-columns: repeat(11, minmax(78px, 1fr));
    gap: 4px !important;
}

.dark-body .header_quicklink {
    position: relative;
    min-height: 58px !important;
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    padding: 7px 4px !important;
    color: #625565 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    font-size: 10px !important;
}

.dark-body .header_quicklink i {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #6b315f;
    background: #efe3ee;
    border: 1px solid #ddcbdc;
    font-size: 14px;
}

.dark-body .header_quicklink:hover,
.dark-body .header_quicklink.is-active {
    color: #41203c !important;
    background: #faf6fa !important;
}

.dark-body .header_quicklink:hover i,
.dark-body .header_quicklink.is-active i {
    color: #fff;
    background: linear-gradient(145deg, #9c3a65, #5c214d);
    border-color: #5c214d;
}

.dark-body .header_quicklink_count {
    position: absolute;
    top: 4px;
    right: 18%;
    min-width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    padding: 0 3px;
    color: #fff !important;
    background: #b82948;
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: 8px;
}

.dark-body .layout-table,
.dark-body .dark-layout-table {
    border-spacing: 0 14px !important;
}

.dark-body .layout-left,
.dark-body .dark-layout-left {
    width: 248px !important;
    min-width: 248px !important;
    max-width: 248px !important;
    padding-right: 14px !important;
}

.dark-body .theme-sidebar,
.dark-body .dark-sidebar,
.dark-body .theme-content,
.dark-body .dark-main-content {
    color: #302332 !important;
    background: #fff !important;
    border: 1px solid #d3c5d5 !important;
    border-radius: 18px !important;
    box-shadow: var(--vw-shadow-card) !important;
}

.dark-body .content-inner,
.dark-body .dark-content-inner {
    padding: 20px !important;
}

.dark-body .menu-group {
    margin: 0 !important;
    border-top: 1px solid #eee6ef !important;
}

.dark-body .menu-group:first-child {
    border-top: 0 !important;
}

.dark-body .menu-group > summary {
    color: #4c2645 !important;
    background: #faf7fa !important;
}

.dark-body .menu-link {
    color: #5e5261 !important;
    border-radius: 9px !important;
}

.dark-body .menu-link:hover,
.dark-body .menu-link.is-active {
    color: #4d2145 !important;
    background: #f2e7f0 !important;
}

.dark-body .menu-link i {
    color: #8d4777 !important;
}

.dark-body .donate-banner,
.dark-body .dark-donate-banner {
    color: #5d294e !important;
    background: #faedf3 !important;
    border-color: #e5bacb !important;
}

.dark-body .theme-content h1,
.dark-body .theme-content h2,
.dark-body .theme-content h3,
.dark-body .theme-content h4 {
    color: #4a2342;
}

.dark-body .theme-content a {
    color: #6f2759;
}

.dark-body .theme-content table:not(.layout-table) {
    color: #342836;
    background: #fff;
    border-color: #d8ccd9;
}

.dark-body .theme-content th {
    color: #5d4c60 !important;
    background: #f5eff6 !important;
}

.dark-body .theme-content td {
    border-color: #eee6ef !important;
}

.dark-body .theme-footer,
.dark-body .dark-theme-footer {
    color: #706473 !important;
}

@media (max-width: 1120px) {
    .vw-category-nav .vw-public-width {
        overflow-x: auto;
        grid-template-columns: repeat(8, minmax(92px, 1fr));
        scrollbar-width: thin;
    }

    .dark-body .header_quicklinks {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 920px) {
    .vw-brand-row {
        grid-template-columns: auto 1fr auto;
        min-height: 74px;
        gap: 12px;
    }

    .vw-header-search {
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: none;
        padding-bottom: 12px;
    }

    .vw-public-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .vw-public-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vw-feature-grid,
    .vw-card-grid,
    .vw-system-grid,
    .vw-city-grid,
    .vw-item-grid,
    .vw-player-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    body.vw-public-body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom));
    }

    .vw-public-width {
        width: min(100% - 20px, 1260px);
    }

    .vw-public-utility {
        display: none;
    }

    .vw-public-header {
        position: sticky;
        top: 0;
    }

    .vw-brand-row {
        min-height: 66px;
        display: flex;
        padding: 0;
    }

    .vw-mobile-menu-button {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        flex: 0 0 42px;
        border: 1px solid #d5c7d6;
        border-radius: 12px;
        color: #57264e;
        background: #f5edf4;
    }

    .vw-brand-mark {
        width: 39px;
        height: 39px;
        border-radius: 12px 12px 12px 4px;
        font-size: 13px;
    }

    .vw-public-brand strong {
        font-size: 20px;
    }

    .vw-public-brand small {
        display: none;
    }

    .vw-account-actions {
        margin-left: auto;
    }

    .vw-account-actions .vw-button-soft,
    .vw-account-actions .vw-button-primary {
        min-width: 42px;
        width: 42px;
        padding: 0;
        font-size: 0;
    }

    .vw-account-actions .vw-button i {
        font-size: 14px;
    }

    .vw-header-search {
        display: none;
    }

    .vw-category-nav {
        position: fixed;
        z-index: 80;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(330px, 86vw);
        padding: calc(18px + env(safe-area-inset-top)) 12px 18px;
        overflow-y: auto;
        transform: translateX(-105%);
        transition: transform .2s ease;
        background: #fff;
        box-shadow: 16px 0 38px rgba(45, 25, 48, .24);
    }

    .vw-public-menu-open .vw-category-nav {
        transform: translateX(0);
    }

    .vw-category-nav .vw-public-width {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 7px;
        overflow: visible;
    }

    .vw-category-link {
        min-height: 90px;
        border: 1px solid #e1d6e2;
        border-radius: 14px;
        background: #faf7fb;
    }

    .vw-category-link::after {
        display: none;
    }

    .vw-public-menu-backdrop {
        position: fixed;
        z-index: 70;
        inset: 0;
        display: block;
        visibility: hidden;
        opacity: 0;
        background: rgba(31, 17, 32, .55);
        transition: opacity .2s ease, visibility .2s ease;
    }

    .vw-public-menu-open .vw-public-menu-backdrop {
        visibility: visible;
        opacity: 1;
    }

    .vw-public-layout {
        gap: 14px;
        padding-top: 12px;
        padding-bottom: 20px;
    }

    .vw-page-hero {
        min-height: 0;
        padding: 24px 20px;
        border-radius: 16px;
    }

    .vw-page-hero h1 {
        font-size: 32px;
    }

    .vw-page-hero p {
        font-size: 14px;
    }

    .vw-page-hero-mark {
        display: none;
    }

    .vw-content-card {
        padding: 18px;
        border-radius: 15px;
    }

    .vw-stat-strip {
        grid-template-columns: 1fr 1fr;
    }

    .vw-stat-strip > div:nth-child(2) {
        border-right: 0;
    }

    .vw-stat-strip > div:nth-child(-n+2) {
        border-bottom: 1px solid #e7dee8;
    }

    .vw-feature-grid,
    .vw-card-grid,
    .vw-system-grid,
    .vw-city-grid,
    .vw-item-grid,
    .vw-player-grid,
    .vw-public-sidebar,
    .vw-profile-stat-grid {
        grid-template-columns: 1fr;
    }

    .vw-profile-header {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 15px;
        padding: 18px;
    }

    .vw-profile-avatar {
        width: 90px;
        height: 90px;
        border-radius: 18px;
    }

    .vw-profile-header h1 {
        font-size: 25px;
    }

    .vw-public-bottom-nav {
        position: fixed;
        z-index: 65;
        left: 0;
        right: 0;
        bottom: 0;
        min-height: calc(62px + env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        padding-bottom: env(safe-area-inset-bottom);
        background: rgba(255,255,255,.96);
        border-top: 1px solid #d7cbd9;
        box-shadow: 0 -8px 24px rgba(58, 34, 61, .12);
        backdrop-filter: blur(14px);
    }

    .vw-public-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #665769 !important;
        text-decoration: none !important;
        font-size: 9px;
        font-weight: 850;
    }

    .vw-public-bottom-nav i {
        font-size: 16px;
    }

    .vw-public-footer .vw-public-width {
        grid-template-columns: 1fr;
    }

    .vw-public-footer small {
        grid-column: auto;
    }

    .dark-body .header_bg {
        padding: 12px !important;
    }

    .dark-body .header_quicklinks {
        grid-template-columns: repeat(4, 1fr);
    }

    .dark-body .header_quicklink {
        min-height: 54px !important;
    }
}

@media (max-width: 460px) {
    .vw-public-brand span:last-child {
        display: none;
    }

    .vw-page-hero h1 {
        font-size: 29px;
    }

    .vw-home-hero-actions {
        display: grid;
    }

    .vw-home-hero-actions .vw-button {
        width: 100%;
        box-sizing: border-box;
    }

    .vw-filter-form {
        grid-template-columns: 1fr;
    }

    .vw-profile-header {
        display: block;
        text-align: center;
    }

    .vw-profile-avatar {
        margin: 0 auto 12px;
    }

    .vw-profile-meta {
        justify-content: center;
    }
}

.dark-body .vw-game-brand-panel {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    text-decoration: none !important;
}

.dark-body .vw-game-brand-panel strong,
.dark-body .vw-game-brand-panel small {
    display: block;
}

.dark-body .vw-game-brand-panel strong {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1;
}

.dark-body .vw-game-brand-panel small {
    margin-top: 5px;
    color: #ead6e4;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

@media (max-width: 760px) {
    .dark-body .vw-game-brand-panel {
        display: none;
    }
}
