:root {
  --primary: var(--pink, #ff4fa3);
  --secondary: var(--violet, #a855f7);
  --bg-dark: #16091f;
  --bg-deep: #21102e;
  --bg-panel: rgba(255, 255, 255, 0.08);
  --bg-panel-strong: rgba(255, 255, 255, 0.13);
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.68);
  --text-soft: rgba(255, 255, 255, 0.52);
  --line-neon: rgba(255, 79, 163, 0.32);
  --glow-pink: 0 0 18px rgba(255, 79, 163, 0.34);
  --glow-violet: 0 10px 24px rgba(168, 85, 247, 0.22);
  --radius-lg: 18px;
  --radius-md: 12px;
}

html {
  background: var(--bg-dark);
}

body.front-v3-3 {
  color: var(--text-main);
  background:
    linear-gradient(145deg, rgba(255, 79, 163, 0.12), transparent 32%),
    linear-gradient(215deg, rgba(124, 58, 237, 0.14), transparent 38%),
    linear-gradient(180deg, #16091f 0%, #21102e 46%, #16091f 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.front-v3-3 a {
  color: inherit;
}

.front-v3-3 main {
  width: min(1180px, calc(100% - 20px));
  padding: 12px 0 42px;
}

.front-v3-3 .site-header {
  min-height: 56px;
  padding: 9px max(10px, env(safe-area-inset-left)) 9px max(10px, env(safe-area-inset-right));
  background: rgba(22, 9, 31, 0.88);
  border-bottom: 1px solid rgba(255, 79, 163, 0.24);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.front-v3-3 .brand {
  color: #fff;
  font-size: 16px;
  min-width: 0;
}

.front-v3-3 .brand > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.front-v3-3 .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary), #7c3aed);
  box-shadow: var(--glow-pink);
}

.front-v3-3 .top-nav {
  gap: 6px;
}

.front-v3-3 .top-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  padding: 7px 9px;
  border: 1px solid transparent;
}

.front-v3-3 .top-nav a:hover,
.front-v3-3 .top-nav .return-link {
  color: #fff;
  border-color: rgba(255, 79, 163, 0.36);
  background: linear-gradient(135deg, rgba(255, 79, 163, 0.94), rgba(168, 85, 247, 0.92));
  box-shadow: var(--glow-violet);
}

.front-v3-3 .btn {
  min-height: 34px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.front-v3-3 .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary), #7c3aed);
  box-shadow: var(--glow-pink);
}

.front-v3-3 .btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 79, 163, 0.34);
  background: rgba(255, 255, 255, 0.09);
}

.front-v3-3 .btn-muted {
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.14);
}

.front-v3-3 .eyebrow {
  color: var(--primary);
  font-size: 12px;
  text-shadow: 0 0 14px rgba(255, 79, 163, 0.46);
}

.front-v3-3 .v33-hero {
  position: relative;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.92fr);
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(255, 79, 163, 0.34);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 79, 163, 0.24), rgba(168, 85, 247, 0.12)),
    linear-gradient(145deg, #2a1038 0%, #16091f 58%, #2b1443 100%);
  box-shadow: var(--glow-violet);
  overflow: hidden;
}

.front-v3-3 .hero-copy h1 {
  color: #fff;
  font-size: 38px;
  line-height: 1.12;
  margin-bottom: 9px;
}

.front-v3-3 .hero-copy p:not(.eyebrow) {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.front-v3-3 .hero-actions {
  margin-top: 16px;
}

.front-v3-3 .hero-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-content: center;
}

.front-v3-3 .hero-tile {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 118px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.front-v3-3 .hero-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.front-v3-3 .hero-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(22, 9, 31, 0.8));
}

.front-v3-3 .hero-tile span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.front-v3-3 .home-search,
.front-v3-3 .sticky-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 12px 0;
  padding: 10px;
  border: 1px solid rgba(255, 79, 163, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
}

.front-v3-3 .sticky-search {
  top: 56px;
  z-index: 16;
}

.front-v3-3 input,
.front-v3-3 select,
.front-v3-3 textarea {
  min-height: 36px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(255, 79, 163, 0.26);
  background: rgba(22, 9, 31, 0.72);
}

.front-v3-3 input::placeholder,
.front-v3-3 textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.front-v3-3 .notice-strip {
  border-radius: var(--radius-md);
  border-color: rgba(255, 79, 163, 0.24);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.front-v3-3 .notice-strip strong {
  color: var(--primary);
}

.front-v3-3 .category-scroll,
.front-v3-3 .tag-scroll,
.front-v3-3 .filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.front-v3-3 .category-scroll a,
.front-v3-3 .tag-scroll a,
.front-v3-3 .filter-chips a {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 79, 163, 0.28);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.front-v3-3 .category-scroll a.active,
.front-v3-3 .tag-scroll a.active,
.front-v3-3 .filter-chips a.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--glow-pink);
}

.front-v3-3 .section-head,
.front-v3-3 .page-title {
  margin: 18px 0 10px;
}

.front-v3-3 .section-head {
  align-items: center;
}

.front-v3-3 .section-head div {
  position: relative;
  padding-left: 11px;
}

.front-v3-3 .section-head div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  box-shadow: var(--glow-pink);
}

.front-v3-3 .section-head h2,
.front-v3-3 .page-title h1 {
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
}

.front-v3-3 .section-head a {
  color: #ff75bb;
  font-size: 13px;
  font-weight: 900;
}

.front-v3-3 .page-title p {
  color: var(--text-muted);
}

.front-v3-3 .game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.front-v3-3 .game-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line-neon);
  background: var(--bg-panel);
  box-shadow: 0 6px 18px rgba(168, 85, 247, 0.16);
  overflow: hidden;
}

.front-v3-3 .game-card-main {
  display: grid;
  gap: 5px;
  padding: 6px 6px 0;
}

.front-v3-3 .game-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary), #22c5c5);
}

.front-v3-3 .game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.front-v3-3.cover-fit-contain .game-art img,
.front-v3-3.cover-fit-contain .detail-cover img,
.front-v3-3.cover-fit-contain .loading-cover img {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
}

.front-v3-3 .game-art-fallback {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 900;
  padding: 6px;
  text-align: center;
}

.front-v3-3 .badge-hot,
.front-v3-3 .badge-rec,
.front-v3-3 .badge-maint {
  top: 6px;
  right: 6px;
  padding: 3px 7px;
  font-size: 10px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(255, 79, 163, 0.3);
}

.front-v3-3 .badge-rec {
  left: 6px;
  right: auto;
}

.front-v3-3 .game-card-copy {
  display: block;
  min-height: 17px;
  padding: 0 2px;
}

.front-v3-3 .game-card-copy strong {
  display: block;
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.front-v3-3 .game-card-body {
  padding: 5px 6px 7px;
}

.front-v3-3 .game-card .btn {
  width: 100%;
  min-height: 24px;
  padding: 0 7px;
  font-size: 11px;
}

.front-v3-3 .detail-layout,
.front-v3-3 .about-panel,
.front-v3-3 .service-band,
.front-v3-3 .notice-card,
.front-v3-3 .loading-page,
.front-v3-3 .mock-game,
.front-v3-3 .maintenance-page,
.front-v3-3 .error-page {
  border: 1px solid rgba(255, 79, 163, 0.26);
  border-radius: var(--radius-lg);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--glow-violet);
}

.front-v3-3 .detail-layout {
  position: relative;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
}

.front-v3-3 .detail-back {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(22, 9, 31, 0.56);
  font-size: 12px;
  font-weight: 900;
}

.front-v3-3 .detail-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 220px;
  border-radius: 14px;
}

.front-v3-3 .detail-cover img,
.front-v3-3 .loading-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.front-v3-3 .detail-cover span,
.front-v3-3 .loading-cover span {
  position: relative;
  z-index: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 24px;
}

.front-v3-3 .detail-info h1 {
  color: #fff;
  font-size: 28px;
}

.front-v3-3 .detail-info p,
.front-v3-3 .service-band p,
.front-v3-3 .about-panel p,
.front-v3-3 .notice-content,
.front-v3-3 .muted {
  color: var(--text-muted);
}

.front-v3-3 .detail-play-btn {
  min-width: 160px;
}

.front-v3-3 .v33-empty-state {
  display: grid;
  place-items: center;
  gap: 6px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.08);
}

.front-v3-3 .v33-empty-state span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.front-v3-3 .notice-card h2 {
  color: #fff;
  font-size: 16px;
}

.front-v3-3 .about-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.front-v3-3 .about-rules article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.front-v3-3 .about-rules span {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.front-v3-3 .v33-play-launch {
  position: relative;
  min-height: calc(100vh - 150px);
  overflow: hidden;
}

.front-v3-3 .loading-orbit {
  position: absolute;
  width: 178px;
  height: 178px;
  border: 1px solid rgba(255, 79, 163, 0.32);
  border-radius: 50%;
  animation: spin 8s linear infinite;
}

.front-v3-3 .loading-cover {
  position: relative;
  display: grid;
  place-items: center;
  width: 116px;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--glow-pink);
}

.front-v3-3 .launch-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.front-v3-3 .launch-steps li {
  border-color: rgba(255, 79, 163, 0.26);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.front-v3-3 .launch-steps li.is-active {
  background: linear-gradient(135deg, rgba(255, 79, 163, 0.5), rgba(168, 85, 247, 0.5));
}

.front-v3-3 .pagination a {
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 79, 163, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.front-v3-3 .pagination a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.front-v3-3 .site-footer {
  color: var(--text-soft);
}

.front-v3-3 .mobile-service-float {
  right: 12px;
  bottom: 78px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--glow-pink);
}

.front-v3-3 .mobile-bottom-nav {
  grid-template-columns: repeat(3, 1fr);
  border-top-color: rgba(255, 79, 163, 0.26);
  background: rgba(22, 9, 31, 0.9);
}

.front-v3-3 .mobile-bottom-nav a {
  color: rgba(255, 255, 255, 0.62);
  border-radius: 12px;
}

.front-v3-3 .mobile-bottom-nav a.active {
  color: #fff;
  background: rgba(255, 79, 163, 0.16);
}

.front-v3-3 .back-to-top {
  position: fixed;
  right: 12px;
  bottom: 126px;
  z-index: 29;
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--glow-pink);
  font-weight: 900;
}

.front-v3-3 .back-to-top.show {
  display: grid;
  place-items: center;
}

@media (min-width: 768px) {
  .front-v3-3 .game-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }

  .front-v3-3 .game-grid-wide {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .front-v3-3 .game-card-copy strong {
    font-size: 13px;
  }
}

@media (min-width: 1200px) {
  .front-v3-3 .game-grid,
  .front-v3-3 .game-grid-wide {
    grid-template-columns: repeat(var(--home-pc-columns, 8), minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 760px) {
  .front-v3-3 .site-header {
    flex-direction: row;
    align-items: center;
  }

  .front-v3-3 .brand {
    font-size: 15px;
    flex: 1 1 auto;
  }

  .front-v3-3 .brand-mark {
    width: 34px;
    height: 34px;
  }

  .front-v3-3 .top-nav {
    width: auto;
    max-width: 48%;
  }

  .front-v3-3 .top-nav a:not(.return-link) {
    display: none;
  }

  .front-v3-3 .top-nav .return-link {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 12px;
  }

  .front-v3-3 main {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .front-v3-3 .v33-hero {
    grid-template-columns: 1fr;
    min-height: 148px;
    padding: 16px;
  }

  .front-v3-3 .hero-copy h1 {
    font-size: 25px;
  }

  .front-v3-3 .hero-copy p:not(.eyebrow) {
    font-size: 13px;
  }

  .front-v3-3 .hero-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .front-v3-3 .hero-tile {
    min-height: 74px;
  }

  .front-v3-3 .home-search,
  .front-v3-3 .sticky-search {
    padding: 7px;
  }

  .front-v3-3 .game-grid,
  .front-v3-3 .game-grid-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .front-v3-3 .game-card {
    min-height: 145px;
  }

  .front-v3-3 .detail-layout {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .front-v3-3 .detail-cover {
    width: 100%;
    max-height: 220px;
  }

  .front-v3-3 .detail-info h1 {
    font-size: 23px;
  }

  .front-v3-3 .about-rules {
    grid-template-columns: 1fr;
  }

  .front-v3-3 .launch-steps {
    grid-template-columns: 1fr 1fr;
  }

  .front-v3-3 .service-band {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 340px) {
  .front-v3-3 main {
    width: min(100% - 16px, 1180px);
  }

  .front-v3-3 .game-grid,
  .front-v3-3 .game-grid-wide {
    gap: 6px;
  }

  .front-v3-3 .game-card-main {
    padding: 5px 5px 0;
  }

  .front-v3-3 .game-card-copy strong {
    font-size: 11px;
  }

  .front-v3-3 .game-card .btn {
    font-size: 10px;
    min-height: 23px;
  }
}

.front-v3-3 .v33-home-shell {
  display: grid;
  gap: 12px;
}

.front-v3-3 .home-top-carousel {
  --home-top-ratio: 2.05;
  position: relative;
  padding: 2px;
  border: 1px solid rgba(255, 79, 163, 0.34);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 79, 163, 0.34), rgba(168, 85, 247, 0.22)),
    rgba(22, 9, 31, 0.72);
  box-shadow: 0 10px 26px rgba(255, 79, 163, 0.16);
  overflow: hidden;
}

.front-v3-3 .home-top-carousel-track {
  position: relative;
  min-height: 86px;
  max-height: 210px;
  aspect-ratio: var(--home-top-ratio) / 1;
  border-radius: 11px;
  overflow: hidden;
}

.front-v3-3 .home-top-carousel-slide {
  display: none;
  width: 100%;
  height: 100%;
  color: inherit;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 79, 163, 0.28), rgba(168, 85, 247, 0.2));
  overflow: hidden;
}

.front-v3-3 .home-top-carousel-slide.is-active {
  display: block;
}

.front-v3-3 .home-top-carousel picture,
.front-v3-3 .home-top-carousel img {
  display: block;
  width: 100%;
  height: 100%;
}

.front-v3-3 .home-top-carousel img {
  object-fit: cover;
  object-position: center center;
}

.front-v3-3 .home-top-carousel-dots {
  position: absolute;
  right: 10px;
  bottom: 7px;
  display: flex;
  gap: 4px;
}

.front-v3-3 .home-top-carousel-dots span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.front-v3-3 .home-top-carousel-dots span.is-active {
  width: 14px;
  background: #fff;
}

@media (min-width: 768px) {
  .front-v3-3 .home-top-carousel-track {
    height: clamp(108px, 11vw, 150px);
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }
}

@media (max-width: 760px) {
  .front-v3-3 .home-top-carousel {
    margin: -2px 0 2px;
  }
}

.front-v3-3 .v33-search {
  margin-top: 0;
  background: rgba(33, 16, 46, 0.86);
}

.front-v3-3 .v33-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 12px;
  overflow: hidden;
}

.front-v3-3 .v33-notice a,
.front-v3-3 .v33-notice span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.front-v3-3 .v33-category-scroll,
.front-v3-3 .v33-tag-scroll {
  padding-bottom: 4px;
}

.front-v3-3 .v33-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 0 0;
}

.front-v3-3 .v33-list-head h1 {
  font-size: 20px;
}

.front-v3-3 .v33-list-head span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 900;
}

.front-v3-3 .v33-home-note,
.front-v3-3 .v33-service-band {
  padding: 14px;
  gap: 12px;
}

.front-v3-3 .v33-home-note p,
.front-v3-3 .v33-service-band p {
  margin: 0;
  line-height: 1.6;
}

.front-v3-3 .v33-service-band h2 {
  margin: 0 0 4px;
  font-size: 16px;
}

body.front-v3-3.is-play-screen {
  width: 100vw;
  min-height: 100dvh;
  background: #050008;
  overflow: hidden;
}

.front-v3-3.is-play-screen main {
  width: 100vw;
  max-width: none;
  min-height: 100dvh;
  padding: 0;
}

.front-v3-3 .play-fullscreen {
  --play-top-bar-height: 0px;
  --play-top-bar-total-height: 0px;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  min-height: 100dvh;
  background: #050008;
  overflow: hidden;
  z-index: 9999;
}

.front-v3-3 .play-fullscreen.with-top-bar {
  --play-top-bar-total-height: calc(var(--play-top-bar-height, 52px) + env(safe-area-inset-top));
}

.front-v3-3.is-play-screen .play-error {
  width: min(92vw, 440px);
  margin: 12vh auto 0;
  padding: 22px;
  text-align: center;
}

.front-v3-3 .play-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10004;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  height: var(--play-top-bar-total-height);
  padding: env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  box-sizing: border-box;
  color: var(--play-top-bar-text-color, #fff);
  background: var(--play-top-bar-bg, #fff);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.front-v3-3 .play-top-bar:not(.has-left) {
  grid-template-columns: minmax(0, 1fr) auto;
}

.front-v3-3 .play-top-bar:not(.has-left) .play-top-message {
  grid-column: 1;
  justify-self: start;
}

.front-v3-3 .play-top-bar:not(.has-left) .play-top-pill {
  grid-column: 2;
}

.front-v3-3 .play-top-left,
.front-v3-3 .play-top-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  font-size: var(--play-top-bar-font-size, 14px);
  font-weight: var(--play-top-bar-font-weight, 800);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.front-v3-3 .play-top-left {
  grid-column: 1;
  justify-self: start;
  flex: 0 0 auto;
  min-width: 0;
  max-width: min(34vw, 220px);
  padding: 0 13px;
  color: var(--play-top-bar-left-color, #3b82f6);
  background: rgba(59, 130, 246, 0.14);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.18);
  overflow: hidden;
  text-overflow: ellipsis;
}

.front-v3-3 .play-top-message {
  grid-column: 2;
  justify-self: center;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--play-top-bar-text-color, #fff);
  font-size: var(--play-top-bar-font-size, 14px);
  font-weight: var(--play-top-bar-font-weight, 800);
  overflow: hidden;
  white-space: nowrap;
}

.front-v3-3 .play-top-message span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.front-v3-3 .play-top-message.is-marquee span {
  width: max-content;
  min-width: 100%;
  animation: playTopMarquee 11s linear infinite;
}

.front-v3-3 .play-top-pill {
  grid-column: 3;
  justify-self: end;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(54vw, 340px);
  padding: 0 15px;
  color: var(--play-top-pill-color, #fff);
  background: var(--play-top-pill-bg, linear-gradient(135deg, #a855f7, #ff4fa3));
  box-shadow: 0 8px 22px rgba(168, 85, 247, 0.28);
  overflow: hidden;
  text-overflow: ellipsis;
}

.front-v3-3 .play-fullscreen.with-top-bar .play-fullscreen-frame {
  top: var(--play-top-bar-total-height);
  bottom: auto;
  height: calc(100dvh - var(--play-top-bar-total-height));
}

.front-v3-3 .play-fullscreen-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #050008;
}

.front-v3-3 .play-fullscreen.with-top-bar .iframe-fallback,
.front-v3-3 .play-fullscreen.with-top-bar .play-launch-panel {
  top: calc(var(--play-top-bar-total-height) + ((100dvh - var(--play-top-bar-total-height)) / 2));
}

.front-v3-3 .iframe-fallback,
.front-v3-3 .play-launch-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(92vw, 420px);
  transform: translate(-50%, -50%);
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 22px;
  border: 1px solid rgba(255, 79, 163, 0.34);
  border-radius: 18px;
  color: #fff;
  background: rgba(22, 9, 31, 0.9);
  box-shadow: 0 0 24px rgba(255, 79, 163, 0.26);
}

.front-v3-3 .iframe-fallback[hidden] {
  display: none;
}

.front-v3-3 .iframe-fallback div,
.front-v3-3 .launch-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.front-v3-3 .play-launch-panel h1 {
  margin: 0;
  font-size: 24px;
  text-align: center;
}

.front-v3-3 .wuai-game-float {
  --play-top-offset: 0px;
  position: fixed;
  z-index: 10005;
  display: grid;
  justify-items: end;
  gap: 8px;
  touch-action: none;
  user-select: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.front-v3-3 .wuai-game-float.is-right-top {
  top: max(calc(18px + var(--play-top-offset)), calc(env(safe-area-inset-top) + var(--play-top-offset) + 12px));
  right: max(12px, env(safe-area-inset-right));
}

.front-v3-3 .wuai-game-float.is-right-middle {
  top: max(calc(92px + var(--play-top-offset)), calc(env(safe-area-inset-top) + var(--play-top-offset) + 76px));
  right: max(12px, env(safe-area-inset-right));
}

.front-v3-3 .wuai-game-float.is-right-bottom {
  right: max(12px, env(safe-area-inset-right));
  bottom: max(132px, env(safe-area-inset-bottom));
}

.front-v3-3 .wuai-game-float.is-left-middle {
  top: max(calc(92px + var(--play-top-offset)), calc(env(safe-area-inset-top) + var(--play-top-offset) + 76px));
  left: max(12px, env(safe-area-inset-left));
  justify-items: start;
}

.front-v3-3 .wuai-float-button {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--float-size);
  height: var(--float-size);
  border: 2px solid rgba(255, 228, 57, 0.9);
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 35% 25%, #7c3aed, #33105f 62%, #16091f);
  box-shadow: 0 0 18px rgba(255, 79, 163, 0.48);
  font-size: 13px;
  font-weight: 900;
  overflow: hidden;
  cursor: grab;
  -webkit-tap-highlight-color: transparent;
}

.front-v3-3 .wuai-game-float.is-dragging .wuai-float-button {
  cursor: grabbing;
}

.front-v3-3 .wuai-float-button img {
  position: absolute;
  width: var(--float-size);
  height: var(--float-size);
  object-fit: cover;
  border-radius: 50%;
}

.front-v3-3 .wuai-float-menu {
  display: none;
  width: min(248px, calc(100vw - 28px));
  max-height: calc(100dvh - var(--play-top-offset) - 24px);
  overflow-y: auto;
  padding: 12px;
  border: 1px solid rgba(255, 79, 163, 0.66);
  border-radius: 18px;
  background: rgba(48, 18, 102, var(--menu-opacity));
  box-shadow: 0 0 24px rgba(255, 79, 163, 0.38);
  backdrop-filter: blur(10px);
}

.front-v3-3 .wuai-game-float.is-open .wuai-float-menu {
  display: grid;
  gap: 7px;
}

.front-v3-3 .wuai-float-menu button,
.front-v3-3 .wuai-float-menu a {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  color: #ffe93d;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  font-size: 16px;
  font-weight: 900;
}

.front-v3-3 .play-top-link-modal {
  position: fixed;
  inset: 0;
  z-index: 10008;
  display: none;
  place-items: center;
  padding: 16px;
  background: rgba(5, 0, 8, 0.64);
}

.front-v3-3 .play-top-link-modal.is-open {
  display: grid;
}

.front-v3-3 .play-top-link-modal-box {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  width: min(94vw, 760px);
  height: min(82dvh, 680px);
  padding: 12px;
  border: 1px solid rgba(255, 79, 163, 0.42);
  border-radius: 14px;
  background: rgba(22, 9, 31, 0.96);
  box-shadow: 0 0 28px rgba(255, 79, 163, 0.28);
}

.front-v3-3 .play-top-link-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #fff;
}

.front-v3-3 .play-top-link-modal-head button {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.front-v3-3 .play-top-link-modal iframe {
  width: 100%;
  min-height: 0;
  border: 0;
  border-radius: 10px;
  background: #fff;
}

.front-v3-3 .game-feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 10006;
  display: none;
  place-items: center;
  padding: 16px;
  background: rgba(5, 0, 8, 0.62);
}

.front-v3-3 .game-feedback-modal.is-open {
  display: grid;
}

.front-v3-3 .game-feedback-box {
  display: grid;
  gap: 10px;
  width: min(92vw, 380px);
  padding: 18px;
  border: 1px solid rgba(255, 79, 163, 0.42);
  border-radius: 18px;
  color: #fff;
  background: rgba(22, 9, 31, 0.94);
}

.front-v3-3 .game-feedback-box h2 {
  margin: 0;
  font-size: 20px;
}

.front-v3-3 .game-feedback-box label {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.front-v3-3 .game-feedback-box textarea {
  min-height: 116px;
  border-radius: 14px;
  resize: vertical;
}

.front-v3-3 .feedback-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.front-v3-3 .game-toast {
  position: fixed;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 10007;
  max-width: min(88vw, 420px);
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(22, 9, 31, 0.92);
  box-shadow: 0 0 20px rgba(255, 79, 163, 0.34);
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.front-v3-3 .game-toast.is-show {
  transform: translate(-50%, 0);
  opacity: 1;
}

@keyframes playTopMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 760px) {
  .front-v3-3 .v33-list-head h1 {
    font-size: 18px;
  }

  .front-v3-3 .play-top-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px;
    padding-right: max(10px, env(safe-area-inset-right));
    padding-left: max(10px, env(safe-area-inset-left));
  }

  .front-v3-3 .play-top-left,
  .front-v3-3 .play-top-pill {
    min-height: 32px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .front-v3-3 .v33-home-note,
  .front-v3-3 .v33-service-band {
    align-items: stretch;
  }

  .front-v3-3 .game-card {
    min-height: 136px;
  }

  .front-v3-3 .wuai-float-menu {
    width: min(216px, calc(100vw - 20px));
    padding: 10px;
    border-radius: 14px;
  }

  .front-v3-3 .wuai-float-menu button,
  .front-v3-3 .wuai-float-menu a {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .front-v3-3 .play-top-left {
    max-width: 30vw;
  }

  .front-v3-3 .play-top-pill {
    max-width: 36vw;
  }

  .front-v3-3 .play-top-bar:not(.has-left) .play-top-pill {
    max-width: 42vw;
  }
}
