/* ═══════════════════════════════════════════════════════════
   Liberty Basketball — мотивация, награды, уведомления
   ═══════════════════════════════════════════════════════════ */

/* ─────────────── Toasts ─────────────── */
.lbt-stack { position: fixed; top: 78px; right: 20px; z-index: 9700; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.lbt {
  --tc: var(--blue-500);
  position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 14px 16px; border-radius: 18px; overflow: hidden; pointer-events: auto;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .28), 0 0 0 1px rgba(200, 210, 230, .6);
  animation: lbt-in .55s cubic-bezier(.2, .9, .25, 1.25) both; touch-action: pan-y;
}
.lbt.out { animation: lbt-out .38s ease-in both; }
@keyframes lbt-in { from { opacity: 0; transform: translateX(60px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes lbt-out { to { opacity: 0; transform: translateX(80px) scale(.96); } }
.lbt-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: 1.05rem; color: #fff; background: var(--tc); box-shadow: 0 6px 14px -4px var(--tc); }
.lbt-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-top: 1px; }
.lbt-txt b { font-family: var(--font-display); font-weight: 800; font-size: .92rem; color: var(--text-primary); line-height: 1.25; }
.lbt-txt span { font-size: .8rem; color: var(--text-secondary); line-height: 1.4; }
.lbt-go { align-self: center; flex: none; padding: 8px 12px; border-radius: 99px; border: 0; background: var(--tc); color: #fff; font-weight: 700; font-size: .78rem; cursor: pointer; }
.lbt-x { position: absolute; top: 6px; right: 8px; width: 22px; height: 22px; border: 0; background: none; color: var(--text-muted); font-size: 1.1rem; line-height: 1; cursor: pointer; opacity: .6; }
.lbt-x:hover { opacity: 1; }
.lbt-go + .lbt-x { display: none; }
.lbt:hover .lbt-go + .lbt-x { display: block; }
.lbt-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--tc); opacity: .5; transform-origin: left; animation: lbt-bar linear forwards; }
.lbt.hold .lbt-bar { animation-play-state: paused; }
@keyframes lbt-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.lbt--success { --tc: #16a34a; }
.lbt--error { --tc: #dc2626; }
.lbt--reminder { --tc: #f59e0b; }
.lbt--frozen { --tc: #0ea5e9; }
.lbt--reward { --tc: #f97316; background: linear-gradient(135deg, #fff7ed, #fff 60%); box-shadow: 0 18px 40px -12px rgba(249, 115, 22, .45), 0 0 0 1.5px #fdba74; }
.lbt--reward .lbt-ico { background: linear-gradient(135deg, #fbbf24, #f97316); animation: lbt-wiggle 1s .3s ease-in-out; font-size: 1.2rem; }
@keyframes lbt-wiggle { 20% { transform: rotate(-14deg) scale(1.1); } 40% { transform: rotate(12deg) scale(1.1); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(4deg); } }
#toast { display: none !important; }
@media (max-width: 600px) { .lbt-stack { top: 70px; right: 12px; left: 12px; width: auto; } }

/* ─────────────── Bell ─────────────── */
.lbn-bell { position: relative; width: 42px; height: 42px; margin-left: 10px; flex: none; border-radius: 50%; border: 1.5px solid var(--blue-200); background: #fff; color: var(--blue-600); display: grid; place-items: center; cursor: pointer; transition: transform .25s, background .2s; }
.lbn-bell[hidden] { display: none; }
.lbn-bell:hover { background: var(--blue-50); transform: translateY(-1px); }
.lbn-bell svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lbn-bell.ring svg { animation: lbn-ring 1s cubic-bezier(.3, 1.6, .5, 1); transform-origin: 50% 10%; }
@keyframes lbn-ring { 15% { transform: rotate(18deg); } 30% { transform: rotate(-15deg); } 45% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 75% { transform: rotate(3deg); } }
.lbn-badge { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: #f97316; color: #fff; font-size: .66rem; font-weight: 800; display: none; place-items: center; box-shadow: 0 0 0 2.5px #fff; }
.lbn-badge.on { display: grid; animation: pc-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@media (max-width: 1024px) { .lbn-bell { margin-left: auto; margin-right: 10px; width: 38px; height: 38px; } }
.lbn-panel { position: fixed; z-index: 1200; width: min(380px, calc(100vw - 24px)); max-height: min(560px, 75vh); display: none; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px -18px rgba(15, 23, 42, .4), 0 0 0 1px rgba(200, 210, 230, .6); }
.lbn-panel.show { display: flex; }
.lbn-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; }
.lbn-head b { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.lbn-head button, .lbn-all { border: 0; background: none; color: var(--blue-600); font-weight: 700; font-size: .8rem; cursor: pointer; }
.lbn-list { overflow-y: auto; padding: 0 8px; overscroll-behavior: contain; }
.lbn-all { padding: 13px; border-top: 1px solid rgba(200, 210, 230, .5); }
.lbn-item { display: flex; gap: 12px; padding: 11px 10px; border-radius: 14px; cursor: pointer; position: relative; transition: background .2s; }
.lbn-item:hover { background: var(--bg-soft); }
.lbn-item.unread { background: var(--blue-50); }
.lbn-item.unread::after { content: ''; position: absolute; right: 12px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); }
.lbn-ico { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 1rem; background: var(--bg-soft); }
.lbn-item--reward .lbn-ico { background: linear-gradient(135deg, #fde68a, #fdba74); }
.lbn-item--success .lbn-ico { background: #dcfce7; }
.lbn-item--reminder .lbn-ico { background: #fef3c7; }
.lbn-item--frozen .lbn-ico { background: #e0f2fe; }
.lbn-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-right: 14px; }
.lbn-txt b { font-size: .86rem; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.lbn-txt span { font-size: .78rem; color: var(--text-secondary); line-height: 1.4; }
.lbn-txt small { font-size: .7rem; color: var(--text-muted); }
.lbn-empty { padding: 26px 16px; text-align: center; color: var(--text-muted); font-size: .85rem; line-height: 1.5; }
.lbn-push { margin: 0 12px 8px; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px dashed var(--blue-300); background: var(--blue-50); text-align: left; cursor: pointer; }
.lbn-push span { grid-row: span 2; font-size: 1.3rem; }
.lbn-push b { font-size: .84rem; color: var(--blue-700); }
.lbn-push small { font-size: .72rem; color: var(--text-muted); }

/* ─────────────── Profile: tabs & badges ─────────────── */
.lbp-tabs { max-width: calc(100% - 56px); overflow-x: auto; scrollbar-width: none; }
.lbp-tabs::-webkit-scrollbar { display: none; }
.lbp-tab[hidden] { display: none; }
.lbp-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 99px; font-size: .66rem; font-weight: 800; color: #fff; background: #f97316; vertical-align: 1px; }
.lbp-badge:empty { display: none; }
@media (max-width: 760px) { .lbp-tabs { max-width: none; } .lbp-tab { flex: 0 0 auto; padding: 10px 14px; } }

/* ─────────────── Rewards panel ─────────────── */
.mo-hero { display: flex; align-items: center; gap: 20px; padding: 20px 22px; border-radius: 24px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 160% at 100% 0%, #f97316 0%, #c2410c 30%, #1d4ed8 75%); box-shadow: 0 20px 40px -18px rgba(154, 52, 18, .6); }
.mo-hero::after { content: ''; position: absolute; right: -40px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 2px solid rgba(255,255,255,.1); box-shadow: 0 0 0 40px rgba(255,255,255,.03); }
.mo-lvl { position: relative; flex: none; width: 78px; height: 78px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.3); }
.mo-lvl b { font-family: var(--font-display); font-weight: 900; font-size: 2rem; line-height: 1; }
.mo-lvl span { font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; opacity: .8; }
.mo-hero-main { flex: 1; min-width: 0; position: relative; z-index: 1; }
.mo-hero-t { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mo-hero-t b { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; }
.mo-hero-t span { font-size: .82rem; opacity: .8; }
.mo-bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; margin: 10px 0; }
.mo-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #fde68a, #fbbf24, #f97316); box-shadow: 0 0 12px rgba(251, 191, 36, .7); transition: width 1s cubic-bezier(.2, .9, .25, 1); }
.mo-bar.sm { height: 7px; background: var(--blue-50); margin: 10px 0 8px; }
.mo-bar.sm i { background: linear-gradient(90deg, var(--blue-400), var(--cyan-400)); box-shadow: none; }
.mo-hero-stats { display: flex; gap: 16px; flex-wrap: wrap; font-size: .8rem; opacity: .9; }
.mo-hero-stats b { font-family: var(--font-display); font-size: 1rem; margin-right: 2px; }
.mo-warn { margin-top: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: 16px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: .86rem; }
.mo-sec { margin-top: 24px; }
.mo-sec-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.mo-sec-h b { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.mo-sec-h span { font-size: .78rem; color: var(--text-muted); }
.mo-tokens { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.mo-token { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; background: #fff; border: 1px solid rgba(200, 210, 230, .6); box-shadow: 0 8px 20px -12px rgba(15, 23, 42, .2); }
.mo-token.ready { border-color: #fdba74; box-shadow: 0 10px 26px -12px rgba(249, 115, 22, .5); }
.mo-token.frozen { background: linear-gradient(135deg, #f0f9ff, #fff); border-color: #bae6fd; }
.mo-token-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mo-token-txt b { font-family: var(--font-display); font-size: .95rem; }
.mo-token-txt small { font-size: .76rem; color: var(--text-muted); line-height: 1.35; }
.mo-frozen-note { color: #0369a1 !important; font-weight: 600; }
.mo-cardback { --a: #f97316; --b: #1c1917; position: relative; flex: none; width: 46px; height: 64px; border-radius: 7px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, var(--a), var(--b)); box-shadow: 0 6px 14px -4px rgba(15, 23, 42, .4), inset 0 0 0 1.5px rgba(255,255,255,.35); }
.mo-cardback i { font-style: normal; font-size: 1.15rem; }
.mo-cardback span { font-size: 5.5px; font-weight: 900; letter-spacing: .08em; text-align: center; line-height: 1.1; padding: 0 2px; }
.mo-token.ready .mo-cardback { animation: mo-float 2.6s ease-in-out infinite; }
.mo-token.ready .mo-cardback::after { content: ''; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.6) 50%, transparent 60%); animation: mo-sheen 2.6s ease-in-out infinite; }
@keyframes mo-float { 50% { transform: translateY(-4px) rotate(-3deg); } }
@keyframes mo-sheen { from { transform: translateX(-70%); } 60%, to { transform: translateX(70%); } }
.mo-token.frozen .mo-cardback { filter: saturate(.3) brightness(1.1); }
.mo-ice { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 1.4rem; background: rgba(186, 230, 253, .55); backdrop-filter: blur(1.5px); }
.mo-token--iron .mo-cardback { --a: #cbd5e1; --b: #334155; }
.mo-token--captain .mo-cardback { --a: #1e3a8a; --b: #0b1a3a; box-shadow: 0 6px 14px -4px rgba(15,23,42,.4), inset 0 0 0 1.5px #fbbf24; }
.mo-pack { position: relative; flex: none; width: 50px; height: 70px; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(160deg, #fde68a, #f59e0b 45%, #78350f); box-shadow: 0 8px 18px -6px rgba(180, 83, 9, .6); animation: mo-float 2.4s ease-in-out infinite; }
.mo-pack b { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; line-height: 1; text-shadow: 0 2px 6px rgba(0,0,0,.3); }
.mo-pack span { font-size: 6px; font-weight: 900; letter-spacing: .1em; }
.mo-pack em { font-style: normal; font-size: 4.5px; font-weight: 800; opacity: .85; margin-top: 2px; }
.mo-pack-crimp { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 2px, rgba(0,0,0,.15) 2px 4px); }
.mo-pack-crimp.b { top: auto; bottom: 0; }
.mo-quests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mo-q { display: flex; gap: 14px; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid rgba(200, 210, 230, .6); }
.mo-q-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; font-weight: 900; background: var(--bg-soft); }
.mo-q--iron .mo-q-ico { background: linear-gradient(135deg, #fee2e2, #fed7aa); }
.mo-q--month .mo-q-ico { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.mo-q--street .mo-q-ico { background: linear-gradient(135deg, #ffedd5, #fdba74); }
.mo-q--captain .mo-q-ico { background: linear-gradient(135deg, #dbeafe, #93c5fd); color: #1e3a8a; }
.mo-q-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mo-q-main > b { font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.mo-q-main > small { font-size: .78rem; color: var(--text-secondary); line-height: 1.45; }
.mo-q-foot { font-size: .78rem; color: var(--text-muted); }
.mo-q-foot b { color: var(--text-primary); }
.mo-link { border: 0; background: none; padding: 0; color: var(--blue-600); font-weight: 700; font-size: inherit; cursor: pointer; }
.mo-dots { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.mo-dot { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.mo-dot i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .7rem; font-weight: 900; background: var(--bg-soft); border: 2px solid rgba(200, 210, 230, .8); }
.mo-dot small { font-size: .62rem; color: var(--text-muted); }
.mo-dot--yes i { background: linear-gradient(135deg, #f97316, #ea580c); border-color: transparent; color: #fff; box-shadow: 0 4px 10px -3px rgba(234, 88, 12, .6); }
.mo-dot--yes i::before { content: '🔥'; font-size: .72rem; }
.mo-dot--no i { background: #fee2e2; border-color: #fecaca; color: #dc2626; }
.mo-dot--no i::before { content: '×'; }
.mo-dot--off i { opacity: .45; border-style: dashed; }
.mo-dot--wait i::before { content: '?'; color: var(--text-muted); }
.mo-dot--next i { border-style: dashed; border-color: var(--blue-300); animation: mo-next 1.8s ease-in-out infinite; }
@keyframes mo-next { 50% { box-shadow: 0 0 0 5px rgba(96, 165, 250, .2); } }
.mo-eds { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.mo-ed { cursor: pointer; transition: transform .35s var(--ease); }
.mo-ed:hover { transform: translateY(-4px); }
.mo-rules { margin-top: 24px; padding: 14px 18px; border-radius: 18px; background: var(--bg-soft); }
.mo-rules summary { cursor: pointer; font-weight: 800; font-family: var(--font-display); }
.mo-rules ul { margin: 12px 0 2px; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: .84rem; color: var(--text-secondary); line-height: 1.5; }
@media (max-width: 760px) {
  .mo-hero { padding: 16px; gap: 14px; border-radius: 20px; }
  .mo-lvl { width: 60px; height: 60px; border-radius: 18px; }
  .mo-lvl b { font-size: 1.5rem; }
  .mo-hero-t b { font-size: 1.1rem; }
  .mo-quests { grid-template-columns: 1fr; }
  .mo-tokens { grid-template-columns: 1fr; }
  .mo-eds { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* notifications tab */
.mo-n-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.mo-n-head > div:first-child { display: flex; align-items: baseline; gap: 10px; }
.mo-n-head b { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.mo-n-head span { font-size: .8rem; color: var(--text-muted); }
.mo-n-btns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mo-n-on { font-size: .8rem; font-weight: 700; color: #16a34a; }
.mo-n-off { font-size: .8rem; color: var(--text-muted); }
.mo-n-list { display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: 20px; padding: 8px; border: 1px solid rgba(200, 210, 230, .6); }

/* coach journal */
.mo-j { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: start; }
.mo-j-list { display: flex; flex-direction: column; gap: 6px; max-height: 70vh; overflow-y: auto; padding-right: 4px; }
.mo-j-s { display: grid; grid-template-columns: 1fr auto; column-gap: 8px; text-align: left; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(200, 210, 230, .6); background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.mo-j-s.active { border-color: var(--blue-400); box-shadow: 0 8px 20px -10px rgba(37, 99, 235, .4); }
.mo-j-s b { font-size: .86rem; }
.mo-j-s small { grid-column: 1; font-size: .72rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mo-j-s em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: .7rem; font-weight: 800; padding: 4px 8px; border-radius: 99px; background: var(--bg-soft); color: var(--text-muted); }
.mo-j-s em.done { background: #dcfce7; color: #15803d; }
.mo-j-s em.todo { background: #fff7ed; color: #c2410c; }
.mo-j-s em.cancelled { background: #f1f5f9; color: #64748b; text-decoration: line-through; }
.mo-j-main { background: #fff; border-radius: 20px; border: 1px solid rgba(200, 210, 230, .6); padding: 18px; }
.mo-j-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.mo-j-h b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; }
.mo-j-h small { font-size: .78rem; color: var(--text-muted); }
.mo-j-tools { display: flex; gap: 14px; }
.mo-j-pl, .mo-hc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.mo-j-p { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; border: 1.5px solid rgba(200, 210, 230, .7); background: #fff; text-align: left; cursor: pointer; transition: all .2s; }
.mo-j-p > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mo-j-p b { font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mo-j-p small { font-size: .7rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mo-j-p i { font-style: normal; font-size: .72rem; font-weight: 800; color: var(--text-muted); white-space: nowrap; }
.mo-j-av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: #fff; background: linear-gradient(135deg, #94a3b8, #64748b); }
.mo-j-p.on { border-color: #22c55e; background: #f0fdf4; }
.mo-j-p.on .mo-j-av { background: linear-gradient(135deg, #22c55e, #16a34a); }
.mo-j-p.on i { color: #16a34a; }
.mo-j-foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
@media (max-width: 860px) { .mo-j { grid-template-columns: 1fr; } .mo-j-list { flex-direction: row; overflow-x: auto; max-height: none; padding-bottom: 6px; } .mo-j-s { flex: 0 0 210px; } }

/* ─────────────── Pickup: check-in & host confirm ─────────────── */
.mo-ck { margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(200, 210, 230, .8); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mo-ck small { font-size: .74rem; color: var(--text-muted); }
.mo-ck-btn { padding: 10px 16px; border-radius: 99px; border: 0; cursor: pointer; font-weight: 800; font-size: .86rem; color: #fff; background: linear-gradient(135deg, #f97316, #ea580c); box-shadow: 0 8px 18px -8px rgba(234, 88, 12, .8); animation: mo-ckpulse 2s ease-in-out infinite; }
.mo-ck-btn:disabled { opacity: .7; animation: none; }
@keyframes mo-ckpulse { 50% { box-shadow: 0 0 0 6px rgba(249, 115, 22, .18), 0 8px 18px -8px rgba(234, 88, 12, .8); } }
.mo-ck-ok { font-size: .82rem; font-weight: 700; color: #16a34a; }
.mo-ck-ok.pending { color: #b45309; }
.mo-hc-h { margin-bottom: 10px; display: flex; flex-direction: column; gap: 2px; }
.mo-hc-h small { font-size: .76rem; color: var(--text-muted); }

/* ─────────────── Teaser on the main page (deck CTA) ─────────────── */
.mo-teaser { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--blue-100); }
.mo-teaser-row { display: flex; justify-content: space-between; font-size: .84rem; }
.mo-teaser-row b { font-family: var(--font-display); }
.mo-teaser small { font-size: .72rem; color: var(--text-muted); }
.mo-teaser-ready { border: 0; border-radius: 10px; padding: 8px 10px; font-weight: 800; font-size: .78rem; color: #9a3412; background: linear-gradient(135deg, #fef3c7, #fed7aa); cursor: pointer; animation: dk-pulse 2s ease-in-out infinite; }
@media (max-width: 900px) { .mo-teaser { flex: 1 1 100%; } }
.dk-pack--gold .dk-foil { --p1: #fde68a; --p2: #f59e0b; --p3: #78350f; }

/* ─────────────── Personal edition cards ─────────────── */
.lbe-art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.lbe-ribbon { position: absolute; z-index: 8; right: 4.5cqw; top: 20cqw; padding: 1.2cqw 2.6cqw; border-radius: 99px; display: flex; align-items: center; gap: 1.4cqw;
  font-size: 3cqw; font-weight: 900; letter-spacing: .1em; color: #fff; background: var(--rb, #f97316); box-shadow: 0 1cqw 3cqw rgba(0,0,0,.35), inset 0 0 0 .4cqw rgba(255,255,255,.35); }
.lbe-ribbon i { font-style: normal; }
.lbc--ed-street { --c1: #f97316; --c2: #1c1917; --c3: #fdba74; --rb: linear-gradient(90deg, #ea580c, #f97316); }
.lbc--ed-street .lbe-art { background: repeating-linear-gradient(45deg, transparent 0 3.2cqw, rgba(255,255,255,.07) 3.2cqw 3.6cqw), repeating-linear-gradient(-45deg, transparent 0 3.2cqw, rgba(255,255,255,.07) 3.2cqw 3.6cqw), radial-gradient(circle at 20% 80%, rgba(249,115,22,.35), transparent 50%); }
.lbc--ed-iron { --c1: #94a3b8; --c2: #0f172a; --c3: #e2e8f0; --frame1: #f1f5f9; --frame2: #475569; --rb: linear-gradient(90deg, #475569, #94a3b8); }
.lbc--ed-iron .lbe-art { background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.12) 45%, transparent 60%), radial-gradient(circle at 6cqw 6cqw, rgba(255,255,255,.35) 0 1cqw, transparent 1.2cqw), radial-gradient(circle at calc(100% - 6cqw) 6cqw, rgba(255,255,255,.35) 0 1cqw, transparent 1.2cqw), radial-gradient(circle at 6cqw calc(100% - 6cqw), rgba(255,255,255,.35) 0 1cqw, transparent 1.2cqw), radial-gradient(circle at calc(100% - 6cqw) calc(100% - 6cqw), rgba(255,255,255,.35) 0 1cqw, transparent 1.2cqw); }
.lbc--ed-captain { --c1: #1d4ed8; --c2: #0b1a3a; --c3: #fde68a; --frame1: #fde68a; --frame2: #b45309; --rb: linear-gradient(90deg, #b45309, #fbbf24); }
.lbc--ed-captain .lbe-art { background: linear-gradient(90deg, transparent 0 8cqw, rgba(251,191,36,.28) 8cqw 14cqw, transparent 14cqw); }
.lbc--ed-captain .lbe-art::after { content: 'C'; position: absolute; left: 5cqw; top: 46cqw; width: 11cqw; height: 11cqw; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 6.5cqw; color: #0b1a3a; background: #fbbf24; box-shadow: 0 0 0 .8cqw #fff; }
.lbc--ed-month { --c1: #f59e0b; --c2: #451a03; --c3: #fde68a; --frame1: #fde68a; --frame2: #b45309; --foil: .28; --rb: linear-gradient(90deg, #b45309, #fde68a, #b45309); }
.lbc--ed-month .lbe-art { background: conic-gradient(from 200deg at 50% 40%, rgba(253,230,138,.3), transparent 25%, rgba(253,230,138,.25) 50%, transparent 75%, rgba(253,230,138,.3)); }
.lbc--ed-holo { --c1: #8b5cf6; --c2: #0b1026; --c3: #f0abfc; --frame1: #f0abfc; --frame2: #6d28d9; --foil: .45; --rb: linear-gradient(90deg, #f472b6, #a78bfa, #22d3ee, #a3e635); }
.lbc--ed-holo .lbe-art { background: linear-gradient(125deg, rgba(244,114,182,.25), rgba(167,139,250,.2) 30%, rgba(34,211,238,.22) 60%, rgba(163,230,53,.2)); }
.lbc--ed-holo .lbc-face::before { background: conic-gradient(from var(--ang, 0deg), #f0abfc, #818cf8, #22d3ee, #a3e635, #facc15, #fb7185, #f0abfc) !important; }
/* mini silhouettes in plaques */
.pcm--ed-street { --a: #f97316; --b: #1c1917; } .pcm--ed-iron { --a: #cbd5e1; --b: #334155; } .pcm--ed-captain { --a: #1d4ed8; --b: #0b1a3a; --fr: #fbbf24; }
.pcm--ed-month { --a: #fde68a; --b: #78350f; --fr: #fde68a; } .pcm--ed-holo { --a: #a78bfa; --b: #0b1026; --fr: #f0abfc; }

/* reveal modal */
.mo-rv { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 6px 0 4px; perspective: 1200px; }
.mo-rv-row { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; width: 100%; }
.mo-rv-slot { width: min(320px, 78vw); }
.mo-rv--pack .mo-rv-slot { width: min(220px, 27vw); }
.mo-rv-hint { font-size: .8rem; color: var(--text-muted); }
@media (max-width: 600px) { .mo-rv--pack .mo-rv-row { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 6px 4px 10px; scroll-snap-type: x mandatory; } .mo-rv--pack .mo-rv-slot { flex: 0 0 64vw; width: 64vw; scroll-snap-align: center; } }
.mo-burst { position: fixed; z-index: 9800; width: 0; height: 0; pointer-events: none; }
.mo-burst i { position: absolute; width: 8px; height: 12px; border-radius: 2px; animation: mo-burst 1.1s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes mo-burst { from { transform: translate(0, 0) rotate(0); opacity: 1; } to { transform: translate(var(--x), calc(var(--y) + 120px)) rotate(var(--r)); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .lbt, .lbt-ico, .lbn-bell.ring svg, .mo-token.ready .mo-cardback, .mo-token.ready .mo-cardback::after, .mo-pack, .mo-ck-btn, .mo-dot--next i, .mo-teaser-ready { animation: none !important; }
}

/* sealed pack cards */
.mo-rv-slot { position: relative; transform-style: preserve-3d; }
.mo-seal { position: absolute; inset: 0; z-index: 30; border: 0; padding: 0; cursor: pointer; border-radius: 5.5%; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.25), transparent 55%), repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 8px, transparent 8px 18px), linear-gradient(160deg, #fbbf24, #b45309 55%, #451a03);
  box-shadow: 0 18px 40px -14px rgba(120, 53, 15, .7), inset 0 0 0 4px rgba(253, 230, 138, .7); animation: mo-seal 2.4s ease-in-out infinite; }
.mo-rv-slot:nth-child(2) .mo-seal { animation-delay: .3s; } .mo-rv-slot:nth-child(3) .mo-seal { animation-delay: .6s; }
.mo-seal::after { content: ''; position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%); animation: mo-sheen 2.4s ease-in-out infinite; }
.mo-seal:hover { filter: brightness(1.08); }
.mo-seal-logo { font-style: normal; font-family: var(--font-display); font-weight: 900; font-size: 1rem; padding: 4px 10px; border-radius: 99px; background: rgba(0,0,0,.25); }
.mo-seal b { font-family: var(--font-display); font-weight: 900; font-size: 4.5rem; line-height: 1; text-shadow: 0 6px 18px rgba(0,0,0,.35); }
.mo-seal span { font-size: .66rem; font-weight: 900; letter-spacing: .18em; opacity: .9; }
@keyframes mo-seal { 50% { transform: translateY(-6px) rotate(-1.5deg); } }
.lbp-lock .lbt-stack { top: auto; bottom: 20px; }
@media (max-width: 760px) { .lbp-lock .lbt-stack { top: auto; bottom: 16px; } }

/* ─────────────── Journal v2: rows × groups ─────────────── */
.mo-j-legend, .mo-j-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px 96px; gap: 8px; align-items: center; }
.mo-j-legend { padding: 0 10px 6px; font-size: .7rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.mo-j-legend span:not(:first-child) { text-align: center; }
.mo-j-rows { display: flex; flex-direction: column; gap: 6px; }
.mo-j-row { padding: 8px 10px; border-radius: 14px; border: 1px solid rgba(200, 210, 230, .6); background: #fff; }
.mo-j-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mo-j-who > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.mo-j-who b { font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mo-j-who small { font-size: .7rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mo-j-tg { position: relative; height: 38px; border-radius: 12px; border: 1.5px dashed rgba(148, 163, 184, .6); background: var(--bg-soft); color: var(--text-muted); font-weight: 800; font-size: .8rem; cursor: pointer; transition: all .2s; }
.mo-j-tg.home { border-style: solid; }
.mo-j-tg.on { border: 1.5px solid #22c55e; background: #dcfce7; color: #15803d; }
.mo-j-tg i { position: absolute; top: -7px; right: -6px; font-style: normal; font-size: .58rem; padding: 1px 5px; border-radius: 99px; background: #fbbf24; color: #78350f; }
@media (max-width: 600px) { .mo-j-legend, .mo-j-row { grid-template-columns: minmax(0, 1fr) 70px 70px; } }

/* ─────────────── Calendar marking ─────────────── */
.cal-day.mo-cal-t { position: relative; cursor: pointer; flex-direction: column; gap: 1px; }
.cal-day.mo-cal-t:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 2px; }
.cal-day.mo-cal-yes { background: linear-gradient(135deg, #fb923c, #ea580c) !important; color: #fff !important; border-color: transparent !important; box-shadow: 0 6px 14px -6px rgba(234, 88, 12, .8); }
.cal-day.mo-cal-yes.today { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2563eb; }
.cal-day.mo-cal-no { background: #fef2f2 !important; color: #dc2626 !important; border-color: #fecaca !important; }
.cal-day.mo-cal-wait { box-shadow: inset 0 0 0 2px #fdba74; animation: mo-calwait 2s ease-in-out infinite; }
@keyframes mo-calwait { 50% { box-shadow: inset 0 0 0 2px #fdba74, 0 0 0 4px rgba(253, 186, 116, .25); } }
.cal-day.mo-cal-off { opacity: .45; text-decoration: line-through; }
.mo-cal-g { display: flex; gap: 2px; line-height: 1; }
.mo-cal-g i { font-style: normal; font-size: .5rem; font-weight: 900; padding: 1px 3px; border-radius: 4px; background: rgba(255,255,255,.28); }
.mo-cal-g.n { position: absolute; top: 2px; right: 3px; font-style: normal; font-size: .55rem; font-weight: 900; color: #16a34a; }
.mo-cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(200, 210, 230, .5); font-size: .74rem; color: var(--text-secondary); }
.mo-cal-legend span { display: inline-flex; align-items: center; gap: 5px; }
.mo-cal-legend small { flex: 1 1 100%; color: var(--text-muted); font-size: .72rem; }
.mo-cal-streak { font-weight: 700; color: #c2410c; }
.mo-lg { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.mo-lg.yes { background: linear-gradient(135deg, #fb923c, #ea580c); } .mo-lg.wait { box-shadow: inset 0 0 0 2px #fdba74; } .mo-lg.no { background: #fee2e2; border: 1px solid #fecaca; }

/* day modal */
.mo-cd { display: flex; flex-direction: column; gap: 14px; }
.mo-cd-h b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.mo-cd-h small { font-size: .8rem; color: var(--text-muted); }
.mo-cd-opts { display: flex; flex-direction: column; gap: 10px; }
.mo-cd-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 2px solid rgba(200, 210, 230, .8); background: #fff; text-align: left; cursor: pointer; transition: all .25s var(--ease); }
.mo-cd-opt:hover:not(.locked) { border-color: var(--blue-300); transform: translateY(-1px); }
.mo-cd-opt.on { border-color: #f97316; background: linear-gradient(135deg, #fff7ed, #fff); box-shadow: 0 10px 24px -14px rgba(234, 88, 12, .7); }
.mo-cd-opt.locked { cursor: default; opacity: .75; }
.mo-cd-chk { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; color: #fff; border: 2px solid rgba(148, 163, 184, .6); transition: all .25s; }
.mo-cd-opt.on .mo-cd-chk { background: linear-gradient(135deg, #fb923c, #ea580c); border-color: transparent; animation: pc-pop .4s cubic-bezier(.3, 1.6, .5, 1); }
.mo-cd-txt { display: flex; flex-direction: column; gap: 2px; }
.mo-cd-txt b { font-size: .98rem; }
.mo-cd-txt small { font-size: .78rem; color: var(--text-muted); }
.mo-cd-txt em { font-style: normal; font-size: .72rem; font-weight: 700; color: #b45309; }
.mo-cd-txt em.ok { color: #16a34a; }
.mo-cd-note { font-size: .78rem; color: var(--text-secondary); padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); line-height: 1.45; }
.mo-cd-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .82rem; color: var(--text-secondary); }

/* ─────────────── Activity tab ─────────────── */
.mo-act-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 12px; align-items: start; }
.mo-act-left { display: flex; flex-direction: column; gap: 10px; }
.mo-act-cal { max-width: 460px; }
.mo-act-lg { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-size: .68rem; color: var(--text-muted); }
.mo-act-lg span { display: inline-flex; align-items: center; gap: 4px; }
.mo-act-lg i { width: 10px; height: 10px; border-radius: 3px; }
.mo-act-lg i.y1 { background: #fdba74; } .mo-act-lg i.y2 { background: #c2410c; } .mo-act-lg i.no { background: #fee2e2; border: 1px solid #fecaca; }
.mo-act-streak { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #334155, #0f172a); }
.mo-act-streak.hot { background: radial-gradient(120% 140% at 0% 100%, #fbbf24, #ea580c 45%, #7c2d12); box-shadow: 0 18px 34px -16px rgba(234, 88, 12, .8); }
.mo-act-fl { font-size: 2.6rem; animation: mo-flame 1.6s ease-in-out infinite; transform-origin: 50% 90%; }
.mo-act-streak:not(.hot) .mo-act-fl { filter: grayscale(.7); animation: none; }
@keyframes mo-flame { 50% { transform: scale(1.12) rotate(-4deg); } }
.mo-act-streak b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; line-height: 1; }
.mo-act-streak span { font-size: .84rem; opacity: .9; }
.mo-act-streak small { display: block; font-size: .72rem; opacity: .7; margin-top: 2px; }
.mo-act-cal { padding: 14px 16px; border-radius: 22px; background: #fff; border: 1px solid rgba(200, 210, 230, .6); }
.mo-act-cal-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.mo-act-cal-h b { font-family: var(--font-display); }
.mo-act-cal-h span { font-size: .72rem; color: var(--text-muted); }
.mo-act-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.mo-act-grid i, .mo-act-grid .d { font-style: normal; aspect-ratio: 1; display: grid; place-items: center; border-radius: 6px; font-size: .64rem; color: var(--text-muted); }
.mo-act-grid i.h { aspect-ratio: auto; font-size: .56rem; font-weight: 800; text-transform: uppercase; }
.mo-act-grid i.e { visibility: hidden; }
.mo-act-grid i.t, .mo-act-grid .d.t { background: var(--blue-50); color: var(--blue-600); font-weight: 700; }
.mo-act-grid i.y1, .mo-act-grid .d.y1 { background: #fdba74; color: #7c2d12; font-weight: 800; }
.mo-act-grid i.y2, .mo-act-grid .d.y2 { background: linear-gradient(135deg, #f97316, #c2410c); color: #fff; font-weight: 900; box-shadow: 0 0 0 1.5px #fde68a inset; }
.mo-act-grid i.no, .mo-act-grid .d.no { background: #fee2e2; color: #dc2626; }
.mo-act-grid i.off, .mo-act-grid .d.off { text-decoration: line-through; opacity: .5; }
.mo-act-grid i.wait, .mo-act-grid .d.wait { box-shadow: inset 0 0 0 1.5px #fdba74; color: #c2410c; font-weight: 700; }
.mo-act-grid i.today, .mo-act-grid .d.today { outline: 2px solid var(--blue-500); outline-offset: 1px; }
.mo-act-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mo-act-stats > div { padding: 12px; border-radius: 16px; background: #fff; border: 1px solid rgba(200, 210, 230, .6); display: flex; flex-direction: column; justify-content: center; }
.mo-act-stats b { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; line-height: 1.1; }
.mo-act-stats span { font-size: .72rem; color: var(--text-muted); }
.mo-mates { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: .84rem; }
.mo-mates > b { margin-right: 4px; font-family: var(--font-display); }
.mo-mate { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 99px; background: #fff; border: 1px solid rgba(200, 210, 230, .7); font-weight: 600; }
.mo-mate i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .62rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #f97316, #1d4ed8); }
.mo-mate small { color: var(--text-muted); font-weight: 700; }
.mo-feed { margin-top: 18px; display: flex; flex-direction: column; gap: 16px; }
.mo-feed-dh { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin: 0 0 8px 54px; }
.mo-feed-day { position: relative; }
.mo-feed-day::before { content: ''; position: absolute; left: 21px; top: 24px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue-100), transparent); }
.mo-ev { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 8px 10px 8px 0; border-radius: 14px; }
.mo-ev[data-mo] { cursor: pointer; }
.mo-ev[data-mo]:hover .mo-ev-main b { color: var(--blue-600); }
.mo-ev-ico { position: relative; z-index: 1; flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.15rem; background: #fff; border: 1px solid rgba(200, 210, 230, .7); box-shadow: 0 4px 10px -6px rgba(15, 23, 42, .25); }
.mo-ev-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-top: 3px; }
.mo-ev-main b { font-size: .9rem; transition: color .2s; }
.mo-ev-main span { font-size: .78rem; color: var(--text-secondary); line-height: 1.4; }
.mo-ev-main em { align-self: flex-start; font-style: normal; font-size: .66rem; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: var(--bg-soft); color: var(--text-muted); margin-top: 2px; }
.mo-ev-xp { flex: none; align-self: center; font-family: var(--font-display); font-weight: 800; font-size: .78rem; color: #16a34a; }
.mo-ev--streak .mo-ev-ico, .mo-ev--level .mo-ev-ico { background: linear-gradient(135deg, #fde68a, #fb923c); border-color: transparent; }
.mo-ev--reward .mo-ev-ico, .mo-ev--edition .mo-ev-ico { background: linear-gradient(135deg, #fff7ed, #fed7aa); border-color: #fdba74; }
.mo-ev--miss .mo-ev-ico { background: #fef2f2; border-color: #fecaca; }
.mo-ev--frozen .mo-ev-ico { background: #e0f2fe; border-color: #bae6fd; }
.mo-ev--wait .mo-ev-ico { background: #fffbeb; border-color: #fde68a; animation: mo-next 1.8s ease-in-out infinite; }
.mo-ev--game .mo-ev-ico { background: linear-gradient(135deg, #ffedd5, #fff); }
@media (max-width: 900px) { .mo-act-top { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .mo-act-fl, .cal-day.mo-cal-wait, .mo-ev--wait .mo-ev-ico { animation: none !important; } }

.mo-j-tools .mo-link { font-size: .8rem; }
@media (max-width: 600px) { .mo-act-stats { grid-template-columns: repeat(2, 1fr); } }

/* меню сайта: разделы — по центру, «Профиль» и «Записаться» — справа, рядом с колокольчиком уведомлений */
@media (min-width: 1181px) {
  .nav-links { flex: 1 1 auto; margin-left: 24px; }
  .nav-links > a[href="#club"] { margin-left: auto; }
  .nav-links > .nav-account { margin-left: auto; }
}

/* окно тренировки: родитель отмечает ребёнка */
.mo-cd-who { margin: 0 0 12px; padding: 10px 12px; border-radius: 14px; background: #eff6ff; box-shadow: inset 0 0 0 1px rgba(37,99,235,.18); font-size: .86rem; color: #1e3a8a; }
.mo-cd-who b { font-weight: 800; }
.mo-cd-who small { display: block; margin-top: 2px; font-size: .74rem; color: #475569; }
.mo-cd-foot [data-mo="cdjournal"] { white-space: nowrap; flex: none; }

/* мини-календарь в «Активности»: каждый день — кнопка (отметить тренировку или добавить персональную) */
.mo-act-grid .d { border: 0; background: none; padding: 0; font-family: inherit; cursor: pointer; position: relative; transition: transform .15s; }
.mo-act-grid .d:hover { transform: scale(1.12); }
.mo-act-grid .d.pt::after { content: ''; position: absolute; right: 2px; top: 2px; width: 6px; height: 6px; border-radius: 50%; background: #8b5cf6; box-shadow: 0 0 0 1.5px #fff; }
.mo-act-grid .d.pt-done::after { background: #16a34a; }
.mo-act-lg i.pt { background: #8b5cf6; border-radius: 50%; }
.mo-act-tip { margin-top: 6px; font-size: .68rem; color: var(--text-muted); }
/* персональные тренировки в окне дня */
.mo-pt { margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(148,163,184,.5); }
.mo-pt-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 10px; }
.mo-pt-h b { font-size: .9rem; } .mo-pt-h small { font-size: .72rem; color: var(--text-muted); }
.mo-pt-i { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #f5f3ff; box-shadow: inset 0 0 0 1px rgba(139,92,246,.2); margin-top: 8px; }
.mo-pt-i.done { background: #f0fdf4; box-shadow: inset 0 0 0 1px rgba(22,163,74,.25); }
.mo-pt-chk { flex: none; width: 28px; height: 28px; border-radius: 9px; border: 2px solid #a78bfa; background: #fff; color: #fff; font-weight: 900; cursor: pointer; display: grid; place-items: center; }
.mo-pt-i.done .mo-pt-chk { background: #16a34a; border-color: #16a34a; }
.mo-pt-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mo-pt-t b { font-size: .86rem; } .mo-pt-t small { font-size: .72rem; color: var(--text-muted); }
.mo-pt-x { flex: none; border: 0; background: none; color: #94a3b8; font-size: 1.1rem; cursor: pointer; padding: 4px; }
.mo-pt-x.sure { color: #dc2626; font-size: .72rem; font-weight: 700; }
.mo-pt-form { display: grid; gap: 8px; margin-top: 12px; }
.mo-pt-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .8rem; color: var(--text-muted); }
.mo-pt-row .form-input { width: auto; flex: 0 1 110px; }
.mo-pt-done { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.mo-pt-form .btn { justify-self: start; }
/* большой календарь: персональная тренировка и свободные дни */
.cal-day .mo-cal-pt { position: absolute; left: 3px; bottom: 2px; font-size: .62rem; font-style: normal; line-height: 1; opacity: .85; }
.cal-day .mo-cal-pt.done { filter: drop-shadow(0 0 2px #22c55e); }
.cal-day.mo-cal-free { cursor: pointer; }
.cal-day { position: relative; }
.mo-ev-w { margin-bottom: 6px; }
.mo-ev-w > .sc { margin: 4px 0 0 46px; }
.mo-act-grid .d.pt:not(.y1):not(.y2):not(.no) { background: #f5f3ff; color: #7c3aed; font-weight: 800; }
.mo-j-pt { margin-top: 16px; } .mo-j-pt .sc { margin: 4px 0 8px 38px; }
