/** Shopify CDN: Minification failed

Line 7:8 Expected identifier but found whitespace
Line 7:9 Unexpected "32px"

**/
  width: 32px;
  height: 32px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
}

.audio-progress {
  flex: 1;
  height: 4px;
  background-color: #333;
  border-radius: 2px;
  overflow: hidden;
  margin: 0 8px;
}

.audio-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  border-radius: 2px;
  width: 15%;
}

.audio-time {
  color: var(--color-white);
  font-size: 10px;
  flex-shrink: 0;
}

.expand-btn {
  color: #999;
  padding: 4px;
}

.expand-btn:hover {
  color: var(--color-white);
}

/* ========================================
   MODE SELECTION PAGE
   ======================================== */
.mode-selection-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #FAF7F2 0%, #F5F0E8 100%);
  padding-bottom: var(--footer-height);
}

.mode-selection-content {
  padding: calc(var(--header-height) + 32px) 24px 24px;
}

.mode-book-identity {
  text-align: center;
  margin-bottom: 24px;
}

.mode-book-symbol {
  font-size: 48px;
  margin-bottom: 16px;
  animation: float-symbol 3s ease-in-out infinite;
}

@keyframes float-symbol {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-4px) scale(1.02);
  }
}

.mode-book-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.mode-subtitle {
  font-size: 16px;
  color: var(--color-text-light);
}

.mode-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mode-card {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #E5E5E5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.mode-card:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 40px rgba(30, 58, 95, 0.3);
  background: linear-gradient(135deg, var(--color-secondary) 0%, #152A45 100%);
}

.mode-card:hover .mode-card-icon {
  background-color: rgba(255, 255, 255, 0.15);
}

.mode-card:hover .mode-card-title,
.mode-card:hover .mode-card-desc {
  color: var(--color-white);
}

.mode-card:hover .mode-card-icon svg {
  stroke: var(--color-white);
}

.mode-card.audio:hover {
  box-shadow: 0 12px 40px rgba(139, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--color-primary) 0%, #6B0000 100%);
}

.mode-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.mode-card.disabled:hover {
  transform: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  background-color: var(--color-white);
}

.mode-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.mode-card-icon.read {
  background-color: #EEF2FF;
}

.mode-card-icon.audio {
  background-color: #FEE2E2;
}

.mode-card-icon svg {
  width: 32px;
  height: 32px;
  transition: stroke 0.3s;
}

.mode-card-icon.read svg {
  stroke: var(--color-secondary);
}

.mode-card-icon.audio svg {
  stroke: var(--color-primary);
}

.mode-card-content {
  flex: 1;
}

.mode-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.mode-card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-light);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.audio-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FEE2E2;
  border-radius: 8px;
  padding: 8px 12px;
  transition: background-color 0.3s;
}

.mode-card:hover .audio-info {
  background-color: rgba(255, 255, 255, 0.1);
}

.audio-info-icon {
  width: 32px;
  height: 32px;
  background-color: rgba(139, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-info-text {
  font-size: 12px;
  color: var(--color-primary);
  transition: color 0.3s;
}

.mode-card:hover .audio-info-text {
  color: rgba(255, 255, 255, 0.9);
}

.mode-helper-text {
  text-align: center;
  padding: 32px 32px 16px;
  font-size: 12px;
  color: #9CA3AF;
  line-height: 1.6;
}

/* ========================================
   POLICY PAGES (Terms, Privacy, Refund)
   ======================================== */
.policy-page {
  min-height: 100vh;
  background-color: var(--color-background);
  padding-top: calc(var(--header-height) + 16px);
  padding-bottom: calc(var(--footer-height) + 16px);
}

.policy-container {
  max-width: 768px;
  margin: 0 auto;
  padding: 24px 16px;
}

.policy-card {
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 24px;
  margin-bottom: 16px;
}

.policy-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.policy-section {
  margin-bottom: 24px;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.policy-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.policy-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 8px;
}

.policy-list li {
  margin-bottom: 4px;
}

.policy-date {
  font-size: 12px;
  color: #999;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 8px;
}

.gap-4 {
  gap: 16px;
}

.hidden {
  display: none;
}

@media (min-width: 1024px) {
  .lg\:hidden {
    display: none;
  }

  .lg\:flex {
    display: flex;
  }
}

