/* -------------------- FONTS -------------------- */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;700&family=Manrope:wght@300;400;500;600;700&display=swap');

/* -------------------- DESIGN TOKENS -------------------- */
:root {
    --bg-page: #1A1A1A;    /* основной фон страницы */
    --bg-card: #2A2A2A;    /* фон карточек/секций */
    --bg-elevated: #333333; /* для popover/modal — пока не используется */
    --color-link: #4DD06C; /* приглушённый FF-зелёный для inline-ссылок */
    --color-link-hover: #95FF8D; /* accent-зелёный для hover/active */
    --color-destructive: #FF6B6B; /* destructive actions (logout, delete) */
    /* TASK-159: канонические токены по designConcept.md (color-accent / text-primary / text-secondary).
       Введены для ff-landing-* блока; постепенная миграция остального файла — отдельный backlog. */
    --color-accent: #95FF8D;
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #AAAAAA;
}

/* -------------------- GLOBAL -------------------- */
body {
    margin: 0;
    padding: 0;
    background: var(--bg-page);
    font-family: 'Manrope', sans-serif;
    color: #FFFFFF;
    font-size: 20px;
}

.container {
    display: flex;
    flex-direction: column;
    max-width: 1440px;
    margin: 0 auto;
}

section {

}

h1, h2, h3 {
    font-family: 'Unbounded', sans-serif;
    margin: 0 0 0;
}

h2{
    font-size: 32px;
    text-align: center;
    font-weight: 500;
}

h3{
    font-size: 20px;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: 0;
    text-transform: capitalize;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin: 12px 0;
}

.checklist{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.checklist-col{
    width: 464px;
}

.features-block{
    padding: 50px 140px;
    display: flex;
    justify-content: center;
    gap: 200px;

}

/* -------------------- HEADER -------------------- */
.header {
    max-width: 1440px;
    margin: 15px auto;
    padding: 0 250px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Unbounded', sans-serif;
    gap: 12px;
}

.header-title {
    font-weight: 700;
}

.header-sub {
    font-size: 16px;
    font-weight: 500;
}

/* -------------------- HERO BLOCK -------------------- */
.hero {
    position: relative;
    padding: 0;
    margin-bottom: 50px;
    background: url(/img/ff-b1.jpg) center / cover no-repeat;
}

.hero-content {
    display: flex;
    gap: 100px;
    flex-direction: column;
    padding-top: 212px;
    padding-left: 140px;
}

.hero-buttons{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero h1 {
    font-size: 52px;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero-sub {
    font-size: 20px;
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-mobile-sub-rows{
    display: none;
}

.two-col{
    display: flex;
    gap: 40px;
    align-items: center;
}

.block-2-mobile-footer{
    display: none;
}

/* -------------------- FORMS -------------------- */
.form-inline {
    display: flex;
    flex-wrap: wrap;
}

.input {
    background: #FFFFFF;
    color: #000;
    padding: 14px 18px;
    border: none;
    font-size: 16px;
    flex: 1;
    min-width: 240px;
    max-width: 300px;
}

.btn-green {
    background: #95FF8D;
    color: #000;
    padding: 14px 28px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    gap: 5px;
    line-height: 1.3;
}

.btn-grey {
    background: #404040;
    color: #FFF;
    padding: 14px 28px;
    border: none;
    font-size: 16px;
    display: flex;
    gap: 5px;
    line-height: 1.3;
}

.btn-green, .btn-green-large {
    /* Добавь это для эффекта свечения */
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(149,255,141,0.5));
}

.btn-green:hover, .btn-green-large:hover {
    /* Эффект при наведении */
    filter: drop-shadow(0 0 10px #95FF8D);
}

/* -------------------- BLOCK 2 -------------------- */
.block-2 {
    margin-bottom: 50px;
    margin-top: 50px;
}

/* -------------------- GRAY BLOCK -------------------- */
.block-gray {
    background: #404040;
    padding: 50px 0;
}

.block-green {
    display: flex;
    flex-direction: column;
    gap: 50px;
    background: #95FF8D;
    padding: 50px 140px;
    color: black;
    margin-bottom: 50px;
}

/* -------------------- BLOCK 4 -------------------- */
.block-4 {
    margin-bottom: 50px;
    margin-top: 50px;
}

.footer-small{
    font-size: 16px;
    line-height: 2;
}

/* -------------------- FEATURES (3 columns) -------------------- */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item p {
    font-size: 18px;
}

/* -------------------- CHECKLIST -------------------- */
.checklist div::before {
    content: '✕';
    margin-right: 12px;
    color: #AAAAAA;
}

.mid{
    color: #95FF8D;
}

.mid-line-container{
    display: flex;
    margin-left: 160px;
    flex-direction: column;
    gap: 40px;
}



/* -------------------- block-6 --------------- */
.block-6{
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.b6-checklist {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.b6-checklist div::before {
    content: url('/img/check.svg');
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 12px;
    color: #95FF8D;
    transform: scale(0.6);
    vertical-align: middle;
}

/* -------------------- Block 5 -------------------- */


.block-betting{
    display: flex;
    flex-direction: column;
    gap: 50px;
    background: #404040;
    padding: 50px 140px;
    color: black;
}
.block-betting h2{
    color: white;
}

.block-betting p{
    color: white;
}

.mid-line{
    display: flex;
    flex-direction: column;
    color: white;
    gap: 20px;
}

.mid-line h3{
    color: #95FF8D;
}

.mid-line-footer-small{
    color: white;
    font-size: 14px;
    line-height: 2;
}

/* -------------------- BLOCK 7 -------------------- */
.block-7 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 50px 0;
    background: url('/img/ff-b7.jpg') center/cover no-repeat;
    align-items: center;
}

.block-7-content {
    width: 100%;
    display: flex;
    gap: 40px;
    flex-direction: column;
    align-items: flex-start;
}
.block-7-content-inner{
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-left: 120px;
}

/* -------------------- FAQ -------------------- */

.block-faq {
    display: flex;
    flex-direction: column;
    gap: 50px;
    background: #95FF8D;
    padding: 50px 140px;
    color: black;
}

.faq-item {
    margin-bottom: 10px;
}
.faq-list{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-q {
    font-family: 'Unbounded', serif;
    font-size: 28px;
}

.faq-a {
    font-size: 18px;
    opacity: 0.85;
}

/* -------------------- BLOCK 9 -------------------- */
.block-8 {
    height: 800px;
    display: flex;
    flex-direction: column-reverse;
    gap: 50px;
    background: url(/img/ff-b8.jpg) center / cover no-repeat;
    align-items: flex-start;
    justify-content: space-around;
}

.block-8-content {
    display: flex;
    gap: 50px;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 140px;
}
.block-8-content-inner{
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
}

/*---------------- My GOAL -------------------*/

.mg-container {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 24px;
    padding-right: 24px;
}

.mg-header {
    background: #404040;
    padding: 0 24px;
}

.mg-avg-container{
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    gap: 16px;
}

.mg-avg-stat-container{
    font-size: 16px;
    display: flex;
    gap: 40px;
}

.mg-athlete-container{
    color: #95FF8D;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-logout {
    background: none;
    border: none;
    color: #AAAAAA;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.btn-logout:hover {
    color: #FFFFFF;
}

.mg-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    padding-top: 20px;
}

.mg-image-block {
    display: none;
}

.mg-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    border-radius: 8px;
    object-position: 55% ;
}

.mg-image-title {
    position: absolute;
    top: 10px;
    left: 10px;
    max-width: 200px;
    font-size: 36px;
    line-height: 1.2;
    text-transform: uppercase;
}

.mg-image-title-progress{
    display: none;
    position: absolute;
    top: 40px;
    left: 40px;
    max-width: 300px;
    font-size: 36px;
    line-height: 1.2;
    text-transform: uppercase;
}

.mg-content-block {
    display: flex;
    flex-direction: column;
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
}

.mg-tabs {
    display: none;
    gap: 10px;
    margin-bottom: 24px;
}

.mg-tab {
    flex: 1;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #FFFFFF;
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, filter 0.2s ease;
}

.mg-tab:hover {
    border-color: #95FF8D;
    color: #95FF8D;
}

.mg-tab img { width: 20px; }

.mg-tab.active {
    background: #95FF8D;
    color: #202020;
    border-color: transparent;
    filter: drop-shadow(0 0 5px rgba(149, 255, 141, 0.5));
}

.mg-tab.active:hover {
    color: #202020;
    filter: drop-shadow(0 0 10px #95FF8D);
}

.mg-tab.disabled {
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
}

.mg-tab.disabled:hover {
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
}
.mg-goal-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
    padding-bottom: 80px;
}

.mg-goal-body{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mg-hint {
    color: #AAAAAA;
    font-size: 14px;
}

.mg-goal-form-wrapper{
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #404040;
}

.mg-goal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mg-field {
    width: 100%;
    font-size: 16px;
}

.mg-field label {
    display: block;
    margin-bottom: 8px;

}

.mg-input {
    width: 100%;
    background: #2A2A2A;
    border: 1px solid #404040;
    color: white;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.mg-goal-desc-textarea {
    min-height: 90px;
    max-height: 280px;
    overflow-y: auto;
    resize: vertical;
    line-height: 1.4;
    margin-top: 4px;
}

.mg-submit-btn, .mg-pay-btn {
    display: flex;
    width: 100%;
    margin-top: 10px;
    border-radius: 6px;
    justify-content: center;
}

.mg-footer-note {
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: #666;
}

/* Стили для установленной цели */
.mg-goal-display {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-radius: 8px;
}

.mg-goal-info{
    padding: 24px;
}

.mg-goal-status-text {
    color: #FFFFFF;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.mg-goal-status-text img {
    width: 24px;
    height: 24px;

}

.mg-goal-details {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
    color: #FFFFFF;
}
.mg-goal-actions {
    display: flex;
    border-top: 1px solid #404040;
    padding-top: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.btn-link {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
}

.btn-link.remove { color: #FF6B6B; }

/* Прогресс бар */
.mg-progress-bar {
    height: 40px;
    background: #2A2A2A;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.mg-progress-fill {
    height: 100%;
    background: #95FF8D;
    transition: width 0.5s ease-in-out;
}

.mg-progress-dates {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: var(--some-gray-color);
    font-size: 14px;
}

.mg-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: #888;
}
/*---------------- END My GOAL -------------------*/
/*---------------- TRAINING PLAN DISPLAY -------------------*/

.mg-plan-container {
    margin-top: 30px;
    display: none; /* Управляется из JS */
}

/* TASK-156 / F-24.a — badge «Plan by coach <name>» над .mg-plan-container
   для COACHED-атлета с активным coach-планом (uiState=COACH_PLAN_READY). */
.mg-plan-source-badge {
    display: inline-block;
    padding: 6px 12px;
    margin-top: 30px;
    margin-bottom: 0;
    background: var(--ff-coach-accent, #FFD93D);
    color: var(--bg-page, #1a1a1a);
    border-radius: 4px 4px 0 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.mg-plan-source-badge + .mg-plan-container {
    margin-top: 0;
    border-top-left-radius: 0;
}

@media (max-width: 780px) {
    .mg-plan-source-badge {
        font-size: 12px;
        padding: 5px 10px;
    }
}

.mg-plan-summary {
    background: rgba(149, 255, 141, 0.05); /* Легкая зеленая подсветка */
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.mg-plan-summary h3 {
    color: #95FF8D;
    margin-bottom: 12px;
}

.mg-plan-summary p {
    color: #E0E0E0;
    margin: 0;
    font-size: 16px;
}

.mg-plan-focus {
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.mg-plan-focus span {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    color: #AAAAAA;
}

.mg-workout-card {
    background: #2A2A2A;
    border: 1px solid #404040;
    border-left: 4px solid #95FF8D; /* Акцентная зеленая полоса слева */
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    transition: transform 0.2s ease;
}

.mg-workout-card:hover {
    transform: translateX(4px); /* Легкий эффект при наведении */
}

.mg-workout-title {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.mg-workout-title span {
    font-weight: 400;
    color: #888888;
    font-size: 14px;
    margin-left: 6px;
}

.mg-workout-desc {
    margin-bottom: 16px;
}

.mg-workout-sections {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mg-workout-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 10px 14px;
}

.mg-section-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.mg-section-body {
    font-size: 14px;
    color: #CCCCCC;
    line-height: 1.6;
    margin: 0;
}

.mg-workout-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mg-tag {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.mg-tag-time {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.mg-tag-hr {
    background: rgba(149, 255, 141, 0.15);
    color: #95FF8D;
}
/* Добавь это в конец секции TRAINING PLAN DISPLAY */

.mg-workouts-list {
    display: flex;
    flex-direction: column;
}

/* Стили для выполненной тренировки — оставляем в исходном порядке (по workoutOrder),
   просто помечаем как done и затемняем. Никаких `order:` — иначе пропущенные/выполненные
   дни ломают хронологию недели. */
.mg-workout-card.completed {
    border-left-color: #404040 !important;
    background: rgba(255, 255, 255, 0.02);
    opacity: 0.55;
}

.mg-workout-card.completed .mg-workout-title {
    color: #888888;
}

/* -------------------- LOADER -------------------- */
.mg-loader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.ff-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(149, 255, 141, 0.1); /* Полупрозрачный зеленый фон */
    border-top: 4px solid #95FF8D; /* Яркий зеленый акцент */
    border-radius: 50%;
    animation: ff-spin 1s linear infinite;
    margin-bottom: 20px;
}

.mg-loader-text {
    color: #AAAAAA;
    font-size: 16px;
    font-weight: 500;
}

@keyframes ff-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(149, 255, 141, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(149, 255, 141, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(149, 255, 141, 0);
    }
}
.proof-card small {
    font-size: 10px;
    text-transform: uppercase;
    color: #888;
    display: block;
    margin-top: -3px;
}
.proof-card strong {
    font-size: 14px;
    letter-spacing: 1px;
}

/* --- NEW DESKTOP UTILITY CLASSES FOR LANDING --- */
.ff-section {
    padding: 80px 140px;
}
.ff-hero-section {
    padding: 120px 140px;
}
.ff-hero-title {
    font-size: 72px;
    line-height: 0.9;
    font-weight: 900;
}
.ff-logic-blocks {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
    font-size: 16px;
}
.ff-live-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.ff-live-cta {
    margin-left: auto;
}
.ff-proofs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.ff-proof-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.ff-proofs-title {
    font-size: 40px;
    font-weight: 900;
}
.ff-b8-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
}

/* --- HOW IT WORKS IMPROVEMENTS --- */
.ff-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

.ff-how-card {
    background: #111;
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid #222;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.ff-how-card:hover {
    border-color: #444;
    transform: translateY(-5px);
    background: #161616;
}

.ff-how-icon-wrapper {
    width: 80px;
    height: 80px;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
}

.ff-how-number {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 28px;
    height: 28px;
    background: #333;
    color: #FFF;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
}

/* --- SOCIAL NETWORKS BLOCK --- */
.ff-social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.ff-social-card {
    background: #151515;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 30px 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.ff-social-card:hover {
    transform: translateY(-5px);
    border-color: #95FF8D;
    background: #1a1a1a;
    box-shadow: 0 10px 20px rgba(149, 255, 141, 0.1);
}

.ff-social-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 15px;
    background: #222;
    transition: background 0.3s ease;
}

.ff-social-icon svg {
    width: 28px;
    height: 28px;
    fill: #FFF;
    transition: fill 0.3s ease;
}

.ff-social-card h3 {
    color: #FFF;
    font-size: 18px;
    margin: 0 0 5px 0;
    transition: color 0.3s ease;
}

.ff-social-card span {
    color: #888;
    font-size: 14px;
}

/* Эффекты при наведении */
.ff-social-card:hover .ff-social-icon {
    background: rgba(149, 255, 141, 0.1);
}

.ff-social-card:hover .ff-social-icon svg {
    fill: #95FF8D;
}

.ff-social-card:hover h3 {
    color: #95FF8D;
}
/* ========================================================= */
/* КАСТОМНЫЙ ЯЗЫКОВОЙ СЕЛЕКТОР И СКРЫТИЕ GOOGLE TRANSLATE    */
/* ========================================================= */

/* 1. Полностью прячем все виджеты, iframe и панели Google */
#google_translate_element,
.goog-te-banner-frame,
.skiptranslate,
#goog-gt-tt {
    display: none !important;
}

body {
    top: 0 !important;
    position: static !important;
}

/* 2. Стилизуем наш кастомный UI */
.ff-lang-selector {
    position: relative;
    font-family: 'Manrope', sans-serif;
    user-select: none;
    z-index: 1000;
}

.ff-lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #202020;
    border: 1px solid #404040;
    padding: 8px 16px;
    border-radius: 6px;
    color: #FFF;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ff-lang-current:hover {
    border-color: #95FF8D;
    box-shadow: 0 0 5px rgba(149, 255, 141, 0.2);
}

.ff-lang-arrow {
    transition: transform 0.3s ease;
    fill: #AAA;
}

/* 3. Стилизуем выпадающий список */
.ff-lang-list {
    position: absolute;
    top: 110%;
    right: 0;
    background: #202020;
    border: 1px solid #404040;
    border-radius: 6px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    width: 140px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.ff-lang-list li {
    padding: 10px 16px;
    color: #CCC;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ff-lang-list li:hover {
    background: rgba(149, 255, 141, 0.1);
    color: #95FF8D;
}

.ff-lang-list li.active {
    color: #95FF8D;
    font-weight: 600;
}
/* ================== CHART VISUALIZATION STYLES ================== */
.mg-chart-container {
    background: #2A2A2A;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #404040;
    margin-bottom: 25px;
}

.mg-chart-title {
    color: #FFF;
    margin: 0 0 15px 0;
    font-size: 16px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
}

.mg-chart-description {
    color: #AAA;
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
}

.mg-chart-legend {
    margin-top: 12px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12px;
}

.mg-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mg-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mg-legend-text {
    color: #AAA;
}

/* Status messages during data loading */
.mg-status-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    background: rgba(149, 255, 141, 0.05);
    border: 1px solid #404040;
    margin-bottom: 15px;
    color: #E0E0E0;
    font-size: 14px;
}

.mg-status-message.loading {
    background: rgba(255, 217, 61, 0.05);
    border-color: #FFD93D;
}

.mg-status-message.success {
    background: rgba(149, 255, 141, 0.05);
    border-color: #95FF8D;
}

.mg-status-message.error {
    background: rgba(255, 107, 107, 0.05);
    border-color: #FF6B6B;
}

.mg-status-icon {
    font-size: 18px;
}
/* Monthly plan tab */
.mg-monthly-weeks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}
.mg-monthly-week-card {
    background: #2A2A2A;
    border-radius: 8px;
    padding: 16px 18px;
    border-left: 4px solid #555;
    transition: background 0.2s;
}
.mg-monthly-week-card.current {
    background: rgba(149, 255, 141, 0.06);
    box-shadow: 0 0 0 1px rgba(149, 255, 141, 0.3);
}
.mg-monthly-week-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.mg-monthly-week-num {
    color: #FFF;
    font-weight: 600;
    font-size: 16px;
}
.mg-monthly-week-phase {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mg-monthly-current-badge {
    background: #95FF8D;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mg-monthly-week-body {
    color: #CCC;
    font-size: 13px;
    line-height: 1.6;
}
.mg-monthly-week-body > div { margin-bottom: 4px; }
.mg-monthly-progression {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #404040;
    color: #AAA;
    font-style: italic;
    font-size: 12px;
}
.mg-empty-state {
    text-align: center;
    padding: 40px;
    color: #888;
    font-style: italic;
    border: 1px dashed #404040;
    border-radius: 8px;
}

/* Monthly progression chart */
.mg-monthly-chart-wrapper {
    background: #2A2A2A;
    border-radius: 8px;
    padding: 18px;
    border: 1px solid #404040;
    margin-bottom: 18px;
}
.mg-monthly-chart-title {
    color: #FFF;
    font-size: 15px;
    margin: 0 0 12px 0;
    font-weight: 600;
}
.mg-monthly-chart-canvas-wrapper {
    position: relative;
    height: 220px;
    width: 100%;
}

/* Penalty / week-over mesocycle callout */
.mg-continue-callout {
    background: linear-gradient(135deg, rgba(149,255,141,0.10), rgba(149,255,141,0.03));
    border: 1px solid #95FF8D;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 16px;
}
.mg-continue-callout-title {
    color: #95FF8D;
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
}
.mg-continue-callout-body {
    color: #DDD;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 12px 0;
}
.mg-continue-callout-cta {
    color: #FFF;
    font-size: 13px;
    font-weight: 600;
    background: rgba(149,255,141,0.15);
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-block;
}
.mg-monthly-compact-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: 14px 0;
}
.mg-monthly-compact-cell {
    background: #1F1F1F;
    padding: 10px 8px;
    border-radius: 6px;
    text-align: center;
    transition: transform 0.15s;
}
.mg-monthly-compact-cell.current {
    background: rgba(149,255,141,0.10);
    box-shadow: 0 0 0 1px rgba(149,255,141,0.4);
    transform: scale(1.04);
}
.mg-monthly-compact-week {
    color: #FFF;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 4px;
}
.mg-monthly-compact-phase {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.mg-monthly-compact-vol {
    color: #AAA;
    font-size: 11px;
}
.mg-restart-warning {
    color: #AAA;
    font-size: 12px;
    text-align: center;
    font-style: italic;
    margin-top: 10px;
}
.mg-week-over-hint {
    color: #95FF8D;
    font-size: 13px;
    margin: 0 0 14px 0;
    font-weight: 500;
}

/* Penalty button visual accent */
#penalty-wrapper #payPenaltyBtn {
    box-shadow: 0 4px 16px rgba(255, 217, 61, 0.35);
    transform: scale(1.02);
}
#penalty-wrapper #freeNewPlanBtn {
    opacity: 0.65;
    font-size: 13px;
}

/* PMC chart responsive — F-13 L2 (TASK-009a) */
@media (max-width: 780px) {
    #progress-pmc-canvas {
        height: 200px !important;
    }
}

/* ================== APP-SHELL LAYOUT (mobile-app-like) ==================
   Авторизованные страницы (my-goal/profile/coach) рендерятся внутри grid-shell:
   header (auto) / main (1fr, скроллится) / floating-menu (auto).
   Меню перестаёт быть position:fixed и становится grid-child — это убирает
   баг "меню повисает посередине" при retract браузерного chrome'а на iOS Safari
   и Chrome Android, потому что fixed-positioning на мобильных использует
   layout viewport, а не visual viewport, и зависает между состояниями chrome'а. */
.ff-body-shell {
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    margin: 0;
}

.ff-body-shell .ff-app-main {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    /* min-height: 0 нужен, чтобы 1fr-row не раздувался по контенту и overflow работал. */
    min-height: 0;
}

/* ================== F-15 APP-LIKE HEADER (TASK-047) ================== */
.ff-app-header {
    position: sticky;
    top: 0;
    height: 60px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #333;
    z-index: 900;
}

/* В shell-режиме header — обычный grid-child auto-row; sticky избыточен. */
.ff-body-shell .ff-app-header {
    position: static;
}

.ff-app-logo {
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 1px;
    color: #FFF;
    font-family: 'Unbounded', sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.ff-app-logo:hover {
    color: #95FF8D;
}

/* ================== F-15 FLOATING BOTTOM MENU (TASK-047) ================== */
.ff-floating-menu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: #1E1E1E;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    padding: 12px 16px env(safe-area-inset-bottom, 16px);

    margin: 0 auto;
    font-family: 'Manrope', sans-serif;
}

/* В shell-режиме меню — обычный grid-child bottom-row, не fixed.
   Решает баг "меню повисает посередине экрана" при retract chrome'а браузера.
   width: 100% нужен, потому что без position:fixed+left/right меню (display:flex)
   схлопывается до min-content от children и margin:0 auto центрирует его в 200px. */
.ff-body-shell .ff-floating-menu {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    box-sizing: border-box;
}

.ff-fm-slot-wrap {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
}

.ff-fm-slot {
    flex: 1;
    background: none;
    border: none;
    color: #FFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    cursor: pointer;
    padding: 6px 4px;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s, background 0.08s ease, transform 0.08s ease;
    max-width: 80px;
    text-decoration: none;
    border-radius: 8px;
}

.ff-fm-slot.active svg {
    stroke: #95FF8D;
}

.ff-fm-slot.active .ff-fm-label {
    color: #95FF8D;
}

/* hover — только для устройств с указателем (mouse), не для touch.
   На touch :hover «прилипает» после тапа и даёт ложное состояние. */
@media (hover: hover) {
    .ff-fm-slot:hover svg {
        stroke: #95FF8D;
    }
    .ff-fm-slot:hover .ff-fm-label {
        color: #95FF8D;
    }
}

/* Tap-feedback на touch: подсветка + лёгкое сжатие на момент удержания.
   -webkit-tap-highlight-color стоит transparent, поэтому без :active юзер
   не понимает, что тап зарегистрирован — отсюда ощущение «меню тупит». */
.ff-fm-slot:active {
    background: rgba(149, 255, 141, 0.10);
    transform: scale(0.94);
}

.ff-fm-label {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #AAA;
    font-size: 12px;
}

.ff-fm-panel {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #202020;
    border: 1px solid #404040;
    border-radius: 6px;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.5);
    padding: 8px 0;
    min-width: 160px;
    list-style: none;
    margin: 0;
    z-index: 1010;
}

.ff-fm-panel[hidden] {
    display: none;
}

.ff-fm-panel li {
    padding: 10px 16px;
    color: #CCC;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ff-fm-panel li:hover {
    background: rgba(149, 255, 141, 0.1);
    color: #95FF8D;
}

.ff-fm-panel li.active {
    color: #95FF8D;
    font-weight: 600;
}

.ff-fm-panel .btn-logout {
    width: 100%;
    text-align: center;
    display: block;
    padding: 10px 16px;
    font-size: 14px;
}

.ff-fm-panel-link {
    display: block;
    padding: 10px 16px;
    color: #CCC;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.ff-fm-panel-link:hover {
    background: rgba(149, 255, 141, 0.1);
    color: #95FF8D;
}

/* TASK-149 / BUG-068: 6-й слот (Chat) в bottom-menu — уплотняем на mobile */
@media (max-width: 480px) {
    .ff-floating-menu {
        padding: 8px 6px env(safe-area-inset-bottom, 8px);
    }
    .ff-fm-slot {
        max-width: 56px;
        padding: 6px 4px;
        gap: 2px;
        font-size: 11px;
    }
    .ff-fm-slot svg {
        width: 20px;
        height: 20px;
    }
    .ff-fm-label {
        display: none;
    }
}

@media (max-width: 320px) {
    .ff-floating-menu {
        padding: 6px 2px env(safe-area-inset-bottom, 6px);
        gap: 2px;
    }
    .ff-fm-slot {
        max-width: 48px;
        padding: 4px 2px;
    }
    .ff-fm-slot svg {
        width: 18px;
        height: 18px;
    }
}

/* -------------------- PROFILE PAGE (/profile) -------------------- */
.ff-profile-wrap {
    max-width: 720px;
    margin: 32px auto;
    padding: 0 16px 96px;
}

.ff-profile-identity {
    margin-bottom: 24px;
}

.ff-profile-logged-in-label {
    color: #AAA;
    font-size: 14px;
    margin-bottom: 4px;
}

.ff-profile-identity h1 {
    font-size: clamp(20px, 5vw, 28px);
    word-break: break-all;
    margin: 0 0 4px;
}

.ff-profile-fullname {
    color: #AAA;
    font-size: 16px;
    margin: 0;
}

.ff-profile-section {
    background: var(--bg-card);
    padding: 16px 18px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.ff-profile-section h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    color: #CCC;
    text-transform: none;
}

/* TASK-186b — HR profile section (Max HR / Resting HR inputs + source hint) */
.ff-profile-hr-inputs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.ff-profile-hr-inputs label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 140px;
    color: #CCC;
    font-size: 14px;
}
.ff-profile-hr-inputs input[type="number"] {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 10px 12px;
    color: #FFF;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    min-height: 44px;
}
.ff-profile-hr-inputs input[type="number"]:focus {
    outline: none;
    border-color: rgba(149, 255, 141, 0.4);
}
.ff-profile-hr-source {
    display: block;
    color: #888;
    font-size: 12px;
    margin-bottom: 12px;
}
.ff-profile-hr-actions {
    margin-top: 4px;
}
@media (max-width: 780px) {
    .ff-profile-hr-inputs {
        flex-direction: column;
    }
    .ff-profile-hr-actions button {
        flex: 1;
    }
}

.ff-profile-data-source-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #FFF;
    margin-bottom: 10px;
}

.ff-profile-teams-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.ff-profile-team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.ff-profile-team-row:last-child {
    border-bottom: none;
}

.ff-profile-team-name {
    color: #FFF;
    font-size: 14px;
}

.ff-profile-teams-empty {
    color: #888;
    font-size: 14px;
    padding: 8px 0;
}

.ff-profile-section-legal {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ff-profile-section-legal h3 {
    margin-bottom: 8px;
}

.ff-profile-legal-link {
    color: var(--color-link);
    text-decoration: none;
    font-size: 14px;
}

.ff-profile-legal-link:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
}

.ff-profile-section-logout {
    background: transparent;
    padding: 0;
    margin-top: 8px;
}

/* Language section (перенесён из bottom-menu 2026-05-31). */
.ff-profile-lang-select {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 10px 12px;
    color: #FFF;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23AAA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.ff-profile-lang-select:focus {
    outline: none;
    border-color: rgba(149, 255, 141, 0.4);
}

.ff-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.ff-profile-section .btn-green,
.ff-profile-section .btn-grey,
.ff-profile-section .btn-outline-green,
.ff-profile-section .btn-outline-destructive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    min-height: 44px;
    padding: 10px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-outline-green {
    background: transparent;
    color: #95FF8D;
    border: 1px solid rgba(149, 255, 141, 0.6);
}

.btn-outline-green:hover {
    background: rgba(149, 255, 141, 0.10);
    border-color: #95FF8D;
}

.btn-outline-destructive {
    background: transparent;
    color: var(--color-destructive);
    border: 1px solid var(--color-destructive);
}

.btn-outline-destructive:hover {
    background: rgba(255, 107, 107, 0.10);
}

.ff-profile-team-row .btn-grey.ff-profile-leave-btn {
    min-height: 32px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
}

@media (max-width: 480px) {
    .ff-profile-actions {
        flex-direction: column;
        align-items: stretch;
        box-sizing: border-box;
    }

    .ff-profile-section .btn-green,
    .ff-profile-section .btn-grey,
    .ff-profile-section .btn-outline-green,
    .ff-profile-section .btn-outline-destructive {
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
        min-width: 0;
    }
}

.btn-logout-destructive {
    background: transparent;
    border: 1px solid var(--color-destructive);
    color: var(--color-destructive);
    padding: 12px 24px;
    border-radius: 4px;
    min-height: 44px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    width: 100%;
    transition: background 0.2s ease;
}

.btn-logout-destructive:hover {
    background: rgba(255, 107, 107, 0.1);
}

/* -------------------- PROFILE: My suggestions (TASK-145) -------------------- */
.ff-profile-suggestions h3 {
    margin-bottom: 12px;
}

.ff-profile-suggestion-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
}

.ff-profile-suggestion-card:last-child {
    margin-bottom: 0;
}

.ff-profile-suggestion-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.ff-profile-suggestion-kind {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.1);
    color: #A0A0A0;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ff-profile-suggestion-status {
    display: inline-block;
    border: 1px solid;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ff-profile-suggestion-title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 500;
    color: #E0E0E0;
}

.ff-profile-suggestion-date {
    margin: 0 0 8px;
    font-size: 12px;
    color: #A0A0A0;
}

.ff-profile-suggestion-text {
    margin: 0;
    font-size: 14px;
    color: #C0C0C0;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Список «Мои предложения» сворачивается целиком (один <details>), карточки
   внутри — обычные не-collapsible. Feedback Ильи 2026-05-31. */
.ff-profile-suggestions-collapse > summary.ff-profile-suggestions-summary {
    display: flex;
    align-items: center;
    cursor: pointer;
    list-style: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.ff-profile-suggestions-collapse > summary.ff-profile-suggestions-summary::-webkit-details-marker {
    display: none;
}

.ff-profile-suggestions-collapse > summary.ff-profile-suggestions-summary h3 {
    margin: 0;
    flex: 1;
}

.ff-profile-suggestions-collapse > summary.ff-profile-suggestions-summary::after {
    content: '▸';
    color: #888;
    font-size: 14px;
    transition: transform 0.15s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.ff-profile-suggestions-collapse[open] > summary.ff-profile-suggestions-summary::after {
    transform: rotate(90deg);
}

.ff-profile-suggestions-collapse[open] > #ff-profile-suggestions-list,
.ff-profile-suggestions-collapse[open] > .ff-profile-suggestions-truncation-note {
    margin-top: 12px;
}

.ff-profile-suggestions-truncation-note {
    font-size: 13px;
    color: #A0A0A0;
    margin: 0 0 12px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
}

.ff-profile-suggestions-empty {
    font-size: 14px;
    color: #888;
    margin: 0;
    padding: 8px 0;
}

.ff-profile-suggestions-error {
    font-size: 14px;
    color: #EF5350;
    margin: 0;
    padding: 8px 0;
}

.ff-profile-suggestions-error-msg {
    margin: 0 0 8px;
}

@media (max-width: 780px) {
    .ff-profile-suggestion-card {
        font-size: 15px;
    }

    .ff-profile-suggestion-title {
        font-size: 14px;
    }
}

/* user-slot as link — preserve button-like appearance */
a#ff-fm-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

/* TASK-147 BUG-066 — Landing auth block: Login (primary) + OAuth signup (secondary) */
.ff-landing-auth {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    max-width: 480px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
}

.ff-landing-login-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    align-items: stretch;
}

.ff-landing-email {
    flex: 1 1 220px;
    min-width: 0;
    box-sizing: border-box;
    background: var(--bg-elevated);
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Manrope', sans-serif;
    outline: none;
}
.ff-landing-email::placeholder { color: #888; }
.ff-landing-email:focus { border-color: var(--color-accent); }

.ff-landing-login-btn {
    flex: 0 0 auto;
    min-width: 100%;
    box-sizing: border-box;
    background: var(--color-accent);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.1s ease;
    filter: drop-shadow(0 0 6px rgba(149, 255, 141, 0.45));
}
.ff-landing-login-btn:hover { filter: drop-shadow(0 0 10px rgba(149, 255, 141, 0.75)); }
.ff-landing-login-btn:active { transform: translateY(1px); }

.ff-landing-auth .ff-email-error {
    display: none;
    width: 100%;
    color: #FF6B6B;
    font-size: 14px;
    margin-top: 4px;
    padding: 8px 12px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 4px;
}

.ff-landing-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 400;
    font-family: 'Manrope', sans-serif;
    margin: 18px 0;
    text-transform: lowercase;
}
.ff-landing-auth-divider::before,
.ff-landing-auth-divider::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.ff-landing-signup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ff-landing-signup-btn {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    background: var(--bg-elevated);
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
    overflow-wrap: anywhere;
    hyphens: auto;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.ff-landing-signup-btn:hover {
    background: #3A3A3A;
    border-color: rgba(255, 255, 255, 0.2);
}
.ff-landing-signup-btn:active { transform: translateY(1px); }


