/* src/components/jr/practice/practice.css — SJ2 Practice.
   Every number transcribed from art-source/design-sj2-2026-09-12/screens/SJ2 Practice.dc.html.
   Her screen carries its geometry inline; each declaration moved into a class of the same
   shape and nothing was rounded. */

.jr-p-stage {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--sj-chrome-h);
  bottom: var(--sj-nav-h);
  overflow: hidden;
}

/* Her cream wash over the top of the plate, so the heading reads over the camp. */
.jr-p-scrim {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 186px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 253, 248, .9) 0%, rgba(255, 253, 248, .66) 46%, rgba(255, 253, 248, 0) 100%);
}

.jr-p-body {
  position: relative;
  box-sizing: border-box;
  height: 100%;
  padding: 16px 34px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------------------------------------------------------------- the head */
.jr-p-head { flex: none; }

.jr-p-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  padding: 8px 16px;
  border: 1px solid var(--sj-line);
  border-radius: var(--sj-r-pill);
  background: var(--sj-card);
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--sj-ink);
}

.jr-p-eyebrow-dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sj-sky);
}

.jr-p-heading {
  margin: 0 0 6px;
  width: fit-content;
  border-radius: 18px;
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.04;
  color: var(--sj-ink);
}

.jr-p-sub {
  margin: 0;
  width: fit-content;
  border-radius: 14px;
  font-size: 21px;
  font-weight: 600;
  color: #22322a;
}

/* Her headPad / headShift pair, which only apply once the child is in a painted world.
   The 14px of padding and the -14px of margin cancel, so the words do not move; what the
   pair is for is the plate she can put behind them. */
.jr-p-head-plated .jr-p-heading { padding: 6px 14px; margin-left: -14px; }
.jr-p-head-plated .jr-p-sub { padding: 4px 14px; margin-left: -14px; }

/* ---------------------------------------------------------------- the hero */
.jr-p-hero {
  position: relative;
  flex: none;
  height: 286px;
}

.jr-p-hero-card {
  box-sizing: border-box;
  width: 1000px;
  height: 100%;
  padding: 16px;
  border: 2px solid #c3dda9;
  border-radius: var(--sj-r-panel);
  background: var(--sj-card);
  box-shadow: 0 14px 32px rgba(35, 50, 44, .16);
  display: flex;
  gap: 22px;
  align-items: stretch;
}

.jr-p-hero-art {
  position: relative;
  flex: 0 0 288px;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: var(--sj-sand);
}

.jr-p-hero-img {
  position: absolute;
  inset: 0;
  display: block;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.jr-p-hero-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 6px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jr-p-pick {
  align-self: flex-start;
  padding: 7px 15px;
  border: 1px solid #c3dda9;
  border-radius: var(--sj-r-pill);
  background: var(--sj-green-tint);
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--sj-green-ink);
}

.jr-p-hero-title {
  margin: 0;
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.08;
  color: var(--sj-ink);
}

.jr-p-chips { display: flex; gap: 10px; flex-wrap: wrap; }

.jr-p-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: var(--sj-r-pill);
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 17px;
}

.jr-p-chip-cards {
  color: var(--sj-green-ink);
  background: var(--sj-green-tint);
  border: 1px solid #c3dda9;
}

.jr-p-chip-clock {
  color: var(--sj-sky-ink);
  background: var(--sj-teal-tint);
  border: 1px solid #c7e3f3;
}

.jr-p-hero-gap { flex: 1 1 auto; min-height: 4px; }

/* Her one primary, taller and rounder than the shared .jr-cta: 64px and a 20px radius.
   That clears the 64px child-control floor, which the chrome pills deliberately do not. */
.jr-p-cta {
  align-self: flex-start;
  min-height: 64px;
  padding: 0 32px;
  border: none;
  border-radius: 20px;
  font-size: 24px;
  gap: 12px;
  box-shadow: 0 5px 0 var(--sj-orange-deep), 0 10px 20px rgba(181, 69, 10, .18);
}
.jr-p-cta:hover { transform: none; box-shadow: 0 5px 0 var(--sj-orange-deep), 0 10px 20px rgba(181, 69, 10, .18); }
.jr-p-cta:active { transform: translateY(5px); box-shadow: 0 0 0 var(--sj-orange-deep), 0 4px 10px rgba(181, 69, 10, .2); }

/* Rover leans on the right end of the hero row. */
.jr-p-rover {
  position: absolute;
  right: 22px;
  bottom: 0;
  width: 330px;
  height: 290px;
  pointer-events: none;
}

.jr-p-rover-art {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  width: 300px;
  height: 290px;
  object-fit: contain;
  object-position: bottom right;
}

/* ---------------------------------------------------------------- choose another */
.jr-p-another {
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.jr-p-another-title {
  margin: 0;
  padding: 8px 24px;
  border: 1px solid var(--sj-line);
  border-radius: var(--sj-r-pill);
  background: var(--sj-card);
  box-shadow: 0 4px 12px rgba(35, 50, 44, .14);
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 28px;
  color: var(--sj-ink);
}

.jr-p-grid {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.jr-p-card {
  min-width: 0;
  padding: 11px 11px 14px;
  border: 2px solid var(--sj-line);
  border-radius: 22px;
  background: var(--sj-card);
  box-shadow: 0 10px 24px rgba(35, 50, 44, .14);
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-decoration: none;
  transition: transform 120ms cubic-bezier(.2, .75, .25, 1), box-shadow 120ms cubic-bezier(.2, .75, .25, 1);
}
.jr-p-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(35, 50, 44, .18); }

.jr-p-card-art {
  position: relative;
  display: block;
  height: 104px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--sj-sand);
}

.jr-p-card-img {
  position: absolute;
  inset: 0;
  display: block;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.jr-p-card-title {
  display: block;
  padding: 0 4px;
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.14;
  color: var(--sj-ink);
  text-wrap: pretty;
}

.jr-p-card-state {
  align-self: flex-start;
  margin: 0 4px;
  padding: 6px 13px;
  border: 1px solid var(--sj-line-warm);
  border-radius: var(--sj-r-pill);
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 15px;
}

.jr-p-card-hint {
  display: block;
  margin: auto 4px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--sj-ink);
  text-wrap: pretty;
}
