:root{--bg:#070a12;--panel:#0e1420;--panel2:#111827;--line:#223046;--text:#f8fafc;--muted:#93a4b8;--red:#e50914;--blue:#2563eb;--green:#22c55e;--gold:#facc15}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top,#111b2e 0,#070a12 42%,#05070d 100%);color:var(--text);font-family:Inter,system-ui,Segoe UI,Arial,sans-serif}a{color:inherit;text-decoration:none}.container{width:min(1280px,94%);margin:auto}.topbar{position:sticky;top:0;z-index:50;background:rgba(5,7,13,.84);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.06)}.nav{height:72px;display:flex;gap:28px;align-items:center}.logo{font-weight:900;letter-spacing:1px;font-size:23px}.logo span{color:var(--red)}.navlinks{display:flex;gap:20px;font-size:14px;color:#dbe7f5}.navlinks a.active,.navlinks a:hover{color:var(--red)}.search{margin-left:auto;display:flex;align-items:center;background:#111827;border:1px solid #273449;border-radius:999px;padding:9px 14px;min-width:260px}.search input{all:unset;width:100%;font-size:14px}.btn{border:0;border-radius:10px;padding:11px 16px;background:#182235;color:white;cursor:pointer;display:inline-flex;gap:8px;align-items:center}.btn.red{background:linear-gradient(135deg,#f04438,#b91c1c)}.btn:hover{filter:brightness(1.1)}.hero{min-height:560px;position:relative;overflow:hidden}.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.72}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#070a12 0%,rgba(7,10,18,.84) 34%,rgba(7,10,18,.32) 70%,#070a12 100%),linear-gradient(0deg,#070a12 0%,rgba(7,10,18,0) 35%)}.hero-content{position:relative;z-index:2;padding:120px 0 80px;max-width:680px}.hero h1{font-size:72px;line-height:.98;margin:0 0 18px;font-weight:900}.meta{display:flex;gap:13px;flex-wrap:wrap;color:#e5edf7;font-size:14px;margin:12px 0}.badge{background:#162033;border:1px solid #2a3b55;border-radius:7px;padding:4px 8px}.imdb{color:#111;background:var(--gold);font-weight:900}.hero p{color:#d2deee;line-height:1.65}.actions{display:flex;gap:12px;margin-top:24px;flex-wrap:wrap}.section{margin:30px auto}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.section h2{font-size:24px;margin:0}.grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}.card{background:var(--panel);border:1px solid rgba(255,255,255,.07);border-radius:15px;overflow:hidden;position:relative;transition:.18s}.card:hover{transform:translateY(-4px);border-color:#405674}.poster{aspect-ratio:2/3;background:#0b1020;overflow:hidden}.poster img{width:100%;height:100%;object-fit:cover}.card-body{padding:11px}.card-title{font-weight:800;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-sub{color:var(--muted);font-size:12px;margin-top:5px}.rating{position:absolute;right:8px;top:8px;background:rgba(0,0,0,.74);border:1px solid rgba(255,255,255,.15);padding:4px 7px;border-radius:8px;color:var(--gold);font-size:12px;font-weight:800}.detail-hero{position:relative;min-height:430px;border-bottom:1px solid rgba(255,255,255,.08)}.detail-hero .hero-bg{opacity:.5}.detail-wrap{position:relative;z-index:2;padding:58px 0;display:grid;grid-template-columns:240px 1fr;gap:28px}.detail-wrap:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#070a12 0,rgba(7,10,18,.88) 55%,rgba(7,10,18,.4))}.detail-poster img{width:100%;border-radius:14px;border:1px solid rgba(255,255,255,.12)}.detail h1{font-size:42px;margin:0 0 10px}.tabs{display:flex;gap:9px;border-bottom:1px solid #233047;margin:25px 0 20px}.tab{padding:12px 15px;border-bottom:2px solid transparent;color:#cbd5e1}.tab.active{border-color:var(--red);color:white}.player{background:#05070d;border:1px solid #26364f;border-radius:16px;overflow:hidden;margin:18px 0}.player-frame{aspect-ratio:16/9;background:#000;display:flex;align-items:center;justify-content:center}.server-list{display:flex;gap:8px;padding:12px;background:#0b1220}.season-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.episode{display:grid;grid-template-columns:170px 1fr auto;gap:18px;align-items:center;background:#0e1420;border:1px solid #223047;border-radius:14px;padding:12px;margin:12px 0}.episode img{width:170px;height:96px;object-fit:cover;border-radius:10px}.filters{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;background:#0d1422;border:1px solid #223047;border-radius:16px;padding:15px;margin:22px 0}.input,select,textarea{width:100%;background:#0b1220;border:1px solid #2a3850;color:white;border-radius:10px;padding:12px}footer{margin-top:60px;border-top:1px solid rgba(255,255,255,.08);padding:30px 0;color:var(--muted)}.adbox{margin:18px 0;padding:14px;text-align:center;background:#0c1320;border:1px dashed #34445f;border-radius:14px;color:#8fa0b4}.mobile-nav{display:none}@media(max-width:950px){.navlinks{display:none}.search{min-width:0;flex:1}.hero h1{font-size:44px}.grid{grid-template-columns:repeat(3,1fr)}.detail-wrap{grid-template-columns:1fr}.detail-poster{max-width:220px}.filters{grid-template-columns:1fr 1fr}.episode{grid-template-columns:110px 1fr}.episode img{width:110px;height:72px}.episode .btn{grid-column:1/-1;justify-content:center}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#080b13;border-top:1px solid #243248;z-index:80;justify-content:space-around;padding:9px 4px}.mobile-nav a{font-size:12px;color:#cbd5e1}.container{width:94%}body{padding-bottom:58px}}@media(max-width:560px){.grid{grid-template-columns:repeat(2,1fr)}.hero{min-height:500px}.hero-content{padding-top:80px}.filters{grid-template-columns:1fr}.nav{gap:10px}.logo{font-size:18px}.detail h1{font-size:30px}}

.auth-wrap{min-height:70vh;display:grid;place-items:center;padding:50px 0}.auth-card{width:min(460px,94%);background:linear-gradient(180deg,#121826,#0b111c);border:1px solid rgba(255,255,255,.09);border-radius:22px;padding:28px;box-shadow:0 20px 60px rgba(0,0,0,.35)}.auth-card h1{margin-top:0}.auth-card label{display:block;margin:14px 0 7px;color:#cbd5e1}.input{width:100%;box-sizing:border-box;background:#060b13;border:1px solid rgba(255,255,255,.12);border-radius:12px;color:#fff;padding:13px 14px;outline:none}.wide{width:100%;justify-content:center;margin-top:16px}.ghost{background:#111827;border:1px solid rgba(255,255,255,.12)}.alert{padding:12px;border-radius:12px;margin:14px 0}.alert.error{background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.25);color:#fecaca}.dash-page{padding:34px 0 70px}.profile-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;background:radial-gradient(circle at top left,rgba(229,9,20,.26),transparent 35%),#0d1320;border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:28px;margin-bottom:20px}.profile-hero h1{margin:0 0 8px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}.stat,.panel-block{background:#0d1320;border:1px solid rgba(255,255,255,.08);border-radius:20px;padding:20px}.stat b{display:block;font-size:34px}.stat span,.muted{color:#94a3b8}.quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.quick-grid a{background:#111827;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:14px;color:#fff;text-decoration:none}@media(max-width:760px){.profile-hero{display:block}.stats-grid{grid-template-columns:1fr}.nav{gap:10px}.search{display:none}}

/* V11 clean featured hero with poster - based on stable V9 */
.hero-featured{min-height:560px;position:relative;overflow:hidden;display:flex;align-items:center}.hero-featured .hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.62}.hero-featured:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#070a12 0%,rgba(7,10,18,.9) 30%,rgba(7,10,18,.45) 72%,#070a12 100%),linear-gradient(0deg,#070a12 0%,rgba(7,10,18,.1) 42%,rgba(7,10,18,.35) 100%)}.hero-featured-content{position:relative;z-index:2;display:grid;grid-template-columns:285px minmax(0,720px);gap:38px;align-items:center;padding:70px 0 80px}.hero-featured-poster{width:100%;border-radius:18px;overflow:hidden;background:#0b1020;border:1px solid rgba(255,255,255,.18);box-shadow:0 24px 70px rgba(0,0,0,.55)}.hero-featured-poster img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover}.hero-featured-info{max-width:760px}.hero-featured-info h1{font-size:72px;line-height:.98;margin:0 0 18px;font-weight:900}.hero-featured-info p{color:#dbe7f5;line-height:1.65;font-size:16px;max-width:760px}.hero-extra-info{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:16px;margin-top:34px}.hero-extra-info div{background:rgba(8,13,24,.36);border:1px solid rgba(255,255,255,.06);border-radius:14px;padding:13px 14px;backdrop-filter:blur(8px)}.hero-extra-info span{display:block;color:#93a4b8;font-size:13px;margin-bottom:7px}.hero-extra-info b{display:block;color:#fff;font-size:14px;font-weight:700;line-height:1.35}@media(max-width:980px){.hero-featured-content{grid-template-columns:190px 1fr;gap:24px}.hero-featured-info h1{font-size:48px}.hero-extra-info{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.hero-featured{min-height:auto}.hero-featured-content{display:block;padding:34px 0 46px}.hero-featured-poster{width:170px;margin:0 auto 22px}.hero-featured-info{text-align:center}.hero-featured-info h1{font-size:40px}.hero-featured-info .meta,.hero-featured-info .actions{justify-content:center}.hero-extra-info{grid-template-columns:1fr 1fr;text-align:left;margin-top:22px}}

/* V12 frontend listing/search pages */
.listing-page{padding-top:18px}.listing-hero{background:radial-gradient(circle at top left,rgba(229,9,20,.22),transparent 32%),linear-gradient(135deg,#0f172a,#070a12);border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:26px;display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:18px}.listing-hero h1{font-size:42px;margin:4px 0 10px}.eyebrow{margin:0;text-transform:uppercase;letter-spacing:.14em;font-size:12px;color:#f87171;font-weight:900}.listing-count{min-width:145px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:18px;text-align:center}.listing-count b{display:block;font-size:34px;line-height:1}.listing-count span{display:block;color:#93a4b8;margin-top:6px}.listing-page .filters{grid-template-columns:2fr 1fr 1fr 1fr auto;align-items:end}.filter-field label{display:block;color:#93a4b8;font-size:12px;font-weight:800;margin:0 0 7px;text-transform:uppercase;letter-spacing:.06em}.filter-actions{display:flex;gap:9px;align-items:center}.result-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px 0;color:#cbd5e1}.result-bar b{color:white}.listing-grid{margin-top:8px}.pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin:30px 0}.pagination span{color:#cbd5e1;background:#0d1422;border:1px solid #223047;border-radius:12px;padding:11px 16px}.empty-state{text-align:center;background:#0d1422;border:1px solid #223047;border-radius:22px;padding:46px 18px;margin-top:20px}.empty-state h2{margin:0 0 8px}.empty-state p{color:#93a4b8;margin:0 0 18px}@media(max-width:1050px){.listing-page .filters{grid-template-columns:1fr 1fr}.filter-actions{grid-column:1/-1}.wide-field{grid-column:1/-1}}@media(max-width:640px){.listing-hero{display:block}.listing-count{margin-top:16px}.listing-page .filters{grid-template-columns:1fr}.filter-actions{display:grid;grid-template-columns:1fr 1fr}.listing-hero h1{font-size:34px}.result-bar{display:block}.result-bar b{display:block;margin-top:6px}}
.flash{margin-top:18px;background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.35);color:#d7ffe4;padding:13px 16px;border-radius:14px}.actions form{display:inline-flex;margin:0}.actions button.btn{font:inherit;border:0;cursor:pointer}.profile-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.small{font-size:13px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.user-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.user-item-card{display:grid;grid-template-columns:74px 1fr;gap:12px;align-items:center;background:rgba(15,23,42,.72);border:1px solid rgba(148,163,184,.16);border-radius:16px;padding:10px}.user-item-card img{width:74px;height:106px;object-fit:cover;border-radius:12px}.user-item-title{display:block;color:#fff;font-weight:800;text-decoration:none;margin-bottom:5px}.mini-btn{margin-top:8px;background:rgba(239,68,68,.12);color:#fecaca;border:1px solid rgba(239,68,68,.35);border-radius:10px;padding:7px 10px;cursor:pointer}.mini-btn:hover{background:rgba(239,68,68,.2)}@media(max-width:1000px){.user-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.user-list{grid-template-columns:1fr}.profile-hero{align-items:flex-start}.actions form,.actions .btn{width:100%}.actions button.btn{width:100%;justify-content:center}}

/* V14 user action toast */
.site-toast{position:fixed;right:22px;bottom:22px;z-index:99999;background:#132033;color:#fff;border:1px solid rgba(255,255,255,.14);box-shadow:0 18px 50px rgba(0,0,0,.35);border-radius:14px;padding:14px 18px;transform:translateY(20px);opacity:0;pointer-events:none;transition:.22s ease;font-weight:700;max-width:360px}
.site-toast.show{transform:translateY(0);opacity:1}.site-toast.error{background:#3a1118;border-color:rgba(239,68,68,.45)}
button:disabled{opacity:.7;cursor:not-allowed}

/* V15 - User profile lists */
.profile-hero-full{margin-top:34px}.profile-stats-grid .stat{text-decoration:none;color:inherit;display:block}.profile-tabs-block{padding:16px}.profile-tabs{display:flex;gap:10px;flex-wrap:wrap}.profile-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border-radius:14px;background:rgba(15,23,42,.85);border:1px solid rgba(148,163,184,.16);color:#fff;text-decoration:none;font-weight:800}.profile-tabs a:hover{background:rgba(229,9,20,.18);border-color:rgba(229,9,20,.42)}.profile-content-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.profile-poster-card{display:flex;flex-direction:column;align-items:stretch;padding:0;overflow:hidden;background:rgba(15,23,42,.78)}.profile-card-poster{display:block;position:relative;background:#0b1220}.profile-card-poster img{width:100%;height:260px;object-fit:cover;border-radius:0;display:block}.profile-card-body{padding:12px}.profile-poster-card .user-item-title{font-size:15px;line-height:1.25;min-height:38px}.profile-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.profile-card-actions form{margin:0}.mini-open{background:rgba(37,99,235,.14);color:#bfdbfe;border-color:rgba(37,99,235,.35);text-decoration:none}.mini-open:hover{background:rgba(37,99,235,.24)}@media(max-width:1200px){.profile-content-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.profile-card-poster img{height:235px}}@media(max-width:1000px){.profile-content-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-card-poster img{height:220px}}@media(max-width:760px){.profile-content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-card-poster img{height:245px}.profile-tabs a{flex:1 1 calc(50% - 10px)}}@media(max-width:420px){.profile-card-poster img{height:210px}}

/* V16 - Compact posters in user profile favorites/watchlist */
.profile-content-grid{
  grid-template-columns:repeat(auto-fill,minmax(132px,1fr));
  gap:14px;
}
.profile-poster-card{
  border-radius:16px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(15,23,42,.92),rgba(8,13,22,.96));
  border:1px solid rgba(148,163,184,.16);
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}
.profile-card-poster img{
  height:190px;
  width:100%;
  object-fit:cover;
}
.profile-card-body{
  padding:10px;
}
.profile-poster-card .user-item-title{
  font-size:14px;
  line-height:1.25;
  min-height:35px;
  margin-bottom:4px;
}
.profile-poster-card .muted,
.profile-poster-card .small{
  font-size:12px;
  line-height:1.3;
}
.profile-card-actions{
  gap:6px;
  margin-top:8px;
}
.profile-card-actions .mini-btn,
.profile-card-actions .mini-open{
  padding:6px 8px;
  border-radius:9px;
  font-size:12px;
  line-height:1.1;
}
.profile-tabs-block,
.panel-block{
  margin-bottom:18px;
}
#favoriti.panel-block,
#watchlist.panel-block,
#history.panel-block,
#notifications.panel-block{
  padding:18px;
}
.section-head h2{
  margin:0 0 14px;
}
.section-head{
  margin-bottom:12px;
}
@media(max-width:1200px){
  .profile-content-grid{grid-template-columns:repeat(auto-fill,minmax(126px,1fr));}
  .profile-card-poster img{height:180px;}
}
@media(max-width:760px){
  .profile-content-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
  .profile-card-poster img{height:155px;}
  .profile-card-body{padding:8px;}
  .profile-poster-card .user-item-title{font-size:13px;min-height:32px;}
  .profile-card-actions{display:grid;grid-template-columns:1fr;}
  .profile-card-actions .mini-btn,.profile-card-actions .mini-open{width:100%;text-align:center;box-sizing:border-box;}
}
@media(max-width:480px){
  .profile-content-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .profile-card-poster img{height:210px;}
}

/* V17 - FIX: profile favorites/watchlist true compact grid */
.dash-page #favoriti .profile-content-grid,
.dash-page #watchlist .profile-content-grid,
.dash-page #historija .profile-content-grid,
.dash-page #obavjestenja .profile-content-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fill, minmax(145px, 165px)) !important;
  justify-content:start !important;
  align-items:start !important;
  gap:14px !important;
  width:100% !important;
}
.dash-page #favoriti .profile-poster-card,
.dash-page #watchlist .profile-poster-card,
.dash-page #historija .profile-poster-card,
.dash-page #obavjestenja .profile-poster-card{
  display:block !important;
  width:100% !important;
  max-width:165px !important;
  min-width:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border-radius:15px !important;
  background:linear-gradient(180deg,rgba(15,23,42,.96),rgba(8,13,22,.98)) !important;
  border:1px solid rgba(148,163,184,.18) !important;
}
.dash-page #favoriti .profile-card-poster,
.dash-page #watchlist .profile-card-poster,
.dash-page #historija .profile-card-poster,
.dash-page #obavjestenja .profile-card-poster{
  display:block !important;
  width:100% !important;
  background:#0b1220 !important;
}
.dash-page #favoriti .profile-card-poster img,
.dash-page #watchlist .profile-card-poster img,
.dash-page #historija .profile-card-poster img,
.dash-page #obavjestenja .profile-card-poster img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:2/3 !important;
  object-fit:cover !important;
  border-radius:0 !important;
}
.dash-page #favoriti .profile-card-body,
.dash-page #watchlist .profile-card-body,
.dash-page #historija .profile-card-body,
.dash-page #obavjestenja .profile-card-body{
  padding:9px !important;
}
.dash-page #favoriti .user-item-title,
.dash-page #watchlist .user-item-title,
.dash-page #historija .user-item-title,
.dash-page #obavjestenja .user-item-title{
  display:block !important;
  font-size:13px !important;
  line-height:1.25 !important;
  min-height:34px !important;
  margin:0 0 5px !important;
  white-space:normal !important;
  overflow:hidden !important;
}
.dash-page #favoriti .profile-card-body p,
.dash-page #watchlist .profile-card-body p,
.dash-page #historija .profile-card-body p,
.dash-page #obavjestenja .profile-card-body p{
  margin:0 !important;
  font-size:11px !important;
  line-height:1.35 !important;
}
.dash-page #favoriti .profile-card-actions,
.dash-page #watchlist .profile-card-actions,
.dash-page #historija .profile-card-actions,
.dash-page #obavjestenja .profile-card-actions{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:6px !important;
  margin-top:8px !important;
}
.dash-page #favoriti .profile-card-actions form,
.dash-page #watchlist .profile-card-actions form,
.dash-page #historija .profile-card-actions form,
.dash-page #obavjestenja .profile-card-actions form{
  margin:0 !important;
}
.dash-page #favoriti .profile-card-actions .mini-btn,
.dash-page #watchlist .profile-card-actions .mini-btn,
.dash-page #historija .profile-card-actions .mini-btn,
.dash-page #obavjestenja .profile-card-actions .mini-btn,
.dash-page #favoriti .profile-card-actions .mini-open,
.dash-page #watchlist .profile-card-actions .mini-open,
.dash-page #historija .profile-card-actions .mini-open,
.dash-page #obavjestenja .profile-card-actions .mini-open{
  display:block !important;
  width:100% !important;
  box-sizing:border-box !important;
  text-align:center !important;
  padding:6px 8px !important;
  font-size:12px !important;
  line-height:1.15 !important;
  border-radius:9px !important;
}
@media(max-width:640px){
  .dash-page #favoriti .profile-content-grid,
  .dash-page #watchlist .profile-content-grid,
  .dash-page #historija .profile-content-grid,
  .dash-page #obavjestenja .profile-content-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:10px !important;
  }
  .dash-page #favoriti .profile-poster-card,
  .dash-page #watchlist .profile-poster-card,
  .dash-page #historija .profile-poster-card,
  .dash-page #obavjestenja .profile-poster-card{
    max-width:none !important;
  }
}
@media(max-width:420px){
  .dash-page #favoriti .profile-content-grid,
  .dash-page #watchlist .profile-content-grid,
  .dash-page #historija .profile-content-grid,
  .dash-page #obavjestenja .profile-content-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}

/* V18 - clean profile dashboard redesign */
.profile-dashboard-page{
  width:min(1280px,94%) !important;
  margin:0 auto !important;
  padding:34px 0 72px !important;
}
.profile-top-card{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:20px !important;
  margin:0 0 20px !important;
  padding:28px !important;
  border-radius:24px !important;
  border:1px solid rgba(148,163,184,.18) !important;
  background:radial-gradient(circle at top left,rgba(229,9,20,.28),transparent 36%),linear-gradient(135deg,rgba(15,23,42,.96),rgba(8,13,22,.98)) !important;
}
.profile-eyebrow{margin:0 0 8px;color:#f87171;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.14em}
.profile-top-card h1{margin:0 0 10px !important;font-size:34px !important;line-height:1.1 !important}
.profile-top-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.profile-stat-grid-v18{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:14px !important;
  margin:0 0 18px !important;
}
.profile-stat-grid-v18 a{
  display:block !important;
  min-height:106px !important;
  padding:20px !important;
  border-radius:20px !important;
  background:rgba(15,23,42,.72) !important;
  border:1px solid rgba(148,163,184,.16) !important;
  color:#fff !important;
  text-decoration:none !important;
}
.profile-stat-grid-v18 b{display:block;font-size:34px;line-height:1;margin-bottom:9px}
.profile-stat-grid-v18 span{color:#a8bdd6;font-size:15px}
.profile-tabs-v18{
  display:flex !important;
  gap:10px !important;
  flex-wrap:wrap !important;
  margin:0 0 18px !important;
  padding:14px !important;
  border-radius:18px !important;
  background:rgba(15,23,42,.55) !important;
  border:1px solid rgba(148,163,184,.14) !important;
}
.profile-tabs-v18 a{
  display:inline-flex !important;
  min-height:42px !important;
  align-items:center !important;
  justify-content:center !important;
  padding:10px 16px !important;
  border-radius:13px !important;
  background:#111827 !important;
  border:1px solid rgba(148,163,184,.16) !important;
  color:#fff !important;
  text-decoration:none !important;
  font-weight:800 !important;
}
.profile-tabs-v18 a:hover{background:rgba(229,9,20,.18) !important;border-color:rgba(229,9,20,.45) !important}
.profile-section-v18{
  width:100% !important;
  margin:0 0 20px !important;
  padding:20px !important;
  border-radius:22px !important;
  background:rgba(13,19,32,.88) !important;
  border:1px solid rgba(148,163,184,.16) !important;
  overflow:visible !important;
}
.profile-section-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  margin:0 0 16px !important;
}
.profile-section-head h2{margin:0 !important;font-size:24px !important}
.profile-section-head span{color:#93a4b8 !important;font-size:13px !important}
.profile-grid-cards{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(138px,1fr)) !important;
  gap:16px !important;
  width:100% !important;
  align-items:start !important;
}
.profile-mini-card{
  min-width:0 !important;
  width:100% !important;
  border-radius:16px !important;
  overflow:hidden !important;
  background:linear-gradient(180deg,rgba(15,23,42,.96),rgba(8,13,22,.98)) !important;
  border:1px solid rgba(148,163,184,.18) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.22) !important;
}
.profile-mini-poster{display:block !important;width:100% !important;background:#080d18 !important;aspect-ratio:2/3 !important;overflow:hidden !important}
.profile-mini-poster img{display:block !important;width:100% !important;height:100% !important;object-fit:cover !important;border:0 !important;border-radius:0 !important}
.profile-mini-body{padding:10px !important}
.profile-mini-title{
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  min-height:36px !important;
  color:#fff !important;
  font-size:14px !important;
  line-height:1.28 !important;
  font-weight:900 !important;
  text-decoration:none !important;
  margin:0 0 6px !important;
}
.profile-mini-meta{font-size:11px !important;color:#93a4b8 !important;line-height:1.35 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important}
.profile-mini-actions{display:grid !important;grid-template-columns:1fr !important;gap:7px !important;margin-top:10px !important}
.profile-mini-actions form{margin:0 !important}
.profile-open,.profile-remove{
  display:block !important;
  width:100% !important;
  box-sizing:border-box !important;
  text-align:center !important;
  border-radius:10px !important;
  padding:7px 9px !important;
  font-size:12px !important;
  line-height:1.15 !important;
  font-weight:800 !important;
  cursor:pointer !important;
  text-decoration:none !important;
}
.profile-open{background:rgba(37,99,235,.16) !important;border:1px solid rgba(37,99,235,.38) !important;color:#bfdbfe !important}
.profile-remove{background:rgba(239,68,68,.12) !important;border:1px solid rgba(239,68,68,.35) !important;color:#fecaca !important}
.profile-empty{padding:20px;border-radius:16px;background:rgba(15,23,42,.6);border:1px dashed rgba(148,163,184,.2);color:#93a4b8}
.quick-grid-v18{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.quick-grid-v18 a{display:block;background:#111827;border:1px solid rgba(148,163,184,.16);border-radius:14px;padding:14px;color:#fff;text-decoration:none;font-weight:800}
@media(max-width:1000px){
  .profile-stat-grid-v18{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .profile-grid-cards{grid-template-columns:repeat(auto-fill,minmax(130px,1fr)) !important;gap:13px !important}
}
@media(max-width:640px){
  .profile-top-card{display:block !important;padding:22px !important}
  .profile-top-actions{justify-content:flex-start;margin-top:16px}
  .profile-stat-grid-v18{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important}
  .profile-stat-grid-v18 a{min-height:92px !important;padding:16px !important}
  .profile-tabs-v18 a{flex:1 1 calc(50% - 10px) !important}
  .profile-section-v18{padding:14px !important;border-radius:18px !important}
  .profile-grid-cards{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:10px !important}
  .profile-mini-body{padding:8px !important}
  .profile-mini-title{font-size:12px !important;min-height:32px !important}
  .profile-mini-meta{font-size:10px !important}
  .profile-open,.profile-remove{font-size:11px !important;padding:6px 7px !important}
}
@media(max-width:420px){
  .profile-grid-cards{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
