/* Клуб: поверх стилей марафона (../style.css) — те же цвета, шрифт и стекло, только то, чего там нет. */
.q-head { display: flex; align-items: center; gap: 10px; }
.q-head .step { margin-left: auto; font-size: 14px; }
.q-bars { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin-top: -8px; }
.q-bars span { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .7); }
.q-bars span.on { background: var(--ink); }
.q-title { font-size: clamp(30px, 9vw, 38px); line-height: 1.08; font-weight: 100; letter-spacing: -.6px; }
.q-sub { font-size: 20px; font-weight: 300; line-height: 1.2; }
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt { min-height: 60px; border-radius: 24px; padding: 12px 16px 12px 18px; width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: rgba(255, 255, 255, .45); border: 1px solid rgba(255, 255, 255, .8); }
.opt.on { background: #fff; }
.opt .t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; font-size: 18px; font-weight: 300; line-height: 1.15; }
.opt .t small { font-size: 13px; font-weight: 400; opacity: .75; }
.opt .dot { width: 22px; height: 22px; border-radius: 50%; border: 1.3px solid rgba(58, 15, 34, .35); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.opt.on .dot { border-color: var(--ink); background: var(--lime); }
.opt .badge { border-radius: 10px; padding: 2px 8px; background: var(--pink); font-size: 12px; white-space: nowrap; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 44px; padding: 0 16px; border-radius: 22px; background: rgba(255, 255, 255, .45); border: 1px solid rgba(255, 255, 255, .8); font-size: 15px; display: inline-flex; align-items: center; }
.pill.on { background: #fff; font-weight: 600; }
.days7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.days7 button { min-height: 46px; border-radius: 16px; background: rgba(255, 255, 255, .45); border: 1px solid rgba(255, 255, 255, .8); font-size: 14px; text-align: center; }
.days7 button.on { background: #fff; font-weight: 600; }
.num-row { min-height: 70px; border-radius: 24px; background: #fff; padding: 0 18px; display: flex; align-items: center; gap: 10px; }
.num-row span { font-size: 17px; flex: 1; }
.num-row input { width: 110px; border: 0; background: transparent; font: inherit; font-size: 32px; font-weight: 100; text-align: right; color: var(--ink); outline: none; }
.num-row em { font-style: normal; font-size: 14px; width: 26px; }
.hint { font-size: 13px; line-height: 1.35; opacity: .8; }
.bottom-cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 10px; }
.card { border-radius: 28px; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .9); }
.card.white-c { background: #fff; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.kv:first-child { border-top: 0; }
.bigno { font-size: 54px; line-height: 1; font-weight: 100; letter-spacing: -1.5px; }
.tariff { min-height: 58px; border-radius: 22px; padding: 10px 16px; width: 100%; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .45); border: 1px solid rgba(255, 255, 255, .8); text-align: left; }
.tariff.on { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.tariff .t { flex: 1; display: flex; flex-direction: column; gap: 1px; font-size: 17px; }
.tariff .t small { font-size: 12px; opacity: .75; }
.tariff b { font-weight: 400; font-size: 17px; white-space: nowrap; }
.bullets { display: flex; flex-direction: column; gap: 8px; }
.bullets span { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.3; }
.bullets span::before { content: ""; width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--lime); border: 1px solid rgba(58, 15, 34, .25); flex-shrink: 0; }
.ring-wrap { width: 170px; height: 170px; margin: 10px auto 0; position: relative; }
.ring-wrap svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring-wrap b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 46px; font-weight: 100; }
.plan-today { border-radius: 30px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.plan-today .head { display: flex; align-items: center; gap: 14px; }
.mini-ring { width: 62px; height: 62px; position: relative; flex-shrink: 0; }
.mini-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.mini-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 300; }
.ptask { min-height: 56px; border-radius: 22px; background: rgba(255, 255, 255, .6); padding: 8px 14px; display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
.ptask .ck { width: 26px; height: 26px; border-radius: 50%; border: 1.3px solid rgba(58, 15, 34, .3); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ptask .ck.on { background: var(--lime); border-color: #b8c935; }
.ptask .ck svg, .eat svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ptask .t { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 16px; line-height: 1.2; }
.ptask .t small { font-size: 12px; opacity: .75; }
.ptask .v { font-size: 14px; white-space: nowrap; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.counter { border-radius: 26px; padding: 14px; min-height: 150px; display: flex; flex-direction: column; gap: 6px; background: rgba(255, 255, 255, .6); }
.counter .top { justify-content: space-between; }
.counter .plus { width: 38px; height: 38px; border-radius: 50%; background: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.counter .val { font-size: 34px; font-weight: 100; line-height: 1; }
.drops { display: flex; gap: 4px; flex-wrap: wrap; }
.drops i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .9); border: 1px solid rgba(58, 15, 34, .15); }
.drops i.on { background: #9dbee6; border-color: #9dbee6; }
.dish { border-radius: 24px; background: #fff; padding: 8px; display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; }
.dish .ph { width: 76px; height: 76px; border-radius: 18px; flex-shrink: 0; background: linear-gradient(135deg, #e3f0c9, #fbd3df) center / cover no-repeat; }
.dish .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 15px; line-height: 1.2; }
.dish .t small { font-size: 12px; opacity: .75; }
.dish .swap { align-self: flex-start; border-radius: 10px; padding: 3px 9px; background: rgba(31, 44, 23, .07); font-size: 12px; }
.eat { width: 34px; height: 34px; border-radius: 50%; border: 1.3px solid rgba(31, 44, 23, .3); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.eat.on { background: var(--lime); border-color: #b8c935; }
.kcal-card { border-radius: 28px; padding: 18px; background: rgba(255, 255, 255, .72); border: 1px solid #fff; display: flex; flex-direction: column; gap: 10px; }
.kcal-card .big { font-size: 60px; font-weight: 100; line-height: 1; letter-spacing: -2px; }
.bar { height: 8px; border-radius: 4px; background: rgba(31, 44, 23, .08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--ink); }
.macros3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.macros3 span { display: flex; flex-direction: column; font-size: 12px; }
.macros3 b { font-size: 22px; font-weight: 300; }
.meal-sec { border-radius: 26px; background: #fff; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.meal-sec .top { justify-content: space-between; }
.meal-sec h3 { margin: 0; font-size: 22px; font-weight: 300; }
.entry { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; padding: 6px 0; border-top: 1px solid var(--line); }
.entry small { display: block; font-size: 12px; opacity: .7; }
.entry button { font-size: 13px; opacity: .6; }
.add-sm { border-radius: 16px; padding: 6px 12px; background: rgba(31, 44, 23, .07); font-size: 13px; }
.tools3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tools3 button { min-height: 86px; border-radius: 22px; background: rgba(255, 255, 255, .72); padding: 12px; display: flex; flex-direction: column; justify-content: space-between; font-size: 15px; text-align: left; }
.tools3 svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.overlay-sheet { position: fixed; inset: 0; z-index: 50; background: rgba(31, 20, 26, .3); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s ease-out both; }
.overlay-sheet .in { width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto; background: var(--bg); border-radius: 30px 30px 0 0; padding: 18px 18px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; animation: reward-up .25s ease-out both; }
.overlay-sheet .in .top { justify-content: space-between; }
.food-row { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.food-row small { display: block; font-size: 12px; opacity: .7; }
.portion { display: flex; align-items: center; gap: 12px; justify-content: center; }
.portion button { width: 48px; height: 48px; border-radius: 50%; background: #fff; font-size: 24px; text-align: center; }
.portion input { width: 120px; border: 0; background: transparent; font: inherit; font-size: 54px; font-weight: 100; text-align: center; color: var(--ink); outline: none; }
.hero-w { border-radius: 34px; min-height: 280px; position: relative; overflow: hidden; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: linear-gradient(200deg, #cfe1f5 0%, #9dbee6 35%, #5f86b8 70%, #2b4a75 100%); }
.hero-w .when { font-size: 14px; opacity: .9; }
.hero-w strong { font-size: 40px; font-weight: 100; line-height: 1.05; letter-spacing: -.8px; }
.hero-w .play { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .3); display: flex; align-items: center; justify-content: center; }
.hero-w .play svg { width: 22px; height: 22px; fill: #fff; }
.chipsx { display: flex; gap: 6px; flex-wrap: wrap; }
.chipsx span { border-radius: 14px; padding: 4px 10px; font-size: 13px; background: rgba(255, 255, 255, .25); border: 1px solid rgba(255, 255, 255, .5); }
.lvl { display: inline-flex; align-items: center; gap: 5px; }
.lvl i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .3; }
.lvl i.on { opacity: 1; }
.tl { display: flex; flex-direction: column; }
.tl-row { display: grid; grid-template-columns: 30px 22px 1fr; gap: 8px; align-items: center; min-height: 54px; }
.tl-row .d { font-size: 13px; opacity: .75; }
.tl-row .m { width: 12px; height: 12px; border-radius: 50%; border: 1.3px solid var(--ink); background: #fff; justify-self: center; }
.tl-row .m.done { background: var(--ink); }
.tl-row .m.today { width: 16px; height: 16px; background: var(--lime); }
.tl-row .w { border-radius: 20px; background: #fff; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; width: 100%; }
.tl-row .w small { display: block; font-size: 12px; opacity: .7; }
.tl-row .rest { font-size: 15px; opacity: .75; padding-left: 4px; }
.wcard { border-radius: 24px; background: #fff; padding: 8px 8px 12px; display: flex; flex-direction: column; gap: 6px; text-align: left; width: 100%; }
.wcard .cv { height: 96px; border-radius: 18px; background: linear-gradient(160deg, #cfe1f5, #8fb3e0); position: relative; }
.wcard .cv .lv { position: absolute; left: 8px; top: 8px; border-radius: 12px; padding: 2px 8px; background: #fff; font-size: 12px; }
.wcard b { font-weight: 400; font-size: 15px; padding: 0 4px; line-height: 1.15; }
.wcard small { font-size: 12px; opacity: .7; padding: 0 4px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.feel3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.feel3 button { min-height: 48px; border-radius: 24px; background: rgba(255, 255, 255, .6); text-align: center; font-size: 15px; }
.feel3 button.on { background: #fff; font-weight: 600; }
.plist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.plist button, .plist a { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.plist .t { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.plist .t b { font-size: 26px; line-height: 1.1; font-weight: 300; }
.plist .t small { font-size: 14px; }
.chart { width: 100%; height: 150px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(96px + env(safe-area-inset-bottom)); background: #fff; border-radius: 20px; padding: 10px 18px; font-size: 15px; z-index: 60; box-shadow: 0 8px 24px rgba(58, 15, 34, .12); animation: fade .2s both; }
.recipe-img { width: 100%; aspect-ratio: 4 / 3; border-radius: 24px; background: linear-gradient(135deg, #e3f0c9, #fbd3df) center / cover no-repeat; }
.recipe-list { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.35; }
.recipe-list span { display: flex; gap: 8px; }
.recipe-list b { font-weight: 600; flex-shrink: 0; width: 18px; }
