:root {
    --bg-1: #07111f;
    --bg-2: #0e243b;
    --bg-3: #133b5c;
    --surface: rgba(16, 28, 45, 0.8);
    --surface-strong: rgba(9, 20, 35, 0.82);
    --border: rgba(255, 255, 255, 0.12);
    --text-main: #f4f7fb;
    --text-soft: rgba(255, 255, 255, 0.72);
    --accent: #23c8b3;
    --accent-2: #3e9cff;
    --input-bg: rgba(255, 255, 255, 0.03);
    --input-bg-focus: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.12);
    --input-border-focus: rgba(62, 156, 255, 0.4);
    --input-placeholder: rgba(255, 255, 255, 0.4);
}

body.app-shell {
    min-height: 100vh;
    color: var(--text-main);
    background:
        radial-gradient(circle at 12% 10%, rgba(62, 156, 255, 0.18), transparent 44%),
        radial-gradient(circle at 88% 12%, rgba(35, 200, 179, 0.18), transparent 40%),
        linear-gradient(160deg, var(--bg-1), var(--bg-2) 55%, var(--bg-3));
}

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

.glass-nav {
    background: rgba(7, 17, 31, 0.6);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.glass-nav .navbar-brand,
.glass-nav .navbar-brand:visited {
    color: var(--nav-brand-color, rgba(255, 255, 255, 0.96));
    font-family: var(--nav-brand-font-family, inherit);
    font-size: var(--nav-brand-font-size, 1.25rem);
    font-weight: var(--nav-brand-font-weight, 700);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.glass-nav .navbar-brand:hover,
.glass-nav .navbar-brand:focus {
    color: var(--nav-brand-color, rgba(255, 255, 255, 0.96));
    filter: brightness(1.06);
}

.glass-nav .navbar-brand[data-brand-mode="gradient"],
.glass-nav .navbar-brand[data-brand-mode="gradient"]:visited {
    color: var(--nav-brand-gradient-start, rgba(255, 255, 255, 0.96));
    background: linear-gradient(135deg, var(--nav-brand-gradient-start, #ffffff) 0%, var(--nav-brand-gradient-end, #ffffff) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.glass-nav .navbar-brand[data-brand-mode="gradient"]:hover,
.glass-nav .navbar-brand[data-brand-mode="gradient"]:focus {
    color: var(--nav-brand-gradient-start, rgba(255, 255, 255, 0.96));
}

.glass-nav .navbar-toggler {
    border: 1px solid rgba(62, 156, 255, 0.42);
    background: rgba(7, 17, 31, 0.56);
    border-radius: 0.7rem;
    padding: 0.38rem 0.58rem;
}

.glass-nav .navbar-toggler:hover {
    border-color: rgba(62, 156, 255, 0.72);
    background: rgba(62, 156, 255, 0.16);
}

.glass-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(62, 156, 255, 0.24);
}

.glass-nav .navbar-toggler-icon {
    width: 1.15em;
    height: 1.15em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.96%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.25' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.88);
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: #fff;
}

.content-card,
.tariff-card,
.metric-card,
.hero-banner {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.page-shell .content-card {
    line-height: 1.7;
}

.hero-banner {
    padding: 1.25rem;
}

.eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-soft);
    margin-bottom: 0.75rem;
}

.hero-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 0.85rem;
    padding: 1rem;
}

.tariff-card {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.tariff-card:hover {
    transform: translateY(-2px);
    border-color: rgba(62, 156, 255, 0.35);
}

.billing-plan-card {
    padding: 1.15rem 1.2rem 1.2rem;
    gap: 0.9rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
        radial-gradient(circle at 100% 0%, rgba(35, 200, 179, 0.08), transparent 38%);
}

.billing-plan-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.billing-plan-card__title-box {
    min-width: 0;
}

.billing-plan-card__eyebrow-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.billing-plan-card__code,
.billing-plan-card__type {
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.73rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.billing-plan-card__code {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(234, 244, 255, 0.76);
}

.billing-plan-card__type {
    border: 1px solid rgba(62, 156, 255, 0.22);
    background: rgba(62, 156, 255, 0.12);
    color: #b9ddff;
}

.billing-plan-card__title {
    margin: 0;
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.75rem);
    line-height: 1.05;
    font-weight: 800;
}

.billing-plan-card__subtitle {
    margin: 0.55rem 0 0;
    max-width: 56ch;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.55;
}

.billing-plan-card__price-box {
    position: relative;
    min-width: 120px;
    padding-right: 2.75rem;
    text-align: right;
}

.billing-plan-card__price {
    font-size: clamp(1.4rem, 1.15rem + 0.6vw, 2rem);
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.billing-plan-card__period {
    margin-top: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.9rem;
    margin-left: auto;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.billing-plan-card__status {
    position: absolute;
    top: 0;
    right: 0;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.78);
}

.billing-plan-card__status.is-active {
    border-color: rgba(63, 193, 118, 0.5);
    background: rgba(63, 193, 118, 0.18);
    color: #dcffe8;
}

.billing-plan-card__status.is-blocked {
    border-color: rgba(255, 197, 61, 0.45);
    background: rgba(255, 197, 61, 0.14);
    color: #ffe7a6;
}

.billing-plan-card__status.is-available {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.04);
}

.billing-plan-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 1rem;
    align-items: start;
}

.billing-plan-card__features-panel,
.billing-plan-card__preview-panel {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1rem;
    background: rgba(7, 18, 31, 0.28);
    padding: 1rem;
}

.billing-plan-card__preview-panel {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.billing-plan-card__channels-count {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.9rem;
}

.billing-plan-card__features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.billing-plan-card__feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
}

.billing-plan-card__feature-item i {
    color: #58d083;
    margin-top: 0.1rem;
}

.billing-plan-card__logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 0.7rem;
    align-content: start;
}

.billing-plan-card__logo-tile {
    min-height: 62px;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    display: grid;
    place-items: center;
    padding: 0.35rem 0.45rem;
    overflow: hidden;
}

.billing-plan-card__logo-image {
    display: block;
    width: 100%;
    max-width: 82px;
    max-height: 40px;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.16));
}

.billing-plan-card__logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 28px;
    border-radius: 0.65rem;
    background: linear-gradient(180deg, rgba(62, 156, 255, 0.18), rgba(62, 156, 255, 0.08));
    color: #dff0ff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.billing-plan-card__preview-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.billing-plan-card__preview-more {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.billing-plan-card__actions {
    padding-top: 0.35rem;
}

.billing-plan-card__action-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
}

.billing-plan-card__switch {
    margin: 0;
}

.billing-plan-card__footer-meta {
    min-width: 0;
}

.billing-plan-card__switch-note {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.83rem;
    line-height: 1.45;
}

.billing-plan-card__footer-state {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 0.95rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.92rem;
    line-height: 1.35;
}

.billing-plan-card__footer-state.is-active {
    border-color: rgba(63, 193, 118, 0.28);
    background: rgba(63, 193, 118, 0.12);
    color: #dff8e8;
}

.billing-plan-card__footer-state.is-blocked {
    border-color: rgba(255, 197, 61, 0.28);
    background: rgba(255, 197, 61, 0.1);
    color: #ffe9ae;
}

.billing-plan-card__footer-state i {
    flex: 0 0 auto;
}

.billing-plan-card__connect-btn {
    min-width: 220px;
    align-self: end;
}

.billing-tariff-modal-shell .modal-dialog {
    max-width: 1100px;
}

.billing-tariff-modal__eyebrow {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.billing-tariff-modal__group + .billing-tariff-modal__group {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.billing-tariff-modal__group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.billing-tariff-modal__group-title {
    margin: 0;
    font-weight: 700;
}

.billing-tariff-modal__channel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.billing-tariff-modal__channel-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 108px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 0.85rem;
}

.billing-tariff-modal__channel-icon {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 0;
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.billing-tariff-modal__channel-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

.billing-tariff-modal__channel-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ddf0ff;
}

.billing-tariff-modal__channel-meta {
    min-width: 0;
    display: grid;
    gap: 0.35rem;
}

.billing-tariff-modal__channel-name {
    font-weight: 600;
    line-height: 1.3;
}

.billing-tariff-modal__channel-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.billing-subscribe-confirm-modal {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025)),
        radial-gradient(circle at 100% 0%, rgba(35, 200, 179, 0.1), transparent 44%);
}

.billing-subscribe-confirm__lead {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.billing-subscribe-confirm__summary {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
}

.billing-subscribe-confirm__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.billing-subscribe-confirm__label {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
    line-height: 1.4;
}

.billing-subscribe-confirm__row strong {
    color: #ffffff;
    font-size: 0.98rem;
    line-height: 1.4;
    text-align: right;
}

.billing-tariff-connected-alert {
    background: #d8ebe4;
    border-color: #a9ccc0;
    color: #3f6358;
}

.metric-card {
    padding: 1rem;
}

.metric-icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.75rem;
    display: inline-grid;
    place-items: center;
    margin-bottom: 0.5rem;
    background: rgba(62, 156, 255, 0.15);
    color: #9ed1ff;
}

.metric-value {
    font-size: 1.35rem;
    font-weight: 700;
}

.metric-label {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.inline-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
}

.inline-stat .label {
    color: var(--text-soft);
    font-size: 0.8rem;
}

.inline-stat .value {
    font-weight: 600;
    font-size: 0.85rem;
}

.cabinet-menu .list-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0.4rem;
    border-radius: 0.75rem !important;
}

.cabinet-menu-label {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.cabinet-menu-badge {
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.38rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(62, 156, 255, 0.95), rgba(35, 200, 179, 0.86));
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(17, 84, 182, 0.22);
}

.cabinet-menu .list-group-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.cabinet-menu .list-group-item.active {
    background: linear-gradient(135deg, rgba(62, 156, 255, 0.18), rgba(35, 200, 179, 0.12));
    border-color: rgba(62, 156, 255, 0.35);
    color: #fff;
}

.table-dark {
    --bs-table-bg: rgba(255, 255, 255, 0.02);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.05);
    --bs-table-border-color: rgba(255, 255, 255, 0.08);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.overview-news-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0.95rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.overview-news-link:hover,
.overview-news-link:focus-visible {
    color: #fff;
    border-color: rgba(62, 156, 255, 0.28);
    background: rgba(62, 156, 255, 0.08);
}

.overview-news-link.is-unread {
    border-color: rgba(35, 200, 179, 0.24);
}

.service-news-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.7rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(62, 156, 255, 0.22);
    background: rgba(62, 156, 255, 0.1);
    color: #bfe2ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-news-summary-meta {
    display: flex;
    align-items: center;
}

.service-news-unread-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.service-news-unread-pill.is-unread {
    border-color: rgba(35, 200, 179, 0.28);
    background: rgba(35, 200, 179, 0.11);
    color: #dbfff8;
}

.service-news-ticker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.service-news-ticker-item {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
}

.service-news-ticker-item:hover,
.service-news-ticker-item:focus-visible {
    color: #fff;
    border-color: rgba(62, 156, 255, 0.28);
    background: rgba(62, 156, 255, 0.08);
}

.service-news-ticker-item.is-unread {
    border-color: rgba(35, 200, 179, 0.24);
}

.service-news-ticker-item__title {
    display: block;
    font-weight: 700;
}

.service-news-ticker-item__date {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.82rem;
}

.service-news-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-news-list-item {
    display: block;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.service-news-list-item:hover,
.service-news-list-item:focus-visible {
    color: #fff;
    border-color: rgba(62, 156, 255, 0.28);
    background: rgba(62, 156, 255, 0.08);
    transform: translateY(-1px);
}

.service-news-list-item.is-unread {
    border-color: rgba(35, 200, 179, 0.22);
}

.service-news-list-item.is-active {
    border-color: rgba(62, 156, 255, 0.4);
    background: linear-gradient(135deg, rgba(62, 156, 255, 0.14), rgba(35, 200, 179, 0.08));
}

.service-news-list-item__top,
.service-news-detail-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.service-news-list-item__date,
.service-news-detail-date {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.8rem;
}

.service-news-list-item__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(35, 200, 179, 0.16);
    border: 1px solid rgba(35, 200, 179, 0.26);
    color: #dffff8;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.service-news-list-item__title {
    margin-top: 0.55rem;
    font-weight: 800;
    font-size: 1.02rem;
    line-height: 1.4;
}

.service-news-list-item__excerpt {
    margin-top: 0.45rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    line-height: 1.5;
}

.service-news-empty {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.66);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
}

.service-news-empty i {
    font-size: 2rem;
    color: rgba(62, 156, 255, 0.72);
}

.service-news-empty--detail {
    min-height: 420px;
}

.service-news-detail-title {
    margin-top: 0.85rem;
    margin-bottom: 0;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
}

.service-news-detail-body {
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.68;
}

.service-news-detail-body h1,
.service-news-detail-body h2,
.service-news-detail-body h3,
.service-news-detail-body h4 {
    margin-top: 1.4rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

.service-news-detail-body a {
    color: #8fd0ff;
}

.service-news-detail-body img {
    max-width: 100%;
    height: auto;
}

.service-news-detail-body pre,
.service-news-detail-body code {
    max-width: 100%;
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width: 991.98px) {
    .service-news-ticker {
        grid-template-columns: 1fr;
    }
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.form-control,
.form-select {
    background-color: var(--input-bg);
    border-color: var(--input-border);
    color: var(--text-main);
}

.form-control:focus,
.form-select:focus {
    background-color: var(--input-bg-focus);
    color: var(--text-main);
    border-color: var(--input-border-focus);
    box-shadow: 0 0 0 0.2rem rgba(62, 156, 255, 0.18);
}

:root[data-ui-theme="dark"] .form-select {
    color-scheme: dark;
}

:root[data-ui-theme="dark"] .form-select option,
:root[data-ui-theme="dark"] .form-select optgroup {
    background-color: #0b1f36;
    color: #eef6ff;
}

.form-control::placeholder {
    color: var(--input-placeholder);
}

.modal-content {
    background: linear-gradient(180deg, rgba(16, 28, 45, 0.96), rgba(10, 22, 36, 0.96));
    border: 1px solid var(--border);
    color: #f4f7fb;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.modal-header,
.modal-footer {
    border-color: rgba(255, 255, 255, 0.08);
}

.modal .btn-close {
    filter: invert(1) grayscale(1);
}

.promo-preview-box {
    background: rgba(255, 255, 255, 0.03);
}

@media (prefers-reduced-motion: no-preference) {
    .content-card,
    .tariff-card,
    .metric-card {
        animation: riseIn 0.35s ease both;
    }
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-section {
    --home-accent: #23c8b3;
    --home-accent-2: #3e9cff;
}

.home-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.8rem;
}

.home-section-kicker::before {
    content: "";
    width: 1.25rem;
    height: 1px;
    background: linear-gradient(90deg, var(--home-accent), rgba(35, 200, 179, 0.2));
}

.home-section-title {
    font-size: clamp(1.55rem, 1.1rem + 1.4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
}

.home-section-subtitle {
    color: rgba(255, 255, 255, 0.68);
    max-width: 64ch;
}

.home-hero {
    position: relative;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1.1rem;
    background:
        radial-gradient(circle at 10% 12%, rgba(62, 156, 255, 0.18), transparent 48%),
        radial-gradient(circle at 90% 10%, rgba(35, 200, 179, 0.15), transparent 42%);
    pointer-events: none;
}

.home-hero-carousel {
    position: relative;
}

.home-hero-slide {
    position: relative;
    padding: 1.25rem;
    --home-hero-slide-radius: 1rem;
    border-radius: var(--home-hero-slide-radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        radial-gradient(circle at 20% 0%, rgba(62, 156, 255, 0.13), transparent 60%);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
    overflow: hidden;
    clip-path: inset(0 round var(--home-hero-slide-radius));
    isolation: isolate;
}

.home-hero-slide::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% auto;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35, 200, 179, 0.15), transparent 70%);
    filter: blur(6px);
    pointer-events: none;
}

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

.home-hero-label {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    margin-bottom: 0.9rem;
}

.home-hero-title {
    font-weight: 800;
    line-height: 1.04;
    margin-bottom: 0.9rem;
    font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem);
    letter-spacing: -0.02em;
}

.home-hero-text {
    color: rgba(255, 255, 255, 0.76);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 56ch;
    margin-bottom: 1rem;
}

.home-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dfeeff;
    font-size: 0.85rem;
}

.home-hero-actions .btn {
    min-width: 180px;
}

.home-hero-art {
    position: relative;
    min-height: 320px;
    display: grid;
    place-items: center;
}

.home-hero-art-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(20px);
    opacity: 0.8;
    pointer-events: none;
}

.home-hero-art-glow-a {
    width: 220px;
    height: 220px;
    background: rgba(62, 156, 255, 0.25);
    top: 6%;
    right: 12%;
}

.home-hero-art-glow-b {
    width: 180px;
    height: 180px;
    background: rgba(35, 200, 179, 0.2);
    bottom: 6%;
    left: 10%;
}

.home-hero-panel {
    position: relative;
    z-index: 2;
    width: min(100%, 360px);
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(8px);
}

.home-hero-panel-title {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.home-hero-panel-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.35;
}

.home-hero-panel-item i {
    margin-top: 0.1rem;
    flex: 0 0 auto;
}

.home-hero-panel-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.home-mini-stat {
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    padding: 0.55rem 0.6rem;
    min-height: 62px;
}

.home-mini-stat .label {
    display: block;
    font-size: 0.7rem;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.25rem;
}

.home-mini-stat .value {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

.home-hero-orb {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.22), rgba(62, 156, 255, 0.05) 40%, transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    bottom: 18px;
    right: 18px;
    z-index: 1;
}

.home-carousel-indicators {
    margin-bottom: 0.35rem;
    z-index: 6;
    pointer-events: auto;
}

.home-carousel-indicators [data-bs-target] {
    width: 28px;
    height: 4px;
    border-radius: 999px;
    border: 0;
    background-color: rgba(255, 255, 255, 0.28);
}

.home-carousel-indicators .active {
    background-color: rgba(62, 156, 255, 0.9);
}

:root[data-ui-theme="dark"] .home-carousel-indicators [data-bs-target] {
    opacity: 1;
    background-color: rgba(170, 205, 240, 0.42);
    box-shadow: inset 0 0 0 1px rgba(221, 239, 255, 0.22);
}

:root[data-ui-theme="dark"] .home-carousel-indicators .active {
    background: linear-gradient(90deg, rgba(113, 201, 255, 0.96), rgba(48, 145, 255, 0.98));
    box-shadow:
        0 0 0 1px rgba(143, 213, 255, 0.7),
        0 0 14px rgba(70, 164, 255, 0.5);
}

.home-carousel-controls {
    position: absolute;
    right: 0.8rem;
    top: 0.8rem;
    z-index: 6;
    gap: 0.45rem;
    pointer-events: auto;
}

.home-carousel-btn {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(7, 17, 31, 0.55);
    color: #fff;
    display: grid;
    place-items: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-carousel-btn:hover {
    background: rgba(62, 156, 255, 0.16);
    border-color: rgba(62, 156, 255, 0.4);
    transform: translateY(-1px);
}

.home-pricing-wrap .content-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        radial-gradient(circle at 100% 0%, rgba(62, 156, 255, 0.08), transparent 45%);
}

.home-pricing-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 16px 34px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-pricing-card:hover {
    transform: translateY(-2px);
    border-color: rgba(62, 156, 255, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 20px 44px rgba(0, 0, 0, 0.22);
}

.home-pricing-card--addon {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 204, 102, 0.02)),
        radial-gradient(circle at 100% 0%, rgba(255, 193, 7, 0.08), transparent 45%);
}

.home-pricing-code {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
}

.home-pricing-name {
    font-size: 1.15rem;
    line-height: 1.2;
    margin: 0.15rem 0 0;
}

.home-pricing-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.8rem;
}

.home-pricing-period {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
    border-radius: 0.75rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.home-pricing-period .days {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.home-pricing-period .label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
}

.home-pricing-price {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.home-pricing-description {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0;
    min-height: 2.6rem;
}

.home-pricing-channel-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.home-pricing-channel-count {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2.2rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.84rem;
    line-height: 1.2;
}

.home-pricing-channel-button {
    flex: 0 0 auto;
}

.home-pricing-actions {
    margin-top: auto;
}

.home-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.4rem;
}

.home-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.3;
}

.home-pricing-features i {
    color: #8fe1d8;
    margin-top: 0.05rem;
    flex: 0 0 auto;
}

.home-steps-grid .home-step-card {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012)),
        radial-gradient(circle at 100% 0%, rgba(35, 200, 179, 0.06), transparent 46%);
    padding: 1rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.home-step-number {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(62, 156, 255, 0.3);
    background: rgba(62, 156, 255, 0.12);
    color: #c9e8ff;
    font-weight: 700;
    flex: 0 0 auto;
}

.home-step-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.75rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
}

.home-cta-banner {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 15% 20%, rgba(62, 156, 255, 0.16), transparent 48%),
        radial-gradient(circle at 85% 20%, rgba(35, 200, 179, 0.14), transparent 46%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    padding: 1.25rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.home-cta-banner::after {
    content: "";
    position: absolute;
    inset: auto -70px -70px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(62, 156, 255, 0.22), transparent 70%);
    pointer-events: none;
}

.home-cta-title {
    font-size: clamp(1.6rem, 1.2rem + 1vw, 2.15rem);
    font-weight: 800;
    line-height: 1.1;
}

.home-cta-text {
    color: rgba(255, 255, 255, 0.72);
    max-width: 58ch;
}

.home-news-push-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 12% 16%, rgba(35, 200, 179, 0.12), transparent 42%),
        radial-gradient(circle at 88% 14%, rgba(62, 156, 255, 0.12), transparent 40%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    padding: 1.3rem;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2);
}

.home-news-push-card::after {
    content: "";
    position: absolute;
    inset: auto -56px -56px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35, 200, 179, 0.18), transparent 70%);
    pointer-events: none;
}

.home-news-push-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
}

.home-news-push-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.4rem 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    line-height: 1;
}

.home-news-push-badge.is-pinned {
    border-color: rgba(244, 189, 69, 0.25);
    background: rgba(244, 189, 69, 0.12);
    color: #ffe39c;
}

.home-news-push-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
}

.home-news-push-actions .btn {
    min-width: 220px;
}

.home-news-push-hint {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    line-height: 1.45;
    max-width: 32ch;
}

.account-token-card {
    position: relative;
    overflow: hidden;
}

.account-token-card::after {
    content: none;
}

.account-token-header {
    position: relative;
    z-index: 1;
}

.account-token-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.8rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(62, 156, 255, 0.22);
    background: rgba(62, 156, 255, 0.1);
    color: #bfe2ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.account-token-subtitle {
    margin-top: 0.1rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.58);
    letter-spacing: 0.02em;
}

.account-token-display {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.account-token-value {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
}

.account-token-code {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.45rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(255, 124, 124, 0.2);
    background: rgba(255, 96, 96, 0.07);
    color: #ffe9e9;
    font-size: 1rem;
    letter-spacing: 0.04em;
    font-weight: 700;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
    word-break: break-all;
}

.account-token-copy-btn {
    min-height: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
}

.account-token-copy-btn:hover,
.account-token-copy-btn:focus {
    border-color: rgba(62, 156, 255, 0.28);
    background: rgba(62, 156, 255, 0.08);
}

.account-token-copy-btn:disabled {
    opacity: 0.9;
}

.account-token-form,
.account-token-generate-form {
    position: relative;
    z-index: 1;
}

.account-token-input-group .form-control {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(8, 26, 44, 0.7);
    color: #fff;
}

.account-token-input-group .form-control:focus {
    border-color: rgba(35, 200, 179, 0.42);
    box-shadow: 0 0 0 0.2rem rgba(35, 200, 179, 0.12);
    background: rgba(8, 26, 44, 0.88);
}

.account-token-save-btn {
    border-color: rgba(255, 255, 255, 0.16);
}

.account-token-save-btn:hover,
.account-token-save-btn:focus {
    border-color: rgba(62, 156, 255, 0.28);
    background: rgba(62, 156, 255, 0.08);
}

.account-token-generate-btn {
    min-height: 38px;
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.18);
}

.account-token-footer-note {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    line-height: 1.35;
}

.playlist-template-token-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(10, 26, 42, 0.84), rgba(8, 20, 34, 0.78));
}

.playlist-template-token-reset-form {
    display: flex;
    justify-content: flex-end;
}

.playlist-tvzone-card {
    position: relative;
    overflow: hidden;
}

.playlist-tvzone-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 20%, rgba(62, 156, 255, 0.08), transparent 48%),
        radial-gradient(circle at 88% 20%, rgba(35, 200, 179, 0.07), transparent 50%);
}

.playlist-meta-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.playlist-meta-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.015);
}

.playlist-meta-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.58);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.playlist-meta-value {
    margin-top: 0.15rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
    word-break: break-word;
}

.playlist-meta-note {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.84rem;
}

.playlist-device-limit-badge {
    border: 1px solid rgba(62, 156, 255, 0.24);
    background: rgba(62, 156, 255, 0.1);
    color: #d8ecff;
    font-weight: 600;
}

.playlist-device-connect-promo {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
}

.playlist-device-connect-header {
    max-width: 42rem;
}

.playlist-device-connect-divider {
    width: 100%;
    max-width: 18rem;
    height: 1px;
    margin: 0.2rem 0 0.95rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03));
}

.playlist-device-connect-copy {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.55;
}

.playlist-device-connect-copy p {
    margin: 0 0 0.35rem;
}

.playlist-device-connect-copy p:last-child {
    margin-bottom: 0;
}

.playlist-device-connect-store-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    max-width: 44rem;
}

.playlist-device-store-badge {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(180deg, rgba(32, 36, 46, 0.9), rgba(20, 23, 31, 0.9));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 10px 20px rgba(0, 0, 0, 0.24);
    padding: 0.65rem 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 60px;
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background-color 0.16s ease;
}

.playlist-device-store-badge:hover,
.playlist-device-store-badge:focus-visible {
    color: inherit;
    text-decoration: none;
    border-color: rgba(62, 156, 255, 0.28);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 24px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(62, 156, 255, 0.06);
}

.playlist-device-store-badge:focus-visible {
    outline: none;
}

.playlist-device-store-badge.is-active {
    border-color: rgba(62, 156, 255, 0.34);
    background:
        radial-gradient(circle at 10% 10%, rgba(62, 156, 255, 0.14), transparent 55%),
        linear-gradient(180deg, rgba(32, 36, 46, 0.92), rgba(18, 23, 34, 0.95));
}

.playlist-device-store-badge.is-active .playlist-device-store-icon {
    background: rgba(62, 156, 255, 0.18);
    border-color: rgba(62, 156, 255, 0.28);
}

.playlist-device-store-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    display: inline-grid;
    place-items: center;
    color: #dff0ff;
    background: rgba(62, 156, 255, 0.12);
    border: 1px solid rgba(62, 156, 255, 0.16);
    flex: 0 0 auto;
}

.playlist-device-store-icon i {
    font-size: 1.05rem;
}

.playlist-device-store-text {
    display: grid;
    min-width: 0;
    line-height: 1.15;
}

.playlist-device-store-eyebrow {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.playlist-device-store-name {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    font-size: 1rem;
}

.playlist-device-connect-btn {
    width: fit-content;
    min-width: 240px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 12px 24px rgba(13, 110, 253, 0.2);
}

.tvzone-guide-card {
    position: relative;
    z-index: 1;
}

.tvzone-guide-nav-label {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 0.55rem;
}

.tvzone-guide-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.tvzone-guide-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-size: 0.86rem;
    transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.tvzone-guide-chip:hover,
.tvzone-guide-chip:focus-visible {
    color: #fff;
    text-decoration: none;
    border-color: rgba(62, 156, 255, 0.32);
    background: rgba(62, 156, 255, 0.09);
}

.tvzone-guide-chip:focus-visible {
    outline: none;
}

.tvzone-guide-chip.is-active {
    border-color: rgba(62, 156, 255, 0.34);
    background: rgba(62, 156, 255, 0.14);
    color: #e4f2ff;
    font-weight: 600;
}

.tvzone-guide-info-callout {
    background: rgba(62, 156, 255, 0.12);
    color: rgba(228, 244, 255, 0.95);
}

.tvzone-guide-section {
    scroll-margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tvzone-guide-section.is-active {
    border-color: rgba(62, 156, 255, 0.28);
    box-shadow: 0 14px 28px rgba(7, 16, 36, 0.18), inset 0 0 0 1px rgba(62, 156, 255, 0.05);
}

.tvzone-guide-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
    line-height: 1.2;
}

.tvzone-guide-section-subtitle {
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.85rem;
    line-height: 1.45;
}

.tvzone-guide-step-list {
    padding-left: 1.2rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.55;
}

.tvzone-guide-step-list li + li {
    margin-top: 0.4rem;
}

.tvzone-guide-step-list li::marker {
    color: rgba(62, 156, 255, 0.9);
}

.tvzone-guide-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(62, 156, 255, 0.16);
    background: rgba(62, 156, 255, 0.06);
    color: rgba(223, 240, 255, 0.92);
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
    line-height: 1.45;
}

.tvzone-guide-tip i {
    color: #67b5ff;
    margin-top: 0.05rem;
}

.tvzone-guide-troubleshooting-list {
    padding-left: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.tvzone-guide-troubleshooting-list li + li {
    margin-top: 0.45rem;
}

.tvzone-guide-troubleshooting-list li::marker {
    color: rgba(62, 156, 255, 0.85);
}

.device-connect-page-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1rem;
}

.device-connect-panel {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.95rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.device-connect-panel-title {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
}

.device-connect-panel-subtitle {
    margin-top: 0.15rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.84rem;
    line-height: 1.35;
}

.device-connect-quota-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.device-connect-quota-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.8rem;
    padding: 0.65rem 0.8rem;
    background: rgba(255, 255, 255, 0.015);
    display: grid;
    gap: 0.15rem;
}

.device-connect-quota-item span {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.device-connect-quota-item strong {
    color: rgba(255, 255, 255, 0.96);
    font-size: 1rem;
}

.device-connect-code-input {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(8, 26, 44, 0.7);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    text-align: center;
}

.device-connect-code-input::placeholder {
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.35);
}

.device-connect-code-input:focus {
    border-color: rgba(62, 156, 255, 0.35);
    box-shadow: 0 0 0 0.2rem rgba(62, 156, 255, 0.12);
    background: rgba(8, 26, 44, 0.88);
    color: #fff;
}

.device-connect-submit-btn[disabled] {
    opacity: 0.8;
    cursor: not-allowed;
}

.device-connect-coming-soon {
    background: rgba(13, 202, 240, 0.09);
    color: #d9f6ff;
}

.device-connect-steps {
    margin: 0;
    padding-left: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    display: grid;
    gap: 0.65rem;
    line-height: 1.45;
}

.device-connect-steps li::marker {
    color: #7fc4ff;
    font-weight: 700;
}

.device-connect-device-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.device-connect-device-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.device-connect-device-header {
    padding: 0.8rem 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
}

.device-connect-device-title {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.device-connect-device-body {
    padding: 0.9rem 0.95rem;
}

.device-connect-kv {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    line-height: 1.35;
}

.device-connect-kv + .device-connect-kv {
    margin-top: 0.35rem;
}

.device-connect-kv span {
    color: rgba(255, 255, 255, 0.56);
    min-width: 0;
}

.device-connect-kv strong {
    color: rgba(255, 255, 255, 0.94);
    font-weight: 600;
    text-align: right;
}

.device-connect-kv code {
    color: #cce6ff;
    background: rgba(62, 156, 255, 0.08);
    border: 1px solid rgba(62, 156, 255, 0.14);
    border-radius: 0.45rem;
    padding: 0.15rem 0.35rem;
    max-width: 65%;
    text-align: right;
    word-break: break-all;
}

.device-connect-api-meta-grid {
    margin-top: 0.75rem;
    margin-bottom: 0.8rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.8rem;
    background: rgba(8, 26, 44, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    gap: 0.35rem;
}

.device-connect-inline-form .form-control {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(8, 26, 44, 0.7);
    color: #fff;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.device-connect-inline-form .form-control:focus {
    border-color: rgba(62, 156, 255, 0.35);
    box-shadow: 0 0 0 0.2rem rgba(62, 156, 255, 0.12);
    background: rgba(8, 26, 44, 0.88);
    color: #fff;
}

.multiroom-controls-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.multiroom-panel {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.95rem;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.018);
}

.multiroom-panel-header {
    display: grid;
    gap: 0.15rem;
    margin-bottom: 0.5rem;
}

.multiroom-panel-title {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.02em;
}

.multiroom-panel-subtitle {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.8rem;
    line-height: 1.35;
}

.multiroom-range-shell {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.8rem;
    padding: 0.65rem 0.75rem 0.55rem;
    background: rgba(8, 26, 44, 0.45);
}

.multiroom-range {
    margin: 0;
    --bs-form-range-track-bg: rgba(255, 255, 255, 0.12);
    --bs-form-range-thumb-bg: #23c8b3;
}

.multiroom-range::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(35, 200, 179, 0.16);
}

.multiroom-range::-moz-range-thumb {
    box-shadow: 0 0 0 4px rgba(35, 200, 179, 0.16);
}

.multiroom-range-scale {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
}

.multiroom-range-scale strong {
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.multiroom-range-scale--ticks {
    gap: 0.25rem;
}

.multiroom-range-tick {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    border-radius: 0.45rem;
    padding: 0.15rem 0.25rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
    border: 1px solid transparent;
    background: transparent;
    transition: color 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.multiroom-range-tick.is-active {
    color: rgba(255, 255, 255, 0.96);
    font-weight: 700;
    border-color: rgba(62, 156, 255, 0.22);
    background: rgba(62, 156, 255, 0.08);
}

.multiroom-submit-btn {
    min-width: 112px;
}

.multiroom-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.multiroom-status-item {
    display: grid;
    gap: 0.12rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0.75rem;
    padding: 0.55rem 0.65rem;
    background: rgba(255, 255, 255, 0.015);
    min-width: 0;
}

.multiroom-status-item span {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.multiroom-status-item strong {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.84rem;
    word-break: break-word;
}

.multiroom-price-preview {
    border: 1px dashed rgba(255, 255, 255, 0.11);
    border-radius: 0.8rem;
    padding: 0.65rem 0.75rem;
    background: rgba(255, 255, 255, 0.01);
}

.multiroom-price-rows {
    display: grid;
    gap: 0.45rem;
}

.multiroom-price-rows > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.84rem;
}

.multiroom-price-rows strong {
    color: rgba(255, 255, 255, 0.96);
    font-weight: 700;
}

.playlist-url-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.9rem;
}

.playlist-protocol-toolbar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.02);
}

.playlist-protocol-switch .form-check-input {
    cursor: pointer;
}

.playlist-protocol-switch .form-check-label {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.playlist-protocol-badge {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.94);
    min-width: 66px;
    text-align: center;
}

.playlist-type-block {
    display: grid;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.9rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.015);
}

.playlist-type-header {
    display: grid;
    gap: 0.15rem;
}

.playlist-type-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.02em;
}

.playlist-type-subtitle {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.8rem;
}

.playlist-url-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.85rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.018);
}

.playlist-url-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.88);
}

.playlist-url-input-wrap {
    min-width: 0;
}

.playlist-url-input {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(8, 26, 44, 0.75);
    color: #fff;
    font-size: 0.92rem;
}

.playlist-url-input:focus {
    border-color: rgba(62, 156, 255, 0.32);
    box-shadow: 0 0 0 0.2rem rgba(62, 156, 255, 0.12);
    background: rgba(8, 26, 44, 0.88);
    color: #fff;
}

.playlist-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.playlist-actions .btn {
    white-space: nowrap;
}

.app-toast-stack {
    z-index: 1095;
    top: 76px !important;
    max-width: min(460px, calc(100vw - 1rem));
}

.app-toast-stack .toast {
    width: min(440px, calc(100vw - 1.5rem));
}

.app-toast {
    --app-toast-accent: #7fc4ff;
    --app-toast-accent-soft: rgba(127, 196, 255, 0.2);
    background:
        radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.035), transparent 50%),
        linear-gradient(180deg, rgba(10, 20, 34, 0.94), rgba(8, 16, 28, 0.96));
    color: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 12px 28px rgba(2, 8, 18, 0.34);
    backdrop-filter: blur(14px);
    border-radius: 0.95rem;
    overflow: hidden;
    position: relative;
}

.app-toast::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--app-toast-accent), rgba(255, 255, 255, 0.15));
    opacity: 0.95;
}

.app-toast > .d-flex {
    width: 100%;
}

.app-toast .toast-body {
    flex: 1 1 auto;
    padding: 0.85rem 0.95rem 0.8rem;
    line-height: 1.4;
    min-width: 0;
}

.app-toast .btn-close {
    margin-left: auto;
    opacity: 0.9;
    filter: var(--bs-btn-close-white-filter, invert(1) grayscale(100%) brightness(200%));
    margin-right: 0.5rem !important;
    margin-top: 0.6rem !important;
    padding: 0.4rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.app-toast .btn-close:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.app-toast .btn-close:focus {
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 0 0.18rem rgba(255, 255, 255, 0.12);
}

.auth-recaptcha-note {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        rgba(6, 13, 23, 0.45);
    border-radius: 0.85rem;
    padding: 0.7rem 0.8rem;
}

.auth-recaptcha-note__icon {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7fe4b4;
    background: rgba(127, 228, 180, 0.08);
    border: 1px solid rgba(127, 228, 180, 0.22);
    flex: 0 0 auto;
}

.auth-recaptcha-note__content {
    min-width: 0;
}

.auth-recaptcha-note__title {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.96);
}

.auth-recaptcha-note__text {
    margin-top: 0.12rem;
    font-size: 0.78rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.72);
}

.auth-recaptcha-note__links {
    margin-top: 0.28rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
}

.auth-recaptcha-note__links a {
    color: rgba(147, 206, 255, 0.92);
    text-decoration: none;
}

.auth-recaptcha-note__links a:hover {
    color: #cfe9ff;
    text-decoration: underline;
}

.auth-register-hint {
    color: rgba(255, 255, 255, 0.72);
}

.auth-register-link {
    color: #cfe7ff;
    font-weight: 600;
    text-decoration-color: rgba(207, 231, 255, 0.5);
    text-underline-offset: 2px;
}

.auth-register-link:hover,
.auth-register-link:focus {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.75);
}

.js-auth-recaptcha-form.is-recaptcha-pending button[type="submit"] {
    opacity: 0.85;
}

.support-contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1rem;
}

.support-contact-tile {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 1.35rem 1.25rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        rgba(10, 22, 37, 0.6);
    position: relative;
}

.support-contact-tile::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(58, 179, 247, 0.94), rgba(58, 179, 247, 0.4));
}

.support-contact-tile__icon {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 999px;
    border: 2px solid rgba(58, 179, 247, 0.82);
    color: #31b0f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    background: rgba(58, 179, 247, 0.08);
}

.support-contact-tile__title {
    margin: 0 0 0.6rem;
    font-size: 1.35rem;
    line-height: 1.2;
}

.support-contact-tile__email {
    display: inline-block;
    color: #86d3ff;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 0.85rem;
}

.support-contact-tile__email:hover {
    color: #c7ebff;
    text-decoration: underline;
}

.support-contact-tile__btn {
    min-width: 12.8rem;
}

.support-contact-tile__muted {
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 0.85rem;
}

@media (max-width: 767.98px) {
    .support-contacts-grid {
        grid-template-columns: 1fr;
    }
}

.app-toast-icon {
    font-size: 1rem;
    flex: 0 0 auto;
    color: var(--app-toast-accent);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--app-toast-accent-soft);
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    margin-top: 0.05rem !important;
}

.app-toast--success {
    --app-toast-accent: #53d9a0;
    --app-toast-accent-soft: rgba(83, 217, 160, 0.24);
}

.app-toast--error {
    --app-toast-accent: #ff8787;
    --app-toast-accent-soft: rgba(255, 135, 135, 0.24);
}

.app-toast--warning {
    --app-toast-accent: #ffc96a;
    --app-toast-accent-soft: rgba(255, 201, 106, 0.24);
}

.app-toast--info {
    --app-toast-accent: #7fc4ff;
    --app-toast-accent-soft: rgba(127, 196, 255, 0.24);
}

.app-toast-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.app-toast-progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--app-toast-accent), rgba(255, 255, 255, 0.7));
    transform-origin: left center;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.14);
}

.app-toast.is-showing .app-toast-progress-bar,
.app-toast.show .app-toast-progress-bar {
    animation: appToastProgressShrink var(--app-toast-delay-ms, 15000ms) linear forwards;
}

@keyframes appToastProgressShrink {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

.app-footer {
    padding: 1rem 0 2rem;
}

.app-footer-shell {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.35rem 1.25rem 1rem;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.app-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1.75rem;
}

.app-footer-col {
    min-width: 0;
}

.app-footer-title {
    margin: 0 0 1rem;
    padding-bottom: 0.85rem;
    color: #f8fbff;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.2;
    position: relative;
}

.app-footer-title::before,
.app-footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-2), #4ed1ff);
    box-shadow: 0 0 0 1px rgba(62, 156, 255, 0.15);
}

.app-footer-title::before {
    width: 20px;
}

.app-footer-title::after {
    left: 26px;
    width: 10px;
}

.app-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.app-footer-links li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    min-width: 0;
}

.app-footer-links li::before {
    content: '•';
    color: #3eb3ff;
    font-size: 0.95rem;
    line-height: 1.35;
    flex: 0 0 auto;
}

.app-footer-link {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.app-footer-link:hover,
.app-footer-link:focus-visible {
    color: #ffffff;
    transform: translateX(2px);
}

.app-footer-meta {
    margin-top: 1.1rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.83rem;
}

@media (max-width: 1199.98px) {
    .home-pricing-grid .col-xl-3 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (max-width: 991.98px) {
    .app-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .app-footer-col:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .app-footer {
        padding-top: 0.5rem;
    }

    .app-footer-shell {
        padding: 1.1rem 1rem 0.9rem;
    }

    .app-footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .app-footer-col:last-child {
        grid-column: auto;
    }

    .app-footer-title {
        font-size: 1.05rem;
        margin-bottom: 0.85rem;
    }

    .app-footer-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-hero-slide {
        padding: 1rem;
    }

    .home-hero-actions .btn {
        min-width: 0;
        width: 100%;
    }

    .home-hero-art {
        min-height: 260px;
    }

    .home-news-push-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .home-hero-panel-stats {
        grid-template-columns: 1fr;
    }

    .home-pricing-grid .col-md-6 {
        width: 100%;
    }

    .home-pricing-meta {
        align-items: center;
    }

    .home-pricing-channel-summary {
        align-items: stretch;
    }

    .home-pricing-channel-button {
        width: 100%;
    }

    .home-pricing-description {
        min-height: 0;
    }

    .account-token-display {
        align-items: stretch;
    }

    .account-token-code {
        width: 100%;
        justify-content: center;
    }

    .account-token-copy-btn {
        width: 100%;
        justify-content: center;
    }

    .playlist-meta-grid {
        grid-template-columns: 1fr;
    }

    .playlist-device-connect-store-grid {
        grid-template-columns: 1fr;
    }

    .playlist-device-store-badge {
        min-height: 56px;
    }

    .playlist-device-connect-btn {
        width: 100%;
        min-width: 0;
    }

    .tvzone-guide-chip {
        width: 100%;
    }

    .device-connect-page-grid {
        grid-template-columns: 1fr;
    }

    .device-connect-quota-row {
        grid-template-columns: 1fr;
    }

    .device-connect-device-grid {
        grid-template-columns: 1fr;
    }

    .multiroom-controls-grid {
        grid-template-columns: 1fr;
    }

    .multiroom-status-grid {
        grid-template-columns: 1fr;
    }

    .multiroom-price-rows > div {
        flex-direction: column;
        align-items: flex-start;
    }

    .playlist-protocol-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .playlist-protocol-badge {
        width: 100%;
    }

    .playlist-url-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .playlist-actions {
        justify-content: stretch;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .playlist-actions .btn {
        width: 100%;
    }

    .app-toast-stack {
        top: 68px !important;
        left: 0 !important;
        right: 0 !important;
        max-width: none;
        width: 100%;
        padding: 0.75rem !important;
    }

    .app-toast-stack .toast {
        width: 100%;
        max-width: none;
    }
}

.playlist-editor-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(18, 57, 103, 0.28), rgba(12, 30, 57, 0.42));
}

.playlist-editor-template-management {
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.95rem;
    background: linear-gradient(135deg, rgba(16, 54, 94, 0.34), rgba(8, 24, 45, 0.58));
    display: grid;
    gap: 0.75rem;
}

.playlist-editor-template-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.playlist-editor-template-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.2;
}

.playlist-editor-template-hint {
    margin-top: 0.16rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.35;
}

.playlist-editor-template-controls {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 0.75rem;
    align-items: end;
}

.playlist-editor-template-select-group {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.playlist-editor-template-select-group .form-select {
    min-width: 0;
    border-color: rgba(255, 255, 255, 0.14);
    background-color: rgba(6, 25, 49, 0.68);
    color: #eaf4ff;
}

.playlist-editor-template-select-group .form-select:focus {
    border-color: rgba(66, 165, 245, 0.7);
    box-shadow: 0 0 0 0.18rem rgba(66, 165, 245, 0.2);
}

.playlist-editor-template-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.playlist-editor-template-actions .btn {
    white-space: nowrap;
}

.playlist-editor-page-card {
    border-color: rgba(66, 165, 245, 0.28);
    background:
        radial-gradient(95% 120% at 100% 0%, rgba(23, 121, 176, 0.2), rgba(10, 28, 48, 0)),
        linear-gradient(180deg, rgba(15, 44, 74, 0.56), rgba(7, 24, 43, 0.62));
    backdrop-filter: blur(4px);
}

.playlist-editor-toolbar {
    display: grid;
    grid-template-columns: auto auto minmax(220px, 1fr);
    gap: 0.75rem;
    align-items: end;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.95rem;
    background: linear-gradient(135deg, rgba(17, 62, 104, 0.34), rgba(9, 27, 51, 0.58));
}

.playlist-editor-toolbar-group {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.playlist-editor-toolbar-group .form-select,
.playlist-editor-toolbar-group .form-control {
    min-width: 0;
    border-color: rgba(255, 255, 255, 0.14);
    background-color: rgba(6, 25, 49, 0.68);
    color: #eaf4ff;
}

.playlist-editor-toolbar-group .form-select:focus,
.playlist-editor-toolbar-group .form-control:focus {
    border-color: rgba(66, 165, 245, 0.7);
    box-shadow: 0 0 0 0.18rem rgba(66, 165, 245, 0.2);
}

.playlist-editor-toolbar-group-search {
    min-width: 220px;
}

.playlist-editor-toolbar-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}

.playlist-editor-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.playlist-editor-filter-pill {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.88);
    padding: 0.32rem 0.62rem;
    border-radius: 999px;
    font-size: 0.78rem;
    line-height: 1.2;
    transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.playlist-editor-filter-pill:hover {
    border-color: rgba(66, 165, 245, 0.55);
    background: rgba(32, 103, 168, 0.22);
}

.playlist-editor-filter-pill.is-active {
    border-color: rgba(66, 165, 245, 0.75);
    background: rgba(33, 120, 198, 0.36);
    color: #fff;
}

.playlist-editor-actions-row {
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.02);
}

.playlist-editor-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.playlist-editor-sidebar {
    display: grid;
    gap: 0.5rem;
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.2rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(66, 165, 245, 0.55) rgba(255, 255, 255, 0.06);
}

.playlist-editor-sidebar::-webkit-scrollbar {
    width: 7px;
}

.playlist-editor-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
}

.playlist-editor-sidebar::-webkit-scrollbar-thumb {
    background: rgba(66, 165, 245, 0.55);
    border-radius: 999px;
}

.playlist-editor-category-tab {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(9, 35, 66, 0.76), rgba(4, 19, 38, 0.74));
    color: rgba(255, 255, 255, 0.9);
    border-radius: 0.85rem;
    padding: 0.58rem 0.7rem;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    min-height: 48px;
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.playlist-editor-category-tab-drag {
    width: 22px;
    height: 22px;
    border-radius: 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.62);
    flex: 0 0 auto;
    cursor: grab;
    touch-action: none;
}

.playlist-editor-category-tab-drag.is-disabled {
    opacity: 0.45;
    cursor: default;
}

.js-playlist-editor-form[data-drag-sort-enabled="0"] .playlist-editor-category-tab-drag,
.js-playlist-editor-form[data-drag-sort-enabled="0"] .playlist-editor-channel-drag-handle {
    display: none;
}

.playlist-editor-drag-placeholder-category {
    width: 100%;
    border: 1px dashed rgba(66, 165, 245, 0.7);
    background: rgba(66, 165, 245, 0.12);
    border-radius: 0.85rem;
    min-height: 48px;
    position: relative;
    pointer-events: none;
}

.playlist-editor-drag-placeholder-category::after {
    content: '';
    position: absolute;
    inset: 0.28rem;
    border-radius: 0.62rem;
    border: 1px dashed rgba(66, 165, 245, 0.45);
}

.playlist-editor-category-tab.is-dragging {
    opacity: 0.78;
    transform: scale(0.985);
}

.playlist-editor-category-tab.is-drag-origin {
    opacity: 0 !important;
    pointer-events: none;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-width: 0 !important;
    overflow: hidden !important;
}

.playlist-editor-category-tab.is-drop-target {
    border-color: rgba(66, 165, 245, 0.75);
    box-shadow: inset 0 0 0 1px rgba(66, 165, 245, 0.24), 0 0 0 2px rgba(66, 165, 245, 0.14);
}

.playlist-editor-category-tab:hover {
    border-color: rgba(66, 165, 245, 0.55);
    background: rgba(7, 30, 60, 0.62);
}

.playlist-editor-category-tab.is-active {
    border-color: rgba(66, 165, 245, 0.7);
    background: linear-gradient(135deg, rgba(17, 72, 138, 0.55), rgba(8, 36, 72, 0.76));
    box-shadow: inset 0 0 0 1px rgba(66, 165, 245, 0.2);
}

.playlist-editor-category-tab-name {
    font-weight: 600;
    line-height: 1.15;
}

.playlist-editor-category-tab-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.playlist-editor-category-tab-count {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 0.18rem 0.42rem;
}

.playlist-editor-category-tab-check {
    width: 24px;
    height: 24px;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #b8ffd3;
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.playlist-editor-category-tab-check.is-visible {
    opacity: 1;
    transform: scale(1);
}

.playlist-editor-panels {
    min-width: 0;
}

.playlist-editor-panel {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(8, 31, 57, 0.44), rgba(7, 24, 47, 0.62));
    padding: 1rem;
}

.playlist-editor-panel-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.playlist-editor-category-master-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 0.9rem;
    border-radius: 0.75rem;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
}

.playlist-editor-category-master-row .form-check-input {
    margin: 0;
    float: none;
    flex-shrink: 0;
}

.playlist-editor-category-master-row .form-check-label {
    margin: 0;
    line-height: 1.25;
}

.playlist-editor-channel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

@media (min-width: 1500px) {
    .playlist-editor-channel-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.playlist-editor-channel-card {
    display: block;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.85rem;
    background: linear-gradient(145deg, rgba(22, 63, 99, 0.24), rgba(255, 255, 255, 0.02));
    padding: 0.58rem 3.65rem 0.58rem 0.62rem;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.16s ease, background-color 0.16s ease;
}

.js-playlist-editor-form.is-channel-dragging .playlist-editor-channel-card,
.js-playlist-editor-form.is-channel-dragging .playlist-editor-channel-card:hover,
.js-playlist-editor-form.is-channel-dragging .playlist-editor-channel-card.is-drop-target,
.js-playlist-editor-form.is-channel-dragging .playlist-editor-drag-placeholder-channel {
    transition: none !important;
}

.playlist-editor-channel-card.is-dragging {
    opacity: 0.75;
    transform: scale(0.985);
    box-shadow: 0 12px 26px rgba(5, 18, 34, 0.35);
}

.playlist-editor-drag-ghost {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    pointer-events: none;
    opacity: 0.84;
    transform: translate3d(-9999px, -9999px, 0);
    box-shadow: 0 16px 34px rgba(2, 10, 22, 0.52);
}

.playlist-editor-drag-ghost * {
    pointer-events: none !important;
}

.playlist-editor-channel-card.is-drag-origin {
    opacity: 0.44 !important;
    filter: grayscale(0.95) saturate(0.25);
    pointer-events: none;
    border-color: rgba(168, 184, 204, 0.35) !important;
    background: linear-gradient(145deg, rgba(116, 134, 156, 0.22), rgba(66, 84, 106, 0.14)) !important;
    box-shadow: none !important;
    transform: none !important;
}

.playlist-editor-channel-card.is-drag-origin .playlist-editor-channel-name,
.playlist-editor-channel-card.is-drag-origin .playlist-editor-channel-subline {
    color: rgba(214, 226, 241, 0.72) !important;
}

.playlist-editor-channel-card.is-drop-target {
    border-color: rgba(66, 165, 245, 0.72);
    box-shadow: inset 0 0 0 1px rgba(66, 165, 245, 0.24), 0 0 0 2px rgba(66, 165, 245, 0.14);
}

.playlist-editor-drag-placeholder-channel {
    border: 1px dashed rgba(66, 165, 245, 0.72);
    background: rgba(66, 165, 245, 0.12);
    border-radius: 0.85rem;
    min-height: 52px;
    position: relative;
    pointer-events: none;
}

.playlist-editor-drag-placeholder-channel::after {
    content: '';
    position: absolute;
    inset: 0.3rem;
    border-radius: 0.62rem;
    border: 1px dashed rgba(66, 165, 245, 0.5);
}

.playlist-editor-channel-card[hidden] {
    display: none !important;
}

.playlist-editor-channel-card:hover {
    border-color: rgba(66, 165, 245, 0.45);
    background: linear-gradient(145deg, rgba(20, 81, 134, 0.28), rgba(14, 49, 90, 0.26));
}

.playlist-editor-channel-card:has(.playlist-editor-channel-checkbox:checked) {
    border-color: rgba(66, 165, 245, 0.8);
    box-shadow: inset 0 0 0 1px rgba(66, 165, 245, 0.35);
    background: linear-gradient(145deg, rgba(23, 98, 163, 0.34), rgba(10, 40, 75, 0.44));
}

.playlist-editor-channel-card.is-selected {
    border-color: rgba(66, 165, 245, 0.8);
    box-shadow: inset 0 0 0 1px rgba(66, 165, 245, 0.35);
    background: linear-gradient(145deg, rgba(23, 98, 163, 0.34), rgba(10, 40, 75, 0.44));
}

.playlist-editor-channel-card.is-locked {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
    cursor: not-allowed;
    opacity: 0.9;
}

.playlist-editor-channel-card.is-locked:hover {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
}

.playlist-editor-channel-card-body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.48rem;
    align-items: center;
    padding-top: 0;
    padding-left: 0.95rem;
}

.playlist-editor-channel-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
    margin: 0;
}

.playlist-editor-channel-selected-indicator {
    position: absolute;
    top: 0.34rem;
    right: 3.45rem;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.64rem;
    border: 1px solid rgba(66, 165, 245, 0.45);
    color: #d7ecff;
    background: rgba(7, 35, 66, 0.62);
    opacity: 0;
    transform: scale(0.93);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.playlist-editor-channel-drag-handle {
    position: absolute;
    top: 0.34rem;
    left: 0.34rem;
    width: 20px;
    height: 20px;
    border-radius: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(7, 35, 66, 0.62);
    color: rgba(255, 255, 255, 0.62);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 0.64rem;
    z-index: 2;
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.playlist-editor-channel-drag-handle.is-disabled {
    opacity: 0.45;
    cursor: default;
}

.playlist-editor-channel-favorite-btn {
    position: absolute;
    top: 0.34rem;
    right: 0.34rem;
    left: auto;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(7, 35, 66, 0.62);
    color: rgba(255, 255, 255, 0.72);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    font-size: 0.62rem;
    z-index: 2;
    transform: none;
    transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.playlist-editor-channel-manage-btn {
    position: absolute;
    top: 0.34rem;
    right: 1.88rem;
    width: 20px;
    height: 20px;
    border-radius: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(7, 35, 66, 0.62);
    color: rgba(255, 255, 255, 0.72);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    font-size: 0.62rem;
    z-index: 2;
    transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, opacity 0.16s ease;
}

.playlist-editor-channel-manage-btn:hover {
    border-color: rgba(66, 165, 245, 0.75);
    color: #bfe4ff;
    background: rgba(28, 99, 162, 0.48);
}

.playlist-editor-channel-manage-btn:disabled {
    opacity: 0.45;
    cursor: default;
}

.playlist-editor-channel-card:not(:has(.playlist-editor-channel-favorite-btn)) .playlist-editor-channel-manage-btn {
    right: 0.34rem;
}

.playlist-editor-channel-card:not(:has(.playlist-editor-channel-manage-btn)) .playlist-editor-channel-selected-indicator {
    right: 1.95rem;
}

.playlist-editor-channel-favorite-btn:hover {
    border-color: rgba(255, 214, 10, 0.7);
    color: #ffe37a;
}

.playlist-editor-channel-favorite-btn.is-active {
    color: #ffd341;
    border-color: rgba(255, 211, 65, 0.75);
    background: rgba(114, 83, 5, 0.45);
}

.playlist-editor-channel-favorite-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.45);
    background: rgba(7, 35, 66, 0.5);
    pointer-events: none;
}

.playlist-editor-channel-card.is-selected .playlist-editor-channel-selected-indicator,
.playlist-editor-channel-card:has(.playlist-editor-channel-checkbox:checked) .playlist-editor-channel-selected-indicator {
    opacity: 1;
    transform: scale(1);
}

.playlist-editor-channel-picon {
    width: 30px;
    height: 30px;
    border-radius: 0.5rem;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.08rem;
    flex-shrink: 0;
}

.playlist-editor-channel-picon-placeholder {
    width: 30px;
    height: 30px;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(66, 165, 245, 0.14);
    color: rgba(255, 255, 255, 0.75);
    flex-shrink: 0;
}

.playlist-editor-channel-meta {
    display: grid;
    min-width: 0;
}

.playlist-editor-channel-name {
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
}

.playlist-editor-channel-subline {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    line-height: 1.2;
}

.playlist-editor-channel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    margin-top: 0.22rem;
}

.playlist-editor-channel-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    font-size: 0.68rem;
    line-height: 1.2;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.05);
}

.playlist-editor-channel-tag-adult {
    border-color: rgba(255, 99, 71, 0.45);
    background: rgba(255, 99, 71, 0.12);
    color: #ffd7cf;
    font-weight: 700;
}

.playlist-editor-channel-tag-locked {
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.1);
    color: #ffe8a3;
}

.playlist-editor-category-manage-btn {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.playlist-editor-modal-content {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(150deg, rgba(10, 35, 64, 0.96), rgba(6, 23, 43, 0.98));
    color: #eff6ff;
}

.playlist-editor-modal-content .modal-header,
.playlist-editor-modal-content .modal-footer {
    border-color: rgba(255, 255, 255, 0.1);
}

.playlist-editor-modal-content .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.playlist-editor-modal-content .btn-close:hover {
    opacity: 1;
}

.playlist-editor-modal-content .form-control,
.playlist-editor-modal-content .form-select {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(8, 33, 62, 0.84);
    color: #f2f8ff;
}

.playlist-editor-modal-content .form-control:focus,
.playlist-editor-modal-content .form-select:focus {
    border-color: rgba(66, 165, 245, 0.75);
    box-shadow: 0 0 0 0.18rem rgba(66, 165, 245, 0.24);
    background: rgba(10, 39, 71, 0.92);
}

.playlist-editor-modal-content .form-text {
    color: rgba(255, 255, 255, 0.68);
}

:root[data-ui-theme="light"] {
    --bg-1: #f3f8fd;
    --bg-2: #e8f1f9;
    --bg-3: #dce9f5;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-strong: rgba(255, 255, 255, 0.96);
    --border: rgba(19, 59, 95, 0.16);
    --text-main: #10263f;
    --text-soft: rgba(16, 38, 63, 0.68);
    --accent: #1baad1;
    --accent-2: #2a90f6;
    --input-bg: rgba(255, 255, 255, 0.94);
    --input-bg-focus: rgba(255, 255, 255, 1);
    --input-border: rgba(19, 59, 95, 0.2);
    --input-border-focus: rgba(42, 144, 246, 0.42);
    --input-placeholder: rgba(16, 38, 63, 0.48);
    color-scheme: light;
}

:root[data-ui-theme="light"] body.app-shell {
    color: var(--text-main);
    background:
        radial-gradient(circle at 12% 8%, rgba(42, 144, 246, 0.13), transparent 44%),
        radial-gradient(circle at 88% 10%, rgba(27, 170, 209, 0.12), transparent 42%),
        linear-gradient(160deg, var(--bg-1), var(--bg-2) 52%, var(--bg-3));
}

:root[data-ui-theme="light"] .app-background {
    background-image:
        linear-gradient(rgba(16, 38, 63, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 38, 63, 0.045) 1px, transparent 1px);
    opacity: 0.45;
}

:root[data-ui-theme="light"] .glass-nav {
    background: rgba(247, 251, 255, 0.88);
    border-bottom: 1px solid rgba(19, 59, 95, 0.14);
}

:root[data-ui-theme="light"] .glass-nav .navbar-brand,
:root[data-ui-theme="light"] .glass-nav .navbar-brand:visited {
    color: #15334f;
    text-shadow: none;
}

:root[data-ui-theme="light"] .glass-nav .navbar-toggler {
    border-color: rgba(25, 86, 139, 0.33);
    background: rgba(255, 255, 255, 0.76);
}

:root[data-ui-theme="light"] .glass-nav .navbar-toggler:hover {
    border-color: rgba(25, 86, 139, 0.55);
    background: rgba(42, 144, 246, 0.12);
}

:root[data-ui-theme="light"] .glass-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(42, 144, 246, 0.2);
}

:root[data-ui-theme="light"] .glass-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2816,38,63,0.92%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

:root[data-ui-theme="light"] .navbar .nav-link {
    color: rgba(16, 38, 63, 0.8);
}

:root[data-ui-theme="light"] .navbar .nav-link.active,
:root[data-ui-theme="light"] .navbar .nav-link:hover {
    color: #0f2f4f;
}

:root[data-ui-theme="light"] .glass-nav .btn-outline-light {
    color: #173855;
    border-color: rgba(19, 59, 95, 0.25);
    background: rgba(255, 255, 255, 0.65);
}

:root[data-ui-theme="light"] .glass-nav .btn-outline-light:hover,
:root[data-ui-theme="light"] .glass-nav .btn-outline-light:focus {
    color: #0f2e4b;
    border-color: rgba(42, 144, 246, 0.4);
    background: rgba(42, 144, 246, 0.12);
}

:root[data-ui-theme="light"] .glass-nav .dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(19, 59, 95, 0.18);
    box-shadow: 0 14px 34px rgba(12, 42, 72, 0.14);
}

:root[data-ui-theme="light"] .glass-nav .dropdown-item {
    color: #153653;
}

:root[data-ui-theme="light"] .glass-nav .dropdown-item:hover,
:root[data-ui-theme="light"] .glass-nav .dropdown-item:focus {
    color: #102d48;
    background: rgba(42, 144, 246, 0.1);
}

:root[data-ui-theme="light"] .glass-nav .dropdown-item.active {
    color: #0f2e4a;
    background: rgba(42, 144, 246, 0.16);
}

:root[data-ui-theme="light"] .support-contact-tile {
    border-color: rgba(19, 59, 95, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.95)),
        rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 30px rgba(22, 62, 102, 0.09);
}

:root[data-ui-theme="light"] .support-contact-tile__title {
    color: #0f2f4c;
}

:root[data-ui-theme="light"] .support-contact-tile__email {
    color: #517197;
}

:root[data-ui-theme="light"] .support-contact-tile__email:hover {
    color: #264c73;
}

:root[data-ui-theme="light"] .support-contact-tile__muted {
    color: rgba(16, 38, 63, 0.58);
}

:root[data-ui-theme="light"] .content-card,
:root[data-ui-theme="light"] .tariff-card,
:root[data-ui-theme="light"] .metric-card,
:root[data-ui-theme="light"] .hero-banner,
:root[data-ui-theme="light"] .home-pricing-card,
:root[data-ui-theme="light"] .home-steps-grid .home-step-card,
:root[data-ui-theme="light"] .home-cta-banner,
:root[data-ui-theme="light"] .playlist-editor-page-card,
:root[data-ui-theme="light"] .playlist-editor-toolbar,
:root[data-ui-theme="light"] .playlist-editor-sidebar,
:root[data-ui-theme="light"] .playlist-editor-panel,
:root[data-ui-theme="light"] .playlist-editor-category-tab,
:root[data-ui-theme="light"] .playlist-editor-category-master-row,
:root[data-ui-theme="light"] .playlist-editor-channel-card,
:root[data-ui-theme="light"] .playlist-meta-item,
:root[data-ui-theme="light"] .multiroom-panel,
:root[data-ui-theme="light"] .multiroom-range-shell,
:root[data-ui-theme="light"] .multiroom-status-item,
:root[data-ui-theme="light"] .multiroom-price-preview,
:root[data-ui-theme="light"] .device-connect-panel,
:root[data-ui-theme="light"] .device-connect-quota-item,
:root[data-ui-theme="light"] .device-connect-device-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 251, 255, 0.94));
    border-color: rgba(19, 59, 95, 0.14);
    box-shadow: 0 14px 34px rgba(22, 62, 102, 0.08);
    color: var(--text-main);
}

:root[data-ui-theme="light"] .home-section-kicker {
    color: rgba(16, 38, 63, 0.72);
}

:root[data-ui-theme="light"] .home-section-kicker::before {
    background: linear-gradient(90deg, rgba(42, 144, 246, 0.78), rgba(27, 170, 209, 0.28));
}

:root[data-ui-theme="light"] .home-section-subtitle {
    color: rgba(16, 38, 63, 0.66);
}

:root[data-ui-theme="light"] .home-step-number {
    border-color: rgba(42, 144, 246, 0.34);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.96));
    color: #1b5f97;
    box-shadow: 0 8px 18px rgba(42, 144, 246, 0.14);
}

:root[data-ui-theme="light"] .home-hero-slide {
    border-color: rgba(19, 59, 95, 0.16);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.97), rgba(245, 251, 255, 0.95)),
        radial-gradient(circle at 20% 0%, rgba(42, 144, 246, 0.12), transparent 60%);
    box-shadow: 0 20px 48px rgba(22, 62, 102, 0.12);
}

:root[data-ui-theme="light"] .home-hero-slide::after {
    background: radial-gradient(circle, rgba(27, 170, 209, 0.14), transparent 72%);
}

:root[data-ui-theme="light"] .home-hero-label {
    border-color: rgba(19, 59, 95, 0.22);
    background: rgba(42, 144, 246, 0.08);
    color: rgba(16, 38, 63, 0.86);
}

:root[data-ui-theme="light"] .home-hero-title {
    color: rgba(16, 38, 63, 0.98);
}

:root[data-ui-theme="light"] .home-hero-text {
    color: rgba(16, 38, 63, 0.8);
}

:root[data-ui-theme="light"] .home-hero-chip {
    border-color: rgba(19, 59, 95, 0.2);
    background: rgba(42, 144, 246, 0.08);
    color: rgba(16, 38, 63, 0.9);
}

:root[data-ui-theme="light"] .home-hero-panel {
    border-color: rgba(19, 59, 95, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 255, 0.95));
    box-shadow: 0 18px 42px rgba(22, 62, 102, 0.14);
}

:root[data-ui-theme="light"] .home-hero-panel-title {
    color: rgba(16, 38, 63, 0.95);
}

:root[data-ui-theme="light"] .home-hero-panel-item {
    color: rgba(16, 38, 63, 0.82);
}

:root[data-ui-theme="light"] .home-hero-panel-item i {
    color: rgba(27, 106, 178, 0.9) !important;
}

:root[data-ui-theme="light"] .home-mini-stat {
    border-color: rgba(19, 59, 95, 0.18);
    background: rgba(255, 255, 255, 0.86);
}

:root[data-ui-theme="light"] .home-mini-stat .label {
    color: rgba(16, 38, 63, 0.58);
}

:root[data-ui-theme="light"] .home-mini-stat .value {
    color: rgba(16, 38, 63, 0.94);
}

:root[data-ui-theme="light"] .home-hero-orb {
    border-color: rgba(19, 59, 95, 0.18);
    background:
        radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), rgba(42, 144, 246, 0.12) 46%, transparent 72%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 247, 255, 0.9));
}

:root[data-ui-theme="light"] .home-carousel-indicators [data-bs-target] {
    background-color: rgba(16, 38, 63, 0.22);
}

:root[data-ui-theme="light"] .home-carousel-indicators .active {
    background-color: rgba(42, 144, 246, 0.92);
}

:root[data-ui-theme="light"] .home-carousel-btn {
    border-color: rgba(19, 59, 95, 0.22);
    background: rgba(255, 255, 255, 0.94);
    color: rgba(16, 38, 63, 0.86);
}

:root[data-ui-theme="light"] .home-carousel-btn:hover {
    background: rgba(42, 144, 246, 0.14);
    border-color: rgba(42, 144, 246, 0.45);
    color: rgba(16, 38, 63, 0.95);
}

:root[data-ui-theme="light"] .home-news-push-card {
    border-color: rgba(19, 59, 95, 0.16);
    background:
        radial-gradient(circle at 12% 16%, rgba(27, 170, 209, 0.1), transparent 42%),
        radial-gradient(circle at 88% 14%, rgba(42, 144, 246, 0.1), transparent 40%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.97), rgba(245, 251, 255, 0.95));
    box-shadow: 0 18px 42px rgba(22, 62, 102, 0.11);
}

:root[data-ui-theme="light"] .home-news-push-badge {
    border-color: rgba(19, 59, 95, 0.16);
    background: rgba(255, 255, 255, 0.86);
    color: rgba(16, 38, 63, 0.76);
}

:root[data-ui-theme="light"] .home-news-push-badge.is-pinned {
    border-color: rgba(203, 137, 32, 0.22);
    background: rgba(255, 201, 93, 0.18);
    color: #8a5712;
}

:root[data-ui-theme="light"] .home-news-push-hint {
    color: rgba(16, 38, 63, 0.66);
}

:root[data-ui-theme="light"] .playlist-device-store-badge {
    background: linear-gradient(180deg, rgba(252, 254, 255, 0.98), rgba(244, 249, 255, 0.98));
    border-color: rgba(19, 59, 95, 0.16);
    box-shadow: 0 10px 22px rgba(22, 62, 102, 0.1);
}

:root[data-ui-theme="light"] .playlist-device-store-badge:hover,
:root[data-ui-theme="light"] .playlist-device-store-badge:focus-visible {
    border-color: rgba(42, 144, 246, 0.35);
    box-shadow: 0 12px 24px rgba(22, 62, 102, 0.14), 0 0 0 1px rgba(42, 144, 246, 0.08);
}

:root[data-ui-theme="light"] .playlist-editor-channel-card {
    background: linear-gradient(145deg, rgba(238, 246, 255, 0.95), rgba(255, 255, 255, 0.95));
}

:root[data-ui-theme="light"] .playlist-editor-channel-card:hover {
    background: linear-gradient(145deg, rgba(224, 240, 255, 0.98), rgba(242, 250, 255, 0.98));
    border-color: rgba(42, 144, 246, 0.46);
}

:root[data-ui-theme="light"] .playlist-editor-channel-card.is-selected,
:root[data-ui-theme="light"] .playlist-editor-channel-card:has(.playlist-editor-channel-checkbox:checked) {
    background: linear-gradient(145deg, rgba(185, 224, 255, 0.72), rgba(208, 235, 255, 0.74));
    border-color: rgba(42, 144, 246, 0.72);
    box-shadow: inset 0 0 0 1px rgba(42, 144, 246, 0.28);
}

:root[data-ui-theme="light"] .playlist-editor-channel-card.is-locked {
    background: rgba(245, 250, 255, 0.9);
    border-color: rgba(19, 59, 95, 0.12);
}

:root[data-ui-theme="light"] .playlist-editor-channel-selected-indicator {
    color: #1a5586;
    border-color: rgba(42, 144, 246, 0.5);
    background: rgba(255, 255, 255, 0.92);
}

:root[data-ui-theme="light"] .playlist-editor-channel-favorite-btn {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(19, 59, 95, 0.2);
    color: rgba(16, 38, 63, 0.72);
}

:root[data-ui-theme="light"] .playlist-editor-channel-tag {
    border-color: rgba(19, 59, 95, 0.2);
    color: rgba(16, 38, 63, 0.82);
    background: rgba(42, 144, 246, 0.06);
}

:root[data-ui-theme="light"] .playlist-editor-channel-tag-adult {
    border-color: rgba(220, 92, 72, 0.45);
    background: rgba(255, 99, 71, 0.18);
    color: #8f2f27;
}

:root[data-ui-theme="light"] .playlist-editor-channel-tag-locked {
    border-color: rgba(206, 154, 12, 0.45);
    background: rgba(255, 193, 7, 0.2);
    color: #795a00;
}

:root[data-ui-theme="light"] .playlist-editor-page-card {
    border-color: rgba(19, 59, 95, 0.16);
    background:
        radial-gradient(95% 120% at 100% 0%, rgba(42, 144, 246, 0.12), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.95));
    backdrop-filter: none;
}

:root[data-ui-theme="light"] .playlist-editor-note {
    color: rgba(16, 38, 63, 0.82);
    border-color: rgba(19, 59, 95, 0.14);
    background: linear-gradient(135deg, rgba(228, 240, 252, 0.9), rgba(239, 247, 255, 0.94));
}

:root[data-ui-theme="light"] .playlist-editor-template-management {
    border-color: rgba(19, 59, 95, 0.14);
    background: linear-gradient(135deg, rgba(245, 251, 255, 0.96), rgba(236, 246, 255, 0.96));
}

:root[data-ui-theme="light"] .playlist-editor-template-title {
    color: rgba(16, 38, 63, 0.9);
}

:root[data-ui-theme="light"] .playlist-editor-template-hint {
    color: rgba(16, 38, 63, 0.68);
}

:root[data-ui-theme="light"] .playlist-editor-template-select-group .form-select {
    border-color: rgba(19, 59, 95, 0.2);
    background-color: rgba(255, 255, 255, 0.97);
    color: rgba(16, 38, 63, 0.95);
}

:root[data-ui-theme="light"] .playlist-editor-template-select-group .form-select:focus {
    border-color: rgba(42, 144, 246, 0.55);
    box-shadow: 0 0 0 0.18rem rgba(42, 144, 246, 0.16);
}

:root[data-ui-theme="light"] .playlist-editor-template-select-group .form-select option {
    color: rgba(16, 38, 63, 0.95);
    background: #ffffff;
}

:root[data-ui-theme="light"] .playlist-editor-toolbar {
    border-color: rgba(19, 59, 95, 0.14);
    background: linear-gradient(135deg, rgba(246, 251, 255, 0.96), rgba(236, 246, 255, 0.96));
}

:root[data-ui-theme="light"] .playlist-editor-modal-content {
    border-color: rgba(19, 59, 95, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 251, 255, 0.98));
    color: rgba(16, 38, 63, 0.95);
}

:root[data-ui-theme="light"] .playlist-editor-modal-content .modal-header,
:root[data-ui-theme="light"] .playlist-editor-modal-content .modal-footer {
    border-color: rgba(19, 59, 95, 0.14);
}

:root[data-ui-theme="light"] .playlist-editor-modal-content .btn-close {
    filter: none;
    opacity: 0.75;
}

:root[data-ui-theme="light"] .playlist-editor-modal-content .btn-close:hover {
    opacity: 1;
}

:root[data-ui-theme="light"] .playlist-editor-modal-content .form-control,
:root[data-ui-theme="light"] .playlist-editor-modal-content .form-select {
    border-color: rgba(19, 59, 95, 0.22);
    background: rgba(255, 255, 255, 0.98);
    color: rgba(16, 38, 63, 0.95);
}

:root[data-ui-theme="light"] .playlist-editor-modal-content .form-control:focus,
:root[data-ui-theme="light"] .playlist-editor-modal-content .form-select:focus {
    border-color: rgba(42, 144, 246, 0.55);
    box-shadow: 0 0 0 0.18rem rgba(42, 144, 246, 0.16);
    background: #ffffff;
}

:root[data-ui-theme="light"] .playlist-editor-modal-content .form-select option {
    background: #ffffff;
    color: rgba(16, 38, 63, 0.95);
}

:root[data-ui-theme="light"] .playlist-editor-modal-content .form-text,
:root[data-ui-theme="light"] .playlist-editor-modal-content .text-white-50 {
    color: rgba(16, 38, 63, 0.66) !important;
}

:root[data-ui-theme="light"] .playlist-editor-toolbar-group .form-select,
:root[data-ui-theme="light"] .playlist-editor-toolbar-group .form-control {
    border-color: rgba(19, 59, 95, 0.2);
    background-color: rgba(255, 255, 255, 0.97);
    color: rgba(16, 38, 63, 0.95);
}

:root[data-ui-theme="light"] .playlist-editor-toolbar-group .form-select:focus,
:root[data-ui-theme="light"] .playlist-editor-toolbar-group .form-control:focus {
    border-color: rgba(42, 144, 246, 0.55);
    box-shadow: 0 0 0 0.18rem rgba(42, 144, 246, 0.16);
}

:root[data-ui-theme="light"] .playlist-editor-toolbar-group .form-select option {
    color: rgba(16, 38, 63, 0.95);
    background: #ffffff;
}

:root[data-ui-theme="light"] .playlist-editor-toolbar-label {
    color: rgba(16, 38, 63, 0.7);
}

:root[data-ui-theme="light"] .playlist-editor-filter-pill {
    border-color: rgba(19, 59, 95, 0.2);
    background: rgba(42, 144, 246, 0.06);
    color: rgba(16, 38, 63, 0.9);
}

:root[data-ui-theme="light"] .playlist-editor-filter-pill:hover {
    border-color: rgba(42, 144, 246, 0.45);
    background: rgba(42, 144, 246, 0.14);
}

:root[data-ui-theme="light"] .playlist-editor-filter-pill.is-active {
    border-color: rgba(42, 144, 246, 0.62);
    background: rgba(42, 144, 246, 0.2);
    color: rgba(13, 41, 66, 0.96);
}

:root[data-ui-theme="light"] .playlist-editor-actions-row {
    border-color: rgba(19, 59, 95, 0.12);
    background: rgba(255, 255, 255, 0.78);
}

:root[data-ui-theme="light"] .playlist-editor-sidebar {
    scrollbar-color: rgba(42, 144, 246, 0.52) rgba(19, 59, 95, 0.1);
}

:root[data-ui-theme="light"] .playlist-editor-sidebar::-webkit-scrollbar-track {
    background: rgba(19, 59, 95, 0.1);
}

:root[data-ui-theme="light"] .playlist-editor-sidebar::-webkit-scrollbar-thumb {
    background: rgba(42, 144, 246, 0.52);
}

:root[data-ui-theme="light"] .playlist-editor-category-tab {
    border-color: rgba(19, 59, 95, 0.16);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(242, 249, 255, 0.94));
    color: rgba(16, 38, 63, 0.9);
}

:root[data-ui-theme="light"] .playlist-editor-category-tab-drag {
    border-color: rgba(19, 59, 95, 0.2);
    background: rgba(42, 144, 246, 0.08);
    color: rgba(16, 38, 63, 0.66);
}

:root[data-ui-theme="light"] .playlist-editor-drag-placeholder-category {
    border-color: rgba(42, 144, 246, 0.62);
    background: rgba(42, 144, 246, 0.12);
}

:root[data-ui-theme="light"] .playlist-editor-drag-placeholder-category::after {
    border-color: rgba(42, 144, 246, 0.45);
}

:root[data-ui-theme="light"] .playlist-editor-category-tab:hover {
    border-color: rgba(42, 144, 246, 0.45);
    background: linear-gradient(135deg, rgba(243, 249, 255, 0.98), rgba(232, 243, 255, 0.98));
}

:root[data-ui-theme="light"] .playlist-editor-category-tab.is-active {
    border-color: rgba(42, 144, 246, 0.62);
    background: linear-gradient(135deg, rgba(227, 241, 255, 0.98), rgba(216, 234, 253, 0.98));
    box-shadow: inset 0 0 0 1px rgba(42, 144, 246, 0.2);
}

:root[data-ui-theme="light"] .playlist-editor-category-tab.is-drop-target {
    border-color: rgba(42, 144, 246, 0.7);
    box-shadow: inset 0 0 0 1px rgba(42, 144, 246, 0.26), 0 0 0 2px rgba(42, 144, 246, 0.18);
}

:root[data-ui-theme="light"] .playlist-editor-category-tab-count {
    color: rgba(16, 38, 63, 0.72);
    border-color: rgba(19, 59, 95, 0.2);
    background: rgba(42, 144, 246, 0.08);
}

:root[data-ui-theme="light"] .playlist-editor-category-tab-check {
    background: rgba(34, 197, 94, 0.14);
    border-color: rgba(34, 197, 94, 0.38);
    color: #1b8f4d;
}

:root[data-ui-theme="light"] .playlist-editor-panel {
    border-color: rgba(19, 59, 95, 0.14);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(245, 251, 255, 0.97));
}

:root[data-ui-theme="light"] .playlist-editor-panel-title {
    color: rgba(16, 38, 63, 0.96);
}

:root[data-ui-theme="light"] .playlist-editor-category-master-row {
    border-color: rgba(19, 59, 95, 0.2);
    background: rgba(42, 144, 246, 0.04);
}

:root[data-ui-theme="light"] .playlist-editor-channel-name {
    color: rgba(16, 38, 63, 0.95);
}

:root[data-ui-theme="light"] .playlist-editor-channel-subline {
    color: rgba(16, 38, 63, 0.6);
}

:root[data-ui-theme="light"] .playlist-editor-channel-picon-placeholder {
    background: rgba(42, 144, 246, 0.16);
    color: rgba(16, 38, 63, 0.72);
}

:root[data-ui-theme="light"] .playlist-editor-channel-drag-handle {
    border-color: rgba(19, 59, 95, 0.22);
    background: rgba(255, 255, 255, 0.95);
    color: rgba(16, 38, 63, 0.62);
}

:root[data-ui-theme="light"] .playlist-editor-drag-placeholder-channel {
    border-color: rgba(42, 144, 246, 0.62);
    background: rgba(42, 144, 246, 0.1);
}

:root[data-ui-theme="light"] .playlist-editor-channel-card.is-drop-target {
    border-color: rgba(42, 144, 246, 0.7);
    box-shadow: inset 0 0 0 1px rgba(42, 144, 246, 0.26), 0 0 0 2px rgba(42, 144, 246, 0.18);
}

:root[data-ui-theme="light"] .playlist-editor-drag-placeholder-channel::after {
    border-color: rgba(42, 144, 246, 0.44);
}

:root[data-ui-theme="light"] .playlist-editor-channel-card.is-locked .playlist-editor-channel-name,
:root[data-ui-theme="light"] .playlist-editor-channel-card.is-locked .playlist-editor-channel-subline {
    color: rgba(16, 38, 63, 0.46);
}

:root[data-ui-theme="light"] .cabinet-menu .list-group-item {
    color: rgba(16, 38, 63, 0.88);
    border-color: rgba(19, 59, 95, 0.14);
    background: rgba(255, 255, 255, 0.52);
}

:root[data-ui-theme="light"] .cabinet-menu .list-group-item:hover {
    color: #0f2f4f;
    background: rgba(42, 144, 246, 0.08);
}

:root[data-ui-theme="light"] .cabinet-menu .list-group-item.active {
    background: linear-gradient(135deg, rgba(42, 144, 246, 0.2), rgba(27, 170, 209, 0.14));
    border-color: rgba(42, 144, 246, 0.38);
    color: #0f2f4f;
}

:root[data-ui-theme="light"] .cabinet-menu-badge {
    color: #fff;
    box-shadow: 0 10px 22px rgba(37, 116, 215, 0.18);
}

:root[data-ui-theme="light"] .overview-news-link {
    color: rgba(16, 38, 63, 0.88);
    border-color: rgba(19, 59, 95, 0.12);
    background: rgba(255, 255, 255, 0.56);
}

:root[data-ui-theme="light"] .overview-news-link:hover,
:root[data-ui-theme="light"] .overview-news-link:focus-visible {
    color: #0f2f4f;
    border-color: rgba(42, 144, 246, 0.28);
    background: rgba(42, 144, 246, 0.1);
}

:root[data-ui-theme="light"] .overview-news-link.is-unread {
    border-color: rgba(23, 164, 132, 0.22);
}

:root[data-ui-theme="light"] .service-news-kicker {
    border-color: rgba(42, 144, 246, 0.18);
    background: rgba(42, 144, 246, 0.08);
    color: #1b5f93;
}

:root[data-ui-theme="light"] .service-news-unread-pill {
    border-color: rgba(19, 59, 95, 0.12);
    background: rgba(255, 255, 255, 0.56);
    color: rgba(16, 38, 63, 0.76);
}

:root[data-ui-theme="light"] .service-news-unread-pill.is-unread {
    border-color: rgba(23, 164, 132, 0.22);
    background: rgba(23, 164, 132, 0.08);
    color: #135c4d;
}

:root[data-ui-theme="light"] .service-news-ticker-item,
:root[data-ui-theme="light"] .service-news-list-item {
    color: rgba(16, 38, 63, 0.88);
    border-color: rgba(19, 59, 95, 0.12);
    background: rgba(255, 255, 255, 0.6);
}

:root[data-ui-theme="light"] .service-news-ticker-item:hover,
:root[data-ui-theme="light"] .service-news-ticker-item:focus-visible,
:root[data-ui-theme="light"] .service-news-list-item:hover,
:root[data-ui-theme="light"] .service-news-list-item:focus-visible {
    color: #0f2f4f;
    border-color: rgba(42, 144, 246, 0.28);
    background: rgba(42, 144, 246, 0.1);
}

:root[data-ui-theme="light"] .service-news-ticker-item.is-unread,
:root[data-ui-theme="light"] .service-news-list-item.is-unread {
    border-color: rgba(23, 164, 132, 0.22);
}

:root[data-ui-theme="light"] .service-news-list-item.is-active {
    border-color: rgba(42, 144, 246, 0.36);
    background: linear-gradient(135deg, rgba(42, 144, 246, 0.14), rgba(27, 170, 209, 0.09));
}

:root[data-ui-theme="light"] .service-news-ticker-item__date,
:root[data-ui-theme="light"] .service-news-list-item__date,
:root[data-ui-theme="light"] .service-news-detail-date,
:root[data-ui-theme="light"] .service-news-list-item__excerpt,
:root[data-ui-theme="light"] .service-news-empty {
    color: rgba(16, 38, 63, 0.62);
}

:root[data-ui-theme="light"] .service-news-list-item__badge {
    background: rgba(23, 164, 132, 0.12);
    border-color: rgba(23, 164, 132, 0.2);
    color: #135c4d;
}

:root[data-ui-theme="light"] .service-news-empty {
    border-color: rgba(19, 59, 95, 0.12);
}

:root[data-ui-theme="light"] .service-news-empty i {
    color: rgba(42, 144, 246, 0.72);
}

:root[data-ui-theme="light"] .service-news-detail-body {
    color: rgba(16, 38, 63, 0.9);
}

:root[data-ui-theme="light"] .service-news-detail-body h1,
:root[data-ui-theme="light"] .service-news-detail-body h2,
:root[data-ui-theme="light"] .service-news-detail-body h3,
:root[data-ui-theme="light"] .service-news-detail-body h4 {
    color: #102d48;
}

:root[data-ui-theme="light"] .service-news-detail-body a {
    color: #1c63a3;
}

:root[data-ui-theme="light"] .btn-outline-light {
    color: #173855;
    border-color: rgba(19, 59, 95, 0.28);
    background: rgba(255, 255, 255, 0.7);
}

:root[data-ui-theme="light"] .btn-outline-light:hover,
:root[data-ui-theme="light"] .btn-outline-light:focus {
    color: #10314f;
    border-color: rgba(42, 144, 246, 0.42);
    background: rgba(42, 144, 246, 0.12);
}

:root[data-ui-theme="light"] .table-dark {
    --bs-table-bg: rgba(255, 255, 255, 0.9);
    --bs-table-striped-bg: rgba(237, 246, 255, 0.72);
    --bs-table-hover-bg: rgba(222, 238, 255, 0.76);
    --bs-table-border-color: rgba(19, 59, 95, 0.14);
    color: var(--text-main);
}

:root[data-ui-theme="light"] .text-white-50 {
    color: rgba(16, 38, 63, 0.62) !important;
}

:root[data-ui-theme="light"] .text-white-75 {
    color: rgba(16, 38, 63, 0.78) !important;
}

:root[data-ui-theme="light"] .auth-register-hint {
    color: rgba(16, 38, 63, 0.72);
}

:root[data-ui-theme="light"] .auth-register-link {
    color: #165fcc;
    text-decoration-color: rgba(22, 95, 204, 0.45);
}

:root[data-ui-theme="light"] .auth-register-link:hover,
:root[data-ui-theme="light"] .auth-register-link:focus {
    color: #0f4fb0;
    text-decoration-color: rgba(15, 79, 176, 0.58);
}

:root[data-ui-theme="light"] .content-card .text-white,
:root[data-ui-theme="light"] .playlist-editor-page-card .text-white,
:root[data-ui-theme="light"] .multiroom-panel .text-white,
:root[data-ui-theme="light"] .device-connect-panel .text-white {
    color: rgba(16, 38, 63, 0.9) !important;
}

:root[data-ui-theme="light"] .border-white-10 {
    border-color: rgba(19, 59, 95, 0.18) !important;
}

:root[data-ui-theme="light"] .home-pricing-code,
:root[data-ui-theme="light"] .home-pricing-description,
:root[data-ui-theme="light"] .home-pricing-period .label,
:root[data-ui-theme="light"] .home-cta-text,
:root[data-ui-theme="light"] .playlist-meta-label,
:root[data-ui-theme="light"] .playlist-meta-note,
:root[data-ui-theme="light"] .playlist-device-connect-copy,
:root[data-ui-theme="light"] .account-token-subtitle,
:root[data-ui-theme="light"] .account-token-footer-note,
:root[data-ui-theme="light"] .device-connect-panel-subtitle {
    color: rgba(16, 38, 63, 0.66);
}

:root[data-ui-theme="light"] .home-pricing-features li,
:root[data-ui-theme="light"] .playlist-meta-value,
:root[data-ui-theme="light"] .playlist-device-limit-badge {
    color: rgba(16, 38, 63, 0.9);
}

:root[data-ui-theme="light"] .table-dark {
    --bs-table-color: rgba(16, 38, 63, 0.92);
    --bs-table-striped-color: rgba(16, 38, 63, 0.92);
    --bs-table-active-color: rgba(16, 38, 63, 0.92);
    --bs-table-hover-color: rgba(16, 38, 63, 0.95);
}

:root[data-ui-theme="light"] .account-token-icon {
    border-color: rgba(42, 144, 246, 0.28);
    background: rgba(42, 144, 246, 0.12);
    color: #2268aa;
}

:root[data-ui-theme="light"] .account-token-code {
    border-color: rgba(42, 144, 246, 0.28);
    background: rgba(42, 144, 246, 0.08);
    color: rgba(16, 38, 63, 0.94);
    text-shadow: none;
}

:root[data-ui-theme="light"] .playlist-template-token-card {
    border-color: rgba(19, 59, 95, 0.14);
    background: rgba(255, 255, 255, 0.88);
}

:root[data-ui-theme="light"] .account-token-input-group .form-control,
:root[data-ui-theme="light"] .playlist-url-input,
:root[data-ui-theme="light"] .device-connect-code-input,
:root[data-ui-theme="light"] .device-connect-inline-form .form-control {
    border-color: rgba(19, 59, 95, 0.2);
    background: rgba(255, 255, 255, 0.97);
    color: rgba(16, 38, 63, 0.96);
}

:root[data-ui-theme="light"] .account-token-input-group .form-control:focus,
:root[data-ui-theme="light"] .playlist-url-input:focus,
:root[data-ui-theme="light"] .device-connect-code-input:focus,
:root[data-ui-theme="light"] .device-connect-inline-form .form-control:focus {
    border-color: rgba(42, 144, 246, 0.52);
    background: #fff;
    color: rgba(16, 38, 63, 0.96);
    box-shadow: 0 0 0 0.2rem rgba(42, 144, 246, 0.14);
}

:root[data-ui-theme="light"] .device-connect-code-input::placeholder {
    color: rgba(16, 38, 63, 0.42);
}

:root[data-ui-theme="light"] .playlist-device-store-icon {
    color: rgba(16, 38, 63, 0.9);
    background: rgba(42, 144, 246, 0.14);
    border-color: rgba(42, 144, 246, 0.28);
}

:root[data-ui-theme="light"] .playlist-device-store-eyebrow {
    color: rgba(16, 38, 63, 0.48);
}

:root[data-ui-theme="light"] .playlist-device-store-name {
    color: rgba(16, 38, 63, 0.9);
}

:root[data-ui-theme="light"] .tvzone-guide-card h2 {
    color: rgba(16, 38, 63, 0.94);
}

:root[data-ui-theme="light"] .tvzone-guide-nav-label {
    color: rgba(16, 38, 63, 0.66);
}

:root[data-ui-theme="light"] .tvzone-guide-info-callout {
    background: rgba(42, 144, 246, 0.12);
    border: 1px solid rgba(42, 144, 246, 0.24);
    color: rgba(16, 38, 63, 0.86);
}

:root[data-ui-theme="light"] .tvzone-guide-info-callout i {
    color: rgba(27, 99, 168, 0.92);
}

:root[data-ui-theme="light"] .playlist-protocol-toolbar,
:root[data-ui-theme="light"] .playlist-type-block,
:root[data-ui-theme="light"] .playlist-url-row {
    border-color: rgba(19, 59, 95, 0.14);
    background: rgba(255, 255, 255, 0.86);
}

:root[data-ui-theme="light"] .playlist-protocol-switch .form-check-label,
:root[data-ui-theme="light"] .playlist-type-title,
:root[data-ui-theme="light"] .playlist-url-label {
    color: rgba(16, 38, 63, 0.92);
}

:root[data-ui-theme="light"] .playlist-type-subtitle {
    color: rgba(16, 38, 63, 0.64);
}

:root[data-ui-theme="light"] .playlist-protocol-badge {
    border-color: rgba(19, 59, 95, 0.2);
    background: rgba(42, 144, 246, 0.1);
    color: rgba(16, 38, 63, 0.9);
}

:root[data-ui-theme="light"] .multiroom-panel-title {
    color: rgba(16, 38, 63, 0.94);
}

:root[data-ui-theme="light"] .multiroom-panel-subtitle,
:root[data-ui-theme="light"] .multiroom-status-item span,
:root[data-ui-theme="light"] .multiroom-range-scale {
    color: rgba(16, 38, 63, 0.62);
}

:root[data-ui-theme="light"] .multiroom-status-item strong,
:root[data-ui-theme="light"] .multiroom-range-scale strong,
:root[data-ui-theme="light"] .multiroom-price-rows strong {
    color: rgba(16, 38, 63, 0.92);
}

:root[data-ui-theme="light"] .multiroom-range-shell {
    border-color: rgba(19, 59, 95, 0.16);
    background: rgba(255, 255, 255, 0.88);
}

:root[data-ui-theme="light"] .multiroom-range {
    --bs-form-range-track-bg: rgba(19, 59, 95, 0.18);
    --bs-form-range-thumb-bg: #2a90f6;
}

:root[data-ui-theme="light"] .multiroom-range::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(42, 144, 246, 0.14);
}

:root[data-ui-theme="light"] .multiroom-range::-moz-range-thumb {
    box-shadow: 0 0 0 4px rgba(42, 144, 246, 0.14);
}

:root[data-ui-theme="light"] .multiroom-range-tick {
    color: rgba(16, 38, 63, 0.56);
}

:root[data-ui-theme="light"] .multiroom-range-tick.is-active {
    color: rgba(16, 38, 63, 0.92);
    border-color: rgba(42, 144, 246, 0.36);
    background: rgba(42, 144, 246, 0.14);
}

:root[data-ui-theme="light"] .multiroom-price-preview {
    border-color: rgba(19, 59, 95, 0.18);
    background: rgba(255, 255, 255, 0.86);
}

:root[data-ui-theme="light"] .multiroom-price-rows > div {
    color: rgba(16, 38, 63, 0.78);
}

:root[data-ui-theme="light"] .device-connect-panel-title,
:root[data-ui-theme="light"] .device-connect-device-title,
:root[data-ui-theme="light"] .device-connect-kv strong {
    color: rgba(16, 38, 63, 0.92);
}

:root[data-ui-theme="light"] .device-connect-steps,
:root[data-ui-theme="light"] .device-connect-kv {
    color: rgba(16, 38, 63, 0.8);
}

:root[data-ui-theme="light"] .device-connect-kv span,
:root[data-ui-theme="light"] .device-connect-quota-item span {
    color: rgba(16, 38, 63, 0.58);
}

:root[data-ui-theme="light"] .device-connect-quota-item strong {
    color: rgba(16, 38, 63, 0.92);
}

:root[data-ui-theme="light"] .device-connect-device-header {
    border-bottom-color: rgba(19, 59, 95, 0.12);
    background: rgba(42, 144, 246, 0.05);
}

:root[data-ui-theme="light"] .device-connect-kv code {
    color: rgba(16, 38, 63, 0.9);
    background: rgba(42, 144, 246, 0.1);
    border-color: rgba(42, 144, 246, 0.22);
}

:root[data-ui-theme="light"] .device-connect-api-meta-grid {
    border-color: rgba(19, 59, 95, 0.14);
    background: rgba(42, 144, 246, 0.06);
}

:root[data-ui-theme="light"] .device-connect-coming-soon {
    background: rgba(13, 202, 240, 0.12);
    color: rgba(16, 38, 63, 0.82);
}

:root[data-ui-theme="light"] .app-toast {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.98));
    border-color: rgba(19, 59, 95, 0.16);
    color: #15334f;
    box-shadow: 0 16px 34px rgba(22, 62, 102, 0.16);
}

:root[data-ui-theme="light"] .app-toast .btn-close {
    filter: none;
}

:root[data-ui-theme="light"] .app-footer-shell {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 251, 255, 0.94));
    box-shadow: 0 16px 34px rgba(22, 62, 102, 0.1);
}

:root[data-ui-theme="light"] .app-footer-title {
    color: #123250;
}

:root[data-ui-theme="light"] .app-footer-link {
    color: rgba(16, 38, 63, 0.72);
}

:root[data-ui-theme="light"] .app-footer-link:hover,
:root[data-ui-theme="light"] .app-footer-link:focus-visible {
    color: #0f2f4f;
}

:root[data-ui-theme="light"] .modal-content {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.98));
    border-color: rgba(19, 59, 95, 0.18);
    color: var(--text-main);
}

:root[data-ui-theme="light"] .modal .btn-close {
    filter: none;
}

:root[data-ui-theme="light"] .billing-plan-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.97)),
        radial-gradient(circle at 100% 0%, rgba(42, 144, 246, 0.07), transparent 38%);
}

:root[data-ui-theme="light"] .billing-plan-card__header {
    border-bottom-color: rgba(19, 59, 95, 0.12);
}

:root[data-ui-theme="light"] .billing-plan-card__code {
    border-color: rgba(19, 59, 95, 0.14);
    background: rgba(19, 59, 95, 0.04);
    color: rgba(16, 38, 63, 0.72);
}

:root[data-ui-theme="light"] .billing-plan-card__type {
    border-color: rgba(42, 144, 246, 0.2);
    background: rgba(42, 144, 246, 0.1);
    color: #1c5e9c;
}

:root[data-ui-theme="light"] .billing-plan-card__subtitle,
:root[data-ui-theme="light"] .billing-plan-card__feature-item,
:root[data-ui-theme="light"] .billing-plan-card__switch-note,
:root[data-ui-theme="light"] .billing-tariff-modal__eyebrow,
:root[data-ui-theme="light"] .billing-plan-card__footer-state {
    color: rgba(16, 38, 63, 0.66);
}

:root[data-ui-theme="light"] .billing-plan-card__price,
:root[data-ui-theme="light"] .billing-plan-card__channels-count,
:root[data-ui-theme="light"] .billing-tariff-modal__channel-name {
    color: rgba(16, 38, 63, 0.94);
}

:root[data-ui-theme="light"] .billing-plan-card__period {
    border-color: rgba(19, 59, 95, 0.16);
    background: rgba(42, 144, 246, 0.08);
    color: rgba(16, 38, 63, 0.88);
}

:root[data-ui-theme="light"] .billing-plan-card__status {
    border-color: rgba(19, 59, 95, 0.16);
    background: rgba(19, 59, 95, 0.05);
    color: rgba(16, 38, 63, 0.72);
}

:root[data-ui-theme="light"] .billing-plan-card__status.is-active {
    border-color: rgba(66, 181, 103, 0.34);
    background: rgba(66, 181, 103, 0.12);
    color: #2c7a47;
}

:root[data-ui-theme="light"] .billing-plan-card__status.is-blocked {
    border-color: rgba(205, 148, 24, 0.3);
    background: rgba(205, 148, 24, 0.12);
    color: #9d6f13;
}

:root[data-ui-theme="light"] .billing-plan-card__features-panel,
:root[data-ui-theme="light"] .billing-plan-card__preview-panel,
:root[data-ui-theme="light"] .billing-plan-card__logo-tile,
:root[data-ui-theme="light"] .billing-plan-card__footer-state,
:root[data-ui-theme="light"] .billing-tariff-modal__channel-item {
    border-color: rgba(19, 59, 95, 0.12);
    background: rgba(255, 255, 255, 0.82);
}

:root[data-ui-theme="light"] .billing-plan-card__footer-state.is-active {
    border-color: rgba(66, 181, 103, 0.28);
    background: rgba(66, 181, 103, 0.11);
    color: #2d7346;
}

:root[data-ui-theme="light"] .billing-plan-card__footer-state.is-blocked {
    border-color: rgba(205, 148, 24, 0.22);
    background: rgba(205, 148, 24, 0.11);
    color: #8c6515;
}

:root[data-ui-theme="light"] .billing-plan-card__logo-fallback,
:root[data-ui-theme="light"] .billing-tariff-modal__channel-fallback {
    background: linear-gradient(180deg, rgba(42, 144, 246, 0.12), rgba(42, 144, 246, 0.06));
    color: #2f5f8b;
}

:root[data-ui-theme="light"] .billing-plan-card__preview-more {
    border-color: rgba(19, 59, 95, 0.16);
    background: rgba(42, 144, 246, 0.08);
    color: rgba(16, 38, 63, 0.86);
}

:root[data-ui-theme="light"] .billing-subscribe-confirm__lead,
:root[data-ui-theme="light"] .billing-subscribe-confirm__label {
    color: rgba(16, 38, 63, 0.66);
}

:root[data-ui-theme="light"] .billing-subscribe-confirm__summary {
    border-color: rgba(19, 59, 95, 0.12);
    background: rgba(255, 255, 255, 0.84);
}

:root[data-ui-theme="light"] .billing-subscribe-confirm__row strong {
    color: rgba(16, 38, 63, 0.92);
}

:root[data-ui-theme="light"] .billing-tariff-modal__group + .billing-tariff-modal__group {
    border-top-color: rgba(19, 59, 95, 0.1);
}

@media (max-width: 991.98px) {
    .billing-plan-card__body {
        grid-template-columns: 1fr;
    }

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

    .billing-subscribe-confirm__row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .billing-subscribe-confirm__row strong {
        text-align: left;
    }

    .playlist-editor-template-controls {
        grid-template-columns: 1fr;
    }

    .playlist-editor-template-actions {
        justify-content: flex-start;
    }

    .playlist-editor-toolbar {
        grid-template-columns: 1fr;
    }

    .playlist-editor-toolbar-group-search {
        min-width: 0;
    }

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

    .playlist-editor-sidebar {
        position: static;
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

@media (max-width: 767.98px) {
    .billing-plan-card {
        padding: 1rem;
    }

    .billing-plan-card__header {
        flex-direction: column;
    }

    .billing-plan-card__price-box {
        width: 100%;
        padding-right: 3rem;
        text-align: left;
    }

    .billing-plan-card__logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .billing-plan-card__action-form {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .billing-plan-card__connect-btn {
        width: 100%;
        min-width: 0;
    }

    .billing-tariff-modal__channel-grid {
        grid-template-columns: 1fr;
    }

    .playlist-editor-channel-grid {
        grid-template-columns: 1fr;
    }
}

/* Home refresh */
body.app-shell-home {
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 42, 112, 0.28), transparent 18%),
        radial-gradient(circle at 82% 12%, rgba(69, 243, 255, 0.18), transparent 20%),
        radial-gradient(circle at 78% 100%, rgba(143, 0, 255, 0.18), transparent 24%),
        linear-gradient(180deg, #090b14 0%, #10162a 52%, #0d1324 100%);
}

.app-shell-home .app-background {
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 42, 112, 0.16), transparent 18%),
        radial-gradient(circle at 82% 82%, rgba(143, 0, 255, 0.16), transparent 18%),
        radial-gradient(circle at 52% 42%, rgba(69, 243, 255, 0.12), transparent 16%),
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: auto, auto, auto, 30px 30px, 30px 30px;
    opacity: 0.9;
}

.app-shell-home .glass-nav {
    background: rgba(10, 13, 25, 0.68);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.app-shell-home .navbar .nav-link {
    color: rgba(255, 255, 255, 0.74);
}

.app-shell-home .navbar .nav-link.active,
.app-shell-home .navbar .nav-link:hover {
    color: #ffffff;
}

.app-shell-home .glass-nav .btn-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #ff2a70, #ff8a00);
    box-shadow: 0 12px 28px rgba(255, 42, 112, 0.28);
}

.app-shell-home .glass-nav .btn-primary:hover,
.app-shell-home .glass-nav .btn-primary:focus {
    color: #fff;
    background: linear-gradient(135deg, #ff4a86, #ff9d3a);
}

.app-shell-home .glass-nav .btn-outline-light,
.app-shell-home .glass-nav .dropdown-toggle {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.92);
}

.app-shell-home .glass-nav .btn-outline-light:hover,
.app-shell-home .glass-nav .dropdown-toggle:hover {
    border-color: rgba(69, 243, 255, 0.26);
    background: rgba(69, 243, 255, 0.08);
    color: #fff;
}

.app-shell-home .app-footer-shell {
    border-color: rgba(255, 255, 255, 0.07);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02)),
        radial-gradient(circle at 0% 0%, rgba(255, 42, 112, 0.12), transparent 28%),
        radial-gradient(circle at 100% 100%, rgba(69, 243, 255, 0.1), transparent 30%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.app-shell-home .app-footer-title {
    color: rgba(255, 255, 255, 0.94);
}

.app-shell-home .app-footer-link {
    color: rgba(255, 255, 255, 0.62);
}

.app-shell-home .app-footer-link:hover,
.app-shell-home .app-footer-link:focus-visible {
    color: #ffffff;
}

.app-shell-home .billing-tariff-modal-shell {
    --home-modal-offset-top: 4.35rem;
}

.app-shell-home .billing-tariff-modal-shell .modal-dialog {
    margin-top: var(--home-modal-offset-top);
    margin-bottom: 1rem;
}

.app-shell-home .billing-tariff-modal-shell .modal-dialog-centered {
    align-items: flex-start;
    min-height: calc(100% - var(--home-modal-offset-top) - 1rem);
}

.app-shell-home .billing-tariff-modal-shell .modal-content {
    max-height: calc(100dvh - var(--home-modal-offset-top) - 1rem);
}

.page-shell-home {
    position: relative;
    isolation: isolate;
    --home-accent: #ff2a70;
    --home-accent-2: #45f3ff;
    --home-accent-3: #8f00ff;
    --home-accent-4: #ff8a00;
    --home-surface-1: rgba(17, 22, 42, 0.78);
    --home-surface-2: rgba(10, 13, 25, 0.82);
    --home-panel: rgba(255, 255, 255, 0.03);
    --home-border: rgba(255, 255, 255, 0.08);
    --home-border-strong: rgba(255, 42, 112, 0.2);
    --home-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
    padding-top: 0.5rem;
}

.page-shell-home::before,
.page-shell-home::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
    filter: blur(28px);
}

.page-shell-home::before {
    top: -2rem;
    left: -6%;
    width: 32rem;
    height: 32rem;
    background:
        radial-gradient(circle, rgba(255, 42, 112, 0.24), transparent 58%),
        radial-gradient(circle at 60% 40%, rgba(69, 243, 255, 0.1), transparent 34%);
}

.page-shell-home::after {
    top: 24rem;
    right: -5%;
    width: 30rem;
    height: 30rem;
    background:
        radial-gradient(circle, rgba(143, 0, 255, 0.18), transparent 56%),
        radial-gradient(circle at 38% 44%, rgba(69, 243, 255, 0.14), transparent 32%);
}

.page-shell-home .home-section {
    --home-accent: #ff2a70;
    --home-accent-2: #45f3ff;
    --home-accent-3: #8f00ff;
}

.page-shell-home .home-section-kicker {
    color: rgba(255, 95, 154, 0.9);
    font-weight: 700;
    letter-spacing: 0.22em;
}

.page-shell-home .home-section-kicker::before {
    width: 1.75rem;
    background: linear-gradient(90deg, var(--home-accent), var(--home-accent-2));
    box-shadow: 0 0 18px rgba(255, 42, 112, 0.32);
}

.page-shell-home .home-section-title {
    color: rgba(255, 255, 255, 0.98);
    letter-spacing: -0.03em;
}

.page-shell-home .home-section-subtitle {
    color: rgba(255, 255, 255, 0.68);
}

.page-shell-home .inline-stat {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.page-shell-home .inline-stat .label {
    color: rgba(255, 255, 255, 0.54);
}

.page-shell-home .inline-stat .value {
    color: #ffffff;
}

.page-shell-home .home-hero::before {
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 42, 112, 0.14), transparent 44%),
        radial-gradient(circle at 84% 18%, rgba(69, 243, 255, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 54%);
}

.page-shell-home .home-hero-slide,
.page-shell-home .home-pricing-wrap .content-card,
.page-shell-home .home-step-card,
.page-shell-home .home-cta-banner,
.page-shell-home .home-news-push-card {
    border-color: var(--home-border);
    box-shadow: var(--home-shadow);
}

.page-shell-home .home-hero-slide {
    --home-hero-slide-radius: 1.6rem;
    padding: clamp(1.5rem, 1.1rem + 0.9vw, 1.95rem);
    border-radius: var(--home-hero-slide-radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        linear-gradient(145deg, rgba(18, 22, 42, 0.94), rgba(10, 13, 25, 0.92)),
        radial-gradient(circle at 8% 0%, rgba(255, 42, 112, 0.1), transparent 34%),
        radial-gradient(circle at 100% 18%, rgba(69, 243, 255, 0.1), transparent 32%);
    overflow: hidden;
}

.page-shell-home .home-hero-slide .row {
    --bs-gutter-x: clamp(1.5rem, 2.2vw, 2.75rem);
}

.page-shell-home .home-hero-content {
    max-width: 42rem;
}

.page-shell-home .home-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 42, 112, 0), rgba(255, 42, 112, 0.72), rgba(69, 243, 255, 0.72), rgba(69, 243, 255, 0));
}

.page-shell-home .home-hero-slide::after {
    width: 420px;
    height: 420px;
    inset: auto -18% -52% auto;
    background:
        radial-gradient(circle, rgba(255, 42, 112, 0.2), transparent 54%),
        radial-gradient(circle at 36% 38%, rgba(69, 243, 255, 0.16), transparent 34%);
    filter: blur(4px);
}

.page-shell-home .home-hero-label,
.page-shell-home .home-hero-chip,
.page-shell-home .home-news-push-badge,
.page-shell-home .home-mini-stat,
.page-shell-home .home-pricing-period {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
}

.page-shell-home .home-hero-label {
    border-color: rgba(255, 42, 112, 0.28);
    background: rgba(255, 42, 112, 0.08);
    color: #ff7cab;
    box-shadow: 0 0 18px rgba(255, 42, 112, 0.12);
}

.page-shell-home .home-hero-title {
    max-width: 15ch;
    font-size: clamp(2.4rem, 1.8rem + 1.95vw, 3.9rem);
    line-height: 0.92;
    letter-spacing: -0.045em;
    text-wrap: balance;
    background: linear-gradient(135deg, #ffffff 0%, #dbe2ff 46%, #ff9a62 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.page-shell-home .home-hero-text {
    color: rgba(255, 255, 255, 0.74);
    max-width: 52ch;
    font-size: 1.02rem;
}

.page-shell-home .home-hero-chip {
    border-color: rgba(69, 243, 255, 0.14);
    color: rgba(255, 255, 255, 0.88);
}

.page-shell-home .home-hero-actions .btn-primary,
.page-shell-home .home-pricing-card .btn-primary,
.page-shell-home .home-cta-banner .btn-primary,
.page-shell-home .home-news-push-actions .btn-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--home-accent), var(--home-accent-4));
    box-shadow: 0 16px 34px rgba(255, 42, 112, 0.28);
}

.page-shell-home .home-hero-actions .btn-primary:hover,
.page-shell-home .home-pricing-card .btn-primary:hover,
.page-shell-home .home-cta-banner .btn-primary:hover,
.page-shell-home .home-news-push-actions .btn-primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #ff4b87, #ff9b33);
    box-shadow: 0 18px 42px rgba(255, 42, 112, 0.36);
}

.page-shell-home .home-hero-actions .btn-outline-light,
.page-shell-home .home-pricing-card .btn-outline-light,
.page-shell-home .home-cta-banner .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.92);
}

.page-shell-home .home-hero-actions .btn-outline-light:hover,
.page-shell-home .home-pricing-card .btn-outline-light:hover,
.page-shell-home .home-cta-banner .btn-outline-light:hover {
    border-color: rgba(69, 243, 255, 0.26);
    background: rgba(69, 243, 255, 0.08);
    color: #fff;
}

.page-shell-home .home-hero-art {
    min-height: 320px;
    justify-items: end;
}

.page-shell-home .home-hero-art-glow-a {
    width: 280px;
    height: 280px;
    background: rgba(69, 243, 255, 0.26);
}

.page-shell-home .home-hero-art-glow-b {
    width: 240px;
    height: 240px;
    background: rgba(255, 42, 112, 0.24);
}

.page-shell-home .home-hero-panel {
    width: min(100%, 372px);
    padding: 1.2rem;
    border-radius: 1.35rem;
    border-color: rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
        linear-gradient(160deg, rgba(20, 25, 47, 0.92), rgba(11, 14, 27, 0.92)),
        radial-gradient(circle at 100% 0%, rgba(69, 243, 255, 0.12), transparent 34%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
    margin-left: auto;
    backdrop-filter: blur(14px);
}

.page-shell-home .home-hero-panel-title {
    color: #ffffff;
}

.page-shell-home .home-hero-panel-item {
    color: rgba(255, 255, 255, 0.76);
}

.page-shell-home .home-hero-panel-item i {
    color: #45f3ff !important;
}

.page-shell-home .home-mini-stat {
    border-color: rgba(255, 255, 255, 0.05);
}

.page-shell-home .home-mini-stat .label {
    color: rgba(255, 255, 255, 0.52);
}

.page-shell-home .home-mini-stat .value {
    color: rgba(255, 255, 255, 0.96);
}

.page-shell-home .home-hero-orb {
    width: 168px;
    height: 168px;
    border-color: rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 34% 32%, rgba(255, 255, 255, 0.9), rgba(69, 243, 255, 0.22) 42%, transparent 66%),
        radial-gradient(circle at 74% 70%, rgba(255, 42, 112, 0.24), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    right: -8px;
    bottom: 10px;
    opacity: 0.84;
}

.page-shell-home .home-carousel-indicators [data-bs-target] {
    width: 32px;
    background-color: rgba(255, 255, 255, 0.18);
}

.page-shell-home .home-carousel-indicators .active {
    background: linear-gradient(90deg, var(--home-accent), var(--home-accent-2));
    box-shadow: 0 0 18px rgba(255, 42, 112, 0.28);
}

.page-shell-home .home-carousel-btn {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(10, 13, 25, 0.74);
    color: rgba(255, 255, 255, 0.92);
}

.page-shell-home .home-carousel-btn:hover {
    background: rgba(69, 243, 255, 0.1);
    border-color: rgba(69, 243, 255, 0.24);
}

.page-shell-home .home-pricing-wrap .content-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.45rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        linear-gradient(160deg, rgba(17, 22, 42, 0.92), rgba(10, 13, 25, 0.94)),
        radial-gradient(circle at 100% 0%, rgba(69, 243, 255, 0.1), transparent 32%);
}

.page-shell-home .home-pricing-wrap .content-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.18;
    pointer-events: none;
}

.page-shell-home .home-pricing-wrap .h5,
.page-shell-home .home-pricing-wrap .small,
.page-shell-home .home-pricing-wrap .badge.text-bg-dark {
    position: relative;
    z-index: 1;
}

.page-shell-home .home-pricing-wrap .h5 {
    color: rgba(255, 255, 255, 0.96);
}

.page-shell-home .home-pricing-wrap .small {
    color: rgba(255, 255, 255, 0.54) !important;
}

.page-shell-home .home-pricing-card {
    position: relative;
    padding: 1.2rem;
    border-radius: 1.3rem;
    border-color: rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025)),
        linear-gradient(180deg, rgba(21, 27, 51, 0.9), rgba(11, 15, 29, 0.94)),
        radial-gradient(circle at 100% 0%, rgba(255, 42, 112, 0.12), transparent 34%);
}

.page-shell-home .home-pricing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 42, 112, 0.22), rgba(69, 243, 255, 0.18));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.page-shell-home .home-pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(69, 243, 255, 0.16);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.page-shell-home .home-pricing-card--addon {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        linear-gradient(180deg, rgba(24, 22, 51, 0.88), rgba(11, 14, 28, 0.94)),
        radial-gradient(circle at 100% 0%, rgba(69, 243, 255, 0.12), transparent 34%);
}

.page-shell-home .home-pricing-card .badge.text-bg-info,
.page-shell-home .home-pricing-card .badge.text-bg-dark,
.page-shell-home .home-pricing-card .badge.text-bg-warning {
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-shell-home .home-pricing-card .badge.text-bg-info {
    background: rgba(69, 243, 255, 0.14) !important;
}

.page-shell-home .home-pricing-card .badge.text-bg-warning {
    background: rgba(255, 42, 112, 0.14) !important;
}

.page-shell-home .home-pricing-card .badge.text-bg-dark {
    background: rgba(255, 255, 255, 0.06) !important;
}

.page-shell-home .home-pricing-code,
.page-shell-home .home-pricing-period .label {
    color: rgba(255, 255, 255, 0.52);
}

.page-shell-home .home-pricing-channel-count {
    border-color: rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.9);
}

.page-shell-home .home-pricing-name,
.page-shell-home .home-pricing-price,
.page-shell-home .home-steps-grid .home-step-card h3,
.page-shell-home .home-cta-title {
    color: #ffffff;
}

.page-shell-home .home-pricing-price {
    color: #ffffff;
}

.page-shell-home .home-pricing-description {
    color: rgba(255, 255, 255, 0.66);
}

.page-shell-home .home-pricing-features li {
    color: rgba(255, 255, 255, 0.88);
}

.page-shell-home .home-pricing-features i {
    color: var(--home-accent-2);
}

.page-shell-home .home-steps-grid .home-step-card {
    padding: 1.2rem;
    border-radius: 1.35rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        linear-gradient(180deg, rgba(19, 24, 45, 0.9), rgba(10, 13, 25, 0.94)),
        radial-gradient(circle at 100% 0%, rgba(69, 243, 255, 0.08), transparent 32%);
}

.page-shell-home .home-step-number {
    border-color: rgba(255, 42, 112, 0.22);
    background: rgba(255, 42, 112, 0.1);
    color: rgba(255, 255, 255, 0.94);
}

.page-shell-home .home-step-icon {
    border-color: rgba(69, 243, 255, 0.14);
    background: rgba(69, 243, 255, 0.08);
    color: #dbfcff;
}

.page-shell-home .home-steps-grid .text-white-75 {
    color: rgba(255, 255, 255, 0.68) !important;
}

.page-shell-home .home-cta-banner {
    border-radius: 1.45rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        linear-gradient(145deg, rgba(18, 22, 42, 0.94), rgba(10, 13, 25, 0.94)),
        radial-gradient(circle at 16% 18%, rgba(255, 42, 112, 0.12), transparent 32%),
        radial-gradient(circle at 84% 22%, rgba(69, 243, 255, 0.14), transparent 36%);
}

.page-shell-home .home-cta-banner::after {
    width: 230px;
    height: 230px;
    background: radial-gradient(circle, rgba(143, 0, 255, 0.18), transparent 72%);
}

.page-shell-home .home-cta-text,
.page-shell-home .home-news-push-hint {
    color: rgba(255, 255, 255, 0.66);
}

.page-shell-home .home-news-push-card {
    border-radius: 1.45rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        linear-gradient(150deg, rgba(18, 22, 42, 0.94), rgba(10, 13, 25, 0.94)),
        radial-gradient(circle at 18% 18%, rgba(255, 42, 112, 0.1), transparent 28%),
        radial-gradient(circle at 84% 18%, rgba(69, 243, 255, 0.12), transparent 32%);
}

.page-shell-home .home-news-push-card::after {
    width: 210px;
    height: 210px;
    background: radial-gradient(circle, rgba(143, 0, 255, 0.16), transparent 72%);
}

.page-shell-home .home-news-push-badge {
    color: rgba(255, 255, 255, 0.84);
}

.page-shell-home .home-news-push-badge.is-pinned {
    border-color: rgba(255, 42, 112, 0.24);
    background: rgba(255, 42, 112, 0.1);
    color: #ff91b7;
}

:root[data-ui-theme="light"] body.app-shell-home {
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 42, 112, 0.12), transparent 18%),
        radial-gradient(circle at 82% 12%, rgba(69, 243, 255, 0.12), transparent 18%),
        radial-gradient(circle at 78% 100%, rgba(143, 0, 255, 0.08), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #edf3fb 52%, #e5eef9 100%);
}

:root[data-ui-theme="light"] .app-shell-home .app-background {
    opacity: 0.7;
}

:root[data-ui-theme="light"] .app-shell-home .glass-nav {
    background: rgba(255, 255, 255, 0.74);
    border-bottom-color: rgba(20, 33, 58, 0.08);
}

:root[data-ui-theme="light"] .app-shell-home .glass-nav .navbar-brand,
:root[data-ui-theme="light"] .app-shell-home .glass-nav .navbar-brand:visited {
    background: linear-gradient(135deg, #14213a 0%, #ff2a70 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

:root[data-ui-theme="light"] .app-shell-home .navbar .nav-link {
    color: rgba(20, 33, 58, 0.72);
}

:root[data-ui-theme="light"] .app-shell-home .navbar .nav-link.active,
:root[data-ui-theme="light"] .app-shell-home .navbar .nav-link:hover {
    color: #14213a;
}

:root[data-ui-theme="light"] .app-shell-home .glass-nav .btn-outline-light,
:root[data-ui-theme="light"] .app-shell-home .glass-nav .dropdown-toggle {
    border-color: rgba(20, 33, 58, 0.1);
    background: rgba(255, 255, 255, 0.86);
    color: rgba(20, 33, 58, 0.9);
}

:root[data-ui-theme="light"] .app-shell-home .app-footer-shell {
    border-color: rgba(20, 33, 58, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 255, 0.92)),
        radial-gradient(circle at 0% 0%, rgba(255, 42, 112, 0.06), transparent 28%),
        radial-gradient(circle at 100% 100%, rgba(69, 243, 255, 0.08), transparent 30%);
}

:root[data-ui-theme="light"] .app-shell-home .app-footer-title {
    color: #14213a;
}

:root[data-ui-theme="light"] .app-shell-home .app-footer-link {
    color: rgba(20, 33, 58, 0.66);
}

:root[data-ui-theme="light"] .page-shell-home {
    --home-surface-1: rgba(255, 255, 255, 0.96);
    --home-surface-2: rgba(248, 250, 255, 0.96);
    --home-border: rgba(20, 33, 58, 0.1);
    --home-border-strong: rgba(255, 42, 112, 0.16);
}

:root[data-ui-theme="light"] .page-shell-home::before {
    background:
        radial-gradient(circle, rgba(255, 42, 112, 0.1), transparent 56%),
        radial-gradient(circle at 44% 34%, rgba(69, 243, 255, 0.1), transparent 30%);
}

:root[data-ui-theme="light"] .page-shell-home::after {
    background:
        radial-gradient(circle, rgba(143, 0, 255, 0.08), transparent 54%),
        radial-gradient(circle at 58% 46%, rgba(69, 243, 255, 0.08), transparent 28%);
}

:root[data-ui-theme="light"] .page-shell-home .home-section-kicker {
    color: rgba(194, 30, 88, 0.84);
}

:root[data-ui-theme="light"] .page-shell-home .home-section-title,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-name,
:root[data-ui-theme="light"] .page-shell-home .home-cta-title,
:root[data-ui-theme="light"] .page-shell-home .home-steps-grid .home-step-card h3,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-wrap .h5,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-price,
:root[data-ui-theme="light"] .page-shell-home .home-hero-panel-title {
    color: #14213a;
}

:root[data-ui-theme="light"] .page-shell-home .home-section-subtitle,
:root[data-ui-theme="light"] .page-shell-home .home-hero-text,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-description,
:root[data-ui-theme="light"] .page-shell-home .home-cta-text,
:root[data-ui-theme="light"] .page-shell-home .home-news-push-hint,
:root[data-ui-theme="light"] .page-shell-home .home-steps-grid .text-white-75,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-wrap .small {
    color: rgba(20, 33, 58, 0.66) !important;
}

:root[data-ui-theme="light"] .page-shell-home .home-hero-slide,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-wrap .content-card,
:root[data-ui-theme="light"] .page-shell-home .home-step-card,
:root[data-ui-theme="light"] .page-shell-home .home-cta-banner,
:root[data-ui-theme="light"] .page-shell-home .home-news-push-card,
:root[data-ui-theme="light"] .page-shell-home .home-hero-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.94)),
        radial-gradient(circle at 100% 0%, rgba(69, 243, 255, 0.08), transparent 40%);
    border-color: rgba(20, 33, 58, 0.1);
    box-shadow: 0 18px 44px rgba(20, 33, 58, 0.1);
}

:root[data-ui-theme="light"] .page-shell-home .home-hero-label,
:root[data-ui-theme="light"] .page-shell-home .home-hero-chip,
:root[data-ui-theme="light"] .page-shell-home .home-news-push-badge,
:root[data-ui-theme="light"] .page-shell-home .home-mini-stat,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-period,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-channel-count,
:root[data-ui-theme="light"] .page-shell-home .inline-stat {
    border-color: rgba(20, 33, 58, 0.1);
    background: rgba(255, 255, 255, 0.88);
    color: rgba(20, 33, 58, 0.86);
}

:root[data-ui-theme="light"] .page-shell-home .home-mini-stat .label,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-code,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-period .label,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-channel-count,
:root[data-ui-theme="light"] .page-shell-home .inline-stat .label {
    color: rgba(20, 33, 58, 0.54);
}

:root[data-ui-theme="light"] .page-shell-home .home-mini-stat .value,
:root[data-ui-theme="light"] .page-shell-home .inline-stat .value,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-channel-count,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-features li,
:root[data-ui-theme="light"] .page-shell-home .home-hero-panel-item {
    color: rgba(20, 33, 58, 0.8);
}

:root[data-ui-theme="light"] .app-shell-home .glass-nav {
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 40px rgba(20, 33, 58, 0.08);
    backdrop-filter: blur(20px);
}

:root[data-ui-theme="light"] .app-shell-home .navbar .nav-link.active,
:root[data-ui-theme="light"] .app-shell-home .navbar .nav-link:hover {
    background: rgba(20, 33, 58, 0.06);
    border-radius: 999px;
}

:root[data-ui-theme="light"] .app-shell-home .glass-nav .btn-outline-light,
:root[data-ui-theme="light"] .app-shell-home .glass-nav .dropdown-toggle {
    border-color: rgba(20, 33, 58, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 255, 0.95));
    box-shadow: 0 10px 24px rgba(20, 33, 58, 0.08);
}

:root[data-ui-theme="light"] .app-shell-home .glass-nav .btn-outline-light:hover,
:root[data-ui-theme="light"] .app-shell-home .glass-nav .btn-outline-light:focus,
:root[data-ui-theme="light"] .app-shell-home .glass-nav .dropdown-toggle:hover,
:root[data-ui-theme="light"] .app-shell-home .glass-nav .dropdown-toggle:focus {
    border-color: rgba(42, 144, 246, 0.28);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 245, 255, 0.95));
    color: #102038;
}

:root[data-ui-theme="light"] .page-shell-home {
    --home-surface-1: rgba(255, 255, 255, 0.98);
    --home-surface-2: rgba(244, 248, 255, 0.96);
    --home-border: rgba(20, 33, 58, 0.12);
    --home-border-strong: rgba(255, 42, 112, 0.18);
    --home-shadow: 0 24px 56px rgba(20, 33, 58, 0.12);
}

:root[data-ui-theme="light"] .page-shell-home .home-hero-slide,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-wrap .content-card,
:root[data-ui-theme="light"] .page-shell-home .home-step-card,
:root[data-ui-theme="light"] .page-shell-home .home-cta-banner,
:root[data-ui-theme="light"] .page-shell-home .home-news-push-card,
:root[data-ui-theme="light"] .page-shell-home .home-hero-panel,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-card {
    border-color: rgba(20, 33, 58, 0.12);
    box-shadow:
        0 20px 48px rgba(20, 33, 58, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

:root[data-ui-theme="light"] .page-shell-home .home-hero-slide {
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 42, 112, 0.12), transparent 29%),
        radial-gradient(circle at 88% 16%, rgba(69, 243, 255, 0.18), transparent 31%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(242, 247, 255, 0.96));
}

:root[data-ui-theme="light"] .page-shell-home .home-hero-title {
    background: linear-gradient(135deg, #16253f 0%, #6176d8 48%, #c77b5c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

:root[data-ui-theme="light"] .page-shell-home .home-hero-text {
    color: rgba(20, 33, 58, 0.72);
}

:root[data-ui-theme="light"] .page-shell-home .home-hero-panel {
    background:
        radial-gradient(circle at 100% 0%, rgba(69, 243, 255, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.88));
}

:root[data-ui-theme="light"] .page-shell-home .home-pricing-wrap .content-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(69, 243, 255, 0.14), transparent 34%),
        radial-gradient(circle at 0% 100%, rgba(42, 144, 246, 0.08), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(243, 247, 255, 0.97));
}

:root[data-ui-theme="light"] .page-shell-home .home-pricing-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(42, 144, 246, 0.09), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 255, 0.95));
}

:root[data-ui-theme="light"] .page-shell-home .home-pricing-card--addon {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 42, 112, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 249, 0.95));
}

:root[data-ui-theme="light"] .page-shell-home .home-pricing-card::before {
    background: linear-gradient(135deg, rgba(255, 42, 112, 0.16), rgba(69, 243, 255, 0.14));
}

:root[data-ui-theme="light"] .page-shell-home .home-step-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(143, 0, 255, 0.07), transparent 32%),
        radial-gradient(circle at 0% 100%, rgba(255, 42, 112, 0.07), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 245, 255, 0.96));
}

:root[data-ui-theme="light"] .page-shell-home .home-cta-banner {
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 42, 112, 0.12), transparent 28%),
        radial-gradient(circle at 86% 18%, rgba(255, 138, 0, 0.11), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(255, 245, 248, 0.96));
}

:root[data-ui-theme="light"] .page-shell-home .home-news-push-card {
    background:
        radial-gradient(circle at 14% 18%, rgba(69, 243, 255, 0.15), transparent 32%),
        radial-gradient(circle at 88% 18%, rgba(42, 144, 246, 0.1), transparent 34%),
        linear-gradient(150deg, rgba(255, 255, 255, 0.99), rgba(240, 248, 255, 0.96));
}

:root[data-ui-theme="light"] .page-shell-home .home-hero-panel {
    background:
        radial-gradient(circle at 100% 0%, rgba(69, 243, 255, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(236, 244, 255, 0.95));
}

:root[data-ui-theme="light"] .page-shell-home .home-hero-label,
:root[data-ui-theme="light"] .page-shell-home .home-hero-chip,
:root[data-ui-theme="light"] .page-shell-home .home-news-push-badge,
:root[data-ui-theme="light"] .page-shell-home .home-mini-stat,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-period,
:root[data-ui-theme="light"] .page-shell-home .inline-stat {
    border-color: rgba(20, 33, 58, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(241, 246, 255, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

:root[data-ui-theme="light"] .page-shell-home .home-hero-label {
    border-color: rgba(255, 42, 112, 0.2);
    background: linear-gradient(180deg, rgba(255, 240, 246, 0.98), rgba(255, 230, 240, 0.92));
    color: #a0184b;
}

:root[data-ui-theme="light"] .page-shell-home .home-hero-chip {
    border-color: rgba(69, 243, 255, 0.2);
    background: linear-gradient(180deg, rgba(241, 252, 255, 0.98), rgba(229, 248, 255, 0.94));
    color: #10314f;
}

:root[data-ui-theme="light"] .page-shell-home .home-news-push-badge {
    border-color: rgba(42, 144, 246, 0.16);
    background: linear-gradient(180deg, rgba(246, 251, 255, 0.98), rgba(235, 245, 255, 0.94));
}

:root[data-ui-theme="light"] .page-shell-home .home-news-push-badge.is-pinned {
    border-color: rgba(255, 42, 112, 0.18);
    background: linear-gradient(180deg, rgba(255, 240, 246, 0.98), rgba(255, 228, 238, 0.94));
    color: #a0184b;
}

:root[data-ui-theme="light"] .page-shell-home .home-step-number {
    border-color: rgba(255, 42, 112, 0.16);
    background: linear-gradient(180deg, rgba(255, 249, 252, 0.98), rgba(255, 236, 243, 0.94));
    color: #a0184b;
    box-shadow: 0 10px 22px rgba(255, 42, 112, 0.12);
}

:root[data-ui-theme="light"] .page-shell-home .home-step-icon {
    border-color: rgba(42, 144, 246, 0.14);
    background: linear-gradient(180deg, rgba(245, 251, 255, 0.98), rgba(231, 243, 255, 0.94));
    color: #165fcc;
    box-shadow: 0 10px 22px rgba(42, 144, 246, 0.12);
}

:root[data-ui-theme="light"] .page-shell-home .home-pricing-wrap .badge.text-bg-dark {
    background: rgba(20, 33, 58, 0.08) !important;
    color: #14213a !important;
    border-color: rgba(20, 33, 58, 0.08);
}

:root[data-ui-theme="light"] .page-shell-home .home-pricing-card .badge.text-bg-info {
    background: rgba(69, 243, 255, 0.14) !important;
    color: #10314f !important;
    border-color: rgba(42, 144, 246, 0.12);
}

:root[data-ui-theme="light"] .page-shell-home .home-pricing-card .badge.text-bg-warning {
    background: rgba(255, 42, 112, 0.12) !important;
    color: #a0184b !important;
    border-color: rgba(255, 42, 112, 0.12);
}

:root[data-ui-theme="light"] .page-shell-home .home-pricing-card .badge.text-bg-dark {
    background: rgba(20, 33, 58, 0.08) !important;
    color: #14213a !important;
    border-color: rgba(20, 33, 58, 0.08);
}

:root[data-ui-theme="light"] .page-shell-home .home-hero-actions .btn-primary,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-card .btn-primary,
:root[data-ui-theme="light"] .page-shell-home .home-cta-banner .btn-primary,
:root[data-ui-theme="light"] .page-shell-home .home-news-push-actions .btn-primary {
    box-shadow: 0 14px 30px rgba(255, 42, 112, 0.2);
}

:root[data-ui-theme="light"] .page-shell-home .home-hero-actions .btn-outline-light,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-card .btn-outline-light,
:root[data-ui-theme="light"] .page-shell-home .home-cta-banner .btn-outline-light {
    border-color: rgba(20, 33, 58, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 255, 0.95));
    color: #14213a;
    box-shadow: 0 12px 26px rgba(20, 33, 58, 0.08);
}

:root[data-ui-theme="light"] .page-shell-home .home-hero-actions .btn-outline-light:hover,
:root[data-ui-theme="light"] .page-shell-home .home-pricing-card .btn-outline-light:hover,
:root[data-ui-theme="light"] .page-shell-home .home-cta-banner .btn-outline-light:hover {
    border-color: rgba(42, 144, 246, 0.28);
    background: linear-gradient(180deg, rgba(246, 251, 255, 0.98), rgba(226, 241, 255, 0.94));
    color: #102038;
}

:root[data-ui-theme="light"] .page-shell-home .home-carousel-btn {
    border-color: rgba(20, 33, 58, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 255, 0.94));
    box-shadow: 0 10px 22px rgba(20, 33, 58, 0.08);
}

:root[data-ui-theme="light"] .page-shell-home .home-carousel-btn:hover {
    background: linear-gradient(180deg, rgba(245, 251, 255, 0.98), rgba(226, 241, 255, 0.94));
}

:root[data-ui-theme="light"] .page-shell-home .home-pricing-wrap .border-white-10 {
    border-color: rgba(20, 33, 58, 0.12) !important;
}

@media (max-width: 991.98px) {
    .page-shell-home .home-hero-title {
        max-width: none;
    }

    .page-shell-home .home-hero-art {
        min-height: 300px;
    }
}

@media (max-width: 767.98px) {
    .app-shell-home .billing-tariff-modal-shell {
        --home-modal-offset-top: 3.8rem;
    }

    .page-shell-home::before {
        left: -35%;
        width: 24rem;
        height: 24rem;
    }

    .page-shell-home::after {
        right: -30%;
        width: 22rem;
        height: 22rem;
    }

    .page-shell-home .home-hero-slide,
    .page-shell-home .home-pricing-wrap .content-card,
    .page-shell-home .home-step-card,
    .page-shell-home .home-cta-banner,
    .page-shell-home .home-news-push-card {
        border-radius: 1.2rem;
    }

    .page-shell-home .home-hero-slide {
        --home-hero-slide-radius: 1.2rem;
        padding: 1.2rem;
    }

    .page-shell-home .home-hero-title {
        font-size: clamp(2rem, 1.35rem + 5.2vw, 2.95rem);
    }

    .page-shell-home .home-hero-art {
        min-height: 250px;
    }

    .page-shell-home .home-hero-panel {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-pricing-card,
    .home-carousel-btn {
        transition: none;
    }

    .home-hero-slide,
    .home-hero-slide::after {
        animation: none !important;
    }

    .carousel-item {
        transition: none !important;
    }
}

.home-recommended-shell {
    position: relative;
    padding: 1.4rem clamp(1rem, 2vw, 1.6rem);
    border-radius: 1.7rem;
    border: 1px solid rgba(118, 164, 212, 0.16);
    background: linear-gradient(135deg, rgba(10, 24, 39, 0.94), rgba(15, 36, 57, 0.9));
    box-shadow: 0 24px 50px rgba(5, 15, 28, 0.28);
    overflow: hidden;
}

.home-recommended-shell::before {
    content: "";
    position: absolute;
    inset: auto -8% -30% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(55, 201, 255, 0.18) 0%, rgba(55, 201, 255, 0) 72%);
    pointer-events: none;
}

.home-recommended-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.home-recommended-track-wrap {
    position: relative;
    overflow: visible;
}

.home-recommended-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding: 0.55rem 0.1rem 0.35rem;
}

.home-recommended-track::-webkit-scrollbar {
    display: none;
}

.home-recommended-tile {
    position: relative;
    z-index: 0;
    flex: 0 0 clamp(160px, 17vw, 220px);
    scroll-snap-align: start;
}

.home-recommended-tile:hover,
.home-recommended-tile:focus-within {
    z-index: 3;
}

.home-recommended-tile-surface {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 132px;
    aspect-ratio: 1.68 / 1;
    padding: 1rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(141, 182, 228, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, rgba(8, 18, 30, 0.94), rgba(13, 27, 43, 0.9));
    box-shadow: 0 18px 34px rgba(5, 13, 23, 0.22);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.home-recommended-tile:hover .home-recommended-tile-surface,
.home-recommended-tile:focus-within .home-recommended-tile-surface {
    transform: none;
    border-color: rgba(111, 212, 255, 0.38);
    box-shadow:
        0 0 0 1px rgba(111, 212, 255, 0.14),
        0 22px 38px rgba(9, 18, 35, 0.28);
}

.home-recommended-tile-image {
    display: block;
    max-width: 96%;
    max-height: 102%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.home-recommended-tile-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    min-height: 74px;
    padding: 0.6rem 0.8rem;
    border-radius: 1.2rem;
    background: linear-gradient(135deg, rgba(255, 90, 123, 0.22), rgba(79, 209, 255, 0.24));
    color: #f6f8fc;
    font-size: clamp(1.25rem, 1rem + 1vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.home-recommended-tile-badge {
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    min-height: 1.5rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 92, 127, 0.96), rgba(255, 153, 57, 0.92));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 22px rgba(255, 92, 127, 0.24);
}

.page-shell-home .home-recommended-shell {
    border-color: rgba(122, 188, 255, 0.16);
    background:
        radial-gradient(circle at top right, rgba(51, 205, 255, 0.11), rgba(51, 205, 255, 0) 32%),
        linear-gradient(135deg, rgba(10, 23, 39, 0.96), rgba(13, 30, 52, 0.94));
}

.page-shell-home .home-recommended-tile-surface {
    border-color: rgba(146, 194, 242, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, rgba(8, 17, 28, 0.96), rgba(12, 26, 43, 0.94));
}

:root[data-ui-theme="light"] .page-shell-home .home-recommended-shell {
    border-color: rgba(117, 153, 194, 0.18);
    background:
        radial-gradient(circle at top right, rgba(61, 207, 255, 0.13), rgba(61, 207, 255, 0) 34%),
        linear-gradient(135deg, rgba(250, 252, 255, 0.98), rgba(239, 246, 255, 0.96));
    box-shadow: 0 26px 48px rgba(93, 118, 158, 0.12);
}

:root[data-ui-theme="light"] .page-shell-home .home-recommended-tile-surface {
    border-color: rgba(126, 166, 214, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 251, 255, 0.92)),
        linear-gradient(135deg, rgba(239, 245, 255, 0.98), rgba(231, 243, 255, 0.96));
    box-shadow: 0 16px 30px rgba(111, 142, 184, 0.12);
}

:root[data-ui-theme="light"] .page-shell-home .home-recommended-tile-fallback {
    color: #16314f;
    background: linear-gradient(135deg, rgba(255, 128, 150, 0.22), rgba(86, 219, 255, 0.24));
}

@media (max-width: 991.98px) {
    .home-recommended-shell {
        padding: 1.15rem;
        border-radius: 1.35rem;
    }

    .home-recommended-track-wrap {
        overflow: visible;
    }

    .home-recommended-tile {
        flex-basis: clamp(158px, 40vw, 210px);
    }

    .home-recommended-tile-surface {
        min-height: 120px;
    }

    .home-recommended-tile-image {
        max-width: 98%;
        max-height: 102%;
    }
}

@media (max-width: 575.98px) {
    .home-recommended-controls {
        width: 100%;
        justify-content: flex-end;
    }

    .home-recommended-tile {
        flex-basis: 72vw;
    }
}

/* Home hero visual builder overrides */
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom {
    position: relative;
    min-height: var(--home-hero-slide-min-height, 560px);
    font-family: var(--home-hero-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    background: linear-gradient(145deg, rgba(11, 18, 32, 0.98), rgba(12, 21, 38, 0.96));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-font="system"] {
    --home-hero-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-font="manrope"] {
    --home-hero-font-family: "Manrope", "Segoe UI", sans-serif;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-font="rubik"] {
    --home-hero-font-family: "Rubik", "Segoe UI", sans-serif;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-font="montserrat"] {
    --home-hero-font-family: "Montserrat", "Segoe UI", sans-serif;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-font="oswald"] {
    --home-hero-font-family: "Oswald", "Arial Narrow", sans-serif;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-font="playfair"] {
    --home-hero-font-family: "Playfair Display", Georgia, serif;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-font="pt_sans"] {
    --home-hero-font-family: "PT Sans", "Segoe UI", sans-serif;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-font="pt_serif"] {
    --home-hero-font-family: "PT Serif", Georgia, serif;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-font="unbounded"] {
    --home-hero-font-family: "Unbounded", "Segoe UI", sans-serif;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-content,
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-label,
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-title,
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-text,
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-chip,
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-panel,
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-panel-title,
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-panel-item,
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-mini-stat,
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-mini-stat .label,
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-mini-stat .value,
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-actions .btn {
    font-family: var(--home-hero-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--home-hero-accent, #ff2a70), var(--home-hero-accent-2, #45f3ff), rgba(255, 255, 255, 0));
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom::after {
    display: none;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-slide-media,
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-slide-overlay,
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-slide-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-slide-media {
    z-index: 0;
    background-image: var(--home-hero-bg-image, none);
    background-repeat: no-repeat;
    background-size: var(--home-hero-bg-size, cover);
    background-position: var(--home-hero-bg-position, center center);
    opacity: var(--home-hero-bg-opacity, 0);
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-slide-overlay {
    z-index: 0;
    background: linear-gradient(135deg, var(--home-hero-overlay-start, rgba(16, 25, 42, 0.82)), var(--home-hero-overlay-end, rgba(9, 11, 20, 0.92)));
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-slide-glow {
    z-index: 0;
    filter: blur(24px);
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-slide-glow-a {
    inset: auto auto -20% -10%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, var(--home-hero-accent-soft, rgba(255, 42, 112, 0.18)), transparent 66%);
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-slide-glow-b {
    inset: -14% -6% auto auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, var(--home-hero-accent-2-soft, rgba(69, 243, 255, 0.12)), transparent 68%);
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-row {
    position: relative;
    z-index: 1;
    min-height: var(--home-hero-slide-min-height, 560px);
    align-items: center;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-row-align="start"] .home-hero-row {
    align-items: flex-start;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-row-align="end"] .home-hero-row {
    align-items: flex-end;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-content {
    max-width: var(--home-hero-content-max-width, 620px);
    transform: translate(var(--home-hero-content-offset-x, 0px), var(--home-hero-content-offset-y, 0px));
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-content-align="center"] .home-hero-content {
    margin-left: auto;
    margin-right: auto;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-content-align="end"] .home-hero-content {
    margin-left: auto;
    margin-right: 0;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-text-align="center"] .home-hero-content {
    text-align: center;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-text-align="end"] .home-hero-content {
    text-align: right;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-label {
    border-color: var(--home-hero-label-border, rgba(255, 42, 112, 0.28));
    background: var(--home-hero-label-bg, rgba(255, 42, 112, 0.08));
    color: var(--home-hero-label-text, #ff7cab);
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-title {
    max-width: var(--home-hero-title-max-width, 620px);
    font-size: var(--home-hero-title-size, 72px);
    background: linear-gradient(135deg, var(--home-hero-title-start, #ffffff) 0%, var(--home-hero-title-end, #ff9a62) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-text {
    color: var(--home-hero-text-color, rgba(226, 232, 240, 0.88)) !important;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-chip {
    border-color: var(--home-hero-chip-border, rgba(69, 243, 255, 0.18));
    background: var(--home-hero-chip-bg, rgba(69, 243, 255, 0.08));
    color: var(--home-hero-chip-text, #dfeeff);
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-art {
    display: flex;
    justify-content: flex-end;
    min-height: 100%;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-panel-align="start"] .home-hero-art {
    justify-content: flex-start;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom[data-home-hero-panel-align="center"] .home-hero-art {
    justify-content: center;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-panel {
    width: min(100%, var(--home-hero-panel-width, 380px));
    transform: translate(var(--home-hero-panel-offset-x, 0px), var(--home-hero-panel-offset-y, 0px));
    background: var(--home-hero-panel-bg, rgba(16, 25, 42, 0.82));
    border-color: var(--home-hero-panel-border, rgba(165, 217, 255, 0.34));
    box-shadow: 0 1.25rem 2.8rem rgba(0, 0, 0, 0.22);
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-panel-title {
    color: var(--home-hero-panel-title-color, #ffffff);
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-panel-item {
    color: var(--home-hero-panel-text-color, rgba(226, 232, 240, 0.88));
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-panel-item i {
    color: var(--home-hero-panel-bullet-color, #45f3ff) !important;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-mini-stat {
    border-color: var(--home-hero-stat-border, rgba(226, 232, 240, 0.16));
    background: var(--home-hero-stat-bg, rgba(226, 232, 240, 0.08));
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-mini-stat .label {
    color: var(--home-hero-stat-label-color, rgba(226, 232, 240, 0.58));
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-mini-stat .value {
    color: var(--home-hero-stat-value-color, #ffffff);
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-actions .btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, #ff2a70, #ff8a00);
    color: #fff;
    font-family: inherit;
    box-shadow: 0 16px 32px rgba(255, 42, 112, 0.24);
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.92);
    font-family: inherit;
    box-shadow: none;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-actions .home-hero-btn-custom {
    border-color: var(--home-hero-btn-border, #45f3ff);
    background: linear-gradient(135deg, var(--home-hero-btn-start, #5b6dff), var(--home-hero-btn-end, #45f3ff));
    color: var(--home-hero-btn-text, #ffffff);
    font-family: inherit;
    box-shadow: 0 16px 30px var(--home-hero-btn-shadow, rgba(91, 109, 255, 0.28));
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-actions .btn-primary:hover,
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-actions .btn-primary:focus {
    border-color: transparent;
    background: linear-gradient(135deg, #ff2a70, #ff8a00);
    box-shadow: 0 16px 32px rgba(255, 42, 112, 0.24);
    color: #fff;
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-actions .btn-outline-light:hover,
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-actions .btn-outline-light:focus {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    color: rgba(255, 255, 255, 0.96);
}

:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-actions .home-hero-btn-custom:hover,
:root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-actions .home-hero-btn-custom:focus {
    border-color: var(--home-hero-btn-border, #45f3ff);
    background: linear-gradient(135deg, var(--home-hero-btn-start, #5b6dff), var(--home-hero-btn-end, #45f3ff));
    color: var(--home-hero-btn-text, #ffffff);
    box-shadow: 0 16px 30px var(--home-hero-btn-shadow, rgba(91, 109, 255, 0.28));
}

@media (max-width: 991.98px) {
    :root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom {
        min-height: clamp(360px, calc(var(--home-hero-slide-min-height, 560px) * 0.9), 520px);
    }

    :root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-row {
        min-height: inherit;
    }

    :root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-content,
    :root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-panel {
        transform: none;
        max-width: 100%;
        width: 100%;
    }

    :root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-art {
        justify-content: stretch;
    }

    :root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-title {
        font-size: clamp(1.85rem, 5.2vw, 2.85rem);
        max-width: 100%;
    }

    :root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-actions .btn {
        width: auto;
        min-width: min(100%, 220px);
    }
}

@media (max-width: 575.98px) {
    :root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom {
        min-height: clamp(340px, calc(var(--home-hero-slide-min-height, 560px) * 0.82), 430px);
    }

    :root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-label {
        margin-bottom: 0.7rem;
        font-size: 0.72rem;
    }

    :root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-title {
        font-size: clamp(1.65rem, 8vw, 2.1rem);
    }

    :root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-text {
        font-size: 0.89rem;
        line-height: 1.42;
        margin-bottom: 0.85rem;
    }

    :root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-chip {
        font-size: 0.76rem;
        padding: 0.32rem 0.65rem;
    }

    :root[data-ui-theme] .page-shell-home .home-hero-slide.home-hero-slide--custom .home-hero-actions .btn {
        min-width: min(100%, 210px);
    }
}
