:root {
    --classic-bg: #ffffff;
    --classic-accent: #ffc01b;
    --classic-accent-dark: #ff8040;
    --classic-text: #1f2937;
    --classic-muted: #6b7280;
    --classic-surface: #ffffff;
    --classic-border: rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: rgb(255 128 64);
}

.h3,
h3 {
    font-size: 1.3rem;
}

body.classic {
    margin: 0;
    background: var(--classic-bg);
    color: var(--classic-text);
    font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
    line-height: 1.5;
}

.blocked_account__inner {
    display: block;
    width: 450px;
    margin: 0 auto;
    padding-top: 150px;
    padding-bottom: 100px;
}

.blocked_account__inner .hero-actions {
    justify-content: center;
}

.blocked_account__inner h3,
.blocked_account__inner p {
    text-align: center;
}

.impersonation-banner {
    background: #1f1f1f;
    color: #fff7ea;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.impersonation-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    font-size: 0.9rem;
}

.impersonation-banner button {
    border: 1px solid rgba(255, 192, 27, 0.45);
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(255, 192, 27, 0.14);
    color: #fff7ea;
}

body.classic *:hover {
    box-shadow: none !important;
}

button {
    border-radius: 16px;
}

.media-box {
    position: relative;
    overflow: hidden;
}

.media-box>img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.media-box>video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.media-hover:hover>img {
    transform: scale(1.06);
}

.media-hover:hover>video {
    transform: scale(1.06);
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.top-bar {
    position: relative;
    z-index: 70;
    background: #363636;
    color: #e2e8f0;
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 18px;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.top-pill {
    padding: 4px 12px;
    border-radius: 16px;
    background: #fcf8e7;
    border: 1px solid #fcf8e7;
    font-weight: 600;
    color: var(--classic-accent-dark);
}

.top-note {
    color: rgba(255, 255, 255, 0.85);
}

.top-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.top-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.stat i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    font-size: 14px;
    line-height: 1;
    color: currentColor;
}

.stat.online i {
    color: #78f38f;
}

.stat.rss {
    color: #93c5fd;
}

a.stat {
    color: inherit;
    text-decoration: none;
}

a.stat:hover {
    color: #ffffff;
}

.stat.rss:hover {
    color: #bfdbfe;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mybusiness-card {
    padding: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(239, 108, 0, 0.12), transparent 36%),
        #ffffff;
}

.mybusiness-card-content {
    max-width: 680px;
}

.mybusiness-card-label {
    display: block;
    margin-bottom: 6px;
    color: var(--classic-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mybusiness-card-content h2 {
    margin: 0 0 12px;
    color: #20344a;
    font-size: 26px;
    line-height: 1.3;
}

.mybusiness-card-content p {
    margin: 0;
    color: #5f7386;
    line-height: 1.7;
}

.mybusiness-card-button {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    margin-top: 22px;
    font: inherit;
    font-weight: 800;
    color: #708092;
    cursor: not-allowed;
    background: #edf1f5;
    border: 1px solid #d6dee6;
    border-radius: 12px;
    opacity: 1;
}

.mybusiness-card-button span {
    padding-left: 8px;
    font-size: 12px;
    border-left: 1px solid #c5ced8;
}

.commercial-development-card {
    display: grid;
    justify-items: center;
    padding: 44px 32px;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0, rgba(239, 108, 0, 0.13), transparent 42%),
        #ffffff;
}

.commercial-development-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin-bottom: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--classic-accent), #ff9d33);
    border-radius: 24px;
}

.commercial-development-icon i {
    font-size: 31px;
}

.commercial-development-label {
    margin-bottom: 7px;
    color: var(--classic-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.commercial-development-card h1 {
    margin: 0 0 14px;
    color: #20344a;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
}

.commercial-development-card p {
    max-width: 680px;
    margin: 0;
    color: #5f7386;
    line-height: 1.75;
}

.commercial-development-button {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    margin-top: 24px;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    background: var(--classic-accent);
    border-radius: 12px;
}

.commercial-development-button:hover {
    color: #ffffff;
    background: var(--classic-accent-dark);
}

.top-actions-mobile {
    display: none;
}

.top-actions form {
    margin: 0;
}

.user-menu {
    position: relative;
}

.user-menu-summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    text-decoration: none;
}

.user-menu-trigger {
    gap: 8px;
    padding: 3px 8px 3px 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.user-menu-trigger-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: rgba(255, 255, 255, 0.08);
}

.user-menu-trigger-arrow {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
}

.user-menu-summary::-webkit-details-marker {
    display: none;
}

.top-actions a {
    text-decoration: none;
    font-weight: 600;
}

.user-menu-trigger-arrow i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    font-size: 14px;
    line-height: 1;
    color: currentColor;
    transition: transform 0.2s ease;
}

.user-menu[open] .user-menu-trigger-arrow i {
    transform: rotate(180deg);
}

.top-actions button {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.top-actions a.is-current,
.user-menu-summary:hover,
.top-actions button:hover,
.top-actions a:hover {
    color: #ffffff;
}

.top-actions a.is-current {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.user-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    padding: 8px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
    z-index: 40;
}

.user-menu-panel-profile {
    width: min(290px, 86vw);
    padding: 16px 14px 14px;
    border-radius: 18px;
    background: #2f2f2f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

.user-menu-profile {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 4px 8px 14px;
    margin-bottom: 14px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.user-menu-profile-avatar {
    width: 76px;
    height: 76px;
    padding: 2px;
    border-radius: 50%;
    background: #78f38f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.user-menu-profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #2f2f2f;
}

.user-menu-profile-meta {
    display: grid;
    gap: 4px;
}

.user-menu-profile-login {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.user-menu-profile-name {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.82rem;
    line-height: 1.35;
}

.user-menu-primary {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.user-menu-primary:hover {
    background: var(--classic-accent);
    border-color: var(--classic-accent);
    color: #ffffff;
}

.user-menu-list {
    display: grid;
    gap: 4px;
}

.user-menu-item {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 12px;
    border-radius: 10px;
    background: transparent;
    color: var(--classic-muted);
    text-decoration: none;
    font-weight: 600;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.user-menu-item-rich {
    gap: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.82);
}

.user-menu-item-icon {
    width: 16px;
    flex: 0 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8ec5ff;
}

.user-menu-item-label {
    flex: 1 1 auto;
}

.user-menu-item-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--classic-accent);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
}

.user-menu-form {
    margin: 0;
}

.user-menu-divider {
    height: 1px;
    margin: 8px 0 10px;
    background: rgba(255, 255, 255, 0.12);
}

.top-actions .user-menu-button {
    width: 100%;
    padding: 11px 12px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    font: inherit;
    font-weight: 600;
    text-align: left;
}

.top-actions .user-menu-button:hover .user-menu-item-icon,
.user-menu-item-rich:hover .user-menu-item-icon {
    color: #ffffff;
}

.user-menu-item:hover {
    background: var(--classic-accent);
    color: #ffffff;
}

.top-actions .divider {
    opacity: 0.6;
}

.brand-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--classic-border);
}

.brand-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 16px;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo-mark {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--classic-accent-dark);
    letter-spacing: 0.04em;
}

.logo-sub {
    font-size: 0.9rem;
    color: var(--classic-muted);
}

.brand-meta {
    text-align: right;
    background: #eff6ff;
    border-radius: 14px;
    padding: 10px 14px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: none;
}

.brand-meta .meta-label {
    font-size: 0.75rem;
    color: var(--classic-muted);
}

.brand-meta .meta-value {
    font-weight: 600;
}

.main-nav {
    position: sticky;
    top: 0;
    z-index: 55;
    background: var(--classic-accent);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 12px;
}

.nav-toggle {
    border: none;
    background: transparent;
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: #ffffff;
    display: block;
    border-radius: 16px;
}

.nav-menu {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
}

.nav-menu-header {
    display: none;
}

.nav-close {
    border: none;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.menu-home-link {
    display: none;
}

.menu>li {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.menu>li>a {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 16px;
    color: #f8fafc;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
}

.menu>li:hover>a,
.menu>li:focus-within>a {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    list-style: none;
    background: var(--classic-surface);
    padding: 12px;
    margin: 0;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid var(--classic-border);
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 20;
}

.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.has-sub::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 12px;
}

.submenu li a {
    display: block;
    padding: 8px 10px;
    color: var(--classic-text);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.submenu li a:hover {
    background: rgba(59, 130, 246, 0.12);
    transform: translateX(4px);
}

.submenu-toggle {
    border: none;
    background: transparent;
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    cursor: pointer;
    border-radius: 16px;
}

.submenu-toggle i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    font-size: 16px;
    line-height: 1;
    color: #ffffff;
}

.nav-tools {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 50;
}

body.nav-open {
    overflow: hidden;
}

body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.nav-open .nav-menu {
    transform: translateX(0);
}

.search-toggle {
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 16px;
    background: #363636;
    color: #e2e8f0;
    display: grid;
    place-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-toggle i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    font-size: 18px;
    line-height: 1;
    color: currentColor;
}

.search-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.search-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--classic-surface);
    border-radius: 14px;
    border: 1px solid var(--classic-border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 30;
}

.nav-tools.open .search-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.search-panel input {
    border: 1px solid var(--classic-border);
    border-radius: 16px;
    padding: 8px 12px;
    min-width: 220px;
    outline: none;
}

.search-panel button {
    border: none;
    background: var(--classic-accent);
    border-radius: 16px;
    padding: 8px 14px;
    font-weight: 600;
    color: #f8fafc;
}

.page {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 24px 0 48px;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2rem, 2.4vw + 1.2rem, 3rem);
    margin-bottom: 12px;
    color: var(--classic-accent-dark);
    font-weight: bold;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}

.hero-logo img {
    width: 260px;
}

.hero-logo-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--classic-accent-dark);
    letter-spacing: 0.04em;
}

.hero-logo-sub {
    font-size: 0.95rem;
    color: var(--classic-muted);
}

.hero-text p {
    color: var(--classic-muted);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0 18px;
}

.hero-actions button,
.hero-actions a {
    border: none;
    border-radius: 16px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.hero-actions .accent {
    background: var(--classic-accent);
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.25);
}

.hero-actions .ghost {
    background: #fcf8e7;
    color: var(--classic-accent-dark);
    border: 1px solid var(--classic-border);
}

.hero-actions button:hover,
.hero-actions a:hover {
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-stats span {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--classic-accent-dark);
}

.hero-stats small {
    color: var(--classic-muted);
}

.hero-cards {
    position: relative;
    min-height: 360px;
}

.hero-card {
    position: absolute;
    inset: 0;
    padding: 0;
    border-radius: 18px;
    background: var(--classic-surface);
    border: none;
    box-shadow: 0 18px 28px rgba(15, 23, 42, 0.08);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.hero-card.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-card-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.hero-card-image {
    height: 100%;
    width: 100%;
    border-radius: 0;
    background: #e2e8f0;
    border: none;
    color: var(--classic-muted);
    display: grid;
    place-items: center;
    font-weight: 600;
    margin-bottom: 0;
    position: relative;
}

.hero-card h3 {
    margin: 0;
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    width: fit-content;
    max-width: calc(100% - 110px);
    color: #ffffff;
    font-size: 1.3rem;
    padding: 6px 12px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.8);
}

.hero-card p {
    margin: 0;
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 2;
    color: #e2e8f0;
    font-size: 0.95rem;
    width: fit-content;
    max-width: calc(100% - 32px);
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.55);
}

.hero-dots {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.55);
    z-index: 2;
}

.hero-dots button {
    width: 8px;
    height: 8px;
    border-radius: 16px;
    border: none;
    background: rgba(255, 255, 255, 0.6);
    padding: 0;
}

.hero-dots button.active {
    background: #ffffff;
}

.spotlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.spotlight-card {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: block;
    text-decoration: none;
    color: inherit;
}

.spotlight-placeholder {
    height: 250px;
    border-radius: 16px;
    background: #e2e8f0;
    display: grid;
    place-items: center;
    color: var(--classic-muted);
    font-weight: 600;
}

.spotlight-title {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 1;
    color: #ffffff;
    font-size: 1.3rem;
    padding: 8px 14px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.8);
}

.ticker {
    display: grid;
    grid-template-columns: 170px 1fr;
    align-items: stretch;
    background: var(--classic-surface);
    border-radius: 14px;
    border: 1px solid var(--classic-border);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.ticker-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 14px 16px;
    background: rgba(59, 130, 246, 0.3);
    font-weight: 700;
    color: var(--classic-accent-dark);
}

.ticker-title small {
    font-size: 0.75rem;
    color: var(--classic-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ticker-body {
    position: relative;
    overflow: hidden;
    padding: 10px 16px;
    display: flex;
}

.ticker-track {
    display: inline-flex;
    gap: 32px;
    white-space: nowrap;
    animation: ticker 80s linear infinite;
    align-items: center;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track {
    animation-play-state: paused;
}

.ticker-group {
    display: inline-flex;
    align-items: center;
    gap: 32px;
}

.ticker-link {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-size: 0.95rem;
    line-height: 1.3;
    padding: 2px 0;
}

.ticker-link a {
    text-decoration: none;
    color: var(--classic-text);
}

.ticker-link a:hover {
    color: var(--classic-accent-dark);
    text-decoration: underline;
}

.ticker-author {
    font-weight: 700;
    color: var(--classic-accent-dark);
}

.ticker-text {
    color: var(--classic-text);
}

.ticker-text .site-smile {
    width: 22px;
    height: 18px;
    margin: 0 2px;
    vertical-align: middle;
}

.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(300px, 1fr);
    gap: 18px;
    align-items: stretch;
}

.news-layout>* {
    min-width: 0;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.section-head h2 {
    margin: 0;
    font-size: 2rem;
}

.section-line {
    flex: 1;
    height: 2px;
    background: var(--classic-accent);
}

.section-head-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.section-head-tools .section-line {
    min-width: 40px;
}

.calendar-nav-buttons {
    align-items: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.news-card-shell {
    position: relative;
    min-width: 0;
}

.news-card-shell:hover,
.news-card-shell:focus-within {
    z-index: 2;
}

.news-card-shell .news-card {
    height: 100%;
}

.news-grid.news-carousel {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    margin-top: -6px;
    padding-top: 6px;
    padding-bottom: 4px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
}

.news-grid.news-carousel::-webkit-scrollbar {
    display: none;
}

.news-card-shell--carousel {
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: 280px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.news-card {
    background: var(--classic-surface);
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--classic-border);
    position: relative;
    overflow: hidden;
    min-height: 150px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.16);
}

.news-date {
    font-size: 0.8rem;
    color: var(--classic-muted);
}

.video-card {
    background: var(--classic-surface);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid var(--classic-border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    width: 100%;
    height: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
}

.video-label {
    font-weight: 700;
    color: var(--classic-accent-dark);
    margin-bottom: 0;
}

.video-preview {
    position: relative;
    height: 100%;
    min-height: 170px;
    border-radius: 14px;
    background: #334155;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.reports-video-anchor {
    display: block;
    text-decoration: none;
    min-height: 0;
    height: 100%;
}

.video-card p {
    margin: 0;
}

.video-card p a {
    color: inherit;
    text-decoration: none;
}

.video-card p a:hover {
    color: var(--classic-accent-dark);
    text-decoration: underline;
}

.trophy {
    background: var(--classic-surface);
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--classic-border);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
}

.carousel-controls {
    display: flex;
    gap: 8px;
}

.carousel-controls button {
    border: none;
    background: transparent;
    width: 28px;
    height: 28px;
    padding: 0;
    display: grid;
    place-items: center;
    color: var(--classic-accent-dark);
    transition: transform 0.2s ease, color 0.2s ease;
    border-radius: 16px;
}

.carousel-controls button:hover {
    transform: translateY(-2px);
    color: var(--classic-accent);
}

.carousel-controls button i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    font-size: 18px;
    line-height: 1;
    color: currentColor;
}

.trophy-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
}

.trophy-carousel::-webkit-scrollbar {
    display: none;
}

.trophy-card {
    flex: 0 0 calc((100% - 48px) / 4);
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    position: relative;
    transition: transform 0.35s ease;
    scroll-snap-align: start;
}

.trophy-card:hover {
    transform: translateY(-4px);
}

.trophy-image {
    height: 100%;
    width: 100%;
    background: #94a3b8;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    transition: transform 0.35s ease;
}

.trophy-image img {
    position: absolute;
    inset: 0;
    object-fit:cover;
}

.trophy-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 6px 10px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.55);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.trophy-like {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 16px;
    border: none;
    background: rgba(15, 23, 42, 0.55);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.trophy-card:hover .trophy-like,
.trophy-like.is-active {
    opacity: 1;
    transform: translateY(0);
}

.trophy-like svg,
.trophy-like .fa-solid {
    width: 16px;
    height: 16px;
    color: currentColor;
    transition: transform 0.2s ease;
}

.trophy-like.is-burst svg,
.trophy-like.is-burst .fa-solid {
    transform: scale(1.2);
}

.trophy-link {
    display: block;
    height: 100%;
}

.trophy-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 80;
}

.trophy-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

body.modal-open {
    overflow: hidden;
}

.trophy-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
}

.trophy-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(980px, 92vw);
    height: min(640px, 88vh);
    background: #ffffff;
    border-radius: 18px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
}

.trophy-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    border: none;
    background: rgba(15, 23, 42, 0.08);
    width: 32px;
    height: 32px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.trophy-modal-media {
    background: #363636;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.trophy-modal-image {
    width: 100%;
    height: 100%;
    background: #94a3b8;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
}

.trophy-modal-panel {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    overflow: hidden;
    border-left: 1px solid var(--classic-border);
}

.trophy-modal-header {
    display: grid;
    gap: 10px;
}

.trophy-modal-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trophy-modal-description {
    margin: 10px 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--classic-muted);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--classic-accent);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-weight: 700;
    overflow: hidden;
    position: relative;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.user-avatar [data-modal-user-avatar-initials] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.user-time {
    font-size: 0.8rem;
    color: var(--classic-muted);
}

.trophy-modal-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-like {
    border: none;
    background: #f1f5f9;
    border-radius: 16px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 600;
}

.modal-like svg,
.modal-like .fa-solid {
    width: 16px;
    height: 16px;
    color: var(--classic-accent);
}

.modal-like.is-active {
    background: #dbeafe;
}

.modal-share {
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--classic-text);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.modal-share svg,
.modal-share .fa-solid {
    width: 16px;
    height: 16px;
    color: currentColor;
}

.modal-share:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.modal-share.is-shared {
    background: #dcfce7;
    color: #166534;
}

body.share-sheet-open {
    overflow: hidden;
}

.share-sheet {
    position: fixed;
    inset: 0;
    z-index: 3200;
    display: grid;
    place-items: center;
    padding: 20px;
}

.share-sheet[hidden] {
    display: none;
}

.share-sheet-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.58);
    cursor: pointer;
}

.share-sheet-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 640px);
    display: grid;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.10), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.24);
}

.share-sheet-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.share-sheet-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.share-sheet-eyebrow {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.share-sheet-head h2 {
    margin: 0;
    font-size: clamp(1.2rem, 1vw + 1rem, 1.6rem);
    color: #0f172a;
}

.share-sheet-subtitle {
    margin: 0;
    color: #475569;
    line-height: 1.45;
}

.share-sheet-close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 14px;
    background: #e2e8f0;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.share-sheet-close:hover {
    background: #cbd5e1;
    transform: translateY(-1px);
}

.share-sheet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.share-sheet-option {
    min-height: 108px;
    padding: 14px 12px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    text-decoration: none;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.share-sheet-option:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.24);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.10);
}

.share-sheet-option-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    background: #eff6ff;
    color: #0f172a;
}

.share-sheet-option-icon .fa-brands,
.share-sheet-option-icon .fa-solid {
    font-size: 1.2rem;
}

.share-sheet-option-label {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
}

.share-sheet-option--vk .share-sheet-option-icon {
    background: #0077ff;
    color: #ffffff;
}

.share-sheet-option--ok .share-sheet-option-icon {
    background: #ff8800;
    color: #ffffff;
}

.share-sheet-option--tg .share-sheet-option-icon {
    background: #27a7e7;
    color: #ffffff;
}

.share-sheet-option--wa .share-sheet-option-icon {
    background: #25d366;
    color: #ffffff;
}

.share-sheet-option--max .share-sheet-option-icon {
    background: #111827;
    color: #ffffff;
}

.share-sheet-option--copy .share-sheet-option-icon {
    background: #fef3c7;
    color: #b45309;
}

.share-sheet-url {
    display: block;
    padding: 12px 14px;
    border-radius: 16px;
    background: #eff6ff;
    color: #1d4ed8;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.share-sheet-url:hover {
    text-decoration: underline;
}

.share-sheet-feedback {
    margin: 0;
    padding: 11px 14px;
    border-radius: 14px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.92rem;
    font-weight: 700;
}

@media (max-width: 720px) {
    .share-sheet {
        padding: 12px;
        align-items: end;
    }

    .share-sheet-dialog {
        width: 100%;
        padding: 18px;
        border-radius: 24px 24px 18px 18px;
    }

    .share-sheet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.trophy-modal-title {
    display: inline-flex;
    width: fit-content;
    font-weight: 700;
    color: var(--classic-text);
    font-size: 1.05rem;
    text-decoration: none;
}

.trophy-modal-title:hover {
    color: var(--classic-accent-dark);
    text-decoration: none;
}

.modal-open-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(239, 108, 0, 0.35);
    background: #fff8ec;
    color: var(--classic-accent-dark);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.modal-open-link:hover {
    color: var(--classic-accent-dark);
    text-decoration: none;
    filter: brightness(0.98);
}

.trophy-modal-comments {
    display: grid;
    gap: 0;
    font-size: 0.86rem;
    color: var(--classic-text);
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 23, 42, 0.38) transparent;
}

.trophy-modal-comments.is-expanded {
    overflow-y: auto;
}

.trophy-modal-comments::-webkit-scrollbar {
    width: 8px;
}

.trophy-modal-comments::-webkit-scrollbar-track {
    background: transparent;
}

.trophy-modal-comments::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0.48));
    border-radius: 999px;
}

.comments-load-prev {
    border: none;
    background: transparent;
    color: var(--classic-accent-dark);
    font-size: 0.78rem;
    font-weight: 700;
    text-align: left;
    padding: 0 0 4px;
    cursor: pointer;
}

.comments-load-prev:hover {
    text-decoration: underline;
}

.comment {
    border: none;
    border-radius: 0;
    padding: 5px 0 6px;
    display: grid;
    gap: 3px;
    background: transparent;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.comment.comment--with-avatar {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px 10px;
    align-items: start;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    background: #e2e8f0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.comment-body {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.comment:last-child {
    border-bottom: none;
}

.comment-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.comment-author-link {
    font-weight: 700;
    color: var(--classic-accent-dark);
    text-decoration: none;
}

.comment-author-link:hover {
    text-decoration: underline;
}

.comment-time {
    font-size: 0.73rem;
    color: var(--classic-muted);
}

.comment-text {
    color: var(--classic-muted);
    font-size: 0.84rem;
    line-height: 1.32;
}

.comment-reply {
    width: fit-content;
    border: none;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--classic-accent-dark);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 9px;
    cursor: pointer;
}

.comment-reply:hover {
    background: #eef2f7;
}

.trophy-modal-form {
    margin-top: auto;
    display: inline-flex;
    width: 100%;
}

.trophy-modal-form .site-comment-composer {
    width: 100%;
}

.trophy-modal-auth-note {
    margin-top: auto;
    font-size: 0.86rem;
    line-height: 1.4;
    color: var(--classic-muted);
}

.trophy-modal-auth-note a {
    color: var(--classic-accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.trophy-modal-auth-note a:hover {
    text-decoration: underline;
}

.user-name {
    color: var(--classic-text);
    text-decoration: none;
    font-weight: 700;
}

.user-name:hover {
    text-decoration: underline;
}

.trophy-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.82);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.18);
    color: #ffffff;
    display: grid;
    place-items: center;
    opacity: 0;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.24);
    cursor: pointer;
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.25s ease,
        box-shadow 0.25s ease;
    z-index: 2;
}

.trophy-nav svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.trophy-nav-prev {
    left: 12px;
}

.trophy-nav-next {
    right: 12px;
}

.trophy-nav.is-hot {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.34);
}

.calendar {
    background: var(--classic-surface);
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--classic-border);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
}

.calendar-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 30px;
    scrollbar-width: none;
    cursor: grab;
}

.calendar-tabs::-webkit-scrollbar {
    display: none;
}

.calendar-tabs.is-dragging {
    cursor: grabbing;
}

.calendar-tabs button {
    border: none;
    padding: 8px 16px;
    border-radius: 16px;
    background: #f3f3f3;
    font-weight: 600;
    color: var(--classic-accent-dark);
    min-width: 108px;
    white-space: nowrap;
    flex: 0 0 auto;
    scroll-snap-align: center;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.calendar-tabs button.active {
    background: var(--classic-accent);
    color: #ffffff;
}

.calendar-body {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.calendar-panels {
    display: grid;
    gap: 8px;
}

.calendar-panel {
    display: none;
    gap: 10px;
}

.calendar-panel.active {
    display: grid;
}

.calendar-panel h3 {
    margin: 0;
    font-size: 1.1rem;
}

.calendar-panel h3 a {
    color: inherit;
    text-decoration: none;
}

.calendar-panel h3 a:hover {
    color: var(--classic-accent-dark);
}

.calendar-text {
    margin: 0;
    color: var(--classic-text);
    line-height: 1.5;
    display: block;
    overflow: visible;
}

.calendar-text.is-expanded {
    display: block;
    max-height: none;
    overflow: visible;
}

.calendar-text p,
.calendar-text ul,
.calendar-text ol,
.calendar-text figure {
    margin: 0;
}

.calendar-text img,
.calendar-text .calendar-inline-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

.calendar-text a {
    color: var(--classic-accent-dark);
}

.calendar-more {
    align-self: center;
    justify-self: center;
    border: none;
    background: #fcf8e7;
    color: var(--classic-accent-dark);
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
}

.calendar-more:hover {
    background: var(--classic-accent);
    color: #ffffff;
}

.calendar-image {
    border-radius: 16px;
    height: 260px;
    align-self: start;
}

.calendar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.forum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.forum-home-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-top: 6px;
    margin-top: -6px;
    padding-bottom: 4px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
}

.forum-home-carousel::-webkit-scrollbar {
    display: none;
}

.forum-card {
    background: var(--classic-surface);
    border-radius: 14px;
    padding: 14px;
    border: 1px solid var(--classic-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.forum-home-card {
    position: relative;
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: 280px;
    scroll-snap-align: start;
}

.forum-home-link {
    display: grid;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    min-height: 100%;
}

.forum-home-main-link {
    display: grid;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    min-height: 100%;
}

.forum-home-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.forum-home-card h3 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.18;
    color: var(--classic-text);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.forum-home-card p {
    display: none;
}

.forum-home-stats,
.forum-home-card .forum-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: center;
    font-size: 0.82rem;
    color: var(--classic-muted);
}

.forum-home-stats span,
.forum-home-card .forum-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.forum-home-card .forum-meta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--classic-text);
    text-decoration: none;
}

.forum-home-card .forum-meta a:hover {
    color: var(--classic-accent-dark);
}

.home-section-link {
    color: var(--classic-accent-dark);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.home-section-link:hover {
    text-decoration: underline;
}

.home-classifieds-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-classified-card {
    min-width: 0;
    border: 1px solid var(--classic-border);
    border-radius: 14px;
    background: var(--classic-surface);
    overflow: hidden;
    display: grid;
    grid-template-rows: 170px minmax(0, 1fr);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-classified-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
}

.home-classified-image {
    position: relative;
    display: block;
    min-height: 170px;
    overflow: hidden;
}

.home-classified-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-classified-image span {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--classic-accent-dark);
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 800;
}

.home-classified-body {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.home-classified-body h3 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.25;
}

.home-classified-body h3 a {
    color: var(--classic-text);
    text-decoration: none;
}

.home-classified-body h3 a:hover {
    color: var(--classic-accent-dark);
}

.home-classified-body p {
    margin: 0;
    color: var(--classic-muted);
    font-size: 0.9rem;
    line-height: 1.42;
}

.home-classified-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: var(--classic-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.forum-meta-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--classic-text);
    cursor: pointer;
    transition: color 0.2s ease;
}

.forum-meta-author:hover,
.forum-meta-author:focus-visible {
    color: var(--classic-accent-dark);
    outline: none;
}

.forum-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.15);
}

.forum-tag {
    font-weight: 700;
    color: var(--classic-accent-dark);
    margin-bottom: 6px;
}

.forum-meta {
    font-size: 0.8rem;
    color: var(--classic-muted);
}

.about {
    background: var(--classic-surface);
    border-radius: 16px;
    padding: 18px;
    border: 1px solid var(--classic-border);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
}

.about p {
    text-indent: 1.2em;
    text-align: justify;
}

.classic-footer {
    background: #363636;
    color: #e2e8f0;
    margin-top: 40px;
    padding: 24px 0 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.footer-grid h4 {
    margin-top: 0;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-grid a,
.footer-grid a:visited,
.footer-grid a:hover,
.footer-grid a:active,
.footer-grid a.is-active {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 18px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

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

    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .news-card-shell--carousel {
        flex-basis: calc((100% - 16px) / 2);
        min-width: 240px;
    }

    .calendar-body {
        grid-template-columns: 1fr;
    }

    .calendar-image {
        height: 220px;
    }

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

    .forum-home-card {
        flex-basis: calc((100% - 16px) / 2);
    }

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

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

    .trophy-card {
        flex-basis: calc((100% - 16px) / 2);
    }
}

@media (max-width: 900px) {
    .nav-tools {
        order: 1;
        margin-left: auto;
    }

    .nav-toggle {
        order: 2;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(320px, 86vw);
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 12px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -18px 0 28px rgba(15, 23, 42, 0.18);
        z-index: 60;
    }

    body.nav-open .nav-tools {
        position: relative;
        z-index: 55;
    }

    .nav-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 700;
        color: var(--classic-text);
    }

    .menu {
        flex-direction: column;
        gap: 8px;
    }

    .menu-home-link {
        display: grid;
    }

    .menu>li {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 8px;
    }

    .menu>li>a {
        width: 100%;
        background: #f8fafc;
        border: 1px solid var(--classic-border);
        color: var(--classic-text);
        justify-content: space-between;
    }

    .menu>li:hover>a,
    .menu>li:focus-within>a {
        transform: none;
        background: #eef2f7;
    }

    .submenu-toggle {
        display: inline-flex;
        border: 1px solid var(--classic-border);
        background: #f8fafc;
        border-radius: 16px;
        width: 36px;
        height: 36px;
    }

    .submenu-toggle i {
        color: var(--classic-text);
        transition: transform 0.2s ease;
    }

    .has-sub.submenu-open .submenu-toggle i {
        transform: rotate(180deg);
    }

    .submenu {
        position: static;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        display: none;
        grid-column: 1 / -1;
        box-shadow: none;
        margin-top: 6px;
    }

    .has-sub.submenu-open .submenu {
        display: grid;
        gap: 6px;
    }

    .has-sub::after {
        display: none;
    }

    .trophy-like {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    .home-classifieds-grid {
        grid-template-columns: 1fr;
    }

    .top-bar {
        font-size: 0.72rem;
    }

    .top-bar-inner {
        padding: 6px 0;
        justify-content: center;
    }

    .top-left,
    .top-actions-desktop {
        display: none;
    }

    .top-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .top-stats {
        justify-content: flex-start;
        gap: 6px;
        flex-wrap: nowrap;
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .top-stats::-webkit-scrollbar {
        display: none;
    }

    .stat {
        padding: 4px 8px;
        border-radius: 14px;
        font-size: 0.72rem;
        flex: 0 0 auto;
    }

    .brand-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section-head {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px;
    }

    .section-head h2 {
        font-size: 1.55rem;
        line-height: 1.15;
    }

    .section-head-tools {
        width: 100%;
    }

    .section-head-tools .section-line {
        min-width: 0;
    }

    .carousel-controls.calendar-nav-buttons {
        margin-left: auto;
    }

    .section-head-calendar {
        gap: 8px;
    }

    .section-head-calendar .section-head-tools {
        gap: 8px;
    }

    .calendar-tabs button {
        min-width: 92px;
        font-size: 0.85rem;
    }

    .brand-meta {
        width: 100%;
        text-align: center;
    }

    .nav-tools {
        position: static;
        gap: 8px;
    }

    .top-actions-mobile {
        display: flex;
        align-items: center;
        gap: 6px;
        flex: 0 0 auto;
    }

    .top-actions-mobile .divider {
        display: none;
    }

    .top-actions-mobile a {
        font-size: 0.78rem;
    }

    .top-actions-mobile .user-menu-trigger {
        padding: 2px 6px 2px 2px;
    }

    .top-actions-mobile .user-menu-trigger-avatar {
        width: 32px;
        height: 32px;
    }

    .search-panel {
        position: fixed;
        top: 96px;
        left: 12px;
        right: 12px;
        width: auto;
        display: none;
        z-index: 70;
    }

    .nav-tools.open .search-panel {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .search-panel input {
        width: 100%;
        min-width: 0;
    }

    body.nav-open .nav-tools.open .search-panel {
        top: 76px;
        left: auto;
        right: 12px;
        width: min(300px, calc(86vw - 24px));
        z-index: 65;
    }

    .news-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        width: 100%;
        padding-right: 0;
        overscroll-behavior-x: contain;
    }

    .news-grid::-webkit-scrollbar {
        display: none;
    }

    .news-card-shell {
        flex: 0 0 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .news-card-shell .news-card {
        min-height: 150px;
    }

    .news-layout {
        max-width: 100%;
        overflow-x: clip;
    }

    .news-layout>* {
        min-width: 0;
    }

    .trophy-card {
        flex-basis: 100%;
    }

    .forum-home-card {
        flex-basis: 100%;
        min-width: min(100%, 320px);
    }

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

    .ticker-title {
        padding: 10px 12px;
    }

    .video-card,
    .trophy,
    .calendar,
    .about {
        padding: 14px;
    }

    .video-preview {
        height: 156px;
    }

    .trophy-modal-dialog {
        grid-template-columns: 1fr;
        height: auto;
        max-height: 90vh;
    }

    .trophy-modal-media {
        min-height: 240px;
    }

    .trophy-modal-panel {
        padding: 14px;
    }

    .trophy-modal-actions {
        gap: 8px;
    }

    .trophy-nav {
        width: 36px;
        height: 36px;
        opacity: 1;
        transform: translateY(-50%) scale(1);
        background: rgba(15, 23, 42, 0.62);
    }
}

@media (max-width: 520px) {
    .container {
        width: min(1200px, 94%);
    }

    .page {
        gap: 22px;
        padding: 16px 0 34px;
    }

    .top-bar {
        font-size: 0.68rem;
    }

    .top-bar-inner {
        padding: 5px 0;
        justify-content: flex-start;
    }

    .top-right {
        justify-content: space-between;
        gap: 6px;
    }

    .top-stats {
        justify-content: flex-start;
        gap: 4px;
        max-width: calc(100% - 46px);
    }

    .stat {
        padding: 3px 7px;
        font-size: 0.68rem;
    }

    .stat i {
        width: 12px;
        font-size: 12px;
    }

    .stat.rss {
        display: none;
    }

    .top-actions-mobile {
        gap: 4px;
    }

    .top-actions-mobile a {
        font-size: 0.74rem;
    }

    .top-actions-mobile .user-menu-trigger {
        padding-right: 4px;
    }

    .top-actions-mobile .user-menu-trigger-arrow {
        width: 14px;
        height: 14px;
    }

    .top-actions-mobile .user-menu-trigger-avatar {
        width: 30px;
        height: 30px;
    }

    body.nav-open .nav-tools.open .search-panel {
        top: 72px;
        width: min(280px, calc(86vw - 20px));
    }

    .hero {
        gap: 14px;
    }

    .hero-text p {
        font-size: 0.92rem;
    }

    .hero-actions {
        gap: 8px;
        margin: 12px 0 14px;
    }

    .hero-actions .accent,
    .hero-actions .ghost {
        width: 100%;
    }

    .hero-cards {
        min-height: 250px;
    }

    .hero-card h3 {
        left: 10px;
        right: 10px;
        bottom: 10px;
        font-size: 1.05rem;
        padding: 6px 10px;
    }

    .hero-dots {
        right: 10px;
        bottom: 10px;
    }

    .news-card-shell {
        flex-basis: 100%;
    }

    .news-card {
        min-height: 136px;
        padding: 12px;
    }

    .spotlight-placeholder {
        height: 210px;
    }

    .spotlight-title {
        left: 10px;
        right: 10px;
        bottom: 10px;
        font-size: 1.05rem;
        padding: 6px 10px;
    }

    .section-head h2 {
        font-size: 1.35rem;
    }

    .calendar-tabs button {
        min-width: 84px;
        font-size: 0.8rem;
        padding: 7px 12px;
    }

    .calendar-image {
        height: 200px;
    }

    .calendar-more {
        width: 100%;
    }

    .mybusiness-card {
        padding: 20px;
    }

    .mybusiness-card-content h2 {
        font-size: 22px;
    }

    .mybusiness-card-button {
        width: 100%;
    }

    .commercial-development-card {
        padding: 32px 20px;
    }

    .commercial-development-button {
        width: 100%;
    }

    .trophy-modal-dialog {
        width: 96vw;
        max-height: 92vh;
        border-radius: 14px;
    }

    .trophy-modal-media {
        min-height: 200px;
    }

    .trophy-modal-close {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
    }

    .trophy-nav {
        width: 32px;
        height: 32px;
    }

    .trophy-nav-prev {
        left: 8px;
    }

    .trophy-nav-next {
        right: 8px;
    }

    .trophy-modal-user {
        gap: 8px;
    }

    .trophy-modal-description {
        margin-top: 8px;
        font-size: 0.84rem;
    }

    .trophy-modal-form .site-comment-composer {
        padding: 6px 7px 6px 11px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* Global shadow reset for the whole site, including hover/focus states. */
body.classic,
body.classic *,
body.classic *::before,
body.classic *::after {
    box-shadow: none !important;
    text-shadow: none !important;
}
