:root{--ink:#233940;--muted-ink:#7a8c91;--lavender:#f5f1ff;--line:#e7e9eb;--mint:#d8f3ee;--teal:#2f9991;--deep-teal:#176c69;--surface:#fff;--app-bg:#fafaf8}body:has(.auth-layout){background:var(--app-bg);color:var(--ink)}body:has(.auth-layout) button{color:inherit}.brand-mark{background:var(--teal);color:#fff;border-radius:12px;place-items:center;width:37px;height:37px;font-family:Georgia,serif;font-size:25px;font-style:italic;font-weight:800;display:grid;box-shadow:0 7px 18px #58bdb644}.eyebrow{color:var(--teal);letter-spacing:.14em;font-size:11px;font-weight:750}.content-page{width:100%}.page-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:34px;display:flex}.page-heading h1,.auth-card h1{color:var(--ink);letter-spacing:-.055em;margin:8px 0 10px;font-size:clamp(30px,3.8vw,48px);font-weight:750;line-height:1.13}.page-heading p:not(.eyebrow){max-width:530px;margin:0;font-size:15px}.page-heading .button{flex:none}.button{border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 17px;font-weight:700;text-decoration:none;transition:transform .18s,box-shadow .18s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-1px)}.button.primary{background:var(--teal);border-color:var(--teal);box-shadow:0 8px 20px #329c8c36;color:#fff!important}.button.secondary{color:var(--deep-teal);background:#fff;border-color:#dce6e4}.button.full{width:100%}.text-button{text-align:left;background:0 0;border:0;min-height:30px;padding:4px 0;font-weight:700;color:var(--deep-teal)!important}.text-button.danger{color:#b54755!important}.icon-button{background:#f4f5f5;border:0;width:38px;height:38px;min-height:38px;padding:0;font-size:24px}.toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.search-field{border:1px solid var(--line);background:#fff;border-radius:13px;flex:1;align-items:center;gap:9px;max-width:440px;padding:0 14px;font-size:20px;display:flex}.search-field input{background:0 0;border:0;outline:0;width:100%;min-height:45px}.count-label,.muted,.fine-print{color:var(--muted-ink);font-size:13px}.memory-card,.surface-card,.calendar-panel,.calendar-summary{background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 28px #263b3610}.memory-card{flex-direction:column;min-height:220px;padding:22px;display:flex;overflow:hidden}.memory-card-top{color:var(--teal);justify-content:space-between;font-size:12px;display:flex}.memory-card-top span:first-child{background:#e9f6f3;border-radius:10px;place-items:center;width:34px;height:34px;font-size:20px;display:grid}.memory-card h2{color:var(--ink);margin:20px 0 8px;font-size:21px;line-height:1.25}.memory-value{color:var(--ink);overflow-wrap:anywhere;font-size:15px}.memory-association{background:var(--lavender);border-radius:10px;padding:10px;font-size:13px}.memory-cover{object-fit:cover;border-radius:10px;width:100%;max-height:145px;margin:6px 0 15px}.memory-card .text-button{margin-top:auto}.empty-state{text-align:center;background:#fff;border:1px dashed #d6deda;border-radius:24px;padding:48px 24px}.empty-icon{background:var(--mint);width:70px;height:70px;color:var(--deep-teal);border-radius:21px;place-items:center;margin:0 auto 18px;font-size:32px;display:grid}.empty-state h2{color:var(--ink);font-size:24px}.empty-state p{max-width:390px;margin:0 auto 20px}.loading{padding:26px 0}.notice{border-radius:12px;padding:13px 16px}.notice.error{color:#9b3646;background:#fff1f3}.notice.success{color:#275e47;background:#e6f5ee}.notice .text-button{margin-top:8px;display:block}.modal-backdrop{z-index:30;background:#182a2a88;justify-content:flex-end;display:flex;position:fixed;inset:0}.editor-panel{background:#fff;width:min(100%,540px);height:100%;padding:32px;overflow-y:auto;box-shadow:-16px 0 35px #1113}.editor-heading{justify-content:space-between;align-items:start;margin-bottom:26px;display:flex}.editor-heading h2{color:var(--ink);margin:5px 0 0;font-size:30px}.form-stack{gap:10px;display:grid}.form-stack label{font-size:13px;font-weight:700}.form-stack input,.form-stack textarea,.inline-form input{color:var(--ink);width:100%;font:inherit;resize:vertical;background:#fff;border:1px solid #d8e0df;border-radius:12px;padding:12px 14px}.form-stack input:focus,.form-stack textarea:focus,.inline-form input:focus{outline-offset:1px;outline:2px solid #79c7bc}.form-stack textarea,.form-stack input[type=file]{margin-bottom:8px}.editor-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.image-list{flex-wrap:wrap;gap:8px;display:flex}.image-list>div{position:relative}.image-list img,.image-list .image-placeholder{object-fit:cover;border-radius:10px;width:82px;height:82px}.image-list button{background:#fff;width:28px;min-height:28px;padding:0;position:absolute;top:-5px;right:-5px}.image-placeholder{background:var(--lavender);place-items:center;display:grid}.image-placeholder.is-loading{background:linear-gradient(105deg,#e6e0f7 25%,#f4f0ff 45%,#e6e0f7 65%) 0 0/220% 100%;animation:1.4s ease-in-out infinite image-placeholder-shimmer;overflow:hidden}.image-placeholder-shape{background:#ffffff80;border-radius:6px;width:32px;height:24px}@keyframes image-placeholder-shimmer{to{background-position-x:-220%}}@media (prefers-reduced-motion:reduce){.image-placeholder.is-loading{animation:none}}.image-placeholder.memory-cover{height:145px}.calendar-layout{grid-template-columns:minmax(0,1.7fr) minmax(250px,.8fr);gap:18px;display:grid}.calendar-panel{padding:24px}.calendar-summary{align-self:start;padding:27px}.calendar-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.calendar-header h2{color:var(--ink);text-transform:capitalize;margin:0;font-size:23px}.calendar-header button{background:var(--lavender);border:0;width:36px;height:36px;min-height:36px;margin-left:6px;padding:0;font-size:24px}.calendar-grid{text-align:center;grid-template-columns:repeat(7,1fr);gap:5px;display:grid}.calendar-grid .weekday{color:var(--muted-ink);padding:8px 0;font-size:12px}.calendar-date{aspect-ratio:1;border:0;border-radius:11px;width:100%;min-height:36px;padding:0;font-size:13px;font-weight:600}.calendar-date.complete{color:#1a7651;background:#c8eadb}.calendar-date.partial{color:#996a28;background:#ffe3ba}.calendar-date.missed{color:#a34351;background:#f7cdd2}.calendar-date.no_plan{color:#8d9b9d;background:#f2f4f4}.calendar-date.in_progress{color:#287e78;background:#def2f0}.calendar-date.selected{outline:2px solid var(--deep-teal);outline-offset:2px}.calendar-legend{color:var(--muted-ink);flex-wrap:wrap;gap:12px;margin-top:24px;font-size:11px;display:flex}.calendar-legend span{align-items:center;gap:5px;display:flex}.calendar-legend i{border-radius:50%;width:9px;height:9px;display:inline-block}.calendar-legend i.complete{background:#65bb93}.calendar-legend i.partial{background:#f4bd6d}.calendar-legend i.missed{background:#ec8f9a}.calendar-legend i.no_plan{background:#cbd2d4}.calendar-summary strong{color:var(--teal);margin-top:15px;font-size:64px;line-height:1;display:block}.calendar-summary span{color:var(--muted-ink)}.calendar-summary hr{border:0;border-top:1px solid var(--line);margin:32px 0}.calendar-summary h2{color:var(--ink);margin:12px 0 6px}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.surface-card{padding:25px}.surface-card h2{color:var(--ink)}.surface-card label{margin-top:20px;display:block}.inline-form{gap:8px;margin-top:8px;display:flex}.inline-form input{min-width:0}.surface-card .danger{margin-top:25px;display:block}.auth-layout{grid-template-columns:1fr 1fr;min-height:100dvh;display:grid}.auth-art{background:linear-gradient(150deg,#c9ede7,#c9c3ef 65%,#ebdef5);place-items:center;display:grid;position:relative;overflow:hidden}.auth-orbit{border:2px solid #ffffff9d;border-radius:50%;width:min(55vw,640px);height:min(55vw,640px);position:absolute;box-shadow:0 0 0 80px #fff2,0 0 0 160px #fff2}.auth-spark{z-index:1;color:#fff;text-shadow:0 20px 35px #376b6950;font-size:170px}.auth-word{color:#27575e;letter-spacing:-.05em;font-size:clamp(25px,3vw,42px);font-weight:700;position:absolute;bottom:8%;left:10%}.auth-card{place-self:center;width:min(100%,490px);padding:50px}.auth-card .brand-mark{margin-bottom:36px}.auth-card h1{font-size:clamp(30px,3.3vw,46px)}.auth-card>p:not(.eyebrow){margin-bottom:28px}.auth-card .form-stack{gap:12px}.auth-options{gap:12px;display:grid}.auth-options .button{justify-content:center;align-items:center;text-decoration:none;display:flex}.separator{color:var(--muted-ink);align-items:center;gap:12px;margin:22px 0;display:flex}.separator:before,.separator:after{content:"";background:var(--line);flex:1;height:1px}.auth-card .fine-print{margin-top:24px;font-size:11px}.boot-screen{place-content:center;justify-items:center;gap:18px;height:100dvh;display:grid}@media (width<=650px){.page-heading{flex-direction:column;align-items:start}.page-heading .button{width:100%}.page-heading h1{font-size:34px}.calendar-layout,.settings-grid{grid-template-columns:1fr}.calendar-summary strong{font-size:48px}.editor-panel{padding:22px}.auth-layout{display:block}.auth-art{display:none}.auth-card{margin:0 auto;padding:40px 24px}.inline-form{flex-wrap:wrap}.inline-form button{width:100%}}html[style*="color-scheme: dark"]{--ink:#e5f2ef;--muted-ink:#a1b4b8;--line:#405158;--lavender:#343248;--mint:#244a47;--deep-teal:#9ee2d8;--surface:#26343b;--app-bg:#1a252a}html[style*="color-scheme: dark"] .editor-panel,html[style*="color-scheme: dark"] .empty-state{background:#223037}html[style*="color-scheme: dark"] .calendar-date.in_progress{background:#305850}html[style*="color-scheme: dark"] .search-field,html[style*="color-scheme: dark"] .button.secondary,html[style*="color-scheme: dark"] .form-stack input,html[style*="color-scheme: dark"] .form-stack textarea,html[style*="color-scheme: dark"] .inline-form input{color:var(--ink);background:#233037}html[style*="color-scheme: dark"] .calendar-date.no_plan{color:#b4c4c7;background:#354348}html[style*="color-scheme: dark"] .calendar-date.complete{color:#aee6c8;background:#285647}html[style*="color-scheme: dark"] .calendar-date.partial{color:#f3d49c;background:#5a4831}html[style*="color-scheme: dark"] .calendar-date.missed{color:#f4bdc5;background:#613e48}@font-face{font-family:Golos Text;src:url(/assets/golos-400-rTrl7nRs.ttf)format("truetype");font-display:swap;font-weight:400}@font-face{font-family:Golos Text;src:url(/assets/golos-500-DbDyOPzh.ttf)format("truetype");font-display:swap;font-weight:500}@font-face{font-family:Golos Text;src:url(/assets/golos-600-D6_vVcge.ttf)format("truetype");font-display:swap;font-weight:600}@font-face{font-family:Golos Text;src:url(/assets/golos-700-CMK7_dAR.ttf)format("truetype");font-display:swap;font-weight:700}@font-face{font-family:Spectral;src:url(/assets/spectral-400-CBsBDLiK.ttf)format("truetype");font-display:swap;font-weight:400}@font-face{font-family:Spectral;src:url(/assets/spectral-600-DQCR_EdO.ttf)format("truetype");font-display:swap;font-weight:600}@font-face{font-family:Spectral;src:url(/assets/spectral-italic-CW86liDI.ttf)format("truetype");font-display:swap;font-style:italic;font-weight:400}:root{--color-primary:#4f33cc;--color-primary-soft:#f2efff;--color-lilac:#e1daff;--color-highlight:#fc5130;--color-text:#24212b;--color-background:#f9f7ff;--color-border:#e0d9ff}body:has(.memome-app){color:var(--color-text);background:#e8e5f1}.memome-app,.memome-app button,.memome-app input,.memome-app textarea{font-family:Golos Text,sans-serif}.memome-app{place-items:center;min-height:100dvh;display:grid}.memome-phone{--ink:var(--color-text);--teal:var(--color-primary);--deep-teal:var(--color-primary);--mint:var(--color-primary-soft);--line:var(--color-border);--surface:#fff;--app-bg:var(--color-background);background:var(--color-background);border-radius:36px;flex-direction:column;width:min(100%,402px);height:min(100dvh,874px);min-height:560px;padding-top:52px;display:flex;overflow:hidden;box-shadow:0 20px 80px #1c153330}.memome-phone.is-telegram-fullscreen{padding-top:max(96px, calc(max(var(--tg-safe-area-inset-top,env(safe-area-inset-top,0px)), var(--tg-content-safe-area-inset-top,0px)) + 32px))}.memome-main{scrollbar-width:none;flex:1;min-height:0;overflow:auto}.memome-main::-webkit-scrollbar{display:none}.memome-main.is-reel{overflow:hidden}@media (width<=500px){.memome-app.is-editing{align-items:start;height:100dvh;min-height:0;overflow:hidden}.memome-phone{width:100%;height:100dvh;min-height:0;box-shadow:none;border-radius:0}}.memome-main.is-reel .product-page-stack,.memome-main.is-reel .product-page-stack .swipe-back-current{height:100%;min-height:0}.product-page-stack{min-height:100%;position:relative;overflow:hidden}.product-page-stack .swipe-back-current{z-index:1;background:var(--color-background);min-height:100%;position:relative}.product-page-stack .swipe-back-previous{background:var(--color-background);min-height:100%;position:relative}.product-page-stack .swipe-back-previous.is-underlay{pointer-events:none;position:absolute;inset:0;overflow:hidden}.product-page-stack .swipe-back-previous.is-underlay .swipe-back-previous-content{transform:translate3d(0, calc(var(--main-scroll-y,0px) - var(--previous-scroll-y,0px)), 0)}.product-page-stack .swipe-back-shade{background:#000;position:absolute;inset:0}.product-page-stack .swipe-back-current.is-settling,.product-page-stack .swipe-back-previous.is-settling{transition:transform .22s cubic-bezier(.2,.7,.2,1)}@media (prefers-reduced-motion:reduce){.product-page-stack .swipe-back-current.is-settling,.product-page-stack .swipe-back-previous.is-settling{transition:none}}.memome-screen{flex-direction:column;min-height:100%;padding:0 24px;display:flex}.memome-page-header{justify-content:space-between;align-items:center;gap:12px;min-height:76px;display:flex}.memome-page-heading{align-items:center;gap:12px;display:flex}.memome-page-header h1{color:var(--color-highlight);letter-spacing:-.025em;margin:0;font-size:30px;font-weight:700;line-height:1.2}.memome-back{border:0;place-items:center;width:32px;height:40px;min-height:40px;padding:0;display:grid}.memome-back img{width:22px;height:22px}.memome-phone .page-heading h1{color:var(--color-highlight)}.memome-bottom-nav{--bottom-safe-area:max(var(--tg-safe-area-inset-bottom,0px), var(--tg-content-safe-area-inset-bottom,0px), env(safe-area-inset-bottom,0px));height:calc(68px + var(--bottom-safe-area));padding:7px 18px var(--bottom-safe-area);background:var(--color-background);border-top:1px solid #4f33cc1f;flex:none;align-items:flex-start;display:flex}.memome-tab{color:#24212b8f;background:0 0;border:0;border-radius:0;flex-direction:column;flex:1;align-items:center;gap:4px;min-width:0;height:52px;min-height:0;padding:0;font-size:11px;font-weight:400;display:flex}.memome-tab.is-active{color:var(--color-primary);font-weight:600}.memome-tab-icon{border-radius:50px;place-items:center;width:58px;height:31px;display:grid}.memome-tab.is-active .memome-tab-icon{background:var(--color-primary-soft)}.memome-tab-icon img{width:21px;height:21px}.memome-feed{height:100%;min-height:0;overflow:hidden}.feed-reel{height:100%}.feed-reel .memome-question{-webkit-line-clamp:3;-webkit-box-orient:vertical;flex:none;display:-webkit-box;overflow:hidden}.feed-reel .memome-association{min-height:0;overflow:hidden}.feed-reel .memome-association>img,.feed-reel .memome-association>.image-placeholder{height:clamp(90px,22vh,160px)}.memome-feed-topline{grid-template-columns:1fr 1fr 1fr;align-items:center;height:50px;font-size:14px;display:grid}.memome-feed-topline>button{border:0;justify-self:end;width:36px;min-height:36px;padding:0}.memome-feed-topline>button img{width:20px;height:20px}.memome-repetition{justify-content:center;align-items:center;gap:3px;display:flex}.memome-repetition img{width:24px;height:24px}.memome-question{color:#11042e;letter-spacing:0;margin:4px 0 27px;font:600 27px/34px Spectral,Georgia,serif}.memome-association>span{color:var(--color-primary);letter-spacing:.03em;margin-bottom:8px;font-size:11px;font-weight:600;display:block}.memome-association>img,.memome-association>.image-placeholder{object-fit:cover;border-radius:14px;width:100%;height:160px;display:block}.memome-association p{color:#24212bc7;margin:9px 0 0;font:italic 15px/21px Spectral,Georgia,serif}.memome-answer{height:98px;color:var(--color-text);background:#fff;border-radius:16px;flex:none;place-items:center;margin-top:28px;display:grid;position:relative;box-shadow:0 0 28px #fff}.memome-answer strong{text-align:center;white-space:nowrap;text-overflow:ellipsis;max-width:calc(100% - 70px);font:400 27px/34px Spectral,Georgia,serif;overflow:hidden}.memome-answer:not(.is-revealed) strong{filter:blur(7.5px);-webkit-user-select:none;user-select:none}.memome-answer button{background:#fff;border:1px solid #4f33cc2e;border-radius:18px;place-items:center;width:36px;min-height:36px;padding:0;display:grid;position:absolute;top:31px;right:14px}.memome-answer button img{width:20px;height:20px}.memome-rating-area{margin-top:auto;padding-bottom:26px}.memome-ratings{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.memome-rating{min-width:0;min-height:52px;color:var(--color-primary);background:var(--color-primary-soft);white-space:nowrap;border:1px solid #0000;border-radius:14px;padding:4px;font-size:12px;font-weight:500}.memome-rating-again{color:var(--color-highlight);background:#fff;border-color:#fc5130b3}.memome-rating-good{background:var(--color-lilac)}.memome-rating-easy{color:#fff;background:var(--color-primary)}.memome-feed-status,.memome-feed-empty{text-align:center;justify-content:center;padding:24px}.memome-done-mark{color:var(--color-primary);font-size:64px}.memome-feed-empty h1{font:600 29px/1.2 Spectral,serif}.memome-feed-empty p{margin:0 0 24px}.memome-form-field{border:1px solid var(--color-border);-webkit-tap-highlight-color:transparent;background:#fff;border-radius:16px;padding:14px 15px 13px;display:block}.memome-form-label{color:var(--color-primary);justify-content:space-between;align-items:center;font-size:11px;line-height:14px;display:flex}.memome-form-label label{cursor:text;-webkit-tap-highlight-color:transparent;font-weight:600}.memome-form-label small{color:#aaa7af;font-size:10px}.memome-form-field input,.memome-form-field textarea{resize:vertical;appearance:none;-webkit-tap-highlight-color:transparent;width:100%;min-height:24px;color:var(--color-text);caret-color:var(--color-primary);background:0 0;border:0;outline:0;margin-top:7px;padding:0;font:400 15px/22px Spectral,Georgia,serif;display:block}.memome-form-field:focus-within{border-color:var(--color-primary)}.memome-form-field textarea{min-height:38px}.memome-draft{color:#8b81bb;background:var(--color-primary-soft);border-radius:30px;padding:7px 12px;font-size:11px}.memome-intro{color:#5e5d66;margin:8px 0 23px;font-size:15px;line-height:1.5}.memome-create-form{flex-direction:column;flex:1;gap:12px;display:flex}.memome-association-field{border:1px solid var(--color-border);-webkit-tap-highlight-color:transparent;background:#fff;border-radius:16px;padding-bottom:14px;display:block}.memome-association-field .memome-form-field{border:0}.memome-association-field:focus-within{border-color:var(--color-primary)}.memome-uploads{align-items:center;gap:10px;padding:0 15px;display:flex}.memome-upload-placeholder,.memome-upload-preview{background:#ddd;border:0;border-radius:4px;flex:none;width:35px;height:35px;min-height:35px;padding:0}.memome-upload-preview img{object-fit:cover;width:100%;height:100%}.memome-upload-action{border:1px solid var(--color-border);width:37px;min-height:37px;color:var(--color-primary);border-radius:50%;margin-left:auto;padding:0;font-size:25px}.memome-create-footer{text-align:center;margin-top:auto;padding-bottom:22px}.memome-create-footer p{text-align:left;align-items:flex-start;gap:8px;margin:0 0 17px;font-size:12px;line-height:21px;display:flex}.memome-create-footer p span{color:var(--color-highlight);font-size:22px}.memome-primary-button{color:#fff;background:var(--color-primary);border:0;border-radius:14px;width:100%;min-height:54px;font-size:14px;font-weight:600;display:block}.memome-create-footer small{color:#77747e;margin-top:13px;font-size:11px;display:block}.memome-error{color:var(--color-highlight);font-size:12px}.memome-identity{align-items:center;gap:16px;margin:9px 0 31px;display:flex}.memome-profile-avatar{background:var(--color-primary-soft);width:62px;height:62px;color:var(--color-primary);border-radius:50%;flex:none;place-items:center;font-size:25px;display:grid}.memome-identity strong,.memome-identity small{display:block}.memome-identity strong{font-size:17px;font-weight:700}.memome-identity small{color:#77747e;margin-top:5px;font-size:12px}.memome-stats{border:1px solid var(--color-border);background:#fff;border-radius:16px;grid-template-columns:repeat(3,1fr);height:87px;display:grid}.memome-stats button{border:0;border-radius:0;min-width:0;min-height:0;padding:12px 3px;position:relative}.memome-stats button+button:before{content:"";border-left:1px solid #e2dfe9;height:34px;position:absolute;top:26px;left:0}.memome-stats strong,.memome-stats small{text-align:center;display:block}.memome-stats strong{color:var(--color-primary);font-size:26px;font-weight:400}.memome-stats strong.is-coral{color:var(--color-highlight)}.memome-stats small{color:#77747e;font-size:10px}.memome-rhythm-title{text-align:left;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:8px;min-height:0;margin-top:31px;padding:0;display:flex}.memome-rhythm-title strong{font-size:14px}.memome-rhythm-title span{color:#77747e;font-size:10px}.memome-week{grid-template-columns:repeat(7,1fr);gap:3px;margin-top:13px;display:grid}.memome-week button{border:0;border-radius:0;min-width:0;min-height:0;padding:0}.memome-day{background:var(--color-primary-soft);width:34px;height:34px;color:var(--color-primary);border-radius:50%;place-items:center;margin:auto;display:grid}.memome-day.is-today{background:var(--color-highlight);color:#fff}.memome-week small{color:#77747e;margin-top:6px;font-size:10px;display:block}.memome-settings-row{background:var(--color-primary-soft);text-align:left;border:0;border-radius:15px;align-items:center;gap:12px;width:100%;min-height:58px;margin-top:auto;margin-bottom:20px;padding:9px 14px;display:flex}.memome-settings-glyph{color:var(--color-primary);font-size:26px}.memome-settings-row strong,.memome-settings-row small{display:block}.memome-settings-row strong{font-size:13px}.memome-settings-row small{color:#77747e;margin-top:2px;font-size:10px}.memome-chevron{color:var(--color-primary);margin-left:auto;font-size:25px}.memome-theme-intro{margin:5px 0 44px}.memome-theme-settings{min-height:calc(100dvh - 144px)}.memome-theme-intro h2{color:#292e25;letter-spacing:0;margin:0 0 9px;font-size:24px;font-weight:400}.memome-theme-intro p{color:#797c70;margin:0;font-size:14px;line-height:1.5}.memome-theme-list{gap:12px;display:grid}.memome-theme-choice{border:1px solid var(--color-border);text-align:left;background:#fff;border-radius:16px;align-items:center;gap:14px;width:100%;min-height:122px;padding:16px;display:flex}.memome-theme-choice.is-selected{border:1.5px solid var(--color-highlight)}.memome-theme-preview{border:1px solid #dedcd1;border-radius:8px;flex:none;width:58px;height:80px;display:flex;overflow:hidden}.memome-preview-page{background:#f5f2ea;flex-direction:column;flex:1;gap:6px;min-width:0;padding:9px 5px 5px;display:flex}.memome-preview-page>i,.memome-preview-page span i{background:#dedcd1;width:75%;height:2px;display:block}.memome-preview-page span{background:#fffefa;border-radius:4px;flex:1;padding:2px 3px}.memome-preview-page b{color:#465237;font:400 19px/22px Spectral,serif;display:block}.memome-preview-page span i+i{width:55%;margin-top:3px}.memome-preview-page small{color:#465237;text-align:center;line-height:3px}.memome-preview-dark .memome-preview-page,.memome-preview-page.is-dark{background:#292d26}.memome-preview-dark .memome-preview-page span,.memome-preview-page.is-dark span{background:#3d4336}.memome-preview-dark .memome-preview-page b,.memome-preview-page.is-dark b{color:#e6ead9}.memome-theme-copy{flex:1;min-width:0}.memome-theme-copy strong,.memome-theme-copy small{display:block}.memome-theme-copy strong{color:#292e25;font-size:15px;font-weight:600}.memome-theme-copy small{color:#797c70;margin-top:7px;font-size:12px;line-height:1.5}.memome-radio{border:1.5px solid var(--color-border);border-radius:50%;flex:none;place-items:center;width:21px;height:21px;display:grid}.memome-theme-choice.is-selected .memome-radio{border-color:var(--color-highlight);background:var(--color-highlight)}.memome-radio img{width:13px;height:13px}.memome-settings-extra{padding:40px 24px}.memome-settings-extra h2{font-size:18px}.memome-settings-extra .settings-grid{gap:14px;display:grid}.memome-settings-extra .surface-card{min-width:0}.startup-diagnostics{border:1px solid var(--color-border);color:var(--color-text);background:#fff;border-radius:16px;margin-bottom:20px;padding:16px}.startup-diagnostics summary{cursor:pointer;font-weight:600}.startup-diagnostics-refresh{border-color:var(--color-primary);background:var(--color-primary);color:#fff;font-weight:600}.startup-diagnostics p{font-size:13px}.startup-diagnostics dl{gap:8px;margin:16px 0;display:grid}.startup-diagnostics dl>div{justify-content:space-between;gap:12px;display:flex}.startup-diagnostics dd{white-space:nowrap;margin:0}.startup-diagnostics h3{margin:16px 0 8px;font-size:14px}.startup-diagnostics ul{overflow-wrap:anywhere;margin:0;padding-left:18px;font-size:12px}.card-reel{touch-action:pan-x;overscroll-behavior:contain;border-radius:22px;flex:1;min-height:0;position:relative;overflow:hidden}.card-reel-track{will-change:transform;height:100%;transition:transform .32s cubic-bezier(.22,1,.36,1);position:absolute;inset:0}.card-reel.is-dragging .card-reel-track{transition:none}.card-reel-slide{width:100%;height:100%;position:absolute;left:0}@media (prefers-reduced-motion:reduce){.card-reel-track{transition:none}}.memome-phone .content-page{padding:24px}.memome-phone .collection-page{flex-direction:column;gap:12px;height:100%;min-height:0;padding:8px 16px 12px;display:flex}.collection-heading{flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex}.collection-heading .eyebrow{margin:0}.collection-heading h1{color:var(--color-text);margin:2px 0 0;font-size:26px;line-height:1.15}.collection-add{background:var(--color-primary);color:#fff;border:0;border-radius:50%;flex:none;place-items:center;width:44px;min-height:44px;padding:0;font-size:28px;line-height:1;display:grid}.collection-toolbar{flex:none;margin:0}.collection-toolbar .search-field{min-width:0;max-width:none}.collection-toolbar .count-label{white-space:nowrap;flex:none}.collection-card{background:#fff;height:100%;min-height:0;padding:20px}.collection-card-content{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.collection-card h2{color:var(--color-text);-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;flex:none;margin-top:12px;display:-webkit-box;overflow:hidden}.collection-card .memory-value,.collection-card .memory-association{overflow-wrap:anywhere;-webkit-box-orient:vertical;flex:none;display:-webkit-box;overflow:hidden}.collection-card .memory-value{-webkit-line-clamp:4;color:var(--color-text)}.collection-card .memory-association{-webkit-line-clamp:3;background:var(--color-primary-soft)}.collection-card .memory-cover{flex:auto;height:0;min-height:0;max-height:145px}.collection-card .text-button{flex:none}.collection-position{pointer-events:none;color:var(--color-primary);font-size:12px;font-weight:600;position:absolute;bottom:20px;right:18px}@media (height<=650px){.collection-card{padding:14px}.collection-card h2{margin:8px 0 4px;font-size:18px}.collection-card .memory-value,.collection-card .memory-association{margin:4px 0}}html[data-memome-theme=dark] .memome-phone{--color-background:#292d26;--color-text:#e6ead9;--color-primary:#b9a7ff;--color-primary-soft:#3d4336;--color-border:#69735b;color:var(--color-text)}html[data-memome-theme=dark] .memome-phone .memome-form-field,html[data-memome-theme=dark] .memome-phone .memome-association-field,html[data-memome-theme=dark] .memome-phone .memome-theme-choice,html[data-memome-theme=dark] .memome-phone .memome-stats,html[data-memome-theme=dark] .memome-phone .memome-answer{background:#3d4336}html[data-memome-theme=dark] .memome-phone .memome-theme-intro h2,html[data-memome-theme=dark] .memome-phone .memome-theme-copy strong,html[data-memome-theme=dark] .memome-phone .memome-identity strong,html[data-memome-theme=dark] .memome-phone .memome-question,html[data-memome-theme=dark] .memome-phone .memome-answer,html[data-memome-theme=dark] .memome-phone .memome-form-field input,html[data-memome-theme=dark] .memome-phone .memome-form-field textarea{color:var(--color-text)}html[data-memome-theme=dark] .memome-phone .memome-theme-intro p,html[data-memome-theme=dark] .memome-phone .memome-theme-copy small,html[data-memome-theme=dark] .memome-phone .memome-identity small,html[data-memome-theme=dark] .memome-phone .memome-association p,html[data-memome-theme=dark] .memome-phone .memome-intro,html[data-memome-theme=dark] .memome-phone .memome-settings-row small,html[data-memome-theme=dark] .memome-phone .memome-tab:not(.is-active){color:#b4b8aa}html[data-memome-theme=dark] .memome-phone .memome-back img{filter:invert()}html[data-memome-theme=dark] .memome-phone .memome-tab-icon img,html[data-memome-theme=dark] .memome-phone .memome-feed-topline button img{filter:brightness(0)invert(.8)}html[data-memome-theme=dark] .memome-phone .memome-answer{box-shadow:none}html[data-memome-theme=dark] .memome-phone .memome-rating-hard,html[data-memome-theme=dark] .memome-phone .memome-rating-good{color:#e6ead9;background:#50584a}html[data-memome-theme=dark] .memome-phone .memome-rating-easy{color:#292d26}html[data-memome-theme=dark] .memome-phone .image-placeholder.is-loading{background-image:linear-gradient(105deg,#3d4336 25%,#50584a 45%,#3d4336 65%)}@media (prefers-color-scheme:dark){html[data-memome-theme=system] .memome-phone{--color-background:#292d26;--color-text:#e6ead9;--color-primary:#b9a7ff;--color-primary-soft:#3d4336;--color-border:#69735b;color:var(--color-text)}html[data-memome-theme=system] .memome-phone .memome-form-field,html[data-memome-theme=system] .memome-phone .memome-association-field,html[data-memome-theme=system] .memome-phone .memome-theme-choice,html[data-memome-theme=system] .memome-phone .memome-stats,html[data-memome-theme=system] .memome-phone .memome-answer{background:#3d4336}html[data-memome-theme=system] .memome-phone .memome-theme-intro h2,html[data-memome-theme=system] .memome-phone .memome-theme-copy strong,html[data-memome-theme=system] .memome-phone .memome-identity strong,html[data-memome-theme=system] .memome-phone .memome-question,html[data-memome-theme=system] .memome-phone .memome-answer,html[data-memome-theme=system] .memome-phone .memome-form-field input,html[data-memome-theme=system] .memome-phone .memome-form-field textarea{color:var(--color-text)}html[data-memome-theme=system] .memome-phone .memome-theme-intro p,html[data-memome-theme=system] .memome-phone .memome-theme-copy small,html[data-memome-theme=system] .memome-phone .memome-identity small,html[data-memome-theme=system] .memome-phone .memome-association p,html[data-memome-theme=system] .memome-phone .memome-intro,html[data-memome-theme=system] .memome-phone .memome-settings-row small{color:#b4b8aa}html[data-memome-theme=system] .memome-phone .image-placeholder.is-loading{background-image:linear-gradient(105deg,#3d4336 25%,#50584a 45%,#3d4336 65%)}}:root{color:var(--tg-theme-text-color,#152720);background:var(--tg-theme-bg-color,#f3f6f2);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--muted:var(--tg-theme-hint-color,#63736b);--accent:var(--tg-theme-button-color,#24664e);--button-text:var(--tg-theme-button-text-color,#fff);font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:280px;margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:1px solid color-mix(in srgb, currentColor 18%, transparent);color:inherit;background:0 0;border-radius:12px;min-height:44px;padding:12px 16px}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}a{color:inherit}p{color:var(--muted);line-height:1.6}h1{letter-spacing:-.04em;margin:16px 0;font-size:clamp(30px,6vw,44px);line-height:1.1}h2{letter-spacing:-.03em;font-size:24px}html,body{overscroll-behavior-y:none}html{touch-action:pan-x pan-y;overscroll-behavior-x:none}
