/* ===== コンポーネント専用スタイル ===== */

/* ===== カード系コンポーネント ===== */
.card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--valorant-red);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.card:hover::before {
    opacity: 1;
}

/* ===== プレイヤーカード ===== */
.player-card {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    transition: var(--transition-normal);
}

.player-card:hover {
    border-color: var(--valorant-red);
    box-shadow: var(--shadow-glow);
}

.player-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1rem;
    color: white;
}

.player-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.player-rank {
    color: var(--valorant-yellow);
    font-weight: 500;
    font-size: 0.9rem;
}

.player-stats {
    margin-left: auto;
    display: flex;
    gap: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--valorant-red);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ===== エージェントカード ===== */
.agent-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.agent-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.agent-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--valorant-red), transparent);
    opacity: 0;
    transition: var(--transition-slow);
    animation: rotate 3s linear infinite;
}

.agent-card:hover::before {
    opacity: 0.1;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.agent-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
}

.agent-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.agent-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.agent-winrate {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.winrate-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.winrate-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--valorant-green);
}

/* ===== マップカード ===== */
.map-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    cursor: pointer;
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--valorant-blue);
}

.map-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
}

.map-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, var(--bg-secondary), transparent);
}

.map-info {
    padding: 1.5rem;
}

.map-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.map-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.map-stats {
    display: flex;
    justify-content: space-between;
}

.map-stat {
    text-align: center;
}

.map-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--valorant-blue);
}

.map-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ===== リーダーボード ===== */
.leaderboard-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
}

.tab-button {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.tab-button.active,
.tab-button:hover {
    border-color: var(--valorant-red);
    color: var(--text-primary);
    background: rgba(255, 70, 84, 0.1);
}

.leaderboard-table {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.leaderboard-header {
    background: var(--bg-tertiary);
    padding: 1rem;
    display: grid;
    grid-template-columns: 60px 1fr auto auto auto;
    gap: 1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.leaderboard-row {
    padding: 1rem;
    display: grid;
    grid-template-columns: 60px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.leaderboard-row:hover {
    background: rgba(255, 70, 84, 0.05);
}

.leaderboard-row:last-child {
    border-bottom: none;
}

.rank-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--valorant-yellow);
    text-align: center;
}

.rank-number.top-3 {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.player-name {
    font-weight: 600;
}

.player-rr {
    color: var(--valorant-red);
    font-weight: 700;
}

/* ===== ボタンコンポーネント ===== */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--valorant-red);
    background: rgba(255, 70, 84, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--valorant-red);
    border: 2px solid var(--valorant-red);
}

.btn-outline:hover {
    background: var(--valorant-red);
    color: white;
}

/* ===== ボタングループ ===== */
.button-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.button-group .btn {
    flex: 1;
    min-width: 0;
}

/* ===== バッジコンポーネント ===== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-rank {
    background: var(--gradient-primary);
    color: white;
}

.badge-agent {
    background: var(--gradient-secondary);
    color: white;
}

.badge-map {
    background: var(--gradient-accent);
    color: white;
}

/* ===== ローディングアニメーション ===== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--valorant-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* ===== エラーメッセージ ===== */
.error-message {
    background: rgba(255, 70, 84, 0.1);
    border: 1px solid var(--valorant-red);
    border-radius: 12px;
    padding: 1rem;
    color: var(--valorant-red);
    text-align: center;
    margin: 1rem 0;
}

.success-message {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--valorant-green);
    border-radius: 12px;
    padding: 1rem;
    color: var(--valorant-green);
    text-align: center;
    margin: 1rem 0;
}

/* ===== モーダルコンポーネント ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    border: 1px solid var(--border-color);
    transform: translateY(-20px);
    transition: var(--transition-normal);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--valorant-red);
}

/* ===== 追加のレスポンシブ&インタラクティブ要素 ===== */

/* 検索フィルター */
.search-filters,
.agent-filters,
.map-filters,
.leaderboard-filters {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.filter-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.filter-group select,
.filter-group input[type="range"] {
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--valorant-red);
    box-shadow: 0 0 0 2px rgba(255, 70, 84, 0.2);
}

/* 統計サマリー */
.filter-stats {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.stats-summary {
    color: var(--text-secondary);
    font-weight: 500;
}

/* マッチ結果カード */
.match-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* allow children to stretch vertically */
    width: 100%; /* stretch horizontally to container */
    transition: var(--transition-fast);
}

/* When card has a background image, show it spanning the card and add a dark overlay for legibility */
.match-card.has-bg {
    background: none; /* allow image to show */
    position: relative;
    overflow: hidden;
}

.match-card.has-bg::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.45);
    pointer-events: none;
    z-index: 1;
}

.match-card.has-bg {
    background-size: cover;
    background-position: center;
}

/* inner thumbnail that sits in the card's top-left corner */
.match-card .match-bg {
    position: absolute;
    left: 10px;
    top: 5px;
    width: 848px;
    height: 153px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    z-index: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* ensure match-info content does not overlap the thumbnail */
.match-card .match-info {
    padding-left: 140px; /* leave space for thumbnail + gap */
}

.match-card.win {
    border-left-color: var(--valorant-green);
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.05), var(--bg-secondary));
}

.match-card.loss {
    border-left-color: var(--valorant-red);
    background: linear-gradient(90deg, rgba(255, 70, 84, 0.05), var(--bg-secondary));
}

.match-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.match-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1 1 auto; /* fill available horizontal space */
    min-width: 0; /* allow shrinking in flexbox layouts */
}

/* Background image support for match cards (uses valorant_images/<mapKey>_list_icon.png) */
.match-info {
    min-width: 220px;
    padding: 10px 12px;
    position: relative;
    color: #fff;
    z-index: 2; /* above card overlay */
}


.match-info > * {
    position: relative; /* keep text above overlay */
    z-index: 2;
}

.match-map {
    font-weight: 600;
    font-size: 0.95rem;
}

.match-agent {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.match-result {
    text-align: center;
}

.match-score {
    font-weight: 700;
    font-size: 1rem;
}

.match-rating {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.match-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* プレイヤー比較テーブル */
.comparison-table {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-table tr:hover {
    background: rgba(255, 70, 84, 0.05);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* コールアウト要素 */
.callouts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.callout-tag {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.callout-tag:hover {
    background: var(--valorant-red);
    color: white;
    transform: translateY(-2px);
}

/* アビリティリスト */
.abilities-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ability-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.ability-item:hover {
    border-color: var(--valorant-red);
    transform: translateX(5px);
}

.ability-key {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
}

.ability-info {
    flex: 1;
}

.ability-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.ability-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 戦略リスト */
.strategies-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.strategy-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border-left: 4px solid var(--valorant-blue);
    transition: var(--transition-fast);
}

.strategy-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.strategy-number {
    width: 30px;
    height: 30px;
    background: var(--valorant-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
}

.strategy-text {
    flex: 1;
    font-weight: 500;
}

/* ヒントリスト */
.tips-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.tip-item:hover {
    border-color: var(--valorant-yellow);
    background: rgba(244, 208, 63, 0.05);
}

.tip-item i {
    color: var(--valorant-yellow);
    font-size: 1.1rem;
}

/* プログレスバー */
.rank-progress-bar {
    margin: 1rem 0;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.progress-track {
    height: 12px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 6px;
    transition: width 1s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

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

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* パフォーマンス統計 */
.stats-grid-player {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card-player {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-normal);
}

.stat-card-player:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--valorant-red);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.stat-info {
    flex: 1;
}

.stat-info .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-info .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== 高度なレスポンシブデザイン ===== */

/* タブレット (768px - 1024px) */
@media (max-width: 1024px) {
    .filter-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid-player {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .abilities-list .ability-item {
        flex-direction: column;
        text-align: center;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
}

/* モバイル (max-width: 768px) */
@media (max-width: 768px) {
    .search-filters,
    .agent-filters,
    .map-filters,
    .leaderboard-filters {
        padding: 1.5rem;
    }
    
    .filter-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-stats {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats-grid-player {
        grid-template-columns: 1fr;
    }
    
    .match-card {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .callouts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ability-item {
        flex-direction: column;
        text-align: center;
    }
    
    .strategy-item {
        flex-direction: column;
        text-align: center;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
}

/* 小さなモバイル (max-width: 480px) */
@media (max-width: 480px) {
    .search-filters,
    .agent-filters,
    .map-filters,
    .leaderboard-filters {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .callouts-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-player {
        gap: 1rem;
    }
    
    .stat-card-player {
        padding: 1rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
        padding: 1rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0a0e13;
        --bg-secondary: #151b24;
        --bg-tertiary: #1f2937;
    }
}

/* 高コントラストモード対応 */
@media (prefers-contrast: high) {
    :root {
        --border-color: #ffffff;
        --text-secondary: #ffffff;
        --text-muted: #cccccc;
    }
    
    .card,
    .player-card,
    .agent-card,
    .map-card {
        border-width: 2px;
    }
}

/* アニメーション無効化対応 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== メッセージ表示 ===== */
.loading-message,
.error-message,
.success-message {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    animation: slideInRight 0.3s ease;
}

.loading-message {
    background: rgba(0, 212, 255, 0.9);
    border: 1px solid var(--valorant-blue);
}

.error-message {
    background: rgba(255, 70, 84, 0.9);
    border: 1px solid var(--valorant-red);
}

.success-message {
    background: rgba(0, 255, 136, 0.9);
    border: 1px solid var(--valorant-green);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* タッチデバイス用スタイル */
@media (hover: none) {
    .card:hover,
    .player-card:hover,
    .agent-card:hover,
    .map-card:hover {
        transform: none;
    }
    
    .callout-tag:hover,
    .ability-item:hover,
    .strategy-item:hover {
        transform: none;
    }
    
    /* タッチ用の大きなタップ領域 */
    button,
    .nav-link,
    .tab-button {
        min-height: 44px;
        min-width: 44px;
    }
}