/* ===== Design Tokens ===== */
:root {
  color-scheme: dark;
  --bg-0: #040609;
  --bg-1: #080c12;
  --panel: rgba(8, 12, 18, 0.75);
  --panel-border: rgba(255, 255, 255, 0.07);
  --panel-border-strong: rgba(255, 255, 255, 0.12);
  --text: #e8edf3;
  --muted: #7a8694;
  --soft: #aab4be;
  --accent: #1ec9b0;
  --accent-dim: rgba(30, 201, 176, 0.15);
  --accent-glow: rgba(30, 201, 176, 0.28);
  --accent-strong: #0eb5a0;
  --danger: #f87171;
  --danger-dim: rgba(248, 113, 113, 0.15);
  --warning: #fbbf24;
  --warning-dim: rgba(251, 191, 36, 0.15);
  --success: #34d399;
  --success-dim: rgba(52, 211, 153, 0.15);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-panel: 0 24px 64px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  --shadow-glow: 0 0 40px rgba(30, 201, 176, 0.15);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(30, 201, 176, 0.12) 0, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 10%, rgba(56, 189, 248, 0.08) 0, transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(30, 201, 176, 0.06) 0, transparent 60%),
    var(--bg-0);
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
}

/* ===== Aurora ===== */
.aurora {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.aurora-1 {
  width: 500px;
  height: 400px;
  top: -120px;
  left: -140px;
  background: rgba(30, 201, 176, 0.1);
}

.aurora-2 {
  width: 400px;
  height: 350px;
  top: 80px;
  right: -120px;
  background: rgba(56, 189, 248, 0.08);
}

.aurora-3 {
  width: 600px;
  height: 300px;
  bottom: 0;
  left: 20%;
  background: rgba(30, 201, 176, 0.06);
}

/* ===== Layout Shell ===== */
.page-shell {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 20px 0 60px;
  display: grid;
  gap: 18px;
}

/* ===== Topbar ===== */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #25d6bd, #12b79f);
  color: #04100e;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 24px rgba(30, 201, 176, 0.3);
  flex-shrink: 0;
}

.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

h1 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-top: 3px;
}

/* ===== Wallet Zone ===== */
.wallet-zone {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.wallet-connected-group,
.wallet-logged-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wallet-address-pill,
.wallet-user-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  font-size: 13px;
  color: var(--soft);
  font-weight: 500;
}

.wallet-user-pill {
  border-color: rgba(30, 201, 176, 0.2);
  background: rgba(30, 201, 176, 0.06);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}

.pill-dot-green {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-weight: 600;
  font-size: 14px;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:active:not(:disabled) {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, #25d6bd, #12b79f);
  color: #03100e;
  box-shadow: 0 4px 20px rgba(30, 201, 176, 0.25);
}

.btn-primary:hover:not(:disabled) {
  box-shadow: 0 8px 28px rgba(30, 201, 176, 0.35);
}

.btn-outline {
  border-color: rgba(30, 201, 176, 0.3);
  color: var(--accent);
  background: rgba(30, 201, 176, 0.07);
}

.btn-outline:hover:not(:disabled) {
  border-color: rgba(30, 201, 176, 0.5);
  background: rgba(30, 201, 176, 0.12);
}

.btn-ghost {
  border-color: var(--panel-border);
  color: var(--soft);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover:not(:disabled) {
  border-color: var(--panel-border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn-ghost-sm {
  border: 1px solid var(--panel-border);
  color: var(--muted);
  background: transparent;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.btn-ghost-sm:hover:not(:disabled) {
  color: var(--soft);
  border-color: var(--panel-border-strong);
}

/* 退出按钮：极小化，不占位置 */
.btn-text-muted {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: color var(--transition);
}

.btn-text-muted:hover {
  color: var(--soft);
}

.wallet-btn {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  padding: 36px 36px 36px 40px;
  border-radius: var(--radius-xl);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 201, 176, 0.1) 0, transparent 70%);
  pointer-events: none;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--accent-dim);
  border: 1px solid rgba(30, 201, 176, 0.2);
  color: #7ef5e2;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
  color: var(--text);
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-kv {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
}

.kv-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.kv-num {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text);
}

.kv-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.kv-divider {
  width: 1px;
  height: 36px;
  background: var(--panel-border);
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== Hero Steps (Right) ===== */
.hero-right {
  display: flex;
  align-items: center;
}

.hero-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
  transition: background var(--transition), border-color var(--transition);
}

.step-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--panel-border-strong);
}

.step-num {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.step-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.step-item p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== Content Grid ===== */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: start;
}

/* ===== Section Head ===== */
.section-head {
  margin-bottom: 16px;
}

.section-head.compact {
  margin-bottom: 14px;
}

.section-head .eyebrow {
  margin-bottom: 4px;
}

.section-head h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* ===== Campaign Grid ===== */
.campaign-grid {
  display: grid;
  gap: 14px;
}

/* ===== Campaign Card ===== */
.campaign-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-panel);
  transition: border-color var(--transition);
}

.campaign-card:hover {
  border-color: var(--panel-border-strong);
}

.campaign-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
}

.campaign-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.campaign-title-row h4 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.campaign-meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Phase badges */
.phase-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--accent-dim);
  border: 1px solid rgba(30, 201, 176, 0.2);
  color: #7ef5e2;
}

.phase-badge.phase-settling {
  color: var(--warning);
  background: var(--warning-dim);
  border-color: rgba(251, 191, 36, 0.25);
}

.phase-badge.phase-delivered {
  color: var(--success);
  background: var(--success-dim);
  border-color: rgba(52, 211, 153, 0.25);
}

/* Micro badges */
.micro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.micro-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  color: var(--muted);
}

.micro-badge.active {
  background: var(--accent-dim);
  border-color: rgba(30, 201, 176, 0.2);
  color: var(--accent);
}

.micro-badge.delivered {
  background: var(--success-dim);
  border-color: rgba(52, 211, 153, 0.2);
  color: var(--success);
}

/* ===== Campaign Summary ===== */
.campaign-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.summary-item {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 6px;
}

.summary-value {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  word-break: break-word;
  color: var(--text);
}

/* ===== Progress ===== */
.progress-block {
  margin-top: 16px;
}

.progress-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.progress-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #12b79f, #30dcc5);
  transition: width 0.5s ease;
}

/* ===== Campaign Footer ===== */
.campaign-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== Info List ===== */
.info-list {
  display: grid;
  gap: 0;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-key {
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
}

.info-value {
  font-size: 12px;
  color: var(--soft);
  text-align: right;
  word-break: break-all;
  line-height: 1.5;
}

/* ===== Action Panel ===== */
.action-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(30, 201, 176, 0.04);
  border: 1px solid rgba(30, 201, 176, 0.12);
}

.action-panel-registered {
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.1), rgba(30, 201, 176, 0.04));
  border-color: rgba(52, 211, 153, 0.2);
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.price-highlight {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(30, 201, 176, 0.16), rgba(30, 201, 176, 0.05));
  border: 1px solid rgba(30, 201, 176, 0.22);
  box-shadow: 0 12px 28px rgba(30, 201, 176, 0.08);
}

.price-highlight-active {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.18), rgba(52, 211, 153, 0.05));
  border-color: rgba(52, 211, 153, 0.28);
}

.price-highlight-label {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9ef7ea;
}

.price-highlight-text {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text);
}

.price-highlight-text strong {
  color: #ffffff;
}

.price-highlight-amount {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #a7fff2;
}

.action-status-card {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(7, 19, 17, 0.72);
  border: 1px solid rgba(52, 211, 153, 0.18);
}

.action-status-pill {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.22);
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.action-status-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.action-status-description {
  font-size: 13px;
  line-height: 1.7;
  color: var(--soft);
}

.action-input {
  width: 100%;
  padding: 10px 13px;
  color: var(--text);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.action-input:focus {
  outline: none;
  border-color: rgba(30, 201, 176, 0.4);
  box-shadow: 0 0 0 3px rgba(30, 201, 176, 0.1);
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.action-grid .btn {
  font-size: 13px;
  padding: 9px 12px;
}

.warning-line {
  font-size: 12px;
  color: var(--warning);
  line-height: 1.6;
}

.empty-tip {
  font-size: 13px;
  color: var(--muted);
}

/* ===== Sidebar ===== */
.side-column {
  display: grid;
  gap: 14px;
  align-items: start;
  position: sticky;
  top: 20px;
}

.sidebar-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ===== Status Card ===== */
.status-card {
  padding: 0;
  overflow: hidden;
}

.status-card-inner {
  padding: 14px 18px;
  border-left: 3px solid var(--warning);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: linear-gradient(90deg, var(--warning-dim), transparent);
}

.status-hint {
  font-size: 13px;
  color: var(--warning);
  font-weight: 500;
}

/* ===== Notifications ===== */
.notification-list {
  display: grid;
  gap: 10px;
}

.notification-card {
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
}

.notification-code {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(30, 201, 176, 0.15);
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', monospace;
  font-size: 12px;
  color: #7ef5e2;
  word-break: break-all;
  line-height: 1.6;
}

.notification-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(30, 201, 176, 0.25);
  background: rgba(30, 201, 176, 0.08);
  color: var(--accent);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  transition: background var(--transition), border-color var(--transition);
  cursor: pointer;
}

.copy-btn:hover {
  background: rgba(30, 201, 176, 0.14);
  border-color: rgba(30, 201, 176, 0.4);
}

/* ===== Empty State ===== */
.empty-state {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.015);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

/* ===== Toast ===== */
.toast-container {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 32px);
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--panel-border);
  background: rgba(14, 19, 27, 0.92);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  max-width: 440px;
  line-height: 1.5;
  pointer-events: auto;

  animation: toastIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.toast.toast-exit {
  animation: toastOut 0.22s ease forwards;
}

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

.toast-success {
  border-color: rgba(52, 211, 153, 0.25);
}

.toast-success .toast-icon {
  color: var(--success);
}

.toast-error {
  border-color: rgba(248, 113, 113, 0.25);
}

.toast-error .toast-icon {
  color: var(--danger);
}

.toast-info {
  border-color: rgba(30, 201, 176, 0.2);
}

.toast-info .toast-icon {
  color: var(--accent);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.modal-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: rgba(10, 16, 22, 0.98);
  border: 1px solid var(--panel-border-strong);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.96) translateY(8px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.modal-open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-icon {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}

.modal-message {
  font-size: 15px;
  color: var(--soft);
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-close-btn {
  width: 100%;
  padding: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .side-column {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .hero-right {
    display: none;
  }

  .campaign-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .campaign-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw - 20px, 100%);
    padding: 14px 0 40px;
  }

  .topbar {
    padding: 12px 16px;
  }

  h1 {
    font-size: 1rem;
  }

  .hero {
    padding: 22px 20px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-kv {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    padding: 16px;
  }

  .kv-item {
    flex-direction: row;
    justify-content: space-between;
  }

  .kv-divider {
    display: none;
  }

  .kv-num {
    font-size: 1.2rem;
  }

  .campaign-card,
  .sidebar-card {
    padding: 16px;
  }

  .campaign-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .side-column {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .wallet-zone {
    gap: 8px;
  }

  .wallet-address-pill span:not(.pill-dot),
  .wallet-user-pill span:not(.pill-dot) {
    display: none;
  }

  .notification-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-value {
    text-align: left;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  .price-highlight-amount {
    margin-left: 0;
    display: block;
    margin-top: 6px;
  }
}
