/* Figtree: SIL Open Font License 1.1, https://github.com/google/fonts/blob/main/ofl/figtree/OFL.txt */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/_a/figtree-latin.8330490a01.woff2") format("woff2");
}
/* Chivo is licensed under the SIL Open Font License 1.1:
   https://github.com/google/fonts/blob/main/ofl/chivo/OFL.txt */
@font-face {
  font-family: "Chivo";
  src: url("/_a/chivo-900-latin.6f2211cb28.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ground: #101512;
  --surface: #18211b;
  --raised: #222e26;
  --ink: #f4f7eb;
  --muted: #c1cbbd;
  --edge: #647468;
  --line: color-mix(in srgb, var(--edge) 55%, var(--ground));
  --accent: #d5f585;
  --accent-hover: #e5ffab;
  --accent-wash: color-mix(in srgb, var(--accent) 10%, var(--raised));
  --forest: #253925;
  --danger: #ffc2b8;
  --body: "Figtree", system-ui, sans-serif;
  --display: "Chivo", system-ui, sans-serif;
  --code: ui-monospace, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
}
#main { flex: 1 0 auto; }
::selection { color: var(--ground); background: var(--accent); }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: var(--accent-hover); }
button, input, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 750; line-height: 1.08; letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 23px; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  background: var(--ground);
  padding: 12px;
}
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.header-inner { min-height: 68px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -.035em;
}
.wordmark img { width: 30px; height: 30px; }
nav { display: flex; align-items: center; gap: 23px; }
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 640;
}
nav a:hover { color: var(--ink); text-decoration: underline; }

.hero {
  padding-block: 41px 57px;
  background: radial-gradient(ellipse 64% 70% at 92% 55%, var(--forest), transparent 78%);
}
.hero-title { margin-bottom: 25px; }
.hero h1 {
  font: 900 clamp(38px, 5.9vw, 77px)/.99 var(--display);
  color: var(--accent);
  letter-spacing: -.036em;
  text-wrap: balance;
}
.hero-title p { max-width: 64ch; margin-top: 12px; color: var(--muted); }
.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.095fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 58px);
  align-items: start;
}
.workbench-form {
  min-width: 0;
  padding: clamp(17px, 2.55vw, 34px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.workbench-output { min-width: 0; }
.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 4px;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.modes button {
  min-height: 44px;
  padding: 5px 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 710;
}
.modes button:hover { color: var(--ink); }
.modes button[aria-pressed="true"] {
  background: var(--accent-wash);
  border-color: var(--line);
  color: var(--accent);
}
.file-field { margin-top: 19px; }
.file-target {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  overflow: hidden;
  border: 1px dashed var(--edge);
  border-radius: 9px;
  background: var(--raised);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.file-target:hover, .file-target[data-dragging], .file-target:focus-within {
  background: var(--accent-wash);
  border-color: var(--accent);
}
.file-target:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; }
.file-target strong, .file-target small { display: block; }
.file-target small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.file-icon {
  display: grid;
  flex: 0 0 33px;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid var(--edge);
  border-radius: 50%;
  color: var(--accent);
}
.file-target input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.hint { margin-top: 7px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.artist-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 17px; }
.artist-fields > div { display: flex; flex-direction: column; min-width: 0; }
.artist-fields input { margin-top: auto; }
.artist-fields label, .check-input label, [data-copy-fallback] label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 720;
}
.check-input, [data-copy-fallback] { margin-top: 17px; }
input[type="text"], textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 9px 11px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--ground);
  caret-color: var(--accent);
  font-size: 16px;
}
input::placeholder { color: var(--muted); opacity: 1; }
input[aria-invalid="true"] { border-color: var(--danger); }
.form-actions, .result-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 14px; margin-top: 16px; }
.button {
  display: inline-flex;
  min-height: 46px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 770;
  transition: background-color 150ms ease, transform 150ms ease;
}
.button:active { transform: translateY(1px); }
.primary { background: var(--accent); color: var(--ground); }
.primary:hover { background: var(--accent-hover); }
.secondary { background: var(--surface); border-color: var(--edge); color: var(--ink); }
.secondary:hover { background: var(--raised); }
.button:disabled { opacity: .65; cursor: wait; }
.text-button {
  min-height: 44px;
  padding: 5px 3px;
  border: 0;
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .23em;
  font-size: 14px;
  font-weight: 690;
}
.text-button:hover { color: var(--accent-hover); }
.photo { display: flex; align-items: center; gap: 11px; margin-top: 10px; font-size: 14px; }
.photo strong, .photo .text-button { display: block; }
.photo-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--edge);
  border-radius: 6px;
  background: var(--ground);
}
.photo img { display: block; object-fit: contain; }
.file-message { margin-top: 8px; color: var(--danger); font-size: 14px; font-weight: 650; }

.poster {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 76% 47%, var(--forest), transparent 72%),
    radial-gradient(ellipse at 12% 66%, var(--raised), transparent 62%),
    var(--ground);
  color: var(--ink);
}
.poster-top, .poster-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 14px;
  padding: 12px 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 710;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.poster-top { border-bottom: 1px solid var(--line); }
.poster-top span:last-child { text-align: right; color: var(--accent); }
.poster-foot { border-top: 1px solid var(--line); }
.poster-foot span:last-child { color: var(--accent); font-family: var(--code); text-align: right; }
.poster-center { padding: 20px 18px 19px; }
.poster-center p {
  margin: 0;
  color: var(--accent);
  font: 900 clamp(28px, 4.15vw, 60px)/.98 var(--display);
  letter-spacing: -.035em;
}
.poster-art { display: block; width: 100%; height: auto; margin: 1px 0 -1px; }
.poster[data-generated] .poster-art { animation: resolve-clues 210ms cubic-bezier(.2,.8,.25,1) both; }
@keyframes resolve-clues {
  from { transform: scale(.975); opacity: .55; }
  to { transform: scale(1); opacity: 1; }
}
.poster-artists { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.poster-artists bdi {
  max-width: 100%;
  padding: 5px 11px;
  overflow-wrap: anywhere;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--raised);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.comparison { padding: 23px; border: 1px solid var(--edge); border-radius: 16px; background: var(--surface); }
.comparison h2 { font-size: 30px; color: var(--accent); }
.comparison p { margin-top: 9px; color: var(--muted); }
.live-status { margin-top: 10px; }
.shot-dialog {
  max-width: min(620px, 92vw);
  max-height: 90vh;
  padding: 14px;
  border: 1px solid var(--edge);
  border-radius: 13px;
  background: var(--surface);
  color: var(--ink);
}
.shot-dialog::backdrop { background: color-mix(in srgb, var(--ground) 83%, transparent); }
.shot-dialog img { display: block; max-width: 100%; max-height: 73vh; height: auto; margin: 10px auto 0; object-fit: contain; }

.band { border-block: 1px solid var(--line); background: var(--surface); }
.guide, .faq { padding-block: clamp(36px, 6vw, 72px); }
.guide-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 6vw, 76px); align-items: start; }
.steps { margin: 23px 0 0; padding-left: 25px; }
.steps li { padding: 0 0 12px 7px; }
.steps li::marker { color: var(--accent); font-weight: 750; }
.steps p, .example p { margin-top: 6px; color: var(--muted); }
.example { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--ground); }
.example p + p { margin-top: 12px; }
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(18px, 7vw, 90px); }
.faq-list { min-width: 0; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; gap: 14px; min-height: 49px; padding: 10px 1px 10px 0; font-weight: 700; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: 0 0 8px; height: 8px; margin-left: auto; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }
.faq-list details[open] summary::after { transform: rotate(225deg); }
.faq-list details p { padding: 0 20px 16px 0; color: var(--muted); }
.official { margin-top: 11px; font-size: 14px; }
.official a { display: inline-flex; min-height: 44px; align-items: center; }
.breadcrumbs { padding-top: 16px; color: var(--muted); font-size: 14px; }
.breadcrumbs ol {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li:first-child { flex: none; }
.breadcrumbs li + li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.breadcrumbs li + li::before { content: "/"; flex: none; }
.breadcrumbs [aria-current="page"] [itemprop="name"] { overflow-wrap: anywhere; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 105px; padding-block: 16px; }
.footer-inner p span { color: var(--muted); font-size: 13px; }
.legal { max-width: 760px; padding-block: 48px 75px; }
.legal h1 { font-size: clamp(36px, 6vw, 58px); }
.legal .date { margin-top: 10px; color: var(--muted); }
.legal h2 { margin-top: 30px; font-size: 26px; }
.legal p { margin-top: 12px; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 58px; }
  nav { gap: 13px; }
  .hero { padding-block: 24px 38px; }
  .hero-title { margin-bottom: 17px; }
  .hero-title p { margin-top: 8px; font-size: 15px; line-height: 1.45; }
  .workbench, .guide-grid, .faq { grid-template-columns: minmax(0, 1fr); }
  .poster-center { padding: 17px 15px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 3px; }
}
@media (max-width: 390px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { gap: 7px; }
  .wordmark { gap: 7px; font-size: 16px; }
  .header-inner nav { gap: 10px; }
  .workbench-form { padding: 13px; }
  .artist-fields { gap: 8px; }
  .artist-fields label { font-size: 13px; }
  .poster-top, .poster-foot { flex-wrap: wrap; padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}


.missing-card p { margin-top: 8px; color: var(--muted); }
.footer-inner nav { flex-wrap: wrap; column-gap: 17px; row-gap: 0; }
.header-inner nav { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 350px) {
  .header-inner nav { flex-wrap: nowrap; gap: 0 5px; }
  .header-inner nav a { font-size: 12px; }
  .header-inner .wordmark { flex-shrink: 0; font-size: 14px; white-space: nowrap; }
  .header-inner nav a { white-space: nowrap; }
}

.legal .faq-list { margin-top: 14px; }


.nav-toggle { display: none; }
@media (max-width: 640px) {
  .header-inner[data-menu-ready] { position: relative; }
  .header-inner[data-menu-ready] .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--accent);
  }
  .header-inner[data-menu-ready] #primary-nav {
    position: absolute;
    inset: calc(100% + 1px) 0 auto auto;
    z-index: 3;
    display: none;
    width: min(100%, 19rem);
    padding: 8px 14px;
    border: 1px solid var(--edge);
    border-radius: 0 0 12px 12px;
    background: var(--surface);
  }
  .header-inner[data-menu-ready] .nav-toggle[aria-expanded="true"] + #primary-nav {
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    gap: 0;
  }
  .header-inner[data-menu-ready] #primary-nav a { font-size: 15px; padding-inline: 4px; }
  .header-inner[data-menu-ready] #primary-nav a + a { border-top: 1px solid var(--line); }
}


@media (max-width: 640px) {
  .hero { padding-top: 16px; }
  .hero h1 { font-size: clamp(30px, 8.2vw, 38px); letter-spacing: -.02em; }
  .header-inner .wordmark { font-size: 15px; white-space: nowrap; }
  .header-inner .wordmark img { width: 24px; height: 24px; }
  .workbench-output:has([data-make-result]:not([hidden]) .poster:not([data-generated])) { order: -1; }
  .poster:not([data-generated]) .poster-center { padding-block: 10px; }
  .poster:not([data-generated]) .poster-center p { font-size: 23px; }
  .poster:not([data-generated]) .poster-art { height: auto; max-height: 56px; aspect-ratio: 22 / 9; }
  .poster:not([data-generated]) .poster-top,
  .poster:not([data-generated]) .poster-foot { padding-block: 7px; }
  .poster:not([data-generated]) .poster-artists bdi { padding-block: 2px; font-size: 12px; }
}

.finder-guide { max-width: min(760px, 68ch); line-height: 1.7; }
.finder-guide h2 { font-size: clamp(26px, 3.2vw, 30px); margin-top: 34px; }
.finder-guide .guide-context {
  margin-block: 24px;
  padding: 12px 14px 12px 16px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}
.finder-guide .faq-list { margin-top: 22px; }
.finder-guide .faq-list summary { padding-block: 16px; }


.faq { display: block; }
.faq > h2 { font-size: 26px; margin-bottom: 18px; }
.faq > .faq-list summary { font-size: 16px; line-height: 1.5; }
.faq > .faq-list details p { max-width: 68ch; }

.finder-cards { display: grid; gap: 14px; }
.finder-card { padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.finder-guide .finder-card h2 { margin: 0; }
.finder-card dl { display: grid; gap: 6px; margin-block: 12px; }
.finder-card dl div { display: grid; grid-template-columns: minmax(100px, 1fr) 2fr; gap: 10px; }
.finder-card dt { font-size: 13px; font-weight: 600; color: var(--accent); }
.finder-card dd { margin: 0; }


#main :is(.legal p, .guide p, .faq details p) a {
  color: var(--ink);
  text-decoration-color: color-mix(in srgb, var(--ink) 40%, transparent);
}
#main :is(.legal p, .guide p, .faq details p) a:hover,
#main :is(.legal p, .guide p, .faq details p) a:focus-visible {
  color: var(--accent-hover);
  text-decoration-color: currentColor;
}


.clarity-settings {
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 640;
}
.clarity-settings:hover { color: var(--ink); text-decoration: underline; }
.clarity-choice {
  position: fixed;
  z-index: 6;
  inset: auto 16px max(16px, env(safe-area-inset-bottom)) auto;
  width: min(370px, calc(100% - 32px));
  padding: 16px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 6px 24px #0004;
}
.clarity-choice h2 { margin: 0 0 7px; font-size: 19px; }
.clarity-choice p { margin: 0; color: var(--muted); font-size: 14px; }
.clarity-choice-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
