.entertainment-experience {
  position: relative;
}

.dango-game-zone {
  position: relative;
  overflow: clip;
  padding: 112px 28px 126px;
  background:
    radial-gradient(circle at 18% 16%, rgba(242, 201, 114, .14), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(242, 154, 178, .12), transparent 25%),
    linear-gradient(180deg, #85343a 0%, #702d35 30%, #512a35 100%);
  color: #fff9f4;
}

.dango-game-zone::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 239, 197, .025) 1px, transparent 1px),
    linear-gradient(rgba(255, 239, 197, .025) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  pointer-events: none;
}

.dango-game-zone::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 150px;
  background: linear-gradient(0deg, rgba(255, 249, 244, .12), transparent);
  content: "";
  pointer-events: none;
}

.tsukumo-dango-game {
  position: relative;
  z-index: 1;
}

.dango-game-heading {
  width: min(100%, 760px);
  margin: 0 auto 50px;
  text-align: center;
}

.dango-game-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
  color: #f3cc7b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
}

.dango-game-kicker::before,
.dango-game-kicker::after {
  width: 42px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: .65;
}

.dango-game-invitation {
  margin-bottom: 10px;
  color: rgba(255, 249, 244, .75);
  font-size: 14px;
  letter-spacing: .08em;
}

.dango-game-heading h3 {
  margin: 0 0 20px;
  color: #fff9f4;
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: .08em;
}

.dango-game-lead {
  margin-bottom: 20px;
  color: #ffe8c0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.65;
}

.dango-game-heading blockquote {
  margin: 0 0 12px;
  color: rgba(255, 249, 244, .9);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.8;
}

.dango-game-summary {
  margin: 0;
  color: rgba(255, 249, 244, .66);
  font-size: 12px;
  letter-spacing: .08em;
}

.dango-game-stage {
  --dango-size: clamp(54px, 5vw, 66px);
  --skewer-progress: 0;
  position: relative;
  isolation: isolate;
  width: min(100%, 960px, calc((100svh - var(--header-height) - 112px) * 16 / 9));
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(240, 207, 139, .64);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 110%, rgba(215, 91, 88, .22), transparent 42%),
    linear-gradient(180deg, #101d30 0%, #17283c 56%, #1d3043 100%);
  box-shadow: 0 36px 80px rgba(32, 13, 22, .35), inset 0 0 72px rgba(4, 12, 25, .35);
  color: #fff9f4;
  cursor: default;
  touch-action: pan-y;
}

.dango-game-stage::after {
  position: absolute;
  right: 5%;
  bottom: 4%;
  left: 5%;
  z-index: 1;
  height: 12%;
  border-top: 1px solid rgba(240, 207, 139, .16);
  background: linear-gradient(180deg, rgba(212, 91, 88, .04), rgba(212, 91, 88, .14));
  content: "";
  clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.dango-game-stage[data-game-state="playing"] {
  cursor: crosshair;
}

.dango-game-stage:focus-visible {
  outline: 3px solid #75d5cf;
  outline-offset: 5px;
}

.dango-game-sky,
.dango-game-playfield {
  position: absolute;
  inset: 0;
}

.dango-game-sky {
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.dango-game-moon {
  position: absolute;
  top: 10%;
  right: 9%;
  width: 10%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 36%, #fff9df, #f0ce82 62%, rgba(240, 206, 130, .25) 66%, transparent 70%);
  filter: drop-shadow(0 0 18px rgba(255, 224, 148, .24));
  opacity: .58;
}

.dango-game-torii {
  position: absolute;
  bottom: 7%;
  left: 8%;
  width: 17%;
  height: 34%;
  opacity: .14;
}

.dango-game-torii i {
  position: absolute;
  display: block;
  background: #e96c65;
}

.dango-game-torii i:first-child {
  top: 0;
  left: -7%;
  width: 114%;
  height: 7%;
  border-radius: 999px;
  box-shadow: 0 12px 0 rgba(233, 108, 101, .72);
}

.dango-game-torii i:nth-child(2),
.dango-game-torii i:nth-child(3) {
  top: 12%;
  width: 6%;
  height: 88%;
}

.dango-game-torii i:nth-child(2) { left: 18%; }
.dango-game-torii i:nth-child(3) { right: 18%; }

.dango-game-petal {
  position: absolute;
  width: 10px;
  height: 7px;
  border-radius: 80% 10% 80% 10%;
  background: rgba(242, 154, 178, .52);
  animation: dango-petal-drift 5.5s ease-in-out infinite alternate;
}

.dango-game-petal--one { top: 22%; left: 12%; }
.dango-game-petal--two { top: 38%; right: 18%; animation-delay: -1.8s; }
.dango-game-petal--three { top: 68%; left: 28%; animation-delay: -3.4s; }

@keyframes dango-petal-drift {
  to { transform: translate(16px, 22px) rotate(88deg); }
}

.dango-game-status {
  position: absolute;
  top: 16px;
  right: 18px;
  left: 18px;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.dango-game-throws {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(255, 232, 192, .22);
  border-radius: 999px;
  background: rgba(10, 22, 37, .58);
  backdrop-filter: blur(6px);
}

.dango-game-throws span {
  color: rgba(255, 249, 244, .64);
  font-size: 10px;
  letter-spacing: .14em;
}

.dango-game-throws strong {
  color: #f3cc7b;
  font-size: 14px;
  letter-spacing: .08em;
}

.dango-game-mute {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 82px;
  min-height: 42px;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 232, 192, .26);
  border-radius: 999px;
  background: rgba(10, 22, 37, .68);
  color: #fff9f4;
  font-size: 11px;
  cursor: pointer;
  pointer-events: auto;
}

.dango-game-mute span { color: #f3cc7b; font-size: 16px; }
.dango-game-mute b { font-weight: 500; }
.dango-game-mute[aria-pressed="true"] { color: rgba(255, 249, 244, .62); }

.dango-game-playfield {
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.dango-game-lane {
  position: absolute;
  right: 9%;
  left: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 207, 139, .18) 18%, rgba(240, 207, 139, .18) 82%, transparent);
}

.dango-game-lane--top { top: 26%; }
.dango-game-lane--middle { top: 48%; }
.dango-game-lane--bottom { top: 70%; }

.dango-game-aim {
  position: absolute;
  top: 17%;
  bottom: 7%;
  left: 50%;
  width: 1px;
  background: repeating-linear-gradient(180deg, rgba(243, 204, 123, .28) 0 5px, transparent 5px 12px);
  transform: translateX(-50%);
}

.dango {
  position: absolute;
  left: 50%;
  z-index: 4;
  display: block;
  width: var(--dango-size);
  height: var(--dango-size);
  transform: translate(-50%, -50%);
  will-change: left;
}

.dango--top { top: 26%; }
.dango--middle { top: 48%; }
.dango--bottom { top: 70%; }

.dango__orb {
  position: absolute;
  inset: 0;
  display: block;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 48% 52% 50% 47%;
  box-shadow: inset -8px -10px 16px rgba(49, 24, 32, .16), inset 7px 7px 12px rgba(255, 255, 255, .34), 0 10px 22px rgba(4, 12, 25, .25);
}

.dango__orb::after {
  position: absolute;
  top: 16%;
  left: 20%;
  width: 24%;
  height: 16%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .34);
  content: "";
  filter: blur(1px);
  transform: rotate(-24deg);
}

.dango--top .dango__orb { background: radial-gradient(circle at 34% 28%, #ffd6e0, #ef91ac 66%, #d56d8b); }
.dango--middle .dango__orb { background: radial-gradient(circle at 34% 28%, #fffef6, #f5ead5 68%, #d9c9ac); }
.dango--bottom .dango__orb { background: radial-gradient(circle at 34% 28%, #d9e9bb, #85a85d 66%, #607f45); }

.dango.is-hit .dango__orb {
  animation: dango-hit-pop .26s ease-out;
  box-shadow: inset -8px -10px 16px rgba(49, 24, 32, .12), inset 7px 7px 12px rgba(255, 255, 255, .42), 0 0 26px rgba(243, 204, 123, .62);
}

.dango.is-missed .dango__orb { opacity: .58; }

@keyframes dango-hit-pop {
  35% { transform: scale(.92); }
  68% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.dango-game-skewer {
  position: absolute;
  bottom: 7%;
  left: 50%;
  z-index: 3;
  width: 5px;
  height: 78%;
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(90deg, #b58a55, #e1bd82 45%, #9c7145);
  box-shadow: 0 0 8px rgba(233, 198, 136, .22);
  opacity: 0;
  transform: translateX(-50%) scaleY(var(--skewer-progress));
  transform-origin: 50% 100%;
  will-change: transform;
}

.dango-game-skewer i {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 5px solid transparent;
  border-bottom: 12px solid #e1bd82;
  border-left: 5px solid transparent;
  transform: translateX(-50%);
}

.dango-game-stage.is-throwing .dango-game-skewer { opacity: 1; }

.dango-game-chatter {
  position: absolute;
  right: 16%;
  bottom: 3.6%;
  left: 16%;
  z-index: 6;
  margin: 0;
  color: rgba(255, 249, 244, .68);
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  pointer-events: none;
}

.dango-game-start,
.dango-game-result {
  position: absolute;
  inset: 8%;
  z-index: 9;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid rgba(240, 207, 139, .34);
  border-radius: 18px;
  background: rgba(10, 23, 39, .82);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  backdrop-filter: blur(9px);
  text-align: center;
}

.dango-game-start[hidden],
.dango-game-round[hidden],
.dango-game-result[hidden] { display: none; }

.dango-game-overlay-label {
  margin-bottom: 12px;
  color: #f3cc7b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
}

.dango-game-start > p:not(.dango-game-overlay-label) {
  margin-bottom: 22px;
  color: rgba(255, 249, 244, .82);
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.dango-game-start button,
.dango-game-result button {
  min-width: 190px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  background: #d85b58;
  box-shadow: 0 12px 28px rgba(93, 30, 34, .28);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.dango-game-start button:hover,
.dango-game-result button:hover { background: #c94e4b; }

.dango-game-round {
  position: absolute;
  right: 15%;
  bottom: 10%;
  left: 15%;
  z-index: 8;
  display: grid;
  gap: 3px;
  padding: 12px 18px;
  border: 1px solid rgba(240, 207, 139, .34);
  border-radius: 12px;
  background: rgba(10, 23, 39, .86);
  text-align: center;
  pointer-events: none;
}

.dango-game-round strong {
  color: #ffe8c0;
  font-family: var(--serif);
  font-size: 18px;
}

.dango-game-round span {
  color: rgba(255, 249, 244, .78);
  font-size: 12px;
}

.dango-game-result { inset: 5.5%; }

.dango-game-result h4 {
  margin: 0 0 8px;
  color: #ffe8c0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.35;
}

.dango-game-result > p:not(.dango-game-overlay-label):not(.dango-game-palmu-prompt) {
  margin: 0 0 10px;
  color: rgba(255, 249, 244, .7);
  font-size: 13px;
}

.dango-game-result blockquote {
  margin: 0 0 18px;
  color: #fff9f4;
  font-family: var(--serif);
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.7;
}

.dango-game-palmu-prompt {
  margin: 16px 0 4px;
  color: rgba(255, 249, 244, .58);
  font-size: 10px;
}

.dango-game-result > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  color: #9fded9;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.dango-game-accessible-help {
  width: min(100%, 760px);
  margin: 22px auto 0;
  color: rgba(255, 249, 244, .62);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

@media (max-width: 767px) {
  .dango-game-zone {
    padding: 82px 16px calc(126px + env(safe-area-inset-bottom));
  }

  .dango-game-heading { margin-bottom: 36px; }
  .dango-game-kicker { gap: 10px; font-size: 9px; letter-spacing: .17em; }
  .dango-game-kicker::before,
  .dango-game-kicker::after { width: 24px; }
  .dango-game-invitation { font-size: 12px; }
  .dango-game-heading h3 { margin-bottom: 15px; font-size: clamp(31px, 9vw, 38px); }
  .dango-game-lead { font-size: 21px; }
  .dango-game-heading blockquote { font-size: 15.5px; }

  .dango-game-stage {
    --dango-size: clamp(44px, 13vw, 54px);
    width: min(100%, 430px, calc((100svh - var(--header-height) - 110px) * 3 / 4));
    aspect-ratio: 3 / 4;
    border-radius: 18px;
  }

  .dango-game-status { top: 11px; right: 11px; left: 11px; }
  .dango-game-throws { gap: 7px; padding: 6px 10px; }
  .dango-game-throws span { font-size: 9px; }
  .dango-game-throws strong { font-size: 12px; }
  .dango-game-mute { min-width: 72px; min-height: 40px; padding: 7px 9px; }

  .dango-game-moon { top: 11%; right: 10%; width: 15%; }
  .dango-game-torii { bottom: 5%; left: 5%; width: 24%; height: 28%; }
  .dango-game-lane { right: 7%; left: 7%; }
  .dango-game-lane--top,
  .dango--top { top: 24%; }
  .dango-game-lane--middle,
  .dango--middle { top: 47%; }
  .dango-game-lane--bottom,
  .dango--bottom { top: 70%; }
  .dango-game-aim { top: 17%; bottom: 7%; }
  .dango-game-skewer { height: 80%; }
  .dango-game-chatter { right: 10%; left: 10%; font-size: 10.5px; }

  .dango-game-start,
  .dango-game-result { inset: 7%; padding: 20px 14px; border-radius: 15px; }
  .dango-game-start > p:not(.dango-game-overlay-label) { margin-bottom: 18px; font-size: 16px; }
  .dango-game-start button,
  .dango-game-result button { min-width: 170px; min-height: 46px; padding: 10px 18px; font-size: 14px; }
  .dango-game-round { right: 8%; bottom: 8%; left: 8%; }
  .dango-game-round strong { font-size: 16px; }
  .dango-game-round span { font-size: 10.5px; line-height: 1.55; }
  .dango-game-result { inset: 4.5%; }
  .dango-game-result h4 { font-size: clamp(24px, 7.4vw, 31px); }
  .dango-game-result blockquote { margin-bottom: 12px; font-size: 14px; }
  .dango-game-palmu-prompt { margin-top: 10px; }
  .dango-game-accessible-help { margin-top: 18px; font-size: 11px; text-align: left; }
}

@media (max-width: 370px), (max-height: 680px) and (max-width: 767px) {
  .dango-game-stage { width: min(100%, 430px, calc((100svh - var(--header-height) - 96px) * 3 / 4)); }
  .dango-game-result h4 { margin-bottom: 4px; font-size: 24px; }
  .dango-game-result blockquote { margin-bottom: 9px; font-size: 13px; }
  .dango-game-result > p:not(.dango-game-overlay-label):not(.dango-game-palmu-prompt) { margin-bottom: 6px; font-size: 11px; }
  .dango-game-palmu-prompt { margin-top: 7px; }
}

@media (min-width: 768px) and (max-height: 700px) {
  .dango-game-stage { width: min(100%, 820px, calc((100svh - var(--header-height) - 82px) * 16 / 9)); }
}

@media (prefers-reduced-motion: reduce) {
  .dango-game-petal { animation: none; }
  .dango.is-hit .dango__orb { animation: none; }
  .dango-game-moon { filter: none; }
}
