/* HAMODX: compact responsive three-column mobile catalog + popularity ranking. */
.hamod-top10-section{width:min(1320px,calc(100% - 32px));margin:24px auto 26px;padding:18px 18px 20px;border:1px solid #9fb9ed80;border-radius:18px;background:linear-gradient(125deg,#f8fcff,#eef3ff 65%,#fff4fa);box-shadow:0 8px 26px #1c5faa12}
.hamod-top10-title{margin:0 0 5px;font-size:clamp(19px,3.8vw,29px);line-height:1.3;font-weight:900;letter-spacing:.015em;color:#1769d1}
.hamod-top10-desc{margin:0 0 17px;font-size:12px;line-height:1.6;color:#526e96}
.hamod-top10-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px 12px}
.hamod-top-item{position:relative;min-width:0}
.hamod-top-item .game-card{display:block;min-width:0}
.hamod-top-rank{position:absolute;z-index:3;top:7px;left:7px;display:inline-flex;align-items:center;justify-content:center;min-width:32px;padding:5px 7px;border-radius:9px;background:#0e2048ed;color:white;font-size:12px;font-weight:900;pointer-events:none;box-shadow:0 2px 9px #0006}
.hamod-top-item:nth-child(1) .hamod-top-rank{background:#ebad16;color:#241700}
.hamod-top-item:nth-child(2) .hamod-top-rank{background:#d1d9e9;color:#192c48}
.hamod-top-item:nth-child(3) .hamod-top-rank{background:#c78553;color:#23150d}
.hamod-top-views{display:block;padding:3px 2px 6px;font-size:10px;line-height:1.5;font-weight:800;color:#365e99}
.hamod-top-empty{font-size:12px;color:#506892;line-height:1.6;padding:10px 3px;grid-column:1/-1}
body:not(.theme-classic) .hamod-top10-section{background:linear-gradient(125deg,#111b30,#19213a);border-color:#526db0}
body:not(.theme-classic) .hamod-top10-title{color:#91baff}
body:not(.theme-classic) .hamod-top10-desc,body:not(.theme-classic) .hamod-top-views{color:#b2c9ef}
@media(max-width:980px){.hamod-top10-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){
 .hamod-top10-section{width:calc(100% - 24px);margin:16px auto 22px;padding:12px 10px 15px;border-radius:14px}
 .hamod-top10-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}
 .hamod-top10-title{font-size:19px}
 .hamod-top10-desc{font-size:10px}
 .hamod-top-rank{top:4px;left:4px;font-size:10px;padding:4px 6px;min-width:25px}
 .hamod-top-views{font-size:9px}
 .cards--compact:not(.hamod-top10-grid){grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 8px}
 .cards--compact .game-meta{min-width:0;padding:7px 1px 9px}
 .cards--compact .game-meta h3{font-size:clamp(10px,2.8vw,12px);line-height:1.34;min-height:2.68em;overflow-wrap:anywhere}
 .cards--compact .game-meta small{font-size:8px;overflow-wrap:anywhere}
 .cards--compact .game-meta p.game-features,.cards--compact .game-meta p.game-description{font-size:clamp(8px,2.1vw,9.4px);line-height:1.36;min-height:4.1em;padding:4px 3px;overflow-wrap:anywhere}
 .cards--compact .game-cover{aspect-ratio:1/1;min-width:0}
}
@media(max-width:320px){
 .cards--compact:not(.hamod-top10-grid),.hamod-top10-grid{gap:9px 5px}
 .cards--compact .game-meta h3{font-size:9.5px}
}
