﻿/* ========================================
   トップページ専用CSS - リニューアル版
======================================== */
.ms-top, .ms-top * { box-sizing: border-box; }

:root {
    --pink: #E8436A;
    --pink-light: #F06B8A;
    --pink-pale: #FFF0F3;
    --navy: #1A1F36;
    --navy-mid: #2D3557;
    --gray: #6B7280;
    --gray-light: #F4F5F7;
    --border: #E8EAED;
    --yellow: #F59E0B;
    --green: #10B981;
    --blue: #3B82F6;
    --purple: #8B5CF6;
    --orange: #F97316;
}

body.home { background: var(--gray-light); }
.ms-top { font-size: 13px; color: var(--navy); }

/* ===== HERO ===== */
.ms-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); padding: 28px 20px; }
.ms-hero-inner { max-width: 1400px; margin: 0 auto; }
.ms-hero-title { font-size: 22px; font-weight: 900; color: white; margin-bottom: 4px; line-height: 1.4; }
.ms-hero-title .accent { color: #FF8FAB; }
.ms-hero-sub { font-size: 12px; color: rgba(255,255,255,0.45); margin-bottom: 16px; }
.ms-search-bar { display: flex; gap: 8px; margin-bottom: 12px; align-items: stretch; }
.ms-search-bar input { flex: 1; min-width: 0; padding: 12px 16px; border: none; border-radius: 6px; font-size: 14px; font-family: inherit; outline: none; box-sizing: border-box; height: 46px; }
.ms-search-btn { flex-shrink: 0; padding: 0 20px; background: var(--pink); color: white; font-size: 14px; font-weight: 700; border: none; border-radius: 6px; cursor: pointer; white-space: nowrap; font-family: inherit; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; height: 46px; box-sizing: border-box; }


/* ===== WEATHER BANNER ===== */
.ms-weather-banner { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 10px 16px; margin-bottom: 16px; flex-wrap: wrap; }
.ms-weather-icon { font-size: 26px; flex-shrink: 0; }
.ms-weather-info { flex-shrink: 0; }
.ms-weather-temp { font-size: 13px; font-weight: 800; color: white; line-height: 1.3; }
.ms-weather-desc { font-size: 10px; color: rgba(255,255,255,0.55); }
.ms-weather-chips { display: flex; gap: 5px; flex-wrap: wrap; flex: 1; }
.ms-weather-chip { padding: 4px 10px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.85); text-decoration: none; white-space: nowrap; transition: background 0.2s; }
.ms-weather-chip:hover { background: rgba(255,255,255,0.22); color: white; }



/* ===== STATS BAR ===== */
.ms-stats-bar { background: white; border-bottom: 1px solid var(--border); padding: 10px 20px; }
/* 近くのスポット NEWバナー */
.ms-near-new { background: linear-gradient(90deg, #fff1f4 0%, #fff8e1 100%); border: 3px solid #E8436A !important; padding: 12px 16px; position: relative; overflow: hidden; border-radius: 10px; }
.ms-near-new::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(232,67,106,0.04) 0px, rgba(232,67,106,0.04) 2px, transparent 2px, transparent 10px); pointer-events: none; }
.ms-near-new-link { display: block; text-decoration: none; }
.ms-near-new-badge { display: inline-block; background: #E8436A; color: #fff; font-size: 0.65rem; font-weight: 900; padding: 3px 8px; border-radius: 4px; letter-spacing: 0.08em; margin-bottom: 8px; animation: ms-near-pulse 1.5s ease-in-out infinite; }
@keyframes ms-near-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.85;transform:scale(1.05)} }
@keyframes ms-near-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
.ms-near-new-body { display: flex; align-items: center; gap: 10px; }
.ms-near-new-icon { font-size: 28px; line-height: 1; flex-shrink: 0; animation: ms-near-bounce 2s ease-in-out infinite; }
.ms-near-new-text { flex: 1; min-width: 0; }
.ms-near-new-title { font-size: 0.95rem; font-weight: 800; color: #1a2744; letter-spacing: 0.02em; line-height: 1.6; }
.ms-near-new-btn { background: linear-gradient(135deg, #E8436A 0%, #ff6b6b 100%); color: #fff; font-size: 0.82rem; font-weight: 800; padding: 9px 18px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; transition: all 0.18s; box-shadow: 0 3px 10px rgba(232,67,106,0.4); }
.ms-near-new-link:hover .ms-near-new-btn { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(232,67,106,0.5); }
.ms-stats-bar-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ms-stat-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray); }
.ms-stat-num { font-size: 16px; font-weight: 800; color: var(--pink); }
.ms-stat-div { width: 1px; height: 16px; background: var(--border); }

/* ===== MAIN 2COL ===== */
.ms-main { max-width: 1400px; margin: 0 auto; padding: 16px 20px; display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; width: 100%; box-sizing: border-box; }

/* ===== SECTION ===== */
.ms-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ms-section-title { font-size: 14px; font-weight: 900; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.ms-section-title::before { content: ''; display: block; width: 4px; height: 14px; background: var(--pink); border-radius: 2px; flex-shrink: 0; }
.ms-section-more { font-size: 11px; color: var(--pink); font-weight: 700; text-decoration: none; }
.ms-block { background: white; border-radius: 8px; padding: 16px; margin-bottom: 14px; border: 1px solid var(--border); }


/* ===== SPOT CARDS ===== */
.ms-spot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ms-spot-card { background: white; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: all 0.2s; text-decoration: none; color: inherit; display: block; }
.ms-spot-card:hover { border-color: var(--pink); box-shadow: 0 4px 16px rgba(232,67,106,0.1); transform: translateY(-2px); }
.ms-spot-thumb { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--gray-light); display: flex; align-items: center; justify-content: center; }
.ms-spot-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.ms-spot-card:hover .ms-spot-thumb img { transform: scale(1.04); }
.ms-spot-thumb-placeholder { font-size: 32px; }
.ms-spot-rating-badge { position: absolute; bottom: 5px; left: 5px; background: rgba(0,0,0,0.68); color: white; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; display: flex; align-items: center; gap: 2px; }
.ms-badge-star { color: var(--yellow); }
.ms-spot-new-badge { position: absolute; top: 5px; right: 5px; background: var(--pink); color: white; font-size: 9px; font-weight: 900; padding: 2px 5px; border-radius: 3px; }
.ms-spot-body { padding: 8px 9px 9px; }
.ms-spot-name { font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.ms-spot-tags { display: flex; gap: 3px; flex-wrap: wrap; margin-bottom: 5px; }
.ms-spot-tag { font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 3px; }
.ms-tag-genre { background: var(--pink-pale); color: var(--pink); }
.ms-tag-area { background: #EFF6FF; color: var(--blue); }
.ms-spot-meta { display: flex; align-items: center; justify-content: space-between; }
.ms-spot-rating-text { font-size: 11px; font-weight: 700; color: var(--yellow); }
.ms-spot-reviews { font-size: 10px; color: var(--gray); }
.ms-spot-wants { font-size: 10px; color: var(--gray); }

/* ===== REVIEW FEED ===== */
.ms-review-feed { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.ms-review-item { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 11px 12px; display: grid; grid-template-columns: 40px 1fr; gap: 10px; transition: border-color 0.2s; width: calc(50% - 4px); box-sizing: border-box; align-items: start; }
.ms-review-item:hover { border-color: var(--pink); }
.ms-review-body { min-width: 0; }
.ms-review-thumb { width: 40px; height: 40px; border-radius: 6px; overflow: hidden; background: var(--gray-light); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ms-review-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ms-review-thumb-placeholder { font-size: 20px; }
.ms-review-header { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; flex-wrap: wrap; }
.ms-review-avatar { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--pink-light)); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: white; flex-shrink: 0; overflow: hidden; }
.ms-review-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ms-review-user { font-size: 11px; font-weight: 700; color: var(--navy); }
.ms-review-arrow { font-size: 9px; color: var(--gray); }
.ms-review-spot { font-size: 11px; font-weight: 700; color: var(--pink); text-decoration: none; }
.ms-review-spot:hover { text-decoration: underline; }
.ms-review-stars { font-size: 10px; color: var(--yellow); margin-left: auto; font-weight: 700; }
.ms-review-time { font-size: 10px; color: #bbb; }
.ms-review-text { font-size: 11px; color: var(--gray); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }

/* ===== COLUMN ===== */
.ms-column-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ms-column-card { background: white; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: all 0.2s; text-decoration: none; color: inherit; display: block; }
.ms-column-card:hover { border-color: var(--purple); box-shadow: 0 4px 16px rgba(139,92,246,0.1); transform: translateY(-2px); }
.ms-column-thumb { aspect-ratio: 16/9; overflow: hidden; position: relative; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); display: flex; align-items: center; justify-content: center; font-size: 44px; }
.ms-column-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ms-column-cat { position: absolute; top: 8px; left: 8px; background: var(--purple); color: white; font-size: 9px; font-weight: 900; padding: 2px 8px; border-radius: 3px; }
.ms-column-body { padding: 10px 12px 12px; }
.ms-column-title { font-size: 12px; font-weight: 700; color: var(--navy); line-height: 1.5; margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ms-column-date { font-size: 10px; color: var(--gray); }

/* ===== ROUTE MAP ===== */
.ms-route-line { display: flex; align-items: stretch; gap: 0; margin-bottom: 12px; }
.ms-route-label { font-size: 10px; font-weight: 900; padding: 6px 8px; border-radius: 4px 0 0 4px; display: flex; align-items: center; justify-content: center; min-width: 52px; white-space: nowrap; flex-shrink: 0; }
.ms-route-stations { flex: 1; overflow-x: auto; scrollbar-width: none; position: relative; padding: 0 4px; }
.ms-route-stations::-webkit-scrollbar { display: none; }
.ms-route-stations-inner { display: flex; align-items: flex-start; position: relative; min-width: max-content; padding-top: 6px; }
/* ラインをinnerに対してabsoluteで引く（スクロール幅全体に伸びる） */
.ms-route-stations-inner::before { content: ''; position: absolute; top: 20px; left: 0; right: 0; height: 3px; z-index: 0; }
.ms-line-nanboku .ms-route-label { background: #22C55E; color: white; }
.ms-line-nanboku .ms-route-stations { background: #F0FFF4; }
.ms-line-nanboku .ms-route-stations-inner::before { background: #22C55E; }
.ms-line-tozai .ms-route-label { background: #F97316; color: white; }
.ms-line-tozai .ms-route-stations { background: #FFF7ED; }
.ms-line-tozai .ms-route-stations-inner::before { background: #F97316; }
.ms-line-toho .ms-route-label { background: #3B82F6; color: white; }
.ms-line-toho .ms-route-stations { background: #EFF6FF; }
.ms-line-toho .ms-route-stations-inner::before { background: #3B82F6; }
.ms-station-node { display: flex; flex-direction: column; align-items: center; gap: 3px; position: relative; z-index: 1; flex-shrink: 0; padding: 0 5px; text-decoration: none; transition: transform 0.2s; }
.ms-station-node:hover { transform: scale(1.1); }
.ms-station-circle { width: 28px; height: 28px; border-radius: 50%; background: white; border: 3px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 800; transition: all 0.2s; box-shadow: 0 2px 6px rgba(0,0,0,0.1); flex-shrink: 0; }
.ms-station-node:hover .ms-station-circle { background: currentColor; }
.ms-station-node:hover .ms-station-circle span { color: white !important; }
.ms-station-name { font-size: 9px; font-weight: 700; color: var(--navy); white-space: nowrap; text-align: center; }
.ms-station-count { font-size: 8px; color: var(--gray); min-height: 11px; }
.ms-line-nanboku .ms-station-circle { color: #22C55E; }
.ms-line-nanboku .ms-station-circle span { color: #22C55E; }
.ms-line-tozai .ms-station-circle { color: #F97316; }
.ms-line-tozai .ms-station-circle span { color: #F97316; }
.ms-line-toho .ms-station-circle { color: #3B82F6; }
.ms-line-toho .ms-station-circle span { color: #3B82F6; }

/* ===== SCENE ===== */
.ms-scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ms-scene-card { display: block; text-decoration: none; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); transition: all 0.2s; }
.ms-scene-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.ms-scene-icon { padding: 18px 12px; text-align: center; font-size: 28px; }
.ms-scene-body { padding: 8px 10px 10px; background: white; }
.ms-scene-name { font-size: 12px; font-weight: 900; color: var(--navy); margin-bottom: 2px; }
.ms-scene-count { font-size: 10px; color: var(--gray); }

/* ===== GENRE RANKING ===== */
.ms-genre-rank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ms-genre-rank-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.ms-genre-rank-header { padding: 8px 12px; font-size: 12px; font-weight: 900; color: white; }
.ms-genre-rank-item { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: background 0.2s; }
.ms-genre-rank-item:last-child { border-bottom: none; }
.ms-genre-rank-item:hover { background: var(--gray-light); }
.ms-genre-rank-num { font-size: 11px; font-weight: 800; width: 16px; text-align: center; flex-shrink: 0; }
.ms-genre-rank-thumb { width: 36px; height: 36px; border-radius: 5px; overflow: hidden; background: var(--gray-light); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.ms-genre-rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ms-genre-rank-info { flex: 1; min-width: 0; }
.ms-genre-rank-name { font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-genre-rank-meta { font-size: 9px; color: var(--gray); }
.ms-genre-rank-star { font-size: 10px; color: var(--yellow); font-weight: 700; flex-shrink: 0; }

/* ===== SIDEBAR ===== */
.ms-sidebar { display: flex; flex-direction: column; gap: 12px; }
.ms-sidebar-card { background: white; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.ms-sidebar-header { padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--gray-light); display: flex; align-items: center; justify-content: space-between; }
.ms-sidebar-title { font-size: 13px; font-weight: 900; color: var(--navy); }
.ms-sidebar-more { font-size: 11px; color: var(--pink); font-weight: 700; text-decoration: none; }

.ms-stats-widget-grid { padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ms-stats-widget-item { border-radius: 6px; padding: 10px; text-align: center; }
.ms-stats-widget-num { font-size: 22px; font-weight: 800; line-height: 1; }
.ms-stats-widget-label { font-size: 10px; color: var(--gray); margin-top: 2px; }

.ms-want-rank-list { padding: 4px 0; }
.ms-want-rank-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: background 0.2s; }
.ms-want-rank-item:last-child { border-bottom: none; }
.ms-want-rank-item:hover { background: var(--gray-light); }
.ms-want-rank-num { font-size: 12px; font-weight: 800; width: 18px; text-align: center; flex-shrink: 0; }
.ms-want-rank-thumb { width: 36px; height: 36px; border-radius: 6px; background: var(--gray-light); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; overflow: hidden; }
.ms-want-rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ms-want-rank-info { flex: 1; min-width: 0; }
.ms-want-rank-name { font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.ms-want-rank-meta { font-size: 9px; color: var(--gray); }
.ms-want-rank-count { font-size: 12px; color: var(--pink); font-weight: 800; flex-shrink: 0; }

.ms-user-rank-list { padding: 4px 0; }
.ms-user-rank-item { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-bottom: 1px solid var(--border); transition: background 0.2s; }
.ms-user-rank-item:last-child { border-bottom: none; }
.ms-rank-num { font-size: 12px; font-weight: 800; width: 18px; text-align: center; flex-shrink: 0; }
.ms-rank-1 { color: #D97706; } .ms-rank-2 { color: #6B7280; } .ms-rank-3 { color: #B45309; } .ms-rank-o { color: #9CA3AF; }
.ms-rank-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--pink-light)); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: white; flex-shrink: 0; overflow: hidden; }
.ms-rank-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ms-rank-info { flex: 1; min-width: 0; }
.ms-rank-name { font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-rank-count { font-size: 10px; color: var(--gray); }
.ms-rank-mine { background: var(--pink-pale); padding: 8px 12px; font-size: 11px; color: var(--pink); font-weight: 700; text-align: center; }

/* ===== ADVENTURER RANKING ===== */
.ms-adv-rank-list { padding: 4px 0; }
.ms-adv-rank-item { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--border); transition: background 0.2s; }
.ms-adv-rank-item:last-child { border-bottom: none; }
.ms-adv-rank-item:hover { background: var(--gray-light); }
.ms-adv-rank-item.ms-adv-rank-top1 { background: linear-gradient(90deg, #FFFBEB 0%, #fff 100%); }
.ms-adv-rank-num { font-size: 13px; font-weight: 800; width: 22px; text-align: center; flex-shrink: 0; }
.ms-adv-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--pink-light)); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: white; flex-shrink: 0; overflow: hidden; border: 2px solid transparent; }
.ms-adv-rank-item.ms-adv-rank-top1 .ms-adv-avatar { border-color: #F59E0B; }
.ms-adv-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ms-adv-info { flex: 1; min-width: 0; }
.ms-adv-name { font-size: 12px; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.ms-adv-badge-row { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ms-adv-title-badge { font-size: 9px; font-weight: 700; color: var(--gray); white-space: nowrap; }
.ms-adv-stats { font-size: 10px; color: var(--gray); margin-top: 2px; }
.ms-adv-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.ms-adv-level { font-size: 18px; font-weight: 900; color: var(--navy); line-height: 1; }
.ms-adv-level span { font-size: 20px; font-weight: 900; color: var(--pink); }
.ms-adv-exp { font-size: 10px; color: var(--pink); font-weight: 700; }
.ms-adv-sub { font-size: 9px; color: var(--gray); white-space: nowrap; }
.ms-adv-rank-mine { background: var(--pink-pale); padding: 8px 14px; font-size: 11px; color: var(--pink); font-weight: 700; display: flex; align-items: center; justify-content: space-between; }
.ms-adv-rank-mine-detail { font-size: 10px; color: var(--gray); font-weight: 400; }
.ms-howto-br { display: none; }
.ms-howto-sp { display: none; background: white; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 14px; }

.ms-cta-sidebar { background: linear-gradient(135deg, var(--pink), var(--pink-light)); border-radius: 8px; padding: 16px; text-align: center; }
.ms-cta-title { font-size: 13px; font-weight: 900; color: white; margin-bottom: 6px; line-height: 1.5; }
.ms-cta-sub { font-size: 11px; color: rgba(255,255,255,0.8); margin-bottom: 14px; line-height: 1.6; }
.ms-cta-btn-white { display: block; padding: 9px; background: white; color: var(--pink); font-size: 12px; font-weight: 900; text-decoration: none; border-radius: 5px; margin-bottom: 6px; }
.ms-cta-btn-outline { display: block; padding: 9px; border: 1.5px solid rgba(255,255,255,0.6); color: white; font-size: 11px; font-weight: 700; text-decoration: none; border-radius: 5px; }

.ms-station-grid-side { padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 5px; }
.ms-station-btn-side { padding: 4px 9px; background: var(--gray-light); border: 1px solid var(--border); border-radius: 4px; font-size: 10px; font-weight: 700; color: var(--navy); text-decoration: none; transition: all 0.2s; }
.ms-station-btn-side:hover { background: var(--pink-pale); border-color: var(--pink); color: var(--pink); }

.ms-news-side-list { padding: 4px 0; }
.ms-news-side-item { display: flex; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: background 0.2s; }
.ms-news-side-item:last-child { border-bottom: none; }
.ms-news-side-item:hover { background: var(--gray-light); }
.ms-news-side-cat { font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 3px; white-space: nowrap; align-self: flex-start; margin-top: 2px; }
.ms-cat-info { background: #EFF6FF; color: var(--blue); }
.ms-cat-col { background: var(--pink-pale); color: var(--pink); }
.ms-news-side-title { font-size: 11px; font-weight: 500; color: var(--navy); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .ms-main { grid-template-columns: 1fr; }
    .ms-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ms-hero { padding: 20px 16px; }
    .ms-hero-title { font-size: 18px; }
    .ms-search-bar { flex-direction: row; }
    .ms-search-bar input { font-size: 13px; padding: 0 12px; }
    .ms-search-btn { font-size: 13px; padding: 0 14px; }
    .ms-top { overflow-x: hidden; width: 100%; }
    .ms-main { padding: 8px; width: 100%; box-sizing: border-box; }
    .ms-content { width: 100%; min-width: 0; box-sizing: border-box; }
    .ms-block { padding: 12px; box-sizing: border-box; }
    .ms-spot-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .ms-spot-thumb { aspect-ratio: 3/2; }
    .ms-howto-br { display: inline; }
    .ms-howto-sp { display: block; }
    .ms-review-feed { display: block; }
    .ms-review-item { width: 100%; margin-bottom: 8px; }
    .ms-column-grid { grid-template-columns: 1fr; gap: 0; }
    .ms-column-card { display: flex; flex-direction: row; border-radius: 0; border-bottom: none; border-left: none; border-right: none; border-top: 1px solid var(--border); }
    .ms-column-card:first-child { border-radius: 8px 8px 0 0; }
    .ms-column-card:last-child { border-bottom: 1px solid var(--border); border-radius: 0 0 8px 8px; }
    .ms-column-thumb { width: 90px; min-width: 90px; aspect-ratio: 1/1; border-radius: 0; }
    .ms-column-body { flex: 1; padding: 8px 10px; display: flex; flex-direction: column; justify-content: center; }
    .ms-column-title { font-size: 12px; -webkit-line-clamp: 3; }
    .ms-genre-rank-grid { grid-template-columns: 1fr; }
    .ms-scene-grid { grid-template-columns: repeat(2, 1fr); }
    .ms-sidebar { grid-template-columns: 1fr; }
    .ms-today-badge { margin-left: 0; }
    .ms-route-stations-inner::before { top: 18px; }
}
@media (max-width: 480px) {
    .ms-column-grid { grid-template-columns: 1fr; }
}