/* =============================================
   schedule.css — 日程ページ固有スタイル
   ============================================= */

/* ===== Page header ===== */
.page-hdr {
  background: #0e2518;
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 14px;
}

.page-hdr .lbl {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #ead477;
  opacity: .7;
  margin-bottom: 6px;
}

.page-hdr h1 {
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  letter-spacing: .04em;
}

.page-hdr h1 span {
  font-size: 14px;
  color: rgba(255, 255, 255, .4);
  margin-left: 12px;
  font-weight: 400;
}

/* ===== 2カラムレイアウト ===== */
.layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 14px;
  align-items: start;
}

/* ===== Section label ===== */
.section-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 10px;
  padding-left: 4px;
}

.section-label span {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #ead477;
  opacity: .7;
  font-weight: 500;
  margin-left: 8px;
}

/* ===== Tournament section ===== */
.tournament-section {
  margin-bottom: 20px;
}

/* ===== Schedule list ===== */
.schedule-list {
  background: #0e2518;
  border-radius: 16px;
  overflow: hidden;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: .5px solid rgba(255, 255, 255, .06);
  transition: background .15s;
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-item:hover {
  background: rgba(255, 255, 255, .02);
}

.schedule-item.past {
  opacity: .45;
}

.schedule-item.today {
  background: rgba(234, 212, 119, .05);
  border-left: 2px solid #ead477;
}

.schedule-date {
  min-width: 100px;
  flex-shrink: 0;
}

.schedule-date .date-main {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.schedule-item.past .schedule-date .date-main {
  color: rgba(255, 255, 255, .5);
}

.schedule-date .date-day {
  font-size: 10px;
  color: rgba(255, 255, 255, .3);
  letter-spacing: .04em;
  margin-top: 2px;
}

.schedule-cat {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: .06em;
  min-width: 80px;
  text-align: center;
}

.schedule-cat.league {
  background: rgba(234, 212, 119, .12);
  color: #ead477;
}

.schedule-cat.tournament {
  background: rgba(76, 175, 125, .1);
  color: #4caf7d;
}

.schedule-cat.practice {
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .45);
}

.schedule-info {
  flex: 1;
  min-width: 0;
}

.schedule-title {
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.4;
  margin-bottom: 3px;
}

.schedule-item.past .schedule-title {
  color: rgba(255, 255, 255, .45);
}

.schedule-venue {
  font-size: 12px;
  color: rgba(255, 255, 255, .3);
}

/* 結果バッジ */
.schedule-result {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: .06em;
}

.schedule-result.win {
  background: rgba(76, 175, 125, .15);
  color: #4caf7d;
}

.schedule-result.loss {
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .3);
}

/* ===== サイドバー ===== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.practice-card {
  background: #0e2518;
  border-radius: 16px;
  padding: 22px;
}

.practice-card .lbl {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #ead477;
  opacity: .7;
  margin-bottom: 16px;
  font-weight: 500;
}

.practice-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: .5px solid rgba(255, 255, 255, .06);
}

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

.practice-day {
  font-size: 12px;
  color: #ead477;
  font-weight: 600;
  min-width: 60px;
  flex-shrink: 0;
}

.practice-time {
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
}

.practice-off {
  font-size: 13px;
  color: rgba(255, 255, 255, .3);
}

.practice-note {
  font-size: 11px;
  color: rgba(255, 255, 255, .3);
  margin-top: 12px;
  line-height: 1.6;
}

.venue-card {
  background: #0e2518;
  border-radius: 16px;
  padding: 22px;
}

.venue-card .lbl {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #ead477;
  opacity: .7;
  margin-bottom: 12px;
  font-weight: 500;
}

.venue-name {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 12px;
}

.venue-link {
  font-size: 12px;
  color: #ead477;
  text-decoration: none;
  border-bottom: .5px solid rgba(234, 212, 119, .3);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .page-hdr {
    padding: 20px 18px;
  }

  .page-hdr h1 {
    font-size: 22px;
  }

  .schedule-item {
    padding: 12px 14px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .schedule-date {
    min-width: auto;
  }

  .schedule-venue {
    display: none;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }
}
