:root {
    color-scheme: light;
    --color-primary: #0A2A52;
    --color-secondary: #9EE447;
    --color-gradient-start: #1B4D80;
    --color-gradient-end: #9EE447;
    --app-pattern-gradient:
        radial-gradient(120% 140% at 85% 15%, rgba(158, 228, 71, 0.78), rgba(6, 24, 42, 0.05) 62%, rgba(6, 24, 42, 0) 100%),
        radial-gradient(140% 120% at 15% 0%, rgba(6, 31, 62, 0.85), rgba(6, 24, 42, 0.35) 55%, rgba(6, 24, 42, 0) 100%),
        linear-gradient(160deg, #04132a 0%, #0a2a52 42%, #0c4a4f 68%, #0c6e28 100%);
    --color-surface: #F6F8FA;
    --color-text-primary: #0E2240;
    --color-text-secondary: #6E7B8A;
    --color-card: #FFFFFF;
    --color-border: rgba(10, 42, 82, 0.08);
    --shadow-soft: 0 20px 40px rgba(10, 42, 82, 0.12);
    --shadow-hover: 0 24px 45px rgba(27, 77, 128, 0.18);
    --radius-large: 20px;
    --radius-medium: 16px;
    --radius-small: 12px;
    --transition: 200ms ease;
    --layout-width: min(1120px, 92vw);
    --app-viewport-height: 100vh;
}

@supports (height: 100dvh) {
    :root {
        --app-viewport-height: 100dvh;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: var(--app-viewport-height);
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--color-surface);
    color: var(--color-text-primary);
    display: flex;
    flex-direction: column;
}

body.landing {
    background: var(--app-pattern-gradient);
    background-attachment: fixed;
}

body.auth--login {
    background:
        radial-gradient(120% 140% at 85% 15%, rgba(158, 228, 71, 0.62), rgba(6, 24, 42, 0.05) 60%, rgba(6, 24, 42, 0) 100%),
        radial-gradient(140% 120% at 15% 0%, rgba(6, 31, 62, 0.78), rgba(6, 24, 42, 0.35) 55%, rgba(6, 24, 42, 0) 100%),
        linear-gradient(160deg, #04132a 0%, #0a2a52 42%, #0c4a4f 68%, #0c6e28 100%);
    background-attachment: fixed;
    color: #ffffff;
}

.auth--login main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(3rem, 7vw, 6rem) 0;
}

.auth-hero {
    width: var(--layout-width);
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(2.5rem, 6vw, 3.5rem);
}

.auth-hero::after {
    content: "";
    position: absolute;
    inset: clamp(-3rem, -8vw, -2rem) clamp(-2rem, -6vw, -1rem) clamp(-3rem, -8vw, -2rem);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 70%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

.auth-hero__inner {
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
}

.auth-hero__intro {
    max-width: 640px;
    color: #ffffff;
    display: grid;
    gap: 1rem;
}

.auth-hero__intro h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 2.9rem);
    line-height: 1.05;
}

.auth-hero__intro p {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
}

.auth-hero__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(320px, 1fr);
}

.auth-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 28px 60px rgba(6, 24, 42, 0.22);
    backdrop-filter: blur(16px);
}

.auth-card header h1 {
    font-size: 1.65rem;
    color: var(--color-primary);
}

.auth-card header p {
    color: rgba(14, 34, 64, 0.7);
}

.auth-card--primary {
    position: relative;
    overflow: hidden;
}

.auth-card--primary::before {
    content: none;
}

.auth-card--secondary {
    background: rgba(9, 30, 60, 0.88);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.auth-card--secondary header p {
    color: rgba(14, 34, 64, 0.7);
}

.auth-card--secondary .form-hint a {
    color: #ffffff;
}

.auth-card--secondary .btn.btn--ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.auth-card--secondary .btn.btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.7);
}

.password-meter {
    border-radius: var(--radius-small);
    padding: 0.85rem 1rem;
    background: rgba(10, 42, 82, 0.08);
    display: grid;
    gap: 0.65rem;
    font-size: 0.85rem;
}

.password-meter__status {
    margin: 0;
    font-weight: 600;
    color: var(--color-text-primary);
}

.password-meter__rules {
    list-style: none;
    display: grid;
    gap: 0.4rem;
    padding: 0;
    margin: 0;
}

.password-meter__rules li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(14, 34, 64, 0.7);
    position: relative;
    padding-left: 1.6rem;
}

.password-meter__rules li::before {
    content: "";
    position: absolute;
    left: 0;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 999px;
    border: 2px solid rgba(14, 34, 64, 0.28);
    background: transparent;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.password-meter__rules li.is-valid {
    color: var(--color-primary);
    font-weight: 600;
}

.password-meter__rules li.is-valid::before {
    background: var(--color-secondary);
    border-color: transparent;
    transform: scale(1.1);
}

.password-meter[data-state="valid"] .password-meter__status {
    color: var(--color-primary);
}

.password-meter[data-state="warning"] .password-meter__status {
    color: #c27a00;
}

@media (min-width: 900px) {
    .auth-hero__grid {
        grid-template-columns: minmax(360px, 1fr) minmax(280px, 0.75fr);
        align-items: start;
    }
}

@media (max-width: 768px) {
    .auth--login main {
        padding: clamp(2.5rem, 12vw, 4rem) 0;
    }

    .auth-card {
        box-shadow: 0 18px 42px rgba(6, 24, 42, 0.18);
    }
}

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

img {
    max-width: 100%;
    display: block;
}

.site-header {
    background: linear-gradient(135deg, rgba(10, 42, 82, 0.92), rgba(27, 77, 128, 0.72));
    color: #ffffff;
}

.site-header__inner {
    width: var(--layout-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0 0.85rem;
    gap: 1.5rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: 1rem;
    text-transform: uppercase;
}

.site-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}

.site-logo span {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
}

.site-logo span strong {
    font-size: 1.15rem;
    color: #ffffff;
}

.site-header__actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.language-switcher {
    position: relative;
    display: inline-block;
}

.language-switcher summary {
    list-style: none;
}

.language-switcher summary::-webkit-details-marker {
    display: none;
}

.language-switcher__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.language-switcher__trigger:focus-visible {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.language-switcher--app .language-switcher__trigger {
    background: #0A2A52;
    border-color: #0A2A52;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(10, 42, 82, 0.25);
}

.language-switcher[open] .language-switcher__trigger {
    background: rgba(255, 255, 255, 0.15);
}

.language-switcher--app[open] .language-switcher__trigger {
    background: rgba(10, 42, 82, 0.9);
    border-color: rgba(10, 42, 82, 0.9);
}

.language-switcher__chevron {
    font-size: 0.65rem;
    opacity: 0.7;
}

.language-switcher__list {
    display: none;
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    padding: 0.4rem;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 16px 32px rgba(10, 42, 82, 0.22);
    min-width: 140px;
    z-index: 40;
    color: #0A2A52;
}

.language-switcher[open] .language-switcher__list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.language-switcher__option,
.language-switcher__option--active {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.65rem;
    border-radius: 0.6rem;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background var(--transition), color var(--transition);
}

.language-switcher__option {
    color: #0A2A52;
}

.language-switcher__option:hover,
.language-switcher__option:focus {
    background: rgba(10, 42, 82, 0.08);
    color: #0A2A52;
}

.language-switcher__option--active {
    color: #0A2A52;
    background: rgba(10, 42, 82, 0.12);
    font-weight: 600;
    cursor: default;
}

.language-switcher__flag {
    font-size: 1.1rem;
    line-height: 1;
}

.language-switcher__label {
    font-size: 0.78rem;
    font-weight: 600;
}

.language-switcher__trigger .language-switcher__label {
    color: #ffffff;
}

.language-switcher__list .language-switcher__label {
    color: #0A2A52;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.55rem 1.3rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(10, 42, 82, 0.18);
    color: var(--color-primary);
}

.btn--ghost:hover {
    transform: translateY(-1px);
    border-color: rgba(10, 42, 82, 0.35);
    background: rgba(10, 42, 82, 0.05);
}

.btn--primary {
    background: #0A2A52;
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: #0c3566;
}

main {
    flex: 1;
}

.page-section {
    width: var(--layout-width);
    margin: 0 auto;
    padding: 3.5rem 0;
}

.hero {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.hero--split {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero__headline {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    color: #ffffff;
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.1rem);
    margin: 0;
    line-height: 1.05;
}

.hero__subtitle {
    margin: 0;
    font-size: 1.05rem;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-banner {
    background: linear-gradient(135deg, rgba(10, 42, 82, 0.96), rgba(156, 230, 71, 0.75));
    color: #ffffff;
    padding: 3.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(158, 228, 71, 0.22), transparent 45%);
    pointer-events: none;
}

.landing-hero {
    background: linear-gradient(180deg, rgba(0, 12, 26, 0.65), rgba(0, 12, 26, 0.1));
    color: #ffffff;
    padding: 4.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(70% 95% at 85% 25%, rgba(158, 228, 71, 0.35), rgba(0, 0, 0, 0) 65%),
        linear-gradient(160deg, rgba(10, 42, 82, 0.55), rgba(4, 19, 42, 0.15) 55%, rgba(4, 19, 42, 0));
    pointer-events: none;
}

.landing-hero__inner {
    width: var(--layout-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.landing-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.landing-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.landing-hero__title {
    margin: 0;
    font-size: clamp(2.35rem, 5.2vw, 3.6rem);
    line-height: 1.05;
}

.landing-hero__subtitle {
    margin: 0;
    font-size: 1.05rem;
    max-width: 540px;
    color: rgba(255, 255, 255, 0.82);
}

.landing-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.landing-hero__note {
    margin: 1.25rem 0 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.landing-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
}

.landing-hero__stats .stat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 160px;
    padding: 0.95rem 1.15rem;
    border-radius: var(--radius-medium);
    background: rgba(10, 42, 82, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 36px rgba(4, 16, 32, 0.35);
}

.landing-hero__stats .stat strong {
    font-size: 1.65rem;
    color: #f7fbff;
    line-height: 1;
}

.landing-hero__stats .stat span {
    font-size: 0.88rem;
    color: rgba(238, 243, 251, 0.82);
}

.landing-hero__visual {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.75rem;
}

.landing-device-carousel {
    width: 100%;
    max-width: clamp(320px, 44vw, 560px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.landing-device-carousel__viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 32px 60px rgba(5, 18, 32, 0.38);
    background: radial-gradient(120% 120% at 50% 10%, rgba(255, 255, 255, 0.06), rgba(10, 42, 82, 0.15) 70%);
}

.landing-device-carousel__slide {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 600ms ease, transform 600ms ease;
    will-change: opacity, transform;
}

.landing-device-carousel__slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.landing-device-carousel__dots {
    display: flex;
    gap: 0.45rem;
}

.landing-device-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    opacity: 0.7;
    transition: background 200ms ease, opacity 200ms ease, transform 200ms ease;
}

.landing-device-carousel__dot.is-active {
    background: var(--color-secondary);
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(158, 228, 71, 0.65);
}

@media (prefers-reduced-motion: reduce) {
    .landing-device-carousel__slide {
        transition-duration: 0.01ms;
    }
}

.landing-hero__badge {
    width: min(340px, 100%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    display: grid;
    gap: 0.6rem;
}

.landing-highlights {
    padding: 3.8rem 0;
}

.landing-highlights__inner {
    width: var(--layout-width);
    margin: 0 auto;
}

.highlight-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.highlight-card {
    background: #ffffff;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    padding: 1.9rem;
    display: grid;
    gap: 0.9rem;
    border: 1px solid var(--color-border);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(158, 228, 71, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--color-primary);
}

.highlight-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.highlight-card p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.landing-carousel {
    padding-top: 1.5rem;
}

.btn--accent {
    background: var(--color-secondary);
    color: var(--color-primary);
    box-shadow: var(--shadow-soft);
}

.btn--accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--light {
    background: #ffffff;
    color: var(--color-primary);
    box-shadow: var(--shadow-soft);
}

.btn--light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline-light:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.85);
}

.btn--lg {
    padding: 0.85rem 1.8rem;
    font-size: 1rem;
}

@media (max-width: 960px) {
    .landing-hero {
        padding: 3.8rem 0 3.6rem;
    }

    .landing-hero__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .landing-hero__copy {
        text-align: center;
        align-items: center;
    }

    .landing-hero__subtitle,
    .landing-hero__note {
        max-width: none;
    }

    .landing-hero__stats {
        justify-content: center;
    }

    .landing-hero__cta {
        justify-content: center;
    }

    .landing-hero__visual {
        width: min(440px, 100%);
        margin: 0 auto;
        align-items: center;
    }

    .landing-device-carousel {
        max-width: min(440px, 100%);
    }
}

@media (max-width: 640px) {
    .btn--lg {
        width: 100%;
    }

    .landing-hero__stats .stat {
        width: 100%;
    }
}

.card {
    background: var(--color-card);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
}

.card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.segmented-control {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem;
    gap: 0.25rem;
    border-radius: 999px;
    background: rgba(10, 42, 82, 0.08);
    box-shadow: inset 0 1px 4px rgba(10, 42, 82, 0.08);
}

.segmented-control__btn {
    border: none;
    background: transparent;
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.segmented-control__btn:hover,
.segmented-control__btn:focus-visible {
    color: var(--color-text-primary);
}

.segmented-control__btn.is-active {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(10, 42, 82, 0.22);
}

.segmented-control__btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 42, 82, 0.18);
}

.modality-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(10, 42, 82, 0.08);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-primary);
}

.card--compact {
    padding: 1.5rem;
    border-radius: var(--radius-medium);
}

.form-card header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-card h2 {
    margin: 0;
    font-size: 1.4rem;
}

.form-card p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.form-hint {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.form-hint a {
    color: var(--color-primary);
    text-decoration: underline;
}

.forgot-panel {
    border: 1px solid rgba(10, 42, 82, 0.12);
    border-radius: var(--radius-small);
    padding: 1rem;
    background: rgba(10, 42, 82, 0.02);
    margin-top: 0.5rem;
    display: none;
}

.forgot-panel.is-visible {
    display: block;
}

.inline-actions {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.btn-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: inherit;
}

.btn-link:hover,
.btn-link:focus-visible {
    color: var(--color-secondary);
}

form {
    display: grid;
    gap: 1rem;
}

label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-primary);
}

input,
select,
textarea {
    border: 1px solid rgba(14, 34, 64, 0.16);
    border-radius: var(--radius-small);
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
    font-weight: 400;
    font-family: inherit;
    color: var(--color-text-primary);
    background: #ffffff;
    transition: border-color var(--transition), box-shadow var(--transition);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--color-text-primary);
    font-weight: 400;
    transition: background-color 9999s ease-out;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(27, 77, 128, 0.55);
    box-shadow: 0 0 0 3px rgba(158, 228, 71, 0.25);
}

.card input::placeholder,
textarea::placeholder,
input::placeholder {
    color: rgba(14, 34, 64, 0.45);
}

.helper-text {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.alert {
    border-radius: var(--radius-small);
    padding: 0.88rem 1rem;
    font-size: 0.92rem;
    display: none;
}

.alert--error {
    background: rgba(255, 109, 96, 0.1);
    border: 1px solid rgba(255, 109, 96, 0.3);
    color: #AA1E0E;
}

.alert--success {
    background: rgba(158, 228, 71, 0.12);
    border: 1px solid rgba(158, 228, 71, 0.5);
    color: #2E5C0D;
}

.app-toast {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translate(-50%, -24px);
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #ffffff;
    border-radius: 18px;
    padding: 0.9rem 1.1rem;
    box-shadow: 0 16px 34px rgba(26, 42, 68, 0.2);
    border: 1px solid rgba(26, 42, 68, 0.08);
    min-width: min(420px, calc(100% - 2.5rem));
    max-width: min(420px, calc(100% - 2.5rem));
    z-index: 1200;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.app-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.app-toast__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-toast__icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.app-toast__icon [data-icon] {
    display: none;
}

.app-toast--success .app-toast__icon {
    background: rgba(84, 214, 44, 0.18);
    color: #1C640F;
}

.app-toast--error .app-toast__icon {
    background: rgba(255, 87, 79, 0.15);
    color: #AA1E0E;
}

.app-toast--success .app-toast__icon [data-icon="success"],
.app-toast--error .app-toast__icon [data-icon="error"] {
    display: inline-flex;
}

.app-toast__message {
    flex: 1;
    color: #1a2a44;
    font-size: 0.95rem;
    line-height: 1.4;
}

.app-toast__close {
    border: 0;
    background: transparent;
    color: rgba(26, 42, 68, 0.45);
    font-size: 1.35rem;
    line-height: 1;
    padding: 0.15rem;
    border-radius: 50%;
    cursor: pointer;
}

.app-toast__close:hover,
.app-toast__close:focus {
    color: rgba(26, 42, 68, 0.7);
    background: rgba(26, 42, 68, 0.08);
}

.consent-group {
    display: grid;
    gap: 0.75rem;
}

.consent-option {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.consent-option input {
    margin-top: 0.2rem;
}

.carousel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 250, 0.8));
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    padding: 2.5rem;
    display: grid;
    gap: 2rem;
}

.carousel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.carousel__title {
    margin: 0;
    font-size: 1.6rem;
}

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

.carousel-card {
    background: #ffffff;
    border-radius: var(--radius-medium);
    box-shadow: 0 12px 28px rgba(14, 34, 64, 0.12);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid rgba(14, 34, 64, 0.05);
    opacity: 0;
    transition: opacity var(--transition), transform var(--transition);
    transform: translateY(6px);
}

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

.carousel-card__club {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.badge,
.carousel-card__badge,
.tournament-card__competitions-participants {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background: rgba(158, 228, 71, 0.18);
    color: var(--color-primary);
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
}

.tournament-card__competitions-participants {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.tournament-card__competitions-participants.is-open {
    background: rgba(134, 215, 54, 0.18);
    color: #195b0c;
}

.tournament-card__competitions-participants.is-full {
    background: rgba(255, 87, 79, 0.18);
    color: #a11a08;
}

.tournament-card__participants {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.tournament-card__participants-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: rgba(134, 215, 54, 0.2);
    color: #195b0c;
}

.tournament-card__participants-badge.is-full {
    background: rgba(255, 87, 79, 0.18);
    color: #a11a08;
}

.tournament-card__participants-badge.is-open {
    background: rgba(134, 215, 54, 0.2);
    color: #195b0c;
}

.carousel-card__badge {
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.25);
    color: var(--color-primary);
    font-size: 0.82rem;
    padding: 0.35rem 0.85rem;
}

body.landing .carousel-card {
    background: rgba(10, 42, 82, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #eef3fb;
    box-shadow: 0 14px 32px rgba(4, 16, 32, 0.35);
}

body.landing .carousel-card__club {
    color: #f7fbff;
}

body.landing .carousel-card__meta span {
    color: rgba(238, 243, 251, 0.82);
}

body.landing .carousel-card__meta strong {
    color: #f7fbff;
}

body.landing .carousel-card__badge {
    background: rgba(158, 228, 71, 0.95);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--color-primary);
}

.badge--outline {
    border: 1px solid rgba(10, 42, 82, 0.25);
    background: rgba(255, 255, 255, 0.85);
    color: var(--color-primary);
    display: inline-flex;
}

.carousel-card__meta {
    display: grid;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    word-break: break-word;
    overflow-wrap: anywhere;
}

.carousel-card__meta span {
    display: block;
}

.carousel__controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(10, 42, 82, 0.22);
    transition: background var(--transition), transform var(--transition);
}

.carousel__dot.is-active {
    background: var(--color-secondary);
    transform: scale(1.2);
}

.section-title {
    margin: 0 0 1rem;
    font-size: 1.8rem;
}

.section-subtitle {
    margin: 0 0 2rem;
    color: var(--color-text-secondary);
}

.grid {
    display: grid;
    gap: 1.5rem;
}

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

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

.footer {
    background: #081a34;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 3rem;
}

.footer.footer--app {
    background: var(--color-primary);
}

.footer__inner {
    width: var(--layout-width);
    margin: 0 auto;
    padding: 1rem 0 0.85rem;
    min-height: calc(80px + 1rem + 0.85rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.footer__links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.9rem;
}

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

.footer__social {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer__social a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: background var(--transition), transform var(--transition), border var(--transition);
    color: #ffffff;
}

.footer__social a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}

.footer__social svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .footer__links {
        gap: 1rem;
    }
}

.field-group {
    display: grid;
    gap: 1rem;
}

.field-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.checkbox-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.checkbox-grid label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.muted {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.subscription-summary-card {
    overflow: hidden;
    position: relative;
}

.subscription-summary {
    display: grid;
    gap: 1.4rem;
}

.subscription-summary__header {
    position: relative;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-large);
    background: linear-gradient(140deg, rgba(10, 42, 82, 0.94), rgba(4, 92, 132, 0.88));
    color: #ffffff;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(10, 42, 82, 0.24);
}

.subscription-summary__header::after {
    content: "";
    position: absolute;
    inset: -45% -30% auto auto;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle at center, rgba(158, 228, 71, 0.45), transparent 68%);
    opacity: 0.7;
    pointer-events: none;
}

.subscription-summary__heading {
    display: grid;
    gap: 0.35rem;
    position: relative;
    z-index: 1;
}

.subscription-summary__label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.68);
}

.subscription-summary__title {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 600;
    line-height: 1.2;
    color: inherit;
}

.subscription-summary__status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(14px);
}

.subscription-summary__status--active {
    background: rgba(158, 228, 71, 0.26);
    border-color: rgba(158, 228, 71, 0.45);
    color: #f0ffe0;
}

.subscription-summary__status--warning {
    background: rgba(255, 188, 66, 0.26);
    border-color: rgba(255, 188, 66, 0.48);
    color: #fff1d5;
}

.subscription-summary__status--inactive {
    background: rgba(217, 45, 32, 0.28);
    border-color: rgba(217, 45, 32, 0.46);
    color: #ffe0dc;
}

.subscription-summary__meta {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.subscription-summary__meta-item {
    background: rgba(10, 42, 82, 0.05);
    border: 1px solid rgba(10, 42, 82, 0.08);
    border-radius: var(--radius-medium);
    padding: 0.9rem 1rem;
    box-shadow: 0 16px 34px rgba(10, 42, 82, 0.08);
    display: grid;
    gap: 0.35rem;
}

.subscription-summary__meta-label {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.subscription-summary__meta-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
}

.subscription-summary__note {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-medium);
    background: rgba(10, 42, 82, 0.05);
    border: 1px solid rgba(10, 42, 82, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
    color: var(--color-text-secondary);
    font-size: 0.92rem;
}

.subscription-summary__perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.subscription-summary__perks li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--color-text-primary);
}

.subscription-summary__perks li::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    margin-top: 0.4rem;
    border-radius: 50%;
    background: linear-gradient(130deg, var(--color-secondary), rgba(158, 228, 71, 0.45));
    box-shadow: 0 0 0 3px rgba(158, 228, 71, 0.22);
    flex-shrink: 0;
}

.subscription-summary__actions {
    justify-content: flex-start;
}

.subscription-summary--empty {
    display: grid;
    gap: 1.5rem;
    padding: 1.25rem 1rem;
    border-radius: var(--radius-large);
    background: rgba(10, 42, 82, 0.04);
    border: 1px dashed rgba(10, 42, 82, 0.16);
    text-align: left;
}

.subscription-summary__empty-state {
    display: grid;
    gap: 0.5rem;
}

.timeline {
    list-style: none;
    display: grid;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
}

.timeline__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: stretch;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-large);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 250, 0.92));
    border: 1px solid rgba(10, 42, 82, 0.08);
    box-shadow: 0 12px 28px rgba(10, 42, 82, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.timeline__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(150% 140% at 120% -20%, rgba(158, 228, 71, 0.18), transparent 65%);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.timeline__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(10, 42, 82, 0.12);
    border-color: rgba(10, 42, 82, 0.16);
}

.timeline__item:hover::after {
    opacity: 1;
}

.timeline__item--telegram::after {
    background: radial-gradient(150% 140% at 120% -20%, rgba(3, 119, 168, 0.2), transparent 65%);
}

.timeline__item--email::after {
    background: radial-gradient(150% 140% at 120% -20%, rgba(10, 42, 82, 0.22), transparent 65%);
}

.timeline__icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(10, 42, 82, 0.08);
    color: #0A2A52;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 14px 28px rgba(10, 42, 82, 0.12);
    position: relative;
    z-index: 1;
}

.timeline__icon--email {
    background: linear-gradient(135deg, rgba(10, 42, 82, 0.18), rgba(10, 42, 82, 0.1));
}

.timeline__icon--telegram {
    background: linear-gradient(135deg, rgba(8, 126, 164, 0.24), rgba(1, 142, 190, 0.12));
    color: #0377a8;
}

.timeline__icon svg,
.timeline__icon-image {
    width: 20px;
    height: 20px;
}

.timeline__icon-symbol {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.timeline__body {
    display: grid;
    gap: 0.55rem;
    min-width: 0;
}

.timeline__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.timeline__toggle {
    border: none;
    background: transparent;
    color: var(--color-text-secondary);
    padding: 0.25rem;
    border-radius: var(--radius-small);
    cursor: pointer;
    line-height: 0;
    transition: color var(--transition), background var(--transition);
    display: inline-flex;
}

.timeline__toggle:hover {
    background: rgba(10, 42, 82, 0.08);
}

.timeline__toggle:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

.timeline__toggle-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition);
}

.timeline__toggle[aria-expanded="true"] .timeline__toggle-icon {
    transform: rotate(180deg);
}

.timeline__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.timeline__meta-group {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.timeline__channel {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(10, 42, 82, 0.08);
    color: #0A2A52;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.timeline__channel--telegram {
    background: rgba(3, 119, 168, 0.15);
    color: #04678c;
}

.timeline__channel--email {
    background: rgba(10, 42, 82, 0.16);
}

.timeline__modality {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(158, 228, 71, 0.18);
    color: #0A2A52;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.timeline__timestamp {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.timeline__timestamp::before {
    content: "•";
    font-size: 1rem;
    opacity: 0.4;
    line-height: 1;
}

.timeline__empty {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.timeline__title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.timeline__excerpt {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    overflow-wrap: anywhere;
    line-height: 1.5;
    display: none;
}

.timeline__excerpt.is-expanded {
    display: block;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.table-like {
    background: #ffffff;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    display: grid;
    gap: 1.5rem;
}

.table-like__body {
    display: grid;
    gap: 1.25rem;
}

.table-like__item {
    display: grid;
    gap: 0.75rem;
}

.table-like__item + .table-like__item {
    border-top: 1px solid rgba(14, 34, 64, 0.08);
    padding-top: 1rem;
}

.table-like__row {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(220px, 1.1fr) minmax(140px, 0.5fr) minmax(220px, 0.9fr) minmax(220px, 0.9fr);
    align-items: center;
}

.table-like__row--header {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    border-bottom: 1px solid rgba(14, 34, 64, 0.08);
    padding-bottom: 0.75rem;
}

.table-like__sort {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font: inherit;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.table-like__sort:hover,
.table-like__sort.is-active {
    color: var(--color-primary);
}

.table-like__sort-icon {
    font-size: 0.8rem;
}

.table-like__sort-label {
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
}

.table-like__toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.25rem;
    color: var(--color-primary);
    cursor: pointer;
    justify-self: end;
}

.table-like__toggle span {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform var(--transition);
}

.table-like__item.is-open .table-like__toggle span {
    transform: rotate(180deg);
}

.table-like__mobile-panel {
    display: none;
    gap: 0.75rem;
}

.table-like__mobile-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-secondary);
}

.table-like__mobile-block p {
    margin: 0.35rem 0 0;
    color: var(--color-text-secondary);
}

.table-like__mobile-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.notifications-table .table-like__row {
    grid-template-columns: minmax(200px, 0.9fr) minmax(110px, max-content) minmax(240px, 1fr) minmax(240px, 1fr) auto;
    align-items: flex-start;
    gap: 1rem;
}

.notifications-table .table-like__row--header {
    grid-template-columns: minmax(200px, 0.9fr) minmax(110px, max-content) minmax(240px, 1fr) minmax(240px, 1fr);
    align-items: center;
}

.notifications-table .table-like__cell {
    align-self: stretch;
}

.notifications-table .table-like__cell--primary {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.notifications-table .table-like__cell--channel {
    align-self: flex-start;
}

.notifications-table .table-like__cell--message,
.notifications-table .table-like__cell--details {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.notifications-table .table-like__cell--message {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.notifications-table__summary-list,
.notifications-table__list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.4rem;
}

.notifications-table__summary-list li,
.notifications-table__list li {
    list-style: disc;
}

.notifications-table__more {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
}

.notifications-table .table-like__toggle {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    margin-top: 0.35rem;
}

.notifications-table .table-like__mobile-panel {
    border-top: 1px solid rgba(14, 34, 64, 0.08);
    margin-top: 0.75rem;
    padding-top: 1.25rem;
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.notifications-table .table-like__item.is-open .table-like__mobile-panel {
    display: grid;
}

.notifications-table__full-text {
    margin-top: 0.5rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.notifications-table__full-text > ul {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.4rem;
}

.notifications-table__full-text > p {
    margin: 0;
}

.notifications-table__full-text > span {
    display: inline-block;
}

.notifications-board {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.notifications-board__header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.notifications-board__filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: end;
    gap: 1rem;
}

.notifications-board__filter {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.notifications-board__filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.notifications-board__filter--compact select {
    min-width: 160px;
}

.notifications-board__sort {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    justify-self: flex-end;
}

.notifications-board__sort-buttons {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    background: rgba(10, 42, 82, 0.04);
    border-radius: 999px;
}

.notifications-board__sort-button {
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    color: var(--color-text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: background var(--transition), color var(--transition);
}

.notifications-board__sort-button:hover {
    background: rgba(10, 42, 82, 0.08);
}

.notifications-board__sort-button.is-active {
    background: var(--color-card);
    color: var(--color-text-primary);
    box-shadow: 0 4px 12px rgba(14, 34, 64, 0.12);
}

.notifications-board__sort-icon {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.notifications-board__empty {
    text-align: center;
    padding: 1.5rem 0;
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.notification-card {
    border: 1px solid rgba(14, 34, 64, 0.08);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    background: #ffffff;
    box-shadow: 0 14px 24px rgba(14, 34, 64, 0.04);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.notification-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.notification-card__headline {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.notification-card__subject {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.notification-card__date {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.notification-card__channel {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(14, 34, 64, 0.08);
    color: var(--color-text-primary);
}

.notification-card__channel--email {
    background: #f1f3f5;
    color: #495057;
}

.notification-card__channel--telegram {
    background: #e7f5ff;
    color: #1864ab;
}

.notification-card__body {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.notification-card__section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.notification-card__section-title {
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
}

.notification-card__text {
    position: relative;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-small);
    background: rgba(10, 42, 82, 0.04);
    color: var(--color-text-secondary);
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: break-word;
    transition: max-height var(--transition), background var(--transition);
}

.notification-card__text.is-clamped {
    max-height: 9rem;
    overflow: hidden;
}

.notification-card__text.is-clamped::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2.5rem;
    background: linear-gradient(180deg, rgba(10, 42, 82, 0), rgba(10, 42, 82, 0.08));
}

.notification-card__text.is-expanded {
    max-height: none;
    background: rgba(10, 42, 82, 0.06);
}

.notification-card__text.is-expanded::after {
    opacity: 0;
}

.notification-card__toggle {
    align-self: flex-start;
    border: none;
    background: transparent;
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
}

.notification-card__tournament-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-card__tournament {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(14, 34, 64, 0.08);
    border-radius: var(--radius-small);
    background: rgba(10, 42, 82, 0.02);
}

.notification-card__tournament-title {
    font-weight: 600;
    color: var(--color-text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.notification-card__tournament-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.notification-card__tournament-link {
    align-self: flex-start;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.8rem;
}

.notification-card__empty {
    margin: 0;
}

@media (max-width: 768px) {
    .notifications-board__filters {
        grid-template-columns: minmax(0, 1fr);
    }

    .notifications-board__sort {
        justify-self: stretch;
    }

    .notifications-board__sort-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .notification-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    .notification-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .notification-card__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .table-like {
        padding: 1.5rem;
    }

    .table-like__row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.5rem 0.75rem;
    }

    .table-like__row--header {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.5rem;
    }

    .table-like__row--header button:not(:first-child),
    .table-like__row--header .table-like__sort-label {
        display: none;
    }

    .table-like__row > :not(.table-like__toggle):not(:first-child) {
        display: none;
    }

    .table-like__toggle {
        display: inline-flex;
        align-items: center;
    }

    .table-like__mobile-panel {
        display: none;
        border-top: 1px solid rgba(14, 34, 64, 0.08);
        padding-top: 0.75rem;
    }

    .table-like__item.is-open .table-like__mobile-panel {
        display: grid;
    }
}

.legal-card {
    background: #ffffff;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    padding: 2.5rem;
    display: grid;
    gap: 1.25rem;
    line-height: 1.6;
}

.legal-card h1 {
    margin: 0;
    font-size: 2rem;
    color: var(--color-primary);
}

.legal-card h2 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.legal-card p {
    margin: 0;
    color: var(--color-text-secondary);
}

.legal-card ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--color-text-secondary);
    display: grid;
    gap: 0.5rem;
}

.legal-card li::marker {
    color: var(--color-secondary);
}

.plan-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.75rem;
    border-radius: var(--radius-large);
    border: 1px solid rgba(14, 34, 64, 0.08);
    background: #ffffff;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.plan-card[data-plan="BASIC"] {
    border-color: rgba(10, 42, 82, 0.25);
    box-shadow: 0 12px 30px rgba(10, 42, 82, 0.08);
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.plan-card[data-plan="BASIC"]:hover {
    border-color: rgba(10, 42, 82, 0.4);
}

.plan-card[data-active="true"] {
    border-color: rgba(10, 42, 82, 0.45);
    box-shadow: 0 6px 24px rgba(10, 42, 82, 0.18);
}

.plan-card[data-plan="BASIC"][data-active="true"] {
    border-color: rgba(10, 42, 82, 0.65);
    box-shadow: 0 16px 36px rgba(10, 42, 82, 0.12);
}

.plan-card[data-upgrade="true"] {
    background: linear-gradient(135deg, rgba(10, 42, 82, 0.96), rgba(32, 114, 96, 0.9));
    border-color: transparent;
    box-shadow: 0 20px 45px rgba(8, 27, 60, 0.35);
    color: #f5f9ff;
}

.plan-card[data-upgrade="true"] .plan-card__title,
.plan-card[data-upgrade="true"] .plan-card__price,
.plan-card[data-upgrade="true"] .plan-card__flag,
.plan-card[data-upgrade="true"] .plan-card__flag--current,
.plan-card[data-upgrade="true"] .plan-card__flag--downgrade,
.plan-card[data-upgrade="true"] .plan-card__flag--upgrade,
.plan-card[data-upgrade="true"] .muted,
.plan-card[data-upgrade="true"] ul,
.plan-card[data-upgrade="true"] ul li,
.plan-card[data-upgrade="true"] p {
    color: #f5f9ff;
}

.plan-card[data-upgrade="true"] .plan-card__flag {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.plan-card[data-upgrade="true"] .plan-card__flag--upgrade {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.plan-card[data-upgrade="true"] ul {
    color: rgba(255, 255, 255, 0.9);
}

.plan-card[data-upgrade="true"] ul li::marker {
    color: rgba(255, 255, 255, 0.65);
}

.plan-card[data-upgrade="true"] .btn--primary {
    background: #ffffff;
    color: var(--color-primary);
}

.plan-card input[type="radio"] {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.plan-card__header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
}

.plan-card__title {
    margin: 0;
    font-size: 1.6rem;
    color: var(--color-primary);
}

.plan-card__price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.plan-card__flag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-primary);
    background: rgba(14, 34, 64, 0.08);
    align-self: flex-start;
}

.plan-card__flag--downgrade {
    background: rgba(217, 45, 32, 0.12);
    color: #9f1d16;
}

.plan-card__flag--upgrade {
    background: rgba(158, 228, 71, 0.28);
    color: #1f4d2c;
}

.plan-card__flag--current {
    background: rgba(158, 228, 71, 0.16);
    color: var(--color-primary);
}

.myfit-card__grid {
    align-items: flex-start;
}

.myfit-card__meta {
    margin: 0.75rem 0 0;
    font-size: 0.82rem;
}

.myfit-card__meta + .myfit-card__meta {
    margin-top: 0.35rem;
}

.myfit-stats {
    margin-top: 1.75rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius-medium);
    border: 1px solid rgba(14, 34, 64, 0.08);
    box-shadow: 0 14px 28px rgba(10, 42, 82, 0.09);
    background: rgba(10, 42, 82, 0.04);
    transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.stat-card__label {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    text-transform: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.stat-card__value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-card--neutral {
    background: linear-gradient(135deg, rgba(21, 92, 168, 0.08), rgba(10, 42, 82, 0.02));
    border-color: rgba(21, 92, 168, 0.16);
}

.stat-card--neutral .stat-card__label {
    background: rgba(21, 92, 168, 0.16);
    color: #0b3a6a;
}

.stat-card--positive {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.12), rgba(10, 42, 82, 0.02));
    border-color: rgba(25, 135, 84, 0.18);
}

.stat-card--positive .stat-card__label {
    background: rgba(25, 135, 84, 0.2);
    color: #165f3b;
}

.stat-card--negative {
    background: linear-gradient(135deg, rgba(217, 45, 32, 0.15), rgba(10, 42, 82, 0.02));
    border-color: rgba(217, 45, 32, 0.2);
}

.stat-card--negative .stat-card__label {
    background: rgba(217, 45, 32, 0.22);
    color: #8f231c;
}

@media (max-width: 640px) {
    .myfit-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        margin-top: 1.25rem;
    }

    .stat-card {
        padding: 0.85rem 1rem;
        gap: 0.45rem;
        box-shadow: 0 10px 22px rgba(10, 42, 82, 0.08);
    }

    .stat-card__label {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    .stat-card__value {
        font-size: 1.45rem;
    }
}

.ranking-card {
    display: grid;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius-large);
    border: 1px solid rgba(14, 34, 64, 0.08);
    background: linear-gradient(140deg, rgba(10, 42, 82, 0.05), rgba(27, 77, 128, 0.08));
    box-shadow: 0 20px 36px rgba(10, 42, 82, 0.12);
}

.ranking-card__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 18px rgba(10, 42, 82, 0.12);
}

.ranking-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    background: rgba(10, 42, 82, 0.12);
}

.ranking-card__icon svg {
    width: 20px;
    height: 20px;
}

.ranking-card__label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.ranking-card__value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.ranking-card__item--category .ranking-card__icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(79, 70, 229, 0.18));
    color: #3f1d9c;
}

.ranking-card__item--current .ranking-card__icon {
    background: linear-gradient(135deg, rgba(21, 92, 168, 0.15), rgba(14, 34, 64, 0.12));
    color: #0a2a52;
}

.ranking-card__item--best .ranking-card__icon {
    background: linear-gradient(135deg, rgba(249, 200, 94, 0.26), rgba(255, 171, 0, 0.24));
    color: #9b6800;
}

.ranking-card__item--season .ranking-card__icon {
    background: linear-gradient(135deg, rgba(45, 200, 160, 0.2), rgba(10, 42, 82, 0.12));
    color: #155b4a;
}

.next-tournaments {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.next-tournaments__item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-medium);
    border: 1px solid rgba(14, 34, 64, 0.08);
    background: linear-gradient(130deg, rgba(10, 42, 82, 0.04), rgba(27, 77, 128, 0.08));
    box-shadow: 0 12px 24px rgba(10, 42, 82, 0.1);
    transition: transform var(--transition), box-shadow var(--transition);
}

.next-tournaments__item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.next-tournaments__date {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.next-tournaments__name {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
    line-height: 1.4;
    text-decoration: none;
}

.next-tournaments__name:hover {
    text-decoration: underline;
}

.next-tournaments__empty {
    padding: 0.9rem 1rem;
    border-radius: var(--radius-medium);
    background: rgba(10, 42, 82, 0.06);
}

.plan-card ul {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.45rem;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.sandbox-pill {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    background: rgba(158, 228, 71, 0.16);
    color: var(--color-primary);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.actions .btn {
    border-radius: var(--radius-small);
}

.text-right {
    text-align: right;
}

@media (max-width: 720px) {
    .site-header__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        width: 100%;
    }

    .site-header__actions {
        margin-left: auto;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .site-logo img {
        width: 48px;
        height: 48px;
    }

    .carousel {
        padding: 2rem 1.5rem;
    }

    .hero-banner {
        padding: 3rem 0;
    }

    .card {
        padding: 1.75rem;
    }
}

.dashboard-shell {
    background: var(--color-surface);
    min-height: var(--app-viewport-height);
}

.app-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: var(--app-viewport-height);
}

.app-sidebar {
    background: var(--color-primary);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.75rem;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.app-sidebar__brand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
}

.app-sidebar__logo {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.app-sidebar__logo img {
    display: block;
    width: auto;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    object-position: center;
}

.app-nav {
    display: grid;
    gap: 0.75rem;
}

.app-nav__item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-small);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.app-nav__item:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    transform: translateX(4px);
}

.app-nav__item.is-active {
    background: rgba(158, 228, 71, 0.22);
    color: #ffffff;
}

.app-sidebar__footer {
    margin-top: auto;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.app-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(7, 27, 52, 0.2);
    background: #ffffff;
    color: #071b34;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-direction: column;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.app-nav-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.app-sidebar__close {
    display: none;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    transition: background var(--transition), transform var(--transition);
    z-index: 2;
}

.app-sidebar__close:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.03);
}

.app-sidebar__close span {
    position: absolute;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 999px;
}

.app-sidebar__close span:first-child {
    transform: rotate(45deg);
}

.app-sidebar__close span:last-child {
    transform: rotate(-45deg);
}

.app-sidebar__overlay {
    display: none;
}

.is-nav-open {
    overflow: hidden;
}

.app-main {
    display: flex;
    flex-direction: column;
    min-height: var(--app-viewport-height);
}

.app-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 2.5rem 0 0;
    margin: 0 auto;
    width: 100%;
    max-width: var(--layout-width);
}

.app-header__identity {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.app-header__mobile-brand {
    display: none;
    width: 100%;
    justify-content: center;
}

.app-header__mobile-logo {
    display: inline-flex;
    align-items: center;
}

.app-header__mobile-logo img {
    height: 34px;
    display: block;
}

.app-header__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(10, 42, 82, 0.15);
    overflow: hidden;
}

.app-header__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-header__title {
    margin: 0;
    font-size: 2rem;
    color: var(--color-primary);
}

.app-header__actions {
    display: flex;
    gap: 0.75rem;
}

.app-header__mobile-logout {
    display: none;
}

.app-content {
    width: var(--layout-width);
    margin: 0 auto;
    padding: 2rem 0 3rem;
    flex: 1;
    display: grid;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .app-shell {
        grid-template-columns: minmax(220px, 32%) 1fr;
    }
}

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

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

    .app-sidebar__close {
        display: inline-flex;
    }

    .app-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(320px, 82vw);
        max-width: 360px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 8px 0 20px rgba(0, 0, 0, 0.35);
        min-height: var(--app-viewport-height);
        overflow-y: auto;
        z-index: 1100;
        padding-top: calc(2rem + constant(safe-area-inset-top));
        padding-top: calc(2rem + env(safe-area-inset-top));
        padding-bottom: calc(2rem + constant(safe-area-inset-bottom));
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }

    .app-sidebar.is-open {
        transform: translateX(0);
    }

    .app-sidebar__overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(7, 27, 52, 0.55);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1000;
    }

    .app-sidebar__overlay.is-visible {
        opacity: 1;
        pointer-events: all;
    }

    .app-nav {
        display: grid;
        gap: 0.35rem;
    }

    .app-nav__item {
        padding: 0.65rem 0.9rem;
    }

    .app-header,
    .app-content {
        width: 92vw;
    }

    .app-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.5rem;
        background: var(--color-primary);
        color: #ffffff;
        border-radius: var(--radius-medium);
        margin-top: 1rem;
        box-shadow: 0 20px 40px rgba(7, 27, 52, 0.25);
    }

    .app-header__identity {
        flex: 1;
        color: inherit;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .app-header__mobile-brand {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        justify-content: flex-start;
        width: 100%;
    }

    .app-header__title {
        color: #ffffff;
    }

    .app-header .muted {
        color: rgba(255, 255, 255, 0.75);
    }

    .app-header__avatar {
        width: 52px;
        height: 52px;
        display: none;
    }

    .app-header__actions {
        display: none;
    }

    .app-header__mobile-logout {
        display: inline-flex;
        margin-left: auto;
        background: #ffffff;
        color: #0A2A52;
        border: 1px solid rgba(10, 42, 82, 0.25);
        box-shadow: 0 12px 24px rgba(7, 27, 52, 0.18);
        padding: 0.45rem 1.1rem;
        border-radius: 999px;
    }

    .app-header__mobile-logout:hover {
        background: rgba(255, 255, 255, 0.92);
        color: #0A2A52;
        transform: translateY(-1px);
        box-shadow: 0 14px 26px rgba(7, 27, 52, 0.2);
    }

    .app-header__desktop-logout {
        display: none;
    }
}

.profile-avatar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.profile-avatar__preview {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(158, 228, 71, 0.18);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(10, 42, 82, 0.15);
}

.profile-avatar__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar__info {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.profile-avatar__edit {
    align-self: flex-start;
    font-weight: 600;
}

.profile-avatar__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.profile-avatar__option {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(15, 23, 42, 0.18);
    border-radius: var(--radius-medium);
    padding: 0.35rem 0.75rem 0.35rem 0.35rem;
    background: #fff;
    color: var(--color-text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.profile-avatar__option img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.profile-avatar__option span {
    font-size: 0.85rem;
}

.profile-avatar__option.is-selected {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
    transform: translateY(-1px);
}

.profile-avatar-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.profile-avatar-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.profile-avatar-modal__overlay {
    position: absolute;
    inset: 0;
}

.profile-avatar-modal__dialog {
    position: relative;
    background: #fff;
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    width: min(520px, calc(100% - 2rem));
    box-shadow: 0 20px 50px rgba(10, 42, 82, 0.25);
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-avatar-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.profile-avatar-modal__header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-text-primary);
}

.profile-avatar-modal__close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-secondary);
}

.profile-avatar-modal__description {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 0.92rem;
}

.profile-avatar-modal__actions {
    display: flex;
    justify-content: flex-end;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-form__sections {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 960px) {
    .profile-form__sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.profile-form__section {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(237, 242, 247, 0.92));
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.profile-password {
    margin-top: 1.5rem;
}

.profile-password__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-password__meter {
    display: none;
    margin-top: 0.5rem;
}

.profile-password__meter.is-visible {
    display: block;
}

.profile-form__subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-form__legend {
    font-size: 0.85rem;
    font-style: italic;
    margin: 0;
    color: var(--color-text-secondary);
}

.profile-form__helper {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    font-style: italic;
    color: var(--color-text-secondary);
    line-height: 1.3;
}

.profile-form__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem 1.25rem;
}

.profile-form__grid label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.profile-form__grid input {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    color: var(--color-text-primary);
    width: 100%;
}

.profile-form__grid select {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    color: var(--color-text-primary);
    width: 100%;
    appearance: none;
}

.profile-form__grid--address {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (min-width: 768px) {
    .profile-form__street-label {
        grid-column: span 2;
    }
}

.profile-avatar__hint {
    flex-basis: 100%;
    font-size: 0.8rem;
    font-style: italic;
    margin: 0.35rem 0 0;
}

.profile-alert {
    border-radius: var(--radius-medium);
    padding: 1rem 1.15rem;
    border: 1px solid rgba(37, 99, 235, 0.18);
    background: linear-gradient(135deg, rgba(226, 242, 255, 0.55), rgba(214, 234, 255, 0.35));
    box-shadow: 0 12px 30px rgba(7, 27, 52, 0.08);
    margin-bottom: 1.25rem;
}

.profile-alert strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-primary);
    margin-bottom: 0.35rem;
}

.profile-alert p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.profile-form__icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* Admin dashboard */
body.admin-dashboard {
    display: block;
    min-height: var(--app-viewport-height);
    background: var(--app-pattern-gradient);
    background-attachment: fixed;
    color: rgba(241, 245, 249, 0.92);
}

.admin-shell {
    width: min(1200px, 94vw);
    margin: 0 auto;
    padding: clamp(2.4rem, 5vw, 3.6rem) 0 clamp(4rem, 7vw, 5.2rem);
    display: grid;
    gap: clamp(2rem, 5vw, 3rem);
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.25rem, 4vw, 3rem);
    padding: clamp(2.6rem, 6vw, 3.2rem);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(6, 31, 62, 0.92) 0%, rgba(10, 42, 82, 0.88) 55%, rgba(12, 110, 40, 0.78) 100%);
    color: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 40px 80px rgba(4, 19, 42, 0.35);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.admin-header::after {
    content: "";
    position: absolute;
    inset: -45% -25% auto 55%;
    width: 45%;
    aspect-ratio: 1 / 1;
    background: radial-gradient(circle, rgba(158, 228, 71, 0.35), transparent 65%);
    filter: blur(0.5px);
    opacity: 0.85;
    pointer-events: none;
    z-index: -1;
}

.admin-header > * {
    position: relative;
    z-index: 1;
}

.admin-header__info {
    display: grid;
    gap: 0.85rem;
    max-width: 560px;
}

.admin-header__title {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.admin-header__subtitle {
    margin: 0;
    font-size: 1rem;
    color: rgba(248, 250, 252, 0.78);
}

.admin-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: flex-end;
}

.admin-header__actions .btn {
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    box-shadow: 0 16px 32px rgba(4, 19, 42, 0.26);
}

.admin-header__actions .btn--outline-light {
    backdrop-filter: blur(24px);
}

.admin-content {
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
}

.flash {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    border-radius: 1.2rem;
    padding: 1.1rem 1.4rem;
    font-size: 0.95rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 48px rgba(4, 19, 42, 0.25);
}

.flash a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

.flash--success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(13, 148, 136, 0.18));
    color: #dcfce7;
}

.flash--error {
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.24), rgba(239, 68, 68, 0.22));
    color: #fee2e2;
}

.section {
    display: grid;
    gap: 1.5rem;
}

.section__title {
    font-size: clamp(1.3rem, 3vw, 1.55rem);
    font-weight: 600;
    color: #f8fafc;
    margin: 0;
    letter-spacing: -0.01em;
}

.admin-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.admin-actions__card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.8rem;
    border-radius: 1.3rem;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 28px 60px rgba(4, 19, 42, 0.18);
    backdrop-filter: blur(18px);
}

.admin-actions__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
}

.admin-actions__description {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(15, 23, 42, 0.72);
}

.admin-actions__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.68);
}

.admin-actions__input {
    padding: 0.7rem 0.85rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-text-primary);
    font-family: inherit;
}

.admin-actions__input:focus {
    outline: none;
    border-color: rgba(34, 211, 238, 0.65);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.25);
}

.admin-actions__button {
    align-self: flex-start;
    gap: 0.5rem;
}

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

.metric-card {
    background: rgba(248, 250, 252, 0.95);
    border-radius: 1.4rem;
    padding: 1.7rem;
    box-shadow: 0 30px 60px rgba(4, 19, 42, 0.2);
    border: 1px solid rgba(148, 163, 184, 0.18);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 164px;
}

.metric-card__label {
    font-size: 0.86rem;
    color: rgba(15, 23, 42, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
}

.metric-card__value {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.025em;
}

.metric-card__hint {
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.65);
}

.metric-card__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.metric-card--expandable {
    position: relative;
}

.metric-card__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.85);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.metric-card__toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(158, 228, 71, 0.55);
    box-shadow: 0 18px 30px rgba(4, 19, 42, 0.15);
}

.metric-card__toggle:focus-visible {
    outline: none;
    border-color: rgba(34, 211, 238, 0.6);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.25);
}

.metric-card__toggle-icon {
    transform: rotate(-90deg);
    transition: transform var(--transition);
}

.metric-card--expanded .metric-card__toggle-icon {
    transform: rotate(0);
}

.metric-card__drawer {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    margin-top: 1rem;
    padding-top: 1rem;
    display: grid;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.75);
}

.metric-card__drawer ul {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.45rem;
}

.metric-card__drawer li {
    list-style: disc;
}

.service-log-list {
    display: grid;
    gap: 1rem;
}

.service-log-list__item {
    border-radius: 1.2rem;
    padding: 1.2rem 1.4rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 24px 48px rgba(4, 19, 42, 0.18);
    display: grid;
    gap: 0.75rem;
}

.service-log-list__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.service-log-list__time {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9rem;
}

.service-log-list__status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.service-log-list__status--success {
    background: rgba(34, 197, 94, 0.18);
    color: #166534;
}

.service-log-list__status--failure {
    background: rgba(248, 113, 113, 0.2);
    color: #7f1d1d;
}

.service-log-list__status--running {
    background: rgba(59, 130, 246, 0.2);
    color: #1e3a8a;
}

.service-log-list__status--partial {
    background: rgba(234, 179, 8, 0.25);
    color: #854d0e;
}

.service-log-list__status--unknown {
    background: rgba(148, 163, 184, 0.25);
    color: rgba(15, 23, 42, 0.7);
}

.service-log-list__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.1rem;
    font-size: 0.83rem;
    color: rgba(15, 23, 42, 0.75);
}

.service-log-list__message {
    margin: 0;
    font-size: 0.83rem;
    color: rgba(15, 23, 42, 0.75);
}

.service-log-list__empty {
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.75);
}

.data-table {
    border-collapse: collapse;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 28px 48px rgba(4, 19, 42, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: rgba(15, 23, 42, 0.9);
}

.data-table thead {
    background: rgba(148, 163, 184, 0.12);
    color: rgba(15, 23, 42, 0.75);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.data-table th,
.data-table td {
    padding: 0.95rem 1.2rem;
    text-align: left;
    color: rgba(15, 23, 42, 0.85);
}

.data-table tbody tr + tr {
    border-top: 1px solid rgba(226, 232, 240, 0.75);
}

.empty-state {
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.82);
    padding: 1.2rem;
    border-radius: 1rem;
    border: 1px dashed rgba(248, 250, 252, 0.35);
}

.timestamp {
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.85);
}

.timestamp strong {
    color: #ffffff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 960px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .admin-header__actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .admin-shell {
        padding: 1.8rem 0 3.5rem;
    }

    .admin-header {
        padding: 2rem;
    }

.admin-actions__card {
        padding: 1.4rem;
    }

    .metric-card {
        padding: 1.45rem;
    }
}

.cookie-consent {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 9999;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent-open {
    overflow: hidden;
}

.cookie-consent__dialog {
    width: min(720px, 100%);
    background: #0f1011;
    color: rgba(255, 255, 255, 0.92);
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
    position: relative;
    display: grid;
    gap: 1.25rem;
}

.cookie-consent__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(190, 199, 212, 0.85);
}

.cookie-consent__partners {
    margin: 0;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cookie-consent__legal-links a {
    color: var(--color-secondary);
    text-decoration: none;
}

.cookie-consent__legal-links a:hover {
    text-decoration: underline;
}

.cookie-consent__dialog h2 {
    margin: 0;
    font-size: 1.7rem;
}

.cookie-consent__dialog p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
}

.cookie-consent__categories {
    display: grid;
    gap: 1rem;
}

.cookie-consent__categories[hidden] {
    display: none;
}

.cookie-consent__category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-consent__category p {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.cookie-consent__category small {
    color: rgba(255, 255, 255, 0.72);
}

.cookie-consent__badge {
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(148, 163, 184, 0.2);
    color: rgba(255, 255, 255, 0.84);
}

.cookie-consent__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-consent__cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-consent .btn {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

.cookie-consent .btn--ghost {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.cookie-consent .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.26);
    border-color: rgba(255, 255, 255, 0.45);
}

.cookie-toggle {
    min-width: 140px;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-toggle[aria-pressed="true"] {
    background: var(--color-secondary);
    color: #0f1011;
    border-color: var(--color-secondary);
}

.cookie-consent__close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.6rem;
    cursor: pointer;
}

.cookie-consent__close:hover {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 640px) {
    .cookie-consent {
        padding: 1rem;
    }

    .cookie-consent__dialog {
        padding: 1.5rem;
        max-height: calc(100vh - 2rem);
    }

    .cookie-consent__category {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-toggle {
        width: 100%;
    }

    .cookie-consent__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent__cta {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-consent__cta .btn {
        width: 100%;
        text-align: center;
    }
}
