@import url("./trophy-milestones.css");
@import url("./trophy-game-metadata.css");
/* The compact section header already names the trophy hub. */
#trophy-guides[data-slug=""] > .guide-eyebrow {
  display: none;
}
main.site-content {
  max-width: 72rem;
}
.trophy-hub-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  border-bottom: 1px solid var(--guide-line);
  min-height: 18rem;
}
.trophy-hub-intro {
  z-index: 1;
  padding: 1.5rem 0;
}
#trophy-guides .trophy-hub-intro h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin: 0.75rem 0 1rem;
}
.trophy-hub-intro em {
  color: var(--theme-accent);
  font-weight: 400;
}
.trophy-hub-primary {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  min-height: 44px;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-weight: 650;
}
.trophy-hub-feature {
  position: relative;
  min-height: 15rem;
  overflow: hidden;
  text-decoration: none;
  background: #14181c;
}
.trophy-hub-scene {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.trophy-hub-feature > img {
  position: absolute;
  inset: 0;
}
.trophy-hub-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #080b12f2, #080b1240 65%);
}
.trophy-hub-feature-copy {
  position: absolute;
  z-index: 1;
  inset: auto 1.5rem 1.5rem;
  display: grid;
  gap: 0.6rem;
  color: #fff;
}
.trophy-hub-feature-copy strong {
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
}
.trophy-hub-feature-copy > span:last-child {
  text-decoration: underline;
  text-underline-offset: 0.3em;
  font-size: 0.85rem;
}
.trophy-hub-symbol {
  position: absolute;
  right: 2%;
  top: 0;
  font-size: 22rem;
  line-height: 1;
  color: var(--theme-accent);
  opacity: 0.12;
  z-index: -1;
}
.trophy-hub-drafts-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-size: 0.875rem;
}
.trophy-hub-drafts-link span {
  color: var(--theme-muted);
  font-variant-numeric: tabular-nums;
}
.trophy-hub-section {
  scroll-margin-top: 5rem;
  padding-top: 2rem;
}
.trophy-hub-section > .guide-row {
  margin-bottom: 1rem;
}
.trophy-hub-section h2 {
  margin: 0;
}
.trophy-hub-muted {
  color: var(--theme-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.trophy-hub-empty {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 1.1rem 0;
  border-block: 1px solid var(--guide-line);
}
.trophy-hub-empty p {
  flex: 1 1 16rem;
  margin: 0;
  line-height: 1.7;
}
.trophy-hub-empty-mark {
  color: var(--theme-accent);
  font-size: 2rem;
}
.trophy-hub-search {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.trophy-hub-search label:first-child {
  flex: 1 1 16rem;
}
.trophy-hub-search label:last-child {
  flex: 1 1 12rem;
}
.trophy-hub-search label {
  font-size: 0.8rem;
  color: var(--theme-muted);
}
.trophy-hub-search input,
.trophy-hub-search select {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  min-height: 48px;
  border-radius: 0.2rem;
}
.trophy-hub-games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 2rem;
}
.trophy-hub-more {
  margin-top: 1.5rem;
  min-height: 44px;
}
#trophy-guides .trophy-hub-game {
  display: flex;
  flex-direction: column;
  color: var(--theme-ink);
  text-decoration: none;
  min-width: 0;
}
.trophy-hub-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: color-mix(in srgb, var(--theme-accent) 8%, var(--theme-surface));
  overflow: hidden;
  display: grid;
  place-items: center;
}
.trophy-hub-cover > span:first-child {
  color: var(--theme-accent);
  font-size: 4rem;
}
.trophy-hub-cover-link {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #111b;
  color: #fff;
  padding: 0.5rem 0.9rem;
  font-size: 1.25rem;
}
.trophy-hub-game .guide-kicker {
  margin: 1.1rem 0 0.4rem;
  color: var(--theme-muted);
}
.trophy-hub-game h3 {
  margin: 0;
  font-size: 1.25rem;
}
.trophy-hub-game > p:not(.guide-kicker) {
  margin: 0.6rem 0 1rem;
}
.trophy-hub-game-footer {
  margin-top: auto;
}
.trophy-hub-feedback {
  margin: 0 0 0.65rem;
  color: var(--theme-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
@media (min-width: 640px) {
  .trophy-hub-games {
    row-gap: 0;
  }
  #trophy-guides .trophy-hub-game {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    padding-bottom: 2rem;
  }
  .trophy-hub-game > .trophy-hub-cover {
    grid-row: 1;
  }
  .trophy-hub-game > .guide-kicker {
    grid-row: 2;
  }
  .trophy-hub-game > h3 {
    grid-row: 3;
  }
  .trophy-hub-game > .trophy-hub-summary {
    grid-row: 4;
  }
  .trophy-hub-game > .trophy-hub-game-footer {
    grid-row: 5;
    margin-top: 0;
    align-self: end;
  }
  .trophy-hub-game-footer .trophy-hub-progress {
    grid-template-rows: auto auto 6px minmax(1em, auto);
  }
  .trophy-hub-game-footer .trophy-hub-progress-counts {
    grid-row: 2;
  }
  .trophy-hub-game-footer trophy-completion-track {
    grid-row: 3;
  }
  .trophy-hub-game-footer .trophy-hub-progress > small {
    grid-row: 4;
  }
}
.trophy-hub-game:hover h3,
.trophy-hub-resume:hover h3,
.trophy-hub-drafts a:hover strong {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.trophy-hub-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.6rem 1rem;
  font-size: 0.8rem;
  color: var(--theme-muted);
  margin-top: 1rem;
}
.trophy-hub-progress-counts,
.trophy-hub-result-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.trophy-hub-result-tools {
  margin-block: 0.5rem 1rem;
}
.trophy-hub-result-tools .guide-check {
  min-height: 44px;
  font-size: 0.85rem;
}
.trophy-hub-milestone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
}
.trophy-hub-progress .trophy-hub-milestone strong {
  color: var(--achievement-ink);
  font-size: 0.9rem;
}
.trophy-hub-milestone .trophy-achievement-emblem {
  width: 2.75rem;
  height: 2.75rem;
}
.trophy-hub-milestone
  .trophy-achievement-center:not(:has(.trophy-achievement-seal))
  .guide-trophy-mark {
  width: 1.6rem;
  height: 1.6rem;
}
.trophy-hub-milestone .trophy-achievement-center > strong {
  font-size: 0.85rem;
}
.trophy-hub-milestone .trophy-achievement-seal {
  font-size: 0.5rem;
}
.trophy-hub-progress strong {
  color: var(--theme-accent);
}
.trophy-hub-progress trophy-completion-track {
  grid-column: 1 / -1;
}
.trophy-hub-playing {
  display: grid;
  column-gap: 1rem;
  border-top: 1px solid var(--guide-line);
}
#trophy-guides .trophy-hub-resume {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-block: 1rem;
  border-bottom: 1px solid var(--guide-line);
  text-decoration: none;
  color: var(--theme-ink);
}
.trophy-hub-resume > div {
  flex: 1;
  min-width: 0;
}
.trophy-hub-resume h3 {
  margin: 0.35rem 0;
}
.trophy-hub-thumb {
  width: 4.5rem;
  height: 6rem;
  object-fit: cover;
}
.trophy-hub-arrow {
  color: var(--theme-accent);
  font-size: 1.5rem;
}
.trophy-hub-drafts {
  padding: 0;
  list-style: none;
}
.trophy-hub-drafts li {
  border-bottom: 1px solid var(--guide-line);
}
.trophy-hub-drafts a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-block: 1.25rem;
  text-decoration: none;
}
.trophy-hub-drafts a > div {
  grid-column: 1 / -1;
  min-width: 0;
}
.guide-publication-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}
.guide-publication-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--guide-line);
  border-radius: 0.35rem;
  color: var(--theme-muted);
  font-size: 0.8rem;
  line-height: 1.4;
  white-space: nowrap;
}
.guide-publication-status.is-published {
  color: var(--theme-accent);
  background: color-mix(in srgb, var(--theme-accent) 8%, transparent);
}
.guide-publication-status.has-changes {
  color: var(--theme-ink);
  background: color-mix(in srgb, var(--theme-accent) 16%, var(--theme-surface));
  border-color: var(--theme-accent);
  font-weight: 650;
}
.trophy-hub-cover .guide-publication-state {
  position: absolute;
  inset-block-start: 0.65rem;
  inset-inline-start: 0.65rem;
  z-index: 1;
}
.trophy-hub-cover .guide-publication-status {
  background: var(--theme-surface);
  box-shadow: 0 1px 5px #0004;
}
.guide-publication-status svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.trophy-hub-feature-tools {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.trophy-hub-feature-tools > * {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
}
#hub-feature-status:empty {
  display: none;
}
@media (min-width: 700px) {
  .trophy-hub-drafts a {
    grid-template-columns: minmax(0, 1fr) 12rem 7rem;
  }
  .trophy-hub-drafts a > div {
    grid-column: auto;
  }
}
.trophy-hub-drafts strong {
  color: var(--theme-ink);
}
.trophy-hub-drafts div > span {
  display: block;
  color: var(--theme-muted);
  font-size: 0.8rem;
  margin-top: 0.4rem;
}
.trophy-hub-drafts .guide-link {
  gap: 1rem;
  font-size: 0.85rem;
  text-decoration: underline;
}
.trophy-hub-no-results {
  grid-column: 1 / -1;
  padding-block: 1rem;
}
@media (min-width: 700px) {
  .trophy-hub-hero {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .trophy-hub-feature {
    margin-left: 1rem;
  }
  .trophy-hub-feature-copy {
    inset-inline: 2rem;
    bottom: 2rem;
  }
  .trophy-hub-playing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trophy-hub-search label:last-child {
    flex: 0 1 14rem;
  }
  .trophy-hub-section {
    padding-top: 2.75rem;
  }
}
#trophy-guides {
  --guide-line: color-mix(in srgb, var(--theme-ink) 17%, transparent);
  --guide-control-line: color-mix(in srgb, var(--theme-ink) 54%, var(--theme-surface));
  color: var(--theme-ink);
  padding-bottom: 2rem;
}
#trophy-guides [hidden] {
  display: none !important;
}
#trophy-guides h1,
#trophy-guides h2 {
  font-family: Georgia, serif;
  font-weight: 400;
}
#trophy-guides h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0.6rem 0 1.3rem;
}
#trophy-guides h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
}
#trophy-guides h3 {
  line-height: 1.35;
}
#trophy-guides a {
  color: var(--theme-accent);
  text-underline-offset: 0.25em;
}
#trophy-guides button,
#trophy-guides summary,
#trophy-guides .guide-link {
  min-height: 44px;
}
#trophy-guides button {
  font: inherit;
  cursor: pointer;
}
#trophy-guides button:disabled {
  cursor: wait;
}
#trophy-guides :focus-visible {
  outline: 3px solid var(--theme-accent);
  outline-offset: 4px;
}
#trophy-guides input,
#trophy-guides select,
#trophy-guides textarea {
  background-color: var(--theme-surface);
  color: var(--theme-ink);
  border: 1px solid var(--guide-control-line);
  font: inherit;
  padding: 0.7rem;
  max-width: 100%;
  box-sizing: border-box;
}
#trophy-guides label {
  display: block;
}
#trophy-guides input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--theme-accent);
}
.guide-eyebrow,
.guide-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 650;
}
.guide-eyebrow {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1.8rem 0 0.3rem;
  color: var(--theme-muted);
}
.guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.guide-badge::before {
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: currentColor;
}
.guide-topline,
.guide-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.guide-topline {
  margin-bottom: 1rem;
  font-size: 0.85rem;
}
.guide-report-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.guide-covered {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 0.4rem;
  font-size: 0.9rem;
}
.guide-covered a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.guide-trophy:focus {
  outline: 2px solid var(--theme-accent);
  outline-offset: 4px;
}
.guide-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.guide-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
#trophy-guides .guide-quiet,
#trophy-profile .guide-quiet {
  background: transparent !important;
  color: var(--theme-muted) !important;
  border: 0 !important;
  padding: 0.45rem 0.2rem;
  border-radius: 0.2rem;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--guide-line);
}
#trophy-guides .guide-quiet:hover,
#trophy-profile .guide-quiet:hover {
  color: var(--theme-ink) !important;
  text-decoration-color: currentColor;
}
.guide-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 26rem;
  background: #142023;
  color: #faf6ea;
  margin: 0;
  border-bottom: 2px solid #d5bc80;
}
.guide-character {
  position: absolute;
  inset: 0 0 0 auto;
  width: 38%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: -2;
  mask-image: linear-gradient(90deg, transparent 12%, #000 32%);
}
.guide-cover-caption {
  position: absolute;
  right: 1.5rem;
  bottom: 1.4rem;
  font-size: 0.6rem;
  letter-spacing: 0.23em;
  color: #f7e9c4;
  writing-mode: vertical-rl;
  text-shadow: 0 1px 4px #000;
}
.guide-tier-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin-top: 1.1rem;
}
.guide-tier-summary > span {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.7rem;
  color: #f0eee5;
}
.guide-tier-summary strong {
  font-variant-numeric: tabular-nums;
}
.guide-tier-summary .guide-trophy-mark {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
}
.guide-tier-summary [data-grade="platinum"] .guide-trophy-mark {
  color: #b9e9f2;
}
.guide-tier-summary [data-grade="gold"] .guide-trophy-mark {
  color: #f3ce79;
}
.guide-tier-summary [data-grade="silver"] .guide-trophy-mark {
  color: #d2dce3;
}
.guide-tier-summary [data-grade="bronze"] .guide-trophy-mark {
  color: #e9ac81;
}
.guide-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 45%;
  display: block;
}
.guide-hero > .guide-art {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.guide-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #111d20f5 0%, #111d20e8 27%, #111d2080 58%, #111d2010 100%),
    linear-gradient(0deg, #111d20a8, transparent 60%);
}
.guide-hero-copy {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  max-width: 39rem;
}
.guide-cover .trophy-game-eyebrow {
  margin: 0.5rem 0 1.5rem;
  --game-tag-ink: #f0eee5;
  --game-tag-rule: #aaab9f;
}
.guide-cover .trophy-game-eyebrow .guide-kicker {
  color: #e6d5a8;
}
.guide-hero .trophy-game-metadata {
  --game-credit-ink: #e0e4df;
}
#trophy-guides h1:has(+ .trophy-game-metadata) {
  margin-bottom: 0.25rem;
}
.guide-subtitle {
  display: block;
  font-size: 0.43em;
  letter-spacing: 0.025em;
  line-height: 1.5;
  margin-top: 0.3rem;
}
.guide-credit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1rem;
  margin: 1rem 0;
}
.guide-byline {
  margin: 0;
  color: #f0eee5;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.guide-byline a {
  color: inherit;
  text-underline-offset: 0.2em;
}
.guide-intro {
  max-width: 46ch;
  color: var(--theme-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}
.guide-hero .guide-intro {
  color: #f0eee5;
  max-width: 37ch;
  font-size: 1rem;
}
.guide-platform {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e6d5a8;
  margin: 1.5rem 0 0;
}
.guide-progress {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--guide-line);
}
#trophy-guides .guide-progress h2 {
  font:
    600 0.9rem system-ui,
    sans-serif;
  margin: 0;
  letter-spacing: 0;
}
.guide-progress .trophy-hub-progress {
  margin-block: 0.6rem 0.8rem;
}
.guide-progress .trophy-hub-progress-counts {
  font-variant-numeric: tabular-nums;
}
.guide-progress-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  align-items: baseline;
}
.guide-progress-links .guide-renown-note {
  margin: 0;
}
#guide-progress-note {
  font-size: 0.72rem;
  color: var(--theme-muted);
  margin: 0;
}
#guide-progress-message {
  font-size: 0.8rem;
  margin: 0.5rem 0 0;
}
#guide-progress-message:empty,
.guide-trophy-feedback:empty {
  display: none;
}
.guide-trophy-feedback {
  font-size: 0.8rem;
  color: var(--theme-ink);
}
.guide-trophy-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  padding-top: 0.3rem;
}
.trophy-entry .guide-earned {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.15rem 0.65rem;
  border-radius: 2rem;
  cursor: default;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--theme-muted);
  white-space: nowrap;
}
.guide-earned input:disabled {
  cursor: wait;
}
.trophy-entry[data-earned-state="true"] .guide-earned {
  color: var(--theme-accent);
  background: color-mix(in srgb, var(--theme-accent) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--theme-accent) 28%, transparent);
}
.trophy-entry[data-grade="gold"] {
  --trophy-tier: light-dark(#967019, #f3ce79);
}
.trophy-entry[data-grade="silver"] {
  --trophy-tier: light-dark(#687785, #d2dce3);
}
.trophy-entry[data-grade="bronze"] {
  --trophy-tier: light-dark(#a3653e, #e9ac81);
}
.trophy-entry[data-grade="platinum"] {
  --trophy-tier: light-dark(#387f9a, #b9e9f2);
}
.guide-trophy-emblem {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--trophy-tier, var(--theme-muted));
}
.guide-trophy-emblem .guide-trophy-mark {
  margin: 0;
  color: inherit;
}
.trophy-entry[data-earned-state="true"] .guide-trophy-emblem {
  border-color: color-mix(in srgb, currentColor 65%, transparent);
  background: radial-gradient(
    ellipse at 50% 25%,
    color-mix(in srgb, currentColor 35%, transparent),
    color-mix(in srgb, currentColor 8%, transparent) 80%
  );
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, currentColor 30%, transparent),
    0 0 1rem color-mix(in srgb, currentColor 18%, transparent);
}
.trophy-entry[data-earned-state="true"] .guide-trophy-emblem .guide-trophy-mark {
  filter: drop-shadow(0 1px 3px color-mix(in srgb, currentColor 35%, transparent));
}
.trophy-earned-seal {
  display: none;
  position: absolute;
  right: -0.2rem;
  bottom: -0.15rem;
  width: 1.15rem;
  height: 1.15rem;
  box-sizing: border-box;
  border: 2px solid var(--theme-background);
  border-radius: 50%;
  background: var(--theme-accent);
  color: var(--theme-background);
}
.trophy-entry[data-earned-state="true"] .trophy-earned-seal {
  display: block;
}
@media (forced-colors: active) {
  .trophy-entry[data-earned-state="true"] .guide-trophy-emblem {
    border-color: CanvasText;
  }
  .trophy-earned-seal {
    border-color: Canvas;
    background: Canvas;
    color: CanvasText;
  }
}
.guide-facts {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 4vw, 3.5rem);
  padding: 1.5rem 0 1.8rem;
  border-bottom: 1px solid var(--guide-line);
}
.guide-facts > div {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.guide-facts strong {
  font:
    2.5rem Georgia,
    serif;
}
.guide-facts span {
  font-size: 0.78rem;
  color: var(--theme-muted);
}
.guide-facts > p {
  margin: 0 0 0 auto;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--theme-muted);
}
.guide-facts em {
  color: var(--theme-ink);
  font-family: Georgia, serif;
  font-size: 1.1rem;
}
.guide-reading-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
  margin-top: 1.1rem;
}
.guide-tabs {
  display: flex;
  gap: 1.3rem;
  flex-wrap: wrap;
}
#trophy-guides .guide-tabs button {
  background: transparent !important;
  color: var(--theme-muted) !important;
  border-radius: 0;
  padding: 0.7rem 0.1rem;
  border-bottom: 2px solid transparent;
  font-size: 0.95rem;
}
#trophy-guides .guide-tabs button[aria-pressed="true"] {
  border-bottom-color: var(--theme-accent);
  color: var(--theme-ink) !important;
  font-weight: 650;
}
.guide-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0.55rem;
}
:is(#trophy-guides, #trophy-profile) .guide-check {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  min-height: 44px;
  font-size: 0.8rem;
  color: var(--theme-muted);
}
.guide-visibility {
  min-width: 0;
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}
.guide-visibility legend {
  padding: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
:is(#trophy-guides, #trophy-profile) .guide-visibility .guide-check {
  box-sizing: border-box;
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--guide-line);
  border-radius: 0.45rem;
  color: var(--theme-ink);
  cursor: pointer;
  gap: 0.65rem;
}
:is(#trophy-guides, #trophy-profile) .guide-visibility .guide-check:has(:checked) {
  border-color: color-mix(in srgb, var(--theme-accent) 65%, var(--guide-line));
  background: color-mix(in srgb, var(--theme-accent) 9%, var(--theme-surface));
}
:is(#trophy-guides, #trophy-profile) .guide-visibility .guide-check:has(:focus-visible) {
  outline: 3px solid var(--theme-accent);
  outline-offset: 3px;
}
:is(#trophy-guides, #trophy-profile) .guide-visibility .guide-check:has(:disabled) {
  color: var(--theme-muted);
  background: transparent;
  border-color: var(--guide-line);
  cursor: default;
}
:is(#trophy-guides, #trophy-profile) .guide-visibility input[type="checkbox"] {
  appearance: auto;
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--theme-accent);
}
:is(#trophy-guides, #trophy-profile) .guide-visibility input:focus-visible {
  outline: none;
}
.guide-filter-help {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 1.5rem;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--theme-muted);
}
.guide-filter-help p,
.guide-filter-help .guide-help {
  margin: 0;
}
.guide-filter-help .guide-help[open] {
  flex-basis: 100%;
}
.guide-filter-help small {
  display: block;
  max-width: 65ch;
  padding-block: 0.4rem;
  line-height: 1.6;
}
.guide-filter-note {
  color: var(--theme-muted);
  font-size: 0.78rem;
  margin: 1rem 0 2.6rem;
}
.guide-roadmap {
  display: grid;
  gap: 1.5rem;
}
.guide-reading-column {
  min-width: 0;
  max-width: 48rem;
}
.guide-reading-column > section {
  scroll-margin-top: 2rem;
}
.guide-reading-column > section > .guide-row > h2 {
  margin: 0;
}
.guide-prose {
  line-height: 1.8;
  overflow-wrap: break-word;
  word-break: normal;
  text-align: start;
  font-size: 0.97rem;
}
.guide-prose :is(p, li) {
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.guide-controller-icon {
  display: inline-block;
  height: 1.4em;
  width: auto;
  max-width: none;
  vertical-align: -0.32em;
  overflow: visible;
  color: inherit;
}
.guide-prose > *:first-child {
  margin-top: 0;
}
.guide-prose h3 {
  font-size: 1.12rem;
}
.guide-prose h4 {
  font-size: 1rem;
}
.guide-prose pre {
  white-space: pre-wrap;
  background: var(--theme-tint);
  padding: 1rem;
  border-radius: 0.3rem;
}
.guide-prose code {
  font-size: 0.88em;
}
.guide-prose table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  max-width: 100%;
}
.guide-feedback {
  margin-top: 3rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--guide-line);
  max-width: 48rem;
  scroll-margin-top: 6rem;
}
.guide-feedback h2 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}
.guide-feedback p {
  margin: 0.5rem 0;
}
.guide-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-block: 1rem;
}
#trophy-guides .guide-feedback-actions button {
  min-width: 4rem;
  min-height: 44px;
  background: transparent;
  color: inherit;
}
#trophy-guides .guide-feedback-actions .guide-link-button {
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
#trophy-guides .guide-feedback-actions button[aria-pressed="true"] {
  border-color: var(--theme-accent);
  box-shadow: inset 0 -3px 0 var(--theme-accent);
  font-weight: 700;
}
.guide-feedback-note {
  font-size: 0.875rem;
  color: var(--theme-muted);
}
.guide-feedback-note:empty {
  display: none;
}
.guide-feedback-top {
  color: #f0eee5;
  font-size: 0.85rem;
  scroll-margin-top: 6rem;
}
.guide-feedback-top:not([hidden]) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
}
.guide-feedback-top details[open] {
  flex-basis: 100%;
}
.guide-feedback-top summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.guide-feedback-top summary::-webkit-details-marker {
  display: none;
}
.guide-feedback-top p,
.guide-feedback-top .guide-feedback-actions {
  margin-block: 0.5rem;
}
.guide-feedback-top .guide-feedback-note,
.guide-feedback-top a {
  color: inherit;
}
.guide-feedback-top a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
#trophy-guides .guide-feedback-top .guide-feedback-actions button[aria-pressed="true"] {
  border-color: currentColor;
  box-shadow: inset 0 -3px 0 currentColor;
}
.guide-feedback-top :focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.guide-prose th,
.guide-prose td {
  min-width: 8ch;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--guide-line);
  vertical-align: top;
  line-height: 1.55;
  overflow-wrap: normal;
  word-break: normal;
}
.guide-prose :is(th, td):not([align]) {
  text-align: start;
}
@media (max-width: 480px) {
  .guide-prose th,
  .guide-prose td {
    padding: 0.65rem 0.6rem;
  }
}
.guide-prose img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem 0;
}
.guide-prose img:not([src]) {
  display: none;
}
.guide-prose blockquote {
  margin-left: 0;
  border-left: 2px solid var(--theme-accent);
  padding-left: 1rem;
  color: var(--theme-muted);
}
.guide-prose input[type="checkbox"] {
  width: auto;
}
.guide-prose ol {
  padding-left: 1.4rem;
}
.guide-prose li {
  padding-left: 0.35rem;
  margin-block: 0.45rem;
}
.guide-prose li::marker {
  color: var(--theme-accent);
  font-weight: 600;
}
.guide-jump {
  margin: 0;
  min-width: 0;
}
.guide-jump .guide-kicker {
  color: var(--theme-muted);
  margin: 0 0 0.75rem;
}
.guide-jump > div {
  display: flex;
  overflow-x: auto;
  gap: 0.2rem;
  padding: 0.3rem 0.3rem 0.6rem;
}
#trophy-guides .guide-jump a {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  min-height: 44px;
  color: var(--theme-muted);
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
  padding: 0 0.8rem;
}
.guide-jump a span {
  font:
    0.85rem Georgia,
    serif;
}
#trophy-guides .guide-jump a:hover,
#trophy-guides .guide-jump a:focus-visible {
  color: var(--theme-ink);
  text-decoration: underline;
}
.guide-chapter {
  border-top: 2px solid var(--guide-line);
  padding: 2rem 0 1.2rem;
  margin-top: 2rem;
}
.guide-chapter h2 {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}
.guide-chapter-number {
  font:
    2.4rem Georgia,
    serif;
  color: var(--theme-accent);
}
.guide-reading-column > section > .guide-row + .guide-prose,
.guide-chapter .guide-prose {
  margin-top: 1rem;
}
.guide-chapter > .guide-prose > blockquote {
  border-left: 0;
  padding: 0;
  color: var(--theme-ink);
}
.guide-chapter-trophies {
  margin: 1.75rem 0 0.5rem 0.65rem;
  padding-left: 1.5rem;
  border-left: 1px solid color-mix(in srgb, var(--theme-accent) 35%, transparent);
}
.guide-trophies-label {
  margin: 0;
  color: var(--theme-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.guide-trophy {
  border-bottom: 1px solid var(--guide-line);
  padding: 1.4rem 0;
  margin: 0;
  scroll-margin-top: 1rem;
}
.guide-trophy:last-child {
  border-bottom: 0;
}
.guide-trophy-heading {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  min-width: 0;
}
.trophy-entry > .guide-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}
.guide-trophy-mark {
  width: 1.8rem;
  height: 1.8rem;
  color: var(--theme-accent);
  flex: none;
  margin-top: 0.35rem;
  object-fit: contain;
}
.trophy-psn-profile {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--guide-line);
}
.trophy-psn-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 18rem;
}
.trophy-psn-identity > img {
  object-fit: contain;
  flex: none;
}
.trophy-psn-identity h2 {
  font:
    600 1.15rem/1.5 system-ui,
    sans-serif;
  margin: 0;
}
.trophy-psn-identity h2 span {
  font-weight: 400;
  color: var(--theme-muted);
  white-space: nowrap;
}
.trophy-psn-identity p {
  margin: 0;
  color: var(--theme-muted);
  font-size: 0.8rem;
}
.trophy-psn-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
}
.trophy-psn-totals dt {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding-left: 1.6rem;
  text-transform: capitalize;
  font-size: 0.75rem;
  color: var(--theme-muted);
}
.trophy-psn-totals .guide-trophy-mark {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
}
.trophy-psn-totals dd {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.25rem 0 0;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}
.trophy-psn-updated {
  flex-basis: 100%;
  margin: 0;
  color: var(--theme-muted);
  font-size: 0.75rem;
}
.trophy-entry .guide-trophy-heading :is(h3, h4) {
  margin: 0.25rem 0;
  font-size: 1.18rem;
  line-height: 1.4;
}
.guide-trophy p {
  margin: 0.5rem 0;
}
.guide-trophy .guide-prose,
.guide-trophy > .guide-trophy-description,
.guide-trophy > .guide-covered,
.guide-trophy > .guide-warning,
.guide-trophy > .guide-help {
  margin-left: 3.4rem;
}
.guide-trophy-metrics {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--theme-muted);
}
.guide-trophy-metrics strong {
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  color: var(--theme-ink);
}
.guide-trophy-metrics .guide-renown strong {
  color: var(--theme-accent);
}
.guide-renown-note {
  font-size: 0.75rem;
  color: var(--theme-muted);
}
.trophy-reward-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  margin-block: 1rem 1.2rem;
}
.renown-reward {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--theme-accent);
}
.renown-reward svg {
  width: 1.75rem;
  height: 2.2rem;
  filter: drop-shadow(0 0 0.45rem color-mix(in srgb, var(--theme-accent) 30%, transparent));
}
.renown-reward > span,
.trophy-rarity-stat {
  display: grid;
  gap: 0.1rem;
}
.renown-reward strong {
  font-size: 1.75rem;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
}
.renown-reward small,
.trophy-rarity-stat small {
  font-size: 0.7rem;
  letter-spacing: 0.045em;
}
.trophy-rarity-stat {
  color: var(--theme-muted);
  border-left: 1px solid var(--guide-line);
  padding-left: 1.5rem;
}
.trophy-rarity-stat:only-child {
  border-left: 0;
  padding-left: 0;
}
.trophy-rarity-stat strong {
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}
.trophy-entry > .trophy-reward-row {
  gap: 0.5rem 1.25rem;
  margin: 0.6rem 0 0.8rem 3.4rem;
}
.trophy-entry .renown-reward {
  gap: 0.35rem;
}
.trophy-entry .renown-reward > span,
.trophy-entry .trophy-rarity-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
}
.trophy-entry .renown-reward svg {
  width: 1rem;
  height: 1.25rem;
  filter: none;
}
.trophy-entry .renown-reward strong {
  font-size: 1.15rem;
}
.trophy-entry .renown-reward small,
.trophy-entry .trophy-rarity-stat small {
  font-size: 0.75rem;
  letter-spacing: normal;
}
.trophy-entry .trophy-rarity-stat {
  border: 0;
  padding: 0;
}
.trophy-entry .trophy-rarity-stat strong {
  font-size: 0.85rem;
}
.trophy-entry[data-earned-state="true"] .renown-reward svg {
  filter: drop-shadow(0 0 0.35rem color-mix(in srgb, var(--theme-accent) 30%, transparent));
}
.trophy-entry > .guide-trophy-description {
  margin-top: 0.65rem;
  margin-bottom: 1.35rem;
  color: var(--theme-muted);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.65;
}
.guide-tags {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: var(--theme-muted);
}
.guide-tags span {
  padding: 0.1rem 0;
}
.guide-trophy-meta {
  margin: 0.5rem 0;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--theme-muted);
}
.trophy-earned-rate {
  margin-block: 0.5rem;
}
.trophy-earned-rate p {
  margin: 0;
  font-size: 0.9rem;
}
.trophy-earned-rate strong {
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
  color: var(--theme-ink);
}
.trophy-earned-rate small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--theme-muted);
  line-height: 1.5;
}
.guide-warning {
  padding: 0.8rem 1rem;
  border-left: 3px solid #b16b28;
  background: var(--theme-tint);
  margin: 0.5rem 0;
}
.guide-spoiler {
  margin: 1rem 0;
  padding: 0.15rem 1rem;
  border: 1px solid var(--guide-line);
  border-radius: 0.4rem;
  background: color-mix(in srgb, var(--theme-tint) 55%, transparent);
}
.guide-spoiler[open] {
  padding-bottom: 0.5rem;
}
.guide-spoiler > div > :last-child {
  margin-bottom: 0.5rem;
}
.guide-spoiler summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  min-height: 44px;
  color: var(--theme-ink);
  font-size: 0.85rem;
  font-weight: 550;
}
.guide-spoiler-label {
  flex: 1;
  min-width: 0;
}
.guide-spoiler-action {
  flex: none;
  color: var(--theme-muted);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.guide-video {
  padding: 1rem;
  background: var(--theme-tint);
  margin: 1rem 0;
}
.guide-video small {
  display: block;
  margin-top: 0.5rem;
}
.guide-video iframe {
  display: block;
  border: 0;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 200px;
}
.guide-sources {
  max-width: 49rem;
}
.guide-sources li {
  margin-bottom: 1.5rem;
}
.guide-sources small,
.guide-art-credit {
  color: var(--theme-muted);
  font-size: 0.8rem;
}
.guide-sources small {
  display: block;
}
.guide-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0;
}
.guide-source-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.guide-filters {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0;
  grid-template-columns: 1fr;
}
.guide-empty {
  padding: 2rem 0;
  color: var(--theme-muted);
}
#guide-status {
  min-height: 1.5em;
}
.guide-grid {
  margin-top: 2rem;
}
.guide-game {
  display: grid;
  gap: 1.5rem;
  text-decoration: none;
  padding: 0 0 2rem;
  border-bottom: 1px solid var(--guide-line);
}
.guide-game .guide-art {
  aspect-ratio: 16/9;
  height: auto;
}
.guide-game-copy h2 {
  margin: 0.7rem 0;
}
.guide-game-copy p {
  color: var(--theme-muted);
}
.guide-game .guide-link {
  text-decoration: underline;
}
#trophy-guides .guide-toolbar button {
  background: transparent !important;
  color: var(--theme-ink) !important;
  border: 1px solid var(--guide-line);
  padding: 0.5rem 0.7rem;
  border-radius: 0.25rem;
}
#guide-editor,
#guide-publication,
#guide-report {
  width: min(58rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid var(--guide-line);
  border-radius: 0.8rem;
  background: var(--theme-surface);
  color: var(--theme-ink);
}
#guide-editor::backdrop,
#guide-publication::backdrop,
#guide-report::backdrop {
  background: #07150fc4;
}
#guide-edit-form,
#publication-form,
#guide-report-form {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 2rem);
}
.guide-editor-head,
.guide-editor-foot {
  padding: 0.9rem 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  flex: none;
}
.guide-editor-head {
  border-bottom: 1px solid var(--guide-line);
}
#guide-editor .guide-editor-head h2,
#guide-publication .guide-editor-head h2,
#guide-report .guide-editor-head h2 {
  margin: 0;
  font-family: inherit;
  font-weight: 650;
  font-size: 1.15rem;
}
.guide-editor-body {
  padding: 1.2rem;
  overflow: auto;
  min-height: 0;
}
.guide-editor-foot {
  border-top: 1px solid var(--guide-line);
  font-size: 0.85rem;
}
.guide-editor-fields {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  margin-bottom: 1rem;
}
.guide-editor-fields label {
  font-size: 0.9rem;
}
.guide-group-controls {
  margin: 1rem 0;
}
.guide-group-controls > label {
  display: grid;
  gap: 0.35rem;
  max-width: 24rem;
}
.guide-group-controls fieldset {
  margin: 0.75rem 0;
  border: 1px solid var(--guide-line);
  min-width: 0;
}
.guide-group-controls small,
.guide-trophy-group summary small,
.guide-group-edit p {
  color: var(--theme-muted);
  font-size: 0.85rem;
}
.guide-trophy-group {
  border-block: 1px solid var(--guide-line);
  margin: 1.5rem 0 0;
}
.guide-trophy-group + .guide-trophy-group {
  border-top: 0;
  margin-top: 0;
}
.guide-trophy + .guide-trophy-group {
  border-top: 0;
  margin-top: 0;
}
.guide-chapter-trophies > .guide-trophy-group:last-child {
  border-bottom: 0;
}
.guide-trophy-group > summary {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  box-sizing: border-box;
  padding: 0.75rem 0;
  cursor: pointer;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.guide-trophy-group summary small {
  margin: 0;
  text-align: right;
  font-weight: normal;
  font-variant-numeric: tabular-nums;
}
.guide-trophy-group > summary::before {
  display: block;
}
.guide-help > summary::after,
.guide-trophy-group > summary::after {
  content: none;
}
.guide-trophy-group > summary:hover > span,
.guide-trophy-group > summary:focus-visible > span {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.guide-group-edit {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--guide-line);
}
.guide-group-edit input {
  width: 100%;
  box-sizing: border-box;
}
.trophy-hub-progress small {
  grid-column: 1 / -1;
}
#guide-edit-fields label:not(.guide-check) {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}
#guide-edit-fields textarea {
  width: 100%;
  min-height: 0;
  box-sizing: border-box;
  resize: vertical;
  line-height: 1.5;
  padding: 0.7rem;
}
#guide-edit-fields > label:not(.guide-check),
.guide-source-edit > label:not(.guide-check) {
  margin-bottom: 1rem;
}
.guide-overview {
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--guide-line);
}
#trophy-guides .guide-overview h2 {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: normal;
  margin: 0 0 1rem;
}
.guide-overview dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1rem;
  margin: 0;
}
.guide-overview dt,
.guide-overview > p,
.guide-editor-hint {
  color: var(--theme-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}
.guide-overview dd {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}
.guide-overview-caution dd {
  font-weight: 700;
}
@media (min-width: 48rem) {
  .guide-overview dl {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.guide-chapter-edit {
  padding: 0.75rem 0 1rem;
  border-bottom: 1px solid var(--guide-line);
}
.guide-chapter-edit > label:not(.guide-check) {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.guide-chapter-edit input[type="text"],
.guide-chapter-edit input:not([type]),
#guide-edit-fields input[id^="chapter-title-"] {
  width: 100%;
  box-sizing: border-box;
}
.guide-chapter-edit .guide-quiet:disabled {
  opacity: 0.4;
  cursor: default;
}
.guide-chapter-removal {
  border-left: 2px solid var(--guide-line);
  padding-left: 0.75rem;
  margin-top: 0.75rem;
}
.guide-chapter-removal label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.guide-chapter-removal select {
  width: 100%;
  min-width: 0;
}
.guide-estimates {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin: 1.5rem 0;
}
.guide-estimates dt {
  font-size: 0.8rem;
  color: var(--theme-muted);
}
.guide-estimates dd {
  margin: 0.35rem 0 0;
}
.guide-help > label:not(.guide-check) {
  display: grid;
  gap: 0.35rem;
  margin: 0.75rem 0;
}
.guide-help > label:not(.guide-check) input {
  width: 100%;
  box-sizing: border-box;
}
.guide-art-preview {
  width: 100%;
  max-height: 14rem;
  object-fit: contain;
  margin-top: 0.5rem;
}
.guide-editor-fields input,
.guide-editor-fields select {
  margin-top: 0.35rem;
  width: 100%;
}
#guide-markdown {
  width: 100%;
  line-height: 1.6;
  padding: 1rem;
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 14rem;
}
.guide-toolbar {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  margin: 0.7rem 0;
}
.guide-toolbar button {
  font-size: 0.85rem !important;
}
.guide-help {
  margin: 1rem 0;
}
.guide-help summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  color: var(--theme-muted);
  font-size: 0.8rem;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  text-underline-offset: 0.25em;
}
.guide-help summary::-webkit-details-marker,
.guide-trophy-group > summary::-webkit-details-marker {
  display: none;
}
.guide-help summary::before,
.guide-trophy-group > summary::before {
  content: "";
  width: 1rem;
  height: 1rem;
  flex: none;
  background: currentColor;
  clip-path: polygon(35% 20%, 44% 11%, 83% 50%, 44% 89%, 35% 80%, 65% 50%);
}
.guide-help[open] > summary::before,
.guide-trophy-group[open] > summary::before {
  transform: rotate(90deg);
}
#trophy-guides .guide-trophy > .guide-help a {
  color: var(--theme-muted);
  text-decoration: underline;
}
.guide-trophy > .guide-help > small {
  display: block;
  padding: 0.25rem 0 0.5rem 1.45rem;
  line-height: 1.7;
}
#trophy-guides .guide-help summary:hover,
#trophy-guides .guide-help summary:focus-visible,
#trophy-guides .guide-trophy > .guide-help a:hover,
#trophy-guides .guide-trophy > .guide-help a:focus-visible {
  color: var(--theme-ink);
  text-decoration-color: currentColor;
}
.guide-help pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.8rem;
}
#guide-edit-error {
  color: var(--theme-ink);
  font-weight: 600;
}
#guide-preview-result {
  margin-top: 1.25rem;
  border-top: 1px solid var(--guide-line);
  padding-top: 1rem;
}
#guide-edit-fields fieldset {
  border: 1px solid var(--guide-line);
  margin: 0.8rem 0;
  padding: 0.75rem;
}
.guide-tag-fields {
  display: flex;
  gap: 0.2rem 1rem;
  flex-wrap: wrap;
}
.guide-source-edit {
  border-top: 1px solid var(--guide-line);
  padding: 1rem 0;
}
.guide-source-edit label {
  margin-top: 0.5rem;
}
.guide-source-edit input {
  width: 100%;
}

#guide-markdown {
  margin-top: 0.5rem;
}
@media (min-width: 700px) {
  .guide-filters {
    grid-template-columns: 2fr 1fr;
  }
  .guide-game {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 2.5rem;
  }
  .guide-roadmap {
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
  }
  .guide-jump {
    position: sticky;
    top: 2rem;
    align-self: start;
  }
  .guide-jump > div {
    display: block;
    overflow: visible;
    border-left: 1px solid var(--guide-line);
    padding: 0;
  }
  #trophy-guides .guide-jump a {
    white-space: normal;
    padding: 0.2rem 1rem;
    line-height: 1.5;
  }
}
@media (max-width: 699px) {
  .guide-character {
    width: 100%;
    height: 65%;
    object-position: right top;
    mask-image: linear-gradient(90deg, transparent 45%, #000 70%);
  }
  .guide-cover-caption {
    display: none;
  }
  .guide-tier-summary {
    gap: 0.5rem 0.8rem;
  }
  .guide-tier-summary > span {
    font-size: 0.65rem;
  }
  .guide-trophy-tools {
    max-width: 8rem;
  }
  .guide-hero {
    min-height: 31rem;
    display: flex;
    align-items: flex-end;
  }
  .guide-hero > .guide-art {
    height: 75%;
    object-position: 53% top;
  }
  .guide-hero::after {
    background: linear-gradient(0deg, #111d20 4%, #111d20f5 30%, #111d2060 68%, #111d2000 100%);
  }
  .guide-hero-copy {
    padding-top: 10rem;
  }
  .guide-cover .trophy-game-eyebrow {
    margin-bottom: 1rem;
  }
  .guide-hero .guide-intro {
    max-width: 34ch;
  }
  .guide-platform {
    margin-top: 1.2rem;
  }
  .guide-facts {
    justify-content: space-between;
    gap: 0.7rem;
    padding-block: 1.2rem;
  }
  .guide-facts > div {
    display: block;
  }
  .guide-facts strong {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.25rem;
  }
  .guide-facts span {
    font-size: 0.7rem;
  }
  .guide-facts > p {
    display: none;
  }
  .guide-controls {
    gap: 0.3rem 0.8rem;
  }
  .guide-filter-note {
    margin-bottom: 1.5rem;
  }
  .guide-reading-tools {
    gap: 0.6rem;
  }
  .guide-chapter {
    margin-top: 1.5rem;
  }
  .guide-chapter-trophies {
    margin-left: 0;
    padding-left: 0.9rem;
  }
  .guide-trophy .guide-prose,
  .trophy-entry > .trophy-reward-row,
  .guide-trophy > .guide-trophy-description,
  .guide-trophy > .guide-covered,
  .guide-trophy > .guide-warning,
  .guide-trophy > .guide-help {
    margin-left: 0;
  }
  .guide-trophy .guide-actions {
    margin-left: 0;
  }
}
@media (max-width: 480px) {
  main.site-content {
    padding-inline: 1rem;
  }
  .guide-topline {
    gap: 0.2rem;
  }
  .guide-topline .guide-actions {
    gap: 0.65rem;
  }
  .guide-topline .guide-quiet {
    font-size: 0.75rem !important;
  }
  .guide-editor-head,
  .guide-editor-foot,
  .guide-editor-body {
    padding: 1rem;
  }
  .guide-editor-foot button {
    width: 100%;
  }
  .guide-cover {
    margin-inline: -1rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  #trophy-guides button,
  #trophy-guides a {
    transition:
      color 0.15s,
      background-color 0.15s;
  }
}
#trophy-guides .guide-jump a[aria-current="location"] {
  color: var(--theme-ink);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--theme-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
}

.guide-estimates {
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--guide-line);
  margin: 0 0 1.5rem;
}
.guide-estimates > div {
  min-width: 6rem;
}
#guide-game-results {
  grid-column: 1 / -1;
  max-height: 14rem;
  overflow-y: auto;
}
#guide-game-results button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.6rem;
}
@media (max-width: 600px) {
  .guide-estimates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}
/* Text covers keep the guide compact when artwork is unavailable. */
.guide-hero.guide-hero-text {
  min-height: 0;
}
.guide-hero-text .guide-hero-copy {
  padding: 1.5rem;
  max-width: 55rem;
}
.guide-hero-text .guide-cover-caption {
  display: none;
}
.guide-linked-note {
  color: var(--theme-muted);
  font-size: 0.85rem;
  margin: 0 0 1rem;
}
.guide-discard {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--theme-accent);
}
@media (max-width: 600px) {
  .trophy-hub-hero {
    min-height: 0;
  }
  .trophy-hub-feature {
    min-height: 12rem;
  }
}
/* Same-origin SVGs remain visible under the guide's image policy. */
#trophy-guides {
  --site-arrow: url("/assets/arrow-right.svg");
}
#trophy-guides summary::after {
  mask-image: url("./chevron-down.svg");
}
#trophy-guides select {
  background-image: url("./chevron-down.svg");
}
#trophy-guides .guide-mobile-jump {
  display: none;
}
.trophy-hub-feature-copy strong {
  overflow-wrap: anywhere;
}
@media (max-width: 699px) {
  .trophy-hub-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
  }
  .trophy-hub-intro {
    min-width: 0;
    padding: 1rem 0;
  }
  #trophy-guides .trophy-hub-intro h1 {
    font-size: clamp(2.3rem, 9vw, 3.1rem);
  }
  .trophy-hub-feature {
    min-height: 13rem;
  }
  .trophy-hub-feature-copy {
    inset: auto 0.75rem 1rem;
    gap: 0.5rem;
  }
  .trophy-hub-feature-copy strong {
    font-size: 1.35rem;
  }
  .trophy-hub-primary {
    gap: 0.5rem;
  }
  .trophy-hub-intro .guide-kicker {
    font-size: 0.65rem;
  }
  .guide-jump {
    display: none;
  }
  #trophy-guides .guide-mobile-jump {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    gap: 0.6rem;
    align-items: center;
    margin: 0;
    padding: 0.5rem;
    background: var(--theme-surface);
    border-bottom: 1px solid var(--guide-line);
    font-size: 0.85rem;
  }
  .guide-mobile-jump select {
    flex: 1;
    width: 0;
    min-width: 0;
    min-height: 44px;
  }
  .guide-reading-column > section,
  .guide-trophy {
    scroll-margin-top: 4.5rem;
  }
}

#guide-report {
  width: min(34rem, calc(100% - 1.5rem));
}
#guide-report .guide-editor-foot {
  justify-content: flex-end;
}
.guide-report-fields {
  display: grid;
  gap: 0.5rem;
}
.guide-report-fields > input,
.guide-report-fields > textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  font: inherit;
}
.guide-report-fields > textarea {
  resize: vertical;
  min-height: 7rem;
}
#guide-report-context {
  margin-top: 0;
  overflow-wrap: anywhere;
}
#guide-report-error:empty {
  display: none;
}
.guide-report-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
#guide-report [hidden] {
  display: none !important;
}
