:root {
  color-scheme: dark;
  --gy-ink: #080a0c;
  --gy-ink-soft: #0f1216;
  --gy-panel: #15191e;
  --gy-panel-raised: #1d2228;
  --gy-stone-dark: #4e5357;
  --gy-stone: #a9aaa4;
  --gy-stone-light: #d8d6cc;
  --gy-bone: #f3edde;
  --gy-muted: #bbb9ae;
  --gy-line: #3c4146;
  --gy-rust: #dc673c;
  --gy-amber: #f3ad54;
  --gy-green: #87df99;
  --gy-green-dark: #174f2b;
  --gy-danger: #ff8e87;
  --gy-focus: #ffe58f;
  --gy-shadow: 0 24px 70px rgb(0 0 0 / 42%);
  --gy-radius-sm: 8px;
  --gy-radius: 14px;
  --gy-radius-lg: 24px;
  --gy-shell: 1180px;
  --gy-header-height: 72px;
  --gy-font-body: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --gy-font-display: "Iowan Old Style", "Songti TC", "Noto Serif TC", Georgia, serif;
  --gy-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--gy-header-height) + 16px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--gy-ink);
  color: var(--gy-bone);
  font-family: var(--gy-font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.is-dialog-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  border: 0;
}

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

p,
h1,
h2,
h3,
dl,
dd,
ol,
ul {
  margin-top: 0;
}

h1,
h2,
h3,
strong {
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid var(--gy-focus);
  outline-offset: 4px;
}

.gy-shell {
  width: min(calc(100% - 32px), var(--gy-shell));
  margin-inline: auto;
}

.gy-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.gy-skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: var(--gy-radius-sm);
  background: var(--gy-focus);
  color: var(--gy-ink);
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.gy-skip-link:focus {
  transform: translateY(0);
}

.gy-anchor {
  scroll-margin-top: calc(var(--gy-header-height) + 16px);
}

.gy-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: var(--gy-header-height);
  border-bottom: 1px solid rgb(243 237 222 / 13%);
  background: rgb(8 10 12 / 88%);
  backdrop-filter: blur(18px);
}

.gy-header__inner {
  display: flex;
  min-height: var(--gy-header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gy-brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  color: var(--gy-bone);
  text-decoration: none;
}

.gy-brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--gy-stone-light);
}

.gy-brand strong,
.gy-brand small {
  display: block;
}

.gy-brand strong {
  font-family: var(--gy-font-display);
  font-size: 20px;
  letter-spacing: .08em;
}

.gy-brand small {
  color: var(--gy-muted);
  font-family: var(--gy-font-mono);
  font-size: 10px;
  letter-spacing: .12em;
}

.gy-desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gy-desktop-nav > a:not(.gy-button) {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  padding-inline: 14px;
  border-radius: var(--gy-radius-sm);
  color: var(--gy-muted);
  font-weight: 700;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease;
}

.gy-desktop-nav > a:not(.gy-button):hover {
  background: var(--gy-panel-raised);
  color: var(--gy-bone);
}

.gy-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.gy-button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.gy-button:active:not(:disabled) {
  transform: translateY(1px);
}

.gy-button:disabled,
.gy-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .5;
  transform: none;
}

.gy-button--small {
  min-height: 44px;
  padding: 9px 15px;
  font-size: 14px;
}

.gy-button--primary {
  background: var(--gy-amber);
  box-shadow: 0 8px 30px rgb(243 173 84 / 20%);
  color: #171006;
}

.gy-button--primary:hover:not(:disabled) {
  background: #ffc06f;
  box-shadow: 0 11px 34px rgb(243 173 84 / 30%);
}

.gy-button--stone {
  border-color: var(--gy-stone-dark);
  background: var(--gy-panel-raised);
  color: var(--gy-bone);
}

.gy-button--stone:hover:not(:disabled) {
  border-color: var(--gy-stone);
  background: #262c32;
}

.gy-button--ghost {
  border-color: var(--gy-line);
  background: transparent;
  color: var(--gy-muted);
}

.gy-button--ghost:hover:not(:disabled) {
  border-color: var(--gy-stone-light);
  color: var(--gy-bone);
}

.gy-button--arc {
  background: var(--gy-rust);
  color: #160b07;
}

.gy-button--arc:hover:not(:disabled) {
  background: #f0784c;
}

.gy-button--revived {
  background: var(--gy-green);
  color: #092112;
}

.gy-button--revived:hover:not(:disabled) {
  background: #a6efb3;
}

.gy-button--light {
  background: var(--gy-bone);
  color: var(--gy-ink);
}

.gy-button--light:hover:not(:disabled) {
  background: #fffaf0;
}

.gy-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--gy-amber);
  font-family: var(--gy-font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.gy-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--gy-header-height));
  overflow: hidden;
  padding: clamp(72px, 10vw, 132px) 0 52px;
  border-bottom: 1px solid var(--gy-line);
  background:
    radial-gradient(circle at 78% 18%, rgb(245 229 181 / 9%), transparent 27%),
    linear-gradient(160deg, #101318 0%, var(--gy-ink) 55%, #111614 100%);
}

.gy-atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.gy-atmosphere::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 22%;
  background:
    linear-gradient(155deg, transparent 35%, #161b18 36% 64%, transparent 65%) 0 100% / 170px 100% repeat-x,
    linear-gradient(205deg, transparent 35%, #101512 36% 64%, transparent 65%) 60px 100% / 210px 85% repeat-x;
  content: "";
  opacity: .7;
}

.gy-moon {
  position: absolute;
  top: 7%;
  right: 9%;
  width: clamp(120px, 18vw, 250px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #d7d0bd;
  box-shadow: 0 0 100px rgb(234 222 188 / 18%);
  opacity: .16;
}

.gy-raven {
  position: absolute;
  width: 64px;
  color: #030405;
  opacity: .75;
}

.gy-raven--one {
  top: 20%;
  right: 28%;
  transform: rotate(-8deg);
}

.gy-raven--two {
  top: 11%;
  right: 18%;
  width: 38px;
  transform: rotate(13deg) scaleX(-1);
}

.gy-fog {
  position: absolute;
  right: -20%;
  bottom: 6%;
  left: -20%;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(192 198 192 / 12%) 0, rgb(192 198 192 / 4%) 47%, transparent 72%);
  filter: blur(18px);
  animation: gy-fog-drift 16s ease-in-out infinite alternate;
}

.gy-fog--two {
  bottom: 20%;
  opacity: .55;
  animation-delay: -7s;
  animation-duration: 21s;
}

@keyframes gy-fog-drift {
  from { transform: translateX(-3%); }
  to { transform: translateX(4%); }
}

.gy-hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr);
}

.gy-hero__copy {
  max-width: 730px;
}

.gy-hero h1 {
  max-width: 780px;
  margin-bottom: 12px;
  font-family: var(--gy-font-display);
  font-size: clamp(64px, 10.5vw, 150px);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .82;
  text-wrap: balance;
}

.gy-hero__line {
  margin-bottom: 22px;
  color: var(--gy-stone-light);
  font-family: var(--gy-font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
}

.gy-hero__lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--gy-muted);
  font-size: clamp(16px, 1.7vw, 19px);
}

.gy-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gy-disclaimer {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--gy-muted);
  font-size: 13px;
}

.gy-hero-stone {
  position: relative;
  width: min(100%, 330px);
  margin-inline: auto;
  padding: 28px 28px 24px;
  border: 1px solid #b9b8b0;
  border-radius: 150px 150px 12px 12px;
  background:
    linear-gradient(140deg, rgb(255 255 255 / 18%), transparent 33%),
    repeating-linear-gradient(80deg, transparent 0 18px, rgb(48 52 54 / 8%) 19px 20px),
    #91948f;
  box-shadow: 0 24px 0 #4b504d, 0 42px 80px rgb(0 0 0 / 42%);
  color: #171a1b;
  transform: rotate(1.5deg);
}

.gy-hero-stone::before,
.gy-hero-stone::after {
  position: absolute;
  right: -18px;
  bottom: -33px;
  left: -18px;
  height: 18px;
  border-radius: 5px;
  background: #686c68;
  content: "";
}

.gy-hero-stone::after {
  right: -30px;
  bottom: -45px;
  left: -30px;
  height: 12px;
  background: #393e3b;
}

.gy-hero-stone__index {
  display: block;
  margin: 16px 0 42px;
  font-family: var(--gy-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-align: center;
}

.gy-hero-stone__face {
  display: grid;
  justify-items: center;
  margin-bottom: 34px;
  text-align: center;
}

.gy-hero-stone__face > span {
  font-size: 30px;
}

.gy-hero-stone__face strong {
  font-family: var(--gy-font-display);
  font-size: 42px;
  line-height: .98;
}

.gy-hero-stone__face small {
  margin-top: 8px;
  font-family: var(--gy-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.gy-hero-stone ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.gy-hero-stone li {
  padding: 5px 8px;
  border: 1px solid rgb(20 23 24 / 35%);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.gy-stats {
  display: grid;
  margin: clamp(76px, 10vw, 130px) 0 0;
  border-top: 1px solid var(--gy-line);
  border-left: 1px solid var(--gy-line);
  grid-template-columns: repeat(4, 1fr);
}

.gy-stats > div {
  min-width: 0;
  padding: 22px clamp(14px, 2.5vw, 28px);
  border-right: 1px solid var(--gy-line);
  border-bottom: 1px solid var(--gy-line);
}

.gy-stats dt {
  color: var(--gy-muted);
  font-size: 12px;
  font-weight: 700;
}

.gy-stats dd {
  margin: 4px 0 0;
  color: var(--gy-bone);
  font-family: var(--gy-font-mono);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.2;
}

.gy-stats-note {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--gy-muted);
  font-size: 13px;
  text-align: right;
}

.gy-stats-note.is-error {
  color: var(--gy-danger);
}

.gy-section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.gy-section-heading {
  margin-bottom: 36px;
}

.gy-section-heading--split {
  display: grid;
  align-items: end;
  gap: 24px 60px;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
}

.gy-section-heading h2,
.gy-report__intro h2,
.gy-rescue h2 {
  margin-bottom: 0;
  font-family: var(--gy-font-display);
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: -.045em;
  line-height: .98;
  text-wrap: balance;
}

.gy-section-heading > p {
  margin-bottom: 0;
  color: var(--gy-muted);
}

.gy-cemetery {
  border-bottom: 1px solid var(--gy-line);
  background:
    radial-gradient(circle at 20% 8%, rgb(137 172 137 / 8%), transparent 25%),
    var(--gy-ink-soft);
}

.gy-zone-index {
  display: grid;
  margin-bottom: 28px;
  border-top: 1px solid var(--gy-line);
  border-left: 1px solid var(--gy-line);
  grid-template-columns: repeat(4, 1fr);
}

.gy-zone-index a {
  display: grid;
  min-height: 118px;
  align-content: center;
  padding: 18px;
  border-right: 1px solid var(--gy-line);
  border-bottom: 1px solid var(--gy-line);
  color: var(--gy-bone);
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}

.gy-zone-index a:hover {
  background: var(--gy-panel-raised);
}

.gy-zone-index span,
.gy-zone-index small {
  color: var(--gy-muted);
  font-family: var(--gy-font-mono);
  font-size: 11px;
}

.gy-zone-index strong {
  margin: 3px 0;
  font-size: 18px;
}

.gy-cemetery-state,
.gy-detail__state {
  display: grid;
  min-height: 220px;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px dashed var(--gy-line);
  border-radius: var(--gy-radius);
  color: var(--gy-muted);
  text-align: center;
}

.gy-cemetery-state p,
.gy-detail__state p {
  margin: 0;
}

.gy-cemetery-state.is-error,
.gy-detail__state.is-error {
  border-color: rgb(255 142 135 / 55%);
  color: var(--gy-danger);
}

.gy-loader,
.gy-button-loader {
  width: 24px;
  height: 24px;
  border: 3px solid rgb(243 237 222 / 18%);
  border-top-color: var(--gy-amber);
  border-radius: 50%;
  animation: gy-spin 800ms linear infinite;
}

@keyframes gy-spin {
  to { transform: rotate(360deg); }
}

.gy-zones {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gy-zone {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--gy-line);
  border-radius: var(--gy-radius-lg);
  background: rgb(8 10 12 / 54%);
}

.gy-zone > header {
  display: grid;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  grid-template-columns: auto 1fr auto;
}

.gy-zone > header > span {
  color: var(--gy-amber);
  font-family: var(--gy-font-mono);
  font-size: 12px;
}

.gy-zone h3,
.gy-zone p {
  margin: 0;
}

.gy-zone h3 {
  font-family: var(--gy-font-display);
  font-size: 26px;
}

.gy-zone p {
  color: var(--gy-muted);
  font-size: 12px;
}

.gy-zone > header > strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--gy-line);
  border-radius: 50%;
  font-family: var(--gy-font-mono);
  font-size: 13px;
}

.gy-zone__graves {
  display: grid;
  align-items: end;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gy-zone__empty {
  min-height: 210px;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px dashed var(--gy-line);
  border-radius: var(--gy-radius);
  color: var(--gy-muted);
  text-align: center;
}

.gy-tomb {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 225px;
  align-content: end;
  padding: 0 6px 10px;
  background: none;
  color: var(--gy-ink);
  cursor: pointer;
  text-align: center;
}

.gy-tomb::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 12px;
  border-radius: 50%;
  background: #202722;
  box-shadow: 0 4px 0 #121612;
  content: "";
}

.gy-tomb__stone {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  min-height: 150px;
  align-content: center;
  padding: 28px 10px 18px;
  border: 1px solid #c3c2bb;
  border-radius: 65px 65px 8px 8px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 17%), transparent 32%),
    #8f928e;
  box-shadow: inset -7px -8px 0 rgb(40 44 43 / 12%), 0 8px 0 #565b57;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.gy-tomb:hover .gy-tomb__stone,
.gy-tomb:focus-visible .gy-tomb__stone {
  filter: brightness(1.1);
  transform: translateY(-7px) rotate(-1deg);
  box-shadow: inset -7px -8px 0 rgb(40 44 43 / 12%), 0 13px 0 #565b57, 0 22px 28px rgb(0 0 0 / 22%);
}

.gy-tomb:active .gy-tomb__stone {
  transform: translateY(-2px);
}

.gy-tomb--10k-100k .gy-tomb__stone {
  min-height: 166px;
}

.gy-tomb--100k-1m .gy-tomb__stone {
  min-height: 184px;
}

.gy-tomb--1m-plus .gy-tomb__stone {
  min-height: 202px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 22%), transparent 32%),
    #aaa99f;
}

.gy-tomb__id,
.gy-tomb__followers {
  display: block;
  overflow: hidden;
  color: #303434;
  font-family: var(--gy-font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gy-tomb__handle {
  display: block;
  overflow: hidden;
  margin: 5px 0 2px;
  font-family: var(--gy-font-display);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gy-tomb__name {
  display: block;
  overflow: hidden;
  color: #363a39;
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gy-ranking {
  border-bottom: 1px solid var(--gy-line);
  background: #0c0e11;
}

.gy-filters {
  display: grid;
  align-items: end;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--gy-line);
  border-radius: var(--gy-radius);
  background: var(--gy-panel);
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, .65fr));
}

.gy-field {
  min-width: 0;
}

.gy-field label,
.gy-fieldset legend {
  display: block;
  margin-bottom: 7px;
  color: var(--gy-stone-light);
  font-size: 13px;
  font-weight: 800;
}

.gy-field input,
.gy-field select,
.gy-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--gy-line);
  border-radius: var(--gy-radius-sm);
  background: #0d1013;
  color: var(--gy-bone);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.gy-field input:hover,
.gy-field select:hover,
.gy-field textarea:hover {
  border-color: var(--gy-stone-dark);
  background: #11151a;
}

.gy-field input:focus,
.gy-field select:focus,
.gy-field textarea:focus {
  border-color: var(--gy-focus);
  box-shadow: 0 0 0 3px rgb(255 229 143 / 16%);
  outline: 0;
}

.gy-field input[aria-invalid="true"],
.gy-field select[aria-invalid="true"],
.gy-field textarea[aria-invalid="true"] {
  border-color: var(--gy-danger);
}

.gy-field input:disabled,
.gy-field select:disabled,
.gy-field textarea:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.gy-field textarea {
  min-height: 132px;
  resize: vertical;
}

.gy-field small,
.gy-form-step > small {
  display: block;
  margin-top: 6px;
  color: var(--gy-muted);
  font-size: 12px;
}

.gy-field-error {
  min-height: 0;
  margin: 5px 0 0;
  color: var(--gy-danger);
  font-size: 12px;
  font-weight: 700;
}

.gy-field-error:not(:empty) {
  min-height: 20px;
}

.gy-top-three {
  display: grid;
  align-items: end;
  gap: 18px;
  margin: 34px 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gy-podium-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 280px;
  align-content: end;
  padding: 20px;
  border: 1px solid var(--gy-line);
  border-radius: var(--gy-radius-lg);
  background:
    radial-gradient(circle at 50% 22%, rgb(243 173 84 / 11%), transparent 38%),
    var(--gy-panel);
  color: var(--gy-bone);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.gy-podium-card:nth-child(1) {
  min-height: 330px;
  border-color: rgb(243 173 84 / 55%);
  order: 2;
}

.gy-podium-card:nth-child(2) {
  order: 1;
}

.gy-podium-card:nth-child(3) {
  min-height: 260px;
  order: 3;
}

.gy-podium-card:hover,
.gy-podium-card:focus-visible {
  border-color: var(--gy-amber);
  background-color: var(--gy-panel-raised);
  transform: translateY(-5px);
}

.gy-podium-card:active {
  transform: translateY(-1px);
}

.gy-podium-card__rank {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--gy-amber);
  border-radius: 50%;
  color: var(--gy-amber);
  font-family: var(--gy-font-mono);
  font-weight: 900;
}

.gy-podium-card__stone {
  position: absolute;
  top: 42px;
  left: 22px;
  width: 88px;
  height: 108px;
  border: 1px solid #c4c2b9;
  border-radius: 48px 48px 7px 7px;
  background: #8f928e;
  box-shadow: 0 7px 0 #555a56;
  opacity: .72;
}

.gy-podium-card__stone::after {
  position: absolute;
  inset: 23px 0 auto;
  content: "◇";
  color: #303432;
  font-size: 27px;
  text-align: center;
}

.gy-podium-card__platform {
  margin-bottom: 4px;
  color: var(--gy-amber);
  font-family: var(--gy-font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.gy-podium-card h3 {
  overflow: hidden;
  margin-bottom: 3px;
  font-family: var(--gy-font-display);
  font-size: clamp(24px, 3vw, 36px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gy-podium-card__name {
  overflow: hidden;
  margin-bottom: 12px;
  color: var(--gy-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gy-podium-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.gy-podium-card__meta span {
  padding: 5px 8px;
  border: 1px solid var(--gy-line);
  border-radius: 999px;
  color: var(--gy-stone-light);
  font-family: var(--gy-font-mono);
  font-size: 10px;
}

.gy-result-meta {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.gy-result-meta p {
  margin: 0;
  color: var(--gy-muted);
  font-size: 13px;
}

.gy-text-button {
  min-height: 44px;
  padding: 5px 8px;
  background: none;
  color: var(--gy-amber);
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.gy-text-button:hover:not(:disabled) {
  color: #ffc778;
}

.gy-text-button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.gy-table-wrap {
  overflow: hidden;
  border: 1px solid var(--gy-line);
  border-radius: var(--gy-radius);
}

.gy-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.gy-table th,
.gy-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--gy-line);
  text-align: left;
  vertical-align: middle;
}

.gy-table th {
  background: #171b20;
  color: var(--gy-muted);
  font-family: var(--gy-font-mono);
  font-size: 10px;
  letter-spacing: .05em;
}

.gy-table th:nth-child(1),
.gy-table td:nth-child(1) { width: 7%; }
.gy-table th:nth-child(2),
.gy-table td:nth-child(2) { width: 15%; }
.gy-table th:nth-child(3),
.gy-table td:nth-child(3) { width: 23%; }
.gy-table th:nth-child(4),
.gy-table td:nth-child(4) { width: 14%; }
.gy-table th:nth-child(5),
.gy-table td:nth-child(5) { width: 14%; }
.gy-table th:nth-child(6),
.gy-table td:nth-child(6) { width: 10%; }
.gy-table th:nth-child(7),
.gy-table td:nth-child(7) { width: 17%; }

.gy-table tbody tr:last-child td {
  border-bottom: 0;
}

.gy-table tbody tr {
  background: var(--gy-panel);
  transition: background 150ms ease;
}

.gy-table tbody tr:hover {
  background: var(--gy-panel-raised);
}

.gy-table__open {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 4px 0;
  background: none;
  color: var(--gy-bone);
  cursor: pointer;
  text-align: left;
}

.gy-table__open strong,
.gy-table__open small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gy-table__open small {
  color: var(--gy-muted);
}

.gy-mono {
  overflow-wrap: anywhere;
  font-family: var(--gy-font-mono);
  font-size: 12px;
}

.gy-status {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid var(--gy-line);
  border-radius: 999px;
  color: var(--gy-stone-light);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.gy-status--owner {
  border-color: rgb(243 173 84 / 55%);
  color: #ffc26f;
}

.gy-status--revived {
  border-color: rgb(135 223 153 / 55%);
  background: rgb(23 79 43 / 38%);
  color: #a8efb5;
}

.gy-ranking-cards {
  display: none;
}

.gy-ranking-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--gy-line);
  border-radius: var(--gy-radius);
  background: var(--gy-panel);
}

.gy-ranking-card__top,
.gy-ranking-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gy-ranking-card__rank {
  color: var(--gy-amber);
  font-family: var(--gy-font-mono);
  font-size: 18px;
  font-weight: 900;
}

.gy-ranking-card__open {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 0;
  background: none;
  color: var(--gy-bone);
  cursor: pointer;
  text-align: left;
}

.gy-ranking-card__open strong,
.gy-ranking-card__open small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gy-ranking-card__open strong {
  font-family: var(--gy-font-display);
  font-size: 22px;
}

.gy-ranking-card__open small,
.gy-ranking-card__bottom {
  color: var(--gy-muted);
  font-size: 12px;
}

.gy-empty-state {
  display: grid;
  min-height: 250px;
  place-items: center;
  align-content: center;
  padding: 36px 20px;
  border: 1px dashed var(--gy-line);
  border-radius: var(--gy-radius-lg);
  color: var(--gy-muted);
  text-align: center;
}

.gy-empty-state > span {
  color: var(--gy-stone);
  font-size: 42px;
}

.gy-empty-state h3 {
  margin: 8px 0 4px;
  color: var(--gy-bone);
  font-family: var(--gy-font-display);
  font-size: 26px;
}

.gy-empty-state p {
  max-width: 550px;
  margin-bottom: 18px;
}

.gy-revival {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #265a36;
  background:
    radial-gradient(circle at 80% 20%, rgb(135 223 153 / 13%), transparent 28%),
    linear-gradient(145deg, #0a130e, #101a14 55%, #0b100d);
}

.gy-revival::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0 49.9%, rgb(135 223 153 / 3%) 50% 50.1%, transparent 50.2%) 0 0 / 90px 100%;
  content: "";
  pointer-events: none;
}

.gy-revival-grid {
  position: relative;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gy-revival-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 92px 20px 20px;
  border: 1px solid #315c3e;
  border-radius: var(--gy-radius-lg);
  background: rgb(10 20 14 / 70%);
  color: var(--gy-bone);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.gy-revival-card::before {
  position: absolute;
  top: 19px;
  left: 20px;
  width: 64px;
  height: 75px;
  border: 1px solid #79b887;
  border-radius: 34px 34px 6px 6px;
  background: #55685a;
  box-shadow: 0 0 30px rgb(135 223 153 / 20%), 0 6px 0 #304737;
  content: "";
  transform: rotate(-5deg);
}

.gy-revival-card::after {
  position: absolute;
  top: 60px;
  left: 68px;
  width: 48px;
  height: 22px;
  border: solid var(--gy-green);
  border-width: 0 0 2px 2px;
  border-radius: 0 0 0 30px;
  content: "";
  filter: drop-shadow(0 0 7px rgb(135 223 153 / 55%));
  transform: rotate(-24deg);
}

.gy-revival-card:hover,
.gy-revival-card:focus-visible {
  border-color: var(--gy-green);
  box-shadow: 0 0 44px rgb(135 223 153 / 10%);
  transform: translateY(-4px);
}

.gy-revival-card__label {
  display: block;
  margin-bottom: 5px;
  color: var(--gy-green);
  font-family: var(--gy-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.gy-revival-card h3 {
  overflow: hidden;
  margin-bottom: 3px;
  font-family: var(--gy-font-display);
  font-size: 28px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gy-revival-card p {
  overflow: hidden;
  margin-bottom: 12px;
  color: var(--gy-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gy-revival-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #315c3e;
  color: #bfe5c7;
  font-size: 12px;
}

.gy-empty-state--green {
  border-color: #315c3e;
}

.gy-empty-state--green > span {
  color: var(--gy-green);
}

.gy-report {
  border-bottom: 1px solid var(--gy-line);
  background:
    linear-gradient(115deg, rgb(220 103 60 / 7%), transparent 30%),
    #0c0e11;
}

.gy-report__grid {
  display: grid;
  align-items: start;
  gap: clamp(38px, 7vw, 86px);
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
}

.gy-report__intro {
  position: sticky;
  top: calc(var(--gy-header-height) + 30px);
}

.gy-report__intro > p:not(.gy-kicker) {
  margin: 24px 0;
  color: var(--gy-muted);
}

.gy-report__rules {
  padding: 0;
  list-style: none;
}

.gy-report__rules li {
  position: relative;
  padding: 11px 0 11px 28px;
  border-bottom: 1px solid var(--gy-line);
  color: var(--gy-stone-light);
}

.gy-report__rules li::before {
  position: absolute;
  top: 11px;
  left: 0;
  color: var(--gy-amber);
  content: "◇";
}

.gy-form-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--gy-line);
  border-radius: var(--gy-radius-lg);
  background: var(--gy-panel);
  box-shadow: var(--gy-shadow);
}

.gy-form-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--gy-line);
  background: #101318;
}

.gy-form-card__head p,
.gy-form-card__head strong {
  margin: 0;
}

.gy-form-card__head p {
  color: var(--gy-amber);
  font-family: var(--gy-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.gy-form-card__head strong {
  color: var(--gy-muted);
  font-size: 12px;
}

.gy-stepper {
  display: grid;
  padding: 20px 22px 0;
  margin: 0;
  list-style: none;
  grid-template-columns: repeat(3, 1fr);
}

.gy-stepper li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--gy-muted);
}

.gy-stepper li::before {
  position: absolute;
  z-index: 0;
  top: 16px;
  right: 50%;
  left: -50%;
  height: 1px;
  background: var(--gy-line);
  content: "";
}

.gy-stepper li:first-child::before {
  display: none;
}

.gy-stepper li span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--gy-line);
  border-radius: 50%;
  background: var(--gy-panel);
  font-family: var(--gy-font-mono);
  font-size: 12px;
  font-weight: 800;
}

.gy-stepper li.is-current,
.gy-stepper li.is-complete {
  color: var(--gy-bone);
}

.gy-stepper li.is-current span {
  border-color: var(--gy-amber);
  background: var(--gy-amber);
  color: var(--gy-ink);
}

.gy-stepper li.is-complete span {
  border-color: var(--gy-green);
  background: var(--gy-green-dark);
  color: var(--gy-green);
}

.gy-stepper small {
  font-size: 11px;
  font-weight: 700;
}

.gy-form-message {
  margin: 18px 22px 0;
  padding: 12px 14px;
  border: 1px solid rgb(255 142 135 / 55%);
  border-radius: var(--gy-radius-sm);
  background: rgb(98 29 29 / 25%);
  color: #ffb0ac;
  font-weight: 700;
}

.gy-form-message.is-success {
  border-color: rgb(135 223 153 / 55%);
  background: rgb(23 79 43 / 30%);
  color: #b4efbf;
}

.gy-form-card form {
  padding: 26px 22px 24px;
}

.gy-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.gy-form-step__heading {
  margin-bottom: 24px;
}

.gy-form-step__heading span {
  color: var(--gy-amber);
  font-family: var(--gy-font-mono);
  font-size: 10px;
  font-weight: 800;
}

.gy-form-step__heading h3 {
  margin: 3px 0 0;
  font-family: var(--gy-font-display);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
}

.gy-fieldset {
  padding: 0;
  margin: 0 0 20px;
  border: 0;
}

.gy-platform-options {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
}

.gy-platform-options label {
  position: relative;
  display: grid;
  min-height: 92px;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 12px 8px;
  border: 1px solid var(--gy-line);
  border-radius: var(--gy-radius);
  background: #101318;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.gy-platform-options label:hover {
  border-color: var(--gy-stone-dark);
  background: var(--gy-panel-raised);
  transform: translateY(-2px);
}

.gy-platform-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.gy-platform-options label:has(input:focus-visible) {
  outline: 3px solid var(--gy-focus);
  outline-offset: 3px;
}

.gy-platform-options label:has(input:checked) {
  border-color: var(--gy-amber);
  background: rgb(243 173 84 / 10%);
  box-shadow: inset 0 0 0 1px var(--gy-amber);
}

.gy-platform-options label > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--gy-line);
  border-radius: 50%;
  font-family: var(--gy-font-mono);
  font-size: 17px;
  font-weight: 800;
}

.gy-platform-options label:has(input:checked) > span {
  border-color: var(--gy-amber);
  background: var(--gy-amber);
  color: var(--gy-ink);
}

.gy-field-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gy-form-step .gy-field,
.gy-check-row,
.gy-challenge {
  margin-bottom: 20px;
}

.gy-input-prefix {
  display: flex;
  align-items: stretch;
}

.gy-input-prefix > span {
  display: grid;
  min-width: 44px;
  place-items: center;
  border: 1px solid var(--gy-line);
  border-right: 0;
  border-radius: var(--gy-radius-sm) 0 0 var(--gy-radius-sm);
  background: #0d1013;
  color: var(--gy-muted);
  font-family: var(--gy-font-mono);
  font-weight: 800;
}

.gy-input-prefix input {
  border-radius: 0 var(--gy-radius-sm) var(--gy-radius-sm) 0;
}

.gy-optional {
  color: var(--gy-muted);
  font-size: 11px;
  font-weight: 500;
}

.gy-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 26px;
}

.gy-form-actions--end {
  justify-content: flex-end;
}

.gy-review-list {
  margin-bottom: 22px;
  border-top: 1px solid var(--gy-line);
}

.gy-review-list > div {
  display: grid;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gy-line);
  grid-template-columns: minmax(100px, .4fr) minmax(0, 1fr);
}

.gy-review-list dt {
  color: var(--gy-muted);
  font-size: 12px;
}

.gy-review-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
  text-align: right;
}

.gy-challenge {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--gy-line);
  border-radius: var(--gy-radius);
  background: #101318;
  grid-template-columns: 1fr auto;
}

.gy-challenge > div:first-child > span {
  color: var(--gy-amber);
  font-family: var(--gy-font-mono);
  font-size: 10px;
  font-weight: 800;
}

.gy-challenge > div:first-child p {
  margin: 3px 0 0;
  font-weight: 700;
}

.gy-challenge .gy-field {
  margin: 0;
  grid-column: 1 / -1;
}

.gy-check-row {
  display: grid;
  align-items: start;
  gap: 10px;
  color: var(--gy-stone-light);
  cursor: pointer;
  grid-template-columns: 22px 1fr;
}

.gy-check-row input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--gy-amber);
}

.gy-check-row a {
  color: var(--gy-amber);
  font-weight: 800;
}

.gy-submit-button .gy-button-loader {
  display: none;
  width: 18px;
  height: 18px;
  border-color: rgb(8 10 12 / 25%);
  border-top-color: var(--gy-ink);
}

.gy-submit-button.is-loading .gy-button-loader {
  display: block;
}

.gy-submit-note {
  margin: 14px 0 0;
  color: var(--gy-muted);
  font-size: 12px;
  text-align: right;
}

.gy-report-success {
  display: grid;
  justify-items: start;
  padding: clamp(28px, 5vw, 52px);
}

.gy-report-success__icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--gy-green);
  border-radius: 50%;
  background: var(--gy-green-dark);
  color: var(--gy-green);
  font-size: 30px;
}

.gy-report-success h3 {
  margin-bottom: 10px;
  font-family: var(--gy-font-display);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.08;
}

.gy-report-success > p:not(.gy-kicker) {
  color: var(--gy-muted);
}

.gy-tip-receipt {
  display: grid;
  width: 100%;
  gap: 6px 12px;
  padding: 16px;
  border: 1px solid var(--gy-line);
  border-radius: var(--gy-radius);
  background: #101318;
  grid-template-columns: 1fr auto;
}

.gy-tip-receipt > span {
  color: var(--gy-muted);
  font-family: var(--gy-font-mono);
  font-size: 10px;
}

.gy-tip-receipt strong {
  overflow-wrap: anywhere;
  font-family: var(--gy-font-mono);
  font-size: 18px;
  grid-column: 1;
}

.gy-tip-receipt button {
  grid-row: 1 / 3;
  grid-column: 2;
}

.gy-report-success > small {
  color: var(--gy-muted);
}

.gy-rescue {
  background: var(--gy-rust);
  color: #160b07;
}

.gy-rescue__inner {
  display: grid;
  align-items: center;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.gy-rescue .gy-kicker {
  color: #30150b;
}

.gy-rescue h2 {
  max-width: 830px;
}

.gy-rescue p:not(.gy-kicker) {
  max-width: 700px;
  margin: 18px 0 0;
  font-weight: 600;
}

.gy-footer {
  padding: 60px 0 100px;
  background: #050607;
  color: var(--gy-muted);
}

.gy-footer__grid {
  display: grid;
  gap: 30px 60px;
  grid-template-columns: .7fr 1.3fr .7fr;
}

.gy-footer strong {
  color: var(--gy-bone);
  font-family: var(--gy-font-display);
  font-size: 25px;
}

.gy-footer p {
  margin-bottom: 0;
  font-size: 13px;
}

.gy-footer nav {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 7px;
}

.gy-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--gy-stone-light);
  font-weight: 700;
  text-underline-offset: 4px;
}

.gy-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  margin-top: 38px;
  border-top: 1px solid var(--gy-line);
  font-family: var(--gy-font-mono);
  font-size: 11px;
}

.gy-mobile-nav {
  display: none;
}

.gy-detail-dialog {
  width: min(calc(100% - 30px), 760px);
  max-height: min(90svh, 900px);
  padding: 0;
  overflow: hidden auto;
  border: 1px solid var(--gy-line);
  border-radius: var(--gy-radius-lg);
  background: var(--gy-panel);
  box-shadow: var(--gy-shadow);
  color: var(--gy-bone);
}

.gy-appeal-dialog {
  width: min(calc(100% - 30px), 680px);
  max-height: min(92svh, 940px);
  padding: 0;
  overflow: hidden auto;
  border: 1px solid var(--gy-line);
  border-radius: var(--gy-radius-lg);
  background: var(--gy-panel);
  box-shadow: var(--gy-shadow);
  color: var(--gy-bone);
}

.gy-appeal-dialog::backdrop {
  background: rgb(2 3 4 / 82%);
  backdrop-filter: blur(7px);
}

.gy-appeal__body {
  padding: clamp(22px, 5vw, 42px);
}

.gy-appeal__body h2 {
  margin-bottom: 12px;
  font-family: var(--gy-font-display);
  font-size: clamp(34px, 6vw, 52px);
  letter-spacing: -.04em;
  line-height: 1;
}

.gy-appeal__lead {
  margin-bottom: 24px;
  color: var(--gy-muted);
}

.gy-appeal__body .gy-form-message {
  margin: 0 0 20px;
}

.gy-appeal__record {
  display: grid;
  margin-bottom: 22px;
  border-top: 1px solid var(--gy-line);
  border-left: 1px solid var(--gy-line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gy-appeal__record > div {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid var(--gy-line);
  border-bottom: 1px solid var(--gy-line);
}

.gy-appeal__record dt {
  color: var(--gy-muted);
  font-size: 11px;
}

.gy-appeal__record dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  font-family: var(--gy-font-mono);
  font-size: 13px;
  font-weight: 800;
}

.gy-appeal-options {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gy-appeal-options label {
  position: relative;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--gy-line);
  border-radius: var(--gy-radius);
  background: #101318;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.gy-appeal-options label:hover {
  border-color: var(--gy-stone-dark);
  background: var(--gy-panel-raised);
}

.gy-appeal-options label:has(input:checked) {
  border-color: var(--gy-amber);
  background: rgb(243 173 84 / 10%);
  box-shadow: inset 0 0 0 1px var(--gy-amber);
}

.gy-appeal-options label:has(input:focus-visible) {
  outline: 3px solid var(--gy-focus);
  outline-offset: 3px;
}

.gy-appeal-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.gy-appeal-options strong,
.gy-appeal-options small {
  display: block;
}

.gy-appeal-options strong {
  color: var(--gy-bone);
}

.gy-appeal-options small {
  margin-top: 4px;
  color: var(--gy-muted);
  font-size: 11px;
}

.gy-appeal__challenge {
  margin: 22px 0;
}

.gy-appeal-success {
  display: grid;
  justify-items: start;
}

.gy-appeal-success > p:not(.gy-kicker) {
  color: var(--gy-muted);
}

.gy-appeal-success .gy-tip-receipt {
  margin: 12px 0 22px;
}

.gy-detail-dialog::backdrop {
  background: rgb(2 3 4 / 78%);
  backdrop-filter: blur(7px);
}

.gy-detail {
  min-height: 300px;
}

.gy-detail__toolbar {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 14px 8px 22px;
  border-bottom: 1px solid var(--gy-line);
  background: rgb(21 25 30 / 94%);
  backdrop-filter: blur(15px);
}

.gy-detail__toolbar > span {
  color: var(--gy-muted);
  font-family: var(--gy-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.gy-icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--gy-line);
  border-radius: 50%;
  background: #101318;
  color: var(--gy-bone);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transition: border-color 150ms ease, background 150ms ease;
}

.gy-icon-button:hover {
  border-color: var(--gy-stone);
  background: var(--gy-panel-raised);
}

.gy-detail__state {
  min-height: 360px;
  margin: 22px;
}

.gy-detail article {
  padding: clamp(20px, 5vw, 42px);
}

.gy-detail__hero {
  display: grid;
  align-items: center;
  gap: 24px;
  grid-template-columns: 130px minmax(0, 1fr);
}

.gy-detail-stone {
  position: relative;
  display: grid;
  width: 120px;
  height: 145px;
  place-items: center;
  border: 1px solid #c4c2b9;
  border-radius: 65px 65px 8px 8px;
  background: #8f928e;
  box-shadow: 0 9px 0 #565b57, 0 20px 38px rgb(0 0 0 / 28%);
  color: #303432;
  font-size: 36px;
}

.gy-platform-label {
  margin-bottom: 5px;
  color: var(--gy-amber);
  font-family: var(--gy-font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.gy-detail__hero h2 {
  overflow: hidden;
  margin-bottom: 3px;
  font-family: var(--gy-font-display);
  font-size: clamp(36px, 7vw, 58px);
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gy-detail__name {
  overflow: hidden;
  margin-bottom: 12px;
  color: var(--gy-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gy-detail__facts {
  display: grid;
  margin: 34px 0;
  border-top: 1px solid var(--gy-line);
  border-left: 1px solid var(--gy-line);
  grid-template-columns: repeat(4, 1fr);
}

.gy-detail__facts > div {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--gy-line);
  border-bottom: 1px solid var(--gy-line);
}

.gy-detail__facts dt {
  color: var(--gy-muted);
  font-size: 10px;
}

.gy-detail__facts dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  font-family: var(--gy-font-mono);
  font-size: 13px;
  font-weight: 800;
}

.gy-detail__section {
  padding: 24px 0;
  border-top: 1px solid var(--gy-line);
}

.gy-detail__section h3 {
  margin-bottom: 14px;
  font-family: var(--gy-font-display);
  font-size: 25px;
}

.gy-detail__section > p {
  color: var(--gy-muted);
}

.gy-timeline {
  padding: 0;
  margin: 0;
  list-style: none;
}

.gy-timeline li {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 60px;
  padding: 0 0 22px 27px;
}

.gy-timeline li::before {
  position: absolute;
  top: 6px;
  bottom: -6px;
  left: 6px;
  width: 1px;
  background: var(--gy-line);
  content: "";
}

.gy-timeline li::after {
  position: absolute;
  top: 6px;
  left: 1px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--gy-panel);
  border-radius: 50%;
  background: var(--gy-amber);
  box-shadow: 0 0 0 1px var(--gy-amber);
  content: "";
}

.gy-timeline li:last-child::before {
  display: none;
}

.gy-timeline strong {
  line-height: 1.3;
}

.gy-timeline time {
  color: var(--gy-muted);
  font-family: var(--gy-font-mono);
  font-size: 11px;
}

.gy-sighting-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gy-inline-message {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--gy-green);
  font-size: 13px;
  font-weight: 700;
}

.gy-inline-message.is-error {
  color: var(--gy-danger);
}

.gy-sighting-challenge {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--gy-line);
  border-radius: var(--gy-radius);
  background: #101318;
}

.gy-sighting-challenge > div:first-child > span {
  color: var(--gy-amber);
  font-family: var(--gy-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
}

.gy-sighting-challenge > div:first-child p {
  margin: 3px 0 0;
  font-weight: 700;
}

.gy-sighting-challenge .gy-field {
  margin: 0;
}

.gy-sighting-challenge__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gy-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 24px;
  border-top: 1px solid var(--gy-line);
}

.gy-detail__disclaimer {
  margin: 22px 0 0;
  color: var(--gy-muted);
  font-size: 12px;
}

.gy-toast {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  max-width: min(380px, calc(100% - 32px));
  padding: 13px 16px;
  border: 1px solid var(--gy-stone-dark);
  border-radius: var(--gy-radius);
  background: #252a2f;
  box-shadow: var(--gy-shadow);
  color: var(--gy-bone);
  font-weight: 700;
}

.gy-toast.is-error {
  border-color: var(--gy-danger);
  color: #ffd1ce;
}

.gy-noscript {
  position: fixed;
  z-index: 500;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 16px;
  border: 1px solid var(--gy-danger);
  border-radius: var(--gy-radius);
  background: #351416;
  color: #ffd1ce;
  text-align: center;
}

@media (max-width: 980px) {
  .gy-desktop-nav > a:not(.gy-button) {
    display: none;
  }

  .gy-hero__grid,
  .gy-report__grid {
    grid-template-columns: 1fr;
  }

  .gy-hero-stone {
    width: min(76%, 330px);
  }

  .gy-section-heading--split {
    grid-template-columns: 1fr;
  }

  .gy-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gy-field--search {
    grid-column: 1 / -1;
  }

  .gy-report__intro {
    position: static;
  }

  .gy-footer__grid {
    grid-template-columns: 1fr 1.5fr;
  }

  .gy-footer__grid nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --gy-header-height: 64px;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .gy-shell {
    width: min(calc(100% - 24px), var(--gy-shell));
  }

  .gy-header__inner {
    min-height: var(--gy-header-height);
  }

  .gy-brand__mark {
    width: 38px;
    height: 38px;
  }

  .gy-brand strong {
    font-size: 18px;
  }

  .gy-brand small {
    display: none;
  }

  .gy-desktop-nav .gy-button {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .gy-hero {
    min-height: auto;
    padding-top: 70px;
  }

  .gy-hero h1 {
    font-size: clamp(60px, 22vw, 100px);
  }

  .gy-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gy-hero__actions .gy-button {
    width: 100%;
  }

  .gy-hero-stone {
    width: min(72vw, 285px);
  }

  .gy-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .gy-stats-note {
    text-align: left;
  }

  .gy-zone-index {
    overflow-x: auto;
    border: 0;
    scroll-snap-type: x mandatory;
  }

  .gy-zone-index a {
    min-width: 155px;
    border: 1px solid var(--gy-line);
    scroll-snap-align: start;
  }

  .gy-zones {
    grid-template-columns: 1fr;
  }

  .gy-zone {
    padding: 16px;
  }

  .gy-zone__graves {
    grid-template-columns: repeat(3, minmax(92px, 1fr));
  }

  .gy-tomb {
    min-height: 205px;
    padding-inline: 2px;
  }

  .gy-tomb__stone {
    padding-inline: 6px;
  }

  .gy-tomb__handle {
    font-size: 13px;
  }

  .gy-filters {
    grid-template-columns: 1fr;
  }

  .gy-field--search {
    grid-column: auto;
  }

  .gy-top-three {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 4px 2px 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .gy-podium-card,
  .gy-podium-card:nth-child(1),
  .gy-podium-card:nth-child(2),
  .gy-podium-card:nth-child(3) {
    min-width: min(82vw, 320px);
    min-height: 280px;
    order: initial;
    scroll-snap-align: start;
  }

  .gy-table-wrap {
    display: none !important;
  }

  .gy-ranking-cards {
    display: grid;
    gap: 10px;
  }

  .gy-revival-grid {
    grid-template-columns: 1fr;
  }

  .gy-field-row,
  .gy-platform-options {
    grid-template-columns: 1fr;
  }

  .gy-platform-options label {
    min-height: 62px;
    grid-template-columns: 34px 1fr;
    justify-items: start;
    align-content: center;
  }

  .gy-form-card__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .gy-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gy-form-actions .gy-button {
    width: 100%;
  }

  .gy-challenge {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .gy-rescue__inner {
    grid-template-columns: 1fr;
  }

  .gy-rescue .gy-button {
    width: 100%;
  }

  .gy-footer__grid {
    grid-template-columns: 1fr;
  }

  .gy-footer__grid nav {
    grid-column: auto;
  }

  .gy-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .gy-mobile-nav {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    min-height: calc(68px + env(safe-area-inset-bottom));
    align-items: end;
    padding: 6px 8px calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--gy-line);
    background: rgb(8 10 12 / 94%);
    backdrop-filter: blur(18px);
    grid-template-columns: repeat(5, 1fr);
  }

  .gy-mobile-nav a {
    display: grid;
    min-width: 0;
    min-height: 52px;
    place-items: center;
    align-content: center;
    gap: 2px;
    border-radius: 10px;
    color: var(--gy-muted);
    text-decoration: none;
  }

  .gy-mobile-nav a:hover,
  .gy-mobile-nav a:focus-visible {
    background: var(--gy-panel-raised);
    color: var(--gy-bone);
  }

  .gy-mobile-nav span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    font-family: var(--gy-font-mono);
    font-size: 17px;
    font-weight: 800;
  }

  .gy-mobile-nav small {
    overflow: hidden;
    font-size: 10px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gy-mobile-nav__report span {
    border-radius: 50%;
    background: var(--gy-amber);
    color: var(--gy-ink);
  }

  .gy-detail-dialog {
    width: 100%;
    max-width: none;
    max-height: calc(100svh - 10px);
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 22px 22px 0 0;
  }

  .gy-appeal-dialog {
    width: 100%;
    max-width: none;
    max-height: calc(100svh - 10px);
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 22px 22px 0 0;
  }

  .gy-appeal-options {
    grid-template-columns: 1fr;
  }

  .gy-detail__hero {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .gy-detail-stone {
    width: 84px;
    height: 105px;
  }

  .gy-detail__hero h2 {
    font-size: clamp(29px, 9vw, 44px);
  }

  .gy-detail__facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .gy-sighting-actions {
    grid-template-columns: 1fr;
  }

  .gy-sighting-challenge__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gy-detail__actions {
    display: grid;
  }

  .gy-detail__actions .gy-button {
    width: 100%;
  }

  .gy-toast {
    right: 12px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    left: 12px;
    max-width: none;
  }
}

@media (max-width: 410px) {
  .gy-shell {
    width: calc(100% - 20px);
  }

  .gy-desktop-nav .gy-button {
    max-width: 124px;
  }

  .gy-zone__graves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gy-tomb:nth-child(n + 5) {
    display: none;
  }

  .gy-stats dt {
    min-height: 38px;
  }

  .gy-stats dd {
    font-size: 23px;
  }

  .gy-form-card form,
  .gy-stepper {
    padding-right: 16px;
    padding-left: 16px;
  }

  .gy-form-message {
    margin-right: 16px;
    margin-left: 16px;
  }

  .gy-challenge {
    grid-template-columns: 1fr;
  }

  .gy-challenge .gy-text-button,
  .gy-challenge .gy-field {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
