/* Global ECHO OF DEATH visual layer: muted red palette, raster backdrop, glass surfaces. */
:root {
  --surface: rgba(12, 10, 10, .66);
  --surface2: rgba(24, 16, 16, .62);
  --border: rgba(238, 232, 224, .13);
  --border2: rgba(191, 58, 52, .2);
  --accent: #c9433b;
  --accent2: #e8ddd1;
  --accent3: #f1ece4;
  --rad: oklch(58% .18 27);
  --rad2: oklch(66% .15 31);
  --danger: oklch(58% .19 25);
  --text: #eee8dd;
  --text2: #b7ada2;
  --text3: #7e7770;
  --glass-bg: linear-gradient(135deg, rgba(24, 18, 18, .56), rgba(5, 5, 5, .38));
  --glass-bg-strong: linear-gradient(135deg, rgba(27, 19, 19, .74), rgba(4, 4, 4, .56));
  --glass-border: rgba(238, 232, 224, .14);
  --glass-red: rgba(191, 58, 52, .18);
}

html,
body {
  background: #050505;
}

body.dz-body {
  background:
    radial-gradient(circle at 84% 14%, rgba(181, 50, 44, .18), transparent 28%),
    radial-gradient(circle at 12% 86%, rgba(181, 50, 44, .11), transparent 26%),
    #050505 !important;
}

.dz-bg {
  background:
    linear-gradient(90deg, rgba(4, 4, 4, .86), rgba(4, 4, 4, .24) 38%, rgba(4, 4, 4, .82)),
    linear-gradient(180deg, rgba(4, 4, 4, .2), rgba(4, 4, 4, .78) 76%, rgba(4, 4, 4, .94)),
    var(--site-bg-image) center / cover no-repeat !important;
  filter: saturate(.92) contrast(1.14) brightness(.68) !important;
}

.dz-bg-noise {
  opacity: .5 !important;
  background:
    repeating-linear-gradient(0deg, rgba(238, 232, 224, .018) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(191, 58, 52, .028) 43px, transparent 44px 96px) !important;
}

.dz-bg-vignette {
  background:
    radial-gradient(circle at 72% 12%, rgba(191, 58, 52, .16), transparent 26%),
    radial-gradient(ellipse at center, transparent 44%, rgba(0, 0, 0, .42) 78%, rgba(0, 0, 0, .76) 100%) !important;
}

.dz-nav {
  border-bottom-color: rgba(238, 232, 224, .12) !important;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, .72), rgba(8, 5, 5, .5)),
    rgba(8, 8, 8, .32) !important;
  backdrop-filter: blur(22px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.18) !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
}

.dz-nav::before {
  background: linear-gradient(90deg, transparent, rgba(191, 58, 52, .58), rgba(238, 232, 224, .18), transparent) !important;
}

.dz-brand-logo {
  filter: drop-shadow(0 0 18px rgba(191, 58, 52, .32)) !important;
}

.dz-nav-links a,
.dz-account,
.dz-account-login,
.dz-icon-link,
.dz-social,
.dz-admin-link,
.dz-burger {
  border-color: rgba(238, 232, 224, .15) !important;
}

.dz-nav-links a:hover,
.dz-nav-links a.active,
.dz-admin-link:hover,
.dz-social:hover,
.dz-icon-link:hover {
  color: var(--accent3) !important;
  border-color: rgba(191, 58, 52, .5) !important;
  background: rgba(191, 58, 52, .1) !important;
}

a {
  color: var(--accent2);
}

a:hover {
  color: var(--accent3);
}

code {
  color: var(--accent3) !important;
  background: rgba(191, 58, 52, .12) !important;
}

.section,
.dz-section,
.container,
.dz-main > section {
  position: relative;
}

.dz-panel,
.dz-home-card,
.dz-news-card,
.dz-faction-tile,
.stat-card,
.admin-form,
.admin-nav-card,
.admin-table,
.admin-asset-card,
.ticket-panel,
.ticket-list,
.ticket-thread,
.profile-card,
.profile-panel,
.wiki-card,
.guide-card,
.rules-card,
.leader-card,
.leaderboard-card,
.faction-card,
.faction-panel,
.server-card,
.donation-card,
.giveaway-card,
.bp-card,
.bp-panel {
  border-color: var(--glass-border) !important;
  background: var(--glass-bg), rgba(4, 4, 4, .44) !important;
  box-shadow: inset 0 1px 0 rgba(238, 232, 224, .04), 0 24px 86px rgba(0, 0, 0, .34) !important;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.dz-panel::before,
.dz-home-card::before,
.dz-news-card::before,
.dz-faction-tile::before,
.admin-nav-card::before,
.admin-form::before,
.stat-card::before {
  background: linear-gradient(90deg, transparent, rgba(191, 58, 52, .42), rgba(238, 232, 224, .16), transparent) !important;
}

.admin-table th,
.admin-table td,
.admin-table tbody tr,
.dz-panel-head,
.dz-card-head {
  border-color: rgba(238, 232, 224, .1) !important;
}

.admin-table tbody tr:hover,
.dz-news-card:hover,
.dz-faction-tile:hover,
.admin-nav-card:hover,
.stat-card:hover {
  background: var(--glass-bg-strong), rgba(52, 12, 11, .18) !important;
  border-color: rgba(191, 58, 52, .38) !important;
}

.btn-primary,
.btn-launcher,
.hero-cmd-accent,
button[type="submit"] {
  border-color: rgba(238, 232, 224, .22) !important;
  background: rgba(238, 232, 224, .92) !important;
  color: rgba(9, 8, 8, .94) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .3) !important;
}

.btn-primary:hover,
.btn-launcher:hover,
.hero-cmd-accent:hover,
button[type="submit"]:hover {
  background: var(--accent3) !important;
  border-color: var(--accent3) !important;
  color: rgba(9, 8, 8, .96) !important;
}

.btn-secondary,
.btn-secondary-sm,
input,
textarea,
select,
.admin-table input,
.admin-table textarea,
.admin-table select {
  border-color: rgba(238, 232, 224, .13) !important;
  background: rgba(7, 7, 7, .42) !important;
  color: var(--text) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

input:focus,
textarea:focus,
select:focus,
.admin-table input:focus,
.admin-table textarea:focus,
.admin-table select:focus {
  border-color: rgba(191, 58, 52, .56) !important;
  box-shadow: 0 0 0 3px rgba(191, 58, 52, .14) !important;
  outline: none !important;
}

.role-badge,
.status-badge,
.tag,
.pill,
.notice,
.notice-warn,
.notice-info,
.news-category,
.admin-status-pill,
.dz-panel-head b,
.dz-card-head span,
.dz-section-head span {
  border-color: rgba(191, 58, 52, .26) !important;
  color: var(--accent2) !important;
}

.notice,
.notice-warn,
.notice-info {
  background: rgba(33, 11, 10, .38) !important;
  border: 1px solid rgba(191, 58, 52, .34) !important;
  color: rgba(238, 232, 224, .86) !important;
}

.news-board,
.dz2-news-board,
.dz2-faction-board,
.dz2-route,
.dz2-route-main,
.dz2-tile,
.dz2-news-row,
.dz2-faction {
  border-color: rgba(238, 232, 224, .14) !important;
  background:
    var(--glass-bg),
    rgba(4, 4, 4, .5) !important;
  box-shadow: inset 0 1px 0 rgba(238, 232, 224, .04), 0 26px 88px rgba(0, 0, 0, .34) !important;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.news-board::before {
  background:
    linear-gradient(90deg, rgba(191, 58, 52, .38), transparent 18%) left top / 180px 1px no-repeat,
    linear-gradient(270deg, rgba(238, 232, 224, .18), transparent 18%) right bottom / 230px 1px no-repeat,
    repeating-linear-gradient(0deg, rgba(238, 232, 224, .018) 0 1px, transparent 1px 5px) !important;
}

.news-board::after {
  border-color: rgba(191, 58, 52, .12) !important;
  box-shadow: 0 0 0 42px rgba(191, 58, 52, .028), 0 0 0 86px rgba(238, 232, 224, .014) !important;
}

.news-page-header {
  border-bottom-color: rgba(238, 232, 224, .12) !important;
}

.news-kicker,
.news-seq,
.news-date,
.news-read-more,
.dz2-tile span,
.dz2-route span,
.dz2-section-head span,
.dz2-news-row time,
.dz2-route a,
.dz2-route b {
  color: var(--accent) !important;
}

.news-page .news-card.news-transmission,
.news-card,
.news-article {
  border-color: rgba(238, 232, 224, .14) !important;
  background:
    linear-gradient(135deg, rgba(24, 18, 18, .58), rgba(4, 4, 4, .5)),
    rgba(4, 4, 4, .42) !important;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.news-page .news-card.news-transmission::before,
.news-page .news-card.news-transmission::after {
  border-color: rgba(191, 58, 52, .22) !important;
  background: linear-gradient(90deg, rgba(191, 58, 52, .24), transparent) !important;
}

.news-page .news-card.news-transmission:hover,
.news-card:hover,
.news-article:hover,
.dz2-tile:hover,
.dz2-route:hover,
.dz2-news-row:hover,
.dz2-faction:hover {
  border-color: rgba(191, 58, 52, .42) !important;
  background:
    var(--glass-bg-strong),
    rgba(52, 12, 11, .2) !important;
}

.news-page-actions .btn-primary,
.news-cat-news,
.news-cat-update,
.news-cat-event,
.news-cat-ivent,
.tag-news,
.tag-event,
.role-player,
.role-faction-member,
.role-eventologist {
  background: rgba(191, 58, 52, .14) !important;
  border-color: rgba(191, 58, 52, .34) !important;
  color: var(--accent2) !important;
}

.news-page .news-empty {
  border-color: rgba(191, 58, 52, .3) !important;
  background: rgba(33, 11, 10, .36) !important;
  color: rgba(238, 232, 224, .82) !important;
}

.is-online,
.online,
.dz-panel-head b.is-online {
  color: #e5d6c9 !important;
}

.offline,
.is-offline,
.danger,
.error {
  color: var(--accent) !important;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .dz-nav,
  .dz-panel,
  .dz-home-card,
  .dz-news-card,
  .dz-faction-tile,
  .stat-card,
  .admin-form,
  .admin-nav-card,
  .admin-table {
    background: rgba(12, 10, 10, .88) !important;
  }
}

/* Final red/glass lock for legacy pages and inline skins. */
:root {
  --footer-btn-color: #b6423b !important;
  --glass-surface-hover: rgba(191, 58, 52, .08);
  --glass-line: rgba(191, 58, 52, .2);
  --glass-line-strong: rgba(191, 58, 52, .36);
}

::selection {
  background: rgba(191, 58, 52, .32);
  color: #fff;
}

*[style*="#b7d936"],
*[style*="#d4e971"],
*[style*="183,217,54"],
*[style*="8aa51f"] {
  border-color: rgba(191, 58, 52, .42) !important;
  color: rgba(238, 232, 224, .9) !important;
  box-shadow: none !important;
}

button[style*="#b7d936"],
button[style*="#d4e971"],
button[style*="8aa51f"],
.btn-primary[style*="#b7d936"],
.btn-primary[style*="#d4e971"],
.btn-primary[style*="8aa51f"] {
  background:
    linear-gradient(135deg, rgba(238, 232, 224, .94), rgba(202, 190, 177, .9)) !important;
  border-color: rgba(238, 232, 224, .24) !important;
  color: rgba(8, 8, 8, .95) !important;
}

.section > .container,
.dz-main > .container,
.news-page .container {
  border-color: rgba(238, 232, 224, .12) !important;
}

body.dz-body .section:not(.cta-section):not(.section-plain) > .container {
  border-color: rgba(238, 232, 224, .12) !important;
  background:
    radial-gradient(circle at 14% 10%, rgba(191, 58, 52, .13), transparent 31%),
    linear-gradient(180deg, rgba(238, 232, 224, .03), transparent 150px),
    linear-gradient(135deg, rgba(18, 14, 14, .62), rgba(4, 4, 4, .5)),
    rgba(4, 4, 4, .42) !important;
  box-shadow:
    inset 0 1px 0 rgba(238, 232, 224, .04),
    inset 0 0 0 1px rgba(191, 58, 52, .025),
    0 30px 96px rgba(0, 0, 0, .36) !important;
  backdrop-filter: blur(20px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.08) !important;
}

.news-page .container {
  background:
    radial-gradient(circle at 16% 0%, rgba(191, 58, 52, .12), transparent 33%),
    linear-gradient(135deg, rgba(18, 14, 14, .64), rgba(4, 4, 4, .5)),
    rgba(4, 4, 4, .42) !important;
  box-shadow:
    inset 0 1px 0 rgba(238, 232, 224, .04),
    0 30px 96px rgba(0, 0, 0, .36) !important;
  backdrop-filter: blur(20px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.08) !important;
}

.news-board::before,
.news-page .container::before {
  background:
    linear-gradient(90deg, rgba(191, 58, 52, .38), transparent 18%) left top / 180px 1px no-repeat,
    linear-gradient(270deg, rgba(238, 232, 224, .18), transparent 18%) right bottom / 230px 1px no-repeat,
    repeating-linear-gradient(0deg, rgba(238, 232, 224, .018) 0 1px, transparent 1px 5px) !important;
}

.news-board::after,
.news-page .container::after {
  border-color: rgba(191, 58, 52, .12) !important;
  box-shadow:
    0 0 0 42px rgba(191, 58, 52, .026),
    0 0 0 86px rgba(238, 232, 224, .014) !important;
}

.notice.notice-warn.news-empty,
.news-page .notice.news-empty,
.news-page .news-empty {
  border-color: rgba(191, 58, 52, .34) !important;
  background:
    linear-gradient(135deg, rgba(36, 11, 10, .48), rgba(5, 5, 5, .38)) !important;
  color: rgba(238, 232, 224, .82) !important;
}

.dz-footer {
  border-top-color: rgba(238, 232, 224, .1) !important;
  background:
    linear-gradient(180deg, rgba(8, 7, 7, .66), rgba(3, 3, 3, .86)),
    rgba(5, 5, 5, .64) !important;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.dz-footer-links a.dz-footer-custom-link,
.btn-discord-footer,
.dz-social[title="Discord"] {
  --footer-btn-color: #b6423b !important;
  border-color: rgba(191, 58, 52, .44) !important;
  background:
    linear-gradient(135deg, rgba(62, 15, 14, .62), rgba(8, 8, 8, .46)) !important;
  color: rgba(238, 232, 224, .9) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .32), 0 0 24px rgba(191, 58, 52, .1) !important;
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
}

.dz-footer-links a.dz-footer-custom-link:hover,
.btn-discord-footer:hover,
.dz-social[title="Discord"]:hover {
  border-color: rgba(191, 58, 52, .7) !important;
  background:
    linear-gradient(135deg, rgba(84, 22, 19, .7), rgba(12, 10, 10, .52)) !important;
}

.dz-toast,
#chatFab,
#chatPanel,
#chatMuteModal > div {
  border-color: rgba(191, 58, 52, .38) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(191, 58, 52, .11), transparent 34%),
    linear-gradient(135deg, rgba(18, 13, 13, .78), rgba(4, 4, 4, .66)) !important;
  color: rgba(238, 232, 224, .9) !important;
  box-shadow:
    0 24px 76px rgba(0, 0, 0, .5),
    0 0 34px rgba(191, 58, 52, .1) !important;
  backdrop-filter: blur(20px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.08) !important;
}

#chatPanel > div:first-child,
#chatRoomTabs,
#chatComposer,
#chatMuteModal input,
#chatMuteModal textarea {
  border-color: rgba(191, 58, 52, .22) !important;
}

#chatFab {
  border-radius: 4px !important;
  background:
    linear-gradient(135deg, rgba(84, 22, 19, .82), rgba(8, 8, 8, .82)) !important;
}

#chatFabIcon {
  filter: grayscale(1) brightness(1.85) drop-shadow(0 0 10px rgba(191, 58, 52, .5)) !important;
}

#chatRoomTabs .chat-room-tab,
#chatInput {
  border-color: rgba(191, 58, 52, .22) !important;
  background: rgba(8, 8, 8, .5) !important;
  color: rgba(238, 232, 224, .7) !important;
}

#chatRoomTabs .chat-room-tab.active,
#chatSend {
  border-color: rgba(191, 58, 52, .62) !important;
  background:
    linear-gradient(135deg, rgba(94, 24, 21, .88), rgba(32, 8, 8, .94)) !important;
  color: rgba(238, 232, 224, .96) !important;
}

#mapSidebar,
#markerModal .modal-box,
.hint-bar,
.leaflet-tooltip.map-tip {
  border-color: rgba(238, 232, 224, .14) !important;
  background:
    linear-gradient(135deg, rgba(18, 13, 13, .74), rgba(4, 4, 4, .64)) !important;
  color: rgba(238, 232, 224, .86) !important;
  box-shadow: 0 24px 78px rgba(0, 0, 0, .42) !important;
  backdrop-filter: blur(18px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.08) !important;
}

.map-server-panel,
.map-server-tab,
.icon-type-btn,
.marker-row,
.sb-section {
  border-color: rgba(238, 232, 224, .1) !important;
  background: rgba(8, 8, 8, .36) !important;
}

.map-server-tab:hover,
.map-server-tab.active,
.icon-type-btn.active,
.marker-row:hover {
  border-color: rgba(191, 58, 52, .5) !important;
  background: rgba(191, 58, 52, .12) !important;
  color: rgba(238, 232, 224, .94) !important;
}

.rules-search,
.search-input,
.lb-filter-btn {
  border-color: rgba(238, 232, 224, .14) !important;
  background:
    linear-gradient(135deg, rgba(12, 10, 10, .58), rgba(4, 4, 4, .42)) !important;
  color: rgba(238, 232, 224, .82) !important;
  box-shadow: none !important;
}

body.dz-body .section:not(.cta-section):not(.section-plain) > .container :is(input, textarea, select, .search-input, .rules-search) {
  border-color: rgba(238, 232, 224, .14) !important;
  background:
    linear-gradient(135deg, rgba(12, 10, 10, .58), rgba(4, 4, 4, .42)) !important;
  color: rgba(238, 232, 224, .82) !important;
  box-shadow: none !important;
}

.rules-search:focus,
.search-input:focus,
.lb-filter-btn:hover,
.lb-filter-btn.active {
  border-color: rgba(191, 58, 52, .48) !important;
  background:
    linear-gradient(135deg, rgba(58, 15, 13, .46), rgba(8, 8, 8, .36)) !important;
  color: rgba(238, 232, 224, .94) !important;
}

.dz-title-marker {
  border-color: rgba(191, 58, 52, .78) !important;
  background: rgba(191, 58, 52, .72) !important;
  box-shadow: 0 0 14px rgba(191, 58, 52, .3) !important;
}

#mRadiusOpacity,
input[type="checkbox"],
input[type="radio"] {
  accent-color: #b6423b !important;
}

.ifc-discord-bar,
.dz3-discord,
.server-tabs a,
.toc-link.active {
  border-color: rgba(191, 58, 52, .34) !important;
  background: rgba(191, 58, 52, .1) !important;
  color: rgba(238, 232, 224, .88) !important;
}

.factions-terminal-count,
.faction-grid,
.faction-card,
.fc-rec-id,
.fc-status,
.fc-emblem,
.fc-emblem-fallback,
.fc-foot,
.fc-bar-wrap {
  border-color: rgba(238, 232, 224, .12) !important;
  background: rgba(8, 8, 8, .34) !important;
  color: rgba(238, 232, 224, .72) !important;
}

.faction-card {
  background:
    linear-gradient(135deg, rgba(18, 13, 13, .56), rgba(4, 4, 4, .42)) !important;
  backdrop-filter: blur(16px) saturate(1.06) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.06) !important;
}

.faction-card:hover {
  background:
    linear-gradient(135deg, rgba(48, 12, 11, .56), rgba(4, 4, 4, .48)) !important;
  border-color: rgba(191, 58, 52, .36) !important;
}

.fc-rec-id,
.fc-members-label,
.factions-terminal-label::before {
  color: rgba(232, 221, 209, .78) !important;
}

.factions-terminal-label::before,
.fc-status--open .fc-status-dot,
.fc-status-dot {
  background: #b6423b !important;
  box-shadow: 0 0 10px rgba(191, 58, 52, .36) !important;
}

.fc-status--open,
.fc-status--invite,
.fc-status--closed {
  border: 1px solid rgba(191, 58, 52, .26) !important;
  background: rgba(191, 58, 52, .13) !important;
  color: rgba(238, 232, 224, .86) !important;
}

.fc-emblem,
.fc-emblem-fallback {
  border-color: rgba(191, 58, 52, .28) !important;
}

.fc-foot {
  border-top-color: rgba(238, 232, 224, .1) !important;
}

.fc-members-label {
  color: rgba(232, 221, 209, .8) !important;
}

.fc-bar-wrap {
  background: rgba(238, 232, 224, .08) !important;
}

.kd-fill,
.progress-fill,
.bp-xp-fill,
.fc-bar-fill,
.ticket-unread-badge,
.admin-status-pill.active {
  background:
    linear-gradient(90deg, rgba(191, 58, 52, .88), rgba(232, 221, 209, .58)) !important;
  color: #080808 !important;
}

/* Header command glass: slimmer, more intentional active state. */
body.dz-body .dz-nav {
  min-height: 76px !important;
  border-bottom: 1px solid rgba(238, 232, 224, .12) !important;
  background:
    linear-gradient(180deg, rgba(8, 7, 7, .86), rgba(5, 5, 5, .66)),
    radial-gradient(circle at 18% 0%, rgba(191, 58, 52, .12), transparent 28%),
    rgba(5, 5, 5, .62) !important;
  box-shadow:
    0 18px 70px rgba(0, 0, 0, .42),
    inset 0 -1px 0 rgba(191, 58, 52, .2) !important;
  backdrop-filter: blur(24px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.12) !important;
}

body.dz-body .dz-nav::before {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 1px !important;
  background:
    linear-gradient(90deg, transparent 4%, rgba(191, 58, 52, .56) 28%, rgba(238, 232, 224, .2) 50%, rgba(191, 58, 52, .42) 72%, transparent 96%) !important;
  opacity: .8 !important;
}

body.dz-body .dz-nav::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(238, 232, 224, .018) 58px 59px, transparent 59px 116px),
    linear-gradient(180deg, rgba(238, 232, 224, .035), transparent 42%);
  opacity: .78;
}

body.dz-body .dz-nav-inner {
  min-height: 76px !important;
  width: min(1554px, calc(100% - 56px)) !important;
  gap: clamp(18px, 1.5vw, 30px) !important;
  position: relative;
  z-index: 1;
}

body.dz-body .dz-brand {
  min-width: 224px !important;
  min-height: 46px !important;
  padding: 0 14px 0 0 !important;
  border-right: 1px solid rgba(238, 232, 224, .09);
}

body.dz-body .dz-brand-logo {
  width: 216px !important;
  max-height: 48px !important;
  filter:
    drop-shadow(0 18px 26px rgba(0, 0, 0, .48))
    drop-shadow(0 0 14px rgba(191, 58, 52, .12)) !important;
}

body.dz-body .dz-nav-links {
  gap: clamp(12px, 1.05vw, 22px) !important;
  align-self: stretch;
  padding-top: 1px;
}

body.dz-body .dz-nav-links a,
body.dz-body .dz-nav-links a:visited {
  min-height: 76px !important;
  height: 76px !important;
  padding: 0 2px !important;
  position: relative;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(238, 232, 224, .54) !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .8);
  transition: color .18s ease, opacity .18s ease, transform .18s ease !important;
}

body.dz-body .dz-nav-links a::before,
body.dz-body .dz-nav-links a::after {
  content: "" !important;
  position: absolute !important;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease, background .18s ease !important;
}

body.dz-body .dz-nav-links a::before {
  display: none !important;
  inset: auto !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body.dz-body .dz-nav-links a::after {
  left: -2px !important;
  right: -2px !important;
  bottom: 13px !important;
  height: 1px !important;
  background:
    linear-gradient(90deg, transparent, rgba(238, 232, 224, .92), rgba(191, 58, 52, .9), transparent) !important;
  box-shadow: 0 0 18px rgba(191, 58, 52, .35) !important;
  transform: translateY(3px);
}

body.dz-body .dz-nav-links a:hover,
body.dz-body .dz-nav-links a.active {
  color: rgba(247, 244, 236, .98) !important;
  background: transparent !important;
  border-color: transparent !important;
}

body.dz-body .dz-nav-links a:hover::before,
body.dz-body .dz-nav-links a.active::before {
  opacity: 0 !important;
  transform: none !important;
}

body.dz-body .dz-nav-links a:hover::after,
body.dz-body .dz-nav-links a.active::after {
  opacity: 1;
  transform: translateY(0);
}

body.dz-body .dz-account,
body.dz-body .dz-account-login,
body.dz-body .dz-icon-link,
body.dz-body .dz-social,
body.dz-body .dz-admin-link,
body.dz-body .dz-burger {
  min-height: 42px !important;
  border-color: rgba(238, 232, 224, .18) !important;
  background:
    linear-gradient(135deg, rgba(18, 14, 14, .68), rgba(6, 6, 6, .42)) !important;
  box-shadow: inset 0 1px 0 rgba(238, 232, 224, .045), 0 12px 32px rgba(0, 0, 0, .22) !important;
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

body.dz-body .dz-account:hover,
body.dz-body .dz-account-login:hover,
body.dz-body .dz-icon-link:hover,
body.dz-body .dz-social:hover,
body.dz-body .dz-admin-link:hover,
body.dz-body .dz-burger:hover {
  border-color: rgba(191, 58, 52, .55) !important;
  background:
    linear-gradient(135deg, rgba(58, 15, 13, .62), rgba(8, 8, 8, .5)) !important;
}

.dead-feed-empty {
  display: grid;
  gap: 8px;
  padding: 18px 0 2px;
  border-top: 1px solid rgba(238, 232, 224, .08);
  color: rgba(238, 232, 224, .54);
}

.dead-feed-empty span {
  color: rgba(191, 58, 52, .9);
  font-family: var(--dead-mono);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dead-feed-empty strong {
  max-width: 100%;
  color: rgba(238, 232, 224, .68);
  font-size: .82rem;
  line-height: 1.45;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

@media (max-width: 820px) {
  body.dz-body .dz-nav {
    min-height: 66px !important;
  }

  body.dz-body .dz-nav-inner {
    min-height: 66px !important;
    width: min(100% - 24px, 1554px) !important;
  }

  body.dz-body .dz-brand {
    min-width: 174px !important;
    border-right: 0;
  }

  body.dz-body .dz-brand-logo {
    width: 174px !important;
  }

  body.dz-body .dz-nav-links.open {
    top: 66px !important;
    border-color: rgba(238, 232, 224, .12) !important;
    background:
      linear-gradient(180deg, rgba(12, 10, 10, .94), rgba(5, 5, 5, .92)) !important;
    backdrop-filter: blur(22px) saturate(1.08);
    -webkit-backdrop-filter: blur(22px) saturate(1.08);
  }

  body.dz-body .dz-nav-links a,
  body.dz-body .dz-nav-links a:visited {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 14px !important;
  }

  body.dz-body .dz-nav-links a::before {
    inset: 4px 6px !important;
  }

  body.dz-body .dz-nav-links a::after {
    bottom: 6px !important;
    left: 14px !important;
    right: 14px !important;
  }
}

/* Final ECHO OF DEATH cleanup: no legacy green, stable profile header. */
:root {
  --border: rgba(238, 232, 224, .13) !important;
  --border2: rgba(191, 58, 52, .24) !important;
  --accent: #c9433b !important;
  --accent2: #e8ddd1 !important;
  --accent3: #f1ece4 !important;
  --footer-btn-color: #c9433b !important;
}

body.dz-body .dz-nav-inner {
  display: grid !important;
  grid-template-columns: 224px minmax(0, 1fr) max-content !important;
  align-items: center !important;
  width: min(1560px, calc(100% - 48px)) !important;
  gap: clamp(18px, 1.4vw, 28px) !important;
}

body.dz-body .dz-brand {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  min-width: 0 !important;
  width: 224px !important;
  overflow: hidden;
  text-decoration: none !important;
}

body.dz-body .dz-brand-logo {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.dz-body .dz-brand-copy {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
  line-height: 1 !important;
}

body.dz-body .dz-brand-copy strong {
  color: rgba(247, 244, 236, .96) !important;
  font-family: 'Tektur', 'Oswald', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  white-space: nowrap !important;
}

body.dz-body .dz-brand-copy small {
  color: rgba(191, 58, 52, .88) !important;
  font-family: 'Tektur', 'Oswald', sans-serif !important;
  font-size: .5rem !important;
  font-weight: 700 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.dz-body .dz-nav-links {
  justify-content: center !important;
  min-width: 0 !important;
  gap: clamp(10px, .95vw, 18px) !important;
}

body.dz-body .dz-nav-links a,
body.dz-body .dz-nav-links a:visited {
  font-size: .68rem !important;
  letter-spacing: .11em !important;
}

body.dz-body .dz-nav-side {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-width: max-content !important;
  gap: 8px !important;
}

body.dz-body .dz-icon-link,
body.dz-body .dz-social,
body.dz-body .dz-admin-link {
  width: 48px !important;
  min-width: 48px !important;
  height: 42px !important;
  padding: 0 !important;
  display: inline-grid !important;
  place-items: center !important;
}

body.dz-body .dz-icon-link svg,
body.dz-body .dz-admin-link svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.75 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  opacity: .9 !important;
}

body.dz-body .dz-admin-link svg {
  width: 19px !important;
  height: 19px !important;
}

body.dz-body .dz-message-link,
body.dz-body .dz-admin-link {
  color: rgba(238, 232, 224, .62) !important;
}

body.dz-body .dz-message-link:hover,
body.dz-body .dz-admin-link:hover {
  color: rgba(247, 244, 236, .96) !important;
}

body.dz-body .dz-account {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  min-width: 164px !important;
  max-width: 216px !important;
  height: 42px !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 0 18px !important;
  overflow: hidden !important;
  line-height: 1 !important;
}

body.dz-body .dz-account span:not(.dz-account-ico) {
  display: inline-flex !important;
  align-items: center !important;
  height: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

body.dz-body .dz-account-avatar {
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
}

body.dz-body .dz-notification-popover {
  border-color: rgba(191, 58, 52, .36) !important;
  background:
    radial-gradient(circle at 82% 0%, rgba(191, 58, 52, .15), transparent 42%),
    linear-gradient(135deg, rgba(24, 15, 15, .96), rgba(5, 5, 5, .96)) !important;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, .62),
    inset 0 1px 0 rgba(238, 232, 224, .05) !important;
}

body.dz-body .dz-notification-popover::before {
  border-left-color: rgba(191, 58, 52, .36) !important;
  border-top-color: rgba(191, 58, 52, .36) !important;
  background: rgba(18, 10, 10, .98) !important;
}

body.dz-body .dz-notification-popover-title {
  color: rgba(214, 75, 67, .95) !important;
}

body.dz-body .dz-notification-popover-list a,
body.dz-body .dz-account-menu-actions a {
  border-color: rgba(238, 232, 224, .12) !important;
  background: rgba(238, 232, 224, .035) !important;
}

body.dz-body .dz-notification-popover-list a:hover,
body.dz-body .dz-account-menu-actions a:hover {
  border-color: rgba(191, 58, 52, .46) !important;
  background: rgba(191, 58, 52, .12) !important;
  color: rgba(247, 244, 236, .98) !important;
}

body.dz-body .dz-notification-popover-list b,
body.dz-body .dz-icon-link b,
body.dz-body .dz-account b,
.ticket-unread-badge {
  background: rgba(191, 58, 52, .92) !important;
  color: rgba(8, 8, 8, .95) !important;
}

body.dz-body [style*="#b7d936"],
body.dz-body [style*="#d4e971"],
body.dz-body [style*="#8aa51f"],
body.dz-body [style*="#eef6b2"],
body.dz-body [style*="183,217,54"],
body.dz-body [style*="183, 217, 54"],
body.dz-body [style*="46,213,115"],
body.dz-body [style*="#2ed573"],
body.dz-body [style*="13,152,112"] {
  border-color: rgba(191, 58, 52, .38) !important;
  color: rgba(238, 232, 224, .88) !important;
  box-shadow: none !important;
}

body.dz-body button[style*="#b7d936"],
body.dz-body button[style*="#d4e971"],
body.dz-body button[style*="#8aa51f"],
body.dz-body .btn-primary[style*="#b7d936"],
body.dz-body .btn-primary[style*="#d4e971"],
body.dz-body .btn-primary[style*="#8aa51f"] {
  background:
    linear-gradient(135deg, rgba(238, 232, 224, .94), rgba(202, 190, 177, .9)) !important;
  border-color: rgba(238, 232, 224, .24) !important;
  color: rgba(8, 8, 8, .95) !important;
}

body.dz-body .tickets-panel,
body.dz-body .ticket-detail,
body.dz-body .lb-table-wrap,
body.dz-body .stats-result-card,
body.dz-body .srv-switcher-wrap {
  border-color: rgba(238, 232, 224, .13) !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(191, 58, 52, .12), transparent 32%),
    linear-gradient(135deg, rgba(18, 14, 14, .62), rgba(4, 4, 4, .56)) !important;
}

body.dz-body .ticket-row.has-unread,
body.dz-body .adm-row.has-unread {
  border-left: 0 !important;
  border-color: rgba(191, 58, 52, .36) !important;
  background: rgba(191, 58, 52, .09) !important;
}

body.dz-body .ticket-status.answered,
body.dz-body .st.answered,
body.dz-body .ticket-notice.ok {
  color: rgba(238, 232, 224, .9) !important;
  border-color: rgba(191, 58, 52, .42) !important;
  background: rgba(191, 58, 52, .1) !important;
}

body.dz-body .ticket-msg.mine {
  background: rgba(191, 58, 52, .12) !important;
  border-color: rgba(191, 58, 52, .28) !important;
}

body.dz-body .lb-filter-btn,
body.dz-body .srv-switcher__btn,
body.dz-body .adm-filter {
  border-color: rgba(238, 232, 224, .16) !important;
  background: rgba(8, 8, 8, .42) !important;
  color: rgba(238, 232, 224, .7) !important;
}

body.dz-body .lb-filter-btn:hover,
body.dz-body .lb-filter-btn.active,
body.dz-body .srv-switcher__btn:hover,
body.dz-body .srv-switcher__btn.active,
body.dz-body .adm-filter.active {
  border-color: rgba(191, 58, 52, .52) !important;
  background: rgba(191, 58, 52, .12) !important;
  color: rgba(247, 244, 236, .95) !important;
  box-shadow: none !important;
}

body.dz-body .notice-info,
body.dz-body .notice-warn,
body.dz-body .ticket-empty {
  border-color: rgba(191, 58, 52, .3) !important;
  background: rgba(6, 6, 6, .58) !important;
  color: rgba(238, 232, 224, .72) !important;
}

@media (max-width: 1280px) {
  body.dz-body .dz-nav-inner {
    grid-template-columns: 184px minmax(0, 1fr) max-content !important;
    gap: 14px !important;
  }

  body.dz-body .dz-brand {
    width: 184px !important;
  }

  body.dz-body .dz-brand-logo {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
  }

  body.dz-body .dz-brand-copy strong {
    font-size: .92rem !important;
  }

  body.dz-body .dz-brand-copy small {
    font-size: .46rem !important;
  }

  body.dz-body .dz-nav-links {
    gap: 10px !important;
  }
}

@media (max-width: 980px) {
  body.dz-body .dz-nav-inner {
    grid-template-columns: 174px 1fr max-content !important;
    width: min(100% - 24px, 1560px) !important;
  }

  body.dz-body .dz-nav-links {
    justify-content: flex-start !important;
  }

  body.dz-body .dz-icon-link,
  body.dz-body .dz-social,
  body.dz-body .dz-admin-link {
    width: 42px !important;
    min-width: 42px !important;
  }

  body.dz-body .dz-account {
    min-width: 46px !important;
    width: 46px !important;
    padding: 0 !important;
    justify-content: center !important;
  }

  body.dz-body .dz-brand-copy small {
    display: none !important;
  }
}
