:root {
  --ink-bg: #0a0612;
  --ink-bg-2: #160f1f;
  --ink-purple: #7538F5;
  --ink-purple-2: #9b6bff;
  --ink-text: #f0efff;
  --ink-muted: #aaaaaa;
  --ink-border: #2a1f3d;
  --ink-card: #160f1f;
  --ink-card-hover: #1f1530;
  --gradient-1: linear-gradient(135deg, #7538F5 0%, #9b6bff 100%);
  --gradient-bg: radial-gradient(ellipse at top, #1a0f2e 0%, #0a0612 70%);
}

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

[hidden] { display: none !important; }

html, body {
  background: var(--ink-bg);
  color: var(--ink-text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--gradient-bg);
  background-attachment: fixed;
}

/* ===== Header ===== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  border-bottom: 1px solid var(--ink-border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gradient-1);
  box-shadow: 0 0 12px var(--ink-purple);
}

.logo-text {
  font-size: 18px;
}

.logo-accent {
  color: var(--ink-purple-2);
}

.header-credit {
  font-size: 13px;
  color: var(--ink-muted);
}

.header-credit a {
  color: var(--ink-purple-2);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.header-credit a:hover {
  color: var(--ink-text);
}

.header-link {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.header-link:hover {
  color: var(--ink-text);
}

/* ===== Hero ===== */
main {
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.hero {
  text-align: center;
  margin-bottom: 48px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 24px;
  background: rgba(117, 56, 245, 0.1);
  border: 1px solid var(--ink-purple);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-purple-2);
  letter-spacing: 0.3px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.15); }
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.grad {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: var(--ink-muted);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 36px;
}

.addr-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--ink-card);
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--ink-border);
  transition: border-color 0.2s;
}

.addr-form:focus-within {
  border-color: var(--ink-purple);
  box-shadow: 0 0 0 4px rgba(117, 56, 245, 0.15);
}

#addr-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink-text);
  font-size: 16px;
  padding: 12px 14px;
  font-family: "JetBrains Mono", "Menlo", monospace;
}

#addr-input::placeholder {
  color: #6b5c80;
}

#submit-btn {
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.2s;
}

#submit-btn:hover {
  box-shadow: 0 6px 24px rgba(117, 56, 245, 0.5);
}

#submit-btn:active {
  transform: translateY(1px);
}

#submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.error-msg {
  color: #ff6b8a;
  margin-top: 14px;
  font-size: 14px;
}

/* ===== Loading ===== */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 60px 20px;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--ink-border);
  border-top-color: var(--ink-purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Step list */
.loading-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 210px;
}

.loading-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-muted);
  transition: color 0.35s ease;
}

/* The dot indicator */
.step-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--ink-muted);
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.loading-step--pending .step-dot {
  animation: step-pulse 1.4s ease-in-out infinite;
}

@keyframes step-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.25); }
}

/* Done state — green fill + text brightens */
.loading-step--done {
  color: var(--ink-text);
}

.loading-step--done .step-dot {
  background: #4ade80;
  border-color: #4ade80;
  animation: step-done 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes step-done {
  0%  { transform: scale(0.5); opacity: 0; }
  65% { transform: scale(1.4); }
  100%{ transform: scale(1);   opacity: 1; }
}

/* ===== Card ===== */
.card-section {
  margin-top: 40px;
}

.card {
  background: linear-gradient(160deg, #1a1030 0%, #0f0820 100%);
  border: 1px solid var(--ink-border);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(117, 56, 245, 0.1) inset;
}

.card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(117, 56, 245, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  position: relative;
}

.card-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-brand-text {
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 14px;
}

.card-network {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--ink-purple-2);
  padding: 4px 10px;
  border: 1px solid var(--ink-purple);
  border-radius: 999px;
  background: rgba(117, 56, 245, 0.1);
}

.card-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  position: relative;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-1);
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.identity-text {
  min-width: 0;
}

.ens {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ens:empty {
  display: none;
}

.addr-display {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  color: var(--ink-muted);
  word-break: break-all;
}

/* ===== Score Block ===== */
.score-block {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 28px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 18px;
  border: 1px solid var(--ink-border);
  position: relative;
}

.score-ring {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.score-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: var(--ink-border);
  stroke-width: 10;
}

.ring-fg {
  fill: none;
  stroke: url(#gradStroke);
  stroke: var(--ink-purple);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: drop-shadow(0 0 6px rgba(117, 56, 245, 0.7));
}

.score-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#score-num {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.score-max {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: -2px;
}

.rank-info {
  flex: 1;
}

.rank-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.rank-tier {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.rank-pct {
  color: var(--ink-purple-2);
  font-size: 14px;
  font-family: "JetBrains Mono", monospace;
}

/* ===== Kraken Status ===== */
.kraken-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 14px;
  position: relative;
}

.kraken-status--verified {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.12) 0%, rgba(117, 56, 245, 0.10) 100%);
  border: 1px solid rgba(74, 222, 128, 0.5);
}

.kraken-status--unverified {
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed var(--ink-border);
  opacity: 0.7;
}

.kraken-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}

.kraken-text {
  flex: 1;
  min-width: 0;
}

.kraken-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.kraken-status--verified .kraken-label {
  color: #4ade80;
}

.kraken-status--unverified .kraken-label {
  color: var(--ink-muted);
}

.kraken-sub {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--ink-muted);
  margin-top: 2px;
  text-transform: uppercase;
}

.kraken-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.kraken-status--verified .kraken-badge {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.kraken-status--unverified .kraken-badge {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-muted);
  border: 1px solid var(--ink-border);
}

/* ===== Stats Grid ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  position: relative;
}

.stats-grid--priority {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 12px;
}

.stats-grid--secondary {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 20px;
}

.stats-grid--solo {
  grid-template-columns: 1fr;
  margin-bottom: 20px;
}

.stats-grid--keys {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 12px;
}

.stat--key {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed var(--ink-border);
  opacity: 0.55;
  transition: all 0.3s;
}

.stat--key .stat-value {
  font-size: 18px;
}

.stat--key.stat--owned {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.18) 0%, rgba(117, 56, 245, 0.12) 100%);
  border: 1px solid #ffd86b;
  opacity: 1;
  box-shadow: 0 0 24px rgba(255, 216, 107, 0.25);
}

.stat--key.stat--owned .stat-label {
  color: #ffd86b;
  font-weight: 700;
}

.stat--key.stat--owned .stat-value {
  background: linear-gradient(135deg, #ffd86b 0%, #9b6bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 16px;
  word-break: break-all;
}

.stat--ecosystem {
  background: rgba(117, 56, 245, 0.05);
  border-color: rgba(117, 56, 245, 0.3);
}

.stat--ecosystem .stat-label {
  color: var(--ink-purple-2);
  font-weight: 600;
}

.stat {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--ink-border);
  border-radius: 12px;
  padding: 14px;
}

.stat--priority {
  background: linear-gradient(135deg, rgba(117, 56, 245, 0.18) 0%, rgba(117, 56, 245, 0.06) 100%);
  border-color: var(--ink-purple);
  box-shadow: 0 0 24px rgba(117, 56, 245, 0.15);
  padding: 16px;
}

.stat--priority .stat-label {
  color: var(--ink-purple-2);
  font-weight: 700;
}

.stat--priority .stat-value {
  font-size: 26px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-sub {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--ink-muted);
  margin-top: 4px;
  text-transform: uppercase;
}

/* GM sub-lines — each on its own row */
.gm-line {
  display: block;
  margin-top: 3px;
  line-height: 1.4;
}

.stat-link {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--ink-purple-2);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.stat-link:hover {
  color: var(--ink-text);
  text-decoration: underline;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--ink-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
}

/* ===== Badges ===== */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
  min-height: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(117, 56, 245, 0.15);
  border: 1px solid var(--ink-purple);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-purple-2);
}

.badge--priority {
  background: var(--gradient-1);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(117, 56, 245, 0.5);
  order: -1;
}

.card-footer {
  position: relative;
  text-align: center;
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 1px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-border);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.verified-mark {
  color: #4ade80;
  font-weight: 700;
}

.footer-sep {
  opacity: 0.5;
}

/* ===== New-search bar ===== */
.new-search-bar {
  text-align: center;
  margin-bottom: 18px;
}

.btn-new-search {
  background: transparent;
  border: 1px solid var(--ink-border);
  color: var(--ink-muted);
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: all 0.2s;
}

.btn-new-search:hover {
  color: var(--ink-text);
  border-color: var(--ink-purple);
  background: rgba(117, 56, 245, 0.08);
}

/* ===== Actions ===== */
.actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.action-btn {
  background: var(--ink-card);
  color: var(--ink-text);
  border: 1px solid var(--ink-border);
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.action-btn:hover {
  background: var(--ink-card-hover);
  border-color: var(--ink-purple);
}

.action-btn--primary {
  background: var(--gradient-1);
  border-color: transparent;
}

.action-btn--primary:hover {
  box-shadow: 0 6px 24px rgba(117, 56, 245, 0.4);
}

.action-btn--share {
  padding: 14px 36px;
  font-size: 16px;
  letter-spacing: 0.3px;
}

/* ===== Share Modal ===== */
.share-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.share-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.share-modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: modal-in 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.share-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ink-border);
  background: var(--ink-bg-2);
  color: var(--ink-muted);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2;
}

.share-modal-close:hover {
  color: var(--ink-text);
  border-color: var(--ink-purple);
}

.share-modal-label {
  color: var(--ink-muted);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  align-self: flex-start;
}

/* ===== Mini Share Card ===== */
.share-card {
  width: 380px;
  min-height: 380px;
  flex-shrink: 0;
  background: #100820;
  border: 2px solid rgba(117, 56, 245, 0.45);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.share-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.share-card-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-brand-text {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 13px;
}

.share-card-network {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--ink-purple-2);
  padding: 3px 9px;
  border: 1px solid var(--ink-purple);
  border-radius: 999px;
  background: rgba(117, 56, 245, 0.1);
}

.share-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.share-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.share-identity-text {
  min-width: 0;
}

.share-ens {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-ens:empty { display: none; }

.share-addr {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--ink-muted);
  word-break: break-all;
}

.share-score-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  border: 1px solid rgba(117, 56, 245, 0.25);
  flex-shrink: 0;
}

.share-score-ring {
  position: relative;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.share-score-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.share-ring-bg {
  fill: none;
  stroke: var(--ink-border);
  stroke-width: 9;
}

.share-ring-fg {
  fill: none;
  stroke: var(--ink-purple);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 263.9;
  stroke-dashoffset: 263.9;
  filter: drop-shadow(0 0 5px rgba(117, 56, 245, 0.7));
  transition: stroke-dashoffset 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.share-score-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#share-score-num {
  font-size: 28px;
  font-weight: 800;
  color: #9b6bff;
}

.share-score-max {
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: -2px;
}

.share-rank-info { flex: 1; }

.share-rank-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--ink-muted);
  margin-bottom: 5px;
}

.share-rank-tier {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.share-rank-pct {
  color: var(--ink-purple-2);
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
}

.share-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  align-content: flex-start;
}

.share-card-footer {
  position: relative;
  text-align: center;
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 1px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-border);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
  margin-top: auto;
}

/* Actions inside modal */
.share-actions {
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.site-footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--ink-muted);
  font-size: 13px;
  border-top: 1px solid var(--ink-border);
  margin-top: 40px;
}

.site-footer a {
  color: var(--ink-purple-2);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .site-header { padding: 16px 20px; }
  main { padding: 40px 16px 60px; }
  .addr-form { flex-direction: column; padding: 12px; }
  #submit-btn { width: 100%; }
  .card { padding: 22px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .score-block { flex-direction: column; gap: 16px; text-align: center; padding: 20px; }
  .rank-info { text-align: center; }
  .share-modal { padding: 12px; }
  .share-modal-content { max-width: 100%; }
  .share-score-block { gap: 16px; }
}
