.pg {
  --pg-ink: #344b43;
  --pg-paper: #fbf4df;
  --pg-cream: #fffaf0;
  --pg-muted: #6f756b;
  --pg-line: #d9cfba;
  --pg-green: #557564;
  --pg-sage: #dce8c6;
  --pg-blue: #bad6df;
  --pg-blush: #ebc4bd;
  --pg-lime: #c9dc68;
  --pg-display: var(--pj-text);
  --pg-body: var(--font-porjaijaa), "IBM Plex Sans Thai", sans-serif;
  background-color: var(--pg-paper);
  background-image: radial-gradient(circle at 18px 18px, rgb(129 107 88 / 11%) 1.4px, transparent 1.6px);
  background-size: 36px 36px;
  color: var(--pg-ink);
  min-height: 100vh;
  font-family: var(--pj-text);
  line-height: 1.8;
  color-scheme: light;
}
.pg * {
  box-sizing: border-box;
}
.pg button,
.pg a,
.pg input {
  touch-action: manipulation;
}
.pg button {
  cursor: pointer;
}
.pg button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.pg a {
  text-decoration: none;
}
.pg :focus-visible {
  outline: 3px solid #9b6333;
  outline-offset: 5px;
}
.pg h1,
.pg h2,
.pg h3,
.pg p {
  margin: 0;
}
.pg h1 {
  font-size: clamp(32px, 4.7vw, 66px);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.045em;
}
.pg h1 em {
  font-style: normal;
  color: #8d663d;
}
.pg h2 {
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 500;
  line-height: 1.5;
}
.pg h3 {
  font-size: 24px;
  font-weight: 500;
}
.pg small {
  font-weight: 400;
}
.pg .pg-fine {
  font-size: 13px;
  color: var(--pg-muted);
  line-height: 1.9;
  margin-top: 16px;
}
.pg .pg-eyebrow {
  font-family: var(--pj-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  margin-bottom: 20px;
  color: #4d5f53;
}
.pg-sr,
.pg-skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.pg-skip:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  clip-path: none;
  background: #fff;
  padding: 10px;
  z-index: 100;
}
.pg-nav {
  position: relative;
  z-index: 20;
  max-width: 1320px;
  margin: auto;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed #c8bda8;
  gap: 20px;
}
.pg-nav-brand { display: flex; align-items: center; gap: 18px; }
.pg-wordmark {
  font-family: var(--pj-hand);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -1.5px;
}
.pg-wordmark span {
  display: block;
  font-family: var(--pj-label);
  font-size: 8px;
  letter-spacing: 1.8px;
  margin-top: 12px;
}
.pg-nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}
.pg-nav-login {
  border: 1px solid #a3b0a1;
  padding: 8px 20px;
  border-radius: 30px;
}
.pg-wallet {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #baa27a;
  background: #eee2c8;
  padding: 5px 17px;
  border-radius: 25px;
  white-space: nowrap;
}
.pg-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 36px;
}
.pg-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  min-height: 630px;
  gap: 50px;
  padding: 60px 0;
}
.pg-lead {
  font-size: 17px;
  color: var(--pg-muted);
  margin: 22px 0 30px !important;
  line-height: 2.1;
}
.pg-button {
  background: var(--pg-ink);
  color: #fff8e9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid var(--pg-ink);
  border-radius: 40px;
  padding: 14px 26px;
  font-size: 14px;
  min-height: 52px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.pg-button:hover:not(:disabled) {
  background: #3c6154;
  transform: translateY(-2px);
}
.pg-button-outline {
  background: transparent;
  color: var(--pg-ink);
}
.pg-button-outline:hover:not(:disabled) {
  background: #e5e9dc;
}
.pg-garden {
  position: relative;
  min-height: 470px;
  border-radius: 220px 220px 18px 18px;
  background: #e5e8d8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pg-garden:before {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -50px;
  width: 600px;
  height: 400px;
  background: #c1ceb5;
  border-radius: 50%;
  transform: rotate(-15deg);
}
.pg-garden:after {
  content: "";
  position: absolute;
  bottom: -240px;
  left: 130px;
  width: 500px;
  height: 360px;
  background: #91aa8c;
  border-radius: 50%;
  transform: rotate(18deg);
}
.pg-garden-cat {
  position: relative;
  width: 310px;
  z-index: 2;
  margin-top: 65px;
}
.pg-garden-label {
  position: absolute;
  bottom: 24px;
  z-index: 3;
  background: #f8f2df;
  padding: 6px 22px;
  border-radius: 30px;
  font-size: 12px;
}
.pg-garden-caption {
  position: absolute;
  top: 35px;
  text-align: center;
  font:
    8px/1.8 var(--pj-label),
    sans-serif;
  letter-spacing: 2px;
}
.pg-garden-star {
  position: absolute;
  top: 85px;
  right: 60px;
  color: #a3864b;
  font-size: 45px;
}
.pg-orbit {
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid #acb99d;
  border-radius: 50%;
  top: 70px;
}
.pg-orbit-two {
  width: 340px;
  height: 340px;
  top: 95px;
}
.pg-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 0 26px;
  border-top: 1px solid var(--pg-line);
}
.pg-section-heading > span {
  font: 10px var(--pj-label);
  letter-spacing: 2px;
}
.pg-section-heading .pg-eyebrow {
  margin-bottom: 9px;
}
.pg-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: #fffcf4;
  border: 1px solid var(--pg-line);
  border-radius: 8px;
  transition: box-shadow 0.2s;
}
.pg-feature:hover {
  box-shadow: 0 10px 40px #294b4210;
}
.pg-feature-art {
  background: #e9dccc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}
.pg-feature-art svg {
  width: 48%;
  max-width: 240px;
}
.pg-feature-art svg:nth-child(2) {
  transform: translate(-20px, 20px);
}
.pg-feature-copy {
  padding: 36px 40px;
}
.pg-tag {
  display: inline-block;
  font-size: 11px;
  border: 1px solid #b9c7af;
  border-radius: 20px;
  padding: 2px 12px;
  background: #edf0e0;
}
.pg-feature-copy h3 {
  margin: 16px 0 12px;
  font-size: 30px;
}
.pg-feature-copy p {
  font-size: 14px;
  color: var(--pg-muted);
  line-height: 2;
}
.pg-feature-meta {
  display: block;
  font: 9px var(--pj-label);
  letter-spacing: 1.8px;
  margin: 22px 0;
}
.pg-text-link {
  font-size: 13px;
  text-decoration: underline !important;
  text-underline-offset: 6px;
}
.pg-guardian-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 45px 0 55px;
  text-align: center;
}
.pg-guardian-row svg {
  width: 100%;
  max-width: 160px;
  margin: auto;
}
.pg-guardian-row h3 {
  font-size: 19px;
}
.pg-guardian-row p {
  font-size: 11px;
  color: var(--pg-muted);
}
.pg-note {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #eee7d7;
  border-radius: 6px;
  padding: 32px;
  margin: 20px 0 60px;
}
.pg-note h2 {
  font-size: 22px;
}
.pg-note p {
  font-size: 14px;
  color: var(--pg-muted);
  max-width: 700px;
  margin: 10px 0 14px;
}
.pg-note-mark {
  font-size: 58px;
  padding: 0 25px;
}
.pg-footer {
  max-width: 1250px;
  margin: 30px auto 0;
  border-top: 1px solid var(--pg-line);
  padding: 28px 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}
.pg-footer > span {
  font: 9px/2 var(--pj-label);
  letter-spacing: 2px;
}
.pg-back {
  display: inline-block;
  font-size: 12px;
  color: var(--pg-muted);
  margin-bottom: 24px;
}
.pg-intro {
  text-align: center;
  padding-top: 36px;
  padding-bottom: 50px;
}
.pg-intro > .pg-back {
  display: block;
  text-align: left;
}
.pg-intro h1 em {
  display: block;
}
.pg-intro-art {
  display: flex;
  align-items: end;
  justify-content: center;
  max-width: 600px;
  margin: 15px auto;
}
.pg-intro-art svg {
  width: 30%;
}
.pg-intro-art svg:nth-child(2) {
  width: 38%;
}
.pg-prose {
  font-size: 16px;
  line-height: 2.1;
}
.pg-prose p + p {
  margin-top: 18px;
}
.pg-intro-facts {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 12px;
  color: var(--pg-muted);
  margin: 25px 0;
}
.pg-intro > .pg-text-link {
  display: block;
  margin-top: 20px;
}
.pg-disclaimer {
  font-size: 12px;
  line-height: 2;
  color: var(--pg-muted);
  max-width: 620px;
  margin: 35px auto !important;
  text-align: center;
}
.pg-player {
  max-width: 920px;
  padding-top: 30px;
  padding-bottom: 80px;
  min-height: 75vh;
}
.pg-player-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  gap: 18px;
}
.pg-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 20px;
}
.pg progress {
  display: block;
  width: 100%;
  height: 5px;
  margin: 12px 0;
  accent-color: var(--pg-ink);
  border: none;
  border-radius: 8px;
  overflow: hidden;
}
.pg progress::-webkit-progress-bar {
  background: #e0dfd2;
}
.pg progress::-webkit-progress-value {
  background: var(--pg-ink);
  border-radius: 8px;
}
.pg progress.pg-quiz-progress { height: 8px; margin: 14px 0 22px; background: #e0dfd2; border-radius: 99px; }
.pg progress.pg-quiz-progress::-webkit-progress-bar { background: #e0dfd2; border-radius: 99px; }
.pg progress.pg-quiz-progress::-webkit-progress-value { background: var(--pg-green, var(--pg-ink)); border-radius: 99px; transition: width .25s ease; }
.pg progress.pg-quiz-progress::-moz-progress-bar { background: var(--pg-green, var(--pg-ink)); border-radius: 99px; }
.pg-question-list { padding-top: 40px; }
.pg-question-intro { text-align: center; margin-bottom: 36px; }
.pg-question-intro h1 { font-size: clamp(25px, 3.5vw, 38px); line-height: 1.5; }
.pg-question-intro h1:focus-visible { outline: none; }
.pg fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.pg-scale-legend { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0 24px 14px 40%; text-align: center; color: var(--pg-muted); font-size: 10px; line-height: 1.35; }
.pg-scale-legend span { display: grid; justify-items: center; gap: 5px; }
.pg-scale-legend i { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #91a48e; border-radius: 50%; font-style: normal; color: var(--pg-ink); }
.pg-question-cards { display: grid; gap: 16px; }
.pg-question-card { display: grid; grid-template-columns: minmax(260px, 2fr) minmax(360px, 3fr); align-items: center; gap: 28px; background: #fffcf4; border: 1px solid var(--pg-line) !important; border-radius: 14px; padding: 24px 28px !important; box-shadow: 0 3px 12px #294b4208; }
.pg-question-prompt { display: contents; font-size: 15px; line-height: 1.75; }
.pg-question-prompt > span { display: none; }
.pg-answer-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pg-answer-row label { position: relative; min-height: 58px; display: grid; place-items: center; cursor: pointer; border-radius: 10px; transition: background .15s, transform .15s; }
.pg-answer-row label:hover { background: #edf0e3; transform: translateY(-1px); }
.pg-answer-row input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.pg-answer-row label:has(input:focus-visible) { outline: 3px solid #9b6333; outline-offset: 2px; }
.pg-answer-row label > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1.5px solid #92a48e; border-radius: 50%; color: #fff; transition: background .15s, transform .15s; }
.pg-answer-row label:nth-child(1) > span { border-color: #b87868; background: #f7e7df; }
.pg-answer-row label:nth-child(2) > span { border-color: #bb9561; background: #f5ead8; }
.pg-answer-row label:nth-child(3) > span { border-color: #aaa99d; background: #f0eee8; }
.pg-answer-row label:nth-child(4) > span { border-color: #7e9c77; background: #e6eedf; }
.pg-answer-row label:nth-child(5) > span { border-color: #537f71; background: #dcebe2; }
.pg-answer-row label.selected > span { color: #fff; transform: scale(1.08); }
.pg-answer-row label:nth-child(1).selected > span { border-color: #c87969; background: #d98f7f; }
.pg-answer-row label:nth-child(2).selected > span { border-color: #b88c50; background: #c99e62; }
.pg-answer-row label:nth-child(3).selected > span { border-color: #858b83; background: #92978f; }
.pg-answer-row label:nth-child(4).selected > span { border-color: #73966c; background: #83aa7b; }
.pg-answer-row label:nth-child(5).selected > span { border-color: #588876; background: #679b88; }
.pg-answer-row small { display: none; }
.pg-answer-label-compact { display: none; }
.pg-player-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pg-question-list .pg-player-actions { margin-top: 28px; }
.pg-quiet {
  display: inline-block;
  font-size: 13px;
  padding: 12px;
  margin-top: 10px;
  text-decoration: underline !important;
  text-underline-offset: 5px;
}
.pg-finish {
  text-align: center;
  padding: 40px 0;
}
.pg-finish h1 {
  font-size: clamp(30px, 4vw, 46px);
}
.pg-finish > p {
  margin: 20px auto;
}
.pg-finish .pg-button {
  margin-top: 22px;
}
.pg-finish .pg-quiet {
  display: block;
  margin: 12px auto;
}
.pg-large-star {
  font-size: 65px;
  line-height: 1.5;
  color: #ad8b56;
}
.pg-alert {
  background: #f9e8d9;
  border: 1px solid #cc9774;
  color: #793c25;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 18px 0 !important;
  font-size: 14px;
}
.pg-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #182d2870;
  display: grid;
  place-items: center;
  padding: 24px;
}
.pg-dialog {
  max-width: 480px;
  padding: 36px;
  background: var(--pg-paper);
  border-radius: 18px;
}
.pg-dialog p {
  margin: 18px 0;
}
.pg-result {
  padding-top: 28px;
  padding-bottom: 50px;
  text-align: center;
  max-width: 950px;
}
.pg-result > .pg-back {
  display: block;
  text-align: left;
}
.pg-result h1 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 14px;
}
.pg-result-sub {
  color: var(--pg-muted);
  font-size: 14px;
}
.pg-result-card { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(300px, .78fr); gap: 4px; align-items: center; margin: 34px auto; padding: 30px; background: #fffcf4; border: 1px solid var(--pg-line); border-radius: 22px; text-align: center; }
.pg-result-art { align-items: end; justify-content: center; }
.pg-result-art.has-pair { display: grid; grid-template-columns: minmax(0, 1.12fr) auto minmax(160px, .88fr); gap: 5px; }
.pg-result-art.has-chorus { display: flex; flex-wrap: wrap; }
.pg-result-art > div,
.pg-supporting-group > div { position: relative; width: 145px; max-width: 42%; }
.pg-result-art > .is-primary { width: 235px; max-width: 100%; margin: 0 auto; }
.pg-supporting-group { display: flex; align-items: end; justify-content: flex-end; flex-wrap: wrap; gap: 12px; min-width: 0; }
.pg-supporting-group > div { width: 160px; max-width: 100%; }
.pg-result-art svg {
  width: 100%;
}
.pg-result-art h2 {
  font-size: 24px;
}
.pg-supporting-group h2 { font-size: 21px; white-space: nowrap; }
.pg-supporting-group p { line-height: 1.45; }
.pg-result-art p {
  font-size: 11px;
  color: var(--pg-muted);
}
.pg-result-art .pg-guardian-keywords { margin-top: 9px; font-size: 12px; line-height: 1.55; font-weight: 500; }
.pg-guardian-ampersand { align-self: center; color: #7890a8; font: italic 66px/1 Georgia, serif; transform: translateY(18px); }
.pg-guardian-role { display: inline-block; padding: 3px 11px; border: 1px solid #b8aa8e; border-radius: 20px; font-size: 9px; letter-spacing: 1.3px; color: var(--pg-muted); background: #f5efe3; }
.pg-result-art .is-primary .pg-guardian-role { color: #fff8e9; background: var(--pg-ink); border-color: var(--pg-ink); }
.pg-result-radar { min-width: 0; margin-left: -16px; }
.pg-radar { display: block; width: 100%; max-width: 390px; margin: auto; overflow: visible; }
.pg-radar-label { font-family: var(--pj-text); font-size: 9px; font-weight: 600; }
.pg-radar-initial { font-size: 11px; font-weight: 700; }
.pg-result-letter {
  max-width: 670px;
  text-align: left;
  margin: 40px auto;
  padding: 34px;
  background: #fffaf0;
  border: 1px solid var(--pg-line);
  border-radius: 8px;
}
.pg-result-letter p {
  font-size: 16px;
  line-height: 2.2;
  margin-top: 20px;
}
.pg-guardian-notes blockquote { margin-top: 24px; padding: 2px 0 2px 22px; border-left: 3px solid; }
.pg-guardian-notes blockquote p { margin-top: 0; font-family: var(--pj-text); font-size: 18px; line-height: 1.9; }
.pg-guardian-notes blockquote footer { margin-top: 8px; color: var(--pg-muted); font-size: 12px; }
.pg-map {
  text-align: left;
  max-width: 670px;
  margin: 40px auto;
}
.pg-score {
  position: relative;
  margin: 25px 0;
}
.pg-score > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 15px;
}
.pg-score b { font-weight: 500; }
.pg-score span > small { display: block; margin-top: 4px; }
.pg-score small {
  font-size: 11px;
  color: var(--pg-muted);
}
.pg-score progress {
  height: 8px;
  width: 100%;
}
.pg-score progress::-webkit-progress-value {
  background: currentColor;
}
.pg-care {
  max-width: 670px;
  margin: 40px auto;
  display: flex;
  text-align: left;
  gap: 25px;
  border-top: 1px solid var(--pg-line);
  padding-top: 30px;
}
.pg-care p:not(.pg-eyebrow) {
  margin-top: 16px;
  font-size: 14px;
}
.pg-result-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pg-save-note {
  font-size: 13px;
  color: var(--pg-muted);
  margin: 25px 0;
}
.pg-save-note p {
  margin-bottom: 12px;
}
.pg-journey {
  max-width: 950px;
  padding-top: 55px;
  padding-bottom: 60px;
}
.pg-journey > p:not(.pg-eyebrow) {
  margin: 20px 0;
  color: var(--pg-muted);
}
.pg-timeline {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}
.pg-history-card {
  border: 1px solid var(--pg-line);
  background: #fffcf4;
  border-radius: 10px;
  padding: 30px;
}
.pg-history-date {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  margin-bottom: 16px;
}
.pg-history-card h2 {
  font-size: 24px;
}
.pg-history-scores {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 22px 0;
}
.pg-history-scores > div {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--pg-line);
  padding-left: 12px;
}
.pg-history-scores > div:last-child {
  border: 0;
}
.pg-history-scores span {
  font-size: 12px;
}
.pg-history-scores strong {
  font-size: 28px;
  font-family: var(--pj-hand);
  font-weight: 400;
}
.pg-history-scores small {
  font-size: 11px;
  color: var(--pg-muted);
}
.pg-history-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.pg-history-footer small {
  font-size: 10px;
  color: var(--pg-muted);
}
.pg-empty {
  padding: 65px 0;
  text-align: center;
}
.pg-empty > span {
  font-size: 60px;
  color: #ad8b56;
}
.pg-empty p {
  margin-top: 15px;
  font-size: 14px;
}
@media (max-width: 760px) {
  .pg-nav {
    padding: 22px 20px;
    align-items: start;
  }
  .pg-wordmark {
    font-size: 27px;
  }
  .pg-wordmark span {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .pg-nav nav {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: end;
    max-width: 200px;
    font-size: 11px;
  }
  .pg-nav-login {
    padding: 4px 12px;
  }
  .pg-wallet {
    padding: 2px 10px;
  }
  .pg-container {
    padding-left: 22px;
    padding-right: 22px;
  }
  .pg-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 45px 0;
    min-height: auto;
  }
  .pg-hero-copy {
    text-align: center;
  }
  .pg-hero h1 {
    font-size: 43px;
  }
  .pg-garden {
    min-height: 365px;
    max-width: 430px;
    width: 100%;
    margin: auto;
  }
  .pg-garden-cat {
    width: 245px;
    margin-top: 40px;
  }
  .pg-garden-caption {
    top: 23px;
  }
  .pg-garden-star {
    top: 65px;
  }
  .pg-orbit {
    width: 320px;
    height: 320px;
    top: 40px;
  }
  .pg-orbit-two {
    width: 280px;
    height: 280px;
    top: 60px;
  }
  .pg-section-heading > span {
    display: none;
  }
  .pg-feature {
    grid-template-columns: 1fr;
  }
  .pg-feature-art {
    max-height: 230px;
  }
  .pg-feature-art svg {
    max-height: 230px;
  }
  .pg-feature-copy {
    padding: 26px;
  }
  .pg-feature-copy h3 {
    font-size: 27px;
  }
  .pg-guardian-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 6px;
    padding: 30px 0;
  }
  .pg-guardian-row h3 {
    font-size: 15px;
    overflow-wrap: anywhere;
  }
  .pg-guardian-row p {
    display: none;
  }
  .pg-note {
    padding: 24px;
    gap: 16px;
    align-items: start;
    flex-wrap: wrap;
  }
  .pg-note-mark {
    font-size: 35px;
    padding: 0;
  }
  .pg-note h2 {
    font-size: 21px;
  }
  .pg-footer {
    padding: 22px;
    flex-direction: column;
    gap: 8px;
  }
  .pg-intro {
    padding-top: 25px;
  }
  .pg-intro h1 {
    font-size: 40px;
  }
  .pg-intro-facts {
    font-size: 11px;
    gap: 12px;
  }
  .pg-question-list { padding-top: 28px; }
  .pg-scale-legend { display: none; }
  .pg-question-card { grid-template-columns: 1fr; gap: 18px; padding: 20px 20px 28px !important; }
  .pg-question-prompt { display: block; font-size: 14px; }
  .pg-question-prompt > span { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 8px; border-radius: 50%; background: #e6eadb; font-size: 11px; }
  .pg-answer-row { gap: 4px; }
  .pg-answer-row label { min-height: 78px; display: flex; flex-direction: column; justify-content: flex-start; gap: 11px; padding-top: 4px; }
  .pg-answer-row label > span { width: 34px; height: 34px; }
  .pg-answer-row small { display: block; width: 82px; text-align: center; font-size: 8px; line-height: 1.25; color: var(--pg-muted); }
  .pg-player-top {
    font-size: 10px;
  }
  .pg-result-card { grid-template-columns: 1fr; padding: 22px; }
  .pg-result-art.has-pair { grid-template-columns: 1fr; gap: 10px; align-items: center; }
  .pg-result-art.has-pair > .is-primary { grid-column: 1; width: min(100%, 285px); }
  .pg-result-art.has-pair > .pg-guardian-ampersand { grid-column: 1; font-size: 62px; transform: none; margin: -8px 0; }
  .pg-result-art.has-pair > .pg-supporting-group { grid-column: 1; width: 100%; max-width: 100%; justify-content: center; }
  .pg-result-art.has-pair .pg-supporting-group > div { width: min(78%, 220px); }
  .pg-result-art > div { width: 125px; }
  .pg-result-art h2 { font-size: 24px; }
  .pg-supporting-group h2 { font-size: 22px; }
  .pg-result-art p { font-size: 12px; }
  .pg-result-art .pg-guardian-keywords { font-size: 12px; }
  .pg-result-radar { margin-left: 0; }
  .pg-result-letter {
    padding: 24px;
  }
  .pg-score small {
    display: block;
  }
  .pg-care {
    gap: 15px;
  }
  .pg-care .pg-large-star {
    font-size: 40px;
  }
  .pg-result-actions .pg-button {
    width: 100%;
  }
  .pg-history-card {
    padding: 20px;
  }
  .pg-history-card h2 {
    font-size: 22px;
  }
  .pg-history-scores > div {
    padding-left: 7px;
  }
  .pg-history-scores strong {
    font-size: 24px;
  }
  .pg-disclaimer {
    text-align: left;
  }
}
.pg dialog.pg-dialog {
  margin: auto;
  border: 1px solid var(--pg-line);
  color: var(--pg-ink);
  width: calc(100% - 48px);
}
.pg dialog.pg-dialog::backdrop {
  background: #182d2870;
}
@media (max-width: 430px) {
  .pg-question-card { padding-right: 12px !important; padding-left: 12px !important; }
  .pg-answer-row { gap: 2px; }
  .pg-answer-row small { width: 58px; font-size: 9px; }
  .pg-answer-label-full { display: none; }
  .pg-answer-label-compact { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .pg * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .pg-button:hover {
    transform: none !important;
  }
}

/* Database-authored Playground quizzes */
.pg-managed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}
.pg-managed-tile {
  --quiz-color: var(--pg-green);
  position: relative;
  min-height: 330px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--pg-line);
  border-radius: 28px;
  color: var(--pg-ink);
  text-decoration: none;
  background: color-mix(in srgb, var(--quiz-color) 8%, var(--pg-paper));
}
.pg-managed-tile::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  bottom: -80px;
  border: 1px solid color-mix(in srgb, var(--quiz-color) 60%, transparent);
  border-radius: 50%;
}
.pg-managed-tile-mark { display: block; margin: 44px 0 18px; color: var(--quiz-color); font-size: 42px; }
.pg-managed-tile h3 { margin: 0; font-family: var(--pg-display); font-size: clamp(30px, 4vw, 50px); font-weight: 500; overflow-wrap: anywhere; }
.pg-managed-tile p { max-width: 520px; min-height: 52px; line-height: 1.7; }
.pg-managed-tile .pg-text-link { display: block; margin-top: 24px; }
.pg-managed-intro,
.pg-managed-play-heading,
.pg-managed-result,
.pg-managed-empty {
  max-width: 860px;
  margin: 0 auto;
}
.pg-managed-intro { min-height: 70vh; padding: 120px 0; text-align: center; }
.pg-managed-intro h1,
.pg-managed-play-heading h1,
.pg-managed-result > h1,
.pg-managed-empty h1 { margin: 18px 0; font-family: var(--pg-display); font-size: clamp(48px, 8vw, 92px); font-weight: 500; line-height: .98; }
.pg-managed-intro > p:not(.pg-eyebrow),
.pg-managed-play-heading > p:not(.pg-eyebrow) { max-width: 680px; margin: 0 auto; font-size: 19px; line-height: 1.8; }
.pg-managed-intro-meta { display: flex; justify-content: center; gap: 14px; margin: 30px 0; color: var(--pg-muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.pg-managed-play-heading { padding: 80px 0 45px; text-align: center; }
.pg-managed-play { max-width: 900px; margin: 0 auto; padding-bottom: 110px; }
.pg-managed-progress { position: sticky; top: 78px; z-index: 4; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; margin-bottom: 24px; padding: 12px 18px; border: 1px solid var(--pg-line); border-radius: 999px; background: color-mix(in srgb, var(--pg-paper) 94%, transparent); backdrop-filter: blur(10px); font-size: 12px; }
.pg-managed-progress > div { height: 5px; overflow: hidden; border-radius: 99px; background: var(--pg-line); }
.pg-managed-progress i { display: block; height: 100%; border-radius: inherit; background: var(--pg-green); transition: width .25s ease; }
.pg-managed-question { margin: 0 0 20px; padding: 32px; border: 1px solid var(--pg-line); border-radius: 24px; background: var(--pg-cream); }
.pg-managed-question legend { display: flex; align-items: flex-start; gap: 14px; max-width: calc(100% - 20px); padding: 0 10px; font-family: var(--pg-display); font-size: 24px; line-height: 1.45; }
.pg-managed-question legend > span { display: inline-grid; flex: 0 0 auto; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pg-sage); font-family: var(--pg-body); font-size: 13px; }
.pg-managed-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.pg-managed-choices label { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 10px; min-height: 64px; padding: 12px 16px; border: 1px solid var(--pg-line); border-radius: 15px; cursor: pointer; background: var(--pg-paper); line-height: 1.4; transition: border-color .2s, transform .2s; }
.pg-managed-choices label:hover { transform: translateY(-1px); border-color: var(--pg-green); }
.pg-managed-choices label.is-selected { border-color: var(--pg-green); background: var(--pg-sage); }
.pg-managed-choices input { position: absolute; opacity: 0; pointer-events: none; }
.pg-managed-choices label > span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--pg-green); border-radius: 50%; color: white; background: transparent; }
.pg-managed-choices label.is-selected > span { background: var(--pg-green); }
.pg-managed-error { color: #9b3b34; font-weight: 600; }
.pg-managed-result { padding: 90px 0 110px; text-align: center; }
.pg-managed-support { margin-top: -4px; color: var(--pg-muted); font-size: 18px; }
.pg-managed-result-card { max-width: 680px; margin: 42px auto 28px; padding: 45px; border: 1px solid color-mix(in srgb, var(--result-color) 50%, var(--pg-line)); border-radius: 32px; background: color-mix(in srgb, var(--result-color) 8%, var(--pg-cream)); }
.pg-managed-orb { display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 28px; border-radius: 50%; color: white; background: var(--result-color); font-size: 32px; }
.pg-managed-result-card > p { font-size: 20px; line-height: 1.75; }
.pg-managed-result-card blockquote { margin: 32px 0 0; padding-top: 30px; border-top: 1px solid var(--pg-line); font-family: var(--pg-display); font-size: 25px; font-style: italic; line-height: 1.55; }
.pg-managed-score-list { max-width: 680px; margin: 0 auto 36px; }
.pg-managed-score-list > div { display: flex; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid var(--pg-line); }
.pg-managed-score-list span { display: flex; align-items: center; gap: 10px; }
.pg-managed-score-list i { width: 10px; height: 10px; border-radius: 50%; }
.pg-managed-actions { display: flex; justify-content: center; align-items: center; gap: 28px; margin: 30px 0; }
.pg-managed-empty { min-height: 65vh; padding: 120px 0; text-align: center; }
.pg-managed-empty .pg-button { margin-top: 25px; }
@media (max-width: 700px) {
  .pg-managed-grid,
  .pg-managed-choices { grid-template-columns: minmax(0, 1fr); }
  .pg-managed-tile { min-height: 300px; padding: 26px; }
  .pg-managed-question { padding: 24px 14px; }
  .pg-managed-question legend { padding: 0 4px; font-size: 20px; }
  .pg-managed-result-card { padding: 30px 20px; }
  .pg-managed-intro-meta,
  .pg-managed-actions { flex-wrap: wrap; }
}
.pg-managed-journey { margin: 75px 0; text-align: left; }
.pg-managed-journey-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pg-managed-journey-card { padding: 28px; border: 1px solid color-mix(in srgb, var(--result-color) 45%, var(--pg-line)); border-radius: 24px; background: color-mix(in srgb, var(--result-color) 7%, var(--pg-cream)); }
.pg-managed-journey-card time { float: right; color: var(--pg-muted); font-size: 12px; }
.pg-managed-journey-card h3 { margin: 16px 0 8px; font-family: var(--pg-display); font-size: 34px; font-weight: 500; }
.pg-managed-journey-card blockquote { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--pg-line); font-family: var(--pg-display); font-size: 19px; font-style: italic; line-height: 1.5; }
@media (max-width: 700px) { .pg-managed-journey-grid { grid-template-columns: 1fr; } }

/* Whimsical Porjaijaa layer: shared visual language with the main site. */
.pg-nav {
  margin-top: 14px;
  background: rgb(255 250 240 / 88%);
  border: 1px solid var(--pg-line);
  border-radius: 24px;
  box-shadow: 5px 6px 0 rgb(100 91 72 / 9%);
  backdrop-filter: blur(14px);
}
.pg-wordmark { color: var(--pg-ink); }
.pg-wordmark::after { content: "✿"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: 8px; color: #667c57; background: #dce99c; border-radius: 50%; font: 13px/1 sans-serif; vertical-align: middle; }
.pg-menu-wrap { position: relative; z-index: 90; }
.pg-menu-button { min-height: 43px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; color: var(--pg-ink); background: #e2ebcb; border: 1px solid #9eb286; border-radius: 15px 15px 15px 5px; box-shadow: 3px 4px 0 #c2cfa9; font: 700 12px/1 var(--pg-body); }
.pg-menu-button svg { width: 19px; }
.pg-menu-scrim { position: fixed; z-index: 80; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgb(45 65 56 / 22%); backdrop-filter: blur(2px); }
.pg-menu-panel { position: absolute; z-index: 90; top: calc(100% + 14px); left: 0; width: min(390px, calc(100vw - 30px)); padding: 16px; color: var(--pg-ink); background: var(--pg-cream); border: 1px solid #bdb198; border-radius: 10px 28px 28px 28px; box-shadow: 10px 12px 0 rgb(69 85 73 / 14%); }
.pg-menu-panel::before { content: ""; position: absolute; width: 88px; height: 22px; top: -10px; right: 40px; background: rgb(190 214 223 / 75%); transform: rotate(3deg); }
.pg-menu-heading { display: flex; align-items: center; gap: 13px; padding: 10px 10px 16px; border-bottom: 1px dashed #cbbfa8; }
.pg-menu-heading > span { width: 42px; height: 42px; display: grid; place-items: center; color: #6d825d; background: #e4efa9; border: 1px solid #b1c66e; border-radius: 50%; font-size: 20px; }
.pg-menu-heading small, .pg-menu-heading strong { display: block; }
.pg-menu-heading small { color: #768071; font: 700 8px/1.4 var(--pj-label); letter-spacing: .18em; }
.pg-menu-heading strong { margin-top: 4px; font-size: 17px; }
.pg-menu-panel > a { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 13px; margin-top: 8px; padding: 11px; border: 1px solid transparent; border-radius: 16px; transition: background .15s, transform .15s; }
.pg-menu-panel > a:hover { background: #f2eddf; border-color: #d8cdb8; transform: translateX(2px); }
.pg-menu-panel > a strong, .pg-menu-panel > a small { display: block; }
.pg-menu-panel > a strong { font-size: 14px; }
.pg-menu-panel > a small { margin-top: 2px; color: var(--pg-muted); font-size: 10px; line-height: 1.45; }
.pg-menu-panel > a i { font-style: normal; }
.pg-menu-icon { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgb(70 86 75 / 18%); border-radius: 50%; }
.pg-menu-icon svg { width: 19px; }
.pg-menu-icon-1 { background: #dbe7c6; }
.pg-menu-icon-2 { background: #f1d0c5; }
.pg-menu-icon-3 { background: #cfe1e5; }
.pg-menu-panel > p { margin: 13px 8px 2px; color: #778077; font-size: 10px; text-align: center; }

.pg-hero { position: relative; }
.pg-hero::before { content: "take it gently ♡"; position: absolute; z-index: 2; left: 46%; bottom: 37px; padding: 7px 15px; color: #805e59; background: #f3c8c1; border: 1px solid #d8a9a2; border-radius: 4px; font: italic 12px var(--pj-label); transform: rotate(-4deg); box-shadow: 2px 3px 0 rgb(88 74 59 / 10%); }
.pg-garden { border: 1px solid #bdc9a7; border-radius: 46% 54% 16px 16px; box-shadow: 10px 12px 0 #dce2c5; }
.pg-garden::before { background: #cbd9ad; }
.pg-garden::after { background: #9fb78b; }
.pg-button { border-radius: 18px 18px 18px 5px; box-shadow: 4px 5px 0 #b3c49a; }
.pg-section-heading { scroll-margin-top: 24px; }
.pg-feature { border-radius: 30px 30px 30px 9px; box-shadow: 6px 7px 0 rgb(112 98 80 / 10%); }
.pg-feature-art { background: radial-gradient(circle, #d2bf9e 1.4px, transparent 1.8px) 0 0 / 26px 26px, #ead9ca; }
.pg-managed-tile { border-radius: 30px 30px 30px 9px; box-shadow: 6px 7px 0 rgb(112 98 80 / 9%); }
.pg-note { background: #e4ebd2; border: 1px solid #bdcaa7; border-radius: 10px 35px; box-shadow: 6px 7px 0 rgb(96 115 84 / 10%); }

.pg-coming-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 70px 0 40px; }
.pg-coming-card { position: relative; min-height: 390px; padding: 38px; overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 26px; border: 1px solid #c8bca6; border-radius: 34px 34px 34px 10px; box-shadow: 7px 8px 0 rgb(102 90 70 / 11%); }
.pg-coming-card::after { content: ""; position: absolute; width: 190px; height: 190px; right: -55px; bottom: -60px; border: 2px dashed rgb(64 80 69 / 18%); border-radius: 50%; }
.pg-coming-games { background: linear-gradient(145deg, #d6e3c0, #edf1d8); }
.pg-coming-tarot { background: linear-gradient(145deg, #cfe1e5, #e8dfd9); }
.pg-coming-card .pg-eyebrow { margin-bottom: 12px; }
.pg-coming-card h2 { max-width: 430px; margin: 12px 0 10px; font-size: clamp(29px, 4vw, 43px); }
.pg-coming-card > p:not(.pg-eyebrow) { max-width: 470px; color: #5f6c63; font-size: 14px; line-height: 1.85; }
.pg-coming-icon { margin: auto 0 0; color: #66806e; font: 64px/1 Georgia, serif; }
.pg-coming-soon { position: relative; z-index: 1; width: max-content; margin-top: 24px; padding: 6px 12px; background: rgb(255 250 240 / 58%); border: 1px solid rgb(63 79 68 / 20%); border-radius: 999px; font: 700 9px/1.4 var(--pj-label); letter-spacing: .14em; }
.pg-sticker { position: absolute; right: 25px; top: 22px; width: 55px; height: 55px; display: grid; place-items: center; color: #806b50; background: #ffe7a0; border: 2px solid var(--pg-cream); border-radius: 50%; box-shadow: 2px 3px 0 rgb(84 72 56 / 13%); font-size: 24px; transform: rotate(8deg); }
.pg-coming-tarot .pg-sticker { color: #667e8a; background: #f2c6c2; transform: rotate(-8deg); }
.pg-footer { background: #dce7c7; border: 1px solid #b9c7a7; border-radius: 22px 22px 0 0; }

@media (max-width: 760px) {
  .pg-nav { margin: 10px 10px 0; padding: 16px 14px; align-items: center; }
  .pg-nav-brand { gap: 10px; }
  .pg-menu-button { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; }
  .pg-menu-button > span { display: none; }
  .pg-menu-panel { left: 0; }
  .pg-wordmark::after { display: none; }
  .pg-nav nav { max-width: 175px; }
  .pg-nav nav > a:first-child { display: none; }
  .pg-hero::before { left: 18px; bottom: 17px; }
  .pg-coming-grid { grid-template-columns: 1fr; padding-top: 50px; }
  .pg-coming-card { min-height: 350px; padding: 29px; }
}

@media (max-width: 480px) {
  .pg-wordmark { font-size: 22px; }
  .pg-wordmark span { display: none; }
  .pg-nav nav { gap: 7px; }
  .pg-nav nav .porjaijaa-language { margin: 0; }
  .pg-menu-panel { width: calc(100vw - 30px); }
}
.pg-unlock { display: grid; justify-items: start; gap: 14px; margin-top: 8px; }
.pg-unlock > p { max-width: 520px; color: var(--pg-muted); font-size: 14px; }
.pg-unlock .pg-button { gap: 12px; }
.pg-unlock-error { padding: 8px 14px; color: #7c3f37; background: #f6d9d3; border: 1px solid #e0b3aa; border-radius: 12px; font-size: 13px; }
.pg-tag-locked { background: #f3e2b8; border-color: #d9c08a; }
.pg-tag-unlocked { background: #dce8c6; border-color: #a9bf8f; }

/* Quiz list pages (?page=) */
.pg-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin: 30px 0 6px; font-size: 14px; }
.pg-pagination ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pg-pagination li { display: grid; place-items: center; min-width: 40px; color: var(--pj-muted-ink, var(--pg-muted)); }
.pg-pagination li a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; color: var(--pj-ink, var(--pg-ink)); background: var(--pj-cream, var(--pg-cream)); border: 1.5px solid var(--pj-line, var(--pg-line)); border-radius: 12px 12px 12px 4px; }
.pg-pagination li a:hover { background: var(--pj-sage-soft, var(--pg-sage)); }
.pg-pagination li a[aria-current="page"] { color: #fdfbf7; background: var(--pj-moss, var(--pg-green)); border-color: var(--pj-moss, var(--pg-green)); }
.pg-pagination .pg-page-step { display: inline-flex; align-items: center; min-height: 40px; padding: 0 6px; color: var(--pj-ink, var(--pg-ink)); }
.pg-pagination span.pg-page-step { opacity: .4; }
.pg-pagination a:focus-visible { outline: 3px solid #9b6333; outline-offset: 2px; }

/* Managed quiz scenes with no picture: the story card takes the full width. */
.pg-cat-scene.pg-scene-solo .pg-cat-story { grid-column: 1 / -1; }

/* Share / save image under a quiz result */
.pg-result-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 26px 0 12px; font-size: 14px; color: var(--pj-muted-ink, var(--pg-muted)); }
.pg-cat-result .pg-result-share { justify-content: flex-start; }
.pg-result-share [role="status"] { flex-basis: 100%; text-align: inherit; overflow-wrap: anywhere; }
.pg-managed-picture { max-width: 320px; margin: 0 auto 28px; }

/* Inspiration decks */
.pg-deck-page { max-width: 900px; padding-top: 40px; padding-bottom: 70px; text-align: center; }
.pg-deck-page > h1 { margin: 10px 0 12px; font-family: var(--pj-hand, var(--pg-display)); font-size: clamp(32px, 5vw, 48px); font-weight: 400; line-height: 1.25; }
.pg-deck-page > .pg-back { display: inline-block; margin-bottom: 18px; padding: 0; background: none; border: 0; font: inherit; color: inherit; }
.pg-deck-page .pg-player-actions { justify-content: center; }
.pg-deck-lead { max-width: 560px; margin: 0 auto 26px; color: var(--pj-muted-ink, var(--pg-muted)); line-height: 1.9; }
.pg-deck-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.pg-deck-tile { display: grid; justify-items: center; gap: 6px; width: 100%; padding: 14px 14px 18px; color: inherit; font: inherit; background: var(--pj-cream, var(--pg-cream)); border: 1.5px solid var(--pj-line, var(--pg-line)); border-radius: 18px 18px 18px 6px; box-shadow: 4px 5px 0 rgb(112 98 80 / 9%); transition: transform .15s, background .15s; }
.pg-deck-tile:hover { transform: translateY(-2px) rotate(-.6deg); background: var(--pj-sage-soft, var(--pg-sage)); }
.pg-deck-tile:focus-visible { outline: 3px solid #9b6333; outline-offset: 3px; }
.pg-deck-tile strong { font-family: var(--pj-hand, var(--pg-display)); font-size: 21px; font-weight: 400; line-height: 1.35; }
.pg-deck-tile small { color: var(--pj-muted-ink, var(--pg-muted)); font-size: 13px; }
.pg-deck-cover { display: grid; place-items: center; width: 100%; aspect-ratio: 2 / 3; margin-bottom: 8px; overflow: hidden; color: #8fa585; font-size: 40px; background: #e2ebda; border-radius: 10px; }
.pg-deck-cover img { width: 100%; height: 100%; object-fit: cover; }
.pg-deck-draw { display: grid; justify-items: center; gap: 4px; }
.pg-deck-back { display: grid; place-items: center; width: min(240px, 60vw); aspect-ratio: 2 / 3; margin: 6px auto 22px; color: #fdfbf7; font-size: 54px; background: repeating-linear-gradient(45deg, #7fa070 0 12px, #8fb57f 12px 24px); border: 10px solid #fff; border-radius: 16px; box-shadow: 0 6px 16px rgb(71 57 45 / 20%); transform: rotate(-2deg); transition: transform .2s; }
.pg-deck-back:hover { transform: rotate(1deg) translateY(-4px); }
.pg-deck-back:focus-visible { outline: 3px solid #9b6333; outline-offset: 4px; }
.pg-deck-drawn { display: grid; justify-items: center; gap: 8px; animation: pg-deck-flip .45s ease-out both; }
.pg-deck-card { width: min(320px, 78vw); margin: 6px auto 14px; padding: 10px 10px 30px; background: #fff; box-shadow: 0 4px 14px rgb(71 57 45 / 20%); transform: rotate(-1.5deg); }
.pg-deck-card img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.pg-deck-card-blank { display: grid; place-items: center; aspect-ratio: 2 / 3; color: #8fa585; font-size: 64px; background: #e2ebda; }
.pg-deck-message { max-width: 560px; margin: 0 auto 10px; padding: 18px 24px; color: #47392d; font-size: 17px; line-height: 1.9; background: #e2ebda; box-shadow: 0 4px 8px rgb(71 57 45 / 12%); transform: rotate(.6deg); white-space: pre-line; }
@keyframes pg-deck-flip { from { opacity: 0; transform: rotateY(70deg) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .pg-deck-drawn { animation: none; }
  .pg-deck-tile, .pg-deck-back { transition: none; }
}

/* Phones: smaller cards that sit side by side. */
@media (max-width: 700px) {
  /* Other quizzes: two per row. */
  .pg-managed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pg-managed-tile { min-height: 0; padding: 16px 14px; border-radius: 20px 20px 20px 8px; }
  .pg-managed-tile .pg-tag { font-size: 10px; }
  .pg-managed-tile-mark { margin: 14px 0 8px; font-size: 26px; }
  .pg-managed-tile h3 { font-size: 19px; line-height: 1.35; }
  .pg-managed-tile p { min-height: 0; margin: 6px 0 0; font-size: 12px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pg-managed-tile .pg-feature-meta { display: none; }
  .pg-managed-tile .pg-text-link { margin-top: 10px; font-size: 12px; }
  /* Game corner, daily card and inspiration deck: one row of three small cards. */
  .pg-coming-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; padding-top: 40px; }
  .pg-coming-card { min-height: 0; padding: 14px 12px 16px; border-radius: 20px 20px 20px 8px; }
  .pg-coming-card::after { display: none; }
  .pg-coming-card .pg-eyebrow,
  .pg-coming-card > p:not(.pg-eyebrow),
  .pg-coming-card .pg-tag,
  .pg-coming-card .pg-coming-soon { display: none; }
  .pg-managed-tile::after { display: none; }
  .pg-coming-card h2 { margin: 6px 0 8px; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
  .pg-coming-card .pg-sticker { width: 30px; height: 30px; font-size: 14px; }
  .pg-coming-card .pg-text-link { margin-top: auto; font-size: 11px; }
  .pg-coming-icon { font-size: 30px; }
  /* Five cat tribes: three on top, the last two centred underneath. */
  .pg-guardian-row { display: flex; flex-wrap: wrap; justify-content: center; }
  .pg-guardian-row > * { flex: 0 0 calc((100% - 12px) / 3); }
}
