:root{font-family:system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;background:#faf9f7;color:#24283d}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e74d77;outline-offset:3px}.shell{max-width:1180px;margin:auto;padding:0 22px}.head{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e7e6ec}.brand{display:flex;align-items:center;gap:9px;color:#25283d;text-decoration:none;font-size:21px;font-weight:900;white-space:nowrap;letter-spacing:-.04em}.mark{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:#e74d77;color:white}.nav{display:flex;gap:22px}.nav a{color:#5b6174;text-decoration:none;font-size:14px;font-weight:750}.nav a:hover,.text-link:hover{color:#d63866}.main{padding:24px 0 70px}.hero{position:relative;overflow:hidden;border-radius:23px;padding:38px 43px;background:linear-gradient(115deg,#252a4b,#514171 60%,#9f456f);color:white}.hero>*{position:relative;z-index:1}.hero-art{position:absolute;z-index:0;right:-14px;top:-16px;width:44%;height:calc(100% + 32px);object-fit:contain;object-position:center right;pointer-events:none;opacity:.93}.hero h1,.hero p{max-width:64%}.eyebrow{display:inline-block;border:1px solid #ffffff78;border-radius:99px;padding:5px 11px;color:#ffe5eb;font-size:12px;font-weight:800}.hero h1{font-size:clamp(29px,4vw,45px);line-height:1.34;letter-spacing:-.05em;margin:15px 0 9px}.hero p{color:#eee3f0;line-height:1.65;font-size:14px;margin:0 0 19px}.search{position:relative;z-index:2;display:flex;gap:7px;max-width:730px;padding:6px;background:white;border-radius:14px;box-shadow:0 12px 35px #15183738}.search input{flex:1;min-width:0;min-height:47px;border:0;border-radius:9px;background:white;color:#24283d;padding:9px 14px}.search input::placeholder{color:#999cac}.primary{border:0;border-radius:9px;padding:9px 20px;background:#e74d77;color:white;font-weight:850;white-space:nowrap}.primary:hover,.buy:hover{background:#c83160}.primary:disabled{opacity:.55;cursor:wait}.status{min-height:24px;color:#697084;margin:12px 2px 6px;font-size:13px;line-height:1.5}.status.error{color:#ad294a}.section-head{display:flex;justify-content:space-between;align-items:end;gap:14px;margin:28px 0 14px}.section-head h2{font-size:clamp(22px,3vw,28px);letter-spacing:-.04em;margin:0 0 3px}.section-head p{font-size:13px;color:#787e91;margin:0}.section-head a{font-size:13px;font-weight:800;color:#d63866;text-decoration:none;white-space:nowrap}.panel{background:white;border:1px solid #e8e7ec;border-radius:16px;padding:19px;box-shadow:0 3px 12px #24233c09}.category-panel{margin-top:23px;scroll-margin-top:12px}.category-panel h2{font-size:18px;margin:0 0 5px}.category-panel p{color:#7b8092;font-size:13px;margin:0 0 13px}.category-list,.subcategories,.history-list,.tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.category-list{min-height:40px}.subcategories{margin-top:10px}.chip{border:1px solid #dedde6;border-radius:99px;padding:9px 14px;background:white;color:#444960;font-size:13px;font-weight:750}.chip:hover,.chip.active{border-color:#e74d77;color:#d63866;background:#fff6f9}.chip.active{background:#fce8ef}.subcategories:empty{display:none}.section-note{margin:12px 2px 0;color:#838799;font-size:12px;line-height:1.6}.books-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}.book-card{display:block;min-width:0;text-decoration:none;border:1px solid #e9e8ee;background:white;color:#24283d;border-radius:15px;padding:10px;box-shadow:0 4px 15px #22233c0b;transition:transform .15s,box-shadow .15s}.book-card:hover{transform:translateY(-3px);box-shadow:0 10px 23px #22233c1c}.book-art{position:relative;display:grid;place-items:center;height:194px;background:#f4eff2;border-radius:9px;overflow:hidden}.book-cover{display:block;max-width:100%;width:100%;height:100%;object-fit:contain}.cover-fallback{display:grid;place-items:center;padding:10px;text-align:center;background:linear-gradient(130deg,#867baa,#d7959f);color:white;font-weight:850;font-size:13px}.rank-number{position:absolute;z-index:1;left:8px;top:8px;border-radius:7px;padding:6px 8px;background:#e74d77;color:white;font-size:12px;font-weight:900}.book-card:nth-child(1) .rank-number{background:#d59627}.book-card:nth-child(2) .rank-number{background:#8492a3}.book-card:nth-child(3) .rank-number{background:#aa7957}.book-title{margin:10px 2px 5px;min-height:40px;line-height:1.45;font-size:14px;font-weight:850;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.book-meta{margin:0 2px;color:#797e90;font-size:12px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.book-price{margin:7px 2px 0;color:#d63866;font-size:12px;font-weight:800}.loading{grid-column:1/-1;border:1px dashed #d7d7e0;border-radius:14px;background:white;padding:33px;text-align:center;color:#777e91;line-height:1.6}.search-view{scroll-margin-top:15px}.search-view[hidden]{display:none}.search-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 13px}.search-toolbar select{background:white;border:1px solid #dad9e3;border-radius:8px;color:#24283d;padding:8px}.search-toolbar label{display:flex;align-items:center;gap:5px;font-size:13px;color:#50556a}.more{display:block;margin:17px auto 0}.history{margin-top:25px}.history h2{margin:0 0 12px;font-size:17px}.footer{border-top:1px solid #e7e6ec;padding:22px 0 34px;color:#84899b;font-size:12px;line-height:1.7}.footer a{color:#626b8d}.work-main{padding-top:22px}.back{display:inline-block;color:#d63866;text-decoration:none;font-weight:800;font-size:13px;margin-bottom:17px}.work-head{display:grid;grid-template-columns:150px 1fr;gap:25px;align-items:center}.work-cover{width:150px;height:210px;object-fit:contain;background:#f4eff2;border-radius:9px}.work-head h1{font-size:clamp(26px,3vw,36px);line-height:1.38;letter-spacing:-.04em;margin:0 0 9px}.work-head p{color:#777d8e;font-size:14px;line-height:1.6;margin:4px 0}.volume-panel{max-width:860px;margin:24px auto 0}.volume-panel h2{font-size:22px;margin:0 0 7px}.volume-panel .hint{color:#828798;font-size:13px;margin:0 0 18px}.volume-picker{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:15px;background:#f9f7fa;border-radius:11px}.volume-picker label{font-weight:850;font-size:14px}.volume-picker select{flex:1;min-width:180px;max-width:540px;padding:11px 13px;border:1px solid #d7d6e0;border-radius:9px;background:white;color:#25283d}.selected-volume{display:flex;gap:19px;align-items:start;margin-top:23px}.selected-volume .book-cover{width:110px;height:154px;flex:none;background:#f4eff2;border-radius:7px}.selected-volume h3{font-size:19px;line-height:1.5;margin:0 0 9px}.selected-volume .meta{font-size:13px;color:#7b8092;margin:5px 0}.offers{display:grid;gap:9px;margin:19px 0}.offer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid #e8e7ed;border-radius:11px;padding:12px 14px;background:#fff}.offer-name{flex:1;min-width:120px;font-size:14px;font-weight:800}.offer-price{color:#d63866;font-weight:900;font-size:17px}.buy{padding:9px 14px;border-radius:8px;background:#e74d77;color:white;text-decoration:none;font-size:13px;font-weight:850;white-space:nowrap}.volume-nav{display:flex;justify-content:space-between;gap:10px}.volume-nav button:disabled{opacity:.4;cursor:default}.text-link{color:#d63866;text-decoration:none;font-weight:800}.small-note{font-size:12px;color:#85899a;line-height:1.6}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:1050px){.books-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:750px){.books-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-art{width:40%;opacity:.4}.hero h1,.hero p{max-width:76%}}@media(max-width:540px){.shell{padding:0 15px}.head{min-height:62px}.brand{font-size:18px}.mark{width:33px;height:33px}.nav{gap:12px}.nav a{font-size:12px}.nav a:last-child{display:none}.main{padding-top:14px}.hero{padding:26px 18px;border-radius:18px}.hero-art{display:none}.hero h1,.hero p{max-width:none}.hero h1{font-size:28px}.hero p{font-size:13px}.search{padding:4px}.search input{padding:8px;font-size:14px;min-height:45px}.primary{padding:8px 11px;font-size:13px}.books-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.book-card{padding:7px;border-radius:12px}.book-art{height:185px}.book-title{font-size:13px}.book-meta,.book-price{font-size:11px}.section-head{margin-top:23px}.work-head{grid-template-columns:95px 1fr;gap:13px}.work-cover{width:95px;height:135px}.work-head h1{font-size:22px}.volume-panel{margin-top:17px}.selected-volume{gap:12px}.selected-volume .book-cover{width:77px;height:110px}.selected-volume h3{font-size:17px}}
.ranking-page-intro{padding:26px 30px;border-radius:18px;background:linear-gradient(105deg,#242a4b,#70517a);color:white}.ranking-page-intro h1{font-size:clamp(26px,4vw,38px);margin:12px 0 7px}.ranking-page-intro p{color:#eee1ef;margin:0;line-height:1.6;font-size:14px}.ranking-list{display:grid;gap:10px}.ranking-row{display:grid;grid-template-columns:60px 76px minmax(0,1fr) auto;align-items:center;gap:17px;padding:11px 18px;border:1px solid #e8e7ee;border-radius:13px;background:white;text-decoration:none;box-shadow:0 3px 12px #24233c09}.ranking-row:hover{border-color:#e74d77;box-shadow:0 8px 22px #24233c17}.ranking-place{text-align:center;color:#e74d77;font-size:25px;font-weight:900}.ranking-row:nth-child(1) .ranking-place{color:#d59627}.ranking-row:nth-child(2) .ranking-place{color:#8794a5}.ranking-row:nth-child(3) .ranking-place{color:#a97456}.ranking-row .book-cover{width:76px;height:98px;background:#f4eff2;border-radius:5px}.ranking-copy{min-width:0}.ranking-copy h3{font-size:17px;line-height:1.45;margin:0 0 7px}.ranking-copy p{font-size:12px;color:#7d8192;margin:4px 0}.ranking-review{font-size:12px;font-weight:800;color:#d63866}.ranking-cta{padding:9px 12px;background:#fff3f7;color:#d63866;border-radius:8px;font-size:12px;font-weight:850;white-space:nowrap}@media(max-width:540px){.ranking-page-intro{padding:23px 19px}.ranking-row{grid-template-columns:34px 56px minmax(0,1fr);gap:10px;padding:10px}.ranking-place{font-size:18px}.ranking-row .book-cover{width:56px;height:79px}.ranking-copy h3{font-size:14px;margin-bottom:4px}.ranking-copy p,.ranking-review{font-size:11px}.ranking-cta{display:none}}
/* Large cover layout for both search results and rankings. Kobo supplies images up to 200px. */
.books-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.book-card{padding:11px}.book-art{height:250px}.book-art .book-cover{max-width:200px;max-height:220px}.book-title{font-size:15px}.ranking-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.book-cta{display:block;margin:11px 2px 1px;padding:8px 9px;border-radius:8px;background:#fff3f7;color:#d63866;text-align:center;font-size:12px;font-weight:850}@media(max-width:1050px){.books-grid,.ranking-list{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:750px){.books-grid,.ranking-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:540px){.books-grid,.ranking-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.book-card{padding:8px}.book-art{height:205px}.book-art .book-cover{max-width:100%;max-height:190px}.book-title{font-size:13px}.book-cta{font-size:11px;padding:7px 5px}}
/* Denser catalog and richer volume detail. */
[hidden]{display:none!important}.books-grid,.ranking-list{gap:9px}.book-card{padding:9px}.selected-volume{display:grid;grid-template-columns:145px minmax(0,1fr);gap:20px;align-items:start}.selected-volume .book-cover{width:145px;height:205px}.selected-volume h3{font-size:21px}.volume-facts{display:grid;grid-template-columns:118px minmax(0,1fr);gap:7px 12px;margin:16px 0 0;padding-top:13px;border-top:1px solid #edebf0;font-size:13px;line-height:1.6}.volume-facts dt{color:#818698}.volume-facts dd{margin:0;color:#34394f;font-weight:700}.caption-section{margin:24px 0 0;padding:20px;background:#faf8fa;border:1px solid #ebe8ed;border-radius:11px}.caption-section h3,.price-section h3{font-size:18px;margin:0 0 10px}.caption-section p{margin:0;white-space:pre-line;line-height:1.85;color:#4f556b;font-size:14px}.price-section{margin-top:25px}.price-section h3{margin-bottom:5px}.price-section .small-note{margin:0}.best-offer{border-color:#ed9bb3;background:#fff8fa}.best-label{border-radius:99px;background:#fce6ed;color:#c72d5d;padding:5px 9px;font-size:11px;font-weight:850}.work-head .text-link{display:inline-block;margin-top:8px}@media(max-width:540px){.books-grid,.ranking-list{gap:7px}.book-card{padding:7px}.selected-volume{grid-template-columns:92px minmax(0,1fr);gap:12px}.selected-volume .book-cover{width:92px;height:132px}.selected-volume h3{font-size:17px}.volume-facts{grid-template-columns:1fr;gap:1px;margin-top:11px}.volume-facts dd{margin-bottom:7px}.caption-section{padding:15px}.offer{gap:8px}.best-label{order:3}}
/* Return visits and reading-budget calculator. */
.favorites-panel{margin:20px 0 0}.favorites-panel .section-head,.budget-panel .section-head{margin:0 0 14px}.favorites-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.favorite-tile{display:flex;align-items:center;gap:7px;min-width:0;border:1px solid #e9e7ee;border-radius:10px;padding:7px}.favorite-link{display:flex;align-items:center;gap:8px;min-width:0;flex:1;text-decoration:none}.favorite-link .book-cover{width:48px;height:66px;flex:none;border-radius:4px;background:#f4eff2}.favorite-name{min-width:0;font-size:13px;font-weight:800;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.favorite-remove{border:0;background:transparent;color:#8a8d9b;font-size:11px;padding:5px}.favorite-remove:hover{color:#d63866}.work-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:10px}.favorite-button.active{border-color:#e74d77;color:#d63866;background:#fff3f7}.budget-panel{max-width:860px;margin:18px auto 0}.budget-panel .section-head h2{font-size:22px}.budget-controls{display:flex;gap:13px;flex-wrap:wrap;margin:17px 0}.budget-controls label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:800}.budget-controls select{min-width:115px;padding:9px 10px;border:1px solid #d7d6e0;border-radius:8px;background:white;color:#24283d}.budget-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.budget-metric{display:flex;flex-direction:column;gap:6px;padding:15px 12px;border:1px solid #eee7ed;border-radius:11px;background:#fcf9fb}.budget-metric span{font-size:12px;color:#707588;line-height:1.4}.budget-metric strong{font-size:19px;color:#d63866;line-height:1.35}.budget-panel #free-jump{margin-top:14px}.budget-panel #budget-note{margin:15px 0 0}@media(max-width:850px){.favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.favorite-link .book-cover{width:37px;height:52px}.favorite-name{font-size:11px}.favorite-remove{font-size:10px}.budget-controls{gap:9px}.budget-controls label{flex:1}.budget-controls select{min-width:0;flex:1}.budget-metric{padding:12px 9px}.budget-metric strong{font-size:16px}}
.benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:16px 0 6px}.benefits>div{display:flex;flex-direction:column;gap:3px;padding:13px 15px;border:1px solid #ece9ee;border-radius:10px;background:white}.benefits strong{font-size:13px;color:#363b52}.benefits span{font-size:11px;color:#818698}.volume-panel .budget-panel{max-width:none;margin:18px 0;padding:18px;border:1px solid #eee4ec;border-radius:12px;background:#fdf9fb}.volume-panel .budget-panel .section-head h2{font-size:19px}.volume-panel .budget-metric{background:white}@media(max-width:750px){.benefits{grid-template-columns:1fr 1fr}.benefits>div:last-child{grid-column:1/-1}}@media(max-width:540px){.benefits{gap:6px}.benefits>div{padding:10px}.benefits strong{font-size:11px}.benefits span{font-size:10px}.volume-panel .budget-panel{padding:13px}}
/* Put the ranking first and give each cover more space without enlarging the API image. */
.ranking-home>.section-head{margin-top:2px}.ranking-home .category-inline{margin:0 0 12px;padding:0;border:0;background:none;box-shadow:none}.ranking-home .category-inline h2,.ranking-home .category-inline>p{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ranking-home .category-list{min-height:36px}.ranking-home .subcategories{margin-top:7px}.ranking-home+.hero{margin-top:35px}
.books-grid,.ranking-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.book-card{padding:8px}.book-art{height:252px}.book-art .book-cover{max-width:200px;max-height:200px}
@media(max-width:1050px){.books-grid,.ranking-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.books-grid,.ranking-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.books-grid,.ranking-list{gap:5px}.book-card{padding:6px}.book-art{height:208px}.book-art .book-cover{max-width:100%;max-height:200px}.ranking-home+.hero{margin-top:29px}}
