.shelf-c3{--color-bg:#0f1524;--color-paper:#0f1524;--color-ink:#dde4f2;--color-accent:#c9d3e6;--color-surface:#18213a;--color-surface-2:#1d2844;--color-line:rgba(221,228,242,0.18);--shelf-coral:#ffb05c;--shelf-dim:#93a0bd;--shelf-title:#f2f5fb;--shelf-mincho:"Hiragino Mincho ProN","Yu Mincho",YuMincho,"Noto Serif JP","Noto Serif CJK JP",serif;background:#0f1524;color:#dde4f2}.shelf-press{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;user-select:none}.shelf-c3-plaque{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:10px 0;padding:5px 4px;border-radius:3px;background:linear-gradient(#c9d3e6,#8f9cb8);color:#101627;box-shadow:0 2px 0 #4f5c7a;text-align:center}.shelf-c3-plaque>div+div{border-left:1px solid rgba(16,22,39,.25)}.shelf-c3-plaque b{display:inline;font-family:var(--shelf-mincho);font-size:17px;font-weight:900;line-height:1.1;font-variant-numeric:tabular-nums}.shelf-c3-plaque span{display:inline;margin-left:3px;font-size:10px;font-weight:700;letter-spacing:.03em}.shelf-c3-tabs{display:flex;gap:3px}.shelf-c3-tab{flex:1;padding:9px 4px 8px;border-radius:3px 3px 0 0;background:#151d33;color:var(--shelf-dim);font-size:13px;font-weight:700}.shelf-c3-tab[aria-selected=true]{background:#26314f;color:var(--shelf-title)}.shelf-c3-tab span{margin-left:5px;font-size:11px;font-variant-numeric:tabular-nums;opacity:.85}.shelf-c3-case{padding:6px;background:#0a0f1b}.shelf-c3-casenote{padding:1px 4px 6px;color:var(--shelf-dim);font-size:10.5px}.shelf-c3-rows{display:grid;gap:5px}.shelf-c3-row{position:relative;background:linear-gradient(#18213a,#1d2844);box-shadow:inset 0 10px 14px -8px #000}.shelf-c3-row:after{content:"";display:block;height:6px;background:linear-gradient(#3b4a6e,#141b30);box-shadow:0 3px 4px #0006}.shelf-c3-link{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;padding:8px 9px;color:inherit;text-decoration:none}.shelf-c3-cover{position:relative;display:block;width:52px;height:75px;overflow:hidden;background:#0c1222;box-shadow:0 3px 6px #000a}.shelf-c3-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.shelf-c3-spine{position:absolute;inset:3px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #3a4766;color:var(--shelf-dim);font-size:8px;font-weight:700;line-height:1.15;writing-mode:vertical-rl}.shelf-c3-body{display:flex;min-width:0;flex-direction:column;gap:3px}.shelf-c3-title{display:-webkit-box;overflow:hidden;padding-right:28px;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--shelf-title);font-size:13.5px;font-weight:700;line-height:1.35}.shelf-c3-note{color:var(--shelf-dim);font-size:11.5px;line-height:1.4}.shelf-c3-ed{align-self:flex-start;max-width:100%;padding:1px 6px;border:1px solid var(--color-accent);color:var(--color-accent);font-size:10.5px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}.shelf-c3-note.is-alert{color:var(--shelf-coral);font-weight:700}.shelf-c3-catch,.shelf-c3-sub{color:var(--shelf-dim);font-size:11px}.shelf-c3-catch{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.5}.shelf-c3-menu{position:absolute;top:6px;right:6px;width:28px;height:28px;border-radius:50%;background:rgba(0,0,0,.45);color:#dde4f2;font-size:15px;line-height:1}.shelf-c3-empty{padding:28px 8px;background:linear-gradient(#18213a,#1d2844);color:var(--shelf-dim);font-size:12px;text-align:center}.shelf-c3-tiles{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px 3px;margin-top:4px}.shelf-c3-band,.shelf-c3-tile{display:flex;height:22px;align-items:center;justify-content:center;border-radius:2px;font-size:10.5px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1}.shelf-c3-tile.is-owned{background:linear-gradient(#dfe6f3,#a8b5cf);color:#101627;box-shadow:inset 0 1px 0 #fff6}.shelf-c3-tile.is-missing{border:1px solid var(--shelf-coral);color:var(--shelf-coral)}.shelf-c3-band{grid-column:1/-1;background:#3c4a6d;color:#e6ecf7;font-size:10.5px}.shelf-c3-band.is-tail{background:transparent;border:1px dashed var(--shelf-coral);color:var(--shelf-coral)}.shelf-sheet{max-height:85vh}.shelf-paste{font-size:16px}@media (min-width:640px){.shelf-backdrop{align-items:center}.shelf-sheet{border-width:2px}.shelf-paste{font-size:12px}}.shelf-c3-band.is-pick,.shelf-c3-tile.is-pick{cursor:pointer}.shelf-c3-tile.is-on{outline:2px solid #fff;outline-offset:0;position:relative;z-index:1}.shelf-vp{position:relative;margin:0 6px 8px;padding:10px 8px 8px;background:#0c1222;border-top:1px solid #0008;box-shadow:inset 0 8px 12px -8px #000}.shelf-vp-msg{color:var(--shelf-dim);font-size:12px;text-align:center}.shelf-vp-stage{display:flex;align-items:center;justify-content:center;gap:10px}.shelf-vp-main,.shelf-vp-peek{padding:0;border:0;background:none;cursor:pointer}.shelf-vp-peek{width:56px;aspect-ratio:2/3;opacity:.45;filter:grayscale(.3)}.shelf-vp-peek:disabled{visibility:hidden}.shelf-vp-main{width:104px;aspect-ratio:2/3;cursor:zoom-in}.shelf-vp-main img,.shelf-vp-peek img{width:100%;height:100%;object-fit:cover;display:block;background:#fff}.shelf-vp-main img{box-shadow:0 6px 14px #000c}.shelf-vp-noimg{width:100%;height:100%;justify-content:center;background:#1d2844;color:var(--shelf-dim);font-size:11px}.shelf-vp-info,.shelf-vp-noimg{display:flex;align-items:center}.shelf-vp-info{flex-direction:column;margin-top:7px;gap:1px}.shelf-vp-info b{font-family:var(--shelf-mincho);font-size:15px;font-weight:900;color:var(--shelf-title)}.shelf-vp-info span{font-size:11px;color:var(--shelf-dim)}.shelf-vp-info .is-alert{color:var(--shelf-coral);font-weight:700}.shelf-vp-info .shelf-vp-tap{color:var(--color-accent);font-size:10px;margin-top:2px}.shelf-vp-x{position:absolute;top:4px;right:6px;border:0;background:none;color:var(--shelf-dim);font-size:16px;padding:2px 6px}.shelf-vpage{position:fixed;inset:0;z-index:999;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#080c16;perspective:1400px;touch-action:pan-y;user-select:none;--shelf-title:#f2f5fb;--shelf-dim:#93a0bd;--shelf-mincho:"Hiragino Mincho ProN","Yu Mincho",YuMincho,"Noto Serif JP","Noto Serif CJK JP",serif}.shelf-vpage-x{position:absolute;top:10px;right:12px;z-index:3;width:38px;height:38px;border:0;border-radius:50%;background:#ffffff26;color:#fff;font-size:18px}.shelf-vpage-edge{position:absolute;top:0;bottom:0;z-index:2;width:28%;border:0;background:none;cursor:pointer}.shelf-vpage-edge.is-l{left:0}.shelf-vpage-edge.is-r{right:0}.shelf-vpage-edge:disabled{cursor:default}.shelf-vpage-pg{width:min(80vw,380px,calc((100vh - 130px) * 2 / 3));aspect-ratio:2/3;transform-style:preserve-3d}.shelf-vpage-pg img{width:100%;height:100%;object-fit:contain;display:block;background:#fff;border-radius:2px;box-shadow:0 14px 36px #000;backface-visibility:hidden}.shelf-vpage-pg.turn-next{animation:shelf-turn-next .45s ease-out;transform-origin:left center}.shelf-vpage-pg.turn-prev{animation:shelf-turn-prev .45s ease-out;transform-origin:right center}@keyframes shelf-turn-next{0%{transform:rotateY(70deg);opacity:.4}to{transform:rotateY(0);opacity:1}}@keyframes shelf-turn-prev{0%{transform:rotateY(-70deg);opacity:.4}to{transform:rotateY(0);opacity:1}}@media (prefers-reduced-motion:reduce){.shelf-vpage-pg.turn-next,.shelf-vpage-pg.turn-prev{animation:none}}.shelf-vpage-cap{margin:12px 0 0;font-family:var(--shelf-mincho);font-weight:900;font-size:17px;color:var(--shelf-title)}.shelf-vpage-sub{margin:2px 0 0;font-size:11px;color:var(--shelf-dim)}.shelf-vpage-hint{position:absolute;bottom:14px;left:0;right:0;margin:0;text-align:center;font-size:10.5px;color:#fff8}.shelf-buy{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.shelf-buy-label{color:var(--shelf-coral);font-size:11.5px;font-weight:700;margin-right:2px}.shelf-buy-btn{min-width:72px;padding:5px 10px;font-size:12px}.shelf-c3-buybar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:0 9px 9px 71px;margin-top:-1px}.shelf-vp-buy,.shelf-vp-info .shelf-buy{margin-top:8px;justify-content:center}.shelf-vp-buy{display:flex}.shelf-c3-pr{padding:6px 4px 0;color:var(--shelf-dim);font-size:10.5px}.shelf-head{display:flex;align-items:center;gap:8px}.shelf-help-q{width:22px;height:22px;border-radius:50%;border:1px solid var(--shelf-dim);color:var(--shelf-dim);font-size:12px;font-weight:700;line-height:20px;text-align:center}.shelf-help-q[aria-expanded=true]{border-color:var(--color-accent);color:var(--color-accent)}.shelf-c3-bought{padding:4px 10px;font-size:11.5px}.shelf-c3-bought,.shelf-vp-own{border:2px solid var(--color-accent);border-radius:99px;color:var(--color-accent);font-weight:700}.shelf-vp-own{margin-top:8px;padding:5px 12px;font-size:12px;background:none}.shelf-vp-buy .shelf-vp-own{margin-top:0}.shelf-toast{position:fixed;left:12px;right:12px;bottom:14px;z-index:30;max-width:560px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border:1px solid var(--color-accent);border-radius:6px;background:#1d2844;color:var(--shelf-title);font-size:12px;box-shadow:0 6px 18px #000c}.shelf-toast button{flex-shrink:0;color:var(--color-accent);font-weight:700}.shelf-url summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between}.shelf-url summary::-webkit-details-marker{display:none}.shelf-url summary:after{content:"▾";color:var(--shelf-dim)}.shelf-url[open] summary:after{content:"▴"}.shelf-c3-date{color:#7d89a6;font-size:10.5px;font-weight:700;line-height:1.3}.shelf-c3-row.is-new{background:linear-gradient(#2c2a3e,#36304a)}.shelf-c3-row.is-new .shelf-c3-date{align-self:flex-start;padding:1px 7px;border-radius:2px;background:var(--shelf-coral);color:#2a1604;font-weight:800}.shelf-c3-row.is-new .shelf-c3-cover{box-shadow:0 0 0 2px var(--shelf-coral),0 0 12px 2px #ffb05c88}.shelf-c3-row.is-new .shelf-c3-title{color:#ffe2bd}.shelf-newbar{display:flex;align-items:center;gap:8px;margin:0 0 8px;padding:8px 9px;border:1px solid #ffb05c88;background:#2c2638;font-size:12px;line-height:1.45}.shelf-newbar b{flex:1;color:#ffc98a}.shelf-newbar button{flex-shrink:0;padding:5px 11px;border:1px solid var(--color-line);border-radius:99px;background:#18213a;color:var(--shelf-title);font-size:12px}.shelf-chips{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:2px 2px 8px}.shelf-chips>span{margin-right:2px;color:var(--shelf-dim);font-size:11px}.shelf-chips button{padding:4px 9px;border:1px solid var(--color-line);border-radius:99px;color:var(--shelf-dim);font-size:11.5px}.shelf-chips button[aria-pressed=true]{border-color:var(--color-accent);background:var(--color-accent);color:#101627;font-weight:700}.shelf-sec{display:flex;align-items:center;gap:8px;margin:10px 2px 5px;color:var(--color-accent);font-family:var(--shelf-mincho);font-size:13.5px;font-weight:900}.shelf-sec:after{content:"";flex:1;height:1px;background:linear-gradient(90deg,#c9d3e688,transparent)}.shelf-sec small{color:var(--shelf-dim);font-family:inherit;font-size:11px;font-weight:700}.shelf-sec.is-new{color:var(--shelf-coral)}.shelf-sec.is-new:after{background:linear-gradient(90deg,#ffb05c88,transparent)}.shelf-tools{display:flex;gap:6px;margin:0 0 8px}.shelf-tools button{position:relative;flex:1;padding:7px 4px;border:1px solid var(--color-line);border-radius:99px;background:#18213a;color:var(--shelf-title);font-size:12.5px}.shelf-tools button[aria-pressed=true]{border:2px solid var(--color-accent);color:var(--color-accent);font-weight:700}.shelf-tools button:disabled{opacity:.4}.shelf-tools i{position:absolute;top:4px;right:12px;width:8px;height:8px;border-radius:50%;background:var(--shelf-coral)}.shelf-backup{margin:0 0 12px;padding:4px 2px 12px;border-bottom:1px solid var(--color-line)}.shelf-backup h2{font-size:14.5px;font-weight:800;margin-bottom:6px}.shelf-backup h3{font-size:13px;font-weight:800;margin:14px 0 6px}.shelf-backup-warn{margin:6px 0;padding:7px 9px;border:1px solid var(--shelf-coral);color:#ffd3a1;font-size:12px;line-height:1.5}.shelf-backup-note{margin-top:4px;color:#b8c2d8;font-size:11.5px;line-height:1.6}.shelf-code{margin:6px 0;padding:9px 10px;max-height:9.5em;overflow:auto;border:1px solid var(--color-line);background:#0a0f1b;color:#dde4f2;font-family:Consolas,SF Mono,Menlo,monospace;font-size:11.5px;line-height:1.55;white-space:pre-wrap;word-break:break-all;user-select:all}.shelf-code b{color:var(--color-accent);font-family:inherit}.shelf-code.is-text{font-family:inherit;font-size:12px;user-select:text}.shelf-btns{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}.shelf-btns button,.shelf-restore button{padding:6px 12px;border:1px solid var(--color-line);border-radius:99px;background:#18213a;color:var(--shelf-title);font-size:12px;white-space:nowrap}.shelf-btns button.is-solid{border:2px solid var(--color-accent);background:var(--color-accent);color:#101627;font-weight:800}.shelf-btns button:disabled,.shelf-restore button:disabled{opacity:.4}.shelf-restore{display:flex;align-items:flex-start;gap:6px}.shelf-restore textarea{flex:1;min-width:0;padding:7px 8px;border:1px solid var(--color-line);background:var(--color-surface);color:var(--shelf-title);resize:vertical}.shelf-selbar{display:flex;align-items:center;gap:8px;margin:0 0 8px;padding:8px 9px;border:1px solid #c9d3e688;background:#1c2742;font-size:12.5px}.shelf-selbar span{flex:1}.shelf-selbar b{color:var(--color-accent);font-size:14px}.shelf-selbar button{padding:5px 11px;border:1px solid var(--color-line);border-radius:99px;background:#18213a;color:var(--shelf-title);font-size:12px}.shelf-c3-selrow{width:100%;grid-template-columns:24px 52px minmax(0,1fr);text-align:left}.shelf-c3-check{display:flex;width:22px;height:22px;align-self:center;align-items:center;justify-content:center;border:2px solid #6b7896;border-radius:4px;color:#101627;font-size:14px;font-weight:900}.shelf-c3-row.is-select.is-on .shelf-c3-check{border-color:var(--color-accent);background:var(--color-accent)}.shelf-c3-row.is-select:not(.is-on){opacity:.6}.shelf-send{position:fixed;left:0;right:0;bottom:0;z-index:35;max-width:560px;max-height:70vh;margin:0 auto;overflow-y:auto;padding:11px 12px 14px;border-top:3px solid var(--color-accent);border-radius:10px 10px 0 0;background:#1a2440;color:var(--shelf-title);box-shadow:0 -6px 18px #000a}.shelf-send-h{font-size:13px;font-weight:800}.shelf-seg{display:flex;margin:8px 0;border:1px solid var(--color-line);border-radius:99px;overflow:hidden}.shelf-seg button{flex:1;padding:7px 0;color:var(--shelf-dim);font-size:12.5px}.shelf-seg button[aria-pressed=true]{background:var(--color-accent);color:#101627;font-weight:800}