/* web/styles/playmcp-system.css */
body {
  background: var(--bg);
  background-image: none;
  font: 400 16px/1.5 var(--font-copy);
  letter-spacing: -.015em;
  font-synthesis: none;
}
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: var(--pm-display-tracking);
  line-height: 1.15;
}
h1 {
  font-size: clamp(30px, 3.1vw, 44px);
}
h2 {
  font-size: clamp(23px, 2.2vw, 28px);
}
h3 {
  font: 600 18px/1.35 var(--font-copy);
  letter-spacing: -.02em;
}
b,
strong {
  font-weight: 600;
}
.label {
  font: 500 13px/1.4 var(--font-copy);
  letter-spacing: 0;
}
.muted,
.dim {
  color: var(--ink-3);
}
code,
pre,
.mono {
  font-family: var(--font-code);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
:where(a, button, input[type=checkbox], input[type=radio], input[type=range], input[type=color], input[type=button], input[type=submit], input[type=reset]):focus-visible {
  outline: 2px solid var(--pm-red-text);
  outline-offset: 3px;
}
:where(input:not([type=checkbox], [type=radio], [type=range], [type=color], [type=button], [type=submit], [type=reset], [type=image], [type=hidden]), select, textarea):focus {
  outline: none;
  box-shadow: none;
  border-color: var(--pm-red-text);
}
.page {
  width: var(--pm-frame-width);
  margin: 0 auto;
  padding: 40px 0 56px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
}
.page.challenges-page {
  padding: 48px 0 64px;
}
.challenges-page > .grid {
  column-gap: 14px;
  row-gap: 28px;
}
.mcp-context-back-row {
  width: var(--pm-frame-width);
  margin: 0 auto;
  padding-top: 12px;
}
.main:has(> .mcp-context-back-row) > .page {
  padding-top: 16px;
}
.main:has(> .challenge-campaign) {
  position: relative;
}
.main:has(> .challenge-campaign) > .mcp-context-back-row,
.main > .mcp-context-back-row:has(> .overlay) {
  position: absolute;
  z-index: 2;
  top: calc(var(--pm-header-h) + 8px);
  left: max(var(--pm-gutter), calc((100% - var(--pm-content)) / 2));
  width: auto;
  margin: 0;
  padding: 0;
}
.page.narrow {
  width: var(--pm-frame-width);
}
.page.narrow:not(.center) > *,
.create-page > * {
  max-width: var(--pm-measure);
}
.page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 32px;
}
.page-header > div {
  min-width: 0;
}
.page-header p {
  max-width: 64ch;
  margin-top: 10px;
  color: var(--ink-3);
  line-height: 1.6;
}
.page-section {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.page-section + .page-section {
  margin-top: 32px;
}
.page-section > h2 {
  margin: 0;
}
.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.page-actions > .input {
  flex: 1;
  min-width: min(180px, 100%);
}
.page :is(.row, .grid, .col, .two, .side, .maincol) {
  min-width: 0;
}
.page .row > .input {
  min-width: 0;
}
.page p {
  overflow-wrap: break-word;
}
.page .card.pad {
  padding: 24px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}
.card h3 + .muted {
  line-height: 1.5;
}
.field {
  gap: 8px;
  align-content: start;
}
.field > .label {
  color: var(--ink);
  font-size: 14px;
}
.bottombar {
  background: color-mix(in srgb, var(--pm-canvas) 96%, transparent);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.bottombar a {
  font: 400 12px/1.2 var(--font-copy);
  letter-spacing: 0;
  color: var(--ink-3);
}
.bottombar a.active {
  color: var(--pm-red-text);
}
.badge {
  background: var(--accent);
  font-family: var(--font-copy);
}
.avatar {
  border: 1px solid var(--line);
  background-color: var(--surface-2);
  color: var(--ink);
  font: 600 14px var(--font-copy);
}
.btn {
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pm-surface);
  color: var(--ink);
  font: 500 14px/1.3 var(--font-copy);
  letter-spacing: 0;
  transition:
    background var(--pm-fast),
    color var(--pm-fast),
    border-color var(--pm-fast),
    transform 120ms ease;
}
.btn:hover {
  background: var(--surface-2);
  border-color: var(--pm-faint);
}
.btn:active:not(:disabled) {
  transform: scale(.98);
}
.btn.primary,
.btn.hot {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--pm-on-accent);
}
.btn.primary:hover,
.btn.hot:hover {
  background: var(--pm-red-hover);
  border-color: var(--pm-red-hover);
  filter: none;
}
.btn.ghost {
  border-color: transparent;
  background: transparent;
}
.btn.ghost:hover {
  background: var(--surface-2);
}
.btn.danger {
  color: var(--pm-red-text-hover);
}
.btn.sm {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 13px;
}
.btn.lg {
  min-height: 48px;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 999px;
}
.btn.icon {
  width: 44px;
  height: 44px;
  padding: 11px;
}
.btn:disabled {
  opacity: .45;
  cursor: default;
}
.chip {
  border: 0;
  border-radius: 999px;
  background: var(--surface-2);
  font: 500 12px/1.2 var(--font-copy);
  letter-spacing: 0;
  padding: 6px 10px;
}
.chip.accent,
.chip.hot {
  background: var(--accent);
  color: var(--pm-on-accent);
}
.chip.ok {
  background: var(--pm-green-soft);
  color: var(--ok);
}
.input,
select.input {
  min-height: 48px;
  background: var(--pm-surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: 400 16px/1.4 var(--font-copy);
  letter-spacing: 0;
}
.input::placeholder {
  color: var(--ink-3);
}
.input:focus {
  border-color: var(--pm-red-text);
}
textarea.input {
  border-radius: 12px;
  min-height: 112px;
}
.input[type=file] {
  white-space: normal;
  padding: 10px;
  font-size: 14px;
}
.tabs {
  display: flex;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  border-radius: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs a,
.tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font: 400 14px/1.3 var(--font-copy);
  background: var(--surface-2);
  color: var(--ink);
  white-space: nowrap;
  backdrop-filter: none;
}
.tabs .active {
  background: var(--pm-inverse);
  color: var(--pm-on-inverse);
}
.tabs :is(a, button):hover {
  background: var(--pm-subtle-2);
}
.tabs .active:hover {
  background: var(--pm-inverse-hover);
}
.notice {
  padding: 18px 20px;
  background: var(--surface-2);
  border: 0;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
}
.notice.warn {
  background: var(--pm-warn-soft);
}
.empty {
  padding: 48px 20px;
  font: 400 15px/1.6 var(--font-copy);
  color: var(--ink-3);
}
.skeleton {
  background: var(--surface-2);
  border-radius: 16px;
  animation: none;
}
.sk-text {
  display: inline-block;
  max-width: 100%;
  height: .78em;
  vertical-align: middle;
  border-radius: .32em;
  background: var(--pm-subtle-2);
}
.sk-line {
  display: block;
}
.sk-fill {
  background: var(--pm-subtle-2);
  border-color: transparent;
  box-shadow: none;
  color: transparent;
}
.sk-fill > * {
  visibility: hidden;
}
.btn.sk-fill.sk-fill {
  background: var(--pm-subtle-2);
  border-color: transparent;
  box-shadow: none;
  color: transparent;
}
.sk-words {
  color: transparent;
  background:
    linear-gradient(
      transparent 18%,
      var(--pm-subtle-2) 18% 82%,
      transparent 82%);
  border-radius: .32em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.sk-ghost,
.sk-ghost * {
  color: transparent;
}
.sk-ghost :is(a, q, .pl-link) {
  text-decoration: none;
}
.sk-ghost.sk-fill.sk-fill,
.sk-ghost .sk-fill.sk-fill {
  background: var(--pm-subtle-2);
  border-color: transparent;
  box-shadow: none;
  color: transparent;
}
.sk-ghost ::before,
.sk-ghost ::after,
.sk-ghost svg,
.sk-ghost .pm-glyph {
  visibility: hidden;
}
.sk-root {
  cursor: progress;
}
@media (prefers-reduced-motion: no-preference) {
  .sk-text,
  .sk-fill,
  .sk-words {
    animation: pm-sk-pulse 1.4s ease-in-out infinite alternate;
  }
}
@keyframes pm-sk-pulse {
  to {
    opacity: .55;
  }
}
.toast {
  max-width: min(480px, calc(100vw - 32px));
  border-radius: 16px;
  background: var(--ink);
  color: var(--pm-on-inverse);
  font: 400 14px/1.5 var(--font-copy);
  box-shadow: 0 8px 32px color-mix(in srgb, var(--pm-shadow) 60%, transparent);
}
.toast.err {
  background: var(--danger);
}
.modal {
  background: var(--pm-scrim);
  backdrop-filter: blur(8px);
}
.modal > .sheet {
  border: 0;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 80px color-mix(in srgb, var(--pm-shadow) 60%, transparent);
}
.modal h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: var(--pm-display-tracking);
  font-weight: 400;
}
pre {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  overflow: auto;
}
.hr {
  background: var(--line);
}
.gcard,
.ccard {
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  gap: 0;
  overflow: visible;
  transition: none;
  min-width: 0;
}
.gcard:hover,
.ccard:hover {
  transform: none;
}
.gcard .cover {
  aspect-ratio: var(--pm-tile-ratio);
}
.gcard .cover,
.ccard .cover {
  border-radius: 16px;
  box-shadow: none;
  background: var(--surface-2);
  transition: transform 180ms var(--pm-ease);
}
.gcard:hover .cover,
.ccard:hover .cover {
  transform: translateY(-2px);
}
.gcard .body,
.ccard .body {
  padding: 12px 0 0;
  gap: 6px;
}
.gcard .title,
.ccard .title {
  font: 600 15px/1.4 var(--font-copy);
  letter-spacing: -.015em;
}
.gcard .title.ellipsis {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.gcard .meta {
  font-size: 13px;
  gap: 6px;
  color: var(--ink-3);
}
.gcard .meta .avatar {
  display: none;
}
.stat {
  font: 400 12px var(--font-copy);
}
.gcard .cover .over {
  left: 10px;
  top: 10px;
  right: 10px;
}
.gcard .cover .over .chip {
  background: var(--pm-green-soft);
  color: color-mix(in srgb, var(--pm-green) 76%, var(--pm-ink));
  font-size: 11px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 5px 8px;
}
.gcard .cover .over .chip svg {
  display: none;
}
.gcard {
  position: relative;
}
.gcard-open {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
}
.gcard-open:focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: 3px;
}
.gcard > .cover,
.gcard > .body {
  pointer-events: none;
}
.gcard .cover .over .gcard-challenge {
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s var(--pm-ease), color .15s var(--pm-ease);
}
.gcard .cover .over .gcard-challenge:hover {
  background: var(--pm-green);
  color: var(--pm-green-soft);
}
.gcard .cover .over .gcard-challenge:focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: 2px;
}
.ccard .prize {
  background: var(--accent);
  color: var(--pm-on-accent);
  border-radius: 999px;
  font: 600 12px/1.2 var(--font-copy);
  padding: 7px 10px;
  box-shadow: none;
}
.ccard .artist {
  font: 400 13px var(--font-copy);
  color: var(--ink-3);
}
.ccard .foot {
  font-size: 13px;
}
.ccard .cover {
  aspect-ratio: 1.96;
}
.countdown {
  font: 500 14px var(--font-copy);
  color: var(--pm-red-text);
}
.leader .rowi {
  background: var(--pm-surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.leader .rank {
  font: 600 16px var(--font-copy);
}
.leader .rowi.top .rank {
  color: var(--pm-red-text);
}
.leader .sc {
  font: 500 13px var(--font-copy);
}
.asset {
  border: 1px solid var(--line);
  background: var(--pm-surface);
  border-radius: 16px;
}
.asset .th {
  border-radius: 8px;
}
.player {
  border: 0;
  border-radius: 16px;
  box-shadow: none;
}
.player .bigplay {
  background: var(--accent);
  color: var(--pm-on-accent);
  box-shadow: none;
}
.pbtn {
  border-radius: 999px;
}
.pbtn.on {
  background: var(--accent);
  color: var(--pm-on-accent);
}
.scrub .fill {
  background: var(--accent);
}
.time {
  font-family: var(--font-copy);
  font-weight: 400;
}
.player .hud {
  font-family: var(--font-code);
}
.owner-row .name {
  font: 600 16px var(--font-copy);
}
.comment {
  border-top: 1px solid var(--line);
}
.comment .who {
  font: 600 14px var(--font-copy);
}
.comment .t {
  font: 400 12px var(--font-copy);
  color: var(--ink-3);
}
.profile-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}
.profile-header .name {
  font: 400 clamp(28px, 4vw, 40px)/1.2 var(--font-display);
  letter-spacing: var(--pm-display-tracking);
  overflow-wrap: anywhere;
}
.counts b {
  font: 600 22px var(--font-copy);
}
.counts {
  flex-wrap: wrap;
}
.links {
  flex-wrap: wrap;
}
.tx {
  border-top: 1px solid var(--line);
  font-size: 14px;
  gap: 16px;
}
.tx .amt {
  font: 500 14px var(--font-copy);
  flex: none;
}
.tx .amt.plus {
  color: var(--ok);
}
.tx .amt.minus {
  color: var(--pm-red-text-hover);
}
.invite {
  background: var(--surface-2);
  border: 0;
  border-radius: 12px;
}
.invite code {
  font-family: var(--font-code);
}
.agent,
.pack {
  background: var(--pm-surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: none;
}
.agent:hover,
.pack:hover:not(:disabled) {
  background: var(--surface-2);
  border-color: var(--pm-faint);
  transform: none;
}
.agent.on {
  border-color: var(--pm-red-text);
  box-shadow: 0 0 0 1px var(--accent);
}
.tools-intro {
  padding: 6px 0 34px;
  border-bottom: 1px solid var(--line);
}
.tools-intro h1 {
  font-size: clamp(30px, 3.1vw, 42px);
}
.tools-intro p {
  max-width: 62ch;
  margin-top: 10px;
  color: var(--ink-3);
  line-height: 1.55;
}
.tools-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-top: 34px;
}
.tools-index {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 2px;
}
.tools-index-label {
  padding: 0 12px 12px;
  font: 600 12px/1.3 var(--font-copy);
  color: var(--ink-3);
}
.tools-index a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 9px;
  font: 500 14px/1.4 var(--font-copy);
  color: var(--ink-2);
}
.tools-index a:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.tools-count {
  color: var(--ink-3);
  font-size: 12px;
}
.tools-sections {
  min-width: 0;
}
.tools-section {
  scroll-margin-top: 110px;
}
.tools-section + .tools-section {
  margin-top: 48px;
}
.tools-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.tools-section-heading h2 {
  font: 600 23px/1.25 var(--font-copy);
  letter-spacing: -.025em;
}
.tools-section-heading > span {
  font-size: 13px;
  color: var(--ink-3);
  white-space: nowrap;
}
.tools-list {
  display: grid;
}
.tool-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.tool-art {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--pm-art-plate);
  border: 1px solid var(--line);
}
.tool-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tool-copy {
  min-width: 0;
}
.tool-copy h3 {
  font: 600 17px/1.35 var(--font-copy);
  letter-spacing: -.015em;
}
.tool-copy code {
  display: block;
  margin-top: 3px;
  color: var(--ink-3);
  font: 500 12px/1.4 var(--font-code);
  overflow-wrap: anywhere;
}
.tool-copy p {
  margin-top: 8px;
  max-width: 70ch;
  color: var(--ink-2);
  font: 400 14px/1.55 var(--font-copy);
}
@media (max-width: 760px) {
  .tools-intro {
    padding-bottom: 24px;
  }
  .tools-layout {
    display: block;
    padding-top: 18px;
  }
  .tools-index {
    position: relative;
    top: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    margin: 0 calc(-1 * var(--pm-gutter)) 26px;
    padding: 0 var(--pm-gutter) 8px;
    scrollbar-width: none;
  }
  .tools-index::-webkit-scrollbar {
    display: none;
  }
  .tools-index-label {
    flex: none;
    padding: 8px 12px 8px 0;
  }
  .tools-index a {
    flex: none;
    min-height: 38px;
    white-space: nowrap;
  }
  .tools-sections {
    width: 100%;
  }
  .tools-section {
    scroll-margin-top: 96px;
  }
  .tools-section + .tools-section {
    margin-top: 40px;
  }
  .tool-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
  }
  .tool-art {
    width: 64px;
    height: 64px;
  }
  .tool-copy p {
    font-size: 14px;
  }
}
.agent .big,
.pack .n {
  font: 600 20px/1.3 var(--font-copy);
  letter-spacing: -.015em;
}
.balance-big {
  font: 600 clamp(40px, 6vw, 56px)/1.1 var(--font-copy);
  letter-spacing: -.04em;
}
.table-scroll {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.tbl {
  font-size: 13px;
  min-width: 600px;
}
.tbl th {
  font: 600 12px var(--font-copy);
  letter-spacing: 0;
  color: var(--ink-3);
}
.tbl th,
.tbl td {
  padding: 14px;
  border-bottom-color: var(--line);
  overflow-wrap: anywhere;
}
@media (max-width: 899px) {
  .page {
    padding-top: 28px;
  }
}
@media (max-width: 599px) {
  :root {
    --pm-section-gap:32px;
  }
  .page {
    padding-top: 24px;
    padding-bottom: 32px;
  }
  .page-header {
    gap: 16px;
    margin-bottom: 24px;
  }
  .page .card.pad {
    padding: 20px;
  }
  .profile-header {
    gap: 16px;
    flex-wrap: wrap;
  }
  .avatar.xl {
    width: 80px;
    height: 80px;
  }
  .modal > .sheet {
    padding: 24px 20px;
    border-radius: 24px 24px 0 0;
  }
  .page .two {
    gap: 28px;
  }
  .page .row:has(> .field) {
    flex-wrap: wrap;
  }
  .toasts {
    width: max-content;
    max-width: calc(100% - 32px);
  }
}
.mcp-utility-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--pm-canvas);
  color: var(--pm-ink);
}
.mcp-utility-main {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-bottom: env(safe-area-inset-bottom);
}
.mcp-utility-main .page {
  width: calc(100% - 32px);
  padding: 24px 0;
  margin: auto;
}
.mcp-utility-main .mcp-context-back-row {
  width: calc(100% - 32px);
  margin: 0 auto;
  padding-top: 12px;
}
html.phone.mcp-mobile .mcp-utility-page .btn {
  font: 500 14px/1.3 var(--font-copy);
  color: var(--ink);
}
html.phone.mcp-mobile .mcp-utility-page .btn:is(.primary, .hot) {
  color: var(--pm-on-accent);
}
html.phone.mcp-mobile .mcp-utility-page .btn.danger {
  color: var(--pm-red-text-hover);
}
.profile-page .profile-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}
.profile-summary {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 16px;
}
.profile-identity {
  display: grid;
  gap: 8px;
}
.profile-identity h1 {
  margin: 0;
  overflow-wrap: anywhere;
}
.profile-identity .handle {
  margin: 0;
  color: var(--pm-muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}
.profile-bio {
  margin: 0;
  max-width: 60ch;
  line-height: 1.6;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.profile-controls {
  flex: none;
}
.profile-controls:has(.profile-ftue) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-page .profile-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 14px;
  color: var(--pm-muted);
}
.profile-counts span {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.profile-counts b {
  color: var(--pm-ink);
}
.profile-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.profile-section-heading h2 {
  margin: 0;
}
.profile-empty {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 40px 24px;
  text-align: center;
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-card-radius);
}
.profile-empty h3,
.profile-empty p {
  margin: 0;
}
.profile-empty p {
  max-width: 40ch;
  line-height: 1.6;
}
.profile-empty .btn {
  margin-top: 4px;
}
@media (max-width: 599px) {
  .profile-page .profile-header {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 20px 16px;
  }
  .profile-page .profile-summary {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .profile-controls {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
  }
  .profile-page .profile-counts {
    gap: 12px 20px;
  }
  .profile-empty {
    padding: 32px 20px;
  }
}
.route-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: clamp(40px, 10vh, 96px);
}
.route-state h1,
.route-state p {
  margin: 0;
}
.route-state h1 {
  max-width: 22ch;
}
.route-state .btn {
  margin-top: 4px;
}
html:has(.site-header.is-overlay) .main > .route-state {
  margin-top: calc(var(--pm-header-h) + 44px);
}
.ccard > .body > .title {
  display: block;
}
.credits-content {
  display: grid;
  gap: 40px;
}
.credits-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
  padding: 32px;
  background: var(--surface-2);
  border-radius: 24px;
}
.credits-summary h2 {
  font: 500 15px/1.4 var(--font-copy);
  letter-spacing: 0;
  color: var(--ink-3);
  margin: 0 0 16px;
}
.credits-value {
  font: 600 clamp(40px, 5vw, 64px)/1.1 var(--font-copy);
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.credits-month {
  border-left: 1px solid var(--line);
  padding-left: 32px;
  min-width: 0;
}
.credits-month dl {
  display: grid;
  gap: 12px;
  margin: 0;
}
.credits-month dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.credits-month dt {
  color: var(--ink-2);
  font-size: 15px;
}
.credits-month dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  text-align: right;
}
.invite-friends-card {
  display: grid;
  gap: 14px;
  padding: 24px 28px;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: 20px;
}
.invite-friends.low .invite-friends-card {
  border-color: var(--pm-red-text);
}
.invite-friends-lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-2);
}
.invite-friends-lede strong {
  color: var(--ink);
  font-weight: 600;
}
.invite-friends-row {
  display: flex;
  gap: 10px;
  min-width: 0;
}
.invite-friends-link {
  flex: 1;
  min-width: 0;
  display: block;
  line-height: 20px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-family: var(--font-mono,ui-monospace,monospace);
  font-size: 14px;
  user-select: all;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.invite-friends-progress {
  margin: 0;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 600px) {
  .invite-friends-card {
    padding: 20px;
    border-radius: 18px;
  }
  .invite-friends-row {
    flex-wrap: wrap;
  }
  .invite-friends-row .btn {
    flex-basis: 100%;
    justify-content: center;
  }
}
.credits-empty {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.credits-empty p {
  margin: 0 0 8px;
}
.credits-empty p + p {
  color: var(--ink-3);
  font-size: 14px;
}
.credits-empty .btn {
  margin-top: 16px;
}
.credits-page .packs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
@media (max-width: 600px) {
  .credits-page .packs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.packs .pack {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 22px 14px 18px;
}
.pack-name {
  font: 500 13px/1.3 var(--font-copy);
  color: var(--pm-muted);
}
.pack-credits {
  font: 600 22px/1.15 var(--font-copy);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--pm-ink);
}
.pack-credits span {
  font: 500 13px/1.3 var(--font-copy);
  letter-spacing: 0;
  color: var(--pm-muted);
}
.pack-price {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--pm-subtle);
  font: 600 15px/1.3 var(--font-copy);
  font-variant-numeric: tabular-nums;
  color: var(--pm-ink);
}
.pack-bonus {
  font: 500 12px/1.3 var(--font-copy);
  color: var(--pm-green-strong);
}
.pack-bonus.none {
  color: var(--pm-muted);
}
.pack.popular {
  border: 2px solid var(--pm-red-text);
}
.pack.popular .pack-price {
  background: var(--pm-red);
  color: var(--pm-on-accent);
}
.pack-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--pm-red);
  color: var(--pm-on-accent);
  font: 600 11px/1.5 var(--font-copy);
  white-space: nowrap;
}
.pack.best .pack-badge {
  background: var(--pm-inverse);
  color: var(--pm-on-inverse);
}
.credits-cashout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
  padding: 32px;
  background: var(--surface-2);
  border-radius: 24px;
}
.credits-cashout.solo {
  grid-template-columns: minmax(0, 1fr);
}
.credits-cashout h3,
.credits-payouts h3 {
  font: 500 15px/1.4 var(--font-copy);
  letter-spacing: 0;
  color: var(--ink-3);
  margin: 0 0 16px;
}
.credits-cashout-main,
.credits-payout-account {
  display: grid;
  align-content: start;
  justify-items: start;
  min-width: 0;
}
.credits-payout-account {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.credits-eligible {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0 0 24px;
  color: var(--pm-ink);
}
.credits-eligible strong {
  font: 600 clamp(28px, 3.4vw, 40px)/1.1 var(--font-copy);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.credits-eligible-usd {
  font: 500 16px/1.3 var(--font-copy);
  font-variant-numeric: tabular-nums;
  color: var(--pm-green-strong);
}
.credits-cashout-form {
  display: flex;
  gap: 10px;
  width: 100%;
}
.credits-cashout-form .input {
  flex: 1;
  min-width: 0;
}
.credits-cashout-form .btn {
  min-height: 48px;
  flex-shrink: 0;
}
.credits-cashout-note {
  margin: 12px 0 0;
  font: 400 13px/1.5 var(--font-copy);
  color: var(--pm-muted);
}
.credits-payout-status {
  margin: 0 0 16px;
  font: 500 16px/1.45 var(--font-copy);
  color: var(--pm-ink);
}
.credits-country {
  display: grid;
  gap: 12px;
  justify-items: start;
  width: 100%;
}
.credits-country .payout-country {
  width: 100%;
}
.credits-payouts {
  margin-top: 8px;
}
.credits-payout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font: 400 15px/1.4 var(--font-copy);
  font-variant-numeric: tabular-nums;
}
.credits-payout-state {
  color: var(--pm-muted);
  text-align: right;
}
.credits-notice {
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--pm-subtle);
  border: 1px solid var(--pm-line);
  color: var(--pm-ink);
}
.claim-page {
  display: grid;
  place-items: start center;
  padding-block: clamp(32px, 8vh, 96px) 64px;
}
.claim-card {
  width: min(100%, 520px);
  padding: clamp(24px, 5vw, 40px);
  border-radius: 24px;
  background: var(--pm-surface);
  border: 1px solid var(--pm-line);
  color: var(--pm-ink);
}
.claim-body {
  display: grid;
  gap: 12px;
}
.claim-eyebrow {
  margin: 0;
  font: 500 14px/1.4 var(--font-copy);
  color: var(--pm-muted);
}
.claim-amount {
  font: 600 clamp(48px, 9vw, 72px)/1.05 var(--font-copy);
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.claim-lead {
  margin: 0;
  font: 500 20px/1.35 var(--font-copy);
  text-wrap: balance;
}
.claim-step {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--pm-line);
}
.claim-step p {
  margin: 0;
  line-height: 1.5;
}
.claim-status {
  font-weight: 600;
}
.claim-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pm-muted);
}
.claim-country {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  width: 100%;
}
.claim-country .payout-country {
  flex: 1 1 220px;
}
.payout-country {
  min-width: 0;
  max-width: 100%;
}
.credits-recountry,
.claim-recountry {
  width: 100%;
}
.credits-recountry summary,
.claim-recountry summary {
  cursor: pointer;
  margin: 8px 0;
}
.credits-recountry summary {
  margin: 14px 0 0;
  font: 400 13px/1.5 var(--font-copy);
  color: var(--pm-muted);
}
.credits-recountry .credits-country,
.claim-recountry .claim-country {
  margin-top: 8px;
}
@media (max-width: 600px) {
  .credits-content {
    gap: 32px;
  }
  .credits-summary {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
    gap: 24px;
    border-radius: 20px;
  }
  .credits-month {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }
  .credits-summary h2 {
    margin-bottom: 12px;
  }
  .credits-cashout {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
    gap: 24px;
    border-radius: 20px;
  }
  .credits-payout-account {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }
  .credits-cashout h3 {
    margin-bottom: 12px;
  }
  .credits-cashout-form {
    flex-wrap: wrap;
  }
  .credits-cashout-form .input {
    flex-basis: 100%;
  }
}
.partners-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  grid-template-areas: "hero side" "value side" "story side" "details side";
  column-gap: clamp(40px, 6vw, 96px);
  row-gap: clamp(48px, 6vw, 80px);
  align-items: start;
  padding-block: 56px 88px;
}
.partners-hero {
  grid-area: hero;
  display: grid;
  gap: 20px;
  justify-items: start;
  min-width: 0;
}
.partners-hero h1 {
  margin: 0;
  font: 400 clamp(52px, 6vw, 88px)/.95 var(--font-display);
  letter-spacing: var(--pm-display-tracking);
  text-wrap: balance;
}
.partners-lede {
  margin: 0;
  max-width: 32ch;
  color: var(--pm-ink-2);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.35;
  text-wrap: pretty;
}
.partners-jump {
  display: none;
}
.partners-value {
  grid-area: value;
  display: grid;
  gap: 32px;
  min-width: 0;
}
.partners-story {
  grid-area: story;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--pm-line);
  min-width: 0;
}
.partners-details {
  grid-area: details;
  display: grid;
  gap: 24px;
  min-width: 0;
}
.partners-block {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}
.partners-block h2,
.partners-faq > h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.05;
  text-wrap: balance;
}
.partners-block > p {
  margin: 0;
  color: var(--pm-ink-2);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}
.partners-label {
  margin: 2px 0 0;
  color: var(--pm-muted);
  font: 600 14px/1.3 var(--pm-copy);
}
.partners-benefits {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.partners-benefit:last-child:nth-child(odd) {
  grid-column: 1/-1;
}
.partners-benefit {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 22px 22px 24px;
  border-radius: 18px;
  background: var(--pm-surface);
  box-shadow: inset 0 0 0 1px var(--pm-line);
}
.partners-benefit-mark {
  margin: 0 0 6px -2px;
  color: var(--pm-red-select);
}
.partners-benefit h3,
.partners-checks h3 {
  margin: 0;
  font: 650 18px/1.25 var(--pm-copy);
  letter-spacing: -.01em;
  color: var(--pm-ink);
}
.partners-benefit p,
.partners-checks p {
  margin: 0;
  color: var(--pm-ink-2);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}
.partners-money {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px;
  padding: 28px;
  border-radius: 20px;
  background: var(--pm-stage);
  box-shadow: inset 0 0 0 1px var(--pm-stage-line);
}
.partners-figures {
  display: grid;
  gap: 22px;
  align-content: start;
}
.partners-figure {
  display: grid;
  gap: 6px;
}
.partners-figure strong {
  font: 700 clamp(34px, 3.2vw, 44px)/1 var(--pm-copy);
  letter-spacing: -.035em;
  color: var(--pm-ink);
  font-variant-numeric: tabular-nums;
}
.partners-figure span {
  color: var(--pm-ink-2);
  font-size: 14px;
  line-height: 1.45;
  text-wrap: pretty;
}
.partners-milestones {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}
.partners-milestones > p {
  margin: 0;
  color: var(--pm-ink-2);
  font-size: 14px;
  line-height: 1.45;
}
.partners-milestones strong {
  color: var(--pm-ink);
  font-weight: 650;
}
.partners-milestones table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
}
.partners-milestones th {
  padding: 0 0 8px;
  font: 600 12px/1.3 var(--pm-copy);
  color: var(--pm-muted);
  text-align: left;
}
.partners-milestones td {
  padding: 8px 0;
  border-top: 1px solid var(--pm-stage-line);
  color: var(--pm-ink);
}
.partners-milestones th:last-child,
.partners-milestones td:last-child {
  text-align: right;
  font-weight: 650;
}
.partners-checks {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.partners-checks li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.partners-checks li > :first-child {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--pm-red-select);
}
.partners-checks h3 {
  margin-bottom: 4px;
  font-size: 17px;
}
.partners-faq {
  display: grid;
  gap: 18px;
  scroll-margin-top: calc(var(--pm-header-h,68px) + 16px);
}
.partners-faq > h2:focus {
  outline: none;
}
.partners-questions {
  display: grid;
  border-top: 1px solid var(--pm-line);
}
.partners-question {
  border-bottom: 1px solid var(--pm-line);
}
.partners-question > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 4px;
  cursor: pointer;
  list-style: none;
}
.partners-question > summary::-webkit-details-marker {
  display: none;
}
.partners-question > summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: var(--pm-muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s var(--pm-ease);
}
.partners-question[open] > summary::after {
  transform: translateY(2px) rotate(-135deg);
}
.partners-question > summary:focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: 2px;
  border-radius: 6px;
}
.partners-question h3 {
  margin: 0;
  font: 600 16px/1.4 var(--pm-copy);
  color: var(--pm-ink);
}
.partners-answer {
  display: grid;
  gap: 10px;
  padding: 0 4px 20px;
  color: var(--pm-ink-2);
  font-size: 15px;
  line-height: 1.6;
}
.partners-answer p,
.partners-answer ul {
  margin: 0;
}
.partners-answer ul {
  display: grid;
  gap: 6px;
  padding-left: 20px;
}
.partners-answer a {
  color: var(--pm-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.partners-side {
  grid-area: side;
  position: sticky;
  top: calc(var(--pm-header-h,68px) + 20px);
  display: grid;
  gap: 14px;
  min-width: 0;
}
.partners-more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
}
.partners-more a {
  padding: 6px 2px;
  color: var(--pm-ink-2);
  font: 600 13px/1.2 var(--pm-copy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.partners-more a:hover {
  color: var(--pm-ink);
}
.partners-fold {
  min-width: 0;
  border: 1px solid var(--pm-line);
  border-radius: 14px;
  background: var(--pm-surface);
  scroll-margin-top: calc(var(--pm-header-h,68px) + 16px);
}
.partners-fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 13px;
  color: var(--pm-ink);
  list-style: none;
  cursor: pointer;
}
.partners-fold > summary::-webkit-details-marker {
  display: none;
}
.partners-fold > summary::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}
.partners-fold[open] > summary::after {
  transform: translateY(2px) rotate(-135deg);
}
.partners-fold > summary:focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: 2px;
}
.partners-fold > summary h2 {
  margin: 0;
  font: 650 16px/1.3 var(--pm-copy);
  letter-spacing: -.01em;
}
.partners-fold-body {
  display: grid;
  gap: 14px;
  padding: 16px 18px 20px;
  border-top: 1px solid var(--pm-line);
  color: var(--pm-ink-2);
  font-size: 15px;
  line-height: 1.55;
}
.partners-fold-body p,
.partners-fold-body ul {
  margin: 0;
}
.partners-fold-body ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}
.partners-fold-body a {
  color: var(--pm-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.partners-fold-lead {
  color: var(--pm-ink);
  font-weight: 600;
}
.partners-payouts {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--pm-subtle);
}
.partners-payouts table {
  width: 100%;
  max-width: 320px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.partners-payouts th {
  padding: 0 0 6px;
  font: 600 12px/1.3 var(--pm-copy);
  color: var(--pm-muted);
  text-align: left;
}
.partners-payouts td {
  padding: 6px 0;
  border-top: 1px solid var(--pm-line);
  color: var(--pm-ink);
}
.partners-payouts th:last-child,
.partners-payouts td:last-child {
  text-align: right;
}
.partners-keep {
  white-space: nowrap;
}
.partners-application {
  min-width: 0;
  padding: 32px;
  border-radius: 18px;
  background: var(--pm-stage);
  box-shadow: inset 0 0 0 1px var(--pm-stage-line), 0 10px 30px color-mix(in srgb, var(--pm-shadow) 22%, transparent);
}
.partners-application > h2 {
  margin: 0 0 6px;
  font: 700 28px/1.15 var(--pm-copy);
  letter-spacing: -.02em;
}
.partners-card-lede {
  margin: 0 0 26px;
  color: var(--pm-muted);
  font-size: 14px;
  line-height: 1.5;
}
.partner-form {
  display: grid;
  gap: 18px;
}
.partner-form fieldset {
  display: grid;
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.partner-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.partner-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.partner-field label {
  font: 600 14px/1.3 var(--pm-copy);
  color: var(--pm-ink);
}
.partner-field input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--pm-line-strong);
  border-radius: 10px;
  background: var(--pm-surface);
  color: var(--pm-ink);
  font: 400 16px/1.4 var(--pm-copy);
}
.partner-field input::placeholder {
  color: var(--pm-faint);
}
.partner-field input:focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: 1px;
}
.partner-field input[aria-invalid=true] {
  border-color: var(--pm-red-text);
}
.partner-links {
  display: grid;
  gap: 10px;
}
.partner-link-box {
  position: relative;
}
.partner-link-box input {
  padding-right: 96px;
}
.partner-link-seen {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: var(--pm-muted);
  font: 600 12px/1 var(--pm-copy);
  pointer-events: none;
}
.partner-add-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: -6px;
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--pm-ink-2);
  font: 600 13px/1.2 var(--pm-copy);
  cursor: pointer;
}
.partner-add-link svg {
  width: 14px;
  height: 14px;
}
.partner-add-link:hover {
  color: var(--pm-ink);
}
.partner-help {
  color: var(--pm-muted);
  font-size: 13px;
  line-height: 1.4;
}
.partner-error,
.partner-field-error {
  color: var(--pm-red-text);
  font-size: 13px;
  line-height: 1.45;
}
.partner-error {
  padding: 2px 0;
}
.partner-form [hidden] {
  display: none;
}
.partner-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.partner-form > .partner-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 56px;
  margin-top: 6px;
  padding: 0 20px;
  border-radius: 10px;
  font: 650 16px/1 var(--pm-copy);
}
.partner-submit svg {
  width: 18px;
  height: 18px;
}
.partner-notice {
  margin: 0;
  color: var(--pm-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.partner-notice a,
.partner-help a {
  color: var(--pm-ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.partner-success {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: 8px 0;
}
.partner-success > svg {
  width: 36px;
  height: 36px;
  color: var(--pm-green);
}
.partner-success h2,
.partner-success p {
  margin: 0;
}
.partner-success h2 {
  font: 700 28px/1.15 var(--pm-copy);
  letter-spacing: -.02em;
}
.partner-success h2:focus {
  outline: none;
}
.partner-success p {
  color: var(--pm-ink-2);
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 959px) {
  .partners-page {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "hero" "value" "side" "story" "details";
    row-gap: 48px;
    padding-block: 28px 56px;
  }
  .partners-side {
    position: static;
  }
  .partners-jump {
    display: inline-flex;
  }
  .partners-hero h1 {
    font-size: clamp(44px, 11vw, 64px);
  }
  .partners-lede {
    font-size: 19px;
  }
}
@media (max-width: 599px) {
  .partners-benefits,
  .partners-money,
  .partners-story {
    grid-template-columns: minmax(0, 1fr);
  }
  .partners-benefits {
    gap: 10px;
  }
  .partners-benefit {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 4px;
    padding: 16px 16px 18px;
  }
  .partners-benefit-mark {
    grid-row: span 2;
    margin: 2px 0 0;
    --pm-glyph-w:28px !important;
    --pm-glyph-h:28px !important;
  }
  .partners-benefit h3 {
    font-size: 17px;
  }
  .partners-money {
    padding: 22px 20px;
    gap: 24px;
  }
  .partners-application {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .partners-application > h2 {
    font-size: 24px;
  }
  .partners-block > p {
    font-size: 16px;
  }
  .partners-fold > summary {
    padding: 0 16px;
  }
  .partners-fold-body {
    padding: 14px 16px 18px;
  }
  .partners-payouts {
    padding: 12px 14px;
  }
}
} .creator-profile .profile-header {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
  margin-bottom: 36px;
  padding: 8px 0 32px;
  border-bottom: 1px solid var(--pm-line);
}
.creator-profile .profile-header > .avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
}
.creator-profile .profile-summary {
  gap: 12px;
}
.creator-profile .profile-identity {
  gap: 5px;
}
.creator-profile .profile-identity h1 {
  font: 600 clamp(24px, 2.4vw, 32px)/1.2 var(--font-copy);
  letter-spacing: -.035em;
}
.creator-profile .profile-identity .handle {
  font-size: 14px;
  color: var(--pm-muted);
}
.creator-profile .profile-bio {
  max-width: 84ch;
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}
.creator-profile .profile-counts {
  gap: 8px 20px;
  font-size: 13px;
}
.creator-profile .profile-counts b {
  font: 600 14px/1.5 var(--font-copy);
}
.creator-profile .profile-controls {
  padding-top: 4px;
}
.creator-profile .profile-controls .btn {
  min-width: 112px;
}
.creator-profile .links {
  gap: 8px 16px;
  font-size: 14px;
}
.creator-profile .links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.creator-profile .profile-section-heading h2 {
  font-size: 28px;
}
.creator-profile .profile-games {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 14px;
}
@media (min-width: 1600px) {
  .creator-profile .profile-games {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.creator-profile .home-card-title {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
}
.creator-profile .profile-empty {
  border: 0;
  background: var(--pm-subtle);
  padding: 48px 24px;
}
.home-card-title-row {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.home-card-title-row > .home-card-title {
  flex: 1;
  min-width: 0;
}
.home-card-edit {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 4px -6px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--pm-muted);
  cursor: pointer;
  transition: background-color .15s var(--pm-ease), color .15s var(--pm-ease);
}
.home-card-edit svg {
  width: 17px;
  height: 17px;
}
@media (hover: hover) {
  .home-card-edit:hover {
    background: var(--pm-subtle);
    color: var(--pm-ink);
  }
}
.home-card-edit:focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: 1px;
}
.home-card-edit {
  position: relative;
}
.home-card-edit::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
}
@media (max-width: 700px) {
  .home-card-edit {
    margin-top: 0;
  }
}
.main:has(> .studio) {
  padding: 0;
}
.studio {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--pm-canvas);
  color: var(--pm-ink);
}
.studio-top {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 20px;
  border-bottom: 1px solid var(--pm-line);
  background: var(--pm-canvas);
}
.studio-brand {
  display: flex;
  align-items: center;
  border-radius: 8px;
}
.studio-top-end {
  display: flex;
  align-items: center;
  gap: 8px;
}
.studio-me.avatar {
  width: 32px;
  height: 32px;
}
.studio-brand:focus-visible,
.studio-me:focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: 2px;
}
.studio-frame {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  min-height: calc(100dvh - 57px);
}
.studio-side {
  position: sticky;
  top: 57px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: calc(100dvh - 57px);
  padding: 14px 12px;
  border-right: 1px solid var(--pm-line);
}
.studio-side-back {
  padding: 2px 4px 6px;
}
.studio-side-game {
  display: grid;
  gap: 4px;
  padding: 8px 12px 14px;
  border-radius: 10px;
  color: inherit;
}
.studio-side-art {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px;
  background: var(--pm-subtle-2);
}
.studio-side-art img,
.studio-preview-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.studio-art-empty {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 12px;
  text-align: center;
  color: var(--pm-muted);
  font-size: 13px;
}
.studio-side-kicker {
  margin-top: 8px;
  color: var(--pm-muted);
  font: 500 13px/1.2 var(--pm-copy);
}
.studio-side-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--pm-ink);
  font: 500 15px/1.35 var(--pm-copy);
}
.studio-side-tabs {
  display: grid;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--pm-line);
}
.studio-side-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--pm-ink-2);
  font: 500 15px/1 var(--pm-copy);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--pm-fast) var(--pm-ease), color var(--pm-fast) var(--pm-ease);
}
.studio-side-tab svg {
  width: 20px;
  height: 20px;
}
.studio-side-tab[aria-selected=true] {
  background: var(--pm-subtle-2);
  color: var(--pm-ink);
}
.studio-side-tab[aria-selected=true] svg {
  color: var(--pm-red-text);
}
@media (hover: hover) {
  .studio-side-tab:hover {
    background: var(--pm-subtle);
    color: var(--pm-ink);
  }
  .studio-side-game:hover .studio-side-title {
    text-decoration: underline;
    text-underline-offset: 2px;
  }
}
.studio-side-game:focus-visible,
.studio-side-tab:focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: -2px;
}
.studio-content {
  min-width: 0;
  max-width: 1240px;
  padding: 0 32px 72px;
}
.studio-head {
  position: sticky;
  top: 57px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px 0 12px;
  background: var(--pm-canvas);
}
.studio-head h1 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
}
.studio-back {
  display: none;
}
.studio-actions {
  display: flex;
  gap: 8px;
}
.studio-actions[hidden] {
  display: none;
}
.studio-actions .btn {
  min-height: 40px;
  padding: 9px 18px;
}
.studio-actions .btn:disabled {
  opacity: .4;
  cursor: default;
}
.studio .studio-tabs {
  display: none;
}
.studio-status {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--pm-red-soft);
  color: var(--pm-red-text);
  font-size: 14px;
  line-height: 1.4;
}
.studio-status:empty {
  display: none;
}
.studio-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 356px;
  gap: 28px 36px;
  align-items: start;
}
.studio-details,
.studio-analytics {
  margin-top: 8px;
}
.studio-details[hidden],
.studio-analytics[hidden] {
  display: none;
}
.studio-details-main {
  display: grid;
  gap: 26px;
  min-width: 0;
}
.studio-field {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 10px 14px 10px;
  border: 1px solid var(--pm-line-strong);
  border-radius: 10px;
  background: var(--pm-canvas);
  cursor: text;
  transition: border-color var(--pm-fast) var(--pm-ease);
}
.studio-field:focus-within {
  border-color: var(--pm-red-text);
  box-shadow: inset 0 0 0 1px var(--pm-red-text);
}
.studio-field-label {
  color: var(--pm-muted);
  font: 500 13px/1.25 var(--pm-copy);
}
.studio-input {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pm-ink);
  font: 400 16px/1.45 var(--pm-copy);
  outline: none;
}
textarea.studio-input {
  min-height: 150px;
  resize: vertical;
}
.studio-input::placeholder {
  color: var(--pm-muted);
}
.studio-count {
  justify-self: end;
  color: var(--pm-muted);
  font: 400 12px/1 var(--pm-copy);
  font-variant-numeric: tabular-nums;
}
.studio-group {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.studio-group h2,
.studio-card h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.15;
}
.studio-hint {
  margin: 0;
  color: var(--pm-muted);
  font-size: 13px;
  line-height: 1.45;
}
.studio-covers {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: 2px -5px 0;
  padding: 5px;
  scrollbar-width: none;
}
.studio-covers::-webkit-scrollbar {
  display: none;
}
.studio-cover {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 156px;
  aspect-ratio: 16/9;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--pm-subtle);
  color: var(--pm-ink-2);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--pm-line);
}
.studio-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.studio-cover[aria-pressed=true] {
  box-shadow: 0 0 0 2px var(--pm-canvas), 0 0 0 4px var(--pm-red-text);
}
.studio-cover:focus-visible,
.studio-upload:focus-within {
  outline: 2px solid var(--pm-focus);
  outline-offset: 2px;
}
.studio-upload {
  align-content: center;
  gap: 6px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--pm-line-strong);
  font: 500 12px/1.2 var(--pm-copy);
}
.studio-upload svg {
  width: 20px;
  height: 20px;
}
@media (hover: hover) {
  .studio-cover:not([aria-pressed=true]):hover {
    box-shadow: inset 0 0 0 1px var(--pm-muted);
  }
  .studio-upload:hover {
    background: var(--pm-subtle);
  }
}
.studio-tags,
.studio-address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 50px;
  padding: 8px 12px;
  border: 1px solid var(--pm-line-strong);
  border-radius: 10px;
  cursor: text;
  transition: border-color var(--pm-fast) var(--pm-ease);
}
.studio-tags:focus-within,
.studio-address:focus-within {
  border-color: var(--pm-red-text);
  box-shadow: inset 0 0 0 1px var(--pm-red-text);
}
.studio-tag {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 30px;
  padding: 0 4px 0 11px;
  border-radius: 999px;
  background: var(--pm-warm-soft);
  color: var(--pm-warm-text);
  font: 500 13px/1 var(--pm-copy);
}
.studio-tag > button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: 400 17px/1 var(--pm-copy);
  cursor: pointer;
}
@media (hover: hover) {
  .studio-tag > button:hover {
    background: color-mix(in srgb, var(--pm-warm-text) 14%, transparent);
  }
}
.studio-tag-input,
.studio-link-input {
  flex: 1;
  min-width: 90px;
  height: 32px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--pm-ink);
  font: 400 16px/1 var(--pm-copy);
  outline: none;
}
.studio-address {
  flex-wrap: nowrap;
  gap: 0;
  padding-left: 14px;
}
.studio-address-host {
  flex: none;
  color: var(--pm-muted);
  font: 400 16px/1 var(--pm-copy);
}
.studio-link-input {
  padding-left: 1px;
}
.studio-details-aside {
  position: sticky;
  top: 145px;
  display: grid;
  gap: 22px;
  min-width: 0;
}
.studio-preview {
  overflow: hidden;
  border-radius: 12px;
  background: var(--pm-subtle);
}
.studio-preview-open {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  background: var(--pm-media);
}
.studio-preview-art {
  position: absolute;
  inset: 0;
  display: block;
}
.studio-preview-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pm-media) 58%, transparent);
  color: var(--pm-on-media);
  transition: transform var(--pm-fast) var(--pm-ease), background-color var(--pm-fast) var(--pm-ease);
}
.studio-preview-play svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}
@media (hover: hover) {
  .studio-preview-open:hover .studio-preview-play {
    transform: scale(1.06);
    background: var(--pm-red);
  }
}
.studio-preview-open:focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: -4px;
}
.studio-preview-rows {
  display: grid;
  gap: 14px;
  padding: 14px 16px 16px;
}
.studio-preview-row {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.studio-preview-linkrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.studio-preview-linkrow > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.studio-preview-label {
  color: var(--pm-muted);
  font: 400 12px/1.25 var(--pm-copy);
}
.studio-preview-link {
  color: var(--pm-blue);
  font: 400 14px/1.4 var(--pm-copy);
  overflow-wrap: anywhere;
}
.studio-preview-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.studio-preview-note {
  color: var(--pm-muted);
  font-size: 12px;
  line-height: 1.3;
}
.studio-preview-note:empty {
  display: none;
}
.studio-preview-value {
  min-width: 0;
  color: var(--pm-ink);
  font: 400 14px/1.4 var(--pm-copy);
  overflow-wrap: anywhere;
}
a.studio-preview-value:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.studio-icon-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--pm-ink-2);
  cursor: pointer;
}
.studio-icon-btn svg {
  width: 20px;
  height: 20px;
}
@media (hover: hover) {
  .studio-icon-btn:hover {
    background: var(--pm-subtle-2);
    color: var(--pm-ink);
  }
}
.studio-icon-btn:focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: 1px;
}
.studio-aside-field {
  display: grid;
  gap: 8px;
}
.studio-field-select {
  cursor: pointer;
}
.studio-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  margin: 0;
  padding: 0 28px 0 0;
  border: 0;
  background: transparent;
  color: var(--pm-ink);
  font: 400 16px/1.45 var(--pm-copy);
  outline: none;
  cursor: pointer;
}
.studio-select option {
  background: var(--pm-raised);
  color: var(--pm-ink);
}
.studio-select-mark {
  position: absolute;
  right: 12px;
  bottom: 13px;
  display: grid;
  color: var(--pm-muted);
  pointer-events: none;
}
.studio-select-mark svg {
  width: 18px;
  height: 18px;
}
.studio-field-static {
  cursor: default;
}
.studio-field-static > span:last-child {
  font: 400 16px/1.45 var(--pm-copy);
}
.studio-analytics {
  display: grid;
  gap: 16px;
}
.studio-analytics[aria-busy=true] {
  opacity: .6;
}
.studio-card {
  padding: 20px 22px;
  border: 1px solid var(--pm-line);
  border-radius: 12px;
  background: var(--pm-surface);
}
.studio-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  overflow: hidden;
}
.studio-kpi {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 20px 22px;
  border-left: 1px solid var(--pm-line);
}
.studio-kpi:first-child {
  border-left: 0;
}
.studio-kpi-label {
  color: var(--pm-ink-2);
  font: 500 14px/1.2 var(--pm-copy);
}
.studio-kpi-value {
  color: var(--pm-ink);
  font: 400 36px/1.05 var(--pm-display);
  letter-spacing: var(--pm-display-tracking);
  font-variant-numeric: tabular-nums;
}
.studio-kpi-note {
  color: var(--pm-muted);
  font-size: 13px;
  line-height: 1.35;
}
.studio-analytics-note {
  margin: -4px 2px 4px;
}
.studio-analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.studio-earned {
  display: grid;
  gap: 10px;
}
.studio-earned-total {
  margin: 2px 0 0;
  color: var(--pm-ink-2);
  font-size: 15px;
}
.studio-earned-total b {
  color: var(--pm-ink);
  font: 400 30px/1 var(--pm-display);
  letter-spacing: var(--pm-display-tracking);
  font-variant-numeric: tabular-nums;
}
.studio-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--pm-subtle-2);
}
.studio-meter > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--pm-red);
}
.studio-earned-next {
  margin: 4px 0 0;
  color: var(--pm-ink);
  font-size: 15px;
  line-height: 1.45;
}
.studio-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  margin-top: 4px;
  color: var(--pm-blue);
  font: 500 14px/1.3 var(--pm-copy);
}
.studio-card-link svg {
  width: 16px;
  height: 16px;
}
.studio-card-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.studio-engagement {
  display: grid;
}
.studio-engagement h2 {
  margin-bottom: 6px;
}
.studio-line {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border-bottom: 1px solid var(--pm-line);
  color: var(--pm-ink);
}
.studio-line:last-of-type {
  border-bottom: 0;
}
.studio-line svg {
  width: 18px;
  height: 18px;
  color: var(--pm-muted);
}
.studio-line > span {
  flex: 1;
  color: var(--pm-ink-2);
  font-size: 15px;
}
.studio-line > b {
  font: 600 15px/1 var(--pm-copy);
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) {
  a.studio-line:hover > span {
    color: var(--pm-ink);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
}
.studio-analytics-column {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.studio-likers {
  display: grid;
  gap: 8px;
}
.studio-likers .people-list {
  margin: 2px 0 0;
}
.studio-likers .people-row {
  padding: 7px 0;
}
.studio-likers-empty {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin: 2px 0 0;
  color: var(--pm-muted);
  font-size: 15px;
  line-height: 1.45;
}
.studio-likers-empty p {
  margin: 0;
}
.studio-likers .studio-card-link {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.studio-won {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--pm-ink);
  font-size: 14px;
}
.studio-won svg {
  width: 18px;
  height: 18px;
  color: var(--pm-red-text);
}
.studio-empty {
  display: grid;
  justify-items: start;
  gap: 10px;
}
.studio-empty p {
  margin: 0;
  color: var(--pm-muted);
}
.studio-stop {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 460px;
  margin: 96px auto;
  padding: 0 16px;
  text-align: center;
}
.studio-stop h1 {
  margin: 0;
  font-size: 32px;
}
.studio-stop p {
  margin: 0;
  color: var(--pm-muted);
  line-height: 1.5;
}
@media (max-width: 1099px) {
  .studio-details {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .studio-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .studio-kpi:nth-child(3) {
    border-left: 0;
  }
  .studio-kpi:nth-child(n+3) {
    border-top: 1px solid var(--pm-line);
  }
  .studio-analytics-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 899px) {
  .studio-top,
  .studio-side,
  .studio-undo {
    display: none;
  }
  .studio-frame {
    display: block;
    min-height: 0;
  }
  .studio-content {
    padding: 0 16px 48px;
  }
  .studio-head {
    top: 0;
    min-height: 58px;
    padding: 8px 0;
    gap: 6px;
  }
  .studio-head h1 {
    font-size: 23px;
  }
  .studio-back {
    display: block;
    flex: none;
  }
  .studio-actions .btn {
    min-height: 36px;
    padding: 7px 16px;
  }
  .studio .studio-tabs {
    display: inline-flex;
    margin: 2px 0 18px;
  }
  .studio-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .studio-details-aside {
    display: contents;
  }
  .studio-preview {
    order: -1;
  }
  .studio-aside-field {
    order: 1;
  }
  .studio-cover {
    width: 132px;
  }
  .studio-kpi {
    padding: 16px;
  }
  .studio-kpi-value {
    font-size: 30px;
  }
  .studio-card {
    padding: 18px;
  }
  .studio-stop {
    margin: 64px auto;
  }
}
html.phone.mcp-mobile .app:has(.creator-profile-mobile-shell) {
  max-width: none;
  border: 0;
}
html.phone.mcp-mobile .creator-profile-mobile-shell .mcp-utility-main {
  padding: 0;
}
html.phone.mcp-mobile .creator-profile-mobile-shell .profile-page {
  padding-inline: 0;
}
.creator-profile-mobile-shell .mcp-context-back-row + .page {
  padding-top: 16px;
}
@media (max-width: 1000px) and (min-width: 701px) {
  .creator-profile .profile-games {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .creator-profile .profile-header {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 14px 16px;
    margin-bottom: 28px;
    padding: 4px 0 24px;
  }
  .creator-profile .profile-header > .avatar {
    width: 72px;
    height: 72px;
  }
  .creator-profile .profile-summary {
    display: contents;
  }
  .creator-profile .profile-identity {
    grid-column: 2;
    grid-row: 1;
    gap: 3px;
  }
  .creator-profile .profile-header > :not(.avatar),
  .creator-profile .profile-summary > :not(.profile-identity) {
    grid-column: 1/-1;
  }
  .creator-profile .profile-controls {
    grid-row: auto;
    justify-self: stretch;
    margin-top: 4px;
    padding: 0;
  }
  .creator-profile .profile-controls .btn {
    width: 100%;
  }
  .creator-profile .profile-identity h1 {
    font-size: 26px;
    line-height: 1.15;
  }
  .creator-profile .profile-identity .handle {
    font-size: 15px;
  }
  .creator-profile .profile-bio {
    margin-top: 2px;
    color: var(--pm-ink-2);
    font-size: 15px;
    line-height: 1.45;
  }
  .creator-profile .profile-counts {
    gap: 6px 14px;
  }
  .creator-profile .profile-games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
  .creator-profile .profile-section-heading h2 {
    font-size: 24px;
  }
  .creator-profile .home-card-title {
    font-size: 14px;
  }
  .creator-profile .home-badge {
    top: 8px;
    left: 8px;
    font-size: 10px;
    max-width: calc(100% - 16px);
  }
}
.create-page {
  overflow-anchor: none;
}
.create-intro {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 16px;
  margin-bottom: 10px;
}
.create-intro h1 {
  margin: 0;
}
.create-intro > p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
}
.create-intro > span {
  font-size: 15px;
  color: var(--ink-3);
}
.create-page > .create-view {
  max-width: none;
}
.create-big {
  min-height: 54px;
  padding-inline: 28px;
  font-size: 16px;
}
.create-pending {
  margin: 0;
  font-size: 14px;
  color: var(--ink-3);
}
.create-slot {
  min-width: 0;
}
.main:has(> .create-page) {
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}
.main > .create-page {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
.create-page > .create-view {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
.create-lander {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}
.create-lander > .create-intro {
  justify-content: center;
  text-align: center;
  flex-direction: column;
  align-items: center;
}
.create-intro > p {
  max-width: 62ch;
}
.create-steps {
  --clip-w:min(560px,100%,calc(max(280px,100dvh - 440px) * 16 / 9));
  width: var(--clip-w);
  margin: auto;
}
.create-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.create-slide > h3 {
  grid-column: 1;
  font: 600 28px/1.2 var(--font-copy) !important;
  letter-spacing: -.025em;
  margin: 0 !important;
  max-width: none;
}
.create-text {
  grid-column: 1;
  display: grid;
  gap: 12px;
  align-content: start;
}
.create-text .create-hint {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2) !important;
  max-width: none;
}
.create-text > * {
  min-width: 0;
}
.create-copy-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  background: var(--pm-subtle);
}
.create-copy-card .create-copy {
  background: var(--pm-surface) !important;
  padding: 10px 8px 10px 14px !important;
}
.create-copy-card .create-copy pre {
  font-size: 15px;
}
.create-copy-card,
.create-copy-card > *,
.create-copy-card .create-copy {
  min-width: 0;
}
.create-copy-card .create-copy pre {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.create-copy-card .create-copy .btn {
  flex: none;
}
.create-text .create-copy {
  margin: 0;
  padding: 8px 8px 8px 14px;
  min-width: 0;
}
.create-text .create-copy pre {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.create-text .create-copy .btn {
  flex: none;
}
.create-text > .btn {
  justify-self: start;
}
.create-media {
  grid-column: 1;
  grid-row: auto;
}
.create-slide .create-media .create-clip-frame {
  margin: 0;
}
.create-slider-nav {
  position: static;
  width: 100%;
  margin: 16px 0 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.create-nav-buttons {
  display: flex;
  gap: 10px;
}
.create-progress-row {
  flex: none !important;
  width: 160px;
  align-items: flex-end !important;
}
.create-slider {
  position: relative;
}
.create-slide h3 {
  font: 600 24px/1.3 var(--font-copy);
  letter-spacing: -.02em;
  margin: 0 0 6px;
  max-width: 36ch;
}
.create-stack {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  transition: height .5s cubic-bezier(.16, 1, .3, 1);
}
.create-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(32px, 0, 0);
  transition:
    opacity .16s ease-in,
    transform .4s cubic-bezier(.16, 1, .3, 1),
    visibility 0s linear .4s;
}
.create-slide.before {
  transform: translate3d(-32px, 0, 0);
}
.create-slide.on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity .36s ease-out .14s,
    transform .55s cubic-bezier(.16, 1, .3, 1) .1s,
    visibility 0s;
}
.page.create-page {
  padding-top: 14px;
  padding-bottom: 14px;
}
.create-hint {
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-3);
}
.create-text-button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.create-slide .create-clip-frame {
  margin: 0 0 14px;
}
.create-progress-row {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.create-progress-track {
  width: min(220px, 100%);
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.create-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: var(--accent);
  transition: width .4s cubic-bezier(.16, 1, .3, 1);
}
.create-slider-nav .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  min-width: 112px;
  justify-content: center;
}
.create-slider-nav .btn svg {
  width: 16px;
  height: 16px;
}
.create-slider-nav .btn:disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}
.create-slide > h3 {
  margin: 0 !important;
}
.create-progress {
  font-size: 13px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .create-slide,
  .create-stack {
    transition: none !important;
  }
}
.create-link-status:empty {
  display: none;
}
.create-link-status {
  color: var(--pm-red-text) !important;
}
.create-clip-frame {
  margin: 0 0 20px;
  aspect-ratio: 16/9;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--pm-subtle-2);
}
.create-clip {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.create-copy {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--surface-2);
  margin-bottom: 16px;
}
.create-copy pre {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  font: 13px/1.6 var(--font-mono);
}
.create-copy .btn {
  flex-shrink: 0;
  min-height: 38px;
}
html.phone.mcp-mobile .app:has(.create-mobile-shell) {
  max-width: none;
  border: 0;
}
html.phone.mcp-mobile .create-mobile-shell .mcp-utility-main {
  padding: 0;
}
html.phone.mcp-mobile .create-mobile-shell .create-page {
  padding-inline: 0;
}
@media (max-width: 700px) {
  .create-intro {
    margin-bottom: 12px;
  }
  .create-intro > p {
    display: none;
  }
  .create-slide h3 {
    font-size: 20px;
  }
  .create-copy {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }
  .create-copy .btn {
    align-self: flex-start;
    min-height: 44px;
  }
  .create-copy pre {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes create-guide-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}
.notif-item {
  --notif-bg:var(--pm-surface);
  --notif-lead:44px;
  --notif-thumb:48px;
  --notif-pad:18px;
  --notif-left:24px;
  --notif-gap:14px;
  --notif-y:14px;
  position: relative;
  display: grid;
  grid-template-columns: var(--notif-lead) minmax(0, 1fr) auto;
  column-gap: var(--notif-gap);
  align-items: center;
  padding: var(--notif-y) var(--notif-pad) var(--notif-y) var(--notif-left);
  background: var(--notif-bg);
  transition: background-color var(--pm-fast) var(--pm-ease);
}
.notif-item:hover {
  --notif-bg:var(--pm-subtle);
}
.notif-item + .notif-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(var(--notif-left) + var(--notif-lead) + var(--notif-gap));
  right: var(--notif-pad);
  border-top: 1px solid var(--pm-line);
  pointer-events: none;
}
.notif-lead {
  position: relative;
  z-index: 1;
  width: var(--notif-lead);
  height: var(--notif-lead);
  align-self: start;
}
.notif-lead > .avatar {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}
.notif-glyph {
  width: var(--notif-lead);
  height: var(--notif-lead);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pm-subtle-2);
  color: var(--pm-ink);
}
.notif-glyph svg,
.notif-glyph img,
.notif-glyph .pm-glyph {
  width: 20px;
  height: 20px;
}
.notif-kind {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pm-subtle-2);
  color: var(--pm-ink);
  box-shadow: 0 0 0 2.5px var(--notif-bg);
  transition: box-shadow var(--pm-fast) var(--pm-ease);
}
.notif-kind svg,
.notif-kind img,
.notif-kind .pm-glyph {
  width: 12px;
  height: 12px;
}
.notif-kind[data-kind=like],
.notif-glyph[data-kind=like],
.notif-kind[data-kind=welcome],
.notif-glyph[data-kind=welcome] {
  background: var(--pm-red);
  color: var(--pm-on-accent);
}
.notif-kind[data-kind=comment],
.notif-glyph[data-kind=comment] {
  background: var(--pm-blue);
  color: var(--pm-canvas);
}
.notif-kind[data-kind=play],
.notif-glyph[data-kind=play] {
  background: var(--pm-green);
  color: var(--pm-canvas);
}
.notif-kind[data-kind=follow],
.notif-glyph[data-kind=follow] {
  background: var(--pm-warn);
  color: var(--pm-canvas);
}
.notif-kind[data-kind=publish],
.notif-glyph[data-kind=publish] {
  background: var(--pm-lime);
  color: var(--pm-on-place);
}
.notif-kind[data-kind=win],
.notif-glyph[data-kind=win],
.notif-kind[data-kind=credit],
.notif-glyph[data-kind=credit] {
  background: var(--pm-place-1);
  color: var(--pm-on-place);
}
.notif-body {
  min-width: 0;
}
.notif-sentence {
  margin: 0;
  font: 400 15px/1.4 var(--pm-copy);
  color: var(--pm-ink);
  overflow-wrap: anywhere;
}
.notif-time {
  color: var(--pm-muted);
  font-size: 13px;
  white-space: nowrap;
}
.notif-link {
  position: relative;
  z-index: 1;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  border-radius: 4px;
}
.notif-link:hover {
  color: var(--pm-tag-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.home-challenge .home-card-title,
.feed-home-challenges .home-card-title,
.ccard > .body > .title,
.gd-rank-tag,
.game-detail-challenge {
  transition: color .15s var(--pm-ease);
}
.home-challenge .home-card-title:hover,
.feed-home-challenges .home-card-title:hover,
.ccard > .body > .title:hover,
.gd-rank-tag:hover,
.game-detail-challenge:hover {
  color: var(--pm-tag-hover);
}
.notif-link:focus-visible,
.notif-menu-all:focus-visible {
  outline: 2px solid var(--pm-red-text);
  outline-offset: 2px;
}
.notif-open:focus-visible {
  outline: 2px solid var(--pm-red-text);
  outline-offset: -2px;
}
.notif-detail {
  margin: 6px 0 0;
  padding-left: 10px;
  border-left: 2px solid var(--pm-line-strong);
  color: var(--pm-ink-2);
  font: 400 14px/1.45 var(--pm-copy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notif-thumb {
  display: block;
  align-self: start;
  width: var(--notif-thumb);
  height: var(--notif-thumb);
  border-radius: 10px;
  object-fit: cover;
  background: var(--pm-subtle-2);
}
.notif-dot {
  position: absolute;
  left: calc(var(--notif-left) / 2 - 3.5px);
  top: calc(var(--notif-y) + var(--notif-lead) / 2 - 3.5px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pm-red);
}
.notif-open {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.notif-item.compact {
  --notif-lead:40px;
  --notif-thumb:40px;
  --notif-pad:16px;
  --notif-left:22px;
  --notif-gap:12px;
  --notif-y:12px;
}
.notif-item.compact .notif-sentence {
  font-size: 14px;
}
.notif-item.compact .notif-detail {
  font-size: 13px;
}
.notif-item.compact .notif-time {
  font-size: 12px;
}
.notif-page .page-header {
  margin-bottom: 8px;
}
.notif-page .page-header {
  margin-bottom: 28px;
}
.notif-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, var(--pm-measure));
  gap: 20px 48px;
  align-items: start;
}
.notif-layout.empty {
  grid-template-columns: minmax(0, var(--pm-measure));
}
.notif-layout.empty > .notif-filters {
  display: none;
}
.notif-filters {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 2px;
  padding: 6px;
  background: var(--pm-seg-track);
  border: 1px solid var(--pm-seg-line);
  border-radius: 22px;
}
.notif-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--pm-seg-ink);
  font: 500 14px/1 var(--pm-copy);
  text-align: left;
  cursor: pointer;
  transition: color var(--pm-fast) var(--pm-ease), background-color var(--pm-fast) var(--pm-ease);
}
.notif-filter:not(.active):not(:disabled):hover {
  background: color-mix(in srgb, var(--pm-ink) 7%, transparent);
  color: var(--pm-ink);
}
.notif-filter.active {
  background: var(--pm-seg-active);
  color: var(--pm-on-seg-active);
}
.notif-filter:disabled {
  color: var(--pm-faint);
  cursor: default;
}
.notif-filter:focus-visible {
  outline: 2px solid var(--pm-red-text);
  outline-offset: 2px;
}
.notif-filter svg,
.notif-filter img,
.notif-filter .pm-glyph {
  flex: none;
  width: 16px;
  height: 16px;
}
.notif-filter-label {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-filter-count {
  flex: none;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  opacity: .72;
}
.notif-page-list {
  display: grid;
  gap: 24px;
  min-width: 0;
}
.notif-group > h2 {
  margin: 0 0 10px 4px;
  font: 600 13px/1.2 var(--pm-copy);
  letter-spacing: .02em;
  color: var(--pm-muted);
}
@media (max-width: 899px) {
  .notif-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .notif-filters {
    position: relative;
    top: auto;
    display: flex;
    padding: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 999px;
  }
  .notif-filters::-webkit-scrollbar {
    display: none;
  }
  .notif-filter {
    flex: none;
    min-height: 34px;
    padding: 0 14px;
    gap: 8px;
  }
  .notif-filter:focus-visible {
    outline-offset: -2px;
  }
  .notif-filter svg,
  .notif-filter img,
  .notif-filter .pm-glyph,
  .notif-filter.none,
  .notif-filter-count:empty {
    display: none;
  }
}
.notif-list {
  display: grid;
  overflow: hidden;
  background: var(--pm-surface);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-card-radius);
}
@media (max-width: 599px) {
  .notif-item:not(.compact) {
    --notif-lead:40px;
    --notif-thumb:44px;
    --notif-pad:14px;
    --notif-left:20px;
    --notif-gap:12px;
    --notif-y:12px;
  }
}
.notif-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 56px 24px;
  text-align: center;
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-card-radius);
  background: var(--pm-surface);
}
.notif-empty .notif-glyph {
  --notif-lead:52px;
}
.notif-empty h2 {
  margin: 4px 0 0;
  font: 400 22px/1.15 var(--pm-display);
  letter-spacing: var(--pm-display-tracking);
}
.notif-empty p {
  margin: 0;
  max-width: 36em;
  color: var(--pm-muted);
  font: 400 15px/1.5 var(--pm-copy);
}
.notif-empty.compact {
  margin: 0;
  padding: 32px 16px;
  border: 0;
  gap: 8px;
}
.notif-empty.compact p {
  font-size: 14px;
}
.notif-empty.compact .notif-glyph {
  --notif-lead:44px;
}
.notif-menu-wrap {
  position: relative;
  display: inline-flex;
}
.notif-trigger {
  position: relative;
  cursor: pointer;
}
.notif-trigger .notif-badge {
  top: 2px;
  right: 2px;
  left: auto;
}
.notif-trigger .notif-badge[hidden] {
  display: none;
}
.notif-menu-wrap.open .notif-trigger {
  background: var(--pm-subtle);
}
.notif-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: -8px;
  z-index: 80;
  width: min(400px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 112px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--pm-raised);
  color: var(--pm-ink);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-card-radius);
  box-shadow: 0 18px 48px color-mix(in srgb, var(--pm-shadow) 64%, transparent), 0 2px 8px color-mix(in srgb, var(--pm-shadow) 27%, transparent);
  text-align: left;
  transform-origin: top right;
  animation: notif-menu-in var(--pm-fast) var(--pm-ease);
}
.notif-menu[hidden] {
  display: none;
}
.notif-menu:focus {
  outline: none;
}
.notif-menu > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--pm-line);
}
.notif-menu h2 {
  margin: 0;
  font: 400 20px/1.1 var(--pm-display);
  letter-spacing: var(--pm-display-tracking);
  color: var(--pm-ink);
}
.notif-menu-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 13px/1 var(--pm-copy);
  color: var(--pm-red-text);
  text-decoration: none;
  white-space: nowrap;
}
.notif-menu-all svg {
  width: 12px;
  height: 12px;
}
.notif-menu-body {
  overflow: auto;
  overscroll-behavior: contain;
  display: grid;
}
.notif-menu .notif-item {
  --notif-bg:var(--pm-raised);
}
.notif-menu .notif-item + .notif-item::before {
  border-top-color: var(--pm-line-strong);
}
.notif-menu .notif-item:hover {
  --notif-bg:color-mix(in srgb, var(--pm-ink) 6%, var(--pm-raised));
}
@keyframes notif-menu-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(.98);
  }
}
@media (prefers-reduced-motion: reduce) {
  .notif-menu {
    animation: none;
  }
  .notif-item {
    transition: none;
  }
}
.entry-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  justify-self: start;
  width: max-content;
  max-width: 100%;
  height: 26px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 12px/1 var(--pm-copy);
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
  vertical-align: middle;
  transition: background-color var(--pm-fast) var(--pm-ease), border-color var(--pm-fast) var(--pm-ease);
}
.entry-tag svg,
.entry-tag img {
  width: 13px;
  height: 13px;
  flex: none;
}
.ccard .entry-tag {
  align-self: flex-start;
}
.entry-tag .entry-tag-stat {
  font-weight: 400;
  opacity: .85;
}
.entry-tag .entry-tag-stat::before {
  content: "\b7";
  margin-right: 5px;
}
.entry-tag.join {
  appearance: none;
  cursor: pointer;
  color: var(--pm-red-text);
  background: color-mix(in srgb, var(--pm-red-soft) 50%, var(--pm-surface));
  border-color: color-mix(in srgb, var(--pm-red-text) 22%, var(--pm-surface));
}
.entry-tag.join:hover:not(:disabled) {
  background: var(--pm-red-soft);
  border-color: var(--pm-red-text);
}
.entry-tag.join:disabled {
  cursor: default;
  opacity: .6;
}
.entry-tag.joined {
  color: var(--pm-green);
  background: var(--pm-green-soft);
  border-color: color-mix(in srgb, var(--pm-green) 25%, var(--pm-surface));
}
.entry-tag.joined:hover {
  border-color: var(--pm-green);
}
.entry-tag.ended {
  color: var(--pm-muted);
  background: var(--pm-subtle);
  border-color: var(--pm-line);
}
.entry-tag:focus-visible {
  outline: 2px solid var(--pm-red-text);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .entry-tag {
    transition: none;
  }
}
.creator-profile .profile-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.creator-profile .profile-controls .profile-share {
  min-width: 0;
  width: 44px;
  padding: 0;
  justify-content: center;
}
.profile-share svg {
  width: 18px;
  height: 18px;
}
.creator-profile .page-section + .page-section {
  margin-top: var(--pm-section-gap,48px);
}
.creator-profile .profile-section-heading {
  margin-bottom: 16px;
}
.profile-status {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--pm-subtle-2);
  color: var(--pm-ink-2);
  font: 600 11px/1.3 var(--pm-copy);
  letter-spacing: .02em;
}
.profile-challenge-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 12px;
}
.profile-challenge {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 10px 10px;
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-card-radius);
  background: var(--pm-surface);
  color: var(--pm-ink);
  text-decoration: none;
  transition: background-color var(--pm-fast) var(--pm-ease), border-color var(--pm-fast) var(--pm-ease);
}
.profile-challenge:hover {
  background: var(--pm-subtle);
  border-color: var(--pm-line-strong);
}
.profile-challenge:focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: 2px;
}
.profile-challenge-art {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--pm-subtle);
  color: var(--pm-muted);
}
.profile-challenge-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-challenge-art svg {
  width: 22px;
  height: 22px;
}
.profile-challenge-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.profile-challenge-text strong {
  font: 600 15px/1.25 var(--pm-copy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-challenge-text span {
  font: 400 13px/1.35 var(--pm-copy);
  color: var(--pm-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-challenge > svg {
  width: 14px;
  height: 14px;
  color: var(--pm-muted);
}
.profile-challenge.ended .profile-challenge-art {
  opacity: .6;
}
.settings-mode button {
  position: relative;
  z-index: 1;
  min-height: 32px;
  padding: 6px 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--pm-seg-ink);
  font: 500 14px/1 var(--pm-copy);
}
.settings-mode:not(.pm-seg-ready) button.active {
  background: var(--pm-seg-active);
}
.settings-mode button.active {
  color: var(--pm-on-seg-active);
}
.settings-mode button:focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: 2px;
}
.profile-see-all[hidden] {
  display: none;
}
.creator-profile .profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 4px;
}
.creator-profile .profile-stats .profile-stat {
  display: grid;
  align-content: start;
  gap: 2px;
  min-width: 0;
  color: var(--pm-muted);
  font: 400 13px/1.3 var(--pm-copy);
  text-decoration: none;
}
.profile-stats .profile-stat > span {
  display: block;
}
.creator-profile .profile-stats .profile-stat.private {
  padding-left: 28px;
  border-left: 1px solid var(--pm-line);
  border-radius: 0;
}
.creator-profile .profile-stat b {
  color: var(--pm-ink);
  font: 600 18px/1.2 var(--pm-copy);
  font-variant-numeric: tabular-nums;
}
button.profile-stat {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
:is(a, button).profile-stat {
  border-radius: 6px;
}
:is(a, button).profile-stat:hover b {
  color: var(--pm-red-text-hover);
}
:is(a, button).profile-stat:hover span {
  color: var(--pm-ink-2);
}
:is(a, button).profile-stat:focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: 4px;
}
.modal > .sheet:has(.people-sheet) {
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  padding: 0;
  overflow: hidden;
}
.people-sheet {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.people-head {
  display: grid;
  gap: 14px;
  padding: 22px 20px 14px;
  border-bottom: 1px solid var(--pm-line);
}
.people-head h2 {
  margin: 0;
  overflow: hidden;
  font: 400 24px/1.15 var(--pm-display);
  letter-spacing: var(--pm-display-tracking);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.people-count {
  margin: -8px 0 0;
  color: var(--pm-muted);
  font: 400 14px/1.3 var(--pm-copy);
}
.people-tabs {
  display: flex;
}
.people-tabs button {
  flex: 1;
  padding-inline: 10px;
  white-space: nowrap;
}
.people-body {
  height: min(460px, 62dvh);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 6px 8px 12px;
}
.people-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.people-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
}
.people-who {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  min-width: 0;
  border-radius: 10px;
  color: var(--pm-ink);
  text-decoration: none;
}
.people-photo {
  width: 44px;
  height: 44px;
  font-size: 16px;
}
.people-words {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.people-name {
  overflow: hidden;
  font: 600 15px/1.25 var(--pm-copy);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.people-sub {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  color: var(--pm-muted);
  font: 400 13px/1.3 var(--pm-copy);
  white-space: nowrap;
}
.people-sub > :first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.people-sub > :not(:first-child) {
  flex: none;
}
.people-liked b {
  color: var(--pm-ink-2);
  font-weight: 500;
}
a.people-who:hover .people-name {
  text-decoration: underline;
  text-underline-offset: 2px;
}
:is(a.people-who, .people-game):focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: 2px;
}
.people-row .people-follow {
  min-height: 32px;
  padding: 5px 14px;
}
.people-game {
  display: block;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--pm-subtle);
}
.people-game img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.people-empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  height: 100%;
  padding: 24px;
  color: var(--pm-muted);
  font: 400 15px/1.5 var(--pm-copy);
  text-align: center;
}
.people-empty p {
  max-width: 30ch;
  margin: 0;
}
html.phone .modal > .sheet:has(.people-sheet) {
  padding: 0 0 env(safe-area-inset-bottom);
}
html.phone .people-head {
  padding: 16px 16px 12px;
}
html.phone .people-body {
  height: min(62dvh, 560px);
  padding-inline: 4px;
}
.profile-accolades {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.profile-accolades a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  background: var(--pm-subtle);
  box-shadow: inset 0 0 0 1px var(--pm-line);
  color: var(--pm-ink);
  font: 500 13px/1.2 var(--pm-copy);
  text-decoration: none;
  transition: background-color var(--pm-fast) var(--pm-ease);
}
.profile-accolades a:hover {
  background: var(--pm-subtle-2);
}
.profile-accolades a:focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: 2px;
}
.profile-accolades svg {
  width: 14px;
  height: 14px;
  color: var(--pm-warn);
}
@media (prefers-reduced-motion: reduce) {
  .profile-accolades a {
    transition: none;
  }
}
@media (max-width: 700px) {
  .creator-profile .profile-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 18px;
    margin: 0;
  }
  .creator-profile .profile-stats .profile-stat {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    color: var(--pm-muted);
    font: 400 15px/1.3 var(--pm-copy);
  }
  .creator-profile .profile-stat b {
    color: var(--pm-ink);
    font: 600 15px/1.3 var(--pm-copy);
  }
  .creator-profile .profile-stats .profile-stat:is([data-stat=games], [data-stat=wins], [data-stat=following]) {
    display: none;
  }
  .creator-profile .profile-stats:not(:has([data-stat=plays])) .profile-stat[data-stat=games] {
    display: inline-flex;
  }
  .creator-profile .profile-stats:has(.private)::after {
    content: "";
    order: 1;
    flex-basis: 100%;
    height: 0;
  }
  .creator-profile .profile-stats .profile-stat.private {
    order: 2;
    padding: 0;
    border: 0;
    font-size: 13px;
  }
  .creator-profile .profile-stats .profile-stat.private b {
    font-size: 13px;
  }
}
.profile-library .game-rail {
  grid-auto-columns: calc((100% - 56px) / 4.4);
}
.profile-library-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 24px;
  border-radius: var(--pm-card-radius);
  background: var(--pm-subtle);
}
.profile-library-empty p {
  margin: 0;
  color: var(--pm-ink-2);
  font: 400 15px/1.4 var(--pm-copy);
}
.profile-library-empty a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pm-red-text);
  font: 500 14px/1 var(--pm-copy);
  text-decoration: none;
}
.profile-library-empty a svg {
  width: 12px;
  height: 12px;
}
.profile-inline-error {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pm-muted);
}
.profile-inline-error p {
  margin: 0;
}
@media (max-width: 1000px) {
  .profile-library .game-rail {
    grid-auto-columns: calc((100% - 28px) / 3.3);
  }
}
@media (max-width: 700px) {
  .creator-profile .profile-controls {
    flex-wrap: nowrap;
  }
  .creator-profile .profile-controls .btn {
    width: auto;
    flex: 1;
  }
  .creator-profile .profile-controls .profile-share {
    flex: none;
    width: 44px;
  }
  .profile-library .game-rail {
    grid-auto-columns: calc((100% - 12px) / 2.2);
  }
  .profile-challenge-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .profile-challenge {
    transition: none;
  }
}
.profile-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 13px/1 var(--pm-copy);
  color: var(--pm-red-text);
  text-decoration: none;
}
.profile-see-all svg {
  width: 12px;
  height: 12px;
}
.toggle-btn {
  position: relative;
  overflow: visible;
}
.toggle-label {
  display: inline-grid;
  justify-items: center;
}
.toggle-label > span {
  grid-area: 1/1;
}
.toggle-label[data-on=true] > span:first-child,
.toggle-label:not([data-on=true]) > span:last-child {
  visibility: hidden;
}
.toggle-btn[data-celebrate]::before {
  animation: toggle-icon-pop 340ms cubic-bezier(.3, 1.5, .5, 1);
}
.toggle-btn[data-celebrate] .toggle-label {
  animation: toggle-word-pop 320ms cubic-bezier(.3, 1.4, .5, 1);
}
.toggle-burst {
  --burst:currentColor;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: toggle-burst 460ms ease-out;
  box-shadow:
    0 -13px 0 var(--burst),
    11px -7px 0 var(--burst),
    11px 7px 0 var(--burst),
    0 13px 0 var(--burst),
    -11px 7px 0 var(--burst),
    -11px -7px 0 var(--burst);
}
@keyframes toggle-icon-pop {
  0% {
    transform: scale(.85);
  }
  55% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes toggle-word-pop {
  0% {
    transform: scale(.97);
  }
  55% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes toggle-burst {
  0% {
    opacity: .75;
    transform: scale(.5);
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  .toggle-btn[data-celebrate]::before,
  .toggle-btn[data-celebrate] .toggle-label {
    animation: none;
  }
  .toggle-burst {
    display: none;
  }
}
html.phone.mcp-mobile .notif-menu {
  right: -8px;
  width: calc(100vw - 16px);
  max-height: calc(100dvh - 150px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
}
html.phone.mcp-mobile .notif-menu h2 {
  font-size: 18px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.settings-page .page-header {
  margin-bottom: 8px;
}
.settings-page .page-section {
  margin-top: 20px;
  padding: 24px;
  background: var(--pm-surface);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-card-radius);
}
.settings-page .page-section > h2 {
  margin: 0 0 18px;
  font: 400 20px/1.1 var(--pm-display);
  letter-spacing: var(--pm-display-tracking);
}
.settings-page h3 {
  margin: 28px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--pm-line);
  font: 600 15px/1.3 var(--pm-copy);
  letter-spacing: 0;
}
.settings-row > .btn[hidden] {
  display: none;
}
.settings-photo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.settings-photo-button {
  position: relative;
  cursor: pointer;
}
.settings-photo-button:focus-within {
  outline: 2px solid var(--pm-red-text);
  outline-offset: 2px;
}
.settings-hint {
  margin: 6px 0 0;
  color: var(--pm-muted);
  font: 400 12px/1.4 var(--pm-copy);
}
.settings-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.settings-page .field {
  margin: 0;
}
.settings-page .settings-profile > .field {
  margin-top: 14px;
}
.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.settings-rows {
  display: grid;
}
.settings-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 8px 0;
  border-top: 1px solid var(--pm-line);
}
.settings-row:first-child {
  border-top: 0;
  padding-top: 0;
}
.settings-row-label {
  font: 500 15px/1.3 var(--pm-copy);
  color: var(--pm-ink);
}
.settings-row-value {
  font: 400 14px/1.3 var(--pm-copy);
  color: var(--pm-muted);
  text-align: right;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.settings-row-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: 500 13px/1 var(--pm-copy);
  color: var(--pm-red-text);
  text-decoration: none;
}
.settings-row-link svg {
  width: 12px;
  height: 12px;
}
.settings-row .btn.sm {
  min-height: 34px;
  padding: 7px 14px;
}
.settings-invites-row {
  display: flex;
  gap: 14px;
}
.settings-row-toggle {
  flex: 1;
  min-width: 0;
  align-self: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.settings-row-toggle:disabled {
  cursor: default;
}
.settings-row-toggle:disabled .settings-row-chevron {
  display: none;
}
.settings-row-toggle:focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: 4px;
}
.settings-row-chevron {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--pm-muted);
  transition: transform var(--pm-fast) var(--pm-ease), color var(--pm-fast) var(--pm-ease);
}
.settings-row-chevron svg {
  width: 16px;
  height: 16px;
}
.settings-row-toggle:hover:not(:disabled) .settings-row-chevron {
  color: var(--pm-ink);
}
.settings-row-toggle[aria-expanded=true] .settings-row-chevron {
  transform: rotate(180deg);
}
.settings-invites {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 240ms var(--pm-ease);
}
.settings-invites.open {
  grid-template-rows: 1fr;
}
.settings-invites-list {
  min-height: 0;
  overflow: hidden;
  gap: 8px;
}
.settings-invites-list > :first-child {
  margin-top: 4px;
}
.settings-account .invite {
  padding: 10px 10px 10px 14px;
}
.settings-account .invite-text {
  min-width: 0;
}
.settings-account .invite code {
  font-size: 14px;
  white-space: nowrap;
}
.settings-account .invite .muted {
  margin-top: 2px;
  font: 400 12px/1.4 var(--pm-copy);
  overflow-wrap: anywhere;
}
.settings-account .invite.spent .invite-text {
  opacity: .55;
}
.settings-signout {
  width: 100%;
  margin-top: 4px;
}
.modal > .sheet:has(> .signout-confirm) {
  width: min(100%, 380px);
}
@media (max-width: 699px) {
  .modal > .sheet:has(> .signout-confirm) {
    box-sizing: border-box;
    width: 100vw;
    padding: 24px 20px max(24px, calc(12px + env(safe-area-inset-bottom)));
  }
}
html.phone .modal > .sheet:has(> .signout-confirm) {
  box-sizing: border-box;
  width: 100vw;
  padding: 24px 20px max(24px, calc(12px + env(safe-area-inset-bottom)));
}
.signout-confirm {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.signout-confirm-glyph {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--pm-red-soft);
  color: var(--pm-red-text);
}
.signout-confirm-glyph svg {
  width: 22px;
  height: 22px;
}
.signout-confirm h3 {
  margin: 0;
}
.signout-confirm p {
  max-width: 100%;
  margin: 6px 0 0;
  color: var(--pm-muted);
  font: 400 14px/1.4 var(--pm-copy);
  overflow-wrap: anywhere;
}
.signout-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin-top: 24px;
}
@media (prefers-reduced-motion: reduce) {
  .settings-invites,
  .settings-row-chevron {
    transition: none;
  }
}
@media (max-width: 420px) {
  .settings-account .invite-copy-label {
    display: none;
  }
  .settings-account .invite .btn.sm {
    width: 40px;
    padding: 0;
  }
}
.settings-page .field > .muted {
  font: 400 12px/1.4 var(--pm-copy);
  color: var(--pm-muted);
}
.settings-mode {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--pm-seg-track);
  box-shadow: inset 0 0 0 1px var(--pm-seg-line);
}
.settings-mode button {
  min-height: 30px;
  padding: 5px 14px;
}
.settings-switch {
  appearance: none;
  position: relative;
  flex: none;
  width: 44px;
  height: 26px;
  margin: 0;
  border-radius: 999px;
  background: var(--pm-subtle-2);
  box-shadow: inset 0 0 0 1px var(--pm-line-strong);
  transition: background-color var(--pm-fast) var(--pm-ease);
}
.settings-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pm-muted);
  transition: transform var(--pm-fast) var(--pm-ease), background-color var(--pm-fast) var(--pm-ease);
}
.settings-switch:checked {
  background: var(--pm-red);
  box-shadow: none;
}
.settings-switch:checked::after {
  transform: translateX(18px);
  background: var(--pm-on-accent);
}
.settings-switch:focus-visible {
  outline: 2px solid var(--pm-focus);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .settings-switch,
  .settings-switch::after {
    transition: none;
  }
}
.liked-page .page-header {
  margin-bottom: 24px;
}
.liked-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.liked-toolbar > .page-actions {
  margin: 0;
}
@media (max-width: 600px) {
  .settings-page .page-section {
    padding: 18px;
  }
  .settings-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .settings-row {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 4px;
  }
  .settings-row > :last-child:not(.settings-row-value) {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .settings-row-value {
    grid-column: 1;
    text-align: left;
  }
  .settings-row-toggle {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 4px;
  }
  .settings-row-chevron {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}
.support-page {
  max-width: var(--pm-measure);
}
.support-page > h1 {
  margin: 0 0 8px;
}
.support-lead {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
}
.support-topics {
  display: grid;
  gap: 22px;
  margin-bottom: 34px;
}
.support-topic h2,
.support-contact h2 {
  margin: 0 0 6px;
  font: 650 18px/1.3 var(--font-copy);
  letter-spacing: -.02em;
  color: var(--ink);
}
.support-topic p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.support-topic a,
.support-small a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.support-topic code {
  font: 14px var(--font-mono);
  color: var(--ink);
}
.support-contact p {
  margin: 0 0 10px;
}
.support-small {
  font-size: 14px;
  color: var(--ink-3);
}
.help-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 44px;
}
.help-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--pm-subtle);
  font: 500 14px/1 var(--pm-copy);
  color: var(--pm-ink-2);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}
.help-jump a:hover {
  background: var(--pm-subtle-2);
  color: var(--pm-ink);
}
.help-group {
  margin: 0 0 48px;
  scroll-margin-top: calc(var(--pm-header-h) + 24px);
}
.help-group > h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.1;
  color: var(--pm-ink);
}
.help-list {
  border-top: 1px solid var(--pm-line);
}
.help-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--pm-line);
}
.help-item h3 {
  margin: 0 0 6px;
  font: 650 17px/1.35 var(--pm-copy);
  letter-spacing: -.02em;
  color: var(--pm-ink);
}
.help-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--pm-ink-2);
}
.help-item a,
.help-contact .support-small a {
  color: var(--pm-ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--pm-ink) 35%, transparent);
  text-underline-offset: 3px;
}
.help-item a:hover,
.help-contact .support-small a:hover {
  text-decoration-color: currentColor;
}
.help-item code {
  font: 14px var(--font-mono);
  color: var(--pm-ink);
}
.help-contact {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--pm-line);
  border-radius: 18px;
  background: var(--pm-panel);
}
.help-contact h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  color: var(--pm-ink);
}
.help-contact p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--pm-ink-2);
}
.help-contact .support-small {
  font-size: 14px;
  color: var(--pm-muted);
}
@media (max-width: 599px) {
  .help-jump {
    margin-bottom: 36px;
  }
  .help-group > h2 {
    font-size: 24px;
  }
  .help-contact {
    padding: 22px;
  }
}
.report-rights {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.report-rights a {
  color: var(--pm-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tos-page.copyright-page {
  max-width: var(--pm-measure);
}
.copyright-page .tos-body {
  padding-top: 32px;
  border-top: 1px solid var(--pm-line);
}
.copyright-page .tos-section {
  scroll-margin-top: calc(var(--pm-header-h) + 24px);
}
.copyright-agent {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin: 0 0 20px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--pm-subtle);
}
.copyright-agent-label {
  font: 600 12px/1.3 var(--pm-copy);
  color: var(--pm-muted);
}
.copyright-agent address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.55;
  color: var(--pm-ink);
}
.tos-body .copyright-agent-email {
  font-weight: 600;
}
.privacy-page ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.privacy-page li b {
  font-weight: 650;
  color: var(--ink);
}
.privacy-page .support-small {
  margin: -20px 0 28px;
}
.about-page > h1 {
  margin: 0 0 24px;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.2;
}
.about-page > h1 > span {
  display: block;
  text-wrap: balance;
}
.about-page .support-topic {
  display: grid;
  gap: 10px;
}
.about-page .support-topic h2 {
  margin: 0;
}
.tos-page {
  max-width: none;
}
.tos-page > h1 {
  margin: 0 0 8px;
}
.tos-page > .support-small {
  margin: 0 0 32px;
}
.tos-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, var(--pm-measure));
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--pm-line);
}
.tos-index {
  position: sticky;
  top: calc(var(--pm-header-h) + 32px);
  display: grid;
  gap: 2px;
  max-height: calc(100vh - var(--pm-header-h) - 64px);
  overflow: auto;
}
.tos-index-label {
  padding: 0 12px 10px;
  font: 600 12px/1.3 var(--pm-copy);
  color: var(--pm-muted);
}
.tos-index a,
.tos-body .tos-contents a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 9px;
  font: 500 14px/1.35 var(--pm-copy);
  color: var(--pm-ink-2);
  text-decoration: none;
}
.tos-index a:hover,
.tos-body .tos-contents a:hover {
  background: var(--pm-subtle);
  color: var(--pm-ink);
}
.tos-index a[aria-current] {
  background: var(--pm-subtle-2);
  color: var(--pm-ink);
}
.tos-num {
  flex: none;
  min-width: 1.7em;
  font-variant-numeric: tabular-nums;
  color: var(--pm-muted);
}
.tos-contents {
  display: none;
}
.tos-body {
  min-width: 0;
}
.tos-section,
.tos-sub {
  scroll-margin-top: calc(var(--pm-header-h) + 24px);
}
.tos-section + .tos-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--pm-line);
}
.tos-section h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--pm-ink);
}
.tos-section h2 .tos-num {
  min-width: 1.4em;
  color: var(--pm-red-text);
}
.tos-sub {
  margin-top: 36px;
}
.tos-sub h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--pm-ink);
}
.tos-body p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--pm-ink-2);
}
.tos-body ul,
.tos-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--pm-ink-2);
}
.tos-body li::marker {
  color: var(--pm-muted);
}
.tos-body b {
  font-weight: 650;
  color: var(--pm-ink);
}
.tos-body a {
  color: var(--pm-ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--pm-ink) 35%, transparent);
  text-underline-offset: 3px;
}
.tos-body a:hover {
  text-decoration-color: currentColor;
}
.tos-intro > p:first-of-type {
  font-size: 18px;
  line-height: 1.55;
  color: var(--pm-ink);
}
.tos-short {
  display: grid;
  gap: 4px;
  margin: 20px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--pm-subtle);
}
.tos-short > span {
  font: 600 12px/1.3 var(--pm-copy);
  color: var(--pm-muted);
}
.tos-body .tos-short p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--pm-ink);
}
.tos-notice {
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid var(--pm-line-strong);
  border-radius: 14px;
}
.tos-body .tos-notice p,
.tos-body .tos-notice ul {
  font-weight: 600;
  color: var(--pm-ink);
}
.tos-notice > :last-child {
  margin-bottom: 0;
}
.tos-table {
  margin: 0 0 16px;
  overflow-x: auto;
  border: 1px solid var(--pm-line);
  border-radius: 14px;
}
.tos-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}
.tos-table th,
.tos-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}
.tos-table th {
  font: 600 13px/1.3 var(--pm-copy);
  color: var(--pm-muted);
  background: var(--pm-subtle);
}
.tos-table td {
  border-top: 1px solid var(--pm-line);
  color: var(--pm-ink-2);
}
.tos-table td:first-child {
  font-weight: 600;
  color: var(--pm-ink);
}
@media (max-width: 1023px) {
  .tos-layout {
    display: block;
    padding-top: 24px;
  }
  .tos-index {
    display: none;
  }
  .tos-contents {
    display: block;
    margin: 0 0 36px;
    border: 1px solid var(--pm-line);
    border-radius: 14px;
  }
  .tos-contents summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 18px;
    font: 600 15px/1 var(--pm-copy);
    color: var(--pm-ink);
    cursor: pointer;
    list-style: none;
  }
  .tos-contents summary::-webkit-details-marker {
    display: none;
  }
  .tos-contents summary::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 160ms ease;
  }
  .tos-contents[open] summary::after {
    transform: translateY(2px) rotate(-135deg);
  }
  .tos-contents > div {
    display: grid;
    padding: 6px;
    border-top: 1px solid var(--pm-line);
  }
  .tos-body .tos-contents a {
    min-height: 44px;
    align-items: center;
    font-size: 15px;
  }
  .tos-section + .tos-section {
    margin-top: 40px;
    padding-top: 32px;
  }
  .tos-table th,
  .tos-table td {
    padding: 10px 12px;
  }
}
.main:has(> .authorize-page) {
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}
.main > .authorize-page {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 24px;
}
.authorize-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(560px, 100%);
  margin: 0 auto;
  text-align: center;
}
.authorize-card > h1 {
  margin: 0;
  max-width: none;
  text-wrap: balance;
}
.authorize-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font: 600 12px/1.2 var(--font-copy);
  letter-spacing: 0;
  color: var(--pm-red-text);
}
.authorize-mark svg {
  width: 14px;
  height: 14px;
}
.authorize-mark-off {
  color: var(--pm-muted);
}
.authorize-line {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
  text-wrap: balance;
}
.authorize-line strong {
  color: var(--ink);
}
.authorize-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.authorize-actions .btn {
  min-height: 50px;
  min-width: 140px;
  justify-content: center;
  font-size: 16px;
}
.authorize-status {
  margin: 0;
  min-height: 20px;
  font-size: 14px;
  color: var(--ink-3);
}
.authorize-small {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 48ch;
  text-wrap: balance;
}
.authorize-small a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.authorize-pending {
  margin: 0;
  color: var(--ink-3);
}
.create-manage {
  width: min(640px, 100%);
  display: grid;
  gap: 2px;
  text-align: left;
}
.create-manage[hidden] {
  display: none;
}
.create-connection {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 4px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.create-connection > span {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ink);
}
.create-connection > small {
  color: var(--ink-3);
  font-size: 13px;
}
.create-manage > .create-pending,
.create-manage > .create-link-status {
  margin: 0;
  padding: 10px 4px;
  font-size: 14px;
}
@media (max-width: 899px) {
  .create-steps {
    --clip-w:min(560px,100%,calc(max(240px,100dvh - 480px) * 16 / 9));
    width: var(--clip-w);
  }
  .create-lead {
    font-size: 21px !important;
    margin: 26px 0 12px !important;
  }
  .create-slide {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }
  .create-slide > h3 {
    font-size: 22px !important;
  }
  .create-text {
    padding-bottom: 14px;
  }
  .create-media {
    grid-column: 1;
    grid-row: auto;
  }
  .create-slider-nav {
    position: static;
    width: auto;
    margin-top: 16px !important;
    flex-wrap: nowrap;
    justify-content: flex-end !important;
    gap: 12px !important;
  }
  .create-progress-row {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0;
  }
  .create-progress-track {
    width: 72px !important;
  }
  .create-slider-nav .btn {
    min-width: 92px;
    padding-inline: 12px;
  }
  .create-text .create-copy {
    flex-direction: row !important;
    align-items: center !important;
  }
  .create-text .create-copy .btn {
    align-self: center !important;
  }
  .create-done .create-copy {
    flex-direction: column;
    align-items: stretch;
  }
  .create-done .create-copy pre {
    flex: none;
  }
  .create-done .create-copy .btn {
    align-self: flex-start;
  }
  .create-done-where {
    font-size: 16px;
  }
}
.create-slide {
  gap: 8px;
}
.create-text {
  gap: 8px;
  padding-bottom: 0;
}
.create-text .create-hint {
  font-size: 16px;
  line-height: 1.5;
}
.create-slider-nav {
  margin: 16px 0 0 !important;
  padding-bottom: 4px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
}
.create-slider-nav .create-progress-row {
  justify-self: end;
}
.create-lander > .create-intro {
  margin-bottom: 24px;
}
.create-lander {
  padding: 24px 0;
}
.create-stack {
  transition: none;
}
@media (max-width: 899px) {
  .create-slider-nav {
    margin-top: 16px !important;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px !important;
  }
  .create-slider-nav .create-nav-buttons {
    justify-content: flex-end;
  }
  .create-slider-nav .create-progress-row {
    width: auto !important;
    flex: none !important;
  }
  .create-lander > .create-intro {
    margin-bottom: 20px;
  }
  .create-lander {
    padding: 16px 0;
  }
}
.create-back-row {
  padding-bottom: 12px;
  flex: none;
  align-self: flex-start;
}
.create-back-row[hidden] {
  display: none;
}
.create-copy-card {
  padding: 0;
  background: none;
}
.create-copy-card .create-copy {
  background: var(--pm-subtle) !important;
}
.create-spinner {
  flex: none;
  width: 14px;
  height: 14px;
  border: 2px solid var(--pm-line);
  border-top-color: var(--pm-red-text);
  border-radius: 50%;
  animation: create-spin .8s linear infinite;
}
@keyframes create-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .create-spinner {
    animation: none;
  }
}
.create-apps-page {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 14px 0 26px;
}
.create-apps-intro {
  margin: 0 0 28px;
  text-align: center;
}
.create-apps-intro h1 {
  margin: 0;
}
.create-apps-intro p {
  margin: 10px 0 0;
  font-size: 16px;
  color: var(--pm-ink-2);
}
.create-apps-intro .create-apps-trust {
  max-width: 56ch;
  margin: 12px auto 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--pm-muted);
}
.create-apps-trust a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.create-apps-trust a:hover {
  color: var(--pm-ink);
}
.create-apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.create-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 18px 20px;
  border: 1px solid var(--pm-line);
  border-radius: 20px;
  background: var(--pm-surface);
  text-align: center;
}
.create-app h2 {
  margin: 0;
  font: 600 17px/1.2 var(--pm-copy) !important;
  letter-spacing: -.01em;
  color: var(--pm-ink);
}
.create-app-mark {
  color: var(--pm-ink);
}
.create-app .btn,
.create-app-missing .btn {
  width: 100%;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
}
.create-app .btn svg,
.create-app-missing .btn svg {
  width: 15px;
  height: 15px;
}
.create-app-go {
  border-color: var(--pm-inverse);
  background: var(--pm-inverse);
  color: var(--pm-on-inverse);
}
.create-app-go:hover {
  border-color: var(--pm-inverse-hover);
  background: var(--pm-inverse-hover);
}
.create-app-go:disabled {
  border-color: var(--pm-subtle);
  background: var(--pm-subtle);
  color: var(--pm-faint);
}
.create-app-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 20px;
  margin: 0;
  font-size: 14px;
  color: var(--pm-ink-2);
}
.create-app-state.is-connected {
  color: var(--pm-green);
}
.create-app-state svg {
  width: 15px;
  height: 15px;
}
.create-app-again {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  color: var(--pm-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.create-app-again:hover {
  color: var(--pm-ink);
}
.create-apps-more {
  margin-top: 14px;
  padding: 2px 18px;
  border: 1px solid var(--pm-line);
  border-radius: 20px;
  background: var(--pm-surface);
}
.create-apps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  font-size: 14px;
  color: var(--pm-muted);
}
.create-apps-row + .create-apps-row {
  border-top: 1px solid var(--pm-line);
}
.create-apps-more > .create-manage {
  width: 100%;
  padding: 0 0 12px;
}
.sheet.create-app-sheet {
  width: min(380px, 100%);
}
.create-app-missing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.create-app-missing h2 {
  margin: 6px 0 0;
  font: 600 20px/1.25 var(--pm-copy) !important;
  letter-spacing: -.01em;
  color: var(--pm-ink);
}
.create-app-missing p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--pm-ink-2);
}
@media (max-width: 599px) {
  .create-apps-page {
    padding-top: 0;
  }
  .create-apps-intro {
    margin-bottom: 20px;
  }
  .create-apps {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .create-app {
    gap: 10px;
    padding: 18px 16px 16px;
  }
}
html.phone .main:has(> .create-page) > .home-footer {
  display: none;
}
@media (max-width: 899px) {
  #app:has(.create-page) > .home-footer,
  .app:has(.create-page) > .home-footer {
    display: none;
  }
}
@media (max-width: 700px) {
  .create-lander {
    padding: 4px 0 !important;
  }
  .create-lander > .create-intro {
    margin-bottom: 8px;
  }
  .create-other {
    margin-top: 8px;
    padding-top: 10px;
  }
  .create-connect {
    padding: 18px 16px 14px;
    border-radius: 18px;
  }
  .create-step {
    column-gap: 12px;
    padding: 10px 0;
  }
  .create-lander > .create-device-note {
    padding: 8px 12px !important;
    margin-bottom: 12px !important;
    font-size: 14px;
  }
  .create-step:first-child {
    padding-top: 2px;
  }
  .create-step-body > .create-where {
    font-size: 14px;
  }
  .create-setup-message,
  .create-first-message {
    font-size: 12px;
    max-height: 22dvh;
  }
  .create-first-message {
    font-size: 14px;
  }
  .create-step .create-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .create-connect > .create-waiting {
    margin-left: 40px;
  }
}
.creator-content {
  display: grid;
  gap: 40px;
}
.creator-totals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px 32px;
  padding: 32px;
  background: var(--pm-subtle);
  border-radius: 24px;
}
.creator-total h2 {
  font: 500 15px/1.4 var(--pm-copy);
  letter-spacing: 0;
  color: var(--pm-muted);
  margin: 0 0 12px;
}
.creator-total-value {
  font: 600 clamp(32px, 4vw, 48px)/1.1 var(--pm-copy);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: var(--pm-ink);
  overflow-wrap: anywhere;
}
.creator-split {
  display: grid;
  gap: 10px;
  align-content: start;
  margin: 0;
  padding-left: 32px;
  border-left: 1px solid var(--pm-line);
}
.creator-split > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.creator-split dt {
  color: var(--pm-ink-2);
  font-size: 15px;
}
.creator-split dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--pm-ink);
}
.creator-total-foot {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--pm-line);
}
.creator-total-foot .btn {
  margin-left: auto;
}
.creator-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pm-muted);
  max-width: 56ch;
}
.creator-note-warn {
  color: var(--pm-warn);
}
.creator-accounts {
  display: grid;
  border-top: 1px solid var(--pm-line);
}
.creator-account {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 10px 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--pm-line);
}
.creator-account-name {
  font: 600 15px/1.3 var(--pm-copy);
  color: var(--pm-ink);
}
.creator-account-state {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pm-ink-2);
}
.creator-account-state p {
  margin: 0;
}
.creator-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  background: var(--pm-green-soft);
  color: var(--pm-green);
  font: 600 13px/1.4 var(--pm-copy);
}
.creator-verified svg {
  width: 14px;
  height: 14px;
}
.creator-code {
  font: 600 14px/1.4 var(--pm-code,ui-monospace,monospace);
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--pm-subtle-2);
  color: var(--pm-ink);
  user-select: all;
}
.creator-why {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pm-warn);
}
.creator-accounts-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 16px;
}
.creator-accounts-foot p {
  margin: 0;
  font-size: 14px;
}
.creator-tiktok {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 16px 20px;
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-card-radius);
  background: var(--pm-surface);
}
.creator-tiktok p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--pm-ink-2);
  max-width: 60ch;
}
.creator-game {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-card-radius);
  background: var(--pm-surface);
  min-width: 0;
}
.creator-game-head {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.creator-game-head > div {
  flex: 1;
  min-width: 0;
}
.creator-game-head h3 {
  margin: 0 0 2px;
  font: 600 19px/1.3 var(--pm-copy);
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.creator-game-head h3 a {
  color: var(--pm-ink);
  text-decoration: none;
}
.creator-game-head h3 a:hover {
  text-decoration: underline;
}
.creator-game-head p {
  margin: 0;
  font-size: 14px;
}
.creator-game-cover {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--pm-subtle);
}
.creator-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 0;
}
.creator-figures dt {
  font-size: 13px;
  color: var(--pm-muted);
  margin-bottom: 4px;
}
.creator-figures dd {
  margin: 0;
  font: 600 26px/1.15 var(--pm-copy);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--pm-ink);
}
.creator-figures dd.creator-figure-note {
  margin-top: 4px;
  font: 400 13px/1.45 var(--pm-copy);
  letter-spacing: 0;
  color: var(--pm-muted);
}
.creator-money {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--pm-line);
  border-bottom: 1px solid var(--pm-line);
}
.creator-money dt {
  font-size: 13px;
  color: var(--pm-muted);
}
.creator-money dd {
  margin: 2px 0 0;
  font: 600 17px/1.3 var(--pm-copy);
  font-variant-numeric: tabular-nums;
  color: var(--pm-ink);
}
.creator-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.creator-table th {
  text-align: left;
  font-weight: 500;
  color: var(--pm-muted);
  padding: 0 16px 8px 0;
  border-bottom: 1px solid var(--pm-line);
}
.creator-table td {
  padding: 10px 16px 10px 0;
  border-bottom: 1px solid var(--pm-line);
  color: var(--pm-ink);
  vertical-align: baseline;
}
.creator-table :is(th, td):last-child {
  padding-right: 0;
}
.creator-table .num {
  text-align: right;
  white-space: nowrap;
}
.creator-table td.dim {
  color: var(--pm-muted);
}
.creator-post-link a {
  color: var(--pm-ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.creator-post-link a:hover {
  text-decoration: underline;
}
.creator-post-flag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--pm-subtle);
  font-size: 12px;
  color: var(--pm-muted);
  white-space: nowrap;
}
.creator-post-removed td,
.creator-post-removed td a {
  color: var(--pm-muted);
}
.creator-adding {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--pm-muted);
  overflow-wrap: anywhere;
}
.creator-add {
  display: flex;
  gap: 10px;
  min-width: 0;
}
.creator-add .input {
  flex: 1;
  min-width: 0;
}
.creator-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.creator-rules h3 {
  margin: 0 0 8px;
  font: 600 16px/1.35 var(--pm-copy);
  color: var(--pm-ink);
}
.creator-rules p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pm-ink-2);
  max-width: 60ch;
}
.creator-tiers {
  max-width: 320px;
}
.creator-posts th:first-child {
  width: 18%;
}
.creator-posts th.num {
  width: 16%;
}
.creator-invited ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--pm-line);
}
.creator-invited li {
  padding: 10px 0;
  border-bottom: 1px solid var(--pm-line);
  font-size: 15px;
}
.creator-invited a {
  color: var(--pm-ink);
}
.creator-empty {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 28px 0;
  border-top: 1px solid var(--pm-line);
}
.creator-empty h2,
.creator-empty p {
  margin: 0;
}
.creator-empty p {
  color: var(--pm-ink-2);
}
.cd-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.cd-title h1 {
  margin: 0;
}
.cd-numbers {
  display: grid;
  gap: 10px;
}
.cd-numbers > .creator-note {
  padding-left: 4px;
}
.cd-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px 4px 9px;
  border-radius: 999px;
  background: var(--pm-green-soft);
  color: var(--pm-green);
  font: 600 13px/1.4 var(--pm-copy);
  letter-spacing: 0;
}
.cd-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.cd-badge {
  white-space: nowrap;
}
.cd-tabs {
  margin: 0 0 28px;
}
.cd-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px 28px;
  padding: 24px 28px;
  background: var(--pm-subtle);
  border-radius: 24px;
}
.cd-kpi {
  display: grid;
  gap: 4px;
  align-content: start;
  min-width: 0;
}
.cd-kpi-label {
  font-size: 14px;
  color: var(--pm-muted);
}
.cd-kpi-value {
  font: 600 clamp(26px, 3vw, 36px)/1.1 var(--pm-copy);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: var(--pm-ink);
  overflow-wrap: anywhere;
}
.cd-kpi-note {
  font-size: 13px;
  line-height: 1.4;
  color: var(--pm-ink-2);
}
.cd-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.cd-figure {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px 22px 16px;
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-card-radius);
  background: var(--pm-surface);
  min-width: 0;
}
.cd-figure figcaption {
  display: grid;
  gap: 4px;
}
.cd-figure h3 {
  margin: 0;
  font: 600 17px/1.35 var(--pm-copy);
  text-wrap: balance;
}
.cd-figure figcaption p {
  margin: 0;
  font-size: 13px;
  color: var(--pm-muted);
}
.cd-chart-stand {
  aspect-ratio: 600/220;
  border-radius: 8px;
  background: var(--pm-subtle);
}
.cd-chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--pm-copy);
}
.cd-col {
  fill: var(--pm-faint);
}
.cd-col-peak {
  fill: var(--pm-red-select);
}
.cd-ref {
  stroke: var(--pm-line-strong);
  stroke-width: 1.25;
  stroke-dasharray: 4 4;
}
.cd-axis {
  stroke: var(--pm-line-strong);
  stroke-width: 1;
}
.cd-line {
  fill: none;
  stroke: var(--pm-ink-2);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.cd-dot {
  fill: var(--pm-ink-2);
}
.cd-dot-peak {
  fill: var(--pm-red-select);
}
.cd-label {
  fill: var(--pm-ink-2);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.cd-label-peak {
  fill: var(--pm-red-select);
}
.cd-tick {
  fill: var(--pm-muted);
  font-size: 12px;
}
.cd-table-wrap {
  overflow-x: auto;
  margin: 0 -4px;
  padding: 0 4px;
}
.cd-table {
  min-width: 720px;
  table-layout: auto;
}
.cd-table th.cd-game {
  min-width: 220px;
  font-weight: 600;
  vertical-align: middle;
}
.cd-table th.cd-game > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cd-table td {
  vertical-align: middle;
}
.cd-table th.cd-game a {
  color: var(--pm-ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.cd-table th.cd-game a:hover {
  text-decoration: underline;
}
.cd-game-cover {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
  background: var(--pm-subtle);
}
.cd-kinds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 12px;
}
.cd-kind {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px 20px;
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-card-radius);
  background: var(--pm-surface);
  min-width: 0;
}
.cd-kind h3 {
  margin: 0;
}
.cd-kind dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}
.cd-kind dt {
  font-size: 13px;
  color: var(--pm-muted);
}
.cd-kind dd {
  margin: 0;
  font: 600 20px/1.3 var(--pm-copy);
  font-variant-numeric: tabular-nums;
  color: var(--pm-ink);
}
.cd-join {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 24px 28px;
  border-radius: 24px;
  background: var(--pm-subtle);
}
.cd-join h2 {
  margin: 0 0 6px;
}
.cd-join p {
  margin: 0;
  max-width: 56ch;
  color: var(--pm-ink-2);
}
.cd-copy {
  display: flex;
  gap: 10px;
  min-width: 0;
  max-width: 640px;
}
.cd-copy .input {
  flex: 1;
  min-width: 0;
}
.cd-invite > p,
.cd-credits > p,
.cd-help > p {
  max-width: 62ch;
}
.cd-credits > .btn,
.creator-rules > .creator-link {
  justify-self: start;
  width: auto;
}
.cd-list {
  margin: 0 0 16px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--pm-ink-2);
}
.creator-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--pm-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.creator-link svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 800px) {
  .cd-figures {
    grid-template-columns: minmax(0, 1fr);
  }
  .cd-kinds {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .cd-kpis {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 20px;
    gap: 18px;
    border-radius: 20px;
  }
  .cd-figure {
    padding: 16px 14px 12px;
  }
  .cd-tabs {
    margin-bottom: 20px;
  }
  .cd-join {
    padding: 20px;
  }
}
.tiktok-post {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.tiktok-video {
  aspect-ratio: 9/16;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background: var(--pm-media);
}
.tiktok-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tiktok-video-wait {
  padding: 24px;
  text-align: center;
  color: var(--pm-on-media);
  font-size: 15px;
  line-height: 1.5;
}
.tiktok-video-wait p {
  margin: 0;
}
.tiktok-form {
  display: grid;
  gap: 22px;
  align-content: start;
  justify-items: start;
  min-width: 0;
  max-width: 560px;
}
.tiktok-form > * {
  max-width: 100%;
}
.tiktok-form > p {
  margin: 0;
}
.tiktok-as {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tiktok-as p {
  margin: 0;
  font-size: 15px;
  color: var(--pm-ink-2);
}
.tiktok-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--pm-subtle);
}
.tiktok-field {
  display: grid;
  gap: 8px;
  width: 100%;
}
.tiktok-field > span:first-child {
  font: 600 14px/1.3 var(--pm-copy);
  color: var(--pm-ink);
}
.tiktok-caption {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.5;
}
.tiktok-count {
  justify-self: end;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.tiktok-privacy,
.tiktok-allow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.tiktok-privacy legend,
.tiktok-allow legend {
  padding: 0;
  margin: 0 0 10px;
  font: 600 14px/1.3 var(--pm-copy);
  color: var(--pm-ink);
}
.tiktok-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--pm-ink);
  cursor: pointer;
}
.tiktok-choice input {
  accent-color: var(--pm-red);
  width: 18px;
  height: 18px;
  margin: 0;
}
.tiktok-choice.dim {
  cursor: default;
}
.tiktok-terms {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}
.tiktok-terms a {
  color: var(--pm-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tiktok-status-box:empty {
  display: none;
}
.tiktok-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pm-subtle);
  font: 500 14px/1.4 var(--pm-copy);
  color: var(--pm-ink);
}
.tiktok-status svg {
  width: 16px;
  height: 16px;
}
.tiktok-status-ok {
  background: var(--pm-green-soft);
  color: var(--pm-green);
}
.tiktok-status-bad {
  background: var(--pm-red-soft);
  color: var(--pm-red-text);
}
@media (max-width: 760px) {
  .tiktok-post {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .tiktok-video {
    width: min(100%, 260px);
    justify-self: center;
  }
}
@media (max-width: 600px) {
  .creator-content {
    gap: 32px;
  }
  .creator-totals {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 22px;
    gap: 20px;
    border-radius: 20px;
  }
  .creator-split {
    grid-column: 1/-1;
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid var(--pm-line);
  }
  .creator-total-foot .btn {
    margin-left: 0;
  }
  .creator-account {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .creator-game {
    padding: 18px;
    gap: 16px;
  }
  .creator-figures {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .creator-figures > div:first-child {
    grid-column: 1/-1;
  }
  .creator-money {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .creator-rules-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .creator-table {
    font-size: 13px;
  }
  .creator-table :is(th, td) {
    padding-right: 8px;
  }
  .creator-posts th:first-child {
    width: 27%;
  }
  .creator-posts th.num {
    width: 17%;
  }
  .creator-figures dd {
    font-size: 22px;
  }
  .creator-add {
    flex-wrap: wrap;
  }
  .creator-add .input {
    flex-basis: 100%;
  }
  .creator-add .btn {
    width: 100%;
  }
}
