:root {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #26231f;
  background: #f5f1e8;
  font-synthesis: none;
  --paper:#f5f1e8; --paper-2:#eee8dc; --ink:#26231f; --muted:#817a70; --line:#dcd4c6;
  --accent:#6f8f50; --accent-deep:#466332; --accent-soft:#e6eddc; --rose:#b86f70; --blue:#6c7da7;
}
*{box-sizing:border-box} html{min-width:320px} body{margin:0;background:var(--paper);color:var(--ink)}
button,input,textarea,select{font:inherit} button{cursor:pointer}.hidden{display:none!important}
.site-header{position:sticky;top:0;z-index:50;background:rgba(245,241,232,.92);border-bottom:1px solid rgba(38,35,31,.10);backdrop-filter:blur(18px)}
.header-inner{width:min(1180px,calc(100% - 44px));height:68px;margin:auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.brand{display:flex;align-items:center;gap:8px;width:max-content;border:0;background:none;padding:0;color:var(--ink)}
.brand-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--ink);color:var(--paper);font-weight:900;font-size:12px}
.brand-name{font-size:15px;font-weight:900;letter-spacing:-.03em}.brand-note{font-size:9px;color:#a29a8e;text-transform:uppercase;letter-spacing:.08em}
.main-nav{display:flex;gap:28px;align-self:stretch}.nav-item{border:0;background:none;color:#9a9287;font-size:13px;font-weight:800;position:relative}.nav-item.active{color:var(--ink)}.nav-item.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--ink)}
.header-actions{justify-self:end}.login-button{height:36px;padding:0 15px;border:1px solid #cfc7ba;border-radius:999px;background:transparent;color:var(--ink);font-size:12px;font-weight:800}
.account-area{position:relative;color:var(--muted);font-size:11px}.account-button{height:38px;display:flex;align-items:center;gap:7px;padding:0 12px;border:1px solid #d2c9ba;border-radius:999px;background:rgba(255,255,255,.28);color:var(--ink);font-size:11px;font-weight:850}.account-caret{color:#9d9589;font-size:11px;transform:translateY(-1px)}.account-menu{position:absolute;right:0;top:46px;z-index:80;width:154px;padding:6px;border:1px solid var(--line);border-radius:13px;background:#faf7f0;box-shadow:0 18px 45px rgba(54,43,30,.17)}.account-menu button{width:100%;height:36px;border:0;border-radius:8px;background:none;color:var(--ink);padding:0 10px;text-align:left;font-size:10px;font-weight:800}.account-menu button:hover{background:var(--paper-2)}
.page-shell{width:min(1180px,calc(100% - 44px));margin:auto;padding:62px 0 100px}.view{display:none}.view.active{display:block}
.eyebrow,.section-kicker{margin:0;color:var(--accent-deep);font-size:10px;font-weight:950;letter-spacing:.14em}.hero{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:64px;align-items:end;padding:18px 0 64px;border-bottom:1px solid var(--line)}
.hero h1,.mine-head h1{margin:13px 0 0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,7.2vw,84px);font-weight:500;line-height:.98;letter-spacing:-.055em}.hero h1 em{font-style:italic;color:var(--accent-deep)}.hero-meta{margin:18px 0 0;color:var(--muted);font-size:12px;line-height:1.7}
.progress-card{padding:24px;border:1px solid #d8d0c2;background:rgba(255,255,255,.35);border-radius:22px}.progress-top{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;font-weight:900;letter-spacing:.05em}.progress-value{display:flex;gap:7px;align-items:baseline;margin-top:9px}.progress-value strong{font-family:Georgia,serif;font-size:48px;font-weight:500}.progress-value span{font-size:12px;color:var(--muted)}.progress-track{height:7px;margin-top:15px;background:#dfd8cb;border-radius:999px;overflow:hidden}.progress-track span{display:block;height:100%;width:0;background:var(--accent);border-radius:inherit;transition:.25s}.progress-card p{margin:11px 0 0;color:#968d81;font-size:10px;line-height:1.55}
.pulse-section{padding:46px 0 54px;border-bottom:1px solid var(--line)}.section-title-row,.ranking-toolbar{display:flex;justify-content:space-between;align-items:end;gap:20px}.section-title-row h2,.ranking-toolbar h2{margin:7px 0 0;font-family:Georgia,serif;font-size:28px;font-weight:500;letter-spacing:-.035em}.section-title-row>span{font-size:10px;color:#9a9287}.pulse-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}.pulse-card{min-height:172px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.30);padding:18px;display:grid;grid-template-columns:80px minmax(0,1fr);gap:16px;align-items:center}.pulse-card img{width:80px;aspect-ratio:2/2.85;object-fit:cover;border-radius:6px;box-shadow:0 10px 22px rgba(54,43,30,.14)}.pulse-label{color:var(--muted);font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.pulse-title{margin-top:6px;font-size:13px;font-weight:900;line-height:1.45}.pulse-number{margin-top:10px;font-family:Georgia,serif;font-size:25px;color:var(--accent-deep)}.skeleton-card{background:linear-gradient(90deg,#eee8dc,#f8f5ee,#eee8dc);background-size:200% 100%;animation:shine 1.2s infinite}@keyframes shine{to{background-position:-200% 0}}
.ranking-section{padding-top:52px}.ranking-toolbar{margin-bottom:24px}.ranking-toolbar h2 small{font-family:inherit;font-size:11px;color:var(--muted);font-weight:500;margin-left:8px}.toolbar-actions{display:flex;gap:8px;align-items:center}.search-field{width:205px;height:38px;display:flex;align-items:center;gap:7px;border-bottom:1px solid #bbb2a5}.search-field svg{width:14px;fill:none;stroke:#8e867b;stroke-width:1.8}.search-field input{min-width:0;width:100%;border:0;background:none;outline:none;font-size:11px;color:var(--ink)}.search-field input::placeholder{color:#a39a8f}
.filter-menu{position:relative}.filter-menu summary{list-style:none;height:38px;display:flex;align-items:center;padding:0 13px;border:1px solid #cfc6b8;border-radius:999px;font-size:11px;font-weight:800}.filter-menu summary::-webkit-details-marker{display:none}.filter-popover{position:absolute;right:0;top:46px;z-index:20;width:min(430px,calc(100vw - 32px));padding:18px;border:1px solid var(--line);border-radius:16px;background:#f9f6ef;box-shadow:0 24px 60px rgba(54,43,30,.15)}.filter-group+ .filter-group{margin-top:17px;padding-top:17px;border-top:1px solid var(--line)}.filter-group>strong{display:block;margin-bottom:9px;color:var(--muted);font-size:9px;letter-spacing:.08em}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{min-height:31px;padding:0 11px;border:1px solid #d5cdbf;border-radius:999px;background:transparent;color:#746c61;font-size:10px;font-weight:800}.chip.active{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.book-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:38px 22px}.book-card{min-width:0;position:relative;cursor:pointer}.cover-stage{position:relative;aspect-ratio:2/2.85}.cover-stage .book-cover{width:100%;height:100%;object-fit:cover;border-radius:7px;box-shadow:0 12px 28px rgba(56,45,33,.17);background:#ddd5c8}.book-card.is-unread .cover-stage .book-cover{filter:grayscale(1);transition:filter .2s ease}.book-card.is-unread .cover-stage:hover .book-cover{filter:grayscale(0)}.book-card.is-read .cover-stage .book-cover{filter:none}.cover-stage:hover .cover-overlay{opacity:1}.cover-overlay{position:absolute;inset:0;display:flex;align-items:flex-end;padding:11px;background:linear-gradient(transparent 30%,rgba(23,21,18,.88));border-radius:7px;opacity:0;transition:.18s}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;width:100%}.quick-actions button{min-width:0;height:33px;border:1px solid rgba(255,255,255,.28);border-radius:8px;background:rgba(255,255,255,.12);color:white;font-size:9px;font-weight:800;backdrop-filter:blur(8px)}.quick-actions button.active{background:#f5f1e8;color:#27231f}.rank-badge{position:absolute;left:-9px;top:-12px;z-index:3;font-family:Georgia,serif;font-size:34px;font-style:italic;color:var(--ink);text-shadow:0 1px 0 var(--paper),1px 0 0 var(--paper),-1px 0 0 var(--paper)}.rank-change{position:absolute;right:7px;top:7px;z-index:3;padding:4px 6px;border-radius:999px;background:rgba(245,241,232,.9);font-size:8px;font-weight:900}.rank-change.up{color:var(--accent-deep)}.rank-change.down{color:#a65d62}.my-mark{position:absolute;right:8px;bottom:8px;z-index:3;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--accent);color:white;font-size:12px;font-weight:950;box-shadow:0 5px 14px rgba(0,0,0,.18)}
.card-body{padding-top:12px}.book-title{font-size:12px;font-weight:900;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.book-author{margin-top:4px;color:#8e867b;font-size:9.5px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.social-line{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px;color:#756d62;font-size:9px}.social-line span{display:inline-flex;gap:3px;align-items:center}.social-line b{color:var(--ink)}.cover-overlay,.rank-change,.my-mark{pointer-events:none}.quick-actions{pointer-events:auto;position:relative;z-index:4}.quick-actions button{pointer-events:auto;cursor:pointer}
.empty-state{padding:70px 15px;text-align:center;color:#8f877c;font-size:12px;line-height:1.7}.empty-state strong{display:block;color:var(--ink);font-size:15px;margin-bottom:5px}
.mine-head{padding-bottom:34px;border-bottom:1px solid var(--line)}.mine-stats{display:flex;gap:28px;margin-top:26px}.mine-stats div{min-width:90px}.mine-stats span{display:block;color:var(--muted);font-size:9px}.mine-stats strong{display:block;margin-top:4px;font-family:Georgia,serif;font-size:30px;font-weight:500}.mine-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:30px 18px;margin-top:34px}.mine-card .book-cover{width:100%;aspect-ratio:2/2.85;object-fit:cover;border-radius:6px;box-shadow:0 10px 22px rgba(54,43,30,.12)}.mine-card .book-title{margin-top:10px}.mine-status{display:inline-block;margin-top:7px;font-size:9px;color:var(--accent-deep);font-weight:900}
.book-dialog{width:min(920px,calc(100vw - 22px));max-height:calc(100vh - 22px);border:0;padding:0;background:transparent}.book-dialog::backdrop,.login-dialog::backdrop{background:rgba(38,32,26,.54);backdrop-filter:blur(7px)}.book-detail-card{position:relative;background:#f8f4eb;border-radius:24px;box-shadow:0 34px 100px rgba(0,0,0,.30);overflow:hidden}.book-detail-scroll{max-height:calc(100vh - 22px);overflow-y:auto;padding:38px}.dialog-close{position:absolute;right:17px;top:14px;z-index:10;border:0;background:none;color:#8f877c;font-size:25px}.book-detail-top{display:grid;grid-template-columns:150px minmax(0,1fr);gap:30px;padding-right:28px}.book-detail-top .book-cover{width:150px;height:214px;object-fit:cover;border-radius:7px;box-shadow:0 18px 34px rgba(54,43,30,.20)}.book-detail-rank{font-size:9px;font-weight:950;letter-spacing:.10em;color:var(--accent-deep)}.book-detail-title{margin:12px 0 0;font-family:Georgia,serif;font-size:36px;line-height:1.1;font-weight:500;letter-spacing:-.04em}.book-detail-author{margin-top:10px;color:var(--muted);font-size:11px;line-height:1.65}.book-detail-link{display:inline-flex;margin-top:14px;color:var(--accent-deep);font-size:10px;font-weight:900;text-decoration:none}
.community-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:30px}.community-stat{padding:17px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.28)}.community-stat span{display:block;color:var(--muted);font-size:9px}.community-stat strong{display:block;margin-top:4px;font-family:Georgia,serif;font-size:28px;font-weight:500}.community-stat.read strong{color:var(--accent-deep)}.community-stat.reading strong{color:var(--blue)}.community-stat.wishlist strong{color:var(--rose)}
.my-record-panel{margin-top:24px;padding:20px;border:1px solid #d6cfbf;border-radius:16px;background:#eee9de}.my-record-head{display:flex;justify-content:space-between;gap:12px}.my-record-head strong{font-size:12px}.my-record-head span,.record-login-note{color:var(--muted);font-size:10px;line-height:1.6}.record-login-note{margin:0}.record-login-note button{border:0;background:none;color:var(--accent-deep);padding:0;font-weight:900;text-decoration:underline}.my-record-grid{display:grid;grid-template-columns:150px 1fr;gap:12px;margin-top:14px}.my-record-grid label{display:grid;gap:6px;color:var(--muted);font-size:9px;font-weight:900}.my-record-grid select,.my-record-grid textarea{border:1px solid #cec6b8;border-radius:9px;background:#faf7f0;padding:10px;color:var(--ink);outline:0}.my-record-grid select{height:41px}.my-record-grid textarea{min-height:90px;resize:vertical}.rating-row{display:flex;align-items:center;gap:4px;margin-top:12px}.rating-row>span{margin-right:5px;color:var(--muted);font-size:9px;font-weight:900}.rating-star{width:31px;height:31px;border:1px solid #d4ccbe;border-radius:8px;background:#faf7f0;color:#c7bfae}.rating-star.active{color:#d19b32}.record-options{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:11px}.public-row{display:flex;align-items:center;gap:6px;margin-top:0;color:var(--muted);font-size:9px}.spoiler-row{color:#8a654e}.record-actions{display:flex;align-items:center;gap:8px;margin-top:13px}.record-delete{height:41px;padding:0 14px;border:1px solid #cbbfb0;border-radius:10px;background:transparent;color:#8c514e;font-size:10px;font-weight:900}.record-delete:hover{background:#efe4df}.primary-button{height:41px;border:0;border-radius:10px;background:var(--ink);color:var(--paper);font-weight:900}.record-save{width:auto;padding:0 16px;margin-top:0}
.community-section{margin-top:32px}.community-section-head{display:flex;justify-content:space-between;align-items:end;padding-bottom:12px;border-bottom:1px solid var(--line)}.community-section-head h3{margin:0;font-family:Georgia,serif;font-size:21px;font-weight:500}.community-section-head span{font-size:9px;color:var(--muted)}.community-item{display:grid;grid-template-columns:140px minmax(0,1fr);gap:18px;padding:19px 2px;border-bottom:1px solid var(--line)}.community-nickname{font-size:11px;font-weight:950}.community-status{display:inline-block;margin-top:6px;color:var(--accent-deep);font-size:9px;font-weight:850}.community-rating{color:#c8932e;font-size:11px;letter-spacing:.04em}.community-memo{margin-top:7px;font-family:Georgia,serif;font-size:15px;line-height:1.6;white-space:pre-wrap}.community-date{margin-top:9px;color:#9c9489;font-size:8px}.spoiler-cover{display:block;width:100%;margin-top:7px;padding:14px;border:1px dashed #bca998;border-radius:10px;background:#eee6dc;color:#765b4a;font-size:10px;font-weight:900;text-align:left}.spoiler-content{display:none}.community-item.spoiler-revealed .spoiler-cover{display:none}.community-item.spoiler-revealed .spoiler-content{display:block}.community-empty,.community-loading{padding:36px;text-align:center;color:var(--muted);font-size:10px;line-height:1.7}
.login-dialog{border:0;padding:0;background:transparent}.login-card{position:relative;width:min(420px,calc(100vw - 28px));padding:31px;background:#f8f4eb;border-radius:22px}.login-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--ink);color:var(--paper);font-weight:900;margin-bottom:18px}.login-card h2{margin:8px 0 0;font-family:Georgia,serif;font-size:25px;font-weight:500}.login-card>p:not(.eyebrow){color:var(--muted);font-size:11px;line-height:1.7}.login-card label{display:grid;gap:6px;margin-top:18px;color:var(--muted);font-size:9px;font-weight:900}.login-card input{height:42px;border:1px solid #cec6b8;border-radius:9px;background:#fffaf3;padding:0 11px;outline:none}.login-card .primary-button{width:100%;margin-top:10px}.nickname-hint{margin:7px 0 0!important;color:#9b9387!important;font-size:9px!important}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:100;padding:11px 15px;border-radius:999px;background:#29241f;color:#f7f2e9;font-size:10px;box-shadow:0 10px 35px rgba(0,0,0,.22)}
@media(max-width:900px){.hero{grid-template-columns:1fr;gap:30px}.progress-card{max-width:420px}.pulse-grid{grid-template-columns:1fr}.book-grid{grid-template-columns:repeat(4,1fr)}.mine-grid{grid-template-columns:repeat(4,1fr)}}
@media (hover:none),(pointer:coarse){.cover-overlay{opacity:1;background:linear-gradient(transparent 55%,rgba(23,21,18,.84));padding:7px}.quick-actions button{height:30px}}
@media(max-width:700px){.header-inner{width:calc(100% - 28px);grid-template-columns:1fr auto}.brand-note{display:none}.main-nav{position:fixed;bottom:0;left:0;right:0;z-index:60;height:58px;background:rgba(245,241,232,.97);border-top:1px solid var(--line);justify-content:space-around}.nav-item{flex:1}.nav-item.active:after{top:-1px;bottom:auto}.page-shell{width:calc(100% - 28px);padding:40px 0 90px}.hero{padding-bottom:44px}.hero h1{font-size:50px}.ranking-toolbar{align-items:flex-start;flex-direction:column}.toolbar-actions{width:100%}.search-field{flex:1}.book-grid{grid-template-columns:repeat(3,1fr);gap:31px 15px}.rank-badge{font-size:28px}.book-detail-scroll{padding:27px 18px 32px}.book-detail-top{grid-template-columns:95px 1fr;gap:17px}.book-detail-top .book-cover{width:95px;height:136px}.book-detail-title{font-size:24px}.my-record-grid{grid-template-columns:1fr}.community-item{grid-template-columns:100px 1fr}.mine-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:470px){.brand-name{font-size:13px}.account-button .account-caret{display:none}.account-button{padding:0 5px}.account-menu{right:-2px}.hero h1{font-size:43px}.book-grid{grid-template-columns:repeat(2,1fr);gap:30px 14px}.pulse-card{grid-template-columns:68px 1fr}.pulse-card img{width:68px}.cover-overlay{opacity:1;background:linear-gradient(transparent 55%,rgba(23,21,18,.84));padding:7px}.quick-actions button{font-size:0;height:28px}.quick-actions button:before{font-size:12px}.quick-actions button[data-book-status="read"]:before{content:"✓"}.quick-actions button[data-book-status="reading"]:before{content:"◐"}.quick-actions button[data-book-status="wishlist"]:before{content:"♡"}.mine-grid{grid-template-columns:repeat(2,1fr)}.community-stats{gap:5px}.community-stat{padding:12px 9px}.community-stat strong{font-size:22px}}

/* v4.6 readability pass: keep hierarchy, raise small UI copy by 1-3px */
.brand-name{font-size:16px}.brand-note{font-size:10px}
.nav-item{font-size:14px}.login-button{font-size:13px}.account-area{font-size:12px}.account-button{font-size:12px}.account-menu button{font-size:12px}
.eyebrow,.section-kicker{font-size:11px}.hero-meta{font-size:14px}.progress-top{font-size:11px}.progress-value span{font-size:13px}.progress-card p{font-size:12px}
.section-title-row h2,.ranking-toolbar h2{font-size:30px}.section-title-row>span{font-size:12px}.ranking-toolbar h2 small{font-size:12px}
.pulse-label{font-size:11px}.pulse-title{font-size:15px}.pulse-number{font-size:27px}
.search-field input{font-size:13px}.filter-menu summary{font-size:13px}.filter-group>strong{font-size:11px}.chip{font-size:12px;min-height:34px;padding:0 13px}
.quick-actions button{font-size:11px}.rank-change{font-size:10px}
.card-body{padding-top:13px}.book-title{font-size:16px;line-height:1.42}.book-author{margin-top:5px;font-size:12px;line-height:1.5}.social-line{margin-top:10px;font-size:11px;gap:9px}
.empty-state{font-size:14px}.empty-state strong{font-size:17px}.mine-stats span{font-size:11px}.mine-status{font-size:11px}
.book-detail-rank{font-size:11px}.book-detail-author{font-size:13px}.book-detail-link{font-size:12px}.community-stat span{font-size:11px}
.my-record-head strong{font-size:14px}.my-record-head span,.record-login-note{font-size:12px}.my-record-grid label{font-size:11px}.rating-row>span{font-size:11px}.public-row{font-size:11px}.record-delete{font-size:12px}.record-save{font-size:12px}
.community-section-head h3{font-size:23px}.community-section-head span{font-size:11px}.community-nickname{font-size:13px}.community-status{font-size:11px}.community-rating{font-size:13px}.community-memo{font-size:15px}.community-date{font-size:10px}.spoiler-cover{font-size:12px}.community-empty,.community-loading{font-size:12px}
.login-card>p:not(.eyebrow){font-size:13px}.login-card label{font-size:11px}.nickname-hint{font-size:11px!important}.toast{font-size:12px}

@media(max-width:700px){
  .nav-item{font-size:13px}.hero-meta{font-size:13px}.section-title-row h2,.ranking-toolbar h2{font-size:27px}
  .book-title{font-size:15px}.book-author{font-size:11.5px}.social-line{font-size:10.5px}
  .chip{font-size:11px}.search-field input{font-size:12px}.filter-menu summary{font-size:12px}
  .community-memo{font-size:14px}
}
@media(max-width:470px){
  .brand-name{font-size:14px}.book-title{font-size:15px}.book-author{font-size:11px}.social-line{font-size:10px}
}

/* v4.7 stats, achievements, history and record controls */
.rank-meta{margin-top:9px;color:#8a8277;font-size:11px;line-height:1.45;font-weight:750}.rank-meta+.social-line{margin-top:6px}
.reading-insights,.achievements-section,.mine-library-section{padding:42px 0;border-bottom:1px solid var(--line)}.mine-library-section{border-bottom:0;padding-bottom:0}.mine-section-title{align-items:end}.mine-section-title h2{font-size:30px}
.reading-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px}.reading-stat-card{min-height:138px;padding:20px;border:1px solid var(--line);border-radius:17px;background:rgba(255,255,255,.3)}.reading-stat-card>span{display:block;color:var(--muted);font-size:12px;font-weight:850}.reading-stat-card strong{display:block;margin-top:9px;font-family:Georgia,serif;font-size:34px;font-weight:500;color:var(--ink)}.reading-stat-card small{display:block;margin-top:7px;color:#8f877c;font-size:12px;line-height:1.5}
.category-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:13px 28px;margin-top:24px;padding:20px;border:1px solid var(--line);border-radius:17px;background:rgba(255,255,255,.2)}.category-stat-row{display:grid;grid-template-columns:138px 1fr;gap:12px;align-items:center}.category-stat-label{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.category-stat-label strong{font-size:12px}.category-stat-label span{font-size:10px;color:var(--muted);white-space:nowrap}.category-stat-track{height:7px;border-radius:999px;background:#dfd8cb;overflow:hidden}.category-stat-track span{display:block;height:100%;border-radius:inherit;background:var(--accent)}
.achievement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px}.achievement-card{display:grid;grid-template-columns:58px minmax(0,1fr);gap:14px;align-items:start;padding:17px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.26);min-height:132px}.achievement-card.locked{opacity:.66}.achievement-card.unlocked{border-color:#a8b98f;background:var(--accent-soft)}.achievement-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;border:1px solid #c9c1b3;background:#eee8dc;font-family:Georgia,serif;font-size:16px;font-weight:700}.achievement-card.unlocked .achievement-icon{background:var(--accent);border-color:var(--accent);color:#fff}.achievement-card strong{font-size:14px}.achievement-card p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.45}.achievement-progress{height:5px;margin-top:12px;border-radius:999px;background:#ddd6c9;overflow:hidden}.achievement-progress span{display:block;height:100%;background:var(--accent);border-radius:inherit}.achievement-card small{display:block;margin-top:5px;color:#8e867b;font-size:10px}
.mine-library-toolbar{display:flex;justify-content:space-between;align-items:end;gap:20px}.mine-library-toolbar h2{margin:7px 0 0;font-family:Georgia,serif;font-size:30px;font-weight:500;letter-spacing:-.035em}.mine-controls{display:flex;gap:8px}.mine-controls label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;font-weight:800}.mine-controls select{height:38px;padding:0 30px 0 11px;border:1px solid #cfc6b8;border-radius:999px;background:#f8f4ec;color:var(--ink);font-size:12px;outline:0}.mine-result-count{margin-top:12px;text-align:right;color:var(--muted);font-size:11px}.mine-library-section .mine-grid{margin-top:18px}.mine-card{cursor:pointer;min-width:0}.mine-card:focus-visible{outline:2px solid var(--accent);outline-offset:5px;border-radius:7px}.mine-card-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:8px}.mine-rating{font-size:11px;color:#a57521;font-weight:850}.mine-memo{margin-top:8px;color:#6f675d;font-family:Georgia,serif;font-size:12px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.rank-history-section{margin-top:24px;padding:18px 18px 14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.24)}.rank-history-head{display:flex;justify-content:space-between;align-items:end;gap:12px}.rank-history-head>div{display:grid;gap:3px}.rank-history-head span{color:var(--accent-deep);font-size:10px;font-weight:950;letter-spacing:.1em}.rank-history-head strong{font-family:Georgia,serif;font-size:20px;font-weight:500}.rank-history-head small{font-size:10px;color:var(--muted)}.rank-history-chart{margin-top:10px}.rank-history-summary{display:flex;align-items:baseline;gap:10px;padding:4px 2px 0}.rank-history-summary strong{font-family:Georgia,serif;font-size:23px;font-weight:500}.rank-history-summary span{font-size:11px;color:var(--muted)}.rank-history-chart svg{display:block;width:100%;height:auto;max-height:190px;overflow:visible}.rank-history-line{fill:none;stroke:var(--accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.rank-history-chart circle{fill:var(--paper);stroke:var(--accent-deep);stroke-width:2.5}.rank-point-value{fill:var(--ink);font-size:11px;font-weight:850}.rank-point-date{fill:var(--muted);font-size:9px}.rank-history-note{margin:2px 0 0;color:var(--muted);font-size:10px;text-align:center}.rank-history-empty{padding:30px 10px;text-align:center;color:var(--muted);font-size:12px}

@media(max-width:900px){.reading-stats-grid{grid-template-columns:1fr}.achievement-grid{grid-template-columns:repeat(2,1fr)}.category-stats{grid-template-columns:1fr}.mine-library-toolbar{align-items:flex-start;flex-direction:column}.mine-controls{width:100%;flex-wrap:wrap}}
@media(max-width:700px){.reading-insights,.achievements-section,.mine-library-section{padding:34px 0}.mine-section-title h2,.mine-library-toolbar h2{font-size:27px}.achievement-grid{grid-template-columns:1fr}.category-stat-row{grid-template-columns:1fr;gap:7px}.category-stat-label{justify-content:space-between}.mine-controls label{flex:1;min-width:145px;display:grid;gap:5px}.mine-controls select{width:100%}.rank-history-section{padding:15px 12px 12px}.rank-history-head strong{font-size:18px}.rank-history-head small{font-size:9px}.rank-point-value{font-size:10px}.rank-point-date{font-size:8px}}

/* v5.0: merged e-book/audio work badges */
.format-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.format-badges span{display:inline-flex;align-items:center;min-height:20px;padding:2px 7px;border:1px solid #d6cec1;border-radius:999px;background:#f5f0e7;color:#756c60;font-size:10px;font-weight:850;line-height:1}
.format-badges.detail{margin-top:12px;gap:7px}
.format-badges.detail span{min-height:24px;padding:3px 9px;font-size:11px}
.mine-card .format-badges{margin-top:7px}
@media(max-width:760px){.format-badges span{font-size:9.5px}.format-badges.detail span{font-size:10.5px}}
