body{background:#eef0f3;font-size:16px;padding-bottom:78px}body>header,main,footer{max-width:480px;margin:auto;background:#fff}body>header{border:0;padding-top:env(safe-area-inset-top)}.header{height:69px;min-height:0;padding:14px 20px;gap:12px;flex-wrap:nowrap}.brand{font-size:20px;letter-spacing:-.5px}.logo{width:30px;height:32px;border-radius:10px 10px 10px 3px;font-size:18px}.header nav{display:none}#search{width:auto;flex:1;padding:9px 12px;margin:0;background:#f5f5f5;height:37px}#search input{font-size:13px}svg{width:24px;height:24px;vertical-align:middle;flex-shrink:0}#search button{display:flex;padding:0 0 0 4px}#search svg{width:19px;height:19px}.avatar{display:none}main{min-height:calc(100dvh - 140px);padding:8px 20px 28px}.channel-tabs{display:flex;align-items:center;gap:27px;padding:0 0 20px}.channel-tabs button{padding:3px 0 8px;color:#949498;font-size:18px;position:relative}.channel-tabs button.active{font-size:23px;font-weight:750;color:#222}.channel-tabs button.active:after{content:'';position:absolute;bottom:3px;left:25%;width:50%;height:4px;border-radius:5px;background:#ff542e}.channel-tabs>a{margin-left:auto;color:#666}.mobile-banner{border-radius:13px;background:linear-gradient(115deg,#fff0e0,#f7ddc6);padding:22px 20px 30px;display:flex;gap:18px;position:relative;overflow:hidden;align-items:center}.mobile-banner:before{content:'';position:absolute;width:230px;height:230px;border:1px solid #e1b99a66;border-radius:50%;right:-85px;top:-45px}.mobile-banner>div:first-child{flex:1;z-index:1}.banner-label{font-size:11px;color:#a37a58;letter-spacing:1px}.mobile-banner h1{font-size:24px;margin:9px 0 8px;line-height:1.3;max-width:210px}.mobile-banner p{font-size:12px;color:#9a7b67;line-height:1.7;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.banner-cta{display:inline-block;margin-top:13px;background:#3b332d;color:#fff;border-radius:20px;padding:5px 15px;font-size:11px}.mobile-banner .cover{width:94px;height:134px;transform:rotate(7deg);box-shadow:5px 9px 13px #6b4a3c38}.mobile-banner .cover b{font-size:23px}.banner-dots{position:absolute;bottom:10px;left:46%;display:flex;gap:5px}.banner-dots>*{width:4px;height:4px;border-radius:4px;background:#d4b8a0}.banner-dots b{width:12px;background:#b87c4c}.mobile-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);padding:22px 0 4px}.mobile-shortcuts a{text-align:center;font-size:13px;color:#454545}.mobile-shortcuts span{display:flex;align-items:center;justify-content:center;width:46px;height:46px;background:#fff0e8;border-radius:17px;margin:0 auto 7px;color:#f36c3d}.mobile-shortcuts a:nth-child(2) span{background:#fff5de;color:#d59b30}.mobile-shortcuts a:nth-child(3) span{background:#eaf5ee;color:#5c9a77}.mobile-shortcuts a:nth-child(4) span{background:#fceef1;color:#ca7d8e}.section-head{margin:26px 0 17px;gap:8px;flex-wrap:nowrap}.section-head h2{font-size:21px;letter-spacing:.3px}.section-head .sub{display:none}.more{font-size:12px;color:#aaa;padding:0}.cover-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cover-grid .cover{width:100%;height:auto;aspect-ratio:3/4}.cover-grid h3{font-size:14px;margin:10px 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cover-grid p{font-size:11px;color:#a1a1a5;margin:0}.cover-grid .cover b{font-size:24px}.daily-pick{display:flex;gap:13px;align-items:center;background:#f8f6f3;border-radius:10px;padding:15px 12px;margin-top:25px}.daily-mark{font-family:serif;font-size:17px;color:#9a7c58;border:1px solid #d5c3a8;padding:4px 7px;line-height:1.3;flex-shrink:0}.daily-pick>div{min-width:0}.daily-pick b{font-size:14px}.daily-pick p{font-size:11px;color:#a29b93;margin:4px 0 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.daily-score{font:italic 26px Georgia;color:#b7864d;margin-left:auto;padding-left:4px}.daily-score small{display:block;font:10px sans-serif;text-align:center}.mobile-list{display:grid;gap:20px}.book{gap:15px;padding:0}.book .cover{width:87px;height:119px}.book .cover b{font-size:22px}.book h3{font-size:17px;margin:2px 0 4px}.book p{font-size:13px;line-height:1.65;margin:8px 0}.book .meta{font-size:12px}.tag{font-size:11px}.endnote{text-align:center;color:#bdbdc2;font-size:12px;padding:32px 0 0}.bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:0;position:fixed;z-index:10;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;background:#fff;border-top:1px solid #f0f0f0;padding:9px 0 calc(9px + env(safe-area-inset-bottom));box-shadow:0 -5px 20px #00000003}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;color:#a2a2a6}.bottom-nav a.active{color:#f45935;font-weight:600}.bottom-nav a.active:after{display:none}.bottom-nav svg{width:23px;height:23px}footer{display:none}.page-title{font-size:25px;margin:12px 0}.filters{margin:20px -4px;padding:12px 0;border:0;border-bottom:1px solid #f0f0f0;gap:8px;border-radius:0}.filters button{padding:6px 12px}.filters>span{display:none}.books{grid-template-columns:1fr;gap:22px}.ranks{grid-template-columns:1fr;gap:18px}.rank-card{background:linear-gradient(150deg,#fff7ed,#fff);border:0;padding:22px;border-radius:14px}.rank-card:nth-child(2){background:linear-gradient(150deg,#fff0f3,#fff)}.rank-card:nth-child(3){background:linear-gradient(150deg,#f0f5ed,#fff)}.rank-card h3{font-size:21px}.rankrow{padding-top:20px}.rankrow b{font-size:16px}.rankrow .cover{width:55px;height:75px}.empty{padding:60px 12px}.shelf-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 15px}.shelf-grid .book{display:block;min-width:0}.shelf-grid .cover{width:100%;height:auto;aspect-ratio:3/4}.shelf-grid h3{font-size:14px;margin-top:10px}.shelf-grid .book p,.shelf-grid .tag{display:none}.shelf-grid .book .meta{font-size:11px}.shelf-grid .book .meta:last-child{display:none}.detail{padding:22px 0;gap:22px;border-radius:0;align-items:center}.detail>.cover{width:111px;height:153px}.detail>.cover b{font-size:26px}.detail h1{font-size:24px}.detail p{font-size:12px;margin:10px 0}.detail .actions{gap:8px;margin-top:15px}.detail .actions .primary,.detail .secondary{padding:8px 13px;font-size:12px}.chapter-list{grid-template-columns:1fr;border:0;background:none;gap:0}.chapter-list a{padding:16px 0;border-bottom:1px solid #f2f2f2;font-size:15px}.my-profile{display:flex;gap:15px;padding:30px 0;align-items:center}.profile-circle{width:64px;height:64px;border-radius:50%;background:#fff0e3;color:#ed6a3e;font-size:29px;display:grid;place-items:center}.my-profile h1{font-size:23px;margin:0 0 4px}.my-profile p{color:#999;font-size:12px;margin:0}.my-stats{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;padding:8px 0 28px}.my-stats b{display:block;font-size:24px}.my-stats span{font-size:12px;color:#999}.reading-card{padding:25px;background:linear-gradient(120deg,#fff0df,#ffe5d9);border-radius:13px;margin-bottom:24px}.reading-card>span{font-size:12px;color:#af805b}.reading-card h2{font-size:22px;margin:8px 0 18px}.reading-card .primary{font-size:12px;padding:7px 18px}.settings-list>a,.settings-list>button{width:100%;display:flex;align-items:center;gap:14px;padding:18px 3px;border-bottom:1px solid #f1f1f1;font-size:15px}.settings-list svg{color:#777;width:21px;height:21px}.settings-list span{margin-left:auto;font-size:12px;color:#aaa}.local-note{text-align:center;color:#b0b0b5;font-size:12px;line-height:1.9;margin:30px 0}.reading-mode{padding:0;background:var(--reading-bg)}.reading-mode>header,.reading-mode>.bottom-nav{display:none}.reading-mode main{background:var(--reading-bg);padding:20px 22px;max-width:680px;min-height:100dvh;color:var(--reading-color)}.reader{padding:36px 0 0;max-width:none;box-shadow:none;min-height:88dvh}.reader h1{font-size:25px;line-height:1.5;margin:10px 0}.reader p{line-height:2.05}.reader .byline{font-size:12px;margin-bottom:30px}.reading-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#999}.reading-top>a{display:flex}.reading-top svg{width:20px;height:20px}.reading-top button{font-size:12px;color:#ec754d;padding:5px}.reading-hint{font:11px sans-serif;color:#aaa;text-align:center;margin:0 0 30px}.reader-nav{font:14px sans-serif;color:#ac8e6a;padding-top:25px}.reader-toolbar{display:none;position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:680px;background:#fff;box-shadow:0 -10px 60px #0002;z-index:20;padding:22px 20px calc(24px + env(safe-area-inset-bottom));color:#333;border-radius:18px 18px 0 0;margin:0;gap:16px}.tools-open .reader-toolbar{display:flex}.settings-title{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:5px;font-size:17px}.settings-title button{border:0;padding:0 5px;font-size:25px}.reader-toolbar>a{display:none}.reader-toolbar select{font-size:14px;padding:10px;background:#f7f7f7;border:0;max-width:100%}.reader-toolbar #chap{width:100%}.reader-toolbar>button{padding:9px 18px;background:#f7f7f7;border:0}.reader-toolbar #paper{margin-left:auto}#toast{font-size:14px;bottom:100px;width:max-content;max-width:90vw;text-align:center}@media(min-width:600px){body>header,main{border-left:1px solid #e7e7e7;border-right:1px solid #e7e7e7}.reading-mode main{border:0}.bottom-nav{border-left:1px solid #e7e7e7;border-right:1px solid #e7e7e7}}@media(max-width:360px){.header{padding:14px}.brand{font-size:18px}main{padding-left:15px;padding-right:15px}.mobile-banner{padding-left:15px;gap:12px}.mobile-banner h1{font-size:21px}.mobile-banner .cover{width:82px;height:119px}.cover-grid{gap:12px}.cover-grid .cover b{font-size:21px}}

/* 夜讀識別 */
.header .brand{font-size:23px;gap:8px;letter-spacing:2px;color:#275b54;font-family:"Noto Serif TC","Microsoft JhengHei",serif}.header .logo{display:block;width:39px;height:39px;background:none;border-radius:0;object-fit:contain;flex-shrink:0}.header{height:74px}.daily-score{font-size:22px;font-style:normal}.banner-label{letter-spacing:1px}
