.nytf-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    direction: rtl;
    margin: 1rem 0;
}
.nytf-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.nytf-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    background: #f1f1f1;
    overflow: hidden;
}
.nytf-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}
.nytf-thumb:hover img { transform: scale(1.035); }
.nytf-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 46px;
    height: 32px;
    color: #fff;
    background: rgba(210, 0, 0, .94);
    border-radius: 9px;
    font-size: 16px;
    padding-right: 2px;
}
.nytf-card-body { padding: 12px; }
.nytf-card h3 {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 8px;
    font-weight: 600;
}
.nytf-card h3 a { color: inherit; text-decoration: none; }
.nytf-card h3 a:hover { color: #c00; }
.nytf-card time { display: block; color: #777; font-size: 12px; }
.nytf-empty, .nytf-notice {
    padding: 12px 14px;
    margin: 1rem 0;
    border-radius: 6px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    line-height: 1.7;
}
.nytf-notice { background: #fff8e5; border-color: #e6c66a; }
.nytf-no-thumb { display: grid; place-items: center; width: 100%; height: 100%; color: #555; }
@media (max-width: 1024px) {
    .nytf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 700px) {
    .nytf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .nytf-card-body { padding: 10px; }
    .nytf-card h3 { font-size: 14px; }
}
@media (max-width: 420px) {
    .nytf-grid { grid-template-columns: 1fr; }
}
