@charset "UTF-8";
:root {
  --bg: #0b0b0b;
  --fg: #ffffff;
  --muted: #9a9a9a;
  --gold: #d1b08c;
  --grid: 8px;
  --panel-h: 120px;
}

html,
body {
  background: var(--bg);
  color: var(--fg);
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--grid) * 4) calc(var(--grid) * 3);
  padding-bottom: calc(var(--panel-h) + 24px + env(safe-area-inset-bottom));
}

h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: 0.2px;
  margin: 0 0 calc(var(--grid) * 3);
  text-align: center;
}

p.sub {
  text-align: center;
  color: var(--muted);
  margin: 0 0 calc(var(--grid) * 4);
}

.slider-frame {
  position: relative;
  margin-bottom: 16px;
}

.slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: calc(var(--grid) * 2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: calc(var(--grid) * 2);
  -webkit-overflow-scrolling: touch;
}

.card {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.card.is-selected {
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  border-width: 4px;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.card .imgbox {
  aspect-ratio: 4/5;
  background: #0f0f0f;
  display: block;
  width: 100%;
}
.card .imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card .meta {
  padding: calc(var(--grid) * 2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--grid) * 2);
}
.card .meta .name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card .meta .choose {
  appearance: none;
  border: 1px solid var(--gold);
  color: var(--fg);
  background: transparent;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.12s ease, color 0.12s ease;
}
.card .meta .choose:hover, .card .meta .choose:focus {
  background: var(--gold);
  color: #111;
  outline: none;
}

.arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.arrows .arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  pointer-events: auto;
  border: 1px solid #2a2a2a;
  background: rgba(15, 15, 15, 0.7);
  color: var(--fg);
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.12s ease;
}
.arrows .arrow:hover, .arrows .arrow:focus {
  border-color: var(--gold);
  outline: none;
}
.arrows .arrow.left {
  left: -8px;
}
.arrows .arrow.right {
  right: -8px;
}

/* AIRY panel layout */
.panel {
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(12, 12, 12, 0.75);
  border-top: 1px solid #1e1e1e;
  margin-top: calc(var(--grid) * 4);
  /* more breathing room */
  padding: calc(var(--grid) * 3) calc(var(--grid) * 2);
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(var(--grid) * 2);
  align-items: center;
}
.panel .pill {
  grid-area: pill;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.panel .fields {
  grid-area: fields;
  /* vertical stack even on desktop to avoid cramping */
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  row-gap: calc(var(--grid) * 1.5);
}
.panel .fields input[type=email],
.panel .fields input[type=file] {
  width: 100%;
  background: #0f0f0f;
  border: 1px solid #2a2a2a;
  color: var(--fg);
  padding: 12px 14px; /* a tad roomier */
  border-radius: 12px;
  font-size: 16px; /* ✅ keep 16px to prevent iOS zoom */
  line-height: 1.2;
}
.panel .cta {
  grid-area: cta;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #111;
  font-weight: 700;
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  width: 50%;
  margin: auto;
}
.panel .cta[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.searcher input {
  width: 100%;
  background: #0f0f0f;
  border: 1px solid #2a2a2a;
  color: var(--fg);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 16px;
}

.results {
  margin: 6px 0 0;
  list-style: none;
  padding: 0;
  max-height: 240px;
  overflow: auto;
  border: 1px solid #242424;
  border-radius: 12px;
  background: #0e0e0e;
  display: none;
}
.results li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #181818;
}
.results li:last-child {
  border-bottom: 0;
}
.results li img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
}
.results li .title {
  font-size: 14px;
}
.results li .slug {
  color: var(--muted);
  font-size: 12px;
}
.results li .add {
  border: 1px solid var(--gold);
  color: var(--fg);
  background: transparent;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
}
.results li .add:hover {
  background: var(--gold);
  color: #111;
}

.hint {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}

.err {
  color: #ff6666;
  font-size: 13px;
  margin-top: 6px;
}

.ty-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--grid) * 8) calc(var(--grid) * 3);
  text-align: center;
}
.ty-wrap h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: calc(var(--grid) * 2);
}
.ty-wrap p.sub {
  color: var(--muted);
  margin-bottom: calc(var(--grid) * 4);
}
.ty-wrap .cta {
  display: inline-block;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #111;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
}
.ty-wrap .links {
  margin-top: calc(var(--grid) * 4);
  display: flex;
  gap: calc(var(--grid) * 2);
  justify-content: center;
  flex-wrap: wrap;
}
.ty-wrap .links a {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: var(--gold); /* beige/gold fill */
  color: #111; /* dark text for contrast */
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}
.ty-wrap .links a:hover, .ty-wrap .links a:focus {
  background: transparent;
  color: var(--fg);
  outline: none;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--grid) * 2) calc(var(--grid) * 3);
  border-bottom: 1px solid #1e1e1e;
  background: var(--bg);
}
.header .logo-link img {
  height: 32px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .header .logo-link img {
    height: 28px;
  }
}
@media (max-width: 768px) {
  :root {
    --panel-h: 148px;
  } /* conservative default */
  .panel {
    grid-template-columns: 1fr;
    grid-template-areas: "pill" "fields" "cta";
    row-gap: calc(var(--grid) * 2);
    padding: calc(var(--grid) * 2);
  }
  .panel .cta {
    width: 100%;
  }
  .arrows {
    display: none;
  }
}

/*# sourceMappingURL=visualization.css.map */
