:root {
  --red-950: #4f0606;
  --red-900: #710a09;
  --red-800: #8f0d0c;
  --red-700: #aa1812;
  --red-600: #c52a1a;
  --gold-500: #e6a83f;
  --gold-400: #f4c664;
  --gold-300: #ffdc8a;
  --paper: #f5d4ad;
  --paper-deep: #edbd87;
  --ink: #6a160f;
  --muted: #7f4a38;
  --white: #fffaf0;
  --header-height: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--red-950);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

img {
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 16px;
  color: var(--red-950);
  background: var(--gold-300);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  color: var(--gold-300);
  background: var(--red-900);
  border-bottom: 1px solid rgba(255, 220, 138, 0.34);
  box-shadow: 0 10px 24px rgba(52, 0, 0, 0.22);
}

.site-header.is-scrolled {
  background: var(--red-950);
}

.header-inner {
  width: min(1260px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand-link img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1;
  color: var(--white);
}

.brand-copy strong {
  font-family: Arial, sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--gold-300);
  font-family: Arial, sans-serif;
  font-size: 0.56rem;
  letter-spacing: 0.18em;
}

.language-switcher {
  position: relative;
}

.language-button {
  min-width: 152px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  color: var(--gold-300);
  background: rgba(79, 6, 6, 0.38);
  border: 1px solid rgba(255, 220, 138, 0.55);
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 700;
}

.language-button:hover,
.language-button:focus-visible,
.language-button[aria-expanded="true"] {
  color: var(--white);
  background: var(--red-700);
}

.language-button img,
.language-menu img {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  object-fit: cover;
  border: 1px solid rgba(255, 250, 240, 0.82);
  border-radius: 50%;
}

.language-caret {
  width: 8px;
  height: 8px;
  margin: -4px 2px 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.language-button[aria-expanded="true"] .language-caret {
  margin-top: 4px;
  transform: rotate(225deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 20;
  width: 190px;
  margin: 0;
  padding: 8px;
  list-style: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--gold-400);
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(49, 0, 0, 0.38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-7px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.language-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-menu button {
  width: 100%;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  text-align: left;
}

.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button.is-current {
  color: var(--red-800);
  background: var(--paper-deep);
}

.language-menu button.is-current {
  font-weight: 800;
}

.hero {
  position: relative;
  width: 100%;
  padding-bottom: 128px;
  overflow: hidden;
  background: var(--red-900);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 218px;
  background-color: var(--red-700);
  background-image: url("./assets/festival-background.jpg");
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 90px, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 90px, #000 100%);
  pointer-events: none;
}

.hero-media {
  position: relative;
  aspect-ratio: 2000 / 820;
  overflow: hidden;
}

.hero-banner {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  width: min(800px, 42vw);
  max-width: calc(100% - 24px);
  max-height: calc(100% - 24px);
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.page-background {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 0 24px 110px;
  background-color: var(--red-700);
  background-image: url("./assets/festival-background.jpg");
  background-position: center -218px;
  background-size: 100% auto;
  background-repeat: repeat-y;
}

.hero-transition {
  position: relative;
  z-index: 1;
  height: 112px;
  margin: 0 -24px;
  overflow: hidden;
  pointer-events: none;
}

.transition-firework,
.transition-leaves {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
}

.transition-firework {
  top: -102px;
  width: 270px;
  height: 270px;
  object-fit: contain;
  opacity: 0.3;
}

.transition-firework-left {
  left: max(12px, 2vw);
}

.transition-firework-right {
  right: max(12px, 2vw);
  top: -128px;
  transform: scaleX(-1);
  opacity: 0.24;
}

.transition-leaves {
  top: -16px;
  left: 50%;
  width: min(1400px, 110vw);
  max-width: none;
  height: auto;
  opacity: 0.82;
  transform: translateX(-50%);
}

.poster-column {
  position: relative;
  z-index: 2;
  width: min(1260px, 100%);
  margin: 0 auto;
  padding-top: 64px;
}

.poster-section {
  position: relative;
  margin: 0 0 92px;
}

.poster-section:last-child {
  margin-bottom: 0;
}

.poster-panel {
  padding: 78px 66px 34px;
  background: var(--paper);
  border: 3px solid var(--gold-400);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(78, 3, 3, 0.34), inset 0 0 0 5px rgba(170, 24, 18, 0.08);
}

.panel-title {
  position: absolute;
  top: -35px;
  left: 50%;
  min-width: 290px;
  margin: 0;
  padding: 10px 42px;
  color: var(--paper);
  background: var(--red-800);
  border: 3px solid var(--gold-400);
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(67, 0, 0, 0.24);
  transform: translateX(-50%);
  text-align: center;
  font-family: "STKaiti", "KaiTi", "Microsoft YaHei", serif;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.activity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 34px;
  align-items: center;
}

.activity-lead {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1.16rem;
}

.activity-lead strong {
  display: block;
  margin-bottom: 0;
  color: var(--red-800);
  font-size: 1.45rem;
  font-weight: 900;
  text-shadow: 0 6px 14px rgba(143, 13, 12, 0.2);
}

.step-list,
.notes-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 24px 0;
}

.step-list li + li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 66px;
  height: 1px;
  background: rgba(143, 13, 12, 0.18);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--gold-300);
  background: var(--red-700);
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.step-list p {
  margin: 0;
  color: var(--red-800);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.45;
  white-space: pre-line;
  text-shadow: 0 3px 12px rgba(143, 13, 12, 0.12);
}

.refresh-reminder {
  margin: 18px 0 0;
  padding: 10px 14px;
  color: var(--red-800);
  background: var(--paper-deep);
  border-left: 4px solid var(--red-700);
}

.activity-visual {
  min-width: 0;
  display: grid;
  place-items: center;
}

.activity-visual img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0;
  filter: drop-shadow(0 18px 22px rgba(116, 11, 8, 0.12));
  transform: none;
}

.activity-stats {
  margin: 36px 0 0;
  padding: 24px 0 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid rgba(143, 13, 12, 0.22);
}

.activity-stats-first {
  margin: 0 0 38px;
  padding: 0 0 28px;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 0.775fr));
  border-top: 0;
  border-bottom: 2px solid rgba(143, 13, 12, 0.22);
}

.activity-stats-first .period-stat dd {
  font-size: clamp(0.92rem, 1.35vw, 1.14rem);
  letter-spacing: -0.012em;
}

.event-time-range {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.28em;
}

.event-time-range time {
  white-space: nowrap;
}

.event-time-end {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.event-time-end small {
  margin-left: 0.38em;
}

.activity-stats > div {
  min-width: 0;
  padding: 4px 22px 12px;
  border-left: 1px solid rgba(143, 13, 12, 0.22);
}

.activity-stats > div:first-child {
  border-left: 0;
}

.activity-stats dt {
  display: inline-block;
  margin-bottom: 9px;
  padding: 3px 10px;
  color: var(--paper);
  background: var(--red-700);
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 800;
}

.activity-stats dd {
  margin: 0;
  color: var(--red-800);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 800;
  line-height: 1.35;
}

.activity-stats dd small {
  font-size: 0.78em;
}

.activity-stats .prize-stat dd {
  color: var(--red-700);
  font-family: Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  white-space: nowrap;
}

.activity-stats .prize-stat dd small {
  margin-right: 4px;
  font-size: 0.62em;
}

.exchange-panel {
  padding-top: 72px;
  padding-bottom: 38px;
}

.exchange-panel .panel-title {
  z-index: 3;
  white-space: nowrap;
}

.exchange-table-shell {
  position: relative;
  isolation: isolate;
  overflow-x: auto;
  background: #fff7df;
  border: 2px solid var(--gold-400);
  border-radius: 14px;
  box-shadow: inset 0 0 0 4px rgba(170, 24, 18, 0.05);
  -webkit-overflow-scrolling: touch;
}

.exchange-decor-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 12px;
  pointer-events: none;
}

.exchange-decor,
.exchange-decor img {
  display: block;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.exchange-decor {
  position: absolute;
}

.exchange-decor-coin {
  top: -74px;
  left: -148px;
  width: 460px;
  opacity: 0.16;
  transform: rotate(-6deg);
}

.exchange-decor-coin img {
  width: 100%;
  height: auto;
}

.exchange-decor-wallet {
  top: 8px;
  right: -24px;
  width: 230px;
  height: 286px;
  overflow: hidden;
  opacity: 0.14;
}

.exchange-decor-wallet img {
  position: absolute;
  top: -190px;
  left: -45px;
  width: 330px;
  height: auto;
}

.exchange-decor-bag {
  right: -28px;
  bottom: -30px;
  width: 178px;
  opacity: 0.28;
  transform: rotate(5deg);
}

.exchange-decor-bag img {
  width: 100%;
  height: auto;
}

.exchange-table {
  position: relative;
  z-index: 1;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  color: var(--red-900);
  font-variant-numeric: tabular-nums;
}

.exchange-table th,
.exchange-table td {
  padding: 16px 14px;
  text-align: center;
  border-right: 1px solid rgba(143, 13, 12, 0.18);
  border-bottom: 1px solid rgba(143, 13, 12, 0.18);
  overflow-wrap: anywhere;
}

.exchange-table thead th {
  color: var(--gold-300);
  background: var(--red-800);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.exchange-table tbody th,
.exchange-table tbody td {
  background: rgba(255, 244, 215, 0.72);
  color: var(--red-800);
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 700;
}

.exchange-table tbody tr:nth-child(even) th,
.exchange-table tbody tr:nth-child(even) td {
  background: rgba(249, 222, 167, 0.54);
}

.limit-cell {
  position: relative;
}

.limit-count {
  display: block;
}

.daily-limit-badge {
  position: absolute;
  top: 50%;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  color: var(--red-900);
  background: rgba(244, 198, 100, 0.88);
  border: 1px solid rgba(143, 13, 12, 0.42);
  border-radius: 5px;
  box-shadow: 0 3px 8px rgba(113, 10, 9, 0.14);
  transform: translateY(-50%);
  font-size: 0.67rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.exchange-table tr > :last-child {
  border-right: 0;
}

.exchange-table tbody tr:last-child > * {
  border-bottom: 0;
}

.notes-panel {
  padding: 76px 76px 54px;
  color: var(--paper);
  background: var(--red-900);
  border: 3px solid var(--gold-400);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(78, 3, 3, 0.38), inset 0 0 0 5px rgba(244, 198, 100, 0.07);
}

.notes-panel .panel-title {
  color: var(--paper);
  background: var(--red-800);
}

.notes-list {
  counter-reset: notes;
}

.notes-list li {
  counter-increment: notes;
  position: relative;
  padding: 10px 0 10px 48px;
  border-top: 1px solid rgba(255, 220, 138, 0.19);
  font-size: 1rem;
}

.notes-list li:first-child {
  border-top: 0;
}

.notes-list li::before {
  content: counter(notes, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--gold-300);
  font-family: Georgia, serif;
  font-weight: 800;
}

.site-footer {
  padding: 24px 20px;
  color: rgba(255, 250, 240, 0.72);
  background: var(--red-950);
  border-top: 1px solid rgba(255, 220, 138, 0.18);
  text-align: center;
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

.floating-event-entry {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 890;
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 18px;
  filter: drop-shadow(0 10px 20px rgba(55, 0, 0, 0.32));
  transition: transform 180ms ease, filter 180ms ease;
}

.floating-event-entry[hidden] {
  display: none !important;
}

.floating-event-entry img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.floating-event-entry:hover,
.floating-event-entry:focus-visible {
  transform: translateY(-3px) scale(1.03);
  filter: drop-shadow(0 13px 24px rgba(55, 0, 0, 0.4));
}

.back-top {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 900;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--red-800);
  border: 1px solid var(--gold-400);
  border-radius: 8px;
  box-shadow: 0 9px 24px rgba(55, 0, 0, 0.3);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.back-top:hover,
.back-top:focus-visible {
  background: var(--red-700);
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-300);
  outline-offset: 3px;
}

@media (max-width: 1115px) {
  .hero-media {
    height: clamp(420px, calc(391px + 7.7vw), 450px);
    aspect-ratio: auto;
  }

  .hero-title {
    width: min(90vw, 480px);
  }
}

@media (max-width: 1020px) {
  .activity-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 24px;
  }

  .poster-panel {
    padding-right: 44px;
    padding-left: 44px;
  }

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

  .activity-stats > div:nth-child(3) {
    border-left: 0;
  }

  .activity-stats > div:nth-child(n + 3) {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(143, 13, 12, 0.16);
  }

  .activity-stats-first .period-stat {
    grid-column: 1 / -1;
  }

  .activity-stats-first > div:nth-child(2) {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(143, 13, 12, 0.16);
    border-left: 0;
  }

  .activity-stats-first > div:nth-child(3) {
    border-left: 1px solid rgba(143, 13, 12, 0.22);
  }

  .daily-limit-badge {
    position: static;
    display: flex;
    width: max-content;
    margin: 5px auto 0;
    transform: none;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 58px;
  }

  .header-inner {
    width: calc(100% - 24px);
  }

  .brand-link img {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 1.22rem;
  }

  .language-button {
    min-width: 142px;
    padding: 6px 10px;
    font-size: 0.88rem;
  }

  .language-menu {
    width: min(210px, calc(100vw - 24px));
  }

  .hero-title {
    max-width: calc(100% - 16px);
    max-height: calc(100% - 16px);
  }

  .page-background {
    margin-top: 0;
    padding: 0 12px 84px;
    background-position: center -218px;
    background-size: auto 1150px;
  }

  .hero::after {
    background-size: auto 1150px;
  }

  .hero-transition {
    height: 88px;
    margin-right: -12px;
    margin-left: -12px;
  }

  .transition-firework {
    top: -68px;
    width: 178px;
    height: 178px;
    opacity: 0.24;
  }

  .transition-firework-left {
    left: -46px;
  }

  .transition-firework-right {
    right: -46px;
    top: -82px;
    opacity: 0.2;
  }

  .transition-leaves {
    top: 2px;
    width: 600px;
    opacity: 0.78;
  }

  .poster-column {
    padding-top: 48px;
  }

  .poster-section {
    margin-bottom: 78px;
  }

  .poster-panel,
  .notes-panel {
    padding: 58px 20px 24px;
    border-width: 2px;
    border-radius: 12px;
  }

  .panel-title {
    top: -29px;
    min-width: 210px;
    padding: 8px 24px;
    border-width: 2px;
    border-radius: 13px;
    font-size: 1.8rem;
  }

  .exchange-panel .panel-title {
    width: min(360px, calc(100% - 24px));
    min-width: 0;
    letter-spacing: 0.04em;
  }

  html[lang="en"] .exchange-panel .panel-title {
    font-size: 1.45rem;
    line-height: 1.18;
  }

  .activity-layout {
    grid-template-columns: 1fr;
  }

  .activity-visual {
    display: none;
  }

  .activity-lead {
    font-size: 0.98rem;
  }

  .activity-lead strong {
    font-size: 1.25rem;
  }

  .event-time-range {
    flex-wrap: wrap;
  }

  .step-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    padding: 16px 0;
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 0.94rem;
  }

  .step-list p,
  .notes-list li,
  .refresh-reminder {
    font-size: 0.9rem;
  }

  .activity-stats {
    margin-top: 28px;
    padding-top: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-stats-first {
    margin: 0 0 28px;
    padding-top: 0;
  }

  .activity-stats > div {
    padding: 8px 12px 14px;
  }

  .activity-stats dd {
    font-size: 0.96rem;
  }

  .activity-stats .prize-stat dd {
    font-size: 1.55rem;
  }

  .exchange-table th,
  .exchange-table td,
  .exchange-table tbody th,
  .exchange-table tbody td {
    padding: 12px 8px;
    font-size: 0.9rem;
  }

  .exchange-decor-layer {
    display: none;
  }

  .daily-limit-badge {
    padding: 3px 5px;
    font-size: 0.6rem;
    line-height: 1.1;
  }

  .notes-list li {
    padding-left: 38px;
  }

  .back-top {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .floating-event-entry {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(64px + env(safe-area-inset-bottom));
    width: 84px;
    height: 84px;
    border-radius: 14px;
  }
}

@media (max-width: 420px) {
  .brand-copy small {
    display: none;
  }

  .language-button {
    min-width: 130px;
  }

  .page-background {
    padding-right: 9px;
    padding-left: 9px;
  }

  .hero-transition {
    margin-right: -9px;
    margin-left: -9px;
  }

  .poster-panel,
  .notes-panel {
    padding-right: 15px;
    padding-left: 15px;
  }

  .panel-title {
    min-width: 190px;
    font-size: 1.6rem;
  }

  .exchange-panel .panel-title {
    min-width: 0;
  }

  html[lang="en"] .exchange-panel .panel-title {
    width: calc(100% - 24px);
    padding-right: 14px;
    padding-left: 14px;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .activity-stats > div {
    padding-right: 8px;
    padding-left: 8px;
  }

  .activity-stats dt {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 0.75rem;
  }

  .exchange-table th,
  .exchange-table td,
  .exchange-table tbody th,
  .exchange-table tbody td {
    padding: 10px 5px;
    font-size: 0.78rem;
    line-height: 1.35;
  }
}

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

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