:root {
  --bg: #f7f1df;
  --bg-soft: #fffdf7;
  --ink: #17314a;
  --muted: #61778f;
  --card: rgba(255, 255, 255, 0.8);
  --card-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(23, 49, 74, 0.1);
  --line-strong: rgba(23, 49, 74, 0.18);
  --gold: #f4b942;
  --gold-deep: #f08a42;
  --coral: #f08b67;
  --mint: #5fc6a0;
  --mint-deep: #2f9c7c;
  --sky: #77b4ff;
  --berry: #f27d8b;
  --shadow-soft: 0 14px 32px rgba(34, 63, 94, 0.08);
  --shadow: 0 24px 70px rgba(34, 63, 94, 0.14);
  --shadow-lift: 0 18px 36px rgba(34, 63, 94, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --ring: 0 0 0 4px rgba(119, 180, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Trebuchet MS", "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(244, 185, 66, 0.38), transparent 30%),
    radial-gradient(circle at top right, rgba(95, 198, 160, 0.26), transparent 24%),
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.7), transparent 16%),
    radial-gradient(circle at 82% 12%, rgba(119, 180, 255, 0.18), transparent 18%),
    linear-gradient(180deg, #fffaf0 0%, #f7f1df 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px),
    radial-gradient(rgba(244, 185, 66, 0.08) 1px, transparent 1px);
  background-position:
    0 0,
    18px 18px;
  background-size:
    36px 36px,
    36px 36px;
  opacity: 0.5;
}

::selection {
  background: rgba(244, 185, 66, 0.28);
  color: var(--ink);
}

.teacher-body,
.public-body {
  position: relative;
  overflow-x: hidden;
}

.aurora,
.mesh {
  position: fixed;
  width: 30rem;
  height: 30rem;
  filter: blur(34px);
  pointer-events: none;
  z-index: 0;
}

.aurora-a,
.mesh-a {
  top: -8rem;
  left: -6rem;
  background: rgba(242, 181, 68, 0.28);
}

.aurora-b,
.mesh-b {
  right: -7rem;
  bottom: 10rem;
  background: rgba(108, 159, 248, 0.24);
}

.shell,
.public-shell {
  position: relative;
  z-index: 1;
  width: min(1260px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 30px 0 56px;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy {
  padding: 44px 16px 18px;
  align-self: center;
}

.teacher-body .hero-copy h1 {
  max-width: 100%;
}

@media (min-width: 1101px) {
  .teacher-body .hero-copy h1 {
    width: max-content;
    max-width: none;
    white-space: nowrap;
  }
}

.public-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.teacher-entry-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow,
.card-kicker {
  letter-spacing: 0.16em;
  color: #8a6524;
  font-size: 0.76rem;
  margin: 0 0 10px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.8rem);
  max-width: 11ch;
  letter-spacing: -0.03em;
}

#public-title {
  max-width: none;
  white-space: normal;
  text-wrap: balance;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
}

h2 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

h3 {
  font-size: 1.15rem;
}

.hero-text,
.helper-text,
.status-text,
.selected-summary,
.metric-label,
.metric-value,
.student-meta,
.op-meta,
.feed-meta {
  line-height: 1.6;
}

.hero-text {
  max-width: 72ch;
  color: var(--muted);
  margin-top: 16px;
  font-size: 1.03rem;
}

@media (min-width: 1101px) {
  .teacher-body .hero-text {
    max-width: none;
    white-space: nowrap;
  }
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-chips span,
.pill {
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(23, 49, 74, 0.08);
  font-size: 0.92rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.completion-pill {
  background: rgba(244, 185, 66, 0.18);
  border-color: rgba(244, 185, 66, 0.42);
  color: #9a6700;
  font-weight: 700;
}

.card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 252, 245, 0.92)),
    var(--card);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    var(--shadow);
  backdrop-filter: blur(20px);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.login-card,
.toolbar,
.public-hero,
.wall-card,
.card {
  padding: 24px;
}

.card-head {
  margin-bottom: 18px;
}

.public-grid {
  align-items: start;
  margin-top: 26px;
}

.public-grid > .card {
  display: grid;
  align-content: start;
}

.public-grid > .card .card-head {
  margin-bottom: 24px;
  min-height: 86px;
}

.split-head,
.toolbar,
.toolbar-actions,
.list-tools,
.public-link-box,
.import-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.toolbar {
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.86);
}

.toolbar-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.toolbar-select {
  display: grid;
  gap: 8px;
  min-width: 180px;
}

.toolbar-select span {
  margin: 0;
  font-size: 0.88rem;
}

.login-card {
  align-self: center;
  max-width: 460px;
  margin-left: auto;
}

.public-hero,
.wall-card {
  border-color: rgba(255, 255, 255, 0.84);
}

.public-hero {
  background:
    radial-gradient(circle at top right, rgba(244, 185, 66, 0.16), transparent 32%),
    radial-gradient(circle at left 18%, rgba(119, 180, 255, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 241, 0.92));
}

.stack-form,
.manual-form,
.side-card,
.action-card,
.student-card {
  display: grid;
  gap: 14px;
}

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

label span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(23, 49, 74, 0.04);
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease,
    transform 140ms ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(95, 198, 160, 0.28);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(119, 180, 255, 0.7);
  box-shadow: var(--ring);
  background: var(--card-strong);
}

textarea {
  resize: vertical;
  min-height: 180px;
}

button {
  border: none;
  min-height: 48px;
  border-radius: 18px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease,
    opacity 140ms ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

button:active {
  transform: translateY(0) scale(0.985);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

.primary-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
  box-shadow: 0 14px 26px rgba(240, 138, 66, 0.26);
}

.secondary-btn {
  background: linear-gradient(135deg, var(--mint), var(--mint-deep));
  color: #fff;
  box-shadow: 0 14px 26px rgba(47, 156, 124, 0.22);
}

.ghost-btn {
  background: rgba(23, 49, 74, 0.08);
  color: var(--ink);
  box-shadow: none;
}

.success-btn {
  background: linear-gradient(135deg, #67d61e, #40bf0b);
  color: #fff;
  box-shadow: 0 14px 30px rgba(72, 189, 28, 0.24);
}

.danger-btn {
  background: rgba(242, 125, 139, 0.14);
  color: #9c2333;
}

.teacher-entry-btn {
  padding-inline: 22px;
  font-weight: 700;
  white-space: nowrap;
}

.teacher-logout-btn {
  padding: 10px 14px;
  font-size: 0.92rem;
  white-space: nowrap;
}

.dashboard {
  margin-top: 24px;
}

.teacher-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding: 10px;
  border-radius: calc(var(--radius-xl) - 6px);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.teacher-tab {
  background: rgba(23, 49, 74, 0.06);
  color: var(--muted);
  font-weight: 700;
  flex: 1 1 150px;
}

.teacher-tab.is-active {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
  box-shadow: 0 14px 30px rgba(240, 138, 66, 0.18);
}

.teacher-panel {
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.teacher-panel-stack {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.teacher-panel[hidden] {
  display: none;
}

.compact-head {
  margin-top: 8px;
}

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

.public-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  position: relative;
  padding: 20px 18px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 236, 0.92)),
    linear-gradient(135deg, rgba(95, 198, 160, 0.14), transparent);
  border: 1px solid rgba(23, 49, 74, 0.08);
  box-shadow: var(--shadow-soft);
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
}

.stats-grid .stat-card:nth-child(2)::after,
.public-stats .stat-card:nth-child(2)::after {
  background: linear-gradient(180deg, var(--mint), var(--mint-deep));
}

.stats-grid .stat-card:nth-child(3)::after,
.public-stats .stat-card:nth-child(3)::after {
  background: linear-gradient(180deg, var(--sky), #4d8ff2);
}

.stats-grid .stat-card:nth-child(4)::after {
  background: linear-gradient(180deg, var(--berry), #de5a6a);
}

.metric-label {
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.96rem;
  font-weight: 700;
}

.metric-value {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 800;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.log-card {
  grid-column: 1 / -1;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.template-btn {
  border-radius: 20px;
  padding: 16px;
  text-align: left;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 49, 74, 0.08);
  box-shadow: 0 10px 24px rgba(34, 63, 94, 0.06);
}

.teacher-control .template-btn {
  min-height: 88px;
  font-size: 1.02rem;
}

.score-modal-btn {
  min-height: 110px;
  font-size: 1.08rem;
}

.template-btn strong {
  display: block;
  font-size: 1rem;
}

.template-btn span {
  color: var(--muted);
  font-size: 0.9rem;
}

.template-positive {
  box-shadow: inset 0 0 0 1px rgba(95, 180, 156, 0.2);
}

.template-negative {
  box-shadow: inset 0 0 0 1px rgba(227, 109, 121, 0.2);
}

.manual-form,
.inline-form {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 130px auto;
}

.teacher-admin-form {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 180px auto;
  margin-bottom: 14px;
}

.student-center-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
}

.student-center-title-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.student-count-text {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
  white-space: nowrap;
}

.student-center-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.student-table-shell {
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 49, 74, 0.08);
  box-shadow: var(--shadow-soft);
}

.student-table {
  width: 100%;
  border-collapse: collapse;
}

.student-table th,
.student-table td {
  padding: 18px;
  text-align: left;
  border-bottom: 1px solid rgba(23, 49, 74, 0.08);
}

.student-table th {
  font-size: 1.02rem;
  color: var(--muted);
  font-weight: 800;
  background: rgba(248, 244, 235, 0.98);
}

.student-table tbody tr:nth-child(even) {
  background: rgba(247, 250, 255, 0.42);
}

.student-table tbody tr:hover {
  background: rgba(255, 244, 219, 0.45);
}

.student-table tr:last-child td {
  border-bottom: none;
}

.student-table-empty {
  color: var(--muted);
  text-align: center;
}

.table-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.table-btn {
  min-width: 88px;
  padding: 10px 16px;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.edit-btn {
  background: #2f8df3;
}

.delete-btn {
  background: #ff4f5b;
}

.teacher-dialog {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
}

.teacher-dialog[hidden] {
  display: none;
}

.teacher-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 49, 74, 0.36);
  backdrop-filter: blur(10px);
}

.teacher-dialog-card {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 240, 0.97));
  box-shadow: 0 28px 60px rgba(18, 32, 52, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.88);
}

.teacher-dialog-wide {
  width: min(1080px, calc(100vw - 32px));
}

.teacher-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.teacher-dialog-form {
  display: grid;
  gap: 18px;
}

.teacher-dialog-form label {
  display: grid;
  gap: 8px;
}

.icon-btn {
  min-width: 56px;
  min-height: 56px;
  padding: 0;
  font-size: 2rem;
  line-height: 1;
}

.selected-summary {
  padding: 14px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(244, 250, 255, 0.92));
  border: 1px dashed rgba(119, 180, 255, 0.42);
}

.student-list,
.pet-wall {
  display: grid;
  gap: 12px;
}

.student-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#panel-adoption .panel-tools,
#pet-selected-summary,
#pet-student-actions {
  display: none !important;
}

#operation-selected-summary,
#toggle-operation-select-btn,
#template-grid,
#manual-score-form {
  display: none !important;
}

.teacher-operation-wall {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.operation-modal-empty {
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: 22px;
  background: rgba(19, 34, 56, 0.05);
}

#pet-student-list.student-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.student-item,
.pet-tile,
.leader-row,
.feed-row,
.operation-item {
  position: relative;
  border-radius: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 49, 74, 0.08);
  box-shadow: 0 12px 24px rgba(34, 63, 94, 0.05);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.student-item:hover,
.pet-tile:hover,
.leader-row:hover,
.feed-row:hover,
.operation-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.student-item {
  display: grid;
  gap: 12px;
  min-height: 152px;
}

.student-item.selected {
  outline: 3px solid rgba(95, 198, 160, 0.38);
  background:
    linear-gradient(180deg, rgba(239, 255, 249, 0.98), rgba(255, 255, 255, 0.95));
  box-shadow: 0 18px 32px rgba(95, 198, 160, 0.16);
}

.student-item.needs-renewal {
  background:
    linear-gradient(180deg, rgba(255, 249, 234, 0.98), rgba(255, 255, 255, 0.95));
}

.student-head,
.pet-head,
.leader-row,
.feed-row,
.operation-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.student-name,
.pet-name {
  font-size: 1.08rem;
  font-weight: 800;
}

.spotlight-card {
  background:
    radial-gradient(circle at top right, rgba(244, 185, 66, 0.22), transparent 38%),
    radial-gradient(circle at left 12%, rgba(119, 180, 255, 0.16), transparent 26%),
    linear-gradient(165deg, rgba(255, 251, 244, 0.98), rgba(246, 255, 251, 0.94));
}

.pet-name-btn {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.42rem;
  font-weight: 800;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.pet-name-btn:hover {
  transform: none;
  color: #9a6700;
}

.pet-art-btn {
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 32px;
}

.pet-art-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.pet-art-btn:focus-visible {
  outline: 3px solid rgba(242, 181, 68, 0.45);
  outline-offset: 6px;
}

.student-meta,
.op-meta,
.feed-meta {
  font-size: 0.94rem;
  color: var(--muted);
}

.pet-progress {
  height: 12px;
  border-radius: 999px;
  background: rgba(23, 49, 74, 0.08);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(23, 49, 74, 0.08);
}

.pet-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  box-shadow: 0 2px 8px rgba(240, 138, 66, 0.24);
}

.pet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pet-tile {
  display: grid;
  gap: 12px;
  min-height: 438px;
  padding: 16px;
  cursor: pointer;
}

.pet-tile-grand {
  background:
    radial-gradient(circle at top center, rgba(244, 185, 66, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 252, 240, 0.98), rgba(255, 255, 255, 0.94));
  border-color: rgba(244, 185, 66, 0.34);
  box-shadow:
    0 18px 34px rgba(240, 138, 66, 0.12),
    0 10px 24px rgba(34, 63, 94, 0.06);
}

.pet-tile-complete {
  background:
    linear-gradient(180deg, rgba(255, 249, 235, 0.98), rgba(255, 255, 255, 0.9)),
    rgba(255, 255, 255, 0.82);
  border-color: rgba(244, 185, 66, 0.34);
}

.pet-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  gap: 12px;
}

.pet-hero {
  min-height: 228px;
  display: grid;
  place-items: center;
  margin-top: -2px;
}

.pet-art {
  --pet-scale: 1;
  position: relative;
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.18) 34%, transparent 35%),
    radial-gradient(circle at 78% 20%, rgba(255, 214, 141, 0.42), transparent 28%),
    radial-gradient(circle at 50% 82%, rgba(197, 228, 255, 0.52), transparent 36%),
    linear-gradient(180deg, rgba(255, 250, 239, 0.98), rgba(241, 247, 255, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 18px 30px rgba(23, 49, 74, 0.08),
    0 0 0 10px rgba(255, 247, 232, 0.45);
  overflow: visible;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.pet-art::before,
.pet-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.pet-art::before {
  width: 56px;
  height: 56px;
  top: 10px;
  right: 10px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
}

.pet-art::after {
  width: 18px;
  height: 18px;
  top: 18px;
  left: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95) 0 28%, transparent 29%),
    linear-gradient(180deg, transparent 0 35%, rgba(255, 255, 255, 0.9) 35% 65%, transparent 65%),
    linear-gradient(90deg, transparent 0 35%, rgba(255, 255, 255, 0.9) 35% 65%, transparent 65%);
  transform: rotate(18deg);
  opacity: 0.95;
}

.pet-art.is-grand-finale {
  background:
    radial-gradient(circle at top center, rgba(255, 244, 183, 0.88), transparent 34%),
    radial-gradient(circle at 50% 82%, rgba(197, 228, 255, 0.58), transparent 36%),
    linear-gradient(180deg, rgba(255, 251, 236, 0.99), rgba(241, 247, 255, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 18px 30px rgba(23, 49, 74, 0.08),
    0 0 0 12px rgba(255, 244, 198, 0.52),
    0 0 32px rgba(244, 185, 66, 0.22);
}

.pet-art.is-grand-finale::before {
  animation: petGlowPulse 2.4s ease-in-out infinite;
}

.pet-art svg {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
  transform: translateY(2px) scale(var(--pet-scale, 1));
  transform-origin: center 74%;
  transition: transform 220ms ease;
  filter:
    drop-shadow(0 10px 12px rgba(19, 34, 56, 0.08))
    drop-shadow(0 4px 8px rgba(255, 255, 255, 0.45));
}

.pet-art-image {
  width: min(232px, 94%);
  height: 284px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.pet-art-image::before,
.pet-art-image::after {
  display: none;
}

.pet-stage-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 18px;
  filter:
    drop-shadow(0 18px 22px rgba(24, 49, 94, 0.16))
    drop-shadow(0 6px 12px rgba(255, 255, 255, 0.52));
}

.pet-illustration {
  transform-box: fill-box;
  transform-origin: center 74%;
}

.pet-level-pill {
  min-width: 86px;
  text-align: center;
  font-size: 0.95rem;
  padding: 10px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 234, 0.94));
  border-color: rgba(244, 185, 66, 0.24);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(34, 63, 94, 0.06);
}

.adopt-pet-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  min-width: 72px;
  color: #ffffff;
  background: linear-gradient(135deg, #2fb36d, #77c86d);
  box-shadow: 0 10px 22px rgba(45, 159, 100, 0.22);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.adopt-pet-btn.is-disabled,
.adopt-pet-btn:disabled {
  color: rgba(23, 49, 74, 0.54);
  background: linear-gradient(135deg, rgba(230, 234, 236, 0.92), rgba(214, 222, 226, 0.92));
  box-shadow: none;
  cursor: not-allowed;
}

.pet-empty-art {
  width: min(214px, 92%);
  height: 252px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: rgba(23, 49, 74, 0.48);
  font-weight: 900;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.92), transparent 36%),
    linear-gradient(180deg, rgba(255, 250, 238, 0.82), rgba(241, 247, 255, 0.82));
  border: 1px dashed rgba(123, 148, 168, 0.28);
}

.pet-tile .student-meta {
  font-size: 1rem;
}

.pet-tile .pet-subtitle,
.pet-tile > .student-meta:first-of-type {
  margin-top: -10px;
}

.pet-tile .pet-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pet-tile .pet-tags .pill {
  min-width: 0;
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
}

.pet-tile .pet-progress {
  height: 12px;
}

.pet-complete-note {
  margin-top: -2px;
}

.pet-cheer,
.pet-tile > .student-meta:last-child {
  font-size: 0.98rem;
}

.public-link-box {
  align-items: stretch;
}

.settings-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.settings-title-wrap {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.title-edit-box {
  flex: 1;
}

.title-edit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.title-edit-row strong {
  font-size: 1.2rem;
  color: var(--ink);
}

.public-link-layout {
  display: flex;
  gap: 16px;
  align-items: stretch;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 49, 74, 0.08);
}

.public-link-actions {
  width: 220px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.public-link-actions > button {
  width: 100%;
}

code {
  flex: 1;
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(23, 49, 74, 0.08);
  overflow-wrap: anywhere;
  font-size: 0.95rem;
}

.divider {
  height: 1px;
  background: rgba(19, 34, 56, 0.08);
  margin: 6px 0;
}

.import-section {
  margin-bottom: 16px;
}

.import-section .helper-text {
  display: block;
  margin-bottom: 12px;
}

.file-upload-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 2px dashed rgba(23, 49, 74, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.56);
  transition: border-color 0.2s, background 0.2s;
}

.file-upload-box:hover {
  border-color: var(--gold);
  background: rgba(244, 185, 66, 0.08);
}

.operation-list,
.leaderboard,
.feed-list {
  display: grid;
  gap: 12px;
}

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

.teacher-account-row {
  align-items: start;
  padding: 18px 20px;
}

.teacher-account-row.is-muted {
  opacity: 0.72;
  background: rgba(248, 250, 252, 0.86);
}

.teacher-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
  align-items: center;
}

.template-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

#quick-undo-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.panel-tools {
  margin-bottom: 14px;
}

#panel-import .panel-tools {
  justify-content: flex-start;
}

#panel-import .panel-tools input {
  max-width: 100%;
}

.selection-summary {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(23, 49, 74, 0.06);
  color: var(--ink);
  margin-bottom: 14px;
  border: 1px solid rgba(119, 180, 255, 0.18);
}

.split-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.split-card.split-card-single {
  grid-template-columns: 1fr;
}

.section-stack {
  display: grid;
  gap: 14px;
}

.pet-student-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  min-height: 1.5rem;
}

.pet-student-actions .selection-summary {
  flex: 1;
  margin-bottom: 0;
}

.pet-preview-card {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(95, 180, 156, 0.22);
  background: rgba(255, 255, 255, 0.62);
}

.pet-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 14px;
}

.pet-choice-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
  text-align: left;
  border-radius: 22px;
  border: 1px solid rgba(23, 49, 74, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(23, 49, 74, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pet-choice-card:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(23, 49, 74, 0.1);
  border-color: rgba(244, 185, 66, 0.55);
}

.pet-choice-card.selected {
  border-color: rgba(95, 198, 160, 0.72);
  background: rgba(240, 255, 248, 0.95);
}

.pet-choice-card:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pet-choice-card strong {
  font-size: 1.05rem;
}

.pet-choice-card span {
  color: var(--ink);
  font-weight: 600;
}

.pet-choice-card small {
  color: var(--muted);
  line-height: 1.5;
}

.pet-choice-preview {
  display: grid;
  gap: 10px;
  width: 100%;
}

.pet-choice-main-art {
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.92), transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(119, 180, 255, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 250, 239, 0.94), rgba(242, 249, 255, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.pet-choice-main-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 16px 18px rgba(24, 49, 94, 0.16))
    drop-shadow(0 5px 10px rgba(255, 255, 255, 0.54));
}

.pet-choice-stage-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.pet-choice-stage {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 6px 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(23, 49, 74, 0.08);
}

.pet-choice-stage img {
  width: 100%;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 7px 8px rgba(24, 49, 94, 0.12));
}

.pet-choice-stage em {
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.level-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.level-field {
  display: grid;
  gap: 8px;
}

.level-field span {
  color: var(--muted);
  font-weight: 700;
}

.status-text {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
}

.error-text {
  color: #b42318;
}

.success-text {
  color: #146c43;
}

.public-shell {
  padding-top: 34px;
}

.public-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.teacher-control {
  position: relative;
  margin-top: 18px;
  border: 1px solid rgba(95, 198, 160, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 251, 244, 0.95), rgba(246, 255, 251, 0.94)),
    var(--card);
}

.teacher-control-body {
  display: grid;
  gap: 14px;
}

.teacher-control-top,
.teacher-control-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.public-search-row {
  margin-bottom: 18px;
}

.public-wall-search {
  flex: 1 1 420px;
  max-width: 560px;
  margin: 0 auto 18px;
}

.public-wall-search span {
  margin-bottom: 8px;
  color: #8a6524;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

.public-wall-search input {
  min-height: 58px;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 1.08rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 240, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 12px 28px rgba(34, 63, 94, 0.08);
}

.pet-wall-empty {
  min-height: 180px;
  align-content: center;
  text-align: center;
}

.score-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
}

.score-modal[hidden] {
  display: none;
}

.score-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(23, 49, 74, 0.4);
  backdrop-filter: blur(10px);
}

.score-modal-card {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(244, 185, 66, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(246, 255, 251, 0.96)),
    var(--card);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 28px 70px rgba(17, 35, 56, 0.25);
}

.score-modal-head {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 18px;
}

.score-modal-head .card-kicker,
.score-modal-head h2 {
  display: none;
}

.score-modal-head .hero-text {
  margin-top: 0;
  max-width: 18em;
  font-size: clamp(1.6rem, 2.3vw, 2.15rem);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #ff8a48;
  background: linear-gradient(90deg, #ff9a44 0%, #ff6f91 35%, #6cc6ff 68%, #56c271 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 24px rgba(255, 159, 92, 0.16);
}

.score-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-undo-btn {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.score-modal-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pet-completion-celebration {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.24) 32%, transparent 58%),
    rgba(12, 36, 74, 0.42);
  backdrop-filter: blur(10px);
  animation: celebrationFade 10s ease forwards;
}

.completion-card {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100vw - 36px));
  min-height: 520px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding: 34px;
  text-align: center;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 253, 244, 0.98), rgba(238, 249, 255, 0.95)),
    rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(244, 185, 66, 0.42);
  box-shadow:
    0 30px 80px rgba(10, 35, 70, 0.28),
    0 0 0 12px rgba(255, 239, 192, 0.24);
  animation: celebrationPop 680ms cubic-bezier(0.2, 1.22, 0.25, 1) both;
}

.completion-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--ink);
}

.completion-card p {
  margin: 0;
  color: #9a6700;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
}

.completion-card span {
  max-width: 24em;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 800;
}

.completion-art {
  width: min(260px, 72vw);
  height: 330px;
  display: grid;
  place-items: center;
  margin: 4px 0;
}

.completion-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  filter:
    drop-shadow(0 24px 28px rgba(28, 71, 130, 0.22))
    drop-shadow(0 0 28px rgba(88, 188, 255, 0.28));
}

.completion-burst {
  position: absolute;
  width: 52vmin;
  height: 52vmin;
  border-radius: 999px;
  pointer-events: none;
  background:
    conic-gradient(from 0deg, transparent 0 10deg, rgba(255, 224, 116, 0.8) 10deg 14deg, transparent 14deg 30deg),
    radial-gradient(circle, rgba(116, 198, 255, 0.26), transparent 62%);
  animation: celebrationSpin 4s linear infinite;
}

.completion-burst-a {
  top: 8%;
  left: 10%;
}

.adoption-modal-card {
  width: min(1080px, calc(100vw - 36px));
}

.adoption-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.adoption-choice-card {
  display: grid;
  gap: 10px;
  align-content: start;
  justify-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(208, 219, 226, 0.72);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(28, 54, 86, 0.06);
}

.adoption-choice-card > img {
  width: 100%;
  max-width: 132px;
  height: 132px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 12px 16px rgba(25, 58, 100, 0.14));
}

.adoption-choice-card .pet-choice-main-art {
  height: 148px;
}

.adoption-choice-card .egg-choice-art {
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.96), transparent 36%),
    radial-gradient(circle at 78% 18%, rgba(244, 185, 66, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 250, 239, 0.96), rgba(239, 248, 255, 0.94));
}

.adoption-choice-card .egg-choice-art img {
  width: min(132px, 88%);
  height: min(132px, 88%);
  object-fit: contain;
}

.adoption-choice-card .egg-only-choice {
  gap: 0;
}

.adoption-choice-card small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.completion-burst-b {
  right: 8%;
  bottom: 6%;
  animation-direction: reverse;
  animation-duration: 5.6s;
}

.teacher-login-card {
  width: min(520px, calc(100vw - 32px));
}

.teacher-login-form {
  display: grid;
  gap: 14px;
}

.teacher-login-submit {
  margin-top: 6px;
}

#action-title {
  max-width: 18ch;
}

#control-template-grid.is-collapsed {
  display: none;
}

.teacher-control.is-compact .teacher-control-body {
  gap: 10px;
}

.teacher-control.is-compact .teacher-control-top {
  align-items: end;
}

.teacher-control.is-compact .selected-summary {
  padding: 10px 12px;
}

.pet-wall {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (min-width: 1101px) {
  .pet-wall {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

.rank-pill,
.point-pill {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  background: rgba(23, 49, 74, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.mood-glowing {
  color: #9a6700;
}

.mood-steady {
  color: #146c43;
}

.mood-sleepy {
  color: #355070;
}

.mood-stormy {
  color: #b42318;
}

@keyframes petGlowPulse {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(0.92);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

@keyframes celebrationPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes celebrationFade {
  0%,
  86% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  .hero-panel,
  .work-grid,
  .public-grid,
  .split-card {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .public-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-list,
  .pet-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adoption-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #pet-student-list.student-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .teacher-operation-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .login-card {
    max-width: none;
    margin-left: 0;
  }

}

@media (max-width: 720px) {
  .shell,
  .public-shell {
    width: min(100vw - 18px, 100%);
    padding-top: 16px;
  }

  .hero-copy {
    padding: 10px 6px;
  }

  h1,
  #public-title {
    font-size: clamp(2rem, 10vw, 3rem);
    max-width: 100%;
  }

  .toolbar,
  .public-hero-top,
  .split-head,
  .score-modal-head,
  .student-center-head,
  .toolbar-actions,
  .list-tools,
  .public-link-box,
  .import-actions,
  .teacher-control-top,
  .teacher-control-actions,
  .manual-form,
  .teacher-admin-form,
  .inline-form {
    grid-template-columns: 1fr;
    display: grid;
  }

  .settings-top-row,
  .settings-title-wrap,
  .public-link-layout {
    display: grid;
    grid-template-columns: 1fr;
  }

  .public-wall-search {
    max-width: none;
    margin-bottom: 0;
  }

  .public-link-actions {
    width: 100%;
  }

  .stats-grid,
  .public-stats,
  .student-list,
  .pet-wall,
  .score-modal-grid,
  .template-grid,
  .pet-choice-grid,
  .adoption-choice-grid,
  .level-settings-grid {
    grid-template-columns: 1fr;
  }

  #pet-student-list.student-list {
    grid-template-columns: 1fr;
  }

  .teacher-operation-wall {
    grid-template-columns: 1fr;
  }

  .teacher-entry-group {
    display: grid;
    width: 100%;
  }

  .student-center-actions {
    width: 100%;
  }

  .student-table-shell {
    overflow-x: auto;
  }

  .student-table {
    min-width: 620px;
  }

  .card,
  .toolbar,
  .public-hero {
    padding: 18px;
  }

  .pet-tile {
    min-height: auto;
  }

  .pet-hero {
    min-height: 176px;
  }

  .pet-art {
    width: 126px;
    height: 126px;
  }

  .pet-art-image {
    width: min(178px, 90%);
    height: 230px;
  }

  .completion-card {
    min-height: 480px;
    padding: 26px;
  }

  .completion-art {
    height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
