:root {
  --bg: #080b0a;
  --panel: #111513;
  --panel2: #171c19;
  --line: rgba(255, 255, 255, 0.09);
  --muted: #909991;
  --text: #f3f7f3;
  --lime: #a8f51f;
  --lime2: #d4ff68;
  --danger: #ff6b6b;
  --sidebar: 220px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei UI", "PingFang SC", Inter, Arial, sans-serif;
  min-height: 100vh;
}
.hidden {
  display: none !important;
}
button,
input {
  font: inherit;
}
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  opacity: 0.025;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  width: 156px;
  height: auto;
  object-fit: contain;
}
.brand span {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #9da59e;
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.23em;
  color: var(--lime);
  font-weight: 700;
}
.eyebrow span {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--lime);
  vertical-align: middle;
  margin-right: 8px;
}
.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(430px, 0.75fr);
}
.login-visual {
  position: relative;
  overflow: hidden;
  padding: 52px 6vw;
  background:
    radial-gradient(
      circle at 64% 50%,
      rgba(105, 174, 15, 0.22),
      transparent 28%
    ),
    linear-gradient(145deg, #111812, #070a08 65%);
  border-right: 1px solid var(--line);
}
.login-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.brand-large {
  position: relative;
  z-index: 2;
}
.visual-copy {
  position: absolute;
  z-index: 3;
  left: 6vw;
  top: 31%;
  max-width: 530px;
}
.visual-copy h1 {
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin: 20px 0 24px;
}
.visual-copy > p:last-child {
  font-size: 16px;
  line-height: 1.9;
  color: #aab2ac;
  max-width: 480px;
}
.orb-wrap {
  position: absolute;
  z-index: 2;
  width: min(43vw, 650px);
  height: min(43vw, 650px);
  right: -13%;
  bottom: -12%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(165, 245, 31, 0.25),
    rgba(6, 9, 7, 0.2) 54%,
    transparent 70%
  );
}
.orb-wrap img {
  position: absolute;
  width: 68%;
  height: 84%;
  object-fit: contain;
  object-position: center bottom;
  left: 13%;
  bottom: 0;
  filter: saturate(0.7) hue-rotate(15deg)
    drop-shadow(0 0 45px rgba(168, 245, 31, 0.22));
  opacity: 0.72;
}
.orb-ring {
  position: absolute;
  border: 1px solid rgba(168, 245, 31, 0.22);
  border-radius: 50%;
  inset: 12%;
}
.ring-two {
  inset: 22%;
  border-style: dashed;
  animation: spin 28s linear infinite;
}
.ring-one {
  animation: pulse 5s ease-in-out infinite;
}
.visual-foot {
  position: absolute;
  z-index: 4;
  bottom: 45px;
  left: 6vw;
  right: 6vw;
  display: flex;
  gap: 38px;
  color: #838c85;
  font-size: 12px;
}
.visual-foot span:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 9px;
  box-shadow: 0 0 10px var(--lime);
}
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px;
  background: linear-gradient(150deg, #101411, #080b09);
}
.login-card {
  width: min(100%, 420px);
}
.mobile-brand {
  display: none;
}
.login-card h2 {
  font-size: 38px;
  margin: 18px 0 8px;
  letter-spacing: -0.04em;
}
.login-tip {
  color: var(--muted);
  margin: 0 0 38px;
}
.login-card label {
  display: block;
  font-size: 13px;
  color: #c6ccc7;
  margin: 21px 0 10px;
}
.field {
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.025);
  transition: 0.2s;
}
.field:focus-within {
  border-color: rgba(168, 245, 31, 0.65);
  box-shadow: 0 0 0 3px rgba(168, 245, 31, 0.07);
}
.field input {
  min-width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  padding: 0 16px;
}
.field-prefix {
  padding-left: 18px;
  color: #bcc5bd;
  border-right: 1px solid var(--line);
  padding-right: 14px;
}
.text-button {
  border: 0;
  border-left: 1px solid var(--line);
  background: none;
  color: var(--lime);
  height: 32px;
  padding: 0 16px;
  white-space: nowrap;
  cursor: pointer;
}
.text-button:disabled {
  color: #667066;
  cursor: not-allowed;
}
.primary-button {
  width: 100%;
  height: 62px;
  margin-top: 28px;
  border: 0;
  border-radius: 13px;
  background: var(--lime);
  color: #11150e;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(168, 245, 31, 0.12);
  transition: 0.2s;
}
.primary-button:hover {
  background: var(--lime2);
  transform: translateY(-1px);
}
.primary-button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.primary-button b {
  font-size: 25px;
}
.form-error {
  color: var(--danger);
  font-size: 13px;
  min-height: 20px;
}
.security-note {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 20px;
  display: flex;
  gap: 11px;
  color: #737d75;
  font-size: 12px;
  line-height: 1.7;
}
.security-note i {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: rgba(168, 245, 31, 0.12);
  color: var(--lime);
  font-style: normal;
  text-align: center;
  line-height: 18px;
}
.topbar {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  padding: 0 32px;
  background: rgba(8, 11, 10, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar .brand {
  width: calc(var(--sidebar) - 10px);
}
.topbar .brand img {
  width: 130px;
}
.topbar .brand span {
  display: none;
}
.topbar nav {
  display: flex;
  gap: 30px;
  margin-left: 26px;
}
.topbar nav a {
  color: #969e98;
  text-decoration: none;
  font-size: 13px;
}
.topbar nav a:hover {
  color: var(--lime);
}
.account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.account > div {
  display: flex;
  flex-direction: column;
  text-align: right;
}
.account b {
  font-size: 13px;
}
.account span {
  font-size: 11px;
  color: #7b847d;
  margin-top: 3px;
}
.account button {
  border: 1px solid var(--line);
  background: #141815;
  color: #aab2ac;
  border-radius: 8px;
  padding: 8px 13px;
  cursor: pointer;
}
.dashboard-body {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  border-right: 1px solid var(--line);
  padding: 33px 20px;
  background: #0b0e0c;
}
.side-title {
  font-size: 10px;
  color: #566057;
  letter-spacing: 0.15em;
  padding: 0 12px 22px;
}
.sidebar > a {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: #7f8981;
  padding: 15px 12px;
  margin-bottom: 5px;
  border-radius: 9px;
  font-size: 13px;
}
.sidebar > a i {
  font-style: normal;
  font-size: 10px;
}
.sidebar > a:hover,
.sidebar > a.active {
  color: #eef4ef;
  background: rgba(255, 255, 255, 0.045);
}
.sidebar > a.active i {
  color: var(--lime);
}
.side-support {
  position: absolute;
  bottom: 28px;
  left: 20px;
  right: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #111512;
}
.side-support span {
  font-size: 11px;
  color: var(--lime);
}
.side-support p {
  font-size: 11px;
  color: #7e8880;
  line-height: 1.55;
  margin: 8px 0 0;
}
.content {
  min-width: 0;
  padding: 48px clamp(28px, 5vw, 76px) 30px;
  background: radial-gradient(
    circle at 100% 0,
    rgba(103, 161, 23, 0.08),
    transparent 25%
  );
}
.hero-section {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  margin-bottom: 35px;
}
.hero-section h1 {
  font-size: 36px;
  margin: 12px 0 10px;
}
.hero-section h1 em {
  font-style: normal;
  color: var(--lime);
}
.hero-section > div > p:last-child {
  color: var(--muted);
  font-size: 13px;
}
.period-chip {
  width: 200px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px 18px;
  background: #111512;
  display: grid;
  grid-template-columns: 1fr auto;
}
.period-chip span {
  font-size: 11px;
  color: #7e877f;
}
.period-chip b {
  font-size: 16px;
  color: var(--lime);
}
.period-chip small {
  grid-column: 1/-1;
  color: #606960;
  margin-top: 6px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 175px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(145deg, #151a17, #0e120f);
}
.stat-card.featured {
  border-color: rgba(168, 245, 31, 0.25);
  background: linear-gradient(145deg, #1d2718, #111611);
}
.stat-label {
  color: #a1aaa3;
  font-size: 12px;
}
.stat-label span {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid #4e584f;
  border-radius: 50%;
  font-size: 10px;
  margin-left: 4px;
}
.stat-card strong {
  display: block;
  font-size: 34px;
  margin: 25px 0 12px;
  letter-spacing: -0.03em;
}
.stat-card strong small {
  font-size: 15px;
  color: #8c968e;
  font-weight: 500;
  margin-right: 5px;
}
.stat-card p {
  font-size: 11px;
  color: #677068;
  margin: 0;
  line-height: 1.5;
}
.stat-card p b {
  color: #bec5bf;
}
.stat-icon {
  float: right;
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--lime);
  font-size: 12px;
}
.card-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--lime);
  filter: blur(75px);
  opacity: 0.13;
  right: -20px;
  bottom: -50px;
}
.invite-code-panel {
  margin: 18px 0 50px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #111512;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.panel-index {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--lime);
}
.invite-code-panel h2 {
  font-size: 18px;
  margin: 8px 0;
}
.invite-code-panel p {
  font-size: 12px;
  color: #7b857d;
  margin: 0;
}
.code-box {
  display: flex;
  align-items: center;
  border: 1px dashed rgba(168, 245, 31, 0.34);
  background: rgba(168, 245, 31, 0.04);
  border-radius: 12px;
  padding: 8px;
}
.code-box code {
  font:
    700 20px Consolas,
    monospace;
  letter-spacing: 0.12em;
  padding: 0 24px;
  color: var(--lime2);
}
.code-box button {
  border: 0;
  background: var(--lime);
  color: #11150e;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 700;
  cursor: pointer;
}
.data-panel,
.rules-panel {
  scroll-margin-top: 98px;
  margin-bottom: 50px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}
.section-head h2 {
  font-size: 24px;
  margin: 9px 0 0;
}
.total-pill,
.manual-badge {
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 13px;
  color: #8e9890;
}
.total-pill b {
  color: var(--lime);
}
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: auto;
  background: #101411;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 720px;
}
th {
  text-align: left;
  padding: 16px 20px;
  color: #687169;
  font-size: 11px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 13px;
  color: #c3cac4;
}
tr:last-child td {
  border-bottom: 0;
}
.user-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.user-cell b {
  font-size: 13px;
}
.user-cell span {
  font-size: 11px;
  color: #717a73;
}
.money-cell {
  color: var(--lime2);
}
.empty {
  text-align: center;
  color: #69726a;
  padding: 45px;
}
.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
.pagination button {
  border: 1px solid var(--line);
  background: #111512;
  color: #aeb6af;
  border-radius: 8px;
  padding: 9px 13px;
  cursor: pointer;
}
.pagination button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.pagination span {
  font-size: 11px;
  color: #717a72;
}
.manual-badge {
  border-color: rgba(168, 245, 31, 0.2);
  color: var(--lime);
  background: rgba(168, 245, 31, 0.05);
}
.formula-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 26px;
  background: linear-gradient(120deg, #151b16, #0e120f);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px 20px;
}
.formula-card > span {
  grid-row: 1/4;
  font-size: 12px;
  color: var(--lime);
  letter-spacing: 0.1em;
}
.formula-card > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.formula-card > div b {
  min-width: 125px;
}
.formula-card > div i {
  font-style: normal;
  color: #687168;
}
.formula-card > div em {
  font-style: normal;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 10px;
  color: #aab3ab;
}
.formula-card > p {
  font-size: 11px;
  color: #697269;
  margin: 4px 0 0;
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 14px 0;
}
.tier-grid article {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 25px;
  background: #101411;
}
.tier-grid article > span {
  font-size: 10px;
  color: #656e66;
}
.tier-grid strong {
  display: block;
  font-size: 44px;
  color: var(--lime);
  margin: 16px 0;
}
.tier-grid strong small {
  font-size: 18px;
}
.tier-grid h3 {
  font-size: 14px;
}
.tier-grid p {
  font-size: 11px;
  color: #727c74;
}
.rule-notes {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 8px 24px;
  background: #101411;
}
.rule-notes article {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.rule-notes article:last-child {
  border-bottom: 0;
}
.rule-notes article > b {
  font: 700 12px Consolas;
  color: var(--lime);
}
.rule-notes h3 {
  font-size: 13px;
  margin: 0 0 7px;
}
.rule-notes p {
  font-size: 11px;
  color: #747d76;
  margin: 0;
  line-height: 1.6;
}
.example {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  border: 1px solid rgba(168, 245, 31, 0.18);
  border-radius: 12px;
  padding: 16px 20px;
  background: rgba(168, 245, 31, 0.035);
}
.example span {
  font-size: 11px;
  color: var(--lime);
}
.example p {
  font-size: 12px;
  margin: 0;
}
.example strong {
  color: var(--lime2);
}
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #697169;
  font-size: 11px;
}
footer img {
  width: 95px;
  opacity: 0.65;
}
footer small {
  margin-left: auto;
}
.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  background: #e9f5e4;
  color: #15200f;
  border-radius: 9px;
  padding: 11px 18px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    transform: scale(1.04);
    opacity: 0.55;
  }
}
@media (max-width: 1100px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .login-shell {
    grid-template-columns: 1.15fr minmax(400px, 0.85fr);
  }
  .visual-copy h1 {
    font-size: 48px;
  }
  .formula-card {
    grid-template-columns: 1fr;
  }
  .formula-card > span {
    grid-row: auto;
  }
  .topbar nav {
    display: none;
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 0px;
  }
  .login-shell {
    display: block;
  }
  .login-visual {
    display: none;
  }
  .login-panel {
    min-height: 100vh;
    padding: 28px;
  }
  .mobile-brand {
    display: flex;
    margin-bottom: 55px;
  }
  .topbar {
    padding: 0 18px;
  }
  .topbar .brand {
    width: auto;
  }
  .topbar .brand span {
    display: none;
  }
  .topbar .account > div {
    display: none;
  }
  .dashboard-body {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .content {
    padding: 30px 18px;
  }
  .hero-section {
    display: block;
  }
  .period-chip {
    margin-top: 22px;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-card {
    min-height: 160px;
    padding: 20px;
  }
  .invite-code-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  .code-box {
    width: 100%;
    justify-content: space-between;
  }
  .code-box code {
    padding: 0 10px;
    font-size: 17px;
  }
  .tier-grid {
    grid-template-columns: 1fr;
  }
  .formula-card > div {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .formula-card > div b {
    width: 100%;
  }
  .section-head {
    align-items: flex-start;
    gap: 15px;
  }
  .manual-badge {
    max-width: 125px;
    text-align: center;
  }
  .example {
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }
  footer span {
    display: none;
  }
}
@media (max-width: 480px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .stat-card {
    min-height: 145px;
  }
  .login-panel {
    padding: 22px;
  }
  .login-card h2 {
    font-size: 32px;
  }
}

.account .profile-button {
  border: 1px solid rgba(160, 246, 9, 0.35);
  background: rgba(160, 246, 9, 0.08);
  color: var(--lime);
  border-radius: 9px;
  padding: 9px 16px;
  cursor: pointer;
  white-space: nowrap;
}
.account .profile-button:hover { background: rgba(160, 246, 9, 0.14); color: var(--lime2); }
.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}
.profile-modal.show { display: flex; }
.profile-dialog {
  width: min(820px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(160, 246, 9, 0.25);
  border-radius: 22px;
  padding: 30px;
  background: linear-gradient(145deg, #111713, #090d0b 72%);
  box-shadow: 0 30px 90px #000;
}
.profile-dialog-head { display: flex; justify-content: space-between; gap: 24px; }
.profile-dialog-head h2 { margin: 8px 0 7px; font-size: 27px; }
.profile-dialog-head > div > p:last-child { color: var(--muted); margin: 0; }
.profile-close {
  border: 1px solid var(--line);
  background: #151a17;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 25px;
  cursor: pointer;
}
.profile-modal.required .profile-close,
.profile-modal.required #profileCancelBtn { display: none; }
.profile-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 24px; }
.profile-fields label { display: flex; flex-direction: column; gap: 8px; color: #d9e2dc; font-weight: 600; }
.profile-fields label.wide { grid-column: 1 / -1; }
.profile-fields em { color: var(--lime); font-style: normal; }
.profile-fields input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  background: #0c100e;
  color: #fff;
  outline: none;
}
.profile-fields input:focus { border-color: rgba(160, 246, 9, 0.65); box-shadow: 0 0 0 3px rgba(160, 246, 9, 0.08); }
.qr-section { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 20px; }
.qr-upload { border: 1px solid var(--line); border-radius: 13px; padding: 15px; background: rgba(255,255,255,.018); }
.qr-upload > div { display: flex; flex-direction: column; margin-bottom: 11px; }
.qr-upload > div span { color: var(--muted); font-size: 12px; }
.qr-upload > input { position: absolute; opacity: 0; pointer-events: none; }
.qr-picker {
  min-height: 132px;
  border: 1px dashed #465049;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  cursor: pointer;
  overflow: hidden;
}
.qr-picker img { display: none; width: 100%; height: 132px; object-fit: contain; background: #fff; }
.qr-picker.has-image img { display: block; }
.qr-picker.has-image span { display: none; }
.profile-security { color: var(--muted); font-size: 12px; margin: 18px 0 5px; }
.profile-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; }
.profile-actions .primary-button { width: auto; min-width: 190px; margin: 0; }
.secondary-button { border: 1px solid var(--line); background: #151a17; color: #fff; border-radius: 10px; padding: 0 24px; cursor: pointer; }
body.profile-locked { overflow: hidden; }

@media (max-width: 760px) {
  .account .profile-button { padding: 8px 11px; font-size: 12px; }
  .profile-modal { padding: 10px; }
  .profile-dialog { padding: 21px 17px; max-height: calc(100vh - 20px); }
  .profile-fields, .qr-section { grid-template-columns: 1fr; }
  .profile-fields label.wide { grid-column: auto; }
  .profile-actions { position: sticky; bottom: -21px; padding: 14px 0 20px; background: #0a0e0c; }
}
