/* ============================================================
   基础
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.hidden {
  display: none !important;
}

.sea-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 520px at 50% -12%, rgba(46, 134, 171, 0.26), transparent 70%),
    radial-gradient(ellipse 700px 520px at 104% 92%, rgba(214, 69, 61, 0.09), transparent 62%),
    radial-gradient(ellipse 640px 480px at -8% 72%, rgba(233, 196, 106, 0.055), transparent 62%),
    linear-gradient(180deg, #070e18 0%, #081221 56%, #060c15 100%);
}

.sea-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(0deg, rgba(244, 239, 227, 0.018) 0 1px, transparent 1px 4px),
    radial-gradient(ellipse 80% 40% at 50% 118%, rgba(46, 134, 171, 0.16), transparent 70%);
}

#app {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px calc(48px + env(safe-area-inset-bottom));
}

/* ============================================================
   页头 / 页脚
   ============================================================ */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 2px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--gold);
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.brand-text small {
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-top: 2px;
}

.head-note {
  text-align: right;
  font-family: var(--font-latin);
  font-size: 9px;
  letter-spacing: 0.22em;
  line-height: 1.7;
  color: var(--ink-dim);
}

.head-note span {
  color: var(--ink-faint);
  font-size: 8px;
}

.site-foot {
  margin-top: 64px;
  padding: 26px 0 8px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  color: var(--ink-faint);
}

.site-foot p {
  margin: 0 0 8px;
  font-size: 10.5px;
  line-height: 1.8;
}

.foot-mark {
  font-family: var(--font-latin);
  font-size: 9px !important;
  letter-spacing: 0.3em;
  color: rgba(244, 239, 227, 0.22);
}

/* ============================================================
   通用按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:focus-visible,
.btn-ghost:focus-visible,
.option:focus-visible,
.modal-close:focus-visible,
.roster-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, #f3d98d 0%, var(--gold) 45%, #d8ab4c 100%);
  color: #241607;
  box-shadow: 0 12px 32px rgba(233, 196, 106, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(233, 196, 106, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: rgba(233, 196, 106, 0.55);
  background: rgba(233, 196, 106, 0.07);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 8px 2px;
  color: var(--ink-dim);
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-ghost:hover {
  color: var(--ink);
}

.btn-ghost:disabled {
  opacity: 0.32;
  cursor: default;
}

/* ============================================================
   首页
   ============================================================ */
.stage {
  animation: stage-in 0.45s ease both;
}

@keyframes stage-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.kicker-line {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero h1 {
  margin: 20px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(42px, 11vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.hero h1 .hl {
  background: linear-gradient(100deg, #f6e2a4 0%, var(--gold) 40%, #d9a83e 75%, #f3d98d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 0.06em;
}

.lede {
  max-width: 520px;
  margin: 0 auto;
  color: var(--ink-dim);
  font-size: 14.5px;
  line-height: 1.85;
}

.stat-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin: 34px auto 32px;
  max-width: 480px;
}

.stat {
  flex: 1;
  padding: 2px 10px;
  border-right: 1px solid var(--line-soft);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-family: var(--font-latin);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--gold);
}

.stat span {
  display: block;
  margin-top: 5px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}

.btn-start {
  min-width: 220px;
  padding: 17px 42px;
  font-size: 16px;
  letter-spacing: 0.14em;
}

.btn-start svg {
  width: 19px;
  height: 19px;
  transition: transform 0.2s ease;
}

.btn-start:hover svg {
  transform: translateX(3px);
}

.hero-tip {
  margin: 16px 0 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

.roster-section {
  margin-top: 8px;
  padding-top: 34px;
  border-top: 1px solid var(--line-soft);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.section-head p {
  margin: 0;
  font-size: 11.5px;
  color: var(--ink-faint);
}

.roster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 9px;
  margin-top: 20px;
}

.roster-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 112px;
  padding: 13px 6px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.018);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.roster-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, var(--from), var(--to));
  opacity: 0.13;
  transition: opacity 0.25s ease;
}

.roster-item:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 196, 106, 0.32);
}

.roster-item:hover::before {
  opacity: 0.26;
}

.roster-icon {
  position: relative;
  width: 42px;
  height: 42px;
}

.roster-name {
  position: relative;
  font-size: 11.5px;
  line-height: 1.25;
  text-align: center;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.roster-item.is-crew::after {
  content: "★";
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 8px;
  color: var(--gold);
  opacity: 0.9;
}

/* 有人物图时的阵容卡：3:4 悬赏照 */
.roster-item.has-photo {
  display: block;
  min-height: 0;
  padding: 0;
  aspect-ratio: 3 / 4;
  background: #0c1728;
  border-color: rgba(233, 196, 106, 0.18);
}

.roster-item.has-photo::before {
  opacity: 0;
}

.roster-item.has-photo:hover::before {
  opacity: 0;
}

.roster-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0.75;
}

.roster-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.roster-photo.is-failed {
  display: none;
}

.roster-item.has-photo:hover .roster-photo {
  transform: scale(1.045);
}

.roster-item.has-photo .roster-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px 6px 8px;
  background: linear-gradient(transparent, rgba(7, 14, 24, 0.94) 65%);
  font-size: 11.5px;
  line-height: 1.3;
}

.roster-item.has-photo.is-crew::after {
  z-index: 3;
  text-shadow: 0 1px 3px #000;
}

/* ============================================================
   答题页
   ============================================================ */
.stage-quiz {
  padding-top: 30px;
}

.quiz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-count {
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.progress-track {
  height: 2px;
  margin: 16px 0 46px;
  border-radius: 2px;
  background: rgba(244, 239, 227, 0.07);
  overflow: hidden;
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sea), var(--gold) 60%, var(--red));
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.question-wrap {
  max-width: 620px;
  margin: 0 auto;
}

.scene-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 16px;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  color: var(--gold);
}

.scene-label span:last-child {
  color: var(--ink-faint);
  letter-spacing: 0.2em;
}

.scene {
  margin: 0 0 30px;
  min-height: 2.9em;
  font-family: var(--font-display);
  font-size: clamp(24px, 5.6vw, 34px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.015em;
}

.options {
  display: grid;
  gap: 10px;
}

.option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 17px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.022);
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.option:hover {
  transform: translateX(2px);
  border-color: rgba(233, 196, 106, 0.42);
  background: rgba(233, 196, 106, 0.055);
}

.option:active {
  transform: scale(0.995);
}

.option.is-selected {
  border-color: rgba(233, 196, 106, 0.75);
  background: rgba(233, 196, 106, 0.1);
}

.option-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  opacity: 0.22;
  transition: opacity 0.18s ease;
}

.option:hover .option-icon {
  opacity: 0.5;
}

.option.is-selected .option-icon {
  opacity: 0.82;
}

.option-text {
  flex: 1;
}

.option-mark {
  flex: 0 0 auto;
  font-family: var(--font-latin);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}

.quiz-hint {
  margin: 30px 0 0;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

/* ============================================================
   结果页：悬赏令
   ============================================================ */
.stage-result {
  padding-top: 30px;
}

.result-card {
  position: relative;
  padding: 30px 24px 34px;
  border-radius: 8px;
  color: var(--paper-ink);
  background-image:
    repeating-linear-gradient(0deg, rgba(80, 50, 20, 0.022) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 120% 62% at 50% 0%, rgba(255, 255, 255, 0.5), transparent 62%),
    radial-gradient(ellipse 100% 70% at 18% 100%, rgba(139, 90, 43, 0.2), transparent 70%),
    linear-gradient(160deg, #f6ecd2 0%, #eddcb8 46%, #e0ca9c 100%);
  box-shadow:
    0 0 0 1px rgba(70, 44, 20, 0.48),
    0 0 0 7px #0b1524,
    0 0 0 8px rgba(233, 196, 106, 0.36),
    0 30px 70px rgba(0, 0, 0, 0.55);
  animation: card-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(-0.4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.result-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(70, 44, 20, 0.24);
  border-radius: 3px;
  pointer-events: none;
}

.wanted-top {
  text-align: center;
}

.wanted-word {
  margin: 0;
  font-family: var(--font-latin);
  font-size: clamp(52px, 15vw, 84px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.05em;
  color: var(--paper-ink);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

.wanted-sub {
  margin: 10px 0 0;
  font-family: var(--font-latin);
  font-size: 8.5px;
  letter-spacing: 0.48em;
  color: var(--paper-ink-dim);
  text-indent: 0.48em;
}

.poster-figure {
  position: relative;
  width: min(232px, 64vw);
  aspect-ratio: 3 / 4;
  margin: 24px auto 20px;
  border: 2px solid rgba(70, 44, 20, 0.62);
  border-radius: 2px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.1), transparent 56%),
    linear-gradient(160deg, #1a1208 0%, #2b1c10 100%);
  box-shadow:
    inset 0 0 0 4px rgba(246, 236, 210, 0.5),
    0 10px 26px rgba(43, 28, 16, 0.24);
}

.poster-figure::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(246, 236, 210, 0.26);
  pointer-events: none;
}

.poster-emblems {
  width: 68%;
  height: 68%;
  opacity: 0.88;
}

.poster-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: sepia(0.18) contrast(1.05);
}

.poster-name {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.03em;
}

.poster-en {
  margin: 0;
  font-family: var(--font-latin);
  font-size: 9.5px;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-align: center;
  text-transform: uppercase;
  color: var(--paper-ink-dim);
}

.poster-epithet {
  margin: 10px 0 0;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--paper-ink-dim);
}

.poster-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border: 1px solid rgba(70, 44, 20, 0.34);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--paper-ink);
  background: rgba(255, 255, 255, 0.2);
}

.tag-rarity {
  border-color: rgba(140, 28, 19, 0.4);
  color: var(--red-deep);
}

.bounty-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 13px 0;
  border-top: 1px dashed rgba(70, 44, 20, 0.32);
  border-bottom: 1px dashed rgba(70, 44, 20, 0.32);
}

.bounty-label {
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--paper-ink-dim);
}

.bounty-value {
  font-family: var(--font-latin);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--red-deep);
}

.bounty-value.is-unknown {
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--paper-ink-dim);
}

.result-section {
  margin-top: 28px;
}

.block-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--paper-ink);
}

.block-title::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  background: var(--red-deep);
  transform: rotate(45deg);
}

.radar-wrap {
  max-width: 300px;
  margin: 0 auto;
}

.radar-svg {
  width: 100%;
  height: auto;
  display: block;
}

.radar-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 6px;
  font-size: 10.5px;
  color: var(--paper-ink-dim);
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: middle;
}

.top-dims {
  margin-top: 18px;
}

.top-dim {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(70, 44, 20, 0.22);
}

.top-dim:last-child {
  border-bottom: 0;
}

.top-rank {
  flex: 0 0 26px;
  font-family: var(--font-latin);
  font-size: 17px;
  line-height: 1.3;
  color: var(--red-deep);
}

.top-body strong {
  display: block;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: var(--paper-ink);
}

.top-body span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--paper-ink-dim);
}

.copy-block {
  margin-top: 20px;
}

.copy-heading {
  margin: 0 0 7px;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--red-deep);
}

.copy-block p {
  margin: 0;
  font-size: 13px;
  line-height: 1.95;
  color: #4a3523;
  text-align: justify;
}

.poster-quote {
  position: relative;
  margin: 28px 0 6px;
  padding: 16px 16px 16px 20px;
  border-left: 3px solid var(--red-deep);
  background: rgba(140, 28, 19, 0.055);
  font-family: var(--font-display);
  font-size: 15.5px;
  line-height: 1.75;
  color: #39250f;
}

.wanted-foot {
  margin-top: 26px;
  padding-top: 15px;
  border-top: 1px solid rgba(70, 44, 20, 0.24);
  text-align: center;
  font-family: var(--font-latin);
  font-size: 8.5px;
  letter-spacing: 0.3em;
  color: var(--paper-ink-dim);
}

.result-actions {
  max-width: 520px;
  margin: 30px auto 0;
  display: grid;
  gap: 12px;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ============================================================
   长图弹窗
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 14, 0.84);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(430px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #0d1929, #0a1422);
  box-shadow: var(--shadow);
  animation: modal-in 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.modal-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.1em;
}

.modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-dim);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.modal-close:hover {
  color: var(--ink);
  border-color: var(--line);
}

.share-preview {
  border-radius: 10px;
  overflow: hidden;
  background: #0a121d;
  min-height: 120px;
  display: grid;
  place-items: center;
}

.share-preview img {
  width: 100%;
  height: auto;
}

.share-loading {
  padding: 44px 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
}

.share-tip {
  margin: 12px 0;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--ink-faint);
}

.modal-actions .btn {
  width: 100%;
}

/* ============================================================
   响应式 / 动效偏好
   ============================================================ */
@media (max-width: 430px) {
  #app {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 44px;
  }

  .roster {
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 8px;
  }

  .roster-item {
    min-height: 104px;
  }

  .result-card {
    padding: 26px 18px 30px;
  }

  .bounty-value {
    font-size: 19px;
  }
}

@media (min-width: 640px) {
  .result-card {
    padding: 36px 40px 40px;
  }

  .action-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
