:root {
  --design-width: 2560;
  --design-height: 2622;
  --stage-scale: 1;
  --cream: #f6edf7;
  --muted: #b9b0c9;
  --purple: #a35cff;
  --purple-dark: #301568;
  --panel: rgba(7, 10, 24, .86);
  --line: #6d3bc2;
  --font-pixel-cn: "AaHMKJXST", "FZDaHeiWeb", "Microsoft YaHei", sans-serif;
  --font-ui-cn: "FZDaHeiWeb", "Microsoft YaHei", sans-serif;
  --font-pixel-en: var(--font-ui-cn);
}

@font-face {
  font-family: "AaHMKJXST";
  src: url("assets/fonts/AaHMKJXST-web.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "StarseedPro";
  src: url("assets/fonts/StarseedPro.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "FZDaHeiWeb";
  src: url("assets/fonts/FZHeiJianTi-web.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: block;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #060611;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 0%, rgba(81, 36, 127, .36), transparent 34rem),
    linear-gradient(180deg, #060611 0%, #070614 45%, #0b0720 100%);
  font-family: var(--font-ui-cn);
}

body.modal-open {
  overflow: hidden;
}

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

button {
  border: 0;
  color: inherit;
  font: inherit;
}

img,
video {
  display: block;
}

img {
  image-rendering: pixelated;
}

.scale-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: calc(2622px * var(--stage-scale));
}

.site-canvas {
  position: relative;
  width: 2560px;
  min-height: 2622px;
  overflow: visible;
  transform: scale(var(--stage-scale));
  transform-origin: top left;
  background: #0b0820;
}

.site-canvas::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1442px;
  bottom: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(73, 37, 126, .32), transparent 650px),
    linear-gradient(180deg, rgba(11, 8, 30, .96), #0b0820 42%, #080616);
}

.canvas-bg {
  position: absolute;
  left: 0;
  width: 2560px;
  pointer-events: none;
  user-select: none;
}

.bg-room {
  top: 0;
  z-index: 0;
}

.bg-lower {
  top: 783px;
  z-index: 1;
}

.top-nav,
.hero,
.works-section,
.profile-section,
.site-footer {
  position: relative;
  z-index: 2;
}

.top-nav {
  position: absolute;
  left: 0;
  top: 0;
  width: 2560px;
  height: 147px;
  z-index: 10;
}

.nav-bg {
  position: absolute;
  inset: 0;
  width: 2560px;
  height: 147px;
}

.brand {
  position: absolute;
  left: 103px;
  top: 30px;
  width: 350px;
  height: 70px;
}

.brand img {
  position: absolute;
  left: 0;
  top: 1px;
  width: 84px;
  height: 62px;
}

.brand-cn,
.brand-en {
  position: absolute;
  left: 98px;
  white-space: nowrap;
  font-weight: 900;
}

.brand-cn {
  top: -2px;
  color: #ffd68c;
  font-family: var(--font-ui-cn);
  font-size: 28px;
  letter-spacing: 3px;
  text-shadow: 2px 2px 0 #2a174e;
}

.brand-en {
  top: 40px;
  color: #8a8598;
  font-family: var(--font-ui-cn);
  font-size: 17px;
  letter-spacing: 2px;
}

.nav-links {
  position: absolute;
  left: 760px;
  top: 44px;
  display: flex;
  align-items: flex-start;
  gap: 145px;
}

.nav-links a {
  position: relative;
  display: block;
  color: #c7c1ce;
  font-family: var(--font-ui-cn);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 7px;
  line-height: 1;
}

.nav-links a.active,
.nav-links a:hover {
  color: #b96cff;
  font-family: var(--font-ui-cn);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -28px;
  width: 66px;
  height: 4px;
  background: #a35cff;
  box-shadow: 0 0 12px rgba(163, 92, 255, .85);
}

.nav-icons {
  display: none;
}

.nav-icons .icon {
  width: 45px;
  height: 36px;
  background: center / contain no-repeat;
  filter: grayscale(1) brightness(1.55);
  image-rendering: pixelated;
}

.nav-icons .gamepad {
  background-image: url("assets/console.png");
}

.nav-icons .tv {
  background-image: url("assets/clapper.png");
}

.nav-icons .mail {
  background-image: url("assets/mail.png");
}

.hero {
  height: 1030px;
}

.hero-tag {
  position: absolute;
  left: 188px;
  top: 176px;
  width: 460px;
  height: 63px;
  opacity: 1;
}

.hero-tag img {
  width: 460px;
  height: 63px;
}

.hero-tag span {
  position: absolute;
  left: 40px;
  top: 16px;
  color: #b96cff;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 3px;
  text-shadow: 2px 2px 0 #0e0625;
}

.hero h1 {
  position: absolute;
  left: 188px;
  top: 264px;
  margin: 0;
  color: #eee8f2;
  font-family: var(--font-pixel-cn);
  font-size: 86px;
  line-height: 1;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 6px;
  text-shadow:
    3px 3px 0 rgba(45, 32, 68, .72),
    0 0 18px rgba(166, 91, 255, .18);
  opacity: 1;
}

.hero-en {
  position: absolute;
  left: 188px;
  top: 386px;
  margin: 0;
  color: #a46bff;
  font-family: var(--font-pixel-cn);
  font-size: 31px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 5px;
  text-shadow: 1px 1px 0 #10052b;
  opacity: 1;
}

.hero-en::after {
  content: none;
}

.hero-desc {
  position: absolute;
  left: 188px;
  top: 456px;
  width: 980px;
  margin: 0;
  padding: 0;
  color: #e0dce7;
  font-family: var(--font-ui-cn);
  background: transparent;
  border-left: 0;
  font-size: 24px;
  line-height: 1.62;
  font-weight: 700;
  letter-spacing: .8px;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, .56);
  opacity: 1;
}

.hero-actions {
  position: absolute;
  left: 188px;
  top: 570px;
  display: flex;
  align-items: flex-start;
  gap: 31px;
  opacity: 1;
}

.action-stack {
  display: flex;
  width: 258px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.image-button {
  position: relative;
  display: block;
  height: 79px;
  transition: transform .16s ease, filter .16s ease;
}

.image-button:hover {
  transform: translateY(-4px);
  filter: brightness(1.12);
}

.image-button.browse,
.image-button.browse img {
  width: 258px;
}

.image-button.download,
.image-button.download img {
  width: 253px;
}

.image-button.cloud-download,
.image-button.cloud-download img {
  width: 253px;
}

.image-button img {
  height: 79px;
}

.image-button span {
  position: absolute;
  top: 25px;
  left: 84px;
  color: #fff;
  font-family: var(--font-ui-cn);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  white-space: nowrap;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, .65);
}

.image-button.download span {
  left: 87px;
}

.image-button.cloud-download span {
  left: 30px;
  top: 21px;
  padding: 4px 12px 5px;
  background: rgba(14, 16, 31, .92);
  box-shadow: inset 0 0 0 1px rgba(185, 108, 255, .2);
  font-size: 25px;
  line-height: 1;
  letter-spacing: 1px;
}

.network-note {
  position: absolute;
  left: 1500px;
  top: 17px;
  width: 760px;
  margin: 0;
  color: #cfc6dc;
  font-family: var(--font-ui-cn);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .6px;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, .52);
}

.stats-panel {
  position: absolute;
  left: 479px;
  top: 835px;
  width: 1606px;
  height: 127px;
  opacity: 1;
}

.stats-panel > img {
  width: 1606px;
  height: 127px;
}

.stat {
  position: absolute;
  top: 31px;
  width: 200px;
}

.stat-projects {
  left: 230px;
}

.stat-years {
  left: 785px;
}

.stat-love {
  left: 1331px;
}

.stat strong {
  display: block;
  color: #ab67ff;
  font-family: var(--font-ui-cn);
  font-size: 38px;
  line-height: 1;
  letter-spacing: 4px;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: #c9c1cf;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
}

.works-section {
  min-height: 985px;
  padding-top: 4px;
}

.section-title {
  width: 560px;
  height: 62px;
  margin-left: 995px;
  display: flex;
  align-items: center;
}

.section-title img {
  width: 50px;
  height: 44px;
  margin-right: 18px;
}

.section-title h2 {
  margin: 0;
  color: #f3edf2;
  font-family: var(--font-ui-cn);
  font-size: 46px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 5px;
  white-space: nowrap;
  text-shadow: 3px 3px 0 rgba(77, 43, 121, .9);
}

.section-title span {
  margin-left: 28px;
  color: #7e7891;
  font-family: var(--font-ui-cn);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 5px;
}

.filter-tabs {
  margin-top: 17px;
  margin-left: 691px;
  display: flex;
  gap: 24px;
}

.filter-tabs button {
  width: 170px;
  height: 47px;
  padding: 0;
  cursor: pointer;
  background: url("assets/psd-export/tab-normal.png") center / 100% 100% no-repeat;
  color: #ded8e4;
  font-family: var(--font-ui-cn);
  font-size: 23px;
  line-height: 47px;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, .55);
}

.filter-tabs button:first-child {
  width: 161px;
}

.filter-tabs button.wide {
  width: 205px;
}

.filter-tabs button.active,
.filter-tabs button:hover {
  background-image: url("assets/psd-export/tab-active.png");
  color: #fff;
}

.works-grid {
  width: 2142px;
  margin-top: 24px;
  margin-left: 187px;
  display: grid;
  grid-template-columns: repeat(4, 514px);
  column-gap: 28px;
  row-gap: 32px;
}

.work-card {
  width: 514px;
  min-height: 358px;
  position: relative;
  transition: transform .22s steps(5, end), filter .22s steps(5, end);
  transform-origin: center top;
  will-change: transform;
}

.work-card:hover {
  z-index: 5;
  transform: translateY(-8px) scale(1.035);
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .34)) drop-shadow(0 0 20px rgba(155, 86, 255, .22));
}

.video-thumb {
  position: relative;
  width: 514px;
  height: 236px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  overflow: hidden;
}

.video-thumb video {
  position: absolute;
  left: 6px;
  top: 5px;
  width: 502px;
  height: 224px;
  object-fit: cover;
  background:
    radial-gradient(circle at 50% 45%, rgba(78, 87, 107, .34), transparent 55%),
    linear-gradient(145deg, #191e27, #10131a);
  filter: saturate(.96) contrast(1.06);
}

.video-poster {
  position: absolute;
  left: 6px;
  top: 5px;
  width: 502px;
  height: 224px;
  object-fit: cover;
  background:
    radial-gradient(circle at 50% 45%, rgba(78, 87, 107, .34), transparent 55%),
    linear-gradient(145deg, #191e27, #10131a);
  filter: saturate(.96) contrast(1.06);
}

.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/psd-export/video-frame.png") center / 100% 100% no-repeat;
  pointer-events: none;
}

.video-thumb::marker {
  display: none;
}

.video-thumb:hover video {
  filter: saturate(1.12) contrast(1.12) brightness(1.08);
}

.video-thumb:hover .video-poster {
  filter: saturate(1.12) contrast(1.12) brightness(1.08);
}

.video-thumb:hover::after {
  filter: brightness(1.25);
}

.video-thumb:hover .duration {
  background: rgba(44, 16, 80, .86);
}

.card-shine {
  position: absolute;
  left: -220px;
  top: -38px;
  z-index: 2;
  display: block;
  width: 170px;
  height: 320px;
  background: linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, .22) 42%, rgba(165, 99, 255, .42) 50%, transparent 72%);
  transform: skewX(-18deg) translateX(-180px);
  opacity: 0;
  pointer-events: none;
}

.video-thumb:hover .card-shine {
  animation: card-sweep .72s steps(8, end) forwards;
}

.video-thumb::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 0;
  height: 0;
  transform: translate(-36%, -50%);
  border-top: 31px solid transparent;
  border-bottom: 31px solid transparent;
  border-left: 45px solid rgba(246, 245, 250, .9);
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .4));
  transition: transform .16s ease, border-left-color .16s ease;
}

.video-thumb:hover::before {
  transform: translate(-36%, -50%) scale(1.1);
  border-left-color: #fff;
}

.duration {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 3;
  padding: 2px 8px 3px;
  color: #f1edf5;
  background: rgba(0, 0, 0, .68);
  border-radius: 2px;
  font-family: var(--font-ui-cn);
  font-size: 19px;
  line-height: 1.1;
}

.work-info {
  position: relative;
  min-height: 102px;
  padding-top: 23px;
}

.work-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.work-tag,
.work-year {
  display: inline-flex;
  height: 40px;
  align-items: center;
  padding: 0 18px;
  font-family: var(--font-ui-cn);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
}

.work-tag {
  min-width: 146px;
  color: #e8d9ff;
  background:
    linear-gradient(90deg, rgba(86, 38, 160, .96), rgba(32, 30, 62, .8)),
    url("assets/psd-export/video-label-frame.png") center / 100% 100% no-repeat;
  border-left: 2px solid rgba(163, 92, 255, .75);
}

.work-year {
  min-width: 104px;
  gap: 9px;
  color: #d8c6ff;
  background: linear-gradient(90deg, rgba(28, 21, 57, .96), rgba(18, 22, 42, .78));
  border: 1px solid rgba(127, 83, 190, .52);
  box-shadow: inset 0 0 0 1px rgba(226, 202, 255, .08);
}

.work-year::before {
  content: "";
  width: 13px;
  height: 13px;
  background: #a45cff;
  box-shadow:
    3px 0 0 #6d35b8,
    0 3px 0 #6d35b8,
    3px 3px 0 #2b174e;
}

.work-tag[data-tone="green"] {
  color: #aaffc8;
  border-left-color: #4fd779;
  background: linear-gradient(90deg, rgba(28, 91, 55, .96), rgba(25, 44, 52, .82));
}

.work-tag[data-tone="blue"] {
  color: #b8d9ff;
  border-left-color: #4d83ff;
  background: linear-gradient(90deg, rgba(40, 74, 151, .96), rgba(25, 37, 65, .82));
}

.work-tag[data-tone="orange"] {
  color: #ffd0a4;
  border-left-color: #e7823b;
  background: linear-gradient(90deg, rgba(124, 61, 25, .96), rgba(50, 35, 32, .82));
}

.work-info h3 {
  margin: 14px 0 8px;
  color: #faf7ff;
  font-family: var(--font-ui-cn);
  font-size: 26px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-info p {
  margin: 0;
  color: #bfc0ce;
  font-family: var(--font-ui-cn);
  font-size: 20px;
  line-height: 1.38;
  font-weight: 600;
  letter-spacing: .4px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.load-more {
  position: relative;
  display: block;
  width: 633px;
  height: 65px;
  margin: 42px 0 0 966px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  transition: transform .16s ease, filter .16s ease, opacity .16s ease;
}

.load-more img {
  width: 633px;
  height: 65px;
}

.load-more span {
  position: absolute;
  left: 0;
  top: 17px;
  width: 100%;
  color: #efe8f9;
  font-family: var(--font-ui-cn);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 3px;
  text-align: center;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, .72);
}

.load-more:hover {
  transform: translateY(-3px);
  filter: brightness(1.12);
}

.load-more.hidden {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.profile-section {
  height: 560px;
  margin-top: 24px;
}

.about-panel,
.skills-panel,
.contact-panel {
  position: absolute;
}

.panel-bg {
  width: 100%;
  height: 100%;
}

.about-panel {
  left: 27px;
  top: 0;
  width: 838px;
  height: 516px;
}

.skills-panel {
  left: 882px;
  top: 65px;
  width: 895px;
  height: 423px;
}

.contact-panel {
  left: 1792px;
  top: 58px;
  width: 740px;
  height: 437px;
}

.panel-title {
  position: absolute;
  display: flex;
  align-items: flex-end;
  gap: 22px;
}

.panel-title h2 {
  margin: 0;
  color: #f6edf7;
  font-family: var(--font-ui-cn);
  font-size: 43px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 5px;
}

.panel-title span {
  color: #817890;
  font-family: var(--font-ui-cn);
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 3px;
}

.about-title {
  left: 102px;
  top: 83px;
}

.skills-title {
  left: 57px;
  top: 20px;
}

.contact-title {
  left: 40px;
  top: 42px;
}

.avatar {
  position: absolute;
  left: 18px;
  top: 152px;
  width: 317px;
  height: 328px;
}

.about-copy {
  position: absolute;
  left: 232px;
  top: 135px;
  width: 583px;
  margin: 0;
  color: #d7d0dd;
  font-family: var(--font-ui-cn);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: .5px;
}

.about-meta {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #ebe4f3;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
}

.about-meta.location {
  left: 356px;
  top: 406px;
}

.about-meta.age {
  left: 612px;
  top: 400px;
}

.about-meta.location img {
  width: 32px;
  height: 39px;
}

.about-meta.age img {
  width: 46px;
  height: 47px;
}

.skill-labels {
  position: absolute;
  left: 45px;
  right: 43px;
  top: 218px;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 150px 132px 150px 72px 180px;
  justify-content: space-between;
  list-style: none;
}

.skill-labels li {
  color: #d8d0de;
  font-family: var(--font-ui-cn);
  font-size: 21px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.contact-list {
  position: absolute;
  left: 112px;
  top: 133px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li + li {
  margin-top: 59px;
}

.contact-list a {
  display: block;
  color: #eee8f4;
  font-family: var(--font-ui-cn);
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1px;
  transition: color .16s ease, transform .16s ease;
}

.contact-list a:hover {
  color: #b96cff;
  transform: translateX(6px);
}

.site-footer {
  min-height: 52px;
  padding: 8px 0 30px;
  color: #777185;
  font-family: var(--font-ui-cn);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 32px;
}

.video-modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 2, 10, .82);
  backdrop-filter: blur(8px);
  animation: modal-fade .2s steps(4, end) both;
}

.modal-card {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100vw - 64px));
  padding: 24px;
  border: 2px solid rgba(163, 92, 255, .75);
  background:
    linear-gradient(180deg, rgba(19, 16, 42, .96), rgba(7, 9, 24, .98));
  box-shadow:
    inset 0 0 0 4px rgba(78, 42, 135, .25),
    0 20px 80px rgba(0, 0, 0, .55),
    0 0 45px rgba(116, 54, 220, .26);
  animation: modal-pop .28s steps(6, end) both;
  overflow: hidden;
}

.modal-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, transparent, #b96cff 12%, #58e1ff 50%, #b96cff 88%, transparent);
  box-shadow: 0 0 22px rgba(165, 92, 255, .8);
  animation: modal-scan .9s steps(12, end) both;
}

.modal-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(185, 108, 255, .24);
  pointer-events: none;
}

.modal-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.modal-head span {
  padding: 7px 14px;
  color: #e7d4ff;
  background: rgba(97, 49, 180, .72);
  border-left: 3px solid #b96cff;
  font-size: 18px;
  font-weight: 900;
}

.modal-head h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.modal-card video {
  width: 100%;
  max-height: min(70vh, 675px);
  background: #000;
}

.modal-card p {
  margin: 16px 0 0;
  color: #d5cede;
  font-size: 20px;
  line-height: 1.55;
}

.modal-close {
  position: fixed;
  right: 34px;
  top: 28px;
  z-index: 3;
  width: 52px;
  height: 52px;
  cursor: pointer;
  color: #fff;
  background: rgba(93, 45, 180, .88);
  border: 2px solid rgba(206, 174, 255, .7);
  font-size: 42px;
  line-height: 42px;
  box-shadow: 0 0 24px rgba(126, 70, 230, .35);
}

@media (max-width: 760px) {
  .video-modal {
    padding: 16px;
  }

  .modal-card {
    width: calc(100vw - 32px);
    padding: 14px;
  }

  .modal-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .modal-head h2 {
    font-size: 22px;
  }

  .modal-card p {
    font-size: 16px;
  }
}

@keyframes card-sweep {
  0% {
    opacity: 0;
    transform: skewX(-18deg) translateX(-180px);
  }
  16% {
    opacity: .95;
  }
  100% {
    opacity: 0;
    transform: skewX(-18deg) translateX(690px);
  }
}

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-pop {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(.92);
    filter: brightness(1.7) saturate(1.4);
  }
  64% {
    opacity: 1;
    transform: translateY(-6px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(1) saturate(1);
  }
}

@keyframes modal-scan {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

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