:root {
  color-scheme: light;
  --ink: #33281c;
  --muted: #665b4c;
  --paper: #fffaf0;
  --paper-deep: #f3dfb2;
  --line: #735331;
  --line-dark: #3d2a18;
  --maple-blue: #347fbd;
  --maple-blue-dark: #1e557f;
  --maple-orange: #f29a32;
  --maple-yellow: #ffd768;
  --shadow: rgba(48, 37, 22, 0.24);
  --accent: #4a9b5d;
  --accent-dark: #2d6b3a;
  font-family: "Trebuchet MS", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 300px;
  scroll-behavior: smooth;
  scroll-padding-top: 18px;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 7%, rgba(255, 255, 255, 0.82) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 13%, rgba(255, 255, 255, 0.7) 0 2px, transparent 3px),
    linear-gradient(180deg, #75c8ef 0, #b7e8f6 27rem, #d7f1df 43rem, #b8dc9a 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  z-index: -2;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  pointer-events: none;
}

body::before {
  height: 30vh;
  background:
    radial-gradient(ellipse at 12% 112%, #70ae5c 0 42%, transparent 42.4%),
    radial-gradient(ellipse at 47% 118%, #8ac56a 0 48%, transparent 48.4%),
    radial-gradient(ellipse at 88% 115%, #67a754 0 45%, transparent 45.4%);
}

body::after {
  z-index: -1;
  height: 9px;
  background: repeating-linear-gradient(90deg, #477a39 0 8px, #5e9848 8px 16px);
  border-top: 2px solid rgba(51, 88, 42, 0.7);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.clipboard-proxy {
  position: fixed;
  top: 0;
  left: -9999px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: #183d5c;
  border: 2px solid #fff;
  border-radius: 7px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sky-decor {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cloud {
  position: absolute;
  width: 118px;
  height: 31px;
  background: rgba(255, 255, 255, 0.68);
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  filter: drop-shadow(0 5px 0 rgba(63, 144, 180, 0.11));
  animation: cloud-drift 24s ease-in-out infinite alternate;
}

.cloud::before,
.cloud::after {
  position: absolute;
  bottom: 6px;
  content: "";
  background: inherit;
  border: inherit;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.cloud::before {
  left: 20px;
  width: 39px;
  height: 39px;
}

.cloud::after {
  right: 20px;
  width: 50px;
  height: 50px;
}

.cloud-one {
  top: 8%;
  left: 3%;
}

.cloud-two {
  top: 19%;
  right: 7%;
  width: 150px;
  animation-delay: -7s;
}

.cloud-three {
  top: 37%;
  left: 14%;
  width: 92px;
  opacity: 0.62;
  animation-delay: -15s;
}

@keyframes cloud-drift {
  from { transform: translateX(-14px); }
  to { transform: translateX(28px); }
}

.home-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 56px;
}

.retro-window,
.category-panel {
  position: relative;
  background: var(--paper);
  border: 3px solid var(--line-dark);
  border-radius: 12px;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.7) inset,
    0 7px 0 rgba(71, 50, 26, 0.28),
    0 15px 28px var(--shadow);
}

.window-titlebar {
  min-height: 39px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-shadow: 0 2px 0 rgba(24, 67, 98, 0.7);
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 3px),
    linear-gradient(#347cae, #255d87);
  border-bottom: 3px solid #17496f;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.4) inset;
}

.window-title-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  background: #fff4b5;
  border: 2px solid #16456a;
  border-radius: 5px;
  text-shadow: none;
}

.window-controls {
  display: flex;
  gap: 5px;
  margin-left: auto;
}

.window-controls i {
  width: 14px;
  height: 14px;
  background: #c9edff;
  border: 2px solid #17496f;
  border-radius: 3px;
  box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.window-controls i:last-child {
  background: #ffad71;
}

.hero-content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px 19px;
  background:
    linear-gradient(90deg, rgba(255, 245, 212, 0.78), rgba(255, 255, 255, 0.95)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(237, 204, 138, 0.18) 12px 14px);
}

.hero-logo {
  position: relative;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  background: linear-gradient(145deg, #fff5b8, #ffc857);
  border: 4px solid #8f5a20;
  border-radius: 50%;
  box-shadow:
    0 0 0 5px #f9dc81,
    0 0 0 8px #5b3d20,
    0 8px 0 rgba(101, 66, 30, 0.24),
    0 7px 14px rgba(86, 60, 27, 0.23) inset;
  transform: rotate(-3deg);
}

.hero-leaf {
  color: #e4612a;
  font-family: Georgia, serif;
  font-size: 3.7rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 3px 3px 0 #fff0a4, 5px 5px 0 rgba(111, 62, 24, 0.35);
}

.hero-level {
  position: absolute;
  right: -16px;
  bottom: -5px;
  padding: 3px 8px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
  background: #3c8a4a;
  border: 2px solid #285a31;
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
}

.hero-kicker,
.category-header p {
  margin: 0 0 4px;
  color: var(--maple-blue-dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hero-copy h1 {
  margin: 0;
  color: #f0782e;
  font-family: Georgia, "Microsoft YaHei UI", serif;
  font-size: clamp(2.45rem, 6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  -webkit-text-stroke: 1px #8b491e;
  text-shadow:
    2px 2px 0 #fff5be,
    4px 4px 0 #874e24,
    6px 6px 0 rgba(68, 42, 20, 0.14);
}

.hero-copy > p:last-child {
  max-width: 680px;
  margin: 13px 0 0;
  color: #5e503e;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-status {
  align-self: start;
  min-width: 172px;
  padding: 10px 12px;
  color: #3f3a2e;
  background: #fffdf2;
  border: 2px solid #c1a46b;
  border-radius: 7px;
  box-shadow: 0 3px 0 rgba(100, 75, 40, 0.18);
}

.hero-status span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-status small {
  display: block;
  margin: 5px 0 0 18px;
  color: #84735d;
  font-size: 0.68rem;
}

.status-light {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: #55be61;
  border: 1px solid #277333;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #d6f4d2, 0 0 8px #69d475;
}

.quick-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  padding: 6px;
  background: #d1b57a;
  border-top: 2px solid #81623c;
  border-radius: 0 0 8px 8px;
}

.quick-nav a {
  min-height: 42px;
  display: grid;
  place-items: center;
  color: #4b3a25;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(#fff9df, #eed9a5);
  border: 2px solid #8a6b42;
  border-radius: 6px;
  box-shadow: 0 2px 0 #fff inset, 0 2px 0 rgba(83, 58, 28, 0.18);
}

.quick-nav a:hover {
  color: #783d15;
  background: linear-gradient(#fffbdc, #ffc96f);
}

.quick-nav a:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #fff inset;
}

main {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.category-panel {
  --accent: #4a9b5d;
  --accent-dark: #2d6b3a;
  padding: 14px 16px 18px;
  scroll-margin-top: 18px;
}

.category-panel::before,
.category-panel::after {
  position: absolute;
  z-index: 2;
  top: 9px;
  width: 7px;
  height: 7px;
  content: "";
  background: #ecd393;
  border: 1px solid #71512e;
  border-radius: 50%;
  box-shadow: 0 1px 0 #fff7d5 inset;
}

.category-panel::before { left: 9px; }
.category-panel::after { right: 9px; }

.category-green { --accent: #337f45; --accent-dark: #276337; }
.category-gold { --accent: #a85c18; --accent-dark: #71330e; }
.category-blue { --accent: #2d719f; --accent-dark: #215679; }
.category-red { --accent: #a94738; --accent-dark: #7f3229; }
.category-pink { --accent: #9c4f7b; --accent-dark: #75385a; }
.category-purple { --accent: #654c9c; --accent-dark: #4b3778; }

.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  margin: -3px -5px 14px;
  padding: 9px 16px 9px 12px;
  color: #fff;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 3px),
    linear-gradient(100deg, var(--accent), var(--accent-dark));
  border: 3px solid var(--accent-dark);
  border-radius: 9px;
  box-shadow: 0 3px 0 rgba(59, 43, 28, 0.22), 0 2px 0 rgba(255, 255, 255, 0.27) inset;
}

.category-header p {
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.category-header h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.05;
  text-shadow: 0 2px 0 rgba(43, 37, 23, 0.38);
}

.category-marker {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--accent-dark);
  font-family: Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 900;
  background: #fff6c9;
  border: 3px solid rgba(70, 46, 23, 0.65);
  border-radius: 50%;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.65) inset;
}

.category-count {
  margin-left: auto;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  background: rgba(38, 31, 20, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
}

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

.tool-card {
  position: relative;
  min-width: 0;
  min-height: 118px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 19px;
  gap: 11px;
  align-items: center;
  width: 100%;
  padding: 12px 12px 12px 9px;
  overflow: hidden;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.86), rgba(255, 247, 220, 0.96)),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(128, 95, 47, 0.05) 3px 4px);
  border: 2px solid #9c7b4d;
  border-radius: 9px;
  box-shadow:
    0 2px 0 #fff inset,
    0 -2px 0 rgba(173, 131, 72, 0.13) inset,
    0 4px 0 rgba(86, 58, 26, 0.13);
  cursor: pointer;
  appearance: none;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.tool-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 33px;
  height: 8px;
  content: "";
  background: var(--accent);
  border-left: 2px solid var(--accent-dark);
  border-bottom: 2px solid var(--accent-dark);
  border-radius: 0 7px 0 8px;
  opacity: 0.78;
}

.tool-card:hover {
  z-index: 1;
  border-color: var(--accent-dark);
  box-shadow:
    0 2px 0 #fff inset,
    0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent),
    0 7px 0 rgba(86, 58, 26, 0.16),
    0 11px 20px rgba(88, 64, 33, 0.15);
  transform: translateY(-3px);
}

.tool-card:active {
  transform: translateY(0);
}

.tool-card:focus-visible,
.quick-nav a:focus-visible,
.dialog-x:focus-visible,
.retro-button:focus-visible,
.qq-grid button:focus-visible,
.trade-options a:focus-visible,
.site-footer a:focus-visible {
  outline: 4px solid #102f83;
  outline-offset: 3px;
}

.monster-picture {
  position: relative;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 47%, transparent 48%),
    linear-gradient(180deg, transparent 67%, rgba(110, 162, 73, 0.28) 68% 76%, transparent 77%);
  border-radius: 50%;
}

.monster-picture::after {
  position: absolute;
  right: 9px;
  bottom: 8px;
  left: 9px;
  height: 7px;
  content: "";
  background: rgba(75, 65, 47, 0.16);
  border-radius: 50%;
  filter: blur(2px);
}

.monster-picture img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 76px;
  max-height: 76px;
  width: auto;
  height: auto;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 3px 0 rgba(65, 49, 28, 0.18));
}

.tool-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.tool-copy strong {
  color: #3b2c1c;
  font-size: 1.03rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.tool-copy small {
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.52;
  overflow-wrap: anywhere;
}

.card-arrow {
  color: var(--accent-dark);
  font-size: 1.13rem;
  font-weight: 900;
  transition: transform 150ms ease;
}

.tool-card:hover .card-arrow {
  transform: translate(2px, -2px);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(280px, 1.8fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 18px 20px;
  color: #fff6dc;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px),
    #5f462e;
  border: 3px solid #352314;
  border-radius: 10px;
  box-shadow: 0 5px 0 rgba(53, 35, 20, 0.22);
}

.site-footer div {
  display: grid;
  gap: 2px;
}

.site-footer strong {
  color: #ffd66a;
  font-size: 1.15rem;
}

.site-footer span,
.site-footer p,
.site-footer a {
  font-size: 0.72rem;
  line-height: 1.55;
}

.site-footer p {
  margin: 0;
  color: #dfd0b6;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #fff1b7;
  text-underline-offset: 3px;
}

.retro-dialog {
  width: min(620px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: #fff9e9;
  border: 3px solid #3d2a18;
  border-radius: 11px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.72) inset, 0 18px 70px rgba(30, 22, 14, 0.48);
}

.retro-dialog::backdrop {
  background: rgba(30, 42, 50, 0.62);
  backdrop-filter: blur(2px);
}

.dialog-titlebar {
  position: sticky;
  z-index: 2;
  top: 0;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 7px 6px 14px;
  color: #fff;
  font-weight: 900;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 3px),
    linear-gradient(#347cae, #255d87);
  border-bottom: 3px solid #17496f;
  text-shadow: 0 2px 0 rgba(20, 56, 82, 0.62);
}

.dialog-titlebar form {
  margin: 0;
}

.dialog-x {
  width: 32px;
  height: 32px;
  display: grid;
  padding: 0;
  place-items: center;
  color: #603018;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(#ffd8a3, #f39a56);
  border: 2px solid #71391b;
  border-radius: 5px;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.48) inset;
  cursor: pointer;
}

.dialog-body {
  padding: 20px;
}

.dialog-body > p:first-child {
  margin: 0 0 15px;
  color: #665743;
  line-height: 1.6;
}

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

.qq-grid button {
  min-height: 68px;
  display: grid;
  gap: 4px;
  padding: 10px 13px;
  color: #3e3325;
  text-align: left;
  background: linear-gradient(#fffef5, #f1dfb8);
  border: 2px solid #a08151;
  border-radius: 8px;
  box-shadow: 0 3px 0 rgba(92, 64, 31, 0.14);
  cursor: copy;
}

.qq-grid button:hover {
  background: linear-gradient(#fffce8, #ffd981);
  border-color: #8f5c22;
}

.qq-grid span {
  color: #746552;
  font-size: 0.74rem;
}

.qq-grid strong {
  color: #285f8e;
  font-family: Consolas, "Microsoft YaHei UI", monospace;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.dialog-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: #257139;
  font-size: 0.82rem;
  font-weight: 800;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 11px 16px 15px;
  background: #ead5a8;
  border-top: 2px solid #a58558;
}

.retro-button {
  min-width: 110px;
  min-height: 44px;
  padding: 8px 15px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(#f2a64f, #cc6d26);
  border: 2px solid #7e401b;
  border-radius: 6px;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.4) inset, 0 3px 0 rgba(80, 44, 20, 0.2);
  cursor: pointer;
}

.trade-options {
  display: grid;
  gap: 10px;
}

.trade-options a {
  min-height: 76px;
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
  padding: 11px 14px;
  color: #3c2f20;
  text-decoration: none;
  background: linear-gradient(105deg, #fffef4, #f3e2b7);
  border: 2px solid #9a7849;
  border-radius: 8px;
  box-shadow: 0 3px 0 rgba(82, 55, 25, 0.14);
}

.trade-options a:hover {
  background: linear-gradient(105deg, #fff9dd, #ffda83);
  border-color: #805222;
}

.trade-options a > span {
  grid-row: 1 / 3;
  font-size: 1.75rem;
  text-align: center;
}

.trade-options strong {
  align-self: end;
}

.trade-options small {
  align-self: start;
  color: #74624b;
  line-height: 1.4;
}

@media (max-width: 940px) {
  .hero-content {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .hero-status {
    grid-column: 2;
    width: fit-content;
    min-width: 0;
  }

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

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 660px) {
  .home-shell {
    width: min(100% - 18px, 560px);
    margin-top: 10px;
    margin-bottom: 28px;
  }

  .window-titlebar {
    font-size: 0.72rem;
  }

  .window-controls i:nth-child(-n + 2) {
    display: none;
  }

  .hero-content {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 15px;
    padding: 20px 16px 16px;
  }

  .hero-logo {
    width: 62px;
    height: 62px;
    border-width: 3px;
    box-shadow: 0 0 0 3px #f9dc81, 0 0 0 5px #5b3d20, 0 5px 0 rgba(101, 66, 30, 0.24);
  }

  .hero-leaf {
    font-size: 2.3rem;
  }

  .hero-level {
    right: -8px;
    bottom: -9px;
    font-size: 0.54rem;
  }

  .hero-kicker {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 15vw, 3.4rem);
  }

  .hero-copy > p:last-child {
    grid-column: 1 / -1;
    font-size: 0.87rem;
  }

  .hero-status {
    grid-column: 1 / -1;
    width: 100%;
  }

  .quick-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  main {
    gap: 17px;
    margin-top: 19px;
  }

  .category-panel {
    padding: 11px 10px 14px;
    border-width: 2px;
  }

  .category-header {
    min-height: 59px;
    margin-bottom: 10px;
    padding: 7px 11px 7px 8px;
  }

  .category-marker {
    width: 39px;
    height: 39px;
  }

  .category-header h2 {
    font-size: 1.25rem;
  }

  .category-count {
    font-size: 0.65rem;
  }

  .tool-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .tool-card {
    min-height: 104px;
    grid-template-columns: 70px minmax(0, 1fr) 18px;
    gap: 9px;
    padding: 9px 10px 9px 7px;
  }

  .monster-picture {
    width: 70px;
    height: 70px;
  }

  .monster-picture img {
    max-width: 65px;
    max-height: 65px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px;
  }

  .site-footer p,
  .site-footer a {
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer a {
    min-height: 36px;
  }

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

  .dialog-body {
    padding: 15px;
  }
}

@media (max-width: 350px) {
  .home-shell {
    width: calc(100% - 10px);
  }

  .category-count {
    display: none;
  }

  .tool-card {
    grid-template-columns: 62px minmax(0, 1fr) 16px;
    padding-left: 5px;
  }

  .monster-picture {
    width: 62px;
    height: 62px;
  }

  .monster-picture img {
    max-width: 58px;
    max-height: 58px;
  }
}

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

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

@media (forced-colors: active) {
  .tool-card,
  .quick-nav a,
  .category-header,
  .retro-button,
  .qq-grid button,
  .trade-options a {
    border: 2px solid ButtonText;
  }
}
