/* ==========================================================================
   PickerWheel CSS - Embed Mode View Overrides (?embed=1 or #embed)
   ========================================================================== */

body.embed-mode {
  background: transparent !important;
  overflow: hidden !important;
}

body.embed-mode .app-header,
body.embed-mode .app-footer,
body.embed-mode .sidebar-section,
body.embed-mode .wheel-footer-controls {
  display: none !important;
}

body.embed-mode .app-wrapper {
  min-height: 100vh;
  justify-content: center;
}

body.embed-mode .main-content {
  grid-template-columns: 1fr !important;
  padding: 0.5rem !important;
  max-width: 100% !important;
  height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.embed-mode .wheel-section {
  width: 100%;
  height: 100%;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0.5rem !important;
  justify-content: center;
}

body.embed-mode .wheel-wrapper {
  max-width: min(85vw, 85vh);
}

body.embed-mode.hide-title .wheel-header {
  display: none !important;
}

body.embed-mode .wheel-title {
  font-size: 1.25rem;
  pointer-events: none;
}

body.embed-mode .title-edit-btn {
  display: none !important;
}

/* Embed Attribution Link styling */
.embed-attribution {
  display: none; /* hidden in desktop/normal layout */
}

body.embed-mode .embed-attribution {
  display: block !important;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

body.embed-mode .embed-attribution a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}

body.embed-mode .embed-attribution a:hover {
  text-decoration: underline;
}
