/* Landing page. Sections alternate between the night sky and warm parchment. */

.section { position: relative; padding: 96px 0; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); color: var(--cocoa); }
.section-head p:last-child { font-size: 18px; color: var(--cocoa-soft); }
.section-head.light h2 { color: #fff3d8; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35); }
.section-head.light p:last-child { color: var(--parchment-dark); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}
html[lang='th'] .eyebrow { letter-spacing: 0.04em; font-size: 15px; }
.eyebrow::before, .eyebrow::after { content: ''; width: 26px; height: 2px; background: currentColor; opacity: 0.6; }
.section-head.light .eyebrow { color: var(--amber-bright); }

/* Parchment sections get a soft paper grain from layered gradients. */
.story, .world, .fair {
  background:
    radial-gradient(1200px 400px at 20% 0%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, rgba(189, 134, 59, 0.14), transparent 60%),
    var(--parchment);
}
.story::before, .world::before, .fair::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(rgba(93, 80, 64, 0.18) 1px, transparent 1.2px);
  background-size: 7px 7px;
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: min(920px, calc(100vh - var(--header-h)));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--night-900);
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('../img/keyart/keyart-wide-a.jpg') 72% 40% / cover no-repeat;
  transform: scale(1.04);
  animation: hero-drift 24s ease-in-out infinite alternate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 17, 29, 0.92) 0%, rgba(11, 17, 29, 0.72) 34%, rgba(11, 17, 29, 0.1) 62%, rgba(11, 17, 29, 0) 100%),
    linear-gradient(0deg, var(--night-900) 0%, rgba(15, 22, 38, 0) 22%);
}
@keyframes hero-drift { to { transform: scale(1.1) translate(-1.5%, -1%); } }
.hero-inner { padding: 56px 0 120px; display: flex; flex-direction: column; align-items: flex-start; }
/* The logo is the page's h1 (for search engines); the heading box must not change the layout. */
.hero-h1 { margin: 0; width: 100%; line-height: 0; }
.hero-logo { width: min(520px, 86%); filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6)); animation: logo-in 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
@keyframes logo-in { from { opacity: 0; transform: translateY(-16px) scale(0.94); } }
.hero-tagline {
  max-width: 560px;
  margin: 18px 0 16px;
  font-size: clamp(18px, 2.1vw, 23px);
  font-weight: 700;
  color: #fbeed2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; max-width: 840px; }
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 30px;
  height: 46px;
  transform: translateX(-50%);
  border: 2px solid rgba(242, 184, 75, 0.7);
  border-radius: 999px;
}
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 6px; height: 10px; margin-left: -3px; border-radius: 3px; background: var(--amber-bright); animation: scroll-hint 1.6s ease-in-out infinite; }
@keyframes scroll-hint { 50% { transform: translateY(14px); opacity: 0.3; } }

/* Floating sky lanterns. */
.hero-lanterns { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-lanterns i {
  position: absolute;
  bottom: -40px;
  width: var(--w, 12px);
  height: calc(var(--w, 12px) * 1.35);
  border-radius: 40% 40% 30% 30%;
  background: radial-gradient(circle at 50% 60%, #fff2c2 0%, #ffbf4d 45%, #e0743a 100%);
  box-shadow: 0 0 calc(var(--w, 12px) * 1.6) rgba(255, 190, 80, 0.75);
  opacity: 0;
  animation: rise var(--d, 18s) linear var(--delay, 0s) infinite;
}
@keyframes rise {
  0% { transform: translate(0, 0) rotate(-4deg); opacity: 0; }
  8% { opacity: var(--o, 0.85); }
  50% { transform: translate(var(--sway, 30px), -55vh) rotate(4deg); }
  90% { opacity: var(--o, 0.85); }
  100% { transform: translate(calc(var(--sway, 30px) * -0.5), -110vh) rotate(-3deg); opacity: 0; }
}

@media (max-width: 760px) {
  .hero::before { background: linear-gradient(0deg, rgba(11, 17, 29, 0.96) 30%, rgba(11, 17, 29, 0.55) 70%, rgba(11, 17, 29, 0.25)); }
  .hero-art { background-position: 64% 30%; }
  .hero-inner { align-items: center; text-align: center; padding-top: 40vh; }
  .hero-badges, .hero-ctas, .store-row { justify-content: center; }
  .hero-ctas .btn { width: 100%; }
  .store-btn { min-width: 0; flex: 1 1 160px; }
}

/* ---------------------------------------------------------------- story */
.story-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.story-text h2 { font-size: clamp(34px, 4.4vw, 54px); }
.story-text p { font-size: 18px; color: var(--cocoa-soft); }
.story-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.story-art { margin: 0; position: relative; }
.story-art img {
  border-radius: 16px;
  border: 4px solid #8a6a3c;
  box-shadow: 0 0 0 3px var(--parchment), 0 0 0 6px #6d5230, var(--shadow-soft);
  transform: rotate(1.2deg);
}
.story-art::before {
  content: '';
  position: absolute;
  top: -48px;
  left: 18px;
  width: 45px;
  height: 73px;
  z-index: 2;
  background: url('../img/skin/ornaments/lantern-lit.png') center / contain no-repeat;
  filter: drop-shadow(0 0 18px rgba(255, 200, 90, 0.8));
  animation: sway 4s ease-in-out infinite;
  transform-origin: 50% 0;
}
@keyframes sway { 50% { transform: rotate(6deg); } }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } .story-art { order: -1; } }

/* ---------------------------------------------------------------- features */
.features { background: linear-gradient(180deg, var(--teal) 0%, var(--night-800) 100%); }
.features .section-head h2 { color: #fff3d8; }
.features .eyebrow { color: var(--amber-bright); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { text-align: left; transition: transform 0.2s; }
.feature:hover { transform: translateY(-4px); }
.feature img { width: 64px; height: 64px; margin-bottom: 10px; filter: drop-shadow(var(--shadow-hard)); }
.feature h3 { font-size: 24px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--cocoa-soft); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- adventurers */
.adventurers {
  background:
    radial-gradient(800px 420px at 30% 60%, rgba(242, 184, 75, 0.18), transparent 70%),
    linear-gradient(180deg, var(--night-800), var(--night-900));
}
.adv-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 28px; }
.adv-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 8px;
  font: 800 16px var(--font);
  color: var(--cocoa);
  border-style: solid;
  border-image: url('../img/skin/buttons/tab-big.png') 6 10 6 10 fill / 3px 5px 3px 5px stretch;
  background: none;
  transition: transform 0.12s;
}
.adv-tab img { width: 44px; height: 44px; border-radius: 50%; background: var(--parchment-dark); }
.adv-tab[aria-selected='true'] { border-image-source: url('../img/skin/buttons/tab-big-active.png'); transform: translateY(-3px); }
.adv-tab.locked { opacity: 0.55; filter: grayscale(0.6); }
.adv-stage { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.adv-hero { position: relative; display: grid; place-items: center; min-height: 460px; }
.adv-hero::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 122, 0.4), rgba(255, 210, 122, 0) 68%);
}
.adv-hero img { position: relative; max-height: 440px; width: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45)); animation: bob 3.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.adv-info h3 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 4px; }
.adv-info .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.adv-info p.desc { font-size: 18px; color: var(--cocoa-soft); }
.stages { display: flex; align-items: center; gap: 6px; margin: 16px 0 20px; flex-wrap: wrap; }
.stage { padding: 6px 12px; border-radius: 8px; background: var(--parchment-dark); font-weight: 800; font-size: 14px; }
.stage.current { background: var(--forest); color: #fbf0d6; }
.stage-arrow { color: var(--amber); font-weight: 900; }
.stat-bars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 22px; margin-bottom: 20px; }
.stat-bar { display: grid; grid-template-columns: 26px 38px 1fr 22px; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.stat-bar img { width: 24px; height: 24px; }
.stat-bar .track { height: 10px; border-radius: 6px; background: var(--parchment-deep); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25); }
.stat-bar .fill { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--amber), var(--amber-bright)); transform-origin: left; animation: grow 0.8s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
@keyframes grow { from { transform: scaleX(0); } }
.skill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.skill-row .slot { --s: 52px; }
.adv-coming { text-align: center; color: var(--parchment-dark); margin-top: 26px; font-weight: 700; }
@media (max-width: 900px) { .adv-stage { grid-template-columns: 1fr; } .adv-hero { min-height: 340px; } .adv-hero img { max-height: 320px; } }
@media (max-width: 480px) { .stat-bars { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- world */
.world-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.world-map { margin: 0; padding: 10px; }
.world-map img { border-radius: 6px; }
.zone-list { display: grid; gap: 10px; }
.zone {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid var(--parchment-deep);
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}
a.zone:hover { transform: translateX(4px); background: rgba(255, 255, 255, 0.75); }
.zone img { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; border: 2px solid #8a6a3c; }
.zone strong { display: block; font-family: var(--title); font-size: 20px; line-height: 1.1; }
.zone .chip { margin-top: 4px; font-size: 12px; }
.zone.soon img { filter: grayscale(0.5) brightness(0.9); }
@media (max-width: 900px) { .world-grid { grid-template-columns: 1fr; } .zone-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .zone-list { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- companions */
.companions { overflow: hidden; background: var(--night-800); }
.companions-bg {
  position: absolute;
  inset: 0;
  background: url('../img/world/pet-meadow.jpg') center / cover no-repeat;
  opacity: 0.55;
}
.companions::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night-800), rgba(22, 33, 58, 0.35) 30%, rgba(22, 33, 58, 0.35) 70%, var(--night-900)); }
.companions .wrap { position: relative; z-index: 1; }
.pet-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pet-card { text-align: center; padding-top: 14px; }
.pet-art { position: relative; height: 200px; display: grid; place-items: end center; }
.pet-art::after { content: ''; position: absolute; bottom: 2px; width: 120px; height: 16px; border-radius: 50%; background: radial-gradient(ellipse, rgba(48, 44, 36, 0.3), transparent 70%); }
.pet-art img { position: relative; z-index: 1; max-height: 190px; width: auto; animation: bob 3.2s ease-in-out infinite; }
.pet-card:nth-child(2) .pet-art img { animation-delay: -1s; }
.pet-card:nth-child(3) .pet-art img { animation-delay: -2s; }
.pet-card h3 { font-size: 26px; margin: 8px 0 4px; }
.pet-card p { color: var(--cocoa-soft); margin-bottom: 10px; }
@media (max-width: 820px) { .pet-row { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ---------------------------------------------------------------- rivals */
.rivals { background: linear-gradient(180deg, var(--night-900), #241a2e); color: var(--parchment); }
.rivals-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.rivals h2 { font-size: clamp(32px, 4vw, 48px); color: #fff3d8; }
.rivals p { color: var(--parchment-dark); font-size: 18px; }
.rivals .eyebrow { color: var(--amber-bright); }
.rivals-shot { margin: 0; }
.rivals-shot img { border-radius: 14px; border: 3px solid var(--amber); box-shadow: 0 0 40px rgba(242, 184, 75, 0.25), var(--shadow-soft); }
.tier-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; list-style: none; }
.tier-list li { padding: 6px 14px; border-radius: 8px; font-weight: 900; font-size: 14px; color: #1c1a16; }
.ticks { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 700; color: var(--parchment); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; background: url('../img/skin/ornaments/lantern-lit.png') center / contain no-repeat; }
@media (max-width: 900px) { .rivals-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- media */
.media { background: #241a2e; background: linear-gradient(180deg, #241a2e, var(--night-900)); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery button {
  position: relative;
  padding: 0;
  border: 3px solid rgba(189, 134, 59, 0.6);
  border-radius: 10px;
  overflow: hidden;
  background: var(--night-950);
  aspect-ratio: 16 / 9;
  transition: transform 0.18s, border-color 0.18s;
}
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery button:nth-last-child(-n + 2) { grid-column: span 2; aspect-ratio: auto; height: 100%; max-height: calc((min(var(--max), 100vw - 32px) - 36px) / 4 * 9 / 16); }
.gallery button:hover { transform: scale(1.02); border-color: var(--amber-bright); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 6px; font-weight: 800; font-size: 13px; color: #fff3d8; text-align: left; background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent); }
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery button:nth-last-child(-n + 2) { grid-column: auto; aspect-ratio: 16 / 9; } }

.lightbox { position: fixed; inset: 0; z-index: 110; display: grid; grid-template-columns: 60px 1fr 60px; align-items: center; gap: 8px; padding: 24px; background: rgba(5, 8, 16, 0.92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 84vh; margin: 0 auto; border-radius: 10px; border: 3px solid var(--amber); }
.lightbox button { background: rgba(255, 255, 255, 0.08); color: var(--parchment); border: 2px solid rgba(242, 184, 75, 0.5); border-radius: 50%; width: 52px; height: 52px; font-size: 30px; line-height: 1; }
.lightbox .lb-close { position: absolute; top: 18px; right: 18px; }
.lb-caption { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: var(--parchment); font-weight: 800; margin: 0; }
@media (max-width: 600px) { .lightbox { grid-template-columns: 1fr; padding: 70px 8px; } .lb-prev, .lb-next { display: none; } }

/* ---------------------------------------------------------------- fair play */
.fair { padding: 72px 0; }
.fair-grid { display: grid; grid-template-columns: 160px 1fr; gap: 36px; align-items: center; max-width: 900px; }
.fair-icon { width: 160px; filter: drop-shadow(0 8px 16px rgba(189, 134, 59, 0.45)); animation: bob 4s ease-in-out infinite; }
.fair h2 { font-size: clamp(28px, 3.4vw, 40px); }
.fair p { font-size: 18px; color: var(--cocoa-soft); margin: 0; }
@media (max-width: 640px) { .fair-grid { grid-template-columns: 1fr; text-align: center; } .fair-icon { width: 120px; margin: 0 auto; } }

/* ---------------------------------------------------------------- play */
.play {
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(242, 184, 75, 0.22), transparent 70%),
    linear-gradient(180deg, var(--night-800), var(--night-950));
}
.play-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.play-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding-top: 30px; }
.play-card h3 { font-size: 26px; margin-bottom: 4px; }
.play-card p { color: var(--cocoa-soft); flex: 1; }
.play-icon { width: 64px; height: 64px; color: var(--forest-dark); margin-bottom: 8px; }
.play-icon svg { width: 100%; height: 100%; }
.play-buttons { display: grid; gap: 10px; width: 100%; justify-items: center; }
.play-buttons .store-btn, .play-buttons .btn { width: min(260px, 100%); }
.play-card.featured { transform: translateY(-10px); }
.ribbon {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
  padding: 0 24px;
  height: 36px;
  line-height: 34px;
  text-align: center;
  font-weight: 900;
  font-size: 14px;
  /* Dark ink on the parchment ribbon (light text did not read on it). */
  color: var(--cocoa);
  text-shadow: 0 1px 0 rgba(255, 248, 230, 0.7);
  border-style: solid;
  border-image: url('../img/skin/ornaments/ribbon.png') 0 20 0 20 fill / 0 10px stretch;
  white-space: nowrap;
}
.play-note { text-align: center; color: var(--parchment-dark); margin-top: 30px; font-size: 15px; opacity: 0.85; }
@media (max-width: 900px) { .play-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } .play-card.featured { transform: none; margin-top: 12px; } }

/* Discord invite under the play cards. */
.play-community { display: flex; justify-content: center; margin-top: 30px; }
.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 999px;
  font: 800 16px var(--font);
  color: #fff;
  text-decoration: none;
  background: #5865f2;
  box-shadow: 0 4px 0 #3c45a5, 0 10px 24px rgba(88, 101, 242, 0.35);
  transition: transform 0.1s, filter 0.15s;
}
.discord-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.discord-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #3c45a5; }
.discord-btn svg { width: 24px; height: 24px; }

/* ---------------------------------------------------------------- adventurers: every class (home.js) */
.adv-tabs { display: block; }
.adv-tab-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.adv-later-head { margin: 22px 0 10px; text-align: center; font-weight: 800; color: var(--parchment-dark); }
.adv-mini-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.adv-mini { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100px; padding: 6px 4px; border: 2px solid transparent; border-radius: 12px; background: rgba(255, 255, 255, 0.06); color: var(--parchment); font: 800 11px/1.15 var(--font); text-align: center; transition: transform 0.12s, background 0.15s, border-color 0.15s; }
.adv-mini img { width: 56px; height: 56px; }
.adv-mini span { font-size: 12px; }
.adv-mini:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.12); }
.adv-mini[aria-selected='true'] { border-color: var(--amber-bright); background: rgba(242, 184, 75, 0.18); color: var(--amber-glow); }
.adv-hero .adv-emblem { position: absolute; top: 8%; left: 8%; width: 84px; height: 84px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4)); animation: none; }
.adv-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 4px 0 18px; }
.adv-facts > span { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.5); border: 1.5px solid var(--parchment-deep); font-weight: 800; }
.adv-facts small { width: 100%; font-size: 12px; font-weight: 800; color: var(--cocoa-mute); }
.adv-facts .stars { color: var(--amber); letter-spacing: 1px; }
.adv-facts .stars i { font-style: normal; color: var(--parchment-deep); }
.gauge-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, 0.25); }
.chip.coming { background: #e6dcef; border-color: #b9a2cf; color: #5a3f78; }
.skill-asc { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; margin-top: 8px; }
.skill-asc .skill-row { margin-bottom: 0; }
.skill-asc .slot { --s: 44px; }
.asc-label { font-weight: 800; font-size: 13px; color: var(--cocoa-soft); }
.adv-info > .btn { margin-top: 18px; }
@media (max-width: 560px) { .skill-asc { grid-template-columns: 1fr; gap: 4px; } }

/* ---------------------------------------------------------------- world: every region (home.js) */
.world-grid { grid-template-columns: 1fr; }
.zone-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.zone { grid-template-columns: 120px 1fr; align-items: start; }
.zone img { width: 120px; height: 80px; }
.zone-sub { display: block; font-size: 13px; font-weight: 800; color: var(--cocoa-mute); }
.zone-blurb { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: 13px; color: var(--cocoa-soft); }
@media (max-width: 560px) { .zone-list { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- pets (home.js) */
.pet-more { grid-column: 1 / -1; text-align: center; margin: 6px 0 0; }

/* Each stat its own colour, like its icon. */
.stat-bar .fill.stat-str { background: linear-gradient(90deg, #b8432f, #e86a4c); }
.stat-bar .fill.stat-agi { background: linear-gradient(90deg, #a8682e, #e39a52); }
.stat-bar .fill.stat-vit { background: linear-gradient(90deg, #4f7a34, #84b45a); }
.stat-bar .fill.stat-int { background: linear-gradient(90deg, #6a49a8, #a07ee0); }
.stat-bar .fill.stat-dex { background: linear-gradient(90deg, #2f7a7a, #52b3ad); }
.stat-bar .fill.stat-luk { background: linear-gradient(90deg, #c08a1e, #f2c14b); }
