:root {
  --bg-page: #070F0A;
  --bg-header: #16A34A;
  --bg-card: #11221A;
  --bg-card-alt: #0D1913;
  --border-card: #1E3A2A;
  --accent: #16A34A;
  --accent-glow: #2BFF88;
  --accent-rgb: 22, 163, 74;
  --glow2-rgb: 43, 255, 136;
  --text-white: #FFFFFF;
  --text-body: #E0E0E0;
  --font-ja: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --col-width: 375px;
}

.lp-game-body {
  font-family: var(--font-ja);
  background:
    radial-gradient(120% 80% at 50% -8%, #0c381c 0%, #08200f 38%, #060f08 72%, #050905 100%);
  background-attachment: fixed;
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* ===== Breadcrumb ===== */
.breadcrumb-wrap {
  background-color: #fff;
  position: relative;
  z-index: 2;
}

/* ===== Ember particle canvas ===== */
#emberCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== Ambient glare / glow background ===== */
.lp-game-body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(44vw 34vw at 8% 4%, rgba(var(--accent-rgb), 0.12), transparent 62%),
    radial-gradient(40vw 40vw at 92% 16%, rgba(var(--glow2-rgb), 0.09), transparent 62%),
    radial-gradient(50vw 44vw at 78% 60%, rgba(var(--accent-rgb), 0.08), transparent 64%),
    radial-gradient(42vw 38vw at 16% 96%, rgba(var(--glow2-rgb), 0.07), transparent 66%);
  animation: glareDrift 22s ease-in-out infinite alternate;
}
@keyframes glareDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  100% { transform: translate3d(0, -2%, 0) scale(1.08); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-game-body::before { animation: none; }
}

/* ===== Section 0: Announcement Band (full-width fixed) ===== */
.announce-band {
  position: relative;
  width: 100%;
  min-height: 72px;
  background: #F5FF55;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 10px 12px;
  z-index: 1000;
}

.announce-band-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: #000000;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.25));
}

.announce-band-icon svg,
.announce-band-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

@media (max-width: 480px) {
  .announce-band-icon { display: none; }
}

.announce-band-text {
  max-width: 960px;
}

h1.announce-band-text {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* ===== SP-first center column ===== */
.ecm-wrap.lp-game,
.ecm-wrap.lp-game .ecm-container {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.lp {
  width: var(--col-width);
  max-width: 100%;
  margin: 0 auto;
  background: transparent;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.announce-sub {
  font-size: 14px;
  color: var(--text-body);
  text-align: center;
  padding: 12px 16px 0;
  margin-bottom: 0;
  background: transparent;
  white-space: nowrap;
}

/* ===== Section header bar (shared) ===== */
.section-bar {
  margin: 0;
  position: relative;
  width: 100%;
  background: transparent;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  padding: 6px 16px 16px;
  box-shadow: none;
}
.section-bar[data-en]::before {
  content: attr(data-en);
  font-family: var(--font-en);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #F5C542;
  line-height: 1.1;
}
.section-bar::after {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.7);
}

.section-body {
  padding: 20px 16px;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Section 1: Hero Slider (ECM) ===== */
.hero-section {
  padding-top: 12px;
  padding-bottom: 12px;
}
/* Video slide (Kaltura) */
.slide-video {
  height: 700px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.slide-video::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 10;
  cursor: grab;
}
.slide-video iframe {
  display: block;
  max-width: 100%;
  border: 0;
}

/* Image slides */
.slide-image {
  position: relative;
  width: 500px;
  max-width: 100%;
  height: 700px;
  margin: 0 auto;
  background: #000 center / cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.slide-overlay {
  width: 100%;
  padding: 20px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
}
.slide-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-white);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.slide-sub {
  font-size: 14px;
  color: var(--text-body);
  margin-top: 6px;
}

/* ECM Slider Pagination */
.ecm-slider-pagination {
  padding: 0 0 14px;
  pointer-events: auto !important;
}
.ecm-slider-pagination-bullet {
  background: #444 !important;
  opacity: 1 !important;
  cursor: pointer !important;
}
.ecm-slider-pagination-bullet-active {
  background: var(--accent) !important;
}

/* ===== Hero CTA button ===== */
.hero-cta-wrap {
  display: flex;
  justify-content: center;
  margin: 16px 0 64px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 260px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text-white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.4), 0 0 24px rgba(var(--glow2-rgb), 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(var(--accent-rgb), 0.5), 0 0 32px rgba(var(--glow2-rgb), 0.28);
}
.hero-cta:hover,
.hero-cta:hover .ecm-icon-chevron-down {
  color: #F5C542;
}
.hero-cta .ecm-icon-chevron-down {
  font-size: 13px;
  animation: heroCtaBounce 1.6s ease-in-out infinite;
}
@keyframes heroCtaBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cta .ecm-icon-chevron-down { animation: none; }
}

/* ===== Section 2: What is Digital Code ===== */
.lead-h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  text-align: center;
  line-height: 1.4;
}
.sub-heading {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  margin-top: 16px;
}
.body-card {
  background: #FFFFFF;
  border: 1px solid #E6E6E6;
  padding: 20px 16px;
  font-size: 14px;
  color: #555555;
  line-height: 1.8;
  border-radius: 8px;
}
.body-card .sub-heading {
  margin: 0 0 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #141414;
}
.body-card-text {
  margin: 0;
}
.about-logos-title {
  margin: 28px 0 14px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
  text-align: center;
}
.about-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  margin-bottom: 32px;
}
.about-logo {
  position: relative;
  aspect-ratio: auto;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  color: #999;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
  padding-bottom: 24px;
}
.about-logo::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 24px;
  background: var(--accent);
}
.about-logo:has(img) {
  border: none;
  background: #FFFFFF;
}
.about-logo.has-bg {
  background: #FFFFFF;
}
.about-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 507 / 211;
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.about-logo a::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #FFF;
  border-bottom: 1.5px solid #FFF;
  transform: translateX(-50%) rotate(45deg);
  z-index: 2;
}
.about-logo img {
  display: block;
  width: 70%;
  height: 100%;
  object-fit: contain;
  margin: auto;
}
.about-logo.has-bg img {
  width: 70%;
  height: 100%;
  object-fit: contain;
  transform: none;
}
.about-logo.small img {
  width: 100%;
  max-width: 90px;
  height: 100%;
}
.about-logo {
  transition: opacity 0.2s ease;
}
.about-logo:hover {
  opacity: 0.8;
}

/* ===== Section 3: Recommended Scenes (2x2) ===== */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
}
.scene-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.scene-icon {
  font-size: 48px;
  line-height: 1;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.scene-icon img {
  width: auto;
  max-width: 100%;
  height: 112px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}
.scene-icon-stack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.7);
}
.scene-icon-stack .scene-icon-bill {
  height: 96px;
  transform: rotate(-8deg);
}
.scene-icon-stack .scene-icon-coin {
  height: 84px;
  margin-left: -36px;
  margin-top: 24px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}
.scene-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
}

/* ===== Section 4: Benefits (3 cards) ===== */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 64px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: center;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.benefit-num {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: center;
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  min-width: 60px;
  text-align: center;
}
.benefit-icon {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
  justify-self: center;
  font-size: 26px;
  line-height: 1;
}
.benefit-icon img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.benefit-title {
  grid-column: 3;
  grid-row: 1;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin: 0 0 2px;
}
.benefit-body {
  grid-column: 3;
  grid-row: 2;
  font-size: 13px;
  color: var(--text-body);
}

/* ===== Section 5: Buy Digital Code (5 brand cards) ===== */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.brand-logo {
  aspect-ratio: 1010 / 635;
  background: #FFFFFF center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 12px;
  overflow: hidden;
}
.brand-logo:has(img) {
  aspect-ratio: 1010 / 635;
  padding: 12px;
  background: #FFFFFF;
}
.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  text-align: center;
}
.brand-cta {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 10px 0;
  background: var(--accent);
  color: var(--text-white);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}
.brand-cta:hover { opacity: 0.8; color: #F5C542; }
.brand-cta:visited { color: var(--text-white); }
.brand-cta.is-disabled {
  background: #3a3a3a;
  color: #999;
  pointer-events: none;
}

/* ===== Section 6: How to Use (3 steps) ===== */
.step-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.step-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 64px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: center;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.step-badge {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-white);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step-icon {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
  justify-self: center;
  font-size: 26px;
  line-height: 1;
}
.step-icon img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.step-icon img[alt="コントローラー"] {
  transform: scale(0.8);
}
.step-title {
  grid-column: 3;
  grid-row: 1;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin: 0 0 2px;
}
.step-desc {
  grid-column: 3;
  grid-row: 2;
  font-size: 13px;
  color: var(--text-body);
}
/* ===== Section 7: Reviews ===== */
.review-en {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  letter-spacing: 0.04em;
}
.review-grid {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-top: 76px;
  padding-bottom: 12px;
}
.review-grid::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 86%;
  scroll-snap-align: center;
  background: var(--bg-card);
  border: none;
  border-radius: 8px;
  padding: 20px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.review-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  flex-shrink: 0;
  overflow: hidden;
  margin-top: -84px;
  margin-bottom: 12px;
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
}
.review-text {
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: 12px;
  line-height: 1.6;
}
.review-user {
  display: inline-block;
  font-size: 12px;
  color: var(--text-body);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 8px;
}
.review-stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.review-score {
  color: var(--text-white);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
}
.review-product {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.review-product-img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.review-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
  margin: 12px 0 4px;
}
.review-product-name {
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.5;
}
.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}
.review-dot.active { background: var(--accent); }

/* ===== Divider ===== */
.divider {
  height: 2px;
  background: var(--accent);
  border: none;
  margin: 0;
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.6);
}

.block-gap { margin-top: 28px; }

/* ===== Per-section containers ===== */
.lp section.reveal:not(.hero-slider-container) {
  margin: 0;
  padding: 10px 0;
  position: relative;
  border-radius: 0;
}
.lp section.reveal:not(.hero-slider-container) .section-body {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
}
.lp section.reveal:not(.hero-slider-container) .section-body > * {
  position: relative;
  z-index: 1;
}

/* ===== Alternating section backgrounds (A / B) ===== */
/* Pattern A: near-black gray with electric / lightning accents */
#about,
#benefit,
#step {
  background-color: #15171c;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(86, 184, 255, 0.12), transparent 42%),
    radial-gradient(circle at 14% 78%, rgba(86, 184, 255, 0.10), transparent 42%),
    radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1.4px);
  background-size: auto, auto, 7px 7px;
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: center, center, top left;
}
/* Pattern B: dark with scattered ember / spark glows */
#scene,
#lineup,
#voice {
  background-color: #000000;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 224, 140, 0.95) 0, rgba(245, 170, 60, 0.5) 2px, rgba(245, 150, 40, 0) 10px),
    radial-gradient(circle at 68% 30%, rgba(255, 205, 115, 0.85) 0, rgba(240, 150, 50, 0.42) 1.5px, rgba(240, 150, 50, 0) 8px),
    radial-gradient(circle at 38% 72%, rgba(255, 222, 135, 0.9) 0, rgba(245, 165, 55, 0.45) 2px, rgba(245, 165, 55, 0) 11px),
    radial-gradient(circle at 85% 82%, rgba(255, 198, 105, 0.8) 0, rgba(235, 140, 45, 0.38) 1.5px, rgba(235, 140, 45, 0) 8px),
    radial-gradient(circle at 22% 92%, rgba(255, 212, 122, 0.85) 0, rgba(240, 155, 50, 0.4) 1.5px, rgba(240, 155, 50, 0) 9px),
    radial-gradient(circle at 55% 10%, rgba(255, 230, 150, 0.75) 0, rgba(245, 160, 55, 0.3) 1px, rgba(245, 160, 55, 0) 6px),
    radial-gradient(circle at 92% 48%, rgba(255, 205, 115, 0.75) 0, rgba(235, 140, 45, 0.3) 1px, rgba(235, 140, 45, 0) 6px),
    radial-gradient(circle at 6% 58%, rgba(255, 218, 130, 0.7) 0, rgba(240, 150, 50, 0.28) 1px, rgba(240, 150, 50, 0) 6px),
    linear-gradient(180deg, rgba(245, 150, 50, 0.05), rgba(245, 150, 50, 0.015));
  background-repeat: no-repeat;
}

/* ===== Card-type children: white background + dark text ===== */
.scene-card,
.benefit-card,
.brand-card,
.step-item,
.review-card {
  background: #FFFFFF;
  border-color: #E6E6E6;
}
.scene-label,
.benefit-title,
.brand-name,
.step-title,
.review-user,
.review-score,
.review-price { color: #141414; }
.benefit-body,
.step-desc,
.review-text,
.review-product-name { color: #555555; }
.review-user { border-color: #DDDDDD; }
.review-avatar { background: #EEEEEE; }
.brand-logo { background: #F0F0F0; color: #888888; }

/* ===== Anchor scroll offset (hash landing) ===== */
.lp section[id] { scroll-margin-top: 56px; }

/* ===== Side anchor nav (beside center column) ===== */
.cnt-floating-sideNavi { display: none; }
.lp-side-navi {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lp-nav-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.72);
  border: 1px solid var(--border-card);
  color: var(--text-body);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.lp-nav-num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
}
.lp-nav-pill:hover {
  border-color: var(--accent);
  color: var(--text-white);
}
.lp-nav-pill._current,
.lp-nav-pill.ecm-floating-navi-item-current,
.lp-nav-pill[aria-current="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-white);
}
.lp-nav-pill._current .lp-nav-num,
.lp-nav-pill.ecm-floating-navi-item-current .lp-nav-num,
.lp-nav-pill[aria-current="true"] .lp-nav-num {
  color: var(--text-white);
}
@media (min-width: 900px) {
  .cnt-floating-sideNavi {
    display: block;
    position: fixed !important;
    top: 50% !important;
    right: calc(50% + 274px) !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    z-index: 1000;
  }
}
/* SP/narrow: floating horizontal pill bar at the bottom */
@media (max-width: 899px) {
  .cnt-floating-sideNavi {
    display: block;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    transform: none !important;
    z-index: 1000;
    padding: 8px 10px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--border-card);
  }
  .lp-side-navi {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .lp-side-navi::-webkit-scrollbar { display: none; }
  .lp-nav-pill {
    flex: 0 0 auto;
    min-width: auto;
    padding: 8px 14px;
  }
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
  /* Desktop: center column fixed, sides filled with page bg */
  .lp-game-body { background: var(--bg-page); }
  /* Distinguish center column from side background */
  .lp {
    width: 500px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
      0 0 50px rgba(0, 0, 0, 0.55),
      0 0 90px rgba(var(--accent-rgb), 0.06);
  }
}

@media (max-width: 767px) {
  .lp {
    width: 100%;
  }
}

/* ===== Common footer: keep above fixed bg layers & anchor nav ===== */
.ecm-compat-pc-footer,
.page-footer {
  position: relative;
  z-index: 1100;
  background: #fff;
}
