/**
 * ==============================================================================
 * СТИЛИ И ДИЗАЙН-СИСТЕМА «НЕ СЕГОДНЯ. 365»
 * (c) 2026 huntechri. ВСЕ ПРАВА ЗАЩИЩЕНЫ. ALL RIGHTS RESERVED.
 * Фирменная эстетика, цветовая гамма, шрифты и верстка защищены авторским правом.
 * Несанкционированное использование или копирование запрещено (ст. 1259 ГК РФ).
 * ==============================================================================
 */

:root{
 color-scheme: light;
 --bg:#f7efe7;--paper:#fffaf5;--paper2:#f3e5dc;--ink:#2f2726;--muted:#7e6f6c;
 --rose:#b45f67;--rose2:#d99b92;--sage:#a7b59a;--line:#e5d8cf;--deep:#49363e;
}
*{box-sizing:border-box}
html,body{color-scheme:light;margin:0;background:var(--bg);color:var(--ink);font-family:'Plus Jakarta Sans',Inter,system-ui,-apple-system,sans-serif}
button,input,select,textarea{font-family:inherit}
body{
  min-height: 100vh;
  background: 
    radial-gradient(at 0% 0%, #fae6dc 0px, transparent 55%),
    radial-gradient(at 100% 10%, #f6ddde 0px, transparent 50%),
    radial-gradient(at 50% 60%, #fceedf 0px, transparent 60%),
    radial-gradient(at 20% 90%, #f9e2db 0px, transparent 50%),
    #f7ede5;
  background-attachment: fixed;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, sans-serif;
}
.app{width:min(100%,480px);margin:auto;min-height:100vh;padding:16px 15px 100px}
.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.brand{font-weight:900;letter-spacing:.01em} .brand span{color:var(--rose)}
.top-actions{display:flex;gap:8px;align-items:center}
.iconbtn{height:36px;padding:0 12px;border-radius:12px;border:1px solid var(--line);background:#fff7f1;font-size:13px;font-weight:700;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:.18s}
.iconbtn:hover{background:#fff;transform:translateY(-1px);box-shadow:0 4px 10px rgba(73,54,62,.08)}
.screen{display:none}.screen.active{display:block}
.paper{background:rgba(255,253,250,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.9);border-radius:24px;box-shadow:0 16px 36px rgba(73,54,62,.07),0 2px 6px rgba(73,54,62,.03);position:relative}
.paper:before{content:"";position:absolute;inset:-3px;background:rgba(255,248,242,0.6);z-index:-1;border-radius:26px;box-shadow:0 8px 20px rgba(73,54,62,0.03)}
.daily{padding:24px 20px 22px;margin-top:14px}
.pin{display:none!important}
.heart{display:none!important}
.kicker{color:var(--rose,#9b3e49);font-size:11.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px;text-align:center}
.daynum{font-family:'Cormorant Garamond',Georgia,serif;color:var(--rose);font-size:68px;line-height:.9;margin:4px 0 14px}
h1,h2,h3{font-family:'Cormorant Garamond',Georgia,serif;letter-spacing:-.01em}
.daily h1,.daily-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:28px;line-height:1.2;font-weight:600;color:#2c2022;text-align:center;margin:6px 0 16px}
.daily .copy{font-size:14.5px;line-height:1.62;text-align:left;color:#3d312f}
.divider{height:1px;background:var(--line);margin:18px 0}
.action-title{font-size:11px;color:var(--rose);font-weight:850;letter-spacing:.08em;margin-bottom:8px}
.action{display:flex;gap:10px;line-height:1.45;font-size:14px}
.check{width:28px;height:28px;border:2px solid #dba679;border-radius:50%;display:grid;place-items:center;flex:0 0 28px;color:#d08c61}
.section-title{display:flex;justify-content:space-between;align-items:center;margin:24px 2px 10px;font-size:14px;font-weight:850}
.link{color:var(--rose);font-size:12px;font-weight:700;cursor:pointer}
.bonus{display:grid;grid-template-columns:116px 1fr;gap:12px;padding:12px;border-radius:18px;background:#fff9f4;box-shadow:0 8px 20px rgba(73,54,62,.08);border:1px solid rgba(229,216,207,.7)}
.bonus-art{min-height:105px;border-radius:14px;background:linear-gradient(145deg,#e6d4c5,#f8e8dd 48%,#c9b39b);display:grid;place-items:center;font-size:40px}
.meta{font-size:10px;font-weight:850;color:var(--sage);letter-spacing:.07em}
.bonus h3{font-family:inherit;font-size:16px;margin:5px 0 5px;line-height:1.15} .bonus p{font-size:12px;color:var(--muted);margin:0 0 10px}
.pill{border:0;background:var(--rose);color:#fff;padding:8px 12px;border-radius:999px;font-size:11px;font-weight:750;cursor:pointer}
.actions{display:grid;grid-template-columns:1fr 1.25fr;gap:10px;margin-top:15px}
.btn{border:0;border-radius:15px;padding:14px 10px;font-weight:850;cursor:pointer;font-family:inherit} .btn.soft{background:#fff7f0;color:var(--ink);border:1px solid var(--line)} .btn.rose{background:linear-gradient(135deg,#b95e67,#c86f75);color:#fff}
.note{font-family:Georgia,serif;font-style:italic;text-align:center;color:#5e4d4d;margin:20px 20px 0;line-height:1.45}
.bottom{position:fixed;left:50%;transform:translateX(-50%);bottom:9px;width:min(calc(100% - 20px),460px);background:rgba(255,250,245,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid var(--line);border-radius:22px;padding:7px;display:grid;grid-template-columns:repeat(5,1fr);z-index:20;box-shadow:0 10px 28px rgba(73,54,62,.12)}
.nav{border:0;background:transparent;border-radius:14px;padding:9px 2px;font-size:11px;color:var(--muted);font-weight:750;cursor:pointer;min-height:50px;display:flex;flex-direction:column;align-items:center;justify-content:center}.nav b{display:block;font-size:18px;margin-bottom:3px;font-weight:500}.nav.active{color:var(--rose);background:#f7e6df}
.panel{background:rgba(255,250,245,.94);border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:0 12px 28px rgba(73,54,62,.08)}
.panel h2{font-size:25px;margin:0 0 6px} .panel .sub{color:var(--muted);font-size:13px;line-height:1.45}
.grid365{display:grid;grid-template-columns:repeat(12,1fr);gap:5px;margin-top:18px}
.dot{aspect-ratio:1;border-radius:50%;background:#eee5df;border:1px solid #e1d5cd}.dot.done{background:var(--rose);border-color:var(--rose)}.dot.today{outline:2px solid #d69b72;outline-offset:2px}.dot.future{opacity:.45}
.dot.elapsed{background:#edd7d3;border-color:#e3c1bd;opacity:.92}
.dot.torn{background:var(--rose);border-color:var(--rose);opacity:1}
.catgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.cat{background:#fff9f4;border:1px solid var(--line);border-radius:16px;padding:14px;min-height:96px;cursor:pointer}.cat b{display:block;margin-bottom:5px}.cat small{color:var(--muted);line-height:1.35}
.article{background:#fff9f4;border:1px solid var(--line);border-radius:15px;padding:13px;margin-top:9px;cursor:pointer}.article small{color:var(--rose);font-weight:800}.article h3{font-family:inherit;margin:4px 0 5px;font-size:15px}.article p{margin:0;color:var(--muted);font-size:12px}
.soshead{background:linear-gradient(180deg,#45343f,#614750);color:#fff;border-radius:22px;padding:20px 17px 24px;margin-bottom:12px;position:relative;overflow:hidden}
.soshead:after{content:"";position:absolute;left:-10%;right:-10%;bottom:-60px;height:130px;background:linear-gradient(170deg,transparent 20%,#9c7467 21%,#c79578 44%,#5b4947 45%);opacity:.55}
.soshead>*{position:relative;z-index:1}.soshead h2{text-align:center;font-size:24px;margin:3px 0 14px}
.choice{display:block;width:100%;border:0;background:#fff9f3;border-radius:999px;padding:12px 14px;text-align:left;margin:8px 0;color:var(--ink);font-weight:700;cursor:pointer}
.sosbox{background:#fff8f2;border-radius:18px;padding:17px;border:1px solid var(--line);margin-top:12px}.sosbox h3{font-size:21px;margin:0 0 8px}.slider{width:100%} .rating{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}
.gamecard{padding:24px 20px;background:#fffaf6;border:1px solid var(--line);border-radius:24px;position:relative;box-shadow:0 8px 24px rgba(73,54,62,.04)}
.gamecard .thought{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:22px;font-weight:500;line-height:1.38;padding:18px 16px;background:#fff;border-radius:16px;margin:12px 0 16px;border:1px solid rgba(229,216,207,.7);box-shadow:0 4px 14px rgba(73,54,62,.03);color:#2c2022;text-align:center}
.game-prompt-title{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--deep);margin:16px 0 10px;text-align:left}
.gameopts-list{display:flex;flex-direction:column;gap:10px}
.gameopt{display:flex;align-items:flex-start;gap:12px;width:100%;text-align:left;margin:0;border:1px solid rgba(229,216,207,.85);background:#fffdfa;border-radius:16px;padding:13px 14px;font-family:'Plus Jakarta Sans',Inter,system-ui,sans-serif;font-size:13.5px;font-weight:500;line-height:1.52;color:#3d312f;cursor:pointer;transition:all .18s ease;box-shadow:0 2px 6px rgba(73,54,62,.02)}
.gameopt:hover:not(:disabled){background:#fff;border-color:var(--rose2);transform:translateY(-1px);box-shadow:0 4px 12px rgba(73,54,62,.06)}
.gameopt-badge{width:26px;height:26px;border-radius:50%;background:#f5ebe6;color:var(--rose);font-weight:800;font-size:12px;display:flex;align-items:center;justify-content:center;flex:0 0 26px;margin-top:1px;transition:all .18s}
.gameopt-text{flex:1}
.gameopt.good{background:#f0d8d7;border-color:#d9a6a8}
.gameopt.correct{background:#f0f7ed;border-color:#a8cf9a;box-shadow:0 2px 10px rgba(92,140,74,.1)}
.gameopt.correct .gameopt-badge{background:#5c8c4a;color:#fff}
.gameopt.wrong{background:#fbf0ee;border-color:#e3a8a8;box-shadow:0 2px 10px rgba(180,95,103,.1)}
.gameopt.wrong .gameopt-badge{background:#b45f67;color:#fff}
.gameopt:disabled{opacity:1;cursor:default}
.result{margin-top:14px;background:#f8ede7;border:1px solid #ebd3c9;border-radius:16px;padding:16px;display:none;line-height:1.55;font-size:13.5px;color:#3d312f}
.result b{color:var(--deep);font-size:14.5px;display:block;margin-bottom:6px}
.onboarding{padding-top:40px;text-align:center}.onboarding h1{font-size:34px;margin:0 0 10px}.onboarding p{color:var(--muted);line-height:1.55}.dateinput{width:100%;border:1px solid var(--line);background:#fff;padding:14px;border-radius:14px;font:inherit;margin:12px 0}.wide{width:100%}
.locked{text-align:center;padding:38px 24px}.locked .big{font-size:42px}.locked h2{font-size:26px}
.demo{margin-top:15px;text-align:center}.demo button{border:0;background:transparent;color:var(--muted);text-decoration:underline;font-size:11px}
.iconbtn{height:36px;padding:0 12px;border-radius:12px;border:1px solid var(--line);background:#fff7f1;font-size:13px;font-weight:700;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:.18s}
.date-label{display:block;text-align:left;font-size:12px;font-weight:850;color:var(--deep);margin-top:18px}
.inline-error{min-height:18px;text-align:left;color:#9b3e49;font-size:12px;font-weight:700;margin-top:-4px}
.data-note{font-size:11px;line-height:1.45;color:var(--muted);margin-top:12px}
.yearlegend{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin-top:16px;font-size:11px;color:var(--muted)}
.legenditem{display:flex;align-items:center;gap:7px}.legenddot{width:12px;height:12px;border-radius:50%;border:1px solid var(--line);flex:0 0 12px}
.legenddot.torn{background:var(--rose);border-color:var(--rose)}.legenddot.elapsed{background:#edd7d3;border-color:#e3c1bd}.legenddot.today{background:#fff;outline:2px solid #d28f62;outline-offset:1px}.legenddot.future{background:#eee5df;opacity:.5}
.yearstats{margin-top:11px;padding:10px 12px;border-radius:13px;background:#fff8f2;border:1px solid var(--line);font-size:12px;color:var(--muted)}
.selftools{margin-top:14px}.searchinput{width:100%;border:1px solid var(--line);background:#fff;padding:12px 13px;border-radius:14px;font:inherit;font-size:13px}
.live-note{margin-top:10px;padding:11px;border-radius:13px;background:#f7e6df;border:1px solid #e5c4bd;font-size:12px;line-height:1.45;color:#654b4e}
.demo{display:none!important}body.demo-mode .demo{display:block!important}

/* SOS 10-MIN TIMER */
.sos-timer-box{background:#fff9f4;border:1px solid var(--line);border-radius:18px;padding:16px;margin-top:14px;text-align:center}
.sos-timer-digits{font-family:Georgia,serif;font-size:54px;color:var(--rose);margin:8px 0 14px;letter-spacing:-.03em}

/* AUTH GATE */
.auth-box{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:32px 22px;box-shadow:0 14px 34px rgba(73,54,62,.10);text-align:center;margin-top:20px}
.auth-icon{font-size:48px;color:var(--rose);margin-bottom:8px}
.auth-brand{font-size:26px;font-weight:900;letter-spacing:.02em} .auth-brand span{color:var(--rose)}
.auth-subtitle{font-size:13px;color:var(--muted);line-height:1.45;margin:6px 0 20px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f3e4dc;border-radius:14px;padding:4px;gap:4px;margin-bottom:20px}
.auth-tab{border:0;background:transparent;border-radius:11px;padding:10px;font-weight:750;font-size:13px;color:var(--muted);cursor:pointer;transition:.2s}
.auth-tab.active{background:#fff;color:var(--ink);box-shadow:0 2px 7px rgba(73,54,62,.09)}
.auth-field{text-align:left;margin-bottom:14px}
.auth-field label{display:block;font-size:11px;font-weight:850;color:var(--deep);letter-spacing:.05em;text-transform:uppercase;margin-bottom:4px}
.auth-msg{min-height:18px;font-size:12px;line-height:1.45;border-radius:12px;padding:9px 12px;margin:8px 0 12px;display:none;text-align:left}
.auth-msg.error{display:block;background:#fce8e8;border:1px solid #f0bebe;color:#98343e}
.auth-msg.success{display:block;background:#e9f4e5;border:1px solid #c7e5be;color:#356730}
.auth-divider{display:flex;align-items:center;text-align:center;margin:20px 0 16px}
.auth-divider:before,.auth-divider:after{content:"";flex:1;border-bottom:1px solid var(--line)}
.auth-divider span{padding:0 12px;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.auth-footer-note{font-size:11.5px;color:var(--muted);line-height:1.45;margin-top:16px}

/* TODAY'S FOCUS IN "FOR SELF" */
.self-focus-card{background:linear-gradient(135deg,#fff8f2,#fff4ed 60%,#faece5);border:1.5px solid #ebd3c8;border-radius:20px;padding:16px 18px;margin-top:14px;box-shadow:0 7px 22px rgba(180,95,103,.08)}
.self-focus-kicker{font-size:10.5px;font-weight:900;color:var(--rose);letter-spacing:.09em;display:flex;justify-content:space-between;align-items:center}
.self-focus-title{font-family:Georgia,serif;font-size:18px;font-weight:750;margin:6px 0 6px;color:var(--ink)}
.self-focus-desc{font-size:12.5px;color:var(--muted);line-height:1.45;margin:0 0 12px}
.self-focus-btn{display:inline-flex;align-items:center;gap:6px;border:0;background:var(--rose);color:#fff;padding:8px 14px;border-radius:999px;font-size:11.5px;font-weight:750;cursor:pointer}

/* ARTICLE PROGRESS & LOCKS */
.article-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:3px}
.unlock-tag{font-size:10px;font-weight:800;color:#3b7639;background:#eef7eb;padding:2px 7px;border-radius:6px;border:1px solid #cce5c5}
.lock-tag{font-size:10px;font-weight:800;color:#9b5a61;background:#f9e8e6;padding:2px 7px;border-radius:6px;border:1px solid #ecc9c5}
.article.locked{opacity:.72;background:#fcf6f1;border:1px dashed #dfd0c6;cursor:pointer}
.article.locked:hover{opacity:.9;background:#f9f0e8}
.cat-progress{font-size:11px;font-weight:700;color:var(--rose);margin-top:4px}

/* MODALS */
.modal-backdrop{position:fixed!important;inset:0!important;background:rgba(47,39,38,.68)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:999999!important;display:flex;align-items:center;justify-content:center;padding:16px;overflow-y:auto;-webkit-overflow-scrolling:touch}
.modal-card{background:var(--paper);border:1px solid var(--line);border-radius:24px;width:min(100%,440px);max-height:calc(100dvh - 32px);max-height:calc(100vh - 32px);overflow-y:auto;-webkit-overflow-scrolling:touch;padding:22px 20px;box-shadow:0 22px 52px rgba(47,39,38,.3);position:relative;margin:auto;scrollbar-width:thin;scrollbar-color:var(--rose) rgba(0,0,0,.06)}
.modal-card::-webkit-scrollbar{width:6px}
.modal-card::-webkit-scrollbar-track{background:rgba(0,0,0,.04);border-radius:10px}
.modal-card::-webkit-scrollbar-thumb{background:var(--rose);border-radius:10px}
.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;position:sticky;top:-22px;background:var(--paper);padding:8px 0 12px;margin-top:-10px;z-index:15;border-bottom:1px solid rgba(229,216,207,.75)}
.modal-close{border:0;background:#f5ece5;font-size:16px;font-weight:800;color:var(--ink);cursor:pointer;width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;transition:all .18s ease;flex-shrink:0}
.modal-close:hover{background:var(--rose);color:#fff;transform:scale(1.05)}
.profile-info-box{background:#fff5ed;border:1px solid #ead3c7;border-radius:15px;padding:14px;margin-bottom:14px}
.profile-status-label{font-size:10.5px;font-weight:850;color:var(--rose);letter-spacing:.06em;text-transform:uppercase}
.profile-status-val{font-size:15.5px;font-weight:800;color:var(--ink);margin-top:3px}
.profile-email-val{font-size:12px;color:var(--muted);margin-top:2px}
.profile-date-box{margin-bottom:14px}
.locked-card{text-align:center;padding:28px 22px}

.daily-visual-frame{border-radius:18px;overflow:hidden;margin:12px 0 18px;border:1px solid rgba(229,216,207,.8);box-shadow:0 8px 24px rgba(73,54,62,.06);background:#fdf6f0;width:100%}
.daily-visual-img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:center;display:block;transition:all .3s ease}
.daily-visual-anchor{padding:13px 18px;font-family:'Cormorant Garamond',Georgia,serif;font-size:16.5px;font-style:italic;font-weight:600;color:#6b4e47;text-align:center;background:rgba(255,252,248,.96);line-height:1.35;border-top:1px solid rgba(235,222,214,.65)}

.today-spheres-wrap{margin:14px 0 16px}
.today-spheres-title{font-size:11px;font-weight:850;letter-spacing:.08em;color:var(--rose);text-transform:uppercase;margin-bottom:10px;display:flex;justify-content:space-between;align-items:center}
.today-spheres-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.sphere-pill{background:rgba(255,255,255,.95);border:1px solid rgba(229,216,207,.85);border-radius:999px;padding:10px 6px;display:flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px rgba(73,54,62,.04);font-family:inherit}
.sphere-pill:hover{transform:translateY(-2px);border-color:var(--rose);background:#fff;box-shadow:0 6px 16px rgba(180,95,103,.12)}
.sphere-pill-icon{font-size:14px;line-height:1}
.sphere-pill-name{font-size:12.5px;font-weight:750;color:#382c2b}

.self-day-nav{display:flex;align-items:center;justify-content:space-between;background:#fff8f2;border:1px solid var(--line);border-radius:18px;padding:10px 14px;margin:14px 0 16px}
.self-day-btn{border:0;background:#f3e4dc;color:var(--ink);font-weight:800;font-size:12px;padding:8px 14px;border-radius:999px;cursor:pointer;transition:.2s}
.self-day-btn:hover:not(:disabled){background:var(--rose);color:#fff}
.self-day-btn:disabled{opacity:.4;cursor:default}
.self-day-current{text-align:center}
.self-day-badge{font-family:Georgia,serif;font-size:17px;font-weight:800;color:var(--ink)}
.self-phase-badge{font-size:10.5px;color:var(--rose);font-weight:750;letter-spacing:.04em;margin-top:1px}

.self-pillars-grid{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:440px){
  .self-pillars-grid{grid-template-columns:1fr 1fr}
}

.self-pillar-card{background:var(--paper);border:1.5px solid var(--line);border-radius:18px;padding:15px 16px;cursor:pointer;display:flex;flex-direction:column;justify-content:space-between;transition:.2s;position:relative;overflow:hidden}
.self-pillar-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(73,54,62,.08);border-color:#d8b6a9}
.self-pillar-kicker{font-size:10.5px;font-weight:900;letter-spacing:.06em;display:flex;align-items:center;gap:6px;margin-bottom:6px}
.self-pillar-title{font-family:Georgia,serif;font-size:16px;font-weight:750;color:var(--ink);line-height:1.35;margin-bottom:6px}
.self-pillar-summary{font-size:12px;color:var(--muted);line-height:1.45;flex-grow:1}
.self-pillar-footer{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding-top:8px;border-top:1px solid #f6eee8;font-size:11.5px;font-weight:750}
.self-pillar-btn{color:var(--rose);display:inline-flex;align-items:center;gap:3px}

/* PRACTICE DETAIL CARD */
.self-detail-card{background:var(--paper);border:1.5px solid var(--line);border-radius:22px;padding:22px 18px;margin-top:10px;box-shadow:0 10px 30px rgba(73,54,62,.09)}
.self-detail-back-btn{border:0;background:#f3e4dc;color:var(--ink);font-weight:750;font-size:12px;padding:7px 14px;border-radius:999px;cursor:pointer;margin-bottom:14px;display:inline-flex;align-items:center;gap:5px}
.self-detail-back-btn:hover{background:#ebd3c8}
.self-detail-kicker{font-size:11px;font-weight:900;letter-spacing:.08em;margin-bottom:4px}
.self-detail-title{font-family:Georgia,serif;font-size:22px;line-height:1.3;color:var(--ink);margin:4px 0 12px}
.self-detail-lead{font-size:14px;line-height:1.55;color:var(--ink);margin-bottom:14px;font-weight:600}
.self-detail-text{font-size:13.5px;line-height:1.6;color:var(--muted);white-space:pre-line;margin-bottom:18px}
.self-action-box{background:#fff6ef;border:1.5px solid #eecfbf;border-radius:16px;padding:16px;margin:16px 0}
.self-action-title{font-size:11px;font-weight:900;color:var(--rose);letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px}
.self-action-text{font-size:13.5px;line-height:1.5;color:var(--ink);font-weight:700}
.self-complete-btn{margin-top:14px}
.self-complete-btn.done{background:#e7f3e4;border-color:#bfe0b6;color:#356730}

/* MONEY CARD SPECIAL BADGE & SMART CALCULATOR */
.money-highlight-card{background:linear-gradient(135deg,#edf7ef,#e6f4ea 60%,#ddf0e2);border:1.5px solid #b8dfb3;border-radius:20px;padding:16px 16px 14px;margin:14px 0 16px;text-align:center}
.money-highlight-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.money-highlight-label{font-size:11px;font-weight:850;color:#226b38;letter-spacing:.06em;text-transform:uppercase}
.money-gear-btn{border:1px solid #b5dcb0;background:#fff;color:#266b3b;font-size:11.5px;font-weight:800;border-radius:999px;padding:5px 11px;cursor:pointer;transition:.18s;display:inline-flex;align-items:center;gap:4px}
.money-gear-btn:hover{background:#edf7ef;transform:translateY(-1px);box-shadow:0 3px 8px rgba(44,107,65,.12)}
.money-highlight-val{font-family:'Cormorant Garamond',Georgia,serif;font-size:34px;font-weight:700;color:#1e5f31;line-height:1.1;margin:4px 0 2px}
.money-highlight-sub{font-size:12.5px;color:#396d49;line-height:1.4;margin-bottom:10px}

.money-quick-entry{background:rgba(255,255,255,.9);border:1px solid #cce8c8;border-radius:15px;padding:12px 14px;margin-top:10px;text-align:left}
.money-quick-label{font-size:12px;font-weight:750;color:#2d5d3a;margin-bottom:6px;display:flex;justify-content:space-between;align-items:center}
.money-quick-row{display:flex;gap:8px;margin-bottom:6px}
.money-input{flex:1;border:1.5px solid #c7e5c2;border-radius:12px;padding:9px 12px;font-size:13.5px;background:#fff;font-family:inherit;color:#1e4529}
.money-input:focus{outline:none;border-color:#2c6b41;box-shadow:0 0 0 3px rgba(44,107,65,.12)}
.money-quick-hint{font-size:11px;color:#5a7d65;line-height:1.4}

/* MONEY SETTINGS MODAL */
.money-scenario-card{border:1.5px solid var(--line);border-radius:16px;padding:12px 14px;margin-bottom:10px;cursor:pointer;transition:.18s;background:#fff}
.money-scenario-card:hover{border-color:#a4cca0}
.money-scenario-card.active{border-color:#2c6b41;background:#f2f9f3;box-shadow:0 4px 14px rgba(44,107,65,.12)}
.money-scenario-head{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:800;color:var(--ink)}
.money-scenario-desc{font-size:11.5px;color:var(--muted);margin:4px 0 8px 24px;line-height:1.4}
.money-scenario-input-row{margin-left:24px;display:flex;align-items:center;gap:8px}
.money-hangover-checkbox{background:#fff9f4;border:1.5px solid #ecd8cc;border-radius:14px;padding:12px 14px;margin:12px 0 16px;display:flex;gap:10px;align-items:flex-start}
.money-hangover-checkbox input{margin-top:2px}
.money-hangover-text{font-size:12px;line-height:1.45;color:#4a3b39}


@media(max-width:360px){
  .daily{padding-left:16px;padding-right:16px}
  .grid365{grid-template-columns:repeat(10,1fr)}
  .nav{font-size:9.5px}.nav b{font-size:17px}.bottom{padding:6px}.yearlegend{grid-template-columns:1fr}
  .self-day-nav{flex-direction:column;gap:8px}
}

/* DIARY & MOOD TRACKER STYLES */
.diary-card{background:var(--paper);border:1.5px solid var(--line);border-radius:22px;padding:18px 18px 20px;margin-top:18px;box-shadow:0 6px 20px rgba(73,54,62,.06);position:relative}
.diary-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.diary-kicker{font-size:10.5px;font-weight:900;color:var(--rose);letter-spacing:.08em;text-transform:uppercase}
.diary-badge{font-size:10.5px;font-weight:800;color:#2e693b;background:#eef8ec;border:1px solid #c9e6c6;padding:3px 8px;border-radius:999px;align-items:center;gap:4px}
.diary-title{font-family:Georgia,serif;font-size:19px;font-weight:750;color:var(--ink);margin:2px 0 6px}
.diary-sub{font-size:12.5px;color:var(--muted);line-height:1.45;margin-bottom:14px}
.diary-section-label{font-size:10.5px;font-weight:850;color:var(--deep);letter-spacing:.05em;text-transform:uppercase;margin-bottom:7px;display:flex;justify-content:space-between;align-items:center}
.mood-chips{display:flex;flex-wrap:wrap;gap:6px}
.mood-chip{border:1.5px solid #ebd8ce;background:#fff;color:var(--ink);border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:5px;transition:.18s;font-family:inherit}
.mood-chip:hover{border-color:var(--rose);background:#fdf6f3}
.mood-chip.active{border-color:var(--rose);background:var(--rose);color:#fff;box-shadow:0 4px 12px rgba(180,95,103,.25)}
.diary-craving-slider-wrap{background:#fff8f4;border:1px solid #ebdacf;border-radius:14px;padding:12px 14px;margin-bottom:12px}
.diary-textarea{width:100%;min-height:85px;border:1.5px solid #ebdacf;border-radius:14px;padding:12px;font-size:13.5px;line-height:1.5;color:var(--ink);background:#fff;box-sizing:border-box;resize:vertical;font-family:inherit}
.diary-textarea:focus{outline:none;border-color:var(--rose);box-shadow:0 0 0 3px rgba(180,95,103,.12)}
.diary-save-btn{margin-top:12px}
.diary-status-msg{margin-top:10px;padding:10px 14px;border-radius:12px;font-size:12.5px;font-weight:700;text-align:center}
.diary-status-msg.success{background:#eaf6ea;border:1px solid #bfe3bd;color:#286427}
.diary-status-msg.error{background:#fdeeee;border:1px solid #f2c7c7;color:#9c2e2e}

/* CALENDAR DOT WITH DIARY ENTRY */
.dot.has-diary{box-shadow:0 0 0 2px var(--rose) !important;position:relative}
.dot.has-diary::after{content:'';position:absolute;width:4px;height:4px;background:#fff;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%)}
.dot.future.has-diary::after{background:var(--rose)}

/* DIARY HISTORY LIST IN MY YEAR */
.diary-history-item{background:var(--paper);border:1.5px solid var(--line);border-radius:16px;padding:14px;margin-bottom:10px;cursor:pointer;transition:.2s}
.diary-history-item:hover{transform:translateY(-1px);border-color:#d8b6a9;box-shadow:0 6px 16px rgba(73,54,62,.07)}
.diary-history-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.diary-history-day{font-weight:850;font-size:13px;color:var(--ink)}
.diary-history-mood{font-size:11px;font-weight:800;padding:2px 9px;border-radius:999px;background:#f7ebe6;color:var(--rose)}
.diary-history-craving{font-size:11px;color:var(--muted);font-weight:700}
.diary-history-note{font-size:12.5px;color:var(--ink);line-height:1.45;margin-top:4px}

/* DIARY MODAL */
.diary-modal-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.diary-modal-date{font-size:12px;font-weight:700;color:var(--muted)}
.diary-modal-mood{font-size:12px;font-weight:800;padding:3px 10px;border-radius:999px;background:#fceeed;color:var(--rose)}
.diary-modal-craving{background:#fff8f3;border:1px solid #edd9ce;border-radius:12px;padding:10px 14px;font-size:13px;color:var(--deep);margin-bottom:14px}
.diary-modal-note{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;font-size:14px;line-height:1.6;color:var(--ink);max-height:260px;overflow-y:auto}

/* SOS SAFE LANDING / FINISH */
.sos-finish-card{text-align:left;padding:22px 18px}
.sos-finish-steps{display:flex;flex-direction:column;gap:10px;margin:14px 0}
.sos-finish-step{display:flex;gap:12px;align-items:flex-start;background:#fff8f3;border:1px solid #ecdacf;border-radius:14px;padding:12px 14px}
.sos-finish-step .step-num{width:24px;height:24px;border-radius:50%;background:var(--rose);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:850;font-size:12px;flex-shrink:0;margin-top:1px}
.sos-finish-step .step-text{font-size:13px;line-height:1.45;color:var(--ink)}
.sos-contacts-box{background:#fdf2ee;border:1.5px solid #ebd2c5;border-radius:14px;padding:14px;margin-top:14px;text-align:center}

/* =========================================================
   SOS VAGUS NERVE MEDITATIVE BREATHING CIRCLE (4-4-6)
   ========================================================= */
.sos-breath-card{background:rgba(255,253,250,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1.5px solid rgba(235,211,200,.85);border-radius:24px;padding:22px 18px 20px;margin-top:14px;text-align:center;box-shadow:0 12px 30px rgba(73,54,62,.08);position:relative;overflow:hidden}
.sos-breath-badge{display:inline-block;font-size:10.5px;font-weight:850;color:var(--rose);letter-spacing:.08em;text-transform:uppercase;background:rgba(245,226,223,.6);padding:3px 10px;border-radius:999px;margin-bottom:6px}
.sos-breath-title{font-family:Georgia,serif;font-size:20px;font-weight:750;color:var(--ink);margin:2px 0 4px}
.sos-breath-sub{font-size:12.5px;color:var(--muted);line-height:1.45;margin:0 auto 16px;max-width:360px}

/* Central Breathing Visual Area */
.sos-breath-stage{position:relative;width:220px;height:220px;margin:10px auto 14px;display:flex;align-items:center;justify-content:center}

/* Background pulsating ripple ring */
.sos-breath-ripple{position:absolute;width:190px;height:190px;border-radius:50%;border:2px solid rgba(217,155,146,.35);background:radial-gradient(circle,rgba(245,226,223,.25) 0%,rgba(245,226,223,0) 70%);pointer-events:none;transition:transform 1.2s ease,opacity 1.2s ease}
.sos-breath-stage.active .sos-breath-ripple{animation:breathRipplePulse 3s infinite ease-in-out}
@keyframes breathRipplePulse{
  0%,100%{transform:scale(1);opacity:.4}
  50%{transform:scale(1.15);opacity:.85}
}

/* Central interactive orb */
.sos-breath-orb{width:148px;height:148px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff7f4,#f5d4ce 45%,#e8a89f 85%,#d8968d 100%);box-shadow:0 10px 30px rgba(180,95,103,.2),inset 0 2px 8px rgba(255,255,255,.8);display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;z-index:2;user-select:none;transform:scale(1);transition:transform .8s ease,box-shadow .8s ease}

/* Phase Transitions: Inhale (4s), Hold (4s), Exhale (6s) */
.sos-breath-orb.breath-inhale{transform:scale(1.35);box-shadow:0 16px 45px rgba(180,95,103,.38),0 0 0 10px rgba(245,218,214,.5),inset 0 3px 12px #fff;transition:transform 4s cubic-bezier(.25,.1,.25,1),box-shadow 4s ease}
.sos-breath-orb.breath-hold{transform:scale(1.35);box-shadow:0 16px 40px rgba(180,95,103,.32),0 0 0 14px rgba(245,218,214,.4),inset 0 3px 12px #fff;transition:transform .4s ease,box-shadow .4s ease}
.sos-breath-orb.breath-exhale{transform:scale(.94);box-shadow:0 6px 18px rgba(180,95,103,.16),0 0 0 0 rgba(245,218,214,0),inset 0 1px 6px #fff;transition:transform 6s cubic-bezier(.25,.1,.25,1),box-shadow 6s ease}

.sos-breath-phase-text{font-family:Georgia,serif;font-size:18px;font-weight:750;color:#442a2f;line-height:1.1;text-shadow:0 1px 2px rgba(255,255,255,.8)}
.sos-breath-sec-text{font-size:32px;font-weight:900;color:var(--rose);line-height:1;margin-top:3px;font-variant-numeric:tabular-nums;text-shadow:0 1px 2px rgba(255,255,255,.8)}
.sos-breath-instruction{min-height:36px;font-size:13.5px;line-height:1.45;color:var(--ink);font-weight:600;margin:6px 0 12px}
.sos-breath-actions{display:flex;flex-direction:column;gap:8px;align-items:center}
.sos-breath-cycle-badge{font-size:11px;font-weight:800;color:var(--muted);background:#fdf5ef;padding:4px 12px;border-radius:999px;border:1px solid #ebd8cd;display:inline-flex;align-items:center;gap:5px}
.sos-breath-science-note{background:#fff8f3;border:1px solid #ebdcd1;border-radius:14px;padding:10px 14px;margin-top:14px;font-size:11.5px;line-height:1.45;color:var(--muted);text-align:left}

/* =========================================================
   BLOOMING GARDEN («ЦВЕТУЩИЙ САД») FOR «МОЙ ГОД»
   ========================================================= */
.garden-hero{background:rgba(255,253,250,.9);border:1.5px solid rgba(235,211,200,.8);border-radius:22px;padding:18px 18px 16px;margin-bottom:16px}
.garden-hero-badge{font-size:10.5px;font-weight:850;color:var(--rose);letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}
.garden-hero h2{font-size:26px;margin:2px 0 6px;color:var(--ink)}
.garden-hero .sub{font-size:13px;color:var(--muted);line-height:1.45;margin-bottom:14px}
.garden-stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding-top:12px;border-top:1px solid #f2e3da}
.garden-stat-item{text-align:center;background:#fff8f3;border:1px solid #ecdcd2;border-radius:14px;padding:8px 4px}
.garden-stat-num{font-family:Georgia,serif;font-size:22px;font-weight:800;color:var(--rose);display:block;line-height:1.1}
.garden-stat-lbl{font-size:10.5px;color:var(--muted);font-weight:700;margin-top:2px;display:block}

/* Botanical Emotional Spectrum Legend */
.garden-spectrum-card{background:rgba(255,255,255,.75);border:1px solid rgba(229,216,207,.85);border-radius:18px;padding:14px 16px;margin-bottom:16px;box-shadow:0 3px 12px rgba(73,54,62,.03)}
.garden-spectrum-title{font-size:10.5px;font-weight:850;letter-spacing:.07em;color:var(--deep);text-transform:uppercase;margin-bottom:10px;display:flex;justify-content:space-between;align-items:center}
.garden-spectrum{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;font-size:11.5px;color:var(--ink)}
@media(max-width:360px){.garden-spectrum{grid-template-columns:1fr}}
.spectrum-item{display:flex;align-items:center;gap:7px;padding:5px 8px;border-radius:10px;transition:all .18s ease;cursor:pointer;user-select:none;border:1px solid transparent}
.spectrum-item:hover{background:rgba(255,255,255,.9);border-color:rgba(217,155,146,.4);transform:translateY(-1px)}
.spectrum-item.active-filter{background:#fff0ea;border-color:var(--rose);box-shadow:0 2px 8px rgba(180,95,103,.15);font-weight:750}
.spectrum-icon{font-size:15px;width:20px;text-align:center;flex-shrink:0}

/* Garden Grid Header Banner */
.garden-grid-header{background:linear-gradient(135deg,rgba(255,250,246,.95),rgba(255,244,238,.9));border:1px solid rgba(229,216,207,.9);border-radius:18px;padding:14px 16px;margin-bottom:12px;box-shadow:0 3px 10px rgba(73,54,62,.03)}
.garden-grid-title-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}
.garden-grid-title{font-size:12px;font-weight:850;letter-spacing:.06em;color:var(--deep);text-transform:uppercase}
.garden-grid-badge{font-size:11px;font-weight:750;background:var(--rose);color:#fff;padding:3px 10px;border-radius:999px;white-space:nowrap}
.garden-grid-hint{font-size:12px;color:var(--muted);line-height:1.45}
.garden-grid-hint b{color:var(--ink)}

/* 365 Garden Grid of Living Cells */
.garden-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:5px;padding:12px;background:rgba(255,255,255,.65);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(229,216,207,.85);border-radius:20px;box-shadow:0 4px 16px rgba(73,54,62,.04)}
@media(max-width:400px){.garden-grid{grid-template-columns:repeat(10,1fr);gap:4px;padding:8px}}
.garden-cell{aspect-ratio:1;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:14px;cursor:pointer;background:rgba(255,250,245,.7);border:1px solid rgba(235,222,214,.85);transition:transform .18s ease,box-shadow .18s ease,background .18s ease,opacity .2s ease;user-select:none;position:relative}
.garden-cell:hover{transform:scale(1.3);z-index:10;box-shadow:0 6px 16px rgba(73,54,62,.18);background:#fff;border-color:var(--rose)}
.garden-cell.bloomed{background:rgba(255,243,240,.95);border-color:rgba(217,155,146,.65);box-shadow:0 2px 6px rgba(180,95,103,.08)}
.garden-cell.today-sprout{background:#fff8f0;border:2px solid #d99b92;box-shadow:0 0 0 3px rgba(217,155,146,.3);animation:sproutGlowPulse 2.4s infinite ease-in-out}
.garden-cell.dimmed{opacity:.18;transform:scale(0.92)}
.garden-cell.highlighted{transform:scale(1.35);z-index:12;box-shadow:0 0 0 3px var(--rose),0 6px 16px rgba(180,95,103,.28);background:#fff}
@keyframes sproutGlowPulse{
  0%,100%{transform:scale(1);box-shadow:0 0 0 3px rgba(217,155,146,.3)}
  50%{transform:scale(1.12);box-shadow:0 0 0 6px rgba(217,155,146,.48)}
}
.garden-cell.future-seed{opacity:.55;background:rgba(246,240,235,.4);border-color:rgba(230,220,213,.55);font-size:11px}
.garden-cell.elapsed-past{opacity:.78;background:rgba(248,239,234,.65);border-color:rgba(228,214,206,.7)}

/* SOS VISUAL SCHEMATICS (FOR FOGGY MIND & SENSORY RELIEF) */
.sos-visual-card{background:#fffaf6;border:1px solid #eedcd2;border-radius:18px;padding:14px;margin-bottom:14px;box-shadow:0 4px 14px rgba(73,54,62,.04);text-align:left}
.sos-visual-badge{display:inline-block;font-size:10px;font-weight:850;color:var(--rose);letter-spacing:.08em;background:#fff0eb;border:1px solid #f2d5cb;border-radius:999px;padding:3px 10px;margin-bottom:8px;text-transform:uppercase}
.sos-anatomy-box{display:flex;flex-direction:column;align-items:center;background:#fff;border:1px solid #f1e4db;border-radius:14px;padding:12px 10px;margin-bottom:12px}
.sos-anatomy-svg{width:100%;max-width:280px;height:auto;display:block}
.sos-steps-list{display:flex;flex-direction:column;gap:8px}
.sos-step-row{display:flex;align-items:flex-start;gap:9px;font-size:12.5px;line-height:1.45;color:var(--ink)}
.sos-step-num{width:22px;height:22px;border-radius:50%;background:var(--rose);color:#fff;font-size:11.5px;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px}

/* SOS Sound Toggle */
.sos-sound-btn{background:#fffdfa;border:1px solid var(--line);border-radius:999px;padding:4px 11px;font-size:11px;font-weight:750;color:var(--rose);cursor:pointer;display:inline-flex;align-items:center;gap:4px;transition:all .18s ease}
.sos-sound-btn:hover{background:#fff;border-color:var(--rose2);box-shadow:0 2px 8px rgba(73,54,62,.06)}
.sos-sound-btn.muted{color:var(--muted);background:#f4ebe4;border-color:#e4d6cc}

/* Profile Diary Backup */
.profile-backup-box{margin-top:16px;padding:16px;background:#fffdfa;border:1px solid var(--line);border-radius:18px;text-align:left}
.profile-backup-title{font-size:11px;font-weight:850;letter-spacing:.08em;color:var(--rose);text-transform:uppercase;margin-bottom:6px}

/* Paywall & Trial Styles */
.paywall-card{max-width:440px;text-align:center;position:relative;padding:26px 20px}
.paywall-badge{display:inline-block;font-size:10.5px;font-weight:850;letter-spacing:.08em;color:var(--rose);background:#fff0ea;border:1px solid #f3d4cb;border-radius:999px;padding:4px 14px;margin-bottom:12px;text-transform:uppercase}
.paywall-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:26px;color:var(--deep);margin:0 0 10px;line-height:1.2}
.paywall-sub{font-size:13px;color:var(--muted);line-height:1.5;margin:0 0 18px}
.paywall-features{text-align:left;background:#fffdfa;border:1px solid var(--line);border-radius:16px;padding:14px 16px;margin-bottom:18px;display:flex;flex-direction:column;gap:10px}
.paywall-feature-item{display:flex;align-items:flex-start;gap:10px;font-size:12.5px;color:var(--ink);line-height:1.4}
.paywall-feature-item span{font-size:16px;flex-shrink:0}
.paywall-pricing{margin-bottom:16px;display:flex;align-items:baseline;justify-content:center;gap:10px}
.paywall-price-old{font-size:16px;color:var(--muted);text-decoration:line-through}
.paywall-price-now{font-family:'Cormorant Garamond',Georgia,serif;font-size:32px;font-weight:700;color:var(--deep)}
.paywall-price-now small{font-family:'Plus Jakarta Sans',sans-serif;font-size:11.5px;color:var(--muted);font-weight:500;display:block}
.paywall-pay-btn{font-size:14.5px!important;padding:14px 18px!important;box-shadow:0 6px 18px rgba(180,95,103,.28)!important;margin-bottom:16px}
.paywall-promo-wrap{background:#fbf7f4;border:1px dashed #dfd0c7;border-radius:14px;padding:12px;margin-bottom:14px}
.paywall-promo-label{font-size:11px;color:var(--muted);font-weight:700;margin-bottom:8px}
.paywall-promo-row{display:flex;gap:8px}
.paywall-promo-row input{font-size:13px!important;padding:8px 10px!important;flex:1}
.paywall-promo-row button{padding:8px 14px!important;font-size:12px!important;white-space:nowrap}
.paywall-promo-msg{font-size:11px;margin-top:6px;font-weight:600;min-height:16px}
.paywall-test-dev{margin-top:10px;padding-top:10px;border-top:1px solid #f2e5dc}
.btn-text-muted{background:none;border:none;color:#998580;font-size:11px;cursor:pointer;text-decoration:underline}
.btn-text-muted:hover{color:var(--deep)}

/* Paywall Paper on Today Screen */
.paywall-paper{text-align:center;padding:28px 20px!important}
.paywall-lock-icon{font-size:42px;margin-bottom:8px}
.paywall-price-banner{display:flex;align-items:center;justify-content:center;gap:8px;margin:18px 0;background:#fff8f4;border:1px solid #f2dfd5;border-radius:12px;padding:10px 14px}
.paywall-price-banner .price-old{font-size:14px;color:var(--muted);text-decoration:line-through}
.paywall-price-banner .price-main{font-family:'Cormorant Garamond',Georgia,serif;font-size:26px;font-weight:700;color:var(--rose)}
.paywall-price-banner .price-badge{font-size:11px;color:var(--muted)}
.trial-pill-badge{display:inline-flex;align-items:center;gap:5px;background:#fff5ee;border:1px solid #f0d5c8;color:var(--deep);font-size:11px;font-weight:750;border-radius:999px;padding:3px 10px;margin-bottom:12px}

/* ==========================================================================
   КОНТЕНТНАЯ И АВТОРСКАЯ ЗАЩИТА (CONTENT & DRM PROTECTION)
   ========================================================================== */
.daily, .gamecard, .article, .soshead, .sosbox, .self-reading-sheet, .modal-card {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Разрешаем ввод и выделение только в полях для личных заметок и промокодов */
input, textarea, [contenteditable="true"] {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Запрет на перетаскивание изображений */
img {
  -webkit-user-drag: none;
  user-drag: none;
}

/* Всплывающее уведомление о защите авторских прав */
.copyright-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(47, 39, 38, 0.94);
  color: #fffaf5;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  text-align: center;
  max-width: 90vw;
  white-space: nowrap;
}

.copyright-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Видимые блоки авторских прав на экранах */
.auth-copyright-badge {
  margin-top: 18px;
  padding: 10px 14px;
  background: #fff8f3;
  border: 1px dashed var(--line);
  border-radius: 14px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}

.global-copyright-footer {
  text-align: center;
  padding: 24px 12px 20px;
  margin-top: 24px;
  border-top: 1px dashed var(--line);
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

.global-copyright-brand {
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--deep);
  margin-bottom: 3px;
}

.paywall-copyright-note {
  margin-top: 14px;
  padding: 10px 12px;
  background: #fff8f4;
  border: 1px solid #f2ded3;
  border-radius: 12px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}

/* ==============================================================================
 * PWA INSTALL BANNER & PROMPT
 * ============================================================================== */
.pwa-install-banner {
  position: fixed;
  bottom: 82px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 460px);
  background: rgba(255, 252, 249, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(73, 54, 62, 0.15), 0 2px 8px rgba(73, 54, 62, 0.06);
  padding: 10px 14px;
  z-index: 95;
  animation: pwaSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pwa-install-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pwa-install-icon {
  flex-shrink: 0;
  display: flex;
}

.pwa-install-text {
  flex: 1;
  min-width: 0;
}

.pwa-install-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.pwa-install-desc {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pwa-install-dismiss {
  background: transparent;
  border: 0;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  border-radius: 50%;
  transition: 0.15s;
}

.pwa-install-dismiss:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
}

@keyframes pwaSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 18px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.pwa-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  background: #f4ece4;
  padding: 4px;
  border-radius: 14px;
}

.pwa-tab-btn {
  flex: 1;
  padding: 8px 4px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
  font-family: inherit;
}

.pwa-tab-btn.active {
  background: #ffffff;
  color: var(--deep);
  box-shadow: 0 2px 8px rgba(73, 54, 62, 0.1);
}

.pwa-step-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
}

.pwa-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}

.pwa-tip-box {
  background: #fff8f3;
  border: 1px solid #f2dfd5;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--deep);
  margin-top: 14px;
}

#pwaInstallModal, #profileModal, #paywallModal, #lockedModal, #slipSupportModal, #moneySettingsModal {
  z-index: 999999 !important;
}

input[type="search"], input[type="text"].searchinput {
  -webkit-appearance: none !important;
  appearance: none !important;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  display: none !important;
}

/* GORGEOUS DYNAMIC RANGE SLIDER */
input[type=range].slider {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100% !important;
  height: 10px !important;
  background: #f0ded6;
  border-radius: 999px !important;
  outline: none !important;
  border: 1px solid #ebd4c8 !important;
  cursor: pointer !important;
  transition: background 0.1s ease;
}
input[type=range].slider::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  cursor: grab !important;
  box-shadow: 0 2px 8px rgba(73,54,62,0.25), 0 0 0 3.5px var(--slider-thumb-color, #9b3e49) !important;
  border: 2.5px solid #ffffff !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
input[type=range].slider:active::-webkit-slider-thumb {
  cursor: grabbing !important;
  transform: scale(1.15);
  box-shadow: 0 4px 14px rgba(73,54,62,0.35), 0 0 0 4px var(--slider-thumb-color, #9b3e49) !important;
}
input[type=range].slider::-moz-range-thumb {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  cursor: grab !important;
  box-shadow: 0 2px 8px rgba(73,54,62,0.25), 0 0 0 3.5px var(--slider-thumb-color, #9b3e49) !important;
  border: 2.5px solid #ffffff !important;
}

/* MONEY PROMINENT DAY BOX */
.money-day-box {
  background: #ffffff;
  border: 1.5px solid #c2e2bf;
  border-radius: 18px;
  padding: 16px 16px 14px;
  margin-top: 14px;
  text-align: left;
  box-shadow: 0 4px 14px rgba(44,107,65,.06);
}
.money-day-box-title {
  font-size: 11.5px;
  font-weight: 850;
  color: #1f6333;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.money-day-box-desc {
  font-size: 12px;
  color: #4b7357;
  line-height: 1.45;
  margin-bottom: 12px;
}
.money-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.money-day-input-prominent {
  width: 100%;
  border: 2px solid #b6e0b3;
  border-radius: 14px;
  padding: 12px 38px 12px 14px;
  font-size: 16px;
  font-weight: 750;
  background: #f9fef9;
  font-family: inherit;
  color: #1a4d29;
  box-sizing: border-box;
}
.money-day-input-prominent:focus {
  outline: none;
  border-color: #2c6b41;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(44,107,65,.14);
}
.money-currency-label {
  position: absolute;
  right: 14px;
  font-size: 16px;
  font-weight: 800;
  color: #2c6b41;
}
.money-save-day-btn {
  width: 100%;
  background: #2c6b41;
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 12px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 4px 12px rgba(44,107,65,.2);
}
.money-save-day-btn:hover {
  background: #235834;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(44,107,65,.28);
}
.money-status-msg {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 750;
  margin-top: 8px;
  text-align: center;
  background: #eaf6ec;
  color: #236136;
  border: 1px solid #b6e2be;
}
.money-gear-btn-prominent {
  width: 100%;
  border: 1.5px solid #b5dcb0;
  background: #ffffff;
  color: #266b3b;
  font-size: 12.5px;
  font-weight: 800;
  border-radius: 14px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(44,107,65,.08);
}
.money-gear-btn-prominent:hover {
  background: #eef7ed;
  border-color: #2c6b41;
  transform: translateY(-1px);
}