/* ==========================================================================
   HxH v1.6.3 — transparent auth art (verify / login OTP / reset),
   curved edges everywhere, overlap fixes. Loaded last.
   ========================================================================== */

/* ---------- auth art: floating sticker, kabhi content par overlap nahi -- */
/* pehle art panel ke bottom-right mein footer button ke upar aa jati thi;
   ab panel ke top corner par sticker ki tarah rehti hai. */
.auth-panel::after{
  top:-26px!important;bottom:auto!important;right:16px!important;
  width:104px!important;height:88px!important;z-index:3}
.verification-page-panel::after,.login-otp-panel::after{
  background-image:url('/assets/generated/art-mail-code-nobg.webp')!important}
.forgot-art-panel::after{
  background-image:url('/assets/generated/art-lock-reset-nobg.webp')!important}
.modal:has(#password-reset-form)::after,.modal:has(#password-reset-start-form)::after{
  content:'';position:absolute;top:-24px;right:14px;width:92px;height:80px;z-index:3;
  background:url('/assets/generated/art-lock-reset-nobg.webp') center/contain no-repeat;
  filter:drop-shadow(0 14px 18px rgba(9,90,66,.35));pointer-events:none;
  animation:v6Floaty 7s ease-in-out infinite alternate}
.modal{position:relative}
@media(max-width:760px){
  .auth-panel::after{width:82px!important;height:70px!important;top:-20px!important;right:10px!important}
  .modal:has(#password-reset-form)::after,.modal:has(#password-reset-start-form)::after{width:72px;height:62px;top:-18px}
}
html.hx-lowfx .modal::after{animation:none!important}

/* ---------- curved edges, har jagah ------------------------------------- */
.panel,.auth-panel,.product,.category-card,.fb-tile,.mini-banner,.journey-step,
.featured-showcase,.faq-section,.trust-hero,.referral-hero,.reward-rule,.stat,
.admin-welcome,.referral-panel,.wallet-balance-stat{border-radius:22px!important}
.modal{border-radius:26px!important}
.notice,.precision-callout,.verification-timing-warning,.verification-required-note,
.signup-perks-card,.ai-consent-box,.email-settings-card,.margin-explainer,
.health-check-list,.empty-catalog,.fb-panel,.api-access-message{border-radius:18px!important}
input,select,textarea{border-radius:14px!important}
.otp-digit{border-radius:16px!important}
.captcha-panel{border-radius:20px!important}
.table-wrap{border-radius:18px!important}
pre{border-radius:14px!important}
.toast{border-radius:16px!important}
details,.palette-item,.ss-item,.checklist-item,.workload-card,.connection-row,
.line-item,.ticket-thread .chat-bubble,.sender-profile-card,.theme-option-card{border-radius:16px!important}
.product-art{border-radius:21px 21px 0 0!important}
.fb-logo,.reward-rule-icon,.category-icon,.stat>svg{border-radius:16px!important}
img[data-brand-logo],.brand img,.top-brand img{border-radius:12px!important}
.hx-tile-in{border-radius:20px!important}
.invite-link-wrap{border-radius:16px!important}
.search-field,.header-search{border-radius:999px!important}

/* ---------- overlap fixes ------------------------------------------------ */
/* sticky bars topbar ke neeche sahi jagah rukte hain (pehle 6-8px chhup jata tha) */
.admin-tabs{top:80px!important}
.catalog-toolbar{top:72px!important}
@media(max-width:760px){.catalog-toolbar{top:66px!important}}
/* referral: tablet par bhi stack, art squeeze/clip nahi hota */
@media(max-width:1024px){
  .referral-hero{flex-direction:column!important;align-items:flex-start!important}
  .reward-network{align-self:center;width:min(220px,72vw)!important;margin-top:6px}
}
/* toasts hamesha sab ke upar, tab bar se takrate nahi */
#toasts{z-index:200!important}
/* hero notes aur actions kabhi tiles se nahi takrate */
.hx-hero .hero-copy{position:relative;z-index:4}
/* admin welcome art hamesha peeche, buttons upar */
.admin-welcome::after{z-index:0!important}
/* long product names never burst their cards */
.product h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* modal sticker ke liye upar jagah */
.overlay{padding-top:34px!important}

/* ---------- v1.6.3 addendum: sign-in method choice ---------------------- */
.auth-method-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:6px;margin:4px 0 18px;
  background:var(--panel2,#f1ecfb);border:1px solid var(--line,#e7e0f7);border-radius:999px!important}
.auth-method-tabs [data-auth-tab]{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;padding:9px 10px;border:0;border-radius:999px!important;background:transparent;
  color:var(--mut,#83789e);font:700 13.5px/1.2 inherit;cursor:pointer;
  transition:background .18s ease,color .18s ease,transform .12s ease}
.auth-method-tabs [data-auth-tab] svg{width:16px;height:16px;flex:0 0 auto}
.auth-method-tabs [data-auth-tab].active{background:linear-gradient(135deg,#0e7c5a,#0a6e4f);color:#fff;
  box-shadow:0 8px 20px rgba(10,110,79,.30)}
.auth-method-tabs [data-auth-tab]:active{transform:scale(.97)}

/* ---------- better auth readability -------------------------------------- */
.auth-panel input:not([type=checkbox]):not([type=radio]){min-height:50px;font-size:15px}
.auth-submit-btn{min-height:52px;border-radius:16px!important}
.otp-digit{min-height:58px;font-size:22px}
.search-suggest,.cart-drawer,.drawer{border-radius:22px!important}

/* toasts rocket/AI button se takrate nahi (mobile par upar uthaye gaye) */
@media(max-width:760px){
  #toasts{bottom:calc(150px + env(safe-area-inset-bottom,0px))!important}
}
