/* ==========================================================================
   通关领奖 / 强制广告 / 弹窗 / 系统通知 / 动画 / 响应式
   ========================================================================== */

/* --------------------------------------------------------------------------
   通关领奖大厅
   -------------------------------------------------------------------------- */

.victory-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px 13px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 50% at 50% 48%, rgba(255, 216, 68, .16), transparent 68%),
    radial-gradient(ellipse 76% 65% at 50% 50%, rgba(173, 16, 83, .4), transparent 69%),
    linear-gradient(180deg, rgba(10, 0, 16, .52), rgba(3, 0, 7, .88));
}

.victory-rays {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 160vmax;
  height: 160vmax;
  border-radius: 50%;
  background: repeating-conic-gradient(from 3deg, rgba(255, 224, 89, .12) 0 5deg, transparent 5deg 14deg);
  transform: translate(-50%, -50%);
  animation: slow-spin 65s linear infinite;
  pointer-events: none;
}

.victory-marquee {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 3;
  height: 25px;
  overflow: hidden;
  color: #3a040f;
  background: var(--yellow);
  border-bottom: 2px solid #21040a;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  line-height: 25px;
  white-space: nowrap;
}

.victory-marquee div {
  width: max-content;
  animation: ticker-run 32s linear infinite;
}

.victory-confetti {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  top: -9vh;
  left: var(--left);
  width: var(--w, 7px);
  height: var(--h, 13px);
  background: var(--color);
  opacity: .9;
  transform: rotate(var(--rot));
  animation: confetti-fall var(--dur, 3.4s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.victory-shell {
  position: relative;
  z-index: 5;
  width: min(890px, calc(100vw - 54px));
  max-height: calc(100dvh - var(--chrome-h) - 30px);
  padding: 12px 24px 11px;
  overflow: auto;
  color: #280a10;
  background:
    repeating-linear-gradient(0deg, rgba(110, 48, 13, .035) 0 1px, transparent 1px 5px),
    linear-gradient(170deg, #fff1cd, #f2dfb2 65%, #e6cb97);
  border: 4px solid #2b0a0c;
  box-shadow:
    0 0 0 3px #e8b82a,
    0 0 0 7px #8a1424,
    15px 18px 0 rgba(0, 0, 0, .44),
    0 0 90px rgba(255, 189, 45, .19);
  scrollbar-color: #8d5f2a #e8d4a5;
}

.victory-shell::before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: -1;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 230, 111, .18) 0 5deg, transparent 5deg 14deg);
  pointer-events: none;
  animation: slow-spin 55s linear infinite;
}

.victory-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 -8px 8px;
  padding: 0 5px 7px;
  border-bottom: 1px solid rgba(71, 26, 11, .24);
  color: #7c4622;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .03em;
}

#victoryPartLabel {
  color: #9a1f24;
  font-weight: 900;
}

.victory-kicker {
  color: #965b2e;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .16em;
  text-align: center;
}

.victory-title {
  display: flex;
  justify-content: center;
  gap: clamp(2px, .8vw, 10px);
  margin: 4px 0 5px;
  padding-bottom: 5px;
  color: #c5182a;
  font-family: var(--font-display);
  font-size: clamp(55px, 6.8vw, 86px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.1em;
  text-shadow:
    3px 3px 0 #fff4ce,
    6px 6px 0 rgba(72, 17, 9, .2),
    0 0 35px rgba(255, 202, 55, .3);
}

.victory-title span:nth-child(2) {
  color: #871521;
  transform: translateY(5px) rotate(-4deg);
}

.victory-title span:nth-child(3) {
  color: #d39312;
  transform: rotate(2deg);
}

.victory-title span:nth-child(4) {
  transform: translateY(4px);
}

.victory-sub {
  position: relative;
  z-index: 2;
  margin: 4px 0 0;
  color: #7a4c2d;
  font-family: var(--font-song);
  font-size: 11px;
  text-align: center;
}

.victory-product {
  position: relative;
  z-index: 2;
  margin: 3px auto 8px;
  color: #471e0f;
  font-family: var(--font-song);
  font-size: clamp(16px, 1.8vw, 23px);
  font-weight: 900;
  text-align: center;
  letter-spacing: .03em;
}

.victory-product small {
  margin-left: 4px;
  padding: 1px 5px;
  color: #fff4d9;
  background: #9a1b24;
  font-family: var(--font-ui);
  font-size: 8px;
  font-weight: 400;
  vertical-align: 2px;
}

.victory-stamp {
  position: absolute;
  right: 22px;
  top: 58px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 3px double rgba(178, 23, 33, .8);
  border-radius: 50%;
  color: rgba(178, 23, 33, .82);
  font-family: var(--font-song);
  font-size: 14px;
  font-weight: 900;
  transform: rotate(-12deg);
  opacity: .78;
  pointer-events: none;
}

.victory-stamp::after {
  content: "不予退换";
  position: absolute;
  bottom: 12px;
  font-size: 6px;
  letter-spacing: .08em;
}

.victory-congrats {
  margin: 0 0 9px;
  color: #5d3622;
  font-family: var(--font-song);
  font-size: 9px;
  line-height: 1.6;
  text-align: center;
}

.victory-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-bottom: 10px;
}

.victory-stat {
  padding: 6px 4px 5px;
  border: 1px solid #af8e5c;
  background: rgba(255, 250, 230, .55);
  text-align: center;
}

.victory-stat span {
  display: block;
  color: #99704a;
  font-family: var(--font-song);
  font-size: 7px;
  white-space: nowrap;
}

.victory-stat b {
  display: block;
  margin-top: 2px;
  color: #801d1d;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
}

.victory-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(560px, 89%);
  min-height: 56px;
  margin: 0 auto;
  padding: 6px 13px;
  border: 3px solid #25070b;
  color: #fff5dd;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .11) 0 8px, transparent 8px 16px),
    linear-gradient(#d51e36, #8d0f20);
  box-shadow: 5px 5px 0 #24070b, 0 0 0 2px rgba(255, 220, 104, .23);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .04em;
  transition: transform .08s, filter .15s;
}

.victory-cta:hover {
  filter: brightness(1.11) saturate(1.13);
  transform: translate(-1px, -2px);
}

.victory-cta:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #24070b;
}

.victory-cta small {
  margin-top: 2px;
  color: #efbcb9;
  font-family: var(--font-song);
  font-size: 7px;
  font-weight: 400;
}

.victory-skip {
  display: block;
  margin: 7px auto 0;
  color: #8e653e;
  font-family: var(--font-song);
  font-size: 8px;
  text-decoration: underline dotted #a77b4a;
}

.victory-skip:hover {
  color: #a11922;
}

.victory-fine {
  margin: 8px 0 0;
  color: #9f7a51;
  font-family: var(--font-song);
  font-size: 7px;
  line-height: 1.5;
  text-align: center;
}

/* 作者关注入口 */
.creator-symbols {
  position: absolute;
  pointer-events: none;
}

.creator-corner {
  display: flex;
  flex: none;
  justify-content: flex-end;
  padding: 2px max(12px, env(safe-area-inset-right)) 2px max(12px, env(safe-area-inset-left));
  border-bottom: 1px solid rgba(255, 46, 166, .25);
  background: linear-gradient(90deg, #100518, #250c30);
}

@media (max-width: 800px) {
  .creator-corner {
    /* Leave room for the game's fixed mission prompt. */
    margin-top: 44px;
  }
}

.creator-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.creator-links-label {
  margin-right: 7px;
  color: var(--pink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.creator-link {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--creator-accent);
  text-decoration: none;
}

.creator-link--bilibili { --creator-accent: var(--cyan); }
.creator-link--douyin { --creator-accent: var(--yellow); }
.creator-link--xiaohongshu { --creator-accent: var(--pink-soft); }

.creator-link svg {
  width: 33px;
  height: 33px;
  padding: 5px;
  border: 1px solid currentColor;
  border-radius: 5px;
  background: linear-gradient(155deg, #31143c, var(--ink));
  box-shadow: inset 0 0 0 2px var(--ink), 0 2px 0 #08010e;
}

.creator-link:hover svg,
.creator-link:focus-visible svg {
  box-shadow: inset 0 0 0 2px var(--ink), 0 0 8px currentColor;
}

.creator-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
  border-radius: 5px;
}

.creator-footer {
  margin-top: 13px;
  padding: 7px 8px 10px;
  border: 1px solid #6e385a;
  background: linear-gradient(145deg, #281232, #13091c);
  text-align: center;
}

.creator-footer p {
  margin: 3px 0 0;
  color: var(--cream);
  font-size: 12px;
  line-height: 1.55;
}

.creator-footer strong {
  color: var(--yellow);
}

.victory-bottomline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 9px -8px -3px;
  padding-top: 7px;
  border-top: 1px solid rgba(71, 26, 11, .2);
  color: #a6855e;
  font-family: var(--font-song);
  font-size: 7px;
}

.victory-bottomline button {
  color: #81613d;
  font-family: var(--font-song);
  font-size: 7px;
  text-decoration: underline;
}

.victory-bottomline button:hover {
  color: #9b1922;
}

/* 两侧通关广告 */
.victory-ad {
  position: absolute;
  z-index: 4;
  width: 188px;
  padding: 10px 11px;
  color: #24100d;
  background: #f8eacb;
  border: 2px solid #26080b;
  box-shadow: 6px 7px 0 rgba(0, 0, 0, .44);
  font-size: 9px;
  line-height: 1.55;
}

.victory-ad--left {
  left: 2.2%;
  top: 25%;
  transform: rotate(-3.5deg);
}

.victory-ad--right {
  right: 2.2%;
  top: 42%;
  transform: rotate(2.5deg);
  background: #f6d8df;
  color: #4d0e1c;
}

.victory-ad-label {
  display: inline-block;
  margin-bottom: 6px;
  padding: 1px 4px;
  color: #f8ead0;
  background: #8e1a24;
  font-family: var(--font-mono);
  font-size: 7px;
}

.victory-ad b {
  display: block;
  margin-bottom: 4px;
  color: #8e1d20;
  font-family: var(--font-song);
  font-size: 15px;
  line-height: 1.2;
}

.victory-ad p {
  margin: 0 0 7px;
  color: #6c4b31;
  font-family: var(--font-song);
  font-size: 8px;
}

.victory-ad button {
  padding: 4px 7px;
  border: 1px solid #2a090b;
  color: #fff1d8;
  background: #9f1e25;
  font-size: 8px;
  font-weight: 900;
}

.victory-ad button:hover {
  color: #2d060a;
  background: var(--yellow);
}

/* 奖励面板 --------------------------------------------------------------- */

.reward-panel {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 2px;
}

.reward-burst {
  position: absolute;
  left: 50%;
  top: -28px;
  z-index: -1;
  color: var(--yellow);
  font-size: 90px;
  line-height: 1;
  transform: translateX(-50%);
  opacity: .28;
  animation: slow-spin 24s linear infinite;
}

.reward-kicker {
  color: #8e5e33;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-align: center;
}

.reward-panel h2 {
  margin: 2px 0 8px;
  color: #9e1a22;
  font-family: var(--font-song);
  font-size: clamp(25px, 2.8vw, 36px);
  font-weight: 900;
  text-align: center;
  letter-spacing: .05em;
}

.reward-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.reward-item {
  padding: 8px 7px 7px;
  border: 1px solid #b2915f;
  background: rgba(255, 249, 231, .62);
  text-align: center;
}

.reward-item > span {
  display: block;
  font-size: 23px;
  line-height: 1.1;
}

.reward-item b {
  display: block;
  margin: 2px 0;
  color: #6c2a12;
  font-family: var(--font-song);
  font-size: 10px;
}

.reward-item small {
  display: block;
  color: #9c7c56;
  font-family: var(--font-song);
  font-size: 7px;
  line-height: 1.4;
}

.reward-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 8px;
  padding: 5px 0;
  border-top: 1px dashed #b99b6d;
  border-bottom: 1px dashed #b99b6d;
  color: #83552f;
  font-family: var(--font-song);
  font-size: 9px;
}

.reward-score strong {
  color: #b51925;
  font-family: var(--font-display);
  font-size: 31px;
  line-height: .9;
  letter-spacing: -.06em;
}

.reward-score small {
  color: #8f6d48;
  font-size: 8px;
}

.reward-score em {
  margin-left: 7px;
  color: #a27d54;
  font-size: 7px;
  font-style: normal;
}

.sequel-btn {
  position: relative;
  display: flex;
  align-items: center;
  width: min(560px, 92%);
  margin: 0 auto;
  padding: 9px 15px;
  overflow: hidden;
  color: #1e040c;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .18) 0 8px, transparent 8px 16px),
    linear-gradient(180deg, #c6ff50, #73d915);
  border: 3px solid #1c050b;
  box-shadow: 5px 5px 0 #24060a, 0 0 28px rgba(180, 255, 55, .2);
  text-align: left;
}

.reward-tease {
  margin: 7px 0 8px;
  color: #7b3b1b;
  font-family: var(--font-song);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.reward-tease span {
  color: #9d7a54;
  font-family: var(--font-song);
  font-size: 8px;
  font-weight: 400;
}

.sequel-btn:hover {
  filter: brightness(1.07) saturate(1.09);
  transform: translateY(-1px);
}

.sequel-download-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  color: #eaffbc;
  background: #3e8203;
  border: 2px solid #1c050b;
  font-size: 15px;
  animation: download-bob .7s ease-in-out infinite alternate;
}

.sequel-btn > span:nth-child(2) {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

.sequel-btn b {
  font-family: var(--font-song);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .01em;
}

.sequel-btn small {
  display: block;
  color: #35650a;
  font-family: var(--font-song);
  font-size: 7px;
}

.sequel-shine {
  position: absolute;
  left: -30%;
  top: 0;
  width: 18%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: skewX(-19deg);
  animation: trailer-shine 3.2s ease-in-out infinite;
}

.reward-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 8px;
}

.reward-links button {
  color: #7c5a39;
  font-family: var(--font-song);
  font-size: 8px;
  text-decoration: underline dotted #9c7c58;
}

.reward-links button:hover {
  color: #9e1924;
}

.reward-fine {
  margin: 8px 0 0;
  color: #9c7a53;
  font-family: var(--font-song);
  font-size: 7px;
  line-height: 1.5;
  text-align: center;
}

/* --------------------------------------------------------------------------
   强制广告全屏层
   -------------------------------------------------------------------------- */

.ad-overlay {
  position: fixed;
  inset: 0;
  z-index: 760;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #f7efd9;
  background: #050006;
  isolation: isolate;
}

.ad-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, .25) 3px 4px),
    radial-gradient(ellipse at 50% 35%, rgba(255, 46, 166, .12), transparent 65%);
  animation: crt-drift 8s linear infinite;
}

.ad-networkbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 34px;
  min-height: 34px;
  padding: 0 13px;
  color: #9a8c9e;
  background: #160a1d;
  border-bottom: 2px solid #3d1d44;
  font-family: var(--font-mono);
  font-size: 8px;
}

.ad-network-logo {
  color: var(--pink);
  font-weight: 900;
  letter-spacing: .1em;
}

.ad-network-status {
  color: #706174;
}

.ad-networkbar button {
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid #56425b;
  color: #ae9aad;
  background: #231329;
  font-family: var(--font-mono);
  font-size: 8px;
}

.ad-networkbar button:hover {
  color: #1a040e;
  background: var(--yellow);
}

.ad-gate-banner {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 46px;
  min-height: 46px;
  padding: 0 17px;
  color: #2a0807;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .18) 0 9px, transparent 9px 18px),
    linear-gradient(90deg, #ffd54a, #ff9c2d);
  border-bottom: 3px solid #20050a;
}

.ad-gate-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.ad-gate-stamp {
  flex: none;
  padding: 3px 6px;
  color: #fff2d5;
  background: #bd1924;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .05em;
}

#adGateTag {
  overflow: hidden;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#adGateReason {
  margin-left: auto;
  color: #5a2310;
  font-family: var(--font-song);
  font-size: 8px;
  white-space: nowrap;
}

.ad-creative {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
}

.ad-controls {
  position: relative;
  z-index: 6;
  flex: 0 0 165px;
  min-height: 165px;
  padding: 10px 25px 12px;
  background:
    linear-gradient(180deg, rgba(8, 2, 12, .9), #09020d 80%),
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(255, 255, 255, .02) 5px 6px);
  border-top: 1px solid #492b50;
  text-align: center;
}

.ad-watchline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(660px, 90%);
  margin: 0 auto 4px;
  color: #99839f;
  font-family: var(--font-song);
  font-size: 9px;
}

#adCountdown {
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 900;
}

.ad-watchbar {
  width: min(660px, 90%);
  height: 9px;
  margin: 0 auto 8px;
  overflow: hidden;
  border: 1px solid #4f3359;
  background: #1d0e21;
}

.ad-watchbar i {
  display: block;
  width: 0;
  height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .22) 0 5px, transparent 5px 10px),
    linear-gradient(90deg, #ff315f, #ffd94a);
  box-shadow: 0 0 11px rgba(255, 91, 80, .55);
  transition: width .08s linear;
}

.ad-claim-btn {
  width: min(480px, 84%);
  min-height: 42px;
  padding: 5px 14px;
  border: 3px solid #1a0509;
  color: #1e0a05;
  background: linear-gradient(#fff37b, #ffc526 65%, #dd9300);
  box-shadow: 4px 4px 0 #20040a, 0 0 23px rgba(255, 219, 65, .2);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .03em;
}

.ad-claim-btn:disabled {
  color: #716761;
  background: #2a1c25;
  border-color: #46333a;
  box-shadow: 3px 3px 0 #0b0408;
  cursor: wait;
}

.ad-claim-btn:not(:disabled) {
  animation: claim-ready 1s ease-in-out infinite;
}

.ad-claim-btn:not(:disabled):hover {
  filter: brightness(1.08);
}

.ad-fake-skip {
  display: inline-block;
  margin-top: 6px;
  color: #785d7b;
  font-family: var(--font-song);
  font-size: 8px;
  text-decoration: underline dotted #614b67;
}

.ad-fake-skip:hover {
  color: #eab4db;
}

.ad-smallprint {
  margin: 4px 0 0;
  color: #564557;
  font-family: var(--font-song);
  font-size: 7px;
}

.ad-corner-close {
  position: absolute;
  right: 13px;
  top: 42px;
  z-index: 9;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 2px solid #e3d5bf;
  color: #e8dcc8;
  background: rgba(15, 5, 19, .75);
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
}

.ad-corner-close:hover {
  color: #25020d;
  background: var(--pink);
  border-color: #22020d;
}

.ad-overlay.is-closing {
  animation: ad-out .3s ease-in both;
}

/* 广告创意 1：基因飞升 ---------------------------------------------------- */

.creative-gene {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  width: 100%;
  overflow: hidden;
  color: #caff6e;
  background:
    radial-gradient(ellipse at 76% 32%, rgba(148, 255, 68, .22), transparent 42%),
    repeating-linear-gradient(0deg, rgba(159, 255, 79, .035) 0 1px, transparent 1px 5px),
    radial-gradient(ellipse at 50% 40%, #0e2f0b 0, #061307 49%, #020601 100%);
}

.creative-gene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(197, 255, 90, .14) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(197, 255, 90, .1) 50%, transparent 50.2%);
  background-size: 21% 28%;
  transform: perspective(500px) rotateX(58deg) scale(1.4);
  opacity: .45;
  pointer-events: none;
}

.creative-gene-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 4vw, 62px);
}

.creative-gene .c-kicker {
  color: #9fd763;
  font-family: var(--font-mono);
  font-size: clamp(8px, .8vw, 11px);
  letter-spacing: .15em;
}

.creative-gene h2 {
  margin: 8px 0 9px;
  color: #e4ffab;
  font-family: var(--font-display);
  font-size: clamp(50px, 6.8vw, 102px);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.08em;
  text-shadow: 0 0 26px rgba(170, 255, 63, .3);
}

.creative-gene h2 em {
  color: var(--lime);
  font-style: normal;
}

.creative-gene p {
  max-width: 470px;
  margin: 0 0 14px;
  color: #8dc468;
  font-family: var(--font-song);
  font-size: clamp(10px, 1.15vw, 15px);
  line-height: 1.7;
}

.creative-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #d7ff9b;
  font-family: var(--font-mono);
  font-size: 11px;
}

.creative-price strong {
  color: var(--pink);
  font-family: var(--font-display);
  font-size: clamp(31px, 4vw, 55px);
  line-height: 1;
  letter-spacing: -.05em;
}

.creative-price small {
  color: #7a9c5a;
  font-size: 8px;
}

.creative-disclaimer {
  margin-top: 14px;
  color: #678d4f;
  font-family: var(--font-song);
  font-size: 8px;
  line-height: 1.6;
}

.creative-gene-visual {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.gene-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(46vw, 550px);
  height: min(46vw, 550px);
  border: 1px dashed rgba(187, 255, 88, .2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: slow-spin 38s linear infinite;
}

.gene-orbit::before,
.gene-orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(187, 255, 88, .12);
  border-radius: 50%;
}

.gene-orbit::after {
  inset: 25%;
  border-style: dashed;
}

.gene-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: min(25vw, 280px);
  height: min(25vw, 280px);
  border: 2px solid var(--lime);
  border-radius: 50%;
  color: var(--lime);
  background:
    radial-gradient(circle at 38% 30%, rgba(230, 255, 195, .32), transparent 17%),
    radial-gradient(circle, #2d6f19 0, #112b0c 53%, #050c04 100%);
  box-shadow: 0 0 65px rgba(158, 255, 69, .28), inset 0 0 40px rgba(0, 0, 0, .5);
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(78px, 9vw, 132px);
  font-weight: 900;
  line-height: 1;
  animation: gene-core-pulse 3.4s ease-in-out infinite;
}

.gene-core::before {
  content: "DNA";
  position: absolute;
  bottom: 22%;
  color: rgba(203, 255, 142, .55);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .5em;
}

.gene-code {
  position: absolute;
  right: 6%;
  bottom: 7%;
  color: rgba(180, 255, 100, .36);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.7;
  text-align: right;
  white-space: pre;
}

.creative-gene-badge {
  position: absolute;
  left: 4%;
  bottom: 5%;
  padding: 5px 9px;
  color: #1a3808;
  background: var(--lime);
  border: 2px solid #0f2204;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 900;
  transform: rotate(-3deg);
}

/* 广告创意 2：尊享会员 ---------------------------------------------------- */

.creative-member {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #f6e7ff;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255, 210, 91, .24), transparent 36%),
    radial-gradient(ellipse at 20% 85%, rgba(200, 46, 255, .28), transparent 49%),
    linear-gradient(140deg, #2e0a49, #10031b 55%, #1d0731);
}

.creative-member::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-conic-gradient(from 7deg at 50% 28%, rgba(255, 213, 93, .08) 0 4deg, transparent 4deg 14deg);
  pointer-events: none;
  animation: slow-spin 50s linear infinite;
}

.creative-member-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: clamp(14px, 2.6vw, 38px);
  text-align: center;
}

.creative-member .c-kicker {
  padding: 2px 8px;
  color: #26051e;
  background: var(--yellow);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  transform: rotate(-1deg);
}

.creative-member h2 {
  margin: 9px 0 2px;
  color: #ffe8a0;
  font-family: var(--font-display);
  font-size: clamp(43px, 6.3vw, 92px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.07em;
  text-shadow: 0 0 24px rgba(255, 207, 66, .32);
}

.creative-member h2 em {
  color: #ff8ed0;
  font-style: normal;
}

.member-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 7px;
  margin: 12px 0 13px;
}

.member-benefits span {
  padding: 4px 8px;
  border: 1px solid rgba(255, 226, 152, .25);
  color: #ddc7e7;
  background: rgba(255, 255, 255, .04);
  font-family: var(--font-song);
  font-size: clamp(8px, .8vw, 11px);
}

.member-benefits b {
  color: var(--gold);
}

.member-gate-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #ffeab4;
  font-family: var(--font-mono);
  font-size: 10px;
}

.member-gate-price strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(35px, 4.2vw, 58px);
  line-height: 1;
  letter-spacing: -.05em;
  text-shadow: 0 0 22px rgba(255, 207, 66, .27);
}

.member-gate-fine {
  margin-top: 8px;
  color: #9f7cb0;
  font-family: var(--font-song);
  font-size: 8px;
}

.member-gate-star {
  position: absolute;
  z-index: 2;
  top: 50%;
  color: rgba(255, 204, 71, .17);
  font-family: var(--font-display);
  font-size: clamp(300px, 47vw, 680px);
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.member-gate-star--l { left: -13%; transform: translateY(-50%) rotate(-12deg); }
.member-gate-star--r { right: -14%; transform: translateY(-50%) rotate(11deg); }

.member-ribbon {
  position: absolute;
  left: 50%;
  bottom: 5%;
  z-index: 4;
  padding: 4px 15px;
  border: 2px solid #250313;
  color: #2a0017;
  background: var(--pink-soft);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 900;
  transform: translateX(-50%) rotate(-1.5deg);
}

/* 广告创意 3：母星贷 ------------------------------------------------------- */

.creative-loan {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #233407;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, .52), transparent 38%),
    repeating-linear-gradient(0deg, rgba(75, 112, 21, .08) 0 1px, transparent 1px 7px),
    #d5e7a0;
}

.creative-loan::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  border: 3px double rgba(79, 109, 24, .31);
  pointer-events: none;
}

.creative-loan-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 18px clamp(16px, 4vw, 60px);
  text-align: center;
}

.creative-loan .c-kicker {
  color: #557722;
  font-family: var(--font-song);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 900;
  letter-spacing: .15em;
}

.creative-loan h2 {
  margin: 5px 0 7px;
  color: #2e4d09;
  font-family: var(--font-song);
  font-size: clamp(35px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.03em;
  text-shadow: 1px 2px 0 rgba(255, 255, 255, .55);
}

.creative-loan h2 em {
  color: #9e1f10;
  font-style: normal;
  text-decoration: underline double rgba(158, 31, 16, .4);
}

.creative-loan p {
  margin: 0 0 12px;
  color: #4f6a22;
  font-family: var(--font-song);
  font-size: clamp(10px, 1vw, 13px);
}

.loan-rate {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 11px;
  color: #4b641e;
  font-family: var(--font-mono);
  font-size: 10px;
}

.loan-rate strong {
  color: #a62212;
  font-family: var(--font-display);
  font-size: clamp(39px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: -.05em;
}

.loan-seal-big {
  position: absolute;
  right: 8%;
  top: 20%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(80px, 10vw, 135px);
  aspect-ratio: 1;
  border: 3px double rgba(160, 26, 14, .63);
  border-radius: 50%;
  color: rgba(160, 26, 14, .68);
  font-family: var(--font-song);
  font-size: clamp(14px, 1.6vw, 22px);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  transform: rotate(-13deg);
}

.loan-planet {
  position: absolute;
  right: 11%;
  bottom: 10%;
  z-index: 1;
  width: clamp(105px, 14vw, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .54), transparent 15%),
    repeating-linear-gradient(7deg, rgba(95, 133, 38, .65) 0 8px, rgba(151, 184, 93, .2) 8px 18px),
    #b3d277;
  box-shadow: inset -23px -14px 45px rgba(57, 78, 17, .5), 0 0 38px rgba(170, 219, 98, .25);
  opacity: .65;
}

.loan-planet::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: 147%;
  height: 21%;
  border: 4px solid rgba(115, 146, 63, .55);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
}

.loan-planet-tag {
  position: absolute;
  right: 12%;
  bottom: 9%;
  z-index: 3;
  color: #3f5b15;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  transform: rotate(3deg);
}

/* --------------------------------------------------------------------------
   通用弹窗
   -------------------------------------------------------------------------- */

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 780;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 0, 8, .73);
  backdrop-filter: blur(2px);
}

.modal-card {
  position: relative;
  z-index: 2;
  width: min(490px, calc(100vw - 32px));
  max-height: min(87vh, 700px);
  overflow: hidden;
  color: #2c0b16;
  background:
    repeating-linear-gradient(0deg, rgba(104, 53, 17, .035) 0 1px, transparent 1px 5px),
    #f6e9cc;
  border: 3px solid #26060b;
  box-shadow:
    0 0 0 2px #f1ca63,
    10px 12px 0 rgba(0, 0, 0, .48),
    0 0 70px rgba(255, 46, 166, .12);
  animation: modal-in .22s ease-out both;
}

.modal-card.is-wide {
  width: min(680px, calc(100vw - 32px));
}

.modal-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 29px;
  padding: 0 3px 0 9px;
  color: #f5eedf;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 45%),
    linear-gradient(90deg, #4d184e, #1d0828);
  border-bottom: 2px solid #170309;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
}

.modal-titlebar span::before {
  content: "✦ ";
  color: var(--yellow);
}

.modal-titlebar button {
  display: grid;
  place-items: center;
  width: 19px;
  height: 18px;
  border: 1px solid #79617b;
  color: #f2e4cc;
  background: #2a1530;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
}

.modal-titlebar button:hover {
  color: #23040c;
  background: var(--yellow);
}

.modal-body {
  max-height: min(62vh, 530px);
  overflow: auto;
  padding: 14px 15px 12px;
  color: #43251a;
  font-family: var(--font-song);
  font-size: 11px;
  line-height: 1.7;
  scrollbar-color: #987a50 #ead9b8;
  scrollbar-width: thin;
}

.modal-body h2 {
  margin: 0 0 8px;
  color: #a01e23;
  font-family: var(--font-song);
  font-size: 21px;
  line-height: 1.25;
}

.modal-body h3 {
  margin: 12px 0 5px;
  color: #6e2c17;
  font-size: 13px;
}

.modal-body p {
  margin: 0 0 8px;
}

.modal-body ul {
  margin: 0 0 9px;
  padding-left: 17px;
}

.modal-body li {
  margin-bottom: 4px;
}

.modal-body strong {
  color: #971521;
}

.modal-body .modal-note {
  margin-top: 10px;
  padding: 7px 8px;
  color: #7c5b36;
  background: #eee0c2;
  border-left: 3px solid #c2a15e;
  font-family: var(--font-song);
  font-size: 9px;
}

.modal-body .modal-big {
  color: #ae1722;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  letter-spacing: -.06em;
}

.modal-body .modal-center {
  text-align: center;
}

.modal-body .modal-price {
  color: #b31722;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 900;
}

.modal-body .modal-fine {
  color: #997a55;
  font-size: 8px;
  line-height: 1.6;
}

.modal-body .news-article {
  padding: 8px 9px;
  border: 1px solid #c4a680;
  background: #fff8e7;
}

.modal-body .news-article .news-label {
  display: inline-block;
  margin-bottom: 5px;
  padding: 1px 4px;
  color: #fff1d8;
  background: #a01821;
  font-family: var(--font-ui);
  font-size: 8px;
}

.modal-body .chat-replay {
  padding: 8px;
  background: #f1f4df;
  border: 1px solid #bdc99e;
  font-size: 9px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  padding: 0 14px 13px;
}

.modal-actions button {
  min-width: 86px;
  padding: 6px 11px;
  border: 2px solid #2a080d;
  color: #fdf2db;
  background: #961b27;
  box-shadow: 2px 2px 0 rgba(37, 5, 10, .33);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 900;
}

.modal-actions button:hover {
  color: #25040b;
  background: var(--yellow);
}

.modal-actions button.modal-secondary {
  color: #60412a;
  background: #e6d5b4;
  border-color: #7e6448;
}

.modal-actions button.modal-secondary:hover {
  color: #25040b;
  background: #f4e8d1;
}

/* 下载过渡 */
.download-screen {
  text-align: center;
}

.download-screen .download-title {
  color: #8f1c26;
  font-family: var(--font-song);
  font-size: 20px;
  font-weight: 900;
}

.download-screen .download-bar {
  height: 15px;
  margin: 10px 0 6px;
  border: 2px solid #2a070c;
  background: #e1d2b4;
  overflow: hidden;
}

.download-screen .download-bar i {
  display: block;
  width: 2%;
  height: 100%;
  background: repeating-linear-gradient(135deg, #8ad51f 0 7px, #65b009 7px 14px);
  box-shadow: 0 0 8px rgba(137, 222, 31, .4);
  transition: width 1s linear;
}

.download-screen .download-meta {
  color: #86673e;
  font-family: var(--font-mono);
  font-size: 9px;
}

/* --------------------------------------------------------------------------
   Toast 通知
   -------------------------------------------------------------------------- */

.toast-root {
  position: fixed;
  right: 18px;
  bottom: 17px;
  z-index: 840;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  width: min(355px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding: 8px 22px 8px 10px;
  color: #2a0b13;
  background: #f6e9cc;
  border: 2px solid #24050b;
  box-shadow: 4px 5px 0 rgba(0, 0, 0, .43);
  font-family: var(--font-song);
  font-size: 9px;
  line-height: 1.5;
  pointer-events: none;
  animation: toast-in .28s ease-out both;
}

.toast-close {
  pointer-events: auto;
}

.toast:nth-child(2n) {
  transform: rotate(-.6deg);
}

.toast.is-leaving {
  animation: toast-out .25s ease-in both;
}

.toast-icon {
  display: inline-block;
  margin-right: 5px;
  color: #a51a25;
  font-family: var(--font-ui);
  font-weight: 900;
}

.toast--ad {
  color: #2b0017;
  background: #ffbede;
  border-color: #6f0a3b;
}

.toast--ad .toast-icon {
  color: #920d47;
}

.toast--system {
  color: #d8f7d3;
  background: #10280d;
  border-color: #8ed17c;
}

.toast--system .toast-icon {
  color: var(--lime);
}

.toast--gold {
  color: #2d1500;
  background: #ffe788;
  border-color: #7e5100;
}

.toast--gold .toast-icon {
  color: #9b4e00;
}

.toast-close {
  position: absolute;
  right: 4px;
  top: 3px;
  color: #7c593e;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
}

.toast-close:hover {
  color: #a91821;
}

/* 屏幕边缘泛光 */
.fx-layer {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
}

.fx-flash {
  position: absolute;
  inset: 0;
  background: rgba(255, 236, 181, .38);
  animation: fx-flash .32s ease-out both;
}

/* --------------------------------------------------------------------------
   动画
   -------------------------------------------------------------------------- */

@keyframes twinkle {
  0%, 100% { opacity: .22; transform: scale(.8); }
  50% { opacity: .9; transform: scale(1.2); }
}

@keyframes drift-one {
  to { transform: translate(8vw, 7vw) scale(1.1); }
}

@keyframes drift-two {
  to { transform: translate(-7vw, -8vw) scale(1.17); }
}

@keyframes crt-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 8px, 0 0; }
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: .22; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.75); }
}

@keyframes ad-slam {
  from { opacity: 0; transform: translateY(-25px) scale(.74) rotate(2deg); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes hero-in {
  from { opacity: 0; transform: translate(-50%, -46%) scale(.82) rotate(-2.5deg); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-.5deg); }
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

@keyframes helix-pulse {
  0%, 100% { opacity: .35; transform: skewX(-25deg) rotate(var(--r, 0deg)) scaleX(.9); }
  50% { opacity: .9; transform: skewX(-25deg) rotate(calc(var(--r, 0deg) * -1)) scaleX(1.12); }
}

@keyframes orbit-wobble {
  from { transform: translate(-50%, -50%) rotate(-16deg) scale(.97); }
  to { transform: translate(-50%, -50%) rotate(-9deg) scale(1.03); }
}

@keyframes heart-float {
  0% { opacity: 0; transform: translateY(17px) scale(.6) rotate(-7deg); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-73px) scale(1.18) rotate(9deg); }
}

@keyframes idol-bob {
  0%, 100% { transform: translate(-50%, -50%) rotate(-4deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotate(1deg) translateY(-6px); }
}

@keyframes crown-bob {
  0%, 100% { transform: rotate(12deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-4px); }
}

@keyframes badge-wobble {
  0%, 100% { transform: rotate(12deg) scale(1); }
  50% { transform: rotate(5deg) scale(1.04); }
}

@keyframes shimmer {
  0%, 100% { opacity: .65; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes chip-in {
  from { opacity: 0; transform: translateY(15px) scale(.8) rotate(5deg); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes can-poster-bob {
  0%, 100% { transform: translateX(-50%) rotate(5deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(2.4deg) translateY(-7px); }
}

@keyframes spark-orbit {
  0% { transform: rotate(0) translateY(-22px) rotate(0); opacity: .2; }
  20% { opacity: 1; }
  100% { transform: rotate(360deg) translateY(-22px) rotate(-360deg); opacity: .2; }
}

@keyframes spotlight-pulse {
  0%, 100% { box-shadow: 0 0 0 9999px rgba(2, 0, 8, .59), 0 0 28px rgba(101, 249, 255, .35) inset; }
  50% { box-shadow: 0 0 0 9999px rgba(2, 0, 8, .5), 0 0 50px rgba(101, 249, 255, .8) inset; }
}

@keyframes spotted-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 232, 74, .8), 0 0 9px rgba(101, 249, 255, .7); }
  50% { box-shadow: 0 0 0 8px rgba(255, 232, 74, 0), 0 0 17px rgba(101, 249, 255, 1); }
}

@keyframes pip-flash {
  from { filter: brightness(1); }
  to { filter: brightness(1.5); }
}

@keyframes bubble-nudge {
  0% { transform: rotate(-.35deg) scale(.97); }
  55% { transform: rotate(.2deg) scale(1.015); }
  100% { transform: rotate(-.35deg) scale(1); }
}

@keyframes steam-rise {
  0% { opacity: 0; transform: translateY(17px) scaleX(.8); }
  22% { opacity: .75; }
  100% { opacity: 0; transform: translateY(-73px) scaleX(1.7) rotate(8deg); }
}

@keyframes can-hold-shake {
  0%, 100% { transform: translateX(0) rotate(0); }
  25% { transform: translateX(-2px) rotate(-.4deg); }
  75% { transform: translateX(2px) rotate(.4deg); }
}

@keyframes sf-hurt {
  0%, 100% { transform: translateX(0) rotate(0); filter: url(#sfDrop) brightness(1); }
  20% { transform: translateX(-8px) rotate(-2deg); filter: url(#sfDrop) brightness(1.45) saturate(1.4); }
  42% { transform: translateX(8px) rotate(2deg); }
  63% { transform: translateX(-4px) rotate(-1deg); }
  82% { transform: translateX(3px) rotate(1deg); }
}

@keyframes sf-poked {
  0%, 100% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-7px) scale(1.025); }
  65% { transform: translateY(0) scale(.99); }
}

@keyframes sf-empty {
  0% { opacity: 1; transform: translateX(-50%) translateY(0) rotate(0); }
  35% { opacity: .85; transform: translateX(-50%) translateY(-4px) rotate(-3deg); }
  100% { opacity: .18; transform: translateX(-50%) translateY(26px) rotate(5deg) scale(.92); }
}

@keyframes tooltip-bob {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-3deg); }
  50% { transform: translateX(-50%) translateY(-7px) rotate(1deg); }
}

@keyframes sweat-drip {
  0% { transform: translateY(-2px); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(15px); opacity: 0; }
}

@keyframes juice-fly {
  0% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3) rotate(var(--rot)); }
}

@keyframes chomp-pop {
  0% { opacity: 0; transform: rotate(-10deg) scale(.35); }
  22% { opacity: 1; transform: rotate(-5deg) scale(1.2); }
  55% { opacity: 1; transform: rotate(-7deg) scale(1); }
  100% { opacity: 0; transform: rotate(-4deg) scale(1.09) translateY(-20px); }
}

@keyframes score-rise {
  0% { opacity: 0; transform: translateY(8px) scale(.8); }
  20% { opacity: 1; transform: translateY(0) scale(1.02); }
  100% { opacity: 0; transform: translateY(-42px) scale(.94); }
}

@keyframes ticker-run {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes mini-ad-in {
  from { opacity: 0; transform: translateX(26px) rotate(2deg); }
  to { opacity: 1; transform: translateX(0) rotate(0); }
}

@keyframes mini-ad-out {
  to { opacity: 0; transform: translateX(25px) rotate(2deg); }
}

@keyframes comment-in {
  from { opacity: 0; transform: translateY(-5px); background: #fff3b5; }
  to { opacity: 1; transform: translateY(0); background: transparent; }
}

@keyframes button-agree {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2px, 1px); }
  45% { transform: translate(2px, -1px); }
  70% { transform: translate(-1px, 0); }
}

@keyframes starfish-land {
  0% { opacity: 0; transform: translateX(-50%) translateY(35%) scale(.55) rotate(-9deg); }
  55% { opacity: 1; transform: translateX(-50%) translateY(-4%) scale(1.04) rotate(3deg); }
  78% { transform: translateX(-50%) translateY(1%) scale(.985) rotate(-1deg); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1) rotate(0); }
}

@keyframes ad-out {
  to { opacity: 0; transform: scale(1.03); }
}

@keyframes claim-ready {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.18); box-shadow: 4px 4px 0 #20040a, 0 0 31px rgba(255, 219, 65, .45); }
}

@keyframes gene-core-pulse {
  0%, 100% { box-shadow: 0 0 60px rgba(158, 255, 69, .24), inset 0 0 40px rgba(0, 0, 0, .5); transform: translate(-50%, -50%) scale(1); }
  50% { box-shadow: 0 0 91px rgba(158, 255, 69, .41), inset 0 0 40px rgba(0, 0, 0, .45); transform: translate(-50%, -50%) scale(1.025); }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(13px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(25px) rotate(1.5deg); }
  to { opacity: 1; transform: translateX(0) rotate(0); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateX(19px); }
}

@keyframes fx-flash {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes download-bob {
  from { transform: translateY(-2px); }
  to { transform: translateY(3px); }
}

@keyframes trailer-shine {
  0%, 55% { left: -30%; }
  90%, 100% { left: 125%; }
}

@keyframes confetti-fall {
  0% { transform: translate3d(0, -8vh, 0) rotate(var(--rot)); }
  100% { transform: translate3d(var(--drift, 30px), 116vh, 0) rotate(calc(var(--rot) + 540deg)); }
}

/* 连播增强：温和模式 */
body.mild .ad,
body.mild .ad--hero,
body.mild .poster-can,
body.mild .celeb-star,
body.mild .heart,
body.mild .prize-rays,
body.mild .brand,
body.mild .start-orbit,
body.mild .can,
body.mild .starfish,
body.mild .blink,
body.mild .chip-blink,
body.mild .stage-live i,
body.mild .live-dot,
body.mild .live-badge i,
body.mild .victory-rays,
body.mild .victory-shell::before,
body.mild .gene-core,
body.mild .victory-confetti .confetti-piece {
  animation: none !important;
}

body.mild .crt-overlay {
  animation: none;
  opacity: .43;
}

body.mild .game-ticker div,
body.mild .victory-marquee div {
  animation-duration: 110s;
}

body.mild .blink {
  opacity: 1 !important;
}

body.mild .open-btn,
body.mild .ad,
body.mild .start-btn,
body.mild .speech-bubble,
body.mild .hint-spotlight {
  transition-duration: .02s;
}

body.mild .ad--hero::before,
body.mild .creative-gene::before {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .crt-overlay {
    opacity: .35;
  }
}

/* --------------------------------------------------------------------------
   响应式：广告不会消失，但会换个姿势
   -------------------------------------------------------------------------- */

@media (min-width: 1360px) {
  .ambient-banner {
    display: flex;
    width: 116px;
    height: 365px;
    padding: 13px 5px;
    font-size: 8px;
    opacity: .72;
  }

  .ambient-banner b {
    font-size: 19px;
  }

  .ambient-banner--left {
    left: 8px;
  }

  .ambient-banner--right {
    right: 8px;
  }
}

@media (max-width: 1359px) {
  .ambient-banner {
    display: none;
  }

  .game-shell {
    width: min(1100px, calc(100vw - 34px));
  }

  .ad--gene {
    width: clamp(205px, 17vw, 245px);
  }

  .ad--news {
    width: clamp(235px, 21vw, 285px);
  }

  .ad--member {
    width: clamp(220px, 19vw, 262px);
  }

  .ad--live {
    width: clamp(218px, 18vw, 252px);
  }

  .ad--prize {
    right: 20%;
  }

  .ad--health {
    left: 36%;
  }

  .ad--loan {
    left: 18%;
  }

  .victory-ad {
    width: 155px;
  }
}

@media (max-width: 1160px) {
  :root {
    --chrome-h: 68px;
  }

  .chrome-tabs {
    height: 31px;
  }

  .chrome-address {
    height: 37px;
  }

  .chrome-tab--ghost {
    display: none;
  }

  .ad--gene,
  .ad--news {
    top: 4%;
  }

  .ad--gene {
    left: 1%;
    width: 205px;
  }

  .ad--news {
    right: 1%;
    width: 238px;
  }

  .ad--live {
    left: 1%;
    top: 51%;
    width: 218px;
  }

  .ad--member {
    right: 1%;
    top: 46%;
    width: 228px;
  }

  .ad--prize {
    right: 17%;
    width: 205px;
  }

  .chip-a {
    left: 10%;
    top: 29%;
  }

  .chip-c {
    left: 24%;
    top: 1%;
    width: 185px;
  }

  .ad--health {
    left: 35%;
    bottom: 1%;
    width: 248px;
  }

  .ad--loan {
    left: 13%;
    width: 220px;
  }

  .ad--hero {
    width: min(570px, 54vw);
  }

  .hero-main {
    min-height: 297px;
    padding-left: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(55px, 6vw, 74px);
  }

  .game-hud {
    gap: 12px;
  }

  .hud-brand {
    flex-basis: 190px;
  }

  .hud-anniv {
    display: none;
  }

  .game-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(258px, 282px);
  }

  .starfish-wrap {
    left: 68%;
    width: clamp(248px, 28vw, 320px);
  }

  .can-wrap {
    width: clamp(132px, 13.5vw, 165px);
    height: clamp(224px, 23vw, 280px);
  }

  .speech-bubble {
    width: min(360px, 53%);
  }

  .game-shadow .stage-flag {
    display: none;
  }

  .victory-band {
    display: none;
  }
}

@media (max-width: 980px) {
  .ad--health,
  .ad--loan,
  .ad--member {
    display: none;
  }

  .ad--hero {
    width: min(590px, 68vw);
  }

  .ad--gene {
    width: 188px;
    left: 1%;
    top: 2%;
  }

  .ad--live {
    width: 208px;
    top: 54%;
  }

  .ad--news {
    width: 222px;
    right: 1%;
    top: 2%;
  }

  .ad--prize {
    right: 3%;
    top: 48%;
    width: 196px;
  }

  .ad--health,
  .ad--loan,
  .ad--member,
  .chip-a,
  .chip-b,
  .chip-c,
  .chip-d {
    opacity: .18;
  }

  .hero-main {
    min-height: 278px;
  }

  .hero-copy h1 {
    font-size: clamp(50px, 7.2vw, 68px);
  }

  .hero-footer {
    padding-left: 10px;
  }

  .game-workspace {
    grid-template-columns: minmax(0, 1fr) 248px;
  }

  .hud-brand {
    flex-basis: 165px;
  }

  .hud-title {
    font-size: 11px;
  }

  .hud-progress {
    min-width: 120px;
  }

  .stage-viewers {
    display: none;
  }

  .speech-bubble {
    width: 49%;
  }

  .scene-sticker {
    display: none;
  }

  .victory-ad {
    opacity: .12;
  }

  .victory-shell {
    width: min(820px, calc(100vw - 32px));
  }
}

.mobile-side-btn,
.mobile-side-close {
  display: none;
}

.mobile-mission {
  display: none;
  position: fixed;
  top: 76px;
  left: 8px;
  right: 8px;
  z-index: 120;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 4px 5px 4px 4px;
  color: #e7d9c1;
  background:
    linear-gradient(90deg, rgba(255, 46, 166, .1), transparent 55%),
    rgba(18, 9, 17, .94);
  border: 1px solid #76515c;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .46);
  font-family: var(--font-song);
  font-size: 9px;
}

.mm-tag {
  flex: none;
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 2px 5px;
  color: #17040a;
  background: var(--pink);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .02em;
}

.mm-copy {
  min-width: 0;
  flex: 1;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
}

.mm-copy small {
  display: block;
  margin-top: 1px;
  overflow: hidden;
  color: #8f7a88;
  font-family: var(--font-ui);
  font-size: 7px;
  font-weight: 400;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mobile-mission button {
  flex: none;
  min-height: 28px;
  padding: 4px 7px;
  border: 1px solid #6f5b43;
  color: #1e0a03;
  background: var(--yellow);
  font-family: var(--font-ui);
  font-size: 8px;
  font-weight: 900;
}

.mobile-mission button:active {
  transform: translate(1px, 1px);
}

@media (max-width: 800px) {
  body:not(.is-playing) {
    height: auto;
    min-height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .browser-chrome {
    position: sticky;
    top: 0;
  }

  .chrome-actions {
    gap: 2px;
    padding-bottom: 1px;
  }

  .chrome-action {
    min-width: 23px;
    height: 21px;
    padding: 0 4px;
    border-radius: 3px;
    font-size: 9px;
    text-align: center;
  }

  .chrome-action--help {
    width: 21px;
    height: 21px;
    padding: 0;
    font-size: 10px;
  }

  .chrome-lights {
    display: none;
  }

  .chrome-tab--active {
    max-width: 54vw;
  }

  .tab-title {
    max-width: 30vw;
  }

  .mobile-mission {
    display: flex;
  }

  .tab-noise {
    display: none;
  }

  .chrome-address {
    gap: 4px;
    padding: 3px 7px 4px;
  }

  .chrome-nav {
    display: none;
  }

  .chrome-extensions {
    display: none;
  }

  .address-bar {
    font-size: 8px;
  }

  .address-badge {
    display: none;
  }

  .start-screen {
    flex: 0 0 auto;
    min-height: 0;
    overflow: visible;
  }

  .ad-collage {
    flex: 0 0 auto;
    overflow: hidden;
    min-height: 0;
    padding: 0 0 10px;
  }

  .ad--hero {
    position: relative;
    left: auto;
    top: auto;
    width: min(88vw, 520px);
    margin: 62px auto 22px;
    transform: rotate(-.5deg);
    animation: none;
  }

  .ad--gene,
  .ad--news {
    opacity: .9;
    z-index: 2;
    top: 0;
    width: 145px;
    padding: 8px;
    transform: scale(.95) rotate(-2deg);
  }

  .ad--gene {
    left: -31px;
  }

  .ad--news {
    right: -33px;
    transform: scale(.95) rotate(2deg);
  }

  .ad--gene h2,
  .ad--news h2 {
    font-size: 19px;
  }

  .ad--gene .ad-copy,
  .ad--news .news-copy,
  .ad--gene .ad-social-proof,
  .ad--news .news-debris,
  .ad--gene .ad-fineprint,
  .ad--news .ad-fineprint,
  .ad--gene .gene-helix {
    display: none;
  }

  .ad--gene .ad-cta,
  .ad--news .ad-cta {
    padding: 5px;
    font-size: 9px;
  }

  .ad--live {
    left: -38px;
    top: 58%;
    width: 139px;
    padding: 0 7px 7px;
    opacity: .83;
    transform: scale(.85) rotate(1.5deg);
  }

  .ad--live .ad-fineprint,
  .ad--live .celeb-stage {
    display: none;
  }

  .ad--live h2 {
    font-size: 17px;
  }

  .ad--live .live-copy {
    font-size: 8px;
    line-height: 1.3;
  }

  .ad--live .ad-cta {
    padding: 5px;
    font-size: 8px;
  }

  .ad--prize {
    right: -34px;
    top: 58%;
    width: 170px;
    opacity: .88;
    transform: scale(.82) rotate(2deg);
  }

  .ad--health,
  .ad--loan,
  .ad--member,
  .ad--chip,
  .chip-a,
  .chip-b,
  .chip-c,
  .chip-d,
  .start-orbit {
    display: none;
  }

  .hero-main {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 10px 13px 0;
  }

  .hero-copy {
    align-items: center;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(58px, 18vw, 86px);
  }

  .hero-subline {
    margin-top: 7px;
  }

  .hero-bullets {
    text-align: left;
    font-size: 9px;
  }

  .btn-buy {
    width: 100%;
  }

  .hero-visual {
    min-height: 280px;
    order: -1;
  }

  .poster-can {
    top: 0;
    width: 126px;
    height: 248px;
  }

  .hero-burst {
    right: 8%;
    bottom: 7px;
  }

  .hero-legal-sticker {
    bottom: 26px;
  }

  .hero-footer {
    min-height: 70px;
  }

  .hero-fineprint {
    width: 62%;
    font-size: 6px;
  }

  .start-btn {
    right: 12px;
    bottom: 12px;
    font-size: 8px;
    padding: 3px 7px;
    opacity: .82;
  }

  .mobile-ad-note {
    position: relative;
    left: 50%;
    bottom: auto;
    z-index: 4;
    display: block;
    width: 76%;
    margin: 0 auto 9px;
    color: #867185;
    font-family: var(--font-song);
    font-size: 8px;
    text-align: center;
    transform: translateX(-50%);
  }

  .mobile-ad-note::after {
    content: " ↓ 继续向下滑动，广告里还有游戏 ↓";
    display: block;
    margin-top: 2px;
    color: #d7b052;
  }

  .start-taskbar {
    position: relative;
    bottom: auto;
    flex: 0 0 auto;
    min-height: 77px;
    align-items: stretch;
    flex-wrap: wrap;
    padding-bottom: 3px;
  }

  .taskbar-orb {
    flex: 0 0 31px;
    width: 31px;
    padding: 0;
    justify-content: center;
    font-size: 0;
    writing-mode: vertical-rl;
  }

  .taskbar-orb span {
    display: none;
  }

  .taskbar-mission {
    flex: 1;
    gap: 5px;
    padding: 6px 8px;
    flex-wrap: wrap;
  }

  .mission-sub {
    flex-basis: 100%;
    max-width: 100%;
    font-size: 8px;
    white-space: normal;
  }

  .taskbar-hint {
    margin-left: auto;
    min-height: 30px;
    padding: 5px 8px;
    font-size: 8px;
  }

  .taskbar-tray {
    flex-basis: 100%;
    justify-content: flex-end;
    min-height: 26px;
    border-left: 0;
    border-top: 1px solid #3a2a22;
    padding: 2px 8px;
  }

  .hint-spotlight {
    right: 12%;
    bottom: 21%;
  }

  .game-screen {
    padding: 5px;
  }

  .game-shell {
    width: calc(100vw - 10px);
    max-height: none;
    height: calc(100dvh - 84px);
    min-height: 580px;
  }

  .game-titletext span {
    display: none;
  }

  .game-hud {
    flex-wrap: wrap;
    gap: 5px 9px;
    flex-basis: 89px;
    min-height: 89px;
    padding: 6px 8px;
  }

  .hud-brand {
    flex: 1 1 170px;
  }

  .hud-logo {
    width: 37px;
    height: 35px;
    font-size: 6px;
  }

  .hud-title {
    font-size: 10px;
  }

  .hud-progress {
    flex: 1 1 190px;
    min-width: 150px;
  }

  .hud-stat {
    flex: 0 0 auto;
  }

  .hud-stat b {
    font-size: 19px;
  }

  .game-workspace {
    grid-template-columns: 1fr;
  }

  .mobile-side-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    min-height: 25px;
    padding: 3px 7px;
    border: 1px solid #7c5d67;
    color: #ffd6ec;
    background: #2c0e2b;
    font-family: var(--font-ui);
    font-size: 8px;
    font-weight: 700;
    white-space: nowrap;
  }

  .mobile-side-btn:hover {
    color: #21040e;
    background: var(--yellow);
  }

  .side-panel {
    position: fixed;
    top: calc(var(--chrome-h) + 5px);
    right: 5px;
    bottom: 9px;
    z-index: 140;
    display: flex;
    width: min(92vw, 360px);
    border: 2px solid #371521;
    border-left: 2px solid #371521;
    box-shadow: -12px 10px 25px rgba(0, 0, 0, .58), 0 0 0 1px #0b0207;
    transform: translateX(calc(100% + 24px));
    visibility: hidden;
    transition: transform .28s ease, visibility .28s;
  }

  body.mobile-side-open .side-panel {
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-side-close {
    display: block;
    flex: none;
    width: 100%;
    min-height: 38px;
    padding: 7px 10px;
    border-bottom: 1px solid #8c6b43;
    color: #f5e9d2;
    background:
      linear-gradient(90deg, rgba(255, 46, 166, .18), transparent 65%),
      #291223;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 900;
    text-align: left;
  }

  .mobile-side-close:hover {
    color: #25040d;
    background: var(--yellow);
  }

  .play-stage {
    border-right: 0;
  }

  .scene {
    min-height: 335px;
  }

  .stage-flag {
    display: none;
  }

  .speech-bubble {
    left: 3%;
    top: 3%;
    width: 65%;
    min-height: 67px;
  }

  .speech-text {
    font-size: 10px;
  }

  .starfish-wrap {
    left: 66%;
    bottom: 2%;
    width: min(56vw, 280px);
  }

  .can-wrap {
    left: 28%;
    bottom: 8%;
    width: 98px;
    height: 170px;
  }

  .scene.is-open .can-wrap {
    left: 24%;
  }

  .starfish-badge {
    left: -6%;
    top: 9%;
    padding: 3px 5px;
    font-size: 6px;
  }

  .starfish-sash {
    bottom: 12%;
    font-size: 6px;
  }

  .scene-tag {
    bottom: 5%;
    font-size: 8px;
    padding: 5px;
  }

  .action-dock {
    flex: 0 0 117px;
    min-height: 117px;
    padding: 8px 10px;
  }

  .open-btn {
    height: 50px;
    width: min(100%, 340px);
  }

  .action-fineprint {
    font-size: 7px;
  }

  .game-footer {
    display: none;
  }

  .mini-ad-container {
    right: 8px;
    bottom: 13px;
  }

  .mini-ad {
    width: min(260px, calc(100vw - 25px));
  }

  .victory-screen {
    padding: 10px;
    align-items: flex-start;
    overflow: auto;
  }

  .victory-shell {
    width: calc(100vw - 20px);
    max-height: none;
    margin: 27px 0 0;
    padding: 10px 12px;
  }

  .victory-topline {
    font-size: 6px;
  }

  .victory-title {
    font-size: clamp(52px, 17vw, 78px);
  }

  .victory-stamp {
    right: 8px;
    top: 39px;
    width: 51px;
    height: 51px;
    font-size: 10px;
  }

  .victory-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .victory-congrats {
    font-size: 8px;
  }

  .victory-cta {
    width: 100%;
    font-size: 13px;
  }

  .reward-items {
    grid-template-columns: 1fr;
  }

  .reward-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
  }

  .reward-item > span {
    font-size: 20px;
  }

  .reward-item small {
    margin-left: auto;
    max-width: 45%;
  }

  .sequel-btn {
    width: 100%;
  }

  .victory-ad {
    display: none;
  }

  .ad-networkbar {
    flex-wrap: wrap;
    flex-basis: 50px;
    min-height: 50px;
    gap: 2px 8px;
    padding: 5px 9px;
  }

  .ad-network-status {
    display: none;
  }

  .ad-networkbar button {
    margin-left: auto;
  }

  .ad-gate-banner {
    flex: 0 0 auto;
    min-height: 56px;
    height: auto;
    padding: 7px 10px;
    flex-wrap: wrap;
    gap: 3px 8px;
  }

  #adGateTag {
    font-size: 11px;
  }

  #adGateReason {
    margin-left: 0;
    font-size: 8px;
    white-space: normal;
  }

  .ad-creative {
    min-height: 0;
  }

  .creative-gene {
    grid-template-columns: 1fr;
  }

  .creative-gene-inner {
    padding: 18px 17px;
  }

  .creative-gene h2 {
    font-size: clamp(44px, 12vw, 72px);
  }

  .creative-gene-visual {
    min-height: 155px;
    flex: none;
  }

  .gene-core {
    width: 130px;
    height: 130px;
    font-size: 70px;
  }

  .gene-code,
  .creative-gene-badge,
  .gene-orbit {
    display: none;
  }

  .creative-member-inner {
    padding: 14px;
  }

  .creative-member h2 {
    font-size: clamp(39px, 11vw, 63px);
  }

  .creative-member .member-benefits {
    margin: 7px 0;
  }

  .member-gate-star {
    display: none;
  }

  .creative-loan p,
  .loan-planet,
  .loan-seal-big {
    display: none;
  }

  .creative-loan-inner {
    padding: 14px;
  }

  .creative-loan h2 {
    font-size: clamp(28px, 8.8vw, 46px);
  }

  .ad-controls {
    flex-basis: 174px;
    min-height: 174px;
    padding: 8px 12px 10px;
  }

  .ad-watchline,
  .ad-watchbar {
    width: 100%;
  }

  .ad-claim-btn {
    width: 100%;
    min-height: 39px;
    font-size: 12px;
  }

  .ad-corner-close {
    top: 56px;
    right: 7px;
    width: 29px;
    height: 29px;
    font-size: 17px;
  }

  .toast-root {
    top: 76px;
    right: 8px;
    bottom: auto;
    left: 8px;
    width: auto;
    align-items: stretch;
  }

  .toast {
    width: 100%;
    max-width: none;
    font-size: 8px;
  }
}

@media (max-width: 460px) {
  .ad--gene,
  .ad--news {
    width: 127px;
  }

  .ad--gene h2,
  .ad--news h2 {
    font-size: 17px;
  }

  .ad--prize {
    display: none;
  }

  .hero-main {
    padding-top: 7px;
  }

  .hero-copy h1 {
    font-size: 57px;
  }

  .hero-price-row {
    margin-bottom: 5px;
  }

  .price-now {
    font-size: 24px;
  }

  .hero-bullets {
    margin-bottom: 5px;
    font-size: 8px;
  }

  .hero-subline {
    font-size: 9px;
  }

  .taskbar-tray .tray-item--static {
    display: none;
  }

  .game-hud {
    flex-basis: 109px;
    min-height: 109px;
  }

  .hud-brand {
    flex-basis: 100%;
  }

  .hud-logo {
    width: 31px;
    height: 30px;
    font-size: 5px;
  }

  .hud-title {
    font-size: 9px;
  }

  .hud-stat--ad {
    display: none;
  }

  .hud-progress {
    flex: 1 1 100%;
  }

  .speech-bubble {
    width: 76%;
  }

  .starfish-wrap {
    width: 208px;
    left: 66%;
  }

  .can-wrap {
    width: 84px;
    height: 148px;
    left: 24%;
  }

  .open-btn-label {
    font-size: 15px;
  }

  .scene {
    min-height: 320px;
  }

  .start-taskbar {
    min-height: 94px;
  }

  .taskbar-mission {
    flex-basis: calc(100% - 31px);
    padding: 5px 7px;
  }

  .taskbar-mission strong {
    font-size: 10px;
  }

  .mission-tag {
    font-size: 6px;
  }

  .taskbar-hint {
    font-size: 7px;
  }
}

@media (max-height: 720px) and (min-width: 801px) {
  .game-hud {
    flex-basis: 56px;
    min-height: 56px;
  }

  .action-dock {
    flex-basis: 88px;
    min-height: 88px;
    padding-top: 6px;
  }

  .action-hint {
    margin-bottom: 2px;
  }

  .open-btn {
    height: 44px;
  }

  .action-fineprint {
    margin-top: 3px;
  }

  .speech-bubble {
    transform: rotate(-.35deg) scale(.93);
    transform-origin: left top;
  }

  .game-footer {
    flex-basis: 26px;
    min-height: 26px;
  }

  .starfish-wrap {
    width: clamp(238px, 27vw, 310px);
  }

  .can-wrap {
    width: clamp(126px, 12.4vw, 156px);
    height: clamp(208px, 20.8vw, 258px);
  }

  .ad--hero {
    width: min(570px, 45vw);
  }

  .hero-main {
    min-height: 282px;
  }

  .hero-copy h1 {
    font-size: clamp(51px, 5.2vw, 72px);
  }

  .hero-footer {
    min-height: 56px;
  }

  .ad--live {
    top: 38%;
  }

  .ad--member {
    top: 38%;
  }

  .ad--health {
    display: none;
  }
}
