:root{
  --ink:#352e27;
  --paper:#f4efe7;
  --cream:#e8dfd2;
  --jade:#9b3d32;
  --orange:#a8493d;
  --line:rgba(58,49,40,.15);
  --serif:"Noto Serif SC","Songti SC","STSong","SimSun",serif;
  --sans:"Noto Sans SC","Microsoft YaHei",sans-serif;
}
body{background:#f5f0e8;color:var(--ink);font-family:var(--serif)}
.bookshelf-site-header{
  position:sticky;top:0;z-index:80;height:82px;padding:0 clamp(24px,6.4vw,104px);
  display:flex;align-items:center;justify-content:space-between;
  background:rgba(250,247,242,.95);border-bottom:1px solid rgba(60,50,42,.08);backdrop-filter:blur(18px)
}
.bookshelf-brand{gap:12px;min-width:max-content}
.official-logo-shell{width:47px;height:47px;display:block;overflow:hidden;flex:0 0 auto}
.official-logo-shell img{width:137%;height:137%;max-width:none;object-fit:contain;transform:translate(-13.5%,-13.5%);mix-blend-mode:multiply}
.bookshelf-brand>span:last-child{display:flex;flex-direction:column;line-height:1}
.bookshelf-brand b{font-size:22px;letter-spacing:.08em;color:#352e27}
.bookshelf-brand small{margin-top:7px;font:8px Georgia,serif;letter-spacing:.14em;color:#746b61}
.bookshelf-nav{height:100%;display:flex;align-items:center;gap:clamp(18px,2.25vw,38px);font-size:14px;font-weight:600;letter-spacing:.06em}
.bookshelf-nav a{height:100%;display:grid;place-items:center;position:relative;white-space:nowrap;color:#352e27;text-decoration:none}
.bookshelf-nav a::after{content:"";position:absolute;left:50%;bottom:18px;width:0;height:1px;background:#352e27;transition:width .25s,left .25s}
.bookshelf-nav a:hover::after,.bookshelf-nav a.active::after{left:0;width:100%}
.bookshelf-nav a.active{color:#9b3d32}
.bookshelf-nav-toggle{display:none;width:42px;height:42px;border:0;background:transparent;padding:9px;cursor:pointer}
.bookshelf-nav-toggle span{display:block;height:1px;background:#352e27;margin:6px 0;transition:transform .25s,opacity .25s}
.bookshelf-utility{height:34px;padding:0 clamp(24px,6.4vw,104px);display:flex;align-items:center;justify-content:flex-end;border-bottom:0;background:rgba(244,239,231,.72)}
.folder-status{max-width:70vw;color:#8b8175;font:10px var(--sans)}
.status-dot{background:#9b3d32;box-shadow:0 0 0 4px rgba(155,61,50,.1)}
.quiet-button{border-color:rgba(58,49,40,.18);color:#574c41;font-family:var(--serif);padding:7px 13px}
.quiet-button:hover{background:#352e27;color:#fff}
.library-shell{width:min(1320px,100%);padding:0 clamp(20px,5vw,72px) 90px}
.collection-section{padding:22px 0 70px}
.bookshelf-toolbar{position:relative;z-index:5;display:flex;justify-content:space-between;align-items:end;gap:28px;padding:0 0 26px;margin-bottom:34px;border-bottom:1px solid var(--line)}
.library-intro>span{font:9px Georgia,serif;letter-spacing:.25em;color:#9b3d32}
.library-intro>div{display:flex;align-items:baseline;gap:14px}
.library-intro h1{margin:8px 0 0;font:500 38px var(--serif);letter-spacing:.08em}
.library-intro em{font-style:normal;color:#8b8175;font-size:10px}.library-intro em b{font:600 15px Georgia,serif;color:#9b3d32}
.library-controls{display:flex;align-items:center;gap:10px}
.library-controls .search-box{width:min(340px,38vw);height:44px;padding:0 13px;border:1px solid var(--line);border-radius:2px;background:rgba(255,255,255,.34)}
.library-controls .search-box:focus-within{border-color:#9b3d32;background:rgba(255,255,255,.64)}
.date-filter{position:relative}.filter-button{height:44px;min-width:128px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:2px;padding:0 12px;background:rgba(255,255,255,.34);color:var(--ink);cursor:pointer}
.filter-button b{font-size:11px;font-weight:600;white-space:nowrap}.filter-button i{font-style:normal;margin-left:auto;color:#8c8175}.filter-button.active{background:#352e27;color:white}
.date-filter-panel{position:absolute;right:0;top:52px;width:370px;padding:18px;border:1px solid var(--line);border-radius:4px;background:#f8f3eb;box-shadow:0 18px 55px rgba(58,49,40,.16)}
.filter-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.filter-panel-head>div{display:flex;flex-direction:column}.filter-panel-head span{font:8px Georgia,serif;letter-spacing:.2em;color:#9b3d32}.filter-panel-head b{font:500 17px var(--serif);margin-top:4px}.filter-panel-head button{border:0;background:transparent;color:#9b3d32;font-size:10px;cursor:pointer}
.date-selects{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:8px}.date-selects label{font-size:9px;color:#786e64}.date-selects select{width:100%;margin-top:6px;border:1px solid #d4ccc1;border-radius:2px;background:white;padding:9px 7px;color:var(--ink);outline:0}.date-filter-panel>p{margin:12px 0 0;color:#90857a;font-size:8px}
.shelf-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:50px 34px}
.cover-wrap:before{background:#ddd2c2;box-shadow:8px 8px 0 #c9bdac,0 22px 35px rgba(58,49,40,.18)}
.card-info h3{color:#352e27;letter-spacing:.05em}.card-meta{color:#8a7d70}.music-tag{color:#9b3d32}
.loading-state{min-height:76px;display:flex;align-items:center;justify-content:center;gap:10px}.loading-state i{width:18px;height:18px;margin:0;border-top-color:#9b3d32}
.compact-empty{min-height:112px;display:flex;align-items:center;justify-content:flex-start;gap:15px;text-align:left;padding:22px 26px;margin-bottom:20px}.compact-empty .empty-mark{width:40px;height:40px;flex:0 0 auto}.compact-empty h3{font:500 18px var(--serif);margin:0 0 4px}.compact-empty p{margin:0}.compact-empty code{padding:3px 6px}
.no-results{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #c6bbae;color:#81766c}.no-results b{font:500 20px var(--serif)}.no-results span{font-size:10px;margin:7px 0 12px}.no-results button{border:1px solid var(--line);border-radius:2px;background:transparent;padding:8px 12px;color:var(--ink);cursor:pointer}
.reader-logo-shell{width:34px!important;height:34px!important;display:block!important;overflow:hidden!important;background:#f7f0e6!important;border-radius:5px!important;flex:0 0 auto}
.reader-logo-shell img{width:138%;height:138%;max-width:none;object-fit:contain;transform:translate(-14%,-14%);mix-blend-mode:multiply}
.reader-home-link{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:transparent;color:#dce7e2;padding:8px 11px;font:9px var(--sans);text-decoration:none}.reader-home-link:hover{background:#edf3ef;color:#14241f}
.bookshelf-footer{min-height:132px;padding:30px clamp(24px,6.4vw,104px);display:grid;grid-template-columns:1fr auto minmax(360px,1.4fr);align-items:center;background:#242320;color:#cfc8bd;font:11px var(--serif);letter-spacing:.08em}.bookshelf-footer-brand{display:flex;align-items:center;gap:10px}.bookshelf-footer-brand>span:last-child{display:flex;flex-direction:column}.bookshelf-footer-brand b{font-size:15px;color:#eee9e0}.bookshelf-footer-brand small{font:7px Georgia,serif;margin-top:4px;color:#817b72}.bookshelf-footer>p{color:#928b82}.bookshelf-footer-legal{text-align:right;color:#8b857d;line-height:1.75}.bookshelf-footer-legal p{margin:0}.bookshelf-filing-space{display:block;height:22px;margin-top:5px}
@media(max-width:1180px){.bookshelf-nav{gap:16px;font-size:12px}.bookshelf-site-header{padding-inline:24px}.bookshelf-brand b{font-size:19px}}
@media(max-width:980px){
  body.bookshelf-nav-open{overflow:hidden}.bookshelf-nav-toggle{display:block;position:relative;z-index:82}.bookshelf-nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}.bookshelf-nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}.bookshelf-nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .bookshelf-nav{position:fixed;z-index:81;inset:82px 0 auto;display:none;height:auto;padding:12px 24px 24px;background:rgba(250,247,242,.98);border-bottom:1px solid var(--line);box-shadow:0 16px 34px rgba(58,49,40,.12)}
  .bookshelf-nav.is-open{display:grid;grid-template-columns:repeat(3,1fr)}.bookshelf-nav a{height:46px;display:flex;align-items:center;justify-content:flex-start;border-bottom:1px solid rgba(58,49,40,.08)}.bookshelf-nav a::after{display:none}
}
@media(max-width:760px){
  .bookshelf-site-header{height:68px;padding-inline:15px}.bookshelf-nav{inset:68px 0 auto;grid-template-columns:repeat(2,1fr)!important;padding:10px 18px 22px}.official-logo-shell{width:40px;height:40px}.bookshelf-brand b{font-size:17px}.bookshelf-brand small{font-size:6px;margin-top:5px}
  .bookshelf-utility{height:32px;padding-inline:15px}.bookshelf-utility .quiet-button{font-size:0;padding:6px 9px}.bookshelf-utility .quiet-button::before{content:"↻";font-size:14px}
  .collection-section{padding-top:14px}.bookshelf-toolbar{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:24px;padding-bottom:20px}.library-intro h1{font-size:31px}.library-controls{width:100%}.library-controls .search-box{width:auto;flex:1;max-width:none}.filter-button{min-width:44px;padding:0 10px}.filter-button b,.filter-button i{display:none}.date-filter-panel{right:0;width:min(370px,calc(100vw - 32px))}.date-selects{grid-template-columns:1fr}.compact-empty{align-items:flex-start}.shelf-grid{margin-top:4px;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px}.reader-home-link{font-size:0;padding:7px 8px}.reader-home-link::before{content:"⌂";font-size:15px}.bookshelf-footer{min-height:170px;padding:28px 24px;grid-template-columns:1fr;gap:13px}.bookshelf-footer>p{margin:0}.bookshelf-footer-legal{text-align:left;font-size:10px}.bookshelf-filing-space{height:20px}
}
@media(max-width:420px){.bookshelf-brand>span:last-child{display:none}.bookshelf-nav{grid-template-columns:1fr!important;max-height:calc(100vh - 68px);overflow:auto}.library-shell{padding-inline:14px}}
body{min-height:100vh;display:flex;flex-direction:column}
.library-shell{flex:1}
.bookshelf-footer{margin-top:auto}
.bookshelf-filing-space{display:inline-block;height:auto;min-height:22px;margin-top:5px;color:inherit;text-decoration:none;transition:color .2s ease}
.bookshelf-filing-space:hover{color:#eee9e0;text-decoration:underline;text-underline-offset:3px}
