html.rules-easter-egg-open{
  overflow:hidden;
}
.rules-list .rules-easter-egg-trigger{
  min-width:0;
  width:100%;
  margin:0;
  padding:13px 14px;
  color:var(--txt);
  border:0;
  border-radius:0;
  background:transparent;
  font:inherit;
  font-size:13px;
  line-height:1.6;
  text-align:left;
}
.rules-list .rules-easter-egg-trigger:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:-4px;
}
.rules-easter-egg{
  width:100vw;
  max-width:none;
  height:100dvh;
  max-height:none;
  margin:0;
  padding:clamp(8px,2vw,24px);
  color:var(--txt);
  border:0;
  background:rgba(1,5,9,.76);
  overflow:hidden;
}
.rules-easter-egg[open]{
  display:grid;
  place-items:center;
}
.rules-easter-egg[open] .rules-easter-egg__surface{
  animation:rules-easter-egg-open .24s ease-out both;
}
.rules-easter-egg::backdrop{
  background:rgba(0,3,7,.9);
  backdrop-filter:blur(6px);
}
.rules-easter-egg__surface{
  position:relative;
  z-index:1;
  width:min(100%,1120px);
  max-height:100%;
  min-width:0;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  border:2px solid var(--cyan);
  border-radius:12px;
  background:linear-gradient(160deg,rgba(0,38,58,.98),rgba(1,13,22,.99) 55%,rgba(0,27,43,.98));
  box-shadow:0 0 42px rgba(67,196,239,.38),inset 0 0 22px rgba(67,196,239,.12);
  overflow:hidden;
}
.rules-easter-egg__surface::before{
  content:"";
  position:absolute;
  inset:5px;
  z-index:0;
  border:1px solid rgba(67,196,239,.38);
  border-radius:7px;
  pointer-events:none;
}
.rules-easter-egg__header,
.rules-easter-egg__stage,
.rules-easter-egg__caption{
  position:relative;
  z-index:1;
}
.rules-easter-egg__header{
  min-width:0;
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px 14px 12px 18px;
  border-bottom:1px solid rgba(67,196,239,.34);
  background:linear-gradient(90deg,rgba(0,54,82,.9),rgba(1,17,28,.9));
}
.rules-easter-egg__heading{
  min-width:0;
  flex:1;
  display:grid;
  gap:3px;
}
.rules-easter-egg__kicker,
.rules-easter-egg-warning__kicker{
  color:var(--gold-soft);
  font-size:9px;
  line-height:1.2;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.rules-easter-egg__title,
.rules-easter-egg-warning__title{
  margin:0;
  color:#e9f8ff;
  font-family:var(--f-head);
  font-size:17px;
  line-height:1.25;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-shadow:0 0 10px rgba(120,215,255,.6);
}
.rules-easter-egg__close{
  position:relative;
  z-index:4;
  flex:none;
  display:grid;
  place-items:center;
  width:48px;
  min-width:48px;
  height:48px;
  padding:0;
  color:var(--cyan-bright);
  border:1px solid var(--cyan-mid);
  border-radius:6px;
  background:rgba(1,16,26,.94);
  box-shadow:0 0 14px rgba(67,196,239,.24);
  cursor:pointer;
}
.rules-easter-egg__close svg{
  display:block;
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.rules-easter-egg__close:hover,
.rules-easter-egg__close:focus-visible{
  color:#fff;
  border-color:var(--cyan-bright);
  background:rgba(0,49,72,.98);
}
.rules-easter-egg__close:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}
.rules-easter-egg__stage{
  min-width:0;
  min-height:0;
  display:grid;
  place-items:center;
  padding:12px;
  background:
    radial-gradient(circle at 50% 45%,rgba(67,196,239,.12),transparent 55%),
    rgba(0,4,8,.76);
  overflow:hidden;
}
.rules-easter-egg__status{
  margin:clamp(90px,20vh,190px) 20px;
  color:var(--cyan-soft);
  font-family:var(--f-head);
  font-size:12px;
  letter-spacing:.12em;
  text-align:center;
  text-transform:uppercase;
  text-shadow:0 0 10px rgba(67,196,239,.6);
}
.rules-easter-egg__status.is-error{
  color:#ffaaa2;
}
.rules-easter-egg__image{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:calc(100dvh - 190px);
  object-fit:contain;
  border:1px solid rgba(67,196,239,.68);
  border-radius:7px;
  background:#001522;
  box-shadow:0 0 30px rgba(67,196,239,.24);
  user-select:none;
  -webkit-user-select:none;
  -webkit-user-drag:none;
  -webkit-touch-callout:none;
}
.rules-easter-egg__image[hidden],
.rules-easter-egg__status[hidden]{
  display:none;
}
.rules-easter-egg__caption{
  margin:0;
  padding:11px 18px 14px;
  color:var(--txt-mute);
  border-top:1px solid rgba(67,196,239,.28);
  background:rgba(1,14,23,.97);
  font-size:11px;
  line-height:1.5;
  letter-spacing:.04em;
}
.rules-easter-egg__celebration{
  position:fixed;
  inset:0;
  z-index:3;
  width:100%;
  height:100%;
  pointer-events:none;
}
.rules-easter-egg-warning{
  width:min(92vw,470px);
  max-width:none;
  margin:auto;
  padding:0;
  color:var(--txt);
  border:0;
  background:transparent;
  overflow:visible;
}
.rules-easter-egg-warning[open]{
  display:block;
}
.rules-easter-egg-warning[open] .rules-easter-egg-warning__surface{
  animation:rules-easter-egg-warning-open .18s ease-out both;
}
.rules-easter-egg-warning::backdrop{
  background:rgba(0,3,7,.78);
  backdrop-filter:blur(3px);
}
.rules-easter-egg-warning__surface{
  display:grid;
  gap:12px;
  padding:22px;
  border:2px solid var(--gold);
  border-radius:10px;
  background:linear-gradient(155deg,rgba(55,39,7,.98),rgba(5,15,22,.99) 64%);
  box-shadow:0 0 34px rgba(245,196,19,.3),inset 0 0 18px rgba(245,196,19,.08);
}
.rules-easter-egg-warning__title{
  color:var(--gold-bright);
  text-shadow:0 0 10px rgba(245,196,19,.42);
}
.rules-easter-egg-warning__copy{
  margin:0;
  color:var(--txt);
  font-size:13px;
  line-height:1.6;
}
.rules-easter-egg-warning__button{
  justify-self:end;
  min-width:150px;
}
@keyframes rules-easter-egg-open{
  from{ opacity:0; transform:scale(.95); }
  to{ opacity:1; transform:none; }
}
@keyframes rules-easter-egg-warning-open{
  from{ opacity:0; transform:translateY(8px) scale(.97); }
  to{ opacity:1; transform:none; }
}
@media (max-width:600px){
  .rules-easter-egg{
    padding:6px;
  }
  .rules-easter-egg__surface{
    width:100%;
    border-radius:8px;
  }
  .rules-easter-egg__header{
    padding:9px 9px 9px 13px;
  }
  .rules-easter-egg__kicker{
    font-size:8px;
  }
  .rules-easter-egg__title{
    font-size:13px;
  }
  .rules-easter-egg__stage{
    padding:6px;
  }
  .rules-easter-egg__image{
    max-height:calc(100dvh - 170px);
  }
  .rules-easter-egg__caption{
    padding:9px 12px 11px;
    font-size:10px;
  }
  .rules-easter-egg-warning__surface{
    padding:18px;
  }
  .rules-easter-egg-warning__button{
    width:100%;
  }
}
@media (prefers-reduced-motion:reduce){
  .rules-easter-egg[open] .rules-easter-egg__surface,
  .rules-easter-egg-warning[open] .rules-easter-egg-warning__surface{
    animation:none;
  }
}
@media (forced-colors:active){
  .rules-easter-egg__surface,
  .rules-easter-egg__image,
  .rules-easter-egg__close,
  .rules-easter-egg-warning__surface{
    border:1px solid CanvasText;
  }
}
@media (prefers-reduced-motion:reduce){
  .rules-easter-egg__surface,
  .rules-easter-egg-warning__surface{
    animation:none;
  }
}
@media (forced-colors:active){
  .rules-easter-egg__surface,
  .rules-easter-egg__image,
  .rules-easter-egg__close,
  .rules-easter-egg-warning__surface{
    border:1px solid CanvasText;
  }
}
