#veloraModal:has(.hp-voice-room-card) {
  inset:var(--pk319-viewport-top,0px) 0 auto;
  height:var(--pk319-viewport-height,100dvh);
  padding:clamp(0px,1.5vw,18px);
  box-sizing:border-box;
}
#veloraModal .hp-modal-card.hp-voice-room-card {
  width:min(100%,72rem);height:min(100%,54rem);max-width:none;max-height:100%;
  overflow:hidden;color:var(--text,#251733);background:var(--panel,#fff);
}
#veloraModal .hp-voice-room-card #modalBody {height:100%;overflow:auto;scroll-padding-top:8rem}
#veloraModal .hp-voice-room-card [data-close-modal] {display:none}
.pk319-voice,.pk319-voice-loading {min-width:0;min-height:100%;background:var(--panel,#fff)}
.pk319-voice-loading {padding:1rem}
.pk319-voice-loading button {min-width:44px;min-height:44px;float:right}
#veloraModal .pk319-voice .hp-voice109-room-head {
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;
  position:sticky;top:0;z-index:5;padding:clamp(.75rem,2vw,1.35rem);
  gap:.7rem;background:var(--panel,#fff);border-bottom:1px solid var(--line,#e8dfed);
}
.pk319-voice .hp-voice109-room-head h2 {font-size:clamp(1.18rem,3vw,1.9rem);margin:.2rem 0;line-height:1.2;overflow-wrap:anywhere}
.pk319-voice .hp-voice109-room-head p {margin:.2rem 0 0;color:var(--muted,#665a70)}
.pk319-voice .hp-voice109-room-head-actions {display:flex;gap:.4rem;flex-wrap:nowrap}
.pk319-voice .hp-voice109-room-head-actions [data-voice-close] {min-width:44px;font-size:1.45rem}
.pk319-voice .hp-voice109-main {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(17rem,1fr);gap:1rem;padding:clamp(.75rem,2vw,1.4rem)}
.pk319-voice :is(.hp-voice109-stage,.hp-voice109-chat) {min-width:0;border:1px solid var(--line,#e8dfed);border-radius:1rem;background:var(--panel2,#faf6fb);overflow:visible}
.pk319-voice .hp-voice109-stage {padding:clamp(.65rem,2vw,1.2rem)}
.pk319-voice .hp-voice109-stage-label {display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap}
.pk319-voice :is(.hp-voice109-stage-label h3,.hp-voice109-chat h3,.hp-voice109-drawer h3) {font-size:1.05rem;margin:0}
.pk319-voice .hp-voice109-stage-label h3 small {font-size:.82rem;color:var(--muted,#665a70);margin-inline-start:.3rem}
.pk319-voice .hp-voice109-seats {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin-block:.8rem}
.pk319-voice .hp-voice109-seat {min-width:0;overflow-wrap:anywhere}
.pk319-voice .hp-voice109-seat.speaking {outline:2px solid #18a477;outline-offset:-2px}
.pk319-voice .hp-voice109-audience {padding:.6rem 0;min-width:0}
.pk319-voice .hp-voice109-controls,.pk319-voice .pk319-voice-exit {display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-block:.8rem}
.pk319-voice button:not([hidden]),.pk319-voice-mini button:not([hidden]),.pk319-voice select,.pk319-voice input {min-height:44px}
#veloraModal .pk319-voice button,#packeroVoiceMini.pk319-voice-mini button {
  box-sizing:border-box;max-width:100%;border:1px solid var(--line,#d9cddd);border-radius:.7rem;padding:.55rem .75rem;
  background:var(--panel,#fff);color:var(--text,#251733);font:inherit;font-weight:680;line-height:1.2;white-space:normal;
}
#veloraModal .pk319-voice button:is(.pk319-primary,.gold):not(:disabled) {background:linear-gradient(135deg,#7724b6,#ab195c);border-color:transparent;color:#fff}
#veloraModal .pk319-voice button[aria-pressed="true"],#veloraModal .pk319-voice button[aria-expanded="true"] {outline:2px solid #b259bc;outline-offset:-2px}
#veloraModal .pk319-voice button:not(:disabled):hover,#packeroVoiceMini.pk319-voice-mini button:hover {border-color:#a649b8}
#veloraModal .pk319-voice button:disabled,#packeroVoiceMini.pk319-voice-mini button:disabled {opacity:.62;cursor:default}
#veloraModal .pk319-voice .danger-btn {color:#a61546}
html[data-theme="dark"] #veloraModal .pk319-voice .danger-btn {color:#ffb3cc}
.pk319-voice :focus-visible,.pk319-voice-mini :focus-visible {outline:2px solid #b259bc;outline-offset:2px}
.pk319-voice [hidden],#packeroVoiceMini.pk319-voice-mini[hidden],#packeroVoiceMini.pk319-voice-mini [hidden] {display:none!important}
.pk319-voice-status {min-height:1.3em;margin:.5rem 0;font-size:.9rem;color:var(--muted,#665a70)}
.pk319-voice .pk319-voice-exit {border-top:1px solid var(--line,#e8dfed);padding-top:.65rem}
.pk319-voice .hp-voice109-drawer {margin:.75rem 0;padding:.75rem;border-radius:.85rem;overflow:visible;min-width:0}
.pk319-voice .hp-voice109-drawer header {display:flex;justify-content:space-between;align-items:center;gap:.4rem}
.pk319-voice .hp-voice109-drawer header button {min-width:44px}
.pk319-voice .hp-voice109-drawer label {display:grid;gap:.25rem;margin:.4rem 0}
.pk319-voice :is(input,select) {width:100%;min-width:0;box-sizing:border-box;padding:.5rem;border:1px solid var(--line,#e8dfed);border-radius:.65rem;background:var(--input-bg,var(--panel,#fff));color:var(--text,#251733);font-size:1rem}
.pk319-voice .hp-voice109-manage-list article {display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;min-width:0}
.pk319-voice .hp-voice109-manage-list article span {flex:1 1 6rem;min-width:0;overflow-wrap:anywhere}
.pk319-gift-filters {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
.pk319-voice .pk318-voice-gifts {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr));gap:.55rem}
.pk319-voice .hp-voice109-chat {display:flex;flex-direction:column;align-self:start}
.pk319-voice .hp-voice109-chat header {padding:.9rem}
.pk319-voice .hp-voice109-chat-messages {max-height:min(45dvh,26rem);min-height:8rem;overflow:auto;overscroll-behavior:contain}
.pk319-voice .hp-voice109-chat-messages article p {white-space:pre-wrap;overflow-wrap:anywhere}
.pk319-voice #voiceRoomChatForm {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem;padding:.65rem}
.pk319-voice .pk319-voice-receipts {padding:.7rem;border-top:1px solid var(--line,#e8dfed)}
.pk319-voice .pk319-voice-receipts summary {min-height:44px;padding:.5rem;cursor:pointer}
.pk319-voice .pk319-voice-receipts article {display:flex;gap:.35rem;align-items:center;flex-wrap:wrap;margin:.3rem 0;overflow-wrap:anywhere}
.pk319-voice .pk319-voice-receipts .pk301-gift-visual {width:44px;height:44px}
#packeroVoiceMini.pk319-voice-mini {width:min(24rem,calc(100% - 1rem));padding:.45rem;right:.5rem;bottom:max(.5rem,env(safe-area-inset-bottom));gap:.35rem}
#packeroVoiceMini.pk319-voice-mini .hp-voice109-mini-main {display:block!important;text-align:left;padding:.35rem .55rem!important}
#packeroVoiceMini.pk319-voice-mini .hp-voice109-mini-main span {display:grid}
#packeroVoiceMini.pk319-voice-mini .hp-voice109-mini-main small {font-size:.8rem}
#veloraModal .hp-live-modal-card .hp-live-exit-toolbar-v176 {position:absolute;z-index:110;inset:max(.5rem,env(safe-area-inset-top)) .5rem auto auto;display:flex;flex-wrap:nowrap}
#veloraModal .hp-live-modal-card .hp-live-exit-toolbar-v176 button {min-width:44px;min-height:44px}
@media(max-width:760px){
  #veloraModal:has(.hp-voice-room-card) {padding:0}
  #veloraModal .hp-modal-card.hp-voice-room-card {border-radius:0}
  .pk319-voice .hp-voice109-main {grid-template-columns:minmax(0,1fr);padding-bottom:calc(.75rem + env(safe-area-inset-bottom))}
  .pk319-voice .hp-voice109-seats {grid-template-columns:repeat(2,minmax(0,1fr))}
  .pk319-voice .hp-voice109-room-head-actions button:first-child span {position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
  .pk319-voice .hp-voice109-room-head-actions button:first-child {min-width:44px}
  #packeroVoiceMini.pk319-voice-mini {bottom:calc(4.6rem + env(safe-area-inset-bottom) + var(--pk319-keyboard,0px))}
}


#veloraModal .pk319-voice .hp-voice109-drawer {
  position:relative;inset:auto!important;width:100%;max-height:none!important;
  box-sizing:border-box;z-index:auto;box-shadow:none;overflow:visible;
}
#veloraModal .pk319-voice .pk318-voice-gifts .pk301-gift-visual {
  display:block;width:100%!important;height:clamp(72px,13vw,115px)!important;min-width:0;min-height:0;
}
#veloraModal .pk319-voice .pk318-voice-gifts {grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr))}
#packeroVoiceMini.pk319-voice-mini {box-sizing:border-box}
#packeroVoiceMini.pk319-voice-mini > div button {width:auto;min-width:44px;min-height:44px;height:auto;flex:none;white-space:nowrap}
.pk319-voice .hp-voice109-audience img {width:100%;height:100%;object-fit:cover}
.pk319-voice .hp-voice109-seat.empty {background:rgba(255,255,255,.09);color:#eee5f5}
.pk319-voice .hp-voice109-seat.empty :is(small,em) {color:#e5d9ef}
@media(max-width:760px){
  #veloraModal:has(.hp-voice-room-card) {inset:var(--pk319-viewport-top,0px) 0 auto!important;padding:0!important}
  #veloraModal .hp-modal-card.hp-voice-room-card {width:100%!important;height:100%!important;max-height:100%!important;border-radius:0!important}
  #veloraModal .pk319-voice .hp-voice109-room-head-actions {width:auto}
}
