/* ARCANIS_GAME_CODEX_BUILD:1257 */
#game #panelsBtn,#game #pauseBtn{position:relative;border:1px solid #eac28180!important;background:radial-gradient(ellipse at 50% 120%,#a948243b,transparent 70%),linear-gradient(135deg,#1e1324f2,#0b0b11f5)!important;color:#ffe1a5!important;box-shadow:0 0 20px #ff9a2820,inset 0 0 13px #ffd38712!important;text-shadow:0 0 13px #ff853866;transition:box-shadow .25s,border-color .25s;cursor:pointer}
#game #panelsBtn:hover,#game #pauseBtn:hover,#game #panelsBtn[aria-expanded=true],#game #pauseBtn[aria-expanded=true]{border-color:#ffe3aa!important;box-shadow:0 0 25px #ff9a2855,inset 0 0 18px #ffd38720!important}
#game #panelsBtn:focus-visible,#game #pauseBtn:focus-visible{outline:2px solid #fff1c3;outline-offset:4px}
#arcGameOverview{position:fixed!important;inset:0!important;z-index:2147483638;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 56%,#26112396,#000e 80%);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);color:#eee5d5;animation:arcCodexBackdrop .5s ease-out both;overscroll-behavior:contain}
#arcGameOverview[hidden]{display:none!important}
#arcGameOverview *,html body.arc-game-menu-open #modal *{box-sizing:border-box}
#arcGameOverview .v61-module-backdrop{position:absolute!important;inset:0!important;display:block!important;opacity:1!important;visibility:visible!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;transform:none!important;background:transparent!important;cursor:default;z-index:0!important}
#arcGameOverview .v61-dashboard,html body.arc-game-menu-open #modal#modal .modalbox{--codex-glow:#ffd387;--codex-flame:#ff632c;position:relative!important;isolation:isolate;display:flex!important;flex-direction:column!important;inset:auto!important;transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;width:min(1050px,100%)!important;min-width:0!important;height:auto!important;max-height:calc(100dvh - 48px)!important;padding:36px 36px 22px!important;margin:0!important;border:1px solid #ffd38770!important;border-radius:24px!important;background:radial-gradient(ellipse at 12% 82%,#ff632c17,transparent 60%),linear-gradient(125deg,#0b080ff4,#090b11fc 68%,#11090cf5)!important;box-shadow:0 30px 120px #000,0 0 70px #ffd38720,inset 0 0 90px #000d!important;overflow:hidden!important;animation:arcCodexArrival .85s cubic-bezier(.16,.8,.2,1) both}
#arcGameOverview .v61-dashboard::before,html body.arc-game-menu-open #modal .modalbox::before{content:'';position:absolute;inset:8px;border:1px solid #ffd38726;border-radius:18px;pointer-events:none}
#arcGameOverview .v61-dashboard-head{position:relative;display:block;padding:0 48px 22px 0;border:0;background:none;flex-shrink:0}
.arc-magic-runes{width:200px;height:20px;margin:0 0 14px;color:#ffd387;opacity:.45;filter:drop-shadow(0 0 7px #ff632c)}
.arc-magic-runes svg{width:100%;height:100%}
.arc-magic-eyebrow{margin:0 0 10px!important;color:#ffd387!important;font:800 9px/1.5 system-ui,sans-serif!important;letter-spacing:3px!important;text-shadow:0 0 15px #ff9c4850}
#arcGameOverview h2,html body.arc-game-menu-open #modal h2{margin:0!important;color:#fff2d4!important;font:500 clamp(29px,3.5vw,44px)/1.15 Georgia,serif!important;letter-spacing:-.02em!important;text-shadow:0 2px 12px #000,0 0 22px #ffd38740;overflow-wrap:anywhere}
.arc-magic-word{opacity:0;filter:blur(7px);animation:arcCodexWord 1.1s var(--word-delay) ease-out forwards}
#arcGameOverview .v61-dashboard-close,html body.arc-game-menu-open #modal #closeModal{position:absolute!important;right:0!important;top:0!important;width:39px!important;height:39px!important;padding:0!important;border:1px solid #a18b6457!important;border-radius:50%!important;color:#d8c8ae!important;background:#07070ab0!important;font:300 26px/1 system-ui,sans-serif!important;z-index:5!important;cursor:pointer}
html body.arc-game-menu-open #modal #closeModal{right:18px!important;top:14px!important}
#arcGameOverview .v61-dashboard-content{position:relative;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;min-height:0;overflow:auto!important;padding:2px 6px 16px 0!important;scrollbar-width:thin;scrollbar-color:#ffd38780 #08080c}
#arcGameOverview .v55-panel,#arcGameOverview .v614-special-panel{min-width:0;margin:0!important;padding:20px!important;border:1px solid #c5a16a38!important;border-radius:14px!important;background:linear-gradient(145deg,#19131eb5,#07090cbf)!important;box-shadow:inset 0 1px #ffe0a012,0 8px 24px #0004}
#arcGameOverview .v614-special-panel{grid-column:1/-1}
#arcGameOverview h3{margin:0 0 14px!important;color:#edcf98!important;font:700 13px/1.4 system-ui,sans-serif!important;letter-spacing:2px!important}
#arcGameOverview .v55-info-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #ffe2a114;color:#b4a9b6;font:12px/1.5 system-ui,sans-serif}
#arcGameOverview .v55-info-row b{color:#f9e5bc;font:600 15px/1.35 Georgia,serif;text-align:right}
#arcGameOverview #v55Chronicle,#arcGameOverview #v55History,#arcGameOverview #v55Events{max-height:180px;overflow:auto;scrollbar-width:thin;font:12px/1.7 system-ui,sans-serif;color:#c7bdc5}
#arcGameOverview .v55-panel p{margin:7px 0;color:#c7bdc5}
#arcGameOverview .v55-panel p b{color:#e4bf80}
#arcGameOverview .v614-special-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#arcGameOverview .v614-special-card{border-color:#c6a27430;background:#08090fb3;padding:12px;border-radius:12px}
#arcGameOverview .v614-special-card img{cursor:pointer;transition:filter .25s,transform .25s}
#arcGameOverview .v614-special-card img:hover{filter:drop-shadow(0 0 9px #ffb95670);transform:translateY(-3px)}
#arcGameOverview .v614-special-card h4{color:#f4d8a2;font-family:Georgia,serif}
#arcGameOverview .v614-special-card p{color:#bdb1bc;line-height:1.6}
.arc-magic-reveal{animation:arcMagicReveal 1.15s var(--reveal-delay) both}
.arc-magic-revealed .arc-magic-reveal,.arc-magic-revealed .arc-magic-word{animation:none!important;opacity:1!important;filter:none!important;transform:none!important}
.arc-magic-footer{position:relative;display:flex;align-items:center;gap:16px;flex-shrink:0;padding-top:16px;border-top:1px solid #ffd38724}
.arc-magic-instant{border:0;background:none;padding:11px 0;color:#b9ab99;font:700 9px/1.3 system-ui,sans-serif;letter-spacing:1.3px;cursor:pointer}
.arc-magic-return{margin-left:auto;padding:13px 16px;border:1px solid #ffd38780;border-radius:7px;background:linear-gradient(120deg,#271a1ebb,#121116ec);color:#ffe4b2;font:800 10px/1.3 system-ui,sans-serif;letter-spacing:1.2px;cursor:pointer}
.arc-magic-instant[hidden]{display:none!important}
#arcGameOverview button:focus-visible,html body.arc-game-menu-open #modal button:focus-visible,html body.arc-game-menu-open #modal input:focus-visible{outline:2px solid #fff1c3;outline-offset:4px}
html body.arc-game-menu-open #modal#modal{position:fixed!important;inset:0!important;display:grid!important;place-items:center!important;width:100%!important;height:100%!important;padding:24px!important;background:radial-gradient(ellipse at 50% 56%,#26112396,#000e 80%)!important;backdrop-filter:blur(9px)!important;-webkit-backdrop-filter:blur(9px)!important;z-index:2147483639!important;animation:arcCodexBackdrop .5s ease-out both}
html body.arc-game-menu-open #modal#modal .modalbox{width:min(690px,100%)!important;padding:40px 40px 26px!important;overflow:auto!important;scrollbar-width:thin;scrollbar-color:#ffd38780 #08080c}
html body.arc-game-menu-open #modal #modalBody{position:relative;z-index:1;min-width:0;width:100%;overflow:visible!important}
.arc-magic-menu>h2{padding-right:20px}
.arc-magic-menu>p:not(.arc-magic-eyebrow){margin:18px 0 22px!important;color:#bfb2bf!important;font:14px/1.8 Georgia,serif!important}
.arc-magic-menu>button.btn{display:block!important;width:100%!important;min-height:46px!important;padding:14px 18px!important;margin:12px 0!important;border:1px solid #b895605c!important;border-radius:10px!important;background:linear-gradient(120deg,#1e1424cc,#101119ee)!important;color:#e7d5b8!important;font:800 11px/1.4 system-ui,sans-serif!important;letter-spacing:1.5px!important;box-shadow:inset 0 0 24px #ffc56808!important;cursor:pointer;transition:border-color .25s,box-shadow .25s}
.arc-magic-menu>button.btn.gold{border-color:#ffd3878c!important;background:linear-gradient(120deg,#503017b5,#251821f0)!important;color:#fff0ca!important;box-shadow:0 0 22px #ff862c1c,inset 0 1px #ffe3a329!important}
.arc-magic-menu>button.btn:hover{border-color:#ffd387!important;box-shadow:0 0 25px #ffae492d!important}
.arc-magic-menu .arcanis-pause-audio,.arc-magic-menu section{border:1px solid #ffd3872e!important;border-radius:12px!important;background:#08090d8c!important;color:#dacbb5!important;padding:16px!important;margin:18px 0!important}
.arc-magic-menu .pause-audio-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#e9d6b3;font:600 13px/1.5 system-ui,sans-serif}
.arc-magic-menu .pause-audio-volume{display:flex;align-items:center;gap:12px;margin-top:14px;font:11px/1.5 system-ui,sans-serif;color:#ad9d99}
.arc-magic-menu input[type=range]{min-width:0;flex:1;accent-color:#e5b875;cursor:pointer}
.arc-magic-menu .btn.dark{border-color:#ffd38740!important;border-radius:7px!important;background:#211724!important;color:#e6cfa4!important}
#game.modules-open{filter:none!important;opacity:1!important}
@keyframes arcMagicReveal{from{opacity:0;filter:blur(7px);transform:translateY(10px)}to{opacity:1;filter:none;transform:none}}
@media(max-height:540px){#arcGameOverview{padding:10px}#arcGameOverview .v61-dashboard,html body.arc-game-menu-open #modal#modal .modalbox{max-height:calc(100dvh - 20px)!important;padding:20px 25px 14px!important;border-radius:17px!important}#arcGameOverview .v61-dashboard-head{padding-bottom:14px}.arc-magic-runes{width:160px;height:14px;margin-bottom:7px}.arc-magic-eyebrow{font-size:8px!important;margin-bottom:6px!important}#arcGameOverview h2,html body.arc-game-menu-open #modal h2{font-size:29px!important}#arcGameOverview .v55-panel,#arcGameOverview .v614-special-panel{padding:14px!important}#arcGameOverview .v61-dashboard-content{gap:10px!important}.arc-magic-footer{padding-top:10px}.arc-magic-return{padding:10px 12px}.arc-magic-menu>p:not(.arc-magic-eyebrow){font-size:12px!important;line-height:1.6!important;margin:12px 0!important}.arc-magic-menu>button.btn{min-height:39px!important;padding:10px 14px!important;margin:9px 0!important}.arc-magic-menu .arcanis-pause-audio,.arc-magic-menu section{padding:12px!important;margin:12px 0!important}html body.arc-game-menu-open #modal#modal{padding:10px!important}}
@media(max-width:540px) and (min-height:541px){#arcGameOverview{padding:12px}#arcGameOverview .v61-dashboard,html body.arc-game-menu-open #modal#modal .modalbox{max-height:calc(100dvh - 24px)!important;padding:30px 20px 20px!important;border-radius:18px!important}#arcGameOverview .v61-dashboard-content{grid-template-columns:1fr!important}#arcGameOverview .v614-special-grid{grid-template-columns:1fr}#arcGameOverview .v55-panel,#arcGameOverview .v614-special-panel{padding:16px!important}#arcGameOverview h2{font-size:29px!important}html body.arc-game-menu-open #modal#modal{padding:12px!important}.arc-magic-footer{gap:8px}.arc-magic-return{font-size:9px;padding:12px}.arc-magic-menu>p:not(.arc-magic-eyebrow){font-size:13px!important}}
@media(prefers-reduced-motion:reduce){#arcGameOverview,#arcGameOverview *,html body.arc-game-menu-open #modal,html body.arc-game-menu-open #modal *{animation:none!important}.arc-magic-word,.arc-magic-reveal{opacity:1!important;filter:none!important;transform:none!important}}

/* V12.57: menu, overview and scores form one uninterrupted button row. */
html body #game#game>.hud{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html body #game#game>.hud #pauseBtn,html body #game#game>.hud #panelsBtn,html body #game#game>.hud #scoreBtn{display:grid!important;place-items:center!important;position:fixed!important;top:max(12px,env(safe-area-inset-top))!important;left:auto!important;bottom:auto!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0!important;transform:none!important;border-radius:12px!important;pointer-events:auto!important;z-index:300!important}
html body #game#game>.hud #pauseBtn{right:calc(max(20px,env(safe-area-inset-right)) + 108px)!important}
html body #game#game>.hud #panelsBtn{right:calc(max(20px,env(safe-area-inset-right)) + 54px)!important}
html body #game#game>.hud #scoreBtn{right:max(20px,env(safe-area-inset-right))!important;border:1px solid #eac28180!important;background:radial-gradient(ellipse at 50% 120%,#a948243b,transparent 70%),linear-gradient(135deg,#1e1324f2,#0b0b11f5)!important;color:#ffe1a5!important;box-shadow:0 0 20px #ff9a2820,inset 0 0 13px #ffd38712!important;cursor:pointer}
html body #game#game>.hud #scoreBtn:hover,html body #game#game>.hud #scoreBtn[aria-expanded=true]{border-color:#ffe3aa!important;box-shadow:0 0 25px #ff9a2855,inset 0 0 18px #ffd38720!important}
html body #game#game>.hud #scoreBtn:focus-visible{outline:2px solid #fff1c3;outline-offset:4px}
html body.arc-game-menu-open #modal#modal:has(.arc-magic-score) .modalbox{width:min(780px,100%)!important;overflow:hidden!important}
html body.arc-game-menu-open #modal:has(.arc-magic-score) #modalBody{display:flex!important;flex-direction:column;min-height:0!important;overflow:hidden!important}
.arc-magic-score{position:relative;display:flex;flex-direction:column;min-height:0;width:100%}
.arc-magic-score>h2,.arc-magic-score>.arc-magic-runes,.arc-magic-score>.arc-magic-eyebrow{position:relative;z-index:1;flex-shrink:0}
.arc-magic-score>.arc-score-caption{font:12px/1.7 system-ui,sans-serif!important;margin:12px 0 20px!important;padding-right:55px;flex-shrink:0}
.arc-score-emblem{position:absolute;top:0;right:30px;width:100px;height:100px;opacity:.6;color:#ffd387;pointer-events:none;filter:drop-shadow(0 0 16px #ff9c4845)}
.arc-score-emblem svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.1}
.arc-score-emblem circle:first-child{stroke-dasharray:3 5;transform-origin:center;animation:spin 45s linear infinite}
.arc-score-list{min-height:0;overflow:auto;padding:0 2px 10px;scrollbar-width:thin;scrollbar-color:#ffd38780 #08080c}
html body #modal .arc-score-table{width:100%;border-collapse:separate!important;border-spacing:0 9px;table-layout:fixed}
html body #modal .arc-score-table thead th{padding:0 12px 2px!important;border:0!important;color:#ad9c90!important;background:none!important;font:800 8px/1.4 system-ui,sans-serif!important;text-transform:uppercase;letter-spacing:2px}
.arc-score-table thead th:first-child{width:66px}
.arc-score-table thead th:last-child{width:125px;text-align:right!important}
html body #modal .arc-score-table tbody tr{--place-color:#bfa77f;background:none!important}
html body #modal .arc-score-table tbody tr.arc-score-place-1{--place-color:#ffdb84}
html body #modal .arc-score-table tbody tr.arc-score-place-2{--place-color:#d2dbed}
html body #modal .arc-score-table tbody tr.arc-score-place-3{--place-color:#dda77e}
html body #modal .arc-score-table tbody td,html body #modal .arc-score-table tbody th{padding:14px 12px!important;border-top:1px solid #ffd3872e!important;border-bottom:1px solid #ffd3872e!important;background:linear-gradient(125deg,#1a1321de,#0b0b13e8)!important;color:#e9d7bf!important;text-align:left;vertical-align:middle;overflow-wrap:anywhere}
html body #modal .arc-score-table tbody td:first-child{border-left:1px solid #ffd3872e!important;border-radius:12px 0 0 12px}
html body #modal .arc-score-table tbody td:last-child{border-right:1px solid #ffd3872e!important;border-radius:0 12px 12px 0;text-align:right!important;white-space:nowrap}
html body #modal .arc-score-table tbody .arc-score-place-1 td,html body #modal .arc-score-table tbody .arc-score-place-1 th{background:linear-gradient(120deg,#5030179c,#1c1321ee)!important;border-color:#ffd38765!important;box-shadow:0 0 17px #ff9c480c}
.arc-score-rank{display:grid;place-items:center;width:32px;height:32px;border:1px solid color-mix(in srgb,var(--place-color) 50%,transparent);border-radius:50%;color:var(--place-color);background:#08080c70;font:500 19px/1 Georgia,serif;box-shadow:0 0 16px #ff9c4812}
.arc-score-name{color:#f1dfc5;font:500 18px/1.35 Georgia,serif}
.arc-score-player-rank{display:block;margin-top:4px;color:#ac9eb0;font:9px/1.4 system-ui,sans-serif}
.arc-score-you{display:inline-block;margin:0 0 0 8px;border:1px solid #ffd38745;border-radius:4px;padding:2px 4px;color:#ffe1a5;font:800 7px/1.3 system-ui,sans-serif;letter-spacing:1px;vertical-align:middle}
.arc-score-points{color:var(--place-color);font:500 27px/1 Georgia,serif;text-shadow:0 0 18px #ffcf761f}
.arc-score-unit{margin-left:7px;color:#988b86;font:800 9px/1 system-ui,sans-serif;letter-spacing:1px}
.arc-magic-score>[data-arc-score-close]{flex-shrink:0}
.arc-magic-score>.arc-magic-footer{flex-shrink:0;padding-top:7px}
@media(max-width:1099px),(max-height:540px){
 html body #game#game>.hud #pauseBtn,html body #game#game>.hud #panelsBtn,html body #game#game>.hud #scoreBtn{top:max(6px,env(safe-area-inset-top))!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;border-radius:10px!important}
 html body #game#game>.hud #pauseBtn{right:calc(max(8px,env(safe-area-inset-right)) + 88px)!important}
 html body #game#game>.hud #panelsBtn{right:calc(max(8px,env(safe-area-inset-right)) + 44px)!important}
 html body #game#game>.hud #scoreBtn{right:max(8px,env(safe-area-inset-right))!important}
}
@media(max-height:540px){
 .arc-score-emblem{width:70px;height:70px;right:25px}
 .arc-magic-score>.arc-score-caption{font-size:10px!important;margin:6px 0 8px!important}
 html body #modal .arc-score-table{border-spacing:0 6px}
 html body #modal .arc-score-table tbody td,html body #modal .arc-score-table tbody th{padding:8px 12px!important}
 .arc-score-rank{width:27px;height:27px;font-size:16px}.arc-score-name{font-size:16px}.arc-score-points{font-size:23px}
}
@media(max-width:540px) and (min-height:541px){
 .arc-score-emblem{width:68px;height:68px;right:12px;opacity:.35}
 .arc-magic-score>.arc-score-caption{padding-right:0;font-size:11px!important}
 .arc-score-table thead th:first-child{width:49px}.arc-score-table thead th:last-child{width:88px}
 html body #modal .arc-score-table tbody td,html body #modal .arc-score-table tbody th{padding:12px 8px!important}
 .arc-score-rank{width:28px;height:28px;font-size:17px}.arc-score-name{font-size:16px}.arc-score-points{font-size:24px}.arc-score-unit{margin-left:4px}
}
@media(prefers-reduced-motion:reduce){.arc-score-emblem circle{animation:none!important}}
html body.arc-game-menu-open #modal#modal.hidden{display:none!important}
html body #modal .arc-score-table thead tr{background:none!important}
