/* "What every GTA VI achievement is worth": the live points list under the tier cards. */

.worth { margin-top: clamp(56px, 8vw, 96px); max-width: 760px; }
.worth-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.028em; line-height: 1.1; }
.worth-rule { margin-top: 14px; max-width: 38em; font-size: 17px; color: var(--ink-2); }
.worth-rule .formula { color: var(--ink); font-weight: 600; }
.worth-eg { margin-top: 10px; max-width: 38em; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.worth-eg:empty { display: none; }
.worth-eg b { color: var(--ink); font-weight: 600; }

.worth-bar { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.worth-find { flex: 0 1 260px; min-width: 0; }
.worth-find input {
  width: 100%; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font-size: 15px;
}
.worth-find input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: transparent; }

.worth-table { width: 100%; margin-top: 18px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.worth-table th {
  padding: 0 0 12px; border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-2); text-align: left;
}
.worth-table td { padding: 15px 0; border-bottom: 1px solid var(--hair); vertical-align: baseline; }
.worth-table .num { text-align: right; padding-left: 18px; white-space: nowrap; }
.worth-table .worth-name { position: relative; padding-left: 22px; font-weight: 600; overflow-wrap: anywhere; }
.th-short { display: none; }
.worth-pct { color: var(--ink-2); font-size: 15px; }
.worth-pts { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.worth-empty td { padding: 22px 0; color: var(--ink-2); font-weight: 400; }

/* The band (bronze ... damascus) as a small metal chip, same metals as the tier cards. */
.worth-dot {
  position: absolute; left: 0; top: calc(15px + 0.42em); width: 10px; height: 10px; border-radius: 50%;
  background: var(--metal, var(--line)); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.25);
}
.worth-dot.metal-damascus { background: linear-gradient(135deg, #ff5fa8, #b04cff 45%, #ff8a3d); }

.worth-more {
  margin-top: 18px; min-height: 44px; padding: 0 22px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer;
}
.worth-more:hover { border-color: var(--ink-3); }
.worth-note { max-width: 40em; }

@media (max-width: 560px) {
  .worth-bar { flex-direction: column; align-items: stretch; }
  .worth-bar .seg { display: grid; }
  .worth-find { flex-basis: auto; }
  .th-long { display: none; }
  .th-short { display: inline; }
  .worth-table .num { padding-left: 12px; }
  .worth-table td { padding: 14px 0; }
  .worth-dot { top: calc(14px + 0.42em); }
}
