  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body,
  html {
    font-family: "Inter", sans-serif;
    background:
      radial-gradient(900px 420px at 15% -10%, rgba(247, 220, 36, 0.10), transparent 55%),
      radial-gradient(900px 420px at 85% -20%, rgba(130, 130, 130, 0.12), transparent 60%),
      #0c0c0c;
    color: #fff;
  }

  /* ─── HERO ───────────────────────────────────────────── */
  .ph-hero {
    position: relative;
    height: 75vh;
    min-height: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .ph-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #181818 0%, #0f0f0f 100%);
  }

  /* top-left glow */
  .ph-hero-bg::before {
    content: '';
    position: absolute;
    top: -140px;
    left: -100px;
    width: 480px;
    height: 480px;
    background: rgba(247, 220, 36, 0.22);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
  }

  /* bottom-right glow */
  .ph-hero-bg::after {
    content: '';
    position: absolute;
    bottom: -140px;
    right: -70px;
    width: 440px;
    height: 440px;
    background: rgba(130, 130, 130, 0.22);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
  }

  .ph-hero-left {
    position: relative;
    z-index: 2;
    padding: 3rem 3rem 5rem 12vw;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .ph-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(247, 220, 36, 0.12);
    border: 1px solid rgba(247, 220, 36, 0.36);
    border-radius: 999px;
    padding: 5px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ececec;
    width: fit-content;
    margin-bottom: 2rem;
  }

  .ph-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1.5rem;
  }

  .ph-hero-title .ph-plus {
    color: #f7dc24;
  }

  .ph-hero-sub {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    font-weight: 400;
    color: #b7b7b7;
    line-height: 1.7;
    max-width: 380px;
    margin-bottom: 2.5rem;
  }

  .ph-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: linear-gradient(90deg, #f7dc24, #f7dc24);
    color: #0c0c0c;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 10px;
    text-decoration: none;
    width: fit-content;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 22px rgba(247, 220, 36, 0.28);
  }

  .ph-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(247, 220, 36, 0.4);
    color: #0c0c0c;
  }

  /* hero right — launcher screenshot */
  .ph-hero-right {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15vw;
    height: 100%;
  }

  .ph-hero-mockup {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
      0 0 0 1px rgba(247, 220, 36, 0.1),
      0 40px 80px rgba(0, 0, 0, 0.7),
      0 0 80px rgba(247, 220, 36, 0.06);
    transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
  }

  .ph-hero-mockup img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* gradient that blends hero into dark bg below */
  .ph-hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to bottom, transparent, #0c0c0c);
    z-index: 3;
  }

  /* ─── STATS BAR ──────────────────────────────────────── */
  .ph-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #111111;
  }

  .ph-stat {
    display: grid;
    grid-template-rows: 1lh auto;
    align-content: start;
    gap: 6px;
    min-width: 0;
    padding: 20px 12px;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .ph-stat + .ph-stat {
    border-inline-start: 1px solid #ffffff1a;
  }

  .ph-stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #f7dc24;
    line-height: 1;
  }

  .ph-stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .ph-stat-symbol {
    color: #f7dc24;
    font-size: .75em;
  }

  .ph-stat-num-text {
    font-size: 1.25rem;
  }

  /* ─── SECTION HEADER ─────────────────────────────────── */
  .ph-section-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 6rem 2rem;
  }



  .ph-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 3rem;
    max-width: 520px;
  }

  /* ─── FEATURE ROWS (screenshot + text) ──────────────── */
  .ph-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 7rem;
  }

  .ph-feature-row:last-child {
    margin-bottom: 0;
  }

  .ph-feature-row.flip {
    direction: rtl;
  }

  .ph-feature-row.flip>* {
    direction: ltr;
  }

  .ph-feature-screen {
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
      0 0 0 1px rgba(247, 220, 36, 0.08),
      0 30px 60px rgba(0, 0, 0, 0.6);
    position: relative;
  }

  .ph-feature-screen img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Blue glow under screenshot */
  .ph-feature-screen::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 10%;
    right: 10%;
    height: 40px;
    background: rgba(247, 220, 36, 0.12);
    filter: blur(20px);
    border-radius: 50%;
  }

  .ph-feature-text {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .ph-feature-tag {
    font-family: 'Poppins', sans-serif;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f7dc24;
    opacity: 0.7;
    margin-bottom: 0.75rem;
  }

  .ph-feature-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .ph-feature-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.93rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.8;
    margin-bottom: 1.75rem;
  }

  .ph-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .ph-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.83rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
  }

  .ph-feature-list li i {
    font-size: 10px;
    color: #f7dc24;
  }

  /* ─── COMPARISON TABLE ────────────────────────────────── */
  .ph-compare {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #111111;
    padding: 6rem 2rem;
  }

  .ph-compare-inner {
    max-width: 760px;
    margin: 0 auto;
  }

  .ph-compare-head {
    text-align: center;
    margin-bottom: 3rem;
  }

  .ph-compare-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.5rem;
  }

  .ph-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 14px;
    overflow: hidden;
  }

  .ph-table thead th {
    padding: 16px 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: #1c1c1c;
    color: rgba(255, 255, 255, 0.4);
  }

  .ph-table thead th:first-child {
    text-align: left;
  }

  .ph-table thead th.ph-th-plus {
    background: linear-gradient(90deg, rgba(247, 220, 36, 0.15), rgba(247, 220, 36, 0.15));
    color: #f7dc24;
  }

  .ph-table tbody tr {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s;
  }

  .ph-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
  }

  .ph-table td {
    padding: 14px 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.83rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    text-align: center;
  }

  .ph-table td:first-child {
    text-align: left;
    color: rgba(255, 255, 255, 0.85);
  }

  .ph-table td.ph-td-plus {
    background: rgba(247, 220, 36, 0.04);
  }

  .ph-yes {
    color: #f7dc24;
    font-size: 14px;
  }

  .ph-no {
    color: rgba(255, 255, 255, 0.15);
    font-size: 14px;
  }

  /* ─── PRICING ────────────────────────────────────────── */
  .ph-pricing {
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #0c0c0c;
  }

  .ph-pricing-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .ph-pricing-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
    margin-bottom: 3rem;
  }

  .ph-price-card {
    width: 100%;
    max-width: 420px;
    background: #171717;
    border: 1px solid rgba(247, 220, 36, 0.12);
    border-radius: 18px;
    overflow: hidden;
  }

  .ph-price-bar {
    height: 3px;
    background: linear-gradient(90deg, #f7dc24 0%, #f7dc24 60%, transparent 100%);
  }

  .ph-price-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .ph-price-plan {
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #f7dc24;
  }

  .ph-price-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-top: 3px;
  }

  .ph-price-subdesc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 400;
    margin-top: 3px;
  }

  /* toggle */
  .ph-toggle {
    display: flex;
    background: #0c0c0c;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 3px;
    position: relative;
  }

  .ph-toggle-slide {
    position: absolute;
    top: 3px;
    left: 3px;
    height: calc(100% - 6px);
    width: calc(50% - 3px);
    background: linear-gradient(90deg, #f7dc24, #f7dc24);
    border-radius: 6px;
    transition: left 0.2s ease;
    z-index: 0;
  }

  .ph-toggle-btn {
    flex: 1;
    padding: 7px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: color 0.15s;
    border-radius: 6px;
  }

  .ph-toggle-btn.active {
    color: #0c0c0c;
  }

  .ph-toggle-btn:not(.active) {
    color: rgba(255, 255, 255, 0.25);
  }

  /* benefits */
  .ph-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .ph-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
  }

  .ph-perks li .ph-chk {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: rgba(247, 220, 36, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .ph-perks li .ph-chk i {
    font-size: 8px;
    color: #f7dc24;
  }

  /* footer */
  .ph-price-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .ph-big-price {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
  }

  .ph-big-price sup {
    font-size: 0.9rem;
    vertical-align: super;
    color: #f7dc24;
  }

  .ph-period-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.18);
    font-weight: 600;
    margin-top: 4px;
  }

  .ph-sub-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    background: linear-gradient(90deg, #f7dc24, #f7dc24);
    color: #0c0c0c;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(247, 220, 36, 0.18);
  }

  .ph-sub-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(247, 220, 36, 0.32);
  }

  .ph-sub-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
  }

  /* not logged in */
  .ph-login {
    max-width: 380px;
    width: 100%;
    background: #171717;
    border: 1px solid rgba(247, 220, 36, 0.08);
    border-radius: 18px;
    padding: 40px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .ph-login > i {
    font-size: 2rem;
    color: #f7dc24;
    opacity: 0.35;
  }

  .ph-login p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.25);
  }

  .ph-login a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(90deg, #f7dc24, #f7dc24);
    color: #0c0c0c;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.83rem;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s;
  }

  .ph-login a:hover {
    transform: translateY(-2px);
    color: #0c0c0c;
  }

  .ph-login a > i {
    font-size: 0.9rem;
    color: inherit;
    opacity: 1;
    line-height: 1;
  }

  .ph-login a:focus-visible {
    outline: 2px solid #f7dc24;
    outline-offset: 4px;
  }

  /* ─── RESPONSIVE ─────────────────────────────────────── */
  @media (max-width: 900px) {
    .ph-hero {
      grid-template-columns: 1fr;
      height: auto;
      padding-top: 100px;
    }

    .ph-hero-right {
      display: none;
    }

    .ph-hero-left {
      padding: 2rem 1.5rem 3rem;
      align-items: center;
      text-align: center;
    }

    .ph-hero-sub {
      max-width: 100%;
    }

    .ph-hero-badge {
      margin-bottom: 1.5rem;
    }

    .ph-feature-row,
    .ph-feature-row.flip {
      grid-template-columns: 1fr;
      direction: ltr;
      gap: 2rem;
    }

    .ph-feature-row {
      margin-bottom: 4rem;
    }

    .ph-section-wrap {
      padding: 4rem 1.5rem;
    }

    .ph-stats {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ph-stat:nth-child(odd) {
      border-inline-start: 0;
    }

    .ph-stat:nth-child(n + 3) {
      border-block-start: 1px solid #ffffff1a;
    }

    .ph-compare {
      padding: 4rem 1.25rem;
    }
  }

  @media (max-width: 560px) {
    .ph-table thead th:nth-child(2) {
      display: none;
    }

    .ph-table td:nth-child(2) {
      display: none;
    }
  }

/* Battly+ benefit illustrations */
.ph-benefit-row .ph-feature-desc { color: #bfc9bf; }
.ph-benefit-row .ph-feature-list li { color: #d3ddd2; }
.ph-benefit-row .ph-feature-tag { opacity: 1; }

.ph-benefit-visual {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: clamp(205px, 30vw, 325px);
  padding: clamp(14px, 3vw, 32px);
  isolation: isolate;
  border: 1px solid #ffffff15;
  box-shadow: none;
  color: #ecf2e9;
}

.ph-benefit-visual::after { content: none; }
.ph-benefit-worlds {
  align-items: end;
  grid-template-areas: "scene";
}
.ph-benefit-worlds > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(#000 48%, transparent 100%);
}
.ph-benefit-worlds .ph-worlds-stats {
  position: relative;
  grid-area: scene;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.ph-worlds-stats > div {
  padding: clamp(10px, 2vw, 16px);
  background: #101812f5;
  border: 1px solid #7d8d6560;
  border-radius: 10px;
}
.ph-worlds-stats strong {
  display: block;
  color: #f7dc24;
  font-size: clamp(1.35rem, 3.5vw, 2.4rem);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.ph-worlds-stats span { display: block; margin-top: 6px; color: #d4dfd1; font-size: .79rem; }

.ph-benefit-cloud {
  align-content: center;
  gap: 22px;
  background-image: radial-gradient(ellipse at 50% 40%, #33442a, transparent 75%);
}
.ph-cloud-diagram {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12px, .34fr) minmax(0, 1.12fr) minmax(12px, .34fr) minmax(0, 1fr);
  align-items: center;
}
.ph-cloud-device { display: grid; justify-items: center; gap: 7px; color: #d4dfd1; font-size: .74rem; text-align: center; }
.ph-cloud-device span { min-height: 2lh; }
.ph-cloud-device i {
  display: grid;
  place-items: center;
  width: clamp(42px, 7vw, 71px);
  aspect-ratio: 1;
  border-radius: 14px;
  border: 1px solid #72896c80;
  background: #131d16;
  color: #c3d6c1;
  font-size: clamp(1rem, 3vw, 1.7rem);
}
.ph-cloud-device--hub i { color: #f7dc24; border-color: #f7dc2460; }
.ph-cloud-link { position: relative; height: 2px; margin-bottom: 23px; border-radius: 2px; background: #72896c87; }
.ph-cloud-link::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f7dc24;
}
.ph-cloud-files { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.ph-cloud-files span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d4dfd1;
  background: #101812;
  border: 1px solid #ffffff1b;
  border-radius: 7px;
  padding: 5px 8px;
  font-size: .74rem;
}
.ph-cloud-files i { color: #a4bb97; }

.ph-benefit-queue { background-image: radial-gradient(ellipse at 20% 85%, #263722, transparent 65%); }
.ph-queue-panel {
  width: min(100%, 340px);
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid #73897061;
  border-radius: 12px;
  background: #101812;
}
.ph-queue-heading { display: flex; align-items: center; gap: 9px; margin: 3px 4px 6px; color: #e6efe2; font-size: .82rem; font-weight: 650; }
.ph-queue-heading i { color: #f7dc24; }
.ph-queue-job {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 9px;
  border-radius: 7px;
  background: #202b22;
  color: #c8d7c7;
  font-size: .77rem;
}
.ph-queue-job .ph-queue-check { color: #b1d5a5; }
.ph-queue-job .ph-queue-wait { color: #a7bba4; }
.ph-queue-track { width: clamp(42px, 11vw, 98px); height: 5px; background: #ffffff22; border-radius: 8px; overflow: hidden; }
.ph-queue-track span { display: block; width: 78%; height: 100%; background: #f7dc24; border-radius: inherit; transform-origin: left center; }

.ph-benefit-adfree { background-image: radial-gradient(ellipse at 50% 20%, #41482e, transparent 75%); }
.ph-adfree-device {
  position: relative;
  width: min(100%, 244px);
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #80917180;
  border-radius: 16px;
  background: #111a14;
}
.ph-adfree-header {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #e9f1e7;
  font-size: .82rem;
  font-weight: 650;
}
.ph-adfree-header img { width: 20px; height: 20px; object-fit: contain; }
.ph-adfree-content {
  display: grid;
  place-items: center;
  height: clamp(62px, 10vw, 98px);
  color: #9dc493;
  font-size: 1.4rem;
  background: #203825;
  border-radius: 8px;
}
.ph-adfree-banner,
.ph-adfree-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px;
  color: #f7dc24;
  border-radius: 7px;
  font-weight: 650;
  font-size: .73rem;
}
.ph-adfree-label { background: #2e2f1b; }
.ph-adfree-banner {
  position: absolute;
  bottom: 12px;
  inset-inline: 12px;
  opacity: 0;
  color: #d0d5d0;
  background: #323832;
}

@media (prefers-reduced-motion: no-preference) {
  .ph-benefit-row.is-visible .ph-worlds-stats > div { animation: ph-benefit-rise 540ms ease-out both; }
  .ph-benefit-row.is-visible .ph-worlds-stats > div:nth-child(2) { animation-delay: 140ms; }
  .ph-benefit-row.is-visible .ph-cloud-link::after { animation: ph-benefit-sync 680ms ease-in-out both; }
  .ph-benefit-row.is-visible .ph-cloud-link--next::after { animation-delay: 590ms; }
  .ph-benefit-row.is-visible .ph-queue-track span { animation: ph-benefit-progress 1050ms ease-out both; }
  .ph-benefit-row.is-visible .ph-adfree-banner { animation: ph-benefit-dismiss 900ms ease-in-out both; }
  .ph-benefit-row.is-visible .ph-adfree-label { animation: ph-benefit-rise 390ms 520ms ease-out both; }
}

@keyframes ph-benefit-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes ph-benefit-sync {
  0% { opacity: 0; left: 0; }
  24%, 72% { opacity: 1; }
  100% { opacity: 1; left: calc(50% - 4px); }
}
@keyframes ph-benefit-progress {
  from { transform: scaleX(.14); }
  to { transform: scaleX(1); }
}
@keyframes ph-benefit-dismiss {
  0%, 20% { opacity: 1; transform: none; }
  68%, 100% { opacity: 0; transform: translateY(-9px); }
}

/* Motion previews for the original Battly+ benefits. */
.ph-motion-scene {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: clamp(216px, 30vw, 330px);
  padding: clamp(13px, 2.8vw, 30px);
  border: 1px solid #ffffff18;
  isolation: isolate;
  box-shadow: none;
  color: #eef4ed;
}
.ph-motion-scene::after { content: none; }

.ph-motion-capes {
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(6px, 3vw, 30px);
}
.ph-motion-capes::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 32% 53%, #44594c, transparent 63%);
}
.ph-cape-stand {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  perspective: 700px;
}
.ph-cape-stand::before {
  content: "";
  position: absolute;
  inset: auto 8% 3%;
  height: 15%;
  background: radial-gradient(ellipse, #080c09a6, transparent 72%);
}
.ph-motion-capes .ph-cape-avatar {
  position: relative;
  width: min(100%, 236px);
  height: auto;
  image-rendering: pixelated;
}
.ph-cape-workshop {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 0;
  perspective: 490px;
  text-align: center;
  font-size: clamp(.72rem, 1.2vw, .88rem);
  font-weight: 650;
  color: #e0e9d9;
}
.ph-cape-fabric {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: clamp(62px, 13vw, 139px);
  aspect-ratio: 5 / 8;
  border: 2px solid #e1bb57;
  background: linear-gradient(90deg, #12190e, #2c3920 46%, #172115 48%, #25311a 76%, #151e12);
  box-shadow: inset 0 0 0 4px #fff3bf18, 8px 10px 24px #080c0980;
  transform: rotateY(-12deg) rotateZ(5deg);
  transform-origin: 50% 0;
}
.ph-cape-fabric::after {
  content: "";
  position: absolute;
  inset: 70% 8% 8%;
  border-block-end: 3px double #c49c47;
  background: linear-gradient(135deg, transparent 44%, #ad925363 46% 52%, transparent 54%) 0 0 / 15px 15px;
}
.ph-cape-fabric img { width: 57%; height: auto; margin-bottom: 24%; }

.ph-wallpaper-window,
.ph-boost-window {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid #74887b81;
  border-radius: 12px;
  background: #101914;
}
.ph-wallpaper-window { aspect-ratio: 1.77; }
.ph-wallpaper-window .ph-wallpaper-landscape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.ph-wallpaper-glow {
  position: absolute;
  inset: -18%;
  background: radial-gradient(ellipse at 75% 15%, #88dea8a0, transparent 58%);
  opacity: .25;
}
.ph-wallpaper-titlebar,
.ph-wallpaper-controls {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: clamp(.66rem, 1.2vw, .82rem);
}
.ph-wallpaper-titlebar {
  inset: 0 0 auto;
  padding: 8px 10px;
  background: #101914eb;
  border-bottom: 1px solid #ffffff20;
  font-weight: 700;
}
.ph-wallpaper-titlebar img { width: 18px; height: 18px; object-fit: contain; }
.ph-wallpaper-controls {
  inset: auto auto 9px 10px;
  padding: 5px 8px;
  border: 1px solid #ffffff22;
  border-radius: 7px;
  background: #101914e8;
}
.ph-wallpaper-controls i { color: #f7dc24; }

.ph-motion-role::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 78% 25%, #374836, transparent 69%);
}
.ph-role-preview {
  width: min(100%, 350px);
  padding: clamp(12px, 2.5vw, 22px);
  border: 1px solid #78968275;
  border-radius: 15px;
  background: #151f18;
}
.ph-role-top { display: flex; align-items: center; gap: 12px; }
.ph-role-top strong { display: block; font-size: .94rem; line-height: 1.2; }
.ph-role-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: clamp(40px, 6vw, 57px);
  aspect-ratio: 1;
  border: 1px solid #748a7e8a;
  border-radius: 12px;
  background: #24352f;
  color: #d3e6dc;
  font-size: 1.35rem;
}
.ph-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 3px 8px;
  border: 1px solid #d5b73f80;
  border-radius: 6px;
  background: #322c17;
  color: #ffe377;
  font-size: .75rem;
  font-weight: 700;
}
.ph-role-perks { display: grid; gap: 6px; margin-top: 16px; }
.ph-role-perks > div {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-radius: 7px;
  background: #233029;
  color: #e0e9df;
  font-size: .76rem;
}
.ph-role-perks i:first-child { color: #b7c8ba; }
.ph-role-perks i:last-child { color: #bfdcae; }

.ph-motion-boost { gap: 9px; align-content: center; }
.ph-boost-window { aspect-ratio: 2; }
.ph-boost-window .ph-boost-home { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ph-boost-splash {
  position: absolute;
  inset: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  opacity: 0;
  background: radial-gradient(ellipse, #344329, #111a14 72%);
  font-size: .82rem;
}
.ph-boost-splash img { width: clamp(32px, 7vw, 67px); height: auto; }
.ph-boost-label { width: 100%; display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; }
.ph-boost-label i { color: #f7dc24; }
.ph-boost-label strong { font-size: .84rem; }
.ph-boost-label span { color: #bdcbbf; font-size: .75rem; }

@media (prefers-reduced-motion: no-preference) {
  .ph-motion-scene.is-playing .ph-cape-avatar { animation: ph-cape-turn 2100ms ease-in-out both; }
  .ph-motion-scene.is-playing .ph-cape-fabric { animation: ph-cape-fold 2400ms ease-in-out both; }
  .ph-motion-scene.is-playing .ph-wallpaper-landscape { animation: ph-wallpaper-pan 4s ease-in-out both; }
  .ph-motion-scene.is-playing .ph-wallpaper-glow { animation: ph-wallpaper-light 4s ease-in-out both; }
  .ph-motion-scene.is-playing .ph-role-badge { animation: ph-role-activate 520ms 220ms ease-out both; }
  .ph-motion-scene.is-playing .ph-role-perks > div { animation: ph-benefit-rise 450ms 500ms ease-out both; }
  .ph-motion-scene.is-playing .ph-role-perks > div + div { animation-delay: 660ms; }
  .ph-motion-scene.is-playing .ph-boost-splash { animation: ph-boost-skip 1250ms ease-in-out both; }
  .ph-motion-scene.is-playing .ph-boost-label span { animation: ph-benefit-rise 450ms 850ms ease-out both; }
}

@keyframes ph-cape-turn {
  0%, 100% { transform: none; }
  42% { transform: rotateY(-21deg) translateY(-7px); }
  72% { transform: rotateY(8deg) translateY(-2px); }
}
@keyframes ph-cape-fold {
  0%, 100% { transform: rotateY(-12deg) rotateZ(5deg); }
  30% { transform: rotateY(25deg) rotateZ(-5deg) rotateX(-15deg); }
  69% { transform: rotateY(-23deg) rotateZ(8deg) rotateX(10deg); }
}
@keyframes ph-wallpaper-pan {
  0%, 100% { transform: scale(1.02); }
  55% { transform: scale(1.16) translate(-2%, 1%); }
}
@keyframes ph-wallpaper-light {
  0%, 100% { opacity: .25; transform: translateX(0); }
  55% { opacity: .6; transform: translateX(-13%); }
}
@keyframes ph-role-activate {
  from { opacity: .22; transform: translateX(-5px) scale(.93); }
  70% { opacity: 1; transform: scale(1.05); }
  to { opacity: 1; transform: none; }
}
@keyframes ph-boost-skip {
  0%, 31% { opacity: 1; transform: none; }
  72%, 100% { opacity: 0; transform: scale(.93); }
}
