:root {
  --ink: #24151d;
  --muted: #846b77;
  --soft-muted: #aa8f9a;
  --line: rgba(154, 72, 108, 0.15);
  --paper: #fff7f9;
  --panel: rgba(255, 255, 255, 0.9);
  --pink-50: #fff1f6;
  --pink-100: #ffe0eb;
  --pink-200: #ffc1d8;
  --pink-400: #ff70a6;
  --pink-500: #f24d8e;
  --berry: #b91f62;
  --peach: #ffd3c4;
  --cream: #fff6df;
  --mint: #bce8d5;
  --lavender: #e9dcff;
  --sky: #d9ecff;
  --shadow: 0 22px 54px rgba(181, 70, 118, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 6%, rgba(255, 112, 166, 0.24), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(255, 211, 196, 0.42), transparent 30%),
    linear-gradient(145deg, #fff7fb 0%, #fff2f7 46%, #fff9ed 100%);
}

button {
  border: 0;
  font: inherit;
}

.app-shell {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255, 249, 251, 0.86);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 20px 10px;
}

.top-back {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin-top: 8px;
  border: 1px solid rgba(185, 31, 98, 0.18);
  border-radius: 50%;
  color: var(--berry);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(242, 77, 142, 0.12);
  cursor: pointer;
}

.top-back.hidden {
  display: none;
}

.brand {
  margin: 0 0 4px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 29px;
  line-height: 1.13;
}

h2 {
  margin-bottom: 6px;
  font-size: 22px;
  line-height: 1.18;
}

h3 {
  margin-bottom: 8px;
  line-height: 1.2;
}

.header-badge {
  flex: 0 0 auto;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(185, 31, 98, 0.18);
  border-radius: 999px;
  color: var(--berry);
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(242, 77, 142, 0.12);
}

.screen {
  display: none;
  padding-bottom: 110px;
}

.screen.active {
  display: block;
}

#scriptScreen {
  padding-bottom: 34px;
}

.section-head {
  padding: 12px 20px 8px;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.scene-grid,
.style-grid,
.script-list,
.result-grid {
  display: grid;
  gap: 12px;
  padding: 10px 20px 24px;
}

.scene-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.scene-card,
.style-card,
.script-card,
.result-card,
.route-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 32px rgba(185, 31, 98, 0.1);
}

.scene-card,
.style-card {
  position: relative;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
}

.scene-card {
  min-height: 202px;
  padding: 0;
}

.scene-card::before {
  display: none;
}

.scene-card::after {
  display: none;
}

.scene-thumb {
  display: block;
  width: 100%;
  height: 116px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  background: var(--accent);
}

.card-copy {
  display: block;
  padding: 12px;
}

.scene-card h3,
.style-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 9px;
  font-size: 19px;
}

.scene-card p,
.style-card p,
.script-card p,
.result-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.style-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 102px;
  padding: 10px;
}

.style-thumb {
  width: 78px;
  height: 82px;
  border-radius: 8px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  background: var(--accent);
}

.route-summary {
  margin: 10px 20px 4px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 224, 235, 0.82), rgba(255, 255, 255, 0.9)),
    #fff;
}

.route-summary h3 {
  margin-bottom: 7px;
  font-size: 18px;
}

.route-summary p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.prep-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.prep-checks span {
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--berry);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.script-list {
  gap: 14px;
}

.script-card {
  overflow: hidden;
  padding: 0;
}

.sample-photo {
  position: relative;
  height: 228px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(185, 31, 98, 0.08)),
    linear-gradient(180deg, #ffd6e4 0 42%, #fff6df 42% 68%, #967984 68% 100%);
}

.sample-photo::before,
.sample-photo::after {
  content: "";
  position: absolute;
  display: block;
}

.sample-photo::before {
  left: 18px;
  top: 26px;
  width: 32%;
  height: 58%;
  border: 6px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(255, 255, 255, 0.5) 47% 53%, transparent 53%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.12));
}

.sample-photo::after {
  right: 22px;
  bottom: 22px;
  width: 84px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.sample-street {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0 30%, transparent 30%),
    linear-gradient(180deg, #e9dcff 0 46%, #fff7f9 46% 66%, #8a7b92 66% 100%);
}

.sample-street::before {
  left: auto;
  right: 34px;
  top: 0;
  width: 5px;
  height: 100%;
  border: 0;
  background: rgba(255, 255, 255, 0.52);
}

.sample-park {
  background:
    radial-gradient(circle at 18% 18%, rgba(188, 232, 213, 0.92), transparent 28%),
    linear-gradient(180deg, #d9f3e6 0 42%, #fdf7e7 42% 64%, #8aa77e 64% 100%);
}

.sample-park::before {
  left: 28px;
  top: 0;
  width: 14px;
  height: 100%;
  border: 0;
  border-radius: 999px;
  background: rgba(96, 76, 56, 0.46);
}

.sample-sea {
  background:
    linear-gradient(180deg, #d9ecff 0 43%, rgba(255, 255, 255, 0.88) 43% 45%, #b9e6f4 45% 68%, #d7bda8 68% 100%);
}

.sample-sea::before {
  left: 0;
  top: 43%;
  width: 100%;
  height: 3px;
  border: 0;
  background: rgba(185, 31, 98, 0.42);
}

.sample-mall {
  background:
    linear-gradient(115deg, transparent 0 45%, rgba(255, 255, 255, 0.36) 45% 49%, transparent 49%),
    linear-gradient(180deg, #fff0c7 0 42%, #fff7fb 42% 68%, #93868a 68% 100%);
}

.sample-night {
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 246, 196, 0.9), transparent 17%),
    radial-gradient(circle at 25% 22%, rgba(255, 112, 166, 0.55), transparent 19%),
    linear-gradient(180deg, #4b2640 0 46%, #2a1720 46% 100%);
}

.sample-dining {
  background:
    radial-gradient(ellipse at 50% 72%, rgba(255, 246, 223, 0.82), transparent 35%),
    linear-gradient(180deg, #ffd3c4 0 42%, #fff7fb 42% 62%, #8c6f70 62% 100%);
}

.sample-landmark {
  background:
    linear-gradient(90deg, transparent 0 58%, rgba(255, 255, 255, 0.5) 58% 62%, transparent 62%),
    linear-gradient(180deg, #d9ecff 0 44%, #fff6df 44% 66%, #9a8b82 66% 100%);
}

.sample-landmark::before {
  left: 20px;
  top: 28px;
  width: 70px;
  height: 138px;
  border: 0;
  border-radius: 7px 7px 0 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 0 20%, transparent 20% 40%, rgba(255, 255, 255, 0.32) 40% 60%, transparent 60% 80%, rgba(255, 255, 255, 0.32) 80%),
    rgba(185, 31, 98, 0.2);
}

.sample-label,
.sample-caption {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.sample-label {
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  color: #fff;
  background: var(--berry);
}

.sample-caption {
  right: 12px;
  bottom: 12px;
  max-width: 190px;
  padding: 8px 10px;
  color: var(--berry);
  background: rgba(255, 255, 255, 0.82);
  line-height: 1.25;
}

.sample-frame-lines {
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 8px;
}

.sample-frame-lines::before,
.sample-frame-lines::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.42);
}

.sample-frame-lines::before {
  left: 33.333%;
}

.sample-frame-lines::after {
  right: 33.333%;
}

.sample-pose {
  position: absolute;
  z-index: 2;
  left: var(--sample-x, 54%);
  top: 16px;
  width: 148px;
  height: 212px;
  transform: translateX(-50%);
}

.script-top {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 224, 235, 0.68), rgba(255, 255, 255, 0.86));
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 8px;
  border-radius: 50%;
  color: #fff;
  background: var(--pink-500);
  font-size: 14px;
  font-weight: 900;
  vertical-align: middle;
}

.pose-thumb {
  position: relative;
  width: 104px;
  height: 128px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--pink-100);
}

.pose-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  display: block;
}

.sample-trigger {
  cursor: zoom-in;
}

.pose-thumb span {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(185, 31, 98, 0.86);
  font-size: 12px;
  font-weight: 900;
}

.script-top h3 {
  display: flex;
  align-items: center;
  margin: 0 0 7px;
  font-size: 19px;
}

.script-top p {
  color: var(--muted);
}

.task-list {
  display: grid;
  gap: 8px;
  padding: 14px 15px 16px;
}

.task-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 241, 246, 0.72);
}

.task-row strong {
  color: var(--berry);
  font-size: 13px;
}

.task-row span {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.script-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.tag {
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--berry);
  background: rgba(255, 224, 235, 0.74);
  font-size: 12px;
  font-weight: 900;
}

.sticky-actions {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: grid;
  gap: 10px;
  padding: 14px 20px 22px;
  background: linear-gradient(180deg, rgba(255, 249, 251, 0), rgba(255, 249, 251, 0.96) 24%, #fff9fb);
}

.sticky-actions.two {
  grid-template-columns: 1fr 1.32fr;
}

.top-actions {
  display: grid;
  gap: 10px;
  padding: 10px 20px 8px;
}

.top-actions.two {
  grid-template-columns: 1fr 1.32fr;
}

.primary-button,
.secondary-button {
  min-height: 49px;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--berry));
  box-shadow: 0 12px 26px rgba(242, 77, 142, 0.3);
}

.secondary-button {
  color: var(--berry);
  border: 1px solid rgba(185, 31, 98, 0.18);
  background: rgba(255, 255, 255, 0.86);
}

.compact {
  min-height: 42px;
  font-size: 14px;
}

.camera-screen {
  position: relative;
  min-height: calc(100vh - 88px);
  padding-bottom: 0;
  background: #190d15;
}

.camera-stage {
  position: relative;
  min-height: calc(100vh - 174px);
  overflow: hidden;
  background: #2a1521;
}

#cameraVideo,
.camera-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#cameraVideo {
  z-index: 1;
  display: none;
  background: #2a1521;
}

.camera-fallback {
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 244, 226, 0.42), rgba(255, 188, 211, 0.12) 42%, rgba(35, 16, 26, 0.82) 100%),
    linear-gradient(135deg, #f6b7ca 0%, #c98cae 42%, #493047 100%);
}

.camera-fallback.hidden {
  display: none;
}

.bg-window,
.bg-floor,
.bg-light {
  position: absolute;
  display: block;
}

.bg-window {
  top: 9%;
  left: 8%;
  width: 34%;
  height: 56%;
  border: 8px solid rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.2) 48% 52%, transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08));
}

.bg-floor {
  right: -20%;
  bottom: -9%;
  left: -20%;
  height: 33%;
  background: #2c1d25;
  transform: rotate(-4deg);
}

.bg-light {
  top: 18%;
  right: 12%;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(255, 246, 196, 0.7);
  box-shadow: 0 0 50px rgba(255, 225, 166, 0.62);
}

.viewfinder-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.safe-frame {
  position: absolute;
  inset: 10% 8% 18%;
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(242, 77, 142, 0.28);
}

.safe-frame::before,
.safe-frame::after {
  content: "";
  position: absolute;
  left: 33.333%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.safe-frame::after {
  left: 66.666%;
}

.safe-label {
  position: absolute;
  left: 50%;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(185, 31, 98, 0.72);
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 900;
}

.safe-label.top {
  top: -14px;
}

.safe-label.bottom {
  bottom: -14px;
}

.pose-guide {
  --pose-x: 56%;
  --pose-y: 12%;
  --pose-scale: 1;
  position: absolute;
  left: var(--pose-x);
  top: var(--pose-y);
  width: 190px;
  height: 335px;
  opacity: 0.96;
  transform: translateX(-50%) scale(var(--pose-scale));
  transform-origin: top center;
}

.composition-note {
  position: absolute;
  top: 13%;
  left: 18px;
  max-width: 138px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #fff;
  background: rgba(36, 21, 29, 0.68);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.camera-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
}

.glass-button,
.glass-chip,
.camera-top p {
  color: #fff;
  background: rgba(36, 21, 29, 0.44);
  backdrop-filter: blur(14px);
}

.glass-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
}

.glass-chip,
.camera-top p {
  margin: 0;
  padding: 9px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.icon-back {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
}

.icon-back::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.icon-switch {
  display: none;
}

.coach-panel {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  background: rgba(36, 21, 29, 0.78);
  backdrop-filter: blur(16px);
}

.coach-label {
  margin: 0 0 5px;
  color: rgba(255, 230, 239, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.coach-panel h2 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.16;
}

.coach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.say-line,
.model-line,
.avoid-line {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.42;
}

.say-line {
  color: #ffe1eb;
  font-weight: 800;
}

.model-line {
  color: #fff6df;
}

.avoid-line {
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #ffe6ef;
  background: rgba(255, 112, 166, 0.2);
}

.camera-actions {
  display: grid;
  grid-template-columns: 1fr 82px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 20px 20px;
  background: #190d15;
}

.shutter-button {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.shutter-button span {
  width: 62px;
  height: 62px;
  border: 5px solid #190d15;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8ab8, #f24d8e);
}

.shot-choice {
  position: absolute;
  right: 14px;
  bottom: 102px;
  left: 14px;
  z-index: 8;
  padding: 14px;
  border: 1px solid rgba(185, 31, 98, 0.16);
  border-radius: 8px;
  background: rgba(255, 249, 251, 0.96);
  box-shadow: 0 18px 44px rgba(36, 21, 29, 0.18);
}

.shot-choice.hidden {
  display: none;
}

.choice-kicker {
  margin: 0 0 4px;
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
}

.shot-choice h2 {
  margin-bottom: 5px;
  font-size: 20px;
}

.shot-choice p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.choice-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.result-grid {
  gap: 14px;
}

.result-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 13px;
  padding: 12px;
}

.result-photo {
  position: relative;
  min-height: 142px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffd6e4 0 38%, #fff6df 38% 66%, #9b7b82 66% 100%);
}

.result-photo::before {
  content: "";
  position: absolute;
  left: 48%;
  top: 42px;
  width: 22px;
  height: 76px;
  border-radius: 14px 14px 8px 8px;
  background: #2a1720;
  box-shadow:
    0 -18px 0 -5px #2a1720,
    -15px 29px 0 -8px #2a1720,
    16px 31px 0 -8px #2a1720;
}

.result-photo::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 14px;
  width: 72px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
}

.photo-2 {
  background: linear-gradient(180deg, #e6dcff 0 42%, #ffe9d6 42% 70%, #8e7f8c 70% 100%);
}

.photo-3 {
  background: linear-gradient(180deg, #d9ecff 0 39%, #ffe0eb 39% 68%, #8a767d 68% 100%);
}

.score {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--berry);
  background: var(--pink-100);
  font-size: 12px;
  font-weight: 900;
}

.result-card h3 {
  margin: 0 0 7px;
  font-size: 18px;
}

.result-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 30;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(36, 21, 29, 0.92);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.sample-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: end center;
  padding: 18px;
}

.sample-modal.hidden {
  display: none;
}

.sample-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 21, 29, 0.58);
  backdrop-filter: blur(10px);
}

.sample-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  overflow: hidden;
  border-radius: 18px;
  background: #fff9fb;
  box-shadow: 0 24px 70px rgba(36, 21, 29, 0.28);
}

.sample-close {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: rgba(36, 21, 29, 0.52);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.sample-view {
  position: relative;
  height: min(64vh, 560px);
  min-height: 390px;
  overflow: hidden;
  background: var(--pink-100);
}

.sample-view img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.sample-grid-overlay {
  position: absolute;
  inset: 16px;
  border: 1.5px dashed rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  box-shadow: 0 0 0 999px rgba(36, 21, 29, 0.04);
}

.sample-grid-overlay span {
  position: absolute;
  background: rgba(255, 255, 255, 0.72);
}

.sample-grid-overlay span:nth-child(1),
.sample-grid-overlay span:nth-child(2) {
  top: 0;
  bottom: 0;
  width: 1.5px;
  border-left: 1.5px dashed rgba(255, 255, 255, 0.84);
  background: transparent;
}

.sample-grid-overlay span:nth-child(1) {
  left: 33.333%;
}

.sample-grid-overlay span:nth-child(2) {
  left: 66.666%;
}

.sample-grid-overlay span:nth-child(3),
.sample-grid-overlay span:nth-child(4) {
  left: 0;
  right: 0;
  height: 1.5px;
  border-top: 1.5px dashed rgba(255, 255, 255, 0.84);
  background: transparent;
}

.sample-grid-overlay span:nth-child(3) {
  top: 33.333%;
}

.sample-grid-overlay span:nth-child(4) {
  top: 66.666%;
}

.sample-focus-box {
  position: absolute;
  top: 21%;
  width: 34%;
  height: 58%;
  border: 3px solid rgba(255, 112, 166, 0.96);
  border-radius: 999px 999px 18px 18px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.72),
    0 12px 30px rgba(36, 21, 29, 0.22);
}

.sample-focus-box.focus-left {
  left: 16%;
}

.sample-focus-box.focus-center {
  left: 50%;
  transform: translateX(-50%);
}

.sample-focus-box.focus-right {
  right: 16%;
}

.sample-focus-box.focus-full {
  top: 12%;
  left: 50%;
  width: 42%;
  height: 76%;
  transform: translateX(-50%);
}

.sample-focus-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(185, 31, 98, 0.86);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.sample-copy {
  padding: 16px 18px 18px;
}

.sample-kicker {
  margin: 0 0 4px;
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
}

.sample-copy h2 {
  margin-bottom: 8px;
}

.sample-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (min-width: 700px) {
  body {
    padding: 28px 0;
  }

  .app-shell {
    min-height: calc(100vh - 56px);
    border-radius: 28px;
  }
}

@media (max-width: 370px) {
  .scene-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 25px;
  }

  .coach-grid {
    grid-template-columns: 1fr;
  }

  .coach-panel h2 {
    font-size: 20px;
  }
}
