/* LookCat - Story Styles */

/* === STORY SCREEN === */
#storyScreen { align-items: center; gap: 14px; padding-top: calc(var(--top-h) + var(--safe-top) + 22px); }
.story-photo-wrap {
  position: relative; width: 200px; min-height: 200px;
  border-radius: var(--radius-lg); overflow: visible;
  box-shadow: var(--shadow-card), 0 0 0 3px var(--orange);
  flex-shrink: 0; aspect-ratio: 1 / 1;
}
.story-photo { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius-lg); }
.photo-overlay-btn {
  position: absolute; width: 44px; height: 44px; border-radius: 50%; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(0,0,0,.25); transition: transform .15s; z-index: 3;
}
.photo-overlay-btn:active { transform: scale(0.85); }
.photo-play-btn {
  bottom: -14px; left: -14px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff; font-size: 18px;
}
.story-char-name {
  font-family: 'Nunito', sans-serif; font-size: 30px; font-weight: 900;
  color: var(--orange); letter-spacing: -.5px; text-align: center;
}
.badge-row { display: flex; gap: 10px; align-items: center; }
.seltenheit-badge {
  padding: 5px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px;
}
.seltenheit-badge.häufig { background: var(--green-pale); color: var(--green); }
.seltenheit-badge.selten { background: #E3F2FD; color: #1565C0; }
.seltenheit-badge.episch { background: #F3E5F5; color: #7B1FA2; }
.seltenheit-badge.legendär { background: #FFF3E0; color: #E65100; border: 1px solid #FFB74D; }
.points-pop {
  font-family: 'Nunito', sans-serif; font-size: 22px; font-weight: 900; color: var(--green);
  animation: popIn .5s cubic-bezier(.175,.885,.32,1.275);
}
@keyframes popIn { 0% { transform: scale(0) rotate(-10deg); opacity: 0; } 100% { transform: scale(1) rotate(0); opacity: 1; } }

.player-card {
  width: 100%; max-width: 340px; display: flex; align-items: center; gap: 14px;
  background: var(--card); border-radius: var(--radius); padding: 16px 18px;
  box-shadow: var(--shadow-card); border: 2px solid var(--orange-light);
}
.play-btn {
  width: 52px; height: 52px; border-radius: 50%; border: none; flex-shrink: 0;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff; font-size: 22px; cursor: pointer;
  box-shadow: 0 4px 16px var(--green-glow); transition: transform .15s;
}
.play-btn:active { transform: scale(0.9); }
.progress-wrap { flex: 1; }
.progress-label { font-size: 11px; color: var(--text-soft); font-weight: 700; margin-bottom: 6px; }
.progress-bar { height: 6px; background: #EEE; border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--orange), var(--green-light)); width: 0%; transition: width .15s; border-radius: 3px; }

.story-actions {
  display: flex; gap: 12px; width: 100%; max-width: 340px; margin-top: 8px;
}
.story-actions button {
  flex: 1; padding: 14px 16px; border-radius: 16px; border: 2px solid #E0E0E0;
  background: #fff; cursor: pointer; font-family: 'Nunito', sans-serif;
  font-size: 15px; font-weight: 800; display: flex; align-items: center;
  justify-content: center; gap: 8px; transition: all .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.story-actions button:active { transform: scale(0.95); }
.story-actions .btn-back {
  color: var(--green); border-color: var(--green-pale);
  background: var(--green-pale);
}
.story-actions .btn-back:hover { background: var(--green); color: #fff; }
.story-actions .btn-delete {
  color: #C62828; border-color: #FFCDD2;
  background: #FFF5F5;
}
.story-actions .btn-delete:hover { background: #C62828; color: #fff; }

.story-kategorie {
  font-size: 13px; color: var(--text-soft); font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
}
.story-meta {
  margin-top: 6px; display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.kw-voice {
  font-size: 13px; font-weight: 700; color: var(--text);
}
.kw-row {
  display: flex; flex-wrap: wrap; gap: 4px; justify-content: center;
}
.kw-tag {
  display: inline-block; font-size: 13px; font-weight: 600;
  background: #F5A623; color: #fff;
  padding: 2px 8px; border-radius: 10px;
}
.kw-tag.kw-matched {
  background: #4A8B3F;
}
.story-text-box {
  font-size: 18px; color: var(--text); line-height: 1.7; max-width: 340px;
  text-align: center; font-weight: 600; padding: 0 8px;
}

/* === ABOUT SCREEN === */
#aboutScreen { align-items: center; gap: 12px; padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 40px); background: #fff; }
.about-hero { width: 100%; text-align: center; margin-bottom: -8px; }
.about-hero img { width: 300px; margin-bottom: -135px; }
.about-logo { width: 180px; }
.about-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border-radius: 18px; padding: 18px 20px;
  width: 100%; max-width: 400px;
  box-shadow: 0 4px 16px rgba(0,0,0,.05); border: 2px solid #F0EDE8;
}
.about-icon { font-size: 30px; flex-shrink: 0; line-height: 1.2; }
.about-text { font-size: 15px; color: var(--text); line-height: 1.6; font-weight: 600; }

/* === ALBUM SCREEN === */
#albumScreen { gap: 14px; }
.section-title {
  font-family: 'Nunito', sans-serif; font-size: 22px; font-weight: 900;
  color: var(--text); padding-top: 4px;
}
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.album-card {
  background: var(--card); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 0 0 3px var(--orange);
  cursor: pointer; transition: transform .15s;
}
.album-card:active { transform: scale(0.95); }
.album-card .thumb {
  width: 100%; aspect-ratio: 1; background: var(--orange-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; position: relative; overflow: hidden;
}
.album-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.album-card .meta { display: none; }
.album-empty {
  text-align: center; color: var(--text-soft); padding: 48px 24px;
  font-size: 16px; font-weight: 700;
}
.album-empty .empty-icon { font-size: 48px; margin-bottom: 12px; display: block; }
