:root{font-family:system-ui,-apple-system,'Microsoft YaHei',sans-serif;color:#f4f4f6;background:#0c0c0f}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}header{border-bottom:1px solid #292930;position:sticky;top:0;background:#0c0c0ff5;z-index:3}.head{max-width:1400px;margin:auto;padding:16px 24px;display:flex;gap:24px;align-items:center}.logo{color:#f20a19;font-size:24px;white-space:nowrap}nav{display:flex;gap:8px}.tab{border:0;color:#b9b9c1;background:transparent;padding:12px 22px;border-radius:12px}.tab.active{background:white;color:#08080a;font-weight:bold}input{background:#202025;border:1px solid #33333b;border-radius:10px;color:white;padding:13px 18px;min-width:0;flex:1;max-width:620px}main{max-width:1400px;margin:auto;padding:28px 24px}.filters{display:grid;gap:14px;margin-bottom:62px}.filter{display:flex;align-items:flex-start;gap:12px}.filter>span{color:#a7a7b2;min-width:52px;padding-top:9px}.filter>div{display:flex;gap:9px;flex-wrap:wrap}.chip{background:#1c1c22;border:1px solid #303039;color:#ddd;border-radius:28px;padding:9px 18px}.chip.active{background:#ed0017;border-color:#ed0017;color:#fff}.resulthead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.resulthead h2{font-size:22px;margin:0}.resulthead>div{display:flex;align-items:center;gap:14px;color:#888}select{background:#1b1b21;color:#ddd;border:1px solid #32323a;border-radius:8px;padding:10px}.grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 16px}.poster{aspect-ratio:2/3;border-radius:10px;background:linear-gradient(145deg,#28222f,#131d30 55%,#401820);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.poster span{font-size:52px;opacity:.45}.poster img{width:100%;height:100%;object-fit:cover}.card{min-width:0;cursor:pointer}.card h3{font-size:14px;margin:9px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card p{font-size:12px;color:#92929d;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.labels{position:absolute;left:7px;top:7px;display:flex;gap:4px;flex-wrap:wrap}.labels b{font-size:10px;background:#d70016;padding:3px 5px;border-radius:3px}.labels b:nth-child(2){background:#1d6db3}.labels b:nth-child(3){background:#a87005}.rating{color:#ffb900!important;margin-top:5px!important}#empty{color:#aaa;padding:40px 0}dialog{width:min(850px,94vw);max-height:90vh;background:#17171d;color:#eee;border:1px solid #33333c;border-radius:18px;padding:26px}dialog::backdrop{background:#000c}.close{position:absolute;right:16px;top:12px;background:none;color:#aaa;border:0;font-size:32px}.detailLayout{display:grid;grid-template-columns:220px 1fr;gap:26px}.detailLayout .poster{align-self:start}.detailLayout h2{margin:8px 0}.detailLayout p{line-height:1.8;color:#c4c4ce}.resources{display:flex;flex-wrap:wrap;gap:9px}.resources a{padding:10px 14px;border-radius:8px;background:#276ef1;color:white;text-decoration:none}.muted{color:#999;font-size:13px}footer{text-align:center;color:#666;padding:45px 15px}@media(max-width:900px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.head{flex-wrap:wrap}.head input{max-width:none;width:100%;flex-basis:100%}}@media(max-width:560px){.head{padding:12px;gap:10px}.logo{font-size:19px}.tab{padding:8px 13px}main{padding:20px 12px}.filters{margin-bottom:32px}.chip{padding:7px 11px;font-size:12px}.filter{gap:5px}.filter>span{min-width:40px;font-size:12px}.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 9px}.resulthead h2{font-size:17px}.resulthead>div{gap:7px}.resulthead small{font-size:11px}select{font-size:12px;padding:8px 3px}.detailLayout{grid-template-columns:1fr}.detailLayout .poster{width:170px}dialog{padding:18px}}

[hidden]{display:none!important}:root{--accent:#ed0017}.logo{color:var(--accent)}.chip.active{background:var(--accent);border-color:var(--accent)}.detailLayout.no-poster{grid-template-columns:1fr}.light{background:#f7f7fa;color:#202027}.light header,.light dialog{background:#fff;color:#202027}.light input,.light select,.light .chip{background:#eee;color:#222}.light .chip.active{background:var(--accent);color:white}.light .detailLayout p{color:#444}.light .tab{color:#555}.light .tab.active{background:#222;color:#fff}#subtitle{font-size:13px;color:#999;overflow-wrap:anywhere}.head{flex-wrap:wrap}

.interactions{margin-top:20px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.interactions p{flex-basis:100%}
.commentSection{margin-top:24px;border-top:1px solid #7775;padding-top:16px;overflow-wrap:anywhere}.commentSection form,.commentSection label{display:grid;gap:8px}.commentSection input,.commentSection textarea{box-sizing:border-box;width:100%;font:inherit;color:inherit;background:transparent;border:1px solid #888;border-radius:8px;padding:10px}.commentList article{border-top:1px solid #7775;padding:12px 0}.commentList p{white-space:pre-wrap}

.topic-link{display:inline-block;text-decoration:none}.topic-section{margin-bottom:28px}.topic-section a{color:inherit}.topic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin-top:18px}.topic-card{display:block;border:1px solid #8885;border-radius:12px;padding:16px;text-decoration:none;overflow-wrap:anywhere}.topic-card img{width:100%;max-height:300px;object-fit:cover;border-radius:8px}.topic-card p{white-space:pre-wrap;line-height:1.7}.topic-card h2{font-size:18px}.topic-card:focus-visible,.topic-link:focus-visible{outline:2px solid var(--accent)}

@media(max-width:560px){.resulthead{flex-wrap:wrap}.resulthead>div{flex-wrap:wrap}.filter select{max-width:100%}.detailLayout>div{min-width:0;overflow-wrap:anywhere}.resources a{max-width:100%;overflow-wrap:anywhere}}
.card:focus-visible,.chip:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
/* Compact resource list, including independent interaction controls. */
#grid.grid{display:block}.resource-row{display:flex;align-items:flex-start;gap:8px;padding:16px 0;border-bottom:1px solid #7775;min-height:96px}.row-cover{width:48px;height:66px;object-fit:cover;border-radius:5px;flex:none}.row-main{flex:1;min-width:0}.resource-row h3{font-size:16px;margin:0 0 8px;white-space:normal;overflow-wrap:anywhere}.resource-row p{white-space:normal;overflow-wrap:anywhere;margin-bottom:6px}.row-links{display:flex;flex-wrap:wrap;gap:4px}.row-links a{background:#555;color:white;border-radius:6px;padding:5px 7px;text-decoration:none;font-size:12px}.row-links .provider-baidu{background:#347cf1}.row-links .provider-quark{background:#7851e9}.row-actions{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none}.row-actions button{background:none;border:0;color:#999;padding:4px;font-size:12px}.row-actions button[aria-pressed=true]{color:#ef5555}.row-actions .row-rating{color:#e9ba73}.row-actions button:focus-visible,.row-links a:focus-visible{outline:2px solid var(--accent)}
.list-home{background:#191919;min-height:100vh;padding-bottom:76px}.list-home header{position:static;background:transparent;border:0}.list-home .head{display:grid;grid-template-columns:1fr auto;gap:20px;padding:18px 12px}.list-home .logo{color:inherit}.list-home nav,.list-home #search{grid-column:1/-1}.list-home #search{width:100%;max-width:none;background:#303032;border:0}.top-actions{display:flex;gap:8px}.top-actions button,.list-home .tab,.list-home .chip,.list-home select{background:#303032;border:0;color:#eee;border-radius:8px;padding:10px 13px}.list-home .tab.active,.list-home .chip.active{background:#df2538;color:white}.list-home main{padding:0 12px}.list-home .filters{margin:0 0 12px;gap:12px}.list-home .filter>span{display:none}.list-home #types{gap:8px}.list-home .resulthead h2{display:none}.list-home .resulthead>div{margin-left:auto}.list-home .resulthead{margin-bottom:12px}.date-band{background:#29292b;border-radius:7px;padding:13px;color:#bcbcc0;display:flex;justify-content:space-between}.list-home .resource-row{padding:18px 0;gap:13px;min-height:112px}.list-home .row-cover{width:55px;height:76px}.list-home .resource-row h3{font-size:18px}.list-home .resource-row p{font-size:13px}.list-home .row-actions button{font-size:14px}.list-home .row-links a{padding:7px 12px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#242424;border-top:1px solid #444;display:flex;justify-content:space-around;z-index:4;padding:8px 0 max(8px,env(safe-area-inset-bottom))}.bottom-nav button{background:none;border:0;color:#eee;font-size:22px;min-width:48px}.bottom-nav small{display:block;font-size:13px}.bottom-nav button:first-child{color:#ff5260}.bottom-nav button:disabled{opacity:.5}.list-home #siteMenu a{color:inherit}.light .list-home,.light .list-home .bottom-nav{background:#f7f7fa;color:#222}
