/* includes/player/player-shared-ui.css */

.bp-sheet{
  position: fixed;
  inset: 0;
  z-index: 100120;
  display: none;
}

.bp-sheet.is-open{
  display: block;
}

.bp-sheet[aria-hidden="true"]{
  display: none;
}

.bp-sheet-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.bp-sheet-card{
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(760px, 100%);
  max-height: min(78vh, 720px);
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: rgba(14,16,18,.98);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  color: #f5f7f3;
}

.bp-sheet-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.bp-sheet-title{
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.bp-sheet-close{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #f5f7f3;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.bp-sheet-body{
  padding: 8px 10px 14px;
  overflow: auto;
  max-height: calc(min(78vh, 720px) - 68px);
}

.bp-sheet-item{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  padding: 14px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  color: #f5f7f3;
  cursor: pointer;
  margin-bottom: 10px;
}

.bp-sheet-item:hover{
  background: rgba(255,255,255,.08);
}

.bp-sheet-item:active{
  transform: scale(.995);
}

.bp-sheet-item .t{
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.bp-sheet-item .m{
  font-size: 12px;
  line-height: 1.3;
  opacity: .74;
  font-weight: 700;
}

.bp-sheet-item > div:first-child{
  min-width: 0;
  flex: 1 1 auto;
}

.bp-sheet-item .t,
.bp-sheet-item .m{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-report-modal{
  position: fixed;
  inset: 0;
  z-index: 100130;
  display: none;
}

.bp-report-modal.is-open{
  display: block;
}

.bp-report-modal[aria-hidden="true"]{
  display: none;
}

.bp-report-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.56);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.bp-report-card{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 24px));
  border-radius: 24px;
  background: rgba(14,16,18,.98);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  color: #f5f7f3;
  overflow: hidden;
}

.bp-report-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.bp-report-title{
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.bp-report-close{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #f5f7f3;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.bp-report-body{
  padding: 10px;
}

.bp-report-body button[data-report]{
  width: 100%;
  display: block;
  text-align: left;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #f5f7f3;
  border-radius: 16px;
  padding: 14px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.bp-report-body button[data-report]:hover{
  background: rgba(255,255,255,.08);
}

.bp-report-body button[data-report]:active{
  transform: scale(.995);
}

@media (max-width: 640px){
  .bp-sheet-card{
    width: 100%;
    border-radius: 22px 22px 0 0;
  }

  .bp-report-card{
    width: calc(100% - 20px);
    border-radius: 20px;
  }

  .bp-sheet-head,
  .bp-report-head{
    padding: 12px 14px;
  }

  .bp-sheet-body,
  .bp-report-body{
    padding: 8px;
  }

  .bp-sheet-item,
  .bp-report-body button[data-report]{
    border-radius: 14px;
    padding: 13px 12px;
  }
}