html { overflow-y: scroll }
html.preview { overflow-y: hidden }
.app-header {
  width: 100%;
  max-width: 1140px;
  min-height: 76px;
  margin: 0 auto;
  padding: 18px 28px 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.player-badge, .gallery-button, .ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #6b7da9;
  border-radius: 12px;
  background: #303e69;
  color: #f5f6ff;
  font: inherit;
  font-weight: bold;
  text-decoration: none;
}
.player-icon { font-size: 1.5rem; line-height: 1 }
.ai-badge[data-state="enabled"] { background: #254c39; border-color: #9cdda5 }
.ai-badge[data-state="disabled"] { background: #303e69 }
.ai-badge[data-state="unknown"] { background: #3a3222; border-color: #ffdc72 }
.privacy-warning {
  padding: 12px 16px;
  margin: 16px 0;
  border: 1px solid #ffdc72;
  border-radius: 10px;
  background: #3a3222;
  color: #fff3cc;
}
.preview .app-header { display: none }
@media (max-width: 720px) { .app-header { padding: 16px 16px 0 } }
