.rec-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.rec-card { display:block; color:#f8f4ea; text-decoration:none; position:relative; border-radius:20px; overflow:hidden; background:linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.02)); border:1px solid rgba(224,185,78,0.16); transition:all .35s ease; }
.rec-card:hover { border-color:rgba(224,185,78,.4); transform:translateY(-4px); box-shadow:0 24px 50px rgba(0,0,0,.5),0 0 0 1px rgba(224,185,78,.2); }
.rec-cover { position:relative; aspect-ratio:2/3; background:linear-gradient(160deg,#1f2840,#10182d); background-size:cover; background-position:center; overflow:hidden; }
.rec-cover .shine { position:absolute; inset:0; background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.18) 45%,transparent 60%); transform:translateX(-120%); }
.rec-card:hover .rec-cover .shine { animation:recshine 1.5s ease; }
@keyframes recshine { 0%{transform:translateX(-120%)} 100%{transform:translateX(120%)} }
.rec-match { position:absolute; top:12px; left:12px; z-index:2; padding:5px 10px; border-radius:8px; background:rgba(9,15,32,.82); color:#86efac; font-size:.72rem; font-weight:800; }
.rec-body { padding:14px 16px 16px; }
.rec-body h3 { font-size:1rem; font-weight:800; letter-spacing:-.02em; line-height:1.2; }
.rec-body .reason { margin-top:6px; color:#c7cfe3; font-size:.64rem; line-height:1.4; }
.rec-body .reason b { color:#e0b94e; font-weight:800; }
.rec-body .meta { margin-top:10px; display:flex; justify-content:space-between; align-items:center; padding-top:10px; border-top:1px solid rgba(224,185,78,0.1); color:#c7cfe3; font-size:.62rem; }
.rec-body .meta .star { color:#e9c766; font-weight:800; }
@media (max-width:980px){ .rec-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .rec-grid { grid-template-columns:1fr; } }
.rec-card:hover { color:#f8f4ea; text-decoration:none; }
.rec-body h3 { margin:0; }
.rec-page { width:min(1340px, 100vw - 60px); margin:0 calc((100% - min(1340px, 100vw - 60px)) / 2); padding-top:30px; color:#f8f4ea; }
.rec-page h1 { margin:0; font-size:2.5rem; line-height:1.1; letter-spacing:-1px; }
.rec-page h1 span { background:linear-gradient(90deg,#f2dc96, #e0b94e 50%, #8c6a1f); -webkit-background-clip:text; background-clip:text; color:transparent; }
.rec-page > p { margin:6px 0 24px; color:#c7cfe3; font-size:.94rem; }
.rec-foot { display:flex; align-items:center; justify-content:center; gap:14px; margin-top:28px; color:#c7cfe3; font-size:.875rem; }
.rec-foot a, .rec-empty a { padding:12px 30px; border:1px solid rgba(224,185,78,0.26); border-radius:99px; color:#f8f4ea; font-size:.9rem; font-weight:700; text-decoration:none; }
.rec-foot a:hover, .rec-empty a:hover { border-color:#e0b94e; color:#f8f4ea; }
.rec-empty { padding:60px 16px; color:#c7cfe3; text-align:center; }
.rec-empty p { margin:0 0 22px; }


/* Rows of recommendations (home, series page): 4 cards; the extra ones only show on short
   wide screens, where hero_fit.js fills whole rows with them. */
.rec-grid.rec-row > .rec-card:nth-child(n+5) { display:none; }
