/* Home page */
.sectionTitle {
  margin-top: 0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: #1d1d1f;
  font-weight: 600;
  font-size: 1.25rem;
}

.sectionTitle--compact {
  font-size: 1.15rem;
}

.sectionTitleIcon {
  margin-right: 10px;
  color: #6e6e73;
}

.sectionTitleIcon--success {
  color: #34c759;
}

.sectionTitleIcon--primary {
  color: #007aff;
}

.homeSetupList {
  display: grid;
  gap: 0.9rem;
}

.homeEventGrid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.homeNavGrid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.home-nav-link {
  display: block;
  padding: 1.25rem;
  background: #f5f5f7;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
}

.homeNavStatHead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}

.homeNavStatLabel {
  font-size: 0.9rem;
  color: #6e6e73;
  font-weight: 500;
}

.homeNavStatValue {
  font-size: 2rem;
  font-weight: 700;
  color: #1d1d1f;
}

/* Home — ランク／コイン（将来表示用・sectionTitle と併用） */
.homeRankPanel {
  background: #f5f5f7;
  border-radius: 8px;
  padding: 1rem;
}

.homeRankSummaryRow {
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.homeRankStatLabel {
  font-size: 0.9rem;
  color: #6e6e73;
}

.homeRankStatValue {
  font-size: 1.25rem;
  font-weight: 600;
  margin-left: 8px;
}

.homeRankStatValue--accent {
  color: var(--rankAccent, #007aff);
}

.homeRankStatValue--strong {
  color: #1d1d1f;
}

.homeRankMedalIcon {
  margin-right: 6px;
}

.homeCoinPanel {
  background: #f5f5f7;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e5e5e7;
}

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

.homeCoinBalanceLabel {
  font-size: 0.9rem;
  color: #6e6e73;
  margin-bottom: 0.25rem;
}

.homeCoinAmount {
  font-size: 2rem;
  font-weight: 700;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  gap: 8px;
}

.homeCoinGoldIcon {
  color: #ffd700;
  font-size: 1.75rem;
}

.homeCoinHistoryBtn {
  padding: 8px 16px;
  background: #ffffff;
  color: #1d1d1f;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #d2d2d7;
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.homeCoinHistoryBtnIcon {
  font-size: 0.85rem;
}

.homeCheckInBox {
  background: #f8fafc;
  border: 1px solid #34c759;
  border-radius: 10px;
  padding: 1.25rem;
}

.homeCheckInTitle {
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  color: #34c759;
  font-size: 1rem;
  font-weight: 600;
}

.homeCheckInTitleIcon {
  margin-right: 8px;
}

.homeCheckInList {
  display: grid;
  gap: 0.75rem;
}

.homeCheckInItem {
  background: #ffffff;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #f8fafc;
}

.homeCheckInEventName {
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
}

.homeCheckInEventTime {
  font-size: 0.85rem;
  color: #6e6e73;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-checkin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #34c759;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Check-in QR + event list layout */
.homeCheckInFlex {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.homeCheckInQRCard {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 8px;
  padding: 1.25rem;
  border: 1px solid #f8fafc;
  text-decoration: none;
}

.homeCheckInQRTitle {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #34c759;
  margin-bottom: 0.4rem;
}

.homeCheckInQRDesc {
  font-size: 0.95rem;
  color: #6e6e73;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.homeCheckInQRImageWrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 240px;
  background: #f5f5f7;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.homeCheckInQRImage {
  width: min(100%, 260px);
  aspect-ratio: 1 / 1;
  height: auto;
  background: white;
  border-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
}

.homeCheckInQRCta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #34c759;
  font-weight: 600;
  font-size: 0.95rem;
}

.homeCheckInEventList {
  flex: 1 1 340px;
  min-width: 0;
  display: grid;
  gap: 0.75rem;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.homeCheckInEventItem {
  background: #ffffff;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #f8fafc;
}

.homeCheckInEventTimes {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.homeCheckInEventTimeRow {
  font-size: 0.85rem;
  color: #6e6e73;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  column-gap: 8px;
}

.homeCheckInEventTimeIcon {
  width: 18px;
  text-align: center;
}

.homeCheckInEventDetailLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #007aff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .homeNavGrid2 {
    grid-template-columns: 1fr;
  }
}

