body {
    background: radial-gradient(120% 80% at 50% 10%, #0f172a 0%, #0a0f1d 40%, #070c14 100%);
    color: #e6e9f0;
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    position: relative;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("https://s3.onlythe.net/ogg/media/bg_arkasa.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}
body > * {
    position: relative;
    z-index: 1;
}
/* Keep Bootstrap form fields aligned with the site's dark surface. */
.form-control,
.form-select {
    background-color: rgba(7, 12, 20, .7);
    border-color: rgba(255, 255, 255, .16);
    color: #e6e9f0;
}
.form-control::placeholder {
    color: #b8c2d9;
    opacity: 1;
}
.form-control:focus,
.form-select:focus {
    background-color: rgba(7, 12, 20, .85);
    border-color: #3b82f6;
    color: #e6e9f0;
    box-shadow: 0 0 0 .2rem rgba(59, 130, 246, .2);
}
.form-select option {
    background-color: #070c14;
    color: #e6e9f0;
}
.form-control::file-selector-button {
    background-color: rgba(255, 255, 255, .08);
    color: #e6e9f0;
}
.form-check-input {
    background-color: rgba(7, 12, 20, .7);
    border-color: rgba(255, 255, 255, .24);
}
.ticket-message {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
}
.ticket-message-admin {
    background: linear-gradient(135deg, rgba(59, 130, 246, .22), rgba(23, 44, 79, .42));
    border-color: rgba(96, 165, 250, .45);
    box-shadow: inset 3px 0 0 #60a5fa;
}
main.container {
    border-radius: 12px;
}
.site-navbar {
    position: relative;
    z-index: 1030;
    padding: .65rem 0;
    background: linear-gradient(135deg, #090304 0%, #21070b 52%, #0b0304 100%);
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid rgba(141, 220, 255, .13);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .2);
}
.site-navbar::after {
    content: "";
    position: absolute;
    right: 12%;
    bottom: -1px;
    left: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 38, 58, .95), transparent);
    box-shadow: 0 0 12px rgba(255, 38, 58, .45);
}
.site-navbar-inner { min-height: 76px; }
.site-brand { display: flex; align-items: center; gap: .8rem; padding: 0; color: #fff; }
.site-logo-wrap {
    position: relative;
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    flex: 0 0 auto;
    border: 0;
    border-radius: 18px;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}
.site-brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.site-brand-copy strong { font-size: 1rem; letter-spacing: .035em; }
.site-brand-copy small { max-width: 360px; margin-top: .35rem; color: #8fa1ba; font-size: .62rem; font-weight: 600; line-height: 1.35; letter-spacing: .035em; }
.site-nav-list {
    align-items: center;
    gap: .2rem;
    padding: .35rem;
    border: 1px solid rgba(255, 92, 105, .3);
    border-radius: 999px;
    background: radial-gradient(circle at 50% 50%, rgba(145, 28, 42, .62) 0%, rgba(55, 10, 17, .86) 40%, #000 78%);
    box-shadow: inset 0 0 22px rgba(255, 77, 91, .12), 0 8px 24px rgba(0, 0, 0, .3);
}
.site-nav-list .nav-link {
    position: relative;
    padding: .62rem .85rem !important;
    border-radius: 999px;
    color: #cbd4e2;
    font-size: .82rem;
    font-weight: 600;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
.site-nav-list .nav-link:hover { color: #fff; background: rgba(255, 77, 91, .14); transform: translateY(-1px); }
.site-nav-list .nav-link.active:not(.nav-link-panel):not(.nav-link-login) { color: #fff; background: rgba(190, 35, 52, .34); box-shadow: inset 0 0 0 1px rgba(255, 92, 105, .34), 0 0 14px rgba(255, 38, 58, .12); }
.site-nav-list .nav-link-panel,
.site-nav-list .nav-link-login {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    background: rgba(190, 35, 52, .24);
    box-shadow: inset 0 0 0 1px rgba(255, 92, 105, .38);
}
.site-nav-list .nav-link-login {
    background: rgba(59, 130, 246, .24);
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .45), 0 0 14px rgba(59, 130, 246, .1);
}
.site-navbar .dropdown-menu {
    z-index: 1060;
}
.section-title {
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #e6e9f0;
}
.card {
    background: rgba(16, 21, 34, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: none;
}
#olderNewsAccordion {
    --bs-accordion-color: #e6e9f0;
    --bs-accordion-bg: rgba(8, 11, 19, 0.45);
    --bs-accordion-border-color: rgba(255, 255, 255, 0.1);
    --bs-accordion-btn-color: #e6e9f0;
    --bs-accordion-btn-bg: rgba(16, 21, 34, 0.8);
    --bs-accordion-active-color: #7ad7ff;
    --bs-accordion-active-bg: rgba(30, 41, 64, 0.9);
    --bs-accordion-btn-focus-border-color: #3b82f6;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.2);
}
#olderNewsAccordion .accordion-item {
    overflow: hidden;
    border-radius: 12px;
}
#olderNewsAccordion .accordion-button {
    font-weight: 600;
}
#olderNewsAccordion .accordion-button::after {
    filter: brightness(0) invert(1);
}
#olderNewsAccordion .accordion-body {
    background: rgba(8, 11, 19, 0.35);
}
.table {
    color: #e6e9f0;
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.04);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}
.table thead {
    color: #e6e9f0;
    border-color: rgba(255, 255, 255, 0.12);
}
.table > :not(caption) > * > * {
    background-color: transparent;
}
.table > :not(caption) > * {
    border-color: #3b82f6;
}
.table th, .table td {
    color: #e6e9f0 !important;
}
.table-no-bottom-border > :not(caption) > :last-child > * {
    border-bottom: 0 !important;
}
.badge-pill {
    border-radius: 999px;
}
.badge {
    color: #e6e9f0;
}
.card, .card p, .card h5 {
    color: #e6e9f0;
}
.lead {
    color: #e6e9f0;
    font-size: 1rem;
    font-weight: 400;
}
.text-secondary {
    color: #e6e9f0 !important;
}
.nav-link {
    color: #e6e9f0;
}
.nav-link:hover {
    color: #8ddcff;
}
.nav-link-login {
    color: #8dc5ff !important;
}
.site-nav-list .nav-link-login:hover,
.site-nav-list .nav-link-login:focus {
    color: #ffffff !important;
    background: rgba(37, 99, 235, .42);
    box-shadow: inset 0 0 0 1px rgba(125, 190, 255, .65), 0 0 16px rgba(59, 130, 246, .28);
}
.nav-link-panel,
.nav-link-panel:visited,
.nav-link-panel.active {
    color: #42ff00 !important;
    background: rgba(66, 255, 0, .11) !important;
    box-shadow: inset 0 0 0 1px rgba(66, 255, 0, .32) !important;
}
.nav-link-panel:hover,
.nav-link-panel:focus {
    color: #80ff66 !important;
    background: rgba(66, 255, 0, .17) !important;
}
.nav-link-register,
.nav-link-register:visited,
.nav-link-register.active {
    color: #FF4D4D !important;
}
.nav-link-register:hover,
.nav-link-register:focus {
    color: #ff7777 !important;
}
.navbar .dropdown-menu {
    background: rgba(10, 15, 26, 0.98);
    border: 1px solid rgba(255, 92, 105, 0.32);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.navbar .dropdown-item {
    color: #e6e9f0;
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: rgba(190, 35, 52, 0.28);
    color: #ffffff;
}
.navbar .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.15);
}
.navbar .mod-panel-dropdown {
    border-color: rgba(66, 255, 0, .34);
    background: linear-gradient(145deg, rgba(8, 30, 12, .98), rgba(5, 15, 8, .99));
    box-shadow: 0 12px 32px rgba(0, 0, 0, .4), inset 0 0 18px rgba(66, 255, 0, .05);
}
.navbar .mod-panel-dropdown .dropdown-item:hover,
.navbar .mod-panel-dropdown .dropdown-item:focus {
    color: #dfffd6;
    background: rgba(66, 255, 0, .14);
}
.banner-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
@media (max-width: 1199.98px) {
    .site-brand-copy { display: none; }
}
@media (max-width: 991.98px) {
    .site-navbar { padding: .5rem 0; }
    .site-navbar-inner { min-height: 62px; }
    .site-logo-wrap { width: 58px; height: 58px; border-radius: 15px; }
    .banner-img { max-width: 100%; max-height: 100%; }
    .site-brand-copy { display: flex; }
    .site-navbar .navbar-collapse { padding-top: .85rem; }
    .site-nav-list { align-items: stretch; gap: .25rem; padding: .6rem; border-radius: 18px; }
    .site-nav-list .nav-link { padding: .75rem 1rem !important; }
    .site-navbar .dropdown-menu { margin-top: .25rem; }
}
hr {
    border-color: #3b82f6;
    opacity: 1;
}
.right-card {
    border-left: 3px solid #3b82f6;
}
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 11, 19, 0.65);
    color: #b8c2d9;
}
.footer a {
    color: #7ad7ff;
    font-weight: 600;
    text-decoration: none;
}
.footer a:hover,
.footer a:focus {
    color: #b6ecff;
    text-decoration: underline;
}
.connect-policy-link {
    color: #7ad7ff;
    font-weight: 700;
    text-decoration: none;
}
.connect-policy-link:hover,
.connect-policy-link:focus {
    color: #b6ecff;
    text-decoration: underline;
}
.accent {
    color: #3b82f6;
}
.discord-member-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.25rem;
}
.member {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.32rem 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1;
}
.member img {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.member span {
    color: #e6e9f0;
    font-size: 0.84rem;
    font-weight: 600;
}
.discordOnline {
    border-left: 2px solid #42FF00;
}
.discordIdle {
    border-left: 2px solid #F6FF00;
}
.discordDoNotDisturb {
    border-left: 2px solid #FF0000;
}
.discordOffline {
    border-left: 2px solid #9CA3AF;
}
.legend {
    margin-top: 0.5rem;
    font-size: 0.78rem;
    line-height: 1.2;
}
.gservertable {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.gservertable th,
.gservertable td {
    vertical-align: middle;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.55rem;
    font-size: 0.8rem;
    line-height: 1.35;
    color: #e6e9f0;
    text-align: center;
}
.gservertable th {
    vertical-align: middle;
}
.gservertable th {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.06);
}
.gservertable a {
    color: #8ddcff;
    text-decoration: none;
}
.gservertable a:hover {
    text-decoration: underline;
}
.discord-members-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.discord-members-table th,
.discord-members-table td {
    vertical-align: middle;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.55rem;
    font-size: 0.8rem;
    line-height: 1.35;
    color: #e6e9f0;
    text-align: center;
}
.discord-members-table th {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.06);
}
.discord-members-grid-wrap {
    display: flex;
    justify-content: center;
}
.discord-members-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
    width: min(100%, 1100px);
}
.discord-member-tile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.55rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
}
.discord-member-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: #e6e9f0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.discord-member-name-link,
.discord-member-name-link:visited {
    font-size: 0.84rem;
    font-weight: 600;
    color: #e6e9f0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}
.discord-member-name-link:hover,
.discord-member-name-link:focus {
    color: #e6e9f0;
    text-decoration: underline;
}
.share-table .col-file { width: 43%; }
.share-table .col-shared-by { width: 14%; }
.share-table .col-privacy { width: 15%; }
.share-table .col-expires { width: 14%; }
.share-table .col-actions { width: 24%; white-space: nowrap; }
.profile-shell {
    border: 1px solid rgba(124, 182, 255, 0.25);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.9), rgba(10, 15, 26, 0.92));
}
.profile-header {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}
.profile-avatar-wrap {
    flex: 0 0 auto;
}
.profile-avatar {
    width: 128px;
    height: 128px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid rgba(141, 220, 255, 0.45);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.18);
}
.profile-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #c9d5ec;
    background: rgba(255, 255, 255, 0.08);
}
.profile-title-wrap {
    min-width: 280px;
    flex: 1 1 auto;
}
.profile-subtitle {
    color: #a9b6d3;
    font-size: 0.95rem;
}
.profile-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.profile-chip {
    border-radius: 999px;
    padding: 0.26rem 0.72rem;
    font-size: 0.78rem;
    background: rgba(124, 182, 255, 0.12);
    border: 1px solid rgba(124, 182, 255, 0.3);
    color: #dce8ff;
}
.profile-chip-joined {
    background: rgba(66, 255, 0, 0.14);
    border: 1px solid rgba(66, 255, 0, 0.45);
    color: #d9ffd1;
}
.profile-panel {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
}
.profile-panel-title {
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #e9f2ff;
}
.profile-presence-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.profile-presence-row:last-child {
    border-bottom: 0;
}
.profile-key {
    color: #9fb0d3;
}
.profile-value {
    text-align: right;
    color: #eef4ff;
    word-break: break-word;
}
.profile-id-link,
.profile-id-link:visited {
    color: var(--bs-code-color, #d63384);
    font-size: 0.875em;
    text-decoration: underline;
}
.profile-id-link:hover,
.profile-id-link:focus {
    color: var(--bs-code-color, #d63384);
    text-decoration: none;
}
.profile-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.4rem;
    vertical-align: baseline;
    background: #9ca3af;
}
.profile-status-online { background: #42ff00; }
.profile-status-idle { background: #f6ff00; }
.profile-status-dnd { background: #ff4d4d; }
.profile-status-offline { background: #9ca3af; }
.profile-status-unavailable { background: #9ca3af; }
.discord-member-tile.discordOnline {
    border-left: 2px solid #42FF00;
}
.discord-member-tile.discordIdle {
    border-left: 2px solid #F6FF00;
}
.discord-member-tile.discordDoNotDisturb {
    border-left: 2px solid #FF0000;
}
.discord-member-tile.discordOffline {
    border-left: 2px solid #9CA3AF;
}
.discord-members-section .legend {
    text-align: center;
}
.game-server-section {
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.game-server-section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.game-server-header {
    display: block;
}
.game-server-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #e6e9f0;
}
.game-server-title a {
    color: inherit;
    text-decoration: none;
}
.game-server-title a:hover {
    text-decoration: underline;
}
.steam-widget {
    max-width: 100%;
    overflow-x: auto;
}
.steam-widget iframe {
    max-width: 100%;
    display: block;
}
.game-identity-panel { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; padding: 1rem 1.25rem; border: 1px solid rgba(255,255,255,.1); border-radius: .7rem; background: rgba(0,0,0,.2); }
.steam-purchase-link { display: flex; align-items: center; gap: .75rem; min-width: 250px; padding: .7rem .85rem; border: 1px solid rgba(122,215,255,.3); border-radius: 12px; color: #fff; background: linear-gradient(135deg, rgba(27,94,148,.75), rgba(11,35,58,.92)); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 8px 24px rgba(0,0,0,.24); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.steam-purchase-link:hover { color: #fff; border-color: #7ad7ff; box-shadow: inset 0 1px rgba(255,255,255,.1), 0 10px 30px rgba(35,111,176,.28); transform: translateY(-2px); }
.steam-purchase-icon { display: grid; width: 38px; height: 38px; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #07111c; background: #7ad7ff; font-size: 1.1rem; }
.steam-purchase-link > span:nth-child(2) { display: flex; min-width: 0; flex: 1; flex-direction: column; line-height: 1.15; }
.steam-purchase-link small { color: #a9c5dd; font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.steam-purchase-link strong { margin-top: .2rem; font-size: .85rem; }
.steam-purchase-arrow { color: #7ad7ff; font-size: 1.15rem; }
.server-card-list { display: grid; gap: 1rem; }
.server-list-card { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(340px, 1.25fr); overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: .75rem; background: rgba(15,18,24,.92); }
.server-list-card .server-detail-map-panel { min-height: 285px; }
.server-list-card .server-detail-summary { padding: 1.5rem; }
.server-list-card .server-detail-summary h3 { margin: 0; font-size: 1.15rem; }
.server-list-card .server-detail-summary h3 a { color: inherit; text-decoration: none; }
.server-list-card .server-detail-summary h3 a:hover { color: #8ddcff; }
@media (max-width: 767.98px) {
    .game-identity-panel { align-items: flex-start; flex-direction: column; }
    .steam-purchase-link { width: 100%; }
    .server-list-card { grid-template-columns: 1fr; }
    .server-list-card .server-detail-map-panel { min-height: 220px; }
}
.col-server-name {
    width: 34%;
}
.col-server-status {
    width: 12%;
}
.col-server-connect {
    width: 24%;
}
.col-server-map {
    width: 22%;
}
.col-server-players {
    width: 8%;
}
.server-map-cell {
    text-align: center;
}
.server-map-image {
    width: 200px;
    height: 150px;
    min-width: 200px;
    min-height: 150px;
    max-width: 200px;
    max-height: 150px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}

.server-detail-eyebrow { color: #f0b429; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.server-detail-live { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(340px, 1.2fr); overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: .75rem; background: rgba(15,18,24,.92); }
.server-detail-loading { grid-column: 1 / -1; padding: 3rem; text-align: center; }
.server-detail-map-panel { position: relative; min-height: 330px; background: #111; }
.server-detail-map-panel img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.server-detail-map-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.9)); }
.server-detail-map-caption { position: absolute; z-index: 1; left: 1.5rem; right: 1.5rem; bottom: 1.4rem; display: flex; flex-direction: column; }
.server-detail-map-caption span, .server-detail-stats span, .server-connect-box span { color: #9ca3af; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.server-detail-map-caption strong { font-size: 1.2rem; }
.server-detail-summary { padding: clamp(1.5rem, 4vw, 2.5rem); }
.server-detail-summary h2 { font-size: 1.35rem; margin: 0; }
.server-detail-status { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .7rem; border-radius: 999px; background: rgba(255,255,255,.08); font-size: .8rem; font-weight: 700; }
.server-detail-status i { width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.server-detail-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 2rem 0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: .5rem; overflow: hidden; }
.server-detail-stats > div { display: flex; flex-direction: column; gap: .25rem; padding: 1rem; background: #171b22; }
.server-detail-stats strong { font-size: 1.15rem; }
.server-connect-box { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border-radius: .5rem; background: rgba(0,0,0,.22); }
.server-connect-box > div { display: flex; min-width: 0; flex-direction: column; }
.server-connect-box code { overflow-wrap: anywhere; color: inherit; }
.server-details-content { line-height: 1.75; }
.server-page-details > :last-child { margin-bottom: 0; }
.content-bullet-list { margin: .75rem 0; padding-left: 1.35rem; }
.content-bullet-list li { margin-bottom: .35rem; padding-left: .2rem; }
.content-bullet-list li::marker { color: #7ad7ff; }

/* News archive */
.news-archive-count {
    padding: .45rem .75rem;
    border: 1px solid rgba(240, 180, 41, .3);
    border-radius: 999px;
    color: #f0c766;
    background: rgba(240, 180, 41, .08);
    font-size: .72rem;
    font-weight: 700;
}
.news-featured {
    position: relative;
    overflow: hidden;
    border-color: rgba(240, 180, 41, .2);
    background: radial-gradient(circle at 100% 0, rgba(240, 180, 41, .1), transparent 34%), rgba(16, 21, 34, .75);
}
.news-featured::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #f0b429, rgba(240, 180, 41, .1));
}
.news-featured-label {
    color: #f0b429;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.news-post-date { color: #aeb8c8; font-size: .76rem; }
.news-featured h2 a { color: inherit; text-decoration: none; }
.news-featured h2 a:hover { color: #8ddcff; }
.news-featured-details { color: #d7deea; line-height: 1.75; }
.news-archive-list .list-group {
    --bs-list-group-border-color: rgba(255, 255, 255, .09);
    --bs-list-group-action-hover-color: #b9dcf7;
    --bs-list-group-action-hover-bg: rgba(35, 74, 112, .22);
    --bs-list-group-action-active-color: #b9dcf7;
    --bs-list-group-action-active-bg: rgba(35, 74, 112, .28);
}
.news-archive-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem .25rem;
    border-right: 0;
    border-left: 0;
    color: #e6e9f0;
    background: transparent;
}
.news-archive-link:hover,
.news-archive-link:focus {
    color: #b9dcf7 !important;
    background-color: rgba(35, 74, 112, .22) !important;
}
.news-archive-link span { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.news-archive-link time { color: #9ca8ba; font-size: .74rem; }
.news-archive-link b { color: #7ad7ff; font-size: 1.1rem; }
@media (max-width: 575.98px) {
    .news-archive-link { grid-template-columns: minmax(0, 1fr) auto; gap: .35rem .75rem; }
    .news-archive-link time { grid-column: 1; grid-row: 2; }
    .news-archive-link b { grid-column: 2; grid-row: 1 / span 2; }
}

/* Donations */
.donation-page { --donation-accent: #42ff00; --donation-blue: #59b7ff; }
.donation-hero { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; overflow: hidden; padding: clamp(2rem, 5vw, 4.5rem); border: 1px solid rgba(89,183,255,.2); border-radius: 24px; background: radial-gradient(circle at 15% 25%, rgba(35,111,176,.35), transparent 40%), linear-gradient(135deg, rgba(9,17,30,.97), rgba(5,8,14,.96)); box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.donation-hero::after { content: "♥"; position: absolute; left: 36%; bottom: -7rem; color: rgba(89,183,255,.035); font-size: 25rem; line-height: 1; transform: rotate(-12deg); pointer-events: none; }
.donation-hero-copy, .donation-checkout-panel { position: relative; z-index: 1; }
.donation-kicker { display: block; color: #7ad7ff; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.donation-hero-copy h1 { max-width: 700px; margin: .65rem 0 1rem; font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 700; line-height: .98; letter-spacing: -.045em; }
.donation-hero-copy > p { max-width: 650px; color: #b9c5d7; font-size: 1.05rem; line-height: 1.7; }
.donation-trust-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.donation-trust-row span { padding: .45rem .7rem; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #cbd5e1; background: rgba(255,255,255,.04); font-size: .72rem; font-weight: 600; }
.donation-checkout-panel { padding: 1.5rem; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.06); box-shadow: inset 0 1px rgba(255,255,255,.06), 0 20px 50px rgba(0,0,0,.25); backdrop-filter: blur(12px); }
.donation-checkout-panel h2 { font-size: 1.25rem; }
.donation-heart { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #0c1620; background: var(--donation-accent); box-shadow: 0 0 24px rgba(66,255,0,.25); }
.donation-amount-wrap { display: flex; align-items: center; border: 1px solid rgba(122,215,255,.3); border-radius: 10px; background: rgba(0,0,0,.35); overflow: hidden; }
.donation-amount-wrap span { padding: 0 1rem; color: #8fa1ba; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.donation-amount-wrap input { width: 100%; padding: .9rem 1rem .9rem 0; border: 0; outline: 0; color: #fff; background: transparent; font-size: 1.35rem; font-weight: 700; }
.donation-quick-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: .65rem; }
.donation-quick-amounts button { padding: .45rem; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; color: #dce6f3; background: rgba(255,255,255,.04); font-size: .8rem; font-weight: 700; }
.donation-quick-amounts button:hover { border-color: #7ad7ff; color: #fff; background: rgba(89,183,255,.12); }
.donation-stripe-btn { color: #071006; background: var(--donation-accent); font-weight: 700; }
.donation-stripe-btn:hover { color: #071006; background: #78ff4a; }
.donation-paypal-btn { color: #fff; background: #0879c9; font-weight: 700; }
.donation-paypal-btn:hover { color: #fff; background: #1597ec; }
.donation-unavailable { padding: 1rem; border-radius: 10px; color: #b9c5d7; background: rgba(0,0,0,.25); }
.donation-costs { padding: clamp(1.5rem, 3vw, 2rem) 0; }
.donation-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.25rem; }
.donation-section-heading h2 { margin: .25rem 0 0; font-size: clamp(1.35rem, 3vw, 2rem); }
.donation-section-heading > p { max-width: 480px; margin: 0; color: #9eacbf; text-align: right; }
.donation-section-heading.compact { align-items: center; }
.donation-cost-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.donation-cost-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1.25rem; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(12,18,29,.82); }
.donation-cost-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 12px; color: #7ad7ff; background: rgba(89,183,255,.12); font-size: 1.4rem; }
.donation-cost-copy h3 { margin: 0 0 .25rem; font-size: 1rem; }
.donation-cost-copy p { margin: 0; color: #9eacbf; font-size: .78rem; line-height: 1.45; }
.donation-cost-card > strong { color: var(--donation-accent); font-size: 1.05rem; white-space: nowrap; }
.donation-community-card { height: 100%; }
.donation-table { margin-bottom: 0; }
.donation-value { display: inline-block; padding: .35rem .65rem; border-radius: 999px; color: #baffaa; background: rgba(66,255,0,.09); font-weight: 700; }
.donation-disclaimer { display: flex; gap: 1rem; padding: 1.5rem; border: 1px solid rgba(255,193,7,.2); border-radius: 16px; background: linear-gradient(145deg, rgba(62,48,11,.34), rgba(15,18,24,.85)); }
.donation-disclaimer-icon { display: grid; width: 38px; height: 38px; place-items: center; flex: 0 0 auto; border: 1px solid rgba(255,193,7,.4); border-radius: 50%; color: #ffc107; font-family: serif; font-weight: 700; }
.donation-disclaimer h2 { margin: .35rem 0 .7rem; font-size: 1.15rem; }
.donation-disclaimer p { margin: 0; color: #b9c5d7; font-size: .85rem; line-height: 1.7; }
@media (max-width: 991.98px) { .donation-hero { grid-template-columns: 1fr; } }
@media (max-width: 767.98px) { .donation-hero { padding: 1.5rem; border-radius: 18px; } .donation-cost-grid { grid-template-columns: 1fr; } .donation-section-heading { align-items: flex-start; flex-direction: column; gap: .5rem; } .donation-section-heading > p { text-align: left; } }

/* Contact */
.contact-page { --contact-blue: #7ad7ff; --contact-green: #42ff00; }
.contact-intro { max-width: 820px; padding: 1.5rem 0 .5rem; }
.contact-kicker { display: block; color: var(--contact-blue); font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.contact-intro h1 { margin: .5rem 0 .75rem; font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.contact-intro p { max-width: 750px; margin: 0; color: #acb9cb; font-size: 1rem; line-height: 1.75; }
.contact-form-card { overflow: hidden; background: linear-gradient(145deg, rgba(18,27,43,.94), rgba(8,12,20,.94)); border-color: rgba(122,215,255,.16); }
.contact-form-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.09); }
.contact-form-heading h2 { margin: .3rem 0 0; font-size: 1.45rem; }
.contact-mail-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(122,215,255,.25); border-radius: 14px; color: var(--contact-blue); background: rgba(122,215,255,.08); font-size: 1.25rem; }
.contact-form .form-label { margin-bottom: .5rem; color: #e8edf5; font-size: .8rem; font-weight: 700; }
.contact-form .form-label span { margin-left: .35rem; color: #8190a5; font-size: .65rem; font-weight: 500; text-transform: uppercase; }
.contact-form .form-control, .contact-form .form-select { min-height: 48px; border-color: rgba(255,255,255,.12); border-radius: 10px; color: #eef3fa; background-color: rgba(0,0,0,.28); }
.contact-form textarea.form-control { min-height: 190px; padding: 1rem; resize: vertical; }
.contact-form .form-control:focus, .contact-form .form-select:focus { border-color: rgba(122,215,255,.65); background-color: rgba(0,0,0,.38); box-shadow: 0 0 0 .2rem rgba(59,130,246,.13); }
.contact-message-hint { color: #7e8da2; font-size: .68rem; }
.contact-verification { margin-top: 1rem; }
.contact-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.08); }
.contact-submit-row p { max-width: 390px; margin: 0; color: #8190a5; font-size: .72rem; line-height: 1.5; }
.contact-submit-btn { display: flex; align-items: center; gap: .75rem; padding: .75rem 1.15rem; color: #061005; background: var(--contact-green); font-weight: 700; white-space: nowrap; }
.contact-submit-btn:hover { color: #061005; background: #79ff4d; transform: translateY(-1px); }
.contact-side-stack { display: grid; gap: .85rem; height: 100%; }
.contact-info-card { display: flex; gap: 1rem; padding: 1.25rem; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(12,18,29,.82); }
.contact-info-card-accent { border-color: rgba(66,255,0,.18); background: linear-gradient(135deg, rgba(25,60,25,.35), rgba(12,18,29,.9)); }
.contact-info-number { color: var(--contact-blue); font-size: .68rem; font-weight: 700; letter-spacing: .08em; }
.contact-info-card h2 { margin: 0 0 .45rem; font-size: .95rem; }
.contact-info-card p { margin: 0; color: #9eacbf; font-size: .78rem; line-height: 1.65; }
.contact-privacy-note { align-self: end; padding: 1.25rem; border-radius: 14px; color: #cdd6e3; background: rgba(0,0,0,.28); }
.contact-privacy-note strong { font-size: .85rem; }
.contact-privacy-note p { margin: .35rem 0 .65rem; color: #8f9db0; font-size: .75rem; }
.contact-privacy-note a { color: var(--contact-blue); font-size: .75rem; font-weight: 600; text-decoration: none; }
.contact-privacy-note a:hover { text-decoration: underline; }
@media (max-width: 575.98px) { .contact-submit-row { align-items: stretch; flex-direction: column; } .contact-submit-btn { justify-content: center; width: 100%; } .contact-message-hint { display: none; } }

/* Contact v2 */
.contact-v2-shell { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; max-width: 860px; margin: 0 auto; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(16,21,34,.72); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.contact-v2-rail { position: relative; display: flex; min-height: 680px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(1.5rem,4vw,3rem); background: linear-gradient(155deg,#173f62 0%,#0b2439 55%,#07141f 100%); }
.contact-v2-rail::after { content: ""; position: absolute; right: -110px; bottom: -130px; width: 330px; height: 330px; border: 55px solid rgba(122,215,255,.07); border-radius: 50%; }
.contact-v2-label { color: #83dbff; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.contact-v2-rail h1 { max-width: 390px; margin: .7rem 0 1rem; font-size: clamp(2.1rem,4vw,3.5rem); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; }
.contact-v2-rail > div > p { max-width: 390px; color: #b8cad8; line-height: 1.7; }
.contact-v2-steps { position: relative; z-index: 1; display: grid; gap: 1.15rem; margin: 2rem 0; padding: 0; list-style: none; }
.contact-v2-steps li { display: flex; align-items: flex-start; gap: .85rem; }
.contact-v2-steps li > span { display: grid; width: 30px; height: 30px; place-items: center; flex: 0 0 auto; border: 1px solid rgba(131,219,255,.32); border-radius: 50%; color: #83dbff; font-size: .68rem; font-weight: 700; }
.contact-v2-steps div { display: flex; flex-direction: column; }
.contact-v2-steps strong { font-size: .84rem; }
.contact-v2-steps small { margin-top: .2rem; color: #94aabc; font-size: .7rem; line-height: 1.45; }
.contact-v2-rail-footer { position: relative; z-index: 1; display: flex; gap: .75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); }
.contact-v2-rail-footer p { display: flex; margin: 0; flex-direction: column; color: #8fa5b7; font-size: .68rem; }
.contact-v2-rail-footer strong { margin-bottom: .15rem; color: #dbe8f2; font-size: .76rem; }
.contact-v2-form-panel { padding: clamp(1.5rem,4vw,3rem); background: transparent; }
.contact-v2-form-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 2.25rem; }
.contact-v2-form-header h2 { margin: .35rem 0 0; font-size: clamp(1.5rem,3vw,2.1rem); }
.contact-v2-form-header a { color: #83dbff; font-size: .7rem; font-weight: 600; text-decoration: none; }
.contact-v2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-v2-field { margin-bottom: 1.35rem; }
.contact-v2-field label { display: flex; align-items: center; gap: .5rem; margin-bottom: .55rem; color: #dbe4ef; font-size: .77rem; font-weight: 700; }
.contact-v2-field label span { color: #5faed8; font-size: .6rem; letter-spacing: .05em; }
.contact-v2-field label em { margin-left: auto; color: #718096; font-size: .6rem; font-style: normal; font-weight: 500; text-transform: uppercase; }
.contact-v2-field .form-control,.contact-v2-field .form-select { min-height: 50px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: #edf4fb; background-color: rgba(4,8,14,.46); }
.contact-v2-field textarea.form-control { min-height: 210px; padding: 1rem; resize: vertical; }
.contact-v2-field .form-control:focus,.contact-v2-field .form-select:focus { border-color: #4aaee1; background-color: rgba(4,8,14,.65); box-shadow: 0 0 0 3px rgba(74,174,225,.11); }
.contact-v2-turnstile { margin: -.25rem 0 1.25rem; }
.contact-v2-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.08); }
.contact-v2-actions p { margin: 0; color: #77869a; font-size: .68rem; }
.contact-v2-send { display: flex; align-items: center; gap: 1rem; padding: .72rem .8rem .72rem 1.15rem; color: #061006; background: #42ff00; font-weight: 700; }
.contact-v2-send b { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 6px; background: rgba(0,0,0,.14); }
.contact-v2-send:hover { color: #061006; background: #76ff47; }
@media(max-width:991.98px){.contact-v2-shell{grid-template-columns:1fr}.contact-v2-rail{min-height:auto}.contact-v2-steps{grid-template-columns:repeat(3,1fr)}.contact-v2-rail-footer{margin-top:1rem}}
@media(max-width:767.98px){.contact-v2-page{padding-top:1.5rem!important}.contact-v2-shell{border-radius:14px}.contact-v2-steps,.contact-v2-grid{grid-template-columns:1fr}.contact-v2-steps{gap:.8rem}.contact-v2-rail{padding:1.5rem}.contact-v2-actions{align-items:stretch;flex-direction:column}.contact-v2-send{justify-content:space-between;width:100%}}

@media (max-width: 767.98px) {
    .server-detail-live { grid-template-columns: 1fr; }
    .server-detail-map-panel { min-height: 240px; }
    .server-connect-box { align-items: flex-start; }
    .server-connect-box { flex-direction: column; }
}

.server-player-list {
    grid-column: 1 / -1;
    padding: 1rem 0 0;
}

.server-player-list > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.server-detail-offline {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 108, 117, 0.5);
    border-radius: 0.5rem;
    color: #ffb3ba;
    background: rgba(220, 53, 69, 0.28);
    font-weight: 600;
}
.server-detail-live.server-detail-live-offline {
    display: block;
    padding: 1rem;
    border-color: rgba(220, 53, 69, 0.65);
    background: rgba(110, 18, 29, 0.72);
}
.server-map-name {
    margin-top: 0.35rem;
}
.server-status-online {
    color: #42FF00 !important;
    font-weight: 700;
}
.map-image {
    width: 200px;
    height: 150px;
    min-width: 200px;
    min-height: 150px;
    max-width: 200px;
    max-height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.35rem;
    display: block;
}

/* Random server widget */
.home-server-view-all {
    flex: 0 0 auto;
    color: #8ddcff;
    font-size: .72rem;
    font-weight: 600;
    text-decoration: none;
}
.home-server-view-all:hover { color: #fff; }
.home-server-display { min-width: 0; }
.home-server-widget {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: rgba(7, 11, 18, .55);
}
.home-server-map {
    position: relative;
    min-height: 165px;
    overflow: hidden;
    background: #090d13;
}
.home-server-map::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(4, 7, 12, .9));
    pointer-events: none;
}
.home-server-map .map-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
}
.home-server-map-label {
    position: absolute;
    z-index: 1;
    right: .8rem;
    bottom: .7rem;
    left: .8rem;
    overflow: hidden;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    text-overflow: ellipsis;
    text-shadow: 0 1px 4px #000;
    white-space: nowrap;
}
.home-server-body { padding: 1rem; }
.home-server-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .65rem;
    color: #65e89b;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.home-server-status i {
    width: .48rem;
    height: .48rem;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px rgba(101, 232, 155, .65);
}
.home-server-name {
    margin: 0;
    overflow: hidden;
    color: #f4f7fb;
    font-size: 1rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-server-game { margin-top: .2rem; color: #9ca9bc; font-size: .75rem; }
.home-server-game a { color: #8ddcff; text-decoration: none; }
.home-server-game a:hover { text-decoration: underline; }
.home-server-stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(85px, .55fr);
    gap: 1px;
    overflow: hidden;
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 8px;
    background: rgba(255, 255, 255, .09);
}
.home-server-stats > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .2rem;
    padding: .7rem;
    background: #111722;
}
.home-server-stats span,
.home-server-connect span {
    color: #7f8b9d;
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.home-server-stats strong {
    overflow: hidden;
    font-size: .8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-server-connect {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
}
.home-server-connect > div { display: flex; min-width: 0; flex-direction: column; }
.home-server-connect code {
    overflow: hidden;
    color: #dce6f2;
    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-server-feedback {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    color: #aeb8c8;
    background: rgba(7, 11, 18, .4);
    font-size: .82rem;
}
.home-server-feedback-offline {
    border-color: rgba(220, 53, 69, .45);
    color: #ffb3ba;
    background: rgba(110, 18, 29, .45);
}
@media (max-width: 900px) {
    .gservertable--game {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .discord-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Site-wide responsive safeguards */
img, video, canvas, svg { max-width: 100%; }
img, video { height: auto; }
.card, .table-responsive, main, section, aside { min-width: 0; }
.card p, .card td, .card th, .server-page-details, .news-details { overflow-wrap: anywhere; }
.table-responsive { -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.nav-tabs { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.nav-tabs .nav-link { white-space: nowrap; }

@media (max-width: 1199.98px) {
    .server-list-card, .server-detail-live { grid-template-columns: minmax(210px, .65fr) minmax(0, 1.35fr); }
    .server-detail-summary { padding: 1.35rem; }
    .site-nav-list .nav-link { padding-right: .68rem !important; padding-left: .68rem !important; }
}

@media (max-width: 991.98px) {
    .container { max-width: 94%; }
    .site-navbar::after { right: 3%; left: 3%; }
    .site-navbar .navbar-toggler { border-color: rgba(255,92,105,.4); box-shadow: none; }
    .site-navbar .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(255,38,58,.18); }
    .site-nav-list { max-height: calc(100vh - 100px); overflow-y: auto; }
    .site-nav-list .nav-link:hover { transform: none; }
    .site-navbar .dropdown-menu { position: static; width: 100%; border-radius: 10px; box-shadow: none; }
    .server-list-card, .server-detail-live { grid-template-columns: 1fr; }
    .server-list-card .server-detail-map-panel, .server-detail-map-panel { min-height: 250px; }
    .game-identity-panel { align-items: stretch; }
    .steam-purchase-link { min-width: 0; }
    .donation-cost-card { grid-template-columns: auto minmax(0,1fr) auto; }
    .contact-v2-rail { min-height: 0; }
    .discord-members-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .container { width: 100%; max-width: 100%; padding-right: 1rem; padding-left: 1rem; }
    main.container { margin-top: 1rem !important; padding-bottom: 2rem !important; }
    .card { border-radius: 12px; }
    .card.p-4 { padding: 1.15rem !important; }
    .card.p-lg-5 { padding: 1.15rem !important; }
    .site-brand-copy small { max-width: min(54vw, 290px); font-size: .56rem; }
    .site-logo-wrap { flex-basis: 52px; width: 52px; height: 52px; }
    .site-navbar-inner { min-height: 56px; }
    .game-identity-panel { padding: .85rem; }
    .server-list-card .server-detail-summary, .server-detail-summary { padding: 1.1rem; }
    .server-detail-stats { margin: 1.25rem 0; }
    .server-connect-box .btn { width: 100%; }
    .donation-cost-card { grid-template-columns: auto 1fr; }
    .donation-cost-card > strong { grid-column: 2; }
    .donation-quick-amounts { grid-template-columns: repeat(2, 1fr); }
    .contact-v2-form-panel { padding: 1.25rem; }
    .discord-members-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-presence-row { align-items: flex-start; flex-direction: column; gap: .3rem; }
    .profile-value { width: 100%; text-align: left; }
    .btn-group { flex-wrap: wrap; }
    .form-control, .form-select, .btn { min-height: 44px; }
    .table-responsive > .table { margin-bottom: .25rem; }
    .table-responsive > .table th, .table-responsive > .table td { min-width: 110px; }
    .table-responsive > .table th:last-child, .table-responsive > .table td:last-child { min-width: 130px; }
    .mod-game-server-image, .panel-server-image { width: min(200px,100%) !important; height: auto !important; min-width: 0 !important; min-height: 0 !important; }
}

@media (max-width: 575.98px) {
    .site-brand-copy strong { font-size: .85rem; }
    .site-brand-copy small { display: none; }
    .server-detail-map-panel, .server-list-card .server-detail-map-panel { min-height: 205px; }
    .server-detail-stats { grid-template-columns: 1fr; }
    .server-detail-status { flex: 0 0 auto; }
    .server-detail-summary h2, .server-list-card .server-detail-summary h3 { font-size: 1rem; }
    .donation-hero-copy h1 { font-size: 2.25rem; }
    .donation-checkout-panel { padding: 1rem; }
    .donation-cost-card { align-items: start; }
    .contact-v2-form-header { align-items: flex-start; flex-direction: column; }
    .contact-v2-field textarea.form-control { min-height: 170px; }
    .discord-members-grid { grid-template-columns: 1fr; }
}

.contact-card .form-label {
    color: #dbe6ff;
}
.contact-card .form-control,
.contact-card .form-select {
    background: rgba(7, 12, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e6e9f0;
}
.contact-card .form-control::placeholder {
    color: #b8c2d9;
}
.contact-card .form-control:focus,
.contact-card .form-select:focus {
    background: rgba(7, 12, 20, 0.85);
    color: #e6e9f0;
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.2);
}
/* Game control panel */
.game-panel-card { overflow: hidden; }
.game-panel-tabs { border-color: rgba(255, 255, 255, .12); }
.game-panel-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: .55rem;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: .8rem 1rem;
    color: #aeb8ca;
}
.game-panel-tabs .nav-link:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .25); }
.game-panel-tabs .nav-link.active {
    color: #fff;
    background: rgba(59, 130, 246, .1);
    border-bottom-color: #3b82f6;
}
.game-panel-tab-status {
    width: .55rem;
    height: .55rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .12);
}
.game-panel-status-running { background: #32d583; box-shadow: 0 0 0 3px rgba(50, 213, 131, .12); }
.game-panel-status-stopped,
.game-panel-status-not_found { background: #f04438; box-shadow: 0 0 0 3px rgba(240, 68, 56, .12); }
.game-panel-boxart {
    display: block;
    width: 180px;
    height: 270px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
}
.game-panel-meta { font-size: .9rem; }
.game-panel-meta > span { display: grid; gap: .2rem; }
.game-panel-actions form { margin: 0; }
.game-panel-section {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(7, 11, 19, .35);
}
.game-panel-console-wrap { margin-top: 1.5rem; }
.game-panel-console {
    height: 380px;
    margin: 0;
    padding: 1rem;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: #060910;
    color: #c8f7d4;
    font: .8rem/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    white-space: pre-wrap;
    overflow-wrap: normal;
}
@media (max-width: 575.98px) {
    .game-panel-boxart { width: 130px !important; height: 195px !important; }
    .game-panel-actions { width: 100%; }
    .game-panel-actions form, .game-panel-actions .btn { flex: 1; }
    .game-panel-console { height: 300px; }
}
