*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --pg-bg-0: #12051f;
  --pg-bg-1: #21073a;
  --pg-bg-2: #33115a;
  --pg-surface: #f6f3fc;
  --pg-card: #ffffff;
  --pg-text: #1f1932;
  --pg-muted: #746c8f;
  --pg-line: #e7def6;
  --pg-purple: #7f3fde;
  --pg-purple-soft: #a156f0;
  --pg-purple-deep: #2b0d4b;
  --pg-amber: #f4b730;
  --pg-green: #2e9a68;
  --pg-red: #cf5666;
  --pg-shell-shadow: 0 24px 64px rgba(9, 3, 20, 0.36);
  --pg-card-shadow: 0 10px 24px rgba(36, 16, 72, 0.1);
}

html,
body {
  height: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body.pixgo {
  margin: 0;
  color: var(--pg-text);
  font-family: "Outfit", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(161, 86, 240, 0.22), transparent 22rem),
    linear-gradient(180deg, #3a1663 0%, var(--pg-bg-1) 36%, var(--pg-bg-0) 100%);
}

body.pixgo.inapp,
body.pixgo.inapp main {
  height: 100vh;
  overflow: hidden;
}

body.pixgo.inapp main {
  transition: opacity 140ms ease;
}

body.pixgo.inapp.is-nav-loading main {
  opacity: 0.84;
}

@supports (height: 100dvh) {
  body.pixgo.inapp,
  body.pixgo.inapp main {
    height: 100dvh;
  }
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
}

a {
  color: inherit;
}

.small {
  color: var(--pg-muted);
}

.error,
.ok {
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid transparent;
}

.error {
  background: #fff1f2;
  border-color: #efbcc6;
  color: #7c2a39;
}

.ok {
  background: #ebfaf1;
  border-color: #a9dec0;
  color: #1f6e45;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--pg-line);
  background: #f4f0fb;
  color: var(--pg-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

input::placeholder,
textarea::placeholder {
  color: #8b84a5;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: rgba(127, 63, 222, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 4px rgba(127, 63, 222, 0.12);
}

button,
.btn {
  border: 0;
  border-radius: 14px;
  min-height: 44px;
  padding: 10px 14px;
  background: linear-gradient(90deg, var(--pg-purple) 0%, var(--pg-purple-soft) 100%);
  color: #fff;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(127, 63, 222, 0.22);
}

button[disabled],
.btn[disabled] {
  background: #d5d8e6;
  color: #6f7892;
  box-shadow: none;
}

.card,
.promo-wrap,
.page-strip,
.list-panel,
.profile-block,
.auth-card-mobile {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--pg-line);
  border-radius: 20px;
  box-shadow: var(--pg-card-shadow);
  overflow: hidden;
}

.card {
  padding: 14px;
  margin: 0;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.grid {
  display: grid;
  gap: 10px;
}

.app-shell {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 12px;
  overflow: hidden;
}

body.pixgo.inapp .app-shell {
  grid-template-columns: minmax(0, 430px);
  justify-content: center;
  align-content: start;
}

body.pixgo.inapp .app-capsule {
  width: 100%;
  max-width: none;
}

.app-capsule {
  width: 100%;
  max-width: 430px;
  min-height: calc(100vh - 24px);
  max-height: calc(100vh - 24px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-shell > .app-capsule {
  justify-self: stretch;
  align-self: stretch;
}

.app-capsule > * {
  min-width: 0;
}

.app-capsule:not(.warp-map-capsule) {
  background: linear-gradient(180deg, rgba(249, 247, 253, 0.98), rgba(243, 239, 250, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--pg-shell-shadow);
}

@supports (height: 100dvh) {
  .app-shell {
    min-height: 100dvh;
  }

  .app-capsule {
    min-height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
  }
}

.appbar {
  flex: 0 0 auto;
  min-width: 0;
}

.app-capsule:not(.warp-map-capsule) > .appbar {
  position: sticky;
  top: 0;
  z-index: 12;
  padding: max(14px, env(safe-area-inset-top)) 14px 12px;
  background: linear-gradient(180deg, rgba(33, 7, 58, 0.98), rgba(51, 17, 90, 0.95));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.appbar-inner {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px;
  min-width: 0;
}

.appbar-left,
.appbar-center,
.appbar-right {
  min-width: 0;
}

.app-title {
  font-family: "Press Start 2P", monospace;
  font-size: 0.62rem;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.iconbtn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: none;
}

.iconbtn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
}

.ticketpill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 160px;
  min-height: 44px;
  padding: 0 12px !important;
  border-radius: 999px;
  border: 1px solid rgba(127, 63, 222, 0.22);
  background: linear-gradient(180deg, rgba(249, 244, 255, 0.98), rgba(241, 232, 252, 0.98));
  color: var(--pg-purple);
  box-shadow: 0 10px 20px rgba(50, 18, 97, 0.14);
  overflow: hidden;
}

.ticketpill .tix-icon {
  width: 34px;
  height: 34px;
}

.ticketpill span,
.ticketpill b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--pg-purple);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1;
}

.wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable both-edges;
}

.wrap > * {
  max-width: 100%;
  min-width: 0;
}

.screen-stack {
  display: grid;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.screen-stack > * {
  min-width: 0;
}

.page-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px;
  min-width: 0;
  width: 100%;
}

.page-strip-copy {
  flex: 1 1 180px;
  min-width: 0;
}

.page-kicker,
.section-title,
.section-label {
  font-family: "Press Start 2P", monospace;
  font-size: 0.58rem;
  line-height: 1.4;
  color: var(--pg-purple);
}

.page-heading {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--pg-text);
  overflow-wrap: anywhere;
}

.page-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
  max-width: 100%;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f4eefc;
  border: 1px solid var(--pg-line);
  color: #4c4265;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.ticket-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  white-space: nowrap;
}

.ticket-inline img,
.ticket-cost-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  image-rendering: pixelated;
}

.meta-pill--invert {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.dashboard-top {
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #34115a 0%, #21073a 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 32px rgba(12, 4, 25, 0.24);
}

.dashboard-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.dashboard-main > * {
  min-width: 0;
}

.dashboard-main > :first-child,
.profile-id {
  flex: 1 1 auto;
}

.dashboard-main .meta-pill,
.profile-top-panel .meta-pill {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-logo {
  font-family: "Press Start 2P", monospace;
  font-size: 0.62rem;
  line-height: 1.4;
}

.dashboard-balance {
  margin-top: 8px;
  font-size: 1.45rem;
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dashboard-marquee {
  margin-top: 12px;
  padding-top: 10px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.dashboard-marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: pgTicker 18s linear infinite;
  font-family: "Press Start 2P", monospace;
  font-size: 0.58rem;
  line-height: 1.5;
  color: #fff;
}

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

.promo-wrap {
  padding: 10px;
  width: 100%;
  max-width: 100%;
}

.promo-top,
.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.promo-top > *,
.section-row > * {
  min-width: 0;
}

.promo-nav {
  display: flex;
  gap: 6px;
}

.promo-nav .iconbtn {
  width: 34px;
  height: 34px;
  background: #f4eefc;
  border-color: var(--pg-line);
  color: var(--pg-purple-deep);
}

.promo-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
  background: #efe9fb;
}

.promo-track {
  display: flex;
  height: 100%;
  transition: transform 260ms ease;
}

.promo-slide {
  min-width: 100%;
  height: 100%;
}

.promo-click {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.promo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-meta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(18, 5, 31, 0.58);
  backdrop-filter: blur(12px);
  color: #fff;
}

.promo-h {
  font-size: 0.88rem;
  font-weight: 800;
}

.promo-s {
  margin-top: 3px;
  font-size: 0.74rem;
  opacity: 0.92;
}

.promo-dots-overlay {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

.promo-dot {
  flex: 0 0 8px;
  width: 8px;
  min-width: 8px;
  max-width: 8px;
  height: 8px;
  min-height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
  line-height: 0;
  appearance: none;
  -webkit-appearance: none;
}

.promo-dot.is-active {
  background: var(--pg-amber);
  transform: scale(1.15);
}

.promo-empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 16px;
  text-align: center;
}

.quick-grid,
.action-grid,
.info-grid,
.goodies-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
}

.list-panel,
.profile-block,
.profile-top-panel,
.detail-card,
.card,
.grid,
.form-stack,
.field-grid {
  width: 100%;
  max-width: 100%;
}

.pixcon-tile {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border-radius: 18px;
  border: 2px solid rgba(161, 86, 240, 0.5);
  background: #7b2bc1;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(44, 17, 84, 0.2);
}

.pixcon-tile-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #862fcf 0%, #7222b7 100%);
}

.pixcon-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pixcon-tile-label {
  padding: 10px 12px 12px;
  background: #fcfbff;
  text-align: center;
  border-top: 1px solid rgba(33, 7, 58, 0.12);
}

.pixcon-tile-label strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--pg-text);
}

.list-panel,
.profile-block {
  padding: 12px;
}

.section-link {
  font-size: 0.78rem;
  color: var(--pg-muted);
  text-decoration: none;
}

.list-stack {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  width: 100%;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--pg-line);
  background: #faf8ff;
}

.list-item-copy {
  min-width: 0;
  flex: 1;
}

.list-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--pg-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-item-sub {
  margin-top: 2px;
  font-size: 0.76rem;
  color: var(--pg-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-item-meta {
  flex: 0 0 auto;
  text-align: right;
  font-size: 0.74rem;
  color: var(--pg-muted);
}

.list-item-meta strong {
  display: block;
  font-size: 0.9rem;
  color: var(--pg-text);
}

.list-item-meta--positive strong {
  color: var(--pg-green);
}

.list-item-meta--negative strong {
  color: var(--pg-red);
}

.profile-top-panel {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, #34115a 0%, #21073a 100%);
  color: #fff;
}

.profile-id {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
}

.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: "Press Start 2P", monospace;
  font-size: 0.95rem;
}

.profile-copy {
  min-width: 0;
}

.profile-name {
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-sub {
  margin-top: 4px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.info-card {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--pg-line);
  background: #faf8ff;
  min-width: 0;
}

.info-card--wide {
  grid-column: 1 / -1;
}

.info-card span {
  display: block;
  font-size: 0.74rem;
  color: var(--pg-muted);
}

.info-card strong {
  display: block;
  margin-top: 5px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pg-text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.action-btn {
  display: block;
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid var(--pg-line);
  background: #fff;
  text-decoration: none;
  box-shadow: var(--pg-card-shadow);
}

.action-btn strong {
  display: block;
  font-size: 0.86rem;
  color: var(--pg-text);
}

.action-btn span {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--pg-muted);
}

.page-dashboard .promo-wrap {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.page-dashboard .promo-viewport {
  margin-top: 0;
  border-radius: 22px;
  box-shadow: var(--pg-card-shadow);
}

.page-dashboard .promo-dots-overlay {
  bottom: 10px;
}

.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
}

.auth-card-mobile {
  width: min(100%, 400px);
  padding: 22px 18px;
}

.auth-logo {
  width: min(72vw, 180px);
  height: auto;
  display: block;
  margin: 0 auto 14px;
}

.auth-tag {
  font-family: "Press Start 2P", monospace;
  font-size: 0.58rem;
  line-height: 1.5;
  color: var(--pg-purple);
  text-align: center;
}

.auth-title {
  margin: 10px 0 0;
  font-size: 1.45rem;
  font-weight: 800;
  text-align: center;
  color: var(--pg-text);
}

.auth-links {
  margin-top: 12px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--pg-muted);
}

.auth-links a {
  color: var(--pg-purple);
  text-decoration: none;
}

.form-stack {
  display: grid;
  gap: 10px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.field-grid .field-wide {
  grid-column: 1 / -1;
}

.goodies-tile {
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--pg-line);
  background: #fff;
  box-shadow: var(--pg-card-shadow);
  min-width: 0;
}

.goodies-imgwrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 14px;
  overflow: hidden;
  background: #f9f7fd;
  border: 1px solid var(--pg-line);
}

.goodies-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.goodies-imgplaceholder {
  width: 100%;
  height: 100%;
  background: #f1ebfb;
}

.goodies-name {
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--pg-text);
  overflow-wrap: anywhere;
}

.goodies-bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 10px;
}

.goodies-cost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--pg-line);
  background: #f4eefc;
  color: #4c4265;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  width: fit-content;
}

.ticketpill .tix-icon {
  width: 34px;
  height: 34px;
  image-rendering: pixelated;
}

.btn-claim {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 0.78rem;
  border-radius: 12px;
}

.claim-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  background: rgba(12, 4, 25, 0.58);
  backdrop-filter: blur(10px);
}

.claim-popup[hidden] {
  display: none !important;
}

.claim-popup-card {
  width: min(100%, 360px);
  border-radius: 24px;
  border: 1px solid rgba(127, 63, 222, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 253, 0.98));
  box-shadow: 0 24px 56px rgba(15, 6, 28, 0.34);
  padding: 20px 18px 18px;
}

.claim-popup-kicker {
  font-family: "Press Start 2P", monospace;
  font-size: 0.5rem;
  line-height: 1.5;
  color: var(--pg-purple);
}

.claim-popup-title {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--pg-text);
}

.claim-popup-copy {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--pg-muted);
}

.claim-popup-btn {
  width: 100%;
  margin-top: 16px;
}

.page-missions .m-card {
  padding: 12px;
  border: 1px solid var(--pg-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--pg-card-shadow);
}

.page-missions .m-title {
  font-size: 0.92rem;
  line-height: 1.25;
}

.page-missions .m-pill {
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid var(--pg-line);
  background: #f4eefc;
  color: #4c4265;
  font-size: 0.62rem;
  font-weight: 700;
}

.page-missions .m-pill-reward {
  background: rgba(127, 63, 222, 0.12);
}

.page-missions .m-bar {
  height: 8px;
  border-radius: 999px;
  background: #efe7fb;
  overflow: hidden;
}

.page-missions .m-bar-fill {
  height: 8px;
  background: linear-gradient(90deg, var(--pg-purple), var(--pg-purple-soft));
}

.page-missions .m-cta {
  display: block;
  width: 100%;
  text-align: center;
}

.discoveries-thumb,
.order-thumb {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--pg-line);
  background: #f7f2fc;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.discoveries-thumb img,
.order-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-card {
  padding: 14px;
}

.detail-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.detail-copy {
  min-width: 0;
}

.detail-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--pg-text);
  overflow-wrap: anywhere;
}

.detail-sub {
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--pg-muted);
  line-height: 1.5;
}

.tile-stagger > * {
  animation: pgTileEnter 300ms cubic-bezier(.2, .8, .4, 1) both;
}

.tile-stagger > *:nth-child(1) { animation-delay: 40ms; }
.tile-stagger > *:nth-child(2) { animation-delay: 80ms; }
.tile-stagger > *:nth-child(3) { animation-delay: 120ms; }
.tile-stagger > *:nth-child(4) { animation-delay: 160ms; }

.enter-stagger > * {
  animation: pgEnterUp 260ms cubic-bezier(.2, .8, .4, 1) both;
}

.enter-stagger > *:nth-child(1) { animation-delay: 0ms; }
.enter-stagger > *:nth-child(2) { animation-delay: 40ms; }
.enter-stagger > *:nth-child(3) { animation-delay: 80ms; }
.enter-stagger > *:nth-child(4) { animation-delay: 120ms; }
.enter-stagger > *:nth-child(5) { animation-delay: 160ms; }

@keyframes pgEnterUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pgTileEnter {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 520px) {
  .app-shell {
    padding: 0;
  }

  body.pixgo.inapp .app-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-capsule {
    width: 100%;
    min-width: 100%;
    max-width: none;
    min-height: 100vh;
    max-height: 100vh;
  }

  .app-capsule:not(.warp-map-capsule) {
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  .wrap {
    padding: 12px;
  }

  .field-grid,
  .info-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .page-strip,
  .section-row,
  .profile-top-panel,
  .profile-id {
    align-items: flex-start;
  }

  .page-meta {
    justify-content: flex-start;
    margin-left: 0;
  }

  .profile-top-panel .meta-pill,
  .page-meta .meta-pill {
    max-width: 100%;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 520px) {
    .app-capsule {
      min-height: 100dvh;
      max-height: 100dvh;
    }
  }
}

@media (max-width: 360px) {
  .quick-grid,
  .goodies-grid {
    grid-template-columns: 1fr;
  }

  .ticketpill {
    max-width: 144px;
  }

  .ticketpill .tix-icon {
    width: 30px;
    height: 30px;
  }
}
