:root {
    --bg: #070707;
    --bg-soft: #111111;
    --panel: rgba(19, 19, 19, 0.88);
    --panel-strong: rgba(12, 12, 12, 0.95);
    --line: rgba(255, 255, 255, 0.08);
    --text: #f2f2f2;
    --muted: #9b9b9b;
    --silver: #d7d7d7;
    --red: #d91414;
    --red-bright: #ff3131;
    --red-dark: #6f0505;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at top center, rgba(217, 20, 20, 0.18), transparent 28%),
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.06), transparent 20%),
        linear-gradient(180deg, #0c0c0c 0%, #050505 100%);
}

.site-shell {
    position: relative;
    min-height: 100vh;
}

.site-shell::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.9), transparent 72%);
}

.portal-nav {
    background: rgba(5, 5, 5, 0.94);
    border-bottom: 1px solid rgba(255, 49, 49, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.portal-nav-inner {
    max-width: 1260px;
}

.portal-nav-collapse {
    flex-grow: 0;
    margin-left: clamp(1.25rem, 3vw, 4rem);
}

.portal-menu {
    gap: 0.45rem;
    padding: 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    letter-spacing: 0.18em;
    color: var(--silver);
}

.brand-lockup:hover {
    color: #fff;
}

.brand-icon,
.footer-mark {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-link {
    color: #f0ecec !important;
    border-radius: 999px;
    padding: 0.78rem 1.15rem !important;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.88rem;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    background: linear-gradient(180deg, rgba(255, 49, 49, 0.24), rgba(111, 5, 5, 0.22));
    box-shadow:
        inset 0 0 0 1px rgba(255, 49, 49, 0.2),
        0 10px 22px rgba(111, 5, 5, 0.2);
}

.hero-section {
    padding: 4.6rem 0 3.25rem;
    position: relative;
    overflow: hidden;
}

.hero-watermark {
    position: absolute;
    right: -3rem;
    top: -2rem;
    width: min(44rem, 72vw);
    opacity: 0.06;
    pointer-events: none;
    filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.05));
}

.panel-overline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(217, 20, 20, 0.28);
    background: rgba(111, 5, 5, 0.18);
    color: #ffb8b8;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
}

.status-dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: var(--red-bright);
    box-shadow: 0 0 16px rgba(255, 49, 49, 0.75);
}

.hero-title,
.panel-card h1,
.panel-card h2 {
    font-family: 'Cinzel', serif;
}

.hero-signature {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
    padding: 0.95rem 1.05rem;
    border-radius: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    max-width: 100%;
}

.hero-emblem {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 1rem;
    background:
        radial-gradient(circle at center, rgba(255, 49, 49, 0.16), transparent 58%),
        rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-emblem img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.hero-signature-copy {
    min-width: 0;
}

.hero-kicker {
    color: #ff9d9d;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.74rem;
    margin-bottom: 0.25rem;
}

.hero-signature-title {
    color: #f5f0f0;
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.hero-signature-text {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.45;
    max-width: 32rem;
}

.hero-title {
    font-size: clamp(3.8rem, 10vw, 6.6rem);
    line-height: 0.92;
    margin: 1.3rem 0 1rem;
    color: #f6f6f6;
    text-shadow: 0 0 22px rgba(255, 255, 255, 0.08);
}

.hero-title span {
    color: var(--red-bright);
    text-shadow: 0 0 18px rgba(255, 49, 49, 0.35);
}

.hero-copy,
.text-muted-brand {
    color: var(--muted);
}

.hero-copy {
    max-width: 42rem;
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.btn-brand-primary,
.btn-brand-secondary {
    border-radius: 1rem;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.btn-brand-primary {
    background: linear-gradient(180deg, #ff3434 0%, #990909 100%);
    border: 0;
    color: #fff;
    box-shadow: 0 16px 36px rgba(153, 9, 9, 0.4);
}

.btn-brand-primary:hover {
    color: #fff;
    filter: brightness(1.05);
}

.btn-brand-secondary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--silver);
}

.btn-brand-secondary:hover,
.btn-outline-light:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.hero-card,
.panel-card {
    position: relative;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.94), rgba(11, 11, 11, 0.98));
    border: 1px solid var(--line);
    border-radius: 1.6rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-card {
    padding: 1.75rem;
    min-height: 100%;
}

.hero-card-status {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: fit-content;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
    margin: 0 auto 1.25rem;
}

.hero-card-status.status-online {
    color: #98e7b6;
    border-color: rgba(92, 201, 128, 0.32);
    background: rgba(23, 92, 46, 0.2);
}

.hero-card-status.status-offline {
    color: #d2d2d2;
}

.hero-card-status.status-unavailable {
    color: #d8c8aa;
    border-color: rgba(216, 200, 170, 0.2);
    background: rgba(120, 95, 40, 0.13);
}

.hero-card-status.status-partial {
    color: #e4c88d;
    border-color: rgba(228, 200, 141, 0.22);
    background: rgba(130, 90, 20, 0.12);
}

.hero-card-status.status-online .status-dot {
    background: #4fd07a;
    box-shadow: 0 0 12px rgba(79, 208, 122, 0.55);
}

.hero-card-status.status-offline .status-dot {
    background: #6f6f6f;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.18);
}

.hero-card-status.status-unavailable .status-dot {
    background: #c9aa5d;
    box-shadow: 0 0 12px rgba(201, 170, 93, 0.45);
}

.hero-card-status.status-partial .status-dot {
    background: #d9b15f;
    box-shadow: 0 0 12px rgba(217, 177, 95, 0.45);
}

.hero-card-glow {
    position: absolute;
    inset: auto 10% 70% 10%;
    height: 10rem;
    background: none;
    pointer-events: none;
}

.hero-logo {
    position: relative;
    display: block;
    width: min(20rem, 100%);
    margin: 0 auto 1.15rem;
    filter: none;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hero-metrics > div,
.mini-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.15rem;
    padding: 1rem 1.1rem;
}

.dashboard-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-mini-grid .mini-card {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dashboard-mini-grid .mini-card-wide {
    grid-column: span 2;
}

.hero-metrics span,
.mini-card span,
.stat-list span {
    color: var(--muted);
    display: block;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-metrics strong,
.mini-card strong,
.stat-list strong {
    color: #fff;
    font-size: 1.1rem;
    display: block;
    margin-top: 0.32rem;
}

.arena-card .arena-record-line {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.45rem;
}

.arena-card .arena-win,
.arena-card .arena-loss {
    margin-top: 0;
    font-size: 1.35rem;
}

.arena-card .arena-win {
    color: #5fe08f;
}

.arena-card .arena-loss {
    color: #ff7c7c;
}

.arena-card .arena-separator {
    color: var(--muted);
    display: inline-block;
    margin-bottom: 0;
    font-size: 1rem;
}

.arena-card .arena-record-note,
.arena-card .arena-ratio {
    color: var(--muted);
    font-size: 0.88rem;
    margin-top: 0.35rem;
}

.refresh-note {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
}

.refresh-dot {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: rgba(79, 208, 122, 0.9);
    box-shadow: 0 0 10px rgba(79, 208, 122, 0.36);
    flex: 0 0 0.42rem;
}

.refresh-copy {
    flex: 1 1 15rem;
}

.refresh-time {
    color: #cfcfcf;
    font-size: 0.68rem;
    white-space: nowrap;
}

.content-section,
.inner-section {
    position: relative;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.section-head-centered {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.section-head-centered > div:first-child {
    max-width: 52rem;
}

.panel-card {
    padding: 1.6rem;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.panel-header h2,
.panel-card h1 {
    margin: 0;
}

.icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.icon-box.red {
    background: linear-gradient(180deg, rgba(255, 49, 49, 0.28), rgba(111, 5, 5, 0.92));
}

.icon-box.light {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(130, 130, 130, 0.4));
}

.stat-list {
    display: flex;
    flex-direction: column;
}

.stat-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-list > div:last-child {
    border-bottom: 0;
}

.brand-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--silver);
    --bs-table-border-color: rgba(255, 255, 255, 0.06);
}

.brand-table thead th {
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.compact-table thead th,
.compact-table tbody td {
    font-size: 0.92rem;
}

.table-note {
    color: var(--muted);
    font-size: 0.86rem;
}

.text-link-inline {
    color: #ffd4d4;
    text-decoration: none;
}

.text-link-inline:hover {
    color: #fff;
    text-decoration: underline;
}

.leaderboard-accordion {
    display: grid;
    gap: 0.9rem;
}

.leaderboard-item {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.leaderboard-item .accordion-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    box-shadow: none;
    padding: 1.15rem 1.25rem;
}

.leaderboard-item .accordion-button:not(.collapsed) {
    background: rgba(255, 49, 49, 0.08);
    color: #fff;
}

.leaderboard-item .accordion-button::after {
    filter: invert(1) grayscale(1);
    opacity: 0.8;
}

.leaderboard-button-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    min-width: 0;
}

.leaderboard-kicker {
    color: var(--muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.leaderboard-title {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    line-height: 1.1;
}

.leaderboard-note {
    margin-left: auto;
    color: var(--muted);
    font-size: 0.86rem;
    text-align: right;
}

.leaderboard-item .accordion-body {
    padding: 0 1.25rem 1.2rem;
}

.status-text.status-online {
    color: #72e0a4;
}

.status-text.status-offline {
    color: #d8d8d8;
}

.status-text.status-unavailable,
.status-text.status-partial {
    color: #d8c8aa;
}

.form-panel {
    padding: 2rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
}

.download-card p {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.price-tag {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.9rem;
    text-shadow: 0 0 18px rgba(255, 49, 49, 0.16);
}

.compact-list > div {
    padding: 0.85rem 0;
}

.form-logo {
    width: 92px;
    height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 0 22px rgba(255, 49, 49, 0.2));
}

.brand-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    color: #fff;
    padding: 0.9rem 1rem;
}

.brand-input:focus {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255, 49, 49, 0.6);
    box-shadow: 0 0 0 0.22rem rgba(255, 49, 49, 0.12);
}

.brand-input::placeholder {
    color: rgba(255, 255, 255, 0.32);
}

select.brand-input {
    background-color: rgba(20, 20, 20, 0.96);
    color: #fff;
}

select.brand-input option {
    background: #161616;
    color: #f2f2f2;
}

select.brand-input option[value=""] {
    color: rgba(255, 255, 255, 0.6);
}

textarea.brand-input {
    min-height: 150px;
    resize: vertical;
}

.brand-check {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--silver);
    font-size: 0.95rem;
    cursor: pointer;
}

.brand-check input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--red-bright);
    cursor: pointer;
}

.brand-check span {
    line-height: 1.35;
}

.dashboard-section {
    position: relative;
    overflow: hidden;
}

.dashboard-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 18%, rgba(255, 49, 49, 0.1), transparent 24%),
        radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.05), transparent 18%),
        radial-gradient(circle at 50% 100%, rgba(255, 49, 49, 0.08), transparent 28%);
    opacity: 0.9;
}

.dashboard-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        url('../img/beasty-head-red.png') center 6rem / min(72rem, 88vw) no-repeat;
    opacity: 0.3;
    filter: saturate(1.05);
}

.dashboard-section .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .dashboard-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-mini-grid .mini-card-wide {
        grid-column: span 2;
    }
}

@media (max-width: 575px) {
    .dashboard-mini-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-mini-grid .mini-card-wide {
        grid-column: auto;
    }
}

.online-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.online-badge.is-online {
    background: rgba(79, 208, 122, 0.14);
    color: #9ce4b5;
}

.online-badge.is-offline {
    background: rgba(255, 255, 255, 0.06);
    color: var(--silver);
}

.empty-box {
    padding: 1.2rem;
    border-radius: 1rem;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.02);
}

.panel-divider {
    height: 1px;
    margin: 1.75rem 0 1.25rem;
    background: rgba(255, 255, 255, 0.08);
}

.legal-panel {
    padding: 2rem;
}

.legal-copy {
    display: grid;
    gap: 1rem;
}

.legal-copy h3 {
    margin: 0.35rem 0 0;
    font-family: 'Cinzel', serif;
    font-size: 1.08rem;
    color: #f6f2f2;
}

.legal-copy p {
    margin: 0;
    color: rgba(232, 232, 232, 0.82);
    line-height: 1.7;
}

.legal-side-card {
    position: sticky;
    top: 6.5rem;
}

.subpanel-title {
    margin: 0 0 0.5rem;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: #f0f0f0;
}

.feed-list {
    display: grid;
    gap: 0.4rem;
    max-height: 24rem;
    overflow-y: auto;
    padding-right: 0.28rem;
    align-content: start;
}

.feed-item {
    padding: 0.42rem 0.6rem;
    border-radius: 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.018));
    box-shadow: inset 3px 0 0 rgba(255, 49, 49, 0.16);
}

.feed-item[data-tone="boss"] {
    box-shadow: inset 3px 0 0 rgba(255, 118, 44, 0.55);
    background: linear-gradient(180deg, rgba(255, 118, 44, 0.06), rgba(255, 255, 255, 0.015));
}

.feed-item[data-tone="pvp"] {
    box-shadow: inset 3px 0 0 rgba(255, 49, 49, 0.45);
    background: linear-gradient(180deg, rgba(255, 49, 49, 0.06), rgba(255, 255, 255, 0.015));
}

.feed-item[data-tone="event"] {
    box-shadow: inset 3px 0 0 rgba(211, 171, 83, 0.5);
    background: linear-gradient(180deg, rgba(211, 171, 83, 0.06), rgba(255, 255, 255, 0.015));
}

.feed-item[data-tone="progression"] {
    box-shadow: inset 3px 0 0 rgba(126, 103, 255, 0.45);
    background: linear-gradient(180deg, rgba(126, 103, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.feed-item[data-tone="guild"] {
    box-shadow: inset 3px 0 0 rgba(72, 198, 169, 0.45);
    background: linear-gradient(180deg, rgba(72, 198, 169, 0.06), rgba(255, 255, 255, 0.015));
}

.feed-item[data-tone="vote"] {
    box-shadow: inset 3px 0 0 rgba(91, 211, 122, 0.5);
    background: linear-gradient(180deg, rgba(91, 211, 122, 0.06), rgba(255, 255, 255, 0.015));
}

.feed-item[data-tone="web"] {
    box-shadow: inset 3px 0 0 rgba(83, 152, 230, 0.45);
    background: linear-gradient(180deg, rgba(83, 152, 230, 0.06), rgba(255, 255, 255, 0.015));
}

.feed-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.14rem;
}

.feed-head-main {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-width: 0;
}

.feed-icon {
    width: 1rem;
    height: 1rem;
    border-radius: 0.32rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffe1e1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.56rem;
    flex: 0 0 1rem;
}

.feed-type,
.feed-time {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.feed-type {
    display: inline-flex;
    align-items: center;
    padding: 0.14rem 0.42rem;
    border-radius: 999px;
    color: #ffd0d0;
    background: rgba(111, 5, 5, 0.22);
    border: 1px solid rgba(255, 49, 49, 0.16);
}

.feed-item[data-tone="boss"] .feed-type {
    color: #ffd8bf;
    background: rgba(255, 118, 44, 0.18);
    border-color: rgba(255, 118, 44, 0.22);
}

.feed-item[data-tone="boss"] .feed-icon {
    color: #ffd8bf;
    background: rgba(255, 118, 44, 0.15);
    border-color: rgba(255, 118, 44, 0.22);
}

.feed-item[data-tone="pvp"] .feed-type {
    color: #ffd0d0;
    background: rgba(255, 49, 49, 0.2);
    border-color: rgba(255, 49, 49, 0.22);
}

.feed-item[data-tone="pvp"] .feed-icon {
    color: #ffd0d0;
    background: rgba(255, 49, 49, 0.16);
    border-color: rgba(255, 49, 49, 0.22);
}

.feed-item[data-tone="event"] .feed-type {
    color: #ffe9b1;
    background: rgba(211, 171, 83, 0.18);
    border-color: rgba(211, 171, 83, 0.24);
}

.feed-item[data-tone="event"] .feed-icon {
    color: #ffe9b1;
    background: rgba(211, 171, 83, 0.16);
    border-color: rgba(211, 171, 83, 0.24);
}

.feed-item[data-tone="progression"] .feed-type {
    color: #d8d1ff;
    background: rgba(126, 103, 255, 0.18);
    border-color: rgba(126, 103, 255, 0.22);
}

.feed-item[data-tone="progression"] .feed-icon {
    color: #d8d1ff;
    background: rgba(126, 103, 255, 0.15);
    border-color: rgba(126, 103, 255, 0.22);
}

.feed-item[data-tone="guild"] .feed-type {
    color: #c7fff1;
    background: rgba(72, 198, 169, 0.16);
    border-color: rgba(72, 198, 169, 0.22);
}

.feed-item[data-tone="guild"] .feed-icon {
    color: #c7fff1;
    background: rgba(72, 198, 169, 0.14);
    border-color: rgba(72, 198, 169, 0.22);
}

.feed-item[data-tone="vote"] .feed-type {
    color: #c9ffd5;
    background: rgba(91, 211, 122, 0.16);
    border-color: rgba(91, 211, 122, 0.22);
}

.feed-item[data-tone="vote"] .feed-icon {
    color: #c9ffd5;
    background: rgba(91, 211, 122, 0.14);
    border-color: rgba(91, 211, 122, 0.22);
}

.feed-item[data-tone="web"] .feed-type {
    color: #d2e7ff;
    background: rgba(83, 152, 230, 0.16);
    border-color: rgba(83, 152, 230, 0.22);
}

.feed-item[data-tone="web"] .feed-icon {
    color: #d2e7ff;
    background: rgba(83, 152, 230, 0.14);
    border-color: rgba(83, 152, 230, 0.22);
}

.feed-time {
    color: rgba(255, 255, 255, 0.42);
}

.feed-title {
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.08;
    margin-bottom: 0.05rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-details {
    color: rgba(232, 232, 232, 0.72);
    font-size: 0.7rem;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-list::-webkit-scrollbar {
    width: 0.45rem;
}

.feed-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
}

.feed-list::-webkit-scrollbar-thumb {
    background: rgba(255, 49, 49, 0.22);
    border-radius: 999px;
}

.feed-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 49, 49, 0.34);
}

.presence-panel {
    padding: 0.95rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        radial-gradient(circle at top left, rgba(255, 49, 49, 0.08), transparent 48%);
}

.presence-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.presence-hint {
    color: #f2d1d1;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.presence-hint-muted {
    color: var(--muted);
}

.presence-list {
    display: grid;
    gap: 0.75rem;
}

.presence-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1rem 0.95rem 0.9rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012));
    box-shadow: inset 3px 0 0 rgba(255, 49, 49, 0.2);
}

.presence-rank {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffd3d3;
    font-weight: 700;
    font-size: 0.82rem;
    background: linear-gradient(180deg, rgba(255, 49, 49, 0.22), rgba(111, 5, 5, 0.18));
    border: 1px solid rgba(255, 49, 49, 0.16);
}

.presence-core {
    min-width: 0;
}

.presence-name {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.16rem;
}

.presence-meta,
.discord-link-note {
    color: var(--muted);
    font-size: 0.82rem;
}

.presence-location {
    text-align: right;
}

.presence-location-label {
    color: var(--muted);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    margin-bottom: 0.18rem;
}

.presence-map {
    color: var(--silver);
    font-weight: 600;
    text-align: right;
}

.discord-panel {
    overflow: visible;
}

.discord-copy-stack {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
}

.discord-updates-shell {
    min-height: 35rem;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background:
        radial-gradient(circle at top right, rgba(255, 49, 49, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(19, 19, 19, 0.95), rgba(8, 8, 8, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.discord-updates-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.discord-updates-title {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #fff;
    font-weight: 700;
}

.discord-live-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: #ff3434;
    box-shadow: 0 0 16px rgba(255, 49, 49, 0.55);
}

.discord-updates-list {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    max-height: 32rem;
    overflow-y: auto;
}

.discord-update-item {
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    box-shadow: inset 3px 0 0 rgba(255, 49, 49, 0.18);
}

.discord-update-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.45rem;
}

.discord-update-badge,
.discord-update-time {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.discord-update-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    color: #ffd0d0;
    background: rgba(111, 5, 5, 0.2);
    border: 1px solid rgba(255, 49, 49, 0.16);
}

.discord-update-time {
    color: rgba(255, 255, 255, 0.45);
}

.discord-update-title {
    margin: 0 0 0.35rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1.25;
}

.discord-update-details {
    margin: 0;
    color: rgba(232, 232, 232, 0.78);
    font-size: 0.92rem;
    line-height: 1.45;
}

.discord-updates-list::-webkit-scrollbar {
    width: 0.45rem;
}

.discord-updates-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
}

.discord-updates-list::-webkit-scrollbar-thumb {
    background: rgba(255, 49, 49, 0.22);
    border-radius: 999px;
}

.discord-updates-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 49, 49, 0.34);
}

.discord-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-start;
}

.vote-launch-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 1fr);
    gap: 1.2rem;
    padding: 1.2rem 1.25rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(255, 49, 49, 0.11), transparent 24%),
        linear-gradient(180deg, rgba(22, 22, 22, 0.96), rgba(10, 10, 10, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 20px 48px rgba(0, 0, 0, 0.28);
}

.vote-launch-copy h2,
.vote-admin-monitor h3 {
    color: #fff;
    margin: 0;
}

.vote-health-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.vote-health-item,
.vote-instruction,
.vote-log-item {
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.vote-health-item {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
}

.vote-health-item span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.vote-health-item strong {
    color: #fff;
    font-size: 1rem;
}

.vote-instructions {
    display: grid;
    gap: 0.75rem;
}

.vote-instruction {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 0.95rem;
    border-radius: 1rem;
}

.vote-instruction span {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(180deg, rgba(255, 49, 49, 0.34), rgba(111, 5, 5, 0.28));
    border: 1px solid rgba(255, 49, 49, 0.22);
}

.vote-instruction strong {
    color: rgba(245, 245, 245, 0.92);
    font-size: 0.92rem;
    line-height: 1.35;
}

.vote-admin-monitor {
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vote-log-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.8rem;
}

.vote-log-item {
    padding: 0.85rem 0.95rem;
    border-radius: 1rem;
    color: rgba(234, 234, 234, 0.78);
    font-size: 0.78rem;
    line-height: 1.45;
    word-break: break-word;
    font-family: Consolas, "Courier New", monospace;
}

.shadow-panel {
    box-shadow: var(--shadow);
}

.portal-footer {
    margin-top: 3rem;
    border-top: 1px solid var(--line);
    background: rgba(7, 7, 7, 0.78);
}

.footer-legal-links {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal-links a {
    color: var(--muted);
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: #fff;
}

.cookie-banner-wrap {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1200;
    width: min(29rem, calc(100vw - 1.5rem));
    pointer-events: auto;
}

.cookie-banner {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.15rem 1.15rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at top right, rgba(255, 49, 49, 0.1), transparent 22%),
        rgba(10, 10, 10, 0.94);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.cookie-banner-copy {
    max-width: none;
}

.cookie-banner-copy h2 {
    margin: 0.55rem 0 0.35rem;
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.cookie-banner-form {
    margin: 0;
}

@media (max-width: 991.98px) {
    .vote-launch-panel {
        grid-template-columns: 1fr;
    }

    .portal-nav-collapse {
        margin-left: 0;
        padding-top: 1rem;
    }

    .portal-nav {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .portal-menu {
        padding: 0;
        border: 0;
        background: none;
        box-shadow: none;
    }

    .site-shell::before {
        display: none;
    }

    .navbar-collapse.collapsing,
    .accordion-collapse.collapsing,
    .collapsing {
        transition: none !important;
    }

    .hero-section {
        padding-top: 3.75rem;
    }

    .hero-watermark {
        opacity: 0.04;
        width: 90vw;
    }

    .discord-updates-shell {
        min-height: 28rem;
    }

    .cookie-banner-actions {
        justify-content: flex-start;
    }

    .legal-side-card {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .hero-signature {
        align-items: flex-start;
        padding: 0.9rem;
    }

    .hero-emblem {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .hero-emblem img {
        width: 36px;
        height: 36px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .presence-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .presence-panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .presence-item {
        grid-template-columns: 1fr;
    }

    .presence-location {
        text-align: left;
    }

    .presence-map {
        text-align: left;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .panel-card,
    .hero-card {
        border-radius: 1.25rem;
    }

    .leaderboard-item .accordion-button {
        align-items: flex-start;
        flex-direction: column;
    }

    .leaderboard-note {
        margin-left: 0;
        text-align: left;
    }

    .discord-updates-head,
    .discord-update-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .cookie-banner-actions,
    .cookie-banner-form,
    .cookie-banner-form .btn {
        width: 100%;
    }

    .cookie-banner-wrap {
        right: 0.5rem;
        bottom: 0.5rem;
        width: calc(100vw - 1rem);
    }

}
