/* ============================================================
   Meridian 认证页 · 纯 CSS 设计系统
   改这里即可，无需任何构建工具 —— 保存后刷新浏览器直接生效
   ============================================================ */

/* ---------- Token ---------- */
:root {
  --radius: 12px;

  --font-display: "Space Grotesk", "PingFang SC", "Microsoft YaHei", ui-sans-serif, sans-serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* 深墨底 + 冷铜强调 */
  --bg: oklch(0.145 0.018 265);
  --ink: oklch(0.97 0.006 250);
  --ink-soft: oklch(0.665 0.02 258);
  --ink-faint: oklch(0.52 0.02 258);

  --surface: oklch(0.215 0.024 265 / 72%);
  --surface-strong: oklch(0.245 0.026 265 / 88%);
  --field: oklch(0.255 0.022 265 / 55%);
  --field-hover: oklch(0.275 0.024 265 / 75%);

  --line: oklch(0.94 0.01 250 / 12%);
  --line-strong: oklch(0.94 0.01 250 / 20%);

  --beam: oklch(0.76 0.13 62);
  --beam-deep: oklch(0.68 0.15 55);
  --beam-alt: oklch(0.58 0.11 235);
  --on-beam: oklch(0.17 0.02 60);
  --beam-shadow: oklch(0.72 0.14 62 / 45%);

  --danger: oklch(0.68 0.19 25);
  --ok: oklch(0.78 0.14 155);

  --shadow-lift:
    0 1px 0 0 rgb(255 255 255 / 6%) inset,
    0 30px 80px -40px rgb(0 0 0 / 90%);
  --shadow-beam: 0 18px 50px -22px var(--beam-shadow);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html,
body {
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

svg {
  display: block;
}

::selection {
  background: var(--beam);
  color: var(--on-beam);
}

.hidden {
  display: none !important;
}

/* ---------- 背景氛围 ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(90rem 46rem at 12% -10%, oklch(0.34 0.11 245 / 42%), transparent 62%),
    radial-gradient(70rem 40rem at 96% 8%, oklch(0.62 0.15 62 / 26%), transparent 58%),
    radial-gradient(60rem 50rem at 70% 108%, oklch(0.3 0.1 300 / 28%), transparent 60%);
}

/* 细网格：制造秩序感而非空黑 */
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, oklch(0.94 0.01 250 / 5%) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.94 0.01 250 / 5%) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(75% 65% at 40% 30%, black, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 65% at 40% 30%, black, transparent 100%);
}

/* 噪点：消掉数字感的平整 */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  animation: drift 14s ease-in-out infinite;
}

.orb-a {
  left: -6rem;
  top: 8%;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, var(--beam-alt), transparent 68%);
}

.orb-b {
  right: -10%;
  bottom: -12%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, var(--beam), transparent 70%);
  animation-delay: -6s;
}

/* ---------- 布局骨架 ---------- */
.shell {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100dvh;
}

.brand {
  display: none;
}

.pane {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  min-height: 100dvh;
}

.col {
  width: 100%;
  max-width: 26rem;
}

.card {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  padding: 1.5rem;
}

header h1 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.sub {
  margin-top: 0.5rem;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.card > header {
  margin-bottom: 1.75rem;
}

.glass {
  background: var(--surface);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}

/* 顶部一道高光，像被光扫过 */
.glass::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, oklch(1 0 0 / 32%), transparent);
}

/* ---------- 品牌区（桌面） ---------- */
.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.mark-sm span {
  font-size: 13px;
}

.only-mobile {
  margin-bottom: 1.5rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.eyebrow.sm {
  letter-spacing: 0.24em;
  color: var(--beam);
  margin-bottom: 0.375rem;
}

.points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  font-size: 13px;
  color: var(--ink-soft);
}

.points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.points li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--beam);
}

.copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
}

@media (min-width: 1024px) {
  .shell {
    grid-template-columns: 1.05fr minmax(30rem, 0.95fr);
  }

  .brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 3.5rem 3rem 4rem;
  }

  .brand-body {
    max-width: 30rem;
  }

  .brand-body .eyebrow {
    margin-bottom: 1.5rem;
  }

  .brand-body h2 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.4vw, 3.1rem);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  .brand-body h2 em {
    font-style: normal;
    color: var(--beam);
  }

  .lede {
    margin-top: 1.5rem;
    max-width: 24rem;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-soft);
  }

  .points {
    margin-top: 2.5rem;
  }

  .only-mobile {
    display: none;
  }

  .pane {
    min-height: auto;
    padding: 2rem;
  }

  .card {
    padding: 2rem;
  }
}

/* ---------- 字段 ---------- */
.field + .field,
.field + .check-row,
.check-row + .btn,
.consent + .btn {
  margin-top: 1.25rem;
}

.field {
  margin-bottom: 0;
}

label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.row-between {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.field > label:first-child {
  margin-bottom: 0.5rem;
}

.len-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
}

.control {
  position: relative;
  display: flex;
  align-items: center;
}

.ico {
  position: absolute;
  left: 0.875rem;
  width: 18px;
  height: 18px;
  color: var(--ink-faint);
  pointer-events: none;
  transition: color 0.2s var(--ease);
}

.control input {
  width: 100%;
  height: 3rem;
  padding: 0 0.875rem 0 2.75rem;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.control input::placeholder {
  color: var(--ink-faint);
}

.control input:hover {
  background: var(--field-hover);
}

.control input:focus {
  border-color: var(--beam);
  background: var(--field-hover);
  box-shadow: 0 0 0 4px oklch(0.72 0.14 62 / 18%);
}

.control:focus-within .ico {
  color: var(--beam);
}

.control input.has-peek {
  padding-right: 2.75rem;
}

/* 错误态 */
.control input[aria-invalid="true"] {
  border-color: oklch(0.68 0.19 25 / 70%);
}

.control input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px oklch(0.68 0.19 25 / 22%);
}

.err {
  display: none;
  align-items: flex-start;
  gap: 0.375rem;
  margin-top: 0.5rem;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--danger);
}

.err:not(:empty) {
  display: flex;
  animation: pop 0.24s var(--ease) both;
}

.err::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  margin-top: 0.44rem;
  border-radius: 50%;
  background: var(--danger);
}

/* 眼睛切换 */
.peek {
  position: absolute;
  right: 0.5rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  color: var(--ink-faint);
  transition:
    color 0.2s,
    background 0.2s;
}

.peek:hover {
  color: var(--ink);
  background: var(--field-hover);
}

.peek svg {
  width: 18px;
  height: 18px;
}

.peek .eye-off {
  display: none;
}

.peek[aria-pressed="true"] .eye-on {
  display: none;
}

.peek[aria-pressed="true"] .eye-off {
  display: block;
}

/* 强度条 */
.strength {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.625rem;
}

.bars {
  display: flex;
  flex: 1;
  gap: 0.375rem;
}

.bars i {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  transition: background 0.3s var(--ease);
}

.strength[data-score="1"] .bars i:nth-child(-n + 1) {
  background: var(--danger);
}

.strength[data-score="2"] .bars i:nth-child(-n + 2) {
  background: var(--beam);
}

.strength[data-score="3"] .bars i {
  background: var(--ok);
}

.word {
  flex: none;
  width: 2rem;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
}

/* ---------- 勾选 ---------- */
.check-row,
.consent-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
}

.check-row {
  align-items: center;
  margin-top: 1.25rem;
}

.check-row input,
.consent-box input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.box {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: oklch(0.2 0.02 265 / 60%);
  transition:
    background 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.check-row .box {
  margin-top: 0;
}

.box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid var(--on-beam);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0.5);
  opacity: 0;
  transition:
    opacity 0.16s,
    transform 0.16s var(--ease);
}

input:checked + .box {
  background: var(--beam);
  border-color: var(--beam);
}

input:checked + .box::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

input:focus-visible + .box {
  box-shadow: 0 0 0 3px oklch(0.72 0.14 62 / 30%);
}

/* 协议框 */
.consent {
  margin-top: 1.25rem;
}

.consent-box {
  padding: 0.875rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.255 0.022 265 / 35%);
  transition:
    background 0.2s,
    border-color 0.2s;
}

.consent-box:hover {
  background: var(--field-hover);
}

.consent-box:has(input:checked) {
  border-color: oklch(0.76 0.13 62 / 45%);
  background: var(--field-hover);
}

.consent.invalid .consent-box {
  border-color: oklch(0.68 0.19 25 / 60%);
  background: oklch(0.68 0.19 25 / 6%);
}

.consent-text {
  line-height: 1.6;
}

/* ---------- 按钮 ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 3rem;
  margin-top: 0.25rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    filter 0.2s,
    transform 0.12s var(--ease),
    opacity 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.45;
}

.btn-beam {
  background: linear-gradient(180deg, var(--beam), var(--beam-deep));
  color: var(--on-beam);
  box-shadow: var(--shadow-beam);
}

.btn-beam:hover {
  filter: brightness(1.08);
}

/* hover 时一道光扫过；静止完全不可见 */
.bar {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 33%;
  background: rgb(255 255 255 / 28%);
  opacity: 0;
  pointer-events: none;
}

.btn:hover .bar {
  animation: sweep 0.75s ease-out;
}

.btn.loading .lbl {
  opacity: 0.9;
}

.btn .spin {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-quiet {
  display: block;
  width: 100%;
  height: 2.75rem;
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--field);
  font-size: 14px;
  color: var(--ink);
  transition: background 0.2s;
}

.btn-quiet:hover {
  background: var(--field-hover);
}

/* 第三方入口 */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.divider span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.alt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.255 0.022 265 / 30%);
  font-size: 13px;
  color: var(--ink-soft);
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.12s var(--ease);
}

.btn-alt svg {
  width: 16px;
  height: 16px;
}

.btn-alt:hover {
  background: var(--field-hover);
  color: var(--ink);
}

.btn-alt:active {
  transform: translateY(1px);
}

/* ---------- 链接 ---------- */
.quiet-link,
.txt-link,
.strong-link {
  position: relative;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0;
  transition: color 0.2s;
}

.strong-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.txt-link.beam {
  font-weight: 500;
  color: var(--beam);
}

.quiet-link:hover,
.txt-link:hover {
  color: var(--beam);
}

.strong-link:hover {
  color: var(--beam);
}

/* 下划线自左生长 */
.quiet-link::after,
.txt-link::after,
.strong-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.32s var(--ease);
}

.quiet-link:hover::after,
.txt-link:hover::after,
.strong-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.fineprint {
  margin-top: 0.25rem;
  padding-top: 0.25rem;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
  color: var(--ink-faint);
}

.switch-line {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- 浮层 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* display:flex 会盖掉 UA 的 [hidden]{display:none}，必须显式收回 */
.modal[hidden] {
  display: none;
}

.veil {
  position: absolute;
  inset: 0;
  background: oklch(0 0 0 / 65%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade 0.2s ease-out both;
}

.sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 32rem;
  max-height: 86dvh;
  background: var(--surface-strong);
  border-radius: calc(var(--radius) + 10px) calc(var(--radius) + 10px) 0 0;
  animation: sheet-up 0.28s var(--ease) both;
}

.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.sheet-head h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
}

.x {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: -0.25rem -0.25rem 0 0;
  border-radius: 10px;
  color: var(--ink-soft);
  transition:
    background 0.2s,
    color 0.2s;
}

.x svg {
  width: 18px;
  height: 18px;
}

.x:hover {
  background: var(--field-hover);
  color: var(--ink);
}

.sheet-body {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem 1.5rem;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.sheet-lede {
  margin-bottom: 1.25rem;
}

.done-badge {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: oklch(0.78 0.14 155 / 15%);
  color: var(--ok);
}

.done-badge svg {
  width: 20px;
  height: 20px;
}

.done-title {
  font-size: 14px;
  color: var(--ink);
}

.done-title span {
  font-weight: 500;
  color: var(--beam);
}

.doc section {
  margin-bottom: 1.25rem;
}

.doc h4 {
  margin-bottom: 0.375rem;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.doc p {
  font-size: 13px;
}

.doc .stamp {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
}

@media (min-width: 640px) {
  .modal {
    align-items: center;
    padding: 1.5rem;
  }

  .sheet {
    border-radius: calc(var(--radius) + 10px);
    animation: pop 0.24s var(--ease) both;
  }
}

/* ---------- 提示条 ---------- */
.toaster {
  position: fixed;
  inset-inline: 0;
  top: 1rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 24rem;
  padding: 0.75rem 1rem;
  font-size: 13.5px;
  color: var(--ink);
  background: var(--surface-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  pointer-events: auto;
  animation: toast-in 0.3s var(--ease) both;
}

.toast.out {
  animation: toast-out 0.24s ease-in both;
}

.toast::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--beam);
}

.toast.ok::before {
  background: var(--ok);
}

.toast.bad::before {
  background: var(--danger);
}

/* ---------- 动效 ---------- */
@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(3%, -4%, 0) scale(1.08);
    opacity: 0.8;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

@keyframes sheet-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
}

@keyframes shake {
  10%,
  90% {
    transform: translateX(-1px);
  }
  20%,
  80% {
    transform: translateX(2px);
  }
  30%,
  50%,
  70% {
    transform: translateX(-4px);
  }
  40%,
  60% {
    transform: translateX(4px);
  }
}

@keyframes sweep {
  0% {
    opacity: 1;
    transform: translateX(-120%) skewX(-12deg);
  }
  99% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(320%) skewX(-12deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.rise {
  animation: rise 0.7s var(--ease) both;
  animation-delay: var(--d, 0ms);
}

.shake {
  animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

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