:root{--bg:#fbf7f2;--surface:#fffdfa;--ink:#3f2430;--muted:#756269;--faint:#826f76;--line:#e9dfd9;--accent:#813448;--accent-hover:#642338;--pink:#f2d8d5;--pink2:#f9ece7;--cream:#efe9d9;--sage:#dfe7da;--white:#fff9f6;--shadow:0 16px 60px #5b2b3710;--serif:Georgia,'Times New Roman',serif;--sans:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;--radius:24px;--sidebar:224px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.55 var(--sans);-webkit-font-smoothing:antialiased}body[data-theme=night]{--bg:#21171d;--surface:#2c2027;--ink:#f4e6e5;--muted:#bfa4ae;--faint:#947a87;--line:#49303d;--accent:#e7acb7;--accent-hover:#f4c4c8;--pink:#4b2938;--pink2:#37232e;--cream:#3b3329;--sage:#2e3a31;--white:#2b1922;--shadow:0 16px 60px #0002}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button{border:0;background:none}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}img{max-width:100%;display:block}svg{width:20px;height:20px;flex-shrink:0}button svg{pointer-events:none}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:400}h1,h2,.serif{font-family:var(--serif);letter-spacing:-.045em}h1{font-size:48px;line-height:1.12}h2{font-size:30px;line-height:1.2}h3{font-size:17px;line-height:1.4}em{font-weight:400}small{font-size:12px;color:var(--muted)}:focus-visible{outline:3px solid #b1677e;outline-offset:4px;border-radius:5px}button:active:not(:disabled){transform:translateY(1px)}.skip-link{position:fixed;top:-80px;left:20px;padding:14px;background:var(--surface);z-index:100}.skip-link:focus{top:10px}.boot{height:100vh;display:grid;place-content:center;text-align:center;gap:16px}.boot-heart{font-size:70px;color:var(--accent);animation:breathe 2s ease-in-out infinite}.icon-btn{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:50%;transition:background .2s}.icon-btn:hover{background:var(--pink2);border-color:var(--line)}.btn{display:inline-flex;gap:10px;align-items:center;justify-content:center;min-height:46px;padding:12px 21px;border-radius:100px;font-weight:600;font-size:13px;text-decoration:none;transition:background .2s,box-shadow .2s}.btn.primary{background:var(--accent);color:var(--white);box-shadow:0 5px 12px #6824360e}.btn.primary:hover{background:var(--accent-hover);box-shadow:0 6px 16px #68243622}.btn.secondary{border:1px solid var(--line);background:var(--surface)}.btn.secondary:hover{background:var(--pink2)}.btn.soft{background:var(--pink2);color:var(--accent)}.btn.text{padding:10px 4px;font-size:12px;min-height:44px}.btn.danger{background:#a63e45;color:#fff}.btn.small{min-height:38px;padding:9px 15px;font-size:12px}.full{width:100%}.eyebrow{font-size:10px;letter-spacing:.17em;text-transform:uppercase;font-weight:650;color:var(--muted)}.dot-sep{padding:0 7px;opacity:.5}.muted{color:var(--muted)}.flex{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:16px}.text-link{padding:10px 0;color:var(--accent);font-size:12px;font-weight:650}.pill{display:inline-flex;gap:6px;align-items:center;padding:5px 10px;border:1px solid var(--line);border-radius:30px;font-size:10px;font-weight:600;line-height:1.5}.pill svg{width:12px;height:12px}.soft-pill{background:var(--pink2);border-color:transparent;color:var(--accent)}.rule{height:1px;background:var(--line);margin:24px 0}.empty{padding:58px 24px;text-align:center;border:1px dashed var(--line);border-radius:var(--radius);background:var(--surface)}.empty>svg{width:37px;height:37px;margin:0 auto 16px;color:var(--accent)}.empty h2{font-size:29px;margin-bottom:10px}.empty p{max-width:340px;margin:0 auto 22px;color:var(--muted)}
/* Shell */
.demo-bar{height:38px;position:relative;z-index:20;background:#542737;color:#fff0ec;display:flex;justify-content:center;align-items:center;gap:16px;font-size:11px;letter-spacing:.025em;padding:0 15px}.demo-bar button{font-size:11px;color:#fff;border-left:1px solid #a27a88;padding:3px 0 3px 16px;text-decoration:underline;text-underline-offset:3px}.shell{min-height:100vh}.demo-bar+.shell{min-height:calc(100vh - 38px)}.sidebar{width:var(--sidebar);position:fixed;left:0;top:0;bottom:0;border-right:1px solid var(--line);padding:36px 25px 25px;display:flex;flex-direction:column;background:var(--bg);z-index:15}.demo-bar+.shell .sidebar{top:38px}.brand{display:flex;align-items:center;gap:10px;font-family:var(--serif);font-size:34px;letter-spacing:-2px;text-decoration:none;color:var(--ink);white-space:nowrap}.brand .brand-symbol{width:26px;height:28px;color:var(--accent);transform:rotate(-12deg)}.brand small{font-family:var(--sans);font-size:10px;letter-spacing:.15em;margin-top:5px}.brand-sub{margin:4px 0 42px 3px;letter-spacing:.17em;font-size:9px;color:var(--muted);text-transform:uppercase}.nav{display:flex;flex-direction:column;gap:9px}.nav-btn{display:flex;align-items:center;gap:13px;min-height:47px;padding:12px 15px;border-radius:13px;color:var(--muted);text-align:left;transition:background .2s,color .2s}.nav-btn svg{width:18px;height:18px}.nav-btn:hover{background:var(--pink2);color:var(--ink)}.nav-btn.active{background:var(--pink);color:var(--accent);font-weight:650}.nav-count{margin-left:auto;border-radius:20px;min-width:18px;padding:0 4px;background:var(--accent);color:var(--white);text-align:center;font-size:10px}.sidebar-create{margin:30px 0 20px}.sidebar-note{margin-top:auto;padding:25px 7px 20px;color:var(--muted);font-family:var(--serif);font-size:18px;line-height:1.5;font-style:italic}.sidebar-note svg{width:14px;height:14px;display:block;margin-bottom:13px}.sidebar-bottom{border-top:1px solid var(--line);padding-top:16px}.theme-mini{display:flex;align-items:center;gap:5px;background:var(--pink2);border-radius:100px;padding:4px;width:max-content}.theme-mini button{width:35px;height:33px;display:grid;place-content:center;border-radius:50%;color:var(--muted)}.theme-mini button svg{width:15px;height:15px}.theme-mini button.active{background:var(--surface);color:var(--accent);box-shadow:0 2px 7px #0000000a}.app-body{margin-left:var(--sidebar)}.topbar{height:87px;padding:0 44px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.topbar-breadcrumb{color:var(--muted);font-size:11px;display:flex;gap:9px;align-items:center}.topbar-breadcrumb svg{width:13px;height:13px}.top-actions{display:flex;align-items:center;gap:9px}.pair-label{font-size:11px;color:var(--muted);margin-right:6px}.avatars{display:flex;margin-left:4px;margin-right:10px}.avatar{height:32px;width:32px;border:2px solid var(--bg);border-radius:50%;background:var(--pink);color:var(--accent);font-size:11px;display:grid;place-content:center;font-weight:650}.avatar+.avatar{margin-left:-8px;background:var(--cream);color:var(--ink)}main{max-width:1450px;margin:0 auto;padding:37px 44px 45px;min-height:calc(100vh - 87px)}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}.page-head h1{font-size:41px}.page-head .eyebrow{margin-bottom:11px}.page-head p{color:var(--muted);font-size:13px;margin-top:10px}.date-label{font-size:11px;color:var(--muted);padding-bottom:5px}.page-enter{animation:pagein .28s ease-out}.mobile-brand{display:none}.mobile-nav{display:none}.page-footer{display:flex;align-items:center;justify-content:space-between;padding-top:32px;margin-top:28px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.page-footer svg{width:12px;height:12px}.page-footer .flex{gap:5px}.offline-banner{padding:10px 20px;text-align:center;background:var(--cream);font-size:12px}
.mobile-create{display:none}.section-heading button svg{width:13px;height:13px;vertical-align:middle;margin-left:4px}
/* Home */
.home-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}.hero{border-radius:var(--radius);background:#f0d4ce;min-height:339px;position:relative;overflow:hidden;display:grid;grid-template-columns:1.05fr 1fr;padding:38px 34px;color:#562936;isolation:isolate}.hero:before{content:'';position:absolute;inset:0;z-index:-1;opacity:.4;background:radial-gradient(ellipse at 75% 20%,#fff8e9,transparent 55%),repeating-linear-gradient(115deg,transparent,transparent 80px,#fffc 81px,transparent 82px)}.hero-copy{position:relative;z-index:3;display:flex;flex-direction:column;align-items:flex-start}.hero .eyebrow{color:#7b4856;font-size:9px;letter-spacing:.19em;margin-bottom:22px;display:flex;align-items:center;gap:7px}.hero .eyebrow svg{width:12px;height:12px}.hero h2{font-size:clamp(36px,3.5vw,53px);line-height:1.07;max-width:330px;letter-spacing:-.05em}.hero h2 em{color:#963b52}.hero-copy>p{font-size:12px;color:#79505b;max-width:245px;line-height:1.65;margin:15px 0 23px}.hero .btn.primary{background:#713046;color:#fff8f3;font-size:12px;min-height:43px;padding:11px 18px}.hero .btn.text{color:#683847;margin-top:7px;font-size:11px}.hero-art{position:relative;min-height:260px;display:flex;align-items:center;justify-content:center;perspective:900px}.envelope-object{width:225px;height:158px;position:relative;transform:rotate(-12deg);margin-top:38px;filter:drop-shadow(1px 22px 14px #7f33492b);transition:transform .5s cubic-bezier(.2,.7,.2,1);pointer-events:none}.hero-art:hover .envelope-object{transform:rotate(-7deg) translateY(-7px)}.envelope-back{position:absolute;inset:0;background:#b56070;border-radius:6px 6px 9px 9px}.letter-paper{position:absolute;left:12px;right:12px;height:153px;bottom:22px;background:#fffbf0;border:1px solid #f0e8d8;border-radius:3px;padding:16px 15px;text-align:center;box-shadow:0 -4px 12px #6d273012;transform:rotate(4deg)}.letter-paper .hand{font-family:var(--serif);font-style:italic;color:#8f4a59;font-size:21px;display:block;line-height:1.4}.letter-paper .letter-line{display:block;height:2px;border-radius:4px;background:#e3d1c9;width:70%;margin:9px auto}.letter-paper .letter-line.short{width:42%}.envelope-front{position:absolute;inset:0;background:linear-gradient(135deg,#c7848a,#d79999);clip-path:polygon(0 0,50% 51%,100% 0,100% 100%,0 100%);border-radius:7px}.envelope-flap{position:absolute;inset:0;background:linear-gradient(180deg,#dfaaa7,#c8888b);clip-path:polygon(0 0,100% 0,50% 57%);filter:drop-shadow(0 1px 1px #9a5862)}.wax-seal{position:absolute;left:calc(50% - 24px);top:58px;width:48px;height:48px;border-radius:48% 53% 49% 51%;background:radial-gradient(circle at 30% 25%,#aa4e65,#793047 70%);box-shadow:inset 0 0 0 3px #9c4a5d,inset 1px 3px 4px #be6a7c,0 4px 9px #73334733;color:#e9b2ad;display:grid;place-content:center;transform:rotate(8deg)}.wax-seal svg{width:21px;height:21px}.small-spark{position:absolute;font-family:var(--serif);color:#a66578;font-size:25px;top:16px;right:21px}.small-spark.second{top:auto;bottom:28px;right:auto;left:5px;font-size:17px}.scribble{position:absolute;bottom:4px;right:6px;font-family:var(--serif);font-style:italic;font-size:16px;color:#985367;transform:rotate(-7deg)}.mini-heart{position:absolute;right:5px;top:40px;width:45px;height:45px;background:#e9a9aa;transform:rotate(19deg);border-radius:50%;display:grid;place-content:center;box-shadow:inset -3px -3px 8px #c3848b44,2px 6px 10px #a8657515;color:#a4445e}.mini-heart svg{width:25px;height:25px;fill:#d68291;stroke:#c87083}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:26px 0 13px}.section-heading h2{font-size:24px}.section-heading a,.section-heading button{font-size:11px;color:var(--accent);min-height:34px}.mischief-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mischief-card{border:1px solid var(--line);border-radius:20px;min-height:151px;padding:21px;text-align:left;background:var(--surface);position:relative;overflow:hidden;transition:transform .25s,box-shadow .25s}.mischief-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.mischief-card.cream{background:var(--cream);border-color:transparent}.mischief-card .eyebrow{font-size:9px}.mischief-card h3{font-family:var(--serif);font-size:24px;letter-spacing:-.025em;margin:11px 0 4px;max-width:190px}.mischief-card p{font-size:11px;color:var(--muted);max-width:190px}.mischief-card .card-corner{position:absolute;right:19px;top:18px;width:28px;height:28px;border:1px solid var(--line);border-radius:50%;display:grid;place-content:center}.card-corner svg{width:12px;height:12px}.tiny-dice{position:absolute;width:40px;height:40px;border-radius:10px;background:var(--pink);right:22px;bottom:24px;transform:rotate(18deg);display:grid;grid-template-columns:repeat(2,5px);place-content:center;gap:9px;box-shadow:4px 5px 0 #aa78821c}.tiny-dice i{width:5px;height:5px;border-radius:50%;background:var(--accent)}.side-panel{padding:23px 22px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.side-panel h2{font-size:29px;line-height:1.16;margin:15px 0 9px}.side-panel>p{font-size:12px;color:var(--muted);line-height:1.7}.mood-row{display:flex;justify-content:space-between;gap:4px;margin:25px 0 21px}.mood-button{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:9px;color:var(--muted);padding:0;min-width:40px}.mood-face{display:grid;place-content:center;border:1px solid var(--line);border-radius:50%;height:38px;width:38px;background:var(--bg);color:var(--muted);transition:background .2s,transform .2s}.mood-face svg{width:21px;height:21px}.mood-button:hover .mood-face,.mood-button.selected .mood-face{background:var(--pink);transform:translateY(-3px);border-color:transparent;color:var(--accent)}.side-panel .btn.full{font-size:11px;min-height:41px}.private-caption{display:flex;align-items:center;justify-content:center;gap:5px;color:var(--muted);font-size:9px;margin-top:14px}.private-caption svg{width:10px;height:10px}.side-note{margin-top:19px;border:1px solid var(--line);border-radius:21px;padding:22px;background:var(--pink2);position:relative}.side-note .ornament{position:absolute;top:18px;right:18px;color:var(--accent)}.side-note .ornament svg{width:18px;height:18px}.side-note h3{font-family:var(--serif);font-size:23px;letter-spacing:-.02em;margin:10px 0 7px}.side-note p{font-size:11px;line-height:1.8;color:var(--muted)}.side-note .text-link{font-size:11px;display:flex;align-items:center;gap:7px}.side-note .text-link svg{width:12px;height:12px}.memory-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.mini-memory{background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:8px;text-align:left;transition:transform .25s;min-width:0}.mini-memory:hover{transform:translateY(-3px)}.mini-memory .memory-cover{aspect-ratio:1.6;border-radius:9px;overflow:hidden;background:var(--pink2);display:grid;place-content:center}.mini-memory img{width:100%;height:100%;object-fit:cover}.mini-memory .mini-caption{padding:10px 4px 4px;font-family:var(--serif);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-memory small{font-size:9px;padding:0 4px 2px;display:block}.memory-text-thumb{padding:18px;font-family:var(--serif);font-style:italic;font-size:18px;text-align:center;color:var(--accent)}.daily-done{padding:18px 0 4px}.daily-done .mood-face{width:52px;height:52px;margin-bottom:12px;color:var(--accent);background:var(--pink2)}.daily-done h3{font-family:var(--serif);font-size:24px}.daily-done p{font-size:12px;color:var(--muted);margin-top:5px}
/* Lists, gallery and discovery */
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px;flex-wrap:wrap}.filters{display:flex;gap:5px;background:var(--pink2);border-radius:100px;padding:4px;max-width:100%;overflow-x:auto}.filter{min-height:36px;padding:8px 16px;border-radius:100px;font-size:12px;color:var(--muted);white-space:nowrap}.filter.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 5px #00000008}.search{position:relative;max-width:245px;flex:1;min-width:150px}.search svg{position:absolute;left:13px;top:13px;width:16px;height:16px;color:var(--muted)}.search input{width:100%;min-height:42px;padding:10px 15px 10px 39px;border:1px solid var(--line);background:var(--surface);border-radius:100px;color:var(--ink);outline-offset:2px}.moments-list{display:flex;flex-direction:column;gap:14px}.moment-card{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:18px;align-items:center;width:100%;padding:24px;border-radius:19px;border:1px solid var(--line);background:var(--surface);text-align:left;transition:box-shadow .2s,transform .2s}.moment-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.moment-icon{height:56px;width:56px;border-radius:17px;background:var(--pink2);color:var(--accent);display:grid;place-content:center}.moment-icon svg{height:25px;width:25px}.moment-card h3{font-family:var(--serif);font-size:22px;letter-spacing:-.025em;margin:7px 0 4px}.moment-card p{color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:600px}.moment-card .eyebrow{font-size:9px;display:flex;align-items:center;gap:7px}.unread-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);display:inline-block}.moment-meta{text-align:right;display:flex;flex-direction:column;gap:12px;align-items:flex-end;color:var(--muted);font-size:10px}.moment-meta svg{width:16px;height:16px}.moment-thumb{width:56px;height:56px;object-fit:cover;border-radius:15px}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.gallery-card{border:1px solid var(--line);background:var(--surface);border-radius:20px;overflow:hidden;text-align:left;position:relative;transition:transform .25s,box-shadow .25s}.gallery-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.gallery-image{aspect-ratio:1.18;overflow:hidden;display:grid;place-content:center;position:relative;background:var(--pink2)}.gallery-image img,.gallery-image video{width:100%;height:100%;object-fit:cover}.gallery-image .memory-text-thumb{font-size:29px;padding:30px}.gallery-image>svg{width:40px;height:40px;color:var(--accent)}.gallery-caption{padding:20px}.gallery-caption h3{font-family:var(--serif);font-size:21px;margin-bottom:6px}.gallery-caption small{font-size:10px}.media-badge{position:absolute;right:11px;bottom:11px;display:flex;gap:5px;align-items:center;background:#fffdf5e0;color:#643247;padding:5px 10px;border-radius:100px;font-size:10px;backdrop-filter:blur(10px)}.media-badge svg{width:12px;height:12px}.play-feature{display:grid;grid-template-columns:1fr 280px;gap:30px;padding:38px;border-radius:var(--radius);background:var(--pink);overflow:hidden;position:relative}.play-feature h2{font-size:42px;margin:20px 0 14px;line-height:1.1;max-width:500px}.play-feature p{color:var(--muted);max-width:430px;font-size:13px;line-height:1.8;margin-bottom:22px}.playing-cards{position:relative;min-height:250px;display:flex;align-items:center;justify-content:center}.playing-card{width:148px;height:210px;border-radius:13px;border:1px solid #f4dcd5;background:#fff5e9;box-shadow:0 12px 22px #6b263a22;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#7c3048;font-family:var(--serif);font-size:28px;position:absolute;transform:rotate(13deg);right:30px;top:25px}.playing-card:before{content:'';position:absolute;inset:10px;border:1px solid #bf8b8c;border-radius:7px}.playing-card .corner{position:absolute;top:16px;left:19px;font-size:14px}.playing-card>svg{width:42px;height:42px;margin-bottom:13px}.playing-card.back{transform:rotate(-13deg);right:95px;top:15px;background:#81364a;color:#edc6c4;border-color:#81364a}.play-options{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:24px}.play-option{padding:28px;border:1px solid var(--line);background:var(--surface);border-radius:22px;display:flex;gap:22px;align-items:flex-start}.play-option .game-object{width:64px;height:64px;flex-shrink:0;display:grid;place-content:center;background:var(--cream);border-radius:20px;color:var(--accent);transform:rotate(-6deg)}.game-object svg{width:32px;height:32px}.play-option h2{font-size:26px;margin:2px 0 9px}.play-option p{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:12px}.intensity{display:flex;gap:8px;margin:17px 0}.intensity button{padding:8px 16px;border:1px solid var(--line);border-radius:100px;min-height:40px;font-size:12px;background:var(--surface)}.intensity button.active{background:var(--accent);color:var(--white);border-color:var(--accent)}.connect-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 0 30px}.connect-card{border-radius:22px;border:1px solid var(--line);background:var(--surface);padding:26px 24px;text-align:left;transition:transform .2s;min-height:235px}.connect-card:hover{transform:translateY(-4px)}.connect-card:first-child{background:var(--pink2)}.connect-card:nth-child(2){background:var(--cream)}.connect-card .moment-icon{margin-bottom:22px;background:var(--surface)}.connect-card h2{font-size:25px;margin-bottom:10px}.connect-card p{font-size:12px;line-height:1.8;color:var(--muted)}.connect-card>svg{margin-top:18px;width:17px;height:17px}.quiet-note{padding:18px 22px;border:1px solid var(--line);border-radius:16px;display:flex;gap:12px;align-items:center;color:var(--muted);font-size:12px;background:var(--surface)}.quiet-note svg{width:16px;height:16px}
/* Modal system and editor */
dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:27px;padding:0;width:min(680px,calc(100vw - 40px));max-height:calc(100dvh - 48px);box-shadow:0 25px 100px #22101f3b;overflow:auto}dialog::backdrop{background:#25101d62;backdrop-filter:blur(7px)}dialog[open]{animation:modalin .2s ease-out}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:24px 28px 19px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:6;background:var(--surface);gap:12px}.modal-head h2{font-size:26px}.modal-head .eyebrow{font-size:9px;margin-bottom:6px}.modal-body{padding:28px}.modal-footer{padding:18px 28px;border-top:1px solid var(--line);display:flex;gap:10px;justify-content:space-between;align-items:center;background:var(--surface);position:sticky;bottom:0;z-index:5}.modal-footer small{font-size:10px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}.field>label,.field-label{font-size:12px;font-weight:600}.field input,.field select,.field textarea,.input{width:100%;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink);min-height:46px;padding:12px 14px}.field textarea{resize:vertical;min-height:105px}.field small{font-size:11px;line-height:1.5}.field input::placeholder,textarea::placeholder{color:var(--faint)}.compose-paper{padding:22px;background:var(--bg);border:1px solid var(--line);border-radius:17px}.compose-paper input{font-family:var(--serif);font-size:25px;background:none;border:0;padding:0;width:100%;margin-bottom:18px;color:var(--ink)}.compose-paper textarea{width:100%;background:transparent;resize:vertical;border:0;min-height:155px;font-size:14px;line-height:1.85;color:var(--ink)}.compose-paper input:focus,.compose-paper textarea:focus{outline:0}.compose-paper:focus-within{border-color:var(--faint);box-shadow:0 0 0 2px var(--pink2)}.upload-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:14px 0 18px}.upload-actions button{font-size:11px;padding:8px 11px;border:1px solid var(--line);border-radius:100px;display:flex;align-items:center;gap:7px;min-height:38px}.upload-actions button:hover{background:var(--pink2)}.upload-actions svg{width:15px;height:15px}.dropzone{position:relative}.dropzone.dragging{outline:2px dashed var(--accent);outline-offset:5px;background:var(--pink2)}.record-panel{padding:15px;border:1px solid var(--line);border-radius:15px;display:flex;align-items:center;gap:12px;margin-bottom:18px;flex-wrap:wrap}.record-dot{width:10px;height:10px;border-radius:50%;background:#ad3c59;animation:breathe 1s infinite}.record-panel audio{max-width:100%;height:38px}.attachment-list{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.attachment{border:1px solid var(--line);border-radius:14px;padding:10px;display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center}.attachment img{height:48px;width:48px;object-fit:cover;border-radius:8px}.attachment .attachment-icon{width:48px;height:48px;display:grid;place-content:center;background:var(--pink2);border-radius:8px}.attachment .attachment-details{min-width:0}.attachment-name{font-size:11px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.attachment input{width:100%;padding:5px 0;font-size:11px;background:none;border:0;border-bottom:1px solid var(--line);color:var(--ink);margin-top:3px}.attachment small{font-size:10px}.attachment progress{display:block;width:100%;height:4px;margin:8px 0;accent-color:var(--accent)}.attachment .icon-btn{height:32px;width:32px}.attachment .icon-btn svg{width:14px;height:14px}.attachment-buttons{display:flex;flex-direction:column}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0;border-top:1px solid var(--line)}.switch-row strong{font-size:12px;font-weight:600;display:block}.switch-row small{font-size:10px;display:block;margin-top:4px;line-height:1.6}.switch{position:relative;width:40px;height:24px;border-radius:20px;background:var(--line);flex-shrink:0;transition:background .2s}.switch:after{content:'';position:absolute;height:18px;width:18px;background:var(--surface);border-radius:50%;top:3px;left:3px;box-shadow:0 1px 4px #0002;transition:transform .2s}.switch[aria-checked=true]{background:var(--accent)}.switch[aria-checked=true]:after{transform:translateX(16px);background:var(--white)}.advanced-options{border:1px solid var(--line);border-radius:16px;padding:4px 17px;background:var(--pink2);margin:8px 0 14px}.advanced-options .switch-row:first-child{border-top:0}.advanced-options .field{margin-top:12px}.draft-status{color:var(--muted);font-size:10px}.draft-status.error{color:#a52e42}.inline-error{background:#ffedf0;color:#a72b48;padding:12px;border-radius:11px;margin-bottom:12px;font-size:12px}.recipient-preview{background:var(--bg);border:1px solid var(--line);padding:25px;border-radius:19px;text-align:center;margin-bottom:18px}.recipient-preview h3{font-family:var(--serif);font-size:26px;margin:15px 0}.recipient-preview .envelope-object{margin:40px auto 25px;width:160px;height:112px}.recipient-preview .wax-seal{top:37px}.recipient-preview .letter-paper{display:none}.recipient-preview>p{font-size:12px;color:var(--muted);line-height:1.8}.upload-limit{font-size:10px;color:var(--muted);margin-top:8px}
/* Viewer, games, check-in */
.viewer-author{display:flex;align-items:center;gap:11px;color:var(--muted);font-size:11px;margin-bottom:23px}.viewer-body{font-family:var(--serif);font-size:23px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;letter-spacing:-.015em}.viewer-body.small{font-family:var(--sans);font-size:15px;letter-spacing:0}.viewer-media{display:flex;flex-direction:column;gap:19px;margin-top:22px}.media-item{background:var(--bg);border:1px solid var(--line);border-radius:15px;overflow:hidden}.media-item img{width:100%;max-height:60vh;object-fit:contain}.media-item video{width:100%;max-height:60vh;display:block;background:#1e1620}.media-item audio{width:calc(100% - 28px);margin:20px 14px}.media-item .caption{padding:12px 16px;font-size:12px;color:var(--muted)}.image-open{width:100%;padding:0;display:block;cursor:zoom-in}.image-open.zoomed{overflow:auto;max-height:65vh;cursor:zoom-out}.image-open.zoomed img{width:160%;max-width:none;max-height:none}.viewer-actions{display:flex;gap:9px;flex-wrap:wrap;margin:26px 0;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.reaction-btn{display:flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:100px;min-height:37px;padding:8px 12px;font-size:11px}.reaction-btn svg{width:15px;height:15px}.reaction-btn.active{background:var(--pink2);border-color:var(--pink);color:var(--accent)}.viewer-subactions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.thread{display:flex;flex-direction:column;gap:12px}.reply-bubble{max-width:85%;padding:13px 16px;border-radius:15px 15px 15px 4px;background:var(--bg);font-size:13px;align-self:flex-start;overflow-wrap:anywhere}.reply-bubble.own{align-self:flex-end;background:var(--pink2);border-radius:15px 15px 4px 15px}.reply-bubble small{font-size:9px;display:block;margin-bottom:5px}.reply-form{display:flex;gap:8px;margin-top:21px;align-items:flex-end}.reply-form textarea{flex:1;min-width:0;resize:vertical;min-height:46px;max-height:180px;border-radius:15px;border:1px solid var(--line);background:var(--bg);color:var(--ink);padding:12px;font-size:12px}.reply-form button{height:45px;width:45px;border-radius:50%;background:var(--accent);color:var(--white);display:grid;place-content:center;flex-shrink:0}.reveal-stage{min-height:380px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--pink2);border-radius:20px;padding:35px 20px;position:relative;overflow:hidden}.reveal-stage .envelope-object{margin:50px auto 45px;transform:rotate(-7deg)}.reveal-stage h2{font-size:32px;margin:10px 0}.reveal-stage p{font-size:12px;color:var(--muted);max-width:330px;margin:0 auto 20px;line-height:1.8}.reveal-stage.opening .envelope-flap{animation:flapopen .45s forwards;transform-origin:top}.reveal-stage.opening .letter-paper{animation:letterup .7s .12s forwards}.reveal-stage.opening .wax-seal{animation:sealfade .25s forwards}.reveal-stage.opening .envelope-object{animation:envelopefade .8s forwards}.reveal-note{font-size:10px;margin-top:14px;color:var(--muted)}.checkin-moods{display:flex;gap:9px;justify-content:space-between;margin:20px 0 30px}.checkin-moods .mood-button{font-size:11px;gap:10px;flex:1}.checkin-moods .mood-face{height:52px;width:52px}.checkin-moods .mood-face svg{height:27px;width:27px}.choice-pills{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0 23px}.choice-pills button{padding:10px 14px;border:1px solid var(--line);border-radius:100px;font-size:12px;min-height:42px}.choice-pills button.selected{background:var(--pink);border-color:var(--pink);color:var(--accent)}.field-heading{font-family:var(--serif);font-size:24px;line-height:1.3;margin-bottom:9px}.checkin-attachment-note{font-size:11px;color:var(--muted);margin:12px 0}.game-stage{text-align:center;padding:12px 15px 15px}.game-stage .eyebrow{margin-bottom:20px}.game-prompt{font-family:var(--serif);font-size:36px;line-height:1.3;letter-spacing:-.035em;margin:0 auto 25px;max-width:490px}.game-symbol{height:64px;width:64px;background:var(--pink2);color:var(--accent);border-radius:22px;margin:5px auto 23px;display:grid;place-content:center;transform:rotate(-7deg)}.game-symbol svg{height:30px;width:30px}.game-answer{width:100%;min-height:110px;border:1px solid var(--line);border-radius:15px;background:var(--bg);padding:17px;resize:vertical;color:var(--ink);margin:3px 0 12px}.game-status{display:flex;gap:10px;align-items:center;justify-content:center;margin:20px 0;color:var(--muted);font-size:12px}.answer-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:25px 0}.answer-card{padding:23px 17px;background:var(--pink2);border-radius:17px;animation:cardflip .5s both;text-align:left}.answer-card:nth-child(2){animation-delay:.12s;background:var(--cream)}.answer-card p{font-family:var(--serif);font-size:21px;line-height:1.65;margin-top:10px;white-space:pre-wrap;overflow-wrap:anywhere}.answer-card small{font-size:10px}.game-safety{font-size:10px;color:var(--muted);margin-top:18px}.chemistry-row{border:1px solid var(--line);border-radius:15px;padding:16px;margin-bottom:11px}.chemistry-row strong{font-size:13px;font-weight:600}.chemistry-row .choice-pills{margin:12px 0 0;gap:5px}.chemistry-row .choice-pills button{font-size:11px;padding:8px 12px;min-height:36px}.match-note{padding:16px;background:var(--sage);border-radius:15px;margin-bottom:17px;font-size:13px}.setting-section{margin:0 0 28px}.setting-section h3{font-family:var(--serif);font-size:24px;margin-bottom:15px}.setting-section>p{font-size:12px;line-height:1.8;color:var(--muted)}.setting-section .filters{width:max-content;margin:12px 0}.invite-result{padding:15px;background:var(--bg);border:1px solid var(--line);border-radius:12px;margin-top:14px}.invite-result code{font-size:11px;word-break:break-all;display:block;margin:12px 0}.storage-track{height:5px;background:var(--line);border-radius:5px;overflow:hidden;margin:12px 0 6px}.storage-track i{display:block;height:100%;background:var(--accent);min-width:1px}.danger-zone{padding-top:22px;border-top:1px solid var(--line)}.danger-zone p{font-size:11px;color:var(--muted);margin-bottom:15px}.confirm-dialog{width:min(450px,calc(100vw - 30px));padding:28px}.confirm-dialog h2{font-size:27px;margin-bottom:13px}.confirm-dialog p{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:22px}.confirm-dialog .flex{justify-content:flex-end}.notice{padding:13px 15px;background:var(--cream);border-radius:13px;font-size:11px;line-height:1.8;color:var(--ink);margin-bottom:18px}.download-note{font-size:10px;color:var(--muted);line-height:1.8}
/* Auth */
.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:var(--surface)}.auth-art{position:relative;background:#edd2ca;color:#552737;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:55px 50px;overflow:hidden;isolation:isolate}.auth-art:before{content:'';position:absolute;width:640px;height:640px;border-radius:50%;border:1px solid #cf999555;top:7%;left:-60px;z-index:-1;box-shadow:0 0 0 80px #fff4e522,0 0 0 160px #fff4e51a}.auth-art .brand{position:absolute;top:38px;left:45px;color:#552737}.auth-art h1{font-size:64px;line-height:1.08;max-width:480px;align-self:flex-start;position:relative;z-index:2;margin-top:70px}.auth-art h1 em{color:#9c4d62}.auth-art>p{align-self:flex-start;color:#754556;line-height:1.8;font-size:14px;max-width:350px;margin:20px 0 0}.auth-art .hero-art{height:260px;width:100%;max-width:390px;align-self:flex-end}.auth-art .envelope-object{width:245px;height:168px;transform:rotate(-12deg)}.auth-caption{position:absolute;bottom:35px;left:45px;font-size:10px;letter-spacing:.1em;display:flex;gap:8px;align-items:center}.auth-caption svg{width:12px;height:12px}.auth-form-wrap{display:flex;flex-direction:column;justify-content:center;padding:50px 12%;}.auth-form-wrap .eyebrow{margin-bottom:18px}.auth-form-wrap h2{font-size:38px;margin-bottom:10px}.auth-form-wrap>p{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:26px}.auth-form-wrap .filters{margin-bottom:25px;width:max-content}.auth-form-wrap .field{margin-bottom:15px}.adult-check{display:flex;align-items:flex-start;gap:10px;font-size:11px;color:var(--muted);margin:18px 0 22px;line-height:1.7}.adult-check input{margin:4px 0 0;accent-color:var(--accent);width:16px;height:16px;flex-shrink:0}.auth-foot{font-size:10px;color:var(--muted);line-height:1.8;margin-top:22px}.auth-preview{margin-top:22px;text-align:center}.auth-preview a{font-size:12px;text-underline-offset:4px}
/* Privacy, toast and accessibility */
#toast{position:fixed;bottom:25px;left:calc(50% + 80px);transform:translate(-50%,20px);max-width:calc(100vw - 32px);padding:12px 20px;border-radius:14px;background:var(--ink);color:var(--bg);z-index:70;font-size:12px;opacity:0;pointer-events:none;box-shadow:var(--shadow);transition:opacity .2s,transform .2s;text-align:center;line-height:1.6}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#9b354d;color:#fff}#cover{position:fixed;inset:0;background:#f7f5f0;color:#4a4c47;z-index:1000;display:grid;place-items:center;padding:30px}#cover[hidden]{display:none}.cover-content{text-align:center;max-width:400px}.cover-content h1{font-family:var(--serif);font-size:40px;margin:30px 0 13px}.cover-content p{font-size:13px;margin-bottom:25px;color:#70746b}.cover-content small{display:block;margin-top:20px;color:#73766e;font-size:10px}.neutral-orbit{display:block;width:75px;height:75px;border:1px solid #bac2b3;border-radius:50%;margin:auto;box-shadow:inset 0 0 0 16px #ebeee5}.cover-content .btn{background:#4d6254;color:white}.celebration{position:fixed;left:50%;top:45%;pointer-events:none;z-index:80;font-family:var(--serif);color:var(--accent);font-size:55px;animation:kiss .8s forwards}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes pagein{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes modalin{from{opacity:0;transform:translateY(15px) scale(.99)}to{opacity:1;transform:none}}@keyframes breathe{50%{opacity:.45;transform:scale(.94)}}@keyframes flapopen{to{transform:rotateX(175deg);opacity:0}}@keyframes letterup{to{transform:translateY(-70px) rotate(0)}}@keyframes sealfade{to{opacity:0;transform:translateY(20px) rotate(25deg)}}@keyframes envelopefade{60%{opacity:1}100%{opacity:0;transform:translateY(40px) scale(.93)}}@keyframes cardflip{from{opacity:0;transform:rotateY(80deg)}to{opacity:1;transform:rotateY(0)}}@keyframes kiss{0%{opacity:0;transform:translate(-50%,20px) scale(.5)}35%{opacity:1;transform:translate(-50%,-5px) scale(1.15)}100%{opacity:0;transform:translate(-50%,-90px) scale(1)}}
body[data-theme=night] .hero{background:#4b2938;color:#f8dedb}body[data-theme=night] .hero:before{background:radial-gradient(ellipse at 75% 20%,#a2556922,transparent 60%),repeating-linear-gradient(115deg,transparent,transparent 80px,#ffd2d204 81px,transparent 82px)}body[data-theme=night] .hero .eyebrow,body[data-theme=night] .hero-copy>p{color:#c39aa6}body[data-theme=night] .hero h2 em{color:#e7acb7}body[data-theme=night] .hero .btn.text{color:#dfb2c1}body[data-theme=night] .hero .btn.primary{background:#e7acb7;color:#321b26}body[data-theme=night] .auth-form-wrap{background:var(--surface)}
@media(min-width:1500px){.home-layout{grid-template-columns:minmax(0,1fr) 310px}.hero{min-height:370px;padding:43px}.hero-art .envelope-object{width:260px;height:180px}.hero-art .wax-seal{top:70px}.hero h2{font-size:56px}}
@media(max-width:1180px){:root{--sidebar:195px}.sidebar{padding:32px 18px 22px}.brand{font-size:30px}.topbar{padding:0 28px}main{padding:30px 28px}.home-layout{grid-template-columns:minmax(0,1fr) 265px;gap:18px}.hero{padding:30px 27px;grid-template-columns:1.2fr .8fr;min-height:330px}.hero h2{font-size:42px}.envelope-object{width:175px;height:125px}.letter-paper{height:123px}.wax-seal{top:43px}.scribble{bottom:23px;font-size:13px;right:0}.hero-art .small-spark{right:0}.side-panel{padding:22px 18px}.side-panel h2{font-size:27px}.mischief-card{padding:20px 17px}.mischief-card h3{font-size:22px;max-width:160px}.tiny-dice{display:none}.gallery{gap:16px}.play-option{padding:22px;gap:15px}.play-option .game-object{width:47px;height:47px;border-radius:14px}.play-option h2{font-size:24px}}
@media(max-width:960px){:root{--sidebar:180px}.brand{font-size:28px}.sidebar{padding:28px 15px}.brand-sub{font-size:8px}.home-layout{grid-template-columns:1fr}.home-side{display:grid;grid-template-columns:1fr 1fr;gap:18px}.side-note{margin-top:0}.side-panel h2{font-size:27px}.side-panel{padding:23px}.side-panel .mood-row{margin:19px 0}.hero{grid-template-columns:1fr 1fr;min-height:330px}.envelope-object{width:220px;height:153px}.letter-paper{height:148px}.wax-seal{top:58px}.hero h2{font-size:48px}.hero-art{min-height:240px}.scribble{bottom:0}.mischief-card h3{max-width:200px}.tiny-dice{display:grid}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.play-feature{grid-template-columns:1fr 180px;padding:29px;gap:5px}.play-feature h2{font-size:36px}.playing-card{right:0;width:120px;height:175px}.playing-card.back{right:45px}.play-options{grid-template-columns:1fr}.connect-options{gap:13px}.connect-card{padding:20px 16px}.connect-card h2{font-size:23px}.auth-art h1{font-size:53px}.auth-form-wrap{padding:40px 9%}.pair-label{display:none}}
@media(max-width:760px){:root{--sidebar:0px}.sidebar{display:none}.topbar{height:72px;padding:0 20px}.mobile-brand{display:flex}.mobile-brand .brand{font-size:28px}.topbar-breadcrumb{display:none}.top-actions{gap:0}.top-actions .avatars{margin-right:5px}.top-actions .avatar{height:29px;width:29px;font-size:9px}.topbar .icon-btn{height:39px;width:39px}.topbar .icon-btn svg{height:18px;width:18px}main{padding:27px 20px 110px}.page-head{margin-bottom:23px;align-items:flex-start}.page-head h1{font-size:37px}.page-head .eyebrow{font-size:9px}.date-label{display:none}.page-head>.btn{font-size:11px;padding:10px 15px;min-height:42px}.hero{padding:29px 25px;min-height:319px;grid-template-columns:1.1fr .9fr}.hero h2{font-size:43px}.hero-copy>p{font-size:11px;max-width:200px}.hero .eyebrow{font-size:8px;margin-bottom:19px}.envelope-object{width:180px;height:129px}.wax-seal{top:44px}.letter-paper{height:124px}.hero-art{min-height:230px}.scribble{font-size:12px;bottom:3px;right:0}.mini-heart{width:32px;height:32px;right:-8px;top:29px}.mini-heart svg{width:19px;height:19px}.small-spark{top:13px;font-size:21px;right:-3px}.mischief-card{min-height:150px}.home-layout{gap:20px}.home-side{gap:16px}.section-heading h2{font-size:24px}.page-footer{margin-top:24px;gap:15px;font-size:9px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:18;display:flex;background:var(--surface);border-top:1px solid var(--line);padding:6px 7px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -5px 30px #59253606}.mobile-nav .nav-btn{flex:1;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;min-height:57px;padding:7px 5px;border-radius:14px;font-size:9px;position:relative}.mobile-nav .nav-btn svg{width:20px;height:20px}.mobile-nav .nav-btn.active{background:var(--pink2)}.mobile-nav .nav-count{position:absolute;top:3px;right:calc(50% - 22px);min-width:14px;height:14px;line-height:14px;font-size:8px}.mobile-create{position:fixed;right:20px;bottom:calc(83px + env(safe-area-inset-bottom));z-index:17;background:var(--accent);color:var(--white);width:49px;height:49px;border-radius:50%;display:grid;place-content:center;box-shadow:0 5px 15px #45142733}.mobile-create svg{width:22px;height:22px}.demo-bar{font-size:9px;height:34px;gap:10px}.demo-bar button{font-size:9px;padding-left:10px}.demo-bar+.shell .sidebar{top:34px}.toolbar{gap:12px}.search{max-width:none;width:100%;flex-basis:100%}.moment-card{padding:19px;gap:13px;grid-template-columns:45px minmax(0,1fr) auto}.moment-icon{width:44px;height:44px;border-radius:13px}.moment-icon svg{height:21px;width:21px}.moment-card h3{font-size:21px;margin-top:6px}.moment-card p{max-width:240px;font-size:11px}.moment-card .eyebrow{font-size:8px}.moment-meta{font-size:9px}.moment-thumb{width:44px;height:44px;border-radius:13px}.gallery{gap:15px}.gallery-caption{padding:16px}.gallery-caption h3{font-size:20px}.play-feature{grid-template-columns:1fr 155px;padding:28px 24px}.play-feature h2{font-size:36px}.play-feature p{font-size:12px}.playing-card{width:111px;height:164px;right:-4px;top:35px}.playing-card.back{right:43px;top:28px}.playing-cards{min-height:240px}.play-options{gap:16px}.connect-options{grid-template-columns:1fr;gap:13px}.connect-card{min-height:unset;padding:22px;display:grid;grid-template-columns:48px 1fr 20px;column-gap:17px;align-items:center}.connect-card .moment-icon{grid-column:1;grid-row:1 / 3;margin:0}.connect-card h2{grid-column:2;font-size:25px;margin:0 0 4px}.connect-card p{grid-column:2;font-size:11px}.connect-card>svg{grid-column:3;grid-row:1 / 3;margin:0}.auth-page{grid-template-columns:1fr}.auth-art{min-height:310px;padding:90px 26px 35px;align-items:flex-start}.auth-art .brand{top:25px;left:26px}.auth-art h1{font-size:43px;max-width:300px;margin:0}.auth-art>p{font-size:11px;max-width:260px;margin-top:14px}.auth-art .hero-art{position:absolute;width:155px;height:170px;right:4px;bottom:15px;min-height:0}.auth-art .envelope-object{width:135px;height:95px}.auth-art .letter-paper{height:95px;padding:8px}.auth-art .letter-paper .hand{font-size:15px}.auth-art .wax-seal{width:31px;height:31px;left:calc(50% - 15px);top:33px}.auth-art .wax-seal svg{width:15px;height:15px}.auth-caption{display:none}.auth-form-wrap{padding:35px 26px 45px}.auth-form-wrap h2{font-size:33px}#toast{left:50%;bottom:90px;font-size:11px;max-width:90vw;width:max-content}.viewer-body{font-size:21px}.checkin-moods .mood-face{width:46px;height:46px}.checkin-moods .mood-button{font-size:9px}.page-head .btn svg{width:15px;height:15px}}
@media(max-width:480px){.hero{padding:27px 22px;min-height:317px;grid-template-columns:1.3fr .7fr}.hero h2{font-size:41px}.hero-copy>p{max-width:190px}.hero-art{transform:translate(5px,14px);margin-left:-28px}.envelope-object{width:136px;height:102px}.letter-paper{height:105px;bottom:17px;padding:12px 8px;left:7px;right:7px}.letter-paper .hand{font-size:16px}.letter-paper .letter-line{margin:7px auto}.wax-seal{width:35px;height:35px;left:calc(50% - 17px);top:37px}.wax-seal svg{width:16px;height:16px}.scribble{right:-5px;bottom:7px;font-size:11px}.hero-art .small-spark.second{left:-5px;bottom:35px}.hero-art .mini-heart{right:-6px;top:28px;width:27px;height:27px}.hero-art .mini-heart svg{width:16px;height:16px}.hero .btn.primary{font-size:11px;padding:10px 14px}.hero .btn.primary svg{width:14px;height:14px}.hero .btn.text{font-size:10px}.mischief-grid{gap:12px}.mischief-card{padding:18px 16px;min-height:166px}.mischief-card h3{font-size:23px;max-width:130px;margin-top:21px;line-height:1.1}.mischief-card p{font-size:10px;max-width:125px}.mischief-card .eyebrow{font-size:8px}.mischief-card .card-corner{right:12px;top:12px;width:24px;height:24px}.tiny-dice{display:none}.home-side{grid-template-columns:1fr}.side-panel h2{font-size:30px}.side-panel{padding:25px}.mood-row{justify-content:space-around}.mood-button{font-size:10px;gap:9px}.mood-face{width:44px;height:44px}.side-note{padding:23px}.memory-strip{gap:9px}.mini-memory{padding:6px}.mini-memory .mini-caption{font-size:12px;padding:9px 1px 3px}.mini-memory small{font-size:8px;padding:0 1px}.mini-memory .memory-cover{aspect-ratio:1.12}.section-heading h2{font-size:23px}.section-heading button{font-size:10px}.page-head h1{font-size:35px}.page-head p{font-size:12px}.page-head>.btn{padding:10px 12px;min-height:38px}.moment-card{padding:17px 14px;grid-template-columns:40px minmax(0,1fr) 18px;gap:12px}.moment-icon,.moment-thumb{width:40px;height:40px}.moment-meta time,.moment-meta .pill{display:none}.moment-card p{max-width:220px}.filters{max-width:100%}.filter{font-size:11px;padding:8px 14px}.gallery{gap:12px}.gallery-caption{padding:14px}.gallery-caption h3{font-size:18px}.gallery-caption small{font-size:9px}.gallery-image{aspect-ratio:.95}.gallery-image .memory-text-thumb{font-size:23px;padding:18px}.play-feature{grid-template-columns:1fr;padding:28px 24px}.play-feature h2{max-width:270px;font-size:39px;position:relative;z-index:2}.play-feature p{max-width:230px;position:relative;z-index:2}.playing-cards{position:absolute;right:-35px;bottom:26px;opacity:.32;width:150px;min-height:220px;pointer-events:none}.play-feature .btn,.play-feature .intensity{position:relative;z-index:3}.play-option{padding:23px;gap:17px}.play-option .game-object{width:49px;height:49px}.play-option h2{font-size:25px}.play-option p{font-size:11px}dialog{width:100vw;max-width:100vw;max-height:calc(100dvh - 12px);margin:auto 0 0;border-radius:24px 24px 0 0;border-bottom:0;position:fixed;bottom:0;top:auto}.modal-head{padding:20px 21px 16px}.modal-head h2{font-size:24px}.modal-body{padding:22px}.modal-footer{padding:15px 21px calc(15px + env(safe-area-inset-bottom))}.modal-footer .btn{padding:10px 17px;min-height:43px;font-size:12px}.modal-footer .draft-status{max-width:115px;font-size:9px}.compose-paper{padding:17px}.compose-paper input{font-size:23px}.compose-paper textarea{font-size:14px;min-height:140px}.upload-actions{gap:5px}.upload-actions button{font-size:10px;padding:8px 9px}.attachment{grid-template-columns:40px 1fr auto;gap:8px}.attachment img,.attachment .attachment-icon{width:40px;height:40px}.checkin-moods{gap:4px}.checkin-moods .mood-face{width:44px;height:44px}.checkin-moods .mood-button{font-size:9px}.game-prompt{font-size:31px}.game-stage{padding:5px 0 10px}.answer-cards{grid-template-columns:1fr}.answer-card{padding:20px}.answer-card p{font-size:21px}.confirm-dialog{width:calc(100vw - 32px);margin:auto;border-radius:22px;position:fixed;inset:0;max-height:85vh;padding:25px}.reveal-stage{padding:25px 17px;min-height:350px}.reveal-stage .envelope-object{width:200px;height:145px;margin:40px auto}.reveal-stage .letter-paper{height:145px}.reveal-stage .wax-seal{top:50px;left:calc(50% - 23px);height:46px;width:46px}.reveal-stage h2{font-size:29px}.modal-footer .flex{gap:5px}.viewer-actions{gap:6px}.reaction-btn{font-size:10px;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}body[data-motion=reduced] *,body[data-motion=reduced] *:before,body[data-motion=reduced] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}

/* Narrow-screen art direction: the envelope never covers text or actions. */
@media(max-width:480px){
 .hero{display:block;min-height:340px;padding:28px 22px;}
 .hero-copy{width:100%;}
 .hero h2{font-size:clamp(31px,9.1vw,39px);max-width:100%;line-height:1.12;}
 .hero-copy>p{max-width:clamp(140px,42vw,165px);margin-top:17px;margin-bottom:19px;}
 .hero-art{position:absolute;right:17px;bottom:47px;width:120px;height:130px;min-height:0;margin:0;transform:none;}
 .hero-art .envelope-object{width:120px;height:89px;margin:0;}
 .hero-art .letter-paper{height:88px;bottom:14px;padding:9px 5px;}
 .hero-art .letter-paper .hand{font-size:13px;}
 .hero-art .wax-seal{top:32px;width:31px;height:31px;left:calc(50% - 15px);}
 .hero-art .small-spark{top:-12px;right:4px;font-size:15px;}
 .hero-art .small-spark.second{bottom:6px;left:-4px;top:auto;font-size:12px;}
 .hero-art .mini-heart{display:none;}
 .hero-art .scribble{bottom:-17px;right:-4px;font-size:11px;}
 .sidebar-create{white-space:nowrap;}
}
@media(max-width:360px){.hero-art{width:100px;right:12px;bottom:57px}.hero-art .envelope-object{width:100px;height:76px}.hero-art .wax-seal{top:26px}.hero-art .letter-paper{height:77px}.hero-copy>p{max-width:140px}.hero .eyebrow{letter-spacing:.13em;font-size:7px}.hero .btn.primary{font-size:10px;padding:11px 12px}}

@media(max-width:760px){
 .home-main,.home-side{display:contents;}
 .home-main>.hero{order:0;}
 .home-side>.side-panel{order:1;}
 .home-main>.section-heading:nth-child(2){order:2;}
 .home-main>.mischief-grid{order:3;}
 .home-main>.section-heading:nth-child(4){order:4;}
 .home-main>.memory-strip,.home-main>.quiet-note{order:5;}
 .home-side>.side-note{order:6;}
 .home-main>.section-heading{margin:9px 0 -8px;}
}

/* Sarah's Little Universe: a personal celestial invitation. */
.universe{--u-bg:#fcf8f2;--u-ink:#4f293b;--u-muted:#826974;--u-line:#dccbc650;--u-accent:#823b53;position:relative;isolation:isolate;min-height:100svh;overflow:hidden;color:var(--u-ink);background:radial-gradient(ellipse at 82% 35%,#f4d8dd66,transparent 49%),var(--u-bg);transition:background .6s,color .6s}
.universe-grain{position:absolute;inset:0;pointer-events:none;opacity:.2;z-index:-1;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' opacity='.15' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}
.universe-header{display:flex;justify-content:space-between;align-items:center;max-width:1440px;margin:auto;padding:34px 6%;height:110px;position:relative;z-index:5}.universe-logo{display:flex;align-items:center;gap:12px;text-decoration:none;font:italic 25px/1 Georgia,serif;letter-spacing:-.8px}.logo-star{font-size:42px;font-style:normal;font-weight:100;color:#a26375}.logo-sub{display:block;font:8px/1.4 var(--sans);letter-spacing:2.3px;margin-top:7px}.universe-header-actions{display:flex;gap:26px;align-items:center}.universe-theme{width:44px;height:44px;display:grid;place-content:center;border-radius:50%;border:1px solid var(--u-line);background:#ffffff30}.universe-theme svg{height:17px;width:17px}.universe-login{font-size:12px;display:flex;align-items:center;gap:14px;padding:12px 0}.universe-login svg{width:17px}.universe-main{max-width:1320px;padding:0 6%;margin:auto;min-height:0}.universe-hero{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;min-height:620px;gap:0}.universe-copy{padding:35px 0 50px;position:relative;z-index:2;animation:universe-arrive 1.1s both}.universe-eyebrow{display:flex;align-items:center;gap:10px;font:10px/1.6 var(--sans);letter-spacing:2.6px;margin-bottom:26px;color:var(--u-muted)}.universe-eyebrow>span{width:21px;height:1px;background:#b77e87}.universe-copy h1{font:400 clamp(62px,6.8vw,96px)/1.04 Georgia,serif;letter-spacing:-5px;white-space:nowrap}.universe-copy h1 em{display:inline-block;color:#a76077;font-weight:400}.universe-description{font-size:14px;line-height:1.9;color:var(--u-muted);margin-top:27px;letter-spacing:.05px}.universe-cta{display:flex;align-items:center;gap:22px;border-radius:100px;background:var(--u-accent);color:#fff4eb;padding:9px 9px 9px 25px;min-height:57px;margin-top:30px;font-size:12px;box-shadow:0 8px 30px #72374d15;transition:transform .25s,box-shadow .25s}.universe-cta>span{border:1px solid #ffffff36;border-radius:50%;width:39px;height:39px;display:grid;place-content:center;transition:transform .3s}.universe-cta svg{width:18px}.universe-cta:hover{transform:translateY(-3px);box-shadow:0 15px 30px #72374d25}.universe-cta:hover>span{transform:rotate(-35deg)}.universe-caption{font:italic 15px/1.6 Georgia,serif;color:var(--u-muted);margin-top:16px;padding-left:9px}
.universe-scene{position:relative;isolation:isolate;width:100%;aspect-ratio:1;min-width:0;animation:universe-arrive 1.5s .12s both}.scene-glow{position:absolute;inset:4%;border-radius:50%;background:radial-gradient(circle,#f4d4ce80,#f7e1d842 45%,transparent 69%);filter:blur(12px);animation:glow-breathe 10s infinite ease-in-out}.orbital-path{border:1px solid #b27c8340;position:absolute;border-radius:50%;inset:7%;transform:rotate(-25deg) scaleY(.68);pointer-events:none}.path-two{inset:0;transform:rotate(45deg) scaleY(.82);border-color:#b27c8321}.path-three{inset:20% -2%;transform:rotate(-32deg);border-style:dashed;border-color:#b27c832e}.little-orb{position:absolute;inset:24%;border-radius:50%;overflow:hidden;z-index:2;background:radial-gradient(circle at 30% 23%,#fff1d5 0,#f9dfca 19%,#edb6b9 44%,#ce7e99 69%,#85465c 100%);box-shadow:inset -13px -14px 30px #59263d32,inset 7px 8px 18px #fff8dc80,12px 27px 65px #96536b27,0 0 90px #f6d0c72b;animation:planet-float 9s ease-in-out infinite;display:grid;place-content:center}.orb-shine{position:absolute;inset:-10%;background:repeating-linear-gradient(165deg,transparent 0 27px,#ffebd21c 32px,transparent 46px);filter:blur(9px);transform:rotate(-20deg)}.orb-heart{font:100 130px/1 Georgia,serif;color:#fff6ddae;transform:rotate(-12deg);text-shadow:0 2px 10px #8e4c6530}.planet-ring{position:absolute;inset:39% 8%;border:18px solid #e6baac80;border-top-color:transparent;border-left-color:#f0d4bb99;border-radius:50%;transform:rotate(-30deg);z-index:3;pointer-events:none;box-shadow:0 3px 0 #ffe8c24d;animation:ring-float 9s ease-in-out infinite}.star{position:absolute;font-family:Georgia,serif;color:#b97b8b;animation:star-glimmer 5s ease-in-out infinite;pointer-events:none}.star-a{top:14%;left:29%;font-size:32px}.star-b{top:25%;right:11%;font-size:44px;animation-delay:1s}.star-c{bottom:22%;left:13%;font-size:21px;animation-delay:2s}.star-d{bottom:9%;right:28%;font-size:32px;animation-delay:3s}.star-e{top:47%;left:2%;font-size:12px}.star-f{right:3%;top:62%;font-size:48px}.star-g{left:40%;bottom:10%;font-size:33px}.little-moon{position:absolute;top:11%;right:27%;width:40px;height:40px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#ffecce,#ebceaf 60%,#bc938e);box-shadow:2px 7px 10px #a8787a20;animation:planet-float 7s infinite ease-in-out}.orbiting-dot{position:absolute;inset:8%;border-radius:50%;animation:orbit-round 65s linear infinite;pointer-events:none}.orbiting-dot i{display:block;position:absolute;left:49%;top:-3px;width:7px;height:7px;border-radius:50%;background:#b97a89;box-shadow:0 0 15px #e9b3ba}
.satellite-letter{position:absolute;left:6%;top:26%;width:126px;height:91px;border-radius:3px;background:#ead2ca;transform:rotate(-15deg);z-index:4;box-shadow:0 14px 25px #7a374923;animation:note-float 7s ease-in-out infinite}.letter-peek{position:absolute;left:9px;right:9px;top:-22px;background:#fffaf0;height:90px;padding:17px 0;font:italic 17px Georgia,serif;color:#916270;box-shadow:0 -2px 5px #8657610a;transition:transform .4s}.letter-fold{position:absolute;inset:0;overflow:hidden;border-radius:3px;background:linear-gradient(33deg,#edcfc5 49%,transparent 50%),linear-gradient(-33deg,#f1d8cf 49%,transparent 50%);clip-path:polygon(0 0,50% 58%,100% 0,100% 100%,0 100%)}.letter-seal{position:absolute;left:calc(50% - 16px);top:37px;width:32px;height:32px;border-radius:50%;background:#985569;color:#ffe1d2;font:23px/32px Georgia;box-shadow:inset 0 0 0 3px #8e4d622e,0 2px 4px #91496340}.satellite-label{position:absolute;top:108px;left:-10px;width:160px;font:italic 14px/1 Georgia,serif;color:#8d6370;transform:rotate(7deg);white-space:nowrap}.satellite-letter:hover .letter-peek{transform:translateY(-12px)}.satellite-heart{position:absolute;right:8%;bottom:26%;height:86px;width:86px;border:1px solid #ffffffa0;transform:rotate(14deg);border-radius:24px;z-index:4;background:linear-gradient(135deg,#fff8f0c9,#ecc8c6c9);box-shadow:0 15px 30px #9f5e7322,inset 0 0 20px #ffffff66;backdrop-filter:blur(8px);animation:heart-float 6s infinite ease-in-out}.satellite-heart>span{font:64px/1 Georgia,serif;color:#ad617a;display:block;text-shadow:0 3px 0 #fff4eb80}.satellite-heart.wish-sent>span{animation:wish-pop .8s ease-out}.orbit-coordinate{position:absolute;top:6%;left:2%;font:8px/1.5 var(--sans);letter-spacing:2px;color:#a47986}.orbit-coordinate span{display:block;margin-left:42px;margin-top:4px;font-size:27px;color:#b88a95}.scene-whisper{position:absolute;bottom:3%;left:23%;font:italic 20px/1.4 Georgia,serif;text-align:center;transform:rotate(-6deg);color:#a17482}
.universe-chapters{border-top:1px solid var(--u-line);border-bottom:1px solid var(--u-line);display:grid;grid-template-columns:repeat(3,1fr);margin:0 0 25px;padding:27px 0}.universe-chapters>button{display:flex;align-items:center;gap:16px;text-align:left;padding:13px 24px;border-right:1px solid var(--u-line);transition:background .3s;min-width:0}.universe-chapters>button:first-child{padding-left:0}.universe-chapters>button:last-child{border:0;padding-right:0}.universe-chapters>button:hover{background:#eed8d322}.chapter-icon{width:41px;height:41px;border-radius:50%;border:1px solid var(--u-line);display:grid;place-content:center;color:#9c677b;flex-shrink:0}.chapter-icon svg{width:18px;height:18px}.universe-chapters small{display:block;font:8px/1.5 var(--sans);letter-spacing:1.3px;color:var(--u-muted)}.universe-chapters strong{display:block;font:19px/1.4 Georgia,serif;letter-spacing:-.4px;margin-top:5px;white-space:nowrap}.chapter-arrow{margin-left:auto;font-size:18px;color:#ad8291;padding-left:10px}.universe-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;max-width:1320px;margin:auto;padding:0 6% 28px;color:var(--u-muted);font-size:10px}.universe-footer>span:first-child{font-size:8px;letter-spacing:1.6px}.universe-footer>span:nth-child(2){font-family:Georgia;font-style:italic;font-size:13px}.footer-heart{color:#a3657d;margin-left:5px;font-size:18px}.universe-footer>button{display:flex;align-items:center;gap:7px;font-size:10px;min-height:44px}.universe-footer svg{width:11px;height:11px}.signin-intro{color:var(--muted);margin-bottom:25px;font-size:13px;line-height:1.8}.signin-foot{text-align:center;font-size:11px;color:var(--muted);margin-top:20px}.password-wrap{position:relative}.password-wrap input{padding-right:65px}.password-wrap button{position:absolute;right:8px;top:0;height:100%;padding:0 10px;font-size:11px;color:var(--muted)}.welcome-letter{padding:0 12px 15px;text-align:center;font:21px/1.65 Georgia,serif}.welcome-letter p{margin-bottom:23px}.welcome-star{font-size:35px;color:#af7688;display:block;margin-bottom:20px}.letter-signature{font:italic 20px/1.5 Georgia,serif;color:var(--accent)}.universe-app-brand{display:block;font-size:32px;line-height:1}.universe-app-brand>span{display:flex;align-items:center;gap:6px;font-size:16px;letter-spacing:-.5px;margin-top:6px;font-style:italic}.universe-app-brand .brand-symbol{width:13px;height:13px}.topbar-breadcrumb button{display:flex;align-items:center;gap:7px;padding:8px 0;font-size:11px}
.universe-night{--u-bg:#221923;--u-ink:#f4e8e3;--u-muted:#c0a4b1;--u-line:#b4889a30;--u-accent:#efd0d1;background:radial-gradient(ellipse at 77% 37%,#733e582e,transparent 55%),var(--u-bg)}.universe-night .universe-copy h1 em{color:#d69bb1}.universe-night .universe-cta{color:#4e2a3c}.universe-night .universe-cta>span{border-color:#7b42522a}.universe-night .little-orb{box-shadow:inset -13px -14px 30px #59263d40,inset 7px 8px 18px #fff8dc70,0 0 100px #df84983b}.universe-night .scene-glow{opacity:.22}.universe-night .orbital-path{border-color:#e3a7bf32}.universe-night .path-two{border-color:#e3a7bf17}.universe-night .satellite-label,.universe-night .scene-whisper{color:#ce9db1}.universe-night .universe-chapters>button:hover{background:#e2aabd09}
@keyframes universe-arrive{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@keyframes planet-float{0%,100%{translate:0 0}50%{translate:0 -10px}}@keyframes ring-float{0%,100%{translate:0 0}50%{translate:0 -10px}}@keyframes note-float{0%,100%{transform:translateY(0) rotate(-15deg)}50%{transform:translateY(-9px) rotate(-12deg)}}@keyframes heart-float{0%,100%{transform:translateY(0) rotate(14deg)}50%{transform:translateY(-11px) rotate(8deg)}}@keyframes orbit-round{to{transform:rotate(360deg)}}@keyframes star-glimmer{0%,100%{opacity:.5;scale:.9}50%{opacity:1;scale:1.05}}@keyframes glow-breathe{0%,100%{opacity:.65;scale:.94}50%{opacity:1;scale:1.06}}@keyframes wish-pop{0%{scale:1}40%{scale:1.35;rotate:-12deg}100%{scale:1;rotate:0deg}}
@media(min-width:1450px){.universe-hero{min-height:690px}.universe-header{height:130px}.universe-chapters{padding:30px 0}}
@media(max-width:1050px){.universe-hero{min-height:570px}.universe-copy h1{font-size:72px;letter-spacing:-4px}.universe-copy{padding-bottom:35px}.universe-scene{width:110%;margin-left:-4%}.universe-chapters>button{padding:10px 15px;gap:10px}.universe-chapters strong{font-size:17px}.chapter-arrow{display:none}.orb-heart{font-size:100px}.satellite-letter{scale:.82;transform-origin:center}.satellite-heart{scale:.82}.scene-whisper{font-size:18px}}
@media(max-width:760px){.universe-header{padding:22px 7%;height:92px}.universe-logo{font-size:22px}.logo-star{font-size:33px}.logo-sub{font-size:7px}.universe-header-actions{gap:17px}.universe-theme{width:38px;height:38px}.universe-login{font-size:10px;gap:8px}.universe-login svg{width:13px}.universe-main{padding:0 7%;}.universe-hero{grid-template-columns:1fr;min-height:0;gap:0;text-align:center}.universe-copy{padding:36px 0 0}.universe-eyebrow{justify-content:center;font-size:8px;letter-spacing:2.2px;margin-bottom:19px}.universe-copy h1{font-size:clamp(58px,12vw,82px);line-height:1.02;letter-spacing:-3.5px;white-space:normal}.universe-description{font-size:12px;line-height:1.8;margin-top:22px}.universe-description br:nth-of-type(2){display:none}.universe-cta{margin:23px auto 0;min-height:52px;padding-left:23px;font-size:11px;gap:20px}.universe-cta>span{width:35px;height:35px}.universe-caption{font-size:13px;margin-top:11px;padding:0}.universe-scene{width:100%;max-width:490px;margin:10px auto 26px;aspect-ratio:1.17}.little-orb{inset:18% 27%;aspect-ratio:1}.planet-ring{inset:36% 13%;border-width:13px}.orb-heart{font-size:100px}.path-one{inset:6%}.path-two{inset:1% 5%}.path-three{inset:18% 0}.satellite-letter{top:23%;left:4%;scale:.73}.satellite-heart{right:4%;bottom:24%;scale:.75}.little-moon{top:4%;right:26%;width:30px;height:30px}.star-a{top:7%;left:27%;font-size:23px}.star-b{top:22%;right:8%;font-size:32px}.star-d{bottom:5%;right:25%;font-size:24px}.scene-whisper{bottom:-2%;left:27%;font-size:17px}.orbit-coordinate{top:3%;left:6%;font-size:6px;letter-spacing:1.5px}.orbit-coordinate span{margin-left:26px;font-size:20px}.universe-chapters{grid-template-columns:1fr;margin-top:3px;padding:4px 0;margin-bottom:15px}.universe-chapters>button,.universe-chapters>button:first-child,.universe-chapters>button:last-child{border-right:0;border-bottom:1px solid var(--u-line);padding:20px 2px;gap:18px}.universe-chapters>button:last-child{border-bottom:0}.universe-chapters strong{font-size:20px}.universe-chapters small{font-size:8px}.chapter-arrow{display:block;font-size:21px}.universe-footer{padding:0 7% 20px;gap:5px;flex-wrap:wrap}.universe-footer>span:first-child{display:none}.universe-footer>span:nth-child(2){font-size:12px}.universe-footer>button{font-size:9px}.welcome-letter{font-size:19px}.universe-app-brand{font-size:24px!important}.universe-app-brand>span{font-size:12px}.universe-hero .universe-scene button:focus-visible{outline-offset:8px}}
@media(max-width:360px){.universe-header{padding-left:6%;padding-right:6%}.universe-header-actions{gap:10px}.universe-login{font-size:9px}.universe-copy h1{font-size:56px}.universe-theme{width:34px;height:34px}.universe-scene{margin-top:20px}.orb-heart{font-size:75px}.satellite-letter{left:-3%;scale:.6}.satellite-heart{right:0%;scale:.6}.scene-whisper{font-size:15px}.universe-description{font-size:11px}}
@media(prefers-reduced-motion:reduce){.universe *,.universe *:before,.universe *:after{animation:none!important;transition:none!important}}body[data-motion=reduced] .universe *{animation:none!important;transition:none!important}

/* A softer, clearer everyday orbit. */
.app-body{background:radial-gradient(ellipse at 90% 3%,color-mix(in srgb,var(--pink) 24%,transparent),transparent 45%),var(--bg)}
.topbar{background:color-mix(in srgb,var(--bg) 86%,transparent);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.nav-btn{position:relative;transition:background .2s,color .2s,transform .2s}
.nav-btn.active:before{content:'';position:absolute;left:0;top:calc(50% - 8px);height:16px;width:3px;background:var(--accent);border-radius:3px}
.btn,.icon-btn,.mood-button,.filter,.choice-pills button{transition:transform .2s,background .2s,color .2s,box-shadow .2s}
.btn:active,.icon-btn:active,.mood-button:active{transform:scale(.97)}
button:disabled{cursor:wait;opacity:.58}
.hero{box-shadow:0 12px 45px color-mix(in srgb,var(--accent) 7%,transparent)}
.hero-art .envelope-object{animation:envelope-drift 8s ease-in-out infinite}
.moment-card,.gallery-card,.connect-card,.mischief-card,.mini-memory{transition:transform .25s,box-shadow .25s,border-color .25s}
@media(hover:hover){.moment-card:hover,.gallery-card:hover,.connect-card:hover,.mischief-card:hover,.mini-memory:hover{transform:translateY(-3px);box-shadow:0 12px 30px color-mix(in srgb,var(--accent) 7%,transparent)}.nav-btn:hover{transform:translateX(2px)}}
.page-enter>.page-head{animation:soft-arrive .4s both}
.page-enter>.home-layout,.page-enter>.daily-panel,.page-enter>.play-feature{animation:soft-arrive .55s .06s both}
.daily-panel{position:relative;isolation:isolate;background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:30px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;column-gap:32px;margin-bottom:28px;box-shadow:0 12px 50px color-mix(in srgb,var(--accent) 4%,transparent)}
.daily-panel:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 10% 0,color-mix(in srgb,var(--pink) 50%,transparent),transparent 65%);pointer-events:none}
.daily-heading{display:flex;align-items:start;justify-content:space-between;grid-column:1/-1;gap:15px}
.daily-heading h2{font:32px/1.2 var(--serif);letter-spacing:-.9px;margin:10px 0 0}
.daily-spark{font:34px var(--serif);color:var(--accent);animation:star-glimmer 7s ease-in-out infinite}
.pulse-pair{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:start;gap:8px;margin:24px 0 20px}
.pulse-person{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:8px 4px;border-radius:20px;transition:background .2s}
.pulse-person:hover{background:color-mix(in srgb,var(--pink) 28%,transparent)}
.pulse-orb{position:relative;display:grid;place-items:center;flex-shrink:0;width:62px;height:62px;border-radius:50%;background:var(--bg);border:1px dashed var(--line);color:var(--muted);margin-bottom:12px}
.pulse-orb svg{width:25px;height:25px}
.has-pulse .pulse-orb{background:radial-gradient(circle at 30% 25%,var(--surface),var(--pink));color:var(--accent);border:1px solid color-mix(in srgb,var(--accent) 16%,transparent);box-shadow:0 7px 22px color-mix(in srgb,var(--accent) 10%,transparent)}
.has-pulse .pulse-orb:after{content:'';position:absolute;inset:-6px;border:1px solid var(--line);border-radius:50%;animation:orbit-breathe 7s ease-in-out infinite}
.pulse-person strong{font-size:13px;font-weight:600;overflow-wrap:anywhere;max-width:100%}
.pulse-person>span:not(.pulse-orb){font-size:12px;color:var(--muted);margin-top:4px;line-height:1.4}
.pulse-person small{font-size:11px;line-height:1.5;color:var(--accent);margin-top:8px}
.pulse-link{margin-top:28px;text-align:center;color:var(--accent);font:23px var(--serif)}
.daily-verdict{align-self:center;padding:21px 0 15px}
.daily-verdict .eyebrow{font-size:9px;letter-spacing:1.6px}
.daily-verdict h3{font:25px/1.25 var(--serif);letter-spacing:-.5px;margin:11px 0 8px}
.daily-verdict p{font-size:13px;color:var(--muted);line-height:1.7;margin:0}
.daily-idea{display:flex;gap:10px;font-size:13px;line-height:1.65;margin-top:15px;color:var(--ink)}
.daily-idea svg{flex-shrink:0;width:17px;height:17px;margin-top:3px;color:var(--accent)}
.daily-actions{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.daily-caption{grid-column:1/-1;color:var(--muted);font-size:11px;line-height:1.6;margin-top:19px}
.daily-compact{padding:26px 23px;display:block;margin-bottom:0}
.daily-compact .daily-heading h2{font-size:28px}
.daily-compact .daily-heading .eyebrow{font-size:9px;letter-spacing:1.3px}
.daily-compact .pulse-pair{gap:2px;margin:24px -6px 12px}
.daily-compact .pulse-orb{width:51px;height:51px}
.daily-compact .pulse-person>span:not(.pulse-orb){font-size:11px}
.daily-compact .daily-verdict{padding:20px 0;border-top:1px solid var(--line)}
.daily-compact .daily-verdict h3{font-size:23px}
.daily-compact .daily-verdict p,.daily-compact .daily-idea{font-size:12px}
.daily-compact .daily-actions{display:grid;gap:6px}
.daily-history{display:flex;justify-content:center;align-items:center;gap:9px;font-size:11px;color:var(--muted);padding-top:19px;margin-top:16px;border-top:1px solid var(--line);width:100%;min-height:44px}
.daily-history svg{width:14px;height:14px}
.history-date{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted)}
.history-date input{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:9px 12px;font:12px var(--sans);min-height:44px;max-width:170px}
.history-caption{font-size:12px;color:var(--muted);margin:-5px 0 20px}
.checkin-steps{display:flex;align-items:center;gap:12px;margin:0 0 26px;font-size:10px;color:var(--muted)}
.checkin-steps i{height:1px;flex:1;background:var(--line)}
.checkin-steps .active{color:var(--accent);font-weight:600}
.checkin-preview{margin:25px 0;padding:28px;border-radius:22px;background:var(--pink2);border:1px solid var(--line);text-align:center;animation:soft-arrive .35s both}
.checkin-preview .pulse-orb{margin:0 auto 16px;background:var(--surface);border-style:solid;color:var(--accent)}
.checkin-preview h3{font:32px var(--serif);margin:0 0 10px}
.checkin-need{color:var(--accent);font-size:14px}
.checkin-preview-body{white-space:pre-wrap;overflow-wrap:anywhere;font:19px/1.7 var(--serif);margin-top:25px;text-align:left}
.checkin-preview .notice{text-align:left;margin-top:22px;background:var(--surface)}
.checkin-moods .mood-button.selected .mood-face{box-shadow:0 0 0 5px color-mix(in srgb,var(--pink) 55%,transparent);transform:translateY(-2px)}
.choice-pills button{min-height:40px}
.moment-card h3,.moment-card p,.reply-bubble,.viewer-body{overflow-wrap:anywhere}
#reply-input{font-size:15px}
@keyframes soft-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes envelope-drift{0%,100%{translate:0 0;rotate:-1deg}50%{translate:0 -7px;rotate:1deg}}
@keyframes orbit-breathe{0%,100%{opacity:.45;scale:1}50%{opacity:.95;scale:1.04}}
@media(max-width:960px){.home-side{align-items:start}.daily-compact{height:100%}.home-side .side-note{height:100%}}
@media(max-width:760px){
 .daily-panel{padding:24px 20px;grid-template-columns:1fr;gap:0;border-radius:23px}
 .daily-heading h2{font-size:29px}.daily-compact .daily-heading h2{font-size:29px}
 .pulse-pair{max-width:440px;width:100%;justify-self:center;margin:22px auto 8px}
 .daily-compact .pulse-pair{margin:22px auto 8px}.daily-compact .pulse-orb{width:60px;height:60px}
 .daily-verdict{border-top:1px solid var(--line);padding:19px 0}.daily-verdict h3{font-size:25px}
 .daily-actions{display:grid;grid-template-columns:1fr;width:100%;gap:6px}.daily-caption{margin-top:16px}
 .history-date{flex-wrap:wrap;gap:5px;font-size:11px}.section-heading:has(.history-date){align-items:start;flex-wrap:wrap;gap:15px}
 .history-date input{font-size:16px;min-width:160px;max-width:190px}.history-caption{line-height:1.6}
 input,textarea,select,#reply-input,.search input{font-size:16px!important}
 .icon-btn,.reaction-btn,.choice-pills button,.filter{min-height:44px}.icon-btn{min-width:44px}
 .mobile-nav{background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(20px);border-top:1px solid var(--line)}
 .mobile-nav .nav-btn.active:before{width:20px;height:3px;left:calc(50% - 10px);top:0}
 .checkin-preview{padding:24px 20px}.checkin-preview-body{font-size:18px}.checkin-steps{gap:8px}
 .modal-footer{gap:12px}.modal-footer .btn{min-height:46px}.modal-head h2{line-height:1.15}
}
body[data-motion=reduced] *,body[data-motion=reduced] *:before,body[data-motion=reduced] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Native dialogs sit above the document: their feedback must live in the top layer too. */
.dialog-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100;width:max-content;max-width:min(440px,calc(100vw - 32px));padding:13px 19px;border-radius:14px;background:var(--ink);color:var(--bg);box-shadow:var(--shadow);font:12px/1.6 var(--sans);text-align:center;pointer-events:none}
.dialog-toast.error{background:#9b354d;color:#fff}
@media(max-width:760px){.dialog-toast{bottom:90px}}
