/* ============================================================================
   RocoWiki — long-form guide layout
   Used by data-checked guides (beginners, events). Built on the v8 field-guide
   palette: forest hero, paper article, native art.
   ========================================================================== */

.gd-page { padding-bottom: 10px; }

/* ------------------------------------------------------------------ hero --- */
.gd-hero {
  position: relative;
  overflow: hidden;
  max-width: 1320px;
  margin: 22px auto 0;
  border-radius: 32px;
  color: #f6f0e2;
  background:
    radial-gradient(720px 360px at 88% -10%, rgba(244, 206, 124, .22), transparent 62%),
    radial-gradient(560px 420px at 4% 112%, rgba(157, 187, 162, .18), transparent 66%),
    linear-gradient(135deg, #0f2b21 0%, #173f2f 52%, #235b43 100%);
  box-shadow: 0 34px 90px rgba(13, 38, 28, .3);
  border: 1px solid rgba(244, 206, 124, .2);
}
.gd-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(247, 217, 148, .16) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(620px 420px at 78% 30%, #000, transparent 72%);
  mask-image: radial-gradient(620px 420px at 78% 30%, #000, transparent 72%);
  pointer-events: none;
}
.gd-hero::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -160px; top: -220px;
  border-radius: 50%;
  border: 1px solid rgba(244, 206, 124, .16);
  box-shadow: 0 0 0 64px rgba(244, 206, 124, .035), 0 0 0 128px rgba(244, 206, 124, .02);
  pointer-events: none;
}
.gd-hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 4vw, 52px) clamp(22px, 4.4vw, 54px) clamp(26px, 3.6vw, 40px);
}
.gd-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(244, 206, 124, .32);
  background: rgba(244, 206, 124, .1);
  color: #f7d994;
  font-size: 10.5px; font-weight: 900;
  letter-spacing: .16em; text-transform: uppercase;
}
.gd-kicker::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #f4ce7c;
  box-shadow: 0 0 0 4px rgba(244, 206, 124, .16);
}
.gd-hero h1 {
  margin-top: 15px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.025em;
  color: #fff9ee;
}
.gd-hero h1 em { font-style: italic; color: #f4ce7c; }
html[lang="ja"] .gd-hero h1 em,
html[lang="zh-TW"] .gd-hero h1 em { white-space: nowrap; }
.gd-lede {
  max-width: 56ch;
  margin-top: 16px;
  color: rgba(246, 240, 226, .8);
  font-size: 15.5px;
  line-height: 1.65;
  font-weight: 600;
}
.gd-hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 18px;
}
.gd-hero-meta span {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(246, 240, 226, .16);
  background: rgba(255, 255, 255, .05);
  color: #ddd8c8;
  font-size: 11px; font-weight: 800;
}
.gd-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.gd-hero-actions .v8-btn { padding: 11px 18px; font-size: 12.5px; }
.gd-hero-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(246, 240, 226, .28);
  color: #f6f0e2; font-size: 12.5px; font-weight: 900;
  transition: background .2s ease, border-color .2s ease;
}
.gd-hero-link:hover { background: rgba(255, 255, 255, .1); border-color: rgba(244, 206, 124, .5); }

/* hero art */
.gd-hero-art {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  align-items: end;
  min-height: 300px;
  padding: 26px 0 4px;
}
.gd-hero-ring {
  position: absolute;
  inset: 4% 4% 12%;
  border-radius: 50%;
  border: 1px dashed rgba(244, 206, 124, .3);
  animation: gdspin 60s linear infinite;
}
@keyframes gdspin { to { transform: rotate(360deg); } }
.gd-hero-glow {
  position: absolute; inset: 12% 6% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 206, 124, .22), transparent 65%);
  filter: blur(6px);
}
.gd-pet {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 12px 7px 9px;
  border-radius: 20px;
  border: 1px solid rgba(246, 240, 226, .18);
  background: rgba(10, 32, 23, .42);
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 50px rgba(4, 18, 12, .3);
  text-align: center;
}
.gd-pet img { width: 100%; height: 118px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .32)); }
.gd-pet b { font-family: var(--font-display); font-size: 12.5px; color: #fff9ee; letter-spacing: .01em; white-space: nowrap; }
.gd-pet small { font-size: 8.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: rgba(246, 240, 226, .6); white-space: nowrap; }
.gd-pet-main { grid-column: 2; grid-row: 1; transform: translateY(-18px); z-index: 3; border-color: rgba(244, 206, 124, .38); background: rgba(12, 38, 27, .58); }
.gd-pet-main img { height: 152px; }
.gd-pet-left { grid-column: 1; grid-row: 1; transform: rotate(-3deg); }
.gd-pet-right { grid-column: 3; grid-row: 1; transform: rotate(3deg); }
.gd-hero-note {
  position: relative;
  grid-column: 1 / -1; grid-row: 2;
  justify-self: center;
  z-index: 4;
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 1px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f4ce7c;
  color: #23331f;
  font-size: 9.5px; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(8, 25, 17, .28);
}
.gd-hero-facts {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(246, 240, 226, .12);
  background: rgba(8, 26, 19, .36);
}
.gd-hero-facts div { padding: 15px clamp(14px, 2.4vw, 28px); border-right: 1px solid rgba(246, 240, 226, .08); }
.gd-hero-facts div:last-child { border-right: 0; }
.gd-hero-facts b { display: block; font-family: var(--font-display); font-size: 22px; color: #f7d994; line-height: 1; }
.gd-hero-facts span { display: block; margin-top: 5px; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: rgba(246, 240, 226, .58); }

/* ----------------------------------------------------------------- shell --- */
.gd-shell {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 26px;
  max-width: 1320px;
  margin: 30px auto 0;
  padding: 0 20px;
  align-items: start;
}
.gd-toc {
  position: sticky;
  top: 88px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 253, 248, .82);
  border: 1px solid rgba(28, 47, 38, .09);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}
.gd-toc-title {
  font-size: 9.5px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase;
  color: #8a9484;
  padding: 0 8px 8px;
}
.gd-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gd-toc a {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 8px 9px;
  border-radius: 9px;
  color: #4a5b50; font-size: 12px; font-weight: 800;
  transition: background .18s ease, color .18s ease;
}
.gd-toc a:hover { background: #f2ecdc; color: var(--forest); }
.gd-toc a span { color: #a9b2a6; font-variant-numeric: tabular-nums; font-size: 10px; }
.gd-toc-cta {
  margin-top: 12px;
  padding: 12px;
  border-radius: 13px;
  background: linear-gradient(145deg, #173f2f, #20523d);
  color: #f6f0e2;
}
.gd-toc-cta b { display: block; font-size: 11.5px; font-weight: 900; }
.gd-toc-cta span { display: block; margin-top: 4px; font-size: 10.5px; color: rgba(246, 240, 226, .7); line-height: 1.45; }
.gd-toc-cta a { display: inline-block; margin-top: 8px; font-size: 10.5px; font-weight: 900; color: #f7d994; }
.gd-article { min-width: 0; }

/* --------------------------------------------------------------- sections --- */
.gd-section {
  scroll-margin-top: 92px;
  margin-bottom: 18px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid rgba(28, 47, 38, .08);
  box-shadow: var(--shadow-card);
}
.gd-section:last-child { margin-bottom: 0; }
.gd-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  color: #96650f;
  font-size: 9.5px; font-weight: 900;
  letter-spacing: .16em; text-transform: uppercase;
}
.gd-eyebrow::before { content: ""; width: 16px; height: 1.5px; background: #d9ae56; }
.gd-section h2 {
  margin: 7px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.7vw, 34px);
  line-height: 1.12;
  color: var(--forest);
  letter-spacing: -.02em;
}
.gd-section h2 em { font-style: italic; color: #a87316; }
.gd-section h3 { margin: 20px 0 7px; font-family: var(--font-display); font-size: 18px; color: var(--forest); }
.gd-section p { color: #4a5b50; font-size: 14px; line-height: 1.72; }
.gd-section p + p { margin-top: 9px; }
.gd-section a:not(.v8-btn):not(.gd-next-card):not(.gd-starter):not(.gd-ball) { color: #8a5c0d; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(138, 92, 13, .3); text-underline-offset: 2px; }
.gd-section a:not(.v8-btn):not(.gd-next-card):not(.gd-starter):not(.gd-ball):hover { text-decoration-color: currentColor; }
.gd-list { margin: 10px 0 0; padding-left: 18px; color: #4a5b50; font-size: 13.5px; line-height: 1.7; }
.gd-list li { margin-bottom: 5px; }
.gd-list li::marker { color: #b9882c; }
.gd-inline-note { margin-top: 12px; font-size: 11.5px !important; color: #7f8a7e !important; }

/* starter cards */
.gd-starters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 17px; }
.gd-starter {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 14px;
  border-radius: 19px;
  background: var(--tint, #eef3e9);
  border: 1px solid rgba(28, 47, 38, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.gd-starter:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(28, 47, 38, .13); }
.gd-starter-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.gd-starter-no { font-size: 10px; font-weight: 900; letter-spacing: .08em; color: rgba(28, 47, 38, .38); }
.gd-type {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  color: #3d5142;
}
.gd-type::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot, #6fae5a); }
.gd-starter-art {
  height: 146px;
  margin: 6px -4px 2px;
  display: flex; align-items: flex-end; justify-content: center;
}
.gd-starter-art img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(28, 47, 38, .18));
  transition: transform .25s ease;
}
.gd-starter:hover .gd-starter-art img { transform: translateY(-4px) scale(1.03); }
.gd-starter h3 { font-size: 24px; color: var(--forest); line-height: 1.1; }
.gd-starter-role { margin-top: 2px; font-size: 10px !important; font-weight: 900 !important; letter-spacing: .02em; color: #8a5c0d !important; }
.gd-starter-evo {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
  margin-top: 8px;
  font-size: 10.5px; font-weight: 800; color: #5d6a5b;
}
.gd-starter-evo b { color: var(--forest); }
.gd-starter-evo i { font-style: normal; color: #b3bcae; }
.gd-starter-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  margin-top: 9px;
}
.gd-starter-stats span {
  padding: 4px 3px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .62);
  text-align: center;
  font-size: 8.5px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: #7d8878;
}
.gd-starter-stats b { display: block; font-size: 12px; color: var(--forest); letter-spacing: 0; }
.gd-starter-trait {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(28, 47, 38, .14);
  font-size: 10.5px !important; line-height: 1.5 !important; color: #5d6a5b !important;
}
.gd-starter-trait b { color: var(--forest); }
.gd-starter-boss { margin-top: 6px; font-size: 9.5px !important; color: #8a9484 !important; }
.gd-starter-boss b { color: #6c7a68; }

/* tables */
.gd-table-wrap { margin: 16px 0 0; overflow-x: auto; border-radius: 14px; border: 1px solid rgba(28, 47, 38, .1); }
.gd-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 620px; background: #fffdf8; }
.gd-table th {
  padding: 9px 11px;
  background: #f2ecdc;
  color: #5d6a5b;
  text-align: right;
  font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase;
  white-space: nowrap;
}
.gd-table th:first-child, .gd-table td:first-child { text-align: left; }
.gd-table td { padding: 9px 11px; border-top: 1px solid rgba(28, 47, 38, .07); text-align: right; color: #4a5b50; font-weight: 700; font-variant-numeric: tabular-nums; }
.gd-table td:first-child { color: var(--forest); font-weight: 900; }
.gd-table tr.highlight td { background: #fdf8e9; }
.gd-table .muted { color: #8a9484; font-weight: 700; }
.gd-table.roles td { text-align: left; font-variant-numeric: normal; font-weight: 600; }
.gd-table.roles td:first-child { white-space: nowrap; }
.gd-table.roles td:nth-child(3) { font-variant-numeric: tabular-nums; }
.gd-table.speed th:nth-child(2), .gd-table.speed td:nth-child(2) { text-align: left; font-variant-numeric: normal; }
.gd-table-note { margin-top: 7px; font-size: 10.5px !important; color: #8a9484 !important; }

/* callouts */
.gd-callout {
  position: relative;
  margin-top: 16px;
  padding: 14px 16px 14px 44px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.62;
  color: #4a5b50;
  background: #f7f2e4;
  border: 1px solid rgba(185, 136, 44, .22);
}
.gd-callout::before {
  content: "!";
  position: absolute; left: 15px; top: 14px;
  width: 19px; height: 19px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #e8bc69;
  color: #3d2c09;
  font-size: 11px; font-weight: 900;
}
.gd-callout b { color: var(--forest); }
.gd-callout.tip { background: #eef4e7; border-color: rgba(93, 138, 79, .25); }
.gd-callout.tip::before { content: "✓"; background: #a9c99d; color: #1f3a16; }
.gd-callout.launch { background: linear-gradient(145deg, #15392c, #1f4a37); border-color: transparent; color: rgba(246, 240, 226, .82); }
.gd-callout.launch::before { content: "→"; background: #f4ce7c; color: #23331f; }
.gd-callout.launch b { color: #f7d994; }
.gd-callout.launch a { display: inline-block; margin-top: 5px; color: #f7d994 !important; }

/* capture steps */
.gd-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: gdstep; }
.gd-steps li {
  position: relative;
  padding: 12px 14px 12px 55px;
  border-radius: 13px;
  background: #fbf7ed;
  border: 1px solid rgba(28, 47, 38, .07);
  font-size: 12.5px; line-height: 1.6; color: #4a5b50;
}
.gd-steps li::before {
  counter-increment: gdstep;
  content: counter(gdstep, decimal-leading-zero);
  position: absolute; left: 14px; top: 12px;
  width: 30px; height: 30px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: #173f2f;
  color: #f4ce7c;
  font-size: 10px; font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.gd-steps b { display: block; color: var(--forest); font-size: 13px; margin-bottom: 1px; }

/* ball shelf */
.gd-balls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.gd-ball {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px 6px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(28, 47, 38, .1);
  font-size: 11px; font-weight: 800; color: #4a5b50;
}
.gd-ball img { width: 26px; height: 26px; object-fit: contain; }
.gd-ball:hover { border-color: rgba(150, 101, 15, .4); color: var(--forest); }

/* rule cards */
.gd-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.gd-rule {
  padding: 14px;
  border-radius: 14px;
  background: #fbf7ed;
  border: 1px solid rgba(28, 47, 38, .07);
}
.gd-rule b { display: block; font-family: var(--font-display); font-size: 16px; color: var(--forest); }
.gd-rule .gd-rule-tag { display: block; margin-bottom: 5px; font-size: 8.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #a8823b; }
.gd-rule p { font-size: 12px !important; line-height: 1.6 !important; }
.gd-rule strong { color: var(--forest); }

/* place chips */
.gd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.gd-chip {
  padding: 5px 10px;
  border-radius: 999px;
  background: #f2ecdc;
  color: #5d6a5b;
  font-size: 10.5px; font-weight: 800;
}
.gd-chip:hover { background: #e9dfc8; color: var(--forest); }

/* checklist */
.gd-checklist { list-style: none; margin: 15px 0 0; padding: 0; display: grid; gap: 7px; }
.gd-checklist li {
  position: relative;
  padding: 9px 12px 9px 39px;
  border-radius: 10px;
  background: #fbf7ed;
  border: 1px solid rgba(28, 47, 38, .06);
  font-size: 12.5px; line-height: 1.55; color: #4a5b50;
}
.gd-checklist li::before {
  content: "✓";
  position: absolute; left: 12px; top: 9px;
  width: 17px; height: 17px;
  border-radius: 5px;
  display: grid; place-items: center;
  background: #dcebd3;
  color: #315a23;
  font-size: 10px; font-weight: 900;
}
.gd-checklist b { color: var(--forest); }

/* faq */
.gd-faq { margin-top: 14px; display: grid; gap: 8px; }
.gd-faq details {
  border-radius: 12px;
  border: 1px solid rgba(28, 47, 38, .09);
  background: #fffdf8;
  overflow: hidden;
}
.gd-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 14.5px; font-weight: 700; color: var(--forest);
}
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary::after {
  content: "+"; flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #f2ecdc;
  color: #7a530e;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 900;
}
.gd-faq details[open] summary::after { content: "−"; background: #173f2f; color: #f4ce7c; }
.gd-faq details[open] summary { border-bottom: 1px solid rgba(28, 47, 38, .07); }
.gd-faq .gd-faq-a { padding: 12px 14px 14px; font-size: 12.5px; line-height: 1.68; color: #4a5b50; }
.gd-faq .gd-faq-a b { color: var(--forest); }

/* sources */
.gd-sources { margin-top: 13px; display: grid; gap: 8px; }
.gd-source {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fbf7ed;
  border: 1px solid rgba(28, 47, 38, .06);
  font-size: 12px; color: #4a5b50;
}
.gd-source b { display: block; color: var(--forest); font-size: 12px; }
.gd-source span { display: block; margin-top: 1px; font-size: 10.5px; color: #8a9484; }
.gd-source a { flex: none; font-size: 10.5px; font-weight: 900; color: #8a5c0d; }
.gd-sources-note { margin-top: 10px; font-size: 10.5px !important; color: #8a9484 !important; }

/* next guides */
.gd-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.gd-next-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 15px;
  border-radius: 14px;
  background: linear-gradient(160deg, #fffdf8, #f5eedf);
  border: 1px solid rgba(28, 47, 38, .09);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gd-next-card:hover { transform: translateY(-2px); border-color: rgba(150, 101, 15, .35); box-shadow: 0 14px 30px rgba(28, 47, 38, .1); }
.gd-next-card small { font-size: 8.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #a8823b; }
.gd-next-card b { font-family: var(--font-display); font-size: 16px; color: var(--forest); }
.gd-next-card span { font-size: 11.5px; color: #6d7a6b; line-height: 1.5; }
.gd-next-card em { margin-top: 4px; font-style: normal; font-size: 10.5px; font-weight: 900; color: #8a5c0d; }

/* ------------------------------------------------------------- responsive --- */
@media (max-width: 1080px) {
  .gd-hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 18px; }
  .gd-hero-art { min-height: 300px; }
  .gd-pet-main img { max-height: 210px; }
  .gd-shell { grid-template-columns: 200px minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 920px) {
  .gd-hero { border-radius: 26px; }
  .gd-hero-inner { grid-template-columns: 1fr; padding-top: 32px; }
  .gd-hero-copy { order: 1; }
  .gd-hero-art { order: 2; min-height: 280px; max-width: 520px; width: 100%; margin: 0 auto; }
  .gd-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-hero-facts div:nth-child(2) { border-right: 0; }
  .gd-hero-facts div:nth-child(-n+2) { border-bottom: 1px solid rgba(246, 240, 226, .08); }
  .gd-shell { grid-template-columns: 1fr; }
  .gd-toc { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px; }
  .gd-toc-title { padding: 0 4px; }
  .gd-toc ol { display: flex; flex-wrap: wrap; gap: 4px; }
  .gd-toc a { padding: 6px 9px; background: #f4efe2; }
  .gd-toc a span { display: none; }
  .gd-toc-cta { display: none; }
}
@media (max-width: 760px) {
  .gd-starters { grid-template-columns: 1fr; }
  .gd-starter { display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: auto auto auto auto auto; column-gap: 12px; }
  .gd-starter-top { grid-column: 1 / -1; }
  .gd-starter-art { grid-row: 2 / span 5; height: 132px; margin: 0; align-self: start; }
  .gd-starter h3, .gd-starter-role, .gd-starter-evo, .gd-starter-stats, .gd-starter-trait, .gd-starter-boss { grid-column: 2; }
  .gd-starter h3 { margin-top: 4px; }
  .gd-rules { grid-template-columns: 1fr; }
  .gd-next { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .gd-hero { margin: 14px 12px 0; border-radius: 20px; }
  .gd-hero-inner { padding: 24px 18px 20px; }
  .gd-hero h1 { font-size: clamp(30px, 9vw, 38px); }
  .gd-lede { font-size: 13.5px; }
  .gd-hero-art { min-height: 230px; gap: 6px; padding-top: 18px; }
  .gd-pet { padding: 9px 4px 7px; border-radius: 14px; min-width: 0; }
  .gd-pet img { height: 92px; }
  .gd-pet-main img { height: 116px; }
  .gd-pet b { font-size: 9.5px; line-height: 1.2; white-space: normal; }
  .gd-pet small { font-size: 7px; letter-spacing: .04em; white-space: normal; line-height: 1.25; }
  .gd-hero-note { font-size: 8.5px; padding: 6px 9px; }
  .gd-hero-facts b { font-size: 18px; }
  .gd-hero-facts span { font-size: 8px; }
  .gd-shell { margin-top: 16px; padding: 0 12px; gap: 12px; }
  .gd-section { padding: 20px 16px; border-radius: 18px; }
  .gd-table { min-width: 560px; }
  .gd-starter { grid-template-columns: 108px minmax(0, 1fr); }
  .gd-starter-art { height: 108px; }
  .gd-section h2 { font-size: 24px; }
  .gd-callout { padding: 12px 13px 12px 38px; font-size: 11.5px; }
  .gd-callout::before { left: 12px; top: 12px; }
  .gd-source { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ================================================================= events === */

.ev-hero-art {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(246, 240, 226, .22);
  box-shadow: 0 24px 60px rgba(4, 18, 12, .35);
  aspect-ratio: 4 / 3;
  background: #10271d;
}
.ev-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.ev-hero-art::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 25, 17, .55));
  pointer-events: none;
}
.ev-live {
  position: absolute;
  left: 14px; top: 14px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(13, 38, 28, .78);
  border: 1px solid rgba(244, 206, 124, .4);
  color: #f7d994;
  font-size: 9px; font-weight: 900;
  letter-spacing: .12em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.ev-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f4ce7c; box-shadow: 0 0 0 3px rgba(244, 206, 124, .2); }
.ev-hero-cap {
  position: absolute;
  left: 14px; right: 14px; bottom: 13px;
  z-index: 2;
  color: rgba(246, 240, 226, .82);
  font-size: 10px; font-weight: 700;
}

/* current event feature */
.ev-now {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 0;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(480px 260px at 96% -10%, rgba(244, 206, 124, .2), transparent 65%),
    linear-gradient(135deg, #14382b, #1e4c38);
  color: #f6f0e2;
  border: 1px solid rgba(244, 206, 124, .22);
}
.ev-now-body { padding: 24px 24px 22px; }
.ev-now-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(244, 206, 124, .14);
  border: 1px solid rgba(244, 206, 124, .35);
  color: #f7d994;
  font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
}
.ev-now-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f4ce7c; }
.ev-now h3 { margin: 11px 0 6px; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); color: #fff9ee; letter-spacing: -.02em; }
.ev-now p { color: rgba(246, 240, 226, .78); font-size: 12.5px; line-height: 1.65; }
.ev-now-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.ev-now-facts div { padding: 9px 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(246, 240, 226, .1); }
.ev-now-facts b { display: block; font-size: 10.5px; color: #f7d994; font-weight: 900; }
.ev-now-facts span { display: block; margin-top: 2px; font-size: 9px; color: rgba(246, 240, 226, .55); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ev-now-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.ev-now-actions .v8-btn { padding: 9px 14px; font-size: 11.5px; }
.ev-now-actions a.ev-link { display: inline-flex; align-items: center; padding: 9px 4px; color: #f7d994; font-size: 11.5px; font-weight: 900; }
.ev-now-art { position: relative; min-height: 100%; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.ev-now-art::before { content: ""; position: absolute; inset: 10% 14%; border-radius: 50%; background: radial-gradient(circle, rgba(244, 206, 124, .24), transparent 65%); }
.ev-now-art img { position: relative; z-index: 1; width: 86%; max-height: 300px; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); margin-bottom: -8px; }

/* timeline */
.ev-timeline { position: relative; margin-top: 18px; padding-left: 8px; }
.ev-timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 16px; width: 1.5px; background: linear-gradient(180deg, rgba(185, 136, 44, .5), rgba(185, 136, 44, .08)); }
.ev-item { position: relative; padding: 0 0 18px 30px; }
.ev-item:last-child { padding-bottom: 2px; }
.ev-item::before {
  content: "";
  position: absolute; left: 10px; top: 4px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #fffdf8;
  border: 2.5px solid #b9882c;
  box-shadow: 0 0 0 4px #fffdf8;
}
.ev-item.is-next::before { background: #173f2f; border-color: #173f2f; box-shadow: 0 0 0 4px #fffdf8, 0 0 0 7px rgba(23, 63, 47, .12); }
.ev-date { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 9.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #a8823b; }
.ev-status { padding: 2px 7px; border-radius: 999px; background: #f2ecdc; font-size: 8px; letter-spacing: .08em; color: #7a6a4a; }
.ev-status.live { background: #dcebd3; color: #315a23; }
.ev-status.next { background: #173f2f; color: #f7d994; }
.ev-status.tba { background: #efe7d6; color: #8a7a5a; }
.ev-item h3 { margin: 4px 0 3px; font-family: var(--font-display); font-size: 18px; color: var(--forest); }
.ev-item p { font-size: 12.5px; line-height: 1.62; color: #4a5b50; }
.ev-item p a { color: #8a5c0d; font-weight: 800; }

/* system cards */
.ev-systems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 16px; }
.ev-system {
  display: flex; flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #fbf7ed;
  border: 1px solid rgba(28, 47, 38, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ev-system:hover { transform: translateY(-2px); border-color: rgba(150, 101, 15, .28); box-shadow: 0 14px 32px rgba(28, 47, 38, .1); }
.ev-system-art {
  position: relative;
  height: 118px;
  display: flex; align-items: flex-end; justify-content: center;
  gap: 4px;
  background: var(--tint, #eef3e9);
  overflow: hidden;
}
.ev-system-art img { height: 112px; width: auto; max-width: 42%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(28, 47, 38, .16)); transition: transform .25s ease; }
.ev-system:hover .ev-system-art img { transform: translateY(-4px); }
.ev-system-art span { position: absolute; left: 10px; top: 9px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .74); font-size: 8.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #5d6a5b; }
.ev-system-body { padding: 13px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.ev-system h3 { font-size: 19px; color: var(--forest); line-height: 1.15; }
.ev-system p { margin-top: 5px; font-size: 11.5px; line-height: 1.58; color: #5d6a5b; }
.ev-system-stat { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.ev-system-stat span { padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(28, 47, 38, .07); font-size: 9px; font-weight: 900; color: #6d7a6b; }
.ev-system-link { margin-top: auto; padding-top: 10px; font-size: 10.5px; font-weight: 900; color: #8a5c0d; }
.ev-system-link::after { content: " →"; }

/* responsive */
@media (max-width: 920px) {
  .ev-now { grid-template-columns: 1fr; }
  .ev-now-art { order: -1; min-height: 190px; }
  .ev-now-art img { width: 44%; max-height: 210px; margin-bottom: -16px; }
  .ev-systems { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ev-now-body { padding: 18px 16px; }
  .ev-now-facts { grid-template-columns: 1fr 1fr; }
  .ev-now-art { min-height: 160px; }
  .ev-now-art img { width: 52%; }
  .ev-item { padding-left: 26px; }
  .ev-timeline::before { left: 13px; }
  .ev-item::before { left: 8px; }
  .ev-system-art { height: 100px; }
  .ev-system-art img { height: 94px; }
}

/* --------------------------------------------------------------- guide hub --- */
.gh-main { max-width: 1320px; margin: 34px auto 0; padding: 0 20px 10px; }
.gh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 0 4px 16px; }
.gh-kicker { display: inline-block; font-size: 10.5px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: #8a6a24; }
.gh-head h2 { margin-top: 4px; font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; color: var(--forest); letter-spacing: -.02em; line-height: 1.05; }
.gh-head h2 em { font-style: italic; color: #a8761f; }
.gh-head p { margin-top: 7px; max-width: 640px; color: #5b6a5d; font-size: 13px; font-weight: 600; line-height: 1.55; }
.gh-head-next { margin-top: 38px; }
.gh-feature { gap: 16px; }
.gh-feature .v8-cat { min-height: 244px; }
.gh-feature .v8-cat-art { right: 8px; bottom: 6px; width: 168px; height: 168px; }
.gh-feature .v8-cat-name { max-width: 72%; font-size: 28px; }
.gh-feature .v8-cat-desc { max-width: 52%; }
.gh-cats .v8-cat { min-height: 205px; }
.gh-cats .v8-cat-desc { max-width: 62%; }
.gh-tools {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center;
  margin-top: 40px; padding: clamp(24px, 3vw, 34px);
  border-radius: 26px; border: 1px solid rgba(244, 206, 124, .2); color: #f6f0e2;
  background:
    radial-gradient(520px 260px at 92% 0%, rgba(244, 206, 124, .18), transparent 62%),
    linear-gradient(135deg, #0f2b21 0%, #173f2f 58%, #21543e 100%);
  box-shadow: 0 26px 60px rgba(13, 38, 28, .22);
}
.gh-tools .gh-kicker { color: #f7d994; }
.gh-tools h3 { margin-top: 6px; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; color: #fff9ee; letter-spacing: -.015em; }
.gh-tools h3 em { font-style: italic; color: #f7d994; }
.gh-tools p { margin-top: 8px; color: rgba(246, 240, 226, .72); font-size: 13px; line-height: 1.6; }
.gh-tools-note { display: block; margin-top: 16px; color: rgba(246, 240, 226, .45); font-size: 11px; }
.gh-tool-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gh-tool-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 13px; border-radius: 12px; border: 1px solid rgba(246, 240, 226, .16);
  background: rgba(255, 255, 255, .05); color: #f6f0e2;
  font-size: 12px; font-weight: 800; transition: background .18s ease, border-color .18s ease;
}
.gh-tool-links a span { color: #f7d994; font-size: 10.5px; font-weight: 900; letter-spacing: .06em; white-space: nowrap; }
.gh-tool-links a:hover { background: rgba(244, 206, 124, .14); border-color: rgba(244, 206, 124, .4); }
@media (max-width: 980px) {
  .gh-tools { grid-template-columns: 1fr; gap: 22px; }
  .gh-feature .v8-cat { min-height: 224px; }
  .gh-feature .v8-cat-art { width: 136px; height: 136px; }
  .gh-feature .v8-cat-name { font-size: 25px; }
}
@media (max-width: 760px) {
  .gh-cats .v8-cat-desc { max-width: 74%; }
}
@media (max-width: 620px) {
  .gh-main { padding: 0 12px 8px; }
  .gh-head { padding-bottom: 12px; }
  .gh-feature .v8-cat { min-height: 200px; }
  .gh-feature .v8-cat-art { width: 118px; height: 118px; }
  .gh-feature .v8-cat-name, .gh-feature .v8-cat-desc { max-width: 70%; }
  .gh-tool-links { grid-template-columns: 1fr; }
  .gh-tools { margin-top: 30px; padding: 22px 18px; border-radius: 20px; }
}
