/* ============================================================
Hidden Gems Finder - メインスタイルシート
============================================================ */

/* CSS変数定義 */
:root {
	--bg-primary: #0a0a1a;
	--bg-secondary: #111128;
	--bg-card: rgba(20, 20, 50, 0.6);
	--bg-glass: rgba(255, 255, 255, 0.04);
	--bg-glass-hover: rgba(255, 255, 255, 0.08);
	--border-glass: rgba(255, 255, 255, 0.08);
	--border-glass-hover: rgba(168, 85, 247, 0.3);

	--text-primary: #e8e8f0;
	--text-secondary: #9898b8;
	--text-muted: #6868a0;
	--text-accent: #a855f7;

	--accent-purple: #a855f7;
	--accent-cyan: #06b6d4;
	--accent-green: #22c55e;
	--accent-yellow: #eab308;
	--accent-red: #ef4444;

	--gradient-main: linear-gradient(135deg, #a855f7, #06b6d4);
	--gradient-bg: radial-gradient(ellipse at 20% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 60%),
		radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 60%);

	--shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
	--shadow-glow: 0 0 30px rgba(168, 85, 247, 0.15);

	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 20px;

	--font-main: "Noto Sans JP", sans-serif;
	--font-display: "Orbitron", sans-serif;

	--transition-fast: 0.2s ease;
	--transition-normal: 0.3s ease;
	--transition-slow: 0.5s ease;
}

/* リセット・ベース */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-main);
	background-color: var(--bg-primary);
	background-image: var(--gradient-bg);
	color: var(--text-primary);
	min-height: 100vh;
	line-height: 1.7;
	overflow-x: hidden;
	position: relative;
}

/* パーティクル背景 */
#particles-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.particle {
	position: absolute;
	border-radius: 50%;
	opacity: 0;
	animation: particleFloat linear infinite;
}

@keyframes particleFloat {
	0% {
		opacity: 0;
		transform: translateY(100vh) scale(0);
	}

	10% {
		opacity: 0.6;
	}

	90% {
		opacity: 0.6;
	}

	100% {
		opacity: 0;
		transform: translateY(-10vh) scale(1);
	}
}

/* ============================================================
ヘッダー
============================================================ */
#site-header {
	padding: 20px;
	text-align: center;
}

.site-title {
	font-family: var(--font-display);
	font-size: 2rem;
	letter-spacing: 2px;
}

.tagline {
	letter-spacing: 1px;
}

.header-description {
	font-size: 0.95rem;
	color: var(--text-secondary);
	line-height: 1.8;
}

.highlight {
	color: var(--accent-cyan);
	font-weight: 500;
}

/* ============================================================
メインコンテンツ
============================================================ */
#main-content {
	position: relative;
	z-index: 10;
	width: 100%;
	padding: 0 24px 24px;
}

/* ============================================================
グラスモーフィズムパネル
============================================================ */
.glass-panel {
	background: var(--bg-glass);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--border-glass);
	border-radius: var(--radius-xl);
	padding: 20px;
	box-shadow: var(--shadow-card);
	transition: border-color var(--transition-normal);
}

.glass-panel:hover {
	border-color: var(--border-glass-hover);
}

/* ============================================================
フィルターパネル
============================================================ */
#filter-panel {
	max-width: 1200px;
	margin: 0 auto 20px;
}

.filter-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.filter-header h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--text-primary);
}

.filter-text {
	font-size: 0.75rem;
}

.filter-icon {
	font-size: 1.3rem;
}

.icon-btn {
	border: 1px solid var(--border-glass);
	color: var(--text-secondary);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all var(--transition-fast);
}

.icon-btn:hover {
	color: var(--text-accent);
	border-color: var(--accent-purple);
}

.chevron {
	font-size: 0.8rem;
	transition: transform var(--transition-normal);
}

.chevron.collapsed {
	transform: rotate(-90deg);
}

.filter-body {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	overflow: hidden;
	transition: max-height var(--transition-slow), opacity var(--transition-normal);
}

.filter-body.collapsed {
	max-height: 0 !important;
	opacity: 0;
	margin-top: 0;
	padding: 0;
}

.filter-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.filter-label {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--text-primary);
}

.label-icon {
	font-size: 1.1rem;
}

.filter-value {
	margin-left: auto;
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 700;
	background: var(--gradient-main);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.filter-hint {
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--text-muted);
	margin-left: 4px;
}

/* ダブルレンジスライダー */
.double-slider-wrapper {
	position: relative;
	width: 100%;
	height: 5px;
	margin: 10px 0 0;
}

.double-slider-track {
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(168, 85, 247, 0.2);
	border-radius: 3px;
	z-index: 1;
}

.double-slider-fill {
	position: absolute;
	height: 100%;
	background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
	border-radius: 3px;
	z-index: 2;
}

.double-slider-input {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	pointer-events: none;
	outline: none;
	top: 0;
	margin: 0;
	z-index: 3;
}

.double-slider-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--accent-purple);
	box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
	cursor: pointer;
	pointer-events: auto;
	transition: transform var(--transition-fast), box-shadow var(--transition-fast);
	position: relative;
	z-index: 4;
}

.double-slider-input::-webkit-slider-thumb:hover {
	transform: scale(1.2);
	box-shadow: 0 0 20px rgba(168, 85, 247, 0.7);
}

.slider-marks {
	display: flex;
	justify-content: space-between;
	font-size: 0.8rem;
	color: var(--text-muted);
}

/* ジャンルタグ */
.genre-tags-container {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.genre-tag {
	padding: 6px 14px;
	border-radius: 20px;
	border: 1px solid var(--border-glass);
	background: var(--bg-glass);
	color: var(--text-secondary);
	font-size: 0.82rem;
	cursor: pointer;
	transition: all var(--transition-fast);
	user-select: none;
}

.genre-tag:hover {
	border-color: var(--accent-purple);
	color: var(--text-primary);
	background: rgba(168, 85, 247, 0.1);
}

.genre-tag.active {
	background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(6, 182, 212, 0.15));
	border-color: var(--accent-purple);
	color: var(--text-primary);
	font-weight: 500;
	box-shadow: 0 0 12px rgba(168, 85, 247, 0.2);
}

/* 検索ボタン */
.search-button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 14px 28px;
	border: none;
	border-radius: var(--radius-md);
	background: var(--gradient-main);
	color: white;
	font-family: var(--font-main);
	font-size: 1.05rem;
	font-weight: 700;
	cursor: pointer;
	overflow: hidden;
	transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.search-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 32px rgba(168, 85, 247, 0.35);
}

.search-button:active {
	transform: translateY(0);
}

.search-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

.btn-glow {
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
	opacity: 0;
	transition: opacity var(--transition-normal);
	pointer-events: none;
}

.search-button:hover .btn-glow {
	opacity: 1;
}

.btn-icon {
	font-size: 1.2rem;
}

/* ============================================================
検索結果ステータス
============================================================ */
.result-status {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1200px;
	margin: 0 auto 20px;
	padding: 12px 20px;
	border-radius: var(--radius-md);
	background: var(--bg-glass);
	border: 1px solid var(--border-glass);
	font-size: 0.9rem;
	flex-wrap: wrap;
}

.result-info {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
}

#result-count {
	font-weight: 700;
	color: var(--accent-cyan);
}

.highlight-red {
	color: #ef4444;
	/* Tailwindのred-500に近い赤色 */
	font-weight: 700;
}

/* 表示モードセレクター */
.view-mode-selector {
	display: flex;
	gap: 4px;
}

.view-mode-btn {
	width: 32px;
	height: 32px;
	border: 1px solid var(--border-glass);
	background: transparent;
	border-radius: var(--radius-sm);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all var(--transition-fast);
	padding: 0;
}

.view-mode-btn svg {
	fill: var(--text-muted);
	transition: fill var(--transition-fast);
}

.view-mode-btn:hover {
	border-color: var(--accent-purple);
}

.view-mode-btn:hover svg {
	fill: var(--text-primary);
}

.view-mode-btn.active {
	background: rgba(168, 85, 247, 0.15);
	border-color: var(--accent-purple);
}

.view-mode-btn.active svg {
	fill: var(--accent-purple);
}

/* ============================================================
ローディング
============================================================ */
.loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 80px 20px;
	gap: 24px;
}

.loading-spinner {
	position: relative;
	width: 64px;
	height: 64px;
}

.spinner-ring {
	position: absolute;
	border-radius: 50%;
	border: 3px solid transparent;
	animation: spinnerRotate 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
	width: 64px;
	height: 64px;
	border-top-color: var(--accent-purple);
	animation-duration: 1.5s;
}

.spinner-ring:nth-child(2) {
	width: 48px;
	height: 48px;
	top: 8px;
	left: 8px;
	border-right-color: var(--accent-cyan);
	animation-duration: 1.2s;
	animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
	width: 32px;
	height: 32px;
	top: 16px;
	left: 16px;
	border-bottom-color: var(--accent-green);
	animation-duration: 0.9s;
}

@keyframes spinnerRotate {
	to {
		transform: rotate(360deg);
	}
}

.loading-text {
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--text-primary);
	animation: textPulse 2s ease-in-out infinite;
}

.loading-subtext {
	font-size: 0.85rem;
	color: var(--text-muted);
}

@keyframes textPulse {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.5;
	}
}

/* ============================================================
ゲームカードグリッド
============================================================ */
.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 16px;
}

.games-grid .card-description {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 8px;
	font-size: 0.72rem;
}

.games-grid .card-body {
	padding: 10px 12px 14px;
}

.games-grid .card-title {
	font-size: 0.85rem;
}

.games-grid .card-developer {
	font-size: 0.7rem;
}

.games-grid .card-stats {
	gap: 8px;
}

.games-grid .stat-item {
	font-size: 0.7rem;
}

/* リスト表示モード */
.games-grid.mode-list {
	grid-template-columns: 1fr;
	gap: 12px;
}

.games-grid.mode-list .game-card {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
}

.games-grid.mode-list .card-image-wrapper {
	width: 240px;
	min-width: 240px;
	aspect-ratio: 15 / 7;
	height: auto;
}

.games-grid.mode-list .card-image-wrapper img {
	height: 100%;
}

.games-grid.mode-list .card-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 8px 16px;
	flex: 1;
	position: relative;
}

.games-grid.mode-list .card-stats {
	gap: 5px;
}

.games-grid.mode-list .review-bar-container {
	display: none;
}

.games-grid.mode-list .card-description {
	display: none;
}

.games-grid.mode-list .card-score-badge {
	top: 8px;
	right: 8px;
	font-size: 0.75rem;
	padding: 2px 8px;
}

.games-grid.mode-list .card-price-badge {
	top: 8px;
	left: 8px;
	font-size: 0.7rem;
}

/* コンパクト表示モード */
.games-grid.mode-compact {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 8px;
}

.games-grid.mode-compact .game-card {
	display: flex;
	flex-direction: row;
	align-items: center;
	border-radius: var(--radius-sm);
}

.games-grid.mode-compact .card-image-wrapper {
	width: 120px;
	min-width: 120px;
	aspect-ratio: 15 / 7;
	height: auto;
	border-radius: var(--radius-sm) 0 0 var(--radius-sm);
	align-self: flex-start;
}

.games-grid.mode-compact .card-score-badge,
.games-grid.mode-compact .card-price-badge,
.games-grid.mode-compact .card-meta-row,
.games-grid.mode-compact .card-description,
.games-grid.mode-compact .review-bar-container,
.games-grid.mode-compact .card-genres {
	display: none;
}

.games-grid.mode-compact .card-body {
	padding: 5px 10px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 4px;
	flex: 1;
	min-width: 0;
}

.games-grid.mode-compact .card-title {
	font-size: 0.82rem;
	margin-bottom: 0;
	flex: 1;
	min-width: 0;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	-webkit-box-orient: vertical;
}

.games-grid.mode-compact .card-stats {
	margin-bottom: 0;
	gap: 5px;
	flex-shrink: 0;
}

.games-grid.mode-compact .stat-item {
	font-size: 0.72rem;
}

.games-grid.mode-compact .stat-label-text {
	display: none;
}

/* ゲームカード */
.game-card {
	position: relative;
	background: var(--bg-card);
	border: 1px solid var(--border-glass);
	border-radius: var(--radius-lg);
	overflow: hidden;
	cursor: pointer;
	transition: all var(--transition-normal);
	opacity: 0;
	transform: translateY(24px);
	animation: cardAppear 0.5s ease forwards;
}

.game-card:hover {
	transform: translateY(-6px);
	border-color: var(--accent-purple);
	box-shadow: var(--shadow-glow), 0 12px 40px rgba(0, 0, 0, 0.5);
}

@keyframes cardAppear {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.card-image-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 15 / 7;
	overflow: hidden;
}

.card-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
}

.game-card:hover .card-image-wrapper img {
	transform: scale(1.05);
}

.card-score-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 4px 12px;
	border-radius: 20px;
	font-family: var(--font-display);
	font-size: 0.85rem;
	font-weight: 700;
	color: white;
	backdrop-filter: blur(8px);
}

.card-score-badge.legendary {
	background: linear-gradient(135deg, rgba(234, 179, 8, 0.85), rgba(245, 158, 11, 0.85));
	box-shadow: 0 0 16px rgba(234, 179, 8, 0.3);
}

.card-score-badge.epic {
	background: linear-gradient(135deg, rgba(168, 85, 247, 0.85), rgba(126, 34, 206, 0.85));
	box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}

.card-score-badge.rare {
	background: linear-gradient(135deg, rgba(6, 182, 212, 0.85), rgba(59, 130, 246, 0.85));
	box-shadow: 0 0 16px rgba(6, 182, 212, 0.3);
}

.card-score-badge.uncommon {
	background: linear-gradient(135deg, rgba(34, 197, 94, 0.85), rgba(22, 163, 74, 0.85));
	box-shadow: 0 0 16px rgba(34, 197, 94, 0.3);
}

.card-score-badge.common {
	background: linear-gradient(135deg, rgba(107, 114, 128, 0.85), rgba(75, 85, 99, 0.85));
	box-shadow: 0 0 16px rgba(107, 114, 128, 0.3);
}

.card-price-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: 8px;
	font-size: 0.78rem;
	font-weight: 700;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(8px);
	color: var(--text-primary);
}

.card-price-badge.free {
	color: var(--accent-green);
}

.card-body {
	padding: 16px 20px 20px;
}

.card-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-primary);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card-meta-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.card-developer {
	font-size: 0.78rem;
	color: var(--text-muted);
}

.card-release-date {
	font-size: 0.72rem;
	color: var(--text-muted);
}

.card-description {
	font-size: 0.82rem;
	color: var(--text-secondary);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 14px;
}

.card-stats {
	display: flex;
	align-items: center;
	gap: 16px;
}

.stat-item {
	display: flex;
	align-items: center;
	gap: 2px;
	font-size: 0.78rem;
	color: var(--text-secondary);
}

.stat-icon {
	font-size: 0.9rem;
}

.stat-value {
	font-weight: 700;
	color: var(--text-primary);
}

/* 好評率バー */
.review-bar-container {
	width: 100%;
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.06);
	overflow: hidden;
	margin-bottom: 12px;
}

.review-bar {
	height: 100%;
	border-radius: 2px;
	transition: width 1s ease;
}

.review-bar.legendary {
	background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.review-bar.epic {
	background: linear-gradient(90deg, #c084fc, #9333ea);
}

.review-bar.rare {
	background: linear-gradient(90deg, #22d3ee, #3b82f6);
}

.review-bar.uncommon {
	background: linear-gradient(90deg, #4ade80, #16a34a);
}

.review-bar.common {
	background: linear-gradient(90deg, #9ca3af, #4b5563);
}

.card-genres {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 5px;
}

.card-genre-tag {
	padding: 2px 8px;
	border-radius: 10px;
	background: rgba(59, 130, 246, 0.12);
	border: 1px solid rgba(59, 130, 246, 0.25);
	font-size: 0.65rem;
	color: #60a5fa;
	font-weight: 500;
}

.card-release-date {
	font-size: 0.72rem;
	color: var(--text-muted);
}

/* ============================================================
もっと読み込むボタン
============================================================ */
.load-more-area {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin: 0 auto;
	max-width: 1200px;
	padding: 32px 0;
}

/* 追加読み込みローディング */
.loading-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
}

.loading-more-spinner {
	position: relative;
	width: 40px;
	height: 40px;
}

.loading-more-spinner .spinner-ring:nth-child(1) {
	width: 40px;
	height: 40px;
}

.loading-more-spinner .spinner-ring:nth-child(2) {
	width: 28px;
	height: 28px;
	top: 6px;
	left: 6px;
}

.loading-more-spinner .spinner-ring:nth-child(3) {
	width: 16px;
	height: 16px;
	top: 12px;
	left: 12px;
}

.loading-more-text {
	font-size: 0.85rem;
	color: var(--text-secondary);
	animation: textPulse 2s ease-in-out infinite;
}

.load-more-button {
	position: relative;
	padding: 12px 40px;
	border: 1px solid var(--accent-purple);
	border-radius: var(--radius-md);
	background: transparent;
	color: var(--accent-purple);
	font-family: var(--font-main);
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	overflow: hidden;
	transition: all var(--transition-fast);
}

.load-more-button:hover {
	background: rgba(168, 85, 247, 0.1);
	box-shadow: 0 0 24px rgba(168, 85, 247, 0.2);
	transform: translateY(-2px);
}

/* ============================================================
結果なし
============================================================ */
.no-results {
	text-align: center;
	padding: 80px 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.no-results-icon {
	font-size: 4rem;
	margin-bottom: 20px;
	animation: telescopeFloat 3s ease-in-out infinite;
}

@keyframes telescopeFloat {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-10px);
	}
}

.no-results h3 {
	font-size: 1.2rem;
	color: var(--text-primary);
	margin-bottom: 12px;
}

.no-results p {
	font-size: 0.9rem;
	color: var(--text-secondary);
}

/* ============================================================
フッター
============================================================ */
#site-footer {
	position: relative;
	z-index: 10;
	text-align: center;
	padding: 20px 0;
	border-top: 1px solid var(--border-glass);
}

.footer-note {
	font-size: 0.75rem;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.footer-copy {
	font-size: 0.75rem;
	color: var(--text-muted);
}

/* ============================================================
ユーティリティ
============================================================ */
.hidden {
	display: none !important;
}

/* ============================================================
レスポンシブデザイン
============================================================ */
@media (max-width: 768px) {
	.logo-area {
		flex-direction: column;
		gap: 10px;
	}

	.logo-icon svg {
		width: 44px;
		height: 44px;
	}

	.site-title {
		font-size: 1.5rem;
	}

	.tagline {
		font-size: 0.8rem;
	}

	.header-description {
		font-size: 0.85rem;
	}

	.hide-mobile {
		display: none;
	}

	#main-content {
		padding: 0 12px 12px;
	}

	.glass-panel {
		padding: 20px 16px;
		border-radius: var(--radius-lg);
	}

	.games-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

}

@media (max-width: 480px) {
	.games-grid {
		grid-template-columns: 1fr;
	}

	.games-grid.mode-list .game-card {
		display: block;
	}

	.games-grid.mode-list .card-image-wrapper {
		margin: 0 auto;
	}
}

/* ============================================================
スケルトンローディング
============================================================ */
.skeleton-card {
	background: var(--bg-card);
	border: 1px solid var(--border-glass);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.skeleton-image {
	width: 100%;
	aspect-ratio: 15 / 7;
	background: linear-gradient(90deg, var(--bg-glass) 25%, var(--bg-glass-hover) 50%, var(--bg-glass) 75%);
	background-size: 200% 100%;
	animation: skeletonShimmer 1.5s infinite;
}

.skeleton-body {
	padding: 16px 20px 20px;
}

.skeleton-line {
	height: 14px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--bg-glass) 25%, var(--bg-glass-hover) 50%, var(--bg-glass) 75%);
	background-size: 200% 100%;
	animation: skeletonShimmer 1.5s infinite;
	margin-bottom: 10px;
}

.skeleton-line.short {
	width: 60%;
}

.skeleton-line.medium {
	width: 80%;
}

@keyframes skeletonShimmer {
	0% {
		background-position: -200% 0;
	}

	100% {
		background-position: 200% 0;
	}
}