body.tp-dark{--bg:#1a1d23!important;--bg-card:#23262d!important;--text:#d0d3da!important;--text2:#888b92!important;--border:#2d3038!important;--border-l:#2d3038!important}

body.tp-light{--bg:#ffffff!important;--bg-card:#f8f9fa!important;--text:#1a1a2e!important;--text2:#6c757d!important;--border:#e0e0e0!important;--border-l:#e0e0e0!important}

/* ═══ NEUMORPHISM LIGHT — body.style-light-light ═══ */
body.style-light-light{background:#e8eaf0!important;color:#3a3d4a!important;font-family:-apple-system,BlinkMacSystemFont,sans-serif!important;font-size:15px!important;line-height:1.35!important}
body.style-light-light .header{background:#e8eaf0!important;border-bottom:none!important;padding:12px 24px!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;justify-content:space-between!important}

body.style-light-light .header .nav{display:flex!important;justify-content:center!important;gap:6px!important;margin:0!important;flex-wrap:nowrap!important}
body.style-light-light .header .nav a{display:inline-flex!important;align-items:center!important;padding:8px 16px!important;color:#7a7d8a!important;text-decoration:none!important;font-size:13px!important;font-weight:600!important;border-radius:20px!important;background:linear-gradient(145deg,#e8eaf0,#d1d4df)!important;box-shadow:4px 4px 8px #c2c5d1,-4px -4px 8px #fff!important;border:none!important;transition:all .3s!important;white-space:nowrap!important}
body.style-light-light .header .nav a:hover{color:#3a3d4a!important}
body.style-light-light .header .nav a.active{color:#6C5CE7!important;box-shadow:inset 4px 4px 8px #c2c5d1,inset -4px -4px 8px #fff!important}
body.style-light-light .header .actions a,body.style-light-light .header .actions button{display:inline-flex!important;align-items:center!important;padding:8px 16px!important;color:#6C5CE7!important;text-decoration:none!important;font-size:13px!important;font-weight:600!important;border-radius:20px!important;background:transparent!important;box-shadow:none!important;border:1.5px solid var(--primary)!important;transition:all .3s!important;margin-left:6px!important;line-height:1.2!important;white-space:nowrap!important}
body.style-light-light .header .actions a svg,body.style-light-light .header .actions button svg{display:none!important}
body.style-light-light .header .actions a:hover,body.style-light-light .header .actions button:hover{background:var(--primary)!important;color:#fff!important}
body.style-light-light .header .actions a svg,body.style-light-light .header .actions button svg{display:none!important}
@media(max-width:768px){body.style-light-light .header .nav{display:none!important}body.style-light-light .hamburger{display:flex!important}body.style-light-light .header .actions .btn,body.style-light-light .header .actions a{display:none!important}body.style-light-light .header{padding:14px 16px!important;flex-wrap:wrap!important}}
@media(min-width:769px){body.style-light-light .hamburger{display:none!important}}

body.style-light-light .dash-sidebar{width:100%!important;max-width:100%!important;background:transparent!important;border:none!important;padding:8px 4px!important;display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:8px!important;margin-bottom:20px!important;position:static!important;height:auto!important;min-height:auto!important;max-height:none!important;overflow:visible!important}
body.style-light-light .sidebar-label{display:none!important;padding:8px 0 2px!important}
body.style-light-light .dash-sidebar .icon{display:none!important}

body.style-light-light .dash-sidebar a{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:8px 20px!important;color:#7a7d8a!important;text-decoration:none!important;font-size:13px!important;font-weight:600!important;border-radius:20px!important;transition:all .3s!important;background:linear-gradient(145deg,#e8eaf0,#d1d4df)!important;box-shadow:4px 4px 8px #c2c5d1,-4px -4px 8px #ffffff!important;border:none!important;border-left:none!important;line-height:1.2!important}
body.style-light-light .dash-sidebar a:hover{color:#3a3d4a!important;box-shadow:4px 4px 8px #c2c5d1,-4px -4px 8px #ffffff!important}
body.style-light-light .dash-sidebar a.active{color:#6C5CE7!important;box-shadow:inset 4px 4px 8px #c2c5d1,inset -4px -4px 8px #ffffff!important}
body.style-light-light .dash-main{max-width:1100px!important;width:100%!important;padding:0 24px!important}

body.style-light-light .scard,body.style-light-light .csec,
body.style-light-light .scard:hover,
body.style-light-light .scard .sn{font-size:36px!important;font-weight:800!important;color:#6C5CE7!important;text-align:center!important}
body.style-light-light .scard .sl{font-size:12px!important;color:#7a7d8a!important;text-align:center!important;margin-top:4px!important}


body.style-light-light button,body.style-light-light .btn-sm,body.style-light-light .admin-btn{font-weight:700!important;font-size:14px!important;border-radius:30px!important;padding:12px 28px!important;border:none!important;cursor:pointer!important;transition:all .3s!important;background:linear-gradient(145deg,#e8eaf0,#d1d4df)!important;color:#3a3d4a!important;box-shadow:6px 6px 12px #c2c5d1,-6px -6px 12px #ffffff!important}
body.style-light-light button:hover,body.style-light-light .btn-sm:hover{box-shadow:4px 4px 8px #c2c5d1,-4px -4px 8px #ffffff!important;color:#6C5CE7!important}
body.style-light-light button:active,body.style-light-light .btn-sm:active{box-shadow:inset 4px 4px 8px #c2c5d1,inset -4px -4px 8px #ffffff!important}
body.style-light-light .btn-sm.primary{background:linear-gradient(145deg,#6C5CE7,#5a4bd1)!important;color:#fff!important;box-shadow:6px 6px 12px rgba(108,92,231,.2),-6px -6px 12px rgba(255,255,255,.8)!important}
body.style-light-light .btn-sm.danger{background:linear-gradient(145deg,#e8eaf0,#d1d4df)!important;color:#e74c3c!important}
body.style-light-light input,body.style-light-light select{background:linear-gradient(145deg,#e8eaf0,#d1d4df)!important;border:none!important;border-radius:20px!important;padding:14px 20px!important;font-size:15px!important;box-shadow:inset 4px 4px 8px #c2c5d1,inset -4px -4px 8px #ffffff!important;color:#3a3d4a!important}
body.style-light-light input:focus,body.style-light-light select:focus{outline:none!important;box-shadow:inset 6px 6px 12px #c2c5d1,inset -6px -6px 12px #ffffff!important}
body.style-light-light h2,body.style-light-light h3{color:#3a3d4a!important;font-weight:700!important}
body.style-light-light .htbl{border-radius:20px!important;overflow:hidden!important;box-shadow:8px 8px 16px #c2c5d1,-8px -8px 16px #ffffff!important}
body.style-light-light .htbl th{background:linear-gradient(145deg,#e8eaf0,#d1d4df)!important;color:#3a3d4a!important;font-weight:700!important;font-size:11px!important;text-transform:uppercase!important;padding:14px 16px!important}
body.style-light-light .htbl td{padding:12px 16px!important;border-bottom:1px solid #d1d4df!important}
body.style-light-light .htbl tr:hover td{background:rgba(108,92,231,.03)!important}
body.style-light-light .user-pill{background:linear-gradient(145deg,#e8eaf0,#d1d4df)!important;box-shadow:4px 4px 8px #c2c5d1,-4px -4px 8px #ffffff!important;border-radius:30px!important;border:none!important}
body.style-light-light .tier-badge{border-radius:20px!important}
body.style-light-light .logout-btn{color:#7a7d8a!important;font-weight:600!important}
body.style-light-light .modal{background:linear-gradient(145deg,#e8eaf0,#d1d4df)!important;border-radius:30px!important;box-shadow:20px 20px 40px #c2c5d1,-20px -20px 40px #ffffff!important;border:none!important}
body.style-light-light .toast{border-radius:20px!important}
body.style-light-light .dash-sidebar a{padding-top:8px!important;padding-bottom:8px!important;line-height:1.2!important}
body.style-light-light .sidebar-label{padding-top:14px!important;padding-bottom:4px!important}
body.style-light-light .dash-sidebar .icon{line-height:1!important}
@media(max-width:768px){body.style-light-light .dash-sidebar{flex-wrap:nowrap!important;overflow-x:auto!important;justify-content:flex-start!important}body.style-light-light .dash-sidebar a{flex-shrink:0!important}}

/* ═══ NEUMORPHISM DARK — body.style-light-dark ═══ */
body.style-light-dark{--bg:#1a1d23!important;--bg-card:#23262d!important;--text:#d0d3da!important;--text2:#888b92!important;--border:#2d3038!important;--border-l:#2d3038!important;--primary-dark:#5a4bd1!important}
body.style-light-dark{background:#1a1d23!important;color:#d0d3da!important;font-family:-apple-system,BlinkMacSystemFont,sans-serif!important;font-size:15px!important;line-height:1.35!important}
body.style-light-dark .header{background:#1a1d23!important;border-bottom:none!important;padding:20px 32px!important;display:flex;align-items:center;display:flex!important;align-items:center!important}

body.style-light-dark .header .nav{display:flex!important;justify-content:center!important;gap:6px!important;margin:0!important;flex-wrap:nowrap!important}
body.style-light-dark .header .nav a{display:inline-flex!important;align-items:center!important;padding:8px 18px!important;color:#888b92!important;text-decoration:none!important;font-size:13px!important;font-weight:600!important;border-radius:20px!important;background:linear-gradient(145deg,#1a1d23,#23262d)!important;box-shadow:4px 4px 8px #111318,-4px -4px 8px #2d3038!important;border:none!important;transition:all .3s!important}
body.style-light-dark .header .nav a:hover{color:#d0d3da!important}
body.style-light-dark .header .nav a.active{color:#6C5CE7!important;box-shadow:inset 4px 4px 8px #111318,inset -4px -4px 8px #2d3038!important}
body.style-light-dark .header .actions a,body.style-light-dark .header .actions button{display:inline-flex!important;align-items:center!important;padding:8px 20px!important;color:#a78bfa!important;text-decoration:none!important;font-size:13px!important;font-weight:600!important;border-radius:20px!important;background:transparent!important;box-shadow:none!important;border:1.5px solid var(--primary)!important;transition:all .3s!important;margin-left:6px!important;line-height:1.2!important}
body.style-light-dark .header .actions a svg,body.style-light-dark .header .actions button svg{display:none!important}
body.style-light-dark .header .actions a:hover,body.style-light-dark .header .actions button:hover{background:var(--primary)!important;color:#fff!important}
body.style-light-dark .header .actions a svg,body.style-light-dark .header .actions button svg{display:none!important}
@media(max-width:768px){body.style-light-dark .header .nav{display:none!important}body.style-light-dark .hamburger{display:flex!important}body.style-light-dark .header .actions .btn,body.style-light-dark .header .actions a{display:none!important}body.style-light-dark .header{padding:14px 16px!important;flex-wrap:wrap!important}}
@media(min-width:769px){body.style-light-dark .hamburger{display:none!important}}

body.style-light-dark .dash-sidebar{width:100%!important;max-width:100%!important;background:transparent!important;border:none!important;padding:8px 4px!important;display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:8px!important;margin-bottom:20px!important;position:static!important;height:auto!important;min-height:auto!important;max-height:none!important;overflow:visible!important}
body.style-light-dark .sidebar-label{display:none!important;padding:8px 0 2px!important}
body.style-light-dark .dash-sidebar .icon{display:none!important}

body.style-light-dark .dash-sidebar a{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:8px 20px!important;color:#888b92!important;text-decoration:none!important;font-size:13px!important;font-weight:600!important;border-radius:20px!important;transition:all .3s!important;background:linear-gradient(145deg,#1a1d23,#23262d)!important;box-shadow:4px 4px 8px #111318,-4px -4px 8px #2d3038!important;border:none!important;border-left:none!important;line-height:1.2!important}
body.style-light-dark .dash-sidebar a:hover{color:#d0d3da!important;box-shadow:4px 4px 8px #111318,-4px -4px 8px #2d3038!important}
body.style-light-dark .dash-sidebar a.active{color:#6C5CE7!important;box-shadow:inset 4px 4px 8px #111318,inset -4px -4px 8px #2d3038!important}
body.style-light-dark .dash-main{max-width:1100px!important;width:100%!important;padding:0 24px!important}

body.style-light-dark .scard,body.style-light-dark .csec,
body.style-light-dark .scard:hover,
body.style-light-dark .scard .sn{font-size:36px!important;font-weight:800!important;color:#6C5CE7!important;text-align:center!important}
body.style-light-dark .scard .sl{font-size:12px!important;color:#888b92!important;text-align:center!important;margin-top:4px!important}


body.style-light-dark button,body.style-light-dark .btn-sm,body.style-light-dark .admin-btn{font-weight:700!important;font-size:14px!important;border-radius:30px!important;padding:12px 28px!important;border:none!important;cursor:pointer!important;transition:all .3s!important;background:linear-gradient(145deg,#1a1d23,#23262d)!important;color:#d0d3da!important;box-shadow:6px 6px 12px #111318,-6px -6px 12px #2d3038!important}
body.style-light-dark button:hover,body.style-light-dark .btn-sm:hover{box-shadow:4px 4px 8px #111318,-4px -4px 8px #2d3038!important;color:#6C5CE7!important}
body.style-light-dark button:active,body.style-light-dark .btn-sm:active{box-shadow:inset 4px 4px 8px #111318,inset -4px -4px 8px #2d3038!important}
body.style-light-dark .btn-sm.primary{background:linear-gradient(145deg,#6C5CE7,#5a4bd1)!important;color:#fff!important;box-shadow:6px 6px 12px rgba(108,92,231,.3),-6px -6px 12px rgba(45,48,56,.5)!important}
body.style-light-dark .btn-sm.danger{background:linear-gradient(145deg,#1a1d23,#23262d)!important;color:#e74c3c!important}
body.style-light-dark input,body.style-light-dark select{background:linear-gradient(145deg,#1a1d23,#23262d)!important;border:none!important;border-radius:20px!important;padding:14px 20px!important;font-size:15px!important;box-shadow:inset 4px 4px 8px #111318,inset -4px -4px 8px #2d3038!important;color:#d0d3da!important}
body.style-light-dark input:focus,body.style-light-dark select:focus{outline:none!important;box-shadow:inset 6px 6px 12px #111318,inset -6px -6px 12px #2d3038!important}
body.style-light-dark h2,body.style-light-dark h3{color:#d0d3da!important;font-weight:700!important}
body.style-light-dark .htbl{border-radius:20px!important;overflow:hidden!important;box-shadow:8px 8px 16px #111318,-8px -8px 16px #2d3038!important}
body.style-light-dark .htbl th{background:linear-gradient(145deg,#1a1d23,#23262d)!important;color:#d0d3da!important;font-weight:700!important;font-size:11px!important;text-transform:uppercase!important;padding:14px 16px!important}
body.style-light-dark .htbl td{padding:12px 16px!important;border-bottom:1px solid #2d3038!important}
body.style-light-dark .htbl tr:hover td{background:rgba(108,92,231,.05)!important}
body.style-light-dark .user-pill{background:linear-gradient(145deg,#1a1d23,#23262d)!important;box-shadow:4px 4px 8px #111318,-4px -4px 8px #2d3038!important;border-radius:30px!important;border:none!important}
body.style-light-dark .tier-badge{border-radius:20px!important}
body.style-light-dark .logout-btn{color:#888b92!important;font-weight:600!important}
body.style-light-dark .modal{background:linear-gradient(145deg,#1a1d23,#23262d)!important;border-radius:30px!important;box-shadow:20px 20px 40px #111318,-20px -20px 40px #2d3038!important;border:none!important}

body.style-light-dark .lm-card{background:#23262d!important;border-color:#2d3038!important}
body.style-light-dark .lm-card .lm-title{color:#d0d3da!important}
body.style-light-dark .lm-card .lm-desc{color:#888b92!important}
body.style-light-dark .lm-card.selected{border-color:var(--primary)!important}
body.style-light-dark .lm-icon{background:rgba(108,92,231,.15)!important}
body.style-light-dark .form-group label{color:#d0d3da!important}
body.style-light-dark .toast{border-radius:20px!important}
body.style-light-dark .dash-sidebar a{padding-top:8px!important;padding-bottom:8px!important;line-height:1.2!important}
body.style-light-dark .sidebar-label{padding-top:14px!important;padding-bottom:4px!important}
body.style-light-dark .dash-sidebar .icon{line-height:1!important}
@media(max-width:768px){body.style-light-dark .dash-sidebar{flex-wrap:nowrap!important;overflow-x:auto!important;justify-content:flex-start!important}body.style-light-dark .dash-sidebar a{flex-shrink:0!important}}


/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE ADAPTATION — max-width:480px (Samsung A51 412×914)
   Mobile-first comprehensive redesign — all pages
   ═══════════════════════════════════════════════════════════════════════════ */
@media(max-width:480px){
  /* ═══ CORE: Prevent horizontal scroll, readable base ═══ */
  body{overflow-x:hidden!important;font-size:15px!important;line-height:1.6!important}
  html{overflow-x:hidden!important}

  /* ═══ HEADER ═══ */
  .header{height:56px!important;padding:8px 12px!important}
  .header-in{padding:0 8px!important;gap:8px!important}
  .logo{font-size:17px!important;gap:6px!important}
  .logo-icon{font-size:26px!important}
  .nav{display:none!important}
  .hamburger{display:flex!important}
  .actions .btn{display:none!important}
  .header .actions a{display:none!important}

  /* ═══ ALL CONTAINERS — prevent overflow ═══ */
  .hero,.features,.how,.cta,.content-wrap,.container,
  .dash-main,.main-content,.faq-section,.tier-hero,
  .tier-sniper,.tier-seller,.tier-calc,.timeline .detail,
  .sniper-row,.promo-block,.tier-grid,.timeline,
  .contact,.prod-page,.bookmarklet-container,
  .carousel-section,.auth-container,
  *[class*="max-w"],*[style*="max-width"]{max-width:100vw!important;padding-left:16px!important;padding-right:16px!important;box-sizing:border-box!important}

  /* ═══ TYPOGRAPHY — readable on small screens ═══ */
  h1,.hero h1{font-size:24px!important;line-height:1.2!important;margin-bottom:8px!important}
  h2{font-size:20px!important;line-height:1.25!important;margin:20px 0 10px!important}
  h3{font-size:16px!important;line-height:1.3!important}
  p,li,div,.content p,.text-block p{font-size:14px!important;line-height:1.6!important}
  .hero .sub,.hero p{font-size:14px!important;line-height:1.6!important;margin-bottom:20px!important}

  /* ═══ HERO SECTION ═══ */
  .hero{padding:40px 16px 24px!important;text-align:center!important}
  .hero h1{font-size:24px!important;line-height:1.2!important}
  .hero-savings{padding:32px 16px!important}
  .hero-savings h1{font-size:20px!important;line-height:1.25!important}
  .hero-savings div{font-size:12px!important}

  /* ═══ SEARCH BAR ═══ */
  .search-wrap{max-width:100%!important;padding:0!important}
  .search{flex-direction:column!important;border-radius:12px!important;border-width:1.5px!important}
  .search input{padding:14px 16px!important;font-size:15px!important;width:100%!important}
  .search button{padding:14px!important;width:100%!important;font-size:16px!important;font-weight:600!important}

  /* ═══ URL INPUT BAR (index) ═══ */
  .url-wrap{flex-direction:column!important;padding:12px!important;gap:8px!important;max-width:100%!important}
  .url-wrap .url-input{padding:12px!important;font-size:15px!important;width:100%!important}
  .url-wrap .url-btn{width:100%!important;text-align:center!important;padding:12px!important;font-size:15px!important;min-height:44px!important}
  .url-icon{margin-left:8px!important}

  /* ═══ PLATFORMS ═══ */
  .platforms{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:8px!important;padding:0 8px!important}
  .platforms span,.platforms a,.platform{width:44px!important;height:44px!important;border-radius:10px!important}
  .platforms span img{width:24px!important;height:24px!important}
  .platform{padding:8px 12px!important;font-size:12px!important}

  /* ═══ PRODUCT CARDS (pcard) ═══ */
  .pcard{width:100%!important;max-width:100%!important;min-width:0!important;flex:0 0 auto!important;min-height:auto!important;max-height:none!important;padding:14px!important}
  .pcard-img{aspect-ratio:1!important;margin-bottom:10px!important}
  .pcard-title{font-size:14px!important;height:auto!important;-webkit-line-clamp:3!important}
  .pcard-price{font-size:18px!important}
  .pcard-old{font-size:12px!important}
  .pcard-link{width:100%!important;max-width:100%!important}
  .carousel-track{gap:12px!important;padding:4px 0!important}
  .carousel-viewport{border-radius:10px!important}
  .carousel-arrow{width:36px!important;height:36px!important;font-size:16px!important}
  .carousel-section{padding:16px 12px 40px!important}
  .carousel-section h2{font-size:20px!important}
  .carousel-section .carousel-sub{font-size:13px!important;margin-bottom:16px!important}
  .carousel-dots{margin-top:12px!important}

  /* ═══ FEATURES & STEPS — 1 column ═══ */
  .features,.steps,.stats-grid,.mon-grid,
  .tier-calc .calc-stats,
  .timeline .detail .d-grid,
  .stats{grid-template-columns:1fr!important;gap:12px!important}
  .features{max-width:100%!important;padding:0 16px!important;gap:16px!important}
  .fcard{padding:24px 16px!important}
  .fcard .fi{font-size:28px!important;margin-bottom:10px!important}
  .fcard h3{font-size:16px!important}
  .fcard p{font-size:13px!important}
  .how{max-width:100%!important;padding:0 16px!important}
  .how h2{font-size:22px!important;margin-bottom:20px!important}
  .steps{gap:16px!important}
  .how-step .num{width:36px!important;height:36px!important;font-size:16px!important}
  .how-step h3{font-size:15px!important}
  .how-step p{font-size:13px!important}

  /* ═══ CTA SECTION ═══ */
  .cta{padding:40px 16px 60px!important}
  .cta h2{font-size:22px!important}
  .cta p{font-size:14px!important;margin-bottom:20px!important}
  .cta .btn,.cta .btn-primary,.cta a.btn{width:100%!important;max-width:100%!important;text-align:center!important;min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:16px!important}

  /* ═══ BUTTONS — 44px+ touch targets ═══ */
  button,.btn,.btn-sm,.btn-primary,.btn-ghost,.btn-outline,
  .plan-btn,.url-btn,.bookmarklet-btn,.bp-btn,
  input[type="submit"],input[type="button"]{min-height:44px!important;font-size:14px!important;padding:10px 20px!important}
  .btn-sm{padding:8px 16px!important;font-size:13px!important}
  .btn-round{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}

  /* Admin buttons — keep compact, don't stretch */
  .dash-wrap button,.dash-main button,.dash-section button,
  .dash-wrap .btn-sm,.dash-main .btn-sm,
  .dash-wrap .admin-btn,.dash-main .admin-btn{padding:6px 14px!important;min-height:36px!important;font-size:12px!important;width:auto!important;border-radius:8px!important}
  .dash-wrap .btn-sm.primary,.dash-main .btn-sm.primary{padding:8px 16px!important;min-height:38px!important}
  /* Admin sidebar nav — keep inline, not full-width */
  .dash-wrap .dash-sidebar a,.dash-sidebar a{width:auto!important;min-height:36px!important;padding:8px 16px!important;font-size:12px!important;flex-shrink:0!important;white-space:nowrap!important}


  /* ═══ FORMS & INPUTS ═══ */
  input,select,textarea{font-size:16px!important;padding:12px!important;max-width:100%!important}
  input[type="text"],input[type="email"],input[type="password"],
  input[type="url"],input:not([type]){width:100%!important;box-sizing:border-box!important;padding:14px 12px!important}
  .form-group input,.form-group select,.form-group textarea{width:100%!important;font-size:16px!important;padding:12px!important}
  .form-group label{font-size:13px!important;margin-bottom:6px!important}
  .form-group{margin-bottom:14px!important}

  /* ═══ FOOTER ═══ */
  .foot{padding:20px 16px!important;font-size:12px!important;line-height:1.6!important}
  .foot a{display:inline-block!important;padding:4px 0!important}

  /* ═══ IMAGES — no overflow ═══ */
  img,svg,video,canvas{max-width:100%!important;height:auto!important}
  .prod-gallery img{width:100%!important;max-width:100%!important;aspect-ratio:auto!important}

  /* ═══ TABLES — horizontal scroll ═══ */
  .htbl,.table-wrap,.tbl-wrap,.table-scroll,
  .data-table,.products-table,.atbl,.compact{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;display:block!important;width:100%!important}
  .htbl table,.table-wrap table,.tbl-wrap table,
  .atbl,.compact{min-width:560px!important;width:auto!important}
  .atbl th,.compact th,.htbl th{padding:10px 12px!important;font-size:11px!important;white-space:nowrap!important}
  .atbl td,.compact td,.htbl td{padding:10px 12px!important;font-size:12px!important;white-space:nowrap!important}
  .data-table th,.products-table th{padding:10px 12px!important;font-size:11px!important}
  .data-table td,.products-table td{padding:10px 12px!important;font-size:13px!important}

  /* ═══ MODALS ═══ */
  .modal-overlay.open{padding:12px!important}
  .modal{width:92%!important;max-width:92%!important;padding:24px 16px!important;margin:0 auto!important;max-height:85vh!important;border-radius:14px!important}
  .modal h3{font-size:16px!important}
  .modal .btn-row{flex-direction:column!important;gap:8px!important}
  .modal .btn-row .btn-sm,.modal .btn-row button{width:100%!important}

  /* ═══ AUTH PAGE ═══ */
  .auth-container{padding:16px 12px!important;min-height:auto!important}
  .auth-card{max-width:100%!important;padding:24px 16px!important;margin:16px 0!important;border-radius:14px!important}
  .auth-logo{font-size:22px!important}
  .auth-logo>div{font-size:22px!important}
  .auth-subtitle{font-size:13px!important;margin-bottom:20px!important}
  .tabs{margin-bottom:20px!important}
  .tab{padding:12px!important;font-size:14px!important;min-height:44px!important}
  .btn-primary-auth{width:100%!important;padding:14px!important;font-size:16px!important;min-height:48px!important;margin-top:12px!important}
  .switch-link{font-size:13px!important;margin-top:16px!important}
  input[type="checkbox"]{width:20px!important;height:20px!important;min-width:20px!important;flex-shrink:0!important;margin:2px 0!important}
  label[for="agree"],.agree-label{font-size:13px!important;line-height:1.4!important;display:flex!important;align-items:flex-start!important;gap:8px!important}

  /* ═══ PRICING TIMELINE — CRITICAL FIX: vertical cards instead of overlapping horizontal ═══ */
  .timeline{max-width:100%!important;padding:0 16px!important;margin:24px auto!important;overflow-x:visible!important}
  .timeline .track{display:none!important}
  .timeline .track .fill{display:none!important}
  .timeline .track .pin{display:none!important}
  /* Convert stops to vertical cards */
  .timeline .stops{position:static!important;display:flex!important;flex-direction:column!important;gap:12px!important;height:auto!important;min-width:0!important}
  .timeline .stops .stop{position:static!important;transform:none!important;display:flex!important;align-items:center!important;gap:12px!important;padding:12px 14px!important;background:var(--bg-card)!important;border:1px solid var(--border)!important;border-radius:12px!important;text-align:left!important;transition:all .2s!important;width:100%!important;cursor:pointer!important}
  .timeline .stops .stop:hover{transform:none!important;border-color:var(--primary)!important}
  .timeline .stops .stop.active{border-color:var(--primary)!important;background:var(--primary-light)!important;border-width:2px!important}
  .timeline .stops .stop .dot{width:14px!important;height:14px!important;margin:0!important;flex-shrink:0!important}
  .timeline .stops .stop.active .dot{width:18px!important;height:18px!important;margin:0!important}
  .timeline .stops .stop .lbl{font-size:13px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;flex:1!important}
  .timeline .stops .stop .price{font-size:14px!important;font-weight:700!important;white-space:nowrap!important}
  .timeline .stops .stop .pop-badge{display:none!important}
  /* Detail section */
  .timeline .detail{max-width:100%!important;margin:16px 0!important;padding:20px 16px!important;border-radius:12px!important}
  .timeline .detail .d-name{font-size:12px!important}
  .timeline .detail .d-price{font-size:36px!important}
  .timeline .detail .d-price .curr{font-size:20px!important}
  .timeline .detail .d-price .per{font-size:13px!important}
  .bill-period{flex-wrap:wrap!important;gap:6px!important}
  .bill-period .bp-btn{padding:10px 14px!important;font-size:12px!important;min-height:40px!important;border-radius:10px!important}
  .timeline .detail .d-grid{grid-template-columns:1fr!important;gap:8px!important}
  .timeline .detail .d-grid .d-item{font-size:13px!important;padding:10px 12px!important}
  .timeline .detail .plan-btn{width:100%!important;padding:14px!important;font-size:15px!important}

  /* ═══ PRICING TIER CARDS ═══ */
  .tier-grid{grid-template-columns:1fr!important;padding:0 16px!important;gap:12px!important;max-width:100%!important}
  .tcard{min-width:0!important;width:100%!important;flex:none!important}
  .tcard .card-head{padding:24px 16px 16px!important}
  .tcard .tier-name{font-size:12px!important}
  .tcard .tier-price{font-size:36px!important}
  .tcard .tier-price .curr{font-size:20px!important}
  .tcard .tier-per,.tcard .tier-desc{font-size:12px!important}
  .tcard .card-body{padding:12px 16px!important}
  .tcard .block{padding:10px 12px!important;margin-bottom:8px!important}
  .tcard .block-title{font-size:10px!important}
  .tcard .block .row{font-size:13px!important;padding:3px 0!important}
  .tcard .block .chips{gap:4px!important}
  .tcard .block .chip{font-size:10px!important;padding:3px 8px!important}
  .tcard .card-foot{padding:0 16px 16px!important}
  .tcard .card-foot .plan-btn{padding:12px!important;font-size:14px!important;min-height:44px!important}

  /* ═══ PRICING CALCULATOR ═══ */
  .tier-calc{padding:20px 16px!important;max-width:100%!important;margin:20px auto!important}
  .tier-calc .calc-big{font-size:32px!important}
  .tier-calc .calc-big .curr{font-size:18px!important}
  .tier-calc .calc-big .per{font-size:12px!important}
  .tier-calc .calc-stats{flex-direction:column!important;gap:12px!important}
  .tier-calc .calc-stats strong{font-size:18px!important}
  .tier-calc .calc-slider{margin:20px 0!important}
  .tier-calc .calc-slider input[type=range]{height:10px!important}
  .tier-calc .calc-slider input[type=range]::-webkit-slider-thumb{width:32px!important;height:32px!important}
  .tier-calc .plan-btn{width:100%!important;padding:14px!important;font-size:15px!important}

  /* ═══ SNIPER BLOCK ═══ */
.tier-sniper{padding:20px 16px!important;max-width:100%!important;margin:16px auto!important}
  .tier-sniper h3{font-size:16px!important}
  .tier-sniper .sub{font-size:13px!important;line-height:1.5!important}
  .sniper-row{flex-wrap:wrap!important;gap:8px!important;padding:12px!important;text-align:center!important;justify-content:center!important}
  .sniper-row .sn-label{font-size:12px!important}
  .sniper-row .sn-price{font-size:18px!important}
  .sniper-row .sn-switch{min-width:44px!important}

  /* Tooltip popups — allow text wrap on mobile */
  .tooltip .ttip{white-space:normal!important;max-width:280px!important;font-size:10px!important;padding:6px 10px!important;line-height:1.4!important}

  /* Sniper text wrap fix — break into multiple lines like other sections */
  .sniper-row .sn-label{white-space:normal!important;word-wrap:break-word!important;max-width:100%!important}
  .sniper-row .sn-total{white-space:normal!important;word-wrap:break-word!important}
  .tier-sniper .sub{white-space:normal!important;word-wrap:break-word!important}
  .promo-block{margin-top:8px!important}
  .promo-toggle{font-size:13px!important;min-height:40px!important;display:flex!important;align-items:center!important}
  .promo-row{flex-direction:column!important;gap:8px!important;padding:10px!important}
  .promo-row input{width:100%!important;font-size:14px!important;padding:10px!important}
  .promo-btn{width:100%!important;padding:12px!important;font-size:13px!important;min-height:44px!important}
  .promo-body.open{max-height:120px!important}
  .promo-msg{white-space:normal!important;margin:4px 0 0!important}

  /* ═══ TIER SELLER ═══ */
  .tier-seller{padding:0 16px!important;font-size:12px!important;line-height:1.6!important;margin-bottom:30px!important}

  /* ═══ ADMIN DASHBOARD ═══ */
  .dash-wrap{flex-direction:column!important;min-height:auto!important}
  .dash-sidebar{width:100%!important;max-width:100%!important;position:static!important;height:auto!important;max-height:none!important;overflow-x:auto!important;overflow-y:visible!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:4px!important;padding:8px!important;border-right:none!important;border-bottom:1px solid var(--border)!important;top:auto!important;background:var(--bg-card)!important;display:flex!important;-webkit-overflow-scrolling:touch!important}
  .dash-sidebar a{flex-shrink:0!important;white-space:nowrap!important;padding:10px 16px!important;font-size:12px!important;border-left:none!important;border-radius:var(--radius-xs)!important;min-height:40px!important;display:inline-flex!important;align-items:center!important}
  .dash-sidebar .sidebar-label{display:none!important}
  .dash-sidebar .icon{display:none!important}
  .dash-main{padding:16px 12px!important;min-width:0!important;max-width:100%!important}
  .dash-top{flex-direction:column!important;align-items:flex-start!important;gap:8px!important}
  .dash-top h1{font-size:18px!important}
  .dash-section h2{font-size:16px!important}
  .csec{padding:16px 12px!important;margin-bottom:12px!important}
  .csec h3{font-size:14px!important}
  .mon-grid{grid-template-columns:1fr!important;gap:10px!important}
  .mon-card{padding:16px!important}
  .mon-card .mc-title{font-size:14px!important}
  .mon-row{font-size:12px!important;padding:5px 0!important}
  .stats-grid{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}
  .stat-card{padding:16px 12px!important}
  .stat-card .stat-value{font-size:22px!important}
  .stat-card .stat-label{font-size:11px!important}

  /* ═══ FAQ PAGE ═══ */
  .faq-section{padding:0 16px!important;max-width:100%!important}
  .faq-item{border-radius:10px!important;margin-bottom:10px!important}
  .faq-question{padding:14px 16px!important;font-size:14px!important;min-height:44px!important;display:flex!important;align-items:center!important}
  .faq-answer{padding:0 16px 14px!important;font-size:13px!important;line-height:1.7!important}

  /* ═══ ABOUT & CONTENT PAGES ═══ */
  .container{padding:20px 16px!important;max-width:100%!important}
  .card{padding:20px 16px!important;border-radius:12px!important;margin-bottom:16px!important}
  .feature{padding:14px 0!important;gap:12px!important}
  .feature-icon{font-size:20px!important;width:32px!important}
  .feature-text h3{font-size:15px!important}
  .feature-text p{font-size:13px!important}

  /* ═══ PRODUCT PAGES ═══ */
  .prod-page{padding:20px 16px 40px!important;max-width:100%!important}
  .prod-hero{flex-direction:column!important;gap:20px!important;margin-bottom:32px!important}
  .prod-gallery{flex:auto!important;max-width:100%!important;position:static!important;width:100%!important}
  .prod-gallery img{width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:auto!important;border-radius:12px!important}
  .prod-info{min-width:0!important;width:100%!important}
  .prod-info h1{font-size:22px!important}
  .prod-store{font-size:13px!important}
  .prod-price-card{padding:20px 16px!important;border-radius:12px!important}
  .ppc-row{padding:6px 0!important}
  .ppc-label{font-size:13px!important}
  .ppc-value{font-size:16px!important}
  .ppc-current{font-size:28px!important}
  .ppc-was{font-size:14px!important}
  .prod-page h2{font-size:18px!important;margin:24px 0 12px!important}
  .prod-page p{font-size:14px!important;max-width:100%!important}
  .prod-page .btn-cta,.prod-page .btn-primary,.prod-page a.btn,
  .prod-page button{display:block!important;width:100%!important;text-align:center!important;min-height:48px!important;font-size:15px!important}

  /* ═══ BREADCRUMB ═══ */
  .breadcrumb{padding:8px 16px!important;font-size:12px!important;max-width:100%!important;overflow-x:auto!important;white-space:nowrap!important;-webkit-overflow-scrolling:touch!important}
  .breadcrumb a,.breadcrumb span{font-size:12px!important}

  /* ═══ SEO PAGES (kak-otsledit-*, etc.) ═══ */
  .content-wrap h1,.seo-content h1{font-size:22px!important;line-height:1.25!important}
  .content-wrap p,.seo-content p,.content-wrap li{font-size:15px!important;line-height:1.7!important}
  .content-wrap,.seo-content{max-width:100%!important;padding:0 16px!important}

  /* ═══ MOBILE MENU ═══ */
  .mobile-menu{width:100%!important;left:0!important;right:0!important;top:56px!important;padding:12px!important}
  .mobile-menu a{padding:14px 20px!important;font-size:16px!important;min-height:48px!important;display:flex!important;align-items:center!important;border-radius:10px!important}

  /* ═══ THEME TOGGLE ═══ */
  #tptoggle{right:10px!important;bottom:90px!important;top:auto!important;transform:none!important;z-index:9999!important}
  #tptoggle .tpbtn{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;font-size:16px!important}

  /* Theme toggle buttons — keep square and neat */
  #tptoggle .tpopt.style-sq{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;border-radius:8px!important;font-size:14px!important;line-height:36px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1.5px solid var(--border)!important;background:var(--bg-card)!important;color:var(--text)!important;cursor:pointer!important;box-shadow:none!important}
  #tptoggle .tpopt:not(.style-sq){width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;border-radius:50%!important;flex-shrink:0!important}


  /* ═══ TOAST NOTIFICATIONS ═══ */
  .toast{left:16px!important;right:16px!important;bottom:16px!important;width:auto!important;max-width:calc(100% - 32px)!important;padding:14px 20px!important;font-size:13px!important;border-radius:10px!important}

  /* ═══ NOTIFICATION ═══ */
  .notif{left:16px!important;right:16px!important;bottom:16px!important;width:auto!important;max-width:calc(100% - 32px)!important;font-size:14px!important;border-radius:10px!important}

  /* ═══ MISCELLANEOUS ═══ */
  .contact{padding:24px 16px!important;border-radius:12px!important}
  .contact h2{font-size:20px!important;margin-top:0!important}
  .contact p{font-size:14px!important}

  .step{padding:20px 16px!important}
  .step-content{margin-left:0!important}
  .bookmarklet-btn{padding:16px!important;font-size:16px!important}

  .alert{padding:12px!important;font-size:13px!important;border-radius:8px!important}

  /* Fix for any element with explicit pixel width > 380px */
  *[style*="width:4"],*[style*="width:5"],*[style*="width:6"],
  *[style*="width:7"],*[style*="width:8"],*[style*="width:9"],
  *[style*="width:1"][style*="px"]{max-width:100%!important;width:auto!important}
}

/* ═══ INTERMEDIATE — max-width:768px (tablets + smaller desktops) ═══ */
@media(max-width:768px){
  .features,.steps{grid-template-columns:1fr!important}
  .features{max-width:500px!important;margin-left:auto!important;margin-right:auto!important}
  .stats-grid{grid-template-columns:repeat(2,1fr)!important}
  .pcard{width:220px!important;min-height:auto!important}
  .tier-grid{grid-template-columns:repeat(2,1fr)!important}
  @media(max-width:480px){.tier-grid{grid-template-columns:1fr!important}}
}

/* ====== ADMIN OVERRIDES — prevent neumorphism from breaking layout ====== */
.dash-wrap button,.dash-wrap .btn-sm,.dash-wrap .admin-btn,
.dash-main button,.dash-main .btn-sm,
.dash-section button,.dash-section .btn-sm{
  padding:6px 14px!important;
  min-height:32px!important;
  font-size:12px!important;
  width:auto!important;
  border-radius:8px!important;
  background:var(--primary)!important;
  color:#fff!important;
  box-shadow:none!important;
  font-weight:600!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important
}
.dash-wrap .btn-sm.ghost,.dash-main .btn-sm.ghost{
  background:transparent!important;
  color:var(--text2)!important;
  border:1px solid var(--border)!important
}
.dash-wrap .header .actions button,
.dash-wrap .header .actions .btn-sm{
  padding:8px 16px!important;
  min-height:36px!important;
  font-size:13px!important
}
.dash-wrap .hamburger{
  padding:8px!important;
  min-height:auto!important;
  width:40px!important;
  height:40px!important;
  background:transparent!important;
  border:1px solid var(--border)!important;
  border-radius:8px!important;
  box-shadow:none!important
}

