@font-face {
  font-family: Montserrat;
  src: url("/assets/montserrat-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/open-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/open-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
:root {
  font-family: "Open Sans", system-ui, sans-serif;
  color: #f5f8ff;
  background: #080d24;
  color-scheme: dark;
  --line: #ffffff15;
  --muted: #acbbd4;
  --yellow: #ffdf28;
  --cyan: #36e3ff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select {
  font: inherit;
  color: inherit;
}
button,
a,
select {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
p {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--yellow);
  color: #080d24;
  padding: 12px 20px;
  z-index: 50;
}
.skip:focus {
  top: 10px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px max(24px, calc((100vw - 1344px) / 2));
  border-bottom: 1px solid var(--line);
  background: #080d24;
}
.brand {
  flex-shrink: 0;
  width: 152px;
}
.brand img {
  width: 100%;
  height: auto;
}
.topbar nav {
  display: flex;
  gap: 10px;
  align-items: center;
}
.topbar nav a {
  padding: 10px 15px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  border-radius: 10px;
}
.topbar nav a:hover,
.topbar nav a[aria-current] {
  color: var(--yellow);
  background: #ffdf280b;
}
.topbar nav a.social {
  color: var(--cyan);
}
main {
  max-width: 1392px;
  margin: auto;
  padding: 0 24px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 48px 0 38px;
}
.kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cyan);
}
h1 {
  font-size: clamp(40px, 5vw, 66px);
  margin: 10px 0 12px;
}
h1 span {
  color: var(--yellow);
}
.intro p {
  font-size: 16px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid #36e3ff50;
  background: #112342;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px #0004;
}
.button.yellow {
  background: linear-gradient(180deg, #fff17a, var(--yellow));
  color: #10192d;
  border-color: #fff391;
  box-shadow:
    inset 0 1px 0 #fff8,
    0 3px 0 #ad8c13,
    0 6px 25px #ffdf2820;
}
.button:active {
  transform: translateY(1px);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
}
h2 {
  font-size: 26px;
}
.text-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  padding: 10px 0;
}
.directive {
  font-size: 14px;
  margin-bottom: 20px;
}
.starter-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 16px;
}
.starter-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #101b34;
  box-shadow:
    0 2px 4px #0002,
    0 12px 28px #0002;
}
.starter-card.character {
  border-color: #ffdf2840;
}
.asset-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #081e40;
  cursor: zoom-in;
  height: 250px;
}
.asset-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s;
}
.asset-preview:hover img {
  transform: scale(1.025);
}
.checker {
  background-color: #e4e8f0;
  background-image:
    linear-gradient(45deg, #bfc7d460 25%, transparent 25%),
    linear-gradient(-45deg, #bfc7d460 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #bfc7d460 75%),
    linear-gradient(-45deg, transparent 75%, #bfc7d460 75%);
  background-size: 22px 22px;
  background-position:
    0 0,
    0 11px,
    11px -11px,
    -11px 0;
}
.preview-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #080d24db;
  color: white;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 9px;
  pointer-events: none;
}
.starter-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px;
}
.starter-caption h3 {
  font-size: 14px;
  letter-spacing: -0.02em;
}
.starter-caption p {
  font-size: 11px;
  margin-top: 6px;
}
.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #ffffff21;
  border-radius: 8px;
  min-height: 42px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  background: #ffffff05;
}
.download:hover {
  color: var(--yellow);
  border-color: #ffdf2870;
}
.download span {
  font-size: 18px;
  line-height: 1;
}
.library {
  margin-top: 54px;
}
.library .section-heading p {
  font-size: 12px;
  margin-top: 10px;
}
.count {
  font-size: 11px !important;
  white-space: nowrap;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 24px 0;
}
.filters {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  background: #101b34;
}
.filters button {
  border: 0;
  background: transparent;
  border-radius: 7px;
  color: var(--muted);
  padding: 9px 16px;
  min-height: 42px;
  font-size: 12px;
  font-weight: 600;
}
.filters button[aria-pressed="true"] {
  background: var(--yellow);
  color: #10192d;
}
.filters button span {
  font-size: 10px;
  opacity: 0.7;
  margin-left: 5px;
}
.account select {
  background: #101b34;
  border: 1px solid var(--line);
  padding: 12px 36px 12px 14px;
  border-radius: 9px;
  font-size: 12px;
  min-height: 46px;
  max-width: 100%;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
  align-items: start;
}
.media-card {
  min-width: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #101b34;
  box-shadow:
    0 2px 4px #0002,
    0 10px 24px #0002;
}
.media-card .asset-preview {
  height: auto;
  aspect-ratio: 1;
}
.media-card .asset-preview img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.media-type {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  letter-spacing: 0.06em;
  background: #080d24df;
  padding: 3px 8px;
  border: 1px solid #ffffff20;
  border-radius: 5px;
  color: #fff;
}
.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.play span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding-left: 4px;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  background: #080d24c9;
  color: #fff;
  font-size: 19px;
  box-shadow: 0 3px 20px #0005;
}
.media-info {
  padding: 12px;
}
.media-title {
  font-size: 12px;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 38px;
}
.media-meta {
  font-size: 10px;
  color: var(--muted);
  margin: 8px 0 12px;
}
.media-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.media-actions .download {
  flex: 1;
}
.source {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  color: var(--muted);
  border-radius: 8px;
}
.source:hover {
  background: #ffffff07;
  color: var(--cyan);
}
.more {
  display: flex;
  margin: 30px auto 0;
  min-width: 200px;
}
.empty,
.error {
  text-align: center;
  padding: 50px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.error .button {
  margin-top: 20px;
}
.make-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 56px 0;
  padding: 30px;
  border: 1px solid #36e3ff30;
  background: #0c1b34;
  border-radius: 14px;
}
.make-next h2 {
  font-size: 24px;
}
.make-next p {
  font-size: 13px;
  margin-top: 10px;
}
footer {
  max-width: 1392px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
footer > a {
  font-family: Montserrat;
  font-size: 16px;
  color: white;
}
footer div {
  display: flex;
  gap: 24px;
}
dialog {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #ffffff30;
  background: #0c1630;
  color: #f5f8ff;
  width: min(900px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  box-shadow: 0 20px 100px #0008;
}
dialog::backdrop {
  background: #030611dc;
  backdrop-filter: blur(8px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.dialog-heading h2 {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.close {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 44px;
  height: 44px;
  background: #111e3a;
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
#preview-media {
  background: #051126;
  border-radius: 9px;
  overflow: hidden;
}
#preview-media img,
#preview-media video {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 235px);
  min-height: 160px;
  object-fit: contain;
}
.preview-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}
#preview-detail {
  font-size: 11px;
  margin-top: 12px;
}
@media (min-width: 1600px) {
  .asset-preview {
    height: 280px;
  }
}
@media (max-width: 1050px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .starter-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .asset-preview {
    height: 210px;
  }
  .starter-caption {
    padding: 12px;
    flex-wrap: wrap;
  }
  .starter-caption .download {
    width: 100%;
  }
  .topbar {
    gap: 16px;
    padding: 12px 24px;
  }
  .topbar nav a {
    padding: 9px 10px;
  }
}
@media (max-width: 700px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 16px;
    gap: 8px;
  }
  .brand {
    width: 132px;
  }
  .topbar nav {
    justify-content: center;
    gap: 3px;
    flex-wrap: wrap;
  }
  .topbar nav a {
    font-size: 11px;
    padding: 8px 10px;
  }
  .topbar .social {
    display: none;
  }
  main {
    padding: 0 16px;
  }
  .intro {
    display: block;
    padding: 30px 0;
  }
  h1 {
    font-size: 44px;
  }
  .intro p {
    font-size: 13px;
  }
  .intro > .button {
    margin-top: 22px;
    width: 100%;
    min-height: 50px;
  }
  .section-heading {
    gap: 12px;
  }
  h2 {
    font-size: 23px;
  }
  .text-link {
    font-size: 11px;
  }
  .directive {
    font-size: 12px;
    line-height: 1.8;
  }
  .starter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .character {
    grid-column: 1/-1;
  }
  .character .asset-preview {
    height: auto;
    aspect-ratio: 4/3;
  }
  .asset-preview {
    height: auto;
    aspect-ratio: 1;
  }
  .starter-caption h3 {
    font-size: 12px;
  }
  .starter-caption p {
    font-size: 10px;
  }
  .character .starter-caption {
    flex-wrap: nowrap;
  }
  .character .download {
    width: auto;
  }
  .library {
    margin-top: 38px;
  }
  .library .section-heading {
    display: block;
  }
  .library .section-heading p {
    font-size: 11px;
  }
  .toolbar {
    display: block;
    margin: 20px 0;
  }
  .filters {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
  .filters button {
    flex: 1;
    padding: 8px 10px;
    font-size: 12px;
  }
  .account {
    display: block;
    margin-top: 12px;
  }
  .account select {
    width: 100%;
  }
  .count {
    margin-top: 12px !important;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .media-info {
    padding: 10px;
  }
  .media-title {
    font-size: 11px;
    min-height: 35px;
  }
  .media-meta {
    font-size: 9px;
    line-height: 1.6;
    min-height: 29px;
    margin: 7px 0;
  }
  .media-actions {
    gap: 3px;
  }
  .media-actions .download {
    font-size: 10px;
    padding: 8px;
    gap: 6px;
    min-height: 44px;
  }
  .source {
    min-width: 32px;
    min-height: 44px;
  }
  .play span {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
  .preview-hint {
    font-size: 8px;
    bottom: 7px;
    right: 7px;
  }
  .make-next {
    display: block;
    padding: 24px 20px;
    margin: 38px 0;
  }
  .make-next h2 {
    font-size: 22px;
  }
  .make-next .button {
    width: 100%;
    margin-top: 22px;
  }
  footer {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 25px 16px;
  }
  footer div {
    gap: 16px;
    width: 100%;
    justify-content: center;
    font-size: 10px;
  }
  dialog {
    padding: 16px;
  }
  .dialog-heading h2 {
    font-size: 14px;
  }
  .preview-actions {
    flex-wrap: wrap;
  }
  .preview-actions .button {
    width: 100%;
  }
  #preview-media img,
  #preview-media video {
    max-height: calc(100dvh - 270px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
