/* 斗魂试炼介绍页（guide-arena.html）专属样式。
   底座 styles.css 提供色板、顶栏与字体；本文件只做本页的“斗魂”炭红金火主题与版式。
   CSP 禁止内联样式，所有视觉都写在这里；手机端单列、16px 边距、不出现横向滚动。
   悬停效果只写在 (hover: hover) and (pointer: fine) 里。 */
.ar-page {
  --ar-ink: #33241f;
  --ar-gold: #f4b93e;
  --ar-gold-deep: #b9780f;
  --ar-red: #a5301c;
  --ar-red-deep: #3a0f0a;
  --ar-line: #f0dccf;
  --ar-paper: #fffdf8;
  --ar-warm: #fff6ee;
  --ar-muted: #7a665d;
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
}
.ar-page a, .ar-page summary { touch-action: manipulation; }
.ar-main { position: relative; z-index: 1; flex: 1; width: min(100% - 32px, 1120px); margin: 0 auto 40px; padding-top: 18px; color: var(--ar-ink); }
.ar-main a { color: #b3401f; text-underline-offset: 3px; }
.ar-main a:focus-visible, .ar-main summary:focus-visible { outline: 3px solid var(--ar-gold); outline-offset: 3px; }
.ar-main img { max-width: 100%; height: auto; }

/* 四种玩法的主题色：--mc 主色、--md 深色、--ml 浅底 */
.m-duel, .s-duel { --mc: #1c7fa6; --md: #0d4a66; --ml: #eaf6fb; }
.m-trial, .s-trial { --mc: #c2371f; --md: #7a1a0c; --ml: #fff0ec; }
.m-watch, .s-watch { --mc: #3f7d2c; --md: #1f4d14; --ml: #eff8ea; }
.m-hunt, .s-hunt { --mc: #7a3fc0; --md: #43186f; --ml: #f5eefc; }
/* 十二个进阶分支的主题色（与职业进阶介绍页一致） */
.ar-b1 { --bc: #d23b26; --bd: #7e1212; --bl: #fff0ec; }
.ar-b2 { --bc: #2f6fc4; --bd: #103f8f; --bl: #edf5ff; }
.ar-b3 { --bc: #e2701a; --bd: #9a2a08; --bl: #fff4e8; }
.ar-b4 { --bc: #9a3fc0; --bd: #4a1263; --bl: #f7eefc; }
.ar-b5 { --bc: #1c8a99; --bd: #0f5868; --bl: #eaf7f8; }
.ar-b6 { --bc: #a8642a; --bd: #5e3014; --bl: #fbf2e8; }
.ar-b7 { --bc: #c08a10; --bd: #87560a; --bl: #fff8e2; }
.ar-b8 { --bc: #4a5ad6; --bd: #1e2278; --bl: #eff0ff; }
.ar-b9 { --bc: #1d8a56; --bd: #0f5634; --bl: #ebf9f1; }
.ar-b10 { --bc: #7c3aed; --bd: #461796; --bl: #f4effe; }
.ar-b11 { --bc: #c85a19; --bd: #7d3108; --bl: #fff3e8; }
.ar-b12 { --bc: #2563eb; --bd: #153996; --bl: #edf4ff; }

/* ===== 页头：炭红夜火 ===== */
.ar-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 34px 34px;
  overflow: hidden;
  color: #fff3ea;
  border: 3px solid #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hard);
  background:
    radial-gradient(circle at 88% 30%, rgba(244, 185, 62, .34), transparent 44%),
    radial-gradient(circle at 6% -10%, rgba(255, 110, 70, .32), transparent 50%),
    radial-gradient(rgba(255, 220, 170, .12) 1.4px, transparent 2px) 0 0 / 24px 24px,
    linear-gradient(155deg, #1e0906 0%, #4a140c 52%, #7a2413 100%);
}
.ar-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: linear-gradient(90deg, #1c7fa6, #c2371f, #3f7d2c, #7a3fc0);
  opacity: .92;
}
.ar-hero-copy { flex: 1 1 0; min-width: 0; }
.ar-soon {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 4px 14px 4px 4px;
  color: #ffe9b8;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(244, 185, 62, .75);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.ar-soon b {
  padding: 3px 14px;
  color: #3a2200;
  background: linear-gradient(180deg, #ffe08a, #f4b93e);
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 3px;
}
.ar-eyebrow { margin: 0 0 8px; color: var(--ar-gold); font-size: 12px; font-weight: 800; letter-spacing: 3px; }
.ar-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-title);
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.15;
  letter-spacing: 8px;
  text-shadow: 0 3px 0 #1e0906, 0 0 24px rgba(244, 150, 62, .6);
}
.ar-lead { margin: 12px 0 8px; color: #ffd978; font-size: 19px; font-weight: 800; }
.ar-intro { margin: 0 0 16px; color: #ffe9dc; line-height: 1.85; }
.ar-intro strong { color: #ffe08a; }
.ar-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ar-hero-tags li {
  padding: 4px 12px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 210, 150, .5);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}
.ar-hero-shot {
  flex: 0 0 44%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #120504;
  border: 3px solid rgba(255, 224, 138, .85);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .8);
}
.ar-hero-shot img { display: block; width: 100%; height: auto; }

/* ===== 提示条与目录 ===== */
.ar-notice {
  margin: 16px 0 0;
  padding: 11px 16px;
  background: #fff6dc;
  border: 2px solid #f6d68a;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.8;
}
.ar-notice strong { color: #b8301c; }
.ar-toc {
  position: sticky;
  top: 8px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 10px 12px;
  background: rgba(255, 253, 248, .96);
  border: 2px solid var(--ar-line);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 16px -10px rgba(90, 30, 10, .45);
}
.ar-toc a {
  padding: 4px 11px;
  color: var(--ar-red) !important;
  background: #fff;
  border: 1.5px solid var(--ar-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.ar-toc a.is-active { color: #fff !important; background: var(--ar-red); border-color: var(--ar-red); }
@media (hover: hover) and (pointer: fine) {
  .ar-toc a:hover { color: #fff !important; background: var(--ar-red); border-color: var(--ar-red); }
}

/* ===== 分节 ===== */
.ar-section {
  margin-top: 22px;
  padding: 24px 28px 26px;
  background: var(--ar-paper);
  border: 3px solid #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hard);
  scroll-margin-top: 80px;
  font-size: 14px;
  line-height: 1.85;
}
.ar-section > h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--ar-red);
  font-family: var(--font-title);
  font-size: 26px;
  letter-spacing: 2px;
}
.ar-section > h2 small {
  padding: 1px 12px;
  color: #fff;
  background: var(--mc, var(--ar-red));
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 22px;
}
.ar-section[class*="s-"] > h2 { color: var(--md); }
.ar-no {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  color: #3a2200;
  background: linear-gradient(160deg, #ffe08a, var(--ar-gold));
  border-radius: 12px;
  box-shadow: 0 3px 0 var(--ar-gold-deep);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}
.ar-section p { margin: 6px 0; }
.ar-section ul, .ar-section ol { margin: 6px 0; padding-left: 22px; }
.ar-section li { margin: 3px 0; }
.ar-section strong { color: #b8301c; }
.ar-sub {
  margin: 22px 0 8px;
  padding-left: 11px;
  color: var(--ar-red);
  border-left: 5px solid var(--ar-gold);
  font-family: var(--font-title);
  font-size: 19px;
  letter-spacing: 1px;
}
.ar-fine { color: var(--ar-muted); font-size: 12.5px; }
.ar-note { margin: 12px 0 !important; padding: 9px 14px; background: #fff7e6; border-left: 4px solid #f0b13c; border-radius: 10px; font-size: 13.5px; }
.ar-check { list-style: none; padding-left: 0 !important; }
.ar-check li { position: relative; padding-left: 22px; }
.ar-check li::before { content: "◆"; position: absolute; left: 2px; top: 0; color: var(--ar-gold-deep); font-size: 11px; line-height: 2.4; }
.ar-plain li::marker { color: var(--ar-red); font-weight: 900; }
.ar-page kbd {
  display: inline-block;
  min-width: 24px;
  padding: 0 6px;
  color: #3a2200;
  background: linear-gradient(180deg, #fffaf0, #f3e2c4);
  border: 1px solid #c9a56a;
  border-bottom-width: 3px;
  border-radius: 6px;
  font: 800 12.5px/20px var(--font-body);
  text-align: center;
  white-space: nowrap;
}

/* ===== 截图 ===== */
.ar-shot { margin: 12px 0; overflow: hidden; background: #fff; border: 2px solid var(--ar-line); border-radius: var(--radius-md); box-shadow: 0 8px 18px -12px rgba(90, 30, 10, .55); }
.ar-shot img { display: block; width: 100%; height: auto; background: #1a0d0a; }
.ar-shot figcaption { padding: 7px 12px 8px; color: var(--ar-muted); font-size: 12.5px; line-height: 1.6; text-align: center; }
.ar-shot-mid { max-width: 720px; margin-left: auto; margin-right: auto; }
.ar-shots2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; margin: 12px 0; }
.ar-shots2 .ar-shot { margin: 0; }
.ar-shots2.is-center { align-items: center; }
/* 表格和截图并排（手机上上下排） */
.ar-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 14px; align-items: start; margin: 10px 0; }
.ar-split .ar-table-wrap, .ar-split .ar-shot { margin: 0; }

/* ===== 四种玩法卡 ===== */
.ar-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.ar-mode {
  display: block;
  padding: 14px 14px 12px;
  color: var(--ar-ink) !important;
  text-decoration: none;
  background: var(--ml);
  border: 2px solid var(--mc);
  border-top-width: 6px;
  border-radius: var(--radius-md);
  transition: transform .15s var(--ease-out), box-shadow .15s;
}
.ar-mode-who { display: inline-block; padding: 0 10px; color: #fff; background: var(--mc); border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 20px; }
.ar-mode h3 { margin: 6px 0 2px; color: var(--md); font-family: var(--font-title); font-size: 21px; letter-spacing: 2px; }
.ar-mode p { margin: 0; font-size: 13px; line-height: 1.7; }
@media (hover: hover) and (pointer: fine) {
  .ar-mode:hover { transform: translateY(-3px); box-shadow: 0 10px 20px -10px rgba(60, 20, 10, .45); }
}

/* ===== 入口 ===== */
.ar-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0; }
.ar-ways > div { padding: 12px 14px; background: #fff; border: 2px solid var(--ar-line); border-top: 5px solid var(--ar-gold); border-radius: var(--radius-md); }
.ar-ways b { display: block; color: var(--ar-red); font-size: 17px; }
.ar-ways span { display: block; color: #5f4d45; font-size: 13.5px; }

/* ===== 表格 ===== */
.ar-table-wrap { max-width: 100%; margin: 8px 0; overflow-x: auto; }
.ar-table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: #fff; }
.ar-table th, .ar-table td { padding: 8px 10px; text-align: left; vertical-align: top; border: 1px solid #f0e2d8; }
.ar-table th { color: var(--ar-red); background: #fdf0e6; font-weight: 800; line-height: 1.5; white-space: nowrap; }
.ar-table td small { color: var(--ar-muted); font-size: 12px; }
.ar-table tbody tr:nth-child(even) td { background: #fffaf5; }
.ar-table td:first-child { min-width: 96px; }
.ar-table td:first-child b, .ar-nw { white-space: nowrap; }
.ar-keys td:first-child { width: 30%; line-height: 2; }
.ar-shop td:nth-child(2), .ar-shop td:nth-child(3) { white-space: nowrap; }
.ar-shop tr.is-rare td { background: #fff8e4 !important; }
.ar-shop tr.is-rare td:first-child { border-left: 4px solid var(--ar-gold); }
.ar-price { color: #b8301c; font-size: 16px; font-weight: 900; }

/* ===== 通用卡片格 ===== */
.ar-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 4px; }
.ar-card { padding: 12px 16px 14px; background: #fff; border: 2px solid var(--ar-line); border-left: 6px solid var(--ar-gold); border-radius: var(--radius-md); }
.ar-card h3 { margin: 0 0 2px; color: var(--ar-red); font-size: 18px; }
.ar-card p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.75; }
.ar-card.is-wide { grid-column: span 2; }
.ar-card.is-ride { grid-column: 1 / -1; background: linear-gradient(135deg, #fffaf0, #fff1d4); border-color: #f0c869; border-left-color: #d8901a; }

.ar-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0; }
.ar-rules > div { padding: 12px 14px; background: var(--ml); border: 2px solid var(--mc); border-radius: var(--radius-md); }
.ar-rules b { color: var(--md); font-size: 17px; }
.ar-rules p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.7; }

/* ===== 首领卡 ===== */
.ar-bosses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 14px 0; }
.ar-boss { overflow: hidden; background: #fff; border: 2px solid var(--mc); border-radius: var(--radius-md); box-shadow: 0 8px 18px -12px rgba(90, 30, 10, .55); }
.ar-boss > img { display: block; width: 100%; height: auto; background: #1a0d0a; }
.ar-boss > div { padding: 10px 14px 12px; }
.ar-boss-no { display: inline-block; padding: 0 9px; color: #fff; background: var(--mc); border-radius: 999px; font-size: 11.5px; font-weight: 800; line-height: 19px; }
.ar-boss h3 { margin: 4px 0 2px; color: var(--md); font-size: 17px; }
.ar-boss p { margin: 0; font-size: 13px; line-height: 1.7; }

.ar-affix, .ar-quests, .ar-ranks { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.ar-affix span, .ar-quests span, .ar-ranks span { padding: 5px 12px; background: #fff; border: 1.5px solid var(--ar-line); border-radius: 10px; font-size: 13px; line-height: 1.5; }
.ar-affix b { margin-right: 6px; color: var(--md, var(--ar-red)); }
.ar-quests span { background: #fff8e4; border-color: #f2d58e; font-weight: 700; }
.ar-ranks span { flex: 1 1 130px; text-align: center; color: #5f4d45; }
.ar-ranks b { display: block; font-family: var(--font-title); font-size: 20px; letter-spacing: 2px; }
.ar-ranks .r1 b { color: #7d7468; }
.ar-ranks .r2 b { color: #a86a2c; }
.ar-ranks .r3 b { color: #6f8496; }
.ar-ranks .r4 b { color: #c08a10; }
.ar-ranks .r5 b { color: #b0489f; }
.ar-ranks .r6 b { color: #c2371f; }

/* ===== 小格子：怪、祝福、斗技 ===== */
.ar-mobs, .ar-boons, .ar-talents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.ar-mobs > div, .ar-boons > div, .ar-talents > div { padding: 8px 12px; background: #fff; border: 1.5px solid var(--ar-line); border-radius: 10px; }
.ar-mobs b, .ar-boons b, .ar-talents b { display: block; color: var(--md, var(--ar-red)); font-size: 14.5px; }
.ar-mobs span, .ar-boons span, .ar-talents span { display: block; color: #5f4d45; font-size: 12.5px; line-height: 1.6; }
.ar-mobs .is-boss { background: var(--ml); border-color: var(--mc); }
.ar-talents { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ar-talents > div { padding: 8px 8px; text-align: center; border-top: 4px solid var(--ar-gold); }

.ar-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.ar-pairs > div { padding: 12px 14px; background: var(--ml); border: 2px solid var(--mc); border-left-width: 6px; border-radius: var(--radius-md); }
.ar-pairs h3 { margin: 0; color: var(--md); font-size: 17px; }
.ar-pairs p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.7; }

/* 数字速览 */
.ar-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 12px 0 14px; overflow: hidden; border: 2px solid var(--ar-line); border-radius: var(--radius-md); background: var(--ar-warm); }
.ar-facts > div { padding: 14px 10px; text-align: center; }
.ar-facts > div + div { border-left: 2px solid var(--ar-line); }
.ar-facts strong { display: block; color: var(--ar-red) !important; font-size: 22px; }
.ar-facts span { display: block; color: var(--ar-muted); font-size: 12.5px; line-height: 1.6; }

/* ===== 十二个分支 ===== */
.ar-branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.ar-br { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px 12px; background: #fff; border: 2px solid var(--bc); border-left-width: 6px; border-radius: 12px; }
.ar-br > img { flex: none; width: 56px; height: 56px; image-rendering: pixelated; background: var(--bl); border-radius: 10px; }
.ar-br > div { min-width: 0; }
.ar-br h3 { margin: 0; color: var(--bd); font-size: 17px; }
.ar-br h3 small { margin-left: 8px; padding: 0 9px; color: #fff; background: var(--bc); border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 20px; vertical-align: 2px; white-space: nowrap; }
.ar-br p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.7; }

/* ===== 折叠与常见问题 ===== */
.ar-section details { margin: 8px 0; padding: 0; background: #fff; border: 2px solid var(--ar-line); border-radius: 12px; }
.ar-section summary { padding: 10px 14px; color: var(--ar-red); font-weight: 800; cursor: pointer; }
.ar-section details[open] summary { border-bottom: 1.5px dashed var(--ar-line); }
.ar-section details > p { margin: 0; padding: 8px 14px 12px; }
.ar-fold .ar-boons { margin: 0; padding: 10px; }
.ar-fold { margin: 14px 0 !important; }
.ar-fold > summary { font-size: 15px; }
.ar-fold > .ar-table-wrap { margin: 0; padding: 10px; }

/* ===== 页脚 ===== */
/* styles.css 给 footer 元素配了草地页脚的底色和字体，这里全部改回本页样式 */
.ar-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 22px 0 10px;
  padding: 14px;
  color: var(--ar-ink);
  background: rgba(255, 253, 248, .94);
  border: 2px solid var(--ar-line);
  border-radius: var(--radius-md);
  font: 800 13.5px/1.6 var(--font-body);
  letter-spacing: 0;
  text-shadow: none;
}
.ar-footer a { color: var(--ar-red) !important; }

/* ===== 响应式 ===== */
@media (max-width: 1000px) {
  .ar-hero { flex-direction: column; align-items: stretch; }
  .ar-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ar-card.is-wide { grid-column: 1 / -1; }
  .ar-hero-shot { flex: none; width: 100%; max-width: 640px; margin: 0 auto; }
  .ar-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ar-bosses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ar-talents { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ar-main { width: calc(100% - 32px); padding-top: 14px; }
  .ar-hero { padding: 22px 18px 26px; gap: 16px; border-radius: var(--radius-lg); }
  .ar-hero h1 { letter-spacing: 4px; }
  .ar-lead { font-size: 16px; }
  .ar-section { padding: 18px 16px 20px; border-radius: var(--radius-lg); }
  .ar-section > h2 { font-size: 21px; gap: 10px; }
  .ar-no { width: 34px; height: 34px; font-size: 14px; }
  /* 手机端目录：一行横向滑动（只滑目录本身，页面不出现横向滚动） */
  .ar-toc { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 8px 10px; }
  .ar-toc::-webkit-scrollbar { display: none; }
  .ar-shots2, .ar-split { grid-template-columns: 1fr; }
  .ar-ways { grid-template-columns: 1fr; }
  .ar-cards { grid-template-columns: 1fr; }
  .ar-rules { grid-template-columns: 1fr; }
  .ar-pairs { grid-template-columns: 1fr; }
  .ar-branches { grid-template-columns: 1fr; }
  .ar-mobs, .ar-boons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ar-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ar-facts > div:nth-child(3) { border-left: 0; }
  .ar-facts > div:nth-child(n+3) { border-top: 2px solid var(--ar-line); }
  .ar-table { font-size: 13px; }
  .ar-table th, .ar-table td { padding: 7px 8px; }
  .ar-table td:first-child { min-width: 0; }
  .ar-keys td:first-child { width: 36%; }
  /* 周榜表改为每个榜一张卡 */
  .ar-rank thead { display: none; }
  .ar-rank, .ar-rank tbody, .ar-rank tr, .ar-rank td { display: block; width: 100%; }
  .ar-rank tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 10px; overflow: hidden; border: 2px solid var(--ar-line); border-radius: 12px; }
  .ar-rank td { width: auto; }
  .ar-rank td:first-child, .ar-rank td:nth-child(2) { grid-column: 1 / -1; }
  .ar-rank td { padding: 6px 12px; border: 0; border-top: 1px solid #f5e8de; }
  .ar-rank td:first-child { color: var(--ar-red); background: #fdf0e6 !important; border-top: 0; }
  .ar-rank td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; color: var(--ar-muted); font-size: 12px; font-weight: 800; }
  .ar-rank tbody tr:nth-child(even) td { background: #fff; }
}
@media (max-width: 480px) {
  .ar-hero h1 { font-size: 34px; }
  .ar-modes { grid-template-columns: 1fr; }
  .ar-bosses { grid-template-columns: 1fr; }
  .ar-talents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ar-br > img { width: 48px; height: 48px; }
  .ar-shop td:nth-child(3) { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .ar-mode { transition: none; }
}
