:root {
  color-scheme: dark;
  --bg: #090909;
  --panel: #121212;
  --line: #333;
  --text: #f4f4f4;
  --muted: #a9a9a9;
  --soft: #1c1c1c;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  background: var(--bg);
  color: var(--text);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}
header {
  max-width: 1320px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 40px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.4px;
  white-space: nowrap;
}
.brand span {
  color: #999;
}
nav {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  font-size: 14px;
  color: var(--muted);
}
nav a:hover,
nav a.current {
  color: white;
}
nav a.current {
  text-decoration: underline;
  text-underline-offset: 8px;
}
main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px 70px;
  min-height: 65vh;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.03;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
h2 {
  font-size: 27px;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 22px;
  letter-spacing: -0.4px;
}
p {
  line-height: 1.7;
  color: var(--muted);
}
small {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.lede {
  max-width: 660px;
  font-size: 17px;
  line-height: 1.75;
}
.hero {
  padding: 80px 0 65px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(58px, 7.6vw, 100px);
  letter-spacing: -5px;
  line-height: 0.96;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: normal;
  color: #858585;
}
.hero-art {
  border: 1px solid #555;
  aspect-ratio: 1;
  max-width: 360px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(140deg, #202020, #0a0a0a);
  transform: rotate(3deg);
  box-shadow: 12px 12px 0 #161616;
}
.hero-art .question {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -5px;
  color: #efefef;
}
.hero-art .choice-preview {
  display: flex;
  gap: 10px;
}
.choice-preview span {
  padding: 13px 24px;
  flex: 1;
  text-align: center;
  border: 1px solid #777;
  font-weight: 700;
  font-size: 14px;
}
.choice-preview span:first-child {
  background: white;
  color: #000;
}
.hero-art small {
  letter-spacing: 2px;
  font-size: 10px;
}
.actions,
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.actions {
  margin-top: 24px;
}
.row.between {
  justify-content: space-between;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--soft);
  color: white;
  border: 1px solid #444;
  border-radius: 3px;
  padding: 12px 19px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}
.btn:hover {
  background: #303030;
  border-color: #777;
}
.btn.primary {
  background: #f4f4f4;
  color: #0a0a0a;
  border-color: #f4f4f4;
}
.btn.primary:hover {
  background: #d3d3d3;
}
.btn.quiet {
  background: transparent;
}
.btn.small {
  font-size: 12px;
  padding: 8px 12px;
}
.text-link {
  text-decoration: underline;
  text-underline-offset: 4px;
  line-height: 1.7;
  font-size: 14px;
}
.strip {
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 25px 0;
  margin-bottom: 55px;
  gap: 30px;
}
.strip b {
  display: block;
  font-size: 14px;
  margin-bottom: 7px;
}
.strip p {
  font-size: 13px;
  margin: 0;
}
.section {
  margin-top: 44px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}
.section-head h2 {
  margin-bottom: 0;
}
.filters {
  padding: 22px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 25px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  min-width: 0;
}
.field span {
  font-weight: 600;
}
.field input,
.field textarea,
.field select {
  border: 1px solid #444;
  background: #0c0c0c;
  color: white;
  padding: 12px;
  max-width: 100%;
  width: 100%;
  border-radius: 3px;
  min-height: 44px;
}
.field textarea {
  resize: vertical;
  line-height: 1.6;
}
.field small {
  font-weight: 400;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.wide {
  grid-column: 1/-1;
}
.set-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.set-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.set-card:hover {
  border-color: #aaa;
  transform: translateY(-3px);
}
.set-card h3 {
  margin: 10px 0 0;
}
.set-card p {
  font-size: 14px;
  margin: 0;
  flex: 1;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
}
.badge {
  display: inline-block;
  border: 1px solid #4d4d4d;
  color: #ccc;
  padding: 4px 7px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
}
.empty {
  padding: 45px 25px;
  border: 1px dashed #454545;
  text-align: center;
  margin: 22px 0;
}
.empty p {
  max-width: 550px;
  margin: 0 auto 20px;
}
.empty h2 {
  font-size: 24px;
}
.page-head {
  padding: 55px 0 15px;
}
.page-head .lede {
  margin-bottom: 10px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 28px;
  margin: 24px 0;
}
.panel > h2 {
  font-size: 23px;
}
.panel > p {
  font-size: 14px;
}
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 25px;
}
.two-col .panel {
  margin-top: 0;
}
.narrow {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.login {
  max-width: 500px;
  margin: 65px auto;
}
.login .field {
  margin: 22px 0;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.6;
}
.check input {
  width: 18px;
  height: 18px;
  flex: none;
  margin: 3px 0 0;
  accent-color: #fff;
}
.check small {
  display: block;
  margin-top: 3px;
}
.note {
  border-left: 2px solid #aaa;
  background: #161616;
  padding: 15px 20px;
  font-size: 13px;
  margin: 22px 0;
  color: #bdbdbd;
  line-height: 1.7;
}
.note strong {
  color: #eee;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0 28px;
}
.tabs a {
  font-size: 13px;
  padding: 10px 15px;
  border: 1px solid var(--line);
}
.tabs a.current {
  background: white;
  color: black;
}
.item {
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--panel);
  margin: 22px 0;
}
.item h2 {
  margin-top: 18px;
}
.item .description {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.item-image {
  margin: 20px 0;
  background: #0a0a0a;
  border: 1px solid #333;
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 20px;
}
.item-image img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
}
.vote-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 500px;
  margin: 26px 0 10px;
}
.vote-buttons button {
  padding: 16px;
}
.vote-buttons button[aria-pressed="true"] {
  background: white;
  color: black;
  border-color: white;
}
.vote-buttons button[aria-pressed="true"]::before {
  content: "✓ ";
  font-weight: bold;
}
.item-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.pager {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.pager button {
  height: 38px;
  min-width: 38px;
  border: 1px solid #666;
  background: #101010;
  color: white;
  font-size: 12px;
}
.pager .buy {
  background: white;
  color: black;
}
.pager .not_buy {
  background: #555;
  color: white;
}
.pager .mixed {
  background: repeating-linear-gradient(
    135deg,
    #444,
    #444 4px,
    #111 4px,
    #111 8px
  );
}
.pager button[aria-current="page"] {
  outline: 2px solid white;
  outline-offset: 3px;
  margin: 0 3px;
}
.progress {
  height: 5px;
  background: #303030;
  margin: 20px 0;
}
.progress div {
  height: 100%;
  background: white;
}
.legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #aaa;
  font-size: 11px;
}
.legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1px solid #777;
  margin-right: 6px;
  background: #111;
}
.legend .buy {
  background: #fff;
}
.legend .not_buy {
  background: #555;
}
.legend .mixed {
  background: repeating-linear-gradient(
    135deg,
    #999,
    #999 2px,
    #111 2px,
    #111 4px
  );
}
.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  gap: 20px;
}
.list-row h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
.list-row p {
  font-size: 13px;
  margin: 0;
}
.list-row > div {
  min-width: 0;
}
.list-row .actions {
  margin: 0;
}
.stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.stats strong {
  display: block;
  font-size: 30px;
}
.stats small {
  font-size: 12px;
}
.shared {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.shared dt {
  color: #999;
}
.shared dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.conversation {
  max-width: 760px;
  margin: 0 auto;
}
.message {
  max-width: 85%;
  padding: 15px 18px;
  background: #1b1b1b;
  border: 1px solid #393939;
  margin: 16px 0;
  border-radius: 3px;
}
.message.mine {
  margin-left: auto;
  background: #262626;
}
.message p {
  color: #eee;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-bottom: 10px;
  font-size: 14px;
}
.message small {
  font-size: 10px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  text-align: left;
}
th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
th {
  color: #aaa;
  font-weight: 400;
}
details {
  margin: 15px 0;
}
summary {
  cursor: pointer;
  padding: 13px 0;
  font-size: 14px;
}
details[open] > summary {
  margin-bottom: 12px;
}
.prose {
  max-width: 740px;
}
.prose h2 {
  margin-top: 35px;
}
.prose p,
.prose li {
  line-height: 1.8;
  color: #b0b0b0;
}
.prose li {
  margin-bottom: 12px;
}
.prose strong {
  color: #eee;
}
#notice {
  position: sticky;
  top: 10px;
  z-index: 10;
  background: #eee;
  color: #111;
  box-shadow: 0 5px 30px #0008;
  line-height: 1.5;
  border-radius: 3px;
  max-width: 750px;
  margin: 14px auto 0;
  font-size: 14px;
}
#notice:not(:empty) {
  padding: 14px 20px;
}
footer {
  border-top: 1px solid var(--line);
  max-width: 1240px;
  margin: 0 auto;
  padding: 35px 40px 50px;
}
footer .brand {
  font-size: 20px;
}
footer p {
  font-size: 12px;
  margin-top: 12px;
}
footer div {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12px;
  margin: 20px 0;
  color: #ccc;
}
.skip {
  position: absolute;
  left: 10px;
  top: -100px;
  padding: 12px;
  background: white;
  color: black;
  z-index: 30;
}
.skip:focus {
  top: 10px;
}
.loading {
  padding: 70px 0;
  text-align: center;
  color: #aaa;
}
.spinner {
  width: 25px;
  height: 25px;
  border: 2px solid #444;
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .set-card:hover {
    transform: none;
  }
}
@media (max-width: 900px) {
  header {
    padding: 22px 25px;
  }
  main {
    padding: 0 25px 50px;
  }
  .hero {
    gap: 35px;
    grid-template-columns: 1.3fr 0.7fr;
  }
  .hero-art {
    padding: 20px;
  }
  .hero-art .question {
    font-size: 55px;
  }
  .choice-preview span {
    padding: 10px;
  }
  .set-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    letter-spacing: -3px;
  }
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  header {
    padding: 22px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  nav {
    gap: 22px;
    width: 100%;
  }
  nav a {
    font-size: 12px;
  }
  main {
    padding: 0 20px 40px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 45px 0 35px;
    gap: 30px;
  }
  .hero h1 {
    font-size: 66px;
  }
  .hero-art {
    display: none;
  }
  .strip {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 35px;
  }
  .strip p {
    max-width: 330px;
  }
  .set-grid {
    grid-template-columns: 1fr;
  }
  .form-grid,
  .filters {
    grid-template-columns: 1fr;
  }
  .filters {
    padding: 18px;
  }
  .panel,
  .item {
    padding: 21px;
  }
  .page-head {
    padding-top: 38px;
  }
  h1 {
    font-size: 38px;
  }
  .page-head .lede {
    font-size: 15px;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .list-row {
    align-items: start;
    flex-direction: column;
  }
  .shared {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .shared dd {
    margin-bottom: 15px;
  }
  .narrow {
    max-width: 100%;
  }
  .vote-buttons {
    width: 100%;
  }
  .btn {
    padding: 12px 16px;
  }
  .login {
    margin: 40px 0;
  }
  .tabs {
    gap: 6px;
  }
  .tabs a {
    padding: 9px 11px;
  }
  footer {
    padding: 30px 20px;
  }
  .message {
    max-width: 95%;
  }
  .badge {
    font-size: 9px;
  }
  .hero .lede {
    font-size: 16px;
  }
}
