/* src/components/jr/look/look.css — SJ2 Look ("My look").
   Every number transcribed from art-source/design-sj2-2026-09-12/screens/SJ2 Look.dc.html.
   This screen has no app chrome and no bottom nav: her own 72px bar, and Done. */

.jr-l-stage { position: absolute; inset: 0; overflow: hidden; z-index: 0; }

/* Her wash over the whole plate, so eight faces and three worlds stay readable on top of a
   photograph. It is a lightening wash, never the "global dark overlay" SJ2 Scene forbids. */
.jr-l-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(250, 247, 240, .7) 0%, rgba(250, 247, 240, .45) 40%, rgba(250, 247, 240, .25) 100%);
}

/* ---------------------------------------------------------------- her own bar */
.jr-l-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 72px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
  box-sizing: border-box;
  background: var(--sj-card);
  border-bottom: 1px solid var(--sj-line);
}

.jr-l-back {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sj-stage);
  border: 1px solid var(--sj-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sj-ink);
}

.jr-l-bar-title {
  flex: none;
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 21px;
  color: var(--sj-ink);
}

.jr-l-bar-gap { flex: 1 1 auto; }

.jr-l-saved {
  flex: none;
  padding: 8px 16px;
  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: 16px;
  color: var(--sj-green-ink);
}

/* ---------------------------------------------------------------- the two columns */
.jr-l-body {
  position: absolute;
  left: 0;
  right: 0;
  top: 72px;
  bottom: 0;
  box-sizing: border-box;
  padding: 26px 44px 28px;
  display: flex;
  gap: 26px;
}

.jr-l-left { flex: 0 0 380px; display: flex; flex-direction: column; gap: 14px; }

.jr-l-you {
  flex: 1 1 auto;
  box-sizing: border-box;
  padding: 26px 24px;
  border: 1px solid var(--sj-line);
  border-radius: 26px;
  background: var(--sj-card);
  box-shadow: 0 16px 40px rgba(35, 50, 44, .16);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.jr-l-youlabel {
  margin: 0 0 14px;
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sj-ink);
}

.jr-l-youface {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--sj-card);
  box-shadow: 0 14px 30px rgba(35, 50, 44, .16);
  display: block;
}

.jr-l-youface-img {
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--sj-sand);
  background-size: cover;
  background-position: center;
}

.jr-l-name {
  margin: 18px 0 4px;
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.05;
  color: var(--sj-ink);
}

.jr-l-class { margin: 0 0 18px; font-size: 17px; font-weight: 500; color: var(--sj-ink); }

.jr-l-preview {
  position: relative;
  width: 100%;
  height: 150px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--sj-line);
  background: var(--sj-stage);
}

.jr-l-preview-bg {
  position: absolute;
  inset: 0;
  display: block;
  background-color: var(--sj-sand);
  background-size: cover;
  background-position: center;
}

/* Meadow has no photograph: it is her sky over her grass, the same two-stop wash the world
   tiles use. */
.jr-l-preview-meadow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #bfe3f7 0%, #e8f4fb 45%, #8fd27a 46%, #6fb85f 100%);
}

.jr-l-preview-name {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 6px 12px;
  border-radius: var(--sj-r-pill);
  background: rgba(255, 253, 248, .92);
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 14px;
  color: var(--sj-ink);
}

.jr-l-note {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--sj-ink);
  text-wrap: pretty;
}

.jr-l-done {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 68px;
  border-radius: 20px;
  background: var(--sj-orange);
  color: var(--sj-card);
  box-shadow: 0 5px 0 var(--sj-orange-deep);
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 23px;
  text-decoration: none;
}

/* ---------------------------------------------------------------- the two pickers */
.jr-l-right {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}

.jr-l-panel {
  box-sizing: border-box;
  padding: 22px 26px 24px;
  border: 1px solid var(--sj-line);
  border-radius: var(--sj-r-panel);
  background: var(--sj-card);
  box-shadow: 0 14px 34px rgba(35, 50, 44, .14);
}

.jr-l-panel-who { flex: none; }
.jr-l-panel-world { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }

.jr-l-panel-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }

.jr-l-panel-title {
  margin: 0;
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 26px;
  color: var(--sj-ink);
}

.jr-l-panel-note { font-size: 16px; font-weight: 500; color: var(--sj-ink); }

.jr-l-av-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }

.jr-l-av {
  appearance: none;
  cursor: pointer;
  padding: 8px 8px 10px;
  border-radius: 20px;
  border: 3px solid var(--sj-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 120ms cubic-bezier(.2, .75, .25, 1);
}
.jr-l-av:active { transform: translateY(5px); box-shadow: none !important; }

.jr-l-av-ring {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--sj-card);
  display: block;
}

.jr-l-av-face {
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--sj-sand);
  background-size: cover;
  background-position: center;
}

.jr-l-av-tag { font-family: var(--sj-font); font-weight: 600; font-size: 13px; }

.jr-l-world-grid {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.jr-l-world {
  appearance: none;
  cursor: pointer;
  padding: 0;
  border-radius: 22px;
  background: var(--sj-card);
  border: 3px solid var(--sj-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  min-height: 0;
  transition: transform 120ms cubic-bezier(.2, .75, .25, 1);
}
.jr-l-world:active { transform: translateY(5px); box-shadow: none !important; }

/* The meadow wash is the tile's own floor; a world paints over it. */
.jr-l-world-art {
  position: relative;
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 150px;
  background: linear-gradient(180deg, #bfe3f7 0%, #e8f4fb 45%, #8fd27a 46%, #6fb85f 100%);
}

.jr-l-world-bg {
  position: absolute;
  inset: 0;
  display: block;
  background-color: var(--sj-sand);
  background-size: cover;
  background-position: center;
}

.jr-l-world-anchor,
.jr-l-world-reward,
.jr-l-world-card {
  position: absolute;
  display: block;
  background-color: var(--sj-sand);
  background-size: cover;
  background-position: center;
}
.jr-l-world-anchor { left: 14px; bottom: 4px; width: 104px; height: 104px; }
.jr-l-world-reward { right: 14px; top: 14px; width: 64px; height: 64px; }
.jr-l-world-card { right: 14px; bottom: 8px; width: 80px; height: 80px; }

.jr-l-world-slots {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: var(--sj-r-pill);
  background: rgba(255, 253, 248, .85);
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 13px;
  color: var(--sj-ink);
}

.jr-l-world-yours {
  position: absolute;
  left: 12px;
  top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--sj-r-pill);
  background: var(--sj-green);
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 13px;
  color: var(--sj-card);
}

.jr-l-world-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px 14px;
  width: 100%;
  box-sizing: border-box;
}

.jr-l-world-name {
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 20px;
  color: var(--sj-ink);
}

.jr-l-world-blurb {
  font-size: 15px;
  font-weight: 500;
  color: var(--sj-ink);
  text-wrap: pretty;
}
