/* Film & Dizi 1.6: cinematic single post theme. Scoped to category posts only. */
#afdm-single{--af-orange:#f7a11e;--af-cyan:#d7edf4;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#06141d;color:#eff5fa;min-height:80vh;line-height:1.65}
#afdm-single *{box-sizing:border-box}#afdm-single a{color:inherit;text-decoration:none}#afdm-single button{font:inherit;cursor:pointer}
#afdm-single .afdm-single-wrap{max-width:1360px;margin:0 auto;padding:28px 24px 75px}
#afdm-single .afdm-crumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:#a8bfcc;font-size:12px;margin-bottom:24px}#afdm-single .afdm-crumb a:hover{color:var(--af-orange)}
#afdm-single .afdm-single-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}
#afdm-single .afdm-article{min-width:0;background:#0d202c;border:1px solid #345163;border-radius:18px;overflow:hidden}
#afdm-single .afdm-article-header{padding:28px 32px 22px;background:radial-gradient(ellipse at 100% 0,#873d263a,transparent 55%),#102430}
#afdm-single .afdm-header-kicker{display:flex;gap:10px;align-items:center;color:#f4b458;font-size:12px;font-weight:800;letter-spacing:.06em}
#afdm-single h1{font-size:clamp(27px,3.4vw,43px);line-height:1.18;color:#fff;letter-spacing:-.035em;margin:12px 0 14px}
#afdm-single .afdm-article-meta{display:flex;gap:9px;align-items:center;color:#abc0cb;font-size:12px}
#afdm-single .afdm-article-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
#afdm-single .afdm-article-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 15px;border:1px solid #567284;border-radius:10px;background:#182e3b;color:#eef5f9;font-weight:750;font-size:13px}
#afdm-single .afdm-article-actions button[aria-pressed=true]{background:#57361c;color:#ffdba8;border-color:#f6a637}
#afdm-single .afdm-bookmark{font-size:22px;font-weight:600;line-height:1}
#afdm-single .afdm-single-figure{margin:0;background:#07131c;text-align:center;padding:14px}
#afdm-single .afdm-single-figure img{width:auto;max-width:100%;height:auto;max-height:520px;object-fit:contain;display:block;margin:auto;border-radius:10px}
#afdm-single .afdm-single-facts{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:15px 28px;background:#152a37;border-block:1px solid #355366;font-size:13px}
#afdm-single .afdm-single-facts>span{padding:4px 8px;border-radius:6px;background:#0a1923}#afdm-single .afdm-facts-imdb{color:#ffc165}#afdm-single .afdm-facts-imdb strong{font-size:20px;color:#ffe2a5}#afdm-single .afdm-facts-imdb small{color:#b0bec7}#afdm-single .afdm-single-facts a{margin-left:auto;color:#ffbc5e;font-weight:750}
#afdm-single .afdm-article-content{padding:30px 35px;color:#dce6eb;font-size:16px;line-height:1.85;overflow-wrap:anywhere}#afdm-single .afdm-article-content p{color:#dce6eb;margin:0 0 1.2em}#afdm-single .afdm-article-content h2,#afdm-single .afdm-article-content h3{color:#fff;line-height:1.4}#afdm-single .afdm-article-content a{color:#ffbb5a;text-decoration:underline;text-underline-offset:3px}#afdm-single .afdm-article-content img{max-width:100%;height:auto}#afdm-single .afdm-article-content iframe{max-width:100%}
#afdm-single .afdm-article-footer{border-top:1px solid #365063;padding:18px 32px;display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:8px;color:#ffbb5a;font-size:13px}
#afdm-single .afdm-single-aside{display:grid;gap:16px}#afdm-single .afdm-aside-box{padding:18px;background:#122735;border:1px solid #345163;border-radius:14px}#afdm-single .afdm-aside-kicker{color:#f7a420;letter-spacing:.16em;font-size:10px;font-weight:800}#afdm-single .afdm-aside-box h2{font-size:19px;line-height:1.3;color:#fff;margin:5px 0 10px}#afdm-single .afdm-aside-box p{font-size:13px;color:#b9cad4}#afdm-single .afdm-aside-box>a:not(.afdm-related){display:inline-block;border:1px solid #eea028;background:#3a2a1b;border-radius:8px;padding:7px 12px;color:#ffd38c;font-size:12px;font-weight:750}#afdm-single .afdm-related{display:flex;align-items:center;gap:10px;border-top:1px solid #284353;padding:11px 0;font-size:12px;line-height:1.4}#afdm-single .afdm-related img{width:58px;height:58px;object-fit:cover;border-radius:6px;flex-shrink:0}#afdm-single .afdm-related:hover{color:#f7b84c}
#afdm-single button:focus-visible,#afdm-single a:focus-visible{outline:2px solid #f6b44e;outline-offset:3px}
@media(max-width:900px){#afdm-single .afdm-single-layout{grid-template-columns:1fr}#afdm-single .afdm-single-aside{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#afdm-single .afdm-single-wrap{padding:14px 12px 48px}#afdm-single .afdm-article-header{padding:20px 18px}#afdm-single .afdm-article-content{padding:22px 18px;font-size:15px}#afdm-single .afdm-single-facts{padding:12px 15px}#afdm-single .afdm-article-footer{padding:15px 18px}#afdm-single .afdm-single-aside{grid-template-columns:1fr}#afdm-single .afdm-single-figure img{max-height:350px}}

/* Unified Instagram-style save/bookmark feedback */
#afdm-single .afdm-single-save[aria-pressed="true"]{border-color:#f9ac39;background:#463019;color:#ffe0a2}
#afdm-single .afdm-bookmark{font-size:24px;line-height:1}
#afdm-single .afdm-single-save{min-width:116px;justify-content:center}


/* v1.8.0 - Instagram-style save button for single posts */
#afdm-single .afdm-bookmark-icon{position:relative;display:inline-block;width:15px;height:19px;color:currentColor}
#afdm-single .afdm-bookmark-icon::before{content:"";position:absolute;inset:0;clip-path:polygon(0 0,100% 0,100% 100%,50% 76%,0 100%);border:2px solid currentColor;border-radius:2px;background:transparent;box-sizing:border-box}
#afdm-single .afdm-single-save[aria-pressed="true"] .afdm-bookmark-icon::before{background:currentColor}
#afdm-single .afdm-single-save{min-width:128px;gap:8px}

/* v1.9.0: crisp standard bookmark SVG, outline when unsaved and filled when saved. */
#afdm .afdm-bookmark-svg,#afdm-single .afdm-bookmark-svg{display:block;width:18px;height:23px;flex:0 0 18px;overflow:visible;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
#afdm .afdm-bookmark-svg path,#afdm-single .afdm-bookmark-svg path{fill:transparent;stroke:currentColor;vector-effect:non-scaling-stroke}
#afdm button[aria-pressed="true"] .afdm-bookmark-svg path,#afdm-single button[aria-pressed="true"] .afdm-bookmark-svg path{fill:currentColor;stroke:currentColor}
#afdm .afdm-bookmark-toggle{color:#fff}
#afdm .afdm-bookmark-toggle .afdm-bookmark-svg{width:20px;height:26px}
#afdm .afdm-save-action{display:inline-flex;gap:7px;align-items:center;justify-content:center}
#afdm .afdm-save-action .afdm-bookmark-svg{width:15px;height:20px;flex-basis:15px}
#afdm .afdm-save-action[aria-pressed="true"],#afdm .afdm-bookmark-toggle[aria-pressed="true"]{color:#ffc46b}

/* 2.0.0 - trailer action on single articles */
#afdm-single .afdm-article-actions .afdm-single-trailer{border-color:#f5a72d;background:#553616;color:#ffe2ac}
#afdm-single .afdm-trailer-modal[hidden]{display:none!important}
#afdm-single .afdm-trailer-modal{position:fixed;inset:0;background:rgba(0,7,14,.9);z-index:999999;display:grid;place-items:center;padding:18px}
#afdm-single .afdm-trailer-dialog{width:min(880px,100%);background:#071c29;border:1px solid #45687a;border-radius:14px;padding:14px}
#afdm-single .afdm-trailer-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}
#afdm-single .afdm-trailer-heading h2{font-size:18px;color:white;margin:0 0 12px}
#afdm-single .afdm-trailer-close{border:1px solid #426070;background:#102c3c;color:#fff;border-radius:8px;padding:8px 12px}
#afdm-single .afdm-trailer-frame{aspect-ratio:16/9;background:#02070d;border-radius:9px;overflow:hidden}
#afdm-single .afdm-trailer-frame iframe{width:100%;height:100%;display:block;border:0}
#afdm .afdm-trailer-dialog p{font-size:12px;color:#b7ccd7;margin:9px 0 0}
@media(max-width:650px){#afdm .afdm-discovery{align-items:stretch}#afdm .afdm-discovery-controls{width:100%}#afdm .afdm-surprise{width:100%}#afdm .afdm-discovery select{max-width:140px}}
