/* —— Game server tokens —— */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap");

:root {
  --bg: #090b10;
  --bg-soft: #10141c;
  --surface: #141923;
  --surface-2: #1a2030;
  --ink: #f4f6fb;
  --ink-2: #c7cede;
  --ink-3: #8b95ab;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --sun: #ffb020;
  --fire: #ff5a1f;
  --cyan: #2ef0e0;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-en: "Outfit", sans-serif;
  --nav-h: 4rem;
  --gutter: 0.85rem;
  --max: 1100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - 1.5rem, 1440px);
  margin-inline: auto;
}

/* hide old ambient */
.site-bg,
.scroll-progress {
  display: none !important;
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(9, 11, 16, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s, background 0.25s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(12, 15, 22, 0.92);
}

.site-header__inner {
  width: min(100% - 1.5rem, 1440px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand__mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand__text {
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand__text span {
  color: var(--cyan);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav__group {
  display: flex;
  align-items: center;
}

.nav__group + .nav__group {
  margin-left: 0.4rem;
  padding-left: 0.5rem;
  border-left: 1px solid var(--line);
}

.nav__label {
  display: none;
}

.nav__link {
  padding: 0.4rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-3);
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--ink);
  background: var(--bg-soft);
}

.nav__cta {
  margin-left: 0.55rem;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0a0a0c;
  background: linear-gradient(135deg, var(--sun), var(--fire));
  border-radius: 999px;
  transition: filter 0.2s, transform 0.2s;
}

.nav__cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius);
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  color: #0a0a0c;
  background: linear-gradient(135deg, var(--sun), var(--fire));
}

.btn--primary:hover {
  filter: brightness(1.06);
  background: linear-gradient(135deg, var(--sun), var(--fire));
}

.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--cyan);
  background: rgba(46, 240, 224, 0.08);
}

.btn--discord {
  color: #fff;
  background: #5865f2;
}

.btn__arrow {
  transition: transform 0.2s;
}

.btn:hover .btn__arrow {
  transform: translateX(2px);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 2rem) 1rem 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(245, 166, 35, 0.18), transparent 60%),
    linear-gradient(180deg, #0c0c10 0%, #15151c 55%, #1a1a22 100%);
  color: #fff;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  border-radius: 50%;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 120, 40, 0.35), transparent 70%);
  filter: blur(10px);
  animation: glow 5s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes glow {
  from { opacity: 0.5; transform: translate(-50%, -50%) scale(0.92); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero__stars,
.hero__skyline,
.hero__scan,
.hero__check {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  max-width: 700px;
}

.hero__kicker {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.65);
  animation: fade-up 0.7s var(--ease) 0.1s both;
}

.hero__logo {
  width: min(560px, 90vw);
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(255, 90, 20, 0.45));
  animation: logo-boom 1.15s var(--ease) both;
}

@keyframes logo-boom {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(48px);
    filter: blur(16px);
  }
  60% {
    opacity: 1;
    transform: scale(1.05);
    filter: blur(0) drop-shadow(0 24px 60px rgba(255, 90, 20, 0.55));
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 20px 50px rgba(255, 90, 20, 0.45));
  }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 28em;
  animation: fade-up 0.7s var(--ease) 0.4s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.4rem;
  animation: fade-up 0.7s var(--ease) 0.6s both;
}

.hero .btn--primary {
  background: #fff;
  color: #0a0a0c;
}

.hero .btn--primary:hover {
  background: var(--sun);
  color: #0a0a0c;
}

.hero .btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.hero .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero__scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
  animation: fade-up 0.8s var(--ease) 1s both;
}

.hero__scroll-line {
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
}

.marquee {
  display: none;
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section--tight {
  padding: 3rem 0;
}

.section--board {
  padding: 2.5rem 0 4.5rem;
}

.section__eyebrow {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 0.65rem;
  letter-spacing: 0.01em;
}

.section__lead {
  font-size: 0.98rem;
  color: var(--ink-2);
  max-width: 36em;
  margin-bottom: 1.75rem;
}

.section__head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section__head-row .section__lead {
  margin-bottom: 0;
}

.page-hero {
  padding: calc(var(--nav-h) + 2.75rem) 0 2rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.page-hero::before,
.page-hero::after {
  display: none;
}

.page-hero .section__lead {
  margin-bottom: 0;
  color: var(--ink-2);
}

/* —— Filter chips —— */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.filter-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.15s;
}

.filter-bar a:hover,
.filter-bar a.is-current {
  color: #0a0a0c;
  background: linear-gradient(135deg, var(--sun), var(--fire));
  border-color: transparent;
}

/* —— Agency masonry blocks —— */
.board {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.block {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.block:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.block--link {
  color: inherit;
}

.block__ribbon {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  padding: 0.25rem 0.55rem;
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: rgba(12, 15, 22, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.block__media {
  background: #111;
  line-height: 0;
}

.block__media img {
  width: 100%;
  height: auto;
  display: block;
}

.block__meta {
  padding: 0.95rem 1.05rem 1.1rem;
  display: grid;
  gap: 0.2rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.block__meta .en {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.block__meta h3 {
  font-size: 1.05rem;
  font-weight: 900;
}

.block__meta p {
  font-size: 0.86rem;
  color: var(--ink-2);
  line-height: 1.55;
}

.block--text {
  padding: 1.5rem 1.35rem;
  justify-content: space-between;
  min-height: 200px;
  background: var(--surface);
}

.block--text .en {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 0.85rem;
}

.block--text h3 {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.block--text p {
  color: var(--ink-2);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.block--text .go {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fire);
}

.block--dark {
  background: #121216;
  color: #fff;
  border-color: #121216;
}

.block--dark p {
  color: rgba(255, 255, 255, 0.72);
}

.block--dark .en {
  color: rgba(255, 255, 255, 0.45);
}

.block--dark .go {
  color: var(--sun);
}

.block--accent {
  background: linear-gradient(145deg, #ff8a1f, #e85d04);
  color: #fff;
  border-color: transparent;
}

.block--accent p,
.block--accent .en {
  color: rgba(255, 255, 255, 0.85);
}

.block--accent .go {
  color: #fff;
}

/* spans */
.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }

@media (max-width: 900px) {
  .span-8,
  .span-7,
  .span-6,
  .span-5,
  .span-4 {
    grid-column: span 12;
  }
}

/* —— Content pages —— */

/* —— Guide page: lighter reading surface —— */
.page-guide {
  --guide-bg: #e9edf5;
  --guide-bg-soft: #f4f6fa;
  --guide-card: #ffffff;
  --guide-card-2: #f0f3f9;
  --guide-ink: #151923;
  --guide-ink-2: #3d4658;
  --guide-ink-3: #6a7388;
  --guide-line: rgba(22, 28, 42, 0.12);
  --guide-line-strong: rgba(22, 28, 42, 0.2);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 176, 32, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(46, 240, 224, 0.08), transparent 50%),
    var(--guide-bg);
  color: var(--guide-ink);
}

.page-guide .page-hero {
  background: linear-gradient(180deg, #dde3ef 0%, var(--guide-bg) 100%);
  border-bottom: 1px solid var(--guide-line);
}

.page-guide .page-hero .section__title,
.page-guide .page-hero .section__eyebrow {
  color: var(--guide-ink);
}

.page-guide .page-hero .section__lead {
  color: var(--guide-ink-2);
}

.page-guide .section--guide {
  background: transparent;
  padding-top: 1.5rem;
}

.page-guide .cta-banner {
  background: var(--guide-card);
  border: 1px solid var(--guide-line);
  color: var(--guide-ink);
}

.page-guide .cta-banner p {
  color: var(--guide-ink-2);
}

.page-guide .cta-banner h3 {
  color: var(--guide-ink);
}

.page-guide .acc__item {
  background: var(--guide-card);
  border-color: var(--guide-line);
  box-shadow: 0 8px 24px rgba(22, 28, 42, 0.06);
}

.page-guide .acc__sum:hover,
.page-guide .acc__item[open] .acc__sum {
  background: var(--guide-card-2);
}

.page-guide .acc__item[open] .acc__sum {
  border-bottom-color: var(--guide-line);
}

.page-guide .acc__title {
  color: var(--guide-ink);
}

.page-guide .acc__chev {
  border-color: var(--guide-ink-3);
}

.page-guide .acc__body h3 {
  color: #c45a00;
}

.page-guide .guide-intro {
  background: var(--guide-card);
  border-color: var(--guide-line);
  color: var(--guide-ink-2);
  box-shadow: 0 4px 16px rgba(22, 28, 42, 0.04);
}

.page-guide .guide-plain {
  color: var(--guide-ink-2);
}

.page-guide .guide-path {
  background: #1c2230;
  border-color: transparent;
}

.page-guide .guide-path__arrow {
  color: rgba(255, 255, 255, 0.45);
}

.page-guide .guide-steps li,
.page-guide .guide-check,
.page-guide .guide-list li {
  background: var(--guide-bg-soft);
  border-color: var(--guide-line);
}

.page-guide .guide-steps p {
  color: var(--guide-ink);
}

.page-guide .guide-steps__hint {
  color: var(--guide-ink-3) !important;
}

.page-guide .guide-check__label {
  color: var(--guide-ink);
}

.page-guide .guide-check__do {
  color: var(--guide-ink-2);
}

.page-guide .guide-shot {
  border-color: var(--guide-line);
  box-shadow: 0 6px 20px rgba(22, 28, 42, 0.08);
  background: #e8ecf2;
}

.page-guide .guide-shot img {
  background: #e8ecf2;
}

.page-guide .guide-shot figcaption {
  background: var(--guide-card-2);
  color: var(--guide-ink-2);
}

.page-guide .guide-caption {
  color: var(--guide-ink-3);
}

.page-guide .guide-warn {
  background: rgba(255, 90, 31, 0.08);
  border-color: rgba(255, 90, 31, 0.28);
}

.page-guide .guide-warn li {
  color: var(--guide-ink-2);
}

.page-guide .guide-tip {
  background: rgba(20, 160, 150, 0.08);
  border-color: rgba(20, 160, 150, 0.28);
}

.page-guide .guide-tip p {
  color: var(--guide-ink-2);
}

.page-guide .guide-quote {
  background: var(--guide-bg-soft);
  border-color: var(--guide-line);
  border-left-color: var(--sun);
}

.page-guide .guide-quote p {
  color: var(--guide-ink);
}

.page-guide .guide-symptoms {
  background: rgba(255, 176, 32, 0.12);
  border-color: rgba(200, 130, 0, 0.3);
}

.page-guide .guide-symptoms li {
  color: var(--guide-ink);
}

.page-guide .guide-where > div {
  background: var(--guide-bg-soft);
  border-color: var(--guide-line);
}

.page-guide .guide-where span {
  color: var(--guide-ink-3);
}

.page-guide .guide-where strong {
  color: var(--guide-ink);
}

.page-guide .gta-btn {
  color: #fff;
  background: linear-gradient(180deg, #3a4254, #2a3140);
  border-color: #4a5368;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.page-guide .gta-btn--hot {
  color: #0a0a0c;
  background: linear-gradient(180deg, #ffe08a, var(--sun));
  border-color: rgba(200, 130, 0, 0.55);
}

.page-guide .hl {
  color: #c45a00;
}

.page-guide .inline-code {
  color: #0a7a72;
  background: rgba(20, 160, 150, 0.1);
  border-color: rgba(20, 160, 150, 0.3);
}

.page-guide .key {
  box-shadow:
    0 1px 0 #fff inset,
    0 2px 0 #9a9aa8,
    0 2px 4px rgba(0, 0, 0, 0.12);
}

.page-guide .cmd-list li {
  background: var(--guide-bg-soft);
  border-color: var(--guide-line);
}

.page-guide .cmd {
  color: #0a7a72;
  background: rgba(20, 160, 150, 0.1);
  border-color: rgba(20, 160, 150, 0.3);
}

.page-guide .cmd-list p {
  color: var(--guide-ink-2);
}

.page-guide .cmd-list__warn {
  color: #c45a00 !important;
}

.page-guide .cmd-list__hint {
  color: var(--guide-ink-3) !important;
}

.page-guide .cmd-copy {
  color: var(--guide-ink);
  background: var(--guide-card);
  border-color: var(--guide-line-strong);
}

.page-guide .cmd-copy:hover {
  color: #0a7a72;
  border-color: #0a7a72;
}

.page-guide .cmd-copy.is-done {
  color: #0a0a0c;
  background: var(--cyan);
  border-color: transparent;
}

/* —— Guide (game server) —— */
.guide-box { max-width: 820px; margin-inline: auto; }

.acc {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.acc__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.acc__sum {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 1.05rem 1.15rem;
  user-select: none;
  transition: background 0.15s;
}

.acc__sum::-webkit-details-marker { display: none; }

.acc__sum:hover {
  background: var(--surface-2);
}

.acc__item[open] .acc__sum {
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.acc__label {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #0a0a0c;
  background: linear-gradient(135deg, var(--sun), var(--fire));
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
}

.acc__title {
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.35;
}

.acc__chev {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
  margin-right: 0.2rem;
}

.acc__item[open] .acc__chev {
  transform: rotate(225deg);
  margin-top: 0.25rem;
}

.acc__body {
  padding: 1.25rem 1.15rem 1.4rem;
}

.acc__body h3 {
  font-size: 1.05rem;
  font-weight: 900;
  margin: 1.35rem 0 0.75rem;
  color: var(--sun);
}

.acc__body h3:first-child {
  margin-top: 0;
}

/* —— Guide: keyboard keys (physical) —— */
.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  height: 1.85rem;
  padding: 0 0.45rem;
  margin: 0 0.12rem;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  color: #1a1a1e;
  background: linear-gradient(180deg, #f7f7f9 0%, #e4e4ea 100%);
  border: 1px solid #c8c8d0;
  border-radius: 6px;
  box-shadow:
    0 1px 0 #fff inset,
    0 2px 0 #9a9aa8,
    0 3px 6px rgba(0, 0, 0, 0.35);
  vertical-align: middle;
  white-space: nowrap;
  position: relative;
  top: -1px;
}

.key--wide {
  min-width: 2.6rem;
  padding: 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.key--game {
  min-width: 2rem;
  height: 1.55rem;
  padding: 0 0.5rem;
  color: #111;
  background: #fff;
  border: none;
  border-radius: 3px;
  box-shadow: none;
  font-size: 0.85rem;
  font-weight: 700;
  top: 0;
}

/* —— Guide: GTA / pause menu style chips —— */
.gta-btn {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  vertical-align: middle;
  white-space: nowrap;
}

.gta-btn--hot {
  color: #0a0a0c;
  background: linear-gradient(180deg, #ffe08a, var(--sun));
  border-color: rgba(255, 176, 32, 0.8);
  box-shadow: 0 0 12px rgba(255, 176, 32, 0.25);
}

.guide-intro {
  text-align: center;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 1.35rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.guide-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.35rem;
  margin: 0 0 1.35rem;
  padding: 0.95rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-path__arrow {
  color: var(--ink-3);
  font-weight: 900;
  font-size: 0.95rem;
  margin: 0 0.1rem;
}

.guide-steps {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin: 0 0 0.25rem;
  padding: 0;
}

.guide-steps li {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.05rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-steps__n {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.95rem;
  color: #0a0a0c;
  background: linear-gradient(135deg, var(--sun), var(--fire));
}

.guide-steps p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
}

.guide-steps__hint {
  margin-top: 0.35rem !important;
  font-size: 0.9rem !important;
  color: var(--ink-3) !important;
  font-weight: 500;
}

.guide-checklist {
  display: grid;
  gap: 0.45rem;
  margin: 0.5rem 0 0;
}

.guide-check {
  display: grid;
  grid-template-columns: minmax(7.5rem, 32%) 1fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-check__label {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--ink);
}

.guide-check__do {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.5;
}

.toggle-on {
  display: inline-block;
  padding: 0.12rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 900;
  color: #042;
  background: var(--cyan);
  border-radius: 4px;
  margin-right: 0.25rem;
}

.hl {
  color: var(--sun);
  font-weight: 900;
}

.inline-code {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
  color: var(--cyan);
  background: rgba(46, 240, 224, 0.1);
  border: 1px solid rgba(46, 240, 224, 0.28);
  border-radius: 4px;
}

/* —— FiveM keybind list recreation —— */
.fivem-keys {
  margin: 0.75rem 0 0.35rem;
  padding: 0.35rem 0;
  background: rgba(8, 10, 14, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

.fivem-keys__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fivem-keys__row:last-child {
  border-bottom: 0;
}

.fivem-keys__row.is-focus {
  background: rgba(255, 176, 32, 0.12);
  box-shadow: inset 3px 0 0 var(--sun);
}

.fivem-keys__name {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
}

.fivem-keys__mod {
  opacity: 0.55;
  margin-right: 0.2rem;
}

.guide-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-3);
  margin: 0.55rem 0 1.1rem;
}

/* —— Command list —— */
.cmd-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0 0 0.25rem;
  padding: 0;
}

.cmd-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cmd-list__main {
  min-width: 0;
}

.cmd {
  display: inline-block;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(46, 240, 224, 0.1);
  border: 1px solid rgba(46, 240, 224, 0.28);
  border-radius: 6px;
  padding: 0.28rem 0.55rem;
  margin-bottom: 0.45rem;
  user-select: all;
  cursor: text;
}

.cmd--inline {
  margin: 0 0.15rem;
  padding: 0.1rem 0.35rem;
  font-size: 0.92em;
  vertical-align: baseline;
}

.cmd-list p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.6;
}

.cmd-list__warn {
  margin-top: 0.45rem !important;
  color: var(--sun) !important;
  font-weight: 800;
  font-size: 0.88rem !important;
}

.cmd-list__hint {
  margin-top: 0.4rem !important;
  color: var(--ink-3) !important;
  font-size: 0.85rem !important;
}

.cmd-copy {
  flex-shrink: 0;
  padding: 0.45rem 0.75rem;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.cmd-copy:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.cmd-copy.is-done {
  color: #0a0a0c;
  background: var(--cyan);
  border-color: transparent;
}

@media (max-width: 560px) {
  .guide-check {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .fivem-keys__name {
    font-size: 0.78rem;
  }
  .guide-path {
    gap: 0.35rem;
  }
  .cmd-list li {
    grid-template-columns: 1fr;
  }
  .cmd-copy {
    width: 100%;
  }
}

.guide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  position: sticky;
  top: calc(var(--nav-h) + 0.65rem);
  z-index: 20;
  padding: 0.35rem 0;
  background: linear-gradient(180deg, var(--bg) 55%, transparent);
}

.guide-tab {
  padding: 0.7rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: 0.15s ease;
}

.guide-tab:hover { color: var(--ink); border-color: var(--line-strong); }

.guide-tab.is-active {
  color: #0a0a0c;
  background: linear-gradient(135deg, var(--sun), var(--fire));
  border-color: transparent;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.6rem;
  margin-bottom: 1.25rem;
}

.guide-card__top { margin-bottom: 1.25rem; }
.guide-card__tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 0.45rem;
}
.guide-card__top h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 900;
  margin-bottom: 0.4rem;
}
.guide-card__top p { color: var(--ink-2); font-size: 1rem; }

.guide-card h3 {
  font-size: 1.05rem;
  font-weight: 900;
  margin: 1.5rem 0 0.75rem;
  color: var(--sun);
}

.guide-shot {
  margin: 0 0 0.85rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0c10;
}

.guide-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #0a0c10;
}

.guide-shot--tall img {
  aspect-ratio: 4 / 3;
}

.guide-shot--square img {
  aspect-ratio: 1 / 1;
  max-width: 280px;
  margin-inline: auto;
}

.guide-shot figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-2);
  background: var(--surface-2);
  text-align: center;
}

.guide-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}
.guide-list li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.95rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
}
.guide-list b {
  font-family: var(--font-en);
  color: var(--sun);
  font-size: 1.05rem;
}
.guide-list strong { font-weight: 900; }
.guide-list em {
  font-style: normal;
  color: var(--cyan);
  font-weight: 900;
}

.guide-warn, .guide-tip, .guide-symptoms {
  margin-top: 1.25rem;
  padding: 1.1rem 1.15rem;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.guide-warn {
  background: rgba(255, 90, 31, 0.1);
  border-color: rgba(255, 90, 31, 0.35);
}
.guide-warn__title {
  font-weight: 900;
  color: var(--sun);
  margin-bottom: 0.55rem;
}
.guide-warn ul { display: grid; gap: 0.4rem; }
.guide-warn li {
  position: relative;
  padding-left: 1rem;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}
.guide-warn li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fire);
}

.guide-tip {
  background: rgba(46, 240, 224, 0.08);
  border-color: rgba(46, 240, 224, 0.28);
}
.guide-tip p { margin: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.65; }

.guide-quote {
  margin: 0 0 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sun);
  border-radius: 8px;
}

.guide-quote p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.guide-symptoms {
  background: rgba(255, 176, 32, 0.08);
  border-color: rgba(255, 176, 32, 0.3);
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.guide-symptoms > p {
  font-weight: 900;
  color: var(--sun);
  margin-bottom: 0.5rem;
}
.guide-symptoms ul { display: grid; gap: 0.35rem; }
.guide-symptoms li {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.guide-where { display: grid; gap: 0.5rem; }
.guide-where > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.9rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.guide-where span { color: var(--ink-3); font-size: 0.9rem; }
.guide-where strong { color: var(--ink); font-size: 1rem; }
.guide-where .is-hot {
  border-color: rgba(46, 240, 224, 0.4);
  background: rgba(46, 240, 224, 0.08);
}
.guide-where .is-hot strong { color: var(--cyan); }

.guide-plain {
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.prose-block {
  margin-top: 1.25rem;
  padding: 1.5rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.prose-block kbd {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  font-family: var(--font-en);
  font-size: 0.82em;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.prose-block h2 {
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 0 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}

.prose-block h3 {
  font-size: 1.02rem;
  font-weight: 900;
  margin: 1.25rem 0 0.55rem;
}

.prose-block p {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.prose-block ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.35rem 0 0.25rem;
}

.prose-block li {
  position: relative;
  padding-left: 1rem;
  color: var(--ink-2);
  font-size: 0.94rem;
}

.prose-block li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--fire);
  font-weight: 900;
}

.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left-width: 3px;
}

.callout + .callout {
  margin-top: 0;
}

.callout__icon {
  font-size: 1.15rem;
  line-height: 1.4;
}

.callout p {
  color: var(--ink-2);
  font-size: 0.94rem;
  margin-bottom: 0.45rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout strong {
  color: var(--ink);
  font-weight: 900;
}

.callout--city {
  border-left-color: #4a90d9;
  background: rgba(74, 144, 217, 0.12);
}

.callout--info {
  border-left-color: #2f80ed;
  background: rgba(47, 128, 237, 0.12);
}

.callout--law {
  border-left-color: #6b7280;
  background: rgba(255,255,255,0.04);
}

.callout--warn {
  border-left-color: #e2a100;
  background: rgba(226, 161, 0, 0.12);
}

.stack {
  display: grid;
  gap: var(--gutter);
}

.prose-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem 1.4rem;
}

.prose-panel + .prose-panel {
  margin-top: var(--gutter);
}

.prose-panel h2 {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.prose-panel p,
.prose-panel li {
  color: var(--ink-2);
  font-size: 0.95rem;
}

.prose-panel ul {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.prose-panel li {
  padding-left: 0.9rem;
  position: relative;
}

.prose-panel li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--fire);
  font-weight: 900;
}

.stack {
  display: grid;
  gap: var(--gutter);
}

.feature-row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.feature-row__label {
  font-weight: 900;
  color: var(--fire);
  font-size: 0.95rem;
}

.feature-row p {
  color: var(--ink-2);
  font-size: 0.95rem;
}

.step-list {
  display: grid;
  gap: var(--gutter);
  counter-reset: step;
}

.step-card {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  counter-increment: step;
}

.step-card__num {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fire);
  line-height: 1;
}

.step-card__num::before {
  content: counter(step, decimal-leading-zero);
}

.step-card h3 {
  font-size: 1.02rem;
  font-weight: 900;
  margin-bottom: 0.3rem;
}

.step-card p {
  color: var(--ink-2);
  font-size: 0.94rem;
}

.policy-stack {
  display: grid;
  gap: var(--gutter);
}

.policy-card {
  padding: 1.2rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.policy-card h3 {
  font-size: 1.02rem;
  font-weight: 900;
  margin-bottom: 0.35rem;
}

.policy-card p {
  color: var(--ink-2);
  font-size: 0.94rem;
}

.cta-banner {
  margin-top: 1.5rem;
  padding: 1.4rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-banner h3 {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
}

.cta-banner p {
  color: var(--ink-2);
  font-size: 0.9rem;
  max-width: 32em;
}

.solo-list {
  display: grid;
  gap: var(--gutter);
}

.solo-note {
  margin-bottom: 1.25rem;
  padding: 1.2rem 1.25rem;
  background: rgba(255, 176, 32, 0.08);
  border: 1px solid rgba(255, 176, 32, 0.35);
  border-radius: var(--radius);
}

.solo-note__tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #0a0a0c;
  background: linear-gradient(135deg, var(--sun), var(--fire));
  padding: 0.22rem 0.5rem;
  border-radius: 5px;
  margin-bottom: 0.55rem;
}

.solo-note h2 {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 0.45rem;
}

.solo-note p {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.7;
}

.solo-note p + p {
  margin-top: 0.55rem;
}

.solo-note__warn {
  color: var(--sun) !important;
  font-weight: 800;
}

.solo-guide {
  margin-bottom: 1.5rem;
  padding: 1.35rem 1.25rem 1.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.solo-guide__head {
  margin-bottom: 1rem;
}

.solo-guide__tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #0a0a0c;
  background: linear-gradient(135deg, var(--cyan), #1aa89e);
  padding: 0.22rem 0.5rem;
  border-radius: 5px;
  margin-bottom: 0.55rem;
}

.solo-guide__head h2 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.35rem;
}

.solo-guide__head > p {
  color: var(--ink-2);
  font-size: 0.95rem;
}

.solo-guide__h {
  font-size: 1.05rem;
  font-weight: 900;
  margin: 1.25rem 0 0.75rem;
  color: var(--sun);
}

.solo-guide .guide-plain {
  margin-bottom: 0.85rem;
}

.solo-guide .guide-tip {
  margin-top: 1.15rem;
}

.guide-ui-brand {
  margin: 0 0 1rem;
}

.guide-ui-brand img {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
}

.guide-ui-brand--text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, rgba(57, 151, 201, 0.18), rgba(57, 151, 201, 0.05));
  border: 1px solid rgba(57, 151, 201, 0.35);
  border-radius: 8px;
}

.guide-ui-brand__title {
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.guide-ui-brand__sub {
  font-size: 0.85rem;
  color: var(--ink-3);
  font-weight: 700;
}

.guide-ui-brand--green {
  background: linear-gradient(135deg, rgba(89, 198, 100, 0.18), rgba(34, 117, 42, 0.08));
  border-color: rgba(89, 198, 100, 0.4);
}

.guide-ui-brand--wood {
  background: linear-gradient(135deg, rgba(235, 123, 54, 0.2), rgba(171, 91, 41, 0.08));
  border-color: rgba(235, 123, 54, 0.4);
}

.guide-ui-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0.75rem 0 1rem;
  align-items: stretch;
}

.guide-ui-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #0c0e14;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  min-height: 0;
}

.guide-ui-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: #0a0c10;
}

.guide-ui-card--icon {
  background: linear-gradient(180deg, #151a24, #0c0e14);
}

.guide-ui-card--icon img {
  width: auto;
  max-width: 70%;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  max-height: 11rem;
  padding: 1rem;
  object-fit: contain;
}

.guide-ui-card figcaption {
  flex-shrink: 0;
  padding: 0.55rem 0.7rem;
  font-size: 0.8rem;
  color: var(--ink-3);
  text-align: center;
  background: var(--surface-2);
  line-height: 1.4;
}

.guide-ui-card--truck {
  background: linear-gradient(180deg, #1a2030, #0c0e14);
}

.guide-ui-card--truck img {
  aspect-ratio: 16 / 9;
  padding: 0.85rem;
  object-fit: contain;
  max-height: none;
  margin-inline: auto;
}

.guide-ui-row--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 720px) {
  .guide-ui-row--3 {
    grid-template-columns: 1fr;
  }
}

.guide-ui-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--ink-2);
  font-weight: 700;
}

.guide-ui-icons span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.guide-ui-icons img {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
}

@media (max-width: 560px) {
  .guide-ui-row {
    grid-template-columns: 1fr;
  }
}

.solo-item a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.solo-item {
  display: grid;
  grid-template-columns: 2.75rem 1fr auto;
  gap: 0.9rem;
  align-items: start;
  padding: 1.05rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.15s;
}

.solo-item:hover {
  border-color: #999;
}

.solo-item--shop {
  border-color: rgba(255, 176, 32, 0.4);
  background: rgba(255, 176, 32, 0.06);
}

.solo-item--shop .solo-item__badge {
  color: #0a0a0c;
  background: linear-gradient(135deg, var(--sun), var(--fire));
  border-color: transparent;
}

.solo-item__code {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fire);
  line-height: 1.2;
}

.solo-item h3 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 0.15rem;
}

.solo-item p {
  color: var(--ink-2);
  font-size: 0.88rem;
}

.solo-item__badge {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--line);
  color: var(--ink-3);
}

.job-shot {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
}

.job-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.job-shot figcaption {
  padding: 0.75rem 1.05rem;
  font-size: 0.82rem;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
}

/* —— Slideshow —— */
.slider {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.slider__viewport {
  position: relative;
  overflow: hidden;
  background: #111;
}

.slider__track {
  display: flex;
  transition: transform 0.55s var(--ease);
  will-change: transform;
}

.slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
}

.slider__slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slider__caption {
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  background: var(--surface);
}

.slider__caption .en {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.slider__caption strong {
  font-size: 0.95rem;
  font-weight: 900;
  display: block;
}

.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(12, 15, 22, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  transition: background 0.15s, transform 0.15s;
}

.slider__nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.slider__nav--prev { left: 0.75rem; }
.slider__nav--next { right: 0.75rem; }

.slider__dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.slider__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: var(--radius);
  background: #ccc;
  padding: 0;
  transition: width 0.2s, background 0.2s;
}

.slider__dot.is-active {
  width: 1.1rem;
  background: var(--ink);
}

.block .slider {
  border: 0;
}

.job-detail {
  display: grid;
  gap: var(--gutter);
}

.job-detail > div {
  padding: 1.2rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.job-detail h2 {
  font-size: 1.02rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
}

.job-detail p,
.job-detail li {
  color: var(--ink-2);
  font-size: 0.94rem;
}

.job-detail ul {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.job-detail li {
  padding-left: 0.9rem;
  position: relative;
}

.job-detail li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--fire);
  font-weight: 900;
}

.job-blocks {
  display: grid;
  gap: var(--gutter);
}

.job-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.job-tabs,
.filter-bar.job-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.discord-points {
  display: grid;
  gap: var(--gutter);
  margin: 1.25rem 0;
}

.discord-points li {
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.95rem;
}

.discord-points li::before {
  content: none;
}

.discord-panel__visual {
  display: none;
}

.discord-panel {
  display: block;
}

/* legacy class bridges */
.portal-grid,
.menu-list,
.highlight-rows,
.steps,
.policy-list,
.notion-banner {
  /* remapped via HTML rewrite; keep safe fallbacks */
}

.notion-banner {
  margin-top: 1.5rem;
  padding: 1.4rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.notion-banner h3 {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
}

.notion-banner p {
  color: var(--ink-2);
  font-size: 0.9rem;
}

.highlight-rows {
  display: grid;
  gap: var(--gutter);
}

.highlight-row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.highlight-row__label {
  font-weight: 900;
  color: var(--fire);
}

.highlight-row p {
  color: var(--ink-2);
}

.steps {
  display: grid;
  gap: var(--gutter);
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  counter-increment: step;
}

.step__num {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fire);
  line-height: 1;
}

.step__num::before {
  content: counter(step, decimal-leading-zero);
}

.step h3 {
  font-weight: 900;
  margin-bottom: 0.3rem;
}

.step p {
  color: var(--ink-2);
}

.policy-list {
  display: grid;
  gap: var(--gutter);
}

.policy-item {
  padding: 1.2rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.policy-item h3 {
  font-weight: 900;
  margin-bottom: 0.35rem;
  display: block;
}

.policy-item h3::before {
  display: none;
}

.policy-item p {
  color: var(--ink-2);
  padding: 0;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.05s; }
.reveal-delay-2 { transition-delay: 0.1s; }
.reveal-delay-3 { transition-delay: 0.15s; }

/* —— Footer —— */
.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.75rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer__brand img {
  width: 130px;
  height: auto;
  margin-bottom: 0.75rem;
}

.site-footer__brand p {
  color: var(--ink-3);
  font-size: 0.86rem;
  max-width: 24em;
}

.site-footer h4 {
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 0.7rem;
}

.site-footer ul {
  display: grid;
  gap: 0.4rem;
}

.site-footer a {
  color: var(--ink-3);
  font-size: 0.88rem;
}

.site-footer a:hover {
  color: var(--fire);
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.78rem;
}

.site-footer__legal {
  display: grid;
  gap: 0.65rem;
  max-width: 52rem;
}

.site-footer__disclaimer {
  color: var(--ink-3);
  font-size: 0.72rem;
  line-height: 1.65;
  opacity: 0.9;
}

.site-footer__disclaimer strong {
  color: var(--ink-2);
  font-weight: 700;
}

/* —— Mobile —— */
@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(12, 15, 22, 0.98);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__group {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    margin: 0 !important;
    padding-left: 0 !important;
    border-left: 0 !important;
  }

  .nav__label {
    display: block;
    font-family: var(--font-en);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--ink-3);
    padding: 0.25rem 0.5rem 0.5rem;
  }

  .nav__link {
    padding: 0.85rem 0.75rem;
    font-size: 0.95rem;
    border-radius: 6px;
  }

  .nav__cta {
    margin: 1rem 0 0;
    text-align: center;
    border-radius: var(--radius);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .highlight-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .solo-item {
    grid-template-columns: 2.5rem 1fr;
  }

  .solo-item__badge {
    grid-column: 2;
    justify-self: start;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .cta-banner,
  .notion-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

body.nav-locked {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
