.home-module{margin:0;padding:40px 0 0;border-bottom:0;scroll-margin-top:25px;min-width:0}.home-module h2{margin:0 0 20px;font-size:21px}.home-heading{font-size:21px;font-weight:600;padding:0;background:none;color:#f4f7f5;text-align:left;line-height:1.5}.home-heading>span:first-child{margin-right:5px}.home-chevron{color:var(--accent,#2dc275);margin-left:8px;font-size:28px;vertical-align:-1px}.home-row{display:flex;gap:20px;overflow:auto;padding:4px 0 15px;scroll-snap-type:x mandatory}.home-card{flex:0 0 calc((100% - 60px)/4);min-width:230px;scroll-snap-align:start;position:relative}.home-card h3{font-size:14px;line-height:1.6;margin:12px 0 5px;overflow-wrap:anywhere;color:#f4f7f5}.home-card p{font-size:12px;line-height:1.7;color:#a9b5ad;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.home-card .poster{height:165px;min-height:165px;padding:18px}.home-card .poster strong{font-size:23px}.home-card .poster small{font-size:8px;letter-spacing:1px}.home-card .poster em{font-size:8px;letter-spacing:1px}.home-card .image-poster img{object-fit:cover}.home-card-portrait{flex-basis:250px;min-width:220px}.home-card-portrait .poster{height:345px;min-height:345px}.home-card-portrait .poster strong{font-size:30px}.home-row-stars{gap:16px}.home-card-stars{flex-basis:155px;min-width:155px;border:1px solid #5b9f74;border-radius:14px;padding:15px 12px;background:linear-gradient(140deg,#153a27,#252c29);text-align:center}.home-card-stars .card-hit{text-align:center}.home-card-stars .poster{height:125px;min-height:125px;width:125px;border-radius:50%;padding:10px;box-shadow:0 0 15px #2dc27555;border:2px solid var(--accent,#2dc275);margin:auto}.home-card-stars .poster strong{font-size:16px}.home-card-stars .poster small,.home-card-stars .poster em{display:none}.home-card-stars h3{font-size:13px;margin:12px 0 0}.home-card-ranked{padding-left:32px;flex-basis:340px}.home-rank{position:absolute;left:0;top:72px;font-size:75px;line-height:1;font-weight:600;color:var(--accent,#2dc275);text-shadow:1px 1px 0 #9dffb3}.home-tabs{display:flex;gap:8px;margin:0 0 20px;flex-wrap:wrap}.home-tabs button{background:transparent;border:1px solid #87939f;border-radius:30px;color:#b7c9de;padding:7px 15px;font-size:16px;font-weight:400}.home-tabs button[aria-selected=true]{background:var(--accent,#2dc275);border-color:var(--accent,#2dc275);color:white;font-weight:600}.home-empty{padding:12px 0;margin:0;font-size:12px;color:#7f8c83}.home-row-blog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.home-card-blog{min-width:0}.home-card-blog .poster{height:290px;min-height:290px}.home-card-blog h3{font-size:21px}.home-card-blog p{-webkit-line-clamp:3}.home-module-stars{margin-top:28px;padding:22px;border-radius:16px;background:radial-gradient(ellipse at center,#17402a,#202624 75%);border:1px solid #305941}#section-dialog{max-width:1060px}.section-dialog-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.section-dialog-list .home-card{min-width:0}.homepage-placement{background:#18281f;border-color:#3a6a4b}.homepage-placement>p{font-size:12px;color:#afc7b7;line-height:1.8}.placement-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}.admin-page .placement-option{display:flex;align-items:center;gap:10px;border:1px solid #3a5143;background:#1e3025;border-radius:8px;padding:10px;margin:0;cursor:pointer;font-weight:400}.admin-page .placement-option:has(input:checked){border-color:#40cf7c;background:#1f4a30}.admin-page .placement-option input[type=checkbox]{width:17px;height:17px;flex:0 0 17px;padding:0;margin:0;accent-color:var(--accent,#2dc275)}.admin-page .placement-option span{font-size:12px;line-height:1.6}.placement-summary{font-weight:600;color:#8be4ad!important}.admin-page .homepage-placement input{margin-top:8px}.homepage-placement .subtle{display:block;margin-top:7px}.admin-page .homepage-placement legend{color:#77e69e;font-weight:600;font-size:14px}@media(max-width:780px){.home-card{flex-basis:260px}.home-card-stars{flex-basis:155px}.home-card-portrait{flex-basis:220px}.home-card-portrait .poster{height:310px;min-height:310px}.home-row-blog{grid-template-columns:1fr}.section-dialog-list{grid-template-columns:repeat(2,minmax(0,1fr))}.home-heading{font-size:19px}.home-tabs button{font-size:14px}.placement-options{grid-template-columns:1fr}}@media(max-width:480px){.home-module{margin:0;padding:28px 0 0}.home-module-stars{padding:15px}.home-card{min-width:215px}.home-card-stars{min-width:150px}.section-dialog-list{grid-template-columns:1fr}}

.home-card-stars h3{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}.home-card-stars .star-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.home-card-stars .star-check{display:block;width:15px;height:15px;flex:0 0 15px}
/* Special events show only their posters, matching the reference layout. */
#home-special .home-card .card-hit>h3,
#home-special .home-card .card-hit>p{display:none}
.home-ad-banner{display:block;margin:20px 0 28px;overflow:hidden;border-radius:12px;clear:both;line-height:0}.home-ad-banner>a{display:block}.home-ad-banner img{display:block;width:100%;height:auto;max-width:100%}.home-ad-banner+.home-module{margin-top:0;padding-top:12px}.home-module:has(+.home-ad-banner){margin-bottom:0;padding-bottom:16px;border-bottom:0}@media(max-width:650px){.home-ad-banner{margin:14px 0 18px;border-radius:9px}}

#home-footer .article-footer{margin:0;padding:65px max(18px,3vw) 28px;width:100%;border-top:1px solid #484e5a}#home-footer .article-footer-columns{grid-template-columns:1.1fr 1.1fr 1fr;gap:70px}body.article-page #home-footer{display:none!important}@media(max-width:900px){#home-footer .article-footer-columns{gap:30px}}@media(max-width:600px){#home-footer .article-footer{padding:35px 20px 24px}#home-footer .article-footer-columns{grid-template-columns:1fr;gap:15px}}

/* Public homepage: remove announcement and admin utility bars. */
body>.notice,body>.site-utilities{display:none!important}
