*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  color-scheme: dark;
  --bg: #080808;
  --bg2: #0f0f0f;
  --bg3: #161616;
  --line: rgba(255,255,255,.07);
  --line2: rgba(255,255,255,.12);
  --text: #f0f0f0;
  --muted: rgba(240,240,240,.5);
  --dim: rgba(240,240,240,.3);
  --c: #f5ab2d;
  --cv: #7c3aed;
  --cg: #00ffa3;
  --co: #ff6b35;
  --red: #ff6b6b;
  --r: 10px;
  --font: 'Syne', sans-serif;
  --mono: 'DM Mono', monospace;
}

html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}
button, input { font: inherit; }
a { color: inherit; }
button, a, input, label { cursor: none; }
.hidden { display: none !important; }
.muted { color: var(--muted); line-height: 1.55; }
.mono { font-family: var(--mono); }

#cursor {
  width: 12px;
  height: 12px;
  background: var(--c);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .1s ease, width .2s ease, height .2s ease, background .2s ease;
  mix-blend-mode: difference;
}
#cursor.big { width: 40px; height: 40px; }
@media (pointer: coarse) {
  #cursor { display: none; }
  body, button, a, input, label { cursor: auto; }
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
}

#scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 10000;
  background: var(--c);
  box-shadow: 0 0 10px rgba(245,171,45,.5);
  transition: width .1s linear;
}

.wrap {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 16px 0;
  background: rgba(8,8,8,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo img { width: 36px; height: 36px; border-radius: 8px; }
.logo-name { font-size: 16px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.logo-sub { margin-top: 2px; color: var(--muted); font-family: var(--mono); font-size: 11px; }
nav { display: flex; align-items: center; gap: 4px; }
nav > a {
  padding: 7px 14px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: color .2s, background .2s;
}
nav > a:hover { color: var(--text); background: var(--bg3); }
.nav-support {
  color: var(--co) !important;
  border: 1px solid rgba(255,107,53,.2);
  background: rgba(255,107,53,.05) !important;
}
.nav-support:hover { background: rgba(255,107,53,.12) !important; }
.account-chip {
  margin-left: 6px;
  padding: 7px 11px;
  border: 1px solid var(--line2);
  border-radius: 6px;
  color: var(--c);
  background: var(--bg3);
  font-family: var(--mono);
  font-size: 11px;
}
.mobile-btns { display: none; align-items: center; gap: 8px; }
#menu-toggle {
  padding: 8px 12px;
  border: 1px solid var(--line2);
  border-radius: 8px;
  color: var(--text);
  background: var(--bg3);
  font-size: 16px;
}
#mobile-menu {
  display: none;
  margin-top: 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg2);
}
#mobile-menu.open { display: block; }
#mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}
#mobile-menu a:hover { color: var(--text); background: var(--bg3); }
#logout-button-mobile { margin-top: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 20px;
  border: 0;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; transform: none; }
.btn-primary { color: #080808; background: var(--c); }
.btn-primary:hover { box-shadow: 0 0 24px rgba(245,171,45,.28); }
.btn-ghost { color: var(--text); background: transparent; border: 1px solid var(--line2); }
.btn-ghost:hover { border-color: rgba(255,255,255,.25); background: var(--bg3); }
.btn-sm { min-height: 34px; padding: 7px 14px; font-size: 12px; }
.btn-lg { min-height: 48px; padding: 13px 24px; font-size: 15px; }
.btn-full { width: 100%; }

main { min-height: calc(100vh - 150px); }
.cabinet-wrap { padding-top: 72px; padding-bottom: 96px; }

h1 { font-size: clamp(48px, 8vw, 88px); font-weight: 900; line-height: .95; letter-spacing: -.04em; }
h1 em { color: var(--c); font-style: normal; }
h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; line-height: 1; letter-spacing: -.03em; }
h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.hero-eyebrow {
  margin-bottom: 22px;
  color: var(--c);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .85;
}
.lead { max-width: 620px; margin-top: 28px; color: var(--muted); font-size: 18px; line-height: 1.65; }

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 470px);
  gap: 64px;
  align-items: start;
}
.intro-panel { padding-top: 34px; }
.privacy-list { display: grid; gap: 12px; margin-top: 30px; list-style: none; }
.privacy-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.step-num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245,171,45,.22);
  border-radius: 6px;
  color: var(--c);
  background: rgba(245,171,45,.08);
  font-family: var(--mono);
  font-size: 10px;
}

.card, .hero-card, .center-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg2);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--line2); transform: translateY(-2px); }
.card-featured { border-color: rgba(245,171,45,.25); background: linear-gradient(135deg, rgba(245,171,45,.04), var(--bg2)); }
.card-featured::before, .hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c), transparent);
}
.auth-card { padding: 24px; }
.center-card { width: min(760px, 100%); margin: 5vh auto 0; padding: clamp(30px, 6vw, 56px); text-align: center; }
.recovery-card h1 { margin-bottom: 26px; }
.spinner {
  width: 34px;
  height: 34px;
  margin: 0 auto 16px;
  border: 3px solid var(--line2);
  border-top-color: var(--c);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: #090909; }
.tab { padding: 11px 6px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 800; }
.tab.active { color: #080808; background: var(--c); }
.form-panel { display: grid; gap: 18px; padding: 24px 2px 2px; }
.form-panel label { display: grid; gap: 8px; color: var(--text); font-size: 13px; font-weight: 700; }
.form-note { color: var(--muted); font-size: 13px; line-height: 1.55; }
input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line2);
  border-radius: 8px;
  outline: 0;
  color: var(--text);
  background: #090909;
  font-family: var(--mono);
  font-size: 13px;
}
input:focus { border-color: var(--c); box-shadow: 0 0 0 3px rgba(245,171,45,.1); }
.password-row { position: relative; display: block; }
.password-row input { padding-right: 92px; }
.reveal {
  position: absolute;
  top: 7px;
  right: 7px;
  bottom: 7px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--bg3);
  font-family: var(--mono);
  font-size: 10px;
}
.check-row { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 500 !important; line-height: 1.45; }
.check-row input { width: 18px; min-height: 18px; margin-top: 1px; accent-color: var(--c); }

.tip-box, .warning-box {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg3);
}
.tip-box-label { margin-bottom: 5px; color: var(--dim); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.tip-box p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.warning-box { border-color: rgba(245,171,45,.2); background: rgba(245,171,45,.05); text-align: left; }
.message { margin: 16px 2px 0; padding: 12px 14px; border: 1px solid rgba(255,107,107,.25); border-radius: 8px; color: #ffb3b3; background: rgba(255,107,107,.08); font-size: 13px; line-height: 1.45; }
.message.success { color: #a8f5d1; border-color: rgba(0,255,163,.22); background: rgba(0,255,163,.06); }
.link-banner { display: grid; gap: 7px; margin-bottom: 16px; padding: 14px; border: 1px solid rgba(245,171,45,.2); border-radius: 8px; background: rgba(245,171,45,.05); }
.link-banner strong { font-size: 14px; }
.link-banner p { color: var(--muted); font-size: 12px; line-height: 1.5; }

.badge { display: inline-block; width: fit-content; padding: 3px 10px; border-radius: 4px; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.badge-c { color: var(--c); border: 1px solid rgba(245,171,45,.2); background: rgba(245,171,45,.1); }
.badge-v { color: #a78bfa; border: 1px solid rgba(124,58,237,.25); background: rgba(124,58,237,.1); }
.badge-g { color: var(--cg); border: 1px solid rgba(0,255,163,.2); background: rgba(0,255,163,.08); }
.badge-o { color: var(--co); border: 1px solid rgba(255,107,53,.2); background: rgba(255,107,53,.08); }

.public-id { display: inline-block; margin: 10px 0 26px; padding: 13px 18px; border: 1px solid var(--line2); border-radius: 8px; color: var(--c); background: #090909; font: 700 clamp(17px, 4vw, 25px) var(--mono); letter-spacing: .04em; }
.recovery-codes { width: min(430px, 100%); margin: 12px auto 22px; padding: 18px 18px 18px 54px; border: 1px solid var(--line); border-radius: 8px; background: #090909; text-align: left; font: 500 15px/1.9 var(--mono); }
.button-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.dashboard { display: grid; gap: 18px; }
.dashboard-hero { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(26px, 5vw, 44px); }
.dashboard-hero h1 { margin-bottom: 12px; font-family: var(--mono); font-size: clamp(28px, 5vw, 52px); letter-spacing: -.04em; overflow-wrap: anywhere; }
.balance-box { min-width: 240px; display: grid; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #090909; }
.balance-box span, .balance-box small { color: var(--muted); }
.balance-box span { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.balance-box strong { color: var(--c); font-size: 34px; font-weight: 900; letter-spacing: -.04em; }
.balance-box small { max-width: 220px; font-size: 11px; line-height: 1.45; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dashboard-grid > .card { padding: 24px; min-width: 0; }
.span-2 { grid-column: span 2; }
.panel-heading { min-height: 34px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-heading > div { display: grid; gap: 9px; }
.panel-heading h2 { font-size: 20px; }
.counter { min-width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: var(--bg3); font-family: var(--mono); font-size: 11px; }
.item-list { display: grid; gap: 10px; }
.item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #0b0b0b; }
.item-main { min-width: 0; }
.item-title { display: block; margin-bottom: 5px; font-weight: 800; overflow-wrap: anywhere; }
.item-meta { color: var(--muted); font-family: var(--mono); font-size: 11px; line-height: 1.5; }
.item-actions { display: flex; flex-shrink: 0; gap: 7px; }
.mini-button { min-height: 34px; padding: 6px 10px; border: 1px solid var(--line2); border-radius: 6px; color: var(--text); background: var(--bg3); font-size: 11px; font-weight: 800; }
.empty-state { color: var(--muted); font-size: 13px; }
.facts { display: grid; gap: 11px; margin-bottom: 18px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-family: var(--mono); font-size: 12px; }
.telegram-link-box { display: grid; gap: 9px; margin-bottom: 10px; padding: 14px; border: 1px solid rgba(245,171,45,.18); border-radius: 8px; background: rgba(245,171,45,.04); }
.compact-form { display: grid; gap: 10px; }
.text-button { padding: 0; border: 0; color: var(--c); background: transparent; font-family: var(--mono); font-size: 11px; font-weight: 500; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 11px 9px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.amount-positive { color: var(--cg); }
.amount-negative { color: var(--red); }
.event-list { display: grid; gap: 10px; max-height: 340px; overflow: auto; }
.event { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.event strong { display: block; font-size: 13px; }
.event time { color: var(--muted); font-family: var(--mono); font-size: 10px; }
.noscript { margin: 30px; padding: 20px; border: 1px solid var(--red); color: white; background: #300; }

footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--dim); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-align: center; }
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .auth-layout { grid-template-columns: 1fr; gap: 36px; }
  .intro-panel { padding-top: 0; }
  .dashboard-hero { align-items: stretch; flex-direction: column; }
  .balance-box { min-width: 0; width: 100%; }
}
@media (min-width: 768px) { .mobile-btns { display: none !important; } nav { display: flex !important; } }
@media (max-width: 767px) {
  nav { display: none; }
  .mobile-btns { display: flex; }
  .wrap { width: min(100% - 28px, 1100px); }
  .cabinet-wrap { padding-top: 42px; padding-bottom: 70px; }
  h1 { font-size: clamp(42px, 14vw, 62px); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
}
@media (max-width: 560px) {
  header { padding: 12px 0; }
  .auth-card { padding: 15px; }
  .tabs { grid-template-columns: 1fr; }
  .tab { padding: 9px; }
  .center-card { margin-top: 2vh; padding: 26px 17px; }
  .dashboard-grid > .card { padding: 18px; }
  .item { align-items: stretch; flex-direction: column; }
  .item-actions { width: 100%; }
  .mini-button { flex: 1; }
  .button-row .btn { width: 100%; }
  .public-id { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
  .spinner { animation-duration: 1.5s; }
}

/* Telegram separation */
.telegram-unlink-box {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.btn-danger,
.btn-danger-ghost {
  border-color: rgba(255, 95, 95, 0.55);
}

.btn-danger {
  color: #110707;
  background: #ff6b6b;
  box-shadow: 0 12px 34px rgba(255, 95, 95, 0.18);
}

.btn-danger:hover {
  background: #ff8585;
}

.btn-danger-ghost {
  color: #ff9494;
  background: rgba(255, 95, 95, 0.06);
}

.btn-danger-ghost:hover {
  color: #ffd0d0;
  background: rgba(255, 95, 95, 0.12);
}

.danger-form {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 95, 95, 0.35);
  background: rgba(255, 95, 95, 0.045);
}

.unlink-summary {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  white-space: pre-line;
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button-row .btn {
  flex: 1 1 150px;
}

.telegram-merge-box {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid rgba(245, 171, 45, .34);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(245, 171, 45, .09), rgba(245, 171, 45, .025)),
    rgba(8, 10, 14, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}
.telegram-merge-box.hidden { display: none; }
.merge-heading { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.merge-heading strong { font-family: var(--display); font-size: 15px; line-height: 1.3; }
.merge-form { padding-top: 4px; border-top: 1px solid rgba(245, 171, 45, .16); }
.merge-summary {
  white-space: pre-wrap;
  padding: 13px;
  border: 1px solid rgba(245, 171, 45, .2);
  border-radius: 8px;
  background: rgba(0, 0, 0, .22);
  color: var(--muted);
  font: 500 12px/1.62 var(--mono);
  overflow-wrap: anywhere;
}

/* Web commerce: YooKassa top-up */
.topup-form {
  display: grid;
  gap: 18px;
}
.topup-form fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}
.topup-form legend {
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.topup-amounts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}
.topup-amount {
  position: relative;
  min-width: 0;
}
.topup-amount input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.topup-amount span {
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 9px 8px;
  border: 1px solid var(--line2);
  border-radius: 7px;
  background: #090909;
  font: 700 13px var(--mono);
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.topup-amount input:checked + span {
  border-color: var(--c);
  color: #050505;
  background: var(--c);
  transform: translateY(-1px);
}
.topup-amount input:focus-visible + span {
  outline: 2px solid var(--c);
  outline-offset: 2px;
}
.topup-status {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(245,171,45,.2);
  border-radius: 8px;
  background: rgba(245,171,45,.05);
  white-space: pre-line;
  font-size: 13px;
  line-height: 1.55;
}
.topup-status.success {
  border-color: rgba(0,255,163,.22);
  color: #a8f5d1;
  background: rgba(0,255,163,.06);
}
.topup-status.error {
  border-color: rgba(255,107,107,.25);
  color: #ffb3b3;
  background: rgba(255,107,107,.08);
}

@media (max-width: 760px) {
  .topup-amounts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
  .topup-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Account-first purchases and renewals from web balance */
.service-commerce-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.service-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #090909;
}
.service-form label { display: grid; gap: 7px; }
.service-form label > span,
.service-form-heading strong {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.service-form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.service-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--black);
  color: var(--text);
  font: inherit;
}
.compact-facts { margin: 0; }
#retry-service-order { margin-top: 12px; }
@media (max-width: 760px) {
  .service-commerce-grid { grid-template-columns: 1fr; }
}

/* Web Service Management */
.item { flex-wrap: wrap; }
.item-main { min-width: 0; flex: 1 1 240px; }
.item-actions { flex-wrap: wrap; justify-content: flex-end; }
.mini-button.danger { border-color: rgba(255, 92, 92, .45); color: #ff9c9c; }
.mini-button.danger:hover { border-color: var(--red, #ff5c5c); background: rgba(255, 92, 92, .1); }
.credential-panel {
  flex: 0 0 100%;
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line2);
  border-radius: 8px;
  background: var(--bg2);
}
.credential-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.credential-row > span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.credential-row code { overflow-wrap: anywhere; user-select: all; font-size: 12px; }
@media (max-width: 640px) {
  .credential-row { grid-template-columns: 1fr; }
  .credential-row .mini-button { width: 100%; }
}
