@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@500;600&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #F7F7F4;
  color: #1C1C1A;
}
button, input, textarea { font-family: inherit; }

.wrap { max-width: 420px; margin: 0 auto; padding: 40px 20px 60px; text-align: center; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: #3D5A50; color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600;
}
.name { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; margin: 0 0 3px; }
.tagline { font-size: 13px; color: #E8A33D; font-weight: 500; margin-bottom: 8px; }
.bio { font-size: 13.5px; color: #6B6B66; line-height: 1.5; margin: 0 0 20px; }

.filter-row { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.pill {
  padding: 6px 13px; border-radius: 20px; border: 1px solid #E5E4DF;
  background: #fff; font-size: 12.5px; color: #6B6B66; cursor: pointer;
}
.pill.active { background: #1C1C1A; color: #fff; border-color: #1C1C1A; }

.social-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.social-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 20px; border: 1px solid #E5E4DF;
  background: #fff; font-size: 12.5px; font-weight: 500; cursor: pointer; color: #1C1C1A;
  text-decoration: none;
}

.card {
  display: flex; align-items: center; gap: 11px; width: 100%;
  background: #fff; border: 1px solid #E5E4DF; border-radius: 14px;
  padding: 12px 14px; margin-bottom: 10px; cursor: pointer; text-align: left;
  text-decoration: none; color: inherit;
}
.card-icon {
  width: 36px; height: 36px; border-radius: 10px; background: #E7EEEA;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.card-title { font-size: 14px; font-weight: 500; }
.card-desc { font-size: 12px; color: #9A9A93; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.price-badge {
  background: #FCF0DC; color: #8A5A17; font-size: 12px; font-weight: 600;
  padding: 3px 9px; border-radius: 20px; flex-shrink: 0; font-family: 'IBM Plex Mono', monospace;
}
.empty { color: #9A9A93; font-size: 13px; }

.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; text-align: left; }
.shop-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid #E5E4DF;
  border-radius: 14px; overflow: hidden; cursor: pointer; text-decoration: none; color: inherit;
}
.shop-card-image {
  width: 100%; aspect-ratio: 1 / 1; background: #E7EEEA;
  display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 26px;
}
.shop-card-image img { width: 100%; height: 100%; object-fit: cover; }
.shop-card-body { padding: 10px 11px 11px; }
.shop-card-title { font-size: 13px; font-weight: 500; line-height: 1.3; }
.shop-card-desc {
  font-size: 11.5px; color: #9A9A93; margin-top: 3px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.shop-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.get-btn { font-size: 11.5px; color: #3D5A50; font-weight: 500; }

.pay-note { font-size: 11.5px; color: #9A9A93; text-align: left; margin: 4px 0 16px; line-height: 1.5; }
.btn-primary {
  display: inline-block; margin-top: 16px; background: #3D5A50; color: #fff;
  padding: 10px 20px; border-radius: 10px; font-size: 14px; font-weight: 500; text-decoration: none;
}
.badge {
  display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px;
  font-family: 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: 0.3px;
}
.badge-pro { background: #FCF0DC; color: #8A5A17; }
.badge-free { background: #EFEEE9; color: #6B6B66; }
.badge-disabled { background: #F7DCDC; color: #A32D2D; margin-left: 6px; }
.overlay {
  position: fixed; inset: 0; background: rgba(28,28,26,0.35);
  display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px;
}
.modal {
  background: #fff; border-radius: 16px; padding: 22px; width: 380px; max-width: 100%;
  max-height: 90vh; overflow-y: auto;
}
.cat-pick button:disabled { opacity: 0.55; cursor: not-allowed; }
.featured-method {
  padding: 12px 14px; border: 1px solid #3D5A50; border-radius: 12px;
  margin-bottom: 8px; background: #E7EEEA;
}
.featured-method .method-label { font-size: 16px; font-weight: 700; color: #1C1C1A; }
.featured-method .method-value { font-size: 14px; color: #3D5A50; margin-top: 2px; font-weight: 500; }

/* Dashboard specific */
.dash-shell { max-width: 720px; margin: 0 auto; padding: 30px 16px 60px; }
.dash-card { background: #fff; border: 1px solid #E5E4DF; border-radius: 16px; padding: 20px; margin-bottom: 20px; }
.dash-card h3 { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 600; margin: 0 0 14px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; color: #6B6B66; margin-bottom: 6px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 9px 11px; border-radius: 9px; border: 1px solid #E5E4DF;
  font-size: 14px; outline: none;
}
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #3D5A50; color: #fff; border: none; border-radius: 9px;
  padding: 9px 15px; font-size: 13px; font-weight: 500; cursor: pointer;
}
.btn.secondary { background: #F1F0EC; color: #1C1C1A; border: 1px solid #E5E4DF; }
.btn.danger { background: #fff; color: #A32D2D; border: 1px solid #F0C9C9; padding: 6px 10px; }
.link-row {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px;
  border: 1px solid #EEEDE7; border-radius: 11px; margin-bottom: 8px;
}
.link-row .meta { font-size: 11.5px; color: #9A9A93; font-family: 'IBM Plex Mono', monospace; }
.top-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.top-bar .status { margin-left: auto; font-size: 12px; color: #9A9A93; font-family: 'IBM Plex Mono', monospace; }
.login-box { max-width: 340px; margin: 80px auto; text-align: center; }
.cat-pick { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-pick button {
  padding: 7px 10px; border-radius: 8px; border: 1px solid #E5E4DF; background: #fff;
  font-size: 12.5px; color: #6B6B66; cursor: pointer;
}
.cat-pick button.active { background: #3D5A50; color: #fff; border-color: #3D5A50; }
