/* =========================================
   ITAPROFILE PORTAL / CSS
   ========================================= */

@font-face {
    font-family: "Inter";
    src: url("/fonts/InterVariable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/fonts/InterVariable-Italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --bg-main: #f4f4f6;
    --bg-stage: #f4f4f6;

    --bg-card: rgba(255, 255, 255, 0.62);
    --bg-card-strong: rgba(255, 255, 255, 0.82);
    --bg-card-solid: #ffffff;
    --bg-dark: #161616;

    --text-main: #1f1f1f;
    --text-muted: #6f6f73;
    --text-soft: rgba(31, 31, 31, 0.56);

    --accent-bg: #c9fb00;
    --accent-text: #111111;

    --sidebar-w: 400px;

    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 12px;

    --gap-main: 12px;

    --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.06);

    --motion: cubic-bezier(0.22, 1, 0.36, 1);

    --font-main: "Inter", Arial, sans-serif;
}

/* =========================================
   RESET / BASE
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

html,
body {
    min-height: 100%;
    background: var(--bg-main);
    font-family: var(--font-main);
    font-optical-sizing: auto;
    font-synthesis: none;
    color: var(--text-main);
}

body {
    overflow: hidden;
}

button,
a {
    font-family: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.028;
    z-index: 999;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
}

/* =========================================
   LAYOUT
   ========================================= */

.portal-wrapper {
    display: flex;
    width: 100vw;
    height: 100vh;
    padding: 8px;
    gap: var(--gap-main);
}

.sidebar {
    width: var(--sidebar-w);
    height: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding: 0 20px 20px;
    border-radius: var(--radius-xl);
}

.stage {
    position: relative;
    flex: 1;
    height: 100%;
    overflow-y: auto;
    padding: 48px 12px 12px 0;
    border-radius: var(--radius-xl);
    background: var(--bg-stage);
    scroll-behavior: smooth;
}

.stage::-webkit-scrollbar,
.sidebar::-webkit-scrollbar {
    width: 0;
}

.stage-topline {
    position: fixed;
    top: 18px;
    left: calc(var(--sidebar-w) + 36px);
    right: 26px;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    color: rgba(31, 31, 31, 0.38);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

/* =========================================
   SIDEBAR / BRAND
   ========================================= */

.city-selector {
    background: rgba(255, 255, 255, 0.46);
    padding: 4px;
    border-radius: 999px;
    margin-bottom: 18px;
    backdrop-filter: blur(24px) saturate(1.18);
    -webkit-backdrop-filter: blur(24px) saturate(1.18);
}

.selector-track {
    position: relative;
    display: flex;
}

.selector-thumb {
    position: absolute;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.065);
    transition: transform 0.65s var(--motion);
}

.sel-btn {
    position: relative;
    z-index: 2;
    flex: 1;
    border: 0;
    background: transparent;
    padding: 14px 0;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    transition: color 0.28s ease;
}

.sel-btn.active {
    color: var(--text-main);
}

.brand-group {
    padding: 52px 0 44px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 34px;
    align-items: center;
}

.label-mini {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 7px;
}

.clock-display {
    font-size: 44px;
    line-height: 0.95;
    letter-spacing: -0.035em;
    font-weight: 500;
}

.logo-text {
    font-size: 11px;
    font-weight: 760;
    letter-spacing: 0.2em;
}

.brand-subtitle {
    margin-top: 12px;
    max-width: 260px;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 600;
    line-height: 1.38;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.about-shortcut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 7px 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    color: rgba(31, 31, 31, 0.62);
    cursor: pointer;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(18px) saturate(1.14);
    -webkit-backdrop-filter: blur(18px) saturate(1.14);
    transition:
        background 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease;
}

.about-shortcut:hover {
    background: rgba(255, 255, 255, 0.82);
    color: var(--text-main);
    transform: translateY(-1px);
}

.about-shortcut:active {
    transform: translateY(0);
}

/* =========================================
   NAVIGATION
   ========================================= */

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nav-pill {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 18px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(22px) saturate(1.14);
    -webkit-backdrop-filter: blur(22px) saturate(1.14);
    transition:
        background 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease;
}

.nav-pill::after {
    display: none;
}

.nav-pill:hover {
    background: rgba(255, 255, 255, 0.64);
    box-shadow: none;
}

.nav-pill.is-active {
    background: rgba(255, 255, 255, 0.88);
}

.nav-pill.is-active .nav-title,
.nav-pill.is-active .nav-subtitle {
    color: var(--text-main);
}

.nav-pill.is-active .nav-subtitle {
    opacity: 0.72;
}

.nav-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    margin-right: 12px;
    border-radius: 13px;
    background-size: cover;
    background-position: center;
    filter: saturate(0.92) contrast(1.03);
}

.nav-text-wrapper {
    position: relative;
    z-index: 2;
    padding-top: 4px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.nav-title {
    color: var(--text-main);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.28;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}

.nav-subtitle {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
}

.dashboard-pill {
    position: relative;
    margin-top: auto;
    padding: 22px 24px;
    border-radius: 22px;
    background: var(--bg-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    overflow: hidden;
    transition:
        transform 0.45s var(--motion),
        box-shadow 0.45s var(--motion);
}

.dashboard-pill:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-bg);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(201, 251, 0, 0.14);
}

.pill-text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pill-arrow {
    color: var(--accent-bg);
    font-weight: 700;
}

/* =========================================
   MOTION
   ========================================= */

.fade-in {
    animation: fadeIn 0.42s ease forwards;
}

.zoom-in {
    animation: appleZoomIn 0.5s var(--motion) forwards;
}

.zoom-out {
    animation: appleZoomOut 0.42s var(--motion) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes appleZoomIn {
    from {
        opacity: 0;
        transform: scale(0.982);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes appleZoomOut {
    from {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }

    to {
        opacity: 0;
        transform: scale(1.01);
        filter: blur(4px);
    }
}

.bento-item,
.event-card,
.about-item,
.onair-card,
.place-card,
.places-cta,
.month-divider,
.year-toggle-wrapper,
.empty-state {
    opacity: 0;
    transform: translateY(14px) scale(0.988);
    transition:
        opacity 0.68s var(--motion),
        transform 0.68s var(--motion),
        box-shadow 0.32s ease,
        background 0.32s ease;
}

.bento-item.is-visible,
.event-card.is-visible,
.about-item.is-visible,
.onair-card.is-visible,
.place-card.is-visible,
.places-cta.is-visible,
.month-divider.is-visible,
.year-toggle-wrapper.is-visible,
.empty-state.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.bento-item:hover,
.about-item:hover,
.onair-card:hover,
.place-card:hover,
.event-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

/* =========================================
   TYPE SYSTEM
   ========================================= */

.item-label {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.82;
}

.bento-item h2,
.onair-card h2,
.place-card h2,
.event-info h3,
.about-item h2,
.about-item h3,
.empty-state h2,
.places-cta h2 {
    text-wrap: balance;
    text-transform: none;
}

/* =========================================
   BENTO / HOME
   ========================================= */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap-main);
    width: 100%;
}

.bento-item {
    position: relative;
    min-height: 430px;
    padding: 46px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--bg-card);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 0;
}

.bento-hero {
    grid-column: span 2;
    min-height: 590px;
}

.bento-item[style*="background-image"]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.02) 0%,
            rgba(0, 0, 0, 0.72) 100%
        ),
        radial-gradient(
            circle at 70% 12%,
            rgba(201, 251, 0, 0.14),
            transparent 34%
        );
}

.bento-hero::after {
    content: "Закрытые двери · Маршруты для своих · Кураторский доступ · 2026";
    position: absolute;
    top: 30px;
    right: 34px;
    z-index: 3;
    max-width: 280px;
    color: rgba(255, 255, 255, 0.58);
    text-align: right;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.02em;
    text-transform: none;
}

.bento-content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bento-item[style*="background-image"] .item-label {
    color: rgba(255, 255, 255, 0.58);
}

.bento-item h2 {
    color: var(--text-main);
    font-size: clamp(34px, 3.6vw, 54px);
    font-weight: 650;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.bento-hero h2 {
    max-width: 860px;
    font-size: clamp(54px, 6.2vw, 96px);
    font-weight: 680;
    line-height: 0.94;
    letter-spacing: -0.045em;
}

.bento-item[style*="background-image"] h2 {
    color: #fff;
}

.bento-item p {
    max-width: 82%;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.48;
}

.bento-item[style*="background-image"] p {
    color: rgba(255, 255, 255, 0.74);
}

/* =========================================
   EVENTS
   ========================================= */

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap-main);
    width: 100%;
}

.event-card {
    min-height: 188px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(1.14);
    -webkit-backdrop-filter: blur(20px) saturate(1.14);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    border: 0;
}

.event-card-content {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.event-date {
    color: var(--text-main);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.event-tag {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-dark);
    color: var(--accent-bg);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.event-info h3 {
    color: var(--text-main);
    font-size: clamp(19px, 1.35vw, 24px);
    font-weight: 650;
    line-height: 1.04;
    letter-spacing: -0.02em;
}

.event-info p {
    margin-top: 9px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.44;
}

.event-ticket-stub {
    width: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    color: var(--accent-bg);
    text-decoration: none;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.event-ticket-stub:hover {
    background: #000;
    color: #fff;
}

.ticket-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.event-card.type-main {
    background: #e8e6df;
}

.event-card.type-art {
    background: var(--bg-dark);
}

.event-card.type-art .event-date,
.event-card.type-art h3 {
    color: #fff;
}

.event-card.type-art .event-info p {
    color: rgba(255, 255, 255, 0.62);
}

.event-card.type-art .event-ticket-stub {
    background: var(--accent-bg);
    color: var(--bg-dark);
}

.month-divider {
    grid-column: 1 / -1;
    margin-top: 28px;
    margin-bottom: 0;
    padding: 18px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.46);
    backdrop-filter: blur(18px) saturate(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
    color: var(--text-muted);
    font-size: 22px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: -0.025em;
    text-transform: none;
}

.month-divider:first-child {
    margin-top: 0;
}

.month-divider.active {
    background: var(--accent-bg);
    color: var(--accent-text);
}

.year-toggle-wrapper {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.year-segmented-control {
    display: inline-flex;
    padding: 4px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(22px) saturate(1.16);
    -webkit-backdrop-filter: blur(22px) saturate(1.16);
}

.year-seg-btn {
    border: 0;
    border-radius: 10px;
    background: transparent;
    padding: 9px 26px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    font-weight: 650;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.year-seg-btn.active {
    background: #fff;
    color: var(--text-main);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* =========================================
   ABOUT
   ========================================= */

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(220px, auto);
    gap: var(--gap-main);
    width: 100%;
    padding-bottom: 60px;
}

.about-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 36px;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    color: inherit;
    border: 0;
}

.about-item.has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 16%,
        rgba(0, 0, 0, 0.82) 100%
    );
    z-index: 1;
}

.about-item > * {
    position: relative;
    z-index: 2;
}

.about-item.manifesto {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--bg-dark);
    color: var(--accent-bg);
}

.about-item.manifesto h2 {
    margin-top: auto;
    font-size: clamp(44px, 5.5vw, 76px);
    font-weight: 650;
    line-height: 0.96;
    letter-spacing: -0.035em;
}

.about-item.portrait,
.about-item.tall-photo {
    grid-row: span 2;
    color: #fff;
}

.about-item.portrait h3,
.about-item.tall-photo h3 {
    margin-bottom: 8px;
    font-size: 25px;
    font-weight: 650;
    line-height: 1.04;
    letter-spacing: -0.02em;
}

.stat-cluster {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap-main);
}

.stat-cluster .about-item.stat-card {
    min-height: 190px;
    aspect-ratio: 1 / 1;
    padding: 24px;
    background: var(--bg-card-strong);
    align-items: flex-start;
    justify-content: space-between;
}

.stat-num {
    color: var(--text-main);
    font-size: 48px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: -0.04em;
}

.stat-desc {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.34;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-item.wide-text {
    grid-column: span 2;
    background: #e8e6df;
    justify-content: space-between;
}

.about-item.wide-text h3 {
    margin-bottom: 12px;
    font-size: clamp(24px, 2vw, 34px);
    font-weight: 650;
    line-height: 1.04;
    letter-spacing: -0.02em;
}

.about-item.wide-text p,
.about-item p {
    color: inherit;
    opacity: 0.72;
    font-size: 14px;
    line-height: 1.48;
    font-weight: 500;
}

.about-item.cta-link {
    grid-column: 1 / -1;
    background: var(--accent-bg);
    color: var(--accent-text);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
}

.about-item.cta-link h3 {
    font-size: clamp(28px, 2.8vw, 44px);
    font-weight: 650;
    line-height: 1;
    letter-spacing: -0.025em;
}

/* =========================================
   EMPTY STATE
   ========================================= */

.empty-state {
    grid-column: 1 / -1;
    min-height: 320px;
    padding: 44px;
    border-radius: var(--radius-xl);
    background: var(--bg-dark);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.empty-state h2 {
    max-width: 760px;
    font-size: clamp(42px, 5vw, 78px);
    font-weight: 650;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.empty-state p {
    margin-top: 18px;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.48;
    font-weight: 500;
}

/* =========================================
   ON AIR
   ========================================= */

.onair-grid {
    display: block;
    width: 100%;
}

.breaking-strip {
    width: 100%;
    margin-bottom: 12px;
}

.breaking-head {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(18px) saturate(1.12);
    -webkit-backdrop-filter: blur(18px) saturate(1.12);
    color: rgba(31, 31, 31, 0.62);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.breaking-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-bg);
    box-shadow: 0 0 0 7px rgba(201, 251, 0, 0.14);
}

.breaking-track {
    display: flex;
    gap: var(--gap-main);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.breaking-track::-webkit-scrollbar {
    display: none;
}

.breaking-card {
    flex: 0 0 min(520px, 82vw);
    min-height: 360px;
    scroll-snap-align: start;
}

.onair-main-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: var(--gap-main);
    width: 100%;
    padding-bottom: 80px;
}

.onair-card {
    position: relative;
    min-height: 260px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--bg-card-strong);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-main);
    border: 0;
}

.onair-hero {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 540px;
}

.onair-wide {
    grid-column: span 2;
    min-height: 260px;
}

.onair-small {
    grid-column: span 1;
    min-height: 260px;
}

.onair-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        transparent 20%,
        rgba(0, 0, 0, 0.78) 100%
    );
}

.onair-content {
    position: relative;
    z-index: 2;
}

.onair-date {
    position: absolute;
    top: 24px;
    right: 26px;
    z-index: 3;
    color: rgba(31, 31, 31, 0.48);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.onair-card h2 {
    margin-top: 12px;
    font-size: clamp(24px, 2.1vw, 34px);
    font-weight: 650;
    line-height: 1.04;
    letter-spacing: -0.02em;
}

.onair-hero h2 {
    font-size: clamp(34px, 3.7vw, 58px);
    max-width: 680px;
    line-height: 0.99;
}

.onair-card p {
    margin-top: 12px;
    max-width: 88%;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.48;
}

.onair-photo h2,
.onair-photo p,
.onair-photo .item-label,
.onair-photo .onair-date {
    color: #ffffff;
}

.onair-photo p {
    opacity: 0.74;
}

.onair-green {
    background: var(--accent-bg);
}

.onair-green p,
.onair-green .item-label {
    color: rgba(0, 0, 0, 0.62);
}

.onair-dark {
    background: var(--bg-dark);
    color: #ffffff;
}

.onair-dark p,
.onair-dark .item-label,
.onair-dark .onair-date {
    color: rgba(255, 255, 255, 0.62);
}

.onair-link {
    display: inline-flex;
    width: fit-content;
    margin-top: 18px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-main);
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(16px) saturate(1.12);
    -webkit-backdrop-filter: blur(16px) saturate(1.12);
    transition:
        background 0.22s ease,
        transform 0.22s ease,
        color 0.22s ease;
}

.onair-link:hover {
    background: rgba(0, 0, 0, 0.13);
    transform: translateY(-1px);
}

.onair-photo .onair-link,
.onair-dark .onair-link {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.onair-photo .onair-link:hover,
.onair-dark .onair-link:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* =========================================
   PLACES
   ========================================= */

.places-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap-main);
    width: 100%;
    padding-bottom: 80px;
}

.place-card {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 280px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 0;
}

.place-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.02) 0%,
        rgba(0, 0, 0, 0.3) 42%,
        rgba(0, 0, 0, 0.82) 100%
    );
}

.place-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.place-content .item-label {
    color: rgba(255, 255, 255, 0.62);
}

.place-card h2 {
    margin-top: 10px;
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 650;
    line-height: 1.04;
    letter-spacing: -0.02em;
}

.place-card p {
    margin-top: 12px;
    max-height: 44px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.48;
    transition: max-height 0.35s ease;
}

.place-card.is-open p {
    max-height: 190px;
}

.place-more {
    margin-top: 16px;
    padding: 9px 14px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(16px) saturate(1.12);
    -webkit-backdrop-filter: blur(16px) saturate(1.12);
    transition:
        background 0.22s ease,
        transform 0.22s ease;
}

.place-more:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.places-cta {
    grid-column: 1 / -1;
    min-height: 320px;
    border-radius: var(--radius-xl);
    padding: 42px;
    background: var(--accent-bg);
    color: var(--accent-text);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 0;
}

.places-cta h2 {
    margin-top: 12px;
    max-width: 760px;
    font-size: clamp(42px, 5vw, 78px);
    font-weight: 650;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.places-cta p {
    margin-top: 18px;
    max-width: 540px;
    color: rgba(0, 0, 0, 0.62);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.48;
}

.places-cta a {
    width: fit-content;
    margin-top: 22px;
    padding: 11px 16px;
    border-radius: 999px;
    background: var(--bg-dark);
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition:
        background 0.22s ease,
        transform 0.22s ease;
}

.places-cta a:hover {
    transform: translateY(-1px);
}

/* =========================================
   SMALL DESKTOP / MACBOOK AIR
   ========================================= */

@media (max-width: 1280px) and (min-width: 1025px) {
    :root {
        --sidebar-w: 360px;
    }

    .sidebar {
        padding-left: 16px;
        padding-right: 16px;
    }

    .stage-topline {
        left: calc(var(--sidebar-w) + 30px);
    }

    .bento-item {
        padding: 36px;
    }

    .bento-item h2 {
        font-size: clamp(32px, 3.2vw, 46px);
    }

    .bento-hero h2 {
        font-size: clamp(50px, 5.8vw, 84px);
    }

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

    .onair-main-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .onair-hero,
    .onair-wide {
        grid-column: span 2;
    }

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

    .place-card h2 {
        font-size: 24px;
    }
}

@media (max-height: 820px) and (min-width: 1025px) {
    .sidebar {
        overflow-y: auto;
        overflow-x: hidden;
        position: relative;
        padding-bottom: 14px;
    }

    .city-selector {
        position: sticky;
        top: 0;
        z-index: 30;
        margin-bottom: 14px;
    }

    .sidebar::before {
        content: "";
        position: sticky;
        top: 50px;
        display: block;
        height: 42px;
        margin-bottom: -42px;
        z-index: 25;
        pointer-events: none;
        background: linear-gradient(
            to bottom,
            var(--bg-main) 0%,
            rgba(244, 244, 246, 0.88) 35%,
            rgba(244, 244, 246, 0) 100%
        );
    }

    .brand-group,
    .side-nav {
        position: relative;
        z-index: 1;
    }

    .brand-group {
        padding: 28px 0 26px;
        gap: 22px;
    }

    .clock-display {
        font-size: 36px;
    }

    .brand-subtitle {
        font-size: 9px;
        max-width: 230px;
    }

    .side-nav {
        gap: 6px;
    }

    .nav-pill {
        padding: 8px 10px;
        border-radius: 16px;
    }

    .nav-icon {
        width: 42px;
        height: 42px;
        margin-right: 10px;
    }

    .dashboard-pill {
        padding: 18px 20px;
        border-radius: 18px;
    }

    .stage {
        padding-top: 38px;
    }

    .bento-item {
        min-height: 360px;
        padding: 34px;
    }

    .bento-hero {
        min-height: 480px;
    }

    .bento-item h2 {
        font-size: clamp(30px, 3.1vw, 44px);
        line-height: 1;
    }

    .bento-hero h2 {
        font-size: clamp(48px, 5.6vw, 82px);
    }

    .onair-card {
        min-height: 230px;
        padding: 28px;
    }

    .onair-hero {
        min-height: 460px;
    }

    .onair-card h2 {
        font-size: 22px;
        line-height: 1.04;
    }

    .onair-hero h2 {
        font-size: clamp(34px, 4vw, 52px);
    }

    .event-card {
        min-height: 168px;
    }

    .event-card-content {
        padding: 24px;
    }

    .about-item.manifesto h2 {
        font-size: 54px;
    }
}

/* =========================================
   TABLET / MOBILE
   ========================================= */

@media (max-width: 1024px) {
    body {
        overflow-y: auto;
    }

    .portal-wrapper {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding: 6px;
        gap: 12px;
    }

    .sidebar {
        width: 100%;
        height: auto;
        padding: 8px 8px 14px;
        background: rgba(255, 255, 255, 0.42);
        backdrop-filter: blur(18px) saturate(1.12);
        -webkit-backdrop-filter: blur(18px) saturate(1.12);
    }

    .brand-group {
        padding: 34px 0;
        gap: 24px;
    }

    .stage {
        height: auto;
        overflow: visible;
        padding: 38px 0 0;
    }

    .stage-topline {
        position: static;
        padding: 0 8px 14px;
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    .bento-grid,
    .events-grid,
    .about-grid,
    .places-grid,
    .onair-main-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0 0 20px;
    }

    .bento-item {
        min-height: 390px;
        padding: 30px;
    }

    .bento-hero {
        min-height: 520px;
    }

    .bento-hero::after {
        top: 24px;
        left: 30px;
        right: auto;
        text-align: left;
    }

    .stat-cluster {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-item.portrait,
    .about-item.tall-photo {
        min-height: 400px;
    }

    .about-item.cta-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .onair-card,
    .onair-hero,
    .onair-wide,
    .onair-small {
        min-height: 330px;
    }

    .onair-hero {
        min-height: 480px;
    }

    .breaking-card {
        flex-basis: min(440px, 84vw);
        min-height: 380px;
    }

    .place-card {
        aspect-ratio: auto;
        min-height: 360px;
    }
}

@media (max-width: 720px) {
    .sel-btn {
        padding: 12px 0;
        font-size: 9px;
        letter-spacing: 0.12em;
    }

    .clock-display {
        font-size: clamp(34px, 12vw, 46px);
    }

    .logo-text {
        letter-spacing: 0.16em;
    }

    .brand-subtitle {
        font-size: 9px;
        letter-spacing: 0.07em;
    }

    .nav-pill {
        padding: 12px;
        border-radius: 20px;
    }

    .bento-item,
    .onair-card,
    .place-card,
    .places-cta,
    .empty-state {
        padding: 28px;
    }

    .bento-item {
        min-height: 330px;
    }

    .bento-hero {
        min-height: 470px;
    }

    .bento-item h2,
    .bento-hero h2 {
        font-size: clamp(28px, 7.8vw, 38px);
        line-height: 1.06;
        letter-spacing: -0.025em;
    }

    .bento-item p {
        max-width: 100%;
        font-size: 13px;
    }

    .onair-card {
        min-height: 310px;
    }

    .onair-hero {
        min-height: 460px;
    }

    .onair-card h2,
    .onair-hero h2,
    .place-card h2 {
        font-size: clamp(22px, 6.2vw, 30px);
        line-height: 1.08;
        letter-spacing: -0.018em;
    }

    .onair-card p {
        max-width: 100%;
        font-size: 13px;
    }

    .breaking-strip {
        margin-bottom: 12px;
    }

    .breaking-track {
        gap: 12px;
        padding: 0 0 6px;
    }

    .breaking-card {
        flex: 0 0 84%;
        min-height: 420px;
    }

    .event-card {
        min-height: 185px;
    }

    .event-card-content {
        padding: 22px;
    }

    .event-ticket-stub {
        width: 46px;
    }

    .ticket-text {
        font-size: 10px;
        letter-spacing: 0.16em;
    }

    .place-card {
        min-height: 330px;
    }

    .places-cta {
        min-height: 340px;
    }

    .places-cta h2,
    .empty-state h2,
    .about-item.manifesto h2 {
        font-size: clamp(30px, 8vw, 42px);
        line-height: 1.04;
        letter-spacing: -0.025em;
    }

    .stat-cluster {
        gap: 8px;
    }

    .stat-cluster .about-item.stat-card {
        min-height: 160px;
        padding: 20px;
    }

    .stat-num {
        font-size: 38px;
    }
}

@media (max-width: 420px) {
    .onair-card h2,
    .onair-hero h2,
    .place-card h2 {
        font-size: clamp(22px, 7vw, 32px);
    }

    .bento-item h2,
    .bento-hero h2,
    .places-cta h2 {
        font-size: clamp(28px, 8.5vw, 38px);
    }
}

/* =========================================
   ACCESSIBILITY
   ========================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .bento-item,
    .event-card,
    .about-item,
    .onair-card,
    .place-card,
    .places-cta,
    .month-divider,
    .year-toggle-wrapper,
    .empty-state {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* =========================================
   Venice/Rome + 2026/2027
   ========================================= */

.city-selector,
.year-segmented-control {
    position: relative;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px) saturate(1.08);
    -webkit-backdrop-filter: blur(24px) saturate(1.08);
    box-shadow: none;
    overflow: hidden;
}

.selector-thumb,
.year-seg-btn.active {
    background: #c9fb00;
    border-radius: 999px;
    box-shadow: none;
}

/* Venice / Rome */
.selector-thumb {
    top: 3px;
    left: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    transition:
        transform 0.58s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.22s ease;
}

.sel-btn {
    min-height: 38px;
    padding: 0;
    color: rgba(31, 31, 31, 0.46);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.1em;
    transition:
        color 0.22s ease,
        transform 0.18s ease;
}

.sel-btn.active {
    color: rgba(31, 31, 31, 0.92);
}

.sel-btn:hover {
    color: rgba(31, 31, 31, 0.72);
}

.sel-btn:active {
    transform: scale(0.985);
}

/* Years */
.year-segmented-control {
    display: inline-flex;
    gap: 0;
}

.year-seg-btn {
    position: relative;
    min-width: 88px;
    min-height: 38px;
    padding: 0 24px;
    border-radius: 999px;
    background: transparent;
    color: rgba(31, 31, 31, 0.46);
    font-size: 13px;
    font-weight: 650;
    letter-spacing: -0.01em;
    box-shadow: none;
    transition:
        background 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.22s ease,
        transform 0.18s ease;
}

.year-seg-btn:hover {
    color: rgba(31, 31, 31, 0.72);
}

.year-seg-btn.active {
    color: rgba(31, 31, 31, 0.92);
}

.year-seg-btn:active {
    transform: scale(0.985);
}

/* убираем любые старые декоративные индикаторы */
.sel-btn::after,
.year-seg-btn::after,
.city-selector::before,
.year-segmented-control::before {
    content: none !important;
}

/* =========================================
   EVENTS YEAR SWITCH / CLEAN VERTICAL FLOW
   ========================================= */

.year-toggle-wrapper {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.year-segmented-control {
    position: relative;
    overflow: hidden;
}

.year-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    border-radius: 999px;
    background: #2a2a2d;
    z-index: 1;
    transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.year-thumb.to-2027 {
    transform: translateX(100%);
}

.year-seg-btn {
    position: relative;
    z-index: 2;
    background: transparent !important;
    box-shadow: none !important;
}

.year-seg-btn.active {
    color: rgba(255, 255, 255, 0.96) !important;
}

.events-list {
    display: contents;
}

.events-list.year-next .event-card,
.events-list.year-next .month-divider,
.events-list.year-next .empty-state {
    transform: translateY(22px) scale(0.992);
}

.events-list.year-prev .event-card,
.events-list.year-prev .month-divider,
.events-list.year-prev .empty-state {
    transform: translateY(-22px) scale(0.992);
}

.events-list.year-next .event-card.is-visible,
.events-list.year-next .month-divider.is-visible,
.events-list.year-next .empty-state.is-visible,
.events-list.year-prev .event-card.is-visible,
.events-list.year-prev .month-divider.is-visible,
.events-list.year-prev .empty-state.is-visible {
    transform: translateY(0) scale(1);
}

/* =========================================
   BREAKING / DESKTOP GRID + MOBILE SWIPE
   ========================================= */

/* desktop: не свайп, а аккуратная сетка */
@media (min-width: 1025px) {
    .breaking-track {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--gap-main);
        overflow: visible;
        padding-bottom: 0;
    }

    .breaking-card {
        flex: none;
        min-height: 320px;
        scroll-snap-align: unset;
    }

    .breaking-card.onair-hero {
        grid-column: span 2;
        min-height: 480px;
    }

    .breaking-card.onair-wide {
        grid-column: span 2;
    }

    .breaking-card.onair-small {
        grid-column: span 1;
    }
}

/* mobile/tablet: оставляем свайп */
@media (max-width: 1024px) {
    .breaking-track {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
}

/* secondary feed title */

.breaking-head.secondary {
    margin-top: 42px;
    margin-bottom: 18px;
    padding-left: 2px;

    color: rgba(15, 15, 15, 0.42);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.breaking-head.secondary .breaking-dot {
    display: none;
}

/* =========================================
   ON AIR HEADERS / FINAL FIX
   ========================================= */

.breaking-head,
.breaking-head.secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;

    width: fit-content !important;
    min-height: 38px !important;

    margin: 0 0 12px !important;
    padding: 10px 16px !important;

    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.52) !important;

    color: rgba(31, 31, 31, 0.62) !important;

    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
}

.breaking-head.secondary {
    margin-top: 42px !important;
    margin-bottom: 16px !important;
}

.breaking-dot {
    display: block !important;
    width: 7px !important;
    height: 7px !important;
    flex: 0 0 7px !important;

    border-radius: 999px !important;
    background: var(--accent-bg) !important;
    box-shadow: none !important;
}

.breaking-head.secondary .breaking-dot {
    background: rgba(31, 31, 31, 0.22) !important;
}

.breaking-text {
    display: block !important;
    white-space: nowrap !important;
}

@media (max-width: 720px) {
    .breaking-head,
    .breaking-head.secondary {
        display: flex !important;
        width: 100% !important;
        padding: 10px 16px !important;
    }

    .breaking-head.secondary {
        margin-top: 34px !important;
    }
}

/* =========================================
   MOBILE LAYOUT CLEANUP
   меню без отдельного контейнера + единые отступы
   ========================================= */

@media (max-width: 1024px) {
    .portal-wrapper {
        padding: 10px;
        gap: 14px;
        background: var(--bg-main);
    }

    .sidebar {
        padding: 0 16px 18px;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0;
    }

    .stage {
        padding: 38px 16px 0;
        background: transparent;
    }

    .stage-topline {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 720px) {
    .portal-wrapper {
        padding: 10px;
    }

    .sidebar {
        padding-left: 16px;
        padding-right: 16px;
    }

    .stage {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* =========================================
   MOBILE BREAKING INFINITE CAROUSEL
   ========================================= */

@media (max-width: 1024px) {
    .breaking-strip {
        margin-left: -16px;
        margin-right: -16px;
    }

    .breaking-head {
        margin-left: 16px !important;
        margin-right: 16px !important;
    }

    .breaking-track {
        padding-left: 16px;
        padding-right: 16px;
        scroll-padding-left: 16px;
        scroll-snap-type: x mandatory;
    }

    .breaking-card {
        flex: 0 0 84%;
        scroll-snap-align: start;
    }
}

/* =========================================
   MOBILE BREAKING EDGE-TO-EDGE SWIPE / CLEAN
   ========================================= */

@media (max-width: 1024px) {
    .breaking-strip {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        overflow: hidden;
    }

    .breaking-head {
        margin-left: 26px !important;
        margin-right: 26px !important;
    }

    .breaking-track {
        display: flex !important;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;

        padding-left: 26px;
        padding-right: 26px;
        padding-bottom: 6px;

        scroll-padding-left: 26px;
    }

    .breaking-track::-webkit-scrollbar {
        display: none;
    }

    .breaking-card {
        flex: 0 0 84vw !important;
        min-height: 420px;
        scroll-snap-align: start;
    }
}

@media (max-width: 720px) {
    .breaking-head {
        margin-left: 26px !important;
        margin-right: 26px !important;
        width: calc(100vw - 52px) !important;
    }

    .breaking-card {
        flex-basis: 82vw !important;
    }
}

/* =========================================
   MOBILE COMPACT HEADER
   Главная = full welcome
   Внутренние разделы = compact navigation
   ========================================= */

.mobile-section-bar {
    display: none;
}

@media (max-width: 1024px) {
    body.mobile-compact .brand-group {
    display: none;
}

body.mobile-compact.mobile-home .brand-group {
    display: flex;

    flex-direction: column;
    align-items: center;

    gap: 10px;

    width: 100%;

    padding-top: 8px;
}

    body.mobile-compact .mobile-section-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;

        margin: 18px 0 14px;
        padding: 18px 18px;

        border-radius: 28px;
        background: rgba(255, 255, 255, 0.62);

        backdrop-filter: blur(22px) saturate(1.12);
        -webkit-backdrop-filter: blur(22px) saturate(1.12);
    }

    .mobile-section-copy {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }

    .mobile-section-kicker {
        color: rgba(31, 31, 31, 0.36);
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .mobile-section-copy strong {
        color: var(--text-main);
        font-size: 18px;
        font-weight: 700;
        line-height: 1.05;
    }

    .mobile-section-copy span:last-child {
        color: var(--text-muted);
        font-size: 12px;
        font-weight: 500;
        line-height: 1.25;
    }

.mobile-section-bar {
    position: relative;
    cursor: pointer;
}

.mobile-section-copy {
    pointer-events: none;
    padding-right: 78px;
}

.mobile-section-toggle {
    position: absolute;
    inset: 0;
    z-index: 5;

    width: 100%;
    height: 100%;
    padding: 0 18px 0 0;

    border: 0;
    border-radius: 28px;

    background: transparent;
    color: rgba(31, 31, 31, 0.72);

    cursor: pointer;

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    transition:
        background 0.22s ease,
        color 0.22s ease,
        transform 0.22s var(--motion);
}

.mobile-section-toggle::before,
.mobile-section-toggle::after {
    content: "";
    position: absolute;
    right: 26px;

    width: 15px;
    height: 1.5px;

    border-radius: 999px;
    background: currentColor;

    opacity: 0;

    transition:
        transform 0.28s var(--motion),
        opacity 0.18s ease;
}

body.mobile-menu-open .mobile-section-toggle {
    padding-right: 0;

    font-size: 0;
    letter-spacing: 0;

    background: rgba(31, 31, 31, 0.035);
    color: rgba(31, 31, 31, 0.88);
}

body.mobile-menu-open .mobile-section-toggle::before,
body.mobile-menu-open .mobile-section-toggle::after {
    opacity: 1;
}

body.mobile-menu-open .mobile-section-toggle::before {
    transform: rotate(45deg);
}

body.mobile-menu-open .mobile-section-toggle::after {
    transform: rotate(-45deg);
}

    body.mobile-compact .side-nav,
    body.mobile-compact .dashboard-pill {
        display: none;
    }

body.mobile-compact.mobile-menu-open .side-nav {
    display: flex;
    margin-top: 8px;
    animation: compactMenuIn 0.36s var(--motion) both;
}

    body.mobile-compact.mobile-menu-open .dashboard-pill {
        display: flex;
        margin-top: 12px;
        animation: compactMenuIn 0.36s var(--motion) both;
    }

    body.mobile-compact .stage {
        padding-top: 16px;
    }

    body.mobile-compact .stage-topline {
        display: none;
    }
}

@keyframes compactMenuIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   MOBILE COMPACT NAV / SOFT TRANSITIONS
   ========================================= */

@media (min-width: 1025px) {
    .nav-pill[data-mobile-only="true"] {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .mobile-section-bar {
        transition:
            opacity 0.34s var(--motion),
            transform 0.34s var(--motion),
            background 0.34s ease;
    }

    body.mobile-shell-changing .mobile-section-bar {
        opacity: 0.72;
        transform: translateY(-4px) scale(0.992);
    }

    body.mobile-compact .side-nav,
    body.mobile-compact .dashboard-pill {
        transform-origin: top center;
    }

    body.mobile-compact.mobile-menu-open .side-nav,
    body.mobile-compact.mobile-menu-open .dashboard-pill {
        animation: compactMenuIn 0.42s var(--motion) both;
    }

    body.mobile-compact:not(.mobile-menu-open) .side-nav,
    body.mobile-compact:not(.mobile-menu-open) .dashboard-pill {
        display: none !important;
    }
}


/* О проекте в меню показываем только во внутреннем compact-режиме */
@media (max-width: 1024px) {
    body:not(.mobile-compact) .nav-pill[data-mobile-only="true"] {
        display: none !important;
    }

    body.mobile-compact .nav-pill[data-mobile-only="true"] {
        display: flex !important;
    }
}

/* =========================================
   PREMIUM IMAGE POLISH / SAFE
   без скрытия картинок
   ========================================= */

.bento-item[style*="background-image"],
.onair-card[style*="background-image"],
.place-card[style*="background-image"],
.about-item[style*="background-image"],
.nav-icon[style*="background-image"] {
    filter: saturate(0.96) contrast(1.02);
    transition:
        filter 0.7s var(--motion),
        transform 0.58s var(--motion),
        box-shadow 0.32s ease;
}

/* =========================================
   TACTILE TOUCH / SAFE
   мягкое физическое нажатие
   ========================================= */

.nav-pill,
.sel-btn,
.year-seg-btn,
.mobile-section-toggle,
.about-shortcut,
.onair-link,
.place-more,
.places-cta a,
.event-ticket-stub,
.dashboard-pill {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-pill:active,
.sel-btn:active,
.year-seg-btn:active,
.mobile-section-toggle:active,
.about-shortcut:active,
.onair-link:active,
.place-more:active,
.places-cta a:active,
.event-ticket-stub:active,
.dashboard-pill:active {
    transform: scale(0.985);
}

/* =========================================
   MOBILE COMPACT BAR / SCROLL STATE
   заметное, но чистое поведение
   ========================================= */

@media (max-width: 1024px) {
    body.mobile-compact .mobile-section-bar {
        transition:
            background 0.35s var(--motion),
            transform 0.35s var(--motion),
            box-shadow 0.35s var(--motion),
            padding 0.35s var(--motion);
    }

    body.mobile-compact .sidebar.is-scrolled .mobile-section-bar {
        background: rgba(255, 255, 255, 0.86) !important;
        transform: scale(0.985);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.055);
    }

    body.mobile-compact .sidebar.is-scrolled .mobile-section-copy strong {
        font-size: 17px;
    }

    body.mobile-compact
        .sidebar.is-scrolled
        .mobile-section-copy
        span:last-child {
        opacity: 0.72;
    }
}

/* =========================================
   SUBTLE HERO DEPTH / SAFE
   ========================================= */

.bento-hero[style*="background-image"],
.onair-hero[style*="background-image"],
.place-card[style*="background-image"] {
    background-position: center var(--parallax-y, 50%);
    will-change: background-position;
}

@media (prefers-reduced-motion: reduce) {
    .bento-hero[style*="background-image"],
    .onair-hero[style*="background-image"],
    .place-card[style*="background-image"] {
        background-position: center center !important;
    }
}

/* =========================================
   TOP CONTROLS / CITY + PROFILE FINAL FIX
   ========================================= */

.top-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 8px;
    align-items: center;
    width: 100%;
    margin-bottom: 18px;
}

.top-controls .city-selector {
    width: 100%;
    margin-bottom: 0 !important;
}

.top-controls .selector-track {
    height: 100%;
}

.profile-chip {
    position: relative;

    width: 46px;
    height: 46px;

    border: 0;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.72);
    color: rgba(31, 31, 31, 0.72);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    backdrop-filter: blur(24px) saturate(1.12);
    -webkit-backdrop-filter: blur(24px) saturate(1.12);

    transition:
        transform 0.22s var(--motion),
        background 0.22s ease,
        color 0.22s ease;
}

.profile-chip svg {
    width: 19px;
    height: 19px;
}

.profile-chip:hover {
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    transform: translateY(-1px);
}

.profile-chip:active {
    transform: scale(0.965);
}

.profile-dot {
    position: absolute;
    top: 8px;
    right: 8px;

    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: rgba(31, 31, 31, 0.22);
}

body.is-authenticated .profile-dot {
    background: var(--accent-bg);
    box-shadow: 0 0 0 5px rgba(201, 251, 0, 0.14);
}

.brand-logo {
    display: inline-flex;
    align-items: center;

    width: 148px;
    height: 28px;

    text-decoration: none;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* MAP NAV PILLS / SOFT DARK ACCENT */

.nav-pill.nav-soft-dark {
    background: rgba(31, 31, 31, 0.07);
}

.nav-pill.nav-soft-dark:hover {
    background: rgba(31, 31, 31, 0.1);
}

.nav-pill.nav-soft-dark .nav-title {
    color: rgba(31, 31, 31, 0.86);
}

.nav-pill.nav-soft-dark .nav-subtitle {
    color: rgba(31, 31, 31, 0.56);
}

.city-signal {
    min-height: 34px;
    max-width: 260px;

    transition:
        opacity 0.22s ease,
        transform 0.22s var(--motion),
        filter 0.22s ease;
}

.city-signal.is-changing {
    opacity: 0;
    transform: translateY(4px);
    filter: blur(4px);
}

/* =========================================
   BRAND SIGNAL / LOGO ROW FIX
   ========================================= */

.brand-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    gap: 16px;
}

.city-signal {
    margin-top: 0 !important;
    min-height: 34px;
    max-width: 280px;

    text-align: center;

    transition:
        opacity 0.22s ease,
        transform 0.22s var(--motion),
        filter 0.22s ease;
}

.city-signal.is-changing {
    opacity: 0;
    transform: translateY(4px);
    filter: blur(4px);
}

.brand-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 14px;

    width: 100%;
}

.brand-row .brand-logo {
    flex-shrink: 0;
}

.brand-row .about-shortcut {
    margin-top: 0 !important;
}

/* =========================================
   DUAL ACCESS CARDS / HORIZONTAL PREMIUM
   ========================================= */

.dual-access-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.dual-access-card {
    min-height: 176px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;

    padding: 18px;
    border-radius: 22px;

    text-decoration: none;

    backdrop-filter: blur(18px) saturate(1.12);
    -webkit-backdrop-filter: blur(18px) saturate(1.12);

    transition:
        transform 0.28s var(--motion),
        background 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.dual-access-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.055);
}

.dual-open {
    background: rgba(255, 255, 255, 0.24);
    border: 1px solid rgba(31, 31, 31, 0.16);
}

.dual-open:hover {
    background: rgba(255, 255, 255, 0.44);
    border-color: rgba(31, 31, 31, 0.26);
}

.dual-prime {
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(201, 251, 0, 0.72);
}

.dual-prime:hover {
    background:
        radial-gradient(circle at 90% 10%, rgba(201, 251, 0, 0.18), transparent 42%),
        rgba(255, 255, 255, 0.82);
    border-color: rgba(201, 251, 0, 0.96);
}

.dual-access-top h4 {
    margin: 0;

    color: #111;

    font-size: 15px;
    font-weight: 720;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.dual-access-top p {
    margin: 8px 0 0 !important;
    max-width: 100% !important;

    color: rgba(0, 0, 0, 0.58) !important;

    font-size: 11px !important;
    font-weight: 560 !important;
    line-height: 1.42 !important;
}

.dual-access-card span {
    color: rgba(0, 0, 0, 0.42);

    font-size: 10px;
    font-weight: 560;
    line-height: 1.48;
}

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

    .dual-access-card {
        min-height: 142px;
    }
}

/* =========================================
   BENTO LIVE CARD / TOP CONTENT + GLASS CTA
   ========================================= */

.bento-item.bento-top {
    justify-content: flex-start;
}

.bento-item.bento-top .bento-content {
    margin-top: 0;
}

.bento-item.bento-top[style*="background-image"]::before {
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.28) 42%,
            rgba(0, 0, 0, 0.08) 100%
        ),
        radial-gradient(
            circle at 80% 12%,
            rgba(201, 251, 0, 0.16),
            transparent 34%
        );
}

.bento-glass-action {
    position: absolute;
    right: 26px;
    bottom: 26px;
    z-index: 5;

    width: 58px;
    height: 58px;

    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.18);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    font-size: 28px;
    font-weight: 500;
    line-height: 1;

    backdrop-filter: blur(22px) saturate(1.25);
    -webkit-backdrop-filter: blur(22px) saturate(1.25);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 16px 34px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.28s var(--motion),
        background 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.bento-glass-action:hover {
    transform: translateY(-2px) scale(1.02);
    background: rgba(255, 255, 255, 0.26);
    border-color: rgba(255, 255, 255, 0.48);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.36),
        0 20px 42px rgba(0, 0, 0, 0.22);
}

.bento-glass-action:active {
    transform: scale(0.965);
}

@media (max-width: 720px) {
    .bento-glass-action {
        right: 22px;
        bottom: 22px;
        width: 52px;
        height: 52px;
        font-size: 25px;
    }
}

/* =========================================
   MOBILE COMPACT BRAND
   ========================================= */

@media (max-width: 1024px) {
    body.mobile-compact .brand-mark {
        width: 100%;
        align-items: flex-start;
    }

    body.mobile-compact .brand-row {
        width: 100%;
        align-items: flex-start;
    }

    body.mobile-compact .brand-logo img {
        height: 18px;
    }

    body.mobile-compact .clock-display {
        font-size: 28px;
    }

    body.mobile-compact .city-signal {
        max-width: 92%;
    }
}

/* =========================================
   MOBILE COMPACT BRAND
   ========================================= */

@media (max-width: 1024px) {
    body.mobile-compact.mobile-home .brand-mark {
        width: 100%;
        align-items: center;
    }

    body.mobile-compact.mobile-home .brand-row {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    body.mobile-compact.mobile-home .brand-logo img {
        height: 18px;
    }

    body.mobile-compact.mobile-home .clock-display {
        font-size: 28px;
    }

    body.mobile-compact.mobile-home .city-signal {
        max-width: 92%;
        text-align: center;
    }

    body.mobile-compact.mobile-home .time-block {
        align-items: center;
    }
}

/* =========================================
   MOBILE HEADER ORDER / FINAL
   ========================================= */

@media (max-width: 1024px) {
    .sb-header {
        display: flex;
        flex-direction: column;
    }

    body.mobile-compact .top-controls {
        order: 1;
    }

    body.mobile-compact .mobile-section-bar {
        order: 2;
    }

    body.mobile-compact.mobile-home .brand-group {
        order: 3;
    }
}

/* =========================================
   MOBILE HOME MENU POSITION FIX
   ========================================= */

@media (max-width: 1024px) {
    body.mobile-compact .top-controls {
        margin-bottom: 0 !important;
    }

    body.mobile-compact .mobile-section-bar {
        margin-top: 14px !important;
        margin-bottom: 18px !important;
    }

    body.mobile-compact.mobile-home .brand-group {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    body.mobile-compact.mobile-home .side-nav {
        order: 3;
    }

    body.mobile-compact.mobile-home .brand-group {
        order: 4;
    }

    body.mobile-compact.mobile-home.mobile-menu-open .side-nav {
        margin-top: 0 !important;
        margin-bottom: 24px;
    }
}

/* =========================================
   MOBILE HEADER ORDER / TRUE FINAL
   ========================================= */

@media (max-width: 1024px) {
    .sb-header {
        display: flex;
        flex-direction: column;
    }

    body.mobile-compact .top-controls {
        order: 1;
        margin-bottom: 0 !important;
    }

    body.mobile-compact .mobile-section-bar {
        order: 2;
        margin-top: 14px !important;
        margin-bottom: 0 !important;
    }

    body.mobile-compact .side-nav {
        order: 3;
    }

    body.mobile-compact.mobile-home .brand-group {
        order: 4;
        margin-top: 24px !important;
        padding-top: 0 !important;
    }

    body.mobile-compact.mobile-menu-open .side-nav {
        margin-top: 12px !important;
        margin-bottom: 24px !important;
    }
}

/* =========================================
   MOBILE HOME EXPANDED MENU GAP FIX
   ========================================= */

@media (max-width: 1024px) {
    body.mobile-compact.mobile-home.mobile-menu-open .side-nav {
        gap: 12px !important;
        margin-top: 12px !important;
    }

    body.mobile-compact.mobile-home.mobile-menu-open .nav-pill:first-child {
        margin-top: 0 !important;
    }
}

/* =========================================
   FINAL MOBILE SPACING / CONTRAST / WEATHER
   ========================================= */

/* Mobile side spacing: closer to dashboard density */
@media (max-width: 1024px) {
    .portal-wrapper {
        padding: 8px !important;
        gap: 12px !important;
    }

    .sidebar {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .stage {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .stage-topline {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 720px) {
    .portal-wrapper {
        padding: 8px !important;
    }

    .sidebar {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .stage {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* Mobile full-bleed strips keep the same optical edge */
@media (max-width: 1024px) {
    .breaking-strip {
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        overflow: hidden !important;
    }

    .breaking-head {
        margin-left: 18px !important;
        margin-right: 18px !important;
    }

    .breaking-track {
        padding-left: 18px !important;
        padding-right: 18px !important;
        scroll-padding-left: 18px !important;
    }
}

@media (max-width: 720px) {
    .breaking-head {
        width: calc(100vw - 36px) !important;
    }
}

/* Photo cards: make subtitles readable over images */
.bento-item[style*="background-image"]::before,
.onair-photo::before,
.place-card::before,
.about-item.has-bg::before {
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.34) 42%,
            rgba(0, 0, 0, 0.82) 100%
        ) !important;
}

.bento-item[style*="background-image"] h2,
.onair-photo h2,
.place-card h2,
.about-item.has-bg h2,
.about-item.has-bg h3 {
    color: #ffffff !important;
}

.bento-item[style*="background-image"] p,
.onair-photo p,
.place-card p,
.about-item.has-bg p {
    color: rgba(255, 255, 255, 0.88) !important;
    opacity: 1 !important;
}

.bento-item[style*="background-image"] .item-label,
.onair-photo .item-label,
.place-content .item-label,
.about-item.has-bg .item-label,
.onair-photo .onair-date {
    color: rgba(255, 255, 255, 0.74) !important;
    opacity: 1 !important;
}

/* Event year switch: active year must stay dark, not white */
.year-thumb {
    background: #c9fb00 !important;
}

.year-seg-btn.active {
    color: #131313 !important;
}

/* =========================================
   WEATHER BLOCK / CITY CONDITIONS / CLEAN
   ========================================= */

.weather-card {
    position: relative;
    overflow: hidden;

    margin: 12px 0;
    padding: 28px;

    border-radius: var(--radius-xl);
    background: rgba(31, 31, 31, 0.09);

    backdrop-filter: blur(28px) saturate(1.18);
    -webkit-backdrop-filter: blur(28px) saturate(1.18);
}

.weather-live-bg {
    display: none !important;
}

.weather-card > *:not(.weather-live-bg) {
    position: relative;
    z-index: 2;
}

.weather-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.weather-card h2 {
    margin-top: 8px;
    color: var(--text-main);
    font-size: clamp(28px, 2.6vw, 42px);
    font-weight: 650;
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.weather-live {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
}

.weather-now-main span {
    color: rgba(31, 31, 31, 0.5);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.weather-now-main strong {
    display: block;
    margin-top: 6px;
    font-size: clamp(76px, 8vw, 124px);
    font-weight: 540;
    line-height: 0.9;
    letter-spacing: -0.08em;
}

.weather-now-main p {
    margin-top: 12px;
    color: rgba(31, 31, 31, 0.62);
    font-size: 15px;
    font-weight: 650;
}

.weather-now-icon {
    width: 108px;
    height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
}

.weather-now-icon img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.weather-now-meta {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.weather-now-meta div {
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.54);
}

.weather-now-meta span {
    display: block;
    color: rgba(31, 31, 31, 0.46);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.weather-now-meta strong {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    font-weight: 760;
    letter-spacing: -0.03em;
}

.weather-advice {
    grid-column: 1 / -1;
    margin-top: 8px;
    max-width: 720px;
    color: rgba(31, 31, 31, 0.62);
    font-size: 14px;
    font-weight: 560;
    line-height: 1.48;
}

.weather-hourly {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-top: 22px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
}

.weather-hourly::-webkit-scrollbar {
    display: none;
}

.weather-hour {
    flex: 0 0 86px;
    min-height: 116px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.54);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.weather-hour span {
    color: rgba(31, 31, 31, 0.48);
    font-size: 10px;
    font-weight: 800;
}

.weather-hour img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.weather-hour strong {
    font-size: 16px;
    font-weight: 760;
}

.weather-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.weather-day {
    min-height: 126px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.54);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.weather-day.today {
    background: rgba(255, 255, 255, 0.68);
}

.weather-date {
    color: rgba(31, 31, 31, 0.48);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.weather-day img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.weather-temp {
    font-size: 17px;
    font-weight: 760;
    letter-spacing: -0.03em;
}

.weather-day small,
.weather-loading {
    color: rgba(31, 31, 31, 0.48);
    font-size: 11px;
    font-weight: 600;
}

.weather-expand-btn,
.weather-mobile-week-btn {
    display: none;
}

@media (max-width: 720px) {
    .weather-card {
        padding: 24px;
    }

    .weather-card-head {
        margin-bottom: 18px;
    }

    .weather-live {
        grid-template-columns: 1fr auto;
        gap: 16px;
    }

    .weather-now-main strong {
        font-size: 86px;
    }

    .weather-now-icon {
        width: 82px;
        height: 82px;
        border-radius: 26px;
    }

    .weather-now-icon img {
        width: 50px;
        height: 50px;
    }

    .weather-now-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px;
    }

    .weather-now-meta div {
        padding: 12px 10px;
        border-radius: 18px;
    }

    .weather-now-meta span {
        font-size: 8px;
        letter-spacing: 0.06em;
    }

    .weather-now-meta strong {
        margin-top: 6px;
        font-size: 14px;
    }

    .weather-hourly {
        margin-left: -24px;
        margin-right: -24px;
        padding-left: 24px;
        padding-right: 24px;
        padding-bottom: 4px;
    }

    .weather-hour {
        flex-basis: 76px;
        min-height: 104px;
    }

    .weather-mobile-week-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: fit-content;
        margin-top: 18px;
        padding: 12px 16px;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.72);
        color: #1f1f1f;
        cursor: pointer;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .weather-days {
        grid-template-columns: 1fr;
        margin-top: 14px;
    }

    .weather-day {
        display: none;
    }

    .weather-day.today {
        display: flex;
    }

    .weather-card.is-expanded .weather-day {
        display: flex;
    }

    .weather-card.is-expanded .weather-days::before {
        content: "Прогноз на неделю";
        display: block;
        margin-bottom: 10px;
        color: rgba(31, 31, 31, 0.48);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }
}

/* =========================================
   MOBILE GLOBAL SIDE PADDING = DASHBOARD
   ========================================= */

@media (max-width: 720px) {
    .portal-wrapper {
        padding: 10px !important;
    }

    .sidebar {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .stage {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .stage-topline {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* =========================================
   WEATHER ANIMATED BACKGROUND / LIGHTWEIGHT
   ========================================= */

.weather-card {
    isolation: isolate;
}

.weather-live-bg {
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 1;
    background: transparent;
}

.weather-card::before,
.weather-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
}

.weather-card > *:not(.weather-live-bg) {
    position: relative;
    z-index: 3;
}

/* day / night base */
.weather-card[data-time="day"] {
    background: rgba(31, 31, 31, 0.09);
}

.weather-card[data-time="night"] {
    background:
        linear-gradient(
            180deg,
            rgba(31, 31, 31, 0.16),
            rgba(31, 31, 31, 0.09)
        );
}

/* clear day */
.weather-card[data-weather="clear"][data-time="day"]::before {
    opacity: 1;
    background:
        radial-gradient(
            circle at 82% 14%,
            rgba(255, 255, 255, 0.38),
            transparent 32%
        );
    animation: weatherPulse 8s var(--motion) infinite alternate;
}

/* clear night */
.weather-card[data-weather="clear"][data-time="night"]::before {
    opacity: 1;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(255, 255, 255, 0.18),
            transparent 26%
        ),
        radial-gradient(
            circle at 18% 82%,
            rgba(255, 255, 255, 0.06),
            transparent 32%
        );
}

/* clouds */
.weather-card[data-weather="cloud"] .weather-live-bg {
    background-image: url("/img/weather/cloud-layer.svg");
    background-repeat: repeat-x;
    background-size: auto 68%;
    background-position: 0 42%;
    opacity: 0.18;
    animation: weatherClouds 42s linear infinite;
}

.weather-card[data-weather="cloud"][data-time="night"] .weather-live-bg {
    opacity: 0.12;
}

/* fog */
.weather-card[data-weather="fog"] .weather-live-bg {
    background-image: url("/img/weather/cloud-layer.svg");
    background-repeat: repeat-x;
    background-size: auto 82%;
    background-position: 0 50%;
    opacity: 0.14;
    filter: blur(8px);
    animation: weatherClouds 64s linear infinite;
}

/* rain */
.weather-card[data-weather="rain"] .weather-live-bg,
.weather-card[data-weather="storm"] .weather-live-bg {
    background-image: url("/img/weather/rain-line.svg");
    background-repeat: repeat;
    background-size: 120px 120px;
    opacity: 0.16;
    animation: weatherRain 1.1s linear infinite;
}

.weather-card[data-weather="storm"]::after {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
    animation: weatherFlash 5.8s linear infinite;
}

/* snow */
.weather-card[data-weather="snow"] .weather-live-bg {
    background-image: url("/img/weather/cloud-layer.svg");
    background-repeat: repeat-x;
    background-size: auto 70%;
    background-position: 0 46%;
    opacity: 0.16;
    filter: blur(3px);
    animation: weatherClouds 58s linear infinite;
}

@keyframes weatherClouds {
    from {
        background-position-x: 0;
    }

    to {
        background-position-x: 900px;
    }
}

@keyframes weatherRain {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 80px 140px;
    }
}

@keyframes weatherPulse {
    from {
        opacity: 0.55;
        transform: scale(1);
    }

    to {
        opacity: 1;
        transform: scale(1.04);
    }
}

@keyframes weatherFlash {
    0%,
    92%,
    100% {
        opacity: 0;
    }

    94% {
        opacity: 0.14;
    }

    96% {
        opacity: 0;
    }

    98% {
        opacity: 0.08;
    }
}

@media (prefers-reduced-motion: reduce) {
    .weather-live-bg,
    .weather-card::before,
    .weather-card::after {
        animation: none !important;
    }
}

/* =========================================
   WEATHER BACKGROUND FINAL FIX
   ========================================= */

.weather-card {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* убираем все старые анимационные слои */
.weather-live-bg {
    display: none !important;
    background-image: none !important;
    animation: none !important;
}

.weather-card::before,
.weather-card::after {
    animation: none !important;
}

/* фон только один, без замощения */
.weather-card[data-bg="clear-day"] {
    background: url("/img/weather/bg-clear-day.svg") center center / cover no-repeat !important;
}

.weather-card[data-bg="clear-night"] {
    background: url("/img/weather/bg-clear-night.svg") center center / cover no-repeat !important;
}

.weather-card[data-bg="cloud-day"] {
    background: url("/img/weather/bg-cloud-day.svg") center center / cover no-repeat !important;
}

.weather-card[data-bg="cloud-night"] {
    background: url("/img/weather/bg-cloud-night.svg") center center / cover no-repeat !important;
}

.weather-card[data-bg="rain-day"] {
    background: url("/img/weather/bg-rain-day.svg") center center / cover no-repeat !important;
}

.weather-card[data-bg="rain-night"] {
    background: url("/img/weather/bg-rain-night.svg") center center / cover no-repeat !important;
}

.weather-card[data-bg="fog-day"] {
    background: url("/img/weather/bg-fog-day.svg") center center / cover no-repeat !important;
}

.weather-card[data-bg="fog-night"] {
    background: url("/img/weather/bg-fog-night.svg") center center / cover no-repeat !important;
}

.weather-card[data-bg="storm"] {
    background: url("/img/weather/bg-storm.svg") center center / cover no-repeat !important;
}

.weather-card[data-bg="snow"] {
    background: url("/img/weather/bg-snow.svg") center center / cover no-repeat !important;
}

/* WEATHER ICON VISIBILITY / PREMIUM DEPTH */

.weather-now-icon img,
.weather-hour img,
.weather-day img {
    filter:
        drop-shadow(0 10px 18px rgba(0, 0, 0, 0.16))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12))
        saturate(1.08)
        contrast(1.06);
}

.weather-now-icon {
    background: rgba(255, 255, 255, 0.62) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 14px 34px rgba(0, 0, 0, 0.08);
}

.weather-hour,
.weather-day,
.weather-now-meta div {
    background: rgba(255, 255, 255, 0.68) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.64),
        0 10px 26px rgba(0, 0, 0, 0.045);
}

.weather-card[data-time="night"] .weather-now-icon,
.weather-card[data-time="night"] .weather-hour,
.weather-card[data-time="night"] .weather-day,
.weather-card[data-time="night"] .weather-now-meta div {
    background: rgba(255, 255, 255, 0.74) !important;
}


/* MAP PILLS TWO-IN-ROW / FINAL READABLE */

.side-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
}

.side-nav .nav-pill {
    grid-column: 1 / -1;
}

.side-nav .nav-pill.nav-soft-dark {
    grid-column: auto !important;
    min-height: 76px !important;

    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;

    align-items: center !important;

    padding: 10px !important;
}

.side-nav .nav-pill.nav-soft-dark .nav-icon {
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
}

.side-nav .nav-pill.nav-soft-dark .nav-title {
    font-size: 9px !important;
    line-height: 1.05 !important;
    white-space: nowrap;
}

.side-nav .nav-pill.nav-soft-dark .nav-subtitle {
    display: block !important;
    margin-top: 4px !important;

    font-size: 8px !important;
    line-height: 1.15 !important;

    max-width: 100%;
}

/* MAP PILLS / DESKTOP HEIGHT FIX */

.side-nav {
    flex: unset !important;
    align-content: start !important;
    grid-auto-rows: auto !important;
}

.side-nav .nav-pill {
    min-height: unset !important;
}

.side-nav .nav-pill:not(.nav-soft-dark) {
    min-height: 66px !important;
}

.side-nav .nav-pill.nav-soft-dark {
    min-height: 58px !important;
    height: 58px !important;

    padding: 8px 10px !important;

    grid-template-columns: 30px minmax(0, 1fr) !important;
    gap: 8px !important;
}

.side-nav .nav-pill.nav-soft-dark .nav-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 10px !important;
}

.side-nav .nav-pill.nav-soft-dark .nav-title {
    font-size: 9px !important;
}

.side-nav .nav-pill.nav-soft-dark .nav-subtitle {
    margin-top: 3px !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
}

/* === Rome Prime Notify === */
.dual-prime-soon { cursor: default; position: relative; overflow: hidden; }
.dual-prime-soon::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 0%, rgba(201,251,0,0.08) 0%, transparent 60%); pointer-events: none; }
.dual-prime-soon:hover { transform: none; box-shadow: none; }
.prime-notify-form { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.prime-notify-input { width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(201,251,0,0.4); background: rgba(255,255,255,0.52); font-family: inherit; font-size: 12px; font-weight: 500; color: #1f1f1f; outline: none; transition: border-color 0.22s ease, background 0.22s ease; -webkit-appearance: none; }
.prime-notify-input::placeholder { color: rgba(31,31,31,0.38); }
.prime-notify-input:focus { border-color: rgba(201,251,0,0.82); background: rgba(255,255,255,0.72); }
.prime-notify-btn { width: 100%; padding: 10px 14px; border-radius: 12px; border: 0; background: rgba(201,251,0,0.72); color: #111111; font-family: inherit; font-size: 11px; font-weight: 720; letter-spacing: 0.02em; cursor: pointer; transition: background 0.22s ease, transform 0.18s ease; }
.prime-notify-btn:hover { background: rgba(201,251,0,0.92); transform: translateY(-1px); }
.prime-notify-btn:active { transform: translateY(0); }
.prime-notify-btn:disabled { cursor: default; transform: none; }
.prime-notify-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(31,31,31,0.42); margin-top: 2px; }
.prime-notify-tag::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: rgba(201,251,0,0.72); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.7); } }
@media (max-width: 720px) { .prime-notify-input, .prime-notify-btn { font-size: 14px; padding: 12px 16px; } }
/* === Afisha preview block (main page) === */
.bento-afisha {
    background: var(--bg-card-solid);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.bento-afisha .bento-content {
    width: 100%;
}
.afisha-sub {
    margin: 6px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-soft);
    max-width: 42ch;
}
.afisha-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 22px 0 4px;
}
.afisha-tab {
    appearance: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s var(--motion);
}
.afisha-tab:hover {
    border-color: rgba(0, 0, 0, 0.22);
    color: var(--text-main);
}
.afisha-tab.active {
    background: var(--bg-dark);
    border-color: var(--bg-dark);
    color: #fff;
}
.afisha-events {
    margin-top: 14px;
}
.afisha-event {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.afisha-event:first-child {
    border-top: 0;
}
.afisha-date {
    flex: 0 0 96px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-top: 3px;
    line-height: 1.35;
}
.afisha-ebody {
    flex: 1;
    min-width: 0;
}
.afisha-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
    line-height: 1.18;
    color: var(--text-main);
}
.afisha-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3f4a00;
    background: var(--accent-bg);
    padding: 3px 9px;
    border-radius: 999px;
}
.afisha-empty {
    color: var(--text-soft);
    font-size: 14px;
    padding: 18px 0;
}
.afisha-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.afisha-count {
    font-size: 13px;
    color: var(--text-soft);
}
.afisha-btn {
    appearance: none;
    border: 0;
    background: var(--bg-dark);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 13px 22px;
    border-radius: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s var(--motion), background 0.2s var(--motion);
}
.afisha-btn:hover {
    background: #000;
    transform: translateX(2px);
}
.afisha-tab:focus-visible,
.afisha-btn:focus-visible {
    outline: 2px solid var(--accent-bg);
    outline-offset: 2px;
}
@media (max-width: 560px) {
    .afisha-date {
        flex-basis: 76px;
        font-size: 10px;
    }
    .afisha-foot {
        flex-direction: column;
        align-items: flex-start;
    }
    .afisha-btn {
        width: 100%;
        justify-content: center;
    }
}

/* === "What is inside the map" preview block (main page) === */
.bento-inside {
    grid-column: 1 / -1;
    background: var(--bg-card-solid);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.bento-inside .bento-content {
    width: 100%;
}
.inside-sub {
    margin: 6px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-soft);
    max-width: 44ch;
}
.inside-list {
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin-top: 22px;
}
.inside-place {
    flex: 1 1 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 2px 0;
    border-top: 0;
}
.inside-place:first-child {
    border-top: 0;
    padding-top: 4px;
}
.inside-thumb {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    margin-top: 2px;
    background-size: cover;
    background-position: center;
    background-color: #e7e7ea;
    filter: saturate(0.92) contrast(1.03);
}
.inside-body {
    flex: 1;
    min-width: 0;
}
.inside-name {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 4px;
    line-height: 1.18;
    color: var(--text-main);
}
.inside-desc {
    font-size: 14px;
    line-height: 1.45;
    color: var(--text-soft);
    margin: 0 0 8px;
}
.inside-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 3px 9px;
    border-radius: 999px;
}
.inside-locked {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(201, 251, 0, 0.08);
    border: 1px solid rgba(201, 251, 0, 0.55);
    border-radius: var(--radius-md);
    padding: 18px 20px;
}
.lock-ic {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lock-ic svg {
    width: 18px;
    height: 18px;
}
.locked-body {
    flex: 1;
    min-width: 0;
}
.locked-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 2px;
    letter-spacing: -0.01em;
    color: var(--text-main);
}
.locked-desc {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-soft);
    margin: 0;
}
.inside-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.inside-note {
    font-size: 13px;
    color: var(--text-soft);
    max-width: 24ch;
}
.prime-btn {
    appearance: none;
    border: 0;
    background: var(--accent-bg);
    color: var(--accent-text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: 13px 22px;
    border-radius: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: transform 0.2s var(--motion), filter 0.2s var(--motion);
}
.prime-btn:hover {
    filter: brightness(0.96);
    transform: translateX(2px);
}
.prime-btn:focus-visible {
    outline: 2px solid var(--bg-dark);
    outline-offset: 2px;
}
@media (max-width: 560px) {
    .inside-foot {
        flex-direction: column;
        align-items: flex-start;
    }
    .inside-note {
        max-width: none;
    }
    .prime-btn {
        width: 100%;
        justify-content: center;
    }
}

/* === Inside places: stack on phones === */
@media (max-width: 768px) {
    .inside-list {
        flex-direction: column;
        gap: 0;
    }
    .inside-place {
        flex: none;
        padding: 16px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.07);
    }
    .inside-place:first-child {
        border-top: 0;
        padding-top: 4px;
    }
}

/* === Subscribe block (full-width light band, main page) === */
.bento-subscribe {
    grid-column: 1 / -1;
    min-height: auto;
    background: var(--bg-card-solid);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px 46px;
    justify-content: center;
}
.subscribe-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    flex-wrap: wrap;
}
.subscribe-copy {
    flex: 1 1 320px;
    min-width: 0;
}
.subscribe-copy h2 {
    margin: 6px 0 0;
}
.subscribe-sub {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-soft);
    max-width: 52ch;
}
.subscribe-action {
    flex: 0 1 420px;
    min-width: 260px;
}
.subscribe-form {
    display: flex;
    gap: 10px;
}
.subscribe-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 50px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: #fff;
    color: var(--text-main);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s var(--motion);
}
.subscribe-input::placeholder {
    color: var(--text-muted);
}
.subscribe-input:focus {
    outline: none;
    border-color: var(--text-main);
}
.subscribe-btn {
    flex: 0 0 auto;
    appearance: none;
    border: 0;
    height: 50px;
    padding: 0 26px;
    border-radius: 14px;
    background: var(--accent-bg);
    color: var(--accent-text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: filter 0.2s var(--motion), transform 0.2s var(--motion);
}
.subscribe-btn:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
}
.subscribe-btn:focus-visible {
    outline: 2px solid var(--bg-dark);
    outline-offset: 2px;
}
.subscribe-status {
    margin: 12px 0 0;
    min-height: 18px;
    font-size: 13px;
    color: var(--text-soft);
}
.subscribe-status.is-ok {
    color: #3f4a00;
}
.subscribe-status.is-error {
    color: #c0392b;
}
@media (max-width: 768px) {
    .bento-subscribe {
        padding: 30px 26px;
    }
    .subscribe-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }
    .subscribe-action {
        width: 100%;
        flex-basis: auto;
        min-width: 0;
    }
}

/* === Accessibility: focus rings for interactive elements === */
.nav-pill:focus-visible,
.dual-access-card:focus-visible,
.bento-glass-action:focus-visible,
.place-card:focus-visible,
a.bento-item:focus-visible {
    outline: 2px solid var(--accent-bg);
    outline-offset: 3px;
    border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* === Public pricing view (no login wall) === */
.pricing-view {
    max-width: 980px;
    margin: 0 auto;
    padding: 8px 0 48px;
}
.pricing-head {
    text-align: center;
    margin-bottom: 42px;
}
.pricing-title {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 12px 0 0;
    color: var(--text-main);
}
.pricing-lead {
    max-width: 60ch;
    margin: 16px auto 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-soft);
}
.pricing-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 50px;
}
.compare-col {
    background: var(--bg-card-solid);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.compare-prime {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
}
.compare-tag {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.compare-tag-prime {
    background: var(--accent-bg);
    color: var(--accent-text);
    padding: 4px 12px;
    border-radius: 999px;
}
.compare-price {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin: 14px 0 18px;
}
.compare-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.compare-list li {
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-soft);
    padding-left: 24px;
    position: relative;
}
.compare-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-text);
    font-weight: 700;
}
.compare-open .compare-list li::before {
    color: var(--text-muted);
}
.compare-list b {
    color: var(--text-main);
    font-weight: 600;
}
.compare-cta {
    margin-top: auto;
    text-align: center;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    background: var(--accent-bg);
    color: var(--accent-text);
    transition: filter 0.2s var(--motion), transform 0.2s var(--motion);
}
.compare-cta:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
}
.compare-cta-ghost {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.18);
}
.compare-cta-ghost:hover {
    filter: none;
    background: rgba(0, 0, 0, 0.03);
}
.tiers-title {
    text-align: center;
    font-size: 22px;
    letter-spacing: -0.01em;
    color: var(--text-main);
    margin: 0 0 20px;
}
.tiers-title-sub {
    margin-top: 42px;
}
.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.tier-card {
    background: var(--bg-card-solid);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    text-align: center;
    position: relative;
}
.tier-featured {
    border-color: var(--accent-bg);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.07);
}
.tier-flag {
    display: inline-block;
    background: var(--accent-bg);
    color: var(--accent-text);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.tier-sub {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.tier-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 12px;
}
.tier-price {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
    line-height: 1;
}
.tier-cur {
    font-size: 22px;
    vertical-align: super;
    margin-right: 2px;
    color: var(--text-soft);
}
.tier-renew {
    font-size: 13px;
    color: var(--text-muted);
    margin: 10px 0 0;
}
.pricing-foot {
    text-align: center;
    margin-top: 46px;
}
.pricing-buy {
    display: inline-block;
    background: var(--bg-dark);
    color: #fff;
    padding: 16px 34px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s var(--motion), filter 0.2s var(--motion);
}
.pricing-buy:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}
.pricing-buy:focus-visible,
.compare-cta:focus-visible {
    outline: 2px solid var(--accent-bg);
    outline-offset: 3px;
}
.pricing-note {
    font-size: 14px;
    color: var(--text-soft);
    margin: 16px 0 0;
}
.pricing-trust {
    font-size: 13px;
    color: var(--text-muted);
    margin: 6px 0 0;
}
@media (max-width: 760px) {
    .pricing-compare {
        grid-template-columns: 1fr;
    }
    .tier-grid {
        grid-template-columns: 1fr;
    }
}

/* === Rome Prime "coming soon" view === */
.soon-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg-card-solid);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.soon-list {
    margin: 0 0 24px;
}
.soon-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.soon-form .prime-notify-input {
    height: 50px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: #fff;
    color: var(--text-main);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s var(--motion);
}
.soon-form .prime-notify-input::placeholder {
    color: var(--text-muted);
}
.soon-form .prime-notify-input:focus {
    outline: none;
    border-color: var(--text-main);
}
.soon-form .prime-notify-btn {
    height: 50px;
    border: 0;
    border-radius: 14px;
    background: var(--accent-bg);
    color: var(--accent-text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.2s var(--motion), transform 0.2s var(--motion);
}
.soon-form .prime-notify-btn:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
}
.soon-form .prime-notify-tag {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 2px;
}

/* === Trust / social proof === */
.bento-trust {
    grid-column: 1 / -1;
    min-height: auto;
    background: var(--bg-card-solid);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 32px 40px;
}
.bento-trust .item-label {
    display: block;
    margin-bottom: 18px;
}
.trust-inner {
    width: 100%;
}
.trust-founder {
    display: flex;
    align-items: center;
    gap: 16px;
}
.trust-avatar {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #e7e7ea;
}
.trust-founder-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.trust-founder-copy strong {
    font-size: 16px;
    color: var(--text-main);
    font-weight: 600;
}
.trust-founder-copy span {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.45;
}
.trust-quotes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}
.trust-quote {
    margin: 0;
    background: var(--bg-stage);
    border-radius: var(--radius-md);
    padding: 20px;
}
.trust-quote blockquote {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-main);
}
.trust-quote figcaption {
    font-size: 13px;
    color: var(--text-muted);
}
.pricing-trust-block {
    max-width: 720px;
    margin: 40px auto 0;
    background: var(--bg-card-solid);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
}
@media (max-width: 760px) {
    .trust-quotes {
        grid-template-columns: 1fr;
    }
}