:root{--ink:#171310;--ink-soft:#5c554d;--paper:#fff;--card:#fff;--line:#e4ded2;--cream:#f5efe3;--red:#b31b1b;--red-deep:#8a1414;--red-soft:#fbecec;--gold:#c9a227;--gold-soft:#f8f1de;--danger:#8a3b3b;--danger-deep:#732f2f;--danger-soft:#f3e3e3;--danger-tint:#f7e9e9;--danger-line:#e3c4c4;--serif:"Fraunces", Georgia, "Times New Roman", serif;--sans:"Inter", system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;--ease-out:cubic-bezier(.2, 0, 0, 1);--dur-fast:.12s;--dur:.18s;--dur-slow:.26s;--text-xs:.75rem;--text-sm:.875rem;--text-base:1rem;--text-lg:1.25rem;--text-xl:2rem;--text-2xl:3rem;--text-hero:3.5rem;color:var(--ink);background:var(--paper);font-size:17px;line-height:1.5;font-family:var(--sans);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{min-height:100dvh;margin:0}code{font-family:var(--mono);background:var(--red-soft);border-radius:4px;padding:.1em .4em;font-size:.85em}h1,h2,h3{text-wrap:balance}:focus-visible{outline:3px solid var(--red);outline-offset:2px;border-radius:2px}.skip-link{z-index:2000;background:var(--red);color:#fff;border-radius:0 0 8px;padding:10px 16px;font-weight:600;text-decoration:none;position:absolute;top:0;left:-9999px}.skip-link:focus{left:0}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.loading-book{color:var(--ink-soft);align-items:center;gap:8px;margin:0;font-style:italic;display:inline-flex}.loading-book-icon{perspective:40px;font-style:normal;animation:1.1s ease-in-out infinite loading-book-flip;display:inline-block}@keyframes loading-book-flip{0%,to{transform:rotateY(0)}50%{transform:rotateY(180deg)}}@media (prefers-reduced-motion:reduce){.loading-book-icon{animation:none}}.error-boundary{text-align:center;background:var(--card);border:1px solid var(--line);border-radius:14px;max-width:480px;margin:40px auto;padding:28px 24px}.error-boundary-icon{margin:0 0 8px;font-size:2.5rem}.error-boundary-title{font-family:var(--serif);font-size:var(--text-lg);color:var(--red);margin:0 0 8px;font-weight:600}.error-boundary-message{color:var(--ink-soft);margin:0 0 20px}.error-boundary-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.error-boundary-retry,.error-boundary-home{font:inherit;cursor:pointer;transition:background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);border-radius:8px;padding:10px 18px;font-weight:600;text-decoration:none}.error-boundary-retry{color:var(--paper);background:var(--red);border:1px solid var(--red)}.error-boundary-retry:hover{background:var(--red-deep)}.error-boundary-home{color:var(--red);background:var(--paper);border:1px solid var(--line)}.error-boundary-home:hover{border-color:var(--red)}.error-boundary-detail{font-size:var(--text-xs);color:var(--ink-soft);overflow-wrap:anywhere;margin:20px 0 0}.gbr-overlay{pointer-events:none;z-index:9999;position:fixed;inset:0;overflow:hidden}.gbr-balloon{will-change:transform;justify-content:center;align-items:center;width:120px;height:120px;display:flex;position:absolute;top:0;left:0}.gbr-balloon-glyph{color:var(--bg,#9b1b2e);-webkit-text-stroke:1.5px #00000040;filter:drop-shadow(0 7px 6px #0000004d);font-family:Inter,system-ui,sans-serif;font-size:108px;font-weight:900;line-height:1;position:relative}.gbr-balloon-glyph:after{content:"";filter:blur(2px);background:#fff9;border-radius:50%;width:24%;height:14%;position:absolute;top:12%;left:20%;transform:rotate(-25deg)}.gbr-balloon:after{content:"";border-left:5px solid #0000;border-right:5px solid #0000;border-top:8px solid var(--bg,#9b1b2e);width:0;height:0;position:absolute;bottom:-2px;left:50%;transform:translate(-50%)}.gbr-balloon-fading{opacity:0;transition:opacity .4s var(--ease-out)}.page{flex-direction:column;max-width:1080px;min-height:100dvh;margin:0 auto;padding:24px 20px 48px;display:flex}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.nav{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding-bottom:20px;display:flex;position:relative}.brand{font-family:var(--serif);color:var(--red);white-space:nowrap;transition:opacity var(--dur) var(--ease-out);align-items:center;gap:10px;font-size:1.35rem;font-weight:700;text-decoration:none;display:flex}.brand:hover{opacity:.8}.menu-scrim{display:none}.menu-toggle{border:1px solid var(--line);width:44px;height:44px;color:var(--ink);cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;margin-left:auto;font-size:1.3rem;display:none;position:relative}.menu-toggle-dot{background:var(--red);border:2px solid var(--paper);border-radius:50%;width:9px;height:9px;position:absolute;top:6px;right:6px}.nav-badge{background:var(--red);color:#fff;vertical-align:middle;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;margin-left:6px;padding:0 5px;font-size:.72rem;font-weight:700;line-height:1;display:inline-flex}.menu{flex-wrap:wrap;gap:18px;display:flex}.menu-link{color:var(--ink-soft);transition:color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);border-bottom:2px solid #0000;padding:4px 2px;font-size:.95rem;text-decoration:none}.menu-link:hover{color:var(--red)}.menu-link.active{color:var(--red);border-bottom-color:var(--gold);font-weight:600}.auth-pending{color:var(--ink-soft);white-space:nowrap;font-size:.85rem}.signin{font:inherit;color:var(--paper);background:var(--red);cursor:pointer;white-space:nowrap;transition:background var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);border:none;border-radius:8px;padding:8px 14px;font-size:.9rem;font-weight:600}.signin:hover:not(:disabled){background:var(--red-deep);transform:translateY(-1px)}.signin:active:not(:disabled){transform:translateY(0)}.signin:disabled{opacity:.7;cursor:default}.auth-user{align-items:center;gap:8px;display:flex}.profile-btn{cursor:pointer;transition:background var(--dur) var(--ease-out);border-radius:999px;align-items:center;gap:8px;padding:4px 10px 4px 4px;text-decoration:none;display:flex}.profile-btn:hover{background:var(--red-soft)}.auth-user .avatar{border-radius:50%;width:26px;height:26px}.auth-name{color:var(--ink);white-space:nowrap;font-size:.9rem;font-weight:600}.signout{font:inherit;border:1px solid var(--line);cursor:pointer;color:var(--ink-soft);transition:border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);background:0 0;border-radius:8px;padding:4px 10px;font-size:.8rem}.signout:hover{border-color:var(--red);color:var(--red)}.content{flex:1;padding:32px 0}.route-enter{animation:route-enter var(--dur-slow) var(--ease-out) both}@keyframes route-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.foot{text-align:center;color:var(--ink-soft);margin-top:auto;padding-top:40px;font-size:.9rem}.foot p{margin:4px 0}.foot-link{min-height:44px;color:var(--ink-soft);transition:color var(--dur) var(--ease-out);align-items:center;padding:0 4px;display:inline-flex}.foot-link:hover{color:var(--red)}@media (width<=720px){.menu-toggle{z-index:60;display:flex}.brand{z-index:60;position:relative}.menu{background:var(--card);border:1px solid var(--line);z-index:50;opacity:0;transform-origin:top;transition:opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), display var(--dur) allow-discrete;border-radius:12px;flex-direction:column;gap:2px;margin-top:8px;padding:10px;display:none;position:absolute;top:100%;left:0;right:0;transform:translateY(-8px)scale(.985);box-shadow:0 12px 28px #17131024}.menu.menu-open{opacity:1;display:flex;transform:translateY(0)scale(1)}@starting-style{.menu.menu-open{opacity:0;transform:translateY(-8px)scale(.985)}}.menu-scrim{z-index:40;opacity:1;transition:opacity var(--dur) var(--ease-out), display var(--dur) allow-discrete;background:#17131057;border:0;padding:0;display:block;position:fixed;inset:0}@starting-style{.menu-scrim{opacity:0}}.menu-link{border-bottom:none;border-radius:8px;padding:10px 12px}.menu-link:hover,.menu-link.active{background:var(--red-soft);border-bottom:none}}@media (width<=480px){.page{padding:16px 14px 32px}.nav{gap:10px 16px;padding-bottom:16px}.content{padding:24px 0}}.search-bar{gap:8px;width:100%;display:flex}.search-bar input{font:inherit;border:1px solid var(--line);background:var(--card);color:var(--ink);transition:border-color var(--dur) var(--ease-out);border-radius:10px;flex:1;padding:12px 16px}.search-bar input:hover{border-color:var(--red)}.search-bar input:focus-visible{outline:3px solid var(--red);outline-offset:1px}.search-bar button{font:inherit;color:var(--paper);background:var(--red);cursor:pointer;transition:background var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);border:none;border-radius:10px;padding:12px 22px;font-weight:600}.search-bar button:hover{background:var(--red-deep);transform:translateY(-1px)}.search-bar button:active{transform:translateY(0)}.search-bar-lg input{font-size:1.05rem}.cover{object-fit:cover;background:var(--red-soft);border:1px solid var(--line);border-radius:8px;flex-shrink:0}.cover-sm{width:56px;height:80px}.cover-md{width:100px;height:140px}.cover-lg{width:200px;height:280px}.cover-placeholder{color:var(--red);font-family:var(--serif);justify-content:center;align-items:center;font-weight:700;display:flex}.cover-sm.cover-placeholder{font-size:1rem}.cover-md.cover-placeholder{font-size:1.6rem}.cover-lg.cover-placeholder{font-size:2.6rem}.cover-gallery{padding:0;position:relative;overflow:hidden}.cover-scroller{scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;width:100%;height:100%;display:flex;overflow-x:auto}.cover-scroller::-webkit-scrollbar{display:none}.cover-slide{object-fit:cover;scroll-snap-align:start;border:none;border-radius:0;flex:0 0 100%;width:100%;height:100%}.cover-gallery .cover-dots{pointer-events:none;justify-content:center;gap:4px;display:flex;position:absolute;bottom:6px;left:0;right:0}.cover-dot{width:5px;height:5px;transition:background var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);background:#ffffff8c;border-radius:50%;box-shadow:0 0 0 1px #00000026}.cover-dot-active{background:#fff;transform:scale(1.25)}.book-card{background:var(--card);border:1px solid var(--line);color:inherit;transition:transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);border-radius:12px;gap:14px;padding:14px;text-decoration:none;display:flex;position:relative}.book-card:after{content:"";border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--dur) var(--ease-out);position:absolute;inset:-1px;box-shadow:0 10px 22px -6px #b31b1b47}.book-card:hover{border-color:var(--red);transform:translateY(-3px)}.book-card:hover:after{opacity:1}.book-card-body{flex-direction:column;min-width:0;display:flex}.book-card-title{color:var(--ink);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 2px;font-weight:700;display:-webkit-box;overflow:hidden}.book-card-authors,.book-card-class{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.85rem;overflow:hidden}.book-card-footer{align-items:center;gap:10px;margin-top:auto;padding-top:8px;display:flex}.book-card-price{color:var(--red);font-weight:700}.book-card-status{text-transform:uppercase;letter-spacing:.03em;background:var(--red-soft);color:var(--red);border-radius:999px;padding:2px 8px;font-size:.75rem}.home{flex-direction:column;gap:48px;display:flex}.hero{justify-content:space-between;align-items:center;gap:32px;padding:24px 0 8px;display:flex}.hero-copy{flex-direction:column;align-items:flex-start;gap:20px;max-width:560px;display:flex}.hero h1{font-family:var(--serif);font-size:clamp(2rem, 4.4vw, var(--text-2xl));color:var(--ink);margin:0;line-height:1.1}.hero .tagline{max-width:54ch;color:var(--ink-soft);margin:0;font-size:1.1rem}.hero .search-bar{width:100%}.hero-art{flex-shrink:0;width:220px;height:200px}.hero-actions{gap:12px;display:flex}.sell-cta{color:var(--red);border:2px solid var(--red);transition:background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);background:0 0;border-radius:10px;align-items:center;padding:10px 20px;font-weight:600;text-decoration:none;display:inline-flex}.sell-cta:hover{background:var(--red);color:#fff}.section-heading{justify-content:space-between;align-items:baseline;margin-bottom:16px;display:flex}.section-heading h2{font-family:var(--serif);color:var(--ink);margin:0}.section-heading a{color:var(--ink-soft);transition:color var(--dur) var(--ease-out);font-size:.9rem;text-decoration:none}.section-heading a:hover{color:var(--red)}.about-section{text-align:center;background:var(--cream);border-radius:16px;max-width:640px;margin:0 auto;padding:36px 32px}.about-avatar{background:var(--red);color:#fff;width:52px;height:52px;font-family:var(--serif);border-radius:50%;justify-content:center;align-items:center;margin:0 auto 14px;font-weight:700;display:flex}.about-section h2{font-family:var(--serif);color:var(--ink);margin:0 0 12px}.about-section p{color:var(--ink-soft);margin:0;line-height:1.6}.about-section a{color:var(--red)}.about-caption{font-size:.85rem;font-style:italic;margin-top:14px!important}@media (width<=720px){.hero{text-align:center;flex-direction:column}.hero-copy{align-items:center;max-width:none}.hero-art{width:160px;height:146px}}.buy-page{flex-direction:column;gap:18px;display:flex}.mobile-filter-toggle{font:inherit;color:var(--ink);background:var(--card);border:1px solid var(--line);cursor:pointer;border-radius:10px;align-self:flex-start;padding:10px 16px;font-weight:600;display:none}.active-chips{flex-wrap:wrap;gap:8px;display:flex}.active-chip{font:inherit;background:var(--red-soft);color:var(--red-deep);cursor:pointer;border:none;border-radius:999px;align-items:center;gap:6px;padding:5px 10px 5px 12px;font-size:.82rem;display:inline-flex}.filters-panel{background:var(--card);border:1px solid var(--line);border-radius:14px;flex-direction:column;gap:14px;padding:18px 20px;display:flex}.filters-row{flex-wrap:wrap;gap:14px;display:flex}.field{color:var(--ink-soft);flex-direction:column;gap:6px;min-width:150px;font-size:.85rem;display:flex}.field-grow{flex:1}.field input[type=text],.field input[type=number]{font:inherit;color:var(--ink);border:1px solid var(--line);background:var(--paper);border-radius:8px;padding:10px 12px;font-size:.95rem}.chip-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.chip-select{font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--line);cursor:pointer;border-radius:999px;padding:8px 30px 8px 14px;font-size:.88rem}.chip-checkbox{color:var(--ink-soft);background:var(--paper);border:1px solid var(--line);cursor:pointer;border-radius:999px;align-items:center;gap:7px;padding:8px 14px;font-size:.88rem;display:flex}.chip-checkbox input{width:15px;height:15px}.chip-range{background:var(--paper);border:1px solid var(--line);border-radius:999px;align-items:center;gap:6px;padding:4px 10px;display:flex}.chip-range input{font:inherit;background:0 0;border:none;width:64px;padding:4px 2px;font-size:.85rem}.chip-range span{color:var(--ink-soft)}.clear-filters{font:inherit;border:1px solid var(--line);cursor:pointer;color:var(--ink-soft);transition:border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);background:0 0;border-radius:999px;margin-left:auto;padding:8px 16px;font-size:.85rem}.clear-filters:hover{border-color:var(--red);color:var(--red)}.results-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.results-count{color:var(--ink-soft);margin:0}.sort{color:var(--ink-soft);align-items:center;gap:8px;font-size:.9rem;display:flex}.sort select{font:inherit;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:8px;padding:6px 10px}.listings-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px;display:grid}@media (width<=720px){.mobile-filter-toggle{justify-content:center;align-items:center;display:inline-flex}.filters-panel{opacity:0;transition:opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), display var(--dur) allow-discrete;display:none;transform:translateY(-8px)}.filters-panel.filters-open{opacity:1;display:flex;transform:translateY(0)}@starting-style{.filters-panel.filters-open{opacity:0;transform:translateY(-8px)}}}.breadcrumb{color:var(--ink-soft);margin:0 0 20px;font-size:.85rem}.breadcrumb a{color:var(--ink-soft);text-decoration:none}.breadcrumb a:hover{color:var(--red);text-decoration:underline}.breadcrumb [aria-current=page]{color:var(--ink)}.detail-grid{grid-template-columns:200px 1fr;gap:32px;display:grid}.detail-info h1{font-family:var(--serif);color:var(--ink);margin:0 0 4px}.authors{color:var(--ink-soft);margin:0 0 16px}.price-row{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:14px;display:flex}.asking-price{color:var(--red);font-size:1.6rem;font-weight:700}.list-price{color:var(--ink-soft);font-size:.95rem;text-decoration:line-through}.status-badge{text-transform:uppercase;letter-spacing:.03em;background:var(--red-soft);color:var(--red);border-radius:999px;padding:3px 10px;font-size:.75rem}.tag-row{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.tag{color:var(--ink-soft);background:var(--cream);border-radius:999px;padding:5px 12px;font-size:.82rem;font-weight:600}.tag-accent{color:var(--red-deep);background:var(--red-soft)}.annotations-note{color:var(--ink-soft);margin:0 0 18px}.seller-card{align-items:center;gap:10px;margin:0 0 20px;display:flex}.seller-avatar{background:var(--red);color:#fff;width:38px;height:38px;font-family:var(--serif);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:700;display:flex}.seller-info{flex-direction:column;display:flex}.seller-name{font-weight:600}.seller-count{color:var(--ink-soft);font-size:.8rem}.actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.status-control{color:var(--ink-soft);align-items:center;gap:8px;font-size:.85rem;display:flex}.status-control select{font:inherit;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:8px;padding:8px 10px}.message-compose{flex-direction:column;gap:10px;max-width:480px;margin-top:16px;display:flex}.message-compose textarea{font:inherit;border:1px solid var(--line);background:var(--card);resize:vertical;border-radius:8px;padding:10px 12px}.message-compose-actions{gap:10px;display:flex}.primary{font:inherit;color:#fff;background:var(--red);cursor:pointer;transition:background var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);border:none;border-radius:10px;justify-content:center;align-items:center;padding:14px 28px;font-weight:700;text-decoration:none;display:inline-flex}.primary:hover:not(:disabled){background:var(--red-deep);transform:translateY(-1px)}.primary:active:not(:disabled){transform:translateY(0)}.primary:disabled{opacity:.7;cursor:default}.secondary{color:var(--red);transition:color var(--dur) var(--ease-out);font-weight:600;text-decoration:none}.secondary:hover{text-decoration:underline}.unavailable{color:var(--ink-soft);flex-basis:100%;margin:8px 0 0;font-style:italic}.book-details-panel{border-top:1px solid var(--line);margin-top:24px;padding-top:16px}.book-details-panel summary{cursor:pointer;color:var(--ink);font-weight:600;list-style:none}.book-details-panel summary::-webkit-details-marker{display:none}.book-details-panel summary:before{content:"+";width:1.1em;color:var(--red);font-weight:700;display:inline-block}.book-details-panel[open] summary:before{content:"−"}.meta-grid{grid-template-columns:repeat(2,1fr);gap:12px 24px;margin:16px 0 0;display:grid}.meta-grid dt{text-transform:uppercase;letter-spacing:.03em;color:var(--ink-soft);font-size:.78rem}.meta-grid dd{margin:2px 0 0;font-weight:600}.related-strip{margin-top:56px}.related-strip h2{font-family:var(--serif);color:var(--ink);margin:0 0 16px;font-size:1.2rem}.related-strip .listings-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;display:grid}.not-found{text-align:center;padding:60px 0}@media (width<=600px){.detail-grid{grid-template-columns:1fr}.detail-grid .cover-lg{width:140px;height:196px;margin:0 auto}.meta-grid{grid-template-columns:1fr}}.message-send-error{color:var(--red);margin:0;font-size:.82rem}.sell-page h1{font-family:var(--serif);color:var(--ink);margin:0 0 4px}.sell-page .intro{color:var(--ink-soft);margin:0 0 28px}.sell-form{flex-direction:column;gap:24px;max-width:720px;display:flex}.sell-section{border:1px solid var(--line);background:var(--card);border-radius:12px;flex-direction:column;gap:14px;padding:22px;display:flex;box-shadow:0 1px 3px #1713100d}.sell-section h3{font-family:var(--serif);color:var(--ink);margin:0;font-size:1.05rem;font-weight:700}.field-row{flex-wrap:wrap;align-items:end;gap:14px;display:flex}.field-row .field{flex:1;min-width:160px}.field{color:var(--ink-soft);flex-direction:column;gap:6px;font-size:.85rem;display:flex}.field input[type=text],.field input[type=number],.field select{font:inherit;color:var(--ink);border:1px solid var(--line);background:var(--paper);transition:border-color var(--dur) var(--ease-out);border-radius:8px;padding:10px 12px;font-size:.95rem}.field input[type=text]:focus,.field input[type=number]:focus,.field select:focus{border-color:var(--red);outline:none}.field-checkbox{flex-direction:row;align-items:center;gap:8px}.field-checkbox input{width:16px;height:16px}.lookup-btn{font:inherit;background:var(--red);color:var(--paper);cursor:pointer;white-space:nowrap;height:fit-content;transition:background var(--dur) var(--ease-out);border:none;border-radius:8px;padding:10px 16px;font-weight:600}.lookup-btn:hover:not(:disabled){background:var(--red-deep)}.lookup-btn:disabled{opacity:.7;cursor:default}.lookup-message{margin:-6px 0 0;font-size:.85rem}.lookup-message.success{color:var(--red)}.lookup-message.error{color:var(--danger)}.photo-preview-row{flex-wrap:wrap;gap:12px;display:flex}.photo-preview{width:90px;height:90px;position:relative}.photo-preview img{object-fit:cover;border:1px solid var(--line);border-radius:8px;width:100%;height:100%}.photo-preview button{background:var(--ink);width:22px;height:22px;color:var(--paper);cursor:pointer;transition:transform var(--dur) var(--ease-out);border:none;border-radius:50%;line-height:1;position:absolute;top:-8px;right:-8px}.photo-preview button:hover{transform:scale(1.1)}.auth-note{color:var(--ink-soft);margin:0;font-size:.8rem;font-style:italic}.form-error{color:var(--danger);background:var(--danger-tint);border:1px solid var(--danger-line);border-radius:8px;margin:0;padding:10px 14px}.submit-btn{font:inherit;color:var(--paper);background:var(--red);cursor:pointer;transition:background var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);border:none;border-radius:10px;align-self:flex-start;padding:14px 28px;font-weight:700}.submit-btn:hover:not(:disabled){background:var(--red-deep);transform:translateY(-1px)}.submit-btn:active:not(:disabled){transform:translateY(0)}.confirm-backdrop{z-index:1000;animation:confirm-backdrop-in var(--dur) var(--ease-out) both;background:#17131080;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.confirm-dialog{background:var(--card);width:100%;max-width:420px;animation:confirm-dialog-in var(--dur-slow) var(--ease-out) both;border-radius:12px;padding:24px;box-shadow:0 12px 32px #b31b1b40}@keyframes confirm-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes confirm-dialog-in{0%{opacity:0;transform:translateY(8px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}.confirm-dialog h2{font-family:var(--serif);color:var(--red);margin:0 0 10px;font-size:1.15rem}.confirm-dialog p{color:var(--ink-soft);margin:0}.confirm-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.confirm-actions button{font:inherit;cursor:pointer;transition:background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);border:1px solid #0000;border-radius:8px;padding:9px 16px;font-weight:600}.confirm-cancel{background:var(--card);border-color:var(--line);color:var(--ink)}.confirm-cancel:hover{border-color:var(--red)}.confirm-primary{background:var(--red);color:var(--paper)}.confirm-primary:hover{background:var(--red-deep)}.confirm-danger{background:var(--danger);color:var(--paper)}.confirm-danger:hover{background:var(--danger-deep)}.my-listings-page h1{font-family:var(--serif);color:var(--ink);margin:0 0 4px}.my-listings-page .intro{color:var(--ink-soft);max-width:60ch;margin:0 0 24px}.my-listings-page .empty{color:var(--ink-soft);font-style:italic}.delete-error{color:var(--danger);background:var(--danger-soft);border-radius:8px;margin:0 0 20px;padding:10px 14px}.my-listings-page .auth-note{color:var(--ink-soft);max-width:60ch;font-size:.85rem;font-style:italic}.my-listings-page .name-form{align-items:end;gap:12px;margin-top:20px;margin-bottom:20px;display:flex}.my-listings-page .name-form label{color:var(--ink-soft);flex-direction:column;gap:6px;font-size:.85rem;display:flex}.my-listings-page .name-form input{font:inherit;border:1px solid var(--line);background:var(--card);border-radius:8px;padding:10px 12px}.my-listings-page .name-form button{font:inherit;color:var(--paper);background:var(--red);cursor:pointer;border:none;border-radius:8px;padding:10px 18px;font-weight:600}.manage-listings{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.manage-listings li{background:var(--card);border:1px solid var(--line);transition:transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px 16px;display:flex}.manage-listings li:hover{border-color:var(--red);transform:translateY(-1px);box-shadow:0 4px 12px #b31b1b14}.listing-title{color:var(--ink);flex:1;min-width:140px;font-weight:600;text-decoration:none}.listing-title:hover{text-decoration:underline}.status-pill{text-transform:uppercase;background:var(--red-soft);color:var(--red);border-radius:999px;padding:3px 10px;font-size:.75rem}.status-reserved{background:var(--gold-soft);color:#7a6114}.status-sold{background:var(--danger-soft);color:var(--danger)}.manage-listings select{font:inherit;background:var(--card);border:1px solid var(--line);cursor:pointer;transition:border-color var(--dur) var(--ease-out);border-radius:8px;padding:6px 10px;font-size:.85rem}.manage-listings select:hover{border-color:var(--red)}.edit-btn,.delete-btn{font:inherit;cursor:pointer;border:1px solid var(--line);transition:border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);border-radius:8px;padding:6px 12px;font-size:.85rem;font-weight:600;text-decoration:none}.edit-btn{color:var(--red);background:var(--card)}.edit-btn:hover{border-color:var(--red)}.delete-btn{color:var(--danger);background:var(--card)}.delete-btn:hover{border-color:var(--danger);background:var(--danger-soft)}.empty-state{text-align:center;flex-direction:column;align-items:center;gap:6px;padding:48px 20px;display:flex}.empty-state svg{width:120px;height:100px;margin-bottom:10px}.empty-state-title{font-family:var(--serif);color:var(--ink);margin:0;font-size:1.1rem;font-weight:700}.empty-state-message{color:var(--ink-soft);max-width:40ch;margin:0}.empty-state-cta{color:#fff;background:var(--red);transition:background var(--dur) var(--ease-out);border-radius:999px;margin-top:14px;padding:10px 20px;font-weight:600;text-decoration:none}.empty-state-cta:hover{background:var(--red-deep)}.history-page h1{font-family:var(--serif);color:var(--red);margin:0 0 4px}.history-page .intro{color:var(--ink-soft);max-width:60ch;margin:0 0 28px}.auth-note{color:var(--ink-soft);max-width:60ch;font-size:.85rem;font-style:italic}.name-form{align-items:end;gap:12px;margin-top:20px;display:flex}.name-form label{color:var(--ink-soft);flex-direction:column;gap:6px;font-size:.85rem;display:flex}.name-form input{font:inherit;border:1px solid var(--line);background:var(--card);border-radius:8px;padding:10px 12px}.name-form button{font:inherit;color:var(--paper);background:var(--red);cursor:pointer;transition:background var(--dur) var(--ease-out);border:none;border-radius:8px;padding:10px 18px;font-weight:600}.name-form button:hover{background:var(--red-deep)}.history-list{flex-direction:column;gap:10px;max-width:640px;margin:0;padding:0;list-style:none;display:flex}.history-item{background:var(--card);border:1px solid var(--line);transition:transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);border-radius:10px;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.history-item:hover{border-color:var(--red);transform:translateY(-1px);box-shadow:0 4px 12px #b31b1b14}.history-icon{font-size:1.1rem;line-height:1}.history-body{flex-direction:column;gap:4px;min-width:0;display:flex}.history-desc{color:var(--ink);margin:0}.history-snippet{color:var(--ink-soft);overflow-wrap:break-word;margin:0;font-style:italic}.history-meta{color:var(--ink-soft);margin:0;font-size:.8rem}.history-meta a{color:var(--red)}.messages-page h1{font-family:var(--serif);color:var(--ink);margin:0 0 20px}.empty{color:var(--ink-soft);font-style:italic}.messages-layout{grid-template-columns:280px 1fr;gap:20px;height:clamp(420px,70vh,680px);display:grid}.conversation-list{overscroll-behavior:contain;min-height:0;overflow-y:auto}.conversation-list ul{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.conversation-error{background:var(--card);border:1px solid var(--line);color:var(--ink-soft);border-radius:10px;padding:14px 16px}.conversation-error p{margin:0 0 12px}.conversation-error button{font:inherit;color:var(--paper);background:var(--red);cursor:pointer;transition:background var(--dur) var(--ease-out);border:none;border-radius:8px;padding:8px 16px;font-weight:600}.conversation-error button:hover{background:var(--red-deep)}.conversation-item{text-align:left;width:100%;font:inherit;background:var(--card);border:1px solid var(--line);cursor:pointer;transition:border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);border-radius:10px;align-items:center;gap:10px;padding:10px 12px;display:flex}.conversation-item:hover,.conversation-item.active{border-color:var(--red)}.conversation-item.active{background:var(--red-soft)}.conversation-meta{flex-direction:column;gap:2px;min-width:0;display:flex}.conversation-title{color:var(--ink);white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:6px;font-weight:600;display:flex;overflow:hidden}.conversation-unread-dot{background:var(--red);border-radius:50%;flex-shrink:0;width:8px;height:8px}.conversation-with{color:var(--ink-soft);font-size:.78rem}.conversation-preview{color:var(--ink-soft);white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;overflow:hidden}.conversation-item.unread .conversation-preview{color:var(--ink);font-weight:600}.thread-view{background:var(--card);border:1px solid var(--line);border-radius:12px;flex-direction:column;gap:12px;min-height:0;padding:16px 20px;display:flex;overflow:hidden}.thread-header{border-bottom:1px solid var(--line);flex-direction:column;flex-shrink:0;gap:2px;padding-bottom:10px;display:flex}.thread-header a{color:var(--red);transition:color var(--dur) var(--ease-out);font-weight:600;text-decoration:none}.thread-header a:hover{text-decoration:underline}.thread-with{color:var(--ink-soft);font-size:.82rem}.thread-messages{overscroll-behavior:contain;flex-direction:column;flex:1;gap:10px;min-height:0;margin:0;padding:0 4px 0 0;list-style:none;display:flex;overflow-y:auto}.thread-message{background:var(--cream);max-width:70%;color:var(--ink);border-radius:10px 10px 10px 2px;flex-shrink:0;padding:8px 12px}.thread-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:2px 0 0}.thread-message.mine{background:var(--red);color:#fff;border-radius:10px 10px 2px;align-self:flex-end}.thread-message.mine .thread-sender{color:#ffffffbf}.thread-sender{text-transform:uppercase;letter-spacing:.03em;color:var(--ink-soft);font-size:.72rem}.thread-compose{flex-shrink:0;align-items:flex-end;gap:10px;display:flex}.thread-compose textarea{min-width:0;font:inherit;border:1px solid var(--line);background:var(--paper);resize:none;border-radius:8px;flex:1;max-height:150px;padding:10px 12px;line-height:1.45;overflow-y:auto}.thread-compose button{font:inherit;color:var(--paper);background:var(--red);cursor:pointer;transition:background var(--dur) var(--ease-out);border:none;border-radius:8px;flex-shrink:0;padding:10px 18px;font-weight:600}.thread-compose button:hover:not(:disabled){background:var(--red-deep)}.thread-compose button:disabled{opacity:.6;cursor:default}.thread-compose-hint{color:var(--ink-soft);flex-shrink:0;margin:0;font-size:.72rem}.thread-send-error{color:var(--red);flex-shrink:0;margin:0;font-size:.82rem}@media (width<=700px){.messages-layout{grid-template-columns:1fr;height:auto}.conversation-list{max-height:45vh}.thread-view{height:70vh}}.static-page{max-width:640px}.static-page-centered{margin:0 auto}.static-page h1{font-family:var(--serif);color:var(--ink);margin:0 0 20px}.static-page p{color:var(--ink-soft);line-height:1.6}.static-page h2{font-family:var(--serif);color:var(--ink);margin:28px 0 6px;scroll-margin-top:20px;font-size:1.1rem}.static-page a{color:var(--red);transition:color var(--dur) var(--ease-out)}.static-page a:hover{color:var(--red-deep)}.not-found-page{text-align:center;padding:60px 0}.faq-accordion{flex-direction:column;gap:10px;display:flex}.faq-accordion details{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:14px 18px}.faq-accordion summary{cursor:pointer;color:var(--ink);justify-content:space-between;align-items:center;gap:12px;font-weight:700;list-style:none;display:flex}.faq-accordion summary::-webkit-details-marker{display:none}.faq-icon{flex-shrink:0;width:18px;height:18px;position:relative}.faq-icon:before,.faq-icon:after{content:"";background:var(--red);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.faq-icon:before{width:12px;height:2px}.faq-icon:after{width:2px;height:12px;transition:transform var(--dur) var(--ease-out)}.faq-accordion details[open] .faq-icon:after{transform:translate(-50%,-50%)rotate(90deg)}.faq-accordion details p{margin:10px 0 0}.terms-layout{grid-template-columns:minmax(0,640px) 200px;align-items:start;gap:48px;display:grid}.terms-toc{padding-top:4px;position:sticky;top:20px}.terms-toc-label{text-transform:uppercase;letter-spacing:.06em;color:var(--ink-soft);margin:0 0 10px;font-size:.75rem}.terms-toc ul{border-left:2px solid var(--line);flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.terms-toc a{color:var(--ink-soft);padding:2px 0 2px 14px;font-size:.88rem;text-decoration:none;display:block}.terms-toc a:hover{color:var(--red)}@media (width<=860px){.terms-layout{grid-template-columns:1fr;max-width:640px;margin:0 auto}.terms-toc{display:none}}
