:root{--bg:#faf6f2;--surface:#fff;--surface-2:#f3ede6;--text:#2d2926;--muted:#7a716a;--line:#e8e0d8;--primary:#5f8370;--primary-press:#4f6f5e;--on-primary:#fff;--primary-soft:#e2ebe4;--accent:#c98273;--accent-soft:#f7e4de;--warn:#9a6516;--warn-soft:#fbf0dc;--danger:#b94c40;--danger-soft:#f8e1dd;--shadow:0 1px 2px #3c281e0f, 0 4px 16px #3c281e0f;--radius:16px;--radius-sm:10px;--tabbar-h:68px;--safe-b:env(safe-area-inset-bottom,0px);--safe-t:env(safe-area-inset-top,0px);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#1c1a19;--surface:#262321;--surface-2:#302c29;--text:#efe9e3;--muted:#a89f97;--line:#3a3532;--primary:#8fb39d;--primary-press:#a3c4b0;--on-primary:#14201a;--primary-soft:#2b3a31;--accent:#e0a898;--accent-soft:#3e2c28;--warn:#e2b46a;--warn-soft:#3a3020;--danger:#e57d70;--danger-soft:#42272360;--shadow:0 1px 2px #0000004d, 0 4px 16px #00000040;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#1c1a19;--surface:#262321;--surface-2:#302c29;--text:#efe9e3;--muted:#a89f97;--line:#3a3532;--primary:#8fb39d;--primary-press:#a3c4b0;--on-primary:#14201a;--primary-soft:#2b3a31;--accent:#e0a898;--accent-soft:#3e2c28;--warn:#e2b46a;--warn-soft:#3a3020;--danger:#e57d70;--danger-soft:#42272360;--shadow:0 1px 2px #0000004d, 0 4px 16px #00000040;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{background:var(--bg);color:var(--text);overscroll-behavior-y:none;margin:0;font:16px/1.45 ui-rounded,SF Pro Rounded,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}body.no-scroll{overflow:hidden}h1,h2,h3{margin:0;line-height:1.2}a{color:var(--primary)}button{font:inherit;color:inherit}img{display:block}.muted{color:var(--muted)}.small{font-size:.85rem}.center{text-align:center;place-items:center;display:grid}.pad{padding:16px}.pad-x{padding:0 16px}.ok{color:var(--primary)}.warn{color:var(--warn)}.app{max-width:680px;min-height:100dvh;margin:0 auto}main{padding-top:var(--safe-t);padding-bottom:calc(var(--tabbar-h) + var(--safe-b) + 16px)}.app.no-tabs main{padding-bottom:0}.screen{min-height:60dvh}.screen.center{min-height:70dvh}.topbar{background:var(--bg);align-items:center;gap:8px;min-height:60px;padding:10px 12px;display:flex}.topbar.sticky{z-index:5;position:sticky;top:0}.topbar h1{text-overflow:ellipsis;white-space:nowrap;text-transform:capitalize;flex:1;padding-left:4px;font-size:1.25rem;font-weight:650;overflow:hidden}.tabbar{z-index:10;max-width:680px;height:calc(var(--tabbar-h) + var(--safe-b));padding-bottom:var(--safe-b);background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--line);justify-content:space-around;align-items:stretch;margin:0 auto;display:flex;position:fixed;bottom:0;left:0;right:0}.tab{color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.72rem;font-weight:550;text-decoration:none;display:flex}.tab.active{color:var(--primary)}.tab.add{position:relative}.add-btn{background:var(--primary);width:58px;height:58px;color:var(--on-primary);box-shadow:0 4px 14px color-mix(in srgb, var(--primary) 40%, transparent);border-radius:50%;place-items:center;display:grid;transform:translateY(-14px)}.btn{background:var(--surface-2);min-height:44px;color:var(--text);cursor:pointer;-webkit-user-select:none;user-select:none;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-weight:600;text-decoration:none;transition:transform 80ms,background .15s;display:inline-flex}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.55;pointer-events:none}.btn.primary{background:var(--primary);color:var(--on-primary)}.btn.primary:active{background:var(--primary-press)}.btn.ghost{border-color:var(--line);background:0 0}.btn.danger{background:var(--danger);color:#fff}.btn.big{min-height:56px;padding:0 22px;font-size:1.05rem}.btn.small{min-height:36px;padding:0 14px;font-size:.9rem}.icon-btn{width:44px;height:44px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;text-decoration:none;display:grid;position:relative}.icon-btn:active{background:var(--surface-2)}.icon-btn:disabled{opacity:.3}.icon-btn.sm{width:38px;height:38px}.badge-dot{background:var(--accent);color:#fff;border-radius:9px;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:.7rem;font-weight:700;display:grid;position:absolute;top:4px;right:2px}.link-btn{color:var(--primary);cursor:pointer;background:0 0;border:0;padding:12px;font-weight:600}.row-btns{gap:10px;display:flex}.row-btns>.btn{flex:1}.chips{align-items:center;gap:8px;display:flex}.chips.wrap{flex-wrap:wrap}.chip{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--text);cursor:pointer;white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:0 14px;font-size:.95rem;font-weight:500;text-decoration:none;display:inline-flex}.chip.active{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.chip.add{color:var(--muted);border-style:dashed}.chips.big .chip{min-height:52px;padding:0 20px;font-size:1.05rem}.chip.st-outgrown.active,.chip.st-donate.active,.chip.st-sell.active{background:var(--accent);border-color:var(--accent);color:#fff}.count-chip b{color:var(--primary);font-weight:700}.count-chip.zero{color:var(--muted);border-style:dashed}.count-chip.zero b{color:var(--accent)}.form{flex-direction:column;gap:18px;padding:4px 16px 24px;display:flex}.field{flex-direction:column;gap:8px;display:flex}.label{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);align-items:center;gap:8px;font-size:.8rem;font-weight:650;display:flex}h3.label{margin-top:18px;margin-bottom:8px}.input{border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface);width:100%;min-height:48px;color:var(--text);font:inherit;padding:10px 14px;font-size:16px}.input:focus{outline:2px solid color-mix(in srgb, var(--primary) 50%, transparent);outline-offset:0;border-color:var(--primary)}textarea.input{resize:vertical}.input.narrow{width:90px;min-height:40px}.input-row,.range{align-items:center;gap:6px;display:flex}.range .input{min-width:0}.row2{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=380px){.row2{grid-template-columns:1fr}}.badge{text-transform:none;letter-spacing:0;border-radius:999px;padding:2px 8px;font-size:.7rem;font-weight:600}.badge.est{background:var(--warn-soft);color:var(--warn)}.wear-line{border-radius:var(--radius-sm);background:var(--primary-soft);justify-content:space-between;align-items:center;gap:8px;min-height:48px;padding:4px 4px 4px 14px;display:flex}.wear-val{font-weight:650}.toggle-row{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:52px;display:flex}.switch{appearance:none;background:var(--line);cursor:pointer;border-radius:16px;flex:none;width:52px;height:32px;margin:0;transition:background .2s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:26px;height:26px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}.switch:checked{background:var(--primary)}.switch:checked:after{transform:translate(20px)}.inline-add .input{width:170px;min-height:40px}.mini-toggle{color:var(--muted);align-items:center;gap:6px;padding:8px;font-size:.9rem;display:flex}.mini-toggle input{width:20px;height:20px;accent-color:var(--primary)}.hero{padding:22px 20px 10px}.eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin:0 0 4px;font-size:.8rem;font-weight:700}.hero h1{font-size:1.75rem;font-weight:700}.hero p{margin:6px 0 0}.banner{border-radius:var(--radius);background:var(--primary-soft);color:var(--text);align-items:center;gap:12px;margin:10px 16px;padding:14px 16px;font-size:.95rem;text-decoration:none;display:flex}.banner>span{flex:1}.banner.warn{background:var(--warn-soft)}.banner>svg{color:var(--primary);flex:none}.banner.warn>svg{color:var(--warn)}.section{margin-top:18px}.section-head{align-items:baseline;gap:8px;padding:0 20px 10px;display:flex}.section-head h2{font-size:1.15rem}.section-head .see-all{margin-left:auto;padding:6px 0;font-weight:600;text-decoration:none}.count{color:var(--muted);margin-left:4px;font-size:.85rem;font-weight:600}.hscroll{scroll-snap-type:x proximity;scrollbar-width:none;grid-auto-columns:132px;grid-auto-flow:column;gap:10px;padding:0 16px 6px;display:grid;overflow-x:auto}.hscroll::-webkit-scrollbar{display:none}.hscroll>*{scroll-snap-align:start}.type-counts{padding:4px 16px}.type-counts p{margin:6px 4px 8px}.type-counts .chip{min-height:36px;font-size:.88rem}.grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px;padding:4px 12px 16px;display:grid}.tile{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;gap:6px;min-width:0;padding:0;text-decoration:none;display:flex}.tile-img{aspect-ratio:1;border-radius:var(--radius-sm);background:var(--surface-2);color:var(--muted);place-items:center;display:grid;position:relative;overflow:hidden}.tile-img img{object-fit:cover;width:100%;height:100%}.tile-size{text-overflow:ellipsis;white-space:nowrap;background:color-mix(in srgb, var(--surface) 90%, transparent);max-width:calc(100% - 12px);color:var(--text);border-radius:999px;padding:2px 8px;font-size:.78rem;font-weight:700;position:absolute;bottom:6px;left:6px;overflow:hidden}.tile-flag{background:var(--warn-soft);width:24px;height:24px;color:var(--warn);border-radius:50%;place-items:center;display:grid;position:absolute;top:6px;right:6px}.tile-status{text-transform:uppercase;background:var(--accent);color:#fff;border-radius:999px;padding:1px 7px;font-size:.68rem;font-weight:700;position:absolute;top:6px;left:6px}.tile-status.s-keep{background:var(--primary);color:var(--on-primary)}.tile-check{color:#fff;background:#00000040;border:2px solid #fff;border-radius:50%;place-items:center;width:28px;height:28px;display:grid;position:absolute;top:6px;right:6px}.tile-check.on{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.tile.selected .tile-img{outline:3px solid var(--primary);outline-offset:-3px}.tile.dim .tile-img img{opacity:.55}.tile-meta{flex-direction:column;min-width:0;padding:0 2px;line-height:1.25;display:flex}.tile-type{text-transform:capitalize;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;font-weight:600;overflow:hidden}.tile-wear{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;overflow:hidden}.search{background:var(--surface);border:1px solid var(--line);min-height:46px;color:var(--muted);border-radius:999px;flex:1;align-items:center;gap:8px;min-width:0;padding:0 14px;display:flex}.search input{min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:0;flex:1;font-size:16px}.closet-sub{align-items:center;gap:8px;min-height:40px;padding:0 16px 8px;display:flex}.closet-sub>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.closet-sub .link-btn{padding:6px}.sort{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--text);font:inherit;border-radius:999px;padding:0 10px;font-size:.88rem}.action-bar,.save-bar{z-index:11;background:color-mix(in srgb, var(--surface) 94%, transparent);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--line);gap:10px;max-width:680px;margin:0 auto;padding:12px 16px;display:flex;position:fixed;left:0;right:0}.action-bar{bottom:calc(var(--tabbar-h) + var(--safe-b))}.save-bar{padding-bottom:calc(12px + var(--safe-b));position:sticky;bottom:0}.action-bar>.btn,.save-bar>.btn{flex:1;padding:0 12px}.step-dots{gap:5px;padding-right:8px;display:flex}.step-dots i{background:var(--line);border-radius:50%;width:8px;height:8px}.step-dots i.on{background:var(--primary)}.capture{text-align:center;flex-direction:column;justify-content:flex-end;align-items:center;gap:10px;min-height:calc(100dvh - 80px);padding:24px 20px;display:flex}.capture h2{font-size:1.4rem}.capture p{margin:0 0 12px}.capture-art{background:var(--primary-soft);width:120px;height:120px;color:var(--primary);border-radius:50%;place-items:center;margin-top:auto;margin-bottom:auto;display:grid}.capture-prev{object-fit:cover;border-radius:var(--radius);width:160px;height:160px;box-shadow:var(--shadow);margin:auto 0}.picker{flex-direction:column;gap:10px;width:100%;max-width:420px;display:flex}.picker .btn.primary.big{min-height:72px;font-size:1.15rem}.picker.compact{flex-direction:row;gap:6px}.picker.compact .btn{flex:1;min-height:40px;padding:0 10px;font-size:.85rem}.busy{align-items:center;gap:10px;min-height:72px;display:flex}.busy.big{text-align:left;margin:auto 0;padding:20px}.reading-prev{gap:12px;margin-top:auto;display:flex}.reading-prev img{object-fit:cover;border-radius:var(--radius);width:130px;height:130px;animation:1.4s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.6}}.review-photos{flex-wrap:wrap;align-items:center;gap:10px;padding:4px 16px 12px;display:flex}.review-photos .ph,.edit-photos .ph{border-radius:var(--radius-sm);background:var(--surface-2);width:84px;height:84px;color:var(--muted);cursor:pointer;border:0;place-items:center;padding:0;display:grid;position:relative;overflow:hidden}.review-photos .ph img,.edit-photos .ph img{object-fit:cover;width:100%;height:100%}.review-photos .ph span{color:#fff;background:#00000073;padding:2px;font-size:.68rem;font-weight:700;position:absolute;bottom:0;left:0;right:0}.ai-status{flex-direction:column;flex:160px;align-items:flex-start;gap:8px;font-size:.9rem;display:flex}.ai-status span{align-items:flex-start;gap:6px;display:inline-flex}.ai-status svg{flex:none;margin-top:2px}.edit-photos{grid-template-columns:1fr 1fr;gap:12px;padding:4px 16px 12px;display:grid}.edit-photos>div{flex-direction:column;align-items:center;gap:8px;display:flex}.edit-photos .ph{aspect-ratio:1;cursor:default;width:100%;height:auto}.photos{grid-template-columns:1.4fr 1fr;gap:10px;padding:0 16px;display:grid}.photo{aspect-ratio:3/4;border-radius:var(--radius);background:var(--surface-2);cursor:zoom-in;color:var(--muted);border:0;padding:0;text-decoration:none;position:relative;overflow:hidden}.photo img{object-fit:cover;width:100%;height:100%}.photo>span{color:#fff;background:#00000073;border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:700;position:absolute;bottom:8px;left:8px}.photo.none{cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:6px;font-size:.85rem;display:flex}.photo.none>span{color:var(--muted);background:0 0;position:static}.summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:18px 20px 8px;display:flex}.big-size{flex-direction:column;display:flex}.big-size .size{font-size:2rem;font-weight:750;line-height:1.1}.wear-pill{background:var(--primary-soft);border-radius:999px;align-items:center;gap:6px;padding:8px 14px;font-weight:650;display:inline-flex}.wear-pill svg{color:var(--primary)}.detail>.field{padding:10px 16px}.facts{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);margin:8px 16px 24px;padding:4px 16px}.facts.compact{box-shadow:none;background:0 0;margin:0 0 12px;padding:0}.fact{border-bottom:1px solid var(--line);grid-template-columns:110px 1fr;gap:12px;padding:12px 0;display:grid}.fact:last-child{border-bottom:0}.fact dt{color:var(--muted);font-size:.9rem}.fact dd{overflow-wrap:anywhere;margin:0;font-weight:500}.zoom{z-index:50;background:#000;position:fixed;inset:0}.zoom-stage{touch-action:none;place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.zoom-stage img{object-fit:contain;transform-origin:50%;will-change:transform;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;max-width:100%;max-height:100%}.zoom-close{top:calc(12px + var(--safe-t));color:#fff;background:#ffffff26;position:absolute;right:12px}.matrix-wrap{margin:12px 0;padding:0 12px;overflow-x:auto}.matrix{border-collapse:separate;border-spacing:3px;min-width:100%;font-size:.9rem}.matrix th,.matrix td{text-align:center;padding:0}.matrix button{cursor:pointer;background:0 0;border:0;border-radius:8px;width:100%;min-width:40px;min-height:42px;font-weight:650}.matrix thead th button{color:var(--muted);font-size:.85rem}.matrix thead th.cur button{color:var(--primary);background:var(--primary-soft)}.matrix tbody th{z-index:1;background:var(--bg);text-align:left;position:sticky;left:0}.matrix tbody th button{text-align:left;text-transform:capitalize;white-space:nowrap;padding:0 8px 0 4px;font-weight:600}.matrix .corner{text-align:left;color:var(--muted);background:var(--bg);padding-left:4px;font-size:.75rem;font-weight:600;position:sticky;left:0}.matrix td button{background:var(--surface)}.matrix td.l0 button{color:var(--accent);background:var(--surface);font-weight:400}.matrix td.l1 button{background:color-mix(in srgb, var(--primary) 18%, var(--surface))}.matrix td.l2 button{background:color-mix(in srgb, var(--primary) 36%, var(--surface))}.matrix td.l3 button{background:color-mix(in srgb, var(--primary) 58%, var(--surface))}.matrix td.l4 button{background:var(--primary);color:var(--on-primary)}.matrix td.cur button{box-shadow:inset 0 0 0 2px var(--primary)}.matrix .tot{color:var(--muted);min-width:34px;font-size:.85rem;font-weight:600}.matrix tfoot th{text-align:left;color:var(--muted);background:var(--bg);padding-left:4px;position:sticky;left:0}.cur-key{width:14px;height:14px;box-shadow:inset 0 0 0 2px var(--primary);vertical-align:-2px;border-radius:4px;margin-right:4px;display:inline-block}.menu{flex-direction:column;gap:4px;display:flex}.menu-item{border-radius:var(--radius-sm);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;min-height:56px;padding:0 12px;font-size:1.02rem;display:flex}.menu-item:active{background:var(--surface-2)}.menu-item.danger{color:var(--danger)}.card{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);flex-direction:column;gap:12px;margin:12px 16px;padding:16px;display:flex}.card h2{font-size:1.05rem}.card>p{margin:-6px 0 0}.card p{margin-top:0;margin-bottom:0}.list-editor{flex-direction:column;display:flex}.le-row{border-bottom:1px solid var(--line);align-items:center;gap:2px;min-height:50px;display:flex}.le-row .input{flex:1;min-height:42px}.le-name{text-align:left;cursor:text;text-transform:capitalize;background:0 0;border:0;flex:1;min-height:48px;padding:0 4px}.le-add{gap:8px;margin-top:12px;display:flex}.sheet-backdrop,.dialog-backdrop{z-index:40;background:#140f0a6b;justify-content:center;align-items:flex-end;animation:.15s fade;display:flex;position:fixed;inset:0}.dialog-backdrop{z-index:60;align-items:center;padding:20px}@keyframes fade{0%{opacity:0}}@keyframes up{0%{opacity:0;transform:translateY(40px)}}.sheet{background:var(--surface);width:100%;max-width:680px;max-height:88dvh;padding-bottom:var(--safe-b);border-radius:22px 22px 0 0;flex-direction:column;animation:.2s ease-out up;display:flex}.sheet-grip{background:var(--line);border-radius:3px;width:40px;height:5px;margin:8px auto 0}.sheet-head{justify-content:space-between;align-items:center;padding:6px 8px 0 20px;display:flex}.sheet-head h2{font-size:1.15rem}.sheet-body{overscroll-behavior:contain;padding:8px 20px 20px;overflow-y:auto}.sheet-foot{border-top:1px solid var(--line);padding:12px 16px}.dialog{background:var(--surface);width:100%;max-width:400px;box-shadow:var(--shadow);border-radius:20px;padding:22px 20px 16px;animation:.18s ease-out up}.dialog h2{font-size:1.15rem}.dialog-msg{color:var(--muted);margin-top:8px}.dialog-actions{gap:10px;margin-top:20px;display:flex}.dialog-actions .btn{flex:1;min-height:50px}.toast{left:50%;bottom:calc(var(--tabbar-h) + var(--safe-b) + 18px);z-index:70;background:var(--text);max-width:calc(100% - 32px);color:var(--bg);box-shadow:var(--shadow);border-radius:14px;align-items:center;gap:12px;padding:12px 16px;font-size:.95rem;animation:.18s ease-out up;display:flex;position:fixed;transform:translate(-50%)}.app.no-tabs~.toast{bottom:calc(96px + var(--safe-b))}.toast.error{background:var(--danger);color:#fff}.toast button{color:inherit;cursor:pointer;background:0 0;border:0;padding:6px;font-weight:700;text-decoration:underline}.empty{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:48px 24px;display:flex}.empty-icon{background:var(--primary-soft);width:72px;height:72px;color:var(--primary);border-radius:50%;place-items:center;display:grid}.empty p{max-width:320px;margin:0 0 8px}.spinner{border:2.5px solid color-mix(in srgb, currentColor 25%, transparent);border-top-color:currentColor;border-radius:50%;flex:none;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}:focus-visible{outline:2px solid var(--primary);outline-offset:2px}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.test-result{border-radius:var(--radius-sm);background:var(--surface-2);overflow-wrap:anywhere;margin:0;padding:10px 12px}.tag-pages{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:auto;display:flex}.edit-tags .tag-pages{justify-content:flex-start;margin:0}.tag-page{border-radius:var(--radius-sm);background:var(--surface-2);width:96px;height:96px;box-shadow:var(--shadow);position:relative;overflow:hidden}.tag-page img{object-fit:cover;width:100%;height:100%}.tag-page>span{text-align:center;color:#fff;background:#00000080;border-radius:999px;min-width:22px;padding:1px 6px;font-size:.75rem;font-weight:700;position:absolute;bottom:4px;left:4px}.tag-page-x{color:#fff;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:36px;height:36px;display:grid;position:absolute;top:2px;right:2px}.read-tag-btn{width:100%;max-width:420px;min-height:72px;font-size:1.15rem}.picker.compact.secondary{max-width:420px}.reading-prev.many{flex-wrap:wrap;justify-content:center}.reading-prev.many img{width:88px;height:88px}.edit-tags{flex-direction:column;gap:8px;padding:0 16px 12px;display:flex}.edit-photos:has(>div:only-child){grid-template-columns:minmax(0,200px)}.tag-stack{flex-direction:column;gap:10px;min-height:0;display:flex}.tag-stack .photo{aspect-ratio:auto;flex:1 1 0;min-height:0}.tag-stack:not(.many) .photo{aspect-ratio:3/4}.tag-stack.many{min-height:100%;max-height:0;overflow-y:auto}.tag-stack.many .photo{aspect-ratio:1;flex:none}
