/* Shared microphone introduction for ROLEPLAY and COLLABORATION LAB. */
.yw-mic-guide-layer{
  position:fixed;inset:0;z-index:22000;display:flex;align-items:center;justify-content:center;
  padding:16px;background:rgba(28,43,34,.48);
}
.yw-mic-guide-card{
  box-sizing:border-box;width:min(370px,100%);max-height:calc(100dvh - 26px);
  overflow-y:auto;border:1px solid #d6e5da;border-radius:18px;background:#fffefa;
  box-shadow:0 16px 42px rgba(26,47,31,.20);padding:20px 19px 17px;
  color:#34493d;font:400 14px/1.75 "Zen Maru Gothic","Hiragino Maru Gothic ProN",sans-serif;
  text-align:left;
}
.yw-mic-guide-title{display:block;color:#355b46;font-size:17px;font-weight:700}
.yw-mic-guide-message{margin:9px 0 18px;font-size:14px;line-height:1.85;color:#4f6959}
.yw-mic-guide-actions{display:flex;gap:9px;align-items:stretch}
.yw-mic-guide-actions button{min-height:44px;border-radius:11px;font:700 13px/1.55 "Zen Maru Gothic",sans-serif;padding:10px 12px;cursor:pointer}
.yw-mic-guide-cancel{width:29%;background:#f0f4f1;color:#4f6f5d;border:1px solid #d9e5db}
.yw-mic-guide-continue{flex:1;background:#497660;color:#fff;border:1px solid #497660}
.yw-mic-guide-actions button:focus-visible{outline:3px solid #88b19b;outline-offset:3px}
.yw-mic-guide-bubble-layer{display:block;background:transparent;padding:0}
.yw-mic-guide-bubble{
  position:fixed;width:330px;max-width:calc(100vw - 24px);
  padding:14px 15px 13px;border-radius:15px;
}
.yw-mic-guide-bubble .yw-mic-guide-title{font-size:15px}
.yw-mic-guide-bubble .yw-mic-guide-message{font-size:13px;margin:6px 0 12px;line-height:1.7}
.yw-mic-guide-bubble::before{
  content:"";position:absolute;left:calc(var(--yw-mic-arrow-x) - 7px);
  width:14px;height:14px;transform:rotate(45deg);
  background:#fffefa;border:1px solid #d6e5da;
}
.yw-mic-guide-above::before{bottom:-8px;border-top:0;border-left:0}
.yw-mic-guide-below::before{top:-8px;border-right:0;border-bottom:0}
.yw-mic-denied-guide{
  margin:7px 12px 11px;padding:12px 14px;background:#fff7f3;
  border:1px solid #e7c8bc;border-radius:13px;color:#795045;
  font:400 12px/1.75 "Zen Maru Gothic","Hiragino Maru Gothic ProN",sans-serif;
  text-align:left;
}
.yw-mic-denied-title{display:block;font-size:13px;font-weight:700;color:#914c3b}
.yw-mic-denied-text{margin:5px 0 7px;font-size:12px;line-height:1.75}
.yw-mic-denied-retry{margin:0;font-size:12px;font-weight:600;line-height:1.7}
.voice-input-status + .yw-mic-denied-guide{margin:6px 0 2px}
@media(max-width:360px){
  .yw-mic-guide-bubble{padding:12px}
  .yw-mic-guide-actions button{padding:8px 9px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){
  .yw-mic-guide-card{scroll-behavior:auto}
}
