/* DragonFable Private Server — Modern RPG Theme
   Drop-in visual layer. Keeps the original page markup and application scripts. */
:root {
  color-scheme: dark;
  --df-bg: #090c13;
  --df-bg-2: #0e1320;
  --df-panel: rgba(19, 25, 38, .92);
  --df-panel-2: rgba(25, 32, 47, .94);
  --df-line: rgba(196, 171, 115, .22);
  --df-line-strong: rgba(226, 188, 105, .48);
  --df-gold: #f2bd5b;
  --df-gold-soft: #ffe2a0;
  --df-ember: #d97b3d;
  --df-blue: #8dd5ee;
  --df-violet: #a99afc;
  --df-text: #eef1f7;
  --df-muted: #a0aabd;
  --df-danger: #ff9999;
  --df-radius: 16px;
  --df-shadow: 0 20px 55px rgba(0, 0, 0, .32);
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  background: var(--df-bg);
}

body {
  min-height: 100vh;
  color: var(--df-text);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(72, 82, 130, .22), transparent 37rem),
    radial-gradient(ellipse at 88% 18%, rgba(106, 55, 117, .13), transparent 34rem),
    linear-gradient(180deg, #0b0e17 0%, #090c13 48%, #0a0d14 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: .005em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image:
    radial-gradient(1px 1px at 18% 22%, rgba(255, 226, 160, .9) 50%, transparent 100%),
    radial-gradient(1px 1px at 72% 35%, rgba(141, 213, 238, .8) 50%, transparent 100%),
    radial-gradient(1px 1px at 48% 78%, rgba(255, 255, 255, .7) 50%, transparent 100%),
    radial-gradient(1px 1px at 91% 68%, rgba(169, 154, 252, .8) 50%, transparent 100%);
  background-size: 330px 260px, 420px 350px, 510px 420px, 390px 310px;
}

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }
::selection { color: #160f05; background: var(--df-gold); }

:focus-visible {
  outline: 2px solid var(--df-blue) !important;
  outline-offset: 3px;
}

a {
  color: var(--df-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
a:hover { color: var(--df-gold-soft); }

h1, h2, h3, h4, .button, .nav-link, .section-title, .df-eyebrow, .df-tab {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: .015em;
}

/* Global navigation: dark glass, warm metal accents, responsive nav chips. */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  min-height: 76px;
  padding: 10px clamp(16px, 4vw, 54px);
  overflow: visible;
  border-bottom: 1px solid rgba(242, 189, 91, .18);
  background: rgba(8, 11, 18, .88);
  background-image: none !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .2);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}

header .banner-overlap,
header .banner-background { display: none !important; }

header .header-logo,
header .header-nav {
  background: none !important;
  background-image: none !important;
}

header .header-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: auto;
  max-height: none;
  padding: 0;
  text-decoration: none;
}

header .header-logo img {
  display: block;
  width: auto;
  height: 43px !important;
  max-width: min(220px, 35vw);
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(242, 189, 91, .13));
  transition: filter .2s ease, transform .2s ease;
}
header .header-logo:hover img {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 19px rgba(242, 189, 91, .32));
}

header .header-nav {
  flex: 1 1 auto;
  min-width: 0;
  background: none !important;
}

header .header-nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin: 0;
  padding: 0;
}

header .header-nav .nav-links li {
  width: auto;
  margin: 0 !important;
  list-style: none;
  text-align: left;
}

header .header-nav .nav-links .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent !important;
  color: #c2cad8;
  font-family: "Cinzel", Georgia, serif;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

header .header-nav .nav-links .nav-link:hover,
header .header-nav .nav-links .nav-link.active {
  border-color: rgba(242, 189, 91, .28);
  background: linear-gradient(135deg, rgba(242, 189, 91, .13), rgba(217, 123, 61, .06)) !important;
  color: var(--df-gold-soft);
  box-shadow: inset 0 0 0 1px rgba(242, 189, 91, .035), 0 4px 16px rgba(0, 0, 0, .15);
}

/* Landing hero: keeps the project's original DragonFable art but composes it like a modern game portal. */
.main-banner {
  isolation: isolate;
  position: relative;
  display: flex;
  min-height: 475px;
  overflow: hidden;
  border-bottom: 1px solid var(--df-line);
  background:
    linear-gradient(180deg, rgba(7, 10, 18, .28) 0%, rgba(7, 10, 18, .46) 38%, #090c13 100%),
    linear-gradient(90deg, rgba(9, 12, 19, .76), rgba(9, 12, 19, .1) 50%, rgba(9, 12, 19, .58)),
    url("../images/bg-launcher-df2.jpg") center 38% / cover no-repeat,
    #0c101b;
}

.main-banner::before {
  content: "YOUR NEXT ADVENTURE BEGINS";
  position: absolute;
  top: clamp(42px, 6.5vw, 78px);
  left: 18px;
  right: 18px;
  color: #fff0ce;
  text-align: center;
  text-shadow: 0 4px 28px #000, 0 0 28px rgba(242, 189, 91, .24);
  font: 800 clamp(1.65rem, 4.5vw, 3.5rem)/1.2 "Cinzel", Georgia, serif;
  letter-spacing: .055em;
}

.main-banner::after {
  content: "Forge your legend in a world of dragons, magic and adventure.";
  position: absolute;
  top: clamp(100px, 12vw, 150px);
  left: 20px;
  right: 20px;
  color: #d4d9e6;
  text-align: center;
  font-size: clamp(.86rem, 1.5vw, 1.04rem);
  letter-spacing: .035em;
  text-shadow: 0 2px 14px #000;
}

.main-banner > .background { display: none !important; }
.main-banner > .container {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 32px));
  max-width: 1140px;
  padding: 0;
  margin: auto;
}

.main-banner .banner-cta {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  margin: 205px 0 27px !important;
  padding: 0 !important;
}

.main-banner .banner-cta .cta-item {
  min-width: 0;
  margin: 0 !important;
  padding: 16px 16px 13px;
  border: 1px solid rgba(226, 188, 105, .28);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(16, 22, 34, .91), rgba(8, 12, 20, .87));
  box-shadow: 0 18px 38px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255,255,255,.035);
  text-align: center;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.main-banner .banner-cta .cta-item:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 189, 91, .68);
  box-shadow: 0 22px 46px rgba(0, 0, 0, .4), 0 0 28px rgba(242, 189, 91, .07);
}

.main-banner .cta-item > a {
  display: flex;
  width: 100%;
  text-decoration: none;
}
.main-banner .cta-item > a > img { display: none !important; }
.main-banner .cta-item > a::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 70px;
  padding: 12px;
  border: 1px solid rgba(242, 189, 91, .3);
  border-radius: 10px;
  background: linear-gradient(130deg, rgba(242, 189, 91, .14), rgba(217, 123, 61, .05));
  color: var(--df-gold-soft);
  font: 700 .9rem/1.5 "Cinzel", Georgia, serif;
  letter-spacing: .07em;
  text-align: center;
  transition: background .2s ease, border-color .2s ease;
}
.main-banner .cta-item > a:hover::before {
  border-color: var(--df-gold);
  background: linear-gradient(130deg, rgba(242, 189, 91, .24), rgba(217, 123, 61, .1));
}
.main-banner .cta-item:nth-child(1) > a::before { content: "⚔  PLAY NOW"; }
.main-banner .cta-item:nth-child(2) > a::before { content: "✦  CREATE ACCOUNT"; }
.main-banner .cta-item:nth-child(3) > a::before { content: "♜  MANAGE ACCOUNT"; }
.main-banner .cta-item .cta-item-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 10px;
  color: var(--df-muted);
  font-size: .78rem;
  line-height: 1.5;
}
.main-banner .cta-item .cta-item-text b { color: #dce2ed; font-weight: 650; }
.main-banner .cta-item .cta-item-text span { color: var(--df-blue); }

/* Content pages, cards and section hierarchy. */
main:not(.flash-content) { min-height: 42vh; }
section.content {
  width: min(1140px, calc(100% - 34px));
  max-width: 1140px;
  margin: 30px auto;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(196, 171, 115, .2);
  border-radius: var(--df-radius);
  background: linear-gradient(145deg, rgba(18, 24, 37, .94), rgba(11, 15, 24, .92));
  box-shadow: var(--df-shadow);
}
section.content > .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

section.content .section-title {
  margin: 0 0 16px;
  padding: 0 0 17px;
  border-bottom: 1px solid var(--df-line);
  background: none !important;
  color: var(--df-text);
  font-family: "Cinzel", Georgia, serif;
}
section.content .section-title h2 {
  color: #fff1d2;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.35;
}
section.content .section-content.content-post { padding: 8px 0 20px; }
section.content .section-content.content-post p {
  max-width: 850px;
  margin: 1rem 0;
  color: #c4ccda;
  line-height: 1.9;
}
section.content .section-content.content-post h2 {
  margin: 1.6rem 0 .7rem;
  color: var(--df-gold);
  font-size: 1.05rem;
}
section.content .section-content.content-post li { color: #c4ccda; margin: .45rem 0; }

/* Forms remain wired to the original scripts, but no longer look like legacy inputs. */
section.content .content-form { padding: 8px 0 18px; }
section.content .form-container {
  width: min(100%, 760px);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--df-line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(25, 32, 47, .84), rgba(13, 18, 29, .8));
}
section.content .content-form label {
  display: block;
  margin: 16px 0 7px;
  color: var(--df-gold-soft);
  font-family: "Cinzel", Georgia, serif;
  font-size: .83rem;
  font-weight: 600;
}
section.content .content-form .input-text,
section.content .content-form input:not([type="button"]):not([type="submit"]),
section.content .content-form select,
section.content .content-form textarea {
  display: block;
  width: 100%;
  max-width: 560px;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #384257;
  border-radius: 10px;
  outline: none;
  background: #0b101a;
  color: var(--df-text);
  font: inherit;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .18);
  transition: border-color .18s ease, box-shadow .18s ease;
}
section.content .content-form .input-text:focus,
section.content .content-form input:not([type="button"]):not([type="submit"]):focus,
section.content .content-form select:focus,
section.content .content-form textarea:focus {
  border-color: var(--df-gold);
  box-shadow: 0 0 0 3px rgba(242, 189, 91, .12);
}
section.content .content-form .small { color: var(--df-muted); font-size: .82rem; line-height: 1.7; }
section.content .content-form .error { color: var(--df-danger); }
.button,
input.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 44px;
  width: auto;
  padding: 11px 20px;
  margin: 14px 8px 4px 0;
  border: 1px solid rgba(242, 189, 91, .54);
  border-radius: 10px;
  background: linear-gradient(135deg, #f2bd5b, #d98a3e);
  color: #17110a;
  font: 800 .78rem/1.4 "Cinzel", Georgia, serif;
  letter-spacing: .035em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .19);
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}
.button:hover,
input.button:hover,
button.button:hover {
  color: #17110a;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

/* Game / Ruffle screens: treat the game canvas and chat as one modern play station. */
main.flash-content {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  width: min(1320px, calc(100% - 28px));
  max-width: 1320px;
  min-height: 0;
  margin: 26px auto;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--df-line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(18, 24, 37, .93), rgba(8, 12, 20, .94));
  box-shadow: var(--df-shadow);
}
main.flash-content > object#FFable {
  display: block;
  flex: 0 1 1140px;
  width: min(100%, 1140px);
  max-width: 100%;
  height: min(640px, calc(100vh - 190px));
  min-height: 360px;
  border: 1px solid rgba(242, 189, 91, .18);
  border-radius: 12px;
  background: #0f0a02;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .25);
}
main.flash-content:has(#chat-container) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: stretch;
  width: min(1200px, calc(100% - 28px));
}
main.flash-content:has(#chat-container) > object#FFable {
  width: 100%;
  min-width: 0;
  min-height: 360px;
  height: min(640px, calc(100vh - 190px));
}
main.flash-content #chat-container {
  min-width: 0;
  width: auto;
  height: min(640px, calc(100vh - 190px));
  max-height: none;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--df-line);
  border-radius: 13px;
  background: rgba(8, 12, 20, .78);
}
main.flash-content #chat-container .content-chat {
  height: auto;
  min-height: 0;
  flex: 1 1 auto;
  padding: 10px 0;
  overflow: auto;
}
main.flash-content #chat-container .content-chat-input { flex: 0 0 auto; border-color: var(--df-line); }
main.flash-content #chat-container .chat-item { border: 1px solid rgba(255,255,255,.045); background: rgba(255,255,255,.055); }
main.flash-content #chat-container .chat-item.chat-item-me { background: rgba(242,189,91,.1); border-color: rgba(242,189,91,.15); }
main.flash-content #chat-container .chat-item .chat-user { color: var(--df-gold); }
main.flash-content #chat-container .chat-item .chat-message { color: #d9dfeb; }
main.flash-content #chat-container .chat-item .chat-message-input {
  width: 100%; margin: 0; padding: 10px 12px; border: 1px solid #384257;
  border-radius: 9px; color: var(--df-text); background: #0c111b;
}
main.flash-content:has(#character-page-container) { display: block; }
main.flash-content:has(#character-page-container) > .container {
  display: flex; align-items: flex-start; gap: 24px; width: 100%; max-width: 100%;
}
main.flash-content:has(#character-page-container) #character-page-container { flex: 0 0 min(490px, 48%); min-width: 0; }
main.flash-content:has(#character-page-container) #character-page-container #FFable {
  width: 100%; max-width: 100%; height: min(700px, calc(100vh - 190px)); min-height: 400px;
}
main.flash-content:has(#character-page-container) section.content {
  flex: 1 1 auto; width: auto; min-width: 0; margin: 0; padding: 22px;
}

/* Footer and small metadata. */
footer {
  margin-top: 38px;
  padding: 25px 18px 30px;
  border-top: 1px solid rgba(196, 171, 115, .2);
  background: linear-gradient(180deg, rgba(12, 16, 25, .3), rgba(5, 8, 13, .72));
  color: #8792a6;
  font-size: .78rem;
  line-height: 1.9;
  text-align: center;
}
footer .container { width: min(1140px, 100%); max-width: 1140px; margin: 0 auto; padding: 0; }
footer .title { color: #c9d0de; font-family: "Cinzel", Georgia, serif; font-size: .9rem; }
footer .footer-info {
  width: fit-content; max-width: 100%; margin: 14px auto 0; padding: 10px 16px;
  border: 1px solid rgba(196,171,115,.14); border-radius: 9px;
  background: rgba(255,255,255,.025); color: var(--df-muted);
}
footer .footer-info a { color: var(--df-blue); }

/* The V3 Hall of Fame shares the same design language as the rest of the site. */
section.content.df-ranking {
  width: min(1200px, calc(100% - 34px));
  max-width: 1200px;
  padding: clamp(18px, 3.2vw, 38px);
  border-color: rgba(196,171,115,.22);
  background: linear-gradient(145deg, rgba(18,24,37,.95), rgba(9,13,22,.96));
}
.df-ranking .section-title h2 { color: #fff0d0; }
.df-ranking .df-intro { padding: 1.2rem 0 1.65rem; }
.df-ranking .df-intro h1 {
  color: #fff2d7;
  text-shadow: 0 4px 28px rgba(0,0,0,.32);
  letter-spacing: .01em;
}
.df-ranking .df-intro p { color: #b9c3d4; }
.df-ranking .df-stat,
.df-ranking .df-rank-card,
.df-ranking .df-profile,
.df-ranking .df-profile-stat,
.df-ranking .df-board {
  border-color: rgba(196,171,115,.2) !important;
  border-radius: 13px !important;
  background: linear-gradient(145deg, rgba(25,32,47,.92), rgba(13,18,28,.94)) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
}
.df-ranking .df-rank-card.first {
  border-color: rgba(242,189,91,.6) !important;
  background: linear-gradient(145deg, rgba(68,51,26,.8), rgba(18,23,34,.96)) !important;
}
.df-ranking .df-tabs { border-bottom-color: var(--df-line); gap: 7px; }
.df-ranking .df-tab {
  padding: 10px 13px;
  border-color: rgba(196,171,115,.22);
  border-radius: 9px;
  background: rgba(255,255,255,.035);
  color: #c7cfdd;
  font-size: .75rem;
}
.df-ranking .df-tab:hover,
.df-ranking .df-tab.active {
  border-color: var(--df-line-strong);
  background: linear-gradient(135deg, rgba(242,189,91,.16), rgba(217,123,61,.06));
  color: var(--df-gold-soft);
}
.df-ranking .df-heading h2,
.df-ranking .df-profile-section h2 { color: #fff0d0; }
.df-ranking .df-muted { color: var(--df-muted); }
.df-ranking .df-character-name { color: var(--df-gold-soft); }
.df-ranking .df-class-name { color: var(--df-blue); }
.df-ranking .df-score-label,
.df-ranking .df-stat-label { color: var(--df-muted); }
.df-ranking .df-score,
.df-ranking .df-stat-value { color: var(--df-gold); }
.df-ranking .df-profile-meta { color: #bbc5d5; }
.df-ranking .df-profile-emblem { border-color: var(--df-line-strong); background: rgba(242,189,91,.08); color: var(--df-gold); }
.df-ranking table { background: transparent; }
.df-ranking th {
  background: rgba(242,189,91,.055);
  color: #aeb8ca;
  border-bottom: 1px solid var(--df-line);
}
.df-ranking td { border-top-color: rgba(196,171,115,.12); color: #d7deea; }
.df-ranking tbody tr:hover { background: rgba(141,213,238,.045); }
.df-ranking td a { color: var(--df-gold-soft); }
.df-ranking .df-rank-number { color: var(--df-gold); }
.df-ranking .df-attribute { border-color: rgba(196,171,115,.15); background: rgba(255,255,255,.025); }
.df-ranking .df-back-link {
  display: inline-flex; align-items: center; margin-top: 22px; padding: 10px 14px;
  border: 1px solid var(--df-line); border-radius: 9px; background: rgba(255,255,255,.035);
  text-decoration: none;
}

/* Tablet and phone layouts. */
@media (max-width: 900px) {
  header { position: relative; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 12px 14px 10px; }
  header .header-logo { justify-content: center; width: 100%; }
  header .header-nav { width: 100%; flex: 1 1 100%; }
  header .header-nav .nav-links { justify-content: center; flex-wrap: nowrap; overflow-x: auto; padding: 3px 0 5px; scrollbar-width: thin; }
  header .header-nav .nav-links li { flex: 0 0 auto; width: auto; }
  header .header-nav .nav-links .nav-link { min-height: 39px; padding: 8px 11px; font-size: .7rem; }
  .main-banner { min-height: 440px; background-position: center, center, 55% center; }
  .main-banner .banner-cta { margin-top: 208px !important; gap: 9px; }
  .main-banner .banner-cta .cta-item { padding: 12px 10px; }
  .main-banner .cta-item > a::before { min-height: 66px; font-size: .73rem; }
  main.flash-content:has(#chat-container) { grid-template-columns: minmax(0, 1fr); }
  main.flash-content:has(#chat-container) > object#FFable { height: min(640px, 70vh); }
  main.flash-content:has(#chat-container) #chat-container { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 14px; }
  header .header-logo img { height: 38px !important; }
  header .header-nav .nav-links { justify-content: flex-start; }
  .main-banner { min-height: 610px; background-position: center, center, 58% center; }
  .main-banner::before { top: 38px; font-size: clamp(1.45rem, 7vw, 2.2rem); }
  .main-banner::after { top: 112px; font-size: .85rem; line-height: 1.7; }
  .main-banner .container { width: calc(100% - 28px); }
  .main-banner .banner-cta { grid-template-columns: 1fr; gap: 9px; margin: 205px 0 18px !important; }
  .main-banner .banner-cta .cta-item { padding: 10px 12px; }
  .main-banner .cta-item > a::before { min-height: 48px; }
  .main-banner .cta-item .cta-item-text { margin-top: 5px; }
  section.content, section.content.df-ranking { width: calc(100% - 20px); margin: 16px auto; padding: 17px; border-radius: 13px; }
  section.content .form-container { padding: 17px; }
  main.flash-content { width: calc(100% - 14px); margin: 10px auto; padding: 7px; border-radius: 12px; }
  main.flash-content > object#FFable,
  main.flash-content:has(#chat-container) > object#FFable { min-height: 280px; height: 68vh; }
  main.flash-content:has(#character-page-container) > .container { flex-direction: column; gap: 16px; }
  main.flash-content:has(#character-page-container) #character-page-container { flex-basis: auto; width: 100%; }
  main.flash-content:has(#character-page-container) section.content { width: 100%; padding: 16px; }
  .df-ranking .df-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; }
  .df-ranking .df-tab { flex: 0 0 auto; }
  footer { margin-top: 22px; padding: 22px 14px; }
}

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