/* Zero overrides on top of the Atlas build.
   Atlas's warm "gold" metal tokens become Zero's steel blue (picked from zero logo.png). */
:root {
  --color-gold-100: oklch(78% .06 258);   /* ~ #9dbcf0 highlight */
  --color-gold-200: oklch(93% .02 258);   /* ~ #e6eefb */
  --color-gold-300: oklch(56% .085 260);  /* ~ #4f78bd steel */
  --color-gold-gradient: linear-gradient(var(--color-gold-200), var(--color-gold-300));
}

/* the menu's "Alex spinning a globe" mascot video -> Zero mark */
video[aria-label="Zero"] {
  object-position: -99999px 0;  /* hide the frames, keep the box */
  mix-blend-mode: normal !important;
  background: url("/zero/markWhite.svg") center / auto 52% no-repeat;
}

/* ---- Zero logos painted over the Atlas logo SVGs (contents hidden, box kept so layout/animation is untouched) ---- */
svg[viewBox="0 0 39 28"] > *, svg[viewBox="0 0 134 31"] > *, svg[viewBox="0 0 114 28"] > *, svg[viewBox="0 0 25 53"] > * { display: none !important; }
svg[viewBox="0 0 39 28"]  { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2039%2028%22%20fill%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22zg%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%2228%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23EEF3FC%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%237D95C0%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20transform%3D%22translate(-1.777%20-7.319)%20scale(0.04255)%22%3E%3Cpath%20fill%3D%22url(%23zg)%22%20fill-rule%3D%22evenodd%22%20d%3D%22M378%20172H622L740%20290V712L622%20830H380L260%20712V290Z%20M322%20232H638L322%20710Z%20M680%20290V770H362Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; }
svg[viewBox="0 0 134 31"] { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20134%2031%22%20fill%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22zg%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%2231%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23EEF3FC%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%237D95C0%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20transform%3D%22translate(51%200)%22%3E%3Cg%20fill%3D%22url(%23zg)%22%3E%3Cpath%20d%3D%22M0%20.5H21V4.7H0Z%22%2F%3E%3Cpath%20d%3D%22M0%2026.3H21V30.5H0Z%22%2F%3E%3Cpath%20d%3D%22M15.4%204.7H21L5.6%2026.3H0Z%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22url(%23zg)%22%20stroke-width%3D%224.2%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M26.1%2019.6H41.9V15.6L36.9%2010.6H31.1L26.1%2015.6V23.4L31.1%2028.4H43%22%2F%3E%3Cpath%20d%3D%22M49.1%2030.5V15.6L54.1%2010.6H60%22%2F%3E%3Cpath%20d%3D%22M69.1%2010.6H74.9L79.9%2015.6V23.4L74.9%2028.4H69.1L64.1%2023.4V15.6Z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; }
svg[viewBox="0 0 114 28"] { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20114%2028%22%20fill%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22zg%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%2228%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23EEF3FC%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%237D95C0%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20transform%3D%22translate(-7.277%20-7.319)%20scale(0.04255)%22%3E%3Cpath%20fill%3D%22url(%23zg)%22%20fill-rule%3D%22evenodd%22%20d%3D%22M378%20172H622L740%20290V712L622%20830H380L260%20712V290Z%20M322%20232H638L322%20710Z%20M680%20290V770H362Z%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(36%200.6)%20scale(.86)%22%3E%3Cg%20fill%3D%22url(%23zg)%22%3E%3Cpath%20d%3D%22M0%20.5H21V4.7H0Z%22%2F%3E%3Cpath%20d%3D%22M0%2026.3H21V30.5H0Z%22%2F%3E%3Cpath%20d%3D%22M15.4%204.7H21L5.6%2026.3H0Z%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22url(%23zg)%22%20stroke-width%3D%224.2%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M26.1%2019.6H41.9V15.6L36.9%2010.6H31.1L26.1%2015.6V23.4L31.1%2028.4H43%22%2F%3E%3Cpath%20d%3D%22M49.1%2030.5V15.6L54.1%2010.6H60%22%2F%3E%3Cpath%20d%3D%22M69.1%2010.6H74.9L79.9%2015.6V23.4L74.9%2028.4H69.1L64.1%2023.4V15.6Z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; }
svg[viewBox="0 0 25 53"]  { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2053%22%20fill%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22zg%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%2253%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23EEF3FC%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%237D95C0%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20transform%3D%22translate(-11.458%202.494)%20scale(0.04792)%22%3E%3Cpath%20fill%3D%22url(%23zg)%22%20fill-rule%3D%22evenodd%22%20d%3D%22M378%20172H622L740%20290V712L622%20830H380L260%20712V290Z%20M322%20232H638L322%20710Z%20M680%20290V770H362Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; }

/* ============ Zero screens (replace the Atlas app Lotties) ============ */
.zs-ov { position: absolute; inset: 0; z-index: 2; container-type: size; overflow: hidden; color: #e6eefb;
  font-family: "Sequel Sans Headline Book", "Sequel Sans Book", system-ui, sans-serif; text-align: left; }
.zs-ov * { box-sizing: border-box; }
.zs-logo { display: inline-block; width: 1.05em; height: 1.45em; background: url("/zero/markWhite.svg") center / contain no-repeat; flex: none; }
.zs-logo.sm { width: .9em; height: 1.2em; }
.zs-live { margin-left: auto; font: .62em "ApercuMono Pro Regular", monospace; letter-spacing: .08em; color: #3ddc97; }
.zs-av { position: relative; width: 2.3em; height: 2.3em; border-radius: .55em; background: #18202f; display: grid; place-items: center; overflow: hidden; flex: none; }
.zs-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zs-av b { font-size: .9em; color: #9dbcf0; font-weight: 400; }
.zs-av.big { width: 4.2em; height: 4.2em; border-radius: 1em; }
.zs-row { display: flex; align-items: center; gap: .6em; padding: .5em .2em; border-bottom: 1px solid rgba(157,188,240,.08); cursor: pointer; }
.zs-row.tall { padding: .6em .2em; }
.zs-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: .25em; }
.zs-meta b { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zs-meta small, .zs-r small { color: #7d8aa5; font-size: .78em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zs-r { display: flex; flex-direction: column; align-items: flex-end; gap: .2em; font-family: "ApercuMono Pro Regular", monospace; font-size: .9em; }
.zs-r b { font-weight: 400; }
.zs-bar { display: block; height: .3em; border-radius: 1em; background: rgba(157,188,240,.12); overflow: hidden; }
.zs-bar i { display: block; height: 100%; background: linear-gradient(90deg, #4f78bd, #9dbcf0); border-radius: 1em; transition: width .6s; }
.zs-ov .up { color: #3ddc97; } .zs-ov .dn { color: #ff5d6c; }

/* phone */
.zs-phone { position: absolute; left: 50%; top: 4cqh; translate: -50% 0; width: min(44cqw, 52cqh); aspect-ratio: 9 / 19.2;
  border-radius: 13% / 6.2%; background: #0b0d12; padding: 2.2%; box-shadow: 0 0 0 1.5px #3a3f48, 0 0 0 4px #15181d, 0 30px 80px rgba(0,0,0,.6);
  container-type: inline-size; }
.zs-phone.big { width: min(60cqw, 62cqh); top: 6cqh; }
.zs-screen { position: relative; width: 100%; height: 100%; border-radius: 11.5% / 5.4%; overflow: hidden; display: flex; flex-direction: column;
  background: radial-gradient(120% 50% at 50% 0%, rgba(79,120,189,.28), transparent 70%), #05070c; font-size: 4.3cqi; }
.zs-status { display: flex; align-items: center; justify-content: space-between; padding: 3.5cqi 7cqi 1cqi; font: 600 3.6cqi system-ui; }
.zs-island { width: 28cqi; height: 7.5cqi; border-radius: 9cqi; background: #000; }
.zs-icons { font-size: 2.6cqi; letter-spacing: .1em; opacity: .85; }
.zs-top { display: flex; align-items: center; gap: .5em; padding: .6em 1.1em .5em; font-size: 1.15em; }
.zs-top b { font-weight: 400; }
.zs-x { margin-left: auto; color: #7d8aa5; font-size: .8em; }
.zs-body { flex: 1; overflow: hidden; padding: 0 .9em; }
.zs-tabbar { display: flex; justify-content: space-around; padding: .7em .4em 1.4em; border-top: 1px solid rgba(157,188,240,.1); font-size: .68em; color: #4d5872; }
.zs-tabbar .on { color: #e6eefb; }
.zs-total { display: flex; flex-direction: column; gap: .2em; padding: .6em .2em 1em; }
.zs-total small { color: #7d8aa5; font-size: .75em; }
.zs-total b { font: 400 1.9em "Sequel Sans Display", system-ui; letter-spacing: -.01em; }
.zs-total span { font: .78em "ApercuMono Pro Regular", monospace; color: #7d8aa5; }
.zs-search { display: flex; align-items: center; gap: .5em; padding: .55em .8em; border-radius: .7em; background: #121826; margin-bottom: .5em; color: #7d8aa5; }
.zs-search span { color: #e6eefb; } .zs-search i { width: 1px; height: 1em; background: #9dbcf0; animation: zsblink 1s steps(2) infinite; }
@keyframes zsblink { 50% { opacity: 0; } }
.zs-tk { display: flex; flex-direction: column; align-items: center; gap: .35em; padding: .8em 0 1em; text-align: center; }
.zs-tk small { color: #7d8aa5; font-size: .8em; }
.zs-label { font: .72em "ApercuMono Pro Regular", monospace; color: #7d8aa5; margin-bottom: .45em; }
.zs-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4em; margin: 1.1em 0 .8em; }
.zs-chips span { text-align: center; padding: .5em 0; border-radius: .6em; border: 1px solid rgba(157,188,240,.16); font: .8em "ApercuMono Pro Regular", monospace; color: #7d8aa5; }
.zs-chips .on { border-color: #4f78bd; color: #e6eefb; background: rgba(79,120,189,.18); }
.zs-buy { text-align: center; padding: .85em; border-radius: .8em; background: linear-gradient(#e6eefb, #8fa8d4); color: #05070c; transition: transform .2s, filter .2s; margin-top: .6em; }
.k-phone-buy .zs-buy { background: linear-gradient(#5ff0b0, #2fbf80); color: #03140c; }
.zs-buy.press { transform: scale(.97); filter: brightness(1.1); }
.zs-toast { margin-top: .8em; padding: .6em .8em; border-radius: .7em; border: 1px solid rgba(61,220,151,.35); background: rgba(61,220,151,.08); color: #9ff0c9; font-size: .75em; animation: zsin .4s; }
@keyframes zsin { from { opacity: 0; transform: translateY(.4em); } }
.zs-qr { width: 46%; aspect-ratio: 1; margin: .4em auto .8em; border-radius: .8em; background:
  conic-gradient(from 90deg at 2px 2px, #fff 90deg, transparent 0) 0 0 / 14.28% 14.28%, repeating-linear-gradient(45deg, #fff 0 6%, #0b0d12 6% 12%); opacity: .9; }
.zs-addr { text-align: center; font: .72em "ApercuMono Pro Regular", monospace; color: #7d8aa5; margin-bottom: 1em; }
.zs-two { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; margin-top: .8em; }
.zs-two span { text-align: center; padding: .7em; border-radius: .7em; background: #121826; font-size: .82em; }
.zs-two span:first-child { background: linear-gradient(#e6eefb, #8fa8d4); color: #05070c; }
.zs-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3em; padding: .25em; border-radius: .7em; background: #0e1420; margin-bottom: .4em; font-size: .72em; text-align: center; color: #7d8aa5; }
.zs-cols span { padding: .45em 0; border-radius: .5em; } .zs-cols .on { background: rgba(157,188,240,.13); color: #e6eefb; }
.zs-qb { font-size: .78em; color: #9dbcf0; border: 1px solid rgba(79,120,189,.5); border-radius: .5em; padding: .1em .45em; }
.zs-wallet { display: flex; align-items: center; gap: .7em; padding: .8em .7em; margin-bottom: .45em; border-radius: .8em; background: #0e1420; border: 1px solid rgba(157,188,240,.08); }
.zs-wallet.on { border-color: #4f78bd; }
.zs-chart { width: 100%; height: 30%; display: block; margin: .2em 0 .8em; }
.zs-kv { display: flex; justify-content: space-between; padding: .55em .1em; border-bottom: 1px dashed rgba(157,188,240,.12); font-size: .82em; color: #7d8aa5; }
.zs-kv b { color: #e6eefb; font-weight: 400; font-family: "ApercuMono Pro Regular", monospace; }
.zs-notifs { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 2.4cqh; padding: 0 9cqw; font-size: max(11px, 3.6cqh); }
.zs-notif { display: flex; gap: .7em; align-items: flex-start; padding: .8em 1em; border-radius: 1.1em; background: rgba(30,34,44,.92); border: 1px solid rgba(157,188,240,.1); animation: zsin .5s calc(var(--d) * .15s) both; }
.zs-notif small { display: block; color: #7d8aa5; font-size: .75em; margin-bottom: .2em; }
.zs-notif b { font-weight: 400; color: #9dbcf0; }

/* boards (in-page cards) */
.zs-board { position: absolute; inset: 0; padding: 4.5cqh 4.5cqw; display: flex; flex-direction: column; background: radial-gradient(90% 70% at 50% 0%, rgba(79,120,189,.22), transparent 70%), #0b0f19; font-size: max(12px, 2.5cqw); }
.zs-bh { display: flex; align-items: center; gap: .6em; margin-bottom: 1em; font-size: 1.2em; }
.zs-bh b { font-weight: 400; }
.zs-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(5, 1fr); gap: .6em; min-height: 0; }
.zs-list { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.zs-phone-wrap, .zs-ov.zs-phone, .zs-ov[class*="k-phone"] { background: #000; }
.zs-tile { display: grid; grid-template-columns: auto 1fr; gap: .4em .6em; align-items: center; padding: .7em; border-radius: .8em; background: rgba(14,20,32,.85); border: 1px solid rgba(157,188,240,.08); animation: zsin .5s; }
.zs-tile .zs-bar { grid-column: 1 / -1; }
.zs-list .zs-row { padding: .55em .2em; }
.zs-chat { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 1.4cqh; padding: 4cqh 5cqw; background: #2a2a2a; font-size: max(12px, 1.9cqw); border-radius: inherit; }
.k-chat-mobile .zs-chat { font-size: max(12px, 3.6cqw); }
.zs-msg { max-width: 72%; padding: .6em .9em; border-radius: 1.1em; line-height: 1.3; animation: zsin .5s calc(var(--d) * .2s) both; }
.zs-msg.in { background: #3b3b3d; align-self: flex-start; border-bottom-left-radius: .3em; }
.zs-msg.out { background: #2f62d9; align-self: flex-end; border-bottom-right-radius: .3em; }
.zs-msg b { font-weight: 400; color: #cfe0ff; }
.zs-cards { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #1e1e1e; border-radius: inherit; font-size: max(12px, 2.4cqw); }
.zs-card { position: absolute; width: 30%; aspect-ratio: 1; border-radius: 1em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5em;
  background: linear-gradient(160deg, #3b5a91, #121a2b 70%); border: 1px solid rgba(157,188,240,.18); box-shadow: 0 20px 50px rgba(0,0,0,.5); transition: all .6s; }
.zs-card b { font: 400 1.5em "Sequel Sans Display", system-ui; } .zs-card small { font: .6em "ApercuMono Pro Regular", monospace; letter-spacing: .1em; color: #9dbcf0; }
.zs-card.c0 { translate: -55% 0; scale: .82; opacity: .55; filter: blur(1px); }
.zs-card.c2 { translate: 55% 0; scale: .82; opacity: .55; filter: blur(1px); }
.zs-card.c1 { z-index: 2; }

/* App hero phone: live Zero screen mapped onto the blank phone */
.zs-apphero { position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform-origin: 0 0; z-index: 2; container-type: inline-size; opacity: 0; transition: opacity 1.1s ease; pointer-events: none; border-radius: 54px; overflow: hidden; color: #e6eefb; font-family: "Sequel Sans Headline Book", system-ui, sans-serif; text-align: left; }
.zs-apphero.on { opacity: 1; }
.zs-apphero .zs-screen.flat { border-radius: 54px; }
