:root{--bg:#FAF8F5;--paper:#fff;--ink:#302B2D;--muted:#746A6E;--line:#E9E3DE;--rose:#A34762;--rose-soft:#F4E3E8;--sage:#718675;--sage-soft:#EAF0E8;--peach:#F7EDE3;--lavender:#EEEAF5;--butter:#F5EFD9;--radius:24px;--shadow:0 12px 40px rgba(60,42,42,.04);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;border:0;background:none}button:disabled{cursor:not-allowed;opacity:.45}button,a{touch-action:manipulation}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #A3476266;outline-offset:4px}svg{display:block;flex-shrink:0}button svg{pointer-events:none}h1,h2,h3,p{margin:0}button{line-height:1.5}::selection{background:var(--rose-soft)}.app-shell{max-width:1200px;margin:auto;padding:0 40px}.header{height:112px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;align-items:center;gap:12px;text-align:left;padding:0}.brand-symbol{width:40px;height:40px;position:relative;display:grid;place-items:center}.brand-symbol svg{width:40px;height:40px}.brand-title{display:block;font-weight:750;font-size:21px;letter-spacing:1.2px}.brand-caption{display:block;font-size:9px;letter-spacing:2px;margin-top:3px;color:var(--muted)}.desktop-nav{display:flex;gap:8px}.nav-item{font-size:14px;padding:10px 20px;border-radius:12px;color:var(--muted)}.nav-item.active{background:#EEE9E4;color:var(--ink);font-weight:650}.header-right{display:flex;align-items:center;gap:13px}.avatars{display:flex;padding-left:7px}.avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:3px solid var(--bg);border-radius:50%;font-size:12px;font-weight:650;margin-left:-7px;background:var(--rose-soft);color:#813A50}.avatar.sage{background:var(--sage-soft);color:#516755}.connection{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}.connection i,.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#829882}.connection.offline i{background:#B69664}.header-settings{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;color:var(--muted)}.header-settings:hover{background:#EEE9E4}.page{padding:42px 0 38px;animation:page-in .24s ease-out}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;text-transform:uppercase;color:var(--muted);display:flex;gap:10px;align-items:center}.eyebrow .tiny-line{width:25px;height:1px;background:#C4B7B3}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:32px;align-items:center;min-height:324px;padding:6px 6px 32px}.hero h1{font-size:58px;line-height:1.3;letter-spacing:1px;font-weight:650;margin:24px 0 20px}.hero h1 em{font-style:normal;color:var(--rose)}.hero-text>p{font-size:15px;line-height:1.9;color:var(--muted)}.hero-caption{display:flex;align-items:center;gap:7px;margin-top:22px;font-size:12px;color:var(--muted)}.hero-art{position:relative;min-height:310px;display:flex;align-items:center;justify-content:center}.orbit{position:absolute;width:285px;height:285px;border:1px solid #EAE2DB;border-radius:50%;left:50%;top:48%;transform:translate(-50%,-50%)}.orbit:after{content:"";position:absolute;inset:26px;border:1px dashed #E8DFD7;border-radius:50%}.little-star{position:absolute;color:#B69363;font-size:24px;font-weight:300}.little-star.s1{left:17%;top:27%}.little-star.s2{right:15%;top:53%;font-size:18px}.little-star.s3{left:28%;bottom:21%;font-size:13px}.mascot-pair{width:280px;height:190px;position:relative;margin-top:-14px}.mascot{position:absolute;width:151px;height:142px;transform-origin:50% 90%;filter:drop-shadow(0 10px 3px rgba(59,43,41,.035))}.mascot svg{width:100%;height:100%;overflow:visible}.mascot.rose{left:3px;top:23px;transform:rotate(-13deg)}.mascot.sage{left:126px;top:33px;transform:rotate(12deg)}.mascot .heart-fill{fill:#D8A0AE}.mascot.sage .heart-fill{fill:#AABCAA}.mascot .cheek{fill:#C9879A;opacity:.52}.mascot.sage .cheek{fill:#86A68A;opacity:.52}.mascot .feature{stroke:#4F4245;fill:none;stroke-width:2.6;stroke-linecap:round}.mascot .eye{fill:#4F4245}.art-label{position:absolute;bottom:14px;left:50%;transform:translateX(-50%) rotate(-4deg);white-space:nowrap;background:#fffdf9;border:1px solid var(--line);padding:11px 21px;border-radius:4px;box-shadow:0 5px 14px #59454505;font-size:12px;color:#72635F}.art-label:before{content:"";position:absolute;width:35px;height:11px;background:#E7DDD191;left:calc(50% - 17px);top:-6px;transform:rotate(4deg)}.art-whisper{position:absolute;top:17px;right:25%;font-size:11px;letter-spacing:1px;color:#9D898C;transform:rotate(8deg)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:17px 0 18px}.section-heading h2{font-size:19px;font-weight:650;letter-spacing:.3px}.section-heading p{font-size:12px;color:var(--muted)}.section-heading .subtle-link{font-size:12px}.topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.topic-card{position:relative;text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:21px;padding:25px 23px 22px;min-height:199px;transition:transform .18s,border-color .18s,box-shadow .18s;overflow:hidden}.topic-card:hover{transform:translateY(-4px);border-color:#D7BBB8;box-shadow:var(--shadow)}.topic-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:23px}.topic-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:var(--peach);color:#967251}.topic-icon.lavender{background:var(--lavender);color:#817290}.topic-icon.sage{background:var(--sage-soft);color:#728571}.topic-icon.butter{background:var(--butter);color:#A18B4E}.topic-number{font-size:10px;letter-spacing:1px;color:#9B9190}.topic-card h3{font-size:21px;font-weight:650;margin-bottom:6px}.topic-card p{font-size:12px;line-height:1.6;color:var(--muted);padding-right:10px}.topic-arrow{position:absolute;right:21px;bottom:25px;color:#ACA09F}.home-lower{display:grid;grid-template-columns:1.25fr 1fr;gap:20px;margin-top:24px}.how-card{background:#F0EDE7;border:1px solid #EAE5DF;border-radius:20px;padding:21px 25px}.small-label{font-size:10px;font-weight:650;letter-spacing:1.4px;color:var(--muted)}.how-items{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.how-item{font-size:12px;display:flex;gap:9px;align-items:center}.how-item span{font-size:10px;color:#AB9092}.how-divider{width:22px;height:1px;background:#D9D0C7}.promise-card{display:flex;align-items:center;gap:15px;border:1px solid var(--line);border-radius:20px;padding:21px 24px;background:#FFFDF9}.promise-icon{color:var(--rose);width:35px;height:40px;display:grid;place-items:center}.promise-card h3{font-size:13px;font-weight:600;margin-bottom:7px}.promise-card p{font-size:12px;line-height:1.7;color:var(--muted)}.home-memory{margin-top:27px;padding:20px 2px;display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:13px;color:var(--muted)}.home-memory strong{font-weight:500;color:var(--ink)}.subtle-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 0;color:var(--muted);font-size:13px}.subtle-link:hover{color:var(--rose)}.resume-card{margin:0 0 24px;border:1px solid #DAC3CC;background:#FAEFF2;border-radius:18px;padding:18px 23px;display:flex;align-items:center;justify-content:space-between;gap:16px}.resume-card h3{font-size:15px;margin-bottom:4px}.resume-card p{font-size:12px;color:var(--muted)}.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:48px;padding:12px 22px;border-radius:14px;background:var(--rose);color:#fff;font-size:14px;font-weight:600;border:1px solid transparent;transition:background .15s,transform .15s}.btn:not(:disabled):hover{background:#913C54;transform:translateY(-1px)}.btn.secondary{background:#fff;color:var(--ink);border-color:var(--line)}.btn.secondary:not(:disabled):hover{background:#F5F1ED}.btn.soft{background:var(--rose-soft);color:#873A53}.btn.soft:not(:disabled):hover{background:#ECD5DE}.btn.ghost{background:none;color:var(--muted);border-color:transparent;font-weight:400}.btn.ghost:not(:disabled):hover{background:#F0EAE6}.btn.danger{background:#8E3948}.btn.small{min-height:40px;padding:8px 16px;font-size:12px;border-radius:11px}.btn.wide{width:100%}.icon-button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);border:1px solid var(--line);border-radius:12px;background:#fff}.icon-button:hover{background:#F5F1ED}.footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 0 28px;font-size:10px;color:#8D8284;letter-spacing:.4px}.footer .footer-note{display:flex;align-items:center;gap:7px}.footer-brand{letter-spacing:1.6px;font-size:9px}.mobile-nav{display:none}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin:8px 0 30px}.page-header h1{font-size:32px;font-weight:650;line-height:1.5;letter-spacing:.4px;margin:10px 0 8px}.page-header p{color:var(--muted);font-size:14px;line-height:1.8}.back-link{display:inline-flex;gap:8px;align-items:center;color:var(--muted);font-size:12px;padding:7px 0;margin-bottom:14px}.back-link:hover{color:var(--rose)}.pill{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid var(--line);border-radius:20px;font-size:11px;color:var(--muted);white-space:nowrap;background:#fffdfa}.pill.rose{border-color:#E7CDD6;color:var(--rose);background:var(--rose-soft)}.pill.sage{background:var(--sage-soft);border-color:#DDE6DA;color:#4E6853}.setup-layout{display:grid;grid-template-columns:minmax(0,1fr) 298px;gap:28px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:28px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:21px}.panel-heading h2{font-size:16px;font-weight:650}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.candidate{border:1px solid var(--line);background:#fff;border-radius:17px;position:relative;text-align:left;transition:border .15s,background .15s;min-width:0}.candidate.selected{border-color:#B5758A;background:#FCF5F7}.candidate-main{padding:18px;display:flex;align-items:center;gap:13px;min-height:97px;width:100%;text-align:left}.candidate-emoji{width:41px;min-width:41px;height:44px;display:grid;place-items:center;font-size:26px;background:#F6F3EF;border-radius:12px}.candidate.selected .candidate-emoji{background:#F5E6EC}.candidate-text{min-width:0;flex:1}.candidate-title{font-size:14px;font-weight:600;line-height:1.65;overflow-wrap:anywhere;display:block}.candidate-note{font-size:11px;color:var(--muted);line-height:1.65;margin-top:4px;display:block;overflow-wrap:anywhere}.checkmark{width:20px;height:20px;display:grid;place-items:center;flex-shrink:0;border:1px solid #D8CECE;border-radius:50%;color:transparent;margin-left:3px}.selected .checkmark{background:var(--rose);border-color:var(--rose);color:white}.candidate.favorited{border-color:var(--rose);box-shadow:0 0 0 1px #A3476212}.favorite-button{margin:0 16px 13px;padding:6px 10px;font-size:11px;border-radius:8px;color:var(--rose);display:flex;gap:5px;align-items:center;background:#F4E3E866}.favorite-button.active{background:var(--rose-soft);font-weight:650}.selection-summary{font-size:12px;color:var(--muted);line-height:1.8;margin-top:19px;display:flex;align-items:center;gap:8px}.side-note{background:#F0EDE7;border-radius:22px;padding:27px;align-self:start}.side-note h3{font-size:17px;font-weight:600;line-height:1.65;margin:16px 0 12px}.side-note p{font-size:12px;line-height:1.9;color:var(--muted)}.side-note .btn{margin-top:23px;width:100%}.side-note .side-count{margin-top:15px;text-align:center;font-size:11px;color:var(--muted)}.small-pair{height:105px;overflow:visible;display:flex;align-items:center;justify-content:center}.small-pair .mascot-pair{transform:scale(.55);flex-shrink:0;margin-top:-18px;width:280px}.candidate.add-card{min-height:97px;display:flex;align-items:center;justify-content:center;gap:9px;border-style:dashed;color:var(--muted);font-size:13px;background:transparent}.candidate.add-card:hover{border-color:var(--rose);color:var(--rose)}.center-page{max-width:650px;margin:0 auto;padding-top:2px}.game-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:25px}.steps{display:flex;align-items:center;gap:10px;color:#938689;font-size:11px}.step{display:flex;align-items:center;gap:5px}.step-dot{height:19px;width:19px;border-radius:50%;display:grid;place-items:center;border:1px solid #D8CFCA;font-size:9px}.step.current{color:var(--rose)}.step.current .step-dot{background:var(--rose);color:white;border-color:var(--rose)}.step-line{width:21px;height:1px;background:var(--line)}.game-heading{text-align:center;margin:19px 0 28px}.game-heading h1{font-size:29px;font-weight:650;line-height:1.5;margin:16px 0 10px}.game-heading p{font-size:13px;line-height:1.9;color:var(--muted)}.player-label{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);background:#F0EAE6;border-radius:20px;padding:7px 12px}.player-label .dot{height:7px;width:7px;border-radius:50%;background:#C98295}.player-label.sage .dot{background:#839E84}.game-actions{margin:23px 0 8px;display:flex;align-items:center;justify-content:center;gap:11px}.game-actions>.btn{min-width:185px}.footnote{font-size:11px;line-height:1.8;color:var(--muted);text-align:center;margin-top:13px}.none-choice{width:100%;margin-top:14px;min-height:45px;padding:10px 15px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px dashed #DCCFCB;border-radius:13px;font-size:12px;color:var(--muted)}.none-choice.selected{color:var(--rose);border-color:#B5758A;background:#F9EDF1}.selection-tip{background:#F2EEE8;border-radius:12px;padding:11px 15px;font-size:12px;line-height:1.8;color:#7A6866;margin-top:18px}.waiting{max-width:530px;margin:10px auto 0;text-align:center;padding:18px 0}.waiting .hero-art{min-height:267px}.waiting h1{font-size:28px;line-height:1.6;margin:6px 0 13px;font-weight:650}.waiting p{font-size:13px;line-height:1.9;color:var(--muted)}.waiting-status{display:flex;justify-content:center;gap:20px;margin:24px 0;padding:18px;background:#F1EDE7;border-radius:15px}.waiting-status span{font-size:12px;display:flex;align-items:center;gap:6px}.waiting-status .done{color:#607C64}.waiting-status .pending{color:var(--muted)}.privacy-note{display:flex;gap:6px;align-items:center;justify-content:center;font-size:11px;color:var(--muted);margin:17px 0;line-height:1.7}.handoff-card{border:1px solid var(--line);border-radius:26px;padding:38px 32px;background:#fffdf9;margin:18px auto;max-width:480px;text-align:center}.handoff-icon{height:106px;display:flex;align-items:center;justify-content:center;color:var(--rose)}.handoff-card h1{font-size:27px;font-weight:650;margin:11px 0 12px}.handoff-card p{font-size:13px;line-height:1.95;color:var(--muted);margin-bottom:25px}.handoff-card .btn{width:100%}.reveal-page{max-width:740px;margin:auto}.reveal-head{text-align:center;margin:2px 0 27px}.reveal-head h1{font-size:30px;line-height:1.5;margin:14px 0 10px;font-weight:650}.reveal-head p{font-size:13px;color:var(--muted);line-height:1.9}.reveal-head .small-pair{height:90px}.guess-results{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:19px}.guess-result{border:1px solid var(--line);background:#fff;border-radius:18px;padding:20px;animation:flip-in .65s ease both}.guess-result:nth-child(2){animation-delay:.09s}.guess-result-label{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:var(--muted);margin-bottom:14px}.result-guess{font-size:17px;line-height:1.65;font-weight:600;margin-bottom:8px;overflow-wrap:anywhere}.guess-actual{font-size:12px;color:var(--muted);line-height:1.9;overflow-wrap:anywhere}.tiny-badge{font-size:10px;padding:3px 6px;border-radius:6px;background:var(--sage-soft);color:#526D56;white-space:nowrap}.tiny-badge.neutral{background:#F1EDE7;color:#7A696C}.proposal-card{position:relative;border:1px solid #D6C7BD;border-radius:23px;background:#FFFDF8;text-align:center;padding:30px;overflow:hidden}.proposal-card:before{content:"";position:absolute;left:15px;top:15px;right:15px;bottom:15px;border:1px dashed #E8DBD0;pointer-events:none;border-radius:15px}.proposal-card>*{position:relative}.proposal-label{font-size:10px;letter-spacing:2px;color:#8F7968}.proposal-emoji{font-size:48px;margin:17px 0 9px}.proposal-card h2{font-size:27px;line-height:1.6;font-weight:650;overflow-wrap:anywhere}.proposal-card p{font-size:12px;line-height:1.9;color:var(--muted);margin:11px 0}.common-options{font-size:11px;line-height:1.9;color:var(--muted);margin-top:17px;text-align:center}.confirm-pair{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:19px 0 7px}.confirm-pair .btn{min-width:190px}.confirm-stamp{display:flex;align-items:center;justify-content:center;gap:6px;color:#57745C;font-size:12px;padding:14px}.egg-banner{padding:14px 20px;margin-top:18px;background:var(--sage-soft);border-radius:14px;color:#58715D;font-size:12px;line-height:1.7;text-align:center}.no-common{padding:35px 26px;background:#F2EEE8;border:1px solid var(--line);border-radius:22px;text-align:center}.no-common h2{font-size:22px;font-weight:600;line-height:1.6;margin:12px 0}.no-common p{font-size:13px;line-height:1.9;color:var(--muted)}.decided-message{display:flex;align-items:center;gap:7px;color:#597960;font-size:12px;justify-content:center;margin-bottom:20px}.memory-preview-status{font-size:12px;text-align:center;line-height:1.8;color:var(--muted);margin:14px 0}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:25px}.tab{padding:10px 17px;background:#F0EAE5;color:var(--muted);font-size:12px;border-radius:12px;min-height:40px}.tab.active{background:var(--ink);color:white}.library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.library-card{padding:21px;border:1px solid var(--line);border-radius:20px;background:#fff;display:flex;flex-direction:column;min-width:0}.library-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.library-card .candidate-emoji{width:46px;height:47px}.library-card h3{font-size:16px;font-weight:600;line-height:1.7;overflow-wrap:anywhere}.library-card p{font-size:12px;line-height:1.8;color:var(--muted);margin:7px 0 18px;flex:1;overflow-wrap:anywhere}.library-card-actions{display:flex;gap:10px;border-top:1px solid #F1ECE7;padding-top:10px;margin-top:auto}.library-card-actions button{color:var(--muted);font-size:11px;min-height:32px;display:flex;align-items:center;gap:5px;padding:4px 2px}.library-card-actions button:hover{color:var(--rose)}.library-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;font-size:12px;color:var(--muted)}.empty-state{text-align:center;border:1px dashed #DBD0C9;border-radius:24px;padding:50px 28px;background:#FCFAF7}.empty-state h2{font-size:22px;font-weight:600;line-height:1.7;margin:17px 0 11px}.empty-state p{font-size:13px;line-height:1.9;color:var(--muted);margin-bottom:23px}.empty-icon{color:#AA8C97;display:flex;justify-content:center}.memory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.memory-card{position:relative;background:#FFFEFA;border:1px solid var(--line);border-radius:17px;padding:24px;min-width:0;box-shadow:0 3px 10px #69574603}.memory-card:before{content:"";position:absolute;left:calc(50% - 20px);top:-6px;width:40px;height:13px;background:#DDD3C38C;transform:rotate(-3deg)}.memory-card-date{font-size:10px;letter-spacing:.7px;color:var(--muted);display:flex;justify-content:space-between;align-items:center;gap:10px}.memory-card-emoji{font-size:39px;margin:25px 0 13px}.memory-card h3{font-size:19px;font-weight:600;line-height:1.7;overflow-wrap:anywhere}.memory-card .pill{margin:13px 0;font-size:10px}.memory-card p{font-size:12px;color:var(--muted);line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;min-height:43px}.memory-card .memory-edit{border-top:1px dashed var(--line);margin-top:20px;padding-top:12px;font-size:11px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);width:100%}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px;align-items:start}.settings-block{background:#fff;border:1px solid var(--line);padding:27px;border-radius:23px}.settings-block h2{font-size:17px;font-weight:600;margin-bottom:13px}.settings-block>p{font-size:12px;line-height:1.9;color:var(--muted);margin-bottom:18px}.settings-block .field{margin-bottom:16px}.field label{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}.field input,.field textarea,.field select,.login-field{width:100%;min-height:45px;border:1px solid #DBD1CB;border-radius:11px;padding:11px 13px;background:#FEFCFA;color:var(--ink);font-size:14px;outline-offset:2px}.field textarea{min-height:100px;resize:vertical;line-height:1.7}.field input::placeholder,.field textarea::placeholder{color:#A29696}.field small{font-size:11px;color:var(--muted);line-height:1.8;display:block;margin-top:7px}.settings-divider{border:0;border-top:1px solid var(--line);margin:22px 0}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0}.setting-row strong{font-size:13px;font-weight:600;display:block;margin-bottom:4px}.setting-row p{font-size:11px;color:var(--muted);line-height:1.8}.danger-text{color:#944052}.login-screen{max-width:440px;margin:35px auto 40px;padding:30px;text-align:center;border:1px solid var(--line);border-radius:25px;background:#fffdf9}.login-screen h1{font-size:27px;line-height:1.65;font-weight:650;margin:16px 0 12px}.login-screen p{font-size:13px;line-height:1.9;color:var(--muted);margin-bottom:25px}.login-screen .field{text-align:left}.login-screen .btn{margin-top:12px;width:100%}.local-notice{background:#F1EDE7;border:1px solid #E4DAD2;border-radius:12px;padding:11px 15px;font-size:11px;line-height:1.9;color:#7B6A63;margin:20px 0}.dialog{position:fixed;border:1px solid var(--line);border-radius:24px;padding:28px;background:var(--bg);color:var(--ink);width:calc(100% - 36px);max-width:460px;max-height:85dvh;overflow-y:auto;box-shadow:0 20px 100px #2D1C2F26}.dialog::backdrop{background:#302B2D4D;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:21px}.dialog-header h2{font-size:20px;font-weight:650;line-height:1.6}.dialog .field{margin-bottom:16px}.dialog p{font-size:13px;color:var(--muted);line-height:1.9;margin-bottom:20px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px;flex-wrap:wrap}.dialog-error{color:#913C54;font-size:12px;line-height:1.8;min-height:1em}.toast{position:fixed;z-index:100;left:50%;bottom:34px;transform:translate(-50%,20px);background:#302B2D;color:#fffdf9;border-radius:14px;padding:13px 20px;font-size:12px;line-height:1.7;box-shadow:0 8px 30px #2D1C2F20;opacity:0;pointer-events:none;transition:.2s;max-width:min(90vw,500px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.boot{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:var(--muted);font-size:14px}.boot-heart{font-size:70px;color:var(--rose)}.network-banner{padding:11px 18px;border-radius:12px;background:#F5ECD9;color:#826B3E;font-size:12px;line-height:1.7;margin:22px 0 -15px}.is-saving{cursor:progress}.is-saving .btn{pointer-events:none;opacity:.65}.bump .mascot.rose{animation:bump-left .8s ease-in-out}.bump .mascot.sage{animation:bump-right .8s ease-in-out}.confetti{position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none;overflow:hidden}.confetti i{position:absolute;height:8px;width:4px;border-radius:2px;background:#C98F9F;left:20%;top:0;animation:fall .9s ease-out both}.confetti i:nth-child(2){left:35%;background:#A3B69E;animation-delay:.1s}.confetti i:nth-child(3){left:56%;background:#D6BB7D;animation-delay:.07s}.confetti i:nth-child(4){left:71%;animation-delay:.18s}.confetti i:nth-child(5){left:83%;background:#A3B69E;animation-delay:.12s}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes page-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes flip-in{from{opacity:0;transform:perspective(500px) rotateX(-12deg) translateY(6px)}to{opacity:1;transform:none}}@keyframes bump-left{0%,100%{transform:rotate(-13deg)}50%{transform:rotate(1deg) translateX(11px)}}@keyframes bump-right{0%,100%{transform:rotate(12deg)}50%{transform:rotate(-3deg) translateX(-11px)}}@keyframes fall{0%{opacity:0;transform:translateY(-5px) rotate(0)}30%{opacity:1}100%{opacity:0;transform:translateY(140px) rotate(170deg)}}
@media(min-width:1400px){.page{padding-top:48px}.hero{min-height:348px}.hero h1{font-size:64px}.topic-card{min-height:211px}.home-lower{margin-top:27px}}
@media(max-width:1000px){.app-shell{padding:0 28px}.hero h1{font-size:48px}.hero-art{min-height:290px}.topic-grid{gap:12px}.topic-card{padding:21px 17px}.topic-card p{font-size:11px}.topic-arrow{right:14px}.header{gap:10px}.nav-item{padding:9px 14px}.connection{display:none}.setup-layout{grid-template-columns:minmax(0,1fr) 250px;gap:19px}.panel{padding:21px}.choice-grid{gap:10px}.candidate-main{padding:15px 12px;gap:9px}.candidate-emoji{width:35px;min-width:35px;font-size:23px}.library-grid,.memory-grid{grid-template-columns:repeat(2,1fr)}.side-note{padding:22px}.how-card{padding:20px}.how-items{gap:7px}.how-item{font-size:11px;gap:6px}.how-divider{width:10px}.promise-card{padding:20px}}
@media(max-width:760px){.app-shell{padding:0 22px}.header{height:85px}.brand-title{font-size:19px}.brand-symbol,.brand-symbol svg{width:35px;height:35px}.brand-caption{font-size:8px;letter-spacing:1.7px}.desktop-nav{display:none}.header-right{gap:8px}.header-settings{width:34px;height:34px}.avatar{width:31px;height:31px;font-size:10px}.page{padding-top:26px;padding-bottom:28px}.hero{grid-template-columns:1.05fr 1fr;gap:0;padding:5px 0 16px;min-height:245px}.hero h1{font-size:39px;line-height:1.4;margin:17px 0 13px}.hero .eyebrow{font-size:8px;letter-spacing:1.4px}.hero .tiny-line{display:none}.hero-text>p{font-size:12px;line-height:1.9}.hero-caption{font-size:10px;margin-top:15px;line-height:1.8;gap:4px}.hero-caption svg{width:13px}.hero-art{min-height:230px;margin-right:-10px}.orbit{width:190px;height:190px;top:44%}.orbit:after{inset:18px}.mascot-pair{transform:scale(.73);flex-shrink:0;margin-top:-23px}.art-label{font-size:9px;padding:9px 11px;bottom:13px}.art-whisper{font-size:9px;top:11px;right:18%}.little-star.s1{left:3%;top:23%;font-size:19px}.little-star.s2{right:3%;top:51%;font-size:15px}.little-star.s3{left:23%;bottom:23%}.section-heading{margin:22px 0 16px}.section-heading h2{font-size:17px}.section-heading p{font-size:10px}.topic-grid{grid-template-columns:repeat(2,1fr);gap:13px}.topic-card{min-height:177px;padding:20px}.topic-top{margin-bottom:17px}.topic-icon{width:42px;height:42px;border-radius:13px}.topic-icon svg{width:23px;height:23px}.topic-card h3{font-size:20px}.topic-card p{font-size:11px;padding-right:0}.topic-arrow{right:16px;bottom:25px;width:14px}.home-lower{grid-template-columns:1fr;margin-top:19px;gap:13px}.how-card{padding:19px 21px}.how-items{justify-content:flex-start;gap:18px;margin-top:15px}.how-item{font-size:12px;gap:8px}.how-divider{width:18px}.promise-card{padding:19px 21px}.home-memory{font-size:11px;margin-top:15px;line-height:1.8;padding:14px 0}.home-memory .subtle-link{font-size:11px;white-space:nowrap}.footer{padding:20px 0 100px;font-size:9px;align-items:flex-start;line-height:1.7}.footer-brand{display:none}.mobile-nav{position:fixed;z-index:10;bottom:0;left:0;right:0;display:flex;justify-content:space-around;border-top:1px solid var(--line);background:#FAF8F5F5;backdrop-filter:blur(15px);padding:9px 25px calc(9px + env(safe-area-inset-bottom));}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px;color:#8D7C81;min-width:65px;min-height:46px}.mobile-nav button.active{color:var(--rose)}.mobile-nav svg{width:20px;height:20px}.toast{bottom:97px;font-size:12px}.page-header{margin:4px 0 23px;gap:15px}.page-header h1{font-size:27px;margin-top:9px}.page-header p{font-size:12px}.page-header .btn{white-space:nowrap;padding:10px 14px;min-height:42px;font-size:11px;margin-top:7px}.page-header .eyebrow{font-size:8px}.setup-layout{grid-template-columns:1fr;gap:20px}.side-note{display:block;padding:22px}.side-note .small-pair{display:none}.side-note h3{font-size:15px;margin:0 0 8px}.side-note p{font-size:12px}.side-note .btn{margin-top:17px}.side-note .side-count{margin-top:11px}.panel{padding:20px;border-radius:21px}.panel-heading{margin-bottom:16px}.panel-heading h2{font-size:14px}.choice-grid{grid-template-columns:1fr;gap:11px}.candidate-main{padding:16px;min-height:88px;gap:13px}.candidate-emoji{width:42px;min-width:42px;height:43px;font-size:25px}.candidate-title{font-size:14px}.candidate-note{font-size:11px}.selection-summary{font-size:11px}.center-page{max-width:550px}.game-topline{gap:8px;margin-bottom:23px}.game-topline .pill{font-size:10px;padding:6px 9px}.steps{font-size:10px;gap:5px}.step-line{width:12px}.game-heading h1{font-size:26px;margin-top:14px}.game-heading p{font-size:12px}.game-heading{margin:14px 0 22px}.game-actions>.btn{min-width:0;flex:1}.game-actions .btn.ghost{flex:0 1 70px}.game-actions{gap:6px}.game-actions .btn{font-size:13px}.waiting{padding-top:0}.waiting .hero-art{min-height:251px}.waiting .hero-art .orbit{width:220px;height:220px}.waiting .mascot-pair{transform:scale(.85)}.waiting h1{font-size:25px}.waiting p{font-size:12px}.waiting-status{gap:16px;font-size:11px}.waiting .art-whisper{right:26%}.waiting .little-star.s1{left:20%}.waiting .little-star.s2{right:19%}.waiting .little-star.s3{left:30%}.handoff-card{padding:25px 22px;border-radius:22px}.handoff-card h1{font-size:24px}.handoff-card p{font-size:12px}.guess-results{gap:11px}.guess-result{padding:17px 14px}.guess-result-label{font-size:10px;gap:5px;flex-wrap:wrap}.result-guess{font-size:15px}.guess-actual{font-size:11px}.reveal-head h1{font-size:26px}.reveal-head p{font-size:12px}.proposal-card{padding:27px 24px}.proposal-card h2{font-size:24px}.proposal-emoji{font-size:43px}.proposal-card .proposal-label{font-size:9px;letter-spacing:1.6px}.confirm-pair{gap:10px}.confirm-pair .btn{min-width:0;width:100%}.confirm-stamp{width:100%;padding:8px}.reveal-head .small-pair .mascot-pair{transform:scale(.55)}.library-grid{grid-template-columns:1fr 1fr;gap:12px}.library-card{padding:17px;min-width:0}.library-card h3{font-size:14px}.library-card p{font-size:11px}.library-card-actions{gap:12px;flex-wrap:wrap}.library-card-actions button{font-size:10px}.library-card-actions button svg{width:12px}.library-card-top{margin-bottom:13px}.tabs{gap:6px;margin-bottom:19px}.tab{padding:9px 12px;font-size:11px;min-height:38px}.library-tools{font-size:11px;gap:10px}.library-tools .subtle-link{font-size:11px}.memory-grid{grid-template-columns:1fr;gap:23px}.memory-card{padding:24px}.memory-card-emoji{margin:20px 0 12px}.memory-card h3{font-size:21px}.settings-grid{grid-template-columns:1fr;gap:18px}.settings-block{padding:23px}.resume-card{padding:17px;gap:12px}.resume-card h3{font-size:13px}.resume-card p{font-size:11px}.resume-card .btn{font-size:11px;padding:9px 13px;white-space:nowrap}.dialog{padding:23px}.dialog-header h2{font-size:18px}.footer-note{max-width:100%}.empty-state{padding:36px 22px}.empty-state h2{font-size:20px}.settings-block .btn{font-size:12px}.login-screen{padding:23px;margin-top:20px}.local-notice{font-size:10px}}
@media(max-width:380px){.app-shell{padding:0 17px}.hero h1{font-size:34px}.hero-art{min-height:210px;margin-right:-15px}.orbit{width:165px;height:165px}.mascot-pair{transform:scale(.64)}.hero-text>p{font-size:11px}.art-label{font-size:8px;padding:8px 9px}.hero .eyebrow{font-size:7px}.section-heading h2{font-size:16px}.section-heading p{font-size:9px}.topic-card{padding:18px 16px}.topic-card p{font-size:10px}.how-items{gap:11px}.how-divider{width:12px}.how-item{font-size:11px;gap:6px}.brand-caption{font-size:7px}.header-settings{display:none}.header{gap:7px}.game-topline{flex-wrap:wrap}.library-card-actions{gap:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.confetti{display:none}}
@media print{.header,.footer,.mobile-nav,.game-actions,.btn,.tabs,.memory-edit,.page-header .btn{display:none!important}.app-shell{max-width:none;padding:15px}.memory-grid{grid-template-columns:repeat(2,1fr)}.memory-card{break-inside:avoid}.page{padding:0}}

.eyebrow.center{justify-content:center}
/* Grid children must be allowed to shrink: transformed mascots retain layout width. */
.hero{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.hero-text,.hero-art{min-width:0}
@media(max-width:760px){.hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}.hero h1{font-size:clamp(29px,8.2vw,38px);letter-spacing:0}.hero h1 em{white-space:nowrap}.hero-art .mascot-pair{transform:scale(.63)}.hero-art .orbit{width:174px;height:174px}.waiting .hero-art .mascot-pair{transform:scale(.85)}.hero-art .art-whisper{right:12%}.hero-text .eyebrow{font-size:7px;letter-spacing:1px;line-height:1.8}.hero-caption{align-items:flex-start}.hero-caption svg{margin-top:2px;flex-shrink:0}}
@media(max-width:380px){.hero .hero-art{margin-right:0}.hero .hero-art .mascot-pair{transform:scale(.52)}.hero .hero-art .orbit{width:150px;height:150px}.hero .hero-art .art-label{padding:8px 7px;font-size:8px}}
@media(max-width:760px){.hero .hero-art{margin-right:0}}

/* Public registration remains in document flow, above the fixed mobile navigation. */
.footer{flex-wrap:wrap}.registration{flex-basis:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin-top:14px;font-size:11px;line-height:1.8}.registration a{color:inherit;overflow-wrap:anywhere;text-underline-offset:3px}
@media(max-width:760px){.footer{padding-bottom:calc(100px + env(safe-area-inset-bottom))}}
