.pp64avatar {
  display: inline-flex;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: none;
}
.pp64avatar svg {
  width: 60%;
  height: 60%;
}
.pp64avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pp64avatarButton {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  width: auto !important;
}
.pp64dialog {
  text-align: center;
  max-width: min(420px, 92vw);
  max-height: 85vh;
  overflow: auto;
}
.pp64dialog #pp64preview .pp64avatar {
  width: 90px;
  height: 90px;
}
.pp64dialog label {
  display: block;
  margin: 10px 0;
}
.pp64icons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}
.pp64icons button {
  aspect-ratio: 1;
  padding: 4px !important;
  display: grid;
  place-items: center;
  border-radius: 50%;
  min-width: 0;
}
.pp64dialog .chosen,
.pp64tabs .chosen {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.pp64color {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.pp64color input {
  width: 44px;
  height: 36px;
  padding: 0;
}
.pp64primary {
  background: #25834b !important;
  color: white !important;
  width: 100%;
  border-radius: 24px !important;
  margin: 8px 0;
}
.pp64status,
.pp64row,
.pp64pick,
.pp64author {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.pp64status,
.pp64pick {
  width: 100%;
  margin: 6px 0;
}
.pp64status span:nth-child(2),
.pp64pick span:nth-child(2),
.pp64row > div:not(.v6cover) {
  flex: 1;
  min-width: 0;
}
.pp64row {
  padding: 12px 0;
  border-bottom: 1px solid var(--pp631field);
  overflow-wrap: anywhere;
}
.pp64row strong,
.pp64row small,
.pp64status small,
.pp64pick small,
.pp64author small {
  display: block;
}
.pp64row .v6cover,
.pp64pick .v6cover {
  width: 44px !important;
  height: 60px !important;
  flex: none;
}
.pp64mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex: none;
}
.pp64mark svg {
  width: 20px;
  height: 20px;
}
.pp64states,
.pp64tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin: 10px 0;
}
.pp64states button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 0 !important;
  min-width: 0;
}
.pp64tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pp64post {
  padding: 14px 0;
  border-bottom: 1px solid var(--pp631field);
}
.pp64author .pp64avatar {
  width: 38px;
  height: 38px;
}
.pp64score {
  padding: 10px;
  border-radius: 10px;
  font-weight: bold;
}
.pp64actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.pp64dialog .richEditor {
  text-align: left;
  min-height: 140px;
}
.pp64dialog textarea {
  width: 100%;
  min-height: 80px;
}
.pp64dialog #pp64results {
  max-height: 45vh;
  overflow: auto;
}
.pp64dialog .writingTools {
  display: flex;
  flex-wrap: wrap;
}
.pp64dialog .writingTools button {
  width: auto;
  flex: 1;
  padding: 5px;
}

.pp64mark {
  background: color-mix(in srgb, var(--status) 15%, transparent) !important;
  color: var(--status);
  width: 23px;
  height: 23px;
  border-radius: 50%;
  box-shadow: 0 0 9px color-mix(in srgb, var(--status) 18%, transparent);
}
.pp64mark svg {
  width: 14px;
  height: 14px;
}
.pp64status {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  justify-content: center;
  gap: 6px;
  padding: 8px !important;
}
.pp64status span:nth-child(2) {
  flex: 0 1 auto;
}
.pp64status strong,
.pp641tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--status, #25834b);
}
.pp64status:has(.pp64mark) {
  color: inherit;
}
.pp64status strong {
  color: inherit;
}
.pp64status:has(.pp64mark[style*='#25834b']) {
  color: #25834b;
}
.pp64status:has(.pp64mark[style*='#b58a30']) {
  color: #b58a30;
}
.pp64status:has(.pp64mark[style*='#3478bb']) {
  color: #3478bb;
}
.pp64status:has(.pp64mark[style*='#c74b4b']) {
  color: #c74b4b;
}
.pp641tag {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}
.pp641tag:has(.pp64mark[style*='#b58a30']) {
  color: #b58a30;
}
.pp641tag:has(.pp64mark[style*='#3478bb']) {
  color: #3478bb;
}
.pp641tag:has(.pp64mark[style*='#c74b4b']) {
  color: #c74b4b;
}
.pp64states {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.pp64states button {
  flex-direction: row;
  justify-content: center;
  border-radius: 14px !important;
  padding: 12px !important;
  border: 1px solid #8885;
  background: var(--pp631field);
  color: var(--pp631text);
}
.pp64states button.chosen {
  outline: 1px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--pp631field));
}
.pp64dialog input:not([type='color']):not([type='file']),
.pp64dialog textarea,
.pp64pick,
.pp64tabs button {
  border-radius: 14px !important;
  padding: 12px;
  box-sizing: border-box;
}
.pp64row[data-64='event'] {
  cursor: pointer;
}
.pp641canvas {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  border-radius: 50%;
  touch-action: none;
  display: block;
  margin: auto;
  background: #222;
}
.pp641tools {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.pp641tools button {
  width: auto !important;
  border-radius: 12px !important;
  padding: 8px !important;
}
.pp641palette {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 10px 0;
}
.pp641palette button {
  width: 25px !important;
  height: 25px;
  padding: 0 !important;
  border-radius: 50% !important;
}
.pp641palette button.chosen {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
html:not([data-theme='light']) .pp64mark {
  filter: brightness(1.4);
}
html:not([data-theme='light']) .pp641tag,
html:not([data-theme='light']) .pp64status strong {
  filter: brightness(1.4);
}

.pp64status {
  justify-content: flex-start !important;
  padding: 3px 0 !important;
  margin: 0 !important;
  text-align: left;
}
.pp64status strong {
  line-height: 1.3;
}
.pp64status .pp64mark {
  width: 21px;
  height: 21px;
}
.pp64primary {
  min-height: 52px;
  box-shadow: none !important;
}
.pp64tabs button,
.pp642colbar button {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 55px;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s;
}
.pp64tabs button.chosen {
  outline: 0 !important;
  color: var(--accent);
  border-bottom: 3px solid var(--accent) !important;
  border-radius: 0 !important;
}
.pp64tabs svg,
.pp642colbar svg {
  width: 23px;
  height: 23px;
}
.pp642colbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--pp631field);
  border-radius: 18px;
  margin: 12px 0;
  padding: 6px;
  gap: 3px;
}
.pp642colbar button {
  font-size: 11px !important;
  min-width: 0;
  padding: 5px !important;
}
.pp642suggest {
  background: color-mix(in srgb, var(--status) 14%, var(--pp631field)) !important;
  border: 0 !important;
  box-shadow: none !important;
}
.pp642covers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin: 10px 0;
}
.pp642covers button {
  min-width: 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.pp642covers .v6cover {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2/3;
}
.pp642covers small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
}
.pp642rowtitle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 10px;
}
.pp642rowtitle .pp641tag {
  margin: 0;
}
.pp642pencil {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 8px !important;
  flex: none;
}
.pp642pencil svg {
  width: 18px;
  height: 18px;
}
.pp642feedbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--pp631dialog);
  padding: 5px 0;
  border-radius: 0 0 16px 16px;
}
.pp642feedtabs {
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
}
.pp642feedtabs button {
  min-height: 38px;
}
.pp642thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 6px;
}
.pp64icons button {
  transition:
    background 0.22s,
    transform 0.15s,
    outline 0.15s;
  position: relative;
}
.pp64icons button.chosen {
  background: color-mix(in srgb, var(--accent, #00dcc3) 24%, var(--pp631field)) !important;
  outline: 2px solid var(--accent, #00dcc3) !important;
}
.pp64icons button.chosen:after {
  content: '✓';
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--accent, #00dcc3);
  color: #142522;
  border-radius: 50%;
  font-size: 10px;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
}
.pp64dialog button,
.pp64tabs button,
.profilegrid button,
.pp642colbar button,
.pp64primary {
  transition:
    transform 0.15s,
    background 0.22s,
    color 0.22s,
    opacity 0.15s;
}
.pp64dialog button:active,
.pp64tabs button:active,
.profilegrid button:active,
.pp642colbar button:active,
.pp64primary:active {
  transform: scale(0.94);
  filter: brightness(1.15);
}
.pp64dialog {
  animation: v624pop 0.25s ease-out;
}
.pp64dialog #pp64file {
  display: none;
}
.pp64dialog #pp64name {
  width: 100%;
}
.pp64dialog #pp64upload {
  margin: 8px auto;
  display: block;
}
.pp64dialog #pp641editimg[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .pp64dialog,
  .pp64dialog button,
  .pp64tabs button,
  .profilegrid button,
  .pp642colbar button {
    animation: none !important;
    transition: none !important;
  }
}

.pp643bio {
  font-size: 13px;
  opacity: 0.75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.pp64profileHeader {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: 100%;
  justify-content: initial;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.pp64profileHeader .pp64avatarButton {
  flex: none;
}
.pp64profileIdentity {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}
.pp64profileIdentity h2 {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.pp64profileIdentity .pp643bio {
  white-space: normal;
  overflow: hidden;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.ppProfileTools {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 7px;
  margin-left: auto;
}
.ppProfileTools .gear {
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 7px;
  justify-content: center;
  border-radius: 10px;
  transition: transform 160ms ease, background-color 160ms ease;
}
.ppProfileTools .gear:active { transform: scale(.92); }
.ppProfileTools .gear svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ppCardDialog {
  width: min(420px, calc(100vw - 32px));
  max-width: 420px;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 18px;
}
.ppCardDialogHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.ppCardDialogHead h3 { margin: 0; }
.ppCardClose {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #8885;
  border-radius: 50%;
  background: transparent;
  font-size: 23px;
  line-height: 1;
}
.ppCardPreview {
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: #8882;
  color: var(--pp631text);
}
.ppCardPreview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ppCardActions {
  width: min(100%, 210px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ppCardActions button {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #8885;
  border-radius: 12px;
  background: transparent;
  transition: transform 160ms ease, background-color 160ms ease;
}
.ppCardActions button:active { transform: scale(.93); }
.ppCardActions svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 360px) {
  .pp64profileHeader { gap: 9px; }
  .ppProfileTools .gear { width: 34px; height: 34px; padding: 6px; }
}

.pp689GameCount {
  display: block;
  margin: 2px 0 8px;
  color: var(--pp631muted, #888);
  font-size: 12px;
}
.pp689GameGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
  margin: 8px 0 14px;
}
.pp689GameTile {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  gap: 5px;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit;
  text-align: center;
}
.pp689GameTile > .v6cover {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
}
.pp689GameTitle {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pp689GameStatus {
  position: absolute;
  left: 5px;
  bottom: 25px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid #fff8;
  border-radius: 8px;
  background: #10131bd9;
  box-shadow: 0 2px 7px #0006;
}

/* Shared compact library used by personal and public Play Activity. */
.pp64gameLibrary { display: grid; gap: 7px; margin-top: 7px; }
.pp64gameCategory { min-width: 0; }
.pp64categoryHeading {
  width: 100%; min-height: 34px; display: flex; align-items: center; gap: 7px;
  padding: 3px 2px !important; border: 0 !important; border-radius: 8px !important;
  background: transparent !important; color: inherit; text-align: left; box-shadow: none !important;
}
.pp64categoryHeading > .pp64mark { width: 18px; height: 18px; flex: none; }
.pp64categoryHeading > span:nth-of-type(2) { font-size: 13px; font-weight: 700; white-space: nowrap; }
.pp64categoryHeading small { color: var(--pp631muted, #888); font-size: 11px; }
.pp64categoryPanel { max-height: 120px; overflow: hidden; transition: max-height .28s ease, opacity .22s ease; opacity: 1; }
.pp64categoryPanel.expanded { max-height: 10000px; }
.pp64categoryTiles {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 5);
  gap: 7px; overflow-x: auto; overscroll-behavior-x: contain; touch-action: pan-x pan-y;
  padding: 2px 1px 5px; scrollbar-width: none;
}
.pp64categoryTiles::-webkit-scrollbar { display: none; }
.pp64categoryPanel.expanded .pp64categoryTiles {
  grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: visible; row-gap: 10px; padding-top: 4px;
}
.pp64gameTile { position: relative; min-width: 0; display: grid; grid-template-rows: auto auto; gap: 3px; }
.pp64gameCover { width: 100%; min-width: 0; height: auto; aspect-ratio: 2 / 3; padding: 0 !important; border: 0 !important; border-radius: 7px !important; background: transparent !important; overflow: hidden; }
.pp64gameCover > .v6cover { width: 100%; height: 100%; aspect-ratio: 2 / 3; border-radius: inherit; }
.pp64gameCaption { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 2px; }
.pp64gameCaption > span { overflow: hidden; font-size: 9px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.pp64gameHistory { display: grid; place-items: center; flex: none; width: 18px; height: 18px; padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--pp631muted, #888); }
.pp64gameHistory svg { width: 13px; height: 13px; }
.pp64gameStatus { position: absolute; top: 4px; right: 4px; z-index: 1; display: grid; place-items: center; width: 21px; height: 21px; padding: 2px !important; border: 1px solid #fff8 !important; border-radius: 50% !important; background: var(--pp631bg, #fff) !important; box-shadow: 0 1px 4px #0004; }
.pp64gameStatus .pp64mark { width: 14px; height: 14px; }
.pp64gameEmpty { margin: 12px 0; text-align: center; font-size: 13px; }
.pp64gameHistoryEntries { max-height: min(60vh, 500px); overflow-y: auto; }
.pp64gameHistoryDialog { max-width: 460px; }
.pp689PublicActivityTabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp654reviewTabs { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp654reviewTabs button { text-align: center; }
.pp689GameStatus .pp64mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
}
.pp689GameStatus .pp64mark svg { width: 12px; height: 12px; }
.pp689ActivityView { width: 100%; }
.pp689ActivitySegments {
  --privacy-option: calc((100% - 12px) / 2);
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 8px 0 14px;
}
.pp689ActivitySegments::before { width: var(--privacy-option); }
.pp689ActivitySegments button {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 38px;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--privacy-icon, #8d9099);
  font: inherit;
  font-size: 13px;
  transition: color 200ms ease;
}
.pp689ActivitySegments button[aria-selected='true'] { color: #fff; }
.pp689ActivityContent { min-width: 0; }
.pp689PlayPrintCard {
  width: min(100%, 560px);
  box-sizing: border-box;
  margin: 2px auto 14px;
  padding: 20px clamp(14px, 4vw, 28px) 18px;
  border: 1px solid color-mix(in srgb, var(--themeAccent) 55%, transparent);
  border-radius: 24px;
  background: var(--pp631dialog, var(--card, #202329));
  color: var(--pp631text, inherit);
}
.pp689PlayPrintBrand {
  display: grid;
  place-items: center;
  height: 50px;
  margin-bottom: 12px;
}
.pp689PlayPrintBrand .brand { transform: scale(1.4); }
.pp689PlayPrintFormation {
  display: grid;
  place-items: center;
  width: min(100%, 460px);
  aspect-ratio: 1;
  box-sizing: border-box;
  margin: 0 auto;
  padding: clamp(12px, 3vw, 24px);
  overflow: hidden;
  border-radius: 20px;
  background: #070d19;
}
.pp689PlayPrintFormation img.pp651art {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  border-radius: 12px;
}
.pp689PlayPrintMeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-inline: 2px;
}
.pp689PlayPrintMeta strong { color: var(--themeAccent); }
.pp689PlayPrintMeta span { color: var(--muted, #888); font-size: 13px; }
.profileview > .pp64profileHeader > .ppProfileTools { justify-self: end; }
.profileview > .row:has(.pp64avatarButton) > div {
  flex: 1;
  min-width: 0;
}
.profileview > .pp64profileHeader > .ppProfileTools { flex: none; }
.profileview > .pp64status {
  margin: 10px 0 !important;
  width: 100%;
  min-width: 0;
}
.pp64status span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
}
.pp64status strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pp643announcement {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pp643announcement .pp641tag {
  margin: 0;
  font-size: 13px;
}
.pp643announcement strong {
  display: inline;
}
.pp643float {
  position: fixed;
  right: 16px;
  bottom: 82px;
  z-index: 110;
  background: #268b4e !important;
  color: white !important;
  border: 0 !important;
  border-radius: 40px !important;
  padding: 12px 16px !important;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  box-shadow: 0 3px 12px #0003;
}
.pp643float svg {
  width: 22px;
  height: 22px;
}
.pp642home {
  padding-bottom: 90px;
}
.pp643note {
  background: transparent !important;
  border: 0 !important;
  text-align: left;
  color: inherit;
  box-shadow: none !important;
  padding: 5px !important;
}
.pp64post[data-643review],
.pp64post[data-643sample] {
  cursor: pointer;
}
.pp643flash {
  animation: pp643flash 0.4s ease-in-out 2;
}
@keyframes pp643flash {
  50% {
    opacity: 0.15;
    filter: drop-shadow(0 0 5px #3478bb);
  }
}

.pp644profile label {
  text-align: center;
}
.pp644profile input:not([type='file']):not([type='color']) {
  width: 100%;
  border-radius: 16px;
  padding: 12px;
  box-sizing: border-box;
}
.pp644fold {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.pp644fold.open {
  grid-template-rows: 1fr;
}
.pp644fold > div {
  overflow: hidden;
}
.pp644fold.open > div {
  padding: 5px;
}
.pp644colors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pp644colors label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.pp644colors input[type='color'] {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  padding: 3px;
  border: 1px solid #8887;
  overflow: hidden;
  cursor: pointer;
}
.pp644colors input::-webkit-color-swatch-wrapper {
  padding: 0;
}
.pp644colors input::-webkit-color-swatch {
  border: 0;
  border-radius: 50%;
}
.pp644colors input::-moz-color-swatch {
  border: 0;
  border-radius: 50%;
}
.pp644activity {
  padding-bottom: 90px;
}
.pp644activity .pp64row,
.pp644activity .pp64pick,
.pp64post,
.pp644journalcard {
  border: 1px solid #8882 !important;
  border-radius: 16px !important;
  padding: 12px !important;
  margin: 10px 0 !important;
  box-shadow: none !important;
}
.pp644activity .pp64row,
.pp644activity .pp64pick,
.pp64post:not(#pp652feed .pp64post),
.pp644journalcard {
  background: var(--pp631field) !important;
}
.pp644blue {
  background: #087cc1 !important;
}
.pp644journalhead {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 6px;
}
.pp644journalhead h2 {
  text-align: center;
  font-size: 24px;
  margin: 0;
}
.pp644journalhead button {
  background: transparent !important;
  border: 0 !important;
  padding: 4px !important;
}
.pp644count {
  text-align: center;
  opacity: 0.7;
}
.pp644modes {
  display: flex !important;
  justify-content: center;
  gap: 18px;
}
.pp644modes button {
  flex: 0 1 100px !important;
}
.pp644journalcard header {
  text-align: center;
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #8883;
}
.pp644journalcard .pp64actions {
  justify-content: flex-end;
}
.pp644pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
.pp644pager button {
  width: 42px;
  font-size: 24px;
}
.pp644book {
  touch-action: pan-y;
}
.pp644backlog {
  margin: 10px 0;
  text-align: left;
}
.pp644backlog summary {
  padding: 12px;
  border-radius: 12px;
  background: var(--pp631field);
  cursor: pointer;
}
.pp644profile button:active,
.pp644activity button:active {
  transform: scale(0.96);
  transition: transform 0.12s;
}
.pp644profile .pp64icons button.chosen {
  background: color-mix(in srgb, var(--accent) 25%, var(--pp631field)) !important;
}

.pp641palette {
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px;
}
.pp641palette button {
  flex: none;
  transition: transform 0.25s cubic-bezier(0.2, 1.6, 0.5, 1) !important;
}
.pp641palette button.chosen {
  transform: scale(1.3);
  outline: 0;
}
.pp641tools button.chosen {
  background: var(--accent) !important;
  color: #142522 !important;
}
.pp645entry.pp644journalcard {
  border: 4px solid var(--entry) !important;
  padding: 0 !important;
  overflow: hidden;
  background: var(--pp631dialog) !important;
}
.pp645entry header {
  background: var(--entry);
  color: var(--entrytext);
  padding: 14px;
  margin: 0;
  border: 0;
}
.pp645entry header h3 {
  margin: 0;
  color: inherit;
}
.pp645entry > div {
  padding: 12px;
}
.pp645statuscard {
  border: 1px solid color-mix(in srgb, var(--status) 45%, transparent);
  background: color-mix(in srgb, var(--status) 10%, var(--pp631dialog));
  box-shadow: 0 0 12px color-mix(in srgb, var(--status) 12%, transparent);
  border-radius: 16px;
  padding: 14px;
  margin: 10px 0;
}
.pp645statuscard header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pp645statuscard small {
  display: block;
}
.pp645pinrow {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pp642home #pp652feed .pp64post {
  background-color: var(--feed-card-background, var(--pp646card));
  color: var(--pp646ink);
  border-radius: 16px;
  border: 0;
  margin: 10px 0;
  padding: 12px;
  box-sizing: border-box;
}
.pp645pinrow .pp64pick {
  flex: 1;
  min-width: 0;
}
.pp645pinrow > button:last-child {
  width: 42px;
  flex: none;
}
.pp642rowtitle {
  flex-wrap: nowrap !important;
}
.pp642rowtitle > strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pp642rowtitle .pp641tag {
  flex: none;
  white-space: nowrap;
  font-size: 12px;
}
.pp645social.socialTabs {
  display: flex;
  gap: 8px;
  margin: 8px 0 0;
  flex-wrap: wrap;
}
.pp645social button {
  width: auto !important;
  flex: 0 1 auto;
  font-size: 12px;
  padding: 6px !important;
}
.pp645social button[aria-pressed='true'] {
  color: #e45b78;
}
.pp645color input {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 3px;
}
.pp645icon #pp645preview .pp64avatar {
  width: 100px;
  height: 100px;
}
.pp645icon .pp64icons {
  margin: 14px 0;
}
.pp645icon .v626buttons {
  margin-top: 12px;
}
.pp645icon .pp644colors {
  margin: 10px 0;
}
.pp644fold {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .pp641palette button {
    transition: none !important;
  }
}

html[data-theme='light'] {
  --pp646page: #e3e3e3;
  --pp646card: #fff;
  --pp646ink: #171717;
  --pp646pin: #858585;
}
html[data-theme='dark'] {
  --pp646page: #101010;
  --pp646card: #242424;
  --pp646ink: #f4f4f4;
  --pp646pin: #a0a0a0;
}
html:has(.pp642home, .pp644activity, .v6shelves, .v62collectiongrid, .v61saved) body,
html:has(.pp642home, .pp644activity, .v6shelves, .v62collectiongrid, .v61saved) #app {
  background: var(--pp646page) !important;
  color: var(--pp646ink);
}
.pp642home,
.profileScreen:has(.pp644activity, .v6shelves, .v62collectiongrid, .v61saved) {
  background: transparent !important;
  color: var(--pp646ink);
}
.pp644activity .pp64row,
.pp645pinrow,
.v6shelves .v6box,
.v61saved .v6box {
  background: var(--pp646card) !important;
  color: var(--pp646ink);
  border-radius: 16px;
  border: 0;
  margin: 10px 0;
  padding: 12px;
  box-sizing: border-box;
}
.pp645pinrow .pp64pick {
  background: transparent !important;
  color: inherit !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.pp645entry.pp644journalcard {
  background: var(--pp646card) !important;
  color: var(--pp646ink);
}
.pp645statuscard {
  background: color-mix(in srgb, var(--status) 10%, var(--pp646card)) !important;
  color: var(--pp646ink);
}
.pp642feedbar {
  background: var(--pp646page) !important;
}
.pp642colbar {
  background: var(--pp646card) !important;
}
.pp642colbar .v6shelfAction {
  min-width: 0;
  min-height: 54px;
  padding: 5px 2px !important;
  gap: 4px;
  white-space: nowrap;
  line-height: 1.15;
}
.pp642colbar .v6shelfAction span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
}
.pp642colbar .v6shelfAction svg {
  width: 21px;
  height: 21px;
  flex: none;
}
.pp645pinrow > [data-645pin] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--pp646pin) !important;
  display: grid;
  place-items: center;
  padding: 8px !important;
  min-height: 42px;
}
.pp645pinrow > [data-645pin] svg {
  transform: rotate(-90deg);
  transform-origin: center;
  overflow: visible;
}
.pp645pinrow > [data-645pin][aria-pressed='true'] {
  color: #e34b50 !important;
}
.pp645pinrow > [data-645pin][aria-pressed='true'] svg {
  transform: rotate(0deg);
  fill: #e34b5033;
}
.pp645pinrow > [data-645pin][data-auto-pin='true'][aria-pressed='false'] {
  color: #25834b !important;
}
.pp644activity {
  overflow-anchor: none;
}

.pp656backheader,
.pp656backactions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.pp656backheader {
  gap: 8px;
  margin-bottom: 10px;
}
.pp656backheader > strong {
  margin-inline-end: auto;
}
.pp656backlist {
  display: grid;
  gap: 6px;
}
.pp656backrow {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid #8882;
  border-radius: 14px;
  background: color-mix(in srgb, var(--pp631field) 48%, transparent);
}
.pp656backrow.v6ghost {
  box-sizing: border-box;
  background: var(--pp631field);
  color: inherit;
}
.pp656coverframe .pp654cover,
.profileview .favoritecase.filled.pp656coverframe,
.pp656backrow button.pp656coverbutton {
  background: transparent !important;
}
.profileview .favoritecase.pp656coverframe {
  padding: 0;
}
.profileview .favoritecase.filled.pp656coverframe {
  border-color: transparent;
}
.pp656backrow button.pp656coverbutton {
  border: 0;
  padding: 0;
  width: 100%;
  border-radius: 9px;
  overflow: hidden;
}
.pp656backrow .pp656backtitle {
  display: block;
  width: 100%;
  text-align: start;
  font-weight: 750;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.pp656backrow .pp656backtitle,
.pp656backrow .pp656grip {
  background: transparent;
  border: 0;
  padding: 0;
}
.pp656backstatus {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 3px 0 5px;
}
.pp656backrow svg,
.pp656backheader svg {
  flex: none;
  width: 15px;
  height: 15px;
}
.pp656backstatus svg {
  color: #85858c;
}
.pp656backstatus[data-status='Playing'] svg { color: var(--themeAccent, var(--accent)); }
.pp656backstatus[data-status='Paused'] svg { color: #b58a30; }
.pp656backstatus[data-status='Completed'] svg { color: #329361; }
.pp656backstatus[data-status='Dropped'] svg { color: #c74b4b; }
.pp656backheader [data-656pick],
.pp656backactions button,
.pp656disclosure summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 5px 8px;
  min-height: 32px;
  border: 1px solid color-mix(in srgb, var(--themeAccent, var(--accent)) 26%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--themeAccent, var(--accent)) 12%, var(--pp631field));
  color: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
.pp656backheader [data-656pick] {
  background: var(--accent);
  color: var(--backlog-accent-ink);
}
.pp656disclosure {
  position: relative;
  margin: 0;
}
.pp656disclosure summary {
  box-sizing: border-box;
  list-style: none;
}
.pp656disclosure summary::-webkit-details-marker {
  display: none;
}
.pp656options {
  position: absolute;
  z-index: 5;
  inset: calc(100% + 4px) auto auto 0;
  display: grid;
  gap: 3px;
  padding: 5px;
  border: 1px solid #8885;
  border-radius: 12px;
  background: var(--pp631field);
  box-shadow: 0 6px 18px #0003;
}
.pp656sort .pp656options {
  inset-inline: auto 0;
}
.pp656options button {
  justify-content: flex-start;
  white-space: nowrap;
  border-radius: 8px;
}
.pp656options [aria-pressed='true'] {
  outline: 1px solid var(--themeAccent, var(--accent));
}
.pp656backrow .pp656grip {
  display: grid;
  place-items: center;
  width: 32px;
  min-height: 44px;
  opacity: .55;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-touch-callout: none;
}
.pp656backrow .pp656grip:active {
  cursor: grabbing;
}
.pp656backrow .pp656grip svg {
  width: 20px;
  height: 24px;
}
@media (max-width: 360px) {
  .pp656backactions .pp656options {
    inset-inline: auto 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pp656backrow {
    transition: none !important;
  }
}

.favorites-showcase {
  position: relative;
  width: min(100%, 480px);
  margin: 14px auto 0;
}
.favorites-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  margin-bottom: 6px;
}
.profileview .favorites-heading h3 {
  margin: 0;
}
.favorites-grid {
  position: relative;
  scroll-margin-block: 14px calc(86px + env(safe-area-inset-bottom));
}
.favorites-row {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.favorites-row + .favorites-grid {
  position: relative;
  scroll-margin-block: 14px calc(86px + env(safe-area-inset-bottom));
}
.favorites-row {
  margin-top: 8px;
}
.favorites-slot {
  flex: 0 0 calc((100% - 24px) / 4);
  min-width: 0;
  position: relative;
}
.favorites-showcase .favorites-cover {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  aspect-ratio: 5/8;
  border: 0;
  border-radius: 9px;
  background: none;
  padding: 0;
  user-select: none;
  -webkit-touch-callout: none;
}
.favorites-cover .pp654cover,
.favorites-drag-ghost .pp654cover {
  aspect-ratio: 5/8;
  height: auto;
}
.favorites-cover img {
  -webkit-user-drag: none;
}
.favorites-showcase .favorites-empty {
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px dashed color-mix(in srgb, var(--themeAccent) 28%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--themeAccent) 6%, transparent);
  color: var(--themeAccent);
  font-size: 21px;
  font-weight: 400;
}
.favorites-showcase .favorites-start {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin: 8px auto;
}
.favorites-showcase .favorites-pill {
  min-height: 32px;
  padding: 4px 13px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--themeAccent) 28%, transparent);
  background: color-mix(in srgb, var(--themeAccent) 9%, transparent);
  color: var(--themeAccent);
  font-size: 12px;
  font-weight: 650;
}
.favorites-controls {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: 14px;
}
.favorites-controls .favoritepicker,
.favorites-cover-form {
  width: 100%;
  min-width: 0;
}
.favorites-controls input {
  width: 100%;
  margin: 8px 0;
}
.favorites-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.favorites-error:empty {
  display: none;
}
.favorites-showcase .favorites-minus {
  position: absolute;
  z-index: 1;
  top: 3px;
  right: 3px;
  width: 28px;
  min-width: 0;
  height: 28px;
  min-height: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #fff6;
  background: #181820e8;
  color: white;
  font-size: 18px;
  line-height: 1;
}
.favorites-showcase .favorites-removing {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.favorites-showcase .favorites-exit {
  position: absolute;
  right: auto;
  pointer-events: none;
  display: grid;
  place-items: center;
}
[data-favorite-hold="drag"] {
  cursor: grab;
}
.favorites-dragging {
  user-select: none;
  cursor: grabbing;
}
.favorites-drag-preview {
  position: absolute;
  inset: 0;
}
.favorites-dragging .favorites-slots,
.favorites-drag-source,
.favorites-dragging .favorites-minus {
  opacity: 0;
  pointer-events: none;
}
.favorites-drag-preview .favorites-cover,
.favorites-drag-preview .favorites-minus {
  pointer-events: none;
}
.favorites-drag-ghost {
  position: fixed;
  z-index: 120;
  pointer-events: none;
  will-change: transform;
}
.favorites-drag-ghost .pp654cover {
  box-shadow: 0 8px 24px #0006;
}
.favorites-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 9px;
  z-index: 2;
}
.favorites-shine i {
  position: absolute;
  left: 0;
  top: -15%;
  width: 58%;
  height: 130%;
  transform: translateX(-180%) skewX(-18deg);
  opacity: 0;
  background: linear-gradient(90deg, transparent, #fff2 24%, #fff9 50%, #fff2 76%, transparent);
  filter: blur(.6px);
}
