/* ARK v7 density layer: cinematic, but without the empty continents. */

.world-terminal__marker {
  display: none !important;
}

.ark-hub-page .ark-hero {
  min-height: max(690px, 86svh);
}

.ark-hub-page .ark-hero__content {
  padding: 142px 0 78px;
}

.ark-hub-page .ark-hero__brief {
  margin-top: 34px;
}

.ark-hub-page .ark-hero__telemetry {
  bottom: 26px;
}

.ark-hub-page .ark-manifest {
  padding-block: 76px 84px;
}

.ark-hub-page .ark-manifest__grid {
  gap: clamp(44px, 6vw, 92px);
  margin-top: 30px;
}

.ark-hub-page .ark-manifest__copy > p {
  margin-bottom: 20px;
  line-height: 1.62;
}

.ark-hub-page .ark-manifest__copy dl div {
  padding: 12px 0;
}

.ark-hub-page .damo-origin {
  min-height: 690px;
}

.ark-hub-page .damo-origin__layout {
  gap: clamp(42px, 6vw, 90px);
  padding-block: 74px;
}

.ark-hub-page .damo-origin h2 {
  margin-bottom: 24px;
}

.ark-hub-page .damo-origin__copy > p:not(.ark-kicker) {
  margin-bottom: 16px;
  line-height: 1.6;
}

.ark-hub-page .damo-origin blockquote {
  margin: 24px 0;
  padding: 16px 22px;
}

.ark-hub-page .damo-dossier__portrait {
  min-height: 164px;
  padding: 20px;
}

.ark-hub-page .damo-dossier dl {
  padding-block: 10px;
}

.ark-hub-page .damo-dossier dl div {
  padding: 9px 0;
}

.ark-hub-page .ark-worlds,
.ark-hub-page .ark-field,
.ark-hub-page .creature-archive,
.ark-hub-page .quick-start,
.ark-hub-page .ark-intel {
  padding-block: 82px;
}

.ark-hub-page .ark-heading {
  margin-bottom: 36px;
}

.ark-hub-page .ark-heading .ark-kicker,
.ark-hub-page .creature-heading .ark-kicker,
.ark-hub-page .quick-start .ark-kicker {
  margin-top: 20px;
}

.ark-hub-page .world-terminal {
  min-height: 520px;
  grid-template-columns: minmax(0, 1.7fr) minmax(270px, 0.55fr);
}

.ark-hub-page .world-terminal__visual {
  min-height: 520px;
}

.ark-hub-page .world-terminal__controls button {
  min-height: 52px;
  padding: 10px 15px;
}

.ark-hub-page .world-terminal__caption {
  right: 22px;
  bottom: 22px;
  left: 22px;
}

.ark-hub-page .world-terminal__caption h3 {
  margin-block: 7px 5px;
  font-size: clamp(38px, 4.4vw, 64px);
}

.ark-hub-page .world-terminal__caption p {
  font-size: 14px;
  line-height: 1.5;
}

.ark-hub-page .world-intel {
  margin-top: 14px;
}

.ark-hub-page .world-planner {
  margin-top: 18px;
}

.ark-hub-page .world-planner__header {
  padding: 20px 22px;
}

.ark-hub-page .world-planner__status {
  padding: 12px 16px;
}

.ark-hub-page .world-planner__checklists,
.ark-hub-page .world-planner__layout > aside {
  gap: 10px;
  padding: 14px;
}

.ark-hub-page .world-planner__checklists fieldset,
.ark-hub-page .world-planner__creatures,
.ark-hub-page .world-planner__base {
  padding: 14px;
}

.ark-hub-page .protocol-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ark-hub-page .protocol-card {
  min-height: 240px;
  padding: 21px;
}

.ark-hub-page .protocol-card h3 {
  font-size: 26px;
}

.ark-hub-page .protocol-card p {
  margin-bottom: 16px;
  line-height: 1.52;
}

.ark-hub-page .survivor-manual {
  margin-top: 18px;
}

.ark-hub-page .survivor-manual__panel {
  padding: 24px;
}

.ark-hub-page .creature-heading {
  margin-bottom: 30px;
}

.ark-hub-page .creature-command {
  margin-bottom: 18px;
  padding: 16px;
}

.ark-hub-page .creature-search > div {
  min-height: 48px;
}

.ark-hub-page .creature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.ark-hub-page .creature-card {
  min-height: 304px;
}

.ark-hub-page .creature-card__artwork {
  height: 148px;
  flex-basis: 148px;
}

.ark-hub-page .creature-card__body {
  min-height: 155px;
  padding: 14px;
}

.ark-hub-page .creature-card__body h3 {
  font-size: clamp(20px, 1.65vw, 27px);
}

.ark-hub-page .creature-card__open {
  top: 163px;
  right: 13px;
}

.ark-hub-page .creature-pagination {
  margin-top: 24px;
}

.ark-hub-page .quick-start__layout {
  gap: clamp(40px, 6vw, 86px);
}

.ark-hub-page .survival-chain li {
  min-height: 92px;
  padding: 18px 0;
}

.ark-hub-page .intel-grid > a {
  min-height: 210px;
  padding: 22px;
}

.ark-hub-page .ark-final {
  min-height: 540px;
}

.ark-hub-page .ark-final__content {
  padding-block: 72px;
}

.damodex-launch {
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 194, 103, 0.28);
  background: #120b05;
}

.damodex-launch__image,
.damodex-launch__scan {
  position: absolute;
  inset: 0;
}

.damodex-launch__image {
  opacity: 0.56;
  background:
    linear-gradient(90deg, rgba(14, 8, 4, 0.98) 0%, rgba(14, 8, 4, 0.82) 45%, rgba(14, 8, 4, 0.3) 100%),
    url("/games/ark-survival-ascended/media/official/scorched-wyvern.webp") 72% 47% / cover no-repeat;
}

.damodex-launch__scan {
  opacity: 0.22;
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 194, 103, 0.045) 6px),
    radial-gradient(circle at 76% 40%, rgba(255, 149, 53, 0.26), transparent 28%);
}

.damodex-launch__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
  padding-block: 64px;
}

.damodex-launch__copy h2 {
  max-width: 900px;
  margin: 14px 0 20px;
  color: #fff6e7;
  font: 900 clamp(50px, 5.4vw, 88px)/0.88 var(--ark-display);
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.damodex-launch__copy h2 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 194, 103, 0.9);
}

.damodex-launch__copy > p:not(.ark-kicker) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 244, 226, 0.78);
  font-size: 16px;
  line-height: 1.62;
}

.damodex-launch__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
}

.damodex-launch__quiet {
  color: #ffe1b4;
  font: 900 9px/1 var(--ark-mono);
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.damodex-launch__quiet b {
  margin-left: 8px;
  color: var(--ark-amber-hot);
}

.damodex-launch__matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(255, 194, 103, 0.3);
  background: rgba(17, 10, 5, 0.78);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(15px);
}

.damodex-launch__matrix article {
  min-height: 132px;
  padding: 18px;
  border-right: 1px solid rgba(255, 194, 103, 0.14);
  border-bottom: 1px solid rgba(255, 194, 103, 0.14);
}

.damodex-launch__matrix article:nth-child(even) {
  border-right: 0;
}

.damodex-launch__matrix article span {
  color: var(--ark-amber-hot);
  font: 900 9px/1 var(--ark-mono);
}

.damodex-launch__matrix article strong {
  display: block;
  margin: 9px 0 7px;
  color: #fff5e2;
  font: 900 23px/1 var(--ark-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.damodex-launch__matrix article p {
  margin: 0;
  color: rgba(255, 239, 213, 0.62);
  font-size: 12px;
  line-height: 1.5;
}

.damodex-launch__matrix > div {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 17px 20px;
}

.damodex-launch__matrix > div b {
  color: var(--ark-amber-hot);
  font: 900 46px/0.8 var(--ark-display);
}

.damodex-launch__matrix > div span,
.damodex-launch__matrix > div i {
  color: rgba(255, 244, 226, 0.7);
  font: 800 8px/1.35 var(--ark-mono);
  letter-spacing: 0.1em;
}

.damodex-launch__matrix > div i {
  justify-self: end;
  color: var(--ark-amber-hot);
  font-style: normal;
  text-align: right;
}

@media (max-width: 1180px) {
  .damodex-launch__layout {
    grid-template-columns: 1fr;
  }

  .damodex-launch__matrix {
    max-width: 820px;
  }

  .ark-hub-page .creature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .ark-hub-page .ark-hero {
    min-height: 680px;
  }

  .ark-hub-page .world-terminal {
    grid-template-columns: 1fr;
  }

  .ark-hub-page .world-terminal__controls {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .ark-hub-page .world-terminal__controls button {
    grid-template-columns: 1fr;
    min-height: 64px;
  }

  .ark-hub-page .world-terminal__controls button > span,
  .ark-hub-page .world-terminal__controls small {
    display: none;
  }

  .ark-hub-page .creature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ark-hub-page .ark-hero {
    min-height: 640px;
  }

  .ark-hub-page .ark-hero__content {
    padding: 122px 0 52px;
  }

  .ark-hub-page .ark-hero__brief {
    gap: 20px;
    margin-top: 28px;
  }

  .ark-hub-page .ark-manifest,
  .ark-hub-page .ark-worlds,
  .ark-hub-page .ark-field,
  .ark-hub-page .creature-archive,
  .ark-hub-page .quick-start,
  .ark-hub-page .ark-intel {
    padding-block: 58px;
  }

  .ark-hub-page .ark-manifest__grid,
  .ark-hub-page .damo-origin__layout {
    gap: 30px;
  }

  .ark-hub-page .damo-origin__layout {
    padding-block: 58px;
  }

  .ark-hub-page .world-terminal,
  .ark-hub-page .world-terminal__visual {
    min-height: 390px;
  }

  .ark-hub-page .world-terminal__controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ark-hub-page .protocol-card {
    min-height: 200px;
  }

  .ark-hub-page .creature-card {
    min-height: 286px;
  }

  .ark-hub-page .creature-card__artwork {
    height: 140px;
    flex-basis: 140px;
  }

  .ark-hub-page .creature-card__body {
    min-height: 145px;
  }

  .ark-hub-page .creature-card__open {
    top: 155px;
  }

  .damodex-launch__layout {
    gap: 30px;
    padding-block: 48px;
  }

  .damodex-launch__copy h2 {
    font-size: clamp(44px, 13vw, 66px);
  }

  .damodex-launch__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }

  .damodex-launch__quiet {
    padding: 4px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .ark-hub-page .creature-grid {
    grid-template-columns: 1fr;
  }

  .damodex-launch__matrix article {
    min-height: 116px;
    padding: 15px;
  }

  .damodex-launch__matrix article strong {
    font-size: 20px;
  }

  .damodex-launch__matrix > div {
    grid-template-columns: auto 1fr;
  }

  .damodex-launch__matrix > div i {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}
