/* ═══════════════════════════════════════
   SPOT DETAIL SHEET
   ═══════════════════════════════════════ */

.sheet-detail {
  max-height: 88dvh;
  z-index: calc(var(--sheet-z) + 10);
}

/* ── TOPBAR (ersetzt Hero) ───────────── */
.detail-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 12px;
  flex-shrink: 0;
  gap: 10px;
}

.detail-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 50px;
  background: var(--surface);
  border: 1px solid var(--border2);
  color: var(--text2);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
}
.detail-action-btn:active {
  background: var(--surface2);
  transform: scale(0.96);
}
.detail-action-nav {
  color: var(--accent3);
  background: var(--accent-bg);
  border-color: var(--accent-border);
}
.detail-action-nav:active {
  background: rgba(139,92,246,0.2);
}

.btn-report-spot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: auto;          /* WICHTIG */
  flex: 0 0 auto;       /* WICHTIG */
  align-self: center;   /* optional, stabilisiert */

  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.22);
  background: rgba(239, 68, 68, 0.08);
  color: #f87171;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.18s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-report-spot:active {
  transform: scale(0.97);
  background: rgba(239, 68, 68, 0.16);
}
.btn-report-spot svg {
  flex-shrink: 0;
  opacity: 0.95;
}

.detail-close {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.detail-close:active { transform: scale(0.9); background: var(--surface2); }
.detail-close svg { width: 16px; height: 16px; }


/* ── BODY ────────────────────────────── */
.detail-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 4px 20px 40px;
  flex: 1;
  scrollbar-width: none;
}
.detail-body::-webkit-scrollbar { display: none; }

.detail-name {
  font-family: var(--font-head);
  font-size: 24px; font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.detail-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 18px;
}
.sport-badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px; font-weight: 600;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  color: var(--accent3);
}
.rating-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600;
  color: var(--amber);
}
.rating-badge span { color: var(--text3); font-weight: 400; }

/* ── WIND CARD ───────────────────────── */
.wind-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.wind-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.wind-card-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--text2); font-weight: 600; margin-bottom: 14px;
}
.wind-card-label::before { content: '⚡ '; }

.wind-card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  align-items: center;
}
.wind-stat { text-align: center; }
.wind-stat-val {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 700;
  line-height: 1;
}
.wind-stat-val.good   { color: var(--green); }
.wind-stat-val.amber  { color: var(--amber); }
.wind-stat-val.accent { color: var(--accent2); }
.wind-stat-unit  { font-size: 11px; color: var(--text3); margin-top: 2px; }
.wind-stat-label { font-size: 11px; color: var(--text2); margin-top: 4px; }

/* ── WIND ARROW ──────────────────────── */
.wind-stat-arrow { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.wind-arrow-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
}
.wind-arrow-svg { overflow: visible; }

/* ── INFO GRID ───────────────────────── */
.info-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 16px;
}
.info-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.info-tile-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text3); font-weight: 600; margin-bottom: 5px; }
.info-tile-val   { font-size: 13px; font-weight: 500; color: var(--text); }

/* ── RATE BUTTON ─────────────────────── */
.rate-btn {
  width: 100%; padding: 13px;
  border-radius: var(--radius-sm);
  background: var(--accent-bg);
  border: 1.5px solid var(--accent-border);
  font-size: 14px; font-weight: 600;
  color: var(--accent2);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 20px;
  transition: all 0.15s;
}
.rate-btn:active { background: rgba(139,92,246,0.2); }

/* ── COMMENTS ────────────────────────── */
.comments-title {
  font-family: var(--font-head);
  font-size: 16px; font-weight: 700;
  margin-bottom: 12px;
}

.comment-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 10px;
}
.comment-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.comment-avatar {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #4c1d95);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  color: white; font-family: var(--font-head);
  flex-shrink: 0;
}
.comment-name { font-size: 13px; font-weight: 600; color: var(--text); }
.comment-date { font-size: 11px; color: var(--text3); }
.comment-stars { margin-left: auto; font-size: 12px; color: var(--amber); }
.comment-text  { font-size: 14px; color: var(--text2); line-height: 1.5; }

.no-comments {
  text-align: center;
  padding: 24px 0;
  color: var(--text3);
  font-size: 13px;
}

/* ── LOADING SKELETON ────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Sterne anzeigen ────────────────── */
.wind-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  font-size: 14px;
  line-height: 1;
}
.wstar.filled { color: var(--amber); }
.wstar.empty  { color: var(--surface2); }