/* PC_SUB DEDICATED FILE */
/* Split from former 30_components.css for maintenance safety */

.notice-modal{
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-popup) + 20);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.82);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}

.notice-modal.active{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.notice-modal-overlay{
  position: absolute;
  inset: 0;
}

.notice-modal-content{
  position: relative;
  width: min(980px, calc(100% - 180px));
  background: transparent;
  overflow: hidden;
  border-radius: 8px;
}

.notice-modal-body{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  justify-items: stretch;
  height: min(660px, calc(100vh - 210px));
  padding: 0;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: #f4f4f4;
  box-shadow: 0 28px 64px rgba(0,0,0,.30);
}

.notice-modal-body img{
  display:block;
  width:100%;
  height:100%;
  object-fit: contain;
  object-position: center;
  clip-path: none;
  transform: none;
  margin:0;
  background: transparent;
}

.notice-modal-bottom{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding: 8px 22px;
  border-radius: 0 0 8px 8px;
  background: #3a3a3a;
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
  position: relative;
}

.notice-modal-close{
  position: static;
  border: none;
  padding: 2px 10px;
  background: none;
  color: #fff;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: .96;
}

.notice-modal-close:hover{
  opacity:.76;
}
