.tap-share-page {
  min-height: 100vh;
  background: #0a0f1a;
  color: #e2e8f0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

.tap-share-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.tap-share-card {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(180deg, rgba(22, 36, 51, 0.98), rgba(15, 27, 40, 0.98));
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.tap-share-loading,
.tap-share-error {
  color: #94a3b8;
  text-align: center;
}

.tap-share-error { color: #fca5a5; }

.tap-share-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.tap-share-meta {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.tap-share-desc {
  line-height: 1.55;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
  white-space: pre-wrap;
}

.tap-share-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.tap-share-rating-wrap {
  margin-bottom: 1.25rem;
}

.tap-share-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 0.35rem;
}

.tap-share-star {
  border: none;
  background: transparent;
  color: #475569;
  font-size: 1.45rem;
  cursor: pointer;
  padding: 0 1px;
  line-height: 1;
  transition: color 0.12s ease, transform 0.12s ease;
}

.tap-share-star:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.tap-share-star.active {
  color: #fbbf24;
}

.tap-share-star.preview {
  color: #fde68a;
  transform: scale(1.05);
}

.tap-share-star.avg {
  color: #fbbf24;
  opacity: 0.72;
}

.tap-share-stars-label {
  display: block;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 0.65rem;
}

.tap-share-comment-label {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.tap-share-comment {
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.85);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 0.86rem;
  padding: 0.55rem 0.65rem;
  resize: vertical;
  min-height: 72px;
  margin-bottom: 0.5rem;
}

.tap-share-comment:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.45);
}

.tap-share-comments {
  margin-bottom: 1.25rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.tap-share-comments-title {
  font-size: 0.95rem;
  font-weight: 650;
  margin: 0.75rem 0 0.55rem;
  color: #cbd5e1;
}

.tap-share-comments-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tap-share-comment-item {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.55);
  padding: 0.65rem 0.75rem;
}

.tap-share-comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
}

.tap-share-comment-user {
  color: #7dd3fc;
  font-weight: 600;
}

.tap-share-comment-stars {
  color: #fbbf24;
  letter-spacing: -1px;
}

.tap-share-comment-date {
  color: #64748b;
}

.tap-share-comment-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #cbd5e1;
  white-space: pre-wrap;
}

.tap-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tap-share-btn {
  border: none;
  border-radius: 10px;
  padding: 0.55rem 1rem;
  font-weight: 650;
  font-size: 0.88rem;
  cursor: pointer;
}

.tap-share-btn.primary {
  background: #3b82f6;
  color: #fff;
}

.tap-share-btn.primary:hover { background: #2563eb; }

.tap-share-btn.secondary {
  background: rgba(148, 163, 184, 0.15);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.tap-share-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.45;
}

.tap-share-msg {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: #86efac;
}

.tap-share-msg.error { color: #fca5a5; }
