body.general-idea-active #song-form #advanced-fields { background: none; border: 0; box-shadow: none; }
body.general-idea-active #song-form #ai-composer-fields { display: grid; gap: 14px; padding: 0; background: none; border: 0; box-shadow: none; }
body.general-idea-active #song-form :is(.ai-step-hero, .ai-step-general-heading, [data-mobile-card-key="topic-description"], [data-mobile-card-key="avoid-topics"], [data-mobile-card-key="required-phrases"]) { display: none !important; }
.general-idea-inspire { margin: 0; color: #6b5a51; font-size: 12px; }
.general-idea-examples { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-top: 9px; }
.general-idea-examples button, .general-idea-more summary { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 31px; padding: 5px 9px; border: 1px solid transparent; border-radius: 99px; background: #fbf7f3; color: #694e39; font: 11px var(--font-ui); cursor: pointer; white-space: nowrap; }
.general-idea-examples button[aria-pressed="true"] { border-color: #e95a00; color: #b54700; background: #fffcfa; }
.general-idea-more { position: relative; }
.general-idea-more summary { list-style: none; border-color: #dde3ed; background: #fff; color: #172440; }
.general-idea-more summary::-webkit-details-marker { display: none; }
.general-idea-more > div { position: absolute; z-index: 5; right: 0; top: calc(100% + 6px); width: 175px; max-height: 190px; overflow-y: auto; padding: 6px; border: 1px solid #eee7e2; border-radius: 12px; background: #fff; box-shadow: 0 12px 25px #452a1925; }
.general-idea-more button { display: block; width: 100%; border-radius: 8px; text-align: left; background: #fff; }
.general-idea-more button:hover { background: #fbf6f3; }
.general-idea-ai > span:first-child { font: 20px/1 Arial, sans-serif; }
.general-idea-ai:disabled { opacity: .55; cursor: default; }
body.general-idea-active #song-form #ai-composer-fields .ai-step-general-grid { display: block; }
body.general-idea-active #song-form :is([data-mobile-card-key="required-phrases"], [data-mobile-card-key="mood"]) { display: block; margin: 0; border: 1px solid #f7f2f0; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px #ab501308; }
body.general-idea-active #song-form :is([data-mobile-card-key="required-phrases"], [data-mobile-card-key="mood"]) .mobile-collapsible-trigger { display: flex; align-items: center; width: 100%; padding: 15px; gap: 12px; border: 0; border-radius: inherit; background: transparent; box-shadow: none; font: inherit; cursor: pointer; }
body.general-idea-active #song-form .mobile-collapsible-icon { border-radius: 50%; width: 42px; height: 42px; flex: 0 0 42px; background: #fcf6f2; color: #e65a00; }
body.general-idea-active #song-form .mobile-collapsible-icon-star { background: #f0eaff; color: #8956eb; }
body.general-idea-active #song-form .mobile-collapsible-icon::before { background-color: currentColor; }
body.general-idea-active #song-form .mobile-collapsible-title { color: #101735; font-size: 16px; font-weight: 700; }
body.general-idea-active #song-form .mobile-collapsible-summary { color: #5f6b80; font-size: 11px; }
body.general-idea-active #song-form .mobile-collapsible-copy { display: grid; gap: 4px; flex: 1; min-width: 0; text-align: left; }
body.general-idea-active #song-form .mobile-collapsible-chevron { margin-left: auto; flex-shrink: 0; }
body.general-idea-active #song-form [data-mobile-card-key="required-phrases"]:not(.is-expanded) .mobile-collapsible-body { display: none; }
body.general-idea-active #song-form [data-mobile-card-key="required-phrases"].is-expanded .mobile-collapsible-body { display: block; padding: 0 15px 15px; }
body.general-idea-active #song-form [data-mobile-card-key="required-phrases"] .ai-step-field-title { display: none; }
.general-idea-presentation :is(button, summary):focus-visible { outline: 2px solid #dc5500; outline-offset: 3px; }
@media (min-width: 861px) {
  body.general-idea-active #song-form #post-lyrics-fields:has(.general-idea-more[open]) { z-index: 2; }
  body.general-idea-active #song-form #advanced-fields { margin-inline: 40px; }
  body.general-idea-active #song-form #advanced-fields #ai-composer-fields { padding-inline: 0; }
  body.general-idea-active #song-form [data-mobile-card-key="mood"] .mobile-collapsible-trigger { display: none; }
  body.general-idea-active #song-form .mobile-collapsible-icon-star { display: grid; place-items: center; }
  body.general-idea-active #song-form .mobile-collapsible-icon-star::before { content: '★'; background: none; font: 27px/1 Arial; }
  body.general-idea-active #song-form [data-mobile-card-key="required-phrases"] .mobile-collapsible-chevron::before { content: '⌄'; font: 22px/1 Arial; color: #8490a6; }
}
@media (max-width: 860px) {
  body.general-idea-active #song-form #advanced-fields { padding: 0; }
  .general-idea-examples button, .general-idea-more summary { padding-inline: 7px; font-size: 10px; }
  .general-idea-examples { margin: 9px 0 4px; }
}

.general-idea-ai[aria-busy="true"] { opacity: 1; cursor: wait; }
/* Vinilul mini (vezi vinyl-loader.css). */
.general-idea-ai[aria-busy="true"] > span:first-child {
  width: 21px; height: 21px; box-sizing: border-box; font-size: 0;
  border: 0; border-radius: 50%;
  background: var(--am-vinyl-mini-bg, #833906); box-shadow: var(--am-vinyl-mini-shadow, none);
  animation: general-idea-loading 1.2s linear infinite;
}
@keyframes general-idea-loading { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .general-idea-ai[aria-busy="true"] > span:first-child { animation-duration: 3s; } }

body.general-idea-active #song-form [data-mobile-card-key="mood"] { display: none !important; }
.general-lyrics-direction { margin-top: 18px; border: 1px solid #ede8e5; border-radius: 18px; background: #fff; box-shadow: 0 7px 24px #ab501308; }
.general-lyrics-direction summary { display: flex; align-items: center; gap: 12px; padding: 15px; list-style: none; cursor: pointer; }
.general-lyrics-direction summary::-webkit-details-marker { display: none; }
.direction-heading-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 50%; color: #d45300; background: #fbf5f1; }
.direction-heading-icon svg { width: 24px; height: 24px; }
.direction-heading-copy { display: grid; gap: 4px; min-width: 0; }
.direction-heading-copy strong { font: 700 16px/1.3 var(--font-ui); color: #101735; }
.direction-heading-copy small { font: 400 12px/1.4 var(--font-ui); color: #8190a5; }
.direction-chevron { display: grid; place-items: center; flex: 0 0 20px; width: 20px; height: 20px; margin-left: auto; color: #998f88; transition: transform .15s; }
.general-lyrics-direction .direction-chevron svg { display: block; width: 20px; height: 20px; }
.general-lyrics-direction[open] .direction-chevron { transform: rotate(180deg); }
.direction-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; padding: 0 13px 14px; }
.direction-options button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-width: 0; min-height: 78px; padding: 9px 3px; border: 1px solid #e5ebee; border-radius: 12px; background: #fff; color: #101735; font: 600 11px/1.3 var(--font-ui); cursor: pointer; }
.direction-options button[aria-pressed="true"] { border-color: #f35f00; background: #fbf5f1; color: #b14600; }
.direction-symbol { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 700 25px/1 Arial, sans-serif; }
.direction-symbol-green { color: #d25301; background: #f8f0eb; }
.direction-options button[data-direction="automat"] .direction-symbol { color: #fff; background: #da5703; }
.direction-symbol-yellow { color: #d99f00; background: #fff3bb; }
.direction-symbol-blue { color: #038cdf; background: #e1f3ff; }
.direction-symbol-pink { color: #e52a91; background: #ffe4f3; }
.direction-symbol-orange { color: #e58b0c; background: #fff0d2; }
.direction-symbol-purple { color: #a127d2; background: #f4e2ff; }
.direction-symbol-teal { color: #cc5d00; background: #faf0e8; }
@media (min-width: 861px) { .direction-options { gap: 10px; } .direction-options button { min-height: 94px; font-size: 14px; } }
@media (max-width: 360px) { .direction-options { gap: 5px; padding-inline: 9px; } .direction-options button { font-size: 10px; } }

.direction-symbol svg { display: block; width: 23px; height: 23px; }

.general-idea-ai[hidden] { display: none !important; }

body.general-dedication-active .gift-mood-slot > .mobile-collapsible-card { display: none !important; }
body.general-dedication-active .gift-mood-slot > .general-lyrics-direction { margin-top: 0; }
body.general-dedication-active .general-lyrics-direction .direction-heading-icon svg { width: 24px; height: 24px; }
body.general-dedication-active .general-lyrics-direction .direction-symbol svg { width: 23px; height: 23px; }

@media (max-width: 860px) {
  body.general-idea-active .form-card.mobile-form-stage-active[data-wizard-step="ai"] #song-form:has(.general-lyrics-direction[open]) { min-height: 0; }
  body.general-idea-active #song-form #ai-composer-fields { margin-bottom: 0; }
  body.general-idea-active #song-form #ai-composer-fields .ai-step-general-grid { display: none; }
}
