/* Artes originales por tema. ICHIBAN conserva la marca de academia; CYBER JAPAN su hannya. */
.theme-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 430px;
  max-width: 100%;
}
.theme-art img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  opacity: 1;
  filter: drop-shadow(0 12px 24px #0004);
}
.theme-art > span {
  font: 600 10px var(--body);
  color: #e7d7b9;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 2px;
}
.hero-art:has(.theme-art) {
  inset: 0 16px 0 auto;
  width: 32%;
  opacity: 1;
  mask-image: none;
  overflow: visible;
  justify-content: center;
}
.hero:has(.theme-art) .hero-copy {
  max-width: 68%;
}
.hero-art .theme-art {
  width: 420px;
}
.theme-art-backdrop {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  width: 720px;
  right: -130px;
  bottom: -150px;
  opacity: 0.065;
}
.theme-art-backdrop img {
  width: 100%;
}
.workspace:has(.theme-art-backdrop) > .dojo-art {
  opacity: 0.4;
}
.teacher-timer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.teacher-timer-heading > .pagehead {
  flex: 1;
  min-width: 0;
}
.teacher-timer-art {
  flex: none;
  width: 180px;
  padding-bottom: 20px;
}
.teacher-timer-art:empty {
  display: none;
}
.teacher-timer-art .cyber-emblem {
  width: 180px;
}
.teacher-timer-art .code-bottom {
  font-size: 8px;
  letter-spacing: 1px;
}
.teacher-timer-art .theme-art > span {
  display: none;
}
.public-theme-art {
  width: 210px;
  flex: none;
}
.public-theme-art:empty {
  display: none;
}
.public-theme-art .cyber-emblem {
  width: 200px;
}
.public-theme-art .theme-art > span {
  display: none;
}
.public-theme-art .code-bottom {
  font-size: 8px;
  letter-spacing: 1px;
}
.palette.p0 {
  background: #e73942;
}
.palette.p1 {
  background: #e8be36;
}
.palette.p2 {
  background: linear-gradient(90deg, #d9ae3f 50%, #c8102e 50%);
}
.palette.p3 {
  background: #77ba8e;
}
.palette.p4 {
  background: #809ce4;
}
.palette.p5 {
  background: #eda0bd;
}
.palette.p6 {
  background: #d9b086;
}
.palette.p7 {
  background: #6dcabd;
}
@media (max-width: 1000px) {
  .hero-art .theme-art {
    width: 330px;
  }
  .teacher-timer-heading {
    gap: 12px;
  }
  .teacher-timer-art {
    width: 150px;
  }
  .teacher-timer-art .cyber-emblem {
    width: 150px;
  }
}
@media (max-width: 760px) {
  .hero-art:has(.theme-art) {
    inset: auto;
    width: 100%;
    height: 220px;
    overflow: hidden;
    padding: 8px 0;
  }
  .hero:has(.theme-art) .hero-copy {
    max-width: 100%;
  }
  .hero-art .theme-art {
    width: 280px;
  }
  .hero-art .theme-art img {
    max-height: 205px;
  }
  .hero-art .theme-art > span {
    display: none;
  }
  .teacher-timer-heading {
    flex-wrap: wrap;
    justify-content: center;
  }
  .teacher-timer-heading > .pagehead {
    flex-basis: 100%;
    margin-bottom: 0;
  }
  .teacher-timer-art {
    width: 155px;
    padding-bottom: 24px;
  }
  .teacher-timer-art .cyber-emblem {
    width: 155px;
  }
  .theme-art-backdrop {
    width: 560px;
    right: -160px;
  }
  .public-theme-art {
    display: block;
    width: 150px;
    margin: 8px auto 0;
  }
}

/* El mismo arte acompaña todos los módulos sin cubrir el contenido. */
@media (min-width: 761px) {
  [data-theme="CYBER JAPAN"] .hero-art {
    inset: 0 12px 0 auto;
    width: 34%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  [data-theme="CYBER JAPAN"] .hero-art .cyber-emblem {
    width: min(290px, 100%);
    margin: 0;
    transform: translateY(-7px);
  }
  [data-theme="CYBER JAPAN"] .hero-copy {
    max-width: 66%;
  }
}
.hero-art:has(.theme-art) {
  inset: 0 0 0 auto;
  width: 40%;
  overflow: hidden;
  padding: 0;
}
.hero:has(.theme-art) .hero-copy {
  max-width: 60%;
}
.hero-art .theme-art {
  width: 100%;
  height: 100%;
}
.hero-art .theme-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.hero-art .theme-art > span {
  display: none;
}
.pagehead:has(> .module-theme-art) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 155px;
  align-items: center;
  column-gap: 24px;
}
.pagehead:has(> .module-theme-art) > .actions {
  grid-column: 1;
  grid-row: 2;
  justify-content: flex-start;
}
.module-theme-art {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 155px;
  min-height: 125px;
  display: grid;
  place-items: center;
  min-width: 0;
}
.module-theme-art:has(> .theme-art),
.module-theme-art:has(> .performance-mark) {
  overflow: hidden;
  border-radius: 12px;
}
.module-theme-art > .theme-art {
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
}
.module-theme-art > .theme-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.module-theme-art .cyber-emblem {
  width: 155px;
}
.module-theme-art .theme-art > span {
  display: none;
}
.module-theme-art .code-bottom {
  font-size: 7px;
  letter-spacing: 0.8px;
}
.module-theme-art .code-top {
  font-size: 10px;
}
.module-theme-art .performance-mark {
  width: 150px;
  height: 135px;
  transform: scale(0.86);
}
.module-theme-art .performance-mark img {
  width: 90px;
  height: 90px;
}
.module-theme-art .mongkol-hero,
.module-theme-art .judo-hero {
  transform: scale(0.5);
  width: 300px;
  height: 260px;
  margin: -65px -75px;
}
.kiosk {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.kiosk > .theme-art-backdrop {
  z-index: 0;
}
.kiosk > .cyber-backdrop {
  z-index: 0;
}
.kiosk-brand {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.kiosk-academy {
  min-width: 0;
  flex: 1;
}
.kiosk-theme-art {
  width: clamp(170px, 19vw, 290px);
  flex: none;
  display: grid;
  place-items: center;
}
.kiosk-theme-art .cyber-emblem {
  width: 100%;
}
.kiosk-theme-art .theme-art > span {
  display: none;
}
.kiosk-theme-art .performance-mark {
  width: 220px;
  height: 210px;
}
.kiosk-theme-art .performance-mark img {
  width: 135px;
  height: 135px;
}
.kiosk-theme-art .code-bottom {
  font-size: 8px;
  letter-spacing: 1px;
}
.kiosk-theme-art .mongkol-hero,
.kiosk-theme-art .judo-hero {
  transform: scale(0.65);
  width: 300px;
  height: 280px;
  margin: -45px -40px;
}
.kiosk .jacare-signature {
  width: 100%;
  margin: 25px 0 0;
  padding: 16px 0;
}
.kiosk .kleft {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--acento) 10%, transparent),
    transparent 60%
  );
}
.kiosk .kleft h2 {
  font-size: clamp(24px, 2.3vw, 34px);
}
.kiosk .kiosk-class {
  width: 100%;
}
.public-theme-art .performance-mark {
  width: 200px;
  height: 190px;
}
.public-theme-art .performance-mark img {
  width: 130px;
  height: 130px;
}
[data-mode="claro"] .kiosk .kleft {
  color: var(--tx);
}
[data-mode="claro"] .kiosk .kleft > p,
[data-mode="claro"] .kiosk-academy p {
  color: var(--sub);
}
@media (max-width: 760px) {
  .hero:has(.theme-art) .hero-copy {
    max-width: 100%;
  }
  .hero-art:has(.theme-art) {
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    padding: 0;
  }
  .hero-art .theme-art img {
    max-height: none;
  }
  [data-theme="CYBER JAPAN"] .hero-art {
    height: auto;
    min-height: 280px;
    padding: 18px 10px;
    overflow: visible;
  }
  [data-theme="CYBER JAPAN"] .hero-art .cyber-emblem {
    width: min(280px, 100%);
    height: auto;
    aspect-ratio: 1;
    margin: auto;
  }
  [data-theme="CYBER JAPAN"] .hero-art .cyber-emblem .hannya-art {
    width: 70%;
    height: 82%;
  }
  [data-theme="CYBER JAPAN"] .hero-art .cyber-emblem .hannya-art svg {
    width: 100%;
    height: 100%;
  }
  .pagehead:has(> .module-theme-art) {
    grid-template-columns: minmax(0, 1fr) 100px;
    gap: 12px;
  }
  .pagehead:has(> .module-theme-art) > div:first-child {
    grid-column: 1 / span 2;
  }
  .pagehead:has(> .module-theme-art) > .actions {
    grid-column: 1;
    grid-row: 2;
  }
  .module-theme-art {
    grid-column: 2;
    grid-row: 2;
    width: 100px;
    min-height: 100px;
  }
  .module-theme-art .cyber-emblem {
    width: 100px;
  }
  .module-theme-art .cyber-code {
    display: none;
  }
  .module-theme-art .performance-mark {
    transform: scale(0.65);
    margin: -25px;
  }
  .timer-public-intro {
    flex-wrap: wrap;
  }
  .public-theme-art .cyber-emblem {
    width: 150px;
  }
  .public-theme-art .performance-mark {
    transform: scale(0.75);
    margin: -20px;
  }
  .kiosk-theme-art {
    width: 140px;
  }
  .kiosk-theme-art .performance-mark {
    transform: scale(0.65);
    margin: -40px;
  }
  .kiosk-theme-art .cyber-code {
    font-size: 7px;
    letter-spacing: 0.5px;
    padding: 3px 5px;
  }
  .kiosk-academy .academy-logo {
    width: 60px;
    height: 60px;
  }
  .kiosk .kleft h2 {
    font-size: 24px;
  }
  .kiosk-academy p {
    font-size: 14px;
  }
}
