.sprint-action-btn {
  width: 100%;
  padding: 12px;
  border: 2px solid rgba(14, 165, 233, 0.5);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #0c4a6e;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.sprint-action-btn:hover {
  background: rgba(14, 165, 233, 0.1);
}

/* スプリントタブのスタイル */
/* NOTE: もくにけーしょん/スプリントのタブバーは utilities.css 側で統一管理 */

/* スプリントセクション */
.sprint-section {
  padding: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

.sprint-section:last-child {
  border-bottom: none;
}

/* 参加中スプリントカード */
.sprint-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(14, 165, 233, 0.5);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
}

.sprint-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.sprint-card-title {
  font-weight: 600;
  font-size: 16px;
  color: #0c4a6e;
}

.sprint-card-status {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 600;
}

/* チーム進捗バー */
.sprint-progress {
  margin-bottom: 12px;
}

.sprint-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 12px;
  color: #64748b;
}

.sprint-progress-bar {
  width: 100%;
  height: 24px;
  background: #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.sprint-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #0ea5e9 100%);
  transition: width 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.sprint-progress-fill.over-100 {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

/* 個人貢献度 */
.sprint-contribution {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}

.sprint-contribution-value {
  font-weight: 600;
  color: #0c4a6e;
}

/* 今日の一言 */
.sprint-daily-message {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(14, 165, 233, 0.5);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.sprint-daily-message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sprint-daily-message-title {
  font-weight: 600;
  font-size: 14px;
  color: #0c4a6e;
}

.sprint-daily-message-sprint-name {
  font-size: 12px;
  color: #64748b;
}

.sprint-daily-message-content {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}

/* 日報 */
.sprint-reports {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(14, 165, 233, 0.5);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.sprint-reports-header {
  font-weight: 600;
  font-size: 14px;
  color: #0c4a6e;
  margin-bottom: 12px;
}

.sprint-report-form {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

.sprint-report-form textarea {
  width: 100%;
  min-height: 80px;
  padding: 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.sprint-report-form button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  background: #3b82f6;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 12px;
}

.sprint-report-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sprint-report-item {
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.sprint-report-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sprint-report-item-author {
  font-weight: 600;
  font-size: 12px;
  color: #0c4a6e;
}

.sprint-report-item-date {
  font-size: 11px;
  color: #64748b;
}

.sprint-report-item-sprint {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 4px;
}

.sprint-report-item-content {
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
}

/* アクションボタン */
.sprint-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0;
}

/* メイン企画ボタン */
.sprint-create-btn {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 
    0 4px 12px rgba(14, 165, 233, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sprint-create-btn:hover {
  transform: translateY(-1px);
  box-shadow: 
    0 6px 16px rgba(14, 165, 233, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  filter: brightness(1.05);
}

.sprint-create-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(14, 165, 233, 0.2);
}

/* ビュー切り替えToggle */
.sprint-view-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 3px;
  border-radius: 999px;
  position: relative;
  isolation: isolate;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.3);
  overflow: hidden;
  gap: 2px;
}

.sprint-view-toggle-btn {
  height: 30px;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 12px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.sprint-view-toggle-btn.is-active {
  background: #fff !important;
  color: #0ea5e9;
  box-shadow: 
    0 2px 8px rgba(14, 165, 233, 0.15),
    0 1px 2px rgba(0, 0, 0, 0.05);
}

.sprint-view-toggle-btn:not(.is-active):hover {
  background: rgba(255, 255, 255, 0.5);
  color: #475569;
}

/* 既存のアクションセグメント（レガシー互換用または削除検討） */
.sprint-actions-segment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2px;
  border-radius: 999px;
  position: relative;
  isolation: isolate;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.50);
  overflow: hidden;
  gap: 2px;
}

.sprint-actions-segment::before {
  /* Aurora Rim: うっすらオーロラ外周が回る（上品寄り） */
  content: "";
  position: absolute;
  inset: -120%;
  background: conic-gradient(
    from 210deg,
    rgba(14, 165, 233, 0.00),
    rgba(56, 189, 248, 0.28),
    rgba(255, 255, 255, 0.50),
    rgba(14, 165, 233, 0.35),
    rgba(14, 165, 233, 0.00)
  );
  opacity: 0.32; /* 土台が主張しすぎないよう少し抑える */
  filter: blur(10px);
  animation: sprintHoloRing 4.8s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes sprintHoloRing {
  to {
    transform: rotate(360deg);
  }
}

.sprint-actions-segment-btn {
  height: 28px;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 10px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.sprint-actions-segment-btn.is-active,
.sprint-actions-segment-btn[aria-pressed="true"] {
  /* Jewel Card: 白カード＋青グロー（上品） */
  background: radial-gradient(
      circle at 18% 10%,
      rgba(255, 255, 255, 0.95),
      rgba(255, 255, 255, 0.76) 48%,
      rgba(240, 249, 255, 0.92) 100%
    ) !important;
  color: #0ea5e9;
  box-shadow:
    0 14px 28px rgba(14, 165, 233, 0.22),
    0 2px 6px rgba(15, 23, 42, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -2px 0 rgba(2, 132, 199, 0.10);
  outline: 1px solid rgba(14, 165, 233, 0.20);
  outline-offset: -1px;
}

.sprint-actions-segment-btn.is-active::after,
.sprint-actions-segment-btn[aria-pressed="true"]::after {
  /* 薄いプリズム膜で“豪華感”だけ足す（白い波/スイープは文字が見づらいので使わない） */
  content: "";
  position: absolute;
  inset: -35%;
  background:
    conic-gradient(
      from 120deg,
      rgba(56, 189, 248, 0.00),
      rgba(56, 189, 248, 0.18),
      rgba(255, 255, 255, 0.22),
      rgba(14, 165, 233, 0.18),
      rgba(56, 189, 248, 0.00)
    );
  opacity: 0.38;
  filter: blur(11px);
  mix-blend-mode: screen;
  animation: sprintPrismFilm 5.6s linear infinite;
  pointer-events: none;
}

@keyframes sprintPrismFilm {
  to { transform: rotate(360deg); }
}

.sprint-actions-segment-btn:not(.is-active):not([aria-pressed="true"]):hover {
  background: rgba(255, 255, 255, 0.45);
  color: #475569;
}

.sprint-actions-segment-btn:active {
  transform: translateY(0.5px);
}

.sprint-actions-segment-btn:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.35);
  outline-offset: 1px;
}

/* 空状態 */
.sprint-empty {
  text-align: center;
  padding: 40px 20px;
  color: #9ca3af;
  font-size: 14px;
}

.sprint-empty-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: #64748b;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .sprint-card {
    padding: 12px;
  }
  
  .sprint-card-title {
    font-size: 14px;
  }
  
  .sprint-progress-bar {
    height: 20px;
  }
  
  .sprint-daily-message,
  .sprint-reports {
    padding: 12px;
  }
}



