/* Milo's own app.
   The first screen is milo.ng's hero, piece for piece: its flat indigo, its three rings, its
   display face, its logo and its black button. Everything after it is plain, the way an
   iPhone's own apps are plain: the system's font, flat colours, one thing to do per screen.
   No gradients anywhere (the one sweep of light on the button is the website's own). */
@font-face { font-family: lemon; font-weight: 700; font-display: swap; src: url(/assets/fonts/lemon-700.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format("woff2"); }

:root {
  --brand: #3430e9; --hero: #2624df; --ring-1: #2f2ddf; --ring-2: #3331df; --ring-3: #3938df; --lime: #d3feb6;
  --bg: #fff; --fill: #f2f2f7; --fill-2: #e9e9eb; --line: #d9d9de; --text: #000; --soft: #8a8a8e; --tint: #3430e9;
  --danger: #ff3b30; --ok: #34c759;
  --display: lemon, "Bebas Neue", "Arial Narrow", sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, system-ui, "Segoe UI", Roboto, sans-serif;
  --site: Inter, -apple-system, system-ui, sans-serif;
  --ease: cubic-bezier(.32, .72, 0, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --vh: 100dvh;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000; --fill: #1c1c1e; --fill-2: #26262a; --line: #38383a; --text: #fff; --soft: #98989f; --tint: #7d7aff; }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body { position: fixed; inset: 0; font-family: var(--ui); font-size: 17px; color: var(--text); background: var(--hero); -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
button, input, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; touch-action: manipulation; }
[hidden] { display: none !important; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

#stage { height: var(--vh); display: grid; place-items: center; background: var(--hero); }
#app { position: relative; width: 100%; height: var(--vh); max-width: 480px; overflow: hidden; background: var(--bg); }
@media (min-width: 560px) and (min-height: 700px) { #app { height: min(900px, var(--vh) - 48px); border-radius: 40px; } }

.view { position: absolute; inset: 0; display: none; flex-direction: column; }
#app[data-view="door"] .door, #app[data-view="lock"] .lock, #app[data-view="home"] .home { display: flex; }
.boot { position: absolute; inset: 0; z-index: 50; display: grid; place-items: center; background: var(--hero); transition: opacity .3s, visibility .3s; }
.boot img { border-radius: 16px; }
#app:not([data-view="boot"]) .boot { opacity: 0; visibility: hidden; }

/* ------------------------------------------------ milo.ng's own pieces */
.rings { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.rings i { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 9999px; }
.rings i:nth-child(1) { top: -376px; width: 1346px; height: 1346px; background: var(--ring-1); }
.rings i:nth-child(2) { top: -233.500px; width: 1061px; height: 1061px; background: var(--ring-2); }
.rings i:nth-child(3) { top: -37px; width: 668px; height: 668px; background: var(--ring-3); }
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo img { display: block; }
.logo_mark { border-radius: 7px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 100px; font-family: var(--site); font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn--chat { background: #1a1a1a; color: #fff; }
.btn--chat:active { background: #000; }
.wa_ico { position: relative; z-index: 1; flex: none; width: 24px; height: 24px; fill: #25d366; stroke: none; }
.nav_cta { gap: 9px; height: 46px; padding-inline: 16px 20px; font-size: 15.500px; }
.hero_btn { gap: 12px; height: 64px; padding-inline: 26px 34px; font-size: 20px; box-shadow: 0 18px 40px -18px rgba(5, 3, 70, .9); }
.hero_btn .wa_ico { width: 30px; height: 30px; }
.shine { position: relative; isolation: isolate; overflow: hidden; }
.shine > span { position: relative; z-index: 1; }
.shine::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(104deg, transparent 40%, rgba(255, 255, 255, .1) 45%, rgba(255, 255, 255, .38) 50%, rgba(255, 255, 255, .1) 55%, transparent 60%) no-repeat 200% 0 / 200% 100%; animation: shine-sweep 4.600s cubic-bezier(.42, 0, .3, 1) 1.200s infinite; }
@keyframes shine-sweep { 0% { background-position: 200% 0; } 42%, 100% { background-position: -100% 0; } }
.glint { position: absolute; left: var(--x); top: var(--y); z-index: 2; width: calc(10px * var(--s, 1)); aspect-ratio: 1; pointer-events: none; opacity: 0; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.7 6.600 4.700 10.600 11.300 11.300C16.700 12 12.700 16 12 22.600 11.300 16 7.300 12 .7 11.300 7.300 10.600 11.300 6.600 12 0z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.7 6.600 4.700 10.600 11.300 11.300C16.700 12 12.700 16 12 22.600 11.300 16 7.300 12 .7 11.300 7.300 10.600 11.300 6.600 12 0z'/%3E%3C/svg%3E") no-repeat center / contain; animation: twinkle 3.200s ease-in-out var(--d, 0s) infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.2) rotate(-40deg); } 18% { opacity: 1; transform: scale(1) rotate(0deg); } 38% { opacity: .45; transform: scale(.62) rotate(30deg); } 58% { opacity: .95; transform: scale(.92) rotate(60deg); } 80% { opacity: .3; transform: scale(.5) rotate(90deg); } }

/* --------------------------------------------------------------- the door */
.door { background: var(--hero); color: #fff; font-family: var(--site); }
.door_nav { position: relative; z-index: 2; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(var(--safe-t) + 14px) 18px 0; }
.door_body { position: relative; z-index: 2; flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 16px calc(var(--safe-b) + 15vh); }
.hero_title { margin: 0; width: 100%; display: flex; flex-direction: column; align-items: center; font-family: var(--display); font-weight: 700; text-transform: uppercase; text-align: center; color: #fff; line-height: .8; font-size: min(100px, 25.200vw, 13vh); }
.hero_title span { display: block; }
.lime { color: var(--lime); }
.hero_sub { margin: 22px 0 0; max-width: 340px; color: #fff; text-align: center; font-size: 18px; line-height: 1.36; letter-spacing: -.02em; font-weight: 600; }
.hero_btn { margin-top: 24px; }
.door_in { margin-top: 16px; padding: 10px 14px; color: rgba(255, 255, 255, .86); font-size: 15px; font-weight: 600; }
.art { position: absolute; z-index: 1; pointer-events: none; }
.art--coin1 { width: 78px; right: -18px; top: 15%; } .art--coin2 { width: 74px; left: -20px; bottom: 23%; }
.art--note1 { width: 52px; left: 8%; bottom: calc(var(--safe-b) + 4%); } .art--note2 { width: 58px; right: 6%; bottom: calc(var(--safe-b) + 3%); }

/* ---------------------------------------------------------------- locked */
.lock { background: var(--hero); color: #fff; }
.lock_body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: calc(var(--safe-t) + 20px) 24px calc(var(--safe-b) + 16px); }
.lock_body img { border-radius: 14px; margin-bottom: 8px; }
.lock_hi { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.lock_say { margin: 0; font-size: 15px; opacity: .8; text-align: center; min-height: 20px; }

/* ------------------------------------------------------------ the PIN pad */
.dots { display: flex; gap: 22px; margin: 18px 0 6px; justify-content: center; }
.dots i { width: 13px; height: 13px; border-radius: 50%; border: 1.500px solid currentColor; transition: background .08s; }
.dots i.on { background: currentColor; }
.dots.bad { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
.pad { display: grid; grid-template-columns: repeat(3, 76px); gap: 14px 26px; justify-content: center; margin: 22px auto 0; }
.pad button { width: 76px; height: 76px; border-radius: 50%; font-size: 32px; font-weight: 400; background: var(--fill-2); display: grid; place-items: center; transition: background .12s; }
.pad button:active { background: var(--line); }
.pad button.ghost { background: none; }
.pad button svg { width: 28px; height: 28px; stroke-width: 1.700; }
.lock .pad button { background: rgba(255, 255, 255, .16); color: #fff; }
.lock .pad button:active { background: rgba(255, 255, 255, .34); }
.lock .pad button.ghost { background: none; }
@media (max-height: 700px) { .pad { grid-template-columns: repeat(3, 66px); gap: 10px 24px; margin-top: 12px; } .pad button { width: 66px; height: 66px; font-size: 28px; } }

/* ------------------------------------------------------------------ home */
.home { background: var(--bg); }
.top { flex: none; padding: calc(var(--safe-t) + 10px) 16px 16px; color: #fff; background: var(--hero); z-index: 3; }
.top_row { display: flex; align-items: center; gap: 10px; }
.top_hi { flex: 1; text-align: right; font-size: 15px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; color: #fff; }
.icon:active { background: rgba(255, 255, 255, .3); }
.icon svg { width: 19px; height: 19px; }
.top_money { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 14px; }
.label { display: block; font-size: 13px; opacity: .75; margin-bottom: 1px; }
.balance { font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; text-align: left; }
.acct { display: flex; flex-direction: column; align-items: flex-end; padding: 7px 12px; border-radius: 12px; background: rgba(255, 255, 255, .16); color: #fff; }
.acct:active { background: rgba(255, 255, 255, .3); }
.acct span { font-weight: 600; font-size: 15px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.acct small { font-size: 11.500px; opacity: .75; }

.thread { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 10px 14px 6px; display: flex; flex-direction: column; -webkit-overflow-scrolling: touch; }
#msgs { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.older { align-self: center; margin: 2px 0 10px; padding: 6px 12px; color: var(--tint); font-size: 14px; }
.day { align-self: center; margin: 12px 0 6px; color: var(--soft); font-size: 11.500px; font-weight: 500; }
.msg { position: relative; max-width: 78%; padding: 7px 13px 8px; border-radius: 18px; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; overflow-wrap: anywhere; white-space: pre-wrap; animation: pop .3s var(--ease) both; }
.msg.old { animation: none; }
.msg--in { align-self: flex-start; background: var(--fill-2); color: var(--text); }
.msg--out { align-self: flex-end; background: var(--brand); color: #fff; }
.msg--in + .msg--out, .msg--out + .msg--in, .note + .msg, .msg + .note, .pic + .msg--out, .acts + .msg { margin-top: 8px; }
.msg.tail::before, .msg.tail::after { content: ""; position: absolute; bottom: 0; height: 18px; }
.msg--out.tail::before { right: -6px; width: 18px; background: var(--brand); border-bottom-left-radius: 15px 13px; }
.msg--out.tail::after { right: -24px; width: 24px; background: var(--bg); border-bottom-left-radius: 9px; }
.msg--in.tail::before { left: -6px; width: 18px; background: var(--fill-2); border-bottom-right-radius: 15px 13px; }
.msg--in.tail::after { left: -24px; width: 24px; background: var(--bg); border-bottom-right-radius: 9px; }
.msg.wait { opacity: .6; }
.msg b { font-weight: 600; } .msg code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.msg a { color: inherit; text-decoration: underline; }
.msg--in a { color: var(--tint); }
.msg .head { display: block; font-weight: 600; margin-bottom: 3px; }
.msg .foot { display: block; margin-top: 5px; font-size: 13px; color: var(--soft); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.stamp { align-self: flex-end; margin: 2px 4px 0; font-size: 11.500px; color: var(--soft); }
.note { align-self: center; margin: 8px 0; color: var(--soft); font-size: 12px; text-align: center; }
.msg--copy { display: flex; align-items: baseline; gap: 10px; font-weight: 600; font-size: 22px; letter-spacing: .04em; font-variant-numeric: tabular-nums; cursor: pointer; }
.msg--copy small { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--tint); }
.acts { align-self: flex-start; display: flex; flex-direction: column; gap: 6px; margin: 6px 0 4px; width: min(78%, 300px); }
.acts button { min-height: 44px; padding: 9px 14px; border-radius: 14px; background: var(--fill); color: var(--tint); font-weight: 600; font-size: 16px; text-align: center; }
.acts button:active { background: var(--fill-2); }
.acts button.main { background: var(--text); color: var(--bg); min-height: 50px; font-size: 17px; }
.acts button small { display: block; font-weight: 400; font-size: 13px; color: var(--soft); }
.acts.spent button { opacity: .38; pointer-events: none; }
.pic { align-self: flex-start; max-width: 70%; border-radius: 18px; overflow: hidden; background: var(--fill); margin: 4px 0; cursor: zoom-in; line-height: 0; }
.pic--out { align-self: flex-end; }
.pic img { display: block; width: 100%; height: auto; min-height: 80px; }
.doc { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.doc i { width: 34px; height: 34px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 700; }
.typing { align-self: flex-start; display: inline-flex; gap: 5px; margin-top: 8px; padding: 13px 14px; border-radius: 18px; background: var(--fill-2); }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--soft); animation: dot 1.200s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }

.quick { flex: none; display: flex; gap: 8px; padding: 6px 14px 8px; overflow-x: auto; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.quick button { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 100px; background: var(--fill); font-size: 15px; white-space: nowrap; }
.quick button:active { background: var(--fill-2); }
.quick button svg { width: 16px; height: 16px; color: var(--tint); }

.bar { flex: none; display: flex; align-items: flex-end; gap: 8px; padding: 4px 12px calc(var(--safe-b) + 8px); background: var(--bg); }
.kb .bar { padding-bottom: 8px; }
.bar_btn { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--fill-2); display: grid; place-items: center; color: var(--soft); }
.bar_btn svg { width: 20px; height: 20px; stroke-width: 2.400; }
.field { flex: 1; min-width: 0; display: flex; align-items: flex-end; border: 1px solid var(--line); border-radius: 19px; background: var(--bg); padding-right: 3px; }
.field textarea { flex: 1; min-width: 0; border: 0; outline: 0; resize: none; background: none; padding: 7px 4px 7px 13px; font-size: 17px; line-height: 1.3; max-height: 116px; }
.field textarea::placeholder { color: var(--soft); }
.field_cam, .bar_send { flex: none; width: 30px; height: 30px; margin: 3px 1px; border-radius: 50%; display: grid; place-items: center; color: var(--soft); }
.field_cam svg, .bar_send svg { width: 21px; height: 21px; stroke-width: 1.800; }
.bar_send--go { background: var(--brand); color: #fff; }
.bar_send--go svg { width: 17px; height: 17px; stroke-width: 2.800; }
.rec { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 10px 14px calc(var(--safe-b) + 10px); background: var(--bg); border-top: .500px solid var(--line); }
.rec_x { width: 36px; height: 36px; border-radius: 50%; background: var(--fill-2); display: grid; place-items: center; color: var(--soft); }
.rec_x svg { width: 16px; height: 16px; }
.rec_dot { width: 10px; height: 10px; border-radius: 50%; background: var(--danger); animation: dot 1s ease-in-out infinite; }
.rec b { font-variant-numeric: tabular-nums; font-weight: 500; } .rec_say { flex: 1; color: var(--soft); font-size: 15px; }
.rec .bar_send--go { width: 36px; height: 36px; margin: 0; }

/* ------------------------------------------------- sheets and full pages */
.scrim { position: absolute; inset: 0; z-index: 10; background: rgba(0, 0, 0, .4); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(100%); } }
@keyframes push { from { transform: translateX(100%); } }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 11; max-height: 92%; overflow-y: auto; background: var(--bg); border-radius: 14px 14px 0 0; padding: 8px 20px calc(var(--safe-b) + 20px); animation: up .45s var(--ease); -webkit-overflow-scrolling: touch; }
.sheet.down { transform: translateY(105%); transition: transform .26s ease-in; }
.sheet_grab { width: 36px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
.page_back { display: none; }
/* a page: the whole screen, one thing to do on it, pushed in from the right as iOS does */
.sheet.page { top: 0; max-height: none; border-radius: 0; padding: calc(var(--safe-t) + 6px) 20px calc(var(--safe-b) + 20px); animation: push .42s var(--ease); }
.sheet.page.down { transform: translateX(105%); }
.sheet.page .sheet_grab { display: none; }
.sheet.page .page_back { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 0 4px -12px; color: var(--tint); }
.page_back svg { width: 26px; height: 26px; stroke-width: 2.400; }
.sheet h3 { margin: 0 0 6px; font-size: 28px; line-height: 1.14; font-weight: 700; letter-spacing: -.02em; }
.sheet:not(.page) h3 { font-size: 22px; }
.sheet p { margin: 0 0 20px; color: var(--soft); font-size: 16px; line-height: 1.38; }
.sheet p b { color: var(--text); font-weight: 600; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.err { color: var(--danger) !important; font-size: 14.500px !important; min-height: 20px; margin: 10px 0 0 !important; text-align: center; }
/* inputs, grouped the way Settings groups them */
.group { border-radius: 12px; background: var(--fill); overflow: hidden; }
.group label { display: flex; align-items: center; min-height: 50px; padding: 0 16px; border-bottom: .500px solid var(--line); }
.group label:last-child { border-bottom: 0; }
.group label span { flex: none; width: 92px; font-size: 17px; }
.group input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; background: none; font-size: 17px; text-align: left; }
.group input::placeholder { color: var(--soft); opacity: .7; }
.foot { margin: 8px 16px 0 !important; font-size: 13px !important; line-height: 1.35 !important; }
.do { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 52px; margin-top: 18px; border-radius: 14px; background: var(--text); color: var(--bg); font-size: 17px; font-weight: 600; text-decoration: none; }
.do:active { opacity: .8; }
.do[disabled] { opacity: .4; pointer-events: none; }
.do--plain { background: none; color: var(--tint); font-weight: 400; margin-top: 6px; }
.do--fill { background: var(--fill); color: var(--tint); margin-top: 10px; }
.do .wa_ico { width: 22px; height: 22px; }
.code { font-size: 44px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; margin: 6px 0 2px; color: var(--text); }
.waiting { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); font-size: 15px; margin: 8px 0 0; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--soft); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.amount { display: block; font-size: 40px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.steps { list-style: none; margin: 0 0 6px; padding: 0; border-radius: 12px; background: var(--fill); }
.steps li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; font-size: 16px; border-bottom: .500px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 14px; }
.steps li svg { width: 19px; height: 19px; vertical-align: -4px; color: var(--tint); }
.steps b { font-weight: 600; }
.point { position: absolute; left: 50%; bottom: calc(var(--safe-b) + 4px); z-index: 12; width: 34px; height: 34px; margin-left: -17px; color: var(--tint); animation: nudge 1.100s ease-in-out infinite; pointer-events: none; }
@keyframes nudge { 50% { transform: translateY(8px); } }
.appicon { width: 76px; height: 76px; border-radius: 17px; margin: 6px 0 14px; }

/* the account card: flat, the website's indigo, your number */
.card { border-radius: 16px; padding: 18px; color: #fff; background: var(--hero); margin: 2px 0 14px; }
.card_top { display: flex; align-items: center; justify-content: space-between; }
.card_chip { font-size: 12px; opacity: .8; }
.card_no { display: block; width: 100%; margin: 26px 0 0; font-size: 30px; font-weight: 600; letter-spacing: .05em; color: #fff; font-variant-numeric: tabular-nums; text-align: left; }
.card_row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 16px; }
.card_row small { display: block; font-size: 12px; opacity: .7; margin-bottom: 1px; }
.card_row b { font-size: 15px; font-weight: 600; }
.pair { display: flex; gap: 10px; margin: 0 0 18px; }
.pair .do { margin: 0; flex: 1; height: 46px; font-size: 16px; }
.pair .do svg { width: 18px; height: 18px; }
.rows { border-radius: 12px; background: var(--fill); overflow: hidden; margin-bottom: 16px; }
.rows button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 16px; font-size: 17px; text-align: left; border-bottom: .500px solid var(--line); }
.rows button:last-child { border-bottom: 0; }
.rows button:active { background: var(--fill-2); }
.rows button svg { width: 21px; height: 21px; color: var(--tint); flex: none; stroke-width: 1.800; }
.rows button span { flex: 1; } .rows button em { font-style: normal; font-size: 16px; color: var(--soft); }
.rows button.red, .rows button.red svg { color: var(--danger); }
.rows button.red span { text-align: center; }

.viewer { position: absolute; inset: 0; z-index: 30; background: #000; display: grid; place-items: center; animation: fade .2s; }
.viewer img { max-width: 100%; max-height: 100%; }
.viewer button { position: absolute; top: calc(var(--safe-t) + 12px); right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; display: grid; place-items: center; }
.viewer button svg { width: 18px; height: 18px; }
.toast { position: absolute; left: 50%; top: calc(var(--safe-t) + 12px); z-index: 40; transform: translateX(-50%); padding: 10px 16px; border-radius: 100px; background: rgba(30, 30, 32, .92); color: #fff; font-size: 15px; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; animation: fade .25s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
