.perception-entry-card {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(196, 159, 92, .22);
  background:
    radial-gradient(circle at 82% 18%, rgba(76, 121, 139, .12), transparent 34%),
    linear-gradient(145deg, rgba(24, 20, 15, .72), rgba(5, 9, 11, .88));
  box-shadow: 0 24px 54px rgba(0,0,0,.28), 0 0 30px rgba(189, 150, 83, .05) inset;
}

.perception-entry-title {
  margin: 7px 0 8px;
  font-family: Georgia, serif;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  font-weight: 400;
  color: rgba(244, 232, 210, .96);
}

.perception-entry-copy,
.perception-entry-line,
.perception-entry-status {
  margin: 0;
  color: rgba(200, 220, 224, .72);
  font-size: .76rem;
  line-height: 1.65;
}

.perception-entry-line {
  margin-top: 12px;
  color: rgba(229, 193, 124, .88);
  font-family: Georgia, serif;
  font-size: .92rem;
}

.perception-entry-status {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(157, 203, 215, .11);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .62rem;
}

.perception-entry-button { margin-top: 16px; }

.perception-game {
  --pg-gold: 196, 157, 91;
  --pg-blue: 91, 148, 169;
  position: relative;
  min-height: min(72vh, 720px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #e9f3f5;
  background:
    radial-gradient(circle at 18% 18%, rgba(var(--pg-gold), .08), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(var(--pg-blue), .09), transparent 34%),
    linear-gradient(160deg, #070808, #030506 58%, #010203);
}

.perception-game::before,
.perception-game::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.perception-game::before {
  opacity: .24;
  background-image:
    linear-gradient(rgba(195, 223, 229, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195, 223, 229, .02) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black, transparent 88%);
}

.perception-game::after {
  background: radial-gradient(circle at center, transparent 42%, rgba(0,0,0,.5) 100%);
}

.pg-inner {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 44px));
  padding: clamp(32px, 6vw, 64px) 0;
}

.pg-kicker {
  margin: 0 0 10px;
  font-size: .61rem;
  letter-spacing: .28em;
  color: rgba(190, 216, 222, .58);
  text-transform: uppercase;
}

.pg-title {
  margin: 0;
  max-width: 680px;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 6vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.025em;
  color: rgba(244, 235, 218, .97);
  text-wrap: balance;
}

.pg-copy {
  max-width: 620px;
  margin: 19px 0 0;
  font-size: clamp(.82rem, 1.7vw, .98rem);
  line-height: 1.72;
  color: rgba(200, 218, 222, .75);
}

.pg-muted { color: rgba(177, 199, 205, .52); }

.pg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-top: 30px;
}

.pg-button,
.pg-text-button,
.pg-option {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pg-button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(var(--pg-gold), .33);
  background: linear-gradient(135deg, rgba(197, 158, 89, .18), rgba(69, 96, 104, .13));
  color: rgba(247, 238, 221, .96);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.pg-button:hover,
.pg-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(var(--pg-gold), .64);
  background: linear-gradient(135deg, rgba(197, 158, 89, .28), rgba(70, 120, 137, .18));
  box-shadow: 0 12px 30px rgba(0,0,0,.24), 0 0 24px rgba(var(--pg-gold), .08);
}

.pg-button:disabled {
  cursor: default;
  opacity: .34;
  transform: none;
}

.pg-button-secondary { border-color: rgba(var(--pg-blue), .3); }

.pg-text-button {
  padding: 9px 2px;
  background: transparent;
  color: rgba(181, 205, 211, .58);
  border-bottom: 1px solid rgba(151, 194, 205, .16);
  font-size: .61rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pg-text-button:hover,
.pg-text-button:focus-visible { color: rgba(231, 243, 246, .9); }

.pg-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 560px;
  margin-top: 32px;
  background: rgba(133, 179, 190, .09);
}

.pg-meta-item {
  min-height: 98px;
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(2, 5, 6, .72);
}

.pg-meta-item strong {
  font-family: Georgia, serif;
  font-size: 1.65rem;
  font-weight: 400;
  color: rgba(234, 205, 151, .94);
}

.pg-meta-item span {
  margin-top: 7px;
  font-size: .56rem;
  letter-spacing: .16em;
  color: rgba(179, 207, 214, .54);
}

.pg-manifesto {
  margin: 30px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.45;
  color: rgba(240, 220, 181, .88);
}

.pg-chapter-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 580px;
  margin-top: 30px;
}

.pg-chapter {
  min-height: 104px;
  padding: 17px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border: 1px solid rgba(150, 188, 197, .09);
  background: rgba(5, 9, 10, .52);
  color: rgba(157, 179, 184, .3);
}

.pg-chapter.is-active {
  border-color: rgba(var(--pg-gold), .27);
  background: radial-gradient(circle at 20% 20%, rgba(var(--pg-gold), .12), rgba(5, 9, 10, .68));
  color: rgba(236, 224, 201, .93);
}

.pg-chapter-number {
  font-family: Georgia, serif;
  font-size: 2rem;
}

.pg-chapter strong {
  font-size: .62rem;
  letter-spacing: .18em;
}

.pg-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.pg-facts span {
  padding: 7px 10px;
  border: 1px solid rgba(153, 197, 207, .12);
  font-size: .55rem;
  letter-spacing: .14em;
  color: rgba(178, 205, 211, .63);
}

.pg-progress-list {
  max-width: 580px;
  margin-top: 28px;
  border-top: 1px solid rgba(151, 193, 203, .1);
}

.pg-progress-row {
  display: grid;
  grid-template-columns: 48px 1fr 30px;
  gap: 10px;
  min-height: 54px;
  align-items: center;
  border-bottom: 1px solid rgba(151, 193, 203, .09);
  color: rgba(181, 205, 211, .44);
}

.pg-progress-row.is-completed,
.pg-progress-row.is-unlocked { color: rgba(225, 232, 224, .88); }
.pg-progress-row.is-skipped { color: rgba(207, 192, 163, .65); }

.pg-progress-number,
.pg-progress-mark {
  font-family: Georgia, serif;
  color: rgba(207, 168, 97, .75);
}

.pg-progress-row strong {
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .13em;
}

.pg-progress-mark { text-align: right; }

.pg-unlocked {
  margin-top: 19px;
  font-size: .6rem;
  letter-spacing: .22em;
  color: rgba(222, 189, 124, .85);
}

.pg-timed-screen .pg-inner { text-align: center; }
.pg-timed-screen .pg-title,
.pg-timed-screen .pg-copy { margin-left: auto; margin-right: auto; }

.pg-timer {
  --pg-progress: 0deg;
  position: relative;
  width: clamp(128px, 25vw, 188px);
  aspect-ratio: 1;
  margin: 0 auto 30px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #050708 64%, transparent 65%),
    conic-gradient(rgba(var(--pg-gold), .72) var(--pg-progress), rgba(129, 169, 180, .1) 0);
  box-shadow: 0 0 42px rgba(var(--pg-blue), .06);
}

.pg-timer::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(170, 205, 213, .09);
  border-radius: 50%;
}

.pg-timer-time {
  position: relative;
  z-index: 1;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 400;
  color: rgba(242, 229, 204, .94);
}

.pg-timer-label {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  font-size: .51rem;
  letter-spacing: .19em;
  color: rgba(169, 199, 207, .52);
}

.pg-phone-away {
  margin: 34px auto 0;
  font-size: .7rem;
  letter-spacing: .24em;
  color: rgba(221, 190, 127, .78);
}

.pg-skip-timed { margin-top: 38px; opacity: .5; }

.pg-question-screen .pg-title {
  max-width: 660px;
  font-size: clamp(1.65rem, 4vw, 3rem);
  line-height: 1.12;
}

.pg-helper,
.pg-selection-status {
  margin: 14px 0 0;
  color: rgba(164, 194, 201, .52);
  font-size: .65rem;
}

.pg-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  max-width: 650px;
  margin-top: 28px;
}

.pg-option {
  min-height: 62px;
  padding: 14px 16px;
  text-align: left;
  border: 1px solid rgba(151, 193, 203, .11);
  background: rgba(5, 9, 10, .62);
  color: rgba(201, 221, 225, .72);
  font-size: .62rem;
  line-height: 1.42;
  letter-spacing: .08em;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.pg-option:hover,
.pg-option:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(152, 202, 214, .28);
  color: rgba(236, 246, 248, .92);
}

.pg-option.is-selected {
  border-color: rgba(var(--pg-gold), .52);
  background: linear-gradient(135deg, rgba(var(--pg-gold), .14), rgba(var(--pg-blue), .08));
  color: rgba(248, 236, 215, .98);
  box-shadow: 0 0 24px rgba(var(--pg-gold), .06) inset;
}

.pg-recognition-pulse {
  width: 90px;
  aspect-ratio: 1;
  margin-top: 34px;
  border: 1px solid rgba(var(--pg-gold), .24);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(var(--pg-gold), .12);
  animation: pg-pulse 1.2s ease-out infinite;
}

@keyframes pg-pulse {
  to { box-shadow: 0 0 0 34px rgba(var(--pg-gold), 0); opacity: .65; }
}

.pg-recognition-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 650px;
  margin-top: 30px;
  background: rgba(146, 188, 199, .08);
}

.pg-recognition-field {
  min-height: 98px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(4, 7, 8, .82);
}

.pg-recognition-field span {
  font-size: .52rem;
  letter-spacing: .16em;
  color: rgba(166, 197, 204, .48);
}

.pg-recognition-field strong {
  margin-top: 16px;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(238, 223, 195, .94);
}

.pg-recognition-copy {
  max-width: 650px;
  margin-top: 28px;
}

.pg-recognition-copy p {
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid rgba(151, 193, 203, .08);
  font-size: .84rem;
  line-height: 1.65;
  color: rgba(197, 216, 220, .72);
}

.pg-recognition-copy .pg-recognition-closing {
  margin-top: 8px;
  border-bottom: 0;
  font-family: Georgia, serif;
  font-size: 1.13rem;
  color: rgba(231, 199, 139, .9);
}

@media (max-width: 760px) {
  .perception-game {
    min-height: 78vh;
    margin: -4px -2px;
  }

  .pg-inner { width: min(100% - 30px, 680px); padding: 42px 0 54px; }
  .pg-meta-grid { grid-template-columns: 1fr; }
  .pg-meta-item { min-height: 76px; }
  .pg-chapter-map { grid-template-columns: 1fr 1fr; }
  .pg-chapter { min-height: 88px; }
  .pg-options { grid-template-columns: 1fr; }
  .pg-option { min-height: 56px; }
  .pg-recognition-summary { grid-template-columns: 1fr; }
  .pg-actions { align-items: stretch; flex-direction: column; }
  .pg-button { width: 100%; }
  .pg-text-button { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .pg-button,
  .pg-option { transition: none; }
  .pg-recognition-pulse { animation: none; }
}
