:root {
    --bg: #07131f;
    --bg-soft: #0d1b2b;
    --bg-card: rgba(8, 20, 35, 0.82);
    --surface: #0f2136;
    --surface-2: #142b45;
    --surface-3: #eaf2fb;
    --surface-4: #f5f9ff;
    --line: rgba(115, 166, 232, 0.22);
    --line-strong: rgba(86, 150, 235, 0.38);
    --text: #eaf5ff;
    --text-dark: #16304b;
    --muted: #82a1c5;
    --muted-dark: #5f7b98;
    --primary: #1282ff;
    --primary-2: #4bc8ff;
    --primary-3: #0d5fc6;
    --accent: #36d1ff;
    --success: #14b87a;
    --warning: #f3b33d;
    --error: #ef5c73;
    --radius: 22px;
    --radius-sm: 16px;
    --shadow: 0 24px 60px rgba(4, 14, 28, 0.28);
    --shadow-soft: 0 16px 36px rgba(25, 61, 109, 0.12);
}

.dashboard-head-compact {
    margin-bottom: 18px;
}

.dashboard-shortcuts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.dashboard-shortcut {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(106, 156, 228, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 245, 252, 0.98));
    color: #12304f;
    box-shadow: 0 12px 30px rgba(13, 31, 54, 0.08);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-shortcut:hover {
    transform: translateY(-2px);
    border-color: rgba(18, 130, 255, 0.34);
    box-shadow: 0 16px 32px rgba(13, 31, 54, 0.12);
}

.dashboard-shortcut i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(18, 130, 255, 0.14), rgba(75, 200, 255, 0.22));
    color: #0f62bf;
    font-size: 1.05rem;
}

.dashboard-shortcut strong {
    font-size: 1rem;
}

.dashboard-shortcut span {
    color: #55708d;
    line-height: 1.5;
}

* { box-sizing: border-box; }
html {
    overflow-x: hidden;
}
body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(18, 130, 255, 0.18), transparent 26%),
        radial-gradient(circle at top right, rgba(75, 200, 255, 0.12), transparent 20%),
        linear-gradient(160deg, #06111c 0%, #081523 48%, #091523 100%);
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
main { min-height: calc(100vh - 140px); }
main,
.site-shell,
.container,
.admin-grid,
.admin-main,
.admin-content,
.panel-card,
.editor-layout,
.editor-main,
.editor-side,
.builder-shell,
.builder-stage,
.builder-panel,
.builder-stage__canvas,
.builder-sidebar,
.post-grid,
.post-card,
.article-card,
.table-actions,
.toolbar,
.station-grid {
    min-width: 0;
}
.site-shell,
.article-wrap,
.share-strip {
    overflow-x: clip;
}
.container { width: min(1600px, max(80vw, calc(100% - 32px))); margin: 0 auto; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 36px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(18, 130, 255, 0.18);
}
.button-primary {
    color: var(--button-text, #fff);
    background: linear-gradient(135deg, var(--button, var(--primary)) 0%, var(--button-2, var(--primary-2)) 100%);
    box-shadow: 0 14px 32px rgba(18, 130, 255, 0.24);
}
.button-primary,
.button-primary i,
.button-primary span {
    color: var(--button-text, #fff) !important;
}
.button-light {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--line);
}
.button-danger {
    color: #000 !important;
    background: linear-gradient(135deg, #ffb2bd 0%, #ff7b95 100%);
    border-color: rgba(160, 34, 66, 0.18);
}
.button-danger i,
.button-danger span {
    color: #000 !important;
}
.button.is-loading {
    opacity: 0.9;
    pointer-events: none;
}
.button-spinner {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.32);
    border-top-color: currentColor;
    animation: button-spin 0.7s linear infinite;
}
@keyframes button-spin {
    to {
        transform: rotate(360deg);
    }
}

.alert {
    position: relative;
    padding: 15px 18px;
    border-radius: 18px;
    margin: 16px 0;
    border: 1px solid transparent;
}
.alert-success {
    background: rgba(20, 184, 122, 0.12);
    color: #c3ffe6;
    border-color: rgba(20, 184, 122, 0.22);
}
.alert-error {
    background: rgba(239, 92, 115, 0.12);
    color: #ffd7de;
    border-color: rgba(239, 92, 115, 0.2);
}
.toast-stack {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    pointer-events: none;
}
.toast {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    width: min(720px, calc(100vw - 40px));
    padding: 20px 22px;
    border-radius: 28px;
    border: 1px solid rgba(117, 175, 244, 0.18);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 30px 90px rgba(4, 14, 28, 0.42);
    backdrop-filter: blur(22px);
    animation: toast-in 0.24s ease;
    pointer-events: auto;
}
.toast-success {
    border-color: rgba(45, 212, 151, 0.22);
}
.toast-error {
    border-color: rgba(239, 92, 115, 0.24);
}
.toast-confirm {
    grid-template-columns: auto 1fr;
    row-gap: 12px;
    border-color: rgba(255, 201, 76, 0.28);
}
.toast.is-leaving {
    animation: toast-out 0.22s ease forwards;
}
.toast-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, rgba(18, 130, 255, 0.9), rgba(75, 200, 255, 0.76));
    font-size: 1.15rem;
}
.toast-success .toast-icon {
    background: linear-gradient(135deg, rgba(20, 184, 122, 0.92), rgba(45, 212, 151, 0.72));
}
.toast-error .toast-icon {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.94), rgba(239, 92, 115, 0.8));
}
.toast-confirm .toast-icon {
    background: linear-gradient(135deg, rgba(255, 164, 27, 0.92), rgba(255, 209, 84, 0.76));
}
.toast-copy {
    color: #eff7ff;
    font-weight: 700;
    line-height: 1.5;
    font-size: 1.08rem;
}
.toast-actions {
    grid-column: 2;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.toast-close {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #dceeff;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}
.toast-close:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.04);
}
@keyframes toast-in {
    from {
        opacity: 0;
        transform: translate3d(0, -10px, 0) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}
@keyframes toast-out {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        opacity: 0;
        transform: translate3d(0, -8px, 0) scale(0.98);
    }
}

.panel-card,
.installer-card,
.auth-card,
.hero-box,
.empty-state,
.stat-card,
.article-card,
.media-card,
.admin-topbar {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.panel-card,
.installer-card,
.auth-card,
.hero-box,
.article-card,
.empty-state {
    padding: 22px;
}

.form-grid,
.form-stack,
.toolbar,
.station-grid {
    display: grid;
    gap: 12px;
}
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.narrow { grid-template-columns: 1fr; }
.form-grid label,
.form-stack label,
.toolbar-field {
    display: grid;
    gap: 8px;
}
.form-grid label span,
.form-stack label span,
.toolbar-field span {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 600;
}
.form-note {
    margin: -4px 0 0;
    color: var(--muted-dark);
    font-size: 0.92rem;
    line-height: 1.5;
}
body:not(.admin-shell) .form-note {
    color: var(--muted);
}
.form-grid input,
.form-grid textarea,
.form-grid select,
.form-stack input,
.form-stack textarea,
.form-stack select,
.toolbar input,
.toolbar select {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.form-grid textarea,
.form-stack textarea {
    min-height: 120px;
    resize: vertical;
}
.form-grid input[type="color"],
.form-stack input[type="color"],
.toolbar input[type="color"] {
    min-height: 42px;
    padding: 4px;
    border-radius: 12px;
    inline-size: 56px;
    block-size: 42px;
    overflow: hidden;
    cursor: pointer;
}
.form-grid input[type="color"]::-webkit-color-swatch-wrapper,
.form-stack input[type="color"]::-webkit-color-swatch-wrapper,
.toolbar input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}
.form-grid input[type="color"]::-webkit-color-swatch,
.form-stack input[type="color"]::-webkit-color-swatch,
.toolbar input[type="color"]::-webkit-color-swatch {
    border: 0;
    border-radius: 8px;
}
.form-grid input[type="range"],
.form-stack input[type="range"],
.toolbar input[type="range"] {
    min-height: 38px;
    padding: 0;
    box-shadow: none;
    background: transparent;
    accent-color: var(--primary);
}
.checkbox-line {
    display: flex !important;
    align-items: center;
    gap: 10px !important;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(74, 137, 220, 0.22);
    background: linear-gradient(180deg, #f7fbff 0%, #edf5fe 100%);
}
.checkbox-line span {
    color: #24415d !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
}
.range-with-value {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}
.range-with-value strong {
    color: #173652;
    font-size: 0.84rem;
    min-width: 40px;
    text-align: right;
}
.admin-content input[type="checkbox"],
.admin-content .table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--primary);
}
.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus,
.form-stack input:focus,
.form-stack textarea:focus,
.form-stack select:focus,
.toolbar input:focus,
.toolbar select:focus {
    border-color: rgba(75, 200, 255, 0.62);
    box-shadow: 0 0 0 4px rgba(18, 130, 255, 0.12);
    background: rgba(255, 255, 255, 0.1);
}
.form-grid input::placeholder,
.form-stack input::placeholder,
.form-grid textarea::placeholder,
.form-stack textarea::placeholder,
.toolbar input::placeholder {
    color: #91acd2;
}
.password-field {
    position: relative;
    display: block;
}
.password-field > input {
    padding-right: 48px;
}
.password-field__toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #5f7b98;
    cursor: pointer;
}
.password-field__toggle:hover {
    background: rgba(18, 130, 255, 0.08);
    color: #173652;
}
.form-grid select option,
.form-stack select option,
.toolbar select option {
    color: #0f2136;
}

.public-header {
    background:
        var(--header-overlay),
        var(--header-hero);
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(126, 165, 220, 0.14);
    backdrop-filter: blur(16px);
}
.public-topbar {
    border-bottom: 1px solid rgba(126, 165, 220, 0.12);
    background: rgba(5, 12, 21, 0.96);
}
.public-topbar__inner {
    min-height: 34px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    color: #b7d6fb;
    font-size: 0.84rem;
    white-space: nowrap;
}
.public-topbar__time {
    justify-self: start;
}
.public-topbar__social {
    justify-self: center;
}
.public-topbar__weather {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
    justify-self: end;
}
.social-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.social-links a {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #e6f3ff;
    transition: transform 0.18s ease, background 0.18s ease;
}
.social-links a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.16);
}
.weather-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.weather-top.weather-sun {
    color: #ffd25e;
}
.weather-top.weather-moon {
    color: #dbe8ff;
}
.weather-top.weather-cloud-sun {
    color: #ffe08a;
}
.weather-top.weather-cloud-moon {
    color: #cfdcff;
}
.weather-top.weather-cloud {
    color: #d4e3f7;
}
.weather-top.weather-rain,
.weather-top.weather-storm,
.weather-top.weather-snow,
.weather-top.weather-wind {
    color: #b6d5ff;
}
.public-brandbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
    min-height: 160px;
    padding-top: 12px;
    padding-bottom: 12px;
    width: min(94vw, 1720px);
    max-width: 94vw;
    margin-left: auto;
    margin-right: auto;
}
.brand-lockup {
    display: grid;
    align-content: end;
    gap: 12px;
    min-width: 0;
}
.brand-logo {
    display: flex;
    align-items: center;
    min-width: 0;
}
.public-menu-toggle {
    display: none;
}
.bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 63px;
}
.brand-logo img {
    width: min(100%, 354px);
    height: 143px;
    object-fit: contain;
    object-position: left center !important;
}
.brand-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0;
}
.brand-copy strong {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.brand-copy span {
    color: var(--muted);
    font-size: 0.82rem;
}
.public-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 40;
    border-top: 1px solid rgba(126, 165, 220, 0.12);
    background: var(--menu-bg, #050c15);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 24px rgba(5, 12, 21, 0.14);
}
.public-nav-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    width: min(94vw, 1720px);
    max-width: 94vw;
    margin-left: auto;
    margin-right: auto;
    min-height: 72px;
}
.public-nav-brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    width: auto;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-width 0.22s ease, opacity 0.18s ease;
}
.public-nav-brand img {
    display: block;
    width: auto;
    height: 48px;
    max-width: 220px;
    object-fit: contain;
    object-position: left center;
}
.public-nav-wrap.is-stuck .public-nav-brand {
    max-width: min(220px, 18vw);
    opacity: 1;
    pointer-events: auto;
}
.public-nav-wrap.is-stuck .public-nav-brand img {
    max-width: 100%;
}
.public-nav-tools {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    justify-content: flex-end;
}
.social-links--menu {
    margin-left: auto;
    flex: 0 0 auto;
}
.social-links--widgets,
.social-links--builder {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.site-layout__sidebar > .social-links--widgets {
    margin-bottom: 18px;
}
.builder-social-links {
    display: grid;
    gap: 12px;
}
.builder-social-links h3 {
    margin: 0;
}
.public-nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    min-width: 0;
}
.public-nav a {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 24px 0;
    color: var(--menu-text, #d6e7ff);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}
.public-nav a > * {
    position: relative;
    z-index: 1;
}
.public-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
    z-index: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}
.public-nav a:hover,
.public-nav a.is-active,
.public-nav-link:hover,
.public-nav-link.is-active {
    color: var(--menu-text, #ffffff);
}
.public-nav a:hover::after,
.public-nav a.is-active::after {
    transform: scaleX(1);
}
.header-search {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(500px, 100%);
    flex: 0 1 500px;
}
.header-search input {
    flex: 1;
    min-height: 48px;
    padding: 13px 16px;
    border-radius: 999px;
    border: 1px solid rgba(93, 146, 221, 0.26);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}
.public-footer {
    margin-top: 40px;
    border-top: 1px solid rgba(126, 165, 220, 0.12);
    background: rgba(5, 12, 21, 0.96);
}
.public-footer__inner {
    min-height: 78px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
}
.public-footer__inner strong {
    display: block;
}
.public-footer__inner span {
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-home { padding: 58px 0 28px; }
.home-cover {
    padding: 28px 0 8px;
}
.home-cover__hero {
    position: relative;
    min-height: 460px;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(115, 166, 232, 0.16);
    box-shadow: var(--shadow);
}
.home-cover__hero > img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
}
.home-cover__overlay {
    position: relative;
    z-index: 1;
    min-height: 460px;
    padding: 46px;
    display: grid;
    align-content: end;
    gap: 14px;
    background: linear-gradient(180deg, rgba(4, 11, 20, 0.06), rgba(4, 11, 20, 0.78));
}
.home-cover__overlay h1 {
    margin: 0;
    font-size: clamp(2.8rem, 5vw, 5rem);
}
.home-cover__overlay p {
    max-width: 720px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.55fr 0.95fr;
    gap: 26px;
    align-items: stretch;
}
.hero-box,
.post-card,
.article-card,
.empty-state {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    color: var(--card-text, var(--text-dark));
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9edcff;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.hero-home h1,
.article-card h1 {
    margin: 12px 0 14px;
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    line-height: 0.94;
    letter-spacing: -0.04em;
}
.hero-home p,
.article-lead {
    color: #d1def0;
    font-size: 1.06rem;
}
.list-section,
.article-wrap,
.narrow-block { padding: 28px 0 52px; }
.section-head h2,
.panel-card h2,
.article-card h2,
.auth-card h1,
.installer-card h1,
.dashboard-head h1 {
    margin-top: 0;
}

.post-grid,
.stats-grid,
.panel-grid,
.media-grid {
    display: grid;
    gap: 18px;
}
.post-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.post-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.post-card {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(115, 166, 232, 0.16);
    transition: transform 0.18s ease, border-color 0.18s ease;
}
.hero-cover {
    margin-bottom: 18px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(115, 166, 232, 0.16);
}
.hero-cover img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.post-card__media {
    display: block;
    margin: -20px -20px 16px;
    border-radius: 20px 20px 18px 18px;
    overflow: hidden;
    border-bottom: 1px solid rgba(115, 166, 232, 0.14);
}
.post-card__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.24s ease;
}
.post-card:hover {
    transform: translateY(-2px);
    border-color: rgba(75, 200, 255, 0.42);
}
.post-card:hover .post-card__media img {
    transform: scale(1.03);
}
.featured-list {
    display: grid;
    gap: 14px;
}
.featured-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(115, 166, 232, 0.12);
}
.featured-row:last-child {
    border-bottom: 0;
}
.featured-row__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
}
.featured-row__body {
    display: grid;
    gap: 6px;
}
.featured-row__body h3 {
    margin: 0;
}
.meta { color: var(--muted); font-size: 0.84rem; }

.installer-wrap,
.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}
.installer-card,
.auth-card {
    position: relative;
    overflow: hidden;
    background: rgba(10, 21, 36, 0.9);
}
.installer-card { width: min(980px, 100%); }
.auth-card { width: min(560px, 100%); }
.auth-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}
.auth-brand img {
    display: block;
    max-width: min(280px, 100%);
    max-height: 84px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.auth-brand--panel {
    justify-content: flex-start;
    margin-bottom: 20px;
}

.admin-shell {
    color: var(--text-dark);
    background:
        radial-gradient(circle at top left, rgba(98, 171, 255, 0.14), transparent 22%),
        linear-gradient(180deg, #dce9f7 0%, #edf4fb 100%);
    padding-top: 38px;
}
.admin-grid {
    min-height: calc(100vh - 38px);
    display: block;
}
.admin-sidebar {
    position: fixed;
    inset: 38px auto 0 0;
    width: 274px;
    height: calc(100vh - 38px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 14px;
    background:
        radial-gradient(circle at top, rgba(76, 167, 255, 0.18), transparent 30%),
        linear-gradient(180deg, #0d1e31 0%, #11263e 48%, #0d1b2e 100%);
    border-right: 1px solid rgba(112, 163, 232, 0.18);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.03);
    scrollbar-width: thin;
    scrollbar-color: rgba(81, 176, 255, 0.48) rgba(255, 255, 255, 0.05);
}
.admin-sidebar::-webkit-scrollbar { width: 10px; }
.admin-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}
.admin-sidebar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(18, 130, 255, 0.88), rgba(75, 200, 255, 0.52));
    border-radius: 999px;
    border: 2px solid rgba(13, 30, 49, 0.78);
}
.admin-brand {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}
.admin-brand__row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-brand__link {
    flex: 1;
    min-width: 0;
    display: block;
}
.admin-brand img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(111, 174, 255, 0.22);
    box-shadow: 0 12px 28px rgba(1, 8, 18, 0.32);
}
.admin-brand__full {
    max-width: 204px;
    flex: 1;
}
.admin-brand__icon {
    display: none;
    width: 56px;
    height: 56px;
    max-width: 56px;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 18px;
}
.admin-brand span {
    color: #d7e9ff;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
}
.sidebar-toggle--inside {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    justify-content: center;
    margin-bottom: 0;
}
.sidebar-toggle--inside,
.sidebar-toggle--inside i,
.sidebar-toggle--inside span {
    color: #d7e7fb;
}
.sidebar-toggle--inside span {
    display: none;
}
.admin-sidebar nav {
    display: grid;
    gap: 6px;
    padding-right: 2px;
}
.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 9px 11px;
    border-radius: 12px;
    color: #d7e7fb;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(132, 171, 224, 0.08);
}
.admin-sidebar nav a:hover,
.admin-sidebar nav a.is-active {
    color: #fff;
    background: linear-gradient(135deg, rgba(18, 130, 255, 0.22), rgba(75, 200, 255, 0.14));
    border-color: rgba(108, 184, 255, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.admin-grid.is-collapsed {
    grid-template-columns: 74px minmax(0, 1fr);
}
.admin-grid.is-collapsed .admin-brand span,
.admin-grid.is-collapsed .nav-label,
.admin-grid.is-collapsed .sidebar-toggle span {
    display: none;
}
.admin-grid.is-collapsed .admin-brand__row {
    justify-content: center;
}
.admin-grid.is-collapsed .admin-brand__full {
    display: none;
}
.admin-grid.is-collapsed .admin-brand__icon {
    display: block;
}
.admin-grid.is-collapsed .admin-sidebar nav a {
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
}
.admin-grid.is-collapsed .nav-icon {
    margin: 0;
}
.nav-icon {
    min-width: 28px;
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(46, 123, 220, 0.26));
    color: #cde8ff;
}
.admin-main {
    min-width: 0;
    width: calc(100vw - 274px);
    padding: 0 18px 18px;
    margin-left: 274px;
}
.admin-grid.is-collapsed .admin-sidebar {
    width: 74px;
}
.admin-grid.is-collapsed .admin-main {
    width: calc(100vw - 74px);
    margin-left: 74px;
}
.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    z-index: 40;
    min-height: 38px;
    padding: 0 10px;
    background: rgba(8, 20, 35, 0.98);
    border-bottom: 1px solid rgba(87, 143, 218, 0.18);
    box-shadow: 0 10px 28px rgba(5, 16, 30, 0.14);
    backdrop-filter: blur(10px);
    overflow: visible;
    border-radius: 0;
}
.admin-topbar__group {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    flex: 1 1 auto;
}
.admin-topbar__group--right {
    margin-left: auto;
    justify-content: flex-end;
}
.admin-topbar__home,
.admin-topbar__link,
.admin-topbar__dropdown > summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: #d9ebff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    transition: background 0.18s ease, color 0.18s ease;
}
.admin-topbar__home:hover,
.admin-topbar__link:hover,
.admin-topbar__dropdown > summary:hover,
.admin-topbar__dropdown[open] > summary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.admin-topbar__link {
    appearance: none;
}
.admin-topbar__dropdown {
    position: relative;
}
.admin-topbar__dropdown > summary::-webkit-details-marker {
    display: none;
}
.admin-topbar__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    display: grid;
    gap: 4px;
    padding: 8px;
    border-radius: 0;
    border: 1px solid rgba(87, 143, 218, 0.18);
    background: rgba(11, 24, 40, 0.98);
    box-shadow: 0 24px 54px rgba(4, 13, 24, 0.32);
}
.admin-topbar__dropdown--user .admin-topbar__menu {
    left: auto;
    right: 0;
}
.admin-topbar__menu a,
.admin-topbar__menu-copy {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 0;
    color: #d9ebff;
}
.admin-topbar__menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.admin-topbar__menu-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-height: auto;
    padding-top: 8px;
    padding-bottom: 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-topbar__menu-copy strong {
    color: #fff;
}
.admin-topbar__menu-copy span {
    color: #9fb9d7;
    font-size: 0.86rem;
    font-weight: 600;
}
.admin-topbar--frontend {
    z-index: 50;
}
.admin-topbar__link--static {
    cursor: default;
    pointer-events: none;
}
.site-shell--with-adminbar {
    padding-top: 38px;
}
.site-shell--with-adminbar .public-nav-wrap {
    top: 38px;
}
.admin-content .button-light,
.admin-topbar .button-light {
    color: #173652;
    background: linear-gradient(180deg, #f7fbff 0%, #eaf3fe 100%);
    border-color: rgba(74, 137, 220, 0.24);
}
.admin-content .button-light i,
.admin-topbar .button-light i,
.admin-content .button-light span,
.admin-topbar .button-light span {
    color: #173652;
}
.dashboard-head { margin-bottom: 18px; }
.dashboard-head p { font-size: 0.92rem; }
.dashboard-head p { color: var(--muted-dark); }
.dashboard-head-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.stats-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); margin-bottom: 16px; }
.stat-card {
    display: grid;
    gap: 6px;
    padding: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(239, 247, 255, 0.96) 100%);
    color: var(--text-dark);
    border-color: rgba(91, 149, 229, 0.18);
    box-shadow: var(--shadow-soft);
}
.stat-card strong {
    font-size: 1.55rem;
    line-height: 1;
}
.stat-card span {
    color: var(--muted-dark);
    font-weight: 600;
}
.panel-grid { grid-template-columns: 1.1fr 1fr; }
.admin-content .panel-card,
.admin-content .article-card,
.admin-content .media-card,
.admin-content .empty-state {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 249, 255, 0.98) 100%);
    color: var(--text-dark);
    border-color: rgba(79, 140, 220, 0.16);
    box-shadow: var(--shadow-soft);
}
.admin-content .panel-card p,
.admin-content .panel-card li,
.admin-content .panel-card span,
.admin-content .empty-state p,
.admin-content .empty-state span {
    color: var(--muted-dark);
}
.admin-content .form-grid input,
.admin-content .form-grid textarea,
.admin-content .form-grid select,
.admin-content .form-stack input,
.admin-content .form-stack textarea,
.admin-content .form-stack select,
.admin-content .toolbar input,
.admin-content .toolbar select {
    background: #eef5fd;
    color: #12304c;
    border-color: rgba(74, 137, 220, 0.44);
    box-shadow: 0 8px 20px rgba(69, 126, 214, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}
.admin-content .form-grid input::placeholder,
.admin-content .form-stack input::placeholder,
.admin-content .form-grid textarea::placeholder,
.admin-content .form-stack textarea::placeholder,
.admin-content .toolbar input::placeholder {
    color: #7996b6;
}
.admin-content input[type="file"] {
    padding: 12px;
    background: linear-gradient(180deg, #eef5fd 0%, #e3eefb 100%);
}
.upload-field input[type="file"] {
    min-height: 54px;
}
.admin-content input[type="file"]::file-selector-button {
    margin-right: 14px;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.admin-content input[type="file"]::-webkit-file-upload-button {
    margin-right: 14px;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.toolbar {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    align-items: end;
    margin-bottom: 14px;
}
.toolbar .button { min-width: 110px; }
.bulk-toolbar {
    align-items: end;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.bulk-toolbar label {
    display: grid;
    gap: 8px;
    min-width: 180px;
}
.plain-list { margin: 0; padding-left: 18px; }
.plain-list li { margin-bottom: 10px; }
.table {
    width: 100%;
    border-collapse: collapse;
}
.table th,
.table td {
    padding: 10px 9px;
    border-bottom: 1px solid rgba(76, 126, 194, 0.12);
    text-align: left;
    vertical-align: top;
}
.table th {
    color: #4a698a;
    font-size: 0.82rem;
    background: rgba(216, 232, 249, 0.58);
}
.table td { color: #20384f; }
.table tr:hover td { background: rgba(238, 246, 255, 0.82); }
.admin-content .table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.admin-content .table tbody,
.admin-content .table thead {
    white-space: normal;
}
.table-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}
.table-title-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.button-icon {
    min-width: 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
}
.button-icon i {
    margin: 0;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.inline-preview,
.plugin-card,
.radio-station-card {
    display: grid;
    gap: 12px;
}

.range-inline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.range-inline input[type="range"] {
    flex: 1;
}

.range-inline strong {
    min-width: 48px;
    text-align: right;
    font-size: 0.9rem;
}

.editor-layout--appearance {
    align-items: start;
}

.theme-preview-card {
    display: grid;
    gap: 14px;
}

.theme-template-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.theme-template-card {
    position: relative;
    display: block;
}

.theme-template-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.theme-template-card__surface {
    display: grid;
    gap: 6px;
    min-height: 118px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(74, 137, 220, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 255, 0.98) 100%);
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.theme-template-card__surface:hover {
    transform: translateY(-1px);
    border-color: rgba(18, 130, 255, 0.28);
    box-shadow: 0 16px 36px rgba(56, 108, 191, 0.12);
}

.theme-template-card__surface strong {
    color: #173652;
}

.theme-template-card__surface small {
    color: #6784a5;
}

.theme-template-card input:checked + .theme-template-card__surface {
    border-color: rgba(18, 130, 255, 0.38);
    box-shadow: 0 18px 40px rgba(56, 108, 191, 0.16);
}

.theme-preview-card__hero,
.theme-preview-card__surface {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(115, 166, 232, 0.18);
}

.theme-preview-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.theme-preview-card__hero strong,
.theme-preview-card__surface strong {
    font-size: 1rem;
}

.theme-preview-card__hero small,
.theme-preview-card__surface small {
    font-size: 0.88rem;
}

.theme-preview-card__line {
    width: 54px;
    height: 5px;
    border-radius: 999px;
}

.news-ticker {
    background: var(--ticker-bg, #091523);
    color: var(--ticker-text, #f5fbff);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.news-ticker__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
    min-height: 44px;
}

.news-ticker__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--ticker-accent, #1282ff);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.news-ticker__viewport {
    min-width: 0;
    overflow: hidden;
}

.news-ticker__track {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    min-width: max-content;
    padding-right: 28px;
    animation: ticker-slide var(--ticker-duration, 36s) linear infinite;
}

.news-ticker__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ticker-text, #f5fbff);
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.news-ticker__item::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--ticker-accent, #1282ff);
    flex: 0 0 auto;
}

.news-ticker__item:hover {
    opacity: 0.85;
}

@keyframes ticker-slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.radio-station-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, #edf6ff 0%, #e3effc 100%);
    border: 1px solid rgba(74, 137, 220, 0.2);
}
.radio-station-preview img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(74, 137, 220, 0.18);
    background: #fff;
    padding: 6px;
}
.radio-station-preview span {
    color: #35516e;
    font-weight: 700;
}
.inline-preview img {
    width: min(360px, 100%);
    max-height: 180px;
    object-fit: contain;
    background: #f3f8ff;
    border: 1px solid rgba(74, 137, 220, 0.16);
    border-radius: 18px;
    padding: 12px;
}
.inline-preview-small img {
    width: 96px;
    height: 96px;
}
.settings-media-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.station-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.builder-editor {
    display: grid;
    gap: 14px;
}
.builder-topbar,
.builder-stage,
.builder-sidebar {
    border-radius: 18px;
    border: 1px solid rgba(74, 137, 220, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 255, 0.98) 100%);
    box-shadow: var(--shadow-soft);
}
.builder-topbar {
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.builder-topbar strong,
.builder-library__intro strong,
.builder-stage__head strong,
.builder-sidebar__head strong {
    color: #173652;
}
.builder-topbar span,
.builder-library__intro span,
.builder-stage__head span,
.builder-sidebar__head span,
.builder-stage__hint span {
    color: #6784a5;
    font-size: 0.87rem;
}
.builder-topbar__meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.builder-sidebar-toggle {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
}
.builder-sidebar-toggle.is-active {
    background: #173652;
    color: #fff;
}
.builder-mode-switch {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}
.builder-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(19, 79, 143, 0.08);
    color: #174d81;
    font-weight: 700;
}
.builder-shell {
    display: grid;
    grid-template-columns: minmax(280px, 300px) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    transition: grid-template-columns 0.2s ease;
}
.builder-sidebar {
    padding: 12px;
    display: grid;
    gap: 12px;
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 32px);
    overflow: auto;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.builder-editor.is-sidebar-collapsed .builder-shell {
    grid-template-columns: 0 minmax(0, 1fr);
}
.builder-editor.is-sidebar-collapsed .builder-sidebar {
    opacity: 0;
    transform: translateX(-12px);
    pointer-events: none;
    overflow: hidden;
    padding: 0;
    border-width: 0;
}
.builder-sidebar__head {
    display: grid;
    gap: 8px;
}
.builder-sidebar__back {
    width: fit-content;
}
.builder-sidebar__tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}
.builder-sidebar__tab {
    min-height: 38px;
    border: 0;
    border-radius: 12px;
    background: rgba(74, 137, 220, 0.1);
    color: #54718d;
    font-weight: 800;
    cursor: pointer;
}
.builder-sidebar__tab.is-active {
    background: #173652;
    color: #fff;
}
.builder-sidebar__panel {
    display: grid;
    gap: 12px;
    min-height: 0;
}
.builder-sidebar__body {
    display: grid;
    gap: 12px;
}
.builder-sidebar__empty {
    min-height: 140px;
    border-radius: 18px;
    border: 1px dashed rgba(74, 137, 220, 0.22);
    display: grid;
    place-items: center;
    gap: 10px;
    text-align: center;
    color: #6482a2;
    background: rgba(255, 255, 255, 0.78);
}
.builder-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid rgba(74, 137, 220, 0.18);
    background: #fff;
}
.builder-search input {
    border: 0;
    background: transparent;
    width: 100%;
    outline: none;
}
.builder-library__filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.builder-filter {
    border: 0;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(74, 137, 220, 0.1);
    color: #54718d;
    font-weight: 700;
    cursor: pointer;
}
.builder-filter.is-active {
    background: linear-gradient(135deg, #1282ff, #42c4ff);
    color: #fff;
}
.builder-widget-list {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr);
}
.builder-widget--primary {
    background: linear-gradient(180deg, #f4f9ff 0%, #e8f2ff 100%);
    border-color: rgba(18, 130, 255, 0.28);
}
.builder-widget {
    border: 1px solid rgba(74, 137, 220, 0.15);
    border-radius: 14px;
    background: #fff;
    padding: 10px 12px;
    display: grid;
    gap: 4px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.builder-widget:hover {
    transform: translateY(-2px);
    border-color: rgba(18, 130, 255, 0.32);
    box-shadow: 0 16px 36px rgba(56, 108, 191, 0.14);
}
.builder-widget i {
    color: #0f73df;
    font-size: 1rem;
}
.builder-widget span {
    color: #173652;
    font-weight: 800;
    font-size: 0.9rem;
}
.builder-widget small {
    color: #6784a5;
    font-size: 0.78rem;
}
.builder-stage {
    padding: 14px;
    display: grid;
    gap: 10px;
    min-height: 620px;
}
.builder-toolbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(74, 137, 220, 0.1);
}
.builder-toolbar .button {
    min-height: 34px;
    padding: 0 11px;
    border-radius: 999px;
    box-shadow: none;
}
.builder-toolbar .button-light {
    background: rgba(255, 255, 255, 0.82);
}
.builder-toolbar .button span {
    font-size: 0.84rem;
}
.builder-inserter {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    margin: 2px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid rgba(74, 137, 220, 0.22);
    border-radius: 999px;
    background: #fff;
    color: #3f6692;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(35, 69, 116, 0.08);
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.builder-inserter:hover,
.builder-inserter.is-active {
    border-color: rgba(18, 130, 255, 0.52);
    background: rgba(18, 130, 255, 0.08);
    color: #0f62bf;
    transform: scale(1.04);
}
.builder-inserter i {
    font-size: 0.95rem;
}
.builder-inserter span {
    display: none;
}
.builder-stage__head,
.builder-sidebar__head {
    display: grid;
    gap: 6px;
}
.builder-stage__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}
.builder-stage__hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(74, 137, 220, 0.08);
    color: #3a6b9f;
    font-size: 0.82rem;
}
.builder-canvas-wrap {
    position: relative;
    min-height: 560px;
    border-radius: 16px;
    border: 1px solid rgba(74, 137, 220, 0.16);
    background: linear-gradient(180deg, #f3f6fa 0%, #edf2f7 100%);
    padding: 12px;
}
.builder-canvas-wrap::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 12px;
    background:
        linear-gradient(rgba(255,255,255,0.46), rgba(255,255,255,0.46)),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 27px,
            rgba(79, 124, 177, 0.04) 27px,
            rgba(79, 124, 177, 0.04) 28px
        );
    pointer-events: none;
}
.builder-canvas-empty {
    position: absolute;
    inset: 12px;
    border-radius: 16px;
    border: 1px dashed rgba(74, 137, 220, 0.2);
    display: grid;
    place-items: center;
    text-align: center;
    gap: 10px;
    color: #6482a2;
    background: rgba(255, 255, 255, 0.7);
}
.builder-empty-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.builder-canvas-empty i {
    font-size: 2rem;
    color: #1580f8;
}
.builder-canvas {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
}
.builder-canvas.is-drop-target,
.builder-column__canvas.is-drop-target {
    box-shadow: inset 0 0 0 2px rgba(18, 130, 255, 0.22);
}
.builder-settings {
    display: grid;
    gap: 16px;
}
.builder-repeater {
    display: grid;
    gap: 12px;
}
.builder-repeater__list {
    display: grid;
    gap: 12px;
}
.builder-repeater__item {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f7fbff 0%, #eef5fd 100%);
    border: 1px solid rgba(74, 137, 220, 0.14);
}
.builder-group {
    display: grid;
    gap: 12px;
    padding-top: 4px;
}
.builder-panel__settings-host {
    display: none;
}
.builder-editor--inline .builder-shell {
    grid-template-columns: 1fr;
}
.builder-editor--inline .builder-sidebar {
    display: none;
}
.builder-editor--inline .builder-stage {
    position: static;
    top: auto;
}
.builder-editor--inline .builder-stage {
    min-height: 0;
}
.builder-editor--inline .builder-canvas-wrap {
    min-height: 520px;
}
.builder-editor--inline .builder-panel__settings-host {
    display: block;
    margin-top: 14px;
}
.builder-editor--inline .builder-group[hidden] {
    display: none !important;
}
.builder-slug-preview {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(15, 115, 223, 0.07);
    border: 1px solid rgba(15, 115, 223, 0.12);
}
.builder-slug-preview strong {
    color: #173652;
}
.builder-slug-preview code {
    color: #0f73df;
    font-weight: 700;
}
.builder-media-field {
    display: grid;
    gap: 12px;
}
.builder-media-preview {
    min-height: 180px;
    border-radius: 20px;
    border: 1px dashed rgba(74, 137, 220, 0.28);
    background: linear-gradient(180deg, #f8fbff 0%, #eef5fd 100%);
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 14px;
    text-align: center;
}
.builder-media-preview img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
    border-radius: 16px;
}
.builder-media-preview code {
    color: #6180a3;
    word-break: break-all;
}
.editor-form {
    gap: 18px;
}
.editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
    align-items: start;
}
.page-editor-layout {
    grid-template-columns: minmax(0, 1fr);
}
.page-editor-side {
    order: -1;
}
.editor-main,
.editor-side {
    display: grid;
    gap: 18px;
}
.editor-box {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(74, 137, 220, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 255, 0.98) 100%);
}
.editor-box > strong {
    color: #173652;
}
.user-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.user-row__avatar {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(74, 137, 220, 0.16);
}
.menu-sort-list {
    display: grid;
    gap: 12px;
}
.menu-builder-form {
    gap: 14px;
}
.menu-workbench {
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}
.menu-workbench__sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 24px;
}
.menu-builder-card {
    display: grid;
    gap: 16px;
}
.menu-builder-card__head,
.menu-structure__head {
    display: grid;
    gap: 4px;
}
.menu-builder-card__head strong,
.menu-structure__head strong {
    color: #173652;
    font-size: 1rem;
}
.menu-builder-card__head span,
.menu-structure__head span {
    color: #6784a5;
    font-size: 0.92rem;
    line-height: 1.5;
}
.menu-workbench__content {
    display: grid;
    gap: 16px;
}
.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.widget-screen-intro {
    padding: 18px 22px;
}
.widget-screen-intro strong {
    display: block;
    margin-bottom: 6px;
}
.widget-screen-intro p {
    margin: 0;
    color: #56708e;
}
.widgets-admin {
    display: grid;
    gap: 18px;
}
.widget-zone {
    display: grid;
    gap: 14px;
    padding: 18px;
}
.widget-zone__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.widget-zone__head h2 {
    margin: 0 0 4px;
    font-size: 1.05rem;
}
.widget-zone__head p {
    margin: 0;
    color: #607996;
}
.widget-zone__position {
    display: grid;
    gap: 6px;
    min-width: 170px;
}
.widget-zone__position span,
.widget-zone__toolbar label span,
.widget-admin-item__field span {
    display: block;
    margin-bottom: 6px;
    color: #36506c;
    font-size: 0.9rem;
    font-weight: 700;
}
.widget-zone__toolbar {
    display: flex;
    align-items: end;
    gap: 12px;
}
.widget-zone__toolbar label {
    flex: 1 1 auto;
}
.widget-zone__list {
    display: grid;
    gap: 12px;
}
.widget-zone__empty {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 120px;
    border: 1px dashed rgba(74, 137, 220, 0.22);
    background: rgba(247, 250, 255, 0.8);
    color: #6d86a3;
    text-align: center;
}
.widget-zone__empty i {
    font-size: 1.35rem;
}
.widget-zone-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.widget-admin-item {
    border: 1px solid rgba(74, 137, 220, 0.18);
    background: #fff;
}
.widget-admin-item__head {
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 10px;
    background: rgba(247, 250, 255, 0.9);
}
.widget-admin-item__toggle {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}
.widget-admin-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(45, 104, 196, 0.1);
    color: #1f56a5;
}
.widget-admin-item__copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.widget-admin-item__copy strong,
.widget-admin-item__copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.widget-admin-item__copy small {
    color: #637d99;
}
.widget-admin-item__caret {
    color: #516a86;
}
.widget-admin-item.is-open .widget-admin-item__caret i {
    transform: rotate(180deg);
}
.widget-admin-item__actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.widget-admin-item__action {
    min-width: 40px;
    padding-inline: 0;
}
.widget-admin-item__body {
    padding: 14px;
    border-top: 1px solid rgba(74, 137, 220, 0.12);
}
.widget-admin-item__fields {
    display: grid;
    gap: 12px;
}
.widget-admin-item__field {
    display: grid;
}
.widget-admin-item__field input,
.widget-admin-item__field select,
.widget-admin-item__field textarea,
.widget-zone__toolbar select,
.widget-zone__position select {
    width: 100%;
}
.widget-media-field {
    display: grid;
    gap: 10px;
}
.widget-media-preview {
    min-height: 160px;
}
.widget-media-preview img,
.widget-media-preview video {
    width: 100%;
    max-width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
}
.widget-media-preview__audio {
    min-height: 160px;
    display: grid;
    place-items: center;
    gap: 10px;
    text-align: center;
    color: #34506d;
}
.widget-media-preview__audio i {
    font-size: 2rem;
    color: #1f56a5;
}
.builder-media-card--widget video {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 16px;
}
.builder-media-card__icon {
    width: 100%;
    min-height: 150px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(237, 245, 253, 0.98));
    color: #1f56a5;
    font-size: 2rem;
}
@media (max-width: 1200px) {
    .widget-zone-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .widget-zone__head,
    .widget-zone__toolbar,
    .widget-admin-item__head {
        display: grid;
        grid-template-columns: 1fr;
    }
    .widget-zone__position {
        min-width: 0;
    }
    .widget-admin-item__actions {
        justify-content: flex-end;
    }
}
.site-layout {
    display: grid;
    width: min(90vw, 1600px);
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: minmax(0, var(--site-main-width, 70%)) minmax(220px, var(--site-sidebar-width, 30%));
    gap: 24px;
    align-items: start;
    padding-top: 22px;
    padding-bottom: 22px;
}
.site-layout--full {
    grid-template-columns: minmax(0, 1fr);
}
.site-layout--sidebar-left {
    grid-template-columns: minmax(220px, var(--site-sidebar-width, 30%)) minmax(0, var(--site-main-width, 70%));
}
.site-layout__main,
.site-layout__sidebar {
    min-width: 0;
}
.site-layout__main {
    overflow: visible;
}
.site-layout__main > .container,
.site-layout__main .container,
.site-layout__sidebar > .container,
.site-layout__sidebar .container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}
.site-layout__sidebar {
    position: relative;
    z-index: 0;
    padding-top: 22px;
}
.site-layout__sidebar .builder-layout {
    gap: 16px;
}
.site-layout__sidebar .builder-block {
    margin: 0;
}
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    padding-top: 28px;
    padding-bottom: 8px;
}
.footer-widgets__area {
    min-width: 0;
}
.footer-widgets__area .builder-layout {
    gap: 14px;
}
.footer-widgets__area .builder-block {
    margin: 0;
}
.form-grid__full {
    grid-column: 1 / -1;
}
.menu-sort-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(74, 137, 220, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 255, 0.98) 100%);
}
.menu-sort-item.is-dragging {
    opacity: 0.55;
}
.menu-sort-item__main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}
.menu-sort-item__level {
    display: flex;
    gap: 6px;
    align-items: center;
}
.menu-sort-item__level .button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}
.menu-sort-item__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.menu-sort-item__copy span {
    color: #6784a5;
    font-size: 0.92rem;
    word-break: break-word;
}
.menu-sort-item--child {
    margin-left: 36px;
}
.menu-icon-picker {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(74, 137, 220, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 255, 0.98) 100%);
}
.menu-icon-picker__head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: end;
}
.menu-icon-picker__head span {
    display: block;
    color: #173652;
    font-weight: 700;
}
.menu-icon-picker__head p {
    margin: 4px 0 0;
    color: #6784a5;
    font-size: 0.92rem;
}
.menu-icon-picker__search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid rgba(74, 137, 220, 0.18);
    background: #eef5fd;
}
.menu-icon-picker__search input {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.menu-icon-picker__selected {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    width: fit-content;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(18, 130, 255, 0.08);
    color: #173652;
    font-weight: 700;
}
.menu-icon-picker__dropdown {
    display: grid;
    gap: 10px;
}
.menu-icon-picker__dropdown summary {
    list-style: none;
    cursor: pointer;
}
.menu-icon-picker__dropdown summary::-webkit-details-marker {
    display: none;
}
.menu-icon-picker__panel {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(74, 137, 220, 0.16);
    background: rgba(255, 255, 255, 0.72);
}
.menu-icon-picker__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    align-items: start;
}
.menu-icon-option {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 48px;
    padding: 12px;
    border: 1px solid rgba(74, 137, 220, 0.16);
    border-radius: 14px;
    background: #fff;
    color: #173652;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.menu-icon-option:hover,
.menu-icon-option.is-active {
    transform: translateY(-1px);
    border-color: rgba(18, 130, 255, 0.34);
    background: rgba(18, 130, 255, 0.08);
    box-shadow: 0 12px 24px rgba(25, 61, 109, 0.08);
}
.menu-icon-option span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.public-nav-item {
    position: relative;
}
.public-nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.public-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    color: inherit;
    line-height: 1;
    text-decoration: none;
}
.public-nav-link--button {
    padding: 24px 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    color: var(--menu-text, #d6e7ff);
    text-decoration: none;
    cursor: pointer;
}
.public-nav-link > * {
    position: relative;
    z-index: 1;
}
.public-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
    z-index: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}
.public-nav-link:hover::after,
.public-nav-item.is-open .public-nav-link::after {
    transform: scaleX(1);
}
.public-nav-item--has-children {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 8px;
}
.public-subnav-toggle {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--menu-text, #d6e7ff);
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}
.public-subnav-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
}
.public-nav-item.is-open .public-subnav-toggle {
    transform: rotate(180deg);
}
.public-subnav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    padding: 10px;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    border-radius: 18px;
    border: 1px solid rgba(115, 166, 232, 0.18);
    background: var(--menu-bg, #050c15);
    box-shadow: 0 20px 40px rgba(4, 14, 28, 0.24);
    z-index: 30;
}
.public-subnav a {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    min-height: 40px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--menu-text, #d6e7ff);
}
.public-subnav a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}
.public-subnav a:hover {
    background: rgba(255, 255, 255, 0.08);
}
.public-subnav a:hover::after {
    transform: scaleX(1);
}
.public-nav-item.is-open .public-subnav {
    display: grid;
}
.public-footer__menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
}
.public-footer__menu a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    opacity: 0.9;
}
.public-footer__menu a:hover {
    opacity: 1;
}
.news-classic {
    display: grid;
    gap: 0;
    border: 1px solid rgba(74, 137, 220, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.98));
}
.news-classic__tabs {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid rgba(74, 137, 220, 0.16);
    background: #edf4fc;
}
.news-classic__tab {
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-right: 1px solid rgba(74, 137, 220, 0.12);
    background: transparent;
    color: #36506c;
    font-weight: 700;
    cursor: pointer;
}
.news-classic__tab.is-active {
    background: #fff;
    color: #173652;
}
.news-classic__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid rgba(74, 137, 220, 0.16);
    background: linear-gradient(180deg, #f9fbff 0%, #f1f6fd 100%);
}
.news-classic__tool {
    min-width: 40px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 10px;
}
.news-classic__tool span {
    font-weight: 800;
}
.news-classic__body {
    display: grid;
}
.news-classic__visual,
.news-classic__html {
    min-height: 560px;
    padding: 18px;
    border: 0;
    background: #fff;
    color: #173652;
}
.news-classic__visual {
    outline: none;
    line-height: 1.7;
}
.news-classic__visual:empty::before {
    content: "Escribi la noticia aqui...";
    color: #8aa1bc;
}
.news-classic__visual h2,
.news-classic__visual h3,
.news-classic__visual p,
.news-classic__visual blockquote {
    margin-top: 0;
}
.news-classic__visual figure,
.news-classic__visual .news-embed,
.news-classic__visual video,
.news-classic__visual audio,
.news-classic__visual hr {
    max-width: 100%;
}
.news-classic__visual figure {
    display: grid;
    gap: 8px;
    margin: 18px 0;
}
.news-classic__visual figcaption {
    color: #5f7b98;
    font-size: 0.92rem;
}
.news-html-modal__toolbar {
    display: block;
}
.news-html-modal__textarea {
    width: 100%;
    min-height: 260px;
    padding: 14px 16px;
    border: 1px solid rgba(74, 137, 220, 0.16);
    background: #fff;
    color: #173652;
    resize: vertical;
    font-family: Consolas, "Courier New", monospace;
    line-height: 1.65;
}
.news-editor-textarea {
    min-height: 560px;
    resize: vertical;
    font-family: Consolas, "Courier New", monospace;
    line-height: 1.65;
}
.editor-category-list {
    display: grid;
    gap: 8px;
}
.editor-category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(74, 137, 220, 0.16);
    background: rgba(247, 250, 255, 0.85);
}
.editor-category-item span {
    color: #24415d;
    font-weight: 700;
}
[data-news-scheduled-field][hidden] {
    display: none !important;
}
.editor-side {
    position: sticky;
    top: 24px;
}
.builder-media-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    background: rgba(4, 13, 24, 0.6);
    backdrop-filter: blur(10px);
    padding: 24px;
}
.builder-media-modal__dialog {
    width: min(1120px, 100%);
    max-height: calc(100vh - 48px);
    margin: 0 auto;
    background: linear-gradient(180deg, #f9fcff 0%, #eef5fd 100%);
    border-radius: 28px;
    border: 1px solid rgba(74, 137, 220, 0.22);
    box-shadow: 0 24px 90px rgba(4, 14, 28, 0.28);
    display: grid;
    grid-template-rows: auto auto 1fr;
    overflow: hidden;
}
.builder-media-modal__head,
.builder-media-modal__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(74, 137, 220, 0.14);
}
.builder-media-modal__head span {
    color: #6784a5;
}
.builder-media-modal__toolbar input[type="search"] {
    flex: 1;
}
.builder-media-modal__dialog.is-dragover {
    outline: 2px dashed rgba(18, 130, 255, 0.48);
    outline-offset: -14px;
    box-shadow: 0 30px 100px rgba(4, 14, 28, 0.34), inset 0 0 0 999px rgba(18, 130, 255, 0.05);
}
.builder-upload-button {
    position: relative;
    overflow: hidden;
}
.builder-media-modal__grid {
    padding: 20px;
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.builder-media-card {
    border: 1px solid rgba(74, 137, 220, 0.16);
    border-radius: 22px;
    background: #fff;
    padding: 12px;
    display: grid;
    gap: 10px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.builder-media-card:hover {
    transform: translateY(-2px);
    border-color: rgba(18, 130, 255, 0.34);
    box-shadow: 0 16px 36px rgba(56, 108, 191, 0.14);
}
.builder-media-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 16px;
}
.builder-media-card strong {
    color: #173652;
}
.builder-panel {
    background: #f5f7fb;
    border: 1px solid rgba(74, 137, 220, 0.08);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
    cursor: pointer;
    box-shadow: none;
    position: relative;
    padding: 8px;
}
.builder-panel:hover {
    border-color: rgba(74, 137, 220, 0.34);
}
.builder-panel::before {
    display: none;
    content: "";
}
.builder-columns-panel::before {
    content: "Row";
    display: none;
}
.builder-block-toolbar {
    min-height: 34px;
    margin-bottom: 6px;
    padding: 4px 5px 4px 7px;
    border: 0;
    border-radius: 8px;
    background: #5b6676;
    color: #fff;
}
.builder-block-toolbar__title,
.builder-panel .table-actions strong {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
}
.builder-panel .table-actions .button {
    min-width: 28px;
    width: 28px;
    min-height: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
}
.builder-panel .table-actions .button i,
.builder-panel .table-actions .button span {
    color: #fff;
}
.builder-panel .table-actions .button span {
    display: none;
}
.builder-panel .table-actions .button:hover {
    background: rgba(255, 255, 255, 0.12);
}
.builder-panel__toolbar--row {
    background: #49c5b6;
    color: #fff;
}
.builder-panel__toolbar--row .builder-row-toolbar__meta strong,
.builder-panel__toolbar--row .builder-row-toolbar__meta small,
.builder-panel__toolbar--row .builder-row-toolbar__eyebrow,
.builder-panel__toolbar--row .builder-row-toolbar__badge,
.builder-panel__toolbar--row .button i {
    color: #fff;
}
.builder-panel__toolbar--row .builder-row-toolbar__eyebrow,
.builder-panel__toolbar--row .builder-row-toolbar__badge {
    background: rgba(255, 255, 255, 0.18);
}
.builder-panel__toolbar--row {
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding-right: 6px;
}
.builder-row-toolbar__meta,
.builder-row-toolbar__actions {
    display: grid;
    gap: 6px;
}
.builder-row-toolbar__eyebrow,
.builder-column__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    width: fit-content;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(18, 130, 255, 0.1);
    color: #1d5d96;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.builder-row-toolbar__meta strong {
    color: #163551;
}
.builder-row-toolbar__meta small,
.builder-column__meta small {
    color: #6883a1;
}
.builder-row-toolbar__actions {
    justify-items: end;
}
.builder-row-toolbar__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    width: fit-content;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 115, 223, 0.08);
    color: #295c8d;
    font-size: 0.8rem;
    font-weight: 800;
}
.builder-settings-modal {
    position: fixed;
    inset: 0;
    z-index: 135;
    background: rgba(4, 13, 24, 0.64);
    backdrop-filter: blur(10px);
    padding: 24px;
}
.builder-settings-modal__dialog {
    width: min(920px, 100%);
    max-height: calc(100vh - 48px);
    margin: 0 auto;
    background: linear-gradient(180deg, #f9fcff 0%, #eef5fd 100%);
    border-radius: 28px;
    border: 1px solid rgba(74, 137, 220, 0.22);
    box-shadow: 0 24px 90px rgba(4, 14, 28, 0.28);
    display: grid;
    grid-template-rows: auto auto 1fr;
    overflow: hidden;
}
.builder-settings-modal__head,
.builder-settings-modal__tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(74, 137, 220, 0.14);
}
.builder-settings-modal__head span {
    color: #6784a5;
}
.builder-settings-modal__tabs {
    justify-content: flex-start;
    flex-wrap: wrap;
}
.builder-settings-modal__tab {
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: rgba(74, 137, 220, 0.1);
    color: #54718d;
    font-weight: 800;
    cursor: pointer;
}
.builder-settings-modal__tab.is-active {
    background: #173652;
    color: #fff;
}
.builder-settings-modal__body {
    overflow: auto;
    padding: 22px;
    display: grid;
    gap: 16px;
}
.builder-settings-modal__body .builder-settings {
    gap: 18px;
}
.builder-settings-modal__body .builder-group {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(74, 137, 220, 0.14);
}
.builder-panel.is-selected {
    border-color: rgba(18, 130, 255, 0.54);
    background: #eef4fb;
    box-shadow: 0 0 0 2px rgba(18, 130, 255, 0.12);
}
.builder-panel.is-drop-target {
    position: relative;
}
.builder-panel.is-drop-before::before,
.builder-panel.is-drop-after::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2f80ed, #56ccf2);
    box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.14);
}
.builder-panel.is-drop-before::before {
    top: -10px;
    display: block;
}
.builder-panel.is-drop-after::after {
    bottom: -10px;
    display: block;
}
.builder-panel.is-dragging {
    opacity: 0.68;
    transform: scale(0.99);
    box-shadow: 0 12px 24px rgba(56, 108, 191, 0.12);
}
.builder-panel__summary {
    color: #5f7d9d;
    font-size: 0.8rem;
    line-height: 1.35;
    padding: 0 2px;
}
.builder-live-preview {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(74, 137, 220, 0.08);
    background: #fff;
    display: grid;
    gap: 8px;
    color: #27425f;
}
.builder-live-preview img {
    max-width: 100%;
    max-height: 140px;
    object-fit: cover;
    border-radius: 12px;
}
.builder-live-preview p,
.builder-live-preview blockquote,
.builder-live-preview ul,
.builder-live-preview hr {
    margin: 0;
}
.builder-live-preview ul {
    padding-left: 18px;
}
.builder-live-preview code {
    display: block;
    word-break: break-word;
    color: #35516e;
}
.builder-live-preview__heading {
    font-size: 1.08rem;
    color: #173652;
}
.builder-live-preview__button,
.builder-live-preview__chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    width: fit-content;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 115, 223, 0.1);
    color: #0f73df;
    font-weight: 800;
    margin-right: 8px;
}
.builder-live-preview__media,
.builder-live-preview__columns {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.builder-live-preview__gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.builder-live-preview__spacer {
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(15, 115, 223, 0.12), rgba(56, 189, 248, 0.2));
}
.builder-panel .table-actions {
    padding-bottom: 5px;
    margin-bottom: 8px;
    border-bottom: 0;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
    padding-right: 6px;
    gap: 6px;
}
.builder-index {
    min-width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-weight: 800;
    font-size: 0.72rem;
}
.builder-live-preview__stack {
    display: grid;
    gap: 10px;
}
.builder-live-preview__tab-card,
.builder-live-preview__accordion-card {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(74, 137, 220, 0.18);
    background: rgba(255, 255, 255, 0.92);
}
.builder-live-preview__tab-card.is-active {
    border-color: rgba(18, 130, 255, 0.34);
    box-shadow: inset 0 0 0 1px rgba(18, 130, 255, 0.14);
}
.builder-live-preview__tab-card strong,
.builder-live-preview__accordion-card strong {
    color: #173652;
}
.builder-live-preview__tab-card small,
.builder-live-preview__accordion-card small {
    color: #6784a5;
}
.builder-mini {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 0.78rem;
}
.builder-mini[data-builder-drag] {
    cursor: grab;
    border-style: dashed;
}
.builder-mini[data-builder-drag]:active {
    cursor: grabbing;
}
.builder-media-empty {
    grid-column: 1 / -1;
    min-height: 220px;
    border-radius: 22px;
    border: 1px dashed rgba(74, 137, 220, 0.22);
    display: grid;
    place-items: center;
    gap: 8px;
    text-align: center;
    color: #6482a2;
    background: rgba(255, 255, 255, 0.72);
}
.builder-heading h2,
.builder-heading h3,
.builder-heading h4 {
    margin: 0;
    line-height: 1.18;
    padding-bottom: 0.08em;
    overflow: visible;
}
.builder-quote {
    padding: 22px;
    border-left: 4px solid rgba(18, 130, 255, 0.5);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    color: #dfeeff;
    font-size: 1.08rem;
}
.builder-alert {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    border-radius: 20px;
    color: #f4f9ff;
}
.builder-alert-info {
    background: linear-gradient(135deg, rgba(19, 90, 177, 0.9), rgba(58, 144, 255, 0.76));
}
.builder-alert-success {
    background: linear-gradient(135deg, rgba(17, 120, 77, 0.92), rgba(45, 212, 151, 0.72));
}
.builder-alert-warning {
    background: linear-gradient(135deg, rgba(172, 102, 16, 0.92), rgba(243, 179, 61, 0.76));
}
.builder-accordion,
.builder-tabs {
    display: grid;
    gap: 12px;
}
.builder-accordion__item,
.builder-tabs__item {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(118, 166, 228, 0.14);
}
.builder-accordion__item summary {
    cursor: pointer;
    font-weight: 700;
}
.builder-tabs__item strong {
    display: block;
    margin-bottom: 8px;
}
.builder-icon-list ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.builder-icon-list li {
    display: flex;
    gap: 10px;
    align-items: center;
}
.builder-icon-list i {
    color: #63c9ff;
}
.builder-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(115, 166, 232, 0.52), transparent);
    margin: 10px 0;
}
.builder-spacer {
    background: transparent;
}
.builder-button a {
    display: inline-flex;
}
.builder-media {
    display: grid;
    gap: 10px;
}
.builder-media__frame {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 22px;
    background: transparent;
    display: grid;
    place-items: center;
    padding: 12px;
}
.builder-media__caption {
    color: #aac7e7;
    font-size: 0.92rem;
}
.builder-media--fit-contain img,
.builder-media--fit-contain video {
    object-fit: contain;
}
.builder-media--fit-cover img,
.builder-media--fit-cover video {
    object-fit: cover;
}
.builder-image img,
.builder-video__embed iframe,
.builder-video__embed video {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    border: 0;
    background: #05101b;
    object-position: var(--builder-media-position, center center);
}
.builder-image .builder-media__frame img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    justify-self: stretch;
    align-self: center;
}
.builder-news {
    display: grid;
    gap: 16px;
}
.builder-news__head h3 {
    margin: 0;
}
.builder-news__track {
    display: grid;
    gap: 16px;
}
.builder-news-grid .builder-news__track {
    grid-template-columns: repeat(var(--builder-news-columns, 4), minmax(0, 1fr));
}
.builder-news-grid--editorial .builder-news__track {
    grid-template-columns: 1.35fr 1fr 1fr;
}
.builder-news-grid--editorial .builder-news-card:first-child {
    grid-row: span 2;
}
.builder-news-grid--compact .builder-news__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.builder-news-grid--compact .builder-news-card {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
}
.builder-news-grid--minimal .builder-news__track {
    gap: 8px;
}
.builder-news-grid--minimal .builder-news-card {
    background: transparent;
    border-color: rgba(115, 166, 232, 0.08);
    box-shadow: none;
}
.builder-news-grid--minimal .builder-news-card__body {
    padding: 12px 0 0;
}
.builder-news-grid--magazine .builder-news__track {
    grid-template-columns: 1.45fr 1fr;
    gap: 18px;
}
.builder-news-grid--magazine .builder-news-card:first-child {
    grid-row: span 2;
    min-height: 100%;
}
.builder-news__viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
    border-radius: 22px;
    background: rgba(7, 18, 32, 0.92);
}
.builder-news-carousel .builder-news__track {
    position: relative;
    min-height: 540px;
}
.builder-news-carousel .builder-news-card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.42s ease;
}
.builder-news-carousel .builder-news-card.is-active {
    opacity: 1;
    pointer-events: auto;
}
.builder-news-card--hero {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
}
.builder-news-carousel--poster .builder-news-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 18, 32, 0.08), rgba(7, 18, 32, 0.92));
}
.builder-news-carousel--poster .builder-news-card__body {
    max-width: 620px;
    left: 24px;
    right: auto;
    bottom: 24px;
    background: linear-gradient(180deg, rgba(8, 20, 35, 0.22), rgba(8, 20, 35, 0.82));
    backdrop-filter: blur(6px);
}
.builder-news-carousel--clean .builder-news__viewport {
    background: rgba(245, 248, 252, 0.92);
}
.builder-news-carousel--clean .builder-news-card {
    border-color: rgba(115, 166, 232, 0.1);
    background: #fff;
}
.builder-news-carousel--clean .builder-news-card__body {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(7, 18, 32, 0.72));
}
.builder-news-carousel--cards .builder-news-card__body {
    max-width: 460px;
    left: 20px;
    right: auto;
    bottom: 20px;
}
.builder-news-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(115, 166, 232, 0.14);
}
.builder-news-carousel .builder-news-card__image {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: rgba(7, 18, 32, 0.96);
}
.builder-news-card__image-blur {
    position: absolute;
    inset: -24px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(18px);
    transform: scale(1.08);
    opacity: 0.65;
}
.builder-news-carousel .builder-news-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 14, 26, 0.12), rgba(6, 14, 26, 0.22));
    pointer-events: none;
}
.builder-news-card__image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    object-position: center center;
}
.builder-news-carousel .builder-news-card__image img {
    position: relative;
    z-index: 1;
    display: block;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    max-width: calc(100% - 28px);
    max-height: calc(100% - 28px);
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center center;
}
.builder-news-card__body {
    padding: 14px;
    display: grid;
    gap: 6px;
}
.builder-news-card__body h4 {
    margin: 0;
    line-height: 1.22;
}
.builder-news-card__body p {
    display: none;
}
.builder-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) 320px;
    gap: 20px;
    align-items: start;
}
.builder-sidebar-left {
    grid-template-columns: 320px minmax(0, 1.6fr);
}
.builder-sidebar-left .builder-sidebar__aside {
    order: -1;
}
.builder-sidebar__main,
.builder-sidebar__aside {
    display: grid;
    gap: 14px;
}
.builder-widget-card,
.builder-widget-search {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(115, 166, 232, 0.14);
}
.builder-widget-card strong {
    display: block;
    margin-bottom: 6px;
}
.builder-widget-search {
    display: grid;
    gap: 10px;
}
.theme-preset-grid {
    display: grid;
    gap: 12px;
}
.theme-preset-grid > span {
    color: var(--muted-dark);
    font-weight: 700;
}
.day-picker {
    display: grid;
    gap: 12px;
}
.day-picker > span {
    color: var(--muted-dark);
    font-weight: 700;
}
.day-picker__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.day-pill {
    position: relative;
    display: block;
}
.day-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.day-pill span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(74, 137, 220, 0.28);
    background: linear-gradient(180deg, #f5faff 0%, #eaf3fe 100%);
    color: #24415d;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(72, 128, 210, 0.08);
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.day-pill input:checked + span {
    color: #fff;
    border-color: rgba(18, 130, 255, 0.5);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
}
.day-pill span:hover {
    transform: translateY(-1px);
}
.theme-preset-card {
    display: block;
}
.theme-preset-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.theme-preset-card__surface {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(74, 137, 220, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 255, 0.98) 100%);
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.theme-preset-card__surface:hover {
    transform: translateY(-2px);
    border-color: rgba(18, 130, 255, 0.28);
    box-shadow: 0 16px 36px rgba(56, 108, 191, 0.14);
}
.theme-preset-card__swatches {
    display: flex;
    gap: 8px;
}
.theme-preset-card__swatches i {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    display: block;
    border: 1px solid rgba(16, 32, 52, 0.08);
}
.theme-preset-card__surface strong {
    color: #173652;
}
.theme-preset-card__surface small {
    color: #6784a5;
}
.theme-preset-card input:checked + .theme-preset-card__surface {
    border-color: rgba(18, 130, 255, 0.38);
    box-shadow: 0 20px 44px rgba(56, 108, 191, 0.16);
}
.currency-widget {
    display: grid;
    gap: 20px;
    padding: 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(95, 211, 255, 0.18), transparent 28%),
        linear-gradient(145deg, rgba(7, 26, 48, 0.98), rgba(13, 39, 72, 0.96) 54%, rgba(8, 28, 54, 0.98));
    border: 1px solid rgba(121, 194, 255, 0.16);
    box-shadow: 0 24px 56px rgba(4, 16, 32, 0.28);
}
.currency-widget__head {
    display: flex;
    align-items: center;
    gap: 16px;
}
.currency-widget__art {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(25, 141, 255, 0.34), rgba(82, 214, 255, 0.24));
    color: #b3efff;
    font-size: 1.35rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.currency-widget__title {
    display: grid;
    gap: 4px;
}
.currency-widget__title strong {
    color: #f5fbff;
    font-size: 1.08rem;
    letter-spacing: 0.01em;
}
.currency-widget__title span,
.currency-widget__base {
    color: #9ebedf;
    font-size: 0.92rem;
}
.currency-widget__base {
    margin-left: auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(136, 196, 255, 0.1);
}
.wa-widget {
    position: fixed;
    bottom: 18px;
    z-index: 75;
    width: min(360px, calc(100vw - 28px));
}
.wa-widget--left {
    left: 18px;
}
.wa-widget--right {
    right: 18px;
}
.wa-widget__button {
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 999px;
    background: var(--wa-button);
    color: #fff;
    display: inline-grid;
    place-items: center;
    font-size: 2rem;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
    cursor: pointer;
}
.wa-widget--right .wa-widget__button {
    margin-left: auto;
}
.wa-widget__panel {
    margin-top: 12px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
    background: #ffffff;
}
.wa-widget__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: var(--wa-header);
    position: relative;
    z-index: 1;
}
.wa-widget__header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 4px;
    background: var(--wa-header);
}
.wa-widget__identity {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.wa-widget__identity img {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    object-fit: cover;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.92);
}
.wa-widget__identity strong,
.wa-widget__identity span {
    display: block;
    color: #fff;
    line-height: 1.15;
}
.wa-widget__identity strong {
    font-size: 0.95rem;
}
.wa-widget__identity span {
    font-size: 0.76rem;
    color: #e4fff0;
}
.wa-widget__close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
}
.wa-widget__body {
    padding: 14px;
    min-height: 170px;
    background-image: var(--wa-background);
    background-size: cover;
    background-position: center;
    position: relative;
}
.wa-widget__bubble {
    position: relative;
    max-width: 85%;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--wa-bubble);
    color: #173652;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
    line-height: 1.45;
}
.wa-widget__bubble::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: -8px;
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: var(--wa-bubble) transparent transparent;
}
.wa-widget__footer {
    display: grid;
    grid-template-columns: 1fr 52px;
    grid-auto-rows: 52px;
    align-items: stretch;
    background: #ffffff;
    position: relative;
    z-index: 1;
    min-height: 52px;
    height: 52px;
}
.wa-widget__footer input {
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    line-height: 52px;
    border: 0;
    background: #ffffff;
    padding: 0 14px;
    margin: 0;
    color: #173652;
    outline: none;
    box-sizing: border-box;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    align-self: stretch;
    display: block;
    font-size: 14px;
}
.wa-widget__footer button {
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    line-height: 52px;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--wa-button);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: none;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    align-self: stretch;
}
.wa-send-triangle {
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 12px solid #fff;
    margin-left: 2px;
}
.whatsapp-media-picker img[style*="hidden"] {
    min-height: 120px;
    background: linear-gradient(180deg, #eef5fd 0%, #e6f0fb 100%);
}
.maintenance-page {
    min-height: 100vh;
    margin: 0;
    color: var(--maintenance-text);
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--maintenance-accent) 18%, transparent), transparent 32%),
        linear-gradient(145deg, var(--maintenance-bg-start), var(--maintenance-bg-end));
}
.maintenance-shell {
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    padding: 32px 18px 18px;
    gap: 18px;
}
.maintenance-main {
    display: flex;
    align-items: center;
    justify-content: center;
}
.maintenance-card {
    width: min(100%, 920px);
    padding: 32px;
    border-radius: 28px;
    background: color-mix(in srgb, var(--maintenance-card) 88%, transparent);
    border: 1px solid color-mix(in srgb, var(--maintenance-accent) 24%, transparent);
    box-shadow: 0 24px 70px rgba(3, 10, 18, 0.34);
    backdrop-filter: blur(16px);
    display: grid;
    gap: 24px;
}
.maintenance-brand {
    display: flex;
    justify-content: center;
}
.maintenance-brand img {
    max-width: min(280px, 70vw);
    max-height: 110px;
    object-fit: contain;
}
.maintenance-copy {
    display: grid;
    gap: 12px;
    text-align: center;
}
.maintenance-copy h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--maintenance-text);
}
.maintenance-copy p {
    margin: 0 auto;
    max-width: 62ch;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
    color: color-mix(in srgb, var(--maintenance-text) 86%, transparent);
}
.maintenance-actions {
    display: flex;
    justify-content: center;
}
.maintenance-button {
    min-width: 220px;
}
.maintenance-player-wrap {
    display: grid;
    justify-items: center;
}
.maintenance-player-dock {
    display: grid;
    align-items: end;
    justify-items: center;
}
.radio-player--maintenance {
    width: min(100%, 720px);
    position: static;
    transform: none;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    border: 1px solid color-mix(in srgb, var(--maintenance-accent) 20%, transparent);
    box-shadow: 0 16px 40px rgba(2, 9, 17, 0.26);
    --player-bg-start: color-mix(in srgb, var(--maintenance-card) 90%, transparent);
    --player-bg-end: color-mix(in srgb, var(--maintenance-card) 76%, var(--maintenance-accent) 24%);
    --player-title: var(--maintenance-text);
    --player-subtitle: color-mix(in srgb, var(--maintenance-text) 72%, transparent);
}
.maintenance-footer {
    text-align: center;
    font-size: 0.94rem;
    color: color-mix(in srgb, var(--maintenance-text) 70%, transparent);
}
@media (max-width: 768px) {
    .maintenance-card {
        padding: 24px 18px;
        border-radius: 22px;
        gap: 20px;
    }
    .radio-player--maintenance {
        width: 100%;
    }
}
@media (max-width: 520px) {
    .maintenance-shell {
        padding: 16px 16px 12px;
    }
    .maintenance-card {
        padding: 18px 14px;
        border-radius: 18px;
    }
    .maintenance-copy p {
        font-size: 0.98rem;
        line-height: 1.6;
    }
}
.currency-widget__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}
.currency-pill {
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(117, 182, 255, 0.14);
    display: grid;
    gap: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.currency-pill__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.currency-pill__flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(132, 198, 255, 0.16);
    color: #eef8ff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
}
.currency-pill__icon {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.09);
    color: #8ee7ff;
}
.currency-pill__copy {
    display: grid;
    gap: 4px;
}
.currency-pill small {
    color: #a8c9ef;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}
.currency-pill strong {
    color: #f3f8ff;
    font-size: 1rem;
}
.currency-pill__value {
    color: #9ff0b4;
    font-weight: 800;
    font-size: 1.32rem;
    letter-spacing: -0.02em;
}

.score-pill,
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(18, 130, 255, 0.12), rgba(75, 200, 255, 0.14));
    color: #0c5ab8;
    font-weight: 800;
}
.status-pill-featured {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
}
.status-pill-featured i {
    font-size: 0.95rem;
}

.article-wrap { display: grid; gap: 24px; }
.article-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 48px rgba(4, 14, 28, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.article-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 18px;
    margin: 14px 0 18px;
}
.article-body {
    font-size: 1.05rem;
    line-height: 1.82;
    color: var(--card-text, var(--text-dark));
}
.article-body .news-gallery,
.article-body .news-carousel {
    display: grid;
    gap: 14px;
    margin: 22px 0;
}
.article-body .news-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.article-body .news-gallery figure,
.article-body .news-carousel figure {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(115, 166, 232, 0.14);
    background: rgba(255, 255, 255, 0.04);
}
.article-body .news-gallery img,
.article-body .news-carousel img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.article-body .news-gallery figcaption {
    padding: 10px 12px;
    color: var(--muted);
    font-size: 0.9rem;
}
.article-body .news-carousel {
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    overflow-x: auto;
    padding-bottom: 8px;
}
.story-metrics,
.share-strip {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    margin-bottom: 16px;
    align-items: center;
}
.share-strip {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.share-strip .button {
    max-width: 100%;
}
.comment-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}
.comment-card {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
}
.comment-card p { margin-bottom: 0; }

.media-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    margin-top: 20px;
}
.media-grid-library {
    gap: 16px;
}
.media-toolbar {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.media-toolbar strong {
    display: block;
    color: #173652;
}
.media-toolbar span {
    color: var(--muted-dark);
}
.media-card {
    overflow: hidden;
}
.media-card-library {
    padding: 0;
    position: relative;
}
.media-bulk-master {
    display: inline-flex !important;
    align-items: center;
    gap: 8px !important;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(74, 137, 220, 0.18);
    background: rgba(255, 255, 255, 0.84);
    color: #173652;
    font-weight: 700;
}
.media-card__check {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(13, 31, 54, 0.08);
    cursor: pointer;
}
.media-card__check input {
    margin: 0;
}
.media-library-trigger {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}
.media-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 1px solid rgba(79, 140, 220, 0.12);
    background: linear-gradient(135deg, rgba(18, 130, 255, 0.2), rgba(75, 200, 255, 0.18));
}
.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.media-thumb__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #081523;
}
.media-thumb__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    gap: 10px;
    font-weight: 800;
    color: #23415f;
}
.media-thumb__placeholder i {
    font-size: 1.35rem;
}
.media-card__meta {
    display: grid;
    gap: 8px;
    padding: 16px;
}
.media-card__meta span {
    color: var(--muted-dark);
    word-break: break-all;
}
.media-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.media-list-item img,
.media-list-item video,
.media-list-item .media-thumb__placeholder {
    width: 72px;
    height: 54px;
    flex: 0 0 72px;
    border-radius: 12px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(18, 130, 255, 0.18), rgba(75, 200, 255, 0.14));
}
.media-list-item .media-thumb__placeholder {
    font-size: 0.86rem;
}
.media-list-item__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.media-list-item__copy strong,
.media-list-item__copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.media-list-item span {
    color: var(--muted-dark);
    word-break: break-all;
}
.media-list {
    display: none;
    gap: 12px;
    padding-bottom: 4px;
}
.media-list.is-active {
    display: grid;
}
.media-list-wrap {
    display: grid;
    gap: 12px;
}
.media-list-head {
    display: grid;
    grid-template-columns: 32px minmax(0, 1.35fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 0.8fr) auto;
    gap: 14px;
    align-items: center;
    padding: 0 12px 4px;
    color: #5c7b9e;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.media-list-row {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid rgba(79, 140, 220, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 255, 0.98) 100%);
}
.media-list-row__check {
    display: grid;
    place-items: start center;
    width: 32px;
    padding-top: 12px;
}
.media-list-row__content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 0.8fr) auto;
    gap: 14px;
    align-items: center;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}
.media-list-row__cell {
    min-width: 0;
    color: #567290;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.media-list-row__action {
    pointer-events: none;
    justify-self: end;
}
@media (max-width: 1100px) {
    .media-list-head {
        display: none;
    }
    .media-list-row__content {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 10px;
    }
    .media-list-row__cell {
        display: grid;
        gap: 3px;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
    }
    .media-list-row__cell::before {
        content: attr(data-label);
        color: #173652;
        font-size: 0.76rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }
    .media-list-row__action {
        justify-self: start;
    }
}
.media-library-modal__body {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
    gap: 20px;
    align-items: start;
}
.media-library-modal__preview {
    min-height: 320px;
    display: grid;
    place-items: center;
    padding: 20px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5fd 100%);
    border: 1px solid rgba(79, 140, 220, 0.14);
}
@media (max-width: 820px) {
    .admin-main {
        padding-left: 12px;
        padding-right: 12px;
    }
    .media-toolbar {
        align-items: stretch;
    }
    .media-toolbar > div:first-child {
        min-width: 0;
    }
    .bulk-toolbar label {
        min-width: 0;
    }
    .admin-topbar__home span,
    .admin-topbar__link span,
    .admin-topbar__dropdown > summary span {
        font-size: 0.78rem;
    }
}
@media (max-width: 980px) {
    .admin-topbar {
        gap: 6px;
        padding-left: 6px;
        padding-right: 6px;
    }
    .admin-topbar__home,
    .admin-topbar__link,
    .admin-topbar__dropdown > summary {
        gap: 6px;
        padding-left: 6px;
        padding-right: 6px;
    }
    .admin-topbar__home span,
    .admin-topbar__link span,
    .admin-topbar__dropdown:not(.admin-topbar__dropdown--user) > summary span {
        display: none;
    }
    .admin-topbar__dropdown--user > summary span {
        display: inline-block;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
@media (max-width: 1200px) {
    .news-classic__toolbar {
        gap: 6px;
    }
    .news-classic__tool {
        min-width: 36px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .admin-topbar__home span,
    .admin-topbar__link span,
    .admin-topbar__dropdown:not(.admin-topbar__dropdown--user) > summary span {
        display: none;
    }
    .admin-topbar__dropdown--user > summary span {
        display: inline-block;
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
.media-library-modal__preview img,
.media-library-modal__preview video {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 16px;
}
.media-library-modal__audio {
    width: min(520px, 100%);
    display: grid;
    gap: 16px;
    justify-items: center;
    color: #173652;
}
.media-library-modal__audio i {
    font-size: 2rem;
}
.media-library-modal__audio audio {
    width: 100%;
}
.media-library-modal__meta {
    display: grid;
    gap: 14px;
    color: var(--muted-dark);
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(237, 245, 253, 0.98));
    border: 1px solid rgba(79, 140, 220, 0.14);
}
.media-library-modal__info {
    display: grid;
    gap: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(79, 140, 220, 0.1);
}
.media-library-modal__info:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.media-library-modal__info strong {
    color: #173652;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.media-library-modal__info a,
.media-library-modal__info span,
.media-library-modal__info p {
    margin: 0;
    color: var(--muted-dark);
    word-break: break-all;
    line-height: 1.55;
}
.media-library-modal__info span,
.media-library-modal__info p {
    font-size: 0.96rem;
}
.media-library-modal__info a {
    color: #0f62bf;
    text-decoration: underline;
}

.builder-layout {
    display: grid;
    gap: 18px;
}
.builder-editor-v2 .builder-shell,
.builder-editor-v2 .builder-sidebar,
.builder-editor-v2 .builder-stage {
    display: none;
}
.admin-content > .builder-editor-v2,
.editor-main > .builder-editor-v2 {
    width: calc(100% + 18px);
    max-width: none;
    margin-right: -18px;
}
.admin-content:has(> .builder-editor-v2) {
    padding-right: 0;
}
.admin-main:has(.builder-editor-v2) {
    padding-right: 0;
}
.builder-editor-v2 {
    width: 100%;
    max-width: none;
    gap: 12px;
    --builder-v2-line: rgba(53, 114, 182, 0.14);
    --builder-v2-strong-line: rgba(15, 98, 191, 0.28);
    --builder-v2-surface: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,249,255,0.98));
    --builder-v2-text: #173652;
    --builder-v2-muted: #6784a5;
}
.builder-editor-v2 .builder-topbar {
    width: 100%;
    min-height: 54px;
    padding: 10px 12px;
    border-radius: 16px;
    background:
        radial-gradient(circle at right top, rgba(76, 163, 255, 0.18), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,249,255,0.98));
}
.builder-editor-v2 .builder-topbar__meta {
    gap: 8px;
}
.builder-editor-v2 .builder-pill {
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--builder-v2-line);
    background: rgba(255,255,255,0.74);
}
.builder-mobile-note {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(74, 137, 220, 0.16);
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,249,255,0.98));
    color: #173652;
}
.builder-editor-v2 {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 12px;
    min-height: calc(100vh - 150px);
    max-height: calc(100vh - 150px);
    overflow: hidden;
}
.builder-v2-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    width: 100%;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}
.builder-v2-sidebar,
.builder-v2-stage {
    border-radius: 18px;
    border: 1px solid var(--builder-v2-line);
    background: var(--builder-v2-surface);
    box-shadow: 0 18px 40px rgba(9, 28, 46, 0.08);
}
.builder-v2-sidebar {
    padding: 12px;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 10px;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}
.builder-v2-sidebar__head {
    display: grid;
    gap: 2px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(53, 114, 182, 0.1);
}
.builder-v2-sidebar__head strong {
    color: var(--builder-v2-text);
    font-size: 0.95rem;
}
.builder-v2-sidebar__head span {
    color: var(--builder-v2-muted);
    font-size: 0.8rem;
    line-height: 1.35;
}
.builder-v2-search {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 2px 0 10px;
    background: linear-gradient(180deg, rgba(247,250,255,0.98), rgba(247,250,255,0.82) 72%, rgba(247,250,255,0));
}
.builder-v2-search input {
    min-height: 38px;
    border-radius: 12px;
}
.builder-v2-library {
    display: grid;
    gap: 12px;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    overscroll-behavior: contain;
}
.builder-v2-library__group {
    display: grid;
    gap: 6px;
}
.builder-v2-library__group strong {
    color: var(--builder-v2-muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-left: 4px;
}
.builder-v2-library__list {
    display: grid;
    gap: 4px;
}
.builder-v2-library__item {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: rgba(255,255,255,0.62);
    color: var(--builder-v2-text);
    font-weight: 600;
    font-size: 0.88rem;
    text-align: left;
    cursor: grab;
    transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}
.builder-v2-library__item:hover {
    transform: translateX(2px);
    border-color: rgba(15, 98, 191, 0.18);
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 98, 191, 0.08);
}
.builder-v2-library__item:active {
    cursor: grabbing;
}
.builder-v2-stage {
    padding: 10px 0 8px 10px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background:
        radial-gradient(circle at right top, rgba(101, 178, 255, 0.12), transparent 22%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(243,248,255,0.98));
}
.builder-v2-stage__head {
    margin-bottom: 0;
    padding: 0 12px 0 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.builder-v2-stage__head strong {
    font-size: 0.96rem;
}
.builder-v2-stage__head span {
    line-height: 1.35;
    color: var(--builder-v2-muted);
}
.builder-v2-stage__head .builder-stage__hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(15, 98, 191, 0.08);
    color: #3e668d;
    white-space: nowrap;
}
.builder-v2-canvas-wrap {
    position: relative;
    min-height: 0;
    height: 100%;
    padding: 10px 0 10px 10px;
    border-radius: 16px;
    border: 1px solid rgba(53, 114, 182, 0.1);
    background:
        linear-gradient(90deg, rgba(17, 91, 162, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(17, 91, 162, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, #f4f8fc 0%, #eef3f8 100%);
    background-size: 28px 28px, 28px 28px, auto;
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    overflow: auto;
    overscroll-behavior: contain;
}
.builder-v2-canvas {
    position: relative;
    min-height: 100%;
    width: 100%;
    padding-right: 8px;
}
.builder-v2-node {
    position: relative;
}
.builder-v2-node--split {
    display: grid;
}
.builder-v2-node__children {
    display: flex;
    gap: 12px;
    min-height: inherit;
    height: 100%;
    position: relative;
}
.builder-v2-node--vertical > .builder-v2-node__children {
    flex-direction: column;
}
.builder-v2-node--horizontal > .builder-v2-node__children {
    flex-direction: row;
}
.builder-v2-node__slot {
    display: grid;
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
}
.builder-v2-resize {
    flex: 0 0 auto;
    align-self: stretch;
    border: 0;
    background: transparent;
    position: relative;
    cursor: col-resize;
}
.builder-v2-resize::before {
    content: "";
    position: absolute;
    inset: 10px 0;
    width: 4px;
    margin: 0 auto;
    border-radius: 999px;
    background: rgba(15, 98, 191, 0.16);
    transition: background 0.16s ease, transform 0.16s ease;
}
.builder-v2-resize:hover::before {
    background: rgba(15, 98, 191, 0.42);
    transform: scale(1.08);
}
.builder-v2-resize--vertical {
    width: 100%;
    min-height: 14px;
    cursor: row-resize;
}
.builder-v2-resize--vertical::before {
    inset: 0 10px;
    width: auto;
    height: 4px;
}
.builder-v2-node__toolbar,
.builder-v2-element__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 30px;
    padding: 3px 7px;
    border-radius: 8px 8px 0 0;
    background: rgba(19, 41, 64, 0.82);
    backdrop-filter: blur(8px);
    color: #fff;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.builder-v2-node--leaf > .builder-v2-node__toolbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}
.builder-v2-node:hover > .builder-v2-node__toolbar,
.builder-v2-node.is-selected > .builder-v2-node__toolbar,
.builder-v2-element:hover .builder-v2-element__toolbar,
.builder-v2-element.is-selected .builder-v2-element__toolbar {
    opacity: 1;
    transform: translateY(0);
}
.builder-v2-node__actions,
.builder-v2-element__actions {
    display: flex;
    gap: 4px;
}
.builder-v2-node__toolbar > span,
.builder-v2-element__toolbar > span {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.builder-v2-icon {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.builder-v2-icon:hover {
    background: rgba(255,255,255,0.14);
}
.builder-v2-node__content {
    min-height: 180px;
    padding: 20px 10px 10px;
    border-radius: 16px;
    border: 1px dashed rgba(66, 127, 194, 0.22);
    background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(252,254,255,0.72));
    display: grid;
    gap: 10px;
    align-content: start;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.builder-v2-node--leaf > .builder-v2-node__content {
    position: relative;
}
.builder-v2-node--leaf > .builder-v2-node__content::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 98, 191, 0.035), transparent 28%);
}
.builder-v2-node:hover > .builder-v2-node__content,
.builder-v2-node.is-selected > .builder-v2-node__content {
    border-color: rgba(15, 98, 191, 0.28);
    box-shadow: 0 14px 30px rgba(12, 38, 63, 0.06);
}
.builder-v2-node__content.is-pending-insert {
    box-shadow: inset 0 0 0 2px rgba(18, 130, 255, 0.18), 0 14px 30px rgba(12, 38, 63, 0.06);
}
.builder-v2-node__content.is-preview-row,
.builder-v2-node__content.is-preview-column,
.builder-v2-node__content.is-preview-element {
    border-color: rgba(18, 130, 255, 0.48);
    box-shadow: inset 0 0 0 2px rgba(18,130,255,0.12), 0 18px 34px rgba(18,130,255,0.08);
    transform: translateY(-1px);
}
.builder-v2-drop-ghost {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(18, 130, 255, 0.09);
    color: #0f62bf;
    font-size: 0.78rem;
    font-weight: 700;
}
.builder-v2-node__plus {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(74, 137, 220, 0.22);
    border-radius: 999px;
    background: #fff;
    color: #0f62bf;
    cursor: pointer;
    justify-self: center;
    box-shadow: 0 8px 18px rgba(15, 98, 191, 0.08);
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.builder-v2-node__plus:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 98, 191, 0.3);
    box-shadow: 0 12px 22px rgba(15, 98, 191, 0.12);
}
.builder-v2-node__empty {
    min-height: 110px;
    display: grid;
    place-items: center;
    gap: 6px;
    text-align: center;
    color: #6784a5;
    padding: 14px;
}
.builder-v2-node__empty strong {
    color: var(--builder-v2-text);
    font-size: 0.98rem;
}
.builder-v2-node__empty span {
    max-width: 280px;
    line-height: 1.45;
    font-size: 0.84rem;
}
.builder-v2-element {
    border-radius: 12px;
    border: 1px solid rgba(74, 137, 220, 0.12);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,252,255,0.96));
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(10, 28, 44, 0.04);
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.builder-v2-element:hover,
.builder-v2-element.is-selected {
    transform: translateY(-1px);
    border-color: rgba(15, 98, 191, 0.18);
    box-shadow: 0 14px 30px rgba(10, 28, 44, 0.08);
}
.builder-v2-element.is-selected {
    box-shadow: 0 0 0 2px rgba(18,130,255,0.14);
}
.builder-v2-element.is-drop-before {
    box-shadow: inset 0 3px 0 #1282ff;
}
.builder-v2-element.is-drop-after {
    box-shadow: inset 0 -3px 0 #1282ff;
}
.builder-v2-element__body {
    display: grid;
    gap: 4px;
    padding: 11px 12px 12px;
}
.builder-v2-element__body strong {
    color: var(--builder-v2-text);
    line-height: 1.35;
}
.builder-v2-element__body small {
    color: var(--builder-v2-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.69rem;
}
.builder-v2-preview {
    border-radius: 12px;
    overflow: hidden;
}
.builder-v2-preview--heading,
.builder-v2-preview--text,
.builder-v2-preview--html,
.builder-v2-preview--news {
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(244, 248, 253, 0.9);
    border: 1px solid rgba(74, 137, 220, 0.1);
}
.builder-v2-preview--heading span,
.builder-v2-preview--html span {
    color: #7a92ab;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.builder-v2-preview--heading strong {
    color: #173652;
    font-size: 1.08rem;
    line-height: 1.3;
}
.builder-v2-preview--text p,
.builder-v2-preview--html code {
    margin: 0;
    color: #486581;
    font-size: 0.84rem;
    line-height: 1.55;
}
.builder-v2-preview--html code {
    display: block;
    white-space: normal;
    word-break: break-word;
}
.builder-v2-preview--media,
.builder-v2-preview--gallery {
    display: grid;
    gap: 8px;
}
.builder-v2-preview--media img,
.builder-v2-preview--gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    background: #e8f0fa;
}
.builder-v2-preview--media video {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    background: #0f172a;
}
.builder-v2-preview--media span,
.builder-v2-preview--empty span {
    color: #5c7694;
    font-size: 0.77rem;
    line-height: 1.35;
}
.builder-v2-preview--gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.builder-v2-preview--gallery img {
    height: 78px;
}
.builder-v2-preview--empty {
    min-height: 86px;
    border: 1px dashed rgba(74, 137, 220, 0.2);
    background: rgba(239, 246, 255, 0.72);
    display: grid;
    place-items: center;
    padding: 10px;
}
.builder-v2-preview--chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.builder-v2-preview__news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.builder-v2-preview__news-grid article {
    display: grid;
    gap: 6px;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(74, 137, 220, 0.1);
}
.builder-v2-preview__news-grid strong,
.builder-v2-preview__news-grid span {
    display: block;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(15, 98, 191, 0.12), rgba(15, 98, 191, 0.04));
}
.builder-v2-preview__news-grid strong {
    height: 12px;
    width: 84%;
}
.builder-v2-preview__news-grid span {
    height: 9px;
    width: 58%;
}
.builder-v2-preview--chips span,
.builder-v2-preview--button span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(15, 98, 191, 0.08);
    color: #0f62bf;
    font-size: 0.76rem;
    font-weight: 700;
}
.builder-v2-preview--button {
    display: flex;
}
.builder-v2-popover {
    position: fixed;
    z-index: 1200;
}
.builder-v2-popover__card {
    border-radius: 18px;
    border: 1px solid rgba(74, 137, 220, 0.16);
    background:
        radial-gradient(circle at right top, rgba(76, 163, 255, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,249,255,0.98));
    box-shadow: 0 24px 70px rgba(10, 23, 40, 0.2);
    overflow: hidden;
    max-height: calc(100vh - 88px);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
}
.builder-v2-popover__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(74, 137, 220, 0.12);
    cursor: move;
}
.builder-v2-popover__head strong {
    color: var(--builder-v2-text);
    font-size: 0.92rem;
}
.builder-v2-popover__tabs {
    display: flex;
    gap: 8px;
    padding: 10px 12px 0;
}
.builder-v2-popover__tabs button {
    min-height: 30px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(74, 137, 220, 0.1);
    color: #54718d;
    font-weight: 700;
    cursor: pointer;
}
.builder-v2-popover__tabs .is-active {
    background: #173652;
    color: #fff;
}
.builder-v2-popover__body {
    display: block;
    padding: 12px;
    overflow: auto;
}
.builder-v2-popover__panel {
    display: none;
}
.builder-v2-popover__panel.is-active {
    display: grid;
    gap: 12px;
}
.builder-v2-popover__footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(74, 137, 220, 0.12);
}
.builder-v2-presets {
    display: grid;
    gap: 8px;
}
.builder-v2-presets > span {
    color: #6784a5;
    font-size: 0.82rem;
    font-weight: 700;
}
.builder-v2-presets__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.builder-v2-presets__list button {
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(74, 137, 220, 0.16);
    border-radius: 999px;
    background: #fff;
    color: var(--builder-v2-text);
    font-weight: 700;
    cursor: pointer;
}
.builder-v2-presets__list button:hover {
    border-color: rgba(15, 98, 191, 0.24);
    background: rgba(15, 98, 191, 0.04);
}
.builder-v2-popover label {
    display: grid;
    gap: 6px;
}
.builder-v2-popover label > span {
    color: var(--builder-v2-muted);
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.builder-v2-popover input,
.builder-v2-popover textarea,
.builder-v2-popover select {
    min-height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(74, 137, 220, 0.16);
    background: rgba(255,255,255,0.92);
    transition: border-color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}
.builder-v2-popover input:focus,
.builder-v2-popover textarea:focus,
.builder-v2-popover select:focus {
    outline: 0;
    border-color: rgba(15, 98, 191, 0.34);
    box-shadow: 0 0 0 3px rgba(15, 98, 191, 0.12);
    background: #fff;
}
.builder-v2-popover textarea {
    min-height: 120px;
}
.builder-v2-media-field,
.builder-v2-media-collection {
    display: grid;
    gap: 10px;
}
.builder-v2-media-field__preview,
.builder-v2-media-list__thumb,
.builder-v2-media-list__empty {
    min-height: 120px;
    border-radius: 14px;
    border: 1px dashed rgba(74, 137, 220, 0.24);
    background: rgba(239, 246, 255, 0.72);
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #6883a0;
    text-align: center;
    padding: 10px;
}
.builder-v2-media-field__preview.has-media,
.builder-v2-media-list__thumb {
    border-style: solid;
    background: #f4f8fd;
}
.builder-v2-media-field__preview img,
.builder-v2-media-list__thumb img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
}
.builder-v2-media-field__preview video {
    width: 100%;
    max-height: 180px;
    border-radius: 10px;
    background: #0f172a;
}
.builder-v2-media-field__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.builder-v2-media-list {
    display: grid;
    gap: 10px;
}
.builder-v2-media-list__item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(74, 137, 220, 0.12);
    background: rgba(255,255,255,0.88);
}
.builder-v2-media-list__thumb {
    min-height: 72px;
}
.builder-v2-media-list__thumb img {
    height: 72px;
}
.builder-v2-media-list__body {
    display: grid;
    gap: 6px;
    min-width: 0;
}
.builder-v2-media-list__body input {
    min-height: 36px;
}
.builder-v2-media-list__remove {
    justify-self: start;
}
.builder-v2-media-list__body small {
    color: #6784a5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.builder-v2-media-list__actions {
    display: grid;
    align-content: start;
    gap: 6px;
}
.builder-v2-popover__body hr {
    width: 100%;
    height: 1px;
    border: 0;
    background: rgba(74, 137, 220, 0.12);
}
@media (max-width: 960px) {
    .builder-editor-v2 .builder-v2-shell {
        display: none;
    }
    .builder-editor-v2 .builder-mobile-note {
        display: inline-flex;
    }
}
@media (max-width: 1280px) {
    .builder-v2-shell {
        grid-template-columns: 220px minmax(0, 1fr);
    }
    .builder-v2-stage__head {
        align-items: start;
    }
    .builder-v2-stage__head .builder-stage__hint {
        white-space: normal;
    }
}
.builder-layout-v2 {
    gap: 14px;
}
.builder-grid-node {
    min-width: 0;
    min-height: 0;
}
.builder-grid-node--root {
    width: 100%;
}
.builder-grid-node__children {
    display: flex;
    gap: var(--builder-grid-gap, 14px);
    min-width: 0;
    min-height: 0;
}
.builder-grid-node--horizontal > .builder-grid-node__children {
    flex-direction: row;
    align-items: stretch;
}
.builder-grid-node--vertical > .builder-grid-node__children {
    flex-direction: column;
    align-items: stretch;
}
.builder-grid-node__slot {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex: 1 1 0;
    flex-basis: var(--builder-grid-basis, auto);
}
.builder-grid-node--vertical > .builder-grid-node__children > .builder-grid-node__slot {
    flex: 0 0 auto;
    flex-basis: auto;
}
.builder-grid-node--leaf {
    border-radius: 18px;
    border: 1px solid rgba(74, 137, 220, 0.14);
    background: rgba(255, 255, 255, 0.48);
    padding: 12px;
}
.builder-grid-node__content {
    display: grid;
    gap: 14px;
    width: 100%;
    min-height: 100%;
    align-content: start;
    justify-items: stretch;
    justify-content: stretch;
}
.builder-block {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
}
.builder-heading {
    overflow: visible;
}
.builder-anim {
    opacity: 0;
}
.builder-anim.is-inview {
    animation-duration: var(--builder-anim-duration, 500ms);
    animation-delay: var(--builder-anim-delay, 0ms);
    animation-fill-mode: both;
    animation-timing-function: ease;
    opacity: 1;
}
.builder-anim--fade {
    animation-name: builderFade;
}
.builder-anim--fade-up {
    animation-name: builderFadeUp;
}
.builder-anim--fade-down {
    animation-name: builderFadeDown;
}
.builder-anim--slide-left {
    animation-name: builderSlideLeft;
}
.builder-anim--slide-right {
    animation-name: builderSlideRight;
}
.builder-anim--zoom {
    animation-name: builderZoom;
}
@keyframes builderFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes builderFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes builderFadeDown {
    from { opacity: 0; transform: translateY(-18px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes builderSlideLeft {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes builderSlideRight {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes builderZoom {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}
.builder-gallery {
    width: min(100%, var(--builder-media-width, 100%));
    justify-self: center;
}
.builder-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.builder-gallery--grid .builder-gallery__grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.builder-gallery--masonry .builder-gallery__item:nth-child(4n + 1) img {
    min-height: 320px;
}
.builder-gallery--polaroid .builder-gallery__item {
    padding: 10px 10px 16px;
    background: #fff;
    box-shadow: 0 16px 28px rgba(12, 28, 44, 0.12);
    transform: rotate(-1.2deg);
}
.builder-gallery--polaroid .builder-gallery__item:nth-child(even) {
    transform: rotate(1.2deg);
}
.builder-gallery--mosaic .builder-gallery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.builder-gallery--mosaic .builder-gallery__item:first-child,
.builder-gallery--mosaic .builder-gallery__item:nth-child(6n + 4) {
    grid-column: span 2;
}
.builder-gallery--stacked .builder-gallery__grid {
    gap: 18px;
}
.builder-gallery--stacked .builder-gallery__item {
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 24px 48px rgba(12, 28, 44, 0.14);
}
.builder-gallery--stacked .builder-gallery__item:nth-child(odd) {
    transform: translateY(10px);
}
.builder-gallery__item,
.builder-image-slider__slide {
    margin: 0;
    display: grid;
    gap: 8px;
    place-items: center;
}
.builder-gallery__item img,
.builder-image-slider__slide img {
    max-width: 100%;
    max-height: var(--builder-media-height, 70vh);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    background: rgba(7, 18, 32, 0.86);
    object-position: var(--builder-media-position, center center);
}
.builder-gallery__item span,
.builder-image-slider__slide figcaption {
    color: var(--muted);
    font-size: 0.92rem;
}
.builder-image-slider {
    display: grid;
    gap: 14px;
    width: min(100%, var(--builder-media-width, 100%));
    justify-self: center;
}
.builder-audio {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, var(--bg-card), rgba(8, 20, 35, 0.92));
    border: 1px solid var(--line);
}
.builder-audio__head {
    font-weight: 800;
    color: var(--text);
}
.builder-audio audio {
    width: 100%;
}
.builder-image-slider__head h3 {
    margin: 0;
}
.builder-image-slider__viewport {
    overflow: hidden;
    position: relative;
}
.builder-image-slider__track {
    position: relative;
    min-height: var(--builder-media-height, 420px);
    height: var(--builder-media-height, 420px);
}
.builder-image-slider__slide {
    margin: 0;
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.builder-image-slider__slide.is-active,
.builder-news-card--hero.is-active {
    opacity: 1;
    pointer-events: auto;
}
.builder-image-slider__slide img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center center;
}
.builder-image-slider__slide figcaption,
.builder-news-card--hero .builder-news-card__body {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(4, 14, 24, 0.1), rgba(4, 14, 24, 0.82));
    color: #fff;
}
.builder-news-card--hero .builder-news-card__body {
    gap: 10px;
    padding: 18px 20px 20px;
    align-content: start;
}
.builder-news-card--hero .builder-news-card__body h4 {
    font-size: clamp(1.2rem, 2vw, 2rem);
    line-height: 1.18;
}
.builder-news-card--hero .builder-news-card__body h4 a {
    color: #fff;
    text-decoration: none;
}
.builder-image-slider--poster .builder-image-slider__slide figcaption {
    left: 24px;
    right: auto;
    bottom: 24px;
    max-width: 540px;
    background: linear-gradient(180deg, rgba(7, 18, 32, 0.16), rgba(7, 18, 32, 0.9));
}
.builder-image-slider--soft .builder-image-slider__viewport {
    padding: 14px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(236, 243, 250, 0.98));
    border: 1px solid rgba(115, 166, 232, 0.18);
}
.builder-image-slider--soft .builder-image-slider__slide figcaption {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(7, 18, 32, 0.7));
}
.builder-news-card__cta {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.18);
}
.builder-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}
.builder-slider-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(170, 199, 231, 0.32);
    cursor: pointer;
    transition: transform 0.16s ease, background 0.16s ease;
}
.builder-slider-dot.is-active {
    background: #fff;
    transform: scale(1.18);
}
.builder-news-card--hero .builder-news-card__image img {
    aspect-ratio: 16 / 9;
}
.builder-news-card--hero .builder-news-card__body h4 a,
.builder-image-slider__slide figcaption {
    color: #fff;
}
.builder-items-anim {
    animation-duration: 0.72s;
    animation-fill-mode: both;
}
.builder-items-anim--fade {
    animation-name: builderItemFade;
}
.builder-items-anim--rise {
    animation-name: builderItemRise;
}
.builder-items-anim--zoom {
    animation-name: builderItemZoom;
}
.builder-news__track > .builder-items-anim:nth-child(2),
.builder-gallery__grid > .builder-items-anim:nth-child(2),
.builder-image-slider__track > .builder-items-anim:nth-child(2) {
    animation-delay: 0.08s;
}
.builder-news__track > .builder-items-anim:nth-child(3),
.builder-gallery__grid > .builder-items-anim:nth-child(3),
.builder-image-slider__track > .builder-items-anim:nth-child(3) {
    animation-delay: 0.16s;
}
.builder-news__track > .builder-items-anim:nth-child(4),
.builder-gallery__grid > .builder-items-anim:nth-child(4),
.builder-image-slider__track > .builder-items-anim:nth-child(4) {
    animation-delay: 0.24s;
}
.builder-news__track > .builder-items-anim:nth-child(n + 5),
.builder-gallery__grid > .builder-items-anim:nth-child(n + 5),
.builder-image-slider__track > .builder-items-anim:nth-child(n + 5) {
    animation-delay: 0.32s;
}
.builder-news-card--hero {
    display: grid;
    gap: 0;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, var(--bg-card), rgba(8, 20, 35, 0.94));
    border: 1px solid var(--line);
}
.builder-news-card--hero .builder-news-card__image {
    aspect-ratio: 16 / 10;
}
.builder-news-card--hero .builder-news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}
.builder-news-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    width: fit-content;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 115, 223, 0.1);
    color: #0f73df;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.builder-columns-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    margin: 4px 0 16px;
}
.builder-columns-preview span {
    display: grid;
    gap: 4px;
    min-height: 54px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(34, 109, 182, 0.16);
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.09), rgba(56, 189, 248, 0.18));
}
.builder-columns-preview span strong {
    font-size: 0.8rem;
    color: #173652;
}
.builder-columns-preview span small {
    color: #6784a5;
}
.builder-columns {
    display: grid;
    gap: 14px;
}
.builder-columns__inner,
.builder-columns__grid {
    display: grid;
    gap: var(--builder-columns-gap, 18px);
}
.builder-columns__grid {
    grid-template-columns: var(--builder-columns, 1fr 1fr);
}
.builder-column {
    display: grid;
    gap: 10px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid rgba(33, 107, 183, 0.08);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: none;
}
.builder-column__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}
.builder-column__meta {
    display: grid;
    gap: 5px;
}
.builder-column__meta strong {
    color: #173652;
}
.builder-column__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
.builder-column__canvas {
    min-height: 120px;
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 8px;
    border-radius: 8px;
    border: 1px dashed rgba(25, 118, 210, 0.16);
    background: #f3f6fa;
    position: relative;
    transition: box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.builder-column__canvas-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    width: fit-content;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 115, 223, 0.07);
    color: #42698f;
    font-size: 0.82rem;
    font-weight: 700;
}
@keyframes builderNewsTicker {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 8px)); }
}
@keyframes builderItemFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes builderItemRise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes builderItemZoom {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}
.builder-column__canvas .builder-inserter {
    background: #fff;
}
.builder-editor.is-builder-dragging .builder-inserter {
    opacity: 0.35;
}
.builder-editor.is-builder-dragging .builder-inserter.is-active {
    opacity: 1;
}
.builder-column__canvas > .builder-panel + .builder-panel,
.builder-column__canvas > .builder-inserter + .builder-panel,
.builder-column__canvas > .builder-panel + .builder-inserter {
    margin-top: 0;
}
.builder-column__canvas > .builder-panel,
.builder-column__canvas > .builder-inserter {
    position: relative;
    z-index: 1;
}
.builder-columns__cell > .builder-layout {
    gap: 14px;
}
.builder-news-card--hero .builder-news-card__cta {
    margin-top: 6px;
}
.builder-columns__cell {
    min-height: var(--builder-row-min-height, 0);
    min-width: 0;
    overflow: hidden;
    container-type: inline-size;
    container-name: builder-cell;
}
.builder-columns__cell .builder-block,
.builder-columns__cell .builder-news,
.builder-columns__cell .builder-news-card,
.builder-columns__cell .builder-news-card__body,
.builder-columns__cell .builder-news-card__body h4,
.builder-columns__cell .builder-news-card__body h4 a {
    min-width: 0;
}
.builder-columns__cell .builder-news-carousel .builder-news__track {
    min-height: clamp(260px, 38vw, 540px);
}
.builder-columns__cell .builder-news__track,
.builder-columns__cell .builder-image-slider__track,
.builder-columns__cell .builder-image-slider__slide,
.builder-columns__cell .builder-news-card--hero {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}
.builder-columns__cell .builder-news-grid--editorial .builder-news__track,
.builder-columns__cell .builder-news-grid--magazine .builder-news__track {
    grid-template-columns: minmax(0, 1fr);
}
.builder-columns__cell .builder-news-grid--editorial .builder-news-card:first-child,
.builder-columns__cell .builder-news-grid--magazine .builder-news-card:first-child {
    grid-row: auto;
}
.builder-columns__cell .builder-news-grid--compact .builder-news__track {
    grid-template-columns: minmax(0, 1fr);
}
.builder-columns__cell .builder-news-carousel--poster .builder-news-card__body,
.builder-columns__cell .builder-news-carousel--cards .builder-news-card__body {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
}
.builder-columns__cell .builder-media__frame,
.builder-columns__cell .builder-image-slider,
.builder-columns__cell .builder-gallery,
.builder-columns__cell .builder-news__viewport {
    width: 100%;
    max-width: 100%;
}
@container builder-cell (max-width: 900px) {
    .builder-columns__cell .builder-news-grid .builder-news__track[data-builder-news-columns="4"],
    .builder-columns__cell .builder-news-grid .builder-news__track[data-builder-news-columns="5"],
    .builder-columns__cell .builder-news-grid .builder-news__track[data-builder-news-columns="6"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@container builder-cell (max-width: 680px) {
    .builder-columns__cell .builder-news-grid .builder-news__track[data-builder-news-columns="2"],
    .builder-columns__cell .builder-news-grid .builder-news__track[data-builder-news-columns="3"],
    .builder-columns__cell .builder-news-grid .builder-news__track[data-builder-news-columns="4"],
    .builder-columns__cell .builder-news-grid .builder-news__track[data-builder-news-columns="5"],
    .builder-columns__cell .builder-news-grid .builder-news__track[data-builder-news-columns="6"],
    .builder-columns__cell .builder-news-grid--compact .builder-news__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@container builder-cell (max-width: 420px) {
    .builder-columns__cell .builder-news-grid .builder-news__track,
    .builder-columns__cell .builder-news-grid--compact .builder-news__track,
    .builder-columns__cell .builder-news-grid--editorial .builder-news__track,
    .builder-columns__cell .builder-news-grid--magazine .builder-news__track {
        grid-template-columns: minmax(0, 1fr);
    }
}
.weather-widget {
    display: grid;
    gap: 18px;
    padding: clamp(18px, 2.6vw, 28px);
    height: var(--weather-widget-height, auto);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 22%),
        radial-gradient(circle at bottom left, rgba(75, 200, 255, 0.22), transparent 30%),
        linear-gradient(160deg, rgba(7, 26, 48, 0.98), rgba(13, 39, 72, 0.96) 54%, rgba(8, 28, 54, 0.98));
    border: 1px solid rgba(121, 194, 255, 0.16);
    box-shadow: 0 24px 56px rgba(4, 16, 32, 0.28);
    overflow: hidden;
    position: relative;
    container-type: inline-size;
    align-content: start;
}
.weather-widget::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 48%);
    pointer-events: none;
}
.weather-widget > * {
    position: relative;
    z-index: 1;
}
.weather-widget__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
}
.weather-icon {
    position: relative;
    width: clamp(68px, 14cqw, 112px);
    height: clamp(68px, 14cqw, 112px);
    margin-left: auto;
}
.weather-icon span {
    position: absolute;
    border-radius: 999px;
}
.weather-widget--animated .weather-icon {
    animation: weatherFloat 4.8s ease-in-out infinite;
    transform-origin: center center;
}
.weather-sun span:first-child {
    inset: 12px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.12);
}
.weather-moon span:first-child,
.weather-cloud-moon span:first-child {
    inset: 12px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset -10px -2px 0 2px rgba(10, 33, 57, 0.9);
}
.weather-cloud-moon span:nth-child(2) {
    left: 6px;
    right: 10px;
    bottom: 16px;
    height: 18px;
    background: rgba(255, 255, 255, 0.94);
}
.weather-cloud-moon span:nth-child(3) {
    left: 18px;
    bottom: 24px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.96);
}
.weather-widget--animated .weather-sun span:first-child {
    animation: weatherPulse 3.8s ease-in-out infinite;
}
.weather-widget--animated .weather-cloud span:first-child,
.weather-widget--animated .weather-cloud-sun span:first-child,
.weather-widget--animated .weather-cloud-moon span:nth-child(2) {
    animation: weatherCloudDrift 3.6s ease-in-out infinite;
}
.weather-widget--animated .weather-cloud span:nth-child(2),
.weather-widget--animated .weather-cloud span:nth-child(3),
.weather-widget--animated .weather-cloud-sun span:nth-child(2),
.weather-widget--animated .weather-cloud-sun span:nth-child(3),
.weather-widget--animated .weather-cloud-moon span:nth-child(3) {
    animation: weatherCloudBob 3s ease-in-out infinite;
}
.weather-widget--animated .weather-moon span:first-child,
.weather-widget--animated .weather-cloud-moon span:first-child {
    animation: weatherGlow 4.2s ease-in-out infinite;
}
.weather-cloud span:first-child,
.weather-cloud-sun span:first-child,
.weather-rain span:first-child,
.weather-storm span:first-child {
    left: 8px;
    right: 8px;
    top: 24px;
    height: 20px;
    background: rgba(255, 255, 255, 0.9);
}
.weather-cloud span:nth-child(2),
.weather-cloud-sun span:nth-child(2),
.weather-rain span:nth-child(2),
.weather-storm span:nth-child(2) {
    left: 0;
    top: 16px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.92);
}
.weather-cloud span:nth-child(3),
.weather-cloud-sun span:nth-child(3),
.weather-rain span:nth-child(3),
.weather-storm span:nth-child(3) {
    right: 6px;
    top: 12px;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.92);
}
.weather-rain::after,
.weather-storm::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: 4px;
    width: 28px;
    height: 18px;
    background: repeating-linear-gradient(90deg, transparent 0 6px, rgba(255, 255, 255, 0.86) 6px 8px);
    transform: skewX(-18deg);
    opacity: 0.9;
}
.weather-widget--animated .weather-rain::after,
.weather-widget--animated .weather-storm::after {
    animation: weatherRain 1.1s linear infinite;
}
.weather-snow::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    height: 18px;
    background:
        radial-gradient(circle, rgba(255,255,255,0.92) 0 2px, transparent 3px) 0 0 / 18px 18px,
        radial-gradient(circle, rgba(255,255,255,0.82) 0 2px, transparent 3px) 9px 8px / 18px 18px;
}
.weather-wind span:first-child,
.weather-wind span:nth-child(2),
.weather-wind span:nth-child(3) {
    height: 6px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
}
.weather-wind span:first-child {
    left: 10px;
    right: 12px;
    top: 18px;
}
.weather-wind span:nth-child(2) {
    left: 18px;
    right: 4px;
    top: 34px;
}
.weather-wind span:nth-child(3) {
    left: 8px;
    right: 20px;
    top: 50px;
}
.weather-widget--animated .weather-wind span:first-child {
    animation: weatherWind 1.4s ease-in-out infinite;
}
.weather-widget--animated .weather-wind span:nth-child(2) {
    animation: weatherWind 1.4s ease-in-out infinite 0.12s;
}
.weather-widget--animated .weather-wind span:nth-child(3) {
    animation: weatherWind 1.4s ease-in-out infinite 0.24s;
}
.weather-copy {
    display: grid;
    gap: 6px;
}
.weather-copy strong,
.weather-copy span {
    color: #eef7ff;
}
.weather-copy__eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(238, 247, 255, 0.94);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.weather-copy strong {
    font-size: clamp(1.2rem, 4.5cqw, 2rem);
    line-height: 1.05;
}
.weather-copy__label {
    font-size: clamp(0.92rem, 2.5cqw, 1.02rem);
    color: rgba(238, 247, 255, 0.82) !important;
}
.weather-widget__now {
    display: grid;
    gap: 4px;
    justify-items: end;
    text-align: right;
}
.weather-widget__now span {
    color: rgba(238, 247, 255, 0.68);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.weather-widget__now strong {
    font-size: clamp(1.6rem, 6cqw, 2.7rem);
    line-height: 0.92;
    color: #fff;
}
.weather-widget__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}
.weather-widget__temp {
    display: grid;
    gap: 8px;
}
.weather-widget__temp strong {
    font-size: clamp(3rem, 14cqw, 5.6rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
    color: #fff;
}
.weather-widget__temp span {
    color: rgba(238, 247, 255, 0.78);
    font-size: clamp(0.95rem, 2.7cqw, 1.05rem);
}
.weather-widget__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.weather-stat {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}
.weather-stat span {
    color: rgba(238, 247, 255, 0.68);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.weather-stat strong {
    color: #fff;
    font-size: clamp(1rem, 2.8cqw, 1.2rem);
}
.weather-widget--compact {
    gap: 12px;
    padding: 14px;
}
.weather-widget--compact .weather-widget__top,
.weather-widget--compact .weather-widget__hero {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}
.weather-widget--compact .weather-copy {
    gap: 4px;
}
.weather-widget--compact .weather-copy__eyebrow {
    padding: 4px 9px;
    font-size: 0.7rem;
}
.weather-widget--compact .weather-copy strong {
    font-size: 1rem;
}
.weather-widget--compact .weather-copy__label,
.weather-widget--compact .weather-widget__temp span,
.weather-widget--compact .weather-widget__now span {
    font-size: 0.78rem;
}
.weather-widget--compact .weather-widget__temp strong {
    font-size: 2.1rem;
}
.weather-widget--compact .weather-widget__now strong {
    font-size: 1.4rem;
}
.weather-widget--compact .weather-icon {
    width: 56px;
    height: 56px;
}
.weather-widget--compact .weather-widget__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.weather-widget--compact .weather-stat {
    padding: 10px 8px;
    gap: 4px;
    border-radius: 14px;
}
.weather-widget--compact .weather-stat span {
    font-size: 0.68rem;
}
.weather-widget--compact .weather-stat strong {
    font-size: 0.84rem;
}
@keyframes weatherFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
@keyframes weatherPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.12); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.08); }
}
@keyframes weatherRain {
    0% { transform: translateY(0) skewX(-18deg); opacity: 0.5; }
    50% { transform: translateY(3px) skewX(-18deg); opacity: 1; }
    100% { transform: translateY(0) skewX(-18deg); opacity: 0.5; }
}
@keyframes weatherWind {
    0%, 100% { transform: translateX(0); opacity: 0.72; }
    50% { transform: translateX(4px); opacity: 1; }
}
@keyframes weatherCloudDrift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}
@keyframes weatherCloudBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
@keyframes weatherGlow {
    0%, 100% { opacity: 0.92; filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
    50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(255,255,255,0.26)); }
}
@container (max-width: 440px) {
    .weather-widget__top,
    .weather-widget__hero,
    .weather-widget__stats {
        grid-template-columns: 1fr;
    }
    .weather-widget__now {
        justify-items: start;
        text-align: left;
    }
    .weather-icon {
        margin-left: 0;
    }
}

.radio-player {
    --player-border: rgba(126, 165, 220, 0.08);
    --player-text: var(--player-title, #eef7ff);
    --player-muted: var(--player-subtitle, #acd3ff);
    --player-control: rgba(255, 255, 255, 0.08);
    --player-control-border: rgba(143, 191, 255, 0.08);
    --player-select-bg: rgba(18, 36, 58, 0.92);
    --player-select-text: #eef7ff;
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 16px;
    width: 85vw;
    max-width: 85vw;
    z-index: 60;
    display: grid;
    grid-template-columns: 1.2fr auto auto auto;
    gap: 18px;
    align-items: center;
    padding: 14px 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--player-bg-start, rgba(8, 21, 35, 0.82)) 0%, var(--player-bg-end, rgba(20, 50, 82, 0.82)) 100%);
    border: 0;
    box-shadow: 0 20px 40px rgba(4, 10, 20, 0.34);
    backdrop-filter: blur(18px);
    color: var(--player-text);
    transform: translateX(-50%);
}
.radio-player__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.radio-player__brand img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 18px;
    border: 0;
    box-shadow: 0 10px 24px rgba(4, 10, 20, 0.12);
}
.radio-player__brand strong,
.radio-player__brand span {
    display: block;
}
.radio-player__brand strong {
    color: var(--player-text);
}
.radio-player__brand span {
    color: var(--player-muted);
    font-size: 0.92rem;
}
.radio-player__controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.radio-player .button span {
    display: none;
}
.radio-player .button {
    min-width: 40px;
    width: 40px;
    min-height: 40px;
    height: 40px;
    padding: 0;
    border-radius: 999px;
    box-shadow: none;
}
.radio-player .button-light {
    background: var(--player-control);
    border-color: var(--player-control-border);
}
.radio-player .button-light,
.radio-player .button-light i,
.radio-player .button-light span {
    color: #fff;
}
.radio-player .button-primary,
.radio-player .button-primary i,
.radio-player .button-primary span {
    color: #fff !important;
}
.radio-player__controls input[type="range"] {
    width: 110px;
    accent-color: var(--primary);
}
.radio-player select {
    min-width: 200px;
    min-height: 40px;
    border-radius: 999px;
    border: 0;
    background: var(--player-select-bg);
    color: var(--player-select-text);
    padding: 10px 14px;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px var(--player-border);
}
.radio-player select option {
    color: var(--player-select-text);
    background: var(--player-surface-strong);
}
.radio-eq {
    display: flex;
    gap: 4px;
    align-items: end;
    height: 34px;
}
.radio-eq span {
    width: 4px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #62dcff, #1282ff);
    opacity: 0.5;
}
.radio-player.is-playing .radio-eq span {
    animation: equalize 1s ease-in-out infinite;
    opacity: 1;
}
.radio-player.is-playing .radio-eq span:nth-child(2) { animation-delay: 0.12s; }
.radio-player.is-playing .radio-eq span:nth-child(3) { animation-delay: 0.24s; }
.radio-player.is-playing .radio-eq span:nth-child(4) { animation-delay: 0.36s; }
.radio-player.is-playing .radio-eq span:nth-child(5) { animation-delay: 0.48s; }

@keyframes equalize {
    0%, 100% { height: 10px; }
    50% { height: 32px; }
}

@media (max-width: 1180px) {
    .post-grid,
    .post-grid-4,
    .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
    .hero-grid,
    .admin-grid,
    .panel-grid,
    .editor-layout,
    .post-grid,
    .post-grid-2,
    .post-grid-3,
    .post-grid-4,
    .builder-shell,
    .builder-media-modal__grid,
    .builder-news-grid .builder-news__track,
    .builder-sidebar,
    .builder-sidebar-left,
    .media-grid,
    .form-grid,
    .settings-media-grid,
    .station-grid,
    .day-picker__grid,
    .currency-widget__grid,
    .dashboard-head-inline,
    .brand-copy,
    .toolbar,
    .weather-widget,
    .radio-player,
    .builder-columns__grid,
    .builder-columns__inner,
    .theme-template-grid {
        grid-template-columns: 1fr;
    }
    .public-nav-tools,
    .public-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .admin-grid { display: block; }
    .admin-grid.is-collapsed { grid-template-columns: 1fr; }
    .admin-sidebar {
        position: static;
        inset: auto;
        width: auto;
        height: auto;
        border-right: 0;
        overflow: hidden;
    }
    .admin-main {
        padding: 12px;
        margin-left: 0;
    }
    .panel-card,
    .article-card,
    .empty-state,
    .hero-box,
    .auth-card,
    .installer-card {
        padding: 16px;
    }
    .table th,
    .table td {
        padding: 8px 7px;
    }
    .wa-widget {
        display: none !important;
    }
    .bar,
    .brand-copy,
    .dashboard-head-inline,
    .builder-topbar,
    .radio-player__controls {
        flex-direction: column;
        align-items: stretch;
    }
    .builder-stage__head {
        grid-template-columns: 1fr;
    }
    .builder-sidebar {
        position: static;
        max-height: none;
    }
    .builder-editor.is-sidebar-collapsed .builder-shell {
        grid-template-columns: 1fr;
    }
    .builder-editor.is-sidebar-collapsed .builder-sidebar {
        display: none;
    }
    .editor-side {
        position: static;
    }
    .builder-sidebar__tabs {
        grid-template-columns: 1fr;
    }
    .public-brandbar {
        grid-template-columns: 1fr auto;
    }
    .public-menu-toggle {
        display: inline-flex;
    }
    .public-nav-wrap {
        display: none;
    }
    .public-nav-wrap.is-open {
        display: block;
    }
    .public-nav-row {
        grid-template-columns: 1fr;
        padding-bottom: 14px;
    }
    .public-nav-brand {
        display: none;
    }
    .public-nav {
        flex-direction: column;
        gap: 0;
    }
    .public-nav a {
        padding: 12px 0;
    }
    .public-nav-item > a {
        min-width: 0;
    }
    .public-nav-item--has-children {
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
    }
    .public-subnav {
        position: static;
        display: none;
        min-width: 0;
        margin: 0 0 10px;
        padding: 8px 12px;
        border-radius: 14px;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.04);
    }
    .public-nav-item.is-open .public-subnav {
        display: grid;
    }
    .menu-sort-item--child {
        margin-left: 16px;
    }
    .menu-workbench {
        grid-template-columns: 1fr;
    }
    .menu-workbench__sidebar {
        position: static;
    }
    .footer-widgets-grid,
    .footer-widgets,
    .site-layout,
    .site-layout--sidebar-left {
        grid-template-columns: 1fr;
    }
    .menu-icon-picker__head {
        display: grid;
        align-items: stretch;
    }
    .menu-icon-picker__search {
        min-width: 0;
    }
    .public-topbar__inner,
    .public-topbar__weather {
        flex-direction: row;
        align-items: center;
    }
    .public-topbar__inner {
        grid-template-columns: 1fr auto;
    }
    .public-topbar__social {
        display: none;
    }
    .news-ticker__inner {
        gap: 8px;
    }
    .public-topbar__time {
        display: none;
    }
    .home-cover__hero,
    .home-cover__overlay {
        min-height: 340px;
    }
    .home-cover__overlay {
        padding: 28px 22px;
    }
    .featured-row {
        grid-template-columns: 92px minmax(0, 1fr);
    }
    .radio-player {
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
        max-width: none;
        grid-template-columns: auto 1fr auto;
        gap: 8px;
        padding: 8px 10px;
        border-radius: 18px;
        transform: none;
    }
    .radio-player__brand {
        gap: 8px;
    }
    .radio-player__brand img {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }
    .radio-player__brand div,
    .radio-eq {
        display: none;
    }
    .radio-player__controls {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
    }
    .radio-player__controls .button {
        min-width: 34px;
        width: 34px;
        min-height: 34px;
        height: 34px;
    }
    .radio-player__controls input[type="range"] {
        width: 72px;
    }
    .radio-player select {
        min-width: 0;
        width: 100%;
        min-height: 34px;
        padding: 6px 10px;
        font-size: 0.86rem;
    }
    .media-library-modal__body {
        grid-template-columns: 1fr;
    }
    .header-search { width: 100%; }
    .toast-stack {
        padding: 16px;
    }
    .toast {
        width: min(100%, 100%);
        padding: 18px;
        border-radius: 24px;
    }
    .share-strip .button {
        width: 100%;
    }
    .builder-sidebar {
        position: static;
    }
}
