﻿/* ============================================================================
   Emerald Vault — public.css
   Base design system: variables, reset, typography, shell, nav,
   auth/login, collection, artwork detail, and transfer flow.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --ev-bg:          #0A0A0A;
  --ev-surface:     #111111;
  --ev-surface-2:   #151515;
  --ev-surface-3:   #1A1A1A;

  /* Type */
  --ev-ink:         #F5F5F5;
  --ev-ink-2:       #D1D5DB;
  --ev-muted:       #9CA3AF;
  --ev-muted-2:     #6B7280;
  --ev-muted-3:     #4B5563;

  /* Accent */
  --ev-accent:      #2E5E4E;
  --ev-accent-mid:  #3A7A63;
  --ev-accent-tint: rgba(46, 94, 78, 0.15);
  --ev-accent-glow: rgba(46, 94, 78, 0.30);

  /* Borders */
  --ev-border:      rgba(255, 255, 255, 0.08);
  --ev-border-soft: rgba(255, 255, 255, 0.05);
  --ev-line:        rgba(255, 255, 255, 0.08);

  /* Status */
  --ev-green:       #34D399;
  --ev-green-bg:    rgba(52, 211, 153, 0.10);
  --ev-amber:       #FBBF24;
  --ev-amber-bg:    rgba(251, 191, 36, 0.10);
  --ev-red:         #F87171;
  --ev-red-bg:      rgba(248, 113, 113, 0.10);

  /* Radii */
  --ev-radius-sm:   8px;
  --ev-radius:      12px;
  --ev-radius-md:   16px;
  --ev-radius-lg:   24px;
  --ev-radius-xl:   32px;

  /* Shadows */
  --ev-shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.4);
  --ev-shadow:      0 4px 16px rgba(0, 0, 0, 0.5);
  --ev-shadow-lg:   0 12px 40px rgba(0, 0, 0, 0.6);

  /* Transitions */
  --ev-ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ev-dur-fast:    140ms;
  --ev-dur:         220ms;
  --ev-dur-slow:    360ms;

  /* Typography */
  --ev-font-serif:  'Georgia', 'Times New Roman', serif;
  --ev-font-sans:   -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI',
                    system-ui, sans-serif;

  /* Spacing scale (4px base) */
  --ev-space-1:  4px;
  --ev-space-2:  8px;
  --ev-space-3:  12px;
  --ev-space-4:  16px;
  --ev-space-5:  20px;
  --ev-space-6:  24px;
  --ev-space-8:  32px;
  --ev-space-10: 40px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body.ev-collector-body {
  background: var(--ev-bg);
  color: var(--ev-ink);
  font-family: var(--ev-font-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

audio {
  width: 100%;
}

/* --------------------------------------------------------------------------
   3. Shell & App Chrome
   -------------------------------------------------------------------------- */
.av-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Top bar */
.av-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ev-space-4);
  padding: 0 var(--ev-space-6);
  height: 60px;
  background: var(--ev-surface);
  border-bottom: 1px solid var(--ev-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Brand */
.av-brand {
  display: flex;
  align-items: center;
  gap: var(--ev-space-3);
  flex-shrink: 0;
}

.av-mark {
  width: 28px;
  height: 28px;
  background: var(--ev-accent);
  border-radius: 7px;
  position: relative;
  flex-shrink: 0;
}
.av-mark::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  transform: rotate(45deg);
}

.av-brand .av-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ev-ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.av-brand .av-sub {
  font-size: 11px;
  color: var(--ev-muted);
  line-height: 1.2;
}

/* Main nav */
.av-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.av-nav a {
  display: inline-flex;
  align-items: center;
  padding: var(--ev-space-1) var(--ev-space-3);
  font-size: 13px;
  font-weight: 500;
  color: var(--ev-muted);
  border-radius: var(--ev-radius-sm);
  transition: color var(--ev-dur-fast) var(--ev-ease),
              background var(--ev-dur-fast) var(--ev-ease);
  white-space: nowrap;
}
.av-nav a:hover {
  color: var(--ev-ink);
  background: var(--ev-border);
}
.av-nav a.is-active {
  color: var(--ev-ink);
  background: var(--ev-border);
}

/* Header actions / member chip */
.av-actions {
  display: flex;
  align-items: center;
  gap: var(--ev-space-3);
  flex-shrink: 0;
}

.av-member-chip {
  display: flex;
  align-items: center;
  gap: var(--ev-space-3);
}

.av-member-meta {
  display: flex;
  flex-direction: column;
  text-align: right;
}
.av-member-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ev-ink);
  line-height: 1.2;
}
.av-member-email {
  font-size: 11px;
  color: var(--ev-muted);
  line-height: 1.2;
}

/* Tier badge */
.av-tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--ev-accent-tint);
  border: 1px solid var(--ev-accent);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  color: #6EE7B7;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* Buttons */
.av-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ev-space-2);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ev-ink);
  background: var(--ev-surface-3);
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  cursor: pointer;
  transition: background var(--ev-dur-fast) var(--ev-ease),
              border-color var(--ev-dur-fast) var(--ev-ease),
              transform var(--ev-dur-fast) var(--ev-ease),
              box-shadow var(--ev-dur-fast) var(--ev-ease);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.av-btn:hover {
  background: var(--ev-surface-2);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
  box-shadow: var(--ev-shadow-sm);
}
.av-btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.av-btn:focus-visible {
  outline: 2px solid var(--ev-accent-mid);
  outline-offset: 2px;
}

.av-btn-primary {
  background: var(--ev-accent);
  border-color: var(--ev-accent-mid);
  color: #fff;
}
.av-btn-primary:hover {
  background: var(--ev-accent-mid);
  border-color: #4A9A7A;
}

.av-btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--ev-muted);
}
.av-btn-ghost:hover {
  color: var(--ev-ink);
  background: var(--ev-border);
  border-color: transparent;
  box-shadow: none;
}

/* Link style */
.av-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ev-muted);
  transition: color var(--ev-dur-fast) var(--ev-ease);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
}
.av-link:hover {
  color: var(--ev-ink);
  text-decoration-color: var(--ev-muted);
}

/* Content area */
.av-content {
  flex: 1;
  padding: var(--ev-space-8) var(--ev-space-6);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* --------------------------------------------------------------------------
   4. Typography helpers
   -------------------------------------------------------------------------- */
.av-title-lg {
  font-family: var(--ev-font-serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  color: var(--ev-ink);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.av-subtitle {
  font-size: 14px;
  color: var(--ev-muted);
  line-height: 1.65;
  max-width: 560px;
}

.av-kicker,
.av-topbar .av-kicker {
  font-size: 10px;
  font-weight: 700;
  color: var(--ev-muted-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--ev-space-1);
}

/* --------------------------------------------------------------------------
   5. Page-level topbar (collection / registry header)
   -------------------------------------------------------------------------- */
.av-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--ev-space-6);
  padding: var(--ev-space-6);
  background: var(--ev-surface);
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius-lg);
  margin-bottom: var(--ev-space-6);
  flex-wrap: wrap;
}

.av-topbar--trust {
  border-color: var(--ev-accent);
  box-shadow: 0 0 0 1px var(--ev-accent-tint), inset 0 1px 0 rgba(255,255,255,0.04);
}

/* --------------------------------------------------------------------------
   6. Trust strip
   -------------------------------------------------------------------------- */
.av-trust-strip {
  display: flex;
  gap: var(--ev-space-4);
  padding: var(--ev-space-4) var(--ev-space-5);
  background: var(--ev-accent-tint);
  border: 1px solid rgba(46, 94, 78, 0.25);
  border-radius: var(--ev-radius-md);
  margin-bottom: var(--ev-space-6);
  flex-wrap: wrap;
}
.av-trust-strip--compact {
  padding: var(--ev-space-3) var(--ev-space-4);
  margin-bottom: var(--ev-space-5);
  gap: var(--ev-space-3);
}

.av-trust-strip__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 180px;
}
.av-trust-strip__item strong {
  font-size: 12px;
  font-weight: 700;
  color: #6EE7B7;
  letter-spacing: 0.01em;
}
.av-trust-strip__item span {
  font-size: 12px;
  color: var(--ev-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   7. Empty state
   -------------------------------------------------------------------------- */
.av-empty {
  padding: var(--ev-space-10) var(--ev-space-8);
  text-align: center;
  font-size: 14px;
  color: var(--ev-muted-2);
  line-height: 1.65;
  background: var(--ev-surface);
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius-lg);
}
.av-empty--trust {
  border-color: var(--ev-accent);
}
.av-empty h2 {
  font-family: var(--ev-font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ev-ink-2);
  margin-bottom: var(--ev-space-3);
}
.av-empty p {
  font-size: 13.5px;
  color: var(--ev-muted);
  max-width: 460px;
  margin: 0 auto var(--ev-space-6);
}
.av-empty-actions {
  display: flex;
  justify-content: center;
  gap: var(--ev-space-3);
}

/* --------------------------------------------------------------------------
   8. Artwork grid (collection view)
   -------------------------------------------------------------------------- */
.av-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--ev-space-5);
}

.av-card {
  display: flex;
  flex-direction: column;
  background: var(--ev-surface);
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius-lg);
  overflow: hidden;
  transition: border-color var(--ev-dur) var(--ev-ease),
              transform var(--ev-dur) var(--ev-ease),
              box-shadow var(--ev-dur) var(--ev-ease);
  cursor: pointer;
}
.av-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  box-shadow: var(--ev-shadow);
}
.av-card--trust {
  border-color: var(--ev-border-soft);
}
.av-card--trust:hover {
  border-color: var(--ev-accent);
  box-shadow: 0 0 0 1px var(--ev-accent-tint), var(--ev-shadow);
}

.av-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ev-surface-3);
  position: relative;
}
.av-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ev-dur-slow) var(--ev-ease);
}
.av-card:hover .av-thumb img {
  transform: scale(1.03);
}
.av-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 12px;
  color: var(--ev-muted-3);
  letter-spacing: 0.02em;
}

.av-card-body {
  padding: var(--ev-space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--ev-space-2);
}

.av-card-status {
  display: flex;
  align-items: center;
  gap: var(--ev-space-2);
  flex-wrap: wrap;
}
.av-card-status__meta {
  font-size: 11px;
  color: var(--ev-muted-2);
}

.av-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 99px;
}
.av-badge--green {
  background: var(--ev-green-bg);
  color: var(--ev-green);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.av-meta {
  font-size: 12px;
  color: var(--ev-muted-2);
  letter-spacing: 0.01em;
}

.av-card-title {
  font-family: var(--ev-font-serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--ev-ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.av-card-meta {
  font-size: 12px;
  color: var(--ev-muted);
}

.av-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ev-space-2);
  margin-top: auto;
  padding-top: var(--ev-space-3);
  border-top: 1px solid var(--ev-border-soft);
}

.av-card-ledger {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.av-card-ledger span {
  font-size: 10px;
  color: var(--ev-muted-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.av-card-ledger strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--ev-muted);
  font-variant-numeric: tabular-nums;
}

.av-card-linkhint {
  font-size: 12px;
  color: var(--ev-muted-2);
  transition: color var(--ev-dur-fast) var(--ev-ease);
}
.av-card:hover .av-card-linkhint {
  color: var(--ev-ink);
}

/* --------------------------------------------------------------------------
   9. Artwork detail — Panel & Tabs
   -------------------------------------------------------------------------- */
.ev-back {
  display: inline-flex;
  align-items: center;
  gap: var(--ev-space-2);
  font-size: 13px;
  color: var(--ev-muted);
  margin-bottom: var(--ev-space-5);
  transition: color var(--ev-dur-fast) var(--ev-ease);
}
.ev-back::before {
  content: '←';
  font-size: 14px;
}
.ev-back:hover {
  color: var(--ev-ink);
}

.ev-panel {
  background: var(--ev-surface);
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius-lg);
  padding: var(--ev-space-6);
}

.ev-artwork-overview {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0;
}
.ev-artwork-overview__media {
  background: var(--ev-surface-3);
  overflow: hidden;
  border-radius: var(--ev-radius-lg) 0 0 var(--ev-radius-lg);
}
.ev-artwork-overview__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ev-artwork-overview__body {
  padding: var(--ev-space-6) var(--ev-space-7, 28px);
}

.ev-kicker {
  font-size: 10px;
  font-weight: 700;
  color: var(--ev-muted-2);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: var(--ev-space-1);
}

.ev-artwork-subline {
  font-size: 13px;
  color: var(--ev-muted);
}

.ev-vault-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--ev-surface-3);
  border: 1px solid var(--ev-border);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ev-muted);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ev-registry-assurance {
  display: flex;
  align-items: flex-start;
  gap: var(--ev-space-3);
  padding: var(--ev-space-4);
  background: var(--ev-accent-tint);
  border: 1px solid rgba(46, 94, 78, 0.2);
  border-radius: var(--ev-radius-md);
  margin-top: var(--ev-space-5);
}
.ev-registry-assurance__mark {
  width: 20px;
  height: 20px;
  background: var(--ev-accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}
.ev-registry-assurance__mark::after {
  content: '';
  position: absolute;
  left: 6px; top: 4px;
  width: 5px; height: 8px;
  border-right: 2px solid rgba(255,255,255,0.85);
  border-bottom: 2px solid rgba(255,255,255,0.85);
  transform: rotate(40deg);
}
.ev-registry-assurance strong {
  font-size: 12px;
  font-weight: 700;
  color: #6EE7B7;
  display: block;
  margin-bottom: 2px;
}
.ev-registry-assurance span {
  font-size: 12px;
  color: var(--ev-muted);
  line-height: 1.5;
}

/* Tabs */
.ev-tablist {
  display: flex;
  gap: 0;
}
.ev-tab {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ev-muted);
  border-bottom: 2px solid transparent;
  transition: color var(--ev-dur-fast) var(--ev-ease),
              border-color var(--ev-dur-fast) var(--ev-ease);
  cursor: pointer;
  white-space: nowrap;
}
.ev-tab:hover {
  color: var(--ev-ink);
}
.ev-tab.is-active {
  color: var(--ev-ink);
  border-bottom-color: var(--ev-accent-mid);
}

/* --------------------------------------------------------------------------
   10. Login / Auth screens
   -------------------------------------------------------------------------- */
.ev-login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--ev-space-6);
  background: var(--ev-bg);
  background-image: radial-gradient(ellipse 60% 50% at 50% 0%,
    rgba(46, 94, 78, 0.18) 0%, transparent 70%);
}

.ev-login-box {
  width: 100%;
  max-width: 420px;
  background: var(--ev-surface);
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius-xl);
  padding: var(--ev-space-10) var(--ev-space-8);
  box-shadow: var(--ev-shadow-lg);
}

.ev-login-logo {
  text-align: center;
  margin-bottom: var(--ev-space-8);
}

.ev-login-icon {
  width: 52px;
  height: 52px;
  background: var(--ev-accent);
  border-radius: 14px;
  margin: 0 auto var(--ev-space-4);
  position: relative;
}
.ev-login-icon::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 2.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 3px;
  transform: rotate(45deg);
}

.ev-login-title {
  font-family: var(--ev-font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ev-ink);
  letter-spacing: -0.02em;
  margin-bottom: var(--ev-space-2);
}

.ev-login-sub {
  font-size: 13.5px;
  color: var(--ev-muted);
  line-height: 1.55;
}

.ev-login-field {
  display: flex;
  flex-direction: column;
  gap: var(--ev-space-2);
  margin-bottom: var(--ev-space-4);
}

.ev-login-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ev-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ev-login-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--ev-surface-3);
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius-md);
  color: var(--ev-ink);
  font-size: 15px;
  outline: none;
  transition: border-color var(--ev-dur-fast) var(--ev-ease),
              box-shadow var(--ev-dur-fast) var(--ev-ease);
}
.ev-login-input::placeholder {
  color: var(--ev-muted-3);
}
.ev-login-input:focus {
  border-color: var(--ev-accent-mid);
  box-shadow: 0 0 0 3px var(--ev-accent-tint);
}

.ev-login-btn {
  width: 100%;
  padding: 13px 20px;
  background: var(--ev-accent);
  border: 1px solid var(--ev-accent-mid);
  border-radius: var(--ev-radius-md);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background var(--ev-dur-fast) var(--ev-ease),
              transform var(--ev-dur-fast) var(--ev-ease),
              box-shadow var(--ev-dur-fast) var(--ev-ease);
}
.ev-login-btn:hover {
  background: var(--ev-accent-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 94, 78, 0.35);
}
.ev-login-btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.ev-login-btn:focus-visible {
  outline: 2px solid var(--ev-accent-mid);
  outline-offset: 3px;
}

.ev-login-code-sent {
  padding: 12px 16px;
  background: var(--ev-green-bg);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: var(--ev-radius-md);
  font-size: 13.5px;
  color: var(--ev-green);
  text-align: center;
  line-height: 1.5;
  margin-bottom: var(--ev-space-5);
}

/* Secure placeholder */
.ev-secure-placeholder {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ev-bg);
}

/* --------------------------------------------------------------------------
   11. Transfer flow
   -------------------------------------------------------------------------- */
.ev-transfer-shell {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--ev-space-8) var(--ev-space-6);
  background: var(--ev-bg);
  background-image: radial-gradient(ellipse 50% 40% at 50% 0%,
    rgba(46, 94, 78, 0.12) 0%, transparent 70%);
}

.ev-transfer-box {
  width: 100%;
  max-width: 560px;
  background: var(--ev-surface);
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius-xl);
  overflow: hidden;
  box-shadow: var(--ev-shadow-lg);
}

.ev-transfer-header {
  padding: var(--ev-space-5) var(--ev-space-6);
  border-bottom: 1px solid var(--ev-border);
  background: var(--ev-surface-2);
}

.ev-header-stamp {
  font-size: 11.5px;
  color: var(--ev-muted-2);
  letter-spacing: 0.01em;
}

.ev-transfer-assurance {
  display: flex;
  gap: var(--ev-space-5);
  margin-top: var(--ev-space-4);
  flex-wrap: wrap;
}
.ev-transfer-assurance__item {
  flex: 1;
  min-width: 180px;
}
.ev-transfer-assurance__item strong {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ev-ink-2);
  margin-bottom: 2px;
}
.ev-transfer-assurance__item span {
  font-size: 11.5px;
  color: var(--ev-muted);
  line-height: 1.5;
}

.ev-transfer-body {
  padding: var(--ev-space-6);
}

/* --------------------------------------------------------------------------
   12. Notices / inline notice
   -------------------------------------------------------------------------- */
.ev-notice {
  padding: 12px 16px;
  background: var(--ev-green-bg);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: var(--ev-radius-md);
  font-size: 13.5px;
  color: var(--ev-green);
  margin-bottom: var(--ev-space-5);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.ev-inline-form {
  margin-top: var(--ev-space-4);
}

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .av-top {
    padding: 0 var(--ev-space-4);
  }
  .av-content {
    padding: var(--ev-space-6) var(--ev-space-4);
  }
  .av-nav a {
    font-size: 12.5px;
    padding: var(--ev-space-1) var(--ev-space-2);
  }
}

@media (max-width: 768px) {
  .av-top {
    height: auto;
    padding: var(--ev-space-3) var(--ev-space-4);
    flex-wrap: wrap;
    gap: var(--ev-space-3);
  }
  .av-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: var(--ev-space-1);
    gap: 0;
    scrollbar-width: none;
  }
  .av-nav::-webkit-scrollbar { display: none; }
  .av-member-meta {
    display: none;
  }
  .av-content {
    padding: var(--ev-space-5) var(--ev-space-4);
  }
  .ev-artwork-overview {
    grid-template-columns: 1fr;
  }
  .ev-artwork-overview__media {
    border-radius: var(--ev-radius-lg) var(--ev-radius-lg) 0 0;
    max-height: 300px;
  }
  .ev-artwork-overview__body {
    padding: var(--ev-space-5) var(--ev-space-5);
  }
  .av-grid {
    grid-template-columns: 1fr;
  }
  .av-trust-strip {
    flex-direction: column;
  }
  .ev-login-box {
    padding: var(--ev-space-8) var(--ev-space-6);
  }
}

@media (max-width: 480px) {
  .av-content {
    padding: var(--ev-space-4);
  }
  .av-topbar {
    flex-direction: column;
    gap: var(--ev-space-4);
  }
  .ev-transfer-shell {
    padding: var(--ev-space-4);
  }
  .ev-transfer-box {
    border-radius: var(--ev-radius-lg);
  }
}
