/* ── VibeLive Shared Styles ── */

:root {
  --bg: #060606;
  --bg-center: #0a0a0a;
  --card: #0a0a0a;
  --card-alt: #0f0f0f;
  --card-alt2: #0c0c0c;
  --text: #e5e7eb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-body: rgba(230,241,242,0.65);
  --border: #1a1a1a;
  --border-soft: rgba(255,255,255,0.08);
  --border-softer: rgba(255,255,255,0.1);
  --inputBg: #151515;
  --accent: #0EA5A4;
  --accent-hover: #0d9488;
  --accent-subtle: rgba(14,165,164,0.10);
  --accent-glow: rgba(14,165,164,0.30);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Global Header ── */
.vl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.vl-header-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vl-header-logo { height: 28px; }

.vl-header nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.vl-header-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}
.vl-header-link:hover { color: var(--text); }
.vl-header-link.active { color: var(--accent); }

.vl-header-cta {
  font-size: 14px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 9999px;
  border: none;
  background: var(--accent-subtle);
  color: var(--accent);
  cursor: pointer;
  transition: background 0.15s;
}
.vl-header-cta:hover { background: rgba(14,165,164,0.20); }

.vl-header-user-email {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Avatar & Dropdown */
.vl-avatar {
  all: unset;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #e5e7eb;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.vl-avatar:hover { border-color: rgba(14,165,164,0.5); }
.vl-avatar-dropdown {
  display: none !important;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 8px 0;
  min-width: 220px;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.vl-avatar-dropdown.open { display: flex !important; flex-direction: column; }
.vl-avatar-dropdown-header { padding: 12px 16px 8px; }
.vl-avatar-dropdown-email { font-size: 13px; color: #9ca3af; }
.vl-avatar-dropdown-divider { height: 1px; background: #1a1a1a; margin: 4px 0; }
.vl-avatar-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #e5e7eb;
  text-decoration: none;
  transition: background 0.15s;
}
.vl-avatar-dropdown a:hover { background: rgba(255,255,255,0.04); }
.vl-avatar-dropdown-signout { color: #9ca3af !important; }
.vl-avatar-dropdown-signout:hover { color: #f87171 !important; }

/* Desktop nav */
.vl-header-desktop { display: none; }
.vl-hamburger { display:flex; align-items:center; justify-content:center; width:36px; height:36px; background:none; border:none; cursor:pointer; padding:0; }
.vl-hamburger svg { stroke: var(--text-muted); transition: stroke 0.15s; }
.vl-hamburger:hover svg { stroke: var(--text); }
.vl-mobile-menu { display:none; position:absolute; top:100%; right:0; background:#0d0d0d; border:1px solid #1a1a1a; border-radius:12px; padding:8px 0; min-width:200px; z-index:100; box-shadow:0 8px 32px rgba(0,0,0,0.4); }
.vl-mobile-menu.open { display:flex; flex-direction:column; }
.vl-mobile-menu a, .vl-mobile-menu span { display:block; padding:10px 20px; font-size:14px; font-weight:500; color:var(--text-muted); text-decoration:none; transition:color 0.15s; }
.vl-mobile-menu a:hover { color:var(--text); }
.vl-mobile-menu .vl-mobile-email { font-size:13px; color:var(--text-muted); border-bottom:1px solid #1a1a1a; padding-bottom:12px; margin-bottom:4px; }
.vl-mobile-menu .vl-mobile-cta { color:var(--accent); }

@media (min-width: 640px) {
  .vl-header-desktop { display:flex; align-items:center; gap:1.5rem; }
  .vl-hamburger { display:none; }
  .vl-mobile-menu { display:none !important; }
}

/* ── Footer ── */
.vl-footer {
  background: var(--bg);
  padding: 20px 24px 16px;
}

.vl-footer-inner {
  max-width: 980px;
  margin: 0 auto;
}

.vl-footer-row1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.vl-footer-logo { height: 16px; }

.vl-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 24px;
  row-gap: 8px;
}

.vl-footer-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.15s;
}
.vl-footer-link:hover { color: var(--accent); }

.vl-footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 12px 0 4px;
}

.vl-footer-row2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vl-footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.vl-footer-socials {
  display: flex;
  align-items: center;
  gap: 4px;
}

.vl-footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}
.vl-footer-socials a:hover { color: var(--accent); }
.vl-footer-socials svg { width: 18px; height: 18px; }

/* ── Legal page styles (privacy, terms) ── */
.legal-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 24px;
}

.legal-title-block {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-soft);
}

.legal-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 13px;
  color: var(--text-muted);
}

.legal-intro {
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
}

.legal-intro p + p { margin-top: 12px; }

.legal-sections { }
.legal-sections section + section { margin-top: 40px; }

.legal-sections h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  padding-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.legal-sections h2 .num {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.legal-sections .body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
}

.legal-sections .body p + p { margin-top: 12px; }

.legal-sections .body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-top: 16px;
  margin-bottom: 8px;
}

.legal-sections .body ul {
  margin: 8px 0 8px 20px;
  list-style: none;
}

.legal-sections .body ul li {
  position: relative;
  padding-left: 12px;
  font-size: 15px;
}

.legal-sections .body ul li + li { margin-top: 6px; }

.legal-sections .body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  background: rgba(14,165,164,0.6);
  border-radius: 50%;
}

.legal-sections .contact-box {
  padding: 20px;
  background: var(--card-alt2);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  font-size: 15px;
  color: var(--text-body);
}

.legal-sections .contact-box p + p { margin-top: 4px; }

.accent-link {
  color: var(--accent);
  transition: color 0.15s;
}
.accent-link:hover { color: rgba(14,165,164,0.8); }

/* ── Blog styles ── */
.blog-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 24px;
}

.blog-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.blog-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.blog-search {
  position: relative;
  margin-bottom: 16px;
}

.blog-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.blog-search input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  font-size: 13px;
  background: var(--inputBg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}

.blog-search input:focus {
  border-color: var(--accent);
}

.blog-search input::placeholder { color: var(--text-muted); }

.blog-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.blog-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.blog-tag.active {
  border-color: var(--accent);
  background: var(--accent-subtle);
  color: var(--accent);
}

.blog-post-link {
  display: block;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.15s;
}
.blog-post-link:hover { opacity: 0.85; }

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.blog-post-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
}

.blog-post-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
}

.blog-post-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.blog-post-tag {
  font-size: 10px;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 2px 8px;
  border-radius: 4px;
}

.blog-post-reading {
  font-size: 12px;
  color: var(--text-muted);
}
.blog-post-author {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  display: block;
}
.blog-empty {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  padding: 32px 0;
}

/* ── Blog article ── */
.blog-article {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 24px;
}
.blog-article .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 32px;
}
.blog-article .back-link:hover { color: var(--text); }
.blog-article-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
}
.blog-article-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 16px;
}
.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.blog-article-meta span + span::before {
  content: "\00b7";
  margin-right: 12px;
}
.blog-article-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.blog-article-body p { margin-bottom: 24px; }
.blog-article-body p:last-child { margin-bottom: 0; }

/* ── Gallery / Built page ── */
.gallery-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

.gallery-hero {
  text-align: center;
  padding: 80px 0 56px;
}

.gallery-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.gallery-hero p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--accent);
  transition: background 0.15s;
}
.gallery-hero-btn:hover { background: var(--accent-hover); }

/* Filters — dropdown selects */
.gallery-filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.gallery-select {
  font-size: 13px;
  background: #0f0f0f;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 32px 8px 12px;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
.gallery-select:focus { border-color: rgba(14,165,164,0.4); }

/* Loading / empty state */
.gallery-empty {
  text-align: center;
  padding: 64px 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ── Showcase Card (matches original Next.js design) ── */
.sc-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #0f0f0f;
  overflow: hidden;
  transition: border-color 0.15s;
}
.sc-card:hover { border-color: #252525; }

.sc-img {
  aspect-ratio: 16/9;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.sc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sc-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #252525;
}

.sc-body {
  padding: 20px;
}

.sc-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.sc-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.sc-pill {
  flex-shrink: 0;
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 9999px;
  background: var(--accent-subtle);
  color: var(--accent);
  white-space: nowrap;
}

.sc-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
}

.sc-problem {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.sc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.sc-built-by {
  font-size: 12px;
  color: var(--text-muted);
}

.sc-builder-name {
  color: var(--text-secondary);
}

.sc-builder-link {
  color: var(--text-secondary);
  transition: color 0.15s;
}
.sc-builder-link:hover { color: var(--accent); }

.sc-visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  transition: color 0.15s;
}
.sc-visit:hover { color: var(--accent-hover); }

/* Bottom CTA — bordered card */
.gallery-cta-card {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 40px;
  padding: 48px 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #0a0a0a;
}

.gallery-cta-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.gallery-cta-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ── Console page ── */
.console-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.console-login {
  width: 100%;
  max-width: 420px;
}

.console-login h1 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.console-login p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 32px;
}

.console-login form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.console-login input {
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.console-login input:focus { border-color: rgba(14,165,164,0.5); }
.console-login input::placeholder { color: #4b5563; }

.console-login button {
  width: 100%;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #060606;
  background: var(--accent);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.console-login button:hover { opacity: 0.9; }
.console-login button:disabled { opacity: 0.5; }

.console-helper {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
  min-height: 18px;
}

/* ── Docs page ── */
.docs-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 24px 40px;
}

.docs-page h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.docs-page .docs-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.docs-section {
  margin-bottom: 48px;
}

.docs-section h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}

.docs-section h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-top: 20px;
  margin-bottom: 8px;
}

.docs-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 12px;
}

.docs-section ul {
  margin: 8px 0 16px 20px;
  list-style: none;
}

.docs-section ul li {
  position: relative;
  padding-left: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
}

.docs-section ul li + li { margin-top: 4px; }

.docs-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 4px;
  height: 4px;
  background: rgba(14,165,164,0.6);
  border-radius: 50%;
}

.docs-code {
  display: block;
  padding: 16px 20px;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: "SF Mono", "Fira Code", "Fira Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  overflow-x: auto;
  margin: 12px 0 16px;
  white-space: pre;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 16px;
  font-size: 13px;
}

.docs-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--card-alt2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 600;
}

.docs-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text-body);
}

/* FAQ */
.docs-faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}

.docs-faq-q {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.docs-faq-a {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
}

/* ── Form styles (submit, manage) ── */
.form-page {
  max-width: 540px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
@media (max-width: 480px) {
  .form-page { padding: 32px 16px 64px; }
}

.form-page h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.form-page .form-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.back-link, .form-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 32px;
  text-decoration: none;
  transition: color 0.15s;
}
.back-link:hover, .form-back:hover { color: #6b7280; }

.form-field { margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }

.form-label .required, .form-label .req { color: var(--accent); }

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

.form-label .req { color: var(--accent); }

.form-input {
  width: 100%;
  font-size: 13px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.15s;
}

.form-input:focus { border-color: rgba(14,165,164,0.4); }
.form-input::placeholder { color: #4b5563; }

textarea.form-input, .form-textarea { resize: none; font-family: inherit; }

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-hint {
  font-size: 11px;
  color: #4b5563;
  margin-top: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-error {
  font-size: 13px;
  color: #f87171;
  background: rgba(248,113,113,0.05);
  border: 1px solid rgba(248,113,113,0.1);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 20px;
}

.form-success, .form-success-msg {
  font-size: 13px;
  color: #4ade80;
  background: rgba(74,222,128,0.05);
  border: 1px solid rgba(74,222,128,0.1);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 20px;
}

.form-submit {
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  padding: 12px 20px;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}
.form-submit:hover { background: var(--accent-hover); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* Screenshot upload area */
.upload-area {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  border: 1px dashed var(--border);
  background: var(--card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.upload-area:hover { border-color: #333; }
.upload-area span { font-size: 12px; color: #4b5563; }

.upload-preview {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}

.upload-preview img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.upload-remove, .upload-preview .remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: none;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s;
}
.upload-remove:hover, .upload-preview .remove-btn:hover { color: #fff; }

.upload-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Success card (after submit) */
.success-card {
  border-radius: 16px;
  border: 1px solid rgba(14,165,164,0.2);
  background: rgba(14,165,164,0.05);
  padding: 32px;
  text-align: center;
}

.success-card .success-icon, .success-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(14,165,164,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.success-card h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.success-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Manage link box */
.manage-link-box {
  text-align: left;
}

.manage-link-label, .manage-link-box .label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.manage-link-hint, .manage-link-box .hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.manage-link-row, .manage-link-box .link-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.manage-link-input, .manage-link-box .link-row input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 8px;
  padding: 8px 12px;
  outline: none;
}

.manage-link-copy, .manage-link-box .link-row button {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: var(--accent-subtle);
  color: var(--accent);
  cursor: pointer;
  transition: background 0.15s;
}
.manage-link-copy:hover, .manage-link-box .link-row button:hover { background: rgba(14,165,164,0.2); }

/* Status badge */
.status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 9999px;
}
.status-badge.pending { background: rgba(14,165,164,0.1); color: var(--accent); }
.status-badge.approved { background: rgba(74,222,128,0.1); color: #4ade80; }
.status-badge.rejected { background: rgba(248,113,113,0.1); color: #f87171; }
.status-badge.hidden { background: rgba(250,204,21,0.1); color: #facc15; }

/* Danger zone (hide/delete) */
.danger-zone {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.danger-zone button {
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
}
.danger-zone button:disabled { opacity: 0.5; cursor: not-allowed; }

.danger-zone .btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.danger-zone .btn-secondary:hover { color: var(--text); border-color: #333; }

.danger-zone .btn-danger {
  background: transparent;
  border: 1px solid rgba(248,113,113,0.2);
  color: #f87171;
}
.danger-zone .btn-danger:hover { background: rgba(248,113,113,0.05); }

/* ── Admin review (console) ── */
.admin-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.admin-tab {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.15s;
}
.admin-tab:hover { color: var(--text-secondary); }
.admin-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.admin-build-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  margin-bottom: 12px;
}

.admin-build-img {
  width: 120px;
  height: 68px;
  border-radius: 6px;
  object-fit: cover;
  background: #111;
  flex-shrink: 0;
}

.admin-build-info { flex: 1; min-width: 0; }

.admin-build-info h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.admin-build-info .tagline {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.admin-build-info .meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.admin-build-actions {
  display: flex;
  gap: 8px;
}

.admin-build-actions button {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
}

.admin-btn-approve {
  font-size: 11px; font-weight: 500; padding: 4px 12px; border-radius: 6px; cursor: pointer; transition: all 0.15s;
  background: #0EA5A4;
  color: #060606;
  border: none;
}
.admin-btn-approve:hover { opacity: 0.85; }

.admin-btn-reject {
  font-size: 11px; font-weight: 500; padding: 4px 12px; border-radius: 6px; cursor: pointer; transition: all 0.15s;
  background: transparent;
  border: 1px solid #333;
  color: #9ca3af;
}
.admin-btn-reject:hover { background: rgba(255,255,255,0.04); }

.admin-btn-delete {
  font-size: 11px; font-weight: 500; padding: 4px 12px; border-radius: 6px; cursor: pointer; transition: all 0.15s;
  background: transparent;
  border: 1px solid #333;
  color: #f87171;
}
.admin-btn-delete:hover { background: rgba(248,113,113,0.08); }

/* ── Utility ── */
.max-w-980 { max-width: 980px; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

