/* Erlandia shared practice engine — public 2-minute practices (V3 Phase 6) */
body.pr-body {
  background:
    radial-gradient(circle at 50% -10%, rgba(255,15,99,.10), transparent 32rem),
    radial-gradient(circle at 90% 15%, rgba(255,232,168,.08), transparent 28rem),
    linear-gradient(180deg, var(--erl-cosmic-900), var(--erl-cosmic-1000));
  min-height: 100vh;
}
body.pr-body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: var(--pr-hero, none) center/cover no-repeat;
  opacity: var(--pr-hero-opacity, .12); filter: saturate(.8) brightness(.55);
  transition: opacity 1s ease;
}

.pr-top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 0 clamp(16px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(10,10,36,.92), rgba(5,5,20,.82));
  backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,232,168,.10);
}
.pr-top .erl-brand img { width: 34px; height: 34px; }
.pr-top .erl-brand-word { font-size: 17px; }
.pr-top-right { display: flex; align-items: center; gap: 14px; }
.pr-step { color: #a79db0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.pr-exit { color: #d9d2dc; font-size: 13px; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,232,168,.18); }
.pr-exit:hover { color: #fff; background: rgba(255,232,168,.08); }
.pr-progress { position: fixed; top: 0; left: 0; z-index: 60; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--erl-activation-magenta), var(--erl-canonical-gold-light));
  box-shadow: 0 0 18px rgba(255,15,99,.45); transition: width .45s var(--erl-ease); }

.pr-main { min-height: calc(100vh - 64px); display: flex; align-items: center; padding: 56px clamp(16px, 4vw, 56px) 72px; }
.pr-screen { width: min(1100px, 100%); margin: 0 auto; animation: prFade .5s var(--erl-ease) both; }
.pr-screen--narrow { width: min(820px, 100%); }
@keyframes prFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.pr-screen h1 { font-size: var(--erl-type-scan-lg); line-height: .95; letter-spacing: -.035em; margin: 0 0 20px; }
.pr-screen h2 { font-size: var(--erl-type-scan-sm); line-height: 1; letter-spacing: -.03em; margin: 0 0 16px; }
.pr-screen p { color: #d8d0d6; font-size: 17px; line-height: 1.6; margin: 0 0 16px; }
.pr-screen .erl-lead { color: #eee6ee; }
.pr-micro { color: #a79db0; font-size: 13px; }

.pr-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.pr-hero-visual { position: relative; min-height: 520px; border-radius: 32px; overflow: hidden; box-shadow: var(--erl-shadow-night); background: #171219; }
.pr-hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pr-hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,5,20,.45)); }
.pr-hero-visual figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.pr-hero-visual figcaption small { display: block; color: var(--erl-gold-warm); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 6px; }
.pr-hero-visual figcaption strong { display: block; font-family: "Abhaya Libre", Georgia, serif; font-weight: 600; font-size: 24px; line-height: 1.1; color: #fff7e7; text-shadow: 0 2px 16px #000; }

.pr-card {
  padding: clamp(24px, 4vw, 48px); border-radius: var(--erl-radius-lg);
  border: 1px solid rgba(255,232,168,.16);
  background: radial-gradient(120% 80% at 0% 0%, rgba(200,168,255,.10), transparent 55%), linear-gradient(160deg, rgba(26,13,58,.80), rgba(10,10,36,.92));
  box-shadow: var(--erl-shadow-night), inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(16px);
}
.pr-scenario { margin: 20px 0 24px; padding: 18px 20px; border-left: 2px solid var(--erl-canonical-gold); border-radius: 0 14px 14px 0;
  background: rgba(255,232,168,.06); color: #f3ebe0; font-size: 18px; line-height: 1.55; }
.pr-choices { display: grid; gap: 12px; margin-top: 8px; }
.pr-choice { width: 100%; text-align: left; padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04); color: #f8f2e8; cursor: pointer; transition: .2s var(--erl-ease); font-size: 16px; line-height: 1.5; }
.pr-choice:hover { border-color: rgba(255,232,168,.5); background: rgba(255,232,168,.07); transform: translateY(-1px); }
.pr-choice b { display: block; color: var(--erl-gold-warm); font-size: 12px; letter-spacing: .12em; margin-bottom: 6px; }
.pr-choice.is-correct { border-color: var(--erl-ecosystem-teal); background: rgba(37,187,170,.10); }
.pr-choice.is-wrong { border-color: rgba(255,15,99,.5); background: rgba(255,15,99,.07); }
.pr-choice.is-selected { border-color: var(--erl-canonical-gold); background: rgba(255,232,168,.10); }
.pr-choice[disabled] { cursor: default; opacity: .7; }
.pr-choice.is-correct[disabled], .pr-choice.is-selected[disabled] { opacity: 1; }

.pr-feedback { display: none; margin-top: 22px; padding: 20px 22px; border-radius: 18px; border: 1px solid rgba(255,232,168,.24); background: rgba(255,232,168,.065); }
.pr-feedback.is-show { display: block; animation: prFade .35s var(--erl-ease) both; }
.pr-feedback strong { color: #fff5d3; }
.pr-feedback--wrong { border-color: rgba(255,15,99,.35); background: rgba(255,15,99,.06); }
.pr-quote { font-family: "Abhaya Libre", Georgia, serif; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.12; color: #fff5de; margin: 22px 0 8px; }
.pr-quote em { color: var(--erl-gold-warm); font-style: italic; }

.pr-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 22px; }
.pr-pill { padding: 11px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #efe7db; cursor: pointer; font-size: 14px; transition: .18s var(--erl-ease); }
.pr-pill:hover { border-color: rgba(255,232,168,.5); }
.pr-pill.is-selected { border-color: var(--erl-canonical-gold); background: rgba(255,232,168,.12); color: #fff5d3; }

.pr-situations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 28px; }
.pr-situation { position: relative; min-height: 150px; text-align: left; padding: 20px; border-radius: 20px; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.035); color: #fff; transition: .22s var(--erl-ease); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.pr-situation img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pr-situation.has-image { min-height: 210px; }
.pr-situation.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(5,5,20,.92)); }
.pr-situation > * { position: relative; z-index: 2; }
.pr-situation i { font-style: normal; font-size: 22px; color: var(--erl-gold-warm); }
.pr-situation strong { font-family: "Abhaya Libre", Georgia, serif; font-weight: 600; font-size: 21px; line-height: 1.1; }
.pr-situation span { color: #c9c0cf; font-size: 13px; }
.pr-situation:hover { transform: translateY(-3px); border-color: rgba(255,232,168,.5); }
.pr-situation.is-selected { border-color: var(--erl-canonical-gold); box-shadow: 0 0 0 2px rgba(255,232,168,.35); }

.pr-practice { display: grid; grid-template-columns: .34fr .66fr; gap: 20px; align-items: start; }
.pr-context { padding: 24px; }
.pr-context i { font-style: normal; font-size: 28px; color: var(--erl-gold-warm); display: block; margin-bottom: 8px; }
.pr-context h3 { font-size: 24px; line-height: 1.1; margin: 0 0 8px; }
.pr-context img { border-radius: 16px; margin-bottom: 14px; aspect-ratio: 4/3; object-fit: cover; }
.pr-stepper { display: flex; gap: 6px; margin-bottom: 20px; }
.pr-stepper span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); }
.pr-stepper span.is-on { background: linear-gradient(90deg, var(--erl-canonical-gold-light), var(--erl-activation-magenta)); }

.pr-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.pr-back { color: #b8aec0; font-size: 13px; padding: 8px 4px; background: none; border: 0; cursor: pointer; }
.pr-back:hover { color: #fff; }

.pr-complete { text-align: center; }
.pr-complete .pr-card { max-width: 860px; margin: 0 auto; }
.pr-orb { width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  font-family: "Abhaya Libre", Georgia, serif; font-size: 30px; color: #1d1506;
  background: radial-gradient(circle at 35% 35%, #fff2bd, #d39c30); box-shadow: 0 0 40px rgba(255,232,168,.35); }
.pr-points { list-style: none; padding: 0; margin: 18px auto 22px; max-width: 620px; text-align: left; display: grid; gap: 10px; }
.pr-points li { display: flex; gap: 10px; color: #e6dde3; font-size: 15px; line-height: 1.45; }
.pr-points li::before { content: "◆"; color: var(--erl-canonical-gold); flex: 0 0 auto; }
.pr-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px 0 26px; }
.pr-complete .erl-button-row { justify-content: center; }
.pr-others { margin: 30px auto 0; max-width: 620px; padding-top: 20px; border-top: 1px solid rgba(255,232,168,.14); }
.pr-others small { display: block; color: var(--erl-gold-warm); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.pr-others a { display: inline-block; margin: 4px 6px; color: #d9d2dc; font-size: 14px; border-bottom: 1px solid rgba(255,232,168,.3); }

.pr-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; padding: 18px; color: #8f8699; font-size: 12px; border-top: 1px solid rgba(255,232,168,.08); }

@media (max-width: 960px) {
  .pr-hero { grid-template-columns: 1fr; }
  .pr-hero-visual { min-height: 320px; order: -1; }
  .pr-practice { grid-template-columns: 1fr; }
  .pr-situations { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pr-situations { grid-template-columns: 1fr; }
  .pr-screen h1 { font-size: var(--erl-type-scan-mobile); }
  .pr-step { display: none; }
  .pr-main { padding: 32px 16px 56px; }
}

/* Programmatic focus for screen changes should not paint an outline */
.pr-screen h1:focus, .pr-screen h2:focus { outline: none; }
.pr-hero h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.0; }
@media (max-width: 600px) { .pr-hero h1 { font-size: clamp(34px, 9vw, 44px); } }
