:root {
  --theme-bg-color: rgba(0, 105, 110, 0.88);
  --theme-color: #f9fafb;
  --border-color: rgba(125, 255, 242, 0.45);
  --accent-color: #8ffff0;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #eb8979;
  color: var(--theme-color);
  font-family: "cofo-gothic-variable", sans-serif;
}

body,
main {
  max-width: 100%;
}

img.bgBack {
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px);
  transform: scale(1.04);
}

h1,
h2,
h3 {
  font-family: "bd-geminis", sans-serif;
  font-weight: 300;
}

p,
span,
a {
  font-family: "cofo-gothic-variable", sans-serif;
}

a {
  color: white;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: rgb(0, 242, 255);
}

.site-nav {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  width: 100%;
  padding: 0.4rem clamp(0.5rem, 3vw, 2rem);
  background: rgba(0, 77, 82, 0.97);
  box-shadow: 0 1rem 15px #0046ff24;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-nav .nav-ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem clamp(0.25rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent;
}

.site-nav .nav-li {
  display: block;
  padding: 0.55rem 0.7rem;
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
}

.home-page main {
  padding-top: 4.5rem;
}

.home-page .jumbotron {
  margin: 0;
  padding: clamp(1.25rem, 4vw, 3rem) clamp(1rem, 5vw, 4rem) 1rem;
  background: transparent;
}

.home-page .jumbotron .container.app {
  width: min(100%, 1200px);
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2.5rem);
  overflow: visible;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background: var(--theme-bg-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.home-page h1.jumbotron-heading {
  padding-top: 0;
  color: var(--accent-color);
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.05;
}

.home-page p.lead.text-muted {
  margin: 1rem 0 0;
  color: white !important;
  font-size: clamp(1rem, 1.7vw, 1.3rem) !important;
  line-height: 1.65;
}

.home-page .album.py-5 {
  padding: 1rem clamp(1rem, 4vw, 3.5rem) 3rem !important;
}

.home-page .album > .container,
.home-page .album > div {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.home-page .album .row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100% !important;
  margin: 0 !important;
}

.home-page .album .row > .col-md-3 {
  display: block;
  min-width: 0;
  max-width: none;
  padding: 0;
}

.home-page .card.mb-4.box-shadow.app {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: var(--theme-bg-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.home-page .home-card-link {
  display: block;
  height: 100%;
}

.home-page .home-card-link:hover {
  text-decoration: none;
}

.home-page .card-header {
  margin: 0 0 0.9rem;
  padding: 0.4rem 0;
  border: 0;
  background: transparent;
  color: white;
  font-size: clamp(1.2rem, 1.9vw, 1.7rem);
  line-height: 1.2;
  text-align: left;
}

.home-page .card-body {
  gap: 0.9rem;
  color: white;
}

.home-page .card-body img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border: 3px solid rgba(0, 255, 213, 0.45);
  border-radius: 12px;
}

.home-page .card-text {
  margin: 0;
  color: white;
  font-size: 1rem !important;
  line-height: 1.55;
}

.content-page {
  min-height: 100vh;
  padding: 5.5rem clamp(1rem, 4vw, 3rem) 2rem;
}

.content-page .jumbotron {
  margin: 0;
  padding: 1rem 0 2rem;
  background: transparent;
}

.content-page .missionMain.app {
  display: block;
  width: min(100%, 1200px);
  height: auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3rem);
  overflow: visible;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background: var(--theme-bg-color);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.content-page .missionMain h2 {
  width: 100%;
  height: auto;
  margin: 0 0 1rem;
  color: var(--accent-color);
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.15;
  text-align: left !important;
}

.content-page .missionMain p,
.content-page .missionMain a {
  color: white;
  font-size: clamp(1rem, 1.8vw, 1.3rem) !important;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.content-page .missionGroup {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: 1.5rem;
}

.content-page .missonImg {
  flex: 0 1 40%;
  width: min(40%, 420px);
  height: auto;
  max-height: 620px;
  margin: 0;
  border: 4px solid rgba(0, 255, 213, 0.45);
  border-radius: 14px;
  object-fit: cover;
}

.content-page .mission-text {
  flex: 1;
  margin: 0;
  color: white !important;
}

.content-page .album.py-5 {
  padding: 1rem 0 0 !important;
}

.content-page .album .row {
  display: block;
  width: 100% !important;
  margin: 0 !important;
}

.content-page .album .row h2 {
  margin-top: 1.5rem;
}

.content-page .album .row p {
  margin-bottom: 1.25rem;
}

.sketch-page {
  display: block !important;
  min-height: 100vh;
  height: auto !important;
  padding: 5.75rem clamp(1rem, 3vw, 2rem) 2rem;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.sketch-page > h2 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: min(100%, 1500px);
  height: auto;
  margin: 0 auto 1.25rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--theme-bg-color);
  text-align: left !important;
}

.sketch-page > h2 a {
  width: auto;
  flex: 0 0 auto;
  color: white;
  font-size: 1.3rem !important;
}

.sketch-page > h2 p {
  width: auto;
  margin: 0;
  font-family: "bd-geminis", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
}

.sketch-page .mainContentMiddle,
.sketch-page .mainCenter {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 4fr);
  align-items: stretch;
  gap: 1.25rem;
  width: min(100%, 1500px);
  margin: 0 auto;
  position: relative;
}

.sketch-page .left.app {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-evenly;
  gap: 0.75rem;
  width: auto !important;
  height: auto !important;
  max-width: none;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--theme-bg-color);
}

.sketch-page .left.app > div {
  min-width: 0;
  text-align: center;
}

.sketch-page .left.app label {
  display: block;
  margin: 0.4rem 0 0;
  color: white;
  font-size: 0.95rem;
  cursor: pointer;
}

.sketch-page .topImage,
.sketch-page .middleImage,
.sketch-page .bottomImage {
  width: 100%;
  height: auto;
  aspect-ratio: 1.2;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
}

.sketch-page .middleImage {
  background-image: url("/images/miniDancer.png");
}

.sketch-page .container.app2 {
  display: block;
  width: auto !important;
  min-width: 0;
  min-height: min(70vh, 760px);
  height: auto;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(0.75rem, 2vw, 1.5rem) !important;
  overflow: visible;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: var(--theme-bg-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.sketch-page .container.app2 > .row {
  display: block;
  width: 100% !important;
  margin: 0 !important;
}

.sketch-page .container.app2 .col,
.sketch-page #middle,
.sketch-page #leftCanvas,
.sketch-page #rightCanvas {
  width: 100% !important;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0 !important;
}

.sketch-page #middle,
.sketch-page #leftCanvas,
.sketch-page #rightCanvas {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  border-radius: 14px;
}

.sketch-page .camera-stage {
  position: relative;
  width: 100%;
}

.sketch-page .camera-stage__fullscreen {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  right: 0.75rem;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(181, 255, 246, 0.75);
  border-radius: 999px;
  background: rgba(0, 76, 80, 0.94);
  box-shadow: 0 4px 14px rgba(0, 36, 39, 0.28);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.sketch-page .camera-stage__fullscreen:focus-visible {
  outline: 3px solid #fff3a6;
  outline-offset: 3px;
}

.sketch-page .camera-stage__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.sketch-page .camera-stage:fullscreen {
  display: grid;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  place-items: center;
  padding: 1rem;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #092f32;
}

.sketch-page .camera-stage:fullscreen #middle {
  width: 100%;
  height: 100%;
}

.sketch-page .camera-stage:fullscreen canvas#defaultCanvas0 {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sketch-page .mainContent {
  display: block;
  grid-column: 1 / -1;
  width: 100% !important;
  min-width: 0;
  margin: 1rem 0 0;
  overflow: visible;
  background: transparent;
}

.sketch-page .controls-launcher {
  display: flex;
  grid-column: 1 / -1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 0.5rem;
  text-align: left;
}

.sketch-page .controls-launcher__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
}

.sketch-page .controls-launcher__button {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 1px solid rgba(181, 255, 246, 0.75);
  border-radius: 999px;
  background: linear-gradient(135deg, #008f8c, #00696e);
  box-shadow: 0 6px 16px rgba(0, 40, 42, 0.25);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.sketch-page .controls-launcher__actions button.app2 {
  min-height: 48px;
  margin: 0;
}

.sketch-page .controls-launcher__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(0, 40, 42, 0.34);
}

.sketch-page .controls-launcher__hint {
  margin: 0;
  color: #e6fffb;
  font-size: 0.95rem;
  line-height: 1.4;
}

.sketch-page .controls-launcher__button:focus-visible,
.sketch-page .controls-dialog__close:focus-visible {
  outline: 3px solid #fff3a6;
  outline-offset: 3px;
}

.sketch-page .controls-dialog {
  width: min(560px, calc(100vw - 2rem));
  max-width: none;
  max-height: min(85vh, 800px);
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(181, 255, 246, 0.55);
  border-radius: 24px;
  background: linear-gradient(145deg, #00696e, #004c50);
  box-shadow: 0 24px 80px rgba(0, 25, 28, 0.5);
  color: #f3fffd;
}

.sketch-page .controls-dialog[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.75rem;
}

.sketch-page .controls-dialog::backdrop {
  background: rgba(0, 27, 30, 0.68);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.sketch-page .controls-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.sketch-page .controls-dialog__header h2 {
  width: auto;
  height: auto;
  margin: 0 0 0.2rem;
  color: #b2fff3;
  font-size: 1.6rem;
  text-align: left !important;
}

.sketch-page .controls-dialog__header p {
  margin: 0;
  color: #e6fffb;
  font-size: 1rem;
  line-height: 1.4;
}

.sketch-page .controls-dialog__close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid rgba(181, 255, 246, 0.55);
  border-radius: 50%;
  background: rgba(0, 45, 49, 0.48);
  color: white;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.sketch-page .controls-dialog .mainContent {
  grid-column: auto;
  width: 100% !important;
  max-height: min(65vh, 620px);
  margin: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sketch-page .controls-dialog .dg.ac {
  margin-top: 0;
}

.sketch-page .controls-dialog .dg.main .close-button {
  display: none;
}

.sketch-page .row.app2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
  width: 100% !important;
  padding: clamp(0.75rem, 2vw, 1.5rem) !important;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: var(--theme-bg-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.sketch-page canvas#defaultCanvas0,
.sketch-page canvas#defaultCanvas1 {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  border-radius: 14px !important;
}

.sketch-page .dg.ac {
  position: relative !important;
  inset: auto !important;
  display: flex;
  width: 100% !important;
  height: auto !important;
  max-height: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  margin-top: 1rem;
}

.sketch-page .dg.main {
  width: 100% !important;
  padding: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(143, 255, 240, 0.38);
  border-radius: 20px;
  background: rgba(0, 76, 80, 0.78);
  box-shadow: 0 12px 30px rgba(0, 36, 39, 0.2);
}

.sketch-page .dg.main.a,
.sketch-page .dg.main ul {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

.sketch-page .dg.main > ul {
  padding: 0;
  background: transparent;
}

.sketch-page .dg.main ul {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.sketch-page .dg .folder {
  margin: 0.35rem 0;
  overflow: hidden;
  border: 1px solid rgba(143, 255, 240, 0.2);
  border-radius: 14px;
  background: rgba(0, 55, 59, 0.42);
}

.sketch-page .dg .folder > .dg {
  width: 100% !important;
  background: transparent;
}

.sketch-page .dg .folder > .dg > ul {
  padding: 0.25rem 0.45rem 0.45rem;
  background: transparent;
}

.sketch-page .dg li.title {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(90deg, rgba(143, 255, 240, 0.16), rgba(0, 105, 110, 0.12));
  color: #e6fffb;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  cursor: pointer;
}

.sketch-page .dg li.title::after {
  width: 0.55rem;
  height: 0.55rem;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.sketch-page .dg ul.closed > li.title::after {
  transform: rotate(-45deg);
}

.sketch-page .dg li.cr {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 0.25rem 0.4rem;
  border-bottom: 1px solid rgba(143, 255, 240, 0.12);
  background: transparent !important;
  color: #f3fffd;
  font-size: 0.9rem;
}

.sketch-page .dg li.cr:last-child {
  border-bottom: 0;
}

.sketch-page .dg li.cr > div {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  gap: 0.6rem;
}

.sketch-page .dg .property-name {
  flex: 1 1 45%;
  width: auto;
  overflow-wrap: anywhere;
  color: #f3fffd;
  line-height: 1.3;
}

.sketch-page .dg li.cr[class*="color-"] .property-name {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.sketch-page .dg li.cr.color-red input {
  accent-color: #ff6b75;
}

.sketch-page .dg li.cr.color-orange input {
  accent-color: #ffab5e;
}

.sketch-page .dg li.cr.color-yellow input {
  accent-color: #ffe66d;
}

.sketch-page .dg li.cr.color-green input {
  accent-color: #8de17c;
}

.sketch-page .dg li.cr.color-blue input {
  accent-color: #73c9ff;
}

.sketch-page .dg li.cr.color-purple input {
  accent-color: #cf9aff;
}

.sketch-page .dg li.cr.color-red .property-name::before,
.sketch-page .dg li.cr.color-orange .property-name::before,
.sketch-page .dg li.cr.color-yellow .property-name::before,
.sketch-page .dg li.cr.color-green .property-name::before,
.sketch-page .dg li.cr.color-blue .property-name::before,
.sketch-page .dg li.cr.color-purple .property-name::before {
  width: 0.8rem;
  height: 0.8rem;
  flex: 0 0 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  content: "";
}

.sketch-page .dg li.cr.color-red .property-name::before {
  background: #ff6b75;
}

.sketch-page .dg li.cr.color-orange .property-name::before {
  background: #ffab5e;
}

.sketch-page .dg li.cr.color-yellow .property-name::before {
  background: #ffe66d;
}

.sketch-page .dg li.cr.color-green .property-name::before {
  background: #8de17c;
}

.sketch-page .dg li.cr.color-blue .property-name::before {
  background: #73c9ff;
}

.sketch-page .dg li.cr.color-purple .property-name::before {
  background: #cf9aff;
}

.sketch-page .dg .c {
  display: flex;
  flex: 1 1 55%;
  min-width: 0;
  align-items: center;
}

.sketch-page .dg li.cr.number .c > div:first-child {
  flex: 0 0 4.5rem;
}

.sketch-page .dg li.cr.number .slider {
  flex: 1;
}

.sketch-page .dg input[type="text"] {
  width: 100%;
  min-width: 3.5rem;
  min-height: 40px;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(143, 255, 240, 0.45);
  border-radius: 10px;
  background: rgba(0, 38, 42, 0.72);
  color: white;
  font: inherit;
}

.sketch-page .dg input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 0.4rem;
  accent-color: #8ffff0;
  cursor: pointer;
}

.sketch-page .dg .slider {
  height: 12px;
  margin: 0.35rem 0;
  overflow: hidden;
  border: 1px solid rgba(143, 255, 240, 0.38);
  border-radius: 999px;
  background: rgba(0, 30, 34, 0.78);
  cursor: pointer;
}

.sketch-page .dg .slider-fg {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #40cabb, #b2fff3);
}

.sketch-page .dg .close-button {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 0.4rem;
  border: 1px solid rgba(143, 255, 240, 0.38);
  border-radius: 12px;
  background: rgba(0, 90, 94, 0.78) !important;
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.sketch-page .controls-help {
  margin: 0 0 0.75rem;
  color: #e6fffb;
  font-size: 0.95rem;
  line-height: 1.5;
}

.sketch-page .dg li.title:focus-visible,
.sketch-page .dg input:focus-visible,
.sketch-page .dg .close-button:focus-visible,
.sketch-page button.app2:focus-visible {
  outline: 3px solid #fff3a6;
  outline-offset: 3px;
}

.sketch-page button.app2 {
  min-width: 88px;
  min-height: 44px;
  width: auto;
  margin: 0.35rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: rgba(0, 83, 87, 0.96);
  color: white;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(0, 36, 39, 0.25);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.sketch-page button.app2:hover {
  transform: translateY(-2px);
  background: #007b7d;
  box-shadow: 0 8px 18px rgba(0, 36, 39, 0.32);
}

.sketch-page button.app2:active {
  transform: translateY(0);
}

@media (max-width: 1000px) {
  .home-page .album .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sketch-page .mainContentMiddle,
  .sketch-page .mainCenter {
    grid-template-columns: 1fr;
  }

  .sketch-page .left.app {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sketch-page .left.app > div {
    flex: 1 1 130px;
    max-width: 220px;
  }

  .sketch-page .topImage,
  .sketch-page .middleImage,
  .sketch-page .bottomImage {
    max-height: 150px;
  }
}

@media (max-width: 650px) {
  .site-nav {
    padding: 0.3rem 0.4rem;
  }

  .site-nav .nav-ul {
    gap: 0;
  }

  .site-nav .nav-li {
    padding: 0.5rem 0.45rem;
    font-size: 0.85rem;
  }

  .home-page main {
    padding-top: 4rem;
  }

  .home-page .album .row {
    grid-template-columns: 1fr;
  }

  .content-page {
    padding-top: 5rem;
  }

  .content-page .missionGroup {
    flex-direction: column;
  }

  .content-page .missonImg {
    width: 100%;
    max-height: 420px;
  }

  .sketch-page {
    padding: 5rem 0.75rem 1rem;
  }

  .sketch-page .row.app2 {
    grid-template-columns: 1fr;
  }

  .sketch-page .controls-launcher__actions {
    width: 100%;
  }

  .sketch-page .controls-launcher__button,
  .sketch-page .controls-launcher__actions button.app2 {
    min-width: 0;
    min-height: 44px;
    padding: 0.55rem 0.7rem;
    font-size: 0.875rem;
  }

  .sketch-page .controls-dialog {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-height: 85vh;
    max-height: 85dvh;
    margin: 0;
    padding: 1rem 0.85rem max(1rem, env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
  }

  .sketch-page .controls-dialog .mainContent {
    max-height: 65vh;
    max-height: 65dvh;
  }
}

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