/* DARN Klient App — brand: yellow #FFCB05 + ink black, taken from the DARN Group logo. */
:root {
  --y: #FFCB05;
  --y-soft: #FFF4C2;
  --y-deep: #E0AE00;
  --ink: #1D1D1F;
  --ink-2: #2B2B2E;
  --bg: #F6F5F0;
  --card: #FFFFFF;
  --line: #ECEAE2;
  --muted: #77756D;
  --ok: #178A4C;
  --ok-bg: #E4F6EB;
  --bad: #C8321F;
  --bad-bg: #FDE9E5;
  --wait: #8A6400;
  --wait-bg: #FFF1CC;
  --r: 22px;
  --shadow: 0 1px 2px rgba(29, 29, 31, .04), 0 8px 24px rgba(29, 29, 31, .06);
  --tab-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--ink); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; overscroll-behavior-y: none;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }

.app { position: relative; max-width: 480px; min-height: 100%; margin: 0 auto; background: var(--bg); overflow-x: hidden; }
.splash { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; background: var(--y); }
.splash img { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.92); opacity: .75; } }

/* ---------- buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 0 24px;
  border-radius: 999px; background: var(--y); color: var(--ink); font-weight: 800; font-size: 17px; letter-spacing: -.01em;
  box-shadow: 0 10px 22px rgba(255, 203, 5, .38); transition: transform .12s ease, box-shadow .12s ease, opacity .2s;
}
.btn:active { transform: scale(.975); box-shadow: 0 4px 10px rgba(255, 203, 5, .3); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn.dark { background: var(--ink); color: #fff; box-shadow: 0 10px 22px rgba(29, 29, 31, .22); }
.btn.ghost { background: transparent; box-shadow: none; color: var(--muted); font-weight: 700; min-height: 48px; }
.btn.line { background: var(--card); box-shadow: none; border: 1.5px solid var(--line); font-weight: 700; }
.btn.small { min-height: 44px; font-size: 15px; width: auto; padding: 0 18px; }
.btn.danger { background: var(--bad-bg); color: var(--bad); box-shadow: none; }
.btn svg { width: 22px; height: 22px; }

/* ---------- onboarding ---------- */
.onb { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--card); }
.onb-art { position: relative; flex: 1 1 52%; min-height: 300px; background: var(--y); border-radius: 0 0 44px 44px; display: grid; place-items: center; overflow: hidden; padding-top: var(--safe-t); }
.onb-art::before, .onb-art::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.onb-art::before { width: 320px; height: 320px; top: -110px; right: -90px; }
.onb-art::after { width: 220px; height: 220px; bottom: -80px; left: -70px; background: rgba(29, 29, 31, .06); }
.onb-art svg { position: relative; z-index: 1; width: min(74%, 300px); height: auto; animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.onb-skip { position: absolute; z-index: 2; top: calc(14px + var(--safe-t)); right: 16px; padding: 10px 14px; font-weight: 700; font-size: 15px; color: var(--ink); opacity: .7; }
.onb-logo { position: absolute; z-index: 2; top: calc(18px + var(--safe-t)); left: 20px; width: 34px; }
.onb-body { flex: 0 0 auto; padding: 30px 28px calc(26px + var(--safe-b)); text-align: center; }
.onb-body h1 { font-size: 27px; line-height: 1.18; font-weight: 800; letter-spacing: -.025em; animation: rise .45s .05s cubic-bezier(.2, .8, .2, 1) both; }
.onb-body p { margin: 12px auto 0; max-width: 320px; color: var(--muted); font-size: 16px; animation: rise .45s .1s cubic-bezier(.2, .8, .2, 1) both; }
.dots { display: flex; justify-content: center; gap: 7px; margin: 24px 0 22px; }
.dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line); transition: all .25s; }
.dots i.on { width: 26px; background: var(--ink); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- login ---------- */
.login { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--card); }
.login-top { background: var(--y); border-radius: 0 0 44px 44px; padding: calc(46px + var(--safe-t)) 28px 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; position: relative; overflow: hidden; }
.login-top::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; top: -130px; right: -100px; background: rgba(255, 255, 255, .22); }
.login-top .mark { width: 92px; position: relative; }
.login-top .word { width: 132px; position: relative; }
.login-form { padding: 30px 26px calc(26px + var(--safe-b)); display: flex; flex-direction: column; gap: 16px; }
.login-form h1 { font-size: 26px; font-weight: 800; letter-spacing: -.025em; }
.login-form .sub { color: var(--muted); margin-top: -8px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.input-wrap { position: relative; }
.input {
  width: 100%; min-height: 56px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--bg); padding: 0 18px;
  font-size: 17px; font-weight: 600; outline: none; transition: border-color .15s, background .15s; -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #B3B0A6; font-weight: 500; }
.input:focus { border-color: var(--ink); background: #fff; }
textarea.input { padding: 14px 18px; min-height: 92px; resize: none; font-weight: 500; line-height: 1.4; }
.eye { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); }
.eye svg { width: 22px; height: 22px; }
.err { background: var(--bad-bg); color: var(--bad); border-radius: 14px; padding: 12px 14px; font-size: 14.5px; font-weight: 600; }
.hint { text-align: center; color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ---------- shell ---------- */
.view { padding: calc(18px + var(--safe-t)) 18px calc(var(--tab-h) + var(--safe-b) + 34px); min-height: 100vh; min-height: 100dvh; animation: fade .22s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.top .hello { font-size: 14px; color: var(--muted); font-weight: 600; }
.top h1 { font-size: 23px; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.top .who { min-width: 0; }
.bell { position: relative; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; }
.bell svg { width: 23px; height: 23px; }
.bell b { position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 99px; background: var(--bad); color: #fff; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; border: 2.5px solid var(--bg); }
.page-title { font-size: 27px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 4px; }
.page-sub { color: var(--muted); margin-bottom: 18px; font-size: 15px; }

.tabs {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 20; width: 100%; max-width: 480px;
  height: calc(var(--tab-h) + var(--safe-b)); padding: 0 6px var(--safe-b); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
}
.tab { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #A3A097; font-size: 11px; font-weight: 700; }
.tab svg { width: 24px; height: 24px; }
.tab.on { color: var(--ink); }
.tab.on::after { content: ""; position: absolute; top: 0; width: 26px; height: 3px; border-radius: 0 0 4px 4px; background: var(--y); }
.tab b { position: absolute; top: 9px; left: 50%; margin-left: 5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--bad); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.tab.fab span.c { width: 58px; height: 58px; margin-top: -26px; border-radius: 50%; background: var(--y); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 20px rgba(255, 203, 5, .5), 0 0 0 6px var(--bg); transition: transform .12s; }
.tab.fab:active span.c { transform: scale(.94); }
.tab.fab span.c svg { width: 28px; height: 28px; }
.tab.fab { color: var(--ink); }
.tab.fab.on::after { display: none; }

/* ---------- cards ---------- */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; }
.card + .card, .card + .btn, .btn + .card, .stats + .btn, .hero + .stats { margin-top: 14px; }
.sec { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 2px 12px; }
.sec h2 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.sec button { font-size: 14px; font-weight: 700; color: var(--muted); padding: 6px 2px; }

.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 28px; padding: 22px 22px 20px; }
.hero::before { content: ""; position: absolute; right: -58px; top: -76px; width: 180px; height: 180px; border-radius: 50%; background: var(--y); opacity: .96; }
.hero .cyl { position: absolute; right: 20px; top: 12px; width: 62px; height: auto; }
.hero .lbl { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .66); position: relative; }
.hero .num { font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -.04em; margin: 6px 0 4px; position: relative; max-width: calc(100% - 92px); }
.hero .num small { font-size: 17px; font-weight: 600; letter-spacing: 0; color: rgba(255, 255, 255, .66); margin-left: 6px; }
.hero .bar { position: relative; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .14); margin-top: 16px; overflow: hidden; }
.hero .bar i { display: block; height: 100%; border-radius: 99px; background: var(--y); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.hero .meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, .66); position: relative; }
.hero .shops { position: relative; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 8px; }
.hero .shops div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.hero .shops span { color: rgba(255, 255, 255, .78); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero .shops b { font-weight: 700; white-space: nowrap; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; text-align: left; display: block; width: 100%; }
.stat .ico { width: 38px; height: 38px; border-radius: 12px; background: var(--y-soft); display: grid; place-items: center; margin-bottom: 12px; }
.stat .ico svg { width: 20px; height: 20px; }
.stat .lbl { font-size: 13px; font-weight: 600; color: var(--muted); }
.stat .val { font-size: 25px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; margin-top: 2px; }
.stat .val small { font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.stat .note { font-size: 12.5px; color: var(--muted); margin-top: 2px; font-weight: 500; }
.stat.bad .ico { background: var(--bad-bg); color: var(--bad); }
.stat.bad .val { color: var(--bad); }
.stat.good .ico { background: var(--ok-bg); color: var(--ok); }
.stat.good .val { color: var(--ok); font-size: 21px; padding-top: 3px; }

/* ---------- lists ---------- */
.list { display: grid; gap: 10px; }
.row { display: flex; align-items: center; gap: 13px; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 14px 15px; }
.row .ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 15px; background: var(--y-soft); display: grid; place-items: center; }
.row .ico svg { width: 23px; height: 23px; }
.row .mid { flex: 1 1 auto; min-width: 0; }
.row .t { font-weight: 700; font-size: 15.5px; letter-spacing: -.01em; }
.row .s { font-size: 13px; color: var(--muted); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .end { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.row .amt { font-weight: 800; font-size: 15.5px; letter-spacing: -.01em; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 800; white-space: nowrap; background: var(--line); color: var(--muted); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.wait { background: var(--wait-bg); color: var(--wait); }
.badge.ink { background: var(--ink); color: var(--y); }
.month { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 4px 10px; }
.month h3 { font-size: 15px; font-weight: 800; }
.month span { font-size: 13px; color: var(--muted); font-weight: 600; }
.empty { text-align: center; padding: 34px 20px; color: var(--muted); }
.empty svg { width: 88px; height: auto; margin: 0 auto 14px; display: block; }
.empty b { display: block; color: var(--ink); font-size: 17px; font-weight: 800; margin-bottom: 4px; }

.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; min-height: 42px; padding: 0 16px; border-radius: 99px; background: var(--card); border: 1.5px solid var(--line); font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: all .15s; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.day { min-width: 68px; min-height: 66px; border-radius: 18px; padding: 8px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.chip.day small { font-size: 11.5px; font-weight: 700; opacity: .6; text-transform: uppercase; letter-spacing: .04em; }
.chip.day b { font-size: 19px; font-weight: 800; }
.chip.day.on small { opacity: .8; color: var(--y); }

/* ---------- chart ---------- */
.chart { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 132px; margin-top: 14px; }
.chart .col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.chart .v { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.chart .b { width: 100%; max-width: 34px; border-radius: 10px 10px 6px 6px; background: var(--line); min-height: 6px; transition: height .6s cubic-bezier(.2, .8, .2, 1); }
.chart .col.on .b { background: var(--y); }
.chart .col.on .v { color: var(--ink); }
.chart .m { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.kv .k { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.kv .big { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }

/* ---------- order ---------- */
.lab { font-size: 13.5px; font-weight: 700; color: var(--ink-2); margin: 20px 2px 10px; }
.lab:first-child { margin-top: 0; }
.qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg); border-radius: 22px; padding: 10px; }
.qty button { width: 60px; height: 60px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; transition: transform .1s; }
.qty button:active { transform: scale(.93); }
.qty button.plus { background: var(--y); }
.qty button svg { width: 26px; height: 26px; }
.qty .n { text-align: center; line-height: 1.1; }
.qty .n b { display: block; font-size: 44px; font-weight: 800; letter-spacing: -.04em; }
.qty .n span { font-size: 13px; color: var(--muted); font-weight: 600; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--bg); border-radius: 18px; padding: 5px; }
.seg button { min-height: 44px; border-radius: 14px; font-weight: 700; font-size: 14.5px; color: var(--muted); transition: all .15s; }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.order { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 16px; }
.order .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.order .t { font-weight: 800; font-size: 16.5px; letter-spacing: -.01em; }
.order .s { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.order .reply { margin-top: 12px; background: var(--y-soft); border-radius: 14px; padding: 10px 12px; font-size: 14px; font-weight: 500; }
.order .foot { margin-top: 12px; display: flex; justify-content: flex-end; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; }
.steps div { position: relative; text-align: center; font-size: 11.5px; font-weight: 700; color: #B3B0A6; padding-top: 22px; }
.steps div::before { content: ""; position: absolute; top: 4px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--line); z-index: 1; }
.steps div::after { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.steps div:first-child::after { display: none; }
.steps div.done { color: var(--ink); }
.steps div.done::before { background: var(--ink); box-shadow: 0 0 0 4px var(--y); }
.steps div.done::after { background: var(--ink); }

/* ---------- notifications ---------- */
.note-row { align-items: flex-start; }
.note-row.new { box-shadow: var(--shadow), inset 4px 0 0 var(--y); }
.note-row .t { white-space: normal; }
.note-row .s { white-space: normal; font-size: 14px; color: var(--ink-2); margin-top: 3px; }
.note-row time { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 600; }
.ico.ok { background: var(--ok-bg); color: var(--ok); }
.ico.ink { background: var(--ink); color: var(--y); }

/* ---------- profile ---------- */
.me { display: flex; align-items: center; gap: 14px; }
.me .av { width: 60px; height: 60px; border-radius: 20px; background: var(--y); display: grid; place-items: center; font-size: 23px; font-weight: 800; flex: 0 0 auto; }
.me h2 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.me p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.dl { display: grid; gap: 11px; margin-top: 4px; }
.dl div { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; }
.dl dt, .dl .k { color: var(--muted); flex: 0 0 auto; }
.dl .v { font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.card h3 { font-size: 16px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 12px; }
.menu { padding: 6px; }
.menu button, .menu .item { display: flex; align-items: center; gap: 13px; width: 100%; padding: 13px 12px; border-radius: 16px; text-align: left; font-weight: 700; font-size: 15.5px; }
.menu button:active { background: var(--bg); }
.menu .ico { width: 40px; height: 40px; border-radius: 13px; background: var(--y-soft); display: grid; place-items: center; flex: 0 0 auto; }
.menu .ico svg { width: 20px; height: 20px; }
.menu .tx { flex: 1 1 auto; min-width: 0; }
.menu .tx small { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.menu .chev { color: #C4C1B7; width: 20px; height: 20px; flex: 0 0 auto; }
.menu .red { color: var(--bad); }
.menu .red .ico { background: var(--bad-bg); }
.switch { flex: 0 0 auto; width: 50px; height: 30px; border-radius: 99px; background: var(--line); position: relative; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch.on { background: var(--ink); }
.switch.on::after { transform: translateX(20px); background: var(--y); }
.foot-note { text-align: center; color: #A3A097; font-size: 12.5px; margin-top: 22px; }

/* ---------- sheet + toast ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(29, 29, 31, .5); display: flex; align-items: flex-end; justify-content: center; animation: fadeIn .2s both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.sheet { width: 100%; max-width: 480px; background: var(--card); border-radius: 30px 30px 0 0; padding: 12px 22px calc(22px + var(--safe-b)); animation: up .28s cubic-bezier(.2, .8, .2, 1) both; max-height: 92vh; overflow-y: auto; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet .grab { width: 42px; height: 5px; border-radius: 99px; background: var(--line); margin: 0 auto 18px; }
.sheet h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.sheet p.lead { color: var(--muted); margin: 6px 0 18px; }
.sheet .stack { display: grid; gap: 12px; }
.sheet .done-art { width: 96px; height: 96px; border-radius: 50%; background: var(--y); display: grid; place-items: center; margin: 8px auto 18px; animation: pop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.sheet .done-art svg { width: 46px; height: 46px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet.center { text-align: center; }
.steps-ios { display: grid; gap: 12px; margin: 4px 0 18px; }
.steps-ios div { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 15px; }
.steps-ios b { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--y); display: grid; place-items: center; font-weight: 800; font-size: 14px; }

.toast { position: fixed; z-index: 60; top: calc(12px + var(--safe-t)); left: 50%; width: calc(100% - 24px); max-width: 456px; transform: translate(-50%, -140%); transition: transform .35s cubic-bezier(.2, .9, .2, 1); pointer-events: none; }
.toast.show { transform: translate(-50%, 0); pointer-events: auto; }
.toast .in { display: flex; gap: 12px; align-items: flex-start; background: var(--ink); color: #fff; border-radius: 20px; padding: 14px 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, .28); }
.toast .in .ico { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; background: var(--y); color: var(--ink); display: grid; place-items: center; }
.toast .in .ico svg { width: 20px; height: 20px; }
.toast b { display: block; font-size: 15px; font-weight: 800; }
.toast span { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .78); margin-top: 1px; }
.toast.plain .in { align-items: center; }

.offline { margin-bottom: 14px; background: var(--wait-bg); color: var(--wait); border-radius: 14px; padding: 10px 14px; font-size: 13.5px; font-weight: 700; }

@media (min-width: 520px) {
  body { padding: 0; }
  .app { box-shadow: 0 0 80px rgba(0, 0, 0, .5); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
