body {
  font-family: 'Inter', sans-serif;
}

section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

footer {
   margin-top: 0em;
   margin-bottom: 0em;
   padding-left: 15%;
   padding-right: 15%;
   padding-top: 1em;
   padding-bottom: 1em;
   color: black;
   font-size: 12px;
   background-color: rgb(246, 246, 246);
}

.title.publication-title {
  margin-left: -10%;
  margin-right: -10%;
}

.btn-group {
  background-color: rgba(249, 249, 249, 0.6);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
  margin-top: 1.5em;
  padding: 0.5em;
  border-radius: 100px;
  border-style: solid;
  border-color:  white;
  border-width: 1px;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 0px 12px;
}

.publication-links .btn-group {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.button {
  align-items: center;
  /* background-color: #fcfcfc; */
  background-color: rgba(255, 255, 255, 0.0);
  border: 0;
  border-radius: 100px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.0);
  border-width: 0.5px;
  box-sizing: border-box;
  color: #000000;
  cursor: pointer;
  display: inline-flex;
  /* font-family: -apple-system, system-ui, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif; */
  font-size: 16px;
  /* font-weight: 600; */
  justify-content: center;
  line-height: 20px;
  max-width: 480px;
  min-height: 40px;
  min-width: 0px;
  overflow: hidden;
  padding: 0px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: 5px;
  margin-right: 5px;
  text-align: center;
  touch-action: manipulation;
  transition: background-color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, box-shadow 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: middle;
}

.button:hover,
.button:focus { 
  background-color: #f4f4f4;
  border-style: solid;
  border-color: #fff6f6;
  border-width: 0.5px;
}

.main-btn-group .button {
  font-weight: 600;
}

.main-btn-group .button:hover,
.main-btn-group .button:focus { 
  /* background-color: #c5e2ff;
  border-style: solid;
  border-color: #e6f3ff;
  border-width: 0.5px; */
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(214, 214, 214, 0.375);
  border-color: #ffffff;
}

.main-btn-group .button.active {
  font-weight: 600;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: white;
  background-color: rgba(126, 126, 126, 0.375);
  border-color: #efefef;
}

.button.active {
  background: #c5e2ff;
  border-style: solid;
  border-color: #e6f3ff;
  border-width: 0.5px;
  transition: background-color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, box-shadow 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s;
}

.button.disabled { 
  cursor: not-allowed;
  color: rgba(0, 0, 0, .3);
}

.button.disabled:hover,
.button.disabled:focus,
.main-btn-group .button.disabled:hover,
.main-btn-group .button.disabled:focus {
  background-color: rgba(255, 255, 255, 0.0);
  border-color: rgba(0, 0, 0, 0.0);
  color: rgba(0, 0, 0, .3);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.publication-title {
    font-family: 'Google Sans', sans-serif;
}

.publication-authors {
    font-family: 'Google Sans', sans-serif;
}

.publication-authors a {
   color: #3273dc !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
  display: inline-block;
}

.description-real-data-illustration {
  margin-left: 10%;
  margin-right: 10%;
  width: 80%;
  margin-top: 1em;
}

.demo-container .title {
  margin-top: 1em;
  margin-bottom: 0.5em;
}

.thumbnail-img {
  max-width: 100%;
  height: auto;
  width: auto\9;
  border-radius: 5px;
}

.scene-pills {
  /* margin-top: 0.5em; */
  margin-bottom: 1.5em;
}

.scene-pills > span {
  height: 49px;
}

.pill {
  cursor: pointer;
  padding: 5px;
  margin-top: 5px;
  margin-bottom: 4px;
  /* border: 1px solid #ddd; */
  border-radius: 5px;
  display: inline-block;
  transition: transform .2s;
}

.description {
  font-size: 18px;
  color: rgb(7, 44, 82);
  margin-bottom: 1.5em;
  padding-left: 8%;
  padding-right: 8%;
  text-align: center;
  /* text-align-last: center; */
}

.description span {
  display: inline-block;
  text-align: justify;
}

.description a {
  cursor: pointer;
}

.description ul {
  padding-left: 1em;
}

.ack {
  font-size: 17px;
}

.description li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding-left: 0.5em;
  list-style-type: disc;
  font-size: 18px;
}

#ulreference li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding-left: 0.5em;
  /* list-style-type: none; */
  font-size: 16px;
}

#div-app {
  height: auto;
  min-height: 0;
}

.tldr {
  font-size: 20px;
}

.container {
  width: 100%;
}

.demo-container {
  background: rgb(247, 251, 255);
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 10px;
  border-radius: 0.5em;
  margin-top: 0em;
  margin-left: 5%;
  margin-right: 5%;
  width: 90%;
  border-style: solid;
  border-color:  rgb(251, 253, 255);
  border-width: 0.75px;
  box-shadow: rgba(0, 0, 0, 0.075) 0px 0px 24px;
}

.demo-container pre {
  background-color: rgba(0, 0, 0, 0.0);
  margin-left: 5%;
  margin-right: 5%;
  width: 90%;
}

.teaser-container {
  background: white;
  border-style: none;
  box-shadow: none;
}

.teaser-slider-shell {
  --teaser-shell-width: min(96vw, 1350px);
  padding-top: 10px;
  padding-bottom: 14px;
  width: var(--teaser-shell-width);
  max-width: none;
  margin-left: calc(50% - (var(--teaser-shell-width) / 2));
  margin-right: 0;
  position: static;
  left: auto;
  transform: none;
}

#interactive-teaser-section {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-top: 50px;
  padding-bottom: 50px;
}

#interactive-teaser-section .title {
  font-family: "Inter", "Noto Sans", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.9em;
}

.teaser-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.teaser-carousel-viewport {
  width: 100%;
  overflow: hidden;
}

.teaser-carousel-track {
  display: flex;
  transition: transform 0.35s ease;
}

.teaser-page {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.teaser-slider-card {
  border: 1px solid #e8ebf0;
  border-radius: 12px;
  background: #fcfcfd;
  box-shadow: rgba(17, 24, 39, 0.06) 0 8px 24px;
  padding: 10px;
}

.teaser-slider-video-stack {
  width: 100%;
  position: relative;
  display: grid;
  border-radius: 10px;
  border: 1px solid #e3e8ef;
  background: #111;
  overflow: hidden;
}

.teaser-slider-video-layer {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 0;
}

.teaser-slider-video-layer.active {
  opacity: 1;
}

.teaser-slider-card-title {
  margin-top: 8px;
  margin-bottom: 8px;
  color: #1f2937;
  font-family: "Inter", "Noto Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  min-height: 2.45em;
}

.teaser-slider-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
}

.teaser-slider-strength {
  color: #6b7280;
  font-family: "Inter", "Noto Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.teaser-slider-step-btn {
  border: 1px solid #dde3ea;
  border-radius: 999px;
  background: #f9fafb;
  color: #4b5563;
  width: 22px;
  height: 22px;
  line-height: 1;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.teaser-slider-step-btn:hover:not(:disabled) {
  background: #f3f4f6;
  border-color: #cfd7e2;
  color: #374151;
}

.teaser-slider-step-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.teaser-slider-input {
  width: 100%;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: #d1d5db;
  border-radius: 999px;
  outline: none;
}

.teaser-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #6b7280;
  cursor: pointer;
}

.teaser-slider-input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #6b7280;
  cursor: pointer;
}

.teaser-carousel-nav {
  background: #ffffff;
  border: 1px solid #dfe3ea;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 22px;
  color: #6b7280;
  cursor: pointer;
  box-shadow: rgba(17, 24, 39, 0.04) 0 2px 10px;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.teaser-carousel-nav:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #cfd7e2;
  color: #374151;
}

.teaser-carousel-nav:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.teaser-carousel-hint {
  margin-top: 10px;
  margin-bottom: 9px;
  text-align: center;
  color: #6b7280;
  font-family: "Inter", "Noto Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
}

.teaser-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
}

.teaser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #e5e7eb;
  padding: 0;
  cursor: pointer;
}

.teaser-dot.active {
  background: #4b5563;
  border-color: #4b5563;
}

@media only screen and (max-width: 1000px) {
  .appearance-video-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teaser-page {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .teaser-slider-card-title {
    font-size: 15px;
    min-height: 0;
  }

  .teaser-carousel {
    gap: 8px;
  }

  .teaser-carousel-nav {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }

  .teaser-carousel-hint {
    font-size: 12px;
  }
}

.scene-pills > .active {
  background: #c5e2ff;
}

.scene-pills > span:hover {
  transform: scale(1.1);
}

.video-container {
  position: relative;
  max-width: 100%;
  margin: 0.5em;
  overflow: hidden;
}

.demo-video {
  border-radius: 10px;
}

.comparison-video {
  border-radius: 10px;
}

.appearance-video-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  width: 100%;
}

.appearance-video-item {
  width: 100%;
}

.appearance-video {
  width: 100%;
  display: block;
}

.appearance-prompt {
  margin-top: 14px;
  margin-bottom: 24px;
  text-align: center;
  color: #0b2f55;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.comparisons-row-label {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-top: 18px;
  margin-bottom: 6px;
}

.comparisons-scene-row {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.comparisons-scene-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comparisons-scene-group-label {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.demo-video-label {
  font-size: 20px;
  font-weight: 550;
  margin-top: 4px;
  padding-bottom: 8px;
  height: 3em;
  /* overflow: hidden; */
  /* text-overflow: ellipsis; */
  /* display: inline-block; */
}

.demo-video-instruction {
  display: flex;
  justify-content: center;
}

.instruction-centered {
  position: absolute;
  bottom: 8px;
}

.demo-video-instruction p {
  font-size: 14px;
  color: #5555558a;
  margin-top: 0px;
  margin-bottom: 0px;
}

.demo-video-instruction a {
  font-size: 14px;
  color: #5555558a;
  margin-top: 0px;
  margin-bottom: 0px;
}

.method-label {
  font-size: 18px;
  font-weight: 600;
}



html {
  scroll-behavior: smooth;
}

p {
  font-size: 18px;
}

/* Medium devices (tablets, 768px and up)*/
@media screen and (max-width: 768px) {
  .appearance-video-row {
    grid-template-columns: 1fr;
  }

  .appearance-prompt {
    font-size: 17px;
    line-height: 1.25;
    margin-top: 10px;
    margin-bottom: 14px;
  }

  .comparisons-row-label {
    font-size: 15px;
    margin-top: 14px;
    margin-bottom: 4px;
  }

  .comparisons-scene-row {
    gap: 18px;
  }

  section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-right: 6px;
    padding-left: 6px;
  }

  span {
    font-size: 16px;
  }

  .tldr {
    font-size: 18px;
    text-align: center;
  }

  .title.publication-title {
    margin-left: 5%;
    margin-right: 5%;
    text-align: center;
  }

  .title.publication-title span {
    font-size: 26pt;
  }
  .title.is-3 {
    font-size: 24px;
    margin-left: 3%;
    margin-right: 3%;
    width: 94%;
  }

  .demo-container video {
    border-radius: 5px;
  }

  .method-labels {
    display: grid;
    grid-auto-columns: 1fr;
  }
  .method-label {
    font-size: 10px;
    grid-row: 1;
    padding: 5px;
  }

  .demo-container {
    padding-left: 6px;
    padding-right: 6px;
    margin-left: 3%;
    margin-right: 3%;
    width: 94%;
  }

  .demo-video-label {
    font-size: 14px;
    line-height: 16px;
    font-weight: 550;
    margin-top: 2px;
    padding-bottom: 2.5px;
    height: unset;
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
    /* display: inline-block; */
  }

  .comparison-video-div .demo-video-label {
    margin-top: -4px;
  }

  .description {
    margin-bottom: 1em;
    /* text-align-last: center; */
  }

  .description span {
    font-size: 14px;
    text-align: left;
  }

  .description ul {
    padding-left: 0.5em;
  }

  .description li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding-left: 0.25em;
    list-style-type: disc;
    font-size: 14px;
    text-align: left;
  }

  .description-real-data-illustration {
    margin-left: 0%;
    margin-right: 0%;
    width: 100%;
  }

  .ack {
    font-size: 14px;
  }

  .columns {
    display: flex;
    margin-left: 1%;
    margin-right: 1%;
    width: 98%;
  }

  .column {
    padding-left: 2.5px;
    padding-right: 2.5px;
    padding-bottom: 4px;
  }

  .btn-group {
    margin-left: 2%;
    margin-right: 2%;
    width: 96%;

    /* background-color: rgba(255, 255, 255, 0.4); */
    background-color: rgba(255, 255, 255, 0.0);
    margin-bottom: 1.5em;
    margin-top: 1.5em;
    padding: 0em;
    border-radius: 0px;
    /* box-shadow: rgba(0, 0, 0, 0.12) 0px 0px 12px; */
    box-shadow: none;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .button,.button.is-normal{
    margin-left: 4px;
    margin-right: 4px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 14px;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: rgba(0, 0, 0, 0.12) 0px 0px 4px;
  }
  .button span {
    justify-content: center;
    align-items: center;
    margin-top: 2px;
    margin-bottom: 2px;
    text-align: center;
  }
  .button.active {
    background: #c5e2ff;
    transition: background-color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, box-shadow 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s;
  }
  .text-description {
    margin-left: 8%;
    margin-right: 8%;
  }
  /* iframe {
    width: 90%;
    height: calc(0.7 * 60vw);
  } */

  .instruction-centered {
    position: relative;
    bottom: unset;
  }

  .demo-video-instruction p {
    font-size: 12px;
    color: #5555558a;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  #ulreference li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding-left: 0.5em;
    list-style-type: none;
    font-size: 14px;
  }

  #div-app {
    height: 320px;
  }

  #div-method {
    height: 450px;
  }

  p {
    font-size: 15px;
  }

  .hide-on-mobile {
    display: none;
  }

  #div-row-authors {
    margin-left: 0%;
    margin-right: 0%;
  }
  .tldr {
    margin-left: 5%;
    margin-right: 5%;
  }
  
}

#sec\:appearance-slider .appearance-video-row,
#sec\:motion-slider .appearance-video-row {
  gap: 6px;
}

#sec\:appearance-slider .demo-video-instruction,
#sec\:motion-slider .demo-video-instruction {
  margin-top: 14px;
  margin-bottom: 10px;
}

#sec\:appearance-slider .instruction-centered,
#sec\:motion-slider .instruction-centered {
  position: static;
}

#sec\:appearance-slider .demo-video-instruction p,
#sec\:motion-slider .demo-video-instruction p {
  margin: 0;
}

#sec\:appearance-slider .demo-container,
#sec\:motion-slider .demo-container {
  padding-left: 14px;
  padding-right: 14px;
}

#sec\:compose-sliders .demo-container {
  padding-left: 14px;
  padding-right: 14px;
}

#sec\:failures .demo-container {
  padding-left: 14px;
  padding-right: 14px;
}

#sec\:failures .demo-video-instruction {
  margin-top: 14px;
  margin-bottom: 10px;
}

#sec\:failures .instruction-centered {
  position: static;
}

#sec\:failures .demo-video-instruction p {
  margin: 0;
}

.limitations-description {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.limitations-video-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.limitations-video-item {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.limitations-video-label {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.limitations-video {
  width: 100%;
  display: block;
  background: #000;
}

@media only screen and (max-width: 768px) {
  .limitations-video-row {
    gap: 8px;
  }

  .limitations-video-label {
    font-size: 13px;
    margin-bottom: 6px;
  }
}

.compose-ink-board {
  max-width: 1020px;
  margin: 18px auto 0;
  padding: 18px 18px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.compose-ink-axis-top {
  display: grid;
  grid-template-columns: 108px repeat(4, minmax(0, 1fr));
  align-items: center;
  margin-bottom: 16px;
  color: #7a8798;
  column-gap: 14px;
}

.compose-ink-axis-top-spacer {
  display: block;
}

.compose-ink-axis-top-start {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.compose-ink-axis-top-center {
  grid-column: 3 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.compose-ink-axis-top-center::before,
.compose-ink-axis-top-center::after {
  content: "";
  display: block;
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.7));
}

.compose-ink-axis-top-center::after {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.7), rgba(148, 163, 184, 0));
}

.compose-ink-axis-top-end {
  grid-column: 5;
  text-align: right;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.compose-ink-layout {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.compose-ink-axis-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0 10px;
  line-height: 1.35;
}

.compose-ink-axis-left-start,
.compose-ink-axis-left-end {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compose-ink-axis-left-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.compose-ink-axis-left-center::before,
.compose-ink-axis-left-center::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.7), rgba(148, 163, 184, 0));
}

.compose-ink-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.compose-ink-cell {
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.compose-ink-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.compose-ink-instruction {
  margin-top: 14px;
  margin-bottom: 10px;
}

#sec\:compose-sliders .compose-ink-instruction .instruction-centered {
  position: static;
}

#sec\:compose-sliders .compose-ink-instruction p {
  margin: 0;
}

#sec\:masking .demo-container {
  padding-left: 16px;
  padding-right: 16px;
}

#masking-description {
  margin-bottom: 1em;
}

#masking-description span {
  max-width: 1180px;
  font: inherit;
  color: inherit;
}

.masking-board {
  max-width: 1240px;
  margin: 14px auto 0;
  padding: 6px 0 0;
}

.masking-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.78fr) minmax(165px, 0.62fr) 46px repeat(3, minmax(0, 1fr));
  gap: 12px 8px;
  align-items: center;
}

.masking-original-cell {
  grid-row: 1 / span 4;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.masking-original-label {
  margin-bottom: 12px;
  text-align: center;
  font-size: clamp(18px, 1.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f2f4d;
}

.masking-original-frame {
  width: 100%;
}

.masking-scale-spacer {
  min-height: 1px;
}

.masking-scale-label {
  padding-bottom: 4px;
  text-align: center;
  font-size: clamp(13px, 0.78vw, 16px);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #405163;
}

.masking-guide-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: auto;
  align-self: center;
}

.masking-guide-label {
  margin-bottom: 0;
  padding: 1px 8px 2px;
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  border: 1px solid rgba(71, 85, 105, 0.22);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-family: "Castoro", "Times New Roman", serif;
  font-size: clamp(12px, 0.68vw, 15px);
  font-weight: 400;
  line-height: 1.02;
  color: #112f4c;
  white-space: nowrap;
}

.masking-guide-label-top {
  margin-bottom: 2px;
}

.masking-guide-label-bottom {
  margin-top: 2px;
}

.masking-kw {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.masking-guide-img-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.masking-guide-frame {
  width: 82%;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 6px;
}

.masking-guide-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.masking-arrow-lane {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-left: -8px;
  margin-right: -2px;
}

.masking-right-arrow {
  display: block;
  width: 46px;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.22));
}

.masking-video-cell {
  overflow: hidden;
  border-radius: 6px;
  align-self: center;
}

.masking-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.masking-row-item {
  opacity: 0;
  transform: translateY(10px);
  animation: masking-row-reveal 0.62s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
  animation-delay: var(--masking-delay, 0ms);
}

@keyframes masking-row-reveal {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.masking-instruction {
  margin-top: 14px;
  margin-bottom: 10px;
}

#sec\:masking .masking-instruction .instruction-centered {
  position: static;
}

#sec\:masking .masking-instruction p {
  margin: 0;
}

/* Medium devices (tablets, 768px and up)*/
@media screen and (min-width: 769px) {
  /* iframe {
    width: 100%;
    height: calc(0.5 * 100vw);
  } */
  #div-row-authors {
    margin-left: -10%;
    margin-right: -10%;
  }
}

@media screen and (max-width: 768px) {
  .compose-ink-board {
    padding: 14px;
    border-radius: 16px;
  }

  .compose-ink-axis-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 8px;
  }

  .compose-ink-axis-top-spacer {
    display: none;
  }

  .compose-ink-axis-top-start,
  .compose-ink-axis-top-center,
  .compose-ink-axis-top-end {
    grid-column: auto;
  }

  .compose-ink-axis-top-center {
    gap: 6px;
    font-size: 10px;
  }

  .compose-ink-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .compose-ink-axis-left {
    flex-direction: row;
    gap: 8px;
    padding: 0;
  }

  .compose-ink-axis-left-center {
    gap: 4px;
    align-items: flex-start;
    text-align: left;
  }

  .compose-ink-axis-left-center::before,
  .compose-ink-axis-left-center::after {
    display: none;
  }

  .compose-ink-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #sec\:masking .demo-container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .masking-board {
    margin-top: 8px;
  }

  .masking-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
  }

  .masking-original-cell {
    grid-row: auto;
    max-width: 440px;
    width: 100%;
    margin: 0 auto 8px;
  }

  .masking-original-label {
    margin-bottom: 8px;
  }

  .masking-arrow-lane {
    display: none;
  }

  .masking-scale-spacer {
    display: none;
  }

  .masking-scale-label {
    padding-top: 2px;
    padding-bottom: 0;
    text-align: left;
    font-size: 11px;
  }

  .masking-guide-cell {
    align-items: stretch;
    height: auto;
    gap: 4px;
  }

  .masking-guide-label {
    white-space: normal;
    font-size: 13px;
    line-height: 1.1;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .masking-guide-img-wrap {
    flex: none;
  }

  .masking-guide-frame {
    width: 100%;
    height: auto;
  }

  .masking-guide-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

}

@media (prefers-reduced-motion: reduce) {
  .masking-row-item {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* @media screen and (min-width: 1440px) {
  iframe {
    width: 100%;
    height: calc(0.5 * 40vw);
  }
} */
