html.article-embed,
html.article-embed body {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: transparent;
}

html.article-embed body {
  display: block;
}

html.article-embed .sidebar,
html.article-embed .chat-trigger,
html.article-embed .feedback-window,
html.article-embed .chat-widget-container,
html.article-embed .feedback-widget,
html.article-embed #notificationBtn,
html.article-embed #training-dashboard,
html.article-embed .training-top .load-profile-chip,
html.article-embed .training-top .btn-setup-gear-mobile,
html.article-embed .game-area-wrapper > .side-info,
html.article-embed #pause-goal-plate,
html.article-embed .tablet-tap-hint,
html.article-embed .modal-overlay,
html.article-embed .training-dashboard-overlay,
html.article-embed .toast {
  display: none !important;
}

html.article-embed .main-content {
  width: 100% !important;
  height: 100dvh !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

html.article-embed #content-training {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

html.article-embed .training-layout {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: 700px;
  min-height: 0;
  margin: 0 auto;
  padding: 18px 28px 22px;
  justify-content: center;
  gap: 12px;
  outline: 0;
}

html.article-embed .training-layout[hidden] {
  display: none !important;
}

html.article-embed .training-top {
  width: min(100%, 470px) !important;
  min-height: 42px !important;
  margin: 0 auto !important;
  padding: 0 2px !important;
}

html.article-embed .training-progress-plate,
html.article-embed .training-top .side-info.level-box {
  display: flex !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 7px !important;
}

html.article-embed .training-top .info-title,
html.article-embed .training-top .label-dim {
  color: rgba(224, 224, 224, .48) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 1.25px !important;
  text-transform: uppercase;
}

html.article-embed .training-top .value-bright {
  margin: 0 !important;
  color: #fff !important;
  font-size: 15px !important;
}

html.article-embed .game-area-wrapper {
  width: 100%;
  min-height: 0;
  flex: 0 0 auto;
  gap: 0 !important;
}

html.article-embed .grid-stage {
  display: flex;
  justify-content: center;
  width: 100%;
}

html.article-embed .nback-grid-wrap {
  width: min(43dvh, 330px, calc(100vw - 40px));
  height: min(43dvh, 330px, calc(100vw - 40px));
  min-width: 0;
  min-height: 0;
}

html.article-embed .article-widget-ready.is-paused .nback-grid-wrap {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

html.article-embed .training-bottom {
  width: 100%;
  margin-top: 8px !important;
  gap: 12px !important;
}

html.article-embed .mobile-start-pause-btn {
  display: block !important;
  order: 0 !important;
  width: min(100%, 330px) !important;
  min-height: 52px;
  margin: 0 auto !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(255, 205, 48, .16), rgba(255, 205, 48, .055)) !important;
  color: #ffcd30 !important;
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .15px !important;
  text-transform: none !important;
  cursor: pointer;
}

html.article-embed .article-widget-ready .mobile-start-pause-btn {
  background: linear-gradient(135deg, #ffcd30 0%, #ff9900 100%) !important;
  color: #08090e !important;
  box-shadow: 0 10px 40px rgba(255, 205, 48, .3);
  transition: transform .25s ease, box-shadow .25s ease;
}

html.article-embed .article-widget-ready .mobile-start-pause-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 15px 45px rgba(255, 205, 48, .42);
}

html.article-embed .training-bottom > .label-dim {
  order: 1 !important;
  color: rgba(224, 224, 224, .38) !important;
  font-size: 8px !important;
  font-weight: 800;
  letter-spacing: 2.5px !important;
  text-transform: uppercase;
}

html.article-embed .controls-group {
  display: flex !important;
  order: 2 !important;
  gap: 44px !important;
}

html.article-embed .control-item {
  gap: 11px;
  user-select: none;
}

html.article-embed .mouse-btn-label {
  color: #fff;
  font-size: 8px;
}

html.article-embed .mouse-action-label {
  font-size: 10px;
}

html.article-embed .tutorial-overlay {
  background: rgba(7, 8, 15, .68);
}

html.article-embed .tutorial-overlay.academy-position-overlay {
  z-index: 2000;
}

html.article-embed .academy-position-box .tutorial-text span {
  display: block;
  margin-top: 9px;
  color: rgba(235, 236, 244, .72);
  font-size: 13px;
  line-height: 1.55;
}

html.article-embed .academy-position-overlay .academy-position-box {
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

html.article-embed .academy-practice-success svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html.article-embed .grid-cell.tutorial-focus-cell {
  position: relative;
  z-index: 2002;
  border-color: #ffcd30 !important;
  box-shadow: 0 0 0 3px rgba(255, 205, 48, .18), 0 0 30px rgba(255, 205, 48, .38) !important;
}

html.article-embed .article-widget-result {
  display: flex;
  width: min(100% - 42px, 620px);
  min-height: calc(100% - 42px);
  margin: 21px auto;
  padding: clamp(28px, 5vw, 48px);
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 205, 48, .055), rgba(17, 18, 30, .98) 42%, rgba(81, 71, 198, .075));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

html.article-embed .article-widget-result-kicker,
html.article-embed .article-widget-signature {
  color: #ffcd30;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.7px;
}

html.article-embed .article-widget-result-kicker {
  text-transform: uppercase;
}

html.article-embed .article-widget-result h2 {
  max-width: 510px;
  margin: 12px 0 20px;
  color: #fff;
  font-size: clamp(25px, 4.5vw, 38px);
  line-height: 1.08;
}

html.article-embed .article-widget-scores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

html.article-embed .article-widget-scores div {
  display: flex;
  padding: 14px 16px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
}

html.article-embed .article-widget-scores span {
  color: rgba(235, 236, 244, .58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

html.article-embed .article-widget-scores strong {
  color: #fff;
  font-size: 17px;
}

html.article-embed .article-widget-result p {
  margin: 0;
  color: rgba(235, 236, 244, .68);
  font-size: 13px;
  line-height: 1.65;
}

html.article-embed .article-widget-actions {
  display: grid;
  gap: 10px;
  margin: 23px 0 18px;
}

html.article-embed .article-widget-actions a {
  display: flex;
  min-height: 48px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

html.article-embed .article-widget-primary {
  background: linear-gradient(135deg, #ffcd30 0%, #ff9900 100%);
  color: #08090e !important;
  box-shadow: 0 10px 30px rgba(255, 205, 48, .18);
}

html.article-embed .article-widget-secondary {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .035);
}

html.article-embed .article-widget-signature {
  color: rgba(235, 236, 244, .38);
  font-size: 10px;
  letter-spacing: .2px;
  text-transform: none;
}

@media (max-width: 700px) {
  html.article-embed .training-layout {
    padding: 12px 12px 16px;
  }

  html.article-embed .nback-grid-wrap {
    width: min(41dvh, 290px, calc(100vw - 30px)) !important;
    height: min(41dvh, 290px, calc(100vw - 30px)) !important;
    min-width: 0;
    min-height: 0;
    padding: 11px;
  }

  html.article-embed .grid-3x3 {
    gap: 8px;
  }

  html.article-embed .controls-group {
    gap: 22px !important;
  }

  html.article-embed .mouse-btn-label {
    display: none;
  }

  html.article-embed .article-widget-result {
    width: calc(100% - 24px);
    min-height: calc(100% - 24px);
    margin: 12px auto;
    padding: 25px 20px;
  }

  html.article-embed .article-widget-scores {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 630px) and (min-width: 701px) {
  html.article-embed .training-layout {
    padding-top: 8px;
  }

  html.article-embed .nback-grid-wrap {
    width: 270px;
    height: 270px;
    min-width: 0;
    min-height: 0;
  }

  html.article-embed .training-bottom {
    gap: 8px !important;
  }
}
