#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Соцсети — иконки */
.site-social-icons {
    display: flex;
    gap: 0.5rem;
}

.site-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #cbd5e1;
    transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.site-social-link:hover {
    color: #a3e635;
    border-color: rgba(163, 230, 53, 0.5);
    background-color: rgba(163, 230, 53, 0.08);
}

.site-social-link svg {
    width: 1.125rem;
    height: 1.125rem;
}

#site-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

@media (min-width: 640px) {
    #site-header-left {
        gap: 0.75rem;
    }
}

#site-header-brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    pointer-events: none;
}

#site-header-brand a {
    pointer-events: auto;
}

.site-header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
    z-index: 2;
}

@media (min-width: 640px) {
    .site-header-right {
        gap: 0.75rem;
    }
}

#site-header-social {
    flex-shrink: 0;
}

#site-header-social .site-social-link {
    width: 2rem;
    height: 2rem;
}

#site-header-social .site-social-link svg {
    width: 1rem;
    height: 1rem;
}

.site-social-link[data-social="instagram"] {
    color: #fff;
    border-color: rgba(225, 48, 108, 0.55);
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.site-social-link[data-social="instagram"]:hover {
    color: #fff;
    border-color: rgba(253, 164, 175, 0.8);
    background: linear-gradient(135deg, #fb923c, #ec4899, #9333ea, #6366f1);
}

.site-social-link[data-social="tiktok"] {
    color: #25f4ee;
    border-color: rgba(37, 244, 238, 0.45);
    background: rgba(0, 0, 0, 0.55);
    box-shadow: inset 0 0 0 1px rgba(254, 44, 85, 0.35);
}

.site-social-link[data-social="tiktok"]:hover {
    color: #fe2c55;
    border-color: rgba(254, 44, 85, 0.65);
    background: rgba(0, 0, 0, 0.75);
}

.site-social-link[data-social="telegram"] {
    color: #fff;
    border-color: rgba(34, 158, 217, 0.55);
    background: #229ed9;
}

.site-social-link[data-social="telegram"]:hover {
    color: #fff;
    border-color: rgba(125, 211, 252, 0.8);
    background: #1d8fd0;
}

.site-social-link[href="location.html"] {
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(56, 189, 248, 0.12);
}

.site-social-link[href="location.html"]:hover {
    color: #7dd3fc;
    border-color: rgba(125, 211, 252, 0.7);
    background: rgba(56, 189, 248, 0.2);
}

#site-header-phone-group .site-social-link {
    width: 2rem;
    height: 2rem;
}

#site-header-phone-group .site-social-link svg {
    width: 1rem;
    height: 1rem;
}

.site-header-phone-group {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

.site-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.site-header-phone-icon {
    display: none;
    align-items: center;
    justify-content: center;
}

.site-header-phone-icon svg {
    width: 1rem;
    height: 1rem;
}

.site-header-phone.is-compact {
    width: 2rem;
    height: 2rem;
    justify-content: center;
    border-radius: 0.375rem;
    border: 1px solid rgba(251, 146, 60, 0.35);
    background: rgba(251, 146, 60, 0.08);
    color: #fed7aa;
}

.site-header-phone.is-compact:hover {
    color: #a3e635;
    border-color: rgba(163, 230, 53, 0.5);
    background: rgba(163, 230, 53, 0.08);
}

.site-header-phone.is-compact .site-header-phone-icon {
    display: inline-flex;
}

.site-header-phone.is-compact .site-header-phone-text {
    display: none;
}

.site-header-phone-number {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fed7aa;
    transition: color 0.15s ease;
}

.site-header-phone:hover .site-header-phone-number {
    color: #a3e635;
}

@media (max-width: 767px) {
    #site-header-phone {
        display: none;
    }
}

@media (min-width: 640px) {
    .site-header-phone-number {
        font-size: 1.25rem;
    }
}

/* Рейтинг — стиль cube-top20 */
.cube-top20-gold-border {
    border: 2px solid #a67c3d !important;
    box-shadow: 0 0 0 1px rgba(166, 124, 61, 0.28);
}

.cube-top20-chip-active {
    background-color: rgba(166, 124, 61, 0.22);
    color: #fb923c;
}

.cube-top20-chip-inactive {
    background-color: rgba(0, 0, 0, 0.3);
    color: #94a3b8;
}

.cube-top20-chip-inactive:hover {
    background-color: rgba(166, 124, 61, 0.12);
    color: #e2e8f0;
}

.cube-top20-leader-row {
    border-radius: 0.75rem;
}

.cube-top20-exercise-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 4.5rem;
}

.cube-top20-exercise-row-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1 1 auto;
}

.cube-top20-exercise-row-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.375rem;
    flex-shrink: 0;
}

.cube-top20-exercise-row-right--with-ranks {
    gap: 0.5rem;
}

.cube-top20-exercise-row-ranks {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
}

.cube-top20-exercise-row-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cube-top20-exercise-rank-img {
    width: 2.5rem;
    height: 2.5rem;
    max-width: 2.5rem;
    max-height: 2.5rem;
    flex-shrink: 0;
    object-fit: contain;
}

.cube-top20-global-row--plain {
    display: flex;
    align-items: center;
}

.cube-top20-global-row--with-ranks {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.375rem;
}

.cube-top20-global-row-primary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem 0.75rem;
    width: 100%;
}

.cube-top20-global-row-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leaderboard-global-rank-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem 0.75rem;
    width: 100%;
    padding-top: 0.125rem;
}

.leaderboard-global-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    flex-shrink: 0;
}

.leaderboard-global-rank-badge-img {
    width: 2rem;
    height: 2rem;
    max-width: 2rem;
    max-height: 2rem;
    object-fit: contain;
}

.leaderboard-global-rank-badge-count {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    color: #fdba74;
    font-variant-numeric: tabular-nums;
}

.cube-top20-rank-num {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-start;
    min-width: 2.75rem;
    flex-shrink: 0;
}

.cube-top20-rank-hash {
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1;
    color: #fb923c;
    margin-right: 0.06em;
}

.cube-top20-rank-digit {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: #fb923c;
}

.leaderboard-podium-gold {
    border-color: #facc15;
    background: linear-gradient(to bottom, rgba(250, 204, 21, 0.28) 0%, rgba(250, 204, 21, 0.06) 8%, rgba(0, 0, 0, 0.5) 100%);
}

.leaderboard-podium-silver {
    border-color: #94a3b8;
    background: linear-gradient(to bottom, rgba(148, 163, 184, 0.28) 0%, rgba(148, 163, 184, 0.06) 8%, rgba(0, 0, 0, 0.5) 100%);
}

.leaderboard-podium-bronze {
    border-color: #d97706;
    background: linear-gradient(to bottom, rgba(217, 119, 6, 0.28) 0%, rgba(217, 119, 6, 0.06) 8%, rgba(0, 0, 0, 0.5) 100%);
}

.leaderboard-podium-pedestal {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.leaderboard-podium-ranks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding-top: 0.375rem;
}

.leaderboard-podium-rank-img {
    width: 1.75rem;
    height: 1.75rem;
    max-width: 1.75rem;
    max-height: 1.75rem;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.cube-top20-leader-row--rank-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
}

.cube-top20-leader-row--rank-grid > div:nth-child(2) {
    justify-self: center;
}

.cube-top20-leader-row--rank-grid .cube-top20-zachistka-rank-img {
    width: 3.75rem;
    height: 3.75rem;
    max-width: 3.75rem;
    max-height: 3.75rem;
    object-fit: contain;
    flex-shrink: 0;
}

.cube-top20-leader-row--rank-grid .cube-top20-zachistka-rank-label {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
}

.cube-top20-leader-row--rank-grid .cube-top20-warrior-rank-img {
    width: 3.75rem;
    height: 3.75rem;
    object-fit: contain;
    flex-shrink: 0;
}

.cube-top20-leader-row--rank-grid .cube-top20-warrior-rank-label {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
}

.cube-top20-first-row-ranks {
    gap: 1rem;
    justify-content: center;
}

.cube-top20-warrior-rank-from-trail.cube-top20-warrior-rank--inactive .cube-top20-warrior-rank-img {
    filter: grayscale(0.22) brightness(0.88);
    opacity: 0.9;
}

.cube-top20-warrior-rank-from-trail.cube-top20-warrior-rank--inactive .cube-top20-warrior-rank-label {
    color: #7a8396 !important;
}

.cube-top20-zachistka-rank-from-trail.cube-top20-zachistka-rank--inactive .cube-top20-zachistka-rank-img {
    filter: grayscale(0.22) brightness(0.88);
    opacity: 0.9;
}

.cube-top20-zachistka-rank-from-trail.cube-top20-zachistka-rank--inactive .cube-top20-zachistka-rank-label {
    color: #7a8396 !important;
}

.cube-top20-zachistka-rank-from-trail:not(.hidden) {
    justify-content: center;
}

.cube-top20-leader-row--rank-grid .cube-top20-rank-num {
    justify-content: center;
}

.cube-top20-leader-row--rank-grid .flex.flex-col.min-w-0.flex-1 > .font-medium {
    font-size: 1rem;
    line-height: 1.35;
}

.cube-top20-exercise-line {
    max-width: 100%;
}

.cube-top20-exercise-count {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.25;
}

.site-mobile-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    z-index: 50;
    width: max-content;
    max-height: calc(100vh - 5rem);
    overflow: visible;
}

.site-mobile-nav nav a[data-nav-expand-active] {
    background-color: rgba(255, 255, 255, 0.05);
    color: #a3e635;
}

.site-mobile-nav > nav {
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
}

.site-mobile-nav-flyout {
    position: absolute;
    left: calc(100% + 0.5rem);
    z-index: 51;
    width: max-content;
    max-width: min(calc(100vw - 2rem), 18rem);
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
}

.site-mobile-nav-flyout::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 0.5rem;
}

.site-mobile-nav-flyout nav a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-cat-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 0.375rem;
    padding: 0.2rem 0.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.news-cat-tournament {
    background-color: rgba(251, 146, 60, 0.2);
    color: #fb923c;
}

.news-cat-club {
    background-color: rgba(132, 204, 22, 0.18);
    color: #a3e635;
}

.news-cat-update {
    background-color: rgba(56, 189, 248, 0.18);
    color: #38bdf8;
}

.events-cat-corporate {
    background-color: rgba(251, 146, 60, 0.2);
    color: #fb923c;
}

.events-cat-birthday {
    background-color: rgba(236, 72, 153, 0.2);
    color: #f472b6;
}

/* Страница «Корпоративы и Дни Рождения» */
.events-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 0.375rem;
    background-color: rgba(251, 146, 60, 0.2);
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fb923c;
}

.events-section-head {
    margin-bottom: 2.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.events-section-title {
    margin-top: 1rem;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    color: #f8fafc;
}

@media (min-width: 768px) {
    .events-section-title {
        font-size: 2.25rem;
    }
}

.events-section-text {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.625;
    color: #cbd5e1;
}

.events-card {
    border-radius: 1rem;
    border: 2px solid #a67c3d;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1.25rem;
    box-shadow: 0 0 0 1px rgba(166, 124, 61, 0.28);
    backdrop-filter: blur(4px);
}

.events-card-compact {
    padding: 1rem;
}

.events-card-featured {
    border-color: #fb923c;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.25) 0%, rgba(0, 0, 0, 0.55) 100%);
    box-shadow: 0 0 40px rgba(251, 146, 60, 0.15);
}

.events-card-popular {
    border-color: #f472b6;
    box-shadow: 0 0 40px rgba(236, 72, 153, 0.15);
}

.events-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background-color: #f97316;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    transition: background-color 0.15s;
}

.events-btn-primary:hover {
    background-color: #fb923c;
}

.events-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: 1px solid rgba(166, 124, 61, 0.6);
    background-color: rgba(0, 0, 0, 0.35);
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #e2e8f0;
    transition: background-color 0.15s, color 0.15s;
}

.events-btn-outline:hover {
    background-color: rgba(251, 146, 60, 0.12);
    color: #a3e635;
}

.events-chip {
    display: inline-flex;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    color: #e2e8f0;
}

.events-check,
.events-spark,
.events-chevron,
.events-star {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.events-check::before,
.events-spark::before,
.events-chevron::before,
.events-star::before {
    flex-shrink: 0;
    margin-top: 0.125rem;
    content: "";
    width: 1rem;
    height: 1rem;
    background-size: contain;
    background-repeat: no-repeat;
}

.events-check::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fb923c' stroke-width='2'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
}

.events-spark::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fb923c' stroke-width='2'%3E%3Cpath d='m12 3-1.9 5.8H4l4.9 3.6-1.9 5.8L12 14.6l5.9 4.2-1.9-5.8L21 8.8h-6.1z'/%3E%3C/svg%3E");
}

.events-chevron::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fb923c' stroke-width='2'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
}

.events-star::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fb923c' stroke-width='2'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
}

.events-faq {
    border-radius: 0.75rem;
    border: 1px solid rgba(166, 124, 61, 0.45);
    background-color: rgba(0, 0, 0, 0.45);
    padding: 0.75rem 1rem;
}

.events-faq summary {
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: #f1f5f9;
}

.events-faq summary::-webkit-details-marker {
    display: none;
}

.events-faq summary::after {
    content: "+";
    float: right;
    color: #fb923c;
    font-weight: 700;
}

.events-faq[open] summary::after {
    content: "−";
}

.events-faq p {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.625;
    color: #cbd5e1;
}

.events-input {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid rgba(166, 124, 61, 0.45);
    background-color: rgba(2, 6, 23, 0.8);
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: #f1f5f9;
}

.events-input::placeholder {
    color: #64748b;
}

.events-input:focus {
    outline: none;
    border-color: #fb923c;
    box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.2);
}

.events-input[type="date"] {
    color-scheme: dark;
}

.events-input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.85;
}

.events-textarea {
    resize: vertical;
    min-height: 7rem;
}

.react-faq {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.react-faq:last-child {
    border-bottom: none;
}

.react-faq summary {
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: #f8fafc;
}

.react-faq summary::-webkit-details-marker {
    display: none;
}

.react-faq p {
    margin-top: 0.75rem;
    padding-bottom: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.625;
    color: #cbd5e1;
}

.site-mobile-nav nav a[data-nav-sub] {
    margin-left: 0.25rem;
}


/* ForaClub events page */
.birthday-events-page {
    scroll-behavior: smooth;
}

.birthday-events-page #form,
.birthday-events-page #program {
    scroll-margin-top: 5rem;
    scroll-margin-bottom: 2rem;
}

.birthday-faq-list .events-faq {
    padding: 0.5rem 0.875rem;
}

.birthday-faq-list .events-faq p {
    margin-top: 0.5rem;
}

.react-events-page .events-gold-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.react-events-page .events-gold-card__inner {
    position: relative;
    z-index: 1;
}

.fora-events-page { scroll-behavior: smooth; }
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
  
  

  .hero-bg {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0505 40%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
  }
  .hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(220,38,38,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(220,38,38,0.08) 0%, transparent 50%);
  }
  .grid-lines {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(220,38,38,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(220,38,38,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  .card-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(220,38,38,0.15);
  }

  .step-line::after {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(50% + 24px);
    width: calc(100% - 48px);
    height: 2px;
    background: linear-gradient(90deg, #dc2626, rgba(220,38,38,0.1));
  }

  .format-tab { transition: all 0.2s ease; }
  .format-tab.active {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
  }

  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .accordion-content.open {
    max-height: 300px;
  }
  .accordion-arrow {
    transition: transform 0.3s ease;
  }
  .accordion-arrow.open {
    transform: rotate(180deg);
  }

  .nav-link {
    position: relative;
    padding-bottom: 2px;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: #dc2626;
    transition: width 0.2s ease;
  }
  .nav-link:hover::after { width: 100%; }

  .pulse-dot {
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }

  .floating {
    animation: float 4s ease-in-out infinite;
  }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: #0a0a0a; }
  ::-webkit-scrollbar-thumb { background: #dc2626; border-radius: 3px; }

  /* Exercise accordion — goal + inline scene embed (sm: 2-col grid) */
  .exercise-expanded-scene .exercise-scene-embed {
    min-height: 0;
    aspect-ratio: 1280 / 548;
    height: auto;
  }

  .exercise-expanded-scene .exercise-scene-embed.is-embed {
    min-height: 0;
    height: auto;
  }

  /* Exercise scene embed (exercises accordion) */
  .exercise-scene-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .exercise-scene-embed {
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: min(52vw, 22rem);
    pointer-events: auto;
    position: relative;
    isolation: isolate;
  }

  .exercise-scene-embed.is-embed {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
    aspect-ratio: 1280 / 548;
    background: #020617;
  }

  .exercise-scene-embed.is-embed .target-scene {
    flex: 1;
    min-height: 0;
    pointer-events: auto;
  }

  .exercise-scene-embed.is-embed .target-scene svg {
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    aspect-ratio: 1280 / 548;
    height: auto;
    min-height: 0;
  }

  .exercise-scene-embed.is-embed .target-scene svg .game-hud {
    visibility: visible;
    opacity: 1;
    pointer-events: none !important;
  }

  .exercise-scene-embed.is-embed .target-scene svg .game-hud .game-hud-shooter-leader--top,
  .exercise-scene-embed.is-embed .target-scene svg .game-hud .game-particle,
  .exercise-scene-embed.is-embed .target-scene svg .game-hud .game-ring-pulse {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .exercise-scene-embed.is-embed .target-scene svg .game-hud .game-hud-stopwatch,
  .exercise-scene-embed.is-embed .target-scene svg .game-hud .game-hud-sync--plate,
  .exercise-scene-embed.is-embed .target-scene svg .game-hud .game-hud-sync--popper {
    visibility: visible;
    opacity: 1;
    pointer-events: none !important;
  }

  .exercise-scene-embed.is-embed .game-scan-beam-rail,
  .exercise-scene-embed.is-embed .game-hud-mission-stack,
  .exercise-scene-embed.is-embed .game-hud-vitals-band,
  .exercise-scene-embed.is-embed .game-hud-shooter-card,
  .exercise-scene-embed.is-embed .game-hud-rank-confirm,
  .exercise-scene-embed.is-embed .game-ecg-canvas {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .exercise-scene-embed.is-embed .game-hud-shooter-floor-stack,
  .exercise-scene-embed.is-embed .game-hud-shooter-floor-stack .game-hud-step-bar-band {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .exercise-scene-embed.is-embed .game-hud-shooter-floor-stack {
    inset: auto 0 0 0;
    top: auto;
    height: auto;
  }

  .exercise-scene-embed.is-embed .target-scene {
    padding-bottom: 0;
    box-sizing: border-box;
  }

  .exercise-scene-embed.is-embed .target-scene svg .game-scene-glow,
  .exercise-scene-embed.is-embed .target-scene svg .game-field-dots,
  .exercise-scene-embed.is-embed .target-scene svg .game-plus-v2-xp,
  .exercise-scene-embed.is-embed .target-scene svg .game-plus-v2-xp-fill,
  .exercise-scene-embed.is-embed .target-scene svg rect[fill*="gameGlow"],
  .exercise-scene-embed.is-embed .target-scene svg rect[fill*="gameDots"],
  .exercise-scene-embed.is-embed .target-scene svg rect[fill*="gameXpFill"],
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-scene-glow,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-field-dots,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-plus-v2-xp,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-plus-v2-xp-fill,
  .exercise-scene-embed.is-embed .target-scene--embed svg rect[fill*="gameGlow"],
  .exercise-scene-embed.is-embed .target-scene--embed svg rect[fill*="gameDots"],
  .exercise-scene-embed.is-embed .target-scene--embed svg rect[fill*="gameXpFill"],
  .exercise-scene-embed.is-embed .target-scene svg .game-grid-pulse,
  .exercise-scene-embed.is-embed .target-scene svg .game-plus-corner-floor,
  .exercise-scene-embed.is-embed .target-scene svg .game-plus-corner-cyan,
  .exercise-scene-embed.is-embed .target-scene svg .game-plus-corner-mag,
  .exercise-scene-embed.is-embed .target-scene svg .game-plus-layer,
  .exercise-scene-embed.is-embed .target-scene svg .game-plus-v2-layer,
  .exercise-scene-embed.is-embed .target-scene svg .game-plus-v2-floor,
  .exercise-scene-embed.is-embed .target-scene svg .game-plus-v2-hex,
  .exercise-scene-embed.is-embed .target-scene svg .game-plus-v2-noise,
  .exercise-scene-embed.is-embed .target-scene svg .game-plus-scanlines,
  .exercise-scene-embed.is-embed .target-scene svg .game-plus-scanlines-fine,
  .exercise-scene-embed.is-embed .target-scene svg .game-plus-vignette,
  .exercise-scene-embed.is-embed .target-scene svg rect[fill*="gameCornerLime"],
  .exercise-scene-embed.is-embed .target-scene svg rect[fill*="gameTile"],
  .exercise-scene-embed.is-embed .target-scene--embed svg #game-floor-tile,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-grid-pulse,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-plus-corner-floor,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-plus-corner-cyan,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-plus-corner-mag,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-plus-layer,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-plus-v2-layer,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-plus-v2-floor,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-plus-v2-hex,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-plus-v2-noise,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-plus-scanlines,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-plus-scanlines-fine,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-plus-vignette,
  .exercise-scene-embed.is-embed .target-scene--embed svg rect[fill*="gameCornerLime"],
  .exercise-scene-embed.is-embed .target-scene--embed svg rect[fill*="gameTile"],
  .exercise-scene-embed [data-embed="true"] svg .game-plus-layer,
  .exercise-scene-embed [data-embed="true"] svg .game-plus-v2-layer,
  .exercise-scene-embed [data-embed="true"] svg .game-plus-corner-floor,
  .exercise-scene-embed [data-embed="true"] svg #game-floor-tile,
  html.is-embed .exercise-scene-embed .target-scene svg .game-plus-corner-floor,
  html[data-embed] .exercise-scene-embed .target-scene svg .game-plus-corner-floor,
  [data-embed="true"] .target-scene svg .game-plus-corner-floor,
  [data-embed="true"] .target-scene svg rect[fill*="gameCornerLime"],
  [data-embed="true"] .target-scene svg rect[fill*="gameTile"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .exercise-scene-embed.is-embed .target-scene--embed::before,
  .exercise-scene-embed.is-embed .target-scene--embed::after,
  html.is-embed .exercise-scene-embed .target-scene--embed::before,
  html.is-embed .exercise-scene-embed .target-scene--embed::after,
  html[data-embed] .exercise-scene-embed .target-scene--embed::before,
  html[data-embed] .exercise-scene-embed .target-scene--embed::after,
  [data-embed="true"] .target-scene--embed::before,
  [data-embed="true"] .target-scene--embed::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .exercise-scene-embed.is-embed .target-scene--embed svg {
    filter: none;
  }

  .exercise-scene-embed.is-embed .target-scene svg .game-hud .game-hud-stopwatch--center .game-hud-stopwatch-value,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-hud .game-hud-stopwatch--center .game-hud-stopwatch-value,
  html.is-embed .exercise-scene-embed .target-scene svg .game-hud .game-hud-stopwatch--center .game-hud-stopwatch-value,
  html[data-embed] .exercise-scene-embed .target-scene svg .game-hud .game-hud-stopwatch--center .game-hud-stopwatch-value,
  [data-embed="true"] .target-scene svg .game-hud .game-hud-stopwatch--center .game-hud-stopwatch-value {
    font-size: clamp(2.75rem, 9vw, 5.5rem);
    fill: #f8fafc !important;
    stroke: #22d3ee !important;
    stroke-width: 0.08em !important;
    paint-order: stroke fill;
    filter: none !important;
    opacity: 1 !important;
  }

  .exercise-scene-embed.is-embed .target-scene svg .game-hud .game-hud-stopwatch--center .game-hud-stopwatch-millis,
  .exercise-scene-embed.is-embed .target-scene--embed svg .game-hud .game-hud-stopwatch--center .game-hud-stopwatch-millis,
  html.is-embed .exercise-scene-embed .target-scene svg .game-hud .game-hud-stopwatch--center .game-hud-stopwatch-millis,
  html[data-embed] .exercise-scene-embed .target-scene svg .game-hud .game-hud-stopwatch--center .game-hud-stopwatch-millis,
  [data-embed="true"] .target-scene svg .game-hud .game-hud-stopwatch--center .game-hud-stopwatch-millis {
    fill: #e2e8f0 !important;
    stroke: #22d3ee !important;
    stroke-width: 0.06em !important;
    filter: none !important;
    opacity: 1 !important;
  }

  .exercise-scene-embed.is-embed .game-hud-step-bar-band {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .exercise-scene-embed.is-embed .game-hud-step-bar-channel {
    border-color: transparent !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .exercise-scene-embed [data-scene-stubs] {
    display: none !important;
  }

  @media (min-width: 640px) {
    .exercise-scene-embed {
      min-height: min(44vw, 26rem);
    }
  }

  .exercise-scene-play-btn {
    box-sizing: border-box;
    min-width: 11.25rem;
    text-align: center;
  }

  .exercise-scene-play-btn.is-stop {
    border-color: rgba(248, 113, 113, 0.45);
    background: rgba(248, 113, 113, 0.12);
    color: rgb(252, 165, 165);
  }

  .exercise-scene-play-btn.is-stop:hover {
    background: rgba(248, 113, 113, 0.22);
  }
/* /ForaClub events page */

/* Mobile sticky CTA bar (phone + Telegram booking) */
.site-mobile-cta-bar {
    display: none;
}

@media (max-width: 767px) {
    body.has-mobile-cta-bar {
        padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    }

    .site-mobile-cta-bar {
        display: block;
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 45;
        border-top: 1px solid rgba(251, 146, 60, 0.2);
        background-color: rgba(0, 0, 0, 0.92);
        backdrop-filter: blur(12px);
        padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
    }

    .site-mobile-cta-bar-inner {
        display: flex;
        gap: 0.625rem;
        max-width: 36rem;
        margin-inline: auto;
    }

    .site-mobile-cta-btn {
        flex: 1 1 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 2.75rem;
        border-radius: 0.5rem;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
        font-weight: 600;
        line-height: 1.25;
        text-align: center;
        transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }

    .site-mobile-cta-btn--call {
        border: 1px solid rgba(251, 146, 60, 0.4);
        background-color: rgba(251, 146, 60, 0.1);
        color: #fed7aa;
    }

    .site-mobile-cta-btn--call:hover {
        background-color: rgba(251, 146, 60, 0.2);
        color: #ffedd5;
    }

    .site-mobile-cta-btn--book {
        border: 1px solid transparent;
        background-color: #f97316;
        color: #fff;
        box-shadow: 0 0 24px rgba(251, 146, 60, 0.45);
    }

    .site-mobile-cta-btn--book:hover {
        background-color: #fb923c;
    }
}