.gift-examples-icon { display: none; }
body.gift-generator-active #post-lyrics-fields,
body.gift-generator-active #post-lyrics-fields * { font-family: "Inter", Arial, sans-serif !important; }
.gift-voice-error { display: none; }
.gift-subdescription[hidden] { display: none !important; }
body.gift-generator-active .gift-example-select { position: relative; }
body.gift-generator-active .gift-example-select[aria-expanded] { padding-right: 18px; }
body.gift-generator-active .gift-description-chevron { position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: #6b80a4; font-size: 23px; line-height: 1; }
body.gift-generator-active .gift-example-select[aria-expanded="true"] .gift-description-chevron { transform: translateY(-50%) rotate(90deg); }
body.gift-generator-active .gift-subdescription { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border: 1px solid #f3e8e1; border-radius: 12px; background: #fdfaf8; }
body.gift-generator-active .gift-subdescription-icon { flex: 0 0 24px; color: #ff5f05; }
body.gift-generator-active .gift-subdescription-icon svg { width: 24px; height: 24px; display: block; }
body.gift-generator-active .gift-subdescription strong { color: #e45400; font-size: 12px; }
body.gift-generator-active .gift-subdescription p { margin: 3px 0 0; color: #6b80a4; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
body.gift-generator-active #song-form .gift-voices.has-validation-error { padding: 10px; border: 1px solid #dc2626; border-radius: 10px; }
body.gift-generator-active #song-form .gift-voices.has-validation-error legend { color: #b91c1c; }
body.gift-generator-active #song-form .gift-voices.has-validation-error .gift-voice-grid button { border-color: #dc2626; background: #fff7f7; }
body.gift-generator-active #song-form .gift-voices.has-validation-error > .gift-voice-error { display: block; margin: 8px 0 0; color: #b91c1c; font-size: 12px; }
body.gift-generator-active #song-form .gift-voice-grid button[aria-pressed="true"] { background: #ff5f05; border-color: #ff5f05; color: #fff; }
body.gift-generator-active #song-form .gift-voice-grid button[aria-pressed="true"] > span { color: #fff; background: transparent; border-color: transparent; }
@media (min-width: 861px) {
  body.gift-generator-active .page-shell > .top-nav { background: #fff; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.gift-generator-active #generator-main-grid.generator-grid-solo:not(.generator-grid-intro-active) { width: 100%; margin-inline: auto; }
  body.gift-generator-active #generator-main-grid > .form-card:not(.generator-intro-active) { background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; overflow: visible; }
  /* The gift layout does not use the standard form's frosted, split-panel background. */
  body.gift-generator-active #generator-main-grid > .form-card:not(.generator-intro-active)::before,
  body.gift-generator-active #generator-main-grid > .form-card:not(.generator-intro-active)::after { content: none; display: none; }
  body.gift-generator-active #song-form .gift-generator-content { gap: 14px; }
  body.gift-generator-active .gift-style-section { padding: 10px 20px 4px; border: 0; background: transparent; box-shadow: none; }
  body.gift-generator-active .gift-style-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
  body.gift-generator-active .gift-style-card,
  body.gift-generator-active .gift-style-card.is-selected { background: transparent; outline: none; }
  body.gift-generator-active .gift-style-select { display: flex; flex-direction: column; align-items: center; gap: 9px; height: auto; overflow: visible; background: transparent; color: #101735; }
  body.gift-generator-active .gift-style-select img,
  body.gift-generator-active .gift-style-select::after,
  body.gift-generator-active .gift-style-check,
  body.gift-generator-active .gift-style-card > .gift-preview-button { display: none; }
  body.gift-generator-active .gift-style-select strong { position: static; font-size: 14px; text-shadow: none; line-height: 1.2; }
  body.gift-generator-active .gift-style-icon { display: grid; place-items: center; width: 84px; height: 84px; max-width: 100%; border: 1px solid #f1ebe7; border-radius: 50%; color: #fa416b; background: #fff; box-shadow: 0 6px 20px #92461508; }
  body.gift-generator-active .gift-style-icon svg { width: 36px; height: 36px; }
  body.gift-generator-active .gift-style-icon-vesel,
  body.gift-generator-active .gift-style-icon-amuzant { color: #ffab13; }
  body.gift-generator-active .gift-style-icon-petrecere { color: #a14cf3; }
  body.gift-generator-active .gift-style-icon-nostalgic { color: #a24716; }
  body.gift-generator-active .gift-style-icon-puternic { color: #2889e8; }
  body.gift-generator-active .gift-style-icon-pop_modern { color: #e75800; }
  body.gift-generator-active .gift-style-card.is-selected .gift-style-icon { background: #fdf9f7; border: 2px solid #ff5f05; outline: none; box-shadow: none; }
  body.gift-generator-active .gift-style-card.is-selected strong { color: #ff5f05; }
  body.gift-generator-active .gift-examples-section { padding: 16px 20px; border-radius: 18px; background: #ffffffed; }
  body.gift-generator-active .gift-examples-heading { align-items: center; margin-bottom: 10px; }
  body.gift-generator-active .gift-examples-heading > div { flex: 1; }
  body.gift-generator-active .gift-examples-icon { display: none; }
  body.gift-generator-active .gift-examples-icon .gift-style-icon { width: 28px; height: 28px; border: 0; background: transparent; box-shadow: none; }
  body.gift-generator-active .gift-examples-icon svg { width: 28px; height: 28px; }
  body.gift-generator-active .gift-example-list { border: 0; border-radius: 12px; overflow: visible; }
  body.gift-generator-active .gift-example-row > .gift-preview-button { order: 0; background: #fef9f6; box-shadow: none; }
  body.gift-generator-active .gift-example-row { position: relative; padding: 6px 10px; gap: 12px; border-radius: 0; border-bottom: 1px solid #e7edf3; }
  body.gift-generator-active .gift-example-select { grid-template-columns: 56px minmax(0, 1fr); gap: 3px 12px; min-height: 44px; padding: 0; }
  body.gift-generator-active .gift-example-select img { grid-column: 1; grid-row: 1 / 3; width: 56px; height: 44px; border-radius: 8px; }
  body.gift-generator-active .gift-example-select strong { grid-column: 2; align-self: end; color: #101735; font-size: 12px; line-height: 1.3; }
  body.gift-generator-active .gift-example-description { grid-column: 2; align-self: start; color: #6b80a4; font-size: 12px; line-height: 1.4; }
  body.gift-generator-active .gift-example-row > .gift-preview-button { width: 42px; height: 42px; flex-basis: 42px; font-size: 18px; background: #fff; border: 1px solid #dce5ee; }
  body.gift-generator-active .gift-example-row.has-inline-player { background: linear-gradient(110deg, #fbf7f3, #fcf9f7); border: 1px solid #f3e8e1; border-radius: 12px; padding-bottom: 12px; }
  body.gift-generator-active .gift-example-row > .gift-preview-button .gift-playback-icon { width: 18px; height: 18px; }
  body.gift-generator-active .gift-example-row.is-playing > .gift-preview-button { color: white; background: #fb6200; border: 0; box-shadow: none; }
  body.gift-generator-active .gift-inline-player { position: absolute; left: 132px; right: 105px; bottom: 14px; display: flex; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; gap: 10px; }
  body.gift-generator-active .gift-inline-player > .gift-player-toggle,
  body.gift-generator-active .gift-inline-player > .gift-player-title,
  body.gift-generator-active .gift-inline-player > .gift-player-volume-label { display: none; }
  body.gift-generator-active .gift-inline-player .gift-player-time { position: absolute; right: -90px; bottom: 12px; color: #6b80a4; background: transparent; padding: 0; font-size: 12px; line-height: 1.3; }
  body.gift-generator-active .gift-inline-player .gift-player-seek { appearance: none; -webkit-appearance: none; flex: 1; width: 100%; height: 5px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 10px; background: linear-gradient(to right, #fb6200 0 var(--gift-progress, 0%), #e0dbd6 var(--gift-progress, 0%) 100%); cursor: pointer; }
  body.gift-generator-active .gift-inline-player .gift-player-seek::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; border: 4px solid #fff; border-radius: 50%; background: #fb6200; box-shadow: 0 2px 6px #974c1931; }
  body.gift-generator-active .gift-inline-player .gift-player-seek::-webkit-slider-runnable-track { height: 5px; border: 0; border-radius: 10px; background: transparent; }
  body.gift-generator-active .gift-inline-player .gift-player-seek::-webkit-slider-thumb { margin-top: -7.5px; }
  body.gift-generator-active .gift-inline-player .gift-player-seek::-moz-range-track { height: 5px; background: transparent; }
  body.gift-generator-active .gift-inline-player .gift-player-seek::-moz-range-thumb { width: 12px; height: 12px; border: 4px solid #fff; border-radius: 50%; background: #fb6200; box-shadow: 0 2px 6px #974c1931; }
  body.gift-generator-active .gift-example-row.has-inline-player .gift-example-select { padding-right: 90px; min-height: 60px; }
  body.gift-generator-active .gift-example-row.has-inline-player .gift-example-select img { align-self: center; }
  body.gift-generator-active .gift-example-row.has-inline-player .gift-example-select strong { align-self: start; padding-top: 2px; }
  body.gift-generator-active .gift-example-row.has-inline-player .gift-example-description { padding-bottom: 18px; }
  body.gift-generator-active .gift-voices { margin-top: 12px; }
  body.gift-generator-active .gift-voices legend { font-size: 16px; margin-bottom: 8px; }
  body.gift-generator-active .gift-voice-grid button { min-height: 42px; background: #fff; }
  body.gift-generator-active .gift-voice-grid button > span:not(.gift-voice-label) { background: transparent; border: 0; }
  body.gift-generator-active .gift-examples-section > .sound-language-card { padding: 10px 0 0; margin: 0; border: 0; box-shadow: none; background: transparent; }
  body.gift-generator-active #song-form .gift-examples-section > .sound-language-card { background: transparent; border: 0; box-shadow: none; border-radius: 0; }
  body.gift-generator-active #song-form .gift-generator-content h3 { color: #101735; font-size: 16px !important; }
  body.gift-generator-active #song-form .gift-examples-heading p { font-size: 12px; }
  body.gift-generator-active #song-form .gift-inline-player input.gift-player-seek { background: linear-gradient(to right, #fb6200 0 var(--gift-progress, 0%), #e0dbd6 var(--gift-progress, 0%) 100%); box-shadow: none; }
  body.gift-generator-active .gift-examples-section .sound-field-chip { display: none; }
  body.gift-generator-active #song-form .wizard-footer { margin: 8px 20px 0; }
  body.gift-generator-active #song-form > .gift-mobile-progress { margin: 0 20px 4px; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  body.gift-generator-active .gift-style-icon { width: 64px; height: 64px; }
  body.gift-generator-active .gift-style-icon svg { width: 30px; height: 30px; }
  body.gift-generator-active .gift-style-grid { gap: 8px; }
  body.gift-generator-active .gift-style-select strong { font-size: 12px; }
}

@media (max-width: 860px) {
  body.gift-generator-active .gift-description-chevron { display: none; }
  body.gift-generator-active .gift-example-select[aria-expanded] { padding-right: 0; }
  body.gift-generator-active .gift-example-row.has-inline-player { display: grid; grid-template-columns: minmax(0, 1fr) 31px; gap: 6px; padding: 8px 6px; border: 1px solid #f3e8e1; border-radius: 10px; background: linear-gradient(110deg, #fbf7f3, #fcf9f7); }
  body.gift-generator-active .gift-example-row.is-playing > .gift-preview-button { color: #fff; background: #fb6200; border: 0; box-shadow: none; }
  body.gift-generator-active .gift-inline-player { grid-column: 1 / -1; display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; min-width: 0; margin: 0; padding: 3px 0; border: 0; border-radius: 0; background: transparent; }
  body.gift-generator-active .gift-inline-player > .gift-player-toggle,
  body.gift-generator-active .gift-inline-player > .gift-player-title,
  body.gift-generator-active .gift-inline-player > .gift-player-volume-label { display: none; }
  body.gift-generator-active .gift-inline-player .gift-player-time { order: 1; flex: 0 0 auto; color: #6b80a4; font-size: 10px; line-height: 1.3; padding: 0; white-space: nowrap; }
body.gift-generator-active .gift-inline-player .gift-player-seek { appearance: none; -webkit-appearance: none; flex: 1; width: 100%; height: 5px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 10px; background: linear-gradient(to right, #fb6200 0 var(--gift-progress, 0%), #e0dbd6 var(--gift-progress, 0%) 100%); cursor: pointer; }
body.gift-generator-active .gift-inline-player .gift-player-seek::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; border: 4px solid #fff; border-radius: 50%; background: #fb6200; box-shadow: 0 2px 6px #974c1931; }
body.gift-generator-active .gift-inline-player .gift-player-seek::-webkit-slider-runnable-track { height: 5px; border: 0; border-radius: 10px; background: transparent; }
body.gift-generator-active .gift-inline-player .gift-player-seek::-webkit-slider-thumb { margin-top: -7.5px; }
body.gift-generator-active .gift-inline-player .gift-player-seek::-moz-range-track { height: 5px; background: transparent; }
body.gift-generator-active .gift-inline-player .gift-player-seek::-moz-range-thumb { width: 12px; height: 12px; border: 4px solid #fff; border-radius: 50%; background: #fb6200; box-shadow: 0 2px 6px #974c1931; }
  body.gift-generator-active .gift-inline-player .gift-player-seek { order: 0; min-width: 0; width: 0; }
}

/* Expanded copy and progress follow the selected example in document order. */
@media (min-width: 861px) {
  body.gift-generator-active .gift-example-row.has-inline-player,
  body.gift-generator-active .gift-example-row.has-subdescription { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 8px 12px; background: linear-gradient(110deg, #fbf7f3, #fcf9f7); border: 1px solid #f3e8e1; border-radius: 12px; }
  body.gift-generator-active .gift-example-row:is(.has-inline-player, .has-subdescription) > .gift-preview-button { grid-column: 2; grid-row: 1; }
  body.gift-generator-active .gift-example-row:is(.has-inline-player, .has-subdescription) > .gift-example-select { grid-column: 1; grid-row: 1; padding-right: 18px; min-height: 44px; }
  body.gift-generator-active .gift-example-row.has-inline-player .gift-example-description { padding-bottom: 0; }
  body.gift-generator-active .gift-subdescription { grid-column: 1 / -1; grid-row: 2; margin-left: 0; }
  body.gift-generator-active .gift-inline-player { position: static; grid-column: 1 / -1; grid-row: 3; margin: 0; min-width: 0; }
  body.gift-generator-active .gift-inline-player .gift-player-time { position: static; flex: 0 0 auto; }
  body.gift-generator-active .gift-inline-player .gift-player-seek { width: 0; min-width: 0; }
}
@media (max-width: 860px) {
  body.gift-generator-active .gift-example-row.has-subdescription { display: grid; grid-template-columns: minmax(0, 1fr) 31px; gap: 6px; padding: 8px 6px; border: 1px solid #f3e8e1; border-radius: 10px; background: linear-gradient(110deg, #fbf7f3, #fcf9f7); }
  body.gift-generator-active .gift-subdescription { grid-column: 1 / -1; grid-row: 2; margin-left: 0; padding: 8px; gap: 7px; }
  body.gift-generator-active .gift-subdescription-icon { flex-basis: 20px; }
  body.gift-generator-active .gift-subdescription-icon svg { width: 20px; height: 20px; }
  body.gift-generator-active .gift-subdescription strong { font-size: 11px; }
  body.gift-generator-active .gift-subdescription p { font-size: 10.5px; }
  body.gift-generator-active .gift-inline-player { grid-row: 3; }
}
/* Occasion results: spacious catalogue rows, with the style and playback on the right. */
.gift-filter-search[hidden], .gift-filter-clear[hidden], .gift-results-count[hidden] { display: none !important; }
.gift-filter-search { display: flex; align-items: center; gap: 10px; width: min(32%, 345px); margin-left: auto; padding: 0 13px; min-height: 44px; border: 1px solid #e0e8ef; border-radius: 10px; background: #fff; color: #6b80a4; }
.gift-filter-search svg { width: 18px; height: 18px; flex: 0 0 18px; }
body.gift-generator-active #song-form .gift-filter-search input { width: 100%; min-width: 0; min-height: 42px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font: inherit; font-size: 12px; color: #101735; }
.gift-filter-search:focus-within { outline: 2px solid #e75901; outline-offset: 2px; }
.gift-filter-search input:focus { outline: none; }
.gift-filter-search input::placeholder { color: #7584a7; }
.gift-results-title-line { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.gift-results-count { display: inline-flex; flex-shrink: 0; padding: 4px 10px; border-radius: 20px; background: #f9f0eb; color: #bb4700; font-size: 12px; }
body.gift-generator-active .gift-filter-view .gift-filter-clear { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; color: #ce4e00; font-size: 13px; white-space: nowrap; }
body.gift-generator-active .gift-filter-view .gift-filter-clear span { margin: 0; font-size: 24px; line-height: 1; }
body.gift-generator-active .gift-filter-view .gift-style-section,
body.gift-generator-active .gift-filter-view .gift-examples-section { padding: 18px 22px; border: 1px solid #ece7e3; border-radius: 13px; background: #ffffffed; box-shadow: none; }
body.gift-generator-active .gift-filter-view .gift-style-heading { gap: 20px; }
body.gift-generator-active .gift-filter-view .gift-filter-panel { margin: 20px 0 0; padding: 0; border: 0; background: transparent; }
body.gift-generator-active .gift-filter-view .gift-filter-panel > p { display: none; }
body.gift-generator-active .gift-filter-view .gift-filter-options { gap: 10px 12px; }
body.gift-generator-active .gift-filter-view .gift-filter-options button { gap: 10px; min-height: 46px; padding: 10px 14px; border-color: #e0e8ee; border-radius: 10px; color: #18394a; font-size: 14px; }
body.gift-generator-active .gift-filter-view .gift-filter-options button > span { display: inline-grid; place-items: center; min-width: 23px; min-height: 23px; padding: 2px 4px; border-radius: 50%; background: #f4f6f8; color: #7584a7; font-size: 12px; }
body.gift-generator-active .gift-filter-view .gift-filter-options button[aria-pressed="true"] { background: linear-gradient(125deg, #ff7018, #ce4c00); border-color: #e75800; color: #fff; }
body.gift-generator-active .gift-filter-view .gift-filter-options button[aria-pressed="true"]::before { content: '✓'; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #fff; color: #e75800; font-size: 12px; }
body.gift-generator-active .gift-filter-view .gift-filter-options button[aria-pressed="true"] > span { color: #fff; background: transparent; }
body.gift-generator-active .gift-filter-view .gift-examples-heading { align-items: start; gap: 14px; margin-bottom: 14px; }
body.gift-generator-active .gift-filter-view .gift-examples-heading > div { flex: 1; min-width: 0; }
body.gift-generator-active .gift-filter-view .gift-example-list { display: grid; gap: 5px; }
body.gift-generator-active .gift-filter-view .gift-example-row { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 8px 22px; padding: 8px 16px 8px 12px; border: 1px solid #e2e9f0; border-radius: 11px; background: #fff; }
body.gift-generator-active .gift-filter-view .gift-example-row:is(.is-selected, .has-inline-player) { border-color: #e3bea8; background: #fdf9f7; }
body.gift-generator-active .gift-filter-view .gift-example-row > .gift-example-select { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: clamp(110px, 13vw, 180px) minmax(0, 1fr) 135px; column-gap: 24px; row-gap: 3px; padding: 0; min-height: 70px; }
body.gift-generator-active .gift-filter-view .gift-example-select img { grid-column: 1; grid-row: 1 / 3; width: 100%; height: 70px; object-fit: cover; border-radius: 8px; align-self: center; }
body.gift-generator-active .gift-filter-view .gift-example-select > strong { grid-column: 2; grid-row: 1; align-self: end; padding: 0; color: #101735; font-size: 16px; line-height: 1.3; }
body.gift-generator-active .gift-filter-view .gift-example-description { grid-column: 2; grid-row: 2; align-self: start; padding: 0; color: #7584a7; font-size: 14px; line-height: 1.45; }
body.gift-generator-active .gift-filter-view .gift-example-style-tag { transform: scale(.9); grid-column: 3; grid-row: 1 / 3; justify-self: center; align-self: center; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 13px; border: 0; border-radius: 24px; font-size: 13px; font-weight: 600; color: #ce4e00; background: #fbf4f0; }
body.gift-generator-active .gift-filter-view .gift-example-style-tag .gift-style-icon { display: inline-flex; width: 19px; height: 19px; flex: 0 0 19px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: inherit; }
body.gift-generator-active .gift-filter-view .gift-example-style-tag .gift-style-icon svg { width: 19px; height: 19px; }
body.gift-generator-active .gift-filter-view .gift-example-style-tag:is([data-style="emotional"], [data-style="romantic"]) { color: #fb3f75; background: #ffeaf1; }
body.gift-generator-active .gift-filter-view .gift-example-style-tag:is([data-style="amuzant"], [data-style="vesel"]) { color: #eea000; background: #fff8e6; }
body.gift-generator-active .gift-filter-view .gift-example-style-tag[data-style="petrecere"] { color: #a14cf3; background: #f4edff; }
body.gift-generator-active .gift-filter-view .gift-example-style-tag[data-style="puternic"] { color: #1789ef; background: #e7f4ff; }
body.gift-generator-active .gift-filter-view .gift-example-row > .gift-preview-button { grid-column: 2; grid-row: 1; order: 0; }
body.gift-generator-active .gift-filter-view .gift-inline-player { position: static; grid-column: 1 / -1; grid-row: 3; padding: 5px 0; }
body.gift-generator-active .gift-filter-view .gift-subdescription { grid-column: 1 / -1; grid-row: 2; }
body.gift-generator-active .gift-filter-view .gift-description-chevron { right: 3px; }
@media (min-width: 861px) {
  body.gift-generator-active #generator-main-grid > .form-card:not(.generator-intro-active) { padding-inline: 0; }
  body.intro-page.gift-generator-active #generator-main-grid.generator-grid-solo:not(.generator-grid-intro-active) { width: 96%; max-width: calc(100vw - 48px); margin-inline: auto; }
  body.gift-generator-active #song-form #post-lyrics-fields { padding-inline: 0; }
  body.gift-generator-active #song-form .gift-filter-view h3 { font-size: 20px !important; letter-spacing: -.5px !important; }
  body.gift-generator-active #song-form .gift-filter-view .gift-style-section > p,
  body.gift-generator-active #song-form .gift-filter-view .gift-examples-heading p { font-size: 14px; margin: 3px 0 0; }
  body.gift-generator-active .gift-filter-view .gift-style-heading { margin-bottom: 0; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  body.gift-generator-active .gift-filter-view .gift-example-row { column-gap: 14px; }
  body.gift-generator-active .gift-filter-view .gift-example-row > .gift-example-select { column-gap: 14px; grid-template-columns: 112px minmax(0, 1fr) 115px; }
  body.gift-generator-active .gift-filter-view .gift-example-select > strong { font-size: 14px; }
  body.gift-generator-active .gift-filter-view .gift-example-description { font-size: 12px; }
  body.gift-generator-active .gift-filter-view .gift-example-style-tag { font-size: 12px; padding: 8px 10px; }
}
@media (max-width: 860px) {
  .gift-style-heading { flex-wrap: wrap; }
  .gift-filter-search { order: 3; width: 100%; margin: 4px 0; }
  body.gift-generator-active .gift-filter-view .gift-style-section,
  body.gift-generator-active .gift-filter-view .gift-examples-section { padding: 13px 10px; }
  body.gift-generator-active .gift-filter-view .gift-style-heading { gap: 6px; }
  body.gift-generator-active #song-form .gift-filter-view .gift-style-heading h3 { font-size: 17px !important; }
  body.gift-generator-active .gift-filter-view .gift-filter-options { gap: 7px; }
  body.gift-generator-active .gift-filter-view .gift-filter-options button { min-height: 38px; padding: 7px 9px; gap: 5px; font-size: 12px; }
  body.gift-generator-active .gift-filter-view .gift-filter-options button > span { min-width: 18px; min-height: 18px; font-size: 10px; }
  body.gift-generator-active .gift-filter-view .gift-examples-heading { flex-wrap: wrap; gap: 5px; }
  body.gift-generator-active .gift-filter-view .gift-examples-heading > div { flex-basis: 100%; }
  body.gift-generator-active .gift-filter-view .gift-filter-clear { margin-left: auto; padding: 4px 0; font-size: 12px; }
  body.gift-generator-active .gift-filter-view .gift-example-row { grid-template-columns: minmax(0, 1fr) 31px; gap: 7px; padding: 9px 7px; }
  body.gift-generator-active .gift-filter-view .gift-example-row > .gift-example-select { grid-template-columns: 65px minmax(0, 1fr); column-gap: 9px; min-height: 66px; }
  body.gift-generator-active .gift-filter-view .gift-example-select img { grid-row: 1 / 4; height: 60px; }
  body.gift-generator-active .gift-filter-view .gift-example-select > strong { font-size: 13px; }
  body.gift-generator-active .gift-filter-view .gift-example-description { font-size: 11px; }
  body.gift-generator-active .gift-filter-view .gift-example-style-tag { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 3px; padding: 4px 7px; gap: 4px; font-size: 10px; }
  body.gift-generator-active .gift-filter-view .gift-example-style-tag .gift-style-icon,
  body.gift-generator-active .gift-filter-view .gift-example-style-tag .gift-style-icon svg { width: 13px; height: 13px; flex-basis: 13px; }
  body.gift-generator-active .gift-filter-view .gift-example-row > .gift-preview-button .gift-playback-icon { width: 18px; height: 18px; }
}
/* Compact mobile occasion catalogue, matching the list presentation. */
@media (max-width: 860px) {
  body.gift-generator-active .gift-filter-view .gift-filter-search { display: none; }
  body.gift-generator-active .gift-filter-view .gift-style-section { padding: 13px 12px 11px; }
  body.gift-generator-active .gift-filter-view .gift-style-heading { flex-wrap: nowrap; align-items: center; }
  body.gift-generator-active #song-form .gift-filter-view .gift-style-heading h3 { font-size: 15px !important; letter-spacing: -.45px !important; }
  body.gift-generator-active .gift-filter-view .gift-style-section > p { margin: 2px 0 0; color: #6b7e9d; font-size: 11px; line-height: 1.4; }
  body.gift-generator-active .gift-filter-view .gift-filter-panel { margin-top: 10px; padding-top: 9px; border-top: 1px solid #edf0f3; border-radius: 0; }
  body.gift-generator-active .gift-filter-view .gift-filter-options { display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; padding: 1px; }
  body.gift-generator-active .gift-filter-view .gift-filter-options button { min-height: 32px; padding: 5px 10px; justify-content: center; gap: 6px; font-size: 11px; white-space: nowrap; border-radius: 8px; }
  body.gift-generator-active .gift-filter-view .gift-filter-options button[aria-pressed="true"]::before { width: auto; height: auto; background: none; color: #fff; font-size: 13px; }
  body.gift-generator-active .gift-filter-view .gift-filter-options button[aria-pressed="true"] > span { background: #ffffff24; border-radius: 6px; }
  body.gift-generator-active .gift-filter-view .gift-examples-section { padding: 0; overflow: hidden; border-radius: 14px; }
  body.gift-generator-active .gift-filter-view .gift-examples-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; margin: 0; padding: 12px 12px 9px; }
  body.gift-generator-active .gift-filter-view .gift-examples-heading > div { display: contents; }
  body.gift-generator-active .gift-filter-view .gift-results-title-line { grid-column: 1; grid-row: 1; }
  body.gift-generator-active #song-form .gift-filter-view .gift-examples-title { font-size: 14px !important; letter-spacing: -.35px !important; }
  body.gift-generator-active .gift-filter-view .gift-examples-heading p { display: block; grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: 11px; line-height: 1.4; color: #6b7e9d; }
  body.gift-generator-active .gift-filter-view .gift-filter-clear { grid-column: 2; grid-row: 1; align-self: start; gap: 6px; padding: 0; font-size: 10px; color: #65748b; }
  body.gift-generator-active .gift-filter-view .gift-filter-clear span { order: 1; font-size: 18px; }
  body.gift-generator-active .gift-filter-view .gift-example-list { gap: 0; }
  body.gift-generator-active .gift-filter-view .gift-example-row { grid-template-columns: minmax(0, 1fr) 38px; gap: 8px; padding: 9px 12px; border: 0; border-top: 1px solid #edf0f3; border-radius: 0; }
  body.gift-generator-active .gift-filter-view .gift-example-row > .gift-example-select { grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 13px; row-gap: 2px; min-height: 64px; }
  body.gift-generator-active .gift-filter-view .gift-example-select img { grid-column: 1; grid-row: 1 / 4; align-self: start; width: 64px; height: 64px; border-radius: 8px; }
  body.gift-generator-active .gift-filter-view .gift-example-select > strong { grid-row: 1; align-self: start; font-size: 13px; line-height: 1.2; letter-spacing: -.25px; }
  body.gift-generator-active .gift-filter-view .gift-example-style-tag { grid-row: 2; margin: 0; padding: 2px 6px; gap: 4px; border-radius: 6px; font-size: 11px; line-height: 1.2; transform-origin: left center; }
  body.gift-generator-active .gift-filter-view .gift-example-description { grid-row: 3; align-self: start; padding: 0; font-size: 11px; line-height: 1.35; }
  body.gift-generator-active .gift-generator-content .gift-example-row > .gift-preview-button { position: relative; isolation: isolate; flex: 0 0 38px; width: 38px; height: 38px; border: 0; background: #faf3ef; color: #fff; box-shadow: none; }
  body.gift-generator-active .gift-generator-content .gift-example-row > .gift-preview-button::before { content: ''; position: absolute; inset: 9px; z-index: -1; border-radius: 50%; background: linear-gradient(120deg, #ff6d14, #ca4c00); }
  body.gift-generator-active .gift-generator-content .gift-example-row > .gift-preview-button .gift-playback-icon { width: 12px; height: 12px; }
  body.gift-generator-active .gift-filter-view .gift-voices { margin: 14px 12px; }
  body.gift-generator-active .gift-filter-view .gift-audio-message { margin: 8px 12px; }
}
/* Mobile example selection shares the classic preview player and marks its cover. */
.gift-example-cover { display: contents; }
.gift-example-cover-check { display: none; }
@media (max-width: 860px) {
  body.gift-generator-active .gift-generator-content:not(.gift-filter-view) .gift-example-row {
    margin-inline: -7px;
    padding: 8px 7px;
    border-radius: 10px;
  }
  body.gift-generator-active .gift-generator-content { --gift-cover-width: 38.7px; --gift-cover-height: 36.9px; }
  body.gift-generator-active .gift-filter-view { --gift-cover-width: 57.6px; --gift-cover-height: 57.6px; }
  body.gift-generator-active .gift-example-row > .gift-example-select,
  body.gift-generator-active .gift-filter-view .gift-example-row > .gift-example-select { grid-template-columns: var(--gift-cover-width) minmax(0, 1fr); }
  body.gift-generator-active .gift-example-cover { display: block; position: relative; grid-column: 1; grid-row: 1 / 3; align-self: start; width: var(--gift-cover-width); height: var(--gift-cover-height); overflow: hidden; border-radius: 7px; }
  body.gift-generator-active .gift-filter-view .gift-example-cover { grid-row: 1 / 4; }
  body.gift-generator-active .gift-example-select .gift-example-cover img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
  body.gift-generator-active .gift-example-row.is-selected .gift-example-cover-check { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(231, 88, 0, .32); color: #fff; font-size: 26px; font-weight: 750; line-height: 1; text-shadow: 0 1px 4px #7d330070; box-shadow: inset 0 0 0 1px #ec5e0370; border-radius: inherit; }
}
@media (max-width: 359px) {
  body.gift-generator-active .gift-generator-content:not(.gift-filter-view) { --gift-cover-width: 31.5px; --gift-cover-height: 34.2px; }
}
