:root {
  --bg: #000;
  --card: #0b0b0b;
  --card2: #111;
  --line: #262626;
  --line2: #333;
  --text: #f2f2f2;
  --muted: #8a8a8a;
  --muted2: #5e5e5e;
  --gold: #f0c24b;
  --gold-hi: #ffe28a;
  --gold-lo: #c48e1f;
  --gold-grad: linear-gradient(180deg, #f9dc7a 0%, #ecbd45 50%, #d7a22f 100%);
  --green: #3ddc84;
  --red: #ff5c5c;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --head: 'Oswald', 'Arial Narrow', sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--mono); }
body { min-height: 100vh; overflow-x: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
#app { max-width: 480px; margin: 0 auto; position: relative; min-height: 100vh; }
#view { padding: 0 18px 110px; }
.hidden { display: none !important; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 10px 16px 8px;
  background: linear-gradient(180deg, rgba(0,0,0,.92) 60%, rgba(0,0,0,0));
}
.topbar.transparent { position: absolute; left: 0; right: 0; background: none; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 14px; border-radius: 16px;
  background: #1c1c1c; border: 1px solid #2c2c2c;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: #eee;
}
.pill.back { justify-self: start; padding-left: 10px; }
.pill.back svg { width: 15px; height: 15px; }
.pill.me { padding: 0 12px 0 3px; gap: 7px; font-weight: 700; }
.pill.me .ava { width: 26px; height: 26px; }

/* ---------- titles ---------- */
.title {
  margin: 22px 0 0; font-family: var(--head); font-weight: 700; font-size: 44px; line-height: 1;
  letter-spacing: 1px; text-transform: uppercase;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(236, 181, 58, .45));
}
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sub { margin: 10px 0 22px; color: var(--muted); font-size: 12.5px; letter-spacing: .3px; }
.h2 { font-family: var(--head); text-transform: uppercase; letter-spacing: 2px; font-size: 15px; color: var(--muted); margin: 26px 2px 12px; font-weight: 500; }
.gold { color: var(--gold); }
.gold-text {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(236, 181, 58, .35));
}

/* ---------- cards / inputs ---------- */
.card {
  background: linear-gradient(180deg, #101010 0%, #080808 100%);
  border: 1px solid var(--line); border-radius: 20px; padding: 18px;
}
.card + .card, .list > * + * { margin-top: 12px; }
.search {
  display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 18px;
  border-radius: 25px; border: 1px solid var(--line); background: #0a0a0a;
}
.search svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 15px; text-align: center; padding-right: 30px; }
.search input::placeholder { color: #6f6f6f; }
.search input:focus { text-align: left; padding-right: 0; }

.seg {
  display: flex; gap: 4px; padding: 4px; margin-top: 16px;
  border-radius: 26px; border: 1px solid var(--line); background: #0a0a0a;
}
.seg button {
  flex: 1; height: 42px; border-radius: 21px;
  font-family: var(--head); font-size: 13px; font-weight: 500; letter-spacing: 2.2px; text-transform: uppercase; color: #8a8a8a;
  transition: .2s;
}
.seg button.on { background: var(--gold-grad); color: #2a1f05; font-weight: 600; box-shadow: 0 4px 18px rgba(236, 181, 58, .25); }

.field { margin-top: 14px; }
.field label { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin: 0 4px 8px; }
.input, .select {
  width: 100%; min-height: 52px; padding: 14px 18px; border-radius: 18px;
  border: 1px solid var(--line); background: #0a0a0a; outline: 0; font-size: 15px;
  transition: border-color .2s;
}
.input:focus { border-color: #5a4614; }
textarea.input { min-height: 100px; resize: vertical; line-height: 1.45; }
.hint { color: var(--muted); font-size: 12px; margin: 8px 4px 0; line-height: 1.5; }

.dropdown { position: relative; margin-top: 16px; }
.dropdown select {
  appearance: none; -webkit-appearance: none; width: 100%; height: 54px; padding: 0 48px 0 18px;
  border-radius: 18px; border: 1px solid var(--line); background: #0a0a0a; font-size: 15px; outline: 0;
}
.dropdown svg { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }

.toggle-row {
  display: flex; align-items: center; justify-content: space-between; margin-top: 14px;
  height: 54px; padding: 0 16px 0 18px; border-radius: 18px; border: 1px solid var(--line); background: #0a0a0a; font-size: 15px;
}
.switch { position: relative; width: 44px; height: 26px; border-radius: 13px; background: #2a2a2a; transition: .2s; flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #8a8a8a; transition: .2s; }
.switch.on { background: #5a4614; }
.switch.on::after { left: 21px; background: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  height: 54px; border-radius: 18px; margin-top: 14px;
  font-family: var(--head); text-transform: uppercase; letter-spacing: 2px; font-size: 15px; font-weight: 600;
}
.btn.primary { background: var(--gold-grad); color: #261b03; box-shadow: 0 6px 24px rgba(236, 181, 58, .25); }
.btn.ghost { border: 1px solid var(--line2); background: #0d0d0d; color: #ddd; }
.btn.danger { border: 1px solid #4a1d1d; background: #140808; color: #ff8a8a; }
.btn:disabled { opacity: .5; }
.btn svg { width: 18px; height: 18px; }
.row-btns { display: flex; gap: 10px; }
.row-btns .btn { flex: 1; }

/* ---------- categories ---------- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.cat {
  position: relative; height: 138px; padding: 16px; border-radius: 20px; text-align: left;
  border: 1px solid var(--line); background: linear-gradient(160deg, #141414 0%, #070707 100%);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.cat::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120px 80px at 0% 0%, rgba(240, 194, 75, .06), transparent); }
.cat .ic { width: 44px; height: 44px; }
.cat span { font-size: 14.5px; font-weight: 500; line-height: 1.3; color: #f0f0f0; }
.ic {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: #15110a; border: 1px solid #3d3012; color: var(--gold);
}
.ic svg { width: 22px; height: 22px; }

/* ---------- empty ---------- */
.empty { text-align: center; padding: 42px 22px 38px; margin-top: 16px; }
.empty svg { width: 40px; height: 40px; color: #6f6f6f; }
.empty b { display: block; font-family: var(--sans); font-size: 16px; margin: 18px 0 10px; }
.empty p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* ---------- nav ---------- */
.nav {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(10px + env(safe-area-inset-bottom));
  width: calc(100% - 28px); max-width: 452px; height: 58px; z-index: 30;
  display: flex; justify-content: space-around; align-items: center;
  border-radius: 29px; border: 1px solid var(--line); background: rgba(12, 12, 12, .94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav button { width: 58px; height: 40px; display: grid; place-items: center; border-radius: 20px; color: #8d8d8d; border: 1px solid transparent; position: relative; transition: .2s; }
.nav button svg { width: 21px; height: 21px; }
.nav button.on { color: var(--gold); border-color: #6b5316; background: radial-gradient(circle at 50% 50%, #2b2108, #171206); box-shadow: 0 0 16px rgba(236, 181, 58, .18); }
.nav .dot { position: absolute; top: 6px; right: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }

/* ---------- avatar ---------- */
.ava { border-radius: 50%; object-fit: cover; background: #222; flex: none; display: grid; place-items: center; overflow: hidden; font-family: var(--head); color: var(--gold); }

/* ---------- profile hero ---------- */
.hero { position: relative; margin: 0 -18px; padding: 58px 18px 6px; text-align: center; overflow: hidden; }
.hero .rays { position: absolute; inset: 0; pointer-events: none; }
.hero .glow { position: absolute; left: 50%; top: 40px; width: 320px; height: 260px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(240, 194, 75, .13), transparent); pointer-events: none; }
.spark { position: absolute; border-radius: 50%; background: var(--gold); box-shadow: 0 0 6px var(--gold); animation: tw 3s infinite ease-in-out; }
@keyframes tw { 0%, 100% { opacity: .25 } 50% { opacity: 1 } }
.hero .big-ava { position: relative; width: 150px; height: 150px; margin: 0 auto; border-radius: 50%; padding: 3px; background: linear-gradient(160deg, #ffe28a, #a87412 60%, #f0c24b); box-shadow: 0 0 30px rgba(236, 181, 58, .25); }
.hero .big-ava .ava { width: 144px; height: 144px; font-size: 56px; }
.hero h1 { position: relative; margin: 22px 0 0; font-family: var(--head); font-weight: 700; font-size: 50px; line-height: 1; text-transform: uppercase; letter-spacing: 1.5px; }
.hero .uname { position: relative; color: #777; font-size: 13px; letter-spacing: 1.5px; margin-top: 12px; }
.idrow { display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; margin: 22px 0 18px; text-align: center; }
.idrow .sep { height: 46px; background: var(--line2); }
.lbl { font-size: 10.5px; letter-spacing: 2.5px; color: #8a8a8a; text-transform: uppercase; }
.idrow .val { font-size: 17px; margin-top: 10px; font-weight: 500; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-cards .card { text-align: center; padding: 16px 10px 18px; min-height: 140px; }
.money { font-family: var(--head); font-weight: 700; font-size: 46px; line-height: 1; margin-top: 18px; }
.stars { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; width: 110px; margin: 16px auto 0; }
.stars svg { width: 26px; height: 26px; color: #3a3a3a; }
.stars svg.on { color: var(--gold); filter: drop-shadow(0 0 6px rgba(240, 194, 75, .5)); }
.rating-num { font-size: 12px; color: var(--muted); margin-top: 8px; }

.cta {
  display: flex; align-items: center; gap: 14px; width: 100%; height: 64px; margin-top: 14px; padding: 0 18px 0 14px;
  border-radius: 18px; background: var(--gold-grad); color: #241a03; box-shadow: 0 8px 28px rgba(236, 181, 58, .28);
  font-family: var(--head); font-size: 19px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500;
}
.cta .ic { background: rgba(0, 0, 0, .12); border-color: rgba(0, 0, 0, .18); color: #241a03; width: 40px; height: 40px; }
.cta .arrow { margin-left: auto; width: 20px; height: 20px; }

.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; padding: 18px 10px; }
.quick button { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: 2px; color: #9a9a9a; text-transform: uppercase; }
.quick button:first-child { color: var(--gold); }
.quick .ic { width: 58px; height: 58px; border-radius: 16px; background: #0f0f0f; border-color: #2a2a2a; color: #9a9a9a; }
.quick button:first-child .ic { border-color: #6b5316; background: radial-gradient(circle, #2b2108, #141005); color: var(--gold); }
.quick .ic svg { width: 24px; height: 24px; }

.stats2 { display: grid; grid-template-columns: 1fr 1fr; text-align: center; margin: 26px 0 8px; }
.stats2 .val { font-size: 26px; margin-top: 10px; }

.utabs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border-bottom: 1px solid var(--line); }
.utabs button { padding: 14px 0; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #8a8a8a; position: relative; }
.utabs button.on { color: var(--gold); }
.utabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

/* ---------- list items ---------- */
.item { display: flex; align-items: center; gap: 14px; padding: 16px; }
.item .grow { flex: 1; min-width: 0; }
.item .t { font-family: var(--sans); font-weight: 700; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .s { color: var(--muted); font-size: 12.5px; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .price { font-family: var(--head); font-size: 20px; font-weight: 600; white-space: nowrap; }
.arrow-btn { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line2); background: #121212; display: grid; place-items: center; color: var(--gold); flex: none; }
.arrow-btn svg { width: 16px; height: 16px; }

.role-tag { display: flex; align-items: center; gap: 7px; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--green); }
.role-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.support .ava { width: 58px; height: 58px; }
.support .t { font-size: 18px; margin-top: 6px; }

/* ---------- chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px; padding: 0 18px 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 40px; padding: 0 18px; border-radius: 20px; border: 1px solid var(--line); background: #0a0a0a; font-family: var(--head); font-size: 13px; letter-spacing: 1.8px; text-transform: uppercase; color: #8a8a8a; }
.chip.on { background: var(--gold-grad); color: #261b03; border-color: transparent; font-weight: 600; }
.sq-btn { width: 52px; height: 52px; border-radius: 16px; border: 1px solid var(--line2); background: #0d0d0d; display: grid; place-items: center; color: #8a8a8a; flex: none; margin-top: 22px; }
.sq-btn svg { width: 22px; height: 22px; }

/* ---------- notifications ---------- */
.notif { display: flex; gap: 14px; padding: 16px; }
.notif.unread { border-color: #4a3a12; }
.notif .t { font-family: var(--sans); font-weight: 700; font-size: 14.5px; }
.notif .s { color: #bbb; font-size: 12.5px; margin-top: 6px; line-height: 1.5; }
.notif .time { color: var(--muted2); font-size: 11px; margin-top: 8px; }

/* ---------- deposit ---------- */
.balance-card { padding: 22px 22px 0; }
.balance-card .money { font-size: 50px; text-align: left; margin-top: 12px; }
.balance-card .toggle { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; margin-top: 22px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--gold); font-size: 15px; font-weight: 500; }
.balance-card .toggle svg { width: 16px; height: 16px; transition: .2s; }
.balance-card .toggle.open svg { transform: rotate(180deg); }
.details { padding: 0 0 18px; }
.drow { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13.5px; color: #bbb; }
.drow b { color: var(--text); font-weight: 500; }
.action { display: flex; align-items: center; gap: 16px; padding: 20px 18px; }
.action .ic { width: 46px; height: 46px; border-radius: 50%; background: none; border: 0; color: #9a9a9a; }
.action .ic svg { width: 30px; height: 30px; }
.action .t { font-family: var(--mono); font-size: 17px; font-weight: 500; }
.action .s { font-size: 12.5px; margin-top: 6px; color: var(--muted); }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.method { padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: #0a0a0a; text-align: left; }
.method.on { border-color: #8a6a1a; background: radial-gradient(160px 90px at 0 0, rgba(240, 194, 75, .12), #0a0a0a); }
.method:disabled { opacity: .35; }
.method b { display: block; font-family: var(--sans); font-size: 15px; margin-top: 12px; }
.method small { color: var(--muted); font-size: 11.5px; }
.method .ic { width: 38px; height: 38px; }
.amounts { display: flex; gap: 8px; margin-top: 10px; }
.amounts button { flex: 1; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: #0a0a0a; font-size: 13px; color: #bbb; }
.copy { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: #0a0a0a; word-break: break-all; font-size: 13.5px; text-align: left; width: 100%; }
.copy svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-left: auto; }
.warn { border: 1px solid #4a3a12; background: #120e05; color: #e8c771; border-radius: 16px; padding: 14px 16px; font-size: 12.5px; line-height: 1.55; margin-top: 14px; }
.status-line { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 18px; color: var(--muted); font-size: 13px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #333; border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }
.loader { display: grid; place-items: center; padding: 80px 0; }
.loader .spinner { width: 30px; height: 30px; }

/* ---------- deals ---------- */
.deal-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.badge { padding: 5px 10px; border-radius: 10px; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; border: 1px solid var(--line2); color: #bbb; white-space: nowrap; }
.badge.pending, .badge.accepted { color: #e8c771; border-color: #4a3a12; }
.badge.paid, .badge.delivered { color: #6fb8ff; border-color: #1c3a5a; }
.badge.completed { color: var(--green); border-color: #1d4a30; }
.badge.cancelled { color: #888; }
.badge.dispute { color: var(--red); border-color: #5a1d1d; }
.deal-card .t { font-family: var(--sans); font-weight: 700; font-size: 16px; margin-top: 12px; }
.deal-card .bottom { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 12px; }
.deal-card .who { color: var(--muted); font-size: 12.5px; }
.deal-card .price { font-family: var(--head); font-size: 22px; font-weight: 600; }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #1a1a1a; font-size: 13.5px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv a, .kv b { color: var(--text); font-weight: 500; text-decoration: none; text-align: right; }
.steps { display: flex; justify-content: space-between; margin: 20px 4px 4px; position: relative; }
.steps::before { content: ''; position: absolute; left: 10px; right: 10px; top: 9px; height: 2px; background: #222; }
.steps .st { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 8.5px; letter-spacing: .3px; color: #666; text-transform: uppercase; width: 58px; text-align: center; }
.steps .st i { width: 20px; height: 20px; border-radius: 50%; background: #1a1a1a; border: 2px solid #333; }
.steps .st.done i { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 10px rgba(240, 194, 75, .6); }
.steps .st.done { color: var(--gold); }
.desc { color: #ccc; font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.big-amount { font-family: var(--head); font-size: 44px; font-weight: 700; margin-top: 10px; }
.rate-pick { display: flex; justify-content: center; gap: 10px; margin: 6px 0 4px; }
.rate-pick svg { width: 36px; height: 36px; color: #333; }
.rate-pick svg.on { color: var(--gold); }
.review { padding: 16px; }
.review .head { display: flex; align-items: center; gap: 10px; }
.review .stars-s { display: flex; gap: 2px; margin-left: auto; }
.review .stars-s svg { width: 14px; height: 14px; color: #333; }
.review .stars-s svg.on { color: var(--gold); }

/* ---------- toast / modal ---------- */
#toast { position: fixed; left: 50%; top: 14px; transform: translate(-50%, -120%); z-index: 100; max-width: 90%; padding: 12px 18px; border-radius: 14px; background: #1a1a1a; border: 1px solid var(--line2); font-size: 13px; transition: .3s; text-align: center; }
#toast.show { transform: translate(-50%, 0); }
#toast.err { border-color: #5a1d1d; color: #ff9b9b; }
#modal { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .7); display: none; align-items: flex-end; justify-content: center; }
#modal.show { display: flex; }
#modal .sheet { width: 100%; max-width: 480px; background: #0c0c0c; border: 1px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); animation: up .25s ease; }
@keyframes up { from { transform: translateY(100%) } }
.sheet h3 { margin: 0 0 6px; font-family: var(--head); text-transform: uppercase; letter-spacing: 1.5px; font-size: 22px; }

.fade { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px) } }

/* ---------- PIN ---------- */
#pin { position: fixed; inset: 0; z-index: 80; background: #000; display: flex; flex-direction: column; align-items: center;
  padding: 44px 22px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
#pin h2 { margin: 6px 0 0; font-family: var(--head); font-weight: 700; font-size: clamp(24px, 7.6vw, 30px); white-space: nowrap; letter-spacing: 1px; text-transform: uppercase;
  color: #fff; text-align: center; text-shadow: 0 0 16px rgba(255, 255, 255, .35); }
#pin .psub { color: #7c8a9a; font-size: 12.5px; text-align: center; margin: 12px 0 18px; line-height: 1.55; max-width: 330px; }
#pin .pnote { width: 100%; max-width: 340px; border: 1px solid #5c2b1b; background: #150a07; color: #f2a68b; border-radius: 14px;
  padding: 12px 16px; font-size: 12.5px; text-align: center; line-height: 1.55; transition: .2s; }
#pin .pnote.err { border-color: #7a1f1f; background: #1d0808; color: #ff8b8b; }
#pin .pnote.ok { border-color: #1d4a30; background: #071409; color: #7fe0a6; }
#pin .pbox { position: relative; width: 100%; max-width: 312px; height: 74px; margin: 26px 0 22px; background: #0a0a0a;
  border: 1px solid #1c1c1c; display: flex; align-items: center; justify-content: center; gap: 32px; }
#pin .pbox::before, #pin .pbox::after { content: ''; position: absolute; width: 22px; height: 22px; border: 2px solid var(--gold); }
#pin .pbox::before { top: -9px; left: -9px; border-right: 0; border-bottom: 0; }
#pin .pbox::after { bottom: -9px; right: -9px; border-left: 0; border-top: 0; }
#pin .pdot { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid #666; transition: .15s; }
#pin .pdot.on { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 10px rgba(240, 194, 75, .8); }
#pin .pkeys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 12px; width: 100%; max-width: 340px; }
#pin .pkeys button { height: 58px; border-radius: 29px; background: #0c0c0c; border: 1px solid #1e1e1e;
  font-family: var(--sans); font-size: 25px; font-weight: 400; color: #e9e9e9; transition: background .1s; }
#pin .pkeys button:active { background: #1c1c1c; }
#pin .pkeys button:disabled { opacity: .35; }
#pin .pkeys .zero { grid-column: 2; }
#pin .pkeys .del { background: none; border: 0; display: grid; place-items: center; color: #cfcfcf; }
#pin .pkeys .del svg { width: 26px; height: 26px; }
#pin .pforgot { margin-top: 20px; color: var(--gold); font-family: var(--head); letter-spacing: 2.5px; font-size: 14px; text-transform: uppercase; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-9px) } 40%, 80% { transform: translateX(9px) } }
