.fa-prologue .fa-prologue-dialogue{left:50%;right:auto;bottom:max(24px,env(safe-area-inset-bottom));top:auto;transform:translateX(-50%);width:min(780px,calc(100% - 32px));padding:24px;box-sizing:border-box;background:#16302be8;backdrop-filter:blur(16px);border:1px solid #fff4d550;border-radius:16px;box-shadow:0 12px 40px #0005;color:#fff4db}
.fa-prologue-dialogue h2{font-size:14px;letter-spacing:.12em;text-wrap:balance}.fa-prologue-dialogue p{font:500 clamp(17px,2.3vw,23px)/1.5 system-ui;text-wrap:pretty}.fa-prologue button{min-height:44px;min-width:100px;transition:transform .15s ease,opacity .15s ease}.fa-prologue button:active{transform:scale(.96)}
.fa-prologue-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:28px;font-variant-numeric:tabular-nums}.fa-prologue-spinner{display:inline-block;width:18px;height:18px;border:2px solid #fff4;border-top-color:#f6df9a;border-radius:50%;animation:fa-prologue-spin 1s linear infinite}.fa-prologue-error{max-width:44ch;color:#ffe0ba;font-size:14px;line-height:1.5}
.fa-prologue-fade{position:absolute;inset:0;z-index:200;background:#000;opacity:0;transition:opacity .6s ease;pointer-events:auto}.fa-prologue-fade.is-black{opacity:1}
@keyframes fa-prologue-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.fa-prologue-spinner{animation:none}.fa-prologue button,.fa-prologue-fade{transition:none}}
#faunaraRekka.fa-prologue .fa-gym-panel.fa-prologue-dialogue{top:auto;left:50%;right:auto;bottom:max(24px,env(safe-area-inset-bottom));height:auto;min-height:0;max-height:45dvh;width:min(780px,calc(100% - 32px));transform:translateX(-50%);display:block;padding:22px 26px;text-align:left}
#faunaraRekka.fa-prologue .fa-prologue-dialogue p{margin:12px 0 18px;line-height:1.45}
#faunaraRekka.fa-prologue .fa-prologue-results .fa-prologue-loading{color:#fff4db}
#faunaraRekka.fa-prologue .fa-prologue-results{max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:24px;width:min(720px,calc(100% - 32px));left:50%;right:auto;transform:translateX(-50%)}
.fa-prologue-partner{color:#f5dc9d;font-weight:600}.fa-prologue-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:18px 0}.fa-prologue-preset-list{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.fa-prologue-preset-list button[aria-pressed=true]{background:#f5dc9d;color:#18312d;border-color:#f5dc9d}.fa-prologue-preset-description{line-height:1.45}.fa-prologue-preset-moves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;text-align:left;padding-left:24px}.fa-prologue-preset-moves li{padding:6px}.fa-prologue-preset-moves strong,.fa-prologue-preset-moves span{display:block}.fa-prologue-preset-moves span{font-size:13px;line-height:1.4;color:#e2dccb}.fa-prologue-results button:focus-visible{outline:3px solid #fff4db;outline-offset:3px}.fa-prologue-results button:disabled{opacity:.5}
@media(max-width:520px){#faunaraRekka.fa-prologue .fa-prologue-results{top:16px;padding:16px}.fa-prologue-preset-moves{grid-template-columns:1fr;gap:4px}.fa-prologue-preset-list button{flex:1 1 130px}.fa-prologue-actions button{flex:1 1 140px}}
#faunaraRekka.fa-prologue .fa-prologue-results{top:50%;bottom:auto;height:auto;min-height:0;transform:translate(-50%,-50%);color:#fff4db;display:block}
#faunaraRekka.fa-prologue .fa-prologue-results p{color:#e2dccb}
#faunaraRekka.fa-prologue .fa-prologue-results .fa-prologue-partner{color:#f5dc9d}
#faunaraRekka.fa-prologue .fa-prologue-results .fa-prologue-preset-list button,#faunaraRekka.fa-prologue .fa-prologue-results .fa-prologue-actions button{width:auto;margin:0;border-radius:8px;background:#314c4e;color:#fff4db;padding:12px 15px}
#faunaraRekka.fa-prologue .fa-prologue-results .fa-prologue-preset-list button[aria-pressed=true],#faunaraRekka.fa-prologue .fa-prologue-results .fa-prologue-actions button.primary{background:#f5dc9d;color:#18312d}
@media(max-width:520px){#faunaraRekka.fa-prologue .fa-prologue-results{top:16px;transform:translateX(-50%)}}
#faunaraRekka.fa-prologue .fa-prologue-loadout-strip{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;margin-top:14px}
#faunaraRekka.fa-prologue .fa-prologue-loadout-strip>[data-practice-cycle]{min-width:44px;width:44px;min-height:44px;padding:0;background:transparent;border:0;box-shadow:none;color:#fff4db}
#faunaraRekka.fa-prologue .fa-prologue-loadout-strip .fa-control-glyph{display:inline-grid;place-items:center;min-width:28px;min-height:28px;color:inherit}
#faunaraRekka.fa-prologue .fa-prologue-preset-list{gap:6px;flex-wrap:wrap}
#faunaraRekka.fa-prologue .fa-prologue-results .fa-prologue-preset-list button{display:grid;place-items:center;min-width:56px;width:64px;height:64px;flex:0 0 64px;padding:4px;background:#ffffff08;border:1px solid #fff4d530}
#faunaraRekka.fa-prologue .fa-prologue-results .fa-prologue-preset-list button[aria-pressed=true]{background:#f5dc9d22;border:2px solid #f5dc9d;box-shadow:0 0 0 2px #f5dc9d12}
#faunaraRekka.fa-prologue .fa-prologue-preset-list .fa-loadout-icon{width:54px;height:54px}
#faunaraRekka.fa-prologue .fa-prologue-preset-name{font-size:18px;color:#f5dc9d;margin:14px 0 4px}
#faunaraRekka.fa-prologue .fa-prologue-preset-description{margin-top:4px}
#faunaraRekka.fa-prologue .fa-prologue-preset-moves{list-style:none;padding:0;gap:10px 16px}
#faunaraRekka.fa-prologue .fa-prologue-preset-moves li{display:flex;align-items:center;gap:10px;min-width:0;padding:5px 0}
#faunaraRekka.fa-prologue .fa-prologue-preset-moves .rekka-move-icon{flex:0 0 44px;width:44px;height:44px;background-color:transparent;border:0;border-radius:0;box-shadow:none;background-size:800% 800%}
@media(max-width:520px){#faunaraRekka.fa-prologue .fa-prologue-loadout-strip{gap:4px;grid-template-columns:36px minmax(0,1fr) 36px}#faunaraRekka.fa-prologue .fa-prologue-loadout-strip>[data-practice-cycle]{min-width:36px;width:36px}#faunaraRekka.fa-prologue .fa-prologue-results .fa-prologue-preset-list button{width:52px;height:52px;min-width:52px;flex-basis:52px}#faunaraRekka.fa-prologue .fa-prologue-preset-list .fa-loadout-icon{width:44px;height:44px}}
#faunaraRekka.fa-prologue .fa-prologue-loadout-strip>[data-practice-cycle] .fa-control-glyph{font:800 17px/1 system-ui;min-width:30px;min-height:30px;background:#f5dc9d;color:#18312d;border:1px solid #f5dc9d;border-radius:6px;box-shadow:0 2px 0 #071b1b55}
@media(max-height:520px){#faunaraRekka.fa-prologue .fa-prologue-loadouts .fa-prologue-actions{position:sticky;bottom:-24px;z-index:1;padding:10px 0;margin-bottom:0;background:#19312ff5}}

/* Keep selection visible through dialogue, results, loadouts and loading retry. */
body.faunara-game #faunaraRekka.fa-prologue button[data-kore-focus]:focus:not(:disabled){outline:3px solid #fff4db!important;outline-offset:4px!important}
