@import url('/fonts.css');
:root{font-family:Arial,Helvetica,sans-serif;color:#352c36;background:#fdf2f6;font-synthesis:none;--plum:#5a2b4b;--rose:#cf426c;--muted:#7c6675;--line:#edd6e2;--pink-subtle:#fff5f9;--pink-glow:rgba(235,116,155,0.12)}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 0%,#fef0f5 0%,#fbf2f6 50%,#f9eef3 100%);min-height:100vh;position:relative;overflow-x:hidden}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button{border:0;background:none;color:inherit}a{color:var(--plum)}.shell{display:grid;grid-template-columns:230px 1fr;min-height:100vh;position:relative;z-index:1}.sidebar{background:rgba(255,248,251,0.94);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-right:1px solid #edd5e2;padding:35px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{font:48px Georgia;color:var(--plum);letter-spacing:-3px;margin:0 14px 5px}.brand span{color:#d75279}.tagline{font-size:11px;font-weight:700;letter-spacing:1px;line-height:1.4;color:var(--muted);margin:0 14px 44px;text-transform:uppercase}.nav{display:grid;gap:9px}.nav button{text-align:left;padding:15px 18px;border-radius:12px;font-size:15px;display:flex;align-items:center;gap:14px;color:#5a2b4b;transition:all .18s ease}.nav button:hover{background:#fdf1f6;color:var(--plum)}.nav button.active{background:linear-gradient(135deg,#fae6ef 0%,#f7dbe7 100%);color:var(--plum);font-weight:700;box-shadow:0 3px 10px rgba(215,82,121,0.08)}.nav svg{width:20px;height:20px}.sidefoot{margin-top:auto;padding:22px 12px 0;font-size:13px;line-height:1.7;color:var(--muted)}.sidefoot strong{color:var(--plum)}main{max-width:1350px;width:100%;padding:32px 44px;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}.eyebrow{font-size:12px;letter-spacing:1.8px;text-transform:uppercase;color:var(--muted);font-weight:700}.device{border:1px solid #ecd5e2;border-radius:30px;padding:10px 16px;font-size:13px;background:rgba(255,248,251,0.95);box-shadow:0 2px 8px rgba(215,82,121,0.04)}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}h1{font:38px/1.2 Georgia;margin:0 0 9px;letter-spacing:-1px}h2{font:25px/1.3 Georgia;margin:0 0 14px}h3{font-size:16px;margin:0 0 12px}p{line-height:1.6;margin:8px 0;color:var(--muted)}.btn{background:linear-gradient(135deg,var(--plum) 0%,#79345d 100%);color:white;border-radius:12px;padding:14px 22px;font-weight:600;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 4px 14px rgba(97,57,85,0.14)}.btn.light{background:#f9eaf1;color:var(--plum);border:1px solid #ebd3df;box-shadow:none}.btn.danger{background:#a6384f}.grid{display:grid;grid-template-columns:1.13fr 1fr;gap:24px}.card{background:linear-gradient(135deg,rgba(255,255,255,0.97) 0%,rgba(255,249,252,0.96) 100%);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid #edd5e2;border-radius:20px;padding:26px;box-shadow:0 6px 24px rgba(215,82,121,0.05)}.cycle-card{background:linear-gradient(135deg,rgba(253,241,247,0.96) 0%,rgba(249,232,242,0.96) 100%);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid #ead0df;position:relative;overflow:hidden;min-height:375px;box-shadow:0 8px 28px rgba(215,82,121,0.07)}.card-head{display:flex;justify-content:space-between;align-items:center;gap:14px}.pill{font-size:12px;background:#fff8fc;border:1px solid #edd2e1;border-radius:30px;padding:7px 11px;color:var(--plum)}.ring{width:248px;height:248px;position:relative;margin:12px auto 18px;display:grid;place-items:center}.ring svg{width:100%;height:100%;position:absolute;transform:rotate(-90deg)}.ring-inner{background:rgba(255,252,254,0.96);border:1px solid #ebd3e0;border-radius:50%;width:188px;height:188px;text-align:center;display:flex;flex-direction:column;justify-content:center;box-shadow:0 4px 16px rgba(215,82,121,0.06)}.ring-inner strong{font:65px Georgia;color:var(--plum);line-height:1.1}.ring-inner span{font-size:13px;color:var(--muted)}.cycle-caption{text-align:center;font-size:14px;color:var(--plum)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}.stat{padding:21px;background:rgba(255,250,253,0.95);border:1px solid #ebd5e1}.stat small{color:var(--muted);font-size:13px}.stat strong{font:22px Georgia;display:block;margin:12px 0 8px;color:var(--plum)}.stat p{font-size:13px;margin:0}.calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.calendar-head h2{margin:0}.month-buttons{display:flex;gap:5px}.iconbtn{width:36px;height:36px;border:1px solid #ebd5e1;background:#fff8fc;border-radius:50%;font-size:20px;color:var(--plum);transition:all .15s ease}.iconbtn:hover{background:#fae7f0;border-color:var(--rose)}.week,.days{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.week{font-size:12px;color:var(--muted);text-align:center;margin-bottom:14px}.day{aspect-ratio:1;min-height:34px;max-height:47px;border-radius:50%;font-size:14px;margin:auto;width:100%;position:relative}.day.today{outline:none}.day.period{background:#f8c7d6;color:#6f1d32;border:1px solid #f2a6bd;font-weight:700}.day.fertile{background:#ecd7f5;color:#572670}.day.ovulation{background:#765287;color:white}.day.predicted{border:1px dashed #cf5c80;background:#fff0f5;color:#8b3250}.day.safe-deep,.day.safe{background:#c8edd6;color:#0b5327;font-weight:700;border:1px solid #7bc698}.day.safe-deep:hover,.day.safe:hover{background:#b1e4c2}.day.safe-faint{background:#f1f9f4;color:#276840;border:1.5px dashed #8ecfaa;font-weight:500}.day.safe-faint:hover{background:#e0f3e7}.day.selected{box-shadow:0 0 0 3px #d988ab}.legend{display:flex;flex-wrap:wrap;gap:15px;font-size:12px;color:var(--muted);margin-top:24px}.legend span:before{content:'';display:inline-block;width:8px;height:8px;background:#f8c7d6;border-radius:50%;margin-right:6px}.legend span:nth-child(2):before{background:#ecd7f5}.legend span:nth-child(3):before{background:#765287}.legend span.legend-faint:before{background:#a4dcbc;border:1px dashed #5ea67e}.legend span.legend-deep:before,.legend span.legend-safe:before{background:#1e824c}.selected-info{border-top:1px solid #ebd5e1;padding-top:16px;margin-top:18px;font-size:13px;line-height:1.5;color:var(--muted)}.selected-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px;flex-wrap:wrap}.forecast-summary{margin:6px 0 10px;font-size:13px;line-height:1.5;color:var(--muted)}.saved-tag{font-size:12px;color:#1e5e3a;margin:4px 0;font-weight:600}.text-safe-deep,.text-safe{color:#0b5327 !important}.text-safe-faint{color:#276840 !important}.text-fertile{color:#613777 !important}.text-ovulation{color:#765287 !important}.text-plum{color:var(--plum) !important}.ring-sub{font-size:12px !important;font-weight:600;color:var(--plum)}.status-badge{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;padding:3px 10px;border-radius:16px;white-space:nowrap}.status-badge.safe-deep,.status-badge.safe{background:#c8edd6;color:#0b5327;border:1px solid #7bc698}.status-badge.safe-faint{background:#f1f9f4;color:#276840;border:1.5px dashed #8ecfaa}.status-badge.fertile{background:#ecd7f5;color:#572670;border:1px solid #d8c2e6}.status-badge.ovulation{background:#765287;color:white}.status-badge.period{background:#f8c7d6;color:#6f1d32;border:1px solid #f2a6bd}.status-badge.predicted{background:#fff0f5;color:#8b3250;border:1px dashed #cf5c80}.status-badge.unknown{background:#f4ebf1;color:#756d79}.lower{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.chips{display:flex;flex-wrap:wrap;gap:9px;margin:19px 0}.chip{border:1px solid #ead0df;padding:11px 15px;border-radius:24px;font-size:14px;background:#fff8fc;transition:all .18s ease}.chip:hover{background:#fae8f1;border-color:var(--rose)}.chip.on{background:#f7dce8;border-color:#d491b4;color:var(--plum);font-weight:600}.callout{border-left:3px solid var(--rose);padding:4px 0 4px 15px;margin-top:24px;font-size:13px;line-height:1.6;color:var(--muted);background:rgba(255,245,249,0.5);border-radius:0 8px 8px 0}.textbtn{color:var(--plum);text-decoration:underline;padding:6px 0;font-size:14px}.note{font-size:13px;line-height:1.7}.empty{text-align:center;padding:28px 20px}.empty p{max-width:390px;margin:12px auto 20px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{display:grid;gap:8px;font-size:14px;line-height:1.4;margin-bottom:18px;color:#4c2c43;font-weight:600}input,select,textarea{width:100%;padding:12px;border:1px solid #e5c9d9;border-radius:10px;background:#fffbfd;color:#352c36;min-width:0;transition:border-color .2s,box-shadow .2s}input:focus,select:focus,textarea:focus{border-color:var(--rose);box-shadow:0 0 0 3px rgba(215,82,121,0.12);outline:none;background:#ffffff}textarea{resize:vertical;min-height:85px}dialog{border:1px solid #ead0df;border-radius:22px;padding:30px;width:min(520px,92vw);max-height:90vh;box-shadow:0 30px 90px rgba(97,57,85,0.22);background:linear-gradient(135deg,#ffffff 0%,#fef7fa 100%)}dialog::backdrop{background:rgba(48,22,41,0.45);backdrop-filter:blur(4px)}.modalhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modalhead h2{margin:0}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.error{color:#a32d48;font-size:14px}.row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:17px 0;border-bottom:1px solid #ebd5e1}.row small{display:block;color:var(--muted);margin-top:7px}.wide{max-width:850px}.reading{margin:20px 0;line-height:1.75}.reading summary{font-weight:600;cursor:pointer;padding:12px 0;color:var(--plum)}.reading p{font-size:15px}.meter{height:8px;background:#f5e5ee;border-radius:6px;overflow:hidden;margin:12px 0}.meter div{height:100%;background:linear-gradient(90deg,var(--plum),var(--rose))}.privacy-box{background:#faeef4;border:1px solid #ecd3e0;border-radius:14px;padding:20px;margin-top:20px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#451f38;color:white;padding:14px 22px;border-radius:12px;z-index:5;display:none;max-width:90vw;box-shadow:0 8px 24px rgba(69,31,56,0.3)}.footer{font-size:12px;margin:28px 0 0;color:var(--muted)}.mobile-brand{display:none}.checklabel{display:flex;align-items:flex-start}.checklabel input{width:auto;margin-top:3px}.muted{color:var(--muted)}@media(min-width:1500px){main{padding:45px 60px}}@media(max-width:1100px){.shell{grid-template-columns:190px 1fr}main{padding:25px}.sidebar{padding:28px 12px}.grid{gap:16px}.card{padding:21px}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stat strong{font-size:20px}}@media(max-width:800px){.shell{display:block}.sidebar{height:auto;position:fixed;top:auto;bottom:0;width:100%;padding:7px;background:rgba(255,248,251,0.98);z-index:3;border-top:1px solid #edd5e2}.sidebar .brand,.tagline,.sidefoot{display:none}.nav{display:flex;justify-content:space-around;gap:0}.nav button{flex:1;padding:9px 2px;flex-direction:column;gap:6px;font-size:11px;border-radius:9px}.nav svg{width:20px}.mobile-brand{display:block;font:32px Georgia;color:var(--plum)}main{padding:24px 20px 105px}.topbar{margin-bottom:25px}.topbar .eyebrow{display:none}.heading{align-items:flex-start}h1{font-size:32px}.heading p{font-size:14px}.heading .btn{padding:12px 15px;white-space:nowrap}.grid,.lower{grid-template-columns:1fr}.stats{grid-template-columns:1fr;gap:10px;margin:16px 0}.stat{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:7px}.stat strong{margin:0;text-align:right}.stat p{grid-column:1/-1}.cycle-card{min-height:350px}.day{max-height:44px}.formgrid{grid-template-columns:1fr}.device{font-size:12px}.ring{width:230px;height:230px}.ring-inner{width:175px;height:175px}}
.btn.google{background:#fff;color:#3c4043;border:1px solid #dadce0;width:100%;margin-bottom:16px;box-shadow:0 1px 2px rgba(60,64,67,.08);transition:background .2s,box-shadow .2s;display:flex;align-items:center;justify-content:center;gap:12px;font-weight:600}.btn.google:hover{background:#f8f9fa;box-shadow:0 1px 3px rgba(60,64,67,.2)}.btn.google svg{width:18px;height:18px;flex-shrink:0}.auth-divider{display:flex;align-items:center;text-align:center;margin:16px 0;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:1px}.auth-divider::before,.auth-divider::after{content:'';flex:1;border-bottom:1px solid var(--line)}.auth-divider:not(:empty)::before{margin-right:.8em}.auth-divider:not(:empty)::after{margin-left:.8em}.verify-box{background:#fdf6e9;border:1px solid #f5d799;border-radius:12px;padding:16px;margin:14px 0;font-size:13px;line-height:1.5;color:#855a00}
.email-optin-card{background:#faf6f9;border:1px solid #ebdbe5;border-radius:16px;padding:22px;margin-top:20px}.email-toggle-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f0e4ec}.email-toggle-row:last-child{border-bottom:none}.email-toggle-row label{margin:0;display:flex;align-items:center;gap:10px;font-size:14px;cursor:pointer}.email-preview-frame{width:100%;height:380px;border:1px solid var(--line);border-radius:12px;background:#f8f7f9;margin-top:14px}
.oracle-hero{background:linear-gradient(135deg,#fcf8fb 0%,#f5eaf2 50%,#f0f7f3 100%);border:1px solid #ebdbe5;border-radius:22px;padding:32px 30px;margin-bottom:26px;position:relative;overflow:hidden}.oracle-hero h1{font:36px Georgia,serif;color:var(--plum);margin:0 0 10px}.oracle-hero p{font-size:15px;line-height:1.7;color:var(--muted);max-width:750px;margin:0 0 18px}.oracle-badges{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.oracle-badge{background:#ffffffcc;border:1px solid #e2d2de;border-radius:20px;padding:6px 14px;font-size:12px;font-weight:600;color:var(--plum);display:inline-flex;align-items:center;gap:6px}.oracle-chips{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.oracle-chip{background:#fff;border:1px solid #e5d7e2;border-radius:20px;padding:9px 15px;font-size:13px;color:var(--plum);cursor:pointer;transition:all .18s ease;display:inline-flex;align-items:center;gap:6px}.oracle-chip:hover{background:#f3e8f1;border-color:var(--plum);transform:translateY(-1px)}.oracle-stream{display:grid;gap:20px;margin-bottom:24px}.oracle-bubble{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 3px 14px rgba(97,57,85,0.03);scroll-margin-top:20px}.oracle-bubble.user{background:#f7eef5;border-color:#ebd1e2;margin-left:auto;max-width:85%}.oracle-bubble.ai{background:#ede0eb;border-left:4px solid var(--plum);max-width:100%}.oracle-bubble-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:12px;font-weight:700;color:var(--plum);text-transform:uppercase;letter-spacing:1px}.oracle-content{font-size:15px;line-height:1.75;color:#352c36}.oracle-content h2,.oracle-content h3{font-family:Georgia,serif;color:var(--plum);margin:18px 0 8px}.oracle-content ul{padding-left:22px;margin:10px 0}.oracle-content li{margin-bottom:7px}.oracle-content strong{color:var(--plum)}.oracle-content blockquote{margin:14px 0;padding:10px 16px;background:#faf5f9;border-left:3px solid var(--rose);font-style:italic;color:#613955;border-radius:0 10px 10px 0}.oracle-input-box{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 20px;box-shadow:0 6px 24px rgba(97,57,85,0.06);position:sticky;bottom:20px;z-index:2}.oracle-form{display:flex;gap:12px;align-items:center}.oracle-textarea{flex:1;border:1px solid #ddd1db;border-radius:12px;padding:12px 16px;font-size:15px;line-height:1.4;outline:none;background:#faf8f9;transition:border .2s}.oracle-textarea:focus{border-color:var(--plum);background:#fff}.oracle-pulse{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--plum);font-style:italic;padding:12px 0}

/* ── PREGNANCY & CONCEPTION STYLING (FLOWERR LUXURY) ────────────────────────── */
.pregnancy-home-banner{background:linear-gradient(135deg,#fcf8fb 0%,#f5eaf2 50%,#eef8f2 100%);border:1px solid #ebdbe5;border-radius:22px;padding:26px 28px;margin-bottom:26px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;box-shadow:0 6px 24px rgba(97,57,85,0.04)}
.preg-banner-left{flex:1;min-width:280px}
.preg-badge-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.preg-badge{background:#ffffffcc;border:1px solid #e2d2de;border-radius:20px;padding:5px 12px;font-size:12px;font-weight:700;color:var(--plum);display:inline-flex;align-items:center;gap:5px}
.preg-badge.trimester{background:#e0f2fe;color:#0369a1;border-color:#bae6fd}
.preg-badge.due{background:#fef3c7;color:#92400e;border-color:#fde68a}
.preg-hero-title{font:26px Georgia,serif;color:var(--plum);margin:0 0 8px;line-height:1.3}
.preg-hero-sub{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 16px;max-width:680px}
.preg-banner-actions{display:flex;gap:10px;flex-wrap:wrap}
.preg-banner-visual{display:flex;justify-content:center;align-items:center}
.preg-circle{width:130px;height:130px;border-radius:50%;background:linear-gradient(135deg,#ffffff 0%,#faf4f8 100%);border:2px solid #ebdbe5;display:flex;flex-direction:column;justify-content:center;align-items:center;box-shadow:0 8px 24px rgba(97,57,85,0.08)}
.preg-circle-emoji{font-size:42px;line-height:1;margin-bottom:4px}
.preg-circle-week{font-size:12px;font-weight:700;color:var(--plum)}
.preg-circle-pct{font-size:11px;color:var(--muted)}

.journey-feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin:22px 0 10px}
.journey-feature-box{background:#ffffffcc;border:1px solid #ebdbe5;border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:6px}
.journey-feature-box .jfb-icon{font-size:26px}
.journey-feature-box strong{font-size:14px;color:var(--plum)}
.journey-feature-box p{font-size:13px;line-height:1.5;color:var(--muted);margin:0}

.preg-status-pills{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.preg-progress-track{width:100%;height:14px;background:#ede7ec;border-radius:10px;position:relative;margin:18px 0 24px;overflow:hidden}
.preg-progress-fill{height:100%;background:linear-gradient(90deg,var(--rose) 0%,#a855f7 50%,#059669 100%);border-radius:10px;transition:width .4s ease}
.preg-trimester-markers{display:flex;justify-content:space-between;margin-top:6px;font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.8px}
.preg-trimester-markers .marker.active{color:var(--plum);font-weight:700}

.week-nav-bar{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 20px;display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}
.week-nav-title{display:flex;align-items:center;font-size:15px;color:var(--plum)}

.preg-baby-hero{display:flex;gap:20px;align-items:center;padding:12px 0}
.preg-baby-avatar{width:96px;height:96px;border-radius:24px;background:#faf3f8;border:1px solid #ecdbe6;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.preg-baby-meta{flex:1}

.preg-body-section p{margin:4px 0 12px;font-size:14px;line-height:1.65;color:#4a3f49}

.preg-roadmap-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:16px}
.roadmap-item{background:#faf8f9;border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:5px;position:relative}
.roadmap-item.done{background:#f0fdf4;border-color:#bbf7d0}
.roadmap-item .rm-week{font-size:11px;font-weight:700;color:var(--plum);text-transform:uppercase;letter-spacing:.8px}
.roadmap-item.done .rm-week{color:#059669}
.roadmap-item strong{font-size:13px;color:#352c36;line-height:1.3}
.roadmap-item small{font-size:12px;color:var(--muted);line-height:1.4}

.preg-tab-toggle{display:flex;gap:8px;background:#faf5f9;border:1px solid #ebdbe5;border-radius:12px;padding:4px;margin-bottom:18px}
.preg-radio-label{flex:1;text-align:center;margin:0;cursor:pointer}
.preg-radio-label input{display:none}
.preg-radio-label span{display:block;padding:8px 6px;border-radius:8px;font-size:13px;font-weight:600;color:var(--muted);transition:all .2s}
.preg-radio-label input:checked + span{background:#fff;color:var(--plum);box-shadow:0 2px 6px rgba(97,57,85,0.08)}
.preg-calc-field{margin-bottom:14px}

/* ── SMART FAMILY PROFILES & CYCLE RING ENHANCEMENTS ────────────────────────── */
.profile-selector-pill{display:inline-flex;align-items:center;gap:8px;background:#ffffff;border:1px solid #ebdbe5;padding:7px 15px;border-radius:24px;font-size:13px;font-weight:600;color:var(--plum);cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px rgba(97,57,85,0.04)}
.profile-selector-pill:hover{background:#fdf6fa;border-color:var(--plum);transform:translateY(-1px);box-shadow:0 4px 12px rgba(97,57,85,0.08)}
.profile-avatar-emoji{font-size:16px;line-height:1}
.profile-badge-small{font-size:12px;font-weight:600;background:#ffffffd4;border:1px solid #ebdbe5;color:var(--plum);padding:4px 10px;border-radius:14px;display:inline-flex;align-items:center;gap:5px}
.profile-item-card{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:#faf7f9;border:1px solid #ebdbe5;border-radius:16px;margin-bottom:12px;gap:12px;transition:all .2s ease}
.profile-item-card.active{background:#fff;border:2px solid var(--plum);box-shadow:0 6px 18px rgba(97,57,85,0.08)}
.profile-item-left{display:flex;align-items:center;gap:14px}
.profile-item-avatar{width:46px;height:46px;border-radius:50%;background:#f3e8f1;display:flex;align-items:center;justify-content:center;font-size:22px}
.profile-relation-pill{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;padding:3px 8px;border-radius:10px;background:#ebdbe5;color:var(--plum)}
.avatar-picker-grid{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 16px}
.avatar-choice-btn{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:20px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}
.avatar-choice-btn.selected{border:2px solid var(--plum);background:#f3e8f1;transform:scale(1.1)}
.today-dashboard-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:24px;margin-bottom:24px}
@media(max-width:1000px){.today-dashboard-grid{grid-template-columns:1fr}}

/* ── AMBIENT FLOWER & PINK BALLOON-BUBBLE BACKGROUND ────────────────────────── */
.flower-ambient-bg{
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  pointer-events:none;
  overflow:hidden;
  z-index:0;
  background:
    radial-gradient(ellipse at 12% 15%,rgba(255,200,222,0.82) 0%,transparent 50%),
    radial-gradient(ellipse at 88% 18%,rgba(255,190,215,0.78) 0%,transparent 48%),
    radial-gradient(ellipse at 50% 92%,rgba(255,210,230,0.85) 0%,transparent 60%),
    radial-gradient(ellipse at 75% 65%,rgba(254,180,210,0.65) 0%,transparent 45%),
    radial-gradient(ellipse at 25% 45%,rgba(255,215,232,0.6) 0%,transparent 40%),
    #fcf2f6;
}

.bg-glow{
  position:absolute;
  border-radius:50%;
  filter:blur(55px);
  pointer-events:none;
  opacity:0.85;
}
.bg-glow.g1{
  width:520px;
  height:520px;
  top:-100px;
  right:5%;
  background:radial-gradient(circle,rgba(255,160,195,0.55) 0%,rgba(255,205,225,0.3) 55%,transparent 75%);
  animation:ambientPulse 16s ease-in-out infinite alternate;
}
.bg-glow.g2{
  width:480px;
  height:480px;
  bottom:2%;
  left:-60px;
  background:radial-gradient(circle,rgba(244,143,177,0.5) 0%,rgba(255,195,220,0.25) 55%,transparent 75%);
  animation:ambientPulse 20s ease-in-out infinite alternate-reverse;
}
.bg-glow.g3{
  width:440px;
  height:440px;
  top:38%;
  left:40%;
  background:radial-gradient(circle,rgba(255,182,210,0.48) 0%,rgba(255,220,235,0.2) 60%,transparent 75%);
  animation:ambientPulse 24s ease-in-out infinite alternate;
}

/* Gentle floating flower blossoms & petals */
.bg-flower{
  position:absolute;
  pointer-events:none;
  will-change:transform;
  filter:drop-shadow(0 6px 14px rgba(215,82,121,0.18));
}
.bg-flower.f1{left:14%;top:26%;animation:flowerDrift1 25s ease-in-out infinite}
.bg-flower.f2{right:8%;top:11%;animation:flowerDrift2 30s ease-in-out infinite}
.bg-flower.f3{left:30%;top:76%;animation:flowerDrift3 22s ease-in-out infinite}
.bg-flower.f4{right:26%;top:82%;animation:flowerDrift1 27s ease-in-out infinite reverse}
.bg-flower.f5{left:6%;top:84%;animation:flowerDrift2 24s ease-in-out infinite}
.bg-flower.f6{right:20%;top:40%;animation:flowerDrift3 29s ease-in-out infinite}

@keyframes ambientPulse{
  0%{transform:scale(1) translate(0,0);opacity:0.75}
  100%{transform:scale(1.2) translate(24px,18px);opacity:0.95}
}
@keyframes flowerDrift1{
  0%{transform:translateY(0) translateX(0) rotate(0deg)}
  50%{transform:translateY(-28px) translateX(15px) rotate(22deg)}
  100%{transform:translateY(0) translateX(0) rotate(0deg)}
}
@keyframes flowerDrift2{
  0%{transform:translateY(0) translateX(0) rotate(0deg)}
  50%{transform:translateY(-35px) translateX(-18px) rotate(-28deg)}
  100%{transform:translateY(0) translateX(0) rotate(0deg)}
}
@keyframes flowerDrift3{
  0%{transform:translateY(0) translateX(0) rotate(0deg)}
  50%{transform:translateY(-22px) translateX(12px) rotate(18deg)}
  100%{transform:translateY(0) translateX(0) rotate(0deg)}
}

@media (prefers-reduced-motion: reduce){
  .bg-flower,.bg-glow{
    animation:none !important;
  }
}


.trust-bar{display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center;padding:16px 20px;margin-bottom:24px;border:1px solid #ebd3e0;border-radius:14px;background:linear-gradient(135deg,#fcf2f7 0%,#f9eaf2 100%);font-size:13px;box-shadow:0 2px 10px rgba(215,82,121,0.03)}.trust-bar span{flex:1;min-width:190px}.trust-bar a{font-weight:700}.day.outside:not([class*="safe-gradient"]),.status-badge.outside:not([class*="safe-gradient"]){background:#f3ecf2;color:#514657;border:1px solid #ebdbe5}.legend-deep:before{background:#23864a!important}.legend-faint:before{background:#a8ddb9!important;border:1px dashed #5ea67e!important}.day{min-height:44px}.trust-page{max-width:860px;margin:auto;padding:28px 20px}.trust-page section{margin:24px 0}.trust-page h1{font-size:36px}.trust-page li{line-height:1.7;margin:8px 0}@media(max-width:600px){.trust-bar{padding:12px;gap:8px}.trust-bar a{width:100%}}

/* ── SMART GREEN GRADIENT: FROM SAFER (DEEP GREEN) TO LIKELY TO CONCEIVE (FAINT GREEN) ── */
.day.safe-gradient-5 {
  background: #23864a !important;
  color: #ffffff !important;
  font-weight: 700;
  border: 1px solid #1a6b39 !important;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.25);
}
.day.safe-gradient-5:hover { background: #1c723e !important; }

.day.safe-gradient-4 {
  background: #38a564 !important;
  color: #ffffff !important;
  font-weight: 600;
  border: 1px solid #2a8a50 !important;
}
.day.safe-gradient-4:hover { background: #309457 !important; }

.day.safe-gradient-3 {
  background: #73c792 !important;
  color: #0b4522 !important;
  font-weight: 600;
  border: 1px solid #5bb57c !important;
}
.day.safe-gradient-3:hover { background: #64bd85 !important; }

.day.safe-gradient-2 {
  background: #b5e6c7 !important;
  color: #124b27 !important;
  font-weight: 500;
  border: 1px solid #9cd8b2 !important;
}
.day.safe-gradient-2:hover { background: #a2ddb5 !important; }

.day.safe-gradient-1 {
  background: #edf8f1 !important;
  color: #1e5e34 !important;
  font-weight: 500;
  border: 1.5px dashed #7fcb9a !important;
}
.day.safe-gradient-1:hover { background: #ddf2e3 !important; }

/* Status Badges for Smart Gradient */
.status-badge.safe-gradient-5 { background: #23864a; color: #ffffff; border: 1px solid #1a6b39; font-weight: 700; }
.status-badge.safe-gradient-4 { background: #38a564; color: #ffffff; border: 1px solid #2a8a50; font-weight: 600; }
.status-badge.safe-gradient-3 { background: #73c792; color: #0b4522; border: 1px solid #5bb57c; font-weight: 600; }
.status-badge.safe-gradient-2 { background: #b5e6c7; color: #124b27; border: 1px solid #9cd8b2; font-weight: 500; }
.status-badge.safe-gradient-1 { background: #edf8f1; color: #1e5e34; border: 1.5px dashed #7fcb9a; font-weight: 500; }

/* Gradient Key Card (Safer to Likely to Conceive) */
.gradient-key-card {
  margin-top: 18px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(97,57,85,0.03);
}
.gradient-key-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 10px;
}
.gradient-key-header strong { color: var(--plum); font-family: Georgia, serif; font-size: 14px; }
.gradient-key-header span { color: var(--muted); font-size: 12px; }
.gradient-track {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #23864a 0%, #38a564 25%, #73c792 50%, #b5e6c7 75%, #edf8f1 100%);
  border: 1px solid #a8ddb9;
  margin-bottom: 8px;
}
.gradient-scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 6px;
}
.gradient-scale-labels .label-safe { color: #1c723e; font-weight: 700; }
.gradient-scale-labels .label-caution { color: #5a7564; }
.gradient-scale-labels .label-fertile { color: #765287; font-weight: 700; }

.gradient-legend-pills {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid #f0eaf0;
  padding-top: 10px;
}
.gradient-legend-pills .pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.gradient-legend-pills .pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.pill-dot.g5 { background: #23864a; }
.pill-dot.g4 { background: #38a564; }
.pill-dot.g3 { background: #73c792; }
.pill-dot.g2 { background: #b5e6c7; }
.pill-dot.g1 { background: #edf8f1; border: 1px dashed #7fcb9a; }
.pill-dot.period { background: #f5bfd0; }
.pill-dot.fertile { background: #e9dcf2; }
.pill-dot.ovulation { background: #765287; }



/* ═══════════════════════════════════════════════════════════
   MOBILE UX POLISH — Top-Notch Mobile Experience
   ═══════════════════════════════════════════════════════════ */

/* ── Tap targets: minimum 44×44px on all interactive elements ── */
@media(max-width:800px){
  .btn{min-height:48px;padding:13px 20px;font-size:15px;border-radius:14px}
  .day{min-height:40px;font-size:13px}
  .nav button{min-height:52px;padding:10px 4px}
  input,select,textarea{padding:14px;font-size:16px;border-radius:11px}
  .textbtn{padding:10px 0;font-size:15px;min-height:44px;display:inline-flex;align-items:center}
  .week,.days{gap:4px}
  .day{max-height:42px;min-height:36px;font-size:12px}
  .calendar-head h2{font-size:18px}
  .iconbtn{width:40px;height:40px;font-size:22px}
  .card{padding:18px 16px;border-radius:16px}
  .gradient-key-header{flex-direction:column;align-items:flex-start;gap:4px}
  .gradient-key-header span{font-size:11px}
  .gradient-legend-pills{gap:8px;flex-wrap:wrap}
  .pill-item{font-size:11px}
  .selected-info{padding-top:14px;margin-top:14px}
  .forecast-summary{font-size:14px;line-height:1.6}
  .status-badge{font-size:11px;padding:4px 10px}
  .cycle-colour-guide{margin:12px 0 0;padding:14px;font-size:13px;line-height:1.7}
  .heading{flex-direction:column;align-items:stretch;gap:12px}
  .heading .btn{width:100%;justify-content:center}
  h1{font-size:28px;letter-spacing:-0.5px}
  h2{font-size:20px}
  .stats{grid-template-columns:1fr 1fr;gap:10px}
  .stat{padding:14px;border-radius:14px}
  .stat strong{font-size:18px}
  .ring{width:220px;height:220px}
  .ring-inner{width:165px;height:165px}
  .ring-inner strong{font-size:52px}
  .reading summary{padding:14px 0;font-size:15px}
  .reading p{font-size:14px;line-height:1.75}
  .oracle-bubble.user{max-width:95%;margin-left:0}
  .oracle-input-box{position:sticky;bottom:0;border-radius:14px 14px 0 0;padding:12px 14px}
  .oracle-form{gap:8px}
  .oracle-textarea{padding:12px;font-size:15px}
  .oracle-chips{gap:7px}
  .oracle-chip{padding:8px 13px;font-size:12px}
  .topbar{gap:8px;flex-wrap:wrap;margin-bottom:20px}
  .profile-selector-pill{padding:6px 12px;font-size:12px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .device{font-size:11px;padding:8px 12px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .formgrid{grid-template-columns:1fr}
  .actions{flex-direction:column}
  .actions .btn,.actions button{width:100%;justify-content:center}
  .footer{font-size:11px;padding-bottom:8px;text-align:center}
  #toast{bottom:80px;width:90vw;text-align:center}
  .wide{max-width:100%;overflow-x:hidden}
  dialog{width:96vw;padding:22px 18px;border-radius:18px;max-height:85vh;overflow-y:auto}
}

/* ── Very small phones (iPhone SE, 375px) ── */
@media(max-width:390px){
  main{padding:18px 14px 100px}
  .day{max-height:36px;min-height:30px;font-size:11px}
  .week,.days{gap:3px}
  .ring{width:195px;height:195px}
  .ring-inner{width:145px;height:145px}
  .ring-inner strong{font-size:46px}
  h1{font-size:25px}
  .btn{font-size:14px;padding:12px 16px}
  .cycle-colour-guide{font-size:12px;padding:12px}
}

/* ── Safe area insets for notched iPhones ── */
@supports(padding-bottom:env(safe-area-inset-bottom)){
  .sidebar{padding-bottom:calc(7px + env(safe-area-inset-bottom))}
  #toast{bottom:calc(80px + env(safe-area-inset-bottom))}
}

/* ── Smooth momentum scroll & prevent text zoom on rotate ── */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
main{-webkit-overflow-scrolling:touch}
.oracle-stream{-webkit-overflow-scrolling:touch}
*{-webkit-tap-highlight-color:transparent}

/* ── Focus rings: accessible ── */
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2.5px solid var(--plum);outline-offset:3px;border-radius:8px
}

/* ── NEW 666 ELITE FEATURES: CYCLE SYNCING, STRIP ANALYZER, ZERO-KNOWLEDGE VAULT ── */

.sync-phase-hero {
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(97,57,85,0.04);
}
.sync-phase-hero.menstrual { background: linear-gradient(135deg, #fff5f8 0%, #fdecf2 100%); border-color: #f7cad9; }
.sync-phase-hero.follicular { background: linear-gradient(135deg, #f3faf5 0%, #e5f5ec 100%); border-color: #bce3cb; }
.sync-phase-hero.ovulatory { background: linear-gradient(135deg, #faf5fc 0%, #f0e6f7 100%); border-color: #ddc7ec; }
.sync-phase-hero.luteal { background: linear-gradient(135deg, #fefaf3 0%, #fef3e2 100%); border-color: #fbdba6; }

.sync-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.sync-pillar-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.sync-pillar-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--plum);
  margin: 0 0 8px;
}
.sync-pillar-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #4a3a52;
  margin: 0;
}

.strip-dropzone {
  border: 2px dashed #d5c3d2;
  background: #faf7fa;
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.strip-dropzone:hover {
  border-color: var(--rose);
  background: #fff5f8;
}
.strip-canvas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.strip-canvas-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.strip-canvas-box h4 {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--plum);
  font-weight: 700;
}
.strip-canvas-box canvas {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 8px;
  background: #111;
}

.vault-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8f6fc 0%, #edf0f9 100%);
  border: 1px solid #dcd5ea;
  margin: 20px 0;
  flex-wrap: wrap;
}
.decoy-active-badge {
  background: #dbeafe;
  color: #1e40af;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
}

/* ── MIND SANCTUARY & WELLNESS GAMES STYLES ───────────────────────────────── */
.games-nav-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.game-nav-btn {
  background: #fff;
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s ease;
}
.game-nav-btn:hover {
  background: #fdf6fa;
  color: var(--plum);
  border-color: #e5cbdc;
}
.game-nav-btn.active {
  background: var(--plum);
  color: #fff;
  border-color: var(--plum);
  box-shadow: 0 4px 12px rgba(97,57,85,0.18);
}
.game-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
}
.game-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.game-header h2 {
  font: 26px Georgia, serif;
  color: var(--plum);
  margin: 0 0 6px;
}
.game-header p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 680px;
  margin: 0;
}
.game-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.game-select {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  color: var(--plum);
  font-weight: 600;
}
.canvas-wrapper {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ebdbe5;
  background: radial-gradient(circle at center, #ffffff 0%, #fcf4f8 100%);
  box-shadow: inset 0 2px 10px rgba(97,57,85,0.04);
}
#zen-garden-canvas {
  display: block;
  width: 100%;
  height: 480px;
  cursor: crosshair;
  touch-action: none;
}
.canvas-overlay-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--plum);
  border: 1px solid rgba(235,219,229,0.8);
  pointer-events: none;
}
.game-stats-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f2e9f0;
}
.game-stat-pill {
  background: #faf4f8;
  border: 1px solid #eedde7;
  padding: 7px 14px;
  border-radius: 16px;
  font-size: 12px;
  color: var(--muted);
}
.game-stat-pill strong {
  color: var(--plum);
}

/* 2. Somatic 4-7-8 Breathing Orb Styles */
.breathing-stage {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  background: radial-gradient(circle at center, #ffffff 0%, #f9f1f6 100%);
  border-radius: 16px;
  border: 1px solid #ebdbe5;
  position: relative;
}
.breathing-orb-container {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.breathing-ripple-aura {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,82,121,0.25) 0%, rgba(97,57,85,0.02) 70%);
  transition: opacity 1s ease;
  pointer-events: none;
}
.breathing-orb {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbcfe8 0%, #d75279 60%, #613955 100%);
  box-shadow: 0 10px 35px rgba(215,82,121,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s ease;
}
.breathing-orb-inner {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.breathing-action-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--plum);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.breathing-timer-count {
  font-size: 13px;
  color: var(--rose);
  font-weight: 600;
  margin-top: 2px;
}
.breathing-guidance-pill {
  background: #ffffff;
  border: 1px solid #ebdbe5;
  padding: 10px 22px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--plum);
  box-shadow: 0 3px 12px rgba(97,57,85,0.04);
}

/* 3. Memory Matrix Grid */
.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 640px;
  margin: 10px auto;
  perspective: 1000px;
}
.memory-card {
  aspect-ratio: 1;
  border-radius: 14px;
  cursor: pointer;
  user-select: none;
}
.memory-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.5s;
  transform-style: preserve-3d;
  border-radius: 14px;
}
.memory-card.flipped .memory-card-inner {
  transform: rotateY(180deg);
}
.memory-card-back, .memory-card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #ebdbe5;
  box-shadow: 0 4px 12px rgba(97,57,85,0.04);
}
.memory-card-back {
  background: linear-gradient(135deg, #fdf6fa 0%, #f3eaf1 100%);
  font-size: 28px;
  color: var(--rose);
}
.memory-card-front {
  background: #ffffff;
  transform: rotateY(180deg);
  border-color: #d8c2e6;
}
.mc-icon {
  font-size: 32px;
  margin-bottom: 4px;
}
.mc-name {
  font-size: 10px;
  font-weight: 700;
  color: var(--plum);
  text-transform: uppercase;
}

/* 4. Serenity Oracle Card Stage */
.oracle-card-stage {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at center, #ffffff 0%, #fbf3f7 100%);
  border-radius: 16px;
  border: 1px solid #ebdbe5;
}
.oracle-tarot-card {
  width: min(340px, 90%);
  min-height: 340px;
  background: #ffffff;
  border: 2px solid #ebdbe5;
  border-radius: 22px;
  padding: 32px 24px;
  box-shadow: 0 12px 35px rgba(97,57,85,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.oracle-tarot-card.shuffling {
  transform: scale(0.92) rotate(-3deg);
  opacity: 0.6;
}
.oracle-card-symbol {
  font-size: 48px;
  margin-bottom: 12px;
}
.oracle-card-title {
  font: 22px Georgia, serif;
  color: var(--plum);
  margin: 0 0 10px;
}
.oracle-card-message {
  font-size: 14px;
  line-height: 1.7;
  color: #4a3e48;
  margin: 0 0 20px;
}
.oracle-card-tag {
  background: #f7eef4;
  color: var(--plum);
  padding: 5px 14px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ── BOUQUET FLOWER COLLECTION SHOWCASE ──────────────────────────────────── */
.bouquet-collection-showcase {
  margin-top: 24px;
  padding: 24px;
  background: #faf6f9;
  border: 1px solid #ebdbe5;
  border-radius: 18px;
}
.bouquet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.bouquet-header h3 {
  font: 20px Georgia, serif;
  color: var(--plum);
  margin: 0 0 4px;
}
.bouquet-header p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.bouquet-flower-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.bouquet-item-card {
  background: #ffffff;
  border: 1px solid #ebdbe5;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.bouquet-item-card.collected {
  border-color: #f472b6;
  background: linear-gradient(135deg, #ffffff 0%, #fff7fa 100%);
  box-shadow: 0 4px 14px rgba(215,82,121,0.06);
}
.bouquet-item-card.uncollected {
  opacity: 0.55;
  filter: grayscale(0.5);
}
.bouquet-item-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(97,57,85,0.08);
}
.bouquet-item-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.bouquet-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bouquet-item-name {
  font-size: 13px;
  color: var(--plum);
  line-height: 1.3;
}
.bouquet-item-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--rose);
}
.bouquet-item-meaning {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}
.bouquet-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 9px;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
  padding: 2px 6px;
  border-radius: 8px;
  text-transform: uppercase;
}
.bouquet-tier-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 6px;
  width: fit-content;
  margin-top: 3px;
}
.bouquet-tier-tag.common {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}
.bouquet-tier-tag.rare {
  background: #ede9fe;
  color: #6d28d9;
  border: 1px solid #c4b5fd;
}
.bouquet-tier-tag.epic {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fcd34d;
}
.neuro-diff-btn {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
  transition: all .2s ease;
}
.neuro-diff-btn.active, .neuro-diff-btn:hover {
  background: #be185d;
  color: #fff;
  border-color: #be185d;
  box-shadow: 0 4px 12px rgba(190,24,93,0.25);
}

/* ── SMOOTH AMBIENT GLOW ON CALENDAR ACTUAL DAY (FLOWERR 666 LUXURY) ───────── */
.day.today {
  outline: none !important;
  position: relative;
  z-index: 3;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: 
    0 0 0 2px #d75279,
    0 0 12px 3px rgba(215, 82, 121, 0.48),
    0 0 22px 6px rgba(215, 82, 121, 0.24);
  animation: todayGlowPulse 2.8s ease-in-out infinite alternate;
}

.day.today::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cf426c;
  box-shadow: 0 0 5px #cf426c;
}

.day.today.selected {
  box-shadow: 
    0 0 0 2px #d75279,
    0 0 0 4px #5a2b4b,
    0 0 18px 5px rgba(215, 82, 121, 0.65) !important;
}

@keyframes todayGlowPulse {
  0% {
    box-shadow: 
      0 0 0 2px #d75279,
      0 0 10px 2px rgba(215, 82, 121, 0.38),
      0 0 18px 4px rgba(215, 82, 121, 0.16);
    transform: scale(1);
  }
  50% {
    box-shadow: 
      0 0 0 2.5px #cf426c,
      0 0 16px 5px rgba(215, 82, 121, 0.70),
      0 0 28px 8px rgba(215, 82, 121, 0.36);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 
      0 0 0 2px #d75279,
      0 0 10px 2px rgba(215, 82, 121, 0.38),
      0 0 18px 4px rgba(215, 82, 121, 0.16);
    transform: scale(1);
  }
}

/* ── SMOOTH BIOLOGICAL AURA GLOW ON CYCLE DIAL ────────────────────────────── */
.ring {
  width: 248px;
  height: 248px;
  position: relative;
  margin: 14px auto 20px;
  display: grid;
  place-items: center;
}

.ring::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 82, 121, 0.20) 0%, rgba(244, 143, 177, 0.10) 45%, rgba(254, 215, 232, 0.04) 65%, transparent 75%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 0;
  animation: dialAmbientGlow 4s ease-in-out infinite alternate;
}

@keyframes dialAmbientGlow {
  0% {
    opacity: 0.65;
    transform: scale(0.96);
    filter: blur(12px);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.04);
    filter: blur(16px);
  }
  100% {
    opacity: 0.65;
    transform: scale(0.96);
    filter: blur(12px);
  }
}

.ring-inner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 252, 0.95) 100%);
  border: 1.5px solid rgba(235, 211, 224, 0.9);
  border-radius: 50%;
  width: 188px;
  height: 188px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 
    0 0 28px rgba(215, 82, 121, 0.14),
    inset 0 0 22px rgba(255, 235, 243, 0.7),
    0 6px 20px rgba(97, 57, 85, 0.06);
  animation: dialInnerBreathe 4s ease-in-out infinite alternate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@keyframes dialInnerBreathe {
  0% {
    box-shadow: 
      0 0 24px rgba(215, 82, 121, 0.14),
      inset 0 0 18px rgba(255, 235, 243, 0.60),
      0 4px 18px rgba(97, 57, 85, 0.05);
  }
  100% {
    box-shadow: 
      0 0 38px rgba(215, 82, 121, 0.26),
      inset 0 0 28px rgba(255, 235, 243, 0.90),
      0 8px 24px rgba(97, 57, 85, 0.09);
  }
}

.cycle-card {
  overflow: visible !important;
  min-height: auto !important;
  height: auto !important;
  padding: 26px 22px 36px !important;
}

.dial-today-seg {
  filter: drop-shadow(0 0 6px rgba(215, 82, 121, 0.85));
}

.dial-active-pulse-halo {
  animation: dialHaloPulse 2.4s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes dialHaloPulse {
  0% {
    r: 13;
    fill-opacity: 0.20;
  }
  100% {
    r: 20;
    fill-opacity: 0.55;
  }
}

/* ── HEADING PROFILE ROW & RESPONSIVE PILLS ────────────────────────────────── */
.heading-profile-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.heading-profile-row .profile-selector-pill {
  max-width: 100%;
  white-space: normal;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
}

/* ── MOBILE UI/UX ENHANCEMENTS & TOPBAR STREAMLINING ────────────────────────── */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.topbar-signout-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.topbar-signout-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #7f1d1d;
}
.topbar-signout-btn:active {
  transform: scale(0.97);
}
.desktop-only {
  display: inline-block;
}

@media(max-width: 800px) {
  .desktop-only {
    display: none !important;
  }
  .topbar-signout-btn {
    padding: 5px 8px;
    font-size: 11px;
    gap: 3px;
  }
  .topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
    flex-wrap: nowrap;
  }
  .mobile-brand {
    display: block;
    font: 26px/1 Georgia, serif;
    letter-spacing: -1px;
    color: var(--plum);
    white-space: nowrap;
    flex-shrink: 0;
  }
  .topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
  .topbar-profile-pill {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 20px;
    white-space: nowrap;
    gap: 6px;
  }
  .topbar-profile-pill .profile-relation-pill {
    display: none;
  }
  .topbar-device-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    white-space: nowrap;
    color: var(--plum);
    background: rgba(255, 248, 251, 0.95);
    border: 1px solid #ecd5e2;
  }
  .topbar-device-btn .device-icon {
    font-size: 14px;
    line-height: 1;
  }
  .topbar-device-btn .device-tag {
    display: inline-block;
    letter-spacing: 0.3px;
  }
  .sidebar {
    padding-bottom: max(10px, env(safe-area-inset-bottom, 10px));
  }
  main {
    padding: 20px 16px calc(95px + env(safe-area-inset-bottom, 15px));
  }
  .heading {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 22px;
  }
  .heading .btn {
    width: 100%;
    padding: 13px 18px;
    font-size: 15px;
  }
  .ring {
    width: 244px;
    height: 244px;
    margin: 16px auto 24px;
  }
  .ring-inner {
    width: 182px;
    height: 182px;
  }
  .cycle-card {
    padding: 24px 18px 32px !important;
  }
  .days .day {
    aspect-ratio: 1;
    min-height: 38px;
    max-height: 46px;
    font-size: 14px;
  }
}

@media(max-width: 420px) {
  .mobile-brand {
    font-size: 24px;
  }
  .topbar-device-btn {
    padding: 5px 10px;
    font-size: 11.5px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   FLOWERR SANCTUARY ARCADE SUITE (666 RED ARMY STANDARD)
   ══════════════════════════════════════════════════════════════════════════════ */

/* Nav Pills Scrollable / Wrap */
.games-nav-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Common Arcade Canvas Wrappers */
.breakout-stage-wrapper,
.catcher-stage-wrapper,
.glide-stage-wrapper {
  background: #fdfafc;
  border-radius: 16px;
  border: 1px solid #ebdbe5;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(97,57,85,0.04);
}

.breakout-stage-wrapper canvas,
.catcher-stage-wrapper canvas,
.glide-stage-wrapper canvas {
  display: block;
  width: 100%;
  height: auto;
  cursor: crosshair;
}

/* 15-Slide Puzzle Grid */
.puzzle-15-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 440px;
  margin: 16px auto;
  background: #faf4f8;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid #ebdbe5;
  box-shadow: 0 6px 24px rgba(97,57,85,0.06);
}

.puzzle-tile {
  aspect-ratio: 1;
  background: #ffffff;
  border: 1px solid #ebdbe5;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 2px 8px rgba(97,57,85,0.05);
}

.puzzle-tile:hover {
  transform: translateY(-2px);
  background: #fdf6fa;
  box-shadow: 0 6px 14px rgba(97,57,85,0.12);
  border-color: #d75279;
}

.puzzle-tile.empty {
  background: transparent;
  border: 2px dashed #eedde7;
  cursor: default;
  box-shadow: none;
}

.puzzle-tile-symbol {
  font-size: 26px;
}

.puzzle-tile-num {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 1px 5px;
  border-radius: 8px;
}

/* Bloom 2048 Grid */
.bloom-2048-wrapper {
  max-width: 460px;
  margin: 16px auto;
  background: #613955;
  padding: 14px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(97,57,85,0.2);
}

.bloom-2048-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.cell-2048 {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 700;
  user-select: none;
  transition: all 0.15s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

.cell-2048.empty {
  background: rgba(255,255,255,0.08);
}

.tile-icon-2048 {
  font-size: 20px;
}

.tile-val-2048 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.tile-name-2048 {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

/* Snake Stage & Mobile D-Pad */
.snake-stage-wrapper {
  display: flex;
  justify-content: center;
  background: #f8fdfa;
  border-radius: 16px;
  border: 1px solid #d4edd9;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}

.snake-stage-wrapper canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

.mobile-dpad-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 18px auto 6px;
  user-select: none;
  max-width: 220px;
}

.dpad-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.dpad-btn {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #ebdbe5;
  color: var(--plum);
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(97,57,85,0.08);
  touch-action: manipulation;
  transition: transform 0.1s ease, background 0.1s ease;
}

.dpad-btn:active {
  transform: scale(0.92);
  background: #fdf2f7;
  border-color: var(--rose);
}

.dpad-btn.center {
  background: #faf4f8;
  cursor: default;
  font-size: 20px;
}

/* ── AUTH TABS (SIGN IN vs CREATE ACCOUNT) ────────────────────────── */
.auth-tabs {
  display: flex;
  background: #faf5f8;
  border: 1px solid #ebdbe5;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 16px;
  gap: 6px;
}
.auth-tab-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  cursor: pointer;
}
.auth-tab-btn:hover {
  color: var(--plum);
}
.auth-tab-btn.active {
  background: #ffffff;
  color: var(--plum);
  box-shadow: 0 2px 8px rgba(97,57,85,0.08);
}


