
/* DAZARK FINAL VISUAL + LEGAL QA REPAIR — presentation only */
:root{--dzq-cyan:#63e9ff;--dzq-blue:#73a9ff;--dzq-bg:#02080d;--dzq-panel:#06131f;--dzq-line:#1b3c50;--dzq-muted:#8fa4b6}
html,body{max-width:100%;overflow-x:hidden}
img{max-width:100%}

/* Approved logo everywhere */
.brand img,.nav .brand img,.dzq-brand-img{display:block;width:118px;height:42px;object-fit:contain;object-position:left center}
html[dir="rtl"] .brand img,html[dir="rtl"] .nav .brand img{object-position:right center}
.brand{display:flex!important;align-items:center!important;min-width:118px!important;background:none!important;color:transparent!important;font-size:0!important;letter-spacing:0!important}

/* Sidebar: readable and consistent */
@media(min-width:901px){
  #dz69Rail{width:142px!important;padding:18px 10px 12px!important}
  body:has(#dz69Rail){padding-left:156px!important}
  html[dir="rtl"] body:has(#dz69Rail){padding-left:0!important;padding-right:156px!important}
  #dz69Rail .dz69-logo{width:112px!important;height:48px!important;padding:0!important;background:transparent!important;border:0!important}
  #dz69Rail .dz69-logo img{width:110px!important;max-height:46px!important;object-fit:contain!important}
  #dz69Rail .dz69-menu{gap:7px!important}
  #dz69Rail .dz69-menu a,#dz69Rail .dz69-bottom a{min-height:56px!important;padding:6px 7px!important;font-size:10.5px!important;line-height:1.2!important;border-radius:12px!important}
  #dz69Rail .dz69-menu a .ico{font-size:18px!important;margin-bottom:1px!important}
  #dz69Rail .dz69-lang{font-size:11px!important;color:#7deaff!important;border-color:#1e465b!important}
}

/* STORE: compact 6-product-ready cards */
.dz69-store-grid,.store-grid,.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-content:start!important}
.dz69-store-grid{height:auto!important;overflow:visible!important;padding:2px 2px 22px!important}
.dz69-store-grid .store-card{display:flex!important;flex-direction:column!important;min-height:0!important;height:auto!important;max-height:none!important;padding:0 0 11px!important;border-radius:17px!important;border:1px solid var(--dzq-line)!important;background:linear-gradient(180deg,#071927,#05121d)!important;overflow:hidden!important;box-shadow:0 18px 48px rgba(0,0,0,.26)!important}
.dz69-store-grid .store-card:hover{transform:translateY(-3px)!important;border-color:#327d98!important;box-shadow:0 24px 58px rgba(0,0,0,.34)!important}
.dz69-store-grid .store-art{height:auto!important;aspect-ratio:16/9!important;min-height:0!important;border-radius:0!important;margin:0 0 10px!important;overflow:hidden!important;background:#06131f!important}
.dz69-store-grid .store-art img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 28%!important;transform:none!important}
.dz69-store-grid .store-card.dz-product-a .store-art img{object-position:center 25%!important}
.dz69-store-grid .store-card.dz-product-b .store-art img{object-position:center 23%!important}
.dz69-store-grid .store-card>*:not(.store-art):not(.dz69-store-foot){display:block!important}
.dz69-store-grid .store-card>h3{margin:0 12px 4px!important;font-size:15px!important;line-height:1.2!important;color:#f7fbff!important}
.dz69-store-grid .store-card>p{margin:0 12px 8px!important;min-height:30px!important;font-size:9.5px!important;line-height:1.45!important;color:#8fa2b4!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.dz69-store-grid .store-card>.store-meta{display:flex!important;gap:5px!important;flex-wrap:wrap!important;margin:0 12px 9px!important}
.dz69-store-grid .meta-pill{font-size:7.5px!important;padding:4px 6px!important;border-radius:999px!important}
.dz69-store-grid .store-foot{display:none!important}
.dz69-store-foot{margin-top:auto!important;min-height:52px!important;padding:8px 12px 0!important;border-top:1px solid #163547!important;background:transparent!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:9px!important}
.dz69-store-foot b{font-size:14px!important}.dz69-store-foot span{font-size:8px!important}.dz69-store-foot .dz69-btn{min-height:34px!important;padding:7px 11px!important;border-radius:10px!important;font-size:9.5px!important}
.dz-compat-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;border:1px solid rgba(99,233,255,.22);background:rgba(99,233,255,.055);color:#9befff;font-size:8px;font-weight:850;line-height:1.2}

/* MY SCRIPTS: premium compact library */
.scripts-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:start!important;max-height:none!important;overflow:visible!important}
.script-card{padding:12px!important;border-radius:17px!important;border:1px solid var(--dzq-line)!important;background:linear-gradient(180deg,#071927,#05121d)!important;box-shadow:0 18px 46px rgba(0,0,0,.25)!important;min-width:0!important;overflow:hidden!important}
.script-product-art{height:auto!important;aspect-ratio:16/9!important;border-radius:13px!important;margin-bottom:10px!important;background:#06131f!important;overflow:hidden!important}
.script-product-art img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 27%!important;transform:none!important;padding:0!important}
.script-product-art img[src*="product-a"]{object-position:center 24%!important}.script-product-art img[src*="product-b"]{object-position:center 22%!important}
.script-title{font-size:15px!important;line-height:1.18!important}.script-sub{font-size:9.5px!important;line-height:1.4!important}.script-state{font-size:8px!important;padding:5px 7px!important}
.script-meta{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}.meta-box{padding:8px!important;border-radius:10px!important}.meta-box span{font-size:7px!important}.meta-box b{font-size:9px!important}
.snd-device-box{padding:8px!important;margin-top:8px!important;border-radius:11px!important}.snd-device-title{font-size:8px!important}.snd-device-note{font-size:8px!important;line-height:1.35!important}
.script-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin-top:9px!important}
.script-actions .install-btn{grid-column:1/-1!important;min-height:38px!important;font-size:10.5px!important;border-radius:10px!important}
.script-actions .manage-btn{min-height:32px!important;font-size:8px!important;padding:7px 5px!important;border-radius:9px!important;white-space:normal!important;text-align:center!important}

/* Product / Checkout / Success artwork framing */
.product-visual .image img,.receipt-thumb img,.product-mini img{object-fit:cover!important;object-position:center 27%!important;transform:none!important}
.product-visual .image img[src*="product-a"],.receipt-thumb img[src*="product-a"],.product-mini img[src*="product-a"]{object-position:center 24%!important}
.product-visual .image img[src*="product-b"],.receipt-thumb img[src*="product-b"],.product-mini img[src*="product-b"]{object-position:center 22%!important}

/* Home/primary CTAs */
.hero-actions .cta,.dz69-btn.primary,.view-btn,.install-btn,.place-order,.success-btn.primary{border-radius:12px!important;min-height:42px!important;font-weight:900!important;background:linear-gradient(135deg,#eefdff 0%,#63e9ff 43%,#73a9ff 100%)!important;color:#031018!important;box-shadow:0 10px 28px rgba(18,215,244,.16)!important}

/* Tiny footer on normal customer pages */
.dz-legal-footer{display:none!important}
.dz-tiny-footer{width:min(1180px,94vw);margin:14px auto 18px;padding:8px 0 2px;border-top:1px solid rgba(64,103,128,.2);color:#64798b;font-size:9px;line-height:1.4;text-align:center;letter-spacing:.01em}
.dz-tiny-footer a{color:#7994a7;text-decoration:none}.dz-tiny-footer a:hover{color:#7deaff}

/* Legal hub */
.dz-policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:18px}.dz-policy-card{display:block;padding:18px;border:1px solid #1b3a4e;border-radius:16px;background:linear-gradient(180deg,#071824,#05131e);transition:.2s ease}.dz-policy-card:hover{transform:translateY(-2px);border-color:#2c728d}.dz-policy-card h2{margin:0 0 7px;font-size:17px}.dz-policy-card p{margin:0;color:#91a4b6;font-size:11px;line-height:1.6}.dz-policy-card .go{display:inline-flex;margin-top:12px;color:#78eaff;font-size:10px;font-weight:850}

/* Legal pages stay full and readable; full business details belong there */
.dz-legal-page{padding-bottom:38px!important}.dz-legal-page+.dz-legal-footer{display:none!important}

/* Guide/Support content: no floating legal panel */
body:has(.guide-page) .dz-legal-footer,body:has(.support-page) .dz-legal-footer{display:none!important}

@media(max-width:1100px) and (min-width:701px){.dz69-store-grid,.store-grid,.product-grid,.scripts-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dz-policy-grid{grid-template-columns:1fr 1fr}}

@media(max-width:700px){
  .brand img,.nav .brand img{width:104px!important;height:38px!important}.brand{min-width:104px!important}
  .dz69-store-grid,.store-grid,.product-grid,.scripts-grid,.dz-policy-grid{grid-template-columns:1fr!important;gap:11px!important}
  .dz69-store-grid .store-card,.script-card{width:100%!important;max-width:none!important}
  .dz69-store-grid .store-art,.script-product-art{aspect-ratio:16/9!important}
  .dz69-store-grid .store-card>h3{font-size:14px!important}.dz69-store-grid .store-card>p{font-size:9px!important;min-height:0!important}
  .dz69-store-foot{min-height:48px!important}.dz69-store-foot .dz69-btn{min-height:34px!important}
  .script-actions{grid-template-columns:1fr 1fr!important}.script-actions .install-btn{grid-column:1/-1!important}.script-actions .manage-btn:last-child{grid-column:1/-1!important}
  .hero{padding-top:16px!important;padding-bottom:24px!important}.hero-actions{gap:8px!important}.hero-actions .cta{padding:10px 15px!important;min-height:42px!important;font-size:11px!important}
  .product-page,.checkout-page,.success-page,.account-page{padding-top:7px!important;padding-bottom:18px!important}
  .product-copy h1,.checkout-hero h1,.account-hero h1{font-size:36px!important;line-height:1!important}
  .checkout-grid{gap:9px!important}.checkout-card,.order-card{padding:12px!important}.place-order{min-height:46px!important}
  .dz-tiny-footer{width:92vw!important;margin:10px auto 14px!important;font-size:8px!important;padding-top:7px!important}
  .dz-legal-page{width:92vw!important;padding:16px 0 24px!important}.dz-legal-hero img{width:150px!important;margin-bottom:12px!important}.dz-legal-hero h1{font-size:34px!important}.dz-legal-business{font-size:9.5px!important;padding:10px!important}.dz-legal-section{padding:12px!important}.dz-policy-card{padding:14px!important}
}
