.amfr-module {
    min-width: 0; margin: 18px 0 30px; padding: 12px 10px 10px;
    background: rgba(10,10,10,.82); border: 1px solid rgba(212,175,55,.55);
    border-radius: 10px; box-shadow: 0 0 14px rgba(212,175,55,.12);
}
.amfr-module h2 { margin: 0 0 8px; color: #f3e5ab; font-size: 1.6rem; line-height: 1.2; text-transform: uppercase; }
.amfr-module-row {
    display: flex; flex-wrap: nowrap; gap: 10px; width: 100%; max-width: 100%;
    overflow-x: scroll; overflow-y: hidden; padding: 4px 0 10px;
    -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
}
.amfr-module-row::-webkit-scrollbar { height: 10px; }
.amfr-module-row::-webkit-scrollbar-track { background: #292317; border-radius: 5px; }
.amfr-module-row::-webkit-scrollbar-thumb { background: #d7a63c; border-radius: 5px; }
.amfr-module-tile {
    width: 228px; min-width: 228px; max-width: 228px; flex: 0 0 228px;
    padding: 18px; margin: 0; border: 1px solid rgba(212,175,55,.55);
    border-radius: 10px; background: #121212; color: #f1ca72;
    text-decoration: none; text-align: center; scroll-snap-align: start;
    display: flex; flex-direction: column; justify-content: center;
    font-weight: bold; box-shadow: 0 0 12px rgba(215,166,60,.10);
}
.amfr-module-tile-name { font-size: 1.375rem; margin-bottom: 10px; }
.amfr-module-tile-count { color: #f1ca72; }
@media (max-width: 599px) {
    .amfr-module-row { width: 228px; margin-inline: auto; scroll-snap-type: x mandatory; }
}
@media (hover: hover) and (pointer: fine) {
    .amfr-module-tile:hover { color: #ffe2a0; border-color: #f1ca72; box-shadow: 0 0 20px rgba(215,166,60,.32); }
}

.amfr-video-row{display:flex;flex-wrap:nowrap;gap:10px;width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;padding:2px 0 10px;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;touch-action:pan-x pan-y}
.amfr-video-card{box-sizing:border-box;width:var(--amfr-home-tile-width,var(--amfr-home-tile-base,228px));min-width:0;max-width:var(--amfr-home-tile-width,var(--amfr-home-tile-base,228px));flex:0 0 var(--amfr-home-tile-width,var(--amfr-home-tile-base,228px));scroll-snap-align:start;scroll-snap-stop:always}
.amfr-video-card{overflow:hidden;border:1px solid var(--border-color,#3a3a3a);border-radius:.65rem;background:var(--surface-color,#171717);display:flex;flex-direction:column}
.amfr-video-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#101010}
.amfr-video-card-body{display:flex;flex-direction:column;gap:.55rem;padding:.85rem;box-sizing:border-box;min-height:135px;flex:1 1 auto}.amfr-video-card h3,.amfr-video-card p{margin:0}.amfr-video-type{font-size:.8rem;opacity:.75}
.amfr-video-card-body h3{line-height:1.3;height:2.6em;min-height:2.6em;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}
.amfr-video-card-body>p{line-height:1.4;height:1.4em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.amfr-video-card-body .amfr-track-statistics[data-informational],.amfr-track-statistics[data-informational]{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:.4rem;min-height:1.5rem;margin:0}
.amfr-video-stat{display:inline-flex;align-items:center;gap:.25rem;white-space:nowrap;font-size:.8rem;font-variant-numeric:tabular-nums}
.amfr-video-stat svg{width:14px;height:14px;flex:0 0 14px;fill:currentColor}
.amfr-video-card-body .amfr-video-actions{margin-top:auto}
.amfr-video-playback{width:min(100%,560px);aspect-ratio:16/9;margin:.5rem 0;background:#080808}.amfr-video-playback[hidden]{display:none}
.amfr-video-playback video,.amfr-video-playback iframe{display:block;width:100%;height:100%;border:0}.player-links{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.85rem}
