/* skrimpf.club version: 1.0 (revision 11) */
#xp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

#xp-dialog {
  width: 368px;
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
  color: #000;
  background: #ece9d8;
  border: 3px solid #0054e3;
  border-top-width: 0;
  border-radius: 8px 8px 3px 3px;
  box-shadow:
    2px 3px 10px rgba(0, 0, 0, 0.55),
    inset 1px 0 #0831d9,
    inset -1px 0 #001ea0,
    inset 0 -1px #001ea0;
  font: 11px 'Tahoma', sans-serif;
  overflow: hidden;
}

#xp-titlebar {
  position: relative;
  min-height: 29px;
  margin: 0 -3px;
  padding: 3px 4px 3px 8px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  font: bold 13px 'Tahoma', sans-serif;
  text-shadow: 1px 1px #0f2f87;
  border-radius: 8px 8px 0 0;
  border-top: 1px solid #4aa4ff;
  border-left: 1px solid #0a46d3;
  border-right: 1px solid #001ea0;
  background:
    linear-gradient(to bottom,
      #0997ff 0%,
      #087df1 7%,
      #0058ee 18%,
      #0053ee 55%,
      #034fe4 80%,
      #003bc2 100%);
  box-shadow:
    inset 0 1px rgba(255,255,255,.6),
    inset 0 -1px #002ca5;
}

#xp-titlebar::after {
  content: '';
  position: absolute;
  left: 5px;
  right: 5px;
  top: 2px;
  height: 1px;
  background: rgba(255,255,255,.35);
  pointer-events: none;
}

#xp-title {
  position: relative;
  padding-left: 18px;
  line-height: 20px;
}

#xp-title::before {
  content: '!';
  position: absolute;
  left: 0;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e33a2c;
  color: #fff;
  font: bold 10px 'Tahoma', sans-serif;
  line-height: 14px;
  text-align: center;
  text-shadow: none;
  box-shadow: inset 1px 1px rgba(255,255,255,.65);
}

#xp-close {
  position: relative;
  width: 21px;
  height: 21px;
  padding: 0 0 2px;
  border: 1px solid #fff;
  border-radius: 3px;
  color: #fff;
  background:
    linear-gradient(to bottom right,
      #f6a196 0%,
      #e76a5d 18%,
      #d64a3c 48%,
      #bd2c1f 75%,
      #a81f15 100%);
  box-shadow:
    inset 1px 1px rgba(255,255,255,.55),
    inset -1px -1px rgba(105,20,10,.35);
  font: bold 17px/17px 'Tahoma', sans-serif;
  text-align: center;
  cursor: pointer;
  text-shadow: 1px 1px #7b140d;
}

#xp-close:hover {
  filter: brightness(1.08);
}

#xp-close:active {
  background: #b52c20;
  box-shadow: inset 1px 1px #7a1b12;
}

#xp-body {
  min-height: 82px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px 8px;
  background: #ece9d8;
}

#xp-icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #ff9a90 0 7%, #ef5548 28%, #cf2f23 65%, #9e180f 100%);
  color: transparent;
  border: 1px solid #8e160d;
  box-shadow:
    inset 1px 1px 1px rgba(255,255,255,.75),
    1px 1px 2px rgba(0,0,0,.28);
}

#xp-icon::before,
#xp-icon::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 6px;
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 1px 1px rgba(120,0,0,.3);
}

#xp-icon::before { transform: rotate(45deg); }
#xp-icon::after { transform: rotate(-45deg); }

#xp-message {
  padding-top: 5px;
  line-height: 1.35;
}

#xp-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 14px 14px;
  background: #ece9d8;
}

#xp-buttons button {
  min-width: 75px;
  min-height: 23px;
  box-sizing: border-box;
  padding: 2px 11px 3px;
  border: 1px solid #003c74;
  border-radius: 3px;
  color: #000;
  background:
    linear-gradient(to bottom,
      #ffffff 0%,
      #ffffff 45%,
      #e5eef7 46%,
      #c9dff4 100%);
  box-shadow:
    inset 1px 1px #fff,
    inset -1px -1px #8aa9c7;
  font: 11px 'Tahoma', sans-serif;
  cursor: default;
}

#xp-buttons button:hover {
  border-color: #e68b2c;
  box-shadow:
    inset 1px 1px #fff,
    inset -1px -1px #d69d59,
    0 0 0 1px #ffcf72;
}

#xp-buttons button:focus-visible {
  outline: 1px dotted #000;
  outline-offset: -4px;
}

#xp-buttons button:active {
  padding: 3px 10px 2px 12px;
  background: #d9e8f7;
  box-shadow: inset 1px 1px #7f9db9;
}
