@import url('https://cdn.jsdelivr.net/npm/galmuri@2.40.3/dist/galmuri.css');
@import url('https://fonts.googleapis.com/css2?family=DotGothic16&family=VT323&display=swap');

:root {
  --bg: #050507;
  --ink: #f5f0de;
  --muted: #b9b0a1;
  --red: #ff1e3c;
  --pink: #ff2cab;
  --blue: #23d7ff;
  --green: #55ff86;
  --yellow: #ffe84a;
  --purple: #8d48ff;
  --panel: rgba(6, 7, 12, 0.82);
  --line: rgba(245, 240, 222, 0.36);
  --shadow: 0 0 30px rgba(255, 30, 60, 0.35), 0 0 80px rgba(35, 215, 255, 0.16);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 44, 171, 0.28), transparent 24%),
    radial-gradient(circle at 80% 12%, rgba(35, 215, 255, 0.2), transparent 24%),
    radial-gradient(circle at 55% 72%, rgba(85, 255, 134, 0.12), transparent 30%),
    #050507;
  font-family: 'DotGothic16', system-ui, sans-serif;
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.noise,
.scanline,
.camcorder-sweep {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.noise {
  opacity: .12;
  background-image:
    repeating-radial-gradient(circle at 20% 40%, rgba(255,255,255,.8) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, transparent 0 2px, rgba(255,255,255,.08) 2px 3px);
  mix-blend-mode: overlay;
}
.scanline {
  opacity: .18;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.13) 0 1px, transparent 1px 5px);
}
.camcorder-sweep::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -6vh;
  height: 3vh;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.38), rgba(255,255,255,.1), transparent);
  filter: blur(.35px);
  mix-blend-mode: screen;
  animation: sweepDown 4.6s linear infinite;
}
@keyframes sweepDown {
  from { transform: translateY(-20vh); opacity: 0; }
  8% { opacity: .8; }
  to { transform: translateY(135vh); opacity: 0; }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  pointer-events: none;
}
.brand,
.menu-shell { pointer-events: auto; }
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .06em;
  padding: 7px 10px;
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 0 18px rgba(0,0,0,.45);
}
.brand-mark { color: var(--red); text-shadow: 0 0 12px var(--red); }
.menu-shell { position: relative; }
.menu-trigger {
  border: 1px solid var(--ink);
  background: rgba(0,0,0,.78);
  color: var(--ink);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 18px;
  letter-spacing: .22em;
  box-shadow: 0 0 18px rgba(255,255,255,.15);
}
.menu-trigger:hover { color: #000; background: var(--yellow); }
.nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 184px;
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.86);
  transform-origin: top right;
  transform: scaleY(0);
  opacity: 0;
  pointer-events: none;
  transition: transform .18s ease, opacity .18s ease;
  box-shadow: var(--shadow);
}
.menu-shell.open .nav {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}
.nav a {
  position: relative;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.38);
  font-family: 'VT323', monospace;
  font-size: 22px;
  overflow: hidden;
}
.nav a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: #000;
  transition: width .24s linear;
  z-index: -1;
}
.nav a:hover::before { width: 100%; }
.nav a:hover { color: var(--yellow); border-color: var(--red); }

.page-stage {
  position: relative;
  min-height: 100vh;
}
.page {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 92px 18px 74px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.985);
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
  overflow: auto;
}
.page.page-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  z-index: 1;
}
.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle, black, transparent 76%);
  pointer-events: none;
}
.page-inner {
  position: relative;
  width: min(1120px, calc(100% - 20px));
}

.hero {
  overflow: hidden;
  background: #030307;
}
.rainbow-space {
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(circle at 50% 50%, rgba(0,0,0,.02), rgba(0,0,0,.72) 58%, #000 100%),
    radial-gradient(circle at 18% 24%, rgba(255,30,60,.28), transparent 18%),
    radial-gradient(circle at 82% 28%, rgba(35,215,255,.24), transparent 20%),
    radial-gradient(circle at 64% 82%, rgba(85,255,134,.18), transparent 22%),
    url('../assets/images/home-bg-pc.webp') 8% 10% / 168px auto repeat;
  filter: contrast(1.22) saturate(1.38) brightness(.9);
  transform: translate3d(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -18px), 0) scale(1.03);
}
.rainbow-space::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(circle, rgba(255,255,255,.72) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 55% 35%, transparent 0 14%, rgba(0,0,0,.7) 36%, rgba(0,0,0,.92) 100%);
  opacity: .16;
  mix-blend-mode: screen;
}
.orbit-field {
  position: absolute;
  inset: 9% 5% 13%;
  transform: translate3d(calc(var(--mx, 0) * 16px), calc(var(--my, 0) * 16px), 0);
  transition: transform .08s linear;
}
.constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 7px rgba(255,255,255,.45));
}
.constellation path {
  fill: none;
  stroke: rgba(255,255,255,.78);
  stroke-width: 1.1;
  stroke-dasharray: 3 10;
}
.star-node {
  position: absolute;
  border: 1px solid rgba(255,255,255,.72);
  color: var(--ink);
  background: rgba(0,0,0,.62);
  box-shadow: 0 0 0 2px #000, 0 0 18px rgba(255,255,255,.28), inset 0 0 16px rgba(255,255,255,.08);
  padding: 5px 8px;
  cursor: pointer;
  font-family: 'VT323', monospace;
  font-size: 22px;
  letter-spacing: .05em;
  z-index: 3;
  border-radius: 999px;
}
.star-node::before { content: "✦"; color: var(--yellow); margin-right: 4px; }
.star-node:hover { color: #000; background: var(--yellow); }
.node-info { left: 10%; top: 28%; }
.node-notice { left: 27%; top: 17%; }
.node-event { left: 47%; top: 29%; }
.node-goods { right: 24%; top: 20%; }
.node-access { right: 10%; top: 39%; }
.node-qa { left: 34%; bottom: 25%; }
.home-caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  max-width: min(560px, calc(100vw - 44px));
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.68);
  color: var(--muted);
  font-family: 'VT323', monospace;
  font-size: 22px;
}
.home-caption p { margin: 0; }

.crt-window {
  border: 2px solid var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.entry-window {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 90;
  width: min(880px, 92vw);
  transform: translate(-50%, -50%) rotate(-.35deg);
}
.entry-window.closed { display: none; }
.window-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  background: linear-gradient(90deg, var(--red), var(--pink), var(--blue), var(--green), var(--yellow));
  color: #050505;
  border-bottom: 2px solid #000;
  font-family: 'VT323', monospace;
  font-size: 22px;
  text-shadow: 1px 1px 0 rgba(255,255,255,.3);
}
.window-close {
  border: 0;
  background: #050505;
  color: var(--ink);
  width: 30px;
  height: 28px;
  cursor: pointer;
  line-height: 1;
}
.window-close:hover { background: var(--red); color: #000; }
.entry-body { padding: clamp(28px, 7vw, 74px); text-align: center; }
.overline { color: var(--green); font-family: 'VT323', monospace; font-size: 24px; letter-spacing: .1em; }
h1 {
  margin: 12px 0;
  font-size: clamp(44px, 10vw, 104px);
  line-height: .9;
  letter-spacing: -.05em;
  text-shadow: 4px 0 var(--red), -4px 0 var(--blue), 0 0 20px rgba(255,255,255,.4);
}
h1 span { font-size: .48em; letter-spacing: 0; color: var(--yellow); }
.subtitle { font-size: clamp(24px, 5vw, 46px); color: var(--pink); }
.hero-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-meta span { padding: 6px 10px; border: 1px solid var(--line); background: #050505; }

.section-label {
  margin-bottom: 18px;
  color: var(--blue);
  font-family: 'VT323', monospace;
  font-size: 27px;
  letter-spacing: .08em;
}
.section-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; }
.big-card,
.mini-terminal,
.access-card,
.qa-card {
  border: 1px solid var(--line);
  background: rgba(0,0,0,.66);
  padding: clamp(20px, 4vw, 36px);
}
.glow-card { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 32px rgba(255,30,60,.18); }
.page h2 { margin: 0 0 14px; font-family: 'VT323', monospace; font-size: clamp(42px, 6vw, 72px); }
.lead { font-size: 18px; line-height: 1.75; }
.info-list { display: grid; gap: 10px; margin: 24px 0 0; }
.info-list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px; border-bottom: 1px dotted var(--line); }
dt { color: var(--yellow); }
dd { margin: 0; }
.mini-terminal { font-family: 'VT323', monospace; font-size: 24px; color: var(--green); }
.terminal-title { color: var(--red); }
.blink { animation: blink .9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.board { overflow: hidden; }
.notice-row { padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.notice-row.important { background: linear-gradient(90deg, rgba(255,30,60,.24), transparent); }
.notice-date { display: inline-block; color: var(--muted); font-family: 'VT323', monospace; font-size: 22px; min-width: 118px; }
.notice-title { border: 0; background: transparent; cursor: pointer; text-align: left; font-size: 18px; }
.notice-title::before { content: "▶ "; color: var(--red); }
.notice-row.open .notice-title::before { content: "▼ "; }
.notice-body { display: none; margin: 12px 0 0 122px; color: var(--muted); line-height: 1.7; }
.notice-row.open .notice-body { display: block; }

.coupon-grid,
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.coupon-card,
.product-card {
  position: relative;
  min-height: 210px;
  padding: 22px;
  border: 2px solid #080808;
  outline: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,30,60,.18), rgba(35,215,255,.12), rgba(255,232,74,.12)), #08080a;
  box-shadow: 8px 8px 0 rgba(255,30,60,.34);
}
.coupon-card span { color: var(--yellow); font-family: 'VT323', monospace; font-size: 24px; }
.coupon-card h2 { font-size: 38px; }
.goods-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 20px; }
.goods-head p { max-width: 520px; line-height: 1.7; color: var(--muted); }
.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.product-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(220px, .55fr) 1fr auto; align-items: center; column-gap: 20px; }
.product-card.wide .product-thumb { margin-bottom: 0; height: 160px; }
.product-card.wide h3 { margin-bottom: 6px; }
.product-card.wide button { justify-self: end; }
.product-thumb {
  height: 140px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  color: #000;
  font-family: 'VT323', monospace;
  font-size: 32px;
  text-shadow: 1px 1px rgba(255,255,255,.7);
}
.rainbow-orb { background: radial-gradient(circle, #fff, var(--yellow), var(--pink), var(--blue), #000); }
.pixel-cake { background: repeating-linear-gradient(45deg, var(--pink) 0 12px, var(--yellow) 12px 24px, var(--blue) 24px 36px); }
.red-box { background: linear-gradient(135deg, var(--red), #111 55%, var(--green)); }
.ticket-box { background: linear-gradient(90deg, var(--yellow), var(--red)); }
.product-card h3 { font-size: 24px; margin: 0 0 8px; }
.product-card p { color: var(--muted); line-height: 1.6; }
.product-card button {
  border: 1px solid var(--ink);
  background: #050505;
  padding: 8px 12px;
  cursor: pointer;
}
.product-card button:hover { background: var(--ink); color: #000; }
.map-placeholder {
  margin-top: 20px;
  height: 260px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,30,60,.25), transparent 34%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
  color: var(--yellow);
  font-family: 'VT323', monospace;
  font-size: 30px;
}
.mail-placeholder { color: var(--green); font-family: 'VT323', monospace; font-size: 30px; }
.note { color: var(--muted); }

.guestbook {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 60;
  width: min(340px, calc(100vw - 36px));
  height: 260px;
  overflow: hidden;
  pointer-events: none;
  font-family: 'VT323', monospace;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 72%, transparent);
}
.guestbook-head {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  color: var(--yellow);
  background: rgba(0,0,0,.78);
  border: 1px solid var(--line);
  padding: 4px 8px;
  font-size: 17px;
}
.message-stream {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -70px;
}
.message {
  margin: 0 0 10px auto;
  width: fit-content;
  max-width: 100%;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.72);
  box-shadow: 0 0 16px rgba(35,215,255,.12);
  font-size: 20px;
  animation: messageFloat 10s linear forwards;
}
.message strong { color: var(--blue); }
@keyframes messageFloat {
  from { transform: translateY(90px); opacity: 0; }
  12% { opacity: 1; }
  72% { opacity: .95; }
  to { transform: translateY(-280px); opacity: 0; }
}

.floating-buttons {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.float-btn {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.68);
  background: rgba(0,0,0,.72);
  box-shadow: 0 0 0 2px #000, 0 0 18px rgba(255,30,60,.2), inset 0 0 14px rgba(255,255,255,.08);
  cursor: pointer;
  font-family: 'VT323', monospace;
  font-size: 23px;
  backdrop-filter: blur(2px);
}
.top-btn {
  color: var(--blue);
  border-radius: 50%;
  text-shadow: 0 0 12px var(--blue);
}
.ticket-btn {
  position: relative;
  width: 92px;
  color: #050505;
  background: linear-gradient(90deg, var(--yellow), #fff3a5 46%, var(--red) 46%, var(--red) 54%, var(--yellow) 54%);
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% 34%, 92% 50%, 100% 66%, 100% 100%, 0 100%, 0 66%, 8% 50%, 0 34%);
  animation: floatTicket 2.2s ease-in-out infinite;
  font-size: 20px;
  font-weight: 700;
}
.ticket-btn span { transform: rotate(-2deg); }
.ticket-btn::before,
.ticket-btn::after {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, #050505 0 3px, transparent 3px 6px);
  opacity: .5;
}
.ticket-btn::before { left: 14px; }
.ticket-btn::after { right: 14px; }
@keyframes floatTicket { 50% { transform: translateY(-5px) rotate(1deg); } }

@media (max-width: 860px) {
  body { overflow: auto; }
  .page { padding: 86px 12px 92px; overflow: auto; }
  .entry-window { width: calc(100vw - 22px); }
  .section-grid,
  .coupon-grid,
  .product-grid { grid-template-columns: 1fr; }
  .product-card.wide { grid-column: auto; display: block; }
  .product-card.wide .product-thumb { margin-bottom: 14px; }
  .goods-head { display: block; }
  .info-list div { grid-template-columns: 1fr; }
  .notice-body { margin-left: 0; }
  .star-node { font-size: 18px; }
  .orbit-field { inset: 13% 2% 16%; }
  .guestbook { right: 10px; bottom: 84px; width: min(300px, calc(100vw - 20px)); height: 210px; }
  .floating-buttons { right: 10px; }
  .home-caption { left: 12px; bottom: 90px; font-size: 18px; }
  .rainbow-space { background-size: 120px auto; }
}

/* ===== v5 corrections from v3 base ===== */
body {
  background: #020205;
}

.camcorder-sweep::before {
  height: 1.1vh;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.28), rgba(255,255,255,.08), transparent);
  animation-duration: 5.2s;
}

.brand {
  font-family: 'DotGothic16', 'VT323', monospace;
  color: var(--ink);
  padding: 7px 12px;
  background: rgba(0,0,0,.58);
  border: 1px solid rgba(255,255,255,.32);
  letter-spacing: .12em;
  text-shadow: 2px 0 var(--red), -2px 0 var(--blue), 0 0 11px rgba(255,255,255,.4);
}
.brand-text { color: var(--ink); }
.brand-mark { display: none; }

.menu-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 104px;
  justify-content: center;
  font-family: 'VT323', monospace;
  font-size: 24px;
  letter-spacing: .08em;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.48);
  background: rgba(0,0,0,.72);
  color: var(--ink);
  text-shadow: 1px 0 var(--red), -1px 0 var(--blue);
}
.menu-trigger i {
  display: block;
  width: 4px;
  height: 4px;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.menu-trigger:hover {
  background: #050505;
  color: var(--green);
  border-color: var(--green);
}

.hero { background: #010104; }
.rainbow-space {
  inset: -2%;
  background-image:
    radial-gradient(circle at 50% 52%, rgba(0,0,0,.03), rgba(0,0,0,.38) 50%, rgba(0,0,0,.84) 100%),
    url('../assets/images/home-bg-pc.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: contrast(1.16) saturate(1.2) brightness(.82);
  transform: translate3d(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -10px), 0) scale(1.018);
}
.rainbow-space::after {
  opacity: .1;
  background:
    repeating-radial-gradient(circle, rgba(255,255,255,.58) 0 1px, transparent 1px 6px),
    radial-gradient(circle at 50% 42%, transparent 0 18%, rgba(0,0,0,.66) 68%, rgba(0,0,0,.88) 100%);
}

.constellation path,
.constellation-line {
  fill: none;
  stroke: rgba(255,255,255,.78);
  stroke-width: 1.05;
  stroke-dasharray: 5 8;
}
.constellation .faint { opacity: .45; }
.constellation circle {
  fill: #fff8d8;
  stroke: rgba(255, 30, 80, .95);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(255,255,255,.9)) drop-shadow(0 0 12px rgba(255, 0, 90, .75));
}
.star-node {
  transform: translate(-50%, -50%);
  border-radius: 0;
  padding: 4px 7px;
  font-size: 21px;
  border: 1px solid rgba(255,255,255,.82);
  background: rgba(0,0,0,.72);
}
.star-node::before {
  content: "✦";
  display: inline-block;
  margin-right: 6px;
  color: var(--yellow);
  text-shadow: 0 0 8px var(--yellow), 0 0 14px var(--pink);
  vertical-align: baseline;
}
.node-info { left: 11%; top: 51%; }
.node-notice { left: 25%; top: 63%; }
.node-event { left: 42%; top: 23%; }
.node-goods { left: 59%; top: 80%; right: auto; }
.node-access { left: 76%; top: 48%; right: auto; }
.node-qa { left: 90%; top: 15%; bottom: auto; }
.home-caption {
  background: rgba(0,0,0,.52);
  border-color: rgba(255,255,255,.28);
}

.guestbook {
  right: 18px;
  bottom: 86px;
  height: 300px;
  width: min(360px, calc(100vw - 36px));
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 76%, transparent);
}
.guestbook-head { display: none; }
.message-stream { bottom: -120px; }
.message {
  margin-bottom: 14px;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.36);
  background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.22));
  box-shadow: none;
  font-size: 19px;
  opacity: 0;
  animation: messageFloatSmooth 18s linear forwards;
}
.message strong { color: var(--green); font-weight: 400; }
@keyframes messageFloatSmooth {
  0% { transform: translateY(260px); opacity: 0; }
  10% { opacity: .88; }
  76% { opacity: .88; }
  100% { transform: translateY(-360px); opacity: 0; }
}

.floating-buttons { gap: 12px; }
.float-btn {
  border-radius: 0;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.7);
  min-width: 54px;
  height: 46px;
  box-shadow: 0 0 0 1px #000, 0 0 16px rgba(255,255,255,.14);
}
.top-btn {
  color: var(--ink);
  font-size: 21px;
  letter-spacing: .04em;
  text-shadow: 1px 0 var(--blue), -1px 0 var(--red);
}
.top-btn::before {
  content: "↑";
  margin-right: 4px;
  color: var(--blue);
}
.ticket-btn {
  width: 112px;
  height: 48px;
  color: #090909;
  background:
    linear-gradient(90deg, transparent 0 9px, rgba(0,0,0,.18) 9px 10px, transparent 10px calc(100% - 10px), rgba(0,0,0,.18) calc(100% - 10px) calc(100% - 9px), transparent calc(100% - 9px)),
    linear-gradient(135deg, #fff8d6 0%, var(--yellow) 48%, #ffefe8 48%, var(--red) 100%);
  border: 2px solid #050505;
  outline: 1px solid rgba(255,255,255,.66);
  clip-path: none;
  border-radius: 3px;
  font-size: 21px;
  letter-spacing: .06em;
  font-weight: 400;
  transform: rotate(-2deg);
  animation: floatTicketSoft 3s ease-in-out infinite;
}
.ticket-btn::before,
.ticket-btn::after {
  top: 5px;
  bottom: 5px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, #050505 0 3px, transparent 3px 7px);
  opacity: .34;
}
.ticket-btn:hover, .top-btn:hover {
  filter: brightness(1.18);
  transform: translateY(-2px) rotate(-1deg);
}
@keyframes floatTicketSoft { 50% { transform: translateY(-4px) rotate(1deg); } }

@media (max-width: 860px) {
  .rainbow-space { background-size: cover; }
  .menu-trigger { min-width: 88px; font-size: 21px; }
  .brand { font-size: 14px; }
  .node-info { left: 13%; top: 74%; }
  .node-notice { left: 25%; top: 34%; }
  .node-event { left: 42%; top: 25%; }
  .node-goods { left: 58%; top: 48%; }
  .node-access { left: 73%; top: 34%; }
  .node-qa { left: 87%; top: 72%; }
}

/* ===== v6 copy / goods / lucky draw modal ===== */
.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-card.wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title button"
    "image image"
    "text text";
  align-items: start;
  column-gap: 18px;
  row-gap: 12px;
}
.product-card h3 {
  grid-area: title;
  order: 1;
  margin: 0;
  font-size: 30px;
  color: var(--yellow);
  font-family: 'DotGothic16', 'VT323', monospace;
  text-shadow: 2px 0 var(--red), -2px 0 var(--blue);
}
.product-thumb {
  grid-area: image;
  order: 2;
  width: 100%;
  height: clamp(220px, 30vh, 330px);
  margin: 0;
  font-size: clamp(40px, 6vw, 68px);
  image-rendering: pixelated;
}
.product-card.wide .product-thumb {
  height: clamp(260px, 34vh, 380px);
  margin: 0;
}
.product-card p {
  grid-area: text;
  order: 3;
  margin: 0;
}
.product-card button {
  grid-area: button;
  order: 4;
  align-self: start;
  justify-self: end;
}
.product-card.half button {
  margin-top: auto;
  align-self: flex-start;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(2px);
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(1060px, 96vw);
  max-height: min(86vh, 820px);
  overflow: hidden;
  background: rgba(3,3,7,.94);
}
.modal-body {
  max-height: calc(min(86vh, 820px) - 48px);
  overflow: auto;
  padding: clamp(16px, 3vw, 28px);
}
.modal-lead {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 20px;
}
.prize-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.prize-card {
  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(135deg, rgba(255,30,60,.12), rgba(35,215,255,.08)), rgba(0,0,0,.58);
  padding: 14px;
}
.prize-card h3 {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 22px;
  line-height: 1.35;
}
.prize-image {
  height: 210px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 34% 34%, rgba(255,255,255,.84), transparent 10%),
    radial-gradient(circle at 70% 58%, rgba(255,30,60,.55), transparent 23%),
    radial-gradient(circle at 42% 70%, rgba(35,215,255,.44), transparent 25%),
    #050507;
  color: rgba(255,255,255,.86);
  font-family: 'VT323', monospace;
  font-size: 34px;
  text-shadow: 2px 0 var(--red), -2px 0 var(--blue);
}
.image-credit {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .product-card.wide {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "image"
      "text"
      "button";
  }
  .product-thumb,
  .product-card.wide .product-thumb { height: 220px; }
  .product-card button { justify-self: start; }
  .prize-grid { grid-template-columns: 1fr; }
}


/* ===== v8 CRT bulge + mouse distance blur ===== */
:root {
  --cursor-x: 50vw;
  --cursor-y: 50vh;
}

/* 실제 왜곡 필터가 아니라, 오래된 볼록 CRT 유리처럼 보이게 하는 렌즈층 */
.crt-lens,
.focus-blur {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.focus-blur {
  z-index: 50;
  backdrop-filter: blur(1.35px);
  -webkit-backdrop-filter: blur(1.35px);
  mask-image: radial-gradient(
    circle at var(--cursor-x) var(--cursor-y),
    transparent 0 150px,
    rgba(0,0,0,.16) 230px,
    rgba(0,0,0,.72) 420px,
    #000 720px
  );
  -webkit-mask-image: radial-gradient(
    circle at var(--cursor-x) var(--cursor-y),
    transparent 0 150px,
    rgba(0,0,0,.16) 230px,
    rgba(0,0,0,.72) 420px,
    #000 720px
  );
}

.crt-lens {
  z-index: 55;
  border-radius: 8vw;
  background:
    radial-gradient(ellipse at 50% 47%, rgba(255,255,255,.09) 0 7%, transparent 24%),
    radial-gradient(ellipse at 50% 50%, transparent 0 50%, rgba(0,0,0,.34) 78%, rgba(0,0,0,.78) 100%),
    linear-gradient(90deg, rgba(255,255,255,.05), transparent 18%, transparent 82%, rgba(35,215,255,.055));
  box-shadow:
    inset 0 0 56px rgba(255,255,255,.08),
    inset 0 0 110px rgba(0,0,0,.7),
    inset 0 0 0 2px rgba(255,255,255,.055);
  mix-blend-mode: screen;
}

.crt-lens::before {
  content: "";
  position: absolute;
  inset: 2.6vh 2vw;
  border-radius: 46% / 42%;
  border: 1px solid rgba(255,255,255,.11);
  box-shadow:
    inset 0 0 45px rgba(255,255,255,.08),
    0 0 34px rgba(35,215,255,.08);
  opacity: .75;
}

.crt-lens::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0 56%, rgba(255,255,255,.045) 61%, transparent 66%),
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.04), transparent 38%);
  transform: scaleX(1.03) scaleY(.985);
}

/* 본문 화면만 살짝 부풀어 보이게. MENU/방명록/버튼은 영향 없음 */
.page-stage {
  transform: perspective(900px) translateZ(0) scale(1.012);
  transform-origin: center center;
}

.page.page-active {
  transform: translateY(0) scale(1.01);
}

.page-inner,
.orbit-field,
.home-caption {
  filter: drop-shadow(0 0 1px rgba(255,255,255,.16));
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .focus-blur { display: none; }
}

@media (max-width: 860px) {
  .focus-blur {
    backdrop-filter: blur(.9px);
    -webkit-backdrop-filter: blur(.9px);
    mask-image: radial-gradient(circle at var(--cursor-x) var(--cursor-y), transparent 0 105px, rgba(0,0,0,.22) 190px, #000 520px);
    -webkit-mask-image: radial-gradient(circle at var(--cursor-x) var(--cursor-y), transparent 0 105px, rgba(0,0,0,.22) 190px, #000 520px);
  }
  .crt-lens { border-radius: 11vw; }
}

/* ===== v9 actual CRT barrel warp ===== */
.crt-filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* 흰 동그라미 오버레이가 아니라, 실제 화면 픽셀을 약하게 밀어서 휘게 처리 */
.page-stage,
.entry-window {
  filter: url(#crtBulgeFilter);
}

/* 필터로 밀린 가장자리가 잘려 보이지 않게 약간 여백 확보 */
.page {
  padding-left: 34px;
  padding-right: 34px;
}

/* 기존 v8의 흰 유리 하이라이트를 줄이고, 가장자리 렌즈 음영만 남김 */
.crt-lens {
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0 54%, rgba(0,0,0,.18) 73%, rgba(0,0,0,.66) 100%),
    linear-gradient(90deg, rgba(255,255,255,.025), transparent 20%, transparent 80%, rgba(35,215,255,.025));
  box-shadow:
    inset 0 0 38px rgba(255,255,255,.035),
    inset 0 0 120px rgba(0,0,0,.78),
    inset 0 0 0 1px rgba(255,255,255,.04);
  mix-blend-mode: normal;
}
.crt-lens::before {
  opacity: .28;
  border-color: rgba(255,255,255,.055);
  box-shadow: inset 0 0 26px rgba(255,255,255,.035);
}
.crt-lens::after {
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0 60%, rgba(255,255,255,.018) 64%, transparent 69%);
}

/* 메뉴/방명록/플로팅 버튼은 블러도 왜곡도 제외된 선명 UI로 유지 */
.site-header,
.guestbook,
.floating-buttons,
.modal {
  filter: none !important;
}

@media (max-width: 860px) {
  .page-stage,
  .entry-window {
    filter: url(#crtBulgeFilter);
  }
  .page {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* ===== v10 background optimization ===== */
.rainbow-space {
  background-image:
    radial-gradient(circle at 50% 52%, rgba(0,0,0,.03), rgba(0,0,0,.38) 50%, rgba(0,0,0,.84) 100%),
    url('../assets/images/home-bg-pc.webp') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 760px) {
  .rainbow-space {
    background-image:
      radial-gradient(circle at 50% 52%, rgba(0,0,0,.03), rgba(0,0,0,.38) 50%, rgba(0,0,0,.84) 100%),
      url('../assets/images/home-bg-mobile.webp') !important;
  }
}

/* ===== v11 performance patch =====
   WebP background kept, but the expensive real-time filters are disabled.
   The CRT feeling is kept with lightweight overlays only.
*/

/* SVG displacement filter was the main lag source. */
.page-stage,
.entry-window {
  filter: none !important;
}

/* Mouse-distance blur is disabled for performance. */
.focus-blur {
  display: none !important;
}

/* Do not move the full-screen background on every mousemove. */
.rainbow-space {
  transform: none !important;
  will-change: auto !important;
}

/* Only the constellation layer moves slightly. */
.orbit-field {
  transition: none !important;
  will-change: transform;
}

/* Hidden pages should not be rendered. */
.page {
  display: none !important;
}
.page.page-active {
  display: grid !important;
}

/* Keep CRT mood, but remove heavy visual layers. */
.noise {
  display: none !important;
}
.scanline {
  opacity: .11 !important;
}
.camcorder-sweep::before {
  height: 1.2vh !important;
  filter: none !important;
  animation-duration: 7.2s !important;
  opacity: .55;
}
.crt-lens {
  opacity: .72;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0 58%, rgba(0,0,0,.2) 76%, rgba(0,0,0,.68) 100%),
    linear-gradient(90deg, rgba(255,255,255,.018), transparent 21%, transparent 79%, rgba(35,215,255,.018)) !important;
  box-shadow:
    inset 0 0 34px rgba(255,255,255,.025),
    inset 0 0 95px rgba(0,0,0,.68) !important;
}
.crt-lens::before,
.crt-lens::after {
  opacity: .18 !important;
}

/* Box shadows are left, but reduced on repeated cards/buttons. */
.product-card,
.notice-item,
.event-card,
.info-card,
.prize-card {
  box-shadow: 0 0 18px rgba(255, 30, 60, .15), 0 0 34px rgba(35, 215, 255, .08) !important;
}

/* Guest messages stay smooth but less frequent-looking by easing GPU work. */
.guest-message {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* ===== v12 test patch: CRT distortion only restored =====
   Based on v11 fast version.
   Restored: SVG barrel distortion on the main stage and entry window.
   Still disabled: mouse-distance blur, noise layer, full background mouse movement.
*/
.page-stage,
.entry-window {
  filter: url(#crtBulgeFilter) !important;
}

.site-header,
.guestbook,
.floating-buttons,
.modal,
.nav,
.menu-shell {
  filter: none !important;
}

/* ===== v13 patch: CRT distortion excludes HOME constellation =====
   The parent .page-stage is no longer filtered, because that warped the star-map UI too.
   Distortion is applied only to page contents/background panels.
*/
.page-stage {
  filter: none !important;
}

/* Keep the first pop-up window curved. */
.entry-window {
  filter: url(#crtBulgeFilter) !important;
}

/* Inner content of non-HOME pages gets the CRT bulge. */
.page:not(.hero) .page-inner {
  filter: url(#crtBulgeFilter) !important;
  transform: translateZ(0);
}

/* HOME background can curve, but the constellation/menu stars stay flat and readable. */
.hero .rainbow-space {
  filter: url(#crtBulgeFilter) contrast(1.16) saturate(1.2) brightness(.82) !important;
}

.home-caption {
  filter: url(#crtBulgeFilter) !important;
}

.orbit-field,
.constellation,
.constellation *,
.star-node {
  filter: none !important;
}

/* ===== v14 lightweight mouse-distance blur =====
   Based on v13: CRT stays off the constellation, and this blur is only a thin
   fixed backdrop layer under MENU / guestbook / floating buttons.
*/
.focus-blur {
  display: block !important;
  z-index: 45 !important;
  pointer-events: none !important;
  backdrop-filter: blur(.72px) !important;
  -webkit-backdrop-filter: blur(.72px) !important;
  opacity: .88;
  mask-image: radial-gradient(
    circle at var(--cursor-x) var(--cursor-y),
    transparent 0 150px,
    rgba(0,0,0,.10) 260px,
    rgba(0,0,0,.46) 480px,
    rgba(0,0,0,.78) 760px
  ) !important;
  -webkit-mask-image: radial-gradient(
    circle at var(--cursor-x) var(--cursor-y),
    transparent 0 150px,
    rgba(0,0,0,.10) 260px,
    rgba(0,0,0,.46) 480px,
    rgba(0,0,0,.78) 760px
  ) !important;
}

/* blur layer sits below these UI parts, so they stay sharp */
.site-header,
.guestbook,
.floating-buttons,
.modal,
.entry-window {
  z-index: 80;
}
.entry-window { z-index: 90; }
.guestbook { z-index: 60; }
.floating-buttons { z-index: 70; }
.modal { z-index: 200; }

@media (max-width: 860px) {
  .focus-blur {
    backdrop-filter: blur(.45px) !important;
    -webkit-backdrop-filter: blur(.45px) !important;
    mask-image: radial-gradient(
      circle at var(--cursor-x) var(--cursor-y),
      transparent 0 110px,
      rgba(0,0,0,.12) 210px,
      rgba(0,0,0,.48) 430px,
      rgba(0,0,0,.7) 640px
    ) !important;
    -webkit-mask-image: radial-gradient(
      circle at var(--cursor-x) var(--cursor-y),
      transparent 0 110px,
      rgba(0,0,0,.12) 210px,
      rgba(0,0,0,.48) 430px,
      rgba(0,0,0,.7) 640px
    ) !important;
  }
}


/* ===== v18 event: two-line six card layout ===== */
.event-page-inner {
  width: min(1180px, calc(100% - 28px));
  padding-top: clamp(68px, 8vh, 92px);
  padding-bottom: clamp(28px, 5vh, 60px);
}
.event-board-six {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  align-items: stretch;
}
.event-card-six {
  --shadow-a: rgba(255, 30, 60, .72);
  --shadow-b: rgba(255, 30, 60, .24);
  position: relative;
  display: grid;
  grid-template-rows: minmax(230px, 1fr) auto;
  min-height: clamp(390px, 43vh, 520px);
  overflow: hidden;
  border: 2px solid rgba(245, 240, 222, .55);
  background:
    linear-gradient(135deg, rgba(245,240,222,.08), rgba(35,215,255,.04) 42%, rgba(255,30,60,.06)),
    rgba(7, 8, 11, .92);
  box-shadow:
    7px 8px 0 var(--shadow-a),
    13px 14px 0 var(--shadow-b),
    0 0 0 1px rgba(0,0,0,.85) inset,
    0 0 26px rgba(245,240,222,.08);
  isolation: isolate;
}
.event-card-six::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(255,255,255,.12) 48%, transparent 55%),
    repeating-linear-gradient(0deg, rgba(245,240,222,.05) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: .34;
  z-index: 3;
}
.event-card-six::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(245,240,222,.20);
  pointer-events: none;
  z-index: 4;
}
.event-image-slot {
  position: relative;
  min-height: clamp(230px, 29vh, 360px);
  display: grid;
  place-items: center;
  border-bottom: 2px solid rgba(245,240,222,.36);
  overflow: hidden;
  color: rgba(245,240,222,.70);
  font-family: 'VT323', monospace;
  font-size: clamp(34px, 4.7vw, 64px);
  letter-spacing: .08em;
  text-shadow: 2px 0 var(--red), -2px 0 var(--blue);
}
.event-image-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 26%, rgba(255,255,255,.34), transparent 10%),
    radial-gradient(circle at 68% 62%, rgba(255,255,255,.18), transparent 17%),
    repeating-radial-gradient(circle at 50% 50%, rgba(0,0,0,.24) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 8px);
  opacity: .74;
}
.event-image-slot span {
  position: relative;
  z-index: 2;
  padding: 5px 14px 3px;
  border: 1px solid rgba(245,240,222,.44);
  background: rgba(0,0,0,.28);
}
.event-text-panel {
  position: relative;
  min-height: 150px;
  padding: 18px 20px 20px;
  background:
    linear-gradient(90deg, rgba(12, 13, 14, .94), rgba(41, 43, 45, .78)),
    rgba(0,0,0,.7);
  z-index: 2;
}
.event-no {
  display: inline-grid;
  place-items: center;
  min-width: 82px;
  height: 25px;
  margin-bottom: 8px;
  color: #060608;
  background: var(--yellow);
  font-family: 'Galmuri11', 'VT323', monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1;
  box-shadow: 2px 0 var(--red), -2px 0 var(--blue);
}
.event-text-panel h2 {
  display: inline-block;
  margin: 0 0 10px;
  padding: 2px 8px 4px 0;
  color: var(--ink);
  font-family: 'Galmuri11', 'Galmuri9', 'DotGothic16', monospace;
  font-size: clamp(18px, 1.42vw, 23px);
  line-height: 1.34;
  letter-spacing: 0;
  font-weight: 700;
  word-break: keep-all;
  -webkit-font-smoothing: none;
  font-smooth: never;
  text-shadow:
    1px 0 rgba(255,30,60,.36),
    -1px 0 rgba(35,215,255,.26),
    0 1px rgba(0,0,0,.85);
}
.event-text-panel h2::before {
  content: "▸ ";
  color: var(--yellow);
  text-shadow: 1px 0 var(--red), -1px 0 var(--blue);
}
.event-text-panel p {
  margin: 0;
  color: rgba(245,240,222,.78);
  font-size: 16px;
  line-height: 1.52;
}
.event-img-01 { background: linear-gradient(135deg, rgba(245,240,222,.70), rgba(255,30,60,.16) 52%, rgba(35,215,255,.10)), #111; }
.event-img-02 { background: radial-gradient(circle at 48% 48%, rgba(245,240,222,.42), transparent 22%), linear-gradient(135deg, rgba(35,215,255,.22), rgba(141,72,255,.12)), #111519; }
.event-img-03 { background: linear-gradient(135deg, rgba(255,232,74,.20), rgba(255,30,60,.18), rgba(245,240,222,.32)), #111; }
.event-img-04 { background: linear-gradient(135deg, rgba(85,255,134,.25), rgba(245,240,222,.20), rgba(35,215,255,.12)), #0d1210; }
.event-img-05 { background: radial-gradient(circle at 68% 24%, rgba(255,232,74,.46), transparent 16%), linear-gradient(135deg, rgba(255,146,43,.22), rgba(255,30,60,.13)), #11100d; }
.event-img-06 { background: radial-gradient(circle at 38% 30%, rgba(35,215,255,.36), transparent 18%), linear-gradient(135deg, rgba(80,92,255,.23), rgba(245,240,222,.17)), #0d1018; }
.event-shadow-red { --shadow-a: rgba(255, 30, 60, .74); --shadow-b: rgba(255, 30, 60, .24); }
.event-shadow-cyan { --shadow-a: rgba(35, 215, 255, .62); --shadow-b: rgba(35, 215, 255, .20); }
.event-shadow-violet { --shadow-a: rgba(141, 72, 255, .66); --shadow-b: rgba(141, 72, 255, .20); }
.event-shadow-green { --shadow-a: rgba(85, 255, 134, .54); --shadow-b: rgba(85, 255, 134, .18); }
.event-shadow-orange { --shadow-a: rgba(255, 146, 43, .66); --shadow-b: rgba(255, 232, 74, .16); }
.event-shadow-blue { --shadow-a: rgba(80, 92, 255, .66); --shadow-b: rgba(35, 215, 255, .16); }

@media (max-width: 1040px) {
  .event-board-six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .event-card-six {
    min-height: 430px;
  }
}
@media (max-width: 680px) {
  .event-page-inner {
    width: min(100% - 20px, 520px);
    padding-top: 76px;
  }
  .event-board-six {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .event-card-six {
    min-height: 420px;
    box-shadow:
      5px 6px 0 var(--shadow-a),
      9px 10px 0 var(--shadow-b),
      0 0 0 1px rgba(0,0,0,.85) inset;
  }
  .event-image-slot {
    min-height: 250px;
  }
  .event-text-panel h2 {
    font-size: 20px;
  }
}

/* ===== v22 event detail modal ===== */
.event-card-six {
  cursor: pointer;
  transition: transform .16s steps(2, end), filter .16s steps(2, end), box-shadow .16s steps(2, end);
}
.event-card-six:hover,
.event-card-six:focus-visible {
  transform: translate(-2px, -2px);
  filter: brightness(1.08) saturate(1.08);
  outline: 2px solid rgba(245,240,222,.72);
  outline-offset: 4px;
}
.event-card-six:active {
  transform: translate(1px, 1px);
}
.event-card-six .event-text-panel::after {
  content: "CLICK >> DETAIL";
  display: inline-block;
  margin-top: 12px;
  padding: 4px 8px 3px;
  color: #050505;
  background: linear-gradient(90deg, var(--yellow), rgba(35,215,255,.85));
  font-family: 'VT323', 'Galmuri11', monospace;
  font-size: 17px;
  line-height: 1;
  letter-spacing: .08em;
  box-shadow: 2px 2px 0 rgba(255,30,60,.64);
}
.event-detail-modal .modal-panel,
.event-modal-panel {
  width: min(980px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 34px));
}
.event-modal-body {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(320px, 1.05fr);
  gap: clamp(18px, 2.5vw, 30px);
  padding: clamp(18px, 2.6vw, 32px);
  background:
    linear-gradient(135deg, rgba(245,240,222,.09), rgba(35,215,255,.04) 44%, rgba(255,30,60,.08)),
    rgba(5, 6, 8, .96);
}
.event-modal-image {
  position: relative;
  min-height: clamp(320px, 54vh, 560px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(245,240,222,.58);
  background:
    radial-gradient(circle at 35% 28%, rgba(245,240,222,.30), transparent 13%),
    radial-gradient(circle at 74% 72%, rgba(35,215,255,.18), transparent 21%),
    linear-gradient(135deg, rgba(255,30,60,.16), rgba(35,215,255,.10)),
    #0b0d10;
  box-shadow:
    7px 8px 0 rgba(255,30,60,.52),
    0 0 0 1px rgba(0,0,0,.9) inset;
  color: rgba(245,240,222,.80);
  font-family: 'VT323', monospace;
  font-size: clamp(42px, 6vw, 84px);
  letter-spacing: .10em;
  text-shadow: 2px 0 var(--red), -2px 0 var(--blue);
}
.event-modal-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 9px);
  opacity: .6;
  pointer-events: none;
}
.event-modal-image span {
  position: relative;
  z-index: 1;
  padding: 7px 16px 4px;
  border: 1px solid rgba(245,240,222,.5);
  background: rgba(0,0,0,.34);
}
.event-modal-info {
  align-self: stretch;
  display: grid;
  align-content: start;
  gap: 16px;
  color: var(--ink);
}
.event-modal-no {
  width: fit-content;
  margin: 0;
  padding: 5px 10px 3px;
  color: #050505;
  background: var(--yellow);
  font-family: 'VT323', 'Galmuri11', monospace;
  font-size: 24px;
  line-height: 1;
  letter-spacing: .08em;
  box-shadow: 2px 0 var(--red), -2px 0 var(--blue);
}
.event-modal-info h2 {
  margin: 0 0 2px;
  color: var(--ink);
  font-family: 'Galmuri11', 'Galmuri9', 'DotGothic16', monospace;
  font-size: clamp(25px, 3.2vw, 42px);
  line-height: 1.24;
  word-break: keep-all;
  text-shadow: 2px 0 rgba(255,30,60,.34), -2px 0 rgba(35,215,255,.22);
}
.event-detail-block {
  padding: 16px 18px;
  border: 1px solid rgba(245,240,222,.42);
  background:
    linear-gradient(90deg, rgba(255,30,60,.10), transparent 38%, rgba(35,215,255,.08)),
    rgba(0,0,0,.34);
  box-shadow: 4px 5px 0 rgba(245,240,222,.10);
}
.event-detail-block h3 {
  margin: 0 0 10px;
  color: var(--yellow);
  font-family: 'VT323', 'Galmuri11', monospace;
  font-size: 27px;
  letter-spacing: .06em;
  line-height: 1;
  text-shadow: 1px 0 var(--red), -1px 0 var(--blue);
}
.event-detail-block p {
  margin: 0;
  color: rgba(245,240,222,.84);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.62;
  white-space: pre-line;
}
@media (max-width: 760px) {
  .event-modal-body {
    grid-template-columns: 1fr;
  }
  .event-modal-image {
    min-height: 260px;
  }
}


/* ===== v24 mobile HOME constellation fix =====
   - Keep the HOME star map from stretching when the mobile browser chrome moves.
   - Make star buttons smaller and closer to their constellation points.
   - Hide the guestbook on mobile so it does not cover the star map.
*/
@media (max-width: 760px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .page-stage {
    min-height: 100dvh !important;
    height: 100dvh !important;
    transform: none !important;
  }

  .page {
    position: fixed !important;
    inset: 0 !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    padding: 82px 8px 88px !important;
    overflow: auto !important;
  }

  .page.hero {
    overflow: hidden !important;
    padding: 0 !important;
  }

  .rainbow-space {
    inset: 0 !important;
  }

  .orbit-field {
    inset: auto !important;
    left: 50% !important;
    top: 48% !important;
    width: min(94vw, 430px) !important;
    height: min(50vh, 360px) !important;
    transform: translate(-50%, -50%) !important;
    transition: none !important;
    will-change: auto !important;
  }

  .constellation {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .constellation path {
    stroke-width: .85 !important;
    stroke-dasharray: 3 9 !important;
    opacity: .72 !important;
  }

  .constellation circle {
    r: 4px;
  }

  .star-node {
    font-size: clamp(14px, 3.6vw, 17px) !important;
    line-height: 1 !important;
    padding: 5px 7px 4px !important;
    letter-spacing: .04em !important;
    min-width: auto !important;
    transform: translate(-50%, -50%) !important;
    box-shadow:
      0 0 0 1px #000,
      0 0 10px rgba(255,255,255,.18),
      inset 0 0 10px rgba(255,255,255,.07) !important;
  }

  .star-node::before {
    margin-right: 4px !important;
    text-shadow: 0 0 6px var(--yellow), 0 0 9px var(--pink) !important;
  }

  .node-info { left: 7% !important; top: 75% !important; }
  .node-notice { left: 24% !important; top: 39% !important; }
  .node-event { left: 42% !important; top: 27% !important; }
  .node-goods { left: 59% !important; top: 55% !important; right: auto !important; }
  .node-access { left: 75% !important; top: 40% !important; right: auto !important; }
  .node-qa { left: 88% !important; top: 76% !important; bottom: auto !important; }

  .home-caption {
    left: 14px !important;
    right: 14px !important;
    bottom: 86px !important;
    max-width: none !important;
    padding: 8px 10px !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    opacity: .9 !important;
  }

  .guestbook,
  .message-stream,
  .message {
    display: none !important;
  }

  .floating-buttons {
    right: 10px !important;
    bottom: 18px !important;
  }

  .float-btn {
    min-width: 48px !important;
    height: 42px !important;
  }

  .ticket-btn {
    width: 104px !important;
    height: 44px !important;
    font-size: 19px !important;
  }
}

@media (max-width: 390px) {
  .orbit-field {
    top: 47% !important;
    height: min(46vh, 330px) !important;
  }
  .star-node {
    font-size: 14px !important;
    padding: 4px 6px 3px !important;
  }
  .home-caption {
    font-size: 15px !important;
  }
}

/* ===== v25 mobile rotated constellation =====
   Mobile uses a dedicated 90-degree-rotated star map so the labels sit on the actual vertices.
*/
.constellation-mobile {
  display: none;
}

@media (max-width: 760px) {
  .constellation-desktop {
    display: none !important;
  }
  .constellation-mobile {
    display: block !important;
  }

  .orbit-field {
    left: 50% !important;
    top: 50% !important;
    width: min(92vw, 380px) !important;
    height: min(70dvh, 620px) !important;
    transform: translate(-50%, -50%) !important;
  }

  .constellation-mobile {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;
  }

  .constellation-mobile path {
    stroke-width: 1.05 !important;
    stroke-dasharray: 4 9 !important;
    opacity: .78 !important;
  }

  .constellation-mobile circle {
    filter: drop-shadow(0 0 7px rgba(255, 40, 84, .95));
  }

  .star-node {
    font-size: clamp(12px, 3vw, 15px) !important;
    padding: 4px 6px 3px !important;
    transform: translate(-50%, -50%) !important;
  }

  .node-info { left: 50.8% !important; top: 89% !important; }
  .node-notice { left: 63.1% !important; top: 75% !important; }
  .node-event { left: 23.1% !important; top: 58% !important; }
  .node-goods { left: 80% !important; top: 41% !important; right: auto !important; }
  .node-access { left: 47.7% !important; top: 24% !important; right: auto !important; }
  .node-qa { left: 15.4% !important; top: 10% !important; bottom: auto !important; }

  .home-caption {
    bottom: 76px !important;
    z-index: 5 !important;
    font-size: 15px !important;
  }
}

@media (max-width: 390px) {
  .orbit-field {
    top: 49% !important;
    width: min(92vw, 350px) !important;
    height: min(68dvh, 560px) !important;
  }
  .star-node {
    font-size: 12px !important;
    padding: 4px 5px 3px !important;
  }
}


/* ===== v26 mobile motion details =====
   가벼운 모바일 전용 장식: 별자리 신호 흐름 / 별 깜빡임 / 하단 안내문 전환
*/
@media (max-width: 760px) {
  .constellation-mobile .constellation-line {
    stroke-dasharray: 5 13 !important;
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }

  .constellation-mobile .constellation-line.faint {
    opacity: .46 !important;
  }

  .constellation-mobile .signal-traveler {
    fill: none !important;
    stroke: rgba(255,255,255,.96) !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    stroke-dasharray: 42 760 !important;
    stroke-dashoffset: 0;
    opacity: .95 !important;
    filter: drop-shadow(0 0 5px rgba(255,255,255,.95)) drop-shadow(0 0 11px rgba(74,226,255,.75));
    animation: mobileSignalTraveler 4.8s linear infinite;
  }

  .constellation-mobile .signal-traveler.faint-traveler {
    stroke-width: 1.25 !important;
    stroke-dasharray: 28 420 !important;
    opacity: .7 !important;
    animation-duration: 6.6s;
    animation-delay: -1.8s;
  }

  .constellation-mobile circle {
    animation: mobilePointPulse 3.6s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
  }

  .constellation-mobile circle:nth-of-type(1) { animation-delay: 0s; }
  .constellation-mobile circle:nth-of-type(2) { animation-delay: .35s; }
  .constellation-mobile circle:nth-of-type(3) { animation-delay: .7s; }
  .constellation-mobile circle:nth-of-type(4) { animation-delay: 1.05s; }
  .constellation-mobile circle:nth-of-type(5) { animation-delay: 1.4s; }
  .constellation-mobile circle:nth-of-type(6) { animation-delay: 1.75s; }

  .star-node::before {
    animation: mobileLabelStarPulse 2.8s ease-in-out infinite;
  }

  .node-info::before { animation-delay: .0s; }
  .node-notice::before { animation-delay: .25s; }
  .node-event::before { animation-delay: .5s; }
  .node-goods::before { animation-delay: .75s; }
  .node-access::before { animation-delay: 1s; }
  .node-qa::before { animation-delay: 1.25s; }

  .home-caption {
    min-height: 58px;
    transition: opacity .18s ease, transform .18s ease, border-color .18s ease;
  }

  .home-caption.caption-changing {
    opacity: .42 !important;
    transform: translateY(3px);
    border-color: rgba(85,255,134,.5) !important;
  }

  .home-caption p::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 13px;
    margin-right: 6px;
    background: var(--green);
    box-shadow: 0 0 10px var(--green), 2px 0 0 rgba(255,30,60,.65);
    vertical-align: -1px;
    animation: mobileCursorBlink 1s steps(1) infinite;
  }
}

@keyframes mobileSignalTraveler {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -820; }
}

@keyframes mobilePointPulse {
  0%, 100% {
    opacity: .78;
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(255,40,84,.75));
  }
  45% {
    opacity: 1;
    transform: scale(1.45);
    filter: drop-shadow(0 0 10px rgba(255,232,74,.95)) drop-shadow(0 0 15px rgba(255,40,84,.9));
  }
}

@keyframes mobileLabelStarPulse {
  0%, 100% {
    opacity: .75;
    text-shadow: 0 0 5px var(--yellow), 0 0 8px rgba(255,44,171,.45);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 10px var(--yellow), 0 0 18px var(--pink), 0 0 22px var(--green);
  }
}

@keyframes mobileCursorBlink {
  50% { opacity: 0; }
}


/* ===== v28 mobile constellation position + stronger star pulse =====
   별자리 전체를 모바일 화면 상단 쪽으로 올리고, 섹션 라벨의 노란 별 점멸을 더 보이게 조정.
*/
@media (max-width: 760px) {
  .orbit-field {
    top: 45.5% !important;
    height: min(72dvh, 640px) !important;
  }

  .star-node::before {
    animation: mobileLabelStarPulseStrong 2.55s ease-in-out infinite !important;
  }

  .constellation-mobile circle {
    animation: mobilePointPulseStrong 3.4s ease-in-out infinite !important;
  }
}

@media (max-width: 390px) {
  .orbit-field {
    top: 45% !important;
    height: min(72dvh, 600px) !important;
  }
}

@keyframes mobileLabelStarPulseStrong {
  0%, 100% {
    opacity: .26;
    color: #8a6b1f;
    text-shadow: 0 0 2px rgba(255, 210, 45, .18);
    filter: saturate(.65) brightness(.72);
  }
  48% {
    opacity: 1;
    color: var(--yellow);
    text-shadow:
      0 0 8px var(--yellow),
      0 0 16px rgba(255, 44, 171, .8),
      0 0 22px rgba(85, 255, 134, .55);
    filter: saturate(1.25) brightness(1.15);
  }
}

@keyframes mobilePointPulseStrong {
  0%, 100% {
    opacity: .42;
    transform: scale(.92);
    filter: drop-shadow(0 0 3px rgba(255,40,84,.42));
  }
  45% {
    opacity: 1;
    transform: scale(1.45);
    filter: drop-shadow(0 0 10px rgba(255,232,74,.98)) drop-shadow(0 0 16px rgba(255,40,84,.9));
  }
}


/* ===== v30: loading gate / notice tabs / goods status labels ===== */
.loading-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 40%, rgba(80, 255, 170, .13), transparent 34%),
    radial-gradient(circle at 65% 64%, rgba(255, 40, 90, .10), transparent 26%),
    rgba(1, 2, 5, .94);
  transition: opacity .45s ease, visibility .45s ease;
}
.loading-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .55;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, transparent, rgba(255,255,255,.13), transparent);
  mix-blend-mode: screen;
}
.loading-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loading-panel {
  position: relative;
  width: min(520px, 92vw);
  padding: 28px 28px 24px;
  border: 1px solid rgba(245,245,220,.55);
  box-shadow: 12px 12px 0 rgba(255, 43, 79, .85), 0 0 28px rgba(0, 229, 255, .18);
  background: linear-gradient(135deg, rgba(20,18,30,.96), rgba(5,22,24,.94));
  color: var(--cream);
  text-align: left;
  overflow: hidden;
}
.loading-panel::after {
  content: "";
  position: absolute;
  left: -20%;
  top: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  animation: loadingScan 1.15s linear infinite;
}
.loading-kicker,
.loading-done {
  margin: 0;
  font-family: var(--font-pixel);
  color: var(--green);
  letter-spacing: .05em;
}
.loading-panel h1 {
  margin: 14px 0 14px;
  color: var(--yellow);
  font-size: clamp(2rem, 7vw, 4.5rem);
  line-height: 1;
  text-shadow: 2px 0 0 var(--red), -2px 0 0 var(--cyan);
}
.loading-steps {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-family: var(--font-pixel);
}
.loading-steps li::before {
  content: "▸ ";
  color: var(--red);
}
@keyframes loadingScan { to { transform: translateX(340%); } }

.notice-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px 6px;
  border-bottom: 1px solid rgba(245,245,220,.18);
  background: linear-gradient(90deg, rgba(255,43,79,.10), rgba(0,229,255,.06), transparent);
}
.notice-tab {
  appearance: none;
  border: 1px solid rgba(245,245,220,.45);
  background: rgba(0,0,0,.42);
  color: rgba(245,245,220,.78);
  padding: 6px 11px 5px;
  font-family: var(--font-pixel);
  font-size: .82rem;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0,0,0,.55);
}
.notice-tab.active,
.notice-tab:hover {
  color: #111;
  background: linear-gradient(90deg, var(--yellow), var(--green));
  border-color: var(--cream);
  box-shadow: 4px 4px 0 rgba(255,43,79,.7), 0 0 12px rgba(85,255,134,.35);
}
.notice-row.notice-hidden { display: none; }

.product-card {
  position: relative;
  overflow: hidden;
}
.goods-status {
  position: absolute;
  top: 48px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: calc(100% - 28px);
  padding: 5px 9px 4px;
  border: 1px solid rgba(245,245,220,.62);
  background: rgba(0, 0, 0, .72);
  color: var(--cream);
  font-family: var(--font-pixel);
  font-size: .78rem;
  letter-spacing: .03em;
  box-shadow: 4px 4px 0 rgba(0,0,0,.52), 0 0 10px rgba(255,255,255,.10);
  transform: rotate(1.5deg);
}
.goods-status::before {
  content: "※";
  color: var(--yellow);
}
.status-stock { border-color: rgba(85,255,134,.75); color: var(--green); }
.status-wait { border-color: rgba(0,229,255,.75); color: var(--cyan); transform: rotate(-1deg); }
.status-ready { border-color: rgba(255,232,74,.8); color: var(--yellow); }
.status-weird { border-color: rgba(255,43,79,.86); color: var(--red); transform: rotate(-1.5deg); }

@media (max-width: 760px) {
  .loading-panel { padding: 22px 20px 20px; }
  .loading-panel h1 { font-size: 2.45rem; }
  .notice-tabs { gap: 6px; padding: 10px 10px 4px; }
  .notice-tab { font-size: .72rem; padding: 5px 8px 4px; }
  .goods-status { top: 42px; right: 10px; font-size: .68rem; }
}

/* ===== v31: loading redesign / notice tag / goods label position ===== */
.loading-gate {
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.92), rgba(4,8,14,.96)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 5px);
}
.loading-gate::before {
  opacity: .38;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(0,229,255,.035) 0 1px, transparent 1px 34px);
}
.download-window {
  position: relative;
  width: min(720px, 86vw);
  max-width: 720px;
  border: 1px solid rgba(245,245,220,.55);
  background: rgba(2, 8, 13, .95);
  color: var(--cream);
  box-shadow: 8px 8px 0 rgba(255,43,79,.86), 0 0 22px rgba(0,229,255,.16);
  overflow: hidden;
}
.download-window::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,43,79,.12), transparent 28%, rgba(85,255,134,.08)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}
.download-titlebar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 7px;
  border-bottom: 1px solid rgba(245,245,220,.42);
  background: linear-gradient(90deg, rgba(255,43,79,.25), rgba(0,229,255,.11), rgba(255,232,74,.12));
  font-family: var(--font-pixel);
  font-size: .9rem;
  letter-spacing: .05em;
  color: rgba(245,245,220,.76);
}
.download-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, .55fr) 1fr 72px;
  grid-template-areas:
    "kicker line percent"
    "title gauge percent"
    "done done done";
  align-items: center;
  gap: 8px 16px;
  padding: 18px 18px 16px;
  min-height: 142px;
}
.loading-kicker {
  grid-area: kicker;
  font-size: .82rem;
  color: var(--green);
}
.download-body h1 {
  grid-area: title;
  margin: 0;
  color: var(--yellow);
  font-size: clamp(1.45rem, 3.8vw, 2.45rem);
  line-height: 1;
  letter-spacing: .025em;
  text-shadow: 2px 0 0 var(--red), -2px 0 0 var(--cyan);
}
.loading-gauge {
  grid-area: gauge;
  height: 22px;
  border: 1px solid rgba(245,245,220,.56);
  background: rgba(0,0,0,.55);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.6), 0 0 12px rgba(0,229,255,.16);
  overflow: hidden;
}
.loading-gauge span {
  display: block;
  width: 0%;
  height: 100%;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.25) 0 5px, transparent 5px 10px),
    linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  animation: loadingGaugeFill 1.85s steps(28, end) forwards;
}
.loading-percent {
  grid-area: percent;
  margin: 0;
  align-self: stretch;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(245,245,220,.28);
  color: var(--cyan);
  font-family: var(--font-pixel);
  font-size: 1.2rem;
}
.loading-line {
  grid-area: line;
  margin: 0;
  min-height: 1.35em;
  color: var(--cream);
  font-family: var(--font-pixel);
  font-size: 1.05rem;
  letter-spacing: .03em;
}
.loading-line::before { content: "▸ "; color: var(--red); }
.loading-done {
  grid-area: done;
  margin: 4px 0 0;
  color: var(--green);
  opacity: 0;
  font-family: var(--font-pixel);
}
.loading-gate.done .loading-done { opacity: 1; }
@keyframes loadingGaugeFill { to { width: 100%; } }

.notice-row {
  display: grid;
  grid-template-columns: 66px auto 1fr;
  gap: 8px;
  align-items: center;
}
.notice-date {
  min-width: 0;
  font-size: 20px;
}
.notice-tag {
  justify-self: start;
  border: 1px solid rgba(255,43,79,.62);
  color: rgba(255,91,112,.78);
  background: rgba(0,0,0,.18);
  padding: 2px 7px 1px;
  font-family: var(--font-pixel);
  font-size: .72rem;
  line-height: 1;
  letter-spacing: .04em;
}
.notice-title { width: 100%; }
.notice-body {
  grid-column: 1 / -1;
  margin-left: 74px;
}

.product-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  min-width: 0;
}
.product-title-row h3 {
  margin: 0;
}
.goods-status {
  position: static;
  top: auto;
  right: auto;
  max-width: none;
  flex: 0 1 auto;
  padding: 4px 8px 3px;
  font-size: .72rem;
  transform: none !important;
  box-shadow: 3px 3px 0 rgba(0,0,0,.5), 0 0 8px rgba(255,255,255,.08);
}
.product-card.wide .product-title-row {
  grid-column: 1 / -1;
}
.product-card.wide {
  grid-template-columns: minmax(220px, .55fr) 1fr auto;
  grid-template-rows: auto 1fr;
}
.product-card.wide .product-thumb { grid-column: 1; }
.product-card.wide p { grid-column: 2; }
.product-card.wide button { grid-column: 3; }

@media (max-width: 760px) {
  .download-window { width: min(360px, 90vw); }
  .download-body {
    grid-template-columns: 1fr 58px;
    grid-template-areas:
      "kicker percent"
      "title percent"
      "gauge gauge"
      "line line"
      "done done";
    min-height: 176px;
    padding: 16px;
  }
  .download-body h1 { font-size: 1.65rem; }
  .loading-line { font-size: .9rem; }
  .notice-row { grid-template-columns: 56px auto 1fr; gap: 6px; }
  .notice-date { font-size: 18px; }
  .notice-tag { font-size: .65rem; padding: 2px 6px 1px; }
  .notice-body { margin-left: 0; }
  .product-title-row { flex-wrap: wrap; gap: 7px; }
  .goods-status { font-size: .66rem; }
}


/* ===== v32: loading timing + restore wide goods layout ===== */
.download-body {
  grid-template-columns: minmax(190px, .48fr) 1fr 76px;
  grid-template-areas:
    "kicker gauge percent"
    "title gauge percent"
    "title line percent"
    "done done done";
  row-gap: 10px;
  min-height: 150px;
}
.loading-line {
  align-self: start;
  margin-top: 5px;
  min-height: 1.45em;
}
.loading-line.final-line {
  color: var(--green);
  text-shadow: 0 0 8px rgba(85,255,134,.45), 1px 0 0 rgba(0,229,255,.35);
}
.loading-gate.done .loading-done { display: none; }
.loading-gauge span { animation: none; width: 0%; }

.product-title-row {
  grid-area: title;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 8px;
  min-width: 0;
}
.product-title-row h3 {
  order: 0 !important;
  margin: 0;
}
.goods-status {
  order: 1 !important;
  position: static !important;
  top: auto !important;
  right: auto !important;
  flex: 0 0 auto;
  max-width: none;
  margin: 1px 0 0 2px;
  transform: none !important;
}
.product-card.wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title button"
    "image image"
    "text text";
  align-items: start;
  column-gap: 18px;
  row-gap: 12px;
}
.product-card.wide .product-title-row { grid-column: auto; grid-area: title; }
.product-card.wide .product-thumb {
  grid-area: image;
  width: 100%;
  height: clamp(260px, 34vh, 380px);
  margin: 0;
}
.product-card.wide p { grid-area: text; grid-column: auto; }
.product-card.wide button { grid-area: button; grid-column: auto; justify-self: end; align-self: start; }

@media (max-width: 760px) {
  .download-body {
    grid-template-columns: 1fr 58px;
    grid-template-areas:
      "kicker percent"
      "title percent"
      "gauge gauge"
      "line line"
      "done done";
    min-height: 186px;
    row-gap: 12px;
  }
  .loading-line { margin-top: 6px; }
  .loading-gauge span { animation: none; }
  .product-card.wide {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "image"
      "text"
      "button";
  }
  .goods-status { font-size: .66rem; }
}

/* ===== v33: Q&A emergency easter egg / support page ===== */
.emergency-line {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.75) !important;
}
.danger-square {
  width: 18px;
  height: 18px;
  display: inline-block;
  border: 1px solid rgba(255,255,255,.55);
  background: #ff1d3b;
  box-shadow:
    0 0 0 2px rgba(255,0,50,.15),
    0 0 14px rgba(255,0,50,.75),
    inset 0 0 8px rgba(255,255,255,.25);
  cursor: pointer;
  image-rendering: pixelated;
  animation: dangerPulse 1.05s steps(2, end) infinite;
}
.danger-square:hover { transform: translateY(-1px); filter: brightness(1.22); }
@keyframes dangerPulse {
  0%, 100% { opacity: .96; }
  50% { opacity: .45; box-shadow: 0 0 0 1px rgba(255,0,50,.08), 0 0 6px rgba(255,0,50,.45); }
}
.help-box {
  display: none;
  margin-top: 18px;
  border: 1px solid rgba(255,255,255,.62);
  background: rgba(0,0,0,.72);
  box-shadow: 8px 8px 0 rgba(255,43,79,.35), inset 0 0 32px rgba(35,215,255,.08);
  padding: 18px;
  width: min(520px, 100%);
  font-family: var(--font-pixel);
  color: var(--ink);
}
.help-box.open { display: block; }
.help-box p { margin: 0 0 16px; font-size: 1.05rem; }
.help-actions { display: flex; gap: 10px; }
.help-actions button {
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(0,0,0,.66);
  color: var(--ink);
  padding: 8px 18px 6px;
  font-family: var(--font-pixel);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(255,43,79,.28);
}
.help-actions button:hover { color: #000; background: var(--green); }
.code-rain {
  min-height: 160px;
  max-height: 260px;
  overflow: hidden;
  white-space: pre-wrap;
  color: var(--green);
  font-size: .82rem;
  line-height: 1.35;
  text-shadow: 0 0 8px rgba(54,255,111,.45);
}
.help-final { color: var(--green); font-size: 1.12rem; }

.support-page {
  background:
    radial-gradient(circle at 50% 42%, rgba(0,104,180,.32), transparent 34%),
    linear-gradient(180deg, rgba(0,4,14,.95), #000 68%);
  overflow: hidden !important;
}
.support-stage {
  position: relative;
  width: min(1120px, calc(100% - 28px));
  height: min(680px, calc(100dvh - 132px));
  min-height: 480px;
  border: 1px solid rgba(120,225,255,.4);
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(22,153,217,.18), transparent 55%),
    rgba(0,0,0,.36);
  background-size: 42px 42px, 42px 42px, auto, auto;
  box-shadow:
    inset 0 0 80px rgba(0,170,255,.22),
    inset 0 0 0 2px rgba(255,255,255,.04),
    0 0 34px rgba(0,180,255,.18);
  transform: translate3d(calc(var(--sx, 0) * -10px), calc(var(--sy, 0) * -10px), 0);
  transition: transform .08s linear;
}
.support-bg-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 46%, rgba(255,255,255,.35) 46% 54%, transparent 54% 100%) center 50% / 100% 2px no-repeat,
    linear-gradient(transparent 0 46%, rgba(255,255,255,.32) 46% 54%, transparent 54% 100%) center / 2px 100% no-repeat;
  opacity: .34;
  pointer-events: none;
}
.support-hud {
  position: absolute;
  left: 42px;
  right: 42px;
  top: 34px;
  display: flex;
  justify-content: space-between;
  color: rgba(120,225,255,.78);
  font-family: var(--font-pixel);
  font-size: .86rem;
  letter-spacing: .08em;
}
.earth-lock {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(48vw, 420px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) translate3d(calc(var(--sx, 0) * 18px), calc(var(--sy, 0) * 18px), 0);
  filter: drop-shadow(0 0 22px rgba(120,225,255,.4));
}
.earth-core {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.85), transparent 8%),
    radial-gradient(circle at 43% 38%, rgba(66,255,179,.8), transparent 18%),
    radial-gradient(circle at 62% 60%, rgba(0,112,255,.9), transparent 26%),
    radial-gradient(circle at 50% 50%, #33d8ff, #063c78 58%, #020b18 100%);
  border: 2px solid rgba(255,255,255,.7);
  box-shadow: inset -18px -18px 30px rgba(0,0,0,.6), 0 0 28px rgba(35,215,255,.55);
}
.earth-orbit,
.target-ring,
.target-cross {
  position: absolute;
  pointer-events: none;
}
.earth-orbit {
  inset: 18%;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
}
.orbit-a { transform: rotate(16deg) scaleX(1.45); }
.orbit-b { transform: rotate(-28deg) scaleX(1.32); border-style: dashed; opacity: .66; }
.target-ring { inset: 7%; border: 1px dashed rgba(120,225,255,.75); border-radius: 50%; animation: supportSpin 10s linear infinite; }
.ring-b { inset: 0; opacity: .45; animation-duration: 16s; animation-direction: reverse; }
.target-cross.cross-x { left: 50%; top: 8%; bottom: 8%; width: 1px; background: rgba(255,255,255,.42); }
.target-cross.cross-y { top: 50%; left: 8%; right: 8%; height: 1px; background: rgba(255,255,255,.42); }
@keyframes supportSpin { to { transform: rotate(360deg); } }
.support-line {
  position: absolute;
  top: 50%;
  width: 32%;
  height: 58px;
  border-top: 2px solid rgba(120,225,255,.7);
  border-bottom: 1px solid rgba(120,225,255,.28);
  opacity: .75;
}
.line-left { left: 5%; transform: translateY(-50%); clip-path: polygon(0 44%, 68% 44%, 78% 0, 100% 0, 90% 100%, 78% 100%, 68% 56%, 0 56%); }
.line-right { right: 5%; transform: translateY(-50%) scaleX(-1); clip-path: polygon(0 44%, 68% 44%, 78% 0, 100% 0, 90% 100%, 78% 100%, 68% 56%, 0 56%); }
.support-fire-zone {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(0,0,0,.68);
  color: var(--ink);
  padding: 16px 22px 14px;
  min-width: min(520px, calc(100% - 34px));
  font-family: var(--font-pixel);
  cursor: pointer;
  box-shadow: 7px 7px 0 rgba(255,43,79,.42), inset 0 0 20px rgba(35,215,255,.16);
}
.support-fire-zone:hover { border-color: var(--green); box-shadow: 7px 7px 0 rgba(54,255,111,.35), inset 0 0 22px rgba(35,215,255,.25); }
.support-fire-zone span,
.support-fire-zone strong { display: block; }
.support-kicker { color: var(--green); font-size: .78rem; margin-bottom: 7px; }
.support-fire-zone strong { font-size: clamp(1.6rem, 4vw, 3rem); color: #fff7df; margin-bottom: 7px; }
.support-complete-body { text-align: center; padding: 28px; }
.support-complete-body h2 { color: var(--yellow); font-size: clamp(2rem, 5vw, 4rem); margin: 0 0 10px; }
.support-complete-body p { color: var(--green); font-family: var(--font-pixel); font-size: 1.35rem; }

@media (max-width: 760px) {
  .help-box { padding: 14px; }
  .help-actions button { padding: 8px 14px 6px; }
  .support-stage {
    width: calc(100% - 20px);
    height: calc(100dvh - 166px);
    min-height: 500px;
  }
  .support-hud { left: 16px; right: 16px; top: 16px; font-size: .64rem; gap: 8px; flex-wrap: wrap; }
  .earth-lock { width: min(78vw, 330px); top: 47%; }
  .support-line { width: 30%; opacity: .5; }
  .line-left { left: 0; }
  .line-right { right: 0; }
  .support-fire-zone { bottom: 22px; padding: 13px 15px 11px; }
}

/* ===== v34: support page HUD edge frame, no bottom text box ===== */
.support-stage {
  cursor: crosshair;
}
.support-stage::before,
.support-stage::after {
  content: "";
  position: absolute;
  left: 2.5%;
  right: 2.5%;
  height: 34px;
  border-color: rgba(120,225,255,.62);
  pointer-events: none;
  z-index: 3;
}
.support-stage::before {
  top: 84px;
  border-top: 2px solid rgba(120,225,255,.78);
  background:
    linear-gradient(135deg, transparent 0 7%, rgba(120,225,255,.65) 7% 8%, transparent 8% 100%) left center / 18% 100% no-repeat,
    linear-gradient(-135deg, transparent 0 7%, rgba(120,225,255,.65) 7% 8%, transparent 8% 100%) right center / 18% 100% no-repeat;
}
.support-stage::after {
  bottom: 42px;
  border-bottom: 2px solid rgba(120,225,255,.66);
  background:
    linear-gradient(45deg, transparent 0 9%, rgba(120,225,255,.48) 9% 10%, transparent 10% 100%) left center / 24% 100% no-repeat,
    linear-gradient(-45deg, transparent 0 9%, rgba(120,225,255,.48) 9% 10%, transparent 10% 100%) right center / 24% 100% no-repeat;
}
.hud-edge {
  position: absolute;
  width: 245px;
  height: 62px;
  border: 1px solid rgba(120,225,255,.7);
  box-shadow: inset 0 0 18px rgba(35,215,255,.12), 0 0 10px rgba(35,215,255,.15);
  opacity: .82;
  pointer-events: none;
  z-index: 4;
}
.hud-edge i {
  display: block;
  height: 4px;
  margin: 8px 12px;
  background: linear-gradient(90deg, rgba(120,225,255,.85), rgba(120,225,255,.14));
}
.hud-edge b {
  position: absolute;
  right: 12px;
  top: 9px;
  width: 34px;
  height: 42px;
  background: repeating-linear-gradient(180deg, rgba(120,225,255,.9) 0 4px, transparent 4px 9px);
}
.hud-edge.top-left { left: 28px; top: 104px; clip-path: polygon(0 0, 92% 0, 100% 22%, 100% 100%, 0 100%); }
.hud-edge.top-right { right: 28px; top: 104px; clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 0 22%); transform: scaleX(-1); }
.hud-edge.bottom-left { left: 34px; bottom: 78px; width: 200px; height: 52px; opacity: .58; }
.hud-edge.bottom-right { right: 34px; bottom: 78px; width: 200px; height: 52px; opacity: .58; transform: scaleX(-1); }
.hud-side {
  position: absolute;
  top: 185px;
  bottom: 150px;
  width: 30px;
  display: grid;
  align-content: space-around;
  pointer-events: none;
  z-index: 4;
  opacity: .72;
}
.hud-side.side-left { left: 18px; }
.hud-side.side-right { right: 18px; transform: scaleX(-1); }
.hud-side span {
  width: 24px;
  height: 42px;
  border-left: 2px solid rgba(120,225,255,.76);
  border-top: 2px solid rgba(120,225,255,.55);
  border-bottom: 2px solid rgba(120,225,255,.3);
  clip-path: polygon(0 0, 70% 0, 36% 18%, 36% 82%, 70% 100%, 0 100%);
}
.hud-bottom-bar {
  position: absolute;
  left: 28%;
  right: 28%;
  bottom: 42px;
  height: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  pointer-events: none;
  z-index: 4;
  opacity: .72;
  font-family: var(--font-pixel);
  color: rgba(120,225,255,.75);
  font-size: .7rem;
}
.hud-bottom-bar span {
  height: 9px;
  border: 1px solid rgba(120,225,255,.65);
  background: linear-gradient(90deg, rgba(35,215,255,.55), transparent 70%);
}
.hud-bottom-bar em { font-style: normal; color: rgba(54,255,111,.72); white-space: nowrap; }
.support-click-layer {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: transparent;
  border: 0;
  pointer-events: auto;
}
.support-fire-zone { display: none !important; }

@media (max-width: 760px) {
  .support-stage::before { top: 72px; height: 22px; }
  .support-stage::after { bottom: 42px; height: 22px; }
  .hud-edge { width: 120px; height: 42px; }
  .hud-edge.top-left { left: 12px; top: 90px; }
  .hud-edge.top-right { right: 12px; top: 90px; }
  .hud-edge.bottom-left { left: 12px; bottom: 72px; width: 104px; height: 36px; }
  .hud-edge.bottom-right { right: 12px; bottom: 72px; width: 104px; height: 36px; }
  .hud-edge i { height: 3px; margin: 6px 9px; }
  .hud-edge b { width: 22px; height: 28px; right: 9px; top: 7px; }
  .hud-side { top: 150px; bottom: 128px; width: 22px; }
  .hud-side.side-left { left: 6px; }
  .hud-side.side-right { right: 6px; }
  .hud-side span { width: 18px; height: 32px; }
  .hud-bottom-bar { left: 22%; right: 22%; bottom: 40px; grid-template-columns: 1fr 1fr; font-size: .58rem; }
  .hud-bottom-bar span:nth-child(3) { display: none; }
  .hud-bottom-bar em { grid-column: span 2; text-align: center; }
}


/* ===== v35: support HUD refine - keep HUD, make it cleaner ===== */
.support-stage{
  border: 1px solid rgba(98, 224, 255, .46);
  background:
    linear-gradient(rgba(98,224,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98,224,255,.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(34,188,255,.20), transparent 34%),
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,30,44,.52) 48%, rgba(0,0,0,.82)),
    rgba(0,0,0,.74);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    inset 0 0 70px rgba(35,215,255,.15),
    0 0 22px rgba(35,215,255,.16);
}
.support-stage::before,
.support-stage::after{
  left: 3.5%;
  right: 3.5%;
  height: 56px;
  border: 0;
  opacity: .78;
  z-index: 3;
}
.support-stage::before{
  top: 64px;
  background:
    linear-gradient(90deg, rgba(98,224,255,.9), rgba(98,224,255,.9)) left 0 top 0 / 19% 2px no-repeat,
    linear-gradient(90deg, rgba(98,224,255,.9), rgba(98,224,255,.9)) right 0 top 0 / 19% 2px no-repeat,
    linear-gradient(90deg, transparent, rgba(98,224,255,.44), transparent) center top / 34% 1px no-repeat,
    linear-gradient(135deg, transparent 0 37%, rgba(98,224,255,.82) 37% 40%, transparent 40%) left 0 top 0 / 120px 22px no-repeat,
    linear-gradient(-135deg, transparent 0 37%, rgba(98,224,255,.82) 37% 40%, transparent 40%) right 0 top 0 / 120px 22px no-repeat,
    linear-gradient(90deg, rgba(98,224,255,.14), transparent 45%, transparent 55%, rgba(98,224,255,.14)) center 18px / 100% 26px no-repeat;
}
.support-stage::after{
  bottom: 48px;
  background:
    linear-gradient(90deg, rgba(98,224,255,.78), rgba(98,224,255,.78)) left 0 bottom 0 / 24% 2px no-repeat,
    linear-gradient(90deg, rgba(98,224,255,.78), rgba(98,224,255,.78)) right 0 bottom 0 / 24% 2px no-repeat,
    linear-gradient(90deg, transparent, rgba(98,224,255,.34), transparent) center bottom / 42% 1px no-repeat,
    linear-gradient(45deg, transparent 0 35%, rgba(98,224,255,.72) 35% 38%, transparent 38%) left 0 bottom 0 / 150px 26px no-repeat,
    linear-gradient(-45deg, transparent 0 35%, rgba(98,224,255,.72) 35% 38%, transparent 38%) right 0 bottom 0 / 150px 26px no-repeat;
}
.hud-edge{
  width: 265px;
  height: 58px;
  border: 1px solid rgba(77, 231, 255, .72);
  background:
    linear-gradient(90deg, rgba(77,231,255,.15), transparent 38%),
    repeating-linear-gradient(0deg, rgba(77,231,255,.18) 0 1px, transparent 1px 8px),
    rgba(0,13,18,.38);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    inset 0 0 14px rgba(77,231,255,.08),
    0 0 10px rgba(77,231,255,.12);
  opacity: .7;
  clip-path: polygon(0 0, 88% 0, 100% 24%, 100% 100%, 0 100%);
}
.hud-edge.top-left{ left: 30px; top: 94px; }
.hud-edge.top-right{ right: 30px; top: 94px; transform: scaleX(-1); }
.hud-edge.bottom-left{ left: 36px; bottom: 90px; width: 228px; height: 48px; opacity: .46; }
.hud-edge.bottom-right{ right: 36px; bottom: 90px; width: 228px; height: 48px; opacity: .46; transform: scaleX(-1); }
.hud-edge i{
  height: 2px;
  margin: 8px 14px;
  background: linear-gradient(90deg, rgba(77,231,255,.9), rgba(77,231,255,.5) 45%, transparent 82%);
  box-shadow: 0 0 8px rgba(77,231,255,.25);
}
.hud-edge b{
  right: 14px;
  top: 8px;
  width: 26px;
  height: 40px;
  background: repeating-linear-gradient(180deg, rgba(77,231,255,.82) 0 3px, transparent 3px 8px);
  opacity: .85;
}
.hud-side{
  top: 154px;
  bottom: 132px;
  width: 44px;
  opacity: .54;
}
.hud-side.side-left{ left: 22px; }
.hud-side.side-right{ right: 22px; transform: scaleX(-1); }
.hud-side span{
  width: 36px;
  height: 38px;
  border: 0;
  background:
    linear-gradient(90deg, rgba(77,231,255,.72), rgba(77,231,255,.72)) left 0 top 0 / 2px 100% no-repeat,
    linear-gradient(90deg, rgba(77,231,255,.42), rgba(77,231,255,.42)) left 0 top 0 / 18px 1px no-repeat,
    linear-gradient(90deg, rgba(77,231,255,.32), rgba(77,231,255,.32)) left 0 bottom 0 / 18px 1px no-repeat,
    linear-gradient(135deg, transparent 0 42%, rgba(77,231,255,.55) 42% 46%, transparent 46%) left center / 28px 100% no-repeat;
  clip-path: none;
}
.hud-bottom-bar{
  left: 22%;
  right: 22%;
  bottom: 38px;
  height: 28px;
  grid-template-columns: 1fr 1fr 1fr auto;
  opacity: .62;
  border-top: 1px solid rgba(77,231,255,.32);
  border-bottom: 1px solid rgba(77,231,255,.18);
  padding: 5px 10px;
}
.hud-bottom-bar span{
  height: 6px;
  border: 0;
  background: linear-gradient(90deg, rgba(77,231,255,.75), rgba(54,255,111,.35), transparent 76%);
}
.hud-bottom-bar em{
  color: rgba(77,231,255,.62);
  letter-spacing: .12em;
}
.support-hud{
  top: 34px;
  color: rgba(77,231,255,.66);
  text-shadow: 0 0 8px rgba(77,231,255,.2);
}
.earth-lock{
  filter: drop-shadow(0 0 18px rgba(77,231,255,.42));
}
.support-line{
  height: 44px;
  border-top: 1px solid rgba(77,231,255,.52);
  border-bottom: 1px solid rgba(77,231,255,.16);
  opacity: .48;
}
.support-click-layer::before{
  content:"TARGET ANYWHERE";
  position:absolute;
  left:50%;
  bottom:84px;
  transform:translateX(-50%);
  font-family:var(--font-pixel);
  font-size:.68rem;
  letter-spacing:.16em;
  color:rgba(54,255,111,.5);
  pointer-events:none;
}
@media (max-width: 760px){
  .support-stage::before{ top: 58px; height: 38px; }
  .support-stage::after{ bottom: 48px; height: 34px; }
  .hud-edge{ width: 108px; height: 34px; }
  .hud-edge.top-left{ left: 12px; top: 82px; }
  .hud-edge.top-right{ right: 12px; top: 82px; }
  .hud-edge.bottom-left{ left: 12px; bottom: 78px; width: 100px; height: 30px; }
  .hud-edge.bottom-right{ right: 12px; bottom: 78px; width: 100px; height: 30px; }
  .hud-edge i{ height: 2px; margin: 5px 8px; }
  .hud-edge b{ width: 18px; height: 22px; right: 8px; top: 6px; }
  .hud-side{ top: 130px; bottom: 116px; width: 20px; }
  .hud-side.side-left{ left: 6px; }
  .hud-side.side-right{ right: 6px; }
  .hud-side span{ width: 18px; height: 28px; }
  .hud-bottom-bar{ left: 18%; right: 18%; bottom: 44px; grid-template-columns: 1fr 1fr; font-size:.5rem; gap:7px; }
  .hud-bottom-bar span:nth-child(3){ display:none; }
  .hud-bottom-bar em{ grid-column: span 2; text-align:center; }
  .support-click-layer::before{ bottom: 92px; font-size:.52rem; }
}

/* ===== v36: 전문 HUD 재작업 - 참고 이미지 기반, 사이트 코드 구현 ===== */
.support-stage{
  --hud: #20f7ff;
  --hud-soft: rgba(32,247,255,.36);
  --hud-dim: rgba(32,247,255,.16);
  --hud-warn: #ff315d;
  --hud-ok: #39ff8f;
  overflow: hidden;
  border-color: rgba(32,247,255,.42);
  background:
    linear-gradient(rgba(32,247,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,247,255,.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(32,247,255,.16), transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,.0), rgba(0,0,0,.68) 67%),
    #02070b;
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.035),
    inset 0 0 90px rgba(32,247,255,.14),
    0 0 30px rgba(32,247,255,.14);
}
.support-stage::before,
.support-stage::after{
  display:none !important;
}
.support-line,
.hud-edge,
.hud-side,
.hud-bottom-bar,
.support-hud{
  display:none !important;
}
.support-hud-v36{
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
  font-family:var(--font-pixel);
  color:var(--hud);
  text-shadow:0 0 8px rgba(32,247,255,.36);
}
.hud-top-rail,
.hud-bottom-rail{
  position:absolute;
  left:3.2%;
  right:3.2%;
  height:46px;
  display:grid;
  align-items:center;
  gap:10px;
  color:rgba(220,255,255,.86);
}
.hud-top-rail{
  top:3.2%;
  grid-template-columns:auto 32px 96px 32px 1fr 96px 32px auto;
  border-top:2px solid var(--hud);
  border-bottom:1px solid var(--hud-dim);
  background:
    linear-gradient(135deg, rgba(32,247,255,.28) 0 16px, transparent 16px) left bottom / 120px 24px no-repeat,
    linear-gradient(-135deg, rgba(32,247,255,.28) 0 16px, transparent 16px) right bottom / 120px 24px no-repeat;
}
.hud-top-rail strong{
  justify-self:center;
  font-size:.82rem;
  letter-spacing:.18em;
  color:rgba(255,255,255,.82);
  position:relative;
}
.hud-top-rail strong::after{
  content:"";
  position:absolute;
  left:50%;
  top:100%;
  width:min(340px,38vw);
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg, transparent, var(--hud), transparent);
  animation:hudPulse 2.4s ease-in-out infinite;
}
.rail-chip{
  border:1px solid var(--hud-soft);
  background:rgba(32,247,255,.08);
  padding:5px 12px 4px;
  font-size:.7rem;
  letter-spacing:.12em;
  color:rgba(220,255,255,.75);
}
.rail-tick{
  display:block;
  height:8px;
  background:repeating-linear-gradient(90deg, var(--hud) 0 9px, transparent 9px 16px);
  opacity:.8;
  animation:hudPulse 1.8s ease-in-out infinite alternate;
}
.rail-tick.wide{ height:4px; opacity:.55; animation-duration:2.6s; }
.hud-bottom-rail{
  bottom:3.2%;
  grid-template-columns:1fr 1fr auto 1fr 1fr;
  height:38px;
  border-top:1px solid var(--hud-dim);
  border-bottom:2px solid rgba(32,247,255,.72);
}
.hud-bottom-rail span{
  height:6px;
  background:linear-gradient(90deg, transparent, var(--hud) 20% 70%, transparent);
  opacity:.72;
  animation:meterFloat 2.8s ease-in-out infinite;
}
.hud-bottom-rail span:nth-child(2){ animation-delay:.45s; }
.hud-bottom-rail span:nth-child(4){ animation-delay:.9s; }
.hud-bottom-rail span:nth-child(5){ animation-delay:1.35s; }
.hud-bottom-rail strong{
  font-size:.62rem;
  letter-spacing:.16em;
  color:rgba(57,255,143,.72);
  white-space:nowrap;
}
.hud-panel{
  position:absolute;
  width:238px;
  min-height:112px;
  border:1px solid var(--hud-soft);
  background:
    linear-gradient(90deg, rgba(32,247,255,.1), transparent 55%),
    rgba(0,9,14,.38);
  box-shadow:inset 0 0 18px rgba(32,247,255,.08);
  clip-path:polygon(0 0, 92% 0, 100% 16px, 100% 100%, 0 100%);
  padding:18px 18px 14px;
}
.hud-panel b{
  display:block;
  margin-bottom:12px;
  font-size:.74rem;
  letter-spacing:.12em;
  color:rgba(220,255,255,.72);
}
.hud-panel em{
  display:block;
  margin-top:9px;
  font-style:normal;
  font-size:.62rem;
  letter-spacing:.15em;
  color:rgba(57,255,143,.7);
}
.hud-panel i{
  display:block;
  height:5px;
  width:48%;
  margin:8px 0;
  background:linear-gradient(90deg, var(--hud), rgba(32,247,255,.18));
  animation:barScan 2.2s ease-in-out infinite;
}
.hud-panel i.long{ width:78%; animation-delay:.35s; }
.hud-panel i.short{ width:32%; animation-delay:.7s; }
.panel-left-top{ left:5%; top:15.5%; }
.panel-right-top{ right:5%; top:15.5%; transform:scaleX(-1); }
.panel-right-top > *{ transform:scaleX(-1); }
.panel-left-bottom{ left:5.2%; bottom:16%; min-height:126px; }
.panel-right-bottom{ right:5.2%; bottom:16%; min-height:126px; transform:scaleX(-1); }
.panel-right-bottom > *{ transform:scaleX(-1); }
.mini-gauge{
  display:block;
  height:10px;
  margin:11px 0;
  border:1px solid var(--hud-soft);
  background:rgba(32,247,255,.07);
  overflow:hidden;
}
.mini-gauge u{
  display:block;
  height:100%;
  width:58%;
  background:linear-gradient(90deg, var(--hud), var(--hud-ok));
  animation:gaugeLoop 2.4s ease-in-out infinite;
}
.mini-gauge.alt u{ animation-delay:.8s; }
.bar-row{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:5px;
  margin:12px 0 18px;
  align-items:end;
  height:44px;
}
.bar-row u{
  display:block;
  background:linear-gradient(180deg, var(--hud), rgba(32,247,255,.18));
  animation:equalizer 1.4s ease-in-out infinite;
}
.bar-row u:nth-child(1){ height:45%; animation-delay:.1s; }
.bar-row u:nth-child(2){ height:72%; animation-delay:.35s; }
.bar-row u:nth-child(3){ height:36%; animation-delay:.55s; }
.bar-row u:nth-child(4){ height:88%; animation-delay:.75s; }
.bar-row u:nth-child(5){ height:58%; animation-delay:.95s; }
.coord-read{
  display:block;
  color:rgba(255,255,255,.72);
  font-size:.72rem;
  letter-spacing:.12em;
}
.scan-core{
  position:absolute;
  left:50%;
  top:50%;
  width:min(540px, 48vw);
  aspect-ratio:1;
  transform:translate(-50%,-50%) translate3d(calc(var(--sx,0) * 14px), calc(var(--sy,0) * 14px), 0);
  border-radius:50%;
  filter:drop-shadow(0 0 18px rgba(32,247,255,.33));
}
.scan-core::before,
.scan-core::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:
    conic-gradient(from 0deg, transparent 0 9deg, rgba(32,247,255,.65) 9deg 13deg, transparent 13deg 35deg, rgba(255,255,255,.78) 35deg 39deg, transparent 39deg 78deg, rgba(32,247,255,.42) 78deg 86deg, transparent 86deg 360deg);
  mask:radial-gradient(circle, transparent 0 44%, #000 45% 47%, transparent 48% 57%, #000 58% 60%, transparent 61% 72%, #000 73% 75%, transparent 76%);
  animation:supportSpin 12s linear infinite;
  opacity:.95;
}
.scan-core::after{
  animation-duration:20s;
  animation-direction:reverse;
  opacity:.52;
  transform:scale(.78);
}
.scan-sweep{
  position:absolute;
  inset:17%;
  border-radius:50%;
  background:conic-gradient(from -45deg, rgba(32,247,255,.58) 0deg, rgba(32,247,255,.12) 28deg, transparent 70deg 360deg);
  animation:supportSpin 4.6s linear infinite;
  mix-blend-mode:screen;
}
.scan-ring{
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(32,247,255,.44);
  inset:15%;
}
.scan-ring.ring-2{ inset:27%; border-color:rgba(255,255,255,.52); border-width:2px; }
.scan-ring.ring-3{ inset:39%; border-style:dashed; opacity:.65; }
.scan-mark{
  position:absolute;
  width:24px;
  height:24px;
  border:1px solid var(--hud);
  box-shadow:0 0 10px rgba(32,247,255,.35);
}
.scan-mark::after{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width:5px; height:5px;
  background:var(--hud-ok);
  transform:translate(-50%,-50%);
  box-shadow:0 0 10px var(--hud-ok);
  animation:hudBlink 1.2s steps(1) infinite;
}
.mark-a{ left:28%; top:28%; }
.mark-b{ right:28%; top:28%; }
.mark-c{ left:28%; bottom:28%; }
.mark-d{ right:28%; bottom:28%; }
.hud-side-meter{
  position:absolute;
  top:32%;
  bottom:32%;
  width:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  opacity:.85;
}
.side-meter-left{ left:2.6%; }
.side-meter-right{ right:2.6%; }
.hud-side-meter i{
  height:28px;
  background:linear-gradient(180deg, var(--hud), transparent);
  clip-path:polygon(50% 0, 100% 100%, 0 100%);
  animation:hudBlink 1.8s steps(1) infinite;
}
.hud-side-meter i:nth-child(even){ animation-delay:.9s; opacity:.55; }
.earth-lock{
  width:min(31vw, 300px);
  top:50%;
  z-index:5;
}
.earth-core{
  border-color:rgba(255,255,255,.75);
}
.target-ring{ animation-duration:14s; }
.ring-b{ animation-duration:22s; }
.support-click-layer::before{ display:none !important; }
@keyframes hudPulse{ 0%,100%{opacity:.36} 50%{opacity:1} }
@keyframes meterFloat{ 0%,100%{transform:scaleX(.32); opacity:.35} 50%{transform:scaleX(1); opacity:1} }
@keyframes barScan{ 0%,100%{width:28%; opacity:.45} 50%{width:82%; opacity:1} }
@keyframes gaugeLoop{ 0%,100%{width:14%} 50%{width:92%} }
@keyframes equalizer{ 0%,100%{transform:scaleY(.45)} 50%{transform:scaleY(1)} }
@keyframes hudBlink{ 0%,55%,100%{opacity:.28} 56%,82%{opacity:1} }

@media (max-width: 760px){
  .hud-top-rail{ top:3%; left:4%; right:4%; height:36px; grid-template-columns:auto 1fr auto; gap:7px; }
  .hud-top-rail .rail-tick:nth-of-type(n+2),
  .hud-top-rail strong{ display:none; }
  .rail-chip{ font-size:.56rem; padding:4px 7px 3px; }
  .hud-panel{ width:116px; min-height:70px; padding:10px 10px 8px; }
  .hud-panel b{ font-size:.52rem; margin-bottom:6px; }
  .hud-panel i{ height:3px; margin:5px 0; }
  .panel-left-top{ left:5%; top:12%; }
  .panel-right-top{ right:5%; top:12%; }
  .panel-left-bottom{ left:5%; bottom:14%; min-height:74px; }
  .panel-right-bottom{ right:5%; bottom:14%; min-height:74px; }
  .mini-gauge{ height:6px; margin:7px 0; }
  .bar-row{ height:28px; gap:3px; margin:8px 0 9px; }
  .coord-read{ font-size:.5rem; }
  .scan-core{ width:min(82vw, 330px); top:48%; }
  .earth-lock{ width:min(48vw, 220px); top:48%; }
  .hud-side-meter{ top:38%; bottom:38%; width:12px; }
  .hud-side-meter i{ height:18px; }
  .hud-bottom-rail{ left:5%; right:5%; bottom:3%; grid-template-columns:1fr auto 1fr; font-size:.48rem; }
  .hud-bottom-rail span:nth-child(2),
  .hud-bottom-rail span:nth-child(4){ display:none; }
}


/* ===== v37: support HUD earth redraw - wireframe globe, remove flashing target boxes ===== */
.scan-mark,
.scan-mark::after{
  display:none !important;
}
.scan-core{
  z-index:6;
  opacity:.72;
  mix-blend-mode:screen;
}
.scan-sweep{
  inset:18%;
  opacity:.42;
}
.earth-lock{
  width:min(34vw, 340px);
  top:50%;
  z-index:7;
  filter:
    drop-shadow(0 0 18px rgba(32,247,255,.45))
    drop-shadow(0 0 34px rgba(32,247,255,.18));
}
.earth-core{
  position:absolute;
  inset:12%;
  border-radius:50%;
  border:1.5px solid rgba(210,255,255,.86) !important;
  background:
    radial-gradient(circle at 45% 30%, rgba(120,255,255,.55) 0 2%, transparent 3.5%),
    radial-gradient(circle at 50% 54%, rgba(32,247,255,.16), transparent 64%),
    radial-gradient(circle at 50% 50%, rgba(3,25,32,.88), rgba(0,5,9,.98) 73%);
  box-shadow:
    inset 0 0 20px rgba(32,247,255,.18),
    inset 0 0 55px rgba(32,247,255,.14),
    0 0 22px rgba(32,247,255,.38);
  overflow:hidden;
}
.earth-core::before,
.earth-core::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  pointer-events:none;
}
.earth-core::before{
  background:
    linear-gradient(90deg, transparent 49.4%, rgba(122,255,255,.54) 50%, transparent 50.6%),
    linear-gradient(0deg, transparent 49.4%, rgba(122,255,255,.48) 50%, transparent 50.6%),
    repeating-radial-gradient(ellipse at 50% 50%, transparent 0 14px, rgba(122,255,255,.26) 15px 16px, transparent 17px 28px),
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(122,255,255,.22) 33px 34px, transparent 35px 64px),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(122,255,255,.17) 29px 30px, transparent 31px 56px);
  transform:perspective(260px) rotateX(18deg);
  mix-blend-mode:screen;
  opacity:.9;
}
.earth-core::after{
  background:
    radial-gradient(ellipse at 50% 0%, transparent 0 37%, rgba(122,255,255,.48) 38% 39%, transparent 40%),
    radial-gradient(ellipse at 50% 100%, transparent 0 37%, rgba(122,255,255,.42) 38% 39%, transparent 40%),
    linear-gradient(115deg, transparent 0 28%, rgba(122,255,255,.48) 29% 30%, transparent 31% 100%),
    linear-gradient(70deg, transparent 0 40%, rgba(122,255,255,.32) 41% 42%, transparent 43% 100%),
    linear-gradient(155deg, transparent 0 40%, rgba(122,255,255,.28) 41% 42%, transparent 43% 100%);
  opacity:.92;
  animation:globeLineDrift 8s linear infinite;
}
.earth-orbit{
  border-color:rgba(122,255,255,.36) !important;
  box-shadow:0 0 10px rgba(32,247,255,.18);
  opacity:.82;
}
.earth-orbit.orbit-a{
  transform:rotate(-10deg) scaleX(1.34);
}
.earth-orbit.orbit-b{
  transform:rotate(34deg) scaleX(1.22);
}
.target-ring{
  border-color:rgba(122,255,255,.36) !important;
  opacity:.62;
}
.target-cross{
  background:rgba(122,255,255,.58) !important;
  box-shadow:0 0 10px rgba(32,247,255,.25);
  opacity:.65;
}
@keyframes globeLineDrift{
  from{ transform:rotate(0deg) scale(1.02); }
  to{ transform:rotate(360deg) scale(1.02); }
}
@media (max-width: 760px){
  .earth-lock{ width:min(58vw, 250px); top:48%; }
  .earth-core::before{ background-size:auto; }
}

/* ===== v38: support result warning popup + wire globe cleanup ===== */
.support-page .earth-lock{
  width:min(42vw, 430px);
  aspect-ratio:1;
  top:48%;
  transform:translate(-50%,-50%) translate(calc(var(--sx, 0) * -14px), calc(var(--sy, 0) * -12px));
  filter:drop-shadow(0 0 18px rgba(32,247,255,.35));
}
.support-page .earth-lock::before{
  content:"";
  position:absolute;
  inset:-7%;
  border-radius:50%;
  border:1px solid rgba(32,247,255,.35);
  background:
    repeating-conic-gradient(from 0deg, rgba(32,247,255,.12) 0 1deg, transparent 1deg 10deg),
    radial-gradient(circle, transparent 57%, rgba(32,247,255,.18) 58%, transparent 59%);
  opacity:.72;
  animation:supportSpin 18s linear infinite;
}
.support-page .earth-lock::after{
  content:"";
  position:absolute;
  inset:-17%;
  border-radius:50%;
  border:1px dashed rgba(32,247,255,.28);
  opacity:.55;
  animation:supportSpin 28s linear reverse infinite;
}
.support-page .earth-core{
  position:absolute;
  inset:13%;
  border-radius:50%;
  overflow:hidden;
  border:2px solid rgba(167,255,255,.72);
  background:
    radial-gradient(circle at 43% 36%, rgba(190,255,255,.85) 0 2.3%, transparent 2.8%),
    radial-gradient(circle at 48% 42%, rgba(62,255,214,.32) 0 10%, transparent 21%),
    radial-gradient(circle at 55% 49%, rgba(0,171,255,.36) 0 28%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(1,35,45,.25) 0 57%, rgba(0,12,16,.92) 75%, #020608 100%);
  box-shadow:
    0 0 0 1px rgba(32,247,255,.36),
    inset 0 0 24px rgba(32,247,255,.28),
    inset 0 0 52px rgba(32,247,255,.18),
    0 0 48px rgba(32,247,255,.42);
  transform:translateZ(0);
}
.support-page .earth-core::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:
    repeating-linear-gradient(0deg,
      transparent 0 18%,
      rgba(124,255,255,.35) 18.4% 18.9%,
      transparent 19.2% 31%),
    repeating-linear-gradient(90deg,
      transparent 0 13%,
      rgba(124,255,255,.26) 13.5% 14%,
      transparent 14.4% 26%);
  mix-blend-mode:screen;
  opacity:.72;
  transform:perspective(420px) rotateX(10deg) rotateZ(-7deg) scale(1.02);
  filter:blur(.1px);
}
.support-page .earth-core::after{
  content:"";
  position:absolute;
  inset:-3%;
  border-radius:50%;
  background:
    repeating-conic-gradient(from -22deg,
      rgba(133,255,255,.55) 0deg 1.3deg,
      transparent 1.3deg 24deg),
    radial-gradient(ellipse at 50% 50%, transparent 0 43%, rgba(91,255,255,.38) 44% 44.7%, transparent 45.2%),
    radial-gradient(ellipse at 50% 50%, transparent 0 62%, rgba(91,255,255,.28) 63% 63.5%, transparent 64%);
  mix-blend-mode:screen;
  opacity:.67;
  animation:supportSpin 32s linear infinite;
}
.support-page .earth-orbit{
  border-color:rgba(132,255,255,.38);
  box-shadow:0 0 12px rgba(32,247,255,.2);
  opacity:.68;
}
.support-page .target-ring,
.support-page .target-cross{
  opacity:.7;
}

.support-complete-modal .modal-backdrop{
  background:rgba(8,0,4,.78);
}
.support-complete-panel{
  width:min(520px, 86vw);
  border:1px solid rgba(255,38,74,.92) !important;
  background:
    linear-gradient(rgba(255,38,74,.06), rgba(255,38,74,.06)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 6px),
    #090406 !important;
  box-shadow:
    0 0 0 2px rgba(255,38,74,.2),
    0 0 28px rgba(255,38,74,.5),
    8px 8px 0 rgba(255,38,74,.42) !important;
  color:#fff0f1;
}
.support-complete-panel .window-bar{
  background:
    repeating-linear-gradient(135deg, #ff2748 0 8px, #1b0208 8px 15px) !important;
  border-bottom:1px solid #ff4d67 !important;
  color:#fff4f4 !important;
  text-shadow:2px 0 #000;
}
.support-complete-body{
  position:relative;
  padding:38px 34px 34px !important;
  text-align:center;
  border-top:1px solid rgba(255,38,74,.28);
  border-bottom:1px solid rgba(255,38,74,.28);
}
.support-complete-body::before,
.support-complete-body::after{
  content:"△";
  position:absolute;
  top:29px;
  font-family:var(--font-pixel);
  font-size:2.1rem;
  color:#ff315d;
  text-shadow:0 0 12px rgba(255,49,93,.8);
  animation:warningBlink 1.05s steps(1) infinite;
}
.support-complete-body::before{ left:34px; }
.support-complete-body::after{ right:34px; }
.support-complete-body h2{
  display:inline-block;
  margin:0 0 14px !important;
  color:#fff7f7 !important;
  font-family:var(--font-pixel);
  font-size:clamp(2rem, 5vw, 3.5rem) !important;
  letter-spacing:.04em;
  text-shadow:0 0 12px rgba(255,49,93,.78), 3px 0 rgba(255,0,70,.5);
}
.support-complete-body p{
  margin:0 auto !important;
  color:#ff4d67 !important;
  font-family:var(--font-pixel);
  font-size:clamp(1rem, 2.4vw, 1.35rem) !important;
  letter-spacing:.06em;
}
.support-complete-body p::before,
.support-complete-body p::after{
  content:"ATTENTION";
  display:block;
  color:rgba(255,49,93,.48);
  font-size:.62rem;
  letter-spacing:.28em;
  margin:7px 0;
}
@keyframes warningBlink{
  0%,48%,100%{opacity:.48}
  49%,78%{opacity:1}
}
@media (max-width: 700px){
  .support-page .earth-lock{ width:min(64vw, 250px); top:48%; }
  .support-complete-panel{ width:min(360px, 88vw); }
  .support-complete-body{ padding:34px 18px 28px !important; }
  .support-complete-body::before{ left:18px; }
  .support-complete-body::after{ right:18px; }
  .support-complete-body::before,
  .support-complete-body::after{ font-size:1.45rem; top:28px; }
}

/* ===== v39: replace support earth with provided hologram asset ===== */
.support-page .earth-lock{
  width:min(44vw, 460px) !important;
  aspect-ratio:1 !important;
  top:47% !important;
  filter:
    drop-shadow(0 0 14px rgba(42,255,255,.38))
    drop-shadow(0 0 38px rgba(0,196,255,.24)) !important;
}
.support-page .earth-core{
  inset:2% !important;
  border:0 !important;
  border-radius:50% !important;
  overflow:visible !important;
  background:url('../assets/images/earth-hologram.webp?v=76') center / contain no-repeat !important;
  box-shadow:none !important;
  opacity:.96;
  animation:earthImageFloat 5.8s ease-in-out infinite;
}
.support-page .earth-core::before{
  content:"" !important;
  position:absolute !important;
  inset:8% !important;
  border-radius:50% !important;
  background:
    radial-gradient(circle, transparent 0 55%, rgba(86,255,255,.24) 56%, transparent 58%),
    conic-gradient(from 0deg, transparent 0 72deg, rgba(255,255,255,.32) 74deg 78deg, transparent 80deg 360deg) !important;
  mix-blend-mode:screen !important;
  opacity:.42 !important;
  filter:none !important;
  animation:supportSpin 16s linear infinite !important;
  pointer-events:none;
}
.support-page .earth-core::after{
  content:"" !important;
  position:absolute !important;
  inset:-4% !important;
  border-radius:50% !important;
  border:1px solid rgba(130,255,255,.34) !important;
  background:radial-gradient(circle, transparent 0 64%, rgba(45,255,255,.20) 65%, transparent 67%) !important;
  mix-blend-mode:screen !important;
  opacity:.55 !important;
  animation:supportSpin 28s linear reverse infinite !important;
  pointer-events:none;
}
.support-page .earth-lock::before{
  inset:-8% !important;
  opacity:.42 !important;
}
.support-page .earth-lock::after{
  inset:-16% !important;
  opacity:.32 !important;
}
.support-page .target-ring{
  opacity:.55 !important;
}
.support-page .target-cross{
  opacity:.45 !important;
}
@keyframes earthImageFloat{
  0%,100%{ transform:translateY(0) scale(1); }
  50%{ transform:translateY(-3px) scale(1.012); }
}
@media (max-width:700px){
  .support-page .earth-lock{ width:min(70vw, 290px) !important; top:47% !important; }
}


/* ===== v40 stronger convex CRT lens =====
   요청: 볼록렌즈 효과가 너무 약해서 조금 더 강하게.
   SVG displacement scale is raised in index.html from 44 to 62.
   This overlay makes the edge falloff and glass curve easier to see without covering UI text.
*/
.crt-lens {
  opacity: .86 !important;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.018) 0 30%, transparent 47%, rgba(0,0,0,.24) 69%, rgba(0,0,0,.78) 100%),
    radial-gradient(ellipse at 50% 48%, transparent 0 56%, rgba(40,210,255,.045) 64%, transparent 73%),
    linear-gradient(90deg, rgba(255,255,255,.028), transparent 18%, transparent 82%, rgba(35,215,255,.03)) !important;
  box-shadow:
    inset 0 0 46px rgba(255,255,255,.035),
    inset 0 0 135px rgba(0,0,0,.78),
    inset 0 0 0 1px rgba(255,255,255,.055) !important;
}
.crt-lens::before {
  opacity: .28 !important;
  border-color: rgba(255,255,255,.065) !important;
  box-shadow: inset 0 0 34px rgba(255,255,255,.045) !important;
}
.crt-lens::after {
  opacity: .26 !important;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0 57%, rgba(255,255,255,.028) 62%, transparent 69%) !important;
}
@media (max-width: 860px) {
  .crt-lens {
    opacity: .78 !important;
    box-shadow:
      inset 0 0 32px rgba(255,255,255,.028),
      inset 0 0 84px rgba(0,0,0,.72) !important;
  }
}


/* ===== v41: support scope overlay + remove earth-back effects ===== */
/* 지구 뒤쪽 효과 제거: 지구 이미지만 남기고 별도 HUD 스코프를 올림 */
.support-page .scan-core{
  display:none !important;
}
.support-page .earth-lock::before,
.support-page .earth-lock::after,
.support-page .earth-core::before,
.support-page .earth-core::after,
.support-page .earth-orbit,
.support-page .target-ring,
.support-page .target-cross{
  display:none !important;
}
.support-page .earth-lock{
  z-index:5 !important;
  filter: drop-shadow(0 0 12px rgba(42,255,255,.28)) !important;
}
.support-page .earth-core{
  background:url('../assets/images/earth-hologram.webp?v=76') center / contain no-repeat !important;
  opacity:.94 !important;
  animation:earthImageFloat 6.8s ease-in-out infinite !important;
}

.support-scope{
  position:absolute;
  left:50%;
  top:49%;
  width:min(620px, 56vw);
  aspect-ratio:1;
  transform:translate(-50%,-50%) translate3d(calc(var(--sx,0) * 18px), calc(var(--sy,0) * 18px), 0);
  z-index:8;
  pointer-events:none;
  color:rgba(230,255,255,.86);
  filter:drop-shadow(0 0 8px rgba(32,247,255,.28));
  opacity:.92;
}
.support-scope::before,
.support-scope::after{
  content:"";
  position:absolute;
  inset:11%;
  border-radius:50%;
  pointer-events:none;
}
.support-scope::before{
  border:1px solid rgba(255,255,255,.58);
  box-shadow:
    inset 0 0 0 1px rgba(32,247,255,.12),
    0 0 18px rgba(32,247,255,.10);
  mask:conic-gradient(from 0deg,
    #000 0 18deg, transparent 18deg 38deg,
    #000 38deg 74deg, transparent 74deg 104deg,
    #000 104deg 158deg, transparent 158deg 203deg,
    #000 203deg 252deg, transparent 252deg 288deg,
    #000 288deg 336deg, transparent 336deg 360deg);
  animation:scopeSlowSpin 28s linear infinite;
}
.support-scope::after{
  inset:23%;
  border:1px dashed rgba(32,247,255,.42);
  animation:scopeSlowSpin 18s linear reverse infinite;
}
.scope-axis{
  position:absolute;
  left:50%;
  top:50%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.76) 18% 82%, transparent);
  opacity:.78;
}
.scope-axis.axis-x{
  width:88%;
  height:1px;
  transform:translate(-50%,-50%);
}
.scope-axis.axis-y{
  width:1px;
  height:88%;
  transform:translate(-50%,-50%);
  background:linear-gradient(180deg, transparent, rgba(255,255,255,.76) 18% 82%, transparent);
}
.scope-corner{
  position:absolute;
  width:16%;
  height:16%;
  border-color:rgba(255,255,255,.72);
  opacity:.88;
}
.corner-tl{ left:14%; top:14%; border-left:2px solid; border-top:2px solid; }
.corner-tr{ right:14%; top:14%; border-right:2px solid; border-top:2px solid; }
.corner-bl{ left:14%; bottom:14%; border-left:2px solid; border-bottom:2px solid; }
.corner-br{ right:14%; bottom:14%; border-right:2px solid; border-bottom:2px solid; }
.scope-arc{
  position:absolute;
  border:2px solid rgba(255,255,255,.78);
  border-radius:50%;
  opacity:.82;
}
.scope-arc.arc-left{
  inset:21% 57% 21% 13%;
  border-right:0;
  animation:scopePulse 2.4s ease-in-out infinite;
}
.scope-arc.arc-right{
  inset:21% 13% 21% 57%;
  border-left:0;
  animation:scopePulse 2.4s ease-in-out infinite .3s;
}
.scope-arc.arc-top{
  inset:9% 29% 76% 29%;
  border-bottom:0;
  opacity:.48;
}
.scope-arc.arc-bottom{
  inset:76% 29% 9% 29%;
  border-top:0;
  opacity:.48;
}
.scope-center-box{
  position:absolute;
  left:50%;
  top:50%;
  width:9%;
  aspect-ratio:1;
  transform:translate(-50%,-50%);
  border:2px solid rgba(255,255,255,.85);
  box-shadow:0 0 0 1px rgba(32,247,255,.22), inset 0 0 10px rgba(32,247,255,.12);
}
.scope-center-box::before,
.scope-center-box::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:62%;
  height:1px;
  background:rgba(255,255,255,.8);
  transform:translate(-50%,-50%) rotate(45deg);
}
.scope-center-box::after{ transform:translate(-50%,-50%) rotate(-45deg); }
.scope-cross-line{
  position:absolute;
  left:50%;
  top:50%;
  width:42%;
  height:1px;
  background:linear-gradient(90deg, rgba(255,255,255,.86), transparent 42%, transparent 58%, rgba(255,255,255,.86));
  opacity:.84;
}
.scope-cross-line.cross-a{ transform:translate(-50%,-50%) rotate(45deg); }
.scope-cross-line.cross-b{ transform:translate(-50%,-50%) rotate(-45deg); }
.scope-dot{
  position:absolute;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 10px rgba(255,255,255,.75), 0 0 16px rgba(32,247,255,.42);
  opacity:.86;
  animation:scopeDotBlink 2.1s steps(1) infinite;
}
.scope-dot.dot-a{ left:31%; top:37%; }
.scope-dot.dot-b{ right:32%; top:37%; animation-delay:.45s; }
.scope-dot.dot-c{ left:50%; bottom:24%; animation-delay:.85s; }
.scope-read{
  position:absolute;
  font-family:var(--font-pixel);
  font-size:.62rem;
  letter-spacing:.16em;
  line-height:1.55;
  color:rgba(32,247,255,.72);
  text-shadow:0 0 8px rgba(32,247,255,.45);
}
.scope-read.read-top{ left:50%; top:12%; transform:translateX(-50%); color:rgba(57,255,143,.7); }
.scope-read.read-left{ left:6%; top:45%; color:rgba(255,255,255,.42); }
.scope-read.read-right{ right:6%; top:45%; color:rgba(255,255,255,.42); text-align:right; }
@keyframes scopeSlowSpin{ to{ transform:rotate(360deg); } }
@keyframes scopePulse{ 0%,100%{ opacity:.34; transform:scale(.97); } 50%{ opacity:.9; transform:scale(1.01); } }
@keyframes scopeDotBlink{ 0%,64%,100%{opacity:.28} 65%,86%{opacity:1} }

@media (max-width:760px){
  .support-scope{
    width:min(94vw, 360px);
    top:48%;
    transform:translate(-50%,-50%) translate3d(calc(var(--sx,0) * 10px), calc(var(--sy,0) * 10px), 0);
  }
  .scope-read{ font-size:.44rem; }
  .scope-dot{ width:4px; height:4px; }
  .scope-corner{ border-width:1px; }
  .scope-center-box{ border-width:1px; }
  .scope-arc{ border-width:1px; }
  .scope-cross-line{ width:46%; }
}

/* ===== v42: support scope simple straight-line version =====
   참고 이미지처럼 직선/원 위주. 지구 뒤 효과는 계속 제거.
   스코프는 earth-lock 밖에 있어 지구와 따로 움직임. */
.support-page .scan-core,
.support-page .earth-orbit,
.support-page .target-ring,
.support-page .target-cross,
.support-page .earth-lock::before,
.support-page .earth-lock::after,
.support-page .earth-core::before,
.support-page .earth-core::after{
  display:none !important;
}
.support-page .earth-lock{
  z-index:5 !important;
  width:min(40vw, 420px) !important;
  top:48% !important;
  transform:translate(-50%,-50%) translate(calc(var(--sx,0) * -10px), calc(var(--sy,0) * -8px)) !important;
  filter:drop-shadow(0 0 12px rgba(42,255,255,.25)) !important;
}
.support-page .earth-core{
  inset:0 !important;
  border:0 !important;
  border-radius:50% !important;
  background:url('../assets/images/earth-hologram.webp?v=76') center / contain no-repeat !important;
  box-shadow:none !important;
  opacity:.94 !important;
}
.support-scope,
.scope-arc,
.scope-center-box,
.scope-cross-line{
  display:none !important;
}
.support-scope-simple{
  position:absolute;
  left:50%;
  top:48%;
  width:min(620px, 54vw);
  aspect-ratio:1;
  transform:translate(-50%,-50%) translate3d(calc(var(--sx,0) * 18px), calc(var(--sy,0) * 18px), 0);
  z-index:8;
  pointer-events:none;
  color:rgba(235,255,255,.86);
  filter:drop-shadow(0 0 7px rgba(32,247,255,.22));
  opacity:.9;
}
.support-scope-simple .scope-circle{
  position:absolute;
  left:50%;
  top:50%;
  border-radius:50%;
  transform:translate(-50%,-50%);
  border:1px solid rgba(255,255,255,.45);
  box-shadow:0 0 12px rgba(32,247,255,.08);
}
.scope-circle-outer{ width:78%; height:78%; opacity:.55; animation:scopeBreath 3.4s ease-in-out infinite; }
.scope-circle-mid{ width:48%; height:48%; border-color:rgba(255,255,255,.68) !important; opacity:.75; }
.scope-circle-inner{ width:18%; height:18%; border-color:rgba(32,247,255,.62) !important; opacity:.78; }
.support-scope-simple .scope-axis{
  position:absolute;
  left:50%;
  top:50%;
  background:rgba(255,255,255,.66);
  opacity:.78;
}
.scope-axis-x{ width:92%; height:1px; transform:translate(-50%,-50%); }
.scope-axis-y{ width:1px; height:92%; transform:translate(-50%,-50%); }
.support-scope-simple .scope-diag{
  position:absolute;
  left:50%;
  top:50%;
  width:72%;
  height:1px;
  background:linear-gradient(90deg, rgba(255,255,255,.76), transparent 45%, transparent 55%, rgba(255,255,255,.76));
  opacity:.72;
}
.scope-diag-a{ transform:translate(-50%,-50%) rotate(45deg); }
.scope-diag-b{ transform:translate(-50%,-50%) rotate(-45deg); }
.scope-box-main{
  position:absolute;
  left:50%;
  top:50%;
  width:33%;
  aspect-ratio:1;
  transform:translate(-50%,-50%);
  border:1px solid rgba(255,255,255,.52);
  opacity:.55;
}
.support-scope-simple .scope-corner{
  position:absolute;
  width:18%;
  height:18%;
  opacity:.86;
  border-color:rgba(255,255,255,.76);
}
.scope-corner-tl{ left:15%; top:15%; border-left:2px solid; border-top:2px solid; }
.scope-corner-tr{ right:15%; top:15%; border-right:2px solid; border-top:2px solid; }
.scope-corner-bl{ left:15%; bottom:15%; border-left:2px solid; border-bottom:2px solid; }
.scope-corner-br{ right:15%; bottom:15%; border-right:2px solid; border-bottom:2px solid; }
.support-scope-simple .scope-dot{
  position:absolute;
  width:5px;
  height:5px;
  border-radius:50%;
  background:rgba(255,255,255,.9);
  box-shadow:0 0 9px rgba(255,255,255,.65), 0 0 13px rgba(32,247,255,.34);
  opacity:.38;
  animation:scopeDotSimple 2.4s steps(1) infinite;
}
.scope-dot-a{ left:30%; top:34%; }
.scope-dot-b{ right:30%; top:34%; animation-delay:.5s; }
.scope-dot-c{ left:33%; bottom:30%; animation-delay:1s; }
.scope-dot-d{ right:33%; bottom:30%; animation-delay:1.5s; }
.support-scope-simple .scope-read{
  position:absolute;
  font-family:var(--font-pixel);
  font-size:.62rem;
  letter-spacing:.16em;
  color:rgba(32,247,255,.64);
  text-shadow:0 0 7px rgba(32,247,255,.32);
  line-height:1.55;
}
.scope-read-top{ left:50%; top:16%; transform:translateX(-50%); color:rgba(57,255,143,.66) !important; }
.scope-read-left{ left:7%; top:46%; color:rgba(255,255,255,.38) !important; }
.scope-read-right{ right:7%; top:46%; color:rgba(255,255,255,.38) !important; text-align:right; }
.scope-read-bottom{ left:50%; bottom:16%; transform:translateX(-50%); color:rgba(32,247,255,.48) !important; }
@keyframes scopeBreath{ 0%,100%{ opacity:.34; transform:translate(-50%,-50%) scale(.99); } 50%{ opacity:.72; transform:translate(-50%,-50%) scale(1.015); } }
@keyframes scopeDotSimple{ 0%,62%,100%{ opacity:.22; } 63%,82%{ opacity:1; } }

@media (max-width:760px){
  .support-page .earth-lock{ width:min(68vw, 290px) !important; top:48% !important; }
  .support-scope-simple{
    width:min(96vw, 390px);
    top:48%;
    transform:translate(-50%,-50%) translate3d(calc(var(--sx,0) * 10px), calc(var(--sy,0) * 10px), 0);
  }
  .support-scope-simple .scope-read{ font-size:.44rem; }
  .support-scope-simple .scope-dot{ width:4px; height:4px; }
  .support-scope-simple .scope-corner{ border-width:1px; }
  .scope-box-main{ width:35%; }
}


/* ===== v44 GOODS benefit modal ===== */
.benefit-modal { z-index: 230; }
.benefit-modal-panel {
  width: min(760px, calc(100vw - 34px));
  border-color: rgba(255, 54, 54, .92);
  box-shadow: 0 0 0 2px rgba(255,255,255,.78), 12px 12px 0 rgba(255, 46, 46, .45), 0 0 36px rgba(255, 46, 46, .22);
}
.benefit-modal-body {
  display: grid;
  grid-template-columns: minmax(240px, .95fr) minmax(240px, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
}
.benefit-image {
  min-height: 320px;
  border: 1px solid rgba(255,255,255,.88);
  background:
    linear-gradient(135deg, rgba(255, 0, 0, .18), transparent 36%),
    radial-gradient(circle at 72% 22%, rgba(255, 246, 116, .35), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.3));
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.72);
  font-family: var(--font-pixel);
  font-size: clamp(18px, 3.2vw, 32px);
  letter-spacing: .08em;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.benefit-image::before,
.benefit-image::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(255,255,255,.28);
  pointer-events: none;
}
.benefit-image::after {
  inset: auto 0 0 0;
  height: 34%;
  border: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 1px, transparent 1px 8px);
  opacity: .32;
}
.benefit-copy {
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(0,0,0,.46);
  padding: 16px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}
.benefit-tag {
  width: fit-content;
  margin: 0;
  padding: 4px 8px;
  border: 1px solid rgba(255, 48, 48, .85);
  color: #ff5c5c;
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: .08em;
}
.benefit-copy h2 {
  margin: 0;
  font-family: var(--font-pixel);
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.15;
  color: #fff;
  text-shadow: 2px 2px 0 rgba(255, 0, 0, .75), 0 0 18px rgba(255, 0, 0, .34);
}
.benefit-copy p:last-child,
#benefitModalDesc {
  white-space: pre-line;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  font-size: 15px;
}
@media (max-width: 760px) {
  .benefit-modal-body { grid-template-columns: 1fr; padding: 14px; }
  .benefit-image { min-height: 240px; }
  .benefit-copy { min-height: auto; }
}

/* ===== v45: notice real text content ===== */
.notice-body ul {
  margin: 0;
  padding: 0 0 0 1.05em;
  list-style: none;
}
.notice-body li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 1.05em;
  color: rgba(245,245,220,.82);
  line-height: 1.72;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.notice-body li:last-child { margin-bottom: 0; }
.notice-body li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(245,245,220,.72);
  font-family: var(--font-pixel);
}
.notice-body li:has(strong)::before {
  content: "※";
  color: rgba(255,43,79,.9);
}
.notice-body strong {
  color: var(--yellow);
  font-weight: 800;
  text-shadow: 1px 0 0 rgba(255,43,79,.55), 0 0 8px rgba(255,232,74,.2);
}
@media (max-width: 760px) {
  .notice-body li { font-size: .9rem; line-height: 1.65; word-break: normal; }
}

/* ===== v48 EVENT detail update ===== */
.event-guide-block.is-hidden {
  display: none;
}
.event-card-hidden {
  display: none !important;
}
.event-void-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(245,240,222,.12) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 50% 45%, rgba(255,30,60,.18), transparent 34%),
    rgba(0,0,0,.18);
  color: rgba(245,240,222,.88);
  font-family: 'VT323', 'Galmuri11', monospace;
  letter-spacing: .18em;
  animation: eventVoidFlicker 3.2s steps(12, end) both;
}
.event-void-overlay.is-black {
  background: #000;
}
.event-void-noise {
  position: absolute;
  inset: -8%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(0deg, rgba(35,215,255,.08) 0 1px, transparent 1px 9px);
  opacity: .42;
  transform: skewX(-6deg);
  animation: eventVoidNoise .22s steps(2, end) infinite;
}
.event-void-text {
  position: relative;
  z-index: 1;
  max-width: min(860px, calc(100vw - 36px));
  padding: 12px 16px 9px;
  border: 1px solid rgba(245,240,222,.34);
  background: rgba(0,0,0,.48);
  font-size: clamp(18px, 4vw, 34px);
  line-height: 1.35;
  text-align: center;
  text-shadow: 2px 0 rgba(255,30,60,.8), -2px 0 rgba(35,215,255,.72);
  word-break: break-all;
  animation: eventVoidTextPulse .72s steps(2, end) infinite;
}
.event-void-overlay.is-black .event-void-text,
.event-void-overlay.is-black .event-void-noise {
  opacity: 0;
}
@keyframes eventVoidFlicker {
  0% { opacity: 0; filter: contrast(1); }
  14% { opacity: .85; transform: translateX(-2px); }
  28% { opacity: .35; transform: translateX(3px); }
  46% { opacity: 1; filter: contrast(1.5); }
  68% { opacity: .62; transform: translateX(-1px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes eventVoidTextPulse {
  0% { opacity: .55; }
  50% { opacity: 1; }
  100% { opacity: .72; }
}
@keyframes eventVoidNoise {
  0% { transform: translate(-2%, -1%) skewX(-6deg); }
  100% { transform: translate(2%, 1%) skewX(6deg); }
}


/* v50: floating X button restore */
.twitter-btn {
  color: #fff;
  font-size: 22px;
  letter-spacing: .04em;
  text-decoration: none;
  text-shadow: 1px 0 var(--blue), -1px 0 var(--red);
}
.twitter-btn:hover {
  filter: brightness(1.18);
  transform: translateY(-2px) rotate(-1deg);
}

/* v67 lucky draw layout: 9 items, 1st prize spans two rows */
@media (min-width: 761px) {
  .prize-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "grand prize2"
      "grand prize3"
      "prize4 prize5"
      "prize6 prize7"
      "prize8 prize9";
    align-items: stretch;
  }
  .prize-card:nth-child(1) { grid-area: grand; }
  .prize-card:nth-child(2) { grid-area: prize2; }
  .prize-card:nth-child(3) { grid-area: prize3; }
  .prize-card:nth-child(4) { grid-area: prize4; }
  .prize-card:nth-child(5) { grid-area: prize5; }
  .prize-card:nth-child(6) { grid-area: prize6; }
  .prize-card:nth-child(7) { grid-area: prize7; }
  .prize-card:nth-child(8) { grid-area: prize8; }
  .prize-card:nth-child(9) { grid-area: prize9; }
  .prize-card.prize-grand {
    display: flex;
    flex-direction: column;
  }
  .prize-card.prize-grand .prize-image {
    flex: 1;
    min-height: 510px;
  }
}

@media (max-width: 760px) {
  .prize-card.prize-grand .prize-image {
    min-height: 260px;
  }
}

/* v56: mobile font size refinement, excluding HOME */
@media (max-width: 760px) {
  .page:not(.hero) .section-label {
    font-size: 13px !important;
    letter-spacing: .08em !important;
  }

  .page:not(.hero) h2,
  .page:not(.hero) .goods-head h2,
  .page:not(.hero) .access-card h2,
  .page:not(.hero) .qa-card h2 {
    font-size: clamp(34px, 9.5vw, 52px) !important;
    line-height: 1 !important;
  }

  .page:not(.hero) .lead,
  .page:not(.hero) .goods-head p,
  .page:not(.hero) .product-card p,
  .page:not(.hero) .qa-card p,
  .page:not(.hero) .access-card p,
  .page:not(.hero) .info-list dd,
  .page:not(.hero) .info-list dt {
    font-size: 14px !important;
    line-height: 1.62 !important;
  }

  .mini-terminal {
    font-size: 19px !important;
    line-height: 1.35 !important;
  }

  .notice-tab {
    font-size: 12px !important;
    padding: 5px 9px 4px !important;
  }

  .notice-date {
    font-size: 18px !important;
    min-width: 72px !important;
  }

  .notice-tag {
    font-size: 12px !important;
  }

  .notice-title {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .notice-body li {
    font-size: 13px !important;
    line-height: 1.58 !important;
    margin-bottom: 8px !important;
  }

  .event-no {
    font-size: 13px !important;
  }

  .event-text-panel h2 {
    font-size: 18px !important;
    line-height: 1.18 !important;
  }

  .event-text-panel p {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .product-card h3 {
    font-size: 25px !important;
  }

  .goods-status {
    font-size: 11px !important;
    padding: 4px 7px 3px !important;
  }

  .product-card button,
  .js-benefit-open,
  .js-lucky-open {
    font-size: 13px !important;
  }

  .modal-lead {
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  .prize-card h3 {
    font-size: 18px !important;
  }

  .image-credit {
    font-size: 12px !important;
  }

  .event-modal-no {
    font-size: 18px !important;
  }

  .event-modal-info h2,
  .benefit-copy h2 {
    font-size: clamp(23px, 7.2vw, 34px) !important;
  }

  .event-detail-block h3 {
    font-size: 22px !important;
  }

  .event-detail-block p,
  #benefitModalDesc {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .benefit-tag {
    font-size: 11px !important;
  }

  .mail-placeholder {
    font-size: 23px !important;
  }
}


/* ===== v57: mobile NOTICE left gap reduction only ===== */
@media (max-width: 760px) {
  #notice .notice-row {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  #notice .notice-body {
    margin-left: 0 !important;
    grid-column: 1 / -1 !important;
  }

  #notice .notice-body ul {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  #notice .notice-body li {
    margin-left: 0 !important;
    padding-left: .72em !important;
  }

  #notice .notice-body li::before {
    left: 0 !important;
  }
}


/* ===== v58: mobile NOTICE emphasized bullet spacing ===== */
@media (max-width: 760px) {
  #notice .notice-body li:has(strong) {
    padding-left: 1.18em !important;
  }

  #notice .notice-body li:has(strong)::before {
    left: 0 !important;
  }
}


/* v60: goods lineup modal */
.goods-title-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.lineup-open-btn {
  display: inline-grid;
  place-items: center;
  transform: rotate(-2deg);
  min-width: 92px;
  height: 34px;
  padding: 4px 14px;
  border: 2px solid var(--red);
  background: rgba(0,0,0,.55);
  color: var(--ink);
  font-family: 'DungGeunMo', 'NeoDunggeunmo', monospace;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(255,30,60,.55), inset 0 0 18px rgba(255,30,60,.12);
  text-shadow: 1px 0 var(--blue), -1px 0 var(--red);
}
.lineup-open-btn:hover {
  background: var(--red);
  color: #000;
  box-shadow: 4px 4px 0 rgba(35,215,255,.45);
}
.lineup-modal { z-index: 232; }
.lineup-modal-panel {
  width: min(960px, calc(100vw - 32px));
  max-height: min(820px, calc(100vh - 36px));
}
.lineup-modal-body {
  padding: 28px 30px 32px;
  overflow: auto;
}
.lineup-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(38px, 6vw, 62px);
  line-height: .95;
  text-align: center;
  letter-spacing: -.03em;
  text-shadow: 2px 0 rgba(255,30,60,.65), -2px 0 rgba(35,215,255,.55);
}
.lineup-note {
  margin: 0 0 24px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 16px;
  width: min(720px, 100%);
  margin: 0 auto;
  justify-items: center;
}
.lineup-person {
  min-width: 0;
  width: 100%;
  text-align: center;
}
.lineup-person strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
  word-break: keep-all;
}
.lineup-person a {
  display: inline-block;
  margin-top: 2px;
  color: #d7d1c5;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  word-break: break-all;
}
.lineup-person a:hover {
  color: var(--yellow);
  text-decoration: underline;
}
@media (max-width: 760px) {
  .goods-title-wrap {
    gap: 12px;
  }
  .lineup-open-btn {
    min-width: 74px;
    height: 30px;
    padding: 4px 10px;
    font-size: 13px;
  }
  .lineup-modal-panel {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 24px);
  }
  .lineup-modal-body {
    padding: 18px 16px 22px;
  }
  .lineup-title {
    font-size: 32px !important;
  }
  .lineup-note {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .lineup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 14px;
    width: min(360px, 100%);
  }
  .lineup-person strong {
    font-size: 16px;
  }
  .lineup-person a {
    font-size: 12px;
  }
}


/* v61: lineup modal vertical breathing room */
.lineup-modal-body {
  padding-top: 46px !important;
  padding-bottom: 48px !important;
}
.lineup-title {
  margin-bottom: 16px !important;
}
.lineup-note {
  margin-bottom: 46px !important;
}
.lineup-grid {
  row-gap: 22px !important;
  padding-bottom: 18px;
}
@media (max-width: 760px) {
  .lineup-modal-body {
    padding-top: 34px !important;
    padding-bottom: 42px !important;
  }
  .lineup-title {
    margin-bottom: 14px !important;
  }
  .lineup-note {
    margin-bottom: 32px !important;
  }
  .lineup-grid {
    row-gap: 20px !important;
    padding-bottom: 14px;
  }
}


/* ===== v64: partial public EVENT placeholder / Q&A width terminal style ===== */
.event-preparing-board {
  display: block;
  width: 100%;
}
.event-preparing {
  width: 100%;
  min-height: min(48vh, 500px);
  padding: clamp(30px, 4.5vw, 54px);
  text-align: left;
  background: rgba(0,0,0,.66);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 24px rgba(0,255,120,.08);
}
.event-preparing-kicker {
  margin: 0 0 28px;
  color: var(--red);
  letter-spacing: .05em;
  font-size: clamp(22px, 2.4vw, 32px);
}
.event-preparing h2 {
  margin: 0;
  color: var(--green);
  font-family: 'VT323', monospace;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.3;
  letter-spacing: .03em;
  text-shadow: none;
}
.event-preparing .blink {
  margin: 38px 0 0;
  color: var(--green);
  font-size: 32px;
}
@media (max-width: 760px) {
  .event-preparing {
    min-height: 280px;
    padding: 30px 20px;
  }
  .event-preparing-kicker {
    font-size: 18px !important;
    margin-bottom: 20px;
  }
  .event-preparing h2 {
    font-size: 28px !important;
    line-height: 1.35 !important;
  }
}



/* v69: lineup sections split */
.lineup-section {
  width: min(760px, 100%);
  margin: 0 auto 34px;
}
.lineup-section:last-child {
  margin-bottom: 0;
}
.lineup-section-title {
  margin: 0 0 18px;
  color: var(--yellow);
  font-family: 'DungGeunMo', 'NeoDunggeunmo', monospace;
  font-size: 22px;
  line-height: 1.1;
  text-align: center;
  letter-spacing: .06em;
  text-shadow: 1px 0 rgba(255,30,60,.55), -1px 0 rgba(35,215,255,.45);
}
.lineup-section .lineup-grid {
  width: 100%;
}
@media (max-width: 760px) {
  .lineup-section {
    width: min(360px, 100%);
    margin-bottom: 30px;
  }
  .lineup-section-title {
    margin-bottom: 16px;
    font-size: 17px;
  }
}


/* ===== v72 performance patch =====
   렉 원인 측정 결과: 스크롤되는 본문(.page-inner)에 걸린 SVG 볼록 왜곡 필터가
   스크롤/호버 때마다 매 프레임 다시 계산되어 NOTICE/GOODS 등이 30fps로 떨어짐.
   - 본문 왜곡 필터 해제 (HOME 배경, 첫 안내창은 정지 화면이라 유지)
   - 마우스 블러는 유지하되 커서 좌표를 블러 레이어에만 전달 (JS 수정)
   - 터치 기기에서는 마우스 블러 끔
   - 모바일 별 점멸 애니메이션은 filter/text-shadow 대신 opacity/transform만 움직임
*/

.camcorder-sweep::before {
  mix-blend-mode: normal !important;
  will-change: transform, opacity;
}

@media (hover: none), (max-width: 860px) {
  .focus-blur {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .constellation-mobile circle {
    filter: drop-shadow(0 0 6px rgba(255,232,74,.85)) drop-shadow(0 0 10px rgba(255,40,84,.7));
    animation-name: mobilePointPulseLite !important;
  }
  .star-node::before {
    color: var(--yellow);
    text-shadow: 0 0 8px var(--yellow), 0 0 16px rgba(255, 44, 171, .8);
    animation-name: mobileLabelStarPulseLite !important;
  }
}

@keyframes mobilePointPulseLite {
  0%, 100% { opacity: .42; transform: scale(.92); }
  45% { opacity: 1; transform: scale(1.45); }
}

@keyframes mobileLabelStarPulseLite {
  0%, 100% { opacity: .26; }
  48% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .camcorder-sweep,
  .focus-blur {
    display: none !important;
  }
}


/* ===== v73 CRT bend: 전체 화면 하나만 =====
   기존에는 배경/본문/하단 안내문/첫 안내창이 각각 따로 휘어서 겹치는 곳이 깨짐.
   또 필터 영역(-8%~116%)이 왜곡맵보다 넓어서 창이 오른쪽 아래로 복제되어 보였음.
   이제 main(.page-stage) 하나에만 걸고, 첫 안내창도 main 안에 넣어 같이 휨.
   휘는 세기는 index.html 의 feDisplacementMap scale 값 (0.03 약하게 ~ 0.08 강하게).
*/
.page-stage {
  filter: url(#crtBulgeFilter) !important;
}
.entry-window,
.page:not(.hero) .page-inner,
.home-caption,
.orbit-field,
.constellation,
.star-node {
  filter: none !important;
}
.hero .rainbow-space {
  filter: contrast(1.16) saturate(1.2) brightness(.82) !important;
}
/* 예전엔 필터가 창을 두 번 겹쳐 그려서 진해 보였음. 겹침 제거 후 같은 진하기로 맞춤 */
.entry-window {
  background: rgba(6, 7, 12, .965);
}

/* ===== v75: 그래픽 가속 꺼진 브라우저에서는 무거운 효과 끔 ===== */
.no-gpu-fx .page-stage {
  filter: none !important;
}
.no-gpu-fx .focus-blur {
  display: none !important;
}

/* ===== v79: 플로팅 버튼(TOP/X/TICKET)을 오른쪽 아래 -> 왼쪽 아래로 ===== */
.floating-buttons {
  left: 18px !important;
  right: auto !important;
}
/* 홈 하단 안내문이 버튼과 겹치지 않게 위로 올림 */
.home-caption {
  bottom: 86px;
}
@media (max-width: 860px) {
  .floating-buttons {
    left: 10px !important;
  }
}
@media (max-width: 760px) {
  .home-caption {
    bottom: 96px !important;
  }
}

/* ===== v80: TICKET 예매권 준비중 창 ===== */
.ticket-modal { z-index: 240; }
.ticket-modal-panel {
  width: min(560px, 92vw);
}
.ticket-modal-body {
  padding: clamp(14px, 2.4vw, 22px);
}
.ticket-modal-body .event-preparing {
  min-height: min(32vh, 260px);
  padding: clamp(22px, 3.4vw, 36px);
}
.ticket-modal-body .event-preparing-kicker {
  margin-bottom: 18px;
  font-size: clamp(18px, 2vw, 24px);
}
.ticket-modal-body .event-preparing h2 {
  font-size: clamp(30px, 3.6vw, 46px);
}
.ticket-modal-body .event-preparing .blink {
  margin-top: 24px;
}
