:root{--bg: #f6f1e7;--paper: #fffdf8;--ink: #2a2622;--point: #2a2622;--on-point: #fffdf8;--muted: #7a7266;--line: #e4dccd;--accent: #c8553d;--ok: #3a7d44;--radius: 14px;font-family:Pretendard Variable,Pretendard,-apple-system,Apple SD Gothic Neo,Noto Sans KR,system-ui,sans-serif;letter-spacing:-.02em;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0}html{scrollbar-gutter:stable}button,input,textarea,select{font:inherit;color:inherit;letter-spacing:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2{color:var(--point)}.app{max-width:430px;margin:0 auto;min-height:100vh;position:relative}.page{padding:4px 18px 96px;display:flex;flex-direction:column;gap:18px}.page section{display:flex;flex-direction:column;gap:12px}.page>section{margin-top:14px}.page h2{font-size:17px;font-weight:700}.page h3{font-size:15px;font-weight:700;margin-bottom:6px}.page-title{font-size:24px;font-weight:800;letter-spacing:-.02em}.muted{color:var(--muted)}.small{font-size:13px}.center{text-align:center}.note{font-size:12px;color:var(--muted)}.error{color:var(--accent)}.empty{text-align:center;padding:20px 0;color:var(--muted);display:flex;flex-direction:column;gap:6px;align-items:center}.mock-banner{background:var(--ink);color:var(--bg);font-size:12px;text-align:center;padding:4px}.btn{border:1px solid var(--line);background:var(--paper);padding:10px 14px;border-radius:10px;font-weight:600}.btn.primary{background:var(--point);color:var(--on-point);border-color:var(--point)}.btn.full{width:100%}.btn:disabled{opacity:.6;cursor:default}.tabbar{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:430px;display:grid;grid-template-columns:repeat(3,1fr);background:var(--paper);border-top:1px solid var(--line)}.tab{display:grid;place-items:center;padding:12px 0 18px;color:var(--muted);-webkit-tap-highlight-color:transparent}.tab.on{color:var(--point)}.tab:active .line-icon{transform:scale(.88)}.line-icon{display:block;transition:transform .15s ease}.tab.on .line-icon{animation:icon-pop .45s cubic-bezier(.34,1.56,.64,1)}.tab.on .line-icon path{stroke-dasharray:1;animation:icon-draw .55s ease-out both}.tab.on .line-icon path:nth-child(2){animation-delay:.08s}.tab.on .line-icon path:nth-child(3){animation-delay:.16s}.tab.on .line-icon path:nth-child(4){animation-delay:.24s}@keyframes icon-draw{0%{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes icon-pop{0%{transform:scale(.8)}60%{transform:scale(1.12)}to{transform:scale(1)}}.search-btn{display:grid;place-items:center;padding:8px 14px!important}.search-btn:active .line-icon{animation:icon-wiggle .35s ease}@keyframes icon-wiggle{0%,to{transform:rotate(0)}25%{transform:rotate(-14deg)}60%{transform:rotate(10deg)}}.arrow-link{display:inline-flex;align-items:center;gap:4px}.arrow-link .arrow-icon{transition:transform .2s cubic-bezier(.34,1.56,.64,1)}.arrow-link:hover .arrow-icon,.arrow-link:active .arrow-icon{transform:translate(3px)}.arrow-link:hover .arrow-icon.left,.arrow-link:active .arrow-icon.left{transform:translate(-3px)}.star.anim-on svg{animation:star-on .4s cubic-bezier(.34,1.56,.64,1)}.star.anim-off svg{animation:star-off .25s ease}@keyframes star-on{0%{transform:scale(.6) rotate(-20deg)}60%{transform:scale(1.3) rotate(8deg)}to{transform:none}}@keyframes star-off{0%{transform:scale(1)}40%{transform:scale(.75)}to{transform:scale(1)}}@media (prefers-reduced-motion: reduce){.line-icon,.line-icon path,.star svg{animation:none!important}}.app-head{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:22px 18px 18px;background:var(--bg)}.logo{display:block;font-size:22px;font-weight:900;line-height:1;letter-spacing:-.01em;color:var(--point)}.me-dot{display:block;width:22px;height:22px;border-radius:50%;box-shadow:0 0 0 2px var(--bg),0 0 0 3.5px var(--point)}.searchbar{display:flex;gap:8px;align-items:stretch}.searchbar input{flex:1;min-width:0;border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:8px 12px;font-size:16px;line-height:1.3}.searchbar .btn{flex-shrink:0;white-space:nowrap;padding:8px 16px}.shelf{display:flex;gap:12px;overflow-x:auto;padding-bottom:6px;scrollbar-width:none}.shelf-wrap{position:relative}.shelf-arrow{position:absolute;top:54px;z-index:1;width:30px;height:30px;border-radius:50%;border:1px solid var(--line);background:var(--paper);box-shadow:0 2px 6px #0000001f;font-size:18px;line-height:1;opacity:0;transition:opacity .15s}.shelf-arrow.left{left:-8px}.shelf-arrow.right{right:-8px}.shelf-wrap:hover .shelf-arrow{opacity:1}@media (hover: none){.shelf-arrow{display:none}}.shelf-item{flex:0 0 96px;position:relative;display:flex;flex-direction:column;gap:4px}.shelf-title{font-size:13px;font-weight:600;line-height:1.3;margin-top:6px}.shelf-title+.muted{margin-top:-5px;font-size:12px}.rank{position:absolute;top:6px;left:6px;box-shadow:0 1px 4px #00000040;background:var(--point);color:var(--on-point);font-size:11px;font-weight:700;width:22px;height:22px;border-radius:50%;display:grid;place-items:center}.cover{border-radius:4px 8px 8px 4px;object-fit:cover;display:flex;align-items:flex-end;padding:8px;color:#fff;box-shadow:inset 4px 0 #00000026,0 2px 6px #0000001f;flex-shrink:0}.cover span{font-size:12px;font-weight:700;line-height:1.25;word-break:keep-all}.cover-sm{width:56px;height:80px;padding:5px}.cover-sm span{font-size:9px}.cover-md{width:96px;height:138px}.cover-lg{width:120px;height:172px}.cover-lg span{font-size:14px}.region-wrap{display:grid;grid-template-columns:150px 1fr;gap:12px;align-items:start}.tilemap{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(6,30px);gap:3px}.tile{border:none;border-radius:6px;background:var(--line);font-size:10px;padding:0}.tile.on{background:var(--point);color:var(--on-point);font-weight:700}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:14px}.region-card{display:flex;flex-direction:column;gap:10px}.bar-row{display:grid;grid-template-columns:54px 1fr 32px;align-items:center;gap:6px;font-size:13px}.bar{height:8px;background:var(--bg);border-radius:4px;overflow:hidden}.bar i{display:block;height:100%;background:var(--point);border-radius:4px}.bar-row b{font-size:12px;text-align:right}.sub-genres{display:flex;flex-direction:column;gap:6px;padding-top:10px;border-top:1px dashed var(--line)}.bar-row.sub{font-size:12px;color:var(--muted)}.bar-row.sub .bar{height:5px}.bar-row.sub .bar i{background:var(--muted)}.bar-row.sub b{font-weight:500}.region-books{padding-top:10px;border-top:1px dashed var(--line);display:flex;flex-direction:column;gap:6px}.region-books ol{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px;font-size:13px}.region-books a{display:flex;flex-direction:column}.region-book-title{font-weight:600;line-height:1.3}.list{display:flex;flex-direction:column;gap:4px}.list.lib-cards{gap:12px}.book-row{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.book-row-body{display:flex;flex-direction:column;gap:3px}.book-title{font-weight:700}.tag{align-self:flex-start;font-size:11px;background:var(--line);padding:2px 8px;border-radius:99px}.reason{font-size:12px;font-weight:600}.back{border:none;background:none;padding:0;color:var(--muted);align-self:flex-start}.detail-hero{display:flex;gap:16px;align-items:flex-end}.detail-hero>div{display:flex;flex-direction:column;gap:4px}.detail-subtitle{font-size:14px;color:var(--muted);line-height:1.4;word-break:keep-all;margin-top:-2px}.detail-title{font-size:22px;font-weight:800;line-height:1.25;word-break:keep-all}.detail-author{color:var(--muted);font-weight:500}.desc{line-height:1.6;font-size:15px;white-space:pre-line}.desc-wrap{display:flex;flex-direction:column}.more-link{align-self:flex-end!important;margin-top:4px;color:var(--muted);font-size:13px;text-decoration:underline}.seg-2{grid-template-columns:repeat(2,1fr)}.searchbar select{flex:none;width:92px;border:1px solid var(--line);border-radius:10px;padding:0 32px 0 12px;line-height:normal;font-size:16px;color:var(--ink);-moz-appearance:none;appearance:none;-webkit-appearance:none;background:var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center}.lib-item{display:flex;flex-direction:column;gap:4px}.lib-item-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.lib-item-head h3{margin:0}.lib-meta{font-size:13px;color:var(--muted);line-height:1.35}.lib-meta-group{display:flex;flex-direction:column;gap:5px;margin:4px 0}.lib-meta-group .lib-meta{line-height:1}.lib-links{display:flex;gap:12px;font-size:13px;margin-top:2px}.lib-links a{text-decoration:underline;text-underline-offset:3px}.lib-row{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:14px 0;border-top:1px solid var(--line)}.lib-row .lib-name{margin-bottom:4px}.badge{font-size:11px;padding:3px 8px;border-radius:99px;background:var(--line)}.badge.ok{background:#e2efe3;color:var(--ok)}.badge.no{background:#f3e1dc;color:var(--accent)}.star{border:none;background:none;padding:4px;display:grid;place-items:center;color:var(--muted);border-radius:50%;transition:transform .15s,color .15s}.star:hover{color:#d4a017}.star:active{transform:scale(.85)}.star.on{color:#e5a91a}.lib-name{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.open-badge{font-size:11px;font-weight:600;padding:2px 8px;border-radius:99px;white-space:nowrap;display:inline-flex;align-items:center;gap:4px}.open-badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.open-badge.open{background:#e2efe3;color:var(--ok)}.open-badge.soon{background:#faf0d4;color:#a07800}.open-badge.closed,.open-badge.dayoff{background:#f3e1dc;color:var(--accent)}.open-badge.unknown{background:var(--line);color:var(--muted)}.link-card{display:flex;justify-content:space-between;align-items:center}.link-card h3{margin:0}.log-form{display:flex;gap:8px;align-items:stretch}.log-form input{flex:1;min-width:0;border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:8px 12px;font-size:16px}.log-form .btn{flex-shrink:0;white-space:nowrap;padding:8px 16px}.page-input{flex:1;min-width:0;display:flex;align-items:center;gap:8px}.page-input input{text-align:center}.page-slash{color:var(--muted)}.page-total{flex:1;text-align:center;font-size:16px;color:var(--muted)}.dot{width:14px;height:14px;border-radius:50%;flex-shrink:0;display:inline-block}.dot.big{width:28px;height:28px}.logs{list-style:none;margin:0;padding:0}.logs li{display:grid;grid-template-columns:14px 1fr auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line);font-size:14px}.logs em{color:var(--muted);font-style:normal}.review-form{display:flex;flex-direction:column;gap:14px}.field{display:flex;flex-direction:column;gap:6px}.field-label{font-size:13px;font-weight:700}.field input,.field textarea{border:1px solid var(--line);background:var(--bg);border-radius:10px;padding:10px 12px;resize:none;line-height:1.5}.form-actions{display:grid;grid-template-columns:1fr 2fr;gap:8px}.my-record{display:flex;flex-direction:column;gap:8px}.my-record-head{display:flex;justify-content:space-between;align-items:center}.text-btn{border:none;background:none;padding:0;font-size:13px;color:var(--muted);text-decoration:underline}.review-text{font-size:15px;line-height:1.5}blockquote{margin:0;padding:8px 12px;border-left:3px solid var(--line);background:var(--bg);border-radius:0 8px 8px 0;font-size:14px;line-height:1.6;color:var(--ink);white-space:pre-line}.reviews{list-style:none;margin:0;padding:0}.review-item{display:flex;flex-direction:column;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}.review-line{display:flex;align-items:center;gap:10px}.review-line .review-text{flex:1;min-width:0}.review-me{font-style:normal;font-size:11px;color:var(--muted);margin-left:6px;padding:1px 6px;border:1px solid var(--line);border-radius:99px;vertical-align:2px}.review-date{flex-shrink:0;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.review-item>blockquote{margin-left:24px}.review-line{align-items:flex-start}.review-line .dot,.review-date{margin-top:3px}.review-quote-only{flex:1;min-width:0}.finished-body{display:flex;flex-direction:column;gap:2px}.reading-area{display:flex;flex-direction:column;gap:12px}.status-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.status-actions .btn{padding:12px}.btn.active{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.progress{display:flex;flex-direction:column;gap:6px}.progress .bar{height:6px}.progress .bar i{background:var(--point)}.page-history{list-style:none;margin:0;padding:0;font-size:13px}.page-history li{display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px dashed var(--line)}.tower-card{display:flex;flex-direction:column;gap:12px}.tower{display:block;border-radius:10px}.shelf-view{position:relative;background:var(--shelf-bg, var(--bg));border-radius:10px;padding:24px 0 20px;overflow:hidden}.shelf-scroll{display:flex;align-items:flex-end;gap:3px;height:180px;overflow-x:auto;overscroll-behavior-x:contain;padding:0 calc(50% - 56px);scrollbar-width:none;-webkit-overflow-scrolling:touch}.shelf-scroll.fits{justify-content:center;padding:0 14px;overflow:hidden}.shelf-scroll::-webkit-scrollbar{display:none}.shelf-book{flex:none;position:relative;padding:0;border:0;border-radius:2px 2px 1px 1px;cursor:pointer;background:var(--book-bg);color:var(--book-text);overflow:hidden;box-shadow:inset -2px 0 #0000001f,inset 2px 0 #ffffff1f;transition:width .35s cubic-bezier(.22,1,.36,1),height .35s cubic-bezier(.22,1,.36,1),transform .2s ease,box-shadow .3s ease;animation:shelf-in .45s cubic-bezier(.22,1,.36,1) backwards}.shelf-book:not(.open):hover{transform:translateY(-6px)}.shelf-book.open{border-radius:3px;box-shadow:0 10px 24px #00000047}.spine-barcode{position:absolute;left:50%;bottom:8px;transform:translate(-50%);display:block;opacity:.85}.shelf-spine{position:absolute;top:10px;right:0;bottom:32px;left:0;display:flex;justify-content:flex-start;align-items:center;writing-mode:vertical-rl;-webkit-text-orientation:sideways;text-orientation:sideways;font-size:11px;font-weight:600;letter-spacing:-.01em;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shelf-cover{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;animation:cover-in .35s ease both}.shelf-cover img{width:100%;height:100%;object-fit:cover}.shelf-cover-text{padding:12px 10px;font-size:13px;font-weight:700;line-height:1.3;text-align:left;word-break:keep-all;align-self:start}.shelf-plank{height:6px;margin:0 14px;border-radius:3px;background:color-mix(in srgb,var(--muted) 45%,transparent)}@keyframes shelf-in{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}@keyframes cover-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion: reduce){.shelf-book,.shelf-cover{animation:none;transition:none}}.seg{display:grid;grid-template-columns:repeat(3,1fr);background:var(--bg);border-radius:10px;padding:3px}.seg button{border:none;background:none;padding:7px;border-radius:8px;font-size:13px;color:var(--muted)}.seg button.on{background:var(--paper);color:var(--ink);font-weight:700;box-shadow:0 1px 3px #00000014}.stats{display:grid;grid-template-columns:repeat(3,1fr);text-align:center}.stats b{font-size:20px;display:block}.stats span{font-size:12px;color:var(--muted)}.color-row{display:flex;gap:10px;align-items:center;margin-bottom:6px}.color-row input:not([type=color]){width:100px;border:1px solid var(--line);border-radius:8px;padding:6px 10px;font-family:ui-monospace,monospace}.color-dot{position:relative;cursor:pointer;box-shadow:0 0 0 2px var(--paper),0 0 0 3px var(--line);transition:transform .15s}.color-dot:hover{transform:scale(1.08)}.color-dot input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;border:none;padding:0}.finished{list-style:none;margin:0;padding:0}.finished li{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.finished li>:nth-child(2){flex:1}.spine{width:6px;height:22px;border-radius:2px}.x{border:none;background:none;color:var(--muted);font-size:18px}.modal-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:#2a262280;display:grid;place-items:center;padding:20px;z-index:10;overflow-y:auto}.modal{--point: #1d1b19;--on-point: #fffdf8;--ink: #1d1b19;--paper: #fffdf8;--bg: #f4f1ec;--muted: #6f6a63;--line: #ddd5c8;color:var(--ink);background:var(--paper);box-shadow:0 12px 40px #0000004d;border-radius:18px;padding:22px;width:100%;max-width:360px;display:flex;flex-direction:column;gap:14px}.modal h2{font-size:18px}.swatches{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.swatch{aspect-ratio:1;border-radius:50%;border:1px solid rgba(0,0,0,.1);padding:0}.swatch.on{box-shadow:0 0 0 3px var(--paper),0 0 0 5px var(--ink)}.swatch.custom{display:grid;place-items:center;color:var(--muted);font-weight:400;font-size:24px;position:relative;cursor:pointer;border:2px dashed var(--muted)}.swatch.custom.on{border-style:solid;border-color:#0000001a}.swatch.custom input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}body,.tabbar,.card,.btn{transition:background-color .3s,color .3s,border-color .3s}.mini-swatches{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px}.mini-swatch{width:24px;height:24px;border-radius:50%;border:1px solid var(--line);padding:0}.mini-swatch.on{box-shadow:0 0 0 2px var(--paper),0 0 0 3.5px var(--ink)}.mode-title{margin-top:14px!important}[data-mode=dark] .badge.ok,[data-mode=dark] .open-badge.open{background:#78c88c29;color:#9fdcb0}[data-mode=dark] .open-badge.soon{background:#e6be5029;color:#f0cf7a}[data-mode=dark] .badge.no,[data-mode=dark] .open-badge.closed,[data-mode=dark] .open-badge.dayoff{background:#e6786429;color:#f2a796}[data-mode=dark] .badge,[data-mode=dark] .tag,[data-mode=dark] .open-badge.unknown{background:var(--line)}[data-mode=dark] .cover{box-shadow:inset 4px 0 #0003,0 2px 8px #0006}.stats-block{display:flex;flex-direction:column;gap:24px}.gender-age{display:flex;flex-direction:column;gap:8px}.ga-top{display:flex;flex-direction:column;gap:8px;padding-bottom:12px;margin-bottom:4px;border-bottom:1px solid var(--line)}.ga-top p{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:var(--muted)}.ga-top p.first{color:var(--ink);font-weight:700}.ga-top-pct{font-size:13px;font-weight:500;color:var(--muted)}.ga-rank{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--point);color:var(--on-point);font-size:11px;font-weight:800;font-style:normal;flex:none}.ga-top p:not(.first) .ga-rank{background:color-mix(in srgb,var(--point) 55%,transparent)}.ga-row{display:grid;grid-template-columns:32px 1fr 52px 1fr 32px;align-items:center;gap:6px;font-size:12px}.ga-head{font-size:12px;color:var(--muted)}.ga-side.left{text-align:right}.ga-pct{color:var(--muted);text-align:center;font-variant-numeric:tabular-nums}.ga-age{text-align:center;font-size:13px;font-weight:600}.ga-bar{height:14px;background:var(--bg);border-radius:7px;display:flex}.ga-bar.left{justify-content:flex-end}.ga-bar i{position:relative;display:block;height:100%;border-radius:6px;background:color-mix(in srgb,var(--point) 35%,transparent)}.ga-bar i.top{background:var(--point)}.ga-bar .ga-rank{position:absolute;top:50%;right:1px;transform:translateY(-50%);width:16px;height:16px;font-size:10px;background:var(--on-point);color:var(--point);box-shadow:0 0 0 2px var(--point)}.ga-bar.left .ga-rank{right:auto;left:1px}.ga-unit{font-size:11px;text-align:right}.rank-chips{display:flex;flex-wrap:wrap;gap:6px}.rank-chip{font-size:12px;padding:5px 10px;border-radius:99px;border:1px solid var(--line);background:var(--paper)}.rank-chip b{font-weight:800}.stats-sub{display:flex;flex-direction:column;gap:14px}.stats-sub h3{margin:0!important;font-size:14px!important}.keywords{display:flex;flex-wrap:wrap;gap:6px}.keyword{padding:5px 12px;border-radius:99px;font-size:13px;font-weight:500;line-height:1.3}.trend{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:4px;height:120px;align-items:end}.trend-col{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;padding:0;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}.trend-col i{display:flex;justify-content:center;width:100%;max-width:20px;background:var(--line);border-radius:4px 4px 0 0;transition:height .35s cubic-bezier(.34,1.4,.64,1),min-height .35s cubic-bezier(.34,1.4,.64,1),background-color .25s ease,transform .15s ease;transform-origin:bottom}.trend-col:active i{transform:scaleY(.94)}.trend-col.on i{background:var(--point)}.trend-count{display:flex;flex-direction:column;align-items:center;width:100%;padding-top:5px;color:var(--on-point);font-size:11px;font-weight:700;line-height:12px;font-style:normal}.trend-count b{display:block;width:100%;text-align:center;letter-spacing:0;font-variant-numeric:tabular-nums;font-weight:inherit;opacity:0;animation:trend-pop .3s ease-out forwards}.trend-count b:last-child{font-weight:500;margin-top:4px}@keyframes trend-pop{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.trend-col.on>span{color:var(--ink);font-weight:700}.trend-col>span{font-size:10px;color:var(--muted);white-space:nowrap}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.view-tabs{position:relative;display:flex;gap:18px;border-bottom:1px solid var(--line)}.view-tabs button{border:none;background:none;padding:8px 0;font-size:15px;font-weight:600;color:var(--muted);transition:color .2s ease}.view-tabs button.on{color:var(--ink)}.view-tabs-bar{position:absolute;left:0;bottom:-1px;height:2px;background:var(--ink);border-radius:2px;transition:transform .32s cubic-bezier(.34,1.3,.64,1),width .32s cubic-bezier(.34,1.3,.64,1)}.view-pane.from-left,.view-pane.from-right{animation:pane-in .32s cubic-bezier(.22,1,.36,1)}div.view-pane{display:flex;flex-direction:column;gap:18px}.view-pane.from-left{--from: -24px}.view-pane.from-right{--from: 24px}@keyframes pane-in{0%{opacity:0;transform:translate(var(--from))}to{opacity:1;transform:none}}@media (prefers-reduced-motion: reduce){.view-pane{animation:none}.view-tabs-bar{transition:none}}.cal{display:flex;flex-direction:column;gap:10px}.cal-head{display:flex;align-items:center;justify-content:space-between}.cal-title{display:flex;align-items:baseline;gap:8px;font-size:17px}.cal-nav{border:none;background:none;font-size:22px;line-height:1;padding:4px 10px;color:var(--muted)}.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.cal-week{text-align:center;font-size:11px;color:var(--muted);padding-bottom:4px}.cal-week.sun{color:#d9534f}.cal-week.sat{color:#4a7bd0}.cal-cell{position:relative;aspect-ratio:3 / 4;border-radius:6px;display:flex;flex-direction:column;align-items:center;padding-top:4px;overflow:hidden}.cal-cell.empty{visibility:hidden}.cal-date{position:relative;z-index:1;font-size:12px;font-variant-numeric:tabular-nums}.cal-cell.today .cal-date{background:var(--point);color:var(--on-point);border-radius:99px;padding:0 6px;font-weight:700}.cal-cover{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;border-radius:6px;display:flex;align-items:flex-end;padding:4px}.cal-cover i{font-style:normal;font-size:9px;font-weight:700;color:#fff;line-height:1.2;word-break:keep-all;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.cal-cell.has-cover .cal-date{color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.6);font-weight:700}.cal-cell.has-cover.today .cal-date{text-shadow:none}.cal-more{position:absolute;right:3px;bottom:3px;z-index:1;font-size:10px;font-weight:700;color:#fff;background:#0000008c;border-radius:99px;padding:0 5px}.cal-lines{position:absolute;left:0;right:0;bottom:6px;display:flex;flex-direction:column;gap:2px}.cal-lines i{display:block;height:3px;margin:0 -2px}.cal-lines i.start{margin-left:3px;border-radius:3px 0 0 3px}.cal-lines i.end{margin-right:3px;border-radius:0 3px 3px 0}.date-range{display:flex;align-items:flex-end;gap:8px}.date-range .field{flex:1;min-width:0}.date-tilde{padding-bottom:10px;color:var(--muted)}.start-date{display:flex;align-items:center;justify-content:space-between;gap:8px}input[type=date]{border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:8px 10px;font-size:15px;min-width:0}button.cal-cell{border:none;background:none;font:inherit;color:inherit;cursor:pointer}.cal-cell.selected{overflow:visible;outline:2px solid var(--ink);outline-offset:1px}.cal-day{border-top:1px solid var(--line);padding-top:10px;display:flex;flex-direction:column;gap:8px}.cal-day-title{display:flex;justify-content:space-between;align-items:center;font-weight:700}.cal-day-close{border:none;background:none;font-size:18px;color:var(--muted);padding:0 4px}.cal-day ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.cal-day a{display:flex;align-items:center;gap:10px}.cal-day-cover{width:32px;height:46px;border-radius:3px 5px 5px 3px;object-fit:cover;flex-shrink:0}.cal-day-body{display:flex;flex-direction:column;gap:2px;min-width:0}.cal-day-body b{font-size:14px}.cal-cell.multi .cal-cover{padding-bottom:20px}.cal-cell.multi .cal-cover i{display:block;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.palettes{display:grid;gap:8px;margin:12px 0 16px}.palette{display:grid;grid-template-columns:64px 1fr;align-items:center;gap:8px}.palette-name{font-size:12px;color:var(--muted)}.palette.on .palette-name{color:var(--ink);font-weight:600}.palette-chips{display:flex;border-radius:8px;overflow:hidden;border:1px solid rgba(0,0,0,.08)}.palette-chip{flex:1;height:34px;border:0;padding:0;font-size:11px;font-weight:500;letter-spacing:0;position:relative}.palette-chip.on{box-shadow:inset 0 0 0 2px var(--point),inset 0 0 0 4px #fff}.region-picker{display:flex;align-items:center;gap:8px}.region-picker select{flex:1;min-width:0;height:40px;padding:0 32px 0 12px;border:1px solid var(--line);border-radius:10px;color:var(--ink);font:inherit;font-size:14px;-moz-appearance:none;appearance:none;-webkit-appearance:none;background:var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center}.modal-label{font-size:13px;font-weight:600;margin-bottom:-6px}.lib-group{font-size:12px;color:var(--muted);margin:20px 0 0;padding-bottom:10px}.lib-group:first-of-type{margin-top:4px}.card>.lib-row:first-child{border-top:0;padding-top:0}.card>.lib-row:last-child{padding-bottom:0}.card>.lib-group:first-child{margin-top:0}.region-note{margin-top:8px}.receipt-bg{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px 16px;background:#14121099;overflow-y:auto;animation:rc-fade .2s ease}.receipt-slot{overflow:hidden;padding-bottom:12px;flex:none}.receipt{--paper: #fbfaf6;width:300px;padding:22px 20px 28px;background:var(--paper);color:#1d1b19;font-family:Courier New,Consolas,ui-monospace,monospace;font-size:12px;line-height:1.5;letter-spacing:0;-webkit-mask:radial-gradient(circle 5px at 50% 100%,transparent 98%,#000) bottom / 12px 100% repeat-x;mask:radial-gradient(circle 5px at 50% 100%,transparent 98%,#000) bottom / 12px 100% repeat-x;box-shadow:0 12px 30px #0000004d;animation:rc-print 1.4s steps(14,end) both}.receipt p{margin:0}.rc-art-wrap{display:flex;justify-content:center;margin-bottom:4px}.rc-art{display:block}.rc-line{border-top:1px dashed #1d1b19;margin:10px 0!important;opacity:.6}.rc-title{font-size:15px;font-weight:700;line-height:1.35;word-break:keep-all;font-family:inherit}.rc-sub{font-size:11px;color:#6f6a63}.rc-sub.center{text-align:center}.rc-row{display:flex;justify-content:space-between;gap:12px}.rc-row span:first-child{color:#6f6a63}.rc-text{word-break:keep-all;white-space:pre-line}.rc-quote{margin-top:6px!important;padding-left:8px;border-left:2px solid #1d1b19}.rc-barcode{display:flex;justify-content:center;margin:14px 0 4px}.rc-barcode .spine-barcode{position:static;transform:none;opacity:1}.rc-actions{flex:none;display:flex;gap:8px}.rc-close{min-width:120px}.rc-share{display:grid;place-items:center;padding:8px 14px}.rc-share:active .line-icon{transform:translateY(-2px)}.rc-toast{flex:none;font-size:13px;color:#fff;animation:rc-fade .2s ease}@keyframes rc-print{0%{transform:translateY(-100%)}to{transform:none}}@keyframes rc-fade{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion: reduce){.receipt{animation:none}}
