/* In-phone Whot! — table UI matching Naija house-rules refs */

.whot-app {
  --whot-bg: #06140c;
  --whot-felt: #0d2a18;
  --whot-felt-hi: #143822;
  --whot-gold: #f5c518;
  --whot-gold-soft: #ffe08a;
  --whot-card: #f4efe6;
  --whot-ink: #7a1520;
  --whot-back: #8b1c24;
  --whot-rim: #6b4a2a;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: radial-gradient(120% 80% at 50% 0%, #0f2418 0%, var(--whot-bg) 55%);
  color: #f5f7f4;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  overflow: hidden;
  z-index: 4;
}

.whot-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px 6px;
  flex-shrink: 0;
}

.whot-head > div:first-child {
  min-width: 0;
}

.whot-head h1 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.whot-head p {
  margin: 2px 0 0;
  font-size: 11px;
  color: rgba(245, 247, 244, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.whot-head__icon {
  flex: none;
  width: 1.75em;
  height: 1.75em;
  margin: -0.4em -0.1em -0.4em -0.15em;
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.45));
}

.whot-banner__icon {
  display: inline-block;
  width: 1.7em;
  height: 1.7em;
  margin: -0.45em 0 -0.4em 0.1em;
  vertical-align: -0.45em;
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.35));
}

.whot-head__actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.whot-x {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.whot-hold {
  position: relative;
  flex: none;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: #e8f0e9;
  background: rgba(20, 56, 34, 0.85);
  cursor: pointer;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.whot-hold span {
  position: relative;
}
.whot-hold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #c62f3d, #e5484d);
  transform: scaleX(0);
  transform-origin: left center;
}
.whot-hold.is-holding::before {
  animation: whot-hold 1.2s linear both;
  animation-delay: var(--hold-delay, 0ms);
}
@keyframes whot-hold {
  to { transform: scaleX(1); }
}

.whot-lobby {
  padding: 8px 14px 20px;
  overflow: auto;
  flex: 1;
}

.whot-lobby__lead {
  margin: 0 0 12px;
  font-size: 13px;
  color: rgba(245, 247, 244, 0.7);
}

.whot-table-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  margin-bottom: 10px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(245, 197, 24, 0.22);
  background: linear-gradient(160deg, rgba(20, 56, 34, 0.9), rgba(6, 20, 12, 0.95));
  color: inherit;
  text-align: left;
}

.whot-table-card.is-watch-hot {
  border-color: rgba(245, 197, 24, 0.55);
  box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.15);
}

.whot-table-card strong {
  font-size: 14px;
}

.whot-table-card > span {
  font-size: 12px;
  color: rgba(245, 247, 244, 0.55);
}

.whot-table-card__actions {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
}

.whot-table-card__actions .whot-btn {
  flex: 1;
  text-align: center;
}

.whot-opp.is-active span {
  color: var(--whot-gold);
  font-weight: 700;
}

.whot-opp.is-active .whot-fan .whot-card--back {
  box-shadow: 0 0 0 2px var(--whot-gold), 0 0 12px rgba(245, 197, 24, 0.45);
}

.whot-opp--bottom {
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
}

.whot-app.is-watching .whot-table {
  flex: 1;
  min-height: 240px;
}

.whot-app.is-watching .whot-market {
  cursor: default;
  pointer-events: none;
}

.whot-seats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0 10px 6px;
  flex-shrink: 0;
}

.whot-seat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 4px 5px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid transparent;
  min-width: 0;
}

.whot-seat.is-active {
  border-color: var(--whot-gold);
  box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.35), 0 0 14px rgba(245, 197, 24, 0.25);
}

.whot-seat.is-winner {
  border-color: #3dd68c;
  box-shadow: 0 0 12px rgba(61, 214, 140, 0.35);
}

.whot-seat.is-winner::after {
  content: "🏆";
  font-size: 11px;
  line-height: 1;
}

.whot-av {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: hsl(var(--h, 140) 45% 38%);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.whot-seat.is-active .whot-av {
  box-shadow: 0 0 0 2px var(--whot-gold), 0 0 10px rgba(245, 197, 24, 0.55);
}

.whot-seat__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.whot-seat__meta strong {
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.whot-seat__cards {
  font-size: 10px;
  color: rgba(245, 247, 244, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.whot-seat__cards i {
  width: 9px;
  height: 12px;
  border-radius: 2px;
  background: var(--whot-back);
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.35);
}

.whot-seat__cards b {
  color: var(--whot-gold);
  font-weight: 700;
}

.whot-log {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 10px 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 11px;
  flex-shrink: 0;
}

.whot-log span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.whot-react {
  border: 0;
  background: transparent;
  font-size: 16px;
  line-height: 1;
  cursor: default;
  padding: 0;
}

.whot-table {
  position: relative;
  flex: 1;
  margin: 0 10px;
  min-height: 180px;
  border-radius: 18px;
  border: 2px solid var(--whot-rim);
  background:
    radial-gradient(ellipse at 50% 40%, var(--whot-felt-hi), var(--whot-felt) 70%);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.whot-opp {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  color: rgba(245, 247, 244, 0.75);
  z-index: 1;
}

.whot-opp em {
  font-style: normal;
  font-weight: 700;
  color: var(--whot-gold-soft);
}

.whot-opp--top {
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
}

.whot-opp--left {
  left: 8px;
  top: 42%;
  transform: translateY(-50%);
}

.whot-opp--right {
  right: 8px;
  top: 42%;
  transform: translateY(-50%);
}

.whot-fan {
  display: flex;
  gap: 0;
}

.whot-fan .whot-card--back {
  width: 28px;
  height: 38px;
  font-size: 7px;
  margin-left: -10px;
}

.whot-fan .whot-card--back:first-child {
  margin-left: 0;
}

.whot-piles {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 2;
}

.whot-market {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
}

.whot-market.is-hot .whot-card--back,
.whot-market:focus-visible .whot-card--back {
  box-shadow: 0 0 0 2px var(--whot-gold), 0 0 16px rgba(245, 197, 24, 0.55);
  animation: whot-pulse 1.1s ease-in-out infinite;
}

.whot-market__label {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(139, 28, 36, 0.9);
  color: #fff;
}

.whot-discard {
  position: relative;
}

.whot-need {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
  color: #1a1200;
  background: var(--whot-gold);
  padding: 2px 8px;
  border-radius: 999px;
}

.whot-flash {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  z-index: 5;
  font-size: clamp(22px, 7vw, 34px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--whot-gold);
  text-shadow:
    0 2px 0 #3a2a00,
    0 4px 0 #2a1e00,
    0 8px 18px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  pointer-events: none;
  animation: whot-flash-in 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.whot-flash--stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.05;
}

.whot-hint {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 42px;
  margin: 0;
  text-align: center;
  font-size: 10px;
  line-height: 1.35;
  color: var(--whot-gold-soft);
  z-index: 2;
}

.whot-status {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: rgba(245, 247, 244, 0.85);
  pointer-events: auto;
}

.whot-shape-svg {
  width: 34px;
  height: 34px;
  display: block;
}

.whot-status__btns {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.whot-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.whot-btn--ghost {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
  font-size: 11px;
}

.whot-btn--green {
  background: #1f9d55;
  color: #fff;
  width: 100%;
  padding: 12px;
  font-size: 14px;
}

.whot-btn--brown {
  background: #3a2418;
  color: var(--whot-gold);
}

.whot-btn--soft {
  background: rgba(0, 0, 0, 0.12);
  color: #1a1200;
}

.whot-hand {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  padding: 44px 12px 14px;
  margin-top: -48px;
  min-height: 150px;
  flex-shrink: 0;
  /* Sideways scroll reveals cards the phone edge cuts off. overflow-y must be
     hidden once overflow-x scrolls; the top padding keeps the lift inside. */
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  z-index: 8;
  /* The row overlaps the status buttons. Ignore hits on the empty padding so
     Go to market stays clickable; the cards themselves still receive taps. */
  pointer-events: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
}

.whot-hand.is-overflow {
  justify-content: flex-start;
}

.whot-hand::-webkit-scrollbar {
  display: none;
}

.whot-hand .whot-card {
  width: 62px;
  height: 92px;
  margin-left: -14px;
  flex-shrink: 0;
  pointer-events: auto;
  touch-action: pan-x;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whot-hand .whot-card:first-child {
  margin-left: 0;
}

.whot-hand .whot-card.is-lifted,
.whot-hand .whot-card.is-playable {
  transform: translateY(-7px);
  box-shadow: 0 0 0 2px var(--whot-gold), 0 8px 16px rgba(0, 0, 0, 0.35);
  z-index: 9;
  animation: whot-lift 1.4s ease-in-out infinite;
}

/* Cards */
.whot-card {
  position: relative;
  width: 54px;
  height: 78px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: var(--whot-card);
  color: var(--whot-ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

.whot-card:disabled {
  cursor: default;
}

.whot-card--back {
  background: linear-gradient(155deg, #a4222c 0%, #6e1218 100%);
  color: var(--whot-gold);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.08em;
  transform: rotate(-18deg);
  border: 1px solid rgba(245, 197, 24, 0.35);
}

.whot-card--back span {
  transform: rotate(18deg);
}

.whot-card--back em {
  display: none;
}

.whot-market .whot-card--back {
  width: 54px;
  height: 78px;
  transform: none;
}

.whot-market .whot-card--back span {
  transform: rotate(-22deg);
}

.whot-card__corner {
  position: absolute;
  top: 4px;
  left: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  font-size: 11px;
  font-weight: 800;
}

.whot-card__corner i {
  font-style: normal;
  font-size: 9px;
}

.whot-card__corner--br {
  top: auto;
  left: auto;
  bottom: 4px;
  right: 5px;
  transform: rotate(180deg);
}

.whot-card__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
}

.whot-card--circle .whot-card__center { font-size: 32px; }
.whot-card--triangle .whot-card__center { font-size: 30px; }
.whot-card--cross .whot-card__center { font-size: 28px; }
.whot-card--square .whot-card__center { font-size: 26px; }
.whot-card--star .whot-card__center { font-size: 30px; color: #9a1a28; }

.whot-card--whot {
  background: #f7f1e6;
}

.whot-card__rank {
  position: absolute;
  top: 4px;
  left: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--whot-ink);
}

.whot-card__rank--br {
  top: auto;
  left: auto;
  bottom: 4px;
  right: 6px;
}

.whot-card__whot-box {
  position: absolute;
  inset: 18px 8px 18px;
  border: 2px solid var(--whot-ink);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.whot-card__whot-box strong {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--whot-ink);
}

.whot-card__mini-shapes {
  font-size: 8px;
  color: var(--whot-ink);
}

.whot-discard .whot-card {
  width: 58px;
  height: 84px;
  cursor: default;
}

/* Modals */
.whot-modal {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.45);
}

/* Result card: the dim layer does not block the hand, so cards still slide. */
.whot-modal--end {
  pointer-events: none;
}

.whot-modal--end .whot-modal__panel,
.whot-modal--end .whot-rematch-banner {
  pointer-events: auto;
}

/* Rematch request fully above the result, both kept on screen. */
.whot-modal--stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px 22px;
  box-sizing: border-box;
}

.whot-modal--stack .whot-rematch-banner {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: min(100%, 320px);
  flex: none;
  z-index: 1;
}

.whot-modal--stack .whot-modal__panel {
  width: min(100%, 320px);
  flex: 0 1 auto;
  min-height: 0;
  max-height: calc(100% - 132px);
  overflow: auto;
}

.whot-modal__panel {
  width: min(100%, 320px);
  max-height: 85%;
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(180, 210, 160, 0.25);
  background: linear-gradient(180deg, #0f281a, #08160e);
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.whot-modal__panel h2 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
}

.whot-rules {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.whot-rules li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(245, 247, 244, 0.88);
}

.whot-rules .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 10px;
  font-weight: 800;
}

.whot-shapes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.whot-shape-btn {
  border: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  padding: 10px 8px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.whot-shape-card {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--whot-card);
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--whot-ink);
}

.whot-shape-card .whot-shape-svg {
  width: 28px;
  height: 28px;
}

.whot-shape-card__mini {
  position: absolute;
  font-size: 8px;
  line-height: 1;
  color: var(--whot-ink);
}
.whot-shape-card__mini--tl { top: 3px; left: 4px; }
.whot-shape-card__mini--br { bottom: 3px; right: 4px; transform: rotate(180deg); }

.whot-shape-btn span {
  font-size: 10px;
  text-transform: capitalize;
  color: rgba(245, 247, 244, 0.88);
}

.whot-end {
  text-align: center;
}

.whot-end__icon {
  display: block;
  width: 64px;
  height: 64px;
  margin: -6px auto 4px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
}

.whot-end p {
  margin: 0 0 8px;
  font-size: 12px;
  color: rgba(245, 247, 244, 0.75);
}

.whot-end__counts {
  font-size: 11px !important;
}

.whot-end__delta {
  display: inline-block;
  margin: 8px 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}

.whot-end__delta.is-loss {
  background: rgba(160, 30, 40, 0.55);
  color: #ffc9c9;
}

.whot-end__delta.is-win {
  background: rgba(31, 157, 85, 0.45);
  color: #c8ffd8;
}

.whot-end__row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.whot-end__row .whot-btn {
  flex: 1;
}

.whot-rematch-banner {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 72px;
  z-index: 18;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: #f5c518;
  color: #1a1200;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  animation: whot-banner-in 0.35s ease both;
}

.whot-rematch-banner > span {
  flex: 1 1 100%;
  font-size: 13px;
  font-weight: 700;
}

/* Back on the table: the request sits in the middle, table blurred behind it. */
.whot-rematch-scrim {
  position: absolute;
  inset: 0;
  z-index: 22;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(6, 20, 12, 0.35);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  pointer-events: none;
}

.whot-rematch-scrim .whot-rematch-banner {
  position: absolute;
  left: 50%;
  top: 50%;
  right: auto;
  width: min(100%, 320px);
  margin: 0;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  animation: none;
}

/* Animations */
.whot-table.is-play .whot-discard .whot-card {
  animation: whot-play-in 0.38s cubic-bezier(0.2, 1.2, 0.4, 1) both;
}

.whot-table.is-draw .whot-market .whot-card--back {
  animation: whot-draw-pulse 0.45s ease both;
}

.whot-table.is-deal .whot-hand .whot-card {
  animation: whot-deal 0.5s ease both;
}

.whot-table.is-deal .whot-hand .whot-card:nth-child(2) { animation-delay: 0.05s; }
.whot-table.is-deal .whot-hand .whot-card:nth-child(3) { animation-delay: 0.1s; }
.whot-table.is-deal .whot-hand .whot-card:nth-child(4) { animation-delay: 0.15s; }
.whot-table.is-deal .whot-hand .whot-card:nth-child(5) { animation-delay: 0.2s; }
.whot-table.is-deal .whot-hand .whot-card:nth-child(6) { animation-delay: 0.25s; }

@keyframes whot-flash-in {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  60% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes whot-pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--whot-gold), 0 0 10px rgba(245, 197, 24, 0.4); }
  50% { box-shadow: 0 0 0 3px var(--whot-gold), 0 0 20px rgba(245, 197, 24, 0.75); }
}

@keyframes whot-lift {
  /* Peak must stay below the status row (buttons end 8px above the hand's resting card tops). */
  0%, 100% { transform: translateY(-7px); }
  50% { transform: translateY(-4px); }
}

@keyframes whot-play-in {
  0% { transform: translateY(40px) scale(0.85); opacity: 0.4; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes whot-draw-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.08) translateY(-6px); }
  100% { transform: scale(1); }
}

@keyframes whot-deal {
  0% { transform: translateY(30px) scale(0.9); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes whot-banner-in {
  from { transform: translateY(-12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.wondalife-phone-screen.is-app:has(.whot-app) {
  background: #06140c;
}
.wondalife-phone-screen.is-app:has(.whot-app) .wondalife-phone-status {
  color: #f5f7f4;
}
.wondalife-phone-screen.is-app:has(.whot-app) .wondalife-phone-signal::before {
  background: #f5f7f4;
  box-shadow: 4px 0 0 #f5f7f4, 8px -2px 0 #f5f7f4, 12px -4px 0 #f5f7f4;
}
.wondalife-phone-screen.is-app:has(.whot-app) .wondalife-phone-battery {
  border-color: #f5f7f4;
}
.wondalife-phone-screen.is-app:has(.whot-app) .wondalife-phone-battery::before,
.wondalife-phone-screen.is-app:has(.whot-app) .wondalife-phone-battery::after {
  background: #f5f7f4;
}
.wondalife-phone-screen.is-app:has(.whot-app) .wondalife-phone-homebar {
  background: rgba(245, 247, 244, 0.35);
}

.wondalife-phone-screen.is-app .wondalife-phone-body:has(.whot-app) {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0 0 22px;
  min-height: 0;
  height: 100%;
}

.wondalife-phone-screen.is-app .whot-app {
  border-radius: inherit;
}
