/* ===== 星光岛勇气挑战赛 6-5 ===== */
.star-courage-challenge-page {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sc5-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(135deg, #0a1540 0%, #0d2060 30%, #081850 70%, #050d30 100%);
  overflow: hidden;
}

.sc5-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(100, 180, 255, 0.7), transparent),
    radial-gradient(1px 1px at 30% 40%, rgba(255, 210, 100, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 50% 15%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 65% 60%, rgba(100, 180, 255, 0.6), transparent),
    radial-gradient(2px 2px at 80% 30%, rgba(255, 180, 60, 0.4), transparent),
    radial-gradient(1px 1px at 88% 75%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 40% 85%, rgba(100, 180, 255, 0.5), transparent),
    radial-gradient(1px 1px at 20% 70%, rgba(255, 210, 100, 0.4), transparent),
    radial-gradient(1px 1px at 72% 50%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 55% 92%, rgba(255, 180, 60, 0.3), transparent);
  pointer-events: none;
}

.sc5-bg img {
  display: none !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.sc5-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.sc5-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 22px 10px;
  overflow-y: auto;
}

/* 顶部标题区 */
.sc5-header {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}

.sc5-banner {
  width: 100%;
  max-width: 720px;
  height: 170px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 8px;
  box-shadow: 0 8px 30px rgba(40, 80, 220, 0.3),
              0 4px 14px rgba(255, 159, 67, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.sc5-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sc5-title-group {
  text-align: center;
}

.sc5-title {
  font-size: 42px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 5px;
  text-shadow:
    0 0 20px rgba(80, 140, 255, 0.8),
    0 0 40px rgba(255, 170, 60, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.5);
  margin-bottom: 4px;
}

.sc5-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #FFD166;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-shadow: 0 0 10px rgba(255, 209, 102, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.sc5-spark {
  color: #FFD166;
  font-size: 13px;
  text-shadow: 0 0 10px rgba(255, 209, 102, 0.9);
  animation: sccSparkle 2s ease-in-out infinite;
}

@keyframes sccSparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* 主区域 */
.sc5-main {
  flex: 1;
  display: flex;
  gap: 14px;
  min-height: 0;
  margin-bottom: 10px;
}

.sc5-left-col,
.sc5-right-col {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
}

.sc5-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  overflow-y: auto;
}

/* 玻璃面板 - 蓝橙冒险风 */
.sc5-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(25, 40, 110, 0.78) 0%, rgba(18, 28, 85, 0.78) 50%, rgba(30, 50, 130, 0.75) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sc5-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.sc5-panel-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(255, 170, 60, 0.4));
}

.sc5-panel-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FF9F43, #FF6B35);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(255, 159, 67, 0.4);
}

.sc5-tag-blue {
  background: linear-gradient(135deg, #48DBFB, #0ABDE3);
  box-shadow: 0 2px 8px rgba(72, 219, 251, 0.4);
}

/* 挑战赛介绍 */
.sc5-intro-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.sc5-intro-text {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.sc5-intro-text .sc5-intro-gap {
  margin-top: 6px;
}

.sc5-intro-mascot {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 14px rgba(255, 170, 60, 0.4));
  margin-right: -4px;
  margin-bottom: -4px;
}

/* 勇气状态 */
.sc5-status-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc5-status-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sc5-status-avatar {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px;
  border: 2px solid rgba(255, 209, 102, 0.5);
  flex-shrink: 0;
}

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

.sc5-status-name {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
}

.sc5-status-level {
  font-size: 11px;
  color: #FFD166;
  font-weight: 700;
}

.sc5-status-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 900;
  color: #FFD166;
  text-shadow: 0 0 10px rgba(255, 209, 102, 0.5);
}

.sc5-status-stars img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.sc5-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sc5-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.sc5-progress-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.sc5-progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #FF9F43, #FFD166);
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.6);
  transition: width 0.5s ease;
}

/* 勇气徽章 */
.sc5-medal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.sc5-medal-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.25s ease;
  filter: grayscale(0.8) opacity(0.5);
}

.sc5-medal-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.sc5-medal-item.sc5-medal-got {
  filter: none;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.15), rgba(255, 159, 67, 0.1));
  border-color: rgba(255, 209, 102, 0.3);
}

.sc5-medal-item.sc5-medal-current {
  filter: none;
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.2), rgba(80, 140, 255, 0.15));
  border-color: rgba(255, 159, 67, 0.5);
  box-shadow: 0 0 20px rgba(255, 159, 67, 0.2);
  animation: sccPulse 2s ease-in-out infinite;
}

@keyframes sccPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 159, 67, 0.2); }
  50% { box-shadow: 0 0 30px rgba(255, 159, 67, 0.4); }
}

.sc5-medal-glow {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.4) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
}

.sc5-medal-item.sc5-medal-got .sc5-medal-glow {
  opacity: 1;
}

.sc5-glow-active {
  background: radial-gradient(circle, rgba(255, 159, 67, 0.6) 0%, transparent 70%);
  animation: sccGlow 1.5s ease-in-out infinite;
}

@keyframes sccGlow {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.3); }
}

.sc5-medal-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(255, 209, 102, 0.3));
}

.sc5-medal-item.sc5-medal-got img,
.sc5-medal-item.sc5-medal-current img {
  filter: drop-shadow(0 2px 12px rgba(255, 209, 102, 0.5));
}

.sc5-medal-item span {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.sc5-medal-item.sc5-medal-got span,
.sc5-medal-item.sc5-medal-current span {
  color: #FFFFFF;
}

.sc5-medal-tag {
  position: absolute;
  bottom: 2px;
  right: 4px;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 8px;
  background: linear-gradient(135deg, #FF9F43, #FF6B35);
  color: #FFFFFF;
  z-index: 2;
}

/* 关卡路线 */
.sc5-levels-panel {
  flex: 0 0 auto;
}

.sc5-level-road {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
}

.sc5-road-line {
  position: absolute;
  left: 32px;
  top: 40px;
  bottom: 40px;
  width: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 0;
}

.sc5-road-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(180deg, #FFD166, #FF9F43);
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.5);
  transition: height 0.5s ease;
}

.sc5-level-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  margin-bottom: 8px;
  z-index: 1;
  transition: all 0.25s ease;
}

.sc5-level-node:last-child {
  margin-bottom: 0;
}

.sc5-level-done {
  background: rgba(107, 203, 119, 0.12);
  border: 1px solid rgba(107, 203, 119, 0.25);
}

.sc5-level-current {
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.2), rgba(80, 140, 255, 0.15));
  border: 1px solid rgba(255, 159, 67, 0.4);
  box-shadow: 0 4px 16px rgba(255, 159, 67, 0.15);
}

.sc5-level-locked {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.6;
}

.sc5-node-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(107, 203, 119, 0.3), rgba(76, 175, 80, 0.3));
  border: 3px solid #6BCB77;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(107, 203, 119, 0.3);
}

.sc5-circle-current {
  background: linear-gradient(135deg, #FF9F43, #FF6B35);
  border-color: #FFD166;
  box-shadow: 0 0 25px rgba(255, 159, 67, 0.5);
  animation: sccNodePulse 2s ease-in-out infinite;
}

@keyframes sccNodePulse {
  0%, 100% { box-shadow: 0 0 25px rgba(255, 159, 67, 0.5); }
  50% { box-shadow: 0 0 40px rgba(255, 159, 67, 0.8); }
}

.sc5-circle-locked {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.sc5-node-circle img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.sc5-circle-locked img {
  filter: grayscale(1);
}

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

.sc5-node-info h4 {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.sc5-level-locked .sc5-node-info h4 {
  color: rgba(255, 255, 255, 0.6);
}

.sc5-node-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  margin-bottom: 3px;
}

.sc5-level-locked .sc5-node-info p {
  color: rgba(255, 255, 255, 0.4);
}

.sc5-node-reward {
  font-size: 11px;
  font-weight: 700;
  color: #FFD166;
}

.sc5-node-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6BCB77, #4CAF50);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(107, 203, 119, 0.4);
}

.sc5-node-lock {
  font-size: 22px;
  flex-shrink: 0;
  opacity: 0.6;
}

.sc5-node-btn {
  flex-shrink: 0;
}

/* 排行榜 */
.sc5-rank-panel {
  flex: 1;
  min-height: 0;
}

.sc5-rank-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sc5-rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sc5-rank-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}

.sc5-rank-top1 {
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.2), rgba(255, 159, 67, 0.15));
  border-color: rgba(255, 209, 102, 0.4);
}

.sc5-rank-top2 {
  background: linear-gradient(135deg, rgba(200, 210, 230, 0.15), rgba(180, 190, 210, 0.1));
  border-color: rgba(200, 210, 230, 0.3);
}

.sc5-rank-top3 {
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.2), rgba(180, 100, 40, 0.15));
  border-color: rgba(205, 127, 50, 0.4);
}

.sc5-rank-me {
  background: linear-gradient(135deg, rgba(80, 140, 255, 0.2), rgba(60, 110, 220, 0.15));
  border-color: rgba(80, 140, 255, 0.4);
}

.sc5-rank-pos {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.sc5-rank-top1 .sc5-rank-pos { background: linear-gradient(135deg, #FFD166, #FF9F43); color: #5C3D05; }
.sc5-rank-top2 .sc5-rank-pos { background: linear-gradient(135deg, #E0E6F0, #C0C8D8); color: #3A4050; }
.sc5-rank-top3 .sc5-rank-pos { background: linear-gradient(135deg, #CD7F32, #A86528); color: #FFFFFF; }
.sc5-rank-me .sc5-rank-pos { background: linear-gradient(135deg, #48DBFB, #0ABDE3); color: #0A3D5C; }

.sc5-rank-avatar {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px;
  flex-shrink: 0;
}

.sc5-rank-name {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sc5-rank-score {
  font-size: 14px;
  font-weight: 900;
  color: #FFD166;
  text-shadow: 0 0 8px rgba(255, 209, 102, 0.4);
}

.sc5-rank-medal {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

/* 今日挑战 */
.sc5-daily-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sc5-daily-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sc5-daily-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}

.sc5-daily-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  color: transparent;
}

.sc5-check-done {
  background: linear-gradient(135deg, #6BCB77, #4CAF50);
  border-color: #6BCB77;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(107, 203, 119, 0.3);
}

.sc5-daily-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.sc5-daily-name {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
}

.sc5-daily-reward {
  font-size: 10px;
  color: #FFD166;
  font-weight: 700;
}

/* 通关奖励 */
.sc5-reward-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc5-reward-main {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.15), rgba(255, 159, 67, 0.1));
  border: 1px solid rgba(255, 209, 102, 0.3);
}

.sc5-reward-trophy {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 16px rgba(255, 209, 102, 0.5));
  animation: sccTrophyShine 3s ease-in-out infinite;
}

@keyframes sccTrophyShine {
  0%, 100% { filter: drop-shadow(0 4px 16px rgba(255, 209, 102, 0.5)); }
  50% { filter: drop-shadow(0 4px 24px rgba(255, 209, 102, 0.8)); }
}

.sc5-reward-info h4 {
  font-size: 14px;
  font-weight: 800;
  color: #FFD166;
  margin-bottom: 2px;
}

.sc5-reward-info p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.sc5-reward-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sc5-reward-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

/* 规则 */
.sc5-rule-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sc5-rule-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.sc5-rule-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF9F43, #FFD166);
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 6px rgba(255, 159, 67, 0.5);
}

.sc5-rule-item p {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

/* 操作按钮组 */
.sc5-action-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

/* 按钮 */
.sc5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 38px;
  border-radius: 20px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sc5-btn-large {
  height: 48px;
  font-size: 16px;
  border-radius: 24px;
}

.sc5-btn-primary {
  background: linear-gradient(180deg, #FFB347 0%, #FF9F43 35%, #FF6B35 65%, #E55A2B 100%);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  box-shadow:
    0 4px 0 #C44A1F,
    0 6px 18px rgba(255, 107, 53, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.sc5-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 0 #C44A1F,
    0 10px 26px rgba(255, 107, 53, 0.55);
}

.sc5-btn-secondary {
  background: linear-gradient(180deg, rgba(80, 140, 255, 0.85) 0%, rgba(50, 100, 220, 0.92) 50%, rgba(35, 80, 190, 0.95) 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 4px 0 rgba(20, 50, 140, 0.9),
    0 6px 16px rgba(50, 100, 220, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.sc5-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 0 rgba(20, 50, 140, 0.9),
    0 10px 22px rgba(50, 100, 220, 0.5);
}

.sc5-btn-gold {
  height: 34px;
  padding: 0 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #FFECB3 0%, #FFD166 35%, #F4C542 65%, #E8A838 100%);
  color: #5C3D05;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  box-shadow:
    0 3px 0 #C97D20,
    0 5px 14px rgba(244, 197, 66, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sc5-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow:
    0 5px 0 #C97D20,
    0 8px 20px rgba(244, 197, 66, 0.5);
}

.sc5-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #FFD166;
  border: 1px solid rgba(255, 209, 102, 0.25);
  height: 32px;
  font-size: 12px;
  align-self: center;
  width: auto;
  padding: 0 20px;
}

.sc5-btn-ghost:hover {
  background: rgba(255, 209, 102, 0.12);
  border-color: rgba(255, 209, 102, 0.5);
}

/* 底部栏 */
.sc5-bottom-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(25, 40, 110, 0.7) 0%, rgba(18, 28, 85, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sc5-bottom-left {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.sc5-bottom-char {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(80, 140, 255, 0.4));
  margin-bottom: -6px;
}

.sc5-bottom-text {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.45;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.sc5-bottom-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sc5-bottom-action {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.25s ease;
}

.sc5-bottom-action:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.sc5-action-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(80, 140, 255, 0.4), rgba(255, 159, 67, 0.3));
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15);
}

.sc5-action-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sc5-action-text strong {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
}

.sc5-action-text small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

/* 返回链接 */
.sc5-back-link {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  transition: all 0.25s ease;
}

.sc5-back-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-3px);
}

.sc5-back-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
}

.sc5-back-link p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  font-weight: 600;
}

/* Toast 动画 */
@keyframes sccToastIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* 响应式 */
@media (max-width: 1300px) {
  .sc5-left-col,
  .sc5-right-col {
    width: 230px;
  }

  .sc5-title {
    font-size: 34px;
  }

  .sc5-banner {
    height: 140px;
  }

  .sc5-bottom-action {
    padding: 6px 10px;
  }

  .sc5-action-text small {
    display: none;
  }
}

@media (max-width: 1100px) {
  .sc5-left-col,
  .sc5-right-col {
    width: 200px;
  }

  .sc5-bottom-char {
    width: 52px;
    height: 52px;
  }

  .sc5-bottom-text {
    font-size: 12px;
  }

  .sc5-node-circle {
    width: 46px;
    height: 46px;
  }

  .sc5-node-circle img {
    width: 28px;
    height: 28px;
  }

  .sc5-road-line {
    left: 27px;
  }
}

/* ===== 交互效果 ===== */

/* 卡片hover效果 */
.sc5-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.sc5-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* 按钮交互 */
.sc5-action-btn, .sc5-return-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}
.sc5-action-btn:hover, .sc5-return-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.sc5-action-btn:active, .sc5-return-btn:active {
  transform: scale(0.97);
  filter: brightness(0.95);
}

/* 徽章交互 */
.sc5-badge {
  transition: transform 0.2s ease;
  cursor: pointer;
}
.sc5-badge:hover {
  transform: scale(1.08);
}

/* 任务项交互 */
.sc5-task-item {
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.sc5-task-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

/* 底部按钮交互 */
.sc5-bottom-btn {
  transition: transform 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}
.sc5-bottom-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.sc5-bottom-btn:active {
  transform: scale(0.97);
}

/* 角色图片交互 */
.sc5-char-img, .sc5-character-img {
  transition: transform 0.3s ease;
  cursor: pointer;
}
.sc5-char-img:hover, .sc5-character-img:hover {
  transform: scale(1.05) translateY(-4px);
}

/* 进度条交互 */
.sc5-progress-item {
  transition: transform 0.2s ease;
  cursor: pointer;
}
.sc5-progress-item:hover {
  transform: scale(1.02);
}
