.seasonal-events {
  margin-top: 21px;
}

.holiday-shop-notice {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding: 17px 19px;
  border: 1px solid rgba(244, 203, 49, .42);
  border-radius: 8px;
  background: rgba(48, 39, 19, .82);
  color: #efe9d4;
}
.holiday-shop-notice__label {
  color: #f4cb31;
  font: 800 10px/1.3 ui-monospace, Consolas, monospace;
  letter-spacing: .1em;
}
.holiday-shop-notice strong { font-size: 17px; }
.holiday-shop-notice p { margin: 0; color: #d2c9ab; font-size: 12px; line-height: 1.5; }

.seasonal-events__tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 9px;
}

.seasonal-events__tabs button {
  flex: 1;
  min-height: 37px;
  padding: 9px 13px;
  border: 1px solid rgba(173, 212, 160, .18);
  border-radius: 5px;
  background: rgba(11, 27, 23, .82);
  color: #aab9a5;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: left;
}

.seasonal-events__tabs button[aria-selected="true"] {
  border-color: rgba(248, 159, 93, .55);
  background: linear-gradient(100deg, #4b1b30, #2b1b2b);
  color: #ffe1b8;
}

.seasonal-events__tabs button:hover {
  border-color: rgba(255, 172, 88, .48);
  color: #fff1dc;
}

.seasonal-events__tabs button:focus-visible,
.halloween-event__toggle:focus-visible {
  outline: 2px solid #ffbd80;
  outline-offset: 2px;
}

.seasonal-events .system-failure-goal {
  margin-top: 0;
}

.halloween-event {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(248, 147, 93, .55);
  border-radius: 9px;
  background: #140c19;
  box-shadow: inset 0 1px rgba(255, 220, 177, .19), 0 18px 40px rgba(0, 0, 0, .23);
}

.halloween-event[hidden],
.halloween-event__details[hidden] {
  display: none;
}

.halloween-event__art {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 255px;
  overflow: hidden;
}

.halloween-event__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.halloween-event__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 7, 20, .98) 0%, rgba(16, 8, 23, .91) 20%, rgba(20, 8, 24, .63) 43%, rgba(15, 6, 20, .08) 78%),
    linear-gradient(0deg, rgba(13, 7, 20, .88), transparent 46%);
}

.halloween-event__content {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 255px;
  padding: 25px 28px 20px;
}

.halloween-event__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  color: #ffb77c;
  font: 800 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.halloween-event__badge {
  flex: none;
  padding: 6px 9px;
  border: 1px solid rgba(255, 196, 124, .55);
  border-radius: 3px;
  background: rgba(27, 9, 19, .73);
  color: #ffdaa9;
  font-size: 9px;
  letter-spacing: .1em;
  box-shadow: 0 1px 12px rgba(10, 0, 8, .27);
}

.halloween-event h3 {
  max-width: 590px;
  margin: 35px 0 5px;
  color: #fff2e4;
  font-size: clamp(38px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.065em;
  text-shadow: 0 3px 20px rgba(8, 1, 9, .9);
}

.halloween-event__content > p {
  margin: 0;
  color: #eacbb8;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 2px 12px #160611;
}

.halloween-event__bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 20px;
}

.halloween-event__statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.halloween-event__statuses span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 197, 152, .3);
  border-radius: 3px;
  background: rgba(18, 8, 23, .8);
  color: #ffe5ce;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  backdrop-filter: blur(6px);
}

.halloween-event__toggle {
  flex: none;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 191, 128, .55);
  border-radius: 3px;
  background: rgba(32, 10, 23, .81);
  color: #ffe1ba;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

.halloween-event__toggle:hover {
  background: rgba(95, 34, 44, .88);
  color: #fff4e6;
}

.halloween-event__toggle span {
  margin-left: 9px;
  color: #ffad72;
  font-size: 14px;
}

.halloween-event__details {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 24px;
  padding: 17px 28px 19px;
  border-top: 1px solid rgba(248, 168, 91, .24);
  background: #19101d;
}

.halloween-event__map-info,
.halloween-event__shop-info {
  display: grid;
  align-content: start;
  gap: 5px;
}

.halloween-event__details strong {
  color: #ffbd80;
  font: 800 10px/1.25 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .1em;
}

.halloween-event__details span,
.halloween-event__devices {
  color: #e0d3c9;
  font-size: 12px;
  line-height: 1.45;
}

.halloween-event__skins {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.halloween-event__skins figure {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 102px;
  margin: 0;
  padding: 4px 9px 4px 4px;
  border: 1px solid rgba(248, 168, 91, .2);
  background: rgba(255, 255, 255, .035);
}

.halloween-event__skins img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.halloween-event__skins figcaption {
  color: #f3e4d3;
  font-size: 11px;
  font-weight: 750;
}

.halloween-event__devices {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 620px) {
  .seasonal-events { margin-top: 17px; }
  .seasonal-events__tabs button { font-size: 10px; }
  .halloween-event__art { height: 322px; }
  .halloween-event__art img { object-position: 61% center; }
  .halloween-event__art::after {
    background: linear-gradient(0deg, #160b1b 0%, rgba(20, 8, 24, .9) 11%, rgba(18, 7, 23, .55) 52%, rgba(14, 6, 21, .48) 100%);
  }
  .halloween-event__content { min-height: 322px; padding: 17px 17px 18px; }
  .halloween-event__top { gap: 8px; font-size: 8px; letter-spacing: .07em; }
  .halloween-event__badge { padding: 5px 6px; font-size: 8px; }
  .halloween-event h3 { margin: auto 0 5px; font-size: clamp(33px, 9vw, 40px); }
  .halloween-event__content > p { font-size: 12px; }
  .halloween-event__bottom { align-items: stretch; flex-direction: column; gap: 10px; margin-top: 15px; padding-top: 0; }
  .halloween-event__statuses { gap: 5px; }
  .halloween-event__statuses span { padding: 6px 8px; font-size: 10px; }
  .halloween-event__toggle { align-self: flex-start; }
  .halloween-event__details { grid-template-columns: 1fr; padding: 16px 17px; }
  .halloween-event__skins,
  .halloween-event__devices { grid-column: 1; }
}

@media (max-width: 380px) {
  .halloween-event__content { min-height: 330px; }
  .halloween-event__top { flex-wrap: wrap; }
}
