/* SRProjects: 2007 artwork, native HTML controls. Deliberately scoped to this theme. */
:root { --sr-ink: #493b29; --sr-gold: #cfb675; --sr-paper: #eddba9; --sr-line: #ad9160; }
body.sr-nostalgia {
    margin: 0; color: var(--sr-ink); font: 13px/1.5 Arial, Helvetica, sans-serif;
    background: #817356 url('../images/nostalgia/original/pt_allpg.jpg') repeat !important;
    background-attachment: scroll !important;
}
.sr-nostalgia > .container, .sr-site-header > .container,
.sr-nostalgia .custom-navbar > .container, .sr-site-footer > .container {
    width: min(955px, 100%); max-width: 955px; padding-left: 0; padding-right: 0;
}
.sr-skip-link { position: fixed; top: -80px; left: 16px; z-index: 10000; padding: 10px; background: var(--sr-paper); color: #261f14; }
.sr-skip-link:focus { top: 8px; }
.sr-topbar {
    min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: url('../images/nostalgia/original/top_02.jpg') repeat-x;
}
.sr-wordmark { display: flex; align-items: center; width: 230px; padding: 2px 12px; flex-shrink: 0; }
.sr-wordmark img { display: block; width: 210px; height: 60px; object-fit: contain; }
.sr-account-bar { padding: 4px 8px; text-align: right; }
.sr-account-links { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.sr-account-button, .sr-account-help { font-size: 12px; color: #fff7d7; text-decoration: none; }
.sr-account-button {
    padding: 3px 12px; border: 1px solid #514932; border-radius: 3px;
    background: linear-gradient(#9f9265, #776944); box-shadow: inset 0 0 2px #f8e8b3, 0 1px 2px #322c23;
}
.sr-register-button { background: linear-gradient(#9dba65, #567735); }
.sr-account-button:hover, .sr-account-button:focus-visible { color: #fff; filter: brightness(1.12); }
.sr-account-help { margin-left: 8px; text-decoration: underline; }
.sr-account-help:hover { color: #ffde71; }
.sr-account-name { color: #fff4cc; font-size: 12px; }
.sr-server-clock { margin-top: 5px; color: #ffefae; font-size: 11px; text-shadow: 0 1px 2px #332b1f; }
#serverTimeClock { font-variant-numeric: tabular-nums; margin-left: 5px; }
body.sr-nostalgia .custom-navbar {
    background: none !important; border: 0 !important; box-shadow: none !important; padding: 0;
}
.sr-nostalgia .navbar-collapse { width: 100%; }
.sr-nostalgia .navbar-nav { margin: 0 !important; width: 100%; gap: 2px; }
.sr-nostalgia .navbar-nav > .nav-item { flex: 1 1 auto; margin: 0 !important; }
.sr-nostalgia .custom-navbar .nav-link {
    display: flex; align-items: center; justify-content: center; height: 38px; padding: 0 10px;
    background: url('../images/nostalgia/original/navigation-stone-button.png') center / 100% 100%;
    border: 1px solid #51492e; border-radius: 3px; box-shadow: inset 0 0 2px #cfbd8a;
    color: #fffde4 !important; font-size: 12px; font-weight: 600; letter-spacing: 0; text-shadow: 0 1px 2px #302a1b;
    transform: none !important; transition: background-color .15s, color .15s;
}
.sr-nostalgia .custom-navbar .nav-link:hover, .sr-nostalgia .custom-navbar .nav-link:focus-visible,
.sr-nostalgia .custom-navbar .nav-link[aria-current='page'] {
    background-color: #71884d; color: #fffad0 !important; text-shadow: 0 1px 2px #222 !important;
}
.sr-nostalgia .navbar-nav > .nav-item:has(> a[href='/Server/WebShop']) .nav-link {
    background: linear-gradient(#967b88aa, #715463cc), url('../images/nostalgia/original/pt_allpg.jpg');
}
.sr-nostalgia .custom-navbar .dropdown-menu {
    background: #726143 !important; border: 1px solid #d0b77a !important; border-radius: 3px; box-shadow: 0 4px 10px #22190980; z-index: 1100;
}
.sr-nostalgia .custom-navbar .dropdown-item { color: #fff5cc !important; font-size: 13px; }
.sr-nostalgia .custom-navbar .dropdown-item:hover, .sr-nostalgia .custom-navbar .dropdown-item:focus {
    background: #4a4b30 !important; color: #fff !important;
}
.sr-nostalgia #toggleHalloween { color: #ebd495; border-color: #968253; height: 32px; margin: 3px; }
.sr-site-content { min-height: 65vh; }
.sr-preview-notice { padding: 4px 8px; background: #483b26; color: #ffe7aa; font-size: 11px; text-align: center; }
.sr-page-main { position: relative; }
.sr-inner-main, .sr-home-body {
    margin-top: 0; padding: 62px 34px 76px 49px; color: var(--sr-ink);
    background: url('../images/nostalgia/original/main_01.jpg') top center / 100% 62px no-repeat,
        url('../images/nostalgia/original/main_04.jpg') bottom center / 100% 76px no-repeat,
        url('../images/nostalgia/original/main_02.jpg') left top / 49px 40px repeat-y,
        url('../images/nostalgia/original/main_03.jpg') right top / 34px 40px repeat-y, var(--sr-paper);
    border: 0; outline: 0; box-shadow: none;
}
.sr-inner-main::before, .sr-home-body::before {
    content: none;
}
.sr-inner-main > .container { padding: 0; margin-top: 8px !important; }
.sr-inner-main > h2, .sr-inner-main > .container > h2 {
    color: #65502d !important; font-family: Georgia, 'Times New Roman', serif !important;
    text-shadow: none !important; letter-spacing: 0 !important;
}
.sr-inner-main > h2 > span, .sr-inner-main > .container > h2 > span {
    background: linear-gradient(#88774e, #51452d) !important; color: #fff0bc !important;
    border: 1px solid #ac925f !important; border-radius: 3px !important;
    box-shadow: inset 0 0 2px #dfc68c !important;
}
.sr-hero { position: relative; display: grid; grid-template-columns: 59% 41%; min-height: 397px; }
.sr-hero-art { position: relative; min-width: 0; overflow: hidden; height: 397px; background: #796e50; }
.sr-hero-art > img, .sr-hero-art > video {
    display: block; width: 955px; max-width: none; height: 435px; position: absolute; top: -38px; left: 0;
}
.sr-hero-art > video.sr-video-padded { width: 956px; height: 436px; }
.sr-hero-side { padding: 0 1px 6px 0; display: flex; flex-direction: column; gap: 6px; }
.sr-download-banner { display: block; position: relative; height: 137px; flex-shrink: 0; overflow: hidden; }
.sr-download-banner img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sr-download-banner:focus-visible { outline: 2px solid #fffcc2; outline-offset: 2px; }
.sr-preview-box { overflow: hidden; border: 1px solid #baa370; border-radius: 12px 12px 0 0; background: #605137; }
.sr-preview-box > h2 { margin: 0; padding: 4px; background: #554b33; color: #dbc78b; font: bold 19px/1.3 Arial, sans-serif; text-align: center; }
.sr-preview-content { display: grid; grid-template-columns: 1fr 1fr; min-height: 219px; }
.sr-preview-art { display: flex; flex-direction: column; justify-content: center; padding: 9px; min-width: 0; background: #948468; }
.sr-preview-art img { display: block; width: 100%; height: 145px; object-fit: contain; }
.sr-preview-art p { margin: 0 0 7px; color: #fffbe6; font: 12px/1.35 Arial, sans-serif; text-shadow: 0 1px 2px #372a1f; }
.sr-preview-actions { display: flex; flex-direction: column; }
.sr-preview-actions a {
    display: flex; flex: 1; align-items: center; justify-content: center; padding: 6px;
    border: 1px solid #a08c5d; background: linear-gradient(#746447, #433822); color: #fffce5; font-size: 13px; text-decoration: none; text-align: center;
}
.sr-preview-actions a:hover, .sr-preview-actions a:focus-visible, .sr-preview-actions a.is-preview-active {
    background: linear-gradient(#83955d, #485435); color: #fffce5;
}
.sr-animation-toggle { position: absolute; left: 14px; bottom: 10px; z-index: 1; border: 1px solid #bcaa7e; background: #443821dc; color: #fff1c4; padding: 3px 8px; font: 11px Arial; }
.sr-home-body { position: relative; }
.sr-home-body .sr-home-columns { --bs-gutter-x: 18px; }
.sr-home-body #mainCarousel { margin-bottom: 18px !important; border: 1px solid #af945e; border-radius: 4px; overflow: hidden; }
.sr-home-body .carousel-item img { height: 230px; border-radius: 0 !important; }
.sr-home-body .carousel-caption { bottom: 12px; left: 12px; right: 12px; max-width: none; border-radius: 2px; background: #302817cf; padding: 8px 12px; }
.sr-home-body .carousel-caption h2 { color: #fff3c0; font: bold 20px/1.2 Georgia, serif; margin-bottom: 4px; }
.sr-home-body .carousel-caption p { color: #fffbe8; font-size: 12px; margin-bottom: 2px; }
.sr-home-body .event-badge, .sr-home-body .countdown { margin: 5px 0 0; font: bold 11px Arial; border-radius: 2px; background: #725b33; padding: 3px 7px; }
.sr-home-body .section-lead { color: #58462d; font: bold 16px Georgia, serif; }
.sr-home-body .discord-widget iframe { border-radius: 3px; border: 1px solid #9d8457; }
.sr-home-body .lead { font-size: 13px; }
body.sr-nostalgia .card, body.sr-nostalgia .accordion-item,
body.sr-nostalgia #questAccordion .accordion-item, body.sr-nostalgia #questAccordion .quest-card {
    border: 1px solid #ac925f !important; border-radius: 3px !important; background: #ebd6a2 !important;
    color: var(--sr-ink) !important; box-shadow: 0 2px 5px #6d563127 !important;
}
body.sr-nostalgia .card-header, body.sr-nostalgia .accordion-button,
body.sr-nostalgia #questAccordion .accordion-button {
    background: linear-gradient(#796b4c, #534831) !important; color: #fff0bc !important;
    border-radius: 2px 2px 0 0 !important; padding: 10px 12px !important; text-shadow: 0 1px 1px #322919;
}
.sr-nostalgia .card-header h3, .sr-nostalgia .card-header h4, .sr-nostalgia .card-header h5 { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; }
body.sr-nostalgia .card-body, body.sr-nostalgia .accordion-body,
body.sr-nostalgia #questAccordion .accordion-body {
    background: #eedcaf !important; color: var(--sr-ink) !important; border-top-color: #b9a06b !important;
}
.sr-nostalgia .card .btn { border-radius: 3px !important; font-size: 13px; padding: 8px 10px; }
.sr-nostalgia .btn-primary, .sr-nostalgia .btn-outline-primary { color: #fff9df; border-color: #746841; background: linear-gradient(#9b8b59, #625634); }
.sr-nostalgia .btn-outline-success { color: #fff9df; border-color: #576237; background: linear-gradient(#859956, #536239); }
.sr-nostalgia .btn-outline-info { color: #fff9df; border-color: #53645c; background: linear-gradient(#77978c, #425b50); }
.sr-nostalgia .btn:hover { filter: brightness(1.1); }
.sr-nostalgia .sr-inner-main .text-muted, .sr-nostalgia .sr-home-body .text-muted { color: #766247 !important; }
.sr-nostalgia .sr-inner-main a:not(.btn):not(.dropdown-item):not(.nav-link), .sr-nostalgia .sr-home-body .link-primary { color: #735728; }
body.sr-nostalgia .form-control, body.sr-nostalgia .form-select, body.sr-nostalgia .input-group-text {
    background: #fbefcc !important; color: #493820 !important; border: 1px solid #aa8e57 !important; border-radius: 2px;
}
body.sr-nostalgia .form-control:focus, body.sr-nostalgia .form-select:focus { border-color: #5c7444 !important; box-shadow: 0 0 0 2px #6e865f40 !important; }
body.sr-nostalgia .accordion-body .list-group, body.sr-nostalgia .list-group-item { color: #4b3c25 !important; background: #eedcaf !important; border-color: #baa06c !important; }
body.sr-nostalgia .table { --bs-table-color: #493b29; --bs-table-bg: #eedcaf; --bs-table-border-color: #bea371; --bs-table-striped-bg: #dfc692; --bs-table-striped-color: #493b29; --bs-table-hover-bg: #d9c18b; --bs-table-hover-color: #493b29; color: #493b29 !important; background: #eedcaf !important; }
body.sr-nostalgia .card-body .table th, body.sr-nostalgia .card-body .table td,
body.sr-nostalgia .accordion-body .table th, body.sr-nostalgia .accordion-body .table td {
    color: #493b29 !important; border-color: #baa06c !important; background: transparent !important;
}
body.sr-nostalgia .card-body .table thead th, body.sr-nostalgia .accordion-body .table thead th { background: #6d5d3e !important; color: #fff1c4 !important; }
body.sr-nostalgia .alert-info { background: #e3cf95 !important; color: #554122 !important; border-color: #b4985d !important; box-shadow: none !important; }
body.sr-nostalgia .alert-info a { color: #614917 !important; }
.sr-nostalgia .market-preview-card { background: #eedcaf; border: 1px solid #aa8b52; border-radius: 3px; box-shadow: 0 2px 5px #6d563127; }
.sr-nostalgia .market-preview-title { color: #65502d; font: bold 19px Georgia, serif; }
.sr-nostalgia .market-preview-sub { color: #78664a; }
.sr-nostalgia .market-preview-item { background: linear-gradient(#f6e7bf, #dfc38b); border-color: #b99b60; border-radius: 2px; color: #4f3b20 !important; }
.sr-nostalgia .market-preview-item:hover { border-color: #6c7c42; }
.sr-nostalgia .market-preview-line { color: #715b35; }
.sr-nostalgia .market-preview-gold { color: #8b5e05; }
.sr-nostalgia .web-chest-section, .sr-nostalgia .market-section { background: #e6ce98; border-color: #ad8e55; color: #4e3a21; border-radius: 3px; }
.sr-nostalgia .web-chest-section h2, .sr-nostalgia .web-chest-section h3, .sr-nostalgia .market-section h3 { color: #5d4627; text-shadow: none; font-family: Georgia, serif; }
.sr-nostalgia .market-section td { color: #493b29 !important; }
body.sr-nostalgia .market-section table thead th {
    color: #fff1c4 !important; background: #6d5d3e !important; border-color: #baa06c !important;
}
body.sr-nostalgia .market-section > p { color: #79613b !important; }
.sr-nostalgia .market-section form > button {
    color: #fff9df !important; border-color: #746841 !important;
    background: linear-gradient(#9b8b59, #625634) !important;
}
.sr-nostalgia .market-section .gold-text { color: #8b5e05 !important; }
.sr-nostalgia .market-section input, .sr-nostalgia .market-section select { background: #fff0cd !important; color: #493b29 !important; border-color: #b39459 !important; }
.sr-nostalgia .chest-tip, .sr-nostalgia .empty-state-message { color: #79613b; }
.sr-nostalgia .empty-state-message { background: #f2dfb0; border-color: #ac8e55; }
.sr-nostalgia .login-callout { background: linear-gradient(#796e4a, #4f442d); border-color: #ad975d; }
.sr-nostalgia .login-desc { color: #ead5a2; }
.sr-nostalgia .grid-container { background: #7d6946; border-color: #a38a56; }
.sr-nostalgia .grid-item { background: #453820; border-color: #a28d5b; }
.sr-nostalgia .empty-slot { background: #5c4b2c; }
/* Inventory icons retain their game artwork; surrounding panels use the site palette. */
.sr-nostalgia .leaderboard {
    background: #eedcaf; border: 1px solid #ad9160; border-radius: 3px;
    box-shadow: 0 2px 5px #6d563127; min-width: 0; max-width: 100%;
}
.sr-nostalgia .leaderboard.vip { background: #e6cf98; border-color: #a78b48; box-shadow: 0 2px 5px #6d563127; }
.sr-nostalgia .leaderboard-title, .sr-nostalgia .leaderboard.vip .leaderboard-title {
    color: #65502d; font-family: Georgia, serif; text-shadow: none;
}
.sr-nostalgia .leaderboard th { background: #6d5d3e !important; color: #fff1c4 !important; }
.sr-nostalgia .last-updated { color: #79613b; }
.sr-nostalgia .guild-cell { color: #41633a; text-shadow: none; }
body.sr-nostalgia .sr-site-footer { position: static !important; margin-top: 20px; padding: 15px 0 22px; border: 0 !important; line-height: 1.8 !important; white-space: normal !important; }
.sr-site-footer > .container { color: #e7d6ad; text-align: center; padding: 10px; background: #4b402acc; border-top: 1px solid #b19a66; font-size: 11px; }
.sr-site-footer a { color: #f4e0ae; }
.sr-nostalgia :focus-visible { outline: 2px solid #586b3a; outline-offset: 3px; }
/* Custom page styles are rendered after this stylesheet. Scoped overrides also
   cover their inline colors without changing shared game data or form behavior. */
body.sr-nostalgia .sr-page-main :is(h1, h2, h3).text-primary,
body.sr-nostalgia .sr-page-main :is(.server-info, .server-commands) h2,
body.sr-nostalgia .main-ranking-header {
    color: #65502d !important; font-family: Georgia, 'Times New Roman', serif !important;
    text-shadow: none !important; filter: none !important; animation: none !important;
}
body.sr-nostalgia .sr-page-main :is(.server-info, .server-commands) h2 > span {
    color: #fff0bc !important; background: linear-gradient(#88774e, #51452d) !important;
    border-color: #ac925f !important; border-radius: 3px !important; box-shadow: none !important;
}
body.sr-nostalgia .sr-page-main .accordion-header .accordion-button,
body.sr-nostalgia .sr-page-main .accordion-header .accordion-button.collapsed,
body.sr-nostalgia .sr-page-main .accordion-header .accordion-button:not(.collapsed) {
    background: linear-gradient(#796b4c, #534831) !important; color: #fff0bc !important;
    border-color: #ad9160 !important; box-shadow: none !important;
}
body.sr-nostalgia .sr-page-main .accordion-button::after { filter: sepia(1) brightness(1.8); }
body.sr-nostalgia .sr-page-main :is(.text-primary, .text-info) { color: #765821 !important; }
body.sr-nostalgia .sr-page-main .text-secondary { color: #79613b !important; }
body.sr-nostalgia .sr-page-main .badge:is(.bg-dark, .bg-secondary, .bg-primary, .bg-info) {
    background: #796747 !important; color: #fff4d2 !important; border: 1px solid #a88d57;
}
body.sr-nostalgia :is(.market-item-card, .item-tooltip-static, .game-chest-section,
    .web-chest-section, .vip-chest-section, .gold-transfer-section, .storage-container,
    .modal-content, .toast) {
    color: var(--sr-ink) !important; background: #eedcaf !important;
    border: 1px solid #ad9160 !important; border-radius: 4px !important;
    box-shadow: 0 2px 7px #6d56312b !important;
}
body.sr-nostalgia :is(.market-item-title, .item-details-title, .game-chest-section h2,
    .web-chest-section h2, .vip-chest-section h2, .gold-transfer-section h2) {
    color: #65502d !important; font-family: Georgia, serif; text-shadow: none !important;
}
body.sr-nostalgia :is(.market-item-card, .market-section) :is(.item-name, .market-item-opt) { color: #493b29 !important; }
body.sr-nostalgia :is(.market-item-card, .market-section) .item-name-rare {
    color: #885c05 !important; text-shadow: none !important;
}
body.sr-nostalgia .market-item-iconbox { background: #7d6946 !important; border-color: #a38a56 !important; }
body.sr-nostalgia .market-item-vip { color: #77500c !important; background: #e7cd8f !important; border-color: #b49654 !important; }
body.sr-nostalgia :is(.chest-tip, .pagination-arrows > span, .last-updated) { color: #79613b !important; }
body.sr-nostalgia :is(.last-updated span, .empty-state-message p, .web-chest-section > p) { color: #79613b !important; }
body.sr-nostalgia .empty-state-message { background: #f2dfb0 !important; color: #79613b !important; border-color: #ac8e55 !important; }
body.sr-nostalgia .gold-box { background: #e3cc98 !important; border-color: #b29964 !important; box-shadow: none !important; }
body.sr-nostalgia .gold-box h4 { color: #65502d !important; }
body.sr-nostalgia :is(.gold-box p, .gold-arrow, .gold-text, #feeResult, #sellForm > p, #sellForm .tt-gold) {
    color: #885c05 !important; text-shadow: none !important;
}
body.sr-nostalgia .sr-page-main input[type='number'] {
    background: #fbefcc !important; color: #493820 !important; border: 1px solid #aa8e57 !important;
}
body.sr-nostalgia .sr-page-main input[type='number']:focus { outline: 2px solid #6e865f; outline-offset: 1px; }
body.sr-nostalgia .grid-container { background: #9c8559 !important; border-color: #ad9160 !important; }
body.sr-nostalgia .chest-style-vip { background: #e6cf98 !important; border-color: #ad9160 !important; }
body.sr-nostalgia .chest-style-vip .chest-tip { color: #79613b !important; }
body.sr-nostalgia .chest-style-vip .chest-tip span { color: #79613b !important; }
body.sr-nostalgia .sr-refresh-note { color: #79613b !important; }
body.sr-nostalgia .sr-refresh-note svg :is(circle, path) { stroke: #79613b; }
body.sr-nostalgia .grid-item { background: #786443 !important; border-color: #c5af75 !important; }
body.sr-nostalgia .empty-slot { background: #aa9265 !important; border-color: #786443 !important; }
body.sr-nostalgia .selected-slot { outline-color: #fff1b8 !important; }
body.sr-nostalgia :is(.item-tooltip, .item-tooltip-static) {
    color: #493b29 !important; background: #f5e6bd !important; border-color: #a88b52 !important;
    box-shadow: 0 3px 12px #4d3d2866 !important;
}
body.sr-nostalgia :is(.item-tooltip, .item-tooltip-static) :is(.tt-section, .tt-row) {
    border-color: #c4aa73 !important; background: transparent !important;
}
body.sr-nostalgia :is(.item-tooltip, .item-tooltip-static) :is(.tt-row, .tt-row > span, .tt-white, .stat-section-title.white) { color: #493b29 !important; }
/* Blue magic stats and gold rarity remain recognizable, with parchment contrast. */
body.sr-nostalgia :is(.item-tooltip, .item-tooltip-static) :is(.tt-blue, .tt-blue > span, .stat-section-title.blue) { color: #235d82 !important; }
body.sr-nostalgia :is(.item-tooltip, .item-tooltip-static) .tt-blue { border-left-color: #52728b !important; }
body.sr-nostalgia :is(.item-tooltip, .item-tooltip-static) :is(b, .tt-gold) { color: #885c05 !important; text-shadow: none !important; }
body.sr-nostalgia .item-tooltip .sr-shop-id { color: #65502d; }
body.sr-nostalgia .item-tooltip .sr-shop-id > span { color: #6b4407; font-weight: 700; text-shadow: none; }
body.sr-nostalgia .leaderboard-table { width: 100%; background: #eedcaf !important; color: #493b29 !important; }
body.sr-nostalgia .leaderboard-table tbody tr:nth-child(odd) { background: #f1dfb3 !important; }
body.sr-nostalgia .leaderboard-table tbody tr:nth-child(even) { background: #e2cb97 !important; }
body.sr-nostalgia .leaderboard-table tbody tr:hover { background: #d9c18b !important; box-shadow: none !important; transform: none !important; }
body.sr-nostalgia .leaderboard-table :is(.name-cell, .stat, .empty-row, .stat-zero, .guild-cell.none) { color: #58462d !important; text-shadow: none !important; }
body.sr-nostalgia .leaderboard-table span[style*='color:#16e716'] { color: #37682e !important; }
body.sr-nostalgia .leaderboard-table span[style*='color:#e74141'] { color: #9b3d2f !important; }
body.sr-nostalgia .leaderboard-table td.rank-badge { color: #755a20 !important; text-shadow: none !important; }
body.sr-nostalgia .leaderboard-table td.rank-badge.top2 { color: #5c5c4c !important; }
body.sr-nostalgia .leaderboard-table td.rank-badge.top3 { color: #865127 !important; }
body.sr-nostalgia :is(.modal-header, .modal-body, .modal-footer, .toast-body) { background: transparent !important; color: #493b29 !important; border-color: #b29964 !important; }
body.sr-nostalgia :is(#vipModalMessage b, #liveToast .toast-body) { color: #65502d !important; }
body.sr-nostalgia #liveToast .btn-close { filter: none !important; }
body.sr-nostalgia .modal-content .close { color: #65502d !important; text-shadow: none !important; }
body.sr-nostalgia :is(#vipModalCancel, .btn-secondary, .btn-outline-dark, .arrow-btn, #CalcFeeBtn) {
    color: #fff9df !important; border: 1px solid #746841 !important;
    background: linear-gradient(#9b8b59, #625634) !important; box-shadow: none !important;
}
body.sr-nostalgia .sr-page-main .btn-primary { color: #fff9df !important; border-color: #746841 !important; background: linear-gradient(#9b8b59, #625634) !important; }
body.sr-nostalgia .sr-page-main :is(.btn-info, .btn-outline-info) { color: #fff9df !important; border-color: #626e42 !important; background: linear-gradient(#8c9b62, #59643d) !important; }
body.sr-nostalgia .sr-page-main .btn-warning { color: #4d391d !important; border-color: #ae8b41 !important; background: linear-gradient(#e7cc88, #c5a361) !important; }
body.sr-nostalgia .btn:focus-visible { box-shadow: 0 0 0 3px #6e865f55 !important; }
body.sr-nostalgia .card.border-success { border-color: #768249 !important; }
body.sr-nostalgia .card.border-danger { border-color: #a57050 !important; }
body.sr-nostalgia .schedule-info { color: #58462d !important; background: #e2cb97 !important; border: 1px solid #b29964; }
body.sr-nostalgia .schedule-info .list-inline-item { background: #e2cb97 !important; color: #493b29 !important; border: 1px solid #b29964 !important; }
body.sr-nostalgia .schedule-info .list-inline-item:hover { background: #d9c18b !important; }
body.sr-nostalgia .sr-filter-chip { color: #58462d !important; background: #e2cb97 !important; border-color: #b29964 !important; }
body.sr-nostalgia .sr-filter-chip a { color: #735728 !important; }
body.sr-nostalgia :is(.login-callout, .login-btn, .login-icon) { box-shadow: none !important; text-shadow: none !important; }
body.sr-nostalgia .login-icon { animation: none !important; color: #f5dea8 !important; }
body.sr-nostalgia .gold-transfer-section,
body.sr-nostalgia :is(.game-chest-section, .web-chest-section, .vip-chest-section) { min-width: 0; max-width: 100%; }
body.sr-nostalgia .chests-flex-wrap { gap: 24px; }
body.sr-nostalgia .gold-balances, body.sr-nostalgia .gold-transfer-row { flex-wrap: wrap; justify-content: center; }
/* One bounded seasonal layer: no click interception and no per-frame JS work. */
body.sr-nostalgia .sr-season-particles { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 1200; }
body.sr-nostalgia .sr-season-particle {
    position: absolute; top: -48px; line-height: 1; pointer-events: none; user-select: none;
    animation: sr-season-fall var(--sr-fall-duration) var(--sr-fall-delay) linear infinite;
}
body.sr-nostalgia .sr-season-particle.bat { font-size: 25px; opacity: .85; filter: drop-shadow(0 1px 2px #fff3c7); }
body.sr-nostalgia .sr-season-particle.snowflake { color: #fff; opacity: .9; text-shadow: 0 1px 3px #54452d, 0 0 3px #fff; }
body.sr-nostalgia .sr-season-particle.ember { width: 3px; height: 3px; border-radius: 50%; background: #d68b32; opacity: .7; }
body.sr-nostalgia.sr-animations-paused .sr-season-particle { animation-play-state: paused; }
@keyframes sr-season-fall {
    from { transform: translate3d(0, 0, 0) rotate(-8deg); }
    to { transform: translate3d(var(--sr-fall-drift), calc(100vh + 96px), 0) rotate(18deg); }
}
@media (max-width: 991px) {
    .sr-nostalgia .navbar-toggler { margin: 4px 10px; border-color: #b7a279; background: #53482e; }
    .sr-nostalgia .navbar-nav { padding: 4px 10px 10px; }
    .sr-nostalgia .navbar-collapse.show .navbar-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sr-nostalgia .dropdown-menu { position: absolute; }
}
@media (min-width: 955px) and (max-width: 991px) {
    .sr-nostalgia .navbar-toggler { display: none; }
    .sr-nostalgia .navbar-collapse { display: flex !important; }
    .sr-nostalgia .navbar-nav { padding: 0; flex-direction: row; }
}
@media (max-width: 700px) {
    .sr-topbar { gap: 3px; align-items: flex-start; padding: 6px !important; }
    .sr-wordmark { width: 168px; padding: 0; }
    .sr-wordmark img { width: 168px; height: 58px; }
    .sr-account-links { gap: 4px; }
    .sr-account-button { padding: 3px 6px; }
    .sr-account-help { margin: 0; width: 100%; font-size: 10px; }
    .sr-server-clock { max-width: 180px; font-size: 10px; }
    #serverTimeClock { display: block; }
    .sr-hero { grid-template-columns: 1fr; }
    .sr-hero-art { height: 310px; }
    .sr-hero-art > img, .sr-hero-art > video { width: 746px; height: 340px; top: -30px; }
    .sr-hero-art > video.sr-video-padded { width: 746.781px; height: 340.781px; }
    .sr-animation-toggle { top: 280px; bottom: auto; }
    .sr-hero-side { padding: 10px; display: grid; grid-template-columns: 1fr; }
    .sr-download-banner { height: 110px; }
    .sr-preview-content { min-height: 180px; }
    .sr-preview-art { padding: 12px; }
    .sr-inner-main, .sr-home-body {
        padding: 32px 25px 42px; margin-left: 0; margin-right: 0;
        background-size: 100% auto, 100% auto, 24px 40px, 17px 40px;
    }
    .sr-home-body .carousel-item img { height: 220px; }
    .sr-home-body .carousel-caption h2 { font-size: 18px; }
    .sr-home-body .carousel-caption p { font-size: 11px; }
    .sr-nostalgia .market-section { overflow-x: auto; }
    .sr-nostalgia .sr-inner-main > .container { width: 100%; }
    body.sr-nostalgia :is(.game-chest-section, .web-chest-section, .vip-chest-section, .gold-transfer-section) { padding: 12px; }
    body.sr-nostalgia .grid-container { grid-template-columns: repeat(6, 42px); gap: 4px; padding: 8px; }
    body.sr-nostalgia .grid-item { width: 42px; height: 42px; }
    body.sr-nostalgia .grid-item img { max-width: 38px; max-height: 38px; }
    body.sr-nostalgia .empty-slot { width: 36px; height: 36px; }
    body.sr-nostalgia .modal-content { min-width: 0; max-width: 95vw; }
    body.sr-nostalgia .server-info .accordion-button { flex-wrap: wrap; gap: 4px; }
    body.sr-nostalgia .server-info .accordion-button .badge { margin: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
    .sr-nostalgia *, .sr-nostalgia *::before, .sr-nostalgia *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
