/* ══════════════════════════════════════════════════════════════
   style2.css — "Style 2" (white design)
   Loaded ONLY when Admin > Site Settings > Style = Style 2.
   Every rule is scoped with html.style2 so Style 1 is untouched.
   White backgrounds everywhere, dark readable text, cloud logo.
   ══════════════════════════════════════════════════════════════ */

html.style2{
  --bg:#ffffff;--bg-2:#f6f7fd;
  --card:#ffffff;--card-h:#f6f7ff;
  --border:#e3e6f5;--border-p:rgba(99,102,241,.45);
  --text:#1b1f4a;--muted:#4b5486;--faint:#7a82ad;
  --shadow:0 10px 34px rgba(60,70,160,.12);
  --glow:0 10px 30px rgba(99,102,241,.16);
  --btn-shadow:0 6px 18px rgba(99,102,241,.30);
  --page-bg:#ffffff;
  --font-d:'Poppins','Space Grotesk','Segoe UI',sans-serif;
  --font-b:'Inter','Poppins','Segoe UI',sans-serif;
  color-scheme:light;
  background:#fff!important;
}
html.style2::before{display:none!important;}
html.style2 body{background:#fff!important;color:var(--text)!important;}
html.style2 body::before{display:none!important;}
html.style2 .hero-orb{display:none!important;}
html.style2 ::-webkit-scrollbar-track{background:#f1f3fb;}
html.style2 ::selection{background:#dfe4ff;color:#1b1f4a;}

/* ── generic text: always dark on white ── */
html.style2 h1,html.style2 h2,html.style2 h3,html.style2 h4,html.style2 h5,html.style2 h6,
html.style2 label,html.style2 th,html.style2 td,html.style2 p,html.style2 li,
html.style2 .page-title,html.style2 .table-head h3,html.style2 .settings-head,
html.style2 .form-label{color:var(--text);}
html.style2 .page-sub,html.style2 .text-muted,html.style2 small{color:var(--muted);}
html.style2 a{color:inherit;}
html.style2 .text-grad,html.style2 .hp-h1{
  background:linear-gradient(90deg,#2563eb,#7c3aed 55%,#db2777);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;}

/* ── cards / boxes ── */
html.style2 .card,html.style2 .stat-card,html.style2 .table-wrap,html.style2 .settings-card,
html.style2 .gen-card,html.style2 .chart-card,html.style2 .feature-card,html.style2 .auth-card,
html.style2 .dl-card,html.style2 .hp-fcard,html.style2 .hp-cta-box,html.style2 .sidebar-profile-box{
  background:#fff!important;border:1px solid var(--border)!important;color:var(--text);
  box-shadow:0 8px 28px rgba(60,70,160,.09)!important;backdrop-filter:none!important;}
html.style2 .card:hover,html.style2 .hp-fcard:hover{border-color:#b9c0f5!important;box-shadow:0 14px 36px rgba(99,102,241,.16)!important;}
html.style2 .pt-box{box-shadow:0 8px 24px rgba(60,70,160,.10)!important;}
html.style2 .settings-head,html.style2 .table-head{border-bottom:1px solid var(--border);}
html.style2 .stats-section,html.style2 .hp-stats{background:#f7f8ff!important;border-color:var(--border)!important;}
html.style2 .stat-card .sc-t,html.style2 .stat-card .sc-n,html.style2 .stat-card .stat-card-val{color:var(--text)!important;}
html.style2 .stat-card .sc-s,html.style2 .stat-card .stat-card-lbl{color:var(--muted)!important;}

/* ── forms ── */
html.style2 .form-control,html.style2 .field-icon-wrap,html.style2 input[type=text],html.style2 input[type=email],
html.style2 input[type=password],html.style2 input[type=number],html.style2 input[type=url],html.style2 input[type=search],
html.style2 select,html.style2 textarea{
  background:#f8f9ff!important;border:1.5px solid #d9ddf3!important;color:var(--text)!important;border-radius:12px;}
html.style2 .form-control:focus,html.style2 input:focus,html.style2 select:focus,html.style2 textarea:focus{
  background:#fff!important;border-color:#6366f1!important;box-shadow:0 0 0 4px rgba(99,102,241,.14)!important;outline:none;}
html.style2 input::placeholder,html.style2 textarea::placeholder{color:#8a91b8!important;}
html.style2 select option{background:#fff;color:#1b1f4a;}
html.style2 input[type=color]{background:#fff!important;}
html.style2 .field-icon-wrap i,html.style2 .field-icon{color:#6366f1;}

/* ── buttons: keep white text on coloured gradients ── */
html.style2 .btn-primary,html.style2 .btn-danger,html.style2 .btn-success,html.style2 .nb,
html.style2 .dl-btn-1,html.style2 .dl-btn-2,html.style2 .dl-btn-3{color:#fff!important;}
html.style2 .btn-ghost,html.style2 .btn-outline,html.style2 .btn-secondary{
  background:#fff!important;border:1.5px solid #cfd5f3!important;color:#3b3f8f!important;box-shadow:none;}
html.style2 .btn-ghost:hover,html.style2 .btn-outline:hover,html.style2 .btn-secondary:hover{background:#f1f3ff!important;border-color:#a9b1ee!important;}

/* ── alerts / badges (darker text so they read on white) ── */
html.style2 .alert-error{background:#fef2f2;border-color:#fecaca;color:#b91c1c;}
html.style2 .alert-success{background:#ecfdf5;border-color:#a7f3d0;color:#047857;}
html.style2 .alert-info{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8;}
html.style2 .alert-warn{background:#fffbeb;border-color:#fde68a;color:#92400e;}
html.style2 .badge-success{background:#ecfdf5;color:#047857;}
html.style2 .badge-danger{background:#fef2f2;color:#b91c1c;}
html.style2 .badge-warn{background:#fffbeb;color:#92400e;}
html.style2 .badge-info{background:#eff6ff;color:#1d4ed8;}
html.style2 .badge-purple{background:#f3efff;color:#6d28d9;}
html.style2 .badge-muted{background:#eef0fa;color:#4b5486;}

/* ── tables ── */
html.style2 table{color:var(--text);}
html.style2 th{background:#f4f6ff!important;color:#3b4180!important;border-bottom:1px solid var(--border)!important;}
html.style2 td{border-bottom:1px solid #eceffa!important;color:var(--text);}
html.style2 tr:hover td{background:#f8f9ff!important;}
html.style2 code,html.style2 pre{background:#f1f3ff;color:#4338ca;border-radius:6px;}

/* ── header / navbar ── */
html.style2 .navbar{
  background:#fff!important;border-bottom:1px solid var(--border)!important;
  box-shadow:0 4px 20px rgba(60,70,160,.07);}
html.style2 .navbar .nav-links a:not(.nb){color:var(--text);}

/* ── LOGO (cloud icon + first letter, no square box) ── */
html.style2 .brand-cloudlogo{gap:8px;}
html.style2 .brand-cloud{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50px;height:35px;flex-shrink:0;
  filter:drop-shadow(0 4px 8px rgba(99,102,241,.28));}
html.style2 .brand-cloud svg{width:100%;height:100%;display:block;}
html.style2 .brand-cloud-letter{position:absolute;left:0;right:0;top:50%;transform:translateY(-38%);text-align:center;
  font-family:'Poppins',var(--font-d);font-weight:700;font-size:1.02rem;line-height:1;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.18);}
html.style2 .brand-cloudlogo .brand-name{font-weight:700;}
html.style2 .brand-cloudlogo .brand-tag{color:var(--faint);}
html.style2 .brand-sm .brand-cloud{width:42px;height:29px;}
html.style2 .brand-sm .brand-cloud-letter{font-size:.86rem;}
html.style2 .brand-lg .brand-cloud{width:92px;height:64px;}
html.style2 .brand-lg .brand-cloud-letter{font-size:1.9rem;}
html.style2 .footer .brand-cloudlogo .brand-cloud{width:60px;height:42px;}
html.style2 .footer .brand-cloudlogo .brand-cloud-letter{font-size:1.25rem;}
html.style2 .brand-lg.brand-cloudlogo{flex-direction:column;gap:6px;}

/* ── footer ── */
html.style2 .footer{background:#f7f8ff!important;border-top:1px solid var(--border)!important;color:var(--muted);}
html.style2 .footer-desc,html.style2 .footer-text{color:var(--muted)!important;}
html.style2 .footer-badge{background:#fff!important;border:1px solid var(--border)!important;color:#3b4180!important;}
html.style2 .footer-divider{background:var(--border)!important;}

/* ── login / register ── */
html.style2 .auth-wrap{background:#fff;}
html.style2 .auth-card{border-radius:24px!important;}

/* ── panels: sidebar + main (admin & user) ── */
html.style2 .dash-main{background:#f7f8fd!important;}
html.style2 .sidebar{background:#fff!important;border-right:1px solid var(--border)!important;box-shadow:6px 0 26px rgba(60,70,160,.06);}
html.style2 .sidebar-logo{border-bottom:1px solid var(--border)!important;}
html.style2 .sidebar-foot{border-top:1px solid var(--border)!important;}
html.style2 .nav-item{color:#3b4180;}
html.style2 .nav-item:hover{background:#f1f3ff!important;border-color:#c7cdf5!important;color:#1b1f4a!important;box-shadow:none!important;}
html.style2 .nav-item.active{background:#eef0ff!important;border-color:#a9b1ee!important;color:#4338ca!important;box-shadow:0 4px 14px rgba(99,102,241,.14)!important;}
html.style2 .nav-sec-label{color:#7a82ad!important;}
html.style2 .sidebar-profile-name{color:var(--text)!important;}
html.style2 .sidebar-profile-info,html.style2 .sidebar-profile-role{color:var(--muted)!important;}
html.style2 .hamburger{background:#fff!important;border:1px solid var(--border)!important;}
html.style2 .hamburger span{background:#3b4180!important;}
html.style2 .sidebar-overlay{background:rgba(27,31,74,.35);}
html.style2 .page-header{border-bottom-color:var(--border)!important;}
html.style2 .page-title{color:var(--text)!important;}

/* phone bottom bar + menu cards (panel_theme.css) */
html.style2 .mbar{background:rgba(255,255,255,.97)!important;border:1px solid var(--border)!important;box-shadow:0 10px 30px rgba(60,70,160,.2)!important;}
html.style2 .mbar .mb-i{color:#4b5486!important;}
@media(max-width:767px){
  html.style2 .sidebar-nav .nav-item{background:#fff!important;border:1px solid var(--border)!important;border-top:4px solid var(--c,#7c5cff)!important;color:#1b1f4a!important;box-shadow:0 6px 16px rgba(60,70,160,.10)!important;}
  html.style2 .sidebar-nav .nav-item:hover,html.style2 .sidebar-nav .nav-item:active,html.style2 .sidebar-nav .nav-item.active{
    background:#f3f4ff!important;color:#1b1f4a!important;box-shadow:0 0 0 1px var(--c,#7c5cff),0 8px 20px rgba(99,102,241,.18)!important;}
}

/* ── modals / popups ── */
html.style2 .gdb-pop,html.style2 .modal,html.style2 .modal-box,html.style2 .ld-mbox{background:#fff!important;border:1px solid var(--border)!important;color:var(--text)!important;box-shadow:0 20px 60px rgba(40,45,120,.25)!important;}
html.style2 .gdb-pop-title,html.style2 .ld-mbox h3{color:var(--text)!important;}
html.style2 .gdb-pop-msg,html.style2 .ld-mbox p{color:var(--muted)!important;}

/* ── file page (file/index.php) ── */
html.style2 .dl-card{border-radius:26px!important;}
html.style2 .finfo-box,html.style2 .share-copy-box,html.style2 .mb,html.style2 .ur,html.style2 .db-g{
  background:#fff!important;border:1px solid var(--border)!important;color:var(--text)!important;box-shadow:0 4px 14px rgba(60,70,160,.06);}
html.style2 .finfo-box .flbl{color:var(--muted)!important;}
html.style2 .share-copy-box input,html.style2 .ur input{background:#f4f6ff!important;color:#1b1f4a!important;border:1px solid #e3e6f5!important;}
html.style2 .site-note-box{background:#f6f7ff!important;border:1px solid #d9ddf3!important;color:#3b4180!important;}
html.style2 .lvp-card{background:#fff!important;border:1px solid var(--border)!important;color:var(--text)!important;}
html.style2 .fval-size{color:#d97706!important;}html.style2 .fval-type{color:#16a34a!important;}
html.style2 .fval-date{color:#0891b2!important;}html.style2 .fval-share{color:#7c3aed!important;}
html.style2 .fval-dl{color:#e11d48!important;}
html.style2 .gps-m{background:#eef0ff!important;color:#4338ca!important;border-color:#d4d9fb!important;}

/* ═══════════════════════════════════════════════
   "Login To Download" / Connect page  (ld/index.php)
   ═══════════════════════════════════════════════ */
html.style2 .ld-page{background:#fff;padding-top:92px;}
html.style2 .ld-card{
  background:#fff!important;color:var(--text)!important;border:1px solid var(--border)!important;
  border-radius:30px!important;box-shadow:0 18px 60px rgba(60,70,160,.14)!important;position:relative;overflow:hidden;}
html.style2 .ld-card::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;
  background:linear-gradient(90deg,#3b82f6,#8b5cf6,#ec4899);}
html.style2 .ld-card.ld-wide{border-color:var(--border)!important;}
html.style2 .ld-ico{background:linear-gradient(135deg,#e0e7ff,#fce7f3)!important;color:#4f46e5!important;border-radius:26px!important;box-shadow:0 10px 26px rgba(99,102,241,.22)!important;}
html.style2 .ld-title{color:var(--text)!important;font-family:'Poppins',sans-serif!important;}
html.style2 .ld-sub{color:var(--muted)!important;}html.style2 .ld-sub b{color:var(--text)!important;}
html.style2 .ld-steps:before{background:#dfe3f7!important;height:3px;border-radius:3px;}
html.style2 .ld-step{color:#7a82ad!important;font-weight:600;}
html.style2 .ld-step i{background:#fff!important;border:3px solid #d3d8f3!important;color:#7a82ad!important;}
html.style2 .ld-step.on{color:#1b1f4a!important;}
html.style2 .ld-step.on i{background:linear-gradient(135deg,#3b82f6,#8b5cf6)!important;border-color:#c7d2fe!important;color:#fff!important;box-shadow:0 6px 16px rgba(99,102,241,.35)!important;}
html.style2 .ld-lbl{color:#3b4180!important;font-weight:600;}
html.style2 .ld-input{background:#f8f9ff!important;border:2px solid #d9ddf3!important;color:#1b1f4a!important;}
html.style2 .ld-input::placeholder{color:#8a91b8!important;}
html.style2 .ld-input:focus{background:#fff!important;border-color:#6366f1!important;box-shadow:0 0 0 4px rgba(99,102,241,.14)!important;}
html.style2 .ld-btn{color:#fff!important;border-radius:16px;font-weight:600;}
html.style2 .ld-hint{color:var(--text)!important;}
html.style2 .ld-dash{border-top:2px dashed #d3d8f3!important;}
html.style2 .ld-tut-title{color:var(--text)!important;}
html.style2 .ld-tut{border:1px solid var(--border);box-shadow:0 10px 30px rgba(60,70,160,.12);}
html.style2 .ld-alert{background:#ecfdf5!important;color:#047857!important;border-left-color:#10b981!important;}
html.style2 .ld-alert .ld-dot{background:#d1fae5!important;}
html.style2 .ld-alert.err{background:#fef2f2!important;color:#b91c1c!important;border-left-color:#ef4444!important;}
html.style2 .ld-alert.err .ld-dot{background:#fee2e2!important;}
html.style2 .ld-info{color:var(--muted)!important;}
html.style2 .ld-mcancel{color:#3b4180!important;border-color:#cfd5f3!important;}
html.style2 .ld-modal{background:rgba(27,31,74,.45)!important;}
/* extra trust strip shown only in Style 2 */
.ld-trust{display:none;}
html.style2 .ld-trust{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 auto 22px;}
html.style2 .ld-trust span{display:inline-flex;align-items:center;gap:6px;font-size:.74rem;font-weight:700;padding:5px 12px;border-radius:99px;
  background:#f4f6ff;border:1px solid #dfe3f7;color:#3b4180;}
html.style2 .ld-trust span i{color:#6366f1;}
html.style2 .ld-trust span:nth-child(2) i{color:#10b981;}
html.style2 .ld-trust span:nth-child(3) i{color:#ec4899;}

/* ═══════════════════════════════════════════════
   HOME PAGE — Style 2 only extra sections
   ═══════════════════════════════════════════════ */
.s2-only{display:none;}
html.style2 .s2-only{display:block;}
html.style2 .s1-only{display:none!important;}
html.style2 .hp-hero{background:linear-gradient(180deg,#f3f5ff 0%,#fff 100%);}
html.style2 .hp-badge{background:#eef0ff;border:1px solid #d4d9fb;color:#4338ca;}
html.style2 .hp-dot{background:#6366f1;}
html.style2 .hp-sub,html.style2 .hp-fsub,html.style2 .hp-slbl,html.style2 .hp-fcard p,html.style2 .hp-cta-box p{color:var(--muted)!important;}
html.style2 .hp-snum{background:linear-gradient(135deg,#2563eb,#7c3aed);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
html.style2 .hp-ftitle,html.style2 .hp-fcard h3,html.style2 .hp-cta-box h2{color:var(--text)!important;}

.s2-sec{padding:64px 20px;max-width:1100px;margin:0 auto;text-align:center;}
.s2-sec h2{font-family:'Poppins',sans-serif;font-size:clamp(1.5rem,3vw,2.1rem);font-weight:800;color:#1b1f4a;margin-bottom:8px;}
.s2-sec .s2-sub{color:#4b5486;font-size:.95rem;margin-bottom:34px;}
.s2-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;counter-reset:s2;}
.s2-step{position:relative;background:#fff;border:1px solid #e3e6f5;border-radius:22px;padding:30px 20px 24px;box-shadow:0 8px 26px rgba(60,70,160,.08);text-align:center;}
.s2-step::before{counter-increment:s2;content:counter(s2);position:absolute;top:-16px;left:50%;transform:translateX(-50%);width:34px;height:34px;border-radius:50%;
  display:grid;place-items:center;font-weight:800;font-size:.9rem;color:#fff;background:linear-gradient(135deg,#3b82f6,#8b5cf6);box-shadow:0 6px 14px rgba(99,102,241,.4);}
.s2-step i{font-size:1.6rem;color:#6366f1;margin-bottom:12px;display:block;}
.s2-step h3{font-size:1rem;font-weight:700;color:#1b1f4a;margin-bottom:6px;}
.s2-step p{font-size:.85rem;color:#4b5486;}
.s2-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;}
.s2-tile{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e3e6f5;border-radius:18px;padding:14px 16px;text-align:left;box-shadow:0 4px 16px rgba(60,70,160,.06);transition:transform .15s,box-shadow .15s;}
.s2-tile:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(99,102,241,.16);}
.s2-tile .ti{flex:0 0 42px;height:42px;border-radius:13px;display:grid;place-items:center;color:#fff;font-size:1.05rem;}
.s2-tile b{display:block;font-size:.9rem;color:#1b1f4a;}
.s2-tile small{display:block;font-size:.74rem;color:#4b5486;}
.s2-band{background:#f7f8ff;border-top:1px solid #e3e6f5;border-bottom:1px solid #e3e6f5;}
.s2-faq{max-width:760px;margin:0 auto;text-align:left;display:grid;gap:10px;}
.s2-faq details{background:#fff;border:1px solid #e3e6f5;border-radius:16px;padding:14px 18px;box-shadow:0 4px 14px rgba(60,70,160,.05);}
.s2-faq summary{cursor:pointer;font-weight:600;color:#1b1f4a;font-size:.95rem;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px;}
.s2-faq summary::-webkit-details-marker{display:none;}
.s2-faq summary::after{content:"+";font-weight:700;color:#6366f1;font-size:1.2rem;}
.s2-faq details[open] summary::after{content:"−";}
.s2-faq p{margin-top:10px;color:#4b5486;font-size:.88rem;line-height:1.6;}
.s2-cta{margin:0 auto 10px;max-width:760px;padding:40px 24px;border-radius:28px;text-align:center;color:#fff;
  background:linear-gradient(135deg,#3b82f6,#6366f1 55%,#8b5cf6);box-shadow:0 20px 50px rgba(99,102,241,.35);}
.s2-cta h2{color:#fff!important;font-size:1.7rem;margin-bottom:8px;}
.s2-cta p{color:#e0e7ff;margin-bottom:20px;font-size:.95rem;}
.s2-cta a{display:inline-flex;align-items:center;gap:8px;background:#fff;color:#4338ca!important;font-weight:700;padding:13px 26px;border-radius:14px;text-decoration:none;box-shadow:0 8px 20px rgba(0,0,0,.15);}
@media(max-width:600px){.s2-sec{padding:44px 16px;}.s2-steps{gap:26px;}}


/* ═══ Style 2 icon basics ═══ */
html.style2 .s2ic{display:inline-block;vertical-align:middle;flex:none;}
html.style2 .s2-step .s2-sti{color:#6366f1;margin-bottom:12px;display:block;margin-inline:auto;}
html.style2 .s2-tile .ti .s2ic{color:#fff;}
html.style2 .ld-ico .s2ic{color:#4f46e5;}
html.style2 .ld-trust span .s2ic{color:#6366f1;}
html.style2 .ld-trust span:nth-child(2) .s2ic{color:#10b981;}
html.style2 .ld-trust span:nth-child(3) .s2ic{color:#ec4899;}
html.style2 .hero-chips .s2ic{color:#6366f1;}
html.style2 .s2-chips .s2ic{color:#6366f1;vertical-align:-2px;margin-right:2px;}
html.style2 .s2-chips span:nth-child(2) .s2ic{color:#f59e0b;}
html.style2 .s2-chips span:nth-child(3) .s2ic{color:#ec4899;}
.t1{background:linear-gradient(135deg,#f59e0b,#f97316)}.t2{background:linear-gradient(135deg,#10b981,#059669)}
.t3{background:linear-gradient(135deg,#f43f5e,#e11d48)}.t4{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}
.t5{background:linear-gradient(135deg,#06b6d4,#0284c7)}

/* ═══ File page — Style 2 info card (same look as the New File Page preview) ═══ */
html.style2 .s2f{border:1px solid #e3e6f5;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 6px 24px rgba(60,70,160,.08);margin-bottom:14px;}
html.style2 .s2f-head{display:flex;gap:14px;align-items:center;padding:16px;background:linear-gradient(135deg,#eef2ff,#fdf2f8);}
html.style2 .s2f-ficon{flex:0 0 56px;height:56px;border-radius:16px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#3b82f6,#8b3cf0);box-shadow:0 8px 22px rgba(99,102,241,.4);}
html.style2 .s2f-hmain{min-width:0;flex:1;}
html.style2 .s2f-hmain .fname-plain{text-align:left!important;margin-bottom:0!important;font-size:1rem!important;}
html.style2 .s2f-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
html.style2 .s2f-tag{display:inline-flex;align-items:center;gap:5px;font-size:.66rem;font-weight:700;padding:3px 10px;border-radius:99px;background:#fff;border:1px solid #e3e6f5;color:#4b5486;}
html.style2 .s2f-tag.ok{color:#047857;background:#ecfdf5;border-color:#a7f3d0;}
html.style2 .s2f .fname-line{margin:0!important;}
.s2f-grid{display:none;}
html.style2 .s2f-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:14px;}
html.style2 .ld-card>.s2f-grid{padding:0;margin-bottom:16px;}
@media(min-width:768px){html.style2 .s2f-grid{grid-template-columns:repeat(4,1fr);}}
html.style2 .s2f-i{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #e3e6f5;border-radius:16px;background:#fff;min-width:0;text-align:left;}
html.style2 .s2f-i.wide{grid-column:1/-1;}
html.style2 .s2f-i .t{flex:0 0 38px;height:38px;border-radius:12px;display:grid;place-items:center;color:#fff;box-shadow:0 4px 10px rgba(60,70,160,.18);}
html.style2 .s2f-i small{display:block;font-size:.6rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#4b5486;}
html.style2 .s2f-i b{display:block;font-size:.9rem;font-style:normal;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
html.style2 .s2f-i b a{color:inherit;}
html.style2 .s2f-copy{display:flex;align-items:center;gap:8px;margin:0 14px 14px;border:1.5px dashed #c7cdf5;border-radius:16px;padding:6px 6px 6px 12px;background:#f8f9ff;}
html.style2 .s2f-copy .s2f-lk{color:#6d28d9;}
html.style2 .s2f-copy input{flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;color:#1b1f4a!important;font-size:.8rem;outline:0;padding:0!important;}
html.style2 .s2f-copy button{display:flex;align-items:center;gap:6px;height:38px;border:0;border-radius:12px;padding:0 16px;background:linear-gradient(135deg,#3b82f6,#6366f1);color:#fff;font-weight:700;font-size:.76rem;cursor:pointer;text-transform:uppercase;}
html.style2 .s2f-copy button .s2ic{color:#fff;}
html.style2 .idm-tip{background:linear-gradient(135deg,rgba(59,130,246,.95),rgba(139,92,246,.95))!important;border-radius:18px!important;}
html.style2 .idm-tip span{color:#fff!important;}html.style2 .idm-tip b{color:#fef08a!important;}
html.style2 .idm-tip .s2ic{vertical-align:-3px;color:#fde047;}

/* ═══ LD page extras (Style 2) ═══ */
html.style2 .ld-sep{color:#e11d48!important;font-weight:800;letter-spacing:.12em!important;}
html.style2 .ld-sep:before,html.style2 .ld-sep:after{background:linear-gradient(90deg,transparent,#d3d8f3,transparent)!important;}
html.style2 .ld-note404{background:#fff7f8;border:1.5px dashed #fda4af!important;color:#4b5486!important;}
html.style2 .ld-note404 b{color:#1b1f4a!important;}html.style2 .ld-note404 b.e{color:#e11d48!important;}
html.style2 .ld-info{background:#f6f7ff!important;border:1px solid #dfe3f7!important;color:#4b5486!important;}
html.style2 .ld-info b{color:#1b1f4a!important;}
html.style2 .ld-info .team{color:#db2777!important;}
html.style2 .ld-actions .ld-btn{border-radius:18px;}
html.style2 .ld-btn-get .s2ic,html.style2 .ld-btn .s2ic{color:#fff;}
html.style2 .ld-result{color:var(--text);}

/* ═══ Registration-closed page (Style 2) ═══ */
html.style2 .s2rc{max-width:980px;margin:0 auto;padding:96px 16px 40px;}
html.style2 .s2rc-hero{text-align:center;padding:34px 18px 28px;border-radius:30px;background:linear-gradient(180deg,#f1f3ff,#fff);border:1px solid #e3e6f5;box-shadow:0 14px 44px rgba(60,70,160,.10);margin-bottom:18px;position:relative;overflow:hidden;}
html.style2 .s2rc-hero::before{content:"";position:absolute;inset:0 0 auto;height:6px;background:linear-gradient(90deg,#3b82f6,#8b5cf6,#ec4899);}
html.style2 .s2rc-lock{width:72px;height:72px;margin:0 auto 14px;border-radius:24px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#3b82f6,#8b3cf0);box-shadow:0 12px 28px rgba(99,102,241,.4);}
html.style2 .s2rc-pill{display:inline-flex;align-items:center;gap:6px;background:#fff1f2;border:1px solid #fecdd3;color:#be123c;border-radius:99px;padding:5px 14px;font-size:.74rem;font-weight:700;margin-bottom:12px;}
html.style2 .s2rc-hero h1{font-size:clamp(1.7rem,4.5vw,2.5rem);font-weight:800;margin-bottom:8px;background:linear-gradient(90deg,#2563eb,#7c3aed 55%,#db2777);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
html.style2 .s2rc-hero p{color:#4b5486;}
html.style2 .s2rc-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px;}
@media(max-width:560px){html.style2 .s2rc-grid{grid-template-columns:1fr;}}
html.style2 .s2rc-card{background:#fff;border:1px solid #e3e6f5;border-radius:22px;padding:24px 18px;text-align:center;box-shadow:0 8px 26px rgba(60,70,160,.08);transition:transform .15s,box-shadow .15s;}
html.style2 .s2rc-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(99,102,241,.16);}
html.style2 .s2rc-card .t{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;color:#fff;margin:0 auto 12px;box-shadow:0 8px 18px rgba(60,70,160,.2);}
html.style2 .s2rc-card h3{font-size:1.02rem;font-weight:800;margin-bottom:6px;}
html.style2 .s2rc-card p{color:#4b5486;font-size:.85rem;}
html.style2 .s2rc-contact{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:#fff;border:1.5px solid #c7cdf5;border-radius:22px;padding:16px 18px;box-shadow:0 8px 26px rgba(60,70,160,.08);}
html.style2 .s2rc-ct{display:flex;align-items:center;gap:12px;text-align:left;}
html.style2 .s2rc-ct .t{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;color:#fff;}
html.style2 .s2rc-ct b{display:block;font-size:.95rem;color:#1b1f4a;}html.style2 .s2rc-ct small{color:#4b5486;font-size:.76rem;}
html.style2 .s2rc-btn{display:inline-flex;align-items:center;gap:8px;padding:11px 22px;border-radius:14px;font-weight:700;font-size:.88rem;color:#fff!important;background:linear-gradient(135deg,#3b82f6,#6366f1);box-shadow:0 8px 20px rgba(99,102,241,.32);}
html.style2 .s2rc-btn.off{background:#eef0fa;color:#7a82ad!important;box-shadow:none;}
html.style2 .s2rc-btn .s2ic{color:#fff;}


/* ══ v210 AUTO: every light/pastel text colour used in page <style> blocks and inline styles → a darker readable shade on white ══ */
/* admin/ads.php */
html.style2 .apb-grid i{background:#f1f3fb!important}
html.style2 .apb-cards u{background:#f1f3fb!important}
/* admin/all_services.php */
html.style2 .switch .slider{background:#f1f3fb!important}
/* admin/analytics.php */
html.style2 .an-bar{background:#f1f3fb!important}
/* admin/api_users.php */
html.style2 .apu-card{border-color:#e3e6f5!important}
html.style2 .apu-tab{background:#f1f3fb!important;border-color:#e3e6f5!important}
html.style2 .apu-tab.on{color:#047857!important}
html.style2 .apu-bar{background:#f1f3fb!important}
/* admin/backup.php */
html.style2 .bk-step{background:#f1f3fb!important}
html.style2 .bk-step.active{color:#6d28d9!important}
html.style2 .bk-step.done{color:#047857!important}
/* admin/button_badges.php */
html.style2 .bb-row{border-top-color:#e3e6f5!important}
html.style2 .bb-col input[type=color]{border-color:#e3e6f5!important}
/* admin/domain_redirect.php */
html.style2 .dr-flow code{background:#f1f3fb!important}
html.style2 .dr-item i{color:#0e7490!important}
html.style2 .dr-item code{background:#f1f3fb!important}
/* admin/gphotos_source.php */
html.style2 .idl-slider{background:#f1f3fb!important}
/* admin/links.php */
html.style2 .ltab .n{background:#f1f3fb!important}
html.style2 .ltab.on .n{color:#6d28d9!important}
html.style2 .gc-name i{color:#be185d!important}
html.style2 .gc-user-pill{color:#6d28d9!important}
html.style2 .gc-size-pill{color:#1b1f4a!important;background:#f1f3fb!important}
html.style2 .gc-del-btn{color:#dc2626!important}
html.style2 .gc-divider{border-top-color:#e3e6f5!important}
html.style2 .gc-restore-btn{color:#15803d!important}
html.style2 .gc-perm-btn{color:#dc2626!important}
html.style2 .gc-daysleft{color:#dc2626!important}
/* admin/seo.php */
html.style2 .seo-info-item code{background:#f1f3fb!important}
/* admin/users.php */
html.style2 .up-off{background:#f1f3fb!important}
/* file/index.php */
html.style2 .fi-icon{color:#6d28d9!important}
html.style2 .ur-btn{border-left-color:#e3e6f5!important}
html.style2 .ub-cp{color:#6d28d9!important}
html.style2 .ub-op{color:#047857!important}
html.style2 .mirror-loading{color:#1d4ed8!important}
html.style2 .mb-gf{color:#1d4ed8!important}
html.style2 .mb-pd{color:#047857!important}
html.style2 .site-note-box div:last-child{color:#be185d!important}
html.style2 #gate-wait-text{color:#4b5486!important}
html.style2 #mirror-btns .gen-error-alert{color:#dc2626!important}
html.style2 .lvp-title{color:#cc3300!important}
html.style2 .lvp-it i{color:#1e39b8!important}
html.style2 .lvp-it em{color:#4b5486!important}
html.style2 .lvp-note{color:#4b5486!important}
/* file/wait.php */
html.style2 .wp-icon.busy{color:#6d28d9!important}
html.style2 .wp-icon.ready{color:#047857!important}
html.style2 .wp-icon.fail{color:#dc2626!important}
html.style2 .wp-fmeta span{background:#f1f3fb!important}
html.style2 .wp-progress{background:#f1f3fb!important}
html.style2 .wp-mb-row #wp-mb-done{color:#1d4ed8!important}
html.style2 .wp-mb-row .wp-mb-pct{color:#047857!important}
/* includes/dash_layout.php */
html.style2 .hamburger:hover{background:#f1f3fb!important}
/* includes/idl_page.php */
html.style2 .card{border-color:#e3e6f5!important}
html.style2 .brand-icon{background:#f1f3fb!important}
html.style2 .ld-core svg{color:#a16207!important}
html.style2 .ld-bar{background:#f1f3fb!important}
html.style2 .file-box{background:#f1f3fb!important}
html.style2 .file-size{color:#b45309!important}
html.style2 .pill{color:#047857!important}
html.style2 .notice .ic{color:#a16207!important}
html.style2 .notice .nt{color:#92400e!important}
html.style2 .notice .nd{color:#92400e!important}
html.style2 .back{color:#3b4180!important;background:#f1f3fb!important;border-color:#e3e6f5!important}
html.style2 .back:hover{background:#f1f3fb!important}
html.style2 .foot svg{color:#047857!important}
html.style2 .err .ei{color:#dc2626!important}
/* includes/pagination.php */
html.style2 .pg-btn:hover{color:#6d28d9!important}
html.style2 .pg-jump button{color:#6d28d9!important}
/* index.php */
/* ld/index.php */
html.style2 .ld-sep{color:#1e39b8!important}
html.style2 .ld-result.ok{color:#117e38!important}
html.style2 .ld-result.bad{color:#b91c1c!important}
/* series/index.php */
html.style2 .sr-chip{color:#3b4180!important}
html.style2 .sr-chip-ep{color:#be185d!important}
html.style2 .sr-chip-count{color:#1d4ed8!important}
html.style2 .sr-counter span{color:#4b5486!important}
html.style2 .sr-search i{color:#4b5486!important}
html.style2 .sr-search input{color:#1b1f4a!important}
html.style2 .sr-search input::placeholder{color:#1e3cb8!important}
html.style2 .sr-ico i{color:#6d28d9!important}
html.style2 .sr-name{color:#1b1f4a!important}
html.style2 .sr-meta{color:#4b5486!important}
html.style2 .sr-meta i{color:#1e3cb8!important}
html.style2 .sr-badge-s{color:#1d4ed8!important}
html.style2 .sr-badge-e{color:#b45309!important}
html.style2 .sr-empty{color:#4b5486!important}
html.style2 .sr-no-match{color:#4b5486!important}
html.style2 .sr-wrap .pg-btn{color:#1b1f4a!important}
/* user/api.php */
html.style2 .code-pane pre{color:#6d28d9!important}
html.style2 .param-table td code{background:#f1f3fb!important}
html.style2 .endpoint-box{background:#f1f3fb!important}
/* user/create_link.php */
html.style2 .dh-result-head span{color:#047857!important}
html.style2 .dh-fileinfo i{color:#6d28d9!important}
html.style2 .dh-fs{color:#1d4ed8!important}
html.style2 .dh-link-row{border-color:#e3e6f5!important}
html.style2 .dh-link-btns{border-left-color:#e3e6f5!important}
html.style2 .dh-lbtn{border-left-color:#e3e6f5!important}
html.style2 .dh-link-item{border-bottom-color:#e3e6f5!important}
html.style2 .dh-link-item:hover{background:#f1f3fb!important}
html.style2 .dh-link-item-ic{color:#6d28d9!important}
html.style2 .dh-act-btn:hover{color:#6d28d9!important}
html.style2 .gen-error-alert{color:#dc2626!important}
html.style2 .ydl-head i{color:#4338ca!important}
html.style2 .ydl-name{color:#1b1f4a!important}
html.style2 .ydl-info-box{border-color:#e3e6f5!important}
html.style2 .ydl-info-val{color:#1b1f4a!important}
html.style2 .ydl-link-lbl{color:#1b1f4a!important}
html.style2 .ydl-link-lbl i{color:#6d28d9!important}
html.style2 .ydl-fast-badge{color:#e11d48!important}
html.style2 .ydl-link-input{color:#3b4180!important;border-color:#e3e6f5!important}
html.style2 .ydl-mirror-st{border-color:#e3e6f5!important}
html.style2 .ydl-err-msg{color:#dc2626!important}
/* user/dashboard.php */
html.style2 .s1 .dh-stat-ic{color:#6d28d9!important}
html.style2 .s2 .dh-stat-ic{color:#1d4ed8!important}
html.style2 .s3 .dh-stat-ic{color:#047857!important}
html.style2 .s4 .dh-stat-ic{color:#a16207!important}
/* user/links.php */
html.style2 .gc-name .gc-edit-btn i{color:#6d28d9!important}
html.style2 .gc-name .gc-edit-ok i{color:#15803d!important}
html.style2 .gc-name .gc-edit-x i{color:#dc2626!important}
/* user/my_drive.php */
html.style2 .md-edit-btn{color:#6d28d9!important}
html.style2 .md-edit-save{color:#15803d!important}
html.style2 .md-edit-cancel{color:#dc2626!important}
html.style2 .rc-alert{color:#15803d!important}
html.style2 .rc-alert.err{color:#b91c1c!important}
html.style2 .rc-step{color:#1e37b8!important}
html.style2 .rc-step i{color:#1e35b8!important}
html.style2 .rc-step.on{color:#1b1f4a!important}
html.style2 .rc-lbl{color:#1b1f4a!important}
html.style2 .rc-input{color:#1b1f4a!important}
html.style2 .rc-input::placeholder{color:#1e37b8!important}
html.style2 .rc-dash{border-top-color:#e3e6f5!important}
/* user/premium.php */
html.style2 .pm-ic{color:#6d28d9!important}
html.style2 .pm-ic.red{color:#dc2626!important}
html.style2 .pm-notice i{color:#6d28d9!important}
html.style2 .pm-pill{color:#15803d!important}
html.style2 .pm-tile{border-color:#e3e6f5!important}
html.style2 .pm-bar{background:#f1f3fb!important}
html.style2 .pm-dot{color:#6d28d9!important}
html.style2 .pm-note i{color:#6d28d9!important}
html.style2 .pm-prob span{color:#b91c1c!important}
html.style2 .pm-tline em{color:#6d28d9!important}
html.style2 .pm-tag.ready{color:#15803d!important}
html.style2 .pm-tag.preparing{color:#6d28d9!important}
html.style2 .pm-tag.attention{color:#dc2626!important}
html.style2 .pm-card .pm-ic{background:#f1f3fb!important}
html.style2 .pm-card .pm-ic.red{color:#dc2626!important}
html.style2 .pm-card .pm-dot{background:#f1f3fb!important}
/* user/profile.php */
html.style2 .ltd-slider{background:#f1f3fb!important}
/* user/series_folder_view.php */
html.style2 .sfv-public-url{color:#6d28d9!important}
html.style2 .sfv-err{color:#dc2626!important}
html.style2 .gc-se-pill{color:#6d28d9!important}
/* user/series_folders.php */
html.style2 .sf-msg.err{color:#dc2626!important}
html.style2 .sf-msg.ok{color:#047857!important}
html.style2 .sf-del{color:#dc2626!important}
html.style2 .sf-link-url{color:#6d28d9!important}
/* inline style="color:…" (and JS-set colours) */
html.style2 [style*="color:#06b6d4" i],html.style2 [style*="color: #06b6d4" i],html.style2 [style*="color: rgb(6, 182, 212)" i],html.style2 [style*="color:rgb(6,182,212)" i]{color:#0e7490!important}
html.style2 [style*="color:#0ea5e9" i],html.style2 [style*="color: #0ea5e9" i],html.style2 [style*="color: rgb(14, 165, 233)" i],html.style2 [style*="color:rgb(14,165,233)" i]{color:#0369a1!important}
html.style2 [style*="color:#10b981" i],html.style2 [style*="color: #10b981" i],html.style2 [style*="color: rgb(16, 185, 129)" i],html.style2 [style*="color:rgb(16,185,129)" i]{color:#047857!important}
html.style2 [style*="color:#22c55e" i],html.style2 [style*="color: #22c55e" i],html.style2 [style*="color: rgb(34, 197, 94)" i],html.style2 [style*="color:rgb(34,197,94)" i]{color:#15803d!important}
html.style2 [style*="color:#22d3ee" i],html.style2 [style*="color: #22d3ee" i],html.style2 [style*="color: rgb(34, 211, 238)" i],html.style2 [style*="color:rgb(34,211,238)" i]{color:#0e7490!important}
html.style2 [style*="color:#34d399" i],html.style2 [style*="color: #34d399" i],html.style2 [style*="color: rgb(52, 211, 153)" i],html.style2 [style*="color:rgb(52,211,153)" i]{color:#047857!important}
html.style2 [style*="color:#38bdf8" i],html.style2 [style*="color: #38bdf8" i],html.style2 [style*="color: rgb(56, 189, 248)" i],html.style2 [style*="color:rgb(56,189,248)" i]{color:#0369a1!important}
html.style2 [style*="color:#4ade80" i],html.style2 [style*="color: #4ade80" i],html.style2 [style*="color: rgb(74, 222, 128)" i],html.style2 [style*="color:rgb(74,222,128)" i]{color:#15803d!important}
html.style2 [style*="color:#60a5fa" i],html.style2 [style*="color: #60a5fa" i],html.style2 [style*="color: rgb(96, 165, 250)" i],html.style2 [style*="color:rgb(96,165,250)" i]{color:#1d4ed8!important}
html.style2 [style*="color:#9299b3" i],html.style2 [style*="color: #9299b3" i],html.style2 [style*="color: rgb(146, 153, 179)" i],html.style2 [style*="color:rgb(146,153,179)" i]{color:#4b5486!important}
html.style2 [style*="color:#94a3b8" i],html.style2 [style*="color: #94a3b8" i],html.style2 [style*="color: rgb(148, 163, 184)" i],html.style2 [style*="color:rgb(148,163,184)" i]{color:#4b5486!important}
html.style2 [style*="color:#9aa4b2" i],html.style2 [style*="color: #9aa4b2" i],html.style2 [style*="color: rgb(154, 164, 178)" i],html.style2 [style*="color:rgb(154,164,178)" i]{color:#4b5486!important}
html.style2 [style*="color:#a78bfa" i],html.style2 [style*="color: #a78bfa" i],html.style2 [style*="color: rgb(167, 139, 250)" i],html.style2 [style*="color:rgb(167,139,250)" i]{color:#6d28d9!important}
html.style2 [style*="color:#c4b5fd" i],html.style2 [style*="color: #c4b5fd" i],html.style2 [style*="color: rgb(196, 181, 253)" i],html.style2 [style*="color:rgb(196,181,253)" i]{color:#6d28d9!important}
html.style2 [style*="color:#cbd5e1" i],html.style2 [style*="color: #cbd5e1" i],html.style2 [style*="color: rgb(203, 213, 225)" i],html.style2 [style*="color:rgb(203,213,225)" i]{color:#3b4180!important}
html.style2 [style*="color:#e2e8f0" i],html.style2 [style*="color: #e2e8f0" i],html.style2 [style*="color: rgb(226, 232, 240)" i],html.style2 [style*="color:rgb(226,232,240)" i]{color:#1b1f4a!important}
html.style2 [style*="color:#e6edf3" i],html.style2 [style*="color: #e6edf3" i],html.style2 [style*="color: rgb(230, 237, 243)" i],html.style2 [style*="color:rgb(230,237,243)" i]{color:#1b1f4a!important}
html.style2 [style*="color:#f472b6" i],html.style2 [style*="color: #f472b6" i],html.style2 [style*="color: rgb(244, 114, 182)" i],html.style2 [style*="color:rgb(244,114,182)" i]{color:#be185d!important}
html.style2 [style*="color:#f59e0b" i],html.style2 [style*="color: #f59e0b" i],html.style2 [style*="color: rgb(245, 158, 11)" i],html.style2 [style*="color:rgb(245,158,11)" i]{color:#b45309!important}
html.style2 [style*="color:#f87171" i],html.style2 [style*="color: #f87171" i],html.style2 [style*="color: rgb(248, 113, 113)" i],html.style2 [style*="color:rgb(248,113,113)" i]{color:#dc2626!important}
html.style2 [style*="color:#f97316" i],html.style2 [style*="color: #f97316" i],html.style2 [style*="color: rgb(249, 115, 22)" i],html.style2 [style*="color:rgb(249,115,22)" i]{color:#c2410c!important}
html.style2 [style*="color:#f9a8d4" i],html.style2 [style*="color: #f9a8d4" i],html.style2 [style*="color: rgb(249, 168, 212)" i],html.style2 [style*="color:rgb(249,168,212)" i]{color:#be185d!important}
html.style2 [style*="color:#facc15" i],html.style2 [style*="color: #facc15" i],html.style2 [style*="color: rgb(250, 204, 21)" i],html.style2 [style*="color:rgb(250,204,21)" i]{color:#a16207!important}
html.style2 [style*="color:#fbbf24" i],html.style2 [style*="color: #fbbf24" i],html.style2 [style*="color: rgb(251, 191, 36)" i],html.style2 [style*="color:rgb(251,191,36)" i]{color:#b45309!important}
html.style2 [style*="color:#fca5a5" i],html.style2 [style*="color: #fca5a5" i],html.style2 [style*="color: rgb(252, 165, 165)" i],html.style2 [style*="color:rgb(252,165,165)" i]{color:#b91c1c!important}
/* ══════════════════════════════════════════════════════════════════════
   v210 · STYLE 2 — LIGHT-THEME READABILITY PASS
   (everything below is scoped to html.style2, Style 1 is untouched)
   ══════════════════════════════════════════════════════════════════════ */
html.style2{--fg:#1b1f4a;}

/* ── 1. FILE PAGE: long names / values must stay INSIDE the screen ───── */
html.style2 .dl-page,html.style2 .dl-card,html.style2 .s2f{max-width:100%;min-width:0;}
html.style2 .dl-card{overflow:hidden;}
html.style2 .s2f-head{min-width:0;}
html.style2 .s2f-hmain,html.style2 .s2f-hmain .fname-plain{min-width:0;max-width:100%;}
html.style2 .s2f-hmain .fname-plain,html.style2 .fname-plain{
  overflow-wrap:anywhere!important;word-break:break-word!important;white-space:normal!important;hyphens:none;}
/* info boxes: the text column may shrink, and the value WRAPS (full text visible, never cut / never overflowing) */
html.style2 .s2f-i{align-items:flex-start;}
html.style2 .s2f-i .t{margin-top:1px;}
html.style2 .s2f-i>div:not(.t){flex:1 1 0;min-width:0;max-width:100%;}
html.style2 .s2f-i b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  overflow-wrap:anywhere;word-break:break-word;line-height:1.3;font-size:.88rem;}
html.style2 .s2f-i b a{overflow-wrap:anywhere;word-break:break-word;}
html.style2 .s2f-i small{white-space:nowrap;}
html.style2 .s2f-copy{min-width:0;max-width:calc(100% - 28px);}
html.style2 .s2f-copy input{text-overflow:ellipsis;}
html.style2 .idm-tip{max-width:100%;overflow-wrap:anywhere;}
@media(max-width:420px){
  html.style2 .s2f-head{gap:10px;padding:14px 12px;}
  html.style2 .s2f-ficon{flex-basis:46px;height:46px;border-radius:14px;}
  html.style2 .s2f-i{padding:10px 9px;gap:8px;}
  html.style2 .s2f-i .t{flex-basis:34px;height:34px;}
  html.style2 .s2f-i b{font-size:.82rem;}
}

/* ── 2. POPUPS (gdbPopup) were dark box + dark text in Style 2 ───────── */
html.style2 .gdb-pop-overlay{background:rgba(27,31,74,.45);}
html.style2 .gdb-pop-box{background:#fff!important;border:1px solid #e3e6f5!important;box-shadow:0 24px 60px rgba(40,45,120,.28)!important;}
html.style2 .gdb-pop-title{color:#1b1f4a!important;}
html.style2 .gdb-pop-msg{color:#4b5486!important;}
html.style2 .gdb-pop-cancel{background:#fff!important;border:1.5px solid #cfd5f3!important;color:#3b4180!important;}

/* ── 3. MY LINKS / ALL LINKS / DASHBOARD / SERIES-FOLDER cards ───────── */
/* tabs → modern segmented control */
html.style2 .ltabs{display:inline-flex;gap:4px;padding:5px;margin-bottom:20px;background:#f1f3fb;border:1px solid #e3e6f5;border-radius:16px;}
html.style2 .ltab{margin:0;padding:9px 18px;border-bottom:0!important;border-radius:12px;color:#4b5486!important;font-weight:700;}
html.style2 .ltab:hover{color:#1b1f4a!important;background:rgba(99,102,241,.07);}
html.style2 .ltab i{color:#6366f1;}
html.style2 .ltab.on{background:#fff;color:#4338ca!important;box-shadow:0 4px 14px rgba(99,102,241,.20),0 0 0 1px #d4d9fb;}
html.style2 .ltab .n{background:#e6e9f7!important;color:#3b4180!important;font-weight:800;}
html.style2 .ltab.on .n{background:linear-gradient(135deg,#3b82f6,#7c3aed)!important;color:#fff!important;}
/* toolbar */
html.style2 .bulk-bar{background:#fff!important;border:1px solid #e3e6f5!important;box-shadow:0 6px 20px rgba(60,70,160,.07);color:#1b1f4a;}
html.style2 .bulk-bar label{color:#1b1f4a;font-weight:600;}
html.style2 #sel-count{color:#4338ca!important;font-weight:700;}
html.style2 .al-filter .form-control{height:44px;}
/* the card */
html.style2 .gc-card{box-shadow:0 10px 28px rgba(60,70,160,.14);}
html.style2 .gc-inner{background:#fff!important;color:#1b1f4a;}
html.style2 .gc-name{color:#1b1f4a;}
html.style2 .gc-name-text{color:#1b1f4a;}
html.style2 .gc-chk{accent-color:#6366f1;}
html.style2 .gc-size-pill{background:#eef0ff!important;border:1px solid #d9ddf8;color:#3b4180!important;}
html.style2 .gc-user-pill{background:#f3efff!important;border:1px solid #e0d6ff;color:#5b21b6!important;}
html.style2 .gc-se-pill{background:#f3efff!important;border:1px solid #e0d6ff;color:#5b21b6!important;}
html.style2 .gc-divider{border-top-color:#e8ebf8!important;}
html.style2 .gc-footer{color:#4b5486!important;font-weight:600;}
html.style2 .gc-footer i{color:#6366f1;}
html.style2 .gc-del-btn,html.style2 .gc-perm-btn{background:#fef2f2!important;border:1px solid #fecaca!important;color:#b91c1c!important;}
html.style2 .gc-del-btn:hover,html.style2 .gc-perm-btn:hover{background:#fee2e2!important;}
html.style2 .gc-restore-btn{background:#ecfdf5!important;border:1px solid #a7f3d0!important;color:#047857!important;}
html.style2 .gc-daysleft{color:#b91c1c!important;font-weight:600;}
html.style2 .gc-edit-btn{background:#f3efff!important;}
html.style2 .gc-name .gc-edit-btn i{color:#6d28d9!important;}
html.style2 .gc-edit-input{background:#f8f9ff!important;border:1.5px solid #6366f1!important;color:#1b1f4a!important;}
html.style2 .gc-edit-ok{background:#ecfdf5!important;}html.style2 .gc-name .gc-edit-ok i{color:#047857!important;}
html.style2 .gc-edit-x{background:#fef2f2!important;}html.style2 .gc-name .gc-edit-x i{color:#b91c1c!important;}
html.style2 .gc-copy-btn,html.style2 .gc-copy-btn i{color:#fff!important;}
html.style2 .gc-copy-btn:disabled{background:#eef0fa!important;color:#8a91b8!important;opacity:1;}
html.style2 .gc-copy-btn:disabled i{color:#8a91b8!important;}
html.style2 .badge-success{border:1px solid #a7f3d0;}

/* series-folder list (user/series_folders.php) */
html.style2 .sf-create,html.style2 .sf-card,html.style2 .dh-gen{background:#fff!important;border:1px solid #e3e6f5!important;box-shadow:0 8px 26px rgba(60,70,160,.09)!important;}
html.style2 .sf-card:hover{border-color:#b9c0f5!important;}
html.style2 .sf-create-title,html.style2 .dh-gen-title,html.style2 .sf-fname-txt{color:#1b1f4a!important;}
html.style2 .sf-create-sub,html.style2 .dh-gen-sub,html.style2 .sf-fcount,html.style2 .sf-result-note,html.style2 .sfv-load{color:#4b5486!important;}
html.style2 .sf-fcount i{color:#6366f1;}
html.style2 .sf-msg.err,html.style2 .sfv-err{background:#fef2f2!important;color:#b91c1c!important;border-color:#fecaca!important;}
html.style2 .sf-msg.ok{background:#ecfdf5!important;color:#047857!important;border-color:#a7f3d0!important;}
html.style2 .sf-del{background:#fef2f2!important;border:1px solid #fecaca!important;color:#b91c1c!important;}
html.style2 .sf-link-row,html.style2 .sfv-public{background:linear-gradient(135deg,#f5f3ff,#fdf2f8)!important;border:1px solid #d9ccff!important;}
html.style2 .sf-link-url,html.style2 .sfv-public-url{color:#5b21b6!important;font-weight:600;}
html.style2 .sf-search a.sf-clear{color:#3b4180!important;border-color:#cfd5f3!important;background:#fff;}
html.style2 .sf-search .sf-sbox i{color:#6366f1!important;}
html.style2 .sf-input-row input,html.style2 .sf-search input,html.style2 .sfv-input{background:#f8f9ff!important;border:1.5px solid #d9ddf3!important;color:#1b1f4a!important;}
html.style2 .sf-input-row input:focus,html.style2 .sf-search input:focus,html.style2 .sfv-input:focus{background:#fff!important;border-color:#6366f1!important;}
html.style2 .sfv-back{color:#4338ca!important;font-weight:700;}
html.style2 .sfv-back:hover{color:#1b1f4a!important;}
html.style2 .sfv-field-lbl{color:#3b4180!important;}
html.style2 .sf-lbtn,html.style2 .sf-lbtn i,html.style2 .sf-open-btn,html.style2 .sf-input-row button,html.style2 .sf-search button,html.style2 .sfv-gen-btn,
html.style2 .sfv-public-btns a,html.style2 .sfv-public-btns button{color:#fff!important;}

/* "Instant link" cards / drive pages / alerts that were dark */
html.style2 .ydl-card{background:#f8f9ff!important;border:1px solid #dfe3f7!important;color:#1b1f4a;}
html.style2 .ydl-link-input{background:#fff!important;border:1.5px solid #d9ddf3!important;color:#1b1f4a!important;}
html.style2 .rc-alert{background:#ecfdf5!important;color:#047857!important;border-color:#a7f3d0!important;}
html.style2 .rc-alert.err{background:#fef2f2!important;color:#b91c1c!important;border-color:#fecaca!important;}
html.style2 .ld-mico{background:#fef2f2!important;color:#dc2626!important;}
html.style2 .pm-tline em{background:#f3efff!important;color:#5b21b6!important;}
html.style2 .md-search input,html.style2 .md-edit-input,html.style2 .dh-input-row input,html.style2 .ur{background:#f8f9ff!important;color:#1b1f4a!important;border:1.5px solid #d9ddf3!important;}

/* ── 4. PUBLIC SERIES PAGE (series/index.php) — new light design ───── */
html.style2 .sr-wrap{max-width:1080px;}
html.style2 .sr-hero{position:relative;overflow:hidden;padding:26px 22px 24px;margin-bottom:22px;border-radius:28px;
  background:linear-gradient(135deg,#eef2ff 0%,#f7f0ff 55%,#fdf2f8 100%);border:1px solid #e0e4f8;box-shadow:0 14px 40px rgba(60,70,160,.12);}
html.style2 .sr-hero::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:linear-gradient(90deg,#3b82f6,#8b5cf6,#ec4899);}
html.style2 .sr-hero::after{content:"";position:absolute;right:-60px;bottom:-70px;width:220px;height:220px;border-radius:50%;
  background:radial-gradient(circle,rgba(139,92,246,.16),transparent 70%);pointer-events:none;}
@media(min-width:768px){html.style2 .sr-hero{padding:34px 36px 32px;}}
html.style2 .sr-eyebrow{color:#4f46e5;font-weight:700;}
html.style2 .sr-title{color:#1b1f4a;}
html.style2 .sr-chip{background:#fff;color:#3b4180;border:1px solid #d9ddf3;font-weight:600;box-shadow:0 2px 8px rgba(60,70,160,.06);}
html.style2 .sr-chip-count{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe;}
html.style2 .sr-chip-ep{background:#fdf2f8;color:#be185d;border-color:#fbcfe8;}
html.style2 .sr-chip i{color:inherit;}
html.style2 .sr-counter{position:relative;z-index:1;background:#fff;border:1px solid #dfe3f7;box-shadow:0 10px 28px rgba(99,102,241,.16);}
html.style2 .sr-counter b{background:linear-gradient(135deg,#2563eb,#7c3aed 55%,#db2777);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
html.style2 .sr-counter span{color:#3b4180;}
/* search */
html.style2 .sr-search i{color:#6366f1;}
html.style2 .sr-search input{background:#fff!important;border:1.5px solid #d9ddf3!important;color:#1b1f4a!important;box-shadow:0 6px 18px rgba(60,70,160,.07);}
html.style2 .sr-search input::placeholder{color:#7a82ad!important;}
html.style2 .sr-search input:focus{border-color:#6366f1!important;box-shadow:0 0 0 4px rgba(99,102,241,.14)!important;}
/* cards */
html.style2 .sr-card{background:#fff;border:1px solid #e3e6f5;box-shadow:0 8px 26px rgba(60,70,160,.09);overflow:visible;}
html.style2 .sr-card:hover{border-color:#a5b4fc;box-shadow:0 14px 34px rgba(99,102,241,.18);}
html.style2 .sr-ico{background:linear-gradient(160deg,#eef2ff,#f5f0ff);}
html.style2 .sr-ico::after{border-right:2px dotted #c7cdf5;}
html.style2 .sr-ico i{color:#6366f1;filter:drop-shadow(0 4px 8px rgba(99,102,241,.25));}
html.style2 .sr-name{color:#1b1f4a;font-weight:700;overflow-wrap:anywhere;}
html.style2 .sr-meta{color:#3b4180;font-weight:500;}
html.style2 .sr-meta i{color:#6366f1;}
html.style2 .sr-badge-s{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;}
html.style2 .sr-badge-e{background:#fffbeb;color:#92400e;border:1px solid #fde68a;}
html.style2 .sr-badge i{color:inherit;}
html.style2 .sr-dl,html.style2 .sr-dl i{color:#fff!important;}
html.style2 .sr-card::after{background:#fff;border:2px solid #c7cdf5;}
html.style2 .sr-empty,html.style2 .sr-no-match{color:#4b5486;background:#f8f9ff;border:1.5px dashed #c7cdf5;}
html.style2 .sr-empty i,html.style2 .sr-no-match i{color:#6366f1;}
html.style2 .sr-wrap .pg-btn{background:#fff;border:1px solid #d9ddf3;color:#3b4180;box-shadow:0 2px 8px rgba(60,70,160,.06);}
html.style2 .sr-wrap .pg-btn:hover{border-color:#6366f1;color:#4338ca;}
html.style2 .sr-wrap .pg-btn.on{background:linear-gradient(135deg,#3b82f6,#8b3cf0);color:#fff;border-color:transparent;}

/* pagination everywhere */
html.style2 .pg-btn{background:#fff;border:1px solid #d9ddf3;color:#3b4180;}
html.style2 .pg-btn:hover{border-color:#6366f1;color:#4338ca;}
html.style2 .pg-btn.on{color:#fff;}
html.style2 .pg-info,html.style2 .pg-jump,html.style2 .pg-gap{color:#4b5486;}
html.style2 .pg-jump input{background:#f8f9ff;border:1px solid #d9ddf3;color:#1b1f4a;}
html.style2 .pg-jump button{background:#eef0ff;color:#4338ca;}
html.style2 .empty-state,html.style2 .empty-state p{color:#4b5486;}
html.style2 .empty-state i{color:#8b93d8;}
html.style2 .empty-state a{color:#4338ca!important;font-weight:700;}

/* file names inside link cards: wrap at separators, always fully visible */
html.style2 .gc-nm,html.style2 .gc-name-text{min-width:0;overflow-wrap:anywhere;word-break:break-word;}
@media(max-width:768px){html.style2 .al-filter .btn{flex:1 1 100%;height:44px;justify-content:center;}}
html.style2 .sf-del[style*="139,92,246"],html.style2 .sf-del[style*="139, 92, 246"]{background:#f3efff!important;border:1px solid #e0d6ff!important;color:#5b21b6!important;}
html.style2 .sf-del[style*="139,92,246"] i,html.style2 .sf-del[style*="139, 92, 246"] i{color:#6d28d9!important;}
/* folder public link: show the whole URL (wrap) and keep Copy/View buttons on their own row */
html.style2 .sf-link-url,html.style2 .sfv-public-url{flex:1 1 100%;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;word-break:break-all;}
html.style2 .sf-link-btns,html.style2 .sfv-public-btns{flex:1 1 100%;}
html.style2 .sf-link-btns .sf-lbtn,html.style2 .sfv-public-btns a,html.style2 .sfv-public-btns button{flex:1;justify-content:center;}

/* ══════════════════════════════════════════════════════════════════════
   v211 · STYLE 2 — file-page note box, Watch / Watch Now / LD pages,
          new Series page, new My Links / All Links cards, panel text fixes
   (everything is scoped to html.style2 — Style 1 is untouched)
   ══════════════════════════════════════════════════════════════════════ */

/* ── 1. Note / Info / Team box (file page, watch, wn, ld) — readable on white ── */
html.style2 .s2note{margin-top:16px;padding:16px 16px 14px;border:1px solid #d9ddf3;border-radius:20px;background:linear-gradient(135deg,#f6f7ff 0%,#fdf4fa 100%);text-align:left;}
html.style2 .s2note-row{display:flex;gap:11px;align-items:flex-start;}
html.style2 .s2note-row+.s2note-row{margin-top:11px;}
html.style2 .s2note-ic{flex:0 0 30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#fff;border:1px solid #f1d4e6;color:#db2777;}
html.style2 .s2note-ic .s2ic{color:#db2777;}
html.style2 .s2note-row p{margin:0;font-size:.88rem;line-height:1.65;color:#3b4180;}
html.style2 .s2note-row p b{color:#1b1f4a;font-weight:800;}
html.style2 .s2note-team{margin-top:12px;text-align:right;font-style:italic;font-weight:600;color:#be185d;font-size:.9rem;}
/* old markup (inline white <b>) still readable wherever it is used */
html.style2 .site-note-box{border-radius:20px!important;line-height:1.75;}
html.style2 .site-note-box b,html.style2 .ld-info b{color:#1b1f4a!important;}
html.style2 .site-note-box i{color:#db2777!important;}
html.style2 .site-note-box div:first-child,html.style2 .site-note-box div:nth-child(2){color:#3b4180!important;}
html.style2 .ld-info i.f{color:#db2777;}

/* ── 2. Buttons that are plain <a> with an inline gradient: keep white text ── */
html.style2 .db-list a,html.style2 .db-list a i,html.style2 #ld-open-btn,html.style2 #ld-open-btn i{color:#fff!important;}
html.style2 a[style*="linear-gradient"]:not(.s2s-dl),html.style2 a[style*="linear-gradient"] i{color:#fff;}

/* ── 3. Online Play (/watch), Watch Now (/wn), LD (/ld) share the File-page card ── */
html.style2 .s2f-tag.pk{color:#be185d;background:#fdf2f8;border-color:#fbcfe8;}
html.style2 .wn-card{background:#fff!important;border:1px solid var(--border)!important;border-radius:26px!important;box-shadow:0 8px 28px rgba(60,70,160,.09)!important;backdrop-filter:none!important;overflow:hidden;max-width:100%;}
html.style2 .watch-wrap,html.style2 .wn-wrap{max-width:100%;}
html.style2 .wd-watch-label,html.style2 .wn-label{justify-content:flex-start;margin:20px 2px 12px;font-size:1.08rem;color:#1b1f4a!important;}
html.style2 .wd-watch-label .s2ic,html.style2 .wn-label .s2ic{color:#e11d48;}
html.style2 .watch-player-box,html.style2 .wn-player{border-radius:20px;border:1px solid #1b1f4a;box-shadow:0 18px 44px rgba(27,31,74,.30);}
html.style2 .wn-prep div:nth-of-type(2){color:#e2e8f0!important;}
html.style2 .wn-prep div:nth-of-type(3){color:#b8c0dd!important;}
html.style2 .wg-box{background:#fffbeb;border:1px solid #fde68a;border-radius:18px;}
html.style2 .wg-box i{color:#d97706;}
html.style2 .wg-box .t{color:#92400e;}
html.style2 .wg-box .d{color:#78350f;}
html.style2 .wa-btn{border-radius:16px;box-shadow:0 10px 24px rgba(225,29,72,.30);color:#fff!important;}
html.style2 .wa-btn i{color:#fff;}
html.style2 .wn-copy{background:#fff!important;border:1px solid var(--border)!important;border-radius:18px!important;box-shadow:0 4px 14px rgba(60,70,160,.06);}
html.style2 .wn-copy .ic{background:linear-gradient(135deg,#3b82f6,#7c3aed)!important;color:#fff!important;border-radius:12px;}
html.style2 .wn-copy .tag{color:#4338ca!important;}
html.style2 .wn-copy input{background:#f4f6ff!important;color:#1b1f4a!important;border:1px solid #e3e6f5!important;border-radius:12px;}
html.style2 .wn-copy button{background:linear-gradient(135deg,#3b82f6,#6366f1)!important;color:#fff!important;border-radius:12px;text-transform:uppercase;}
html.style2 .wn-copy button i{color:#fff;}
html.style2 .wn-alt{color:#4b5486;}
html.style2 .wn-alt a{color:#4338ca!important;font-weight:700;}
html.style2 .dl-card .s2f,html.style2 .wn-card .s2f,html.style2 .ld-card .s2f{margin-bottom:6px;text-align:left;}
html.style2 .ld-card>.s2f{margin-bottom:18px;}
html.style2 .ld-card .s2f-copy{margin-bottom:14px;}

/* ── 4. NEW public Series page (series/index.php) ── */
html.style2 .s2s-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px;align-items:center;
  padding:24px 24px 24px 26px;margin-bottom:20px;border-radius:28px;background:#fff;border:1px solid #e3e6f5;box-shadow:0 14px 40px rgba(60,70,160,.12);}
html.style2 .s2s-hero::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:linear-gradient(90deg,#3b82f6,#8b5cf6,#ec4899);}
html.style2 .s2s-cover{position:relative;width:96px;height:124px;flex:none;}
html.style2 .s2s-cv{position:absolute;border-radius:20px;}
html.style2 .s2s-cv.b{inset:8px -9px -8px 9px;background:#e0e7ff;transform:rotate(6deg);}
html.style2 .s2s-cv.a{inset:0;display:grid;place-items:center;color:#fff;background:linear-gradient(160deg,#3b82f6,#7c3aed 58%,#ec4899);box-shadow:0 14px 28px rgba(99,102,241,.38);}
html.style2 .s2s-cv.a .s2ic{color:#fff;}
html.style2 .s2s-title{margin:0 0 12px;font-family:'Poppins',var(--font-d);font-weight:800;font-size:clamp(1.3rem,4.6vw,2.2rem);line-height:1.2;letter-spacing:-.01em;color:#1b1f4a;overflow-wrap:anywhere;}
html.style2 .s2s-chips{display:flex;flex-wrap:wrap;gap:8px;}
html.style2 .s2s-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 13px;border-radius:99px;font-size:.8rem;font-weight:700;color:#3b4180;background:#f4f6ff;border:1px solid #dfe3f7;}
html.style2 .s2s-chip .s2ic{color:#6366f1;}
html.style2 .s2s-chip.ep{color:#be185d;background:#fdf2f8;border-color:#fbcfe8;}
html.style2 .s2s-chip.ep .s2ic{color:#db2777;}
html.style2 .s2s-count{text-align:center;padding:12px 22px;border-radius:20px;background:#f7f8ff;border:1px solid #dfe3f7;}
html.style2 .s2s-count b{display:block;font-family:'Poppins',var(--font-d);font-size:2.5rem;font-weight:800;line-height:1;background:linear-gradient(135deg,#2563eb,#7c3aed 55%,#db2777);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
html.style2 .s2s-count span{display:block;margin-top:6px;font-size:.8rem;font-weight:700;color:#4b5486;}
html.style2 .sr-search .s2ic.s2s-si{position:absolute;left:20px;top:50%;transform:translateY(-50%);color:#6366f1;pointer-events:none;}
html.style2 .sr-search input{height:54px;border-radius:18px;}
html.style2 .sr-list{gap:12px;}
html.style2 .s2s-row{display:flex;align-items:center;gap:14px;padding:12px 14px 12px 12px;background:#fff;border:1px solid #e3e6f5;border-radius:22px;box-shadow:0 6px 20px rgba(60,70,160,.07);transition:border-color .18s,box-shadow .18s;}
html.style2 .s2s-row:hover{border-color:#a5b4fc;box-shadow:0 12px 30px rgba(99,102,241,.16);}
html.style2 .s2s-ep{flex:0 0 64px;height:64px;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:linear-gradient(160deg,#eef2ff,#f7efff);border:1px solid #dfe3f7;color:#4338ca;}
html.style2 .s2s-ep small{font-size:.64rem;font-weight:800;letter-spacing:.06em;color:#7c3aed;line-height:1;}
html.style2 .s2s-ep b{font-size:1.15rem;font-weight:800;line-height:1.1;color:#1b1f4a;}
html.style2 .s2s-ep .s2ic{color:#6366f1;}
html.style2 .s2s-info{flex:1 1 auto;min-width:0;}
html.style2 .s2s-name{font-weight:700;font-size:.95rem;line-height:1.42;color:#1b1f4a;overflow-wrap:anywhere;}
html.style2 .s2s-meta{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:6px;font-size:.78rem;font-weight:600;color:#4b5486;}
html.style2 .s2s-meta span{display:inline-flex;align-items:center;gap:5px;}
html.style2 .s2s-meta .s2ic{color:#6366f1;}
html.style2 .s2s-dl{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;min-width:46px;padding:0 14px;border-radius:99px;
  color:#fff!important;font-weight:700;font-size:.88rem;text-decoration:none;background:linear-gradient(135deg,#3b82f6,#7c3aed 60%,#ec4899);box-shadow:0 8px 20px rgba(124,58,237,.30);}
html.style2 .s2s-dl .s2ic{color:#fff;}
html.style2 .s2s-dl span{display:none;}
html.style2 .s2s-dl:active{transform:scale(.96);}
@media(min-width:640px){html.style2 .s2s-dl span{display:inline;}html.style2 .s2s-dl{padding:0 22px;}}
@media(max-width:700px){
  html.style2 .s2s-hero{grid-template-columns:auto minmax(0,1fr);padding:20px 16px 18px;gap:16px;border-radius:24px;}
  html.style2 .s2s-count{display:none;}
  html.style2 .s2s-cover{width:68px;height:90px;}
  html.style2 .s2s-cv{border-radius:16px;}
  html.style2 .s2s-cv.a .s2ic{width:30px;height:30px;}
}
@media(max-width:420px){
  html.style2 .s2s-row{gap:10px;padding:10px;}
  html.style2 .s2s-ep{flex-basis:52px;height:52px;border-radius:15px;}
  html.style2 .s2s-ep b{font-size:1rem;}
  html.style2 .s2s-name{font-size:.88rem;}
}

/* ── 5. NEW My Links / All Links cards (user/links.php, admin/links.php, dashboard) ── */
html.style2 .gc-card{padding:0!important;background:#fff!important;border:1px solid #e3e6f5;border-radius:22px;animation:none!important;overflow:hidden;position:relative;
  box-shadow:0 8px 24px rgba(60,70,160,.09);transition:border-color .18s,box-shadow .18s;}
html.style2 .gc-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:linear-gradient(180deg,#3b82f6,#8b5cf6 55%,#ec4899);}
html.style2 .gc-card:hover{border-color:#b9c0f5;box-shadow:0 14px 34px rgba(99,102,241,.16);}
html.style2 .gc-inner{padding:16px 16px 14px 24px!important;background:transparent!important;border-radius:0!important;}
html.style2 .gc-top{align-items:flex-start;}
html.style2 .gc-name{align-items:flex-start;font-size:.95rem;font-weight:700;color:#1b1f4a;margin-bottom:10px;line-height:1.4;}
html.style2 .gc-name>i:first-child{flex:0 0 36px;width:36px;height:36px;display:inline-grid;place-items:center;border-radius:12px;font-size:.95rem;
  background:linear-gradient(135deg,#eef2ff,#fdf2f8);color:#6d28d9!important;border:1px solid #e3e6f5;}
html.style2 .gc-name .gc-name-text,html.style2 .gc-name .gc-nm{padding-top:7px;}
html.style2 .gc-name-wrap{display:flex;flex-wrap:wrap;align-items:center;gap:6px;}
html.style2 .gc-name-wrap .gc-name{flex:1 1 100%;margin-bottom:4px;}
html.style2 .gc-size-pill,html.style2 .gc-user-pill{margin:0!important;border-radius:99px;padding:5px 12px;font-size:.74rem;}
html.style2 .gc-del-btn{border-radius:12px;padding:9px 14px;}
html.style2 .gc-divider{border-top:1px dashed #dfe3f7!important;margin:12px 0;}
html.style2 .gc-status-row .badge{border-radius:99px;padding:5px 13px;font-weight:700;}
html.style2 .gc-copy-btn{height:44px;padding:0 14px;border-radius:13px;box-shadow:0 6px 16px rgba(60,70,160,.18);}
html.style2 .gc-copy-btn.main{background:linear-gradient(135deg,#10b981,#059669);}
html.style2 .gc-copy-btn.drive{background:linear-gradient(135deg,#3b82f6,#4f46e5);}
html.style2 .gc-footer{justify-content:flex-start;gap:8px;}
html.style2 .gc-footer span{padding:4px 11px;border-radius:99px;background:#f4f6ff;border:1px solid #e3e6f5;font-size:.72rem;}
html.style2 .gc-trash-actions button,html.style2 .gc-trash-actions a{border-radius:12px;height:42px;}
html.style2 .gc-daysleft{background:#fef2f2;border-radius:10px;padding:6px 10px;display:inline-flex;}
@media(max-width:500px){
  html.style2 .gc-inner{padding:14px 12px 12px 20px!important;}
  html.style2 .gc-top{flex-direction:column;align-items:stretch;}
  html.style2 .gc-del-btn{align-self:flex-start;}
}

/* ── 6. Panel text that was white / pastel on white ── */
html.style2 .ydl-head,html.style2 .rc-hint,html.style2 .rc-tut-title,html.style2 .ld-text{color:#1b1f4a!important;}
html.style2 .ap-tab{color:#3b4180;}
html.style2 .ap-tab.on{color:#4338ca!important;background:#eef0ff!important;border-color:#a9b1ee!important;}
html.style2 .dh-stat-ic{background:#f4f6ff!important;}
html.style2 .dash-main [class*="-sub"],html.style2 .dash-main [class*="-desc"],html.style2 .dash-main [class*="-hint"]{color:#4b5486;}
html.style2 .dash-main .form-hint,html.style2 .dash-main .hint,html.style2 .dash-main .help{color:#4b5486!important;}

/* ═══════════════════════════════════════════════════════════════════════════
   v212 — Style 2 only (Style 1 untouched)
   A) Public Series page (series/index.php)   B) My Links / All Links (user + admin)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── A) SERIES ── */
html.style2 .sr-wrap{max-width:860px;}
html.style2 .s2n-hero{position:relative;overflow:hidden;border-radius:30px;padding:22px 20px 58px;color:#fff;
  background:radial-gradient(120% 140% at 100% 0%,#be185d 0,transparent 55%),linear-gradient(135deg,#1e3a8a,#5b21b6 70%);box-shadow:0 22px 46px rgba(76,29,149,.32);}
html.style2 .s2n-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:14px;opacity:.28;background:repeating-linear-gradient(90deg,#fff 0 12px,transparent 12px 26px);}
html.style2 .s2n-hrow{display:flex;gap:16px;align-items:center;}
html.style2 .s2n-cover{position:relative;flex:none;width:76px;height:100px;}
html.style2 .s2n-cover i{position:absolute;border-radius:18px;font-style:normal;}
html.style2 .s2n-cover .b{inset:8px -8px -8px 8px;background:rgba(255,255,255,.22);transform:rotate(7deg);}
html.style2 .s2n-cover .a{inset:0;display:grid;place-items:center;background:linear-gradient(160deg,#fff,#e0e7ff);box-shadow:0 12px 26px rgba(0,0,0,.28);}
html.style2 .s2n-cover .a .s2ic{color:#5b21b6;}
html.style2 .s2n-hmain{min-width:0;}
html.style2 .s2n-hero h1{margin:0 0 10px;font:800 clamp(1.3rem,5.4vw,2.2rem)/1.2 'Poppins',var(--font-d);letter-spacing:-.01em;color:#fff!important;overflow-wrap:anywhere;}
html.style2 .s2n-chips{display:flex;flex-wrap:wrap;gap:7px;}
html.style2 .s2n-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:99px;font-size:.76rem;font-weight:700;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);color:#fff!important;}
html.style2 .s2n-chip .s2ic{color:#fff;}
html.style2 .s2n-chip.live{background:#fff;color:#be185d!important;border-color:#fff;}
html.style2 .s2n-dot{width:7px;height:7px;border-radius:50%;background:#10b981;animation:s2nPulse 2s infinite;}
@keyframes s2nPulse{0%{box-shadow:0 0 0 0 rgba(16,185,129,.6)}70%{box-shadow:0 0 0 7px rgba(16,185,129,0)}100%{box-shadow:0 0 0 0 rgba(16,185,129,0)}}
html.style2 .s2n-stats{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px;margin:-38px 14px 16px;position:relative;z-index:2;}
html.style2 .s2n-st{background:#fff;border:1px solid #e3e6f5;border-radius:20px;padding:12px 8px;text-align:center;box-shadow:0 10px 26px rgba(60,70,160,.14);min-width:0;}
html.style2 .s2n-st b{display:block;font:800 1.3rem/1.1 'Poppins',var(--font-d);background:linear-gradient(100deg,#2563eb,#7c3aed 55%,#ec4899);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
html.style2 .s2n-st span{display:block;margin-top:4px;font-size:.72rem;font-weight:700;color:#4b5486;}
html.style2 .s2n-tools .sr-search{margin-bottom:0;}
html.style2 .s2n-tools .sr-search input{height:52px;border-radius:18px;border:1.5px solid #d9ddf3;background:#fff;color:#1b1f4a;padding:0 16px 0 48px;}
html.style2 .s2n-tools .sr-search input:focus{border-color:#7c3aed;box-shadow:0 0 0 4px rgba(124,58,237,.14);outline:none;}
html.style2 .s2n-seasons{display:flex;gap:7px;overflow-x:auto;padding:10px 0 14px;scrollbar-width:none;}
html.style2 .s2n-seasons::-webkit-scrollbar{display:none;}
html.style2 .s2n-sb{flex:none;display:inline-flex;align-items:center;gap:7px;border:1px solid #cfd5f3;background:#fff;color:#3b4180!important;border-radius:99px;padding:8px 14px;font-weight:700;font-size:.8rem;text-decoration:none;}
html.style2 .s2n-sb em{font-style:normal;font-size:.7rem;background:#f4f6ff;border-radius:99px;padding:1px 8px;}
html.style2 .s2n-sb.on{background:linear-gradient(100deg,#2563eb,#7c3aed 55%,#ec4899);color:#fff!important;border-color:transparent;box-shadow:0 6px 16px rgba(124,58,237,.3);}
html.style2 .s2n-sb.on em{background:rgba(255,255,255,.25);color:#fff;}
html.style2 .s2n-tools{margin-bottom:6px;}
html.style2 .s2n-tools:not(:has(.s2n-seasons)){margin-bottom:14px;}
html.style2 .sr-list{gap:12px;}
html.style2 .s2n-row{--c:#4338ca;display:grid;grid-template-columns:60px minmax(0,1fr);gap:12px 14px;padding:14px;background:#fff;border:1px solid #e3e6f5;border-radius:24px;box-shadow:0 6px 20px rgba(60,70,160,.07);transition:border-color .18s,box-shadow .18s;}
html.style2 .s2n-row:hover{border-color:#a5b4fc;box-shadow:0 12px 30px rgba(99,102,241,.16);}
html.style2 .s2n-ep{height:60px;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--c);background:color-mix(in srgb,var(--c) 9%,#fff);border:1px solid color-mix(in srgb,var(--c) 22%,#fff);}
html.style2 .s2n-ep small{font-size:.66rem;font-weight:800;line-height:1;color:#fff;background:var(--c);padding:3px 9px;border-radius:99px;letter-spacing:.2px;box-shadow:0 3px 8px color-mix(in srgb,var(--c) 40%,transparent);}
html.style2 .s2n-ep b{font:800 1.2rem/1.1 'Poppins',var(--font-d);color:var(--e,#1b1f4a);}
html.style2 .s2n-ep .s2ic{color:var(--c);}
html.style2 .s2n-info{min-width:0;}
html.style2 .s2n-name{font-weight:700;font-size:.93rem;line-height:1.42;color:#1b1f4a;overflow-wrap:anywhere;}
html.style2 .s2n-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:7px;font-size:.76rem;font-weight:600;color:#4b5486;}
html.style2 .s2n-meta span{display:inline-flex;align-items:center;gap:5px;}
html.style2 .s2n-meta .s2ic{color:#6366f1;}
html.style2 .s2n-meta .q{padding:2px 9px;border-radius:99px;font-weight:800;font-size:.7rem;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;}
html.style2 .s2n-meta .q.hd{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe;}
html.style2 .s2n-meta .q.sd{background:#fffbeb;color:#b45309;border-color:#fde68a;}
html.style2 .s2n-act{grid-column:1/-1;display:flex;gap:8px;}
html.style2 .s2n-dl{flex:1;min-width:0;display:flex;align-items:center;gap:12px;height:56px;padding:0 8px;border-radius:18px;color:#fff!important;text-decoration:none;font:700 1rem 'Poppins',var(--font-d);
  background:linear-gradient(100deg,#2563eb,#7c3aed 55%,#ec4899);box-shadow:0 12px 24px rgba(124,58,237,.34),inset 0 1px 0 rgba(255,255,255,.35);transition:transform .15s,filter .15s;}
html.style2 .s2n-dl .ti{flex:none;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.4);}
html.style2 .s2n-dl .s2ic{color:#fff;}
html.style2 .s2n-dl .t{flex:1;text-align:left;color:#fff;}
html.style2 .s2n-dl .sz{flex:none;margin-right:10px;padding:4px 10px;border-radius:99px;background:rgba(255,255,255,.2);font:700 .74rem 'Inter',var(--font-b);color:#fff;}
html.style2 .s2n-dl:hover{filter:brightness(1.07);}
html.style2 .s2n-dl:active{transform:scale(.97);}
html.style2 .s2n-cp{flex:none;width:56px;height:56px;border-radius:18px;border:1.5px solid #d9ddf3;background:#fff;color:#4338ca;display:grid;place-items:center;cursor:pointer;}
html.style2 .s2n-cp .s2ic{color:#4338ca;}
html.style2 .s2n-cp:hover{background:#f4f6ff;}
html.style2 .s2n-cp.ok{background:#ecfdf5;border-color:#6ee7b7;color:#047857;font-weight:800;}
html.style2 .s2n-dl:focus-visible,html.style2 .s2n-cp:focus-visible,html.style2 .s2n-sb:focus-visible{outline:3px solid #a5b4fc;outline-offset:2px;}
html.style2 .sr-wrap .pg-btn{background:#fff;border:1px solid #d9ddf3;color:#3b4180;border-radius:14px;height:44px;min-width:44px;font-weight:700;}
html.style2 .sr-wrap .pg-btn.on{background:linear-gradient(100deg,#2563eb,#7c3aed 55%,#ec4899);color:#fff;border-color:transparent;box-shadow:0 6px 16px rgba(124,58,237,.3);}
@media(min-width:720px){
  html.style2 .s2n-hero{padding:30px 30px 66px;}
  html.style2 .s2n-cover{width:96px;height:124px;}
  html.style2 .s2n-stats{margin:-44px 30px 18px;}
  html.style2 .s2n-row{grid-template-columns:64px minmax(0,1fr) auto;align-items:center;}
  html.style2 .s2n-act{grid-column:auto;}
  html.style2 .s2n-dl{flex:0 0 250px;height:58px;}
  html.style2 .s2n-cp{width:58px;height:58px;}
}
@media(prefers-reduced-motion:reduce){html.style2 .s2n-dot{animation:none;}}

/* ── B) MY LINKS (user) + ALL LINKS (admin) ── */
html.style2 .s2l-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;border-bottom:0!important;}
html.style2 .s2l-tot{flex:none;text-align:right;}
html.style2 .s2l-tot b{display:block;font:800 1.9rem/1 'Poppins',var(--font-d);background:linear-gradient(100deg,#2563eb,#7c3aed 55%,#ec4899);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
html.style2 .s2l-tot span{font-size:.72rem;font-weight:700;color:#4b5486;}
/* Active / Trash segmented switch */
html.style2 .ltabs{display:grid!important;grid-template-columns:1fr 1fr;width:100%;gap:4px;padding:4px;border-radius:18px;margin-bottom:14px;}
html.style2 .ltab{justify-content:center;height:46px;padding:0 10px!important;border-radius:14px;font-size:.88rem;}
html.style2 .ltab.on{background:linear-gradient(100deg,#2563eb,#7c3aed 55%,#ec4899)!important;color:#fff!important;box-shadow:0 8px 18px rgba(124,58,237,.32)!important;}
html.style2 .ltab.on i{color:#fff!important;}
html.style2 .ltab.on .n{background:rgba(255,255,255,.28)!important;color:#fff!important;}
/* Admin search + status filter */
html.style2 .al-filter{gap:8px;margin-bottom:12px;}
html.style2 .al-filter .form-control{height:48px;border-radius:16px;border:1.5px solid #d9ddf3;background:#fff;color:#1b1f4a;font-weight:500;}
html.style2 .al-filter input[type=text]{padding-left:44px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") no-repeat 14px center/18px;}
html.style2 .al-filter .form-control:focus{border-color:#7c3aed;box-shadow:0 0 0 4px rgba(124,58,237,.14);outline:none;}
html.style2 .al-filter select{font-weight:700;color:#3b4180;}
html.style2 .al-filter .btn{height:48px;width:48px;padding:0;border-radius:16px;justify-content:center;}
/* Select row (+ floating action bar) */
html.style2 .bulk-bar{background:transparent!important;border:0!important;box-shadow:none!important;padding:2px 4px 10px!important;margin-bottom:6px!important;}
html.style2 #chk-all,html.style2 .gc-chk{-webkit-appearance:none;appearance:none;width:22px!important;height:22px!important;border-radius:8px;border:2px solid #b9c0f5;background:#fff;display:inline-grid;place-items:center;cursor:pointer;flex:none;margin:0;}
html.style2 #chk-all:checked,html.style2 .gc-chk:checked{background:linear-gradient(135deg,#3b82f6,#7c3aed);border-color:transparent;}
html.style2 #chk-all:checked::after,html.style2 .gc-chk:checked::after{content:"";width:6px;height:11px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg) translate(-1px,-1px);}
html.style2 #chk-all:focus-visible,html.style2 .gc-chk:focus-visible{outline:3px solid #a5b4fc;outline-offset:2px;}
html.style2 .bulk-empty{margin-left:auto;height:40px;border-radius:13px;background:#fef2f2!important;color:#b91c1c!important;border:1px solid #fecaca!important;}
html.style2 .bulk-bar .bulk-act{position:fixed!important;left:50%;bottom:calc(14px + env(safe-area-inset-bottom,0px));transform:translate(-50%,160%);width:min(560px,calc(100% - 24px));z-index:60;display:flex;gap:8px;padding:10px;border-radius:22px;background:#1b1f4a;box-shadow:0 18px 40px rgba(27,31,74,.45);transition:transform .25s;margin:0!important;}
html.style2 .bulk-bar.has-sel .bulk-act{transform:translate(-50%,0);}
html.style2 .bulk-act .btn{flex:1;height:44px;border-radius:14px;justify-content:center;border:0;color:#fff!important;font-weight:700;}
html.style2 .bulk-act .btn-danger{background:#e11d48!important;}
html.style2 .bulk-act .btn-success{background:#059669!important;}
/* Link card */
html.style2 .gc-card{--c:#7c3aed;border-radius:24px;}
html.style2 .gc-card::before{display:none!important;}
html.style2 .gc-card.picked{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.16);}
html.style2 .gc-inner{padding:14px!important;}
html.style2 .gc-top{flex-direction:row!important;align-items:flex-start!important;}
html.style2 .gc-chk-name{display:flex;gap:12px;align-items:flex-start;flex:1;min-width:0;}
html.style2 .gc-chk{margin-top:13px;}
html.style2 .gc-name-wrap{position:relative;padding-left:60px;min-height:48px;display:flex;flex-wrap:wrap;align-items:center;gap:6px;}
html.style2 .gc-name-wrap .gc-name{flex:1 1 100%;margin-bottom:2px;align-items:center;}
html.style2 .gc-name>i:first-child{position:absolute;left:0;top:0;width:48px!important;height:48px!important;flex:none;border-radius:16px;font-size:1.3rem;padding:0;
  color:var(--c)!important;background:color-mix(in srgb,var(--c) 10%,#fff);border:1px solid color-mix(in srgb,var(--c) 24%,#fff);}
html.style2 .gc-name .gc-name-text,html.style2 .gc-name .gc-nm{padding-top:0;}
html.style2 .gc-user-pill{background:#f5f3ff!important;border:1px solid #ddd6fe;color:#5b21b6!important;padding:3px 11px 3px 4px!important;}
html.style2 .gc-user-pill>.fa-user{display:none;}
html.style2 .gc-av{width:20px;height:20px;border-radius:50%;display:inline-grid;place-items:center;background:linear-gradient(135deg,#3b82f6,#7c3aed,#ec4899);color:#fff;font:800 .62rem 'Inter',var(--font-b);font-style:normal;}
html.style2 .gc-del-btn{width:40px;height:40px;padding:0!important;justify-content:center;border-radius:13px;font-size:1rem;}
html.style2 .gc-del-t{display:none;}
html.style2 .gc-status-row{margin-bottom:10px;}
html.style2 .gc-copy-btn{height:46px;border-radius:15px;}
html.style2 .gc-copy-btn:disabled{background:#eceffa!important;color:#8a92bd!important;box-shadow:none!important;opacity:1;}
html.style2 .gc-footer span:last-child{margin-left:auto;color:#4338ca;font-weight:800;}
html.style2 .gc-trash-actions button,html.style2 .gc-trash-actions a{height:46px;border-radius:15px;font-weight:700;}
html.style2 .gc-restore-btn{background:linear-gradient(135deg,#10b981,#059669)!important;color:#fff!important;}
html.style2 .gc-perm-btn{background:#fef2f2!important;color:#b91c1c!important;border:1px solid #fecaca!important;}
html.style2 .gc-life{margin-top:12px;}
html.style2 .gc-life div{height:7px;border-radius:99px;background:#fee2e2;overflow:hidden;}
html.style2 .gc-life i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#f59e0b,#ef4444);}
html.style2 .gc-daysleft{background:none;padding:0;margin-top:6px;color:#b91c1c!important;font-weight:700;}
html.style2 .pg-btn{background:#fff;border:1px solid #d9ddf3;color:#3b4180;border-radius:14px;height:44px;min-width:44px;font-weight:700;}
html.style2 .pg-btn.on{background:linear-gradient(100deg,#2563eb,#7c3aed 55%,#ec4899);color:#fff;border-color:transparent;}
@media(min-width:720px){html.style2 .gc-btn-row .gc-copy-btn{max-width:260px;}}
@media(prefers-reduced-motion:reduce){html.style2 .bulk-bar .bulk-act{transition:none;}}

/* ── v213 — Series page: coloured S / E badge (one colour pair per season) ── */
html.style2 .s2n-row.p0{--c:#4f46e5;--e:#db2777;}
html.style2 .s2n-row.p1{--c:#db2777;--e:#7c3aed;}
html.style2 .s2n-row.p2{--c:#059669;--e:#2563eb;}
html.style2 .s2n-row.p3{--c:#ea580c;--e:#be123c;}
html.style2 .s2n-row.p4{--c:#0891b2;--e:#7c3aed;}
html.style2 .s2n-row.p5{--c:#7c3aed;--e:#059669;}
html.style2 .s2n-ep{background:color-mix(in srgb,var(--c) 10%,#fff);border-color:color-mix(in srgb,var(--c) 30%,#fff);}
html.style2 .s2n-ep b{font-size:1.28rem;}

/* ── v213 — User panel: API Access page (docs) colour fix ── */
html.style2 .api-page-wrap .settings-head{color:#1b1f4a!important;font-weight:800;}
html.style2 .api-page-wrap .settings-head i{color:#7c3aed!important;}
html.style2 .api-page-wrap .settings-body p{color:#4b5486!important;}
html.style2 .api-page-wrap .api-key-row input{background:#f8f9ff!important;color:#1b1f4a!important;border:1.5px solid #d9ddf3!important;}
html.style2 .api-page-wrap .api-key-row .icon-btn{color:#4338ca!important;}
html.style2 .api-page-wrap .api-key-row .icon-btn:hover{color:#7c3aed!important;}
html.style2 .api-page-wrap .param-table th{background:#eef0ff!important;color:#3730a3!important;}
html.style2 .api-page-wrap .param-table td{color:#1b1f4a!important;border-bottom:1px solid #e3e6f5!important;}
html.style2 .api-page-wrap .param-table td code{background:#eef0ff!important;color:#4338ca!important;font-weight:700;}
html.style2 .api-page-wrap .badge-info{background:#dbeafe!important;color:#1d4ed8!important;font-weight:800;}
html.style2 .api-page-wrap .badge-purple{background:#ede9fe!important;color:#6d28d9!important;font-weight:800;}
html.style2 .api-page-wrap .code-tabs{border-bottom:1.5px solid #e3e6f5;gap:6px;padding-bottom:0;}
html.style2 .api-page-wrap .code-tab-btn{color:#4b5486!important;background:transparent;border-radius:10px 10px 0 0;}
html.style2 .api-page-wrap .code-tab-btn:hover{color:#4338ca!important;background:#f4f6ff;}
html.style2 .api-page-wrap .code-tab-btn.active{color:#4338ca!important;background:#eef0ff;border-bottom-color:#4f46e5;}
html.style2 .api-page-wrap .code-pane{background:#f6f7ff!important;border:1px solid #e3e6f5;border-top:0;}
html.style2 .api-page-wrap .code-pane pre{background:transparent!important;color:#312e81!important;}
html.style2 .api-page-wrap .endpoint-box{background:#eef0ff!important;color:#3730a3!important;}
html.style2 .api-page-wrap p code{background:#eef0ff!important;color:#4338ca!important;}
html.style2 .api-page-wrap .btn-ghost{background:#fff!important;color:#3730a3!important;border:1.5px solid #c7cdf5!important;font-weight:700;}
html.style2 .api-page-wrap .btn-ghost:hover{background:#eef0ff!important;}
html.style2 .api-page-wrap .alert-warn{background:#fffbeb!important;color:#92400e!important;border:1px solid #fde68a!important;}
html.style2 .api-page-wrap .alert-error{background:#fef2f2!important;color:#b91c1c!important;border:1px solid #fecaca!important;}

/* ── v214 — Premium page tiles / icons / chips: light theme ── */
html.style2 .pm-tile{background:color-mix(in srgb,var(--sc,#7c5cff) 8%,#fff)!important;border:1px solid color-mix(in srgb,var(--sc,#7c5cff) 24%,#fff)!important;border-top:4px solid var(--sc,#7c5cff)!important;box-shadow:0 8px 22px rgba(60,70,160,.10)!important;}
html.style2 .pm-tile .l{color:#4b5486!important;}
html.style2 .pm-tile .n{color:#1b1f4a!important;}
html.style2 .pm-tile .s{color:#4b5486!important;}
html.style2 .pm-card{background:#fff!important;border:1px solid var(--border)!important;box-shadow:0 8px 24px rgba(60,70,160,.09);}
html.style2 .pm-ic{color:#6d28d9!important;background:#ede9fe!important;border-color:#ddd6fe!important;}
html.style2 .pm-ic.red{color:#b91c1c!important;background:#fee2e2!important;border-color:#fecaca!important;}
html.style2 .pm-ic.lg{color:#fff!important;background:linear-gradient(135deg,#7c3aed,#2563eb)!important;border:0!important;}
html.style2 .pm-pill{color:#047857!important;background:#d1fae5!important;border-color:#6ee7b7!important;}
html.style2 .pm-hero{background:linear-gradient(135deg,#ede9fe,#dbeafe)!important;border-color:#c7d2fe!important;}
html.style2 .pm-hero h2,html.style2 .pm-ch h3,html.style2 .pm-num{color:#1b1f4a!important;}
html.style2 .pm-hero p,html.style2 .pm-meta,html.style2 .pm-text,html.style2 .pm-num span,html.style2 .pm-ch .r,html.style2 .pm-col .v,html.style2 .pm-prob small{color:#4b5486!important;}
html.style2 .pm-notice,html.style2 .pm-note{background:#f5f3ff!important;border-color:#ddd6fe!important;color:#3b4180!important;}
html.style2 .pm-notice i,html.style2 .pm-note i{color:#6d28d9!important;}
html.style2 .pm-dot{color:#6d28d9!important;background:#ede9fe!important;border-color:#ddd6fe!important;}
html.style2 .pm-bar{background:#e8eaf8!important;}
html.style2 .pm-col .b{opacity:.7;}
html.style2 .pm-prob{background:#fef2f2!important;border-color:#fecaca!important;color:#7f1d1d!important;}
html.style2 .pm-prob span{color:#b91c1c!important;}
html.style2 .pm-list li{color:#1b1f4a;}

/* ── v214 — Phone bottom bar: active / pressed label stays white ── */
html.style2 .mbar .mb-i:hover,html.style2 .mbar .mb-i:active,html.style2 .mbar .mb-i:focus-visible,html.style2 .mbar .mb-i.on{color:#fff!important;}
html.style2 .mbar .mb-i.on span,html.style2 .mbar .mb-i:active span{color:#fff!important;}

/* ── v214 — Dashboard welcome heading: darker gradient ── */
html.style2 .dh-welcome h1{background:linear-gradient(135deg,#4f46e5,#7c3aed 55%,#db2777)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;}

/* ── v214 — My Analytics (same look as Admin analytics) ── */
html.style2 .an-sec{color:#1b1f4a;}
html.style2 .an-tbl th{background:#f4f6ff!important;color:#3b4180!important;}
html.style2 .an-tbl td{color:#1b1f4a;}
html.style2 .an-tbl td code{background:#eef0ff;color:#4338ca;font-weight:700;}
html.style2 .an2-cards .stat-card{background:#fff!important;border:1px solid var(--border)!important;border-top:4px solid var(--sc,#7c5cff)!important;}
html.style2 .an2-cards .stat-card:nth-child(1){--sc:#7c3aed;}
html.style2 .an2-cards .stat-card:nth-child(2){--sc:#2563eb;}
html.style2 .an2-cards .stat-card:nth-child(3){--sc:#059669;}
html.style2 .an2-cards .stat-card-val{color:#1b1f4a!important;}
html.style2 .an2-cards .stat-card-lbl{color:#4b5486!important;}

/* ── v214 — Series page: Option A (2-column cards, accent strip, NEW badge) ── */
html.style2 .s2n-row{position:relative;overflow:hidden;grid-template-columns:64px minmax(0,1fr)!important;padding:14px 14px 14px 18px;}
html.style2 .s2n-row::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:5px;border-radius:0 6px 6px 0;background:var(--c);}
html.style2 .s2n-ep{width:64px;height:64px;}
html.style2 .s2n-act{grid-column:1/-1!important;}
html.style2 .s2n-dl{flex:1 1 auto!important;height:52px!important;}
html.style2 .s2n-cp{width:52px!important;height:52px!important;}
html.style2 .s2n-meta .nw{padding:2px 9px;border-radius:99px;font-weight:800;font-size:.68rem;background:#fce7f3;color:#be185d;border:1px solid #fbcfe8;}
@media(min-width:760px){html.style2 .sr-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;}html.style2 .sr-list>.sr-empty{grid-column:1/-1;}}

/* ── v214 — User API Access page: new design ── */
html.style2 .ap2-oldhead{display:none;}
html.style2 .ap2-hero{background:linear-gradient(100deg,#2563eb,#7c3aed 55%,#ec4899);color:#fff;border-radius:26px;padding:22px;box-shadow:0 14px 30px rgba(124,58,237,.3);margin-bottom:12px;}
html.style2 .ap2-hero h2{margin:0 0 4px;font-size:1.3rem;color:#fff!important;}
html.style2 .ap2-hero p{margin:0;font-size:.88rem;color:#fff!important;opacity:.95;}
html.style2 .ap2-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px;}
html.style2 .ap2-st{border-radius:20px;padding:14px;border:1px solid;font-size:.82rem;font-weight:700;color:#1b1f4a;}
html.style2 .ap2-st b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:#fff;margin-bottom:8px;}
html.style2 .ap2-st.s1{background:#eef2ff;border-color:#c7d2fe;}html.style2 .ap2-st.s1 b{background:#4f46e5;}
html.style2 .ap2-st.s2{background:#fdf2f8;border-color:#fbcfe8;}html.style2 .ap2-st.s2 b{background:#db2777;}
html.style2 .ap2-st.s3{background:#ecfdf5;border-color:#a7f3d0;}html.style2 .ap2-st.s3 b{background:#059669;}
@media(max-width:420px){html.style2 .ap2-st{padding:10px;font-size:.72rem;}}
html.style2 .api-page-wrap .settings-card{position:relative;overflow:hidden;border-radius:24px!important;}
html.style2 .api-page-wrap .settings-card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#2563eb,#06b6d4);}
html.style2 .api-page-wrap .api-keys-grid .settings-card::before{background:linear-gradient(90deg,#7c3aed,#ec4899);}
html.style2 .api-page-wrap .code-tabs{border-bottom:0;gap:6px;}
html.style2 .api-page-wrap .code-tab-btn{border-radius:99px;background:#f1f3ff;border-bottom:0;padding:8px 16px;}
html.style2 .api-page-wrap .code-tab-btn.active{background:#4f46e5;color:#fff!important;border-bottom:0;}
html.style2 .api-page-wrap .code-pane{background:#14173a!important;border:0;border-radius:20px;margin-top:10px;padding:34px 16px 16px;position:relative;}
html.style2 .api-page-wrap .code-pane::before{content:"";position:absolute;left:16px;top:13px;width:10px;height:10px;border-radius:50%;background:#f87171;box-shadow:16px 0 0 #fbbf24,32px 0 0 #34d399;}
html.style2 .api-page-wrap .code-pane pre{color:#e0e7ff!important;background:transparent!important;}
html.style2 .api-page-wrap p code{background:#ecfdf5!important;color:#065f46!important;border:1px solid #a7f3d0;border-radius:12px!important;padding:10px 12px!important;display:block!important;margin-top:8px;}

/* ── v215 — Admin + user panels: coloured top line on every box (same as Style 1) ──
   Cause: the white-card rule above set `border:1px solid … !important`, which also wiped
   the 4px coloured top border that panel_theme.css / dash_layout.php gives every box (--pc / --sc). */
html.style2 .pt-box{border-top:4px solid var(--pc,#7c5cff)!important;}
html.style2 .stat-card{border-top:4px solid var(--sc,var(--pc,#7c5cff))!important;}

/* ── v215 — Admin: dark preview / log boxes that were unreadable on the white theme ── */
html.style2 pre[style*="#0d0d14"]{background:#f6f7ff!important;color:#1b1f4a!important;border:1px solid #e3e6f5!important;}
html.style2 #brand-preview{background:#f6f7ff!important;border-color:#e3e6f5!important;}
html.style2 .bb-prev{background:#f1f3ff!important;color:#1b1f4a!important;border:1px solid #e3e6f5;}
html.style2 .bb-prev span:not(.bb-pill){color:#1b1f4a!important;}
html.style2 .pv-box{background:#f6f7ff!important;border-color:#e3e6f5!important;color:#1b1f4a;}
html.style2 .pv-box .pv-title{color:#4b5486!important;}
html.style2 .pv-box .pv-name{color:#1b1f4a!important;}

/* ══ v219: Style 2 switches — visible OFF track, coloured ON track, white knob with soft shadow ══
   (the v210 auto rules forced every track to near-white, so ON and OFF looked the same) */
html.style2 .toggle-slider,html.style2 .ads-slider,html.style2 .idl-slider,html.style2 .ltd-slider,
html.style2 .seo-slider,html.style2 .bb-sl,html.style2 .switch .slider{
  background:#cdd3ea!important;box-shadow:inset 0 1px 3px rgba(40,50,120,.18);}
html.style2 .toggle-slider:before,html.style2 .ads-slider:before,html.style2 .idl-slider:before,html.style2 .ltd-slider:before,
html.style2 .seo-slider:before,html.style2 .bb-sl:before,html.style2 .switch .slider:before{
  background:#fff!important;box-shadow:0 2px 5px rgba(30,40,110,.30);}
/* ON = purple/blue gradient (same family as the site theme) */
html.style2 .toggle input:checked + .toggle-slider,html.style2 .idl-switch input:checked + .idl-slider,
html.style2 .switch input:checked + .slider{
  background:linear-gradient(135deg,#6366f1,#8b5cf6)!important;box-shadow:0 0 0 3px rgba(99,102,241,.15);}
/* ON = green for the on/off service switches */
html.style2 .ads-switch input:checked + .ads-slider,html.style2 .ltd-switch input:checked + .ltd-slider,
html.style2 .seo-switch input:checked + .seo-slider,html.style2 .bb-sw input:checked + .bb-sl{
  background:linear-gradient(135deg,#34d399,#10b981)!important;box-shadow:0 0 0 3px rgba(16,185,129,.16);}
html.style2 .toggle input:focus-visible + .toggle-slider,html.style2 .switch input:focus-visible + .slider,
html.style2 .ads-switch input:focus-visible + .ads-slider,html.style2 .ltd-switch input:focus-visible + .ltd-slider,
html.style2 .idl-switch input:focus-visible + .idl-slider,html.style2 .seo-switch input:focus-visible + .seo-slider{
  outline:2px solid #6366f1;outline-offset:2px;}
