/* ==========================================================================
   GAME VAULT — Dual-Theme Architectural CSS (Light & Dark System)
   Art Direction: Brutalist Luxury / Precision Editorial / Video & Hero Art Cards
   ========================================================================== */

/* ---- Theme Variables ---- */
:root {
  /* Default Light Theme */
  --gv-bg: #f6f8fa;
  --gv-surface: #ffffff;
  --gv-surface-hover: #f0f3f6;
  --gv-text: #090d16;
  --gv-text-muted: #57606a;
  --gv-text-subtle: #8c959f;
  --gv-border: rgba(0, 0, 0, 0.08);
  --gv-border-hover: rgba(0, 0, 0, 0.2);
  --gv-accent: #059669;
  --gv-accent-bg: rgba(5, 150, 105, 0.08);
  --gv-header-bg: rgba(246, 248, 250, 0.85);
  --gv-video-overlay: linear-gradient(180deg, rgba(15,23,42,0.12) 0%, rgba(15,23,42,0.25) 50%, rgba(246,248,250,0.85) 100%);
  --gv-video-brightness: brightness(0.98) contrast(1.05);
  --gv-ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-mode {
  /* Dark Theme */
  --gv-bg: #08090c;
  --gv-surface: #0e1017;
  --gv-surface-hover: #151822;
  --gv-text: #ededef;
  --gv-text-muted: #a1a4ad;
  --gv-text-subtle: #61646b;
  --gv-border: rgba(255, 255, 255, 0.08);
  --gv-border-hover: rgba(255, 255, 255, 0.22);
  --gv-accent: #00f5a0;
  --gv-accent-bg: rgba(0, 245, 160, 0.12);
  --gv-header-bg: rgba(8, 9, 12, 0.85);
  --gv-video-overlay: linear-gradient(180deg, rgba(8,9,12,0.12) 0%, rgba(8,9,12,0.25) 50%, rgba(8,9,12,0.85) 100%);
  --gv-video-brightness: brightness(0.95) contrast(1.05);
}

/* ---- Global Baseline ---- */
body {
  background-color: var(--gv-bg) !important;
  color: var(--gv-text) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  letter-spacing: -0.015em !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  overflow-x: hidden !important;
  transition: background-color 0.25s var(--gv-ease-out-expo), color 0.25s var(--gv-ease-out-expo) !important;
}

::selection {
  background: var(--gv-accent) !important;
  color: #000000 !important;
}

/* ---- Cursor ---- */
@media (pointer: fine) {
  .gv-cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 16px; height: 16px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.22s var(--gv-ease-out-expo), height 0.22s var(--gv-ease-out-expo);
    will-change: transform, width, height;
  }
  body.cursor-hover .gv-cursor-dot {
    width: 44px; height: 44px;
  }
}

/* ---- Header ---- */
#site-header {
  height: 56px !important;
  background: var(--gv-header-bg) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid var(--gv-border) !important;
  box-shadow: none !important;
  padding: 0 32px !important;
}

.header-inner {
  max-width: 1600px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
}

.logo-icon {
  width: 20px !important;
  height: 20px !important;
  background: var(--gv-text) !important;
  color: var(--gv-bg) !important;
  border-radius: 2px !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.logo h1 {
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--gv-text) !important;
  margin: 0 !important;
}

.logo-accent {
  color: var(--gv-text-muted) !important;
  font-weight: 400 !important;
}

/* ---- Theme Toggle ---- */
.dark-toggle-header, #dark-toggle-header {
  height: 32px !important;
  padding: 0 10px !important;
  background: var(--gv-surface) !important;
  border: 1px solid var(--gv-border) !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s var(--gv-ease-out-expo) !important;
}

/* ---- Search Bar ---- */
.header-search {
  width: 380px !important;
  height: 34px !important;
  background: var(--gv-surface) !important;
  border: 1px solid var(--gv-border) !important;
  border-radius: 2px !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: center !important;
}

.header-search input {
  font-size: 12px !important;
  color: var(--gv-text) !important;
  background: transparent !important;
  border: none !important;
}

/* ---- Ticker Bar ---- */
.ticker-bar {
  height: 32px !important;
  background: var(--gv-bg) !important;
  border-bottom: 1px solid var(--gv-border) !important;
  font-size: 11px !important;
  font-family: 'Inter', monospace !important;
  color: var(--gv-text-muted) !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 32px !important;
}

.ticker-label {
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--gv-accent) !important;
  background: transparent !important;
  border: 1px solid var(--gv-accent) !important;
  border-radius: 2px !important;
  padding: 2px 6px !important;
  margin-right: 16px !important;
}

/* ==========================================================================
   🎬 APP STORE HERO VIDEO BACKGROUND & ISOLATION
   ========================================================================== */
.holo-vault-section, #hero-banner {
  position: relative !important;
  background: var(--gv-bg) !important;
  border-bottom: 1px solid var(--gv-border) !important;
  padding: 32px 16px 36px !important;
  overflow: hidden !important;
  isolation: isolate !important;
  contain: paint !important;
  z-index: 1 !important;
  box-sizing: border-box !important;
}

.holo-video-bg-wrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.holo-video-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: brightness(0.98) contrast(1.05) !important;
  transform: none !important;
}

.holo-video-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: var(--gv-video-overlay) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.holo-header-wrap {
  position: relative !important;
  z-index: 10 !important;
  margin-bottom: 12px !important;
}

/* 🚀 3Dカルーセル・背面カードの完全無効化・非表示 */
.holo-stage,
#holo-stage,
.holo-carousel-ring,
.holo-podium-bottom,
.holo-emitter-top,
.holo-pause-btn,
.holo-nav-btn,
.holo-card {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.holo-icon-streams-container {
  position: relative !important;
  z-index: 10 !important;
  overflow: hidden !important;
  padding: 6px 0 !important;
}

.holo-icon-track-wrap {
  overflow: hidden !important;
  padding: 4px 0 !important;
}

#featured-listings-section,
.featured-listings-section {
  position: relative !important;
  z-index: 2 !important;
  clear: both !important;
  margin-top: 16px !important;
}

.holo-pure-icon-item {
  background: transparent !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  padding: 0 !important;
}

.holo-pure-icon-item img,
.holo-pure-icon-item .game-icon-image {
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
}

.holo-pure-icon-item:hover {
  z-index: 60 !important;
}

.holo-bg-grid { display: none !important; }

/* 🎬 リアルタイム動画連動 ゲーム公式ライブハブバッジ */
.hero-live-game-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 6px 18px 6px 10px !important;
  background: rgba(8, 9, 12, 0.78) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid var(--gv-border-hover) !important;
  border-radius: 9999px !important;
  margin-bottom: 12px !important;
  margin-top: 8px !important;
  cursor: pointer !important;
  transition: transform 0.25s var(--gv-ease-out-expo), border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.hero-live-game-badge:hover {
  transform: translateY(-2px) scale(1.02) !important;
  border-color: var(--gv-accent) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
}

.live-pulse-dot {
  width: 8px !important;
  height: 8px !important;
  background: var(--gv-accent) !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 10px var(--gv-accent) !important;
  animation: gvLivePulse 1.8s infinite !important;
}

@keyframes gvLivePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 245, 160, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(0, 245, 160, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 245, 160, 0); }
}

.hero-live-game-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s var(--gv-ease-out-expo) !important;
}

.hero-live-game-badge:hover .hero-live-game-icon {
  transform: scale(1.1) rotate(2deg) !important;
}

.hero-live-game-info {
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
}

.hero-live-game-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em !important;
}

.hero-live-game-action {
  font-family: 'Inter', monospace !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: var(--gv-accent) !important;
  margin-left: 6px !important;
  border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding-left: 12px !important;
}

.holo-badge {
  background: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid var(--gv-border) !important;
  border-radius: 2px !important;
  color: var(--gv-accent) !important;
  font-family: 'Inter', monospace !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
}

.holo-title {
  font-size: clamp(26px, 5vw, 44px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  color: var(--gv-text) !important;
  margin: 18px 0 10px !important;
}

.holo-title span {
  color: var(--gv-accent) !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}

.holo-desc {
  color: var(--gv-text-muted) !important;
  font-size: 14px !important;
}

/* ==========================================================================
   🖼️ FEATURED LISTINGS & GAME HERO MEDIA CARD SYSTEM (動画＆美麗背景)
   ========================================================================== */
.featured-listings-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 16px !important;
}

.featured-card {
  position: relative !important;
  background: var(--gv-surface) !important;
  border: 1px solid var(--gv-border) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: border-color 0.2s var(--gv-ease-out-expo), transform 0.25s var(--gv-ease-out-expo) !important;
}

.featured-card:hover {
  border-color: var(--gv-border-hover) !important;
  transform: translateY(-2px) !important;
}

.featured-card-thumb {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  background: #08090c !important;
  overflow: hidden !important;
}

.featured-fallback-art {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

/* ゲーム美麗キービジュアル背景 */
.featured-card-hero-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: brightness(0.6) contrast(1.1) !important;
  transition: transform 0.45s var(--gv-ease-out-expo), filter 0.3s ease !important;
  will-change: transform;
}

/* ゲームシネマティック動画背景 */
.featured-card-video-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: brightness(0.65) contrast(1.1) !important;
  transition: transform 0.45s var(--gv-ease-out-expo) !important;
}

.featured-card:hover .featured-card-hero-bg,
.featured-card:hover .featured-card-video-bg {
  transform: scale(1.08) !important;
  filter: brightness(0.75) contrast(1.15) !important;
}

.featured-fallback-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.75) 100%) !important;
  z-index: 2 !important;
}

.featured-fallback-icon-wrap {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 3 !important;
}

.featured-fallback-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  transition: transform 0.3s var(--gv-ease-out-expo) !important;
}

.featured-card:hover .featured-fallback-icon {
  transform: scale(1.12) !important;
}

.featured-badge-gamename {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 4 !important;
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  font-family: 'Inter', monospace !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  border-radius: 2px !important;
  padding: 3px 8px !important;
}

.featured-badge-likes, .featured-badge-recommend {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 4 !important;
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: var(--gv-accent) !important;
  font-family: 'Inter', monospace !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  border-radius: 2px !important;
  padding: 3px 8px !important;
}

.featured-card-body {
  padding: 16px !important;
  background: var(--gv-surface) !important;
}

.featured-card-title {
  color: var(--gv-text) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  height: 38px !important;
  overflow: hidden !important;
  margin-bottom: 12px !important;
}

.featured-card-price {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  font-variant-numeric: tabular-nums !important;
  letter-spacing: -0.03em !important;
  color: var(--gv-text) !important;
}

.featured-card-btn {
  font-family: 'Inter', monospace !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: var(--gv-accent) !important;
  border: 1px solid var(--gv-accent) !important;
  border-radius: 2px !important;
  padding: 3px 8px !important;
  background: transparent !important;
}

/* ==========================================================================
   1px Architectural Grid System (All Listings)
   ========================================================================== */
.listings-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 1px !important;
  background: var(--gv-border) !important;
  border: 1px solid var(--gv-border) !important;
}

.listing-card {
  position: relative !important;
  background: var(--gv-surface) !important;
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: background 0.24s var(--gv-ease-out-expo) !important;
  cursor: pointer !important;
}

.listing-card:hover {
  background: var(--gv-surface-hover) !important;
}

.listing-card .card-thumb,
.listing-card .card-image-wrap {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  background: #000000 !important;
  overflow: hidden !important;
  margin-bottom: 20px !important;
}

.listing-card .card-thumb img,
.listing-card .card-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: contrast(1.04) !important;
  transition: transform 0.4s var(--gv-ease-out-expo) !important;
}

.listing-card:hover .card-thumb img,
.listing-card:hover .card-image-wrap img {
  transform: scale(1.04) !important;
}

.card-badge, .badge-tag {
  font-family: 'Inter', monospace !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background: var(--gv-bg) !important;
  color: var(--gv-text-muted) !important;
  border: 1px solid var(--gv-border) !important;
  border-radius: 2px !important;
  padding: 2px 7px !important;
}

.badge-stone {
  color: var(--gv-accent) !important;
  border-color: var(--gv-accent) !important;
  background: var(--gv-accent-bg) !important;
}

.badge-new {
  color: var(--gv-text) !important;
  border-color: var(--gv-border-hover) !important;
}

.listing-card h4, .listing-card .card-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  letter-spacing: -0.015em !important;
  color: var(--gv-text) !important;
  margin-bottom: 24px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.card-price-row {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  border-top: 1px solid var(--gv-border) !important;
  padding-top: 16px !important;
}

.card-price, .price-amount {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  font-variant-numeric: tabular-nums !important;
  letter-spacing: -0.04em !important;
  color: var(--gv-text) !important;
}

.price-currency {
  font-size: 0.7em !important;
  font-weight: 600 !important;
  color: var(--gv-text-subtle) !important;
}

.card-fav-btn {
  background: var(--gv-surface) !important;
  border: 1px solid var(--gv-border) !important;
  border-radius: 2px !important;
  color: var(--gv-text-subtle) !important;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  transition: all 0.2s var(--gv-ease-out-expo) !important;
}

.card-fav-btn:hover {
  border-color: var(--gv-text) !important;
  color: var(--gv-text) !important;
}

/* Bottom Nav */
@media (max-width: 768px) {
  #bottom-nav {
    background: rgba(8, 10, 15, 0.9) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4) !important;
    padding-bottom: env(safe-area-inset-bottom, 6px) !important;
  }
  .bottom-nav-inner {
    height: 56px !important;
  }
  .bottom-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    color: #64748b !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: transparent !important;
    border: none !important;
  }
  .bottom-nav-item:active {
    transform: scale(0.92) !important;
  }
  .bottom-nav-item.active {
    color: var(--gv-accent) !important;
  }
  .bottom-nav-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
  }
  .bottom-nav-icon svg {
    width: 22px !important;
    height: 22px !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s ease !important;
  }
  .bottom-nav-item.active .bottom-nav-icon svg {
    transform: translateY(-2px) scale(1.1) !important;
    filter: drop-shadow(0 0 8px rgba(0, 245, 160, 0.6)) !important;
    stroke: var(--gv-accent) !important;
  }
  .bottom-nav-label {
    font-family: 'Inter', sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
  }
}

/* 🌙 ダークモード：50音ゲームカード & タブの完全ブラック・オニキス化 */
body.dark-mode .gt-game-card,
body.dark-mode .game-card {
  background: rgba(19, 23, 34, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}

body.dark-mode .gt-game-card:hover,
body.dark-mode .game-card:hover {
  background: rgba(28, 33, 48, 0.95) !important;
  border-color: rgba(0, 245, 160, 0.4) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4), 0 0 12px rgba(0, 245, 160, 0.1) !important;
}

body.dark-mode .gt-game-card-icon,
body.dark-mode .card-icon {
  background: transparent !important;
}

body.dark-mode .gt-game-card-name,
body.dark-mode .card-name {
  color: #f1f5f9 !important;
}

body.dark-mode .gt-game-card-count {
  color: #94a3b8 !important;
}

body.dark-mode .gt-game-card--pc {
  background: rgba(19, 23, 34, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .gt-game-card-icon--pc {
  background: rgba(10, 12, 18, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* 🌙 50音バーのダークモード */
body.dark-mode .gt-gojuon-bar,
body.dark-mode .gojuon-bar {
  background: rgba(19, 23, 34, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px) !important;
}

body.dark-mode .gt-gojuon-btn,
body.dark-mode .gojuon-tab {
  color: #94a3b8 !important;
  background: transparent !important;
}

body.dark-mode .gt-gojuon-btn:hover,
body.dark-mode .gojuon-tab:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .gt-gojuon-btn.active,
body.dark-mode .gojuon-tab.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--gv-accent) !important;
}

/* 🌙 ダークモード：カテゴリ・フィルターコントロールバーの完全ダークオニキス化 */
body.dark-mode .gc-exhibit-controls-header,
body.dark-mode .gc-circle-category-bar,
body.dark-mode .gc-action-controls-row,
body.dark-mode .gc-hot-keywords-bar {
  background: rgba(15, 18, 26, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

body.dark-mode .gc-circle-btn {
  background: rgba(26, 32, 46, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #f1f5f9 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

body.dark-mode .gc-circle-btn:hover {
  background: rgba(35, 43, 62, 0.95) !important;
  border-color: rgba(0, 245, 160, 0.4) !important;
}

body.dark-mode .gc-circle-btn.active {
  background: rgba(0, 245, 160, 0.12) !important;
  border-color: var(--gv-accent) !important;
  color: var(--gv-accent) !important;
}

body.dark-mode .gc-circle-label {
  color: #cbd5e1 !important;
}

body.dark-mode .gc-btn-filter,
body.dark-mode .gc-btn-sort,
body.dark-mode .gt-filter-modal-open-btn,
body.dark-mode .gt-sort-select-wrap select {
  background: rgba(22, 27, 39, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f1f5f9 !important;
}

body.dark-mode .gc-btn-filter:hover,
body.dark-mode .gc-btn-sort:hover {
  border-color: var(--gv-accent) !important;
  color: var(--gv-accent) !important;
}

body.dark-mode .gc-hot-title {
  color: #94a3b8 !important;
}

body.dark-mode .gt-tag-chip,
body.dark-mode .gc-tag-chip {
  background: rgba(22, 27, 39, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
}

body.dark-mode .gt-tag-chip:hover,
body.dark-mode .gc-tag-chip:hover {
  background: rgba(0, 245, 160, 0.15) !important;
  border-color: var(--gv-accent) !important;
  color: #ffffff !important;
}

/* 🌙 ダークモード：商品カード・サムネイル画像の完全ダーク化 */
body.dark-mode .card-image,
body.dark-mode .card-image-placeholder,
body.dark-mode .card-image-stone-group,
body.dark-mode .listing-image-error {
  background: rgba(10, 13, 20, 0.95) !important;
  color: #94a3b8 !important;
}

body.dark-mode .card-body,
body.dark-mode .listing-body {
  background: rgba(15, 18, 26, 0.95) !important;
  color: #f1f5f9 !important;
}

body.dark-mode .card-title,
body.dark-mode .listing-title {
  color: #f1f5f9 !important;
}

body.dark-mode .card-price,
.section-title {
  margin-bottom: 6px !important;
}

.section-title::after {
  bottom: -6px !important;
}

.section-subtitle {
  font-size: 13.5px !important;
  color: var(--gv-text-muted) !important;
  margin-top: 14px !important;
  margin-bottom: 24px !important;
  line-height: 1.4 !important;
}

/* 🛡️ 安心取引セクション：ハイエンド・サイバーフィンテックスタイル */
.trust-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin-top: 24px !important;
}

.trust-card {
  position: relative !important;
  background: rgba(19, 23, 34, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 28px 24px !important;
  text-align: left !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.trust-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent) !important;
  opacity: 0.6 !important;
  transition: opacity 0.3s ease !important;
}

.trust-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 245, 160, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.trust-card:hover::before {
  opacity: 1 !important;
  background: linear-gradient(90deg, transparent, var(--gv-accent), transparent) !important;
}

.trust-icon-box {
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 20px !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.trust-card:hover .trust-icon-box {
  transform: scale(1.1) rotate(4deg) !important;
}

.trust-svg-icon {
  width: 26px !important;
  height: 26px !important;
}

/* 各カラートーン */
.trust-icon-box--blue {
  background: rgba(59, 130, 246, 0.12) !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  color: #60a5fa !important;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.15) !important;
}

.trust-icon-box--amber {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.15) !important;
}

.trust-icon-box--cyan {
  background: rgba(6, 182, 212, 0.12) !important;
  border: 1px solid rgba(6, 182, 212, 0.3) !important;
  color: #22d3ee !important;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.15) !important;
}

.trust-icon-box--emerald {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #34d399 !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.15) !important;
}

.trust-card h3 {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 10px !important;
  letter-spacing: -0.01em !important;
}

.trust-card p {
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

/* 📋 フローティングトースト通知（横長スリム・サイバースタイル） */
#gv-custom-toast,
.gv-toast-notification {
  position: fixed !important;
  bottom: 28px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(20px) !important;
  background: rgba(15, 23, 42, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1.5px solid #10b981 !important;
  color: #ffffff !important;
  padding: 8px 18px !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 16px rgba(16, 185, 129, 0.25) !important;
  z-index: 999999 !important;
  opacity: 0 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  width: max-content !important;
  max-width: calc(100vw - 24px) !important;
  height: auto !important;
  max-height: 44px !important;
  box-sizing: border-box !important;
}

#gv-custom-toast.show,
.gv-toast-notification.show {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
}

.gv-toast-icon {
  font-size: 16px !important;
  flex-shrink: 0 !important;
}

.gv-toast-title {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  white-space: nowrap !important;
}

.gv-toast-sub {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  white-space: nowrap !important;
}

/* ❤️ お気に入りドロワー：ハイエンド・サイバースタイル */
.watchlist-panel {
  background: rgba(12, 15, 22, 0.96) !important;
  backdrop-filter: blur(32px) !important;
  -webkit-backdrop-filter: blur(32px) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5) !important;
}

.watchlist-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 18px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.watchlist-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.watchlist-icon-box {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(244, 63, 94, 0.12) !important;
  border: 1px solid rgba(244, 63, 94, 0.3) !important;
  color: #fb7185 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.watchlist-header-svg {
  width: 18px !important;
  height: 18px !important;
}

.watchlist-header h3 {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.watchlist-close-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.watchlist-close-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  transform: scale(1.06) !important;
}

.watchlist-empty {
  padding: 60px 20px !important;
  text-align: center !important;
}

.watchlist-empty-icon-wrap {
  width: 80px !important;
  height: 80px !important;
  border-radius: 24px !important;
  background: rgba(244, 63, 94, 0.1) !important;
  border: 1px solid rgba(244, 63, 94, 0.25) !important;
  color: #fb7185 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 20px !important;
  box-shadow: 0 0 30px rgba(244, 63, 94, 0.15) !important;
  animation: gvHeartPulse 2.5s ease-in-out infinite !important;
}

@keyframes gvHeartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.watchlist-empty-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 6px !important;
}

.watchlist-empty-desc {
  font-size: 13px !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

.watchlist-item {
  background: rgba(22, 27, 39, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 12px !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  transition: all 0.2s ease !important;
}

.watchlist-item:hover {
  background: rgba(30, 37, 54, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  transform: translateY(-2px) !important;
}

.watchlist-item-title {
  color: #f1f5f9 !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
}

.watchlist-item-price {
  color: var(--gv-accent) !important;
  font-weight: 800 !important;
}

.watchlist-item-remove {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.watchlist-item-remove:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: #ef4444 !important;
  color: #ef4444 !important;
}

.watchlist-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(12, 15, 22, 0.96) !important;
  padding: 16px 20px !important;
}

.btn-copy-bulk-order {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #00f5a0 0%, #00d290 100%) !important;
  color: #08090d !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  border: none !important;
  padding: 12px 16px !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-copy-bulk-order:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 245, 160, 0.35) !important;
}

/* ⚡ ヘッダーアクション：最高峰サイバースタイル */
.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* 1. テーマ切替ボタン */
.gv-theme-toggle {
  position: relative !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: rgba(22, 27, 39, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.gv-theme-toggle:hover {
  background: rgba(30, 37, 54, 0.98) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

.gv-theme-toggle:active {
  transform: scale(0.92) !important;
}

.gv-theme-icon-sun,
.gv-theme-icon-moon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease !important;
}

/* ライトモード時：太陽を表示、月を隠す */
.gv-theme-icon-sun {
  color: #f59e0b !important;
  display: flex !important;
}
.gv-theme-icon-moon {
  display: none !important;
}

/* ダークモード時：月を表示、太陽を隠す */
body.dark-mode .gv-theme-icon-sun {
  display: none !important;
}
body.dark-mode .gv-theme-icon-moon {
  display: flex !important;
  color: #38bdf8 !important;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6)) !important;
}

/* 2. お気に入りボタン */
.gv-header-fav-btn {
  height: 38px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  background: rgba(22, 27, 39, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.gv-header-fav-btn:hover {
  background: rgba(30, 37, 54, 0.98) !important;
  border-color: rgba(244, 63, 94, 0.4) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.2) !important;
}

.gv-header-fav-btn:active {
  transform: scale(0.95) !important;
}

.gv-fav-svg {
  width: 18px !important;
  height: 18px !important;
  color: #fb7185 !important;
  filter: drop-shadow(0 0 6px rgba(251, 113, 133, 0.4)) !important;
  transition: transform 0.2s ease !important;
}

.gv-header-fav-btn:hover .gv-fav-svg {
  transform: scale(1.15) !important;
}

.gv-fav-count {
  font-family: 'Inter', monospace !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: 0.02em !important;
}

/* ⚡ 注目の新着・おすすめアカウント：リアルタイムヘッダー ＆ タブ */
.featured-section-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
}

.featured-header-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.featured-live-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 3px 9px !important;
  background: rgba(0, 245, 160, 0.1) !important;
  border: 1px solid rgba(0, 245, 160, 0.3) !important;
  border-radius: 9999px !important;
  font-family: 'Inter', monospace !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: var(--gv-accent) !important;
}

.featured-live-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: var(--gv-accent) !important;
  box-shadow: 0 0 8px var(--gv-accent) !important;
  animation: gvLivePulse 1.8s ease-in-out infinite !important;
}

.featured-sort-tabs {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(14, 17, 24, 0.85) !important;
  padding: 4px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.featured-tab {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.featured-tab:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.featured-tab.active {
  color: #08090d !important;
  background: linear-gradient(135deg, #00f5a0 0%, #00d290 100%) !important;
  box-shadow: 0 2px 10px rgba(0, 245, 160, 0.3) !important;
}

.featured-badge-new {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  background: rgba(0, 245, 160, 0.92) !important;
  color: #08090d !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  z-index: 5 !important;
}

/* 💳 お支払い方法チップ ＆ フッター決済スタイル */
.cyber-pay-chip {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 8px !important;
  background: rgba(30, 37, 54, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: #cbd5e1 !important;
}

.cyber-pay-chip--highlight {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  color: #fbbf24 !important;
}

.footer-col--payments {
  flex: 1.5 !important;
  min-width: 260px !important;
}

.footer-pay-category {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}

.footer-pay-cat-title {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
}

.footer-pay-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
}

.pay-pill {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 8px !important;
  background: rgba(22, 27, 39, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: #cbd5e1 !important;
}

.pay-pill--gold {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  color: #fbbf24 !important;
}

/* ========================================================
   📱 モバイル操作性 ＆ パフォーマンス・アクセシビリティ強化
   ======================================================== */

/* 1. タッチターゲット 44px 以上の確保 */
.cyber-x-btn,
.cyber-line-btn,
.cyber-tap-copy-btn,
.plan-copy-status-badge,
.gc-circle-btn,
.featured-tab,
.ranking-tab {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  touch-action: manipulation !important;
}

/* 2. CLS（レイアウトシフト）防止：画像アスペクト比の事前確保 */
.card-image,
.card-image-placeholder,
.featured-card-thumb {
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  background: #0f131d !important;
  position: relative !important;
}

.gt-game-card-icon,
.cyber-app-icon {
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

/* 3. prefers-reduced-motion: 省電力・視覚配慮 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 4. モバイル時の詳細モーダル固定スクロールとフッターバー */
@media (max-width: 640px) {
  .cyber-modal-container {
    max-height: 90vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 20px !important;
  }

  .cyber-dual-btns {
    position: sticky !important;
    bottom: 0 !important;
    background: rgba(14, 17, 24, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    padding: 10px 0 !important;
    margin-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    z-index: 20 !important;
  }
}

/* 💎 石垢・初期垢カード：公式美麗背景 ＆ センタリング立体アイコン */
.card-image-stone-group {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  background: #080a0f !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.stone-card-hero-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: blur(2.5px) brightness(0.85) contrast(1.05) !important; /* 程よい上品な微細ぼかしでアイコンと文字を際立たせる */
  transform: scale(1.06) !important; /* ぼかしによる端の欠け防止 */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease !important;
  pointer-events: none !important;
}

.card:hover .stone-card-hero-bg {
  transform: scale(1.10) !important;
  filter: blur(1.5px) brightness(0.92) contrast(1.08) !important;
}

.stone-card-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(8, 10, 15, 0.1) 0%, rgba(8, 10, 15, 0.55) 100%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.stone-card-app-icon {
  width: 54px !important;
  height: 54px !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.card:hover .stone-card-app-icon {
  transform: scale(1.08) !important;
  border-color: #00f5a0 !important;
  box-shadow: 0 10px 28px rgba(0, 245, 160, 0.35) !important;
}

/* 🔊 サウンド切替ボタン */
.card-sound-btn {
  position: absolute !important;
  z-index: 12 !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  border-radius: 9999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 5px 10px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.2s ease !important;
  bottom: 8px !important;
  right: 8px !important;
}

.hero-sound-btn {
  position: static !important;
  z-index: 2 !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  border-radius: 9999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: all 0.2s ease !important;
  margin: 0 6px !important;
  white-space: nowrap !important;
}

.card-sound-btn:hover {
  background: rgba(0, 245, 160, 0.85) !important;
  color: #080a0f !important;
  border-color: #00f5a0 !important;
  transform: scale(1.08) !important;
}

.hero-sound-btn:hover {
  background: rgba(0, 245, 160, 0.85) !important;
  color: #080a0f !important;
  border-color: #00f5a0 !important;
  transform: scale(1.05) !important;
}

.card-sound-btn.is-active, .hero-sound-btn.is-active {
  background: #00f5a0 !important;
  color: #080a0f !important;
  border-color: #00f5a0 !important;
  box-shadow: 0 0 14px rgba(0, 245, 160, 0.6) !important;
}

.stone-card-center-icon-wrap {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.stone-card-app-icon {
  width: 64px !important;
  height: 64px !important;
  border-radius: 16px !important;
  object-fit: cover !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.18) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
  display: block !important;
}

.card:hover .stone-card-app-icon {
  transform: scale(1.08) translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(0, 245, 160, 0.28), 0 0 0 2px rgba(0, 245, 160, 0.6) !important;
}

/* ============================================================
   RANKING BADGE NUMBERS ABSOLUTE VISIBILITY FIX (TOP 1, 2, 3)
   ============================================================ */
.ranking-number {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  line-height: 28px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  border-radius: 6px !important;
  text-align: center !important;
  -webkit-text-fill-color: initial !important;
}

.ranking-number.top1,
.ranking-item.rank-1 .ranking-number {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 900 !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4) !important;
}

.ranking-number.top2,
.ranking-item.rank-2 .ranking-number {
  background: linear-gradient(135deg, #94a3b8, #64748b) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 900 !important;
  box-shadow: 0 2px 8px rgba(148, 163, 184, 0.3) !important;
}

.ranking-number.top3,
.ranking-item.rank-3 .ranking-number {
  background: linear-gradient(135deg, #b45309, #78350f) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 900 !important;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.3) !important;
}

/* ============================================================
   📱 FLUID RESPONSIVE MOBILE ARCHITECTURE (320px - 768px)
   自動画面サイズ適応・左右等幅中央配置・横あふれ完全防止
   ============================================================ */
@media (max-width: 768px) {
  html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  *, *::before, *::after {
    box-sizing: border-box !important;
  }

  .section, main, #listings, #featured-listings, #ranking-section, #game-directory, #trust-section {
    width: 100% !important;
    max-width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
  }

  .section-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  /* ヘッダー */
  #site-header {
    height: 52px !important;
    padding: 0 10px !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .header-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    gap: 8px !important;
  }

  .header-search {
    display: none !important;
  }

  /* 🎬 ヒーロー動画バナー (スマホでもクリア＆大迫力に表示) */
  #hero-banner,
  .holo-vault-section {
    position: relative !important;
    min-height: 240px !important;
    height: 250px !important;
    padding: 16px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  .holo-video-bg {
    filter: brightness(1.0) contrast(1.05) !important;
    opacity: 1 !important;
  }

  .holo-header-wrap {
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto 6px !important;
    z-index: 10 !important;
  }

  .hero-live-game-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 10px 4px 6px !important;
    margin: 0 auto !important;
    max-width: 96% !important;
    background: rgba(15, 23, 42, 0.78) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 999px !important;
  }

  .hero-live-game-icon {
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
  }

  .hero-live-game-title {
    font-size: 11.5px !important;
    max-width: 115px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .hero-sound-btn {
    font-size: 10px !important;
    padding: 3px 7px !important;
    height: 24px !important;
    margin: 0 2px !important;
    border-radius: 999px !important;
  }

  .hero-live-game-action {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    color: #38bdf8 !important;
    white-space: nowrap !important;
  }

  /* 注目商品グリッド (2列等幅・中央配置) */
  #featured-listings-grid,
  .featured-listings-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .featured-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  .featured-card-thumb {
    width: 100% !important;
    height: 110px !important;
    aspect-ratio: auto !important;
  }

  .featured-card-body {
    padding: 8px 8px 10px !important;
  }

  .featured-card-title {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    height: 31px !important;
    margin-bottom: 6px !important;
  }

  .featured-card-price {
    font-size: 14px !important;
  }

  /* 全商品一覧グリッド (2列等幅・中央配置) */
  #listings-grid,
  .listings-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  .listing-card,
  .product-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 8px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .listing-card .card-thumb,
  .listing-card .card-image-wrap,
  .card-image,
  .card-image-placeholder {
    width: 100% !important;
    height: 110px !important;
    aspect-ratio: auto !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
  }

  .card-body {
    padding: 4px 2px 2px !important;
  }

  .listing-title,
  .card-title {
    font-size: 11px !important;
    line-height: 1.35 !important;
    height: 30px !important;
    margin-bottom: 4px !important;
  }

  .listing-price,
  .card-price {
    font-size: 14.5px !important;
  }

  /* ランキングタブ (1行等幅・コンパクト) */
  .ranking-tabs {
    display: flex !important;
    width: 100% !important;
    gap: 4px !important;
    padding: 3px !important;
    background: var(--bg-alt) !important;
    border-radius: 999px !important;
    overflow-x: visible !important;
  }

  .ranking-tab {
    min-height: 32px !important;
    height: 32px !important;
    flex: 1 !important;
    padding: 4px 6px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-align: center !important;
    line-height: 1 !important;
    border-radius: 999px !important;
  }

  /* ランキンググリッド (2列等幅・ゲーム名が切れない最適バランス) */
  #ranking-grid,
  .ranking-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border-radius: 12px !important;
    border: 1px solid var(--border-light) !important;
    background: var(--bg-secondary) !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .ranking-item {
    padding: 7px 8px !important;
    gap: 6px !important;
    align-items: center !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .ranking-number {
    width: 20px !important;
    height: 20px !important;
    line-height: 20px !important;
    font-size: 11px !important;
    flex-shrink: 0 !important;
    border-radius: 4px !important;
  }

  .ranking-icon {
    flex-shrink: 0 !important;
    width: 32px !important;
    height: 32px !important;
  }

  .ranking-icon .game-icon-image,
  .ranking-icon img,
  .ranking-icon .game-icon-placeholder {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    font-size: 13px !important;
  }

  .ranking-info {
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-align: left !important;
  }

  .ranking-name {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 1px !important;
  }

  .ranking-count {
    font-size: 9.5px !important;
    color: #64748b !important;
    line-height: 1.2 !important;
  }

  /* 人気ゲーム横スクロールアイコン */
  .gt-popular-scroll {
    gap: 10px !important;
    padding: 4px 0 10px !important;
  }

  .gt-popular-item {
    width: 54px !important;
    flex-shrink: 0 !important;
  }

  .gt-popular-icon,
  .gt-popular-icon img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
  }

  .gt-popular-name {
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 4px !important;
  }

  /* 50音ゲーム一覧 */
  #gt-game-grid,
  .gt-game-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .gt-game-card {
    width: 100% !important;
    padding: 6px 3px !important;
  }

  .gt-game-card-icon,
  .gt-game-card-icon img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
  }

  .gt-game-card-name {
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-top: 4px !important;
  }

  .gt-game-card-count {
    font-size: 9px !important;
  }

  /* フィルター & 人気キーワードバー */
  #controls {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .gc-exhibit-controls-header {
    width: 100% !important;
    max-width: 100% !important;
  }

  .gc-circle-category-bar {
    width: 100% !important;
    padding: 8px 10px !important;
  }

  .gc-action-controls-row {
    width: 100% !important;
    padding: 8px 10px !important;
  }

  .gc-hot-keywords-bar {
    width: 100% !important;
    padding: 8px 10px !important;
  }

  .gc-hot-tags-scroll {
    width: 100% !important;
    overflow-x: auto !important;
  }

  /* 📋 トースト通知：スマホは1行「✅ コピーしました！」のみ、下部固定ナビ（60px）の上に12px以上の隙間（実測24px）を確保 */
  #gv-custom-toast,
  .gv-toast-notification {
    bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 7px 16px !important;
    max-height: 40px !important;
    gap: 6px !important;
    max-width: calc(100vw - 24px) !important;
    z-index: 100020 !important;
  }

  .gv-toast-sub {
    display: none !important; /* スマホでは補足文を非表示にし、1行「✅ コピーしました！」のみ */
  }

  .gv-toast-title {
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  /* 🛡️ 安心取引セクション：2×2 グリッド、タイトル最大2行、間隔8px、固定高さ廃止 */
  #trust-section {
    padding: 20px 0 !important;
  }

  #trust-section .section-title {
    font-size: 16px !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
  }

  #trust-section .section-subtitle {
    font-size: 11px !important;
    margin-top: 2px !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
  }

  .trust-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .trust-card {
    padding: 10px 8px !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: auto !important;
    box-sizing: border-box !important;
  }

  .trust-icon-box {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    margin-bottom: 6px !important;
  }

  .trust-svg-icon {
    width: 14px !important;
    height: 14px !important;
  }

  .trust-card h3 {
    font-size: 12px !important;
    font-weight: 800 !important;
    margin-bottom: 3px !important;
    line-height: 1.3 !important;
    color: #f8fafc !important;
    letter-spacing: -0.01em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .trust-card p {
    font-size: 10.5px !important;
    line-height: 1.4 !important;
    color: #cbd5e1 !important;
    margin: 0 !important;
    display: block !important;
    overflow: visible !important;
  }
}

/* ========================================================
   📱 MOBILE HAMBURGER MENU OVERHAUL (P0-1)
   ======================================================== */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  z-index: 100001;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex !important;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* スマホのヘッダー操作を右側へまとめ、ロゴとの間に不自然な空白を作らない。 */
@media (max-width: 768px) {
  .header-inner {
    justify-content: flex-start !important;
  }
  .header-inner .logo {
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }
  .header-inner .header-actions {
    display: flex !important;
    margin-left: auto !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
  }
  .header-inner .mobile-menu-btn {
    margin-left: 0 !important;
    flex: 0 0 40px !important;
  }
}

/* スマホのランキングと50音一覧は、余白を活かしてアプリアイコンを大きな正方形で表示する。 */
@media (max-width: 768px) {
  .ranking-item {
    min-height: 90px !important;
    padding: 10px 12px !important;
    gap: 10px !important;
  }
  .ranking-icon {
    width: 52px !important;
    height: 52px !important;
  }
  .ranking-icon .game-icon-image:not(.game-icon-image--pc),
  .ranking-icon .game-icon-placeholder {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 12px !important;
    object-fit: cover !important;
  }
  #gt-game-grid .gt-game-card {
    padding: 10px 3px 8px !important;
  }
  #gt-game-grid .gt-game-card-icon:not(.gt-game-card-icon--pc),
  #gt-game-grid .gt-game-card-icon:not(.gt-game-card-icon--pc) .game-icon-image {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 16px !important;
    object-fit: cover !important;
  }
}
@media (max-width: 380px) {
  #gt-game-grid .gt-game-card-icon:not(.gt-game-card-icon--pc),
  #gt-game-grid .gt-game-card-icon:not(.gt-game-card-icon--pc) .game-icon-image {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
  }
}

body.dark-mode .mobile-menu-btn span {
  background: #f8fafc;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 56px);
  background: #ffffff !important;
  z-index: 100000;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: mobileMenuSlideIn 0.25s ease-out;
}

body.dark-mode .mobile-menu {
  background: #0f172a !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.mobile-menu.active {
  display: block !important;
}

.mobile-menu-inner {
  padding: 16px 20px 80px;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 12px;
}

body.dark-mode .mobile-menu-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #64748b;
}

.mobile-menu-close {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #64748b;
  cursor: pointer;
}

body.dark-mode .mobile-menu-close {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.18s ease;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

body.dark-mode .mobile-menu-item {
  color: #f1f5f9;
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu-item:hover,
.mobile-menu-item:active {
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
  transform: translateX(4px);
}

.menu-item-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

body.mobile-menu-open {
  overflow: hidden !important;
}

@keyframes mobileMenuSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   🔍 MOBILE SEARCH MODAL / DRAWER (P0-2)
   ======================================================== */
.mobile-search-modal {
  position: fixed;
  inset: 0;
  z-index: 100010;
  display: flex;
  flex-direction: column;
}

.mobile-search-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1;
}

.mobile-search-container {
  position: relative;
  z-index: 2;
  background: #ffffff;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: mobileSearchSlideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-mode .mobile-search-container {
  background: #0f172a;
  color: #f8fafc;
}

@keyframes mobileSearchSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.mobile-search-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

body.dark-mode .mobile-search-header {
  background: #0f172a;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.mobile-search-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.mobile-search-input-icon {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  pointer-events: none;
}

#mobile-search-input {
  width: 100%;
  height: 42px;
  padding: 0 36px 0 38px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  font-size: 14.5px;
  color: #0f172a;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

body.dark-mode #mobile-search-input {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

#mobile-search-input:focus {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

body.dark-mode #mobile-search-input:focus {
  background: #0f172a;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.mobile-search-clear-btn {
  position: absolute;
  right: 10px;
  background: #cbd5e1;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #475569;
  cursor: pointer;
}

.mobile-search-close-btn {
  background: transparent;
  border: none;
  font-size: 14.5px;
  font-weight: 700;
  color: #0284c7;
  padding: 8px 6px;
  cursor: pointer;
  white-space: nowrap;
}

body.dark-mode .mobile-search-close-btn {
  color: #38bdf8;
}

.mobile-search-quick-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  overflow-x: auto;
  white-space: nowrap;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  scrollbar-width: none;
}

body.dark-mode .mobile-search-quick-tags {
  background: #1e293b;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.mobile-search-quick-tags::-webkit-scrollbar {
  display: none;
}

.quick-tag-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  flex-shrink: 0;
}

.quick-tag-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  flex-shrink: 0;
}

body.dark-mode .quick-tag-btn {
  background: #0f172a;
  border-color: #334155;
  color: #cbd5e1;
}

.mobile-search-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
}

.mobile-search-section-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #64748b;
  margin-bottom: 10px;
}

.mobile-search-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.mobile-search-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
}

body.dark-mode .mobile-search-game-card {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
}

.mobile-search-game-card img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 6px;
}

.mobile-search-game-card span {
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mobile-search-game-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
}

body.dark-mode .mobile-search-game-row {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
}

.mobile-search-game-row img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.search-game-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.search-game-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}

body.dark-mode .search-game-name {
  color: #f8fafc;
}

.search-game-meta {
  font-size: 11px;
  color: #64748b;
}

.mobile-search-listing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 6px;
  cursor: pointer;
}

body.dark-mode .mobile-search-listing-row {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.06);
}

.search-listing-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.dark-mode .search-listing-title {
  color: #f1f5f9;
}

.search-listing-price {
  font-size: 12.5px;
  font-weight: 800;
  color: #059669;
  margin-top: 2px;
}

.search-row-arrow {
  color: #94a3b8;
  font-size: 16px;
  font-weight: 700;
}

.mobile-search-empty {
  text-align: center;
  padding: 40px 16px;
  color: #64748b;
}

/* ========================================================
   🏷️ GAME TITLE 2-LINE INTEGER CLAMP (P1-5 & AUDIT FIX)
   ======================================================== */
.gt-game-card-name,
.game-card .card-title,
.ranking-name,
.featured-card-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: break-all !important;
  font-size: 11px !important;
  line-height: 15px !important;
  height: 30px !important;
  max-height: 30px !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 4px 0 2px !important;
}

@media (min-width: 769px) {
  .gt-game-card-name,
  .game-card .card-title,
  .ranking-name,
  .featured-card-title {
    font-size: 13px !important;
    line-height: 18px !important;
    height: 36px !important;
    max-height: 36px !important;
  }
}

/* ========================================================
   🎯 ACCESSIBILITY FOCUS-VISIBLE OUTLINE
   ======================================================== */
.mobile-menu-btn:focus-visible,
.mobile-menu-close:focus-visible,
.mobile-menu-item:focus-visible,
.bottom-nav-item:focus-visible {
  outline: 2px solid #0284c7 !important;
  outline-offset: 2px !important;
}

/* ========================================================
   ✨ SCROLL ANIMATE ROBUST VISIBILITY (P1-6)
   ======================================================== */
.scroll-animate.visible {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

@media (max-width: 360px) {
  .section-inner {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  #featured-listings-grid,
  .featured-listings-grid,
  #listings-grid,
  .listings-grid {
    gap: 6px !important;
  }

  #gt-game-grid,
  .gt-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* ゲーム別・アカウント種別専用ページ */
.dedicated-account-route #hero-banner,
.dedicated-account-route #featured-listings-section,
.dedicated-account-route #ranking-section,
.dedicated-account-route #game-directory,
.dedicated-account-route #controls,
.dedicated-account-route #listings,
.dedicated-account-route #trust-section { display: none !important; }
.dedicated-account-page { padding: 32px 0 56px; min-height: 60vh; }
.dedicated-account-inner { max-width: 1180px; }
.dedicated-account-breadcrumb { display:flex; gap:8px; align-items:center; color:var(--gv-text-muted,#718096); font-size:13px; margin-bottom:18px; }
.dedicated-account-breadcrumb a { color:inherit; text-decoration:none; }
.dedicated-account-breadcrumb a:hover { color:var(--gv-accent,#0d9488); }
.dedicated-account-heading { display:flex; justify-content:space-between; gap:24px; align-items:flex-end; margin-bottom:20px; }
.dedicated-account-eyebrow { color:var(--gv-accent,#0d9488); font-size:12px; font-weight:800; letter-spacing:.08em; margin:0 0 6px; }
.dedicated-account-heading h1 { margin:0; font-size:30px; color:var(--gv-text,#10233e); }
.dedicated-account-description { margin:8px 0 0; color:var(--gv-text-muted,#718096); }
.dedicated-account-count { color:var(--gv-text-muted,#718096); font-size:14px; font-weight:700; white-space:nowrap; }
.dedicated-account-tabs { display:flex; gap:8px; border-bottom:1px solid var(--gv-border,#dbe4ee); margin-bottom:24px; }
.dedicated-account-tabs a { color:var(--gv-text-muted,#718096); text-decoration:none; padding:10px 16px; font-weight:800; border-bottom:3px solid transparent; }
.dedicated-account-tabs a.active { color:var(--gv-accent,#0d9488); border-bottom-color:var(--gv-accent,#0d9488); }
.dedicated-account-grid { display:grid; gap:18px; }
.dedicated-account-grid--retired { grid-template-columns:repeat(3,minmax(0,1fr)); }
.dedicated-account-grid--stone { grid-template-columns:repeat(4,minmax(0,1fr)); }
.dedicated-account-card { background:var(--gv-card,#fff); border:1px solid var(--gv-border,#dbe4ee); border-radius:16px; overflow:hidden; cursor:pointer; box-shadow:0 5px 18px rgba(15,23,42,.07); transition:transform .18s ease,box-shadow .18s ease; }
.dedicated-account-card:hover { transform:translateY(-3px); box-shadow:0 11px 25px rgba(15,23,42,.13); }
.dedicated-account-thumb { position:relative; background:#101827; overflow:hidden; }
.dedicated-account-card--retired .dedicated-account-thumb { aspect-ratio:16/10; }
.dedicated-account-card--stone .dedicated-account-thumb { aspect-ratio:16/9; }
.dedicated-account-thumb > img { width:100%; height:100%; object-fit:cover; display:block; }
.dedicated-account-thumb-fallback { display:none; position:absolute; inset:0; place-items:center; background:linear-gradient(135deg,#19283d,#0b1220); }
.dedicated-account-fallback-icon { max-width:44%; max-height:44%; object-fit:contain; border-radius:14px; color:#fff; font-weight:900; }
.dedicated-account-badge,.dedicated-account-image-note { position:absolute; top:10px; left:10px; border-radius:999px; padding:5px 9px; font-size:11px; font-weight:900; color:#fff; background:rgba(4,15,30,.78); }
.dedicated-account-card--retired .dedicated-account-badge { background:#0d9488; }
.dedicated-account-card--stone .dedicated-account-badge { background:#6d28d9; }
.dedicated-account-image-note { top:auto; bottom:9px; background:rgba(4,15,30,.72); }
.dedicated-account-body { padding:13px 14px 15px; }
.dedicated-account-game { margin:0 0 5px; color:var(--gv-accent,#0d9488); font-size:12px; font-weight:800; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dedicated-account-body h2 { margin:0; color:var(--gv-text,#10233e); font-size:15px; line-height:1.45; min-height:44px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.dedicated-account-bottom { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:13px; }
.dedicated-account-bottom strong { color:var(--gv-accent,#0d9488); font-size:19px; }
.dedicated-account-bottom span { color:var(--gv-accent,#0d9488); font-size:12px; font-weight:800; }
.dedicated-account-loading,.dedicated-account-error,.dedicated-account-empty { grid-column:1/-1; padding:42px 20px; text-align:center; color:var(--gv-text-muted,#718096); border:1px dashed var(--gv-border,#dbe4ee); border-radius:14px; }
.dedicated-account-empty span { display:block; font-size:28px; }.dedicated-account-empty h2 { color:var(--gv-text,#10233e); font-size:18px; }.dedicated-account-more-wrap { text-align:center; padding-top:26px; }.dedicated-account-more { border:0; border-radius:999px; padding:12px 26px; color:#fff; background:var(--gv-accent,#0d9488); font-weight:800; cursor:pointer; }
@media (max-width: 768px) { .dedicated-account-page { padding:18px 0 38px; }.dedicated-account-heading { align-items:flex-start; flex-direction:column; gap:8px; }.dedicated-account-heading h1 { font-size:25px; }.dedicated-account-description { font-size:13px; line-height:1.55; }.dedicated-account-tabs { overflow-x:auto; margin-left:-2px; }.dedicated-account-tabs a { padding:10px 12px; font-size:13px; white-space:nowrap; }.dedicated-account-grid--retired { grid-template-columns:1fr; gap:14px; }.dedicated-account-grid--stone { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }.dedicated-account-card--retired .dedicated-account-thumb { aspect-ratio:16/9; }.dedicated-account-body { padding:11px; }.dedicated-account-body h2 { font-size:14px; }.dedicated-account-bottom strong { font-size:17px; } }
