:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background-color: #4a484b;
  background-image: linear-gradient(
    to bottom,
    #494749 0%,
    #49474a 20%,
    #4b494d 65%,
    #4b494c 80%,
    #484648 89%,
    #565558 95%,
    #605f62 100%
  );
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background-color: #4a484b;
  background-image: linear-gradient(
    to bottom,
    #494749 0%,
    #49474a 20%,
    #4b494d 65%,
    #4b494c 80%,
    #484648 89%,
    #565558 95%,
    #605f62 100%
  );
}

body {
  display: grid;
  place-items: center;
}

.stage {
  --head-progress: 0%;
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #4a484b;
  background-image: linear-gradient(
    to bottom,
    #494749 0%,
    #49474a 20%,
    #4b494d 65%,
    #4b494c 80%,
    #484648 89%,
    #565558 95%,
    #605f62 100%
  );
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.cat-media-shell {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  display: block;
  width: min(100vw, 177.777778vh);
  height: min(100vh, 56.25vw);
  isolation: isolate;
  transform: translate(-50%, -50%);
}

.cat-video-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  object-position: center;
  background: transparent;
  pointer-events: none;
}

#cat-video {
  z-index: 0;
  will-change: contents;
}

.cat-action-layer {
  opacity: 0;
  transition: opacity 340ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity;
}

#cat-idle-video {
  z-index: 1;
}

#cat-click-video {
  z-index: 2;
}

.stage[data-mode="idle"] #cat-idle-video,
.stage[data-mode="click"] #cat-click-video {
  opacity: 1;
}

.cat-click-target {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 51%;
  width: 42%;
  height: 98%;
  padding: 0;
  border: 0;
  border-radius: 44% 44% 28% 28%;
  outline: none;
  background: transparent;
  color: transparent;
  cursor: pointer;
  opacity: 0;
  touch-action: manipulation;
  transform: translate(-50%, -50%);
}

.cat-click-target:disabled {
  pointer-events: none;
}

.cat-click-target:focus-visible {
  opacity: 0;
  box-shadow: none;
}

.vignette {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 13, 14, 0.18), transparent 18%, transparent 78%, rgba(13, 13, 14, 0.18)),
    linear-gradient(90deg, rgba(13, 13, 14, 0.13), transparent 22%, transparent 78%, rgba(13, 13, 14, 0.13));
}

.brand-lockup,
.mouse-hint,
.head-readout,
.loading-status {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.brand-lockup {
  top: clamp(22px, 3vw, 46px);
  left: clamp(24px, 3.4vw, 54px);
  display: flex;
  align-items: center;
  gap: 0;
  pointer-events: none;
}

.brand-emblem {
  position: relative;
  width: clamp(36px, 3.2vw, 44px);
  aspect-ratio: 1;
  border: 1px solid rgba(220, 232, 241, 0.58);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(231, 240, 247, 0.19), transparent 42%),
    rgba(28, 30, 33, 0.22);
  box-shadow:
    inset 0 0 0 5px rgba(202, 216, 227, 0.04),
    0 0 24px rgba(177, 199, 216, 0.08);
}

.brand-emblem::before,
.brand-emblem::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(225, 235, 242, 0.5);
  border-radius: 50%;
}

.brand-emblem::before {
  inset: 10px 7px;
  transform: rotate(28deg);
}

.brand-emblem::after {
  inset: 7px 10px;
  transform: rotate(-28deg);
}

.brand-emblem i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dce8ef;
  box-shadow: 0 0 10px rgba(220, 232, 239, 0.6);
  transform: translate(-50%, -50%);
}

.brand-copy {
  display: grid;
  margin-left: 12px;
  padding-left: 14px;
  border-left: 1px solid rgba(220, 230, 238, 0.22);
  gap: 3px;
}

.brand-copy strong {
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 650;
  letter-spacing: 0.16em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(7px, 0.62vw, 9px);
  font-weight: 600;
  letter-spacing: 0.22em;
}

.brand-signature {
  position: relative;
  display: grid;
  min-width: 104px;
  margin-left: 15px;
  padding: 6px 11px 6px 14px;
  border-left: 1px solid rgba(220, 230, 238, 0.18);
  gap: 1px;
}

.brand-signature::before {
  position: absolute;
  top: 50%;
  left: -3px;
  width: 5px;
  height: 5px;
  content: "";
  border: 1px solid rgba(220, 232, 240, 0.5);
  background: #4a484b;
  transform: translateY(-50%) rotate(45deg);
}

.brand-signature small,
.brand-signature i {
  color: rgba(224, 233, 240, 0.5);
  font-size: 7px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.16em;
}

.brand-signature strong {
  color: rgba(247, 250, 252, 0.96);
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.loading-status {
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(20, 20, 21, 0.32);
  font-size: 12px;
  letter-spacing: 0.08em;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.loading-status span {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.stage[data-state="ready"] .loading-status {
  opacity: 0;
  visibility: hidden;
}

.stage[data-state="error"] .loading-status span {
  display: none;
}

.mouse-hint {
  top: clamp(24px, 3.2vw, 48px);
  right: clamp(24px, 3.4vw, 54px);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  transition: opacity 600ms ease, transform 600ms ease;
}

.stage.has-moved .mouse-hint {
  opacity: 0.38;
  transform: translateY(-4px);
}

.mouse-hint__icon {
  position: relative;
  width: 27px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 14px;
}

.mouse-hint__icon::before {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 2px;
  height: 7px;
  border-radius: 999px;
  content: "";
  background: rgba(255, 255, 255, 0.82);
  transform: translateX(-50%);
  animation: mouse-wheel 1.4s ease-in-out infinite;
}

.mouse-hint__icon i::before,
.mouse-hint__icon i::after {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  content: "";
}

.mouse-hint__icon i::before {
  left: -13px;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  transform: rotate(-45deg);
}

.mouse-hint__icon i::after {
  right: -13px;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
}

.mouse-hint > span:last-child {
  display: grid;
  gap: 3px;
}

.mouse-hint strong {
  font-size: clamp(11px, 0.95vw, 14px);
  font-weight: 650;
  letter-spacing: 0.08em;
}

.mouse-hint small {
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(8px, 0.68vw, 10px);
}

.head-readout {
  right: clamp(24px, 3.4vw, 54px);
  bottom: clamp(22px, 3vw, 44px);
  width: clamp(150px, 15vw, 230px);
  pointer-events: none;
}

.head-readout > span,
.head-readout output {
  display: inline-block;
  margin-bottom: 8px;
  font-size: clamp(8px, 0.68vw, 10px);
  font-weight: 650;
  letter-spacing: 0.16em;
}

.head-readout > span {
  color: rgba(255, 255, 255, 0.48);
}

.head-readout output {
  float: right;
  color: rgba(255, 255, 255, 0.9);
}

.head-readout__track {
  position: relative;
  clear: both;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.head-readout__track::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--head-progress);
  border-radius: inherit;
  content: "";
  background: rgba(255, 255, 255, 0.8);
  transition: width 70ms linear;
}

.head-readout__track i {
  position: absolute;
  top: 50%;
  left: var(--head-progress);
  width: 8px;
  height: 8px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: #4a484b;
  transform: translate(-50%, -50%);
  transition: left 70ms linear;
}

.head-readout__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 8px;
}

.panel-toggle,
.control-panel,
.control-panel button,
.control-panel input {
  font: inherit;
}

.panel-toggle {
  position: absolute;
  z-index: 5;
  top: clamp(102px, 13vh, 126px);
  right: clamp(22px, 2.6vw, 38px);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 65px;
  padding: 8px 10px;
  border: 1px solid rgba(217, 228, 236, 0.16);
  border-radius: 999px;
  background: rgba(35, 37, 40, 0.54);
  color: rgba(240, 246, 250, 0.82);
  box-shadow: 0 10px 28px rgba(12, 13, 15, 0.14);
  cursor: pointer;
  backdrop-filter: blur(16px) saturate(116%);
  -webkit-backdrop-filter: blur(16px) saturate(116%);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.panel-toggle:hover,
.panel-toggle:focus-visible {
  border-color: rgba(219, 232, 241, 0.4);
  outline: none;
  background: rgba(52, 56, 61, 0.66);
  transform: translateY(-1px);
}

.panel-toggle > span {
  display: grid;
  gap: 2px;
}

.panel-toggle > span i {
  display: block;
  width: 13px;
  height: 1px;
  background: rgba(229, 238, 244, 0.72);
}

.panel-toggle > span i:nth-child(2) {
  width: 9px;
}

.panel-toggle strong {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.panel-toggle[aria-expanded="true"] {
  border-color: rgba(192, 211, 224, 0.32);
  background: rgba(59, 64, 69, 0.66);
}

.control-panel {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: clamp(22px, 2.6vw, 38px);
  width: min(292px, 25vw);
  max-height: calc(100vh - 178px);
  padding: 18px;
  overflow-y: auto;
  border: 1px solid rgba(215, 228, 237, 0.15);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(192, 209, 221, 0.08), transparent 32%),
    rgba(33, 35, 38, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 24px 65px rgba(10, 11, 13, 0.24);
  color: rgba(240, 245, 248, 0.9);
  cursor: default;
  scrollbar-width: none;
  backdrop-filter: blur(24px) saturate(118%);
  -webkit-backdrop-filter: blur(24px) saturate(118%);
  transform: translateY(-35%);
  transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease;
}

.control-panel::-webkit-scrollbar {
  display: none;
}

.control-panel:not(.is-open) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(18px, -35%);
}

.control-panel__top,
.panel-section-heading,
.sensitivity-control__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.control-panel__top p,
.panel-section-heading p,
.profile-identity p {
  margin: 0 0 4px;
  color: rgba(211, 224, 233, 0.45);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.control-panel__top h2,
.panel-section-heading h3,
.profile-identity h3 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.control-panel__top h2 {
  font-size: 17px;
}

.online-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(179, 207, 191, 0.16);
  border-radius: 999px;
  background: rgba(122, 164, 139, 0.08);
  color: rgba(207, 226, 215, 0.7);
  font-size: 8px;
  font-weight: 700;
}

.online-pill i,
.profile-facts dd i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9bc3aa;
  box-shadow: 0 0 8px rgba(155, 195, 170, 0.44);
}

.panel-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 16px;
  padding: 4px;
  border: 1px solid rgba(216, 228, 236, 0.09);
  border-radius: 12px;
  background: rgba(17, 18, 20, 0.18);
}

.panel-tabs button {
  min-height: 31px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(218, 228, 235, 0.48);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.panel-tabs button[aria-selected="true"] {
  background: rgba(202, 217, 228, 0.12);
  color: rgba(244, 248, 251, 0.94);
}

.panel-tabs button:focus-visible,
.position-options button:focus-visible,
.reset-head:focus-visible,
#sensitivity:focus-visible {
  outline: 2px solid rgba(183, 207, 223, 0.62);
  outline-offset: 2px;
}

.panel-content {
  margin-top: 17px;
}

.panel-content[hidden] {
  display: none;
}

.panel-section-heading h3,
.profile-identity h3 {
  font-size: 15px;
}

.panel-status {
  min-width: 46px;
  padding: 5px 8px;
  border: 1px solid rgba(211, 225, 234, 0.12);
  border-radius: 999px;
  background: rgba(232, 239, 244, 0.06);
  color: rgba(238, 245, 249, 0.82);
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}

.panel-position-meter {
  --panel-head-progress: 50%;
  margin-top: 17px;
}

.panel-position-meter__track {
  position: relative;
  height: 3px;
  border-radius: 999px;
  background: rgba(221, 231, 237, 0.13);
}

.panel-position-meter__track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--panel-head-progress);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(151, 175, 192, 0.6), rgba(225, 235, 241, 0.88));
}

.panel-position-meter__track i {
  position: absolute;
  top: 50%;
  left: var(--panel-head-progress);
  width: 10px;
  height: 10px;
  border: 2px solid #dce8ef;
  border-radius: 50%;
  background: #46464a;
  box-shadow: 0 0 10px rgba(191, 211, 224, 0.24);
  transform: translate(-50%, -50%);
}

.panel-position-meter__labels,
.sensitivity-control__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: rgba(211, 222, 229, 0.36);
  font-size: 8px;
}

.position-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.position-options button {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 50px;
  padding: 7px 4px;
  border: 1px solid rgba(214, 226, 234, 0.1);
  border-radius: 11px;
  background: rgba(229, 237, 242, 0.035);
  color: rgba(222, 232, 238, 0.6);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.position-options button span {
  font-size: 17px;
}

.position-options button small {
  font-size: 9px;
  font-weight: 700;
}

.position-options button:hover:not(:disabled) {
  border-color: rgba(197, 216, 229, 0.3);
  transform: translateY(-1px);
}

.position-options button[aria-pressed="true"] {
  border-color: rgba(194, 214, 227, 0.4);
  background: rgba(193, 211, 223, 0.14);
  color: rgba(248, 251, 252, 0.94);
}

.position-options button:disabled,
.reset-head:disabled,
#sensitivity:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.reset-head {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(214, 226, 234, 0.11);
  border-radius: 10px;
  background: transparent;
  color: rgba(222, 232, 238, 0.66);
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.sensitivity-control {
  display: block;
  margin-top: 16px;
}

.sensitivity-control__header {
  align-items: center;
  color: rgba(226, 235, 240, 0.68);
  font-size: 9px;
  font-weight: 700;
}

.sensitivity-control output {
  color: rgba(239, 246, 249, 0.9);
  font-variant-numeric: tabular-nums;
}

#sensitivity {
  --sensitivity-progress: 50%;
  width: 100%;
  height: 3px;
  margin: 12px 0 0;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(
    to right,
    rgba(200, 218, 229, 0.74) 0 var(--sensitivity-progress),
    rgba(220, 231, 237, 0.12) var(--sensitivity-progress) 100%
  );
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

#sensitivity::-webkit-slider-thumb {
  width: 13px;
  height: 13px;
  border: 3px solid #dce7ed;
  border-radius: 50%;
  background: #6f8290;
  box-shadow: 0 2px 8px rgba(10, 12, 14, 0.24);
  appearance: none;
  -webkit-appearance: none;
}

#sensitivity::-moz-range-thumb {
  width: 8px;
  height: 8px;
  border: 3px solid #dce7ed;
  border-radius: 50%;
  background: #6f8290;
}

.stability-seal {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 10px;
  border: 1px solid rgba(166, 202, 180, 0.12);
  border-radius: 11px;
  background: rgba(113, 156, 129, 0.055);
}

.stability-seal > span {
  position: relative;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(180, 210, 192, 0.25);
  border-radius: 50%;
}

.stability-seal > span::before {
  position: absolute;
  top: 5px;
  left: 7px;
  width: 6px;
  height: 3px;
  content: "";
  border-bottom: 1px solid #a7c9b4;
  border-left: 1px solid #a7c9b4;
  transform: rotate(-45deg);
}

.stability-seal div {
  display: grid;
  gap: 2px;
}

.stability-seal strong {
  color: rgba(218, 235, 224, 0.78);
  font-size: 9px;
}

.stability-seal small {
  color: rgba(199, 217, 205, 0.42);
  font-size: 8px;
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 0 15px;
  border-bottom: 1px solid rgba(215, 226, 234, 0.09);
}

.profile-identity > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(211, 225, 235, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(229, 238, 244, 0.14), rgba(95, 105, 113, 0.12));
  color: rgba(245, 249, 251, 0.9);
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: 19px;
}

.profile-identity small {
  color: rgba(211, 223, 231, 0.42);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.profile-facts {
  display: grid;
  margin: 0;
}

.profile-facts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(215, 226, 234, 0.07);
}

.profile-facts dt,
.profile-facts dd {
  margin: 0;
  font-size: 9px;
}

.profile-facts dt {
  color: rgba(211, 222, 229, 0.42);
}

.profile-facts dd {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(235, 242, 246, 0.76);
  font-weight: 650;
}

.profile-signature {
  display: grid;
  margin-top: 18px;
  padding: 15px;
  border: 1px solid rgba(204, 220, 231, 0.12);
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(211, 225, 235, 0.08), transparent 48%),
    rgba(13, 14, 16, 0.12);
  gap: 3px;
  text-align: right;
}

.profile-signature span,
.profile-signature small {
  color: rgba(209, 221, 229, 0.42);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.profile-signature strong {
  color: rgba(246, 250, 252, 0.94);
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes mouse-wheel {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.42; }
  50% { transform: translate(-50%, 6px); opacity: 1; }
}

@media (max-width: 900px), (max-height: 620px) {
  .panel-toggle {
    top: 18px;
    right: 18px;
  }

  .mouse-hint {
    display: none;
  }

  .control-panel {
    top: auto;
    right: 16px;
    bottom: 16px;
    width: min(320px, calc(100vw - 32px));
    max-height: min(72vh, 520px);
    transform: none;
  }

  .control-panel:not(.is-open) {
    transform: translateY(18px);
  }

  .control-panel.is-open ~ .head-readout {
    opacity: 0;
  }
}

@media (max-width: 700px), (max-height: 520px) {
  .brand-lockup {
    top: 18px;
    left: 18px;
  }

  .brand-emblem {
    width: 34px;
  }

  .brand-copy small,
  .brand-signature small,
  .brand-signature i {
    display: none;
  }

  .brand-copy {
    margin-left: 9px;
    padding-left: 10px;
  }

  .brand-signature {
    min-width: auto;
    margin-left: 9px;
    padding: 4px 7px 4px 11px;
  }

  .brand-signature strong {
    font-size: 13px;
  }

  .head-readout {
    right: 18px;
    bottom: 17px;
    width: 130px;
  }

  .panel-toggle {
    min-width: 46px;
    padding: 8px;
  }

  .panel-toggle strong {
    display: none;
  }

  .control-panel {
    padding: 15px;
    border-radius: 18px;
  }
}

@media (orientation: portrait) and (max-width: 700px),
  (orientation: portrait) and (hover: none) and (pointer: coarse) {
  .stage {
    height: 100dvh;
    background-color: #4e4d50;
    background-image: linear-gradient(
      to bottom,
      #4e4d50 0 50%,
      #5f5e61 50% 100%
    );
  }

  .cat-media-shell {
    top: calc(50% - 5px);
    left: calc(50% - 8.9vh);
    width: 142.8vh;
    height: 80.3vh;
    left: calc(50% - 8.9dvh);
    width: 142.8dvh;
    height: 80.3dvh;
  }

  .cat-click-target {
    width: 30%;
  }

  #cat-video,
  .cat-action-layer {
    will-change: auto;
  }

  .loading-status,
  .panel-toggle,
  .control-panel {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
