:root {
  color-scheme: light;
  --ink: #4a3540;
  --muted: #806f7b;
  --soft: #fff4f8;
  --paper: #fff8f1;
  --panel: rgba(255, 255, 255, 0.86);
  --line: #f0d9e3;
  --sketch: #a95061;
  --blue: #a8cfff;
  --blue-deep: #6b84b6;
  --teal: #9edbcf;
  --amber: #e7a66a;
  --red: #d66a82;
  --green: #82bf91;
  --pink: #f4a6bd;
  --rose-ink: #b45c70;
  --peach: #ffd3ba;
  --mint: #c7efd9;
  --lavender: #d9cdfb;
  --butter: #fff1ad;
  --shadow: 0 24px 70px rgba(180, 92, 112, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 7% 12%, rgba(255, 211, 186, 0.56), transparent 20%),
    radial-gradient(circle at 86% 4%, rgba(168, 207, 255, 0.38), transparent 23%),
    linear-gradient(180deg, #fff2f5 0, #fff8f1 430px),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(255, 250, 243, 0.78);
  border-bottom: 1px solid rgba(234, 223, 234, 0.86);
  backdrop-filter: blur(16px);
}

.brand,
.main-nav,
.overview,
.stats-grid,
.workspace,
.split-area,
.panel-head,
.form-row,
.assignment-top,
.assignment-meta {
  display: flex;
}

.brand {
  align-items: center;
  gap: 11px;
  font-size: 1.02rem;
  font-weight: 760;
  font-family: "Hannotate SC", "Kaiti SC", "PingFang SC", sans-serif;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 48% 52% 54% 46% / 58% 48% 52% 42%;
  background:
    radial-gradient(circle at 36% 45%, var(--sketch) 0 2px, transparent 3px),
    radial-gradient(circle at 64% 45%, var(--sketch) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 58%, #f7a3b9 0 4px, transparent 5px),
    #fff;
  border: 3px solid var(--sketch);
  color: transparent;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(244, 167, 189, 0.3);
  animation: soft-pop 4.8s ease-in-out infinite;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  top: -15px;
  width: 11px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  border: 3px solid var(--sketch);
  transform-origin: bottom center;
}

.brand-mark::before {
  left: 5px;
  transform: rotate(-23deg);
}

.brand-mark::after {
  right: 5px;
  transform: rotate(23deg);
}

.main-nav {
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.main-nav a:hover {
  color: var(--blue-deep);
}

main {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.overview {
  position: relative;
  min-height: 380px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  background:
    linear-gradient(90deg, rgba(255, 248, 244, 0.98) 0 34%, rgba(255, 248, 244, 0.82) 54%, rgba(255, 248, 244, 0.12)),
    url("assets/bunny-classroom-hero.png") center / cover,
    #fff3f5;
  color: var(--ink);
  border: 2px solid rgba(169, 80, 97, 0.16);
  border-radius: 28px 22px 30px 24px;
  box-shadow: var(--shadow);
}

.overview::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px dashed rgba(169, 80, 97, 0.22);
  border-radius: 22px 18px 24px 18px;
  pointer-events: none;
}

.overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.15), transparent 42%),
    repeating-linear-gradient(90deg, rgba(244, 166, 189, 0.1) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(244, 166, 189, 0.08) 0 1px, transparent 1px 28px);
  animation: paper-sheen 11s ease-in-out infinite alternate;
  pointer-events: none;
}

.overview-copy {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--blue-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--rose-ink);
}

.overview h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.35rem, 5.2vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: 0;
  font-family: "Hannotate SC", "Kaiti SC", "PingFang SC", serif;
  font-weight: 760;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.92),
    0 12px 30px rgba(180, 92, 112, 0.12);
}

.overview-text {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.overview-text span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 2px solid rgba(169, 80, 97, 0.16);
  border-radius: 999px 999px 999px 20px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 24px rgba(137, 111, 156, 0.1);
}

.cute-float {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: 18px 16px 20px 14px;
  border: 2px solid rgba(169, 80, 97, 0.18);
  box-shadow: 0 18px 44px rgba(180, 92, 112, 0.14);
  opacity: 0.88;
}

.cute-float::before,
.cute-float::after {
  content: "";
  position: absolute;
  display: block;
}

.float-one {
  right: 38%;
  top: 34px;
  width: 76px;
  height: 58px;
  background: var(--butter);
  transform: rotate(-8deg);
  animation: float-note 6.2s ease-in-out infinite;
}

.float-one::before {
  left: 14px;
  top: 16px;
  width: 46px;
  height: 6px;
  border-radius: 99px;
  background: rgba(169, 80, 97, 0.32);
  box-shadow: 0 14px 0 rgba(169, 80, 97, 0.22);
}

.float-two {
  right: 24px;
  top: 82px;
  width: 58px;
  height: 58px;
  background: var(--pink);
  clip-path: polygon(50% 0, 62% 34%, 98% 34%, 68% 54%, 80% 92%, 50% 68%, 20% 92%, 32% 54%, 2% 34%, 38% 34%);
  animation: twinkle 4.4s ease-in-out infinite;
}

.float-three {
  right: 31%;
  bottom: 42px;
  width: 102px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #f8f1ff);
  border: 2px solid rgba(169, 80, 97, 0.22);
  transform: rotate(-16deg);
  animation: pencil-wiggle 5.6s ease-in-out infinite;
}

.float-three::after {
  right: -18px;
  top: 0;
  border-left: 24px solid #d6a77a;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.board-visual {
  position: relative;
  z-index: 1;
  width: min(390px, 31vw);
  min-width: 260px;
  aspect-ratio: 1.1;
  display: grid;
  place-items: center;
}

.board-card {
  width: 76%;
  height: 64%;
  padding: 28px;
  border: 2px solid rgba(169, 80, 97, 0.18);
  border-radius: 28px 22px 26px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 251, 0.92)),
    #fff;
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(137, 111, 156, 0.2);
  transform: rotate(-3deg);
  animation: card-breathe 5s ease-in-out infinite;
}

.board-card b {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 48% 52% 54% 46% / 58% 48% 52% 42%;
  background:
    radial-gradient(circle at 36% 46%, var(--sketch) 0 2px, transparent 3px),
    radial-gradient(circle at 63% 46%, var(--sketch) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 61%, #f5a0b6 0 4px, transparent 5px),
    #fff;
  border: 3px solid var(--sketch);
  position: relative;
}

.board-card b::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 26px;
  width: 18px;
  height: 7px;
  border-bottom: 3px solid var(--sketch);
  border-radius: 50%;
  transform: none;
}

.board-card b::before {
  content: "";
  position: absolute;
  left: 5px;
  top: -20px;
  width: 11px;
  height: 31px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 21px 0 0 #fff;
  border: 3px solid var(--sketch);
}

.board-card span,
.board-lines i {
  display: block;
  height: 12px;
  margin-bottom: 16px;
  border-radius: 99px;
  background: #eadfea;
}

.board-card span:nth-of-type(1) {
  width: 62%;
  background: var(--blue);
}

.board-card span:nth-of-type(2) {
  width: 92%;
}

.board-card span:nth-of-type(3) {
  width: 74%;
}

.board-lines {
  position: absolute;
  right: 8%;
  bottom: 13%;
  width: 44%;
  padding: 20px;
  border: 2px solid rgba(169, 80, 97, 0.18);
  border-radius: 20px 16px 22px 14px;
  background: #fff7c9;
  box-shadow: 0 22px 54px rgba(137, 111, 156, 0.17);
  transform: rotate(4deg);
  animation: float-note 6.8s ease-in-out infinite reverse;
}

.board-lines i {
  height: 9px;
  margin-bottom: 12px;
  background: #f4a7bd;
}

.board-lines i:nth-child(2) {
  width: 70%;
  background: #82cfc1;
}

.board-lines i:nth-child(3) {
  width: 84%;
  background: #85a7ff;
}

.mini-star,
.mini-clip {
  position: absolute;
  display: block;
  z-index: 2;
}

.mini-star {
  left: 10%;
  top: 13%;
  width: 34px;
  height: 34px;
  background: var(--butter);
  clip-path: polygon(50% 0, 62% 35%, 98% 35%, 68% 56%, 80% 98%, 50% 72%, 20% 98%, 32% 56%, 2% 35%, 38% 35%);
  animation: twinkle 3.9s ease-in-out infinite;
}

.mini-clip {
  right: 13%;
  top: 7%;
  width: 36px;
  height: 52px;
  border: 5px solid var(--blue);
  border-left-color: transparent;
  border-radius: 99px 99px 99px 0;
  transform: rotate(20deg);
  animation: clip-sway 5.5s ease-in-out infinite;
}

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

.stat-card,
.panel {
  background: var(--panel);
  border: 2px solid rgba(169, 80, 97, 0.14);
  border-radius: 24px 20px 26px 18px;
  box-shadow: 0 18px 42px rgba(180, 92, 112, 0.1);
  backdrop-filter: blur(18px);
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 110px;
  padding: 20px;
  animation: rise-in 0.68s ease both;
}

.stat-card:nth-child(2) {
  animation-delay: 0.06s;
}

.stat-card:nth-child(3) {
  animation-delay: 0.12s;
}

.stat-card:nth-child(4) {
  animation-delay: 0.18s;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 78px;
  height: 78px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(244, 167, 189, 0.28), rgba(189, 238, 219, 0.32));
  transform: rotate(14deg);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.stat-card strong {
  display: block;
  margin-top: 11px;
  color: var(--blue-deep);
  font-size: 2.2rem;
  line-height: 1;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.split-area {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.4fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 28px);
  animation: rise-in 0.74s ease both;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--pink), var(--butter), var(--mint), var(--blue), var(--lavender));
}

.assignment-panel {
  animation-delay: 0.08s;
}

.submission-panel {
  animation-delay: 0.14s;
}

.list-panel {
  animation-delay: 0.2s;
}

.grade-panel {
  animation-delay: 0.26s;
}

.panel-head {
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

h2,
h3,
p {
  margin-top: 0;
}

.panel h2 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 2px solid rgba(169, 80, 97, 0.14);
  border-radius: 16px 14px 18px 13px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

input,
select {
  min-height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 112px;
  resize: vertical;
  padding: 12px;
  line-height: 1.55;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(244, 167, 189, 0.18);
  transform: translateY(-1px);
}

.assignment-form,
.submission-form {
  display: grid;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 14px;
}

.submission-form .form-row {
  grid-template-columns: 1fr 1fr;
}

.file-picker input {
  padding: 10px;
}

.file-picker small {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.teacher-auth {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  gap: 12px;
  align-items: end;
  margin: -2px 0 18px;
  padding: 14px;
  border: 2px dashed rgba(169, 80, 97, 0.18);
  border-radius: 18px 14px 20px 14px;
  background: rgba(255, 247, 251, 0.68);
}

.sync-status {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.sync-status[data-tone="ok"] {
  background: #eafaf3;
  color: var(--green);
}

.sync-status[data-tone="error"] {
  background: #fff0f4;
  color: var(--red);
}

.assignment-form.locked {
  filter: grayscale(0.15);
}

.primary-button,
.text-button,
.icon-text {
  border: 0;
  border-radius: 18px 14px 18px 14px;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.primary-button {
  min-height: 46px;
  padding: 0 18px;
  background: linear-gradient(135deg, #86a8ff, #f4a7bd);
  color: #fff;
  box-shadow: 0 14px 28px rgba(133, 167, 255, 0.26);
  border: 2px solid rgba(169, 80, 97, 0.16);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(244, 167, 189, 0.28);
}

.text-button,
.icon-text {
  min-height: 36px;
  padding: 0 12px;
  background: #f0f5ff;
  color: var(--blue-deep);
  border: 2px solid rgba(169, 80, 97, 0.12);
}

.text-button.subtle {
  background: #fff7fb;
  color: var(--muted);
}

button:disabled,
input:disabled,
textarea:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.text-button:hover,
.icon-text:hover {
  background: #e7efff;
  transform: translateY(-1px);
}

.icon-text.danger {
  background: #fff0f4;
  color: var(--red);
}

.pill,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.pill {
  background: #eafaf3;
  color: var(--green);
}

.status.open,
.status.on-time {
  background: #eafaf3;
  color: var(--green);
}

.status.soon {
  background: #fff6d4;
  color: var(--amber);
}

.status.closed,
.status.late {
  background: #fff0f4;
  color: var(--red);
}

.assignment-list {
  display: grid;
  gap: 12px;
}

.assignment-item {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 2px solid rgba(169, 80, 97, 0.13);
  border-radius: 20px 16px 22px 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 247, 251, 0.86)),
    var(--soft);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.assignment-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(137, 111, 156, 0.12);
}

.assignment-item::before {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  opacity: 0.46;
  background: var(--butter);
  clip-path: polygon(50% 0, 62% 35%, 98% 35%, 68% 56%, 80% 98%, 50% 72%, 20% 98%, 32% 56%, 2% 35%, 38% 35%);
}

.assignment-top {
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.assignment-item h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.assignment-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.assignment-meta {
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.assignment-meta span {
  padding: 6px 8px;
  border-radius: 12px 10px 13px 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px dashed rgba(169, 80, 97, 0.18);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px dashed rgba(169, 80, 97, 0.18);
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tbody tr {
  transition: background 0.18s ease;
}

tbody tr:hover {
  background: rgba(255, 247, 251, 0.78);
}

td strong,
td span,
td small {
  display: block;
}

td small {
  margin-top: 5px;
  color: var(--muted);
}

.score-input {
  width: 76px;
}

.comment-input {
  min-width: 160px;
}

.file-name {
  max-width: 170px;
  overflow-wrap: anywhere;
}

.file-link {
  max-width: 180px;
  display: inline-block;
  color: var(--blue-deep);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: rgba(169, 80, 97, 0.34);
  text-underline-offset: 4px;
}

.empty-state {
  padding: 22px;
  border: 1px dashed rgba(169, 80, 97, 0.2);
  border-radius: 20px 16px 22px 14px;
  background: linear-gradient(135deg, #fff7fb, #f6fbff);
  color: var(--muted);
  text-align: center;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  min-width: 210px;
  padding: 13px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-deep), #9b6fa5);
  color: #fff;
  box-shadow: var(--shadow);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .app-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .overview {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-visual {
    width: min(100%, 360px);
  }

  .cute-float {
    opacity: 0.42;
  }

  .stats-grid,
  .workspace,
  .split-area,
  .teacher-auth {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  main {
    width: min(100% - 22px, 1480px);
    padding-top: 14px;
  }

  .overview {
    min-height: auto;
    padding: 26px 20px;
  }

  .overview h1 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .board-visual,
  .float-three {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row,
  .submission-form .form-row {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 18px;
  }

  .panel-head {
    flex-direction: column;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soft-pop {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-2px) rotate(-4deg);
  }
}

@keyframes float-note {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateY(-12px) rotate(-4deg);
  }
}

@keyframes twinkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.78;
  }
  50% {
    transform: scale(1.09) rotate(8deg);
    opacity: 1;
  }
}

@keyframes pencil-wiggle {
  0%,
  100% {
    transform: translateY(0) rotate(-16deg);
  }
  50% {
    transform: translateY(8px) rotate(-10deg);
  }
}

@keyframes clip-sway {
  0%,
  100% {
    transform: rotate(20deg) translateY(0);
  }
  50% {
    transform: rotate(13deg) translateY(-8px);
  }
}

@keyframes card-breathe {
  0%,
  100% {
    transform: rotate(-3deg) translateY(0);
  }
  50% {
    transform: rotate(-1deg) translateY(-8px);
  }
}

@keyframes paper-sheen {
  from {
    opacity: 0.28;
    transform: translateX(-20px);
  }
  to {
    opacity: 0.55;
    transform: translateX(20px);
  }
}
