.shelf-page{--shelf-accent:var(--site-accent,#1765ed);--shelf-soft:color-mix(in srgb,var(--shelf-accent) 9%,var(--shelf-surface));--shelf-banner-base:#153263}body[data-theme=dark] .shelf-page{--shelf-accent:color-mix(in srgb,var(--site-accent,#1765ed) 48%,#dceaff);--shelf-soft:color-mix(in srgb,var(--shelf-accent) 14%,var(--shelf-surface));--shelf-banner-base:#172746}.shelf-page>.shelf-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;padding:clamp(20px,4vw,44px);margin:0 0 18px;border-radius:22px;background:radial-gradient(ellipse at 85% 0,color-mix(in srgb,var(--site-accent,#1765ed) 72%,var(--shelf-banner-base)),transparent 75%),var(--shelf-banner-base);color:#f4f8ff}.shelf-page>.shelf-heading h1{margin:0;color:inherit;font-size:clamp(27px,4vw,45px);letter-spacing:-.04em}.shelf-page .shelf-primary{background:var(--shelf-accent);color:#101d34}body:not([data-theme=dark]) .shelf-page .shelf-primary{background:color-mix(in srgb,var(--shelf-accent) 85%,#10223d);color:#fff}.shelf-page>.shelf-heading .shelf-heading-action .shelf-primary{background:#e9f2ff;color:#173a71;border:1px solid #e9f2ff;min-height:42px}.shelf-page .shelf-continue-link{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:6px;margin-top:12px;color:#dceaff;font-size:13px}.shelf-continue-link strong{overflow-wrap:anywhere}.shelf-page>.shelf-tabs{gap:10px;margin-bottom:20px}.shelf-page>.shelf-tabs>button{border-radius:14px;min-width:0}.shelf-page>.shelf-tabs>button[aria-pressed=true]{box-shadow:inset 0 -2px var(--shelf-accent)}.shelf-page>.shelf-content{border-radius:19px}.shelf-page .shelf-toolbar{gap:14px;margin-bottom:18px}.shelf-page .shelf-search{min-height:40px;border-radius:10px}.shelf-page .shelf-book-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,295px),1fr));gap:14px}.shelf-page .shelf-book-card{grid-template-columns:clamp(66px,9vw,94px) minmax(0,1fr);gap:12px;align-content:start;padding:13px;border-radius:14px;background:var(--shelf-surface)}.shelf-page .shelf-book-card>.cover{width:100%;height:auto;aspect-ratio:2/3;border-radius:8px}.shelf-book-card>.cover{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.shelf-page .shelf-book-actions>.shelf-book-menu{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--shelf-text);cursor:pointer}.shelf-book-menu svg{box-sizing:content-box;width:16px;height:16px;padding:5px;border-radius:8px;background:var(--shelf-soft)}.shelf-book-menu:focus-visible{outline:2px solid var(--shelf-accent)}.shelf-page .shelf-book-dialog{width:min(calc(100% - 20px),440px);max-width:none;max-height:calc(100dvh - 24px - env(safe-area-inset-bottom));margin:auto;padding:0;border:0;background:transparent;color:var(--shelf-text)}.shelf-book-dialog::backdrop{background:#0009}.shelf-book-sheet,.shelf-book-sheet-cancel{border-radius:16px;background:var(--shelf-surface,Canvas)}.shelf-book-sheet{overflow:hidden}.shelf-book-sheet header{padding:15px 18px;color:var(--shelf-muted);text-align:center;overflow-wrap:anywhere}.shelf-book-sheet header h2{margin:0;font-size:15px;font-weight:600}.shelf-book-sheet header p{margin:4px 0 0;font-size:13px}.shelf-book-dialog>.shelf-book-sheet-cancel,.shelf-book-sheet-options>:is(a,button,label){display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:52px;padding:9px 16px;border:0;color:var(--shelf-accent);font-size:16px;text-align:center;overflow-wrap:anywhere}.shelf-book-sheet-options>:is(a,button,label){border-top:1px solid var(--shelf-line);background:transparent}.shelf-book-sheet-options>.shelf-book-danger{color:#b4232c}body[data-theme=dark] .shelf-book-sheet-options>.shelf-book-danger{color:#ff767a}.shelf-book-sheet-options>button:disabled{color:var(--shelf-muted);cursor:default}.shelf-book-sheet-options small{font-size:12px}.shelf-book-dialog>.shelf-book-sheet-cancel{margin-top:8px;font-weight:700}.shelf-book-dialog :is(a,button,input):focus-visible{outline:2px solid var(--shelf-accent);outline-offset:-3px}.shelf-book-share-link input{width:100%;margin-top:6px;padding:6px;border:1px solid var(--shelf-line);border-radius:6px;background:var(--shelf-surface);color:var(--shelf-text);font-size:13px}.shelf-book-sheet .shelf-book-sheet-close,.shelf-book-sheet .shelf-book-sheet-cover,.shelf-book-sheet-options>:is(a,button)>svg{display:none}@media (min-width:768px){.shelf-page .shelf-book-dialog{position:fixed;inset:0;width:min(calc(100% - 40px),416px);max-height:calc(100dvh - 40px);border:1px solid var(--shelf-line);border-radius:16px;background:var(--shelf-surface);box-shadow:0 20px 70px #0005;overscroll-behavior:contain}.shelf-page .shelf-book-dialog::backdrop{background:#080f1870}.shelf-book-sheet{overflow:visible}.shelf-book-sheet header{display:grid;grid-template-columns:52px minmax(0,1fr) 32px;align-items:center;gap:13px;padding:16px;border-bottom:1px solid var(--shelf-line);text-align:left}.shelf-book-sheet header h2{color:var(--shelf-text);font-size:17px;line-height:1.35}.shelf-book-sheet header p{font-size:12px;line-height:1.4}.shelf-book-sheet .shelf-book-sheet-cover{position:relative;display:grid;place-items:center;aspect-ratio:2/3;overflow:hidden;border-radius:6px;background-color:var(--shelf-soft);color:var(--shelf-accent)}.shelf-book-sheet .shelf-book-sheet-close{display:grid;place-items:center;align-self:start;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--shelf-muted);cursor:pointer}.shelf-book-sheet-close:hover{background:var(--shelf-soft);color:var(--shelf-text)}.shelf-book-sheet-options{display:grid;gap:3px;padding:9px}.shelf-book-sheet-options>:is(a,button,label){flex-direction:row;justify-content:flex-start;gap:10px;min-height:38px;padding:7px 10px;border:0;border-radius:8px;color:var(--shelf-text);font-size:14px;text-align:left}.shelf-book-sheet-options>:is(a,button)>svg{display:block;flex:0 0 17px;width:17px;height:17px;color:var(--shelf-accent)}.shelf-book-sheet-options>:is(.shelf-book-danger,:disabled)>svg{color:inherit}.shelf-book-sheet-options>:is(a,button:enabled):hover{background:var(--shelf-soft)}.shelf-book-sheet-options>.shelf-book-sheet-resume{background:var(--shelf-soft);color:var(--shelf-accent);font-weight:700}.shelf-book-sheet-options>.shelf-book-sheet-resume:hover{background:color-mix(in srgb,var(--shelf-accent) 19%,var(--shelf-surface))}.shelf-book-sheet-options>.shelf-book-danger{border-top:1px solid var(--shelf-line);border-top-left-radius:0;border-top-right-radius:0}.shelf-book-sheet-options small{margin-left:auto}.shelf-book-sheet-options>.shelf-book-share-link{align-items:stretch;flex-direction:column;gap:0}.shelf-book-sheet-back{transform:rotate(180deg)}.shelf-book-dialog>.shelf-book-sheet-cancel{display:none}.shelf-book-dialog :is(a,button,input):focus-visible{outline-width:1px;outline-offset:-1px}}.shelf-page .shelf-book-info{min-width:0;overflow-wrap:anywhere}.shelf-page .shelf-book-info h3{font-size:15px;line-height:1.35}.shelf-page .shelf-progress{height:6px;margin-block:8px 6px}.shelf-progress-caption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px 8px;color:var(--shelf-text);font-size:11px}.shelf-progress-caption strong{font-variant-numeric:tabular-nums;color:var(--shelf-accent)}.shelf-page .shelf-book-actions{grid-column:1/-1;grid-row:2;align-items:center;justify-content:flex-end;gap:8px}.shelf-page .shelf-book-actions>a{margin-right:auto;padding:7px 10px;border-radius:8px;background:var(--shelf-soft);font-size:12px}.shelf-page .shelf-book-actions>button{min-height:34px}@media (max-width:600px){.shelf-page>.shelf-heading{border-radius:16px}.shelf-page>.shelf-tabs>button{min-height:74px}.shelf-page .shelf-toolbar{align-items:stretch}}.shelf-page .shelf-list-editor{position:fixed;inset:0;width:min(540px,calc(100% - 36px));max-width:none;max-height:min(82dvh,640px);margin:auto;overflow:hidden}.shelf-page .shelf-list-editor::backdrop{background:#09121b9e;backdrop-filter:blur(2px)}.shelf-page .shelf-list-editor>form{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;max-height:inherit;padding:0}.shelf-list-editor .list-editor-heading{justify-content:flex-start;gap:10px;margin:0;padding:10px 14px;border-bottom:1px solid var(--shelf-line)}.shelf-list-editor .list-editor-heading h2{margin:0;font-size:18px;line-height:1.2}.list-editor-icon{display:grid;place-items:center;color:var(--shelf-accent)}.shelf-list-editor .list-editor-heading>button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;margin-left:auto}.shelf-list-editor .list-editor-fields{padding:12px 14px 8px}.shelf-list-editor .list-picker-heading{margin-top:8px}.shelf-list-editor :is(.list-name-label input,.list-picker-search input){height:44px;font-size:16px;font-weight:400}.list-picker-bar{display:flex;align-items:center;justify-content:space-between;font-size:13px}.list-picker-bar button{min-height:44px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--shelf-accent);font-size:12px}.list-picker-bar button[aria-pressed=true]{background:var(--shelf-soft)}.list-picker-bar button span{margin-left:4px;font-weight:700}.list-picker-search{position:relative;display:block;margin-top:4px}.list-picker-search svg{position:absolute;top:13px;left:10px;color:var(--shelf-muted);pointer-events:none}.shelf-list-editor .list-picker-search input{padding-left:38px}.shelf-list-editor .list-story-picker{max-height:none;min-height:0;margin:0;padding:0 14px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--shelf-muted) transparent}.shelf-list-editor .list-story-option{min-height:58px;padding:7px 8px}.shelf-list-editor .list-story-option:has(input:checked){background:var(--shelf-soft)}.shelf-list-editor .list-story-option>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.shelf-list-editor .list-story-option b{font-size:14px}.shelf-list-editor .list-story-option small{margin-top:3px;font-size:11px}.shelf-list-editor .list-story-option input{width:19px;height:19px;margin:0}.shelf-list-editor .list-mini-cover svg{width:15px;height:15px}.shelf-list-editor .list-story-picker>p{padding:12px 8px;color:var(--shelf-muted);font-size:13px}.shelf-list-editor .list-editor-footer{display:grid;grid-template-columns:auto auto;justify-content:end;padding:10px 14px}.shelf-list-editor .list-editor-heading h2:focus{outline:none}.shelf-list-editor .list-editor-footer>button{min-height:44px;padding-inline:16px}.shelf-page .reading-list-card .reading-list-covers:has(.reading-list-book-preview){padding:0;align-items:stretch}.reading-list-book-preview{position:relative;z-index:1;display:grid;place-items:center;width:100%;padding:17px 32px 20px;perspective:900px}.reading-list-book-frame{height:clamp(158px,19vw,230px);aspect-ratio:2/3;filter:drop-shadow(10px 12px 9px #08182c65);animation:reading-list-book-reveal .35s ease-out both}.reading-list-book-frame .gallery-book-object{width:100%;height:100%;max-width:none}.reading-list-book-position{position:absolute;right:12px;bottom:10px;padding:3px 7px;border-radius:6px;background:var(--shelf-surface);color:var(--shelf-text);font-size:11px;font-variant-numeric:tabular-nums}@keyframes reading-list-book-reveal{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.reading-list-book-frame{animation:none}}.reading-list-book-backdrop{position:absolute;inset:0;overflow:hidden;pointer-events:none;animation:reading-list-backdrop-reveal .35s ease-out both}@keyframes reading-list-backdrop-reveal{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.reading-list-book-backdrop{animation:none}}.reading-list-book-backdrop img{filter:blur(12px);transform:scale(1.12);opacity:.64}.reading-list-book-backdrop:after{content:"";position:absolute;inset:0;z-index:3;background:linear-gradient(90deg,#0b172b30,#0b172b66 50%,#0b172b30)}@media (min-width:768px){.shelf-page .reading-list-card .reading-list-covers:has(.reading-list-book-preview){min-height:0}.reading-list-book-preview{isolation:isolate;container-type:inline-size;grid-template-columns:minmax(0,1fr);padding:28px 0 34px}.reading-list-book-frame{width:min(60%,230px);height:auto;perspective:800px;filter:drop-shadow(14px 18px 12px #08142170)}.reading-list-book-frame .gallery-book-object{transform:rotateY(-22deg)}.reading-list-book-frame .cover{padding:clamp(12px,4cqw,24px)}.reading-list-book-frame .cover-top{font-size:clamp(4px,1.4cqw,8px)}.reading-list-book-frame .cover-title{font-size:clamp(13px,4.9cqw,27px);line-height:1.13;overflow-wrap:anywhere}.reading-list-book-frame .cover-author{font-size:clamp(7px,2cqw,11px)}.reading-list-book-frame .cover-ornament{font-size:clamp(20px,7cqw,39px)}.reading-list-book-backdrop:after{background:radial-gradient(ellipse at 50% 35%,#ffffff16,#08142166 80%)}.reading-list-book-position{right:14px;bottom:12px;padding:4px 8px}}.shelf-phone-create-icon{display:none}@media (max-width:767px){.shelf-page .shelf-heading{flex-wrap:nowrap;align-items:flex-start;gap:10px;padding:0 0 14px;border:0;border-radius:0;background:none;color:var(--shelf-text);box-shadow:none}.shelf-page .shelf-heading>div:first-child{flex:1;min-width:0}.shelf-page .shelf-heading-action{flex:none}.shelf-page .shelf-heading .shelf-primary{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border-radius:12px}.shelf-page .shelf-create-label{display:none}.shelf-page .shelf-phone-create-icon{display:block;width:19px;height:19px}.shelf-page .shelf-heading .shelf-continue-link{color:var(--shelf-muted)}.shelf-page .shelf-heading h1{font-size:25px}.shelf-page .shelf-tabs{gap:0;padding:4px;border:1px solid var(--shelf-line);border-radius:13px;background:var(--shelf-surface)}.shelf-page .shelf-tabs>button{position:relative;min-height:46px;padding:8px 4px;border:0;border-radius:9px;background:transparent;box-shadow:none}.shelf-page .shelf-tabs>button[aria-pressed=true]{background:var(--shelf-soft);box-shadow:inset 0 0 0 1px var(--shelf-line)}.shelf-page .shelf-tabs .shelf-tab-icon{display:none}.shelf-page .shelf-tabs b{font-size:11px}.shelf-page .shelf-tabs strong{top:3px;right:6px;font-size:9px}.shelf-page .shelf-content{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.shelf-page .shelf-toolbar{gap:10px;margin:18px 0 16px}.shelf-page .shelf-content:not([data-tab=lists]) .shelf-toolbar>div{display:none}.shelf-page .shelf-toolbar h2{margin-bottom:4px;font-size:19px}.shelf-page .shelf-toolbar p{font-size:12px;line-height:1.5}.shelf-page .shelf-search{min-height:46px;border-radius:12px;background:var(--shelf-surface)}.shelf-page .shelf-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:18px 10px}.shelf-page .shelf-book-card{position:relative;display:flex;flex-direction:column;gap:0;min-width:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.shelf-page .shelf-book-card>.cover{display:flex;width:100%;max-width:none;height:auto;min-height:0;padding:7px;aspect-ratio:2/3;border-radius:7px;box-shadow:0 3px 8px #0002}.shelf-page .shelf-book-card .cover-title{font-size:clamp(11px,3.2vw,17px);line-height:1.2}.shelf-page .shelf-book-card .cover-top{font-size:4px}.shelf-page .shelf-book-card .cover-ornament{font-size:23px}.shelf-page .shelf-book-card .cover-author{font-size:7px}.shelf-page .shelf-book-info{display:flex;flex-direction:column;width:100%;padding-top:8px}.shelf-page .shelf-book-info .shelf-progress{order:0;width:100%;height:4px;margin:0 0 5px;border-radius:5px}.shelf-page .shelf-book-info .shelf-progress-caption{order:1;margin:0 0 5px;font-size:9px}.shelf-page .shelf-progress-caption>span{display:none}.shelf-page .shelf-progress-caption>strong{font-size:9px}.shelf-page .shelf-book-info h3{order:2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;font-size:12px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}.shelf-page .shelf-book-info h3 a{display:block;min-height:35px}.shelf-page .shelf-book-actions>:not(.shelf-book-menu),.shelf-page .shelf-book-info>:is(.shelf-book-genre,p,small){display:none}.shelf-page .shelf-book-card>.shelf-book-actions{display:contents}.shelf-page .shelf-book-actions>.shelf-book-menu{position:absolute;top:2px;right:2px;z-index:2;color:#fff}.shelf-page .shelf-book-menu svg{background:#102034b8}.shelf-page .shelf-book-dialog{position:fixed;inset:auto 0 max(10px,env(safe-area-inset-bottom)) 0}.shelf-page .shelf-list-editor{inset:auto 0 0;width:100%;max-height:min(88dvh,680px);margin:0;border-radius:20px 20px 0 0}.shelf-list-editor .list-editor-footer{grid-template-columns:auto minmax(0,1fr);justify-content:stretch;padding-bottom:max(10px,env(safe-area-inset-bottom))}.shelf-page .reading-list-card .reading-list-covers:has(.reading-list-book-preview){min-height:0}.reading-list-book-frame{height:clamp(126px,36vw,164px)}}