.forum-page--home {
    --home-bg: #070707;
    --home-bg-soft: #12100e;
    --home-panel: rgba(12, 12, 12, 0.92);
    --home-panel-strong: rgba(18, 16, 14, 0.96);
    --home-panel-light: rgba(28, 24, 20, 0.92);
    --home-border: rgba(255, 173, 78, 0.16);
    --home-border-strong: rgba(255, 181, 74, 0.28);
    --home-text: #f4ede3;
    --home-text-soft: rgba(244, 237, 227, 0.72);
    --home-text-dim: rgba(244, 237, 227, 0.5);
    --home-gold: #f0b255;
    --home-gold-strong: #ff9a28;
    --home-orange: #ff7a1a;
    --home-purple: #7c49ff;
    --home-purple-soft: #9e73ff;
    --home-shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
    --home-glow: 0 0 0 1px rgba(255, 162, 64, 0.08), 0 12px 34px rgba(0, 0, 0, 0.42), 0 0 30px rgba(255, 132, 30, 0.12);
    background: 
        radial-gradient(circle at 50% -10%, rgb(255 153 46 / 0%), transparent 34%), 
        radial-gradient(circle at 86% 20%, rgb(118 54 18 / 0%), transparent 30%), 
        linear-gradient(180deg, rgb(3 3 3 / 0%), rgb(5 5 5 / 0%)), 
        url(../img/bgs.png) center top / cover fixed no-repeat !important;
    color: var(--forum-text-main);
}

body.forum-page--home::before,
body.forum-page--home::after {
    display: none !important;
}

.forum-page--home .forum-main {
    width: min(calc(100% - 36px), 1540px);
    padding-top: 18px;
    padding-bottom: 42px;
}

.forum-page--home .forum-shell {
    gap: 18px;
    color: var(--home-text);
}

.forum-page--home .forum-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background:
        linear-gradient(180deg, rgba(16, 16, 16, 0.96), rgba(10, 10, 10, 0.96)),
        linear-gradient(90deg, rgba(255, 161, 52, 0.08), transparent 34%, rgba(132, 80, 255, 0.06));
    border: 1px solid rgba(255, 171, 70, 0.12);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
    overflow: hidden;
}

.forum-page--home .forum-topbar::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 178, 85, 0.05), transparent 28%, transparent 72%, rgba(145, 89, 255, 0.05)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 20%);
    opacity: 0.9;
}

.forum-page--home .forum-topbar > * {
    position: relative;
    z-index: 1;
}

.forum-page--home .forum-topbar-brand {
    min-height: 58px;
    gap: 9px;
    padding-right: 2px;
    flex: 0 1 320px;
}

.forum-page--home .forum-topbar-brandmark {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 16px;
    border: 1px solid rgba(255, 176, 73, 0.16);
    background: linear-gradient(180deg, rgba(24, 19, 15, 0.96), rgba(12, 10, 9, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 230, 184, 0.08), 0 10px 24px rgba(0, 0, 0, 0.3);
}

.forum-page--home .forum-topbar-brandmark img {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 8px rgba(255, 150, 43, 0.24));
}

.forum-page--home .forum-topbar-brandcopy strong {
    color: #fff7ea;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.forum-page--home .forum-topbar-brandcopy span {
    color: rgba(255, 241, 223, 0.54);
    font-size: 0.84rem;
}

.forum-page--home .forum-topbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.forum-page--home .forum-topbar-nav-row {
    display: contents;
}

.forum-page--home .forum-topbar-nav a {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 170, 73, 0.08);
    background: linear-gradient(180deg, rgba(24, 24, 24, 0.88), rgba(12, 12, 12, 0.92));
    color: rgba(244, 237, 227, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.forum-page--home .forum-topbar-nav a i {
    color: rgba(255, 195, 96, 0.86);
}

.forum-page--home .forum-topbar-nav a:hover,
.forum-page--home .forum-topbar-nav a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 183, 83, 0.2);
    background: linear-gradient(180deg, rgba(34, 28, 22, 0.96), rgba(18, 16, 14, 0.96));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26), 0 0 20px rgba(255, 154, 40, 0.08);
}

.forum-page--home .forum-topbar-nav a.is-active {
    background: linear-gradient(180deg, #f0a63b, #bf6318);
    border-color: rgba(255, 196, 118, 0.28);
    color: #fffaf0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 28px rgba(188, 98, 24, 0.26);
}

.forum-page--home .forum-topbar-nav a.is-active i {
    color: #fff8ef;
}

.forum-page--home .forum-topbar-actions {
    flex: 0 0 auto;
    gap: 10px;
    flex-wrap: nowrap;
}

.forum-page--home .forum-icon-button,
.forum-page--home .forum-language-switch,
.forum-page--home .forum-userbox-trigger {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.96), rgba(12, 12, 12, 0.96));
    border: 1px solid rgba(255, 170, 73, 0.08);
    color: rgba(255, 244, 230, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.forum-page--home .forum-icon-button:hover,
.forum-page--home .forum-icon-button.is-active,
.forum-page--home .forum-userbox-trigger:hover,
.forum-page--home .forum-userbox-trigger:focus-visible {
    border-color: rgba(255, 183, 83, 0.18);
    background: linear-gradient(180deg, rgba(34, 28, 22, 0.98), rgba(17, 15, 13, 0.98));
    color: #fff1d9;
}

.forum-page--home .forum-icon-badge {
    background: linear-gradient(180deg, #ff9053, #de284a);
    color: #fff;
    box-shadow: 0 0 0 2px #111;
}

.forum-page--home .forum-language-switch {
    border-radius: 14px;
    padding: 4px;
    gap: 4px;
}

.forum-page--home .forum-language-switch a {
    color: rgba(255, 239, 217, 0.74);
    border-radius: 10px;
}

.forum-page--home .forum-language-switch a.is-active {
    background: linear-gradient(180deg, rgba(255, 182, 73, 0.2), rgba(255, 129, 31, 0.16));
    color: #fff;
}

.forum-page--home .forum-userbox-trigger {
    border-radius: 14px;
}

.forum-page--home .forum-userbox-trigger img {
    box-shadow: 0 0 0 2px rgba(255, 182, 73, 0.12);
}

.forum-page--home .forum-userbox-panel {
    border-radius: 20px;
    border: 1px solid var(--home-border);
    background: linear-gradient(180deg, rgba(16, 16, 16, 0.98), rgba(12, 12, 12, 0.98));
    box-shadow: var(--home-shadow);
}

.forum-page--home .forum-home-hero {
    display: grid;
    gap: 18px;
}

.forum-page--home .forum-home-hero-banner {
    position: relative;
    min-height: 428px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--home-border);
    background:
        linear-gradient(180deg, rgba(8, 8, 8, 0.12), rgba(8, 8, 8, 0.36)),
        url("../img/forum-item/forum-mainb1.png") center center / cover no-repeat,
        #140f0b;
    box-shadow: var(--home-shadow);
}

.forum-page--home .forum-home-hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.04) 36%, rgba(0, 0, 0, 0.48) 100%),
        radial-gradient(circle at center, transparent 0 30%, rgba(0, 0, 0, 0.24) 65%, rgba(0, 0, 0, 0.44) 100%);
    pointer-events: none;
}

.forum-page--home .forum-home-hero-overlay {
    position: absolute;
    inset: auto 0 0;
    height: 78px;
    background: linear-gradient(180deg, transparent, rgba(6, 6, 6, 0.78));
    z-index: 1;
}

.forum-page--home .forum-home-hero-copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 28px 32px;
    text-align: center;
}

.forum-page--home .forum-home-hero-chip,
.forum-page--home .forum-home-hero-copy h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.forum-page--home .forum-home-hero-copy p {
    margin: 0;
    color: rgba(252, 214, 153, 0.94);
    font-size: clamp(1rem, 1.2vw, 1.18rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
}

.forum-page--home .forum-home-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.forum-page--home .forum-home-stat-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 96px;
    padding: 20px 22px;
    border-radius: 20px;
    border: 1px solid var(--home-border);
    background:
        linear-gradient(180deg, rgba(18, 18, 18, 0.95), rgba(10, 10, 10, 0.94));
    box-shadow: var(--home-glow);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.forum-page--home .forum-home-stat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.03) 36%, transparent 58%);
    transform: translateX(-120%);
    animation: forum-home-shimmer 8s linear infinite;
    animation-delay: var(--card-delay, 0s);
    pointer-events: none;
}

.forum-page--home .forum-home-stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--home-border-strong);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.44), 0 0 28px rgba(255, 149, 43, 0.14);
}

.forum-page--home .forum-home-stat-icon {
    position: relative;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 181, 74, 0.22), rgba(255, 117, 29, 0.14));
    border: 1px solid rgba(255, 182, 73, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 14px 26px rgba(0, 0, 0, 0.28);
    animation: forum-home-float 5.8s ease-in-out infinite;
    animation-delay: var(--card-delay, 0s);
}

.forum-page--home .forum-home-stat-icon::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 12px;
    background: radial-gradient(circle, rgba(255, 208, 139, 0.18), transparent 72%);
}

.forum-page--home .forum-home-stat-icon i {
    position: relative;
    z-index: 1;
    color: #ffbe64;
    font-size: 1.22rem;
    text-shadow: 0 0 12px rgba(255, 177, 84, 0.24);
}

.forum-page--home .forum-home-stat-copy strong {
    display: block;
    color: #fff6e7;
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.forum-page--home .forum-home-stat-copy span {
    display: block;
    margin-top: 8px;
    color: rgba(245, 234, 217, 0.62);
    font-size: 0.95rem;
}

.forum-page--home .forum-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}

.forum-page--home .forum-home-primary {
    display: grid;
    gap: 18px;
}

.forum-page--home .forum-home-board,
.forum-page--home .forum-home-widget,
.forum-page--home .forum-home-shortcuts {
    position: relative;
    border-radius: 24px;
    border: 1px solid var(--home-border);
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.96), rgba(10, 10, 10, 0.96));
    box-shadow: var(--home-glow);
    overflow: hidden;
}

.forum-page--home .forum-home-board::before,
.forum-page--home .forum-home-widget::before,
.forum-page--home .forum-home-shortcuts::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%);
}

.forum-page--home .forum-home-board-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 26px 18px;
    border-bottom: 1px solid rgba(255, 183, 83, 0.08);
}

.forum-page--home .forum-home-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 181, 74, 0.2), rgba(255, 117, 29, 0.14));
    color: #ffd08e;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.forum-page--home .forum-home-board-header h2 {
    margin: 12px 0 8px;
    color: #fff4e1;
    font-size: clamp(2rem, 2.7vw, 2.55rem);
    line-height: 1.04;
}

.forum-page--home .forum-home-board-header p {
    margin: 0;
    max-width: 760px;
    color: var(--home-text-soft);
    line-height: 1.6;
}

.forum-page--home .forum-home-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f0a63b, #bf6318);
    color: #fff7ed;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(191, 99, 24, 0.18);
}

.forum-page--home .forum-home-board-headings {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) 70px 110px 330px;
    gap: 14px;
    align-items: center;
    padding: 12px 26px;
    color: rgba(245, 234, 217, 0.46);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.forum-page--home .forum-home-board-list {
    display: grid;
    gap: 0;
}

.forum-page--home .forum-home-board-row {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 90px 110px 340px;
    gap: 14px;
    align-items: center;
    padding: 18px 26px;
    min-height: 118px;
    border-top: 1px solid rgba(255, 183, 83, 0.06);
    transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.forum-page--home .forum-home-board-row:first-child {
    border-top: 1px solid rgba(255, 183, 83, 0.05);
}

.forum-page--home .forum-home-board-row:hover {
    transform: translateX(3px);
    background: linear-gradient(90deg, rgba(255, 165, 52, 0.05), rgba(255, 130, 31, 0.02) 26%, rgba(255, 255, 255, 0.01));
}

.forum-page--home .forum-home-board-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.forum-page--home .forum-home-board-icon,
.forum-page--home .forum-home-board-copy,
.forum-page--home .forum-home-board-count,
.forum-page--home .forum-home-board-latest {
    position: relative;
    z-index: 2;
}

.forum-page--home .forum-home-board-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 181, 74, 0.16), rgba(255, 117, 29, 0.1));
    border: 1px solid rgba(255, 182, 73, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.forum-page--home .forum-home-board-icon i {
    color: #f0ab49;
    font-size: 1.3rem;
}

.forum-page--home .forum-home-board-copy h3 {
    margin: 0 0 8px;
    color: #f6d08f;
    font-size: 1.34rem;
}

.forum-page--home .forum-home-board-copy p {
    margin: 0;
    color: rgba(245, 234, 217, 0.58);
    line-height: 1.55;
}

.forum-page--home .forum-home-board-count {
    display: grid;
    gap: 4px;
    justify-items: center;
}

.forum-page--home .forum-home-board-count strong {
    color: #fff3db;
    font-size: 1.14rem;
    font-weight: 800;
}

.forum-page--home .forum-home-board-count span {
    color: rgba(245, 234, 217, 0.48);
    font-size: 0.88rem;
}

.forum-page--home .forum-home-board-latest {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.forum-page--home .forum-home-board-avatar {
    display: inline-flex;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 182, 73, 0.16);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.forum-page--home .forum-home-board-avatar img,
.forum-page--home .forum-home-user img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.forum-page--home .forum-home-board-latest-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.forum-page--home .forum-home-board-latest-link,
.forum-page--home .forum-home-board-latest-copy strong {
    color: #efe7d7;
    font-weight: 700;
    line-height: 1.45;
}

.forum-page--home .forum-home-board-latest-link:hover {
    color: #ffd08e;
}

.forum-page--home .forum-home-board-latest-copy span,
.forum-page--home .forum-home-board-latest-copy em {
    color: rgba(245, 234, 217, 0.52);
    font-style: normal;
    line-height: 1.4;
}

.forum-page--home .forum-home-shortcuts {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 0;
}

.forum-page--home .forum-home-shortcut {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 98px;
    padding: 18px 20px;
    border-right: 1px solid rgba(255, 183, 83, 0.06);
    transition: background 180ms ease, transform 180ms ease;
}

.forum-page--home .forum-home-shortcut:last-child {
    border-right: 0;
}

.forum-page--home .forum-home-shortcut:hover {
    background: linear-gradient(180deg, rgba(255, 165, 52, 0.06), rgba(255, 117, 29, 0.02));
    transform: translateY(-2px);
}

.forum-page--home .forum-home-shortcut-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 181, 74, 0.14), rgba(255, 117, 29, 0.08));
    border: 1px solid rgba(255, 182, 73, 0.16);
}

.forum-page--home .forum-home-shortcut-icon i {
    color: #f2ad49;
}

.forum-page--home .forum-home-shortcut-copy strong {
    display: block;
    color: #ffe0a8;
    margin-bottom: 4px;
}

.forum-page--home .forum-home-shortcut-copy span {
    color: rgba(245, 234, 217, 0.56);
    line-height: 1.45;
}

.forum-page--home .forum-home-sidebar {
    display: grid;
    gap: 16px;
}

.forum-page--home .forum-home-widget {
    padding: 18px;
}

.forum-page--home .forum-home-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.forum-page--home .forum-home-widget-header h3,
.forum-page--home .forum-home-widget--search h3 {
    margin: 0;
    color: #f5d08c;
    font-size: 1.18rem;
}

.forum-page--home .forum-home-widget-header a {
    color: rgba(255, 236, 213, 0.64);
    font-weight: 700;
}

.forum-page--home .forum-home-users {
    display: grid;
    gap: 10px;
}

.forum-page--home .forum-home-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 14px;
    transition: background 180ms ease, transform 180ms ease;
}

.forum-page--home .forum-home-user:hover {
    background: rgba(255, 182, 73, 0.06);
    transform: translateX(2px);
}

.forum-page--home .forum-home-user img {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 182, 73, 0.14);
}

.forum-page--home .forum-home-user-copy strong {
    display: block;
    color: #f3e7d0;
    margin-bottom: 4px;
}

.forum-page--home .forum-home-user-copy span {
    color: rgba(245, 234, 217, 0.56);
    font-size: 0.92rem;
}

.forum-page--home .forum-home-widget--play {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 22px 18px 20px;
    border-color: rgba(255, 159, 45, 0.32);
    background:
        radial-gradient(circle at 12% 50%, rgba(255, 137, 29, 0.18), transparent 42%),
        linear-gradient(135deg, rgba(58, 34, 13, 0.98), rgba(25, 16, 9, 0.98));
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.46), 0 0 34px rgba(255, 142, 27, 0.14);
}

.forum-page--home .forum-home-widget--play::after {
    content: "";
    position: absolute;
    inset: -30% -55%;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 225, 183, 0.16) 50%, transparent 65%);
    transform: rotate(14deg);
    animation: forum-home-cta-shimmer 5.8s linear infinite;
    pointer-events: none;
}

.forum-page--home .forum-home-widget-glow {
    position: absolute;
    inset: auto auto -68px -70px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 144, 43, 0.3), transparent 70%);
    pointer-events: none;
}

.forum-page--home .forum-home-play-icon {
    position: relative;
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 193, 100, 0.18), rgba(255, 124, 28, 0.1));
    border: 1px solid rgba(255, 193, 100, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.forum-page--home .forum-home-play-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 171, 70, 0.28));
}

.forum-page--home .forum-home-widget-caption {
    position: relative;
    color: #ffc971;
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
}

.forum-page--home .forum-home-widget--play strong {
    position: relative;
    color: #ffd698;
    font-size: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.05;
}

.forum-page--home .forum-home-widget--play em {
    position: relative;
    color: rgba(255, 236, 211, 0.78);
    font-style: normal;
    line-height: 1.5;
}

.forum-page--home .forum-home-widget--vote {
    padding: 0;
    overflow: hidden;
    border-color: rgba(144, 96, 255, 0.24);
    background:
        linear-gradient(180deg, rgba(28, 18, 38, 0.98), rgba(14, 11, 18, 0.98));
}

.forum-page--home .forum-home-vote-art {
    position: relative;
    min-height: 148px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 181, 74, 0.08);
    background:
        radial-gradient(circle at 84% 50%, rgba(145, 95, 255, 0.28), transparent 34%),
        linear-gradient(180deg, rgba(24, 18, 34, 0.74), rgba(18, 14, 22, 0.92));
}

.forum-page--home .forum-home-vote-art::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.32));
    z-index: 1;
}

.forum-page--home .forum-home-vote-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 220ms ease;
}

.forum-page--home .forum-home-widget--vote:hover .forum-home-vote-art img {
    transform: scale(1.06);
}

.forum-page--home .forum-home-vote-copy {
    padding: 18px;
    display: grid;
    gap: 12px;
}

.forum-page--home .forum-home-vote-copy h3 {
    margin: 0;
    color: #f8deaf;
}

.forum-page--home .forum-home-vote-copy p {
    margin: 0;
    color: rgba(245, 234, 217, 0.68);
    line-height: 1.55;
}

.forum-page--home .forum-home-vote-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #2f1a61, #4b22cc);
    color: #fefcff;
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(80, 45, 201, 0.32);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.forum-page--home .forum-home-vote-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(80, 45, 201, 0.42);
}

.forum-page--home .forum-home-widget--search {
    display: grid;
    gap: 14px;
}

.forum-page--home .forum-home-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: 10px;
}

.forum-page--home .forum-home-search-form input {
    min-width: 0;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255, 171, 70, 0.1);
    background: rgba(8, 8, 8, 0.78);
    color: #f5ece0;
    padding: 0 16px;
}

.forum-page--home .forum-home-search-form input::placeholder {
    color: rgba(245, 236, 224, 0.44);
}

.forum-page--home .forum-home-search-form button {
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255, 171, 70, 0.12);
    background: linear-gradient(180deg, rgba(255, 181, 74, 0.18), rgba(255, 117, 29, 0.12));
    color: #ffc56d;
}

.forum-page--home .forum-home-search-form button:hover {
    background: linear-gradient(180deg, rgba(255, 181, 74, 0.26), rgba(255, 117, 29, 0.18));
}

.forum-page--home .forum-composer-alert,
.forum-page--home .forum-profile-setup-dialog {
    border-radius: 22px;
}

@keyframes forum-home-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes forum-home-shimmer {
    0% {
        transform: translateX(-135%);
    }

    18%,
    100% {
        transform: translateX(135%);
    }
}

@keyframes forum-home-cta-shimmer {
    0% {
        transform: translateX(-65%) rotate(14deg);
    }

    100% {
        transform: translateX(75%) rotate(14deg);
    }
}

@media (max-width: 1320px) {
    .forum-page--home .forum-topbar {
        flex-wrap: wrap;
    }

    .forum-page--home .forum-topbar-brand {
        flex-basis: 100%;
    }

    .forum-page--home .forum-topbar-nav {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .forum-page--home .forum-home-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .forum-page--home .forum-home-sidebar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .forum-page--home .forum-home-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .forum-page--home .forum-home-board-headings {
        display: none;
    }

    .forum-page--home .forum-home-board-row {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 14px 16px;
        align-items: flex-start;
    }

    .forum-page--home .forum-home-board-count {
        justify-items: flex-start;
        grid-column: 2;
        display: inline-grid;
        grid-auto-flow: column;
        gap: 16px;
    }

    .forum-page--home .forum-home-board-latest {
        grid-column: 2;
    }

    .forum-page--home .forum-home-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .forum-page--home .forum-main {
        width: min(calc(100% - 20px), 1540px);
        padding-top: 10px;
    }

    .forum-page--home .forum-topbar {
        padding: 14px;
        border-radius: 18px;
    }

    .forum-page--home .forum-topbar-nav a {
        min-height: 44px;
        padding: 0 14px;
    }

    .forum-page--home .forum-home-hero-banner {
        min-height: 260px;
        border-radius: 22px;
        background-position: center center;
    }

    .forum-page--home .forum-home-hero-copy {
        padding: 22px 18px;
    }

    .forum-page--home .forum-home-hero-copy p {
        font-size: 0.88rem;
        letter-spacing: 0.14em;
    }

    .forum-page--home .forum-home-board-header {
        padding: 22px 20px 16px;
    }

    .forum-page--home .forum-home-board-row {
        padding: 18px 20px;
    }

    .forum-page--home .forum-home-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    .forum-page--home .forum-topbar-brand {
        min-height: 0;
        flex-basis: auto;
    }

    .forum-page--home .forum-topbar-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .forum-page--home .forum-home-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .forum-page--home .forum-home-shortcuts {
        grid-template-columns: minmax(0, 1fr);
    }

    .forum-page--home .forum-home-shortcut {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 183, 83, 0.06);
    }

    .forum-page--home .forum-home-shortcut:last-child {
        border-bottom: 0;
    }
}

/* Final home polish: readable five-button topbar and latest activity widget. */
.forum-page--home .forum-topbar-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(112px, 1fr));
    gap: 10px;
}

.forum-page--home .forum-topbar-nav-row {
    display: contents;
}

.forum-page--home .forum-topbar-nav a {
    justify-content: center;
    min-width: 0;
    padding-inline: 12px;
    white-space: nowrap;
}

.forum-page--home .forum-topbar-nav a span {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

.forum-page--home .forum-home-board-icon {
    text-decoration: none;
    color: inherit;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.forum-page--home .forum-home-board-icon:hover,
.forum-page--home .forum-home-board-icon:focus-visible {
    transform: translateY(-2px) scale(1.04);
    border-color: rgba(255, 196, 118, 0.35);
    background: linear-gradient(180deg, rgba(255, 197, 105, 0.24), rgba(255, 126, 30, 0.14));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 24px rgba(255, 146, 37, 0.16);
}

.forum-page--home .forum-home-widget--latest {
    background:
        radial-gradient(circle at 90% 8%, rgba(255, 161, 52, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(16, 15, 14, 0.96), rgba(8, 8, 8, 0.96));
}

.forum-page--home .forum-home-latest-list {
    display: grid;
    gap: 10px;
}

.forum-page--home .forum-home-latest-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 181, 74, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012));
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.forum-page--home .forum-home-latest-item:hover,
.forum-page--home .forum-home-latest-item:focus-visible {
    transform: translateX(2px);
    border-color: rgba(255, 183, 83, 0.2);
    background: linear-gradient(90deg, rgba(255, 161, 52, 0.08), rgba(255, 255, 255, 0.018));
}

.forum-page--home .forum-home-latest-item img {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    object-fit: cover;
    border: 1px solid rgba(255, 181, 74, 0.16);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.forum-page--home .forum-home-latest-item span {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.forum-page--home .forum-home-latest-item strong {
    color: #f7d393;
    font-size: 0.94rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-page--home .forum-home-latest-item em,
.forum-page--home .forum-home-latest-item small {
    color: rgba(245, 234, 217, 0.56);
    font-style: normal;
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-page--home .forum-home-latest-item em {
    color: rgba(255, 194, 103, 0.72);
}

.forum-page--home .forum-home-latest-empty {
    margin: 0;
    color: rgba(245, 234, 217, 0.58);
}

@media (max-width: 1320px) {
    .forum-page--home .forum-topbar-nav {
        grid-template-columns: repeat(3, minmax(120px, 1fr));
    }
}

@media (max-width: 680px) {
    .forum-page--home .forum-topbar-nav {
        grid-template-columns: minmax(0, 1fr);
    }
}
