.dentist-pro-card {
  --card-accent: #6d5cff;
  --card-soft: #eeecff;
  grid-template-rows: auto auto auto;
  align-items: start;
  overflow: hidden;
  border-color: rgb(109 92 255 / 34%);
  background:
    radial-gradient(circle at 92% 10%, rgb(118 255 218 / 28%), transparent 29%),
    radial-gradient(circle at 68% 110%, rgb(121 92 255 / 18%), transparent 42%),
    var(--app-surface);
}

.dentist-pro-card::after {
  position: absolute;
  right: -1.1rem;
  bottom: -2rem;
  color: rgb(109 92 255 / 8%);
  font-size: 7rem;
  line-height: 1;
  content: "✦";
  transform: rotate(18deg);
}

.dentist-pro-card > * {
  position: relative;
  z-index: 1;
}

.dentist-pro-card > .dentist-pro-flag {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  max-width: 100%;
  margin-bottom: 0.35rem;
}

.dentist-pro-card > .game-icon {
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: center;
}

.dentist-pro-card > .game-name {
  grid-column: 2;
  grid-row: 2;
}

.dentist-pro-card > .game-description {
  grid-column: 2;
  grid-row: 3;
}

.dentist-pro-flag {
  color: #071f1c;
  background: #6dffd8;
  box-shadow:
    0 0 0 0.25rem rgb(109 255 216 / 13%),
    0 0.45rem 1rem rgb(32 171 135 / 18%);
}

.dentist-classic-flag {
  color: #334155;
  background: #dce6ee;
  box-shadow: none;
}

.dentist-pro-screen {
  width: min(100%, 88rem);
  margin: 0 auto;
  color: #f7f9ff;
}

.dentist-pro-shell {
  overflow: hidden;
  border: 1px solid rgb(146 153 255 / 20%);
  border-radius: clamp(1.1rem, 2.4vw, 2rem);
  background: #080b17;
  box-shadow:
    0 2rem 6rem rgb(18 13 55 / 30%),
    inset 0 1px 0 rgb(255 255 255 / 8%);
}

.dentist-pro-intro {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(46rem, calc(100dvh - 7.5rem));
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  background:
    radial-gradient(circle at 80% 42%, rgb(72 226 201 / 17%), transparent 31%),
    radial-gradient(circle at 14% 110%, rgb(99 74 255 / 32%), transparent 42%),
    linear-gradient(145deg, #090c19 0%, #11132a 52%, #091b25 100%);
}

.dentist-pro-intro-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(rgb(137 149 255 / 28%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(137 149 255 / 28%) 1px, transparent 1px);
  background-size: 3.4rem 3.4rem;
  mask-image: linear-gradient(90deg, black, transparent 78%);
}

.dentist-pro-intro-copy {
  display: flex;
  padding: clamp(2rem, 6vw, 5.5rem);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.dentist-pro-kicker,
.dentist-pro-panel-label,
.dentist-pro-eyebrow {
  color: #72f6d3;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.dentist-pro-kicker {
  display: inline-flex;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgb(114 246 211 / 32%);
  border-radius: 999px;
  align-items: center;
  gap: 0.45rem;
  background: rgb(20 92 81 / 22%);
}

.dentist-pro-kicker::before {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #72f6d3;
  box-shadow: 0 0 0.8rem #72f6d3;
  content: "";
}

.dentist-pro-intro h2 {
  margin: 1.25rem 0 1rem;
  color: white;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.78;
}

.dentist-pro-intro h2 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(90deg, #765cff, #72f6d3);
  background-clip: text;
  -webkit-background-clip: text;
}

.dentist-pro-intro-copy > p {
  max-width: 39rem;
  margin: 0;
  color: rgb(236 240 255 / 68%);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  font-weight: 560;
  line-height: 1.62;
}

.dentist-pro-feature-grid {
  display: grid;
  width: min(100%, 34rem);
  margin: 1.75rem 0;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid rgb(255 255 255 / 10%);
}

.dentist-pro-feature-grid span {
  padding: 0.9rem 0.55rem;
  color: rgb(231 235 255 / 62%);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
}

.dentist-pro-feature-grid span + span {
  border-left: 1px solid rgb(255 255 255 / 10%);
}

.dentist-pro-feature-grid b {
  display: block;
  margin-bottom: 0.12rem;
  color: white;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.dentist-pro-primary {
  display: inline-flex;
  min-height: 3.4rem;
  padding: 0.72rem 0.8rem 0.72rem 1.3rem;
  border: 0;
  border-radius: 1rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #10142c;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 950;
  background: linear-gradient(135deg, #72f6d3, #8ef1db);
  box-shadow:
    0 0.9rem 2rem rgb(54 222 183 / 20%),
    inset 0 1px 0 rgb(255 255 255 / 62%);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.dentist-pro-primary i {
  display: grid;
  width: 2rem;
  aspect-ratio: 1;
  border-radius: 0.65rem;
  place-items: center;
  color: white;
  font-style: normal;
  background: #171c3d;
}

.dentist-pro-primary:hover {
  box-shadow:
    0 1.2rem 2.4rem rgb(54 222 183 / 27%),
    inset 0 1px 0 rgb(255 255 255 / 62%);
  transform: translateY(-0.15rem);
}

.dentist-pro-primary:focus-visible,
.dentist-pro-back:focus-visible,
.dentist-pro-tool:focus-visible,
.dentist-pro-icon-button:focus-visible,
.dentist-pro-actions button:focus-visible,
#dentist-pro-canvas:focus-visible {
  outline: 3px solid #ffe66d;
  outline-offset: 3px;
}

.dentist-pro-back {
  margin-top: 0.75rem;
  padding: 0.55rem 0;
  border: 0;
  color: rgb(232 237 255 / 54%);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  background: transparent;
  cursor: pointer;
}

.dentist-pro-intro-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 32rem;
  place-items: center;
  perspective: 900px;
}

.dentist-pro-intro-visual::before {
  position: absolute;
  width: min(82%, 30rem);
  aspect-ratio: 1;
  border: 1px solid rgb(107 246 211 / 14%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgb(114 246 211 / 17%), rgb(95 77 231 / 8%) 41%, transparent 70%);
  box-shadow:
    inset 0 0 4rem rgb(114 246 211 / 12%),
    0 0 5rem rgb(114 246 211 / 9%);
  content: "";
  animation: dentist-pro-aura 4s ease-in-out infinite alternate;
}

.dentist-pro-orbit {
  position: absolute;
  width: min(78%, 28rem);
  aspect-ratio: 1;
  border: 1px dashed rgb(125 118 255 / 30%);
  border-radius: 50%;
  transform: rotateX(67deg) rotateZ(12deg);
  animation: dentist-pro-orbit 16s linear infinite;
}

.dentist-pro-orbit::after {
  position: absolute;
  top: -0.27rem;
  left: 50%;
  width: 0.55rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #72f6d3;
  box-shadow: 0 0 1rem #72f6d3;
  content: "";
}

.dentist-pro-orbit.orbit-two {
  width: min(58%, 21rem);
  border-color: rgb(114 246 211 / 25%);
  transform: rotateX(58deg) rotateZ(-48deg);
  animation-duration: 11s;
  animation-direction: reverse;
}

.dentist-pro-holo {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(76%, 25rem);
  aspect-ratio: 0.92;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 45% 45% 2.2rem 2.2rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(155deg, rgb(255 255 255 / 11%), transparent 35%),
    linear-gradient(180deg, rgb(34 41 85 / 87%), rgb(10 17 37 / 76%));
  box-shadow:
    0 2.5rem 4rem rgb(0 0 0 / 28%),
    inset 0 1px 0 rgb(255 255 255 / 18%);
  backdrop-filter: blur(0.8rem);
  transform: rotateY(-8deg) rotateX(4deg);
}

.dentist-pro-holo::after {
  position: absolute;
  right: 8%;
  bottom: 6%;
  left: 8%;
  height: 0.35rem;
  border-radius: 50%;
  background: #72f6d3;
  box-shadow: 0 0 1.4rem #72f6d3;
  content: "";
}

.dentist-pro-holo-crown {
  position: absolute;
  top: 9%;
  right: 15%;
  color: #ffe66d;
  font-size: 2rem;
  filter: drop-shadow(0 0 0.8rem rgb(255 230 109 / 75%));
  animation: dentist-pro-spark 1.8s ease-in-out infinite;
}

.dentist-pro-holo-tooth {
  font-size: clamp(7.5rem, 15vw, 11rem);
  line-height: 1;
  filter:
    drop-shadow(0 1.1rem 0.9rem rgb(0 0 0 / 25%))
    drop-shadow(0 0 1.5rem rgb(114 246 211 / 22%));
  animation: dentist-pro-float 3.5s ease-in-out infinite;
}

.dentist-pro-holo strong {
  margin-top: 1.2rem;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
}

.dentist-pro-holo small {
  margin-top: 0.42rem;
  color: rgb(221 228 255 / 43%);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.dentist-pro-engine-pill {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 10%;
  display: flex;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 0.8rem;
  align-items: center;
  gap: 0.5rem;
  color: rgb(237 241 255 / 74%);
  font-size: 0.67rem;
  font-weight: 850;
  background: rgb(8 12 27 / 72%);
  backdrop-filter: blur(0.7rem);
}

.dentist-pro-engine-pill i,
.dentist-pro-live i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #72f6d3;
  box-shadow: 0 0 0.65rem #72f6d3;
}

.dentist-pro-game {
  min-height: min(54rem, calc(100dvh - 7.5rem));
  padding: clamp(0.7rem, 1.5vw, 1.15rem);
  color: #f6f8ff;
  background:
    radial-gradient(circle at 83% 12%, rgb(98 78 236 / 16%), transparent 31%),
    #080b17;
}

.dentist-pro-hud {
  display: flex;
  min-height: 4.4rem;
  padding: 0.45rem 0.55rem 0.7rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dentist-pro-patient {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.8rem;
}

.dentist-pro-avatar {
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 0.9rem;
  place-items: center;
  font-size: 1.55rem;
  background: linear-gradient(145deg, #29265d, #15172e);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 13%);
}

.dentist-pro-patient h2 {
  overflow: hidden;
  margin: 0.2rem 0 0;
  color: white;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dentist-pro-stats {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dentist-pro-stats > div {
  min-width: 4.6rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 0.8rem;
  background: rgb(255 255 255 / 4%);
}

.dentist-pro-stats span {
  display: block;
  color: rgb(225 231 255 / 39%);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.dentist-pro-stats strong {
  display: block;
  margin-top: 0.1rem;
  color: #72f6d3;
  font-size: 1rem;
}

.dentist-pro-icon-button {
  display: grid;
  width: 2.9rem;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 0.8rem;
  place-items: center;
  color: white;
  font: inherit;
  font-size: 1.1rem;
  background: rgb(255 255 255 / 5%);
  cursor: pointer;
}

.dentist-pro-icon-button[aria-pressed="false"] {
  color: rgb(255 255 255 / 32%);
}

.dentist-pro-progress-row {
  display: grid;
  padding: 0 0.55rem 0.8rem;
  grid-template-columns: auto minmax(8rem, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
}

.dentist-pro-progress-row > span {
  color: rgb(228 233 255 / 46%);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.dentist-pro-progress-track {
  overflow: hidden;
  height: 0.38rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 8%);
}

.dentist-pro-progress-track i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #765cff, #72f6d3);
  box-shadow: 0 0 1rem rgb(114 246 211 / 45%);
  transition: width 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dentist-pro-progress-row strong {
  color: #72f6d3;
  font-size: 0.76rem;
}

.dentist-pro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 21rem);
  gap: 0.8rem;
}

.dentist-pro-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(31rem, 68dvh, 43rem);
  border: 1px solid rgb(145 155 255 / 17%);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 50% 42%, #22314e, #0b1020 72%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 8%),
    0 1rem 3rem rgb(0 0 0 / 22%);
}

#dentist-pro-canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  outline: none;
  touch-action: none;
}

.dentist-pro-stage-top {
  position: absolute;
  z-index: 3;
  top: 0.85rem;
  right: 0.85rem;
  left: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  pointer-events: none;
}

.dentist-pro-live,
.dentist-pro-camera-hint {
  display: inline-flex;
  padding: 0.42rem 0.58rem;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 0.55rem;
  align-items: center;
  gap: 0.4rem;
  color: rgb(241 244 255 / 61%);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  background: rgb(5 9 20 / 57%);
  backdrop-filter: blur(0.7rem);
}

.dentist-pro-camera-hint {
  color: rgb(241 244 255 / 48%);
  font-weight: 700;
  letter-spacing: 0;
}

.dentist-pro-toast {
  position: absolute;
  z-index: 4;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: fit-content;
  max-width: calc(100% - 2rem);
  margin: auto;
  padding: 0.68rem 0.9rem;
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 0.8rem;
  color: rgb(247 249 255 / 86%);
  font-size: 0.76rem;
  font-weight: 750;
  text-align: center;
  background: rgb(8 12 27 / 76%);
  box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 20%);
  backdrop-filter: blur(0.85rem);
  pointer-events: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.dentist-pro-toast.is-success {
  border-color: rgb(114 246 211 / 48%);
}

.dentist-pro-toast.is-wrong {
  border-color: rgb(255 119 142 / 65%);
  animation: dentist-pro-shake 300ms ease;
}

.dentist-pro-loading {
  position: absolute;
  z-index: 8;
  display: flex;
  padding: 1.5rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  inset: 0;
  color: white;
  text-align: center;
  background:
    radial-gradient(circle, rgb(46 68 111 / 92%), rgb(7 11 25 / 98%) 70%);
  transition: opacity 350ms ease, visibility 350ms ease;
}

.dentist-pro-loading[hidden] {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.dentist-pro-loading strong {
  margin-top: 1rem;
  font-size: 1rem;
}

.dentist-pro-loading > span {
  margin-top: 0.32rem;
  color: rgb(226 232 255 / 50%);
  font-size: 0.72rem;
}

.dentist-pro-loader {
  display: flex;
  gap: 0.38rem;
}

.dentist-pro-loader i {
  width: 0.65rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #72f6d3;
  box-shadow: 0 0 0.8rem rgb(114 246 211 / 60%);
  animation: dentist-pro-loader 800ms ease-in-out infinite alternate;
}

.dentist-pro-loader i:nth-child(2) {
  animation-delay: 160ms;
}

.dentist-pro-loader i:nth-child(3) {
  animation-delay: 320ms;
}

.dentist-pro-treatment-meter {
  --treatment-progress: 0deg;
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: grid;
  width: 8.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  place-items: center;
  color: white;
  background: rgb(7 12 28 / 78%);
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 26%);
  backdrop-filter: blur(0.8rem);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.dentist-pro-treatment-meter[hidden] {
  display: none;
}

.dentist-pro-treatment-meter i {
  position: absolute;
  border-radius: 50%;
  inset: 0.38rem;
  background:
    radial-gradient(circle, transparent 61%, #11172c 63%),
    conic-gradient(#72f6d3 var(--treatment-progress), rgb(255 255 255 / 9%) 0);
  box-shadow: 0 0 1.2rem rgb(114 246 211 / 18%);
}

.dentist-pro-treatment-meter strong {
  z-index: 1;
  max-width: 6rem;
  font-size: 0.68rem;
  line-height: 1.2;
  text-align: center;
}

.dentist-pro-panel {
  display: flex;
  min-height: 0;
  padding: 0.9rem;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 1.35rem;
  flex-direction: column;
  gap: 0.8rem;
  background:
    linear-gradient(160deg, rgb(255 255 255 / 6%), transparent 38%),
    #101427;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 7%);
}

.dentist-pro-task {
  padding: 0.25rem 0.2rem 0.2rem;
}

.dentist-pro-task h3 {
  margin: 0.6rem 0 0.4rem;
  color: white;
  font-size: 1.08rem;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.dentist-pro-task > p {
  margin: 0;
  color: rgb(225 230 250 / 51%);
  font-size: 0.73rem;
  line-height: 1.48;
}

.dentist-pro-problem-key {
  display: flex;
  margin-top: 0.75rem;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.dentist-pro-problem-key span {
  display: inline-flex;
  padding: 0.32rem 0.46rem;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 0.48rem;
  align-items: center;
  gap: 0.28rem;
  color: rgb(239 242 255 / 64%);
  font-size: 0.6rem;
  font-weight: 800;
  background: rgb(255 255 255 / 4%);
}

.dentist-pro-problem-key i {
  width: 0.42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--problem-color);
  box-shadow: 0 0 0.5rem color-mix(in srgb, var(--problem-color), transparent 35%);
}

.dentist-pro-problem-key b {
  color: white;
}

.dentist-pro-toolbox {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
}

.dentist-pro-tools {
  display: grid;
  margin-top: 0.6rem;
  grid-template-columns: 1fr;
  gap: 0.38rem;
}

.dentist-pro-tool {
  display: grid;
  min-height: 3.4rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 0.75rem;
  grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  color: #f5f7ff;
  font: inherit;
  text-align: left;
  background: rgb(255 255 255 / 3%);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.dentist-pro-tool:hover {
  border-color: rgb(142 131 255 / 43%);
  transform: translateX(0.12rem);
}

.dentist-pro-tool > span {
  display: grid;
  width: 1.9rem;
  aspect-ratio: 1;
  grid-row: 1 / 3;
  border-radius: 0.55rem;
  place-items: center;
  font-size: 1.05rem;
  background: rgb(255 255 255 / 7%);
}

.dentist-pro-tool strong {
  align-self: end;
  font-size: 0.72rem;
  line-height: 1;
}

.dentist-pro-tool small {
  align-self: start;
  color: rgb(226 231 255 / 39%);
  font-size: 0.58rem;
  font-weight: 700;
}

.dentist-pro-tool::after {
  width: 0.55rem;
  aspect-ratio: 1;
  grid-column: 3;
  grid-row: 1 / 3;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  content: "";
}

.dentist-pro-tool.is-selected {
  border-color: rgb(114 246 211 / 48%);
  background:
    linear-gradient(90deg, rgb(114 246 211 / 14%), rgb(118 92 255 / 8%));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 7%),
    0 0 1.2rem rgb(114 246 211 / 7%);
}

.dentist-pro-tool:disabled {
  opacity: 0.42;
  cursor: wait;
  filter: saturate(0.55);
}

.dentist-pro-tool.is-selected::after {
  border: 0.15rem solid #101427;
  background: #72f6d3;
  box-shadow:
    0 0 0 1px #72f6d3,
    0 0 0.6rem #72f6d3;
}

.dentist-pro-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.dentist-pro-actions button {
  min-height: 2.7rem;
  padding: 0.45rem;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 0.7rem;
  color: rgb(237 241 255 / 55%);
  font: inherit;
  font-size: 0.59rem;
  font-weight: 800;
  background: rgb(255 255 255 / 3%);
  cursor: pointer;
}

.dentist-pro-complete {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  display: flex;
  width: min(90%, 26rem);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 1.5rem;
  align-items: center;
  flex-direction: column;
  color: white;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgb(114 246 211 / 18%), transparent 38%),
    rgb(11 15 34 / 92%);
  box-shadow:
    0 2rem 6rem rgb(0 0 0 / 47%),
    inset 0 1px 0 rgb(255 255 255 / 13%);
  backdrop-filter: blur(1.15rem);
  transform: translate(-50%, -50%);
  animation: dentist-pro-complete-in 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dentist-pro-complete[hidden] {
  display: none;
}

.dentist-pro-complete-badge {
  display: grid;
  width: 3.2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  place-items: center;
  color: #0d2530;
  font-size: 1.35rem;
  font-weight: 950;
  background: #72f6d3;
  box-shadow:
    0 0 0 0.45rem rgb(114 246 211 / 12%),
    0 0 2rem rgb(114 246 211 / 35%);
}

.dentist-pro-complete-stars {
  margin: 0.8rem 0 0;
  color: #ffe66d;
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  filter: drop-shadow(0 0 0.6rem rgb(255 230 109 / 36%));
}

.dentist-pro-complete h3 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.4rem, 4vw, 2rem);
  letter-spacing: -0.055em;
}

.dentist-pro-complete > p:not(.dentist-pro-complete-stars) {
  max-width: 21rem;
  margin: 0.55rem 0 1rem;
  color: rgb(232 236 255 / 59%);
  font-size: 0.78rem;
  line-height: 1.5;
}

.dentist-pro-result {
  display: grid;
  width: 100%;
  margin-bottom: 1rem;
  grid-template-columns: 1fr 1fr;
  border-block: 1px solid rgb(255 255 255 / 9%);
}

.dentist-pro-result span {
  padding: 0.65rem;
  color: rgb(234 238 255 / 48%);
  font-size: 0.65rem;
  font-weight: 750;
}

.dentist-pro-result b {
  display: block;
  margin-top: 0.18rem;
  color: white;
  font-size: 1rem;
}

.dentist-pro-fallback {
  display: flex;
  min-height: 32rem;
  padding: 2rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  text-align: center;
  background: #0a0e1e;
}

.dentist-pro-fallback[hidden] {
  display: none;
}

.dentist-pro-fallback > span {
  font-size: 4rem;
}

.dentist-pro-fallback h2 {
  margin: 1rem 0 0.5rem;
}

.dentist-pro-fallback p {
  margin: 0 0 1.5rem;
  color: rgb(234 238 255 / 60%);
}

@keyframes dentist-pro-aura {
  to {
    opacity: 0.72;
    transform: scale(1.08);
  }
}

@keyframes dentist-pro-orbit {
  to {
    transform: rotateX(67deg) rotateZ(372deg);
  }
}

@keyframes dentist-pro-float {
  50% {
    transform: translateY(-0.65rem) rotate(2deg);
  }
}

@keyframes dentist-pro-spark {
  50% {
    opacity: 0.55;
    transform: scale(0.7) rotate(35deg);
  }
}

@keyframes dentist-pro-loader {
  to {
    opacity: 0.3;
    transform: translateY(-0.6rem);
  }
}

@keyframes dentist-pro-shake {
  25% {
    transform: translateX(-0.35rem);
  }
  50% {
    transform: translateX(0.3rem);
  }
  75% {
    transform: translateX(-0.15rem);
  }
}

@keyframes dentist-pro-complete-in {
  from {
    opacity: 0;
    transform: translate(-50%, -44%) scale(0.92);
  }
}

@media (max-width: 960px) {
  .dentist-pro-intro {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  }

  .dentist-pro-intro-copy {
    padding: clamp(2rem, 5vw, 3.5rem);
  }

  .dentist-pro-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .dentist-pro-stage {
    min-height: clamp(28rem, 64dvh, 39rem);
  }

  .dentist-pro-panel {
    display: grid;
    grid-template-columns: minmax(13rem, 0.7fr) minmax(0, 1.3fr);
  }

  .dentist-pro-task {
    grid-row: 1 / 3;
  }

  .dentist-pro-tools {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .dentist-pro-tool {
    min-height: 4.6rem;
    padding: 0.38rem 0.22rem;
    grid-template-columns: 1fr;
    grid-template-rows: 2rem auto auto;
    text-align: center;
  }

  .dentist-pro-tool > span {
    width: 1.85rem;
    margin: auto;
    grid-row: 1;
    grid-column: 1;
  }

  .dentist-pro-tool strong,
  .dentist-pro-tool small {
    grid-column: 1;
  }

  .dentist-pro-tool::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .dentist-pro-screen {
    width: 100%;
  }

  .dentist-pro-shell {
    border-radius: 1rem;
  }

  .dentist-pro-intro {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .dentist-pro-intro-copy {
    z-index: 2;
    padding: 2rem 1.3rem 1.5rem;
  }

  .dentist-pro-intro h2 {
    margin-top: 1rem;
    font-size: clamp(3.25rem, 17vw, 5.2rem);
  }

  .dentist-pro-intro-copy > p {
    font-size: 0.92rem;
  }

  .dentist-pro-feature-grid {
    margin: 1.25rem 0;
  }

  .dentist-pro-intro-visual {
    min-height: 18rem;
    margin-top: -0.7rem;
  }

  .dentist-pro-holo {
    width: min(61%, 15rem);
  }

  .dentist-pro-holo-tooth {
    font-size: 5.5rem;
  }

  .dentist-pro-holo strong {
    margin-top: 0.7rem;
    font-size: 0.62rem;
  }

  .dentist-pro-holo small {
    font-size: 0.43rem;
  }

  .dentist-pro-engine-pill {
    right: 5%;
    bottom: 7%;
  }

  .dentist-pro-game {
    padding: 0.55rem;
  }

  .dentist-pro-hud {
    min-height: 3.7rem;
    padding: 0.25rem 0.2rem 0.55rem;
  }

  .dentist-pro-avatar {
    width: 2.55rem;
    font-size: 1.3rem;
  }

  .dentist-pro-eyebrow {
    font-size: 0.54rem;
  }

  .dentist-pro-patient h2 {
    max-width: 44vw;
    font-size: 0.95rem;
  }

  .dentist-pro-stats > div {
    display: none;
  }

  .dentist-pro-icon-button {
    width: 2.55rem;
  }

  .dentist-pro-progress-row {
    padding: 0 0.2rem 0.55rem;
  }

  .dentist-pro-progress-row > span {
    display: none;
  }

  .dentist-pro-progress-row {
    grid-template-columns: 1fr auto;
  }

  .dentist-pro-stage {
    min-height: clamp(25rem, 58dvh, 33rem);
    border-radius: 1rem;
  }

  .dentist-pro-camera-hint {
    display: none;
  }

  .dentist-pro-panel {
    padding: 0.75rem;
    grid-template-columns: 1fr;
    border-radius: 1rem;
  }

  .dentist-pro-task {
    grid-row: auto;
  }

  .dentist-pro-task h3 {
    margin-top: 0.4rem;
    font-size: 0.95rem;
  }

  .dentist-pro-task > p {
    display: none;
  }

  .dentist-pro-problem-key {
    margin-top: 0.5rem;
  }

  .dentist-pro-tools {
    overflow: visible;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    scrollbar-width: none;
  }

  .dentist-pro-tool {
    min-height: 4.35rem;
    min-width: 0;
  }

  .dentist-pro-tool strong {
    font-size: 0.59rem;
  }

  .dentist-pro-tool small {
    font-size: 0.49rem;
  }

  .dentist-pro-actions button {
    min-height: 2.5rem;
  }
}

@media (max-width: 390px) {
  .dentist-pro-kicker {
    font-size: 0.54rem;
  }

  .dentist-pro-feature-grid span {
    font-size: 0.57rem;
  }

  .dentist-pro-intro-visual {
    min-height: 15.5rem;
  }

  .dentist-pro-holo {
    width: 12.5rem;
  }

  .dentist-pro-stage {
    min-height: 25.5rem;
  }

  .dentist-pro-complete {
    padding: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dentist-pro-orbit,
  .dentist-pro-holo-tooth,
  .dentist-pro-holo-crown,
  .dentist-pro-intro-visual::before,
  .dentist-pro-loader i {
    animation: none;
  }
}
