:root{--bg: #0A0E13;--bg-glow: #1B1233;--purple: #8F3BEA;--purple-2: #A855F7;--purple-light: #B77CFF;--purple-soft: #C9A2FF;--blue: #3DA5FF;--blue-light: #7DD3FF;--orange: #F59E0B;--orange-ink: #1A1205;--text: #FFFFFF;--muted: #8B95A5;--soft: #E4E7EC;--track: rgba(255, 255, 255, .09);--line: rgba(255, 255, 255, .14);--danger: #FF8A80;--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-top: env(safe-area-inset-top, 0px);color-scheme:dark}*{box-sizing:border-box}html,body,#root{margin:0;height:100%;background:var(--bg)}body{color:var(--text);font-family:Plus Jakarta Sans,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;overscroll-behavior:none}a{color:inherit;text-decoration:none}button{font-family:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}:focus-visible{outline:2px solid var(--purple-light);outline-offset:2px;border-radius:12px}img{display:block}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.app{position:relative;isolation:isolate;min-height:100%;height:100%;max-width:480px;margin:0 auto;overflow:hidden;background:radial-gradient(ellipse at 80% -10%,var(--bg-glow) 0,var(--bg) 55%);display:flex;flex-direction:column}.glow{position:absolute;z-index:-1;width:300px;height:300px;border-radius:150px;pointer-events:none}.glow.a{background:var(--purple);opacity:.4;filter:blur(90px);right:-110px;top:-60px}.glow.b{background:#5b2ccb;opacity:.42;filter:blur(100px);left:-120px;top:380px}.scroll{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:calc(20px + var(--safe-top)) 20px calc(120px + var(--safe-bottom));display:flex;flex-direction:column;gap:14px}.scroll.no-tabs{padding-bottom:calc(32px + var(--safe-bottom))}.head{display:flex;align-items:center;justify-content:space-between;gap:12px}.head h1{margin:0;font-size:30px;font-weight:800;line-height:1.1}.head p{margin:2px 0 0;font-size:14px;color:var(--muted)}.head-actions{display:flex;align-items:center;gap:10px}.avatar-link{width:48px;height:48px;border-radius:24px;border:2px solid var(--purple-light);overflow:hidden;display:block;flex:none}.avatar-link img{width:44px;height:44px;object-fit:cover}.bell{position:relative;width:48px;height:48px;border-radius:24px;flex:none;background:#ffffff12;border:1px solid var(--line);display:flex;align-items:center;justify-content:center}.badge-count{position:absolute;right:-2px;top:-2px;min-width:20px;height:20px;border-radius:10px;padding:0 5px;background:var(--orange);color:var(--orange-ink);font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center}.glass{background:linear-gradient(135deg,#ffffff1f,#ffffff08);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid rgba(255,255,255,.15);box-shadow:inset 0 1px #ffffff38,0 10px 28px #00000061;border-radius:26px;padding:16px}.glass.row-item{border-radius:20px;padding:12px 16px;min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:10px}.section-title{font-size:17px;font-weight:700;margin:0}.muted{color:var(--muted)}.small{font-size:13px}.tiny{font-size:11px}.strong{font-weight:700}.orange{color:var(--orange)}.purple{color:var(--purple-light)}.stack{display:flex;flex-direction:column}.row{display:flex;align-items:center}.between{justify-content:space-between}.gap-4{gap:4px}.gap-8{gap:8px}.gap-10{gap:10px}.gap-12{gap:12px}.gap-14{gap:14px}.btn-primary{min-height:56px;border-radius:28px;border:none;width:100%;background:linear-gradient(135deg,var(--purple-2),#7A2FD0);color:#fff;box-shadow:0 8px 24px #8f3bea8c;display:flex;align-items:center;justify-content:center;gap:10px;font-size:16px;font-weight:800}.btn-primary:disabled{opacity:.5;box-shadow:none}.btn-ghost{min-height:48px;border-radius:24px;border:1px solid var(--line);background:transparent;width:100%;color:var(--text);font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px}.btn-text{min-height:44px;background:none;border:none;color:var(--purple-light);font-size:14px;font-weight:700;padding:0 4px}.pill{min-height:36px;display:inline-flex;align-items:center;padding:0 14px;border-radius:18px;border:1.5px solid var(--purple-light);color:var(--purple-light);font-size:13px;font-weight:700;background:transparent}.chips{display:flex;gap:8px;overflow-x:auto}.chip{min-height:40px;padding:0 16px;border-radius:20px;border:1px solid var(--line);background:transparent;color:var(--muted);font-size:13px;font-weight:600;white-space:nowrap}.chip[aria-pressed=true]{border:none;background:var(--purple);color:#fff;font-weight:700}.field{display:flex;flex-direction:column;gap:6px}.field label{font-size:13px;font-weight:600;color:var(--soft)}.input{min-height:52px;border-radius:16px;border:1px solid var(--line);background:#ffffff0f;color:var(--text);font:inherit;font-size:16px;padding:0 16px;width:100%}.input:focus{outline:2px solid var(--purple-light);outline-offset:0}.error{color:var(--danger);font-size:14px}.tabbar{position:absolute;left:12px;right:12px;bottom:calc(16px + var(--safe-bottom));height:72px;z-index:10;border-radius:30px;background:#121820d1;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid rgba(255,255,255,.1);box-shadow:inset 0 1px #ffffff1f,0 12px 32px #00000080;display:flex;align-items:center;justify-content:space-around;padding:0 4px}.tab{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:62px;min-height:48px;color:var(--muted);font-size:11px;font-weight:600}.tab[aria-current=page]{color:var(--purple-light)}.tab-lock{position:absolute;right:8px;top:2px;width:17px;height:17px;border-radius:9px;background:var(--orange);display:flex;align-items:center;justify-content:center}@keyframes ringfill{0%{stroke-dashoffset:var(--c)}to{stroke-dashoffset:var(--to)}}@keyframes growy{0%{transform:scaleY(0)}to{transform:scaleY(1)}}@keyframes growx{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes draw{0%{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes spin{to{transform:rotate(360deg)}}.anim-ring{animation:ringfill 1.4s cubic-bezier(.2,.8,.2,1) .1s both}.anim-grow-y{transform-origin:bottom;animation:growy .9s cubic-bezier(.2,.8,.2,1) both}.anim-grow-x{transform-origin:left;animation:growx .9s cubic-bezier(.2,.8,.2,1) both}.anim-draw{stroke-dasharray:1;animation:draw 1.4s ease-out .1s both}.anim-fade{animation:fadein .5s ease-out both}.spinner{width:28px;height:28px;border-radius:14px;border:3px solid var(--track);border-top-color:var(--purple-light);animation:spin .9s linear infinite}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.week-dots{display:flex;justify-content:space-between}.day-dot{display:flex;flex-direction:column;align-items:center;gap:6px}.day-dot span{font-size:11px;color:var(--muted);font-weight:600}.dot{width:38px;height:38px;border-radius:19px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;color:var(--muted);border:1px solid var(--line)}.dot.done{border:none;background:linear-gradient(180deg,#C08CFF,var(--purple));box-shadow:0 0 14px #8f3bea8c}.dot.today{border:2px solid var(--purple-light);color:#fff;font-weight:700}.month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;justify-items:center}.month-grid .dot{width:34px;height:34px;font-size:13px}.month-grid .dot.out{opacity:.25}.hero-frame{position:relative;border-radius:28px;padding:1.5px;background:linear-gradient(135deg,var(--purple),var(--blue))}.hero{border-radius:27px;min-height:300px;padding:18px;display:flex;flex-direction:column;background-color:#1b1233;background-size:cover;background-repeat:no-repeat;background-position:78% center}.hero-kicker{font-size:13px;font-weight:800;color:var(--orange);text-shadow:0 1px 8px rgba(0,0,0,.7)}.hero-title{margin:0;font-size:30px;font-weight:800;line-height:1.08;max-width:200px;text-shadow:0 2px 14px rgba(0,0,0,.7)}.hero-sub{font-size:13px;color:var(--soft);text-shadow:0 1px 8px rgba(0,0,0,.7)}.badge-coach{font-size:11px;font-weight:700;color:#b79cff;text-align:right}.class-card{border:1px solid rgba(245,158,11,.45)}.btn-row{display:flex;gap:10px}.btn-row>*{flex:1}.btn-small{min-height:44px;border-radius:22px;font-size:14px;font-weight:700;border:1px solid var(--line);background:transparent;color:#fff;padding:0 14px}.btn-small.primary{border:none;background:var(--purple)}.notice{font-size:13px;color:var(--soft);background:#f59e0b1f;border:1px solid rgba(245,158,11,.4);border-radius:16px;padding:10px 12px}.top-bar{display:flex;align-items:center;justify-content:space-between;gap:10px}.icon-btn{width:44px;height:44px;border-radius:22px;border:1px solid var(--line);background:#ffffff12;display:flex;align-items:center;justify-content:center;flex:none}.progress-dots{display:flex;gap:6px;flex-wrap:wrap}.progress-dots button{width:28px;height:28px;border-radius:14px;border:1px solid var(--line);background:transparent;color:var(--muted);font-size:11px;font-weight:700;padding:0;min-width:28px}.progress-dots button.done{background:var(--purple);border:none;color:#fff}.progress-dots button.current{border:2px solid var(--purple-light);color:#fff}.set-table{display:flex;flex-direction:column;gap:8px}.set-row{display:grid;grid-template-columns:28px 1fr 1fr 48px;gap:8px;align-items:center}.set-row.head{font-size:11px;color:var(--muted);font-weight:700;letter-spacing:.5px}.set-row.current .num{color:var(--orange)}.num{font-size:15px;font-weight:800;text-align:center}.set-input{min-height:44px;width:100%;border-radius:12px;border:1px solid var(--line);background:#ffffff0f;color:#fff;font-size:16px;font-weight:700;text-align:center;font-family:inherit}.set-input:focus{outline:2px solid var(--purple-light)}.check-btn{width:48px;height:44px;border-radius:14px;border:1px solid var(--line);background:transparent;display:flex;align-items:center;justify-content:center}.check-btn[aria-pressed=true]{background:var(--purple);border:none;box-shadow:0 0 12px #8f3bea80}.last-time{font-size:12px;color:var(--muted);grid-column:2 / 4;margin-top:-4px}.rest-bar{position:absolute;left:12px;right:12px;bottom:calc(16px + var(--safe-bottom));z-index:12;border-radius:26px;padding:14px 16px;background:#121820eb;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid rgba(183,124,255,.45);box-shadow:0 12px 32px #00000080;display:flex;align-items:center;gap:12px}.rest-clock{font-size:30px;font-weight:800;font-variant-numeric:tabular-nums;min-width:82px}.bottom-actions{position:absolute;left:12px;right:12px;bottom:calc(16px + var(--safe-bottom));z-index:11}.sheet-backdrop{position:absolute;inset:0;z-index:20;background:#0000008c;display:flex;align-items:flex-end}.sheet{width:100%;border-radius:26px 26px 0 0;background:#121820;border-top:1px solid var(--line);padding:20px 20px calc(24px + var(--safe-bottom));display:flex;flex-direction:column;gap:12px}.sheet h2{margin:0;font-size:20px;font-weight:800}textarea.input{min-height:90px;resize:vertical;font-family:inherit}.note{font-size:13px;color:var(--soft);border-left:3px solid var(--purple-light);padding:2px 0 2px 10px}.note.coach{border-left-color:var(--orange)}.burst{display:block;margin:0 auto -50px}.burst path{stroke-dasharray:1;animation:draw .9s ease-out both}.done-title{margin:0;font-size:38px;font-weight:800;line-height:1.05;position:relative}.photo-card{position:relative;height:500px;border-radius:26px;overflow:hidden;flex:none;border:1px solid var(--line);background:linear-gradient(160deg,#6B2FB5,#2A1250 55%,var(--bg))}.photo-card>img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:80% center}.frost{background:#0a0e139e;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.18)}.retake{position:absolute;right:12px;top:12px;z-index:2;border-radius:18px;min-height:44px;padding:0 14px;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#fff}.stat{flex:1;border-radius:16px;padding:9px 10px;display:flex;flex-direction:column;gap:1px}.stat .k{font-size:10px;font-weight:700;letter-spacing:1px;color:#c9ced6}.stat .v{font-size:19px;font-weight:800;line-height:1.1}.stat .s{font-size:11px;color:#c9ced6}.tag{display:inline-flex;align-items:center;min-height:28px;padding:0 11px;border-radius:14px;font-size:12px;font-weight:800}.tag.pr{background:#f59e0b38;border:1px solid rgba(245,158,11,.55);color:#ffc864}.tag.goal{background:#8f3bea4d;border:1px solid rgba(183,124,255,.55);color:#e2ccff}.bar{height:6px;border-radius:3px;background:#ffffff26;overflow:hidden}.bar>div{height:6px;border-radius:3px;background:linear-gradient(90deg,var(--purple),#C08CFF)}.effort{display:flex;gap:4px}.effort button{flex:1;min-width:0;min-height:44px;border-radius:12px;border:1px solid var(--line);background:transparent;color:#fff;font-size:15px;font-weight:700;padding:0}.effort button[aria-pressed=true]{background:var(--purple);border-color:var(--purple)}.goal-rings{display:flex;gap:8px;justify-content:space-between}.ring-pct{font-size:18px;font-weight:800}.goal-label{text-align:center;line-height:1.25;overflow-wrap:anywhere}.tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}.glass.tile{border-radius:22px;padding:14px}.tile-value{font-size:22px;font-weight:800}.badge-up{flex:none;font-size:12px;font-weight:800;color:var(--orange-ink);background:var(--orange);border-radius:12px;padding:5px 10px}.big-value{font-size:26px;font-weight:800;white-space:nowrap}.bars{height:170px;display:flex;align-items:flex-end;gap:10px}.bars.short{height:130px}.bar-col{flex:1;min-width:0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px}.vbar{width:100%;max-width:40px;border-radius:10px 10px 6px 6px;background:#b77cff47;transform-origin:bottom;animation:grow .6s ease-out both}.vbar.last{background:linear-gradient(180deg,var(--purple-light),var(--purple));box-shadow:0 0 16px #a855f799}.vbar.current{background:linear-gradient(180deg,#FFC15A,var(--orange));box-shadow:0 0 14px #f59e0b80}@keyframes grow{0%{transform:scaleY(0)}to{transform:scaleY(1)}}.anim-line{stroke-dasharray:1000;stroke-dashoffset:1000;animation:draw 1.1s ease-out .15s forwards}@keyframes draw{to{stroke-dashoffset:0}}.muscle-wrap{display:flex;gap:14px;align-items:flex-start}.body-map{position:relative;width:150px;height:268px;flex:none;background:#000;border-radius:18px;overflow:hidden;isolation:isolate}.body-map img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.body-multiply{mix-blend-mode:multiply;filter:brightness(2.4) contrast(1.15)}.body-screen{mix-blend-mode:screen;opacity:.8}.glow-spot{position:absolute;border-radius:50%;animation:pulse 3.2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:.85}50%{opacity:1}}.muscle-list{list-style:none;margin:0;padding:0;flex:1;min-width:0;display:flex;flex-direction:column;gap:12px}.track{height:7px;border-radius:4px;background:#1b2430;overflow:hidden}.track .fill{height:100%;border-radius:4px;background:linear-gradient(90deg,var(--purple),var(--purple-light))}.track .fill.low{background:var(--orange)}.photo-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.photo-slot{position:relative;height:190px;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:#ffffff0a;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px}.photo-slot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.photo-slot.empty{justify-content:center;padding:12px;text-align:center;border-style:dashed}.photo-tag{position:absolute;left:10px;top:10px;font-size:11px;font-weight:800;background:#0a0e13b3;border-radius:10px;padding:4px 8px}.photo-cap{position:relative;width:100%;padding:18px 8px 8px;background:linear-gradient(180deg,transparent,rgba(10,14,19,.85));font-weight:700}@media(prefers-reduced-motion:reduce){.vbar,.anim-line,.glow-spot{animation:none}.anim-line{stroke-dashoffset:0}}.seg{display:flex;gap:2px}.seg-btn{min-height:40px;padding:0 14px;border-radius:20px;border:none;background:transparent;color:var(--muted);font-size:14px;font-weight:600;white-space:nowrap}.seg-btn[aria-selected=true],.seg-btn[aria-checked=true]{background:var(--purple);color:#fff;font-weight:700;padding:0 18px}.consistency{border-radius:30px;padding:1.5px;background:linear-gradient(135deg,var(--purple-light),var(--purple) 60%,var(--purple-light))}.consistency-in{border-radius:29px;background:linear-gradient(160deg,#19163ceb,#0a1020eb);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);padding:18px}.kicker{font-size:12px;font-weight:800;letter-spacing:1.5px}.kicker.blue{color:var(--blue-light)}.big-title{font-size:26px;font-weight:800;line-height:1.1}.ring-big{font-size:28px;font-weight:800;line-height:1}.legend .strong{font-size:16px;font-weight:800}.legend-dot{width:10px;height:10px;border-radius:5px;flex:none}.purple-dot{background:var(--purple-2);box-shadow:0 0 10px var(--purple-2)}.blue-dot{background:var(--blue);box-shadow:0 0 10px var(--blue)}.day-strip{display:flex;gap:3px}.strip{flex:1;height:18px;border-radius:5px;background:#ffffff14}.strip.done{background:linear-gradient(180deg,#C08CFF,var(--purple));animation:fadein .5s ease-out both}.strip.today{border:1.5px solid var(--purple-light);background:transparent}.strip.missed{background:#ffffff24}@keyframes fadein{0%{opacity:0}to{opacity:1}}.avatar{width:40px;height:40px;border-radius:20px;background:#2a1650;border:2px solid rgba(183,124,255,.5);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;flex:none}.avatar.staff{border-color:var(--purple-light)}.post-text{margin:0;font-size:15px;line-height:1.4;overflow-wrap:anywhere;white-space:pre-line}.post-tag{font-size:12px;font-weight:800;color:var(--orange-ink);background:var(--orange);border-radius:10px;padding:4px 10px}.post-photo{width:100%;max-height:420px;object-fit:cover;border-radius:18px}.react-btn{min-height:44px;min-width:64px;padding:0 12px;border-radius:22px;border:1px solid var(--line);background:transparent;display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700}.react-btn[aria-pressed=true]{border-color:var(--purple-light);color:var(--purple-light)}.board{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.board-row{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 12px;border-radius:16px;background:#ffffff0d}.board-row.me{background:#8f3bea40;border:1px solid var(--purple-light)}.medal{width:30px;height:30px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;color:#1b1433;background:#fff3;flex:none}.medal.m1{background:linear-gradient(135deg,#ffe27a,#e0a412)}.medal.m2{background:linear-gradient(135deg,#f1f3f6,#a9b0bb)}.medal.m3{background:linear-gradient(135deg,#f2b27a,#b8692c)}.medal.m4{color:#fff}@media(prefers-reduced-motion:reduce){.strip.done{animation:none}}.notif-title{font-size:30px;font-weight:800;line-height:1.1;margin:0}.notif-group{font-size:13px;font-weight:700;color:var(--muted);margin:4px 0 0}.plain{list-style:none;margin:0;padding:0}.btn-outline-sm{min-height:44px;padding:0 14px;border-radius:22px;border:1.5px solid var(--purple-light);background:transparent;color:var(--purple-light);font:inherit;font-size:13px;font-weight:700}.notif{width:100%;display:flex;gap:12px;align-items:flex-start;text-align:left;color:inherit;font:inherit;border-radius:22px;padding:14px;cursor:pointer}.notif-icon{width:44px;height:44px;border-radius:22px;display:flex;align-items:center;justify-content:center;flex:none}.notif-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.notif-badge{align-self:flex-start;display:inline-flex;align-items:center;min-height:22px;padding:0 9px;border-radius:11px;font-size:11px;font-weight:800;letter-spacing:.5px}.notif-head{display:flex;justify-content:space-between;gap:8px}.notif-t{font-size:15px;font-weight:700;line-height:1.25}.notif-when{font-size:12px;color:var(--muted);flex:none}.notif-body{font-size:14px;line-height:1.4;color:#c9ced6;overflow-wrap:anywhere}.notif-dot{width:9px;height:9px;border-radius:5px;background:var(--orange);flex:none;margin-top:6px}.notif-dot-space{width:9px;flex:none}.notif-settings{min-height:48px;display:flex;align-items:center;justify-content:center;color:var(--purple-light);font-size:14px;font-weight:700;text-decoration:none}.soft{color:var(--soft)}.center{text-align:center}.gap-6{gap:6px}.gap-16{gap:16px}.ring-num{font-size:22px;font-weight:800;line-height:1}.unlock{border-radius:28px;padding:1.5px;background:linear-gradient(135deg,var(--purple-light),var(--purple) 60%,var(--orange))}.unlock-in{border-radius:27px;background:linear-gradient(160deg,#1e143ef0,#0c0e1ef0);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);padding:22px 18px}.unlock-icon{align-self:center;width:64px;height:64px;border-radius:32px;background:#f59e0b29;border:1px solid rgba(245,158,11,.5);display:flex;align-items:center;justify-content:center;box-shadow:0 0 30px #f59e0b4d}.unlock-title{font-size:24px;font-weight:800;line-height:1.15;margin:0}.tick{width:22px;height:22px;border-radius:11px;background:#8f3bea59;display:flex;align-items:center;justify-content:center;flex:none}.note-ok{margin:0;padding:12px 14px;border-radius:18px;background:#8f3bea2e;border:1px solid rgba(183,124,255,.35);font-size:14px;line-height:1.4}.preview{display:flex;flex-direction:column;gap:14px;opacity:.45;filter:saturate(.7);pointer-events:none;user-select:none}.meal-row{display:flex;align-items:center;gap:12px;background:#ffffff0d;border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:10px}.meal-thumb{width:64px;height:64px;border-radius:14px;flex:none;object-fit:cover;background:radial-gradient(circle at 35% 35%,#c98a44 0,#6e3b18 45%,#1d1008)}.log-meal{min-height:190px;border-radius:26px;border:1px solid rgba(255,255,255,.15);background:linear-gradient(160deg,#8f3bea73,#14102ce6);color:#fff;font:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px}.log-meal-icon{width:58px;height:58px;border-radius:29px;background:#ffffff24;border:1px solid rgba(255,255,255,.35);display:flex;align-items:center;justify-content:center}.log-meal-t{font-size:19px;font-weight:800}.ideas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.idea{min-height:92px;border-radius:14px;padding:10px;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;background:linear-gradient(180deg,#6e3b1859,#1d1008d9);border:1px solid rgba(255,255,255,.12)}.macro-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.meal-preview{width:100%;max-height:200px;object-fit:cover;border-radius:18px}.place-pill{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 12px;border-radius:15px;background:linear-gradient(180deg,#FFC15A,var(--orange));color:#1a1205;font-size:13px;font-weight:800;box-shadow:0 0 16px #f59e0b73}.podium{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:end}.podium-col{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;min-width:0}.podium-col .small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.podium-step{width:100%;border-radius:14px 14px 6px 6px;display:flex;align-items:flex-start;justify-content:center;padding-top:8px;font-size:20px;font-weight:800;margin-top:4px}.podium-step.p1{background:linear-gradient(180deg,var(--purple-light),var(--purple));box-shadow:0 0 18px #a855f780}.podium-step.p2{background:#b77cff59}.podium-step.p3{background:#b77cff38}.podium-col.me .avatar{outline:2px solid var(--orange);outline-offset:2px}.push-card{display:flex;gap:12px;align-items:flex-start}.push-icon{width:40px;height:40px;border-radius:12px;background:#2a1650;display:grid;place-items:center;flex:none}.profile-head{align-items:center}.profile-head .avatar{width:56px;height:56px;border-radius:28px;font-size:18px}.profile-name{margin:0;font-size:22px;font-weight:800}.sub-title{margin:0;font-size:16px;font-weight:800}.facts{margin:0;display:grid;gap:10px}.facts>div{display:flex;justify-content:space-between;gap:12px}.facts dt{color:var(--muted);font-size:14px}.facts dd{margin:0;font-size:14px;font-weight:600;text-align:right;overflow-wrap:anywhere}.note-info,.note-warn{margin:0;padding:12px 14px;border-radius:18px;font-size:14px;line-height:1.4}.note-info{background:#3da5ff24;border:1px solid rgba(125,211,255,.3)}.note-warn{background:#f59e0b24;border:1px solid rgba(245,158,11,.4)}.inv-tag{font-size:12px;font-weight:800;padding:4px 10px;border-radius:12px;background:var(--track);color:var(--soft)}.inv-ok{background:#34d39929;color:#6ee7a8}.inv-warn{background:#f59e0b2e;color:#fbbf5a}.btn-ghost.danger{color:var(--danger);border-color:#ff8a8073}.msg{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:18px;background:var(--track)}.msg.from-coach{background:#8f3bea2e;border:1px solid rgba(183,124,255,.3)}.msg-who{font-size:12px;font-weight:800;color:var(--purple-soft)}.msg-body{font-size:15px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}.msg-when{font-size:12px;color:var(--muted)}.toggle-row{min-height:56px;width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;background:none;border:none;color:var(--text);font-size:15px;font-weight:600;text-align:left}.toggle-row+.toggle-row{border-top:1px solid var(--line)}.switch{width:50px;height:30px;border-radius:15px;background:#ffffff2e;position:relative;flex:none;transition:background .2s}.switch>span{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:12px;background:#fff;transition:transform .2s}.switch.on{background:var(--purple)}.switch.on>span{transform:translate(20px)}.toggle-row:focus-visible{outline:2px solid var(--purple-light);outline-offset:2px;border-radius:12px}@media(prefers-reduced-motion:reduce){.switch,.switch>span{transition:none}}.guide-thumb{position:relative;flex:none;width:76px;height:76px;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#fff;padding:0;cursor:pointer}.guide-thumb img{width:100%;height:100%;object-fit:contain;display:block}.guide-thumb span{position:absolute;left:0;right:0;bottom:0;text-align:center;color:#fff;background:#0000008c;padding:2px 0;font-size:10px;letter-spacing:.06em}.guide-thumb:focus-visible{outline:2px solid var(--purple-light);outline-offset:2px}.guide-frames{position:relative;width:100%;aspect-ratio:1 / 1;max-height:320px;border-radius:16px;overflow:hidden;background:#fff}.guide-frames img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.guide-frames img.alt{animation:guide-swap 1.8s ease-in-out infinite alternate}@keyframes guide-swap{0%,25%{opacity:0}75%,to{opacity:1}}.guide-steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:14px;line-height:1.4}@media(prefers-reduced-motion:reduce){.guide-frames img.alt{animation:none;opacity:0}}.score-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px 14px;border-radius:26px;background:radial-gradient(120% 90% at 50% 0%,#8b5cf647,#0a0e1300 70%),#ffffff0a;border:1px solid var(--line)}.score-ring-wrap{position:relative;width:220px;height:220px}.score-ring{width:100%;height:100%;filter:drop-shadow(0 0 8px #B77CFF) drop-shadow(0 0 22px rgba(139,92,246,.85)) drop-shadow(0 0 46px rgba(183,124,255,.45))}.score-arc{transition:stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1)}.score-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}.score-num{font-size:68px;font-weight:900;color:#fff;text-shadow:0 0 14px rgba(183,124,255,.95),0 0 34px rgba(139,92,246,.8);font-variant-numeric:tabular-nums}.score-cap{margin-top:6px;font-size:13px;color:#d9c2ff;letter-spacing:.04em}.score-title{font-size:12px;font-weight:800;letter-spacing:.18em;color:#e9d5ff;text-shadow:0 0 10px rgba(183,124,255,.8)}.score-parts{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}.stat-big{font-size:30px;font-weight:900;line-height:1}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.chart-legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.chart-legend li{display:flex;align-items:center;gap:8px;font-size:14px;min-height:28px}.chart-legend li.me{font-weight:800;color:#e9d5ff}.chart-legend .dot{width:10px;height:10px;border-radius:5px;flex:none}.chart-legend .rank{width:18px;color:#8c93a0;font-variant-numeric:tabular-nums}.chart-legend .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-legend .val{font-variant-numeric:tabular-nums}@media(prefers-reduced-motion:reduce){.score-arc{transition:none}}.chart-draw{stroke-dasharray:1;stroke-dashoffset:1;animation:chart-draw 1.1s ease-out forwards}@keyframes chart-draw{to{stroke-dashoffset:0}}.chart-fade{animation:chart-fade 1.2s ease-out both}@keyframes chart-fade{0%{opacity:0}to{opacity:1}}.chart-bar{transform-box:fill-box;transform-origin:bottom;animation:chart-bar .7s cubic-bezier(.2,.8,.2,1) both}@keyframes chart-bar{0%{transform:scaleY(0)}to{transform:scaleY(1)}}.race{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.race li{display:grid;grid-template-columns:18px minmax(70px,1fr) 2fr 46px;align-items:center;gap:8px;font-size:13px}.race li.me{font-weight:800;color:#e9d5ff}.race .rk{color:#8c93a0;font-variant-numeric:tabular-nums}.race .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.race .track{height:10px;border-radius:6px;background:#ffffff14;overflow:hidden}.race .fill{display:block;height:100%;border-radius:6px;animation:race-in .9s cubic-bezier(.2,.8,.2,1) both;transform-origin:left}@keyframes race-in{0%{transform:scaleX(0)}to{transform:scaleX(1)}}.race .val{text-align:right;font-variant-numeric:tabular-nums}@media(prefers-reduced-motion:reduce){.chart-draw,.chart-fade,.chart-bar,.race .fill{animation:none;stroke-dashoffset:0}}
