#reward-hub {
  max-width: 1100px;
  margin-inline: auto;
  color: var(--ink);
}
.rh-header, .rh-filters, .rh-card-footer, .rh-wallet {
  display: flex;
  align-items: center;
}
.rh-header { gap: 18px; justify-content: space-between; margin: 5px 0 26px; }
.rh-header .page-heading { margin: 0; }
.rh-header .page-heading h1 { margin-bottom: 7px; }
.rh-header .page-heading p { font-size: 1rem; word-break: keep-all; }
.rh-wallet {
  flex: 0 0 auto; gap: 10px; padding: 11px 17px; min-height: 48px;
  border: 1px solid #c8a47052; border-radius: 12px; background: #241f1b; color: var(--gold);
}
.rh-wallet span { font-size: .8125rem; color: #d2c4b9; }
.rh-wallet strong { font-size: 1rem; font-variant-numeric: tabular-nums; }
.rh-filters { flex-wrap: wrap; gap: 7px; margin-bottom: 19px; }
.rh-filters button {
  min-height: 42px; padding: 7px 18px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); background: var(--surface); font-size: .875rem; font-weight: 650;
}
.rh-filters button[aria-pressed="true"] { border-color: #deb87f; background: var(--gold); color: var(--gold-ink); }
.rh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rh-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: clamp(76px, 10vw, 130px) minmax(0, 1fr);
  min-height: 162px; align-items: stretch; min-width: 0; padding: 0;
  border: 1px solid #eee0d420; border-radius: 15px; background: var(--surface);
  color: var(--ink); text-align: left; word-break: keep-all;
}
.rh-card:hover { border-color: #e4c69781; background: var(--raised); }
.rh-art { display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(150deg, #48374b, #24202d); }
.rh-card-image { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; }
.rh-illustrated .rh-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0e0a1359, transparent 65%); }
.rh-card-content { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 0; padding: 17px 19px; }
.rh-card-label { color: var(--gold); font-size: .8125rem; font-weight: 650; }
.rh-card-title { font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1.22; letter-spacing: -.045em; }
.rh-card-description { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.rh-card-footer { margin-top: auto; padding-top: 3px; justify-content: space-between; gap: 8px; }
.rh-card-footer strong { color: var(--gold); font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.rh-card-state { font-size: .8125rem; color: #d1c8c8; }
.rh-claimed .rh-card-state { color: #b4d2b8; }
.rh-symbol { display: block; width: clamp(36px, 4.5vw, 52px); height: auto; color: #e2c9e4; }
.rh-install .rh-art { background: linear-gradient(145deg, #26383b, #202a2d); }
.rh-install .rh-symbol { color: #b2cacb; }
.rh-install .rh-card-footer strong { font-size: .875rem; color: var(--muted); }
.rh-footnote { margin: 17px 2px 0; color: var(--muted); font-size: .8125rem; }
#mission-close { font-weight: 400; font-size: 24px; }
#rh-mission-body { display: grid; gap: 16px; }
#rh-mission-body p, #rh-mission-body figure { margin: 0; }
#rh-mission-body p { word-break: keep-all; }
#rh-mission-body .rh-legal { color: var(--muted); font-size: .875rem; }
.rh-poster-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rh-poster-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 7px; }
.rh-poster-grid .rh-film-card { display: grid; place-items: center; aspect-ratio: 3/4; background: var(--raised); border: 1px solid var(--line); border-radius: 7px; font-size: 2rem; margin: 0; }
.rh-poster figcaption, .rh-tile span { display: block; margin-top: 5px; text-align: center; font-size: .8125rem; }
.rh-poster figcaption span { margin-right: 4px; color: var(--gold); font-weight: 700; }
.rh-tile { padding: 4px; align-self: start; border: 1px solid var(--line); border-radius: 10px; background: var(--raised); }
.rh-tile:disabled { opacity: .45; }
.rh-game-progress { color: var(--gold); font-size: .875rem; }
#rh-survey { display: grid; gap: 16px; }
#rh-survey fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
#rh-survey legend { padding: 0; margin: 0 0 6px; font-weight: 700; font-size: .9375rem; }
.rh-options { display: flex; flex-wrap: wrap; gap: 6px; }
.rh-options label { display: inline-flex; position: relative; cursor: pointer; }
.rh-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rh-options span { display: inline-flex; align-items: center; min-height: 42px; padding: 7px 11px; border: 1px solid #ffffff30; border-radius: 8px; background: var(--surface); font-size: .875rem; }
.rh-options input:checked + span { border-color: var(--gold); background: #3a3026; color: var(--gold); }
.rh-options input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
#rh-survey button:disabled { background: var(--raised); color: var(--muted); border-color: var(--line); }
.rh-receipt { display: grid; justify-items: center; padding: 15px; gap: 2px; border-radius: 12px; background: #2e261e; }
.rh-receipt strong { color: var(--gold); font-size: 2.2rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.rh-receipt span { color: #e3d3bf; font-size: .875rem; }
.rh-install-steps { margin: 0; padding-left: 24px; color: var(--ink); font-size: .9375rem; }
.rh-install-steps li + li { margin-top: 7px; }
.rh-status { margin: 10px 0 0; color: var(--gold); font-size: .875rem; }
.rh-status:empty { margin: 0; }
#rh-notice:empty { display: none; }
.rh-instructions { white-space: pre-line; }
#rh-evidence { display: grid; gap: 10px; }
#rh-evidence textarea { width: 100%; min-width: 0; padding: 10px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.rh-claims { margin-top: 15px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; color: var(--muted); font-size: .875rem; }
.rh-claims summary { cursor: pointer; color: var(--ink); }
.rh-claims ul { padding-left: 1.2rem; }
.rh-claims li { margin: 6px 0; }
@media (max-width: 740px) {
  .rh-header { align-items: start; gap: 10px; margin-bottom: 18px; }
  .rh-header .page-heading p { font-size: .875rem; }
  .rh-wallet { flex-direction: column; align-items: end; gap: 1px; padding: 7px 10px; }
  .rh-wallet span { font-size: .75rem; }
  .rh-wallet strong { font-size: .875rem; }
  .rh-grid { grid-template-columns: 1fr; gap: 10px; }
  .rh-filters { margin-bottom: 14px; gap: 5px; }
  .rh-filters button { min-height: 40px; padding: 6px 13px; }
  .rh-card { grid-template-columns: clamp(67px, 23vw, 110px) minmax(0, 1fr); min-height: 132px; border-radius: 12px; }
  .rh-card-content { gap: 4px; padding: 12px; }
  .rh-card-description { font-size: .8125rem; }
}
