.header-menu .header-featured-voices { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 12px; border: 1px solid #d5c8fa; border-radius: 8px; color: #6a3ac7; background: linear-gradient(115deg,#f9f4ff,#eee8ff); font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; box-shadow: 0 3px 10px #7345c912; }
.header-menu .header-featured-voices:hover { border-color: #a88be8; background: #eee6ff; }
.header-featured-voices > svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.featured-voices-dialog { width: min(1180px,calc(100% - 40px)); max-height: min(850px,calc(100dvh - 48px)); padding: 24px; margin: auto; border: 1px solid #d7e1f0; border-radius: 16px; color: #172333; background: #edf3fb; box-shadow: 0 24px 90px #16254440; overflow-y: auto; overscroll-behavior: contain; font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }
.featured-voices-dialog::backdrop { background: #14243d88; backdrop-filter: blur(5px); }
.featured-voices-dialog * { box-sizing: border-box; }
.featured-voices-heading { position: sticky; top: -24px; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: -24px -24px 16px; padding: 18px 24px 16px; border-bottom: 1px solid #d3deef; border-radius: 15px 15px 0 0; background: linear-gradient(115deg,#e9e3fb,#deecff 65%,#e2f3f4); }
.featured-voices-eyebrow { color: #6a50a2; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.featured-voices-heading h2 { display: flex; align-items: center; gap: 9px; margin: 6px 0; color: #293352; font-family: inherit; font-size: 26px; line-height: 1.25; }
.featured-voices-heading h2 span { color: #9670e0; font-size: 23px; }
.featured-voices-heading p { margin: 0; color: #52637e; font-size: 13px; line-height: 1.5; }
.featured-voices-dialog .featured-voices-close { display: grid; place-items: center; flex: 0 0 34px; width: 34px; min-height: 34px; height: 34px; padding: 0; border: 1px solid #fff; border-radius: 8px; background: #ffffffbd; color: #52657c; font: 24px/1 Arial,sans-serif; cursor: pointer; box-shadow: none; }
.featured-voices-dialog .featured-voices-close:hover { background: #fff; }
.featured-voices-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; min-height: 100px; }
.featured-voice-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #d2dff0; border-radius: 12px; background: linear-gradient(155deg,#f2edfc,#edf5ff 55%,#e8f0fc); transition: border-color .15s,box-shadow .15s; }
.featured-voice-card:nth-child(even) { border-color: #ddd5ed; background: linear-gradient(155deg,#eaf3ff,#f3edfc 60%,#ece8f8); }
.featured-voice-card:hover { border-color: #b8a4e7; box-shadow: 0 6px 20px #61428a12; }
.featured-voice-portrait { display: grid; grid-template-rows: 100px auto; justify-items: center; align-items: center; gap: 8px; padding: 14px 10px 0; }
.featured-voice-portrait > span:first-child,.featured-voice-portrait > img { grid-area: 1/1; width: 100px; height: 100px; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #d5dced,0 4px 14px #765fbd24; }
.featured-voice-portrait > span:first-child { display: grid; place-items: center; color: #7e63b1; background: linear-gradient(140deg,#eee7fa,#e8f2ff); font-size: 26px; font-weight: 700; }
.featured-voice-portrait > img { object-fit: contain; object-position: center; background: #eef3f8; }
.featured-voice-language { grid-area: 2/1; max-width: 100%; padding: 3px 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 5px; background: #ffffffcc; color: #345172; font-size: 10px; font-weight: 700; }
.featured-voice-copy { display: flex; flex: 1; flex-direction: column; gap: 7px; min-width: 0; padding: 12px 12px 10px; }
.featured-voice-copy h3 { margin: 0; color: #24314a; font-family: inherit; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.featured-voice-copy p { min-height: 34px; margin: 0; color: #56657b; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.featured-voice-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: auto; font-size: 10px; color: #56657b; }
.featured-voice-meta span { padding: 3px 5px; border-radius: 4px; background: #ffffffb8; }
.featured-voice-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 0 8px 10px; }
.featured-voices-dialog .featured-voice-actions button { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; min-width: 0; min-height: 34px; margin: 0; padding: 7px 2px; border: 1px solid #dce5ef; border-radius: 6px; font-family: inherit; font-size: 11px; font-weight: 600; line-height: 1.4; white-space: nowrap; color: #52657c; background: #fff; cursor: pointer; box-shadow: none; }
.featured-voice-actions svg { width: 13px; height: 13px; fill: currentColor; }
.featured-voices-dialog .featured-voice-preview.is-playing { color: #7043bd; border-color: #c9b4ed; background: #f6f0ff; }
.featured-voices-dialog .featured-voice-actions .featured-voice-select { color: #fff; border-color: #256fd9; background: #256fd9; }
.featured-voices-dialog .featured-voice-actions .featured-voice-select:hover { background: #1858b5; }
.featured-voices-status { min-height: 18px; margin: 12px 0 0; color: #637083; font-size: 12px; line-height: 1.5; }
.featured-voices-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid #d5dfed; color: #52657c; font-size: 11px; }
.featured-voices-empty { grid-column: 1/-1; padding: 36px 18px; text-align: center; color: #637083; }
.featured-voices-empty > span { font-size: 36px; color: #9670e0; }
.featured-voices-empty h3 { font-size: 17px; font-family: inherit; }
.featured-voices-empty p { font-size: 13px; }
.featured-voices-dialog :focus-visible,.header-featured-voices:focus-visible { outline: 3px solid #256fd9; outline-offset: 3px; }
@media(max-width:1200px) { .header-bar.has-ai-voice,.header-bar.has-featured-voices { flex-wrap: wrap; } .header-bar.has-ai-voice .header-menu,.header-bar.has-featured-voices .header-menu { max-width: 100%; min-width: 0; flex: 1 1 auto; flex-wrap: wrap; } }
@media(max-width:1000px) { .featured-voices-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .header-menu .header-featured-voices { font-size: 12px; padding: 7px 9px; } }
@media(max-width:600px) { .featured-voices-dialog { width: calc(100% - 20px); max-width: calc(100% - 20px); max-height: calc(100dvh - 24px); padding: 16px; border-radius: 12px; } .featured-voices-heading { top: -16px; margin: -16px -16px 16px; padding: 18px 16px 16px; border-radius: 11px 11px 0 0; } .featured-voices-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; } .featured-voices-heading h2 { font-size: 22px; } .featured-voices-eyebrow { font-size: 8px; } .featured-voice-portrait { grid-template-rows: 92px auto; } .featured-voice-portrait > span:first-child,.featured-voice-portrait > img { width: 92px; height: 92px; } .featured-voice-copy { padding: 10px; } .featured-voice-actions { gap: 4px; padding-left: 6px; padding-right: 6px; } .featured-voices-dialog .featured-voice-actions button { min-height: 40px; } .featured-voice-select > span { display: none; } .header-featured-voices { min-height: 38px; } }
@media(max-width:380px) { .featured-voices-dialog { padding: 12px; } .featured-voices-heading { top: -12px; margin: -12px -12px 14px; padding: 16px 12px 14px; } .featured-voice-actions { padding-left: 4px; padding-right: 4px; } .featured-voices-dialog .featured-voice-actions button { font-size: 10px; } .featured-voice-preview svg { display: none; } }
@media(prefers-reduced-motion:reduce) { .featured-voice-card { transition: none; } }
