html,body{margin:0;min-height:100%;background:var(--haze-bg,#07112b);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;color:#eef5ff}
body{overflow:hidden}
.hzdemo{min-height:100vh;height:100vh;display:grid;grid-template-rows:auto auto auto 1fr auto;gap:12px;padding:14px;background:radial-gradient(360px 180px at 100% 0%,color-mix(in srgb,var(--haze-accent,#2ecfff) 16%,transparent),transparent 70%),radial-gradient(300px 170px at 0% 100%,color-mix(in srgb,var(--haze-accent-deep,#7750ff) 15%,transparent),transparent 72%),var(--haze-bg,#07112b);box-sizing:border-box;overflow:hidden}
.hzdemo *{box-sizing:border-box}.hzdemo button,.hzdemo input,.hzdemo select{font:inherit}
.hzdemo-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px}.hzdemo-brand{display:flex;align-items:center;gap:9px}.hzdemo-brand img{width:36px;height:36px;border-radius:11px;filter:drop-shadow(0 8px 18px rgba(45,93,230,.28))}.hzdemo-brand>div{display:grid;gap:1px}.hzdemo-brand strong{font-size:14px;letter-spacing:-.025em}.hzdemo-brand small{color:#8297bf;font-size:9px}.hzdemo-more{border:1px solid rgba(126,163,237,.13);background:rgba(255,255,255,.025);color:#a8b8d8;width:34px;height:34px;border-radius:11px;cursor:pointer}
.hzdemo-balance{border:1px solid rgba(126,163,237,.15);border-radius:calc(var(--haze-radius,18px) + 2px);padding:14px;background:linear-gradient(145deg,rgba(16,42,92,.74),rgba(5,17,43,.72));box-shadow:inset 0 1px rgba(255,255,255,.04)}.hzdemo-account{display:flex;align-items:center;gap:8px;margin-bottom:12px}.hzdemo-avatar{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,var(--haze-accent,#2ecfff),var(--haze-accent-deep,#7750ff))}.hzdemo-account>div{display:grid;gap:1px}.hzdemo-account small{color:#8297bf;font-size:8px}.hzdemo-account strong{font-size:10px}.hzdemo-caret{margin-left:auto;color:#7f93b9}.hzdemo-label{display:block;color:#8398c0;font-size:8px;text-transform:uppercase;letter-spacing:.13em;font-weight:800}.hzdemo-total{display:block;margin-top:3px;font-size:26px;letter-spacing:-.045em}.hzdemo-total em{font-style:normal;font-size:10px;color:#95a9ce;letter-spacing:0}.hzdemo-gain{display:inline-flex;gap:6px;margin-top:3px;color:#54e2ae;font-size:9px;font-weight:800}.hzdemo-gain i{font-style:normal;color:#7f92ba;font-weight:600}
.hzdemo-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.hzdemo-actions button{border:1px solid rgba(126,163,237,.13);border-radius:calc(var(--haze-radius,18px) - 4px);background:rgba(255,255,255,.025);color:#dce8fb;min-height:57px;display:grid;place-items:center;gap:4px;padding:7px 3px;cursor:pointer;transition:.16s ease}.hzdemo-actions button:hover,.hzdemo-actions button.is-active{border-color:rgba(104,155,255,.34);background:rgba(255,255,255,.055);transform:translateY(-1px)}.hzdemo-actions b{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(120deg,var(--haze-accent-deep,#7750ff),var(--haze-accent,#2ecfff));color:#fff;box-shadow:0 8px 20px rgba(44,101,226,.25)}.hzdemo-actions span{font-size:9px;font-weight:800}
.hzdemo-content{min-height:0;overflow:hidden;display:grid;align-content:start;gap:10px}.hzdemo-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.hzdemo-section-head strong{font-size:13px}.hzdemo-section-head small{color:#7f93b9;font-size:8px}.hzdemo-asset{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border:1px solid rgba(126,163,237,.13);border-radius:calc(var(--haze-radius,18px) - 3px);padding:11px;background:rgba(255,255,255,.026)}.hzdemo-coin{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:20px;font-weight:900}.hzdemo-coin.doge{background:linear-gradient(145deg,#d4a82e,#8f6612);color:#fff7cf}.hzdemo-asset>div:nth-child(2),.hzdemo-asset-value{display:grid;gap:2px}.hzdemo-asset strong{font-size:10px}.hzdemo-asset small{color:#8297bf;font-size:8px}.hzdemo-asset-value{text-align:right}.hzdemo-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hzdemo-mini-grid button{border:1px solid rgba(126,163,237,.13);border-radius:calc(var(--haze-radius,18px) - 3px);padding:10px;background:rgba(255,255,255,.025);color:#eef5ff;text-align:left;display:grid;grid-template-columns:auto 1fr;column-gap:8px;cursor:pointer}.hzdemo-mini-grid button>span{grid-row:1/3;width:29px;height:29px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.07);color:var(--haze-accent,#2ecfff);font-size:16px}.hzdemo-mini-grid strong{font-size:10px}.hzdemo-mini-grid small{color:#8297bf;font-size:8px}.hzdemo-card{border:1px solid rgba(126,163,237,.13);border-radius:calc(var(--haze-radius,18px) - 3px);padding:10px;background:linear-gradient(145deg,rgba(31,73,159,.19),rgba(104,54,196,.12))}.hzdemo-card>div{display:flex;align-items:center;gap:9px}.hzdemo-shield{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;border:1px solid rgba(91,150,255,.24);color:#6ecfff}.hzdemo-card>div>div{display:grid;gap:2px}.hzdemo-card strong{font-size:9px}.hzdemo-card small{color:#8398c0;font-size:8px}
.hzdemo-qr{width:150px;height:150px;margin:2px auto 0;padding:10px;border-radius:18px;background:#fff;box-shadow:0 16px 36px rgba(0,0,0,.18)}.hzdemo-qr-pattern{width:100%;height:100%;background:repeating-conic-gradient(#08142e 0 25%,#fff 0 50%) 0/16px 16px;mask:radial-gradient(circle at 18% 18%,#000 0 18%,transparent 19%),linear-gradient(#000 0 0);border-radius:4px;opacity:.92}.hzdemo-address{padding:10px;border:1px solid rgba(126,163,237,.14);border-radius:12px;background:rgba(255,255,255,.025);color:#cfe0ff;font:8px/1.4 ui-monospace,monospace;word-break:break-all}.hzdemo-address.small{font-size:7px}.hzdemo-primary{min-height:40px;border:0;border-radius:calc(var(--haze-radius,18px) - 4px);background:linear-gradient(115deg,var(--haze-accent-deep,#7750ff),#2a75ff 55%,var(--haze-accent,#2ecfff));color:#fff;font-size:10px;font-weight:850;cursor:pointer;box-shadow:0 10px 24px rgba(46,105,231,.24)}.hzdemo-field{display:grid;gap:5px}.hzdemo-field>span{color:#8297bf;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.hzdemo-field input,.hzdemo-field select{width:100%;height:38px;border:1px solid rgba(126,163,237,.14);border-radius:11px;background:rgba(4,15,37,.7);color:#eef5ff;padding:0 10px;outline:none;font-size:10px}.hzdemo-amount{display:grid;grid-template-columns:1fr auto;align-items:center;border:1px solid rgba(126,163,237,.14);border-radius:11px;background:rgba(4,15,37,.7);padding-right:10px}.hzdemo-amount input{border:0;background:transparent}.hzdemo-amount b{font-size:9px;color:#92a7cd}.hzdemo-fee{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#8297bf;font-size:8px}.hzdemo-fee strong{color:#cfe0ff}.hzdemo-buy-hero{display:flex;gap:10px;align-items:center;border:1px solid rgba(126,163,237,.14);border-radius:calc(var(--haze-radius,18px) - 2px);padding:12px;background:linear-gradient(145deg,rgba(34,84,182,.18),rgba(107,54,194,.12))}.hzdemo-buy-hero>span{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(120deg,var(--haze-accent-deep,#7750ff),var(--haze-accent,#2ecfff));font-size:18px}.hzdemo-buy-hero>div{display:grid;gap:2px}.hzdemo-buy-hero strong{font-size:10px}.hzdemo-buy-hero small{color:#8499c1;font-size:8px;line-height:1.4}.hzdemo-buy-row{display:grid;grid-template-columns:.7fr 1fr;gap:8px}.hzdemo-provider-note{color:#7186af;font-size:7px;text-align:center}.hzdemo-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid rgba(255,255,255,.055);padding-top:9px;color:#8ca0c8}.hzdemo-foot span{display:flex;align-items:center;gap:6px;font-size:8px;font-weight:800}.hzdemo-foot span i{width:6px;height:6px;border-radius:50%;background:#45dfa9;box-shadow:0 0 10px #45dfa9}.hzdemo-foot small{font-size:7px}
@media(max-height:560px){.hzdemo{gap:8px;padding:10px}.hzdemo-head{min-height:34px}.hzdemo-brand img{width:30px;height:30px}.hzdemo-balance{padding:10px}.hzdemo-total{font-size:21px}.hzdemo-actions button{min-height:49px}.hzdemo-qr{width:120px;height:120px}.hzdemo-foot{display:none}}

/* Compact preview viewport support --------------------------------------- */
@media(max-width:360px){
  .hzdemo{padding:10px;gap:8px}
  .hzdemo-brand img{width:31px;height:31px}
  .hzdemo-brand small{display:none}
  .hzdemo-balance{padding:10px}
  .hzdemo-total{font-size:22px}
  .hzdemo-actions{gap:6px}
  .hzdemo-actions button{min-height:50px}
  .hzdemo-actions b{width:25px;height:25px}
  .hzdemo-mini-grid{grid-template-columns:1fr}
  .hzdemo-card{display:none}
}
@media(max-height:500px){
  .hzdemo{grid-template-rows:auto auto auto 1fr;padding:8px;gap:6px}
  .hzdemo-head{min-height:30px}
  .hzdemo-brand img{width:28px;height:28px}
  .hzdemo-brand small{display:none}
  .hzdemo-balance{padding:8px}
  .hzdemo-account{margin-bottom:6px}
  .hzdemo-total{font-size:19px}
  .hzdemo-actions button{min-height:42px;padding:4px 2px}
  .hzdemo-actions b{width:23px;height:23px}
  .hzdemo-content{gap:7px}
  .hzdemo-mini-grid{gap:6px}
  .hzdemo-mini-grid button{padding:7px}
  .hzdemo-asset{padding:8px}
  .hzdemo-qr{width:106px;height:106px;padding:7px}
  .hzdemo-field input,.hzdemo-field select{height:32px}
  .hzdemo-primary{min-height:34px}
  .hzdemo-foot{display:none}
}

/* Never clip wallet content. Non-home views collapse the portfolio header into
   a compact strip so Send / Receive / Buy remain fully visible in shorter
   embedded panels. The content area is still scrollable as a last-resort for
   unusually small browser viewports or increased text zoom. */
.hzdemo{grid-template-rows:auto auto auto minmax(0,1fr) auto;height:100dvh;min-height:0}
.hzdemo-content{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(125,161,232,.28) transparent;padding-right:1px}
.hzdemo-content::-webkit-scrollbar{width:5px}.hzdemo-content::-webkit-scrollbar-track{background:transparent}.hzdemo-content::-webkit-scrollbar-thumb{background:rgba(125,161,232,.28);border-radius:999px}

.hzdemo[data-view="send"] .hzdemo-balance,
.hzdemo[data-view="receive"] .hzdemo-balance,
.hzdemo[data-view="buy"] .hzdemo-balance{
  display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:10px;row-gap:1px;padding:9px 11px
}
.hzdemo[data-view="send"] .hzdemo-account,
.hzdemo[data-view="receive"] .hzdemo-account,
.hzdemo[data-view="buy"] .hzdemo-account{display:none}
.hzdemo[data-view="send"] .hzdemo-label,
.hzdemo[data-view="receive"] .hzdemo-label,
.hzdemo[data-view="buy"] .hzdemo-label{grid-column:1;grid-row:1;margin:0}
.hzdemo[data-view="send"] .hzdemo-total,
.hzdemo[data-view="receive"] .hzdemo-total,
.hzdemo[data-view="buy"] .hzdemo-total{grid-column:1;grid-row:2;margin:0;font-size:20px;line-height:1.05}
.hzdemo[data-view="send"] .hzdemo-gain,
.hzdemo[data-view="receive"] .hzdemo-gain,
.hzdemo[data-view="buy"] .hzdemo-gain{grid-column:2;grid-row:1/3;margin:0;align-self:center;white-space:nowrap}

@media(max-height:680px){
  .hzdemo{padding:10px;gap:8px}
  .hzdemo-head{min-height:34px}
  .hzdemo-brand img{width:30px;height:30px}
  .hzdemo-brand small{display:none}
  .hzdemo-balance{padding:10px}
  .hzdemo-account{margin-bottom:7px}
  .hzdemo-total{font-size:22px}
  .hzdemo-actions{gap:6px}
  .hzdemo-actions button{min-height:47px;padding:5px 2px}
  .hzdemo-actions b{width:24px;height:24px;font-size:13px}
  .hzdemo-content{gap:7px}
  .hzdemo-section-head strong{font-size:12px}
  .hzdemo-buy-hero{padding:9px}
  .hzdemo-buy-hero>span{width:30px;height:30px}
  .hzdemo-field{gap:4px}
  .hzdemo-field input,.hzdemo-field select{height:33px}
  .hzdemo-address{padding:8px}
  .hzdemo-primary{min-height:35px}
  .hzdemo-foot{padding-top:6px}
}

@media(max-height:560px){
  .hzdemo{padding:8px;gap:6px}
  .hzdemo-head{min-height:29px}
  .hzdemo-brand img{width:27px;height:27px}
  .hzdemo-more{width:30px;height:30px}
  .hzdemo-balance{padding:7px 9px}
  .hzdemo-account{margin-bottom:4px}
  .hzdemo-total{font-size:18px}
  .hzdemo-actions button{min-height:40px;padding:3px 2px}
  .hzdemo-actions b{width:22px;height:22px;border-radius:7px}
  .hzdemo-actions span{font-size:8px}
  .hzdemo-buy-hero{padding:7px}
  .hzdemo-buy-hero small{line-height:1.25}
  .hzdemo-field input,.hzdemo-field select{height:30px}
  .hzdemo-address{padding:6px 8px}
  .hzdemo-primary{min-height:31px}
  .hzdemo-provider-note{font-size:6.5px}
  .hzdemo-foot{display:none}
}

@media(max-height:460px){
  .hzdemo-head{display:none}
  .hzdemo{grid-template-rows:auto auto minmax(0,1fr);gap:5px}
  .hzdemo-balance{padding:6px 8px}
  .hzdemo-actions button{min-height:36px}
  .hzdemo-section-head small{display:none}
  .hzdemo-buy-hero small{display:none}
  .hzdemo-provider-note{display:none}
}

/* HazeWallet 2.0 demo alignment */
.hzdemo-actions{grid-template-columns:repeat(3,1fr)}
.hzdemo-coming{opacity:.48;filter:saturate(.2)}
.hzdemo-coin.pep{background:linear-gradient(145deg,#5da932,#37711c);color:#e8ffd9}.hzdemo-coin.ltc{background:linear-gradient(145deg,#8fa8c8,#526a8c);color:#eaf1fb}.hzdemo-coin.btc{background:linear-gradient(145deg,#f7931a,#c2710c);color:#fff3df}
.hzdemo-task-top{min-height:28px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.hzdemo-task-top button{justify-self:start;border:0;background:transparent;color:#7fa5dd;font-size:8px;font-weight:800;cursor:pointer;padding:4px 0}.hzdemo-task-top strong{grid-column:2;font-size:11px}

.hzdemo-actions button b svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
