/* Duelo épico: one arena, with the original touch controls kept within reach. */
.at-app .at-menu-epic { color:#ffe9b0; border-color:#b99758; background:linear-gradient(110deg,#6e4d2be8,#3a4743ed); box-shadow:0 5px 0 #273b37,0 10px 22px #09223040; }
.at-app .at-menu-epic:hover { background:linear-gradient(110deg,#866037,#46584b); }
.at-menu-epic .at-menu-symbol { color:#ffe0a0; background:#d3a85026; }
.at-menu-epic small { color:#e1d7b7; }
@media (min-width:851px) and (max-height:850px) {
  .at-menu:has(.at-menu-epic) { padding-block:16px; }
  .at-menu:has(.at-menu-epic) .at-menu-copy { margin-block:auto; }
  .at-menu:has(.at-menu-epic) .at-series { margin-bottom:7px; font-size:13px; }
  .at-menu:has(.at-menu-epic) h1 { font-size:clamp(52px,4.6vw,70px); }
  .at-menu:has(.at-menu-epic) .at-menu-buttons { margin-top:16px; gap:7px; }
  .at-app .at-menu:has(.at-menu-epic) .at-menu-button { min-height:57px; padding:7px 16px; }
  .at-menu:has(.at-menu-epic) .at-menu-button > span:nth-child(2) { font-size:22px; }
  .at-menu:has(.at-menu-epic) .at-menu-symbol { width:35px; height:35px; }
  .at-app .at-menu:has(.at-menu-epic) .at-mode-button { min-height:52px; padding-block:7px; }
  .at-app .at-menu:has(.at-menu-epic) .at-menu-load { min-height:42px; padding-block:5px; }
  .at-menu:has(.at-menu-epic) .at-menu-load > span:nth-child(2) { font-size:18px; }
  .at-app .at-menu:has(.at-menu-epic) .at-menu-data { min-height:36px; padding-block:5px; }
}
/* 0.13 · A larger arena, heraldic scores and compact framed controls. */
.at-app.at-epic-mode > .at-header.at-epic-overlay-header { position:absolute; z-index:40; inset:10px 14px auto; display:grid; grid-template-columns:180px minmax(0,1fr) auto; align-items:start; gap:12px; height:44px; min-height:0; max-height:none; padding:0; border:0; background:none; box-shadow:none; flex:0 0 auto; pointer-events:none; }
.at-epic-overlay-header > * { pointer-events:auto; }
.at-app .at-epic-overlay-header .at-logo-home { display:flex; align-items:center; justify-content:center; justify-self:start; width:176px; max-width:100%; min-width:0; height:44px; min-height:44px; padding:1px 9px; border:1px solid #d5af65; border-radius:12px; background:#fff5dcef; box-shadow:0 2px 5px #193b3159; }
.at-epic-overlay-header .at-logo-home img { display:block; width:100%; max-width:100%; height:40px; max-height:40px; object-fit:contain; }
.at-app .at-epic-overlay-header .at-logo-home:focus-visible { outline:3px solid #173f3c; outline-offset:3px; box-shadow:0 0 0 6px #ffe5a1; }
.at-epic-overlay-header .at-epic-app-title { justify-self:center; align-self:start; padding:7px 18px; border:1px solid #e8cb8a; border-radius:6px 6px 22px 22px; color:#ffedc1; background:linear-gradient(#27483ce8,#173a32db); box-shadow:0 3px 8px #142e2b66; font:500 clamp(13px,1.3vw,19px)/1.2 'Torneos Fredoka',sans-serif; white-space:nowrap; text-shadow:0 2px #102c27; }
.at-epic-overlay-header .at-header-actions { display:flex; gap:6px; align-items:start; padding:0; }
.at-app .at-epic-overlay-header .at-btn { min-height:42px; padding:7px 10px; border:1px solid #d6bb7d; border-bottom:3px solid #8d713c; border-radius:12px; color:#ffedc0; background:linear-gradient(#29483fea,#16392fea); font-size:12px; box-shadow:0 2px 5px #132c2b55; }
.at-epic-overlay-header .at-sound-options { top:49px; z-index:60; background:#fff5d9; color:#26463b; border-color:#c3a162; }
.at-epic-mode .at-review-view { padding-top:74px; }
.at-app .at-epic-duel { position:relative; isolation:isolate; display:flex; flex-direction:column; min-height:0; overflow:hidden; padding:64px 12px 12px; gap:5px; color:#fff0c8; background:#355143 url('../images/epic-arena.webp') center/cover no-repeat; }
.at-epic-duel::before { content:''; position:absolute; z-index:-1; inset:0; pointer-events:none; background:linear-gradient(#17373445,#f2dfad10 47%,#d5cf9840); }
.at-app .at-epic-duel > .at-epic-scene { position:relative; z-index:2; display:flex; flex:1 1 auto; flex-direction:column; width:100%; min-height:0; height:auto; margin:0; overflow:visible; pointer-events:none; }
.at-epic-duel .at-epic-scoreboard { position:relative; z-index:12; flex:0 0 102px; width:min(1110px,96%); margin:0 auto; padding:0 8px 10px; pointer-events:none; }
.at-epic-duel .at-epic-score-players { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:56px; }
.at-epic-duel .at-epic-score-player { --score-base:#205f4c; position:relative; display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:9px; min-width:0; min-height:79px; padding:7px 14px 8px 8px; border:2px solid #e2bd75; border-radius:12px 34px 16px 12px; background:linear-gradient(110deg,var(--score-base),#17392ff2); box-shadow:inset 0 0 0 2px #7e542e,0 4px 0 #684b2a,0 7px 12px #132f2c59; }
.at-epic-duel .at-epic-score-player::after { content:''; position:absolute; pointer-events:none; inset:4px; border:1px solid #f7d99b54; border-radius:7px 26px 10px 7px; }
.at-epic-duel .at-epic-score-player-right { --score-base:#803d34; border-radius:34px 12px 12px 16px; background:linear-gradient(250deg,var(--score-base),#4f2b2bf2); }
.at-epic-duel .at-epic-heraldry { position:relative; display:grid; place-items:center; width:44px; height:59px; color:#f3d487; filter:drop-shadow(0 2px 2px #112b27); }
.at-epic-duel .at-epic-heraldry > svg { position:absolute; inset:0; width:100%; height:100%; background:radial-gradient(ellipse,#40b38b66,transparent 70%); }
.at-epic-duel .at-epic-heraldry b { position:relative; margin-top:-4px; color:#ffe7ab; font:600 23px/1 'Torneos Fredoka',sans-serif; text-shadow:0 2px #5b4220; }
.at-epic-duel .at-epic-score-player-right .at-epic-heraldry > svg { background:radial-gradient(ellipse,#d0654c66,transparent 70%); }
.at-epic-duel .at-epic-player-heading { min-width:0; }
.at-epic-duel .at-epic-player-heading > small { display:block; margin-bottom:4px; color:#f3d997; font:750 9px/1 sans-serif; letter-spacing:.12em; }
.at-epic-duel .at-epic-score-name { display:block; min-width:0; overflow:hidden; color:#fff0bf; font:500 clamp(18px,1.7vw,27px)/1.05 'Torneos Fredoka',sans-serif; text-overflow:ellipsis; white-space:nowrap; text-shadow:0 2px #17372d; }
.at-epic-duel .at-epic-player-stats { display:flex; align-items:center; gap:9px; }
.at-epic-duel .at-epic-score-energy,.at-epic-duel .at-epic-goal-count { display:grid; grid-template-columns:22px auto; grid-template-rows:32px 11px; align-items:center; gap:0 3px; min-width:47px; padding:3px 5px; border:1px solid #e4c98180; border-radius:10px; color:#ffe093; background:#102e2d60; }
.at-epic-duel .at-epic-goal-count { color:#e3f3d2; background:#e2c5791f; }
.at-epic-duel .at-epic-score-energy > svg,.at-epic-duel .at-epic-goal-count > svg { width:22px; height:25px; }
.at-epic-duel .at-epic-score-energy b,.at-epic-duel .at-epic-goal-count b { color:inherit; font:500 29px/1 'Torneos Fredoka',sans-serif; }
.at-epic-duel .at-epic-score-energy small,.at-epic-duel .at-epic-goal-count small { grid-column:1/-1; color:#f2e7c1; font:750 7px/1 sans-serif; letter-spacing:.05em; text-align:center; }
.at-epic-duel .at-epic-score-energy[hidden] { display:none; }
.at-epic-duel .at-epic-score-count { display:flex; flex-direction:column; align-items:center; min-width:24px; gap:3px; }
.at-epic-duel .at-epic-score-count b { color:#ffedc1; font:500 24px/1 'Torneos Fredoka',sans-serif; }
.at-epic-duel .at-epic-score-count small { color:#e9dbb5; font:700 7px/1 sans-serif; letter-spacing:.03em; }
.at-epic-duel .at-epic-score-track { width:82%; margin:8px auto 0; }
.at-epic-duel .at-epic-shared-meter { position:relative; height:10px; border:1px solid #f1d08f; border-radius:12px; background:linear-gradient(90deg,#37a777,#1d6c4e 49.9%,#90382e 50%,#d68154); box-shadow:inset 0 2px 3px #17373188,0 2px 0 #6f4f29; }
.at-epic-duel .at-epic-meter-center { position:absolute; left:50%; top:-4px; bottom:-4px; width:2px; background:#ffe7ae; }
.at-epic-duel .at-epic-meter-crown { position:absolute; top:50%; left:var(--at-epic-bar-marker,50%); width:27px; height:32px; transform:translate(-50%,-46%); transition:left 620ms cubic-bezier(.2,.8,.2,1); filter:drop-shadow(0 2px 3px #17352c); }
.at-epic-duel .at-epic-meter-crown > svg { width:100%; height:100%; }
.at-epic-duel .at-epic-stage { container-type:size; position:relative; flex:1 1 auto; width:100%; min-height:0; overflow:hidden; }
/* Every animated object is decorative and stays away from the touch stations. */
.at-epic-duel .at-epic-scene { position: relative; z-index: 2; width: 100%; min-height: 0; overflow: hidden; pointer-events: none; user-select: none; -webkit-user-select: none; }
.at-epic-duel .at-epic-atmosphere { position: absolute; inset: 0; background: linear-gradient(180deg,#d6d9b500 50%,#e3d5ad22); }
.at-epic-duel .at-epic-ground { position: absolute; bottom: 0; left: 8%; right: 8%; height: 14%; border-top: 2px solid #d9bd7c70; border-radius: 50%; background: radial-gradient(ellipse,#242f2d87,transparent 70%); }
.at-epic-duel .at-epic-rope { position: absolute; z-index: 3; top: 49%; left: 14%; right: 14%; height: 9px; border: 1px solid #6c4829; border-radius: 8px; background: repeating-linear-gradient(115deg,#7d502d 0 3px,#dec394 3px 6px,#ba9460 6px 9px); box-shadow: 0 2px 3px #142c3259,inset 0 1px #fff0b9; transform: rotate(calc(var(--at-epic-pull,0) * -1deg)); transition: transform 620ms cubic-bezier(.2,.8,.2,1); }
.at-epic-duel .at-epic-rope::before,.at-epic-duel .at-epic-rope::after { content: ''; position: absolute; top: -4px; width: 21px; height: 15px; border-radius: 8px; background: repeating-linear-gradient(90deg,#8d5b33 0 3px,#dbbb83 3px 5px); box-shadow: 0 2px 3px #20302d80; }
.at-epic-duel .at-epic-rope::before { left: 12%; }.at-epic-duel .at-epic-rope::after { right: 12%; }
.at-epic-duel .at-epic-track { position: absolute; inset: auto 25% 3px; height: 12px; }
.at-epic-duel .at-epic-track i { position: absolute; left: calc(var(--mark) * 25%); width: 2px; height: 8px; background: #e9d5a2a1; transform: skewX(-15deg); }
.at-epic-duel .at-epic-track i:nth-child(3) { height: 12px; width: 3px; background: #ffe3a2; }
.at-epic-duel .at-epic-goal { position: absolute; z-index: 5; bottom: 4%; width: 3px; height: 92%; color: #c9edce; background: linear-gradient(#ffdda0,#bea16d88); box-shadow: 0 0 4px #293b2a85; }
.at-epic-duel .at-epic-goal-left { left: 25%; transform:translateX(-50%); }.at-epic-duel .at-epic-goal-right { left: 75%; transform:translateX(-50%); color: #f0cba2; }
.at-epic-duel .at-epic-goal svg { position: absolute; width: 24px; height: 29px; top: 29px; right: 12px; background: #2c6153; filter: drop-shadow(0 2px 1px #213732); }
.at-epic-duel .at-epic-goal-right svg { left:12px; right:auto; }
.at-epic-duel .at-epic-goal-right svg { background: #89503a; }
.at-epic-duel .at-epic-goal span { position: absolute; top: 3px; right: 10px; padding: 4px 8px; border: 1px solid #f0cf8d; border-radius: 4px; color: #ffe8af; background: #304d3ded; font: 800 10px/1.1 sans-serif; letter-spacing: .1em; white-space:nowrap; box-shadow:0 2px 4px #20362d80; }
.at-epic-duel .at-epic-goal-right span { right:auto; left:10px; background:#74432ded; }
.at-epic-duel .at-epic-goal span::after { content:''; position:absolute; top:5px; right:-8px; border-left:7px solid #f0cf8d; border-top:4px solid transparent; border-bottom:4px solid transparent; }
.at-epic-duel .at-epic-goal-right span::after { right:auto; left:-8px; border-left:0; border-right:7px solid #f0cf8d; }
.at-epic-duel .at-epic-champion { position: absolute; z-index: 4; bottom: 0; left: calc(27% - var(--at-epic-pull,0) * 3%); width: clamp(112px,17vh,204px); height: 100%; transform: translateX(-50%); transition: left 620ms cubic-bezier(.2,.8,.2,1); }
.at-epic-duel .at-epic-champion-right { left: calc(73% - var(--at-epic-pull,0) * 3%); }
.at-epic-duel .at-epic-champion > i { position: absolute; inset: 0; background: var(--at-epic-champions) 0 50% / 200% 100% no-repeat; transform-origin: 50% 95%; }
.at-epic-duel .at-epic-champion-right > i { background-position: 100% 50%; }
.at-epic-duel .at-epic-champion > span { position: absolute; z-index: -1; left: 15%; bottom: -1px; width: 70%; height: 9%; border-radius: 50%; background: #122c3263; filter: blur(3px); }
.at-epic-duel .at-epic-medallion { position: absolute; z-index: 6; top: 49%; left: var(--at-epic-marker,50%); width: clamp(39px,5.5vh,62px); height: clamp(44px,6.2vh,69px); transform: translate(-50%,-35%); filter: drop-shadow(0 2px 4px #24302e94); transition: left 620ms cubic-bezier(.2,.8,.2,1); }
.at-epic-duel .at-epic-medallion > svg { width: 100%; height: 100%; }
.at-epic-duel .at-epic-sparks { position: absolute; inset: 0; }
.at-epic-duel .at-epic-sparks i { position: absolute; top: 34%; left: 50%; width: 5px; height: 5px; border-radius: 50%; opacity: 0; background: #fff2b4; box-shadow: 0 0 5px #ffd075; }
.at-epic-duel .is-scored-left .at-epic-sparks i,.at-epic-duel .is-scored-right .at-epic-sparks i { animation: at-epic-spark 850ms ease-out both; }
.at-epic-duel .is-scored-left .at-epic-champion-left > i,.at-epic-duel .is-scored-right .at-epic-champion-right > i { animation: at-epic-tug 700ms ease-out both; }
.at-epic-duel .at-epic-audience { position: absolute; z-index: 2; bottom: 1%; width: 20%; max-width: 260px; height: 85%; }
.at-epic-duel .at-epic-audience-left { left: 1%; }.at-epic-duel .at-epic-audience-right { right: 1%; }
.at-epic-duel .at-epic-spectator { position: absolute; left: 0; bottom: 0; width: 46%; height: 72%; opacity: 0; transform: translateY(8px) scale(.85); transform-origin: 50% 95%; background: var(--at-epic-audience) var(--fan-col) var(--fan-row) / 300% 200% no-repeat; transition: opacity 350ms,transform 450ms cubic-bezier(.2,.8,.2,1); }
.at-epic-duel .at-epic-spectator:nth-child(3n+1) { left: 0; }.at-epic-duel .at-epic-spectator:nth-child(3n+2) { left: 27%; }.at-epic-duel .at-epic-spectator:nth-child(3n) { left: 54%; }
.at-epic-duel .at-epic-spectator:nth-child(n+4) { bottom: 26%; z-index: -1; }
.at-epic-duel .at-epic-spectator.is-present { opacity: 1; transform: none; }
.at-epic-duel .is-scored-left .at-epic-audience-left .is-present,.at-epic-duel .is-scored-right .at-epic-audience-right .is-present { animation: at-epic-cheer 700ms ease-out both; animation-delay: calc(var(--fan-index) * 45ms); }
.at-epic-duel .at-epic-audience-extra { position: absolute; z-index: 3; bottom: 1px; left: 44%; padding: 1px 6px; border: 1px solid #e6c27e; border-radius: 9px; color: #ffe8ac; background: #29433ee8; font: 600 17px/1.1 'Torneos Fredoka',sans-serif; }
.at-epic-duel .at-epic-audience-extra[hidden] { display: none; }
.at-epic-duel .at-epic-fan-banner { position: absolute; top: 3%; left: 9%; width: 29px; height: 36px; color: #fbe1a1; opacity: 0; transform: rotate(-8deg); background: #386f5ac7; box-shadow: 0 3px 4px #19343360; }
.at-epic-duel .at-epic-audience-right .at-epic-fan-banner { left: auto; right: 9%; transform: rotate(8deg); background: #97513ac7; }
.at-epic-duel .at-epic-fan-banner svg { width: 100%; height: 100%; }
.at-epic-duel .at-epic-fan-banner[data-level="1"],.at-epic-duel .at-epic-fan-banner[data-level="2"],.at-epic-duel .at-epic-fan-banner[data-level="3"] { opacity: 1; }
.at-epic-duel .at-epic-fan-banner[data-level="2"] { box-shadow: 0 0 12px #ffe2a66b; }
.at-epic-duel .at-epic-fan-banner[data-level="3"] { box-shadow: 0 0 18px #ffe2a6b0; border: 1px solid #ffdf99; }
.at-epic-duel .is-banner-left .at-epic-audience-left .at-epic-fan-banner,.at-epic-duel .is-banner-right .at-epic-audience-right .at-epic-fan-banner { animation: at-epic-banner 1500ms ease-out; }
.at-epic-duel .at-epic-announcement { position: absolute; z-index: 9; top: 0; left: 50%; max-width: 70%; margin: 0; padding: 4px 13px; border: 1px solid #dfc686; border-radius: 6px 6px 12px 12px; opacity: 0; transform: translate(-50%,-10px); color: #fff0be; background: #284644ed; font: 500 clamp(14px,1.3vw,22px)/1.2 'Torneos Fredoka',sans-serif; text-align: center; box-shadow: 0 3px 9px #112d3659; transition: opacity 200ms,transform 250ms; }
.at-epic-duel .has-announcement .at-epic-announcement { opacity: 1; transform: translate(-50%,0); }
.at-epic-duel .at-epic-weather { position: absolute; z-index: 7; inset: 0; opacity: 0; overflow: hidden; transition: opacity 350ms; background: #7498a91c; }
.at-epic-duel .is-raining .at-epic-weather { opacity: 1; }
.at-epic-duel .at-epic-weather i { position: absolute; left: calc(var(--drop) * 4.8%); top: -25%; width: 1px; height: 29%; opacity: .55; background: linear-gradient(transparent,#c3e3e9); transform: rotate(14deg); }
.at-epic-duel .is-raining .at-epic-weather i { animation: at-epic-rain 620ms linear infinite; animation-delay: calc(var(--drop) * -93ms); }
.at-epic-duel .at-epic-fruit { position: absolute; z-index: 8; inset: 0; }
.at-epic-duel .at-epic-fruit > i { position: absolute; top: 45%; left: 8%; width: 25px; height: 27px; opacity: 0; }
.at-epic-duel [data-event-side="right"] .at-epic-fruit > i { left: auto; right: 8%; }
.at-epic-duel .at-epic-fruit svg { width: 100%; height: 100%; }
.at-epic-duel .is-fruit-flying .at-epic-fruit > i { animation: at-epic-fruit 1350ms cubic-bezier(.3,.2,.8,.7) both; animation-delay: calc(var(--fruit) * 150ms); }
.at-epic-duel [data-event-side="right"].is-fruit-flying .at-epic-fruit > i { animation-name: at-epic-fruit-reverse; }
.at-epic-duel .at-epic-champion.is-slipping > i { animation: at-epic-slip 1400ms ease-in-out both; }

@keyframes at-epic-tug { 35% { transform: translateX(-5px) rotate(-3deg); } 65% { transform: translateX(2px) rotate(1deg); } }
@keyframes at-epic-cheer { 35% { transform: translateY(-8px) rotate(-3deg); } 70% { transform: translateY(-2px) rotate(2deg); } }
@keyframes at-epic-banner { 40% { filter: brightness(1.6) drop-shadow(0 0 10px #ffd67a); } }
@keyframes at-epic-spark { 10% { opacity: 1; } 85%,100% { opacity: 0; transform: rotate(calc(var(--spark) * 36deg)) translateX(57px) scale(.3); } }
@keyframes at-epic-rain { to { top: 110%; transform: translateX(-25px) rotate(14deg); } }
@keyframes at-epic-fruit { 0% { opacity: 0; transform: none; } 10% { opacity: 1; } 45% { transform: translate(27vw,-40px) rotate(160deg); } 90% { opacity: 1; } 100% { opacity: 0; transform: translate(66vw,50px) rotate(410deg); } }
@keyframes at-epic-fruit-reverse { 0% { opacity: 0; transform: none; } 10% { opacity: 1; } 45% { transform: translate(-27vw,-40px) rotate(-160deg); } 90% { opacity: 1; } 100% { opacity: 0; transform: translate(-66vw,50px) rotate(-410deg); } }
@keyframes at-epic-slip { 25% { transform: translateY(0) rotate(0); } 48% { transform: translate(9px,3px) rotate(13deg); } 70% { transform: translate(-3px,0) rotate(-3deg); } 100% { transform: none; } }


/* The flexible stage receives the space released by the smaller controls. */
.at-epic-duel .at-epic-champion { left:calc(35% - var(--at-epic-pull,0) * 14%); width:min(390px,98cqh); height:min(390px,98cqh); bottom:1px; }
.at-epic-duel .at-epic-champion-right { left:calc(65% - var(--at-epic-pull,0) * 14%); }
.at-epic-duel .at-epic-goal { --standard-cloth:#21624b; z-index:2; bottom:3px; width:min(140px,34cqh); height:min(350px,85cqh); color:#ffe2a0; background:none; box-shadow:none; filter:drop-shadow(0 3px 2px #4a392b66); }
.at-epic-duel .at-epic-goal-right { --standard-cloth:#8a3b31; }
.at-epic-duel .at-epic-goal > .at-epic-standard { position:absolute; inset:0; width:100%; height:100%; background:none; filter:none; }
.at-epic-duel .at-epic-goal > span { top:64%; left:50%; right:auto; padding:3px 7px; border:1px solid #ffe2a0; border-radius:5px; color:#ffe9ae; background:#224f3ff2; font-size:9px; letter-spacing:.1em; transform:translateX(-50%); }
.at-epic-duel .at-epic-goal-right > span { background:#723c2ff2; }
.at-epic-duel .at-epic-goal > span::after { display:none; }
.at-epic-duel .at-epic-standard-cloth { transform-box:view-box; transform-origin:60px 53px; animation:at-epic-standard-wave 4300ms ease-in-out infinite; }
.at-epic-duel .at-epic-goal-right .at-epic-standard-cloth { animation-delay:-1500ms; }
.at-epic-duel .at-epic-rope { top:calc(100% - min(200px,50cqh)); left:10%; right:10%; height:10px; }
.at-epic-duel .at-epic-audience { height:73%; width:22%; max-width:340px; }
.at-epic-duel .at-epic-medallion { top:calc(100% - min(200px,50cqh)); width:53px; height:61px; }
.at-epic-duel .at-epic-sparks i { width:9px; height:9px; border-radius:0; background:#ffe49b; clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 94%,50% 72%,21% 94%,32% 57%,2% 35%,39% 35%); }
.at-app .at-epic-duel > .at-duel-grid { position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px; flex:0 0 268px; height:268px; min-height:0; padding:0 5px; align-items:end; justify-items:center; }
.at-app .at-epic-duel .at-epic-console { position:relative; display:flex; flex-direction:column; width:min(calc(100% - 64px),470px); height:268px; min-width:0; min-height:0; margin-left:54px; overflow:visible; border:0; border-radius:0; background:none; box-shadow:none; }
.at-app .at-epic-duel .at-epic-console.at-side-right { margin-left:0; margin-right:54px; }
.at-epic-duel .at-epic-console-title { position:relative; z-index:12; flex:0 0 18px; width:calc(100% - 100px); min-width:0; margin:0 auto; padding:0 8px; overflow:hidden; color:#ffedbd; font:500 14px/18px 'Torneos Fredoka',sans-serif; text-overflow:ellipsis; white-space:nowrap; text-align:center; text-shadow:0 2px 3px #263c2c; }
.at-epic-duel .at-epic-console-title::before { display:none; }
.at-app .at-epic-duel .at-epic-lectern { container-type:size; position:relative; flex:1; display:flex; flex-direction:column; width:100%; min-width:0; min-height:0; margin:0; padding:1px 2px; overflow:visible; border-style:solid; border-width:25px 20px 20px; border-color:#bca365; border-image:url('../images/epic-console-jade.webp') 100 82 65 82 fill / 25px 20px 20px / 0 stretch; border-radius:12px; background:#174e3a; box-shadow:0 5px 12px #193b3059; }
.at-app .at-epic-duel .at-side-right .at-epic-lectern { border-image-source:url('../images/epic-console-ruby.webp'); background:#652f2b; }
.at-app .at-epic-duel .at-epic-lectern > .at-epic-controls { position:relative; z-index:3; inset:auto; display:grid; grid-template-columns:minmax(0,1fr) 144px; grid-template-rows:minmax(0,1fr); align-items:center; justify-items:center; gap:10px; flex:1; width:100%; min-width:0; min-height:0; max-width:none; max-height:none; margin:0; overflow:visible; transform:none; }
.at-app .at-epic-duel .at-epic-lectern .at-epic-controls > .at-operation-sheet { grid-column:1; grid-row:1; position:relative; top:auto; left:auto; min-width:0; max-width:100%; margin:0; padding:4px 5px; transform:none; font-size:clamp(18px,min(calc((100cqw - 170px) / var(--at-sheet-columns,8)),calc((100cqh - 28px) / var(--at-sheet-rows,3) / 1.08)),35px); border:1px solid #d4ba7a; border-radius:8px; color:#24463b; background:#fff4d8; box-shadow:0 2px 0 #947c4b,0 3px 6px #183d2f4d; }
.at-app .at-epic-duel .at-epic-lectern .at-controller-station { grid-column:2; grid-row:1; width:144px; max-width:100%; min-width:0; }
.at-app .at-epic-duel .at-epic-keypad { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; width:100%; min-width:0; padding:0; pointer-events:auto; }
.at-app .at-epic-duel .at-epic-keypad .at-key { display:grid; place-items:center; width:auto; min-width:44px; height:44px; min-height:44px; padding:0; border:1px solid #efd494; border-bottom:3px solid #9e7d42; border-radius:8px; color:#2b4639; background:linear-gradient(#fff5dc,#ecd5a3); box-shadow:0 2px 2px #15372c66; font:500 25px/1 'Torneos Fredoka',sans-serif; touch-action:manipulation; }
.at-app .at-epic-duel .at-epic-keypad .at-key-action { color:#70512b; background:linear-gradient(#f4d890,#d5ac65); }
.at-app .at-epic-duel .at-epic-keypad .at-key svg { width:22px; height:22px; }
.at-app .at-epic-duel .at-key.is-pressed:not(:disabled) { transform:translateY(2px); border-bottom-width:1px; background:#ffe3a3; }
.at-app .at-epic-duel .at-epic-console > .at-power-bar.at-epic-power-icons { position:absolute; z-index:20; left:-58px; top:-6px; display:flex; flex-direction:column; gap:2px; width:50px; min-width:0; height:auto; max-width:none; margin:0; padding:0; pointer-events:auto; }
.at-app .at-epic-duel .at-epic-console.at-side-right > .at-power-bar.at-epic-power-icons { left:auto; right:-58px; }
.at-app .at-epic-duel .at-power-bar.at-epic-power-icons .at-magic-button { position:relative; display:grid; place-items:center; flex:0 0 44px; width:46px; min-width:44px; height:44px; min-height:44px; margin:0; padding:0; border:1px solid #e6c17d; border-bottom:3px solid #8f6b34; border-radius:50%; color:#ffe7aa; background:radial-gradient(circle at 40% 25%,#7a9660,#1a463b 80%); box-shadow:inset 0 0 0 2px #e1bf7555,0 2px 5px #173d2a77; }
.at-app .at-epic-duel .at-side-right .at-epic-power-icons .at-magic-button { background:radial-gradient(circle at 40% 25%,#a57454,#5b302e 80%); }
.at-app .at-epic-duel .at-epic-power-icons .at-magic-button img,.at-app .at-epic-duel .at-epic-power-icons .at-magic-emblem { display:block; width:33px; height:33px; margin:0; object-fit:contain; }
.at-epic-duel .at-epic-spell-art { display:block; width:39px; height:39px; border-radius:50%; background:url('../images/epic-magic-medallions.webp') var(--spell-col,0%) var(--spell-row,0%)/300% 200% no-repeat; }
.at-app .at-epic-duel .at-epic-magic-cost { position:absolute; right:-3px; bottom:-2px; display:grid; place-items:center; width:16px; height:16px; margin:0; padding:0; border:1px solid #d7b36a; border-radius:50%; color:#644b24; background:#ffe29a; font:800 10px/1 sans-serif; }
.at-app .at-epic-duel .at-epic-power-icons .is-locked { opacity:.62; filter:saturate(.65); cursor:help; }
.at-app .at-epic-duel .at-epic-power-icons .is-used { opacity:.48; filter:grayscale(.8); }
.at-app .at-epic-duel .at-epic-power-icons .is-used::after { content:''; position:absolute; width:30px; height:2px; background:#f9e7c1; transform:rotate(-45deg); }
.at-app .at-epic-duel .at-epic-power-icons .is-ready:hover { filter:brightness(1.2); transform:translateY(-1px); }
.at-epic-duel .at-epic-console-tools { position:absolute; z-index:18; top:-42px; left:0; bottom:auto; display:flex; align-items:center; justify-content:center; width:44px; min-height:44px; height:44px; margin:0; pointer-events:auto; }
.at-app .at-epic-duel .at-epic-console-tools > button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0; width:44px; min-width:44px; height:44px; min-height:44px; padding:2px; border:1px solid #d4b67c; border-bottom:3px solid #99713b; border-radius:9px; color:#fff0bd; background:#244d3ddf; font-size:8px; }
.at-epic-duel .at-epic-console-tools > button svg { width:20px; height:20px; }
.at-epic-duel .at-epic-ink-drawer { position:absolute; z-index:15; inset:0; display:grid; grid-template-rows:34px minmax(0,1fr) 32px; min-height:0; overflow:hidden; border:1px solid #d3b373; border-radius:8px; color:#2c4d3d; background:#fff6dd; box-shadow:0 3px 9px #17382e88; pointer-events:auto; }
.at-epic-duel .at-epic-ink-drawer[hidden] { display:none!important; }
.at-epic-duel .at-epic-ink-drawer > header { display:flex; align-items:center; justify-content:space-between; gap:6px; min-width:0; padding:3px 6px; border-bottom:1px solid #d6bf88; background:#ecdfbc; font-size:11px; }
.at-epic-duel .at-epic-ink-problem { min-width:0; overflow:hidden; font:500 16px/1.2 'Torneos Fredoka',sans-serif; text-overflow:ellipsis; white-space:nowrap; }
.at-app .at-epic-duel .at-epic-ink-drawer > canvas { position:relative; inset:auto; display:block; width:100%; height:100%; min-height:0; cursor:crosshair; touch-action:none; }
.at-epic-duel .at-epic-ink-tools { display:flex; justify-content:center; gap:7px; padding:2px; }
.at-app .at-epic-duel .at-epic-ink-tools .at-btn,.at-app .at-epic-duel .at-epic-ink-drawer > header .at-btn { min-height:27px; padding:2px 7px; font-size:10px; }
.at-epic-duel .is-ink-open .at-epic-controls { visibility:hidden; pointer-events:none; }
.at-epic-duel .at-epic-magic-tip { position:absolute; z-index:30; left:2px; right:2px; bottom:2px; padding:7px 9px; border:1px solid #f1d28b; border-radius:8px; color:#ffe9b3; background:#163a32f2; font-size:11px; line-height:1.25; box-shadow:0 2px 5px #17392f88; pointer-events:none; }
.at-epic-duel .at-epic-magic-tip[hidden] { display:none!important; }
.at-epic-duel .at-epic-console .at-side-feedback { position:absolute; z-index:14; bottom:0; left:3px; right:3px; color:#fff0c3; font-size:8px; line-height:1; text-align:center; pointer-events:none; }
.at-app .at-epic-duel .at-epic-lectern .at-epic-controls > .at-operation-mental { container-type:inline-size; display:grid; grid-template-rows:minmax(0,1fr) 60px; align-items:center; justify-items:center; gap:6px; width:100%; height:100%; padding:6px; }
.at-app .at-epic-duel .at-epic-lectern .at-mental-expression { width:100%; color:#24463b; font-size:clamp(30px,min(20cqw,20cqh),42px); line-height:1; white-space:normal; overflow-wrap:normal; text-wrap:balance; text-align:center; }
.at-app .at-epic-duel .at-epic-lectern .at-mental-answer { display:grid; place-items:center; width:100%; min-width:0; height:60px; min-height:60px; margin:0; padding:2px 5px; color:#254d3a; background:#dfecce; font-size:clamp(24px,min(46px,calc((100cqw - 12px) / (var(--at-mental-digits,1) * .72))),46px); line-height:1; letter-spacing:0; }
.at-epic-duel .at-epic-think .at-operation-sheet { animation:at-epic-consider 400ms ease-out; }
@keyframes at-epic-consider { 45% { outline:3px solid #efc979; outline-offset:2px; } }
/* 0.14 · Grounded actors and a bounded, non-interactive spell layer. */
.at-epic-duel .at-epic-champion > i { animation:at-epic-breathe 3500ms ease-in-out infinite; }
.at-epic-duel .at-epic-champion-right > i { animation-delay:-1400ms; }
.at-epic-duel .at-epic-champion > span { left:9%; bottom:0; width:82%; height:8%; background:radial-gradient(ellipse,#43351e65 0 25%,#47351d30 48%,transparent 74%); filter:blur(1.5px); }
.at-epic-duel .at-epic-champion > span::before,.at-epic-duel .at-epic-champion > span::after { content:''; position:absolute; bottom:9%; height:31%; width:32%; border-radius:50%; background:#382d1d8c; filter:blur(1px); }
.at-epic-duel .at-epic-champion > span::before { left:6%; }
.at-epic-duel .at-epic-champion > span::after { right:0; }
.at-epic-duel .at-epic-champion-right > span::before { left:0; }
.at-epic-duel .at-epic-champion-right > span::after { right:9%; }
.at-epic-duel .at-epic-spectator.is-present { animation:at-epic-fan-idle 4400ms ease-in-out infinite; animation-delay:calc(var(--fan-index) * -530ms); filter:drop-shadow(0 3px 1px #4a3b2655); }
.at-epic-duel .at-epic-spectator { -webkit-mask-image:linear-gradient(#000 0 94%,#000b 98%,transparent); mask-image:linear-gradient(#000 0 94%,#000b 98%,transparent); }
.at-epic-duel .at-epic-audience .at-epic-spectator:nth-child(n+4) { bottom:8%; z-index:-1; width:35%; height:56%; filter:brightness(.94) saturate(.92) drop-shadow(0 2px 1px #4a3b2655); }
.at-epic-duel .at-epic-audience .at-epic-spectator:nth-child(4) { left:14%; }
.at-epic-duel .at-epic-audience .at-epic-spectator:nth-child(5) { left:41%; }
.at-epic-duel .at-epic-audience .at-epic-spectator:nth-child(6) { left:68%; }
.at-epic-duel .at-epic-rope > i { position:absolute; inset:0; border-radius:inherit; background:linear-gradient(90deg,transparent,#ffe7aa99,transparent); animation:at-epic-rope-light 2900ms ease-in-out infinite; }
.at-epic-duel .is-scored-left .at-epic-rope,.at-epic-duel .is-scored-right .at-epic-rope { animation:at-epic-rope-tension 700ms ease-out; }
.at-epic-duel .is-near-victory-left .at-epic-goal-left,.at-epic-duel .is-near-victory-right .at-epic-goal-right { filter:drop-shadow(0 0 8px #ffe297) drop-shadow(0 3px 2px #4a392b88); }
.at-epic-duel .is-near-victory-left .at-epic-score-player-left,.at-epic-duel .is-near-victory-right .at-epic-score-player-right { border-color:#fff1ba; box-shadow:inset 0 0 0 2px #a87c36,0 4px 0 #684b2a,0 0 12px #ffcf6477; }
.at-epic-duel .is-final-push-left .at-epic-goal-left .at-epic-standard-cloth,.at-epic-duel .is-final-push-right .at-epic-goal-right .at-epic-standard-cloth { animation:at-epic-final-banner 550ms ease-in-out 3; }
.at-epic-duel .is-final-push-left .at-epic-meter-crown,.at-epic-duel .is-final-push-right .at-epic-meter-crown { animation:at-epic-goal-glint 900ms ease-out 2; }
.at-epic-duel .at-epic-spell-layer { position:absolute; z-index:8; inset:0; overflow:hidden; contain:paint; pointer-events:none; }
.at-epic-duel .at-epic-arena-spell { position:absolute; inset:0; pointer-events:none; --cast-color:#bcecff; --impact-color:#bcecff; }
.at-epic-duel .at-epic-arena-spell * { pointer-events:none; }
.at-epic-duel .at-epic-cast-source { position:absolute; left:var(--cast-from-x); top:var(--cast-from-y); width:72px; height:72px; border:3px solid var(--cast-color); border-radius:50%; background:radial-gradient(circle,#fff9dc80,var(--cast-color) 10%,transparent 65%); box-shadow:0 0 18px var(--cast-color),inset 0 0 10px #fff5c4; animation:at-epic-cast-emission 500ms ease-out both; }
.at-epic-duel .at-epic-cast-projectile { position:absolute; z-index:2; width:67px; height:67px; border:2px solid #fff4c4; border-radius:50%; background:radial-gradient(circle,#fff9d5,var(--cast-color) 35%,transparent 70%); box-shadow:0 0 15px var(--cast-color),0 0 25px var(--cast-color); animation:at-epic-cast-flight 580ms cubic-bezier(.25,.1,.7,1) both; }
.at-epic-duel .at-epic-cast-projectile::after { content:''; position:absolute; inset:10px -23px; z-index:-1; border-radius:50%; background:linear-gradient(90deg,transparent,var(--cast-color),transparent); filter:blur(4px); }
.at-epic-duel .at-epic-cast-art,.at-epic-duel .at-epic-impact-art { position:absolute; inset:0; display:block; background:url('../images/epic-magic-medallions.webp') var(--cast-col) var(--cast-row)/300% 200% no-repeat; }
.at-epic-duel .at-epic-cast-impact { position:absolute; left:var(--cast-to-x); top:var(--cast-to-y); width:var(--cast-impact-size); height:var(--cast-impact-size); opacity:0; background:radial-gradient(circle,transparent 23%,var(--impact-color) 25%,transparent 65%); border-radius:50%; animation:at-epic-cast-impact 1100ms 460ms ease-out both; }
.at-epic-duel .at-epic-cast-ring { position:absolute; inset:13%; border:5px solid var(--impact-color); border-radius:50%; box-shadow:0 0 17px var(--impact-color),inset 0 0 12px var(--impact-color); }
.at-epic-duel .at-epic-cast-ring-outer { inset:2%; border:2px dashed #fff8d3; box-shadow:none; animation:at-epic-rune-spin 2100ms linear infinite; }
.at-epic-duel .at-epic-impact-art { inset:26%; background-position:var(--impact-col) var(--impact-row); filter:drop-shadow(0 2px 3px #16372c99); }
.at-epic-duel .at-epic-cast-particles { position:absolute; inset:0; }
.at-epic-duel .at-epic-cast-particles i { position:absolute; left:50%; top:50%; width:13px; height:29px; margin:-14px -6px; background:linear-gradient(#fffde0,var(--impact-color)); clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%); transform:rotate(calc(var(--particle) * 45deg)) translateY(calc(var(--cast-impact-size) * -.48)); filter:drop-shadow(0 0 4px var(--impact-color)); }
.at-epic-duel .at-epic-cast-shield { position:absolute; inset:7% 16%; display:none; width:68%; height:86%; filter:drop-shadow(0 0 8px #a8efff); }
.at-epic-duel [data-defense="true"] .at-epic-cast-projectile { display:none; }
.at-epic-duel [data-defense="true"] .at-epic-cast-impact { animation-delay:0ms; }
.at-epic-duel [data-impact-type="freeze"] .at-epic-cast-ring { border-color:#d6f8ff; border-style:dashed; background:radial-gradient(circle,transparent 48%,#78c5ec60); }
.at-epic-duel [data-impact-type="motion"] .at-epic-cast-ring { border-width:9px; border-style:double; border-left-color:#fff3ff; animation:at-epic-rune-spin 900ms linear infinite; }
.at-epic-duel [data-impact-type="motion"] .at-epic-cast-ring-outer { animation-direction:reverse; }
.at-epic-duel [data-impact-type="tornado"] .at-epic-cast-ring { inset:8%; border:9px double #e4f9ff; animation:at-epic-wind-orbit 650ms ease-in-out infinite; }
.at-epic-duel [data-impact-type="tornado"] .at-epic-cast-ring-outer { inset:23% 0; animation-delay:-300ms; }
.at-epic-duel [data-impact-type="tornado"] .at-epic-cast-particles i { width:31px; height:6px; border-radius:50%; clip-path:none; }
.at-epic-duel [data-impact-type="ghost"] .at-epic-cast-ring { border-width:2px; background:radial-gradient(circle,#e9e2ff60,transparent 65%); }
.at-epic-duel [data-impact-type="ghost"] .at-epic-impact-art { inset:17%; opacity:.95; }
.at-epic-duel [data-impact-type="ghost"] .at-epic-cast-particles i { width:16px; height:16px; border-radius:50%; clip-path:none; filter:blur(2px); }
.at-epic-duel [data-impact-type="shield"] .at-epic-cast-ring { border-color:#ffe4a1; background:radial-gradient(circle,#94dcff40,transparent 70%); }
.at-epic-duel [data-impact-type="shield"] .at-epic-impact-art { display:none; }
.at-epic-duel [data-impact-type="shield"] .at-epic-cast-shield { display:block; }
.at-epic-duel [data-impact-type="antidote"] .at-epic-cast-ring,.at-epic-duel [data-impact-type="second-chance"] .at-epic-cast-ring { border-color:#d8ffa8; border-style:dotted; background:radial-gradient(circle,#a8ff9750,transparent 68%); }
.at-epic-duel .is-arena-hit-freeze > i { animation:at-epic-frozen-hit 900ms var(--arena-hit-delay,460ms) ease-out both; }
.at-epic-duel .is-arena-hit-motion > i { animation:at-epic-dizzy-hit 950ms var(--arena-hit-delay,460ms) ease-in-out both; }
.at-epic-duel .is-arena-hit-tornado > i { animation:at-epic-windy-hit 800ms var(--arena-hit-delay,460ms) ease-out both; }
.at-epic-duel .is-arena-hit-ghost > i { animation:at-epic-ghost-hit 950ms var(--arena-hit-delay,460ms) ease-in-out both; }
.at-epic-duel .is-arena-hit-shield > i,.at-epic-duel .is-arena-hit-antidote > i { animation:at-epic-defend-hit 850ms var(--arena-hit-delay,0ms) ease-out both; }
.at-epic-duel [data-reduced-motion="true"] .at-epic-cast-source,.at-epic-duel [data-reduced-motion="true"] .at-epic-cast-projectile,.at-epic-duel [data-reduced-motion="true"] .at-epic-cast-particles { display:none; }
.at-epic-duel [data-reduced-motion="true"] .at-epic-cast-impact { animation:none; opacity:.9; transform:translate(-50%,-50%); }
.at-epic-duel [data-reduced-motion="true"] .at-epic-cast-ring { animation:none; }
@keyframes at-epic-breathe { 0%,100% { transform:scaleY(1) rotate(-.15deg); } 50% { transform:scaleY(1.007) rotate(.25deg); } }
@keyframes at-epic-fan-idle { 0%,100% { transform:scaleY(1) rotate(-.5deg); } 50% { transform:scaleY(1.012) rotate(.7deg); } }
@keyframes at-epic-standard-wave { 0%,100% { transform:skewY(-.6deg); } 50% { transform:skewY(1deg) scaleX(.98); } }
@keyframes at-epic-rope-light { 0%,100% { opacity:.2; } 50% { opacity:.65; } }
@keyframes at-epic-rope-tension { 35% { filter:brightness(1.6); } 60% { filter:brightness(1.1); } }
@keyframes at-epic-final-banner { 50% { transform:skewY(3deg) scaleX(.96); filter:brightness(1.25); } }
@keyframes at-epic-goal-glint { 45% { filter:brightness(1.7) drop-shadow(0 0 7px #ffe29a); } }
@keyframes at-epic-cast-emission { 0% { opacity:0; transform:translate(-50%,-50%) scale(.3); } 25% { opacity:1; } 100% { opacity:0; transform:translate(-50%,-50%) scale(1.4); } }
@keyframes at-epic-cast-flight { 0% { opacity:0; left:var(--cast-from-x); top:var(--cast-from-y); transform:translate(-50%,-50%) scale(.4); } 12% { opacity:1; } 50% { left:calc((var(--cast-from-x) + var(--cast-to-x)) / 2); top:calc((var(--cast-from-y) + var(--cast-to-y)) / 2 - 48px); transform:translate(-50%,-50%) scale(.95) rotate(15deg); } 88% { opacity:1; } 100% { opacity:0; left:var(--cast-to-x); top:var(--cast-to-y); transform:translate(-50%,-50%) scale(.55) rotate(40deg); } }
@keyframes at-epic-cast-impact { 0% { opacity:0; transform:translate(-50%,-50%) scale(.25); } 17% { opacity:.95; transform:translate(-50%,-50%) scale(.9); } 45% { opacity:.9; transform:translate(-50%,-50%) scale(1); } 100% { opacity:0; transform:translate(-50%,-50%) scale(1.15); } }
@keyframes at-epic-rune-spin { to { transform:rotate(360deg); } }
@keyframes at-epic-wind-orbit { 0%,100% { transform:scaleY(.46) rotate(-15deg); } 50% { transform:scaleY(.65) rotate(15deg); } }
@keyframes at-epic-frozen-hit { 25%,65% { filter:brightness(1.15) saturate(.65) drop-shadow(0 0 3px #9be8ff); } }
@keyframes at-epic-dizzy-hit { 20%,65% { transform:rotate(-2deg) scale(.99); } 40%,80% { transform:rotate(2deg) scale(1.015); } }
@keyframes at-epic-windy-hit { 25% { transform:translateX(7px) rotate(1.5deg); } 55% { transform:translateX(-5px) rotate(-1deg); } }
@keyframes at-epic-ghost-hit { 30%,65% { opacity:.6; filter:saturate(.4); } }
@keyframes at-epic-defend-hit { 40% { filter:brightness(1.2); transform:scaleY(1.01); } }
@media(min-height:900px) and (min-width:851px) {
 .at-app .at-epic-duel > .at-duel-grid { flex-basis:278px; height:278px; }
 .at-app .at-epic-duel .at-epic-console { width:min(calc(100% - 64px),500px); height:278px; }
 .at-app .at-epic-duel .at-epic-lectern .at-controller-station { width:156px; }
 .at-app .at-epic-duel .at-epic-lectern > .at-epic-controls { grid-template-columns:minmax(0,1fr) 156px; }
 .at-app .at-epic-duel .at-epic-keypad .at-key { height:46px; min-height:46px; font-size:27px; }
 .at-epic-duel .at-epic-scoreboard { flex-basis:110px; }
 .at-epic-duel .at-epic-score-name { font-size:28px; }
}
@media(max-width:1199px) and (min-width:851px) {
 .at-app .at-epic-duel .at-epic-console { width:min(calc(100% - 64px),420px); }
 .at-epic-duel .at-epic-scoreboard { width:99%; }
 .at-epic-duel .at-epic-score-players { gap:32px; }
 .at-epic-duel .at-epic-score-player { grid-template-columns:34px minmax(0,1fr) auto; gap:6px; padding-inline:6px; }
 .at-epic-duel .at-epic-heraldry { width:34px; height:51px; }
 .at-epic-duel .at-epic-score-name { font-size:19px; }
 .at-epic-duel .at-epic-player-stats { gap:5px; }
 .at-epic-duel .at-epic-score-energy,.at-epic-duel .at-epic-goal-count { min-width:39px; grid-template-columns:17px auto; padding-inline:3px; }
 .at-epic-duel .at-epic-score-energy svg,.at-epic-duel .at-epic-goal-count svg { width:17px; }
 .at-epic-overlay-header .at-epic-app-title { font-size:14px; padding:8px 12px; }
}
@media(max-width:850px) {
 .at-app .at-epic-duel { overflow:auto; padding-top:68px; }
 .at-epic-overlay-header .at-epic-app-title { display:none; }
 .at-app.at-epic-mode > .at-header.at-epic-overlay-header { grid-template-columns:140px 1fr; gap:6px; inset:8px; }
 .at-epic-overlay-header .at-header-actions { justify-self:end; }
 .at-app .at-epic-overlay-header .at-logo-home { width:140px; }
 .at-epic-overlay-header .at-header-actions .at-btn { min-width:36px; padding:7px; }
 .at-epic-overlay-header .at-header-actions .at-btn span { display:none; }
 .at-app .at-epic-duel > .at-epic-scene { flex:0 0 350px; min-height:350px; }
 .at-epic-duel .at-epic-scoreboard { flex-basis:130px; width:100%; padding-inline:0; }
 .at-epic-duel .at-epic-score-players { gap:12px; }
 .at-epic-duel .at-epic-score-player { grid-template-columns:27px minmax(0,1fr); gap:4px; padding:5px; }
 .at-epic-duel .at-epic-heraldry { width:27px; height:44px; }
 .at-epic-duel .at-epic-player-stats { grid-column:1/-1; justify-content:center; }
 .at-epic-duel .at-epic-score-name { font-size:15px; }
 .at-epic-duel .at-epic-score-energy b,.at-epic-duel .at-epic-goal-count b { font-size:23px; }
 .at-epic-duel .at-epic-score-track { width:90%; }
 .at-app .at-epic-duel > .at-duel-grid { display:flex; flex-direction:column; gap:28px; height:auto; flex-basis:auto; align-items:center; padding-bottom:20px; }
 .at-app .at-epic-duel .at-epic-console { flex:0 0 268px; width:calc(100% - 64px); max-width:470px; }
 .at-epic-duel .at-epic-champion { width:min(210px,98cqh); height:min(210px,98cqh); }
 .at-epic-duel .at-epic-ink-drawer > header > strong { display:none; }
}
@media(prefers-reduced-motion:reduce) {
 .at-epic-duel .at-epic-scene * { animation:none!important; transition:none!important; }
 .at-epic-duel .is-raining .at-epic-weather { background:repeating-linear-gradient(105deg,transparent 0 27px,#c3e3e92e 28px 29px,transparent 30px 59px); }
 .at-epic-duel .is-fruit-flying .at-epic-fruit > i { display:none; }
 .at-epic-duel .at-epic-cast-source,.at-epic-duel .at-epic-cast-projectile,.at-epic-duel .at-epic-cast-particles { display:none; }
 .at-epic-duel .at-epic-cast-impact { opacity:.9; transform:translate(-50%,-50%); }
}
