/* minibia.com's /css/home.css, recoloured to Minibia Idle's blue by tools/idle/minibia-css-recolor.js. Edit Idle's look in site/idle.css, not here. */
/* The homepage extends the shared website theme; the approved landscape
   hero and the game client retain their own layouts. */
.home-page {
  --home-edge: #214868;
  --home-surface: #0f1d29;
  --home-gold: #d6b46d;
  --home-ink: #f0e8df;
  --home-muted: #a3b6c4;
}
.home-page main {
  background: none;
}
/* A single centered invitation gives the landscape one clear focal point. */
.home-page .home-hero-inner { justify-content: center; text-align: center; padding-block: 56px 38px; }
.home-page .home-hero-copy { max-width: 760px; width: 100%; }
.home-page .home-hero h1 { text-shadow: 0 2px 3px #030b1199, 0 4px 16px #030b1138; }
.home-page .home-hero h1 span { color: #ffda83; }
.home-page .home-hero .home-eyebrow { text-shadow: 0 1px 2px #030b11cc, 0 2px 8px #030b1166; }
.home-page .home-hero-art {
  --hero-shade: linear-gradient(180deg, #09162133, #0916216b 58%, var(--site-background));
  --hero-position: center 60%;
  --hero-sun-position: 0% 44%;
  background: none var(--hero-position) / cover no-repeat;
  transform-origin: 50% 60%;
}
.home-page .home-hero-art::after { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--hero-shade); pointer-events: none; }
.home-page .home-hero-art::before { content: ''; position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse var(--hero-sun-size, 46% 70%) at var(--hero-sun-position, 0% 34%), #fff0bca6 0%, #ffcb695e 22%, #ffb4481a 48%, transparent 76%); mix-blend-mode: screen; opacity: 0; pointer-events: none; }
@media (max-width: 700px) and (orientation: portrait) {
  .home-page .home-hero-art { background-image: none; background-position: center bottom; --hero-sun-position: 0% 43%; }
  .home-page .home-hero-video { display: none; }
}
.home-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-position); opacity: 0; pointer-events: none; }
.home-page[data-motion=running] .home-hero-video.has-frame { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .home-hero-video { transition: opacity .4s ease; } }
.home-page .home-hero-description { max-width: 550px; margin-inline: auto; font-style: italic; text-shadow: 0 2px 4px #030b11cc, 0 0 12px #030b1199; }
.home-page .home-hero-actions { flex-direction: column; justify-content: center; gap: 8px; }
.home-page .home-hero .player-count-line { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 4px 0 0; color: #b0bfcc; font-size: .8125rem; line-height: 1.5; }
.home-hero .player-count-line svg { width: 17px; height: 17px; fill: none; stroke: #ffda83; stroke-width: 1.5; stroke-linecap: round; }
.home-page .home-hero .player-count-line strong { color: #ffda83; font-weight: 700; }
.home-page .home-device-note { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 10px; margin: 12px auto 0; }
.home-page .home-device-note span { padding: 0; white-space: nowrap; }
.home-page .home-section { margin: 64px 0; }
.home-page .home-section-heading {
  display: flex; align-items: end; justify-content: space-between;
  gap: 18px; margin-bottom: 24px;
}
.home-page .home-section-heading .home-eyebrow { margin-bottom: 10px; }
/* enlarged text (a 32px root on a 344px phone): the heading's box may shrink and a word that cannot fit breaks, instead of
   the page growing sideways ("base&nbsp;building" stays together whenever it fits; 2026-11-16, website-hero-check) */
.home-page .home-section-heading > div { min-width: 0; }
.home-page .home-section h2 { overflow-wrap: anywhere; }
.home-page .home-section h2 {
  font-size: clamp(1.55rem, 2.7vw, 2rem); line-height: 1.3;
  letter-spacing: -.025em; text-shadow: none; margin: 0;
}
.home-page .home-text-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--home-gold); font-size: .875rem; font-weight: 500;
  text-decoration: none;
}
.home-page .home-text-link:hover { color: #f5dcaa; text-decoration: underline; text-underline-offset: 5px; }
.home-page .home-section-meta { font-size: .8125rem; color: var(--home-muted); padding-bottom: 4px; }

/* The latest dispatch tucks into the hero's lower edge. */
.home-page .home-hero { border-bottom: 0; background-color: var(--site-background); }
.home-page main { padding-top: 0; }
.home-page .home-news {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center; gap: 22px;
  margin: -12px 0 0; padding: 16px 22px;
  border: 1px solid #2b669680; border-radius: 8px;
  background: var(--site-surface);
  box-shadow: inset 0 1px #d7c08018, 0 8px 24px #00000012;
}
.home-news-label { display: flex; align-items: center; gap: 10px; }
.home-news-label svg { flex: none; width: 32px; height: 36px; padding: 6px 4px; border: 1px solid #c4aa6140; border-radius: 5px; background: #dfc07708; fill: none; stroke: #d1b66e; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.home-page .home-news h2 { font: 600 13px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; color: #dac17f; margin: 0; text-shadow: none; letter-spacing: 0; }
.home-news-content { display: flex; align-items: center; min-width: 0; min-height: 0; }
.home-news-article { width: 100%; min-width: 0; }
.home-news-article time { display: block; font-size: 10px; line-height: 1.5; color: #8ca3b6; margin-bottom: 4px; }
.home-page .home-news h3 { font: 600 15px/1.45 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; letter-spacing: 0; text-shadow: none; margin: 0; overflow-wrap: anywhere; }
.home-news-headline { color: #d2dbe3; text-decoration: none; }
.home-news-headline:hover { color: #f1d493; text-decoration: underline; text-underline-offset: 4px; }
.home-page .home-news-excerpt { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; margin: 4px 0 0; color: #9aaebe; font-size: 12px; line-height: 1.7; }
.home-page .home-news-fallback { margin: 0; color: #a2b5c4; font-size: 13px; line-height: 1.7; }
.home-news-all { display: inline-flex; justify-content: end; align-items: center; gap: 12px; min-height: 44px; color: #d8be7c; font-size: 12px; text-decoration: none; white-space: nowrap; }
.home-news-all:hover { color: #f0d695; text-decoration: underline; text-underline-offset: 4px; }
.home-news a:focus-visible { outline: 2px solid #eed18a; outline-offset: 5px; }
.home-page .home-news + .home-anywhere.home-section { margin-top: 44px; }
.home-page .home-news[hidden] { display: none; }   /* the strip's own display rules outrank [hidden] */
@media (max-width: 850px) {
  .home-page .home-news { grid-template-columns: 1fr auto; gap: 8px 18px; padding: 14px 20px 18px; }
  .home-news-content { grid-row: 2; grid-column: 1 / -1; }
  .home-news-all { grid-column: 2; grid-row: 1; }
  .home-page .home-news-excerpt { -webkit-line-clamp: 2; }
  .home-page .home-news + .home-anywhere.home-section { margin-top: 36px; }
}
@media (max-width: 520px) {
  .home-page .home-news { margin-top: -8px; gap: 7px 12px; padding: 12px 16px 16px; }
  .home-news-label { gap: 8px; }
  .home-page .home-news-fallback { font-size: 12px; }
}

/* Playing across devices is the main promise, with real gameplay as proof. */
.home-page .home-anywhere { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); column-gap: 40px; row-gap: 36px; align-items: center; scroll-margin-top: 32px; }
.home-anywhere-intro .home-eyebrow { margin-bottom: 14px; }
.home-page .home-anywhere h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 20px; }
.home-anywhere h2 span { color: var(--home-gold); }
.home-anywhere-description { color: #e4ddd4; font-size: 1.0625rem; line-height: 1.8; margin-bottom: 14px; }
.home-anywhere-controls { color: var(--home-muted); font-size: .9375rem; line-height: 1.8; margin: 0 0 10px; }
.home-platforms { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-column: 1 / -1; padding: 0; margin: 0; gap: 14px; }
.home-platforms li { min-width: 0; }
.home-page .home-platform-card { position: relative; isolation: isolate; display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 16px; min-height: 124px; height: 100%; padding: 20px 18px; border: 1px solid #224d70; border-radius: 9px; background: var(--site-surface); color: #efead2; text-decoration: none; box-shadow: 0 6px 20px #00000022, inset 0 1px #cfcd8c10; transition: border-color .2s, background .2s, box-shadow .2s; }
.home-platform-card::before { content: ''; position: absolute; inset: 4px; border: 1px solid #c7aa880b; border-radius: 5px; pointer-events: none; }
.home-platform-art { display: grid; place-items: center; width: 70px; height: 70px; background: none; }
.home-platform-art > svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 5px 5px #00000044); }
.home-platform-copy { display: flex; flex-direction: column; align-items: start; min-width: 0; }
.home-platform-label { color: #96abbc; font-size: .625rem; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 5px; }
.home-platform-copy strong { color: #ede8cb; font-size: .9375rem; line-height: 1.5; font-weight: 600; }
.home-platform-action { display: flex; align-items: center; gap: 8px; color: #dac38a; font-size: .75rem; line-height: 1.5; margin-top: 9px; }
.home-platform-action > span { font-size: 1rem; line-height: 1; transition: transform .2s; }
.home-page .platform-touch { border-color: #1b6098; background: var(--site-surface); }
.platform-touch .home-platform-label { color: #d0b577; }
.home-page .home-platform-card:hover { border-color: #bba066; background-color: var(--site-surface-hover); color: #fff0cb; box-shadow: 0 8px 24px #00000033, inset 0 1px #e3d69c20; text-decoration: none; }
.home-page .home-platform-card:focus-visible { outline: 2px solid #f0d594; outline-offset: 4px; border-color: #d8bd78; }
.platform-key-high, .platform-phone, .platform-shortcut { transition: transform .2s ease; transform-box: fill-box; transform-origin: center; }
@media (max-width: 1000px) and (min-width: 601px) {
  .home-page .home-platform-card { grid-template-columns: 1fr; align-content: start; gap: 12px; padding: 18px; }
  .home-platform-art { width: 60px; height: 56px; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-page[data-motion=running] .home-platform-card:hover .platform-key-high { transform: translateY(-3px); }
  .home-page[data-motion=running] .home-platform-card:hover .platform-phone { transform: rotate(-5deg); }
  .home-page[data-motion=running] .home-platform-card:hover .platform-shortcut { transform: translateY(-2px); }
  .home-page[data-motion=running] .home-platform-card:hover .home-platform-action > span { transform: translate(2px, -2px); }
}

/* Three illustrated invitations support the main play-anywhere promise (hunting since 2026-11-24, owner: "We need a card
   about hunting here too"): three in a row on a wide screen, the hunting card across the top over the other two in between. */
.home-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 56px; scroll-margin-top: 28px; }
.home-story { min-width: 0; border-radius: 8px; background: var(--site-surface); }
.home-page .home-story-link { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 420px; height: 100%; overflow: hidden; border: 1px solid #5a5b3d; border-radius: inherit; color: #f1ebd6; text-decoration: none; transition: border-color .2s; }
.home-story-image { position: absolute; z-index: -2; top: 0; left: 0; width: 100%; height: 80%; object-fit: cover; object-position: center 30%; transform-origin: center top; transition: transform .5s ease; }
.home-story-hunt .home-story-image { object-position: 30% 30%; }
.home-story-link::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, #08192700 18%, #0819272b 35%, #081927eb 64%, var(--site-surface) 83%); }
.home-story-guild { background: var(--site-surface); }
.home-story-guild .home-story-link::before { background: linear-gradient(180deg, #08192700 18%, #08192730 35%, #081927eb 64%, var(--site-surface) 83%); }
.home-story-content { width: 100%; padding: 28px; }
.home-story-eyebrow { color: #dfbe79; font-size: .6875rem; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; line-height: 1.5; margin: 0 0 10px; }
.home-story h3 { font: 700 clamp(1.55rem, 2.3vw, 1.85rem) / 1.2 'Cinzel', Georgia, serif; letter-spacing: -.025em; color: #fff1d0; margin: 0 0 12px; text-shadow: 0 2px 14px #00000055; }
.home-story-description { max-width: 39ch; color: #b5c4d0; font-size: .9375rem; line-height: 1.7; margin: 0; }
.home-story-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; margin-top: 18px; padding-top: 12px; border-top: 1px solid #bba46936; color: #f0d594; font-size: .875rem; font-weight: 600; }
.home-story-arrow { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border: 1px solid #5a768d8c; border-radius: 50%; line-height: 1; font-size: 1.125rem; transition: transform .2s, background .2s; }
.home-page .home-story-link:focus-visible { outline: 2px solid #f0d594; outline-offset: 4px; border-color: #f0d594; }
@media (hover: hover) and (pointer: fine) {
  .home-page .home-story-link:hover { border-color: #c7ac71; text-decoration: none; }
  .home-story-link:hover .home-story-image { transform: scale(1.035); }
  .home-story-link:hover .home-story-arrow { transform: translateX(3px); background: #d2b06a1f; }
}
/* three in a row are narrower than two were (355 px, not 544): taller, so the text climbs no further over each picture */
@media (min-width: 1081px) {
  .home-page .home-story-link { min-height: 470px; }
  /* every title holds two lines, so the labels, titles, texts and links line up across the row when one title is shorter */
  .home-story h3 { min-height: 2.4em; }
}
@media (max-width: 1080px) {
  .home-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-story-grounds { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .home-stories { gap: 20px; }
  .home-page .home-story-link { min-height: 400px; }
  .home-story-content { padding: 24px; }
  .home-story h3 { font-size: 1.5rem; }
  .home-story-description { font-size: .875rem; }
}
@media (max-width: 640px) {
  .home-stories { grid-template-columns: 1fr; gap: 18px; margin-bottom: 42px; }
  .home-page .home-story-link { min-height: 370px; }
  .home-story-image { height: 76%; }
  .home-story-content { padding: 22px; }
  .home-story h3 { font-size: 1.6rem; }
  .home-story-description { max-width: 40ch; }
  .home-story-cta { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-story-image, .home-story-arrow { transition: none; }
  .home-story-link:hover .home-story-image, .home-story-link:hover .home-story-arrow { transform: none; }
}

/* A settled world gets a quiet, secondary invitation. */
.home-page #solace-banner { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; margin: -10px 0 40px; border: 1px solid #1e4463; border-radius: 7px; background: var(--site-surface); box-shadow: none; }
.solace-promo-art { position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: 52%; background: linear-gradient(90deg, var(--site-surface), #08192788), none 75% 45% / cover; opacity: .5; }
.solace-promo-copy > p { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 3px; }
.solace-promo-name { color: #d9c58a; font: 700 1.375rem / 1.4 'Cinzel', Georgia, serif; }
.solace-promo-tag { color: #94a9bb; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; }
.solace-promo-copy > span { color: #a4b6c5; font-size: .8125rem; line-height: 1.6; }
.home-page .solace-promo-link { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 8px 0 8px 16px; color: #dac68f; font-size: .8125rem; white-space: nowrap; text-decoration: none; }
.solace-promo-link:hover { color: #fff0bd; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 600px) {
  .home-page #solace-banner { margin: -10px 0 32px; padding: 16px 18px; flex-wrap: wrap; gap: 2px 12px; }
  .solace-promo-art { width: 75%; }
  .home-page .solace-promo-link { padding-left: 0; }
}
@media (max-width: 600px) {
  .home-page .home-device-note { flex-direction: column; }
  .home-page .home-device-divider { display: none; }
}

/* Named choices keep the control guides easy to browse. */
.home-page .home-video-choices { display: flex; flex-wrap: wrap; justify-content: start; gap: 4px; padding: 0; }
.home-page .home-video-choices button {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; height: auto; min-height: 44px; padding: 10px 16px;
  border: 1px solid transparent; border-radius: 5px;
  background: transparent; box-shadow: none;
  color: #a5b7c5; font: 500 .875rem / 1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.home-page .home-video-choices button:hover { color: #f4e2b6; background: #d5bd7810; }
.home-page .home-video-choices button[aria-pressed=true] { background: #d6b46d; border-color: #edcf8c; color: #0c1f2f; }

.home-guides-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 36px; align-items: center; }
.home-guide-intro h3 { font: 1.5rem / 1.45 'Cinzel', Georgia, serif; color: #e8dfc1; margin-bottom: 14px; }
.home-guide-intro > p { color: var(--home-muted); font-size: 1rem; line-height: 1.75; margin-bottom: 22px; }
.home-page .home-guide-intro .home-video-choices { flex-direction: column; gap: 6px; margin-bottom: 14px; }
.home-page .home-guide-intro .home-video-choices button { justify-content: space-between; border-color: #1e4564; padding-inline: 16px; min-height: 48px; }

.home-page .home-guides .youtube-carousel { border: 1px solid #2c5e87; border-radius: 7px; padding: 0; background: var(--site-surface); box-shadow: 0 12px 30px #00000044; min-width: 0; overflow: clip; }
.home-page .home-guides .youtube-slide { flex: 0 0 100%; }
.home-page .youtube-arrow { width: 44px; height: 44px; border: 1px solid #d6b46d66; color: #f3d99f; background: #071a2ae6; box-shadow: none; }

/* Native disclosures make the install steps easy to scan on small screens. */
.home-install { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding: 36px; border: 1px solid #255276; border-radius: 9px; background: var(--site-surface); box-shadow: inset 0 1px #ecdbac0c; }
.home-install-intro .home-eyebrow { line-height: 1.7; margin-bottom: 12px; }
.home-page .home-install-intro h2 { margin-bottom: 16px; }
.home-install-intro > p:not(.home-eyebrow) { font-size: .9375rem; color: var(--home-muted); line-height: 1.75; margin-bottom: 10px; }
.home-page .home-install .install-guides { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.home-page .home-install .install-guide { background: var(--site-surface-inner); border: 1px solid #224b6c; border-radius: 6px; padding: 0; }
.home-page .install-guide summary { padding: 18px 16px; cursor: pointer; min-height: 60px; color: #e7e5cf; font-size: 1rem; }
.home-page .install-guide summary::marker { color: var(--home-gold); font-size: .875rem; }
.home-page .install-guide summary span { color: #9cafbf; font-size: .8125rem; margin-left: 10px; white-space: nowrap; }
.home-page .install-guide[open] summary { border-bottom: 1px solid #183f5e; }
.home-page .install-guide ol { padding: 18px 22px 20px 38px; }
.home-page .install-guide li { font-size: .9375rem; padding-bottom: 10px; }
.home-page .install-guide li:last-child { padding-bottom: 0; }

.home-world { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.3fr); gap: 44px; align-items: center; }
.home-world-art { width: 100%; max-height: 360px; height: auto; object-fit: cover; border-radius: 6px; border: 1px solid #295b83; box-shadow: 0 14px 34px #00000055; }
.home-world .home-content { min-width: 0; }
.home-page .home-world .home-eyebrow { font-size: .75rem; color: var(--home-gold); line-height: 1.6; margin: 0 0 12px; }
.home-page .home-world h2 { margin-bottom: 20px; }
.home-page .home-world .home-content > p:not(.home-eyebrow) { font-size: 1rem; line-height: 1.75; }
.home-world-details { margin: 10px 0; border-block: 1px solid #1c3f5b; }
.home-world-details summary { min-height: 48px; padding: 14px 0; color: #e3cc94; font-size: .875rem; cursor: pointer; }
.home-world-details summary::marker { color: var(--home-gold); }
.home-world-details p { font-size: .9375rem; line-height: 1.75; }
.home-world-details[open] summary { margin-bottom: 8px; }

.home-page .home-quick-links { margin: 0 0 24px; gap: 24px; }
.home-page main .home-quick-links .quick-link { padding: 24px; border-color: #224868; background: var(--site-surface); border-radius: 7px; }
.home-page .home-quick-links h3 { font-size: 1.1rem; margin-bottom: 8px; }
.home-page .home-quick-links p { font-size: .9375rem; margin: 0; color: var(--home-muted); padding-right: 24px; }
.home-link-arrow { float: right; color: var(--home-gold); font-size: 1.5rem; line-height: 1.3; }
.home-page main .home-quick-links .quick-link:hover { background: var(--site-surface-hover); border-color: #62819a; transform: none; }
.home-page .site-footer { border-top-color: #55583a; }

@media (max-width: 1000px) {
  .home-guides-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr); gap: 24px; }
  .home-guide-intro h3 { font-size: 1.25rem; }
  .home-install { gap: 28px; padding: 28px; }
  .home-world { gap: 28px; }
}
@media (max-width: 900px) {
  .home-page .home-anywhere { grid-template-columns: 1fr; gap: 28px; }
  .home-anywhere-intro { max-width: 640px; }
}
@media (max-width: 760px) {
  .home-page .home-section { margin-block: 48px; }
  .home-page .home-section-heading { align-items: start; flex-wrap: wrap; gap: 6px; }
  .home-page .home-section h2 { font-size: 1.5rem; }
  .home-page .home-section-heading .home-eyebrow { font-size: .75rem; letter-spacing: .12em; }
  .home-page .home-section-meta { display: none; }
  .home-guides-layout { grid-template-columns: 1fr; }
  .home-guide-intro > h3 { display: none; }
  .home-guide-intro > p { margin-bottom: 16px; }
  .home-page .home-guide-intro .home-video-choices { flex-direction: row; }
  .home-page .home-guide-intro .home-video-choices button { flex: 1 1 auto; justify-content: center; padding-inline: 12px; }
  .home-page .home-guide-intro .home-video-choices button::after { display: none; }
  .home-guide-intro > .home-text-link { display: none; }
  .home-install { grid-template-columns: 1fr; gap: 24px; }
  .home-world { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
  .home-world-art { margin-top: 5px; }
}
@media (max-width: 600px) {
  .home-page .home-hero-inner { padding: 40px 20px 32px; }
  .home-page .home-hero-art { --hero-shade: linear-gradient(180deg, #09162154, #09162182 58%, var(--site-background)); --hero-position: 62% center; }
  .home-page .home-anywhere h2 { font-size: 1.85rem; }
  .home-anywhere-intro .home-eyebrow { font-size: .75rem; }
  .home-page .home-anywhere { gap: 26px; }
  .home-anywhere-description { font-size: 1rem; }
  .home-platforms { grid-template-columns: 1fr; gap: 10px; }
  .home-page .home-platform-card { grid-template-columns: 60px minmax(0, 1fr); min-height: 110px; padding: 16px; gap: 16px; }
  .home-platform-art { width: 60px; height: 60px; }
  .home-platform-copy strong { font-size: .9375rem; }
  .home-page .home-section { margin-block: 42px; }
  .home-page .home-section-heading { margin-bottom: 20px; }
  .home-page .home-video-choices button { padding-inline: 12px; font-size: .8125rem; }
  .home-install { padding: 24px 20px; }
  .home-install .home-eyebrow { font-size: .75rem; letter-spacing: .1em; }
  .home-world { grid-template-columns: 1fr; gap: 24px; }
  .home-world-art { max-height: 280px; object-position: center 45%; margin: 0; }
  .home-page .home-quick-links { grid-template-columns: 1fr; gap: 0; }
  .home-page main .home-quick-links .quick-link { padding: 22px; margin-bottom: 14px; }
}
@media (hover: none) and (pointer: coarse) {
  .home-page .youtube-fullscreen-btn { display: flex; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .youtube-track { transition: none; }
}

/* Light and atmosphere stay anchored to the original illustrations. */
.home-hero-art, .sb-art { overflow: hidden; }
.home-atmosphere { position: absolute; max-width: none; pointer-events: none; overflow: visible; }
.home-story-art { position: absolute; inset: 0 0 auto; z-index: -2; height: 80%; overflow: hidden; transform-origin: center 30%; transition: transform .6s ease; }
.home-story-art .home-story-image { height: 100%; z-index: 0; transition: none; }
.home-story-link:hover .home-story-art .home-story-image { transform: none; }
.ambient-effect { animation-play-state: paused !important; pointer-events: none; }
.home-page[data-motion=running] .home-scene[data-animating=true] .ambient-effect { animation-play-state: running !important; }
.atmosphere-glow { animation: atmosphere-firelight 4.8s ease-in-out infinite alternate; }
.atmosphere-ember { opacity: 0; animation: atmosphere-ember-rise 5s linear infinite; }
.atmosphere-reflection { animation: atmosphere-waterlight 5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.atmosphere-harbor-mist { animation: atmosphere-harbor-drift 22s ease-in-out infinite alternate; }
@keyframes atmosphere-firelight { 0%, 100% { opacity: .55; } 26% { opacity: .88; } 49% { opacity: .62; } 73% { opacity: 1; } }
@keyframes atmosphere-ember-rise { 0% { opacity: 0; transform: translate(0, 0); } 18% { opacity: .7; } 62% { opacity: .3; } 100% { opacity: 0; transform: translate(var(--ember-x, 12px), -65px); } }
@keyframes atmosphere-waterlight { from { opacity: .4; transform: scaleX(.8); } to { opacity: 1; transform: scaleX(1.2); } }
@keyframes atmosphere-harbor-drift { from { transform: translate(-9px, 0); opacity: .4; } to { transform: translate(16px, -3px); opacity: .8; } }

.home-page .home-play { position: relative; overflow: hidden; box-shadow: 0 5px 24px #00000033, inset 0 1px #ffffff44; }
.home-page .home-play::before { content: ''; position: absolute; top: -25%; bottom: -25%; left: 0; width: 32%; background: linear-gradient(90deg, transparent, #fff4d999 48%, #fff9e8bb 52%, transparent); opacity: 0; transform: translateX(-160%) skewX(-20deg); pointer-events: none; }
.home-page .site-shell .nav-premium { transition: border-color .2s, background .2s, box-shadow .25s; }
.home-page .site-shell .nav-premium:hover { box-shadow: inset 0 1px #f1d38930, 0 0 22px #d8b76725; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-page[data-motion=running] .home-story-link:hover .home-story-art { transform: scale(1.025); }
}
@media (prefers-reduced-motion: no-preference) {
  .home-page[data-motion=running] .site-shell .nav-dropdown.open .nav-dropdown-menu { animation: home-menu-enter .16s ease both; }
}
@keyframes home-menu-enter { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 640px) {
  .home-story-art { height: 76%; }
  .home-story-art .home-story-image { height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-atmosphere { display: none; }
  .home-page :is(.home-device-frame, .home-story-art, .home-play, .nav-premium) { transition: none; }
  .home-page :is(.home-platform-card, .platform-key-high, .platform-phone, .platform-shortcut, .home-platform-action > span) { transition: none; }
}
.home-page[data-motion=paused] :is(.home-story-art, .home-play) { transition: none; }

/* A crafted game entrance, with a single clear label and restrained ornament. */
.home-page .home-play {
  display: inline-flex; align-items: center; justify-content: center; gap: 27px;
  width: min(100%, 304px); min-width: 0; min-height: 74px; padding: 17px 22px;
  border: 2px solid #b98b40; border-radius: 3px;
  background: linear-gradient(110deg, #c99b50 0%, #efd498 24%, #f6dda6 49%, #e7c37d 76%, #cba051 100%);
  color: #092237; text-decoration: none;
  box-shadow: 0 0 0 1px #0d314f, 0 0 0 3px #d9bd7247, 0 5px 0 #155183, 0 12px 28px #00000066, 0 0 36px #e4b75d18, inset 0 1px #fff1c9;
  transition: box-shadow .2s, border-color .2s;
}
.home-page .home-play::after { content: ''; position: absolute; inset: 5px; border: 1px solid #1a639f8c; box-shadow: inset 0 1px #fff1c970; pointer-events: none; }
.home-page .home-play-label { position: relative; font: 700 24px/1.4 'Cinzel', Georgia, serif; letter-spacing: .055em; text-align: center; text-shadow: 0 1px #fff1c982; }
.home-page .home-play-gem { position: relative; flex: none; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid #155081; background: #1b67a6; box-shadow: 1px 1px #fff0ba9c, inset 1px 1px #b78e46; }
.home-page .home-play-gem::after { content: ''; position: absolute; inset: -7px; background: #fff6cf; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); opacity: 0; pointer-events: none; }
.home-page .home-play:is(:hover, :focus-visible) { color: #071928; background: linear-gradient(110deg, #d4aa60, #f6dda8 24%, #ffe9b9 49%, #efd094 76%, #d7ae61); border-color: #f2d69a; box-shadow: 0 0 0 1px #0d314f, 0 0 0 3px #e6c78188, 0 6px 0 #19619c, 0 15px 30px #00000066, 0 0 48px #e4b75d52, inset 0 1px #fff5d8; }
.home-page .home-play:focus-visible { outline: 2px solid #fff0bc; outline-offset: 7px; }
.home-page .home-play:active { box-shadow: 0 0 0 1px #0d314f, 0 0 0 3px #d9bd7247, 0 2px 0 #155183, 0 6px 18px #00000055, inset 0 2px 5px #16568a40; }
.home-page .home-hero .player-count-line { margin-top: 14px; }
/* One brief light sweep per interaction; the button then holds still. */
@keyframes home-play-sheen {
  0% { opacity: 0; transform: translateX(-160%) skewX(-20deg); }
  18% { opacity: .85; }
  72% { opacity: .85; }
  100% { opacity: 0; transform: translateX(430%) skewX(-20deg); }
}
@keyframes home-play-glint {
  0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); }
  45% { opacity: .95; transform: scale(1) rotate(45deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .home-page[data-motion=running] .home-hero-art { transition: transform 1.1s cubic-bezier(.2,.65,.3,1); }
  .home-page[data-motion=running] .home-hero-art::before { transition: opacity .75s ease; }
  .home-page[data-motion=running] .home-hero:has(.home-play:is(:focus-visible,:active)) .home-hero-art::before { opacity: .85; }
  .home-page[data-motion=running] .home-hero:has(.home-play:is(:focus-visible,:active)) .home-hero-art { transform: scale(1.025); }
  .home-page[data-motion=running] .home-play { transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .25s, border-color .2s; }
  .home-page[data-motion=running] .home-play:focus-visible { transform: translateY(-2px) scale(1.015); }
  .home-page[data-motion=running] .home-play:focus-visible::before { animation: home-play-sheen .85s ease-out both; }
  .home-page[data-motion=running] .home-play:focus-visible .home-play-gem::after { animation: home-play-glint .55s ease-out .2s both; }
  .home-page[data-motion=running] .home-play:focus-visible .home-play-gem:last-child::after { animation-delay: .5s; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-page[data-motion=running] .home-hero:has(.home-play:hover) .home-hero-art { transform: scale(1.025); }
  .home-page[data-motion=running] .home-hero:has(.home-play:hover) .home-hero-art::before { opacity: .85; }
  .home-page[data-motion=running] .home-play:hover { transform: translateY(-2px) scale(1.015); }
  .home-page[data-motion=running] .home-play:hover::before { animation: home-play-sheen .85s ease-out both; }
  .home-page[data-motion=running] .home-play:hover .home-play-gem::after { animation: home-play-glint .55s ease-out .2s both; }
  .home-page[data-motion=running] .home-play:hover .home-play-gem:last-child::after { animation-delay: .5s; }
}
@media (prefers-reduced-motion: no-preference) {
  .home-page[data-motion=running] .home-play:active { transform: translateY(2px) scale(.99); transition-duration: .08s; }
}
@media (prefers-reduced-motion: reduce) { .home-page .home-play { transition: none; } }
.home-page[data-motion=paused] .home-play { transition: none; }

/* One compact, useful next step after the video guides. */
.home-page .home-about-summary { margin: 0 0 40px; color: #a2b5c4; }
.home-page .home-about-summary h2 { color: #c9d4dd; font: 600 clamp(1.125rem, 2vw, 1.35rem)/1.5 'Cinzel', Georgia, serif; margin: 0 0 12px; text-shadow: none; }
.home-page .home-about-summary p { max-width: 88ch; font-size: .875rem; line-height: 1.85; margin: 0 0 14px; }
.home-about-details summary { display: flex; align-items: center; gap: 12px; width: fit-content; min-height: 44px; padding: 8px 0; color: #dac17f; font-size: .875rem; font-weight: 500; cursor: pointer; list-style: none; }
.home-about-details summary::-webkit-details-marker { display: none; }
.home-about-details summary:focus-visible { outline: 2px solid #e6c575; outline-offset: 4px; border-radius: 2px; }
.home-about-details summary:hover { color: #f0dca7; }
.home-about-details .home-about-less, .home-about-details[open] .home-about-more { display: none; }
.home-about-details[open] .home-about-less { display: inline; }
.home-about-details[open] .home-about-chevron { transform: rotate(180deg); }
.home-about-body { padding-top: 12px; }
.home-about-body a { color: #d6c28e; text-decoration: underline; text-decoration-color: #d6c28e66; text-underline-offset: 3px; }
.home-page .home-setup-invite { display: grid; grid-template-columns: 72px minmax(0,1fr) auto; align-items: center; gap: 26px; padding: 28px 0; margin-bottom: 32px; border-block: 1px solid #63819a38; scroll-margin-top: 30px; }
.home-setup-icon { position: relative; width: 72px; height: 72px; padding: 6px; border: 1px solid #68869e; border-radius: 16px; background: var(--site-surface); box-shadow: 0 0 0 5px #b2a56609,0 7px 20px #00000044; }
.home-setup-icon img { display: block; width: 100%; height: auto; }
.home-setup-icon > span { position: absolute; right: -6px; bottom: -6px; width: 23px; height: 23px; display: grid; place-items: center; background: #e0c27b; border: 2px solid var(--site-surface); color: #0d2940; border-radius: 50%; font: 500 20px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; }
.home-page .home-setup-copy h2 { font-size: 23px; margin: 0 0 9px; }
.home-setup-copy p { max-width: 490px; margin: 0; font-size: 14px; line-height: 1.7; color: #9fb2c2; }
.home-setup-invite > a { white-space: nowrap; }
@media(max-width:850px) { .home-page .home-setup-invite { grid-template-columns: 64px 1fr; gap: 10px 22px; } .home-setup-icon { grid-row: 1/3; align-self: start; width: 64px; height: 64px; } .home-setup-invite > a { grid-column: 2; } }
@media(max-width:520px) { .home-page .home-setup-invite { gap: 10px 18px; grid-template-columns: 56px 1fr; padding-block: 24px; } .home-setup-icon { width: 56px; height: 56px; border-radius: 13px; padding: 4px; } .home-page .home-setup-copy h2 { font-size: 21px; } .home-setup-copy p { font-size: 13px; } .home-setup-invite > a { white-space: normal; font-size: 12px; } }

/* Give the wider scene its own height, keeping the invitation in open sky.
   The hero crops spare foreground, not the adventurers beneath the button. */
@media (min-width: 701px), (orientation: landscape) {
  .home-page .home-hero { --landscape-scene-height: min(max(740px,54vw),max(520px,calc((100svh - 216px) / .81))); }
  .home-page .home-hero-inner { align-items: flex-start; min-height: calc(var(--landscape-scene-height) * .81); }
  /* Track the sunset in the centered, cropped 16:7 scene, including when its
     light source falls beyond the left edge on narrower screens. */
  .home-page .home-hero-art { height: var(--landscape-scene-height); bottom: auto; --hero-position: center 60%; --hero-render-height: max(var(--landscape-scene-height),43.75vw); --hero-sun-position: calc(50% - var(--hero-render-height) * .97) calc(var(--landscape-scene-height) * .6 - var(--hero-render-height) * .17); --hero-sun-size: calc(var(--hero-render-height) * .9) calc(var(--hero-render-height) * .48); --hero-shade: linear-gradient(180deg,#09162133 0%,#09162144 48%,#09162169 68%,var(--site-background) 82%); }
  .home-page .home-hero-video { object-position: var(--hero-position); }
  .home-page .home-hero .player-count-line { margin-top: 48px; color: #e5ddd3; }
  .home-page .home-hero :is(.player-count-line,.home-explore) { text-shadow: 0 2px 4px #000000,0 0 12px #00000099; }
}
@media (max-width: 700px) and (orientation: landscape) {
  .home-page .home-hero { --landscape-scene-height: max(620px,106vw); }
  .home-page .home-hero-inner { padding-block: 28px; }
  .home-page .home-hero h1 { font-size: 2rem; }
  .home-page .home-play { min-height: 62px; padding-block: 13px; }
}

/* The portrait artwork reserves its sky for the invitation and gives the
   larger party a clear foreground, with only a short fade below their feet. */
@media (max-width: 700px) and (orientation: portrait) {
  .home-page .home-hero { --portrait-scene-height: clamp(440px,min(125vw,calc(100svh - 112px)),680px); }
  .home-page .home-hero-inner { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; min-height: calc(var(--portrait-scene-height) - 32px); padding: 18px 20px 14px; }
  .home-page .home-hero-copy { display: flex; flex-direction: column; }
  .home-page .home-hero .home-eyebrow { margin-bottom: 12px; }
  .home-page .home-hero h1 { margin-bottom: 14px; }
  .home-page .home-hero-description { font-size: 15px; line-height: 1.5; margin-bottom: 18px; }
  .home-page .home-hero-actions { flex: 0; justify-content: flex-start; gap: 4px; }
  .home-page .home-hero .player-count-line { margin-top: 14px; padding-top: 0; color: #f0e8df; opacity: 1; }
  .home-page .home-hero :is(.player-count-line,.home-explore) { text-shadow: 0 2px 4px #000000,0 0 12px #00000099; }
  .home-page .home-hero-art { height: var(--portrait-scene-height); bottom: auto; background-size: cover; --hero-shade: linear-gradient(180deg,#09162144 0%,#09162144 55%,#09162170 80%,#0c19239e 86%,var(--site-background) calc(100% - 32px)); --hero-sun-position: 0% 43%; }
  .home-page .home-play { width: min(100%,240px); min-height: 58px; padding: 12px 18px; gap: 20px; }
  .home-page .home-play-label { font-size: 20px; }
  .home-page .home-news { grid-template-columns: minmax(0,1fr) auto; gap: 0 12px; padding: 12px 16px 8px; }
  .home-news-label svg { display: none; }
  .home-page .home-news h2 { font-size: 11px; }
  .home-news-content { grid-column: 1; grid-row: 2; }
  .home-news-all { grid-column: 2; grid-row: 1 / 3; gap: 6px; font-size: 11px; }
  .home-page .home-news h3 { font-size: 14px; line-height: 1.4; }
  .home-news-headline { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 44px; padding-block: 4px; }
  /* One line of the story, so the headline is not the only thing to go on
     (owner 2026-09-09). The date stays out: it is the least useful line and
     the panel sits right under the hero, where every row costs the scene. */
  .home-page .home-news time { display: none; }
  .home-page .home-news-excerpt { -webkit-line-clamp: 1; margin-top: 2px; }
}

/* Leave room for the latest announcement on shorter laptop displays. */
@media (min-width: 701px) and (max-height: 850px) {
  .home-page .home-hero { --landscape-scene-height: clamp(520px,calc((100svh - 216px) / .81),740px); }
  .home-page .home-hero-inner { padding-block: clamp(20px,4svh,34px) 20px; }
  .home-page .home-hero .home-eyebrow { margin-bottom: 12px; }
  .home-page .home-hero h1 { font-size: clamp(38px,6svh,48px); line-height: 1.12; margin-bottom: 14px; }
  .home-page .home-hero-description { font-size: 16px; line-height: 1.5; margin-bottom: 18px; }
  .home-page .home-play { min-height: 60px; padding-block: 12px; }
  .home-page .home-play-label { font-size: 22px; }
  .home-page .home-hero .player-count-line { margin-top: 24px; }
  .home-page .home-news { grid-template-columns: 138px minmax(0,1fr) auto; gap: 16px; padding: 12px 18px; }
  .home-page .home-news-content, .home-page .home-news-all { grid-column: auto; grid-row: auto; }
  .home-page .home-news-excerpt { -webkit-line-clamp: 1; }
}

@media (min-width: 901px) {
  .home-page .home-hero-art { --hero-shade: linear-gradient(180deg,#0916213f 0%,#09162151 48%,#09162175 68%,var(--site-background) 82%); }
}
