.pp653credit {
  font-size: 12px;
  text-align: center;
  color: inherit;
  opacity: 0.65;
  margin: 16px 0;
}
.pp653credit a {
  color: inherit;
  text-decoration: underline;
}
.pp653info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  flex-wrap: wrap;
  justify-content: center;
  margin: 6px 0;
}
.pp653art {
  width: 80px;
  max-width: 100%;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}
.pp651dialog .pp653art {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}
.pp661list {
  display: grid;
  gap: 6px;
}
.pp661row {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 8px !important;
  border-radius: 12px;
  min-height: 82px;
}
.pp661row .pp654cover {
  width: 48px !important;
  min-width: 48px;
  height: 70px !important;
  aspect-ratio: auto !important;
  flex: none;
}
.pp661text {
  display: grid;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.pp661text strong {
  font-size: 14px;
  line-height: 1.25;
}
.pp661text small {
  font-size: 11px;
  opacity: 0.75;
  line-height: 1.3;
}
.pp661loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 8px;
  opacity: 0.8;
}
.pp661loading span {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: pp661spin 0.7s linear infinite;
}
@keyframes pp661spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pp661loading span {
    animation: none;
  }
}
.pp6112loader {
  display: flex;
  width: min(340px, 100%);
  height: 310px;
  align-items: center;
  justify-content: center;
  flex: none;
  margin: 0 auto;
  overflow: hidden;
  opacity: 1;
  transition: opacity 180ms ease-out;
}
.pp6112loader svg {
  display: block;
  width: 340px;
  max-width: 100%;
  height: 100%;
  overflow: visible;
}
.pp6112sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html[data-theme='light'] .pp6112loader text {
  fill: #596779;
}
@media (prefers-reduced-motion: reduce) {
  .pp6112loader {
    transition: none;
  }
}
.v623icon {
  width: 22px;
  height: 22px;
  flex: none;
  vertical-align: middle;
}
.v6 button.v623iconbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.v6 button.v623stack {
  flex-direction: column;
}
.v623placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  opacity: 0.75;
}
.v623placeholder > span {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10px;
}
.v623placeholder .v623icon {
  width: 55%;
  height: auto;
  max-width: 32px;
}
.v6 .v61pickerbar {
  position: fixed;
  top: auto;
  bottom: calc(86px + env(safe-area-inset-bottom, 0px) + var(--v6-keyboard-inset, 0px));
  left: 50%;
  width: min(calc(100% - 32px), 520px);
  z-index: 60;
  background: var(--bg, #222);
  border: 1px solid #8884;
  border-radius: 999px;
  padding: 5px;
  box-shadow: 0 4px 18px #0004;
  transform: translateX(-50%);
  flex-wrap: nowrap;
}
.v6 .v61pickerbar button {
  border-radius: 999px;
  min-height: 44px;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  background: var(--card);
  box-shadow: 0 3px 12px #0002;
}
.v6 .v61pickerbar button.on {
  background: var(--accent);
  color: #102522;
}
.v6:has(.v61pickerbar) {
  padding-bottom: 170px;
}
.v6 .v61pickerbar button:disabled {
  cursor: default;
  opacity: 0.48;
}
@media (prefers-reduced-motion: reduce) {
  .v6 .v61pickerbar {
    transition: none;
  }
}

body {
  font: 15px system-ui;
  background: #fafafa;
  color: #222;
  margin: 0;
}
#app {
  max-width: 660px;
  margin: auto;
  padding: 16px;
  --accent: #7662bd;
}
* {
  box-sizing: border-box;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
.panel {
  border: 1px solid #8885;
  border-radius: 22px;
  padding: 18px;
  margin: 12px 0;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.muted {
  opacity: 0.7;
  font-size: 12px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 750;
  opacity: 0.7;
}
.score {
  font-size: 48px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.track {
  height: 14px;
  background: #8883;
  border-radius: 20px;
  overflow: hidden;
}
.fill {
  height: 100%;
  border-radius: 20px;
  transition: width 0.55s;
}
.bars {
  display: flex;
  gap: 6px;
  margin: 12px 0;
}
.cell {
  flex: 1;
  min-width: 0;
}
.reveal {
  animation: reveal 0.45s both;
}
.enter {
  animation: enter 0.3s both;
}
.leave {
  animation: leave 0.18s both;
}
.bounce {
  animation: bounce 0.35s;
}
.ratings {
  display: flex;
  gap: 5px;
  margin: 20px 0 10px;
}
.rating {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 3px solid transparent;
  border-radius: 10px;
  font-size: 21px;
  font-weight: 800;
  padding: 0;
  color: white;
}
.selected {
  border-color: #111;
  box-shadow: 0 0 0 1px #fff9;
}
.star {
  flex: 1.3;
  border: 1px solid #c49a22;
  border-radius: 10px;
  background: #d9ab2420;
  color: #b98a16;
  font-weight: 750;
}
.star.active {
  background: #efc442;
  color: #392900;
}
.plain,
.primary,
.blue,
.red {
  border: 1px solid #8885;
  background: transparent;
  border-radius: 12px;
  padding: 12px;
  width: 100%;
  margin-top: 8px;
}
.primary {
  border: 0;
  background: var(--accent);
  color: white;
  font-weight: 750;
}
.blue {
  background: #2563b5;
  color: white;
  border: 0;
}
.red {
  background: #b43b40;
  color: white;
  border: 0;
}
.tag {
  border: 1px solid #8884;
  border-radius: 20px;
  padding: 6px 10px;
  background: #8881;
  font-size: 12px;
}
.nav {
  display: flex;
  gap: 7px;
}
input[type='text'],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #8885;
  border-radius: 10px;
  background: transparent;
  margin: 6px 0;
}
input[type='range'] {
  width: 100%;
  accent-color: var(--accent);
}
h2 {
  font-size: 29px;
  margin: 9px 0;
  font-weight: 850;
}
.particle {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  animation: fly 0.75s ease-in forwards;
}
.game {
  border-bottom: 1px solid #8883;
  padding: 14px 0;
}
.rankrow {
  padding: 10px 8px;
  border-radius: 10px;
}
.current {
  background: color-mix(in srgb, var(--themeAccent) 15%, transparent);
}
.bubble {
  border: 0;
  border-radius: 20px;
  min-width: 0;
  flex: 1;
  height: 30px;
  font-weight: 750;
  font-size: 12px;
}
.description {
  line-height: 1.5;
  opacity: 0.85;
}
.segment {
  height: 24px;
  position: relative;
  border-radius: 7px;
  overflow: hidden;
  background: #8883;
}
.segment span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 750;
}
.excluded {
  background: #8884 !important;
}
.points {
  text-align: center;
  padding: 9px 0;
  font-size: 12px;
}
.ranking {
  border-top: 1px solid #8883;
  margin-top: 14px;
  padding-top: 8px;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(-15px) scaleY(0.8);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes leave {
  to {
    opacity: 0;
    transform: translateX(-30px);
  }
}
@keyframes bounce {
  0% {
    transform: scale(0.83);
  }
  55% {
    transform: scale(1.09);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes fly {
  0% {
    opacity: 1;
  }
  25% {
    transform: translate(var(--bx), var(--by)) scale(1.3);
  }
  100% {
    transform: translate(var(--dx), var(--dy)) scale(0.2);
    opacity: 0;
  }
}
@media (prefers-color-scheme: dark) {
  body {
    background: #181818;
    color: #eee;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.shellnav {
  display: flex;
  gap: 6px;
  margin: 12px 0;
  position: sticky;
  bottom: 0;
}
.shellnav button {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 2px;
  font-size: 12px;
}
.shellnav button.active {
  color: var(--themeAccent);
  background: color-mix(in srgb, var(--themeAccent) 13%, transparent);
  border-radius: 12px;
}
.shellnav svg,
.profilegrid svg {
  display: block;
  margin: 0 auto 6px;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.profileview {
  background: #17191f;
  color: #eee;
  border-radius: 22px;
  padding: 18px;
}
.profilegrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0;
}
.profilegrid button {
  background: #ffffff08;
  border: 1px solid #ffffff12;
  border-radius: 12px;
  padding: 14px 4px;
  font-size: 12px;
}
.avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--themeAccent) 20%, transparent);
  display: grid;
  place-items: center;
  font-size: 24px;
}
.profileview h3 {
  font-size: 15px;
  margin-top: 24px;
}
.profileview .game {
  border-color: #ffffff18;
}
.shellnav {
  position: static;
}

#app {
  padding-bottom: calc(94px + env(safe-area-inset-bottom));
  max-width: 660px;
}
#app:has(.profileview) {
  max-width: 960px;
}
.shellnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 960px);
  z-index: 50;
  margin: 0;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: #17191f;
  color: #eee;
  border-top: 1px solid #ffffff20;
  box-shadow: 0 -4px 18px #0002;
}
.profilegrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.profilegrid button {
  padding: 9px 2px;
  font-size: 11px;
  min-height: 58px;
}
.profilegrid svg {
  width: 21px;
  height: 21px;
  margin-bottom: 4px;
}
@media (min-width: 760px) {
  .profilegrid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}
.gear,
.profileback {
  background: transparent;
  border: 1px solid #8885;
  border-radius: 10px;
  padding: 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.gear {
  margin-left: auto;
}
.gear svg,
.profileback svg,
.avatar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.profileback {
  margin-bottom: 12px;
}
.profileScreen {
  animation: enter 0.3s both;
}
.profileReturn {
  animation: profileReturn 0.3s both;
}
@keyframes profileReturn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.profileview .panel {
  margin: 0;
  border: 0;
  padding: 0;
}
.profileview .panel h2 {
  display: none;
}

html[data-theme='light'] {
  color-scheme: light;
}
html[data-theme='dark'] {
  color-scheme: dark;
}
html[data-theme='light'] body {
  background: #fafafa;
  color: #222;
}
html[data-theme='dark'] body {
  background: #181818;
  color: #eee;
}
html[data-theme='light'] .profileview,
html[data-theme='light'] .shellnav {
  background: #fff;
  color: #222;
  border-color: #8884;
}
html[data-theme='light'] .profilegrid button {
  background: #8881;
  border-color: #8883;
}
html[data-theme='light'] .shellnav button.active {
  color: var(--themeAccent);
}
html[data-theme='dark'] .selected {
  border-color: #fff;
}
.sectionhead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.sectionhead h2 {
  margin: 0;
}
.profileback {
  margin: 0;
  border: 0;
  padding: 6px;
}
.favoritegrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 440px;
}
.favoritecase {
  aspect-ratio: 5/8;
  border: 1px solid #8885;
  border-radius: 9px;
  background: #8881;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.favoritecase .plus {
  font-size: 28px;
  color: #888;
}
.favoritecase.filled {
  background: color-mix(in srgb, var(--themeAccent) 15%, transparent);
}
.favoritepicker {
  margin-top: 12px;
}
.favoritepicker button {
  margin-top: 5px;
}
.themechoices {
  display: flex;
  gap: 8px;
}
.themechoices button {
  flex: 1;
}
.themechoices .chosen {
  border-color: var(--themeAccent);
  background: color-mix(in srgb, var(--themeAccent) 15%, transparent);
  font-weight: bold;
}
.reviewtoolbar {
  margin: 12px 0;
}
.reviewtoolbar select {
  background: transparent;
  border: 1px solid #8885;
  border-radius: 8px;
  padding: 7px;
}
.reviewentry {
  border-bottom: 1px solid #8884;
}
.reviewrow {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 0;
}
.reviewcover {
  width: 42px;
  aspect-ratio: 5/8;
  flex: none;
  background: #8882;
  border-radius: 5px;
  display: grid;
  place-items: center;
}
.reviewcover svg,
.reviewactions svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.reviewtitle {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.reviewtitle small,
.reviewscore small {
  display: block;
  font-size: 10px;
  opacity: 0.7;
}
.reviewscore {
  text-align: center;
}
.scoretile {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 9px;
  font-weight: 800;
}
.tierletter {
  font-size: 23px;
  min-width: 20px;
  text-align: center;
}
.reviewdetails {
  padding: 10px 0 16px;
}
.reviewgroup {
  margin: 14px 0;
}
.reviewcells {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  margin-top: 8px;
}
.reviewcells > div {
  text-align: center;
  min-width: 0;
}
.reviewcells small {
  display: block;
  font-size: 9px;
  overflow-wrap: anywhere;
  margin-top: 4px;
}
.miniscore {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: auto;
  border-radius: 6px;
  background: #8882;
  font-weight: 750;
}
.reviewactions {
  display: flex;
  gap: 8px;
}
.reviewactions button {
  display: flex;
  align-items: center;
  gap: 5px;
}
.written {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sortcompact {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #8885;
  border-radius: 8px;
  flex: none;
}
.reviewtoolbar .sortcompact select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.reviewvertical {
  display: grid;
  gap: 5px;
  margin-top: 9px;
}
.reviewvertical .row {
  min-height: 32px;
}
.reviewvertical .miniscore {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #8883;
  flex: none;
}
.directtile {
  display: grid;
  place-items: center;
  min-height: 40px;
  border-radius: 8px;
  background: #8883;
  margin-top: 9px;
  font-weight: 800;
}
.tierletter {
  font-weight: 850;
}
.stickyScore {
  position: sticky;
  top: 0;
  z-index: 30;
  background: inherit;
  text-align: center;
  padding: 8px;
  border-radius: 0 0 14px 14px;
  backdrop-filter: blur(12px);
}
html[data-theme='dark'] .stickyScore {
  background: #181818f5;
}
html[data-theme='light'] .stickyScore {
  background: #fafafaf5;
}
.stickyScore .score {
  font-size: clamp(32px, 7vw, 54px);
  line-height: 1.05;
}
.stickyScore.compact .score {
  font-size: 28px;
}
.stickyScore.compact .eyebrow {
  display: block;
}
.stickyScore .score {
  transition: font-size 0.25s;
}
.namedbubble {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: auto !important;
  height: auto !important;
  min-height: 34px;
  border-radius: 20px !important;
  font-size: 11px !important;
  padding: 7px 5px !important;
  background: color-mix(in srgb, var(--accent) 15%, transparent) !important;
}
.namedbubble:before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
}
.namedbubble.done {
  color: white !important;
}
.namedbubble.done:before {
  transform: scaleX(1);
}
.namedbubble.justdone:before {
  animation: fillbubble 0.45s ease-out;
}
.namedbubble.na {
  background: #8882 !important;
  color: #888 !important;
}
.namedbubble.justna {
  animation: fadebubble 0.45s ease-out;
}
@keyframes fillbubble {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes fadebubble {
  from {
    background: var(--accent);
    color: white;
  }
  to {
    background: #8882;
    color: #888;
  }
}
.bars:has(.namedbubble) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.reviewvertical .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: center;
}
.reviewvertical .miniscore {
  justify-self: center;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}
.miniscore:has(.exceptional),
.directtile:has(.exceptional) {
  background: transparent !important;
}
.exceptional {
  width: 36px;
  height: 36px;
  display: block;
}
.directtile:has(.exceptional) {
  display: grid;
  place-items: center;
}
.finalscreen {
  text-align: center;
}
.finalhero {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
}
.finalhero .score {
  font-size: 76px;
  line-height: 1.1;
}
.finaltier {
  font-size: 24px;
  display: block;
  animation: reveal 0.5s 0.5s both;
}
.confetti {
  position: absolute;
  top: 0;
  width: 5px;
  height: 9px;
  opacity: 0;
  animation: confettiFall 0.9s 0.5s ease-out both;
  pointer-events: none;
}
@keyframes confettiFall {
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    translate: 0 125px;
    rotate: 150deg;
  }
}
.finalchart {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  text-align: left;
}
.finalchart svg {
  width: 100%;
  animation: chartwipe 0.85s 0.5s both;
}
@keyframes chartwipe {
  0% {
    clip-path: polygon(50% 50%, 50% 0, 50% 0);
  }
  25% {
    clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 50%);
  }
  50% {
    clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 50% 100%);
  }
  75% {
    clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 50%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
.finalscreen .ranking {
  text-align: left;
}
.finalscreen textarea {
  margin-top: 12px;
}

.primaryProgress {
  position: relative;
  isolation: isolate;
  gap: 6px;
}
.primaryProgress .cell {
  padding: 6px 4px;
  position: relative;
  z-index: 1;
}
.primaryProgress .primaryJump {
  margin: 0;
  min-width: 0;
  width: 100%;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: center;
}
.primaryProgress .primaryJump:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
.activeCategoryOutline {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc((100% - 12px) / 3);
  border: 2px solid #171717;
  border-radius: 10px;
  transform: translateX(calc(var(--active-index) * (100% + 6px)));
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
html[data-theme='dark'] .activeCategoryOutline {
  border-color: #f0f0f0;
}
.particle:not(.bonusParticle) {
  font-size: 23px;
  line-height: 1;
  margin-left: -11.5px;
  margin-top: -11.5px;
}
.stickyScore .eyebrow {
  transition: opacity 0.25s;
}
.stickyScore {
  position: sticky;
}
.bonusTracker {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-size: 11px;
}
.bonusTracker span {
  font-size: 25px;
  color: #999;
}
.bonusTracker .used {
  color: #e5b52b;
}
.bonusTracker .landing {
  animation: starLand 0.4s ease;
}
@keyframes starLand {
  50% {
    transform: scale(1.55);
  }
}
.bonusTracker span {
  display: inline-block;
}
.flyStar {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  color: #efbb29;
  font-size: 32px;
}
.writingPanel {
  min-height: calc(100dvh - 160px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.writingTools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.writingTools button {
  width: auto;
  flex: 1;
  min-width: 35px;
  padding: 8px;
}
.richEditor {
  flex: 1;
  min-height: 38vh;
  padding: 12px;
  border: 1px solid #8886;
  border-radius: 10px;
  outline: none;
  overflow-wrap: anywhere;
}
.richEditor:empty:before {
  content: 'Share your thoughts about the game…';
  opacity: 0.55;
  pointer-events: none;
}
.written {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.journalPanel textarea {
  min-height: 80px;
}
.journalEntry {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.reviewentry > .written {
  padding: 0 14px 12px;
  margin: 0;
}
.writingPanel .score {
  font-size: 48px;
}
@media (max-width: 380px) {
  .bonusTracker {
    right: 3px;
    font-size: 9px;
  }
  .bonusTracker span {
    font-size: 20px;
  }
}
.quickvalue {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
}
.quickstar {
  display: block;
  margin: 12px auto;
  padding: 8px 20px;
}
#quickslider {
  appearance: none;
  height: 12px;
  border-radius: 20px;
  margin: 18px 0;
  cursor: pointer;
}
#quickslider::-webkit-slider-thumb {
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: white;
  border: 1px solid #888;
  box-shadow: 0 1px 5px #0005;
}
#quickslider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: white;
  border: 1px solid #888;
}
.toolactive,
.toolflash {
  background: #3478bb !important;
  color: white !important;
}
.writingTools [data-format='undo'],
.writingTools [data-format='redo'] {
  font-size: 25px;
  line-height: 1;
}
.written a,
.richEditor a {
  color: #3478db;
  text-decoration: underline;
}
.engagement {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px 9px;
  font-size: 12px;
  opacity: 0.65;
}
.engagement svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.engagement svg:nth-of-type(2) {
  margin-left: 12px;
}
.collapseMotion {
  animation: collapseMotion 0.3s ease-in both;
}
@keyframes collapseMotion {
  to {
    opacity: 0;
    transform: translateY(-15px) scaleY(0.8);
  }
}
.bookflip {
  animation: bookflip 0.35s ease;
}
@keyframes bookflip {
  50% {
    transform: rotateY(90deg);
  }
}
.finalchart svg {
  animation: none;
}
.reviewentry > .written:empty {
  display: none;
}
.writingTools {
  position: sticky;
  top: 0;
  z-index: 15;
  background: var(--panel, Canvas);
  padding: 8px 0;
  box-shadow: 0 3px 8px #0002;
}
.suggestions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.suggestions button {
  height: 85px;
  margin: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 27px;
}
.brand img {
  object-fit: contain;
  height: 22px;
  width: auto;
}
.brand .brandicon {
  height: 27px;
  margin-right: 5px;
}
html[data-theme='light'] .brandplay {
  filter: brightness(0);
}
#miniProgress {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.2s,
    opacity 0.2s;
}
.compact #miniProgress {
  max-height: 32px;
  opacity: 1;
}
.stickyScore.compact .eyebrow {
  display: none;
}
.miniRow {
  display: flex;
  gap: 4px;
  margin-top: 3px;
}
.miniRow .track {
  flex: 1;
}
.detailCover {
  width: 64px;
  aspect-ratio: 2/3;
  display: grid;
  place-items: center;
  background: #8882;
  border: 1px solid #8885;
  border-radius: 8px;
  flex: none;
}
.detailCover svg {
  width: 26px;
  stroke: currentColor;
  fill: none;
}
.bonusChoice {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.bonusChoice > span:first-child {
  flex: 1;
}
.bonusPage .stickyScore {
  min-height: 75px;
}
.bonusPage .bonusTracker {
  position: static;
  transform: none;
}
.bonusPage .bonusTracker div {
  display: inline;
  margin-left: 8px;
}
.writingPanel {
  animation-fill-mode: none !important;
  transform: none !important;
}
.writingTools {
  top: var(--keyboard-top, 0px);
  z-index: 45;
}
.keyboardOpen .writingTools {
  position: fixed;
  left: max(12px, calc((100vw - 620px) / 2));
  right: max(12px, calc((100vw - 620px) / 2));
  top: var(--keyboard-top, 0px);
  border-radius: 10px;
  padding: 5px;
  background: Canvas;
  color: CanvasText;
}
.keyboardOpen .richEditor {
  scroll-margin-top: 100px;
}
.arrivalGlow {
  animation: arrivalGlow 1.8s ease-out;
  border-radius: 12px;
}
@keyframes arrivalGlow {
  0%,
  35% {
    background: #35a66c45;
    box-shadow:
      0 0 0 2px #35a66c,
      0 0 18px #35a66c55;
  }
  100% {
    background: transparent;
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .arrivalGlow {
    animation: none;
    outline: 2px solid #35a66c;
  }
}

.stickyScore:has(#bars) {
  background: Canvas;
  color: CanvasText;
}
.stickyScore #bars {
  text-align: left;
}
.stickyScore #bars .eyebrow,
.stickyScore #bars .cell .muted,
.stickyScore #bars .cell strong,
.stickyScore #bars .segment span {
  transition:
    opacity 0.2s,
    max-height 0.2s;
  max-height: 28px;
}
.stickyScore.compact #bars .eyebrow,
.stickyScore.compact #bars .cell .muted,
.stickyScore.compact #bars .cell strong,
.stickyScore.compact #bars .segment span {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0;
}
.stickyScore.compact #bars .cell {
  padding: 3px 4px;
}
.stickyScore #bars .track {
  min-height: 10px;
}
.stickyScore #bars .segment {
  height: 24px;
}
.scoreMeta {
  margin-top: 4px;
}
.arrivalGlow {
  animation: turquoisePulse 0.85s ease-in-out 2 !important;
  outline: none !important;
  box-shadow: none !important;
}
@keyframes turquoisePulse {
  0%,
  100% {
    background: transparent;
  }
  45%,
  65% {
    background: #28b9a83b;
  }
}
#historyGraph {
  touch-action: pan-y;
  cursor: crosshair;
}
.socialTabs {
  display: flex;
  gap: 10px;
  margin: 12px 0;
}
.socialTabs button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #8881;
  border: 1px solid #8884;
  border-radius: 9px;
}
.socialTabs svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.socialTabs button[aria-pressed='true'] {
  color: #159c90;
}
.statusBox {
  padding: 9px;
  margin-top: 10px;
  background: #8881;
  border-radius: 9px;
}
#historyRing .finalchart svg {
  animation: none;
}
.namedbubble {
  min-height: 38px !important;
}
@media (prefers-reduced-motion: reduce) {
  .arrivalGlow {
    animation: none !important;
    background: #28b9a83b;
  }
}

html {
  overflow-anchor: none;
}
.compactSubs {
  display: none;
}
.stickyScore.showSubs .compactSubs {
  display: block;
}
.stickyScore #bars .compactSubs .segment {
  height: 12px;
}
.stickyScore #bars .compactSubs .segment span,
.stickyScore #bars .compactSubs .eyebrow {
  display: none;
}
.stickyScore #bars .compactSubs .bars {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px;
}
.stickyScore #bars .compactSubs .cell {
  padding: 0;
}
.stickyScore.compact .score {
  transition: none;
}
.ratingDescription {
  text-align: center;
  font-weight: 650;
  margin-bottom: 8px;
}
.points {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: inherit !important;
}
.ratings {
  margin-bottom: 4px !important;
}
#historyRing .finalchart {
  min-height: 125px;
  grid-template-columns: 100px minmax(0, 1fr);
}
#historyMarker {
  pointer-events: none;
}
#historyGraph {
  cursor: default;
}
#historyGraph [data-history-point] {
  cursor: pointer;
}
.savedSlider {
  height: 12px;
  border-radius: 20px;
  position: relative;
  margin: 18px 12px;
}
.savedSlider i {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: white;
  border: 1px solid #888;
  border-radius: 50%;
}
.commentThread {
  background: #8882;
  padding: 10px;
  border-radius: 12px;
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.commentBubble {
  background: Canvas;
  color: CanvasText;
  border: 1px solid #8884;
  border-radius: 12px;
  padding: 12px;
  overflow-wrap: anywhere;
}
.commentBubble p {
  margin-bottom: 0;
}
#likerList {
  padding: 12px;
  background: #8882;
  border-radius: 10px;
  margin-bottom: 10px;
}

.richEditor {
  min-height: calc(3 * 1.5em + 24px);
  line-height: 1.5;
  flex: none;
  height: auto;
}
.writingPanel {
  min-height: 0 !important;
}
.reviewRank {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  color: inherit;
}
.writtenRow {
  min-height: clamp(65px, 12vh, 110px);
}
.compactPoints {
  display: none;
}
.stickyScore.compact #bars .cell .expandedPoints {
  display: none;
}
.stickyScore.compact #bars .cell .compactPoints {
  display: block;
  opacity: 1;
  max-height: 28px;
  text-align: center;
  margin: 0 0 4px;
  overflow: visible;
}
.stickyScore.compact #bars .cell {
  padding: 6px 4px;
}
.stickyScore.compact #bars .track {
  height: 14px;
  min-height: 14px;
}
.stickyScore .bars:has(.namedbubble) {
  margin-top: 8px;
}
.stickyScore.compact .bars:has(.namedbubble) {
  margin-top: 8px;
}
.stickyScore {
  overflow-anchor: none;
}
.stickyScore #bars .fill {
  transition: width 0.25s ease;
}

.categoryHeading {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 12px;
}
#currentname {
  font-size: 18px;
  font-weight: 700;
  opacity: 1;
}
.suggestions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}
.suggestions .suggestionGame {
  height: auto;
  min-width: 0;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
  overflow-wrap: anywhere;
}
.suggestionCover {
  aspect-ratio: 2/3;
  display: grid;
  place-items: center;
  border: 1px solid #8885;
  border-radius: 8px;
  background: #8882;
}
.suggestionCover svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.writtenPreview {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.writtenCounts {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  opacity: 0.7;
  margin-top: 5px;
}
.writtenCounts svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.writtenCounts svg:nth-of-type(2) {
  margin-left: 10px;
}

:root {
  --themeAccent: #00dcc3;
}
.accentGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.accentChoice {
  display: grid;
  justify-items: center;
  gap: 5px;
  border: 0;
  background: none;
  font-size: 11px;
  padding: 5px;
}
.accentChoice span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 22px;
  font-weight: 800;
}
.accentChoice[aria-pressed='true'] {
  font-weight: 800;
}
.brandTint {
  display: inline-block;
  background: var(--themeAccent);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.brand .brandplay {
  height: 24px;
}
.reviewBack {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  background: none;
  border: 0;
  padding: 4px;
  flex: none;
  align-self: flex-start;
}
.reviewBack svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
}
.bonusChoice .bonusRating,
.bonusChoice .bonusToggle {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 800;
  border-radius: 9px;
}
.bonusRating {
  background: #268b58;
  color: white;
}
.bonusRating.awarded {
  background: none;
}
.bonusRating .exceptional {
  width: 48px;
  height: 48px;
}
.bonusToggle {
  border: 2px solid #e9b936;
  color: #e9b936;
}
.bonusToggle.checked {
  background: #e9b936;
  color: #171717;
  font-size: 34px;
}
.flyStar {
  line-height: 1;
}
.brand .brandicon {
  width: 27px;
  height: 27px;
}
.brand .brandprint {
  width: 56px;
  height: 22px;
}
.brand {
  gap: 1px;
}
.brand .brandicon {
  width: 21px;
  height: 27px;
  margin-right: 2px;
}
.brand .brandplay {
  height: 24px;
}
.brand .brandprint {
  width: 67px;
  height: 24px;
  transform: translateY(-2px);
}
.steadyEntrance {
  animation: none !important;
}
.themeDrop {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.25s ease,
    opacity 0.2s ease;
}
.themeDrop.open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.themeDrop > div {
  min-height: 0;
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .themeDrop {
    transition: none;
  }
}

.ratingHeading {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  min-height: 36px;
  margin-bottom: 12px;
}
.ratingHeading .reviewBack {
  align-self: center;
}
.ratingHeading h2,
.ratingHeading .categoryHeading {
  margin: 0;
}
.ratingHeading .categoryHeading {
  width: max-content;
  text-align: left;
}
.ratingHeading.detailedHeading {
  justify-content: center;
  padding-inline: 44px;
}
.ratingHeading.detailedHeading .reviewBack {
  position: absolute;
  left: 0;
}
.ratingHeading.detailedHeading .categoryHeading {
  text-align: center;
}
.profileCounters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
  margin-bottom: 14px;
  padding: 14px 8px;
  border-radius: 14px;
  background: #292929;
}
.profileCounter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.profileCounter strong {
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.profileCounter span {
  font-size: 12px;
  opacity: 0.75;
}
html[data-theme='light'] .profileCounters {
  background: #f0f0f0;
}

.v6scope {
  display: grid;
  gap: 6px;
}
.v6scope select {
  max-width: none;
  width: 100%;
  animation: v61slide 0.2s ease-out;
}
.v6 input {
  border-radius: 14px;
  padding: 12px;
  border: 1px solid #8885;
  background: transparent;
  min-width: 0;
}
.v6tabs button.on {
  background: var(--accent);
  color: #102522;
}
.v6nav {
  background: var(--card, #8882);
  backdrop-filter: blur(16px);
  z-index: 12;
}
.v6nav button.on {
  outline: 2px solid var(--accent);
}
.v6tierhead {
  min-height: 36px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}
.v61letter {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--tier);
  font-size: 36px;
  transition:
    width 0.2s,
    height 0.2s,
    font-size 0.2s;
}
.v6tierhead small {
  background: #353535;
  color: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  transition: opacity 0.2s;
}
.v6tierhead.compact small {
  opacity: 0;
}
.v6tierhead.compact .v61letter {
  width: 36px;
  height: 36px;
  font-size: 25px;
}
.v61gold {
  color: #ffe9a0;
  text-shadow:
    0 1px #946611,
    0 0 5px #fff1b0;
  animation: v61shine 4s infinite;
}
.v61name {
  display: flex;
  align-items: center;
  gap: 8px;
}
.v61name input,
.v61name h2 {
  flex: 1;
  text-align: center;
}
.v61actions button {
  min-height: 65px;
}
.v61pickerbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--card, #8882);
}
.v61featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.v6strip {
  overflow: hidden;
}
.v6strip .v6tile {
  flex: 0 0 calc((100% - 24px) / 4);
}
.v6shelves.grid .v6strip .v6tile {
  flex-basis: calc((100% - 16px) / 3);
}
.v6 {
  padding-bottom: 85px;
}
.v61top {
  position: fixed;
  right: 18px;
  bottom: 85px;
  z-index: 40;
  border: 0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  background: var(--accent, #00dcc3);
  color: #102522;
  font-size: 26px;
  box-shadow: 0 4px 14px #0004;
}
.v61top[hidden] {
  display: none;
}
.v61dialog {
  max-width: min(92vw, 560px);
  max-height: 80vh;
  overflow: auto;
  border: 1px solid #8886;
  border-radius: 18px;
  padding: 18px;
  background: var(--card, #282828);
  color: var(--text, #fff);
  box-shadow: 0 12px 45px #0007;
}
.v61dialog::backdrop {
  background: #0008;
}
.v61dialog button {
  border: 1px solid #8885;
  border-radius: 10px;
  padding: 10px;
  margin: 4px;
  background: #8882;
  color: inherit;
}
.v61choices {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.v61choices button {
  aspect-ratio: 1;
  color: #111;
  font-weight: 900;
  font-size: 22px;
  padding: 4px;
  animation: v61slide 0.25s ease-out;
}
.v61toast {
  position: fixed;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent, #00dcc3);
  color: #102522;
  border-radius: 12px;
  padding: 12px;
  z-index: 99999;
  white-space: nowrap;
}
.v61particle {
  position: fixed;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  z-index: 99999;
  pointer-events: none;
}
.v61saved strong small {
  display: block;
}
.v6 [data-v6drag] {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.v6 [data-v6drag] img {
  -webkit-user-drag: none;
}
.v6wide > button {
  min-width: 42px;
  min-height: 48px;
}
.v6tier {
  scroll-margin-top: 95px;
}
@keyframes v61slide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes v61shine {
  0%,
  85%,
  100% {
    filter: brightness(1);
  }
  92% {
    filter: brightness(1.65);
  }
}
@media (min-width: 760px) {
  .v61featured {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .v6strip .v6tile {
    flex-basis: calc((100% - 40px) / 6);
  }
  .v6tierhead {
    position: relative;
    top: auto;
    margin: 0;
    justify-content: center;
    min-height: 100px;
  }
  .v6tierhead small {
    position: absolute;
    bottom: 5px;
    font-size: 10px;
    padding: 3px;
  }
  .v61letter {
    top: 42%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .v61gold,
  .v61choices button {
    animation: none;
  }
  .v61letter {
    transition: none;
  }
}

/* Tier layout behavior is owned by the scoped component rules below. */

.expToggleDock {
  display: flex;
  justify-content: flex-end;
  padding: 3px 0 0;
}
.expToggleDock .expToggle {
  width: 38px !important;
  height: 38px;
  min-height: 38px;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50%;
  background: var(--panel, Canvas);
  border: 1px solid #8886;
  color: CanvasText;
}
.expView .namedbubble.done {
  background: var(--groupColor) !important;
  color: white !important;
}
.expView .namedbubble.done:before {
  background: var(--groupColor) !important;
  transform: scaleX(1);
}
.expView .namedbubble.done.justdone {
  animation: expBubbleFill 0.35s ease-out;
}
@keyframes expBubbleFill {
  from {
    background: transparent;
  }
  to {
    background: var(--groupColor);
  }
}

.expToggleDock {
  position: absolute;
  right: 8px;
  top: calc(100% + 8px);
  padding: 0;
  display: block;
  background: none;
  pointer-events: none;
  z-index: 40;
}
.expToggleDock .expToggle {
  pointer-events: auto;
  animation: expTogglePop 0.25s ease-out both;
}
.expToggle,
.expToggleDock .expToggle {
  width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50%;
  border: 1px solid #8886;
  background: var(--panel, Canvas);
  color: CanvasText;
  flex: 0 0 36px;
}
.expQuestionHeading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.expQuestionHeading h2 {
  flex: 1;
}
.ratingHeading > .expToggle {
  margin-left: auto !important;
}
.expView .namedbubble.done {
  background: color-mix(in srgb, var(--groupColor) 15%, transparent) !important;
}
.expView .namedbubble.done.justdone {
  animation: none;
}
.expView .namedbubble.done.justdone:before {
  animation: fillbubble 0.45s ease-out both;
}
.expView .expHeader h2 {
  padding-right: 38px;
  padding-left: 38px;
}
@keyframes expTogglePop {
  from {
    transform: translateY(8px) scale(0.75);
    opacity: 0.3;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .expToggleDock .expToggle,
  .expView .namedbubble.done.justdone:before {
    animation: none;
  }
}

.brandicon.brandTint {
  mask-image: url('../assets/playprint-symbol.png');
}
.brandprint.brandTint {
  mask-image: url('../assets/playprint-word-print.png');
}
