#spellk-steam-notice {
  position: fixed;
  z-index: 40;
  top: 94px;
  right: 74px;
  box-sizing: border-box;
  width: 302px;
  padding: 20px;
  border: 1px solid #936580;
  border-radius: 12px;
  background: #241321;
  color: #fff5eb;
  box-shadow: 0 8px 28px #13081266;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-align: left;
}

#spellk-steam-notice .steam-notice-close {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #dbc6d5;
  font: 24px/1 sans-serif;
  cursor: pointer;
}

#spellk-steam-notice h2 {
  margin: 0 14px 8px 0;
  color: #fff5eb;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

#spellk-steam-notice .steam-notice-copy {
  margin: 0 0 16px;
  color: #d9c4d2;
  font-size: 13px;
  line-height: 1.5;
}

#spellk-steam-notice .steam-notice-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
  box-sizing: border-box;
  padding: 9px 14px;
  border: 1px solid #e9b77e;
  border-radius: 6px;
  background: #e9b77e;
  color: #251520;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

#spellk-steam-notice .steam-notice-link:hover {
  background: #f5c995;
}

#spellk-steam-notice .steam-notice-close:hover {
  background: #ffffff14;
  color: #fff;
}

#spellk-steam-notice a:focus-visible,
#spellk-steam-notice button:focus-visible {
  outline: 2px solid #fff5eb;
  outline-offset: 3px;
}

@media (max-width: 500px) {
  #spellk-steam-notice {
    left: 16px;
    right: 16px;
    width: auto;
    padding: 16px;
  }
}

@media (max-height: 440px) {
  #spellk-steam-notice {
    top: 12px;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }
}
