/* =====================================
   3Dカルーセル（円柱型）スタイル
   6つのパネルが円柱状に配置され回転
   ===================================== */

/* カルーセルコンテナ */
.carousel3d-container {
  position: relative;
  width: 100%;
  height: 380px;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
}

/* ドラッグ中のカーソル */
.carousel3d--dragging {
  cursor: grabbing;
}

/* 3Dシーン */
.carousel3d-scene {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

/* 円柱コンテナ */
.carousel3d-cylinder {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* パネル共通スタイル */
.carousel3d-panel {
  position: absolute;
  width: 280px;
  height: 320px;
  transform-style: preserve-3d;
  cursor: grab;
  will-change: transform, opacity;
  transition: box-shadow 0.3s ease;
}

/* パネル内部 */
.carousel3d-panel-inner {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* アクティブパネル（最前面）のスタイル */
.carousel3d-panel--active .carousel3d-panel-inner {
  box-shadow: 0 16px 48px rgba(24, 119, 242, 0.25);
}

.carousel3d-panel--active:hover .carousel3d-panel-inner {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(24, 119, 242, 0.3);
}

/* パネルヘッダー */
.carousel3d-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #1877f2 0%, #0d5bbd 100%);
  color: #ffffff;
}

.carousel3d-panel-header i {
  font-size: 1.2rem;
}

/* 魚のSVGアイコン */
.carousel3d-fish-icon {
  width: 1.5rem;
  height: 1rem;
}

.carousel3d-panel-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

/* ヘッダーカラーバリエーション */
.carousel3d-panel-header--ranking {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.carousel3d-panel-header--reserve1 {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.carousel3d-panel-header--reserve2 {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.carousel3d-panel-header--reserve3 {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.carousel3d-panel-header--reserve4 {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* パネルボディ */
.carousel3d-panel-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* パネル内リスト */
.carousel3d-panel-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* リストアイテム */
.carousel3d-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #f8fafc;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.carousel3d-list-item:hover {
  background: #e8f4fd;
  transform: translateX(4px);
}

/* ランク番号 */
.carousel3d-list-rank {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e4e6eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #65676b;
  flex-shrink: 0;
}

.carousel3d-list-rank--1 {
  background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
  color: #ffffff;
}

.carousel3d-list-rank--1 i {
  font-size: 0.75rem;
  color: #ffffff;
}

.carousel3d-list-rank--2 {
  background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
  color: #ffffff;
}

.carousel3d-list-rank--3 {
  background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
  color: #ffffff;
}

/* リスト画像 */
.carousel3d-list-image {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e4e6eb;
}

.carousel3d-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel3d-list-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f4fd 0%, #dbeafe 100%);
}

.carousel3d-list-placeholder i {
  font-size: 1.2rem;
  color: #1877f2;
  opacity: 0.5;
}

/* リスト情報 */
.carousel3d-list-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.carousel3d-list-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1c1e21;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel3d-list-meta {
  font-size: 0.75rem;
  color: #65676b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel3d-list-meta i {
  color: #1877f2;
  font-size: 0.7rem;
}

.carousel3d-list-user {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 空状態 */
.carousel3d-panel-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #65676b;
  text-align: center;
  padding: 20px;
}

.carousel3d-panel-empty i {
  font-size: 3rem;
  color: #d8dadf;
  margin-bottom: 12px;
}

.carousel3d-panel-empty p {
  font-size: 0.95rem;
  margin: 0;
}

/* Coming Soon表示 */
.carousel3d-panel-coming-soon {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.carousel3d-panel-coming-soon i {
  font-size: 3rem;
  color: #d8dadf;
  margin-bottom: 16px;
}

.carousel3d-panel-coming-soon p {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1c1e21;
  margin: 0 0 8px 0;
}

.carousel3d-panel-coming-soon span {
  font-size: 0.9rem;
  color: #65676b;
}

/* インジケーター */
.carousel3d-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 200;
}

.carousel3d-indicator {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel3d-indicator:hover {
  background: rgba(0, 0, 0, 0.4);
  transform: scale(1.2);
}

.carousel3d-indicator.active {
  background: #1877f2;
  transform: scale(1.2);
}

/* ナビゲーションボタン */
.carousel3d-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1877f2;
  transition: all 0.2s ease;
  z-index: 200;
}

.carousel3d-nav:hover {
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(24, 119, 242, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.carousel3d-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel3d-nav svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.carousel3d-prev {
  left: 10px;
}

.carousel3d-next {
  right: 10px;
}

/* =====================================
   レスポンシブ対応
   ===================================== */

/* タブレット */
@media (max-width: 768px) {
  .carousel3d-container {
    height: 340px;
  }

  .carousel3d-panel {
    width: 240px;
    height: 280px;
  }

  .carousel3d-panel-header {
    padding: 14px 16px;
  }

  .carousel3d-panel-header h3 {
    font-size: 1rem;
  }

  .carousel3d-panel-body {
    padding: 10px;
  }

  .carousel3d-list-item {
    padding: 6px 8px;
    gap: 8px;
  }

  .carousel3d-list-image {
    width: 40px;
    height: 40px;
  }

  .carousel3d-list-name {
    font-size: 0.85rem;
  }

  .carousel3d-list-meta {
    font-size: 0.7rem;
  }

  .carousel3d-nav {
    width: 40px;
    height: 40px;
  }

  .carousel3d-nav svg {
    width: 18px;
    height: 18px;
  }

  .carousel3d-prev {
    left: 5px;
  }

  .carousel3d-next {
    right: 5px;
  }
}

/* スマートフォン - タイトルのみのミニマム表示 */
@media (max-width: 480px) {
  .carousel3d-container {
    height: 180px;
    perspective: 600px;
  }

  .carousel3d-panel {
    width: 100px;
    height: 100px;
  }

  .carousel3d-panel-inner {
    border-radius: 12px;
    justify-content: center;
  }

  /* パネルボディ（詳細部分）を非表示 */
  .carousel3d-panel-body {
    display: none;
  }

  /* ヘッダーをパネル全体に */
  .carousel3d-panel-header {
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 12px 8px;
    gap: 8px;
    border-radius: 12px;
  }

  .carousel3d-panel-header i {
    font-size: 1.5rem;
  }

  .carousel3d-panel-header h3 {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .carousel3d-indicators {
    gap: 5px;
    bottom: 5px;
  }

  .carousel3d-indicator {
    width: 6px;
    height: 6px;
  }

  .carousel3d-nav {
    width: 28px;
    height: 28px;
  }

  .carousel3d-nav svg {
    width: 12px;
    height: 12px;
  }

  .carousel3d-prev {
    left: 5px;
  }

  .carousel3d-next {
    right: 5px;
  }
}

/* iPhone SE / 小さいスマートフォン - タイトルのみミニマム表示 */
@media (max-width: 321px) {
  .carousel3d-container {
    height: 160px;
    perspective: 500px;
  }

  .carousel3d-panel {
    width: 85px;
    height: 85px;
  }

  .carousel3d-panel-header {
    padding: 10px 6px;
    gap: 6px;
  }

  .carousel3d-panel-header i {
    font-size: 1.2rem;
  }

  .carousel3d-panel-header h3 {
    font-size: 0.6rem;
  }

  .carousel3d-nav {
    width: 24px;
    height: 24px;
  }

  .carousel3d-nav svg {
    width: 10px;
    height: 10px;
  }

  .carousel3d-indicator {
    width: 5px;
    height: 5px;
  }
}

/* =====================================
   3Dカルーセルモーダル（ミニマム表示）
   ===================================== */

/* モーダルオーバーレイ（暗い背景） */
.carousel3d-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.90);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.carousel3d-modal.hidden {
  display: none;
}

/* モーダル内のカルーセルラッパー */
.carousel3d-modal-wrapper {
  width: 100%;
  max-width: 100%;
  height: 100%;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* モーダル内のカルーセルコンテナ（PC: 画面いっぱい表示） */
.carousel3d-modal .carousel3d-container {
  height: 500px;
  perspective: 1200px;
  width: 100%;
  max-width: 1200px;
}

/* モーダル内のパネル（PC: 大きく表示） */
.carousel3d-modal .carousel3d-panel {
  width: 200px;
  height: 200px;
}

.carousel3d-modal .carousel3d-panel-inner {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* パネルボディ（詳細部分）を非表示 */
.carousel3d-modal .carousel3d-panel-body {
  display: none;
}

/* ヘッダーをパネル全体に */
.carousel3d-modal .carousel3d-panel-header {
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 15px;
  gap: 12px;
  border-radius: 20px;
}

.carousel3d-modal .carousel3d-panel-header i {
  font-size: 3rem;
}

.carousel3d-modal .carousel3d-fish-icon {
  width: 3.5rem;
  height: 2.5rem;
}

.carousel3d-modal .carousel3d-panel-header h3 {
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
}

/* 閉じるボタン */
.carousel3d-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1001;
}

.carousel3d-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.carousel3d-modal-close svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
}

/* モーダル内のナビゲーションボタン（PC: 大きく） */
.carousel3d-modal .carousel3d-nav {
  background: rgba(255, 255, 255, 0.9);
  width: 56px;
  height: 56px;
}

.carousel3d-modal .carousel3d-nav svg {
  width: 28px;
  height: 28px;
}

.carousel3d-modal .carousel3d-nav:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.carousel3d-modal .carousel3d-prev {
  left: 40px;
}

.carousel3d-modal .carousel3d-next {
  right: 40px;
}

/* モーダル内のインジケーター（PC: 大きく） */
.carousel3d-modal .carousel3d-indicators {
  bottom: 30px;
  gap: 12px;
}

.carousel3d-modal .carousel3d-indicator {
  background: rgba(255, 255, 255, 0.4);
  width: 12px;
  height: 12px;
}

.carousel3d-modal .carousel3d-indicator.active {
  background: #ffffff;
}

/* タブレット */
@media (max-width: 768px) {
  .carousel3d-modal-wrapper {
    padding: 20px;
    max-width: 100%;
  }

  .carousel3d-modal .carousel3d-container {
    height: 280px;
    perspective: 600px;
  }

  .carousel3d-modal .carousel3d-panel {
    width: 100px;
    height: 100px;
  }

  .carousel3d-modal .carousel3d-panel-inner {
    border-radius: 14px;
  }

  .carousel3d-modal .carousel3d-panel-header {
    padding: 12px 8px;
    gap: 8px;
    border-radius: 14px;
  }

  .carousel3d-modal .carousel3d-panel-header i {
    font-size: 1.8rem;
  }

  .carousel3d-modal .carousel3d-panel-header h3 {
    font-size: 0.7rem;
  }

  .carousel3d-modal .carousel3d-nav {
    width: 40px;
    height: 40px;
  }

  .carousel3d-modal .carousel3d-nav svg {
    width: 18px;
    height: 18px;
  }

  .carousel3d-modal .carousel3d-prev {
    left: 15px;
  }

  .carousel3d-modal .carousel3d-next {
    right: 15px;
  }

  .carousel3d-modal .carousel3d-indicators {
    bottom: 15px;
    gap: 8px;
  }

  .carousel3d-modal .carousel3d-indicator {
    width: 8px;
    height: 8px;
  }

  .carousel3d-modal-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }

  .carousel3d-modal-close svg {
    width: 20px;
    height: 20px;
  }
}

/* スマートフォン */
@media (max-width: 480px) {
  .carousel3d-modal-wrapper {
    padding: 10px;
    max-width: 100%;
  }

  .carousel3d-modal .carousel3d-container {
    height: 220px;
    perspective: 500px;
  }

  .carousel3d-modal .carousel3d-panel {
    width: 85px;
    height: 85px;
  }

  .carousel3d-modal .carousel3d-panel-header {
    padding: 10px 6px;
    gap: 6px;
  }

  .carousel3d-modal .carousel3d-panel-header i {
    font-size: 1.4rem;
  }

  .carousel3d-modal .carousel3d-panel-header h3 {
    font-size: 0.6rem;
  }

  .carousel3d-modal .carousel3d-nav {
    width: 32px;
    height: 32px;
  }

  .carousel3d-modal .carousel3d-nav svg {
    width: 14px;
    height: 14px;
  }

  .carousel3d-modal .carousel3d-indicator {
    width: 6px;
    height: 6px;
  }

  .carousel3d-modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
  }

  .carousel3d-modal-close svg {
    width: 18px;
    height: 18px;
  }
}

/* iPhone SE */
@media (max-width: 321px) {
  .carousel3d-modal-wrapper {
    max-width: 100%;
  }

  .carousel3d-modal .carousel3d-container {
    height: 180px;
    perspective: 400px;
  }

  .carousel3d-modal .carousel3d-panel {
    width: 70px;
    height: 70px;
  }

  .carousel3d-modal .carousel3d-panel-header {
    padding: 8px 5px;
    gap: 4px;
  }

  .carousel3d-modal .carousel3d-panel-header i {
    font-size: 1.2rem;
  }

  .carousel3d-modal .carousel3d-panel-header h3 {
    font-size: 0.5rem;
  }

  .carousel3d-modal .carousel3d-nav {
    width: 28px;
    height: 28px;
  }

  .carousel3d-modal .carousel3d-nav svg {
    width: 12px;
    height: 12px;
  }

  .carousel3d-modal .carousel3d-indicator {
    width: 5px;
    height: 5px;
  }

  .carousel3d-modal-close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }

  .carousel3d-modal-close svg {
    width: 16px;
    height: 16px;
  }
}

/* =====================================
   詳細モーダル
   ===================================== */

/* クリック可能なパネル */
.carousel3d-panel--clickable {
  cursor: pointer;
}

.carousel3d-panel--clickable:hover .carousel3d-panel-inner {
  transform: scale(1.05);
}

/* 詳細モーダルオーバーレイ */
.carousel3d-detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.carousel3d-detail-modal.hidden {
  display: none;
}

/* 詳細モーダルコンテンツ */
.carousel3d-detail-content {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 幅広バージョン（旧モーダル内容用） */
.carousel3d-detail-content--wide {
  max-width: 600px;
}

/* 詳細モーダルヘッダー */
.carousel3d-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #1877f2 0%, #0d5bbd 100%);
  color: #ffffff;
}

.carousel3d-detail-header--ranking {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.carousel3d-detail-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel3d-detail-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.carousel3d-detail-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.carousel3d-detail-close svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
}

/* 詳細モーダルボディ */
.carousel3d-detail-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

/* 詳細リスト */
.carousel3d-detail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 詳細アイテム */
.carousel3d-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.carousel3d-detail-item:hover {
  background: #e8f4fd;
  transform: translateX(4px);
}

/* ランク */
.carousel3d-detail-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e4e6eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #65676b;
  flex-shrink: 0;
}

.carousel3d-detail-rank--1 {
  background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
  color: #ffffff;
}

.carousel3d-detail-rank--1 i {
  font-size: 0.9rem;
}

.carousel3d-detail-rank--2 {
  background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
  color: #ffffff;
}

.carousel3d-detail-rank--3 {
  background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
  color: #ffffff;
}

/* 画像 */
.carousel3d-detail-image {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e4e6eb;
}

.carousel3d-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel3d-detail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f4fd 0%, #dbeafe 100%);
}

.carousel3d-detail-placeholder i {
  font-size: 1.5rem;
  color: #1877f2;
  opacity: 0.5;
}

/* 情報 */
.carousel3d-detail-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.carousel3d-detail-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1c1e21;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel3d-detail-meta {
  font-size: 0.85rem;
  color: #65676b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel3d-detail-meta i {
  color: #1877f2;
}

.carousel3d-detail-user {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 空状態 */
.carousel3d-detail-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #65676b;
  text-align: center;
}

.carousel3d-detail-empty i {
  font-size: 3rem;
  color: #d8dadf;
  margin-bottom: 16px;
}

.carousel3d-detail-empty p {
  font-size: 1rem;
  margin: 0;
}

/* レスポンシブ */
@media (max-width: 480px) {
  .carousel3d-detail-modal {
    padding: 10px;
  }

  .carousel3d-detail-content {
    max-height: 85vh;
    border-radius: 12px;
  }

  .carousel3d-detail-header {
    padding: 14px 16px;
  }

  .carousel3d-detail-header h3 {
    font-size: 1rem;
  }

  .carousel3d-detail-body {
    padding: 12px;
  }

  .carousel3d-detail-item {
    padding: 10px;
    gap: 10px;
  }

  .carousel3d-detail-image {
    width: 48px;
    height: 48px;
  }

  .carousel3d-detail-name {
    font-size: 0.9rem;
  }

  .carousel3d-detail-meta {
    font-size: 0.8rem;
  }
}

/* =====================================
   モーダル内カルーセル用の調整
   ===================================== */

/* モーダル内のカルーセルボディ */
.carousel3d-modal-body {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: visible;
}

.carousel3d-modal-body .weekly-fish-summary {
  margin: 12px 16px;
}

.carousel3d-modal-body .carousel3d-container {
  position: relative;
  margin: 0 auto;
}

/* =====================================
   サポーター（ご協力のお願い）パネル
   ===================================== */

/* ヘッダーカラー */
.carousel3d-panel-header--supporter {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

/* 詳細モーダルヘッダー */
.carousel3d-detail-header--supporter {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

/* パネル内プレビュー */
.carousel3d-panel-supporter-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  gap: 12px;
}

.supporter-preview-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.supporter-preview-icon i {
  font-size: 1.5rem;
  color: #ec4899;
}

.supporter-preview-message {
  font-size: 0.9rem;
  color: #1c1e21;
  line-height: 1.5;
  margin: 0;
}

.supporter-preview-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 4px;
}

.supporter-preview-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  margin-left: -8px;
}

.supporter-preview-avatar:first-child {
  margin-left: 0;
}

.supporter-preview-more {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e4e6eb;
  color: #65676b;
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  margin-left: -8px;
}

.supporter-preview-tap-hint {
  font-size: 0.75rem;
  color: #65676b;
  margin-top: 4px;
}

/* 詳細モーダルボディ */
.supporter-detail-body {
  padding: 20px;
}

.supporter-detail-body .supporter-slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.supporter-detail-body .supporter-slide-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.supporter-detail-body .supporter-slide-icon i {
  font-size: 2rem;
  color: #ec4899;
}

/* レスポンシブ（スマホ：パネルボディ非表示） */
@media (max-width: 480px) {
  .carousel3d-panel-supporter-preview {
    display: none;
  }
}
