/* Sexual repression lesson. All rules scoped under .srp-* */
.srp-sc { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.srp-sc.srp-full { flex: 1; min-height: 0; justify-content: center; }

/* the white bear and the bell */
.srp-stage { position: relative; width: 100%; max-width: 380px; flex: 1; min-height: 300px; max-height: 470px; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 50% 38%, #2b3560, #141a33 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.srp-bear { position: absolute; left: 50%; top: 50%; width: 52%; max-width: 200px; transform: translate(-50%, -260%); opacity: 0; transition: opacity .5s; }
.srp-stage.drop .srp-bear { animation: srp-drop .7s cubic-bezier(.3, 1.4, .5, 1) forwards; }
@keyframes srp-drop { from { transform: translate(-50%, -260%); opacity: 1; } to { transform: translate(-50%, -50%); opacity: 1; } }
.srp-stage.run .srp-bear { animation: none; transform: translate(-50%, -50%); opacity: 0; }
.srp-timer, .srp-bell, .srp-count { display: none; }
.srp-stage.run .srp-timer, .srp-stage.run .srp-bell, .srp-stage.run .srp-count { display: flex; }
.srp-timer { position: relative; width: 96px; height: 96px; align-items: center; justify-content: center; }
.srp-timer svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.srp-timer circle { fill: none; stroke-width: 8; }
.srp-timer .t0 { stroke: rgba(255, 255, 255, .12); }
.srp-timer .t1 { stroke: var(--violet-bright); stroke-dasharray: 339.3; stroke-dashoffset: 0; stroke-linecap: round; }
.srp-timer b { font: 800 30px var(--sans); color: var(--text); }
.srp-bell { width: 120px; height: 120px; border-radius: 50%; border: 3px solid #ffe09a; background: radial-gradient(circle at 40% 35%, #ffd877, #e0a12a); align-items: center; justify-content: center; padding: 0; box-shadow: 0 10px 28px rgba(0, 0, 0, .45), inset 0 2px 0 rgba(255, 255, 255, .5); }
.srp-bell svg { width: 58px; height: 58px; fill: #6a3f05; }
.srp-bell.ding svg { animation: srp-ding .45s ease-out; }
@keyframes srp-ding { 20% { transform: rotate(-18deg); } 45% { transform: rotate(14deg); } 70% { transform: rotate(-8deg); } 100% { transform: rotate(0); } }
.srp-bell:disabled { opacity: .55; }
.srp-count { font: 800 18px var(--sans); color: var(--gold); margin: 0; }
.srp-stage.done .srp-timer .t1 { stroke: var(--mint); }

/* the lab */
.srp-lab { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.srp-min { display: flex; align-items: center; gap: 12px; }
.srp-min img { width: 84px; height: auto; }
.srp-min span { font: 600 16px var(--sans); color: var(--dim); max-width: 140px; }
.srp-min b { display: block; font: 800 24px var(--sans); color: var(--text); }
.srp-bells { display: flex; gap: 10px; }
.srp-bells i { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffd877, #e0a12a); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); animation: srp-pop .4s ease-out both; }
.srp-bells i:nth-child(2) { animation-delay: .25s; } .srp-bells i:nth-child(3) { animation-delay: .5s; } .srp-bells i:nth-child(4) { animation-delay: .75s; } .srp-bells i:nth-child(5) { animation-delay: 1s; }
@keyframes srp-pop { from { opacity: 0; transform: scale(.4); } }
.srp-lab small { font: 700 13px var(--sans); color: var(--faint); letter-spacing: .3px; }

/* the checker */
.srp-sign { position: relative; width: 170px; height: 170px; border-radius: 50%; border: 10px solid var(--gold); display: flex; align-items: center; justify-content: center; overflow: hidden; background: #1c2342; box-sizing: border-box; transition: border-color .5s; }
.srp-sign img { width: 72%; height: auto; }
.srp-sign i { position: absolute; left: 50%; top: 50%; width: 120%; height: 10px; margin: -5px 0 0 -60%; background: var(--gold); transform: rotate(-40deg); border-radius: 5px; }
.srp-note { margin: 0; font: 700 15px var(--sans); color: var(--dim); }

/* Freud */
.srp-photo { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.srp-photo img { width: 170px; height: auto; border-radius: 14px; display: block; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.srp-photo figcaption { font: 600 12.5px var(--sans); color: var(--faint); }

/* footsie */
.srp-table { position: relative; width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.srp-table img { width: 100%; height: auto; display: block; }
.srp-under { padding: 3px 10px; border-radius: 999px; background: rgba(252, 192, 80, .18); border: 1.5px solid rgba(252, 192, 80, .6); font: 700 12.5px var(--sans); color: var(--gold); white-space: nowrap; }

/* the two claims */
.srp-claim { width: 100%; max-width: 340px; min-height: 76px; padding: 12px 16px; border-radius: 18px; border: 2px solid rgba(255, 255, 255, .25); background: var(--raised); color: var(--text); display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; transition: border-color .3s, opacity .3s; }
.srp-claim small { font: 700 11.5px var(--sans); letter-spacing: .5px; text-transform: uppercase; color: var(--faint); }
.srp-claim b { font: 800 17px var(--sans); line-height: 1.25; }
.srp-claim em { font: 800 13px var(--sans); font-style: normal; }
.srp-claim:disabled { opacity: 1; }
.srp-claim.yes { border-color: var(--mint); }
.srp-claim.yes em { color: var(--mint); }
.srp-claim.no { opacity: .6; }
.srp-claim.no em { color: var(--dim); }

/* the friend's texts */
.srp-chat { width: 100%; max-width: 340px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.srp-msg { margin: 0; max-width: 82%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: #2a3150; color: var(--text); font: 600 16px var(--sans); line-height: 1.3; animation: srp-pop .3s ease-out both; }

@media (max-height: 700px) {
  .srp-stage { min-height: 260px; }
  .srp-bell { width: 104px; height: 104px; }
  .srp-photo img { width: 130px; }
  .srp-sign { width: 140px; height: 140px; }
  .srp-table { max-width: 300px; }
}
