/* Rust in Peace — shared orange / silver visual system. */
:root {
    color-scheme: dark;
    --rip-bg: #101011;
    --rip-surface: #1b1b1e;
    --rip-raised: #242427;
    --rip-text: #ebe9e5;
    --rip-muted: #b6b3b1;
    --rip-border: #383538;
    --rip-orange: #ff792b;
    --rip-orange-bright: #ff9b5a;
    --rip-accent-bg: #713613;
    --rip-radius: 6px;
    --bs-body-color: var(--rip-text);
    --bs-body-bg: var(--rip-bg);
    --bs-link-color: var(--rip-orange-bright);
}
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
    color: var(--rip-text);
    background-color: var(--rip-bg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 1920px auto;
    line-height: 1.6;
}
body > .container { max-width: 1320px; }
.background-gradient { display: none; }
a { color: var(--rip-orange-bright); text-underline-offset: 3px; }
a:hover { color: #ffd4b3; }
a, button, input, select, textarea { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible,
.btn:focus-visible { outline: 2px solid var(--rip-orange-bright) !important; outline-offset: 4px; box-shadow: none; }
::selection { background: #844018; color: #fff; }
::-webkit-scrollbar-track { background: #141416; }
::-webkit-scrollbar-thumb { background: #555052; border-radius: 3px; }
.rip-skip-link { position: fixed; left: 16px; top: -80px; z-index: 2000; background: #ff8b40; color: #18110d; padding: 12px 18px; }
.rip-skip-link:focus { top: 12px; }
.steam-login { display: flex; gap: 16px; align-items: center; justify-content: space-between; min-height: 46px; margin: 8px 0; font-size: 14px; }
.rip-utility-label { color: #d9d3ce; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.rip-utility-label span { color: #969297; }
.rip-steam-user { display: flex; gap: 12px; align-items: center; }
.rip-steam-user img { max-height: 32px; width: auto; }
.rip-steam-user a img { border-radius: 3px; }
.rip-user-link { display: inline-flex; align-items: center; gap: 8px; color: var(--rip-text); text-decoration: none; }
.rip-steam-signin { display: inline-flex; align-items: center; gap: 12px; padding: 5px 10px; border: 1px solid #534138; border-radius: 3px; color: #ddd3cb; text-decoration: none; font-weight: 700; font-size: 12px; }
.rip-steam-signin:hover { border-color: #b96530; color: #ffbb87; }
.steam-logout { font-size: 12px; padding: 5px 10px; margin: 0; border-radius: 3px; }
.navbar-rust {
    margin: 0 0 28px;
    min-height: 88px;
    padding: 10px 12px;
    background: rgba(25,25,28,.97) !important;
    border: 1px solid var(--rip-border);
    border-top: 2px solid #af501d;
    border-radius: var(--rip-radius) !important;
    box-shadow: 0 10px 35px #0003;
}
.navbar-rust .navbar-brand { display: flex; align-items: center; gap: 12px; margin: 0 22px 0 0; color: var(--rip-text); }
.navbar-rust .navbar-logo-container { width: auto; }
.navbar-rust .nav-logo { position: static; display: block; width: 62px; height: 62px; margin: 0; object-fit: contain; }
.rip-nav-wordmark { max-width: 125px; font-size: 21px; font-weight: 700; line-height: 1.1; text-transform: uppercase; white-space: normal; letter-spacing: .025em; }
.navbar-rust .navbar-nav { gap: 2px; }
.navbar-rust .navbar-nav .nav-link { padding: 10px 9px; margin: 0; color: #c1bdba; font-size: 15px; line-height: 1.3; letter-spacing: .02em; }
.navbar-rust .navbar-nav .nav-link:hover, .navbar-rust .navbar-nav .nav-link.active { color: var(--rip-orange-bright); }
.navbar-rust .socials { display: flex; align-items: center; gap: 8px; margin-right: 14px; }
.socials a { color: #b8b3af; }
.socials a:hover { color: var(--rip-orange-bright); }
.socials .social-icon { width: 18px; height: 18px; margin: 0; }
.navbar-rust .dropbtn, .dropdown:hover .dropbtn { background: transparent !important; margin: 0; padding: 0; }
.dropdown-content, .dropdown-subcontent { background: #252326 !important; border: 1px solid var(--rip-border); z-index: 30; min-width: 200px; }
.dropdown-content a, .dropdown-subcontent a { color: var(--rip-text); font-size: 15px; }
.dropdown-content a:hover, .dropdown-subcontent a:hover { color: var(--rip-orange-bright); background: #322b27 !important; }
.dropdown:focus-within > .dropdown-content, .dropdown-submenu:focus-within > .dropdown-subcontent { display: block; }
.btn { border-radius: 4px; font-size: 15px; line-height: 1.5; padding: 11px 18px; letter-spacing: .025em; transition: background .18s ease, border-color .18s ease; }
.btn.btn-success, .btn.btn-discord, .btn.btn-primary { background: var(--rip-accent-bg); color: #fff2e8; border: 1px solid #a55827; }
.btn.btn-success:hover, .btn.btn-discord:hover, .btn.btn-primary:hover { background: #944716; color: #fff; border-color: #ff9149; }
.btn.btn-success:active, .btn.btn-discord:active, .btn.btn-primary:active { background: #62300f; }
.btn.btn-secondary { background: #2b292c; color: var(--rip-text); border: 1px solid #50484a; }
.btn.btn-secondary:hover { background: #3c3330; border-color: #b56a3c; color: #fff; }
.btn.btn-danger { background: #63342f; border: 1px solid #9b5147; color: #ffe5de; }
.btn.btn-discord { padding: 9px 13px; font-size: 13px; white-space: nowrap; }
.btn.btn-discord .btn-discord-content .discord-counter { background: #3a2115; padding: 1px 6px; }
.btn.btn-discord svg { width: 22px; height: 22px; }
.hero { padding: 0; margin: 0 0 52px; }
.rip-hero-art { display: block; overflow: visible; border-radius: 0; border: 0; background: transparent; }
.rip-hero-art img { display: block; width: 100%; height: auto; }
.rip-hero-caption { padding: 28px 20px 0; text-align: center; }
.hero .welcome-text { font-size: 22px; font-weight: 400; color: var(--rip-text); line-height: 1.5; margin: 0; }
.rip-subtitle { margin: 9px 0 0; color: var(--rip-orange-bright); font-size: 15px; }
.rip-hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.rip-hero-actions .btn-success { background: #e27432; color: #1c100a; border-color: #f99a60; }
.rip-hero-actions .btn-success:hover { background: #ff9855; }
.rip-hero-actions span { margin-left: 15px; }
.servers { margin-top: 0; scroll-margin-top: 24px; }
.rip-section-heading { text-align: center; margin: 0 0 24px; }
.rip-eyebrow { font-size: 11px; letter-spacing: .18em; color: var(--rip-orange-bright); font-weight: 700; }
.rip-section-heading h2 { font-size: clamp(28px,4vw,38px); text-transform: uppercase; margin: 6px 0; font-weight: 700; }
.rip-section-heading p { color: var(--rip-muted); margin: 0; }
.servers > .row { --bs-gutter-x: 22px; --bs-gutter-y: 22px; align-items: stretch; }
.servers > .row > [class*="col-"] { display: flex; }
.servers .server {
    width: 100%; display: flex; flex-direction: column;
    margin-top: 0; border: 1px solid var(--rip-border); border-radius: var(--rip-radius);
    background: linear-gradient(150deg,#252326,#1b1b1e 70%); box-shadow: 0 12px 28px #0002;
}
.servers .server:hover { border-color: #9e6139; }
.servers .server .server-image-container { border-bottom: 1px solid #744724; border-radius: 5px 5px 0 0; overflow: hidden; }
.servers .server .server-image-container .server-image { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; background: #151516; }
.servers .server .server-image-overlay, .modal.modal-rust .server-image-modal-overlay { display: none; }
.servers .server .server-container { margin-top: 0; padding: 22px; flex: 1; text-align: left; }
.servers .server .server-container .server-name { display: block; min-height: 2.4em; color: var(--rip-text); font-size: 24px; white-space: normal; overflow: visible; line-height: 1.2; margin-bottom: 7px; }
.servers .server .server-container .server-description, .servers .server .server-container .server-players { font-size: 15px; color: #bdb7b3; }
.servers .server .server-tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 29px; margin: 14px 0; }
.servers .server .server-tags .server-tag { display: inline-block; padding: 3px 8px; border: 1px solid #5b493b; border-radius: 3px; background: #312a26; color: #e0c0a8; font-size: 12px; }
.servers .server .server-tags:not(:has(.server-tag)) { display: none; }
.server-image-placeholder { display: grid; place-items: center; aspect-ratio: 2 / 1; width: 100%; padding: 24px; background: #201c1b; color: #bcaa9b; text-align: center; font-size: 15px; }
.server-data-notice { color: #e1b18e; font-size: 13px; line-height: 1.4; margin: 8px 0 12px; }
.servers .server .progress { height: 5px; border-radius: 3px; margin: 10px 0 22px; background: #3c3738; }
.servers .server .progress .progress-bar.bg-rust { background: linear-gradient(90deg,#9b4b22,#ff954e); }
.servers .server .server-container > .btn { margin: 0 5px 6px 0; }
.servers .server .server-offline { background: #4b302d; color: #f5c3b8; border: 1px solid #785048; border-radius: 3px; font-size: 13px; }
.ribbon span { background: #af521e; color: #fff7ef; }
.ribbon span::before { border-left-color: #703712; border-top-color: #703712; }
.ribbon span::after { border-right-color: #703712; border-top-color: #703712; }
.rip-about { margin: 52px auto 0; padding: clamp(24px,5vw,54px); max-width: 1040px; background: #1b1b1eea; border: 1px solid var(--rip-border); border-top: 2px solid #85461e; border-radius: var(--rip-radius); }
.hero-description { max-width: 890px; margin: auto; font-size: 18px; line-height: 1.8; font-weight: 400; color: #c8c4c1; text-align: left; overflow-wrap: anywhere; }
.hero-description .description-heading { font-size: 30px; font-weight: 700; color: var(--rip-text); line-height: 1.25; margin: 0 0 18px; }
.hero-description strong { color: #f0dbcb; font-weight: 700; }
.modal.modal-rust .modal-content { background: var(--rip-surface); border: 1px solid #73503b; border-radius: var(--rip-radius); color: var(--rip-text); }
.modal.modal-rust .server-image-modal { width: 100%; aspect-ratio: 2/1; object-fit: contain; border-radius: 5px 5px 0 0; }
.modal.modal-rust .server-modal-details { margin-top: 0; padding: 22px; }
.modal.modal-rust .server-modal-details .server-name { color: var(--rip-text); font-size: 25px; }
.modal.modal-rust .server-modal-details .server-description { color: var(--rip-muted); margin: 7px 0; font-size: 16px; }
.modal.modal-rust .server-modal-details .server-rules { color: #cbc4c0; font-size: 16px; line-height: 1.65; padding: 12px 0 0; height: auto; max-height: 330px; }
.modal.modal-rust .server-modal-details .connect-input { background: #121214; color: #f6d9c3; border: 1px solid #766050; padding: 10px; border-radius: 3px; }
.modal.modal-rust .modal-footer { padding: 0 18px 18px; }
.rip-modal-close { position: absolute; z-index: 4; top: 10px; right: 10px; width: 34px; height: 34px; padding: 0; border: 1px solid #bd6a5a; border-radius: 3px; background: #792f2a; color: #fff; font-size: 26px; line-height: 30px; }
.rip-modal-close:hover { background: #a8493b; }
.rules, .faq, .mods, .preisliste, .impressum, .datenschutz { margin-top: 45px; }
.rules .rules-heading, .faq .faq-heading, .mods .mods-heading, .preisliste .preisliste-heading,
.impressum .impressum-heading, .datenschutz .datenschutz-heading, .servers .serverssite, .rust-login-container .login-heading { color: var(--rip-text); font-size: clamp(28px,4vw,38px); margin-bottom: 30px; }
.accordion { --bs-accordion-color: var(--rip-text); --bs-accordion-bg: var(--rip-surface); }
.rules .accordion-item, .faq .accordion-item, .mods .accordion-item, .preisliste .accordion-item { margin-bottom: 10px; background: var(--rip-surface); border: 1px solid var(--rip-border); border-radius: 4px !important; overflow: hidden; }
.rules .accordion-header, .faq .accordion-header, .mods .accordion-header, .preisliste .accordion-header { background: #232124; }
.rules .accordion-header .accordion-button, .faq .accordion-header .accordion-button,
.mods .accordion-header .accordion-button, .preisliste .accordion-header .accordion-button { color: #e8e2dc; font-size: 20px; padding: 20px; line-height: 1.4; }
.rules .accordion-header .accordion-button .icon, .faq .accordion-header .accordion-button .icon,
.mods .accordion-header .accordion-button .icon, .preisliste .accordion-header .accordion-button .icon { color: var(--rip-orange-bright); flex-shrink: 0; }
.rules .accordion-button:not(.collapsed), .faq .accordion-button:not(.collapsed),
.mods .accordion-button:not(.collapsed), .preisliste .accordion-button:not(.collapsed) { background: #39281f; color: #ffbe8d; }
.rules .accordion-body, .faq .accordion-body, .mods .accordion-body, .preisliste .accordion-body { font-size: 18px; line-height: 1.75; font-weight: 400; color: #d0c8c2; overflow-x: auto; }
.accordion-body img { max-width: 100%; height: auto; }
.accordion-body table { max-width: 100%; color: inherit; }
.accordion-body td, .accordion-body th { padding: 8px; border-bottom: 1px solid #423a35; }
.accordion-button:not(.collapsed)::after { filter: sepia(1) saturate(3); }
.livestock-guide { color: #d0c8c2; }
.livestock-guide .livestock-hero { background: linear-gradient(120deg,#30231c,#1b1b1e); border-color: #6b4933; border-left-color: #e87a37; }
.livestock-guide .livestock-kicker, .livestock-guide a { color: var(--rip-orange-bright); }
.livestock-guide .livestock-jumps a { background: #2d2520; border-color: #69503e; }
.livestock-guide .livestock-section { background: #1b1b1e; border-color: var(--rip-border); }
.livestock-guide .livestock-cards article { background: #282326; border-color: #c36a33; }
.livestock-guide .livestock-note { background: #34291f; border-color: #e78b4a; }
.livestock-guide th, .livestock-guide td { border-color: #51443b; }
.livestock-guide thead { background: #372a21; }
body .profile-wrap .profile-header, body .profile-wrap .section-card { background: #1e1d20; border: 1px solid var(--rip-border); border-radius: var(--rip-radius); }
body .profile-wrap .stat-tab.active, body .profile-wrap .btn-profile.steam, body .profile-wrap .btn-profile.discord { background: #713613; color: #fff0e4; }
body .profile-wrap .stat-value, body .profile-wrap .stat-rank-line strong, body .profile-wrap .profile-meta a { color: var(--rip-orange-bright); }
.impressum > .row, .datenschutz > .row { color: #ccc7c3; }
.rip-footer { margin-top: 72px; padding: 40px 16px 32px; background: #151517; border-top: 1px solid #45372d; text-align: center; color: #b5ada7; }
.rip-footer img { width: 76px; height: 76px; object-fit: contain; margin: 0 auto 20px; }
.rip-footer h6 { margin: 0 0 18px; }
.rip-footer small { display: inline-block; max-width: 790px; font-size: 12px; line-height: 1.6; margin-top: 7px; }
.rip-footer .copyright { color: #ccc3bc; }
.rip-footer .admin-link { display: inline-block; margin-top: 13px; color: #b9a18e; font-size: 13px; }
@media (max-width:1199px) and (min-width:992px) {
    .rip-nav-wordmark { display: none; }
    .navbar-rust .navbar-brand { margin-right: 8px; }
    .navbar-rust .navbar-nav .nav-link { font-size: 14px; padding: 10px 7px; }
}
@media (max-width:991px) {
    .navbar-rust { min-height: 78px; padding: 8px 12px; margin-bottom: 20px; }
    .navbar-rust .navbar-brand { transform: none; position: static; margin: 0; }
    .navbar-rust .nav-logo { width: 54px; height: 54px; }
    .rip-nav-wordmark { display: block; max-width: none; font-size: 19px; }
    .navbar-rust .navbar-toggler { padding: 9px; border: 1px solid #5c4a3c; border-radius: 4px; }
    .navbar-rust .navbar-collapse { padding: 16px 0 6px; }
    .navbar-rust .navbar-nav { border-top: 1px solid #44362c; padding: 10px 0; }
    .navbar-rust .navbar-nav .nav-link { padding: 11px 6px; font-size: 17px; }
    .navbar-rust .socials { display: inline-flex; margin: 10px 16px 10px 6px; }
    .dropdown-content { position: static; width: 100%; }
    .rip-about { padding: 28px; }
}
@media (max-width:575px) {
    .steam-login { min-height: 40px; gap: 8px; margin: 5px 0; }
    .rip-utility-label { font-size: 10px; letter-spacing: .08em; }
    .rip-utility-label span { display: none; }
    .rip-steam-user { gap: 7px; font-size: 12px; }
    .rip-steam-user img { max-height: 26px; max-width: 125px; object-fit: contain; }
    .hero { margin-bottom: 38px; }
    .rip-hero-art img { aspect-ratio: 16/9; object-fit: contain; }
    .rip-hero-caption { padding: 22px 4px 0; }
    .hero .welcome-text { font-size: 18px; }
    .rip-subtitle { font-size: 13px; }
    .rip-hero-actions { display: grid; gap: 9px; }
    .rip-hero-actions .btn { padding: 12px 18px; }
    .servers .server .server-container { padding: 20px; }
    .rip-about { margin-top: 36px; padding: 23px 20px; }
    .hero-description { font-size: 17px; line-height: 1.75; }
    .hero-description .description-heading { font-size: 26px; }
    .rules .accordion-header .accordion-button, .faq .accordion-header .accordion-button,
    .mods .accordion-header .accordion-button, .preisliste .accordion-header .accordion-button { font-size: 17px; padding: 16px 12px; }
    .rules .accordion-body, .faq .accordion-body, .mods .accordion-body, .preisliste .accordion-body { font-size: 16px; padding: 18px 14px; }
    .rip-footer { margin-top: 45px; }
}
@media (prefers-reduced-motion:reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    #snow { display: none; }
}

.rust-login-container #dashboard { display: block; border: 0; background: transparent; color-scheme: dark; }
