/* Creative + business career presentations ----------------------------- */

.creative-game-shell {
  --creative-ink: #31152c;
  --creative-purple: #6a3e91;
  --creative-pink: #c23c7c;
  --creative-blue: #315f91;
  --creative-green: #087968;
  --creative-gold: #efbc4f;
}

.creative-game-shell button {
  min-width: 48px;
  min-height: 48px;
  touch-action: manipulation;
}

.creative-experience {
  margin-block: 0.9rem;
  padding: clamp(0.75rem, 2vw, 1rem);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid color-mix(in srgb, var(--beta-accent) 28%, white);
  border-radius: 18px;
  box-shadow: 0 7px 20px rgba(54, 27, 57, 0.09);
}

.creative-scene-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.creative-scene-heading small {
  color: var(--beta-accent);
  font-size: 0.65rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.creative-scene-heading h3 {
  margin: 0.08rem 0 0;
  color: var(--beta-accent-dark);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  line-height: 1.1;
}

.creative-scene-heading > span {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 0.38rem 0.62rem;
  color: var(--beta-accent-dark);
  background: var(--beta-soft);
  border: 2px solid color-mix(in srgb, var(--beta-accent) 35%, white);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
}

/* Shared sequence, matching, inspection, and control surfaces */

.creative-sequence-dock,
.creative-control-bank,
.creative-match-board,
.creative-inspect-rack {
  margin-top: 0.75rem;
  padding: 0.68rem;
  color: var(--beta-accent-dark);
  background: color-mix(in srgb, var(--beta-soft) 68%, white);
  border: 2px solid color-mix(in srgb, var(--beta-accent) 24%, white);
  border-radius: 14px;
}

.creative-sequence-dock h4,
.creative-control-bank h4,
.creative-match-board h4 {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
}

.creative-sequence-dock > ol {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.45rem;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  list-style: none;
}

.creative-sequence-dock > ol > li {
  display: grid;
  min-width: 0;
  min-height: 94px;
  place-items: center;
  align-content: center;
  gap: 0.3rem;
  padding: 0.48rem;
  background: white;
  border: 2px dashed color-mix(in srgb, var(--beta-accent) 45%, white);
  border-radius: 11px;
  text-align: center;
}

.creative-sequence-dock > ol > li.is-filled {
  background: color-mix(in srgb, var(--beta-support) 11%, white);
  border-color: var(--beta-support);
  border-style: solid;
}

.creative-sequence-dock > ol > li > span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: white;
  background: var(--beta-accent-dark);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 950;
}

.creative-sequence-dock > ol button {
  width: 48px;
  min-width: 48px !important;
  min-height: 48px !important;
  padding: 0;
  color: var(--beta-accent-dark);
  background: white;
  border: 2px solid var(--beta-accent);
  border-radius: 50%;
  font-weight: 950;
}

.creative-token-rack {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  margin-top: 0.55rem;
}

.creative-token-rack button,
.creative-match-item,
.creative-match-slot,
.creative-inspect-rack button,
.creative-control-bank fieldset button {
  min-width: 0;
  color: var(--beta-accent-dark);
  background: white;
  border: 2px solid var(--beta-accent);
  border-radius: 11px;
  box-shadow: 0 3px 0 color-mix(in srgb, var(--beta-accent-dark) 22%, transparent);
  font-weight: 850;
}

.creative-token-rack button {
  display: grid;
  min-height: 76px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem;
  text-align: left;
}

.creative-token-rack button > span {
  font-size: 1.3rem;
}

.creative-match-board {
  display: grid;
  align-items: start;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.creative-match-board > div {
  display: grid;
  min-width: 0;
  gap: 0.4rem;
}

.creative-match-item,
.creative-match-slot,
.creative-inspect-rack button {
  display: grid;
  min-height: 82px;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0.12rem 0.5rem;
  padding: 0.55rem;
  text-align: left;
}

.creative-match-item > span,
.creative-match-slot > span,
.creative-inspect-rack button > span {
  grid-row: 1 / -1;
  font-size: 1.35rem;
}

.creative-match-item small,
.creative-match-slot small,
.creative-inspect-rack small {
  opacity: 0.74;
}

.creative-match-item.is-selected,
.creative-inspect-rack button.is-selected,
.creative-control-bank fieldset button.is-selected {
  color: white;
  background: var(--beta-support-dark);
  border-color: var(--beta-support-dark);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--beta-support) 20%, transparent);
}

.creative-match-item.is-assigned:not(.is-selected),
.creative-match-slot.is-filled {
  color: var(--beta-support-dark);
  background: color-mix(in srgb, var(--beta-support) 12%, white);
  border-color: var(--beta-support);
}

.creative-inspect-rack {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.creative-control-bank > div {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.creative-control-bank fieldset {
  min-width: 0;
  margin: 0;
  padding: 0.58rem;
  background: white;
  border: 2px solid color-mix(in srgb, var(--beta-accent) 28%, white);
  border-radius: 11px;
}

.creative-control-bank legend {
  padding-inline: 0.25rem;
  font-size: 0.76rem;
  font-weight: 900;
}

.creative-control-bank fieldset > div {
  display: grid;
  gap: 0.35rem;
}

.creative-control-bank fieldset button {
  min-height: 44px;
  padding: 0.35rem 0.45rem;
  box-shadow: none;
  font-size: 0.7rem;
}

.creative-token-rack button:hover,
.creative-match-item:not(:disabled):hover,
.creative-match-slot:not(:disabled):hover,
.creative-inspect-rack button:hover,
.creative-control-bank fieldset button:hover {
  color: white;
  background: var(--beta-accent);
  transform: translateY(-1px);
}

/* 1. Entrepreneur: startup pitch room */

.pitch-room-stage {
  position: relative;
  display: grid;
  min-height: 220px;
  grid-template-columns: minmax(80px, 0.45fr) minmax(220px, 1.2fr) minmax(110px, 0.6fr);
  align-items: end;
  gap: 0.7rem;
  padding: 1rem;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(#35264f 0 72%, #251d36 72%);
  background-size: 30px 30px, auto;
  border: 4px solid white;
  border-radius: 18px;
  box-shadow: 0 6px 0 rgba(55, 35, 78, 0.25);
}

.pitch-founder {
  position: relative;
  z-index: 1;
  font-size: 3.3rem;
  text-align: center;
}

.pitch-founder i {
  display: block;
  width: 55px;
  height: 8px;
  margin: -0.25rem auto 0;
  background: #171221;
  border-radius: 50%;
}

.pitch-screen {
  align-self: stretch;
  padding: 0.8rem;
  color: #2e1840;
  background: #fff9e7;
  border: 8px solid #181222;
  border-radius: 10px;
  box-shadow: inset 0 0 0 2px #bea0d0;
}

.pitch-screen small,
.pitch-screen strong {
  display: block;
}

.pitch-screen small {
  color: #745582;
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.pitch-screen strong {
  margin-block: 1rem;
  font-size: clamp(1.1rem, 3vw, 1.55rem);
}

.pitch-screen > div {
  display: flex;
  gap: 0.35rem;
}

.pitch-screen i {
  width: 32%;
  height: 12px;
  background: #ddd1df;
  border-radius: 999px;
}

.pitch-screen i.is-on {
  background: #32a080;
}

.pitch-audience {
  display: flex;
  justify-content: center;
  gap: 0.1rem;
  padding-bottom: 0.4rem;
  font-size: 2rem;
}

/* 2. Commercial drone pilot: survey map */

.drone-map {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  color: #183f3b;
  background:
    linear-gradient(20deg, transparent 47%, rgba(255, 255, 255, 0.28) 48% 52%, transparent 53%),
    linear-gradient(110deg, #9dcf8a 0 50%, #76bca9 51% 67%, #d5bd7c 68%);
  background-size: 90px 90px, auto;
  border: 4px solid #f8f3e3;
  border-radius: 18px;
  box-shadow: inset 0 0 0 2px #3d7164;
}

.drone-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.drone-map svg path {
  fill: none;
  stroke: #fff;
  stroke-dasharray: 9 7;
  stroke-width: 4;
}

.drone-no-fly {
  position: absolute;
  z-index: 1;
  top: 0.7rem;
  right: 0.7rem;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  align-content: center;
  color: #7e2632;
  background: rgba(255, 242, 242, 0.9);
  border: 4px double #a83d49;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 950;
  text-align: center;
}

.drone-field {
  position: absolute;
  right: 15%;
  bottom: 16%;
  display: grid;
  grid-template-columns: repeat(2, 54px);
  gap: 4px;
  transform: rotate(-11deg);
}

.drone-field i {
  height: 35px;
  background: repeating-linear-gradient(90deg, #d8ad5b 0 5px, #b88d42 5px 9px);
}

.drone-aircraft {
  position: absolute;
  z-index: 3;
  left: calc(8% + var(--drone-step, 0) * 17%);
  top: calc(68% - var(--drone-step, 0) * 12%);
  filter: drop-shadow(0 7px 3px rgba(29, 52, 48, 0.3));
  font-size: 2.8rem;
  transition: left 350ms ease, top 350ms ease;
}

.drone-survey-map[data-stage="0"] { --drone-step: 0; }
.drone-survey-map[data-stage="1"] { --drone-step: 1; }
.drone-survey-map[data-stage="2"] { --drone-step: 2; }
.drone-survey-map[data-stage="3"] { --drone-step: 3; }
.drone-survey-map[data-stage="4"] { --drone-step: 4; }

.drone-checkpoints {
  position: absolute;
  z-index: 2;
  inset: 0.6rem 0.8rem auto;
  display: flex;
  max-width: calc(100% - 7rem);
  justify-content: space-between;
  gap: 0.35rem;
}

.drone-checkpoints > span {
  display: grid;
  min-width: 54px;
  place-items: center;
  padding: 0.3rem;
  color: #345a54;
  background: rgba(255, 255, 255, 0.76);
  border: 2px solid #5f8d81;
  border-radius: 10px;
  font-size: 1.1rem;
}

.drone-checkpoints b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: white;
  background: #496e66;
  border-radius: 50%;
  font-size: 0.62rem;
}

.drone-checkpoints small {
  font-size: 0.52rem;
  font-weight: 900;
  text-transform: uppercase;
}

.drone-checkpoints > span.is-ready {
  color: white;
  background: #087968;
  border-color: white;
}

.drone-telemetry {
  position: absolute;
  right: 0.7rem;
  bottom: 0.6rem;
  padding: 0.35rem 0.5rem;
  color: #d7fff8;
  background: rgba(13, 52, 49, 0.86);
  border-radius: 8px;
  font: 800 0.65rem ui-monospace, monospace;
}

/* 3. Content creator: camera safety studio */

.creator-studio-set {
  display: grid;
  min-height: 230px;
  grid-template-columns: minmax(90px, 0.5fr) minmax(220px, 1.3fr) minmax(70px, 0.35fr);
  align-items: center;
  gap: 0.7rem;
  padding: 1rem;
  color: white;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 22%),
    linear-gradient(145deg, #243454, #161e34);
  border: 4px solid white;
  border-radius: 18px;
}

.creator-camera {
  display: grid;
  place-items: center;
  text-align: center;
}

.creator-camera > span {
  font-size: 3rem;
}

.creator-camera > i {
  width: 14px;
  height: 14px;
  background: #7890aa;
  border: 3px solid white;
  border-radius: 50%;
}

.creator-camera > i.is-review {
  background: #f5bd4f;
}

.creator-camera > i.is-ready {
  background: #41c9a7;
}

.creator-camera strong {
  font: 900 0.62rem ui-monospace, monospace;
}

.creator-monitor {
  position: relative;
  display: grid;
  min-height: 180px;
  place-items: center;
  align-content: center;
  gap: 0.35rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(102, 222, 236, 0.12) 1px, transparent 1px),
    #0c1527;
  background-size: 20px 20px;
  border: 7px solid #4a5873;
  border-radius: 12px;
}

.creator-monitor > span {
  font-size: 4rem;
}

.creator-monitor > b {
  color: #83e3ef;
  font: 900 0.62rem ui-monospace, monospace;
}

.creator-monitor > b.is-warning {
  color: #ff8e93;
}

.creator-monitor > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

.creator-monitor i {
  padding: 0.2rem 0.3rem;
  color: #8290a9;
  border: 1px solid #596981;
  border-radius: 5px;
  font: 750 0.52rem ui-monospace, monospace;
}

.creator-monitor i.is-on {
  color: #eefcff;
  background: #26738c;
  border-color: #75d0e1;
}

.creator-shield {
  font-size: 3.6rem;
  text-align: center;
}

/* 4. Cosmetic chemist: formulation bench */

.formula-lab-scene {
  display: grid;
  min-height: 230px;
  grid-template-columns: minmax(120px, 0.7fr) minmax(150px, 0.7fr) minmax(150px, 0.8fr);
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem;
  overflow: hidden;
  background:
    linear-gradient(transparent 70%, #d8b48a 70%),
    linear-gradient(135deg, #edf9ff, #fff0f7);
  border: 4px solid white;
  border-radius: 18px;
  box-shadow: 0 6px 0 rgba(98, 52, 85, 0.14);
}

.formula-bottles {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem;
}

.formula-bottles > span {
  display: grid;
  width: 62px;
  min-height: 98px;
  place-items: center;
  align-content: center;
  padding: 0.35rem;
  color: #6d3458;
  background: rgba(255, 255, 255, 0.88);
  border: 3px solid #bf6b99;
  border-radius: 13px 13px 19px 19px;
  text-align: center;
}

.formula-bottles > span.is-used {
  opacity: 0.46;
  transform: translateY(7px);
}

.formula-bottles b {
  font-size: 1.5rem;
}

.formula-bottles small {
  font-size: 0.58rem;
  font-weight: 850;
}

.formula-beaker {
  position: relative;
  display: grid;
  width: 150px;
  height: 180px;
  place-items: center;
  justify-self: center;
  align-content: end;
  padding-bottom: 0.75rem;
  overflow: hidden;
  color: #662c51;
  background: linear-gradient(transparent 35%, rgba(244, 150, 194, 0.65) 36%);
  border: 7px solid #91b6c8;
  border-top: 2px solid #91b6c8;
  border-radius: 7px 7px 34px 34px;
}

.formula-beaker > i {
  position: absolute;
  bottom: 22%;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.66);
  border-radius: 50%;
  animation: formula-bubble 1.6s ease-in infinite;
}

.formula-beaker > i:nth-child(1) { left: 28%; animation-delay: -0.4s; }
.formula-beaker > i:nth-child(2) { left: 50%; animation-delay: -0.9s; }
.formula-beaker > i:nth-child(3) { left: 70%; animation-delay: -1.2s; }

.formula-beaker strong {
  position: relative;
  z-index: 1;
  font-size: 0.62rem;
  text-align: center;
}

@keyframes formula-bubble {
  from { opacity: 0; transform: translateY(15px) scale(0.6); }
  to { opacity: 1; transform: translateY(-70px) scale(1); }
}

.formula-readout {
  display: grid;
  gap: 0.4rem;
}

.formula-readout span {
  padding: 0.48rem;
  color: #4c3853;
  background: rgba(255, 255, 255, 0.84);
  border: 2px solid #c9aec0;
  border-radius: 9px;
  font-size: 0.66rem;
  font-weight: 800;
}

.formula-readout b {
  display: block;
  margin-top: 0.1rem;
  color: #883b69;
}

/* 5. Cosmetologist: salon station */

.salon-scene {
  display: grid;
  min-height: 240px;
  grid-template-columns: minmax(180px, 1.1fr) minmax(100px, 0.55fr) minmax(100px, 0.55fr);
  align-items: end;
  gap: 0.7rem;
  padding: 0.9rem;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.22) 50%, transparent 51%),
    linear-gradient(#f8e4ef 0 76%, #9d6b57 76%);
  background-size: 56px 56px, auto;
  border: 4px solid white;
  border-radius: 18px;
}

.salon-mirror {
  display: grid;
  min-height: 195px;
  place-items: center;
  align-content: center;
  color: #6b2c53;
  background: linear-gradient(135deg, #fff, #e7f5fb);
  border: 8px solid #c1749e;
  border-radius: 48% 48% 15px 15px;
  box-shadow: inset 0 0 25px rgba(117, 175, 197, 0.2);
}

.salon-mirror > span {
  font-size: 4.5rem;
}

.salon-mirror strong {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.salon-cart {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
  padding: 0.55rem;
  background: #5a4160;
  border: 4px solid white;
  border-radius: 12px;
}

.salon-cart span {
  display: grid;
  height: 45px;
  place-items: center;
  background: #f7edf4;
  border-radius: 8px;
}

.salon-cart span.is-clean {
  box-shadow: 0 0 0 3px #6ad6bd;
}

.salon-cart small {
  grid-column: 1 / -1;
  color: white;
  font-size: 0.52rem;
  font-weight: 900;
  text-align: center;
}

.salon-consult {
  align-self: center;
  padding: 0.7rem;
  color: #74516a;
  background: white;
  border: 3px dashed #b785a5;
  border-radius: 11px;
  font-size: 1.35rem;
  text-align: center;
}

.salon-consult strong {
  display: block;
  font-size: 0.56rem;
}

.salon-consult.is-ready {
  color: white;
  background: #087968;
  border-color: white;
  border-style: solid;
}

/* 6. Film director: active set */

.director-stage {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(ellipse at 38% 0, rgba(255, 244, 188, 0.32), transparent 46%),
    linear-gradient(#171827 0 72%, #4b3540 72%);
  border: 4px solid #d4a54b;
  border-radius: 16px;
}

.director-lights {
  position: absolute;
  top: 0;
  left: 28%;
  display: flex;
  gap: 7rem;
}

.director-lights i {
  width: 2px;
  height: 65px;
  background: #ccc;
}

.director-lights i::after {
  display: block;
  width: 48px;
  height: 26px;
  margin-left: -23px;
  content: "";
  background: #f1bd4f;
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

.director-camera {
  position: absolute;
  z-index: 2;
  bottom: 34px;
  left: 9%;
  font-size: 3.4rem;
}

.director-camera b {
  display: block;
  width: 70px;
  height: 7px;
  margin-left: 10px;
  background: #8d8794;
}

.director-actors {
  position: absolute;
  right: 28%;
  bottom: 38px;
  display: flex;
  gap: 1.5rem;
  font-size: 4rem;
}

.director-actors i {
  position: absolute;
  right: -12px;
  bottom: -8px;
  left: -12px;
  height: 14px;
  border: 3px dashed #7d6f7b;
  border-radius: 50%;
}

.director-actors i.is-ready {
  border-color: #f1bd4f;
}

.director-chair {
  position: absolute;
  right: 5%;
  bottom: 35px;
  color: #f2c968;
  font-size: 0.55rem;
  font-weight: 950;
  text-align: center;
}

.director-chair strong {
  font-size: 2.7rem;
}

.director-monitor {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.55rem;
  color: #8ff4e6;
  background: #071019;
  border: 3px solid #75808c;
  border-radius: 7px;
  font: 850 0.62rem ui-monospace, monospace;
}

/* 7. Film/video editor: timeline suite */

.editing-console {
  display: grid;
  min-height: 290px;
  grid-template-columns: minmax(230px, 1.1fr) minmax(80px, 0.35fr);
  grid-template-rows: minmax(160px, 1fr) auto;
  gap: 0.55rem;
  padding: 0.7rem;
  color: #d9e7f1;
  background: #17202d;
  border: 4px solid #515e6d;
  border-radius: 15px;
}

.editing-monitor {
  display: grid;
  min-height: 165px;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 0.5rem;
  background: #05090f;
  border: 3px solid #626f7d;
  border-radius: 8px;
}

.editing-monitor > div {
  display: grid;
  place-items: center;
}

.editing-monitor span {
  font-size: 3.8rem;
}

.editing-monitor strong {
  font-size: 0.7rem;
}

.editing-monitor small {
  justify-self: start;
  color: #7595aa;
  font: 750 0.52rem ui-monospace, monospace;
}

.editing-scopes {
  display: flex;
  height: 100%;
  align-items: end;
  gap: 2px;
  padding: 0.5rem;
  background: #0c141f;
  border: 2px solid #4a596a;
  border-radius: 7px;
}

.editing-scopes i {
  width: 5%;
  height: var(--h);
  background: linear-gradient(#68d5e3, #8b4fa1);
}

.editing-timeline {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  gap: 0.3rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 1.1rem 0.4rem 0.4rem;
  background: #202b39;
  border-radius: 7px;
}

.editing-timeline > div {
  display: grid;
  min-height: 75px;
  align-content: center;
  gap: 0.15rem;
  padding: 0.35rem;
  overflow: hidden;
  background: #323f50;
  border: 2px dashed #66758a;
  border-radius: 6px;
}

.editing-timeline > div.is-filled {
  color: white;
  background: linear-gradient(135deg, #6b438e, #3a638f);
  border-color: #a9dce3;
  border-style: solid;
}

.editing-timeline small {
  font: 750 0.48rem ui-monospace, monospace;
}

.editing-timeline strong {
  font-size: 0.58rem;
}

.editing-playhead {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: calc(4% + var(--edit-clips, 0) * 23%);
  width: 2px;
  background: #e95c63;
}

.editing-suite[data-clips="0"] { --edit-clips: 0; }
.editing-suite[data-clips="1"] { --edit-clips: 1; }
.editing-suite[data-clips="2"] { --edit-clips: 2; }
.editing-suite[data-clips="3"] { --edit-clips: 3; }
.editing-suite[data-clips="4"] { --edit-clips: 4; }

/* 8. Graphic designer: live poster canvas */

.poster-workspace {
  display: grid;
  min-height: 330px;
  grid-template-columns: minmax(230px, 1fr) minmax(110px, 0.38fr);
  align-items: center;
  gap: 0.7rem;
  padding: 1rem;
  background:
    linear-gradient(rgba(54, 76, 110, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 76, 110, 0.08) 1px, transparent 1px),
    #e9eef7;
  background-size: 18px 18px;
  border: 4px solid white;
  border-radius: 17px;
}

.live-poster {
  position: relative;
  display: grid;
  width: min(100%, 270px);
  min-height: 300px;
  justify-self: center;
  align-content: center;
  gap: 0.55rem;
  padding: 1.15rem;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, #f4bd4e 0 12%, transparent 13%),
    linear-gradient(145deg, #713b94, #c13d7d);
  box-shadow: 0 10px 22px rgba(49, 34, 68, 0.25);
  text-align: left;
}

.live-poster::after {
  position: absolute;
  right: -35px;
  bottom: -30px;
  width: 130px;
  height: 130px;
  content: "";
  border: 17px double rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.live-poster h4 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.05rem;
  line-height: 0.92;
}

.poster-studio[data-headline="medium"] .live-poster h4 { font-size: 1.8rem; }
.poster-studio[data-headline="large"] .live-poster h4 { font-size: 2.7rem; }
.poster-studio[data-contrast="low"] .live-poster p { color: rgba(255, 255, 255, 0.25); }
.poster-studio[data-contrast="medium"] .live-poster p { color: rgba(255, 255, 255, 0.62); }
.poster-studio[data-contrast="high"] .live-poster p { color: white; }
.poster-studio[data-alignment="center"] .live-poster { text-align: center; }
.poster-studio[data-alignment="mixed"] .live-poster h4 { text-align: right; }

.live-poster small,
.live-poster strong,
.live-poster p,
.live-poster > div {
  position: relative;
  z-index: 1;
}

.live-poster small {
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.live-poster p {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
}

.poster-layers {
  display: grid;
  gap: 0.35rem;
}

.poster-layers span {
  padding: 0.45rem;
  color: #334565;
  background: white;
  border: 2px solid #a9bad3;
  border-radius: 7px;
  font-size: 0.68rem;
  font-weight: 800;
}

/* 9. Interior designer: top-down room */

.room-plan-scene {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  color: #4a3a52;
  background:
    linear-gradient(rgba(112, 82, 114, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 82, 114, 0.1) 1px, transparent 1px),
    #f6ecdf;
  background-size: 28px 28px;
  border: 9px solid #754f41;
  border-radius: 8px;
}

.room-door {
  position: absolute;
  bottom: -8px;
  left: 9%;
  width: 88px;
  padding: 0.3rem;
  background: #f6ecdf;
  border: 3px solid #754f41;
  font-size: 0.58rem;
  font-weight: 900;
  text-align: center;
}

.room-path {
  position: absolute;
  bottom: 16%;
  left: 7%;
  display: grid;
  width: 65%;
  height: 60px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem;
  color: #876c78;
  border: 3px dashed #b7999d;
  border-radius: 12px;
}

.room-path > span {
  font-size: 1.8rem;
}

.room-reading,
.room-focus {
  position: absolute;
  display: grid;
  width: 125px;
  min-height: 105px;
  place-items: center;
  align-content: center;
  gap: 0.1rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.72);
  border: 3px dashed #b7999d;
  border-radius: 14px;
  text-align: center;
}

.room-reading {
  top: 10%;
  left: 9%;
}

.room-focus {
  top: 10%;
  right: 8%;
}

.room-reading span,
.room-focus span {
  font-size: 1.55rem;
}

.room-reading small,
.room-focus small,
.room-path small {
  font-size: 0.62rem;
  font-weight: 850;
}

.room-path.is-ready,
.room-reading.is-ready,
.room-focus.is-ready {
  color: #075f52;
  background: rgba(222, 250, 242, 0.9);
  border-color: #27907d;
  border-style: solid;
}

.room-tables {
  position: absolute;
  top: 39%;
  right: 12%;
  display: grid;
  grid-template-columns: repeat(2, 62px);
  gap: 0.5rem;
}

.room-tables i {
  height: 42px;
  background: #b87958;
  border: 3px solid #754f41;
  border-radius: 8px;
}

/* 10. Makeup artist: face chart and camera lighting */

.makeup-stage {
  display: grid;
  min-height: 290px;
  grid-template-columns: minmax(180px, 1fr) minmax(110px, 0.55fr) minmax(120px, 0.6fr);
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.5), transparent 35%),
    linear-gradient(135deg, #f8e7f0, #dddff5);
  border: 4px solid white;
  border-radius: 17px;
}

.makeup-face-chart {
  display: grid;
  min-height: 245px;
  place-items: center;
  align-content: center;
  gap: 0.35rem;
  padding: 0.7rem;
  color: #713957;
  background: #fffdf8;
  border: 3px solid #cf9cad;
  border-radius: 12px;
}

.makeup-face-chart > small {
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.robot-face {
  position: relative;
  width: 135px;
  height: 145px;
  background: #86a08d;
  border: 6px solid #41514a;
  border-radius: 45% 45% 40% 40%;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.18);
}

.makeup-station[data-palette="silver"] .robot-face {
  background: linear-gradient(135deg, #f3f6f8, #8e9eab);
}

.makeup-station[data-palette="sunset"] .robot-face {
  background: linear-gradient(135deg, #ffbb62, #d95d62);
}

.robot-face::before,
.robot-face::after {
  position: absolute;
  top: 45px;
  width: 27px;
  height: 18px;
  content: "";
  background: #69e3ef;
  border: 4px solid #37484a;
  border-radius: 50%;
}

.robot-face::before { left: 22px; }
.robot-face::after { right: 22px; }

.robot-face > span {
  position: absolute;
  right: 30px;
  bottom: 27px;
  left: 30px;
  height: 7px;
  background: #35494c;
  border-radius: 999px;
}

.makeup-tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  padding: 0.65rem;
  color: #6b3b55;
  background: rgba(255, 255, 255, 0.78);
  border: 3px dashed #c18da5;
  border-radius: 12px;
}

.makeup-tools > span {
  display: grid;
  height: 48px;
  place-items: center;
  background: #f5e7ef;
  border-radius: 8px;
  font-size: 1.4rem;
}

.makeup-tools small {
  grid-column: 1 / -1;
  font-size: 0.58rem;
  font-weight: 900;
  text-align: center;
}

.makeup-tools.is-clean {
  border-color: #27907d;
  border-style: solid;
}

.makeup-camera {
  display: grid;
  min-height: 125px;
  place-items: center;
  align-content: center;
  color: #68475c;
  background: rgba(255, 255, 255, 0.75);
  border: 3px solid #b293a8;
  border-radius: 13px;
}

.makeup-camera > span {
  font-size: 2.6rem;
}

.makeup-camera > i {
  width: 14px;
  height: 14px;
  background: #b84a58;
  border-radius: 50%;
}

.makeup-camera strong {
  font-size: 0.55rem;
}

.makeup-camera.is-on {
  color: #075f52;
  box-shadow: 0 0 28px rgba(255, 243, 166, 0.9);
}

.makeup-camera.is-on > i {
  background: #2fc4a5;
}

/* 11. Marketing manager: live campaign dashboard */

.campaign-screen {
  display: grid;
  min-height: 300px;
  grid-template-columns: minmax(180px, 0.8fr) minmax(210px, 1fr);
  grid-template-rows: 1fr auto;
  gap: 0.65rem;
  padding: 0.75rem;
  color: #dcebf8;
  background:
    linear-gradient(rgba(87, 126, 165, 0.13) 1px, transparent 1px),
    #17283c;
  background-size: 24px 24px;
  border: 4px solid #55708e;
  border-radius: 15px;
}

.campaign-preview {
  display: grid;
  align-content: center;
  gap: 0.45rem;
  padding: 0.75rem;
  color: #252347;
  background: linear-gradient(145deg, #f8e8ff, #d9f4ff);
  border-radius: 11px;
}

.campaign-preview small {
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.campaign-preview > span {
  font-size: 2rem;
}

.campaign-preview strong {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
}

.campaign-preview p {
  margin: 0;
  font-size: 0.68rem;
}

.campaign-metrics {
  display: grid;
  gap: 0.4rem;
}

.campaign-metrics article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1fr auto;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem;
  background: #243c56;
  border: 1px solid #577998;
  border-radius: 8px;
  font-size: 0.62rem;
}

.campaign-metrics meter {
  width: 100%;
  accent-color: #46d0b5;
}

.campaign-metrics strong {
  color: #91ead9;
}

.campaign-bars {
  display: flex;
  height: 54px;
  grid-column: 1 / -1;
  align-items: end;
  gap: 0.5rem;
  padding: 0.4rem;
  border-top: 1px solid #52708c;
}

.campaign-bars i {
  width: 18%;
  height: var(--bar);
  background: linear-gradient(#62d6df, #7655a3);
  border-radius: 4px 4px 0 0;
  transition: height 300ms ease;
}

/* 12. Product developer: prototype workshop */

.prototype-bench {
  position: relative;
  display: grid;
  min-height: 280px;
  grid-template-columns: minmax(130px, 0.6fr) minmax(180px, 0.9fr) minmax(95px, 0.4fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem;
  background:
    linear-gradient(transparent 72%, #ae7c56 72%),
    linear-gradient(135deg, #eef6fb, #fff3dc);
  border: 4px solid white;
  border-radius: 17px;
}

.prototype-notes {
  display: grid;
  gap: 0.45rem;
}

.prototype-notes span {
  padding: 0.55rem;
  color: #775235;
  background: #fff1a8;
  border: 2px solid #d0a94e;
  box-shadow: 3px 4px 0 rgba(101, 68, 40, 0.15);
  font-size: 0.67rem;
  font-weight: 800;
  transform: rotate(-2deg);
}

.prototype-notes span:nth-child(2) {
  transform: rotate(2deg);
}

.prototype-notes span.is-ready {
  color: #075f52;
  background: #dff8ef;
  border-color: #5cad9c;
}

.prototype-object {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
  align-content: center;
  gap: 0.2rem;
  color: #4b3d50;
  background: rgba(255, 255, 255, 0.75);
  border: 3px dashed #aa8793;
  border-radius: 18px;
}

.prototype-object > div {
  font-size: 5.4rem;
  filter: drop-shadow(0 6px 3px rgba(82, 55, 66, 0.18));
}

.prototype-object strong {
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}

.prototype-object small {
  font-size: 0.58rem;
}

.prototype-tools {
  display: grid;
  gap: 0.35rem;
}

.prototype-tools span {
  display: grid;
  height: 48px;
  place-items: center;
  background: white;
  border: 2px solid #b698a3;
  border-radius: 8px;
  font-size: 1.4rem;
}

.prototype-test {
  display: grid;
  min-height: 55px;
  grid-column: 1 / -1;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem;
  color: white;
  background: #455a6d;
  border: 3px solid white;
  border-radius: 9px;
}

.prototype-test i {
  height: 12px;
  background: #273746;
  border-radius: 999px;
}

.prototype-test.is-running i {
  background: linear-gradient(90deg, #2bc2a4 0 76%, #273746 77%);
  animation: prototype-test-pulse 1.1s ease-in-out infinite;
}

.prototype-test strong {
  font: 850 0.6rem ui-monospace, monospace;
}

@keyframes prototype-test-pulse {
  50% { filter: brightness(1.35); }
}

@media (max-width: 760px) {
  .pitch-room-stage,
  .creator-studio-set,
  .formula-lab-scene,
  .salon-scene,
  .makeup-stage,
  .prototype-bench {
    grid-template-columns: 1fr;
  }

  .pitch-audience,
  .creator-shield {
    display: none;
  }

  .creative-control-bank > div {
    grid-template-columns: 1fr;
  }

  .formula-lab-scene,
  .salon-scene,
  .makeup-stage {
    min-height: 0;
  }

  .formula-readout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .salon-mirror,
  .makeup-face-chart {
    min-height: 210px;
  }

  .salon-cart,
  .makeup-tools {
    width: min(100%, 280px);
    justify-self: center;
  }

  .prototype-test {
    grid-column: 1;
  }
}

@media (max-width: 580px) {
  .creative-scene-heading {
    flex-direction: column;
  }

  .creative-scene-heading > span {
    align-self: flex-start;
  }

  .creative-match-board,
  .creative-inspect-rack,
  .poster-workspace,
  .campaign-screen,
  .editing-console {
    grid-template-columns: 1fr;
  }

  .creative-sequence-dock > ol,
  .creative-token-rack {
    grid-template-columns: 1fr;
  }

  .drone-checkpoints {
    max-width: calc(100% - 1.2rem);
  }

  .drone-no-fly {
    display: none;
  }

  .drone-checkpoints > span {
    min-width: 0;
  }

  .drone-checkpoints small {
    display: none;
  }

  .editing-scopes {
    display: none;
  }

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

  .poster-layers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .campaign-bars {
    grid-column: 1;
  }

  .formula-readout {
    grid-template-columns: 1fr;
  }

  .room-reading,
  .room-focus {
    width: 105px;
  }

  .room-tables {
    right: 6%;
    grid-template-columns: repeat(2, 48px);
  }
}

@media (pointer: coarse) {
  .creative-game-shell button {
    min-height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .creative-game-shell *,
  .creative-game-shell *::before,
  .creative-game-shell *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  .creative-experience,
  .creative-sequence-dock,
  .creative-control-bank,
  .creative-match-board,
  .creative-inspect-rack,
  .creative-match-item,
  .creative-match-slot,
  .creative-token-rack button,
  .creative-inspect-rack button,
  .creative-control-bank fieldset button {
    border-width: 3px;
  }
}

@media (forced-colors: active) {
  .creative-experience,
  .pitch-room-stage,
  .pitch-screen,
  .drone-map,
  .creator-studio-set,
  .creator-monitor,
  .formula-lab-scene,
  .formula-beaker,
  .salon-scene,
  .salon-mirror,
  .director-stage,
  .editing-console,
  .editing-monitor,
  .poster-workspace,
  .live-poster,
  .room-plan-scene,
  .makeup-stage,
  .makeup-face-chart,
  .campaign-screen,
  .prototype-bench,
  .creative-sequence-dock,
  .creative-control-bank,
  .creative-match-board,
  .creative-inspect-rack {
    color: CanvasText;
    background: Canvas;
    border-color: CanvasText;
    box-shadow: none;
  }

  .creative-match-item,
  .creative-match-slot,
  .creative-token-rack button,
  .creative-inspect-rack button,
  .creative-control-bank fieldset button {
    color: ButtonText;
    background: ButtonFace;
    border-color: ButtonText;
    box-shadow: none;
  }

  .creative-match-item.is-selected,
  .creative-match-slot.is-filled,
  .creative-inspect-rack button.is-selected,
  .creative-control-bank fieldset button.is-selected {
    color: HighlightText;
    background: Highlight;
    border-color: Highlight;
    forced-color-adjust: none;
  }
}
