/* ==========================================================================
   HxH Store · v1.6.8 polish layer
   Fixes the loading screen, the sticky top bar, duplicate empty-state art
   and adds the profile-photo system plus a calmer admin console.
   Loaded last so it owns these surfaces. Every animation has a low-end guard.
   ========================================================================== */

:root{--hx-topbar-h:74px;--hx-avatar-ring:0 0 0 1px rgba(10,110,79,.18),0 14px 30px -16px rgba(9,90,66,.55)}

/* --------------------------------------------------------------------------
   1. Loading screen — always a full-viewport stage, never a narrow column
   -------------------------------------------------------------------------- */
#app>.boot{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;min-height:100dvh!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:12px!important;padding:max(28px,env(safe-area-inset-top)) 22px max(28px,env(safe-area-inset-bottom))!important;
  box-sizing:border-box!important;overflow:hidden!important;text-align:center!important;z-index:2000!important}
#app>.boot strong{display:block;max-width:min(92vw,560px);margin:0 auto;font-size:17px!important;line-height:1.35;letter-spacing:-.2px;
  white-space:normal;overflow-wrap:anywhere;text-align:center}
#app>.boot small{display:block;max-width:min(92vw,520px);margin:0 auto;font-size:11px!important;line-height:1.6;letter-spacing:.04em;
  white-space:normal;overflow-wrap:anywhere;text-align:center}
#app>.boot .boot-slow{max-width:min(92vw,520px);margin:14px auto 0;line-height:1.7}
#app>.boot .boot-orbit,#app>.boot .boot-showcase,#app>.boot .boot-progress,#app>.boot .boot-dots,#app>.boot .boot-bars{flex:0 0 auto;margin-inline:auto}
#app>.boot .boot-progress{width:min(240px,68vw)!important;height:5px!important;margin-top:6px!important;border-radius:99px!important;overflow:hidden!important}
#app>.boot .boot-progress i{border-radius:99px}
#app>.boot .boot-showcase{max-width:100%}
html[data-theme=black] #app>.boot{background:radial-gradient(ellipse at 50% 34%,#2a1152 0,#0a0517 62%)!important;color:#f4eeff}
html[data-theme=default] #app>.boot,html[data-theme=white] #app>.boot{background:radial-gradient(ellipse at 50% 36%,#efe9ff 0,#faf9ff 60%)!important;color:#14142b}
html[data-theme=default] #app>.boot small,html[data-theme=white] #app>.boot small,html[data-theme=default] #app>.boot .boot-slow,html[data-theme=white] #app>.boot .boot-slow{color:#5f6280!important}
html[data-theme=default] #app>.boot strong,html[data-theme=white] #app>.boot strong{color:#14142b!important}
html[data-theme=default] #app>.boot .boot-progress,html[data-theme=white] #app>.boot .boot-progress{background:rgba(10,110,79,.14)!important}
html[data-theme=default] #app>.boot .boot-orbit span,html[data-theme=white] #app>.boot .boot-orbit span{border-color:rgba(14,124,90,.34)!important}
/* Short screens (landscape phones): shrink the stage instead of clipping it. */
@media(max-height:440px){
  #app>.boot{gap:8px!important}
  #app>.boot .boot-orbit{width:64px!important;height:64px!important}
  #app>.boot .boot-orbit img{width:56px!important;height:56px!important}
  #app>.boot .boot-showcase{display:none!important}
  #app>.boot strong{font-size:14px!important}
  #app>.boot small{font-size:10px!important}
  #app>.boot .boot-progress{height:4px!important}
}

#app>.boot::after{content:'';position:absolute;inset:auto -20% -40% -20%;height:60%;pointer-events:none;z-index:-1;
  background:radial-gradient(ellipse at 50% 0,rgba(14,124,90,.16),transparent 62%)}

/* --------------------------------------------------------------------------
   2. Top bar — solid glass, never see-through, never clipped
   -------------------------------------------------------------------------- */
html[data-theme] .topbar{position:sticky!important;top:0;z-index:70!important;overflow:visible!important;
  background:rgba(255,255,255,.9)!important;border-bottom:1px solid var(--hx-card-line)!important;
  box-shadow:0 10px 30px -24px rgba(9,90,66,.55)!important;
  -webkit-backdrop-filter:blur(20px) saturate(1.5);backdrop-filter:blur(20px) saturate(1.5)}
html[data-theme=black] .topbar{background:rgba(9,6,18,.88)!important;border-bottom-color:rgba(95,211,168,.16)!important}
html[data-theme=white] .topbar{background:rgba(255,255,255,.92)!important}
.topbar>.top-brand{min-width:0;overflow:hidden}
.topbar>.top-brand>span{display:flex;flex-direction:column;line-height:1.05;min-width:0}
.topbar>.top-brand strong{display:block;font-size:17px;font-weight:800;letter-spacing:-.5px;color:var(--hx-ink)}
.topbar>.top-brand small{display:block;font-size:8px;letter-spacing:2.6px;text-transform:uppercase;color:var(--muted);margin-top:3px}
html[data-theme=black] .topbar>.top-brand strong{color:#f4eeff}
.topbar .top-actions{min-width:0;flex-wrap:nowrap}
.top-avatar{display:inline-grid;place-items:center;flex:0 0 auto;border-radius:50%;padding:2px;line-height:0;
  background:linear-gradient(140deg,#5fd3a8,#0a6e4f);box-shadow:0 8px 18px -10px rgba(9,90,66,.8);transition:transform .2s ease}
.top-avatar img{width:34px;height:34px;border-radius:50%;object-fit:cover;border:2px solid #fff;display:block}
.top-avatar:hover{transform:translateY(-1px) scale(1.03)}
.top-avatar:focus-visible{outline:2px solid var(--hx-primary);outline-offset:3px}
html[data-theme=black] .top-avatar img{border-color:#0d0819}

/* Mobile: a calm three-column grid with the search on its own row. */
@media(max-width:760px){
  :root{--hx-topbar-h:112px}
  html[data-theme] .topbar{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto;
    grid-template-areas:"menu brand actions" "search search search";align-items:center;
    gap:8px 10px!important;height:auto!important;min-height:62px;padding:8px 12px 10px!important}
  html[data-theme] .topbar>.mobile-toggle{grid-area:menu;justify-self:start;min-width:40px;min-height:40px}
  html[data-theme] .topbar>.top-brand{grid-area:brand;justify-self:start;gap:8px}
  html[data-theme] .topbar>.top-brand img{width:32px!important;height:32px!important}
  html[data-theme] .topbar>.top-brand strong{font-size:16px}
  html[data-theme] .topbar>.top-brand small{font-size:7px;letter-spacing:2px}
  html[data-theme] .topbar>.top-actions{grid-area:actions;justify-self:end;margin-left:0!important;gap:6px!important}
  html[data-theme] .topbar>.header-search{grid-area:search;width:100%!important;margin:0!important;padding:11px 14px!important}
  html[data-theme] .topbar .top-nav,html[data-theme] .topbar .breadcrumb,html[data-theme] .topbar .quick-search,html[data-theme] .topbar .divider{display:none!important}
  html[data-theme] .topbar .header-search kbd{display:none!important}
  html[data-theme] .topbar .top-actions .btn{padding:9px 13px!important;font-size:12px!important;min-height:38px;border-radius:999px!important}
  html[data-theme] .topbar .top-actions .top-wallet{display:none!important}
  html[data-theme] .topbar .top-actions .icon-btn{width:38px;height:38px;min-width:38px;min-height:38px}
  .top-avatar img{width:32px;height:32px}
}
@media(max-width:400px){
  html[data-theme] .topbar>.top-actions .btn span{display:none}
  html[data-theme] .topbar .header-search input{font-size:12px!important}
}

/* --------------------------------------------------------------------------
   3. Sticky sub-bars — sit exactly under the top bar, or get out of the way
   -------------------------------------------------------------------------- */
html[data-theme] .catalog-toolbar{top:calc(var(--hx-topbar-h) + 8px)!important;z-index:26!important;
  background:rgba(255,255,255,.9)!important;border:1px solid var(--hx-card-line)!important;
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  box-shadow:0 16px 30px -26px rgba(9,90,66,.6)!important}
html[data-theme=black] .catalog-toolbar{background:rgba(13,8,26,.9)!important;border-color:rgba(95,211,168,.16)!important}
html[data-theme] .admin-tabs{top:calc(var(--hx-topbar-h) + 8px)!important;z-index:26!important;
  padding:8px!important;border-radius:18px!important;gap:6px!important;
  background:rgba(255,255,255,.92)!important;border:1px solid var(--hx-card-line)!important;
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  box-shadow:0 18px 34px -28px rgba(9,90,66,.65)!important}
html[data-theme=black] .admin-tabs{background:rgba(13,8,26,.92)!important;border-color:rgba(95,211,168,.16)!important}
html[data-theme] .admin-tabs .tab{border-radius:12px;padding:9px 13px;font-weight:600;border-color:transparent;background:transparent}
html[data-theme] .admin-tabs .tab:hover{background:var(--hx-soft);color:var(--hx-primary)}
html[data-theme] .admin-tabs .tab.active{background:linear-gradient(135deg,var(--hx-primary),var(--hx-primary2));color:#fff;border-color:transparent;
  box-shadow:0 10px 22px -14px rgba(10,110,79,.9)}
@media(max-width:760px){
  html[data-theme] .catalog-toolbar,html[data-theme] .admin-tabs{position:static!important;border-radius:16px!important}
}

/* --------------------------------------------------------------------------
   4. Empty states — one illustration, readable in every theme
   -------------------------------------------------------------------------- */
.empty-catalog::after{display:none!important;content:none!important}
html[data-theme] .empty-catalog{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2px;min-height:250px;margin:8px 0 26px;padding:30px 22px 34px!important;border-radius:24px!important;
  border:1.5px dashed color-mix(in srgb,var(--hx-primary) 26%,var(--hx-card-line))!important;
  background:radial-gradient(ellipse at 50% -10%,rgba(14,124,90,.10),transparent 62%),var(--hx-card)!important;
  color:var(--hx-ink)!important}
html[data-theme] .empty-catalog::before{content:'';display:block;width:150px;height:150px;margin:0 auto 8px;
  background:url('/assets/generated/art-empty-box-nobg.webp') center/contain no-repeat;
  filter:drop-shadow(0 18px 24px rgba(9,90,66,.26));animation:v12Floaty 7s ease-in-out infinite alternate}
html[data-theme=black] .empty-catalog{background:radial-gradient(ellipse at 50% -10%,rgba(14,124,90,.16),transparent 62%),#120b24!important;
  border-color:rgba(95,211,168,.28)!important}
html[data-theme] .empty-catalog .empty-icon{display:none}
html[data-theme] .empty-catalog h3{color:var(--hx-ink)!important;font-size:19px!important;line-height:1.35;margin:4px 0 6px!important;font-weight:750}
html[data-theme] .empty-catalog p{color:var(--hx-ink2)!important;max-width:440px;font-size:12px!important;line-height:1.8;margin:0 auto 18px!important}
html[data-theme=black] .empty-catalog h3{color:#f2ebff!important}
html[data-theme=black] .empty-catalog p{color:#b9abcf!important}
html[data-theme] .empty-catalog .btn{border-radius:999px}
@media(max-width:760px){html[data-theme] .empty-catalog{min-height:0;padding:24px 16px 28px!important}html[data-theme] .empty-catalog::before{width:118px;height:118px}}

/* --------------------------------------------------------------------------
   5. Profile photos
   -------------------------------------------------------------------------- */
.profile-avatar-wrap{display:flex;flex-direction:column;align-items:center;gap:9px;flex:0 0 auto}
.profile-avatar-btn{position:relative;display:block;width:112px;height:112px;padding:0;border-radius:32px;background:none;border:0;cursor:pointer;line-height:0}
.profile-avatar-photo{width:112px;height:112px;border-radius:32px;object-fit:cover;display:block;
  background:linear-gradient(140deg,#8fe3c4,#0a6e4f);border:3px solid #fff;
  box-shadow:var(--hx-avatar-ring);transition:transform .25s ease,box-shadow .25s ease}
.profile-avatar-btn:hover .profile-avatar-photo{transform:translateY(-2px) scale(1.015);box-shadow:0 22px 40px -18px rgba(9,90,66,.65),0 0 0 1px rgba(10,110,79,.22)}
.profile-avatar-btn:focus-visible{outline:none}
.profile-avatar-btn:focus-visible .profile-avatar-photo{outline:3px solid var(--hx-primary);outline-offset:4px}
.profile-avatar-badge{position:absolute;right:-4px;bottom:-4px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,#17a67a,#08543d);color:#fff;border:2.5px solid #fff;box-shadow:0 8px 16px -8px rgba(9,90,66,.8)}
.profile-avatar-badge svg{width:15px;height:15px;stroke:#fff}
.profile-avatar-edit{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:999px;font-size:11px;font-weight:650;
  color:var(--hx-primary);background:color-mix(in srgb,var(--hx-primary) 10%,transparent);border:1px solid color-mix(in srgb,var(--hx-primary) 24%,transparent);
  transition:background .2s ease,transform .2s ease}
.profile-avatar-edit:hover{background:color-mix(in srgb,var(--hx-primary) 16%,transparent);transform:translateY(-1px)}
.profile-avatar-edit svg{width:13px;height:13px}
html[data-theme=black] .profile-avatar-photo{border-color:rgba(196,181,253,.5)}
html[data-theme=black] .profile-avatar-badge{border-color:#120b24}
.profile-role-badge{white-space:nowrap;max-width:100%}

.avatar-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 14px}
.avatar-choice{display:grid;grid-template-columns:56px minmax(0,1fr) 18px;align-items:center;gap:11px;text-align:left;
  padding:10px;border-radius:16px;border:1.5px solid var(--hx-card-line);background:var(--hx-card);cursor:pointer;
  transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.avatar-choice img{width:56px;height:56px;border-radius:14px;object-fit:cover;display:block;background:var(--hx-soft)}
.avatar-choice span{min-width:0}
.avatar-choice strong{display:block;font-size:12px;font-weight:700;color:var(--hx-ink);line-height:1.3}
.avatar-choice small{display:block;font-size:10px;color:var(--hx-ink2);line-height:1.45;margin-top:2px}
.avatar-choice-check{font-style:normal;font-size:13px;font-weight:800;color:var(--hx-primary);text-align:center}
.avatar-choice:hover{border-color:color-mix(in srgb,var(--hx-primary) 45%,var(--hx-card-line));transform:translateY(-1px);
  box-shadow:0 16px 30px -24px rgba(9,90,66,.7)}
.avatar-choice.is-active{border-color:var(--hx-primary);background:color-mix(in srgb,var(--hx-primary) 7%,var(--hx-card));
  box-shadow:0 0 0 3px color-mix(in srgb,var(--hx-primary) 12%,transparent)}
.avatar-modal-note{font-size:11px;line-height:1.8;color:var(--hx-ink2);margin:0}
.avatar-upload-row{display:flex;flex-direction:column;gap:7px;padding:14px;border-radius:16px;border:1px dashed var(--hx-card-line);
  background:color-mix(in srgb,var(--hx-primary) 4%,transparent);margin-top:4px}
.avatar-upload-row small{font-size:10px;color:var(--hx-ink2);line-height:1.6}
.avatar-upload-row .btn{align-self:flex-start}
.avatar-modal-actions{margin-top:12px;padding-top:12px;border-top:1px solid var(--hx-card-line)}
html[data-theme=black] .avatar-choice{background:#150d28;border-color:#2a1b4d}
html[data-theme=black] .avatar-choice strong{color:#f2ebff}
html[data-theme=black] .avatar-choice small,html[data-theme=black] .avatar-modal-note,html[data-theme=black] .avatar-upload-row small{color:#b9abcf}
html[data-theme=black] .avatar-upload-row{border-color:#2a1b4d;background:rgba(14,124,90,.06)}
@media(max-width:520px){.avatar-grid{grid-template-columns:1fr}}

/* Admin: a face next to every customer */
.admin-user-cell{display:flex;align-items:center;gap:9px;min-width:0}
.admin-user-avatar{width:34px;height:34px;border-radius:11px;object-fit:cover;flex:0 0 auto;background:var(--hx-soft);
  box-shadow:0 4px 10px -6px rgba(9,90,66,.7);border:1px solid color-mix(in srgb,var(--hx-primary) 16%,transparent)}
.admin-user-cell>span{min-width:0}

/* --------------------------------------------------------------------------
   6. Admin console — calmer chrome, clearer hierarchy
   -------------------------------------------------------------------------- */
body[data-page=admin] .admin-welcome{border-radius:26px;padding:30px;background:
  radial-gradient(ellipse at 92% 6%,rgba(14,124,90,.34),transparent 62%),linear-gradient(135deg,#2a1550,#170c2c 62%,#120921);
  border:1px solid rgba(95,211,168,.24);box-shadow:0 30px 60px -42px rgba(9,90,66,.9)}
body[data-page=admin] .admin-welcome h2{letter-spacing:-1px}
body[data-page=admin] .admin-welcome .eyebrow{background:rgba(196,181,253,.12);border-color:rgba(196,181,253,.24);color:#ddd0ff}
body[data-page=admin] .panel{border-radius:20px;border-color:var(--hx-card-line);box-shadow:0 24px 60px -54px rgba(9,90,66,.6)}
body[data-page=admin] .panel>.section-title h2{letter-spacing:-.35px}
body[data-page=admin] .table-wrap{border-radius:14px;border:1px solid var(--hx-card-line);background:var(--hx-card)}
body[data-page=admin] table th{background:color-mix(in srgb,var(--hx-primary) 5%,transparent);font-weight:700;letter-spacing:.35px;
  position:sticky;top:0;z-index:2;backdrop-filter:blur(8px)}
body[data-page=admin] table tbody tr{transition:background .16s ease}
body[data-page=admin] table tbody tr:hover{background:color-mix(in srgb,var(--hx-primary) 4%,transparent)}
body[data-page=admin] table td{border-bottom:1px solid color-mix(in srgb,var(--hx-card-line) 70%,transparent)}
body[data-page=admin] .stat{border-radius:18px;border-color:var(--hx-card-line)}
body[data-page=admin] .operator-strip{border-radius:22px}
body[data-page=admin] .admin-tabs .tab{font-size:11.5px}
html[data-theme=black] body[data-page=admin] .table-wrap{background:#120b24;border-color:#2a1b4d}
html[data-theme=black] body[data-page=admin] table th{background:rgba(14,124,90,.10)}
html[data-theme=black] body[data-page=admin] .panel{background:#120b24;border-color:#2a1b4d}
html[data-theme=black] body[data-page=admin] table td{color:#d9cdf0;border-bottom-color:rgba(95,211,168,.14)}

/* Admin → risk overview + promo manager: cards instead of floating text */
body[data-page=admin] .stat-card{padding:14px 15px;border-radius:16px;background:var(--hx-card);border:1px solid var(--hx-card-line);
  display:flex;flex-direction:column;gap:5px;min-width:0;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body[data-page=admin] .stat-card span{font-size:10.5px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:var(--hx-ink2);line-height:1.4}
body[data-page=admin] .stat-card strong{font-size:22px;line-height:1.15;letter-spacing:-.6px;color:var(--hx-ink)}
body[data-page=admin] .stat-card small{font-size:10.5px;line-height:1.6;color:var(--hx-ink2);overflow-wrap:anywhere}
body[data-page=admin] .stat-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--hx-primary) 26%,var(--hx-card-line));
  box-shadow:0 20px 36px -30px rgba(9,90,66,.8)}
.coupon-type-badge{display:inline-block;padding:3px 9px;border-radius:99px;font-size:10px;font-weight:800;letter-spacing:.4px;
  background:color-mix(in srgb,var(--hx-primary) 12%,transparent);color:var(--hx-primary);white-space:nowrap}
.flash-form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.active-flash-sales-section{margin-top:18px}
@media(max-width:640px){
  body[data-page=admin] .stat-card strong{font-size:18px}
  body[data-page=admin] .stats{gap:10px}
}
html[data-theme=black] body[data-page=admin] .stat-card{background:#150d28;border-color:#2a1b4d}
html[data-theme=black] body[data-page=admin] .stat-card strong{color:#f2ebff}
html[data-theme=black] body[data-page=admin] .stat-card span,html[data-theme=black] body[data-page=admin] .stat-card small{color:#b9abcf}
html[data-theme=black] .coupon-type-badge{background:rgba(14,124,90,.18);color:#ddd0ff}
html.hx-lowfx body[data-page=admin] .stat-card{transition:none!important}
html.hx-lowfx body[data-page=admin] .stat-card:hover{transform:none!important}

/* Admin → Settings: live preview of the portrait pack */
.avatar-admin-card{padding:16px;border:1px solid var(--hx-card-line);border-radius:18px;
  background:linear-gradient(140deg,color-mix(in srgb,var(--hx-primary) 6%,transparent),transparent 62%)}
.avatar-admin-card .section-title{margin-bottom:14px}
.avatar-admin-card .section-title h3{margin:0;font-size:14px;font-weight:750;color:var(--hx-ink)}
.avatar-admin-card .section-title p{margin:5px 0 0;font-size:11px;line-height:1.7;color:var(--hx-ink2);max-width:560px}
.avatar-preview-strip{display:flex;flex-wrap:wrap;gap:12px}
.avatar-preview{margin:0;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 12px;border-radius:16px;
  background:var(--hx-card);border:1px solid var(--hx-card-line);min-width:104px;transition:transform .2s ease,box-shadow .2s ease}
.avatar-preview img{width:72px;height:72px;border-radius:20px;object-fit:cover;display:block;background:var(--hx-soft)}
.avatar-preview figcaption{font-size:10px;font-weight:650;color:var(--hx-ink2);text-align:center;line-height:1.35}
.avatar-preview:hover{transform:translateY(-2px);box-shadow:0 18px 30px -24px rgba(9,90,66,.75)}
html[data-theme=black] .avatar-admin-card{border-color:#2a1b4d;background:linear-gradient(140deg,rgba(14,124,90,.10),transparent 62%)}
html[data-theme=black] .avatar-preview{background:#150d28;border-color:#2a1b4d}
html[data-theme=black] .avatar-admin-card .section-title h3{color:#f2ebff}
html[data-theme=black] .avatar-admin-card .section-title p,html[data-theme=black] .avatar-preview figcaption{color:#b9abcf}

/* --------------------------------------------------------------------------
   7. Motion — gentle, purposeful, and off on low-end devices
   -------------------------------------------------------------------------- */
@keyframes v12Floaty{0%{transform:translateY(0) rotate(-1.2deg)}100%{transform:translateY(-9px) rotate(1.2deg)}}
@keyframes v12Pop{0%{opacity:0;transform:scale(.94) translateY(8px)}100%{opacity:1;transform:none}}
@keyframes v12Sheen{0%{transform:translateX(-120%)}100%{transform:translateX(220%)}}
.avatar-grid .avatar-choice{animation:v12Pop .32s cubic-bezier(.22,.9,.3,1) both}
.avatar-grid .avatar-choice:nth-child(2){animation-delay:.04s}
.avatar-grid .avatar-choice:nth-child(3){animation-delay:.08s}
.avatar-grid .avatar-choice:nth-child(4){animation-delay:.12s}
html[data-theme] .panel{transition:border-color .22s ease,box-shadow .22s ease}
body[data-page=admin] .panel:hover{border-color:color-mix(in srgb,var(--hx-primary) 22%,var(--hx-card-line))}
html.hx-lowfx .avatar-grid .avatar-choice,html.hx-lowfx .empty-catalog::before,html.hx-lowfx .top-avatar{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){
  .avatar-grid .avatar-choice,#app>.boot .boot-progress i,.empty-catalog::before{animation:none!important}
  *{scroll-behavior:auto!important}
  .profile-avatar-btn:hover .profile-avatar-photo,.avatar-choice:hover,.top-avatar:hover{transform:none!important}
}

/* --------------------------------------------------------------------------
   9. v1.6.9 — boot screen decluttered, corner art promoted to inline badges
   -------------------------------------------------------------------------- */
/* The photographic lavender sky was being stretched with `cover`, so its wave
   contours read as giant broken arcs across the loading screen. Replace it
   with a calm, cheap-to-paint aurora that always fits the viewport. */
#app>.boot::before{
  inset:0!important;opacity:1!important;filter:none!important;animation:none!important;
  background:
    radial-gradient(ellipse 64% 44% at 50% 30%,rgba(14,124,90,.20),transparent 64%),
    radial-gradient(ellipse 52% 40% at 4% 96%,rgba(95,211,168,.16),transparent 70%),
    radial-gradient(ellipse 44% 34% at 98% 92%,rgba(14,124,90,.12),transparent 72%)!important}
html[data-theme=default] #app>.boot::before,html[data-theme=white] #app>.boot::before{
  background:
    radial-gradient(ellipse 66% 46% at 50% 28%,rgba(14,124,90,.12),transparent 64%),
    radial-gradient(ellipse 58% 44% at 2% 98%,rgba(95,211,168,.18),transparent 72%),
    radial-gradient(ellipse 46% 36% at 99% 94%,rgba(14,124,90,.10),transparent 74%)!important}

/* While the boot stage is mounted there is nothing to scroll: hide the
   page scrollbar instead of letting it flash beside the loading screen. */
html:has(#app>.boot),body:has(#app>.boot){overflow:hidden!important;overscroll-behavior:none}

/* Logo halo + calmer orbit rings, all inside the 104px orbit box. */
#app>.boot .boot-orbit::before{
  inset:-26px!important;border-radius:50%;
  background:radial-gradient(circle,rgba(14,124,90,.34),transparent 64%)!important;
  animation:v12Halo 4.4s ease-in-out infinite!important}
html[data-theme=default] #app>.boot .boot-orbit::before,
html[data-theme=white] #app>.boot .boot-orbit::before{
  background:radial-gradient(circle,rgba(14,124,90,.16),transparent 66%)!important}
#app>.boot .boot-orbit span{border-color:rgba(14,124,90,.24)!important}
#app>.boot .boot-orbit span+span{border-color:rgba(95,211,168,.42)!important;border-style:dashed!important}
html[data-theme=black] #app>.boot .boot-orbit span{border-color:rgba(95,211,168,.36)!important}
html[data-theme=black] #app>.boot .boot-orbit span+span{border-color:rgba(96,223,208,.34)!important}

/* Type + progress: crisper hierarchy, one accent gradient. */
#app>.boot strong{font-size:19px!important;font-weight:750;letter-spacing:-.3px!important}
#app>.boot small{font-size:11.5px!important;letter-spacing:.05em!important;opacity:.92}
#app>.boot .boot-progress{width:min(260px,72vw)!important;height:6px!important;margin-top:10px!important;
  background:rgba(10,110,79,.12)!important;box-shadow:inset 0 0 0 1px rgba(10,110,79,.10)!important}
html[data-theme=black] #app>.boot .boot-progress{background:rgba(255,255,255,.10)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)!important}
#app>.boot .boot-progress i{background:linear-gradient(90deg,#5fd3a8,#0e7c5a 55%,#8fe3c4)!important;
  box-shadow:0 0 14px rgba(14,124,90,.45)}

/* One gentle entrance, then everything settles. */
@keyframes v12BootIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes v12Halo{0%,100%{opacity:.55;transform:scale(.96)}50%{opacity:1;transform:scale(1.04)}}
#app>.boot .boot-orbit{animation:v12BootIn .45s cubic-bezier(.22,.9,.3,1) both!important}
#app>.boot strong{animation:v12BootIn .45s .06s cubic-bezier(.22,.9,.3,1) both!important}
#app>.boot small{animation:v12BootIn .45s .12s cubic-bezier(.22,.9,.3,1) both!important}
#app>.boot .boot-progress{animation:v12BootIn .45s .18s cubic-bezier(.22,.9,.3,1) both!important}

/* Support / API / wallet art: a sticker hanging over the card border read as
   a clipped, sliced object. Promote it to an inline badge next to the title. */
.support-form-panel::after,.api-access-panel::after,.wallet-deposit-panel::after{display:none!important}
.support-form-panel>h2::before,.wallet-deposit-panel>h2::before,
.api-access-panel .section-title h2::before{
  content:'';display:inline-block;width:54px;height:42px;margin-right:10px;vertical-align:middle;
  background:center/contain no-repeat;filter:drop-shadow(0 8px 14px rgba(9,90,66,.22))}
.support-form-panel>h2::before{background-image:url('/assets/generated/art-support-nobg.webp')}
.wallet-deposit-panel>h2::before{background-image:url('/assets/generated/art-wallet-nobg.webp')}
.api-access-panel .section-title h2::before{background-image:url('/assets/generated/art-key-nobg.webp')}
@media(max-width:560px){
  .support-form-panel>h2::before,.wallet-deposit-panel>h2::before,
  .api-access-panel .section-title h2::before{width:40px;height:32px;margin-right:8px}
}
/* The scrollable reset modal can never show a corner sticker without clipping it. */
.modal:has(#password-reset-form)::after,.modal:has(#password-reset-start-form)::after{display:none!important}

/* Motion guards for every new animation. */
html.hx-lowfx #app>.boot .boot-orbit,html.hx-lowfx #app>.boot .boot-orbit::before,
html.hx-lowfx #app>.boot strong,html.hx-lowfx #app>.boot small,
html.hx-lowfx #app>.boot .boot-progress{animation:none!important}
@media(prefers-reduced-motion:reduce){
  #app>.boot .boot-orbit,#app>.boot .boot-orbit::before,#app>.boot strong,
  #app>.boot small,#app>.boot .boot-progress{animation:none!important}
}
