:root {
  --pq-ink: #130f18;
  --pq-night: #17131d;
  --pq-panel: rgba(21, 16, 27, 0.92);
  --pq-panel-2: rgba(40, 31, 51, 0.92);
  --pq-line: rgba(255, 148, 32, 0.58);
  --pq-copy: #f7f2e8;
  --pq-muted: #c8bdd0;
  --pq-blue: #4360b2;
  --pq-violet: #784692;
  --pq-magenta: #a22370;
  --pq-orange: #ff7e19;
  --pq-yellow: #ffc727;
  --pq-red: #d9352a;
  --pq-green: #57a447;
  --pq-shadow: rgba(0, 0, 0, 0.46);
}

.printquest-home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 126, 25, 0.55);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(67, 96, 178, 0.18), rgba(162, 35, 112, 0.14)),
    #18121e;
  color: var(--pq-copy);
  box-shadow: 0 14px 32px rgba(19, 15, 24, 0.24);
}

.printquest-home__copy {
  display: grid;
  gap: 4px;
}

.printquest-home__copy strong {
  font-size: 20px;
}

.printquest-home__button {
  padding: 10px 14px;
  border: 1px solid rgba(255, 199, 39, 0.65);
  border-radius: 7px;
  background: linear-gradient(135deg, var(--pq-orange), var(--pq-magenta));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.pq-shell {
  position: relative;
  isolation: isolate;
  width: min(1760px, calc(100vw - 28px));
  max-width: none;
  margin: 0 0 32px 50%;
  transform: translateX(-50%);
  color: var(--pq-copy);
  font-family: Inter, "Trebuchet MS", Verdana, Arial, sans-serif;
}

.pq-shell,
.pq-shell * {
  box-sizing: border-box;
}

.pq-topbar {
  position: absolute;
  top: 14px;
  right: 18px;
  left: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) repeat(4, minmax(82px, auto)) minmax(92px, auto) auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 126, 25, 0.55);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(255, 126, 25, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(13, 14, 20, 0.94), rgba(8, 8, 12, 0.94));
  box-shadow: 0 16px 32px var(--pq-shadow);
}

.pq-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pq-brand img {
  display: block;
  width: min(245px, 72%);
  max-height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 7px 16px rgba(0, 0, 0, 0.42));
}

.pq-brand span {
  flex: 0 0 auto;
  color: var(--pq-yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pq-stat {
  min-width: 88px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 181, 75, 0.35);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(34, 35, 42, 0.82), rgba(8, 8, 12, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 22px rgba(0, 0, 0, 0.32);
}

.pq-stat span {
  display: block;
  color: var(--pq-muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.pq-stat strong {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 19px;
  line-height: 1;
}

.pq-save-status {
  min-width: 92px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 199, 39, 0.45);
  border-radius: 7px;
  background: rgba(8, 7, 12, 0.58);
  color: var(--pq-yellow);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.pq-topbar__button,
.pq-verbs button,
.pq-start-print {
  min-height: 38px;
  border: 1px solid rgba(255, 199, 39, 0.6);
  border-radius: 7px;
  background: linear-gradient(135deg, var(--pq-orange), var(--pq-magenta));
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}

.pq-topbar__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.pq-topbar__button:hover,
.pq-verbs button:hover,
.pq-start-print:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.pq-game {
  position: relative;
  margin-top: 0;
  border: 1px solid rgba(255, 126, 25, 0.5);
  border-radius: 8px;
  overflow: hidden;
  background: #08080b;
  box-shadow: 0 20px 44px var(--pq-shadow);
}

.pq-stage {
  position: relative;
  aspect-ratio: 1672 / 941;
  min-height: 0;
  height: auto;
  overflow: hidden;
  background: var(--pq-night);
  touch-action: manipulation;
}

.pq-room {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 126, 25, 0.18), transparent 18%),
    radial-gradient(circle at 84% 24%, rgba(67, 96, 178, 0.2), transparent 22%),
    linear-gradient(180deg, #302933 0 43%, #25202a 43% 48%, #4b4142 48% 74%, #23202a 74%);
}

.pq-three-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.22)),
    url("../img/scene-clean-branded-v5.png") center center / 100% 100% no-repeat,
    #15111b;
}

.pq-three-canvas {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
}

.pq-concept-scene .pq-three-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 20%, transparent 70%, rgba(0, 0, 0, 0.32)),
    radial-gradient(circle at 50% 48%, transparent 0 52%, rgba(0, 0, 0, 0.28) 100%);
}

.pq-concept-scene .pq-three-canvas {
  display: none;
}

.pq-shell:not(.pq-three-fallback) .pq-room {
  background: #15111b;
}

.pq-shell:not(.pq-three-fallback) .pq-room::before,
.pq-shell:not(.pq-three-fallback) .pq-room::after,
.pq-shell:not(.pq-three-fallback) .pq-parallax,
.pq-shell:not(.pq-three-fallback) .pq-shop-sign,
.pq-shell:not(.pq-three-fallback) .pq-service-board,
.pq-shell:not(.pq-three-fallback) .pq-counter-brand,
.pq-shell:not(.pq-three-fallback) .pq-box,
.pq-shell:not(.pq-three-fallback) .pq-machine,
.pq-shell:not(.pq-three-fallback) .pq-hero,
.pq-shell:not(.pq-three-fallback) .pq-customer,
.pq-shell:not(.pq-three-fallback) .pq-object,
.pq-shell:not(.pq-three-fallback) .pq-printer-light {
  opacity: 0;
  pointer-events: none;
}

.pq-three-fallback .pq-three-stage {
  display: none;
}

.pq-room::before {
  content: "";
  position: absolute;
  inset: 47% 0 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(160deg, #4a4144, #211f27 75%);
  transform: perspective(900px) rotateX(58deg);
  transform-origin: top;
}

.pq-room::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.44)),
    radial-gradient(circle at 48% 0, rgba(255, 210, 129, 0.17), transparent 38%);
}

.pq-parallax--wall {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 58px 58px;
  opacity: 0.9;
}

.pq-shop-sign,
.pq-service-board,
.pq-counter-brand,
.pq-box,
.pq-machine {
  position: absolute;
  z-index: 2;
}

.pq-shop-sign {
  left: 5%;
  top: 4.5%;
  display: grid;
  gap: 6px;
  width: 30%;
  padding: 14px 18px;
  border: 1px solid rgba(255, 126, 25, 0.65);
  border-radius: 8px;
  background: rgba(13, 10, 19, 0.8);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.pq-shop-sign img {
  width: 100%;
  max-height: 50px;
  object-fit: contain;
}

.pq-shop-sign span {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.pq-service-board {
  left: 36%;
  top: 21%;
  display: grid;
  gap: 12px;
  width: 16%;
  padding: 16px;
  border: 1px solid rgba(120, 70, 146, 0.55);
  border-radius: 8px;
  background: rgba(18, 14, 24, 0.72);
}

.pq-service-board span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f6eefb;
  font-size: 13px;
  font-weight: 800;
}

.pq-service-board span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--pq-orange), var(--pq-magenta));
  transform: rotate(45deg);
}

.pq-counter-brand {
  left: 5.2%;
  bottom: 22%;
  width: 23%;
  min-height: 86px;
  padding: 12px 18px;
  border: 1px solid rgba(162, 35, 112, 0.72);
  border-radius: 8px;
  background: rgba(15, 11, 20, 0.72);
  box-shadow: 0 0 28px rgba(255, 126, 25, 0.16);
}

.pq-counter-brand img {
  width: 72%;
  max-height: 76px;
  object-fit: contain;
}

.pq-website-monitor {
  display: none;
}

.pq-machine {
  right: 25%;
  bottom: 25%;
  width: 13%;
  height: 30%;
  border: 3px solid #11151c;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(83, 223, 255, 0.16), rgba(122, 70, 146, 0.12)),
    linear-gradient(90deg, #0b0f17, #222936);
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.04), 0 16px 30px rgba(0, 0, 0, 0.35);
}

.pq-machine::before {
  content: "";
  position: absolute;
  left: 19%;
  right: 19%;
  bottom: 18%;
  height: 20%;
  border-radius: 6px;
  background: rgba(255, 126, 25, 0.7);
  filter: blur(4px);
  opacity: 0.7;
}

.pq-machine--two {
  right: 12%;
  bottom: 26%;
  width: 10%;
  height: 24%;
  opacity: 0.78;
}

.pq-box {
  right: 8%;
  bottom: 12%;
  width: 9%;
  height: 9%;
  border-radius: 3px;
  background: linear-gradient(145deg, #b37b48, #7e512b);
  box-shadow: inset 0 0 0 2px rgba(74, 42, 19, 0.5), 0 10px 20px rgba(0, 0, 0, 0.25);
}

.pq-box img {
  position: absolute;
  left: 10%;
  top: 12%;
  width: 34%;
  opacity: 0.9;
}

.pq-box--two {
  right: 17%;
  bottom: 16%;
  width: 8%;
  height: 8%;
}

.pq-hotspot {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0);
  font-weight: 900;
  cursor: pointer;
  outline: 0;
  transition: transform 140ms ease;
}

.pq-hotspot span {
  position: absolute;
  left: 50%;
  bottom: 10px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 199, 39, 0.55);
  border-radius: 999px;
  background: rgba(13, 10, 19, 0.82);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
  pointer-events: none;
}

.pq-hotspot:hover,
.pq-hotspot:focus-visible {
  transform: translateY(-2px);
}

.pq-hotspot:hover span,
.pq-hotspot:focus-visible span {
  opacity: 1;
  transform: translate(-50%, 0);
}

.pq-hotspot--counter {
  left: 5%;
  bottom: 22%;
  width: 27%;
  height: 34%;
}

.pq-hotspot--computer {
  left: 35%;
  bottom: 23%;
  width: 11%;
  height: 22%;
}

.pq-hotspot--shelf {
  left: 47%;
  bottom: 18%;
  width: 22%;
  height: 62%;
}

.pq-hotspot--printer {
  left: 71%;
  bottom: 24%;
  width: 13%;
  height: 43%;
}

.pq-hotspot--pack {
  right: 4%;
  bottom: 10%;
  width: 18%;
  height: 30%;
}

.pq-hotspot--counter::before,
.pq-hotspot--shelf::before,
.pq-hotspot--pack::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
}

.pq-concept-scene .pq-hotspot::before {
  display: none;
}

.pq-hotspot--counter::before {
  background:
    linear-gradient(180deg, transparent 0 18%, rgba(18, 14, 24, 0.32) 18%),
    linear-gradient(135deg, rgba(67, 96, 178, 0.28), rgba(255, 126, 25, 0.18));
  box-shadow: inset 0 -38px 0 rgba(12, 9, 16, 0.35);
}

.pq-hotspot--shelf::before {
  background:
    radial-gradient(circle at 15% 20%, #fff 0 4%, transparent 4.8%),
    radial-gradient(circle at 31% 20%, var(--pq-blue) 0 4%, transparent 4.8%),
    radial-gradient(circle at 47% 20%, #111 0 4%, transparent 4.8%),
    radial-gradient(circle at 63% 20%, var(--pq-violet) 0 4%, transparent 4.8%),
    radial-gradient(circle at 79% 20%, var(--pq-orange) 0 4%, transparent 4.8%),
    radial-gradient(circle at 15% 41%, var(--pq-red) 0 4%, transparent 4.8%),
    radial-gradient(circle at 31% 41%, #dc6e2b 0 4%, transparent 4.8%),
    radial-gradient(circle at 47% 41%, var(--pq-magenta) 0 4%, transparent 4.8%),
    radial-gradient(circle at 63% 41%, #eee 0 4%, transparent 4.8%),
    radial-gradient(circle at 79% 41%, #111 0 4%, transparent 4.8%),
    radial-gradient(circle at 15% 63%, #111 0 4%, transparent 4.8%),
    radial-gradient(circle at 31% 63%, var(--pq-blue) 0 4%, transparent 4.8%),
    radial-gradient(circle at 47% 63%, #bbb 0 4%, transparent 4.8%),
    radial-gradient(circle at 63% 63%, #74bd36 0 4%, transparent 4.8%),
    radial-gradient(circle at 79% 63%, #d0e24b 0 4%, transparent 4.8%),
    linear-gradient(90deg, transparent 0 3%, rgba(0,0,0,0.3) 3% 5%, transparent 5% 95%, rgba(0,0,0,0.3) 95% 97%, transparent 97%),
    linear-gradient(180deg, #3a3337, #1c181f);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,0.05), 0 16px 25px rgba(0,0,0,0.22);
}

.pq-hotspot--pack::before {
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(255,255,255,0.18) 42% 45%, transparent 45%),
    linear-gradient(180deg, rgba(255, 199, 39, 0.15), rgba(23, 19, 29, 0.2)),
    linear-gradient(135deg, #7a4d30, #2a2122);
}

.pq-hero,
.pq-customer {
  position: absolute;
  z-index: 8;
  width: 52px;
  height: 116px;
  filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.34));
  transition: left 520ms cubic-bezier(0.22, 1, 0.36, 1), bottom 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease, transform 260ms ease;
}

.pq-hero {
  left: 23%;
  bottom: 18%;
}

.pq-customer {
  left: -8%;
  bottom: 21%;
  opacity: 0;
  transform: translateX(-16px);
}

.pq-customer.is-present {
  left: 13%;
  opacity: 1;
  transform: translateX(0);
}

.pq-customer.is-leaving {
  left: -9%;
  opacity: 0;
}

.pq-person__head {
  position: absolute;
  left: 15px;
  top: 2px;
  width: 24px;
  height: 28px;
  border-radius: 44% 44% 48% 48%;
  background: linear-gradient(180deg, #f0bc91, #c87958);
  box-shadow: inset 0 7px 0 rgba(55, 30, 19, 0.45);
}

.pq-person__body {
  position: absolute;
  left: 9px;
  top: 31px;
  width: 35px;
  height: 50px;
  border-radius: 13px 13px 8px 8px;
  background:
    linear-gradient(90deg, transparent 0 44%, rgba(255,126,25,0.9) 44% 50%, transparent 50%),
    linear-gradient(180deg, #201b25, #111018);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.pq-person__logo {
  position: absolute;
  left: 18px;
  top: 44px;
  z-index: 2;
  width: 18px;
  height: 18px;
}

.pq-person__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pq-person__arm,
.pq-person__leg {
  position: absolute;
  display: block;
  transform-origin: top center;
}

.pq-person__arm {
  top: 38px;
  width: 9px;
  height: 43px;
  border-radius: 9px;
  background: linear-gradient(180deg, #1a1720, #c87958 68%);
}

.pq-person__arm--left {
  left: 3px;
  transform: rotate(9deg);
}

.pq-person__arm--right {
  right: 3px;
  transform: rotate(-10deg);
}

.pq-person__leg {
  top: 78px;
  width: 12px;
  height: 40px;
  border-radius: 7px;
  background: linear-gradient(180deg, #242b38, #101217);
}

.pq-person__leg--left {
  left: 13px;
}

.pq-person__leg--right {
  right: 12px;
}

.pq-customer .pq-person__body {
  background:
    linear-gradient(180deg, #b8a18c, #5d6976);
}

.pq-customer .pq-person__arm {
  background: linear-gradient(180deg, #5d6976, #c87958 70%);
}

.pq-shell.pq-concept-scene .pq-hero,
.pq-shell.pq-concept-scene .pq-customer {
  z-index: 6;
  opacity: 0.62;
  pointer-events: none;
  filter:
    drop-shadow(0 12px 10px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 10px rgba(255, 126, 25, 0.16));
  transform-origin: bottom center;
}

.pq-shell.pq-concept-scene .pq-hero {
  left: 13.4%;
  bottom: 31%;
  opacity: 0.38;
  transform: scale(1.38);
}

.pq-shell.pq-concept-scene .pq-customer {
  left: 24%;
  bottom: 22%;
  opacity: 0;
  transform: translateX(-28px) scale(1.5);
}

.pq-shell.pq-concept-scene .pq-customer.is-present {
  left: 31.2%;
  opacity: 0.26;
  transform: translateX(0) scale(1.5);
}

.pq-shell.pq-concept-scene .pq-customer.is-arriving {
  left: 31.2%;
  opacity: 0.3;
  transform: translateX(0) scale(1.5);
}

.pq-shell.pq-concept-scene .pq-customer.is-leaving {
  left: 24%;
  opacity: 0;
  transform: translateX(-28px) scale(1.5);
}

.pq-shell.pq-concept-scene .pq-shop-sign {
  display: grid;
  z-index: 4;
  left: 8%;
  top: 17%;
  width: 23%;
  opacity: 0.82;
  padding: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.pq-shell.pq-concept-scene .pq-shop-sign img {
  max-height: 44px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.68));
}

.pq-shell.pq-concept-scene .pq-counter-brand {
  z-index: 4;
  left: 13.2%;
  bottom: 20.4%;
  width: 7.8%;
  min-height: 0;
  opacity: 0.72;
  padding: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.pq-shell.pq-concept-scene .pq-counter-brand img {
  width: 100%;
  max-height: 54px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.62));
}

.pq-shell.pq-concept-scene .pq-hero {
  left: 18%;
  bottom: 31%;
  opacity: 0.96;
  transform: scale(1.18);
}

.pq-shell.pq-concept-scene .pq-customer {
  left: 25%;
  bottom: 24%;
  opacity: 0;
  transform: translateX(-38px) scale(1.24);
}

.pq-shell.pq-concept-scene .pq-customer.is-present,
.pq-shell.pq-concept-scene .pq-customer.is-arriving {
  left: 31%;
  opacity: 0.94;
  transform: translateX(0) scale(1.24);
}

.pq-shell.pq-concept-scene .pq-hero::before,
.pq-shell.pq-concept-scene .pq-customer::before {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -4px;
  left: -20px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.34), transparent 68%);
  transform: scaleX(0.85);
}

.pq-shell.pq-concept-scene .pq-person__head,
.pq-shell.pq-concept-scene .pq-person__body,
.pq-shell.pq-concept-scene .pq-person__arm,
.pq-shell.pq-concept-scene .pq-person__leg,
.pq-shell.pq-concept-scene .pq-person__logo,
.pq-shell.pq-concept-scene .pq-carry-item {
  animation: pq-concept-breathe 3.8s ease-in-out infinite;
}

.pq-shell.pq-concept-scene .pq-person__head {
  background:
    radial-gradient(circle at 48% 40%, rgba(255, 235, 203, 0.48), transparent 0 38%),
    linear-gradient(180deg, rgba(245, 188, 140, 0.58), rgba(161, 88, 61, 0.5));
}

.pq-shell.pq-concept-scene .pq-person__body {
  background:
    linear-gradient(90deg, transparent 0 43%, rgba(255, 126, 25, 0.46) 43% 50%, transparent 50%),
    linear-gradient(180deg, rgba(32, 30, 36, 0.62), rgba(8, 8, 12, 0.58));
}

.pq-shell.pq-concept-scene .pq-customer .pq-person__body {
  background:
    linear-gradient(180deg, rgba(105, 105, 101, 0.48), rgba(38, 40, 43, 0.54));
}

.pq-shell.pq-concept-scene .pq-person__arm {
  background: linear-gradient(180deg, rgba(20, 19, 24, 0.56), rgba(193, 109, 78, 0.5) 68%);
}

.pq-shell.pq-concept-scene .pq-customer .pq-person__arm {
  background: linear-gradient(180deg, rgba(63, 63, 64, 0.48), rgba(188, 105, 76, 0.46) 70%);
}

.pq-shell.pq-concept-scene .pq-person__leg {
  background: linear-gradient(180deg, rgba(35, 45, 62, 0.58), rgba(9, 10, 13, 0.58));
}

.pq-shell.pq-concept-scene .pq-hero.is-working .pq-person__body,
.pq-shell.pq-concept-scene .pq-hero.is-talking .pq-person__body,
.pq-shell.pq-concept-scene .pq-customer.is-talking .pq-person__body {
  animation: pq-concept-breathe 3.8s ease-in-out infinite, pq-concept-attention 520ms ease-in-out 3;
}

.pq-hero.is-walking .pq-person__leg--left,
.pq-customer.is-arriving .pq-person__leg--left,
.pq-customer.is-leaving .pq-person__leg--left {
  animation: pq-step-left 520ms ease-in-out infinite;
}

.pq-hero.is-walking .pq-person__leg--right,
.pq-customer.is-arriving .pq-person__leg--right,
.pq-customer.is-leaving .pq-person__leg--right {
  animation: pq-step-right 520ms ease-in-out infinite;
}

.pq-hero.is-working .pq-person__arm--right {
  animation: pq-work-arm 560ms ease-in-out 3;
}

.pq-hero.is-talking .pq-person__arm--left,
.pq-customer.is-talking .pq-person__arm--right {
  animation: pq-talk-arm 460ms ease-in-out 3;
}

.pq-hero.is-carrying .pq-carry-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.pq-carry-item {
  position: absolute;
  right: -5px;
  top: 58px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--pq-orange);
  opacity: 0;
  transform: translateY(6px) scale(0.7);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

.pq-object {
  position: absolute;
  left: 78%;
  bottom: 30%;
  z-index: 7;
  width: 42px;
  height: 42px;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 220ms ease, transform 220ms ease;
  box-shadow: 0 12px 18px rgba(0,0,0,0.22);
}

.pq-object.is-visible {
  opacity: 1;
  transform: scale(1);
}

.pq-object--dragon { clip-path: polygon(5% 78%, 22% 35%, 47% 52%, 68% 12%, 75% 53%, 95% 43%, 83% 78%); }
.pq-object--gear { border-radius: 50%; clip-path: polygon(50% 0,61% 27%,90% 14%,73% 43%,100% 50%,73% 57%,90% 86%,61% 73%,50% 100%,39% 73%,10% 86%,27% 57%,0 50%,27% 43%,10% 14%,39% 27%); }
.pq-object--case { border-radius: 7px; }
.pq-object--mini { clip-path: polygon(40% 2%,58% 2%,66% 32%,88% 45%,72% 96%,28% 96%,12% 45%,34% 32%); }

.pq-shell.pq-concept-scene .pq-hero,
.pq-shell.pq-concept-scene .pq-customer {
  width: 150px;
  height: 300px;
  z-index: 8;
  opacity: 1;
  background-repeat: no-repeat;
  background-size: 400% 100%;
  background-position: 0 0;
  filter:
    drop-shadow(0 18px 18px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 10px rgba(255, 126, 25, 0.08));
}

.pq-shell.pq-concept-scene .pq-hero {
  left: 15.8%;
  bottom: 20.2%;
  background-image: url("../img/employee-sprite.png");
  transform: scale(0.72);
}

.pq-shell.pq-concept-scene.pq-employee-female .pq-hero {
  background-image: url("../img/employee-female-sprite.png");
}

.pq-shell.pq-concept-scene .pq-customer {
  left: 25%;
  bottom: 18.8%;
  background-image: url("../img/customer-male-sprite.png");
  opacity: 0;
  transform: translateX(-38px) scale(0.74);
}

.pq-shell.pq-concept-scene .pq-customer.is-present,
.pq-shell.pq-concept-scene .pq-customer.is-arriving {
  left: 29%;
  opacity: 1;
  transform: translateX(0) scale(0.74);
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer--female {
  background-image: url("../img/customer-female-sprite.png");
  filter:
    drop-shadow(0 18px 18px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 10px rgba(255, 126, 25, 0.08));
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer--boy,
.pq-shell.pq-concept-scene .pq-customer.pq-customer--girl {
  bottom: 18%;
  filter:
    saturate(1.12)
    brightness(1.04)
    drop-shadow(0 14px 14px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 8px rgba(255, 126, 25, 0.08));
  transform: translateX(-38px) scale(0.58);
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer--boy.is-present,
.pq-shell.pq-concept-scene .pq-customer.pq-customer--boy.is-arriving,
.pq-shell.pq-concept-scene .pq-customer.pq-customer--girl.is-present,
.pq-shell.pq-concept-scene .pq-customer.pq-customer--girl.is-arriving {
  transform: translateX(0) scale(0.58);
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer--male {
  background-image: url("../img/customer-male-sprite.png");
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer--boy {
  background-image: url("../img/customer-boy-sprite.png");
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer--girl {
  background-image: url("../img/customer-girl-sprite.png");
  filter:
    drop-shadow(0 14px 14px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 8px rgba(255, 126, 25, 0.08));
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer-visual--workshop {
  background-image: url("../img/customer-male-workshop-sprite.png");
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer-visual--creative {
  background-image: url("../img/customer-female-creative-sprite.png");
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer-visual--robotics {
  background-image: url("../img/customer-boy-robotics-sprite.png");
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer-visual--model {
  background-image: url("../img/customer-girl-model-sprite.png");
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer-visual--business {
  background-image: url("../img/customer-male-business-sprite.png");
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer-visual--parent {
  background-image: url("../img/customer-female-parent-sprite.png");
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer-visual--teen-tech {
  background-image: url("../img/customer-boy-teen-sprite.png");
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer-visual--teen-creative {
  background-image: url("../img/customer-girl-teen-sprite.png");
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer-visual--senior-male {
  background-image: url("../img/customer-male-senior-sprite.png");
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer-visual--senior-female {
  background-image: url("../img/customer-female-senior-sprite.png");
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer-visual--child-boy {
  background-image: url("../img/customer-boy-child-sprite.png");
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer-visual--child-girl {
  background-image: url("../img/customer-girl-child-sprite.png");
}

.pq-shell.pq-concept-scene .pq-customer.is-leaving {
  left: 25%;
  opacity: 0;
  transform: translateX(-38px) scale(0.74);
}

.pq-shell.pq-concept-scene .pq-hero.is-walking,
.pq-shell.pq-concept-scene .pq-customer.is-arriving,
.pq-shell.pq-concept-scene .pq-customer.is-leaving {
  background-position: 33.333% 0;
}

.pq-shell.pq-concept-scene .pq-hero.is-working,
.pq-shell.pq-concept-scene .pq-hero.is-talking,
.pq-shell.pq-concept-scene .pq-customer.is-talking {
  background-position: 66.666% 0;
}

.pq-shell.pq-concept-scene .pq-person__head,
.pq-shell.pq-concept-scene .pq-person__body,
.pq-shell.pq-concept-scene .pq-person__arm,
.pq-shell.pq-concept-scene .pq-person__leg,
.pq-shell.pq-concept-scene .pq-person__logo {
  display: none;
  animation: none;
}

.pq-shell.pq-concept-scene .pq-hero::before,
.pq-shell.pq-concept-scene .pq-customer::before {
  right: 8px;
  bottom: -3px;
  left: 8px;
  height: 14px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.38), transparent 70%);
}

.pq-shell.pq-concept-scene .pq-carry-item {
  right: 17px;
  top: 138px;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  animation: none;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.46);
}

.pq-carry-item--spool {
  border: 7px solid currentColor;
  border-radius: 50%;
  background: #101018 !important;
}

.pq-carry-item--gear {
  border-radius: 50%;
  clip-path: polygon(50% 0,61% 27%,90% 14%,73% 43%,100% 50%,73% 57%,90% 86%,61% 73%,50% 100%,39% 73%,10% 86%,27% 57%,0 50%,27% 43%,10% 14%,39% 27%);
}

.pq-carry-item--case {
  border-radius: 7px;
}

.pq-carry-item--mini {
  clip-path: polygon(40% 2%,58% 2%,66% 32%,88% 45%,72% 96%,28% 96%,12% 45%,34% 32%);
}

.pq-carry-item--dragon {
  clip-path: polygon(5% 78%, 22% 35%, 47% 52%, 68% 12%, 75% 53%, 95% 43%, 83% 78%);
}

.pq-shell.pq-concept-scene .pq-object {
  left: 77.8%;
  bottom: 27%;
  z-index: 9;
  width: 50px;
  height: 50px;
}

.pq-printer-light {
  position: absolute;
  right: 24%;
  bottom: 27%;
  z-index: 4;
  width: 11%;
  height: 27%;
  opacity: 0;
  pointer-events: none;
  border-radius: 8px;
  background: repeating-linear-gradient(180deg, rgba(78,220,255,0.46) 0 5px, rgba(255,255,255,0.08) 5px 11px);
  mix-blend-mode: screen;
}

.pq-printer-light.is-printing {
  opacity: 1;
  animation: pq-scan 700ms linear infinite;
}

.pq-action-fx {
  position: absolute;
  z-index: 11;
  left: 50%;
  bottom: 50%;
  min-width: 90px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 199, 39, 0.7);
  border-radius: 999px;
  background: rgba(18, 14, 24, 0.86);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 16px) scale(0.92);
  pointer-events: none;
}

.pq-action-fx.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  transition: opacity 180ms ease, transform 180ms ease;
}

.pq-shell.pq-concept-scene .pq-topbar {
  top: 10px;
  left: 50%;
  right: auto;
  width: min(780px, calc(100% - 28px));
  grid-template-columns: minmax(140px, 1fr) repeat(4, minmax(58px, auto)) auto auto auto;
  transform: translateX(-50%);
  opacity: 0.92;
}

.pq-shell.pq-concept-scene .pq-brand img {
  width: 148px;
}

.pq-shell.pq-concept-scene .pq-brand span,
.pq-shell.pq-concept-scene .pq-stat span {
  font-size: 10px;
}

.pq-shell.pq-concept-scene .pq-stat {
  min-width: 58px;
  padding: 6px 7px;
}

.pq-shell.pq-concept-scene .pq-stat strong {
  font-size: 16px;
}

.pq-order {
  position: absolute;
  z-index: 10;
  top: 100px;
  left: 18px;
  width: min(350px, calc(100% - 36px));
  color: #2b2020;
}

.pq-order__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 7px 7px 0 0;
  border: 1px solid rgba(255, 126, 25, 0.65);
  border-bottom: 0;
  background: linear-gradient(135deg, #161126, #2e1739);
  color: #fff;
  font-weight: 900;
}

.pq-order__card {
  min-height: 188px;
  padding: 14px;
  border: 1px solid rgba(255, 126, 25, 0.72);
  border-radius: 0 8px 8px 8px;
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.96), rgba(237, 225, 205, 0.95));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
  font-size: 15px;
  line-height: 1.4;
}

.pq-order__card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.pq-order__card small {
  display: block;
  margin-top: 5px;
  color: #7d3942;
  font-size: 12px;
  font-weight: 800;
}

.pq-shell.pq-concept-scene .pq-order {
  top: 92px;
  left: 16px;
  width: min(300px, 25vw);
  opacity: 0.94;
}

.pq-shell.pq-concept-scene .pq-order__card {
  min-height: 0;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.28;
}

.pq-shell.pq-concept-scene .pq-order__card strong {
  font-size: 15px;
}

.pq-toast {
  position: absolute;
  z-index: 14;
  left: 18px;
  bottom: 132px;
  max-width: min(650px, calc(100% - 36px));
  padding: 10px 13px;
  border: 1px solid rgba(255, 199, 39, 0.65);
  border-radius: 7px;
  background: rgba(13, 10, 19, 0.9);
  color: #fff;
  font-weight: 800;
}

.pq-guest-hint {
  position: absolute;
  z-index: 14;
  right: 18px;
  bottom: 132px;
  max-width: min(390px, calc(100% - 36px));
  padding: 10px 13px;
  border: 1px solid rgba(255, 199, 39, 0.7);
  border-radius: 7px;
  background: rgba(13, 10, 19, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.pq-guest-hint a {
  color: var(--pq-yellow);
  font-weight: 900;
  text-decoration: none;
}

.pq-console {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 16;
  display: grid;
  grid-template-columns: minmax(390px, 0.95fr) minmax(360px, 0.95fr) minmax(320px, 1.1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 126, 25, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 126, 25, 0.14), rgba(120, 70, 146, 0.18), rgba(255, 126, 25, 0.12)),
    rgba(8, 8, 12, 0.96);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
}

.pq-verbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.pq-verbs button {
  border-color: rgba(255, 126, 25, 0.45);
  background:
    linear-gradient(180deg, rgba(35, 36, 42, 0.92), rgba(10, 10, 14, 0.92));
  font-size: 15px;
}

.pq-verbs button.is-active,
.pq-verbs button:hover {
  background: linear-gradient(135deg, var(--pq-orange), var(--pq-magenta));
  box-shadow: 0 0 0 2px rgba(255, 199, 39, 0.18);
}

.pq-inventory,
.pq-log {
  min-height: 96px;
  padding: 10px;
  border: 1px solid rgba(255, 126, 25, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(28, 24, 34, 0.94), rgba(9, 9, 13, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.26);
}

.pq-inventory__title {
  margin-bottom: 7px;
  color: var(--pq-yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pq-inventory__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pq-item {
  min-width: 78px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  background: rgba(33, 27, 43, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.pq-spool {
  width: 30px;
  height: 30px;
  margin: 0 auto 5px;
  border: 5px solid currentColor;
  border-radius: 50%;
  background: #101018;
  box-shadow: inset 0 0 0 5px rgba(255,255,255,0.18), 0 4px 8px rgba(0,0,0,0.28);
}

.pq-tool-icon {
  width: 30px;
  height: 30px;
  margin: 0 auto 5px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, transparent 42%, #ffc727 42% 58%, transparent 58%),
    linear-gradient(45deg, transparent 42%, #ff7e19 42% 58%, transparent 58%),
    rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 2px rgba(255,199,39,0.35), 0 4px 8px rgba(0,0,0,0.28);
}

.pq-item--repair {
  border-color: rgba(255, 199, 39, 0.45);
}

.pq-part-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 5px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.42), rgba(255,255,255,0.04)),
    currentColor;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,0.18), 0 5px 9px rgba(0,0,0,0.3);
}

.pq-part-icon--spool {
  border: 6px solid currentColor;
  border-radius: 50%;
  background: #101018;
}

.pq-part-icon--gear {
  border-radius: 50%;
  clip-path: polygon(50% 0,61% 27%,90% 14%,73% 43%,100% 50%,73% 57%,90% 86%,61% 73%,50% 100%,39% 73%,10% 86%,27% 57%,0 50%,27% 43%,10% 14%,39% 27%);
}

.pq-part-icon--case {
  border-radius: 7px;
}

.pq-part-icon--mini {
  clip-path: polygon(40% 2%,58% 2%,66% 32%,88% 45%,72% 96%,28% 96%,12% 45%,34% 32%);
}

.pq-part-icon--dragon {
  clip-path: polygon(5% 78%, 22% 35%, 47% 52%, 68% 12%, 75% 53%, 95% 43%, 83% 78%);
}

.pq-item--object {
  border-color: rgba(83, 223, 255, 0.42);
}

.pq-log {
  display: grid;
  align-content: center;
  gap: 8px;
}

#pq-command {
  color: var(--pq-yellow);
  font-size: 18px;
  font-weight: 900;
}

#pq-log-line {
  color: var(--pq-muted);
}

.pq-shell.pq-concept-scene .pq-console {
  left: 50%;
  right: auto;
  bottom: 10px;
  width: min(1420px, calc(100% - 28px));
  grid-template-columns: minmax(410px, 0.9fr) minmax(280px, 0.62fr) minmax(390px, 1fr);
  transform: translateX(-50%);
  padding: 10px;
  background: rgba(8, 8, 12, 0.74);
  backdrop-filter: blur(6px);
}

.pq-shell.pq-concept-scene .pq-inventory,
.pq-shell.pq-concept-scene .pq-log {
  min-height: 72px;
  padding: 8px;
  background: rgba(12, 10, 16, 0.7);
}

.pq-shell.pq-concept-scene .pq-verbs {
  grid-template-columns: repeat(6, minmax(72px, 1fr));
  gap: 8px;
}

.pq-shell.pq-concept-scene .pq-verbs button {
  min-height: 58px;
  padding: 8px 7px;
  font-size: 14px;
}

.pq-shell.pq-concept-scene #pq-command {
  font-size: 17px;
}

.pq-shell.pq-concept-scene #pq-log-line {
  font-size: 13px;
}

.pq-contest,
.pq-howto {
  margin-top: 14px;
}

.pq-contest {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr) minmax(240px, 0.75fr);
  gap: 12px;
}

.pq-contest__panel,
.pq-howto {
  border: 1px solid rgba(255, 126, 25, 0.48);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(36, 30, 43, 0.94), rgba(10, 9, 14, 0.96));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.pq-contest__panel {
  min-height: 148px;
  padding: 16px;
}

.pq-contest__panel span,
.pq-howto h2 {
  color: var(--pq-yellow);
}

.pq-contest__panel > span {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pq-contest__panel h2,
.pq-howto h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.15;
}

.pq-contest__panel p,
.pq-howto p {
  margin: 0;
  color: var(--pq-muted);
  line-height: 1.5;
}

.pq-howto {
  padding: 18px;
}

.pq-howto p + p {
  margin-top: 10px;
}

.pq-leaderboard {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pq-leaderboard li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(8, 8, 12, 0.58);
  color: var(--pq-copy);
  font-weight: 800;
}

.pq-leaderboard strong {
  color: var(--pq-yellow);
}

.pq-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(11, 7, 12, 0.74);
}

.pq-modal[hidden],
.pq-modal[hidden="hidden"] {
  display: none;
}

.pq-slicer {
  width: min(760px, 100%);
  border: 1px solid rgba(255, 126, 25, 0.75);
  border-radius: 8px;
  overflow: hidden;
  background: #ebe7df;
  color: #17202a;
  box-shadow: 0 22px 48px rgba(0,0,0,0.48);
}

.pq-slicer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px;
  background: linear-gradient(135deg, #15161c, #2e2135);
  color: #fff;
}

.pq-slicer__header h2 {
  margin: 0;
  font-size: 22px;
}

.pq-slicer__header button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 6px;
  background: var(--pq-red);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.pq-slicer__body {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 16px;
  padding: 16px;
}

.pq-preview {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid #9aa8b4;
  border-radius: 8px;
  background: linear-gradient(180deg, #c8d4df, #eef3f7);
}

.pq-preview__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(39,52,67,0.16) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(180deg, rgba(39,52,67,0.16) 1px, transparent 1px) 0 0 / 24px 24px;
}

.pq-preview__object {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 52%;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  background: var(--pq-red);
  box-shadow: 0 20px 30px rgba(0,0,0,0.2);
}

.pq-preview__object.is-slicing {
  animation: pq-slice 900ms linear infinite;
}

.pq-slicer__settings {
  display: grid;
  align-content: start;
  gap: 10px;
}

.pq-slicer__settings label {
  display: grid;
  gap: 4px;
  font-weight: 900;
}

.pq-slicer__settings select {
  height: 36px;
  border: 1px solid #7f8d99;
  border-radius: 6px;
  background: #fff;
  font: inherit;
}

.pq-filaments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pq-filament-choice {
  min-height: 50px;
  border: 2px solid #7f8d99;
  border-radius: 7px;
  background: #fff;
  color: #17202a;
  font-weight: 900;
  cursor: pointer;
}

.pq-filament-choice.is-selected {
  border-color: #17202a;
  outline: 3px solid var(--pq-orange);
}

.pq-start-print {
  width: 100%;
  min-height: 46px;
  background: linear-gradient(135deg, var(--pq-orange), var(--pq-green));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.32), 0 10px 18px rgba(50, 111, 28, 0.28);
}

.pq-rotate-hint {
  display: none;
}

.pq-lock-page {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.pq-shell.is-mobile-game {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  max-width: none;
  width: 100vw;
  height: 100dvh;
  height: 100vh;
  margin: 0;
  transform: none;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  background: #0e0b12;
  touch-action: none;
}

.pq-shell.is-mobile-game .pq-topbar {
  position: static;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.pq-shell.is-mobile-game .pq-game {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  margin: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: none;
}

.pq-shell.is-mobile-game .pq-stage {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}

.pq-shell.is-mobile-game .pq-console {
  position: static;
  flex: 0 0 auto;
  border-radius: 0;
}

.pq-shell.is-mobile-game .pq-hotspot {
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 5px rgba(0,0,0,0.85);
}

.pq-shell.is-mobile-game .pq-hotspot span {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(13, 10, 19, 0.58);
}

.pq-shell.is-mobile-game .pq-modal {
  padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
}

.pq-shell.is-mobile-game .pq-slicer {
  max-height: calc(100dvh - 18px);
  overflow: auto;
}

.pq-shell.is-portrait-game .pq-rotate-hint {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 126, 25, 0.28), transparent 30%),
    rgba(10, 8, 14, 0.9);
  color: #fff;
  text-align: center;
}

.pq-shell.is-portrait-game .pq-rotate-hint div {
  display: grid;
  gap: 10px;
  max-width: 320px;
  padding: 22px;
  border: 1px solid rgba(255, 199, 39, 0.65);
  border-radius: 8px;
  background: rgba(21, 16, 27, 0.94);
}

.pq-shell.is-portrait-game .pq-rotate-hint strong {
  color: var(--pq-yellow);
  font-size: 28px;
  line-height: 1;
}

.pq-shell.is-portrait-game .pq-rotate-hint span {
  color: var(--pq-muted);
  font-weight: 800;
}

@keyframes pq-step-left {
  0%, 100% { transform: rotate(12deg) translateY(0); }
  50% { transform: rotate(-14deg) translateY(2px); }
}

@keyframes pq-step-right {
  0%, 100% { transform: rotate(-12deg) translateY(2px); }
  50% { transform: rotate(14deg) translateY(0); }
}

@keyframes pq-work-arm {
  0%, 100% { transform: rotate(-12deg); }
  50% { transform: rotate(-62deg); }
}

@keyframes pq-talk-arm {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(-42deg); }
}

@keyframes pq-concept-breathe {
  0%, 100% { translate: 0 0; }
  45% { translate: 0 -1.5px; }
}

@keyframes pq-concept-attention {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.24); }
}

@keyframes pq-scan {
  from { background-position: 0 0; }
  to { background-position: 0 34px; }
}

@keyframes pq-slice {
  0% { clip-path: inset(96% 0 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

@media (max-width: 900px) {
  .pq-contest {
    grid-template-columns: 1fr;
  }

  .pq-topbar {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .pq-brand {
    grid-column: 1 / -1;
  }

  .pq-stage {
    min-height: 700px;
  }

  .pq-shop-sign {
    width: 42%;
  }

  .pq-service-board {
    display: none;
  }

  .pq-hotspot--shelf {
    left: 55%;
    width: 31%;
  }

  .pq-order {
    top: auto;
    right: 10px;
    left: 10px;
    bottom: 74px;
    width: auto;
  }

  .pq-console {
    grid-template-columns: 1fr;
  }

  .pq-slicer__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) and (orientation: landscape), (max-height: 560px) and (orientation: landscape) {
  .pq-shell.is-mobile-game .pq-topbar {
    grid-template-columns: minmax(112px, 1fr) repeat(4, minmax(44px, auto)) minmax(64px, auto) repeat(3, auto);
    gap: 5px;
    padding: 5px 7px;
  }

  .pq-shell.is-mobile-game .pq-brand {
    grid-column: auto;
    gap: 7px;
  }

  .pq-shell.is-mobile-game .pq-brand img {
    width: 118px;
    max-height: 24px;
  }

  .pq-shell.is-mobile-game .pq-brand span {
    display: none;
  }

  .pq-shell.is-mobile-game .pq-stat {
    min-width: 52px;
    padding: 5px 6px;
  }

  .pq-shell.is-mobile-game .pq-stat span {
    font-size: 9px;
  }

  .pq-shell.is-mobile-game .pq-stat strong {
    font-size: 14px;
  }

  .pq-shell.is-mobile-game .pq-save-status {
    min-width: 64px;
    padding: 5px 6px;
    font-size: 10px;
  }

  .pq-shell.is-mobile-game .pq-topbar__button {
    min-height: 30px;
    padding: 0 8px;
    font-size: 11px;
  }

  .pq-shell.is-mobile-game .pq-stage {
    min-height: 0;
  }

  .pq-shell.is-mobile-game .pq-shop-sign {
    left: 1.5%;
    top: 3%;
    width: 24%;
    padding: 7px 9px;
  }

  .pq-shell.is-mobile-game .pq-shop-sign img {
    max-height: 26px;
  }

  .pq-shell.is-mobile-game .pq-shop-sign span,
  .pq-shell.is-mobile-game .pq-service-board,
  .pq-shell.is-mobile-game .pq-counter-brand {
    display: none;
  }

  .pq-shell.is-mobile-game .pq-order {
    top: 7px;
    left: 7px;
    width: 220px;
  }

  .pq-shell.is-mobile-game .pq-order__title {
    padding: 4px 8px;
    font-size: 12px;
  }

  .pq-shell.is-mobile-game .pq-order__card {
    min-height: 76px;
    padding: 8px;
    font-size: 11px;
    line-height: 1.25;
  }

  .pq-shell.is-mobile-game .pq-order__card strong {
    margin-bottom: 3px;
    font-size: 14px;
  }

  .pq-shell.is-mobile-game .pq-toast {
    left: 7px;
    bottom: 7px;
    max-width: 52%;
    padding: 7px 9px;
    font-size: 12px;
  }

  .pq-shell.is-mobile-game .pq-guest-hint {
    right: 7px;
    bottom: 7px;
    max-width: 41%;
    padding: 7px 9px;
    font-size: 11px;
  }

  .pq-shell.is-mobile-game .pq-console {
    grid-template-columns: 45% 29% 1fr;
    gap: 6px;
    padding: 6px;
  }

  .pq-shell.is-mobile-game .pq-verbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .pq-shell.is-mobile-game .pq-verbs button {
    min-height: 38px;
    font-size: 12px;
  }

  .pq-shell.is-mobile-game .pq-inventory,
  .pq-shell.is-mobile-game .pq-log {
    min-height: 78px;
    padding: 7px;
  }

  .pq-shell.is-mobile-game .pq-inventory__title {
    margin-bottom: 4px;
    font-size: 10px;
  }

  .pq-shell.is-mobile-game .pq-item {
    min-width: 44px;
    padding: 4px;
    font-size: 9px;
  }

  .pq-shell.is-mobile-game .pq-spool {
    width: 21px;
    height: 21px;
    margin-bottom: 3px;
    border-width: 4px;
  }

  .pq-shell.is-mobile-game #pq-command {
    font-size: 13px;
  }

  .pq-shell.is-mobile-game #pq-log-line {
    font-size: 11px;
    line-height: 1.25;
  }

  .pq-shell.is-mobile-game .pq-hero,
  .pq-shell.is-mobile-game .pq-customer {
    width: 42px;
    height: 94px;
  }

  .pq-shell.is-mobile-game .pq-person__head {
    left: 12px;
    width: 20px;
    height: 23px;
  }

  .pq-shell.is-mobile-game .pq-person__body {
    left: 7px;
    top: 27px;
    width: 29px;
    height: 41px;
  }

  .pq-shell.is-mobile-game .pq-person__logo {
    left: 15px;
    top: 37px;
    width: 14px;
    height: 14px;
  }

  .pq-shell.is-mobile-game .pq-person__arm {
    top: 33px;
    width: 8px;
    height: 35px;
  }

  .pq-shell.is-mobile-game .pq-person__leg {
    top: 65px;
    width: 10px;
    height: 32px;
  }

  .pq-shell.is-mobile-game .pq-person__leg--left {
    left: 10px;
  }

  .pq-shell.is-mobile-game .pq-person__leg--right {
    right: 10px;
  }

  .pq-shell.is-mobile-game .pq-hotspot--counter {
    left: 2%;
    bottom: 14%;
    width: 28%;
    height: 29%;
  }

  .pq-shell.is-mobile-game .pq-hotspot--computer {
    left: 32%;
    bottom: 23%;
    width: 15%;
    height: 22%;
  }

  .pq-shell.is-mobile-game .pq-hotspot--shelf {
    left: 48%;
    bottom: 21%;
    width: 23%;
    height: 52%;
  }

  .pq-shell.is-mobile-game .pq-hotspot--printer {
    right: 16%;
    bottom: 20%;
    width: 20%;
    height: 43%;
  }

  .pq-shell.is-mobile-game .pq-hotspot--pack {
    right: 2%;
    bottom: 6%;
    width: 25%;
    height: 26%;
  }

  .pq-shell.is-mobile-game .pq-slicer {
    width: min(720px, calc(100vw - 16px));
  }

  .pq-shell.is-mobile-game .pq-slicer__body {
    grid-template-columns: 1fr 236px;
    gap: 10px;
    padding: 10px;
  }

  .pq-shell.is-mobile-game .pq-preview {
    min-height: 190px;
  }

  .pq-shell.is-mobile-game .pq-preview__object {
    width: 82px;
    height: 82px;
  }
}

@media (max-width: 700px) and (orientation: landscape) {
  .pq-shell.is-mobile-game .pq-fullscreen-button {
    display: none;
  }

  .pq-shell.is-mobile-game .pq-save-status {
    display: none;
  }

  .pq-shell.is-mobile-game .pq-console {
    grid-template-columns: 52% 48%;
  }

  .pq-shell.is-mobile-game .pq-log {
    display: none;
  }

  .pq-shell.is-mobile-game .pq-verbs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .pq-shell.is-mobile-game .pq-verbs button {
    min-height: 42px;
    padding: 0 3px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pq-hotspot,
  .pq-hero,
  .pq-customer,
  .pq-person__arm,
  .pq-person__leg,
  .pq-object,
  .pq-printer-light,
  .pq-preview__object,
  .pq-action-fx {
    animation: none !important;
    transition: none !important;
  }
}

.pq-shell.pq-concept-scene.is-mobile-game .pq-hero,
.pq-shell.pq-concept-scene.is-mobile-game .pq-customer {
  width: clamp(168px, 16vw, 245px);
  height: clamp(264px, 26vw, 376px);
  background-size: 400% 100%;
}

.pq-shell.pq-concept-scene.is-mobile-game .pq-hero {
  left: 21.6%;
  bottom: 4.3%;
  transform: scale(1);
}

.pq-shell.pq-concept-scene.is-mobile-game .pq-customer {
  left: 12.5%;
  bottom: 4.4%;
  transform: translateX(-32px) scale(1.08);
}

.pq-shell.pq-concept-scene.is-mobile-game .pq-customer.is-present,
.pq-shell.pq-concept-scene.is-mobile-game .pq-customer.is-arriving {
  left: 24.6%;
  transform: translateX(0) scale(1.08);
}

.pq-shell.pq-concept-scene.is-mobile-game .pq-carry-item {
  right: 13px;
  top: 110px;
  width: 24px;
  height: 24px;
}

.pq-shell.pq-concept-scene .pq-room::after {
  z-index: 10;
  background:
    linear-gradient(180deg, transparent 0 58.8%, rgba(6, 4, 6, 0.02) 58.8% 100%),
    linear-gradient(90deg, rgba(5, 4, 7, 0.52) 0 32%, transparent 32% 100%);
}

.pq-shell.pq-concept-scene .pq-room::before {
  z-index: 9;
  inset: auto 0 0;
  height: 29%;
  background:
    linear-gradient(180deg, rgba(75, 37, 28, 0.34), rgba(18, 11, 13, 0.7)),
    linear-gradient(90deg, transparent 0 4%, rgba(22, 10, 12, 0.72) 4% 31%, transparent 31% 100%);
  transform: none;
}

.pq-shell.pq-concept-scene .pq-three-stage {
  z-index: 1;
}

.pq-shell.pq-concept-scene .pq-three-stage::after {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 20%, transparent 70%, rgba(0, 0, 0, 0.22)),
    radial-gradient(circle at 50% 48%, transparent 0 58%, rgba(0, 0, 0, 0.22) 100%);
}

.pq-shell.pq-concept-scene .pq-shop-sign,
.pq-shell.pq-concept-scene .pq-counter-brand,
.pq-shell.pq-concept-scene .pq-website-monitor {
  display: none;
}

.pq-shell.pq-concept-scene .pq-hotspot {
  z-index: 18;
}

.pq-shell.pq-concept-scene .pq-shop-sign {
  display: grid;
  z-index: 4;
  left: 11.2%;
  top: 10.8%;
  width: 20.5%;
  min-height: 7.6%;
  padding: 10px 13px;
  border: 2px solid rgba(22, 18, 24, 0.94);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(0,0,0,0.1)),
    rgba(12, 10, 16, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(255, 199, 39, 0.18),
    0 10px 22px rgba(0, 0, 0, 0.58);
  opacity: 0.92;
  transform: perspective(520px) rotateY(1deg) rotateX(0.5deg);
}

.pq-shell.pq-concept-scene .pq-shop-sign img {
  width: 100%;
  max-height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.78));
}

.pq-shell.pq-concept-scene .pq-shop-sign span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 238, 214, 0.86);
  font-size: 10px;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.pq-shell.pq-concept-scene .pq-counter-brand {
  display: block;
  z-index: 10;
  left: 3.6%;
  bottom: 20.1%;
  width: 24%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0.9;
  transform: perspective(650px) rotateX(1.5deg) rotateY(-5deg) skewX(-4deg);
  transform-origin: center bottom;
}

.pq-shell.pq-concept-scene .pq-counter-brand img {
  width: 100%;
  max-height: 72px;
  object-fit: contain;
  filter:
    drop-shadow(0 3px 2px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 10px rgba(255, 126, 25, 0.22));
}

.pq-shell.pq-concept-scene .pq-website-monitor {
  position: absolute;
  display: block;
  z-index: 5;
  left: 38.8%;
  top: 42%;
  width: 8.9%;
  height: 8.1%;
  overflow: hidden;
  border: 2px solid rgba(8, 9, 14, 0.96);
  border-radius: 3px;
  background: #11131a;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 5px 14px rgba(0, 0, 0, 0.5);
  transform: perspective(430px) rotateY(-8deg) rotateX(1deg) skewY(-1deg);
  transform-origin: center center;
  pointer-events: none;
}

.pq-shell.pq-concept-scene .pq-website-monitor__bar {
  height: 16%;
  background:
    linear-gradient(90deg, #ff7e19 0 16%, #a22370 16% 30%, #4360b2 30% 44%, rgba(255,255,255,0.24) 44% 100%),
    rgba(10, 10, 14, 0.92);
}

.pq-shell.pq-concept-scene .pq-website-monitor__hero {
  display: grid;
  place-items: center;
  height: 43%;
  padding: 3px 6px;
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 126, 25, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(14, 13, 20, 0.98), rgba(42, 31, 48, 0.96));
}

.pq-shell.pq-concept-scene .pq-website-monitor__hero img {
  width: 88%;
  max-height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.75));
}

.pq-shell.pq-concept-scene .pq-website-monitor__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 4px;
  background: rgba(246, 241, 232, 0.92);
}

.pq-shell.pq-concept-scene .pq-website-monitor__grid span {
  display: block;
  height: 14px;
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,255,255,0.08)),
    linear-gradient(135deg, #ff7e19, #a22370);
}

.pq-shell.pq-concept-scene .pq-hotspot--counter {
  left: 24.2%;
  bottom: 9.5%;
  width: 9.8%;
  height: 46%;
}

.pq-shell.pq-concept-scene .pq-hotspot--computer {
  left: 38.2%;
  bottom: 45.5%;
  width: 9.4%;
  height: 11%;
}

.pq-shell.pq-concept-scene .pq-hotspot--shelf {
  left: 49.4%;
  bottom: 23.5%;
  width: 24.8%;
  height: 65.5%;
}

.pq-shell.pq-concept-scene .pq-hotspot--printer {
  left: 75.8%;
  bottom: 24.8%;
  width: 16.7%;
  height: 58.5%;
}

.pq-shell.pq-concept-scene .pq-hotspot--pack {
  right: 1.8%;
  bottom: 4.8%;
  width: 25%;
  height: 31%;
}

.pq-shell.pq-concept-scene .pq-hotspot span {
  bottom: auto;
  top: 8px;
}

.pq-shell.pq-concept-scene .pq-hero,
.pq-shell.pq-concept-scene .pq-customer {
  width: clamp(210px, 16vw, 305px);
  height: clamp(330px, 26vw, 470px);
}

.pq-shell.pq-concept-scene .pq-hero {
  z-index: 7;
  left: 21.6%;
  bottom: 4.3%;
  transform: scale(1.03);
}

.pq-shell.pq-concept-scene .pq-customer {
  z-index: 11;
  left: 12.5%;
  bottom: 4.4%;
  transform: translateX(-44px) scale(1.2);
}

.pq-shell.pq-concept-scene .pq-customer.is-present,
.pq-shell.pq-concept-scene .pq-customer.is-arriving {
  left: 24.6%;
  transform: translateX(0) scale(1.2);
}

.pq-shell.pq-concept-scene .pq-customer.is-leaving {
  left: 12.5%;
  transform: translateX(-44px) scale(1.2);
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer--boy,
.pq-shell.pq-concept-scene .pq-customer.pq-customer--girl {
  bottom: 4.4%;
  transform: translateX(-44px) scale(1);
}

.pq-shell.pq-concept-scene .pq-customer.pq-customer--boy.is-present,
.pq-shell.pq-concept-scene .pq-customer.pq-customer--boy.is-arriving,
.pq-shell.pq-concept-scene .pq-customer.pq-customer--girl.is-present,
.pq-shell.pq-concept-scene .pq-customer.pq-customer--girl.is-arriving {
  transform: translateX(0) scale(1);
}

.pq-shell.pq-concept-scene .pq-carry-item {
  right: 20px;
  top: 156px;
  width: 34px;
  height: 34px;
}

.pq-shell.pq-concept-scene .pq-object {
  left: 78.5%;
  bottom: 32%;
  z-index: 8;
  width: 56px;
  height: 56px;
}

.pq-shell.pq-concept-scene .pq-action-fx {
  z-index: 19;
}

.pq-shell.pq-concept-scene .pq-toast {
  bottom: 126px;
}

.pq-shell.pq-concept-scene .pq-console {
  grid-template-columns: minmax(520px, 0.95fr) minmax(250px, 0.52fr) minmax(410px, 0.85fr);
}

.pq-shell.pq-concept-scene .pq-verbs {
  grid-template-columns: repeat(6, minmax(80px, 1fr));
}

.pq-shell.pq-concept-scene .pq-verbs button {
  min-height: 62px;
}

@media (max-width: 900px) {
  .pq-shell.pq-concept-scene .pq-hero,
  .pq-shell.pq-concept-scene .pq-customer {
    width: 132px;
    height: 264px;
  }

  .pq-shell.pq-concept-scene .pq-hero {
    left: 18%;
    bottom: 4.3%;
    transform: scale(0.96);
  }

  .pq-shell.pq-concept-scene .pq-customer {
    bottom: 4.4%;
    transform: translateX(-32px) scale(1.04);
  }

  .pq-shell.pq-concept-scene .pq-customer.is-present,
  .pq-shell.pq-concept-scene .pq-customer.is-arriving {
    left: 24.6%;
    transform: translateX(0) scale(1.04);
  }

  .pq-shell.pq-concept-scene .pq-customer.pq-customer--boy,
  .pq-shell.pq-concept-scene .pq-customer.pq-customer--girl {
    transform: translateX(-32px) scale(0.88);
  }

  .pq-shell.pq-concept-scene .pq-customer.pq-customer--boy.is-present,
  .pq-shell.pq-concept-scene .pq-customer.pq-customer--boy.is-arriving,
  .pq-shell.pq-concept-scene .pq-customer.pq-customer--girl.is-present,
  .pq-shell.pq-concept-scene .pq-customer.pq-customer--girl.is-arriving {
    transform: translateX(0) scale(0.88);
  }
}
