/* Quiz Arena (2026-11-07): a pixel-art dungeon played as a cardboard board
   game. Behind: a dungeon hall painted in pixels (games/arena/ar-art.js).
   In front: OXFY Trivia's cardboard — cocoa ink outlines on everything you
   can touch, a raised piece shows its thickness and sinks when pressed,
   die-cut corners — with pixel miniatures standing on cardboard bases.
   Browser floor: no flex gap, no inset shorthand, no aspect-ratio. */
@font-face { font-family: 'Baloo 2'; src: url(../oxfy/fonts/Baloo2.ttf) format('truetype'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(../oxfy/fonts/Nunito.ttf) format('truetype'); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: 'OXF Pixel'; src: url(../../assets/rpg/oxf-pixel.woff2?v=20261104) format('woff2'); font-display: swap; }

html, body { margin: 0; padding: 0; }
body.ar-body {
  min-height: 100vh;
  background: #1d1724;
  color: #3A2A1F;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
.ar-bg {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 0;
  background-color: #1d1724; background-position: center bottom; background-size: cover; background-repeat: no-repeat;
  image-rendering: -moz-crisp-edges; image-rendering: pixelated;
}
.ar-bg::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: radial-gradient(ellipse at 50% 40%, rgba(12, 9, 16, 0) 30%, rgba(12, 9, 16, .62) 100%); }
.ar * , .ar *::before, .ar *::after { box-sizing: border-box; }
.ar { position: relative; z-index: 1; min-height: 100vh; }
.ar [hidden] { display: none !important; }
.ar-px { font-family: 'OXF Pixel', 'Baloo 2', monospace; font-weight: 400; line-height: 1.1; letter-spacing: 0; }
.ar-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ar-pix { image-rendering: -moz-crisp-edges; image-rendering: pixelated; -ms-interpolation-mode: nearest-neighbor; }

/* ── cardboard ── */
.ar-card {
  background: #FFF8EA;
  border: 3px solid #3A2A1F;
  border-radius: 22px;
  box-shadow: 0 7px 0 #C9A66B, 0 7px 0 3px #3A2A1F, 0 16px 26px rgba(0, 0, 0, .38);
}
.ar-paper { background: #F6E7C8; }
.ar-btn {
  display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  min-height: 48px; margin: 0 10px 10px 0; padding: 0 20px;
  border: 3px solid #3A2A1F; border-radius: 14px;
  background: #F2862E; color: #2a1608;
  font: 800 17px/1.1 'Baloo 2', 'Nunito', sans-serif;
  box-shadow: 0 5px 0 #3A2A1F; cursor: pointer;
  -webkit-transition: -webkit-transform .1s, box-shadow .1s; transition: transform .1s, box-shadow .1s;
  text-decoration: none;
}
.ar-btn:hover { background: #F7974A; }
.ar-btn:active { -webkit-transform: translateY(4px); transform: translateY(4px); box-shadow: 0 1px 0 #3A2A1F; }
.ar-btn:focus { outline: none; }
.ar-btn:focus-visible { outline: 4px solid #2F86C6; outline-offset: 3px; }
.ar-btn[disabled] { opacity: .5; cursor: not-allowed; -webkit-transform: none; transform: none; box-shadow: 0 5px 0 #3A2A1F; }
.ar-btn-paper { background: #FFF8EA; }
.ar-btn-paper:hover { background: #ffffff; }
.ar-btn-sky { background: #9ED8F2; }
.ar-btn-sky:hover { background: #b6e3f6; }
.ar-btn-yellow { background: #FFC83D; }
.ar-btn-s { min-height: 38px; padding: 0 14px; font-size: 15px; border-radius: 11px; box-shadow: 0 4px 0 #3A2A1F; }
.ar-btn-l { min-height: 58px; padding: 0 28px; font-size: 21px; }
.ar-btn .ar-pix { margin-right: 8px; }
.ar-chip {
  display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px;
  border: 2px solid #3A2A1F; border-radius: 999px;
  background: #FFF8EA; color: #3A2A1F;
  font: 800 13px/1.3 'Nunito', sans-serif; white-space: nowrap;
}
.ar-chip-dark { background: #3A2A1F; color: #FFF8EA; }

/* ── the top strip ── */
.ar-top {
  position: relative; z-index: 5;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  max-width: 1240px; margin: 0 auto; padding: 12px 16px 6px;
}
.ar-logo {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; min-width: 0;
  margin: 0; color: #FFE7A8; text-decoration: none; cursor: pointer; border: 0; background: none; padding: 0;
}
.ar-logo-t { font-size: 30px; color: #FFE7A8; text-shadow: 2px 0 #3A2A1F, -2px 0 #3A2A1F, 0 2px #3A2A1F, 0 -2px #3A2A1F, 2px 2px #3A2A1F, -2px 2px #3A2A1F, 2px -2px #3A2A1F, -2px -2px #3A2A1F, 0 5px 0 rgba(0, 0, 0, .5); }
.ar-logo img { width: 40px; height: 40px; margin-right: 10px; }
.ar-tools > * { margin-left: 8px; }
.ar-tools { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.ar-coins { padding: 6px 12px; border: 3px solid #3A2A1F; border-radius: 999px; background: #FFF8EA; font: 800 15px 'Baloo 2', sans-serif; box-shadow: 0 4px 0 #3A2A1F; white-space: nowrap; }
.ar-coins img { width: 18px; height: 18px; vertical-align: -3px; margin-right: 4px; }
.ar-lang { border: 3px solid #3A2A1F; border-radius: 999px; overflow: hidden; display: -webkit-box; display: -webkit-flex; display: flex; box-shadow: 0 4px 0 #3A2A1F; }
.ar-lang button { min-height: 36px; padding: 0 10px; border: 0; background: #FFF8EA; font: 800 13px 'Nunito', sans-serif; color: #3A2A1F; cursor: pointer; }
.ar-lang button[aria-pressed="true"] { background: #FFC83D; }
.ar-icbtn { width: 42px; height: 42px; padding: 0; border: 3px solid #3A2A1F; border-radius: 12px; background: #FFF8EA; box-shadow: 0 4px 0 #3A2A1F; cursor: pointer; }
.ar-icbtn img { width: 24px; height: 24px; display: block; margin: 0 auto; }
.ar-main { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 10px 16px 60px; }

/* ── home ── */
.ar-home { display: block; }
@media (min-width: 900px) {
  .ar-home { display: -ms-grid; display: grid; grid-template-columns: 360px minmax(0, 1fr); grid-gap: 26px; -webkit-box-align: start; align-items: start; }
}
.ar-herocard { position: relative; padding: 18px 18px 20px; margin-bottom: 26px; text-align: center; }
.ar-herocard h2 { margin: 4px 0 2px; font: 800 26px/1.1 'Baloo 2', sans-serif; }
.ar-herostage {
  position: relative; height: 230px; margin: 0 0 12px;
  border: 3px solid #3A2A1F; border-radius: 16px; overflow: hidden;
  background-color: #251e31; background-size: cover; background-position: center bottom;
  image-rendering: -moz-crisp-edges; image-rendering: pixelated;
}
.ar-herostage .ar-hero-svg { position: absolute; left: 50%; bottom: 6px; width: 200px; height: 200px; margin-left: -100px; z-index: 2; }
.ar-herostage .ar-hero-pet { position: absolute; left: 50%; bottom: 10px; width: 72px; height: 72px; margin-left: 52px; z-index: 3; }
.ar-base { position: absolute; left: 50%; bottom: 4px; width: 150px; height: 26px; margin-left: -75px; border: 3px solid #3A2A1F; border-radius: 50%; background: #C9A66B; box-shadow: inset 0 -6px 0 #A9844B; z-index: 1; }
.ar-badges { margin: 6px 0 10px; }
.ar-kyu { border-color: #3A2A1F; }
.ar-kyu.k8, .ar-kyu.k7 { background: #F3EFE6; }
.ar-kyu.k6, .ar-kyu.k5 { background: #FFE27A; }
.ar-kyu.k4, .ar-kyu.k3 { background: #9ED8F2; }
.ar-kyu.k2, .ar-kyu.k1 { background: #D4B8F7; }
.ar-kyu.dan { background: #3A2A1F; color: #FFE27A; }
.ar-picks { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; margin: 4px 0 6px; }
.ar-pick { width: 70px; margin: 0 4px 8px; padding: 4px 0 2px; border: 3px solid #3A2A1F; border-radius: 14px; background: #F6E7C8; cursor: pointer; font: 800 12px 'Nunito', sans-serif; color: #3A2A1F; }
.ar-pick[aria-pressed="true"] { background: #FFC83D; box-shadow: 0 4px 0 #3A2A1F; }
.ar-pick svg { width: 56px; height: 56px; display: block; margin: 0 auto; }
.ar-note { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: #6B5444; }
.ar-modes { display: -ms-grid; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-gap: 22px; }
.ar-mode {
  position: relative; display: block; width: 100%; margin: 0; padding: 0 0 16px;
  text-align: left; cursor: pointer; font: inherit; color: inherit; overflow: hidden;
  -webkit-transition: -webkit-transform .15s cubic-bezier(.34, 1.56, .64, 1); transition: transform .15s cubic-bezier(.34, 1.56, .64, 1);
}
.ar-mode:hover { -webkit-transform: translateY(-4px) rotate(-.4deg); transform: translateY(-4px) rotate(-.4deg); }
.ar-mode:active { -webkit-transform: translateY(3px); transform: translateY(3px); }
.ar-mode:focus { outline: none; }
.ar-mode:focus-visible { outline: 4px solid #2F86C6; outline-offset: 4px; }
.ar-mode[disabled] { cursor: not-allowed; opacity: .6; -webkit-transform: none; transform: none; }
.ar-mode-art { position: relative; height: 150px; border-bottom: 3px solid #3A2A1F; background-color: #2d253a; background-size: cover; background-position: center; image-rendering: pixelated; }
.ar-mode-art img { position: absolute; bottom: 10px; image-rendering: pixelated; }
.ar-mode h3 { margin: 12px 16px 2px; font: 800 24px/1.1 'Baloo 2', sans-serif; }
.ar-mode p { margin: 0 16px 8px; font-size: 14.5px; line-height: 1.45; color: #4f3d31; }
.ar-mode .ar-chip { margin-left: 16px; margin-right: -10px; }
.ar-mode-tag { position: absolute; top: 10px; right: 10px; z-index: 2; }

/* ── section heads ── */
.ar-head { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 6px 0 18px; }
.ar-head h2 { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; margin: 0; color: #FFE7A8; font: 800 32px/1.1 'Baloo 2', sans-serif; text-shadow: 0 3px 0 #3A2A1F, 2px 0 #3A2A1F, -2px 0 #3A2A1F, 0 -2px #3A2A1F; }
.ar-head p { -webkit-flex-basis: 100%; flex-basis: 100%; margin: 4px 0 0; color: #EBDDC4; font-size: 15px; }
.ar-back { margin-right: 14px; }

/* ── decks ── */
.ar-tabs { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 0 18px; }
.ar-tab { min-height: 44px; margin: 0 8px 8px 0; padding: 0 16px; border: 3px solid #3A2A1F; border-radius: 12px; background: #F6E7C8; font: 800 16px 'Baloo 2', sans-serif; color: #3A2A1F; cursor: pointer; }
.ar-tab[aria-selected="true"] { background: #FFC83D; box-shadow: 0 4px 0 #3A2A1F; }
.ar-decks { display: -ms-grid; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-gap: 18px; }
.ar-deck { display: block; width: 100%; padding: 16px 16px 14px; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.ar-deck:hover { background: #ffffff; }
.ar-deck:focus-visible { outline: 4px solid #2F86C6; outline-offset: 3px; }
.ar-deck h3 { margin: 6px 0 4px; font: 800 20px/1.15 'Baloo 2', sans-serif; }
.ar-deck p { margin: 0 0 8px; font-size: 14px; line-height: 1.4; color: #4f3d31; }
.ar-deck-ic { width: 40px; height: 40px; float: right; margin: -2px -2px 0 8px; }

/* ── depth and map ── */
.ar-depths { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.ar-depth { width: 92px; height: 92px; margin: 0 12px 14px 0; border: 3px solid #3A2A1F; border-radius: 18px; background: #F6E7C8; cursor: pointer; font: 800 30px/1 'Baloo 2', sans-serif; color: #3A2A1F; box-shadow: 0 5px 0 #3A2A1F; }
.ar-depth small { display: block; font: 800 11.5px 'Nunito', sans-serif; margin-top: 4px; }
.ar-depth:hover { background: #FFC83D; }
.ar-depth[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.ar-depth.is-best { background: #DDF3E1; }
.ar-depth { height: auto; min-height: 104px; padding: 8px 4px; }
.ar-depth.is-next { background: #FFC83D; }
.ar-depth.is-hard { background: #FBD9C2; }
.ar-depth .ar-courage { color: #A8470B; }
/* what was earned (2026-11-14): EXP and coins counting up, the level bar, a level-up */
.ar-reward { font-size: 15px; color: #3A2A1F; }
.ar-reward-row { display: block; }
.ar-reward-chip { display: inline-block; margin: 0 8px 8px 0; padding: 5px 12px 5px 8px; border: 3px solid #3A2A1F; border-radius: 999px; background: #FFF8EA; font-weight: 800; vertical-align: middle; }
.ar-reward-chip .ar-pix { margin-right: 4px; vertical-align: -4px; }
.ar-reward-chip b { font: 800 20px/1 'Baloo 2', sans-serif; }
.ar-reward-chip.is-coin { background: #FFE9A8; }
.ar-reward-chip.is-exp { background: #DDEBFF; }
.ar-reward-lv { display: block; max-width: 420px; }
.ar-reward-lv b { display: block; font: 800 16px/1.2 'Baloo 2', sans-serif; }
.ar-reward-lv small { display: block; font-weight: 700; color: #6B5444; }
.ar-reward-bar { display: block; height: 18px; margin: 4px 0; }
.ar-gauge.ar-reward-bar i { background: #3B7FD0; -webkit-transition: width .75s cubic-bezier(.22, 1, .36, 1); transition: width .75s cubic-bezier(.22, 1, .36, 1); }
.ar-levelup { display: block; margin: 2px 0 10px; padding: 10px 14px; border: 3px solid #3A2A1F; border-radius: 14px; background: #FFC83D; box-shadow: 0 4px 0 #3A2A1F; -webkit-animation: ar-rise .9s ease-out both; animation: ar-rise .9s ease-out both; }
.ar-levelup b { display: block; font-size: 20px; color: #3A2A1F; }
.ar-levelup span { display: block; margin-top: 2px; font-weight: 800; }
.ar-coins.is-up { -webkit-animation: ar-coinup .6s ease-out; animation: ar-coinup .6s ease-out; }
@keyframes ar-coinup { 40% { -webkit-transform: scale(1.18); transform: scale(1.18); background: #FFE08A; } }
@media (prefers-reduced-motion: reduce) { .ar-levelup, .ar-coins.is-up { -webkit-animation: none; animation: none; } .ar-reward-bar i { -webkit-transition: none; transition: none; } }
/* going on (2026-11-14): depths cleared with this deck, the step up, Continue */
.ar-depth .ar-mine { color: #1E6B3A; }
.ar-depth.is-mine { border-color: #1E6B3A; box-shadow: 0 5px 0 #1E6B3A; }
.ar-chip-done { background: #DDF3E1; border-color: #1E6B3A; color: #14522B; }
.ar-deck-next { margin: 8px 0 0; font: 800 12.5px/1.3 'Nunito', sans-serif; color: #6b5645; }
.ar-offer { margin-top: 14px; padding: 12px 14px; border: 3px solid #3A2A1F; border-radius: 14px; background: #FFF3C4; color: #3A2A1F; font-weight: 700; line-height: 1.45; }
.ar-acts .ar-btn { margin: 0 10px 10px 0; }
.ar-continue { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; width: 100%; margin: 0 0 18px; padding: 12px 16px; text-align: left; cursor: pointer; background: #FFC83D; color: #3A2A1F; font-family: 'Nunito', sans-serif; }
.ar-continue:hover { background: #FFD666; }
.ar-continue:focus-visible { outline: 4px solid #2F86C6; outline-offset: 4px; }
.ar-continue-ic { -webkit-flex: 0 0 auto; flex: 0 0 auto; width: 44px; height: 44px; margin-right: 12px; border: 3px solid #3A2A1F; border-radius: 12px; background: #FFF8EA; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; }
.ar-continue-t { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; }
.ar-continue-t b { display: block; font: 800 20px/1.15 'Baloo 2', sans-serif; }
.ar-continue-t span { display: block; font-weight: 800; font-size: 14px; }
.ar-continue-go { -webkit-flex: 0 0 auto; flex: 0 0 auto; font-size: 22px; margin-left: 10px; }
/* mastery: what the hero has done */
.ar-mastery { margin: 10px 0 4px; padding: 10px 12px; border: 3px solid #3A2A1F; border-radius: 14px; background: #FFF8EA; text-align: left; }
.ar-mastery summary { cursor: pointer; font: 800 16px 'Baloo 2', sans-serif; color: #3A2A1F; min-height: 28px; }
.ar-mastery .ar-gauge { margin: 8px 0; }
.ar-mastery ul { margin: 6px 0; padding-left: 20px; font: 700 14px/1.5 'Nunito', sans-serif; color: #3A2A1F; }
.ar-run { display: block; }
@media (min-width: 980px) { .ar-run { display: -ms-grid; display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-gap: 22px; -webkit-box-align: start; align-items: start; } }
.ar-map { position: relative; padding: 18px 10px; overflow-x: auto; }
.ar-map svg.ar-paths { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.ar-map-rows { position: relative; }
.ar-map-row { position: relative; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; height: 86px; }
.ar-node { position: relative; width: 64px; height: 64px; margin: 0 22px; border: 3px solid #3A2A1F; border-radius: 50%; background: #F6E7C8; cursor: pointer; padding: 0; box-shadow: 0 5px 0 #3A2A1F; }
.ar-node img { width: 44px; height: 44px; display: block; margin: 0 auto; }
.ar-node[disabled] { cursor: default; opacity: .55; box-shadow: none; }
.ar-node.is-done { background: #C9A66B; opacity: .75; }
.ar-node.is-here { background: #FFC83D; }
.ar-node.is-open { background: #FFF8EA; -webkit-animation: ar-bob 1.2s ease-in-out infinite; animation: ar-bob 1.2s ease-in-out infinite; }
.ar-node.is-open:focus-visible { outline: 4px solid #2F86C6; outline-offset: 3px; }
.ar-node-l { position: absolute; left: 50%; top: 100%; margin: 3px 0 0 -50px; width: 100px; text-align: center; font: 800 12px 'Nunito', sans-serif; color: #3A2A1F; }
@-webkit-keyframes ar-bob { 50% { -webkit-transform: translateY(-4px); transform: translateY(-4px); } }
@keyframes ar-bob { 50% { -webkit-transform: translateY(-4px); transform: translateY(-4px); } }
.ar-side { padding: 16px; }
.ar-side h3 { margin: 0 0 8px; font: 800 20px 'Baloo 2', sans-serif; }
.ar-gauge { position: relative; height: 22px; margin: 4px 0 10px; border: 3px solid #3A2A1F; border-radius: 8px; background: #3a2a21; overflow: hidden; }
.ar-gauge i { position: absolute; top: 0; left: 0; bottom: 0; background: #D8402E; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .3), inset 0 -3px 0 rgba(0, 0, 0, .2); -webkit-transition: width .4s; transition: width .4s; }
.ar-gauge b { position: relative; display: block; text-align: center; font: 800 13px/16px 'Nunito', sans-serif; color: #fff; text-shadow: 0 1px 0 #3A2A1F, 1px 0 #3A2A1F, -1px 0 #3A2A1F, 0 -1px #3A2A1F; }
.ar-gauge.is-mana i { background: #3B7FD0; }
.ar-gauge.is-shield i { background: #9AA6B6; }
.ar-charms { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.ar-charm { width: 44px; height: 44px; margin: 0 6px 6px 0; border: 3px solid #3A2A1F; border-radius: 10px; background: #F6E7C8; }
.ar-charm img { width: 32px; height: 32px; display: block; margin: 3px auto; }

/* ── the battle ── */
.ar-battle { display: block; }
.ar-stage {
  position: relative; height: 380px; max-height: 50vh; min-height: 280px;
  border: 3px solid #3A2A1F; border-radius: 22px; overflow: hidden;
  background-color: #251e31; background-size: cover; background-position: center bottom;
  image-rendering: -moz-crisp-edges; image-rendering: pixelated;
  box-shadow: 0 7px 0 #C9A66B, 0 7px 0 3px #3A2A1F, 0 16px 26px rgba(0, 0, 0, .38);
}
.ar-unit { position: absolute; bottom: 12%; width: 200px; height: 220px; z-index: 2; }
.ar-unit.is-hero { left: 9%; }
.ar-unit.is-foe { right: 8%; }
.ar-unit .ar-base { width: 140px; margin-left: -70px; bottom: 0; }
.ar-sprite { position: absolute; left: 50%; bottom: 14px; z-index: 2; -webkit-transform-origin: 50% 100%; transform-origin: 50% 100%; }
.is-hero .ar-sprite { width: 180px; height: 180px; margin-left: -90px; }
.is-foe .ar-sprite { width: 170px; height: 170px; margin-left: -85px; }
.is-foe.is-boss .ar-sprite { width: 220px; height: 220px; margin-left: -110px; }
.ar-sprite img, .ar-sprite svg { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.ar-petmini { position: absolute; left: -24px; bottom: 6px; width: 72px; height: 72px; z-index: 3; }
.ar-petmini svg, .ar-petmini img { width: 100%; height: 100%; image-rendering: pixelated; }
.ar-petmini.is-ready { -webkit-animation: ar-bob .8s ease-in-out infinite; animation: ar-bob .8s ease-in-out infinite; }
.ar-idle { -webkit-animation: ar-breathe 2.4s ease-in-out infinite; animation: ar-breathe 2.4s ease-in-out infinite; }
@-webkit-keyframes ar-breathe { 50% { -webkit-transform: scaleY(1.025) translateY(-2px); transform: scaleY(1.025) translateY(-2px); } }
@keyframes ar-breathe { 50% { -webkit-transform: scaleY(1.025) translateY(-2px); transform: scaleY(1.025) translateY(-2px); } }
.ar-lunge-r { -webkit-animation: ar-lunge-r .42s ease-out; animation: ar-lunge-r .42s ease-out; }
.ar-lunge-l { -webkit-animation: ar-lunge-l .42s ease-out; animation: ar-lunge-l .42s ease-out; }
@-webkit-keyframes ar-lunge-r { 40% { -webkit-transform: translateX(70px) rotate(4deg); transform: translateX(70px) rotate(4deg); } }
@keyframes ar-lunge-r { 40% { -webkit-transform: translateX(70px) rotate(4deg); transform: translateX(70px) rotate(4deg); } }
@-webkit-keyframes ar-lunge-l { 40% { -webkit-transform: translateX(-70px) rotate(-4deg); transform: translateX(-70px) rotate(-4deg); } }
@keyframes ar-lunge-l { 40% { -webkit-transform: translateX(-70px) rotate(-4deg); transform: translateX(-70px) rotate(-4deg); } }
.ar-hurt { -webkit-animation: ar-hurt .42s linear; animation: ar-hurt .42s linear; }
@-webkit-keyframes ar-hurt { 0%, 100% { -webkit-transform: none; transform: none; opacity: 1; } 20% { -webkit-transform: translateX(-8px); transform: translateX(-8px); opacity: .5; } 40% { -webkit-transform: translateX(8px); transform: translateX(8px); opacity: 1; } 60% { -webkit-transform: translateX(-5px); transform: translateX(-5px); opacity: .6; } }
@keyframes ar-hurt { 0%, 100% { -webkit-transform: none; transform: none; opacity: 1; } 20% { -webkit-transform: translateX(-8px); transform: translateX(-8px); opacity: .5; } 40% { -webkit-transform: translateX(8px); transform: translateX(8px); opacity: 1; } 60% { -webkit-transform: translateX(-5px); transform: translateX(-5px); opacity: .6; } }
.ar-down { -webkit-transition: -webkit-transform .6s, opacity .6s; transition: transform .6s, opacity .6s; -webkit-transform: translateY(30px) scale(.8) rotate(-12deg); transform: translateY(30px) scale(.8) rotate(-12deg); opacity: 0; }
.ar-plate {
  position: absolute; top: 12px; z-index: 4; width: 46%; max-width: 330px; padding: 8px 10px 6px;
  background: #FFF8EA; border: 3px solid #3A2A1F; border-radius: 14px; box-shadow: 0 4px 0 #3A2A1F;
}
.ar-plate.is-hero { left: 12px; }
.ar-plate.is-foe { right: 12px; }
.ar-plate-n { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: baseline; -webkit-align-items: baseline; align-items: baseline; font: 800 16px/1.1 'Baloo 2', sans-serif; }
.ar-plate-n b { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-plate-n span { font: 800 12px 'Nunito', sans-serif; color: #6B5444; margin-left: 6px; white-space: nowrap; }
.ar-plate .ar-gauge { height: 18px; margin: 4px 0 4px; }
.ar-plate .ar-gauge b { line-height: 12px; font-size: 11.5px; }
.ar-pips { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; min-height: 18px; }
.ar-pip { width: 14px; height: 14px; margin: 0 3px 0 0; border: 2px solid #3A2A1F; border-radius: 4px; background: #e8dcc5; }
.ar-pip.is-on { background: #3B7FD0; }
.ar-pip.is-pet { border-radius: 50%; }
.ar-pip.is-pet.is-on { background: #F2862E; }
.ar-pips-l { font: 800 11px 'Nunito', sans-serif; color: #6B5444; margin-right: 5px; }
.ar-st { display: inline-block; margin: 0 4px 0 0; padding: 0 6px; border: 2px solid #3A2A1F; border-radius: 6px; font: 800 11px/16px 'Nunito', sans-serif; background: #F6E7C8; }
.ar-st.burn { background: #FFB27A; } .ar-st.poison { background: #B9E58A; } .ar-st.freeze { background: #BDE6FF; } .ar-st.stun { background: #FFE27A; }
.ar-st.weak { background: #E2C9F5; } .ar-st.haste { background: #FFF2A8; } .ar-st.shield { background: #D5DCE6; } .ar-st.el { background: #3A2A1F; color: #FFF8EA; }
.ar-intent {
  position: absolute; right: 12%; bottom: calc(12% + 228px); z-index: 4;
  padding: 6px 12px 6px 8px; background: #FFF8EA; border: 3px solid #3A2A1F; border-radius: 14px; box-shadow: 0 4px 0 #3A2A1F;
  font: 800 16px/1.1 'Baloo 2', sans-serif; white-space: nowrap;
}
.ar-intent::after { content: ""; position: absolute; left: 50%; bottom: -12px; margin-left: -8px; border: 8px solid transparent; border-top-color: #3A2A1F; border-bottom: 0; }
.ar-intent img { width: 24px; height: 24px; vertical-align: -6px; margin-right: 6px; }
.ar-intent small { display: block; font: 700 11.5px 'Nunito', sans-serif; color: #6B5444; }
.ar-float { position: absolute; z-index: 6; pointer-events: none; font-size: 30px; color: #FFE7A8; text-shadow: 2px 0 #3A2A1F, -2px 0 #3A2A1F, 0 2px #3A2A1F, 0 -2px #3A2A1F, 2px 2px #3A2A1F, -2px -2px #3A2A1F, 2px -2px #3A2A1F, -2px 2px #3A2A1F; -webkit-animation: ar-rise 1.1s ease-out forwards; animation: ar-rise 1.1s ease-out forwards; }
.ar-float.is-crit { font-size: 42px; color: #FFB53B; }
.ar-float.is-heal { color: #9BEFA8; }
.ar-float.is-miss { color: #E8DCC5; font-size: 24px; }
.ar-float.is-word { font-size: 22px; color: #9ED8F2; }
@-webkit-keyframes ar-rise { 0% { -webkit-transform: translateY(10px) scale(.6); transform: translateY(10px) scale(.6); opacity: 0; } 18% { -webkit-transform: translateY(0) scale(1.15); transform: translateY(0) scale(1.15); opacity: 1; } 100% { -webkit-transform: translateY(-60px) scale(1); transform: translateY(-60px) scale(1); opacity: 0; } }
@keyframes ar-rise { 0% { -webkit-transform: translateY(10px) scale(.6); transform: translateY(10px) scale(.6); opacity: 0; } 18% { -webkit-transform: translateY(0) scale(1.15); transform: translateY(0) scale(1.15); opacity: 1; } 100% { -webkit-transform: translateY(-60px) scale(1); transform: translateY(-60px) scale(1); opacity: 0; } }
.ar-fx { position: absolute; z-index: 5; pointer-events: none; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; -webkit-animation: ar-burst .5s ease-out forwards; animation: ar-burst .5s ease-out forwards; }
.ar-fx.fire { background: radial-gradient(circle, #fff6c0 0, #ffb347 35%, rgba(228, 90, 0, 0) 70%); }
.ar-fx.water { background: radial-gradient(circle, #f0fcff 0, #47b2ea 38%, rgba(26, 126, 192, 0) 70%); }
.ar-fx.nature { background: radial-gradient(circle, #eaffc0 0, #5cbf3e 38%, rgba(46, 138, 44, 0) 70%); }
.ar-fx.light { background: radial-gradient(circle, #ffffff 0, #ffe46a 38%, rgba(232, 194, 31, 0) 70%); }
.ar-fx.shadow { background: radial-gradient(circle, #c79aff 0, #62309a 40%, rgba(60, 24, 102, 0) 70%); }
.ar-fx.hit { background: radial-gradient(circle, #ffffff 0, #FFE7A8 30%, rgba(255, 231, 168, 0) 66%); }
@-webkit-keyframes ar-burst { 0% { -webkit-transform: scale(.2); transform: scale(.2); opacity: 1; } 100% { -webkit-transform: scale(1.6); transform: scale(1.6); opacity: 0; } }
@keyframes ar-burst { 0% { -webkit-transform: scale(.2); transform: scale(.2); opacity: 1; } 100% { -webkit-transform: scale(1.6); transform: scale(1.6); opacity: 0; } }
.ar-log { min-height: 26px; margin: 14px 4px 10px; color: #FFE7A8; font: 800 17px/1.3 'Baloo 2', sans-serif; text-shadow: 0 2px 0 #3A2A1F; }
.ar-hand { display: -webkit-box; display: -webkit-flex; display: flex; padding: 6px 2px 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ar-act {
  position: relative; -webkit-flex-shrink: 0; flex-shrink: 0; width: 132px; min-height: 158px; margin: 0 12px 0 0; padding: 10px 10px 10px;
  border: 3px solid #3A2A1F; border-radius: 16px; background: #FFF8EA; cursor: pointer; text-align: center; color: #3A2A1F;
  box-shadow: 0 6px 0 #C9A66B, 0 6px 0 3px #3A2A1F;
  -webkit-transition: -webkit-transform .12s; transition: transform .12s; font: inherit;
}
.ar-act:hover { -webkit-transform: translateY(-6px); transform: translateY(-6px); }
.ar-act:active { -webkit-transform: translateY(2px); transform: translateY(2px); }
.ar-act:focus { outline: none; }
.ar-act:focus-visible { outline: 4px solid #2F86C6; outline-offset: 3px; }
.ar-act[disabled] { opacity: .45; cursor: not-allowed; -webkit-transform: none; transform: none; }
.ar-act img { width: 52px; height: 52px; display: block; margin: 0 auto 4px; image-rendering: pixelated; }
.ar-act b { display: block; font: 800 16px/1.1 'Baloo 2', sans-serif; }
.ar-act small { display: block; margin-top: 3px; font: 700 12px/1.25 'Nunito', sans-serif; color: #6B5444; }
.ar-act-k { position: absolute; top: 6px; left: 8px; font: 800 11px 'Nunito', sans-serif; color: #A28F70; }
.ar-act.is-quick { background: #DDF3E1; } .ar-act.is-strong { background: #FFF2C4; } .ar-act.is-mighty { background: #FBDDD6; }
.ar-act.is-spell { background: #E6DBFA; } .ar-act.is-guard { background: #DCEBF7; } .ar-act.is-pet { background: #FFE3C8; }
.ar-cost { position: absolute; top: 6px; right: 8px; min-width: 24px; height: 24px; padding: 0 5px; border: 2px solid #3A2A1F; border-radius: 12px; background: #3B7FD0; color: #fff; font: 800 13px/20px 'Nunito', sans-serif; }

/* ── the question card (OXFY's) ── */
.ar-qwrap { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0 12px 14px; pointer-events: none; }
.ar-q { max-width: 860px; margin: 0 auto; pointer-events: auto; overflow: hidden; -webkit-animation: ar-deal .34s cubic-bezier(.34, 1.56, .64, 1); animation: ar-deal .34s cubic-bezier(.34, 1.56, .64, 1); }
@-webkit-keyframes ar-deal { 0% { -webkit-transform: translateY(120%) rotate(3deg); transform: translateY(120%) rotate(3deg); } }
@keyframes ar-deal { 0% { -webkit-transform: translateY(120%) rotate(3deg); transform: translateY(120%) rotate(3deg); } }
.ar-qhead { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; padding: 8px 14px; background: #9ED8F2; border-bottom: 3px solid #3A2A1F; }
.ar-qhead .ar-chip { margin-bottom: 0; }
.ar-qtimer { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; height: 14px; margin: 0 10px; border: 3px solid #3A2A1F; border-radius: 8px; background: #FFF8EA; overflow: hidden; }
.ar-qtimer i { display: block; height: 100%; background: #F2862E; -webkit-transform-origin: 0 50%; transform-origin: 0 50%; }
.ar-qbody { padding: 14px 16px 16px; }
.ar-qtext { margin: 0 0 12px; font: 700 23px/1.3 'Baloo 2', sans-serif; }
.ar-code { margin: 0 0 12px; padding: 10px 12px; border: 3px solid #3A2A1F; border-radius: 12px; background: #1F2430; color: #E8EEF6; font: 600 15px/1.5 ui-monospace, 'Cascadia Mono', Consolas, monospace; white-space: pre; overflow-x: auto; -moz-tab-size: 4; tab-size: 4; }
.ar-code .ln { display: inline-block; width: 26px; margin-right: 10px; color: #7F8BA0; text-align: right; -webkit-user-select: none; user-select: none; }
.ar-code .kw { color: #FFB27A; } .ar-code .str { color: #9BE58A; } .ar-code .num { color: #FFE27A; } .ar-code .fn { color: #8FD0FF; } .ar-code .cm { color: #8C98AC; }
.ar-answers { display: -ms-grid; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 12px; }
@media (max-width: 560px) { .ar-answers { grid-template-columns: minmax(0, 1fr); grid-gap: 9px; } .ar-qtext { font-size: 19px; } }
.ar-ans {
  display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  min-height: 58px; padding: 8px 12px 8px 8px; border: 3px solid #3A2A1F; border-radius: 14px; background: #FFF8EA;
  font: 800 18px/1.2 'Nunito', sans-serif; color: #3A2A1F; text-align: left; cursor: pointer; box-shadow: 0 5px 0 #3A2A1F;
  -webkit-transition: -webkit-transform .1s; transition: transform .1s;
}
.ar-ans:hover { background: #ffffff; }
.ar-ans:active { -webkit-transform: translateY(4px); transform: translateY(4px); box-shadow: 0 1px 0 #3A2A1F; }
.ar-ans:focus { outline: none; }
.ar-ans:focus-visible { outline: 4px solid #2F86C6; outline-offset: 3px; }
.ar-ans[disabled] { cursor: default; }
.ar-ans .ar-shape { -webkit-flex-shrink: 0; flex-shrink: 0; width: 40px; height: 40px; margin-right: 12px; }
.ar-ans .ar-shape svg { display: block; width: 40px; height: 40px; }
.ar-ans-t { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.ar-ans.is-right { background: #DDF3E1; }
.ar-ans.is-wrong { background: #FBDDD6; }
.ar-ans.is-dim { opacity: .5; }
.ar-qfoot { margin: 12px 0 0; font: 700 15px/1.45 'Nunito', sans-serif; }
.ar-qfoot.is-right { color: #1F6E3E; } .ar-qfoot.is-wrong { color: #A3203D; }

/* ── the strike meter and the parry ring ── */
.ar-meter { position: relative; max-width: 560px; height: 46px; margin: 10px auto 4px; border: 3px solid #3A2A1F; border-radius: 12px; overflow: hidden; background: #FBDDD6; }
.ar-meter span { position: absolute; top: 0; bottom: 0; }
.ar-meter .z-hit { background: #F6E7C8; }
.ar-meter .z-good { background: #FFC83D; }
.ar-meter .z-crit { background: #F2862E; border-left: 2px solid #3A2A1F; border-right: 2px solid #3A2A1F; }
.ar-meter-c { position: absolute; top: -3px; bottom: -3px; width: 8px; margin-left: -4px; background: #3A2A1F; border: 2px solid #FFF8EA; border-radius: 3px; z-index: 2; }
.ar-meter-l { text-align: center; color: #FFE7A8; font: 800 16px 'Baloo 2', sans-serif; text-shadow: 0 2px 0 #3A2A1F; }
.ar-ring { position: absolute; z-index: 7; width: 210px; height: 210px; margin: -105px 0 0 -105px; border-radius: 50%; border: 6px solid #FFE7A8; box-shadow: 0 0 0 3px #3A2A1F, inset 0 0 0 3px #3A2A1F; pointer-events: none; }
.ar-ring-in { position: absolute; z-index: 7; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 6px dashed #9BEFA8; pointer-events: none; }
.ar-parry { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 8; text-align: center; }

/* ── results, panels, modals ── */
.ar-panel { max-width: 760px; margin: 0 auto 20px; padding: 22px; }
.ar-panel h2 { margin: 0 0 8px; font: 800 30px/1.1 'Baloo 2', sans-serif; }
.ar-panel h3 { margin: 18px 0 8px; font: 800 20px 'Baloo 2', sans-serif; }
.ar-panel p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.5; }
.ar-stats { display: -ms-grid; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); grid-gap: 10px; margin: 12px 0; }
.ar-stat { padding: 10px 12px; border: 3px solid #3A2A1F; border-radius: 14px; background: #F6E7C8; }
.ar-stat b { display: block; font: 800 26px/1 'Baloo 2', sans-serif; }
.ar-stat span { font: 700 13px 'Nunito', sans-serif; color: #6B5444; }
.ar-miss { margin: 0; padding: 0; list-style: none; }
.ar-miss li { padding: 8px 0; border-top: 2px dashed #C9A66B; font-size: 15px; line-height: 1.4; }
.ar-miss li b { color: #1F6E3E; }
.ar-modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 40; overflow-y: auto; padding: 16px; background: rgba(18, 12, 8, .72); }
.ar-modal > .ar-card { max-width: 560px; margin: 8vh auto 20px; padding: 20px; }
.ar-modal h2 { margin: 0 0 8px; font: 800 26px 'Baloo 2', sans-serif; }
.ar-modal img.ar-big { display: block; width: 128px; height: 128px; margin: 0 auto 8px; image-rendering: pixelated; }
.ar-offers { display: -ms-grid; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-gap: 12px; margin: 10px 0; }
.ar-offer { padding: 10px; border: 3px solid #3A2A1F; border-radius: 14px; background: #F6E7C8; text-align: center; cursor: pointer; font: inherit; color: inherit; }
.ar-offer:hover { background: #FFC83D; }
.ar-offer[disabled] { opacity: .5; cursor: not-allowed; }
.ar-offer img { width: 48px; height: 48px; display: block; margin: 0 auto 4px; image-rendering: pixelated; }
.ar-offer b { display: block; font: 800 15px 'Baloo 2', sans-serif; }
.ar-offer small { display: block; font-size: 12.5px; color: #6B5444; line-height: 1.3; }
.ar-toast { position: fixed; left: 50%; top: 18px; z-index: 60; max-width: 90vw; margin-left: -45vw; width: 90vw; text-align: center; pointer-events: none; }
.ar-toast span { display: inline-block; padding: 10px 16px; border: 3px solid #3A2A1F; border-radius: 14px; background: #FFF8EA; font: 800 16px 'Baloo 2', sans-serif; box-shadow: 0 5px 0 #3A2A1F; }

/* ── the dojo ── */
.ar-dojo-top { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; -webkit-align-items: center; align-items: center; padding: 14px 16px; margin-bottom: 18px; }
.ar-dojo-top .ar-rank { -webkit-box-flex: 1; -webkit-flex: 1 1 260px; flex: 1 1 260px; }
.ar-rank > b { font: 800 26px 'Baloo 2', sans-serif; }
.ar-rank .ar-gauge { height: 26px; }
.ar-rank .ar-gauge b { line-height: 20px; }
.ar-katas { display: -ms-grid; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-gap: 16px; }
.ar-kata { display: block; width: 100%; padding: 14px 14px 10px; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.ar-kata:hover { background: #ffffff; }
.ar-kata h3 { margin: 6px 0 4px; font: 800 19px/1.15 'Baloo 2', sans-serif; }
.ar-kata p { margin: 0 0 6px; font-size: 13.5px; color: #4f3d31; line-height: 1.4; }
.ar-kata.is-done { background: #EAF6EC; }
.ar-train { display: block; }
@media (min-width: 1000px) { .ar-train { display: -ms-grid; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-gap: 18px; -webkit-box-align: start; align-items: start; } }
.ar-desc { padding: 18px; margin-bottom: 18px; }
.ar-desc h2 { margin: 6px 0 8px; font: 800 26px 'Baloo 2', sans-serif; }
.ar-desc p { font-size: 16px; line-height: 1.55; margin: 0 0 10px; }
.ar-desc code, .ar-results code { font: 600 14px ui-monospace, Consolas, monospace; background: #F6E7C8; padding: 1px 5px; border-radius: 5px; border: 1px solid #C9A66B; }
.ar-edit { padding: 0; overflow: hidden; margin-bottom: 18px; }
.ar-edit-bar { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; -webkit-align-items: center; align-items: center; padding: 10px 12px 0; background: #F6E7C8; border-bottom: 3px solid #3A2A1F; }
.ar-editor { position: relative; display: -webkit-box; display: -webkit-flex; display: flex; background: #1F2430; }
.ar-gutter { -webkit-flex-shrink: 0; flex-shrink: 0; width: 44px; padding: 12px 8px 12px 0; color: #7F8BA0; text-align: right; font: 600 15px/1.55 ui-monospace, 'Cascadia Mono', Consolas, monospace; white-space: pre; -webkit-user-select: none; user-select: none; overflow: hidden; }
.ar-ta {
  -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; min-height: 320px; margin: 0; padding: 12px 12px 12px 8px; border: 0; resize: vertical;
  background: #1F2430; color: #E8EEF6; caret-color: #FFC83D; font: 600 15px/1.55 ui-monospace, 'Cascadia Mono', Consolas, monospace; white-space: pre; overflow-wrap: normal; overflow-x: auto; -moz-tab-size: 4; tab-size: 4;
}
.ar-ta:focus { outline: 3px solid #FFC83D; outline-offset: -3px; }
.ar-results { padding: 14px 16px; max-height: 420px; overflow-y: auto; }
.ar-results h3 { margin: 0 0 8px; font: 800 19px 'Baloo 2', sans-serif; }
.ar-tr { padding: 8px 10px; margin-bottom: 8px; border: 2px solid #3A2A1F; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.ar-tr.is-ok { background: #DDF3E1; } .ar-tr.is-no { background: #FBDDD6; }
.ar-tr pre { margin: 4px 0 0; white-space: pre-wrap; font: 600 13px ui-monospace, Consolas, monospace; }
.ar-sol pre { margin: 6px 0 12px; }

/* ── the arena ladder ── */
.ar-league { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; padding: 16px; margin-bottom: 18px; }
.ar-league-b { width: 84px; height: 84px; margin-right: 16px; border: 3px solid #3A2A1F; border-radius: 22px; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; font-size: 30px; color: #3A2A1F; box-shadow: 0 5px 0 #3A2A1F; }
.ar-foes { display: -ms-grid; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-gap: 16px; }
.ar-foecard { padding: 12px 12px 14px; text-align: center; }
.ar-foecard .ar-fpic { position: relative; height: 150px; margin-bottom: 8px; border: 3px solid #3A2A1F; border-radius: 14px; background-color: #251e31; background-size: cover; background-position: center bottom; image-rendering: pixelated; overflow: hidden; }
.ar-foecard .ar-fpic svg { position: absolute; left: 50%; bottom: 4px; width: 140px; height: 140px; margin-left: -70px; }
.ar-foecard h3 { margin: 2px 0 4px; font: 800 19px 'Baloo 2', sans-serif; }

/* ── the live raid ── */
.ar-pin { text-align: center; padding: 18px; margin-bottom: 18px; }
.ar-pin-code { font: 800 64px/1 'Baloo 2', sans-serif; letter-spacing: 10px; }
.ar-party { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; }
.ar-member { width: 96px; margin: 0 6px 10px; text-align: center; font: 800 13px 'Nunito', sans-serif; color: #FFE7A8; text-shadow: 0 2px 0 #3A2A1F; }
.ar-member svg, .ar-member img { width: 80px; height: 80px; display: block; margin: 0 auto; image-rendering: pixelated; }
.ar-member.is-down { opacity: .45; }
.ar-member.is-hit { -webkit-animation: ar-hurt .42s linear; animation: ar-hurt .42s linear; }
.ar-raid-boss { position: relative; height: 300px; border: 3px solid #3A2A1F; border-radius: 22px; overflow: hidden; background-size: cover; background-position: center bottom; image-rendering: pixelated; box-shadow: 0 7px 0 #C9A66B, 0 7px 0 3px #3A2A1F; }
.ar-raid-boss .ar-sprite { width: 240px; height: 240px; margin-left: -120px; bottom: 10px; }
.ar-tally { display: -ms-grid; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-gap: 10px; margin: 12px 0; }
.ar-tally div { padding: 8px; border: 3px solid #3A2A1F; border-radius: 12px; background: #FFF8EA; text-align: center; font: 800 22px 'Baloo 2', sans-serif; }
.ar-play { max-width: 620px; margin: 0 auto; }
.ar-bigans { display: -ms-grid; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 12px; }
.ar-bigans .ar-ans { min-height: 110px; -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; text-align: center; font-size: 17px; }
.ar-bigans .ar-ans .ar-shape { margin: 0 0 6px; width: 54px; height: 54px; }
.ar-bigans .ar-ans .ar-shape svg { width: 54px; height: 54px; }
.ar-rows { margin: 0; padding: 0; list-style: none; }
.ar-rows li { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; padding: 8px 4px; border-top: 2px dashed #C9A66B; font: 700 15px 'Nunito', sans-serif; }
.ar-rows li b { -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; margin-left: 8px; }
.ar-form label { display: block; margin: 0 0 10px; font: 800 14px 'Nunito', sans-serif; }
.ar-in { display: block; width: 100%; min-height: 46px; margin-top: 4px; padding: 8px 12px; border: 3px solid #3A2A1F; border-radius: 12px; background: #FFF8EA; color: #3A2A1F; font: 700 16px 'Nunito', sans-serif; }
.ar-in::placeholder { color: #75604D; }
.ar-in:focus { outline: 4px solid #2F86C6; outline-offset: 1px; }
textarea.ar-in { min-height: 90px; resize: vertical; }

@media (max-width: 640px) {
  .ar-logo-t { font-size: 22px; }
  .ar-logo img { width: 30px; height: 30px; }
  .ar-stage { height: 300px; }
  .ar-unit { width: 150px; height: 170px; bottom: 10%; }
  .ar-unit.is-hero { left: 2%; } .ar-unit.is-foe { right: 2%; }
  .is-hero .ar-sprite { width: 132px; height: 132px; margin-left: -66px; }
  .is-foe .ar-sprite { width: 124px; height: 124px; margin-left: -62px; }
  .is-foe.is-boss .ar-sprite { width: 150px; height: 150px; margin-left: -75px; }
  .ar-unit .ar-base { width: 104px; margin-left: -52px; height: 20px; }
  .ar-petmini { width: 52px; height: 52px; left: -10px; }
  .ar-plate { width: 48%; padding: 6px 8px 4px; }
  .ar-plate-n { font-size: 14px; }
  .ar-intent { right: 4%; bottom: calc(10% + 162px); font-size: 14px; }
  .ar-act { width: 112px; min-height: 140px; }
  .ar-act img { width: 42px; height: 42px; }
  .ar-head h2 { font-size: 26px; }
  .ar-node { margin: 0 10px; width: 56px; height: 56px; }
  .ar-node img { width: 38px; height: 38px; }
  .ar-pin-code { font-size: 46px; letter-spacing: 6px; }
}
/* ── refinements (2026-11-07 review) ── */
/* the four doors two by two beside the hero, not three and an orphan */
@media (min-width: 900px) { .ar-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ar-mode-art .ar-code { overflow: hidden; }
/* what the foe means to do: a bubble beside it, never over its name plate */
.ar-intent { right: calc(8% + 196px); bottom: calc(12% + 96px); }
.ar-intent::after { left: auto; right: -12px; top: 50%; bottom: auto; margin: -8px 0 0; border: 8px solid transparent; border-left-color: #3A2A1F; border-right: 0; }
.is-boss ~ .ar-intent { right: calc(8% + 216px); }
/* a question reads as one, inside a panel too */
.ar-panel p.ar-qtext { margin: 0 0 12px; font: 700 23px/1.3 'Baloo 2', sans-serif; }
.ar-play p.ar-qtext { font-size: 25px; }
/* the class board is read from the back of the room */
.ar-board p.ar-qtext { font-size: 40px; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.15; margin-bottom: 18px; }
.ar-board .ar-ans { min-height: 78px; font-size: 24px; }
.ar-board .ar-ans .ar-shape, .ar-board .ar-ans .ar-shape svg { width: 52px; height: 52px; }
.ar-board .ar-ans .ar-chip { font-size: 18px; margin: 0 0 0 10px; }
.ar-board .ar-note { font-size: 18px; }
/* hearts and the three raid spells */
.ar-hearts { display: inline-block; line-height: 0; vertical-align: middle; }
.ar-hearts .ar-pix { margin-right: 2px; }
.ar-hearts .is-gone { opacity: .28; -webkit-filter: grayscale(1); filter: grayscale(1); }
.ar-raidspells { margin-top: 14px; }
.ar-raidspells .ar-btn { margin: 0 8px 8px 0; }
.ar-raidspells .ar-btn .ar-pix { vertical-align: -5px; margin-right: 6px; }
.ar-member .ar-hearts { display: block; margin: 2px 0 0; }
/* the teacher's question list */
.ar-qrow { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; -webkit-align-items: center; align-items: center; margin: 0 0 10px; }
.ar-qrow > span:first-child { -webkit-box-flex: 1; -webkit-flex: 1 1 260px; flex: 1 1 260px; min-width: 0; margin-right: 8px; }
.ar-qrow .ar-chip, .ar-qrow .ar-btn { margin: 4px 8px 4px 0; }
@media (max-width: 640px) {
  .ar-intent { top: 100px; bottom: auto; right: 4%; padding: 3px 8px 3px 6px; font-size: 13px; }
  .ar-intent small { display: none; }
  .ar-intent img { width: 18px; height: 18px; vertical-align: -4px; margin-right: 4px; }
  .ar-intent::after { left: 50%; right: auto; top: auto; bottom: -10px; margin: 0 0 0 -7px; border: 7px solid transparent; border-top-color: #3A2A1F; border-bottom: 0; }
  .is-boss ~ .ar-intent { right: 4%; }
  .ar-play p.ar-qtext { font-size: 21px; }
}
/* on a phone the swords stand for the name, so the tools fit on one line */
@media (max-width: 520px) { .ar-logo-t { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .ar-idle, .ar-node.is-open, .ar-petmini.is-ready { -webkit-animation: none; animation: none; }
  .ar-mode, .ar-act, .ar-btn { -webkit-transition: none; transition: none; }
  .ar-q { -webkit-animation: none; animation: none; }
}

/* ── a duel with a friend at one computer (ar-pvp.js, 2026-11-27) ──
   Two players share the cardboard: player 1 in ink blue, player 2 in
   brick red, always with the number beside the colour. Whose turn it is
   shows on the banner, the hero's base, the name plate and the cards. */
.pv-tag { display: inline-block; width: 30px; height: 30px; border: 3px solid #3A2A1F; border-radius: 9px; background: #2C5E9E; color: #FFF8EA; font-size: 18px; line-height: 24px; text-align: center; vertical-align: middle; box-shadow: 0 3px 0 #3A2A1F; }
.pv-2 .pv-tag, .pv-tag.pv-tag2, .pv-p2 .pv-tag, .pv-t2 .pv-tag { background: #A8402A; }
.pv-board { display: -ms-grid; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-gap: 18px; -webkit-box-align: stretch; align-items: stretch; max-width: 920px; margin: 0 auto 22px; }
.pv-vs { -ms-grid-row-align: center; align-self: center; }
.pv-slot { position: relative; overflow: hidden; padding: 0 0 16px; text-align: center; }
.pv-slot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; z-index: 3; background: #2C5E9E; }
.pv-slot.pv-2::before { background: #A8402A; }
.pv-slot > .pv-tag { position: absolute; left: 12px; top: 18px; z-index: 4; }
.pv-pic { position: relative; height: 196px; border-bottom: 3px solid #3A2A1F; background-color: #2d253a; background-size: cover; background-position: center bottom; image-rendering: pixelated; }
.pv-pic .ar-base { width: 130px; margin-left: -65px; bottom: 8px; }
.pv-hero { position: absolute; left: 50%; bottom: 20px; width: 150px; height: 150px; margin-left: -75px; z-index: 2; -webkit-transform-origin: 50% 100%; transform-origin: 50% 100%; }
.pv-hero svg { width: 100%; height: 100%; display: block; }
.pv-pet { position: absolute; right: 14%; bottom: 14px; width: 54px; height: 54px; z-index: 3; }
.pv-pet svg, .pv-pet img { width: 100%; height: 100%; image-rendering: pixelated; }
.pv-slot h3 { margin: 12px 14px 6px; font: 800 24px/1.1 'Baloo 2', sans-serif; }
.pv-chips { padding: 0 10px; }
.pv-who { margin: 6px 14px 8px; font-size: 13px; color: #6B5444; }
.pv-slot .ar-btn { margin: 4px 6px 0; }
.pv-slot.is-empty { border-style: dashed; background: #F6E7C8; }
.pv-pic-empty { background: repeating-linear-gradient(135deg, #2d253a 0, #2d253a 14px, #352c44 14px, #352c44 28px); }
.pv-q { position: absolute; left: 0; right: 0; top: 44px; font-size: 86px; color: rgba(255, 231, 168, .55); text-shadow: 0 4px 0 #1d1724; }
.pv-slot.is-empty .ar-note { margin: 0 18px 12px; }
.pv-loading { padding: 80px 16px 40px; }
.pv-vs { font-size: 56px; color: #FFE7A8; text-shadow: 3px 0 #3A2A1F, -3px 0 #3A2A1F, 0 3px #3A2A1F, 0 -3px #3A2A1F, 3px 3px #3A2A1F, -3px 3px #3A2A1F, 3px -3px #3A2A1F, -3px -3px #3A2A1F, 0 7px 0 rgba(0, 0, 0, .5); -webkit-animation: pv-pulse 1.6s ease-in-out infinite; animation: pv-pulse 1.6s ease-in-out infinite; }
@-webkit-keyframes pv-pulse { 50% { -webkit-transform: scale(1.12) rotate(-3deg); transform: scale(1.12) rotate(-3deg); } }
@keyframes pv-pulse { 50% { -webkit-transform: scale(1.12) rotate(-3deg); transform: scale(1.12) rotate(-3deg); } }
.pv-set { max-width: 920px; }
.pv-row { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; margin: 0 0 14px; }
.pv-row-t { -webkit-box-flex: 1; -webkit-flex: 1 1 240px; flex: 1 1 240px; min-width: 0; margin: 0 10px 8px 0; }
.pv-row-t b { display: block; font: 800 22px/1.15 'Baloo 2', sans-serif; }
.pv-k { display: block; font: 800 12px 'Nunito', sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #6B5444; }
.pv-fair { display: -ms-grid; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 12px; }
.pv-opt { display: block; width: 100%; padding: 12px 14px; border: 3px solid #3A2A1F; border-radius: 14px; background: #F6E7C8; color: #3A2A1F; text-align: left; font: inherit; cursor: pointer; box-shadow: 0 4px 0 #C9A66B, 0 4px 0 3px #3A2A1F; }
.pv-opt b { display: block; font: 800 18px/1.15 'Baloo 2', sans-serif; }
.pv-opt small { display: block; margin-top: 3px; font: 700 13px/1.35 'Nunito', sans-serif; color: #5b4636; }
.pv-opt.is-on { background: #FFC83D; }
.pv-opt.is-on b::before { content: "\2713  "; }
.pv-opt:focus { outline: none; }
.pv-opt:focus-visible { outline: 4px solid #2F86C6; outline-offset: 3px; }
.pv-how { display: -ms-grid; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 12px; margin: 18px 0 6px; padding: 0; list-style: none; counter-reset: pv; }
.pv-how li { position: relative; padding: 10px 12px 10px 46px; border: 3px solid #3A2A1F; border-radius: 14px; background: #FFF8EA; counter-increment: pv; }
.pv-how li::before { content: counter(pv); position: absolute; left: 10px; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: #3A2A1F; color: #FFE7A8; font: 800 15px/26px 'Baloo 2', sans-serif; text-align: center; }
.pv-how b { display: block; font: 800 17px/1.15 'Baloo 2', sans-serif; }
.pv-how span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: #4f3d31; }
.pv-score { display: inline-block; margin: 12px 0 0; padding: 6px 14px; border-radius: 999px; background: #3A2A1F; color: #FFE7A8; font: 800 15px 'Baloo 2', sans-serif; }
.pv-acts { margin-top: 16px; -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.pv-why { display: inline-block; margin: 0 0 10px; }
.pv-why:empty { display: none; }
/* the duel */
.pv-turn { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; margin: 16px 0 0; padding: 8px 16px 8px 10px; border: 3px solid #3A2A1F; border-radius: 16px; background: #2C5E9E; color: #FFF8EA; box-shadow: 0 5px 0 #3A2A1F; }
.pv-turn.pv-t2 { background: #A8402A; -webkit-box-orient: horizontal; -webkit-box-direction: reverse; -webkit-flex-direction: row-reverse; flex-direction: row-reverse; text-align: right; padding: 8px 10px 8px 16px; }
.pv-turn .pv-tag { -webkit-flex-shrink: 0; flex-shrink: 0; border-color: #FFF8EA; box-shadow: none; }
.pv-turn-face { -webkit-flex-shrink: 0; flex-shrink: 0; width: 48px; height: 48px; margin: 0 10px; border: 3px solid #3A2A1F; border-radius: 12px; background: #FFF8EA; overflow: hidden; }
.pv-turn-face svg { width: 100%; height: 100%; display: block; }
.pv-t2 .pv-turn-face svg { -webkit-transform: scaleX(-1); transform: scaleX(-1); }
.pv-turn-t { min-width: 0; }
.pv-turn-t b { display: block; font: 800 24px/1.1 'Baloo 2', sans-serif; }
.pv-turn-t small { display: block; margin-top: 2px; font: 700 13.5px/1.3 'Nunito', sans-serif; color: rgba(255, 248, 234, .9); }
.pv-turn.pv-tend { -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; background: #FFC83D; color: #3A2A1F; font: 800 24px 'Baloo 2', sans-serif; }
.pv-turn.is-new { -webkit-animation: pv-in .38s cubic-bezier(.34, 1.56, .64, 1); animation: pv-in .38s cubic-bezier(.34, 1.56, .64, 1); }
.pv-turn.pv-t2.is-new { -webkit-animation-name: pv-in2; animation-name: pv-in2; }
@-webkit-keyframes pv-in { 0% { -webkit-transform: translateX(-40px); transform: translateX(-40px); opacity: 0; } }
@keyframes pv-in { 0% { -webkit-transform: translateX(-40px); transform: translateX(-40px); opacity: 0; } }
@-webkit-keyframes pv-in2 { 0% { -webkit-transform: translateX(40px); transform: translateX(40px); opacity: 0; } }
@keyframes pv-in2 { 0% { -webkit-transform: translateX(40px); transform: translateX(40px); opacity: 0; } }
.pv-fight .ar-unit.is-turn .ar-base { background: #6FA4E2; box-shadow: inset 0 -6px 0 #2C5E9E, 0 0 0 4px rgba(255, 231, 168, .75); -webkit-animation: pv-glow 1.2s ease-in-out infinite; animation: pv-glow 1.2s ease-in-out infinite; }
.pv-fight .ar-unit.pv-u2.is-turn .ar-base { background: #E3866B; box-shadow: inset 0 -6px 0 #A8402A, 0 0 0 4px rgba(255, 231, 168, .75); }
@-webkit-keyframes pv-glow { 50% { -webkit-transform: scale(1.08); transform: scale(1.08); } }
@keyframes pv-glow { 50% { -webkit-transform: scale(1.08); transform: scale(1.08); } }
.pv-fight .ar-plate-n .pv-tag { -webkit-flex-shrink: 0; flex-shrink: 0; width: 24px; height: 24px; margin: 0 6px 0 0; font: 400 14px/20px 'OXF Pixel', 'Baloo 2', monospace; color: #FFF8EA; border-width: 2px; box-shadow: none; }
.pv-fight .ar-plate.is-turn { box-shadow: 0 4px 0 #3A2A1F, 0 0 0 4px #FFE7A8; }
.pv-h1 .ar-act { box-shadow: 0 6px 0 #6FA4E2, 0 6px 0 3px #3A2A1F; }
.pv-h2 .ar-act { box-shadow: 0 6px 0 #E3866B, 0 6px 0 3px #3A2A1F; }
.ar-q.pv-q1 .ar-qhead { background: #BCD6F5; }
.ar-q.pv-q2 .ar-qhead { background: #F7C6B6; }
.ar-q.pv-q1 { border-top: 8px solid #2C5E9E; }
.ar-q.pv-q2 { border-top: 8px solid #A8402A; }
.pv-bar { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; -webkit-align-items: center; align-items: center; margin-top: 4px; }
.pv-round { margin: 0 auto 10px 0; padding: 4px 12px; border-radius: 999px; background: #3A2A1F; color: #FFE7A8; font: 800 14px 'Baloo 2', sans-serif; }
/* after the duel */
.pv-res { max-width: 920px; }
.pv-duo { display: -ms-grid; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 16px; margin: 14px 0 6px; }
.pv-side { position: relative; overflow: hidden; padding: 0 0 12px; border: 3px solid #3A2A1F; border-radius: 18px; background: #F6E7C8; }
.pv-side > .pv-tag { position: absolute; left: 10px; top: 10px; z-index: 4; }
.pv-side .pv-pic { height: 160px; }
.pv-side .pv-hero { width: 130px; height: 130px; margin-left: -65px; }
.pv-side.is-win { background: #FFE9A6; box-shadow: 0 0 0 4px #E9B048; }
.pv-crown { position: absolute; right: 12px; top: 10px; z-index: 4; padding: 4px; border: 3px solid #3A2A1F; border-radius: 12px; background: #FFC83D; line-height: 0; }
.pv-cheer { -webkit-animation: pv-hop .7s ease-in-out infinite; animation: pv-hop .7s ease-in-out infinite; }
@-webkit-keyframes pv-hop { 50% { -webkit-transform: translateY(-12px); transform: translateY(-12px); } }
@keyframes pv-hop { 50% { -webkit-transform: translateY(-12px); transform: translateY(-12px); } }
.pv-2 .pv-cheer { -webkit-animation-name: pv-hop2; animation-name: pv-hop2; }
@-webkit-keyframes pv-hop2 { 0%, 100% { -webkit-transform: scaleX(-1); transform: scaleX(-1); } 50% { -webkit-transform: scaleX(-1) translateY(-12px); transform: scaleX(-1) translateY(-12px); } }
@keyframes pv-hop2 { 0%, 100% { -webkit-transform: scaleX(-1); transform: scaleX(-1); } 50% { -webkit-transform: scaleX(-1) translateY(-12px); transform: scaleX(-1) translateY(-12px); } }
.pv-side h3 { margin: 10px 14px 0; font: 800 22px/1.1 'Baloo 2', sans-serif; }
.pv-stats { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); margin: 10px 12px; }
.pv-stats .ar-stat { padding: 8px 10px; background: #FFF8EA; }
.pv-stats .ar-stat b { font-size: 22px; }
.pv-side .pv-rw { margin: 0 14px 4px; }
.pv-saved { display: block; margin-top: 4px; font: 700 13px 'Nunito', sans-serif; color: #6B5444; }
.pv-acts .pv-score { margin: 0 0 10px; }
/* the top bar's "With a friend?" (js/oxf-pair.js paints it) */
.ar-pairbtn { height: 42px; max-width: 190px; padding: 0 12px; border: 3px solid #3A2A1F; border-radius: 999px; background: #FFF8EA; color: #3A2A1F; box-shadow: 0 4px 0 #3A2A1F; font: 800 14px 'Baloo 2', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.ar-pairbtn.is-paired { background: #FFC83D; }
.ar-pairbtn:focus { outline: none; }
.ar-pairbtn:focus-visible { outline: 4px solid #2F86C6; outline-offset: 3px; }
@media (max-width: 760px) {
  .pv-board { grid-template-columns: minmax(0, 1fr); grid-gap: 6px; }
  .pv-vs { text-align: center; font-size: 40px; }
  .pv-how { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pv-fair, .pv-duo { grid-template-columns: minmax(0, 1fr); }
  .pv-turn-t b { font-size: 20px; }
  .pv-turn-face { width: 40px; height: 40px; margin: 0 8px; }
  .pv-fight .ar-plate { width: calc(50% - 18px); padding: 6px 8px 5px; }
  .pv-fight .ar-plate.is-hero { left: 10px; }
  .pv-fight .ar-plate.is-foe { right: 10px; }
  .pv-fight .ar-plate-n .pv-tag { width: 20px; height: 20px; margin-right: 4px; font-size: 12px; line-height: 16px; }
  .ar-pairbtn { max-width: 112px; padding: 0 9px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-vs, .pv-turn.is-new, .pv-cheer, .pv-fight .ar-unit.is-turn .ar-base { -webkit-animation: none; animation: none; }
}
