#afdm{--af-bg:#06141d;--af-card:#112431;--af-line:#304858;--af-accent:#f6a11c;--af-txt:#edf4f8;--af-muted:#a7b8c5;background:var(--af-bg);color:var(--af-txt);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;min-height:80vh;line-height:1.45;font-size:14px}#afdm *{box-sizing:border-box}#afdm a{color:inherit;text-decoration:none}#afdm button,#afdm input{font:inherit}#afdm button{cursor:pointer}#afdm .afdm-wrap{max-width:1520px;margin:auto;padding:24px 22px 75px}#afdm .afdm-hero{min-height:225px;position:relative;overflow:hidden;border:1px solid #385367;border-radius:20px;background:radial-gradient(ellipse at 74% 43%,#a0441e6e,transparent 43%),linear-gradient(115deg,#0a1620 0%,#0e1c27 55%,#49231b 100%);padding:32px 42px;display:flex;align-items:center}#afdm .afdm-hero-copy{position:relative;z-index:1}#afdm .afdm-eyebrow{font-size:11px;letter-spacing:.2em;color:#f9ac2c;font-weight:850}#afdm h1{margin:11px 0 3px;color:#fff;font-size:clamp(29px,3.3vw,53px);letter-spacing:-.035em;line-height:1.15}#afdm .afdm-hero p{font-size:clamp(14px,1.3vw,19px);color:#d2dae0;margin:7px 0 23px}#afdm .afdm-hero-actions{display:flex;flex-wrap:wrap;gap:12px}#afdm .afdm-hero-actions a{padding:11px 17px;border-radius:9px;font-weight:750}#afdm .afdm-primary{background:linear-gradient(90deg,#f8a91e,#e66b10);border:1px solid #ffbd4d;color:#12181f!important}#afdm .afdm-secondary{background:#0a1724ad;border:1px solid #7b929f}#afdm .afdm-hero-art{position:absolute;right:2%;top:0;height:100%;width:37%;pointer-events:none;color:#fcab48}#afdm .afdm-reel{position:absolute;right:12%;top:-90px;font-size:320px;opacity:.23;transform:rotate(-22deg)}#afdm .afdm-clap{position:absolute;right:36%;top:-70px;font-size:260px;color:#ffd59b;opacity:.17;transform:rotate(20deg)}#afdm .afdm-spark{position:absolute;right:9%;bottom:6px;font-size:62px;opacity:.3}#afdm .afdm-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:19px 0 18px}#afdm .afdm-filter-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}#afdm .afdm-filter-buttons button{border:1px solid #385264;border-radius:9px;background:#10212c;color:#e5eaf0;padding:10px 13px;white-space:nowrap}#afdm .afdm-filter-buttons button.active,#afdm .afdm-filter-buttons button:hover{border-color:#ee9e22;background:#503315;color:#fff}#afdm .afdm-search{display:block;flex:0 1 350px}#afdm .afdm-search input{width:100%;background:#132735;border:1px solid #486275;border-radius:10px;color:#fff;padding:12px 15px}#afdm .afdm-search input::placeholder{color:#b0c0ca}#afdm .afdm-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px}#afdm .afdm-main{min-width:0}#afdm .afdm-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:15px 0 13px}#afdm .afdm-section-heading h2{color:#fff;font-size:24px;margin:0;letter-spacing:-.03em}#afdm .afdm-section-heading h2 span{color:var(--af-accent)}#afdm .afdm-section-heading>a{color:#ffb64a;font-size:12px;font-weight:750}#afdm .afdm-featured-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}#afdm .afdm-feature-card{min-height:325px;position:relative;overflow:hidden;border:1px solid #375060;border-radius:13px;background:#182a36}#afdm .afdm-poster{position:absolute;inset:0}#afdm .afdm-poster img{height:100%;width:100%;object-fit:cover;display:block;transition:transform .2s}#afdm .afdm-feature-card:hover .afdm-poster img{transform:scale(1.04)}#afdm .afdm-placeholder{width:100%;height:100%;display:grid;place-items:center;font-size:70px;color:#bd8341;background:linear-gradient(130deg,#223442,#13222e 65%,#59381f)}#afdm .afdm-heart{position:absolute;top:9px;right:9px;z-index:2;background:#06141dbb;color:white;border:1px solid #506270;border-radius:50%;font-size:24px;width:35px;height:35px;line-height:1}#afdm [data-list][aria-pressed=true]{color:#ffb13a!important;border-color:#f1a02a!important}#afdm .afdm-poster-shade{position:absolute;bottom:0;left:0;right:0;padding:50px 12px 13px;background:linear-gradient(0deg,#06121afa 0%,#06121aef 53%,transparent 100%)}#afdm .afdm-card-meta{display:flex;gap:7px;flex-wrap:wrap;align-items:center;font-size:11px;font-weight:700}#afdm .afdm-card-meta>span:first-child{background:#06131ac9;padding:3px 7px;border-radius:5px}#afdm .afdm-imdb{color:#ffc15c}#afdm .afdm-feature-card h3{color:#fff;font-size:16px;line-height:1.27;margin:6px 0;overflow-wrap:anywhere}#afdm .afdm-poster-shade p{color:#d2dce3;font-size:11px;margin:0 0 11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#afdm .afdm-card-actions{display:flex;flex-wrap:wrap;gap:5px}#afdm .afdm-card-actions a,#afdm .afdm-card-actions button{background:#152632;border:1px solid #556979;color:#fff;border-radius:7px;font-size:11px;padding:6px 7px}#afdm .afdm-card-actions a:first-child{background:#ec9718;color:#12181d;border-color:#ec9718;font-weight:750}#afdm .afdm-side{padding-top:1px}#afdm .afdm-side-card{background:linear-gradient(140deg,#142632,#0c1a25);border:1px solid #3a5260;border-radius:14px;padding:17px;margin:13px 0 19px}#afdm .afdm-side-title{display:flex;justify-content:space-between;align-items:center;gap:7px;border-bottom:1px solid #2e4656;padding-bottom:12px}#afdm .afdm-side-title h2{color:#fff;font-size:17px;margin:0}#afdm .afdm-side-title span{color:#ffc15d}#afdm .afdm-side-list{display:grid;gap:9px;margin-top:13px;color:#bed0db}#afdm .afdm-side-list a{display:block;padding:9px 11px;background:#1b303e;border:1px solid #344b59;border-radius:8px;font-size:12px}#afdm .afdm-side-help,#afdm .afdm-recommend p{color:#aebfcb;font-size:12px;line-height:1.6}#afdm .afdm-recommend{background:linear-gradient(135deg,#29252a,#102331)}#afdm .afdm-recommend a{display:block;padding:10px 12px;text-align:center;background:#3c2d1b;border:1px solid #e99823;color:#ffe0a9;border-radius:9px;font-weight:750;font-size:12px}#afdm .afdm-compact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#afdm .afdm-compact-card{display:flex;gap:11px;min-width:0;min-height:114px;padding:10px;background:#172b38;border:1px solid #385164;border-radius:12px}#afdm .afdm-compact-thumb{width:90px;flex:0 0 90px;border-radius:8px;overflow:hidden;display:block}#afdm .afdm-compact-thumb img{width:100%;height:100%;object-fit:cover}#afdm .afdm-compact-thumb .afdm-placeholder{font-size:35px}#afdm .afdm-compact-body{min-width:0;display:flex;flex-direction:column;flex:1}#afdm .afdm-compact-kind{font-size:11px;color:#f8b456}#afdm .afdm-compact-body h3{font-size:13px;color:#fff;line-height:1.35;margin:5px 0 8px}#afdm .afdm-compact-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:auto}#afdm .afdm-compact-actions button,#afdm .afdm-compact-actions a{color:#dce6ee;border:1px solid #506579;border-radius:6px;background:#14232c;padding:3px 6px;font-size:10px}#afdm .afdm-hint{margin-top:15px;color:#879dad;font-size:12px}#afdm .afdm-no-results{padding:20px;color:#c1ced6}#afdm [hidden]{display:none!important}#afdm .afdm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#afdm button:focus-visible,#afdm a:focus-visible,#afdm input:focus-visible{outline:2px solid #ffc566;outline-offset:2px}
@media(max-width:1200px){#afdm .afdm-featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#afdm .afdm-compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:880px){#afdm .afdm-layout{grid-template-columns:1fr}#afdm .afdm-side{display:grid;grid-template-columns:1fr 1fr;gap:12px}#afdm .afdm-side-card{margin:0}#afdm .afdm-toolbar{align-items:stretch;flex-direction:column}#afdm .afdm-search{flex:unset;width:100%}}@media(max-width:580px){#afdm .afdm-wrap{padding:13px 12px 40px}#afdm .afdm-hero{min-height:205px;padding:24px 20px}#afdm .afdm-hero-art{opacity:.5;width:50%}#afdm .afdm-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#afdm .afdm-feature-card{min-height:285px}#afdm .afdm-compact-grid,#afdm .afdm-side{grid-template-columns:1fr}#afdm .afdm-filter-buttons{flex-wrap:nowrap;overflow:auto;padding-bottom:5px}#afdm .afdm-filter-buttons button{padding:8px 10px}#afdm .afdm-section-heading h2{font-size:21px}#afdm .afdm-feature-card h3{font-size:14px}#afdm .afdm-card-actions{gap:4px}#afdm .afdm-card-actions a,#afdm .afdm-card-actions button{font-size:10px;padding:5px}#afdm .afdm-poster-shade{padding:45px 9px 10px}}

/* v1.2.0: active menu in bespoke theme navigation */
header a.afdm-menu-active,nav a.afdm-menu-active,
[role="navigation"] a.afdm-menu-active{border-bottom:3px solid #ffab18!important}


/* v1.6 — film cards: clean portrait art, persistent details & 2-button action row. Hero untouched. */
#afdm .afdm-featured-grid{align-items:stretch;gap:12px}
#afdm .afdm-feature-card{display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden;background:linear-gradient(160deg,#152b39,#0a1823)}
#afdm .afdm-feature-card .afdm-poster{position:relative;inset:auto;display:block;width:100%;height:190px;flex:0 0 190px;overflow:hidden;background:#09131d}
#afdm .afdm-feature-card .afdm-poster img{width:100%;height:100%;object-fit:contain;object-position:center;background:#0a1720;transition:transform .2s ease}
#afdm .afdm-feature-card .afdm-poster:hover img{transform:scale(1.025)}
#afdm .afdm-feature-card .afdm-heart{z-index:5;top:10px;right:10px}
#afdm .afdm-feature-card .afdm-poster-shade{position:relative;left:auto;right:auto;bottom:auto;display:flex;flex-direction:column;flex:1;min-height:178px;padding:12px 12px 13px;background:transparent}
#afdm .afdm-feature-card h3{font-size:15px;line-height:1.32;margin:7px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#afdm .afdm-feature-card .afdm-poster-shade p{font-size:11px;line-height:1.45;-webkit-line-clamp:2;margin:0 0 12px}
#afdm .afdm-card-meta{min-height:23px;align-items:center;gap:5px;flex-wrap:wrap}
#afdm .afdm-imdb-score{color:#ffc76d!important;display:inline-block;font-size:10px!important;line-height:1.3;border:1px solid #d28f356b;border-radius:5px;padding:3px 5px;background:#3a2817a8;white-space:nowrap}
#afdm .afdm-card-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:6px;margin-top:auto}
#afdm .afdm-card-actions>a,#afdm .afdm-card-actions>button{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-width:0;min-height:34px;border-radius:7px;padding:7px 5px!important;font-size:10px!important;font-weight:750;white-space:nowrap}
#afdm .afdm-card-actions button[aria-pressed=true]{background:#513618;border-color:#f8ad43;color:#ffe0a2!important}
@media(max-width:580px){#afdm .afdm-feature-card .afdm-poster{height:150px;flex-basis:150px}#afdm .afdm-feature-card .afdm-poster-shade{min-height:190px;padding:10px 8px}#afdm .afdm-card-actions{grid-template-columns:1fr}#afdm .afdm-card-actions>a,#afdm .afdm-card-actions>button{min-height:30px}#afdm .afdm-feature-card h3{font-size:13px}}


/* v1.7 - stable editorial film cards and unified saved list. Banner intentionally unchanged. */
#afdm .afdm-feature-card .afdm-poster{height:210px;flex-basis:210px}
#afdm .afdm-feature-card .afdm-poster img{object-fit:contain;object-position:center center;background:#07141e}
#afdm .afdm-feature-card .afdm-poster-shade{min-height:178px}
#afdm .afdm-heart.afdm-bookmark-toggle{font-size:20px;display:grid;place-items:center}
#afdm .afdm-card-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#afdm .afdm-compact-actions{align-items:center}
#afdm .afdm-compact-actions button[aria-pressed=true]{color:#f8b65f;border-color:#f8b65f}
#afdm .afdm-side-list{display:grid;gap:9px}
#afdm .afdm-saved-item{display:grid;grid-template-columns:42px minmax(0,1fr) 28px;align-items:center;gap:8px;background:#1b303e;border:1px solid #344b59;border-radius:9px;padding:6px}
#afdm .afdm-saved-item img{height:44px;width:42px;object-fit:contain;border-radius:5px;background:#0a1822}
#afdm .afdm-saved-item a{padding:0;background:transparent;border:0;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
#afdm .afdm-saved-item button{border:1px solid #526775;border-radius:6px;color:#dae4ea;background:#0e202b;cursor:pointer;min-height:28px}
#afdm .afdm-feature-card .afdm-imdb-score{font-size:10px}
@media(max-width:580px){#afdm .afdm-feature-card .afdm-poster{height:160px;flex-basis:160px}#afdm .afdm-feature-card .afdm-poster-shade{min-height:180px}#afdm .afdm-card-actions{grid-template-columns:1fr 1fr}#afdm .afdm-card-actions>a,#afdm .afdm-card-actions>button{font-size:9px!important;white-space:normal}}


/* v1.8.0 - familiar Instagram-style bookmark save UI + steadier poster crops */
#afdm .afdm-bookmark-icon{position:relative;display:inline-block;width:14px;height:18px;vertical-align:middle;flex:0 0 14px}
#afdm .afdm-bookmark-icon::before,#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-bottom-width:2px;border-radius:2px;background:transparent;box-sizing:border-box}
#afdm button[aria-pressed="true"] .afdm-bookmark-icon::before,#afdm-single button[aria-pressed="true"] .afdm-bookmark-icon::before{background:currentColor}
#afdm .afdm-heart{color:#f4f7fa;background:rgba(8,17,24,.78);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,.18);width:38px;height:38px;border-radius:999px;display:grid;place-items:center;box-shadow:0 8px 22px rgba(0,0,0,.22)}
#afdm .afdm-heart[aria-pressed="true"]{color:#ffbe5a;border-color:#f0a93d;background:rgba(76,48,18,.96)}
#afdm .afdm-save-action{gap:6px!important}
#afdm .afdm-save-action .afdm-save-text{display:inline-block;min-width:62px}
#afdm .afdm-card-actions .afdm-save-action,#afdm .afdm-compact-actions .afdm-save-action{display:inline-flex;align-items:center;justify-content:center}
#afdm .afdm-feature-card .afdm-poster{aspect-ratio:4/3;height:auto;flex-basis:auto}
#afdm .afdm-feature-card .afdm-poster img{object-fit:cover;object-position:center top;background:#07141e}
#afdm .afdm-feature-card .afdm-poster::after{content:"";position:absolute;inset:auto 0 0 0;height:42%;background:linear-gradient(to top,rgba(4,13,20,.34),transparent)}
#afdm .afdm-compact-thumb{background:#0b1620}
#afdm .afdm-compact-thumb img{width:100%;height:100%;object-fit:cover;object-position:center top}
#afdm .afdm-feature-card h3 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#afdm .afdm-card-actions button,#afdm .afdm-compact-actions button{white-space:nowrap}
@media(max-width:580px){#afdm .afdm-heart{width:34px;height:34px}#afdm .afdm-feature-card .afdm-poster{aspect-ratio:4/3}}

/* 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}

/* Film & Dizi v2.0.0 - discovery tools without changing the approved hero or featured posters */
#afdm .afdm-discovery{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:0 0 16px;border:1px solid #2b4758;background:#0d202b;border-radius:12px;padding:10px 12px}
#afdm .afdm-discovery-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#afdm .afdm-discovery label{font-size:12px;color:#c6d7e1}
#afdm .afdm-discovery select{color:#fff;background:#132d3c;border:1px solid #4c6a7d;border-radius:7px;padding:8px 9px;font-size:12px}
#afdm .afdm-filter-reset{border:1px solid #3c596a;border-radius:8px;background:#122c3a;color:#dceaf1;padding:8px 10px;font-size:12px}
#afdm .afdm-surprise{border:1px solid #efa32d;border-radius:8px;background:#493017;color:#ffce8a;font-weight:800;padding:9px 12px;font-size:13px}
#afdm .afdm-surprise-result{margin:0 0 18px;border:1px solid #b87d2a;border-radius:12px;background:#152a33;padding:13px 16px;color:#f6f9fa}
#afdm .afdm-surprise-result strong{color:#ffbf5d}#afdm .afdm-surprise-result a{display:inline-block;margin:0 9px;color:#ffbe65;text-decoration:underline}
#afdm .afdm-load-more{text-align:center;margin:19px 0 28px}#afdm .afdm-load-more button{border:1px solid #f5a12b;border-radius:9px;background:#342718;color:#ffcc82;font-weight:800;padding:11px 23px}
#afdm .afdm-trailer-btn{border:1px solid #497183;background:#142f40;color:#f6fafd;border-radius:8px;padding:7px 9px;cursor:pointer;font-size:11px;font-weight:750}
#afdm .afdm-card-actions:has(.afdm-trailer-btn){grid-template-columns:1fr 1fr}#afdm .afdm-card-actions .afdm-trailer-btn{grid-column:1 / -1;min-height:32px}
#afdm .afdm-compact-actions{flex-wrap:wrap}
#afdm .afdm-trailer-modal[hidden],#afdm-single .afdm-trailer-modal[hidden]{display:none!important}
#afdm .afdm-trailer-modal,#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 .afdm-trailer-dialog,#afdm-single .afdm-trailer-dialog{width:min(880px,100%);background:#071c29;border:1px solid #45687a;border-radius:14px;padding:14px}
#afdm .afdm-trailer-heading,#afdm-single .afdm-trailer-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}
#afdm .afdm-trailer-heading h2,#afdm-single .afdm-trailer-heading h2{font-size:18px;color:white;margin:0 0 12px}
#afdm .afdm-trailer-close,#afdm-single .afdm-trailer-close{border:1px solid #426070;background:#102c3c;color:#fff;border-radius:8px;padding:8px 12px}
#afdm .afdm-trailer-frame,#afdm-single .afdm-trailer-frame{aspect-ratio:16/9;background:#02070d;border-radius:9px;overflow:hidden}
#afdm .afdm-trailer-frame iframe,#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}}
