/* ============================================
   GAME VAULT — ライトテーマ RMTマーケットプレイス CSS
   参考: GamePlatform / GameClub / rmt.club / Eldorado
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  /* ライトテーマカラー */
  --bg-primary: #f5f7fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-alt: #f0f2f5;
  --bg-header: #ffffff;
  --bg-footer: #1e293b;

  /* テキスト */
  --text-primary: #1a1a2e;
  --text-secondary: #555770;
  --text-muted: #8e8ea0;
  --text-white: #ffffff;

  /* アクセントカラー */
  --accent-teal: #0d9488;
  --accent-teal-light: #14b8a6;
  --accent-teal-bg: rgba(13, 148, 136, 0.08);
  --accent-red: #ef4444;
  --accent-red-light: #fca5a5;
  --accent-yellow: #f59e0b;
  --accent-yellow-bg: rgba(245, 158, 11, 0.1);
  --accent-purple: #7c3aed;
  --accent-blue: #3b82f6;

  /* グラデーション */
  --gradient-teal: linear-gradient(135deg, #0d9488, #14b8a6);
  --gradient-hero: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #2dd4bf 100%);

  /* シャドウ */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 8px 25px rgba(0,0,0,0.12);

  /* ボーダー */
  --border-light: #e5e7eb;
  --border-lighter: #f0f0f5;

  /* 角丸 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* フォント */
  --font-jp: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  --font-num: 'Inter', sans-serif;

  /* トランジション */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* ---- ダークモード CSS変数オーバーライド ---- */
body.dark-mode {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #1e293b;
  --bg-alt: #334155;
  --bg-header: #0f172a;
  --bg-footer: #020617;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-white: #ffffff;
  --border-light: rgba(148, 163, 184, 0.15);
  --border-lighter: rgba(148, 163, 184, 0.08);
  --border-card: rgba(148, 163, 184, 0.1);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #c4c4d4; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-teal); }

/* ============================================
   HEADER
   ============================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 20px rgba(0,0,0,0.03);
  transition: background 0.3s, box-shadow 0.3s;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}
.logo-icon { font-size: 28px; }
.logo h1 {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 1px;
}
.logo-accent {
  color: var(--accent-teal);
}

/* ---- Header Search ---- */
.header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0 16px;
  transition: var(--transition);
}
.header-search:focus-within {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
  background: var(--bg-secondary);
}
.header-search .search-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.header-search input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 14px;
  padding: 10px 12px;
  outline: none;
  font-family: var(--font-jp);
}
.header-search input::placeholder { color: var(--text-muted); }

/* ---- Search Results Dropdown ---- */
.header-search-results {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  overflow-y: auto;
  z-index: 200;
}
.header-search-results.active { display: block; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  border-bottom: 1px solid var(--border-lighter);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--accent-teal-bg); }
.search-result-icon { font-size: 24px; flex-shrink: 0; }
.search-result-name { font-size: 14px; font-weight: 600; }
.search-result-count { font-size: 12px; color: var(--text-muted); margin-left: auto; }
.search-result-heading {
  padding: 9px 16px 6px;
  color: var(--accent-teal);
  background: var(--bg-tertiary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.search-result-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}
.search-result-copy .search-result-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-result-game {
  color: var(--accent-teal);
  font-size: 11px;
  font-weight: 700;
}
.search-result-loading,
.search-result-empty {
  padding: 16px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

/* ---- Header Buttons ---- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn-header-outline {
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-header-outline:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}
.btn-header-primary {
  padding: 8px 16px;
  background: var(--gradient-teal);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-header-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-header-link {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-teal);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-header-link:hover { color: var(--accent-teal-light); }

/* ---- Mobile Menu ---- */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 12px 24px;
}
.mobile-menu.active { display: block; }
.mobile-menu-item {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-lighter);
  transition: var(--transition-fast);
}
.mobile-menu-item:last-child { border-bottom: none; }
.mobile-menu-item:hover { color: var(--accent-teal); }

/* ============================================
   TICKER BAR（お知らせ）
   ============================================ */
.ticker-bar {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  height: 40px;
}

/* プラットフォーム別ブラウズページへの常設導線 */
.platform-browse-nav {
  background: var(--bg-secondary, #f8fafc);
  border-bottom: 1px solid var(--border-light, #e2e8f0);
}
.platform-browse-nav-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 42px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.platform-browse-nav-label {
  color: var(--text-muted, #64748b);
  font-size: 12px;
  font-weight: 800;
  margin-right: 4px;
  white-space: nowrap;
}
.platform-browse-nav a {
  color: var(--text-primary, #1e293b);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.platform-browse-nav a:hover,
.platform-browse-nav a:focus-visible {
  background: #ccfbf1;
  color: #0f766e;
  outline: none;
}
@media (max-width: 640px) {
  .platform-browse-nav-inner {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .platform-browse-nav-inner::-webkit-scrollbar { display: none; }
  .platform-browse-nav-label { font-size: 11px; }
  .platform-browse-nav a { font-size: 12px; padding: 6px 8px; }
}
.ticker-label {
  flex-shrink: 0;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-teal);
  border-right: 1px solid var(--border-light);
  height: 100%;
  display: flex;
  align-items: center;
}
.ticker-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}
.ticker-track span {
  font-size: 13px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   HERO BANNER
   ============================================ */
#hero-banner {
  position: relative;
  overflow: hidden;
  height: 320px;
}
.banner-slider { position: relative; height: 100%; }
.banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.banner-slide.active { opacity: 1; z-index: 1; }
.banner-bg { position: absolute; inset: 0; }
.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-white);
  padding: 0 24px;
  max-width: 700px;
}
.banner-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.banner-content h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.banner-content p {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 20px;
}
.banner-stats-row {
  display: flex;
  justify-content: center;
  gap: 32px;
}
.banner-stat { text-align: center; }
.banner-stat-num {
  display: block;
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 800;
}
.banner-stat span:last-child {
  font-size: 12px;
  opacity: 0.8;
}

/* Banner Dots */
.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.banner-dot.active {
  background: var(--text-white);
  width: 28px;
  border-radius: 5px;
}

/* Banner Arrows */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(5px);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-arrow:hover { background: rgba(255,255,255,0.4); }
.banner-prev { left: 16px; }
.banner-next { right: 16px; }

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 40px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}
.section-title.center { text-align: center; width: 100%; }
.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 20px;
}
.section-subtitle.center { text-align: center; }
.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-teal);
  transition: var(--transition);
}
.section-link:hover { color: var(--accent-teal-light); }

/* ============================================
   RANKING（GamePlatform / rmt.club 風）
   ============================================ */
.ranking-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  padding: 3px;
}
.ranking-tab {
  padding: 8px 20px;
  border: none;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-jp);
}
.ranking-tab.active {
  background: var(--accent-teal);
  color: var(--text-white);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}
.ranking-tab:hover:not(.active) {
  color: var(--accent-teal);
}

.ranking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.ranking-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-lighter);
  cursor: pointer;
  transition: var(--transition-fast);
  color: inherit;
  text-decoration: none;
}
.ranking-item:nth-child(odd) {
  border-right: 1px solid var(--border-lighter);
}
.ranking-item:nth-last-child(1),
.ranking-item:nth-last-child(2) {
  border-bottom: none;
}
.ranking-item:hover {
  background: var(--accent-teal-bg);
}
.ranking-number {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.ranking-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ranking-icon .game-icon-box--pc {
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  border: 1px solid var(--border-light, rgba(0,0,0,0.08)) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
  padding: 4px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}
.ranking-icon .game-icon-image--pc {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
  display: block !important;
  background-color: transparent !important;
}
.ranking-icon .game-icon-image:not(.game-icon-image--pc) {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
}
.ranking-info { flex: 1; min-width: 0; }
.ranking-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ranking-count {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   GAME CATEGORY — GamePlatform風レイアウト
   ============================================ */

/* --- 2カラムレイアウト --- */
.gt-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* --- 左サイドバー --- */
.gt-sidebar {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gt-sidebar-section {
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
}
.gt-sidebar-section:last-child { border-bottom: none; }
.gt-sidebar-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gt-sidebar-title::before {
  content: '';
  width: 3px;
  height: 16px;
  background: var(--accent-teal);
  border-radius: 2px;
}

/* ジャンルメニュー */
.gt-genre-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gt-genre-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.gt-genre-item:hover {
  background: var(--accent-teal-bg);
  color: var(--accent-teal);
}
.gt-genre-item.active {
  background: var(--accent-teal-bg);
  color: var(--accent-teal);
  font-weight: 700;
}
.gt-genre-item::after {
  content: '›';
  font-size: 16px;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.gt-genre-item:hover::after,
.gt-genre-item.active::after { color: var(--accent-teal); }

/* 検索ボックス（サイドバー内） */
.gt-sidebar-search {
  position: relative;
}
.gt-sidebar-search input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  background: var(--bg-alt);
  color: var(--text-primary);
  font-family: var(--font-jp);
  transition: var(--transition);
  box-sizing: border-box;
}
.gt-sidebar-search input:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
.gt-sidebar-search svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

/* --- 右メインエリア --- */
.gt-main {
  flex: 1;
  min-width: 0;
}

/* --- 50音タブ --- */
.gt-gojuon-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.gt-gojuon-tab {
  padding: 6px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--bg-alt);
  color: var(--text-secondary);
  font-family: var(--font-jp);
  min-width: 36px;
  text-align: center;
}
.gt-gojuon-tab:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  background: var(--accent-teal-bg);
}
.gt-gojuon-tab.active {
  background: var(--accent-teal);
  color: var(--text-white);
  border-color: var(--accent-teal);
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.3);
}

/* --- セクションヘッダー --- */
.gt-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text-primary);
}
.gt-section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}
.gt-game-total {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- ゲームカードグリッド（GamePlatform風：レスポンシブ自動整列） --- */
.gt-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}
@media (max-width: 640px) {
  .gt-game-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .gt-game-card {
    padding: 10px 4px 8px;
  }
  .gt-game-card-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 6px;
    border-radius: 12px;
  }
  .gt-game-card-name {
    font-size: 11px;
    margin-bottom: 2px;
  }
}
.gt-game-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 8px 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  color: inherit;
  text-decoration: none;
}
.gt-game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent-teal);
}
.gt-game-card-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 10px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 4px;
}
.gt-game-card-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain !important;
}
.gt-game-card--pc {
  padding: 10px 8px 12px !important;
  background: #ffffff !important;
  border-radius: 14px !important;
}
.gt-game-card-icon--pc {
  width: 76px !important;
  height: 76px !important;
  max-width: 76px !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 auto 8px !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  border: 1px solid var(--border-light, rgba(0,0,0,0.08)) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  padding: 8px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.gt-game-card-icon--pc .game-icon-box--pc {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.gt-game-card-icon--pc img,
.gt-game-card-icon--pc .game-icon-image--pc {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
  display: block !important;
}
.gt-game-card-icon--pc .game-icon-placeholder {
  display: none !important;
}
.game-icon-missing--pc {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: transparent;
}
.gt-game-card-icon .emoji-fallback {
  font-size: 36px;
}
.gt-game-card-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 31px;
}
.gt-game-card-count {
  font-size: 11px;
  color: var(--accent-teal);
  font-weight: 600;
}
.gt-game-card .gt-new-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--accent-red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* --- 人気ゲーム横スクロール（2段デュアルレーン 無限自動マーキー） --- */
.gt-popular-scroll {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 6px 0 10px;
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.gt-popular-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: gtMarqueeScroll 45s linear infinite;
  will-change: transform;
}

.gt-popular-track-reverse {
  animation: gtMarqueeScrollReverse 48s linear infinite;
}

.gt-popular-track:hover {
  animation-play-state: paused;
}

@keyframes gtMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes gtMarqueeScrollReverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gt-popular-track {
    animation: none;
  }
  .gt-popular-scroll {
    overflow-x: auto;
  }
}

.gt-popular-card {
  flex-shrink: 0;
  width: 90px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  color: inherit;
  text-decoration: none;
}
.gt-popular-card:hover {
  transform: translateY(-4px) scale(1.05);
}
.gt-popular-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 8px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  background: transparent;
}
.gt-popular-card-icon img:not(.game-icon-image--pc) {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  padding: 0 !important;
  border-radius: 18px !important;
  display: block;
}
.gt-popular-card-icon--pc,
.gt-popular-card--pc .gt-popular-card-icon {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  border: 1px solid var(--border-light, rgba(0,0,0,0.08)) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  padding: 8px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.gt-popular-card-icon--pc .game-icon-box--pc {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.gt-popular-card-icon--pc img,
.gt-popular-card--pc .gt-popular-card-icon img,
.gt-popular-card-icon img.game-icon-image--pc {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
  display: block !important;
}
.gt-popular-card-icon .game-icon-placeholder,
.gt-popular-card-icon .game-icon-missing {
  width: 100% !important;
  height: 100% !important;
  border-radius: 18px !important;
}
.gt-popular-card-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* --- 新着スマホゲーム --- */
.gt-new-games-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.gt-new-games-scroll::-webkit-scrollbar { height: 4px; }
.gt-new-games-scroll::-webkit-scrollbar-thumb {
  background: var(--accent-yellow);
  border-radius: 4px;
}

/* --- 注目ゲームバッジ --- */
.gt-featured-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.gt-featured-label {
  background: var(--accent-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}
.gt-featured-game {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}
.gt-featured-game:hover {
  color: var(--accent-teal);
}
.gt-featured-game::before {
  content: '▶︎';
  margin-right: 2px;
  font-size: 10px;
}

/* --- レスポンシブ --- */
@media (max-width: 1024px) {
  .gt-game-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .gt-layout {
    flex-direction: column;
  }
  .gt-sidebar {
    width: 100%;
    position: static;
  }
  .gt-game-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .gt-game-card { padding: 12px 6px 10px; }
  .gt-game-card-icon { width: 68px; height: 68px; border-radius: 14px; }
  .gt-game-card-icon--pc { width: 68px !important; height: 68px !important; border-radius: 14px !important; padding: 7px !important; aspect-ratio: 1 / 1 !important; }
  .gt-game-card-icon--pc img,
  .gt-game-card-icon--pc .game-icon-placeholder { width: 100% !important; height: 100% !important; }
  .gt-game-card-name { font-size: 11px; min-height: 28px; }
  .gt-gojuon-tab { padding: 5px 8px; font-size: 12px; min-width: 28px; }
  .gt-popular-card { width: 80px; }
  .gt-popular-card-icon { width: 60px; height: 60px; border-radius: 14px; }
  .gt-popular-card-icon--pc { width: 60px !important; height: 60px !important; padding: 6px !important; }
}
@media (max-width: 480px) {
  .gt-game-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .gt-game-card-icon { width: 58px; height: 58px; }
  .gt-game-card-icon--pc { width: 58px !important; height: 58px !important; border-radius: 12px !important; padding: 6px !important; aspect-ratio: 1 / 1 !important; }
  .gt-game-card-icon--pc img,
  .gt-game-card-icon--pc .game-icon-placeholder { width: 100% !important; height: 100% !important; }
}

/* 既存カテゴリ互換（非表示） */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.category-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.category-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-teal);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent-teal);
}
.category-card:hover::after { transform: scaleX(1); }
.category-card-icon { font-size: 36px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; min-height: 48px; }
.category-card-icon img { display: block; margin: 0 auto; }
.category-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.category-card-count {
  font-size: 11px;
  color: var(--text-muted);
}

/* ============================================
   CONTROLS
   ============================================ */
.controls-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.listing-type-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
}
.listing-type-tab {
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}
.listing-type-tab:hover {
  color: var(--accent-teal);
  background: rgba(13, 148, 136, 0.08);
}
.listing-type-tab.active {
  color: #fff;
  background: var(--accent-teal);
  border-color: var(--accent-teal);
  box-shadow: 0 3px 10px rgba(13, 148, 136, 0.22);
}
.listing-type-tab:focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.25);
  outline-offset: 2px;
}
.card-tag.grouped-plan {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}
.controls-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.control-group select {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  cursor: pointer;
  font-family: var(--font-jp);
  transition: var(--transition);
}
.control-group select:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
.btn-reset-light {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-jp);
  font-weight: 600;
}
.btn-reset-light:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

/* ============================================
   LISTINGS GRID
   ============================================ */
#listings {
  padding: 20px 0 40px;
}
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* ---- Product Card ---- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(13, 148, 136, 0.15), 0 4px 12px rgba(0,0,0,0.08);
  border-color: var(--accent-teal);
}
.card-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(transparent, rgba(255,255,255,0.6));
}
.card-image-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0f2fe, #f0fdf4);
  font-size: 48px;
  position: relative;
}
.card-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(5px);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
}
.card-fav-btn:hover { background: white; color: var(--accent-red); transform: scale(1.1); }
.card-fav-btn.active { color: var(--accent-red); background: #fff0f0; }
.card-game-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(5px);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
.card-body { padding: 14px 16px; }
.card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.card-tag {
  background: var(--accent-teal-bg);
  color: var(--accent-teal);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.card-tag.rank { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.card-tag.stones { background: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-lighter);
}
.card-price {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-red);
}
.card-price small { font-size: 14px; }
.btn-detail {
  background: var(--accent-teal-bg);
  border: none;
  color: var(--accent-teal);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-jp);
}
.btn-detail:hover { background: var(--accent-teal); color: white; }

/* ---- Keyword Tag Buttons (GamePlatform Style) ---- */
.gt-keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.gt-keyword-tags[hidden] { display: none; }
.gt-sidebar-section[hidden] { display: none; }
.gt-keyword-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--border-lighter, #e8edf3);
  border-radius: 8px;
  background: var(--bg-alt, #f8fafc);
  color: var(--text-muted, #64748b);
  font-size: 11px;
  line-height: 1.55;
}
.gt-keyword-hint[hidden] { display: none; }
.gt-keyword-hint-mark {
  display: inline-flex;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent-teal, #0d9488);
  color: #fff;
  font-family: var(--font-num, sans-serif);
  font-size: 11px;
  font-weight: 800;
}
.gt-keyword-context {
  flex: 0 0 100%;
  margin-bottom: 2px;
  color: var(--text-muted, #64748b);
  font-size: 11px;
  font-weight: 700;
}
.gt-tag-btn {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-light, #e2e8f0);
  color: var(--text-secondary, #475569);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-jp, inherit);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.gt-tag-btn:hover {
  background: var(--accent-teal-bg, #ccfbf1);
  color: var(--accent-teal, #0d9488);
  border-color: var(--accent-teal, #0d9488);
  transform: translateY(-1px);
}
.gt-tag-btn.active {
  background: var(--accent-teal, #0d9488);
  color: #ffffff;
  border-color: var(--accent-teal, #0d9488);
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.3);
}
.gt-tag-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--bg-soft, #f1f5f9);
  color: var(--text-muted, #64748b);
  font-size: 10px;
  line-height: 1;
}
.gt-tag-btn.active .gt-tag-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.sale-pulse-badge {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  animation: pulseBadge 2s infinite;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}
@keyframes pulseBadge { 0%,100%{opacity:1} 50%{opacity:0.7} }

/* ============================================
   TIMELINE（GameClub風取引実績）
   ============================================ */
.timeline-container {
  display: grid;
  gap: 12px;
}
.timeline-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.timeline-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-teal);
}
.timeline-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.timeline-info { flex: 1; min-width: 0; }
.timeline-game {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.timeline-type {
  font-size: 12px;
  color: var(--text-muted);
}
.timeline-price {
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-red);
  flex-shrink: 0;
}
.timeline-time {
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
  text-align: right;
}
.timeline-progress {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.timeline-progress-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--border-light);
  flex: 1;
  overflow: hidden;
}
.timeline-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--gradient-teal);
  transition: width 1s ease;
}
.timeline-status {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.timeline-status.completed {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}
.timeline-status.in-progress {
  background: var(--accent-yellow-bg);
  color: #d97706;
}

/* ============================================
   TRUST SECTION（Eldorado風）
   ============================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.trust-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent-teal);
}
.trust-icon {
  font-size: 40px;
  margin-bottom: 14px;
}
.trust-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.trust-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   LOADING & EMPTY
   ============================================ */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  color: var(--text-muted);
}
.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border-light);
  border-top-color: var(--accent-teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Skeleton Cards (骨組み表示) ---- */
.listings-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  width: 100%;
}
.listing-skeleton-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.skeleton-shimmer {
  background: linear-gradient(90deg, var(--bg-alt) 25%, rgba(255,255,255,0.15) 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s infinite;
  border-radius: 6px;
}
@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-img {
  width: 100%;
  height: 140px;
  margin-bottom: 12px;
  border-radius: 8px;
}
.skeleton-title {
  width: 80%;
  height: 16px;
  margin-bottom: 8px;
}
.skeleton-subtitle {
  width: 50%;
  height: 14px;
  margin-bottom: 12px;
}
.skeleton-price {
  width: 40%;
  height: 20px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-icon { font-size: 48px; display: block; margin-bottom: 16px; }

/* ============================================
   MODALS
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
}
.modal-content {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--border-light); color: var(--text-primary); }

/* ---- Detail Modal ---- */
.modal-image {
  width: 100%;
  height: 280px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--bg-alt);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.game-icon-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 22%;
  background: linear-gradient(145deg, #e7eef3, #d8e2e8);
  color: #64748b;
  font: 700 11px/1 system-ui, sans-serif;
  letter-spacing: .04em;
  border: 1px solid rgba(100, 116, 139, .16);
}

.game-icon-placeholder-large {
  width: 72px;
  height: 72px;
  font-size: 15px;
}

.game-icon-placeholder-modal {
  width: 120px;
  height: 120px;
  font-size: 22px;
  border-radius: 24px;
}

.listing-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.modal-info { padding: 24px; }
.modal-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text-primary);
}
.modal-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
  white-space: pre-wrap;
}
.modal-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.modal-stat {
  background: var(--accent-teal-bg);
  color: var(--accent-teal);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
}
.modal-price-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.modal-price {
  font-family: var(--font-num);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-red);
}
.modal-price small { font-size: 16px; }
.modal-actions { display: flex; gap: 10px; }
.btn-inquiry {
  background: var(--gradient-teal);
  border: none;
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-jp);
}
.btn-inquiry:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(13,148,136,0.3); }
.btn-fav-modal {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
}
.btn-fav-modal:hover { border-color: var(--accent-red); color: var(--accent-red); }
.btn-fav-modal.active { background: #fff0f0; border-color: var(--accent-red); color: var(--accent-red); }

/* ---- Inquiry Modal ---- */
.inquiry-modal-content { max-width: 500px; }
.inquiry-form-container { padding: 24px; }
.inquiry-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.inquiry-item-info {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding: 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-group .required { color: var(--accent-red); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-jp);
  color: var(--text-primary);
  background: var(--bg-secondary);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
.btn-submit-inquiry {
  width: 100%;
  padding: 14px;
  background: var(--gradient-teal);
  border: none;
  border-radius: var(--radius-md);
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-jp);
}
.btn-submit-inquiry:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13,148,136,0.3);
}

/* ============================================
   FAB（フローティング出品ボタン）
   ============================================ */
.fab-button {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-red);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
  transition: var(--transition);
  font-family: var(--font-jp);
  animation: fabPulse 3s infinite;
}
.fab-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.5);
}
.fab-icon {
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(239, 68, 68, 0.6); }
}

/* ============================================
   TOAST
   ============================================ */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--accent-teal);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  color: var(--text-primary);
  font-size: 13px;
  box-shadow: var(--shadow-lg);
  animation: toastSlideIn 0.4s ease-out;
  max-width: 360px;
}
.toast.price-drop { border-color: var(--accent-red); }
.toast.removed { border-color: var(--accent-yellow); }
@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================
   FOOTER
   ============================================ */
#site-footer {
  background: var(--bg-footer);
  color: #94a3b8;
  padding: 48px 24px 24px;
  margin-top: 0;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-logo-block {
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}
.footer-logo-block .logo-accent { color: var(--accent-teal); }
.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #94a3b8;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: #94a3b8;
  transition: var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--accent-teal); }
.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.payment-badge {
  font-size: 12px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: #94a3b8;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: #64748b;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .header-actions { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-search { max-width: 260px; }

  #hero-banner { height: 260px; }
  .banner-content h2 { font-size: 22px; }
  .banner-stats-row { gap: 16px; }
  .banner-stat-num { font-size: 22px; }
  .banner-arrow { display: none; }

  .ranking-grid { grid-template-columns: 1fr; }
  .ranking-item:nth-child(odd) { border-right: none; }

  .category-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
  .category-card { padding: 14px 8px; }
  .category-card-icon { font-size: 28px; }
  .category-card-name { font-size: 12px; }

  .controls-header { flex-direction: column; align-items: stretch; }
  .listing-type-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .listing-type-tab { padding-inline: 8px; }
  .controls-row { flex-direction: column; }

  .listings-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }

  .trust-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .fab-button {
    padding: 12px 16px;
    font-size: 14px;
    bottom: 20px;
    right: 20px;
  }
  .fab-label { display: none; }
  .fab-icon { font-size: 24px; }

  .modal-content { max-height: 95vh; }
  .section-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .header-search { max-width: 180px; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline-item { flex-wrap: wrap; gap: 8px; }
  .timeline-price { order: 3; width: 100%; text-align: left; }
}

/* ============================================
   画像カルーセル・ギャラリー
   ============================================ */

/* カード上の画像枚数バッジ */
.card-image-count {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

/* モーダル内ギャラリー */
.modal-gallery {
  width: 100%;
}

.modal-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: #181825;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.modal-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* カルーセルナビゲーションボタン */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.gallery-nav:hover { background: rgba(0,0,0,0.75); }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

/* 画像カウンター */
.gallery-counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
}

/* サムネイル一覧 */
.modal-gallery-thumbs {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  overflow-x: auto;
  background: var(--bg-alt);
  -webkit-overflow-scrolling: touch;
}
.modal-gallery-thumbs::-webkit-scrollbar { height: 4px; }
.modal-gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 2px;
}

.gallery-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s;
  flex-shrink: 0;
}
.gallery-thumb:hover { opacity: 0.85; }
.gallery-thumb.active {
  border-color: var(--accent-teal);
  opacity: 1;
}

/* ============================================
   MOBILE RESPONSIVE — タブレット (768px以下)
   ============================================ */
@media (max-width: 768px) {
  /* ヘッダー */
  .header-inner { padding: 8px 12px; gap: 8px; height: 56px; }
  .header-search { max-width: none; flex: 1; }
  .header-search input { font-size: 13px; padding: 8px 12px; }
  .header-actions { gap: 4px; }
  #watchlist-btn { padding: 6px 10px; font-size: 12px; }
  .mobile-menu-btn { display: flex !important; }
  .logo h1 { font-size: 18px; }
  .logo-icon { font-size: 22px; }

  /* ティッカー非表示 */
  .ticker-bar { display: none; }

  /* バナー */
  #hero-banner { height: 220px; }
  .banner-content h2 { font-size: 22px !important; }
  .banner-content p { font-size: 13px; }
  .banner-stats-row { gap: 16px; }
  .banner-stat-num { font-size: 22px; }
  .banner-badge { font-size: 11px; padding: 4px 12px; }
  .banner-arrow { width: 32px; height: 32px; font-size: 18px; }

  /* モバイル画面幅はみ出し徹底防止 */
  html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* セクション */
  .section { padding: 20px 0; }
  .section-inner { padding: 0 12px; max-width: 100vw; box-sizing: border-box; }
  .section-title { font-size: 17px; }

  /* ランキング：スマホ表示で2列カード並び */
  .ranking-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .ranking-item {
    padding: 8px 10px !important;
    border-right: none !important;
  }
  .ranking-tabs { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }

  /* カテゴリ横スクロール */
  .category-grid {
    display: flex !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 10px !important;
    padding-bottom: 8px;
  }
  .category-card {
    min-width: 120px;
    max-width: 140px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* コントロール（フィルター） */
  .controls-header { flex-direction: column; gap: 8px; }
  .controls-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .control-group { width: 100%; }
  .control-group select { width: 100%; font-size: 13px; padding: 10px 12px; }
  .btn-reset-light { width: 100%; text-align: center; padding: 10px; }

  /* 商品カード2列 */
  .listings-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .card-image, .card-image-placeholder { height: 140px; }
  .card-body { padding: 10px 12px; }
  .card-title { font-size: 12px !important; -webkit-line-clamp: 1; margin-bottom: 4px; }
  .card-tags { gap: 3px; margin-bottom: 8px; }
  .card-tag { font-size: 9px; padding: 2px 5px; }
  .card-price { font-size: 18px !important; }
  .card-price small { font-size: 12px; }
  .card-footer { padding-top: 8px; }
  .btn-detail { font-size: 11px; padding: 5px 10px; }
  .card-game-badge { font-size: 10px; padding: 3px 7px; }
  .card-fav-btn { width: 30px; height: 30px; font-size: 14px; }
  .card-image-count { font-size: 10px; }

  /* モーダル */
  .modal-content {
    width: 95vw !important;
    max-width: 95vw !important;
    max-height: 90vh !important;
    margin: 5vh auto !important;
    border-radius: 16px !important;
  }
  .modal-gallery-main { height: 280px !important; }
  .modal-gallery-thumbs { padding: 8px; }
  .gallery-thumb { width: 48px !important; height: 48px !important; }
  .modal-info { padding: 16px !important; }
  .modal-title { font-size: 16px; }
  .modal-price { font-size: 24px; }
  .modal-actions { flex-wrap: wrap; gap: 6px; }
  .btn-negotiate { font-size: 12px; padding: 8px 14px; }
  .btn-inquiry { font-size: 12px; padding: 8px 14px; }
  .inquiry-modal-content { width: 95vw !important; max-width: 95vw !important; }

  /* フッター */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
  .footer-inner { padding: 30px 16px !important; }
  .footer-payments { flex-wrap: wrap; }
  .footer-col h4 { font-size: 14px; margin-bottom: 8px; }
  .footer-col ul li a { font-size: 13px; }
  .footer-desc { font-size: 12px; }
  .social-badge { padding: 8px 14px; font-size: 12px; }

  /* ボトムナビ用の余白 */
  body { padding-bottom: 64px; }
  footer { margin-bottom: 64px; }

  /* フローティングボタン位置調整 */
  .line-float-btn { bottom: 80px; left: 16px; padding: 8px 14px; font-size: 12px; }
}

/* ============================================
   MOBILE RESPONSIVE — スマホ (480px以下)
   ============================================ */
@media (max-width: 480px) {
  /* ヘッダー */
  .header-inner { padding: 6px 10px; height: 50px; }
  .logo h1 { font-size: 16px; letter-spacing: 0; }
  .logo-icon { font-size: 20px; }
  .header-search { height: 36px; }
  .header-search input { font-size: 12px; padding: 6px 10px; }

  /* バナー */
  #hero-banner { height: 180px; }
  .banner-content h2 { font-size: 18px !important; }
  .banner-content p { font-size: 12px; margin-bottom: 10px; }
  .banner-stats-row { gap: 12px; }
  .banner-stat-num { font-size: 18px; }
  .banner-stat span:last-child { font-size: 10px; }
  .banner-arrow { display: none; }

  /* カテゴリカード */
  .category-card { min-width: 100px; max-width: 120px; padding: 12px 8px; }
  .category-card-icon { font-size: 28px !important; margin-bottom: 4px; }
  .category-card-name { font-size: 11px !important; }
  .category-card-count { font-size: 9px; }

  /* 商品カード */
  .listings-grid { gap: 8px; }
  .card-image, .card-image-placeholder { height: 120px; }
  .card-body { padding: 8px 10px; }
  .card-title { font-size: 11px !important; }
  .card-tag { font-size: 8px; padding: 1px 4px; }
  .card-price { font-size: 16px !important; }
  .card-footer { gap: 4px; }
  .btn-detail { font-size: 10px; padding: 4px 8px; }
  [style*="background:none;border:1px solid"] { display: none; }

  /* モーダル全画面 */
  .modal-content {
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  .modal-gallery-main { height: 220px !important; }
  .modal-close { top: 8px; right: 8px; width: 32px; height: 32px; font-size: 18px; }

  /* フッター */
  .footer-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .footer-bottom { font-size: 10px; }
  .payment-badge { font-size: 11px !important; padding: 4px 8px !important; }

  /* フローティングボタン */
  .line-float-btn {
    bottom: 76px;
    left: 12px;
    padding: 6px 12px;
    font-size: 11px;
    gap: 4px;
  }
  .line-float-label { font-size: 11px; }

  /* ウォッチリスト */
  .watchlist-panel { width: 100vw; max-width: 100vw; }
}

/* ============================================
   BOTTOM NAVIGATION BAR (モバイル専用)
   ============================================ */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  z-index: 9998;
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.bottom-nav.nav-hidden {
  transform: translateY(100%);
}
@media (prefers-reduced-motion: reduce) {
  .bottom-nav { transition-duration: 0.01ms; }
}
.bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-jp);
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item:active { transform: scale(0.9); }
.bottom-nav-item.active { color: var(--accent-teal); }
.bottom-nav-icon { font-size: 22px; line-height: 1; }
.bottom-nav-label { line-height: 1; }
@media (max-width: 768px) {
  .bottom-nav { display: block; }
  /* チャットFAB・LINEフロートをモバイルではボトムナビに統合 */
  .chat-fab, .line-float-btn { display: none !important; }
  #dark-mode-toggle { top: auto; bottom: 76px; right: 12px; width: 36px; height: 36px; font-size: 16px; }
}

/* ============================================
   WATCHLIST PANEL
   ============================================ */
.watchlist-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-secondary);
  box-shadow: -8px 0 40px rgba(0,0,0,0.2);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.watchlist-panel.open { right: 0; }
.watchlist-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 10000;
  display: none;
}
.watchlist-overlay.open { display: block; }
.watchlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}
.watchlist-header h3 { font-size: 18px; font-weight: 800; }
.watchlist-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
}
.watchlist-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.watchlist-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
  font-size: 14px;
}
.watchlist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid var(--border-lighter);
  margin-bottom: 8px;
}
.watchlist-item:hover { background: var(--accent-teal-bg); border-color: var(--accent-teal); }
.watchlist-item-info { flex: 1; min-width: 0; }
.watchlist-item-title {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.watchlist-item-price {
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 800;
  color: var(--accent-red);
}
.watchlist-item-drop {
  font-size: 11px;
  color: #f59e0b;
  font-weight: 600;
}
.watchlist-item-remove {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  flex-shrink: 0;
  transition: var(--transition-fast);
}
.watchlist-item-remove:hover { color: var(--accent-red); }
.watchlist-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
}
.watchlist-clear {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-jp);
  transition: var(--transition);
}
.watchlist-clear:hover { border-color: var(--accent-red); color: var(--accent-red); }

/* ============================================
   FLOATING LINE BUTTON
   ============================================ */
.line-float-btn {
  position: fixed;
  bottom: 96px;
  left: 24px;
  z-index: 9997;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #06c755;
  color: white;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(6, 199, 85, 0.4);
  transition: var(--transition);
}
.line-float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(6, 199, 85, 0.5);
}
.line-float-label { font-size: 13px; }
@media (max-width: 480px) {
  .line-float-btn { bottom: 88px; left: 16px; padding: 8px 14px; font-size: 12px; }
}

/* ============================================
   FOOTER SOCIAL BADGES
   ============================================ */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.social-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}
.social-badge:hover { transform: translateY(-2px); opacity: 0.9; }
.social-line { background: #06c755; }
.social-x { background: #000000; }

/* ============================================
   NEGOTIATION BUTTON
   ============================================ */
.btn-negotiate {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  border: none;
  color: white;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-jp);
}
.btn-negotiate:hover { opacity: 0.9; transform: translateY(-1px); }

/* ============================================
   DISPLAY-ONLY CATALOG MODE
   ============================================ */
.display-only-notice {
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 12px 18px;
  border: 1px solid rgba(13, 148, 136, 0.28);
  border-radius: 10px;
  background: rgba(20, 184, 166, 0.08);
  color: #0f766e;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.display-only-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

body.display-only-mode .time-sale-banner,
body.display-only-mode #trust-section,
body.display-only-mode .recent-feed-section,
body.display-only-mode .testimonials-section,
body.display-only-mode #inquiry-modal,
body.display-only-mode #negotiation-modal,
body.display-only-mode .chat-fab,
body.display-only-mode .chat-panel,
body.display-only-mode .btn-inquiry,
body.display-only-mode .btn-negotiate,
body.display-only-mode .display-only-hidden {
  display: none !important;
}

body.display-only-mode .footer-grid {
  grid-template-columns: minmax(240px, 1.3fr) minmax(220px, 1fr);
}

@media (max-width: 700px) {
  .display-only-notice {
    margin: 12px 12px 0;
    font-size: 12px;
  }

  body.display-only-mode .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   PREMIUM UI EFFECTS
   ============================================ */

/* ---- Scroll Animations ---- */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delays for ranking items */
.scroll-animate[data-delay="1"] { transition-delay: 0.05s; }
.scroll-animate[data-delay="2"] { transition-delay: 0.1s; }
.scroll-animate[data-delay="3"] { transition-delay: 0.15s; }
.scroll-animate[data-delay="4"] { transition-delay: 0.2s; }
.scroll-animate[data-delay="5"] { transition-delay: 0.25s; }
.scroll-animate[data-delay="6"] { transition-delay: 0.3s; }
.scroll-animate[data-delay="7"] { transition-delay: 0.35s; }
.scroll-animate[data-delay="8"] { transition-delay: 0.4s; }

/* ---- TOP3 Medal Effects ---- */
.ranking-item.rank-1 {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.07), rgba(255, 193, 7, 0.02));
}
.ranking-item.rank-2 {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.06), rgba(148, 163, 184, 0.02));
}
.ranking-item.rank-3 {
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.06), rgba(180, 83, 9, 0.02));
}
.ranking-number.top1 {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 15px;
  font-weight: 900;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}
.ranking-number.top2 {
  background: linear-gradient(135deg, #94a3b8, #64748b) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 15px;
  font-weight: 900;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(148, 163, 184, 0.3);
}
.ranking-number.top3 {
  background: linear-gradient(135deg, #b45309, #78350f) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 15px;
  font-weight: 900;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.3);
}

/* ---- Particle Background (Hero) ---- */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(100%) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* ---- Skeleton Loading ---- */
.skeleton {
  background: linear-gradient(90deg, #f0f0f5 25%, #e5e7eb 50%, #f0f0f5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton-card .skeleton-image {
  height: 180px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.skeleton-card .skeleton-text {
  height: 16px;
  margin: 12px 16px 8px;
}
.skeleton-card .skeleton-text-sm {
  height: 12px;
  margin: 0 16px 8px;
  width: 60%;
}
.skeleton-card .skeleton-price {
  height: 24px;
  margin: 12px 16px 16px;
  width: 40%;
}

/* ---- NEW Badge ---- */
.card-badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 6;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  animation: newPulse 2s infinite;
}
@keyframes newPulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 2px 16px rgba(239, 68, 68, 0.7); }
}

/* ---- Ripple Effect ---- */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10);
  opacity: 0;
  transition: transform 0.5s, opacity 0.8s;
}
.ripple:active::after {
  transform: scale(0);
  opacity: 1;
  transition: 0s;
}

/* ---- Trust Section Pulse ---- */
.trust-icon {
  animation: trustPulse 3s ease-in-out infinite;
}
@keyframes trustPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ---- Bottom Nav Active Indicator ---- */
.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 3px;
  background: var(--gradient-teal);
  border-radius: 0 0 3px 3px;
}
.bottom-nav-item {
  position: relative;
}

/* ---- Image Count Badge ---- */
.card-image-count {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.65);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* ============================================
   💎 PREMIUM TRUST STRIP (公式認定安心保証バー)
   ============================================ */
.gv-premium-trust-strip {
  background: linear-gradient(90deg, #090d16 0%, #131b2e 50%, #090d16 100%);
  border-top: 1px solid rgba(99, 102, 241, 0.25);
  border-bottom: 1px solid rgba(99, 102, 241, 0.25);
  padding: 12px 16px;
  position: relative;
  overflow: hidden;
}
.gv-premium-trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.gv-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(129, 140, 248, 0.25);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12.5px;
  color: #cbd5e1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.gv-trust-pill:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
  color: #f8fafc;
}
.gv-trust-pill span {
  font-size: 15px;
}
.gv-trust-pill strong {
  color: #f1f5f9;
  font-weight: 800;
}

/* ============================================
   TIME SALE SECTION
   ============================================ */
.time-sale-banner {
  background: linear-gradient(135deg, #090d16 0%, #1e1028 40%, #2a0818 70%, #0d111c 100%);
  padding: 16px 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(244, 63, 94, 0.35);
  border-bottom: 1px solid rgba(244, 63, 94, 0.35);
  box-shadow: 0 4px 30px rgba(225, 29, 72, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.time-sale-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(244, 63, 94, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.time-sale-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-25deg);
  animation: timeSaleShine 6s infinite;
  pointer-events: none;
}
@keyframes timeSaleShine {
  0% { left: -100%; }
  30%, 100% { left: 200%; }
}
.time-sale-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.time-sale-title {
  font-size: 17px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 0 12px rgba(244, 63, 94, 0.7);
}
.time-sale-countdown {
  display: flex;
  gap: 8px;
}
.countdown-unit {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(244, 63, 94, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 5px 14px;
  border-radius: 10px;
  text-align: center;
  min-width: 54px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.countdown-num {
  font-size: 20px;
  font-weight: 900;
  color: #fb7185;
  text-shadow: 0 0 10px rgba(251, 113, 133, 0.6);
  font-family: 'Inter', monospace;
}
.countdown-label {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  margin-left: 2px;
}
.countdown-num {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 900;
  display: block;
  line-height: 1.2;
}
.countdown-label {
  font-size: 9px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   RECENT TRANSACTIONS FEED
   ============================================ */
.recent-feed-section {
  padding: 32px 0;
  background: var(--bg-alt);
}
.feed-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.feed-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow: hidden;
}
.feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-lighter);
  animation: feedSlideIn 0.5s ease forwards;
  opacity: 0;
  transform: translateX(-20px);
}
@keyframes feedSlideIn {
  to { opacity: 1; transform: translateX(0); }
}
.feed-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.feed-text {
  flex: 1;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.feed-text strong {
  color: var(--text-primary);
  font-weight: 700;
}
.feed-text .feed-price {
  color: var(--accent-red);
  font-weight: 800;
  font-family: var(--font-num);
}
.feed-time {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.feed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  padding: 48px 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.testimonial-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
}
.testimonial-info {
  font-size: 13px;
}
.testimonial-name {
  font-weight: 700;
  color: var(--text-primary);
}
.testimonial-date {
  font-size: 11px;
  color: var(--text-muted);
}

/* ============================================
   DARK MODE HEADER TOGGLE
   ============================================ */
.dark-toggle-header {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  width: 42px;
  height: 24px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
  padding: 0;
  flex-shrink: 0;
}
.dark-toggle-header .toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-teal);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}
.dark-toggle-header.active .toggle-thumb {
  transform: translateX(18px);
  background: #7c3aed;
}

/* ---- Count-up Animation ---- */
.count-up {
  font-variant-numeric: tabular-nums;
}

/* ---- Enhanced Category Card Hover ---- */
.category-card {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

/* ---- Banner Stat Pop ---- */
.banner-stat-num {
  transition: transform 0.3s;
}
.banner-stat:hover .banner-stat-num {
  transform: scale(1.1);
}

/* ---- Responsive for new sections ---- */
@media (max-width: 768px) {
  .time-sale-inner { flex-direction: column; gap: 10px; }
  .time-sale-title { font-size: 15px; }
  .countdown-num { font-size: 18px; }
  .countdown-unit { padding: 4px 10px; min-width: 44px; }
  
  .testimonials-grid { grid-template-columns: 1fr; gap: 12px; padding: 0 16px; }
  .testimonial-card { padding: 18px; }
  
  .feed-item { padding: 10px 12px; gap: 8px; }
  .feed-text { font-size: 12px; }
}


/* ============================================
   🌟 PREMIUM UI ENHANCEMENT v2.0
   ============================================ */
html { scroll-behavior: smooth; }

/* ---- Premium Listing Cards ---- */
.listing-card {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.listing-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
  transition: left 0.6s ease;
  z-index: 1;
  pointer-events: none;
}
.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(99,102,241,0.2);
  border-color: var(--accent-teal);
}
.listing-card:hover::before { left: 100%; }

/* ---- Price Glow ---- */
.listing-price { text-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }

/* ---- Ranking TOP3 Premium ---- */
.ranking-item.rank-1 {
  background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(245,158,11,0.02)) !important;
}
.ranking-item.rank-2 {
  background: linear-gradient(135deg, rgba(156,163,175,0.08), rgba(156,163,175,0.02)) !important;
}
.ranking-item.rank-3 {
  background: linear-gradient(135deg, rgba(180,83,9,0.07), rgba(180,83,9,0.015)) !important;
}
.ranking-number.top1 {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(245,158,11,0.4);
  animation: goldPulse 2s ease-in-out infinite;
}
.ranking-number.top2 {
  background: linear-gradient(135deg, #9ca3af, #6b7280) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 900;
}
.ranking-number.top3 {
  background: linear-gradient(135deg, #b45309, #92400e) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 900;
}
@keyframes goldPulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(245,158,11,0.4); }
  50% { box-shadow: 0 4px 20px rgba(245,158,11,0.7); }
}

/* ---- Category Card Premium ---- */
.category-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 0 0 1px rgba(20,184,166,0.3);
}

/* ---- Buttons Premium ---- */
.btn-inquiry {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-inquiry:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(20,184,166,0.4);
}

/* ---- Section Title Underline ---- */
.section-title { position: relative; display: inline-block; }
.section-title::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 48px; height: 3px;
  background: var(--gradient-teal);
  border-radius: 2px;
}
.section-title.center::after {
  left: 50%; transform: translateX(-50%);
}

/* ---- Footer Premium ---- */
.footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%) !important;
  border-top: 1px solid rgba(148,163,184,0.1);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
}

/* ---- Trust Badges ---- */
.trust-badges {
  display: flex; justify-content: center;
  gap: 16px; padding: 16px 0; flex-wrap: wrap;
}
.trust-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: rgba(255,255,255,0.6);
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.3s, color 0.3s;
}
.trust-badge:hover {
  border-color: var(--accent-teal);
  color: rgba(255,255,255,0.9);
}

/* ---- Stats Premium ---- */
.banner-stat-num {
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s, color 0.3s;
}
.banner-stat:hover .banner-stat-num {
  transform: scale(1.15);
  color: var(--accent-teal);
}

/* ---- Search Premium ---- */
.search-bar:focus-within {
  box-shadow: 0 0 0 2px var(--accent-teal), 0 8px 32px rgba(20,184,166,0.15);
  border-color: var(--accent-teal);
}

/* ---- Modal Premium ---- */
.modal-content {
  animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalSlideIn {
  from { transform: translateY(20px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* ---- Image Zoom on Hover ---- */
.listing-image {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.listing-card:hover .listing-image { transform: scale(1.05); }

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(148,163,184,0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(148,163,184,0.5);
}

/* ---- Time Sale Pulse ---- */
.time-sale {
  animation: timeSalePulse 3s ease-in-out infinite;
}
@keyframes timeSalePulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(245,158,11,0.2); }
  50% { box-shadow: 0 4px 24px rgba(245,158,11,0.4); }
}

/* ---- Dark Mode Enhancements ---- */
.dark-mode .listing-card { border: 1px solid rgba(148,163,184,0.08); }
.dark-mode .listing-card:hover {
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 40px rgba(99,102,241,0.1);
}
.dark-mode .category-card { border: 1px solid rgba(148,163,184,0.08); }
.dark-mode .category-card:hover {
  border-color: rgba(20,184,166,0.4);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3), 0 0 30px rgba(20,184,166,0.08);
}

/* ---- Load More Premium ---- */
.load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,184,166,0.3);
}

/* ---- ゲーム一覧（50音検索）グリッドレイアウト ---- */
#gameGrid,
.gt-game-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
  gap: 14px !important;
}

.gt-game-card {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 18px;
  padding: 14px 8px 10px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.gt-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.gt-game-card-icon:not(.gt-game-card-icon--pc) {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.gt-game-card-icon:not(.gt-game-card-icon--pc) img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  display: block;
}

/* ---- Mobile (スマホ表示最適化: 横4列で余白なくカード幅いっぱいにアイコン最大化) ---- */
@media (max-width: 768px) {
  #gameGrid,
  .gt-game-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
  }
  .gt-game-card, .game-card {
    padding: 6px 3px 6px !important;
    border-radius: 14px !important;
    background: var(--bg-card, #ffffff) !important;
    border: 1px solid var(--border-light, #e5e7eb) !important;
  }
  .gt-game-card-icon, .card-icon {
    width: calc(100% - 4px) !important;
    max-width: 76px !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    border-radius: 16px !important;
    margin: 0 auto 4px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    background: transparent !important;
  }
  .gt-game-card-icon img, .card-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    padding: 0 !important;
    background: transparent !important;
    display: block !important;
  }
  .gt-game-card-icon .game-icon-placeholder,
  .gt-game-card-icon .game-icon-missing {
    width: 100% !important;
    height: 100% !important;
    border-radius: 16px !important;
  }
  .gt-game-card-icon--pc {
    width: calc(100% - 4px) !important;
    max-width: 76px !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    border-radius: 16px !important;
    padding: 7px !important;
    background: #ffffff !important;
  }
  .gt-game-card-name {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    min-height: 26px !important;
    margin-bottom: 2px !important;
    word-break: break-all !important;
  }
  .gt-game-card-count {
    font-size: 10px !important;
    font-weight: 700 !important;
  }
  /* 商品カード一覧のスマホ横2列表示 */
  .listings-grid,
  #listings-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .product-card,
  .listing-card {
    padding: 8px !important;
    border-radius: 14px !important;
  }

  .card-image,
  .card-image-placeholder {
    height: 120px !important;
    border-radius: 10px !important;
  }

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

  .card-title,
  .listing-title {
    font-size: 11px !important;
    line-height: 1.3 !important;
    height: 28px !important;
    margin-bottom: 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

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

  .card-game-badge,
  .listing-card-badge {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }

  .trust-badges { gap: 6px; padding: 12px 12px; }
  .trust-badge { font-size: 9px; padding: 4px 10px; }
  .listing-card:hover { transform: translateY(-3px); }
}

@media (max-width: 380px) {
  #gameGrid,
  .gt-game-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 4px !important;
  }
  .gt-game-card-icon, .card-icon {
    border-radius: 14px !important;
  }
  .gt-game-card-name {
    font-size: 9.5px !important;
  }
}

/* ============================================
   GamePlatform同等 フルスクリーン画像拡大ライトボックス
   ============================================ */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  user-select: none;
}
.lightbox-content {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  object-fit: contain;
  cursor: zoom-out;
  animation: lightboxZoom 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lightboxZoom {
  from { transform: scale(0.88); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #ffffff;
  font-size: 36px;
  font-weight: 300;
  cursor: pointer;
  z-index: 100000;
  transition: transform 0.2s, color 0.2s;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.lightbox-close:hover {
  transform: scale(1.15);
  background: rgba(255,255,255,0.3);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.22);
  color: #ffffff;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.45);
  transform: translateY(-50%) scale(1.12);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  background: rgba(0,0,0,0.65);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* 商品カード＆画像タップ操作性向上スタイル */
.card {
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
.card-image img {
  transition: transform 0.3s ease;
}
.card:hover .card-image img {
  transform: scale(1.04);
}

/* ============================================
   GamePlatform MOBILE UI STYLE ENHANCEMENTS
   ============================================ */
.gt-reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.gt-review-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gt-review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent-teal);
}

.gt-review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.gt-review-stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 14px;
}

.gt-review-text {
  color: var(--text-primary);
}

.gt-review-badge {
  background: #eab308;
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.gt-review-comment {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.gt-review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-light);
  padding-top: 8px;
}

.gt-review-game {
  font-weight: 700;
  color: var(--accent-teal);
}

/* スマホゲーム・PCゲーム一覧へボタン（完全レスポンシブ・はみ出し防止） */
.gt-more-btns-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin: 16px auto 0;
  box-sizing: border-box;
  align-items: stretch;
}

.gt-category-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 14px 20px;
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  color: #ffffff;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  word-break: break-all;
  white-space: normal;
}

.gt-category-more-btn.gt-btn-pc {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.gt-category-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
}

.gt-category-more-btn.gt-btn-pc:hover {
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

.gt-category-more-btn:active {
  transform: scale(0.98);
}

/* ============================================
   サイドバー ＆ フィルターリスト（スマホ2列並び対応）
   ============================================ */
.gt-sidebar-section {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
}

.gt-sidebar-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gt-sidebar-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: #0d9488;
  border-radius: 2px;
}

.gt-genre-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gt-genre-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #f8fafc;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  user-select: none;
}

.gt-genre-item::after {
  content: '›';
  font-size: 16px;
  font-weight: 400;
  color: #94a3b8;
  margin-left: 4px;
}

.gt-genre-item:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.gt-genre-item.active {
  background: #f0fdf4;
  color: #0d9488;
  border-color: #99f6e4;
  font-weight: 800;
}

.gt-genre-item.active::after {
  color: #0d9488;
  font-weight: 700;
}

/* スマホ表示（768px以下）: 「アカウント種別（左）」と「プラットフォーム（右）」を2列カードグリッド配置 */
@media (max-width: 768px) {
  .gt-sidebar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
  }

  .gt-sidebar-section {
    margin-bottom: 0 !important;
    height: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* 検索入力やガイド等の非フィルターセクションは全幅100% */
  .gt-sidebar-section:last-child,
  .gt-sidebar-section#gt-keyword-section {
    grid-column: 1 / -1 !important;
  }

  .gt-genre-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .gt-genre-item {
    padding: 9px 10px !important;
    font-size: 12px !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ============================================
   高度条件検索 ＆ キャラクター・スペック絞り込みパネル
   ============================================ */
.gt-advanced-filter-container {
  width: 100%;
  margin: 12px 0 16px;
}

.gt-advanced-filter-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: all 0.2s ease;
}

.gt-advanced-filter-toggle:hover {
  background: #f1f5f9;
  border-color: #0d9488;
  color: #0d9488;
}

.gt-toggle-arrow {
  font-size: 11px;
  transition: transform 0.2s ease;
  color: #64748b;
}

.gt-toggle-arrow.open {
  transform: rotate(180deg);
  color: #0d9488;
}

.gt-advanced-filter-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  margin-top: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.gt-filter-block {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #e2e8f0;
}
.gt-filter-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.gt-filter-block-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gt-filter-block-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 14px;
  background: #0d9488;
  border-radius: 2px;
}

.gt-filter-input-wrap {
  position: relative;
  width: 100%;
}

.gt-filter-input-wrap input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 38px 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-jp);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}

.gt-filter-input-wrap input:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}

.gt-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
}

.gt-keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.gt-tag-btn {
  padding: 5px 12px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gt-tag-btn:hover {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0284c7;
}

.gt-spec-sub-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-secondary);
  background: #f8fafc;
  padding: 6px 10px;
  border-left: 3px solid #0d9488;
  border-radius: 4px;
  margin-bottom: 8px;
}

.gt-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.gt-radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
}

.gt-radio-group input[type="radio"] {
  accent-color: #0d9488;
  cursor: pointer;
}

/* ============================================
   GamePlatform完全再現 UI (メインタブ, アクション行, 絞り込みモーダル)
   ============================================ */

/* アカウント / 代行 2大タブ */
.gt-main-category-tabs {
  display: flex;
  width: 100%;
  border-bottom: 2px solid #1e293b;
  margin-bottom: 12px;
}

.gt-main-tab {
  flex: 1;
  padding: 12px 16px;
  background: #ffffff;
  color: #334155;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 800;
  border: 1px solid #cbd5e1;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.gt-main-tab.active {
  background: #1e293b;
  color: #ffffff;
  border-color: #1e293b;
}

.gt-tab-count {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
}

/* おすすめ▼ ドロップダウン & 🎛️ 絞り込み ボタン */
.gt-control-actions-row {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

.gt-sort-select-wrap {
  flex: 1;
}

.gt-sort-select-wrap select {
  width: 100%;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  outline: none;
  cursor: pointer;
}

.gt-filter-modal-open-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.gt-filter-modal-open-btn:hover {
  background: #f8fafc;
  border-color: #0d9488;
  color: #0d9488;
}

/* 人気キーワードタグチップ群 (🏷️ ガチャ限運極...) */
.gt-keyword-tags-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.gt-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gt-tag-chip:hover {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0284c7;
}

/* ☑️ 本人確認済みの商品のみを表示する 行 */
.gt-verified-only-bar {
  width: 100%;
  margin-top: 14px;
  padding: 12px 16px;
  background: #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gt-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
}

/* 🎛️ 絞り込みモーダルダイアログ */
.gt-filter-dialog-content {
  position: relative;
  width: 90vw;
  max-width: 520px;
  max-height: 85vh;
  margin: 7vh auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1001;
}

.gt-filter-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

.gt-filter-dialog-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.gt-filter-dialog-close {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gt-filter-dialog-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.gt-filter-dialog-group {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e2e8f0;
}
.gt-filter-dialog-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.gt-filter-dialog-label {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.gt-filter-dialog-input-wrap {
  position: relative;
  width: 100%;
}

.gt-filter-dialog-input-wrap input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 38px 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-jp);
  font-size: 14px;
  outline: none;
}

.gt-filter-dialog-input-wrap input:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}

.gt-dialog-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #94a3b8;
}

.gt-filter-dialog-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gt-filter-dialog-price-row input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.gt-filter-dialog-footer {
  padding: 16px 20px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

.gt-filter-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: #ffffff;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 800;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(13,148,136,0.3);
  transition: transform 0.2s ease;
}

.gt-filter-submit-btn:active {
  transform: scale(0.98);
}

/* ============================================
   GameClub (ゲームクラブ) 完全再現 UI スタイル
   ============================================ */

/* 1. 3大タブ ([フリマ販売] [アカウント買取] [アカウント査定]) */
.gc-top-service-tabs {
  display: flex;
  width: 100%;
  background: #f1f5f9;
  border-bottom: 2px solid #e2e8f0;
}

.gc-top-tab {
  flex: 1;
  padding: 12px 6px;
  background: #f1f5f9;
  border: none;
  border-bottom: 3px solid transparent;
  color: #64748b;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gc-top-tab.active {
  background: #ffffff;
  color: #0f172a;
  border-bottom-color: #2563eb;
}

/* 2. 丸アイコン 4大カテゴリフィルター */
.gc-circle-category-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 16px 8px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.gc-circle-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.65;
  transition: all 0.2s ease;
}

.gc-circle-btn.active, .gc-circle-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.gc-circle-btn.active .gc-circle-icon {
  box-shadow: 0 0 0 3px var(--bg-primary, #0f172a), 0 0 0 5px var(--accent-teal, #00f5a0), 0 6px 16px rgba(0, 245, 160, 0.4);
  transform: scale(1.05);
}

.gc-circle-btn.active .gc-circle-label {
  color: var(--accent-teal, #00f5a0);
  font-weight: 800;
}

/* 絞り込み件数サマリーバッジ */
.gc-filter-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  margin: 10px 0 6px;
  background: var(--bg-alt, rgba(30, 41, 59, 0.6));
  border: 1px solid var(--border-light, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-sm, 10px);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary, #94a3b8);
  transition: all 0.2s ease;
}

.gc-filter-summary-row strong {
  color: var(--accent-teal, #00f5a0);
  font-size: 15px;
  font-weight: 800;
  margin: 0 2px;
}

.gc-total-stock-label {
  font-size: 12px;
  color: var(--text-muted, #64748b);
}

.gc-circle-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.gc-circle-icon.bg-red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.gc-circle-icon.bg-purple { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.gc-circle-icon.bg-indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.gc-circle-icon.bg-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.gc-circle-icon.bg-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.gc-circle-icon.bg-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }

.gc-circle-label {
  font-size: 12px;
  font-weight: 800;
  color: #1e293b;
  text-align: center;
  line-height: 1.2;
}

/* 3. アクションコントロール行 (絞り込み / 最新出品順 / チェックボックス) */
.gc-action-controls-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

@media (min-width: 640px) {
  .gc-action-controls-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.gc-action-btns {
  display: flex;
  gap: 8px;
  flex: 1;
}

.gc-btn-filter, .gc-btn-sort {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.gc-btn-filter:hover, .gc-btn-sort:hover {
  background: #f8fafc;
  border-color: #2563eb;
}

.gc-arrow-down {
  font-size: 10px;
  color: #64748b;
}

.gc-checkbox-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gc-chk-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
}

.gc-chk-item input[type="checkbox"] {
  accent-color: #2563eb;
}

/* 4. 🔥 注目のキーワード (エメラルドカプセルタグ) */
.gc-hot-keywords-bar {
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.gc-hot-title {
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
  display: block;
  margin-bottom: 8px;
}

.gc-hot-tags-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gc-tag-capsule {
  padding: 6px 16px;
  background: #2dd4bf;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(45,212,191,0.3);
  transition: all 0.2s ease;
}

.gc-tag-capsule:hover {
  background: #14b8a6;
  transform: translateY(-1px);
}

/* 5. ⇅ 並び替えポップアップモーダル (写真2再現) */
.gc-sort-dialog-content {
  position: relative;
  width: 85vw;
  max-width: 380px;
  margin: 15vh auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  padding: 12px 0;
  overflow: hidden;
  z-index: 1002;
}

.gc-sort-list {
  display: flex;
  flex-direction: column;
}

.gc-sort-item {
  width: 100%;
  padding: 14px 24px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.gc-sort-item:last-child {
  border-bottom: none;
}

.gc-sort-item.active {
  color: #0f172a;
  font-weight: 900;
  background: #f1f5f9;
}

.gc-sort-item:hover {
  background: #f8fafc;
}

/* 6. 🎛️ 絞り込み検索モーダル (写真3再現) */
.gc-filter-dialog-content {
  position: relative;
  width: 92vw;
  max-width: 480px;
  max-height: 88vh;
  margin: 6vh auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1002;
}

.gc-filter-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #334155;
  color: #ffffff;
}

.gc-filter-header-title {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.gc-filter-header-close {
  width: 28px;
  height: 28px;
  background: #ef4444;
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gc-filter-dialog-body {
  padding: 18px;
  overflow-y: auto;
  flex: 1;
}

.gc-filter-field {
  margin-bottom: 18px;
}

.gc-field-label {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gc-badge-req {
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.gc-input-text {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-jp);
  font-size: 14px;
  outline: none;
}

.gc-toggle-btns {
  display: flex;
  gap: 8px;
}

.gc-toggle-btn {
  flex: 1;
  padding: 10px;
  background: #e2e8f0;
  border: none;
  border-radius: 8px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
}

.gc-toggle-btn.active {
  background: #2dd4bf;
  color: #ffffff;
}

.gc-range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gc-range-box {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 10px;
  background: #ffffff;
}

.gc-range-box input {
  width: 100%;
  padding: 10px 0;
  border: none;
  font-size: 14px;
  outline: none;
  text-align: center;
}

.gc-range-box span {
  font-size: 13px;
  color: #64748b;
  font-weight: 700;
}

.gc-range-sep {
  font-size: 14px;
  color: #64748b;
}

.gc-filter-dialog-footer {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.gc-btn-clear {
  flex: 1;
  padding: 12px;
  background: #334155;
  color: #ffffff;
  border: none;
  border-radius: 24px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.gc-btn-search {
  flex: 1;
  padding: 12px;
  background: #ef4444;
  color: #ffffff;
  border: none;
  border-radius: 24px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(239,68,68,0.3);
}

@media (max-width: 640px) {
  #controls.section { padding: 0; }
  #controls .section-inner { width: 100%; max-width: none; padding: 0; }
  .gc-exhibit-controls-header {
    overflow: hidden;
    background: #eef1f4;
    border-top: 1px solid #d6dee5;
    border-bottom: 1px solid #d6dee5;
  }

  .gc-circle-category-bar {
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 12px 4px;
    background: #eef1f4;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .gc-circle-category-bar::-webkit-scrollbar { display: none; }
  .gc-circle-btn {
    flex: 0 0 auto;
    flex-direction: row;
    gap: 5px;
    min-height: 34px;
    padding: 6px 11px;
    border: 1px solid #cbd5df;
    border-radius: 18px;
    background: #fff;
    opacity: 0.8;
  }
  .gc-circle-btn.active { border-color: #0d9488; color: #0d9488; opacity: 1; transform: none; }
  .gc-circle-icon {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    color: inherit;
    font-size: 12px;
  }
  .gc-circle-label { font-size: 12px; white-space: nowrap; }
  .gc-circle-label br { display: none; }

  .gc-action-controls-row { padding: 10px 12px; background: #eef1f4; border: 0; }
  .gc-action-btns { gap: 10px; }
  .gc-btn-filter, .gc-btn-sort {
    min-height: 44px;
    border-color: #aeb9c4;
    border-radius: 6px;
    box-shadow: none;
    font-size: 14px;
  }

  .gc-hot-keywords-bar { padding: 8px 12px 12px; background: #eef1f4; }
  .gc-hot-title { margin-bottom: 7px; color: #475569; font-size: 12px; }
  .gc-hot-tags-scroll {
    flex-wrap: nowrap;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .gc-hot-tags-scroll::-webkit-scrollbar { display: none; }
  .gc-tag-capsule {
    flex: 0 0 auto;
    padding: 6px 11px;
    border: 1px solid #b7c1ca;
    border-radius: 17px;
    background: #fff;
    box-shadow: none;
    color: #66717d;
    font-size: 12px;
  }

  .gc-filter-dialog-content {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 28px);
    margin: 14px auto;
    border-radius: 12px;
  }
  .gc-filter-dialog-header { padding: 12px 16px; background: #fff; color: #132f46; }
  .gc-filter-header-close { background: #64748b; }
  .gc-filter-dialog-body { padding: 14px 16px; }
  .gc-filter-field { margin-bottom: 16px; }
  .gc-btn-search { background: #14b8a6; }
  .gc-btn-clear { background: #e2e8f0; color: #334155; }
}

.gc-spec-tag {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

/* 🔥 新着商品 NEWバッジ */
.card-new-badge {
  position: absolute;
  top: 10px;
  right: 54px;
  left: auto;
  z-index: 6;
  background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 11px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.45);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

/* ========================================================
   🌟 3D HOLO-VAULT CYBER RING SHOWCASE (超絶3Dゲーミング演出)
   ======================================================== */
.holo-vault-section {
  position: relative;
  background: radial-gradient(circle at 50% 30%, #1e1b4b 0%, #0f172a 60%, #030712 100%);
  padding: 56px 16px 72px;
  overflow: hidden;
  border-bottom: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: inset 0 -30px 60px rgba(0, 0, 0, 0.7), inset 0 20px 40px rgba(99, 102, 241, 0.15);
}

.holo-bg-grid {
  position: absolute;
  inset: -100px -50px;
  background-image: 
    linear-gradient(to right, rgba(99, 102, 241, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 102, 241, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(600px) rotateX(65deg) translateY(100px);
  transform-origin: bottom center;
  pointer-events: none;
  opacity: 0.85;
  animation: cyberGridFlow 20s linear infinite;
}

@keyframes cyberGridFlow {
  0% { background-position: 0 0; }
  100% { background-position: 0 480px; }
}

.holo-header-wrap {
  text-align: center;
  position: relative;
  z-index: 10;
  margin-bottom: 28px;
}

.holo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(99, 102, 241, 0.22);
  border: 1px solid #818cf8;
  border-radius: 999px;
  color: #c7d2fe;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.5), inset 0 0 10px rgba(129, 140, 248, 0.3);
  animation: holoBadgePulse 3s ease-in-out infinite;
  backdrop-filter: blur(8px);
}

@keyframes holoBadgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.5), inset 0 0 10px rgba(129, 140, 248, 0.3);
    border-color: #818cf8;
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.75), inset 0 0 15px rgba(56, 189, 248, 0.5);
    border-color: #38bdf8;
  }
}

.holo-title {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 900;
  color: #ffffff;
  margin: 14px 0 10px;
  letter-spacing: -0.5px;
  text-shadow: 0 0 35px rgba(129, 140, 248, 0.7);
}

.holo-title span {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 40%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(236, 72, 153, 0.4));
  animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.4)); }
  100% { filter: drop-shadow(0 0 25px rgba(236, 72, 153, 0.7)); }
}

.holo-desc {
  color: #94a3b8;
  font-size: 14.5px;
  max-width: 620px;
  margin: 0 auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 3Dステージ構造 */
.holo-stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 500px;
  margin: 0 auto;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* 上部ホログラムプロジェクター光線 */
.holo-emitter-top {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.8) 0%, rgba(99, 102, 241, 0.4) 50%, transparent 80%);
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.7);
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.8), inset 0 0 20px rgba(56, 189, 248, 0.9);
  pointer-events: none;
  z-index: 5;
  animation: emitterPulse 4s ease-in-out infinite;
}

@keyframes emitterPulse {
  0%, 100% {
    transform: translateX(-50%) scaleX(1);
    opacity: 0.85;
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.7);
  }
  50% {
    transform: translateX(-50%) scaleX(1.15);
    opacity: 1;
    box-shadow: 0 0 55px rgba(129, 140, 248, 0.95), 0 0 25px rgba(56, 189, 248, 0.9);
  }
}

/* 下部ステージ台座 */
.holo-podium-bottom {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 580px;
  height: 70px;
  background: radial-gradient(ellipse at center, rgba(129, 140, 248, 0.45) 0%, rgba(30, 27, 75, 0.9) 55%, transparent 85%);
  border-radius: 50%;
  border: 2px solid rgba(129, 140, 248, 0.5);
  box-shadow: 0 0 80px rgba(99, 102, 241, 0.6), inset 0 0 40px rgba(56, 189, 248, 0.5);
  animation: podiumGlow 5s ease-in-out infinite alternate;
}

@keyframes podiumGlow {
  0% {
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.5), inset 0 0 30px rgba(56, 189, 248, 0.4);
  }
  100% {
    box-shadow: 0 0 95px rgba(56, 189, 248, 0.75), inset 0 0 50px rgba(129, 140, 248, 0.7);
  }
}

/* 3Dカルーセル回転コンテナ（ゆったり浮遊アニメーション） */
.holo-carousel-ring {
  width: 270px;
  height: 390px;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: grab;
  animation: holoFloat 5s ease-in-out infinite;
}

@keyframes holoFloat {
  0%, 100% {
    margin-top: 0px;
  }
  50% {
    margin-top: -12px;
  }
}

.holo-carousel-ring:active {
  cursor: grabbing;
}

/* 3Dカードアイテム（グラスモーフィズム ＆ ネオングロー） */
.holo-card {
  position: absolute;
  width: 270px;
  height: 390px;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.88) 0%, rgba(15, 23, 42, 0.96) 100%);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), inset 0 0 25px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  overflow: hidden;
}

/* スキャンラインエフェクト */
.holo-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(56, 189, 248, 0.15) 50%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.holo-card.active-front::before {
  opacity: 1;
  animation: holoScan 3.5s linear infinite;
}

@keyframes holoScan {
  0% { top: -100%; }
  100% { top: 200%; }
}

/* 前面アクティブカードの超美麗オーロラグロー */
.holo-card.active-front {
  border-color: #38bdf8;
  box-shadow: 
    0 0 45px rgba(56, 189, 248, 0.55),
    0 25px 60px rgba(0, 0, 0, 0.85),
    inset 0 0 20px rgba(56, 189, 248, 0.25);
  transform: scale(1.08) translateZ(20px);
}

.holo-card:hover {
  transform: scale(1.12) translateZ(40px) !important;
  border-color: #818cf8 !important;
  box-shadow: 
    0 0 50px rgba(129, 140, 248, 0.7),
    0 30px 70px rgba(0, 0, 0, 0.9),
    inset 0 0 25px rgba(129, 140, 248, 0.35) !important;
}

.holo-card-image-wrap {
  width: 100%;
  height: 175px;
  background: #090d16;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
}

.holo-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.holo-card:hover .holo-card-image-wrap img {
  transform: scale(1.1);
}

.holo-card-game-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
}

.holo-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.4;
  height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 8px;
}

.holo-card-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: auto;
}

.holo-tag {
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(129, 140, 248, 0.4);
  color: #c7d2fe;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.holo-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 8px;
}

.holo-card-price {
  font-size: 19px;
  font-weight: 900;
  color: #22c55e;
  text-shadow: 0 0 14px rgba(34, 197, 94, 0.55);
}

.holo-card-btn {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 7px 14px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(56, 189, 248, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.holo-card-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.75);
}

/* カルーセルナビゲーションボタン */
.holo-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(129, 140, 248, 0.5);
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.holo-nav-btn:hover {
  background: rgba(14, 165, 233, 0.85);
  border-color: #38bdf8;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.75);
}

.holo-nav-prev { left: 16px; }
.holo-nav-next { right: 16px; }

.holo-pause-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 15px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 100;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.holo-pause-btn:hover {
  background: rgba(15, 23, 42, 0.98);
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.holo-pause-btn.paused {
  background: rgba(14, 165, 233, 0.3);
  border-color: #0284c7;
  color: #38bdf8;
}

/* サイバートラストバッジバー（安心・信用） */
.holo-trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 32px auto 0;
  position: relative;
  z-index: 10;
}

.holo-trust-item {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(6px);
}

.holo-trust-icon {
  font-size: 24px;
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
}

.holo-trust-text h4 {
  font-size: 13px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

.holo-trust-text p {
  font-size: 11px;
  color: #94a3b8;
  margin: 2px 0 0;
}

/* フォーカス可視化 */
.holo-card:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 4px;
}

.holo-nav-btn:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 2px;
}

/* 画像フォールバック */
.holo-card-img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e1b4b, #0f172a);
}

@keyframes holoPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(99, 102, 241, 0.3); }
  50% { box-shadow: 0 0 25px rgba(99, 102, 241, 0.6); }
}

@keyframes emitterSpin {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

/* reduced-motion: アニメーション停止、通常の水平カルーセル表示へ縮退 */
@media (prefers-reduced-motion: reduce) {
  .holo-carousel-ring { transition: none !important; }
  .holo-card { transition: none !important; }
  .holo-emitter-top { animation: none !important; }
  .holo-badge { animation: none !important; }
  .holo-card:hover .holo-card-image-wrap img { transform: none; }
}

@media (max-width: 768px) {
  .holo-vault-section { padding: 32px 12px 48px; }
  .holo-stage { height: 380px; }
  .holo-carousel-ring, .holo-card { width: 200px; height: 310px; }
  .holo-card-image-wrap { height: 120px; }
  .holo-card-title { font-size: 12px; height: 34px; }
  .holo-card-price { font-size: 15px; }
  .holo-nav-prev { left: 4px; }
  .holo-nav-next { right: 4px; }
  .holo-nav-btn { width: 36px; height: 36px; font-size: 16px; }
  .holo-podium-bottom { width: 300px; height: 40px; }
  .holo-emitter-top { width: 160px; height: 18px; }
  .holo-trust-bar { grid-template-columns: 1fr; gap: 10px; }
}

/* ========================================================
   🎮 CYBER NEON GAMING MODAL (AppStore / Game Lounge UI)
   ======================================================== */
#detail-modal .modal-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-width: 580px !important;
}

#detail-modal .modal-close {
  display: none !important;
}

/* ライトモード（デフォルト: サイトの背景と調和する清潔感あるホワイトUI） */
.cyber-modal-container {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 28px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2), 0 0 20px rgba(2, 132, 199, 0.15) !important;
  padding: 24px !important;
  color: #0f172a !important;
  position: relative !important;
  max-width: 580px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.cyber-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #ec4899, #db2777);
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
}
.cyber-modal-close:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.7);
}

.cyber-modal-header {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.cyber-app-icon {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  min-width: 64px !important;
  border-radius: 16px !important;
  border: 2px solid #38bdf8 !important;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.3) !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.cyber-app-title {
  font-size: 19px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.cyber-retire-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid #0284c7;
  color: #0284c7;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cyber-retire-link-btn:hover {
  background: #0284c7;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}
body.dark-mode .cyber-retire-link-btn {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #38bdf8;
}
body.dark-mode .cyber-retire-link-btn:hover {
  background: #38bdf8;
  color: #0f172a;
}

.cyber-app-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #d97706;
  margin: 4px 0 6px;
  font-weight: 800;
}

.cyber-app-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cyber-app-tag {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11px;
  color: #475569;
  font-weight: 700;
}

/* リアルタイム注目バー（ライト） */
.cyber-hot-bar {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #b45309;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

/* プランアイテムカード（ライト） */
.cyber-plan-card {
  background: #ffffff;
  border: 1.5px solid #0284c7;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s ease;
}

.cyber-plan-card:hover {
  border-color: #0284c7;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.2);
}

.cyber-plan-num {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  margin-right: 8px;
  flex-shrink: 0;
}

.cyber-plan-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
}

.cyber-plan-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cyber-ref-price {
  font-size: 11px;
  color: #94a3b8;
  text-decoration: line-through;
}

.cyber-sale-badge {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
}

.cyber-main-price {
  font-size: 18px;
  font-weight: 900;
  color: #059669;
}

.cyber-tap-copy-btn {
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid #0284c7;
  border-radius: 999px;
  color: #0284c7;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cyber-tap-copy-btn:hover {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.4);
  transform: scale(1.05);
}

/* 下部アクションボタンバー */
.cyber-action-instruction {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  margin: 14px 0 10px;
  font-weight: 700;
}

.cyber-dual-btns {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
}

.cyber-x-btn {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cyber-x-btn:hover {
  background: #000000;
  transform: translateY(-2px);
}

.cyber-line-btn {
  background: linear-gradient(135deg, #00c300, #06b006);
  border: none;
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 195, 0, 0.35);
}

.cyber-line-btn:hover {
  box-shadow: 0 0 20px rgba(0, 195, 0, 0.7);
  transform: translateY(-2px) scale(1.02);
}

/* ========================================================
   🌙 ダークモード時のスタイル適用 (body.dark-mode)
   ======================================================== */
body.dark-mode .cyber-modal-container {
  background: #0f172a !important;
  border: 1.5px solid rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.9), 0 0 20px rgba(56, 189, 248, 0.2) !important;
  color: #ffffff !important;
}

body.dark-mode .cyber-modal-header {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .cyber-app-title {
  color: #ffffff;
}

body.dark-mode .cyber-app-rating {
  color: #facc15;
}

body.dark-mode .cyber-app-tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #94a3b8;
}

body.dark-mode .cyber-hot-bar {
  background: rgba(45, 28, 12, 0.7);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}

body.dark-mode .cyber-plan-card {
  background: #1e293b;
  border-color: #0284c7;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

body.dark-mode .cyber-plan-title {
  color: #ffffff;
}

body.dark-mode .cyber-ref-price {
  color: #64748b;
}

body.dark-mode .cyber-main-price {
  color: #22c55e;
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

body.dark-mode .cyber-tap-copy-btn {
  background: rgba(6, 182, 212, 0.15);
  border-color: #06b6d4;
  color: #38bdf8;
}

body.dark-mode .cyber-tap-copy-btn:hover {
  background: #06b6d4;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.8);
}

body.dark-mode .cyber-action-instruction {
  color: #cbd5e1;
}

body.dark-mode .cyber-x-btn {
  background: #09090b;
  border-color: #475569;
}

/* ============================================
   🔍 検索サジェスト (ドロップダウン)
   ============================================ */
.header-search {
  position: relative;
}

.header-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  max-height: 380px;
  overflow-y: auto;
  z-index: 10000;
  display: none;
  backdrop-filter: blur(8px);
  padding: 6px 0;
}

.header-search-results.active {
  display: block;
}

.search-suggest-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 16px !important;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
  text-align: left;
}

.search-suggest-item:last-child {
  border-bottom: none;
}

.search-suggest-item:hover {
  background: #f0fdfa;
}

.search-suggest-icon-wrap {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.search-suggest-icon-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 10px !important;
}

.search-suggest-info {
  flex: 1;
  min-width: 0;
}

.search-suggest-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggest-meta {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}


body.dark-mode .header-search-results {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

body.dark-mode .search-suggest-item {
  border-bottom-color: #334155;
}

body.dark-mode .search-suggest-item:hover {
  background: #0f172a;
}

body.dark-mode .search-suggest-title {
  color: #f8fafc;
}

/* ============================================
   ❤️ お気に入りドロワー / まとめて注文文コピー
   ============================================ */
.watchlist-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.watchlist-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.watchlist-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.watchlist-panel.open {
  right: 0;
}

.watchlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #e2e8f0;
}

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

.watchlist-title-wrap h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.watchlist-close-btn {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.2s ease;
}

.watchlist-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.watchlist-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.watchlist-empty {
  text-align: center;
  padding: 48px 20px;
  color: #94a3b8;
}

.watchlist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  transition: transform 0.2s ease;
}

.watchlist-item:hover {
  transform: translateY(-2px);
  background: #f1f5f9;
}

.watchlist-item-img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.watchlist-item-info {
  flex: 1;
  min-width: 0;
}

.watchlist-item-title {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.watchlist-item-price {
  font-size: 14px;
  font-weight: 800;
  color: #059669;
  margin-top: 2px;
}

.watchlist-item-remove {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
}

.watchlist-item-remove:hover {
  color: #ef4444;
}

.watchlist-footer {
  padding: 18px 20px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.watchlist-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #64748b;
}

.watchlist-summary strong {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
}

.btn-copy-bulk-order {
  width: 100%;
  background: linear-gradient(135deg, #0d9488, #059669);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
  transition: all 0.2s ease;
}

.btn-copy-bulk-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

body.dark-mode .watchlist-panel {
  background: #0f172a;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.7);
}

body.dark-mode .watchlist-header,
body.dark-mode .watchlist-footer {
  background: #0f172a;
  border-color: #1e293b;
}

body.dark-mode .watchlist-title-wrap h3,
body.dark-mode .watchlist-summary strong {
  color: #ffffff;
}

body.dark-mode .watchlist-item {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .watchlist-item:hover {
  background: #334155;
}

body.dark-mode .watchlist-item-title {
  color: #f8fafc;
}

/* ============================================
   🔥 注目の人気・おすすめアカウント (PC: 4列 / スマホ: 2列)
   ============================================ */
#featured-listings-grid,
.featured-listings-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
  margin-top: 16px !important;
  width: 100% !important;
}

.featured-card {
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.88) 0%, rgba(15, 23, 42, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px !important;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.featured-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.25);
}

.featured-card-thumb {
  position: relative;
  width: 100%;
  height: 148px;
  background: #090d16;
  overflow: hidden;
}

.featured-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover .featured-card-img {
  transform: scale(1.05);
}

/* 🎨 アンビエント・アートワーク背景 (ゲームアイコンが美しく発光・拡散) */
.featured-fallback-art {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 35%, #1e293b 0%, #090d16 100%);
  overflow: hidden;
}

.featured-fallback-bg-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  height: 130%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(2.4);
  filter: blur(22px) saturate(2.0) brightness(0.6);
  opacity: 0.65;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
}

.featured-card:hover .featured-fallback-bg-blur {
  transform: translate(-50%, -50%) scale(2.8);
  opacity: 0.85;
  filter: blur(18px) saturate(2.2) brightness(0.75);
}

.featured-fallback-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.15) 0%, rgba(9, 13, 22, 0.7) 100%);
  pointer-events: none;
}

.featured-fallback-icon-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-card:hover .featured-fallback-icon-wrap {
  transform: scale(1.1) translateY(-2px);
}

.featured-fallback-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65), 0 0 0 1.5px rgba(255, 255, 255, 0.25), 0 0 20px rgba(56, 189, 248, 0.3);
}

.featured-fallback-gv {
  font-weight: 900;
  color: #38bdf8;
  font-size: 22px;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.7);
}

/* バッジ類 */
.featured-badge-likes {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.95), rgba(244, 63, 94, 0.95));
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 3px 10px rgba(236, 72, 153, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  z-index: 3;
}

.featured-badge-recommend {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.95), rgba(14, 165, 233, 0.95));
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 3px 10px rgba(14, 165, 233, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  z-index: 3;
}

.featured-badge-gamename {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #38bdf8;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

.featured-card-body {
  padding: 14px 15px 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  background: rgba(15, 23, 42, 0.45);
}

.featured-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 39px;
  letter-spacing: 0.01em;
}

.featured-card-price {
  font-size: 17px;
  font-weight: 900;
  color: #38bdf8;
  letter-spacing: -0.02em;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.featured-card-btn {
  font-size: 10.5px;
  font-weight: 700;
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 3px 9px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(56, 189, 248, 0.04));
  transition: all 0.2s ease;
}

.featured-card:hover .featured-card-btn {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

@media (max-width: 1100px) {
  #featured-listings-grid,
  .featured-listings-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }
}

@media (max-width: 768px) {
  #featured-listings-grid,
  .featured-listings-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  
  .featured-card {
    border-radius: 12px !important;
  }

  .featured-card-thumb {
    height: 110px !important;
  }

  .featured-fallback-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }

  .featured-card-body {
    padding: 10px 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: 14.5px !important;
  }
}

/* ====================================================
   🖥️ PCゲーム 専用：クリーン・ホワイト・スタイリング (背景完全白化)
   ==================================================== */
.gt-game-card {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.gt-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  border-color: #38bdf8;
}

.gt-game-card--pc {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-light, #e2e8f0);
}

.gt-game-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: transparent;
}

.gt-game-card-icon--pc {
  width: 76px !important;
  height: 76px !important;
  max-width: 76px !important;
  aspect-ratio: 1 / 1 !important;
  background: #ffffff !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--border-light, rgba(0,0,0,0.08)) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  padding: 8px !important;
  box-sizing: border-box !important;
}

.game-icon-box--pc {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border: 1px solid var(--border-light, rgba(0,0,0,0.08)) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  box-sizing: border-box !important;
  padding: 6px !important;
  overflow: hidden !important;
  aspect-ratio: 1 / 1 !important;
  flex-shrink: 0 !important;
}

.game-icon-image--pc,
img.game-icon-image--pc {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  display: block !important;
  margin: auto !important;
}

.ranking-icon .game-icon-image--pc {
  background-color: transparent !important;
  object-fit: contain !important;
  object-position: center !important;
  border: none !important;
}

.gt-game-card-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary, #1e293b);
  line-height: 1.3 !important;
  margin-bottom: 4px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 32px !important;
}

.gt-game-card-count {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #0d9488 !important;
}

/* Catalog登録済み・公開在庫準備中のタイトル。非表示にせず状態を明示する。 */
.gt-game-card--preparing {
  border-style: dashed !important;
  background: #f8fafc !important;
}
.gt-game-card--preparing .gt-game-card-count {
  color: #64748b !important;
}

/* ==========================================================================
   🎛️ 絞り込み検索モーダル（GamePlatform完全再現デザイン）
   ========================================================================== */
.gt-filter-dialog-content {
  background: #ffffff;
  border-radius: 16px;
  width: min(480px, calc(100vw - 24px));
  max-height: 90vh;
  margin: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  animation: filterModalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes filterModalFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.gt-filter-dialog-header {
  background: #2c3545;
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gt-filter-dialog-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.gt-filter-dialog-close-btn {
  background: #ef4444;
  color: #ffffff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.gt-filter-dialog-close-btn:hover {
  transform: scale(1.1);
  background: #dc2626;
}

.gt-filter-dialog-body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
  color: #1e293b;
}

.gt-filter-dialog-group {
  margin-bottom: 18px;
}

.gt-filter-dialog-label {
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
}

.gt-filter-dialog-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.gt-filter-dialog-input-wrap input {
  width: 100%;
  height: 42px;
  padding: 0 38px 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  color: #1e293b;
  outline: none;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gt-filter-dialog-input-wrap input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.gt-dialog-search-icon {
  position: absolute;
  right: 12px;
  font-size: 16px;
  pointer-events: none;
}

/* 🏷️ クイックタグチップ群 */
.modal-quick-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.modal-quick-tag-chip {
  background: #14b8a6;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(20, 184, 166, 0.2);
}

.modal-quick-tag-chip:hover {
  background: #0d9488;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(20, 184, 166, 0.35);
}

.gt-filter-dialog-section-header {
  background: #f8fafc;
  border-left: 4px solid #14b8a6;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  margin: 16px 0 12px;
  border-radius: 0 6px 6px 0;
}

.gt-spec-sub-title {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
}

.gt-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.gt-radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #334155;
  cursor: pointer;
}

.gt-radio-group input[type="radio"] {
  accent-color: #14b8a6;
  cursor: pointer;
}

.gt-filter-dialog-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gt-input-with-unit {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.gt-input-with-unit input {
  width: 100%;
  height: 40px;
  padding: 0 28px 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  color: #1e293b;
  outline: none;
}

.gt-input-with-unit input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.gt-input-with-unit .unit {
  position: absolute;
  right: 10px;
  font-size: 12px;
  color: #64748b;
  pointer-events: none;
}

.gt-filter-dialog-price-row .tilde {
  font-size: 14px;
  color: #64748b;
}

.gt-filter-dialog-footer {
  border-top: 1px solid #e2e8f0;
  padding: 14px 20px;
  display: flex;
  gap: 12px;
  background: #ffffff;
}

.gt-filter-reset-btn {
  flex: 1;
  height: 44px;
  background: #334155;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
}

.gt-filter-reset-btn:hover {
  background: #1e293b;
}

.gt-filter-submit-btn {
  flex: 1.3;
  height: 44px;
  background: #ef4444;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  transition: all 0.2s;
}

.gt-filter-submit-btn:hover {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

/* 💎 石垢プランカード インタラクティブスタイル */
.cyber-plan-card {
  user-select: none;
}

.cyber-plan-card:hover {
  border-color: #38bdf8 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.15) !important;
}

.cyber-plan-card:active {
  transform: scale(0.99);
}

.cyber-plan-card:hover .plan-copy-status-badge {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
}

/* 📱 モバイル・スマホ完全最適化レスポンシブルール (画面幅いっぱいワイド表示) */
@media (max-width: 480px) {
  #detail-modal.modal {
    padding: 8px 4px !important;
  }

  #detail-modal .modal-content {
    width: calc(100vw - 8px) !important;
    max-width: 100vw !important;
  }

  .cyber-modal-container {
    width: calc(100vw - 8px) !important;
    max-width: 100vw !important;
    padding: 12px 8px !important;
    border-radius: 16px !important;
  }
  
  .cyber-plan-card {
    padding: 10px 10px !important;
  }
  
  .plan-copy-status-badge {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 10.5px !important;
    padding: 3px 8px !important;
    letter-spacing: -0.2px !important;
  }

  .cyber-plan-price-row {
    gap: 3px !important;
  }

  .cyber-main-price {
    font-size: 17px !important;
  }

  .cyber-dual-btns {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  .cyber-dual-btns button {
    font-size: 11.5px !important;
    padding: 10px 4px !important;
    white-space: nowrap !important;
  }
}

/* ========================================================
   🚀 DUAL INFINITE ICON STREAM (最強サイバー・ピュアアイコンストリーム)
   ======================================================== */
.holo-icon-streams-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 12px 0 24px;
  overflow: hidden;
  padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.85) 6%, rgba(0, 0, 0, 1) 16%, rgba(0, 0, 0, 1) 84%, rgba(0, 0, 0, 0.85) 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.85) 6%, rgba(0, 0, 0, 1) 16%, rgba(0, 0, 0, 1) 84%, rgba(0, 0, 0, 0.85) 94%, transparent 100%);
  z-index: 15;
}

.holo-icon-track-wrap {
  display: flex;
  width: 100%;
  overflow: visible;
  user-select: none;
  padding: 14px 0;
}

.holo-icon-stream {
  display: flex;
  gap: 22px;
  width: max-content;
  will-change: transform;
}

/* 左へ流れるアニメーション (上段) */
.holo-stream-flow-left {
  animation: streamMarqueeLeft 42s linear infinite;
}

/* 右へ流れるアニメーション (下段) */
.holo-stream-flow-right {
  animation: streamMarqueeRight 46s linear infinite;
}

/* ホバー時に一時停止 */
.holo-icon-streams-container:hover .holo-stream-flow-left,
.holo-icon-streams-container:hover .holo-stream-flow-right {
  animation-play-state: paused;
}

@keyframes streamMarqueeLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes streamMarqueeRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* 大迫力のピュアアイコン (デュアルストリーム) */
.holo-pure-icon-item {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: transparent !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.32s ease;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !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;
  pointer-events: none;
  transition: transform 0.32s ease;
}

.holo-pure-icon-item:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.28);
  z-index: 50;
}

.holo-pure-icon-item:hover img {
  transform: scale(1.04);
}

.holo-pure-icon-item:active {
  transform: translateY(-2px) scale(1.02);
}

/* PCゲーム専用のピュアサムネイル
   PCタイトルはアプリアイコンではなく横長のゲーム画像なので、画像の比率を
   崩さずに見せる。スマホ／SNS-Web用の正方形アイコンには影響させない。 */
.holo-pure-icon-item.holo-pure-icon-item--pc,
.holo-icon-stream .holo-pure-icon-item--pc {
  width: 112px !important;
  height: 63px !important;
  aspect-ratio: 16 / 9 !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px !important;
  padding: 4px !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

.holo-pure-icon-item--pc .game-icon-box,
.holo-pure-icon-item--pc .game-icon-box--pc {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.holo-pure-icon-item--pc .game-icon-image--pc {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
  display: block !important;
  margin: auto !important;
}

/* スマホ表示最適化 */
@media (max-width: 768px) {
  .holo-icon-streams-container {
    margin: 8px 0 18px;
    padding: 16px 0;
  }
  .holo-icon-track-wrap {
    overflow: visible;
    padding: 10px 0;
  }
  .holo-icon-stream {
    gap: 14px;
  }
  .holo-pure-icon-item {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }
  .holo-pure-icon-item.holo-pure-icon-item--pc,
  .holo-icon-stream .holo-pure-icon-item--pc {
    width: 88px !important;
    height: 50px !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 10px !important;
    padding: 3px !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;
}

/* ランキングは従来の横長2列リストを維持する。 */
.ranking-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
}
.ranking-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  min-height: 90px;
}

/* PCゲーム 50音カードサムネイル
   PCタイトルは正方形のアプリアイコンではなく、ロゴ／キービジュアルを
   横長のまま見せる。スマホ・SNS/Web用カードには適用しない。 */
#gt-game-grid .gt-game-card .gt-game-card-icon--pc {
  width: min(112px, 100%) !important;
  max-width: 112px !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  margin: 0 auto 8px !important;
  padding: 4px !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

#gt-game-grid .gt-game-card .gt-game-card-icon--pc .game-icon-box--pc {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#gt-game-grid .gt-game-card .gt-game-card-icon--pc .game-icon-image--pc {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
  display: block !important;
  margin: auto !important;
}

@media (max-width: 480px) {
  #gt-game-grid .gt-game-card .gt-game-card-icon--pc {
    width: min(96px, calc(100% - 6px)) !important;
    max-width: 96px !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 10px !important;
    padding: 3px !important;
  }
}
