/* Profile view styles — prefixed profile- to avoid collisions */

/* ── Layout shell ──────────────────────────────────────────────── */
#profileView {
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  padding-bottom: 64px;
}

.profile-hero-wrap {
  position: relative;
  overflow: hidden;
}

.profile-hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 400px at 50% 0%, rgba(74, 142, 255, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(20, 23, 32, 0.6) 0%, var(--bg-primary) 100%);
}

.profile-hero {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 32px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: end;
}

/* ── Hero ──────────────────────────────────────────────────────── */
.profile-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 44px;
  color: var(--text-primary);
  border: 4px solid var(--bg-primary);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  flex-shrink: 0;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.profile-display-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.profile-display-name {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.profile-handle {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-handle .profile-dot {
  color: var(--text-tertiary);
}

.profile-bio {
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
  max-width: 560px;
  margin: 0 0 12px;
}

.profile-links {
  display: flex;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 13px;
  align-items: center;
  flex-wrap: wrap;
}

.profile-links a {
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.profile-links a:hover { color: var(--accent-primary); }

.profile-links .profile-dot {
  color: var(--text-tertiary);
}

.profile-links .profile-brand-icon,
.profile-links svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.profile-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.profile-hero-action-row {
  display: flex;
  gap: 8px;
}

/* ── Badge pills (muted, flat, no gradients) ──────────────────── */
.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}

.profile-badge.creator {
  background: var(--accent-purple-light);
  color: var(--accent-purple);
}

.profile-badge.store {
  background: var(--accent-yellow-light);
  color: var(--warning);
}

.profile-badge.verified {
  background: var(--accent-light);
  color: var(--accent-primary);
}

/* ── Stats strip ──────────────────────────────────────────────── */
.profile-stats-strip {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px 18px;
  display: flex;
  gap: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.profile-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-stat-value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.profile-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  font-weight: 700;
}

.profile-stat.profile-stat-accent .profile-stat-value {
  color: var(--accent-primary);
}

/* ── Tabs ─────────────────────────────────────────────────────── */
.profile-tab-bar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-primary);
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.profile-tab {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: inherit;
}

.profile-tab:hover { color: var(--text-primary); }

.profile-tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-primary);
}

.profile-tab .profile-tab-count {
  color: var(--text-tertiary);
  font-weight: 500;
  margin-left: 4px;
  font-size: 12px;
}

/* ── Page container ───────────────────────────────────────────── */
.profile-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 32px 64px;
}

.profile-section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.profile-section-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  font-weight: 700;
  margin: 0;
}

.profile-section-title strong {
  color: var(--text-primary);
  font-weight: 700;
}

.profile-see-all {
  font-size: 12px;
  color: var(--accent-primary);
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.profile-see-all:hover { text-decoration: underline; }

/* ── Featured tiles ───────────────────────────────────────────── */
.profile-featured {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.profile-feat-tile {
  position: relative;
  aspect-ratio: 63 / 88;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.profile-feat-tile:hover {
  border-color: #2a3245;
  transform: translateY(-1px);
}

.profile-feat-art {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-tertiary);
}

.profile-feat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.88) 100%);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.profile-feat-chip {
  align-self: flex-start;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border-radius: 4px;
  color: var(--text-primary);
}

.profile-feat-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: white;
  margin: 0 0 4px;
  word-break: break-word;
}

.profile-feat-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-feat-placeholder {
  position: relative;
  aspect-ratio: 63 / 88;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-color);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 12px;
  text-align: center;
  padding: 14px;
}

/* ── Two-column layout ────────────────────────────────────────── */
.profile-two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
}

/* ── Deck grid ────────────────────────────────────────────────── */
.profile-deck-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.profile-deck-grid.profile-deck-grid-wide {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.profile-deck-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
  display: block;
  text-decoration: none;
  color: inherit;
}

.profile-deck-card:hover {
  border-color: #2a3245;
  transform: translateY(-1px);
}

.profile-deck-cover {
  aspect-ratio: 16 / 9;
  background: var(--bg-tertiary);
  background-size: cover;
  background-position: center;
  position: relative;
}

.profile-deck-body {
  padding: 12px 14px;
}

.profile-deck-name {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-deck-sub {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-format-badge {
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  background: var(--accent-light);
  color: var(--accent-primary);
}

/* ── Binder / card box grid ──────────────────────────────────── */
.profile-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.profile-item-card {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.profile-item-card:hover {
  border-color: #2a3245;
  transform: translateY(-1px);
}

.profile-item-art {
  position: absolute;
  inset: 0;
  background: var(--bg-tertiary);
  background-size: cover;
  background-position: center;
}

.profile-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.9) 100%);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
}

.profile-item-name {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-item-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* ── Activity list ───────────────────────────────────────────── */
.profile-activity {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-activity-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-activity-item:last-child { border-bottom: none; }

.profile-activity-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-activity-ico [data-lucide] {
  width: 14px;
  height: 14px;
}

.profile-activity-ico.deck {
  color: var(--accent-primary);
  background: var(--accent-light);
}

.profile-activity-ico.binder {
  color: var(--success);
  background: rgba(52, 211, 153, 0.15);
}

.profile-activity-ico.card_box {
  color: var(--warning);
  background: rgba(251, 191, 36, 0.15);
}

.profile-activity-text {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-primary);
}

.profile-activity-text a,
.profile-activity-text .profile-activity-ref {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
}

.profile-activity-time {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.profile-activity-item--clickable {
  cursor: pointer;
  transition: background-color 0.12s;
}

.profile-activity-item--clickable:hover {
  background: rgba(255, 255, 255, 0.04);
}

.profile-activity-item--clickable:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: -2px;
  border-radius: 4px;
}

/* ── Aside cards ─────────────────────────────────────────────── */
.profile-aside-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
}

.profile-aside-card h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  font-weight: 700;
  margin: 0 0 10px;
}

.profile-fav-format {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0;
}

.profile-fav-format-big {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: capitalize;
}

.profile-fav-format-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ── Load more ──────────────────────────────────────────────── */
.profile-load-more {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* ── 404 / empty ────────────────────────────────────────────── */
.profile-empty {
  max-width: 520px;
  margin: 80px auto;
  padding: 40px 24px;
  text-align: center;
  color: var(--text-secondary);
}

.profile-empty h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.profile-empty p {
  font-size: 14px;
  margin: 0 0 20px;
}

.profile-empty-state {
  color: var(--text-tertiary);
  font-size: 13px;
  padding: 24px 0;
  text-align: center;
}

/* ── Skeleton (shimmer) ────────────────────────────────────────── */
@keyframes profileSkShimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.sk {
  background: linear-gradient(
    90deg,
    var(--bg-tertiary) 25%,
    rgba(255, 255, 255, 0.04) 50%,
    var(--bg-tertiary) 75%
  );
  background-size: 200% 100%;
  animation: profileSkShimmer 1.5s infinite;
  border-radius: 4px;
  display: block;
}

.sk-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
  flex-shrink: 0;
}

.sk-line { height: 12px; border-radius: 3px; margin-bottom: 8px; }
.sk-line-title   { width: 240px; height: 28px; margin-bottom: 10px; }
.sk-line-handle  { width: 180px; height: 14px; }
.sk-line-bio     { width: 360px; height: 12px; }
.sk-line-section { width: 160px; height: 18px; margin: 4px 0 14px; }
.sk-line-stat-value { width: 48px; height: 20px; margin-bottom: 6px; }
.sk-line-stat-label { width: 70px; height: 10px; }

.sk-btn { width: 96px; height: 36px; border-radius: 6px; }
.sk-tab { width: 88px; height: 40px; border-radius: 0; margin-right: 2px; }

.sk-featured-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.sk-tile {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
}

.sk-row {
  height: 72px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.sk-aside {
  height: 160px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.sk-deck-card {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
}

.sk-deck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.sk-stat-chip {
  width: 72px;
  height: 20px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.sk-activity-row {
  height: 48px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.sk-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.sk-item-card {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .sk-avatar { width: 80px; height: 80px; }
  .sk-line-title { width: 180px; height: 22px; }
  .sk-line-bio   { width: 240px; }
  .sk-featured-row { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .profile-hero {
    padding: 24px 16px 16px;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "avatar identity"
      "actions actions";
    gap: 14px;
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
    font-size: 28px;
    grid-area: avatar;
  }

  .profile-identity { grid-area: identity; min-width: 0; }

  .profile-display-name { font-size: 22px; }

  .profile-handle { font-size: 13px; }

  .profile-bio { font-size: 13px; }

  .profile-hero-actions {
    grid-area: actions;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .profile-hero-action-row { width: 100%; }

  .profile-hero-action-row .btn {
    flex: 1;
    justify-content: center;
  }

  .profile-stats-strip {
    padding: 14px 16px 16px;
    gap: 14px;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .profile-stats-strip .profile-stat {
    flex-shrink: 1;
    min-width: 0;
  }

  .profile-stat-value { font-size: 16px; }

  .profile-tab-bar { padding: 0 14px; }

  .profile-tab {
    padding: 12px 14px;
    font-size: 12px;
    flex-shrink: 0;
  }

  .profile-page { padding: 18px 14px 40px; }

  .profile-featured {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .profile-two-col {
    grid-template-columns: 1fr;
    gap: 28px;
    min-width: 0;
  }
  .profile-two-col > * { min-width: 0; }

  .profile-deck-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

/* ── Private pill (owner-only badge) ─────────────────────────── */
.profile-pill-private {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-pill-private [data-lucide] {
  width: 11px;
  height: 11px;
  stroke-width: 2.5;
}

.profile-feat-chips {
  display: flex;
  gap: 6px;
  align-self: flex-start;
  flex-wrap: wrap;
}

.profile-item-art .profile-pill-private {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 14, 22, 0.78);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.profile-deck-sub .profile-pill-private {
  text-transform: uppercase;
}

/* ── Edit Featured button ────────────────────────────────────── */
.profile-edit-featured {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}

.profile-edit-featured:hover {
  color: var(--text-primary);
  border-color: #2a3245;
  background: rgba(255, 255, 255, 0.03);
}

.profile-edit-featured [data-lucide] {
  width: 13px;
  height: 13px;
}

/* ── Featured placeholder (owner, empty state) ───────────────── */
.profile-feat-placeholder {
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.profile-feat-placeholder:hover {
  border-color: var(--accent-primary);
  color: var(--text-secondary);
  background: rgba(74, 142, 255, 0.04);
}

.profile-feat-placeholder [data-lucide] {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

/* ── Pin picker modal ────────────────────────────────────────── */
.pin-picker-modal-content {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pin-picker-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin: -12px 0 16px;
}

.pin-picker-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}

.pin-picker-tab {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  font-family: inherit;
}

.pin-picker-tab:hover { color: var(--text-primary); }

.pin-picker-tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-primary);
}

.pin-picker-list {
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-primary);
}

.pin-picker-empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 13px;
}

.pin-picker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.1s;
}

.pin-picker-row:last-child { border-bottom: none; }

.pin-picker-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.pin-picker-row.selected {
  background: rgba(74, 142, 255, 0.08);
}

.pin-picker-row.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.pin-picker-row.disabled:hover {
  background: transparent;
}

.pin-picker-row-main {
  flex: 1;
  min-width: 0;
}

.pin-picker-row-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pin-picker-row-meta {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pin-picker-private {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--text-secondary);
}

.pin-picker-private [data-lucide] {
  width: 11px;
  height: 11px;
}

.pin-picker-row-check {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-primary);
  flex-shrink: 0;
}

.pin-picker-row.selected .pin-picker-row-check {
  background: var(--accent-primary);
  color: white;
}

.pin-picker-row-check [data-lucide] {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}

.pin-picker-tray-wrap {
  margin-top: 16px;
}

.pin-picker-tray-head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 0.15s;
}

.pin-picker-tray-head.pin-picker-limit-flash,
#pinPickerCount.pin-picker-limit-flash {
  color: #f59e0b;
}

.pin-picker-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 32px;
}

.pin-picker-tray-empty {
  font-size: 12px;
  color: var(--text-tertiary);
}

.pin-picker-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 4px 4px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-primary);
}

.pin-picker-chip-pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--accent-primary);
  color: white;
  font-weight: 700;
  font-size: 10px;
}

.pin-picker-chip-kind {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  font-weight: 700;
}

.pin-picker-chip-name {
  font-weight: 600;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pin-picker-chip-remove {
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
}

.pin-picker-chip-remove:hover { color: #f87171; }

@media (max-width: 640px) {
  .pin-picker-modal-content { padding: 20px; }
  .pin-picker-list { max-height: 50vh; }
  .pin-picker-chip-name { max-width: 110px; }
}

/* ── Profile settings page ─────────────────────────────────────────────── */
/* Two-column layout inspired by GitHub / Vercel / Linear settings.        */
/* Dark-theme-native inputs — no browser-default grey fields.              */

#profileSettingsView {
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
}

.pfs-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Top bar ───────────────────────────────────────────────────────────── */
/* Offset: 76px matches the fixed .app-header-content height (main.css:160).
   The shared app header is sticky at top: 0, so pfs-topbar must sit below it
   to avoid visual overlap on mobile (and stacking under the header). */
.pfs-topbar {
  position: sticky;
  top: 76px;
  z-index: 30;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pfs-topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pfs-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 120ms, color 120ms, border-color 120ms;
}
.pfs-back-btn i { width: 16px; height: 16px; }
.pfs-back-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.pfs-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  flex: 1;
  letter-spacing: -0.01em;
}

.pfs-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Shell: sidebar + content ──────────────────────────────────────────── */
.pfs-shell {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 32px 96px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.pfs-nav {
  position: sticky;
  /* 76px app-header + ~52px pfs-topbar = 128px. Stacks under both sticky bars. */
  top: calc(76px + 52px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pfs-nav-item {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 120ms, color 120ms, border-color 120ms;
}
.pfs-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}
.pfs-nav-item.is-active {
  color: var(--text-primary);
  background: rgba(74, 142, 255, 0.08);
  border-left-color: var(--accent-primary);
}

.pfs-content {
  max-width: 620px;
  min-width: 0;
}

/* ── Sections ──────────────────────────────────────────────────────────── */
.pfs-section {
  padding: 0 0 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  scroll-margin-top: 96px;
}
.pfs-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.pfs-section-head {
  margin-bottom: 24px;
}

.pfs-section-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.pfs-section-sub {
  margin: 0;
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ── Fields ────────────────────────────────────────────────────────────── */
.pfs-field {
  margin-bottom: 20px;
}

.pfs-field > label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ── Inputs — dark-theme native ───────────────────────────────────────── */
.pfs-input {
  width: 100%;
  padding: 9px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 120ms, background 120ms, box-shadow 120ms;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.pfs-input::placeholder {
  color: var(--text-tertiary);
  opacity: 0.7;
}

.pfs-input:hover:not(:focus) {
  border-color: rgba(255, 255, 255, 0.14);
}

.pfs-input:focus {
  outline: none;
  background: var(--bg-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(74, 142, 255, 0.18);
}

/* Autofill fix — browsers paint yellow-ish grey otherwise. */
.pfs-input:-webkit-autofill,
.pfs-input:-webkit-autofill:hover,
.pfs-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-primary);
  -webkit-box-shadow: 0 0 0 1000px var(--bg-secondary) inset;
  caret-color: var(--text-primary);
  transition: background-color 9999s ease-in-out 0s;
}

.pfs-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.55;
}

.pfs-select {
  padding-right: 36px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%),
    linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
  background-position:
    right 16px center,
    right 11px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.pfs-select:focus {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent-primary) 50%),
    linear-gradient(135deg, var(--accent-primary) 50%, transparent 50%);
}
.pfs-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* Prefix input (e.g. bindyr.io/u/____) */
.pfs-input-wrap {
  position: relative;
}

.pfs-input-wrap-prefix {
  display: flex;
  align-items: stretch;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: border-color 120ms, background 120ms, box-shadow 120ms;
}
.pfs-input-wrap-prefix:hover:not(:focus-within) {
  border-color: rgba(255, 255, 255, 0.14);
}
.pfs-input-wrap-prefix:focus-within {
  background: var(--bg-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(74, 142, 255, 0.18);
}

.pfs-input-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 4px 0 12px;
  font-size: 13px;
  color: var(--text-tertiary);
  white-space: nowrap;
  user-select: none;
}

.pfs-input-with-prefix {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-left: 4px;
  border-radius: 0 8px 8px 0;
}
.pfs-input-with-prefix:focus {
  background: transparent !important;
}

/* ── Avatar row ────────────────────────────────────────────────────────── */
.pfs-avatar-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pfs-avatar-preview {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #243047, #1a1e2a) center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 22px;
}

.pfs-avatar-input-col {
  flex: 1;
  min-width: 0;
}
.pfs-avatar-input-col .pfs-helper {
  margin-top: 6px;
}

/* ── Helpers / status / counters ──────────────────────────────────────── */
.pfs-helper {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 6px;
  line-height: 1.5;
}

.pfs-helper code {
  background: var(--bg-tertiary);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-secondary);
}

.pfs-username-status {
  font-size: 12px;
  margin-top: 6px;
  color: var(--text-tertiary);
  min-height: 16px;
}
.pfs-username-status.is-checking { color: var(--text-tertiary); }
.pfs-username-status.is-available { color: #4ade80; }
.pfs-username-status.is-unavailable { color: #ef4444; }

.pfs-bio-counter {
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: right;
  margin-top: 6px;
}
.pfs-bio-counter.is-over { color: #ef4444; font-weight: 600; }

.pfs-field-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 6px;
}

/* ── Toggle row ────────────────────────────────────────────────────────── */
.pfs-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.pfs-toggle-copy { flex: 1; min-width: 0; }

.pfs-toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.pfs-toggle-desc {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.pfs-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}
.pfs-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.pfs-switch-track {
  position: absolute;
  inset: 0;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms, border-color 160ms;
}
.pfs-switch-track::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #e6ebf5;
  border-radius: 50%;
  transition: transform 180ms cubic-bezier(0.2, 0.6, 0.2, 1), background 160ms;
}
.pfs-switch input:checked + .pfs-switch-track {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}
.pfs-switch input:checked + .pfs-switch-track::before {
  transform: translateX(18px);
  background: #fff;
}
.pfs-switch input:focus-visible + .pfs-switch-track {
  box-shadow: 0 0 0 3px rgba(74, 142, 255, 0.25);
}

/* ── Banner ────────────────────────────────────────────────────────────── */
.pfs-banner {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.08);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 1.5;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.pfs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms, border-color 120ms, color 120ms, opacity 120ms;
  white-space: nowrap;
}
.pfs-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pfs-btn-primary {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}
.pfs-btn-primary:hover:not(:disabled) {
  background: #3a7ef0;
  border-color: #3a7ef0;
}

.pfs-btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
}
.pfs-btn-secondary:hover:not(:disabled) {
  background: var(--bg-tertiary);
  border-color: rgba(255, 255, 255, 0.14);
}
.pfs-btn-secondary i { width: 14px; height: 14px; }

.pfs-btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
.pfs-btn-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.pfs-avatar-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.pfs-account-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pfs-invite-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pfs-invite-row .pfs-input { flex: 1; min-width: 0; }
.pfs-invite-row .pfs-btn { flex-shrink: 0; }

.pfs-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.pfs-input[readonly] {
  color: var(--text-secondary);
  cursor: default;
}
.pfs-input[readonly]:focus {
  background: var(--bg-secondary);
  border-color: var(--border-color);
  box-shadow: none;
}

.pfs-avatar-preview.is-uploading {
  position: relative;
  opacity: 0.6;
}
.pfs-avatar-preview.is-uploading::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--accent-primary);
  animation: pfs-spin 700ms linear infinite;
}
@keyframes pfs-spin {
  to { transform: rotate(360deg); }
}

.pfs-foot-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

/* ── Saved pill ────────────────────────────────────────────────────────── */
.pfs-saved {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 200;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .pfs-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px 72px;
  }
  .pfs-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 4px;
  }
  .pfs-nav-item {
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: 6px 6px 0 0;
    white-space: nowrap;
  }
  .pfs-nav-item.is-active {
    background: transparent;
    border-left-color: transparent;
    border-bottom-color: var(--accent-primary);
  }
  .pfs-topbar-inner { padding: 12px 20px; }
  .pfs-content { max-width: none; }
}

@media (max-width: 560px) {
  .pfs-topbar-actions .pfs-btn-ghost { display: none; }
  .pfs-back-btn span { display: none; }
  .pfs-title { font-size: 16px; }
  .pfs-avatar-row { flex-direction: column; align-items: flex-start; }
  .pfs-toggle-row { padding: 12px 14px; }
}

/* ─────────────────────────────────────────────────────────────── */
/* Phase 5c mobile polish — all scoped to max-width: 768px.        */
/* Desktop styles above must not be affected.                      */
/* ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Step 7: carousel card sizing on mobile profile. */
  .profile-carousel-view .carousel-scroll { padding-bottom: 8px; }
  .profile-carousel-view .profile-carousel-card {
    width: 220px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .profile-carousel-view .profile-carousel-item {
    width: 220px;
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .profile-carousel-view .carousel-header { padding: 10px 14px 6px; }
  .profile-carousel-view .carousel-label { font-size: 0.82rem; }

  /* Step 8: hide the stats-strip scrollbar on mobile. */
  .profile-stats-strip::-webkit-scrollbar { display: none; }
  .profile-stats-strip { scrollbar-width: none; }

  /* Step 9: soften aside card boxiness on mobile. Section dividers replace
     the heavy border/background. Do NOT apply to deck/binder cover tiles. */
  .profile-aside-card {
    background: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 0;
    margin-bottom: 0;
  }

  /* Step 10: pin picker modal polish. */
  .pin-picker-row {
    padding: 12px 14px;
    min-height: 48px;
  }
  .pin-picker-chip-name {
    max-width: 60vw;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
  .pin-picker-modal-content {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  /* Step 11: Settings nav item tap targets at least 44px. */
  .pfs-nav-item {
    padding: 12px 14px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Step 12: Settings prefix input stacks vertically on mobile. */
  .pfs-input-wrap-prefix {
    flex-direction: column;
    align-items: stretch;
  }
  .pfs-input-prefix {
    padding: 6px 12px 0;
    font-size: 11px;
  }
  .pfs-input-with-prefix {
    padding-left: 12px;
    border-radius: 0 0 8px 8px;
  }

  /* Step 13: Settings footer actions stack full-width, primary on bottom. */
  .pfs-foot-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
  }
  .pfs-foot-actions .pfs-btn {
    width: 100%;
    min-height: 44px;
  }

  /* Step 14: Settings buttons have a comfortable 44px tap height. */
  .pfs-btn {
    min-height: 44px;
    padding: 10px 16px;
  }

  /* Step 15: Keep the saved/toast pill above the iOS keyboard safe area.
     No visualViewport JS — cheap CSS-only fallback using env(). */
  .pfs-saved {
    bottom: max(16px, env(safe-area-inset-bottom));
  }
  .pfs-toast {
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  /* Step 16: avatar dropdown must not clip narrow viewports. */
  .account-dropdown {
    right: 8px;
    max-width: calc(100vw - 16px);
  }

  /* Step 17 (bugfix): profile social links — icon-only tap targets on mobile. */
  .profile-links { gap: 12px; }
  .profile-links .profile-link-label,
  .profile-links .profile-dot { display: none; }
  .profile-links a {
    min-height: 44px;
    min-width: 44px;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  .profile-links .profile-brand-icon,
  .profile-links svg {
    width: 22px;
    height: 22px;
  }

  /* Step 18 (bugfix): horizontal overflow safety clamp — profile only. */
  #profileView { overflow-x: hidden; }
  .profile-page { max-width: 100%; }

  /* Step 19 (bugfix): prevent grid/flex children from forcing overflow. */
  .profile-identity { min-width: 0; }
  .profile-activity-item > div { min-width: 0; }
  .profile-activity-text {
    min-width: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .profile-deck-card { min-width: 0; }
  .profile-deck-card .profile-deck-name { min-width: 0; }

  /* Bug 1: tighten hero padding on mobile so links fit without clipping. */
  .profile-hero {
    padding: 28px 12px 20px;
    gap: 12px;
  }
  .profile-avatar {
    width: 68px !important;
    height: 68px !important;
  }
  .profile-links {
    gap: 6px;
    flex-wrap: wrap;
  }
  .profile-links a {
    min-width: 40px;
    min-height: 40px;
    padding: 6px;
  }

  /* Bug 5: constrain carousel to parent width on mobile so inner scroll works.
     Scoped to .profile-carousel-view so the deck-editor .deck-carousel-view
     is not affected. */
  .profile-carousel-view {
    max-width: 100%;
    width: 100%;
    overflow-x: visible !important;
  }
  .profile-carousel-view .carousel-section {
    max-width: 100%;
    overflow: visible;
  }
  .profile-carousel-view .carousel-scroll-wrap {
    max-width: 100%;
    overflow: hidden;
  }
  .profile-carousel-view .carousel-scroll {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Bug 6: hide favorite-format aside on mobile (already shown in stats strip). */
  #profileAsideFavFormat { display: none; }

  /* Bug 7: force activity refs (deck/card names) to wrap on mobile. */
  .profile-activity-ref,
  .profile-activity-text {
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
  }
  .profile-activity-item {
    max-width: 100%;
    overflow: hidden;
  }
}

/* ── Global toast (used across app) ─────────────────────────────────── */
#bindyrToastHost {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}
.bindyr-toast {
  pointer-events: auto;
  background: rgba(20, 20, 24, 0.96);
  color: #f3f4f6;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
  cursor: pointer;
  user-select: none;
}
.bindyr-toast--visible { opacity: 1; transform: translateY(0); }
.bindyr-toast--info  { border-left: 3px solid #8b5cf6; }
.bindyr-toast--warn  { border-left: 3px solid #f59e0b; }
.bindyr-toast--error { border-left: 3px solid #ef4444; }
