.voice-player{display:flex;align-items:center;gap:14px;width:100%;max-width:620px;margin-top:24px;padding:17px;border:1px solid rgba(167,138,82,0.22);border-radius:20px;background:#F4EEE4;box-sizing:border-box;}
.voice-player audio{display:none;}
.voice-play{display:flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;padding:0;border:none;border-radius:50%;background:#DFC28A;color:#51473B;font-size:17px;cursor:pointer;transition:background 0.2s, transform 0.2s;}
.voice-play:hover{background:#DFC28A;transform:scale(1.05);}
.voice-play:disabled{opacity:0.4;cursor:not-allowed;}
.voice-main{flex:1;min-width:0;}
.voice-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;color:#51473B;}
.voice-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;letter-spacing:0.02em;}
.voice-heading i{color:#806638;font-size:17px;}
.voice-seek{display:block;width:100%;height:5px;margin:0;border:none;border-radius:20px;appearance:none;-webkit-appearance:none;cursor:pointer;background:linear-gradient( to right, #DFC28A 0%, #DFC28A var(--progress, 0%), #EAE4EE var(--progress, 0%), #EAE4EE 100% );}
.voice-seek::-webkit-slider-thumb{width:13px;height:13px;border:none;border-radius:50%;background:#DFC28A;appearance:none;-webkit-appearance:none;}
.voice-seek::-moz-range-thumb{width:13px;height:13px;border:none;border-radius:50%;background:#DFC28A;}
.voice-times{display:flex;justify-content:space-between;gap:8px;margin-top:10px;color:#51473B;font-size:11px;font-variant-numeric:tabular-nums;}
.voice-speed{flex:0 0 auto;max-width:76px;padding:7px 5px;border:1px solid #A78A52;border-radius:10px;background:#F4EEE4;color:#51473B;font-size:12px;font-weight:600;cursor:pointer;}
.voice-speed:focus-visible, .voice-play:focus-visible, .voice-seek:focus-visible{outline:2px solid #A78A52;outline-offset:3px;}
@media (max-width: 520px){.voice-player{gap:10px;padding:12px;border-radius:16px;}.voice-play{flex-basis:40px;width:40px;height:40px;}.voice-speed{max-width:62px;font-size:11px;}.voice-title{font-size:11px;}}
.voice-player{display:flex;align-items:center;gap:14px;width:100%;max-width:620px;margin-top:24px;padding:17px;border:1px solid rgba(167,138,82,.35);border-radius:20px;background:linear-gradient(145deg,#EAE4EE,#F4EEE4);box-shadow:0 10px 35px rgba(128,100,63,.15);box-sizing:border-box;}
.voice-player audio{display:none;}
.voice-play{display:flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;padding:0;border:1px solid #A78A52;border-radius:50%;background:linear-gradient(125deg,#DFC28A,#DFC28A,#DFC28A,#DFC28A);color:#51473B;font-size:17px;cursor:pointer;transition:background .2s,transform .2s;}
.voice-play:hover{background:linear-gradient(125deg,#DFC28A,#DFC28A,#DFC28A,#DFC28A);transform:scale(1.05);}
.voice-play:disabled{opacity:.4;cursor:not-allowed;}
.voice-main{flex:1;min-width:0;}
.voice-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;color:#806638;}
.voice-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;letter-spacing:.02em;}
.voice-heading i{color:#806638;font-size:17px;}
.voice-seek{display:block;width:100%;height:5px;margin:0;border:none;border-radius:20px;appearance:none;-webkit-appearance:none;cursor:pointer;background:linear-gradient(to right,#DFC28A 0%,#DFC28A var(--progress,0%),#EAE4EE var(--progress,0%),#EAE4EE 100%);}
.voice-seek::-webkit-slider-thumb{width:13px;height:13px;border:none;border-radius:50%;background:#DFC28A;appearance:none;-webkit-appearance:none;box-shadow:0 0 12px rgba(128,100,63,.25);}
.voice-seek::-moz-range-thumb{width:13px;height:13px;border:none;border-radius:50%;background:#DFC28A;}
.voice-times{display:flex;justify-content:space-between;gap:8px;margin-top:10px;color:#51473B;font-size:11px;font-variant-numeric:tabular-nums;}
.voice-speed{flex:0 0 auto;max-width:76px;padding:7px 5px;border:1px solid rgba(167,138,82,.3);border-radius:10px;background:#EAE4EE;color:#806638;font-size:12px;font-weight:600;cursor:pointer;}
.voice-speed:focus-visible,.voice-play:focus-visible,.voice-seek:focus-visible{outline:2px solid #A78A52;outline-offset:3px;}
@media (max-width:520px){.voice-player{gap:10px;padding:12px;border-radius:16px;}.voice-play{flex-basis:40px;width:40px;height:40px;}.voice-speed{max-width:62px;font-size:11px;}.voice-title{font-size:11px;}}
@media (prefers-reduced-motion:reduce){.voice-play{transition:none;}.voice-play:hover{transform:none;}}
:root{--royal-ivory:#F4EEE4;--royal-ink:#51473B;--royal-metal:linear-gradient(115deg,#A78A52 0%,#DFC28A 24%,#F2E2B9 43%,#DFC28A 62%,#DFC28A 82%,#A78A52 100%);--royal-panel:linear-gradient(145deg,#FBF8F3 0%,#F4EEE4 48%,#EAE4EE 100%);--royal-shadow:0 12px 32px rgba(118,83,38,.15);}
.voice-player{background:var(--royal-panel);border-color:#A78A52;}
.voice-play,.voice-play:hover{background:var(--royal-metal);color:#392A19;}
.voice-heading,.voice-times,.voice-speed{color:#51473B;}
.voice-player{background:var(--aurea-panel)!important;border-color:var(--aurea-border);color:var(--aurea-text);}
.voice-speed{background:var(--aurea-pearl);color:var(--aurea-text);}
:is(.voice-play){background-image:var(--aurea-shine),var(--aurea-metal)!important;background-size:250% 100%,100% 100%!important;background-position:150% center,center!important;background-repeat:no-repeat!important;color:#49351D!important;border-color:var(--aurea-darkgold)!important;box-shadow:inset 0 1px 2px #ffffff99,0 4px 12px #80663826;}
:is(.voice-play):hover:not(:disabled){animation:aureaUnifiedShine .9s ease-in-out forwards;box-shadow:0 0 16px #DFC28A66,0 5px 15px #80663833;}
@keyframes aureaUnifiedShine{from{background-position:150% center,center;}to{background-position:-50% center,center;}}
@media(prefers-reduced-motion:reduce){:is(.voice-play){animation:none!important;transition:none!important;}}
/* ==================================================
   AUDIOPLAYER – RESPONSIVE OPTIMIERUNG
   ================================================== */

.voice-player{width:100%;min-width:0;box-sizing:border-box;}
.voice-main{min-width:0;max-width:100%;}
.voice-heading{min-width:0;}
.voice-title{min-width:0;}
.voice-seek{max-width:100%;touch-action:pan-y;}
.voice-times{font-variant-numeric:tabular-nums;}

@media(max-width:600px){
  .voice-player{gap:10px;padding:14px;border-radius:16px;}
  .voice-play{width:44px;height:44px;flex:0 0 44px;}
  .voice-speed{max-width:68px;min-height:40px;font-size:12px;}
  .voice-heading{gap:6px;margin-bottom:10px;}
  .voice-title{font-size:12px;}
  .voice-times{font-size:11px;}
}

@media(max-width:380px){
  .voice-player{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;padding:12px;}
  .voice-play{grid-column:1;grid-row:1;}
  .voice-main{grid-column:2;grid-row:1;}
  .voice-speed{grid-column:2;grid-row:2;justify-self:end;}
}

@media(pointer:coarse){
  .voice-play{min-width:44px;min-height:44px;}
  .voice-seek{height:8px;}
  .voice-seek::-webkit-slider-thumb{width:22px;height:22px;}
  .voice-seek::-moz-range-thumb{width:22px;height:22px;}
  .voice-play:hover{transform:none;}
}