.gx {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow: hidden;
  color: #f7f3ea;
  background: radial-gradient(120% 80% at 50% 18%, #3a1236 0%, #1d1420 42%, #0f0d12 100%);
}
.gx::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(90% 70% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}
.gx-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.gx-top {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: 16px;
  left: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  z-index: 6;
}
.gx-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(247, 243, 234, 0.75);
  border-radius: 999px;
  padding: 9px 14px;
  font: 600 13px/1 var(--f-display);
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background 0.2s,
    color 0.2s;
}
.gx-btn:hover {
  background: rgba(255, 255, 255, 0.13);
  color: #f7f3ea;
}
.gx-btn:focus-visible,
.gx button:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
.gx-words {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 22px;
  z-index: 3;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.gx-line {
  max-width: 840px;
  text-align: center;
  font: 700 clamp(27px, 4.8vw, 52px)/1.17 var(--f-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: #f7f3ea;
  margin: 0;
}
.gx-line .w {
  display: inline-block;
  white-space: pre;
}
.gx-line .em {
  color: #ff5fa2;
}
.gx-line .hand {
  font-family: var(--f-hand);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.32em;
  line-height: 0.8;
  letter-spacing: 0;
}
.gx-start {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.gx-start small {
  font: 600 24px/1.2 var(--f-hand);
  color: rgba(247, 243, 234, 0.6);
}
.gx-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font: 600 22px/1 var(--f-hand);
  color: rgba(247, 243, 234, 0.45);
  z-index: 3;
  pointer-events: none;
  margin: 0;
}
.gx-rays {
  position: absolute;
  left: 0;
  top: 0;
  width: 1100px;
  height: 1100px;
  margin: -550px 0 0 -550px;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  filter: blur(7px);
}
.gx-rays svg {
  width: 100%;
  height: 100%;
  display: block;
}
.gx-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--fx, 50%) var(--fy, 50%),
    rgba(255, 244, 214, 0.95),
    rgba(255, 236, 190, 0.35) 28%,
    rgba(255, 236, 190, 0) 62%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}
.gx-boxwrap {
  --bw: min(66vw, 300px);
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--bw);
  margin-left: calc(var(--bw) / -2);
  margin-top: calc(var(--bw) * -0.66);
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  z-index: 3;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.gx-boxwrap > svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.gx-tap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
  font: 700 30px/1 var(--f-hand);
  color: var(--gold);
}
.gx-final {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(76px + env(safe-area-inset-top, 0px)) 16px
    calc(28px + env(safe-area-inset-bottom, 0px));
}
.gx-final > :first-child {
  margin-top: auto;
}
.gx-final > :last-child {
  margin-bottom: auto;
}
.gx-photos {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: -34px;
  position: relative;
  z-index: 1;
}
.gx-pol {
  position: relative;
  width: clamp(98px, 25vw, 172px);
  background: #fbfaf7;
  padding: 7px 7px 30px;
  border-radius: 3px;
  box-shadow: 0 18px 34px -12px rgba(0, 0, 0, 0.75);
  margin: 0 -9px;
}
.gx-pol:nth-child(2) {
  z-index: 2;
  margin-top: -20px;
}
.gx-pol img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1px;
  background: #ddd;
}
.gx-pol::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 48px;
  height: 19px;
  margin-left: -24px;
  background: rgba(250, 216, 84, 0.62);
  transform: rotate(-5deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.gx-pol:nth-child(2)::before {
  background: rgba(17, 228, 183, 0.55);
  transform: rotate(4deg);
}
.gx-card {
  position: relative;
  z-index: 2;
  width: min(100%, 540px);
  background: #fbf6ec;
  color: #2b2622;
  border-radius: 6px;
  padding: 30px 28px 48px;
  box-shadow: 0 36px 80px -24px rgba(0, 0, 0, 0.85);
  background-image:
    radial-gradient(120% 90% at 0% 0%, rgba(250, 216, 84, 0.1), transparent 60%),
    radial-gradient(100% 80% at 100% 100%, rgba(224, 42, 122, 0.07), transparent 60%);
}
.gx-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 92px;
  height: 25px;
  margin-left: -46px;
  background: rgba(224, 42, 122, 0.42);
  transform: rotate(2deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.gx-to {
  font: 700 31px/1 var(--f-hand);
  color: #d8256f;
  margin: 0 0 12px;
}
.gx-note {
  font: 600 clamp(23px, 3.4vw, 30px)/1.3 var(--f-hand);
  margin: 0;
  min-height: 2.6em;
  color: #2b2622;
}
.gx-note .c {
  opacity: 0;
}
.gx-note .c.on {
  opacity: 1;
  transition: opacity 0.18s;
}
.gx-from {
  font: 600 23px/1.2 var(--f-hand);
  color: #6e625a;
  margin: 20px 0 0;
  text-align: right;
  opacity: 0;
}
.gx-from svg {
  display: inline-block;
  vertical-align: -3px;
  margin-left: 5px;
}
.gx-date {
  position: absolute;
  left: 28px;
  bottom: 20px;
  font: 400 14px/1 var(--f-date);
  letter-spacing: 0.16em;
  color: rgba(43, 38, 34, 0.38);
}
.gx-cap {
  font: 500 13px/1.45 var(--f-display);
  color: rgba(247, 243, 234, 0.72);
  margin: 16px 0 0;
  text-align: center;
  opacity: 0;
  max-width: 44ch;
}
.gx-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
  opacity: 0;
}
.gx-actions .ghost {
  padding: 14px 20px;
}
.gx-replay {
  position: absolute;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 9;
  padding: 12px 18px;
  font-size: 14px;
}
.gx-sheet {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.gx-sheet-in {
  width: min(100%, 560px);
  background: rgba(40, 36, 44, 0.94);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-radius: 24px 24px 0 0;
  padding: 10px 22px calc(24px + env(safe-area-inset-bottom, 0px));
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  border-bottom: 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
}
.gx-sheet-in .grab {
  display: block;
  width: 40px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 auto 16px;
}
.gx-sheet-in h3 {
  font: 700 22px/1.2 var(--f-display);
  margin: 0;
  letter-spacing: -0.01em;
}
.gx-sheet-in p {
  color: rgba(247, 243, 234, 0.7);
  font-size: 14.5px;
  margin: 6px 0 0;
}
.gx-sheet-in .copyrow {
  margin: 16px 0 0;
  max-width: none;
}
.gx-sheet-in #gxLink {
  padding-left: 16px;
}
.gx-sheet-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.gx-sheet-row .cta {
  flex: 1;
  justify-content: center;
  min-width: 200px;
}
.gx-sheet-msg {
  min-height: 1.4em;
  color: var(--mint) !important;
  font-weight: 600;
}
@media (max-width: 520px) {
  .gx-card {
    padding: 26px 20px 46px;
  }
  .gx-date {
    left: 20px;
  }
  .gx-top .gx-btn span {
    display: none;
  }
}
.gx-fx2 {
  z-index: 8;
}
.gx-shake {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.gx-ori {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 5;
  pointer-events: none;
}
.gx-ori .pc {
  position: absolute;
  box-sizing: border-box;
  border: 3px solid #191919;
  border-radius: 5px;
  background-color: #11e4b7;
  box-shadow: 5px 5px 0 #4a24e7;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 22% 30%, rgba(224, 42, 122, 0.9) 0 4px, transparent 5px),
    radial-gradient(circle at 76% 70%, rgba(224, 42, 122, 0.9) 0 5px, transparent 6px),
    radial-gradient(circle at 62% 24%, rgba(250, 216, 84, 0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 30% 78%, rgba(250, 216, 84, 0.95) 0 3px, transparent 4px);
}
.gx-ori .core {
  inset: 0;
}
.gx-ori .t {
  left: 0;
  bottom: 100%;
  width: 100%;
  height: var(--f);
  transform-origin: 50% 100%;
  background-color: #5bf0cf;
}
.gx-ori .b {
  left: 0;
  top: 100%;
  width: 100%;
  height: var(--f);
  transform-origin: 50% 0;
  background-color: #0cc79f;
}
.gx-ori .l {
  right: 100%;
  top: 0;
  width: var(--f);
  height: 100%;
  transform-origin: 100% 50%;
  background-color: #0fd6aa;
}
.gx-ori .r {
  left: 100%;
  top: 0;
  width: var(--f);
  height: 100%;
  transform-origin: 0 50%;
  background-color: #0fd6aa;
}
.gx-ori .pc::after {
  content: "";
  position: absolute;
  inset: 0;
}
.gx-ori .t::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.22), transparent 55%);
}
.gx-ori .b::after {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.22), transparent 55%);
}
.gx-ori .l::after {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.22), transparent 55%);
}
.gx-ori .r::after {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.22), transparent 55%);
}
.gx-ori .rb {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: 50%;
  width: 18%;
  margin-left: -9%;
  background: linear-gradient(90deg, #b8185f, #ff5fa2 35%, #e02a7a 55%, #a3134f);
  border-left: 2.5px solid #191919;
  border-right: 2.5px solid #191919;
}
.gx-tap {
  transform-origin: 50% 50%;
}
