@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");:root{--ink:#211b2d;--muted:#625b70;--purple:#6e52e8;--purple-dark:#302341;--lime:#c8f45a;--coral:#ff8e76;--paper:#f2f1f6;--line:#dedbe7;--white:#fff;--shadow:0 12px 30px rgba(31,24,44,.1)}*{box-sizing:border-box}html{scroll-behavior:smooth}body,html{background:var(--paper)}body{margin:0;color:var(--ink);font-family:Manrope,sans-serif;min-height:100vh}button,input{font:inherit}button{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #a58bff;outline-offset:3px}::selection{background:#d9f5a1;color:#211b2d}::-webkit-scrollbar{width:10px}::-webkit-scrollbar-track{background:#e9e7ef}::-webkit-scrollbar-thumb{background:#b6adc9;border:2px solid #e9e7ef;border-radius:9px}.app-shell{min-height:100vh;max-width:1600px;margin:auto;background:var(--paper)}.topbar{height:76px;padding:0 48px;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff}.brand,.topbar{display:flex;align-items:center}.brand{gap:11px;text-decoration:none;color:var(--ink);font-family:Space Grotesk,sans-serif;font-size:22px;font-weight:700;letter-spacing:-.055em}.brand img{width:43px;height:43px;border-radius:13px;object-fit:cover;box-shadow:0 4px 13px #211b2d23}.brand b{color:var(--purple);font-weight:700}.book-label{font-size:10px;letter-spacing:.15em;font-weight:800;color:#51465f;display:flex;align-items:center;gap:9px}.book-dot{width:8px;height:8px;background:#99cc33;border-radius:50%;box-shadow:0 0 0 4px #c8f45a55}.workspace{display:grid;grid-template-columns:86px minmax(0,1fr);min-height:calc(100vh - 76px)}.rail{border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;padding:27px 0;gap:15px;background:#f7f6fa}.rail-mark{height:43px;width:43px;border-radius:13px;overflow:hidden;background:#21192f;margin-bottom:21px;box-shadow:0 6px 15px #49365f2b}.rail-mark img{width:100%;height:100%;object-fit:cover}.rail-button{width:44px;height:44px;border:0;border-radius:13px;background:transparent;color:#625b70;display:grid;place-items:center;cursor:pointer;transition:background .2s,color .2s,transform .2s}.rail-button:hover{background:#ebe8f4;color:var(--purple);transform:translateY(-1px)}.rail-button.active{background:var(--purple);color:#fff}.rail-button svg,.search-box svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.rail-bottom{margin-top:auto;color:#6549dd;font-size:21px}.content{width:min(100%,1120px);margin:0 auto;padding:42px 64px 72px}.hello-row{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Space Grotesk,sans-serif;letter-spacing:-.055em;font-weight:700;color:#241c32}h1{font-size:clamp(32px,4vw,43px);line-height:1.06}h1,h2{margin-bottom:0}h2{font-size:26px;line-height:1.15}.book-owner{font-size:11px;color:#50475d;font-weight:700;display:flex;align-items:center;gap:9px;white-space:nowrap}.book-owner input{width:125px;border:1px solid #d8d3e1;background:#fff;border-radius:9px;padding:9px 11px;color:var(--ink);font-size:12px}.swap-stage{min-height:164px;margin-bottom:37px;border-radius:16px;background:#241b31;color:#fff;display:grid;grid-template-columns:116px minmax(0,1fr) 1px;align-items:center;grid-gap:20px;gap:20px;padding:20px 27px;overflow:hidden;position:relative;box-shadow:var(--shadow)}.swap-stage:after{content:"";position:absolute;width:180px;height:180px;border:1px solid #c8f45a35;border-radius:50%;right:-50px;top:-80px;box-shadow:0 0 0 20px #c8f45a0d,0 0 0 40px #c8f45a09;pointer-events:none}.swap-stage img{width:108px;height:108px;border-radius:15px;object-fit:cover;box-shadow:0 8px 20px #0f0a1777}.stage-label{display:block;color:var(--lime);font-size:9px;font-weight:800;letter-spacing:.15em;margin-bottom:8px}.swap-stage p{font-family:Space Grotesk,sans-serif;font-size:clamp(16px,2vw,22px);line-height:1.32;letter-spacing:-.035em;max-width:37ch;margin:0;color:#fff}.stage-count{display:none}.collection-section{padding-bottom:4px}.section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:17px}.section-title h2{margin-bottom:5px}.count-badge{font-size:10px;color:#473c5e;background:#e5e0f2;border-radius:20px;padding:8px 12px;white-space:nowrap;font-weight:800}.add-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;align-items:end;padding:15px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 4px 14px #211b2d0c}.full-row{grid-column:1/-1}.toy-input{display:flex;flex-direction:column;gap:8px;min-width:0;color:#50475d;font-size:11px;font-weight:700}.toy-input input{height:43px;padding:0 13px;font-size:13px}.toy-input input,.toy-input textarea{width:100%;border:1px solid #d9d5e0;border-radius:8px;background:#fff;color:var(--ink)}.toy-input textarea{min-height:70px;resize:vertical;padding:10px 13px;font:inherit;font-size:13px;line-height:1.45}.toy-input input:focus-visible,.toy-input select:focus-visible,.toy-input textarea:focus-visible{outline:3px solid #a58bff;outline-offset:2px}.ai-helper-button{min-height:42px;border:1px solid #d8d0f4;border-radius:8px;background:#f1edff;color:#4832ae;padding:0 13px;font-size:11px;font-weight:800;text-align:left;cursor:pointer}.ai-helper-button:hover:not(:disabled){background:#e9e2ff}.ai-helper-button:disabled{opacity:.55;cursor:not-allowed}.ai-disclosure{margin:0;color:#625b70;font-size:10px;line-height:1.45}.ai-condition{margin:0;border-radius:8px;background:#f1edff;padding:9px 11px;color:#443495;font-size:10px;line-height:1.5}input::placeholder{color:#625b70;opacity:1}.primary-button{height:43px;border:0;border-radius:8px;background:var(--purple);color:#fff;padding:0 17px;display:flex;align-items:center;gap:14px;font-size:12px;font-weight:800;cursor:pointer;transition:background .2s,transform .2s}.primary-button:hover,.trade-button:hover{background:#543ac8;transform:translateY(-1px)}.primary-button:disabled,.trade-button:disabled{opacity:.58;cursor:wait;transform:none}.primary-button span{font-size:17px;color:var(--lime)}.gentle-empty{font-size:12px;color:#625b70;padding:16px 2px 0;margin-bottom:0}.toy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:15px;gap:15px;margin-top:17px}.toy-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:transform .2s,box-shadow .2s}.toy-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px #3023411a}.toy-image{height:132px;background:#e9e6f0;position:relative;display:grid;place-items:center;overflow:hidden}.toy-image:before{content:"";position:absolute;width:124px;height:112px;border-radius:50%;background:#f8f7fb;transform:rotate(-12deg)}.item-art{width:130px;height:104px;position:relative;z-index:1}.toy-status{position:absolute;z-index:2;right:9px;top:9px;border-radius:20px;padding:6px 8px;background:#fff;color:#342945;font-size:8px;font-weight:800}.toy-details{padding:13px 14px 14px}.toy-details h3{font-family:Space Grotesk,sans-serif;font-size:17px;letter-spacing:-.035em;margin:0 0 3px;color:#241c32}.toy-details p{font-size:10px;color:#625b70;margin:0 0 12px}.toy-details p.find-description{margin:0 0 5px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.trade-button{border:0;border-radius:7px;background:var(--purple);color:#fff;padding:8px 10px;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:space-between;width:100%;cursor:pointer;transition:background .2s,transform .2s}.trade-button span{color:var(--lime);font-size:15px}.subcopy{margin:5px 0 0;color:#625b70;font-size:12px;line-height:1.5}.search-page{padding-top:3px}.search-box{height:48px;max-width:560px;border:1px solid #d9d5e0;border-radius:10px;background:#fff;display:flex;align-items:center;gap:11px;padding:0 14px;margin:22px 0 4px;color:#625b70;box-shadow:0 4px 13px #211b2d0a}.search-box input{border:0;outline:0;background:transparent;flex:1 1;min-width:0;color:var(--ink);font-size:13px}.search-box:focus-within{border-color:#8569ed;box-shadow:0 0 0 3px #8569ed26}.empty-search{min-height:218px;border:1px dashed #c7c1d2;border-radius:12px;margin-top:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;background:#f9f8fb}.empty-search .empty-star{width:35px;height:35px;display:inline-grid;place-items:center;border-radius:50%;color:#211b2d;background:var(--lime);font-size:18px;margin-bottom:11px}.empty-search h3{font-family:Space Grotesk,sans-serif;font-size:20px;letter-spacing:-.04em;margin:0 0 5px;color:#241c32}.empty-search p{font-size:12px;color:#625b70;margin:0;max-width:36ch;line-height:1.6}.notice{font-size:11px;color:#51475e;background:#e9e5ef;border-radius:8px;padding:10px 12px;margin:19px 0 0;line-height:1.5}.notice.error{color:#792d37;background:#fbe9e9}.chat-page{max-width:700px;padding-top:2px}.back-link{border:0;background:none;color:#51475e;font-size:12px;font-weight:700;cursor:pointer;margin-bottom:16px;padding:6px 0}.back-link:hover{text-decoration:underline;text-underline-offset:3px}.chat-card{background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 9px 26px #30234112;overflow:hidden}.chat-head{padding:22px 24px 16px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.chat-head h2{font-size:25px}.close-chat{border:0;background:#eeeaf5;border-radius:50%;width:34px;height:34px;font-size:22px;line-height:1;color:#403451;cursor:pointer}.chat-toy{display:flex;align-items:center;gap:14px;padding:16px 24px;background:#f5f3f8;border-bottom:1px solid var(--line)}.chat-toy .item-art{width:73px;height:61px;background:#e5e0ef;border-radius:10px}.chat-toy div{display:flex;flex-direction:column;gap:4px;font-size:13px}.chat-toy span{font-size:11px;color:#625b70}.chat-message{display:flex;gap:12px;align-items:flex-start;padding:27px 24px 10px}.message-mark{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:var(--lime);color:#211b2d;flex:none;font-weight:800}.chat-message p{font-size:13px;line-height:1.6;color:#40374d;max-width:48ch;margin:2px 0 0}.chat-wait{margin:16px 24px 23px 65px;font-size:11px;color:#625b70}.privacy{margin-top:23px}.mobile-nav{display:none}@media(max-width:900px){.content{padding:36px 38px 60px}.topbar{padding:0 30px}.toy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.topbar{height:65px;padding:0 18px}.brand{font-size:20px;gap:8px}.brand img{height:37px;width:37px;border-radius:11px}.book-label{font-size:8px;letter-spacing:.1em}.workspace{display:block;min-height:calc(100vh - 65px)}.rail{display:none}.content{padding:28px 18px 100px}.hello-row{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:20px}.book-owner{align-self:stretch;justify-content:flex-start}.book-owner input{flex:1 1;max-width:180px}h1{font-size:34px}.swap-stage{min-height:128px;grid-template-columns:72px minmax(0,1fr);gap:13px;padding:15px;margin-bottom:29px;border-radius:13px}.swap-stage img{width:68px;height:68px;border-radius:12px}.swap-stage p{font-size:15px;line-height:1.35}.stage-label{font-size:8px;margin-bottom:6px}.swap-stage:after{width:120px;height:120px;right:-44px;top:-58px}.section-title{align-items:flex-start}.section-title h2{font-size:22px}.subcopy{font-size:11px;max-width:35ch}.count-badge{font-size:9px;padding:7px 9px}.add-form{grid-template-columns:minmax(0,1fr);padding:12px;gap:8px;align-items:stretch}.toy-input input{height:43px}.primary-button{justify-content:center;width:100%}.toy-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.toy-image{height:112px}.item-art{width:112px;height:90px}.toy-status{top:6px;right:5px;font-size:7px;padding:5px 6px}.toy-details{padding:11px 10px 12px}.toy-details h3{font-size:15px}.toy-details p{font-size:9px}.trade-button{font-size:9px;padding:8px}.search-page{padding-top:2px}.search-box{margin:19px 0 2px;height:46px}.empty-search{min-height:193px;padding:20px}.chat-head{padding:18px 17px 14px}.chat-head h2{font-size:22px}.chat-toy{padding:13px 17px}.chat-message{padding:23px 17px 7px}.chat-wait{margin-left:58px;margin-right:17px}.privacy{font-size:10px}.mobile-nav{position:fixed;z-index:5;bottom:0;left:0;right:0;height:66px;padding:6px 22px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);gap:15px;box-shadow:0 -6px 22px #211b2d0d}.mobile-nav,.mobile-nav button{display:flex;justify-content:center}.mobile-nav button{background:transparent;border:0;border-radius:9px;color:#625b70;font-size:10px;font-weight:700;padding:4px 14px;flex-direction:column;align-items:center;gap:2px;cursor:pointer}.mobile-nav button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-nav button.selected{background:var(--purple);color:#fff}}@media(prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.condition-input select{height:43px;width:100%;border:1px solid #d9d5e0;border-radius:8px;padding:0 13px;background:#fff;color:var(--ink);font-size:13px}.condition-input select:focus-visible{outline:3px solid #a58bff;outline-offset:3px}.condition-tag{position:absolute;z-index:2;left:9px;bottom:9px;border-radius:20px;padding:6px 9px;background:var(--lime);color:#211b2d;font-size:9px;font-weight:800;box-shadow:0 2px 7px #211b2d24}@media(max-width:600px){.condition-tag{left:6px;bottom:6px;font-size:8px;padding:5px 7px}.condition-input select{height:43px}}.header-actions{display:flex;align-items:center;gap:14px}.header-actions form{margin:0}.sign-in-button{min-height:40px;border:0;border-radius:9px;background:var(--purple);color:#fff;padding:0 15px;font-size:11px;font-weight:800;cursor:pointer;transition:background .2s,transform .2s}.sign-in-button:hover{background:#543ac8;transform:translateY(-1px)}.delete-confirm-button:focus-visible,.history-row:focus-visible,.quiet-button:focus-visible,.sign-in-button:focus-visible{outline:3px solid #a58bff;outline-offset:3px}.welcome-copy{max-width:48ch;margin:12px 0 0;color:#51475e;font-size:13px;line-height:1.55}.owner-controls{display:flex;align-items:center;gap:7px;margin-top:12px}.quiet-button{min-height:33px;border:1px solid #d9d5e0;border-radius:7px;background:#fff;color:#40374d;padding:0 11px;font-size:10px;font-weight:800;cursor:pointer;transition:background .18s,border-color .18s}.quiet-button:hover{background:#f2eff8;border-color:#bcb3d0}.delete-link{color:#792d37}.edit-form{display:flex;flex-direction:column;gap:12px;padding:14px;background:#fff}.edit-form .toy-input input,.edit-form .toy-input select{height:40px;width:100%;border:1px solid #d9d5e0;border-radius:8px;padding:0 11px;background:#fff;color:var(--ink);font-size:12px}.edit-actions{display:flex;gap:8px;align-items:center}.edit-actions .trade-button{width:auto;flex:1 1;justify-content:center}.delete-confirm{margin-top:12px;padding:11px;background:#fbefef;border-radius:8px}.delete-confirm p{margin:0 0 8px;color:#632c34;font-size:10px;line-height:1.45}.delete-confirm-button{min-height:31px;border:0;border-radius:7px;background:#8d3541;color:#fff;padding:0 10px;font-size:10px;font-weight:800;cursor:pointer;margin-right:6px}.history-section{margin-top:30px}.history-empty,.history-list{border-top:1px solid var(--line)}.history-empty{margin:0;padding:16px 2px;color:#625b70;font-size:12px;line-height:1.5}.history-row{width:100%;min-height:66px;display:flex;align-items:center;gap:12px;padding:10px 4px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;cursor:pointer}.history-row:hover{background:#ebe8f4}.history-mark{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:10px;background:var(--lime);color:var(--ink);font-weight:800}.history-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1 1}.history-copy strong{font-family:Space Grotesk,sans-serif;font-size:13px;color:#241c32;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-copy small{font-size:10px;color:#625b70}.history-open{font-size:10px;color:#51475e;font-weight:800;white-space:nowrap}.message-list{max-height:360px;overflow-y:auto;display:flex;flex-direction:column;gap:9px;padding:18px 24px 4px}.message-bubble{max-width:min(85%,420px);align-self:flex-start;margin:0;padding:10px 13px;border-radius:12px 12px 12px 3px;background:#f0edf5;color:#342945;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.message-bubble.mine{align-self:flex-end;border-radius:12px 12px 3px 12px;background:#e8e1ff;color:#302341}.message-form{display:flex;align-items:stretch;gap:9px;padding:14px 24px 10px}.message-form textarea{min-height:44px;max-height:150px;resize:vertical;flex:1 1;min-width:0;border:1px solid #d9d5e0;border-radius:9px;padding:11px 12px;background:#fff;color:var(--ink);font:inherit;font-size:12px;line-height:1.4}.message-form .primary-button{height:auto;min-height:44px;flex:none}.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}.photo-actions{display:flex;gap:8px;flex-wrap:wrap}.photo-action{position:relative;display:inline-flex;min-height:40px;align-items:center;justify-content:center;padding:0 12px;border:1px solid #d9d5e0;border-radius:8px;background:#f5f2fa;color:#342945;font-size:11px;font-weight:800;cursor:pointer}.photo-action:hover{background:#eeeaf5}.photo-action input,.photo-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.photo-action:focus-within,.photo-picker:focus-within{outline:3px solid #a58bff;outline-offset:3px}.photo-input small{color:#625b70;font-size:9px;line-height:1.35;font-weight:500}.find-photo{position:relative;z-index:1;width:100%;height:100%;object-fit:cover}.find-photo-gallery{position:absolute;z-index:1;inset:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);grid-gap:2px;gap:2px}.find-photo-gallery.single{grid-template-columns:1fr}.find-photo-gallery.many{grid-template-columns:repeat(3,minmax(0,1fr))}.find-photo-gallery .find-photo{min-width:0;min-height:0}.photo-count-label{align-self:center;color:#625b70;font-size:10px;font-weight:700}.photo-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(62px,1fr));grid-gap:8px;gap:8px;margin-top:4px}.photo-preview{position:relative;min-width:0;aspect-ratio:1;border:1px solid #d9d5e0;border-radius:8px;background:#f5f2fa;overflow:hidden}.photo-preview img{width:100%;height:100%;object-fit:cover}.photo-preview span{position:absolute;left:3px;right:3px;bottom:3px;padding:2px 4px;border-radius:4px;background:#20192dcc;color:#fff;font-size:8px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-remove{position:absolute;z-index:1;right:3px;top:3px;width:20px;height:20px;border:0;border-radius:50%;background:#fff;color:#342945;font-size:15px;line-height:1;cursor:pointer}.photo-remove:disabled{opacity:.5;cursor:wait}.photo-unavailable{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);max-width:85%;border-radius:7px;background:#fff;padding:6px 9px;color:#51475e;font-size:9px;font-weight:700;text-align:center}.photo-picker{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}@media(max-width:600px){.header-actions{gap:7px}.sign-in-button{min-height:37px;padding:0 11px;font-size:10px}.welcome-copy{margin:0;font-size:12px}.history-section{margin-top:27px}.history-row{gap:9px}.history-open{font-size:9px}.history-copy strong{font-size:12px}.owner-controls{flex-wrap:wrap;gap:6px}.owner-controls .quiet-button{padding:0 8px}.photo-input input[type=file]{height:43px}.message-list{padding:16px 17px 4px;max-height:320px}.message-form{padding:12px 17px 8px;flex-direction:column}.message-form .primary-button{width:100%;justify-content:center}.edit-form{padding:11px}.delete-confirm-button{margin-bottom:6px}}