:root {
    --bg: #040404;
    --bg-2: #090909;
    --panel: rgba(8, 8, 8, 0.92);
    --panel-soft: rgba(12, 8, 8, 0.94);
    --line: rgba(150, 0, 0, 0.24);
    --line-strong: rgba(210, 0, 0, 0.52);
    --accent: #c70000;
    --accent-bright: #ff2b2b;
    --text: #ffffff;
    --text-soft: #8c7171;
    --title: #e8d8d1;
    --shadow-red: 0 0 24px rgba(199, 0, 0, 0.12);
    --inner-red: inset 0 0 22px rgba(199, 0, 0, 0.07);
    --sidebar-width: 270px;
    --rightbar-width: 320px;
    --gap: 10px;
    --radius: 0px;
    --font-main: "Segoe UI", Arial, sans-serif;
    --font-title: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    --font-mono: Consolas, "Courier New", monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 100%;
    background: #000;
    color: var(--text);
    font-family: var(--font-main);
}

body {
    position: relative;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: 0.22s ease;
}

a:hover {
    color: var(--accent-bright);
}

.bg-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 50% 16%, rgba(255, 0, 0, 0.14), transparent 28%),
        radial-gradient(circle at 50% 48%, rgba(150, 0, 0, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(18, 0, 0, 0.10), rgba(0, 0, 0, 0.96) 30%),
        linear-gradient(180deg, #050505 0%, #020202 100%);
}

.page-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.08;
    background-image:
        linear-gradient(rgba(255, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 4px 4px;
}

.scanlines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.05;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.03) 0,
        rgba(255, 255, 255, 0.03) 1px,
        transparent 2px,
        transparent 4px
    );
}

.layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr var(--rightbar-width);
    gap: var(--gap);
    max-width: 1900px;
    margin: 0 auto;
    padding: 10px;
    align-items: start;
}

.panel {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(13, 9, 9, 0.96), rgba(5, 5, 5, 0.98));
    border: 1px solid var(--line);
    box-shadow: var(--inner-red), var(--shadow-red);
}

.panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 0, 0, 0.05);
}

.panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.22), transparent);
    pointer-events: none;
}

.sidebar {
    min-height: calc(100vh - 20px);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.logo-block {
    border: 1px solid var(--line);
    padding: 18px 14px;
    background:
        radial-gradient(circle at center, rgba(255, 0, 0, 0.08), transparent 50%),
        linear-gradient(180deg, rgba(18, 8, 8, 0.96), rgba(7, 7, 7, 0.98));
}

.logo-symbol-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 118px;
    margin-bottom: 8px;
}

.logo-mark {
    color: var(--accent);
    font-size: 72px;
    line-height: 1;
    text-shadow: 0 0 18px rgba(255, 0, 0, 0.35);
}

.logo-title {
    text-align: center;
    font-family: var(--font-title);
    font-size: 34px;
    letter-spacing: 1px;
    color: var(--title);
    line-height: 0.95;
}

.logo-subtitle {
    margin-top: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    color: var(--accent);
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 48px;
    padding: 10px 14px 10px 85px;

    border: 1px solid rgba(255, 0, 0, 0.08);
    background: rgba(255, 0, 0, 0.02);

    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;

    transition: 0.22s ease;
}

.nav-item span {
    display: block;
    line-height: 1.2;
    text-align: left;
}

.nav-item b {
    color: var(--accent);
    opacity: 0;
    transition: 0.22s ease;
}

.nav-item:hover,
.nav-item.active {
    border-color: var(--line-strong);
    background: linear-gradient(
        90deg,
        rgba(255, 0, 0, 0.12),
        rgba(255, 0, 0, 0.03)
    );
    color: var(--title);
}

.nav-item:hover b,
.nav-item.active b {
    opacity: 1;
}

.sidebar-box,
.login-box {
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.2);
    padding: 14px;
}

.sidebar-label,
.login-title,
.status-title {
    color: var(--text-soft);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 8px;
}

.access-box {
    display: flex;
    gap: 12px;
    align-items: center;
}

.access-icon {
    color: var(--accent);
    font-size: 24px;
    min-width: 28px;
    text-align: center;
}

.status-text {
    color: var(--text);
}

.login-box {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-box label {
    color: var(--text-soft);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-box input {
    width: 100%;
    background: #080808;
    border: 1px solid var(--line);
    color: var(--text);
    padding: 12px;
    outline: none;
}

.login-box input:focus {
    border-color: var(--line-strong);
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.12);
}

.sidebar-footer {
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.5;
    padding: 4px 2px 0;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.topbar {
    min-height: 52px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-family: var(--font-mono);
}

.hero {
    min-height: 470px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    min-height: 470px;
}

.hero-text {
    position: relative;
    z-index: 2;
    padding: 28px 28px 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-kicker {
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    margin-bottom: 12px;
    font-family: var(--font-mono);
}

.hero-text h1 {
    font-family: var(--font-title);
    font-size: clamp(64px, 7vw, 120px);
    line-height: 0.88;
    color: #ddd0c5;
    letter-spacing: 2px;
    margin-bottom: 18px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.hero-text h2 {
    color: var(--accent);
    font-size: clamp(20px, 2vw, 34px);
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
    max-width: 760px;
}

.hero-text p {
    color: var(--text);
    font-size: 18px;
    line-height: 1.55;
    max-width: 680px;
    margin-bottom: 24px;
}

.hero-visual {
    position: relative;
    background:
        linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.4)),
        url("/static/img/index/hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(3.15) contrast(1.1);
}


.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.4) 40%,
        rgba(0,0,0,0.1) 100%
    );
}

.services {
    padding: 16px;
}

.section-title {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 16px;
    margin-bottom: 14px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.service-card {
    position: relative;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(12, 7, 7, 0.92), rgba(6, 6, 6, 0.98));
    padding: 10px;
    transition: 0.22s ease;
}

.service-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-3px);
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.10);
}

.card-image {
    height: 200px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 0, 0, 0.10);
    background-color: #292828;
    position: relative;
    overflow: hidden;
}

.card-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2),
        rgba(0,0,0,0.85)
    );
}

.card-image-1 {
    background: url("/static/img/index/confession.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-image-2 {
    background: url("/static/img/index/news.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-image-3 {
    background: url("/static/img/index/market.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-image-4 {
    background: url("/static/img/index/archive.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-image-5 {
    background: url("/static/img/index/community.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}




.service-card h3 {
    color: var(--title);
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.service-card p {
    min-height: 74px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.service-card:hover .card-image {
    transform: scale(1.05);
    filter: brightness(1.2);
    transition: 0.3s;
}

.bottom-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
    gap: var(--gap);
}

.news,
.quote,
.broadcast {
    padding: 16px;
}

.section-title-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.section-title-inline a {
    font-size: 13px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 0, 0, 0.08);
    line-height: 1.45;
    font-size: 14px;
}

.news-date {
    color: var(--accent);
    font-family: var(--font-mono);
    margin-right: 10px;
}

.quote {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    background: url("/static/img/index/quote.png") no-repeat right center;
    background-size: 220px;
}


.quote-text {
    position: relative;
    z-index: 1;
    color: var(--accent);
    font-size: 30px;
    line-height: 1.22;
    text-transform: uppercase;
    margin-bottom: 16px;
    max-width: 420px;
}

.quote-author {
    position: relative;
    z-index: 1;
    color: var(--text-soft);
    font-size: 14px;
}

.broadcast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: var(--title);
    text-transform: uppercase;
    font-size: 20px;
}

.live-badge {
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 2px;
}

.broadcast-subtitle {
    color: var(--text-soft);
    font-size: 14px;
    margin-bottom: 14px;
}

.waveform {
    display: flex;
    align-items: end;
    gap: 5px;
    height: 74px;
    margin-bottom: 16px;
    padding: 6px 0;
}

.waveform span {
    width: 6px;
    display: block;
    background: linear-gradient(to top, #5d0000, #ff2222);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.25);
    animation: pulse 1.2s infinite ease-in-out;
}

.waveform span:nth-child(1) { height: 16px; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 38px; animation-delay: 0.08s; }
.waveform span:nth-child(3) { height: 24px; animation-delay: 0.16s; }
.waveform span:nth-child(4) { height: 50px; animation-delay: 0.24s; }
.waveform span:nth-child(5) { height: 18px; animation-delay: 0.32s; }
.waveform span:nth-child(6) { height: 34px; animation-delay: 0.12s; }
.waveform span:nth-child(7) { height: 58px; animation-delay: 0.20s; }
.waveform span:nth-child(8) { height: 14px; animation-delay: 0.28s; }
.waveform span:nth-child(9) { height: 26px; animation-delay: 0.36s; }
.waveform span:nth-child(10) { height: 44px; animation-delay: 0.44s; }
.waveform span:nth-child(11) { height: 18px; animation-delay: 0.18s; }
.waveform span:nth-child(12) { height: 52px; animation-delay: 0.26s; }
.waveform span:nth-child(13) { height: 28px; animation-delay: 0.34s; }
.waveform span:nth-child(14) { height: 60px; animation-delay: 0.42s; }
.waveform span:nth-child(15) { height: 20px; animation-delay: 0.50s; }
.waveform span:nth-child(16) { height: 36px; animation-delay: 0.10s; }
.waveform span:nth-child(17) { height: 22px; animation-delay: 0.22s; }
.waveform span:nth-child(18) { height: 46px; animation-delay: 0.30s; }
.waveform span:nth-child(19) { height: 30px; animation-delay: 0.38s; }
.waveform span:nth-child(20) { height: 54px; animation-delay: 0.46s; }

.broadcast-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.broadcast-controls button {
    background: #080808;
    color: var(--text);
    border: 1px solid var(--line);
    padding: 10px 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

.broadcast-controls button:hover {
    border-color: var(--line-strong);
    color: var(--accent-bright);
}

.rightbar {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}


.confession-box {
    position: relative;
    overflow: hidden;
    padding: 16px;
    padding-right: 110px;
    background: url("/static/img/base/confession-side.png") no-repeat right 8px bottom 0;
    background-size: 75% 100%;
}

.info-box {
    position: relative;
    overflow: hidden;
    padding: 16px;
    background: url("/static/img/base/manifest.png") no-repeat right 10px top 20px;
    background-size: 50% 100%;
}

.info-box p {
    margin-bottom: 8px;
    line-height: 1.07;
}

.confession-box blockquote {
    margin-bottom: 8px;
    line-height: 1.5;

}

.confession-box blockquote {
    border-left: 2px solid var(--accent);
    padding-left: 12px;
    color: var(--text);
    font-size: 22px;
    line-height: 1.45;
}

.confession-author {
    color: var(--text-soft);
    margin: 12px 0;
    font-size: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(180deg, rgba(255, 0, 0, 0.08), rgba(255, 0, 0, 0.03));
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.22s ease;
}

.btn:hover {
    color: var(--accent-bright);
    background: linear-gradient(180deg, rgba(255, 0, 0, 0.16), rgba(255, 0, 0, 0.05));
    box-shadow: 0 0 14px rgba(255, 0, 0, 0.12);
}

.btn-full {
    width: 100%;
}

.btn-small {
    min-height: 44px;
    padding: 10px 16px;
}

@keyframes pulse {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.86;
    }
    50% {
        transform: scaleY(1.18);
        opacity: 1;
    }
}

@media (max-width: 1550px) {
    .layout {
        grid-template-columns: 250px 1fr;
    }

    .rightbar {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        min-height: auto;
    }

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

    .hero-visual {
        min-height: 340px;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rightbar {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

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

.topbar span {
    opacity: 0.55;
    transition: 0.25s ease;
}

.topbar span.topbar-active {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.35);
}

.logo-img {
    width: 200px;

}

.center-panel {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    min-width: 0;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    min-width: 0;
}

.rightbar {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    min-width: 0;
}

.nav-home::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    background: url("/static/img/icons/home.png") no-repeat center;
    background-size: contain;

    filter: brightness(1.6) contrast(1.2)
            drop-shadow(0 0 4px rgba(255, 0, 0, 0.45));

    transition: 0.25s ease;
}

.nav-home:hover::before,
.nav-home.active::before {
    filter: brightness(2) contrast(1.35)
            drop-shadow(0 0 6px rgba(255, 0, 0, 0.85));
}

.nav-news::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    background: url("/static/img/icons/news.png") no-repeat center;
    background-size: contain;

    filter: brightness(1.6) contrast(1.2)
            drop-shadow(0 0 4px rgba(255, 0, 0, 0.45));

    transition: 0.25s ease;
}

.nav-news:hover::before,
.nav-news.active::before {
    filter: brightness(2) contrast(1.35)
            drop-shadow(0 0 6px rgba(255, 0, 0, 0.85));
}

.nav-confessions::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    background: url("/static/img/icons/confessions.png") no-repeat center;
    background-size: contain;

    filter: brightness(1.6) contrast(1.2)
            drop-shadow(0 0 4px rgba(255, 0, 0, 0.45));

    transition: 0.25s ease;
}

.nav-confessions:hover::before,
.nav-confessions.active::before {
    filter: brightness(2) contrast(1.35)
            drop-shadow(0 0 6px rgba(255, 0, 0, 0.85));
}

.nav-services::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    background: url("/static/img/icons/services.png") no-repeat center;
    background-size: contain;

    filter: brightness(1.6) contrast(1.2)
            drop-shadow(0 0 4px rgba(255, 0, 0, 0.45));

    transition: 0.25s ease;
}

.nav-services:hover::before,
.nav-services.active::before {
    filter: brightness(2) contrast(1.35)
            drop-shadow(0 0 6px rgba(255, 0, 0, 0.85));
}

.nav-archives::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    background: url("/static/img/icons/archives.png") no-repeat center;
    background-size: contain;

    filter: brightness(1.6) contrast(1.2)
            drop-shadow(0 0 4px rgba(255, 0, 0, 0.45));

    transition: 0.25s ease;
}

.nav-archives:hover::before,
.nav-archives.active::before {
    filter: brightness(2) contrast(1.35)
            drop-shadow(0 0 6px rgba(255, 0, 0, 0.85));
}

.nav-community::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    background: url("/static/img/icons/community.png") no-repeat center;
    background-size: contain;

    filter: brightness(1.6) contrast(1.2)
            drop-shadow(0 0 4px rgba(255, 0, 0, 0.45));

    transition: 0.25s ease;
}

.nav-community:hover::before,
.nav-community.active::before {
    filter: brightness(2) contrast(1.35)
            drop-shadow(0 0 6px rgba(255, 0, 0, 0.85));
}

.nav-about::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    background: url("/static/img/icons/about.png") no-repeat center;
    background-size: contain;

    filter: brightness(1.6) contrast(1.2)
            drop-shadow(0 0 4px rgba(255, 0, 0, 0.45));

    transition: 0.25s ease;
}

.nav-about:hover::before,
.nav-about.active::before {
    filter: brightness(2) contrast(1.35)
            drop-shadow(0 0 6px rgba(255, 0, 0, 0.85));
}

.nav-docs::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    background: url("/static/img/icons/docs.png") no-repeat center;
    background-size: contain;

    filter: brightness(1.6) contrast(1.2)
            drop-shadow(0 0 4px rgba(255, 0, 0, 0.45));

    transition: 0.25s ease;
}

.nav-docs:hover::before,
.nav-docs.active::before {
    filter: brightness(2) contrast(1.35)
            drop-shadow(0 0 6px rgba(255, 0, 0, 0.85));
}

.access-box {
    display: flex;
    gap: 12px;
    align-items: center;
}

.access-icon {
    width: 80px;
    height: 80px;

    background: url("/static/img/icons/access.png") no-repeat center;
    background-size: contain;

    filter: drop-shadow(0 0 4px rgba(255, 0, 0, 0.55));
}

.sidebar-code {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 20px;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.25);
}

.sidebar-code.is-decoding {
    opacity: 0.95;
    filter: drop-shadow(0 0 6px rgba(255, 0, 0, 0.35));
}

.user-mini {
    margin: 12px 0;
    padding: 12px;
    border: 1px solid rgba(255, 0, 0, 0.35);
    background: rgba(40, 0, 0, 0.35);
}

.user-name {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.user-role {
    color: #ff4b4b;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flash-box {
    margin-bottom: 16px;
}

.flash-msg {
    padding: 10px 12px;
    border: 1px solid rgba(255, 0, 0, 0.45);
    background: rgba(80, 0, 0, 0.35);
    color: #fff;
    font-size: 13px;
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #8b0000;
    box-shadow: 0 0 20px rgba(180, 0, 0, 0.35);
}
.last-confession {
    min-width: 0;
    overflow: hidden;
}

.last-confession blockquote {
    overflow-wrap: anywhere;
}


/* ===== РОЛИ ===== */

.role-badge {
    font-size: 11px;
    padding: 3px 8px;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-admin {
    color: #ff4a4a;
    border-color: rgba(255, 0, 0, 0.7);
}

.role-moderator {
    color: #ff7a4a;
    border-color: rgba(255, 120, 0, 0.6);
}

.role-user {
    color: #c9b8b0;
    border-color: rgba(120, 0, 0, 0.3);
}

.role-unknown {
    color: #777;
    border-color: rgba(120, 120, 120, 0.25);
}

/* ===== РОЛИ ===== */