.screen-intro .slide-content {
  padding-top: 36px;
}
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
body {
  min-width: 320px;
}
.site-header {
  height: 64px;
  padding-top: 3px;
}
.screen {
  position: fixed;
  top: 68px;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
  margin: 0;
  padding: 4px 4% 0;
  overflow: hidden;
}
.slide-content {
  display: flow-root;
  width: 100%;
  transform-origin: top center;
}
.screen .screen-heading {
  margin: 0 auto 20px;
}
.screen .screen-heading .eyebrow {
  margin: 0 0 10px;
}
.screen .screen-heading h1 {
  font-size: clamp(30px, 3.4vw, 48px);
  margin: 10px 0 12px;
}
.screen .screen-heading p {
  font-size: 15px;
}
.screen .screen-heading .screen-kicker {
  font-size: 17px;
  margin: 8px 0 3px;
  color: #bac7b8;
}
.screen-broken .screen-heading h1 {
  font-size: clamp(36px, 4vw, 58px);
}
.screen .intro-layout {
  min-height: 0;
}
.screen .intro-copy h1 {
  font-size: clamp(40px, 5vw, 72px);
}
footer {
  height: 64px;
  background: linear-gradient(transparent, #101314 20%);
}
.screen-content .hero-placeholder {
  max-width: 850px;
}
.screen-content .hero-placeholder > .image-placeholder {
  max-height: calc(100svh - 250px);
}
.screen-content .hero-placeholder > .image-placeholder img {
  object-fit: contain;
  background: #141819;
}
.screen .screen-body {
  max-width: 1150px;
}
.screen .phone {
  padding-top: 30px;
}
.screen .match-star {
  margin-bottom: 15px;
}
.screen-tablet {
  top: 0;
  bottom: 0;
  left: 0;
  transform: none;
  max-width: none;
  padding: 0;
  height: 100svh;
  overflow: hidden;
}
.screen-tablet .slide-content {
  height: 100%;
  transform: none !important;
}
.invitation-scene {
  position: absolute;
  inset: 0;
  min-height: 0;
}
.tablet-mockup {
  width: min(1500px, calc(100svh * 1.72));
  bottom: calc(-100svh * 0.27);
  left: 50%;
  transform: translateX(-50%);
}
.tablet-hands {
  mask-image: none;
}
.screen-tablet .mockup-screen {
  overflow: hidden;
}
body:has(.screen-tablet) footer {
  background: linear-gradient(transparent, #101314aa 100%);
}
@media (min-width: 1101px) {
  .screen-video,
  .screen-frontend,
  .screen-broken {
    padding-top: 4px;
  }
  .screen-video .screen-heading,
  .screen-frontend .screen-heading,
  .screen-broken .screen-heading {
    margin-bottom: 16px;
  }
  .youtube-page .video-thumbnail {
    height: clamp(170px, calc(100svh - 480px), 330px);
  }
  .screen-broken .youtube-page .video-thumbnail {
    height: clamp(170px, calc(100svh - 530px), 300px);
  }
}
@media (max-width: 720px) {
  .site-header {
    height: 52px;
  }
  .screen {
    top: 56px;
    bottom: 58px;
    padding: 3px 4% 0;
  }
  .screen .screen-heading {
    margin-bottom: 14px;
  }
  .screen .screen-heading h1 {
    font-size: 30px;
    letter-spacing: -1px;
    margin: 8px 0;
  }
  .screen .screen-heading .eyebrow {
    font-size: 8px;
    margin-bottom: 8px;
  }
  .screen .screen-heading p {
    font-size: 13px;
  }
  .screen .intro-layout {
    gap: 22px;
  }
  .screen .speaker-card {
    min-height: 320px;
    margin-top: 15px;
    padding-bottom: 50px;
  }
  .screen .speaker-card > .image-placeholder {
    height: 270px;
  }
  .screen .intro-points {
    gap: 14px;
    margin-top: 22px;
  }
  .screen .intro-copy h1 {
    font-size: 42px;
    margin-top: 20px;
  }
  .screen .intro-copy > p {
    font-size: 14px;
  }
  .screen .floating-products {
    min-height: 0;
    padding: 16px 0;
    gap: 25px 5%;
  }
  .screen-content .hero-placeholder > .image-placeholder {
    max-height: 340px;
  }
  footer {
    height: 58px;
  }
  .screen-tablet {
    top: 0;
    bottom: 0;
    padding: 0;
  }
  .tablet-mockup {
    width: 660px;
    bottom: -35px;
  }
  .screen-tablet .mockup-screen {
    padding: 12px 16px;
  }
  .screen-tablet .tablet-message h2 {
    font-size: 24px;
  }
  .screen-broken .screen-heading h1 {
    font-size: 35px;
  }
  .screen-broken .screen-heading .screen-kicker {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .slide-content {
    transition: none;
  }
}
.button-check-scene {
  position: relative;
  padding-top: 22px;
}
.like-comment {
  position: absolute;
  right: -14px;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 17px;
  background: #d0f878;
  color: #253719;
  border: 1px solid #e7ffb6;
  border-radius: 14px 14px 3px 14px;
  box-shadow: 0 8px 24px #0004;
  transform: rotate(3deg);
  font-size: 14px;
  font-weight: 600;
  animation: comment-pop 0.3s ease-out;
}
.like-comment-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
}
.like-comment-icon svg {
  width: 24px;
  height: 24px;
}
.comment-heart {
  font-size: 11px;
  margin-left: 6px;
  opacity: 0.6;
}
.subscription-toast {
  position: fixed;
  right: clamp(18px, 5vw, 90px);
  top: 82px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100vw - 32px);
  padding: 18px 16px 18px 19px;
  border: 1px solid #e27169;
  border-left: 4px solid #ff766b;
  border-radius: 12px;
  background: #321f23f5;
  color: #ffe8e4;
  box-shadow: 0 15px 55px #0006;
  backdrop-filter: blur(12px);
  animation: toast-arrive 0.3s ease-out;
}
.toast-error-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ff786c20;
  border: 1px solid #ff8d80;
  color: #ff9d91;
  font-size: 21px;
  font-weight: bold;
}
.subscription-toast b {
  font-size: 12px;
  letter-spacing: 1.8px;
  color: #ff9d91;
}
.subscription-toast p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #ffe8e4;
}
.toast-close {
  align-self: flex-start;
  border: 0;
  background: none;
  color: #f5bfb7;
  font-size: 23px;
  line-height: 1;
  padding: 0 2px 6px 14px;
}
.subscription-toast.toast-leaving {
  animation: toast-depart 0.25s ease-in forwards;
  pointer-events: none;
}
@keyframes toast-arrive {
  from {
    opacity: 0;
    transform: translateX(50px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes toast-depart {
  to {
    opacity: 0;
    transform: translateX(35px);
  }
}
@keyframes comment-pop {
  from {
    opacity: 0;
    transform: translateY(8px) rotate(3deg) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(3deg) scale(1);
  }
}
@media (max-width: 720px) {
  .like-comment {
    right: 0;
    font-size: 12px;
    padding: 9px 12px;
  }
  .like-comment-icon,
  .like-comment-icon svg {
    width: 20px;
    height: 20px;
  }
  .subscription-toast {
    top: 65px;
    right: 16px;
    padding: 14px;
    gap: 10px;
  }
  .subscription-toast p {
    font-size: 13px;
  }
}
.youtube-page .subscribe.subscribed {
  background: #e5e5e5 !important;
  color: #606060 !important;
  border: 1px solid #ddd !important;
}
.tablet-message .tablet-project-icon {
  width: 10cqw;
  height: 10cqw;
  flex: none;
  margin: 0 auto;
}
.tablet-message {
  gap: 1.5cqw;
}
.tablet-message p {
  font-size: 2.6cqw;
  line-height: 1.5;
  margin: 0;
  color: #becbc6;
}
.tablet-message.tablet-youtube h2,
.tablet-message.tablet-level h2,
.tablet-message.tablet-client h2 {
  font-size: 4.7cqw;
}
.tablet-checklist {
  display: flex;
  gap: 3cqw;
  color: #d0f878;
  font-size: 2.5cqw;
}
.level-checklist {
  display: grid;
  gap: 1cqw;
  width: 75%;
}
.level-checklist > span {
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding: 1cqw 2cqw;
  background: #ffffff09;
  border: 1px solid #ffffff18;
  border-radius: 8px;
  color: #ecf1e8;
}
.level-checklist .tablet-project-icon {
  width: 5cqw;
  height: 5cqw;
  margin: 0;
}
.level-checklist b {
  margin-left: auto;
  color: #d0f878;
}
.tablet-level .confirmation-mark {
  font-size: 4cqw;
  width: 6cqw;
  height: 6cqw;
}
.client-tags {
  display: flex;
  gap: 1cqw;
  justify-content: center;
}
.client-tags span {
  font-size: 1.7cqw;
  padding: 0.8cqw 1.2cqw;
  border: 1px solid #65786a;
  border-radius: 5px;
}
.mission-door {
  max-width: 760px;
  margin: auto;
  text-align: center;
}
.mission-door .image-placeholder {
  height: 320px;
  min-height: 0;
}
.mission-door img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mission-door > .primary {
  margin-top: 20px;
}
.favorite-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}
.favorite-card {
  overflow: hidden;
}
.scratch-stack > .scratch-block {
  margin-bottom: 0;
}
.scratch-stack > .scratch-block:before,
.scratch-stack > .scratch-if > .if-head:before {
  background: var(--join-color, var(--socket-bg, #182025)) !important;
}
@media (max-width: 720px) {
  .tablet-message.tablet-youtube h2,
  .tablet-message.tablet-level h2,
  .tablet-message.tablet-client h2 {
    font-size: 18px;
  }
  .tablet-message p {
    font-size: 10px;
  }
  .tablet-message .primary {
    font-size: 9px;
    padding: 10px 13px;
  }
  .tablet-message {
    gap: 8px;
  }
  .tablet-checklist {
    font-size: 10px;
  }
  .tablet-message .tablet-project-icon {
    width: 30px;
    height: 30px;
  }
  .level-checklist .tablet-project-icon {
    width: 20px;
    height: 20px;
  }
  .client-tags span {
    font-size: 7px;
  }
  .favorite-image {
    height: 100px;
  }
  .mission-door .image-placeholder {
    height: 230px;
  }
}
.scratch-program {
  flex: 0 0 auto;
}
.scratch-help {
  flex-shrink: 0;
}
.match-phone-scene {
  position: relative;
  height: calc(100svh - 155px);
  min-height: 400px;
  overflow: hidden;
}
.hand-phone {
  position: absolute;
  width: min(1050px, calc((100svh - 175px) * 1.36));
  left: 50%;
  top: -3%;
  transform: translateX(-67%);
}
.hand-phone > img {
  width: 100%;
  display: block;
  pointer-events: none;
}
.hand-phone-screen {
  position: absolute;
  left: 50.65%;
  top: 5.25%;
  width: 32.6%;
  height: 46.85%;
  border-radius: 12% / 6%;
  background: #111a1b;
  overflow: hidden;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10% 1.6% 2%;
  padding-top: 4.8%;
  color: #f4f5ed;
}
.match-phone-brand {
  font-size: 6cqw;
  font-weight: 800;
  letter-spacing: 2px;
  color: #d0f878;
  margin-bottom: 6cqw;
}
.match-phone-welcome {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5cqw;
}
.hand-phone-screen .match-star {
  font-size: 22cqw;
  margin: 0;
  line-height: 1;
}
.hand-phone-screen h2 {
  font-size: 10cqw;
  margin: 0;
  line-height: 1.1;
}
.hand-phone-screen p {
  font-size: 4.7cqw;
  margin: 0;
  line-height: 1.5;
}
.hand-phone-screen .primary {
  font-size: 4cqw;
  min-height: 0;
  padding: 5cqw 7cqw;
}
.match-phone-welcome > small {
  font-size: 3.6cqw;
  line-height: 1.5;
  color: #a3adaa;
  padding: 0 5cqw;
}
.match-home-bar {
  width: 35%;
  height: 4px;
  background: #e5ebe5;
  border-radius: 10px;
  margin-top: auto;
  flex-shrink: 0;
}
.match-counter {
  font-size: 3.6cqw;
  letter-spacing: 1px;
  color: #a3adaa;
}
.swipe-window {
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 5cqw 0;
}
.hand-phone-screen .swipe-card {
  width: 100%;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 9cqw 5cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8cqw;
  background: #202b2c;
  border: 1px solid #465554;
  border-radius: 5cqw;
  touch-action: none;
  user-select: none;
  transition:
    background 0.12s,
    border-color 0.12s;
  position: relative;
}
.hand-phone-screen .swipe-card h3 {
  font-size: 7cqw;
  line-height: 1.3;
  text-align: center;
  margin: 0;
}
.hand-phone-screen .swipe-card.swipe-yes {
  background: #214f3c;
  border-color: #6bea9e;
}
.hand-phone-screen .swipe-card.swipe-no {
  background: #602e35;
  border-color: #ff878e;
}
.swipe-verdict {
  position: absolute;
  top: 5cqw;
  font-size: 4cqw;
  font-weight: bold;
}
.swipe-yes .swipe-verdict {
  color: #8dffb6;
}
.swipe-no .swipe-verdict {
  color: #ffadb2;
}
.hand-phone-screen .swipe-actions {
  display: flex;
  justify-content: space-around;
  width: 100%;
  gap: 6cqw;
  margin: 0 0 5cqw;
}
.hand-phone-screen .swipe-actions button {
  width: 19cqw;
  height: 19cqw;
  font-size: 10cqw;
  background: #263e32;
  border: 1px solid #6bb78c;
  color: #9ce5b7;
}
.hand-phone-screen .swipe-actions button[data-answer='no'] {
  background: #44282c;
  border-color: #b86470;
  color: #ff9da4;
}
.hand-phone-screen .swipe-actions small {
  font-size: 2.7cqw;
  white-space: nowrap;
}
.hand-phone-screen .text-button {
  font-size: 3.4cqw;
  margin: 3cqw 0 5cqw;
  padding: 0;
}
.hand-phone-screen .countdown {
  font-size: 35cqw;
  margin: auto;
}
.screen-matchIntro .screen-body,
.screen-match .screen-body,
.screen-countdown .screen-body {
  max-width: none;
}
@media (max-width: 720px) {
  .match-phone-scene {
    height: calc(100svh - 135px);
  }
  .hand-phone {
    width: min(980px, calc((100svh - 155px) * 1.36));
  }
}
.hand-phone-screen .swipe-card {
  color: #f4f5ed;
}
.hand-phone-screen .swipe-card .match-star {
  color: #d0f878;
}
.hand-phone {
  width: min(1050px, calc((100svh - 175px) * 1.28));
}
@media (max-width: 720px) {
  .hand-phone {
    width: min(980px, calc((100svh - 155px) * 1.28));
  }
}
.next-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.skip-button {
  border: 1px solid #697362;
  background: #202821;
  color: #d0f878;
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 12px;
}
.skip-button[hidden] {
  display: none;
}
@media (max-width: 720px) {
  .next-controls {
    gap: 6px;
  }
  .skip-button {
    font-size: 10px;
    padding: 8px;
  }
  .footer-center {
    gap: 8px;
    font-size: 8px;
  }
  footer {
    padding-left: 3%;
    padding-right: 3%;
  }
  footer #chapter {
    max-width: 95px;
  }
}
.screen-matchIntro,
.screen-match,
.screen-countdown {
  overflow: visible;
}
.match-phone-scene {
  overflow: visible;
}
.next-level-reveal {
  text-align: center;
}
.next-level-reveal > h2 {
  font-size: clamp(25px, 3vw, 38px);
  margin: 30px 0;
}
.next-level-reveal .level-path {
  min-height: 170px;
  margin: 24px 0;
}
.next-level-reveal .panel {
  animation: reveal-level 0.35s ease-out;
}
.screen-choose .screen-kicker s {
  color: #8f9a97;
  text-decoration-thickness: 2px;
}
.tablet-completed h2 {
  font-size: 6cqw;
}
@keyframes reveal-level {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .next-level-reveal .panel {
    animation: none;
  }
}
.screen-intro .speaker-card {
  padding: 0;
  align-items: flex-end;
}
.screen-intro .speaker-card > .image-placeholder {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
.screen-intro .speaker-card .image-placeholder img {
  height: 112%;
  width: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  bottom: 0;
  top: auto;
}
.screen-intro .speaker-caption {
  left: 20px;
  bottom: 18px;
  max-width: 110px;
  line-height: 1.5;
}
.subscription-toast {
  border-radius: 14px 14px 3px 14px;
}
.subscription-toast.toast-success {
  background: #d0f878;
  border-color: #e7ffb6;
  color: #253719;
}
.toast-success b,
.toast-success p,
.toast-success .toast-close {
  color: #253719;
}
.toast-success .toast-error-icon {
  background: #25371912;
  border-color: #668944;
  color: #36551f;
}
.subscription-toast.toast-error {
  background: #f7aaa3;
  border-color: #ffccc5;
  color: #54241f;
}
.toast-error b,
.toast-error p,
.toast-error .toast-close {
  color: #54241f;
}
.toast-error .toast-error-icon {
  background: #54241f12;
  border-color: #b65f55;
  color: #752e25;
}
.scratch-example-image {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: contain;
  border-radius: 16px;
  background: #111617;
}
.screen-createIdeas .screen-kicker {
  width: 100%;
  max-width: none;
  text-align: center !important;
  margin: 12px auto !important;
}
.screen-createIdeas .screen-kicker s {
  display: block;
  color: #8f9a97;
  text-decoration-thickness: 2px;
}
.creation-ideas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px auto 0;
  max-width: 1050px;
}
.creation-chip {
  padding: 19px 22px;
  border: 1px solid #495553;
  border-radius: 14px;
  background: #202829;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.creation-chip small {
  color: #d0f878;
  font-size: 10px;
  letter-spacing: 1px;
}
.creation-chip span {
  font-size: 17px;
  line-height: 1.35;
  color: #f4f5ed;
}
@media (max-width: 720px) {
  .creation-ideas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 16px;
  }
  .creation-chip {
    padding: 12px;
  }
  .creation-chip span {
    font-size: 13px;
  }
  .creation-chip small {
    font-size: 8px;
  }
  .scratch-example-image {
    height: 240px;
  }
}
.screen-gameCompare .scratch-example-image {
  height: 205px;
  background: transparent;
  border-radius: 0;
  margin: 0 auto 14px;
}
.lua-demo {
  border: 1px solid #465351;
  border-radius: 12px;
  overflow: hidden;
  background: #182021;
}
.lua-demo-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #394744;
  font-size: 9px;
  letter-spacing: 1px;
  color: #b6c2be;
}
.lua-run {
  border: 1px solid #98bd61;
  border-radius: 6px;
  background: #d0f878;
  color: #203217;
  font-weight: bold;
  font-size: 9px;
  padding: 8px 10px;
}
.lua-demo pre {
  margin: 0;
  padding: 12px 16px;
  font:
    12px/1.5 Consolas,
    monospace;
  color: #edf1ed;
  white-space: pre-wrap;
}
.lua-comment {
  color: #8a9d94;
}
.lua-keyword {
  color: #c6a7f5;
}
.lua-string {
  color: #d0f878;
}
.lua-output {
  padding: 9px 14px;
  border-top: 1px solid #394744;
  font-size: 11px;
  color: #d0f878;
}
.screen-gameCompare .door {
  transition: transform 0.8s ease;
}
@media (max-width: 720px) {
  .screen-gameCompare .scratch-example-image {
    height: 160px;
  }
  .lua-demo pre {
    font-size: 10px;
  }
  .lua-demo-heading {
    font-size: 8px;
  }
}
.creation-ideas {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 34px;
  margin: 36px auto 18px;
  padding: 10px 22px;
  max-width: 1100px;
}
.creation-chip {
  padding: 15px 19px;
  min-height: 82px;
  box-shadow: 0 8px 20px #0002;
  transform: translate(var(--shift-x, 0), var(--shift-y, 0)) rotate(var(--tilt, 0deg));
}
.creation-chip:nth-child(1) {
  --tilt: -6deg;
  --shift-y: 3px;
}
.creation-chip:nth-child(2) {
  --tilt: 3deg;
  --shift-y: -7px;
}
.creation-chip:nth-child(3) {
  --tilt: 6deg;
  --shift-y: 6px;
}
.creation-chip:nth-child(4) {
  --tilt: 4deg;
  --shift-x: 8px;
}
.creation-chip:nth-child(5) {
  --tilt: -4deg;
  --shift-y: 6px;
}
.creation-chip:nth-child(6) {
  --tilt: -3deg;
  --shift-x: -5px;
}
.creation-chip:nth-child(7) {
  --tilt: -5deg;
  --shift-y: 5px;
}
.creation-chip:nth-child(8) {
  --tilt: 5deg;
  --shift-x: 8px;
}
.creation-chip:nth-child(9) {
  --tilt: 3deg;
  --shift-y: 7px;
}
.creation-chip:nth-child(10) {
  --tilt: 4deg;
  --shift-x: 5px;
}
.creation-chip:nth-child(11) {
  --tilt: -3deg;
  --shift-y: 6px;
}
.creation-chip:nth-child(12) {
  --tilt: -5deg;
  --shift-x: -5px;
}
@media (max-width: 720px) {
  .creation-ideas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    padding: 8px 12px;
    margin: 24px auto 12px;
  }
  .creation-chip {
    min-height: 78px;
    padding: 12px;
    translate: 0 0;
    transform: rotate(var(--tilt));
  }
  .creation-chip span {
    font-size: 12px;
  }
}
.creation-ideas {
  display: block;
  position: relative;
  height: 350px;
  max-width: 1000px;
  padding: 0;
  margin: 30px auto 10px;
}
.creation-chip {
  position: absolute;
  width: 235px;
  min-height: 66px;
  padding: 12px 17px;
  gap: 5px;
  animation: idea-arrive 0.5s ease-out both;
  animation-delay: var(--appear-delay);
}
.creation-chip span {
  font-size: 14px;
}
.creation-chip small {
  font-size: 8px;
}
.creation-chip:nth-child(1) {
  left: 2%;
  top: 22px;
  --tilt: -7deg;
  --shift-x: 0px;
  --shift-y: 0px;
}
.creation-chip:nth-child(2) {
  left: 37%;
  top: 0;
  --tilt: 4deg;
  --shift-y: 0px;
}
.creation-chip:nth-child(3) {
  left: 73%;
  top: 38px;
  --tilt: 7deg;
  --shift-y: 0px;
}
.creation-chip:nth-child(4) {
  left: 17%;
  top: 118px;
  --tilt: 4deg;
  --shift-x: 0px;
}
.creation-chip:nth-child(5) {
  left: 54%;
  top: 135px;
  --tilt: -5deg;
  --shift-y: 0px;
}
.creation-chip:nth-child(6) {
  left: 0;
  top: 245px;
  --tilt: -4deg;
  --shift-x: 0px;
}
.creation-chip:nth-child(7) {
  left: 36%;
  top: 240px;
  --tilt: 6deg;
  --shift-y: 0px;
}
.creation-chip:nth-child(8) {
  left: 73%;
  top: 260px;
  --tilt: -6deg;
  --shift-x: 0px;
}
@keyframes idea-arrive {
  from {
    opacity: 0;
    transform: translateY(15px) rotate(var(--tilt)) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--tilt)) scale(1);
  }
}
@media (max-width: 1100px) {
  .creation-chip {
    width: 24%;
    padding: 12px;
  }
  .creation-chip span {
    font-size: 13px;
  }
}
@media (max-width: 720px) {
  .creation-ideas {
    height: 390px;
    margin-top: 20px;
  }
  .creation-chip {
    width: 44%;
    min-height: 68px;
    padding: 11px;
  }
  .creation-chip span {
    font-size: 12px;
  }
  .creation-chip:nth-child(odd) {
    left: 2%;
  }
  .creation-chip:nth-child(even) {
    left: 53%;
  }
  .creation-chip:nth-child(1) {
    top: 5px;
  }
  .creation-chip:nth-child(2) {
    top: 25px;
  }
  .creation-chip:nth-child(3) {
    top: 104px;
  }
  .creation-chip:nth-child(4) {
    top: 120px;
  }
  .creation-chip:nth-child(5) {
    top: 199px;
  }
  .creation-chip:nth-child(6) {
    top: 215px;
  }
  .creation-chip:nth-child(7) {
    top: 294px;
  }
  .creation-chip:nth-child(8) {
    top: 310px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .creation-chip {
    animation: none;
  }
}
.creation-ideas {
  height: 330px;
  max-width: 1020px;
  margin: 30px auto 0;
}
.creation-chip {
  width: 230px;
  min-height: 58px;
  padding: 16px 20px;
  justify-content: center;
  border-radius: 40px;
  background: linear-gradient(120deg, #283330, #1c2525);
  border-color: #53635a;
  box-shadow: 0 9px 24px #0002;
  gap: 0;
}
.creation-chip small {
  display: none;
}
.creation-chip span {
  font-size: 15px;
  text-align: center;
  line-height: 1.35;
  font-weight: 500;
}
.creation-chip:nth-child(1) {
  left: 4%;
  top: 18px;
  --tilt: -3deg;
}
.creation-chip:nth-child(2) {
  left: 39%;
  top: 0;
  --tilt: 2deg;
}
.creation-chip:nth-child(3) {
  left: 74%;
  top: 35px;
  --tilt: 3deg;
}
.creation-chip:nth-child(4) {
  left: 18%;
  top: 115px;
  --tilt: 2deg;
}
.creation-chip:nth-child(5) {
  left: 56%;
  top: 123px;
  --tilt: -2deg;
}
.creation-chip:nth-child(6) {
  left: 1%;
  top: 226px;
  --tilt: -2deg;
}
.creation-chip:nth-child(7) {
  left: 37%;
  top: 242px;
  --tilt: 2deg;
}
.creation-chip:nth-child(8) {
  left: 73%;
  top: 231px;
  --tilt: -3deg;
}
.creation-chip:nth-child(1),
.creation-chip:nth-child(7) {
  background: linear-gradient(120deg, #d0f878, #bfe477);
  color: #233219;
  border-color: #dcffa2;
}
.creation-chip:nth-child(1) span,
.creation-chip:nth-child(7) span {
  color: #233219;
  font-weight: 600;
}
.creation-chip:nth-child(5) {
  border-color: #827099;
  background: linear-gradient(120deg, #393041, #27252f);
}
@media (max-width: 1100px) {
  .creation-chip {
    width: 25%;
    padding: 14px 12px;
  }
  .creation-chip span {
    font-size: 13px;
  }
}
@media (max-width: 720px) {
  .creation-ideas {
    height: 340px;
    max-width: 440px;
    margin-top: 25px;
  }
  .creation-chip {
    width: 45%;
    min-height: 58px;
    padding: 12px 10px;
  }
  .creation-chip span {
    font-size: 12px;
  }
  .creation-chip:nth-child(odd) {
    left: 1%;
  }
  .creation-chip:nth-child(even) {
    left: 54%;
  }
  .creation-chip:nth-child(1) {
    top: 0;
  }
  .creation-chip:nth-child(2) {
    top: 15px;
  }
  .creation-chip:nth-child(3) {
    top: 84px;
  }
  .creation-chip:nth-child(4) {
    top: 98px;
  }
  .creation-chip:nth-child(5) {
    top: 168px;
  }
  .creation-chip:nth-child(6) {
    top: 183px;
  }
  .creation-chip:nth-child(7) {
    top: 252px;
  }
  .creation-chip:nth-child(8) {
    top: 268px;
  }
}
.site-header {
  position: relative;
  z-index: 6;
}
.header-start {
  min-width: 0;
  flex-shrink: 0;
}
.restart-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--muted);
  padding: 9px 12px;
  font-size: 12px;
  white-space: nowrap;
}
.restart-button:hover {
  color: var(--lime);
  border-color: var(--lime);
}
@media (max-width: 420px) {
  .restart-button {
    font-size: 10px;
    padding: 8px;
  }
  .site-header .session {
    letter-spacing: 0;
    gap: 4px;
  }
  .site-header .session-label {
    display: none;
  }
}
.incoming-message-pill {
  display: inline-block;
  padding: 2.2cqw 3.4cqw;
  border: 1px solid #8fa868;
  border-radius: 50px;
  background: #d0f87812;
  color: #d0f878;
  font-size: 2.6cqw;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 4cqw;
}
.tablet-message .internship-welcome {
  font-size: 4.8cqw;
  max-width: 90%;
  line-height: 1.2;
}
.tablet-message .tablet-letter {
  max-width: 94%;
  font-size: 2.6cqw;
  line-height: 1.5;
}
.tablet-letter strong {
  color: #f2f6eb;
}
.tablet-client:has(.tablet-letter) {
  gap: 1.5cqw;
}
@media (max-width: 720px) {
  .tablet-message .internship-welcome {
    font-size: 17px;
    max-width: 100%;
  }
  .tablet-message .tablet-letter {
    font-size: 10px;
    max-width: 100%;
    line-height: 1.4;
  }
  .incoming-message-pill {
    font-size: 10px;
    padding: 10px 14px;
  }
  .tablet-client:has(.tablet-letter) {
    gap: 7px;
  }
}
.asset-icon {
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  flex-shrink: 0;
  vertical-align: middle;
  background: currentColor;
  mask: var(--icon-url) center/contain no-repeat;
  -webkit-mask: var(--icon-url) center/contain no-repeat;
}
.nav-button .asset-icon {
  width: 20px;
  height: 20px;
}
.nav-arrow-left {
  transform: rotate(180deg);
}
.primary {
  gap: 9px;
}
.text-button .asset-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}
.department-icon .asset-icon {
  width: 42px;
  height: 42px;
}
.department h3 .asset-icon,
.course-panel h2 .asset-icon,
.result-card h2 .asset-icon {
  width: 1em;
  height: 1em;
  color: #d0f878;
  margin-right: 6px;
}
.heart .asset-icon {
  width: 25px;
  height: 25px;
}
.orbit-label > .asset-icon {
  width: 24px;
  height: 24px;
  color: #d0f878;
}
.question-mark .asset-icon {
  width: 130px;
  height: 130px;
}
.match-star .asset-icon {
  width: 1em;
  height: 1em;
}
.match-phone-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.match-phone-brand .asset-icon {
  width: 1em;
  height: 1em;
}
.hand-phone-screen .swipe-actions button > .asset-icon {
  width: 9cqw;
  height: 9cqw;
}
.like-comment-icon .asset-icon {
  width: 24px;
  height: 24px;
}
.comment-heart .asset-icon {
  width: 14px;
  height: 14px;
}
.incoming-message-pill {
  display: flex;
  align-items: center;
  gap: 12px;
}
.incoming-message-pill .asset-icon {
  width: 1.6em;
  height: 1.6em;
}
.tablet-message .tablet-project-icon {
  color: #d0f878;
}
.confirmation-mark:has(.asset-icon) {
  border: 0;
}
.confirmation-mark .asset-icon {
  width: 100%;
  height: 100%;
}
.asset-icon {
  mask: none;
  -webkit-mask: none;
  background: none;
  object-fit: contain;
  filter: invert(91%) sepia(25%) saturate(670%) hue-rotate(30deg);
}
.primary .asset-icon,
.like-comment .asset-icon {
  filter: none;
}
.nav-button .asset-icon {
  filter: invert(95%);
}
.hand-phone-screen .swipe-actions button[data-answer='no'] .asset-icon {
  filter: invert(75%) sepia(40%) saturate(800%) hue-rotate(300deg);
}
.direction-explainer {
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 42px;
  max-width: 1040px;
  margin: 30px auto 0;
  align-items: center;
}
.direction-portrait {
  position: relative;
}
.direction-portrait > .image-placeholder {
  height: 380px;
  min-height: 0;
  border-radius: 22px;
  overflow: hidden;
}
.direction-portrait img {
  object-fit: cover;
  object-position: center;
}
.direction-portrait-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: #131e20e8;
  border: 1px solid #6d805d;
  border-radius: 30px;
  font-size: 12px;
  color: #d0f878;
}
.direction-details-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.direction-details-heading .eyebrow {
  margin: 0;
}
.direction-details-heading small {
  font-size: 11px;
  color: #9eaca6;
}
.direction-duty-list {
  min-height: 308px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.direction-duty {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 15px 18px;
  border: 1px solid #46534d;
  border-radius: 13px;
  background: #202a29;
}
.direction-duty:last-child {
  animation: reveal-level 0.3s ease-out;
}
.direction-duty > span {
  font-size: 11px;
  color: #d0f878;
}
.direction-duty p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #eff2eb;
}
.direction-reveal-hint {
  margin: auto 0;
  max-width: 320px;
  font-size: 23px;
  line-height: 1.4;
  color: #bcc8c1;
}
.direction-details > .primary {
  margin-top: 18px;
  font-size: 10px;
}
@media (max-width: 720px) {
  .direction-explainer {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 15px;
  }
  .direction-portrait {
    max-width: 280px;
    width: 100%;
    margin: auto;
  }
  .direction-portrait > .image-placeholder {
    height: 190px;
  }
  .direction-portrait-label {
    font-size: 10px;
    bottom: 10px;
    left: 10px;
  }
  .direction-duty-list {
    min-height: 260px;
    gap: 8px;
  }
  .direction-duty {
    padding: 11px 13px;
    gap: 10px;
  }
  .direction-duty p {
    font-size: 12px;
  }
  .direction-reveal-hint {
    font-size: 19px;
  }
  .direction-details-heading {
    margin-bottom: 12px;
  }
  .direction-details > .primary {
    margin-top: 12px;
  }
}
.direction-duty:last-child {
  animation: none;
}
.mission-door {
  position: relative;
}
.mission-door > .primary {
  position: absolute;
  left: 69%;
  top: 66%;
  margin: 0;
  min-height: 40px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid #e5f8c8;
  color: #f1ffd9;
  border-radius: 9px;
  font-size: 10px;
  letter-spacing: 1px;
  z-index: 2;
  text-shadow: 0 1px 5px #000;
}
.mission-door > .primary:hover {
  background: #d0f8781a;
}
.door-callout-arrow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #e5f8c8;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px #000);
}
@media (max-width: 720px) {
  .mission-door > .primary {
    left: 65%;
    top: 69%;
    padding: 9px 8px;
    font-size: 8px;
    min-height: 32px;
  }
}
.mission-door > .image-placeholder {
  z-index: 0;
}
.mission-door > .door-callout-arrow {
  z-index: 1;
  overflow: visible;
}
.door-callout-arrow > path {
  stroke: #e5f8c8;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}
.door-callout-arrow > path {
  stroke-width: 1.5;
}
.door-callout-arrow marker path {
  stroke-width: 1;
}
.level-completion-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5cqw;
  width: 100%;
  margin: 2cqw 0;
}
.level-completion-row .level-checklist {
  width: 65%;
  text-align: left;
}
.level-completion-check {
  width: 12cqw;
  height: 12cqw;
  flex: none;
}
.level-completion-check .asset-icon {
  width: 100%;
  height: 100%;
}
.level-completion-row .level-checklist > span {
  padding: 1.6cqw 2cqw;
  font-size: 2.4cqw;
  gap: 2cqw;
}
@media (max-width: 720px) {
  .level-completion-row {
    gap: 14px;
  }
  .level-completion-row .level-checklist > span {
    font-size: 10px;
  }
  .level-completion-check {
    width: 40px;
    height: 40px;
  }
}
.level-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3cqw;
  width: 100%;
  margin: 2cqw 0;
}
.level-project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2cqw;
  padding: 3cqw;
  border: 1px solid #ffffff20;
  border-radius: 12px;
  background: #ffffff08;
  min-width: 0;
}
.level-project-card > span {
  font-size: 2.7cqw;
  white-space: nowrap;
}
.level-project-card .project-done {
  width: 5cqw;
  height: 5cqw;
}
.level-project-card .tablet-project-icon {
  width: 7cqw;
  height: 7cqw;
}
@media (max-width: 720px) {
  .level-project-card {
    padding: 12px 8px;
    gap: 8px;
  }
  .level-project-card > span {
    font-size: 10px;
  }
  .level-project-card .project-done {
    width: 20px;
    height: 20px;
  }
  .level-project-card .tablet-project-icon {
    width: 26px;
    height: 26px;
  }
}
.incoming-message-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5cqw;
  width: 46cqw;
  padding: 4cqw 3cqw;
  background: linear-gradient(140deg, #e4e9dd, #bac8b9);
  border: 1px solid #edf5e080;
  border-radius: 2cqw;
  box-shadow: 0 12px 30px #0003;
  color: #23362e;
  margin-bottom: 1.5cqw;
}
.incoming-message-card > .asset-icon {
  width: 10cqw;
  height: 8cqw;
  filter: none;
  opacity: 0.8;
}
.incoming-message-card > span {
  font-size: 3.1cqw;
  line-height: 1.35;
  font-weight: 500;
  text-align: center;
}
.tablet-message > .primary[data-action='open-invitation'],
.tablet-message > .primary[data-action='client-open'] {
  font-size: 1.8cqw;
  min-height: 0;
  padding: 1.6cqw 3.5cqw;
  border-radius: 6px;
  letter-spacing: 0.7px;
}
@media (max-width: 720px) {
  .incoming-message-card {
    width: 190px;
    padding: 18px 16px;
    gap: 12px;
    border-radius: 10px;
  }
  .incoming-message-card > .asset-icon {
    width: 40px;
    height: 32px;
  }
  .incoming-message-card > span {
    font-size: 13px;
  }
  .tablet-message > .primary[data-action='open-invitation'],
  .tablet-message > .primary[data-action='client-open'] {
    font-size: 9px;
    padding: 9px 18px;
  }
}
@media (max-width: 720px) {
  .tablet-level {
    gap: 5px;
    padding: 0;
  }
  .tablet-level h2 {
    font-size: 16px !important;
    margin: 2px 0 !important;
  }
  .level-projects {
    margin: 4px 0;
    gap: 10px;
  }
  .level-project-card {
    padding: 7px;
    gap: 5px;
  }
  .level-project-card .tablet-project-icon {
    width: 22px;
    height: 22px;
  }
  .level-project-card .project-done {
    width: 16px;
    height: 16px;
  }
  .tablet-level > .primary {
    min-height: 28px;
    padding: 7px 14px;
  }
}
.opened-message-card {
  width: 88cqw;
  max-width: 100%;
  background: linear-gradient(140deg, #e4e9dd, #c7d2c3);
  color: #24372e;
  border: 1px solid #edf5e080;
  border-radius: 2cqw;
  box-shadow: 0 12px 30px #0003;
  text-align: left;
  overflow: hidden;
}
.opened-message-card > header {
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding: 2.4cqw 3cqw;
  border-bottom: 1px solid #24372e25;
}
.opened-message-card > header .asset-icon {
  width: 4cqw;
  height: 4cqw;
  filter: none;
  opacity: 0.75;
}
.tablet-message .opened-message-card h2 {
  font-size: 2.6cqw;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0;
  color: #24372e;
}
.opened-message-body {
  padding: 2.8cqw 3cqw;
  display: grid;
  gap: 2cqw;
}
.tablet-message .opened-message-body p {
  font-size: 2.7cqw;
  line-height: 1.5;
  color: #34483c;
  margin: 0;
}
.opened-message-body strong {
  font-weight: 600;
}
.tablet-message > .primary[data-action='start'] {
  font-size: 1.8cqw;
  min-height: 0;
  padding: 1.6cqw 3.5cqw;
  border-radius: 6px;
  letter-spacing: 0.7px;
  margin-top: 1cqw;
}
@media (max-width: 720px) {
  .opened-message-card {
    border-radius: 10px;
  }
  .opened-message-card > header {
    padding: 10px 12px;
    gap: 8px;
  }
  .tablet-message .opened-message-card h2 {
    font-size: 11px;
  }
  .opened-message-card > header .asset-icon {
    width: 18px;
    height: 18px;
  }
  .opened-message-body {
    padding: 11px 12px;
    gap: 8px;
  }
  .tablet-message .opened-message-body p {
    font-size: 10px;
    line-height: 1.4;
  }
  .tablet-message > .primary[data-action='start'] {
    font-size: 9px;
    padding: 9px 16px;
  }
}
.feedback-anchor {
  position: relative;
  overflow: visible;
}
.feedback-anchor > .subscription-toast {
  position: absolute;
  top: -26px;
  right: -12px;
  left: auto;
  z-index: 8;
  max-width: min(340px, 90%);
  gap: 10px;
  padding: 12px 15px;
  border-width: 1px;
  border-radius: 14px 14px 3px 14px;
  box-shadow: 0 10px 25px #0004;
  backdrop-filter: none;
  transform: rotate(3deg);
  animation: feedback-arrive 0.3s ease-out;
}
.subscription-toast .toast-error-icon {
  width: 25px;
  height: 25px;
  flex: none;
  font-size: 17px;
}
.subscription-toast b {
  font-size: 10px;
  letter-spacing: 1px;
}
.subscription-toast p {
  font-size: 12px;
  margin-top: 3px;
}
.subscription-toast .toast-close {
  font-size: 18px;
  padding-left: 6px;
}
.button-check-scene:has(.subscription-toast) > .like-comment {
  visibility: hidden;
}
.feedback-anchor > .subscription-toast.toast-leaving {
  animation: feedback-depart 0.25s ease-in forwards;
}
@keyframes feedback-arrive {
  from {
    opacity: 0;
    transform: translateY(10px) rotate(3deg) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(3deg) scale(1);
  }
}
@keyframes feedback-depart {
  to {
    opacity: 0;
    transform: translateY(-8px) rotate(3deg) scale(0.95);
  }
}
@media (max-width: 720px) {
  .feedback-anchor > .subscription-toast {
    right: 0;
    top: -20px;
    padding: 10px 12px;
    max-width: 90%;
  }
}
.quiz-option > .asset-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
}
@media (max-width: 720px) {
  .quiz-option > .asset-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
  }
}
.tablet-youtube {
  gap: 2cqw;
}
.tablet-youtube h2 {
  margin: 1cqw 0 2cqw;
}
.youtube-completion-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2cqw;
  width: 68cqw;
  max-width: 100%;
  margin: 0 0 2cqw;
}
.youtube-completion-cards > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3cqw;
  padding: 2.5cqw 3cqw;
  border: 1px solid #94ad743d;
  border-radius: 10px;
  background: #ffffff08;
}
.youtube-completion-cards span {
  font-size: 2.7cqw;
  color: #edf4e6;
}
.youtube-completion-cards .asset-icon {
  width: 3.6cqw;
  height: 3.6cqw;
}
.tablet-youtube > .primary {
  font-size: 1.8cqw;
  min-height: 0;
  padding: 1.6cqw 3.5cqw;
}
@media (max-width: 720px) {
  .tablet-youtube {
    gap: 6px;
  }
  .tablet-youtube .tablet-project-icon {
    width: 26px;
    height: 26px;
  }
  .youtube-completion-cards {
    gap: 9px;
    margin-bottom: 5px;
  }
  .youtube-completion-cards > div {
    padding: 10px 12px;
  }
  .youtube-completion-cards span {
    font-size: 11px;
  }
  .youtube-completion-cards .asset-icon {
    width: 16px;
    height: 16px;
  }
  .tablet-youtube > .primary {
    font-size: 9px;
    padding: 9px 18px;
  }
}
.quiz-option.quiz-correct {
  background: #234932 !important;
  border-color: #83d99b !important;
  color: #b6f7c8;
}
.quiz-option.quiz-incorrect {
  background: #532c31 !important;
  border-color: #ed898f !important;
  color: #ffc1c5;
}
.quiz-option.quiz-incorrect > .asset-icon {
  filter: invert(79%) sepia(22%) saturate(950%) hue-rotate(300deg);
}
.quiz-option.quiz-correct > b {
  color: #b6f7c8;
}
.quiz-option.quiz-incorrect > b {
  color: #ffc1c5;
}
.tablet-message > .primary[data-action='client-accept'] {
  font-size: 1.8cqw;
  min-height: 0;
  padding: 1.6cqw 3.5cqw;
  border-radius: 6px;
  letter-spacing: 0.7px;
  margin-top: 1cqw;
}
@media (max-width: 720px) {
  .tablet-message .client-message-card .opened-message-body p {
    font-size: 9px;
  }
  .client-message-card .opened-message-body {
    padding: 9px 12px;
    gap: 7px;
  }
  .tablet-message > .primary[data-action='client-accept'] {
    font-size: 9px;
    padding: 9px 16px;
  }
}
.screen-choose .direction-orbit {
  height: 390px;
  max-width: 900px;
  overflow: visible;
}
.direction-avatar {
  display: block;
  width: 255px;
  height: 390px;
  object-fit: contain;
  object-position: center bottom;
}
.screen-choose .orbit-label {
  z-index: 1;
}
@media (max-width: 720px) {
  .screen-choose .direction-orbit {
    height: 380px;
  }
  .direction-avatar {
    width: 190px;
    height: 300px;
    align-self: center;
  }
  .screen-choose .orbit-label {
    font-size: 11px;
    padding: 10px;
    width: 135px;
  }
  .screen-choose .orbit-0,
  .screen-choose .orbit-1 {
    top: 0;
  }
  .screen-choose .orbit-2,
  .screen-choose .orbit-3 {
    bottom: 0;
  }
  .screen-choose .orbit-label > .asset-icon {
    width: 18px;
    height: 18px;
  }
}
.screen-choose {
  bottom: 0;
  overflow: visible;
}
.screen-choose .slide-content {
  height: 100%;
  transform: none !important;
}
.screen-choose .screen-heading {
  position: absolute;
  top: 12%;
  left: 0;
  width: 100%;
}
.screen-choose .screen-body {
  position: absolute;
  top: 34%;
  bottom: 0;
  left: 4%;
  right: 4%;
  max-width: none;
}
.screen-choose .direction-orbit {
  height: 100%;
  max-width: 1000px;
}
.screen-choose .direction-avatar {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  max-width: 48%;
  object-fit: contain;
  object-position: center bottom;
}
.screen-choose .orbit-0,
.screen-choose .orbit-1 {
  top: 8%;
}
.screen-choose .orbit-2,
.screen-choose .orbit-3 {
  bottom: 25%;
}
body:has(.screen-choose) footer {
  background: transparent;
}
@media (max-width: 720px) {
  .screen-choose .screen-heading {
    top: 8%;
  }
  .screen-choose .screen-body {
    top: 29%;
  }
  .screen-choose .direction-avatar {
    max-width: 76%;
  }
  .screen-choose .orbit-0,
  .screen-choose .orbit-1 {
    top: 2%;
  }
  .screen-choose .orbit-2,
  .screen-choose .orbit-3 {
    bottom: 16%;
  }
  .screen-choose .orbit-label {
    width: 120px;
    font-size: 10px;
  }
}
body:has(.screen-matchIntro) footer,
body:has(.screen-match) footer,
body:has(.screen-countdown) footer {
  background: transparent;
}
.screen-result .screen-heading p {
  font-size: clamp(12px, 1.1vw, 16px);
  line-height: 1.5;
  margin-top: 12px;
}
.result-course {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin: 20px 0;
}
.result-card .course-name {
  font-size: 15px;
  margin: 0;
  color: var(--accent, #d4fc76);
}
.completed-message-card + .primary {
  font-size: 1.8cqw;
  min-height: 0;
  padding: 1.6cqw 3.5cqw;
  border-radius: 6px;
  letter-spacing: 0.7px;
  margin-top: 1cqw;
}
@media (max-width: 720px) {
  .completed-message-card + .primary {
    font-size: 9px;
    padding: 9px 16px;
  }
}

.result-course-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}
.result-promo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  border: 1px dashed var(--lime);
  border-radius: 8px;
  text-align: left;
}
.result-promo > span {
  font-size: 10px;
  color: var(--muted);
}
.result-promo strong {
  font-size: 13px;
  letter-spacing: 0.6px;
  color: var(--lime);
}
.incoming-message-card,
.opened-message-card {
  background: linear-gradient(135deg, rgba(205, 235, 212, 0.14), rgba(130, 174, 153, 0.055));
  color: #f1f6ed;
  border: 1px solid rgba(219, 246, 221, 0.24);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(241, 255, 239, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.opened-message-card > header {
  background: rgba(218, 248, 201, 0.045);
  border-bottom: 1px solid rgba(219, 246, 221, 0.13);
}
.tablet-message .opened-message-card h2 {
  color: #dcf5bf;
}
.tablet-message .opened-message-body p {
  color: #d3dfd7;
}
.opened-message-body strong {
  color: #f3f7ef;
}
.incoming-message-card > .asset-icon,
.opened-message-card > header .asset-icon {
  filter: invert(89%) sepia(30%) saturate(636%) hue-rotate(30deg) brightness(107%) contrast(97%);
  opacity: 1;
}

.screen-departments .department:nth-child(n) {
  background: var(--panel);
  border-color: var(--line);
}
.screen-departments .task-inbox {
  max-width: 590px;
  margin-bottom: 24px;
}
.screen-departments .task-card {
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
  padding: 18px 22px;
}
@media (max-width: 720px) {
  .screen-departments .task-card {
    font-size: 15px;
    padding: 14px 16px;
  }
}

.screen-favorite .department:nth-child(n) {
  background: var(--panel);
  border-color: var(--line);
}

.result-restart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  margin: 4px 0 0;
  padding: 12px 18px;
  border: 1px solid rgba(208, 248, 120, 0.4);
  border-radius: 8px;
  background: rgba(208, 248, 120, 0.06);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.result-restart .asset-icon {
  width: 18px;
  height: 18px;
}
.result-restart:hover {
  background: rgba(208, 248, 120, 0.13);
  border-color: var(--lime);
}
.tablet-message:has(> .opened-message-card) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  align-content: center;
  width: 88cqw;
  max-width: 100%;
  margin-inline: auto;
}
.tablet-message > .opened-message-card {
  width: 100%;
}
.tablet-message .opened-message-body p,
.tablet-message .opened-message-body strong {
  font-weight: 400;
}
.tablet-message > .opened-message-card + .primary {
  justify-self: end;
  align-self: start;
  margin-left: 0;
  margin-right: 0;
}

.screen-courses .course-panel {
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  padding: 26px;
}
.student-carousel {
  min-width: 0;
  width: 100%;
}
.student-media {
  height: clamp(240px, 42vh, 440px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  background: #101717;
}
.student-media img,
.student-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.student-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 12px;
}
.student-carousel-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
}
.student-carousel-controls .asset-icon {
  width: 16px;
  height: 16px;
}
.work-arrow-back {
  transform: rotate(180deg);
}
.student-carousel-controls > span {
  font-size: 12px;
  color: var(--muted);
  min-width: 45px;
  text-align: center;
}
@media (max-width: 720px) {
  .screen-courses .course-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }
  .student-media {
    height: 260px;
  }
}
.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
}
.site-header .header-start {
  justify-self: start;
}
.site-header .session {
  justify-self: center;
}
.site-header .header-actions {
  justify-self: end;
}

.screen-favorite .department.active:nth-child(n) {
  background: rgba(208, 248, 120, 0.14);
  border-color: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(208, 248, 120, 0.15);
}
.screen-departments .assigned {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.screen-departments .assigned > .asset-icon {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
}
#next.next-ready:not(:disabled) {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 0 5px rgba(208, 248, 120, 0.1);
  animation: next-step-pulse 2.4s ease-in-out infinite;
}
#next.next-ready:not(:disabled) .asset-icon {
  filter: none;
}
#next.next-ready:not(:disabled):hover {
  background: #e0ff9c;
  box-shadow: 0 0 0 7px rgba(208, 248, 120, 0.17);
}
#next:disabled {
  animation: none;
  box-shadow: none;
  background: transparent;
}
#previous:not(:disabled):hover {
  border-color: var(--lime);
  background: rgba(208, 248, 120, 0.1);
}
#previous:not(:disabled):hover .asset-icon {
  filter: invert(91%) sepia(25%) saturate(670%) hue-rotate(30deg);
}
@keyframes next-step-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(208, 248, 120, 0.08);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(208, 248, 120, 0.18);
  }
}
@media (prefers-reduced-motion: reduce) {
  #next.next-ready:not(:disabled) {
    animation: none;
  }
}

.yt-ui-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: middle;
}
.yt-controls-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.yt-reactions > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.yt-reactions .asset-icon {
  width: 15px;
  height: 15px;
  filter: none;
}
.yt-reactions .yt-ui-icon {
  width: 16px;
  height: 16px;
}
.yt-player-controls > span {
  display: inline-flex;
  align-items: center;
}
.yt-menu .yt-ui-icon,
.yt-search-icon .yt-ui-icon,
.yt-mic .yt-ui-icon {
  width: 20px;
  height: 20px;
}
.hand-phone-screen .swipe-actions {
  flex-shrink: 0;
  align-items: flex-start;
  margin: 0 0 6cqw;
  padding-bottom: 8cqw;
}
.hand-phone-screen .swipe-actions button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-bottom: 0;
}
.hand-phone-screen .swipe-actions small {
  top: calc(100% + 2.5cqw);
  left: 50%;
  transform: translateX(-50%);
  font-size: 3cqw;
  line-height: 1.3;
  letter-spacing: 0.3px;
}
.screen-tablet .tablet-mockup {
  bottom: calc(-100svh * 0.27 + clamp(24px, 5svh, 54px));
}
@media (max-width: 720px) {
  .screen-tablet .tablet-mockup {
    bottom: -11px;
  }
}
