/* FilmDizi Pro v1.2 – compatible responsive changes, no visual redesign */
:root{--fd-hero-height:600px}
.fd-hero{min-height:var(--fd-hero-height)}
.fd-hero__slides,.fd-hero__side{height:var(--fd-hero-height)}
.fd-hero__copy{top:30px;bottom:40px;max-width:min(520px,60%);justify-content:center}
.fd-hero__copy h1{font-size:clamp(29px,3.1vw,52px);line-height:1.08;margin:12px 0 15px;overflow-wrap:break-word;text-wrap:balance}
.fd-hero__copy p{font-size:14px;max-width:480px;line-height:1.6;margin:10px 0 14px}
.fd-hero__copy .fd-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:10px;padding-bottom:5px}
.fd-hero__pick{min-height:0}.fd-hero__pick img{height:clamp(66px,6.6vw,88px)}
.fd-ranking__grid{display:grid;grid-template-columns:repeat(10,minmax(135px,1fr));gap:12px;overflow-x:auto;scrollbar-width:thin;padding-bottom:12px}
.fd-rank{padding-left:38px;isolation:isolate}
.fd-rank img{height:174px;position:relative;z-index:2;aspect-ratio:2/3}
.fd-rank__number{font-size:75px;left:0;top:48px;z-index:1;pointer-events:none;letter-spacing:-5px}
.fd-rank__title{font-size:12px;line-height:1.4;min-height:33px;max-width:100%;margin-top:9px}
.fd-rank small{font-size:12px}
.fd-section__icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle}
.fd-custom-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;min-width:22px;min-height:22px}
.fd-svg-icon{width:24px;height:24px;display:block;flex-shrink:0}.fd-uploaded-icon{object-fit:contain}
.fd-quick__icon .fd-svg-icon{width:30px;height:30px}
.fd-genre{color:inherit;background:var(--genre-bg,linear-gradient(145deg,#122633,#0d1924));transition:transform .2s,border-color .2s}
.fd-genre:hover{border-color:var(--genre-color,#08ded5);transform:translateY(-2px)}
.fd-genre-icon{display:flex;align-items:center;justify-content:center;color:var(--genre-color,#08ded5)}
.fd-genre-icon .fd-svg-icon{width:27px;height:27px}
.fd-collection small{max-width:95%;line-height:1.3}
.fd-collection-page{min-height:60vh;padding-bottom:45px}
.fd-collection-results{margin:24px 0 0}
.fd-collection-directory{margin:10px 0 40px}
.fd-collection-directory .fd-collection{min-height:180px}
/* Account, profile and list panels */
.fd-list-tabs{display:flex;gap:9px;overflow-x:auto;margin:10px 0 26px;padding-bottom:10px;scrollbar-width:thin}
.fd-list-tabs button{white-space:nowrap;background:#112330;color:#c6d6e0;border:1px solid #2d4655;border-radius:10px;padding:12px 16px;cursor:pointer;font-weight:700}
.fd-list-tabs button.is-active{color:#052327;background:var(--accent);border-color:var(--accent)}
.fd-list-tabs button span{margin-left:7px;opacity:.7}.fd-list-panel[hidden]{display:none}
.fd-watch-grid{min-height:150px}.fd-watch-item img{aspect-ratio:2/3;height:auto;min-height:190px}
.fd-profile-page{padding-bottom:55px;min-height:60vh}
.fd-profile-login{max-width:630px;text-align:center;margin:65px auto;padding:40px;background:#112633;border:1px solid #304957;border-radius:20px}
.fd-profile-login h1{font-size:38px;margin:8px}.fd-profile-login p{color:#a5bccb;line-height:1.7}.fd-profile-login .fd-btn{margin:8px}
.fd-profile-banner{margin:28px 0 20px;padding:28px;min-height:180px;border:1px solid #284957;border-radius:18px;background:linear-gradient(110deg,#123944,#131f34 75%,#311e3e);display:flex;align-items:center;gap:26px}
.fd-profile-avatar{width:115px;height:115px;border-radius:50%;object-fit:cover;border:3px solid var(--accent);box-shadow:0 0 30px #00e2cb33}
.fd-profile-banner h1{font-size:35px;margin:5px 0 7px}.fd-profile-banner p{color:#acc1cf;margin:0;max-width:580px}
.fd-profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:22px}
.fd-profile-stats a{padding:18px 15px;border:1px solid #294653;background:#10222e;border-radius:12px;text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:5px}
.fd-profile-stats strong{font-size:29px;color:var(--accent)}.fd-profile-stats span{font-size:12px;color:#bdd0dd}
.fd-profile-main{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;align-items:start}
.fd-profile-main .fd-panel{padding:26px}.fd-profile-main h2{font-size:21px}
.fd-profile-help{color:#a8becb;line-height:1.5;font-size:13px}
.fd-profile-form{display:grid;gap:17px;margin-top:20px}.fd-profile-form label{display:grid;gap:7px;font-size:13px;color:#c8d9e3;font-weight:700}
.fd-profile-form input:not([type=file]),.fd-profile-form textarea{border:1px solid #345260;border-radius:9px;background:#081720;color:#fff;padding:12px;font:inherit;width:100%}
.fd-profile-form input[type=file]{font-size:12px;color:#becbd4}.fd-profile-form .fd-btn{justify-self:start}
.fd-profile-notice{border:1px solid #248c7d;background:#0b332f;border-radius:7px;padding:12px;color:#8df1dd}
@media(max-width:1200px){.fd-hero__copy{max-width:65%}.fd-ranking__grid{grid-template-columns:repeat(10,130px)}.fd-rank img{height:160px}}
@media(max-width:940px){.fd-hero,.fd-hero__slides{min-height:0}.fd-hero__slides{height:540px}.fd-hero__side{height:auto}.fd-hero__copy{max-width:72%}.fd-profile-main{grid-template-columns:1fr}}
@media(max-width:650px){.fd-hero__slides{height:510px}.fd-hero__copy{inset:auto 17px 38px;max-width:none}.fd-hero__copy h1{font-size:clamp(27px,7vw,35px)}.fd-hero__copy p{font-size:12px;line-height:1.45;margin:7px 0 8px;max-height:5.8em;overflow:hidden}.fd-hero__pick img{height:63px}.fd-ranking__grid{grid-template-columns:repeat(10,105px)}.fd-rank{padding-left:25px}.fd-rank img{height:130px}.fd-rank__number{font-size:58px;top:28px}.fd-genre-icon .fd-svg-icon{width:23px;height:23px}.fd-profile-banner{padding:19px;gap:14px}.fd-profile-avatar{height:78px;width:78px}.fd-profile-banner h1{font-size:24px}.fd-profile-stats{grid-template-columns:repeat(2,1fr)}.fd-profile-main .fd-panel{padding:18px}.fd-profile-login{margin:28px auto;padding:24px}.fd-watch-grid .fd-watch-item img{height:auto;min-height:0}}
.fd-genre>.fd-genre-icon{color:var(--genre-color,#08ded5)}
