/* Sportify Mobile Athletic Design System for Fencing AI Coach */

[v-cloak] {
  display: none !important;
}

/* Custom scrollbars for Clean Light Theme */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Sportify Mobile Colors & Tokens */
:root {
  --sport-bg: #F8F9FA;
  --sport-card: #FFFFFF;
  --sport-card-sub: #F3F4F6;
  --sport-border: #E5E7EB;
  --sport-red: #FF3B30;
  --sport-red-hover: #E0261B;
  --sport-green: #10B981;
  --sport-gold: #FFB800;
  --sport-blue: #3B82F6;
}

/* Mobile Container Styling */
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.sport-mobile-shell {
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #F8F9FA;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 96px; /* Space for floating bottom dock */
  overflow-x: hidden;
}

@media (min-width: 640px) {
  body {
    background-color: #EEF2F6;
  }
  .sport-mobile-shell {
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12);
    border-left: 1px solid #E2E8F0;
    border-right: 1px solid #E2E8F0;
  }
}

/* Sportify Floating Bottom Navigation Dock */
.sport-bottom-dock {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 420px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 9999px;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  z-index: 50;
  padding: 6px 12px;
}

/* Sportify Glows & Shadows */
.shadow-sport-red {
  box-shadow: 0 8px 20px -4px rgba(255, 59, 48, 0.35);
}
.shadow-sport-red-sm {
  box-shadow: 0 3px 10px 0 rgba(255, 59, 48, 0.22);
}
.shadow-sport-card {
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
}

/* 1:1 Comic Poster Recreation Typography & Styling */
.font-comic, .font-heavy {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.02em;
  font-weight: 900;
}

/* Line clamping */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Smooth transitions */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* 海报图片：允许长按弹出系统菜单（保存图片 / 发送给朋友），body 上的 select-none 不影响它 */
.poster-longpress-img {
  -webkit-touch-callout: default;
  -webkit-user-select: auto;
  user-select: auto;
  pointer-events: auto;
}
