:root {
  --ink: #282018;
  --ink-soft: #68523e;
  --paper: #f3dfae;
  --paper-light: #fff0c8;
  --paper-dark: #c89e60;
  --wood: #754123;
  --wood-dark: #3d2116;
  --orange: #e86b25;
  --red: #963c2d;
  --gold: #e8ad35;
  --green: #527e43;
  --sky: #9ed3dc;
  --line: rgba(67, 43, 26, 0.2);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --body: Inter, Avenir, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--body);
  background:
    linear-gradient(rgba(68, 44, 25, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 44, 25, 0.03) 1px, transparent 1px),
    #dec38e;
  background-size: 34px 34px;
}

.page-shell {
  width: min(1240px, calc(100% - 36px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--red);
  transform: translateY(-150%);
}

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

/* Cena original da vila: toda construída em CSS. */
.hero {
  position: relative;
  height: 315px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(#8ac5d3 0 66%, #c8dca8 66%);
  border-bottom: 8px solid var(--wood-dark);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(35, 91, 104, 0.12), transparent 30%, transparent 70%, rgba(35, 91, 104, 0.1));
}

.sun {
  position: absolute;
  top: 38px;
  right: max(8%, calc((100% - 1240px) / 2 + 40px));
  width: 105px;
  aspect-ratio: 1;
  border: 5px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: #f5ae3d;
  box-shadow: 0 0 0 13px rgba(255, 203, 92, 0.18), 0 0 55px rgba(255, 220, 124, 0.75);
}

.sun span {
  position: absolute;
  inset: 17px;
  border: 2px dashed rgba(186, 92, 24, 0.3);
  border-radius: 50%;
}

.cloud {
  position: absolute;
  width: 110px;
  height: 24px;
  border-radius: 30px;
  opacity: 0.62;
  background: #f7f0d7;
}

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

.cloud::before {
  left: 18px;
  width: 43px;
  height: 43px;
}

.cloud::after {
  right: 17px;
  width: 57px;
  height: 57px;
}

.cloud--one {
  top: 62px;
  left: 5%;
}

.cloud--two {
  top: 128px;
  left: 58%;
  transform: scale(0.65);
}

.hill {
  position: absolute;
  z-index: -1;
  bottom: -105px;
  width: 68%;
  height: 215px;
  border-radius: 50% 50% 0 0;
}

.hill--back {
  right: -6%;
  bottom: -90px;
  background: #73995b;
  box-shadow: inset 0 9px rgba(255, 255, 255, 0.08);
}

.hill--front {
  left: -12%;
  background:
    repeating-linear-gradient(75deg, transparent 0 13px, rgba(255, 255, 255, 0.04) 14px 15px),
    #547b44;
}

.training-posts {
  position: absolute;
  right: 22%;
  bottom: 8px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  opacity: 0.65;
}

.training-posts i {
  width: 12px;
  height: 48px;
  border-radius: 8px 8px 0 0;
  background: #4a2a1c;
  box-shadow: inset 3px 0 rgba(255, 255, 255, 0.13);
}

.training-posts i:nth-child(2) {
  height: 70px;
}

.leaves i {
  position: absolute;
  z-index: 2;
  top: var(--top);
  left: -30px;
  width: 16px;
  height: 9px;
  border-radius: 100% 0 100% 0;
  background: #456f38;
  box-shadow: 7px 5px 0 -2px #e47b2e;
  animation: leaf-flight var(--speed) linear var(--delay) infinite;
}

.leaves i:nth-child(even) {
  background: #d25d28;
}

@keyframes leaf-flight {
  0% { transform: translate3d(-4vw, -15px, 0) rotate(0); }
  35% { transform: translate3d(38vw, 42px, 0) rotate(280deg); }
  70% { transform: translate3d(76vw, 5px, 0) rotate(570deg); }
  100% { transform: translate3d(108vw, 80px, 0) rotate(820deg); }
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  height: 100%;
  align-items: center;
  gap: 1.3rem;
  padding-bottom: 15px;
}

.hero__mark {
  position: relative;
  width: 64px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border: 4px solid #fff3ce;
  border-radius: 50%;
  filter: drop-shadow(0 3px 0 rgba(46, 37, 25, 0.25));
  transform: rotate(45deg);
}

.hero__mark::before {
  position: absolute;
  inset: 10px;
  content: "";
  border: 3px solid #fff3ce;
  border-radius: 50% 50% 50% 6px;
}

.hero__mark::after {
  position: absolute;
  top: 50%;
  left: -10px;
  width: 76px;
  height: 4px;
  content: "";
  background: #fff3ce;
}

.hero__mark span {
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: #fff3ce;
}

.hero__copy {
  padding: 1.2rem 1.7rem 1.3rem;
  border-left: 5px solid var(--orange);
  background: rgba(32, 42, 31, 0.76);
  box-shadow: 10px 10px 0 rgba(55, 75, 42, 0.3);
  backdrop-filter: blur(2px);
}

.hero__copy p,
.hero__copy span {
  margin: 0;
  color: #f8c16e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0.25rem 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow: 3px 4px 0 rgba(0, 0, 0, 0.25);
}

.hero h1 em {
  display: block;
  color: #ffe4aa;
  font-size: 0.63em;
  font-style: normal;
}

.hero__copy > span {
  color: #dce4c8;
  letter-spacing: 0.06em;
}

.max-score {
  display: grid;
  width: 105px;
  aspect-ratio: 1;
  place-content: center;
  flex: 0 0 auto;
  margin-left: auto;
  border: 3px solid #fff0c9;
  color: #fff0c9;
  text-align: center;
  background: var(--red);
  outline: 2px solid var(--red);
  outline-offset: 5px;
  box-shadow: 7px 8px 0 rgba(63, 35, 22, 0.25);
  transform: rotate(4deg);
}

.max-score small,
.max-score span {
  font-family: var(--display);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.max-score strong {
  color: #ffc153;
  font-family: var(--display);
  font-size: 3rem;
  line-height: 0.85;
}

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 2rem;
  padding-block: 42px 70px;
}

/* O ranking é o elemento principal e imita um pergaminho aberto. */
.ranking-scroll {
  position: relative;
  min-height: 510px;
  margin-inline: 18px;
  padding: 2.5rem 2rem 2.7rem;
  border-inline: 1px solid #b88750;
  background:
    radial-gradient(circle at 15% 20%, rgba(119, 72, 35, 0.09), transparent 24%),
    radial-gradient(circle at 88% 75%, rgba(119, 72, 35, 0.07), transparent 22%),
    repeating-linear-gradient(4deg, transparent 0 12px, rgba(92, 57, 31, 0.025) 13px 14px),
    var(--paper-light);
  box-shadow: 0 15px 35px rgba(56, 35, 20, 0.22);
}

.ranking-scroll::before {
  position: absolute;
  inset: 12px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(122, 74, 39, 0.18);
}

.ranking-scroll__rod {
  position: absolute;
  z-index: 2;
  left: -24px;
  width: calc(100% + 48px);
  height: 22px;
  border: 2px solid #422416;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #3b2014 0 15px, transparent 15px calc(100% - 15px), #3b2014 calc(100% - 15px)),
    repeating-linear-gradient(0deg, #8b502a 0 5px, #70401f 6px 10px);
  box-shadow: inset 0 3px rgba(255, 255, 255, 0.12), 0 5px 8px rgba(49, 27, 16, 0.28);
}

.ranking-scroll__rod--top {
  top: -11px;
}

.ranking-scroll__rod--bottom {
  bottom: -11px;
  transform: rotate(180deg);
}

.scroll-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(85, 51, 29, 0.38);
}

.scroll-heading p,
.panel-title p {
  margin: 0 0 0.1rem;
  color: var(--red);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-heading h2,
.panel-title h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 2.3rem;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.source-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #83664b;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-status i {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #5d9a53;
  box-shadow: 0 0 0 3px rgba(93, 154, 83, 0.15);
}

.status-message {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.status-message--error {
  min-height: 150px;
  padding: 1rem;
  color: var(--red);
  text-align: center;
}

.loader {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(150, 60, 45, 0.18);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(1turn); }
}

.ranking-table {
  position: relative;
  z-index: 1;
}

.ranking-head,
.rank-row {
  display: grid;
  grid-template-columns: 48px minmax(145px, 1.25fr) 130px 56px minmax(130px, 1fr);
  align-items: center;
  gap: 0.75rem;
}

.ranking-head {
  min-height: 36px;
  padding-inline: 0.7rem;
  color: #816346;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rank-row {
  --rank-color: #777;
  min-height: 62px;
  padding: 0.55rem 0.7rem;
  border-top: 1px solid rgba(83, 52, 30, 0.16);
  animation: row-in 0.35s both;
  animation-delay: min(calc(var(--row-index) * 35ms), 400ms);
}

.rank-row:hover {
  background: rgba(255, 255, 255, 0.3);
}

.rank-row--hokage {
  background: linear-gradient(90deg, rgba(232, 173, 53, 0.22), rgba(232, 173, 53, 0.02));
  box-shadow: inset 4px 0 var(--gold);
}

@keyframes row-in {
  from { opacity: 0; transform: translateX(-8px); }
}

.rank-position {
  font-family: var(--display);
  font-size: 1.6rem;
}

.rank-position small {
  color: var(--red);
  font-size: 0.65rem;
}

.rank-name {
  min-width: 0;
}

.rank-name strong {
  display: block;
  overflow: hidden;
  font-family: var(--display);
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.rank-name small {
  color: #927457;
  font-size: 0.57rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rank-badge {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  padding: 0.3rem 0.45rem;
  color: color-mix(in srgb, var(--rank-color), #000 30%);
  border: 1px solid color-mix(in srgb, var(--rank-color), transparent 30%);
  font-family: var(--display);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--rank-color), transparent 84%);
}

.rank-badge::before {
  width: 6px;
  aspect-ratio: 1;
  margin-right: 0.35rem;
  border-radius: 50%;
  content: "";
  background: var(--rank-color);
}

.rank-score {
  font-family: var(--display);
  font-size: 1.35rem;
  text-align: right;
}

.rank-score small {
  color: #927457;
  font-size: 0.58rem;
}

.progress {
  display: grid;
  grid-template-columns: 1fr 30px;
  align-items: center;
  gap: 0.5rem;
}

.progress__track {
  height: 9px;
  overflow: hidden;
  border: 1px solid rgba(69, 44, 27, 0.18);
  border-radius: 20px;
  background: rgba(69, 44, 27, 0.09);
  box-shadow: inset 0 1px 2px rgba(50, 27, 14, 0.12);
}

.progress__fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--rank-color);
  transition: width 0.9s ease;
}

.progress small {
  color: #7f6248;
  font-family: var(--display);
  font-size: 0.61rem;
}

.rank--academia { --rank-color: #777875; }
.rank--genin { --rank-color: #4f8a48; }
.rank--chunin { --rank-color: #347da0; }
.rank--jonin { --rank-color: #b24335; }
.rank--anbu { --rank-color: #674d78; }
.rank--hokage { --rank-color: #d78b1d; }

.side-content {
  display: grid;
  gap: 1rem;
}

.hokage-panel,
.paper-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(65, 41, 25, 0.3);
  box-shadow: 0 8px 18px rgba(62, 38, 21, 0.15);
}

.hokage-panel {
  padding: 1.2rem;
  color: #fbe6ba;
  border: 5px solid var(--wood-dark);
  background:
    radial-gradient(circle at 100% 100%, rgba(232, 173, 53, 0.14), transparent 42%),
    #282019;
}

.paper-panel {
  padding: 1.15rem;
  background:
    repeating-linear-gradient(5deg, transparent 0 13px, rgba(80, 48, 27, 0.025) 14px 15px),
    var(--paper-light);
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(75, 46, 27, 0.2);
}

.panel-title > span {
  display: grid;
  width: 34px;
  aspect-ratio: 1;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--red);
  color: var(--red);
}

.panel-title h2 {
  font-size: 1.45rem;
}

.panel-title--dark {
  border-color: rgba(255, 230, 178, 0.16);
}

.panel-title--dark p {
  color: #f2aa43;
}

.panel-title--dark > span {
  border-color: #f2aa43;
  color: #f2aa43;
}

.hokage-list {
  display: grid;
  gap: 0.6rem;
}

.hokage-card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem;
  border: 1px solid rgba(232, 173, 53, 0.26);
  background: rgba(255, 255, 255, 0.035);
}

.hokage-medal {
  position: relative;
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--display);
  box-shadow: 0 0 0 4px rgba(232, 173, 53, 0.08);
}

.hokage-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.hokage-card p {
  margin: 0.2rem 0 0;
  color: #a99372;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hokage-card strong {
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.8rem;
}

.podium {
  display: grid;
  gap: 0.45rem;
}

.podium-item {
  --medal: #8f6648;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 0.65rem;
  min-height: 45px;
  padding: 0.45rem 0.6rem;
  color: #fff3d3;
  background: var(--wood);
}

.podium-item--1 { --medal: var(--gold); background: #9c5929; }
.podium-item--2 { --medal: #c5c1b6; }
.podium-item--3 { --medal: #b46d46; background: #70422d; }

.podium-place {
  display: grid;
  width: 30px;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid #fff1cd;
  border-radius: 50%;
  color: #49301f;
  font-family: var(--display);
  background: var(--medal);
}

.podium-person {
  min-width: 0;
}

.podium-person b {
  display: block;
  margin: 0;
  overflow: hidden;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 400;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.podium-person small {
  display: none;
}

.podium-item strong {
  font-family: var(--display);
  font-size: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.stats div {
  min-width: 0;
  padding: 0.65rem 0.35rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.28);
}

.stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.4rem;
}

.stats span {
  display: block;
  color: #8a6b4e;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rank-legend {
  display: grid;
  gap: 0.15rem;
}

.legend-item {
  --rank-color: #777;
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 0.55rem;
  min-height: 30px;
  border-bottom: 1px solid rgba(77, 48, 29, 0.09);
}

.legend-item:last-child {
  border-bottom: 0;
}

.legend-item i {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--rank-color);
}

.legend-item strong {
  font-family: var(--display);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.legend-item span {
  color: #83664b;
  font-size: 0.57rem;
}

.legend-item small {
  color: var(--rank-color);
  font-family: var(--display);
  font-size: 0.76rem;
}

footer {
  color: #cbb490;
  border-top: 7px solid var(--wood);
  background: #282019;
}

.footer-content {
  display: flex;
  min-height: 105px;
  align-items: center;
  gap: 1rem;
}

.hero__mark--small {
  width: 38px;
  border-width: 2px;
  filter: none;
}

.hero__mark--small::before {
  inset: 6px;
  border-width: 2px;
}

.hero__mark--small::after {
  left: -6px;
  width: 46px;
  height: 2px;
}

.hero__mark--small span {
  inset: 14px;
}

.footer-content p {
  margin: 0;
  font-size: 0.68rem;
}

.footer-content strong {
  color: #fff0cb;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-content > span {
  margin-left: auto;
  color: #80664b;
  font-family: var(--display);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .main-layout {
    grid-template-columns: minmax(0, 1fr) 265px;
    gap: 1.25rem;
  }

  .ranking-scroll {
    margin-inline: 14px;
    padding-inline: 1.25rem;
  }

  .ranking-head,
  .rank-row {
    grid-template-columns: 42px minmax(130px, 1fr) 110px 50px;
  }

  .ranking-head span:last-child,
  .rank-row .progress {
    display: none;
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: min(100% - 24px, 1240px);
  }

  .hero {
    height: 290px;
  }

  .hero__mark {
    display: none;
  }

  .hero__content {
    padding-bottom: 10px;
  }

  .hero__copy {
    max-width: calc(100% - 88px);
    padding: 1rem 1.1rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 8.5vw, 3.8rem);
  }

  .hero__copy p,
  .hero__copy span {
    font-size: 0.6rem;
  }

  .max-score {
    position: absolute;
    right: 4px;
    bottom: 34px;
    width: 72px;
  }

  .max-score strong {
    font-size: 2rem;
  }

  .main-layout {
    display: flex;
    flex-direction: column;
    gap: 2.3rem;
    padding-top: 30px;
  }

  .ranking-scroll {
    width: calc(100% - 22px);
    margin-inline: auto;
    order: 1;
  }

  .side-content {
    width: 100%;
    order: 2;
    grid-template-columns: repeat(2, 1fr);
  }

  .hokage-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .hero {
    height: 275px;
  }

  .sun {
    top: 24px;
    right: 20px;
    width: 72px;
  }

  .cloud--two {
    display: none;
  }

  .hero__copy {
    max-width: 100%;
    margin-right: 38px;
    padding-right: 0.65rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 10.5vw, 3.2rem);
  }

  .hero h1 em {
    font-size: 0.58em;
  }

  .hero__copy > span {
    display: none;
  }

  .max-score {
    right: 5px;
    bottom: 26px;
    width: 64px;
  }

  .max-score small,
  .max-score span {
    font-size: 0.48rem;
  }

  .training-posts {
    right: 42%;
  }

  .main-layout {
    padding-top: 25px;
  }

  .ranking-scroll {
    width: calc(100% - 16px);
    min-height: 430px;
    padding: 2.2rem 0.8rem 2.4rem;
  }

  .ranking-scroll__rod {
    left: -13px;
    width: calc(100% + 26px);
  }

  .scroll-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .scroll-heading h2 {
    font-size: 2rem;
  }

  .ranking-head {
    display: none;
  }

  .rank-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 0.5rem;
    min-height: 86px;
    padding: 0.65rem 0.45rem;
  }

  .rank-position {
    grid-row: 1 / 3;
    font-size: 1.35rem;
  }

  .rank-name strong {
    font-size: 0.97rem;
    white-space: normal;
  }

  .rank-badge {
    grid-column: 2;
    width: max-content;
    font-size: 0.54rem;
  }

  .rank-score {
    grid-column: 3;
    grid-row: 1;
    font-size: 1.2rem;
  }

  .rank-row .progress {
    display: grid;
    grid-column: 2 / 4;
    grid-row: 3;
  }

  .side-content {
    grid-template-columns: 1fr;
  }

  .hokage-panel {
    grid-column: auto;
  }

  .footer-content > span {
    display: none;
  }
}

@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;
  }
}
