/* Preview 2 — static build of the founder's Canva site (mnk3ys.com) */

:root {
  --p2-green: #22f53a;
  --p2-white: #e8e8e8;
  --p2-grey: #a3a3a3;
  --p2-bg: #000;
  --p2-nav-h: 0px;
  --p2-display: 'Poppins', system-ui, sans-serif;
  --p2-mono: 'IBM Plex Mono', ui-monospace, monospace;
  /* 1% of the 16:9 artwork width when it is fitted inside the viewport */
  --u: min(1vw, 1.778vh);
  --u-pill: calc(min(1vw, 1.778vh) * 1.2);
  --orb-primary: 96px;
  --orb-near: 58px;
  --orb-secondary: 46px;
  --orb-gap: 12px;
  --safe-bottom: env(safe-area-inset-bottom, 0);
  --safe-top: env(safe-area-inset-top, 0);
}

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

html {
  scroll-behavior: auto;
  background: var(--p2-bg);
}

/* Soft snap for finger-scroll only — disabled while orbit menu drives navigation */
html:not(.p2-nav-scrolling) {
  scroll-snap-type: y proximity;
}

html.p2-nav-scrolling,
html.p2-nav-scrolling .p2-page {
  scroll-snap-type: none !important;
  scroll-snap-align: none !important;
}

body.p2 {
  margin: 0;
  background: var(--p2-bg);
  color: var(--p2-white);
  font-family: var(--p2-mono);
  -webkit-font-smoothing: antialiased;
}

.p2 a { color: inherit; text-decoration: none; }
.p2 .g { color: var(--p2-green); }

/* ——— Orbit navigation (bottom-left, from /preview) ——— */
.orbit-nav {
  position: fixed;
  left: max(0.75rem, env(safe-area-inset-left, 0));
  bottom: max(0.75rem, var(--safe-bottom));
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}

.orbit-nav__stage {
  position: relative;
  pointer-events: auto;
  flex-shrink: 0;
  overflow: visible;
}

.orbit-bubble {
  --bx: 0px;
  --by: 0px;
  --bs: var(--orb-secondary);
  --bo: 1;
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--bs);
  height: var(--bs);
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.82);
  color: var(--p2-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: var(--bo);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translate3d(var(--bx), var(--by), 0);
  transform-origin: bottom left;
  transition:
    width 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  will-change: transform, width, height, opacity;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

.orbit-bubble--instant { transition: none !important; }

.orbit-nav--tracking .orbit-bubble,
.orbit-nav--tracking .orbit-bubble__inner { transition: none !important; }

.orbit-bubble--active {
  border-color: var(--p2-green);
  opacity: 1;
  box-shadow:
    0 0 0 5px rgba(34, 245, 58, 0.22),
    0 0 28px rgba(34, 245, 58, 0.45),
    0 14px 36px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.orbit-bubble:hover {
  border-color: #7dff8a;
  opacity: 1;
  box-shadow:
    0 0 0 4px rgba(34, 245, 58, 0.18),
    0 0 20px rgba(34, 245, 58, 0.28),
    0 10px 28px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.orbit-bubble--active:hover {
  transform: translate3d(var(--bx), var(--by), 0) scale(1.03);
}

.orbit-bubble__inner {
  width: 52%;
  height: 52%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.orbit-bubble__inner:has(img) {
  width: 92%;
  height: 92%;
}

.orbit-bubble--active .orbit-bubble__inner:has(img) {
  width: 94%;
  height: 94%;
}

.orbit-bubble--active .orbit-bubble__inner { transform: scale(1.02); }

.orbit-bubble__inner svg {
  width: 100%;
  height: 100%;
  display: block;
}

.orbit-bubble__inner img,
.orbit-bubble__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

.orbit-bubble__img--cover {
  object-fit: cover;
}

.orbit-nav__label {
  margin: 0.5rem 0 0;
  padding-left: 0.15rem;
  font-family: var(--p2-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p2-grey);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* ——— Pages ——— */
.p2-page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px calc(var(--orb-primary) + 2.5rem);
  background-color: var(--p2-bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  scroll-snap-align: start;
  overflow: hidden;
}

.p2-page[hidden] { display: none !important; }

/* Hero gorilla lives on a pseudo-element so it can pulse behind the title */
.p2-page--home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/preview2/home-landscape.jpg') center / calc(100 * var(--u)) auto no-repeat;
  animation: p2-hero-pulse 4.5s ease-in-out infinite alternate;
}

@keyframes p2-hero-pulse {
  from { opacity: 0.15; }
  to   { opacity: 1; }
}

.p2-page--home      { background-image: none; }
.p2-page--mnk3ys    { background-image: url('/assets/preview2/mnk3ys-landscape.jpg'); }
.p2-page--zmb3ys    { background-image: url('/assets/preview2/zmb3ys-landscape.jpg'); }
.p2-page--blunana   { background-image: url('/assets/preview2/blunana-landscape.jpg?v=2'); }
.p2-page--games     { background-image: none; }
.p2-page--lp        { background-image: url('/assets/preview2/lp-landscape.jpg?v=2'); }
.p2-page--utility   { background-image: url('/assets/preview2/utility-landscape.jpg?v=2'); }
.p2-page--juice     { background-image: url('/assets/preview2/juice-landscape.jpg?v=2'); }
.p2-page--juicebags { background-image: url('/assets/preview2/juicebags-landscape.jpg?v=2'); }
.p2-page--b3bs      { background-image: url('/assets/preview2/b3bs-landscape.jpg?v=2'); }
.p2-page--mnk1sh    { background-image: url('/assets/preview2/mnk1sh-landscape.jpg?v=2'); }
.p2-page--poker     { background-image: none; }
.p2-page--services  { background-image: none; }
.p2-page--partners  { background-image: none; }

.p2-page__content {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.p2-page.is-visible .p2-page__content {
  opacity: 1;
  transform: none;
}

.p2-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Collection pages: text column left of the art */
/* Artwork always fully visible and pinned right; text column pinned far left */
.p2-page--split {
  --u: calc(min(1vw, 1.778vh) * 1.2);
  justify-content: flex-start;
  background-size: contain;
  background-position: right 7vw center;
}

@media (orientation: landscape) {
  .p2-page--blunana {
    justify-content: flex-start;
    align-items: stretch;
    background-position: calc(50% + 20vw) center;
  }

  .p2-page--blunana .p2-center {
    align-items: flex-start;
    text-align: left;
    margin: 6vh 0 8vh max(24px, 14vw);
  }

  .p2-page--blunana .p2-pills,
  .p2-page--blunana .p2-chart-links {
    align-self: center;
    margin-top: auto;
  }

  /* Negative right margin keeps the logo row out of the column's width, so buttons centre on the title */
  .p2-page--blunana .p2-chart-links {
    order: 1;
    gap: 48px;
    align-self: flex-start;
    width: max-content;
    margin-right: -100vw;
  }

  .p2-page--blunana .p2-pills { order: 2; margin-bottom: 6vh; }

  /* LP: heading + copy top centre; below, padlock art left column, pool buttons right column */
  .p2-page--lp {
    align-items: stretch;
    background-size: auto 125vh;
    background-position: calc(50% - 17vw) calc(50% - 7vh);
  }

  .p2-page--lp {
    justify-content: flex-end;
    padding-right: calc(20px + max(24px, 14vw));
  }

  .p2-page--lp .p2-center {
    margin-top: 4vh;
    align-items: flex-end;
    text-align: right;
  }

  .p2-page--lp .p2-sub {
    margin: 0.8em 0 0;
    max-width: 36ch;
  }

  .p2-page--lp .p2-pills {
    --u-pill: calc(min(1vw, 1.778vh) * 1.8);
    margin: auto 0;
    align-self: center;
  }

  /* Two-column pages: art pushed to one half, content centred in the other half */
  .p2-page--art-right,
  .p2-page--art-left {
    padding-left: 0;
    padding-right: 0;
  }

  .p2-page--art-right .p2-center,
  .p2-page--art-left .p2-center {
    width: 50%;
    padding: 0 24px;
  }

  .p2-page--art-right {
    justify-content: flex-start;
    background-position: calc(50% + 19vw) center;
  }

  .p2-page--art-right .p2-center { margin-left: 6vw; }

  .p2-page--art-left {
    justify-content: flex-end;
    background-position: calc(50% - 19vw) center;
  }

  .p2-page--art-left .p2-center { margin-right: 6vw; }

  .p2-page--b3bs { background-position: calc(50% - 19vw) calc(50% + 5vh); }
  .p2-page--mnk1sh { background-size: calc(85 * var(--u)) auto; }

  .p2-page--b3bs .p2-title,
  .p2-page--mnk1sh .p2-title { font-size: max(2.97rem, calc(8.37 * var(--u))); }
  .p2-page--b3bs .p2-sub,
  .p2-page--mnk1sh .p2-desc { font-size: max(0.97rem, calc(1.69 * var(--u))); }

  .p2-page--blunana .p2-chart-links img {
    width: max(56px, calc(6.4 * var(--u)));
    height: max(56px, calc(6.4 * var(--u)));
  }
}

.p2-split {
  margin-left: max(24px, 14vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ——— Type ——— */
.p2-title {
  margin: 0;
  font-family: var(--p2-display);
  font-weight: 800;
  font-size: max(2.2rem, calc(6.2 * var(--u)));
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--p2-white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.p2-title--hero {
  font-size: max(2.6rem, calc(10 * var(--u)));
  color: #fff;
}

.p2-split .p2-title { font-size: max(2.2rem, calc(5.8 * var(--u))); }

.p2-tagline {
  margin: 0.35em 0 0;
  font-family: var(--p2-mono);
  font-size: max(0.85rem, calc(1.45 * var(--u)));
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.p2-tagline--hero {
  display: none;
  font-size: clamp(1.1rem, 2.6vw, 2.2rem);
}

.p2-stats,
.p2-desc,
.p2-soon {
  margin: 0;
  font-family: var(--p2-mono);
  font-size: max(0.72rem, calc(1.25 * var(--u)));
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.p2-stats { margin-bottom: 0.4em; }
.p2-desc { margin-bottom: 1.4em; }
.p2-desc--narrow { max-width: 25ch; }
.p2-soon { margin: 0.35em 0 0.2em; }

.p2-sub,
.p2-kicker {
  margin: 0.6em 0 0;
  font-family: var(--p2-display);
  font-weight: 700;
  font-size: max(0.8rem, calc(1.3 * var(--u)));
  text-transform: uppercase;
  color: var(--p2-white);
}

.p2-kicker { margin: 0 0 1em; }

/* ——— GAM3S: Pets + Pairs with alternating preview rows (one viewport) ——— */
.p2-page--games {
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 16px;
  padding-bottom: calc(var(--orb-primary) + 2rem);
}

.p2-games {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(1120px, 94%);
  max-height: calc(100svh - var(--orb-primary) - 3rem);
  text-align: center;
  gap: 0.35em;
}

.p2-games > .p2-sub {
  margin: 0.15em 0 0;
}

.p2-game-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: max(0.7em, 1.4vh);
  width: 100%;
  margin-top: 0.55em;
  min-height: 0;
  flex: 1 1 auto;
}

.p2-game {
  /* Equal tiles: text column matches image width + height */
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(1.75rem, 4.5vw, 3.5rem);
  row-gap: 0.35em;
  align-items: stretch;
  width: 100%;
  min-height: 0;
  text-align: left;
}

.p2-game--flip .p2-game__shot { order: 2; }
.p2-game--flip .p2-game__copy { order: 1; }

.p2-game__shot {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  border: 2px solid rgba(34, 245, 58, 0.35);
  border-radius: 14px;
  background: #05070d;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  justify-self: stretch;
  align-self: start;
}

.p2-game__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5em;
  min-width: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  /* Match the image tile height (16/10 of column width) */
  aspect-ratio: 16 / 10;
}

/* Right column: right-justified text */
.p2-game:not(.p2-game--flip) .p2-game__copy {
  align-items: flex-end;
  text-align: right;
}

.p2-game:not(.p2-game--flip) .p2-game__word {
  justify-content: flex-end;
}

.p2-game--flip .p2-game__copy {
  align-items: flex-start;
  text-align: left;
}

/* Title + BETA on one row (same as game-page .hword) */
.p2-game__word {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  width: auto;
  max-width: 100%;
}

.p2-game__mark {
  display: inline;
  font-family: Nunito, var(--p2-display);
  font-weight: 1000;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  letter-spacing: -1px;
  line-height: 1;
  color: #fff;
  text-transform: none;
  text-shadow: none;
  white-space: nowrap;
}

.p2-game__mark b {
  color: #48D8FC;
  font-weight: 1000;
  text-shadow: 0 0 22px rgba(72, 216, 252, 0.5);
}

.p2-game__beta {
  display: inline-block;
  flex: 0 0 auto;
  align-self: center;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 1.5px;
  background: #F2C94C;
  color: #000;
  padding: 3px 8px;
  border-radius: 7px;
  font-weight: 900;
  white-space: nowrap;
  line-height: 1.2;
}

.p2-game__copy .p2-desc {
  margin: 0;
  max-width: none;
  width: 100%;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.p2-game__copy .p2-pill { margin-top: 0.15em; }

/* ——— Poker: one-viewport panel; list scrolls inside ——— */
.p2-page--poker {
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 16px;
  padding-bottom: calc(var(--orb-primary) + 2rem);
}

.p2-poker {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(1100px, 92vw);
  height: calc(100svh - var(--orb-primary) - 3rem);
  max-height: calc(100svh - var(--orb-primary) - 3rem);
  min-height: 0;
  margin: 0 auto;
  text-align: center;
}

.p2-poker__title {
  flex: 0 0 auto;
  margin: 0;
  text-align: center;
}

.p2-poker__word {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.35em;
}

.p2-poker__mark {
  display: inline;
  white-space: nowrap;
}

.p2-poker__word .p2-game__beta {
  font-size: clamp(11px, 1.1vw, 14px);
  padding: 4px 9px;
  border-radius: 8px;
  transform: translateY(0.08em);
}

.p2-poker__lede {
  flex: 0 0 auto;
  margin: 0.45rem auto 0.35rem;
  max-width: 46ch;
  font-family: var(--p2-display);
  font-size: max(0.8rem, calc(1.2 * var(--u)));
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--p2-white);
}

.p2-poker__slotto {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 auto 0.75rem;
  font-family: var(--p2-display);
  font-size: max(0.78rem, calc(1.1 * var(--u)));
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--p2-white);
}

.p2-poker__slotto-thumb {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
  /* SLOTTO art waves left — nudge so the figure sits on the label */
  transform: translateX(-8%);
}

.p2-poker__note {
  flex: 0 0 auto;
  margin: 0 auto 0.85rem;
  max-width: none;
  font-family: var(--p2-display);
  font-size: max(0.68rem, calc(0.95 * var(--u)));
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--p2-grey);
}

.p2-poker__note-line {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(0.58rem, 1.15vw, 0.72rem);
}

.p2-poker__tabs {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 auto 0.65rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.p2-poker__tabs::-webkit-scrollbar { display: none; }

.p2-poker__tab {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(34, 245, 58, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--p2-grey);
  font-family: var(--p2-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.p2-poker__tab.is-active {
  color: #000;
  background: var(--p2-green);
  border-color: var(--p2-green);
}

.p2-poker__status {
  flex: 0 0 auto;
  margin: 0 0 0.5rem;
  font-family: var(--p2-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--p2-grey);
}

.p2-poker__status.is-error { color: #ff7b7b; }

.p2-poker__status:empty,
.p2-poker__status[hidden] {
  display: none;
}

.p2-poker__list {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  text-align: left;
  padding: 0.35rem 0.45rem 0.45rem;
  border: 1px solid rgba(34, 245, 58, 0.22);
  border-radius: 16px;
  background: rgba(5, 7, 13, 0.55);
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 245, 58, 0.45) transparent;
}

.p2-poker__list::-webkit-scrollbar {
  width: 6px;
}

.p2-poker__list::-webkit-scrollbar-thumb {
  background: rgba(34, 245, 58, 0.4);
  border-radius: 999px;
}

.p2-page--poker .pk-card {
  display: grid;
  gap: 0.28rem;
  flex: 0 0 auto;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(34, 245, 58, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(155deg, rgba(34, 245, 58, 0.1) 0%, rgba(34, 245, 58, 0.02) 42%, rgba(5, 7, 13, 0.65) 100%);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.p2-page--poker .pk-card:hover {
  border-color: rgba(34, 245, 58, 0.55);
}

.p2-page--poker .pk-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
}

.p2-page--poker .pk-card__name {
  margin: 0;
  font-family: var(--p2-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}

.p2-page--poker .pk-card__meta,
.p2-page--poker .pk-card__prize,
.p2-page--poker .pk-card__desc {
  margin: 0;
  font-family: var(--p2-display);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--p2-grey);
}

.p2-page--poker .pk-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 500;
}

.p2-page--poker .pk-card__prize { color: var(--p2-white); }

.p2-page--poker .pk-card__cta {
  margin-top: 0.15rem;
  font-family: var(--p2-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--p2-green);
}

.p2-page--poker .pk-empty {
  margin: auto 0;
  padding: 1.1rem 1rem;
  border: 1px dashed rgba(34, 245, 58, 0.25);
  border-radius: 12px;
  color: var(--p2-grey);
  font-family: var(--p2-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

/* ——— S3RV1CES: 2x2 offering grid (one viewport) ——— */
.p2-page--services {
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 16px;
  padding-bottom: calc(var(--orb-primary) + 2rem);
}

.p2-services {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(960px, 100%);
  max-height: calc(100svh - var(--orb-primary) - 3rem);
  text-align: center;
  gap: 0.35em;
}

.p2-services > .p2-sub {
  margin: 0.15em 0 0;
}

.p2-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: max(0.75em, 1.4vh) clamp(1.75rem, 3.5vw, 3.25rem);
  width: 100%;
  margin-top: 0.7em;
  min-height: 0;
  flex: 1 1 auto;
  align-content: center;
}

.p2-service {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  column-gap: 0.55em;
  row-gap: 0.45em;
  padding: max(0.9em, 1.4vh) max(1em, 1.2vw);
  text-align: left;
  border: 2px solid rgba(34, 245, 58, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(
      155deg,
      rgba(34, 245, 58, 0.14) 0%,
      rgba(34, 245, 58, 0.04) 38%,
      rgba(5, 7, 13, 0.55) 72%,
      rgba(5, 7, 13, 0.78) 100%
    ),
    rgba(5, 7, 13, 0.72);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.p2-service__icon {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.p2-service__name {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  text-align: left;
}

.p2-service__desc { grid-column: 1 / -1; }

.p2-service__icon {
  display: grid;
  place-items: center;
  width: max(2.4rem, calc(3.2 * var(--u)));
  height: max(2.4rem, calc(3.2 * var(--u)));
  border: 1.5px solid rgba(34, 245, 58, 0.45);
  border-radius: 10px;
  color: var(--p2-green);
  background: rgba(34, 245, 58, 0.08);
}

.p2-service__icon svg {
  width: 58%;
  height: 58%;
}

.p2-service__name {
  margin: 0;
  font-family: var(--p2-display);
  font-weight: 800;
  font-size: max(0.95rem, calc(1.55 * var(--u)));
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--p2-white);
  text-transform: uppercase;
}

.p2-service__desc {
  margin: 0;
  font-family: var(--p2-mono);
  font-size: max(0.62rem, calc(0.95 * var(--u)));
  line-height: 1.35;
  color: var(--p2-grey);
  text-transform: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* ——— Buttons ——— */
.p2-socials {
  display: flex;
  align-items: center;
  gap: max(24px, calc(4 * var(--u)));
  margin: 1.2em 0 1.4em;
}

/* ——— $BLUNANA: price beside the title, tool buttons beside the sub heading, sharing a left edge ——— */
.p2-headline {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-items: center;
  column-gap: max(28px, calc(4 * var(--u)));
  row-gap: 0.6em;
}

.p2-headline__aside .p2-stats { margin: 0; }
.p2-headline__aside .p2-live__status { margin-bottom: 0; }
.p2-headline .p2-sub { margin: 0; }

.p2-headline__tools {
  display: flex;
  gap: max(24px, calc(4 * var(--u)));
}

/* ——— Live collection stats ——— */
.p2-live .p2-stats { margin-bottom: 0; }

.p2-live__status {
  display: flex;
  align-items: center;
  gap: 0.55em;
  margin: 0.45em 0 0.6em;
  color: var(--p2-grey);
  font-family: var(--p2-mono);
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
  font-size: max(0.6rem, calc(0.85 * var(--u)));
  letter-spacing: 0.08em;
}

.p2-live__dot {
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 8px rgba(255, 59, 59, 0.8);
  animation: p2-live-pulse 1.6s ease-in-out infinite;
}

.p2-live.is-offline .p2-live__dot {
  background: #666;
  box-shadow: none;
  animation: none;
}

@keyframes p2-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

@media (prefers-reduced-motion: reduce) {
  .p2-live__dot { animation: none; }
}

.p2-socials a {
  display: block;
  width: max(26px, calc(3 * var(--u)));
  height: max(26px, calc(3 * var(--u)));
  color: #fff;
  transition: color 0.2s ease, transform 0.2s ease;
}

.p2-socials a:hover { color: var(--p2-green); transform: translateY(-2px); }
.p2-socials svg { width: 100%; height: 100%; }

.p2-pills {
  display: flex;
  flex-direction: column;
  gap: max(8px, calc(1.2 * var(--u-pill)));
  margin-top: 1.1em;
}

.p2-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max(140px, calc(15 * var(--u-pill)));
  height: max(28px, calc(2.1 * var(--u-pill)));
  padding: 0 16px;
  border: 2px solid var(--p2-green);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: var(--p2-mono);
  font-size: max(0.8rem, calc(1.3 * var(--u-pill)));
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.p2-pill:hover,
.p2-pill:focus-visible {
  background: var(--p2-green);
  color: #000;
  box-shadow: 0 0 18px rgba(34, 245, 58, 0.45);
  outline: none;
}

.p2-pill[data-todo] { opacity: 0.85; }

.p2-pill__icon {
  width: 1.5em;
  height: 1.5em;
  margin-right: 0.5em;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
}

.p2-chart-links {
  display: flex;
  gap: 28px;
  margin-top: 1.4em;
}

.p2-chart-links img {
  display: block;
  width: max(28px, calc(3.2 * var(--u)));
  height: max(28px, calc(3.2 * var(--u)));
  object-fit: contain;
  transition: transform 0.2s ease;
}

.p2-chart-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--p2-grey);
  text-decoration: none;
}

.p2-chart-links span {
  font-family: var(--p2-mono);
  font-size: max(0.65rem, calc(0.9 * var(--u)));
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.p2-chart-links a:hover img { transform: scale(1.1); }
.p2-chart-links a:hover span { color: var(--p2-green); }

/* Same sequential pulse as the partner logos: each icon lights up in its own 2s slot, label only while lit (or on hover) */
.p2-chart-links a:nth-child(1) { --i: 0; }
.p2-chart-links a:nth-child(2) { --i: 1; }
.p2-chart-links a:nth-child(3) { --i: 2; }
.p2-chart-links a:nth-child(4) { --i: 3; }
.p2-chart-links a:nth-child(5) { --i: 4; }

.p2-chart-links img {
  opacity: 0.8;
  animation: p2-logo-pulse 10s ease-in-out infinite;
  animation-delay: calc(var(--i) * 2s);
}

.p2-chart-links span {
  color: #fff;
  opacity: 0;
  animation: p2-label-show 10s ease-in-out infinite;
  animation-delay: calc(var(--i) * 2s);
}

.p2-chart-links a:hover span,
.p2-chart-links a:focus-visible span {
  opacity: 1;
  animation: none;
}

/* ——— Partners: title top, 2×3 grid mid, tagline + Solana bottom ——— */
.p2-page--partners {
  align-items: stretch;
  justify-content: stretch;
}

@media (min-width: 900px) and (orientation: landscape) {
  .p2-partner-grid {
    width: min(1100px, 92vw);
    gap: clamp(2rem, 5vh, 3.25rem) clamp(2.5rem, 6vw, 5rem);
  }

  .p2-partner {
    max-width: 220px;
    gap: 0.85em;
  }

  .p2-partner__logo {
    width: min(14vw, 168px);
    height: min(14vw, 168px);
  }

  .p2-partner__name {
    font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  }
}

.p2-partners {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  padding:
    calc(3.25rem + env(safe-area-inset-top, 0px))
    clamp(1rem, 4vw, 2rem)
    calc(1.5rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  box-sizing: border-box;
}

.p2-partners__title {
  position: static;
  flex: 0 0 auto;
  margin: 0 0 0.35rem;
  padding-top: 0.5rem;
  transform: none;
}

.p2-partners__title .p2-fade { animation: p2-letter-fade 3s ease-in-out infinite; }

@keyframes p2-letter-fade {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.2; }
}

.p2-partner-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  align-content: center;
  justify-items: center;
  gap: clamp(1.25rem, 3.5vh, 2.25rem) clamp(1rem, 4vw, 2.5rem);
  width: min(920px, 100%);
  min-height: 0;
  margin: 0 auto;
}

.p2-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65em;
  width: 100%;
  max-width: 200px;
  min-width: 0;
  text-align: center;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.p2-partner__logo {
  display: block;
  width: min(20vw, 148px);
  height: min(20vw, 148px);
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  opacity: 0.55;
  scale: 1;
  animation: p2-logo-pulse 12s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 2s);
}

/* Waving arm sits left of the ball — shift icon left so the body sits over the centered label */
.p2-partner--slotto .p2-partner__logo {
  transform: translateX(-10%);
}

.p2-partner__name {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--p2-mono);
  font-size: clamp(0.65rem, 2.4vw, 0.85rem);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1.2;
  opacity: 0;
  animation: p2-label-show 12s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 2s);
}

a.p2-partner:hover .p2-partner__logo,
a.p2-partner:focus-visible .p2-partner__logo {
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(34, 245, 58, 0.45));
}

a.p2-partner:hover .p2-partner__name,
a.p2-partner:focus-visible .p2-partner__name {
  opacity: 1;
}

a.p2-partner:focus-visible {
  outline: 2px solid var(--p2-green);
  outline-offset: 6px;
  border-radius: 12px;
}

.p2-partners__footer {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding-bottom: 0.25rem;
}

.p2-partners__tagline {
  position: static;
  margin: 0;
  padding: 0 12px;
  max-width: 36ch;
  font-family: var(--p2-display);
  font-weight: 600;
  font-size: clamp(0.72rem, 2.6vw, 1rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.p2-partners__solana {
  display: block;
  width: min(42vw, 200px);
  height: auto;
}

/* Each partner's 2s highlight occupies one slot of the 12s cycle */
@keyframes p2-logo-pulse {
  0%, 16.66%, 100% { opacity: 0.55; scale: 1; }
  8.33%            { opacity: 1;    scale: 1.12; }
}

@keyframes p2-label-show {
  0%, 16.66%, 100% { opacity: 0; }
  5%, 12%          { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .p2-partners__title .p2-fade,
  .p2-partner__logo,
  .p2-partner__name,
  .p2-chart-links img { animation: none; }
  .p2-partner__logo { opacity: 0.9; }
  .p2-partner__name { opacity: 1; }
  .p2-chart-links span { animation: none; opacity: 1; }
}

/* ——— Collection tools: icon buttons + modals ——— */
.p2-tool {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: max(26px, calc(3 * var(--u)));
  height: max(26px, calc(3 * var(--u)));
  padding: 0;
  border: 2px solid var(--p2-green);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.p2-tool svg { width: 56%; height: 56%; }

.p2-tool:hover,
.p2-tool:focus-visible {
  background: var(--p2-green);
  color: #000;
  box-shadow: 0 0 18px rgba(34, 245, 58, 0.45);
  outline: none;
}

.p2-modal {
  width: min(760px, calc(100vw - 32px));
  max-height: min(84vh, 900px);
  max-height: min(84dvh, 900px);
  padding: 0;
  border: 2px solid var(--p2-green);
  border-radius: 18px;
  background: #050505;
  color: var(--p2-white);
  font-family: var(--p2-mono);
  box-shadow: 0 0 40px rgba(34, 245, 58, 0.2);
  overflow: hidden;
}

.p2-modal--rarity { width: min(840px, calc(100vw - 32px)); }

.p2-modal[open] {
  display: flex;
  flex-direction: column;
}

.p2-modal::backdrop { background: rgba(0, 0, 0, 0.75); }

.p2-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 6px;
  flex-shrink: 0;
}

.p2-modal__title {
  margin: 0;
  font-family: var(--p2-display);
  font-weight: 800;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.p2-modal__close {
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  color: var(--p2-white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.p2-modal__close:hover { color: var(--p2-green); }

.p2-modal__meta {
  margin: 0;
  padding: 0 22px 12px;
  color: var(--p2-grey);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.p2-modal__body {
  overflow-y: auto;
  padding: 0 22px 22px;
}

.p2-modal a { color: var(--p2-white); }
.p2-modal a:hover { color: var(--p2-green); }
.p2-discord { color: var(--p2-green); }
.p2-muted { color: var(--p2-grey); }

.p2-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.p2-table th {
  position: sticky;
  top: 0;
  padding: 8px 6px;
  background: #050505;
  border-bottom: 1px solid rgba(34, 245, 58, 0.4);
  color: var(--p2-grey);
  font-weight: 400;
  text-align: left;
  text-transform: uppercase;
}

.p2-table td {
  padding: 7px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.p2-table .num { text-align: right; }

.p2-modal--chart { width: min(920px, calc(100vw - 32px)); }

.p2-chart {
  width: 100%;
  height: min(420px, 52vh);
}

.p2-chart__empty {
  padding: 60px 0;
  text-align: center;
}

.p2-chart__note {
  margin: 14px 0 0;
  color: var(--p2-grey);
  font-size: 0.8rem;
  line-height: 1.5;
}

.p2-chart__note a { color: var(--p2-green); }
.p2-neg { color: #f87171; }

.p2-rarity__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 26px;
  text-transform: uppercase;
  font-size: 1.25rem;
}

.p2-rarity__stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.p2-rarity__label {
  width: 5.2em;
  color: var(--p2-grey);
}

.p2-rarity__form input {
  width: 120px;
  height: 46px;
  padding: 0 12px;
  border: 2px solid var(--p2-green);
  border-radius: 999px;
  background: #000;
  color: #fff;
  font: inherit;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.p2-rarity__form input::-webkit-outer-spin-button,
.p2-rarity__form input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.p2-rarity__form input:focus {
  outline: none;
  box-shadow: 0 0 12px rgba(34, 245, 58, 0.45);
}

.p2-rarity__step {
  width: 46px;
  height: 46px;
  border: 2px solid var(--p2-green);
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.p2-rarity__step:hover { background: var(--p2-green); color: #000; }

.p2-rarity {
  display: grid;
  grid-template-columns: 43% 1fr;
  gap: 26px;
  align-items: start;
}

.p2-rarity__media:empty { aspect-ratio: 1; border-radius: 12px; background: rgba(255, 255, 255, 0.04); }

.p2-rarity__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(34, 245, 58, 0.4);
}

.p2-rarity__name {
  margin: 0;
  font-family: var(--p2-display);
  font-weight: 800;
  font-size: 2.9rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.p2-rarity__rank {
  margin: 8px 0 20px;
  text-transform: uppercase;
  font-size: 1.65rem;
}

.p2-rarity__facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  margin: 0;
  font-size: 1.35rem;
}

.p2-rarity__facts dt { color: var(--p2-grey); text-transform: uppercase; }
.p2-rarity__facts dd { margin: 0; }
.p2-listed { color: var(--p2-green) !important; }

.p2-traits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
}

.p2-traits li {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.p2-trait__type { color: var(--p2-grey); text-transform: uppercase; }
.p2-trait__pct { color: var(--p2-green); }

@media (max-width: 600px) {
  .p2-rarity,
  .p2-traits { grid-template-columns: 1fr; }
  .p2-rarity__img { max-width: 240px; }
  .p2-rarity__name { font-size: 2.2rem; }
  .p2-rarity__rank { font-size: 1.3rem; }
  .p2-rarity__facts { font-size: 1.1rem; }
  .p2-rarity__form { font-size: 1rem; }
  .p2-table { font-size: 0.75rem; }
}

/* ——— Holder portal (top-right profile login) ——— */
.p2-portal-btn {
  position: fixed;
  top: calc(1.1rem + var(--safe-top));
  right: max(1.1rem, env(safe-area-inset-right));
  left: auto;
  bottom: auto;
  z-index: 130;
  display: grid;
  place-items: center;
  width: var(--orb-primary);
  height: var(--orb-primary);
  padding: 0;
  border: 2px solid var(--p2-green);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(34, 245, 58, 0.25);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.35s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.p2-portal-btn__icon {
  width: 82%;
  height: 82%;
}

.p2-portal-btn__pfp {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.p2-portal-btn.has-pfp { padding: 2px; }
.p2-portal-btn.has-pfp .p2-portal-btn__icon { display: none; }
.p2-portal-btn.has-pfp:hover,
.p2-portal-btn.has-pfp:focus-visible { background: var(--p2-green); }

.p2-portal-btn:hover,
.p2-portal-btn:focus-visible {
  background: var(--p2-green);
  color: #000;
  box-shadow: 0 0 22px rgba(34, 245, 58, 0.55);
  outline: none;
}

.p2-portal-btn__badge {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid #000;
  border-radius: 50%;
  background: var(--p2-green);
  color: #000;
}

.p2-portal-btn__badge svg { width: 12px; height: 12px; }
.p2-portal-btn__lock { display: none; }
.p2-portal-btn.is-locked .p2-portal-btn__lock { display: block; }
.p2-portal-btn.is-locked .p2-portal-btn__check { display: none; }
.p2-portal-btn.is-locked .p2-portal-btn__badge { background: #ff3b3b; color: #fff; }

.p2-modal--portal {
  width: min(920px, calc(100vw - 32px));
}

.p2-tabs {
  display: flex;
  gap: 8px;
  padding: 6px 22px 14px;
  flex-shrink: 0;
}

.p2-tab {
  padding: 8px 18px;
  border: 2px solid var(--p2-green);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: var(--p2-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  cursor: pointer;
}

.p2-tab.is-active { background: var(--p2-green); color: #000; }

.p2-tabpanel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.p2-tabpanel[hidden] { display: none !important; }

.p2-modal--portal .p2-modal__body {
  flex: 1 1 auto;
  min-height: 0;
}

.p2-verify__intro {
  margin: 0 0 18px;
  line-height: 1.55;
}

.p2-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p2-step {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.p2-step.is-done { border-color: rgba(34, 245, 58, 0.35); }

.p2-step.is-current {
  border-color: var(--p2-green);
  background: rgba(34, 245, 58, 0.06);
  box-shadow: 0 0 18px rgba(34, 245, 58, 0.18);
}

.p2-step__status {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid #ff3b3b;
  border-radius: 50%;
  color: #ff3b3b;
}

.p2-step__status svg { width: 15px; height: 15px; }
.p2-step__tick { display: none; }
.p2-step.is-done .p2-step__status { border-color: var(--p2-green); background: var(--p2-green); color: #000; }
.p2-step.is-done .p2-step__tick { display: block; }
.p2-step.is-done .p2-step__cross { display: none; }

.p2-discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #5865f2;
  color: #fff;
  font-family: var(--p2-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.p2-discord-btn svg { width: 20px; height: 20px; }

.p2-discord-btn:hover,
.p2-discord-btn:focus-visible {
  background: #4752c4;
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.55);
  outline: none;
}

.p2-wallets {
  grid-column: 2 / -1;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p2-wallets[hidden] { display: none; }

.p2-wallets li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 0.85rem;
}

.p2-wallets li .p2-link { margin-left: auto; }
.p2-wallets__tag { color: var(--p2-grey); font-size: 0.7rem; text-transform: uppercase; }

.p2-step .p2-wallet-pick { grid-column: 2 / -1; margin-top: 0; }
.p2-verify__back { margin-top: 14px; }
.p2-mine__meta.is-flash { color: var(--p2-green); }

.p2-step__text { display: grid; gap: 2px; }
.p2-step__text strong { font-weight: 500; text-transform: uppercase; }
.p2-step__state { color: var(--p2-grey); font-size: 0.85rem; }

.p2-step__btn,
.p2-wallet-pick .p2-pill { width: auto; min-width: 190px; height: 38px; font-size: 0.8rem; }
.p2-step__btn[hidden] { display: none; }
.p2-step__btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.p2-step__btn[disabled]:hover { background: rgba(0, 0, 0, 0.55); color: #fff; box-shadow: none; }

.p2-wallet-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.p2-mine__who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.p2-mine__avatar {
  width: 52px;
  height: 52px;
  border: 2px solid var(--p2-green);
  border-radius: 50%;
}

.p2-mine__name {
  margin: 0;
  font-family: var(--p2-display);
  font-weight: 700;
  font-size: 1.3rem;
}

.p2-mine__wallets { margin: 2px 0 0; font-size: 0.8rem; }

.p2-mine__actions {
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.p2-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--p2-grey);
  font-family: var(--p2-mono);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
}

.p2-link:hover { color: var(--p2-green); }

.p2-mine__meta { padding: 0 0 8px; }
.p2-mine__table { font-size: 1rem; }
.p2-mine__table td { padding: 10px 6px; }
.p2-mine__table tfoot td { border-top: 1px solid rgba(34, 245, 58, 0.4); border-bottom: 0; color: var(--p2-green); font-weight: 500; }

.p2-portal__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 0 22px 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--p2-grey);
}

.p2-portal__controls label { display: flex; align-items: center; gap: 8px; }

.p2-portal__controls select {
  padding: 6px 10px;
  border: 1px solid var(--p2-green);
  border-radius: 8px;
  background: #000;
  color: #fff;
  font-family: var(--p2-mono);
  font-size: 0.8rem;
}

.p2-portal__controls .p2-modal__meta { padding: 0; margin-left: auto; }

.p2-table tr.is-me td { background: rgba(34, 245, 58, 0.12); }

@media (max-width: 600px) {
  .p2-modal,
  .p2-modal--portal,
  .p2-modal--rarity,
  .p2-modal--chart {
    width: calc(100vw - 12px);
    max-width: calc(100vw - 12px);
    /* Explicit height so flex children get space on iOS Safari dialog */
    height: calc(100vh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    height: calc(100dvh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    max-height: calc(100vh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    margin: auto;
    border-radius: 14px;
  }

  .p2-modal__head { padding: 14px 16px 4px; flex-shrink: 0; }
  .p2-modal__title { font-size: 1.25rem; }
  .p2-tabs { padding: 4px 16px 12px; gap: 6px; }
  .p2-tab { flex: 1; text-align: center; padding: 10px 10px; font-size: 0.78rem; }
  .p2-modal__body { padding: 0 16px 20px; }
  .p2-portal__controls { padding: 0 16px 12px; }
  .p2-verify-badge { width: calc(100% - 32px); margin: 0 16px 12px; }
  .p2-verify__intro { font-size: 0.9rem; }

  .p2-step { grid-template-columns: 30px 1fr; }
  .p2-step > .p2-link { grid-column: 2; justify-self: start; }
  .p2-step__btn { grid-column: 1 / -1; width: 100%; min-height: 44px; }
  .p2-discord-btn { width: 100%; min-height: 44px; }
  .p2-mine__who { flex-wrap: wrap; }
  .p2-mine__actions { margin-left: 0; width: 100%; }
  .p2-portal__controls .p2-modal__meta { margin-left: 0; }
}

.p2-verify-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 44px);
  margin: 0 22px 12px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 59, 59, 0.45);
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255, 59, 59, 0.22), rgba(255, 59, 59, 0) 75%);
  color: var(--p2-white);
  font-family: var(--p2-mono);
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.p2-verify-badge:hover,
.p2-verify-badge:focus-visible { border-color: #ff3b3b; outline: none; }

.p2-verify-badge__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff3b3b;
  color: #fff;
}

.p2-verify-badge__icon svg { width: 12px; height: 12px; }
.p2-verify-badge u { color: #fff; text-underline-offset: 2px; }
.p2-verify-badge__tick,
.p2-verify-badge__on { display: none; }

.p2-verified .p2-verify-badge {
  border-color: rgba(34, 245, 58, 0.45);
  background: linear-gradient(90deg, rgba(34, 245, 58, 0.2), rgba(34, 245, 58, 0) 75%);
  cursor: default;
}

.p2-verified .p2-verify-badge__icon { background: var(--p2-green); color: #000; }
.p2-verified .p2-verify-badge__tick,
.p2-verified .p2-verify-badge__on { display: block; }
.p2-verified .p2-verify-badge__on { display: inline; }
.p2-verified .p2-verify-badge__cross,
.p2-verified .p2-verify-badge__off { display: none; }

/* ——— Toast ——— */
.p2-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 140;
  padding: 10px 18px;
  border: 1px solid var(--p2-green);
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-family: var(--p2-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.p2-toast.is-shown {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 599px) {
  :root {
    --orb-primary: 80px;
    --orb-near: 50px;
    --orb-secondary: 40px;
    --orb-gap: 10px;
  }

  .orbit-nav__stage {
    max-width: calc(100vw - 1.5rem);
  }

  .p2-portal-btn {
    top: calc(0.85rem + var(--safe-top));
    right: max(0.85rem, env(safe-area-inset-right));
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-bubble,
  .orbit-bubble__inner { transition-duration: 0.01ms; }
}

/* ——— Portrait footer nav (replaces orbit on phones standing up) ——— */
.p2-footnav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  align-items: center;
  gap: 4px;
  padding: 8px max(8px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.82) 28%, #000 100%);
  pointer-events: none;
}

.p2-footnav__scroller {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  pointer-events: auto;
}

.p2-footnav__scroller::-webkit-scrollbar { display: none; }

.p2-footnav__track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  padding: 4px 6px;
}

.p2-footnav__item {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.85);
  color: var(--p2-white);
  display: grid;
  place-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

.p2-footnav__item.is-active {
  border-color: var(--p2-green);
  box-shadow: 0 0 0 3px rgba(34, 245, 58, 0.22), 0 0 18px rgba(34, 245, 58, 0.35);
}

.p2-footnav__item span {
  width: 70%;
  height: 70%;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.p2-footnav__item span:has(img) { width: 92%; height: 92%; }
.p2-footnav__item svg { width: 100%; height: 100%; display: block; }
.p2-footnav__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.p2-footnav__item img.orbit-bubble__img:not(.orbit-bubble__img--cover) { object-fit: contain; }

.p2-footnav__arrow {
  flex: 0 0 auto;
  width: 36px;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(34, 245, 58, 0.45);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.85);
  color: var(--p2-green);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.p2-footnav__arrow[hidden] { display: none !important; }

.p2-swipe-hint {
  display: none;
  position: fixed;
  left: 50%;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  z-index: 110;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid rgba(34, 245, 58, 0.4);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--p2-grey);
  font-family: var(--p2-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.p2-swipe-hint.is-shown { opacity: 1; }
.p2-swipe-hint:not(.is-shown) { opacity: 0; }

/* ——— Portrait screens: founder's portrait artwork, text above the art ——— */
@media (orientation: portrait) {
  .orbit-nav { display: none !important; }

  .p2-footnav {
    display: flex;
  }

  .p2-swipe-hint { display: block; }

  /* Above footer for Copy CA, Coming soon, etc. */
  .p2-toast {
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  html, body.p2 {
    height: 100%;
    overflow: hidden;
  }

  html:not(.p2-nav-scrolling) {
    scroll-snap-type: none;
  }

  .p2-main {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    height: 100dvh;
    height: 100svh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
  }

  .p2-page {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    align-items: flex-start;
    padding-top: calc(1.25rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    background-size: cover;
  }

  .p2-page--home      { background-image: url('/assets/preview2/home-portrait.jpg'); }
  .p2-page--mnk3ys    { background-image: url('/assets/preview2/mnk3ys-portrait.jpg'); }
  .p2-page--zmb3ys    { background-image: url('/assets/preview2/zmb3ys-portrait.jpg'); }
  .p2-page--blunana   { background-image: url('/assets/preview2/blunana-portrait.jpg?v=2'); }
  .p2-page--games     { background-image: none; }
  .p2-page--lp        { background-image: url('/assets/preview2/lp-portrait.jpg?v=2'); }
  .p2-page--utility   { background-image: url('/assets/preview2/utility-portrait.jpg?v=2'); }
  .p2-page--juice     { background-image: url('/assets/preview2/juice-portrait.jpg'); }
  .p2-page--juicebags { background-image: url('/assets/preview2/juicebags-portrait.jpg'); }
  .p2-page--b3bs      { background-image: url('/assets/preview2/b3bs-portrait.jpg'); }
  .p2-page--mnk1sh    { background-image: url('/assets/preview2/mnk1sh-portrait.jpg'); }
  .p2-page--poker     { background-image: none; }
  .p2-page--services  { background-image: none; }
  .p2-page--partners  { background-image: none; }

  .p2-page--home      { background-image: none; }

  .p2-page--home::before {
    background-image: url('/assets/preview2/home-portrait.jpg');
    background-size: cover;
  }

  .p2-page--blunana,
  .p2-page--games,
  .p2-page--lp,
  .p2-page--utility,
  .p2-page--b3bs {
    align-items: center;
    justify-content: center;
  }

  /*
   * LP / Utility / B3BS portrait:
   * content pinned top (Partners title offset), art pinned bottom with the same margin.
   * --p2-edge-pad = page top pad (4.5rem) + title pad (0.75rem)
   */
  .p2-page--lp,
  .p2-page--utility,
  .p2-page--b3bs {
    --p2-edge-pad: 5.25rem;
    background-image: none !important;
    align-items: flex-start;
    justify-content: center;
    padding-top: calc(4.5rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(var(--p2-edge-pad) + env(safe-area-inset-bottom, 0px));
    overflow: hidden;
  }

  .p2-page--lp::before,
  .p2-page--utility::before,
  .p2-page--b3bs::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
    box-sizing: border-box;
    /* Same margin under the art as above the title */
    padding-bottom: calc(var(--p2-edge-pad) + env(safe-area-inset-bottom, 0px));
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center bottom;
    background-origin: content-box;
    background-clip: content-box;
    pointer-events: none;
    transform: none;
  }

  .p2-page--lp::before {
    background-image: url('/assets/preview2/lp-portrait.jpg?v=2');
    background-size: 130% auto;
    background-position: 34% bottom;
  }

  .p2-page--utility::before {
    background-image: url('/assets/preview2/utility-portrait.jpg?v=2');
    transform: translate3d(0, 14vh, 0);
  }

  .p2-page--b3bs::before {
    background-image: url('/assets/preview2/b3bs-portrait.jpg');
  }

  .p2-page--lp .p2-page__content,
  .p2-page--utility .p2-page__content,
  .p2-page--b3bs .p2-page__content {
    position: relative;
    z-index: 1;
  }

  .p2-page--services {
    align-items: flex-start;
    justify-content: center;
    padding-top: calc(4.5rem + env(safe-area-inset-top, 0px));
  }

  .p2-page--lp .p2-title,
  .p2-page--utility .p2-title,
  .p2-page--b3bs .p2-title,
  .p2-services__title {
    padding-top: 0.75rem;
  }

  .p2-page--lp .p2-center,
  .p2-page--utility .p2-center,
  .p2-page--b3bs .p2-center {
    width: 100%;
    max-width: 36rem;
    margin: 0;
    align-items: center;
    text-align: center;
  }

  .p2-page--lp .p2-sub,
  .p2-page--b3bs .p2-sub {
    margin: 0.35em 0 0;
    max-width: 34ch;
  }

  /* Definition when copy sits on top of art */
  .p2-page--lp .p2-title,
  .p2-page--utility .p2-title,
  .p2-page--b3bs .p2-title,
  .p2-page--lp .p2-sub,
  .p2-page--utility .p2-sub,
  .p2-page--b3bs .p2-sub,
  .p2-page--lp .p2-soon,
  .p2-page--utility .p2-soon,
  .p2-page--b3bs .p2-soon,
  .p2-page--lp .p2-desc,
  .p2-page--utility .p2-desc,
  .p2-page--b3bs .p2-desc {
    text-shadow:
      0 0 10px #000,
      0 0 22px #000,
      0 0 36px rgba(0, 0, 0, 0.95),
      0 2px 4px #000;
  }

  .p2-page--home {
    align-items: flex-start;
    padding-top: 55svh;
  }

  .p2-tagline--hero { display: block; }

  .p2-page--split {
    justify-content: center;
    padding-top: calc(1.25rem + env(safe-area-inset-top, 0px));
    background-position: center;
  }

  /* MNK3YS / ZMB3YS portrait: top-align (row flex → align-items); lift bg */
  .p2-page--mnk3ys,
  .p2-page--zmb3ys {
    align-items: flex-start;
    justify-content: center;
    background-position: center 72%;
    background-size: cover;
    padding-top: calc(4.5rem + env(safe-area-inset-top, 0px));
  }

  .p2-page--mnk3ys .p2-split,
  .p2-page--zmb3ys .p2-split {
    width: 100%;
    max-width: 34rem;
    margin: 0 auto;
    padding-top: 0.75rem;
    align-items: center;
    text-align: center;
  }

  .p2-page--mnk3ys .p2-live,
  .p2-page--mnk3ys .p2-socials,
  .p2-page--mnk3ys .p2-pills,
  .p2-page--zmb3ys .p2-live,
  .p2-page--zmb3ys .p2-socials,
  .p2-page--zmb3ys .p2-pills {
    align-self: center;
  }

  .p2-page--mnk3ys .p2-title,
  .p2-page--mnk3ys .p2-tagline,
  .p2-page--mnk3ys .p2-stats,
  .p2-page--mnk3ys .p2-live__status,
  .p2-page--zmb3ys .p2-title,
  .p2-page--zmb3ys .p2-tagline,
  .p2-page--zmb3ys .p2-stats,
  .p2-page--zmb3ys .p2-live__status {
    text-shadow:
      0 0 10px #000,
      0 0 22px #000,
      0 0 36px rgba(0, 0, 0, 0.95),
      0 2px 4px #000;
  }

  .p2-split .p2-pills { gap: 8px; margin-top: 0.5em; }
  .p2-split .p2-pill { height: 32px; }

  .p2-split {
    margin-left: 0;
    align-items: center;
    text-align: center;
  }

  /* Fit each title to ~88% of screen width based on its --chars */
  .p2-title,
  .p2-split .p2-title,
  .p2-title--hero { font-size: min(16vw, calc(118vw / var(--chars, 8)), 6.5rem); }

  .p2-stats,
  .p2-desc,
  .p2-soon { font-size: clamp(0.8rem, 3.6vw, 1.1rem); }

  .p2-sub,
  .p2-kicker { font-size: clamp(0.85rem, 3.8vw, 1.2rem); }

  .p2-tagline { font-size: clamp(0.9rem, 4.2vw, 1.3rem); }

  .p2-socials { margin: 0.9em 0 0.6em; }
  .p2-socials a,
  .p2-socials .p2-tool,
  .p2-headline__tools .p2-tool { width: 34px; height: 34px; }
  .p2-live__status { justify-content: center; }

  .p2-headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6em;
  }

  .p2-headline__aside { order: -1; }

  .p2-pills {
    gap: 10px;
    margin-top: 0.9em;
  }

  .p2-page--games,
  .p2-page--services {
    height: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    justify-content: center;
    align-items: flex-start;
  }

  .p2-page--poker {
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    justify-content: flex-start;
    align-items: stretch;
    padding-top: calc(3.25rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  }

  .p2-page--games {
    padding-top: calc(3.25rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  }

  .p2-poker {
    width: min(100%, 42rem);
    height: 100%;
    max-height: none;
  }

  .p2-games,
  .p2-services {
    max-height: none;
    width: min(100%, 36rem);
  }

  .p2-games {
    gap: 0.65em;
    padding-block: 0.5rem 1.25rem;
  }

  .p2-service-grid {
    grid-template-columns: 1fr;
    gap: 0.85em;
  }

  .p2-service {
    grid-template-columns: auto minmax(0, 1fr);
    justify-content: start;
    text-align: left;
  }

  .p2-service__desc {
    text-align: left;
    font-size: clamp(0.75rem, 3.2vw, 0.95rem);
    max-width: 42ch;
  }

  /* Profile matches footer nav icon size */
  .p2-portal-btn {
    width: 52px;
    height: 52px;
    top: calc(0.75rem + var(--safe-top));
    right: max(0.75rem, env(safe-area-inset-right));
  }

  .p2-portal-btn__badge {
    width: 18px;
    height: 18px;
    right: -2px;
    bottom: -2px;
  }

  .p2-portal-btn__badge svg { width: 10px; height: 10px; }

  /* GAM3S: title → description → image → play */
  .p2-game,
  .p2-game--flip {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.7em;
    grid-template-columns: none;
    column-gap: 0;
  }

  .p2-game__copy {
    display: contents;
  }

  .p2-game__word,
  .p2-game--flip .p2-game__word {
    order: 1;
    justify-content: center;
    flex-wrap: nowrap;
    width: auto;
  }

  .p2-game__copy .p2-desc {
    order: 2;
    max-width: min(88vw, 34ch);
    margin-inline: auto;
    font-size: clamp(0.78rem, 3.3vw, 0.95rem);
    line-height: 1.35;
    opacity: 0.92;
    text-align: center;
  }

  .p2-game__shot,
  .p2-game--flip .p2-game__shot {
    order: 3;
    width: 60vw;
    max-width: 60vw;
    height: auto;
    aspect-ratio: 16 / 10;
    margin-inline: auto;
    border-radius: 12px;
    justify-self: center;
    align-self: center;
  }

  .p2-game__copy .p2-pill {
    order: 4;
    margin-top: 0.15em;
    align-self: center;
  }

  .p2-game:not(.p2-game--flip) .p2-game__copy,
  .p2-game--flip .p2-game__copy {
    align-items: center;
    text-align: center;
  }

  .p2-game__mark {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
  }

  .p2-game-list {
    gap: 2em;
    margin-top: 0.85em;
  }

  .p2-pill {
    width: min(62vw, 240px);
    height: 36px;
    font-size: 0.95rem;
  }

  .p2-chart-links img { width: 38px; height: 38px; }

  .p2-partners {
    padding:
      calc(4.5rem + env(safe-area-inset-top, 0px))
      1rem
      calc(108px + env(safe-area-inset-bottom, 0px));
  }

  .p2-partners__title {
    padding-top: 0.75rem;
  }

  .p2-partners__footer {
    padding-bottom: 0.85rem;
  }

  .p2-partner-grid {
    width: min(640px, 100%);
    gap: clamp(1.1rem, 3vh, 1.6rem) clamp(0.65rem, 3vw, 1.25rem);
  }

  .p2-partner {
    max-width: 120px;
  }

  .p2-partner__logo {
    width: min(22vw, 92px);
    height: min(22vw, 92px);
  }

  .p2-partners__footer {
    gap: 0.7rem;
    padding-bottom: 0.35rem;
  }

  .p2-partners__solana {
    width: min(48vw, 160px);
  }
}

/* ——— Phone landscape: portrait-only gate (tablets/iPads stay free) ——— */
.p2-rotate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: max(1rem, env(safe-area-inset-top, 0px)) max(1.25rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(1.25rem, env(safe-area-inset-left, 0px));
  background: #000;
  text-align: center;
  box-sizing: border-box;
}

.p2-rotate__icon {
  display: grid;
  place-items: center;
  width: clamp(2.6rem, 9vw, 3.4rem);
  height: clamp(2.6rem, 9vw, 3.4rem);
  color: var(--p2-green);
  animation: p2-rotate-spin 1.6s linear infinite;
}

.p2-rotate__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.p2-rotate__msg {
  margin: 0;
  font-family: var(--p2-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 4vw, 1.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

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

/* Phones in landscape are short; tablets/iPads/desktop stay free */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 900px) {
  .p2-rotate {
    display: flex;
  }

  .p2-rotate[hidden] {
    display: flex;
  }

  html,
  body.p2 {
    overflow: hidden !important;
    height: 100%;
    overscroll-behavior: none;
    touch-action: none;
  }

  .orbit-nav,
  .p2-footnav,
  .p2-swipe-hint,
  .p2-main,
  .p2-toast {
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .p2-page__content { opacity: 1; transform: none; transition: none; }
  .p2-page--home::before { animation: none; }
  .p2-rotate__icon { animation: none; }
}
