/* ===== ベース ===== */
html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  background-color: #e6e6e6;
  color: #404040;
  -webkit-font-smoothing: antialiased;
}

.container {
  padding: 16px;
}

/* ===== タイトル ===== */
h1 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
}

/* ===== 時計 ===== */
#clock {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 10px;
}

/* ===== 現在ステージ ===== */
#current-stage,
#next-stage {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ===== フィルタ ===== */
.filter-group {
  margin-bottom: 10px;
}

#time-filters {
  display: flex;
  flex-wrap: wrap;
}

#result-count {
  font-size: 0.9rem;
  /* margin-bottom: 6px; */
  /* opacity: 0.8; */
  text-align: center;
}

button {
  margin: 2px;
  padding: 8px 6px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: #4c7ee8;
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  transition: 0.2s;
}

/*
button:hover {
  background: rgba(67,111,204,0.4);
}
  */

button.active {
  background: #e67e17;
}

/* ===== リスト ===== */
.list {
  transition: opacity 0.3s ease;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #ccc;
  font-size: 0.95rem;
}

/* 時刻（弱め） */
.row span:first-child {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ステージ名（強調） */
.row span:last-child {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== フェード ===== */
.list.fade-out {
  opacity: 0;
}

.list.fade-in {
  opacity: 1;
}

/* ===== ステージカラー ===== */
.stage-Palaistra {
  color: #1976d2;
}

.stage-VolcanicHeart {
  color: #d32f2f;
}

.stage-CloudNine {
  color: #388e3c;
}

.stage-ClockworkCastletown {
  color: #7b1fa2;
}

.stage-RedSands {
  color: #F04E23;
}

.stage-BaysideBattleground {
  color: #007a88;
}

.stage-ArcheiaHarmonias {
  color: #00ae95;
}

.date-header {
  margin-top: 12px;
  padding: 6px 0;
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1px solid #aaa;
  opacity: 0.8;
}

/* ===== レスポンシブ（PC対応） ===== */
@media (min-width: 768px) {
  .container {
    max-width: 500px;
    margin: 0 auto;
  }
}



/* ===== カードデザイン ===== */

/* フィルタカード */
#filters {
  background: #ffffff;
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* リストカード */
#list {
  background: #ffffff;
  padding: 10px 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);

  border-bottom: 10px solid #262626 ;
  border-radius: 0 0 6px 6px;
}

/* 件数表示もカードに寄せる */
#result-count{
  background: #262626;
  color: #cccccc;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  
  border-radius: 6px 6px 0 0;
}

/* フィルタグループの区切りを少し見やすく */
.filter-group {
  margin-bottom: 12px;
}

/* ボタンを少しカードに馴染ませる */
button {
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}