/* /Components/AuthShell.razor.rz.scp.css */
.auth-screen[b-uzta7h6aha] {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100svh;
    overflow: hidden;
    padding: clamp(1rem, 4vw, 1.7rem);
    background:
        linear-gradient(rgba(112, 145, 169, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(112, 145, 169, .045) 1px, transparent 1px),
        radial-gradient(circle at 82% 18%, rgba(206, 163, 89, .14), transparent 18rem),
        radial-gradient(circle at 12% 78%, rgba(55, 109, 139, .2), transparent 22rem),
        linear-gradient(155deg, #132436, #0a1521 70%);
    background-size: 48px 48px, 48px 48px, auto, auto, auto;
}

.auth-screen__glow[b-uzta7h6aha] {
    position: absolute;
    top: 18%;
    left: 50%;
    width: min(72vw, 430px);
    aspect-ratio: 1;
    transform: translateX(-50%);
    border: 1px solid rgba(224, 183, 107, .1);
    border-radius: 50%;
    box-shadow: 0 0 90px rgba(67, 125, 153, .12), inset 0 0 70px rgba(218, 176, 99, .04);
    pointer-events: none;
}

.auth-brand[b-uzta7h6aha] {
    position: relative;
    z-index: 1;
    width: fit-content;
}

.auth-card[b-uzta7h6aha] {
    position: relative;
    z-index: 1;
    align-self: center;
    width: min(100%, 450px);
    margin: 1.5rem auto;
    overflow: hidden;
    border: 1px solid #465d72;
    border-radius: 1rem;
    background: linear-gradient(150deg, rgba(29, 49, 67, .97), rgba(15, 29, 43, .98));
    box-shadow: 0 28px 70px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .04);
}

.auth-card__heading[b-uzta7h6aha] {
    padding: 1.35rem 1.4rem 1.05rem;
    border-bottom: 1px solid rgba(101, 130, 151, .24);
    background: radial-gradient(circle at 92% -30%, rgba(226, 181, 101, .2), transparent 58%);
}

.auth-card__heading > span[b-uzta7h6aha] { color: #e7b767; font-size: .625rem; font-weight: 850; letter-spacing: .17em; }
.auth-card__heading h1[b-uzta7h6aha] { margin: .28rem 0 .38rem; color: #f4ead8; font: 700 clamp(1.65rem, 6vw, 2rem) Georgia, serif; }
.auth-card__heading p[b-uzta7h6aha] { margin: 0; color: #9fb2c1; font-size: .78rem; line-height: 1.55; }

.auth-form[b-uzta7h6aha] { display: grid; gap: 1rem; padding: 1.2rem 1.4rem 1.35rem; }
.auth-form__fields[b-uzta7h6aha] { display: grid; min-width: 0; margin: 0; padding: 0; border: 0; gap: .85rem; }
.auth-screen[b-uzta7h6aha]  .auth-field__error { color: #f2b4b5; font-size: .76rem; line-height: 1.4; }
.auth-screen[b-uzta7h6aha]  .auth-field input[aria-invalid="true"] { border-color: #dd8585; }
.auth-screen[b-uzta7h6aha]  .auth-field input:disabled { opacity: .72; cursor: wait; }
.auth-screen[b-uzta7h6aha]  .auth-field__reveal:disabled { opacity: .5; cursor: wait; }

.auth-screen[b-uzta7h6aha]  .auth-field { display: grid; gap: .38rem; margin: 0; }
.auth-screen[b-uzta7h6aha]  .auth-field > span { color: #becbd5; font-size: .7rem; font-weight: 750; }
.auth-screen[b-uzta7h6aha]  .auth-field__control { position: relative; display: flex; align-items: center; }
.auth-screen[b-uzta7h6aha]  .auth-field__icon { position: absolute; left: .78rem; z-index: 1; display: grid; place-items: center; width: 1.25rem; color: #d7ad65; font-size: .78rem; pointer-events: none; }
.auth-screen[b-uzta7h6aha]  .auth-field input {
    width: 100%;
    min-height: 52px;
    border: 1px solid #465d70;
    border-radius: .68rem;
    padding: .7rem .8rem .7rem 2.55rem;
    background: rgba(7, 19, 30, .68);
    color: #eef3f6;
    outline: none;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.auth-screen[b-uzta7h6aha]  .auth-field__control:has(.auth-field__reveal) input { padding-right: 4.35rem; }
.auth-screen[b-uzta7h6aha]  .auth-field__reveal {
    position: absolute;
    right: .35rem;
    z-index: 2;
    min-width: 3.35rem;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: .5rem;
    padding: .35rem .55rem;
    color: #c6d4dd;
    background: transparent;
    font-size: .66rem;
    font-weight: 800;
    cursor: pointer;
}
.auth-screen[b-uzta7h6aha]  .auth-field__reveal:hover { border-color: #4f687b; background: #162a3a; color: #f0ca83; }
.auth-screen[b-uzta7h6aha]  .auth-field__reveal:focus-visible { outline: 2px solid #f0c77f; outline-offset: 1px; }
.auth-screen[b-uzta7h6aha]  .auth-field__reveal[aria-pressed="true"] { color: #f0ca83; background: #182d3e; }

.auth-screen[b-uzta7h6aha]  .auth-field input::placeholder { color: #63798b; }
.auth-screen[b-uzta7h6aha]  .auth-field input:hover { border-color: #617a8e; }
.auth-screen[b-uzta7h6aha]  .auth-field input:focus { border-color: #e0b467; background: #0b1b29; box-shadow: 0 0 0 3px rgba(224, 180, 103, .13); }

.auth-form__error[b-uzta7h6aha] {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin: 0;
    padding: .68rem .75rem;
    border: 1px solid rgba(221, 111, 112, .48);
    border-radius: .6rem;
    background: rgba(105, 39, 45, .24);
    color: #f2b4b5;
    font-size: .72rem;
    line-height: 1.45;
}

.auth-form__error span[b-uzta7h6aha] { display: grid; place-items: center; flex: 0 0 1.15rem; height: 1.15rem; border-radius: 50%; background: #bd6668; color: #1a1013; font-weight: 900; }

.auth-form__submit[b-uzta7h6aha] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    border: 1px solid #efc06d;
    border-radius: .7rem;
    padding: .7rem 1rem;
    background: linear-gradient(135deg, #efc06d, #dca755);
    color: #17212a;
    font-size: .82rem;
    font-weight: 850;
    box-shadow: 0 8px 22px rgba(190, 137, 53, .18);
}

.auth-form__submit:hover:not(:disabled)[b-uzta7h6aha] { filter: brightness(1.06); transform: translateY(-1px); }
.auth-form__submit:focus-visible[b-uzta7h6aha] { outline: 2px solid #fff0c6; outline-offset: 3px; }
.auth-form__submit:disabled[b-uzta7h6aha] { transform: none; }
.auth-form__submit span:last-child[b-uzta7h6aha] { font-size: 1rem; }

.auth-alternate[b-uzta7h6aha] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 52px;
    padding: .7rem 1rem;
    border-top: 1px solid rgba(101, 130, 151, .2);
    background: rgba(7, 18, 28, .26);
    color: #879cab;
    font-size: .7rem;
}

.auth-alternate a[b-uzta7h6aha] { color: #e9bc70; font-weight: 800; text-decoration: none; }
.auth-alternate a:hover[b-uzta7h6aha] { color: #ffdda0; text-decoration: underline; }
.auth-alternate a:focus-visible[b-uzta7h6aha] { outline: 2px solid #f0c77f; outline-offset: 3px; }

.auth-loading[b-uzta7h6aha] { display: grid; place-items: center; gap: .4rem; padding: 2.7rem 1rem; text-align: center; }
.auth-loading > span[b-uzta7h6aha] { width: 30px; height: 30px; margin-bottom: .35rem; border: 3px solid #3e5669; border-top-color: #e4b564; border-radius: 50%; animation: auth-spin-b-uzta7h6aha .8s linear infinite; }
.auth-loading strong[b-uzta7h6aha] { color: #e9edf1; font-size: .85rem; }
.auth-loading small[b-uzta7h6aha] { color: #8499aa; font-size: .68rem; }

.auth-footer[b-uzta7h6aha] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    color: #647b8d;
    font-size: .625rem;
    letter-spacing: .05em;
}

.auth-footer span[b-uzta7h6aha] { width: 5px; height: 5px; border-radius: 50%; background: #63c79a; box-shadow: 0 0 8px rgba(99, 199, 154, .6); }

@keyframes auth-spin-b-uzta7h6aha { to { transform: rotate(360deg); } }

@container game-shell (max-width: 430px) {
    .auth-screen[b-uzta7h6aha] { padding: .85rem; }
    .auth-card[b-uzta7h6aha] { margin-block: 1rem; border-radius: .88rem; }
    .auth-card__heading[b-uzta7h6aha] { padding: 1.15rem 1.05rem .9rem; }
    .auth-form[b-uzta7h6aha] { padding: 1rem 1.05rem 1.15rem; }
    .auth-footer[b-uzta7h6aha] { font-size: .625rem; }
}

@media (prefers-reduced-motion: reduce) {
    .auth-loading > span[b-uzta7h6aha] { animation: none; }
    .auth-form__submit[b-uzta7h6aha] { transition: none; }
}

.auth-alternate a[b-uzta7h6aha] { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding-inline: .5rem; }
.auth-screen[b-uzta7h6aha]  .auth-field input { font-size: 16px; }
@media (max-width: 600px) {
    .auth-card__heading[b-uzta7h6aha] { padding-block: .9rem; }
    .auth-card__heading h1[b-uzta7h6aha] { margin: 0; }
    .auth-alternate[b-uzta7h6aha] { padding-block: .25rem; }
}
@media (min-width: 600px) and (max-height: 500px) and (orientation: landscape) {
    .auth-screen[b-uzta7h6aha] { min-height: 100dvh; padding: .6rem 1rem; gap: .5rem; grid-template-rows: auto 1fr auto; }
    .auth-card[b-uzta7h6aha] { width: min(100%, 600px); margin: 0 auto; }
    .auth-card__heading[b-uzta7h6aha] { padding: .55rem 1rem; }
    .auth-card__heading h1[b-uzta7h6aha] { margin: 0; font-size: 1.3rem; }
    .auth-form[b-uzta7h6aha] { padding: .6rem 1rem; gap: .55rem; }
    .auth-form__fields[b-uzta7h6aha] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .auth-alternate[b-uzta7h6aha] { padding-block: 0; min-height: 44px; }
}
@media (max-width: 599px) and (max-height: 500px) {
    .auth-screen[b-uzta7h6aha] { padding: .5rem; }
    .auth-card[b-uzta7h6aha] { align-self: start; margin-block: .5rem; }
}

/* Start near the top on phones so the keyboard does not push the next action away. */
@media (max-width: 599px) {
    .auth-screen[b-uzta7h6aha] { grid-template-rows: auto auto 1fr; gap: 1rem; padding: max(.85rem, env(safe-area-inset-top)) max(.85rem, env(safe-area-inset-right)) max(.85rem, env(safe-area-inset-bottom)) max(.85rem, env(safe-area-inset-left)); }
    .auth-card[b-uzta7h6aha] { align-self: start; margin-block: 0; }
    .auth-footer[b-uzta7h6aha] { align-self: end; }
    .auth-screen[b-uzta7h6aha]  .auth-field input { scroll-margin-block: 5rem; }
}
@media (max-width: 599px) and (max-height: 500px) {
    .auth-screen[b-uzta7h6aha] { gap: .5rem; }
    .auth-card__heading[b-uzta7h6aha] { padding-block: .65rem; }
    .auth-form[b-uzta7h6aha] { padding-block: .7rem; gap: .7rem; }
    .auth-form__fields[b-uzta7h6aha] { gap: .65rem; }
    .auth-footer[b-uzta7h6aha] { display: none; }
}
/* /Components/BattleActionQueue.razor.rz.scp.css */
.action-queue[b-aa4q9b1z3k] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 2px 3px 2px 5px;
    border: 1px solid #b4c7cb1c;
    border-radius: 8px;
    background: linear-gradient(110deg, #10273580, #0a1c2859 42%, #10263333);
}

.action-queue__heading[b-aa4q9b1z3k] { display: flex; align-items: center; flex: none; gap: 2px; padding-right: 1px; user-select: none; }
.action-queue__heading-text[b-aa4q9b1z3k] { display: grid; gap: 1px; min-width: 23px; text-align: center; }
.action-queue__heading strong[b-aa4q9b1z3k] { color: #ebd5ac; font-size: 10px; line-height: 1.2; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.action-queue__heading small[b-aa4q9b1z3k] { color: #8da7b5; font-size: 8px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.action-queue__direction[b-aa4q9b1z3k] { width: 10px; height: 18px; color: #c6a970; opacity: .8; }
.action-queue__list[b-aa4q9b1z3k] { display: flex; align-items: center; gap: 5px; min-width: 0; flex: 1; margin: 0; padding: 1px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; list-style: none; scroll-padding-inline: 2px; }
.action-queue__list[b-aa4q9b1z3k]::-webkit-scrollbar { display: none; }
.action-queue__entry[b-aa4q9b1z3k] { position: relative; flex: none; }
.action-queue__entry.is-phase-start[b-aa4q9b1z3k] { padding-left: 8px; }
.action-queue__entry.is-phase-start[b-aa4q9b1z3k]::before { content: ""; position: absolute; left: 1px; top: 7px; bottom: 7px; width: 1px; background: linear-gradient(transparent, #b9c9cd55 30%, #b9c9cd55 70%, transparent); }
.action-queue__entry.is-manual-skill + .is-manual-skill[b-aa4q9b1z3k]::before { content: ""; position: absolute; top: 50%; left: -5px; width: 5px; height: 1px; background: #d7ad6157; }

.action-queue__icon[b-aa4q9b1z3k] {
    --action-tint: #7897ad;
    position: relative;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 1px;
    border: 1px solid #96b5c025;
    border-radius: 7px;
    background: radial-gradient(ellipse at 50% 95%, #6e98b321, transparent 80%), #152a3666;
    color: #cfdfec;
    cursor: pointer;
    transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}
.action-queue__icon img[b-aa4q9b1z3k], .action-queue__icon svg[b-aa4q9b1z3k] { width: 26px; height: 26px; object-fit: contain; pointer-events: none; }
.action-queue__icon img[b-aa4q9b1z3k] { image-rendering: pixelated; filter: drop-shadow(0 1px 2px #0008); }
.action-queue__icon--soulimprint[b-aa4q9b1z3k] { --action-tint: #b29adf; border-color: #b29adf54; background: radial-gradient(ellipse at 50% 85%, #a47ad52b, #29334544 85%); }
.action-queue__icon--consumable[b-aa4q9b1z3k] { --action-tint: #7bbaa2; border-color: #7bbaa247; background: radial-gradient(ellipse at 50% 85%, #62b88d21, #1f3a3544 85%); }
.action-queue__icon--skill[b-aa4q9b1z3k] { --action-tint: #90b9c5; }
.action-queue__icon.is-manual[b-aa4q9b1z3k] { --action-tint: #e0bd79; border-color: #d0aa626e; }
.action-queue__icon--skill.is-manual[b-aa4q9b1z3k] { border-color: #d6af68ae; background: radial-gradient(ellipse at 50% 100%, #d7a65130, transparent 85%), #172c37b3; box-shadow: inset 0 0 0 1px #e2bb660b; }
.action-queue__icon--normalattack[b-aa4q9b1z3k] { width: 26px; border-color: transparent; background: transparent; }
.action-queue__icon--normalattack svg[b-aa4q9b1z3k] { width: 20px; height: 20px; opacity: .66; }
.action-queue__icon--normalattack .action-queue__actor[b-aa4q9b1z3k] { color: #a4b9c4; border-color: #6983904d; }
.action-queue__icon:hover[b-aa4q9b1z3k] { border-color: #dcd4b88c; background-color: #56788740; }
.action-queue__icon[aria-expanded="true"][b-aa4q9b1z3k] { border-color: var(--action-tint); background-color: #c9a15b26; box-shadow: 0 0 8px #dfb36c38, inset 0 0 5px #efd7a91a; }
.action-queue__icon[aria-expanded="true"] svg[b-aa4q9b1z3k] { opacity: 1; }
.action-queue__icon:focus-visible[b-aa4q9b1z3k], .action-queue__list:focus-visible[b-aa4q9b1z3k] { outline: 2px solid #efd092; outline-offset: -2px; }
.action-queue__actor[b-aa4q9b1z3k] { position: absolute; right: -1px; bottom: -1px; display: grid; place-items: center; box-sizing: border-box; width: 12px; height: 12px; border: 1px solid #7998a65e; border-radius: 50%; background: #091d2bf5; color: #d3dfdf; font: 700 9px/1 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.action-queue__manual-order[b-aa4q9b1z3k] { position: absolute; left: -1px; top: -1px; display: grid; place-items: center; width: 12px; height: 13px; padding-bottom: 2px; clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%); border-radius: 3px 0 0; background: linear-gradient(#f0d392, #cda258); color: #17252b; font: 800 9px/1 system-ui, sans-serif; font-variant-numeric: tabular-nums; text-shadow: 0 1px #fff3; }
.action-queue__condition[b-aa4q9b1z3k] { position: absolute; right: 0; top: 0; display: grid; place-items: center; width: 10px; height: 11px; border-radius: 0 5px 0 4px; background: #102332ed; color: #b3c6cf; font: 600 9px/1 system-ui, sans-serif; }
.action-queue__fallback[b-aa4q9b1z3k] { font-size: 17px; line-height: 1; color: #d9c29c; }
.action-queue__icon.is-blocked img[b-aa4q9b1z3k], .action-queue__icon.is-blocked svg[b-aa4q9b1z3k] { filter: grayscale(1); opacity: .4; }
.action-queue__icon.is-blocked[b-aa4q9b1z3k] { border-color: #b3807066; }
.action-queue__icon.is-blocked .action-queue__condition[b-aa4q9b1z3k] { background: #653f35; color: #ffe0cb; }
.action-queue__empty[b-aa4q9b1z3k] { margin: 0 8px 0 2px; color: #a1b5bd; font-size: 11px; line-height: 32px; }
.action-queue--auto[b-aa4q9b1z3k] { border-color: #96afbb29; background: linear-gradient(110deg, #102633d4, #0b1d28ab); }
.action-queue--auto .action-queue__heading strong[b-aa4q9b1z3k] { color: #b8cbd1; }
.action-queue--auto .action-queue__heading small[b-aa4q9b1z3k] { color: #82b9b0; font-size: 7px; letter-spacing: .04em; }
.action-queue--auto .action-queue__direction[b-aa4q9b1z3k] { color: #88b3b1; }

/* Scroll hints sit in the strip's edge gutters, outside the artwork. */
.action-queue[b-aa4q9b1z3k]::before, .action-queue[b-aa4q9b1z3k]::after { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); display: none; align-items: center; height: 28px; width: 12px; color: #e5c68d; font: 600 16px/1 system-ui, sans-serif; pointer-events: none; }
.action-queue[data-hidden-before="true"][b-aa4q9b1z3k]::before { content: "‹"; display: flex; left: 45px; justify-content: start; background: linear-gradient(90deg, #0c202ef5 20%, transparent); }
.action-queue[data-hidden-after="true"][b-aa4q9b1z3k]::after { content: "›"; display: flex; right: 2px; justify-content: end; background: linear-gradient(270deg, #0c202ef5 20%, transparent); }

.action-queue__detail[b-aa4q9b1z3k] { position: absolute; z-index: 1; left: 50%; width: min(300px, calc(100vw - 3rem)); transform: translateX(-50%); top: calc(100% + 8px); display: flex; align-items: flex-start; gap: 4px; padding: 10px 7px 10px 12px; border: 1px solid #b7a17b8f; border-top-color: #e0c18aaf; border-radius: 12px; background: linear-gradient(135deg, #203d4cf7, #112736fc 70%); box-shadow: 0 8px 25px #020a1380, inset 0 1px #fff8de09; }
.action-queue__detail[b-aa4q9b1z3k]::after { content: ""; position: absolute; top: -4px; left: calc(50% - 3px); width: 6px; height: 6px; transform: rotate(45deg); border-left: 1px solid #e0c18aaf; border-top: 1px solid #e0c18aaf; background: #203d4c; }
.action-queue__detail-body[b-aa4q9b1z3k] { flex: 1; min-width: 0; }
.action-queue__detail-heading[b-aa4q9b1z3k] { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.action-queue__detail-heading > span[b-aa4q9b1z3k] { color: #d8bb84; font-size: 10px; line-height: 1.2; letter-spacing: .12em; }
.action-queue__detail-heading > small[b-aa4q9b1z3k] { padding-left: 7px; border-left: 1px solid #95a5a73d; color: #8fa9b9; font: 400 10px/1.2 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.action-queue__detail-identity[b-aa4q9b1z3k] { display: flex; align-items: center; gap: 9px; }
.action-queue__detail-art[b-aa4q9b1z3k] { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #bda16b66; border-radius: 8px; background: radial-gradient(#c39a5733, #09202c66); color: #d9c28f; font-size: 21px; }
.action-queue__detail-art img[b-aa4q9b1z3k] { width: 30px; height: 30px; object-fit: contain; image-rendering: pixelated; }
.action-queue__detail-identity > div[b-aa4q9b1z3k] { display: grid; gap: 4px; min-width: 0; }
.action-queue__detail strong[b-aa4q9b1z3k] { color: #f1e0c2; font-size: 12px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.action-queue__detail-identity small[b-aa4q9b1z3k] { color: #adc0ca; font-size: 10px; line-height: 1.5; }
.action-queue__detail-note[b-aa4q9b1z3k] { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 0; padding-top: 7px; border-top: 1px solid #a5bdc323; color: #b9c7cc; font-size: 10px; line-height: 1.5; }
.action-queue__detail-note > span[b-aa4q9b1z3k] { flex: none; color: #ddbc80; font-weight: 700; }
.action-queue__detail button[b-aa4q9b1z3k] { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -4px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #a9bec8; cursor: pointer; }
.action-queue__detail button svg[b-aa4q9b1z3k] { width: 16px; height: 16px; }
.action-queue__detail button:hover[b-aa4q9b1z3k] { background: #839ba526; color: #f2d6a7; }
.action-queue__detail button:focus-visible[b-aa4q9b1z3k] { outline: 2px solid #efd092; outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) { .action-queue__icon[b-aa4q9b1z3k] { transition: none; } }
/* Action details remain a lightweight anchored preview, with a full touch target. */
.action-queue__detail[b-aa4q9b1z3k] { width: min(340px, calc(100vw - 32px)); box-sizing: border-box; padding: 14px; gap: 8px; border-color: #607488; border-top-color: #b6a07a; border-radius: 14px; background: linear-gradient(145deg, #203243, #142536 70%); box-shadow: 0 14px 40px #0007; }
.action-queue__detail button[b-aa4q9b1z3k] { width: 44px; height: 44px; margin: -6px -6px 0 0; border: 1px solid #71899d35; border-radius: 10px; background: #0b1a283d; }
.action-queue__detail-heading > span[b-aa4q9b1z3k], .action-queue__detail-heading > small[b-aa4q9b1z3k] { font-size: 11px; }
.action-queue__detail strong[b-aa4q9b1z3k] { font-size: 13px; line-height: 1.55; }
.action-queue__detail-identity small[b-aa4q9b1z3k], .action-queue__detail-note[b-aa4q9b1z3k] { font-size: 12px; line-height: 1.6; }
.action-queue__detail-art[b-aa4q9b1z3k] { width: 40px; height: 40px; }

/* The ROUND strip supplies the surface; only the skill artwork needs a frame. */
.action-queue[b-aa4q9b1z3k] { height: 44px; gap: 2px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.action-queue__heading[b-aa4q9b1z3k] { gap: 0; }
.action-queue__heading-text[b-aa4q9b1z3k] { min-width: 22px; }
.action-queue__direction[b-aa4q9b1z3k] { width: 8px; }
.action-queue__list[b-aa4q9b1z3k] { gap: 2px; padding-block: 0; }
.action-queue__icon[b-aa4q9b1z3k] { width: 44px; height: 44px; padding: 3px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.action-queue__icon img[b-aa4q9b1z3k], .action-queue__icon svg[b-aa4q9b1z3k] { width: 32px; height: 32px; border: 1px solid #b6a37599; border-radius: 2px; background: #0b1824; }
.action-queue__icon[aria-expanded="true"] img[b-aa4q9b1z3k], .action-queue__icon[aria-expanded="true"] svg[b-aa4q9b1z3k] { border-color: #f2cd81; box-shadow: 0 0 6px #dfb36c66; }
.action-queue__icon--normalattack[b-aa4q9b1z3k] { width: 44px; }
.action-queue__actor[b-aa4q9b1z3k] { right: 2px; bottom: 2px; width: 14px; height: 14px; font-size: 10px; }
.action-queue__manual-order[b-aa4q9b1z3k] { left: 2px; top: 2px; }
.action-queue[data-hidden-before="true"][b-aa4q9b1z3k]::before { left: 31px; }

/* Keep the execution order readable without turning every action into a card. */
.action-queue__heading-text[b-aa4q9b1z3k] { min-width: 20px; }
.action-queue__heading strong[b-aa4q9b1z3k] { color: #91a8b6; font-size: 9px; font-weight: 500; }
.action-queue__direction[b-aa4q9b1z3k] { display: none; }
.action-queue__list[b-aa4q9b1z3k] { gap: 0; }
.action-queue__entry.is-phase-start[b-aa4q9b1z3k] { padding-left: 4px; }
.action-queue__entry.is-phase-start[b-aa4q9b1z3k]::before,
.action-queue__entry.is-manual-skill + .is-manual-skill[b-aa4q9b1z3k]::before { display: none; }
.action-queue__icon[b-aa4q9b1z3k] { --action-tint: #a1bbc7; border-radius: 5px; }
.action-queue__icon img[b-aa4q9b1z3k], .action-queue__icon svg[b-aa4q9b1z3k] { border-color: transparent; border-radius: 4px; background: transparent; }
.action-queue__icon img[b-aa4q9b1z3k] { opacity: .82; }
.action-queue__icon.is-manual[b-aa4q9b1z3k] { background: transparent; box-shadow: none; }
.action-queue__entry.is-first .action-queue__icon[b-aa4q9b1z3k] { background: linear-gradient(#d5b77920, #d5b77908); box-shadow: inset 0 -2px #d4b474; }
.action-queue__entry.is-first img[b-aa4q9b1z3k], .action-queue__entry.is-first svg[b-aa4q9b1z3k] { border-color: #d4b47499; opacity: 1; }
.action-queue__icon.is-blocked img[b-aa4q9b1z3k], .action-queue__icon.is-blocked svg[b-aa4q9b1z3k] { opacity: .4; }
.action-queue__icon[aria-expanded="true"][b-aa4q9b1z3k], .action-queue__icon:hover[b-aa4q9b1z3k] { background: #9db8c31a; }
.action-queue__icon[aria-expanded="true"] img[b-aa4q9b1z3k], .action-queue__icon[aria-expanded="true"] svg[b-aa4q9b1z3k] { opacity: 1; }
.action-queue__actor[b-aa4q9b1z3k] { border-color: #7794a035; color: #b4c8d2; }
.action-queue__manual-order[b-aa4q9b1z3k] { width: 10px; height: 11px; padding: 0; border-radius: 2px; clip-path: none; background: #182936e8; color: #e4c487; font-size: 8px; text-shadow: none; }
.action-queue[data-hidden-before="true"][b-aa4q9b1z3k]::before { left: 22px; }

/* Reserve one full touch target for overflow; partial icons never appear. */
.action-queue:not(.action-queue--auto) .action-queue__heading[b-aa4q9b1z3k] { display: none; }
.action-queue__list[b-aa4q9b1z3k] { flex: 1 1 0; padding: 0; gap: 0; overflow: hidden; }
.action-queue__entry[b-aa4q9b1z3k], .action-queue__entry.is-phase-start[b-aa4q9b1z3k] { width: 44px; padding: 0; }
.action-queue__entry[hidden][b-aa4q9b1z3k] { display: none; }
.action-queue:not([data-layout-ready="true"]) .action-queue__list[b-aa4q9b1z3k] { visibility: hidden; }
.action-queue__more[b-aa4q9b1z3k] { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #738ea132; border-radius: 6px; background: #1b32403b; color: #d5c299; font-size: 12px; font-weight: 600; cursor: pointer; }
.action-queue:not([data-overflow="true"]) .action-queue__more[b-aa4q9b1z3k] { display: none; }
.action-queue__more:hover[b-aa4q9b1z3k] { border-color: #d2b37b; background: #d2b37b15; }
.action-queue__more:focus-visible[b-aa4q9b1z3k], .action-queue__all-close:focus-visible[b-aa4q9b1z3k], .action-queue__all-list:focus-visible[b-aa4q9b1z3k] { outline: 2px solid #e0be7b; outline-offset: -2px; }
.action-queue[b-aa4q9b1z3k]  .action-queue-dialog { width: min(420px, calc(100vw - 24px)); max-height: min(660px, calc(100dvh - 32px)); padding: 0; border-radius: 16px; overflow: hidden; }
.action-queue[b-aa4q9b1z3k]  .action-queue-dialog[open] { display: flex; flex-direction: column; }
.action-queue__all-header[b-aa4q9b1z3k] { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; padding: 14px 16px; gap: 8px; border-bottom: 1px solid #738ea135; }
.action-queue__all-header h2[b-aa4q9b1z3k] { margin: 0; color: #eee1c9; font-size: 16px; }
.action-queue__all-header h2 small[b-aa4q9b1z3k] { margin-left: 8px; color: #a1b8c5; font-size: 11px; font-weight: 400; }
.action-queue__all-header p[b-aa4q9b1z3k] { margin: 5px 0 0; color: #8fa9b9; font-size: 11px; }
.action-queue__all-close[b-aa4q9b1z3k] { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #738ea144; border-radius: 8px; color: #c5d4df; background: #0a1b2855; font-size: 26px; cursor: pointer; }
.action-queue__all-list[b-aa4q9b1z3k] { min-height: 0; margin: 0; padding: 8px 12px 14px; list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.action-queue__all-row[b-aa4q9b1z3k] { display: grid; grid-template-columns: 20px 34px minmax(0, 1fr); align-items: center; gap: 8px; padding: 10px 6px; border-bottom: 1px solid #738ea120; }
.action-queue__all-row.is-next[b-aa4q9b1z3k] { border-radius: 7px; background: #d4b47414; }
.action-queue__all-order[b-aa4q9b1z3k] { text-align: center; color: #8fa5b6; font-size: 11px; font-variant-numeric: tabular-nums; }
.action-queue__all-row.is-next .action-queue__all-order[b-aa4q9b1z3k] { color: #edd297; }
.action-queue__all-art[b-aa4q9b1z3k] { display: grid; place-items: center; color: #b2c5cf; }
.action-queue__all-art img[b-aa4q9b1z3k] { width: 34px; height: 34px; object-fit: contain; image-rendering: pixelated; }
.action-queue__all-description[b-aa4q9b1z3k] { min-width: 0; }
.action-queue__all-description strong[b-aa4q9b1z3k] { display: block; color: #e1d9c9; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.action-queue__all-description small[b-aa4q9b1z3k] { display: block; margin-top: 3px; color: #9db6c6; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.action-queue__all-condition[b-aa4q9b1z3k] { margin: 4px 0 0; color: #c0aa84; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
/* /Components/BattleActorStatisticsDetail.razor.rz.scp.css */
.actor-detail[b-whis9gpno2] { margin-top: 1rem; padding: 1rem; border: 1px solid #435a70; border-radius: .7rem; background: #132335; }
.actor-source-mode[b-whis9gpno2] { display: flex; gap: .4rem; margin-bottom: .6rem; } button[b-whis9gpno2] { color: #e3edf4; background: #152638; border: 1px solid #435a70; border-radius: .5rem; padding: .4rem .6rem; cursor: pointer; } button[aria-pressed=true][b-whis9gpno2] { border-color: #e3ba72; } button:focus-visible[b-whis9gpno2] { outline: 2px solid #e3ba72; outline-offset: 3px; }
h3[b-whis9gpno2], h4[b-whis9gpno2] { margin: 0 0 .75rem; } h3 small[b-whis9gpno2] { display: block; font-weight: normal; margin-top: .35rem; }
p[b-whis9gpno2], small[b-whis9gpno2], dt[b-whis9gpno2] { color: #b1c2d0; font-size: .78rem; } p[b-whis9gpno2] { margin: .5rem 0; }
dl[b-whis9gpno2] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 1rem 0; }
dd[b-whis9gpno2] { margin: .25rem 0 0; font-variant-numeric: tabular-nums; font-size: .86rem; }
ul[b-whis9gpno2] { list-style: none; margin: 0; padding: 0; } li[b-whis9gpno2] { display: grid; gap: .35rem; padding: .6rem 0; border-top: 1px solid #344b5c; font-size: .8rem; }
li div[b-whis9gpno2] { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; }
progress[b-whis9gpno2] { width: 100%; height: .4rem; accent-color: #e3ba72; } strong[b-whis9gpno2], dd[b-whis9gpno2] { overflow-wrap: anywhere; }
@media (max-width: 380px) { dl[b-whis9gpno2] { grid-template-columns: 1fr; } }
.actor-detail[b-whis9gpno2] { margin-top: .75rem; padding: .7rem; }
h3[b-whis9gpno2] { font-size: .95rem; line-height: 1.4; }
h4[b-whis9gpno2] { margin-block: .6rem .45rem; font-size: .85rem; }
.actor-detail__full > summary[b-whis9gpno2] { min-height: 44px; align-content: center; color: #dfc58d; font-size: .8rem; cursor: pointer; }
.actor-detail__full > summary:focus-visible[b-whis9gpno2] { outline: 2px solid #e3ba72; outline-offset: 2px; }
.actor-source-mode button[b-whis9gpno2] { min-height: 44px; flex: 1; font-size: .8rem; }
dl[b-whis9gpno2] { gap: .6rem; margin-block: .6rem; }
li[b-whis9gpno2] { padding-block: .55rem; }
/* /Components/BattleChallengeGuide.razor.rz.scp.css */
.battle-challenge-guide[b-hhxpl15adr] { min-width:0;color:#e1e5e5;font-size:13px;line-height:1.75;overflow-wrap:anywhere; }
.battle-challenge-guide [hidden][b-hhxpl15adr] { display:none; }
.battle-challenge-guide__tabs[b-hhxpl15adr] { display:flex;gap:10px;margin:0 0 16px;border-bottom:1px solid #385263; }
.battle-challenge-guide__tabs button[b-hhxpl15adr] { flex:1;min-width:0;min-height:44px;padding:9px 0 10px;border:0;border-bottom:2px solid transparent;background:transparent;color:#a9c0ca;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer; }
.battle-challenge-guide__tabs button[aria-selected=true][b-hhxpl15adr] { color:#d2ae63;border-bottom-color:#d2ae63; }
.battle-challenge-guide__tabs button:focus-visible[b-hhxpl15adr] { outline:2px solid #dfbd78;outline-offset:1px; }
.battle-challenge-guide h3[b-hhxpl15adr] { margin:14px 0 12px;color:#e1e5e5;font-size:14px;font-weight:600; }
.battle-challenge-guide p[b-hhxpl15adr] { margin:12px 0; }
.battle-challenge-guide ol[b-hhxpl15adr] { margin:10px 0 16px;padding-left:21px; }
.battle-challenge-guide li[b-hhxpl15adr] { margin:10px 0;padding-left:4px; }
.battle-challenge-guide__note[b-hhxpl15adr] { color:#a9c0ca;font-size:12px; }
.battle-challenge-guide dl[b-hhxpl15adr] { margin:10px 0 16px; }
.battle-challenge-guide dl div[b-hhxpl15adr] { display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px solid #38526377; }
.battle-challenge-guide dt[b-hhxpl15adr] { color:#a9c0ca; }
.battle-challenge-guide dd[b-hhxpl15adr] { margin:0;color:#d2ae63; }
/* /Components/BattleConsumablesPanel.razor.rz.scp.css */
.battle-supplies[b-bi0i87kcq5] { display: grid; min-width: 0; gap: 4px; }
.battle-supplies__potions[b-bi0i87kcq5] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.battle-supplies__item[b-bi0i87kcq5] { display: flex; align-items: stretch; gap: 4px; min-width: 0; }
/* Keep both potion targets at thumb size without growing the battle command area. */
.battle-supplies__potion[b-bi0i87kcq5] { --supply-accent: #98d2bf; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: .45rem; width: 100%; min-width: 0; height: 44px; padding: 4px .5rem; border: 1px solid #3c5a6d; border-left: 2px solid var(--supply-accent); border-radius: .45rem; background: #132b3b; color: #e5edf1; text-align: left; cursor: pointer; }
.battle-supplies__potion--buff[b-bi0i87kcq5] { --supply-accent: #c0b1de; background: #192b3e; }
.battle-supplies__potion:not(:disabled):hover[b-bi0i87kcq5] { border-color: var(--supply-accent); background: #203b4a; }
.battle-supplies__potion:focus-visible[b-bi0i87kcq5] { outline: 2px solid #f0cb86; outline-offset: 2px; }
.battle-supplies__potion:disabled[b-bi0i87kcq5] { opacity: 1; cursor: default; }
.battle-supplies__potion.is-empty[b-bi0i87kcq5] { border-style: dashed; border-left-color: #657e8f; background: #122534; }
.battle-supplies__potion.is-queued[b-bi0i87kcq5] { border-color: #dbb269; background: #34372e; }
.battle-supplies__icon[b-bi0i87kcq5] { display: grid; place-items: center; width: 28px; height: 28px; border-radius: .35rem; background: #0c202c; color: #8fa8b7; font-size: 1rem; }
.battle-supplies__icon img[b-bi0i87kcq5] { width: 28px; height: 28px; object-fit: contain; image-rendering: pixelated; }
.battle-supplies__content[b-bi0i87kcq5] { display: grid; min-width: 0; gap: 2px; }
.battle-supplies__identity[b-bi0i87kcq5] { display: flex; align-items: baseline; min-width: 0; gap: .4rem; line-height: 1.25; }
.battle-supplies__type[b-bi0i87kcq5] { flex-shrink: 0; color: var(--supply-accent, #d3b473); font-size: .625rem; font-weight: 600; }
.battle-supplies__name[b-bi0i87kcq5] { min-width: 0; overflow: hidden; color: #edf2f4; font-size: .72rem; font-weight: 650; white-space: nowrap; text-overflow: ellipsis; }
.battle-supplies__metrics[b-bi0i87kcq5] { display: flex; align-items: center; gap: .5rem; min-width: 0; color: #a4bbc7; font-size: .6rem; line-height: 1.3; white-space: nowrap; }
.battle-supplies__metrics b[b-bi0i87kcq5] { color: #d9e5eb; font-weight: 600; font-variant-numeric: tabular-nums; }
.battle-supplies__quota b[b-bi0i87kcq5] { color: #a7ddc8; }
.battle-supplies__quota.is-exhausted b[b-bi0i87kcq5] { color: #e8b38c; }
.battle-supplies__mode[b-bi0i87kcq5] { overflow: hidden; text-overflow: ellipsis; }
.battle-supplies__state[b-bi0i87kcq5] { display: grid; gap: 1px; min-width: 3rem; padding: .25rem .35rem; border-radius: .3rem; color: #b6c7d0; background: #ffffff08; font-size: .625rem; line-height: 1.3; text-align: center; white-space: nowrap; }
.battle-supplies__state small[b-bi0i87kcq5] { font-size: .55rem; font-weight: 400; }
.battle-supplies__state.is-ready[b-bi0i87kcq5] { color: #b6e4d1; background: #71c9a81a; }
.battle-supplies__state.is-queued[b-bi0i87kcq5] { color: #f5d492; background: #d3a85f24; }
.battle-supplies__flask[b-bi0i87kcq5] { display: flex; align-items: center; gap: .4rem; min-width: 0; height: 24px; padding: 0 .5rem; border-radius: .3rem; background: #b295550e; }
.battle-supplies__flask-icon[b-bi0i87kcq5] { color: #d8bc7d; font-size: .75rem; }
.battle-supplies__flask-icon img[b-bi0i87kcq5] { display: block; width: 18px; height: 18px; object-fit: contain; image-rendering: pixelated; }
.battle-supplies__flask .battle-supplies__name[b-bi0i87kcq5] { flex: 1; color: #c9c4b6; font-size: .625rem; font-weight: 500; }
.battle-supplies__flask-stock[b-bi0i87kcq5], .battle-supplies__flask-state[b-bi0i87kcq5] { flex-shrink: 0; color: #baa982; font-size: .6rem; white-space: nowrap; }

@container game-shell (max-width: 360px) {
    .battle-supplies__potion[b-bi0i87kcq5] { gap: .3rem; padding-inline: .35rem; grid-template-columns: 24px minmax(0, 1fr) auto; }
    .battle-supplies__icon[b-bi0i87kcq5], .battle-supplies__icon img[b-bi0i87kcq5] { width: 24px; height: 24px; }
    .battle-supplies__identity[b-bi0i87kcq5] { gap: .3rem; }
    .battle-supplies__metrics[b-bi0i87kcq5] { gap: .35rem; }
    .battle-supplies__state[b-bi0i87kcq5] { min-width: 2.6rem; padding-inline: .25rem; }
}
/* Auto settings share the battle's floating frame without changing the action rail. */
.battle-supplies__settings-trigger[b-bi0i87kcq5] { display: grid; place-items: center; flex: 0 0 44px; width: 44px; min-height: 44px; padding: 0; border: 1px solid #3c5a6d; border-radius: .45rem; background: #132b3b; color: #b6c7d0; font-size: 1rem; cursor: pointer; }
.battle-supplies__settings-trigger:hover[b-bi0i87kcq5] { border-color: #c6ab79; color: #f0cb86; }
.battle-supplies-dialog-host[b-bi0i87kcq5]  .battle-supplies-dialog { inset: 0; box-sizing: border-box; width: min(460px, calc(100% - 24px)); max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); margin: auto; padding: 0; overflow: hidden; border: 1px solid #607488; border-top-color: #b6a07a; border-radius: 18px; background: linear-gradient(145deg, #203243, #142536 55%, #111f2e); box-shadow: 0 28px 90px #0008, 0 8px 24px #0005; color: #d9e3ea; text-align: left; }
.battle-supplies-dialog-host[b-bi0i87kcq5]  .battle-supplies-dialog[open] { display: flex; flex-direction: column; }
.battle-supplies-dialog-host[b-bi0i87kcq5]  .battle-supplies-dialog::backdrop { background: #030b16b8; backdrop-filter: blur(8px); }
.battle-supplies-dialog__header[b-bi0i87kcq5] { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; border-bottom: 1px solid #a8bed11c; }
.battle-supplies-dialog__header > div[b-bi0i87kcq5] { min-width: 0; }
.battle-supplies-dialog__header span[b-bi0i87kcq5] { color: #c7ac7c; font-size: .65rem; letter-spacing: .1em; }
.battle-supplies-dialog__header h2[b-bi0i87kcq5] { margin: 4px 0; color: #f3e7d4; font: 650 1.1rem/1.4 system-ui, sans-serif; overflow-wrap: anywhere; }
.battle-supplies-dialog__header p[b-bi0i87kcq5] { margin: 0; color: #a5b9c9; font-size: .75rem; overflow-wrap: anywhere; }
.battle-supplies-dialog__close[b-bi0i87kcq5] { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #71899d45; border-radius: 12px; background: #0b1a285c; color: #b9cad7; font: 400 26px/1 system-ui, sans-serif; }
.battle-supplies-dialog__content[b-bi0i87kcq5] { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 20px; }
.battle-supplies-dialog__toggle[b-bi0i87kcq5] { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; margin-bottom: 18px; border: 1px solid #617e9440; border-radius: 12px; background: #0c1b295c; }
.battle-supplies-dialog__toggle span[b-bi0i87kcq5] { display: grid; gap: 5px; }
.battle-supplies-dialog__toggle strong[b-bi0i87kcq5] { font-size: .85rem; }
.battle-supplies-dialog__toggle small[b-bi0i87kcq5] { color: #a5b9c9; font-size: .75rem; line-height: 1.5; }
.battle-supplies-dialog__toggle input[b-bi0i87kcq5] { flex: 0 0 22px; width: 22px; height: 22px; accent-color: #d3b176; }
.battle-supplies-dialog__content[b-bi0i87kcq5]  select, .battle-supplies-dialog__content[b-bi0i87kcq5]  input { min-height: 44px; }
.battle-supplies-dialog__hint[b-bi0i87kcq5] { margin: 18px 0 0; color: #94adbe; font-size: .75rem; line-height: 1.7; }
.battle-supplies-dialog__footer[b-bi0i87kcq5] { flex: 0 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 14px 20px; border-top: 1px solid #a8bed11c; background: #0b19275e; }
.battle-supplies-dialog__feedback[b-bi0i87kcq5] { min-width: 0; color: #bedecf; font-size: .75rem; line-height: 1.45; overflow-wrap: anywhere; }
.battle-supplies-dialog__error[b-bi0i87kcq5] { color: #f6caa2; }
.battle-supplies-dialog__footer .button[b-bi0i87kcq5] { min-height: 46px; min-width: 120px; border-radius: 10px; }
@media (max-width: 600px) {
    .battle-supplies-dialog__header[b-bi0i87kcq5], .battle-supplies-dialog__content[b-bi0i87kcq5] { padding: 16px; }
    .battle-supplies-dialog__footer[b-bi0i87kcq5] { grid-template-columns: minmax(0, 1fr); padding: 12px 16px; }
    .battle-supplies-dialog__feedback.has-message[b-bi0i87kcq5] { margin-bottom: 6px; }
    .battle-supplies-dialog__footer .button[b-bi0i87kcq5] { width: 100%; }
}

/* Only the short-viewport battle panel uses the paired potion controls. */
.battle-supplies--compact .battle-supplies__potions[b-bi0i87kcq5] { grid-template-columns:repeat(2,minmax(0,1fr));gap:7px; }
.battle-supplies--compact .battle-supplies__item[b-bi0i87kcq5] { gap:0; }
.battle-supplies--compact .battle-supplies__potion[b-bi0i87kcq5] { display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;height:auto;min-height:86px;padding:6px;flex:1;border:1px solid #4a6873;border-radius:8px;background:#172e39;text-align:center; }
.battle-supplies--compact .battle-supplies__item:has(.battle-supplies__settings-trigger) .battle-supplies__potion[b-bi0i87kcq5] { border-right:0;border-radius:8px 0 0 8px; }
.battle-supplies--compact .battle-supplies__settings-trigger[b-bi0i87kcq5] { border-color:#4a6873;border-radius:0 8px 8px 0;background:#172e39; }
.battle-supplies--compact .battle-supplies__icon[b-bi0i87kcq5] { position:relative;flex:none;width:36px;height:36px;background:transparent; }
.battle-supplies--compact .battle-supplies__icon img[b-bi0i87kcq5] { width:36px;height:36px; }
.battle-supplies--compact .battle-supplies__content[b-bi0i87kcq5] { gap:3px;justify-items:center;max-width:100%; }
.battle-supplies--compact .battle-supplies__name[b-bi0i87kcq5] { max-width:100%;font-size:12px;line-height:1.25;white-space:normal;overflow-wrap:anywhere;text-overflow:clip; }
.battle-supplies--compact .battle-supplies__metrics[b-bi0i87kcq5] { justify-content:center;flex-wrap:wrap;gap:2px 5px;font-size:10px;white-space:normal; }
.battle-supplies--compact .battle-supplies__state[b-bi0i87kcq5] { min-width:0; padding:2px 5px; font-size:11px; white-space:normal; }
.battle-supplies--compact .battle-supplies__potion.is-queued[b-bi0i87kcq5] { background:#414535;border-color:#e8c583; }
.battle-supplies--compact .battle-supplies__potion:disabled:not(.is-queued) .battle-supplies__icon img[b-bi0i87kcq5] { filter:grayscale(.7);opacity:.5; }
.battle-supplies__check[b-bi0i87kcq5] { position:absolute;right:0;bottom:0;display:grid;place-items:center;width:18px;height:17px;border-radius:5px 0 0;background:#e2bd78;color:#152a33;font:700 12px/1 system-ui,sans-serif; }
.battle-supplies__cooldown[b-bi0i87kcq5] { position:absolute;inset:0;display:grid;place-items:center;border-radius:4px;background:#091721a6;color:#f3e9d5;font:650 22px/1 system-ui,sans-serif; }
.battle-supplies--compact .battle-supplies__flask[b-bi0i87kcq5] { min-height:28px;height:auto;padding:2px 5px;border:1px solid #4c6267;border-radius:7px;background:#142c36;gap:4px; }
.battle-supplies--compact .battle-supplies__flask-icon img[b-bi0i87kcq5] { width:20px;height:22px; }
.battle-supplies--compact .battle-supplies__flask :is(.battle-supplies__type,.battle-supplies__name,.battle-supplies__flask-stock,.battle-supplies__flask-state)[b-bi0i87kcq5] { font-size:11px; }
@container game-shell (max-width:360px) {
    .battle-supplies--compact .battle-supplies__potions[b-bi0i87kcq5] { gap:4px; }
    .battle-supplies--compact .battle-supplies__potion[b-bi0i87kcq5] { min-height:76px;gap:3px;padding:4px; }
    .battle-supplies--compact .battle-supplies__icon[b-bi0i87kcq5],
    .battle-supplies--compact .battle-supplies__icon img[b-bi0i87kcq5] { width:28px;height:28px; }
}
/* /Components/BattleInformationPanel.razor.rz.scp.css */
.battle-information[b-w3f8tzzb3r] { color: #e1ebf2; }
button[b-w3f8tzzb3r], select[b-w3f8tzzb3r] { color: #e1ebf2; border: 1px solid #526a7e; border-radius: .5rem; background: #152638; padding: .5rem .7rem; font: inherit; cursor: pointer; }
button:focus-visible[b-w3f8tzzb3r], select:focus-visible[b-w3f8tzzb3r] { outline: 2px solid #e3ba72; outline-offset: 3px; }
button:disabled[b-w3f8tzzb3r] { opacity: .45; cursor: default; }
.information-tabs[b-w3f8tzzb3r] { display: flex; gap: .5rem; margin-bottom: 1rem; }
.information-tabs button[b-w3f8tzzb3r] { flex: 1; min-height: 42px; }
.information-tabs button[aria-selected=true][b-w3f8tzzb3r] { color: #f2cf8e; border-color: #e3ba72; background: #303c44; }
.information-filters[b-w3f8tzzb3r] { display: flex; flex-wrap: wrap; gap: .7rem; }
.information-filters label[b-w3f8tzzb3r] { display: flex; flex: 1; align-items: center; gap: .5rem; min-width: 160px; font-size: .8rem; color: #b4c7d5; }
.information-filters select[b-w3f8tzzb3r] { min-width: 0; flex: 1; width: 100%; }
.information-heading[b-w3f8tzzb3r] { font-size: .88rem; font-weight: 600; margin-top: 1rem; }
.information-hint[b-w3f8tzzb3r] { color: #b1c4d2; font-size: .75rem; line-height: 1.5; }
.information-hint button[b-w3f8tzzb3r] { font-size: .7rem; padding: .25rem .4rem; margin-left: .3rem; }
.information-error[b-w3f8tzzb3r] { color: #f2b29f; font-size: .85rem; }
.information-toolbar[b-w3f8tzzb3r] { display:flex; align-items:center; justify-content:space-between; gap:.5rem; height:44px; margin:.4rem 0; color:#b1c4d2; font-size:.75rem; }
.information-toolbar > :is(span,p)[b-w3f8tzzb3r] { min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.information-toolbar .information-refresh[b-w3f8tzzb3r] { flex:0 0 5rem; width:5rem; font-size:.75rem; padding-inline:.4rem; }
.information-totals[b-w3f8tzzb3r] { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: .5rem; margin-top: .9rem; padding: .8rem; background: #102133; border-radius: .6rem; }
.information-totals div[b-w3f8tzzb3r] { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.information-totals small[b-w3f8tzzb3r] { font-size: .7rem; color: #abc0d0; }
.information-totals strong[b-w3f8tzzb3r] { color: #edc477; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 380px) { .information-filters label[b-w3f8tzzb3r] { min-width: 100%; } }

.battle-information[b-w3f8tzzb3r] { min-width: 0; }
.information-navigation[b-w3f8tzzb3r] { position: sticky; top: 0; z-index: 2; background: #142739; }
.information-tabs[b-w3f8tzzb3r] { gap: .4rem; margin: 0; padding: .25rem 0 .45rem; }
.information-content[b-w3f8tzzb3r] { padding-block-start: .6rem; }
button[b-w3f8tzzb3r], select[b-w3f8tzzb3r] { min-height: 44px; }
.information-tabs button[b-w3f8tzzb3r] { min-height: 44px; font-size: .8rem; }
.information-filters[b-w3f8tzzb3r] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; }
.information-filters label[b-w3f8tzzb3r] { display: grid; gap: .25rem; min-width: 0; font-size: .75rem; }
.information-filters select[b-w3f8tzzb3r] { width: 100%; padding-inline: .4rem; font-size: .78rem; }
.information-heading[b-w3f8tzzb3r] { margin: .65rem 0 .2rem; font-size: .8rem; line-height: 1.5; }
.information-hint[b-w3f8tzzb3r] { margin: .4rem 0; overflow-wrap: anywhere; }
.information-coverage[b-w3f8tzzb3r] { margin-top: .2rem; }
.information-totals[b-w3f8tzzb3r] { gap: .5rem; margin-top: .6rem; padding: .65rem; }
.information-rules[b-w3f8tzzb3r] { margin-top: .5rem; }
.information-rules summary[b-w3f8tzzb3r] { min-height: 44px; align-content: center; cursor: pointer; color: #ddbf86; font-size: .78rem; }
.information-rules summary:focus-visible[b-w3f8tzzb3r] { outline: 2px solid #e3ba72; outline-offset: 2px; }
@media (pointer: coarse) { .information-filters select[b-w3f8tzzb3r] { font-size: 16px; } }
.information-filter-menu[b-w3f8tzzb3r] { position:relative;margin-bottom:4px; }
.information-filter-menu > summary[b-w3f8tzzb3r] { min-height:36px;align-content:center;cursor:pointer;font-size:11px;color:#bac9d0; }
.information-filter-menu[open][b-w3f8tzzb3r] { padding:0 8px 8px;border:1px solid #587182;border-radius:7px; }
.information-heading[b-w3f8tzzb3r] { color:#f2d4a0;font-size:17px;margin:4px 0 6px; }
.information-toolbar[b-w3f8tzzb3r] { height:30px;margin:0 0 4px; }
.information-toolbar .information-refresh[b-w3f8tzzb3r] { min-height:32px;font-size:11px;padding:3px;width:58px;flex-basis:58px; }
.information-totals[b-w3f8tzzb3r] { margin:4px 0;padding:10px; }
.information-detail-back[b-w3f8tzzb3r] { display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 0 8px; }
.information-detail-back small[b-w3f8tzzb3r] { font-size:11px;color:#9eb6c5; }
.information-controls[b-w3f8tzzb3r] { display:flex;align-items:flex-start;gap:6px;margin-top:4px; }
.information-controls .information-filter-menu[b-w3f8tzzb3r] { flex:1;min-width:0;margin:0; }
.information-controls .information-toolbar--statistics[b-w3f8tzzb3r] { flex:0 0 58px;height:44px;margin:0; }
.information-controls .information-refresh[b-w3f8tzzb3r] { min-height:44px; }
.information-filter-menu > summary[b-w3f8tzzb3r] { min-height:44px; }
.information-totals small[b-w3f8tzzb3r] { line-height:1.3; }
.information-totals strong[b-w3f8tzzb3r] { line-height:1.4; }
/* /Components/BattleLobbySummary.razor.rz.scp.css */
.battle-lobby[b-6v9x3n4mel] { position: relative; z-index: 1; margin: .15rem .65rem .65rem; min-width: 0; }
.battle-lobby-summary[b-6v9x3n4mel] { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; min-height: 44px; padding: .6rem .8rem; border: 1px solid #e1b76759; border-radius: .7rem; color: #dce8ef; background: #0915218c; text-align: left; }
.battle-lobby-summary strong[b-6v9x3n4mel] { color: #f0cd8c; font-size: .85rem; }
.battle-lobby-summary > span[b-6v9x3n4mel] { flex: 0 0 auto; color: #b7c7d2; font-size: .75rem; }
.battle-lobby-summary > span > span[b-6v9x3n4mel] { margin-left: .35rem; color: #e6c78f; font-size: 1rem; }
.battle-lobby[b-6v9x3n4mel]  .battle-lobby-info { box-sizing: border-box; inset: 0; width: min(460px,calc(100vw - 24px)); max-height: calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); margin: auto; padding: 0; overflow: hidden; border: 1px solid #607488; border-top-color: #b6a07a; border-radius: 16px; background: linear-gradient(145deg,#203243,#142536 55%,#111f2e); box-shadow: 0 28px 90px #0008; color: #d9e3ea; text-align: left; }
.battle-lobby[b-6v9x3n4mel]  .battle-lobby-info[open] { display: flex; flex-direction: column; }
.battle-lobby[b-6v9x3n4mel]  .battle-lobby-info::backdrop { background: #030b16b8; backdrop-filter: blur(8px); }
.battle-lobby-info__head[b-6v9x3n4mel] { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-bottom: 1px solid #a8bed11c; }
.battle-lobby-info__head h2[b-6v9x3n4mel] { margin: 0; color: #f0cd8c; font-size: 1.05rem; }
.battle-lobby-info__head button[b-6v9x3n4mel] { width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 1px solid #71899d45; border-radius: 12px; color: #b9cad7; background: #0b1a285c; font-size: 26px; }
.battle-lobby-info__body[b-6v9x3n4mel] { min-height: 0; padding: 4px 16px 16px; overflow: auto; overscroll-behavior: contain; font-size: .84rem; line-height: 1.65; overflow-wrap: anywhere; }
.battle-lobby-info__body p[b-6v9x3n4mel] { margin: .8rem 0 0; }
.battle-lobby-info__deadline[b-6v9x3n4mel] { color: #e1c798; }
.battle-lobby button:focus-visible[b-6v9x3n4mel] { outline: 2px solid #f0c779; outline-offset: 2px; }
.battle-lobby:has(> dialog:only-child)[b-6v9x3n4mel] { display:contents; }
/* /Components/BattleNavigationMenu.razor.rz.scp.css */
.battle-navigation-menu[b-rghib9xszk] { display: contents; }
.battle-navigation-menu__trigger[b-rghib9xszk] { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0 .85rem 0 0; background: transparent; color: #b9c9d4; font-size: 16px; cursor: pointer; }
.battle-navigation-menu__trigger:hover[b-rghib9xszk] { background: #b4cad415; color: #e7ca95; }
.battle-navigation-menu__trigger:focus-visible[b-rghib9xszk] { outline: 2px solid #dfbd78; outline-offset: -4px; }
.battle-navigation-menu__trigger[b-rghib9xszk] { position:relative; }
.battle-navigation-menu__new[b-rghib9xszk] { position:absolute;top:2px;right:3px;padding:0 4px;border-radius:3px;background:#d2ae63;color:#0d1c27;font:600 11px/15px Arial,sans-serif;letter-spacing:.2px;pointer-events:none;box-shadow:0 0 0 2px #102432; }
.battle-navigation-menu__trigger--new>span:first-child[b-rghib9xszk] { transform:translateY(5px); }
.battle-navigation-menu[b-rghib9xszk]  .battle-navigation-dialog { position:fixed;inset:var(--app-top-inset) 0 0;margin:auto;width:min(380px,calc(100vw - 32px));max-height:calc(100dvh - var(--app-top-inset) - 32px);overflow:hidden;padding:0;border-radius:16px;background:#152b39;box-shadow:0 18px 60px #0008; }
.battle-navigation-menu[b-rghib9xszk]  .battle-navigation-dialog[open] { display:flex;flex-direction:column; }
.battle-navigation-menu__header[b-rghib9xszk] { display:flex;flex:none;align-items:center;gap:8px;min-height:62px;padding:10px 12px 8px 18px; }
.battle-navigation-menu__header h2[b-rghib9xszk] { margin: 0; color: #ece1c9; font-size: 17px; }
.battle-navigation-menu__header h2[b-rghib9xszk] { flex:1; }
.battle-navigation-menu__back[b-rghib9xszk] { display:grid;place-items:center;flex:none;width:36px;min-height:44px;margin-left:-9px;padding:0;border:0;background:transparent;color:#bdcdd8;font-size:28px;cursor:pointer; }
.battle-navigation-menu__back:focus-visible[b-rghib9xszk] { outline:2px solid #dfbd78;outline-offset:1px; }
.battle-navigation-menu__body[b-rghib9xszk] { min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 18px 12px;scrollbar-width:thin;scrollbar-color:#526876 transparent; }
.battle-navigation-menu__footer[b-rghib9xszk] { flex:none;padding:12px 18px 16px;border-top:1px solid #3b5260; }
.battle-navigation-menu__footer button[b-rghib9xszk] { display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:9px 12px;border:1px solid #bca16b;border-radius:8px;background:#dec18a;color:#19252a;font:inherit;font-size:14px;font-weight:600;cursor:pointer; }
.battle-navigation-menu__footer[b-rghib9xszk]  svg { width:19px;height:19px; }
.battle-navigation-menu__footer button:focus-visible[b-rghib9xszk] { outline:2px solid #dfbd78;outline-offset:2px; }
.battle-navigation-menu__close[b-rghib9xszk] { display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:7px;background:transparent;color:#bdcdd8;font-size:26px;cursor:pointer; }
.battle-navigation-menu__close:focus-visible[b-rghib9xszk] { outline: 2px solid #dfbd78; outline-offset: 2px; }
.battle-navigation-menu__body[b-rghib9xszk]  button { font:inherit;cursor:pointer; }
.battle-navigation-menu__body[b-rghib9xszk]  button:focus-visible,.battle-navigation-menu__body[b-rghib9xszk]  summary:focus-visible { outline:2px solid #e2bd78;outline-offset:1px; }
.battle-navigation-menu__body[b-rghib9xszk]  button:disabled { opacity:.5;cursor:default; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-context { display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 16px;color:#a6b9c4;font-size:12px; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-caption { min-width:0;overflow-wrap:anywhere; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-status { display:flex;align-items:center;gap:5px;flex:none;color:#dec18a;white-space:nowrap; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-status::before { content:"";width:5px;height:5px;border-radius:50%;background:currentColor; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-quick { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-quick-button { display:flex;align-items:center;gap:9px;min-width:0;min-height:66px;padding:12px;border:1px solid #3b5362;border-radius:9px;background:#1c3545;color:#e8dfcc;text-align:left;font-size:14px; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-quick-button:last-child:nth-child(odd) { grid-column:1/-1; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-quick-button:hover { background:#284351; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-quick-button svg { flex:none;width:20px;height:20px;color:#dec18a; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-quick-button small { margin-left:auto;color:#a6b9c4;font-size:11px;white-space:nowrap; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-section { margin-top:18px; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-section-title { margin:0 0 5px;color:#a6b9c4;font-size:11px;font-weight:400;letter-spacing:1px; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-row { display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:9px 2px;border:0;border-bottom:1px solid #314958;background:transparent;color:#e8dfcc;font-size:14px;text-align:left; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-row:last-child { border-bottom:0; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-row>svg { flex:none;width:18px;height:18px;color:#b7c7cf; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-label { flex:1;min-width:0; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-value { color:#a6b9c4;font-size:12px; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-value--active { color:#dec18a; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-row>.story-icon:last-child { width:14px;height:14px;color:#8199a7; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-links { display:flex;margin-top:13px;padding-top:7px;border-top:1px solid #3b5260; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-links button { display:flex;flex:1;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:7px 3px;border:0;background:none;color:#b9c8ce;font-size:12px; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-links button+button { border-left:1px solid #3b5260; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-links svg { width:15px;height:15px; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-settings { margin:0; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-setting { display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:9px 0;border-bottom:1px solid #3b5260;font-size:14px; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-setting dd { margin:0;color:#a6b9c4;font-size:13px; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-switch { display:flex;align-items:center;gap:8px;min-height:44px;padding:0;border:0;background:none;color:#a6b9c4;font-size:12px; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-switch i { display:block;width:35px;height:21px;padding:3px;border-radius:20px;background:#425867; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-switch i::after { content:"";display:block;width:15px;height:15px;border-radius:50%;background:#d4dfdf; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-switch[aria-checked=true] i { background:#b9a270; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-switch[aria-checked=true] i::after { transform:translateX(14px);background:#142a36; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-more { margin-top:19px; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-more>summary { display:flex;align-items:center;justify-content:space-between;min-height:44px;list-style:none;color:#a6b9c4;font-size:12px;cursor:pointer; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-more>summary::-webkit-details-marker { display:none; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-more>summary svg { width:16px;height:16px; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-danger { color:#edaaa7; }
.battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-empty { padding:22px 0;margin:0;text-align:center;color:#a6b9c4;font-size:13px; }
@media (max-width:370px) {
    .battle-navigation-menu__body[b-rghib9xszk] { padding-inline:14px; }
    .battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-quick-button { gap:7px;padding:10px;font-size:13px; }
    .battle-navigation-menu__footer[b-rghib9xszk] { padding-inline:14px; }
}
@media (max-height:650px) {
    .battle-navigation-menu__header[b-rghib9xszk] { min-height:54px;padding-top:6px;padding-bottom:4px; }
    .battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-context { margin-bottom:12px; }
    .battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-quick-button { min-height:60px; }
    .battle-navigation-menu__body[b-rghib9xszk]  .battle-menu-section { margin-top:14px; }
    .battle-navigation-menu__footer[b-rghib9xszk] { padding-top:10px;padding-bottom:10px; }
}
/* /Components/BattleStatisticsBoard.razor.rz.scp.css */
.statistics-metrics[b-wcjeb26vco] { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:10px 0 6px; }
button[b-wcjeb26vco] { color:#e3edf4;background:#152b3b;border:1px solid #526b7c66;border-radius:7px;cursor:pointer;font:inherit; }
.statistics-metrics button[b-wcjeb26vco] { min-height:44px;padding:6px 2px;font-size:13px; }
button[aria-pressed=true][b-wcjeb26vco] { border-color:#d7b775;background:#4c4738;color:#f1d59d; }
button:focus-visible[b-wcjeb26vco] { outline:2px solid #e3ba72;outline-offset:2px; }
.statistics-measure[b-wcjeb26vco] { margin:4px 0 8px;color:#9db3c2;font-size:11px; }
.statistics-actors[b-wcjeb26vco] { display:grid;gap:6px; }
.statistics-actor[b-wcjeb26vco] { display:grid;grid-template-columns:40px minmax(0,1fr);gap:8px;width:100%;padding:6px 8px;text-align:left; }
.statistics-actor:hover[b-wcjeb26vco] { background:#233c4c;border-color:#c3ac77; }
.statistics-avatar[b-wcjeb26vco] { position:relative;display:block;align-self:center;width:40px;height:46px; }
.statistics-avatar__crop[b-wcjeb26vco] { position:relative;display:block;width:40px;height:40px;overflow:hidden;box-sizing:border-box;border:1px solid #526b7c88;border-radius:6px;background:#0c202f; }
.statistics-avatar img[b-wcjeb26vco] { position:absolute;display:block;width:var(--statistics-avatar-size,100%);height:var(--statistics-avatar-size,100%);max-width:none;left:var(--statistics-avatar-left,0);top:0;object-fit:contain;image-rendering:pixelated; }
/* The shipped mage crop is wider; the last three professions use half-body art. */
.statistics-avatar[data-profession="mage"][b-wcjeb26vco] { --statistics-avatar-size:112%;--statistics-avatar-left:-6%; }
.statistics-avatar:is([data-profession="guard"],[data-profession="scout"],[data-profession="puppeteer"])[b-wcjeb26vco] { --statistics-avatar-size:150%;--statistics-avatar-left:-20%; }
.statistics-avatar b[b-wcjeb26vco] { position:absolute;left:-2px;bottom:0;display:grid;place-items:center;min-width:17px;height:17px;border:1px solid #9eb9c077;border-radius:5px;background:#0c202f;color:#f0d5a1;font-size:10px;line-height:1; }
.statistics-actor__content[b-wcjeb26vco] { display:grid;gap:3px;min-width:0;line-height:1.2; }
.statistics-actor__headline[b-wcjeb26vco] { display:flex;align-items:center;gap:6px;min-width:0;font-size:13px; }
.statistics-actor__headline > b[b-wcjeb26vco] { margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums;color:#f0d09a; }
.statistics-actor__headline > i[b-wcjeb26vco] { font-style:normal;color:#98afbe; }
.statistics-actor__identity[b-wcjeb26vco] { color:#a3bac9;font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis; }
.statistics-bar[b-wcjeb26vco] { display:block;height:5px;overflow:hidden;border-radius:4px;background:#54728244; }
.statistics-bar > i[b-wcjeb26vco] { display:block;height:100%;background:linear-gradient(90deg,#98834f,#e2c47e); }
.statistics-actor__facts[b-wcjeb26vco] { color:#b0c2cd;font-size:10px;line-height:1.4;font-variant-numeric:tabular-nums; }
/* /Components/CharacterCard.razor.rz.scp.css */
.character-card[b-uz06qpmhz8] {
    min-width: 0;
    padding: .78rem;
    border: 1px solid #35465b;
    border-radius: .78rem;
    background: linear-gradient(145deg, #1a2b3d, #142334);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
    color: #dfe8f1;
}

.character-card--current[b-uz06qpmhz8] {
    border-color: #d8a957;
    box-shadow: 0 0 0 1px rgba(216, 169, 87, 0.2), 0 8px 18px rgba(0, 0, 0, 0.16);
}

.character-card__header[b-uz06qpmhz8] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .65rem;
    margin-bottom: .65rem;
}

.character-card__identity[b-uz06qpmhz8] { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.character-card__identity > div[b-uz06qpmhz8] { display: grid; min-width: 0; }
.character-card__identity small[b-uz06qpmhz8] { overflow: hidden; color: #91a6b7; font-size: .66rem; white-space: nowrap; text-overflow: ellipsis; }
.character-card__glyph[b-uz06qpmhz8] { display: grid; place-items: center; width: 46px; height: 52px; flex: 0 0 46px; overflow: hidden; border: 1px solid #6c6047; border-radius: .62rem; background: rgba(216, 169, 87, .1); color: #e7b966; font-size: .75rem; }
.character-card__glyph img[b-uz06qpmhz8] { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; image-rendering: pixelated; }

.character-card__name[b-uz06qpmhz8] {
    margin: 0;
    overflow: hidden;
    color: #f0e7d5;
    font-size: .92rem;
    font-weight: 750;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.character-card__header-actions[b-uz06qpmhz8] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .35rem;
}

.character-card__badge[b-uz06qpmhz8] {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    min-height: 32px;
    padding: .2rem .5rem;
    border-radius: 999px;
    background-color: #574222;
    color: #f3d385;
    font-size: .65rem;
    font-weight: 800;
    white-space: nowrap;
}

.character-card__select[b-uz06qpmhz8],
.character-card__delete[b-uz06qpmhz8] {
    min-height: 44px;
    font-size: .68rem;
    font-weight: 750;
    border-radius: .55rem;
    background: transparent;
}

.character-card__select[b-uz06qpmhz8] {
    min-width: 58px;
    padding: .35rem .6rem;
    border: 1px solid #537a9d;
    color: #bdd7ec;
}

.character-card__delete[b-uz06qpmhz8] {
    display: grid;
    place-items: center;
    width: 44px;
    padding: 0;
    border: 1px solid #914953;
    color: #efa2a9;
    font-size: 1rem;
}

.character-card__select:disabled[b-uz06qpmhz8],
.character-card__delete:disabled[b-uz06qpmhz8] {
    opacity: 0.6;
    cursor: not-allowed;
}

.character-card__progress[b-uz06qpmhz8] {
    margin: 0 0 .65rem;
    color: #aebecd;
    font-size: .66rem;
}

.character-card__progress > div[b-uz06qpmhz8] {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
}

.character-card__progress strong[b-uz06qpmhz8] { color: #f3d385; font-size: .72rem; }
.character-card__progress progress[b-uz06qpmhz8] { display: block; width: 100%; height: .36rem; margin: .28rem 0 0; accent-color: #d9aa60; }
.character-card__progress small[b-uz06qpmhz8] { display: block; }

.character-card__stats[b-uz06qpmhz8] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .32rem;
    margin: 0;
}

.character-card__stats div[b-uz06qpmhz8] {
    display: grid;
    gap: .12rem;
    min-width: 0;
    padding: .4rem .42rem;
    border: 1px solid rgba(80, 106, 128, .45);
    border-radius: .48rem;
    background: rgba(7, 19, 30, .38);
}

.character-card__stats dt[b-uz06qpmhz8],
.character-card__stats dd[b-uz06qpmhz8] {
    margin: 0;
}

.character-card__stats dt[b-uz06qpmhz8] { color: #8399ab; font-size: .625rem; }
.character-card__stats dd[b-uz06qpmhz8] { overflow: hidden; color: #e6edf2; font-size: .68rem; font-weight: 750; white-space: nowrap; text-overflow: ellipsis; }
.character-card__stats .character-card__talents[b-uz06qpmhz8] { border-color: rgba(176, 137, 73, .45); }
.character-card__stats .character-card__talents dd[b-uz06qpmhz8] { color: #efc271; }

@container game-shell (max-width: 390px) {
    .character-card[b-uz06qpmhz8] { padding: .7rem; }
    .character-card__header[b-uz06qpmhz8] { gap: .45rem; }
    .character-card__identity[b-uz06qpmhz8] { gap: .45rem; }
    .character-card__glyph[b-uz06qpmhz8] { width: 34px; height: 34px; flex-basis: 34px; }
    .character-card__header-actions[b-uz06qpmhz8] { gap: .25rem; }
}

/* Compact selection rows keep management actions behind an explicit disclosure. */
.character-card[b-uz06qpmhz8] { padding: .45rem .55rem; border-radius: .65rem; }
.character-card__header[b-uz06qpmhz8] { gap: .5rem; margin: 0; }
.character-card__identity[b-uz06qpmhz8] {
    width: 100%;
    min-height: 52px;
    padding: 0;
    gap: .55rem;
    border: 0;
    border-radius: .35rem;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}
.character-card__identity:disabled[b-uz06qpmhz8] { opacity: .7; cursor: wait; }
.character-card__copy[b-uz06qpmhz8] { display: grid; gap: .1rem; flex: 1; min-width: 0; }
.character-card__glyph[b-uz06qpmhz8] { width: 40px; height: 46px; flex-basis: 40px; }
.character-card__glyph img[b-uz06qpmhz8] { object-fit: contain; object-position: center; }
.character-card__name[b-uz06qpmhz8] { overflow: visible; white-space: normal; overflow-wrap: anywhere; font-size: .9rem; line-height: 1.25; }
.character-card__identity small[b-uz06qpmhz8] { overflow: visible; white-space: normal; font-size: .72rem; line-height: 1.25; }
.character-card__health[b-uz06qpmhz8] { display: flex; flex-wrap: wrap; gap: .2rem .5rem; color: #adcbbf; font-size: .7rem; line-height: 1.25; }
.character-card__details-label[b-uz06qpmhz8] { color: #b5c1cd; margin-left: auto; }
.character-card__select[b-uz06qpmhz8] { min-width: 58px; font-size: .75rem; }
.character-card__badge[b-uz06qpmhz8] { min-height: 44px; min-width: 58px; justify-content: center; border-radius: .5rem; font-size: .72rem; }
.character-card__details[b-uz06qpmhz8] { margin-top: .65rem; padding-top: .65rem; border-top: 1px solid #42576b; }
.character-card__details[hidden][b-uz06qpmhz8] { display: none; }
.character-card__progress[b-uz06qpmhz8] { margin-bottom: .55rem; font-size: .75rem; }
.character-card__progress strong[b-uz06qpmhz8] { font-size: .75rem; }
.character-card__stats[b-uz06qpmhz8] { display: block; }
.character-card__stats div[b-uz06qpmhz8] { display: flex; justify-content: space-between; padding: .35rem 0; border: 0; background: transparent; }
.character-card__stats dt[b-uz06qpmhz8], .character-card__stats dd[b-uz06qpmhz8] { font-size: .78rem; }
.character-card__management[b-uz06qpmhz8] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .4rem; }
.character-card__management small[b-uz06qpmhz8] { color: #bdac99; font-size: .72rem; }
.character-card__delete[b-uz06qpmhz8] { width: auto; min-width: 88px; min-height: 44px; padding: .35rem .7rem; font-size: .78rem; }
.character-card__rename[b-uz06qpmhz8] { min-height: 44px; padding: .5rem .85rem; border: 1px solid #607d94; border-radius: .55rem; background: #183347; color: #e3cfaa; font-size: .78rem; }
.character-card__rename:hover[b-uz06qpmhz8] { background: #25475e; border-color: #d4b379; }
.character-card__identity:focus-visible[b-uz06qpmhz8], .character-card__select:focus-visible[b-uz06qpmhz8], .character-card__delete:focus-visible[b-uz06qpmhz8] { outline: 2px solid #efc271; outline-offset: 2px; }
/* /Components/CurrentCharacterPanel.razor.rz.scp.css */
.character-rename-host[b-8t214si340]  .character-rename-dialog { inset: 0; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 20px; border: 1px solid #607488; border-radius: 16px; overflow-y: auto; }
.character-rename-form[b-8t214si340] { display: grid; gap: 12px; }
.character-rename-form header[b-8t214si340] { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.character-rename-form h2[b-8t214si340] { margin: 0; color: #f3e7d4; font-size: 1.15rem; }
.character-rename-form header p[b-8t214si340] { margin: 6px 0 0; color: #a9bdcd; font-size: .8rem; overflow-wrap: anywhere; }
.character-rename-close[b-8t214si340] { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #607488; border-radius: 10px; color: #d3e0e8; background: #102536; font-size: 1.5rem; }
.character-rename-form label[b-8t214si340] { color: #d9c398; font-size: .85rem; }
.character-rename-form input[b-8t214si340] { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #58748a; border-radius: 8px; padding: 10px 12px; color: #e7eff5; background: #0d1f2d; }
.character-rename-form small[b-8t214si340] { color: #9db2c3; font-size: .75rem; }
.character-rename-form footer[b-8t214si340] { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.character-rename-form footer button[b-8t214si340] { min-height: 44px; }
.character-rename-error[b-8t214si340] { margin: 0; color: #efafa4; font-size: .85rem; }

.current-character-panel__empty[b-8t214si340] {
    margin: 0;
    color: #9eafc1;
    font-size: 0.95rem;
}

.current-character-panel__grid[b-8t214si340] { display: grid; grid-template-columns: minmax(0, 1fr); gap: .4rem; margin-bottom: .5rem; }
.current-character-panel__recovery[b-8t214si340] { margin-bottom: .4rem; }
.current-character-panel__recovery[b-8t214si340]  .game-state { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.current-character-panel__recovery[b-8t214si340]  .game-state__glyph { display: none; }
.current-character-panel__recovery[b-8t214si340]  .game-state__copy strong { white-space: normal; }
.current-character-panel__slots[b-8t214si340] { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: 0 0 .55rem; color: #aebfce; font-size: .7rem; }
.current-character-panel__slots strong[b-8t214si340] { color: #f0c475; font-variant-numeric: tabular-nums; }.current-character-panel__slots small[b-8t214si340] { color: #75899c; }

.current-character-panel__message[b-8t214si340] {
    margin: 0;
    font-size: 0.95rem;
}

.current-character-panel__message--success[b-8t214si340] {
    color: #91d9b0;
}

.current-character-panel__message--error[b-8t214si340] {
    color: #efa2a9;
}

.character-create-card[b-8t214si340] {
    min-width: 0;
    min-height: 64px;
    padding: .72rem .8rem;
    border: 1px dashed #53667d;
    border-radius: .72rem;
    background: rgba(16, 32, 47, .72);
    color: #dfe8f1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .42rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

button.character-create-card[b-8t214si340] {
    flex-direction: row;
    cursor: pointer;
}

a.character-create-card[b-8t214si340] { text-decoration: none; }
.character-create-card--locked[b-8t214si340] { min-height: 78px; color: #9fb0bf; text-align: center; }
.character-create-card--locked small[b-8t214si340] { color: #e1b465; font-size: .64rem; }

button.character-create-card:disabled[b-8t214si340],
.character-create-card__actions button:disabled[b-8t214si340] {
    opacity: 0.6;
    cursor: not-allowed;
}

.character-create-card--editing[b-8t214si340] {
    min-height: 0;
    align-items: stretch;
    justify-content: flex-start;
}

.character-create-card__header[b-8t214si340] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.character-create-card__title[b-8t214si340] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.character-create-card__plus[b-8t214si340] {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
}

.character-create-card__text[b-8t214si340] {
    font-size: 1rem;
    font-weight: 600;
}

.character-create-card__label[b-8t214si340] {
    margin-bottom: .1rem;
    color: #aebfce;
    font-size: .7rem;
}

.character-create-card__input[b-8t214si340] {
    width: 100%;
    min-height: 46px;
    margin-bottom: .25rem;
    padding: .55rem .7rem;
    border: 1px solid #46566b;
    border-radius: 0.5rem;
    background:#0e1826;
    color:#e7edf3;
}

.character-create-card__input:focus-visible[b-8t214si340] {
    outline: 2px solid rgba(231, 183, 103, .7);
    outline-offset: 1px;
    border-color: #d9ac65;
}
.character-create-card__input[aria-invalid="true"][b-8t214si340] { border-color: #dd8585; }
.character-create-card__field-error[b-8t214si340] { color: #efafa4; font-size: .76rem; line-height: 1.4; }

.character-create-card__hint[b-8t214si340] {
    margin-bottom: .7rem;
    color: #7f94a6;
    font-size: .625rem;
}

.character-starting-profession[b-8t214si340] {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-width: 0;
    margin: .35rem 0 .7rem;
    padding: .8rem;
    border: 1px solid #655b45;
    border-radius: .65rem;
    background: linear-gradient(135deg, rgba(220, 174, 97, .12), rgba(20, 39, 55, .6));
}
.character-starting-profession > img[b-8t214si340] { flex: 0 0 50px; width: 50px; height: 70px; object-fit: contain; image-rendering: pixelated; }
.character-starting-profession > div[b-8t214si340] { min-width: 0; }
.character-starting-profession h2[b-8t214si340] { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; margin: 0; color: #f0d09a; font-size: 1rem; }
.character-starting-profession h2 span[b-8t214si340] { color: #bdcbd6; font-size: .72rem; font-weight: 400; }
.character-starting-profession p[b-8t214si340] { margin: .4rem 0; color: #c4d2dc; font-size: .8rem; line-height: 1.6; }
.character-starting-profession small[b-8t214si340] { color: #e8bc74; font-size: .72rem; }

.character-create-card__actions[b-8t214si340] {
    display: flex;
    gap: .45rem;
}

.character-create-card__actions button[b-8t214si340] {
    min-height: 44px;
    flex: 1;
    border: 1px solid #587087;
    border-radius: .55rem;
    background: #1b3044;
    color: #dce7ee;
    font-size: .72rem;
}

.character-create-card__actions button:first-child[b-8t214si340] { border-color: #dcae61; background: #dcae61; color: #15202a; font-weight: 800; }

@media (max-width: 599px) {
    .character-create-card--first .character-create-card__actions[b-8t214si340] {
        position: sticky;
        bottom: max(.5rem, env(safe-area-inset-bottom));
        z-index: 2;
        margin-top: -.4rem;
        padding-top: .4rem;
        background: #10202f;
        box-shadow: 0 -.4rem .5rem #10202f;
        border-radius: .55rem;
    }
}

@container game-shell (max-width: 360px) {
    .character-create-card--editing[b-8t214si340] { padding-inline: .65rem; }
    .character-starting-profession[b-8t214si340] { gap: .6rem; padding: .65rem; }
    .character-starting-profession > img[b-8t214si340] { flex-basis: 40px; width: 40px; height: 60px; }
}

.character-create-card:not(.character-create-card--editing)[b-8t214si340] { min-height: 44px; flex-direction: row; flex-wrap: wrap; padding: .5rem .65rem; gap: .35rem .6rem; }
.character-create-card:not(.character-create-card--editing) .character-create-card__plus[b-8t214si340] { font-size: 1.1rem; }
.character-create-card:not(.character-create-card--editing) .character-create-card__text[b-8t214si340] { font-size: .8rem; }
.character-create-card--locked small[b-8t214si340] { font-size: .72rem; }
.current-character-panel__slots[b-8t214si340] { font-size: .75rem; }
.current-character-panel__message[b-8t214si340] { font-size: .8rem; line-height: 1.5; }

.character-create-card--editing .character-create-card__header[b-8t214si340] { margin-bottom: .25rem; }
.character-create-card__input[b-8t214si340] { font-size: 16px; }
.character-create-card--editing .current-character-panel__message[b-8t214si340] { padding: .5rem .6rem; border: 1px solid #9b6d66; border-radius: .45rem; background: #4b282633; }

.unique-character-formations[b-8t214si340] { display:block; padding:.75rem; border:1px solid #58717e; border-radius:10px; color:#e7ca8c; text-decoration:none; font-size:.9rem; }
.current-character-panel__grid > .profession-board[b-8t214si340] { grid-column:1 / -1; }
/* /Components/DungeonAffixList.razor.rz.scp.css */
.dungeon-affixes[b-rp3ch6lhr8] { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; min-width: 0; font-size: .75rem; color: #e3d3ad; }
.dungeon-affixes__label[b-rp3ch6lhr8] { padding: 12px 0; margin-right: 4px; font-size: .72rem; }
.dungeon-affixes--room[b-rp3ch6lhr8] { position: relative; z-index: 1; flex: 0 0 auto; margin: 0 .75rem .4rem; }
.dungeon-affix[b-rp3ch6lhr8] { max-width: 100%; min-width: 0; border: 1px solid #a6884c66; border-radius: 6px; background: #302c2280; }
.dungeon-affix summary[b-rp3ch6lhr8] { min-height: 44px; box-sizing: border-box; padding: 11px 12px; cursor: pointer; overflow-wrap: anywhere; }
.dungeon-affix summary small[b-rp3ch6lhr8] { margin-left: 8px; color: #e9bb76; font-size: .65rem; }
.dungeon-affix__details[b-rp3ch6lhr8] { padding: 0 12px 10px; max-width: 360px; line-height: 1.6; overflow-wrap: anywhere; }
.dungeon-affix__details p[b-rp3ch6lhr8] { margin: 0 0 5px; color: #ccd5d9; }
.dungeon-affix__details > span[b-rp3ch6lhr8] { color: #98aab4; font-size: .68rem; }
.dungeon-affix summary:focus-visible[b-rp3ch6lhr8] { outline: 2px solid #f5d896; outline-offset: 2px; }
@media (max-width: 600px) { .dungeon-affixes[b-rp3ch6lhr8] { font-size: .72rem; } .dungeon-affix[open][b-rp3ch6lhr8] { flex-basis: 100%; } }
/* /Components/DungeonDepthPicker.razor.rz.scp.css */
.depth-picker[b-w2mbd007gp] { display: grid; gap: 10px; }
.depth-picker__heading[b-w2mbd007gp] { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #e2d8bf; font-size: .8rem; font-weight: 700; }
.depth-picker__heading small[b-w2mbd007gp] { margin-left: 6px; font-size: .62rem; color: #8396a3; font-weight: 500; letter-spacing: .06em; }
.depth-picker__progress[b-w2mbd007gp] { color: #d2b97b; font-size: .7rem; font-weight: 500; }
.depth-picker__mastery[b-w2mbd007gp] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.depth-step[b-w2mbd007gp] { position: relative; display: grid; place-content: center; gap: 9px; min-height: 86px; padding: 10px 4px; border: 1px solid #3d4c5a; border-radius: 8px; background: linear-gradient(160deg, #243341, #192734); color: #e4e7e6; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.depth-step__top[b-w2mbd007gp] { display: flex; align-items: baseline; justify-content: center; gap: 3px; line-height: 1; }
.depth-step__top > span:first-child[b-w2mbd007gp] { color: #8f9eaa; font-size: .59rem; letter-spacing: .04em; }
.depth-step__top strong[b-w2mbd007gp] { font: 500 1.8rem Georgia, serif; }
.depth-step__mark[b-w2mbd007gp] { position: absolute; top: 7px; right: 7px; font-size: .65rem; color: #c2b17f; }
.depth-step__reward[b-w2mbd007gp] { font-size: .72rem; color: #aebbc3; white-space: nowrap; }
.depth-step.is-selected[b-w2mbd007gp] { border-color: #ddbc75; background: linear-gradient(145deg, #4e4735, #302e27); box-shadow: inset 0 0 0 1px #ddbc752a, 0 4px 16px #0002; }
.depth-step.is-selected[b-w2mbd007gp]::after { content: ""; position: absolute; bottom: -1px; left: 35%; right: 35%; height: 3px; border-radius: 3px 3px 0 0; background: #efcc82; }
.depth-step.is-selected .depth-step__top strong[b-w2mbd007gp], .depth-step.is-selected .depth-step__reward[b-w2mbd007gp] { color: #ffe1a2; }
.depth-picker__heading--challenge[b-w2mbd007gp] { margin-top: 5px; }
.depth-picker__heading--challenge > span:last-child[b-w2mbd007gp] { color: #91a0aa; font-size: .66rem; font-weight: 400; }
.depth-picker__challenge[b-w2mbd007gp] { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(44px, 1fr); gap: 6px; overflow-x: auto; scrollbar-width: thin; padding: 1px 1px 3px; }
.depth-challenge[b-w2mbd007gp] { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 0; padding: 0 5px; border: 1px solid #40505e; border-radius: 6px; background: #182633; color: #a7b7c1; cursor: pointer; }
.depth-challenge > span:first-child[b-w2mbd007gp] { display: flex; align-items: baseline; gap: 2px; font-size: .58rem; }
.depth-challenge strong[b-w2mbd007gp] { font-size: .9rem; font-weight: 600; }
.depth-challenge.is-selected[b-w2mbd007gp] { color: #f1c393; border-color: #d6a16a; background: #443426; box-shadow: inset 0 -2px #d6a16a; }
.is-locked:not(.is-selected)[b-w2mbd007gp] { background: #131f2b; color: #83939e; }
.depth-lock[b-w2mbd007gp] { display: inline-block; position: relative; width: 7px; height: 6px; flex: 0 0 7px; border: 1px solid currentColor; border-radius: 1px; opacity: .7; }
.depth-lock[b-w2mbd007gp]::before { content: ""; position: absolute; width: 5px; height: 5px; top: -5px; left: 0; border: 1px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; }
.depth-step > .depth-lock[b-w2mbd007gp] { position: absolute; top: 10px; right: 10px; }
.depth-brief[b-w2mbd007gp] { display: flex; align-items: center; gap: 14px; min-width: 0; margin-top: 3px; padding: 14px; border: 1px solid #8f7a4e66; border-radius: 9px; background: linear-gradient(115deg, #aa874313, #18273580); }
.depth-brief__emblem[b-w2mbd007gp] { flex: 0 0 48px; display: grid; justify-items: center; align-content: center; height: 58px; border: 1px solid #b89a5c66; border-radius: 5px 5px 16px 16px; color: #edce8c; background: #ccac6910; }
.depth-brief__emblem span[b-w2mbd007gp] { font-size: .54rem; letter-spacing: .16em; }
.depth-brief__emblem strong[b-w2mbd007gp] { font: 500 1.8rem/1.05 Georgia, serif; }
.depth-brief__copy[b-w2mbd007gp] { min-width: 0; flex: 1; }
.depth-brief__title[b-w2mbd007gp] { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.depth-brief__title strong[b-w2mbd007gp] { color: #f0dfbc; font-size: .94rem; }
.depth-brief__title > span[b-w2mbd007gp] { color: #b2b9b2; font-size: .62rem; }
.depth-brief p[b-w2mbd007gp] { margin: 5px 0 7px; font-size: .73rem; line-height: 1.45; color: #bdc8ce; }
.depth-brief__stats[b-w2mbd007gp] { display: flex; flex-wrap: wrap; gap: 4px 14px; color: #91a5b3; font-size: .65rem; }
.depth-brief__stats b[b-w2mbd007gp] { color: #d2dce1; font-weight: 600; }
.depth-brief--challenge[b-w2mbd007gp] { border-color: #bb84525e; background: linear-gradient(115deg, #ce804915, #18273580); }
.depth-brief--challenge .depth-brief__emblem[b-w2mbd007gp] { color: #f0bb87; border-color: #d4935460; }
.depth-benefits[b-w2mbd007gp] { display: flex; justify-content: space-between; gap: 6px; padding: 3px 0; font-size: .66rem; color: #94a7b2; line-height: 1.5; }
.depth-benefits b[b-w2mbd007gp] { color: #d8c69c; font-weight: 600; }
.depth-rules-toggle[b-w2mbd007gp] { display: flex; justify-content: space-between; align-items: center; min-height: 44px; width: 100%; padding: 0 1px; border: 0; border-top: 1px solid #354552; background: transparent; color: #c2cdd2; text-align: left; font-size: .74rem; cursor: pointer; }
.depth-rules-toggle small[b-w2mbd007gp] { margin-left: 7px; font-size: .62rem; color: #8e9da6; }
.depth-rules-toggle > span:last-child[b-w2mbd007gp] { font-size: 1.2rem; color: #d5ba7f; }
.depth-rules[b-w2mbd007gp] { padding: 0 2px 6px; display: grid; gap: 10px; color: #a4b7c3; font-size: .75rem; line-height: 1.65; }
.depth-rules p[b-w2mbd007gp] { margin: 0; }
.depth-rules__mechanics[b-w2mbd007gp] { display: flex; flex-wrap: wrap; gap: 6px; }
.depth-rules__mechanics span[b-w2mbd007gp] { padding: 3px 7px; border: 1px solid #445664; border-radius: 4px; color: #c8d2d9; font-size: .7rem; }
button:focus-visible[b-w2mbd007gp] { outline: 2px solid #f5d896; outline-offset: 2px; }
button:disabled[b-w2mbd007gp] { opacity: .5; cursor: wait; }
@media (hover: hover) { .depth-step:hover[b-w2mbd007gp], .depth-challenge:hover[b-w2mbd007gp] { border-color: #d3b77b; } }
@media (max-width: 600px) {
    .depth-picker[b-w2mbd007gp] { gap: 8px; }
    .depth-picker__mastery[b-w2mbd007gp] { gap: 6px; }
    .depth-step[b-w2mbd007gp] { min-height: 64px; gap: 5px; padding-block: 7px; }
    .depth-step__top strong[b-w2mbd007gp] { font-size: 1.6rem; }
    .depth-step__reward[b-w2mbd007gp] { font-size: .68rem; }
    .depth-brief[b-w2mbd007gp] { padding: 11px; gap: 11px; }
    .depth-brief__emblem[b-w2mbd007gp] { flex-basis: 39px; height: 50px; }
    .depth-brief__title strong[b-w2mbd007gp] { font-size: .86rem; }
    .depth-brief p[b-w2mbd007gp] { font-size: .69rem; }
    .depth-benefits[b-w2mbd007gp] { flex-wrap: wrap; justify-content: flex-start; font-size: .7rem; gap: 4px 10px; }
    .depth-benefits > span:first-child[b-w2mbd007gp] { color: #9bacb6; }
}
@media (max-width: 600px) and (max-height: 720px) {
    .depth-picker[b-w2mbd007gp] { gap: 6px; }
    .depth-step[b-w2mbd007gp] { min-height: 64px; gap: 5px; padding: 7px 4px; }
    .depth-step__top strong[b-w2mbd007gp] { font-size: 1.45rem; }
    .depth-picker__heading--challenge[b-w2mbd007gp] { margin-top: 3px; }
    .depth-brief[b-w2mbd007gp] { padding: 9px 10px; margin-top: 0; }
    .depth-brief p[b-w2mbd007gp] { margin: 4px 0; }
}
@media (max-width: 350px) {
    .depth-picker__challenge[b-w2mbd007gp] { gap: 2px; padding-left: 0; padding-right: 0; }
    .depth-challenge[b-w2mbd007gp] { gap: 3px; padding: 0 2px; }
    .depth-challenge strong[b-w2mbd007gp] { font-size: .82rem; }
    .depth-picker__heading--challenge > span:last-child[b-w2mbd007gp] { font-size: .59rem; }
    .depth-benefits > span:first-child[b-w2mbd007gp] { display: none; }
}
@media (max-width: 600px) and (max-height: 610px) {
    .depth-picker[b-w2mbd007gp] { gap: 4px; }
    .depth-step[b-w2mbd007gp] { min-height: 48px; padding: 5px 3px; gap: 4px; }
    .depth-step__top strong[b-w2mbd007gp] { font-size: 1.15rem; }
    .depth-step__reward[b-w2mbd007gp] { font-size: .61rem; }
    .depth-picker__heading[b-w2mbd007gp] { font-size: .7rem; }
    .depth-picker__heading--challenge[b-w2mbd007gp] { margin-top: 2px; }
    .depth-brief[b-w2mbd007gp] { padding: 8px; gap: 8px; }
    .depth-brief__emblem[b-w2mbd007gp] { display: none; }
    .depth-brief__title strong[b-w2mbd007gp] { font-size: .8rem; }
    .depth-brief p[b-w2mbd007gp] { font-size: .66rem; }
    .depth-brief__stats[b-w2mbd007gp] { font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) { .depth-step[b-w2mbd007gp] { transition: none; } }
/* /Components/DungeonMastery.razor.rz.scp.css */
.dungeon-mastery[b-okc1sylyet] { padding: .65rem 0; color: #a8bdca; font-size: .72rem; }
.dungeon-mastery__summary[b-okc1sylyet] { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; }
.dungeon-mastery__summary strong[b-okc1sylyet] { color: #f1d595; }
.dungeon-mastery__steps[b-okc1sylyet] { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; margin-top: .6rem; }
.dungeon-mastery__steps span[b-okc1sylyet] { display: grid; gap: .2rem; padding: .45rem; border: 1px solid #3b5267; border-radius: .4rem; text-align: center; }
.dungeon-mastery__steps .earned[b-okc1sylyet] { border-color: #a99560; color: #f1d595; background: #a995601c; }
/* /Components/FormationDiscardDialog.razor.rz.scp.css */
.discard-backdrop[b-bgz654ssh6] { position:fixed; inset:0; z-index:1650; display:grid; place-items:center; padding:1.25rem; background:#06101bbd; backdrop-filter:blur(6px); }
.discard-dialog[b-bgz654ssh6] { width:min(350px,100%); padding:1.5rem; border:1px solid #526573; border-radius:1rem; background:linear-gradient(145deg,#253e4d,#142a39); color:#dfe8ea; text-align:center; box-shadow:0 20px 60px #0007; }
.discard-emblem[b-bgz654ssh6] { display:block; color:#dec08a; font-size:2.5rem; }.discard-dialog h2[b-bgz654ssh6] { font-size:1.15rem; margin:.5rem 0 .8rem; color:#eee0c6; }.discard-dialog p[b-bgz654ssh6] { color:#a5bdcb; font-size:.8rem; line-height:1.8; margin-bottom:1.2rem; }
.discard-dialog button[b-bgz654ssh6] { width:100%; min-height:46px; border-radius:.6rem; font:inherit; font-size:.85rem; cursor:pointer; }.keep-editing[b-bgz654ssh6] { background:linear-gradient(110deg,#e2c188,#c89f61); border:1px solid #d8b573; color:#1b2f3a; font-weight:650!important; }.discard-changes[b-bgz654ssh6] { margin-top:.6rem; background:#203948; border:1px solid #4b6171; color:#bdcbd3; }.discard-dialog button:focus-visible[b-bgz654ssh6] { outline:2px solid #f1ce8f; outline-offset:3px; }
/* /Components/FormationEditor.razor.rz.scp.css */
.formation-edit-backdrop[b-uqozgk05s9] { position:fixed; inset:0; z-index:1450; display:grid; place-items:center; background:#040c15c9; backdrop-filter:blur(8px); padding:1.5rem; }
.formation-edit-sheet[b-uqozgk05s9] { display:flex; flex-direction:column; width:min(640px,100%); height:min(880px,92dvh); background:linear-gradient(155deg,#193142,#10212f 65%); border:1px solid #506477; border-radius:1rem; box-shadow:0 25px 90px #0009; color:#dae6ec; overflow:hidden; }
.formation-edit-sheet--profession[b-uqozgk05s9] { height:min(760px,calc(var(--profession-viewport-height,100dvh) - 48px - var(--app-top-inset,0px))); }
.formation-edit-backdrop:has(.formation-edit-sheet--profession)[b-uqozgk05s9] { top:calc(var(--profession-viewport-top,0px) + var(--app-top-inset,0px)); bottom:auto; height:calc(var(--profession-viewport-height,100dvh) - var(--app-top-inset,0px)); box-sizing:border-box; }
.formation-edit-sheet button[b-uqozgk05s9] { font:inherit; cursor:pointer; }.formation-edit-sheet button:disabled[b-uqozgk05s9] { opacity:.4; cursor:not-allowed; }.formation-edit-sheet button:focus-visible[b-uqozgk05s9],.formation-edit-sheet input:focus-visible[b-uqozgk05s9] { outline:2px solid #e9c381; outline-offset:3px; }
.edit-header[b-uqozgk05s9] { display:flex; align-items:center; gap:.8rem; padding:.85rem 1rem; background:#122736ed; border-bottom:1px solid #3b5161; flex:0 0 auto; }.icon-button[b-uqozgk05s9] { display:grid; place-items:center; min-width:44px; min-height:44px; border:1px solid #405a6e; background:#203a4c; color:#dfceb0; border-radius:.6rem; font-size:1.7rem!important; line-height:1; }.edit-header>div[b-uqozgk05s9] { flex:1; min-width:0; }.edit-header small[b-uqozgk05s9] { display:block; font-size:.66rem; color:#adbbbf; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.edit-header h2[b-uqozgk05s9] { font-size:1.12rem; color:#e9dec7; margin:.3rem 0 0; font-weight:650; }.edit-tag[b-uqozgk05s9] { color:#99b3bb; font-size:.61rem; border:1px solid #405564; padding:.3rem .45rem; border-radius:.4rem; }
.edit-body[b-uqozgk05s9] { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; padding:1.15rem; scrollbar-width:thin; scrollbar-color:#3e5a6d transparent; }.edit-body fieldset[b-uqozgk05s9] { border:0; padding:0; min-width:0; margin:0; }.edit-error[b-uqozgk05s9] { padding:.7rem .8rem; background:#503d3c66; border:1px solid #99594e; color:#f0b8a9; border-radius:.5rem; font-size:.8rem; }.edit-hint[b-uqozgk05s9] { color:#a0b5c4; font-size:.75rem; line-height:1.8; margin:1rem 0; }
.edit-footer[b-uqozgk05s9] { flex:0 0 auto; background:#132938f5; border-top:1px solid #435966; padding:.65rem 1.15rem 1rem; box-shadow:0 -8px 22px #0002; }.edit-footer>div:first-child[b-uqozgk05s9] { display:flex; align-items:center; justify-content:center; gap:.4rem; margin-bottom:.6rem; }.edit-footer small[b-uqozgk05s9] { font-size:.61rem; color:#97acb6; }.save-dot[b-uqozgk05s9] { width:5px; height:5px; background:#8cbbae; border-radius:50%; }.edit-footer>div:last-child[b-uqozgk05s9] { display:grid; grid-template-columns:1fr 2fr; gap:.7rem; }.cancel-button[b-uqozgk05s9],.save-button[b-uqozgk05s9] { min-height:48px; border-radius:.6rem; font-size:.82rem!important; font-weight:600!important; border:1px solid #4c6372; background:#203b4d; color:#c9d9e3; padding:.7rem; }.save-button[b-uqozgk05s9] { background:linear-gradient(115deg,#dfbc80,#c69c5b); color:#192b36; border-color:#c8a367; }
.field-heading[b-uqozgk05s9] { display:flex; justify-content:space-between; align-items:center; gap:.6rem; margin:1.15rem 0 .7rem; color:#d4e0e7; font-size:.82rem; font-weight:600; }.field-heading small[b-uqozgk05s9] { color:#88a3b5; font-size:.63rem; font-weight:400; }.text-field[b-uqozgk05s9] { display:flex; flex-direction:column; gap:.6rem; color:#acbfcd; font-size:.78rem; margin:1.2rem 0; }.text-field input[b-uqozgk05s9] { border:1px solid #4c6375; border-radius:.6rem; background:#0f2433; color:#e1e9ee; padding:.8rem; min-height:48px; width:100%; box-sizing:border-box; font:inherit; font-size:1rem; }
.identity-preview[b-uqozgk05s9] { display:flex; gap:1rem; align-items:center; min-height:90px; border:1px solid #435b68; border-radius:.7rem; padding:.5rem 1rem .5rem .5rem; background:linear-gradient(120deg,#314954,#182d3e); }.identity-preview img[b-uqozgk05s9] { width:75px; height:90px; object-fit:cover; object-position:50% 15%; border-radius:.45rem; }.identity-preview>div[b-uqozgk05s9] { display:flex; flex-direction:column; gap:.4rem; min-width:0; }.identity-preview small[b-uqozgk05s9] { color:#d2b77f; font-size:.65rem; }.identity-preview strong[b-uqozgk05s9] { font-size:1rem; overflow-wrap:anywhere; }.identity-preview span[b-uqozgk05s9] { font-size:.7rem; color:#9eb4c3; }
.group-choices[b-uqozgk05s9] { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:.4rem; }.group-choices button[b-uqozgk05s9] { display:flex; flex-direction:column; align-items:center; gap:.3rem; border:1px solid #374f60; border-radius:.6rem; background:#162c3d; color:#9dafbd; padding:.55rem .1rem; font-size:.68rem; }.group-choices span[b-uqozgk05s9] { font-size:1.5rem; color:var(--element); }.group-choices button[aria-pressed=true][b-uqozgk05s9] { border-color:var(--element); color:var(--element); background:color-mix(in srgb,var(--element) 10%,#142d3b); }
.position-choices[b-uqozgk05s9] { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:.4rem; }.position-choices button[b-uqozgk05s9] { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:48px; padding:.5rem .1rem; border:1px solid #415c6e; border-radius:.5rem; background:#162c3c; color:#b5c7d4; font-size:.86rem; }.position-choices button[aria-pressed=true][b-uqozgk05s9] { border-color:#d2b47a; color:#e8c68d; background:#48534c55; }.position-choices small[b-uqozgk05s9] { font-size:.48rem; margin-top:.15rem; }
.manage-actions[b-uqozgk05s9] { margin-top:1.5rem; border-top:1px solid #344d5f; }.manage-actions button[b-uqozgk05s9] { display:grid; grid-template-columns:30px 1fr auto; align-items:center; column-gap:.5rem; width:100%; min-height:58px; text-align:left; padding:.75rem .2rem; background:transparent; border:0; border-bottom:1px solid #344d5f; color:#b7cbd5; }.manage-actions button>span[b-uqozgk05s9] { grid-row:span 2; font-size:1.45rem; color:#c9b78f; }.manage-actions strong[b-uqozgk05s9] { font-size:.82rem; font-weight:500; }.manage-actions small[b-uqozgk05s9] { grid-column:2; color:#8aa2b3; font-size:.64rem; margin-top:.3rem; }.manage-actions b[b-uqozgk05s9] { grid-column:3; grid-row:1; font-size:1.3rem; font-weight:400; }.manage-actions .danger-link[b-uqozgk05s9] { color:#d89d91; }.delete-confirm[b-uqozgk05s9] { padding:.8rem; margin-top:.8rem; border-radius:.5rem; border:1px solid #885b55; color:#e0b6a9; background:#3b262944; font-size:.78rem; }.danger-button[b-uqozgk05s9],.quiet-button[b-uqozgk05s9] { border:1px solid #906d65; border-radius:.4rem; min-height:44px; padding:.5rem .8rem; color:#ead0c8; background:#6c3f3b; margin:.2rem .4rem .2rem 0; }.quiet-button[b-uqozgk05s9] { background:#263c4b; border-color:#4c6577; color:#b6cad7; }
.profession-choices[b-uqozgk05s9] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; }.profession-choices button[b-uqozgk05s9] { position:relative; padding:0; height:185px; overflow:hidden; border:1px solid #405d70; border-radius:.75rem; background:radial-gradient(ellipse at center,#36546a,#102535); color:#e1e7ea; text-align:left; }.profession-choices img[b-uqozgk05s9] { width:100%; height:100%; object-fit:cover; object-position:50% 15%; }.profession-choices button>span[b-uqozgk05s9] { position:absolute; bottom:0; left:0; right:0; padding:1.3rem .8rem .7rem; display:flex; align-items:center; justify-content:space-between; gap:.5rem; background:linear-gradient(transparent,#0a192be8 65%); }.profession-choices strong[b-uqozgk05s9] { font-size:.92rem; font-weight:600; }.profession-choices small[b-uqozgk05s9] { font-size:.7rem; color:#e2c590; }.profession-choices button[aria-pressed=true][b-uqozgk05s9] { border:2px solid #deb875; box-shadow:0 0 16px #d7b97416; }.profession-choices b[b-uqozgk05s9] { position:absolute; top:.5rem; right:.5rem; width:25px; height:25px; display:grid; place-items:center; border-radius:50%; background:#dabb83; color:#183140; font-size:.8rem; }
.selected-description[b-uqozgk05s9] { padding:1rem; margin-top:1rem; border:1px solid #365264; border-radius:.65rem; background:#152b3b; }.selected-description h3[b-uqozgk05s9] { font-size:1rem; color:#dbc9a4; margin:0 0 .7rem; }.selected-description p[b-uqozgk05s9] { font-size:.78rem; line-height:1.8; color:#a8becb; margin:.6rem 0; }.selected-description>small[b-uqozgk05s9] { font-size:.65rem; color:#8ca9b8; }.selected-description .field-heading[b-uqozgk05s9] { margin-top:0; }.selected-description details[b-uqozgk05s9] { border-top:1px solid #334d5c; padding-top:.75rem; margin-top:.75rem; }.selected-description summary[b-uqozgk05s9] { font-size:.74rem; color:#b5c6cc; cursor:pointer; }
.edit-skill-strip[b-uqozgk05s9] { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.55rem; }.edit-skill-strip button[b-uqozgk05s9] { border:0; padding:0; background:transparent; min-width:0; color:#b6cad7; }.edit-skill-strip button>span[b-uqozgk05s9] { display:grid; place-items:center; position:relative; width:100%; aspect-ratio:1; border:1px solid #50667a; border-radius:.6rem; background:#192d41; overflow:hidden; }.edit-skill-strip img[b-uqozgk05s9] { width:100%; height:100%; object-fit:cover; }.edit-skill-strip button>span>span[b-uqozgk05s9] { font-size:1.5rem; color:#55778f; }.edit-skill-strip button[aria-pressed=true]>span[b-uqozgk05s9] { border:2px solid #dec08b; box-shadow:0 0 15px #dbb86e22; }.edit-skill-strip small[b-uqozgk05s9] { position:absolute; left:0; top:0; padding:.12rem .35rem; background:#142633dc; color:#ddc795; font-size:.62rem; border-radius:0 0 .5rem 0; }.edit-skill-strip strong[b-uqozgk05s9] { display:block; font-size:.66rem; font-weight:500; margin-top:.45rem; text-overflow:ellipsis; overflow:hidden; white-space:nowrap; }
.slot-tools[b-uqozgk05s9] { display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin:.8rem 0; }.slot-tools>small[b-uqozgk05s9] { font-size:.67rem; color:#a7becb; }.slot-tools>div[b-uqozgk05s9] { display:flex; gap:.4rem; }.slot-tools button[b-uqozgk05s9] { min-height:40px; min-width:40px; background:#233e51; border:1px solid #425e71; border-radius:.45rem; color:#b9ccd6; padding:.4rem; font-size:.7rem; }
.strategy-panel[b-uqozgk05s9] { border:1px solid #3d5666; border-radius:.65rem; background:#1b3443; padding:.7rem .85rem; margin:1rem 0; }.toggle-row[b-uqozgk05s9] { display:flex; justify-content:space-between; gap:1rem; align-items:center; margin:0; min-height:46px; }.toggle-row>span[b-uqozgk05s9] { display:flex; flex-direction:column; gap:.4rem; }.toggle-row strong[b-uqozgk05s9] { font-size:.82rem; font-weight:500; color:#d7e3e8; }.toggle-row small[b-uqozgk05s9] { font-size:.63rem; color:#96b2c2; }.toggle-row input[b-uqozgk05s9] { appearance:none; position:relative; width:42px; height:25px; flex:0 0 42px; background:#0f2534; border:1px solid #4d6676; border-radius:20px; cursor:pointer; transition:background .15s; }.toggle-row input[b-uqozgk05s9]:after { content:''; position:absolute; left:3px; top:3px; width:17px; height:17px; border-radius:50%; background:#8da5b5; transition:transform .15s; }.toggle-row input:checked[b-uqozgk05s9] { background:#6c998b; border-color:#8bc3ae; }.toggle-row input:checked[b-uqozgk05s9]:after { background:#eff5e8; transform:translateX(17px); }.strategy-panel details[b-uqozgk05s9] { border-top:1px solid #3b5260; margin-top:.65rem; padding-top:.7rem; font-size:.72rem; color:#aebfc9; }.strategy-panel details summary[b-uqozgk05s9] { cursor:pointer; min-height:30px; }.strategy-panel details p[b-uqozgk05s9] { color:#a2bac8; line-height:1.8; }.strategy-panel details>small[b-uqozgk05s9] { font-size:.64rem; color:#829eae; }.strategy-panel[b-uqozgk05s9]  .skill-auto-picker { margin-top:.8rem; }
.skill-library[b-uqozgk05s9] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.65rem; }.skill-library button[b-uqozgk05s9] { display:flex; flex-direction:column; align-items:center; gap:.45rem; min-width:0; border:1px solid #344f62; border-radius:.7rem; background:#172f42; padding:.75rem .3rem; color:#d3e0e7; }.library-art[b-uqozgk05s9] { display:grid; place-items:center; width:56px; height:56px; border:1px solid #647085; border-radius:.55rem; overflow:hidden; background:#233e4c; }.library-art img[b-uqozgk05s9] { width:100%; height:100%; object-fit:cover; }.skill-library strong[b-uqozgk05s9] { font-size:.7rem; font-weight:500; }.skill-library small[b-uqozgk05s9] { color:#92b6a8; font-size:.58rem; }.skill-library button[aria-pressed=true][b-uqozgk05s9] { border-color:#bb9e6f; background:#3b493e88; }
.item-stats[b-uqozgk05s9] { display:flex; flex-wrap:wrap; gap:.6rem 1rem; color:#93aebc; font-size:.65rem; padding-top:.9rem; }.item-stats b[b-uqozgk05s9] { color:#dec9a1; font-size:.83rem; font-weight:500; margin-left:.25rem; }
.supply-tabs[b-uqozgk05s9] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.7rem; }.supply-tabs button[b-uqozgk05s9] { display:flex; align-items:center; flex-direction:column; gap:.55rem; padding:.8rem; border:1px solid #3c596f; border-radius:.7rem; background:#1a3448; color:#a4becc; }.supply-tabs button>span[b-uqozgk05s9] { width:60px; height:60px; display:grid; place-items:center; color:#6c8b9b; font-size:1.5rem; }.supply-tabs img[b-uqozgk05s9] { width:100%; height:100%; object-fit:contain; }.supply-tabs strong[b-uqozgk05s9] { font-weight:500; font-size:.78rem; }.supply-tabs button[aria-pressed=true][b-uqozgk05s9] { border-color:#cfb579; color:#ead4a5; background:#34483c66; }
.soul-spotlight[b-uqozgk05s9] { display:grid; grid-template-columns:64px minmax(0,1fr); grid-template-rows:auto auto; align-items:center; column-gap:.75rem; text-align:left; padding:.4rem 0 .75rem; }.soul-spotlight>img[b-uqozgk05s9],.soul-spotlight>span[b-uqozgk05s9] { grid-column:1; grid-row:1 / 3; width:64px; height:64px; object-fit:contain; display:block; margin:0; font-size:3rem; color:#9683b1; line-height:64px; text-align:center; filter:drop-shadow(0 0 12px #aa8fc62c); }.soul-spotlight h3[b-uqozgk05s9] { grid-column:2; align-self:end; font-size:.9rem; font-weight:600; color:#d9c7e1; margin:0; overflow-wrap:anywhere; }.soul-spotlight h3:last-child[b-uqozgk05s9] { grid-row:1 / 3; align-self:center; }.soul-spotlight small[b-uqozgk05s9] { grid-column:2; align-self:start; margin-top:.25rem; color:#a29fb7; font-size:.7rem; }
.editor-issues[b-uqozgk05s9] { margin-top:1rem; padding:.8rem; color:#d4bc91; font-size:.72rem; border:1px solid #625839; border-radius:.5rem; background:#49402c33; }.editor-issues summary[b-uqozgk05s9] { cursor:pointer; }.editor-issues p[b-uqozgk05s9] { font-size:.68rem; margin:.7rem 0 0; line-height:1.7; }
@media(max-width:640px) { .formation-edit-backdrop[b-uqozgk05s9] { padding:0; }.formation-edit-sheet[b-uqozgk05s9] { width:100%; height:100dvh; max-height:100dvh; border:0; border-radius:0; }.edit-header[b-uqozgk05s9] { padding-top:calc(.75rem + env(safe-area-inset-top)); }.edit-footer[b-uqozgk05s9] { padding-bottom:calc(.9rem + env(safe-area-inset-bottom)); }.edit-body[b-uqozgk05s9] { padding:1rem; }.profession-choices button[b-uqozgk05s9] { height:174px; }.edit-tag[b-uqozgk05s9] { font-size:.55rem; } }
@media(prefers-reduced-motion:reduce) { .formation-edit-sheet *[b-uqozgk05s9] { transition:none!important; } }
@media(max-width:640px), (max-height:480px) {
    .formation-edit-backdrop:has(.formation-edit-sheet--profession)[b-uqozgk05s9] { padding:0; }
    .formation-edit-sheet--profession[b-uqozgk05s9] { height:calc(var(--profession-viewport-height,100dvh) - var(--app-top-inset,0px)); max-height:calc(var(--profession-viewport-height,100dvh) - var(--app-top-inset,0px)); border-radius:0; }
}

.edit-context[b-uqozgk05s9] { margin:0 0 .5rem; color:#a4bdcc; font-size:.78rem; }
.edit-save-state strong[b-uqozgk05s9] { color:#a8cbbd; font-size:.75rem; font-weight:600; }
.edit-save-state.is-dirty strong[b-uqozgk05s9] { color:#f0ca82; }
.edit-save-state.is-dirty .save-dot[b-uqozgk05s9] { background:#f0ca82; }
.edit-footer > .edit-save-state[b-uqozgk05s9] { justify-content:flex-start; }
.edit-save-state small[b-uqozgk05s9] { margin-left:auto; font-size:.68rem; }
.edit-hint[b-uqozgk05s9] { margin:.5rem 0; line-height:1.5; }
.text-field[b-uqozgk05s9] { margin:.75rem 0; }
.field-heading[b-uqozgk05s9] { margin:.8rem 0 .5rem; }
.edit-body fieldset > .field-heading:first-child[b-uqozgk05s9] { margin-top:0; }
.slot-tools button[b-uqozgk05s9] { min-height:44px; min-width:44px; font-size:.75rem; }
.strategy-panel details summary[b-uqozgk05s9],.selected-description summary[b-uqozgk05s9],.editor-issues summary[b-uqozgk05s9] { min-height:44px; align-content:center; }
.selected-description[b-uqozgk05s9] { padding:.7rem; margin-top:.7rem; }
.selected-description details[b-uqozgk05s9] { padding-top:.25rem; margin-top:.5rem; }
.strategy-panel[b-uqozgk05s9] { padding:.5rem .7rem; margin:.65rem 0; }
.strategy-panel details[b-uqozgk05s9] { padding-top:.2rem; margin-top:.4rem; }
.edit-skill-strip strong[b-uqozgk05s9] { font-size:.72rem; }
.skill-library strong[b-uqozgk05s9] { font-size:.75rem; }
.skill-library small[b-uqozgk05s9] { font-size:.65rem; }
.editor-issues[b-uqozgk05s9] { padding:.1rem .7rem; margin-top:.7rem; }
.editor-issues p[b-uqozgk05s9] { padding-bottom:.5rem; }
.delete-confirm p[b-uqozgk05s9] { overflow-wrap:anywhere; }
.delete-confirm button[b-uqozgk05s9] { min-width:100px; }
.formation-edit-sheet summary:focus-visible[b-uqozgk05s9] { outline:2px solid #e9c381; outline-offset:2px; }
.skill-library-item[b-uqozgk05s9] { min-width:0; border:1px solid #344f62; border-radius:.7rem; background:#122a3b; overflow:hidden; }
.skill-library-item > button[b-uqozgk05s9] { width:100%; border:0; border-radius:0; }
.skill-library-item > details[b-uqozgk05s9] { padding:0 .45rem; }
.skill-library-item summary[b-uqozgk05s9] { min-height:44px; align-content:center; font-size:.72rem; color:#d4bd8d; cursor:pointer; }
.skill-library-item p[b-uqozgk05s9] { font-size:.76rem; line-height:1.6; overflow-wrap:anywhere; }
.skill-library-item:has(details[open])[b-uqozgk05s9] { grid-column:1 / -1; }
.skill-library-item:has(details[open]) > button[b-uqozgk05s9] { display:grid; grid-template-columns:44px 1fr; text-align:left; column-gap:.7rem; padding:.5rem; }
.skill-library-item:has(details[open]) .library-art[b-uqozgk05s9] { grid-row:span 2; }
.skill-library-item:has(details[open]) small[b-uqozgk05s9] { grid-column:2; }
.shared-skill-rules[b-uqozgk05s9] { margin:.4rem 0; }
.operation-potion-rule[b-uqozgk05s9] { color:#dfc28e; padding:.5rem .7rem; border-left:2px solid #c5a66d; background:#483f2526; }
.formation-manage-deploy[b-uqozgk05s9] { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:.5rem; margin:.5rem 0; }
.formation-manage-deploy > p[b-uqozgk05s9], .formation-manage-deploy > .manage-activity-state[b-uqozgk05s9] { grid-column:1/-1; }
.formation-manage-deploy > button[b-uqozgk05s9] { min-width:0; min-height:44px; white-space:normal; }
.manage-activity-state[b-uqozgk05s9] { font-size:.76rem; color:#a9c0cc; }
.formation-warehouse[b-uqozgk05s9] { display:flex; align-items:center; min-height:44px; color:#dbc18b; font-size:.8rem; text-decoration:none; }

.edit-choice-error[b-uqozgk05s9] { padding:.8rem; border:1px solid #94764d; border-radius:.6rem; color:#ddc798; background:#4f402333; font-size:.82rem; line-height:1.6; }
.edit-choice-error p[b-uqozgk05s9] { margin:0 0 .6rem; }
.edit-choice-error button[b-uqozgk05s9] { min-height:44px; border:1px solid #a18759; border-radius:.5rem; padding:.4rem .8rem; color:#ecd7ae; background:#283d47; }
.slot-tools[b-uqozgk05s9] { flex-wrap:wrap; }
.slot-tools > small[b-uqozgk05s9] { overflow-wrap:anywhere; }
.slot-tools > div[b-uqozgk05s9] { margin-left:auto; flex:0 0 auto; }
.edit-save-state[b-uqozgk05s9] { flex-wrap:wrap; }
@media(pointer:coarse) {
    .strategy-panel[b-uqozgk05s9]  .skill-auto-picker select,
    .strategy-panel[b-uqozgk05s9]  .skill-auto-picker input { font-size:16px; }
}
@media(max-width:640px) {
    .edit-header[b-uqozgk05s9] { padding:.55rem .75rem; padding-top:calc(.55rem + env(safe-area-inset-top)); }
    .edit-body[b-uqozgk05s9] { padding:.75rem; }
    .edit-footer[b-uqozgk05s9] { padding:.55rem .75rem calc(.6rem + env(safe-area-inset-bottom)); }
    .edit-footer > div:first-child[b-uqozgk05s9] { margin-bottom:.4rem; }
    .profession-choices[b-uqozgk05s9] { gap:.55rem; }
    .profession-choices button[b-uqozgk05s9] { height:132px; }
    .skill-library[b-uqozgk05s9] { gap:.4rem; }
    .skill-library button[b-uqozgk05s9] { padding:.45rem .2rem; gap:.3rem; }
    .library-art[b-uqozgk05s9] { width:44px; height:44px; }
}

.formation-edit-sheet--weapons[b-uqozgk05s9] { width:min(860px,100%); }

.formation-edit-sheet--weapons .edit-body[b-uqozgk05s9] { padding:.5rem 1rem .7rem; }
.weapon-board-toolbar[b-uqozgk05s9] { display:flex; align-items:center; justify-content:space-between; gap:.3rem .5rem; margin-bottom:.45rem; }
.weapon-board-caption[b-uqozgk05s9] { display:flex; align-items:baseline; min-width:0; gap:.3rem .75rem; }
.weapon-board-caption > strong[b-uqozgk05s9] { white-space:nowrap; }
.weapon-board-caption > small[b-uqozgk05s9] { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.weapon-board-tools[b-uqozgk05s9] { --weapon-tool-height:44px; display:flex; align-items:center; flex:0 0 auto; gap:.4rem; }
.weapon-board-swap[b-uqozgk05s9],.weapon-board-view[b-uqozgk05s9] { border:1px solid #48606b; border-radius:.45rem; background:#0e2230; }
.weapon-board-swap[b-uqozgk05s9] { position:relative; display:grid; place-items:center; flex:0 0 var(--weapon-tool-height); width:var(--weapon-tool-height); height:var(--weapon-tool-height); padding:0; color:#a5bac4; }
.edit-choice-status[b-uqozgk05s9] { margin-bottom:.4rem; color:#a5bdc9; font-size:.7rem; }
.weapon-board-swap[b-uqozgk05s9]::before { content:""; position:absolute; inset:3px; border-radius:.25rem; }
.weapon-board-swap:hover:not(:disabled)[b-uqozgk05s9]::before { background:#34454a80; }
.weapon-board-swap[aria-pressed=true][b-uqozgk05s9] { color:#f0d6a3; }
.weapon-board-swap[aria-pressed=true][b-uqozgk05s9]::before { background:#34454a; box-shadow:inset 0 0 0 1px #b79c6550; }
.weapon-board-swap svg[b-uqozgk05s9] { position:relative; width:20px; height:20px; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.weapon-board-swap:focus-visible[b-uqozgk05s9] { outline:2px solid #efc271; outline-offset:2px; }
.weapon-board-caption > .weapon-swap-hint[b-uqozgk05s9] { color:#dfc58f; white-space:normal; overflow-wrap:anywhere; }
.weapon-board-caption > strong[b-uqozgk05s9] { color:#d5dbd4; font-size:.75rem; font-weight:500; }.weapon-board-caption strong > span[b-uqozgk05s9] { margin-left:.35rem; color:#dfc58f; font-variant-numeric:tabular-nums; }
.weapon-board-caption small[b-uqozgk05s9] { color:#93a9b3; font-size:.65rem; font-weight:400; }
.weapon-board-view[b-uqozgk05s9] { display:flex; padding:3px; }
.weapon-board-view button[b-uqozgk05s9] { min-height:36px; min-width:52px; padding:.2rem .6rem; border:0; border-radius:.25rem; background:transparent; color:#a5bac4; font-size:.7rem; }
.weapon-board-view button[aria-pressed=true][b-uqozgk05s9] { color:#f0d6a3; background:#34454a; box-shadow:inset 0 0 0 1px #b79c6550; }
.formation-edit-sheet--weapons .edit-footer[b-uqozgk05s9] { display:flex; align-items:center; justify-content:space-between; gap:.75rem; padding:.6rem 1rem; }
.formation-edit-sheet--weapons .edit-footer > .edit-save-state[b-uqozgk05s9] { flex:1; min-width:0; margin:0; justify-content:flex-start; font-size:.7rem; }
.formation-edit-sheet--weapons .edit-save-state small[b-uqozgk05s9] { display:none; }
.formation-edit-sheet--weapons .edit-footer > div:last-child[b-uqozgk05s9] { flex:0 0 auto; grid-template-columns:auto auto; gap:.5rem; }
.formation-edit-sheet--weapons .cancel-button[b-uqozgk05s9],.formation-edit-sheet--weapons .save-button[b-uqozgk05s9] { min-height:44px; padding:.5rem 1rem; font-size:.75rem!important; }
.formation-edit-sheet--weapons .save-button:disabled[b-uqozgk05s9] { opacity:1; color:#99adb5; border-color:#3a545f; background:#213743; }
@media(max-width:640px) {
 .formation-edit-sheet--weapons .edit-body[b-uqozgk05s9] { padding:.4rem .6rem .6rem; }
 .formation-edit-sheet--weapons .edit-footer[b-uqozgk05s9] { gap:.4rem; padding:.45rem .6rem calc(.45rem + env(safe-area-inset-bottom)); }
 .formation-edit-sheet--weapons .cancel-button[b-uqozgk05s9],.formation-edit-sheet--weapons .save-button[b-uqozgk05s9] { padding:.4rem .7rem; }
 .formation-edit-sheet--weapons .edit-footer > .edit-save-state[b-uqozgk05s9] { gap:.3rem; font-size:.65rem; }
 .weapon-board-caption > small[b-uqozgk05s9] { display:none; }
}
@media(pointer:coarse) { .weapon-board-tools[b-uqozgk05s9] { --weapon-tool-height:52px; }.weapon-board-view button[b-uqozgk05s9] { min-height:44px; } }
.edit-footer .edit-save-state[b-uqozgk05s9]{min-width:0;white-space:normal;line-height:1.5;flex-basis:100%}.edit-footer .edit-save-state strong[b-uqozgk05s9]{white-space:normal;overflow-wrap:anywhere;font-size:.72rem}.edit-footer .edit-save-actions[b-uqozgk05s9]{display:flex;gap:6px;flex-wrap:wrap;width:100%}.edit-save-actions button[b-uqozgk05s9]{min-height:44px;flex:1;white-space:normal}.edit-save-actions .save-button[b-uqozgk05s9]{flex:2}.formation-edit-sheet--weapons .edit-footer[b-uqozgk05s9]{flex-wrap:wrap}.edit-save-actions .cancel-button[b-uqozgk05s9]{font-size:.75rem}

.formation-edit-sheet--settings[b-uqozgk05s9] { width:min(540px,100%); height:auto; max-height:92dvh; }
.formation-edit-sheet--settings .edit-header[b-uqozgk05s9] { padding:.45rem .9rem; gap:.65rem; }
.formation-edit-sheet--settings .edit-header h2[b-uqozgk05s9] { margin:.15rem 0 0; font-size:1rem; }
.settings-default-badge[b-uqozgk05s9] { flex:0 0 auto; padding:.2rem .45rem; border:1px solid #b79c6550; border-radius:.35rem; color:#dfc58f; background:#b79c6515; font-size:.65rem; }
.formation-edit-sheet--settings .edit-body[b-uqozgk05s9] { padding:.85rem 1rem; }
.formation-edit-sheet--settings .settings-name[b-uqozgk05s9] { margin:0 0 .55rem; gap:.45rem; }
.settings-name input[b-uqozgk05s9] { padding:.6rem .7rem; }
.settings-default-row[b-uqozgk05s9] { display:flex; align-items:center; justify-content:space-between; gap:.7rem; min-height:48px; margin:.2rem 0 .75rem; cursor:pointer; }
.settings-default-row > span[b-uqozgk05s9] { display:grid; gap:.25rem; }
.settings-default-row strong[b-uqozgk05s9] { color:#d7e1e3; font-size:.8rem; font-weight:500; }
.settings-default-row strong > span[b-uqozgk05s9] { color:#dec18a; font-size:1rem; }
.settings-default-row small[b-uqozgk05s9] { color:#97afba; font-size:.65rem; }
.settings-default-row input[b-uqozgk05s9] { flex:0 0 22px; width:22px; height:22px; margin:0; accent-color:#d1b17a; cursor:pointer; }
.settings-default-row:has(input:disabled)[b-uqozgk05s9] { cursor:default; }
.settings-default-row input:disabled[b-uqozgk05s9] { cursor:default; opacity:.5; }
.formation-edit-sheet--settings .field-heading[b-uqozgk05s9] { margin:.85rem 0 .45rem; }
.formation-edit-sheet--settings .group-choices[b-uqozgk05s9] { gap:.35rem; }
.formation-edit-sheet--settings .group-choices button[b-uqozgk05s9] { min-height:68px; justify-content:center; padding:.5rem .1rem; }
.formation-edit-sheet--settings .group-choices button > span[b-uqozgk05s9] { display:grid; place-items:center; width:26px; height:26px; }
.formation-edit-sheet--settings .group-choices[b-uqozgk05s9]  svg { width:26px; height:26px; }
.formation-edit-sheet--settings .position-choices[b-uqozgk05s9] { gap:.35rem; }
.formation-edit-sheet--settings .position-choices button[b-uqozgk05s9] { min-width:0; min-height:48px; padding:.4rem .05rem; }
.settings-position-note[b-uqozgk05s9] { margin:.5rem 0 0; color:#dfc08b; font-size:.7rem; line-height:1.6; overflow-wrap:anywhere; }
.settings-secondary[b-uqozgk05s9] { display:flex; justify-content:space-between; align-items:flex-start; gap:.75rem; margin-top:1rem; padding-top:.65rem; border-top:1px solid #344d5f; }
.settings-secondary button[b-uqozgk05s9] { min-height:44px; border:1px solid #405969; border-radius:.45rem; padding:.45rem .65rem; color:#bbccd4; background:transparent; font-size:.75rem; }
.settings-copy > span[b-uqozgk05s9] { color:#cfb888; font-size:1.1rem; }
.settings-secondary .danger-link[b-uqozgk05s9] { color:#e2aaa0; border-color:#89625d; }
.settings-sync-note[b-uqozgk05s9] { margin:.8rem 0 0; color:#96aeb9; font-size:.65rem; line-height:1.6; }
.settings-choice-status[b-uqozgk05s9] { margin-bottom:.6rem; color:#a5bdc9; font-size:.7rem; }
.settings-choice-warning[b-uqozgk05s9] { display:flex; align-items:center; gap:.5rem; margin-bottom:.65rem; color:#dfc08b; font-size:.7rem; line-height:1.5; }
.settings-choice-warning button[b-uqozgk05s9] { flex:0 0 44px; width:44px; height:44px; border:1px solid #687366; border-radius:.45rem; background:#203b4b; color:#ccdee5; }
.formation-edit-sheet--settings .edit-footer[b-uqozgk05s9] { display:flex; align-items:center; flex-wrap:wrap; gap:.6rem; padding:.6rem 1rem; }
.formation-edit-sheet--settings .edit-footer > .edit-save-state[b-uqozgk05s9] { flex:1; flex-basis:auto; min-width:100px; margin:0; font-size:.7rem; }
.formation-edit-sheet--settings .edit-footer > .edit-save-actions[b-uqozgk05s9] { display:flex; flex:0 0 auto; width:auto; margin-left:auto; gap:.5rem; }
.formation-edit-sheet--settings .edit-save-actions button[b-uqozgk05s9] { flex:0 0 auto; min-height:44px; min-width:92px; padding:.5rem .8rem; font-size:.75rem!important; }
@media(max-width:640px) {
 .formation-edit-sheet--settings[b-uqozgk05s9] { width:100%; height:100dvh; max-height:100dvh; }
 .formation-edit-sheet--settings .edit-header[b-uqozgk05s9] { padding:.4rem .75rem; padding-top:calc(.4rem + env(safe-area-inset-top)); }
 .formation-edit-sheet--settings .edit-body[b-uqozgk05s9] { padding:.75rem; }
 .formation-edit-sheet--settings .edit-footer[b-uqozgk05s9] { padding:.5rem .75rem calc(.5rem + env(safe-area-inset-bottom)); }
 .formation-edit-sheet--settings .edit-save-actions button[b-uqozgk05s9] { min-width:88px; }
}


.formation-edit-sheet--skills[b-uqozgk05s9] { height:auto; max-height:min(880px,92dvh); background:#142b3a; }
.formation-edit-sheet--skills .edit-body[b-uqozgk05s9] { --skills-pad:1rem; padding:0 var(--skills-pad); }
.skill-loadout[b-uqozgk05s9] { position:sticky; top:0; z-index:2; margin:0 calc(-1 * var(--skills-pad)); padding:.75rem var(--skills-pad) 0; background:#142b3a; }
.skill-order-heading[b-uqozgk05s9] { margin:0 0 .6rem; font-size:.76rem; font-weight:500; }
.skill-order-heading small[b-uqozgk05s9] { color:#c7ae7b; font-variant-numeric:tabular-nums; }
.formation-edit-sheet--skills .edit-skill-strip[b-uqozgk05s9] { gap:.5rem; }
.formation-edit-sheet--skills .edit-skill-strip button[b-uqozgk05s9] { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.3rem; min-height:90px; padding:.9rem .2rem .5rem; border:1px solid #456274; border-radius:.55rem; background:#193344; }
.formation-edit-sheet--skills .edit-skill-strip button.is-empty[b-uqozgk05s9] { border-style:dashed; border-color:#385466; background:#112735; }
.formation-edit-sheet--skills .edit-skill-strip button[aria-pressed=true][b-uqozgk05s9] { border:1px solid #d6b475; background:#293c3e; box-shadow:inset 0 0 0 1px #d6b475; }
.formation-edit-sheet--skills .edit-skill-strip button > .skill-slot-art[b-uqozgk05s9] { position:static; width:44px; height:44px; aspect-ratio:auto; border:0; border-radius:.3rem; background:transparent; box-shadow:none; }
.formation-edit-sheet--skills .edit-skill-strip img[b-uqozgk05s9] { object-fit:contain; image-rendering:pixelated; }
.formation-edit-sheet--skills .edit-skill-strip strong[b-uqozgk05s9] { margin:0; font-size:.72rem; max-width:100%; }
.formation-edit-sheet--skills .edit-skill-strip small[b-uqozgk05s9] { left:.4rem; top:.2rem; padding:0; background:none; font-size:.64rem; }
.skill-auto-dot[b-uqozgk05s9] { position:absolute; right:.4rem; top:.45rem; width:4px; height:4px; border-radius:50%; background:#9bcbb6; }
.skill-selection[b-uqozgk05s9] { display:flex; align-items:center; justify-content:space-between; gap:.65rem; min-height:64px; margin:.75rem calc(-1 * var(--skills-pad)) 0; padding:.5rem var(--skills-pad); border-block:1px solid #304b5a; background:#102735; }
.skill-selection-heading[b-uqozgk05s9] { display:grid; min-width:0; gap:.2rem; }
.skill-selection-heading > strong[b-uqozgk05s9] { color:#e5c896; font-weight:500; font-size:.8rem; overflow-wrap:anywhere; }
.skill-selection-heading small[b-uqozgk05s9] { margin-left:.35rem; color:#99b0bf; font-size:.7rem; font-weight:400; }
.skill-selection-heading > span[b-uqozgk05s9] { color:#99b2c1; font-size:.7rem; }
.skill-selection-tools[b-uqozgk05s9] { display:flex; align-items:center; gap:.45rem; flex-shrink:0; min-width:0; }
.skill-auto-toggle[b-uqozgk05s9] { min-height:36px; gap:.35rem; flex-shrink:0; }
.skill-auto-toggle > span[b-uqozgk05s9] { font-size:.74rem; color:#c0d4df; }
.skill-auto-toggle input[b-uqozgk05s9] { width:32px; height:20px; flex-basis:32px; margin:0; }
.skill-auto-toggle input[b-uqozgk05s9]:after { width:12px; height:12px; }
.skill-auto-toggle input:checked[b-uqozgk05s9]:after { transform:translateX(12px); }
.skill-condition[b-uqozgk05s9] { display:flex; align-items:center; gap:.35rem; min-width:0; max-width:112px; min-height:34px; padding:.3rem .45rem; border:1px solid #405a6a; border-radius:.4rem; background:#1d3644; color:#b7ceda; font-size:.7rem!important; }
.skill-condition > span[b-uqozgk05s9] { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.skill-condition > b[b-uqozgk05s9] { font-size:.7rem; font-weight:400; }
.skill-move-tools[b-uqozgk05s9] { display:flex; flex-shrink:0; align-items:center; border-left:1px solid #375362; padding-left:.3rem; }
.skill-move-tools button[b-uqozgk05s9] { min-width:32px; min-height:36px; border:0; border-radius:.3rem; background:transparent; color:#adc5d2; font-size:.95rem!important; }
.skill-move-tools button:hover[b-uqozgk05s9] { background:#243f4f; }
.skill-settings[b-uqozgk05s9] { padding:.6rem 0 .75rem; border-bottom:1px solid #344d5b; }
.skill-settings p[b-uqozgk05s9] { margin:.5rem 0; font-size:.76rem; line-height:1.6; color:#b1c7d2; }
.skill-settings > small[b-uqozgk05s9] { color:#92afbf; font-size:.68rem; }
.formation-edit-sheet--skills .edit-footer[b-uqozgk05s9] { display:flex; align-items:center; justify-content:space-between; gap:.6rem; padding:.65rem 1rem; }
.formation-edit-sheet--skills .edit-footer > .edit-save-state[b-uqozgk05s9] { flex:1; flex-basis:auto; width:auto; margin:0; gap:.35rem; justify-content:flex-start; }
.formation-edit-sheet--skills .edit-save-state strong[b-uqozgk05s9] { font-weight:400; font-size:.68rem; }
.formation-edit-sheet--skills .edit-footer > .edit-save-actions[b-uqozgk05s9] { flex:0 0 auto; width:auto; flex-wrap:nowrap; gap:.5rem; }
.formation-edit-sheet--skills .edit-save-actions button[b-uqozgk05s9] { min-height:44px; min-width:80px; padding:.5rem .85rem; font-size:.75rem!important; }
.formation-edit-sheet--skills .edit-save-actions .save-button[b-uqozgk05s9] { min-width:134px; }
@media(max-width:640px) {
    .formation-edit-sheet--skills[b-uqozgk05s9] { height:100dvh; max-height:100dvh; }
    .formation-edit-sheet--skills .edit-body[b-uqozgk05s9] { --skills-pad:.75rem; }
    .formation-edit-sheet--skills .edit-skill-strip[b-uqozgk05s9] { gap:.35rem; }
    .formation-edit-sheet--skills .edit-skill-strip button[b-uqozgk05s9] { min-height:78px; }
    .formation-edit-sheet--skills .edit-skill-strip button > .skill-slot-art[b-uqozgk05s9] { width:36px; height:36px; }
    .skill-selection[b-uqozgk05s9] { flex-wrap:wrap; gap:.4rem; }
    .skill-selection-heading[b-uqozgk05s9] { width:100%; display:flex; align-items:baseline; justify-content:space-between; gap:.4rem; }
    .skill-selection-tools[b-uqozgk05s9] { width:100%; }
    .skill-move-tools[b-uqozgk05s9] { margin-left:auto; }
    .formation-edit-sheet--skills .edit-footer[b-uqozgk05s9] { padding:.6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); }
    .formation-edit-sheet--skills .edit-save-actions button[b-uqozgk05s9] { min-width:62px; padding:.5rem .65rem; }
    .formation-edit-sheet--skills .edit-save-actions .save-button[b-uqozgk05s9] { min-width:112px; }
    .formation-edit-sheet--skills .edit-footer--room[b-uqozgk05s9] { flex-wrap:wrap; }
    .formation-edit-sheet--skills .edit-footer--room > .edit-save-state[b-uqozgk05s9] { flex-basis:100%; }
    .formation-edit-sheet--skills .edit-footer--room > .edit-save-actions[b-uqozgk05s9] { width:100%; flex-wrap:wrap; }
}
@media(pointer:coarse) {
    .skill-auto-toggle[b-uqozgk05s9],.skill-condition[b-uqozgk05s9],.skill-move-tools button[b-uqozgk05s9] { min-height:44px; }
    .skill-move-tools button[b-uqozgk05s9] { min-width:36px; }
}
.weapon-picker-title[b-uqozgk05s9] { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.formation-edit-sheet--weapons:has(.inventory-page--weapon-selection)[b-uqozgk05s9] { width:min(560px,calc(100vw - 24px)); height:min(800px,92dvh); max-height:92dvh; border:1px solid #506477; border-radius:1rem; }
.formation-edit-sheet--weapons:has(.has-selection-detail)[b-uqozgk05s9] { width:min(440px,calc(100vw - 24px)); height:min(660px,92dvh); }
.formation-edit-sheet--weapons:has(.inventory-page--weapon-selection) .edit-body[b-uqozgk05s9] { display:flex; flex-direction:column; min-height:0; padding:0; overflow:hidden; }
.formation-edit-sheet--weapons:has(.inventory-page--weapon-selection) .edit-body > fieldset[b-uqozgk05s9] { display:flex; flex:1; min-height:0; }
.weapon-board-tools .weapon-board-expectation[b-uqozgk05s9] { min-width:44px; min-height:44px; padding:.3rem .5rem; color:#e5c48c; border:1px solid #a58b59; border-radius:.4rem; background:linear-gradient(140deg,#394c3e,#22392f); font-size:.75rem; }

.edit-header.edit-header--compact[b-uqozgk05s9] { flex-wrap:nowrap; box-sizing:border-box; min-height:56px; gap:.6rem; padding:5px .6rem; }
.edit-header--compact > .icon-button[b-uqozgk05s9] { flex:0 0 44px; width:44px; height:44px; padding:0; }
.edit-header.edit-header--compact h2[b-uqozgk05s9] { flex:0 0 auto; margin:0; font-size:1rem; }
.edit-header--compact .edit-formation-name[b-uqozgk05s9] { min-width:0; margin-left:auto; text-align:right; font-size:.75rem; }
@media(max-width:640px), (max-height:480px) {
    .edit-header.edit-header--compact[b-uqozgk05s9] { min-height:calc(56px + env(safe-area-inset-top)); padding-top:calc(5px + env(safe-area-inset-top)); }
}

.formation-edit-sheet--support[b-uqozgk05s9] { height:auto; max-height:min(880px,92dvh); background:#142b3a; }
.formation-edit-sheet--support .edit-body[b-uqozgk05s9] { padding:0 1rem; }
.formation-edit-sheet--support .edit-footer[b-uqozgk05s9] { display:flex; align-items:center; justify-content:space-between; gap:.6rem; padding:.65rem 1rem; }
.formation-edit-sheet--support .edit-footer > .edit-save-state[b-uqozgk05s9] { flex:1; flex-basis:auto; width:auto; margin:0; gap:.35rem; justify-content:flex-start; }
.formation-edit-sheet--support .edit-save-state strong[b-uqozgk05s9] { font-weight:400; font-size:.68rem; }
.formation-edit-sheet--support .edit-footer > .edit-save-actions[b-uqozgk05s9] { flex:0 0 auto; width:auto; flex-wrap:nowrap; gap:.5rem; }
.formation-edit-sheet--support .edit-save-actions button[b-uqozgk05s9] { min-height:44px; min-width:80px; padding:.5rem .85rem; font-size:.75rem!important; }
.formation-edit-sheet--support .edit-save-actions .save-button[b-uqozgk05s9] { min-width:134px; }
@media(max-width:640px) {
    .formation-edit-sheet--support[b-uqozgk05s9] { height:100dvh; max-height:100dvh; }
    .formation-edit-sheet--support .edit-body[b-uqozgk05s9] { padding:0 .75rem; }
    .formation-edit-sheet--support .edit-footer[b-uqozgk05s9] { padding:.6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); }
    .formation-edit-sheet--support .edit-save-actions button[b-uqozgk05s9] { min-width:62px; padding:.5rem .65rem; }
    .formation-edit-sheet--support .edit-save-actions .save-button[b-uqozgk05s9] { min-width:112px; }
    .formation-edit-sheet--support .edit-footer--room[b-uqozgk05s9] { flex-wrap:wrap; }
    .formation-edit-sheet--support .edit-footer--room > .edit-save-state[b-uqozgk05s9] { flex-basis:100%; }
    .formation-edit-sheet--support .edit-footer--room > .edit-save-actions[b-uqozgk05s9] { width:100%; flex-wrap:wrap; }
}
/* /Components/FormationLoadoutPreview.razor.rz.scp.css */
.loadout-preview[b-g3m48xhqvh] { display: grid; gap: 8px; min-width: 0; width: 100%; }
.loadout-identity[b-g3m48xhqvh] { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; align-items: center; gap: 8px; min-width: 0; }
.loadout-portrait[b-g3m48xhqvh] { display: grid; place-items: center; width: 46px; height: 52px; border-radius: 9px; background: radial-gradient(ellipse at center, #d8af6540, transparent 72%); }
.loadout-portrait img[b-g3m48xhqvh] { width: 46px; height: 52px; object-fit: contain; image-rendering: pixelated; }
.loadout-copy[b-g3m48xhqvh] { display: grid; min-width: 0; gap: 3px; }
.loadout-copy > strong[b-g3m48xhqvh] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #f3dfb5; font-size: .82rem; line-height: 1.3; }
.loadout-copy > span[b-g3m48xhqvh] { display: flex; align-items: center; gap: 5px; color: #cfdae0; font-size: .7rem; }
.loadout-copy small[b-g3m48xhqvh] { font-size: .65rem; color: #98adba; }
.loadout-copy .loadout-element[b-g3m48xhqvh] { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; color: var(--element); }
.loadout-element[b-g3m48xhqvh]  svg { width: 18px; height: 18px; }
.loadout-stats[b-g3m48xhqvh] { display: flex; flex-wrap: wrap; gap: 2px 9px; line-height: 1.35; }
.loadout-main[b-g3m48xhqvh] { position: relative; display: grid; place-items: center; width: 46px; height: 52px; border: 1px solid #b79b606e; border-radius: 7px; background: linear-gradient(145deg, #dcc38419, #0b1c2990); }
.loadout-main > img[b-g3m48xhqvh] { width: 40px; height: 40px; margin-bottom: 7px; object-fit: contain; image-rendering: pixelated; }
.loadout-main > small[b-g3m48xhqvh] { position: absolute; inset: auto 0 0; padding: 1px 0; border-radius: 0 0 6px 6px; color: #dfc894; background: #182834dc; font-size: .55rem; text-align: center; }
.loadout-main--empty[b-g3m48xhqvh] { border-style: dashed; border-color: #61717d; }
.loadout-placeholder[b-g3m48xhqvh] { display: grid; place-items: center; width: 100%; height: 100%; color: #8b9fa9; font-size: .85rem; }
.loadout-skills[b-g3m48xhqvh] { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; min-width: 0; }
.loadout-skill[b-g3m48xhqvh] { display: grid; justify-items: center; gap: 3px; min-width: 0; }
.loadout-skill-art[b-g3m48xhqvh] { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #52616d; border-radius: 6px; background: #0b1a25; }
.loadout-skill-art img[b-g3m48xhqvh] { width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; }
.loadout-skill > small[b-g3m48xhqvh] { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #aebec7; font-size: .6rem; line-height: 1.2; text-align: center; }
.loadout-skill--empty .loadout-skill-art[b-g3m48xhqvh] { border-style: dashed; border-color: #435563; background: #102330; }
.loadout-skill--empty > small[b-g3m48xhqvh] { color: #748d9d; }
.loadout-auto[b-g3m48xhqvh] { position: absolute; right: -2px; bottom: -2px; width: 7px; height: 7px; border: 1px solid #152733; border-radius: 50%; background: #d9ba72; }
@media (max-width: 350px) {
    .loadout-identity[b-g3m48xhqvh] { grid-template-columns: 40px minmax(0, 1fr) 42px; gap: 6px; }
    .loadout-portrait[b-g3m48xhqvh], .loadout-portrait img[b-g3m48xhqvh] { width: 40px; }
    .loadout-main[b-g3m48xhqvh] { width: 42px; }
    .loadout-copy > strong[b-g3m48xhqvh] { font-size: .78rem; }
    .loadout-skills[b-g3m48xhqvh] { gap: 3px; }
}
/* /Components/FormationProfessionPicker.razor.rz.scp.css */
.profession-picker-layout[b-bxihxkxye4] { flex:1; min-height:0; display:flex; flex-direction:column; overflow:hidden; }
.profession-directory[b-bxihxkxye4] { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:14px; scrollbar-width:thin; scrollbar-color:#526c7e transparent; }
.profession-card-grid[b-bxihxkxye4] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; align-content:start; }
.profession-card[b-bxihxkxye4] { position:relative; display:grid; grid-template-columns:44px minmax(0,1fr); align-items:center; column-gap:8px; min-width:0; min-height:112px; padding:8px 10px 24px; border:1px solid #466173; border-radius:10px; color:#dce6ed; background:linear-gradient(135deg,#294454,#162d3d); text-align:left; font:inherit; cursor:pointer; }
.profession-card-art[b-bxihxkxye4] { --profession-card-art-height:56px; position:relative; display:block; justify-self:center; width:calc(var(--profession-card-art-height) * .70); height:var(--profession-card-art-height); pointer-events:none; }
.profession-card-art > img[b-bxihxkxye4] { display:block; image-rendering:pixelated; }
.profession-card-copy[b-bxihxkxye4] { display:flex; flex-direction:column; gap:5px; min-width:0; }
.profession-card strong[b-bxihxkxye4] { font-size:.88rem; overflow-wrap:anywhere; }
.profession-card small[b-bxihxkxye4] { color:#b8c9d2; font-size:.74rem; }
.profession-card progress[b-bxihxkxye4] { display:block; width:100%; height:4px; border:0; border-radius:5px; accent-color:#c5a76e; background:#0e2432; }
.profession-card progress[b-bxihxkxye4]::-webkit-progress-bar { border-radius:5px; background:#0e2432; }
.profession-card progress[b-bxihxkxye4]::-webkit-progress-value { border-radius:5px; background:#c5a76e; }
.profession-card-state[b-bxihxkxye4] { position:absolute; left:10px; right:10px; bottom:6px; height:15px; color:#9fc9b9; font-size:.65rem; text-align:right; }
.profession-card[aria-pressed=true][b-bxihxkxye4] { border-color:#e3bd7b; box-shadow:inset 0 0 0 1px #e3bd7b; background:linear-gradient(135deg,#46534e,#213b46); }
.profession-card[aria-pressed=true] .profession-card-state[b-bxihxkxye4] { color:#f1cf95; }
.profession-card:focus-visible[b-bxihxkxye4],.profession-selection button:focus-visible[b-bxihxkxye4] { outline:2px solid #f1cf95; outline-offset:2px; }
.profession-discovery-card[b-bxihxkxye4] { grid-template-columns:24px minmax(0,1fr); padding:12px 10px 24px; border-style:dashed; border-color:#415a6b; background:linear-gradient(135deg,#223b4b,#172e3d); }
.profession-discovery-mark[b-bxihxkxye4] { color:#91a9b8; font-size:1.8rem; text-align:center; }
.profession-discovery-card strong[b-bxihxkxye4] { color:#b9cbd6; }
button:disabled[b-bxihxkxye4] { opacity:.5; cursor:not-allowed; }
.profession-selection[b-bxihxkxye4] { flex:0 0 auto; padding:12px 16px 16px; border-top:1px solid #506473; background:#142b3b; box-shadow:0 -8px 24px #0002; }
.profession-selection-heading[b-bxihxkxye4] { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.profession-selection h3[b-bxihxkxye4] { margin:0; color:#f0d3a3; font-size:1rem; }
.profession-selection-heading small[b-bxihxkxye4] { margin-left:6px; color:#d0dce3; font-size:.78rem; font-weight:400; }
.profession-selection-heading > span[b-bxihxkxye4] { color:#acbfcb; font-size:.72rem; }
.profession-trait-summary[b-bxihxkxye4] { height:4.7em; overflow:hidden; margin:8px 0 0; font-size:.78rem; line-height:1.55; color:#bbcfdb; }
.profession-trait-summary p[b-bxihxkxye4] { margin:0; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
.profession-trait-summary strong[b-bxihxkxye4] { color:#dce6e8; font-weight:600; }
.profession-trait-summary button[b-bxihxkxye4] { color:#efd09a; background:transparent; border:0; text-decoration:underline; font:inherit; }
.profession-detail-status[b-bxihxkxye4] { color:#90aab9; }
.profession-selection-more[b-bxihxkxye4] { display:flex; align-items:center; justify-content:space-between; min-height:40px; gap:8px; }
.profession-selection-more button[b-bxihxkxye4] { min-height:40px; padding:0; border:0; background:transparent; color:#d9bc86; font:inherit; font-size:.74rem; text-align:left; cursor:pointer; }
.profession-selection-more small[b-bxihxkxye4],.profession-draft-note[b-bxihxkxye4] { color:#9cb9af; font-size:.68rem; }
.profession-draft-note[b-bxihxkxye4] { display:block; margin-bottom:6px; }
.profession-selection-actions[b-bxihxkxye4] { display:grid; grid-template-columns:1fr 2.2fr; gap:10px; }
.profession-selection-actions button[b-bxihxkxye4],.profession-more-host[b-bxihxkxye4]  button { min-height:44px; border:1px solid #526c7d; border-radius:8px; padding:8px 12px; background:#253f50; color:#d5e2e9; font:inherit; font-size:.82rem; cursor:pointer; }
.profession-selection-actions .profession-confirm[b-bxihxkxye4] { background:linear-gradient(115deg,#dfbc80,#c69c5b); border-color:#c8a367; color:#192b36; font-weight:650; }
.profession-picker-error[b-bxihxkxye4] { flex:0 0 auto; max-height:72px; overflow:auto; padding:8px 14px; border-bottom:1px solid #805e52; background:#4b343b; color:#f1c0a8; font-size:.75rem; }
.profession-picker-error button[b-bxihxkxye4] { margin-left:8px; min-height:36px; border:1px solid #ae8a67; border-radius:6px; background:#293c47; color:#f0d0a1; }
.profession-empty[b-bxihxkxye4] { color:#b5c7d3; font-size:.85rem; }
.profession-more-host[b-bxihxkxye4]  .profession-more-dialog { width:min(560px,calc(100vw - 24px)); max-height:calc(var(--profession-viewport-height,100dvh) - 24px - var(--app-top-inset,0px)); margin:auto; padding:0; overflow:hidden; border:1px solid #617584; border-radius:12px; color:#d7e3e9; background:#172e3e; }
.profession-more-host[b-bxihxkxye4]  .profession-more-dialog[open] { display:flex; flex-direction:column; }
.profession-more-header[b-bxihxkxye4] { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 14px; border-bottom:1px solid #435c6d; }
.profession-more-header h3[b-bxihxkxye4] { margin:0; font-size:1rem; color:#e6c894; }
.profession-more-body[b-bxihxkxye4] { overflow:auto; overscroll-behavior:contain; padding:4px 16px 12px; font-size:.82rem; line-height:1.7; }
.profession-more-body h4[b-bxihxkxye4] { margin:16px 0 6px; color:#e3ca9b; }
.profession-more-body p[b-bxihxkxye4] { margin:8px 0; }
.profession-more-body ul[b-bxihxkxye4] { padding-left:20px; }
.profession-more-body li[b-bxihxkxye4] { margin-bottom:6px; }
.profession-more-footer[b-bxihxkxye4] { flex:0 0 auto; padding:10px 14px; border-top:1px solid #435c6d; }
.profession-more-footer button[b-bxihxkxye4] { width:100%; }
.profession-viewport-short .profession-card[b-bxihxkxye4] { min-height:88px; padding-top:4px; padding-bottom:21px; }
.profession-viewport-short .profession-card-art[b-bxihxkxye4] { --profession-card-art-height:48px; }
.profession-viewport-short .profession-directory[b-bxihxkxye4] { padding:8px 12px; }
.profession-viewport-short .profession-selection[b-bxihxkxye4] { padding-top:8px; padding-bottom:calc(8px + env(safe-area-inset-bottom)); }
.profession-viewport-short .profession-trait-summary[b-bxihxkxye4] { height:3.1em; margin-top:4px; }
.profession-viewport-short .profession-trait-summary p[b-bxihxkxye4] { -webkit-line-clamp:2; }
.profession-viewport-short .profession-selection-more[b-bxihxkxye4],.profession-viewport-short .profession-selection-more button[b-bxihxkxye4] { min-height:36px; }
.profession-viewport-tiny .profession-card-grid[b-bxihxkxye4] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.profession-viewport-tiny .profession-card[b-bxihxkxye4] { min-height:76px; }
.profession-viewport-tiny .profession-trait-summary[b-bxihxkxye4] { height:1.55em; }
.profession-viewport-tiny .profession-trait-summary p[b-bxihxkxye4] { -webkit-line-clamp:1; }
.profession-viewport-tiny .profession-selection-more[b-bxihxkxye4],.profession-viewport-tiny .profession-selection-more button[b-bxihxkxye4] { min-height:30px; }
@media(max-width:640px) {
    .profession-card-grid[b-bxihxkxye4] { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
    .profession-directory[b-bxihxkxye4] { padding:12px; }
    .profession-card[b-bxihxkxye4] { min-height:106px; }
    .profession-selection[b-bxihxkxye4] { padding:10px 12px calc(12px + env(safe-area-inset-bottom)); }
}
@media(max-height:620px) {
    .profession-card[b-bxihxkxye4] { min-height:88px; padding-top:4px; padding-bottom:21px; }
    .profession-card-art[b-bxihxkxye4] { --profession-card-art-height:48px; }
    .profession-directory[b-bxihxkxye4] { padding:8px 12px; }
    .profession-selection[b-bxihxkxye4] { padding-top:8px; padding-bottom:calc(8px + env(safe-area-inset-bottom)); }
    .profession-trait-summary[b-bxihxkxye4] { height:3.1em; margin-top:4px; }
    .profession-trait-summary p[b-bxihxkxye4] { -webkit-line-clamp:2; }
    .profession-selection-more[b-bxihxkxye4],.profession-selection-more button[b-bxihxkxye4] { min-height:36px; }
}
@media(max-height:420px) {
    .profession-card-grid[b-bxihxkxye4] { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .profession-card[b-bxihxkxye4] { min-height:76px; }
    .profession-trait-summary[b-bxihxkxye4] { height:1.55em; }
    .profession-trait-summary p[b-bxihxkxye4] { -webkit-line-clamp:1; }
    .profession-selection-heading > span[b-bxihxkxye4] { font-size:.68rem; }
    .profession-selection-more[b-bxihxkxye4],.profession-selection-more button[b-bxihxkxye4] { min-height:30px; }
}
/* /Components/FormationSelector.razor.rz.scp.css */
.formation-selector[b-rx4a6pd7tp] { padding: .4rem .65rem; border: 1px solid #43546c; border-radius: .65rem; margin: .35rem 0; background: #142635; min-width: 0; }
.formation-selector fieldset[b-rx4a6pd7tp] { border: 0; padding: 0; margin: 0; min-width: 0; }
.formation-option-heading[b-rx4a6pd7tp] { display: flex; justify-content: space-between; align-items: center; gap: 8px; line-height: 1.35; }
.formation-option-heading > small[b-rx4a6pd7tp] { color: #91a8b7; font-size: .62rem; }
.formation-option-heading > span[b-rx4a6pd7tp] { color: #e6ca92; font-size: .7rem; }
.formation-selector p[b-rx4a6pd7tp] { margin: .35rem 0; color: #b2c5cf; font-size: .73rem; line-height: 1.45; }
.formation-selector p[role][b-rx4a6pd7tp], .formation-selector small[b-rx4a6pd7tp] { overflow-wrap: anywhere; }
.formation-selector p[role][b-rx4a6pd7tp] { color: #e9bf91; }
.formation-options[b-rx4a6pd7tp] { display: grid; gap: .45rem; }
.formation-options > .button[b-rx4a6pd7tp] { width: 100%; min-height: 44px; margin: 0; font-size: .75rem; white-space: normal; }
.formation-option[b-rx4a6pd7tp] { display: grid; gap: 6px; min-width: 0; width: 100%; padding: 8px; border: 1px solid #43576a; border-radius: 8px; background: #10212e; text-align: left; }
.formation-option[b-rx4a6pd7tp] { border-color: #d8b26b; background: #d8b26b12; }
.formation-preview-swipe[b-rx4a6pd7tp] { min-width: 0; touch-action: pan-y pinch-zoom; }
.formation-presets[b-rx4a6pd7tp] { display: flex; gap: .35rem; min-width: 0; padding: 3px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #52687a transparent; scroll-snap-type: x proximity; }
.formation-presets button[b-rx4a6pd7tp] { flex: 0 0 44px; min-height: 44px; padding: .3rem; border: 1px solid #43576a; border-radius: 8px; background: #10212e; color: #b7cbd6; font-size: .85rem; scroll-snap-align: start; }
.formation-presets button[aria-pressed=true][b-rx4a6pd7tp] { border-color: #d8b26b; background: #d8b26b28; color: #f0cd8c; box-shadow: inset 0 -2px #d8b26b; }
.formation-presets .formation-preset--invalid[b-rx4a6pd7tp] { border-style: dashed; }
.formation-options > .formation-swipe-hint[b-rx4a6pd7tp] { color: #91a8b7; font-size: .65rem; text-align: right; }
.formation-options > small[b-rx4a6pd7tp] { color: #e9bf91; font-size: .7rem; }
.formation-options > label[b-rx4a6pd7tp], .formation-options > a[b-rx4a6pd7tp] { display: flex; align-items: center; min-height: 44px; gap: .4rem; color: #b7cbd6; font-size: .75rem; }
.formation-options input[b-rx4a6pd7tp] { width: 18px; height: 18px; accent-color: #d8a957; }
.formation-elements[b-rx4a6pd7tp] { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .25rem; }
.formation-elements .button[b-rx4a6pd7tp] { display: grid; place-items: center; min-height: 44px; padding: .2rem; margin: 0; color: var(--element); background: color-mix(in srgb, var(--element) 9%, #142635); border-color: color-mix(in srgb, var(--element) 35%, #43546c); }
.formation-elements .button[b-rx4a6pd7tp]  svg { width: 26px; height: 26px; }
.formation-elements button[aria-pressed=true][b-rx4a6pd7tp] { outline: 2px solid var(--element); outline-offset: -2px; background: color-mix(in srgb, var(--element) 20%, #142635); }
.formation-selector :where(button, a, input):focus-visible[b-rx4a6pd7tp] { outline: 2px solid #f0c779; outline-offset: 2px; }
.formation-empty[b-rx4a6pd7tp] { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem; }
.formation-empty button[b-rx4a6pd7tp] { display:inline-flex; align-items:center; justify-content:center; min-height:44px; font-size:.8125rem; }
.formation-manage[b-rx4a6pd7tp] { min-height:44px; padding:.25rem 0; border:0; background:transparent; color:#d6bd8b; font-size:.8rem; text-align:left; overflow-wrap:anywhere; }
.formation-selector[b-rx4a6pd7tp] { container-type:inline-size; }
.formation-presets[b-rx4a6pd7tp] { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); overflow:visible; scroll-snap-type:none; gap:.2rem; }
.formation-presets button[b-rx4a6pd7tp] { display:grid; justify-items:center; align-content:center; gap:.1rem; min-width:0; padding:.3rem .1rem; min-height:54px; }
.formation-presets button small[b-rx4a6pd7tp] { font-size:.58rem; color:#a3b9c7; }
@container(max-width:279px) { .formation-presets[b-rx4a6pd7tp],.formation-elements[b-rx4a6pd7tp] { grid-template-columns:repeat(3,minmax(0,1fr)); } }


.formation-choice-summary[b-rx4a6pd7tp] { display:flex; align-items:center; gap:12px; padding:10px 0; }
.formation-choice-summary > img[b-rx4a6pd7tp] { width:44px; height:56px; object-fit:contain; image-rendering:pixelated; }
.formation-choice-summary > div[b-rx4a6pd7tp] { flex:1; min-width:0; display:grid; gap:6px; font-size:13px; }
.formation-choice-summary strong[b-rx4a6pd7tp] { color:#ead8ac; font-size:16px; }
.formation-choice-summary small[b-rx4a6pd7tp] { font-size:11px; font-weight:400; color:#9eb5c5; }
.formation-choice-summary > b[b-rx4a6pd7tp] { color:#94cfb2; font-size:12px; }
.formation-choice-stats[b-rx4a6pd7tp] { display:flex; flex-wrap:wrap; gap:3px 8px; }
.formation-choice-stats > span[b-rx4a6pd7tp] { white-space:nowrap; }
.formation-choice-details[b-rx4a6pd7tp] { margin-top:8px; color:#a5bccc; font-size:12px; }
.formation-choice-details summary[b-rx4a6pd7tp] { min-height:36px; padding:8px 0; color:#d8c18a; }
/* /Components/FormationSkillLibrary.razor.rz.scp.css */
.formation-skill-library[b-wush16aar1] { margin:.8rem 0; }
.skill-library-heading[b-wush16aar1] { display:flex; align-items:center; justify-content:space-between; gap:.5rem; min-height:44px; margin-bottom:.45rem; }
.skill-library-heading h3[b-wush16aar1] { margin:0; color:#d1dfe5; font-size:.8rem; font-weight:500; white-space:nowrap; }
.skill-library-category[b-wush16aar1] { color:#99b2c2; font-size:.7rem; }
.skill-library-tabs[b-wush16aar1] { display:flex; gap:.15rem; padding:.15rem; border-radius:.45rem; background:#102534; }
.skill-library-tabs button[b-wush16aar1] { min-height:36px; padding:.25rem .65rem; border:1px solid transparent; border-radius:.35rem; background:transparent; color:#a8bdc9; font-size:.72rem; }
.skill-library-tabs small[b-wush16aar1] { margin-left:.25rem; color:#859fae; font-size:.7rem; }
.skill-library-tabs button[aria-pressed=true][b-wush16aar1] { border-color:#b49a65; color:#ead19c; background:#38453e; }
.skill-library-hint[b-wush16aar1] { color:#9db0bc; font-size:.72rem; margin:.55rem 0; }
.skill-library[b-wush16aar1] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; }
.skill-library-item[b-wush16aar1] { display:flex; min-width:0; border:1px solid #3e586a; border-radius:.55rem; background:#172f40; overflow:hidden; }
.skill-library-item.is-equipped[b-wush16aar1] { border-color:#b49a65; background:#34433e; }
.skill-library-pick[b-wush16aar1] { display:flex; align-items:center; gap:.6rem; flex:1; min-width:0; min-height:80px; padding:.6rem .65rem; background:transparent; border:0; color:#d9e4e8; text-align:left; }
.skill-library-pick:hover[b-wush16aar1] { background:#ffffff05; }
.skill-library-copy[b-wush16aar1] { display:grid; gap:.2rem; min-width:0; }
.library-art[b-wush16aar1] { display:grid; place-items:center; width:38px; height:38px; flex:0 0 38px; border:1px solid #5a7181; border-radius:.45rem; overflow:hidden; background:#243e4b; }
.library-art img[b-wush16aar1] { width:100%; height:100%; object-fit:cover; }
.skill-library-pick strong[b-wush16aar1] { max-width:100%; font-size:.75rem; font-weight:600; overflow-wrap:anywhere; }
.skill-library-pick small[b-wush16aar1] { color:#a8bdb0; font-size:.7rem; overflow-wrap:anywhere; }
.is-locked[b-wush16aar1] { background:#1d2b35; border-color:#3c4a55; }
.is-locked .library-art[b-wush16aar1], .is-locked-art[b-wush16aar1] { filter:grayscale(1); opacity:.55; }
.is-locked .skill-library-pick strong[b-wush16aar1], .is-locked .skill-library-pick small[b-wush16aar1] { color:#a3afb8; }
.skill-library-details[b-wush16aar1] { display:flex; align-items:center; justify-content:center; flex:0 0 32px; min-height:44px; padding:0; border:0; border-left:1px solid #3a526033; background:transparent; color:#a7b9bd; font-size:1rem; }
.skill-library-details:hover[b-wush16aar1] { color:#ead29d; background:#ffffff08; }
.skill-library button[b-wush16aar1], .skill-library-tabs button[b-wush16aar1], .skill-preview-dialog button[b-wush16aar1] { cursor:pointer; font-family:inherit; }
.skill-library button:focus-visible[b-wush16aar1], .skill-library-tabs button:focus-visible[b-wush16aar1], .skill-preview-dialog button:focus-visible[b-wush16aar1] { outline:2px solid #e9c786; outline-offset:-3px; }
.skill-preview-backdrop[b-wush16aar1] { position:fixed; inset:0; z-index:1500; display:grid; place-items:center; padding:.75rem; background:#06131cce; backdrop-filter:blur(4px); }
.skill-preview-dialog[b-wush16aar1] { display:flex; flex-direction:column; width:min(520px,100%); max-height:calc(100dvh - 1.5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)); border:1px solid #607581; border-radius:.8rem; padding:1rem; background:#1a2f3d; color:#d8e2e6; overflow:hidden; box-shadow:0 20px 80px #0008; }
.skill-preview-dialog > header[b-wush16aar1] { display:flex; align-items:center; gap:.7rem; flex:0 0 auto; padding-bottom:.75rem; }
.skill-preview-dialog > header > div[b-wush16aar1] { flex:1; min-width:0; }
.skill-preview-dialog header small[b-wush16aar1] { font-size:.7rem; color:#b5a88e; }
.skill-preview-dialog h3[b-wush16aar1] { margin:.2rem 0 0; font-size:1.05rem; overflow-wrap:anywhere; }
.skill-preview-dialog header button[b-wush16aar1] { flex:0 0 44px; width:44px; height:44px; border:0; background:transparent; color:#c0d0d9; font-size:1.5rem; }
.skill-preview-body[b-wush16aar1] { min-height:0; overflow-y:auto; overscroll-behavior:contain; overflow-wrap:anywhere; }
.skill-unlock-status[b-wush16aar1] { display:grid; gap:.3rem; padding:.65rem; border:1px solid #6d624c; border-radius:.5rem; background:#4a41352b; }
.skill-unlock-status strong[b-wush16aar1] { font-size:.76rem; color:#dfc493; font-weight:600; }
.skill-unlock-status small[b-wush16aar1] { color:#bcc5c7; font-size:.72rem; line-height:1.6; }
.skill-unlock-status.is-unlocked[b-wush16aar1] { border-color:#47645d; background:#24473c30; }
.skill-unlock-status.is-unlocked strong[b-wush16aar1] { color:#bdd5bf; }
.skill-level-tabs[b-wush16aar1] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.4rem; margin:.8rem 0; }
.skill-level-tabs button[b-wush16aar1] { display:grid; gap:.2rem; min-height:52px; padding:.35rem .15rem; border:1px solid #476170; border-radius:.45rem; background:#152b39; color:#bfd0da; }
.skill-level-tabs button[aria-pressed=true][b-wush16aar1] { border-color:#c4a56e; background:#3f4a41; color:#f0d39b; }
.skill-level-tabs strong[b-wush16aar1] { font-size:.82rem; }
.skill-level-tabs small[b-wush16aar1] { font-size:.65rem; }
.skill-version-heading[b-wush16aar1] { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.35rem; align-items:center; margin:.9rem 0 .4rem; }
.skill-version-heading strong[b-wush16aar1] { font-size:.86rem; }
.skill-version-heading span[b-wush16aar1] { color:#c4b087; font-size:.68rem; }
.skill-version-description[b-wush16aar1] { font-size:.8rem; line-height:1.65; color:#c3d0d6; }
.skill-version-effects[b-wush16aar1] { margin:.6rem 0; padding-left:1.2rem; color:#b2c4d0; font-size:.76rem; line-height:1.65; }
.skill-version-effects li + li[b-wush16aar1] { margin-top:.35rem; }
.skill-version-cooldowns[b-wush16aar1] { display:flex; flex-wrap:wrap; gap:.4rem .9rem; font-size:.72rem; color:#9eb7c6; padding:.7rem 0; }
.skill-version-cooldowns b[b-wush16aar1] { color:#e2d5b3; }
.skill-preview-note[b-wush16aar1] { font-size:.74rem; color:#dbc091; line-height:1.6; }
.skill-preview-dialog footer[b-wush16aar1] { display:flex; gap:.6rem; flex:0 0 auto; padding-top:.75rem; margin-top:.5rem; border-top:1px solid #3c5362; }
.skill-preview-dialog footer button[b-wush16aar1] { min-height:44px; border:1px solid #647176; border-radius:.45rem; padding:.45rem .6rem; font-size:.78rem; }
.skill-preview-back[b-wush16aar1] { color:#c4d2d8; background:#293e4c; }
.skill-preview-equip[b-wush16aar1] { flex:1; color:#2f2a20; background:#dbbd82; border-color:#dbbd82 !important; }
.skill-preview-equip:disabled[b-wush16aar1] { color:#a1b0b8; background:#344550; border-color:#53636c !important; opacity:.8; cursor:not-allowed; }
@media(max-width:360px) { .skill-preview-dialog[b-wush16aar1] { padding:.75rem; }.skill-library[b-wush16aar1] { gap:.3rem; }.skill-library-pick strong[b-wush16aar1] { font-size:.7rem; } }
@media(max-width:640px) {
    .skill-library-pick[b-wush16aar1] { gap:.4rem; padding:.5rem; }
    .skill-library-pick .library-art[b-wush16aar1] { width:34px; height:34px; flex-basis:34px; }
    .skill-library-details[b-wush16aar1] { flex-basis:28px; }
}
@media(pointer:coarse) { .skill-library-tabs button[b-wush16aar1] { min-height:44px; }.skill-library-details[b-wush16aar1] { flex-basis:36px; } }
/* /Components/FormationSupportEditor.razor.rz.scp.css */
.formation-support-editor[b-4bhiku30s5] { --support-pad:1rem; }
button[b-4bhiku30s5] { font:inherit; cursor:pointer; }button:disabled[b-4bhiku30s5] { opacity:.5; cursor:not-allowed; }
button:focus-visible[b-4bhiku30s5],a:focus-visible[b-4bhiku30s5],input:focus-visible[b-4bhiku30s5] { outline:2px solid #e9c786; outline-offset:-3px; }
.support-loadout[b-4bhiku30s5] { position:sticky; top:0; z-index:2; margin:0 calc(-1 * var(--support-pad)); padding:.75rem var(--support-pad) 0; background:#142b3a; }
.support-order-heading[b-4bhiku30s5] { display:flex; align-items:baseline; justify-content:space-between; margin:0 0 .6rem; color:#d4e0e7; font-size:.76rem; }
.support-order-heading small[b-4bhiku30s5] { color:#c7ae7b; font-variant-numeric:tabular-nums; }
.support-slot-strip[b-4bhiku30s5] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.5rem; }
.support-slot-strip--soul[b-4bhiku30s5] { grid-template-columns:minmax(0,1fr); }
.support-slot-strip button[b-4bhiku30s5] { position:relative; min-width:0; min-height:90px; padding:.65rem .3rem .5rem; border:1px solid #456274; border-radius:.55rem; background:#193344; color:#d9e5e8; }
.support-slot-strip button.is-empty[b-4bhiku30s5] { border-style:dashed; border-color:#385466; background:#112735; }
.support-slot-strip button[aria-pressed=true][b-4bhiku30s5] { border-color:#d6b475; background:#293c3e; box-shadow:inset 0 0 0 1px #d6b475; }
.support-supply-slot[b-4bhiku30s5] { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.3rem; }
.support-slot-art[b-4bhiku30s5] { display:grid; place-items:center; width:44px; height:44px; flex:0 0 44px; font-size:1.5rem; color:#7895a3; }
.support-slot-art img[b-4bhiku30s5] { width:100%; height:100%; object-fit:contain; image-rendering:pixelated; }
.support-supply-slot strong[b-4bhiku30s5] { font-size:.74rem; font-weight:500; }
.support-slot-strip .support-soul-slot[b-4bhiku30s5] { display:flex; align-items:center; gap:.75rem; min-height:78px; padding:.7rem .8rem; text-align:left; }
.support-slot-copy[b-4bhiku30s5] { display:grid; gap:.3rem; min-width:0; }
.support-slot-copy strong[b-4bhiku30s5] { font-size:.84rem; font-weight:500; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.support-slot-copy small[b-4bhiku30s5] { color:#a8bdb0; font-size:.7rem; }
.support-stock[b-4bhiku30s5] { position:absolute; right:.45rem; top:.3rem; font-size:.65rem; color:#b6c6bd; font-variant-numeric:tabular-nums; }
.support-stock.is-depleted[b-4bhiku30s5] { color:#dfbc88; }
.support-auto-dot[b-4bhiku30s5] { position:absolute; left:.45rem; top:.45rem; width:4px; height:4px; border-radius:50%; background:#9bcbb6; }
.support-selection[b-4bhiku30s5] { min-height:60px; margin:.75rem calc(-1 * var(--support-pad)) 0; padding:.5rem var(--support-pad); border-block:1px solid #304b5a; background:#102735; }
.support-selected-copy[b-4bhiku30s5] { display:flex; align-items:baseline; justify-content:space-between; gap:.5rem; margin-bottom:.45rem; }
.support-selected-copy strong[b-4bhiku30s5] { min-width:0; color:#e5c896; font-weight:500; font-size:.8rem; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.support-selected-copy > span[b-4bhiku30s5] { color:#99b2c1; font-size:.7rem; white-space:nowrap; flex:0 0 auto; }
.support-selection-tools[b-4bhiku30s5] { display:flex; align-items:center; gap:.5rem; min-width:0; }
.support-auto[b-4bhiku30s5] { display:flex; align-items:center; gap:.35rem; min-height:36px; color:#c0d4df; font-size:.74rem; cursor:pointer; }
.support-auto input[b-4bhiku30s5] { appearance:none; position:relative; width:32px; height:20px; margin:0; border:1px solid #6c9e91; border-radius:12px; background:#344b53; cursor:pointer; }
.support-auto input[b-4bhiku30s5]::after { content:""; position:absolute; left:3px; top:3px; width:12px; height:12px; border-radius:50%; background:#bad4ca; }
.support-auto input:checked[b-4bhiku30s5] { background:#6a9c8e; }
.support-auto input:checked[b-4bhiku30s5]::after { transform:translateX(12px); }
.support-condition[b-4bhiku30s5] { display:flex; align-items:center; gap:.35rem; min-width:0; max-width:128px; min-height:36px; padding:.3rem .45rem; border:1px solid #405a6a; border-radius:.4rem; background:#1d3644; color:#b7ceda; font-size:.7rem; }
.support-condition > span[b-4bhiku30s5] { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.support-condition > b[b-4bhiku30s5] { font-size:.7rem; font-weight:400; }
.support-cooldown[b-4bhiku30s5],.support-operation-state[b-4bhiku30s5] { color:#99b2c1; font-size:.7rem; white-space:nowrap; }
.support-cooldown[b-4bhiku30s5] { margin-left:auto; }
.support-unequip[b-4bhiku30s5] { margin-left:auto; min-width:36px; min-height:36px; padding:0; border:0; border-left:1px solid #375362; background:transparent; color:#adc5d2; font-size:1.1rem; }
.support-cooldown + .support-unequip[b-4bhiku30s5] { margin-left:0; }
.support-settings[b-4bhiku30s5] { padding:.6rem 0 .75rem; border-bottom:1px solid #344d5b; }
.support-library[b-4bhiku30s5] { margin:.8rem 0; }
.support-library-heading[b-4bhiku30s5] { display:flex; align-items:center; justify-content:space-between; gap:.5rem; min-height:44px; margin-bottom:.45rem; }
.support-library-heading h3[b-4bhiku30s5] { margin:0; color:#d1dfe5; font-size:.8rem; font-weight:500; white-space:nowrap; }
.support-library-actions[b-4bhiku30s5] { display:flex; align-items:center; gap:.4rem; }
.support-library-actions button[b-4bhiku30s5],.support-library-actions a[b-4bhiku30s5] { display:grid; place-items:center; min-width:36px; min-height:36px; padding:0 .35rem; border:0; border-radius:.35rem; background:transparent; color:#a7b9bd; font-size:.74rem; text-decoration:none; }
.support-library-actions button[b-4bhiku30s5] { font-size:1rem; }
.support-library-grid[b-4bhiku30s5] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; }
.support-library-item[b-4bhiku30s5] { display:grid; grid-template-columns:minmax(0,1fr) 36px; min-width:0; border:1px solid #3e586a; border-radius:.55rem; background:#172f40; overflow:hidden; }
.support-library-item.is-equipped[b-4bhiku30s5] { border-color:#b49a65; background:#34433e; }
.support-library-item.is-unavailable[b-4bhiku30s5] { background:#1d2b35; }
.support-library-pick[b-4bhiku30s5] { grid-column:1/-1; display:flex; align-items:center; gap:.55rem; width:100%; min-height:60px; padding:.5rem .6rem; border:0; background:transparent; color:#d9e4e8; text-align:left; }
.support-library-art[b-4bhiku30s5] { display:grid; place-items:center; width:38px; height:38px; flex:0 0 38px; border:1px solid #5a7181; border-radius:.45rem; overflow:hidden; background:#243e4b; }
.support-library-art img[b-4bhiku30s5] { width:100%; height:100%; object-fit:contain; image-rendering:pixelated; }
.support-library-copy[b-4bhiku30s5] { min-width:0; }
.support-library-copy strong[b-4bhiku30s5] { display:block; font-size:.75rem; font-weight:600; overflow-wrap:anywhere; text-wrap:balance; }
.support-library-meta[b-4bhiku30s5] { display:flex; align-items:center; min-width:0; padding:0 .5rem; color:#a8bdb0; font-size:.68rem; overflow-wrap:anywhere; }
.support-library-details[b-4bhiku30s5] { display:grid; place-items:center; width:36px; height:36px; padding:0; border:0; border-left:1px solid #3a526033; background:transparent; color:#a7b9bd; font-size:1rem; }
.is-equipped .support-library-details[b-4bhiku30s5] { background:#34433e; }
.is-unavailable .support-library-art[b-4bhiku30s5] { filter:grayscale(1); opacity:.6; }
.support-search[b-4bhiku30s5] { display:block; width:100%; box-sizing:border-box; min-height:44px; margin-bottom:.6rem; padding:.55rem .65rem; border:1px solid #456374; border-radius:.45rem; background:#102737; color:#d7e2e9; font:inherit; font-size:.8rem; }
.support-empty[b-4bhiku30s5] { margin:.6rem 0; color:#9db0bc; font-size:.74rem; }
.support-modal-host[b-4bhiku30s5]  .support-preview-dialog { width:min(520px,calc(100vw - 24px)); max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding:1rem; border:1px solid #607581; border-radius:.8rem; background:#1a2f3d; color:#d8e2e6; overflow:hidden; }
.support-modal-host[b-4bhiku30s5]  .support-preview-dialog[open] { display:flex; flex-direction:column; }
.support-preview-header[b-4bhiku30s5] { display:flex; align-items:center; gap:.7rem; padding-bottom:.75rem; flex:0 0 auto; }
.support-preview-header > div[b-4bhiku30s5] { flex:1; min-width:0; }
.support-preview-header small[b-4bhiku30s5] { color:#b5a88e; font-size:.7rem; }
.support-preview-header h3[b-4bhiku30s5] { flex:1; margin:.2rem 0 0; font-size:1rem; overflow-wrap:anywhere; }
.support-preview-header button[b-4bhiku30s5] { flex:0 0 44px; width:44px; height:44px; border:0; background:transparent; color:#c0d0d9; font-size:1.5rem; }
.support-preview-body[b-4bhiku30s5] { min-height:0; overflow-y:auto; overscroll-behavior:contain; overflow-wrap:anywhere; font-size:.8rem; line-height:1.65; }
.support-preview-body p[b-4bhiku30s5] { margin:.7rem 0; }
.support-preview-stats[b-4bhiku30s5] { display:flex; flex-wrap:wrap; gap:.4rem .9rem; padding:.7rem 0; color:#9eb7c6; font-size:.72rem; }
.support-preview-stats b[b-4bhiku30s5] { color:#e2d5b3; }
.support-depleted-note[b-4bhiku30s5] { color:#dfbc88; }
.support-preview-actions[b-4bhiku30s5] { display:flex; gap:.6rem; flex:0 0 auto; margin-top:.5rem; padding-top:.75rem; border-top:1px solid #3c5362; }
.support-preview-actions button[b-4bhiku30s5] { min-height:44px; padding:.45rem .65rem; border:1px solid #647176; border-radius:.45rem; background:#293e4c; color:#c4d2d8; font-size:.78rem; }
.support-preview-actions .support-preview-equip[b-4bhiku30s5] { flex:1; background:#dbbd82; border-color:#dbbd82; color:#2f2a20; }
@media(max-width:640px) {
    .formation-support-editor[b-4bhiku30s5] { --support-pad:.75rem; }
    .support-slot-strip[b-4bhiku30s5] { gap:.35rem; }
    .support-slot-strip button[b-4bhiku30s5] { min-height:78px; }
    .support-slot-art[b-4bhiku30s5] { width:36px; height:36px; flex-basis:36px; }
    .support-library-grid[b-4bhiku30s5] { gap:.4rem; }
    .support-library-pick[b-4bhiku30s5] { gap:.4rem; padding:.45rem; }
    .support-library-art[b-4bhiku30s5] { width:32px; height:32px; flex-basis:32px; }
}
@media(pointer:coarse) {
    .support-auto[b-4bhiku30s5],.support-condition[b-4bhiku30s5],.support-unequip[b-4bhiku30s5],.support-library-actions button[b-4bhiku30s5],.support-library-actions a[b-4bhiku30s5] { min-height:44px; }
    .support-unequip[b-4bhiku30s5] { min-width:44px; }
    .support-library-item[b-4bhiku30s5] { grid-template-columns:minmax(0,1fr) 44px; }
    .support-library-details[b-4bhiku30s5] { width:44px; height:44px; }
    .support-search[b-4bhiku30s5] { font-size:16px; }
}
/* /Components/FormationWeaponBoard.razor.rz.scp.css */
.formation-weapon-board[b-xlfpmqv8vf] { display:grid; grid-template-columns:minmax(145px,.95fr) repeat(3,minmax(0,1fr)); gap:.5rem; padding:.5rem; border:1px solid #637f8052; border-radius:.75rem; background:radial-gradient(ellipse at 15% 20%,#617b7020,transparent 55%),#0b1c27; box-shadow:inset 0 0 30px #040d1633; }
.board-weapon[b-xlfpmqv8vf] { --element:#9fb5c5; display:flex; flex-direction:column; min-width:0; padding:0; overflow:hidden; border:1px solid #56717c99; border-radius:.4rem; background:#152a35; color:#d7e3e6; text-align:center; font:inherit; cursor:pointer; transition:border-color .15s,background .15s; }
.board-weapon:hover:not(:disabled)[b-xlfpmqv8vf] { border-color:#c4b183; background:#203640; }
.board-weapon:focus-visible[b-xlfpmqv8vf] { outline:2px solid #f2cd8d; outline-offset:2px; }
.board-weapon:disabled[b-xlfpmqv8vf] { opacity:.5; cursor:not-allowed; }
.board-weapon.is-swap-source[b-xlfpmqv8vf] { border-color:#efc271; box-shadow:inset 0 0 0 2px #efc27180; background:#34463f; }
.board-weapon-swap-mark[b-xlfpmqv8vf] { position:absolute; bottom:.3rem; left:.35rem; display:grid; place-items:center; width:22px; height:22px; border:1px solid #efc271; border-radius:50%; background:#34463f; color:#ffe2a8; font-size:.85rem; }
.board-weapon-visual[b-xlfpmqv8vf] { position:relative; display:grid; place-items:center; isolation:isolate; height:78px; background:radial-gradient(ellipse at 50% 60%,color-mix(in srgb,var(--element) 18%,#31434a),#172d37 80%); border-bottom:1px solid #76878724; }
.board-weapon-visual[b-xlfpmqv8vf]::before { content:""; position:absolute; z-index:-1; width:54px; height:54px; border:1px solid color-mix(in srgb,var(--element) 17%,transparent); transform:rotate(45deg); }
.board-weapon-visual img[b-xlfpmqv8vf] { display:block; width:100px; height:76px; object-fit:contain; image-rendering:pixelated; filter:drop-shadow(0 3px 3px #06131bdd); }
.board-weapon-slot[b-xlfpmqv8vf] { position:absolute; top:.3rem; right:.4rem; color:#aec2c96b; font-size:.62rem; font-variant-numeric:tabular-nums; }
.board-weapon-element[b-xlfpmqv8vf] { position:absolute; top:.3rem; left:.3rem; display:grid; place-items:center; width:22px; height:22px; color:var(--element); }
.board-weapon-element[b-xlfpmqv8vf]  svg { width:100%; height:100%; }
.board-weapon-quality[b-xlfpmqv8vf] { position:absolute; right:.35rem; bottom:.2rem; display:flex; align-items:center; }
.board-weapon-quality[b-xlfpmqv8vf]  .weapon-crystals { gap:2px; }
.board-weapon-quality[b-xlfpmqv8vf]  .weapon-crystals__gem { width:8px; height:11px; }
.board-weapon-name[b-xlfpmqv8vf] { display:block; min-width:0; padding:.35rem .35rem .15rem; color:#deded1; font-size:.75rem; line-height:1.35; font-weight:600; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.board-weapon-stats[b-xlfpmqv8vf] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.3rem; padding:.1rem .4rem .35rem; font-variant-numeric:tabular-nums; }
.board-weapon-stats > span[b-xlfpmqv8vf] { display:flex; flex-wrap:wrap; justify-content:center; align-items:baseline; gap:.2rem; min-width:0; }
.board-weapon-stats small[b-xlfpmqv8vf] { font-size:.62rem; color:#9cb0b7; }.board-weapon-stats b[b-xlfpmqv8vf] { font-size:.82rem; font-weight:600; overflow-wrap:anywhere; }
.weapon-attack b[b-xlfpmqv8vf] { color:#eabb93; }.weapon-health b[b-xlfpmqv8vf] { color:#98cbb3; }
.board-weapon.is-main[b-xlfpmqv8vf] { grid-row:span 3; border-color:#bca272aa; background:linear-gradient(150deg,#2a393e,#152b35); box-shadow:0 0 16px #c6a36b0b; }
.is-main .board-weapon-visual[b-xlfpmqv8vf] { flex:1; min-height:210px; height:auto; background:radial-gradient(ellipse at 50% 46%,color-mix(in srgb,var(--element) 18%,#41494a),#1b3038 78%); }
.is-main .board-weapon-visual[b-xlfpmqv8vf]::before { width:112px; height:112px; border-color:#c7ae6a29; box-shadow:0 0 0 12px #c7ae6a05; }
.is-main .board-weapon-visual img[b-xlfpmqv8vf] { width:min(90%,180px); height:180px; }
.is-main .board-weapon-slot[b-xlfpmqv8vf] { top:.6rem; left:.6rem; right:auto; color:#ecd09d; font-size:.7rem; letter-spacing:.1em; }
.is-main .board-weapon-element[b-xlfpmqv8vf] { top:.5rem; left:auto; right:.45rem; width:27px; height:27px; }
.is-main .board-weapon-quality[b-xlfpmqv8vf] { left:0; right:0; bottom:.65rem; justify-content:center; }
.is-main .board-weapon-quality[b-xlfpmqv8vf]  .weapon-crystals__gem { width:10px; height:14px; }
.is-main .board-weapon-name[b-xlfpmqv8vf] { padding:.6rem .4rem .25rem; font-size:.88rem; }
.is-main .board-weapon-stats[b-xlfpmqv8vf] { padding:.15rem .4rem .4rem; }.is-main .board-weapon-stats b[b-xlfpmqv8vf] { font-size:.97rem; }
.board-main-note[b-xlfpmqv8vf] { padding:.25rem .4rem .6rem; color:#b5bca9; font-size:.6rem; line-height:1.5; }
.board-weapon-skills[b-xlfpmqv8vf] { display:grid; gap:.3rem; margin:0 .45rem; padding:.45rem 0 .5rem; text-align:left; border-top:1px solid #66808940; font-size:.68rem; line-height:1.4; }
.board-weapon-skills > span[b-xlfpmqv8vf] { display:flex; justify-content:space-between; flex-wrap:wrap; gap:.15rem .3rem; overflow-wrap:anywhere; }
.board-weapon-skills b[b-xlfpmqv8vf] { color:#d9be87; font-size:.65rem; font-weight:500; white-space:nowrap; }
.board-skills-state[b-xlfpmqv8vf] { color:#9ccbb5; font-size:.6rem; }
.skills-inactive .board-skills-state[b-xlfpmqv8vf] { color:#d2b28c; }.skills-inactive > span[b-xlfpmqv8vf],.skills-inactive b[b-xlfpmqv8vf],.board-weapon-skills .is-locked[b-xlfpmqv8vf] { color:#91a6b1; }
.is-empty[b-xlfpmqv8vf] { border-style:dashed; }.is-empty .board-weapon-visual[b-xlfpmqv8vf] { background:#132833; }
.is-empty .board-weapon-visual[b-xlfpmqv8vf]::before { border-color:#6e8a8f20; }
.board-weapon-empty[b-xlfpmqv8vf] { font-size:1.7rem; font-weight:300; color:#739097; }
.board-weapon-prompt[b-xlfpmqv8vf] { padding:.1rem .35rem .5rem; font-size:.62rem; color:#91a6b1; }
/* The editor stays in the phone-width shell, including on wide viewports. */
 .formation-weapon-board[b-xlfpmqv8vf] { grid-template-columns:repeat(3,minmax(0,1fr)); padding:.4rem; gap:.4rem; }
 .board-weapon.is-main[b-xlfpmqv8vf] { grid-column:1/-1; grid-row:auto; display:grid; grid-template-columns:110px minmax(0,1fr); grid-template-rows:auto auto auto; align-items:center; text-align:left; column-gap:.55rem; }
 .is-main .board-weapon-visual[b-xlfpmqv8vf] { grid-column:1; grid-row:1 / 4; align-self:stretch; min-height:102px; border-bottom:0; border-right:1px solid #c7ae6a29; }
 .is-main .board-weapon-visual img[b-xlfpmqv8vf] { width:86px; height:82px; margin-top:.65rem; }
 .is-main .board-weapon-visual[b-xlfpmqv8vf]::before { width:55px; height:55px; box-shadow:none; }
 .is-main .board-weapon-slot[b-xlfpmqv8vf] { left:.35rem; top:.3rem; font-size:.6rem; }
 .is-main .board-weapon-element[b-xlfpmqv8vf] { width:21px; height:21px; top:.25rem; right:.3rem; }
 .is-main .board-weapon-quality[b-xlfpmqv8vf] { right:.3rem; left:auto; bottom:.2rem; }
 .is-main .board-weapon-quality[b-xlfpmqv8vf]  .weapon-crystals__gem { width:8px; height:11px; }
 .is-main .board-weapon-name[b-xlfpmqv8vf] { align-self:end; padding:.45rem .35rem .15rem 0; font-size:.82rem; }
 .is-main .board-weapon-stats[b-xlfpmqv8vf] { display:flex; flex-wrap:wrap; justify-content:flex-start; gap:.4rem 1rem; padding:.1rem .35rem .1rem 0; }
 .is-main .board-weapon-stats b[b-xlfpmqv8vf] { font-size:.9rem; }
 .board-main-note[b-xlfpmqv8vf] { align-self:start; padding:.1rem .4rem .4rem 0; font-size:.6rem; }
 .is-main .board-weapon-skills[b-xlfpmqv8vf] { grid-column:1/-1; margin:0 .5rem; }
 .board-weapon-visual[b-xlfpmqv8vf] { height:74px; }.board-weapon-visual img[b-xlfpmqv8vf] { width:82px; height:72px; }
 .board-weapon-name[b-xlfpmqv8vf] { font-size:.7rem; padding-top:.3rem; }
 .board-weapon-stats[b-xlfpmqv8vf] { padding:.1rem .2rem .3rem; gap:.15rem; }.board-weapon-stats b[b-xlfpmqv8vf] { font-size:.74rem; }
 .board-weapon-stats small[b-xlfpmqv8vf] { font-size:.6rem; }
 .board-weapon-skills[b-xlfpmqv8vf] { margin:0 .3rem; font-size:.65rem; }
 .board-weapon-quality[b-xlfpmqv8vf] { right:.2rem; }
@media(prefers-reduced-motion:reduce) { .board-weapon[b-xlfpmqv8vf] { transition:none; } }
/* /Components/FormationWeaponDialog.razor.rz.scp.css */
.slot-weapon-backdrop[b-fqqz6jdhi3] { position:fixed; inset:0; z-index:1480; display:grid; place-items:center; padding:1.25rem; background:#030c16c4; backdrop-filter:blur(5px); }
.slot-weapon-dialog[b-fqqz6jdhi3] { display:flex; flex-direction:column; width:min(520px,100%); max-height:calc(100dvh - 2.5rem); min-height:0; overflow:hidden; border:1px solid #8a805f; border-radius:.9rem; box-shadow:0 24px 90px #000b,inset 0 0 0 3px #e4c58b07; }
/* Share one frame across the upgrade, material picker, and confirmation panes. */
.slot-weapon-dialog.is-upgrading[b-fqqz6jdhi3] { height:42rem; }
.is-upgrading[b-fqqz6jdhi3]  .weapon-equip-body { flex:1; scrollbar-gutter:stable; overflow-anchor:none; }
.weapon-slot-actions[b-fqqz6jdhi3] { display:grid; grid-template-columns:1fr 1fr; gap:.6rem; }
.weapon-slot-actions button[b-fqqz6jdhi3],.weapon-growth-actions button[b-fqqz6jdhi3],.weapon-operation-error button[b-fqqz6jdhi3] { min-height:44px; border:1px solid #506b7c; border-radius:.55rem; padding:.65rem .5rem; background:#203b4a; color:#d4e2e8; font:inherit; font-size:.8rem; cursor:pointer; }
.weapon-slot-actions .weapon-slot-primary[b-fqqz6jdhi3],.weapon-growth-actions .weapon-slot-primary[b-fqqz6jdhi3] { color:#1b2b34; background:linear-gradient(110deg,#dfbd80,#c6a16b); border-color:#d2b076; font-weight:600; }
.slot-weapon-dialog button:disabled[b-fqqz6jdhi3] { opacity:.45; cursor:not-allowed; }
.slot-weapon-dialog button:focus-visible[b-fqqz6jdhi3] { outline:2px solid #e6c281; outline-offset:2px; }
.weapon-growth-actions[b-fqqz6jdhi3] { display:flex; gap:.6rem; }
.weapon-growth-actions button[b-fqqz6jdhi3] { flex:1; }
.weapon-operation-note[b-fqqz6jdhi3] { font-size:.7rem; line-height:1.65; color:#a9bdca; margin:0 0 .55rem; }
.weapon-operation-error[b-fqqz6jdhi3] { color:#efb4a7; background:#442e3155; border:1px solid #94665d; border-radius:.5rem; padding:.6rem; margin:.6rem 0; font-size:.78rem; line-height:1.6; }
.weapon-operation-error button[b-fqqz6jdhi3] { display:block; margin-top:.4rem; }

.weapon-operation-title[b-fqqz6jdhi3],.weapon-upgrade-confirm h3[b-fqqz6jdhi3] { color:#dccba6; font-size:.9rem; margin:1rem 0 .5rem; }
.is-selecting-material[b-fqqz6jdhi3]  .weapon-equip-body { display:flex; flex-direction:column; overflow:hidden; }
.is-selecting-material[b-fqqz6jdhi3]  .weapon-equip-hero,.is-selecting-material .weapon-operation-note[b-fqqz6jdhi3] { flex:0 0 auto; }
.weapon-upgrade-confirm p[b-fqqz6jdhi3] { color:#bbccd5; font-size:.82rem; line-height:1.8; }
.weapon-upgrade-confirm strong[b-fqqz6jdhi3] { color:#e8c687; }
@media(max-width:640px) {
    .slot-weapon-backdrop[b-fqqz6jdhi3] { padding:.65rem; padding-top:calc(.65rem + env(safe-area-inset-top)); padding-bottom:calc(.65rem + env(safe-area-inset-bottom)); }
    .slot-weapon-dialog[b-fqqz6jdhi3] { max-height:calc(100dvh - 1.3rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
    .weapon-slot-actions[b-fqqz6jdhi3] { gap:.45rem; }
    .weapon-slot-actions button[b-fqqz6jdhi3],.weapon-growth-actions button[b-fqqz6jdhi3] { padding:.5rem; font-size:.76rem; }
}
.weapon-operation-status[b-fqqz6jdhi3] { display:flex; align-items:center; justify-content:space-between; height:44px; margin-bottom:.6rem; color:#a5bdc9; font-size:.73rem; }
.is-upgrading .weapon-operation-status[b-fqqz6jdhi3] { flex-direction:column-reverse; gap:.2rem; height:auto; margin:0; font-size:.6rem; }
.weapon-operation-status button[b-fqqz6jdhi3] { width:44px; height:44px; padding:0; border:1px solid #486575; border-radius:.55rem; background:#203b4b; color:#ccdee5; font:inherit; font-size:1.1rem; cursor:pointer; }
.weapon-operation-status button:disabled[b-fqqz6jdhi3] { opacity:.45; cursor:default; }
.weapon-operation-status button:focus-visible[b-fqqz6jdhi3] { outline:2px solid #edc888; outline-offset:2px; }
/* /Components/FormationWeaponEffectsDialog.razor.rz.scp.css */
.weapon-effects-backdrop[b-fdqz8ddopa] { position:fixed; inset:0; z-index:1480; display:grid; place-items:center; padding:1.25rem; background:#030c16c4; backdrop-filter:blur(5px); }
.weapon-effects-dialog[b-fdqz8ddopa] { display:flex; flex-direction:column; width:min(620px,100%); max-height:calc(100dvh - 2.5rem); overflow:hidden; color:#d9e5e8; border:1px solid #8a805f; border-radius:.9rem; background:linear-gradient(145deg,#203744,#10212e 70%); box-shadow:0 24px 90px #000b,inset 0 0 0 3px #e4c58b07; }
.weapon-effects-heading[b-fdqz8ddopa] { flex:0 0 auto; display:flex; justify-content:space-between; align-items:center; gap:.7rem; padding:.75rem 1rem; border-bottom:1px solid #af956c50; background:linear-gradient(100deg,#c2a56812,transparent); }
.weapon-effects-heading small[b-fdqz8ddopa] { color:#a5b7bd; font-size:.67rem; letter-spacing:.04em; }
.weapon-effects-heading h2[b-fdqz8ddopa] { margin:.2rem 0 0; color:#ebd7ae; font-size:1.1rem; font-weight:600; }
.weapon-effects-dialog button[b-fdqz8ddopa] { font:inherit; cursor:pointer; }
.weapon-effects-dismiss[b-fdqz8ddopa] { display:grid; place-items:center; width:44px; height:44px; flex:0 0 auto; border:1px solid #5c717b; border-radius:.5rem; color:#d7c5a0; background:#142b38; font-size:1.5rem!important; }
.weapon-effects-dialog button:focus-visible[b-fdqz8ddopa],.weapon-effects-body:focus-visible[b-fdqz8ddopa] { outline:2px solid #efcc8c; outline-offset:-3px; }
.weapon-effects-body[b-fdqz8ddopa] { min-height:0; overflow:auto; overscroll-behavior:contain; padding:.8rem 1rem 1rem; scrollbar-width:thin; scrollbar-color:#567380 transparent; }
.weapon-effects-context[b-fdqz8ddopa] { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.3rem; font-size:.7rem; color:#a9bec6; }
.weapon-effects-element[b-fdqz8ddopa] { display:inline-flex; align-items:center; gap:.25rem; color:var(--element); }
.weapon-effects-element[b-fdqz8ddopa]  svg { width:18px; height:18px; }
.weapon-effects-totals[b-fdqz8ddopa] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; margin:.55rem 0 .4rem; }
.weapon-effects-totals > div[b-fdqz8ddopa] { padding:.55rem .75rem; border:1px solid #b28c6045; border-radius:.5rem; background:linear-gradient(115deg,#d0a36b12,#0b1e2966); }
.weapon-effects-totals dt[b-fdqz8ddopa] { color:#c4c9be; font-size:.72rem; font-weight:400; }
.weapon-effects-totals dd[b-fdqz8ddopa] { margin:.15rem 0 0; font-size:1.6rem; line-height:1.3; font-weight:600; font-variant-numeric:tabular-nums; color:#f1c795; overflow-wrap:anywhere; }
.weapon-effects-totals > .weapon-effects-health[b-fdqz8ddopa] { border-color:#80b19a40; background:linear-gradient(115deg,#83bc9c10,#0b1e2966); }
.weapon-effects-health dd[b-fdqz8ddopa] { color:#a5d8c1; }
.weapon-effects-base[b-fdqz8ddopa] { display:flex; flex-wrap:wrap; gap:.3rem 1rem; font-size:.68rem; color:#96afb9; padding:.15rem .1rem .7rem; }
.weapon-effects-base b[b-fdqz8ddopa] { margin-left:.2rem; color:#c6d3d6; font-variant-numeric:tabular-nums; font-weight:500; }
.weapon-effects-label[b-fdqz8ddopa] { display:flex; justify-content:space-between; align-items:center; gap:.5rem; padding:.65rem 0; border-top:1px solid #60778455; }
.weapon-effects-label h3[b-fdqz8ddopa] { margin:0; color:#dfd2b3; font-size:.82rem; font-weight:500; }
.weapon-effects-label > span[b-fdqz8ddopa] { color:#a4b6bd; font-size:.68rem; }
.weapon-effects-grid[b-fdqz8ddopa] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; margin:0; }
.weapon-effect[b-fdqz8ddopa] { --effect-color:#efb890; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.35rem .5rem; padding:.65rem .7rem; min-width:0; border:1px solid #526a7666; border-left:2px solid color-mix(in srgb,var(--effect-color) 60%,transparent); border-radius:.45rem; background:#0a1c285c; }
.weapon-effect:only-child[b-fdqz8ddopa] { grid-column:1/-1; }
.tone-health[b-fdqz8ddopa] { --effect-color:#9ad2ac; }.tone-defense[b-fdqz8ddopa] { --effect-color:#8dcddc; }.tone-technique[b-fdqz8ddopa] { --effect-color:#dbbc83; }
.weapon-effect dt[b-fdqz8ddopa] { display:flex; align-items:center; gap:.35rem; min-width:0; color:var(--effect-color); font-size:.77rem; font-weight:500; overflow-wrap:anywhere; }
.weapon-effect-icon[b-fdqz8ddopa] { display:grid; place-items:center; flex:0 0 auto; width:22px; height:22px; color:var(--effect-color); }
.weapon-effect-icon svg[b-fdqz8ddopa] { width:20px; height:20px; }
.weapon-effect-value[b-fdqz8ddopa] { display:flex; justify-content:flex-end; align-items:baseline; flex-wrap:wrap; gap:.1rem .25rem; margin:0; text-align:right; color:#f0e5ce; font-variant-numeric:tabular-nums; }
.weapon-effect-value strong[b-fdqz8ddopa] { font-size:1.02rem; font-weight:600; white-space:nowrap; }
.weapon-effect-value strong > span[b-fdqz8ddopa] { font-size:.75rem; margin-left:.05rem; }
.weapon-effect-value small[b-fdqz8ddopa] { color:#acb8b8; font-size:.62rem; }
.weapon-effect-description[b-fdqz8ddopa] { grid-column:1/-1; margin:0; color:#a5bac4; font-size:.68rem; line-height:1.65; overflow-wrap:anywhere; }
.weapon-effects-empty[b-fdqz8ddopa] { margin:.3rem 0 .7rem; padding:.85rem; border:1px dashed #4f6875; border-radius:.5rem; color:#b2c5cd; font-size:.8rem; line-height:1.8; }
.weapon-effects-rules[b-fdqz8ddopa] { margin:.8rem 0 0; padding-left:.65rem; border-left:2px solid #8c795142; color:#93aab5; font-size:.67rem; line-height:1.8; }
.weapon-effects-footer[b-fdqz8ddopa] { flex:0 0 auto; display:flex; justify-content:center; padding:.7rem 1rem; border-top:1px solid #586d794d; background:#122633; }
.weapon-effects-footer button[b-fdqz8ddopa] { width:min(220px,100%); min-height:44px; border:1px solid #d1ae70; border-radius:.5rem; background:linear-gradient(110deg,#dfbd80,#c6a16b); color:#192c36; font-size:.82rem; font-weight:600; }
@media(max-width:640px) {
    .weapon-effects-backdrop[b-fdqz8ddopa] { padding:.65rem; padding-top:calc(.65rem + env(safe-area-inset-top)); padding-bottom:calc(.65rem + env(safe-area-inset-bottom)); }
    .weapon-effects-dialog[b-fdqz8ddopa] { max-height:calc(100dvh - 1.3rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
    .weapon-effects-heading[b-fdqz8ddopa] { padding:.65rem .75rem; }
    .weapon-effects-body[b-fdqz8ddopa] { padding:.65rem .75rem .8rem; }
    .weapon-effects-grid[b-fdqz8ddopa] { gap:.4rem; }
    .weapon-effect[b-fdqz8ddopa] { padding:.5rem; gap:.25rem; }
    .weapon-effect dt[b-fdqz8ddopa] { font-size:.74rem; gap:.25rem; }
    .weapon-effect-value[b-fdqz8ddopa] { flex-direction:column; align-items:flex-end; gap:.05rem; }
    .weapon-effect-value strong[b-fdqz8ddopa] { font-size:.95rem; }
    .weapon-effect-description[b-fdqz8ddopa] { font-size:.65rem; }
    .weapon-effects-footer[b-fdqz8ddopa] { padding:.6rem .75rem; }
}
@media(max-width:360px) { .weapon-effects-grid[b-fdqz8ddopa] { grid-template-columns:minmax(0,1fr); } }
/* /Components/FormationWeaponExpectation.razor.rz.scp.css */
.expectation-host[b-oc2yezqtmp]  .weapon-expectation-dialog { inset:0; margin:auto; width:min(650px,calc(100vw - 1.5rem)); height:min(740px,calc(100dvh - 2rem)); max-height:calc(100dvh - 2rem); padding:0; overflow:hidden; border:1px solid #a68b58; border-radius:1rem; color:#dce7dd; background:radial-gradient(ellipse at top left,#3b514039,transparent 60%),#152b25; box-shadow:0 24px 90px #000a; }
.expectation-host[b-oc2yezqtmp]  .weapon-expectation-dialog[open] { display:flex; flex-direction:column; }
.expectation-host[b-oc2yezqtmp]  .weapon-expectation-dialog::backdrop { background:#030b08ba; backdrop-filter:blur(4px); }
.expectation-heading[b-oc2yezqtmp] { display:flex; flex:0 0 auto; justify-content:space-between; align-items:center; padding:.85rem 1.1rem; border-bottom:1px solid #b79a5945; background:linear-gradient(110deg,#bca36910,transparent); }
.expectation-heading small[b-oc2yezqtmp] { color:#a5b8a5; font-size:.67rem; }
.expectation-heading h2[b-oc2yezqtmp] { color:#eed6a2; font-size:1.2rem; font-weight:600; margin:.15rem 0 0; }
.expectation-close[b-oc2yezqtmp] { width:44px; height:44px; border:1px solid #68806b; border-radius:.5rem; background:#14271f; color:#ddc99e; font-size:1.5rem; }
.expectation-body[b-oc2yezqtmp] { flex:1 1 auto; min-height:0; overflow:auto; overscroll-behavior:contain; padding:.85rem 1.1rem 1rem; scrollbar-width:thin; scrollbar-color:#647e61 transparent; }
.expectation-bloodlines[b-oc2yezqtmp] { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.bloodline[b-oc2yezqtmp] { --blood:#89c5a0; display:block; min-width:0; }
.bloodline.monster[b-oc2yezqtmp] { --blood:#d68f7e; }
.bloodline > span[b-oc2yezqtmp] { display:flex; align-items:center; gap:.25rem; color:#bdcabb; font-size:.78rem; }
.bloodline i[b-oc2yezqtmp] { color:var(--blood); font-style:normal; }
.bloodline b[b-oc2yezqtmp] { margin-left:auto; color:var(--blood); font-size:1.35rem; font-variant-numeric:tabular-nums; }
.bloodline b small[b-oc2yezqtmp] { font-size:.72rem; }
.bloodline input[b-oc2yezqtmp] { display:block; appearance:none; width:100%; height:44px; margin:0; background:transparent; cursor:pointer; touch-action:pan-y; }
.bloodline input[b-oc2yezqtmp]::-webkit-slider-runnable-track { height:10px; border-radius:10px; background:linear-gradient(to right,var(--blood) var(--fill),#0b1d16 var(--fill)); box-shadow:inset 0 0 0 1px #93ae8840; }
.bloodline input[b-oc2yezqtmp]::-webkit-slider-thumb { appearance:none; width:25px; height:25px; margin-top:-7.5px; border-radius:50%; border:3px solid #eddbb4; background:var(--blood); box-shadow:0 2px 6px #0008; }
.bloodline input[b-oc2yezqtmp]::-moz-range-track { height:10px; border-radius:10px; background:#0b1d16; }.bloodline input[b-oc2yezqtmp]::-moz-range-progress { height:10px; background:var(--blood); }.bloodline input[b-oc2yezqtmp]::-moz-range-thumb { width:22px; height:22px; border:3px solid #eddbb4; border-radius:50%; background:var(--blood); }
.expectation-metrics[b-oc2yezqtmp] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.55rem; }
.expectation-metric[b-oc2yezqtmp] { display:flex; flex-direction:column; gap:.2rem; padding:.7rem .6rem; min-width:0; border:1px solid #927e4e66; border-radius:.6rem; background:linear-gradient(140deg,#d2b76d0c,#0b1e1780); }
.metric-name[b-oc2yezqtmp] { color:#cec7ae; font-size:.75rem; white-space:nowrap; }.metric-name i[b-oc2yezqtmp] { font-style:normal; margin-right:.2rem; color:#c4b072; }
.expectation-metric > strong[b-oc2yezqtmp] { color:#f0d69a; font-size:1.6rem; font-weight:600; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; line-height:1.25; }
.expectation-metric:last-child > strong[b-oc2yezqtmp] { color:#a8d6af; }
.expectation-metric > small[b-oc2yezqtmp] { color:#a3b6a3; font-size:.67rem; }.expectation-metric > .metric-before[b-oc2yezqtmp] { color:#a1aea1; font-size:.72rem; }
.metric-gain[b-oc2yezqtmp] { font-size:.8rem; font-variant-numeric:tabular-nums; }.gain[b-oc2yezqtmp] { color:#8cddb0; }.loss[b-oc2yezqtmp] { color:#e6a08c; }.unchanged[b-oc2yezqtmp] { color:#b5b9a5; }
.expectation-health-detail[b-oc2yezqtmp] { display:flex; justify-content:space-between; gap:.5rem; font-size:.69rem; color:#99ad9b; padding:.5rem .15rem .65rem; }.expectation-health-detail b[b-oc2yezqtmp] { color:#c6d7bd; font-weight:500; }
.expectation-search-heading[b-oc2yezqtmp] { display:flex; justify-content:space-between; gap:.5rem; align-items:center; border-top:1px solid #8fa27c40; padding-top:.4rem; }.expectation-search-heading h3[b-oc2yezqtmp] { font-size:.85rem; font-weight:500; margin:0; color:#e0cfaa; }
.keep-main[b-oc2yezqtmp] { display:flex; align-items:center; gap:.35rem; min-height:44px; font-size:.72rem; color:#becbb8; cursor:pointer; }.keep-main input[b-oc2yezqtmp] { width:17px; height:17px; accent-color:#c7ad72; }
.expectation-directions[b-oc2yezqtmp] { display:grid; grid-template-columns:repeat(3,1fr); gap:.45rem; }.expectation-directions button[b-oc2yezqtmp] { min-height:44px; border:1px solid #59745c; border-radius:.5rem; background:#10261d; color:#bbceba; font-size:.8rem; }.expectation-directions button span[b-oc2yezqtmp] { margin-right:.4rem; }.expectation-directions button[aria-pressed=true][b-oc2yezqtmp] { border-color:#dbba75; background:linear-gradient(140deg,#88734344,#a2834022); color:#f0d49a; box-shadow:inset 0 0 0 1px #e6c17d20; }
.expectation-grid-heading[b-oc2yezqtmp] { display:flex; justify-content:space-between; align-items:center; padding:.8rem 0 .4rem; color:#c3cfbb; font-size:.74rem; }.expectation-grid-heading small[b-oc2yezqtmp] { color:#96ac96; font-size:.65rem; }
.expectation-grid[b-oc2yezqtmp] { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.4rem; }
.expectation-weapon[b-oc2yezqtmp] { position:relative; min-width:0; border:1px solid #58725670; border-radius:.45rem; background:radial-gradient(ellipse at center,#637c4a24,transparent),#10241c; padding:.2rem; overflow:hidden; }
.expectation-weapon.is-changed[b-oc2yezqtmp] { border-color:#dbbc73; background:radial-gradient(ellipse at center,#ab954a36,transparent),#203224; box-shadow:inset 0 0 0 1px #d5b76828; }
.expectation-slot[b-oc2yezqtmp] { position:absolute; top:.2rem; left:.3rem; color:#c3b27c; font-size:.62rem; z-index:1; }.expectation-weapon-art[b-oc2yezqtmp] { display:block; height:66px; width:100%; object-fit:contain; filter:drop-shadow(0 3px 5px #0007); }
.expectation-weapon strong[b-oc2yezqtmp] { display:block; color:#c6d1bb; font-size:.63rem; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-align:center; }.expectation-empty[b-oc2yezqtmp] { display:grid; place-items:center; height:66px; color:#607e63; font-size:1.4rem; }
.expectation-replaced[b-oc2yezqtmp] { position:absolute; right:.1rem; bottom:1.2rem; display:flex; align-items:center; color:#e7ca86; background:#122116cc; border-radius:.25rem; }.expectation-replaced img[b-oc2yezqtmp] { width:23px; height:23px; object-fit:contain; opacity:.7; }.expectation-replaced b[b-oc2yezqtmp] { font-size:.9rem; padding:0 .1rem; }
.expectation-rules[b-oc2yezqtmp] { margin-top:.8rem; color:#9fb39f; font-size:.68rem; line-height:1.65; }.expectation-rules summary[b-oc2yezqtmp] { min-height:32px; cursor:pointer; color:#b9c6af; }.expectation-rules summary span[b-oc2yezqtmp] { margin-left:.5rem; color:#cbb987; }.expectation-rules p[b-oc2yezqtmp] { margin:.35rem 0 .6rem; }
.expectation-footer[b-oc2yezqtmp] { flex:0 0 auto; padding:.6rem 1.1rem .85rem; border-top:1px solid #9f8d5b50; background:#14291f; }.expectation-status[b-oc2yezqtmp] { color:#a7bca3; min-height:1.3rem; font-size:.7rem; margin-bottom:.3rem; }.expectation-actions[b-oc2yezqtmp] { display:flex; gap:.5rem; }.expectation-actions button[b-oc2yezqtmp] { flex:1; min-height:44px; padding:.4rem .6rem; border-radius:.5rem; font-size:.8rem; font-weight:500; }.expectation-secondary[b-oc2yezqtmp] { color:#cfdbbd; background:#233c2b; border:1px solid #6c855f; }.expectation-apply[b-oc2yezqtmp] { color:#263324; border:1px solid #e2c480; background:linear-gradient(110deg,#ddc38c,#bda36b); }
.expectation-error[b-oc2yezqtmp] { color:#efb49f; font-size:.8rem; padding:.5rem 0; }.expectation-error button[b-oc2yezqtmp] { margin-left:.5rem; min-height:44px; background:#304631; color:#e8cd95; border:1px solid #897a54; border-radius:.4rem; }
button[b-oc2yezqtmp] { cursor:pointer; font:inherit; }button:disabled[b-oc2yezqtmp] { opacity:.4; cursor:default; }button:focus-visible[b-oc2yezqtmp],input:focus-visible[b-oc2yezqtmp],summary:focus-visible[b-oc2yezqtmp] { outline:2px solid #ecd19b; outline-offset:2px; }
@media(max-width:480px) {
    .expectation-host[b-oc2yezqtmp]  .weapon-expectation-dialog { width:calc(100vw - 1rem); height:min(760px,calc(100dvh - 1.2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom))); max-height:calc(100dvh - 1.2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)); border-radius:.75rem; }
    .expectation-heading[b-oc2yezqtmp] { padding:.6rem .75rem; }.expectation-body[b-oc2yezqtmp] { padding:.7rem .65rem; }.expectation-footer[b-oc2yezqtmp] { padding:.5rem .65rem .7rem; }.expectation-bloodlines[b-oc2yezqtmp] { grid-template-columns:1fr; gap:.1rem; }.bloodline b[b-oc2yezqtmp] { font-size:1.2rem; }.bloodline input[b-oc2yezqtmp] { height:36px; }.expectation-metrics[b-oc2yezqtmp] { gap:.3rem; }.expectation-metric[b-oc2yezqtmp] { padding:.55rem .35rem; }.metric-name[b-oc2yezqtmp] { font-size:.64rem; }.metric-name i[b-oc2yezqtmp] { display:none; }.expectation-metric > strong[b-oc2yezqtmp] { font-size:1.3rem; }.expectation-metric > small[b-oc2yezqtmp] { font-size:.59rem; }.expectation-grid[b-oc2yezqtmp] { gap:.25rem; }.expectation-weapon-art[b-oc2yezqtmp],.expectation-empty[b-oc2yezqtmp] { height:52px; }.expectation-weapon strong[b-oc2yezqtmp] { font-size:.56rem; }.expectation-grid-heading[b-oc2yezqtmp] { padding-top:.65rem; }
}
@media(prefers-reduced-motion:reduce) { *[b-oc2yezqtmp] { scroll-behavior:auto!important; } }
/* /Components/FormationWeaponPreviewCard.razor.rz.scp.css */
.weapon-preview-card[b-x49pfzibmw] { display:grid; grid-template-rows:auto minmax(44px,1fr) auto; gap:.3rem; min-width:0; min-height:112px; padding:.65rem; border:1px solid #425d70; border-radius:.65rem; background:linear-gradient(135deg,#203b4e,#122a3a); color:#c5d7e1; text-align:left; font:inherit; cursor:pointer; }
.weapon-preview-card:focus-visible[b-x49pfzibmw] { outline:2px solid #f1cc88; outline-offset:3px; }
.weapon-preview-heading[b-x49pfzibmw] { display:flex; align-items:center; gap:.35rem; min-width:0; line-height:1.25; }
.weapon-preview-heading strong[b-x49pfzibmw] { font-size:.86rem; color:#e9d7b5; white-space:nowrap; }
.weapon-preview-heading small[b-x49pfzibmw] { color:#9eb8c9; font-size:.65rem; font-variant-numeric:tabular-nums; white-space:nowrap; }
.weapon-preview-heading b[b-x49pfzibmw] { margin-left:auto; font-size:1rem; color:#d2b477; }
.weapon-preview-main[b-x49pfzibmw] { display:flex; align-items:center; gap:.4rem; min-width:0; }
.weapon-preview-art[b-x49pfzibmw] { display:grid; place-items:center; flex:0 0 38px; width:38px; height:42px; color:#7896ab; font-size:1.5rem; background:radial-gradient(ellipse,color-mix(in srgb,var(--element,#617c8d) 12%,transparent),transparent 75%); }
.weapon-preview-art img[b-x49pfzibmw] { display:block; width:100%; height:100%; object-fit:contain; image-rendering:pixelated; filter:drop-shadow(0 2px 2px #0005); }
.weapon-preview-copy[b-x49pfzibmw] { display:grid; gap:2px; min-width:0; }
.weapon-preview-copy > strong[b-x49pfzibmw] { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#e3e7e2; font-size:.74rem; font-weight:600; line-height:1.25; }
.weapon-preview-meta[b-x49pfzibmw] { display:flex; align-items:center; gap:.35rem; min-width:0; white-space:nowrap; line-height:1.25; }
.weapon-preview-element[b-x49pfzibmw] { display:inline-flex; align-items:center; gap:2px; color:var(--element); font-size:.6rem; }
.weapon-preview-element[b-x49pfzibmw]  svg { width:12px; height:12px; flex:0 0 12px; }
.weapon-preview-meta > small[b-x49pfzibmw] { color:#93adbc; font-size:.6rem; }
.weapon-preview-quality[b-x49pfzibmw] { display:flex; align-items:center; height:10px; }
.weapon-preview-quality[b-x49pfzibmw]  .weapon-crystals { gap:2px; height:10px; }
.weapon-preview-quality[b-x49pfzibmw]  .weapon-crystals__gem { width:7px; height:10px; }
.weapon-preview-effects[b-x49pfzibmw] { display:flex; align-items:center; gap:.3rem; min-width:0; font-size:.65rem; line-height:1.3; white-space:nowrap; }
.weapon-preview-effects > span[b-x49pfzibmw] { color:#e5c398; overflow:hidden; text-overflow:ellipsis; }
.weapon-preview-effects > .is-health[b-x49pfzibmw] { color:#a4d2bf; }
.weapon-preview-effects > small[b-x49pfzibmw] { flex:0 0 auto; color:#8fa9b9; font-size:.6rem; }
@media(hover:hover) { .weapon-preview-card:hover[b-x49pfzibmw] { border-color:#d5b472; background:#243f50; } }
@media(max-width:360px) {
    .weapon-preview-heading[b-x49pfzibmw] { gap:.25rem; }
    .weapon-preview-heading strong[b-x49pfzibmw] { font-size:.78rem; }
    .weapon-preview-heading small[b-x49pfzibmw] { font-size:.58rem; }
    .weapon-preview-art[b-x49pfzibmw] { flex-basis:30px; width:30px; }
    .weapon-preview-main[b-x49pfzibmw] { gap:.25rem; }
    .weapon-preview-copy > strong[b-x49pfzibmw] { font-size:.68rem; }
    .weapon-preview-meta[b-x49pfzibmw] { gap:.25rem; }
    .weapon-preview-element[b-x49pfzibmw],.weapon-preview-meta > small[b-x49pfzibmw] { font-size:.55rem; }
    .weapon-preview-effects[b-x49pfzibmw] { font-size:.6rem; }
    .weapon-preview-effects > small[b-x49pfzibmw] { font-size:.55rem; }
}
/* /Components/FormationWeaponStats.razor.rz.scp.css */
.weapon-loadout-stats[b-nz6g6sbx7i] { flex:0 0 auto; padding:.35rem 1rem .45rem; color:#c0d0d5; background:linear-gradient(100deg,#c5a6650a,transparent 65%),#10232f; border-bottom:1px solid #61758145; }
.loadout-stats-heading[b-nz6g6sbx7i] { display:flex; align-items:center; flex-wrap:wrap; gap:.2rem .6rem; margin-bottom:.2rem; font-size:.65rem; }
.loadout-stats-heading > span[b-nz6g6sbx7i] { color:#9eafb9; }
.loadout-stats-element[b-nz6g6sbx7i] { display:inline-flex; align-items:center; gap:.2rem; margin-left:auto; color:var(--element)!important; }
.loadout-stats-element[b-nz6g6sbx7i]  svg { width:14px; height:14px; }
.loadout-stats-values[b-nz6g6sbx7i] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; margin:0; }
.loadout-stat[b-nz6g6sbx7i] { display:flex; align-items:baseline; flex-wrap:wrap; gap:.15rem .5rem; min-width:0; padding:.2rem .5rem; border-left:2px solid #caa275; background:linear-gradient(90deg,#cca06e10,transparent); }
.loadout-stat--health[b-nz6g6sbx7i] { border-left-color:#83b9a4; background:linear-gradient(90deg,#80b9a310,transparent); }
.loadout-stat dt[b-nz6g6sbx7i] { font-size:.68rem; font-weight:400; color:#c0c9ca; white-space:nowrap; }
.loadout-stat dd[b-nz6g6sbx7i] { display:flex; align-items:baseline; flex-wrap:wrap; gap:.1rem .4rem; min-width:0; margin:0; font-size:1.2rem; font-weight:650; line-height:1.2; font-variant-numeric:tabular-nums; letter-spacing:.015em; color:#f1c795; overflow-wrap:anywhere; }
.loadout-stat--health dd[b-nz6g6sbx7i] { color:#a5d8c1; }
.stat-delta[b-nz6g6sbx7i] { font-size:.65rem; font-weight:400; font-variant-numeric:tabular-nums; white-space:nowrap; }
.stat-delta.is-gain[b-nz6g6sbx7i] { color:#a3d9b6; }.stat-delta.is-loss[b-nz6g6sbx7i] { color:#f0a79b; }
.loadout-stats-status[b-nz6g6sbx7i] { font-size:.65rem; color:#a8bbc8; }
.loadout-stats-status.is-ready[b-nz6g6sbx7i] { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:640px) {
    .weapon-loadout-stats[b-nz6g6sbx7i] { padding:.3rem .75rem .4rem; }
    .loadout-stats-values[b-nz6g6sbx7i] { gap:.4rem; }
    .loadout-stat[b-nz6g6sbx7i] { column-gap:.4rem; padding:.15rem .4rem; }
    .loadout-stat dd[b-nz6g6sbx7i] { font-size:1.15rem; }
}
/* /Components/FormationWeaponSummary.razor.rz.scp.css */
.formation-weapon-summary[b-uvyw4tryhx] { margin-top:.5rem; border-top:1px solid #526b754f; color:#b2c6d2; }
.weapon-effects-trigger[b-uvyw4tryhx] { display:flex; align-items:center; gap:.5rem; width:100%; min-height:48px; padding:.4rem .2rem; border:0; border-radius:.4rem; background:transparent; color:#dbe4e9; text-align:left; font:inherit; cursor:pointer; }
.weapon-effects-trigger:hover:not(:disabled)[b-uvyw4tryhx] { background:#779db00d; }
.weapon-effects-trigger:focus-visible[b-uvyw4tryhx] { outline:2px solid #e9c381; outline-offset:2px; }
.weapon-effects-trigger:disabled[b-uvyw4tryhx] { opacity:.55; cursor:wait; }
.weapon-effects-trigger strong[b-uvyw4tryhx] { min-width:0; font-size:.78rem; font-weight:600; }
.weapon-effects-info[b-uvyw4tryhx] { display:grid; place-items:center; flex:0 0 auto; width:22px; height:22px; border:1px solid #769ca7; border-radius:50%; background:#25495860; color:#b4d9df; font:italic 600 .85rem Georgia,serif; }
.weapon-effects-count[b-uvyw4tryhx] { margin-left:auto; color:#ddc18d; font-size:.7rem; }
.weapon-effects-arrow[b-uvyw4tryhx] { color:#ddc18d; font-size:1.2rem; }
p[b-uvyw4tryhx] { margin:.5rem 0; font-size:.75rem; line-height:1.6; }
/* /Components/GameStateCard.razor.rz.scp.css */
.game-state[b-894roy0h6c] {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: .7rem;
    min-width: 0;
    min-height: 86px;
    padding: .85rem;
    border: 1px solid #3b5268;
    border-radius: .76rem;
    background: linear-gradient(135deg, rgba(25, 43, 60, .9), rgba(13, 27, 41, .92));
    color: #dce7ee;
}

.game-state--compact[b-894roy0h6c] { min-height: 68px; padding: .65rem .75rem; }

.game-state__glyph[b-894roy0h6c] {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #6a5b3f;
    border-radius: .65rem;
    background: rgba(216, 169, 87, .1);
    color: #e9be70;
    font-size: .9rem;
}

.game-state--loading .game-state__glyph[b-894roy0h6c] { animation: game-state-pulse-b-894roy0h6c 1.35s ease-in-out infinite; }
.game-state--error[b-894roy0h6c] { border-color: rgba(173, 82, 91, .62); background: linear-gradient(135deg, rgba(72, 35, 45, .76), rgba(27, 25, 37, .94)); }
.game-state--error .game-state__glyph[b-894roy0h6c] { border-color: #87505a; background: rgba(172, 75, 87, .12); color: #f0a5ad; }
.game-state--empty .game-state__glyph[b-894roy0h6c] { border-color: #50677b; background: rgba(91, 124, 148, .1); color: #a8c0d1; }

.game-state__copy[b-894roy0h6c] { display: grid; min-width: 0; gap: .14rem; }
.game-state__copy strong[b-894roy0h6c] { overflow: hidden; color: #f0e6d2; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.game-state__copy small[b-894roy0h6c] { color: #91a6b7; font-size: .66rem; line-height: 1.4; }
.game-state__actions[b-894roy0h6c] { display: flex; align-items: center; gap: .4rem; }
.game-state__actions[b-894roy0h6c]  .button,
.game-state__actions[b-894roy0h6c]  button,
.game-state__actions[b-894roy0h6c]  a { min-height: 44px; }

@keyframes game-state-pulse-b-894roy0h6c {
    0%, 100% { opacity: .55; transform: scale(.92); }
    50% { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .game-state--loading .game-state__glyph[b-894roy0h6c] { animation: none; }
}

@container game-shell (max-width: 390px) {
    .game-state[b-894roy0h6c] { grid-template-columns: 36px minmax(0, 1fr) auto; gap: .55rem; min-height: 74px; padding: .65rem; }
    .game-state__glyph[b-894roy0h6c] { width: 36px; height: 36px; }
    .game-state__copy strong[b-894roy0h6c] { font-size: .76rem; }
    .game-state__copy small[b-894roy0h6c] { font-size: .625rem; }
}
/* /Components/InventoryGrowthPanel.razor.rz.scp.css */
.growth-panel[b-m3g5yazn3d] { border-top:1px solid #425b6955; margin-top:.85rem; padding-top:.85rem; }
.growth-panel--upgrade[b-m3g5yazn3d] { margin-top:.5rem; padding-top:.65rem; }
.growth-panel h3[b-m3g5yazn3d] { color:#ece3d3; font-size:.88rem; margin:0; }
.growth-heading[b-m3g5yazn3d] { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem; margin-bottom:.5rem; }
.growth-heading > span[b-m3g5yazn3d] { color:#a8bdc7; font-size:.7rem; }
.growth-heading .growth-currency[b-m3g5yazn3d] { padding:.3rem .55rem; background:#0e222f; border:1px solid #49617066; border-radius:.4rem; }
.growth-currency strong[b-m3g5yazn3d] { color:#e5c990; margin-left:.4rem; font-variant-numeric:tabular-nums; }
.growth-panel button[b-m3g5yazn3d] { min-height:44px; background:#233e4d; border:1px solid #4a6574; color:#d5e3e9; border-radius:.5rem; padding:.55rem .75rem; font:inherit; font-size:.76rem; cursor:pointer; }
.growth-panel button.growth-primary[b-m3g5yazn3d] { background:linear-gradient(110deg,#ddbc82,#c6a16a); border-color:#d1af75; color:#192d36; font-weight:600; }
.growth-panel button:hover:not(:disabled)[b-m3g5yazn3d] { filter:brightness(1.1); }
.growth-panel button:disabled[b-m3g5yazn3d] { opacity:.45; cursor:not-allowed; }
.growth-panel button:focus-visible[b-m3g5yazn3d] { outline:2px solid #eccd90; outline-offset:3px; }
.growth-note[b-m3g5yazn3d] { font-size:.72rem; line-height:1.65; color:#9eb6c3; margin:.5rem 0 .75rem; }
.growth-skills[b-m3g5yazn3d] { display:grid; gap:.6rem; margin-top:.75rem; }
.growth-skill[b-m3g5yazn3d] { background:#102532; border:1px solid #405d6d; border-radius:.65rem; padding:.8rem; min-width:0; }
.growth-skill-title[b-m3g5yazn3d] { display:flex; justify-content:space-between; align-items:baseline; gap:.5rem; }
.growth-skill-title h4[b-m3g5yazn3d] { margin:0; font-size:.85rem; line-height:1.5; color:#e1e9e9; }
.growth-skill-title > span[b-m3g5yazn3d] { color:#ccb783; font-size:.72rem; white-space:nowrap; }
.growth-skill-title > span > strong[b-m3g5yazn3d] { font-size:1rem; font-weight:600; }
.growth-skill-title small[b-m3g5yazn3d] { font-size:.68rem; color:#8ea8b7; }
.growth-description[b-m3g5yazn3d] { color:#b0c4cf; line-height:1.6; font-size:.75rem; margin:.4rem 0 .65rem; }
.growth-progress[b-m3g5yazn3d] { display:block; appearance:none; width:100%; height:3px; border:0; border-radius:3px; background:#294351; color:#c6aa75; }
.growth-progress[b-m3g5yazn3d]::-webkit-progress-bar { background:#294351; border-radius:3px; }
.growth-progress[b-m3g5yazn3d]::-webkit-progress-value { background:#c6aa75; border-radius:3px; }
.growth-progress[b-m3g5yazn3d]::-moz-progress-bar { background:#c6aa75; border-radius:3px; }
.growth-skill-action[b-m3g5yazn3d] { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.6rem; padding-top:.7rem; }
.growth-skill-preview[b-m3g5yazn3d] { display:grid; gap:.2rem; color:#b0c4cf; font-size:.76rem; }
.growth-skill-preview strong[b-m3g5yazn3d] { color:#e6cb98; font-weight:600; }
.growth-skill-preview small[b-m3g5yazn3d] { color:#90aab9; font-size:.68rem; }
.growth-skill-preview b[b-m3g5yazn3d] { color:#c9d8dc; font-weight:500; }
.growth-skill-action button[b-m3g5yazn3d] { min-width:84px; }
.growth-panel i[b-m3g5yazn3d] { font-style:normal; margin:0 .25rem; color:#738e9f; }
.growth-locked[b-m3g5yazn3d] { padding:.7rem .1rem 0; color:#8da7b6; }
.growth-locked > span[b-m3g5yazn3d] { font-size:.68rem; }
.growth-locked p[b-m3g5yazn3d] { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.4rem; margin:.45rem 0; }
.growth-locked strong[b-m3g5yazn3d] { font-size:.73rem; font-weight:500; }
.growth-locked small[b-m3g5yazn3d] { font-size:.67rem; }
.growth-locked-item[b-m3g5yazn3d] { margin-top:.6rem; }
.growth-locked-item > div[b-m3g5yazn3d] { color:#8da7b6; font-size:.7rem; line-height:1.6; }
.growth-quality-preview[b-m3g5yazn3d] { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:.65rem; padding:.5rem .75rem; margin:.6rem 0 .75rem; border:1px solid #496271; border-radius:.55rem; background:#102532; }
.growth-quality-preview > div[b-m3g5yazn3d] { display:grid; gap:.35rem; min-width:0; }
.growth-quality-preview .growth-next[b-m3g5yazn3d] { justify-items:end; }
.growth-quality-value[b-m3g5yazn3d] { display:flex; align-items:center; gap:.4rem; min-height:18px; }
.growth-quality-preview small[b-m3g5yazn3d] { font-size:.68rem; color:#9ab3c1; }
.growth-quality-preview strong[b-m3g5yazn3d] { font-size:.75rem; color:#b6c8d0; font-weight:500; }
.growth-quality-preview .growth-next strong[b-m3g5yazn3d] { color:#ead0a0; }
.growth-quality-preview[b-m3g5yazn3d]  .weapon-crystals { height:18px; gap:3px; }
.growth-quality-preview[b-m3g5yazn3d]  .weapon-crystals__gem { width:11px; height:16px; }
.growth-arrow[b-m3g5yazn3d] { color:#8e998f; font-size:1rem; }
.growth-benefits[b-m3g5yazn3d] { display:grid; gap:.55rem; padding:.2rem .1rem; font-size:.75rem; }
.growth-level-limit[b-m3g5yazn3d],.growth-unlock > div[b-m3g5yazn3d] { display:flex; align-items:baseline; justify-content:space-between; gap:.3rem .7rem; }
.growth-level-limit strong[b-m3g5yazn3d] { white-space:nowrap; }
.growth-benefits span[b-m3g5yazn3d] { color:#9eb7c5; }
.growth-benefits strong[b-m3g5yazn3d] { color:#beced5; font-weight:500; }
.growth-benefits b[b-m3g5yazn3d],.growth-unlock strong[b-m3g5yazn3d] { color:#e3ca98; font-weight:500; }
.growth-unlocks[b-m3g5yazn3d] { height:3.5rem; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-gutter:stable; padding:.45rem .65rem; border-radius:.4rem; background:#20394766; }
.growth-unlocks:focus-visible[b-m3g5yazn3d] { outline:2px solid #eccd90; outline-offset:2px; }
.growth-unlock + .growth-unlock[b-m3g5yazn3d] { margin-top:.5rem; }
.growth-unlock strong[b-m3g5yazn3d] { text-align:right; overflow-wrap:anywhere; }
.growth-unlock p[b-m3g5yazn3d] { margin:.3rem 0 0; color:#a8bfcb; font-size:.72rem; line-height:1.6; overflow-wrap:anywhere; }
.growth-complete[b-m3g5yazn3d] { margin-top:1rem; padding:1rem .75rem; border:1px solid #c8ac7044; border-radius:.6rem; background:#b89a6110; }
.growth-complete > strong[b-m3g5yazn3d] { color:#e3ca98; font-size:.82rem; font-weight:500; }
.growth-complete p[b-m3g5yazn3d] { margin:.4rem 0 .75rem; color:#a8bfcb; font-size:.72rem; line-height:1.6; }
.growth-complete-skills[b-m3g5yazn3d] { display:flex; flex-wrap:wrap; gap:.35rem; }
.growth-complete-skills span[b-m3g5yazn3d] { padding:.25rem .45rem; border-radius:.3rem; background:#d2b47815; color:#d3c8ad; font-size:.7rem; }
.growth-material-heading[b-m3g5yazn3d] { display:flex; justify-content:space-between; align-items:center; font-size:.8rem; color:#e0e5e2; margin:.75rem 0 .5rem; }
.growth-material-heading small[b-m3g5yazn3d] { color:#8aa5b5; font-size:.67rem; font-weight:400; }
.growth-material-options[b-m3g5yazn3d] { display:grid; gap:.5rem; }
.growth-material-option[b-m3g5yazn3d] { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.65rem; padding:.7rem; border:1px solid #415d6d; border-radius:.6rem; background:#102532; }
.growth-material-option > div[b-m3g5yazn3d] { display:grid; gap:.3rem; }
.growth-material-option strong[b-m3g5yazn3d] { color:#d9e3e5; font-size:.78rem; font-weight:500; }
.growth-material-option small[b-m3g5yazn3d] { color:#9cb4c1; font-size:.68rem; }
.growth-material-art[b-m3g5yazn3d] { width: 18px; height: 18px; margin-inline-end: .2rem; object-fit: contain; image-rendering: pixelated; vertical-align: middle; }
@media(max-width:350px) { .growth-material-option[b-m3g5yazn3d] { padding:.65rem; } .growth-material-option button[b-m3g5yazn3d] { width:100%; } }
/* /Components/InventoryItemPicker.razor.rz.scp.css */
.item-picker-trigger[b-806jm8lge8] { display: flex; justify-content: space-between; align-items: center; gap: .8rem; width: 100%; min-height: 44px; text-align: left; border: 1px solid #496173; border-radius: .45rem; padding: .55rem .7rem; background: #193041; color: #d6e2e6; cursor: pointer; }.item-picker-trigger > span[b-806jm8lge8] { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }.item-picker-trigger strong[b-806jm8lge8] { font-size: .76rem; font-weight: 650; }.item-picker-trigger small[b-806jm8lge8] { font-size: .65rem; color: #91a8b9; }.item-picker-trigger b[b-806jm8lge8] { color: #c5aa77; }.item-picker-trigger:disabled[b-806jm8lge8] { opacity: .45; cursor: not-allowed; }
.item-picker-backdrop[b-806jm8lge8] { position: fixed; z-index: 1500; inset: 0; display: grid; place-items: center; background: #07121bd4; backdrop-filter: blur(5px); padding: 1rem; }.item-picker-dialog[b-806jm8lge8] { display: flex; flex-direction: column; width: min(560px,100%); max-height: 85dvh; border: 1px solid #597181; border-radius: .9rem; padding: 1rem; background: #1c3141; color: #e2e7e6; box-shadow: 0 20px 80px #0008; }.item-picker-dialog header[b-806jm8lge8] { display: flex; gap: 1rem; justify-content: space-between; }.item-picker-dialog header small[b-806jm8lge8] { color: #c5a675; font-size: .65rem; }.item-picker-dialog h3[b-806jm8lge8] { font-size: 1.1rem; color: #eadfc7; margin: .3rem 0; }.item-picker-dialog p[b-806jm8lge8] { color: #9db2c1; font-size: .74rem; line-height: 1.6; }.item-picker-dialog header button[b-806jm8lge8] { background: transparent; color: #a6bcc8; border: 0; font-size: 1.5rem; padding: .3rem; align-self: start; }.item-picker-dialog > input[b-806jm8lge8] { color: #d7e2e9; background: #102737; border: 1px solid #456374; border-radius: .45rem; padding: .65rem; font-size: .8rem; margin-bottom: .6rem; }.item-picker-list[b-806jm8lge8] { max-height: 50dvh; min-height: 130px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #344e60; border-radius: .5rem; background: #152b3b; }.item-picker-list button[b-806jm8lge8] { display: flex; align-items: center; gap: .7rem; width: 100%; min-height: 76px; padding: .65rem; border: 0; border-bottom: 1px solid #314b5b; color: #d6e1e5; background: transparent; text-align: left; cursor: pointer; }.item-picker-list button:hover[b-806jm8lge8],.item-picker-list .is-selected[b-806jm8lge8] { background: #314a52; }.item-picker-list button:disabled[b-806jm8lge8] { opacity: .4; cursor: not-allowed; }.item-picker-icon[b-806jm8lge8] { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: .4rem; background: #263f4a; border: 1px solid #4e6370; color: #b9c4ae; }.item-picker-icon img[b-806jm8lge8] { width: 100%; height: 100%; object-fit: contain; }.item-picker-list button > span:nth-child(2)[b-806jm8lge8] { display: flex; flex-direction: column; flex: 1; gap: .3rem; min-width: 0; }.item-picker-list strong[b-806jm8lge8] { font-size: .8rem; }.item-picker-list small[b-806jm8lge8] { font-size: .64rem; color: #a1b4be; overflow-wrap: anywhere; }.item-picker-list b[b-806jm8lge8] { font-size: .64rem; color: #c6b684; font-weight: 500; }.item-picker-empty[b-806jm8lge8] { padding: 1rem; text-align: center; }.item-picker-dialog footer[b-806jm8lge8] { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .8rem; }.item-picker-dialog footer a[b-806jm8lge8] { color: #dfc38c; font-size: .72rem; text-decoration: none; }.item-picker-dialog footer button[b-806jm8lge8] { color: #c9d9e0; background: #2d485b; border: 1px solid #4c677c; border-radius: .4rem; padding: .5rem .8rem; font-size: .74rem; }.item-picker-dialog button:focus-visible[b-806jm8lge8],.item-picker-trigger:focus-visible[b-806jm8lge8] { outline: 2px solid #edc982; outline-offset: 2px; }
@media(max-width:640px) { .item-picker-backdrop[b-806jm8lge8] { padding: .6rem; }.item-picker-dialog[b-806jm8lge8] { max-height: 88dvh; }.item-picker-list[b-806jm8lge8] { max-height: 58dvh; } }
.item-picker-list .item-picker-option[b-806jm8lge8] { box-sizing:border-box; display:grid; grid-template-columns:42px minmax(0,1fr) auto; grid-template-rows:42px minmax(0,1fr); gap:.25rem .5rem; padding:.55rem; height:6.5rem; min-height:6.5rem; max-height:6.5rem; overflow:hidden; }
.item-picker-list .item-picker-option > span:nth-child(2)[b-806jm8lge8] { display:contents; }
.item-picker-option > .item-picker-icon[b-806jm8lge8] { grid-column:1; grid-row:1; }
.item-picker-option strong[b-806jm8lge8] { grid-column:2; grid-row:1; }
.item-picker-option small[b-806jm8lge8] { grid-column:1 / -1; grid-row:2; align-self:start; }
.item-picker-option > b[b-806jm8lge8] { grid-column:3; grid-row:1; }
.item-picker-option strong[b-806jm8lge8],.item-picker-option small[b-806jm8lge8] { display: block; width: 100%; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-picker-option strong[b-806jm8lge8] { line-height:1.3; }
.item-picker-option small[b-806jm8lge8] { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; white-space:normal; line-height:1.45; font-size:.68rem; }
.item-picker-search[b-806jm8lge8] { display:flex; gap:.4rem; flex:0 0 auto; margin-bottom:.6rem; }
.item-picker-search input[b-806jm8lge8] { flex:1; min-width:0; min-height:44px; padding:.6rem; font-size:.8rem; border:1px solid #456374; border-radius:.45rem; background:#102737; color:#d7e2e9; }
.item-picker-search button[b-806jm8lge8] { flex:0 0 auto; min-width:44px; min-height:44px; border:1px solid #526b7c; border-radius:.45rem; background:#293f4e; color:#ddc58e; font-size:.75rem; }
.item-picker-hint summary[b-806jm8lge8] { min-height:44px; align-content:center; font-size:.72rem; color:#c5b28e; cursor:pointer; }
.item-picker-hint p[b-806jm8lge8] { margin:0 0 .5rem; }
.item-picker-dialog footer button[b-806jm8lge8] { flex:0 0 auto; white-space:nowrap; }

.item-picker-dialog[b-806jm8lge8] { overflow:hidden; max-height:calc(100dvh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
.item-picker-dialog > header[b-806jm8lge8], .item-picker-dialog > input[b-806jm8lge8], .item-picker-dialog > footer[b-806jm8lge8] { flex:0 0 auto; }
.item-picker-dialog header > div[b-806jm8lge8] { min-width:0; overflow-wrap:anywhere; }
.item-picker-dialog header > button[b-806jm8lge8] { flex:0 0 44px; width:44px; min-height:44px; }
.item-picker-dialog > input[b-806jm8lge8] { min-height:44px; }
.item-picker-list[b-806jm8lge8] { flex:1 1 auto; min-height:0; }
.item-picker-dialog footer :is(a,button)[b-806jm8lge8] { display:flex; align-items:center; justify-content:center; min-height:44px; }
.item-picker-dialog footer a[b-806jm8lge8] { padding:0 .35rem; }
@media(pointer:coarse) { .item-picker-search input[b-806jm8lge8] { font-size:max(16px,1rem); } }
@media(max-height:500px) {
 .item-picker-dialog[b-806jm8lge8] { padding:.6rem; }
 .item-picker-dialog header small[b-806jm8lge8] { display:none; }
 .item-picker-dialog footer[b-806jm8lge8] { margin-top:.4rem; }
}
/* /Components/InventoryWeaponDetails.razor.rz.scp.css */
.warehouse-weapon-detail[b-3mgj81kwyi] { display:flex; flex:1; flex-direction:column; min-height:0; }
/* Keep the footer anchored through rank changes; the outer detail caps this on short screens. */
.warehouse-weapon-detail.is-upgrading[b-3mgj81kwyi] { height:42rem; flex:1 1 auto; }
.is-upgrading[b-3mgj81kwyi]  .weapon-equip-body { flex:1; scrollbar-gutter:stable; overflow-anchor:none; }
.warehouse-weapon-sync[b-3mgj81kwyi] { display:flex; align-items:center; justify-content:space-between; height:44px; margin-bottom:.6rem; color:#a5bdc9; font-size:.73rem; }
.is-upgrading .warehouse-weapon-sync[b-3mgj81kwyi] { flex-direction:column-reverse; gap:.2rem; height:auto; margin:0; font-size:.6rem; }
.warehouse-weapon-sync button[b-3mgj81kwyi] { width:44px; height:44px; padding:0; border:1px solid #486575; border-radius:.55rem; background:#203b4b; color:#ccdee5; font:inherit; font-size:1.1rem; cursor:pointer; }
.warehouse-weapon-actions[b-3mgj81kwyi] { display:grid; grid-template-columns:1fr 1fr; gap:.55rem; }
.warehouse-weapon-equip[b-3mgj81kwyi] { grid-column:1 / -1; }
.warehouse-weapon-actions button[b-3mgj81kwyi],.warehouse-weapon-back[b-3mgj81kwyi],.warehouse-weapon-management-card button[b-3mgj81kwyi],.warehouse-weapon-links button[b-3mgj81kwyi],.warehouse-weapon-error button[b-3mgj81kwyi] { min-height:44px; border:1px solid #486575; border-radius:.55rem; padding:.65rem .75rem; background:#203b4b; color:#ccdee5; font:inherit; font-size:.8rem; cursor:pointer; }
.warehouse-weapon-actions button[b-3mgj81kwyi] { display:flex; align-items:center; justify-content:center; gap:.65rem; }
.warehouse-weapon-actions .warehouse-weapon-primary[b-3mgj81kwyi] { background:#d8b67c; color:#192f3b; border-color:#dfbe86; font-weight:600; }
.warehouse-weapon-actions button > span[b-3mgj81kwyi] { font-size:1.1rem; line-height:1; }
.warehouse-weapon-detail button:disabled[b-3mgj81kwyi] { opacity:.45; cursor:not-allowed; }
.warehouse-weapon-detail button:hover:not(:disabled)[b-3mgj81kwyi] { filter:brightness(1.08); }
.warehouse-weapon-detail :is(button,summary):focus-visible[b-3mgj81kwyi] { outline:2px solid #eccd90; outline-offset:2px; }
.warehouse-weapon-back[b-3mgj81kwyi] { width:100%; }
.warehouse-materials-jump[b-3mgj81kwyi] { display:none; }
@media(max-width:640px) and (max-height:650px) {
    .warehouse-upgrade-navigation:has(.warehouse-materials-jump)[b-3mgj81kwyi] { display:grid; grid-template-columns:1fr 1fr; gap:.5rem; }
    .warehouse-materials-jump[b-3mgj81kwyi] { display:flex; align-items:center; justify-content:center; gap:.3rem; min-height:44px; padding:.65rem .35rem; border:1px solid #dfbe86; border-radius:.55rem; background:#d8b67c; color:#192f3b; font:inherit; font-size:.8rem; font-weight:600; }
    .warehouse-upgrade-navigation:has(.warehouse-materials-jump) .warehouse-weapon-back[b-3mgj81kwyi] { padding-inline:.35rem; }
}
.warehouse-weapon-footer-note[b-3mgj81kwyi],.warehouse-weapon-note[b-3mgj81kwyi] { color:#a5bdc9; font-size:.73rem; line-height:1.65; margin:.6rem 0; }
.warehouse-weapon-footer-note[b-3mgj81kwyi] { margin:0 0 .6rem; }
.warehouse-weapon-context[b-3mgj81kwyi] { border-top:1px solid #425a6866; margin-top:.8rem; padding-top:.35rem; }
.warehouse-weapon-context summary[b-3mgj81kwyi] { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; min-height:44px; cursor:pointer; color:#b8cdd6; list-style:none; font-size:.75rem; }
.warehouse-weapon-context summary[b-3mgj81kwyi]::-webkit-details-marker { display:none; }
.warehouse-weapon-context summary[b-3mgj81kwyi]::after { content:"+"; margin-left:auto; color:#d6bc89; font-size:1rem; }
.warehouse-weapon-context[open] summary[b-3mgj81kwyi]::after { content:"−"; }
.warehouse-weapon-context summary small[b-3mgj81kwyi] { color:#8da8b7; font-size:.68rem; }
.warehouse-weapon-context p[b-3mgj81kwyi] { color:#94afbe; font-size:.72rem; line-height:1.65; margin:.25rem 0 .5rem; }
.warehouse-weapon-links[b-3mgj81kwyi] { display:flex; flex-wrap:wrap; gap:.4rem; margin:.4rem 0; }
.warehouse-weapon-links button[b-3mgj81kwyi] { display:flex; gap:.5rem; align-items:center; justify-content:space-between; font-size:.73rem; text-align:left; }
.warehouse-weapon-links button span[b-3mgj81kwyi] { color:#d9c295; }
.warehouse-weapon-management[b-3mgj81kwyi] { border-top:1px solid #425a6866; margin-top:.8rem; padding-top:.8rem; }
.warehouse-weapon-management h3[b-3mgj81kwyi] { margin:0; color:#e3e5df; font-size:.88rem; }
.warehouse-weapon-management-card[b-3mgj81kwyi] { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem; padding:.85rem; margin:.65rem 0; border:1px solid #465e6a; border-radius:.65rem; background:#102632; }
.warehouse-weapon-management-card > div[b-3mgj81kwyi] { flex:1; min-width:135px; }
.warehouse-weapon-management-card strong[b-3mgj81kwyi] { color:#e2d5bd; font-size:.85rem; }
.warehouse-weapon-management-card p[b-3mgj81kwyi] { color:#a8bac4; font-size:.73rem; line-height:1.65; margin:.3rem 0 0; }
.warehouse-weapon-management-card button[b-3mgj81kwyi] { color:#e4c39f; border-color:#8d705657; background:#68524430; }
.warehouse-weapon-error[b-3mgj81kwyi] { padding:.6rem .7rem; border:1px solid #966558; border-radius:.5rem; margin:.6rem 0; color:#eab5a4; background:#572d272f; font-size:.76rem; line-height:1.6; }
.warehouse-weapon-error button[b-3mgj81kwyi] { display:block; margin-top:.4rem; }
/* /Components/JournalActivityReturn.razor.rz.scp.css */
.activity-return[b-98aamrve22] { margin:0 0 18px; padding:12px 15px; border:1px solid #b8a17255; border-radius:8px; background:#172934; color:#c9d3d7; font-size:13px; line-height:1.7; }
.activity-return strong[b-98aamrve22] { color:#e2c58d; font-size:14px; }
.activity-return p[b-98aamrve22] { margin:4px 0; }
.activity-return[data-activity-state=ready][b-98aamrve22] { border-color:#9fbd8d88; }
.activity-return[data-activity-state=ready] strong[b-98aamrve22] { color:#bad5ad; }
.activity-return-actions[b-98aamrve22] { display:flex; align-items:center; gap:8px 18px; flex-wrap:wrap; }
.activity-return a[b-98aamrve22],.activity-return button[b-98aamrve22] { display:inline-flex; align-items:center; gap:10px; min-height:44px; color:#e3c995; }
.activity-return button[b-98aamrve22] { background:none; border:0; padding:0; font-size:13px; }
.activity-return a:focus-visible[b-98aamrve22],.activity-return button:focus-visible[b-98aamrve22] { outline:2px solid #e3c995; outline-offset:3px; }
/* /Components/JournalBlock.razor.rz.scp.css */
.journal-block[b-njje1wk1o7] { padding: 16px 0 14px; border-bottom: 1px solid #cdb58b2b; scroll-margin-top: 95px; }
.journal-block--reply[b-njje1wk1o7] { padding: 12px 0; }
.journal-block:last-child[b-njje1wk1o7] { border-bottom: 0; }
.journal-block--illustrated[b-njje1wk1o7] { padding-top: 0; }
.journal-block--illustrated header[b-njje1wk1o7] { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 112px; margin: 0 calc(-1 * var(--journal-inset,30px)) 12px; padding: 14px var(--journal-inset,30px) 12px; overflow: hidden; border-radius: 3px 8px 0 0; border-bottom: 1px solid #bda27140; background: #17242b; }
.journal-block--illustrated header[b-njje1wk1o7]::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg,#15222bef 0%,#15222bc4 35%,#15222b28 85%),linear-gradient(0deg,#15222bdd,transparent 72%); }
.journal-chapter-art[b-njje1wk1o7] { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 64%; }
.journal-block--illustrated header h2[b-njje1wk1o7] { margin-bottom: 0; text-shadow: 0 2px 10px #08121a; }
.journal-block--illustrated header small[b-njje1wk1o7] { color: #e0c18b; text-shadow: 0 1px 6px #08121a; }
header small[b-njje1wk1o7] { display: flex; align-items: center; gap: 7px; color: #bba57f; font-size: 12px; line-height: 1.8; }
header small[b-njje1wk1o7]  svg { width: 17px; height: 17px; flex: none; }
header h2[b-njje1wk1o7] { font: 700 18px/1.5 var(--journal-title-font,"SimSun",serif); margin: 4px 0 10px; color: #eee5d4; overflow-wrap: anywhere; }
.journal-narration[b-njje1wk1o7] { color: #b5c1c5; font-size: 14px; line-height: 1.65; margin: 0 0 10px; }
.journal-note[b-njje1wk1o7] { position: relative; padding: 14px 18px; border: 1px solid #b79b6740; border-left: 2px solid #b49b68; background: repeating-linear-gradient(0deg,#decba009 0 1px,transparent 1px 4px),linear-gradient(115deg,#454332,#30342e); margin: 16px 0 20px; border-radius: 2px 8px 8px 2px; box-shadow: 3px 3px #aa936e18,0 5px 12px #0001; }
.journal-note[b-njje1wk1o7]::before { content: ""; position: absolute; width: 34px; height: 10px; top: -5px; right: 19px; background: #bdab7252; border-inline: 1px dashed #d2be8940; transform: rotate(4deg); pointer-events: none; }
.journal-note small[b-njje1wk1o7] { color: #c2aa7e; display: flex; gap: 8px; align-items: center; font-size: 12px; letter-spacing: .07em; }
.journal-note small[b-njje1wk1o7]  svg { width: 16px; height: 16px; }
.journal-note p[b-njje1wk1o7] { font-size: 14px; line-height: 1.65; color: #dfd0b4; margin: 6px 0; }
.journal-note .journal-note-hand[b-njje1wk1o7] { font: 13px/1.65 "KaiTi","STKaiti",var(--journal-title-font,serif); color: #c5b58f; margin-bottom: 0; padding-top: 6px; border-top: 1px dashed #b49b6845; }
.journal-note--personal[b-njje1wk1o7] { margin-top: 20px; margin-bottom: 4px; }
.journal-line[b-njje1wk1o7] { display: grid; grid-template-columns: 30px minmax(0,1fr); column-gap: 8px; align-items: start; margin: 10px 0; }
.journal-line:last-child[b-njje1wk1o7] { margin-bottom: 0; }
.journal-avatar[b-njje1wk1o7] { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: #344245; color: #ded7be; border: 1px solid #b49b6880; padding: 1px; overflow: hidden; box-shadow: 0 0 0 3px #b49b6808; }
.journal-avatar img[b-njje1wk1o7] { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.journal-avatar>span[b-njje1wk1o7] { font-size: 15px; }
.journal-bubble[b-njje1wk1o7] { min-width: 0; }
.journal-speaker[b-njje1wk1o7] { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; min-height: 20px; }
.journal-speaker strong[b-njje1wk1o7] { color: #dbc399; font-size: 13px; font-weight: 600; }
.journal-speaker small[b-njje1wk1o7] { color: #9aabb2; font-size: 12px; }
.journal-bubble p[b-njje1wk1o7] { color: #e0e5e4; font-size: 14px; line-height: 1.65; margin: 2px 0 0; overflow-wrap: anywhere; }
.journal-line--player .journal-avatar[b-njje1wk1o7] { background: #303b30; border-color: #a9b08b70; }
.journal-line--player .journal-speaker strong[b-njje1wk1o7] { color: #c4c6a6; }
.journal-line--player .journal-bubble p[b-njje1wk1o7] { color: #d1d5cf; }
@media (max-width:600px) {
    .journal-block[b-njje1wk1o7] { padding: 12px 0; }
    .journal-block--reply[b-njje1wk1o7] { padding: 10px 0; }
    .journal-block--illustrated[b-njje1wk1o7] { padding-top: 0; }
    .journal-block--illustrated header[b-njje1wk1o7] { min-height: 84px; padding: 10px var(--journal-inset,16px); margin-bottom: 10px; }
    .journal-block--illustrated header[b-njje1wk1o7]::after { background: linear-gradient(90deg,#15222bef 0%,#15222bab 55%,#15222b45),linear-gradient(0deg,#15222bcc,transparent); }
    header h2[b-njje1wk1o7] { font-size: 18px; margin: 4px 0 10px; }
    header small[b-njje1wk1o7] { font-size: 12px; gap: 6px; }
    .journal-narration[b-njje1wk1o7] { font-size: 14px; line-height: 1.65; margin-bottom: 10px; }
    .journal-line[b-njje1wk1o7] { grid-template-columns: 24px minmax(0,1fr); column-gap: 8px; row-gap: 2px; align-items: center; margin: 10px 0; }
    .journal-avatar[b-njje1wk1o7] { width: 24px; height: 24px; padding: 1px; }
    .journal-avatar>span[b-njje1wk1o7] { font-size: 13px; }
    .journal-bubble[b-njje1wk1o7] { display: contents; }
    .journal-speaker[b-njje1wk1o7] { grid-column: 2; align-items: center; gap: 8px; }
    .journal-bubble p[b-njje1wk1o7] { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.65; }
    .journal-note[b-njje1wk1o7] { padding: 12px; margin-block: 12px; }
    .journal-note p[b-njje1wk1o7] { font-size: 14px; line-height: 1.65; }
    .journal-note--personal[b-njje1wk1o7] { margin-bottom: 2px; }
}
@media (max-width:360px) {
    header h2[b-njje1wk1o7] { font-size: 18px; }
    .journal-note[b-njje1wk1o7] { padding: 12px; }
}
/* /Components/JournalEquipmentCheck.razor.rz.scp.css */
.equipment-check[b-qkuln65pbw] { display:grid; gap:8px; min-width:0; margin:8px 0 12px; padding:12px 0; border-block:1px solid var(--journal-line,#cdb58b2b); }
.equipment-check p[b-qkuln65pbw] { margin:0; overflow-wrap:anywhere; }
.equipment-heading[b-qkuln65pbw] { display:flex; align-items:center; gap:7px; color:var(--journal-gold,#d9b77b); font:600 15px/1.7 var(--journal-title-font,serif); }
.equipment-heading[b-qkuln65pbw]  svg { width:17px; height:17px; }
.equipment-actor[b-qkuln65pbw],.equipment-hint[b-qkuln65pbw] { color:var(--journal-muted,#aab6bd); font-size:12px; line-height:1.8; }
.equipment-weapon[b-qkuln65pbw] { display:flex; align-items:center; gap:11px; min-width:0; padding:8px 0 4px; }
.equipment-weapon img[b-qkuln65pbw] { flex:none; object-fit:contain; filter:drop-shadow(0 2px 3px #0004); }
.equipment-weapon>div[b-qkuln65pbw] { display:grid; gap:3px; min-width:0; }
.equipment-weapon small[b-qkuln65pbw],.equipment-check label[b-qkuln65pbw] { color:#c4b28f; font-size:12px; line-height:1.7; }
.equipment-weapon strong[b-qkuln65pbw] { color:#e7d6b4; font-size:14px; line-height:1.8; overflow-wrap:anywhere; }
.equipment-weapon strong span[b-qkuln65pbw] { display:inline-block; color:#bfc8c9; font-size:12px; font-weight:400; }
.equipment-check label[b-qkuln65pbw] { margin-bottom:-6px; }
.equipment-check select[b-qkuln65pbw] { box-sizing:border-box; width:100%; min-width:0; max-width:100%; min-height:48px; padding:10px; border:1px solid #b49b6860; border-radius:5px; background:#15232b; color:#eee5d4; font:inherit; font-size:16px; }
.equipment-selected[b-qkuln65pbw] { display:block; overflow-wrap:anywhere; color:#c3c9c8; font-size:13px; line-height:1.8; }
.equipment-selected strong[b-qkuln65pbw] { color:#eee5d4; font-weight:600; }
.equipment-selected small[b-qkuln65pbw] { display:inline-block; margin-left:6px; color:#a4b2b9; font-size:11px; }
.equipment-result[b-qkuln65pbw] { padding:8px 12px; border-left:2px solid #b99963; background:linear-gradient(100deg,#c4a36d12,transparent); }
.equipment-result>strong[b-qkuln65pbw] { color:#d9c39a; font-size:14px; line-height:1.8; }
.equipment-result>p[b-qkuln65pbw] { margin-top:4px; color:#bdc7c9; font-size:13px; line-height:1.85; }
.equipment-result[data-equipment-ready=true][b-qkuln65pbw] { border-left-color:#9ebc8f; }
.equipment-result[data-equipment-ready=true]>strong[b-qkuln65pbw] { color:#bad3b4; }
.equipment-steps[b-qkuln65pbw] { display:grid; gap:4px; margin:0; padding-left:22px; color:#c7cfce; font-size:13px; line-height:1.85; }
.equipment-steps li[b-qkuln65pbw]::marker { color:#c4ac81; font-variant-numeric:tabular-nums; }
.equipment-edit[b-qkuln65pbw] { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:50px; padding:12px 13px; border:1px solid #9eacb047; border-radius:8px; background:#26353e80; color:#e7e6dd; text-decoration:none; font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.equipment-edit[b-qkuln65pbw]  svg { width:18px; height:18px; flex:none; color:#c5af85; }
select:focus-visible[b-qkuln65pbw],a:focus-visible[b-qkuln65pbw] { outline:2px solid var(--journal-gold,#d9b77b); outline-offset:3px; }
@media (max-width:360px) { .equipment-result[b-qkuln65pbw] { padding:10px 12px; } }
.equipment-guidance[b-qkuln65pbw] { border-top:1px dashed var(--journal-line,#cdb58b2b); }
.equipment-guidance summary[b-qkuln65pbw] { min-height:44px; padding:10px 0; color:#cbb68f; font-size:12px; line-height:1.85; cursor:pointer; }
.equipment-guidance .equipment-hint[b-qkuln65pbw] { margin:8px 0 12px; }
.equipment-guidance .equipment-edit[b-qkuln65pbw] { margin-bottom:4px; }
.equipment-guidance summary:focus-visible[b-qkuln65pbw] { outline:2px solid var(--journal-gold,#d9b77b); outline-offset:3px; }

.equipment-heading[b-qkuln65pbw] { flex-wrap:wrap; font-size:14px; }
.equipment-heading small[b-qkuln65pbw] { margin-left:auto; color:var(--journal-muted,#aab6bd); font:400 11px/1.8 sans-serif; }
/* /Components/JournalInlineDetails.razor.rz.scp.css */
.journal-inline-details[b-1znct0uf89] { display:flex; align-items:center; gap:10px; width:100%; min-width:0; }
.journal-inline-details[data-overflow=true][b-1znct0uf89] { min-height:32px; }
.inline-label[b-1znct0uf89] { display:flex; align-items:center; gap:6px; flex:none; color:var(--journal-muted,#aab6bd); font-size:11px; white-space:nowrap; }
.inline-label[b-1znct0uf89]  svg { width:15px; height:15px; color:var(--journal-gold,#d9b77b); }
.inline-preview[b-1znct0uf89] { flex:1; min-width:0; overflow:hidden; }
.inline-content[b-1znct0uf89] { display:flex; align-items:center; width:max-content; white-space:nowrap; }
.journal-inline-details[data-overflow=true] .inline-preview[b-1znct0uf89] { mask-image:linear-gradient(to right,#000 calc(100% - 16px),transparent); }
.inline-expand[b-1znct0uf89] { display:none; align-items:center; justify-content:center; gap:3px; flex:none; min-width:44px; min-height:32px; margin:0; padding:4px 0; border:0; background:none; color:var(--journal-gold,#d9b77b); font-size:11px; white-space:nowrap; }
.journal-inline-details[data-overflow=true] .inline-expand[b-1znct0uf89] { display:flex; }
.inline-expand[b-1znct0uf89]  svg { width:12px; height:12px; }
.inline-popover[b-1znct0uf89] { position:fixed; inset:auto; box-sizing:border-box; width:min(320px,calc(100vw - 24px)); margin:0; padding:0 12px 12px; border:1px solid #9a8159; border-radius:7px; background:var(--camp-panel,#213039); color:var(--camp-text,#e7e6dd); box-shadow:0 10px 32px #0007; overflow-y:auto; overscroll-behavior:contain; font-size:13px; line-height:1.65; }
.inline-popover[b-1znct0uf89]::backdrop { background:transparent; }
.inline-popover header[b-1znct0uf89] { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; border-bottom:1px solid var(--journal-line,#cdb58b2b); }
.inline-popover header strong[b-1znct0uf89] { color:var(--journal-gold,#d9b77b); font-size:13px; font-weight:600; }
.inline-popover header button[b-1znct0uf89] { display:flex; align-items:center; justify-content:center; flex:none; min-width:44px; min-height:44px; margin-right:-8px; padding:0; border:0; border-radius:4px; background:none; color:var(--journal-muted,#aab6bd); font-size:22px; }
.inline-popover[b-1znct0uf89]  .journal-rewards,.inline-popover[b-1znct0uf89]  .journal-objectives { display:grid; gap:8px; }
.inline-popover[b-1znct0uf89]  .journal-rewards strong { font-size:13px; }
.inline-popover[b-1znct0uf89]  .journal-reward-name,.inline-popover[b-1znct0uf89]  .journal-goal-text,.inline-popover[b-1znct0uf89]  .journal-objectives li { white-space:normal; font-size:13px; }
.inline-popover[b-1znct0uf89]  .journal-objectives li { justify-content:space-between; }
.inline-popover[b-1znct0uf89]  .journal-goal-text { overflow:visible; }
button:focus-visible[b-1znct0uf89] { outline:2px solid var(--journal-gold,#d9b77b); outline-offset:-2px; }
@media(pointer:coarse) { .journal-inline-details[data-overflow=true][b-1znct0uf89],.inline-expand[b-1znct0uf89] { min-height:44px; } }
/* /Components/JournalKilnGuidance.razor.rz.scp.css */
.kiln-guidance[b-p4wcu2sguq] { margin:12px 0; min-width:0; border:1px solid #b79b6740; border-left:2px solid #b49b68; border-radius:2px 8px 8px 2px; background:linear-gradient(115deg,#b69a6010,transparent 75%),#14212980; box-shadow:inset 0 1px #dfc69b08; color:#c5d0d0; font-size:13px; line-height:1.8; }
.kiln-guidance summary[b-p4wcu2sguq] { display:flex; align-items:center; gap:9px; min-height:44px; box-sizing:border-box; list-style:none; cursor:pointer; overflow-wrap:anywhere; }
.kiln-guidance summary[b-p4wcu2sguq]::-webkit-details-marker { display:none; }
.kiln-guidance summary[b-p4wcu2sguq]::marker { content:""; }
.kiln-guidance summary>span:not(.kiln-chevron)[b-p4wcu2sguq] { min-width:0; }
.kiln-guidance-heading[b-p4wcu2sguq] { padding:14px 16px; color:var(--journal-gold,#d9b77b); font:600 16px/1.7 var(--journal-title-font,"SimSun",serif); }
.kiln-guidance-heading small[b-p4wcu2sguq] { display:block; color:#aab6bd; font:400 12px/1.7 sans-serif; }
.kiln-guidance-heading[b-p4wcu2sguq]  svg { flex:none; width:19px; height:19px; }
.kiln-chevron[b-p4wcu2sguq] { display:flex; flex:none; margin-left:auto; color:#bba57f; }
.kiln-chevron[b-p4wcu2sguq]  svg { width:15px; height:15px; }
.kiln-guidance details[open]>summary>.kiln-chevron[b-p4wcu2sguq]  svg { transform:rotate(90deg); }
.kiln-guidance-body[b-p4wcu2sguq] { padding:0 16px 10px; overflow-wrap:anywhere; }
.kiln-guidance-body p[b-p4wcu2sguq] { margin:8px 0 12px; }
.kiln-guidance-body .kiln-guidance-intro[b-p4wcu2sguq] { margin:0 0 12px; color:#c3cccb; }
.kiln-guidance-topic[b-p4wcu2sguq] { border-top:1px solid #cdb58b2b; }
.kiln-guidance-topic>summary[b-p4wcu2sguq] { padding:11px 0; color:#dbc399; font-size:13px; line-height:1.8; font-weight:500; }
.kiln-guidance-topic>summary[b-p4wcu2sguq]>  svg { flex:none; width:17px; height:17px; color:#bba57f; }
.kiln-guidance-topic[open]>summary[b-p4wcu2sguq] { color:#eee5d4; }
.kiln-guidance-topic p[b-p4wcu2sguq] { padding-left:26px; }
.kiln-guidance-topic strong[b-p4wcu2sguq] { color:#ded7c5; font-weight:600; }
.kiln-guidance a[b-p4wcu2sguq] { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:44px; padding:8px 0; box-sizing:border-box; color:#d9b77b; text-decoration:none; overflow-wrap:anywhere; }
.kiln-guidance a[b-p4wcu2sguq]  svg { flex:none; width:16px; height:16px; }
.kiln-guidance-return[b-p4wcu2sguq] { border-top:1px dashed #cdb58b2b; margin-top:4px; font-size:12px; }
.kiln-guidance-exchange[b-p4wcu2sguq] { margin-left:26px; font-size:12px; }
.kiln-guidance summary:focus-visible[b-p4wcu2sguq],.kiln-guidance a:focus-visible[b-p4wcu2sguq] { outline:2px solid var(--journal-gold,#d9b77b); outline-offset:3px; }
@media (hover:hover) { .kiln-guidance-topic>summary:hover[b-p4wcu2sguq],.kiln-guidance a:hover[b-p4wcu2sguq] { color:#f2d6a5; } }
@media (max-width:600px) { .kiln-guidance-heading[b-p4wcu2sguq] { padding:12px; font-size:15px; } .kiln-guidance-body[b-p4wcu2sguq] { padding:0 12px 8px; } .kiln-guidance-topic p[b-p4wcu2sguq] { padding-left:0; } .kiln-guidance-exchange[b-p4wcu2sguq] { margin-left:0; } }
/* /Components/JournalKindBadge.razor.rz.scp.css */
.journal-kind-badge[b-qdch97um4z] { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 26px; padding: 2px 9px; border: 1px solid #739d8d80; border-radius: 20px; background: #28463d80; color: #bfdbce; font-size: 12px; line-height: 1.6; white-space: nowrap; }
.journal-kind-badge strong[b-qdch97um4z] { font-weight: 600; letter-spacing: .04em; }
.journal-kind-badge[b-qdch97um4z]  svg { width: 15px; height: 15px; flex: none; }
.journal-kind-badge[data-kind=Main][b-qdch97um4z] { padding-right: 13px; border-color: #dfbf83; border-radius: 2px; background: linear-gradient(110deg,#e0c18a,#c7a56c); color: #22272b; clip-path: polygon(0 0,100% 0,calc(100% - 6px) 50%,100% 100%,0 100%); }
.journal-kind-badge[data-kind=Main] strong[b-qdch97um4z] { font-weight: 700; }
.journal-kind-badge--compact[b-qdch97um4z],.journal-kind-badge--compact[data-kind=Main][b-qdch97um4z] { min-height:22px; padding:1px 6px; gap:0; border:1px solid #b89a5f66; border-radius:3px; background:#d9b77b0c; color:#d9b77b; clip-path:none; font-size:11px; }
.journal-kind-badge--compact[b-qdch97um4z]  svg { display:none; }
/* /Components/JournalMedicGuidance.razor.rz.scp.css */
.medic-card[b-a6boh5seyo] { box-sizing:border-box; width:100%; min-width:0; margin:16px 0; padding:18px; border:1px solid #b79b6740; border-left:2px solid #b49b68; border-radius:2px 8px 8px 2px; background:linear-gradient(115deg,#b69a6010,transparent 75%),#14212980; box-shadow:inset 0 1px #dfc69b08; color:#d4dddc; font-size:14px; line-height:1.8; overflow-wrap:anywhere; }
.medic-card p[b-a6boh5seyo],.medic-card h2[b-a6boh5seyo] { margin:0; }
.medic-heading[b-a6boh5seyo] { display:flex; align-items:center; gap:8px; padding-bottom:12px; border-bottom:1px solid var(--journal-line,#cdb58b2b); color:var(--journal-gold,#d9b77b); }
.medic-heading h2[b-a6boh5seyo] { font:600 17px/1.7 var(--journal-title-font,serif); }
.medic-heading[b-a6boh5seyo]  svg { flex:none; width:18px; height:18px; }
.medic-progress[b-a6boh5seyo] { display:flex; align-items:center; gap:12px; margin:14px 0 8px; }
.medic-portrait[b-a6boh5seyo],.medic-art[b-a6boh5seyo] { display:flex; align-items:center; justify-content:center; flex:none; width:42px; height:42px; overflow:hidden; border:1px solid #b79c6459; border-radius:5px; background:radial-gradient(ellipse at 50% 75%,#bca16324,transparent 75%),#101d24; box-shadow:inset 0 1px #e4c99b12; }
.medic-portrait[b-a6boh5seyo] { width:48px; height:48px; }
.medic-portrait img[b-a6boh5seyo],.medic-art img[b-a6boh5seyo] { display:block; width:100%; height:100%; object-fit:contain; }
.medic-art[b-a6boh5seyo]  svg { width:24px; height:24px; color:#c6a571; }
.medic-progress p[b-a6boh5seyo] { display:grid; gap:2px; min-width:0; font-size:12px; color:var(--journal-muted,#aab6bd); font-variant-numeric:tabular-nums; }
.medic-progress strong[b-a6boh5seyo] { font-size:16px; font-weight:600; color:#e7d6b4; }
.medic-card .medic-hint[b-a6boh5seyo] { color:var(--journal-muted,#aab6bd); font-size:12px; line-height:1.85; }
.medic-read-failed[b-a6boh5seyo] { padding-top:12px; }
.medic-skills[b-a6boh5seyo] { margin:16px 0 0; }
.medic-skill[b-a6boh5seyo] { padding:14px 0; border-top:1px dashed var(--journal-line,#cdb58b2b); }
.medic-skill:last-child[b-a6boh5seyo] { padding-bottom:0; }
.medic-skill dt[b-a6boh5seyo] { display:flex; align-items:center; gap:11px; color:#e7d6b4; font-size:15px; font-weight:600; }
.medic-skill dt>span:not(.medic-art):not(.medic-skill-state)[b-a6boh5seyo] { min-width:0; }
.medic-skill small[b-a6boh5seyo] { display:block; color:#bba57f; font-size:11px; font-weight:400; line-height:1.7; }
.medic-skill dd[b-a6boh5seyo] { margin:8px 0 0 55px; font-size:13px; }
.medic-skill-state[b-a6boh5seyo] { display:flex; flex:none; margin-left:auto; color:#bba57f; }
.medic-skill-state[b-a6boh5seyo]  svg { width:16px; height:16px; }
.medic-skill--locked .medic-art[b-a6boh5seyo] { filter:saturate(.3); opacity:.65; }
.medic-skill--locked dd[b-a6boh5seyo] { color:var(--journal-muted,#aab6bd); }
.medic-rules summary[b-a6boh5seyo] { display:flex; justify-content:space-between; align-items:center; gap:10px; min-height:44px; color:#cbb68f; font-size:12px; cursor:pointer; list-style:none; }
.medic-rules summary[b-a6boh5seyo]  svg,.medic-chevron[b-a6boh5seyo]  svg { flex:none; width:15px; height:15px; }
.medic-rules[open] summary[b-a6boh5seyo]  svg,.medic-party[open] .medic-chevron[b-a6boh5seyo]  svg { transform:rotate(90deg); }
.medic-rules p[b-a6boh5seyo] { padding-bottom:4px; color:#bcc8ca; }
.medic-card summary[b-a6boh5seyo]::-webkit-details-marker { display:none; }
.medic-card summary[b-a6boh5seyo]::marker { content:""; }
.medic-party[b-a6boh5seyo] { padding:0; }
.medic-party-heading[b-a6boh5seyo] { display:flex; align-items:center; gap:9px; min-height:44px; padding:16px 18px; list-style:none; cursor:pointer; color:var(--journal-gold,#d9b77b); font:600 16px/1.7 var(--journal-title-font,serif); }
.medic-party-heading>span:not(.medic-chevron)[b-a6boh5seyo] { min-width:0; }
.medic-party-heading[b-a6boh5seyo]>  svg { flex:none; width:19px; height:19px; }
.medic-party-heading small[b-a6boh5seyo] { display:block; color:var(--journal-muted,#aab6bd); font:400 12px/1.7 sans-serif; }
.medic-chevron[b-a6boh5seyo] { display:flex; flex:none; margin-left:auto; color:#bba57f; }
.medic-party-body[b-a6boh5seyo] { padding:0 18px 16px; }
.medic-party-example[b-a6boh5seyo] { display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin:14px 0 6px; padding:10px 12px; border:1px solid #b79b6733; border-radius:5px; background:#101d2552; color:#dbc399; font-size:12px; }
.medic-party-example strong[b-a6boh5seyo] { font-weight:500; }
.medic-party-example[b-a6boh5seyo]  svg { flex:none; width:16px; height:16px; }
.medic-steps[b-a6boh5seyo] { counter-reset:medic-step; list-style:none; padding:0; margin:16px 0; }
.medic-steps li[b-a6boh5seyo] { position:relative; counter-increment:medic-step; padding:0 0 16px 34px; }
.medic-steps li:last-child[b-a6boh5seyo] { padding-bottom:0; }
.medic-steps li[b-a6boh5seyo]::before { content:counter(medic-step,decimal-leading-zero); position:absolute; left:0; top:1px; color:#bba57f; font:12px/1.8 var(--journal-title-font,serif); }
.medic-steps li+li[b-a6boh5seyo] { padding-top:14px; border-top:1px dashed var(--journal-line,#cdb58b2b); }
.medic-steps li+li[b-a6boh5seyo]::before { top:15px; }
.medic-steps strong[b-a6boh5seyo] { display:block; margin-bottom:4px; color:#e0cfad; font-size:14px; font-weight:500; }
.medic-steps p[b-a6boh5seyo] { font-size:13px; color:#c2cdcf; }
.medic-growth[b-a6boh5seyo] { padding-top:12px; border-top:1px solid var(--journal-line,#cdb58b2b); }
.medic-actions[b-a6boh5seyo] { display:grid; gap:8px; margin-top:16px; }
.medic-actions a[b-a6boh5seyo] { display:flex; align-items:center; justify-content:space-between; gap:10px; box-sizing:border-box; min-width:0; min-height:44px; padding:10px 13px; border-radius:5px; text-decoration:none; line-height:1.7; }
.medic-primary[b-a6boh5seyo] { border:1px solid #d6b57c; color:#192128; background:linear-gradient(110deg,#d5b47a,#bc985e); font-size:14px; font-weight:600; }
.medic-secondary[b-a6boh5seyo] { color:var(--journal-gold,#d9b77b); font-size:12px; }
.medic-actions a[b-a6boh5seyo]  svg { flex:none; width:17px; height:17px; }
.medic-card summary:focus-visible[b-a6boh5seyo],.medic-actions a:focus-visible[b-a6boh5seyo] { outline:2px solid var(--journal-gold,#d9b77b); outline-offset:3px; }
@media (hover:hover) { .medic-primary:hover[b-a6boh5seyo] { filter:brightness(1.07); } .medic-secondary:hover[b-a6boh5seyo],.medic-rules summary:hover[b-a6boh5seyo] { color:#f2d6a5; } }
@media (max-width:600px) { .medic-card[b-a6boh5seyo] { padding:14px; } .medic-heading h2[b-a6boh5seyo] { font-size:16px; } .medic-skill dd[b-a6boh5seyo] { margin-left:0; } .medic-party[b-a6boh5seyo] { padding:0; } .medic-party-heading[b-a6boh5seyo] { padding:14px; font-size:15px; } .medic-party-body[b-a6boh5seyo] { padding:0 14px 14px; } .medic-steps li[b-a6boh5seyo] { padding-left:28px; } }
@media (max-width:360px) { .medic-card[b-a6boh5seyo] { padding:12px; } .medic-party[b-a6boh5seyo] { padding:0; } .medic-party-heading[b-a6boh5seyo] { padding:12px; } .medic-party-body[b-a6boh5seyo] { padding:0 12px 12px; } .medic-party-example[b-a6boh5seyo] { gap:5px; padding:9px 8px; font-size:11px; } }
/* /Components/JournalPreparationCard.razor.rz.scp.css */
.journal-preparation[b-cv9t2ytk9j] { display:grid; gap:16px; min-width:0; width:100%; padding:18px; border:1px solid #b79b6740; border-left:2px solid #b49b68; border-radius:2px 8px 8px 2px; background:linear-gradient(115deg,#b69a6010,transparent 75%),#14212980; box-shadow:inset 0 1px #dfc69b08; box-sizing:border-box; color:#d4dddc; }
.journal-preparation h3[b-cv9t2ytk9j],.journal-preparation h4[b-cv9t2ytk9j],.journal-preparation p[b-cv9t2ytk9j] { margin:0; }
.preparation-heading[b-cv9t2ytk9j] { display:flex; align-items:center; gap:8px; padding-bottom:12px; border-bottom:1px solid var(--journal-line,#cdb58b2b); color:var(--journal-gold,#d9b77b); }
.preparation-heading h3[b-cv9t2ytk9j] { font:600 17px/1.7 var(--journal-title-font,serif); }
.preparation-heading[b-cv9t2ytk9j]  svg { flex:none; width:18px; height:18px; }
.preparation-item[b-cv9t2ytk9j] { display:grid; gap:7px; min-width:0; }
.preparation-item + .preparation-item[b-cv9t2ytk9j] { padding-top:16px; border-top:1px dashed var(--journal-line,#cdb58b2b); }
.preparation-item-heading[b-cv9t2ytk9j] { display:flex; align-items:center; gap:11px; min-width:0; margin-bottom:2px; }
.preparation-item-heading>div[b-cv9t2ytk9j] { display:grid; gap:1px; min-width:0; }
.preparation-item-heading small[b-cv9t2ytk9j] { color:#bba57f; font-size:11px; line-height:1.7; }
.preparation-item-heading h4[b-cv9t2ytk9j] { color:#e7d6b4; font-size:15px; line-height:1.6; overflow-wrap:anywhere; }
.preparation-art[b-cv9t2ytk9j] { display:flex; align-items:center; justify-content:center; flex:none; width:42px; height:42px; overflow:hidden; border:1px solid #b79c6459; border-radius:5px; background:radial-gradient(ellipse at 50% 75%,#bca16324,transparent 75%),#101d24; box-shadow:inset 0 1px #e4c99b12; }
.preparation-art img[b-cv9t2ytk9j] { display:block; width:100%; height:100%; object-fit:contain; }
.preparation-art--weapon img[b-cv9t2ytk9j] { width:36px; height:36px; }
.preparation-art[b-cv9t2ytk9j]  svg { width:24px; height:24px; color:#c6a571; }
.preparation-art.is-unavailable[b-cv9t2ytk9j] { filter:saturate(.35); opacity:.65; }
.preparation-item>p[b-cv9t2ytk9j],.preparation-read-failed[b-cv9t2ytk9j] { font-size:14px; line-height:1.65; overflow-wrap:anywhere; }
.journal-preparation .preparation-hint[b-cv9t2ytk9j] { color:var(--journal-muted,#aab6bd); font-size:12px; line-height:1.85; overflow-wrap:anywhere; }
.preparation-details[b-cv9t2ytk9j] { min-width:0; margin-top:2px; border-block:1px solid #b79b6726; }
.preparation-details summary[b-cv9t2ytk9j] { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:44px; padding:6px 0; box-sizing:border-box; list-style:none; color:#cbb68f; font-size:12px; line-height:1.8; cursor:pointer; }
.preparation-details summary[b-cv9t2ytk9j]::-webkit-details-marker { display:none; }
.preparation-details summary[b-cv9t2ytk9j]::marker { content:""; }
.preparation-details summary[b-cv9t2ytk9j]  svg { flex:none; width:15px; height:15px; }
.preparation-details[open] summary[b-cv9t2ytk9j]  svg { transform:rotate(90deg); }
.preparation-details p[b-cv9t2ytk9j] { padding:0 0 8px; color:#bcc8ca; font-size:13px; line-height:1.8; overflow-wrap:anywhere; }
.preparation-footer[b-cv9t2ytk9j] { display:grid; gap:10px; min-width:0; padding-top:14px; border-top:1px solid var(--journal-line,#cdb58b2b); }
.preparation-context[b-cv9t2ytk9j] { display:flex; align-items:flex-start; gap:7px; color:var(--journal-muted,#aab6bd); font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
.preparation-context[b-cv9t2ytk9j]  svg { flex:none; width:16px; height:16px; margin-top:3px; color:#bba57f; }
.preparation-context strong[b-cv9t2ytk9j] { color:#ded7c5; font-weight:500; }
.journal-action[b-cv9t2ytk9j],.journal-secondary[b-cv9t2ytk9j] { box-sizing:border-box; width:100%; min-width:0; min-height:48px; border:1px solid #d6b57c; border-radius:7px; padding:11px 14px; font-family:inherit; font-size:14px; font-weight:600; line-height:1.7; overflow-wrap:anywhere; }
.journal-action[b-cv9t2ytk9j] { display:flex; align-items:center; justify-content:space-between; gap:10px; color:#192128; background:linear-gradient(110deg,#d5b47a,#bc985e); text-decoration:none; font-weight:700; }
.journal-action[b-cv9t2ytk9j]  svg { flex:none; width:18px; height:18px; }
.journal-secondary[b-cv9t2ytk9j] { border-color:#c5a46b48; background:#101d2552; color:#d9b77b; cursor:pointer; }
.journal-secondary:disabled[b-cv9t2ytk9j] { opacity:.55; cursor:wait; }
.journal-action:focus-visible[b-cv9t2ytk9j],.journal-secondary:focus-visible[b-cv9t2ytk9j],.preparation-details summary:focus-visible[b-cv9t2ytk9j] { outline:2px solid var(--journal-gold,#d9b77b); outline-offset:3px; }
@media (hover:hover) { .journal-action:hover[b-cv9t2ytk9j] { filter:brightness(1.07); } .journal-secondary:hover:not(:disabled)[b-cv9t2ytk9j] { border-color:#c4a16b88; background:#d9b77b10; } }
@media (max-width:600px) { .journal-preparation[b-cv9t2ytk9j] { padding:14px; gap:12px; } .preparation-heading h3[b-cv9t2ytk9j] { font-size:16px; } .preparation-item>p[b-cv9t2ytk9j] { line-height:1.65; } .preparation-item + .preparation-item[b-cv9t2ytk9j] { padding-top:12px; } }
@media (max-width:360px) { .journal-preparation[b-cv9t2ytk9j] { padding:12px; } }
/* /Components/JournalRewardIcon.razor.rz.scp.css */
.journal-reward-art[b-wp52qonvy7] { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 3px; border: 1px solid #b79c6447; border-radius: 5px; background: radial-gradient(ellipse at 50% 75%,#bca16324,transparent 75%),#101d24; box-shadow: inset 0 1px #e4c99b12; }
.journal-reward-art img[b-wp52qonvy7] { display: block; width: 100%; height: 100%; object-fit: contain; }
.journal-reward-art[b-wp52qonvy7]  svg { width: 21px; height: 21px; color: #c6a571; }
@media(max-width:600px) { .journal-reward-art[b-wp52qonvy7] { flex-basis: 34px; width: 34px; height: 34px; padding: 2px; } }
/* /Components/LifeActivityPanel.razor.rz.scp.css */
.life-panel[b-wms7qlik9i] { --life-accent:var(--camp-gold); min-width:0; margin:0 0 16px; color:var(--camp-text); }
.life-heading[b-wms7qlik9i],.life-current[b-wms7qlik9i],.life-summary[b-wms7qlik9i] { display:flex; align-items:center; justify-content:space-between; gap:.35rem .7rem; flex-wrap:wrap; }
.life-heading h2[b-wms7qlik9i] { display:flex; align-items:center; gap:.35rem; margin:0; font-size:.9rem; font-weight:650; }
.life-heading h2 span[b-wms7qlik9i] { color:var(--life-accent); font-size:.78rem; }
.life-heading a[b-wms7qlik9i] { display:inline-flex; align-items:center; min-height:36px; color:var(--life-accent); font-size:.75rem; text-decoration:none; }
.life-profession-picker select[b-wms7qlik9i] { min-height:44px; max-width:7rem; padding:.4rem .55rem; border-color:var(--camp-line); background:#152838; font-size:inherit; }
.life-summary[b-wms7qlik9i] { justify-content:flex-start; color:var(--camp-muted); font-size:.72rem; line-height:1.6; overflow-wrap:anywhere; }
.life-inventory[b-wms7qlik9i] { min-width:0; }
.life-inventory summary[b-wms7qlik9i] { min-height:36px; padding:.45rem 0; cursor:pointer; }
.life-inventory summary > span[b-wms7qlik9i] { margin-left:.3rem; color:var(--life-accent); }
.life-inventory dl[b-wms7qlik9i] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.35rem .7rem; max-height:18rem; overflow-y:auto; margin:.35rem 0 .5rem; }
.life-inventory dl > div[b-wms7qlik9i] { display:flex; justify-content:space-between; gap:.5rem; }
.life-inventory dt[b-wms7qlik9i] { font-weight:400; }
.life-inventory dt small[b-wms7qlik9i] { display:block; color:var(--camp-muted); font-size:inherit; }
.life-inventory dd[b-wms7qlik9i] { margin:0; color:var(--camp-text); }
.life-body[b-wms7qlik9i] { margin:.25rem 0; color:var(--camp-muted); font-size:.72rem; line-height:1.6; }
.life-body summary[b-wms7qlik9i] { min-height:36px; padding:.4rem 0; cursor:pointer; }
.life-body summary span[b-wms7qlik9i] { margin-left:.4rem; color:var(--life-accent); }
.life-body p[b-wms7qlik9i] { margin:.25rem 0; overflow-wrap:anywhere; }
.life-current[b-wms7qlik9i] { margin:.45rem 0; color:#d7e4eb; font-size:.75rem; line-height:1.6; }
.life-current > span[b-wms7qlik9i] { overflow-wrap:anywhere; }
.life-progress[b-wms7qlik9i] { display:block; width:100%; height:4px; margin:.2rem 0 .6rem; border:0; border-radius:4px; accent-color:var(--life-accent); background:#081623; }
.life-progress[b-wms7qlik9i]::-webkit-progress-bar { border-radius:4px; background:#081623; }
.life-progress[b-wms7qlik9i]::-webkit-progress-value { border-radius:4px; background:var(--life-accent); }
.life-actions[b-wms7qlik9i] { display:flex; flex-wrap:wrap; align-items:center; gap:.45rem; }
.life-actions .button[b-wms7qlik9i] { font-size:.75rem; }
.life-refresh[b-wms7qlik9i] { min-width:44px; min-height:44px; padding:.4rem; border:1px solid #496776; border-radius:.5rem; background:transparent; color:#b7cbd6; font-size:1.1rem; }
.life-panel .life-feedback[b-wms7qlik9i] { margin:.5rem 0 0; color:#eed09d; font-size:.75rem; line-height:1.6; overflow-wrap:anywhere; }
.life-dialog-host[b-wms7qlik9i]  .life-activity-dialog { font-size:.82rem; }
.life-dialog-heading[b-wms7qlik9i] { display:flex; align-items:center; justify-content:space-between; gap:.7rem; }
.life-dialog-heading h2[b-wms7qlik9i] { margin:.3rem 0 0; font-size:1.05rem; line-height:1.5; overflow-wrap:anywhere; }
.life-dialog-heading span[b-wms7qlik9i] { color:var(--camp-muted); font-size:.75rem; }
.life-dialog-heading button[b-wms7qlik9i] { flex:0 0 44px; min-height:44px; padding:0; font-size:1.35rem; }
.life-operation[b-wms7qlik9i] { display:grid; gap:.4rem; margin:1rem 0; color:var(--camp-muted); }
.life-operation select[b-wms7qlik9i] { width:100%; min-width:0; min-height:44px; padding:.55rem .65rem; color:var(--camp-text); }
.life-details[b-wms7qlik9i] { display:grid; gap:.6rem; margin:1rem 0; }
.life-details > div[b-wms7qlik9i] { display:flex; justify-content:space-between; align-items:flex-start; gap:.6rem; }
.life-details dt[b-wms7qlik9i] { flex:0 0 auto; color:var(--camp-muted); font-weight:400; }
.life-details dd[b-wms7qlik9i] { margin:0; text-align:right; overflow-wrap:anywhere; }
.life-quantity[b-wms7qlik9i] { display:grid; grid-template-columns:1fr minmax(80px,120px); align-items:center; gap:.7rem; }
.life-quantity input[b-wms7qlik9i] { width:100%; min-width:0; min-height:44px; padding:.55rem .65rem; border:1px solid var(--camp-line); border-radius:.45rem; background:var(--camp-deep); color:inherit; font-size:1rem; }
.life-panel .life-note[b-wms7qlik9i] { margin:.65rem 0; color:var(--camp-muted); font-size:.75rem; line-height:1.65; overflow-wrap:anywhere; }
.life-switch[b-wms7qlik9i] { margin:.8rem 0; padding:.65rem; border:1px solid #a58a5b77; border-radius:.5rem; background:#b89c5b12; color:#ead2aa; font-size:.75rem; line-height:1.6; }
.life-switch strong[b-wms7qlik9i] { font-weight:600; }
.life-switch p[b-wms7qlik9i] { margin:.3rem 0 0; }
.life-dialog-actions[b-wms7qlik9i] { display:grid; grid-template-columns:1fr 2fr; gap:.6rem; margin-top:1rem; }
.life-build-actions--pending[b-wms7qlik9i] { position:sticky; bottom:0; z-index:1; background:var(--camp-panel,#152435); }
.life-professions[b-wms7qlik9i] { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; margin:0 0 16px; }
.life-professions--crafting[b-wms7qlik9i] { grid-template-columns:repeat(4,minmax(0,1fr)); }
.life-professions button[b-wms7qlik9i] { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-width:0; min-height:54px; padding:6px 2px; border:1px solid transparent; border-radius:6px; background:var(--camp-deep); color:var(--camp-muted); font-size:12px; }
.life-professions--crafting button[b-wms7qlik9i] { flex-direction:row; min-height:44px; }
.life-professions button[aria-pressed=true][b-wms7qlik9i] { color:var(--camp-gold); border-color:var(--camp-gold); background:var(--camp-raised); }
.life-professions button:disabled[b-wms7qlik9i] { opacity:.55; }
.life-heading h2[b-wms7qlik9i] { color:var(--camp-text); font-size:15px; }
.life-heading[b-wms7qlik9i] { border-bottom:1px solid var(--camp-line-soft); }
.life-refresh[b-wms7qlik9i] { display:grid; place-items:center; border:0; color:var(--camp-muted); }
.life-experience[b-wms7qlik9i] { margin:4px 0 12px; font-size:12px; color:var(--camp-muted); }
.life-directory-tabs[b-wms7qlik9i] { display:flex; flex-wrap:wrap; gap:4px; margin:12px 0; }
.life-directory-tabs button[b-wms7qlik9i] { flex:1; min-height:44px; padding:6px; border:0; border-bottom:2px solid transparent; background:transparent; color:var(--camp-muted); font-size:12px; white-space:nowrap; }
.life-directory-tabs button[aria-pressed=true][b-wms7qlik9i] { color:var(--camp-gold); border-bottom-color:var(--camp-gold); }
.life-directory-heading[b-wms7qlik9i] { display:flex; align-items:center; justify-content:space-between; margin:14px 0 8px; font-size:13px; font-weight:600; }
.life-directory-heading span[b-wms7qlik9i] { color:var(--camp-muted); font-size:12px; }
.life-choice[b-wms7qlik9i] { display:flex; width:100%; align-items:center; gap:10px; margin-bottom:8px; padding:12px 10px; min-height:86px; border:1px solid var(--camp-line-soft); border-radius:8px; background:var(--camp-panel); color:var(--camp-text); text-align:left; }
.life-choice-icon[b-wms7qlik9i] { flex:0 0 32px; height:42px; display:grid; place-items:center; color:var(--camp-gold); background:var(--camp-deep); border-radius:6px; }
.life-choice-icon img[b-wms7qlik9i] { width:30px; height:30px; object-fit:contain; image-rendering:pixelated; }
.life-project-heading[b-wms7qlik9i] { display:flex; align-items:center; gap:.55rem; min-width:0; }
.life-project-heading > div[b-wms7qlik9i] { min-width:0; }
.life-project-inline-art[b-wms7qlik9i] { width:20px; height:20px; margin-inline-end:4px; object-fit:contain; image-rendering:pixelated; vertical-align:middle; }
.life-material-amount[b-wms7qlik9i] { display:inline-block; max-width:100%; }
.life-material-amount img[b-wms7qlik9i] { width:24px; height:24px; margin-inline-end:3px; vertical-align:middle; object-fit:contain; image-rendering:pixelated; }
.life-material-stock[b-wms7qlik9i] { white-space:nowrap; }
@media(max-width:350px) { .life-detail .life-details dd:has(.life-material-amount:nth-child(2))[b-wms7qlik9i] { flex-basis:100%; } }
.life-choice-copy[b-wms7qlik9i] { min-width:0; flex:1; display:grid; gap:4px; overflow-wrap:anywhere; }
.life-choice-copy strong[b-wms7qlik9i] { font-size:13px; font-weight:600; }
.life-choice-copy > span[b-wms7qlik9i] { font-size:12px; }
.life-choice-copy small[b-wms7qlik9i] { color:var(--camp-muted); font-size:11px; }
.life-choice-state[b-wms7qlik9i] { flex-shrink:0; font-size:11px; color:var(--camp-gold); }
.life-choice--locked[b-wms7qlik9i] { background:var(--camp-deep); }
.life-choice--locked .life-choice-state[b-wms7qlik9i] { color:var(--camp-muted); }
.life-choice:disabled[b-wms7qlik9i] { opacity:.55; }
.life-detail[b-wms7qlik9i] { margin-top:12px; padding:14px; border:1px solid var(--camp-line-soft); border-radius:8px; background:var(--camp-panel); }
.life-back[b-wms7qlik9i] { min-height:44px; padding:0; margin-bottom:8px; border:0; background:transparent; color:var(--camp-gold); font-size:13px; }
.life-detail .life-details[b-wms7qlik9i] { font-size:13px; }
.life-detail .life-details > div[b-wms7qlik9i] { flex-wrap:wrap; }
.life-detail .life-details dd[b-wms7qlik9i] { flex:1 1 120px; }
.life-dialog-actions[b-wms7qlik9i] { position:sticky; bottom:0; padding-block:10px; background:var(--camp-panel); }
.life-panel .life-feedback[b-wms7qlik9i] { padding:10px; background:var(--camp-raised); border-radius:6px; }
.life-body[b-wms7qlik9i] { padding:8px 10px; border-radius:6px; background:var(--camp-panel); }
@media(max-width:350px) { .life-panel[b-wms7qlik9i] { padding:.65rem; } .life-heading[b-wms7qlik9i] { align-items:flex-start; } .life-summary[b-wms7qlik9i] { display:grid; gap:.1rem; } .life-current[b-wms7qlik9i] { display:grid; gap:.1rem; } }
/* /Components/LifeLegacyCompatibilityPanel.razor.rz.scp.css */
.legacy-panel[b-qjejniiyv6] { margin:0 0 .75rem; padding:.75rem; min-width:0; border:1px solid #7894a644; border-radius:.65rem; background:var(--camp-panel,#152435); color:#e5edf1; font-size:.78rem; line-height:1.6; }
.legacy-heading[b-qjejniiyv6],.legacy-actions[b-qjejniiyv6] { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem; }
.legacy-heading h2[b-qjejniiyv6] { margin:0; font-size:.9rem; font-weight:650; }
.legacy-panel button[b-qjejniiyv6],.legacy-panel select[b-qjejniiyv6],.legacy-panel input[b-qjejniiyv6] { min-height:44px; padding:.45rem .65rem; border:1px solid #627a8a; border-radius:.45rem; color:inherit; background:#0e1c2a; font:inherit; }
.legacy-panel button[b-qjejniiyv6] { cursor:pointer; }
.legacy-panel button:disabled[b-qjejniiyv6] { opacity:.55; cursor:default; }
.legacy-panel a[b-qjejniiyv6] { color:var(--alchemy-gold,#e7be78); }
.legacy-note[b-qjejniiyv6] { color:#a6bac8; margin:.4rem 0; overflow-wrap:anywhere; }
.legacy-selection summary[b-qjejniiyv6] { min-height:44px; padding:.5rem 0; cursor:pointer; }
.legacy-selection label[b-qjejniiyv6] { display:grid; gap:.35rem; margin:.5rem 0; }
.legacy-selection select[b-qjejniiyv6],.legacy-selection input[b-qjejniiyv6] { width:100%; min-width:0; }
.legacy-plan[b-qjejniiyv6] { display:grid; gap:.35rem; margin-top:.6rem; }
.legacy-plan p[b-qjejniiyv6] { margin:.2rem 0; }
.legacy-seeds[b-qjejniiyv6] { margin:.3rem 0; padding:0; list-style:none; }
.legacy-seeds li[b-qjejniiyv6] { display:grid; gap:.5rem; margin:.6rem 0; padding:.55rem; border:1px solid #7894a633; border-radius:.45rem; }
.legacy-seeds li span[b-qjejniiyv6] { display:block; color:#b9ccd8; }
.legacy-inline-art[b-qjejniiyv6] { width:20px; height:20px; margin-inline-end:.25rem; object-fit:contain; image-rendering:pixelated; vertical-align:middle; }
.legacy-seeds li button[b-qjejniiyv6] { justify-self:start; max-width:100%; white-space:normal; }
.legacy-feedback[b-qjejniiyv6] { margin:.55rem 0; color:#eed09d; overflow-wrap:anywhere; }
.legacy-result--pending[b-qjejniiyv6] { position:sticky; bottom:calc(72px + env(safe-area-inset-bottom)); z-index:1; padding-top:.35rem; background:var(--camp-panel,#152435); }
.legacy-retry[b-qjejniiyv6] { width:100%; }
@media(min-width:600px) { .legacy-seeds li[b-qjejniiyv6] { grid-template-columns:1fr auto; align-items:center; } }
/* /Components/MonsterDetailDialog.razor.rz.scp.css */
.monster-detail-overlay[b-pvdpnrokkk] {
    position: fixed;
    z-index: 1300;
    inset: 0;
    display: grid;
    place-items: center;
    padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
    background: rgba(3, 11, 20, .82);
    backdrop-filter: blur(7px);
}

.monster-detail-dialog[b-pvdpnrokkk] {
    --element-color: #dfbe77;
    width: min(100%, 580px);
    max-height: min(100%, 850px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overscroll-behavior: contain;
    border: 1px solid #6d705f;
    border-top: 2px solid var(--element-color);
    border-radius: 14px;
    background: linear-gradient(145deg, #233442, #13222f 70%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .65);
    color: #e7edf1;
}

.monster-detail-dialog--fire[b-pvdpnrokkk] { --element-color: #ee9e82; }
.monster-detail-dialog--water[b-pvdpnrokkk] { --element-color: #88d2ee; }
.monster-detail-dialog--wind[b-pvdpnrokkk] { --element-color: #89d8ad; }
.monster-detail-dialog--dark[b-pvdpnrokkk] { --element-color: #c4a5eb; }
.monster-detail-dialog--light[b-pvdpnrokkk] { --element-color: #f3df9d; }

.monster-detail-header[b-pvdpnrokkk] {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
    min-height: 112px;
    padding: 22px 156px 18px 24px;
    flex: 0 0 auto;
    overflow: hidden;
    background: radial-gradient(ellipse at 86% 65%, #b4a47915, transparent 60%);
}

.monster-detail-kicker[b-pvdpnrokkk] { color: var(--element-color); font-size: .65rem; font-weight: 600; letter-spacing: .07em; }
.monster-detail-kicker > span[b-pvdpnrokkk] { color: #9caeb7; font-weight: 400; }
.monster-detail-header h2[b-pvdpnrokkk] { margin: 7px 0; color: #f2e6cc; font: 700 1.55rem/1.25 Georgia, "Microsoft YaHei", serif; letter-spacing: .05em; }
.monster-detail-header p[b-pvdpnrokkk] { display: flex; flex-wrap: wrap; gap: 3px 12px; margin: 0; color: #9cafbc; font-size: .68rem; }
.monster-detail-banner-art[b-pvdpnrokkk] { position: absolute; right: 66px; top: 6px; width: 112px; height: 112px; pointer-events: none; }
.monster-detail-banner-art[b-pvdpnrokkk]::before, .monster-detail-banner-art[b-pvdpnrokkk]::after { content: ""; position: absolute; inset: 10px; border: 1px solid #cbb78022; border-radius: 50%; }
.monster-detail-banner-art[b-pvdpnrokkk]::after { inset: 0; border-style: dashed; opacity: .5; }
.monster-detail-banner-art img[b-pvdpnrokkk] { position: relative; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 8px 10px #0008); }
.monster-detail-element[b-pvdpnrokkk] { display: inline-flex; align-items: center; padding: .25rem .5rem; border: 1px solid var(--element-color); border-radius: 999px; color: var(--element-color); font: 750 .72rem system-ui, sans-serif; white-space: nowrap; }
.monster-detail-element--fire[b-pvdpnrokkk] { color: #ee9e82; border-color: #ee9e82; }
.monster-detail-element--water[b-pvdpnrokkk] { color: #88d2ee; border-color: #88d2ee; }
.monster-detail-element--wind[b-pvdpnrokkk] { color: #89d8ad; border-color: #89d8ad; }
.monster-detail-element--dark[b-pvdpnrokkk] { color: #c4a5eb; border-color: #c4a5eb; }
.monster-detail-element--light[b-pvdpnrokkk] { color: #f3df9d; border-color: #f3df9d; }
.monster-detail-close[b-pvdpnrokkk] { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #63748166; border-radius: 8px; background: #14232eaa; color: #b9c6ce; font-size: 1.4rem; cursor: pointer; }
.monster-detail-close:hover[b-pvdpnrokkk], .monster-detail-close:focus-visible[b-pvdpnrokkk] { border-color: var(--element-color); color: var(--element-color); }

.monster-detail-tabs[b-pvdpnrokkk] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin: 0 24px; padding: 3px; border: 1px solid #3a4a58; border-radius: 8px; background: #0f1c27; flex: 0 0 auto; }
.monster-detail-tabs--three[b-pvdpnrokkk] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.monster-detail-tabs button[b-pvdpnrokkk] { min-height: 44px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #96aab6; font-size: .8rem; font-weight: 600; cursor: pointer; }
.monster-detail-tabs button.monster-detail-tabs__active[b-pvdpnrokkk] { border-color: #73807655; background: #30414c; color: #f3dfb0; box-shadow: 0 2px 6px #0003; }
.monster-detail-scroll[b-pvdpnrokkk] { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #63717a #182530; }
.monster-detail-body[b-pvdpnrokkk] { display: grid; align-content: start; gap: 14px; padding: 18px 24px; }
.monster-detail-body--difficulty[b-pvdpnrokkk] { padding-bottom: 6px; }
.monster-depth-return[b-pvdpnrokkk] { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; background: #a78d5014; color: #b6c2ca; border: 1px solid #a78d504d; border-radius: 6px; font-size: .73rem; cursor: pointer; }
.monster-depth-return b[b-pvdpnrokkk] { margin-right: 8px; color: #e7c882; }
.monster-depth-return > span:last-child[b-pvdpnrokkk] { color: #dfc88f; }
.monster-create-panel[b-pvdpnrokkk] { display: grid; gap: 6px; padding: 12px 24px; border-top: 1px solid #64705e66; background: #10202c; }
.monster-create-action[b-pvdpnrokkk] { display: grid; gap: .5rem; flex: 0 0 auto; padding: 10px 24px 16px; border-top: 1px solid #64705e66; background: #10202c; box-shadow: 0 -8px 22px #07121b44; }
.monster-detail-note[b-pvdpnrokkk] { border-top: 1px solid #455b6b; }
.monster-detail-note summary[b-pvdpnrokkk] { min-height: 44px; align-content: center; color: #c5c9bc; font-size: .75rem; cursor: pointer; }
.monster-detail-note .monster-weapon-note[b-pvdpnrokkk] { padding-bottom: .5rem; }
.monster-create-character[b-pvdpnrokkk] { display: flex; align-items: baseline; gap: 7px; min-width: 0; font-size: .7rem; }
.monster-create-character > span[b-pvdpnrokkk] { color: #a8bdca; }
.monster-create-character > strong[b-pvdpnrokkk] { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #e0d7c1; }
.monster-create-character > small[b-pvdpnrokkk] { flex: 0 0 auto; margin-left: auto; color: #9bbab0; font-size: .62rem; }
.monster-create-controls[b-pvdpnrokkk] { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.monster-repeat-control[b-pvdpnrokkk] { display: flex; align-items: center; gap: 7px; min-height: 44px; cursor: pointer; font-size: .76rem; color: #d9e2e5; }
.monster-repeat-control input[b-pvdpnrokkk] { width: 18px; height: 18px; margin: 0; accent-color: #d8b367; }
.monster-repeat-control small[b-pvdpnrokkk] { color: #8fa4b0; font-size: .65rem; }
.monster-settings-toggle[b-pvdpnrokkk] { min-height: 44px; padding: 0 0 0 10px; border: 0; background: none; color: #a7b8c3; font-size: .71rem; cursor: pointer; }
.monster-settings-toggle span[b-pvdpnrokkk] { margin-left: 7px; color: #d6bb81; }
.monster-room-settings[b-pvdpnrokkk] { display: grid; gap: 7px; padding: 4px 0 10px; }
.monster-room-settings p[b-pvdpnrokkk] { margin: 0; color: #9fb1bc; font-size: .7rem; line-height: 1.4; }
.monster-create-settings[b-pvdpnrokkk] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.monster-create-settings label[b-pvdpnrokkk] { display: flex; align-items: center; gap: .5rem; min-width: 0; min-height: 44px; padding: .55rem; border: 1px solid #40586c; border-radius: .55rem; background: #162a3d; cursor: pointer; }
.monster-create-settings input[b-pvdpnrokkk] { flex: 0 0 auto; width: 1rem; height: 1rem; margin: 0; accent-color: #d8a957; }
.monster-create-settings label span[b-pvdpnrokkk] { display: grid; min-width: 0; gap: .08rem; }
.monster-create-settings strong[b-pvdpnrokkk] { color: #edf0ef; font-size: .69rem; white-space: nowrap; }
.monster-create-settings small[b-pvdpnrokkk] { overflow: hidden; color: #9aafbc; font-size: .61rem; white-space: nowrap; text-overflow: ellipsis; }
.monster-create-message[b-pvdpnrokkk] { margin: 0; color: #f2ad9e; font-size: .72rem; }
.monster-create-note[b-pvdpnrokkk] { margin: 0; color: #b8c9d3; font-size: .72rem; }
.monster-create-message--retry[b-pvdpnrokkk] { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.monster-create-message--retry button[b-pvdpnrokkk] { min-width: 44px; min-height: 44px; border: 1px solid #be9d61; border-radius: 5px; color: #ead2a0; background: transparent; }
.monster-create-button[b-pvdpnrokkk] { display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; min-height: 48px; border: 1px solid #dfc189; border-radius: 7px; background: linear-gradient(105deg, #d2ac62, #ead09b); color: #302715; font-size: .87rem; font-weight: 750; box-shadow: inset 0 1px #fff3, 0 4px 12px #0003; }
.monster-create-button > span:last-child[b-pvdpnrokkk] { font-size: 1.1rem; }
.monster-create-button:disabled[b-pvdpnrokkk] { opacity: 1; color: #9cabaf; border-color: #45555d; background: #273842; box-shadow: none; cursor: not-allowed; }
.monster-create-button:not(:disabled):hover[b-pvdpnrokkk] { filter: brightness(1.06); }
.monster-selector[b-pvdpnrokkk] { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .35rem; scrollbar-width: thin; }
.monster-selector__item[b-pvdpnrokkk] { display: flex; align-items: center; flex: 0 0 auto; gap: .45rem; min-width: 140px; min-height: 60px; padding: .4rem .55rem; border: 1px solid #496074; border-radius: .55rem; background: #132536; color: #c2d3dc; text-align: left; cursor: pointer; }
.monster-selector__item img[b-pvdpnrokkk] { width: 42px; height: 42px; flex: 0 0 42px; object-fit: contain; image-rendering: pixelated; }
.monster-selector__item span[b-pvdpnrokkk] { display: grid; gap: .14rem; }
.monster-selector__item--active[b-pvdpnrokkk] { border-color: var(--element-color); background: #244054; }
.monster-selector__item small[b-pvdpnrokkk] { color: #92acba; font-size: .64rem; }
.monster-selector__item strong[b-pvdpnrokkk] { font-size: .74rem; }
.monster-detail-identity[b-pvdpnrokkk] { display: flex; align-items: center; gap: .68rem; }
.monster-detail-identity-art[b-pvdpnrokkk] { width: 82px; height: 82px; flex: 0 0 82px; object-fit: contain; image-rendering: pixelated; }
.monster-detail-identity div[b-pvdpnrokkk] { display: grid; gap: .14rem; min-width: 0; }
.monster-detail-identity strong[b-pvdpnrokkk] { color: #f5e8cf; font-size: 1.1rem; }
.monster-detail-identity small[b-pvdpnrokkk] { color: #9ab0bf; font-size: .7rem; }
.monster-detail-stats[b-pvdpnrokkk] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.monster-detail-stats--armored[b-pvdpnrokkk] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.monster-detail-stats div[b-pvdpnrokkk] { display: grid; gap: .15rem; min-width: 0; padding: .65rem .7rem; border: 1px solid #40586c; border-radius: .62rem; background: #14283a; }
.monster-detail-stats span[b-pvdpnrokkk] { color: #8fa9ba; font-size: .68rem; }
.monster-detail-stats strong[b-pvdpnrokkk] { overflow: hidden; color: #e8f0f3; font-size: 1rem; text-overflow: ellipsis; }
@media (max-width: 360px) {
    .monster-detail-dialog--local-investigation .monster-detail-stats strong[b-pvdpnrokkk] { font-size: .82rem; }
}
.monster-detail-section-heading[b-pvdpnrokkk] { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; margin-bottom: .5rem; }
.monster-detail-section-heading h3[b-pvdpnrokkk] { margin: 0; color: #f0d394; font-size: .92rem; }
.monster-detail-heading-art[b-pvdpnrokkk] { width: 36px; height: 36px; margin-right: .35rem; object-fit: contain; vertical-align: middle; image-rendering: pixelated; }
.monster-detail-section-heading h3 .monster-detail-element[b-pvdpnrokkk] { margin-right: .2rem; vertical-align: middle; }
.monster-detail-section-heading small[b-pvdpnrokkk] { color: #8ea5b6; font-size: .68rem; }
.monster-detail-drops ul[b-pvdpnrokkk] { display: grid; gap: .42rem; margin: 0; padding: 0; list-style: none; }
.monster-detail-empty[b-pvdpnrokkk] { margin: 0; padding: .85rem; border: 1px dashed #526779; border-radius: .62rem; color: #b5c7d1; font-size: .8rem; }
.monster-drop[b-pvdpnrokkk] { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; align-items: center; gap: .58rem; width: 100%; min-height: 62px; padding: .56rem .7rem; border: 1px solid #40586d; border-radius: .62rem; background: #132536; color: #eaf0f3; text-align: left; }
.monster-drop--weapon[b-pvdpnrokkk] { cursor: pointer; }
.monster-drop--weapon:hover[b-pvdpnrokkk], .monster-drop--weapon:focus-visible[b-pvdpnrokkk] { border-color: var(--element-color); background: #1b3447; }
.monster-drop-icon[b-pvdpnrokkk] { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .5rem; background: rgba(225, 177, 94, .14); color: #e9c786; font-size: 1rem; }
.monster-drop-icon img[b-pvdpnrokkk] { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.monster-drop-copy[b-pvdpnrokkk] { display: grid; gap: .1rem; min-width: 0; }
.monster-drop-copy strong[b-pvdpnrokkk] { overflow-wrap: anywhere; font-size: .8rem; }
.monster-drop-copy small[b-pvdpnrokkk] { color: #8ea5b6; font-size: .67rem; font-weight: 400; }
.monster-drop-rate[b-pvdpnrokkk] { color: #f1d18a; font-size: .76rem; font-weight: 750; white-space: nowrap; }
.monster-drop-rate span[b-pvdpnrokkk] { margin-left: .2rem; font-size: 1.1rem; }
.monster-weapon-note[b-pvdpnrokkk] { color: #abc0cb; font-size: .75rem; line-height: 1.45; }
.monster-weapon-note[b-pvdpnrokkk] { margin: 0; }

@media (max-width: 600px) {
    .monster-detail-overlay[b-pvdpnrokkk] { align-items: center; padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom)); }
    .monster-detail-dialog[b-pvdpnrokkk] { max-height: 100%; border-radius: 12px; }
    .monster-detail-header[b-pvdpnrokkk] { min-height: 96px; padding: 17px 110px 14px 16px; }
    .monster-detail-header h2[b-pvdpnrokkk] { margin: 6px 0; font-size: 1.23rem; letter-spacing: .025em; }
    .monster-detail-header p[b-pvdpnrokkk] { gap: 2px 8px; font-size: .62rem; }
    .monster-detail-kicker[b-pvdpnrokkk] { font-size: .58rem; letter-spacing: 0; }
    .monster-detail-banner-art[b-pvdpnrokkk] { width: 80px; height: 80px; top: 14px; right: 45px; }
    .monster-detail-close[b-pvdpnrokkk] { top: 8px; right: 6px; border-color: transparent; background: transparent; }
    .monster-detail-tabs[b-pvdpnrokkk] { margin: 0 14px; }
    .monster-detail-tabs button[b-pvdpnrokkk] { font-size: .76rem; }
    .monster-detail-body[b-pvdpnrokkk] { gap: 12px; padding: 14px 16px; }
    .monster-detail-body--difficulty[b-pvdpnrokkk] { padding-bottom: 0; }
    .monster-create-panel[b-pvdpnrokkk] { padding: 10px 16px 14px; gap: 4px; }
    .monster-create-action[b-pvdpnrokkk] { padding: 8px 16px 10px; }
    .monster-create-character[b-pvdpnrokkk] { font-size: .64rem; gap: 6px; }
    .monster-create-character > span[b-pvdpnrokkk] { white-space: nowrap; }
    .monster-create-character > small[b-pvdpnrokkk] { font-size: .58rem; }
    .monster-detail-identity-art[b-pvdpnrokkk] { width: 64px; height: 64px; flex-basis: 64px; }
    .monster-detail-identity[b-pvdpnrokkk] { flex-wrap: wrap; gap: 9px; }
    .monster-detail-stats div[b-pvdpnrokkk] { padding: .54rem .55rem; }
    .monster-detail-section-heading[b-pvdpnrokkk] { align-items: flex-start; }
    .monster-detail-section-heading h3[b-pvdpnrokkk] { font-size: .82rem; }
    .monster-detail-section-heading small[b-pvdpnrokkk] { flex-shrink: 0; font-size: .6rem; }
}
@media (max-width: 600px) and (max-height: 720px) {
    .monster-detail-header[b-pvdpnrokkk] { min-height: 82px; padding-top: 11px; padding-bottom: 10px; }
    .monster-detail-header h2[b-pvdpnrokkk] { margin: 4px 0; }
    .monster-detail-banner-art[b-pvdpnrokkk] { width: 68px; height: 68px; top: 8px; }
    .monster-detail-body[b-pvdpnrokkk] { padding-top: 6px; }
    .monster-detail-dialog--single .monster-detail-body[b-pvdpnrokkk] { gap: 8px; padding-bottom: 8px; }
    .monster-detail-dialog--single .monster-detail-identity-art[b-pvdpnrokkk] { width: 48px; height: 48px; flex-basis: 48px; }
    .monster-create-panel[b-pvdpnrokkk] { padding-top: 8px; padding-bottom: 10px; gap: 2px; }
}
@media (max-width: 350px) {
    .monster-detail-stats div[b-pvdpnrokkk] { padding-inline: .25rem; }
    .monster-detail-header[b-pvdpnrokkk] { padding-right: 90px; }
    .monster-detail-banner-art[b-pvdpnrokkk] { width: 64px; right: 36px; }
    .monster-detail-kicker > span[b-pvdpnrokkk] { display: none; }
    .monster-create-character > small[b-pvdpnrokkk] { max-width: 72px; text-align: right; }
    .monster-detail-body[b-pvdpnrokkk] { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 600px) and (max-height: 610px) {
    .monster-detail-header[b-pvdpnrokkk] { min-height: 67px; padding-top: 9px; padding-bottom: 8px; }
    .monster-detail-header p[b-pvdpnrokkk] { display: none; }
    .monster-detail-header h2[b-pvdpnrokkk] { font-size: 1.12rem; }
    .monster-detail-banner-art[b-pvdpnrokkk] { width: 56px; height: 56px; top: 4px; }
    .monster-detail-tabs[b-pvdpnrokkk] { padding: 0; }
    .monster-detail-body[b-pvdpnrokkk] { padding-top: 6px; }
    .monster-create-panel[b-pvdpnrokkk] { padding-top: 6px; padding-bottom: 8px; }
}

@media (max-height: 500px) and (orientation: landscape) {
    .monster-detail-overlay[b-pvdpnrokkk] { padding: max(6px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
    .monster-detail-dialog[b-pvdpnrokkk] { width: min(100%, 680px); border-radius: 10px; }
    .monster-detail-header[b-pvdpnrokkk] { min-height: 76px; padding: 9px 116px 8px 16px; }
    .monster-detail-header h2[b-pvdpnrokkk] { margin: 3px 0; font-size: 1.2rem; }
    .monster-detail-header p[b-pvdpnrokkk] { font-size: .65rem; }
    .monster-detail-banner-art[b-pvdpnrokkk] { top: 4px; right: 48px; width: 72px; height: 72px; }
    .monster-detail-close[b-pvdpnrokkk] { top: 6px; right: 6px; }
    .monster-detail-tabs[b-pvdpnrokkk] { margin-inline: 16px; }
    .monster-detail-body[b-pvdpnrokkk] { padding: 10px 16px; gap: 10px; }
    .monster-create-panel[b-pvdpnrokkk] { padding: 10px 16px; }
    .monster-create-action[b-pvdpnrokkk] { padding: 6px 16px 8px; }
}
.monster-depth-sync[b-pvdpnrokkk] { display:flex; align-items:center; justify-content:space-between; height:44px; color:#a5bdc9; font-size:.73rem; white-space:nowrap; }
.monster-depth-sync button[b-pvdpnrokkk] { width:44px; height:44px; padding:0; border:1px solid #486575; border-radius:.55rem; background:#203b4b; color:#ccdee5; font:inherit; font-size:1.1rem; cursor:pointer; }
.monster-depth-sync button:disabled[b-pvdpnrokkk] { opacity:.45; cursor:default; }


.monster-detail-host[b-pvdpnrokkk]  .monster-detail-shell { inset:var(--app-top-inset) 0 0; margin:auto; padding:0; width:min(760px,calc(100% - 16px)); max-height:calc(100dvh - var(--app-top-inset) - 16px); overflow:hidden; border:0; border-radius:14px; background:transparent; }
.monster-detail-dialog[b-pvdpnrokkk] { width:100%; max-height:calc(100dvh - var(--app-top-inset) - 16px); }
.monster-preparation-steps[b-pvdpnrokkk] { display:flex; justify-content:space-between; gap:8px; padding:12px 22px; background:#0e202d; border-bottom:1px solid #40525d; font-size:12px; color:#869eae; }
.monster-preparation-steps strong[b-pvdpnrokkk] { color:#e3c78e; }
.monster-intel[b-pvdpnrokkk] { padding:12px 22px; border-bottom:1px solid #40525d; }
.monster-intel > summary[b-pvdpnrokkk] { color:#dac492; min-height:32px; font-size:13px; }
.monster-create-panel[b-pvdpnrokkk] { border-top:0; }
.monster-detail-close[b-pvdpnrokkk] { width:44px; height:44px; min-width:44px; z-index:2; }
@media(min-width:800px) { .monster-create-panel[b-pvdpnrokkk] { padding:20px 28px; } }
@media(max-width:600px) { .monster-preparation-steps[b-pvdpnrokkk] { padding:10px 16px; font-size:10px; } .monster-intel[b-pvdpnrokkk] { padding:10px 16px; } }
.monster-repeat-choice[b-pvdpnrokkk] { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px; }
.monster-repeat-choice button[b-pvdpnrokkk] { min-height:40px;border:1px solid #637888;border-radius:6px;background:#152d3c;color:#beccd6;font:inherit;font-size:12px;cursor:pointer; }
.monster-repeat-choice button[aria-pressed=true][b-pvdpnrokkk] { border-color:#d9b678;color:#f0d6a3;background:#4a4536;box-shadow:inset 0 -2px #d9b678; }
.monster-repeat-summary[b-pvdpnrokkk] { margin:4px 0;color:#b5c7d1;font-size:10px;line-height:1.4; }
.monster-story-link[b-pvdpnrokkk] { display:block;min-height:44px;align-content:center;color:#ead099;font-size:13px; }

@media (min-width: 601px) and (max-height: 500px) and (orientation: landscape) {
    .monster-preparation-steps[b-pvdpnrokkk] { display: none; }
    .monster-create-action[b-pvdpnrokkk] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
    .monster-depth-sync[b-pvdpnrokkk] { grid-column: 1; grid-row: 1; }
    .monster-repeat-choice[b-pvdpnrokkk] { grid-column: 2; grid-row: 1; align-self: center; }
    .monster-repeat-choice button[b-pvdpnrokkk] { min-height: 44px; }
    .monster-repeat-summary[b-pvdpnrokkk] { grid-column: 2; grid-row: 2; margin: 0; }
    .monster-create-note[b-pvdpnrokkk] { grid-column: 1; grid-row: 2; align-self: center; }
    .monster-create-message[b-pvdpnrokkk], .monster-story-link[b-pvdpnrokkk], .monster-create-button[b-pvdpnrokkk] { grid-column: 1 / -1; }
}
/* /Components/MonsterEnergyIndicator.razor.rz.scp.css */
.monster-energy[b-vxm8f7wgfi] { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 5px; color: #a9c6dc; font-size: .7rem; line-height: 1.5; }
.monster-energy__value b[b-vxm8f7wgfi] { font-variant-numeric: tabular-nums; color: #d0e5f6; }
.monster-energy meter[b-vxm8f7wgfi] { width: 64px; height: 8px; accent-color: #73bcec; }
.monster-energy__skill[b-vxm8f7wgfi] { overflow-wrap: anywhere; }
.monster-energy.is-ready[b-vxm8f7wgfi] { color: #f3c786; }
.monster-energy.is-ready b[b-vxm8f7wgfi] { color: #ffdda5; }
.monster-energy--compact[b-vxm8f7wgfi] { flex-wrap: nowrap; gap: 4px; margin: 0; }
.monster-energy--compact .monster-energy__skill[b-vxm8f7wgfi] { display: none; }
.monster-energy--compact .monster-energy__value[b-vxm8f7wgfi] { font-size: 0; }
.monster-energy--compact .monster-energy__value b[b-vxm8f7wgfi] { font-size: 10px; }
.monster-energy--crystals .monster-energy__value[b-vxm8f7wgfi] { display: none; }
.monster-energy--crystals meter[b-vxm8f7wgfi] { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.monster-energy__crystals[b-vxm8f7wgfi] { display: flex; align-items: center; gap: 2px; }
.monster-energy__crystal[b-vxm8f7wgfi] { display: block; width: 11px; height: 16px; overflow: visible; }
.monster-energy__gem[b-vxm8f7wgfi] { fill: #0b1923cc; stroke: #8a9caa; stroke-width: 1; }
.monster-energy__facet[b-vxm8f7wgfi] { fill: none; stroke: #8094a333; stroke-width: .6; }
.is-filled .monster-energy__gem[b-vxm8f7wgfi] { fill: #dba746; stroke: #ffe0a1; }
.is-filled .monster-energy__facet[b-vxm8f7wgfi] { fill: #ffdf84; stroke: #fff0b8; }
.is-ready .monster-energy__crystals[b-vxm8f7wgfi] { filter: drop-shadow(0 0 3px #ecac5777); animation: energy-ready-b-vxm8f7wgfi 1.8s ease-in-out infinite alternate; }
.is-interrupted .monster-energy__crystals[b-vxm8f7wgfi] { animation: none; filter: none; }
@keyframes energy-ready-b-vxm8f7wgfi { to { filter: drop-shadow(0 0 5px #ffb964cc); } }
@media (prefers-reduced-motion: reduce) { .is-ready .monster-energy__crystals[b-vxm8f7wgfi] { animation: none; } }
/* /Components/MonsterIntentDetails.razor.rz.scp.css */
.intent-detail[b-97bm546bvq] { --intent-accent: #a9c7d8; --intent-glow: #719bb71c; display: flex; flex-direction: column; min-height: 0; color: #d9e5ee; text-align: left; }
.intent-detail--dangerous[b-97bm546bvq] { --intent-accent: #edbd73; --intent-glow: #d9993c1f; }
.intent-detail--deadly[b-97bm546bvq] { --intent-accent: #ff9a8d; --intent-glow: #ea5c4621; }
.intent-detail--cancelled[b-97bm546bvq] { --intent-accent: #96dfc4; --intent-glow: #58b6921c; }
.intent-detail__header[b-97bm546bvq] { position: relative; flex: 0 0 auto; padding: 24px 26px 20px; border-top: 3px solid var(--intent-accent); border-bottom: 1px solid #b0c6d421; background: radial-gradient(ellipse at 0 0, var(--intent-glow), transparent 75%), linear-gradient(130deg, #243748, #152535); }
.intent-detail__eyebrow[b-97bm546bvq] { display: flex; align-items: center; gap: 12px; padding-right: 44px; color: var(--intent-accent); font-size: .65rem; font-weight: 650; letter-spacing: .12em; }
.intent-detail__eyebrow span + span[b-97bm546bvq] { padding-left: 12px; border-left: 1px solid #bfced340; color: #a6b9c8; letter-spacing: .03em; }
.intent-detail__close[b-97bm546bvq] { position: absolute; top: 16px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; padding: 10px; border: 1px solid #9fb8cd30; border-radius: 12px; color: #b0c2d1; background: #0c192956; cursor: pointer; }
.intent-detail__close svg[b-97bm546bvq] { width: 20px; height: 20px; }
.intent-detail__close:hover[b-97bm546bvq] { background: #31465b; border-color: var(--intent-accent); color: #fff1d7; }
.intent-detail__close:focus-visible[b-97bm546bvq], .intent-detail__rules summary:focus-visible[b-97bm546bvq], .intent-detail__body:focus-visible[b-97bm546bvq] { outline: 2px solid var(--intent-accent); outline-offset: -3px; }
.intent-detail__identity[b-97bm546bvq] { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.intent-detail__portrait[b-97bm546bvq] { flex: 0 0 78px; width: 78px; height: 86px; display: grid; place-items: center; border: 1px solid #a8c4d232; border-radius: 16px; background: radial-gradient(ellipse at 50% 80%, var(--intent-glow), #0d1b295c 75%); box-shadow: inset 0 1px 0 #ffffff0a; }
.intent-detail__portrait img[b-97bm546bvq] { max-width: 92%; max-height: 92%; object-fit: contain; filter: drop-shadow(0 5px 6px #0006); }
.intent-detail__heading[b-97bm546bvq] { min-width: 0; }
.intent-detail__skill-art[b-97bm546bvq] { width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; vertical-align: middle; margin-right: 8px; }
.intent-detail__source[b-97bm546bvq] { color: #a2b7c9; font-size: .75rem; }
.intent-detail__heading h2[b-97bm546bvq] { margin: 4px 0 9px; color: #fff0da; font: 700 1.55rem/1.3 system-ui, sans-serif; letter-spacing: .02em; overflow-wrap: anywhere; }
.intent-detail__danger[b-97bm546bvq] { display: inline-flex; align-items: center; gap: 6px; color: var(--intent-accent); font-size: .68rem; font-weight: 650; }
.intent-detail__danger > span[b-97bm546bvq] { display: grid; place-items: center; width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; font: 700 10px/1 system-ui, sans-serif; }
.intent-detail__description[b-97bm546bvq] { margin: 16px 0 0; color: #b2c3d0; font-size: .81rem; line-height: 1.85; overflow-wrap: anywhere; }
.intent-detail__body[b-97bm546bvq] { min-height: 0; overflow: auto; padding: 20px 26px 18px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #577086 transparent; }
.intent-detail__facts[b-97bm546bvq] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.intent-detail__facts > div[b-97bm546bvq] { padding: 12px 14px; min-width: 0; border: 1px solid #a8c4da26; border-radius: 10px; background: #0b1a294d; }
.intent-detail__label[b-97bm546bvq] { display: block; margin-bottom: 6px; color: #829db1; font-size: .64rem; letter-spacing: .08em; }
.intent-detail__facts strong[b-97bm546bvq] { display: block; font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.intent-detail__facts small[b-97bm546bvq] { display: block; margin-top: 4px; color: #95adbf; font-size: .66rem; line-height: 1.65; }
.intent-detail__target strong[b-97bm546bvq] { color: #e4edf3; }
.intent-detail__interrupt strong[b-97bm546bvq] { color: #f3a899; }
.intent-detail__interrupt.can-interrupt strong[b-97bm546bvq] { color: #91dfc1; }
.intent-detail__effects h3[b-97bm546bvq], .intent-detail__mechanics h3[b-97bm546bvq] { display: flex; justify-content: space-between; align-items: center; margin: 0 0 10px; color: #dce7ee; font-size: .72rem; font-weight: 600; letter-spacing: .04em; }
.intent-detail__effects h3 > span[b-97bm546bvq] { color: #7f99af; font-size: .62rem; font-weight: 400; }
.intent-effect[b-97bm546bvq] { --effect-color: #d8b2ee; display: flex; align-items: flex-start; gap: 13px; margin-top: 8px; padding: 15px 16px; border: 1px solid #b4cee21f; border-left: 2px solid var(--effect-color); border-radius: 10px; background: linear-gradient(110deg, #23344785, #0e1d2c66); }
.intent-effect--damage[b-97bm546bvq] { --effect-color: #efbe7d; }
.intent-effect--heal[b-97bm546bvq] { --effect-color: #91dfc1; }
.intent-effect--buff[b-97bm546bvq] { --effect-color: #9fcaf0; }
.intent-effect__icon[b-97bm546bvq] { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border: 1px solid #c6dded20; border-radius: 9px; background: #b0c4db0a; color: var(--effect-color); }
.intent-effect__icon svg[b-97bm546bvq] { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.intent-effect__content[b-97bm546bvq] { flex: 1; min-width: 0; }
.intent-effect__title[b-97bm546bvq] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding-top: 2px; }
.intent-effect__title strong[b-97bm546bvq] { color: var(--effect-color); font-size: .8rem; font-weight: 600; }
.intent-effect__title > span[b-97bm546bvq] { font-size: .65rem; color: #8faabd; }
.intent-effect__magnitude[b-97bm546bvq] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 7px 0 0; }
.intent-effect__magnitude > strong[b-97bm546bvq] { color: #fff0dc; font: 650 2.05rem/1.15 system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.intent-effect__magnitude strong small[b-97bm546bvq] { margin-left: 3px; font-size: 1rem; }
.intent-effect__magnitude > span[b-97bm546bvq] { color: #a7bbcb; font-size: .7rem; }
.intent-effect__summary[b-97bm546bvq] { margin: 7px 0 0; color: #c0d0dc; font-size: .78rem; line-height: 1.85; overflow-wrap: anywhere; }
.intent-effect__summary strong[b-97bm546bvq] { color: #f0d8fb; font-weight: 650; }
.intent-effect--buff .intent-effect__summary strong[b-97bm546bvq] { color: #c7e3fc; }
.intent-detail__mechanics[b-97bm546bvq] { margin-top: 16px; padding: 13px 15px; border: 1px solid #ddab623d; border-radius: 10px; background: #c3984510; }
.intent-detail__mechanics h3[b-97bm546bvq] { color: #eac48b; margin-bottom: 5px; }
.intent-detail__mechanics p[b-97bm546bvq] { margin: 4px 0 0; color: #cdbfa6; font-size: .75rem; line-height: 1.8; }
.intent-detail__rules[b-97bm546bvq] { margin-top: 17px; border-top: 1px solid #aac7db21; border-bottom: 1px solid #aac7db21; }
.intent-detail__rules summary[b-97bm546bvq] { display: flex; align-items: center; gap: 10px; min-height: 46px; color: #c3d3df; font-size: .75rem; cursor: pointer; list-style: none; }
.intent-detail__rules summary[b-97bm546bvq]::-webkit-details-marker { display: none; }
.intent-detail__rules summary > span[b-97bm546bvq] { color: #819aaf; font-size: .65rem; }
.intent-detail__rules summary .intent-detail__expand[b-97bm546bvq] { margin-left: auto; color: var(--intent-accent); font-size: 1.2rem; transition: transform .15s; }
.intent-detail__rules[open] .intent-detail__expand[b-97bm546bvq] { transform: rotate(45deg); }
.intent-detail__rules ul[b-97bm546bvq] { margin: 0 0 14px; padding-left: 18px; color: #a2b7c7; font-size: .72rem; line-height: 1.9; }
.intent-detail__rules li + li[b-97bm546bvq] { margin-top: 4px; }
.intent-detail__footnote[b-97bm546bvq] { margin: 13px 0 0; color: #8199aa; font-size: .63rem; line-height: 1.7; }
.intent-detail__cancelled[b-97bm546bvq] { margin: 0 0 16px; padding: 10px 12px; border-radius: 8px; color: #a7e5cf; background: #449a7919; font-size: .78rem; line-height: 1.7; }
.is-interrupted .intent-effect[b-97bm546bvq] { opacity: .65; }
@media (max-width: 480px) {
    .intent-detail__header[b-97bm546bvq] { padding: 20px 18px 17px; }
    .intent-detail__body[b-97bm546bvq] { padding: 16px 18px; }
    .intent-detail__identity[b-97bm546bvq] { gap: 14px; margin-top: 20px; }
    .intent-detail__portrait[b-97bm546bvq] { flex-basis: 64px; width: 64px; height: 74px; border-radius: 13px; }
    .intent-detail__heading h2[b-97bm546bvq] { font-size: 1.3rem; }
    .intent-detail__facts[b-97bm546bvq] { gap: 8px; margin-bottom: 18px; }
    .intent-detail__facts > div[b-97bm546bvq] { padding: 10px; }
    .intent-detail__facts strong[b-97bm546bvq] { font-size: .82rem; }
    .intent-effect[b-97bm546bvq] { gap: 10px; padding: 13px 12px; }
    .intent-detail__close[b-97bm546bvq] { top: 12px; right: 12px; }
}
@media (max-height: 550px) {
    .intent-detail__header[b-97bm546bvq] { padding-top: 14px; padding-bottom: 12px; }
    .intent-detail__identity[b-97bm546bvq] { margin-top: 12px; }
    .intent-detail__portrait[b-97bm546bvq] { width: 54px; height: 58px; flex-basis: 54px; }
    .intent-detail__description[b-97bm546bvq] { margin-top: 10px; }
    .intent-detail__heading h2[b-97bm546bvq] { font-size: 1.25rem; margin-bottom: 5px; }
}
@media (prefers-reduced-motion: reduce) { .intent-detail__expand[b-97bm546bvq] { transition: none; } }
/* /Components/NotificationHost.razor.rz.scp.css */
.notification-host[b-717u2gb8bj] {
    --notification-safe-bottom: env(safe-area-inset-bottom, 0px);
    position: fixed;
    inset: auto 0 var(--notification-bottom, calc(5.75rem + env(safe-area-inset-bottom))) 0;
    z-index: 10000;
    width: max-content;
    max-width: min(28rem, calc(100vw - 1.5rem));
    max-height: calc(100dvh - 6rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    color: #e7edf3;
    pointer-events: none;
}

.notification-host[b-717u2gb8bj]::backdrop { background: transparent; pointer-events: none; }
.notification-host[hidden][b-717u2gb8bj] { display: none; }

.game-notification[b-717u2gb8bj] {
    display: grid;
    grid-template-columns: 1.125rem minmax(0, 1fr) 2.75rem;
    align-items: center;
    gap: .45rem;
    padding: .25rem .2rem .25rem .65rem;
    border: 1px solid #52697c;
    border-radius: .65rem;
    background: #1a2e40;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .4);
    /* Reading feedback must not block the next action underneath it. */
    pointer-events: none;
    animation: notification-enter-b-717u2gb8bj .16s ease-out both;
}
.game-notification + .game-notification[b-717u2gb8bj] { margin-top: .4rem; }

.game-notification--success[b-717u2gb8bj] { border-color: #527968; background: #18362f; }
.game-notification--error[b-717u2gb8bj] { border-color: #a36671; background: #40252e; }
.game-notification--warning[b-717u2gb8bj] { border-color: #9c8151; background: #383021; }
.game-notification__icon[b-717u2gb8bj] { display: grid; place-items: center; width: 1.125rem; height: 1.125rem; border: 1px solid currentColor; border-radius: 50%; color: #a7c8e3; font-size: .75rem; font-weight: 700; }
.game-notification--success .game-notification__icon[b-717u2gb8bj] { color: #a6d4b9; }
.game-notification--error .game-notification__icon[b-717u2gb8bj] { color: #ffc0ca; }
.game-notification--warning .game-notification__icon[b-717u2gb8bj] { color: #f1cf8e; }
.game-notification__message[b-717u2gb8bj] { font-size: .78rem; line-height: 1.5; overflow-wrap: anywhere; }
.game-notification__close[b-717u2gb8bj] { display: grid; place-items: center; width: 2.75rem; min-height: 2.75rem; padding: 0; border: 0; border-radius: .5rem; background: transparent; color: #c6d1da; font-size: 1.2rem; cursor: pointer; pointer-events: auto; }
.game-notification__close:hover[b-717u2gb8bj] { background: rgba(255, 255, 255, .08); }
.game-notification__close:focus-visible[b-717u2gb8bj] { outline: 2px solid #e8c787; outline-offset: -3px; }
.is-leaving[b-717u2gb8bj] { animation: notification-exit-b-717u2gb8bj .18s ease-in both; }

@keyframes notification-enter-b-717u2gb8bj { from { opacity: 0; transform: translateY(.3rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes notification-exit-b-717u2gb8bj { to { opacity: 0; transform: translateY(.2rem); } }

@media (prefers-reduced-motion: reduce) {
    .game-notification[b-717u2gb8bj], .is-leaving[b-717u2gb8bj] { animation: none; }
}
/* /Components/ProfessionBoostDialog.razor.rz.scp.css */
.profession-boost-dialog-host[b-2cwmgelrh7]  .profession-boost-dialog { inset:0; width:min(520px,calc(100% - 24px)); max-height:calc(100dvh - 32px); margin:auto; padding:1rem; overflow:auto; border:1px solid #60747b; border-radius:.9rem; color:#dce8ed; background:radial-gradient(ellipse at top right,#b9985520,transparent 65%),#152c38; box-shadow:0 24px 80px #0009; }
.profession-boost-header[b-2cwmgelrh7] { display:flex; align-items:center; justify-content:space-between; gap:.7rem; }
.profession-boost-header span[b-2cwmgelrh7] { color:#9db6c3; font-size:.75rem; }
.profession-boost-header h2[b-2cwmgelrh7] { margin:.3rem 0 0; color:#efdab0; font-size:1.2rem; }
.profession-boost-dialog-host button[b-2cwmgelrh7] { min-height:44px; padding:.55rem .75rem; border:1px solid #496776; border-radius:.5rem; background:#203e4e; color:#dce8ed; font:inherit; font-size:.8rem; cursor:pointer; }
.profession-boost-dialog-host button:disabled[b-2cwmgelrh7] { opacity:.45; cursor:default; }
.profession-boost-dialog-host button:focus-visible[b-2cwmgelrh7],.profession-boost-target:focus-within[b-2cwmgelrh7] { outline:2px solid #eccd90; outline-offset:3px; }
.profession-boost-header .profession-boost-close[b-2cwmgelrh7] { width:44px; padding:0; font-size:1.5rem; }
.profession-boost-note[b-2cwmgelrh7] { margin:.85rem 0; color:#a9c0cd; font-size:.8rem; line-height:1.65; }
.profession-boost-targets[b-2cwmgelrh7] { display:grid; gap:.5rem; padding:0; margin:0; border:0; }
.profession-boost-targets legend[b-2cwmgelrh7] { margin-bottom:.6rem; color:#e8d6af; font-size:.85rem; }
.profession-boost-target[b-2cwmgelrh7] { display:flex; align-items:center; gap:.65rem; min-height:64px; padding:.65rem .75rem; border:1px solid #425f6d; border-radius:.6rem; background:#102532; cursor:pointer; }
.profession-boost-target.is-selected[b-2cwmgelrh7] { border-color:#d2b577; background:#32413f; }
.profession-boost-target.is-disabled[b-2cwmgelrh7] { cursor:default; color:#90a5af; background:#172b34; }
.profession-boost-target input[b-2cwmgelrh7] { flex:0 0 auto; width:18px; height:18px; accent-color:#d5b77c; }
.profession-boost-target > span[b-2cwmgelrh7] { display:grid; gap:.25rem; flex:1; }
.profession-boost-target strong[b-2cwmgelrh7] { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; font-size:.88rem; }
.profession-boost-target strong small[b-2cwmgelrh7] { border:1px solid #577782; padding:.1rem .3rem; border-radius:.3rem; color:#afc9d4; font-size:.65rem; font-weight:500; }
.profession-boost-target span span[b-2cwmgelrh7] { color:#9eb9c8; font-size:.75rem; }
.profession-boost-target em[b-2cwmgelrh7] { color:#d1b08d; font-size:.72rem; font-style:normal; }
.profession-boost-confirmation[b-2cwmgelrh7] { margin:.85rem 0; padding:.8rem; border:1px solid #526c76; border-radius:.6rem; background:#102532; }
.profession-boost-confirmation dl[b-2cwmgelrh7] { display:grid; gap:.5rem; margin:0; font-size:.78rem; }
.profession-boost-confirmation dl div[b-2cwmgelrh7] { display:flex; justify-content:space-between; gap:.7rem; }
.profession-boost-confirmation dt[b-2cwmgelrh7] { color:#9fb9c7; flex:0 0 auto; }
.profession-boost-confirmation dd[b-2cwmgelrh7] { margin:0; text-align:right; overflow-wrap:anywhere; }
.profession-boost-confirmation dd strong[b-2cwmgelrh7] { color:#efd59b; }
.profession-boost-confirmation dd > span[b-2cwmgelrh7] { margin:0 .4rem; color:#8ea8b6; }
.profession-boost-warning[b-2cwmgelrh7] { color:#e3ae90; font-size:.78rem; line-height:1.6; }
.profession-boost-actions[b-2cwmgelrh7] { display:grid; grid-template-columns:1fr 2fr; gap:.6rem; margin-top:.85rem; }
.profession-boost-actions .profession-boost-confirm[b-2cwmgelrh7] { background:linear-gradient(110deg,#ddbc82,#c6a16a); border-color:#d1af75; color:#192d36; font-weight:600; }
@media(max-width:350px) { .profession-boost-dialog-host[b-2cwmgelrh7]  .profession-boost-dialog { padding:.8rem; } .profession-boost-actions[b-2cwmgelrh7] { grid-template-columns:1fr; } }
/* /Components/ProfessionTraitPanel.razor.rz.scp.css */
.profession-trait[b-7egn03pxm7] { min-width:0; margin:0 0 .8rem; border:1px solid #51677a; border-radius:.7rem; background:linear-gradient(110deg,#284052,#172d3d 72%); color:#dce8ed; overflow:hidden; }
.profession-trait--compact[b-7egn03pxm7] { margin:.25rem 0 0; border:0; border-top:1px solid #3b5362; border-radius:0; background:transparent; }
.profession-trait.profession-trait--compact summary[b-7egn03pxm7] { min-height:44px; padding:.4rem 0; align-items:center; }
.profession-trait--compact .profession-trait__portrait[b-7egn03pxm7],.profession-trait--compact .profession-trait__summary[b-7egn03pxm7] { display:none; }
.profession-trait--compact .profession-trait__heading strong[b-7egn03pxm7] { font-size:.74rem; font-weight:500; color:#d8bb80; }
.profession-trait--compact .profession-trait__eyebrow[b-7egn03pxm7] { font-size:.68rem; letter-spacing:0; font-weight:400; color:#9eb7c6; }
.profession-trait--compact .profession-trait__details[b-7egn03pxm7] { border-radius:.5rem; }
.profession-trait__full-summary[b-7egn03pxm7] { margin:0; color:#b9ced7; font-size:.74rem; line-height:1.6; }
.profession-trait details[b-7egn03pxm7],.profession-trait summary[b-7egn03pxm7],.profession-trait__intro[b-7egn03pxm7],.profession-trait__heading[b-7egn03pxm7],.profession-trait__details[b-7egn03pxm7],.profession-trait__group[b-7egn03pxm7] { min-width:0; }
.profession-trait summary[b-7egn03pxm7] { display:flex; align-items:center; gap:.65rem; padding:.55rem .7rem; cursor:pointer; list-style:none; }
.profession-trait summary[b-7egn03pxm7]::-webkit-details-marker { display:none; }
.profession-trait summary:focus-visible[b-7egn03pxm7] { outline:2px solid #e6bf7d; outline-offset:-3px; }
.profession-trait__portrait[b-7egn03pxm7] { flex:0 0 42px; width:42px; height:42px; border:1px solid #75808a; border-radius:.45rem; overflow:hidden; background:#183144; }
.profession-trait__portrait img[b-7egn03pxm7] { display:block; width:100%; height:100%; object-fit:cover; object-position:center 20%; }
.profession-trait__intro[b-7egn03pxm7] { display:grid; gap:.15rem; flex:1; }
.profession-trait__heading[b-7egn03pxm7] { display:flex; flex-wrap:wrap; align-items:baseline; gap:.2rem .45rem; }
.profession-trait__eyebrow[b-7egn03pxm7] { color:#d5b980; font-size:.61rem; font-weight:700; letter-spacing:.06em; }
.profession-trait__heading strong[b-7egn03pxm7] { color:#f3e5c9; font-size:.85rem; }
.profession-trait__level[b-7egn03pxm7] { color:#ebcb89; font-size:.67rem; font-weight:700; }
.profession-trait__summary[b-7egn03pxm7] { color:#afc5cf; font-size:.72rem; line-height:1.45; overflow-wrap:anywhere; }
.profession-trait__expand[b-7egn03pxm7] { flex:0 0 auto; color:#d7bc89; font-size:1.1rem; line-height:1; transition:transform .16s; }
.profession-trait details[open] .profession-trait__expand[b-7egn03pxm7] { transform:rotate(180deg); }
.profession-trait__details[b-7egn03pxm7] { display:grid; gap:.85rem; padding:.75rem .8rem .85rem; border-top:1px solid #465e6c; background:#172e3e; }
.profession-trait__group h3[b-7egn03pxm7] { margin:0 0 .4rem; color:#e3c995; font-size:.72rem; font-weight:700; }
.profession-trait__group ul[b-7egn03pxm7] { margin:0; padding:0; list-style:none; }
.profession-trait__rules[b-7egn03pxm7] { display:grid; gap:.35rem; }
.profession-trait__rules li[b-7egn03pxm7] { padding-left:.75rem; position:relative; }
.profession-trait__rules li[b-7egn03pxm7]::before { content:'·'; position:absolute; left:.15rem; color:#dfc58c; }
.profession-trait__rules li[b-7egn03pxm7],.profession-trait__growth li[b-7egn03pxm7],.profession-trait__skills li[b-7egn03pxm7] { color:#bdd0d9; font-size:.72rem; line-height:1.55; overflow-wrap:anywhere; }
.profession-trait__growth[b-7egn03pxm7] { display:grid; gap:.35rem; }
.profession-trait__growth li[b-7egn03pxm7] { display:flex; flex-wrap:wrap; gap:.1rem .45rem; padding:.3rem .5rem; border:1px solid #3a5361; border-radius:.4rem; }
.profession-trait__growth-current[b-7egn03pxm7] { border-color:#b4945e!important; background:#b4945e18; }
.profession-trait__growth strong[b-7egn03pxm7] { color:#eed5a3; }
.profession-trait__growth small[b-7egn03pxm7] { color:#94afbc; font-size:.65rem; }
.profession-trait__growth span[b-7egn03pxm7] { flex-basis:100%; }
.profession-trait__skills[b-7egn03pxm7] { display:grid; gap:.35rem; }
.profession-trait__skills li[b-7egn03pxm7] { display:grid; grid-template-columns:minmax(0,7.5rem) minmax(0,1fr); gap:.45rem; padding:.35rem .5rem; border:1px solid #3a5361; border-radius:.4rem; }
.profession-trait__skill-name[b-7egn03pxm7] { display:grid; align-content:start; min-width:0; }
.profession-trait__skill-name strong[b-7egn03pxm7] { color:#dce7e7; }
.profession-trait__skill-name small[b-7egn03pxm7] { color:#9eb4bf; font-size:.62rem; }
@media (max-width:420px) { .profession-trait summary[b-7egn03pxm7] { align-items:flex-start; padding:.5rem .6rem; gap:.5rem; } .profession-trait__portrait[b-7egn03pxm7] { flex-basis:36px; width:36px; height:36px; } .profession-trait__expand[b-7egn03pxm7] { padding-top:.25rem; } .profession-trait__skills li[b-7egn03pxm7] { grid-template-columns:1fr; gap:.15rem; } .profession-trait__skill-name[b-7egn03pxm7] { display:flex; flex-wrap:wrap; align-items:baseline; gap:.2rem .45rem; } }
@media (prefers-reduced-motion:reduce) { .profession-trait__expand[b-7egn03pxm7] { transition:none; } }
/* /Components/ReleaseLogDialog.razor.rz.scp.css */
.release-log-host[b-czybqh6u2z]  .release-log-dialog { overflow:hidden; }
.release-log-host[b-czybqh6u2z]  .release-log-dialog[open] { display:flex; flex-direction:column; }
.release-log__body[b-czybqh6u2z] { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; padding-right:.15rem; }
.release-log__header[b-czybqh6u2z] { display:flex; flex-shrink:0; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:1.45rem; }
.release-log__eyebrow[b-czybqh6u2z] { color:#bfa06a; font-size:.68rem; font-weight:700; letter-spacing:.14em; }
.release-log__header h2[b-czybqh6u2z] { margin:.18rem 0 .2rem; font-family:Georgia,serif; font-size:1.4rem; }
.release-log__header p[b-czybqh6u2z] { margin:0; color:#aabfce; font-size:.8rem; }
.release-log__close[b-czybqh6u2z] { display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; border:1px solid #62788c; border-radius:.65rem; background:#17283a; color:#e4edf3; font-size:1.4rem; cursor:pointer; }
.release-log__close:hover[b-czybqh6u2z] { background:#2c4357; }
.release-log__version-line[b-czybqh6u2z] { display:flex; align-items:center; gap:.7rem; flex-wrap:wrap; }
.release-log__version-line strong[b-czybqh6u2z] { color:#efc77e; font-size:1.18rem; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.release-log__current-label[b-czybqh6u2z] { padding:.12rem .45rem; border:1px solid #806b48; border-radius:.3rem; background:#3d3426; color:#efcb8b; font-size:.67rem; }
.release-log__current > time[b-czybqh6u2z] { display:block; margin-top:.3rem; color:#9fb4c5; font-size:.75rem; font-variant-numeric:tabular-nums; }
.release-log__current > h3[b-czybqh6u2z] { margin:1rem 0 1.1rem; color:#e6eef4; font-size:1rem; font-weight:700; line-height:1.5; overflow-wrap:anywhere; }
.release-log__history[b-czybqh6u2z] { margin-top:1.5rem; padding-top:1rem; border-top:1px solid #40566c; }
.release-log__history > h3[b-czybqh6u2z] { margin:0 0 .35rem; color:#9eb4c5; font-size:.73rem; font-weight:600; }
.release-log__past[b-czybqh6u2z] { border-bottom:1px solid #354c62; }
.release-log__past summary[b-czybqh6u2z] { display:flex; align-items:center; gap:.8rem; min-height:48px; padding:.5rem 0; color:#c0d0dd; font-size:.82rem; list-style:none; cursor:pointer; }
.release-log__past summary[b-czybqh6u2z]::-webkit-details-marker { display:none; }
.release-log__past-version[b-czybqh6u2z] { color:#cfdeea; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.release-log__past summary time[b-czybqh6u2z] { margin-left:auto; color:#93aabd; font-size:.72rem; white-space:nowrap; }
.release-log__past-arrow[b-czybqh6u2z] { color:#b4c7d5; transition:transform .15s; }
.release-log__past[open] .release-log__past-arrow[b-czybqh6u2z] { transform:rotate(180deg); }
.release-log__past > h4[b-czybqh6u2z] { margin:.25rem 0 .85rem; color:#cddde8; font-size:.9rem; }
.release-log__past[b-czybqh6u2z]  .release-sections { padding-bottom:1rem; }
.release-log__footer[b-czybqh6u2z] { display:flex; flex-shrink:0; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.7rem; margin-top:1.3rem; padding-top:1rem; border-top:1px solid #40566c; }
.release-log__read-state[b-czybqh6u2z] { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem; color:#9fb7c8; font-size:.72rem; }
.release-log__read-state button[b-czybqh6u2z] { min-height:44px; padding:.3rem .4rem; border:0; border-radius:.25rem; background:transparent; color:#edc785; font-size:.75rem; cursor:pointer; }
@media(prefers-reduced-motion:reduce) { .release-log__past-arrow[b-czybqh6u2z] { transition:none; } }
/* /Components/ReleaseLogEntry.razor.rz.scp.css */
.release-entry[b-aqg7oaf9kc] { display:inline-flex; align-items:center; flex:1 1 0; min-width:0; flex-wrap:wrap; gap:.45rem; min-height:44px; padding:.4rem 0; border:0; background:transparent; color:#d6e2ec; text-align:left; font-size:.83rem; font-weight:600; cursor:pointer; }
.release-entry > span:not(.release-entry__version)[b-aqg7oaf9kc] { white-space:nowrap; }
.release-entry:hover[b-aqg7oaf9kc] { color:#f2cf92; }
.release-entry svg[b-aqg7oaf9kc] { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; }
.release-entry__version[b-aqg7oaf9kc] { color:#9fb3c5; font-size:.73rem; font-weight:400; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.release-entry__new[b-aqg7oaf9kc] { padding:.06rem .35rem; border:1px solid #79603c; border-radius:.3rem; background:#4b3b26; color:#f2cf92; font-size:.65rem; line-height:1.4; }
/* /Components/ReleaseLogSections.razor.rz.scp.css */
.release-sections[b-f5ngrpqxyd] { display:grid; gap:1rem; }
.release-section[b-f5ngrpqxyd] { display:grid; grid-template-columns:2.5rem minmax(0,1fr); align-items:start; gap:.7rem; }
.release-section__category[b-f5ngrpqxyd] { margin:.1rem 0 0; padding:.12rem .3rem; border-radius:.3rem; background:#2b4053; color:#cad9e5; text-align:center; font-size:.7rem; font-weight:700; line-height:1.6; }
.release-section__category--new[b-f5ngrpqxyd] { background:#4c3d29; color:#f3d198; }
.release-section ul[b-f5ngrpqxyd] { margin:0; padding:0 0 0 .95rem; display:grid; gap:.6rem; }
.release-section li[b-f5ngrpqxyd] { padding-left:.05rem; color:#d7e3ed; font-size:.84rem; line-height:1.7; overflow-wrap:anywhere; }
.release-section li[b-f5ngrpqxyd]::marker { color:#8ca5ba; font-size:.65rem; }
@media(max-width:430px) { .release-section[b-f5ngrpqxyd] { grid-template-columns:2.2rem minmax(0,1fr); gap:.45rem; } .release-section li[b-f5ngrpqxyd] { font-size:.8rem; } }
/* /Components/ReleaseUpdatePrompt.razor.rz.scp.css */
.release-prompt[b-g8ykpxwgu6] { position:fixed; z-index:1050; right:.75rem; bottom:calc(5.8rem + env(safe-area-inset-bottom,0px)); box-sizing:border-box; width:min(23rem,calc(100vw - 1.5rem)); max-height:calc(100dvh - 11rem); overflow:auto; display:flex; align-items:flex-start; gap:.7rem; margin:0; padding:.65rem .7rem; border:1px solid #806a46; border-radius:.75rem; background:linear-gradient(115deg,#29353b,#192c3b); color:#e4edf3; box-shadow:0 5px 16px #030c1530; }
.release-prompt__icon[b-g8ykpxwgu6] { flex:0 0 auto; padding-top:.15rem; color:#edc373; font-size:1.1rem; }
.release-prompt__copy[b-g8ykpxwgu6] { min-width:0; flex:1; }
.release-prompt__copy strong[b-g8ykpxwgu6] { font-size:.84rem; font-weight:700; }
.release-prompt__copy strong span[b-g8ykpxwgu6] { color:#f1cc89; font-variant-numeric:tabular-nums; }
.release-prompt__copy p[b-g8ykpxwgu6] { margin:.15rem 0 0; color:#b6c6d1; font-size:.75rem; overflow-wrap:anywhere; }
.release-prompt__actions[b-g8ykpxwgu6] { display:flex; align-items:center; gap:1rem; flex-wrap:wrap; }
.release-prompt__actions button[b-g8ykpxwgu6] { min-height:44px; padding:.35rem 0; border:0; background:transparent; font-size:.78rem; cursor:pointer; }
.release-prompt__view[b-g8ykpxwgu6] { color:#f2ce8e; font-weight:700; }
.release-prompt__view:hover[b-g8ykpxwgu6] { color:#ffe1aa; }
.release-prompt__later[b-g8ykpxwgu6] { color:#b6c6d1; }
.release-prompt__later:hover[b-g8ykpxwgu6] { color:#e7eff4; }
.release-prompt__close[b-g8ykpxwgu6] { flex:0 0 44px; width:44px; height:44px; padding:0; border:0; border-radius:.5rem; background:transparent; color:#becdd8; font-size:1.3rem; cursor:pointer; }
.release-prompt__close:hover[b-g8ykpxwgu6] { background:#34444f; color:#fff0d1; }
@media(max-width:430px) { .release-prompt[b-g8ykpxwgu6] { right:.5rem; width:calc(100vw - 1rem); gap:.45rem; } }
/* /Components/RoomChallengeNotice.razor.rz.scp.css */
.room-challenge-notice[b-7yw6208078] { display:flex; flex:0 0 auto; align-items:center; gap:1rem; padding:.8rem 1rem; margin:.5rem 0; border:1px solid #9c815277; border-radius:12px; color:#d2e1ea; background:linear-gradient(110deg,#354536,#1c3445); }
.room-challenge-notice > div[b-7yw6208078] { flex:1; min-width:0; }
.room-challenge-notice strong[b-7yw6208078] { color:#efd19b; font-size:.85rem; }
.room-challenge-notice p[b-7yw6208078] { margin:.4rem 0; font-size:.82rem; line-height:1.6; overflow-wrap:anywhere; }
.room-challenge-notice b[b-7yw6208078] { color:#f2d4a0; font-weight:550; }
.room-challenge-notice small[b-7yw6208078] { color:#a6becd; font-size:.72rem; line-height:1.6; }
.room-challenge-notice button[b-7yw6208078] { flex:0 0 auto; min-height:44px; padding:.6rem .9rem; border:1px solid #bd9e68; border-radius:9px; background:#203447; color:#ead09f; font-size:.8rem; }
.room-challenge-notice button:disabled[b-7yw6208078] { opacity:.6; }
.room-challenge-notice button:focus-visible[b-7yw6208078] { outline:2px solid #e4c28a; outline-offset:3px; }
.room-challenge-notice .room-challenge-notice__error[b-7yw6208078] { color:#edc1a3; font-size:.75rem; }
@media(max-width:600px) { .room-challenge-notice[b-7yw6208078] { align-items:flex-start; flex-wrap:wrap; gap:.5rem; padding:.75rem; } .room-challenge-notice > div[b-7yw6208078] { flex:1 1 100%; } .room-challenge-notice button[b-7yw6208078] { margin-left:auto; } }
/* /Components/RoomChallengePicker.razor.rz.scp.css */
.room-challenge-host[b-0r26hvxaor]  .room-challenge-dialog { box-sizing:border-box; inset:0; width:min(680px,calc(100vw - 40px)); max-height:min(820px,calc(100dvh - 48px)); margin:auto; padding:0; overflow:hidden; border:1px solid #607488; border-top-color:#b6a07a; border-radius:20px; background:linear-gradient(145deg,#203243,#142536 55%,#111f2e); box-shadow:0 28px 90px #0008; color:#d9e3ea; text-align:left; }
.room-challenge-host[b-0r26hvxaor]  .room-challenge-dialog[open] { display:flex; flex-direction:column; }
.room-challenge-host[b-0r26hvxaor]  .room-challenge-dialog::backdrop { background:#030b16b8; backdrop-filter:blur(8px); }
.room-challenge-head[b-0r26hvxaor] { display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; border-bottom:1px solid #a8bed11c; }
.room-challenge-head > div[b-0r26hvxaor] { min-width:0; }
.room-challenge-head span[b-0r26hvxaor] { color:#c7ac7c; font-size:.7rem; }
.room-challenge-head h2[b-0r26hvxaor] { margin:.25rem 0; color:#f3e7d4; font-size:1.2rem; }
.room-challenge-head p[b-0r26hvxaor] { margin:0; color:#a5b9c9; font-size:.78rem; overflow-wrap:anywhere; }
.room-challenge-head .battle-float__close[b-0r26hvxaor] { width:44px; height:44px; flex:0 0 44px; padding:0; border:1px solid #71899d45; border-radius:12px; color:#b9cad7; background:#0b1a285c; font-size:26px; }
.room-challenge-body[b-0r26hvxaor] { flex:1 1 auto; min-height:0; min-width:0; padding:20px 24px; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#52687a transparent; overflow-wrap:anywhere; }
.room-challenge-current[b-0r26hvxaor] { display:grid; gap:.4rem; padding:12px 16px; border:1px solid #435c70; border-radius:10px; background:#1026358c; }
.room-challenge-current span[b-0r26hvxaor],.room-challenge-select > span[b-0r26hvxaor] { color:#95aebb; font-size:.75rem; }
.room-challenge-current strong[b-0r26hvxaor] { color:#e1cfac; font-size:.9rem; }
.room-challenge-select[b-0r26hvxaor] { display:grid; gap:.5rem; margin:1rem 0; }
.room-challenge-select select[b-0r26hvxaor] { width:100%; min-width:0; min-height:44px; padding:.6rem .7rem; border:1px solid #58758a; border-radius:8px; color:#dce8ef; background:#132b3c; font-size:.85rem; }
.room-challenge-selected > div > span[b-0r26hvxaor] { color:#b2c7d5; font-size:.7rem; }
.room-challenge-selected h3[b-0r26hvxaor] { margin:.4rem 0; color:#e5d5b9; font-size:1rem; }
.room-challenge-selected > div > p[b-0r26hvxaor],.room-challenge-description[b-0r26hvxaor],.room-challenge-hint[b-0r26hvxaor],.room-challenge-loading[b-0r26hvxaor] { color:#a4bccb; font-size:.78rem; line-height:1.65; }
.room-challenge-selected[b-0r26hvxaor]  .depth-picker { margin-top:1rem; }
.room-challenge-lock[b-0r26hvxaor] { color:#e6c294; font-size:.8rem; }
.room-challenge-feedback[b-0r26hvxaor] { padding:.7rem .8rem; margin:0 0 .8rem; border:1px solid #897149; border-radius:9px; color:#e0c592; background:#51412b55; font-size:.8rem; line-height:1.65; }
.room-challenge-feedback--error[b-0r26hvxaor] { border-color:#8d605b; color:#edbfb4; background:#50383355; }
.room-challenge-review[b-0r26hvxaor] { padding:16px; border:1px solid #8e7856; border-radius:12px; background:#1c3343; }
.room-challenge-review h3[b-0r26hvxaor] { margin:0 0 1rem; color:#edd7ac; font-size:.95rem; }
.room-challenge-review dl[b-0r26hvxaor] { display:grid; gap:.85rem; margin:0; }
.room-challenge-review dt[b-0r26hvxaor] { color:#a5bac6; font-size:.72rem; font-weight:400; }
.room-challenge-review dd[b-0r26hvxaor] { margin:.35rem 0 0; color:#e0e9ef; font-size:.92rem; }
.room-challenge-review dl > div:last-child dd[b-0r26hvxaor] { color:#ebcb91; }
.room-challenge-review ul[b-0r26hvxaor] { padding-left:1.2rem; margin:1.2rem 0 .7rem; color:#c0d0da; font-size:.8rem; line-height:1.8; }
.room-challenge-review p[b-0r26hvxaor] { margin:0; color:#a6bdcb; font-size:.76rem; line-height:1.6; }
.room-challenge-blockers[b-0r26hvxaor] { margin:.8rem 0; padding:0; list-style:none; color:#e4c199; font-size:.78rem; }
.room-challenge-blockers li[b-0r26hvxaor] { display:flex; justify-content:space-between; gap:.5rem; flex-wrap:wrap; padding:.4rem 0; }
.room-challenge-foot[b-0r26hvxaor] { display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.65rem; padding:16px 24px; border-top:1px solid #a8bed11c; background:#0b19275e; }
.room-challenge-primary[b-0r26hvxaor],.room-challenge-secondary[b-0r26hvxaor] { min-height:44px; padding:.65rem .85rem; border:1px solid #577285; border-radius:9px; color:#c6dce9; background:#20394b; font-size:.8rem; line-height:1.5; }
.room-challenge-primary[b-0r26hvxaor] { margin-left:auto; border-color:#c8a367; background:linear-gradient(115deg,#dfbc80,#c69c5b); color:#192b36; font-weight:650; }
.room-challenge-host button:disabled[b-0r26hvxaor] { opacity:.45; cursor:not-allowed; }
.room-challenge-host :is(button,select):focus-visible[b-0r26hvxaor],.room-challenge-body:focus-visible[b-0r26hvxaor] { outline:2px solid #e4c28a; outline-offset:3px; }
@media(max-width:600px) {
 .room-challenge-host[b-0r26hvxaor]  .room-challenge-dialog { width:calc(100vw - 24px); max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); border-radius:16px; }
 .room-challenge-head[b-0r26hvxaor] { padding:16px; gap:10px; }
 .room-challenge-head h2[b-0r26hvxaor] { font-size:1.06rem; }
 .room-challenge-body[b-0r26hvxaor] { padding:16px; }
 .room-challenge-foot[b-0r26hvxaor] { padding:12px 16px; }
 .room-challenge-foot button[b-0r26hvxaor] { flex:1; }
 .room-challenge-foot .room-challenge-primary[b-0r26hvxaor] { flex:1 1 100%; }
}
/* /Components/RoomDeploymentBatchPanel.razor.rz.scp.css */
.deployment-batch-host[b-qw20vgpmp8]  .deployment-batch-dialog{width:min(700px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;display:flex;flex-direction:column;overflow:hidden;background:#fffdf7;color:#33332a;border:1px solid #d9d3bf;border-radius:16px;box-shadow:0 18px 70px #0004}
.deployment-batch-head[b-qw20vgpmp8]{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px 14px;border-bottom:1px solid #e8e2d3}.deployment-batch-head h2[b-qw20vgpmp8]{font-size:1.2rem;margin:0 0 5px}.deployment-batch-head p[b-qw20vgpmp8],.deployment-batch-help[b-qw20vgpmp8]{font-size:.83rem;line-height:1.6;color:#706d60;margin:0}.deployment-batch-head>button[b-qw20vgpmp8]{border:0;background:transparent;font-size:1.5rem;padding:0 5px}
.deployment-batch-body[b-qw20vgpmp8]{overflow:auto;padding:18px 22px;display:grid;gap:16px}.deployment-batch-body fieldset[b-qw20vgpmp8]{border:0;padding:0;margin:0;min-width:0;display:grid;gap:16px}.deployment-batch-tabs[b-qw20vgpmp8]{display:flex;gap:6px;padding:4px;background:#efece2;border-radius:10px}.deployment-batch-tabs button[b-qw20vgpmp8]{flex:1;border:0;border-radius:7px;background:transparent;padding:9px 5px;color:#666052}.deployment-batch-tabs button[aria-pressed=true][b-qw20vgpmp8]{background:#fffdf7;color:#3b584a;box-shadow:0 1px 4px #0001;font-weight:700}
.deployment-batch-add[b-qw20vgpmp8]{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:14px}.deployment-batch-add label[b-qw20vgpmp8]{display:grid;gap:7px;font-size:.85rem}.deployment-batch-body select[b-qw20vgpmp8]{width:100%;max-width:100%;min-width:0;background:#fff;border:1px solid #d5cfbd;border-radius:7px;padding:9px;font:inherit;font-size:.85rem}.deployment-batch-units[b-qw20vgpmp8]{display:grid;gap:10px}.deployment-batch-unit[b-qw20vgpmp8]{padding:13px;border:1px solid #ded9cb;border-radius:10px;display:grid;gap:10px}.deployment-batch-unit label[b-qw20vgpmp8]{display:flex;align-items:center;gap:11px;cursor:pointer}.deployment-batch-unit input[b-qw20vgpmp8]{width:18px;height:18px;accent-color:#456b53}.deployment-batch-unit label span[b-qw20vgpmp8]{display:grid;gap:3px}.deployment-batch-unit small[b-qw20vgpmp8]{font-size:.77rem;color:#797260}.deployment-batch-unit .deployment-batch-updated[b-qw20vgpmp8]{color:#946b2b}.deployment-batch-notice[b-qw20vgpmp8]{padding:10px 12px;background:#edf2e7;border-radius:7px;color:#426344;font-size:.85rem;margin:0}
.deployment-batch-foot[b-qw20vgpmp8]{padding:14px 22px;border-top:1px solid #e8e2d3;display:flex;align-items:center;gap:12px}.deployment-batch-foot a[b-qw20vgpmp8]{font-size:.8rem;color:#57765b;margin-right:auto}.deployment-batch-foot button[b-qw20vgpmp8]{border:1px solid #cfc7b5;border-radius:7px;padding:9px 12px;background:#fffdf7;font-size:.84rem}.deployment-batch-foot .button--primary[b-qw20vgpmp8]{background:#466951;color:#fff;border-color:#466951}.deployment-batch-foot button:disabled[b-qw20vgpmp8]{opacity:.5}
.deployment-batch-add-slots[b-qw20vgpmp8]{display:grid;gap:10px}.deployment-batch-add-slots label[b-qw20vgpmp8]{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;font-size:.82rem;gap:8px}.deployment-batch-fill button[b-qw20vgpmp8],.deployment-batch-memory button[b-qw20vgpmp8]{background:#f5f2e9;border:1px solid #d6cfbd;border-radius:7px;padding:8px 10px;font-size:.78rem}.deployment-batch-memory[b-qw20vgpmp8]{display:flex;flex-wrap:wrap;gap:8px}.deployment-batch-memory small[b-qw20vgpmp8]{flex-basis:100%;color:#706d60;font-size:.74rem;line-height:1.5}
@media(max-width:520px){.deployment-batch-head[b-qw20vgpmp8]{padding:17px 16px 12px}.deployment-batch-body[b-qw20vgpmp8]{padding:15px 16px}.deployment-batch-foot[b-qw20vgpmp8]{padding:12px 16px;gap:8px;flex-wrap:wrap}.deployment-batch-foot a[b-qw20vgpmp8]{flex-basis:100%}.deployment-batch-foot .button--primary[b-qw20vgpmp8]{margin-left:auto}.deployment-batch-head p[b-qw20vgpmp8]{font-size:.78rem}}

.deployment-batch-host[b-qw20vgpmp8]  .deployment-batch-dialog{background:#102333;color:#dbe5ed;border-color:#4b6275;box-shadow:0 18px 70px #0009}
.deployment-batch-head[b-qw20vgpmp8],.deployment-batch-foot[b-qw20vgpmp8]{border-color:#3d5365}.deployment-batch-head h2[b-qw20vgpmp8]{color:#f2dfb9}.deployment-batch-head p[b-qw20vgpmp8],.deployment-batch-help[b-qw20vgpmp8],.deployment-batch-memory small[b-qw20vgpmp8]{color:#a9bac7}.deployment-batch-head>button[b-qw20vgpmp8]{color:#d4e1ea;background:transparent}
.deployment-batch-tabs[b-qw20vgpmp8]{background:#0c1b28}.deployment-batch-tabs button[b-qw20vgpmp8]{color:#aabdc9}.deployment-batch-tabs button[aria-pressed=true][b-qw20vgpmp8]{background:#2b4457;color:#f4dfb3}
.deployment-batch-body select[b-qw20vgpmp8],.deployment-batch-body option[b-qw20vgpmp8]{background:#122a3b;color:#e1e9ef;border-color:#536b7f}.deployment-batch-body option:disabled[b-qw20vgpmp8]{color:#95a4b1}.deployment-batch-unit[b-qw20vgpmp8]{border-color:#40576a;background:#142b3b}.deployment-batch-unit strong[b-qw20vgpmp8],.deployment-batch-add label[b-qw20vgpmp8],.deployment-batch-add-slots label[b-qw20vgpmp8]{color:#dbe5ed}.deployment-batch-unit small[b-qw20vgpmp8]{color:#afc0cc}.deployment-batch-unit .deployment-batch-updated[b-qw20vgpmp8]{color:#e9c482}
.deployment-batch-fill button[b-qw20vgpmp8],.deployment-batch-memory button[b-qw20vgpmp8],.deployment-batch-foot button[b-qw20vgpmp8]{background:#1b3548;color:#dce7ef;border-color:#536b7f}.deployment-batch-foot a[b-qw20vgpmp8]{color:#c3d6e3}.deployment-batch-foot .button--primary[b-qw20vgpmp8]{background:#aa8250;color:#0a1b27;border-color:#c6a06c;font-weight:700}.deployment-batch-notice[b-qw20vgpmp8]{background:#213f3b;color:#c8e3ce}.deployment-batch-body button:disabled[b-qw20vgpmp8],.deployment-batch-foot button:disabled[b-qw20vgpmp8],.deployment-batch-body select:disabled[b-qw20vgpmp8]{color:#9cacb8;opacity:.68}
.deployment-batch-body button[b-qw20vgpmp8],.deployment-batch-body select[b-qw20vgpmp8],.deployment-batch-foot button[b-qw20vgpmp8]{min-height:44px}.deployment-batch-head>button[b-qw20vgpmp8]{width:44px;height:44px;flex-shrink:0}

.deployment-batch-host[b-qw20vgpmp8]  .deployment-batch-dialog { max-height:calc(100dvh - var(--app-top-inset) - 24px); }
.deployment-batch-slot-preview[b-qw20vgpmp8] { display:flex;gap:6px;flex-wrap:wrap;margin:14px 0; }
.deployment-batch-slot-preview span[b-qw20vgpmp8] { border:1px dashed #c4aa7277;border-radius:6px;padding:8px;color:#c6d0cf;background:#98874914;font-size:12px; }
.deployment-batch-slot-preview b[b-qw20vgpmp8] { color:#ead29d; }
.deployment-advanced-toggle[b-qw20vgpmp8] { min-height:44px;padding:8px 2px;border:0;background:transparent;color:#c3ba9b;cursor:pointer; }
.deployment-batch-foot[b-qw20vgpmp8]{flex-shrink:0}.deployment-batch-body[b-qw20vgpmp8]{min-height:0;overscroll-behavior:contain}.deployment-batch-fill[b-qw20vgpmp8]{display:flex;flex-wrap:wrap;gap:6px}.deployment-unit-target small[b-qw20vgpmp8]{display:block;line-height:1.6;color:#d8c8a6}.deployment-batch-unit[b-qw20vgpmp8]{padding:10px;gap:6px}.deployment-batch-unit label span[b-qw20vgpmp8]{min-width:0;overflow-wrap:anywhere}.deployment-batch-foot .button--primary[b-qw20vgpmp8]{flex:1}.deployment-batch-foot button[b-qw20vgpmp8]{white-space:normal}.deployment-batch-foot a[b-qw20vgpmp8]{overflow-wrap:anywhere}
/* /Components/RoomFormationPanel.razor.rz.scp.css */
.room-formation-host[b-jtmjr5bvd1]  .room-formation-dialog { box-sizing:border-box; inset:0; width:min(660px,calc(100vw - 40px)); max-height:min(800px,calc(100dvh - 48px)); margin:auto; padding:0; overflow:hidden; border:1px solid #607488; border-top-color:#b6a07a; border-radius:20px; background:linear-gradient(145deg,#203243,#142536 55%,#111f2e); box-shadow:0 28px 90px #0008,0 8px 24px #0005; color:#d9e3ea; text-align:left; }
.room-formation-host[b-jtmjr5bvd1]  .room-formation-dialog[open] { display:flex; flex-direction:column; }
.room-formation-host[b-jtmjr5bvd1]  .room-formation-dialog::backdrop { background:#030b16b8; backdrop-filter:blur(8px); }
.room-formation-head[b-jtmjr5bvd1] { display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; border-bottom:1px solid #a8bed11c; }
.room-formation-head > div[b-jtmjr5bvd1] { min-width:0; }
.room-formation-kicker[b-jtmjr5bvd1] { color:#c7ac7c; font-size:.7rem; }
.room-formation-head h2[b-jtmjr5bvd1] { margin:.25rem 0; color:#f3e7d4; font-size:1.2rem; }
.room-formation-head p[b-jtmjr5bvd1] { margin:0; color:#a5b9c9; font-size:.78rem; overflow-wrap:anywhere; }
.room-formation-head .battle-float__close[b-jtmjr5bvd1] { width:44px; height:44px; flex:0 0 44px; padding:0; border:1px solid #71899d45; border-radius:12px; color:#b9cad7; background:#0b1a285c; font-size:26px; }
.room-formation-body[b-jtmjr5bvd1] { flex:1 1 auto; min-height:0; min-width:0; padding:20px 24px; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#52687a transparent; overflow-wrap:anywhere; }
.room-formation-current[b-jtmjr5bvd1] { padding:16px; border:1px solid #425b6e; border-radius:12px; background:#1026358c; }
.room-formation-current h3[b-jtmjr5bvd1] { margin:0 0 .8rem; color:#e3d3b9; font-size:.84rem; }
.room-formation-current[b-jtmjr5bvd1]  .weapon-loadout-stats { margin-top:14px; }
.room-formation-facts[b-jtmjr5bvd1] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem 1rem; margin:.9rem 0 0; padding-top:.8rem; border-top:1px solid #3f5666; }
.room-formation-facts dt[b-jtmjr5bvd1] { color:#92adbd; font-size:.68rem; font-weight:400; }
.room-formation-facts dd[b-jtmjr5bvd1] { margin:.2rem 0 0; color:#d9e2e8; font-size:.76rem; }
.room-formation-facts__supplies[b-jtmjr5bvd1] { grid-column:1/-1; }
.room-formation-policies[b-jtmjr5bvd1] { margin-top:.7rem; color:#a8becc; font-size:.75rem; }
.room-formation-policies summary[b-jtmjr5bvd1] { min-height:44px; align-content:center; cursor:pointer; }
.room-formation-policies p[b-jtmjr5bvd1] { display:flex; align-items:start; justify-content:space-between; flex-wrap:wrap; gap:.3rem .8rem; margin:.5rem 0; font-size:.7rem; }
.room-formation-policies strong[b-jtmjr5bvd1] { font-weight:500; }
.room-formation-policies span[b-jtmjr5bvd1] { color:#96b0bf; }
.room-formation-warning[b-jtmjr5bvd1],.room-formation-error[b-jtmjr5bvd1],.room-formation-notice[b-jtmjr5bvd1] { margin:.75rem 0; padding:.7rem .8rem; border:1px solid #99734b; border-radius:8px; color:#e1c798; background:#493e2938; font-size:.78rem; line-height:1.6; }
.room-formation-error[b-jtmjr5bvd1] { color:#efb8b1; border-color:#935f59; background:#553b3738; }
.room-formation-notice[b-jtmjr5bvd1] { color:#bce1cd; border-color:#557e72; background:#24463b55; }
.room-formation-source[b-jtmjr5bvd1],.room-formation-hint[b-jtmjr5bvd1] { margin:.8rem 0; color:#a8becb; font-size:.76rem; line-height:1.6; }
.room-formation-source[b-jtmjr5bvd1] { color:#dbc79d; }
.room-formation-choice[b-jtmjr5bvd1] { display:flex; align-items:center; justify-content:space-between; gap:.8rem; width:100%; min-height:64px; padding:.7rem; border:1px solid #456074; border-radius:10px; background:#1c3547; color:#d9e4eb; text-align:left; }
.room-formation-choice > span:first-child[b-jtmjr5bvd1] { flex:1; min-width:0; }
.room-formation-choice small[b-jtmjr5bvd1] { display:block; color:#95afbf; font-size:.66rem; }
.room-formation-choice strong[b-jtmjr5bvd1] { display:block; margin-top:.3rem; font-size:.82rem; overflow-wrap:anywhere; }
.room-formation-choice > span:last-child[b-jtmjr5bvd1] { flex:0 0 auto; color:#d3b986; font-size:.72rem; }
.room-formation-options[b-jtmjr5bvd1] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; margin-top:.75rem; }
.room-formation-option[b-jtmjr5bvd1] { display:block; min-width:0; padding:.7rem; border:1px solid #496176; border-radius:10px; color:#d7e3ec; background:#142b3b; text-align:left; }
.room-formation-option[aria-pressed=true][b-jtmjr5bvd1] { border-color:#d4b378; background:#324339; }
.room-formation-option-meta[b-jtmjr5bvd1] { display:block; margin-bottom:.6rem; color:#b4c6d0; font-size:.68rem; }
.room-formation-option > small[b-jtmjr5bvd1] { display:block; margin-top:.5rem; color:#e2bf98; }
.room-formation-foot[b-jtmjr5bvd1] { display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; gap:.8rem; padding:16px 24px; border-top:1px solid #a8bed11c; background:#0b19275e; }
.room-formation-links[b-jtmjr5bvd1] { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; }
.room-formation-links a[b-jtmjr5bvd1],.room-formation-links button[b-jtmjr5bvd1] { display:flex; align-items:center; min-height:44px; padding:.5rem .65rem; border:1px solid #536c80; border-radius:8px; color:#cadde8; background:#203a4d; font-size:.76rem; text-decoration:none; }
.room-formation-primary[b-jtmjr5bvd1] { min-width:0; min-height:46px; padding:.65rem 1rem; border:1px solid #c8a367; border-radius:10px; background:linear-gradient(115deg,#dfbc80,#c69c5b); color:#192b36; font-size:.8rem; font-weight:650; line-height:1.5; }
.room-formation-host button:disabled[b-jtmjr5bvd1] { opacity:.45; cursor:not-allowed; }
.room-formation-host :is(button,a):focus-visible[b-jtmjr5bvd1],.room-formation-body:focus-visible[b-jtmjr5bvd1] { outline:2px solid #e4c28a; outline-offset:3px; }
.room-formation-loading[b-jtmjr5bvd1] { padding:2rem 0; text-align:center; color:#abc3d2; }
@media(max-width:600px) {
 .room-formation-host[b-jtmjr5bvd1]  .room-formation-dialog { width:calc(100vw - 24px); max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); border-radius:16px; }
 .room-formation-head[b-jtmjr5bvd1] { padding:16px; gap:10px; }
 .room-formation-head h2[b-jtmjr5bvd1] { font-size:1.06rem; }
 .room-formation-body[b-jtmjr5bvd1] { padding:16px; }
 .room-formation-current[b-jtmjr5bvd1] { padding:12px; }
 .room-formation-choice[b-jtmjr5bvd1] { flex-wrap:wrap; }
 .room-formation-choice > span:last-child[b-jtmjr5bvd1] { width:100%; }
 .room-formation-options[b-jtmjr5bvd1] { grid-template-columns:minmax(0,1fr); }
 .room-formation-foot[b-jtmjr5bvd1] { padding:12px 16px; flex-wrap:wrap; }
 .room-formation-links[b-jtmjr5bvd1] { flex:1 1 100%; }
 .room-formation-links a[b-jtmjr5bvd1] { flex:1; justify-content:center; }
 .room-formation-primary[b-jtmjr5bvd1] { flex:1; width:100%; }
}
.room-formation-current[b-jtmjr5bvd1]{margin-top:12px}.room-formation-current>summary[b-jtmjr5bvd1]{cursor:pointer;min-height:32px;color:#c6d3d9;font-size:.8rem}
/* /Components/RoomOperations.razor.rz.scp.css */
.room-operations[b-iwk8c11gcv] { margin: 12px 0; padding: 12px; border: 1px solid #69775f; border-radius: 12px; background: #1d302e; color: #e9f2ec; }
.room-operations__item[b-iwk8c11gcv] { display: flex; align-items: center; gap: 12px; }
.room-operations__item + .room-operations__item[b-iwk8c11gcv] { margin-top: 12px; padding-top: 12px; border-top: 1px solid #405653; }
.room-operations__item > div[b-iwk8c11gcv] { flex: 1; min-width: 0; }
.room-operations__item strong[b-iwk8c11gcv] { display: block; margin-bottom: 4px; color: #e5bc6d; font-size: 12px; }
.room-operations__item span[b-iwk8c11gcv], .room-operations__result[b-iwk8c11gcv] { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.room-operations__result[b-iwk8c11gcv] { margin: 8px 0 0; color: #b6daca; }
.room-operations__result--failed[b-iwk8c11gcv] { color: #ffb1b6; }
.room-operations__item button[b-iwk8c11gcv] { flex-shrink: 0; }
.room-operation-history[b-iwk8c11gcv] { margin: 12px 0; padding: 10px 12px; border: 1px solid #405653; border-radius: 10px; color: #b6daca; background: #1d302e; }
.room-operation-history summary[b-iwk8c11gcv] { cursor: pointer; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.room-operation-history__failed-count[b-iwk8c11gcv] { color: #ffb1b6; }
.room-operation-history ol[b-iwk8c11gcv] { margin: 10px 0 0; padding: 0; list-style: none; }
.room-operation-history li + li[b-iwk8c11gcv] { padding-top: 8px; border-top: 1px solid #405653; }
.room-operation-history strong[b-iwk8c11gcv] { display: block; font-size: 12px; }
.room-operation-history li span[b-iwk8c11gcv] { display: block; }
.room-operation-history summary:focus-visible[b-iwk8c11gcv] { outline: 2px solid #e5bc6d; outline-offset: 3px; }
.room-operation-history__actions[b-iwk8c11gcv] { display: flex; justify-content: flex-end; margin-top: 8px; }
/* /Components/RoomProfessionExperience.razor.rz.scp.css */
.profession-experience[b-vzu46vyrdw] { margin: 1rem 0; }
.profession-experience h4[b-vzu46vyrdw] { margin: 0 0 .6rem; font-size: .9rem; color: #e7ce96; }
.profession-experience ul[b-vzu46vyrdw] { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.profession-experience li[b-vzu46vyrdw] { display: grid; gap: .2rem; padding: .6rem .75rem; border: 1px solid #405a6f; border-radius: .5rem; }
.profession-experience strong[b-vzu46vyrdw] { display: flex; justify-content: space-between; gap: 1rem; }
.profession-experience strong span[b-vzu46vyrdw] { color: #f0bd62; }
.profession-experience small[b-vzu46vyrdw] { color: #9fb3c1; font-size: .75rem; }
/* /Components/RoomRewards.razor.rz.scp.css */
.room-loot[b-xervlhonla] { color: #d6e0e7; }
.room-loot__totals[b-xervlhonla], .room-loot__character-totals[b-xervlhonla] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.room-loot__totals > div[b-xervlhonla] { display: grid; gap: .2rem; padding: .8rem; border: 1px solid #49657a; border-radius: .65rem; background: rgba(8, 22, 34, .48); }
.room-loot small[b-xervlhonla] { color: #9fb3c1; font-size: .7rem; }
.room-loot__totals strong[b-xervlhonla] { color: #f0bd62; font-size: 1.15rem; overflow-wrap: anywhere; }
.room-loot__hint[b-xervlhonla] { margin: .65rem 0 0; color: #9fb3c1; font-size: .75rem; line-height: 1.6; }
.room-loot .room-loot__pending[b-xervlhonla] { color: #eac27f; font-size: .7rem; }
p.room-loot__pending[b-xervlhonla] { margin: .3rem 0 0; line-height: 1.5; }
.room-loot__characters[b-xervlhonla] { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 .75rem; }
.room-loot__character[b-xervlhonla] { display: grid; gap: .2rem; min-width: 0; max-width: 100%; min-height: 44px; padding: .5rem .75rem; border: 1px solid #405a6f; border-radius: .6rem; background: rgba(8, 22, 34, .48); color: #c6d5df; cursor: pointer; text-align: left; }
.room-loot__character strong[b-xervlhonla] { font-size: .8rem; overflow-wrap: anywhere; }
.room-loot__character:hover[b-xervlhonla] { border-color: #d0aa66; }
.room-loot__character--selected[b-xervlhonla] { border-color: #e4b561; background: rgba(220, 174, 90, .15); color: #f3e4c7; }
.room-loot__character:focus-visible[b-xervlhonla] { outline: 2px solid #e3ba72; outline-offset: 2px; }
.room-loot__detail[b-xervlhonla] { border: 1px solid #405a6f; border-radius: .75rem; padding: .85rem; background: rgba(8, 22, 34, .25); }
.room-loot__identity[b-xervlhonla] { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; margin-bottom: .7rem; }
.room-loot__identity h3[b-xervlhonla] { margin: 0; color: #f3e4c7; font-size: .95rem; overflow-wrap: anywhere; }
.room-loot__identity > span[b-xervlhonla] { flex: none; color: #93a9b8; font-size: .65rem; }
.room-loot__character-totals > div[b-xervlhonla] { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .5rem; min-width: 0; }
.room-loot__character-totals strong[b-xervlhonla] { color: #f2c979; font-size: .9rem; overflow-wrap: anywhere; }
.room-loot__character-totals .room-loot__pending[b-xervlhonla] { flex-basis: 100%; }
.room-loot__source[b-xervlhonla] { margin-top: .85rem; }
.room-loot__source h4[b-xervlhonla] { margin: 0 0 .45rem; color: #e7ce96; font-size: .8rem; }
.room-loot__items[b-xervlhonla] { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: .45rem; }
.room-loot__item[b-xervlhonla], .room-loot__inspection-art[b-xervlhonla] { position: relative; display: grid; place-items: center; border: 1px solid #587182; border-radius: .65rem; background: radial-gradient(circle at 50% 35%, #345064, #101f2c); color: #d8e2eb; }
.room-loot__item[b-xervlhonla] { min-width: 0; min-height: 60px; aspect-ratio: 1; padding: .3rem .3rem 1rem; overflow: hidden; }
.room-loot__item--weapon[b-xervlhonla] { border-color: #a78255; background: radial-gradient(circle at 50% 35%, #574b42, #182531); }
.room-loot__item--soulimprint[b-xervlhonla] { border-color: #9277af; background: radial-gradient(circle at 50% 35%, #4c426a, #182531); }
.room-loot__item:hover[b-xervlhonla] { border-color: #f0c77f; filter: brightness(1.15); }
.room-loot__item:focus-visible[b-xervlhonla] { outline: 2px solid #f0c77f; outline-offset: 2px; }
.room-loot__item img[b-xervlhonla] { width: 100%; height: 100%; min-height: 0; object-fit: contain; image-rendering: pixelated; pointer-events: none; }
.room-loot__fallback[b-xervlhonla] { font-size: 1.8rem; line-height: 1; color: #e4c794; }
.room-loot__quantity[b-xervlhonla] { position: absolute; inset: auto 0 0; padding: .12rem .3rem; background: linear-gradient(transparent, #07101af2 35%); color: #f2d292; font-size: .72rem; line-height: 1.25; text-align: right; font-variant-numeric: tabular-nums; }
.room-loot__pending-dot[b-xervlhonla] { position: absolute; top: .3rem; right: .3rem; width: .45rem; height: .45rem; border-radius: 50%; background: #f4c571; box-shadow: 0 0 0 2px #182531; }
.room-loot[b-xervlhonla]  .room-loot-dialog { inset: 0; width: min(360px, calc(100% - 1.5rem)); margin: auto; padding: 1rem; border: 1px solid #a98a57; border-radius: .9rem; }
.room-loot__inspection-header[b-xervlhonla] { display: grid; grid-template-columns: 64px minmax(0, 1fr) 44px; align-items: center; gap: .6rem; }
.room-loot__inspection-art[b-xervlhonla] { width: 64px; height: 64px; padding: .3rem; }
.room-loot__inspection-art img[b-xervlhonla] { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.room-loot__inspection-header h3[b-xervlhonla] { margin: .2rem 0 0; font-size: 1rem; color: #f3e4c7; overflow-wrap: anywhere; }
.room-loot__close[b-xervlhonla] { align-self: start; width: 44px; height: 44px; padding: 0; border: 1px solid #587182; border-radius: .6rem; background: #112432; color: #dce5ee; font-size: 1.4rem; }
.room-loot__facts[b-xervlhonla] { margin: .85rem 0 0; padding-top: .5rem; border-top: 1px solid #405a6f; }
.room-loot__facts > div[b-xervlhonla] { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .4rem 0; }
.room-loot__facts dt[b-xervlhonla] { flex: none; color: #9fb3c1; font-size: .8rem; font-weight: 400; }
.room-loot__facts dd[b-xervlhonla] { margin: 0; font-size: .85rem; text-align: right; overflow-wrap: anywhere; }
.room-loot__facts .room-loot__received[b-xervlhonla] { color: #f2c979; font-size: 1.1rem; font-weight: 700; }
.room-loot__empty[b-xervlhonla] { margin: .8rem 0 0; padding: 1rem .5rem; border: 1px dashed #49657a; border-radius: .65rem; color: #9fb3c1; font-size: .8rem; text-align: center; line-height: 1.6; }
.room-loot__totals > div[b-xervlhonla] { padding: .6rem; }
.room-loot__characters[b-xervlhonla] { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; padding-bottom: .3rem; margin-block: .65rem .45rem; }
.room-loot__character[b-xervlhonla] { flex: 0 0 auto; min-width: 88px; min-height: 48px; padding: .4rem .6rem; }
.room-loot__character strong[b-xervlhonla] { max-width: 10rem; }
.room-loot__detail[b-xervlhonla] { padding: .65rem; }
/* A compact inspection window inside battle statistics. */
.room-loot[b-xervlhonla]  .room-loot-dialog { box-sizing: border-box; width: min(400px, calc(100% - 24px)); max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding: 0; overflow: hidden; border: 1px solid #607488; border-top-color: #b6a07a; border-radius: 18px; background: linear-gradient(145deg, #203243, #142536 55%, #111f2e); box-shadow: 0 28px 90px #0008, 0 8px 24px #0005; text-align: left; }
.room-loot[b-xervlhonla]  .room-loot-dialog[open] { display: flex; flex-direction: column; }
.room-loot[b-xervlhonla]  .room-loot-dialog::backdrop { background: #030b16b8; backdrop-filter: blur(8px); }
.room-loot__inspection[b-xervlhonla] { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.room-loot__inspection-header[b-xervlhonla] { position: sticky; top: 0; z-index: 1; grid-template-columns: 52px minmax(0, 1fr) 44px; padding: 20px; border-bottom: 1px solid #a8bed11c; background: #1b2d3e; }
.room-loot__inspection-art[b-xervlhonla] { width: 52px; height: 52px; border-radius: 12px; }
.room-loot__close[b-xervlhonla] { border-color: #71899d45; border-radius: 12px; background: #0b1a285c; }
.room-loot__facts[b-xervlhonla] { padding: 0; margin: 16px 20px; border: 0; }
.room-loot__facts > div[b-xervlhonla] { padding-block: 8px; }
.room-loot__inspection > .room-loot__hint[b-xervlhonla] { margin: 0; padding: 0 20px 20px; }
/* /Components/RoomRunEndRequests.razor.rz.scp.css */
.run-end-requests[b-oxf96x6qh0], .run-end-result[b-oxf96x6qh0] { grid-column: 1 / -1; grid-row: 6; min-width: 0; color: #b8cbd5; font-size: .78rem; }
.run-end-requests[b-oxf96x6qh0] { padding: .6rem .75rem; border: 1px solid #486170; border-radius: 10px; background: #172a36; }
.run-end-requests summary[b-oxf96x6qh0] { cursor: pointer; color: #e7ce96; line-height: 1.6; }
.run-end-requests summary span[b-oxf96x6qh0] { color: #b8cbd5; }
.run-end-requests__body p[b-oxf96x6qh0] { margin: .5rem 0; line-height: 1.6; }
.run-end-requests__item[b-oxf96x6qh0] { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .4rem 0; border-top: 1px solid #48617066; }
.run-end-requests__item span[b-oxf96x6qh0] { min-width: 0; overflow-wrap: anywhere; line-height: 1.6; }
.run-end-requests__item strong[b-oxf96x6qh0] { color: #e7e9e5; }
.run-end-requests__item button[b-oxf96x6qh0] { flex-shrink: 0; }
.run-end-requests__actions[b-oxf96x6qh0] { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.run-end-requests__actions button[b-oxf96x6qh0] { flex: 1 1 12rem; min-height: 42px; font-size: .78rem; }
.run-end-result[b-oxf96x6qh0] { margin: 0; padding: .5rem 0 0; border-top: 1px solid #48617066; line-height: 1.6; }
.run-end-requests[b-oxf96x6qh0] { margin:0;padding:16px;border:0;background:transparent; }
.run-end-requests h3[b-oxf96x6qh0] { display:none; }
/* /Components/RoomSimulationPanel.razor.rz.scp.css */
.simulation-entry[b-xw75qyam5n] { display: flex; flex: 0 0 auto; min-width: 0; }
.simulation-entry__trigger[b-xw75qyam5n] { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 48px; min-height: 44px; padding: .25rem .45rem; border: 1px solid #7c6848; border-radius: .55rem; background: linear-gradient(145deg, #302d28, #1b2833); color: #edcb91; font-size: .7rem; line-height: 1.2; }
.simulation-entry__copy[b-xw75qyam5n] { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-align: left; }
.simulation-entry__trigger[b-xw75qyam5n]  .story-icon { flex: 0 0 16px; width: 16px; height: 16px; }
.simulation-entry__trigger:hover[b-xw75qyam5n] { border-color: #d8a957; background: #34332f; }
.simulation-entry__trigger--active[b-xw75qyam5n] { border-color: #8eac9c; color: #b5e4cc; }
.simulation-entry__trigger small[b-xw75qyam5n] { color: #aec4d1; font-size: .6rem; }
.simulation-entry__trigger .simulation-entry__warning[b-xw75qyam5n] { color: #edcb91; }
.simulation-entry[b-xw75qyam5n]  .simulation-dialog { inset: 0; width: min(720px, calc(100vw - 2rem)); max-height: min(840px, calc(100dvh - 3rem)); margin: auto; padding: 0; overflow: hidden; border: 1px solid #526477; border-radius: 1rem; background: linear-gradient(145deg, #1c2c3b, #101d2b); box-shadow: 0 24px 90px #0009; text-align: left; font-size: .85rem; }
.simulation-entry[b-xw75qyam5n]  .simulation-dialog[open] { display: flex; flex-direction: column; animation: simulation-appear-b-xw75qyam5n .16s ease-out; }
.simulation-panel__header[b-xw75qyam5n] { display: flex; flex: 0 0 auto; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem 1rem; border-bottom: 1px solid #354657; background: radial-gradient(ellipse at top left, #d8a95712, transparent 70%); }
.simulation-panel__heading[b-xw75qyam5n] { min-width: 0; }
.simulation-panel__kicker[b-xw75qyam5n] { color: #d5af74; font-size: .7rem; letter-spacing: .16em; }
.simulation-panel__header h2[b-xw75qyam5n] { margin: .25rem 0 .4rem; color: #f1e6d2; font-size: 1.25rem; font-weight: 700; }
.simulation-panel__header p[b-xw75qyam5n] { margin: 0; color: #a9bfcd; font-size: .75rem; overflow-wrap: anywhere; }
.simulation-panel__close[b-xw75qyam5n] { flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 1px solid #405467; border-radius: .6rem; color: #c0ced8; background: #0c182566; font-size: 1.5rem; line-height: 1; }
.simulation-panel__close:hover[b-xw75qyam5n] { background: #304559; color: #fff; }
.simulation-panel__content[b-xw75qyam5n] { flex: 1 1 auto; min-height: 0; padding: 1rem 1.5rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #526477 transparent; scrollbar-width: thin; overflow-wrap: anywhere; }
.simulation-panel__content:focus-visible[b-xw75qyam5n] { outline-offset: -3px; }
.simulation-panel__status[b-xw75qyam5n] { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .75rem; margin-bottom: 1rem; }
.simulation-panel__status > strong[b-xw75qyam5n] { color: #a4e2c3; font-size: .85rem; }
.simulation-panel__status > span[b-xw75qyam5n] { color: #a9bfcd; font-size: .7rem; }
.simulation-panel__stale[b-xw75qyam5n], .simulation-panel__assumption[b-xw75qyam5n] { margin: .75rem 0; padding: .65rem .8rem; border: 1px solid #e1b76745; border-radius: .5rem; color: #f0cd8c; background: #e1b76708; font-size: .75rem; line-height: 1.6; }
.simulation-panel__stale span[b-xw75qyam5n] { display: block; color: #b9b5a8; }
.simulation-panel__running[b-xw75qyam5n] { margin: .5rem 0 1rem; padding: 1.1rem; border: 1px solid #40586b; border-radius: .75rem; background: #0b192666; }
.simulation-panel__progress-label[b-xw75qyam5n] { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .8rem; font-size: .8rem; }
.simulation-panel__progress-label > strong[b-xw75qyam5n] { color: #e5dfd2; }
.simulation-panel__progress-label > span[b-xw75qyam5n] { flex-shrink: 0; color: #e3ba72; font-variant-numeric: tabular-nums; }
.simulation-panel__running progress[b-xw75qyam5n] { display: block; width: 100%; height: .4rem; border: 0; border-radius: 1rem; overflow: hidden; accent-color: #e3ba72; background: #354657; }
.simulation-panel__running progress[b-xw75qyam5n]::-webkit-progress-bar { background: #354657; }
.simulation-panel__running progress[b-xw75qyam5n]::-webkit-progress-value { background: linear-gradient(90deg, #b38c51, #f0ca83); border-radius: 1rem; transition: width .3s ease; }
.simulation-panel__running p[b-xw75qyam5n] { margin: .75rem 0 0; color: #a9bfcd; font-size: .75rem; line-height: 1.6; }
.simulation-panel__empty[b-xw75qyam5n] { padding: 1.5rem .5rem 2rem; text-align: center; }
.simulation-panel__emblem[b-xw75qyam5n] { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1rem; border: 1px solid #d8a95750; border-radius: 1rem; color: #e3ba72; background: linear-gradient(145deg, #d8a95720, #d8a95705); }
.simulation-panel__emblem svg[b-xw75qyam5n] { width: 32px; height: 32px; }
.simulation-panel__empty h3[b-xw75qyam5n] { margin: 0 0 .5rem; font-size: 1rem; color: #e8e2d5; }
.simulation-panel__empty p[b-xw75qyam5n] { margin: 0; color: #a9bfcd; font-size: .8rem; line-height: 1.7; }
.simulation-panel__preview[b-xw75qyam5n] { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.simulation-panel__preview span[b-xw75qyam5n] { padding: .3rem .65rem; border: 1px solid #354657; border-radius: .4rem; color: #bdcdd9; font-size: .7rem; }
.simulation-panel__error[b-xw75qyam5n] { margin: 0 0 .85rem; padding: .7rem .8rem; border: 1px solid #a46b624d; border-radius: .5rem; background: #a46b6210; color: #f4b4ac; font-size: .8rem; line-height: 1.6; }
.simulation-panel__previous[b-xw75qyam5n] { margin: 1rem 0; }
.simulation-panel__previous summary[b-xw75qyam5n] { margin-bottom: .8rem; color: #e3ba72; font-size: .8rem; cursor: pointer; }
.simulation-panel__rules[b-xw75qyam5n] { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid #354657; }
.simulation-panel__rules summary[b-xw75qyam5n] { color: #b6c8d4; font-size: .75rem; cursor: pointer; }
.simulation-panel__rules summary > span[b-xw75qyam5n] { float: right; margin-left: .5rem; color: #d5af74; }
.simulation-panel__rules p[b-xw75qyam5n] { margin: .6rem 0 0; color: #a9bfcd; font-size: .75rem; line-height: 1.7; }
.simulation-panel__rules summary:focus-visible[b-xw75qyam5n], .simulation-panel__previous summary:focus-visible[b-xw75qyam5n] { outline: 2px solid #e3ba72; outline-offset: 4px; }
.simulation-panel__footer[b-xw75qyam5n] { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1rem; padding: 1rem 1.5rem; border-top: 1px solid #354657; background: #0b172380; }
.simulation-panel__safe[b-xw75qyam5n] { color: #91a8b8; font-size: .7rem; }
.simulation-panel__sample-count[b-xw75qyam5n] { flex: 0 0 100%; min-width: 0; padding-bottom: .75rem; border-bottom: 1px solid #a8bed11c; }
.simulation-panel__sample-heading[b-xw75qyam5n] { display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: #bdcdd9; font-size: .8rem; }
.simulation-panel__sample-heading strong[b-xw75qyam5n] { color: #e3ba72; font-size: 1rem; font-variant-numeric: tabular-nums; }
.simulation-panel__sample-heading small[b-xw75qyam5n] { font-size: .7rem; font-weight: 400; }
.simulation-panel__sample-count input[type="range"][b-xw75qyam5n] { display: block; width: 100%; height: 32px; margin: .25rem 0 0; padding: 0; accent-color: #e3ba72; cursor: pointer; }
.simulation-panel__sample-count input[type="range"]:disabled[b-xw75qyam5n] { opacity: .55; cursor: default; }
.simulation-panel__sample-count input[type="range"]:focus-visible[b-xw75qyam5n] { outline: 2px solid #e3ba72; outline-offset: 2px; border-radius: .25rem; }
.simulation-panel__sample-scale[b-xw75qyam5n] { display: flex; justify-content: space-between; gap: .5rem; color: #a9bfcd; font-size: .7rem; }
.simulation-panel__sample-count p[b-xw75qyam5n] { margin: .4rem 0 0; color: #91a8b8; font-size: .7rem; line-height: 1.5; }
.simulation-panel__actions[b-xw75qyam5n] { display: flex; gap: .5rem; }
.simulation-panel__actions .button[b-xw75qyam5n] { font-size: .8rem; }
@keyframes simulation-appear-b-xw75qyam5n { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
    .simulation-entry[b-xw75qyam5n]  .simulation-dialog { inset: auto 0 0; width: 100%; max-height: calc(92dvh - env(safe-area-inset-top)); margin: auto auto 0; border-bottom: 0; border-radius: 1rem 1rem 0 0; }
    .simulation-panel__header[b-xw75qyam5n] { padding: 1rem; }
    .simulation-panel__content[b-xw75qyam5n] { padding: 1rem; }
    .simulation-panel__footer[b-xw75qyam5n] { padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom)); gap: .6rem; }
    .simulation-panel__safe[b-xw75qyam5n] { width: 100%; text-align: center; }
    .simulation-panel__actions[b-xw75qyam5n] { width: 100%; }
    .simulation-panel__actions .button[b-xw75qyam5n] { flex: 1; padding-inline: .5rem; }
    .simulation-panel__empty[b-xw75qyam5n] { padding: 1.25rem 0 1.5rem; }
    .simulation-panel__progress-label[b-xw75qyam5n] { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
    .simulation-entry[b-xw75qyam5n]  .simulation-dialog[open] { animation: none; }
    .simulation-panel__running progress[b-xw75qyam5n]::-webkit-progress-value { transition: none; }
}
/* Keep the lobby simulation a floating window at every viewport size. */
.simulation-entry[b-xw75qyam5n]  .simulation-dialog { box-sizing: border-box; inset: 0; width: min(720px, calc(100% - 40px)); max-height: min(800px, calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom))); margin: auto; border: 1px solid #607488; border-top-color: #b6a07a; border-radius: 20px; background: linear-gradient(145deg, #203243, #142536 55%, #111f2e); box-shadow: 0 28px 90px #0008, 0 8px 24px #0005; }
.simulation-entry[b-xw75qyam5n]  .simulation-dialog::backdrop { background: #030b16b8; backdrop-filter: blur(8px); }
.simulation-panel__header[b-xw75qyam5n] { padding: 20px 24px; border-color: #a8bed11c; }
.simulation-panel__header h2[b-xw75qyam5n] { font-size: 1.2rem; }
.simulation-panel__close[b-xw75qyam5n] { border-color: #71899d45; border-radius: 12px; }
.simulation-panel__footer[b-xw75qyam5n] { padding: 16px 24px; border-color: #a8bed11c; background: #0b19275e; }
.simulation-panel__actions .button[b-xw75qyam5n] { min-height: 46px; border-radius: 10px; }
@media (max-width: 600px) {
    .simulation-entry[b-xw75qyam5n]  .simulation-dialog { inset: 0; width: calc(100% - 24px); max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); margin: auto; border: 1px solid #607488; border-top-color: #b6a07a; border-radius: 16px; }
    .simulation-panel__header[b-xw75qyam5n], .simulation-panel__content[b-xw75qyam5n] { padding: 16px; }
    .simulation-panel__footer[b-xw75qyam5n] { padding: 12px 16px; }
}
@media (max-height: 500px) { .simulation-entry[b-xw75qyam5n]  .simulation-dialog { max-height: calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); } .simulation-panel__header[b-xw75qyam5n], .simulation-panel__footer[b-xw75qyam5n] { padding-block: 10px; } }
/* /Components/RoomSimulationReport.razor.rz.scp.css */
.simulation-results[b-abhcb00zi8] { color: #dce8ef; }
.simulation-results__outcomes[b-abhcb00zi8] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.simulation-results__outcome[b-abhcb00zi8] { display: flex; flex-direction: column; gap: .25rem; padding: .75rem; border: 1px solid #354a60; border-radius: .6rem; background: rgba(9, 21, 33, .5); }
.simulation-results__outcome > span[b-abhcb00zi8], .simulation-results__outcome > small[b-abhcb00zi8] { color: #a9bfcd; font-size: .75rem; }
.simulation-results__outcome > strong[b-abhcb00zi8] { color: #f1e6d2; font-size: 1.2rem; }
.simulation-results__outcome--success > strong[b-abhcb00zi8] { color: #a4e2c3; }
.simulation-results__note[b-abhcb00zi8] { margin: .65rem 0; color: #a9bfcd; font-size: .75rem; line-height: 1.6; }
.simulation-results__timing[b-abhcb00zi8] { display: flex; flex-wrap: wrap; gap: 1rem 2rem; padding: .65rem 0; }
.simulation-results__timing > span[b-abhcb00zi8] { display: flex; flex-direction: column; gap: .25rem; }
.simulation-results__timing small[b-abhcb00zi8], .simulation-results__consumption > small[b-abhcb00zi8] { color: #a9bfcd; font-size: .75rem; }
.simulation-results__timing strong[b-abhcb00zi8] { font-size: .95rem; }
.simulation-results__consumption[b-abhcb00zi8] { padding: .75rem 0; }
.simulation-results__consumption h3[b-abhcb00zi8] { margin: 0 0 .5rem; font-size: .85rem; }
.simulation-results__consumption p[b-abhcb00zi8], .simulation-results__detail p[b-abhcb00zi8] { margin: .5rem 0; color: #a9bfcd; font-size: .8rem; }
.simulation-results__consumption ul[b-abhcb00zi8], .simulation-results__waves[b-abhcb00zi8] { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0; padding: 0; list-style: none; }
.simulation-results__consumption li[b-abhcb00zi8], .simulation-results__waves li[b-abhcb00zi8] { display: flex; gap: 1rem; justify-content: space-between; padding: .4rem .65rem; border: 1px solid #354a60; border-radius: .4rem; font-size: .8rem; }
.simulation-results__consumption li small[b-abhcb00zi8] { font-weight: 400; color: #a9bfcd; }
.simulation-results__detail[b-abhcb00zi8] { border-top: 1px solid #354a60; padding: .7rem 0; }
.simulation-results__detail summary[b-abhcb00zi8] { cursor: pointer; color: #e3ba72; font-size: .85rem; }
.simulation-results__detail summary small[b-abhcb00zi8] { margin-left: .5rem; color: #a9bfcd; font-size: .7rem; }
.simulation-results__detail summary:focus-visible[b-abhcb00zi8] { outline: 2px solid #e3ba72; outline-offset: 4px; border-radius: .2rem; }
.simulation-results__characters[b-abhcb00zi8] { display: grid; gap: .6rem; margin-top: .75rem; }
.simulation-results__character[b-abhcb00zi8] { padding: .6rem .75rem; border: 1px solid #354a60; border-radius: .5rem; background: rgba(9, 21, 33, .3); }
.simulation-results__character > strong[b-abhcb00zi8] { font-size: .85rem; }
.simulation-results__character dl[b-abhcb00zi8] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin: .5rem 0 0; }
.simulation-results__character dt[b-abhcb00zi8] { color: #a9bfcd; font-size: .7rem; }
.simulation-results__character dd[b-abhcb00zi8] { margin: .2rem 0 0; font-size: .85rem; }
.simulation-results__waves li small[b-abhcb00zi8] { display: block; color: #a9bfcd; font-size: .7rem; margin-top: .2rem; }
.simulation-results__failure[b-abhcb00zi8] { margin-top: .75rem; padding: .65rem .75rem; border: 1px solid #354a60; border-radius: .5rem; }
.simulation-results__failure h3[b-abhcb00zi8] { margin: 0 0 .5rem; color: #f0cd8c; font-size: .85rem; }
.simulation-results__failure > small[b-abhcb00zi8] { color: #a9bfcd; font-size: .7rem; }
@media (max-width: 600px) {
    .simulation-results__outcomes[b-abhcb00zi8] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .simulation-results__character dl[b-abhcb00zi8] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .simulation-results__detail summary small[b-abhcb00zi8] { display: block; margin: .25rem 0 0 1rem; }
    .simulation-results__consumption li[b-abhcb00zi8] { width: 100%; }
}
/* /Components/ShopProductRow.razor.rz.scp.css */
.shop-item[b-1uywvh06sa] { --element-color: #91aabb; --element-glow: #91aabb10; min-width: 0; padding: 9px 10px; border: 1px solid #7894a633; border-left: 2px solid #7894a650; border-radius: 9px; background: linear-gradient(120deg, #192a37, #13222e); }
.shop-item--fire[b-1uywvh06sa] { --element-color: #f1ab83; --element-glow: #d5723920; border-left-color: #f1ab83; }
.shop-item--water[b-1uywvh06sa] { --element-color: #91cfe8; --element-glow: #3899b820; border-left-color: #91cfe8; }
.shop-item--earth[b-1uywvh06sa] { --element-color: #dfbd83; --element-glow: #b38a4720; border-left-color: #dfbd83; }
.shop-item--wind[b-1uywvh06sa] { --element-color: #9cd8b7; --element-glow: #5cb58020; border-left-color: #9cd8b7; }
.shop-item--light[b-1uywvh06sa] { --element-color: #ebe09e; --element-glow: #dfc76020; border-left-color: #ebe09e; }
.shop-item--dark[b-1uywvh06sa], .shop-item--soul[b-1uywvh06sa] { --element-color: #c7adeb; --element-glow: #9767cf20; border-left-color: #c7adeb; }
.shop-item__row[b-1uywvh06sa] { display: grid; grid-template-columns: minmax(0, 1fr) 64px; align-items: center; gap: 10px; }
.shop-item--quantity .shop-item__row[b-1uywvh06sa] { grid-template-columns: minmax(0, 1fr) 128px; gap: 8px; }
.shop-item__actions[b-1uywvh06sa] { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.shop-item--quantity .shop-item__actions[b-1uywvh06sa] { grid-template-columns: 58px minmax(0, 1fr); gap: 6px; }
.shop-item__quantity[b-1uywvh06sa] { position: relative; display: block; min-width: 0; }
.shop-item__quantity[b-1uywvh06sa]::after { content: ""; position: absolute; right: 8px; top: calc(50% - 4px); width: 5px; height: 5px; border-right: 1.5px solid #a0b3c0; border-bottom: 1.5px solid #a0b3c0; transform: rotate(45deg); pointer-events: none; }
.shop-item__quantity select[b-1uywvh06sa] { box-sizing: border-box; appearance: none; width: 100%; min-width: 0; height: 44px; padding: 6px 17px 6px 4px; border: 1px solid #7f9bae66; border-radius: 7px; background: #0c1b28; color: #e1eaf0; color-scheme: dark; font-size: 16px; font-variant-numeric: tabular-nums; text-align: center; cursor: pointer; }
.shop-item__quantity select:disabled[b-1uywvh06sa] { opacity: .55; cursor: default; }
.shop-item__inspect[b-1uywvh06sa] { display: grid; grid-template-columns: 42px minmax(0, 1fr) 12px; align-items: center; gap: 9px; min-width: 0; min-height: 54px; padding: 2px 0; border: 0; border-radius: 5px; background: transparent; color: inherit; text-align: left; }
.shop-item--quantity .shop-item__inspect[b-1uywvh06sa] { grid-template-columns: 42px minmax(0, 1fr); gap: 7px; }
.shop-item--quantity .shop-item__chevron[b-1uywvh06sa] { display: none; }
.shop-item__art[b-1uywvh06sa] { display: grid; place-items: center; width: 42px; height: 42px; padding: 3px; border: 1px solid color-mix(in srgb, var(--element-color), transparent 72%); border-radius: 8px; background: radial-gradient(ellipse at 50% 70%, var(--element-glow), #0b1928); }
.shop-item__art img[b-1uywvh06sa] { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.shop-item__art--book img[b-1uywvh06sa] { image-rendering: auto; }
.shop-item__identity[b-1uywvh06sa] { min-width: 0; }
.shop-item__title[b-1uywvh06sa] { display: flex; align-items: center; gap: 5px; min-width: 0; }
.shop-item__category[b-1uywvh06sa] { flex-shrink: 0; padding: 1px 4px; border-radius: 3px; background: #afbdc013; color: #abc1ce; font-size: .59rem; line-height: 1.4; }
.shop-item__name[b-1uywvh06sa] { display: block; color: #e8eeef; font-size: .88rem; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.shop-item__meta[b-1uywvh06sa] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px 8px; margin-top: 3px; font-size: .69rem; line-height: 1.45; }
.shop-item__owned[b-1uywvh06sa] { color: #a0b3c0; white-space: nowrap; }
.shop-item__owned b[b-1uywvh06sa] { color: #d7e1e4; font-weight: 500; font-variant-numeric: tabular-nums; }
.shop-item__kind[b-1uywvh06sa] { color: var(--element-color); }
.shop-item__chevron[b-1uywvh06sa] { display: flex; align-items: center; color: #98acbb; }
.shop-item__chevron[b-1uywvh06sa]  svg { width: 12px; height: 12px; transition: transform .15s; }
.shop-buy[b-1uywvh06sa] { display: grid; align-content: center; justify-items: center; min-width: 0; min-height: 44px; padding: 6px 4px; border: 1px solid #d7af6d; border-radius: 7px; background: linear-gradient(135deg, #e6bf7b, #d6aa66); color: #1e2a30; }
.shop-price[b-1uywvh06sa] { display: inline-flex; align-items: baseline; gap: 3px; max-width: 100%; color: #e7be78; line-height: 1.3; white-space: nowrap; }
.shop-price strong[b-1uywvh06sa] { font-size: .79rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.shop-price small[b-1uywvh06sa] { font-size: .61rem; }
.shop-buy__action[b-1uywvh06sa] { font-size: .74rem; font-weight: 650; }
.shop-buy:disabled[b-1uywvh06sa] { opacity: 1; border-color: #7188973d; background: #263844; color: #a8bac5; }
.shop-buy[aria-busy="true"][b-1uywvh06sa] { border-color: #aa906351; background: #594e3638; color: #e9c887; }
.shop-item__use[b-1uywvh06sa] { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; margin-top: 7px; border-top: 1px solid #91a17c35; color: #c5d2b7; font-size: .76rem; text-decoration: none; }
.shop-item__use[b-1uywvh06sa]  svg { width: 16px; height: 16px; }
@container game-shell (max-width: 350px) {
    .shop-item[b-1uywvh06sa] { padding: 8px; }
    .shop-item__row[b-1uywvh06sa] { gap: 6px; }
    .shop-item__inspect[b-1uywvh06sa] { grid-template-columns: 36px minmax(0, 1fr) 10px; gap: 7px; }
    .shop-item__art[b-1uywvh06sa] { width: 36px; height: 40px; }
    .shop-item__name[b-1uywvh06sa] { font-size: .82rem; }
    .shop-item__meta[b-1uywvh06sa] { font-size: .65rem; gap: 1px 6px; }
    .shop-item--quantity .shop-item__row[b-1uywvh06sa] { gap: 6px; }
    .shop-item--quantity .shop-item__inspect[b-1uywvh06sa] { grid-template-columns: 28px minmax(0, 1fr); gap: 6px; }
    .shop-item--quantity .shop-item__art[b-1uywvh06sa] { width: 28px; height: 34px; padding: 2px; border-radius: 6px; }
    .shop-item--quantity.shop-item--locked .shop-item__kind[b-1uywvh06sa] { display: none; }
}
@media (hover: hover) {
    .shop-buy:hover:not(:disabled)[b-1uywvh06sa] { filter: brightness(1.08); }
    .shop-item__inspect:hover .shop-item__name[b-1uywvh06sa] { color: #f0d6a8; }
}
@media (prefers-reduced-motion: reduce) { .shop-item__chevron[b-1uywvh06sa]  svg { transition: none; } }
/* /Components/ShopWeaponCard.razor.rz.scp.css */
.shop-weapon-card[b-e0m03ypp0d] { --weapon-element: #adc0cc; display: grid; grid-template-columns: minmax(0, 1fr) 104px; grid-template-rows: auto auto; gap: 0 8px; min-width: 0; padding: 12px; border: 1px solid #304454; border-radius: 10px; background: #142331; }
.shop-weapon-card--fire[b-e0m03ypp0d] { --weapon-element: #eda18b; }
.shop-weapon-card__claim[b-e0m03ypp0d] { border-color: #97d4b0; background: #1b3a35; color: #b8e8cd; }
.shop-weapon-card__claimed[b-e0m03ypp0d] { color: #a2b5c3; font-size: .68rem; }
.shop-weapon-card--water[b-e0m03ypp0d] { --weapon-element: #99c9eb; }
.shop-weapon-card--earth[b-e0m03ypp0d] { --weapon-element: #dfbd83; }
.shop-weapon-card--wind[b-e0m03ypp0d] { --weapon-element: #a1d5b3; }
.shop-weapon-card--light[b-e0m03ypp0d] { --weapon-element: #ebe09e; }
.shop-weapon-card--dark[b-e0m03ypp0d] { --weapon-element: #c7adeb; }
.shop-weapon-card__inspect[b-e0m03ypp0d] { grid-area: 1 / 1; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #e5edf1; text-align: left; }
.shop-weapon-card__art[b-e0m03ypp0d] { flex: 0 0 70px; width: 70px; height: 70px; border-radius: 8px; background: #1b2d3c; }
.shop-weapon-card__art img[b-e0m03ypp0d] { width: 100%; height: 100%; object-fit: contain; }
.shop-weapon-card__identity[b-e0m03ypp0d] { display: grid; gap: 4px; min-width: 0; }
.shop-weapon-card__identity > strong[b-e0m03ypp0d] { font-size: .94rem; font-weight: 600; overflow-wrap: anywhere; }
.shop-weapon-card__type[b-e0m03ypp0d] { color: var(--weapon-element); font-size: .72rem; }
.shop-weapon-card__stats[b-e0m03ypp0d] { display: flex; flex-wrap: wrap; gap: 3px 16px; margin-top: 2px; color: #a2b5c3; font-size: .74rem; }
.shop-weapon-card__stats > span[b-e0m03ypp0d] { white-space: nowrap; }
.shop-weapon-card__stats b[b-e0m03ypp0d] { color: #e5edf1; font-weight: 500; font-variant-numeric: tabular-nums; }
.shop-weapon-card__skills[b-e0m03ypp0d] { grid-area: 2 / 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-width: 0; margin: 6px 0 0 82px; color: #dce5ee; font-size: .72rem; }
.shop-weapon-card__skills > span[b-e0m03ypp0d] { min-width: 0; overflow-wrap: anywhere; }
.shop-weapon-card__skills[b-e0m03ypp0d]  svg { flex-shrink: 0; width: 13px; height: 13px; color: #e7be78; }
.shop-weapon-card__skills small[b-e0m03ypp0d] { margin-left: 5px; color: #a2b5c3; font-size: .68rem; white-space: nowrap; }
.shop-weapon-card__skills .shop-weapon-card__no-skill[b-e0m03ypp0d] { color: #a2b5c3; }
.shop-weapon-card__checkout[b-e0m03ypp0d] { grid-area: 1 / 2 / 3; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 9px; min-width: 0; }
.shop-weapon-card__price[b-e0m03ypp0d] { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0 5px; color: #e7be78; }
.shop-weapon-card__price[b-e0m03ypp0d]  svg { width: 15px; height: 15px; }
.shop-weapon-card__price img[b-e0m03ypp0d] { width: 15px; height: 15px; object-fit: contain; image-rendering: pixelated; }
.shop-weapon-card__price strong[b-e0m03ypp0d] { font-size: 1.15rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.shop-weapon-card__price small[b-e0m03ypp0d] { flex-basis: 100%; font-size: .68rem; text-align: right; overflow-wrap: anywhere; }
.shop-weapon-card__buy[b-e0m03ypp0d] { width: 92px; min-height: 44px; padding: 5px 8px; border: 1px solid #e7be78; border-radius: 7px; background: #e7be78; color: #202c31; font-size: .82rem; font-weight: 600; overflow-wrap: anywhere; }
.shop-weapon-card__buy:disabled[b-e0m03ypp0d] { opacity: 1; border-color: #304454; background: #1b2d3c; color: #a2b5c3; }
@container game-shell (max-width: 430px) {
    .shop-weapon-card[b-e0m03ypp0d] { grid-template-columns: minmax(0, 1fr) 76px; gap: 0 5px; padding: 11px 10px; }
    .shop-weapon-card__inspect[b-e0m03ypp0d] { gap: 9px; }
    .shop-weapon-card__art[b-e0m03ypp0d] { flex-basis: 55px; width: 55px; height: 61px; }
    .shop-weapon-card__identity > strong[b-e0m03ypp0d] { font-size: .88rem; }
    .shop-weapon-card__stats[b-e0m03ypp0d] { gap: 2px 10px; font-size: .69rem; }
    .shop-weapon-card__skills[b-e0m03ypp0d] { margin-left: 64px; font-size: .69rem; }
    .shop-weapon-card__skills small[b-e0m03ypp0d] { margin-left: 0; }
    .shop-weapon-card__buy[b-e0m03ypp0d] { width: 74px; font-size: .76rem; padding-inline: 4px; }
}
@container game-shell (max-width: 350px) {
    .shop-weapon-card__art[b-e0m03ypp0d] { flex-basis: 43px; width: 43px; height: 52px; }
    .shop-weapon-card__inspect[b-e0m03ypp0d] { gap: 7px; }
    .shop-weapon-card__identity > strong[b-e0m03ypp0d] { font-size: .84rem; }
    .shop-weapon-card__skills[b-e0m03ypp0d] { margin-left: 0; }
}
@media (hover: hover) {
    .shop-weapon-card__inspect:hover strong[b-e0m03ypp0d] { color: #f0d6a8; }
    .shop-weapon-card__buy:hover:not(:disabled)[b-e0m03ypp0d] { filter: brightness(1.08); }
}
/* /Components/ShopWeaponDetails.razor.rz.scp.css */
.shop-weapon[b-azexfi9fxw] { margin-top: 16px; }
.shop-weapon__type[b-azexfi9fxw] { margin: 0 0 8px; color: #9fb1bd; font-size: .75rem; }
.shop-weapon__stats[b-azexfi9fxw] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
.shop-weapon__stats > div[b-azexfi9fxw] { display: flex; align-items: baseline; gap: 10px; padding: 9px 12px; border: 1px solid #a9bec710; border-radius: 7px; background: #07151e45; }
.shop-weapon__stats dt[b-azexfi9fxw] { color: #9fb1bd; font-size: .75rem; font-weight: 400; }
.shop-weapon__stats dd[b-azexfi9fxw] { margin: 0; color: #e7eee9; font-size: .98rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.shop-weapon__skills[b-azexfi9fxw] { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.shop-weapon__skills li[b-azexfi9fxw] { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 12px; font-size: .78rem; line-height: 1.55; }
.shop-weapon__skill-name[b-azexfi9fxw] { color: #cdd9df; }
.shop-weapon__skill-name small[b-azexfi9fxw] { margin-left: 4px; color: #91a6b6; font-size: .69rem; }
.shop-weapon__effect[b-azexfi9fxw] { color: #bbd1c7; overflow-wrap: anywhere; }
.shop-weapon__quality[b-azexfi9fxw] { display: flex; align-items: center; gap: 7px; margin-top: 14px; color: #93a8b6; font-size: .7rem; }
.shop-weapon__quality > span:last-child[b-azexfi9fxw] { margin-left: auto; }
/* /Components/SkillAutoConditionPicker.razor.rz.scp.css */
.skill-auto-picker[b-7dz4ea913i] { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; min-width: 0; }
.skill-auto-picker__condition[b-7dz4ea913i] { display: grid; flex: 1 1 180px; gap: .3rem; min-width: 0; color: #adbfcb; font-size: .75rem; }
.skill-auto-picker select[b-7dz4ea913i], .skill-auto-picker input[b-7dz4ea913i] { min-height: 44px; padding: .4rem .55rem; border: 1px solid #526779; border-radius: .45rem; background: #0c1b2b; color: #e2ebf2; font: inherit; }
.skill-auto-picker select[b-7dz4ea913i] { width: 100%; min-width: 0; cursor: pointer; }
.skill-auto-picker__threshold[b-7dz4ea913i] { display: flex; align-items: center; gap: .35rem; min-height: 44px; color: #adbfcb; font-size: .75rem; }
.skill-auto-picker__threshold input[b-7dz4ea913i] { width: 4.2rem; text-align: center; }
.skill-auto-picker__hint[b-7dz4ea913i] { flex-basis: 100%; margin: 0; color: #adbfcb; font-size: .72rem; line-height: 1.5; }
.skill-auto-picker select:focus-visible[b-7dz4ea913i], .skill-auto-picker input:focus-visible[b-7dz4ea913i] { outline: 2px solid #e0b15f; outline-offset: 2px; }
.skill-auto-picker select:disabled[b-7dz4ea913i], .skill-auto-picker input:disabled[b-7dz4ea913i] { opacity: .6; cursor: wait; }
@media(pointer:coarse) { .skill-auto-picker select[b-7dz4ea913i], .skill-auto-picker input[b-7dz4ea913i] { font-size:16px; } }
/* /Components/StoryTracker.razor.rz.scp.css */
.story-tracker[b-ycc2prs4b9]{position:relative;display:flex;overflow:hidden;border:1px solid #81734e68;background:linear-gradient(120deg,#58462b22,#14252e 76%);border-radius:12px;margin-bottom:17px;box-shadow:0 5px 16px #030a121c}
.story-tracker[b-ycc2prs4b9] { flex-wrap: wrap; }
.story-tracker__related[b-ycc2prs4b9] { flex: 0 0 100%; min-width: 0; }
.story-tracker__related[hidden][b-ycc2prs4b9] { display: none; }
.story-tracker__previous[b-ycc2prs4b9] { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 12px; border-top: 1px solid #a78a5236; color: #b3c0c5; font-size: 12px; text-decoration: none; }
.story-tracker__previous[b-ycc2prs4b9]  svg { flex-shrink: 0; width: 15px; height: 15px; color: #c3aa76; }
.story-tracker__previous[b-ycc2prs4b9]  svg:last-child { margin-left: auto; }
.story-tracker__previous small[b-ycc2prs4b9] { flex-shrink: 0; color: #ac9b78; font-size: 11px; }
.story-tracker__previous > span[b-ycc2prs4b9] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story-tracker__main[b-ycc2prs4b9] { display: grid; grid-template-columns: minmax(0,1fr) 20px; align-items: center; gap: 5px 12px; flex: 0 0 100%; min-width: 0; min-height: 48px; padding: 11px 16px; border-top: 1px solid #a78a5236; background: #b494570c; color: #dfc18b; text-decoration: none; }
.story-tracker__main-label[b-ycc2prs4b9] { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.story-tracker__main-label[b-ycc2prs4b9]  svg { width: 16px; height: 16px; }
.story-tracker__main-summary[b-ycc2prs4b9] { grid-column: 1; color: #b3c0c5; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.story-tracker__main-summary[hidden][b-ycc2prs4b9] { display: none; }
.story-tracker__main[b-ycc2prs4b9]>  svg { grid-column: 2; grid-row: 1; width: 17px; height: 17px; }
.story-tracker__main:hover[b-ycc2prs4b9] { color: #f0d39d; background: #b4945717; }
.story-tracker__main:focus-visible[b-ycc2prs4b9] { outline-offset: -3px; }
.story-tracker[b-ycc2prs4b9]::before{position:absolute;left:0;top:17px;bottom:17px;width:2px;content:"";background:#ac925975;border-radius:2px}
.story-tracker--ready[b-ycc2prs4b9]{border-color:#bb965792;background:linear-gradient(110deg,#82623731,#18292f 76%)}.story-tracker--ready[b-ycc2prs4b9]::before{background:#e5bc76}
.story-tracker__link[b-ycc2prs4b9]{display:flex;flex:1;min-width:0;align-items:center;gap:13px;padding:17px 16px;min-height:94px;text-decoration:none;color:inherit}.story-tracker__link:hover[b-ycc2prs4b9]{background:#d4b77907;color:inherit}.story-tracker__link:focus-visible[b-ycc2prs4b9]{outline-offset:-3px}
.story-tracker__portrait[b-ycc2prs4b9]{display:grid;place-items:center;flex:0 0 51px;width:51px;height:55px;padding:3px;border:1px solid #a78a524f;border-radius:10px;background:#0b1c2a;color:#c0a06b;overflow:hidden}
.story-tracker__portrait img[b-ycc2prs4b9]{width:100%;height:100%;object-fit:cover;border-radius:6px;image-rendering:pixelated}.story-tracker__portrait[b-ycc2prs4b9]  svg{width:25px;height:25px}
.story-tracker__body[b-ycc2prs4b9]{display:grid;gap:5px;min-width:0;flex:1}.story-tracker__eyebrow[b-ycc2prs4b9]{display:flex;justify-content:space-between;gap:8px;align-items:center}.story-tracker__eyebrow>small:first-child[b-ycc2prs4b9]{color:#ac9b78;font-size:.59rem;letter-spacing:.07em}
.story-tracker__state[b-ycc2prs4b9]{color:#889da6;font-size:.6rem;white-space:nowrap}.story-tracker--ready .story-tracker__state[b-ycc2prs4b9]{color:#efd094}
.story-tracker strong[b-ycc2prs4b9]{font-family:"Noto Serif SC","Songti SC",SimSun,serif;font-size:.98rem;font-weight:700;line-height:1.45;color:#e8e0cc;letter-spacing:.02em}
.story-tracker__summary[b-ycc2prs4b9]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#a8b8bb;font-size:.7rem;line-height:1.65}
.story-tracker__progress[b-ycc2prs4b9]{color:#9c987c;font-size:.61rem;line-height:1.55}.story-tracker__arrow[b-ycc2prs4b9]{display:grid;place-items:center;flex:0 0 20px;color:#c3aa76}.story-tracker__arrow[b-ycc2prs4b9]  svg{width:17px;height:17px}
.story-tracker__details[b-ycc2prs4b9]{display:grid;gap:5px}.story-tracker__details[hidden][b-ycc2prs4b9]{display:none}
.story-tracker__toggle[b-ycc2prs4b9]{display:flex;flex:0 0 44px;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:44px;padding:6px 4px;border:0;border-left:1px solid #a78a522b;background:transparent;color:#c3aa76;font:inherit;font-size:.6rem;cursor:pointer}.story-tracker__toggle:hover[b-ycc2prs4b9]{background:#d4b77912}.story-tracker__toggle:focus-visible[b-ycc2prs4b9]{outline:2px solid #e9c381;outline-offset:-3px}.story-tracker__toggle[b-ycc2prs4b9]  svg{width:16px;height:16px;transform:rotate(90deg)}.story-tracker__toggle[aria-expanded="true"][b-ycc2prs4b9]  svg{transform:rotate(-90deg)}
@media(max-width:420px){.story-tracker__link[b-ycc2prs4b9]{padding:14px 12px;gap:10px}.story-tracker__portrait[b-ycc2prs4b9]{width:43px;height:48px;flex-basis:43px;padding:2px;border-radius:8px}.story-tracker strong[b-ycc2prs4b9]{font-size:.89rem}.story-tracker__summary[b-ycc2prs4b9]{font-size:.66rem}.story-tracker__eyebrow>small:first-child[b-ycc2prs4b9]{font-size:.56rem}.story-tracker__arrow[b-ycc2prs4b9]{flex-basis:12px}.story-tracker__arrow[b-ycc2prs4b9]  svg{width:14px;height:14px}.story-tracker__progress[b-ycc2prs4b9]{font-size:.59rem}}
.story-tracker--collapsed[b-ycc2prs4b9]::before{top:10px;bottom:10px}.story-tracker--collapsed .story-tracker__link[b-ycc2prs4b9]{min-height:48px;padding:8px 12px;gap:9px}.story-tracker--collapsed .story-tracker__portrait[b-ycc2prs4b9]{width:28px;height:28px;flex-basis:28px;padding:3px;border-radius:6px}.story-tracker--collapsed .story-tracker__portrait[b-ycc2prs4b9]  svg{width:16px;height:16px}.story-tracker--collapsed .story-tracker__body[b-ycc2prs4b9]{display:flex;align-items:center;gap:8px}.story-tracker--collapsed .story-tracker__body>strong[b-ycc2prs4b9]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem}.story-tracker--collapsed .story-tracker__eyebrow[b-ycc2prs4b9]{order:1;flex-shrink:0;margin-left:auto}.story-tracker--collapsed .story-tracker__eyebrow>small:first-child[b-ycc2prs4b9],.story-tracker--collapsed .story-tracker__arrow[b-ycc2prs4b9]{display:none}

@media(max-width:360px){.story-tracker--collapsed .story-tracker__link[b-ycc2prs4b9]{padding-inline:8px;gap:6px}.story-tracker--collapsed .story-tracker__body[b-ycc2prs4b9]{gap:5px}.story-tracker--collapsed .story-tracker__body>strong[b-ycc2prs4b9]{font-size:.75rem}}
/* /Components/WeaponCandidateComparison.razor.rz.scp.css */
.weapon-candidate-comparison[b-0q8nrf2k13] { color:#dce6e7; font-size:.78rem; line-height:1.6; overflow-wrap:anywhere; }
.weapon-comparison-route[b-0q8nrf2k13] { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; padding:.7rem 0; border-block:1px solid #46616e; color:#9db7c4; }
.weapon-comparison-route strong[b-0q8nrf2k13] { color:#ecd09a; font-weight:500; }
.weapon-comparison-table[b-0q8nrf2k13] { width:100%; table-layout:fixed; border-collapse:collapse; font-variant-numeric:tabular-nums; }
.weapon-comparison-label[b-0q8nrf2k13] { width:44%; }
.weapon-comparison-table th[b-0q8nrf2k13],.weapon-comparison-table td[b-0q8nrf2k13] { padding:.55rem 0; text-align:right; font-weight:400; }
.weapon-comparison-table th:first-child[b-0q8nrf2k13] { text-align:left; }
.weapon-comparison-table thead[b-0q8nrf2k13] { color:#91aebd; font-size:.7rem; }
.weapon-comparison-table tbody td[b-0q8nrf2k13] { color:#91adbc; }
.weapon-comparison-table tbody td:last-child[b-0q8nrf2k13] { color:#e7eef0; font-size:.92rem; }
.weapon-comparison-table td.is-gain[b-0q8nrf2k13] { color:#93d6bd!important; }
.weapon-comparison-table td.is-loss[b-0q8nrf2k13] { color:#efaba2!important; }
.weapon-comparison-totals[b-0q8nrf2k13] { border-top:1px solid #46616e; }
.weapon-comparison-totals th[colspan][b-0q8nrf2k13] { padding-top:.75rem; color:#e6cd9b; font-size:.72rem; }
.weapon-comparison-totals td[b-0q8nrf2k13] { font-size:1rem; }
.weapon-comparison-totals td:last-child[b-0q8nrf2k13] { font-size:1.08rem!important; }
.weapon-comparison-status[b-0q8nrf2k13] { display:flex; align-items:center; justify-content:space-between; color:#9cb2be; font-size:.72rem; }
.weapon-comparison-status:has(span:not(:empty))[b-0q8nrf2k13] { gap:.5rem; padding:.65rem 0; }
.weapon-comparison-status button[b-0q8nrf2k13] { min-height:44px; padding:.45rem .65rem; white-space:nowrap; }
.weapon-comparison-status button[aria-disabled="true"][b-0q8nrf2k13] { opacity:.55; cursor:wait; }
.weapon-candidate-comparison details[b-0q8nrf2k13] { margin-top:.8rem; border-top:1px solid #46616e; }
.weapon-candidate-comparison summary[b-0q8nrf2k13] { display:flex; align-items:center; justify-content:space-between; gap:.5rem; min-height:44px; cursor:pointer; list-style:none; }
.weapon-candidate-comparison summary[b-0q8nrf2k13]::after { content:"⌄"; color:#a7bfcc; }
.weapon-candidate-comparison details[open] summary[b-0q8nrf2k13]::after { content:"⌃"; }
.weapon-candidate-comparison summary small[b-0q8nrf2k13] { margin-left:auto; color:#91adbc; font-size:.68rem; }
.weapon-candidate-comparison p[b-0q8nrf2k13] { margin:.3rem 0 .7rem; color:#b4c7cf; }
.comparison-sr-only[b-0q8nrf2k13] { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
/* /Components/WeaponDetailDialog.razor.rz.scp.css */
.weapon-detail-overlay[b-uq6s90e7nu] { position: fixed; z-index: 1400; inset: 0; display: grid; place-items: center; padding: 1rem; background: rgba(2, 9, 17, .84); backdrop-filter: blur(7px); }
.weapon-detail-dialog[b-uq6s90e7nu] { --weapon-tone: #d9c093; display: flex; flex-direction: column; width: min(100%, 560px); max-height: min(88dvh, 780px); overflow: hidden; border: 1px solid #647f90; border-top: 3px solid var(--weapon-tone); border-radius: .9rem; background: linear-gradient(150deg, #203549, #101d2c 74%); color: #e7eef2; box-shadow: 0 26px 75px rgba(0, 0, 0, .64); }
.weapon-detail-dialog--fire[b-uq6s90e7nu] { --weapon-tone: #ee9e82; }
.weapon-detail-dialog--water[b-uq6s90e7nu] { --weapon-tone: #88d2ee; }
.weapon-detail-dialog--wind[b-uq6s90e7nu] { --weapon-tone: #89d8ad; }
.weapon-detail-dialog--light[b-uq6s90e7nu] { --weapon-tone: #f3df9d; }
.weapon-detail-dialog--dark[b-uq6s90e7nu] { --weapon-tone: #c4a5eb; }
.weapon-detail-header[b-uq6s90e7nu] { flex:0 0 auto; display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border-bottom: 1px solid #41596c; }
.weapon-detail-crest[b-uq6s90e7nu] { display: grid; width: 64px; height: 64px; flex: 0 0 64px; place-items: center; border: 1px solid var(--weapon-tone); border-radius: .65rem; background: rgba(7, 19, 30, .72); background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--weapon-tone) 20%, transparent), transparent 70%), rgba(7, 19, 30, .72); color: var(--weapon-tone); font: 800 1.8rem Georgia, serif; }
.weapon-detail-crest img[b-uq6s90e7nu] { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.weapon-detail-heading[b-uq6s90e7nu] { min-width: 0; flex: 1; }
.weapon-detail-kicker[b-uq6s90e7nu] { color: var(--weapon-tone); font-size: .64rem; font-weight: 850; letter-spacing: .08em; }
.weapon-detail-heading h2[b-uq6s90e7nu] { margin: .18rem 0; color: #f7e9d2; font: 700 1.2rem Georgia, serif; overflow-wrap: anywhere; }
.weapon-detail-heading p[b-uq6s90e7nu] { margin: 0; color: #acc0cb; font-size: .72rem; }
.weapon-detail-quality[b-uq6s90e7nu] { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: .2rem 0 .3rem; font-size: .65rem; }
.weapon-detail-quality > span[b-uq6s90e7nu] { color: #acc0cb; }
.weapon-detail-quality strong[b-uq6s90e7nu] { color: #efd498; font-size: .65rem; }
.weapon-detail-close[b-uq6s90e7nu] { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #597184; border-radius: .55rem; background: #14283a; color: #eef2f4; font-size: 1.5rem; cursor: pointer; }
.weapon-detail-close:hover[b-uq6s90e7nu], .weapon-detail-close:focus-visible[b-uq6s90e7nu] { border-color: var(--weapon-tone); color: var(--weapon-tone); }
.weapon-detail-body[b-uq6s90e7nu] { flex:1 1 auto; display: grid; align-content:start; gap: .85rem; min-height: 0; overflow-y: auto; padding: .9rem 1rem; overscroll-behavior: contain; }
.weapon-detail-stats[b-uq6s90e7nu] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.weapon-detail-stats div[b-uq6s90e7nu] { display: grid; gap: .12rem; min-width: 0; padding: .58rem .65rem; border: 1px solid #405a6c; border-radius: .55rem; background: #13283a; }
.weapon-detail-stats span[b-uq6s90e7nu] { color: #93aaba; font-size: .68rem; }
.weapon-detail-stats strong[b-uq6s90e7nu] { overflow: hidden; color: #f0eee4; font-size: .98rem; text-overflow: ellipsis; }
.weapon-detail-skills h3[b-uq6s90e7nu] { margin: 0 0 .45rem; color: #f0d394; font-size: .88rem; }
.weapon-detail-skills ul[b-uq6s90e7nu] { display: grid; gap: .42rem; margin: 0; padding: 0; list-style: none; }
.weapon-detail-skills li[b-uq6s90e7nu] { display: grid; gap: .18rem; padding: .62rem .72rem; border: 1px solid #40586d; border-radius: .55rem; background: #14283a; }
.weapon-detail-skills strong[b-uq6s90e7nu] { color: #f2e3c7; font-size: .8rem; }
.weapon-detail-skills strong small[b-uq6s90e7nu] { margin-left: .2rem; color: var(--weapon-tone); font-size: .68rem; }
.weapon-detail-skills li > span[b-uq6s90e7nu], .weapon-detail-note[b-uq6s90e7nu], .weapon-detail-empty[b-uq6s90e7nu] { color: #a9bec9; font-size: .72rem; line-height: 1.45; }
.weapon-detail-empty[b-uq6s90e7nu] { margin: 0; padding: .75rem; border: 1px dashed #4b6476; border-radius: .55rem; }
.weapon-detail-note[b-uq6s90e7nu] { margin: 0; }
.weapon-detail-rules[b-uq6s90e7nu] { color: #a9bec9; font-size: .76rem; }
.weapon-detail-rules > summary[b-uq6s90e7nu] { min-height: 44px; align-content: center; cursor: pointer; }
.weapon-detail-rules[open] > summary[b-uq6s90e7nu] { color: var(--weapon-tone); }
.weapon-detail-dialog :where(button, summary):focus-visible[b-uq6s90e7nu] { outline: 2px solid var(--weapon-tone); outline-offset: -2px; }
.weapon-detail-footer[b-uq6s90e7nu] { flex:0 0 auto; display: grid; gap: .55rem; padding: .65rem 1rem max(.65rem, env(safe-area-inset-bottom)); border-top: 1px solid #41596c; }
.weapon-detail-actions[b-uq6s90e7nu] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.weapon-detail-actions[b-uq6s90e7nu]  button { min-height:44px; }
.weapon-detail-actions .weapon-detail-action--primary[b-uq6s90e7nu],
.weapon-detail-actions .weapon-detail-action--danger[b-uq6s90e7nu],
.weapon-detail-actions .weapon-detail-action--wide[b-uq6s90e7nu] { grid-column: 1 / -1; }
.weapon-detail-actions .weapon-detail-action--compact[b-uq6s90e7nu] { grid-column: auto; }
.weapon-detail-back[b-uq6s90e7nu] { min-height: 44px; border: 1px solid #60798a; border-radius: .55rem; background: #1b3447; color: #e8eef2; font-weight: 750; cursor: pointer; }
.weapon-detail-back:hover[b-uq6s90e7nu], .weapon-detail-back:focus-visible[b-uq6s90e7nu] { border-color: var(--weapon-tone); color: var(--weapon-tone); }
@media (max-width: 600px) { .weapon-detail-overlay[b-uq6s90e7nu] { align-items: end; padding: .35rem .35rem 0; } .weapon-detail-dialog[b-uq6s90e7nu] { width: 100%; max-height: 88dvh; border-radius: .9rem .9rem 0 0; } .weapon-detail-header[b-uq6s90e7nu] { padding: .75rem; } .weapon-detail-body[b-uq6s90e7nu] { padding: .75rem; } .weapon-detail-footer[b-uq6s90e7nu] { padding-inline: .75rem; } }

.weapon-detail-tabs[b-uq6s90e7nu] { flex: 0 0 auto; display: flex; gap: .35rem; padding: .5rem .75rem; border-bottom: 1px solid #41596c; }
.weapon-detail-tabs button[b-uq6s90e7nu] { flex: 1; min-height: 44px; border: 1px solid #4b6377; border-radius: .5rem; background: #102537; color: #adc4d1; font-size: .78rem; font-weight: 700; }
.weapon-detail-tabs button.active[b-uq6s90e7nu] { border-color: #c6a668; background: #b6965426; color: #f3d494; }
.weapon-detail-dialog--managed .weapon-detail-header[b-uq6s90e7nu] { padding: .65rem .75rem; }
.weapon-detail-dialog--managed .weapon-detail-crest[b-uq6s90e7nu] { width: 48px; height: 48px; flex-basis: 48px; }
.weapon-detail-dialog--managed .weapon-detail-body[b-uq6s90e7nu] { gap: .6rem; padding: .7rem .75rem; }
.weapon-detail-dialog--managed .weapon-detail-footer[b-uq6s90e7nu] { flex: 0 0 auto; gap: .4rem; padding: .6rem .75rem max(.6rem, env(safe-area-inset-bottom)); }
.weapon-detail-dialog--managed .weapon-detail-actions[b-uq6s90e7nu] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.weapon-detail-dialog--managed .weapon-detail-actions[b-uq6s90e7nu]  .weapon-detail-action { grid-column: span 2; }
.weapon-detail-dialog--managed .weapon-detail-actions[b-uq6s90e7nu]  .weapon-detail-action--primary { grid-column: 1 / -1; }
.weapon-detail-dialog--managed .weapon-detail-actions[b-uq6s90e7nu]  .weapon-detail-action--compact { grid-column: span 3; }
.weapon-detail-dialog--managed .weapon-detail-actions[b-uq6s90e7nu]  .weapon-detail-action--wide { grid-column: 1 / -1; }
.weapon-detail-action-summary[b-uq6s90e7nu] { font-size: .72rem; }
.weapon-detail-action-summary[b-uq6s90e7nu]  .weapon-board__error,
.weapon-detail-action-summary[b-uq6s90e7nu]  .weapon-board__success { margin: 0; font-size: .7rem; }
.weapon-detail-action-summary:empty[b-uq6s90e7nu] { display: none; }
.weapon-detail-dialog--managed .weapon-detail-additional[b-uq6s90e7nu] { display: grid; gap: .65rem; }
/* /Components/WeaponEquipDetails.razor.rz.scp.css */
.weapon-equip-detail[b-v39sy68ku0] { --element:#c3b18a; display:flex; flex:1; flex-direction:column; min-height:0; overflow:hidden; color:#d8e5e9; background:linear-gradient(145deg,#203744,#10212e 70%); }
.weapon-equip-header[b-v39sy68ku0] { display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; gap:.7rem; padding:.75rem 1rem; border-bottom:1px solid #af956c50; background:linear-gradient(100deg,#c2a56812,transparent); }
.weapon-equip-header > div[b-v39sy68ku0] { min-width:0; }
.weapon-equip-header small[b-v39sy68ku0] { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#a5b7bd; font-size:.67rem; letter-spacing:.04em; }
.weapon-equip-header h3[b-v39sy68ku0] { margin:.2rem 0 0; color:#ebd7ae; font-size:1.1rem; font-weight:600; }
.weapon-equip-detail button[b-v39sy68ku0] { font:inherit; cursor:pointer; }
.weapon-equip-detail button:disabled[b-v39sy68ku0] { opacity:.45; cursor:not-allowed; }
.weapon-equip-detail button:focus-visible[b-v39sy68ku0] { outline:2px solid #eed196; outline-offset:-3px; }
.weapon-equip-close[b-v39sy68ku0] { display:grid; place-items:center; width:44px; height:44px; flex:0 0 44px; padding:0; border:1px solid #5c717b; border-radius:.5rem; background:#142b38; color:#d7c5a0; font-size:1.5rem!important; line-height:1; }
.weapon-equip-close:hover[b-v39sy68ku0] { background:#36515d; }
.weapon-equip-body[b-v39sy68ku0] { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:.85rem 1rem 1rem; scrollbar-width:thin; scrollbar-color:#567380 transparent; }
.weapon-equip-hero[b-v39sy68ku0] { display:grid; grid-template-columns:96px minmax(0,1fr); align-items:center; gap:.85rem; margin-bottom:.8rem; }
.weapon-equip-art[b-v39sy68ku0] { position:relative; display:grid; place-items:center; min-height:106px; border:1px solid color-mix(in srgb,var(--element) 30%,#344b58); border-radius:.65rem; background:radial-gradient(ellipse,color-mix(in srgb,var(--element) 15%,#1b3443),#102532); }
.weapon-equip-art[b-v39sy68ku0]::after { content:""; position:absolute; inset:5px; pointer-events:none; border:1px solid #b6c9cf12; border-radius:.5rem; }
.weapon-equip-art > img[b-v39sy68ku0] { display:block; width:88px; height:98px; object-fit:contain; image-rendering:pixelated; filter:drop-shadow(0 7px 7px #0006); }
.weapon-equip-element[b-v39sy68ku0] { position:absolute; z-index:1; top:6px; left:6px; display:grid; place-items:center; width:28px; height:28px; padding:3px; color:var(--element); border:1px solid color-mix(in srgb,var(--element) 55%,transparent); border-radius:50%; background:#112632e8; }
.weapon-equip-element[b-v39sy68ku0]  svg { width:100%; height:100%; }
.weapon-equip-identity[b-v39sy68ku0] { min-width:0; }
.weapon-equip-type[b-v39sy68ku0] { display:flex; align-items:center; flex-wrap:wrap; gap:.4rem; color:var(--element); font-size:.71rem; }
.weapon-equip-type i[b-v39sy68ku0] { width:3px; height:3px; border-radius:50%; background:var(--element); opacity:.6; }
.weapon-equip-identity h2[b-v39sy68ku0] { color:#f1e8d5; font:650 1.2rem/1.4 system-ui,sans-serif; margin:.4rem 0; overflow-wrap:anywhere; }
.weapon-equip-identity > small[b-v39sy68ku0] { display:block; margin-top:.3rem; color:#7f9ba9; font-size:.67rem; font-variant-numeric:tabular-nums; }
.weapon-equip-stats[b-v39sy68ku0] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; margin:0; }
.weapon-equip-stats > div[b-v39sy68ku0] { min-width:0; padding:.55rem .75rem; border:1px solid #b28c6045; border-radius:.5rem; background:linear-gradient(115deg,#d0a36b12,#0b1e2966); }
.weapon-equip-stats > .weapon-equip-stat--health[b-v39sy68ku0] { border-color:#80b19a40; background:linear-gradient(115deg,#83bc9c10,#0b1e2966); }
.weapon-equip-stats dt[b-v39sy68ku0] { display:flex; align-items:center; gap:.4rem; color:#a1bac6; font-size:.72rem; font-weight:400; }
.weapon-equip-stats svg[b-v39sy68ku0] { width:15px; height:15px; fill:none; stroke:#b9c7c6; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.weapon-equip-stats dd[b-v39sy68ku0] { margin:.15rem 0 0; color:#f1c795; font-size:1.5rem; font-weight:650; line-height:1.2; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.weapon-equip-stat--health dd[b-v39sy68ku0] { color:#a5d8c1; }
.weapon-equip-quality[b-v39sy68ku0] { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.4rem .6rem; padding:.65rem .1rem; border-bottom:1px solid #52687555; }
.weapon-equip-quality > div[b-v39sy68ku0] { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; }
.weapon-equip-quality span[b-v39sy68ku0] { color:#b4c5cd; font-size:.75rem; }
.weapon-equip-quality strong[b-v39sy68ku0] { color:#e5d2a7; font-size:.85rem; font-weight:600; }
.weapon-equip-quality strong small[b-v39sy68ku0] { color:#7e98a7; font-size:.7rem; font-weight:400; }
.weapon-equip-quality .weapon-equip-quality-name[b-v39sy68ku0] { font-size:.66rem; color:#aeb7b5; }
.weapon-equip-quality[b-v39sy68ku0]  .weapon-crystals { gap:5px; }
.weapon-equip-quality[b-v39sy68ku0]  .weapon-crystals__gem { width:12px; height:17px; }
.inventory-equip-action[b-v39sy68ku0] { flex:0 0 auto; padding:.7rem 1rem; border-top:1px solid #586d794d; background:#122633; }
.inventory-equip-action p[b-v39sy68ku0] { margin:0 0 .7rem; color:#a9bdc6; font-size:.73rem; line-height:1.6; overflow-wrap:anywhere; }
.inventory-equip-action p.is-warning[b-v39sy68ku0] { color:#e6be83; }
.weapon-equip-buttons[b-v39sy68ku0] { display:grid; grid-template-columns:1fr 2fr; gap:.6rem; }
.weapon-equip-buttons button[b-v39sy68ku0] { min-height:46px; min-width:0; padding:.65rem .55rem; border-radius:.55rem; font-size:.78rem; font-weight:600; }
.weapon-equip-back[b-v39sy68ku0] { border:1px solid #526b79; background:#1a3342; color:#c5d5dd; }
.inventory-equip-primary[b-v39sy68ku0] { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:.5rem; border:1px solid #d2b076; background:linear-gradient(110deg,#e0c18a,#c7a064); color:#192c35; }
.inventory-equip-primary > span[b-v39sy68ku0] { font-size:1.05rem; line-height:1; }
.inventory-equip-primary:hover:not(:disabled)[b-v39sy68ku0] { filter:brightness(1.08); }
.is-compact .weapon-equip-hero[b-v39sy68ku0] { grid-template-columns:64px minmax(0,1fr); gap:.8rem; margin-bottom:.7rem; }
.is-compact .weapon-equip-hero.has-actions[b-v39sy68ku0] { grid-template-columns:64px minmax(0,1fr) auto; }
.is-compact .weapon-equip-art[b-v39sy68ku0] { min-height:72px; }
.is-compact .weapon-equip-art > img[b-v39sy68ku0] { width:60px; height:68px; }
.is-compact .weapon-equip-element[b-v39sy68ku0] { width:22px; height:22px; top:3px; left:3px; }
.is-compact .weapon-equip-identity h2[b-v39sy68ku0] { font-size:1.05rem; margin:.2rem 0; }
.is-compact .weapon-equip-identity > small[b-v39sy68ku0],.is-compact .weapon-equip-stats[b-v39sy68ku0],.is-compact .weapon-equip-quality[b-v39sy68ku0] { display:none; }
@media(max-width:760px) {
    .weapon-equip-header[b-v39sy68ku0] { padding:.65rem .75rem; }
    .weapon-equip-body[b-v39sy68ku0] { padding:.75rem; }
    .weapon-equip-hero[b-v39sy68ku0] { grid-template-columns:86px minmax(0,1fr); gap:.75rem; }
    .weapon-equip-art[b-v39sy68ku0] { min-height:96px; }
    .weapon-equip-art > img[b-v39sy68ku0] { width:80px; height:90px; }
    .inventory-equip-action[b-v39sy68ku0] { padding:.65rem .75rem; }
}
@media(max-width:350px) {
    .weapon-equip-hero[b-v39sy68ku0] { grid-template-columns:78px minmax(0,1fr); gap:.65rem; }
    .weapon-equip-art > img[b-v39sy68ku0] { width:74px; height:88px; }
    .weapon-equip-identity h2[b-v39sy68ku0] { font-size:1.1rem; }
    .weapon-equip-buttons[b-v39sy68ku0] { grid-template-columns:1fr 1.8fr; gap:.4rem; }
}
.is-selection[b-v39sy68ku0] { background:#142b39; }
.is-selection .weapon-equip-header[b-v39sy68ku0] { justify-content:flex-start; gap:.55rem; min-height:62px; padding:.55rem .75rem; background:transparent; }
.is-selection .weapon-equip-close[b-v39sy68ku0] { width:36px; flex-basis:36px; border-color:transparent; background:#233f4e; }
.is-selection .weapon-equip-header h3[b-v39sy68ku0] { margin:0; font-size:1rem; }
.weapon-equip-target[b-v39sy68ku0] { padding:.2rem .4rem; border-radius:.25rem; color:#dfc48f; background:#c7a76320; font-size:.65rem; white-space:nowrap; }
.is-selection .weapon-equip-identity h2[b-v39sy68ku0] { color:#efd19b; }
.is-selection .weapon-equip-identity > small[b-v39sy68ku0] { line-height:1.6; }
.is-selection .inventory-equip-action p[b-v39sy68ku0] { margin-bottom:.5rem; font-size:.67rem; }
.is-selection .weapon-equip-buttons[b-v39sy68ku0] { grid-template-columns:1fr 2.5fr; }
.is-selection .weapon-equip-buttons button[b-v39sy68ku0] { font-size:.72rem; }
/* /Components/WeaponMaterialPicker.razor.rz.scp.css */
.weapon-material-picker[b-3lwmjj7d2i] { display:flex; flex:1; flex-direction:column; min-height:0; }
.material-picker-heading[b-3lwmjj7d2i] { display:flex; flex:0 0 auto; justify-content:space-between; align-items:center; gap:.5rem; padding:.1rem 0 .55rem; }
.material-picker-heading h3[b-3lwmjj7d2i] { margin:0; color:#dcd5c3; font-size:.8rem; font-weight:500; }
.material-picker-heading > span[b-3lwmjj7d2i] { color:#9db4be; font-size:.68rem; font-variant-numeric:tabular-nums; }
.material-picker-list[b-3lwmjj7d2i] { min-height:0; max-height:26.25rem; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#567380 transparent; }
.material-picker-item[b-3lwmjj7d2i] { height:8.75rem; box-sizing:border-box; padding:0 .2rem .45rem 0; }
.material-picker-card[b-3lwmjj7d2i] { display:grid; grid-template-columns:62px minmax(0,1fr) 12px; align-items:center; gap:.65rem; width:100%; height:100%; box-sizing:border-box; padding:.6rem .65rem; border:1px solid #566e7966; border-radius:.55rem; background:linear-gradient(110deg,#223b4559,#0d222d99); color:#dbe5e5; font:inherit; text-align:left; cursor:pointer; }
.material-picker-card:hover:not(:disabled)[b-3lwmjj7d2i] { border-color:#c5aa73; background:linear-gradient(110deg,#44504460,#193340); }
.material-picker-card:focus-visible[b-3lwmjj7d2i],.material-picker-list:focus-visible[b-3lwmjj7d2i] { outline:2px solid #ebc98d; outline-offset:-3px; }
.material-picker-card:disabled[b-3lwmjj7d2i] { opacity:.45; cursor:not-allowed; }
.material-picker-art[b-3lwmjj7d2i] { position:relative; display:grid; place-items:center; width:62px; height:72px; border:1px solid color-mix(in srgb,var(--element) 24%,#3e5761); border-radius:.45rem; background:radial-gradient(ellipse,color-mix(in srgb,var(--element) 12%,#273f47),#122733); }
.material-picker-art img[b-3lwmjj7d2i] { width:56px; height:62px; object-fit:contain; image-rendering:pixelated; filter:drop-shadow(0 3px 3px #04131caa); }
.material-picker-element[b-3lwmjj7d2i] { position:absolute; top:3px; left:3px; width:18px; height:18px; color:var(--element); }
.material-picker-element[b-3lwmjj7d2i]  svg { display:block; width:100%; height:100%; }
.material-picker-copy[b-3lwmjj7d2i] { display:flex; flex-direction:column; min-width:0; gap:.2rem; }
.material-picker-copy > strong[b-3lwmjj7d2i] { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#e6dfca; font-size:.82rem; font-weight:600; line-height:1.4; }
.material-picker-meta[b-3lwmjj7d2i] { display:flex; flex-wrap:wrap; align-items:center; gap:.15rem .6rem; color:#99b3c0; font-size:.65rem; line-height:1.35; font-variant-numeric:tabular-nums; }
.material-picker-meta > span[b-3lwmjj7d2i] { white-space:nowrap; }
.material-picker-quality[b-3lwmjj7d2i] { display:flex; align-items:center; flex-wrap:wrap; gap:.2rem .4rem; min-height:16px; color:#c4b78f; font-size:.64rem; line-height:1.35; }
.material-picker-quality[b-3lwmjj7d2i]  .weapon-crystals { gap:2px; }
.material-picker-quality[b-3lwmjj7d2i]  .weapon-crystals__gem { width:8px; height:11px; }
.material-picker-skills[b-3lwmjj7d2i] { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; color:#afc7d2; font-size:.68rem; line-height:1.5; }
.material-picker-arrow[b-3lwmjj7d2i] { color:#d2bc8d; font-size:1.3rem; text-align:center; }
.material-picker-empty[b-3lwmjj7d2i] { display:grid; justify-items:center; gap:.5rem; padding:1.2rem .8rem; border:1px dashed #526d77; border-radius:.55rem; text-align:center; background:#0d222d66; }
.material-picker-empty > span[b-3lwmjj7d2i] { color:#b6a477; font-size:1.8rem; }
.material-picker-empty strong[b-3lwmjj7d2i] { color:#d5d8cf; font-size:.8rem; font-weight:500; }
.material-picker-empty p[b-3lwmjj7d2i] { margin:0; color:#a2b9c5; font-size:.72rem; line-height:1.7; }
@media(max-width:360px) {
    .material-picker-card[b-3lwmjj7d2i] { grid-template-columns:50px minmax(0,1fr) 8px; padding:.5rem; gap:.45rem; }
    .material-picker-art[b-3lwmjj7d2i] { width:50px; height:62px; }
    .material-picker-art img[b-3lwmjj7d2i] { width:46px; height:54px; }
}
/* /Components/WeaponQualityCrystals.razor.rz.scp.css */
.weapon-crystals[b-xuanb665w7] { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 3px; height: 16px; vertical-align: middle; }
.weapon-crystals__gem[b-xuanb665w7] { display: block; width: 10px; height: 14px; overflow: visible; }
.weapon-crystals__outline[b-xuanb665w7] { fill: #10202b; stroke: #8b9eaa; stroke-width: 1.25; stroke-linejoin: round; }
.weapon-crystals__gem--lit[b-xuanb665w7] { filter: drop-shadow(0 0 2px #efc97b45); }
.weapon-crystals__gem--lit .weapon-crystals__outline[b-xuanb665w7] { fill: #edc16f; stroke: #ffe0a2; }
.weapon-crystals__facet--light[b-xuanb665w7] { fill: #fff0be; }
.weapon-crystals__facet--top[b-xuanb665w7] { fill: #eac16f; }
.weapon-crystals__facet--bottom[b-xuanb665w7] { fill: #d4a455; }
.weapon-crystals__facet--shade[b-xuanb665w7] { fill: #9f7335; }
.weapon-crystals__shine[b-xuanb665w7] { fill: none; stroke: #fff9dc; stroke-width: 1; stroke-linecap: round; }
/* /Components/WeaponSkillDetails.razor.rz.scp.css */
.weapon-skill-heading[b-f88d8gadry] { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.5rem; margin:.7rem 0 .3rem; }
.weapon-skill-heading h3[b-f88d8gadry] { color:#d6e1e5; font-size:.84rem; font-weight:600; margin:0; }
.weapon-skill-heading > span[b-f88d8gadry] { color:#859fac; font-size:.66rem; }
.weapon-skill-entry[b-f88d8gadry] { display:grid; grid-template-columns:28px minmax(0,1fr); gap:.6rem; padding:.6rem 0; }
.weapon-skill-entry + .weapon-skill-entry[b-f88d8gadry] { border-top:1px solid #536a7738; }
.weapon-skill-mark[b-f88d8gadry] { display:grid; place-items:center; width:28px; height:28px; border:1px solid #bc9f634f; border-radius:.4rem; background:#b89b6212; color:#dabb7c; font-size:1.05rem; }
.weapon-skill-entry strong[b-f88d8gadry] { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.35rem; color:#dce8ed; font-size:.82rem; font-weight:600; line-height:1.5; }
.weapon-skill-entry small[b-f88d8gadry] { padding:.05rem .35rem; border:1px solid #bea37038; border-radius:.25rem; color:#dfc18a; font-size:.67rem; font-weight:500; white-space:nowrap; }
.weapon-skill-details p[b-f88d8gadry] { font-size:.78rem; line-height:1.65; color:#aac1cd; margin:.3rem 0 0; overflow-wrap:anywhere; }
.weapon-skill-entry.is-locked strong[b-f88d8gadry] { color:#99aebb; }
.weapon-skill-entry.is-locked small[b-f88d8gadry] { border:0; color:#9aacb7; padding:0; font-size:.64rem; }
.weapon-skill-entry.is-locked p[b-f88d8gadry] { color:#8ea6b3; }
.is-locked .weapon-skill-mark[b-f88d8gadry] { border-color:#536a774d; color:#8ca1ad; background:#52697712; }
.weapon-skill-mark svg[b-f88d8gadry] { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
/* /Components/WeaponSkillEnhancementDialog.razor.rz.scp.css */
.enhancement-dialog-host[b-bnqn9rur6q]  .skill-enhancement-dialog { inset:0; width:min(440px,calc(100% - 24px)); max-height:calc(100dvh - 32px); margin:auto; padding:1rem; border:1px solid #60747b; border-radius:.9rem; background:radial-gradient(ellipse at top right,#b9985520,transparent 65%),#152c38; box-shadow:0 24px 80px #0009; }
.enhancement-header[b-bnqn9rur6q] { display:flex; align-items:center; justify-content:space-between; gap:.7rem; margin-bottom:1rem; }
.enhancement-header span[b-bnqn9rur6q] { color:#9db6c3; font-size:.7rem; }
.enhancement-header h2[b-bnqn9rur6q] { margin:.3rem 0 0; color:#efdab0; font-size:1.15rem; }
.enhancement-dialog-host button[b-bnqn9rur6q] { min-height:44px; padding:.55rem .75rem; border:1px solid #496776; border-radius:.5rem; background:#203e4e; color:#dce8ed; font:inherit; font-size:.76rem; }
.enhancement-dialog-host button:disabled[b-bnqn9rur6q] { opacity:.45; }
.enhancement-dialog-host button:hover:not(:disabled)[b-bnqn9rur6q] { filter:brightness(1.12); }
.enhancement-dialog-host button:focus-visible[b-bnqn9rur6q] { outline:2px solid #eccd90; outline-offset:3px; }
.enhancement-header .enhancement-close[b-bnqn9rur6q] { width:44px; padding:0; font-size:1.5rem; color:#d9c397; }
.enhancement-balance[b-bnqn9rur6q] { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.4rem; padding:.7rem .8rem; border:1px solid #405d6b; border-radius:.5rem; background:#102532; color:#a7c0cc; font-size:.75rem; }
.enhancement-balance strong[b-bnqn9rur6q] { margin-left:.25rem; color:#e4c98f; font-variant-numeric:tabular-nums; }
.enhancement-target-label[b-bnqn9rur6q] { display:block; margin:.85rem 0 .45rem; color:#dce5e5; font-size:.78rem; }
.enhancement-target-controls[b-bnqn9rur6q] { display:flex; align-items:stretch; gap:.5rem; }
.enhancement-target-controls select[b-bnqn9rur6q] { flex:1; min-width:0; min-height:44px; padding:.6rem .7rem; border:1px solid #526d7b; border-radius:.5rem; background:#102532; color:#e2d1ae; font-size:1rem; color-scheme:dark; }
.enhancement-target-controls button[b-bnqn9rur6q] { padding:.55rem .9rem; background:transparent; color:#e1c58e; }
.enhancement-preview[b-bnqn9rur6q] { padding:.8rem; margin-top:.85rem; border:1px solid #526c76; border-radius:.6rem; background:#102532; }
.enhancement-level-change[b-bnqn9rur6q] { display:flex; flex-wrap:wrap; align-items:baseline; gap:.6rem; color:#9bb5c4; font-size:.85rem; }
.enhancement-level-change strong[b-bnqn9rur6q] { color:#efd59b; font-size:1.15rem; }
.enhancement-level-change small[b-bnqn9rur6q] { margin-left:auto; font-size:.68rem; }
.enhancement-preview p[b-bnqn9rur6q] { margin:.55rem 0 .8rem; color:#bfd0d8; font-size:.75rem; line-height:1.6; }
.enhancement-cost[b-bnqn9rur6q],.enhancement-remaining[b-bnqn9rur6q] { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.4rem; color:#a0b9c7; font-size:.75rem; }
.enhancement-cost[b-bnqn9rur6q] { padding-top:.65rem; border-top:1px solid #415d6a; }
.enhancement-cost strong[b-bnqn9rur6q] { color:#e5c78b; font-weight:600; }
.enhancement-remaining[b-bnqn9rur6q] { margin-top:.4rem; font-size:.68rem; }
.enhancement-remaining strong[b-bnqn9rur6q] { font-weight:500; }
.enhancement-preview .enhancement-warning[b-bnqn9rur6q] { margin:.6rem 0 0; color:#e3ae90; }
.enhancement-note[b-bnqn9rur6q] { color:#8faab8; font-size:.68rem; line-height:1.6; margin:.75rem 0; }
.enhancement-actions[b-bnqn9rur6q] { display:grid; grid-template-columns:1fr 2fr; gap:.6rem; }
.enhancement-actions .enhancement-confirm[b-bnqn9rur6q] { background:linear-gradient(110deg,#ddbc82,#c6a16a); border-color:#d1af75; color:#192d36; font-weight:600; }
@media(max-width:350px) { .enhancement-dialog-host[b-bnqn9rur6q]  .skill-enhancement-dialog { padding:.8rem; } }
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-kn445g9c5w] {
    --game-shell-width: 640px;
    position: relative;
    width: min(100%, var(--game-shell-width));
    min-height: 100svh;
    margin-inline: auto;
    overflow: clip;
    border-inline: 1px solid rgba(85, 110, 132, .38);
    background: linear-gradient(180deg, #0e1926 0%, #0a131e 100%);
    box-shadow: 0 0 80px rgba(0, 0, 0, .52);
}

main[b-kn445g9c5w] {
    min-width: 0;
    min-height: 100svh;
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom));
    container-name: game-shell;
    container-type: inline-size;
}

.content[b-kn445g9c5w] {
    min-width: 0;
    padding: .65rem .65rem 1rem;
}

.page--auth[b-kn445g9c5w] { border-inline-color: rgba(85, 110, 132, .24); }
.page--inventory[b-kn445g9c5w] { --game-shell-width: 1120px; }
.page--story[b-kn445g9c5w] { --game-shell-width: 1000px; }
.page--story[b-kn445g9c5w]  .mobile-dock { width: min(calc(100vw - 1.3rem), calc(var(--game-shell-width) - 1.3rem)); }
.page--inventory main[b-kn445g9c5w] { container-type: normal; }
.page--inventory[b-kn445g9c5w]  .mobile-dock { width: min(calc(100vw - 1.3rem), calc(var(--game-shell-width) - 1.3rem)); }
.page--auth main[b-kn445g9c5w] { display: grid; padding-bottom: 0; }
.content--auth[b-kn445g9c5w] { display: grid; min-height: 100svh; padding: 0; }

.top-row[b-kn445g9c5w] {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: .45rem;
    min-height: 3.6rem;
    padding: calc(.35rem + env(safe-area-inset-top)) .65rem .35rem;
    background: rgba(12, 24, 36, .94);
    border-bottom: 1px solid rgba(82, 109, 132, .42);
    color: #b9c7d5;
    box-shadow: 0 8px 24px rgba(2, 8, 14, .28);
    backdrop-filter: blur(18px);
}

.top-row__brand[b-kn445g9c5w] {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #765f3f;
    border-radius: .72rem;
    background: linear-gradient(145deg, rgba(216, 169, 87, .18), rgba(216, 169, 87, .04));
    color: #efc878;
    font-size: 1.05rem;
    text-decoration: none;
    cursor: pointer;
}

.top-row__brand:hover:not(:disabled)[b-kn445g9c5w] { border-color: #d6aa66; color: #ffe0a2; }
.top-row__brand:disabled[b-kn445g9c5w] { opacity: .6; cursor: wait; }
.top-row__title[b-kn445g9c5w] { display: none; }
.top-row__account[b-kn445g9c5w] { display: flex; align-items: center; gap: .35rem; min-width: 0; }
.top-row__username[b-kn445g9c5w] { display: none; }
.top-row__logout[b-kn445g9c5w] { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #50667a; border-radius: .65rem; padding: 0; background: #15273a; color: #dbe7ee; font-size: 1.1rem; cursor: pointer; }
.top-row__logout:hover:not(:disabled)[b-kn445g9c5w] { border-color: #d6aa66; color: #f7d89f; }
.top-row__logout:disabled[b-kn445g9c5w] { opacity: .6; cursor: not-allowed; }
.top-row__error[b-kn445g9c5w] { grid-column: 1 / -1; color: #ffb4b6; font-size: .7rem; }
.top-row__character[b-kn445g9c5w] {
    position: relative;
    display: grid;
    min-width: 0;
    width: 100%;
    gap: .08rem;
    min-height: 44px;
    padding: .3rem 1.65rem .3rem .6rem;
    border: 1px solid #415a70;
    border-radius: .68rem;
    background: linear-gradient(145deg, #1b3144, #142538);
    color: #e8f0f5;
    text-align: left;
    cursor: pointer;
}
.top-row__character:hover[b-kn445g9c5w], .top-row__character[aria-expanded="true"][b-kn445g9c5w] { border-color: #d4aa67; background: #263c4e; }
.top-row__character-label[b-kn445g9c5w] { color: #e0b36f; font-size: .625rem; font-weight: 800; letter-spacing: .08em; }
.top-row__character > strong[b-kn445g9c5w] { font-size: .88rem; }
.top-row__character-line[b-kn445g9c5w] { display: flex; align-items: center; gap: .3rem; min-width: 0; }
.top-row__character-line strong[b-kn445g9c5w] { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; line-height: 1.2; }
.top-row__character-level[b-kn445g9c5w] { flex: 0 0 auto; color: #c8d5df; font-size: .72rem; white-space: nowrap; }
.top-row__experience[b-kn445g9c5w] { position: relative; display: block; flex: 1 1 6rem; min-width: 4rem; height: .95rem; overflow: hidden; border: 1px solid #6e6b5b; border-radius: 999px; background: #0b1c2b; }
.top-row__experience progress[b-kn445g9c5w] { display: block; width: 100%; height: 100%; margin: 0; border: 0; appearance: none; background: #0b1c2b; accent-color: #d9aa60; }
.top-row__experience progress[b-kn445g9c5w]::-webkit-progress-bar { border-radius: 999px; background: #0b1c2b; }
.top-row__experience progress[b-kn445g9c5w]::-webkit-progress-value { border-radius: 999px; background: linear-gradient(90deg, #ab793e, #e7be71); }
.top-row__experience progress[b-kn445g9c5w]::-moz-progress-bar { border-radius: 999px; background: linear-gradient(90deg, #ab793e, #e7be71); }
.top-row__experience-value[b-kn445g9c5w] { position: absolute; inset: 0; display: grid; place-items: center; color: #fff5dc; font-size: .6rem; font-weight: 800; line-height: 1; text-shadow: 0 1px 2px #09131c, 0 -1px 2px #09131c; pointer-events: none; }
.top-row__character-detail[b-kn445g9c5w] { overflow: hidden; color: #aebfce; font-size: .75rem; white-space: nowrap; text-overflow: ellipsis; }
.top-row__character--update .top-row__character-detail[b-kn445g9c5w] { padding-right:4.5rem; }
.top-row__update-badge[b-kn445g9c5w] { position:absolute; right:1.65rem; bottom:.35rem; display:inline-flex; align-items:center; gap:.25rem; color:#edc373; font-size:.65rem; white-space:nowrap; }
.top-row__update-badge > span[b-kn445g9c5w] { font-size:.5rem; }
.top-row__character-arrow[b-kn445g9c5w] { position: absolute; top: 50%; right: .6rem; transform: translateY(-50%); color: #efbf76; }

.page[b-kn445g9c5w]  .character-switcher { overflow: hidden; }
.page[b-kn445g9c5w]  .character-switcher[open] { display: flex; flex-direction: column; }
.character-switcher__body[b-kn445g9c5w] { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.character-switcher__header[b-kn445g9c5w] { display: flex; flex-shrink: 0; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.character-switcher__header span[b-kn445g9c5w] { color: #e7b767; font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
.character-switcher__header h2[b-kn445g9c5w] { margin: .25rem 0; font-family: Georgia, serif; font-size: 1.35rem; }
.character-switcher__header p[b-kn445g9c5w] { margin: 0; color: #aebfce; font-size: .85rem; }
.character-switcher__close[b-kn445g9c5w] { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #62788c; border-radius: .65rem; background: #17283a; color: #e4edf3; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.character-switcher__close:hover[b-kn445g9c5w] { background: #2c4357; }
.character-switcher__account[b-kn445g9c5w] { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.75rem; margin-top:1rem; padding-top:1rem; border-top:1px solid #40566c; }
.character-switcher__account .top-row__error[b-kn445g9c5w] { flex-basis:100%; }
.character-switcher__account button[b-kn445g9c5w] { margin-left:auto; }

@container game-shell (max-width: 430px) {
    .top-row[b-kn445g9c5w] { grid-template-columns: 44px minmax(0, 1fr); padding-inline: .5rem; }
    .top-row__character-label[b-kn445g9c5w] { font-size: .625rem; }
    .top-row__character-detail[b-kn445g9c5w] { font-size: .72rem; }
}

@media (max-width: 430px) {
    .page--inventory .top-row[b-kn445g9c5w] { padding-inline: .5rem; }
    .page--inventory .top-row__character-detail[b-kn445g9c5w] { font-size: .72rem; }
}

/* Combat keeps the account context compact so the field stays in view. */
.page--battle .top-row[b-kn445g9c5w] { min-height: 3.5rem; padding-block: calc(.35rem + env(safe-area-inset-top)) .35rem; }
.page--battle .top-row__character[b-kn445g9c5w] { min-height: 44px; gap: .15rem; }
.page--battle .top-row__character-label[b-kn445g9c5w] { display: none; }
.page--battle:has(.battle-page--staggered) .top-row[b-kn445g9c5w] { display: none; }
.page--battle .content[b-kn445g9c5w] { padding-top: .5rem; padding-bottom: .5rem; }
/* Browser toolbar transitions must not resize the battlefield or shift its controls. */
.page--battle[b-kn445g9c5w] { display: flex; flex-direction: column; min-height: var(--battle-viewport-height, 100svh); }
.page--battle main[b-kn445g9c5w] { display: flex; flex-direction: column; order: 0; flex: 1; min-height: 0; padding-bottom: 0; }
.page--battle .top-row[b-kn445g9c5w] { flex: 0 0 auto; }
.page--battle .content[b-kn445g9c5w] { display: flex; flex-direction: column; flex: 1; }
/* Keep the full navigation below battle controls, including on short screens. */
.page--battle[b-kn445g9c5w]  .mobile-dock { position: relative; order: 1; inset: auto; transform: none; flex-shrink: 0; margin: .5rem auto max(.5rem, env(safe-area-inset-bottom)); }
.page--battle:has(.battle-page--staggered .battle-stage) .content[b-kn445g9c5w] { padding-top: max(.5rem, env(safe-area-inset-top)); }
@container game-shell (max-width: 340px) {
    .page--battle .content[b-kn445g9c5w] { padding-inline: 6px; }
}

/* Keep the weapons workspace between the account bar and the main navigation. */
.page--weapons .top-row[b-kn445g9c5w] { min-height: 3.5rem; padding-block: calc(.35rem + env(safe-area-inset-top)) .35rem; }
.page--weapons .top-row__character[b-kn445g9c5w] { min-height: 44px; gap: .15rem; }
.page--weapons .top-row__character-label[b-kn445g9c5w] { display: none; }
.page--weapons .content[b-kn445g9c5w] { padding-top: .5rem; padding-bottom: .5rem; }
.page--weapons main[b-kn445g9c5w] { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }

/* Keep all three lobby workspaces inside the main view. */
.page--lobby .top-row[b-kn445g9c5w] { min-height: 3.5rem; padding-block: calc(.35rem + env(safe-area-inset-top)) .35rem; }
.page--lobby .top-row__character[b-kn445g9c5w] { min-height: 44px; gap: .15rem; }
.page--lobby .top-row__character-label[b-kn445g9c5w] { display: none; }
.page--lobby .content[b-kn445g9c5w] { padding-top: .5rem; padding-bottom: .5rem; }
.page--lobby main[b-kn445g9c5w] { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }

.page--talents .top-row[b-kn445g9c5w] { min-height: 3.5rem; padding-block: calc(.35rem + env(safe-area-inset-top)) .35rem; }
.page--talents .top-row__character[b-kn445g9c5w] { min-height: 44px; gap: .15rem; }
.page--talents .top-row__character-label[b-kn445g9c5w] { display: none; }
.page--talents .content[b-kn445g9c5w] { padding-top: .5rem; padding-bottom: .5rem; }
.page--talents main[b-kn445g9c5w] { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }

/* Formation editors occupy the viewport; keep the global dock underneath them. */
.page--formations main[b-kn445g9c5w] { container-type:normal; }
.page--formations .top-row[b-kn445g9c5w] { min-height:3.5rem; padding-block:calc(.35rem + env(safe-area-inset-top)) .35rem; }
.page--formations .top-row__character[b-kn445g9c5w] { min-height:44px; }
.page--formations .top-row__character-label[b-kn445g9c5w] { display:none; }
.page--formations .content[b-kn445g9c5w] { padding-top:.4rem; }


.top-row[b-kn445g9c5w] { top:var(--app-top-inset); }

/* The task reader has one scroll area between its title and actions. */
.page--journal-detail[b-kn445g9c5w] { display:flex; flex-direction:column; height:100dvh; min-height:0; padding-top:var(--app-top-inset); overflow:hidden; }
.page--journal-detail main[b-kn445g9c5w] { display:flex; flex-direction:column; flex:1; min-height:0; padding-bottom:0; container-type:normal; }
.page--journal-detail .content[b-kn445g9c5w] { display:flex; flex:1; min-height:0; padding:0; }
.page--journal-detail .top-row[b-kn445g9c5w] { position:relative; top:auto; flex-shrink:0; min-height:44px; grid-template-columns:36px minmax(0,1fr); padding:4px .65rem; box-shadow:none; }
.page--journal-detail .top-row__brand[b-kn445g9c5w] { width:36px; height:36px; border-color:transparent; background:none; }
.page--journal-detail .top-row__character[b-kn445g9c5w] { min-height:36px; padding-block:.3rem; border-color:transparent; background:none; }
.page--journal-detail .top-row__character-detail[b-kn445g9c5w] { display:none; }
.page--journal-detail .top-row__character-line strong[b-kn445g9c5w] { flex:0 0 auto; max-width:40%; }
.page--journal-detail .top-row__experience[b-kn445g9c5w] { flex:1 1 6rem; max-width:12rem; height:.8rem; }
.page--journal-detail .top-row__update-badge[b-kn445g9c5w] { bottom:auto; top:50%; transform:translateY(-50%); }
.page--journal-detail[b-kn445g9c5w]  .mobile-dock { position:relative; order:1; inset:auto; transform:none; flex-shrink:0; margin:.35rem auto max(.35rem,env(safe-area-inset-bottom)); box-shadow:none; }
@media(pointer:coarse) {
    .page--journal-detail .top-row[b-kn445g9c5w] { grid-template-columns:44px minmax(0,1fr); }
    .page--journal-detail .top-row__brand[b-kn445g9c5w],.page--journal-detail .top-row__character[b-kn445g9c5w] { min-height:44px; }
    .page--journal-detail .top-row__brand[b-kn445g9c5w] { width:44px; }
}
@media(max-height:520px) {
    .page--journal-detail[b-kn445g9c5w]  .mobile-dock { min-height:42px; padding:2px; margin-block:3px; }
    .page--journal-detail[b-kn445g9c5w]  .mobile-dock__link { flex-direction:row; gap:6px; min-height:36px; font-size:11px; }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.mobile-dock[b-9yrobyqgid] {
    position: fixed;
    z-index: 1100;
    bottom: max(.55rem, env(safe-area-inset-bottom));
    left: 50%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: min(calc(100vw - 1.3rem), calc(var(--game-shell-width, 640px) - 1.3rem));
    min-height: 4rem;
    padding: .3rem;
    transform: translateX(-50%);
    border: 1px solid #40566c;
    border-radius: .9rem;
    background: rgba(14, 26, 40, .96);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .55);
    backdrop-filter: blur(16px);
}

.mobile-dock[b-9yrobyqgid]  .mobile-dock__link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .1rem;
    min-width: 0;
    min-height: 3.35rem;
    border-radius: .65rem;
    color: #8fa4b7;
    padding: .2rem;
    border: 0;
    background: transparent;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .15s, background .15s;
}

.mobile-dock[b-9yrobyqgid]  .mobile-dock__link:hover {
    background: rgba(93, 126, 151, .12);
    color: #d9e4eb;
}

.mobile-dock[b-9yrobyqgid]  .mobile-dock__link.active {
    background: rgba(216, 169, 87, .14);
    color: #f2dba9;
}

.mobile-dock[b-9yrobyqgid]  .mobile-dock__link:focus-visible { outline: 2px solid #f0c77f; outline-offset: -2px; }
.mobile-dock__icon[b-9yrobyqgid] { color: #d8a957; font-size: 1rem; line-height: 1.2; }
.mobile-dock__badge[b-9yrobyqgid] {
    position: absolute;
    top: -.25rem;
    right: .05rem;
    padding: .12rem .3rem;
    border: 1px solid;
    border-radius: .4rem;
    font-size: .6rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    pointer-events: none;
}
.mobile-dock__badge--empty[b-9yrobyqgid] { border-color: #94733f; background: #382c1b; color: #f1cd8d; }
.mobile-dock__badge--ready[b-9yrobyqgid] { border-color: #5a9978; background: #1c3b2c; color: #b6efc9; }

.navigation-sheet__header[b-9yrobyqgid] { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:.8rem; }
.navigation-sheet__header h2[b-9yrobyqgid] { margin:0; font-size:1.1rem; color:#f2e7d3; }
.navigation-sheet__header button[b-9yrobyqgid] { display:grid; place-items:center; width:44px; height:44px; border:1px solid #506a80; border-radius:.65rem; background:#142638; color:#dce5ee; font-size:1.4rem; }
.navigation-sheet__grid[b-9yrobyqgid] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; }
.navigation-sheet__link[b-9yrobyqgid] { display:flex; align-items:center; gap:.6rem; min-height:64px; padding:.75rem; border:1px solid #405a70; border-radius:.75rem; background:#172c3e; color:#dce5ee; text-decoration:none; }
.navigation-sheet__link strong[b-9yrobyqgid] { flex:1; font-size:.9rem; }
.navigation-sheet__link > span:first-child[b-9yrobyqgid] { color:#e7bc75; font-size:1.2rem; }
.navigation-sheet__link > span:last-child[b-9yrobyqgid] { color:#90a6b8; }
.navigation-sheet__link.active[b-9yrobyqgid] { border-color:#d8a957; background:#34352d; color:#f4d99f; }
/* /Pages/Battle.razor.rz.scp.css */
.battle-page[b-e0xllmuqsr] {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.battle-page__header[b-e0xllmuqsr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 1.25rem;
}

.battle-page__room[b-e0xllmuqsr] {
    color: #8fa3b7;
    font-size: .76rem;
    letter-spacing: .16em;
}

.back-link[b-e0xllmuqsr] {
    border: 0;
    background: none;
    color: #e3ba72;
    font-weight: 700;
}

.battle-stage[b-e0xllmuqsr],
.battle-controls[b-e0xllmuqsr],
.formation-panel[b-e0xllmuqsr] {
    border: 1px solid #354a60;
    border-radius: 1rem;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .22);
}

.battle-stage[b-e0xllmuqsr] {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 74% 42%, rgba(69, 116, 134, .28), transparent 36%),
        radial-gradient(circle at 22% 72%, rgba(63, 91, 139, .24), transparent 38%),
        linear-gradient(180deg, #1c3044 0%, #142132 58%, #0e1a29 100%);
}

.battle-stage[b-e0xllmuqsr]::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: .18;
    background: repeating-linear-gradient(90deg, transparent 0 78px, #7b9bb1 79px, transparent 80px);
    mask-image: linear-gradient(180deg, transparent, #000 75%);
}

.battle-stage__header[b-e0xllmuqsr],
.battle-stage__footer[b-e0xllmuqsr] {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.battle-stage__header[b-e0xllmuqsr] {
    padding: 1.4rem 1.55rem .9rem;
}

.battle-stage__header h1[b-e0xllmuqsr] {
    margin: .28rem 0 0;
    color: #f3e9d7;
    font: 700 clamp(1.45rem, 2.5vw, 2.1rem) Georgia, serif;
}

.battle-stage__meta[b-e0xllmuqsr] {
    display: flex;
    gap: .55rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.coop-drop-bonus[b-e0xllmuqsr],
.damage-variance[b-e0xllmuqsr] {
    position: relative;
    max-width: 34rem;
    margin-top: .3rem;
    font-size: .7rem;
    line-height: 1.4;
}

.coop-drop-bonus summary[b-e0xllmuqsr],
.damage-variance summary[b-e0xllmuqsr] {
    color: #a4e2c3;
    cursor: pointer;
}

.coop-drop-bonus summary:focus-visible[b-e0xllmuqsr],
.damage-variance summary:focus-visible[b-e0xllmuqsr] {
    outline: 2px solid #e3ba72;
    outline-offset: 3px;
    border-radius: .2rem;
}

.coop-drop-bonus__note[b-e0xllmuqsr] {
    display: block;
    color: #bdcdd9;
    font-size: .65rem;
}

.coop-drop-bonus__scope[b-e0xllmuqsr],
.damage-variance__scope[b-e0xllmuqsr] {
    position: absolute;
    top: calc(100% + .4rem);
    left: 0;
    z-index: 8;
    width: min(28rem, calc(100vw - 3rem));
    padding: .65rem .8rem;
    border: 1px solid #526e7d;
    border-radius: .5rem;
    color: #dce8ef;
    background: #102232;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .35);
}

.coop-drop-bonus__scope p[b-e0xllmuqsr],
.damage-variance__scope p[b-e0xllmuqsr] {
    margin: 0;
}

.coop-drop-bonus__scope p + p[b-e0xllmuqsr],
.damage-variance__scope p + p[b-e0xllmuqsr] {
    margin-top: .5rem;
}

.battle-mode[b-e0xllmuqsr],
.battle-status[b-e0xllmuqsr] {
    border: 1px solid rgba(192, 211, 222, .2);
    border-radius: 999px;
    padding: .32rem .7rem;
    color: #bdcdd9;
    background: rgba(9, 21, 33, .48);
    font-size: .76rem;
    white-space: nowrap;
}

.battle-status[b-e0xllmuqsr] {
    border-color: rgba(225, 183, 103, .45);
    color: #f0cd8c;
}

.battle-feed[b-e0xllmuqsr] {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .9rem;
    align-items: center;
    width: calc(100% - 3.1rem);
    margin: 0 1.55rem;
    border: 1px solid rgba(122, 161, 184, .3);
    border-radius: .65rem;
    padding: .7rem .95rem;
    background: #102232;
    text-align: left;
    transition: background .2s, border-color .2s;
}

.battle-feed:hover[b-e0xllmuqsr] {
    border-color: rgba(227, 186, 114, .65);
    background: rgba(14, 32, 47, .9);
}

.formation-panel summary[b-e0xllmuqsr]::-webkit-details-marker {
    display: none;
}

.battle-feed:focus-visible[b-e0xllmuqsr],
.formation-panel summary:focus-visible[b-e0xllmuqsr] {
    outline: 2px solid #e3ba72;
    outline-offset: -3px;
}

.battle-feed__live[b-e0xllmuqsr] {
    color: #a4e2c3;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .13em;
    white-space: nowrap;
}

.battle-feed__latest[b-e0xllmuqsr] {
    overflow: hidden;
    color: #e0e7ec;
    font-size: .87rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.battle-feed__open[b-e0xllmuqsr] {
    color: #e6c281;
    font-size: .77rem;
    white-space: nowrap;
}

.monster-intent[b-e0xllmuqsr] {
    width: calc(100% - 3rem);
    margin: .75rem 1.5rem 0;
    padding: .8rem 1rem;
    border: 1px solid rgba(239, 139, 117, .55);
    border-radius: 10px;
    background: rgba(76, 31, 34, .55);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .85rem;
    box-shadow: inset 3px 0 0 #ef8b75;
}

.monster-intent__icon[b-e0xllmuqsr] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #081522;
    background: #ef8b75;
    font-weight: 900;
}

.monster-intent__body[b-e0xllmuqsr] { display: grid; gap: .15rem; }
.monster-intent__body > span[b-e0xllmuqsr],
.monster-intent__target > span[b-e0xllmuqsr] { color: #efb0a2; font-size: .67rem; font-weight: 800; letter-spacing: .12em; }
.monster-intent__body > strong[b-e0xllmuqsr] { color: #fff0d1; font-size: 1rem; }
.monster-intent__body > small[b-e0xllmuqsr] { color: #b9c7d8; }
.monster-intent__target[b-e0xllmuqsr] { display: grid; gap: .2rem; text-align: right; }
.monster-intent__target strong[b-e0xllmuqsr] { color: #fff; font-size: .82rem; }
.monster-intent__target small[b-e0xllmuqsr] { font-size: .68rem; font-weight: 800; }
.monster-intent--dangerous[b-e0xllmuqsr] { border-color: rgba(238, 167, 73, .7); box-shadow: inset 3px 0 0 #eea749; }
.monster-intent--dangerous .monster-intent__icon[b-e0xllmuqsr] { background: #eea749; }
.monster-intent--deadly[b-e0xllmuqsr] { border-color: rgba(239, 92, 92, .8); box-shadow: inset 3px 0 0 #ef5c5c; background: rgba(91, 24, 31, .62); }
.monster-intent--deadly .monster-intent__icon[b-e0xllmuqsr] { background: #ef5c5c; }
.monster-intent--waiting[b-e0xllmuqsr] { border-color: rgba(111, 143, 160, .42); background: rgba(20, 42, 56, .58); box-shadow: inset 3px 0 0 #628496; }
.monster-intent--waiting .monster-intent__icon[b-e0xllmuqsr] { color: #d8e7ec; background: #3e6274; }
.monster-intent--waiting .monster-intent__body > strong[b-e0xllmuqsr] { color: #dce8eb; }
.monster-intent--waiting .monster-intent__target strong[b-e0xllmuqsr] { color: #9fc0cd; }
.intent-rule--yes[b-e0xllmuqsr] { color: #8debc8; }
.intent-rule--no[b-e0xllmuqsr] { color: #ef9c92; }

.formation-panel__heading > span:last-child span[b-e0xllmuqsr] {
    display: inline-block;
    transition: transform .2s;
}

.formation-panel[open] .formation-panel__heading > span:last-child span[b-e0xllmuqsr] {
    transform: rotate(180deg);
}

.battle-log-overlay[b-e0xllmuqsr] {
    position: fixed;
    z-index: 1300;
    inset-block: 0;
    left: 50%;
    width: min(100vw, 640px);
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    padding: 1.25rem;
    overflow: auto;
    overscroll-behavior: contain;
    background: rgba(2, 9, 17, .93);
}

.battle-reward-overlay[hidden][b-e0xllmuqsr] { display: none; }

.battle-log-dialog[b-e0xllmuqsr] {
    display: flex;
    flex-direction: column;
    width: min(100%, 700px);
    max-height: min(80vh, 620px);
    overflow: hidden;
    border: 1px solid #567084;
    border-radius: 1rem;
    background: linear-gradient(160deg, #1c3044, #101c2b);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}

.battle-log-dialog__header[b-e0xllmuqsr] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    border-bottom: 1px solid rgba(145, 173, 186, .22);
    padding: 1.25rem 1.5rem 1rem;
}

.battle-log-dialog__header h2[b-e0xllmuqsr] {
    margin: .3rem 0 .1rem;
    color: #f3e9d7;
    font: 700 1.5rem Georgia, serif;
}

.battle-log-dialog__header p[b-e0xllmuqsr] {
    margin: 0;
    color: #9eb1c0;
    font-size: .76rem;
}

.battle-log-dialog__close[b-e0xllmuqsr] {
    display: grid;
    place-items: center;
    flex: none;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid rgba(177, 203, 211, .4);
    border-radius: .5rem;
    background: rgba(7, 19, 30, .6);
    color: #e3eaf0;
    font-size: 1.35rem;
    line-height: 1;
}

.battle-log-dialog__close:hover[b-e0xllmuqsr] { background: rgba(74, 103, 124, .4); }
.battle-log-dialog__close:focus-visible[b-e0xllmuqsr] { outline: 2px solid #e3ba72; outline-offset: 2px; }

.battle-log-dialog__content[b-e0xllmuqsr] {
    overflow-y: auto;
    min-height: 0;
    padding: .75rem 1.5rem 1.35rem;
    color: #d6e0e7;
    font-size: .88rem;
}

.battle-log-dialog__content p[b-e0xllmuqsr] { margin: .5rem 0 0; }

.battle-log-dialog__content ol[b-e0xllmuqsr] {
    margin: 0;
    padding-left: 1.5rem;
}

.battle-log-dialog__content li[b-e0xllmuqsr] {
    padding: .7rem .25rem;
    border-bottom: 1px solid rgba(122, 161, 184, .13);
    overflow-wrap: anywhere;
}

.battle-log-dialog__content li[b-e0xllmuqsr]::marker {
    color: #d5ae70;
}

.status-dialog-overlay[b-e0xllmuqsr] {
    position: fixed;
    z-index: 1320;
    inset-block: 0;
    left: 50%;
    display: grid;
    width: min(100vw, 640px);
    padding: 1rem;
    place-items: center;
    overflow: auto;
    overscroll-behavior: contain;
    background: rgba(1, 7, 13, .8);
    backdrop-filter: blur(6px);
    transform: translateX(-50%);
}

.status-dialog[b-e0xllmuqsr] {
    width: min(100%, 560px);
    max-height: min(760px, calc(100vh - 2rem));
    overflow: hidden;
    border: 1px solid #6f899d;
    border-radius: 1rem;
    background: linear-gradient(155deg, #1c3144, #0d1d2b 75%);
    color: #e7eef2;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .62), inset 0 1px rgba(255, 255, 255, .06);
}

.status-dialog__header[b-e0xllmuqsr] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(151, 180, 198, .2);
    background: radial-gradient(circle at 12% -30%, rgba(228, 188, 117, .2), transparent 55%);
}

.status-dialog__identity[b-e0xllmuqsr] { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.status-dialog__portrait[b-e0xllmuqsr] { display: grid; width: 60px; height: 60px; flex: 0 0 60px; place-items: end center; overflow: hidden; border: 1px solid #607b8d; border-radius: .7rem; background: radial-gradient(circle at 50% 35%, rgba(130, 175, 187, .38), rgba(8, 22, 36, .9)); }
.status-dialog__portrait img[b-e0xllmuqsr] { display: block; width: 100%; max-height: 58px; object-fit: contain; object-position: bottom; }
.status-dialog__portrait img[b-e0xllmuqsr] { image-rendering: pixelated; }
.status-dialog__portrait--enemy[b-e0xllmuqsr] { place-items: center; border-color: #ae7772; background: radial-gradient(circle at 50% 45%, rgba(198, 112, 103, .35), rgba(8, 22, 36, .9)); }
.status-dialog__portrait--enemy img[b-e0xllmuqsr] { max-height: 54px; object-position: center; }
.status-dialog--enemy[b-e0xllmuqsr] { border-color: #ad7772; }
.status-dialog--enemy .status-dialog__vitals progress[b-e0xllmuqsr] { accent-color: #df8276; }
.status-dialog__header h2[b-e0xllmuqsr] { margin: .1rem 0; color: #f8ecda; font: 700 1.3rem Georgia, serif; }
.status-dialog__header p[b-e0xllmuqsr] { margin: 0; color: #a9bdc9; font-size: .72rem; }
.status-dialog__close[b-e0xllmuqsr] { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border: 1px solid #4e687d; border-radius: 50%; background: rgba(5, 17, 27, .55); color: #dce7ec; font-size: 1.45rem; }
.status-dialog__close:hover[b-e0xllmuqsr] { background: rgba(74, 103, 124, .4); }
.status-dialog__close:focus-visible[b-e0xllmuqsr] { outline: 2px solid #e3ba72; outline-offset: 2px; }

.status-dialog__content[b-e0xllmuqsr] { display: grid; gap: .9rem; max-height: calc(min(760px, 100vh - 2rem) - 104px); max-height: calc(min(760px, 100dvh - 2rem) - 104px); padding: 1rem 1.1rem 1.15rem; overflow-y: auto; }
.status-dialog__vitals[b-e0xllmuqsr] { padding: .75rem .8rem; border: 1px solid #425f73; border-radius: .7rem; background: rgba(6, 19, 30, .5); }
.status-dialog__vitals > div[b-e0xllmuqsr] { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .78rem; }
.status-dialog__vitals > div span[b-e0xllmuqsr], .status-dialog__vitals small[b-e0xllmuqsr] { color: #9fb4c2; }
.status-dialog__vitals progress[b-e0xllmuqsr] { width: 100%; height: .55rem; margin: .45rem 0 .15rem; accent-color: #54d3aa; }
.status-dialog__vitals small[b-e0xllmuqsr] { display: block; font-size: .68rem; }
.status-dialog__group h3[b-e0xllmuqsr] { display: flex; align-items: center; justify-content: space-between; margin: 0 0 .45rem; color: #e8eef2; font-size: .82rem; }
.status-dialog__group h3 span[b-e0xllmuqsr] { display: grid; min-width: 1.35rem; height: 1.35rem; padding-inline: .3rem; place-items: center; border-radius: 999px; background: #233b4c; color: #c3d2db; font-size: .64rem; }
.status-dialog__group ul[b-e0xllmuqsr] { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }

.status-detail[b-e0xllmuqsr] { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: .65rem; align-items: start; padding: .65rem .7rem; border: 1px solid; border-radius: .7rem; }
.status-detail--positive[b-e0xllmuqsr] { border-color: rgba(76, 200, 155, .42); background: rgba(32, 117, 88, .16); }
.status-detail--negative[b-e0xllmuqsr] { border-color: rgba(239, 112, 91, .45); background: rgba(133, 45, 39, .18); }
.status-detail__icon[b-e0xllmuqsr] { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: .65rem; background: rgba(6, 18, 27, .58); color: #f3dfb5; font-size: 1.15rem; }
.status-detail strong[b-e0xllmuqsr] { display: block; color: #edf3f6; font-size: .8rem; }
.status-detail p[b-e0xllmuqsr] { margin: .15rem 0 .25rem; color: #bdcbd4; font-size: .7rem; line-height: 1.45; }
.status-detail small[b-e0xllmuqsr] { color: #91a7b6; font-size: .64rem; }
.status-dialog__empty[b-e0xllmuqsr] { display: grid; min-height: 150px; place-items: center; align-content: center; gap: .3rem; color: #b8c7d1; text-align: center; }
.status-dialog__empty > span[b-e0xllmuqsr] { color: #d9b66f; font-size: 1.7rem; }
.status-dialog__empty small[b-e0xllmuqsr] { color: #8299aa; font-size: .7rem; }

.battle-field[b-e0xllmuqsr] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1fr);
    gap: .8rem;
    align-items: end;
    min-height: 340px;
    padding: 1.2rem 1.55rem .9rem;
}

.battle-field[b-e0xllmuqsr]::before {
    position: absolute;
    inset: auto 8% 19px;
    height: 100px;
    content: "";
    border: 1px solid rgba(126, 171, 185, .25);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(80, 136, 149, .18), transparent 68%);
    transform: perspective(280px) rotateX(68deg);
}

.battle-field__party[b-e0xllmuqsr],
.battle-field__enemy[b-e0xllmuqsr],
.battle-field__versus[b-e0xllmuqsr] {
    position: relative;
    z-index: 1;
}

.battle-field__label[b-e0xllmuqsr] {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    padding: 0 .15rem .6rem;
    color: #b1cad6;
    font-size: .71rem;
    letter-spacing: .12em;
}

.battle-field__label strong[b-e0xllmuqsr] {
    color: #f0cd8c;
}

.fighter-line[b-e0xllmuqsr] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .45rem;
    align-items: end;
    direction: rtl;
}

.fighter[b-e0xllmuqsr] {
    min-width: 0;
    padding: 0;
    border: 0;
    appearance: none;
    background: transparent;
    font: inherit;
    text-align: center;
    color: #e5edf0;
    direction: ltr;
}

.fighter:disabled[b-e0xllmuqsr] { opacity: 1; }
.fighter--interactive[b-e0xllmuqsr] { border-radius: .7rem; cursor: pointer; }
.fighter--interactive:hover .fighter__portrait[b-e0xllmuqsr] { border-color: rgba(239, 201, 133, .72); }
.fighter--interactive:focus-visible[b-e0xllmuqsr] { outline: 2px solid #f0c77f; outline-offset: 3px; }

.fighter__portrait[b-e0xllmuqsr] {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    height: 132px;
    overflow: hidden;
    border: 1px solid rgba(177, 203, 211, .35);
    border-radius: .65rem .65rem .3rem .3rem;
    background: radial-gradient(circle at 50% 35%, rgba(130, 175, 187, .38), rgba(22, 48, 66, .5) 68%, rgba(8, 22, 36, .85));
    box-shadow: inset 0 -12px 20px rgba(1, 10, 19, .28), 0 9px 18px rgba(0, 0, 0, .25);
}

.fighter:nth-child(2) .fighter__portrait[b-e0xllmuqsr] { background-color: rgba(117, 75, 81, .24); }
.fighter:nth-child(3) .fighter__portrait[b-e0xllmuqsr] { background-color: rgba(70, 104, 75, .25); }
.fighter:nth-child(4) .fighter__portrait[b-e0xllmuqsr] { background-color: rgba(100, 77, 124, .26); }
.fighter:nth-child(5) .fighter__portrait[b-e0xllmuqsr] { background-color: rgba(116, 96, 64, .25); }

.fighter__portrait img[b-e0xllmuqsr] {
    display: block;
    width: 100%;
    max-height: 124px;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 8px 7px rgba(0, 0, 0, .35));
    animation: fighter-breathe-b-e0xllmuqsr 3.2s ease-in-out infinite;
    image-rendering: pixelated;
}

.fighter__portrait > span:first-child[b-e0xllmuqsr] {
    margin: auto;
    color: rgba(192, 210, 221, .45);
    font-size: 2rem;
}

.fighter__number[b-e0xllmuqsr] {
    position: absolute;
    top: .35rem;
    left: .4rem;
    display: grid;
    place-items: center;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: rgba(4, 14, 24, .78);
    color: #f4d99f;
    font-size: .66rem;
}

.fighter--empty .fighter__portrait[b-e0xllmuqsr] {
    width: 72%;
    height: 82px;
    margin-inline: auto;
    border-style: dashed;
    border-color: rgba(177, 203, 211, .2);
    background: rgba(10, 24, 38, .2);
    box-shadow: none;
    opacity: .6;
}

.fighter--empty > strong[b-e0xllmuqsr],
.fighter--empty > small[b-e0xllmuqsr] { color: #8093a4; font-size: .65rem; }

.fighter--down .fighter__portrait img[b-e0xllmuqsr] {
    filter: grayscale(1);
    opacity: .45;
    animation: none;
}

.fighter > strong[b-e0xllmuqsr],
.fighter > small[b-e0xllmuqsr] {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fighter > strong[b-e0xllmuqsr] {
    margin-top: .42rem;
    font-size: .75rem;
}

.fighter__level[b-e0xllmuqsr] {
    display: block;
    color: #f0c77f;
    font-size: .65rem;
    white-space: nowrap;
}

.fighter .battle-element[b-e0xllmuqsr] {
    color: #e9c17c;
    font-size: .65rem;
}

.fighter > small[b-e0xllmuqsr] {
    color: #a5b7c2;
    font-size: .66rem;
}

.fighter__health[b-e0xllmuqsr],
.enemy-vitals__health[b-e0xllmuqsr] {
    display: block;
    width: 100%;
    height: .42rem;
    margin: .35rem 0 .18rem;
    accent-color: #65c9a5;
}

.battle-field__versus[b-e0xllmuqsr] {
    align-self: center;
    color: rgba(239, 205, 145, .62);
    font: 700 1rem Georgia, serif;
    text-align: center;
}

.battle-field__enemy[b-e0xllmuqsr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.battle-field__enemy-pending[b-e0xllmuqsr] {
    display: grid;
    width: min(100%, 330px);
    min-height: 305px;
    padding: 1.5rem;
    place-content: center;
    gap: .55rem;
    border: 1px dashed rgba(145, 173, 186, .35);
    border-radius: .8rem;
    background: rgba(5, 16, 28, .35);
    color: #c7d8e1;
    text-align: center;
}
.battle-field__enemy--pending[b-e0xllmuqsr] { align-self: stretch; justify-content: center; }

.battle-field__enemy-pending span[b-e0xllmuqsr] { color: #e0b983; font-size: 1.8rem; }
.battle-field__enemy-pending strong[b-e0xllmuqsr] { color: #f0dfbf; font: 700 1.2rem Georgia, serif; }
.battle-field__enemy-pending small[b-e0xllmuqsr] { color: #a9bbc6; }

.battle-field__enemy-art[b-e0xllmuqsr] {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    width: 100%;
    min-height: 245px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    animation: enemy-enter-b-e0xllmuqsr .3s ease-out;
}

@keyframes enemy-enter-b-e0xllmuqsr { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .battle-field__enemy-art[b-e0xllmuqsr] { animation: none; } }

.battle-field__enemy-art:focus-visible[b-e0xllmuqsr],
.enemy-vitals:focus-visible[b-e0xllmuqsr] { outline: 2px solid #f0c77f; outline-offset: 3px; }
.battle-field__enemy-art:hover img[b-e0xllmuqsr] { filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .4)) drop-shadow(0 0 8px rgba(239, 187, 111, .45)); }

.battle-field__enemy-art img[b-e0xllmuqsr] {
    display: block;
    width: min(100%, 305px);
    max-height: 245px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .4));
    animation: enemy-hover-b-e0xllmuqsr 3.8s ease-in-out infinite;
}

.battle-field--player-attack .fighter--occupied:not(.fighter--down) .fighter__portrait img[b-e0xllmuqsr] {
    animation: fighter-attack-b-e0xllmuqsr .62s cubic-bezier(.2, .8, .25, 1) both;
}

.battle-field--player-attack .fighter--occupied:nth-child(2) .fighter__portrait img[b-e0xllmuqsr] { animation-delay: .04s; }
.battle-field--player-attack .fighter--occupied:nth-child(3) .fighter__portrait img[b-e0xllmuqsr] { animation-delay: .08s; }
.battle-field--player-attack .fighter--occupied:nth-child(4) .fighter__portrait img[b-e0xllmuqsr] { animation-delay: .12s; }
.battle-field--player-attack .fighter--occupied:nth-child(5) .fighter__portrait img[b-e0xllmuqsr] { animation-delay: .16s; }

.battle-field__enemy--hit:not(.battle-field__enemy--defeated) .battle-field__enemy-art img[b-e0xllmuqsr] {
    animation: enemy-hit-b-e0xllmuqsr .62s ease-out both;
}

.battle-hit-slash[b-e0xllmuqsr] {
    position: absolute;
    z-index: 3;
    top: 43%;
    left: 50%;
    width: min(46%, 135px);
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #fff5cc 28%, #f4c261 58%, transparent);
    box-shadow: 0 0 8px #fff, 0 0 24px rgba(244, 194, 97, .9);
    transform: translate(-50%, -50%) rotate(-35deg) scaleX(.15);
    transform-origin: center;
    animation: battle-slash-b-e0xllmuqsr .5s ease-out both;
    pointer-events: none;
}

.battle-hit-slash[b-e0xllmuqsr]::after {
    position: absolute;
    inset: -5px 13% auto;
    height: 2px;
    content: "";
    background: rgba(201, 242, 255, .8);
    box-shadow: 0 0 9px #d9f7ff;
}

.battle-damage-popup[b-e0xllmuqsr] {
    position: absolute;
    z-index: 4;
    top: 22%;
    left: 50%;
    color: #fff0bc;
    font: 900 clamp(1.1rem, 2.2vw, 1.7rem) Georgia, serif;
    letter-spacing: .03em;
    white-space: nowrap;
    text-shadow: 0 2px 0 #6a2f22, 0 0 9px rgba(255, 184, 92, .95), 0 4px 12px rgba(0, 0, 0, .75);
    transform: translate(-50%, 0);
    animation: damage-popup-b-e0xllmuqsr .85s ease-out both;
    pointer-events: none;
}

.battle-field__enemy--defeated img[b-e0xllmuqsr] {
    filter: grayscale(.7) drop-shadow(0 8px 10px rgba(0, 0, 0, .25));
    opacity: 0;
    visibility: hidden;
    animation: none;
}

.enemy-vitals[b-e0xllmuqsr] {
    display: block;
    width: 100%;
    max-width: 330px;
    border: 1px solid rgba(145, 173, 186, .28);
    border-radius: .6rem;
    padding: .7rem .85rem;
    background: rgba(5, 16, 28, .78);
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.enemy-vitals:hover[b-e0xllmuqsr] { border-color: rgba(232, 189, 124, .72); }
.enemy-vitals__eyebrow[b-e0xllmuqsr] {
    display: block;
    color: #e0b983;
    font-size: .625rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.enemy-vitals__name[b-e0xllmuqsr] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
    margin-top: .1rem;
}

.enemy-vitals__name strong[b-e0xllmuqsr] {
    color: #f7e8d2;
    font: 700 1.3rem Georgia, serif;
}

.enemy-vitals__name span[b-e0xllmuqsr] {
    color: #d8e1e7;
    font-size: .77rem;
    white-space: nowrap;
}
.enemy-vitals__name b[b-e0xllmuqsr] { color: #e9bd7e; font-size: 1.1em; }

.enemy-vitals__health[b-e0xllmuqsr] {
    height: .55rem;
    margin: .5rem 0 0;
    accent-color: #df8276;
}

.battle-stage__footer[b-e0xllmuqsr] {
    border-top: 1px solid rgba(122, 161, 184, .18);
    padding: .65rem 1.55rem;
    color: #97adbe;
    background: rgba(6, 17, 28, .34);
    font-size: .72rem;
}

.battle-controls[b-e0xllmuqsr] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem 1.5rem;
    align-items: center;
    margin-top: .85rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(110deg, #1d2d40, #152333);
}

.battle-controls__main[b-e0xllmuqsr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.battle-controls h2[b-e0xllmuqsr] {
    margin: .2rem 0 .25rem;
    color: #f2e8d8;
    font: 700 1.42rem Georgia, serif;
}

.battle-controls__heading p[b-e0xllmuqsr] {
    margin: 0;
    color: #aebfcb;
    font-size: .8rem;
}

.battle-controls__primary[b-e0xllmuqsr] {
    min-width: 160px;
    padding: .85rem 1.25rem;
    font-size: .93rem;
    white-space: nowrap;
}

.battle-controls__primary span[b-e0xllmuqsr] {
    margin-left: .5rem;
}

.battle-controls__action[b-e0xllmuqsr] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .75rem;
}

.battle-auto[b-e0xllmuqsr] {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    border: 1px solid rgba(122, 161, 184, .35);
    border-radius: .55rem;
    padding: .5rem .7rem;
    background: rgba(8, 23, 35, .52);
    color: #c6e6d6;
    font-size: .8rem;
    cursor: pointer;
}

.battle-auto > span[b-e0xllmuqsr] { display: flex; align-items: center; gap: .35rem; white-space: nowrap; }
.battle-auto__label-mobile[b-e0xllmuqsr] { display: none; }
.battle-auto small[b-e0xllmuqsr] { color: #91a5b6; font-size: .68rem; }
.battle-auto--locked[b-e0xllmuqsr] { opacity: .68; cursor: default; }

.battle-controls__waiting[b-e0xllmuqsr],
.auto-indicator[b-e0xllmuqsr] {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #d9e3e9;
    font-size: .85rem;
    white-space: nowrap;
}

.auto-indicator[b-e0xllmuqsr] {
    color: #a7e4c4;
}

.auto-indicator span[b-e0xllmuqsr] {
    font-size: 1.3rem;
}

.battle-controls__tools[b-e0xllmuqsr] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .45rem;
}

.battle-controls__tools .button[b-e0xllmuqsr] {
    padding: .53rem .68rem;
    font-size: .76rem;
}

.battle-supplies[b-e0xllmuqsr] {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(145, 173, 186, .18);
    padding-top: 1rem;
}

.battle-skills[b-e0xllmuqsr] { grid-column: 1 / -1; border-top: 1px solid rgba(145, 173, 186, .18); padding-top: 1rem; }
.battle-skills__character[b-e0xllmuqsr] { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-width: 0; border: 1px solid #3c5368; border-radius: .65rem; padding: .6rem .7rem; margin-bottom: .5rem; background: rgba(8, 20, 31, .45); }
.battle-skills__slots[b-e0xllmuqsr] { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; width: min(100%, 720px); }
.battle-skills > p[b-e0xllmuqsr] { margin: .6rem 0 0; color: #aebfca; font-size: .72rem; }
.battle-skills .battle-supplies__message[b-e0xllmuqsr] { color: #f0ce8b; }
@container game-shell (max-width: 900px) { .battle-skills__character[b-e0xllmuqsr] { flex-direction: column; align-items: stretch; } .battle-skills__slots[b-e0xllmuqsr] { grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); width: 100%; } }

.battle-supplies__header[b-e0xllmuqsr],
.battle-supplies__character[b-e0xllmuqsr],
.battle-supplies__identity[b-e0xllmuqsr],
.battle-supply[b-e0xllmuqsr] {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.battle-supplies__header[b-e0xllmuqsr] { justify-content: space-between; margin-bottom: .75rem; }
.battle-supplies__header h3[b-e0xllmuqsr] { margin: .15rem 0 0; color: #f2e8d8; font: 700 1.05rem Georgia, serif; }
.battle-supplies__header a[b-e0xllmuqsr] { color: #e5bc78; font-size: .76rem; white-space: nowrap; text-decoration: none; }
.battle-supplies__header a:hover[b-e0xllmuqsr] { text-decoration: underline; }
.battle-supplies__characters[b-e0xllmuqsr] { display: grid; gap: .5rem; }
.battle-supplies__character[b-e0xllmuqsr] { justify-content: space-between; min-width: 0; border: 1px solid #3c5368; border-radius: .65rem; padding: .6rem .7rem; background: rgba(8, 20, 31, .45); }
.battle-supplies__identity[b-e0xllmuqsr] { flex: 0 0 150px; flex-direction: column; align-items: flex-start; gap: .1rem; min-width: 0; }
.battle-supplies__identity strong[b-e0xllmuqsr] { overflow: hidden; max-width: 100%; color: #e8eef3; font-size: .85rem; white-space: nowrap; text-overflow: ellipsis; }
.battle-supplies__identity span[b-e0xllmuqsr] { color: #a4b6c5; font-size: .7rem; white-space: nowrap; }
.battle-supplies__slots[b-e0xllmuqsr] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; width: min(100%, 720px); }
.battle-supply[b-e0xllmuqsr] { min-width: 0; border: 1px solid #486478; border-radius: .55rem; padding: .5rem .6rem; background: #13283a; color: #dce8ef; text-align: left; }
button.battle-supply:not(:disabled):hover[b-e0xllmuqsr] { border-color: #d9b06d; background: #213d52; }
.battle-supply--operation[b-e0xllmuqsr] { border-color: #806a43; background: #252d30; }
.battle-supply--operation .battle-supply__icon[b-e0xllmuqsr] { color: #efce87; background: rgba(205, 164, 93, .16); }
.battle-supply--selected[b-e0xllmuqsr] { border-color: #d4a861; background: #3a342e; }
.battle-supply__icon[b-e0xllmuqsr] { display: grid; place-items: center; flex: 0 0 1.8rem; height: 1.8rem; border-radius: .4rem; background: rgba(112, 194, 166, .16); color: #a7e0c5; font-size: 1.1rem; }
.battle-supply__icon img[b-e0xllmuqsr] { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.battle-supply__body[b-e0xllmuqsr] { display: grid; gap: .1rem; flex: 1; min-width: 0; }
.battle-supply__body strong[b-e0xllmuqsr], .battle-supply__body small[b-e0xllmuqsr] { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.battle-supply__body strong[b-e0xllmuqsr] { font-size: .77rem; }
.battle-supply__body small[b-e0xllmuqsr] { color: #aebfca; font-size: .67rem; }
.battle-supply__action[b-e0xllmuqsr] { color: #edc785; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.battle-supplies > p[b-e0xllmuqsr] { margin: .6rem 0 0; color: #aebfca; font-size: .72rem; }
.battle-supplies .battle-supplies__message[b-e0xllmuqsr] { color: #f0ce8b; }

.battle-countdown[b-e0xllmuqsr] {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(145, 173, 186, .18);
    padding-top: .9rem;
    --timer-start: #69a9c4;
    --timer-end: #8ed8de;
}

.battle-countdown--repeat[b-e0xllmuqsr] { --timer-start: #b78345; --timer-end: #f0ca7e; }
.battle-countdown--prepare[b-e0xllmuqsr] { --timer-start: #7189be; --timer-end: #a6b8e8; }

.battle-countdown__heading[b-e0xllmuqsr] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: .45rem;
    color: #c6d6e1;
    font-size: .79rem;
}

.battle-countdown__heading strong[b-e0xllmuqsr] {
    color: #f0e1bf;
    font-size: .88rem;
    font-variant-numeric: tabular-nums;
}

.battle-countdown__track[b-e0xllmuqsr] {
    height: .58rem;
    overflow: hidden;
    border: 1px solid rgba(145, 173, 186, .2);
    border-radius: 999px;
    background: #0a1828;
}

.battle-countdown__fill[b-e0xllmuqsr] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: repeating-linear-gradient(110deg, rgba(255, 255, 255, .17) 0 8px, transparent 8px 18px), linear-gradient(90deg, var(--timer-start), var(--timer-end));
    background-size: 36px 100%, 100% 100%;
    box-shadow: 0 0 14px var(--timer-end);
    transition: width 1s linear;
    animation: countdown-flow-b-e0xllmuqsr 1.2s linear infinite;
}

.toggle-option[b-e0xllmuqsr] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: #b9c7d6;
    font-size: .78rem;
    white-space: nowrap;
}

.formation-panel[b-e0xllmuqsr] {
    margin-top: .85rem;
    padding: 0;
    background: #152334;
}

.formation-panel__heading[b-e0xllmuqsr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    color: #9fb1c1;
    font-size: .8rem;
    list-style: none;
    cursor: pointer;
}

.formation-panel__heading > span:first-child[b-e0xllmuqsr] {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.formation-panel__heading strong[b-e0xllmuqsr] {
    color: #e8edf2;
    font: 700 1.05rem Georgia, serif;
}

.formation-panel__heading:hover[b-e0xllmuqsr] {
    background: rgba(118, 160, 189, .06);
}

.formation-panel__progress-note[b-e0xllmuqsr] {
    margin: 0;
    border-top: 1px solid #34475b;
    padding: .7rem 1.25rem 0;
    color: #a9b8c7;
    font-size: .76rem;
}

.slot-grid[b-e0xllmuqsr] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
    gap: .75rem;
    padding: 1rem 1.25rem 1.25rem;
}

.party-slot[b-e0xllmuqsr] {
    position: relative;
    min-height: 155px;
    padding: 1rem;
    border: 1px solid #35465b;
    border-radius: .75rem;
    background: #101a29;
}

.party-slot--empty[b-e0xllmuqsr] {
    border-style: dashed;
    opacity: .85;
}

.party-slot__index[b-e0xllmuqsr] {
    position: absolute;
    top: .7rem;
    right: .8rem;
    color: #d8a957;
    font: 700 1.2rem Georgia, serif;
}

.party-slot__identity h3[b-e0xllmuqsr] {
    margin: 0 2rem .25rem 0;
    color: #e8edf3;
    font-size: 1.05rem;
}

.party-slot__identity span[b-e0xllmuqsr],
.party-slot__hint[b-e0xllmuqsr] {
    color: #8fa0b3;
    font-size: .78rem;
}

.party-slot__hp[b-e0xllmuqsr] {
    display: flex;
    justify-content: space-between;
    color: #9cabbd;
    font-size: .8rem;
}

.health-bar[b-e0xllmuqsr] {
    width: 100%;
    height: .5rem;
    margin: .5rem 0;
    accent-color: #53bf91;
}

.party-slot__experience[b-e0xllmuqsr] {
    margin: .4rem 0 .65rem;
    color: #9cabbd;
    font-size: .75rem;
}

.party-slot__experience-label[b-e0xllmuqsr] {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
}

.party-slot__experience-label strong[b-e0xllmuqsr] { color: #efd195; }
.party-slot__experience progress[b-e0xllmuqsr] { width: 100%; height: .4rem; margin: .3rem 0; accent-color: #d9aa60; }
.party-slot__experience small[b-e0xllmuqsr] { display: block; color: #a9b8c7; }

.party-slot__badges[b-e0xllmuqsr] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .4rem;
}

.status-badge--gold[b-e0xllmuqsr] { background: #594625; color: #f3d385; }
.status-badge--danger[b-e0xllmuqsr] { background: #572c32; color: #f1a8ad; }

.slot-management[b-e0xllmuqsr] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .7rem;
}

.slot-management select[b-e0xllmuqsr] { width: 100%; }
.slot-management .button[b-e0xllmuqsr] { padding: .4rem .55rem; font-size: .75rem; }
.battle-loading[b-e0xllmuqsr],
.notice-message[b-e0xllmuqsr] { color: #99aabe; }
.notice-message[b-e0xllmuqsr] { margin-top: 1rem; color: #f4d38a; }

@keyframes enemy-hover-b-e0xllmuqsr {
    50% { transform: translateY(-7px); }
}

@keyframes fighter-breathe-b-e0xllmuqsr {
    50% { transform: translateY(-3px); }
}

@keyframes fighter-attack-b-e0xllmuqsr {
    0% { transform: translate(0, 0) scale(1); }
    36% { transform: translate(24px, -4px) scale(1.06); filter: brightness(1.35) drop-shadow(0 8px 7px rgba(0, 0, 0, .35)); }
    58% { transform: translate(18px, 0) scale(1.02); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes enemy-hit-b-e0xllmuqsr {
    0%, 100% { transform: translateX(0); filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .4)); }
    18% { transform: translateX(9px) rotate(1deg); filter: brightness(2.1) saturate(.35) drop-shadow(0 0 18px rgba(255, 228, 168, .85)); }
    36% { transform: translateX(-8px) rotate(-1deg); }
    54% { transform: translateX(5px); filter: brightness(1.3) drop-shadow(0 13px 16px rgba(0, 0, 0, .35)); }
    72% { transform: translateX(-3px); }
}

@keyframes battle-slash-b-e0xllmuqsr {
    0% { opacity: 0; transform: translate(-50%, -50%) rotate(-35deg) scaleX(.1); }
    24% { opacity: 1; }
    58% { opacity: 1; transform: translate(-50%, -50%) rotate(-35deg) scaleX(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) rotate(-35deg) scaleX(1.18); }
}

@keyframes damage-popup-b-e0xllmuqsr {
    0% { opacity: 0; transform: translate(-50%, 10px) scale(.65); }
    20% { opacity: 1; transform: translate(-50%, -2px) scale(1.18); }
    48% { transform: translate(-50%, -8px) scale(1); }
    78% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -26px) scale(.95); }
}

@keyframes countdown-flow-b-e0xllmuqsr {
    to { background-position: 36px 0, 0 0; }
}

@container game-shell (max-width: 1050px) {
    .battle-controls[b-e0xllmuqsr] { grid-template-columns: 1fr; }
    .battle-controls__tools[b-e0xllmuqsr] { justify-content: flex-start; }
}

@container game-shell (max-width: 780px) {
    .battle-field[b-e0xllmuqsr] { grid-template-columns: 1fr; gap: 1rem; padding-top: .5rem; }
    .battle-field__enemy[b-e0xllmuqsr] { order: 0; }
    .battle-field__party[b-e0xllmuqsr] { order: 1; }
    .battle-field__versus[b-e0xllmuqsr] { display: none; }
    .battle-field__enemy-art[b-e0xllmuqsr] { min-height: 170px; }
    .battle-field__enemy-art img[b-e0xllmuqsr] { max-height: 180px; }
    .fighter__portrait[b-e0xllmuqsr] { height: 115px; }
    .fighter__portrait img[b-e0xllmuqsr] { max-height: 110px; }
    .fighter-line[b-e0xllmuqsr] { direction: ltr; }
    .battle-field--player-attack .fighter--occupied:not(.fighter--down) .fighter__portrait img[b-e0xllmuqsr] { animation-name: fighter-attack-mobile-b-e0xllmuqsr; }
    .fighter--empty .fighter__portrait[b-e0xllmuqsr] { height: 72px; }
    .battle-supplies__character[b-e0xllmuqsr] { align-items: stretch; flex-direction: column; }
    .battle-supplies__identity[b-e0xllmuqsr] { flex-basis: auto; flex-direction: row; align-items: baseline; justify-content: space-between; }
    .battle-supplies__slots[b-e0xllmuqsr] { width: 100%; }
}

@keyframes fighter-attack-mobile-b-e0xllmuqsr {
    0% { transform: translate(0, 0) scale(1); }
    36% { transform: translate(0, -14px) scale(1.06); filter: brightness(1.35) drop-shadow(0 8px 7px rgba(0, 0, 0, .35)); }
    58% { transform: translate(0, -9px) scale(1.02); }
    100% { transform: translate(0, 0) scale(1); }
}

@container game-shell (max-width: 550px) {
    .battle-stage__header[b-e0xllmuqsr] { align-items: flex-start; flex-direction: column; padding: 1rem; }
    .battle-stage__meta[b-e0xllmuqsr] { justify-content: flex-start; }
    .battle-feed[b-e0xllmuqsr] { width: calc(100% - 2rem); margin: 0 1rem; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
    .battle-feed__live[b-e0xllmuqsr] { display: none; }
    .monster-intent[b-e0xllmuqsr] { width: calc(100% - 2rem); margin: .65rem 1rem 0; grid-template-columns: auto minmax(0, 1fr); }
    .monster-intent__target[b-e0xllmuqsr] { grid-column: 2; text-align: left; }
    .battle-log-overlay[b-e0xllmuqsr] { padding: .75rem; }
    .battle-log-dialog[b-e0xllmuqsr] { max-height: calc(100vh - 1.5rem); }
    .battle-log-dialog__header[b-e0xllmuqsr] { padding: 1rem; }
    .battle-log-dialog__content[b-e0xllmuqsr] { padding: .5rem 1rem 1rem; }
    .battle-field[b-e0xllmuqsr] { padding: .6rem .75rem .8rem; }
    .fighter-line[b-e0xllmuqsr] { gap: .25rem; }
    .fighter__portrait[b-e0xllmuqsr] { height: 83px; }
    .fighter__portrait img[b-e0xllmuqsr] { max-height: 80px; }
    .fighter--empty .fighter__portrait[b-e0xllmuqsr] { height: 52px; }
    .fighter > strong[b-e0xllmuqsr] { font-size: .65rem; }
    .fighter > small[b-e0xllmuqsr] { font-size: .625rem; }
    .battle-stage__footer[b-e0xllmuqsr] { padding: .65rem 1rem; flex-wrap: wrap; }
    .battle-controls[b-e0xllmuqsr] { padding: 1rem; }
    .battle-controls__main[b-e0xllmuqsr] { align-items: flex-start; flex-direction: column; }
    .battle-controls__action[b-e0xllmuqsr] { justify-content: flex-start; }
    .battle-supplies__slots[b-e0xllmuqsr] { grid-template-columns: 1fr; }
    .formation-panel__heading[b-e0xllmuqsr] { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .fighter__portrait img[b-e0xllmuqsr],
    .battle-field__enemy-art img[b-e0xllmuqsr],
    .battle-countdown__fill[b-e0xllmuqsr],
    .battle-hit-slash[b-e0xllmuqsr],
    .battle-damage-popup[b-e0xllmuqsr] { animation: none; }
    .battle-hit-slash[b-e0xllmuqsr] { opacity: .85; }
    .battle-countdown__fill[b-e0xllmuqsr] { transition: none; }
}
.battle-rewards[b-e0xllmuqsr] { margin-top: 16px; padding: 20px 24px; border: 1px solid #415669; border-radius: 16px; background: #1a2b3d; }
.battle-rewards__heading[b-e0xllmuqsr], .battle-rewards__totals[b-e0xllmuqsr], .battle-rewards li[b-e0xllmuqsr] { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.battle-rewards__heading h2[b-e0xllmuqsr] { margin: 4px 0 0; font-size: 1.25rem; }
.battle-rewards__heading > span[b-e0xllmuqsr], .battle-rewards li span[b-e0xllmuqsr], .battle-rewards p[b-e0xllmuqsr] { color: #b9c9d7; font-size: .85rem; }
.battle-rewards__totals[b-e0xllmuqsr] { justify-content: flex-start; gap: 24px; margin-top: 14px; color: #f0bc64; }
.battle-rewards ul[b-e0xllmuqsr] { list-style: none; margin: 14px 0 0; padding: 0; }
.battle-rewards li[b-e0xllmuqsr] { padding: 8px 0; border-top: 1px solid #34485b; }
.battle-rewards p[b-e0xllmuqsr] { margin: 12px 0 0; }
.battle-rewards__loot[b-e0xllmuqsr] { margin: 1rem 0; }

/* Interaction-first battle layout */
.battle-page[b-e0xllmuqsr] {
    --battle-gold: #e8bd72;
    --battle-panel: #172a3d;
    --battle-panel-deep: #0d1c2b;
    --battle-line: rgba(139, 174, 194, .32);
    scroll-behavior: smooth;
}

.battle-page :where(button, a, label, summary, select)[b-e0xllmuqsr] {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.back-link[b-e0xllmuqsr] {
    min-height: 44px;
    padding: .55rem .35rem;
    border-radius: .55rem;
}

.back-link:hover[b-e0xllmuqsr] { background: rgba(227, 186, 114, .08); }

.back-link:focus-visible[b-e0xllmuqsr],
.battle-shortcut:focus-visible[b-e0xllmuqsr],
.battle-supply:focus-visible[b-e0xllmuqsr],
.battle-auto:has(input:focus-visible)[b-e0xllmuqsr],
.battle-controls__tools .button:focus-visible[b-e0xllmuqsr] {
    outline: 2px solid #f0c77f;
    outline-offset: 3px;
}

.battle-command[b-e0xllmuqsr] {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(250px, 1.25fr) auto minmax(245px, auto) auto;
    gap: .85rem 1rem;
    align-items: center;
    margin: .85rem 0;
    padding: 1rem 1.1rem .9rem 1.25rem;
    overflow: hidden;
    border: 1px solid #506980;
    border-radius: 1rem;
    background:
        radial-gradient(circle at 76% -30%, rgba(217, 169, 87, .17), transparent 42%),
        linear-gradient(120deg, #1b3145, #122334 72%);
    box-shadow: 0 16px 35px rgba(0, 0, 0, .2);
}

.battle-command[b-e0xllmuqsr]::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    content: "";
    background: linear-gradient(180deg, #f0c77f, #b98137);
}

.battle-command__heading[b-e0xllmuqsr] {
    display: flex;
    align-items: center;
    gap: .85rem;
    min-width: 0;
}

.battle-command__heading .section-kicker[b-e0xllmuqsr] {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: .625rem;
}

.battle-command__heading h2[b-e0xllmuqsr] {
    margin: 0 0 .2rem;
    color: #f6ecdc;
    font: 700 1.25rem Georgia, serif;
}

.battle-command__heading p[b-e0xllmuqsr] {
    margin: 0;
    overflow: hidden;
    color: #aebfcb;
    font-size: .78rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.battle-command__state[b-e0xllmuqsr] {
    display: grid;
    gap: .15rem;
    min-width: 92px;
    padding-left: 1rem;
    border-left: 1px solid rgba(145, 173, 186, .2);
}

.battle-command__state span[b-e0xllmuqsr] {
    color: #899eae;
    font-size: .65rem;
    letter-spacing: .08em;
}

.battle-command__state strong[b-e0xllmuqsr] {
    color: #f0cd8c;
    font-size: .87rem;
    white-space: nowrap;
}

.battle-command__compact-countdown[b-e0xllmuqsr],
.battle-command__mobile-actions[b-e0xllmuqsr] { display: none; }
.battle-command__mobile-intent[b-e0xllmuqsr] { display: none; }

.battle-command__action[b-e0xllmuqsr] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .65rem;
}

.battle-command__shortcuts[b-e0xllmuqsr] {
    display: flex;
    justify-content: flex-end;
    gap: .4rem;
}

.battle-shortcut[b-e0xllmuqsr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    gap: .35rem;
    padding: .55rem .7rem;
    border: 1px solid #4b6377;
    border-radius: .55rem;
    background: rgba(8, 22, 34, .48);
    color: #d7e2e9;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.battle-shortcut:hover[b-e0xllmuqsr] {
    border-color: #d2aa68;
    background: #21394d;
    color: #f2d49d;
}

.battle-command .battle-countdown[b-e0xllmuqsr] {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: .7rem;
}

.status-dot[b-e0xllmuqsr] {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: #79d6b1;
    box-shadow: 0 0 0 4px rgba(121, 214, 177, .12);
}

.battle-controls__primary[b-e0xllmuqsr] {
    min-height: 48px;
    border-radius: .65rem;
    box-shadow: 0 8px 20px rgba(216, 169, 87, .16);
}

.battle-auto[b-e0xllmuqsr] {
    min-height: 48px;
    justify-content: center;
}

.battle-auto input[b-e0xllmuqsr] {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    accent-color: #d8a957;
}

.battle-stage__header[b-e0xllmuqsr] { padding: 1.1rem 1.35rem .75rem; }
.battle-feed[b-e0xllmuqsr] { min-height: 46px; }
.monster-intent[b-e0xllmuqsr] { min-height: 66px; }
.battle-field[b-e0xllmuqsr] { min-height: 285px; padding: .8rem 1.35rem .75rem; }
.battle-field__enemy-art[b-e0xllmuqsr] { min-height: 190px; }
.battle-field__enemy-art img[b-e0xllmuqsr] { max-height: 195px; }
.fighter__portrait[b-e0xllmuqsr] { height: 105px; }
.fighter__portrait img[b-e0xllmuqsr] { max-height: 100px; }
.fighter--empty .fighter__portrait[b-e0xllmuqsr] { height: 66px; }

.battle-field__label > span[b-e0xllmuqsr] {
    display: grid;
    gap: .08rem;
    color: #e6edf1;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 0;
}

.battle-field__label small[b-e0xllmuqsr] {
    color: #8da9b8;
    font-size: .625rem;
    letter-spacing: .14em;
}

.fighter__health[b-e0xllmuqsr],
.enemy-vitals__health[b-e0xllmuqsr],
.health-bar[b-e0xllmuqsr] {
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: #071522;
}

.fighter__health[b-e0xllmuqsr]::-webkit-progress-bar,
.enemy-vitals__health[b-e0xllmuqsr]::-webkit-progress-bar,
.health-bar[b-e0xllmuqsr]::-webkit-progress-bar { border-radius: 999px; background: #071522; }
.fighter__health[b-e0xllmuqsr]::-webkit-progress-value,
.health-bar[b-e0xllmuqsr]::-webkit-progress-value { border-radius: 999px; background: linear-gradient(90deg, #3cae82, #7cdbad); }
.enemy-vitals__health[b-e0xllmuqsr]::-webkit-progress-value { border-radius: 999px; background: linear-gradient(90deg, #c25454, #ed9480); }
.fighter__health[b-e0xllmuqsr]::-moz-progress-bar,
.health-bar[b-e0xllmuqsr]::-moz-progress-bar { border-radius: 999px; background: linear-gradient(90deg, #3cae82, #7cdbad); }
.enemy-vitals__health[b-e0xllmuqsr]::-moz-progress-bar { border-radius: 999px; background: linear-gradient(90deg, #c25454, #ed9480); }

.battle-stage__footer strong[b-e0xllmuqsr] {
    margin-right: .25rem;
    color: #d7b576;
    font-size: .65rem;
    letter-spacing: .08em;
}

.battle-controls--loadout[b-e0xllmuqsr] {
    display: block;
    scroll-margin-top: 5rem;
    padding: 1.15rem 1.25rem;
    background: linear-gradient(145deg, #192b3d, #122233);
}

.battle-loadout__tabs[b-e0xllmuqsr] { display: none; }
.battle-loadout__panel[b-e0xllmuqsr] { min-width: 0; }

.battle-controls--loadout .battle-skills[b-e0xllmuqsr],
.battle-controls--loadout .battle-supplies[b-e0xllmuqsr] {
    padding-top: 0;
    border-top: 0;
}

.battle-controls--loadout .battle-supplies[b-e0xllmuqsr] {
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(145, 173, 186, .18);
}

.battle-skills__character[b-e0xllmuqsr],
.battle-supplies__character[b-e0xllmuqsr] {
    padding: .75rem;
    border-color: #425c72;
    background: rgba(7, 20, 31, .5);
}

.battle-supply[b-e0xllmuqsr] {
    min-height: 56px;
    padding: .55rem .65rem;
    border-color: #4c687e;
    transition: border-color .15s, background .15s, transform .15s;
}

button.battle-supply:not(:disabled):active[b-e0xllmuqsr] { transform: scale(.985); }

.battle-supply--selected[b-e0xllmuqsr] {
    border-color: #e2b76e;
    background: linear-gradient(120deg, #453b2d, #2f302f);
    box-shadow: inset 3px 0 0 #e2b76e;
}

.battle-supply__icon[b-e0xllmuqsr] {
    flex-basis: 2.1rem;
    height: 2.1rem;
}

.battle-supply__body strong[b-e0xllmuqsr] { font-size: .82rem; }
.battle-supply__body small[b-e0xllmuqsr] { font-size: .7rem; }
.battle-supply__action[b-e0xllmuqsr] { font-size: .76rem; }

.battle-supplies__header a[b-e0xllmuqsr] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: .35rem;
}

.battle-controls__tools[b-e0xllmuqsr] {
    margin-top: 1rem;
    padding-top: .9rem;
    border-top: 1px solid rgba(145, 173, 186, .18);
}

.battle-controls__tools .button[b-e0xllmuqsr],
.slot-management .button[b-e0xllmuqsr],
.slot-management select[b-e0xllmuqsr] {
    min-height: 44px;
}

.formation-panel__heading[b-e0xllmuqsr] { min-height: 60px; }

.battle-skills__tools[b-e0xllmuqsr] {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.quick-skill-toggle[b-e0xllmuqsr] {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    padding: .42rem .65rem;
    border: 1px solid #4d687c;
    border-radius: .6rem;
    background: rgba(7, 20, 31, .55);
    color: #e5edf2;
    cursor: pointer;
}

.quick-skill-toggle:has(input:checked)[b-e0xllmuqsr] {
    border-color: #d6ad68;
    background: linear-gradient(120deg, rgba(103, 74, 35, .52), rgba(37, 45, 48, .7));
}

.quick-skill-toggle:has(input:focus-visible)[b-e0xllmuqsr] {
    outline: 2px solid #f0c77f;
    outline-offset: 3px;
}

.quick-skill-toggle input[b-e0xllmuqsr] {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    accent-color: #d9aa58;
}

.quick-skill-toggle > span[b-e0xllmuqsr] { display: grid; gap: .02rem; }
.quick-skill-toggle strong[b-e0xllmuqsr] { font-size: .74rem; }
.quick-skill-toggle small[b-e0xllmuqsr] { color: #9eb2c0; font-size: .625rem; }

.battle-skill-grid[b-e0xllmuqsr] {
    display: grid;
    grid-template-columns: repeat(5, minmax(96px, 1fr));
    gap: .55rem;
    width: min(100%, 680px);
}

.battle-skill-card[b-e0xllmuqsr] {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-width: 0;
    min-height: 132px;
    padding: .55rem .4rem .45rem;
    overflow: hidden;
    border: 1px solid #526c80;
    border-radius: .65rem;
    background: linear-gradient(155deg, #1d3346, #0e202f);
    color: #e8eef2;
    text-align: center;
    cursor: pointer;
    transition: transform .16s, border-color .16s, box-shadow .16s, filter .16s;
}

.battle-skill-card:not(:disabled):hover[b-e0xllmuqsr] {
    z-index: 1;
    border-color: #e2bd7b;
    box-shadow: 0 9px 24px rgba(0, 0, 0, .3);
    transform: translateY(-2px);
}

.battle-skill-card:not(:disabled):active[b-e0xllmuqsr] { transform: translateY(0) scale(.98); }
.battle-skill-card:focus-visible[b-e0xllmuqsr] { outline: 2px solid #f0c77f; outline-offset: 3px; }
.battle-skill-card--unavailable[b-e0xllmuqsr] { filter: saturate(.55); }
.battle-skill-card--unavailable .battle-skill-card__icon[b-e0xllmuqsr] { opacity: .68; }

.battle-skill-card--selected[b-e0xllmuqsr] {
    border-color: #f0c77f;
    background: linear-gradient(155deg, #55472f, #1c2b34);
    box-shadow: inset 0 0 0 1px rgba(255, 222, 157, .2), 0 0 18px rgba(226, 183, 110, .13);
}

.battle-skill-card__icon[b-e0xllmuqsr] {
    position: relative;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    overflow: hidden;
    border: 3px solid #d9c28e;
    border-radius: .72rem;
    background: radial-gradient(circle at 50% 38%, #658dc3, #162949 65%, #081421);
    box-shadow: inset 0 0 0 2px rgba(13, 23, 35, .75), 0 4px 12px rgba(0, 0, 0, .4);
}

.battle-skill-card__icon--support[b-e0xllmuqsr] { background: radial-gradient(circle at 48% 35%, #62e4bf, #16717b 52%, #08222d); }
.battle-skill-card__icon--guard[b-e0xllmuqsr] { background: radial-gradient(circle at 48% 35%, #75b9e7, #2d5d85 52%, #0c2135); }
.battle-skill-card__icon--utility[b-e0xllmuqsr] { background: radial-gradient(circle at 48% 35%, #ca8bdf, #693e88 52%, #251532); }
.battle-skill-card__icon--damage[b-e0xllmuqsr] { background: radial-gradient(circle at 48% 35%, #f5a36b, #9c3f48 52%, #2b1621); }

.battle-skill-card__flare[b-e0xllmuqsr] {
    position: absolute;
    width: 75%;
    height: 130%;
    background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, .28) 46%, transparent 62%);
    transform: rotate(24deg) translateX(-45%);
}

.battle-skill-card__glyph[b-e0xllmuqsr] {
    position: relative;
    z-index: 1;
    color: white;
    font: 700 1.75rem Georgia, serif;
    text-shadow: 0 2px 5px #07121d, 0 0 10px rgba(255, 255, 255, .55);
}

.battle-skill-card__art[b-e0xllmuqsr] {
    position: relative;
    z-index: 1;
    width: 92%;
    height: 92%;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 3px rgba(2, 8, 16, .7));
}

.battle-skill-card__slot[b-e0xllmuqsr],
.battle-skill-card__cooldown[b-e0xllmuqsr],
.battle-skill-card__check[b-e0xllmuqsr] {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-size: .625rem;
    font-weight: 800;
}

.battle-skill-card__slot[b-e0xllmuqsr] { inset: 3px auto auto 3px; width: 18px; height: 18px; background: rgba(4, 14, 24, .82); color: #f1d39b; }
.battle-skill-card__cooldown[b-e0xllmuqsr] { inset: 0; border-radius: .5rem; background: rgba(4, 10, 17, .74); color: white; font-size: 1.35rem; }
.battle-skill-card__check[b-e0xllmuqsr] { inset: auto 3px 3px auto; width: 21px; height: 21px; background: #e1b666; color: #16202a; }
.battle-skill-card__name[b-e0xllmuqsr] { width: 100%; margin-top: .42rem; overflow: hidden; font-size: .76rem; white-space: nowrap; text-overflow: ellipsis; }
.battle-skill-card__status[b-e0xllmuqsr] { width: 100%; margin-top: .12rem; overflow: hidden; color: #a8bdca; font-size: .625rem; white-space: nowrap; text-overflow: ellipsis; }
.battle-skill-card__auto[b-e0xllmuqsr] { position: absolute; inset: .35rem .35rem auto auto; border-radius: 999px; padding: .14rem .28rem; background: #2d796c; color: #d8fff3; font-size: .625rem; font-weight: 900; letter-spacing: .06em; }

.skill-dialog-overlay[b-e0xllmuqsr] {
    position: fixed;
    inset-block: 0;
    left: 50%;
    width: min(100vw, 640px);
    transform: translateX(-50%);
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(1, 7, 13, .78);
    backdrop-filter: blur(6px);
}

.skill-dialog[b-e0xllmuqsr] {
    width: min(620px, 100%);
    max-height: min(760px, calc(100vh - 2rem));
    max-height: min(760px, calc(100dvh - 2rem));
    overflow: auto;
    scroll-padding-block: .75rem;
    border: 1px solid #718da1;
    border-radius: 1rem;
    background: linear-gradient(155deg, #1c3144, #0d1d2b 75%);
    color: #e7eef2;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .62), inset 0 1px rgba(255, 255, 255, .06);
}

.skill-dialog__header[b-e0xllmuqsr] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    border-bottom: 1px solid rgba(151, 180, 198, .2);
    background: radial-gradient(circle at 12% -30%, rgba(228, 188, 117, .2), transparent 55%);
}

.skill-dialog__skill[b-e0xllmuqsr] { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.skill-dialog__skill .battle-skill-card__icon[b-e0xllmuqsr] { width: 74px; height: 74px; flex-basis: 74px; }
.skill-dialog__header h2[b-e0xllmuqsr] { margin: .14rem 0 .15rem; color: #f8ecda; font: 700 1.35rem Georgia, serif; }
.skill-dialog__header p[b-e0xllmuqsr] { margin: 0; color: #a9bdc9; font-size: .72rem; }
.skill-dialog__close[b-e0xllmuqsr] { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #4e687d; border-radius: 50%; background: rgba(5, 17, 27, .55); color: #dce7ec; font-size: 1.45rem; }
.skill-dialog__close:hover[b-e0xllmuqsr] { border-color: #e0b875; color: #f5d49a; }
.skill-dialog__close:focus-visible[b-e0xllmuqsr] { outline: 2px solid #f0c77f; outline-offset: 3px; }
.skill-dialog__content[b-e0xllmuqsr] { display: grid; gap: .85rem; padding: 1.1rem 1.2rem; }
.skill-target-picker[b-e0xllmuqsr] { display: grid; gap: .6rem; padding: .8rem; border: 1px solid rgba(126, 160, 181, .35); border-radius: .6rem; background: rgba(4, 14, 23, .38); }
.skill-target-picker p[b-e0xllmuqsr] { margin: .25rem 0 0; color: #adbfcb; font-size: .75rem; line-height: 1.5; }
.skill-target-picker__list[b-e0xllmuqsr] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: .45rem; }
.skill-target-picker__target[b-e0xllmuqsr] { display: grid; gap: .2rem; min-height: 64px; padding: .65rem; text-align: left; color: #e2ebf2; background: #10263a; border: 1px solid #526779; border-radius: .45rem; cursor: pointer; overflow-wrap: anywhere; }
.skill-target-picker__target strong[b-e0xllmuqsr] { font-size: .8rem; }
.skill-target-picker__target span[b-e0xllmuqsr], .skill-target-picker__target small[b-e0xllmuqsr] { color: #adbfcb; font-size: .72rem; }
.skill-target-picker__target.selected[b-e0xllmuqsr] { border-color: #e0b15f; box-shadow: inset 0 0 0 1px #e0b15f; background: #263444; }
.skill-target-picker__target:disabled[b-e0xllmuqsr] { opacity: .5; cursor: not-allowed; }
.skill-target-picker__target:focus-visible[b-e0xllmuqsr] { outline: 2px solid #e0b15f; outline-offset: 2px; }
.skill-dialog__description[b-e0xllmuqsr] { margin: 0; color: #d6e1e7; font-size: .88rem; line-height: 1.65; }
.skill-dialog__facts[b-e0xllmuqsr] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.skill-dialog__facts span[b-e0xllmuqsr] { display: flex; gap: .4rem; align-items: center; min-height: 40px; padding: .5rem .6rem; border: 1px solid rgba(126, 160, 181, .25); border-radius: .5rem; background: rgba(4, 14, 23, .38); color: #beced7; font-size: .72rem; }
.skill-dialog__facts i[b-e0xllmuqsr] { color: #e3bc77; font-style: normal; }

.skill-dialog__automation[b-e0xllmuqsr] { padding: .8rem; border: 1px solid #49677d; border-radius: .7rem; background: rgba(6, 19, 30, .55); }
.skill-dialog__automation-heading[b-e0xllmuqsr] { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.skill-dialog__automation-heading > div[b-e0xllmuqsr] { display: grid; gap: .18rem; }
.skill-dialog__automation-heading strong[b-e0xllmuqsr] { color: #f0e4d2; font-size: .85rem; }
.skill-dialog__automation-heading small[b-e0xllmuqsr] { color: #a4b7c4; font-size: .68rem; }

.switch-control[b-e0xllmuqsr] { position: relative; flex: 0 0 48px; width: 48px; height: 28px; cursor: pointer; }
.switch-control input[b-e0xllmuqsr] { position: absolute; opacity: 0; }
.switch-control span[b-e0xllmuqsr] { position: absolute; inset: 0; border: 1px solid #5a7182; border-radius: 999px; background: #263b4a; transition: background .15s, border-color .15s; }
.switch-control span[b-e0xllmuqsr]::after { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; content: ""; background: #bac7cf; transition: transform .15s, background .15s; }
.switch-control input:checked + span[b-e0xllmuqsr] { border-color: #79cbae; background: #276b5c; }
.switch-control input:checked + span[b-e0xllmuqsr]::after { background: white; transform: translateX(20px); }
.switch-control input:focus-visible + span[b-e0xllmuqsr] { outline: 2px solid #f0c77f; outline-offset: 3px; }

.skill-threshold[b-e0xllmuqsr] { display: grid; gap: .45rem; margin-top: .8rem; padding-top: .7rem; border-top: 1px solid rgba(145, 173, 186, .18); color: #b9c9d2; font-size: .72rem; }
.skill-threshold > span[b-e0xllmuqsr] { display: flex; justify-content: space-between; }
.skill-threshold strong[b-e0xllmuqsr] { color: #f0c77f; }
.skill-threshold input[b-e0xllmuqsr] { width: 100%; accent-color: #d6aa60; }
.skill-dialog__message[b-e0xllmuqsr] { margin: .65rem 0 0; color: #f0c98e; font-size: .72rem; }
.skill-dialog__footer[b-e0xllmuqsr] { display: flex; justify-content: flex-end; gap: .55rem; padding: .9rem 1.2rem 1.1rem; border-top: 1px solid rgba(151, 180, 198, .18); }
.skill-dialog__footer .button[b-e0xllmuqsr] { min-height: 46px; }
.skill-dialog__footer .button--primary[b-e0xllmuqsr] { min-width: 170px; }

@container game-shell (max-width: 1050px) {
    .battle-command[b-e0xllmuqsr] {
        grid-template-columns: minmax(0, 1fr) minmax(230px, auto) auto;
    }

    .battle-command__state[b-e0xllmuqsr] { display: none; }
}

@container game-shell (max-width: 780px) {
    .battle-command[b-e0xllmuqsr] {
        grid-template-columns: minmax(0, 1fr);
    }

    .battle-command__heading[b-e0xllmuqsr] { grid-column: 1; }
    .battle-command__action[b-e0xllmuqsr] { grid-column: 1; justify-content: flex-start; flex-wrap: wrap; }
    .battle-command__shortcuts[b-e0xllmuqsr] { grid-column: 1; justify-content: flex-start; }
    .battle-command .battle-countdown[b-e0xllmuqsr] { grid-column: 1; }

    .battle-field[b-e0xllmuqsr] { min-height: 0; padding-top: .65rem; }
    .battle-field__enemy-art[b-e0xllmuqsr] { min-height: 145px; }
    .battle-field__enemy-art img[b-e0xllmuqsr] { max-height: 150px; }
    .fighter-line[b-e0xllmuqsr] { grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); }
    .fighter__portrait[b-e0xllmuqsr] { height: 88px; }
    .fighter__portrait img[b-e0xllmuqsr] { max-height: 84px; }
    .fighter--empty .fighter__portrait[b-e0xllmuqsr] { height: 60px; }

    .battle-skills__character[b-e0xllmuqsr] { align-items: stretch; flex-direction: column; }
    .battle-skill-grid[b-e0xllmuqsr] { width: 100%; grid-template-columns: repeat(5, minmax(86px, 1fr)); }
}

@container game-shell (max-width: 640px) {
    .battle-page[b-e0xllmuqsr] {
        max-width: none;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }

    .battle-page__header[b-e0xllmuqsr] {
        min-height: 52px;
        padding: .25rem 0 .45rem;
    }

    .battle-command[b-e0xllmuqsr] {
        position: sticky;
        inset: auto auto calc(.65rem + env(safe-area-inset-bottom));
        z-index: 900;
        grid-template-columns: minmax(0, 1fr) clamp(138px, 44%, 220px);
        gap: .45rem .6rem;
        margin: .65rem 0 .85rem;
        padding: .65rem .7rem .6rem .85rem;
        border-color: #6a7f8f;
        border-radius: .9rem;
        background: linear-gradient(120deg, rgba(24, 45, 62, .98), rgba(12, 28, 42, .98));
        box-shadow: 0 12px 42px rgba(0, 0, 0, .58), 0 0 0 1px rgba(237, 197, 125, .08);
        backdrop-filter: blur(14px);
    }

    .battle-command__heading[b-e0xllmuqsr] { display: none; }
    .battle-command__state[b-e0xllmuqsr] {
        display: grid;
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        padding: 0;
        border: 0;
    }

    .battle-command__state strong[b-e0xllmuqsr] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .battle-command__action[b-e0xllmuqsr] {
        grid-column: 2;
        grid-row: 1 / span 2;
        flex-direction: column;
        align-items: stretch;
        gap: .35rem;
    }

    .battle-command__action .battle-controls__primary[b-e0xllmuqsr] {
        width: 100%;
        min-width: 0;
        min-height: 52px;
        padding-inline: .8rem;
    }

    .battle-command__action .battle-controls__waiting[b-e0xllmuqsr],
    .battle-command__action .auto-indicator[b-e0xllmuqsr] {
        justify-content: center;
        min-height: 52px;
        border: 1px solid rgba(145, 173, 186, .25);
        border-radius: .6rem;
        padding: .55rem;
        background: rgba(8, 21, 32, .45);
        white-space: normal;
        text-align: center;
    }

    .battle-command .battle-auto[b-e0xllmuqsr] {
        min-height: 44px;
        padding: .35rem .5rem;
    }

    .battle-command .battle-auto--locked[b-e0xllmuqsr] { display: none; }

    .battle-command__shortcuts[b-e0xllmuqsr] {
        grid-column: 1;
        grid-row: 2;
        gap: .3rem;
        min-width: 0;
    }

    .battle-shortcut[b-e0xllmuqsr] {
        min-width: 0;
        min-height: 44px;
        padding: .45rem .55rem;
        font-size: .7rem;
    }

    .battle-command .battle-countdown[b-e0xllmuqsr] {
        grid-column: 1 / -1;
        grid-row: 3;
        padding-top: .4rem;
    }

    .battle-command .battle-countdown__heading[b-e0xllmuqsr] { margin-bottom: .25rem; }
    .battle-command .battle-countdown__track[b-e0xllmuqsr] { height: .35rem; }

    .battle-stage[b-e0xllmuqsr],
    .battle-controls[b-e0xllmuqsr],
    .formation-panel[b-e0xllmuqsr],
    .battle-rewards[b-e0xllmuqsr] { border-radius: .8rem; }

    .battle-stage__header[b-e0xllmuqsr] { padding: .9rem .85rem .6rem; }
    .battle-stage__header h1[b-e0xllmuqsr] { font-size: 1.35rem; }
    .battle-stage__meta[b-e0xllmuqsr] { gap: .35rem; }
    .battle-mode[b-e0xllmuqsr], .battle-status[b-e0xllmuqsr] { padding: .3rem .55rem; font-size: .68rem; }

    .battle-feed[b-e0xllmuqsr] {
        width: calc(100% - 1.5rem);
        min-height: 48px;
        margin-inline: .75rem;
        padding: .6rem .7rem;
    }

    .battle-feed__open[b-e0xllmuqsr] { font-size: 0; }
    .battle-feed__open span[b-e0xllmuqsr] { font-size: .9rem; }

    .monster-intent[b-e0xllmuqsr] {
        width: calc(100% - 1.5rem);
        min-height: 0;
        margin: .6rem .75rem 0;
        padding: .7rem;
    }

    .monster-intent__icon[b-e0xllmuqsr] { width: 30px; height: 30px; }
    .monster-intent__body > span[b-e0xllmuqsr] { font-size: .625rem; letter-spacing: .08em; }
    .monster-intent__body > strong[b-e0xllmuqsr] { font-size: .9rem; }
    .monster-intent__body > small[b-e0xllmuqsr] { font-size: .7rem; }

    .battle-field[b-e0xllmuqsr] { gap: .7rem; padding: .65rem .75rem .7rem; }
    .battle-field__enemy-art[b-e0xllmuqsr] { min-height: 115px; }
    .battle-field__enemy-art img[b-e0xllmuqsr] { max-height: 125px; }
    .enemy-vitals[b-e0xllmuqsr] { max-width: none; padding: .6rem .7rem; }
    .enemy-vitals__name strong[b-e0xllmuqsr] { font-size: 1.08rem; }

    .fighter-line[b-e0xllmuqsr] {
        grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
        gap: .4rem;
    }

    .fighter--empty[b-e0xllmuqsr] { display: none; }
    .fighter__portrait[b-e0xllmuqsr] { height: 78px; }
    .fighter__portrait img[b-e0xllmuqsr] { max-height: 76px; }
    .fighter > strong[b-e0xllmuqsr] { font-size: .72rem; }
    .fighter > small[b-e0xllmuqsr] { font-size: .64rem; }

    .battle-stage__footer[b-e0xllmuqsr] {
        display: block;
        padding: .6rem .85rem;
    }

    .battle-stage__footer span:not(:first-child)[b-e0xllmuqsr] { display: none; }

    .battle-controls--loadout[b-e0xllmuqsr] {
        padding: .9rem .8rem;
        scroll-margin-top: .75rem;
    }

    .battle-supplies__header[b-e0xllmuqsr] { gap: .5rem; margin-bottom: .55rem; }
    .battle-supplies__header h3[b-e0xllmuqsr] { font-size: 1rem; }
    .battle-supplies__header a[b-e0xllmuqsr] { font-size: .71rem; text-align: right; }
    .battle-skills__character[b-e0xllmuqsr], .battle-supplies__character[b-e0xllmuqsr] { padding: .6rem; }
    .battle-skills__tools[b-e0xllmuqsr] { align-items: flex-end; flex-direction: column; gap: .2rem; }
    .quick-skill-toggle[b-e0xllmuqsr] { min-height: 44px; padding: .35rem .5rem; }
    .battle-skill-grid[b-e0xllmuqsr] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
    .battle-skill-card[b-e0xllmuqsr] { min-height: 126px; padding-inline: .25rem; }
    .battle-skill-card__icon[b-e0xllmuqsr] { width: 62px; height: 62px; flex-basis: 62px; }
    .battle-supply[b-e0xllmuqsr] { min-height: 62px; }
    .battle-supply__action[b-e0xllmuqsr] { padding-left: .2rem; }

    .battle-controls__tools[b-e0xllmuqsr] {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
    }

    .battle-controls__tools .button[b-e0xllmuqsr] { min-height: 46px; }

    .battle-rewards[b-e0xllmuqsr] { padding: 1rem; }
    .battle-rewards__heading[b-e0xllmuqsr] { align-items: flex-start; }
    .battle-rewards__totals[b-e0xllmuqsr] { gap: 1rem; }
    .formation-panel__heading[b-e0xllmuqsr] { padding: .9rem 1rem; }

    .skill-dialog-overlay[b-e0xllmuqsr] { align-items: end; padding: 0; }
    .skill-dialog[b-e0xllmuqsr] { width: 100%; max-height: calc(92vh - env(safe-area-inset-bottom)); max-height: calc(92dvh - env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 1rem 1rem 0 0; padding-bottom: env(safe-area-inset-bottom); }
    .skill-dialog__header[b-e0xllmuqsr] { padding: .9rem .85rem; }
    .skill-dialog__skill .battle-skill-card__icon[b-e0xllmuqsr] { width: 62px; height: 62px; flex-basis: 62px; }
    .skill-dialog__content[b-e0xllmuqsr] { padding: .85rem; }
    .skill-dialog__facts[b-e0xllmuqsr] { grid-template-columns: 1fr; }
    .skill-dialog__footer[b-e0xllmuqsr] { position: sticky; bottom: 0; padding: .75rem .85rem; background: rgba(12, 29, 43, .97); }
    .skill-dialog__footer .button[b-e0xllmuqsr] { flex: 1; }

    .status-dialog-overlay[b-e0xllmuqsr] { align-items: end; padding: 0; }
    .status-dialog[b-e0xllmuqsr] { width: 100%; max-height: calc(88vh - env(safe-area-inset-bottom)); max-height: calc(88dvh - env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 1rem 1rem 0 0; padding-bottom: env(safe-area-inset-bottom); }
    .status-dialog__header[b-e0xllmuqsr] { padding: .8rem .85rem; }
    .status-dialog__content[b-e0xllmuqsr] { max-height: calc(88vh - 100px - env(safe-area-inset-bottom)); max-height: calc(88dvh - 100px - env(safe-area-inset-bottom)); padding: .8rem .85rem calc(.95rem + env(safe-area-inset-bottom)); }
}

@container game-shell (max-width: 390px) {
    .battle-command[b-e0xllmuqsr] {
        grid-template-columns: minmax(0, 1fr) 138px;
    }

    .battle-shortcut[b-e0xllmuqsr] { padding-inline: .4rem; }
    .battle-shortcut span[b-e0xllmuqsr] { display: none; }
    .battle-skill-grid[b-e0xllmuqsr] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .battle-supplies__header .section-kicker[b-e0xllmuqsr] { display: none; }
}

@container game-shell (max-width: 640.98px) {
    .battle-page[b-e0xllmuqsr] { padding-top: .5rem; }
    .battle-page__header[b-e0xllmuqsr] { display: none; }

    .battle-stage__header[b-e0xllmuqsr] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: .45rem;
        padding: .65rem .75rem .5rem;
    }
    .battle-stage__header .section-kicker[b-e0xllmuqsr] { display: none; }
    .battle-stage__header h1[b-e0xllmuqsr] {
        margin: 0;
        overflow: hidden;
        font-size: 1.08rem;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .battle-stage__meta[b-e0xllmuqsr] { flex-wrap: nowrap; justify-content: flex-end; gap: .3rem; }
    .battle-stage__meta .battle-mode:nth-child(2)[b-e0xllmuqsr] { display: none; }
    .battle-mode[b-e0xllmuqsr], .battle-status[b-e0xllmuqsr] { padding: .25rem .48rem; font-size: .625rem; }

    .battle-feed[b-e0xllmuqsr] {
        width: calc(100% - 1.4rem);
        min-height: 44px;
        margin-inline: .7rem;
        padding: .48rem .6rem;
    }
    .battle-feed__latest[b-e0xllmuqsr] { font-size: .7rem; }

    .monster-intent[b-e0xllmuqsr] {
        width: calc(100% - 1.4rem);
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: .55rem;
        min-height: 68px;
        margin: .5rem .7rem 0;
        padding: .55rem .6rem;
    }
    .monster-intent__icon[b-e0xllmuqsr] { width: 28px; height: 28px; }
    .monster-intent__body > span[b-e0xllmuqsr] { display: none; }
    .monster-intent__body > strong[b-e0xllmuqsr] { font-size: .8rem; }
    .monster-intent__body > small[b-e0xllmuqsr] { font-size: .625rem; line-height: 1.3; }
    .monster-intent__target[b-e0xllmuqsr] { grid-column: auto; max-width: 82px; text-align: right; }
    .monster-intent__target > span[b-e0xllmuqsr] { display: none; }
    .monster-intent__target strong[b-e0xllmuqsr] { overflow: hidden; font-size: .68rem; white-space: nowrap; text-overflow: ellipsis; }
    .monster-intent__target small[b-e0xllmuqsr] { font-size: .625rem; }

    .battle-field[b-e0xllmuqsr] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: end;
        gap: .55rem;
        min-height: 0;
        padding: .48rem .7rem .58rem;
    }
    .battle-field__party[b-e0xllmuqsr] {
        order: 0;
        min-width: 0;
    }
    .battle-field__enemy[b-e0xllmuqsr] {
        order: 1;
        min-width: 0;
    }
    .battle-field__enemy-art[b-e0xllmuqsr] { min-height: 82px; }
    .battle-field__enemy-art img[b-e0xllmuqsr] { max-height: 88px; }
    .enemy-vitals[b-e0xllmuqsr] { padding: .45rem .5rem; }
    .enemy-vitals__eyebrow[b-e0xllmuqsr] { display: none; }
    .enemy-vitals__name[b-e0xllmuqsr] {
        align-items: flex-start;
        flex-direction: column;
        gap: .08rem;
    }
    .enemy-vitals__name strong[b-e0xllmuqsr] {
        width: 100%;
        overflow: hidden;
        font-size: .88rem;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .enemy-vitals__name span[b-e0xllmuqsr] { font-size: .66rem; }
    .enemy-vitals__health[b-e0xllmuqsr] { margin-top: .28rem; }
    .battle-field__label[b-e0xllmuqsr] {
        align-items: center;
        min-height: 22px;
        padding: 0 .05rem .28rem;
        font-size: .64rem;
    }
    .battle-field__label small[b-e0xllmuqsr] { display: none; }
    .battle-field__label > span[b-e0xllmuqsr] { font-size: .68rem; }
    .fighter-line[b-e0xllmuqsr] {
        display: flex;
        gap: .38rem;
        overflow-x: auto;
        padding-bottom: .18rem;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .fighter-line[b-e0xllmuqsr]::-webkit-scrollbar { display: none; }
    .fighter[b-e0xllmuqsr] { flex: 0 0 78px; scroll-snap-align: start; }
    .fighter__portrait[b-e0xllmuqsr] { height: 58px; }
    .fighter__portrait img[b-e0xllmuqsr] { max-height: 56px; }
    .fighter > strong[b-e0xllmuqsr] { margin-top: .25rem; }
    .fighter .battle-element[b-e0xllmuqsr] { display: none; }
    .fighter__health[b-e0xllmuqsr] { margin-top: .2rem; }
    .battle-stage__footer[b-e0xllmuqsr] { display: none; }

    .battle-command[b-e0xllmuqsr] {
        position: sticky;
        inset: auto;
        top: calc(4.65rem + env(safe-area-inset-top));
        z-index: 950;
        margin: .55rem 0 .65rem;
    }

    .battle-controls--loadout[b-e0xllmuqsr] { padding: .5rem; }
    .battle-loadout__tabs[b-e0xllmuqsr] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .32rem;
        margin-bottom: .4rem;
        padding: .2rem;
        border: 1px solid #405a6f;
        border-radius: .65rem;
        background: #0e2030;
    }
    .battle-loadout__tabs button[b-e0xllmuqsr] {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: .38rem;
        min-height: 40px;
        border: 0;
        border-radius: .48rem;
        padding: .3rem .48rem;
        color: #9fb4c2;
        background: transparent;
        text-align: left;
    }
    .battle-loadout__tabs button.active[b-e0xllmuqsr] { color: #f3e4c7; background: rgba(220, 174, 90, .16); }
    .battle-loadout__tabs button > span[b-e0xllmuqsr] { color: #e4b561; }
    .battle-loadout__tabs strong[b-e0xllmuqsr] { font-size: .72rem; }
    .battle-loadout__tabs small[b-e0xllmuqsr] { color: #8fa5b5; font-size: .625rem; }
    .battle-loadout__panel[b-e0xllmuqsr] { display: none; }
    .battle-loadout__panel--selected[b-e0xllmuqsr] { display: block; }
    .battle-controls--loadout .battle-supplies[b-e0xllmuqsr] { margin-top: 0; border-top: 0; padding-top: 0; }

    .battle-loadout__section-title[b-e0xllmuqsr] { display: none; }
    .battle-skills .battle-supplies__header[b-e0xllmuqsr],
    .battle-supplies .battle-supplies__header[b-e0xllmuqsr] { align-items: center; justify-content: flex-end; margin-bottom: .32rem; }
    .battle-skills__tools[b-e0xllmuqsr] { align-items: center; flex-direction: row; justify-content: space-between; width: 100%; gap: .35rem; }
    .quick-skill-toggle[b-e0xllmuqsr] { flex: 0 0 auto; }
    .quick-skill-toggle[b-e0xllmuqsr] { min-height: 36px; padding: .25rem .42rem; }
    .quick-skill-toggle small[b-e0xllmuqsr] { display: none; }
    .battle-supplies__header a[b-e0xllmuqsr] { min-height: 36px; }
    .battle-skills__character[b-e0xllmuqsr] { gap: .28rem; padding: .35rem .4rem; margin-bottom: .3rem; }
    .battle-skills__character > .battle-supplies__identity span[b-e0xllmuqsr] { display: none; }
    .battle-skills__character > .battle-supplies__identity strong[b-e0xllmuqsr] { font-size: .72rem; }
    .battle-skill-grid[b-e0xllmuqsr] {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: clamp(.14rem, .85vw, .3rem);
        overflow: visible;
        width: 100%;
        padding: 0;
    }
    .battle-skill-card[b-e0xllmuqsr] { min-width: 0; min-height: 74px; padding: .25rem .08rem .2rem; border-radius: .5rem; }
    .battle-skill-card__icon[b-e0xllmuqsr] { width: min(42px, calc(100% - .15rem)); height: auto; flex: 0 0 auto; aspect-ratio: 1; border-width: 2px; border-radius: .55rem; }
    .battle-skill-card__glyph[b-e0xllmuqsr] { font-size: 1.1rem; }
    .battle-skill-card__slot[b-e0xllmuqsr] { width: 16px; height: 16px; font-size: .55rem; }
    .battle-skill-card__name[b-e0xllmuqsr] { margin-top: .2rem; font-size: .6rem; }
    .battle-skill-card__status[b-e0xllmuqsr] { display: none; }
    .battle-skill-card__auto[b-e0xllmuqsr] { inset: .14rem .03rem auto auto; padding: .08rem .14rem; font-size: .44rem; }
    .battle-skills > p[b-e0xllmuqsr], .battle-supplies > p[b-e0xllmuqsr] { display: none; }
    .battle-supplies__characters[b-e0xllmuqsr] { gap: .3rem; }
    .battle-supplies__character[b-e0xllmuqsr] { gap: .3rem; padding: .35rem .4rem; }
    .battle-supplies__identity strong[b-e0xllmuqsr] { font-size: .72rem; }
    .battle-supplies__identity span[b-e0xllmuqsr] { font-size: .6rem; }
    .battle-supplies__slots[b-e0xllmuqsr] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; }
    .battle-supply--operation[b-e0xllmuqsr] { grid-column: auto; }
    .battle-supply[b-e0xllmuqsr] { min-height: 48px; padding: .3rem .35rem; gap: .3rem; }
    .battle-supply__icon[b-e0xllmuqsr] { flex-basis: 1.65rem; height: 1.65rem; }
    .battle-supply__body strong[b-e0xllmuqsr] { font-size: .66rem; }
    .battle-supply__body small[b-e0xllmuqsr],
    .battle-supply__action[b-e0xllmuqsr] { display: none; }
    .battle-controls__tools[b-e0xllmuqsr] { margin-top: .45rem; padding-top: .45rem; }
    .battle-controls__tools .button[b-e0xllmuqsr] { min-height: 40px; }

    .battle-log-overlay[b-e0xllmuqsr] { align-items: end; place-items: end center; padding: 0; }
    .battle-log-dialog[b-e0xllmuqsr] { width: 100%; max-height: calc(82vh - env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 1rem 1rem 0 0; padding-bottom: env(safe-area-inset-bottom); }
    .battle-reward-overlay[b-e0xllmuqsr] { align-items: center; place-items: center; padding: .75rem; }
    .battle-reward-overlay .battle-reward-dialog[b-e0xllmuqsr] { width: min(100%, 540px); max-height: min(80vh, 620px); border-width: 1px; border-radius: 1rem; padding-bottom: 0; }
}

.battle-reward-dialog[b-e0xllmuqsr] { width: min(100%, 540px); }
.battle-reward-dialog__content[b-e0xllmuqsr] { padding-block: 1rem 1.25rem; }

@media (prefers-contrast: more) {
    .battle-command[b-e0xllmuqsr],
    .battle-supply[b-e0xllmuqsr],
    .battle-skill-card[b-e0xllmuqsr],
    .battle-shortcut[b-e0xllmuqsr] { border-color: #8faabe; }
    .battle-supply--selected[b-e0xllmuqsr] { border-color: #ffd38b; }
}

/* All combatants share one stage: no portrait cards or oversized enemy panel. */
.battle-field[b-e0xllmuqsr] {
    --unit-height: clamp(92px, 10cqw, 122px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: clamp(.25rem, 1.2cqw, .9rem);
    min-height: 0;
    padding: .8rem 1rem .95rem;
}
.battle-field[b-e0xllmuqsr]::before { inset: auto 4% 8px; height: 68px; background: radial-gradient(ellipse, #5592a126, transparent 70%); }
.battle-field--illustrated[b-e0xllmuqsr] { isolation: isolate; }
.battle-field--illustrated[b-e0xllmuqsr]::before { display: none; }
.battle-field__backdrop[b-e0xllmuqsr] {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.battle-field__backdrop img[b-e0xllmuqsr] { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; image-rendering: pixelated; filter: saturate(.78) brightness(.78); }
.monster-intent__icon img[b-e0xllmuqsr] { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.battle-field__party[b-e0xllmuqsr], .battle-field__enemy[b-e0xllmuqsr] { min-width: 0; }
.battle-field__party[b-e0xllmuqsr] { order: 0; }
.battle-field__enemy[b-e0xllmuqsr] { order: 1; }
.battle-field__label[b-e0xllmuqsr] { min-height: 24px; padding: 0 .15rem .25rem; letter-spacing: 0; }
.fighter-line[b-e0xllmuqsr] { display: flex; justify-content: center; align-items: end; gap: clamp(.12rem, .7cqw, .5rem); direction: ltr; overflow: visible; padding: 0; }
.fighter[b-e0xllmuqsr] { display: flex; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: flex-end; max-width: 110px; min-width: 0; padding: .12rem; scroll-snap-align: none; }
.fighter--interactive[b-e0xllmuqsr] { border-radius: .4rem; }
.fighter--interactive:hover .fighter__portrait[b-e0xllmuqsr] { filter: drop-shadow(0 0 7px #e6bb7780); }
.fighter__vitals[b-e0xllmuqsr] { display: flex; flex-direction: column; width: 100%; min-width: 0; margin-bottom: .2rem; }
.fighter__health-slot[b-e0xllmuqsr] { display: block; position: relative; width: 100%; }
.fighter__vitals[b-e0xllmuqsr]  .battle-status-strip { order: 1; }
.fighter__vitals > .fighter__shield-slot[b-e0xllmuqsr] { order: 2; }
.fighter__vitals > .fighter__health-slot[b-e0xllmuqsr] { order: 3; }
.fighter__vitals > .fighter__hp-text[b-e0xllmuqsr] { order: 4; }
.fighter__vitals strong[b-e0xllmuqsr] { display: block; overflow: hidden; color: #f1e8d7; font-size: .72rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
/* Shield space belongs only to field actors. Its height stays fixed when the shield runs out. */
.battle-field .fighter__shield-slot[b-e0xllmuqsr] { display: block; flex: 0 0 12px; width: 100%; height: 12px; margin: 0 0 1px; }
/* Move unused shield space above statuses so buffs stay next to HP without shifting the sprite. */
.battle-field .fighter__shield-slot:has(.fighter__shield[hidden])[b-e0xllmuqsr] { order: -1; }
.battle-field .fighter__shield[b-e0xllmuqsr] { display: block; position: relative; width: 100%; height: 100%; color: #b5edff; }
.battle-field .fighter__shield[hidden][b-e0xllmuqsr] { display: none; }
.battle-field .fighter__shield[b-e0xllmuqsr]  .fighter__shield-track { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 3px; background: #1a465b; }
.battle-field .fighter__shield[b-e0xllmuqsr]  .fighter__shield-fill { display: block; height: 100%; border-radius: inherit; background: #79ccec; transition: width 180ms ease-out; }
.battle-field .fighter__shield[b-e0xllmuqsr]  .fighter__shield-value { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; gap: 2px; min-width: 0; font-size: 9px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 1px 2px #06121f, 0 0 3px #06121f; }
.battle-field .fighter__shield[b-e0xllmuqsr]  .fighter__shield-value > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.battle-field .fighter__shield[b-e0xllmuqsr]  .fighter__shield-icon { width: 7px; height: 9px; flex: 0 0 7px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.fighter__health-slot > .combat-health[b-e0xllmuqsr] { margin: 2px 0 0; }
@media (prefers-reduced-motion: reduce) { .battle-field .fighter__shield[b-e0xllmuqsr]  .fighter__shield-fill { transition: none; } }
.fighter__portrait[b-e0xllmuqsr] {
    isolation: isolate;
    width: 100%;
    height: var(--unit-height);
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
}
.fighter__portrait[b-e0xllmuqsr]::before, .battle-field__enemy-art[b-e0xllmuqsr]::before { position: absolute; z-index: 0; right: 8%; bottom: 0; left: 8%; height: .7rem; border-radius: 50%; content: ""; background: #03101ca8; filter: blur(3px); pointer-events: none; }
.fighter__portrait img[b-e0xllmuqsr] { position: relative; z-index: 1; width: 100%; height: 100%; max-height: none; object-fit: contain; object-position: center bottom; scale: -1 1; }
.fighter__number[b-e0xllmuqsr] { z-index: 2; top: auto; bottom: .1rem; left: .05rem; width: 1rem; height: 1rem; font-size: .57rem; }
.fighter__vitals .fighter__number--vitals[b-e0xllmuqsr] { top: 0; bottom: auto; left: 0; width: .85rem; height: .85rem; font-size: .55rem; }
.fighter__level[b-e0xllmuqsr] { margin-top: .1rem; font-size: .62rem; }
.fighter .battle-element[b-e0xllmuqsr], .fighter__hp-text[b-e0xllmuqsr] { display: none; }
.fighter__health[b-e0xllmuqsr], .enemy-vitals__health[b-e0xllmuqsr] { width: 100%; height: .34rem; margin: .2rem 0 0; }
.battle-field__enemy-art[b-e0xllmuqsr] { isolation: isolate; width: 100%; max-width: var(--unit-height); height: var(--unit-height); min-height: 0; }
.battle-field__enemy-art img[b-e0xllmuqsr] { position: relative; z-index: 1; width: 100%; height: 100%; max-height: none; object-fit: contain; object-position: center bottom; }
.enemy-vitals[b-e0xllmuqsr] { display: block; width: 100%; max-width: var(--unit-height); min-width: 0; border: 0; border-radius: .35rem; padding: 0; color: #e8eff1; background: transparent; text-align: center; }
.enemy-vitals:hover[b-e0xllmuqsr] { border: 0; color: #f4d596; }
.enemy-vitals__name[b-e0xllmuqsr] { display: block; min-width: 0; margin: 0; }
.enemy-vitals__name strong[b-e0xllmuqsr] { display: block; overflow: hidden; color: #f2e7d8; font: 800 .76rem system-ui, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.enemy-vitals__name span[b-e0xllmuqsr], .enemy-vitals__eyebrow[b-e0xllmuqsr] { display: none; }
.enemy-vitals__health[b-e0xllmuqsr] { height: .34rem; margin: .2rem 0 .2rem; }
.battle-field__enemy-pending[b-e0xllmuqsr] {
    width: min(100%, var(--unit-height));
    min-height: var(--unit-height);
    padding: .35rem;
    gap: .18rem;
    border: 0;
    background: transparent;
}
.battle-field__enemy-pending span[b-e0xllmuqsr] { font-size: 1.05rem; }
.battle-field__enemy-pending strong[b-e0xllmuqsr] { font: 800 .78rem system-ui, sans-serif; line-height: 1.2; }
.battle-field__enemy-pending small[b-e0xllmuqsr] { color: #91a7b4; font-size: .6rem; line-height: 1.2; }
.battle-field--player-attack .fighter--occupied:not(.fighter--down) .fighter__portrait img[b-e0xllmuqsr] { animation-name: fighter-attack-stage-b-e0xllmuqsr; }
@keyframes fighter-attack-stage-b-e0xllmuqsr {
    0%, 100% { transform: translate(0, 0) scale(1); }
    38% { transform: translate(12px, -3px) scale(1.04); filter: brightness(1.3) drop-shadow(0 8px 7px #0008); }
    58% { transform: translate(7px, 0) scale(1.01); }
}
@container game-shell (max-width: 640.98px) {
    .battle-field[b-e0xllmuqsr] { --unit-height: clamp(68px, 15cqw, 94px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem; padding: .4rem .4rem .6rem; }
    .battle-field--crowded[b-e0xllmuqsr] { --unit-height: clamp(52px, 11cqw, 76px); }
    .battle-field__label[b-e0xllmuqsr] { min-height: 18px; padding: 0 .1rem .18rem; }
    .battle-field__label > span[b-e0xllmuqsr], .battle-field__label strong[b-e0xllmuqsr] { font-size: .62rem; }
    .fighter-line[b-e0xllmuqsr] { display: flex; gap: .08rem; overflow: visible; padding: 0; scroll-snap-type: none; }
    .fighter[b-e0xllmuqsr] { flex: 1 1 0; max-width: var(--unit-height); min-width: 0; padding: .08rem; }
    .fighter__vitals strong[b-e0xllmuqsr], .enemy-vitals__name strong[b-e0xllmuqsr] { font-size: .62rem; }
    .fighter__portrait[b-e0xllmuqsr] { height: var(--unit-height); }
    .fighter__portrait img[b-e0xllmuqsr], .battle-field__enemy-art img[b-e0xllmuqsr] { height: 100%; max-height: none; }
    .fighter__number[b-e0xllmuqsr] { width: .85rem; height: .85rem; font-size: .52rem; }
    .fighter__level[b-e0xllmuqsr] { display: none; }
    .fighter__health[b-e0xllmuqsr], .enemy-vitals__health[b-e0xllmuqsr] { height: .3rem; margin-top: .15rem; }
    .battle-field__enemy-art[b-e0xllmuqsr] { height: var(--unit-height); min-height: 0; }
    .enemy-vitals[b-e0xllmuqsr] { padding: 0; }
    .enemy-vitals__name[b-e0xllmuqsr] { display: block; }
    .enemy-vitals__name strong[b-e0xllmuqsr] { font-size: .62rem; }
    .enemy-vitals__health[b-e0xllmuqsr] { margin-bottom: .2rem; }
    .battle-field__enemy-pending[b-e0xllmuqsr] { min-height: var(--unit-height); padding: .2rem; }
    .battle-field__enemy-pending span[b-e0xllmuqsr] { font-size: .9rem; }
    .battle-field__enemy-pending strong[b-e0xllmuqsr] { font-size: .66rem; }
    .battle-field__enemy-pending small[b-e0xllmuqsr] { font-size: .54rem; }
}
@media (prefers-reduced-motion: reduce) {
    .battle-field .fighter__portrait img[b-e0xllmuqsr], .battle-field .battle-field__enemy-art img[b-e0xllmuqsr] { animation: none; }
}

/* Enemy intent stays readable without pushing the battlefield far down. */
.monster-intent[b-e0xllmuqsr] {
    width: calc(100% - 2rem);
    min-height: 44px;
    margin: .45rem 1rem 0;
    padding: .38rem .6rem;
    gap: .5rem;
    border-radius: .55rem;
}
.monster-intent__icon[b-e0xllmuqsr] { width: 26px; height: 26px; font-size: .78rem; }
.monster-intent__body[b-e0xllmuqsr] { min-width: 0; display: flex; align-items: baseline; gap: .45rem; }
.monster-intent__body > span[b-e0xllmuqsr], .monster-intent__target > span[b-e0xllmuqsr] { display: none; }
.monster-intent__body > strong[b-e0xllmuqsr] { flex: 0 0 auto; font-size: .82rem; }
.monster-intent__body > small[b-e0xllmuqsr] { min-width: 0; overflow: hidden; font-size: .64rem; white-space: nowrap; text-overflow: ellipsis; }
.monster-intent__target[b-e0xllmuqsr] { display: flex; align-items: center; gap: .3rem; white-space: nowrap; }
.monster-intent__target strong[b-e0xllmuqsr] { font-size: .72rem; }
.monster-intent__target small[b-e0xllmuqsr] { font-size: .58rem; }

.fighter[b-e0xllmuqsr] { position: relative; }
.fighter__target-marker[b-e0xllmuqsr] {
    position: absolute;
    z-index: 5;
    top: -.5rem;
    left: 50%;
    color: #ff7568;
    font-size: .9rem;
    line-height: 1;
    text-shadow: 0 0 7px #ff3e36;
    transform: translateX(-50%);
    animation: target-marker-pulse-b-e0xllmuqsr 1s ease-in-out infinite;
}
.fighter--targeted .fighter__vitals strong[b-e0xllmuqsr] { color: #ffc0b6; text-shadow: 0 0 6px #e64e46aa; }
.fighter--targeted .fighter__portrait[b-e0xllmuqsr]::after {
    position: absolute;
    z-index: 2;
    inset: 6% 4% 2%;
    border: 1px solid #ff7067b8;
    border-radius: 44% 44% 30% 30%;
    content: "";
    box-shadow: inset 0 0 14px #f1443c30, 0 0 10px #f1443c70;
    pointer-events: none;
    animation: target-aura-pulse-b-e0xllmuqsr 1s ease-in-out infinite;
}
.fighter--targeted .fighter__portrait img[b-e0xllmuqsr] { filter: sepia(.22) saturate(1.45) drop-shadow(0 0 7px #ed524b9e); }
@keyframes target-marker-pulse-b-e0xllmuqsr { 50% { opacity: .55; transform: translateX(-50%) translateY(2px); } }
@keyframes target-aura-pulse-b-e0xllmuqsr { 50% { opacity: .45; box-shadow: inset 0 0 9px #f1443c22, 0 0 5px #f1443c55; } }

@container game-shell (max-width: 640.98px) {
    .monster-intent[b-e0xllmuqsr] { width: calc(100% - 1.4rem); min-height: 40px; margin: .4rem .7rem 0; padding: .32rem .5rem; gap: .38rem; }
    .monster-intent__icon[b-e0xllmuqsr] { width: 24px; height: 24px; }
    .monster-intent__body[b-e0xllmuqsr] { gap: .35rem; }
    .monster-intent__body > strong[b-e0xllmuqsr] { font-size: .75rem; }
    .monster-intent__body > small[b-e0xllmuqsr] { font-size: .58rem; }
    .monster-intent__target[b-e0xllmuqsr] { max-width: 88px; }
    .monster-intent__target strong[b-e0xllmuqsr] { max-width: 72px; overflow: hidden; font-size: .64rem; text-overflow: ellipsis; }
    .fighter__target-marker[b-e0xllmuqsr] { top: -.4rem; font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
    .fighter__target-marker[b-e0xllmuqsr], .fighter--targeted .fighter__portrait[b-e0xllmuqsr]::after { animation: none; }
}

/* Mobile battle HUD: keep the next action beside the field instead of below the loadout. */
.battle-mobile-quick-actions[b-e0xllmuqsr] { display: none; }
.battle-mobile-quick-actions__tools[b-e0xllmuqsr] { display: none; }

@container game-shell (max-width: 640.98px) {
    .battle-command[b-e0xllmuqsr] {
        grid-template-columns: minmax(0, 1fr) minmax(126px, 42%);
        gap: .4rem .5rem;
        padding: .55rem .55rem .5rem .7rem;
    }

    .battle-command__shortcuts .battle-shortcut--loadout[b-e0xllmuqsr] { display: none; }

    .battle-controls--loadout-collapsed[b-e0xllmuqsr] { display: none; }

    .battle-mobile-quick-actions[b-e0xllmuqsr] {
        display: grid;
        grid-column: 1 / -1;
        grid-row: 3;
        gap: .36rem;
        min-width: 0;
        margin-top: .05rem;
        padding: .45rem .45rem .38rem;
        border: 1px solid rgba(111, 151, 170, .5);
        border-radius: .68rem;
        background: linear-gradient(145deg, rgba(24, 49, 65, .9), rgba(10, 26, 40, .92));
        box-shadow: inset 0 1px rgba(255, 255, 255, .04);
    }

    .battle-mobile-quick-actions__heading[b-e0xllmuqsr] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .5rem;
        min-width: 0;
    }

    .battle-mobile-quick-actions__tools[b-e0xllmuqsr] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 44px));
        flex: 0 0 auto;
        justify-content: flex-end;
        gap: .25rem;
        min-width: 92px;
    }

    .battle-mobile-quick-actions__heading > div[b-e0xllmuqsr] {
        display: grid;
        gap: .06rem;
        min-width: 0;
    }

    .battle-mobile-quick-actions__heading .section-kicker[b-e0xllmuqsr] {
        color: #d9ae67;
        font-size: .52rem;
        letter-spacing: .12em;
    }

    .battle-mobile-quick-actions__heading strong[b-e0xllmuqsr] {
        overflow: hidden;
        color: #f1e8d9;
        font-size: .72rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .battle-mobile-quick-actions__heading small[b-e0xllmuqsr] {
        overflow: hidden;
        color: #9eb5c2;
        font-size: .58rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .battle-mobile-quick-actions__mode[b-e0xllmuqsr],
    .battle-mobile-quick-actions__manage[b-e0xllmuqsr] {
        display: grid;
        min-width: 44px;
        min-height: 42px;
        flex: 0 0 44px;
        place-items: center;
        gap: .02rem;
        border: 1px solid #6b7f89;
        border-radius: .55rem;
        background: rgba(7, 19, 30, .6);
        color: #edc479;
    }

    .battle-mobile-quick-actions__mode span[b-e0xllmuqsr] { font-size: 1.05rem; line-height: 1; }
    .battle-mobile-quick-actions__mode small[b-e0xllmuqsr] { color: #b9cad2; font-size: .55rem; }
    .battle-mobile-quick-actions__manage[b-e0xllmuqsr] {
        border-color: #536f80;
        color: #b9cfda;
    }
    .battle-mobile-quick-actions__manage span[b-e0xllmuqsr] { font-size: 1.05rem; line-height: 1; }
    .battle-mobile-quick-actions__manage small[b-e0xllmuqsr] { color: #b9cad2; font-size: .55rem; }
    .battle-mobile-quick-actions__mode:focus-visible[b-e0xllmuqsr],
    .battle-mobile-quick-actions__manage:focus-visible[b-e0xllmuqsr] { outline: 2px solid #f0c77f; outline-offset: 2px; }

    .battle-mobile-quick-actions__characters[b-e0xllmuqsr],
    .battle-mobile-skill-rail[b-e0xllmuqsr],
    .battle-mobile-supply-rail[b-e0xllmuqsr] {
        display: flex;
        min-width: 0;
        gap: .3rem;
        overflow-x: auto;
        padding: .02rem .02rem .12rem;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
    }

    .battle-mobile-quick-actions__characters[b-e0xllmuqsr]::-webkit-scrollbar,
    .battle-mobile-skill-rail[b-e0xllmuqsr]::-webkit-scrollbar,
    .battle-mobile-supply-rail[b-e0xllmuqsr]::-webkit-scrollbar { display: none; }

    .battle-mobile-character-tab[b-e0xllmuqsr] {
        display: grid;
        grid-template-columns: 1rem minmax(0, 1fr);
        grid-template-rows: 1fr 1fr;
        align-items: center;
        flex: 0 0 88px;
        min-width: 88px;
        min-height: 40px;
        column-gap: .25rem;
        border: 1px solid #405c70;
        border-radius: .5rem;
        padding: .25rem .35rem;
        background: rgba(7, 20, 31, .56);
        color: #a9bbc6;
        text-align: left;
    }

    .battle-mobile-character-tab > span[b-e0xllmuqsr] {
        grid-row: 1 / span 2;
        display: grid;
        width: 1rem;
        height: 1rem;
        place-items: center;
        border-radius: 50%;
        background: #29465a;
        color: #f1d18c;
        font-size: .58rem;
        font-weight: 900;
    }

    .battle-mobile-character-tab strong[b-e0xllmuqsr],
    .battle-mobile-character-tab small[b-e0xllmuqsr] {
        overflow: hidden;
        min-width: 0;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .battle-mobile-character-tab strong[b-e0xllmuqsr] { color: #dfe9ee; font-size: .61rem; line-height: 1.1; }
    .battle-mobile-character-tab small[b-e0xllmuqsr] { color: #85a5ae; font-size: .52rem; line-height: 1.1; }
    .battle-mobile-character-tab.active[b-e0xllmuqsr] { border-color: #e1b66e; background: linear-gradient(135deg, rgba(109, 80, 38, .72), rgba(24, 49, 61, .92)); box-shadow: inset 0 0 0 1px rgba(234, 195, 124, .15); }
    .battle-mobile-character-tab.active > span[b-e0xllmuqsr] { background: #e0b567; color: #16232c; }
    .battle-mobile-character-tab--down[b-e0xllmuqsr] { opacity: .55; }

    .battle-mobile-skill-rail[b-e0xllmuqsr] { scroll-snap-type: x proximity; }

    .battle-mobile-skill[b-e0xllmuqsr] {
        flex: 0 0 58px;
        width: 58px;
        min-width: 58px;
        min-height: 76px;
        padding: .18rem .08rem .2rem;
        border-radius: .5rem;
        scroll-snap-align: start;
    }

    .battle-mobile-skill .battle-skill-card__icon[b-e0xllmuqsr] {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-width: 2px;
        border-radius: .5rem;
    }

    .battle-mobile-skill .battle-skill-card__slot[b-e0xllmuqsr] { top: 2px; left: 2px; width: 14px; height: 14px; font-size: .5rem; }
    .battle-mobile-skill .battle-skill-card__cooldown[b-e0xllmuqsr] { border-radius: .42rem; font-size: 1rem; }
    .battle-mobile-skill .battle-skill-card__check[b-e0xllmuqsr] { right: 2px; bottom: 2px; width: 16px; height: 16px; font-size: .58rem; }
    .battle-mobile-skill .battle-skill-card__name[b-e0xllmuqsr] { margin-top: .18rem; font-size: .58rem; line-height: 1.05; }
    .battle-mobile-skill .battle-skill-card__status[b-e0xllmuqsr] { display: none; }
    .battle-mobile-skill .battle-skill-card__auto[b-e0xllmuqsr] { top: .18rem; right: .08rem; padding: .06rem .1rem; font-size: .4rem; }

    .battle-mobile-skill--soul[b-e0xllmuqsr] {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .14rem;
        border-color: #876c45;
        background: linear-gradient(150deg, #4c3c28, #1a2c36);
        color: #f4d293;
    }

    .battle-mobile-skill--soul.battle-mobile-skill--selected[b-e0xllmuqsr] { border-color: #f0c77f; background: #5d4930; }
    .battle-mobile-skill__icon[b-e0xllmuqsr] { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #e2bb71; border-radius: 50%; color: #f4d293; background: rgba(229, 180, 84, .14); font-size: .95rem; }
    .battle-mobile-skill--soul strong[b-e0xllmuqsr] { overflow: hidden; max-width: 100%; font-size: .59rem; text-overflow: ellipsis; white-space: nowrap; }
    .battle-mobile-skill--soul small[b-e0xllmuqsr] { color: #bca777; font-size: .5rem; }

    .battle-mobile-quick-actions__hint[b-e0xllmuqsr] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .4rem;
        min-width: 0;
        color: #8fa8b5;
        font-size: .55rem;
    }

    .battle-mobile-quick-actions__hint > span[b-e0xllmuqsr] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .quick-skill-toggle--compact[b-e0xllmuqsr] { min-height: 36px; flex: 0 0 auto; gap: .24rem; padding: .2rem .38rem; border-radius: .45rem; }
    .quick-skill-toggle--compact input[b-e0xllmuqsr] { width: .95rem; height: .95rem; }
    .quick-skill-toggle--compact strong[b-e0xllmuqsr] { font-size: .6rem; }

    .battle-mobile-supply-rail[b-e0xllmuqsr] { scroll-snap-type: x proximity; }

    .battle-mobile-supply[b-e0xllmuqsr] {
        display: flex;
        align-items: center;
        gap: .28rem;
        flex: 0 0 112px;
        min-width: 112px;
        min-height: 54px;
        border: 1px solid #45677a;
        border-radius: .5rem;
        padding: .28rem .35rem;
        background: #132c3d;
        color: #dce8ef;
        text-align: left;
        scroll-snap-align: start;
    }

    button.battle-mobile-supply:not(:disabled):active[b-e0xllmuqsr] { transform: scale(.98); }
    .battle-mobile-supply--selected[b-e0xllmuqsr] { border-color: #e4b96f; background: #4b3c2e; box-shadow: inset 2px 0 #e4b96f; }
    .battle-mobile-supply--operation[b-e0xllmuqsr] { border-color: #806945; background: #293133; }
    .battle-mobile-supply__icon[b-e0xllmuqsr] { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: .35rem; color: #e6c782; background: rgba(216, 169, 87, .14); font-size: .9rem; }
    .battle-mobile-supply__icon img[b-e0xllmuqsr] { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
    .battle-mobile-supply > span:last-child[b-e0xllmuqsr] { display: grid; gap: .08rem; min-width: 0; }
    .battle-mobile-supply strong[b-e0xllmuqsr], .battle-mobile-supply small[b-e0xllmuqsr] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .battle-mobile-supply strong[b-e0xllmuqsr] { font-size: .6rem; }
    .battle-mobile-supply small[b-e0xllmuqsr] { color: #9fb7c2; font-size: .5rem; }

    .battle-command .battle-countdown[b-e0xllmuqsr] { grid-row: 4; }
}

@container game-shell (max-width: 390px) {
    .battle-mobile-character-tab[b-e0xllmuqsr] { flex-basis: 80px; min-width: 80px; }
    .battle-mobile-skill[b-e0xllmuqsr] { flex-basis: 54px; width: 54px; min-width: 54px; }
    .battle-mobile-skill .battle-skill-card__icon[b-e0xllmuqsr] { width: 38px; height: 38px; flex-basis: 38px; }
}

@container game-shell (max-width: 640.98px) {
    .battle-mobile-quick-actions__manage[aria-expanded="true"][b-e0xllmuqsr] {
        border-color: #e1b66e;
        background: rgba(109, 80, 38, .46);
        color: #edc479;
    }

    .battle-mobile-quick-actions--down[b-e0xllmuqsr] {
        border-color: rgba(184, 112, 98, .66);
    }

    .battle-mobile-quick-actions__characters[b-e0xllmuqsr],
    .battle-mobile-skill-rail[b-e0xllmuqsr],
    .battle-mobile-supply-rail[b-e0xllmuqsr] {
        -webkit-overflow-scrolling: touch;
        scroll-padding-inline: .35rem;
    }
}

@media (orientation: landscape) and (max-height: 560px) and (max-width: 900px) {
    .battle-page[b-e0xllmuqsr] { padding-top: .25rem; }
    .battle-page__header[b-e0xllmuqsr] { display: none; }

    .battle-stage__header[b-e0xllmuqsr] { padding: .35rem .65rem; }
    .battle-stage__header h1[b-e0xllmuqsr] { font-size: .96rem; }
    .battle-feed[b-e0xllmuqsr] { display: none; }

    .monster-intent[b-e0xllmuqsr] {
        min-height: 42px;
        margin-top: .3rem;
        padding: .35rem .5rem;
    }

    .monster-intent__icon[b-e0xllmuqsr] { width: 24px; height: 24px; }
    .monster-intent__body > strong[b-e0xllmuqsr] { font-size: .72rem; }
    .monster-intent__body > small[b-e0xllmuqsr] { font-size: .56rem; }
    .monster-intent__target[b-e0xllmuqsr] { max-width: 100px; }

    .battle-field[b-e0xllmuqsr] {
        gap: .45rem;
        padding: .35rem .65rem .4rem;
    }

    .battle-field__enemy-art[b-e0xllmuqsr] { min-height: 68px; }
    .battle-field__enemy-art img[b-e0xllmuqsr] { max-height: 72px; }
    .enemy-vitals[b-e0xllmuqsr] { padding: .35rem .45rem; }
    .enemy-vitals__name strong[b-e0xllmuqsr] { font-size: .78rem; }
    .enemy-vitals__name span[b-e0xllmuqsr] { font-size: .58rem; }
    .enemy-vitals__health[b-e0xllmuqsr] { margin-top: .2rem; }
    .fighter-line[b-e0xllmuqsr] { gap: .3rem; padding-bottom: .08rem; }
    .fighter[b-e0xllmuqsr] { flex-basis: 68px; }
    .fighter__portrait[b-e0xllmuqsr] { height: 46px; }
    .fighter__portrait img[b-e0xllmuqsr] { max-height: 44px; }
    .fighter > strong[b-e0xllmuqsr] { margin-top: .15rem; font-size: .62rem; }
    .fighter > small[b-e0xllmuqsr] { font-size: .54rem; }
    .fighter__health[b-e0xllmuqsr] { margin-top: .12rem; height: .35rem; }

    .battle-command[b-e0xllmuqsr] {
        top: calc(3.9rem + env(safe-area-inset-top));
        gap: .25rem .35rem;
        margin: .35rem 0 .45rem;
        padding: .35rem .45rem .4rem .55rem;
    }

    .battle-command__state strong[b-e0xllmuqsr] { font-size: .72rem; }
    .battle-command__action[b-e0xllmuqsr] { gap: .25rem; }
    .battle-command__action .battle-controls__primary[b-e0xllmuqsr],
    .battle-command__action .battle-controls__waiting[b-e0xllmuqsr],
    .battle-command__action .auto-indicator[b-e0xllmuqsr] {
        min-height: 40px;
        padding: .35rem;
        font-size: .65rem;
    }
    .battle-command__shortcuts[b-e0xllmuqsr] { gap: .2rem; }
    .battle-shortcut[b-e0xllmuqsr] { min-height: 32px; padding: .25rem .35rem; font-size: .6rem; }

    .battle-mobile-quick-actions[b-e0xllmuqsr] {
        gap: .15rem;
        margin-top: 0;
        padding: .24rem .32rem .2rem;
    }
    .battle-mobile-quick-actions__heading[b-e0xllmuqsr] { min-height: 26px; }
    .battle-mobile-quick-actions__heading small[b-e0xllmuqsr] { display: none; }
    .battle-mobile-quick-actions__heading strong[b-e0xllmuqsr] { font-size: .62rem; }
    .battle-mobile-quick-actions__tools[b-e0xllmuqsr] {
        grid-template-columns: repeat(2, minmax(0, 36px));
        min-width: 76px;
    }
    .battle-mobile-quick-actions__mode[b-e0xllmuqsr],
    .battle-mobile-quick-actions__manage[b-e0xllmuqsr] {
        min-width: 36px;
        min-height: 32px;
        flex-basis: 36px;
        border-radius: .42rem;
    }
    .battle-mobile-quick-actions__mode span[b-e0xllmuqsr],
    .battle-mobile-quick-actions__manage span[b-e0xllmuqsr] { font-size: .82rem; }
    .battle-mobile-quick-actions__mode small[b-e0xllmuqsr],
    .battle-mobile-quick-actions__manage small[b-e0xllmuqsr] { font-size: .46rem; }

    .battle-mobile-quick-actions__characters[b-e0xllmuqsr] { gap: .2rem; padding-bottom: .03rem; }
    .battle-mobile-character-tab[b-e0xllmuqsr] {
        flex-basis: 78px;
        min-width: 78px;
        min-height: 30px;
        padding: .18rem .28rem;
    }
    .battle-mobile-character-tab > span[b-e0xllmuqsr] { width: .85rem; height: .85rem; font-size: .48rem; }
    .battle-mobile-character-tab strong[b-e0xllmuqsr] { font-size: .55rem; }
    .battle-mobile-character-tab small[b-e0xllmuqsr] { font-size: .46rem; }

    .battle-mobile-skill-rail[b-e0xllmuqsr] { gap: .22rem; padding-bottom: .03rem; }
    .battle-mobile-skill[b-e0xllmuqsr] {
        flex-basis: 48px;
        width: 48px;
        min-width: 48px;
        min-height: 58px;
        padding: .12rem .06rem .14rem;
    }
    .battle-mobile-skill .battle-skill-card__icon[b-e0xllmuqsr] {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }
    .battle-mobile-skill .battle-skill-card__name[b-e0xllmuqsr] { margin-top: .1rem; font-size: .5rem; }
    .battle-mobile-skill--soul[b-e0xllmuqsr] { gap: .1rem; }
    .battle-mobile-skill__icon[b-e0xllmuqsr] { width: 24px; height: 24px; font-size: .72rem; }
    .battle-mobile-skill--soul strong[b-e0xllmuqsr] { font-size: .5rem; }
    .battle-mobile-skill--soul small[b-e0xllmuqsr] { font-size: .42rem; }
    .battle-mobile-quick-actions__hint[b-e0xllmuqsr] { display: none; }
    .battle-command .battle-countdown[b-e0xllmuqsr] { display: none; }
    .battle-command__compact-countdown[b-e0xllmuqsr] {
        display: block;
        overflow: hidden;
        color: #9eb5c2;
        font-size: .56rem;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .battle-command__mobile-actions[b-e0xllmuqsr] {
        display: block;
        overflow: hidden;
        color: #edc479;
        font-size: .56rem;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@container game-shell (max-width: 375px) {
    .battle-mobile-quick-actions[b-e0xllmuqsr] {
        gap: .28rem;
        padding: .32rem .36rem .28rem;
    }

    .battle-mobile-character-tab[b-e0xllmuqsr] {
        min-height: 36px;
        padding: .2rem .3rem;
    }

    .battle-mobile-skill[b-e0xllmuqsr] {
        min-height: 70px;
        padding: .14rem .07rem .16rem;
    }

    .battle-mobile-skill .battle-skill-card__icon[b-e0xllmuqsr] {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .battle-mobile-quick-actions__hint[b-e0xllmuqsr] { font-size: .52rem; }
}

@media (orientation: portrait) and (max-height: 720px) and (max-width: 500px) {
    .battle-command .battle-countdown[b-e0xllmuqsr] { display: none; }
    .battle-command__compact-countdown[b-e0xllmuqsr] {
        display: block;
        overflow: hidden;
        color: #9eb5c2;
        font-size: .56rem;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 900px) and (max-height: 720px) {
    .battle-command__mobile-intent[b-e0xllmuqsr] {
        display: block;
        overflow: hidden;
        color: #e0aaa3;
        font-size: .56rem;
        line-height: 1.15;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Short landscape phones: keep the skill decision and its context in one compact sheet. */
@media (orientation: landscape) and (max-height: 560px) and (max-width: 900px) {
    .skill-dialog-overlay[b-e0xllmuqsr] {
        align-items: end;
        padding: 0;
    }

    .skill-dialog[b-e0xllmuqsr] {
        width: 100%;
        max-height: calc(100vh - env(safe-area-inset-bottom));
        max-height: calc(100dvh - env(safe-area-inset-bottom));
        border-width: 1px 0 0;
        border-radius: .85rem .85rem 0 0;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .skill-dialog__header[b-e0xllmuqsr] {
        gap: .6rem;
        padding: .55rem .75rem;
    }

    .skill-dialog__skill[b-e0xllmuqsr] { gap: .6rem; }
    .skill-dialog__skill .battle-skill-card__icon[b-e0xllmuqsr] { width: 52px; height: 52px; flex-basis: 52px; }
    .skill-dialog__header h2[b-e0xllmuqsr] { font-size: 1.05rem; }
    .skill-dialog__header p[b-e0xllmuqsr] { font-size: .62rem; }
    .skill-dialog__close[b-e0xllmuqsr] { width: 38px; height: 38px; flex-basis: 38px; font-size: 1.2rem; }

    .skill-dialog__content[b-e0xllmuqsr] {
        gap: .45rem;
        padding: .62rem .75rem;
    }

    .skill-dialog__description[b-e0xllmuqsr] {
        font-size: .72rem;
        line-height: 1.35;
    }

    .skill-dialog__facts[b-e0xllmuqsr] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .3rem;
    }

    .skill-dialog__facts span[b-e0xllmuqsr] {
        min-height: 30px;
        padding: .3rem .45rem;
        font-size: .6rem;
    }

    .skill-dialog__automation[b-e0xllmuqsr] { padding: .5rem; }
    .skill-dialog__automation-heading[b-e0xllmuqsr] { gap: .6rem; }
    .skill-dialog__automation-heading strong[b-e0xllmuqsr] { font-size: .75rem; }
    .skill-dialog__automation-heading small[b-e0xllmuqsr] { font-size: .58rem; }
    .skill-threshold[b-e0xllmuqsr] { gap: .3rem; margin-top: .45rem; padding-top: .45rem; font-size: .6rem; }
    .skill-dialog__message[b-e0xllmuqsr] { margin-top: .4rem; font-size: .6rem; }

    .skill-dialog__footer[b-e0xllmuqsr] {
        gap: .4rem;
        padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
    }

    .skill-dialog__footer .button[b-e0xllmuqsr] { min-height: 40px; }
}

/* The mobile command row is the single source of truth for skill and supply actions. */
.battle-controls--room-actions[b-e0xllmuqsr] {
    grid-template-columns: minmax(0, 1fr);
    padding: .75rem 1rem;
}

.battle-controls--room-actions .battle-controls__tools[b-e0xllmuqsr] {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    justify-content: flex-end;
}

@container game-shell (max-width: 640.98px) {
    .battle-command[b-e0xllmuqsr] {
        grid-template-columns: minmax(90px, .9fr) minmax(145px, 1.45fr);
        gap: .35rem .45rem;
    }

    .battle-command__state[b-e0xllmuqsr] {
        display: none;
    }

    .battle-command__shortcuts[b-e0xllmuqsr] {
        grid-column: 1;
        grid-row: 1;
        align-items: stretch;
        justify-content: stretch;
        min-width: 0;
        gap: .3rem;
    }

    .battle-command__shortcuts .battle-shortcut[b-e0xllmuqsr] {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding-inline: .45rem;
        font-size: .68rem;
    }

    .battle-command__action[b-e0xllmuqsr] {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        align-items: stretch;
        justify-content: stretch;
        flex-direction: row;
        gap: .3rem;
    }

    .battle-command__action .battle-auto[b-e0xllmuqsr] {
        order: -1;
        flex: 0 0 45px;
        width: 45px;
        min-width: 45px;
        min-height: 44px;
        align-items: center;
        box-sizing: border-box;
        padding: .25rem .18rem;
        font-size: .62rem;
    }

    .battle-command__action .battle-auto > span[b-e0xllmuqsr] {
        gap: .16rem;
    }

    .battle-command__action .battle-auto input[b-e0xllmuqsr] {
        width: .88rem;
        height: .88rem;
    }

    .battle-auto__label-full[b-e0xllmuqsr] { display: none; }
    .battle-auto__label-mobile[b-e0xllmuqsr] { display: inline; }
    .battle-command__action .battle-auto small[b-e0xllmuqsr] { display: none; }

    .battle-command__action .battle-controls__primary[b-e0xllmuqsr] {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        min-height: 44px;
        box-sizing: border-box;
        padding: .35rem .45rem;
        font-size: .7rem;
    }

    .battle-command__action .battle-controls__primary-label[b-e0xllmuqsr] {
        margin-left: 0;
    }

    .battle-command__action .battle-controls__primary-label[b-e0xllmuqsr] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .battle-command__action .battle-controls__waiting[b-e0xllmuqsr],
    .battle-command__action .auto-indicator[b-e0xllmuqsr] {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 44px;
        justify-content: center;
        padding: .35rem;
        border: 1px solid rgba(145, 173, 186, .25);
        border-radius: .6rem;
        background: rgba(8, 21, 32, .45);
        font-size: .64rem;
        white-space: normal;
        text-align: center;
    }

    .battle-mobile-quick-actions[b-e0xllmuqsr] {
        grid-row: 2;
    }

    .battle-command .battle-countdown[b-e0xllmuqsr] {
        grid-row: 3;
    }

    .battle-mobile-quick-actions__tools[b-e0xllmuqsr] {
        grid-template-columns: minmax(0, 1fr) 36px;
        min-width: 98px;
        align-items: stretch;
        gap: .25rem;
    }

    .battle-mobile-quick-actions__tools .quick-skill-toggle[b-e0xllmuqsr] {
        min-width: 0;
        min-height: 42px;
        padding: .2rem .32rem;
        gap: .2rem;
        justify-content: center;
        overflow: hidden;
    }

    .battle-mobile-quick-actions__tools .quick-skill-toggle input[b-e0xllmuqsr] {
        width: .9rem;
        height: .9rem;
        flex: 0 0 .9rem;
    }

    .battle-mobile-quick-actions__tools .quick-skill-toggle strong[b-e0xllmuqsr] {
        overflow: hidden;
        font-size: .56rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .battle-mobile-quick-actions__mode[b-e0xllmuqsr] {
        min-width: 36px;
        min-height: 42px;
        flex-basis: 36px;
    }

    .battle-controls--room-actions[b-e0xllmuqsr] {
        margin-top: .55rem;
        padding: .5rem .65rem;
    }
}

@media (orientation: landscape) and (max-height: 560px) and (max-width: 900px) {
    .battle-command[b-e0xllmuqsr] {
        grid-template-columns: minmax(90px, .9fr) minmax(145px, 1.45fr);
        gap: .3rem .4rem;
        padding: .35rem .45rem;
    }

    .battle-command__heading[b-e0xllmuqsr],
    .battle-command__state[b-e0xllmuqsr] {
        display: none;
    }

    .battle-command__shortcuts[b-e0xllmuqsr] {
        grid-column: 1;
        grid-row: 1;
        justify-content: stretch;
    }

    .battle-command__shortcuts .battle-shortcut[b-e0xllmuqsr] {
        width: 100%;
        min-height: 40px;
        padding-inline: .4rem;
        font-size: .64rem;
    }

    .battle-command__action[b-e0xllmuqsr] {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        flex-direction: row;
        gap: .25rem;
    }

    .battle-command__action .battle-auto[b-e0xllmuqsr] {
        order: -1;
        flex: 0 0 42px;
        width: 42px;
        min-width: 42px;
        min-height: 40px;
        box-sizing: border-box;
        padding: .2rem .15rem;
        font-size: .58rem;
    }

    .battle-command__action .battle-auto input[b-e0xllmuqsr] { width: .8rem; height: .8rem; }
    .battle-command__action .battle-controls__primary[b-e0xllmuqsr] {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        min-height: 40px;
        box-sizing: border-box;
        padding: .3rem .35rem;
        font-size: .64rem;
    }

    .battle-command__action .battle-controls__waiting[b-e0xllmuqsr],
    .battle-command__action .auto-indicator[b-e0xllmuqsr] {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 40px;
        justify-content: center;
        padding: .3rem;
        font-size: .6rem;
        white-space: normal;
    }

    .battle-mobile-quick-actions__tools[b-e0xllmuqsr] {
        grid-template-columns: minmax(0, 1fr) 36px;
        min-width: 98px;
    }

    .battle-command .battle-countdown[b-e0xllmuqsr] { grid-row: 3; }
}

/* Focused battle workspace: field, loadout and turn controls share the first view. */
.battle-page--focused[b-e0xllmuqsr] {
    display: grid;
    grid-template-rows: minmax(210px, 1fr) auto;
    gap: .5rem;
    min-height: min(720px, calc(100svh - 10rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
    padding: 0;
}
.battle-page--focused .battle-page__header[b-e0xllmuqsr] { display: none; }
.battle-page--focused .battle-stage[b-e0xllmuqsr] { display: flex; flex-direction: column; border-radius: .85rem; }
.battle-page--focused .battle-stage__header[b-e0xllmuqsr] { flex: 0 0 auto; padding: .65rem .75rem .45rem; }
.battle-page--focused .battle-stage__header h1[b-e0xllmuqsr] { font-family: inherit; font-size: 1.05rem; letter-spacing: .02em; }
.battle-page--focused .battle-stage__meta .battle-status[b-e0xllmuqsr] { display: inline-flex; }
.battle-page--focused .battle-mode[b-e0xllmuqsr], .battle-page--focused .battle-status[b-e0xllmuqsr] { font-size: .65rem; padding: .23rem .42rem; }
.battle-page--focused .monster-intent[b-e0xllmuqsr] { flex: 0 0 auto; margin: 0 .65rem; width: calc(100% - 1.3rem); padding: .4rem .5rem; min-height: 40px; gap: .4rem; }
.battle-page--focused .monster-intent__body[b-e0xllmuqsr] { display: grid; gap: .1rem; }
.battle-page--focused .monster-intent__body > strong[b-e0xllmuqsr] { font-size: .76rem; line-height: 1.2; }
.battle-page--focused .monster-intent__body > small[b-e0xllmuqsr] { font-size: .625rem; }
.battle-page--focused .monster-intent__target[b-e0xllmuqsr] { max-width: 110px; }
.battle-page--focused .battle-field[b-e0xllmuqsr] {
    --unit-height: clamp(76px, 17svh, 160px);
    min-height: 160px;
    flex: 1 0 auto;
    align-content: center;
    align-items: end;
    padding: .4rem .65rem .6rem;
}
.battle-page--focused .battle-field--crowded[b-e0xllmuqsr] { grid-template-columns: minmax(0, 2fr) minmax(80px, 1fr); }
.battle-page--focused .fighter[b-e0xllmuqsr] { max-width: 110px; }
.battle-page--focused .fighter__portrait[b-e0xllmuqsr], .battle-page--focused .battle-field__enemy-art[b-e0xllmuqsr] { height: var(--unit-height); min-height: 0; }
.battle-page--focused .fighter__portrait img[b-e0xllmuqsr], .battle-page--focused .battle-field__enemy-art img[b-e0xllmuqsr] { height: 100%; max-height: none; }
.battle-page--focused .fighter__vitals strong[b-e0xllmuqsr], .battle-page--focused .enemy-vitals__name strong[b-e0xllmuqsr] { font-size: .7rem; }
.battle-page--focused .fighter__level[b-e0xllmuqsr] { display: none; }
.battle-page--focused .battle-field__label[b-e0xllmuqsr] { min-height: 20px; }
.battle-page--focused .battle-feed[b-e0xllmuqsr] {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .45rem;
    width: 100%;
    min-height: 36px;
    margin: 0;
    padding: .45rem .75rem;
    border: 0;
    border-top: 1px solid rgba(122, 161, 184, .2);
    border-radius: 0;
    background: rgba(5, 17, 27, .42);
}
.battle-page--focused .battle-feed__live[b-e0xllmuqsr] { display: inline; font-size: .64rem; letter-spacing: .02em; }
.battle-page--focused .battle-feed__latest[b-e0xllmuqsr] { font-size: .66rem; }
.battle-page--focused .battle-stage__footer[b-e0xllmuqsr] { display: none; }
.battle-page--focused .battle-command[b-e0xllmuqsr] {
    position: relative;
    inset: auto;
    z-index: 5;
    grid-template-columns: minmax(105px, 1fr) minmax(0, 1.55fr);
    gap: .45rem;
    margin: 0;
    padding: .65rem;
    border-color: #4d6679;
    background: linear-gradient(145deg, #1b3042, #0f202e 80%);
    box-shadow: 0 10px 28px #0004;
    backdrop-filter: none;
}
.battle-page--focused .battle-command[b-e0xllmuqsr]::before { inset: 0 0 auto; width: auto; height: 2px; background: linear-gradient(90deg, #e6b970, #e6b97022); }
.battle-page--focused .battle-mobile-quick-actions[b-e0xllmuqsr] {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .4rem .5rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}
.battle-page--focused .battle-mobile-quick-actions__heading[b-e0xllmuqsr] { grid-column: 1; grid-row: 1; min-height: 40px; gap: .3rem; }
.battle-page--focused .battle-mobile-quick-actions__heading > div:first-child[b-e0xllmuqsr] { gap: .18rem; }
.battle-page--focused .battle-mobile-quick-actions__heading strong[b-e0xllmuqsr] { font-size: .8rem; }
.battle-action-profession[b-e0xllmuqsr] { color: #b2c2ce; font-size: .68rem; font-weight: 500; }
.battle-page--focused .battle-mobile-quick-actions__heading .battle-action-health[b-e0xllmuqsr] { display: block; color: #94baa9; font-size: .62rem; }
.battle-page--focused .battle-mobile-quick-actions--down .battle-action-health[b-e0xllmuqsr] { color: #ef9d93; }
.battle-page--focused .battle-mobile-quick-actions__tools[b-e0xllmuqsr] { display: flex; min-width: 0; }
.battle-page--focused .battle-mobile-quick-actions__tools .quick-skill-toggle[b-e0xllmuqsr] { min-height: 40px; padding: .25rem .35rem; gap: .25rem; border-color: transparent; background: transparent; }
.battle-page--focused .battle-mobile-quick-actions__tools .quick-skill-toggle strong[b-e0xllmuqsr] { font-size: .6rem; }
.battle-loadout-switch[b-e0xllmuqsr] { display: flex; align-self: center; gap: .15rem; padding: .18rem; border: 1px solid #435a6c; border-radius: .6rem; background: #091b28; }
.battle-loadout-switch button[b-e0xllmuqsr] { min-width: 48px; min-height: 36px; padding: .2rem .4rem; border: 0; border-radius: .4rem; background: transparent; color: #9aafbf; font-size: .7rem; font-weight: 700; }
.battle-loadout-switch button.active[b-e0xllmuqsr] { color: #f4d69e; background: #b58a422b; box-shadow: inset 0 0 0 1px #d9ad6044; }
.battle-loadout-switch button:focus-visible[b-e0xllmuqsr] { outline: 2px solid #e8bd72; outline-offset: -2px; }
.battle-page--focused .battle-mobile-quick-actions__characters[b-e0xllmuqsr] { grid-column: 1 / -1; gap: .3rem; padding: 0; }
.battle-page--focused .battle-mobile-quick-actions--solo .battle-mobile-quick-actions__characters[b-e0xllmuqsr] { display: none; }
.battle-page--focused .battle-mobile-character-tab[b-e0xllmuqsr] { flex: 1 0 0; min-width: 0; min-height: 40px; padding: .2rem .3rem; }
.battle-page--focused .battle-mobile-skill-rail[b-e0xllmuqsr] { grid-column:1 / -1; display:grid; grid-template-columns:repeat(6,minmax(44px,1fr)); gap:.4rem; padding:2px; overflow-x:auto; }
.battle-page--focused .battle-mobile-skill[b-e0xllmuqsr] { flex: 1 1 0; width: auto; min-width: 0; min-height: 94px; padding: .35rem .12rem; border-radius: .65rem; }
.battle-page--focused .battle-mobile-skill--empty[b-e0xllmuqsr] { position:relative; align-self:stretch; border:1px dashed #405665; background:#10233166; color:#7c95a5; }
.battle-mobile-skill--empty > span[b-e0xllmuqsr] { position:absolute; top:.35rem; left:.35rem; font-size:.65rem; line-height:1; }
.battle-page--focused .battle-mobile-skill .battle-skill-card__icon[b-e0xllmuqsr] { width: 46px; height: 46px; flex-basis: 46px; }
.battle-page--focused .battle-mobile-skill .battle-skill-card__name[b-e0xllmuqsr] { margin-top: .3rem; font-size: .7rem; }
.battle-page--focused .battle-mobile-skill .battle-skill-card__status[b-e0xllmuqsr] { display: block; margin-top: .12rem; font-size: .56rem; color: #a8bdc8; }
.battle-page--focused .battle-mobile-skill .battle-skill-card__auto[b-e0xllmuqsr] { top: .3rem; right: .2rem; font-size: .45rem; }
.battle-page--focused .battle-mobile-skill--soul[b-e0xllmuqsr] { flex-direction: column; gap: .25rem; }
.battle-mobile-skill__icon img[b-e0xllmuqsr] { width: 100%; height: 100%; padding: 2px; object-fit: contain; image-rendering: pixelated; }
.battle-page--focused .battle-mobile-skill__icon[b-e0xllmuqsr] { position:relative; width:46px; height:46px; font-size:1.4rem; }
.battle-page--focused .battle-mobile-skill--soul strong[b-e0xllmuqsr] { font-size:.7rem; line-height:1.05; }
.battle-page--focused .battle-mobile-skill--soul small[b-e0xllmuqsr] { font-size: .56rem; }
.battle-page--focused .battle-mobile-supply-rail[b-e0xllmuqsr] { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; min-height: 98px; padding: 2px; overflow: visible; }
.battle-page--focused .battle-mobile-supply[b-e0xllmuqsr] { min-width: 0; min-height: 46px; width: auto; padding: .3rem .4rem; }
.battle-page--focused .battle-mobile-supply strong[b-e0xllmuqsr] { font-size: .68rem; }
.battle-page--focused .battle-mobile-supply small[b-e0xllmuqsr] { font-size: .56rem; }
.battle-page--focused .battle-mobile-supply .battle-mobile-supply__details small[b-e0xllmuqsr] { overflow: visible; white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
.battle-page--focused .battle-mobile-quick-actions__hint[b-e0xllmuqsr] { display: flex; grid-column: 1 / -1; min-height: 16px; font-size: .6rem; }
.battle-page--focused .battle-mobile-quick-actions__hint > span[b-e0xllmuqsr] { white-space: normal; }
.battle-page--focused .battle-command .battle-countdown[b-e0xllmuqsr] { display: block; grid-column: 1 / -1; grid-row: 2; padding: .25rem 0 0; border-top: 1px solid #66839833; }
.battle-page--focused .battle-countdown__heading[b-e0xllmuqsr] { margin-bottom: .2rem; font-size: .67rem; }
.battle-page--focused .battle-countdown__heading strong[b-e0xllmuqsr] { font-size: .8rem; font-variant-numeric: tabular-nums; }
.battle-page--focused .battle-countdown__track[b-e0xllmuqsr] { height: 3px; }
.battle-page--focused .battle-command__shortcuts[b-e0xllmuqsr] { grid-column: 1; grid-row: 3; display: flex; gap: .3rem; }
.battle-page--focused .battle-command__shortcuts .battle-shortcut[b-e0xllmuqsr] { flex: 1 1 auto; width: auto; min-height: 44px; gap: .25rem; padding: .25rem .35rem; font-size: .66rem; border-color: #40586b; }
.battle-page--focused .battle-shortcut__count[b-e0xllmuqsr] { display: inline; color: #a4b7c6; font-size: .6rem; }
.battle-page--focused .battle-command__action[b-e0xllmuqsr] { grid-column: 2; grid-row: 3; display: flex; flex-direction: row; gap: .35rem; align-items: stretch; }
.battle-page--focused .battle-command__action .battle-auto[b-e0xllmuqsr] { flex: 0 0 46px; width: 46px; min-width: 46px; min-height: 44px; padding: .2rem; border: 1px solid #456050; border-radius: .5rem; background: #253e3229; }
.battle-page--focused .battle-command__action .battle-auto--locked[b-e0xllmuqsr] { display: none; }
.battle-page--focused .battle-command__action .battle-controls__primary[b-e0xllmuqsr] { min-height: 44px; font-size: .76rem; padding: .4rem; box-shadow: 0 3px 12px #bc873520; }
.battle-page--focused .battle-command__action .battle-controls__waiting[b-e0xllmuqsr],
.battle-page--focused .battle-command__action .auto-indicator[b-e0xllmuqsr] { min-height: 44px; font-size: .68rem; }
.battle-command__message[b-e0xllmuqsr] { grid-column: 1 / -1; grid-row: 4; margin: 0; color: #f2cba2; font-size: .72rem; }
.battle-management-overlay[b-e0xllmuqsr] { position: fixed; z-index: 1400; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: #030b14ed; }
.battle-log-overlay[b-e0xllmuqsr], .battle-management-overlay[b-e0xllmuqsr] { isolation: isolate; contain: layout paint; }
/* The room still polls normally while its covered visual effects stay at rest. */
.battle-page--panel-open .battle-stage *[b-e0xllmuqsr],
.battle-page--panel-open .battle-stage *[b-e0xllmuqsr]::before,
.battle-page--panel-open .battle-stage *[b-e0xllmuqsr]::after,
.battle-page--panel-open .battle-command *[b-e0xllmuqsr],
.battle-page--panel-open .battle-command *[b-e0xllmuqsr]::before,
.battle-page--panel-open .battle-command *[b-e0xllmuqsr]::after { animation-play-state: paused !important; }
.battle-management-dialog[b-e0xllmuqsr] { display: flex; flex-direction: column; width: min(100%, 640px); max-height: calc(92dvh - env(safe-area-inset-top)); overflow: hidden; border: 1px solid #586d80; border-radius: 1rem 1rem 0 0; background: linear-gradient(150deg, #203448, #102231); box-shadow: 0 -20px 60px #0006; }
.battle-management-dialog__header[b-e0xllmuqsr] { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .85rem 1rem; border-bottom: 1px solid #6d849533; }
.battle-management-dialog__header h2[b-e0xllmuqsr] { margin: .15rem 0 0; color: #f0e6d5; font-size: 1.15rem; }
.battle-management-dialog__header h2 small[b-e0xllmuqsr] { color: #a8becb; font-size: .8rem; font-weight: 500; }
.battle-management-dialog__content[b-e0xllmuqsr] { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: .85rem; }
.battle-management-summary[b-e0xllmuqsr] { display: grid; gap: .3rem; padding: .7rem; border: 1px solid #455d6f; border-radius: .65rem; background: #0b1c2980; color: #afc3d0; font-size: .7rem; }
.battle-management-summary strong[b-e0xllmuqsr] { color: #ead2a8; font-size: .85rem; }
.battle-management-summary strong span[b-e0xllmuqsr] { font-size: .7rem; color: #a9bdca; }
.battle-management-dialog .formation-panel__progress-note[b-e0xllmuqsr] { margin: .7rem 0; padding: 0; font-size: .7rem; }
.battle-management-dialog .slot-grid[b-e0xllmuqsr] { grid-template-columns: 1fr; padding: 0; gap: .65rem; }
.battle-management-dialog__footer[b-e0xllmuqsr] { flex: 0 0 auto; padding-bottom: env(safe-area-inset-bottom); }
.battle-management-dialog .battle-controls--room-actions[b-e0xllmuqsr] { margin: 0; padding: .75rem .85rem; border: 0; border-top: 1px solid #6d849533; border-radius: 0; background: #0d1f2e; box-shadow: none; }
.battle-management-dialog .battle-controls__tools[b-e0xllmuqsr] { display: flex; flex-wrap: wrap; gap: .5rem; }
.battle-management-dialog .battle-controls__tools .button[b-e0xllmuqsr] { flex: 1; min-height: 44px; }

@container game-shell (max-width: 380px) {
    .battle-page--focused .battle-command[b-e0xllmuqsr] { padding: .5rem; gap: .35rem; }
    .battle-page--focused .battle-stage__header[b-e0xllmuqsr] { gap: .3rem; padding-inline: .6rem; }
    .battle-page--focused .battle-stage__header h1[b-e0xllmuqsr] { font-size: .94rem; }
    .battle-page--focused .battle-mobile-quick-actions[b-e0xllmuqsr] { column-gap: .3rem; }
    .battle-page--focused .battle-mobile-quick-actions__heading strong[b-e0xllmuqsr] { font-size: .73rem; }
    .battle-page--focused .battle-action-profession[b-e0xllmuqsr] { display: none; }
    .battle-page--focused .battle-mobile-quick-actions__tools .quick-skill-toggle[b-e0xllmuqsr] { padding-inline: .1rem; }
    .battle-loadout-switch button[b-e0xllmuqsr] { min-width: 44px; padding-inline: .25rem; }
    .battle-page--focused .battle-mobile-skill-rail[b-e0xllmuqsr] { gap: .25rem; }
    .battle-page--focused .battle-mobile-skill .battle-skill-card__icon[b-e0xllmuqsr] { width: 40px; height: 40px; flex-basis: 40px; }
    .battle-page--focused .battle-command__shortcuts .battle-shortcut > span[aria-hidden][b-e0xllmuqsr] { display: none; }
    .battle-page--focused .battle-mobile-character-tab[b-e0xllmuqsr] { grid-template-columns: minmax(0, 1fr); text-align: center; }
    .battle-page--focused .battle-mobile-character-tab > span[b-e0xllmuqsr] { display: none; }
}

@media (max-height: 740px) {
    .battle-page--focused[b-e0xllmuqsr] { grid-template-rows: minmax(180px, 1fr) auto; min-height: calc(100svh - 9.3rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)); gap: .4rem; }
    .battle-page--focused .battle-stage__header[b-e0xllmuqsr] { padding-block: .4rem; }
    .battle-page--focused .battle-field__label[b-e0xllmuqsr] { display: none; }
    .battle-page--focused .battle-field[b-e0xllmuqsr] { --unit-height: 64px; min-height: 108px; padding-block: .25rem; }
    .battle-page--focused .combat-readout[b-e0xllmuqsr] { min-height: 24px; margin-top: .15rem; padding-block: .12rem; }
    .battle-page--focused .monster-intent[b-e0xllmuqsr] { min-height: 36px; padding-block: .3rem; }
    .battle-page--focused .monster-intent__body[b-e0xllmuqsr] { display: flex; }
    .battle-page--focused .battle-feed[b-e0xllmuqsr] { min-height: 32px; padding-block: .3rem; }
    .battle-page--focused .battle-command[b-e0xllmuqsr] { padding-block: .45rem; gap: .3rem; }
    .battle-page--focused .battle-mobile-quick-actions[b-e0xllmuqsr] { row-gap: .25rem; }
    .battle-page--focused .battle-mobile-skill[b-e0xllmuqsr] { min-height: 80px; padding-block: .2rem; }
    .battle-page--focused .battle-mobile-skill .battle-skill-card__icon[b-e0xllmuqsr] { width: 38px; height: 38px; flex-basis: 38px; }
    .battle-page--focused .battle-mobile-skill__icon[b-e0xllmuqsr] { width: 38px; height: 38px; }
    .battle-page--focused .battle-mobile-supply-rail[b-e0xllmuqsr] { min-height: 84px; }
    .battle-page--focused .battle-mobile-supply[b-e0xllmuqsr] { min-height: 40px; }
    .battle-page--focused .battle-mobile-skill .battle-skill-card__name[b-e0xllmuqsr] { margin-top: .18rem; }
}

@media (max-height: 620px) {
    .battle-page--focused[b-e0xllmuqsr] { grid-template-rows: minmax(160px, 1fr) auto; }
    .battle-page--focused .battle-field[b-e0xllmuqsr] { --unit-height: 48px; min-height: 84px; padding-block: .2rem; }
    .battle-page--focused .battle-stage__header[b-e0xllmuqsr] { padding-block: .3rem; }
    .battle-page--focused .battle-mobile-quick-actions__hint:not(.battle-mobile-quick-actions__hint--feedback)[b-e0xllmuqsr] { display: none; }
    .battle-page--focused .battle-mobile-character-tab[b-e0xllmuqsr] { min-height: 34px; }
    .battle-page--focused .battle-mobile-skill[b-e0xllmuqsr] { min-height: 72px; }
    .battle-page--focused .battle-mobile-skill .battle-skill-card__icon[b-e0xllmuqsr] { width: 32px; height: 32px; flex-basis: 32px; }
    .battle-page--focused .battle-mobile-skill__icon[b-e0xllmuqsr] { width: 32px; height: 32px; }
    .battle-page--focused .battle-mobile-supply-rail[b-e0xllmuqsr] { min-height: 76px; }
    .battle-page--focused .battle-countdown__heading[b-e0xllmuqsr] { line-height: 1.1; }
}
.room-visibility-control[b-e0xllmuqsr] { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .6rem; padding: .6rem .7rem; border: 1px solid #4b6576; border-radius: .65rem; background: #132a3b; }
.room-visibility-control > div[b-e0xllmuqsr] { display: grid; gap: .15rem; min-width: 0; }
.room-visibility-control strong[b-e0xllmuqsr] { color: #eddbb8; font-size: .8rem; }
.room-visibility-control small[b-e0xllmuqsr] { color: #9bb4c3; font-size: .63rem; }
.room-visibility-switch[b-e0xllmuqsr] { flex: 0 0 auto; display: flex; align-items: center; gap: .4rem; min-height: 44px; padding: .35rem .5rem; border: 1px solid #546b7d; border-radius: .55rem; background: #0e2030; color: #aabcc8; font-size: .67rem; }
.room-visibility-switch i[b-e0xllmuqsr] { display: block; position: relative; width: 30px; height: 18px; border-radius: 99px; background: #405767; }
.room-visibility-switch i[b-e0xllmuqsr]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: #d9e3e9; transition: transform .15s; }
.room-visibility-switch.is-public[b-e0xllmuqsr] { border-color: #c4a061; color: #edcf92; background: #9d794021; }
.room-visibility-switch.is-public i[b-e0xllmuqsr] { background: #a17d41; }
.room-visibility-switch.is-public i[b-e0xllmuqsr]::after { transform: translateX(12px); background: #fff0c7; }
.room-visibility-error[b-e0xllmuqsr] { margin: 0 0 .5rem; color: #efb49f; font-size: .7rem; }

.monster-intent.monster-intent--victory[b-e0xllmuqsr] { border-color: #bea26977; background: linear-gradient(100deg, #8e692830, #172d33); box-shadow: inset 3px 0 0 #d9b779; }
.monster-intent--victory .monster-intent__icon[b-e0xllmuqsr] { background: #e7c178; color: #423318; }
.monster-intent--victory .monster-intent__body > strong[b-e0xllmuqsr],
.monster-intent--victory .monster-intent__target strong[b-e0xllmuqsr] { color: #f6dba8; }

.battle-page--focused .battle-supplies-panel[b-e0xllmuqsr] { grid-column: 1 / -1; min-width: 0; width: 100%; }

.monster-intent__effects[b-e0xllmuqsr] { grid-column: 1 / -1; min-width: 0; }
.monster-intent__effects summary[b-e0xllmuqsr] { cursor: pointer; color: #e6c48e; font-size: .68rem; }
.monster-intent__effects small[b-e0xllmuqsr] {
    display: block; margin: .35rem 0 .15rem; color: #c7d6e2;
    font-size: .7rem; line-height: 1.5; overflow-wrap: anywhere;
}
.formation-admission-overlay[b-e0xllmuqsr] { position:fixed; inset:0; z-index:1500; background:#000a; display:grid; place-items:center; padding:16px; } .formation-admission-dialog[b-e0xllmuqsr] { width:min(620px,100%); max-height:90vh; overflow:auto; background:#172331; color:#eef3fa; border:1px solid #43546c; border-radius:16px; padding:24px; }

/* Keep the battle and thumb controls compact; explanations expand in place. */
.battle-page--focused[b-e0xllmuqsr] {
    display: flex;
    flex-direction: column;
}

.battle-page--focused .battle-stage[b-e0xllmuqsr] { flex: 1 0 auto; }
.battle-page--focused .battle-stage__header > div:first-child[b-e0xllmuqsr] { min-width: 0; }
.battle-page--focused .battle-stage__header h1[b-e0xllmuqsr] { overflow-wrap: anywhere; }
.battle-depth[b-e0xllmuqsr] { color: #dfbc7d; font-size: .7rem; white-space: nowrap; }
.battle-challenge-title[b-e0xllmuqsr] { display:flex; align-items:center; flex-wrap:wrap; gap:.4rem .7rem; }
.battle-challenge-change[b-e0xllmuqsr] { flex:0 0 auto; min-height:36px; padding:.4rem .6rem; border:1px solid #b8986555; border-radius:8px; color:#e5c68d; background:#203346; font-size:.72rem; line-height:1.3; }
.battle-challenge-change:disabled[b-e0xllmuqsr] { opacity:.5; }
.battle-challenge-change:focus-visible[b-e0xllmuqsr] { outline:2px solid #e4c28a; outline-offset:3px; }
.battle-page--focused .battle-stage__meta[b-e0xllmuqsr] { flex: 0 0 auto; gap: .25rem; }

.battle-page--focused .monster-intent--interactive[b-e0xllmuqsr] {
    display: block;
    padding: 0;
}

.monster-intent__summary[b-e0xllmuqsr] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .4rem;
    width: 100%;
    min-height: 48px;
    padding: .35rem .5rem;
    border: 0;
    border-radius: inherit;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.monster-intent__summary:focus-visible[b-e0xllmuqsr],
.battle-management-details summary:focus-visible[b-e0xllmuqsr] {
    outline: 2px solid #e3ba72;
    outline-offset: -2px;
    border-radius: .4rem;
}

.battle-page--focused .monster-intent__summary .monster-intent__body[b-e0xllmuqsr] {
    display: grid;
    gap: .12rem;
}

.battle-page--focused .monster-intent__body .monster-intent__danger[b-e0xllmuqsr] {
    display: block;
    font-size: .65rem;
    line-height: 1.1;
    letter-spacing: 0;
}

.battle-page--focused .monster-intent__summary .monster-intent__target[b-e0xllmuqsr] {
    display: grid;
    gap: .12rem;
    grid-column: auto;
    text-align: right;
}

.battle-page--focused .monster-intent__summary .monster-intent__target strong[b-e0xllmuqsr] {
    max-width: 112px;
    font-size: .72rem;
}

.monster-intent__chevron[b-e0xllmuqsr] { color: #e8c89d; }
.battle-page[b-e0xllmuqsr]  .monster-intent-dialog {
    inset: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 32px);
    margin: auto; padding: 0; overflow: hidden; border: 1px solid #607488; border-top-color: #b6a07a;
    border-radius: 18px; background: linear-gradient(145deg, #1b2d3f, #102031 70%); box-shadow: 0 24px 90px #0009;
}
.battle-page[b-e0xllmuqsr]  .monster-intent-dialog[open] { display: flex; flex-direction: column; }

.battle-page--focused .battle-feed[b-e0xllmuqsr] { min-height: 44px; }
.battle-page--focused .battle-mobile-quick-actions__heading[b-e0xllmuqsr] { min-height: 44px; }
.battle-page--focused .battle-mobile-quick-actions__tools .quick-skill-toggle[b-e0xllmuqsr] { min-height: 44px; }
.battle-loadout-switch[b-e0xllmuqsr] { padding: .1rem; }
.battle-loadout-switch button[b-e0xllmuqsr] { min-height: 44px; font-size: .75rem; }
.battle-page--focused .battle-mobile-character-tab[b-e0xllmuqsr] { min-height: 44px; }
.battle-page--focused .battle-mobile-character-tab strong[b-e0xllmuqsr] { font-size: .75rem; }
.battle-page--focused .battle-mobile-character-tab small[b-e0xllmuqsr] { font-size: .65rem; }
.battle-page--focused .battle-mobile-skill .battle-skill-card__name[b-e0xllmuqsr] { font-size: .75rem; }
.battle-page--focused .battle-mobile-skill .battle-skill-card__status[b-e0xllmuqsr],
.battle-page--focused .battle-mobile-skill--soul small[b-e0xllmuqsr] { font-size: .65rem; }

.battle-page--focused .battle-command[b-e0xllmuqsr] {
    flex: 0 0 auto;
    grid-template-columns: minmax(0, 1fr);
}

.battle-page--focused .battle-command__shortcuts[b-e0xllmuqsr] {
    grid-column: 1;
    grid-row: 3;
    align-items: center;
    gap: .4rem;
}

.battle-command__queue[b-e0xllmuqsr] { flex: 1; min-width: 0; color: #b4c6cf; font-size: .72rem; }
.battle-page--focused .battle-command__shortcuts .battle-shortcut[b-e0xllmuqsr] { flex: 0 0 auto; padding: .35rem .65rem; font-size: .75rem; }
.battle-page--focused .battle-command__action[b-e0xllmuqsr] { grid-column: 1; grid-row: 4; }
.battle-page--focused .battle-command__action .battle-controls__primary[b-e0xllmuqsr] { min-height: 48px; font-size: .9rem; }
.battle-page--focused .battle-command__action .battle-controls__waiting[b-e0xllmuqsr],
.battle-page--focused .battle-command__action .auto-indicator[b-e0xllmuqsr] { min-height: 48px; font-size: .8rem; }
.battle-page--focused .battle-command__action .battle-auto[b-e0xllmuqsr] { flex-basis: 70px; width: 70px; min-height: 48px; }
.battle-page--focused .battle-command__action .battle-auto input[b-e0xllmuqsr] { width: 1rem; height: 1rem; }
.battle-page--focused .battle-command__message[b-e0xllmuqsr] { grid-row: 5; }

.battle-management-details[b-e0xllmuqsr] { margin-top: .65rem; border: 1px solid #455d6f; border-radius: .65rem; padding: 0 .65rem; color: #b9cbd6; font-size: .78rem; }
.battle-management-details > summary[b-e0xllmuqsr] { min-height: 44px; align-content: center; color: #e5c68e; cursor: pointer; }
.battle-management-details[open][b-e0xllmuqsr] { padding-bottom: .65rem; }
.battle-management-details > label[b-e0xllmuqsr] { display: flex; align-items: center; gap: .5rem; min-height: 44px; }
.battle-management-details .coop-drop-bonus[b-e0xllmuqsr],
.battle-management-details .damage-variance[b-e0xllmuqsr] { max-width: none; font-size: .75rem; }
.battle-management-details .coop-drop-bonus summary[b-e0xllmuqsr],
.battle-management-details .damage-variance summary[b-e0xllmuqsr] { min-height: 44px; align-content: center; }
.battle-management-details .coop-drop-bonus__scope[b-e0xllmuqsr],
.battle-management-details .damage-variance__scope[b-e0xllmuqsr] { position: static; width: 100%; margin-top: .25rem; box-shadow: none; }
.battle-log-dialog__close[b-e0xllmuqsr], .status-dialog__close[b-e0xllmuqsr], .skill-dialog__close[b-e0xllmuqsr] { min-width: 44px; min-height: 44px; }

@container game-shell (max-width: 420px) {
    .battle-page--focused .battle-stage__meta[b-e0xllmuqsr] { flex-direction: column; align-items: flex-end; }
    .battle-page--focused .battle-action-profession[b-e0xllmuqsr] { display: none; }
    .battle-page--focused .battle-mobile-quick-actions__tools .quick-skill-toggle[b-e0xllmuqsr] { flex-direction: column; justify-content: center; gap: .15rem; }
    .battle-page--focused .battle-mobile-quick-actions__tools .quick-skill-toggle strong[b-e0xllmuqsr] { font-size: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
    .monster-intent__chevron[b-e0xllmuqsr] { transition: none; }
}

/* Compact baseline; active encounters use the remaining shell height below. */
.battle-page--focused[b-e0xllmuqsr] { min-height: 0; }
.battle-page--focused .battle-stage[b-e0xllmuqsr] { flex: 0 0 auto; }
.battle-page--focused .battle-stage__header[b-e0xllmuqsr] { min-height: 44px; padding-block: .35rem; }
.battle-page--focused .battle-stage__meta[b-e0xllmuqsr] { flex-direction: row; align-items: center; }
.battle-page--focused .battle-stage__header h1[b-e0xllmuqsr] { margin-top: 0; }
.battle-page--focused .battle-field[b-e0xllmuqsr] {
    --unit-height: clamp(68px, calc(35svh - 200px), 112px);
    flex: 0 0 auto;
    min-height: 0;
    padding-block: .15rem .45rem;
}
.battle-page--focused .enemy-vitals[b-e0xllmuqsr] { display: flex; flex-direction: column; justify-content: center; min-height: 44px; max-width: none; }
.battle-page--focused .combat-readout--timeline[b-e0xllmuqsr] {
    position: relative;
    z-index: 4;
    gap: .35rem;
    min-height: 44px;
    margin-block: 0;
    padding-block: 0;
    border: 0;
    border-bottom: 1px solid #c8a56820;
    text-align: left;
}
.combat-readout--timeline .combat-readout__round[b-e0xllmuqsr] { display: grid; gap: 1px; width: 40px; text-align: center; font-size: .5rem; }
.combat-readout--timeline .combat-readout__round b[b-e0xllmuqsr] { margin: 0; font-size: .86rem; }
.combat-readout__queue[b-e0xllmuqsr], .combat-readout__feedback[b-e0xllmuqsr] { flex: 1; min-width: 0; }
.combat-readout__feedback[b-e0xllmuqsr] { display: flex; align-items: center; gap: .4rem; }
.combat-readout__queue[hidden][b-e0xllmuqsr], .combat-readout__feedback[hidden][b-e0xllmuqsr] { display: none; }
/* Short battle fields must not clip a detail card opened from the readout. */
.battle-page--focused[b-e0xllmuqsr]  .battle-stage:has(.action-queue__detail) { overflow: visible; z-index: 6; }
.combat-readout__log[b-e0xllmuqsr] {
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 40px;
    padding: 0 .2rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #e5c68e;
    font-size: .7rem;
    white-space: nowrap;
    cursor: pointer;
}
.combat-readout__log:hover[b-e0xllmuqsr] { background: #c8a56812; }
.combat-readout__log:focus-visible[b-e0xllmuqsr] { outline: 2px solid #e3ba72; outline-offset: -2px; }
.battle-page--focused .battle-mobile-skill[b-e0xllmuqsr] { min-height:64px; padding-block:.2rem; }
.battle-page--focused .battle-mobile-skill .battle-skill-card__icon[b-e0xllmuqsr],
.battle-page--focused .battle-mobile-skill__icon[b-e0xllmuqsr] { width: 38px; height: 38px; flex-basis: 38px; }
.battle-page--focused .battle-mobile-skill .battle-skill-card__name[b-e0xllmuqsr] { margin-top: .2rem; }
@container game-shell (max-width:340px) {
    .battle-page--focused .battle-mobile-skill-rail[b-e0xllmuqsr] { gap:2px; }
}

@media (max-height: 740px) {
    .battle-page--focused[b-e0xllmuqsr] { min-height: 0; }
    .battle-page--focused .battle-field[b-e0xllmuqsr] { --unit-height: 48px; min-height: 0; }
    .battle-page--focused .battle-command[b-e0xllmuqsr] { grid-template-columns: auto minmax(0, 1fr); gap: .3rem; }
    .battle-page--focused .battle-command__queue[b-e0xllmuqsr] { display: none; }
    .battle-page--focused .battle-command__shortcuts[b-e0xllmuqsr] { grid-column: 1; grid-row: 3; gap: .25rem; }
    .battle-page--focused .battle-command__shortcuts .battle-shortcut[b-e0xllmuqsr] { min-width: 44px; min-height: 48px; padding-inline: .35rem; }
    .battle-page--focused .battle-shortcut__count[b-e0xllmuqsr] { display: none; }
    .battle-page--focused .battle-command__action[b-e0xllmuqsr] { grid-column: 2; grid-row: 3; gap: .25rem; }
    .battle-page--focused .battle-command__action .battle-auto[b-e0xllmuqsr] { flex-basis: 44px; width: 44px; min-width: 44px; }
    .battle-page--focused .battle-command__action .battle-controls__primary[b-e0xllmuqsr] { padding-inline: .3rem; font-size: .85rem; }
    .battle-page--focused .battle-command__message[b-e0xllmuqsr] { grid-row: 4; }
}

/* Secondary battle panels use one scroll area below a stable header. */
.battle-log-overlay[b-e0xllmuqsr], .battle-management-overlay[b-e0xllmuqsr] {
    padding: max(.75rem, env(safe-area-inset-top)) 0 0;
    align-items: end;
    place-items: end center;
    overflow: hidden;
}
.battle-log-dialog[b-e0xllmuqsr],
.battle-reward-overlay .battle-reward-dialog[b-e0xllmuqsr],
.battle-management-dialog[b-e0xllmuqsr] {
    width: min(100%, 640px);
    max-height: min(820px, calc(100dvh - max(.75rem, env(safe-area-inset-top))));
    border-width: 1px 0 0;
    border-radius: 1rem 1rem 0 0;
    padding-bottom: env(safe-area-inset-bottom);
}
.battle-log-dialog__header[b-e0xllmuqsr], .battle-management-dialog__header[b-e0xllmuqsr] {
    flex: 0 0 auto;
    align-items: center;
    gap: .65rem;
    padding: .65rem .85rem;
}
.battle-log-dialog__header h2[b-e0xllmuqsr], .battle-management-dialog__header h2[b-e0xllmuqsr] { margin: 0; font: 700 1.1rem system-ui, sans-serif; }
.battle-log-dialog__header h2 small[b-e0xllmuqsr] { color: #a8becb; font-size: .75rem; font-weight: 500; }
.battle-log-dialog__header p[b-e0xllmuqsr] { margin-top: .2rem; font-size: .75rem; }
.battle-log-dialog__content[b-e0xllmuqsr], .battle-management-dialog__content[b-e0xllmuqsr] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding: .65rem .85rem .85rem;
    scroll-padding-block: .5rem;
}
.battle-log-dialog__content li[b-e0xllmuqsr] { padding: .55rem .15rem; font-size: .85rem; line-height: 1.6; }
.battle-management-summary[b-e0xllmuqsr] { gap: .2rem; margin-bottom: .65rem; padding: .55rem .65rem; font-size: .75rem; }
.battle-management-dialog .party-slot[b-e0xllmuqsr] { min-height: 0; padding: .65rem; }
.battle-management-dialog .party-slot__identity h3[b-e0xllmuqsr] { margin-bottom: .12rem; font-size: .95rem; overflow-wrap: anywhere; }
.battle-management-dialog .party-slot__identity span[b-e0xllmuqsr] { font-size: .72rem; }
.battle-management-dialog .party-slot__hp[b-e0xllmuqsr] { margin-top: .35rem; font-size: .75rem; }
.battle-management-dialog .health-bar[b-e0xllmuqsr] { display: block; margin-block: .3rem; height: .35rem; }
.battle-management-dialog .party-slot__badges[b-e0xllmuqsr] { margin-top: .25rem; }
.party-slot__details[b-e0xllmuqsr] { margin-top: .25rem; border-top: 1px solid #43596a66; }
.party-slot__details > summary[b-e0xllmuqsr] { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: #dcc08c; font-size: .78rem; cursor: pointer; list-style: none; }
.party-slot__details > summary[b-e0xllmuqsr]::after { content: "⌄"; }
.party-slot__details[open] > summary[b-e0xllmuqsr]::after { content: "⌃"; }
.party-slot__details > summary[b-e0xllmuqsr]::-webkit-details-marker { display: none; }
.party-slot__details p[b-e0xllmuqsr] { margin: .25rem 0 .55rem; color: #acbfcd; font-size: .75rem; line-height: 1.5; }
.party-slot__details summary:focus-visible[b-e0xllmuqsr] { outline: 2px solid #e3ba72; outline-offset: 2px; border-radius: .3rem; }
.battle-management-dialog .slot-management[b-e0xllmuqsr] { margin-top: .35rem; gap: .4rem; }
.battle-management-dialog .slot-management select[b-e0xllmuqsr], .battle-management-dialog .slot-management .button[b-e0xllmuqsr] { min-height: 44px; }
.battle-management-dialog .slot-management .button[b-e0xllmuqsr] { flex: 1; }
.battle-management-dialog__footer[b-e0xllmuqsr] { flex: 0 0 auto; padding-bottom: 0; }
.battle-management-dialog .battle-controls--room-actions[b-e0xllmuqsr] { padding: .65rem .85rem; }
.battle-management-details p[b-e0xllmuqsr] { font-size: .78rem; line-height: 1.6; }
.battle-management-details .room-visibility-control[b-e0xllmuqsr] { padding-inline: 0; border: 0; margin-bottom: 0; }
@media (pointer: coarse) {
    .battle-management-dialog select[b-e0xllmuqsr] { font-size: 16px; }
}

.skill-dialog__cooldown[b-e0xllmuqsr] { margin: 0; color: #d2bd92; font-size: .85rem; line-height: 1.5; }
.skill-dialog__effects[b-e0xllmuqsr] { border-block: 1px solid #48627680; }
.skill-dialog__effects > summary[b-e0xllmuqsr] { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: #dcc08c; font-size: .85rem; cursor: pointer; }
.skill-dialog__effects > summary span[b-e0xllmuqsr] { color: #a4b7c4; font-size: .75rem; }
.skill-dialog__effects > summary[b-e0xllmuqsr]::after { content: "⌄"; }
.skill-dialog__effects[open] > summary[b-e0xllmuqsr]::after { content: "⌃"; }
.skill-dialog__effects > summary[b-e0xllmuqsr]::-webkit-details-marker { display: none; }
.skill-dialog__effects > summary:focus-visible[b-e0xllmuqsr] { outline: 2px solid #e3ba72; outline-offset: 2px; }
.skill-dialog__effects .skill-dialog__facts[b-e0xllmuqsr] { grid-template-columns: 1fr; margin-bottom: .5rem; }
.skill-dialog__effects .skill-dialog__facts span[b-e0xllmuqsr] { min-height: 0; font-size: .8rem; line-height: 1.5; }
.skill-dialog__automation[b-e0xllmuqsr] { padding: .6rem; }
.skill-dialog__automation-heading strong[b-e0xllmuqsr] { font-size: .85rem; }
.skill-dialog__automation-heading small[b-e0xllmuqsr] { font-size: .75rem; line-height: 1.5; }

.room-confirm-overlay[b-e0xllmuqsr] { position: fixed; inset: 0; z-index: 1400; display: grid; place-items: center; padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom)); background: #020a13cc; backdrop-filter: blur(4px); }
.room-confirm-dialog[b-e0xllmuqsr] { width: min(100%, 420px); max-height: calc(100dvh - 2rem); overflow-y: auto; padding: 1rem; border: 1px solid #7c7667; border-radius: 1rem; background: linear-gradient(145deg, #23394b, #102130); box-shadow: 0 16px 60px #0008; }
.room-confirm-dialog h2[b-e0xllmuqsr] { margin: 0; color: #f0dfc2; font-size: 1.1rem; }
.room-confirm-dialog p[b-e0xllmuqsr] { margin: .75rem 0 1rem; color: #c6d2dc; font-size: .9rem; line-height: 1.65; }
.room-confirm-dialog__actions[b-e0xllmuqsr] { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.room-confirm-dialog__actions .button[b-e0xllmuqsr] { min-height: 44px; }

/* Keep the header and decision visible while expanded skill effects scroll. */
.skill-dialog[b-e0xllmuqsr] { display: flex; flex-direction: column; overflow: hidden; }
.skill-dialog__header[b-e0xllmuqsr], .skill-dialog__footer[b-e0xllmuqsr] { flex: 0 0 auto; }
.skill-dialog__content[b-e0xllmuqsr] { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; align-content: start; }
.skill-dialog__footer[b-e0xllmuqsr] { position: static; }
.skill-dialog__footer .button[b-e0xllmuqsr] { min-height: 44px; }
.skill-dialog__automation .switch-control[b-e0xllmuqsr] { min-height: 44px; }
.skill-dialog__automation .switch-control span[b-e0xllmuqsr] { top: 8px; bottom: 8px; }
.status-dialog[b-e0xllmuqsr] { display: flex; flex-direction: column; }
.status-dialog__header[b-e0xllmuqsr] { flex: 0 0 auto; }
.status-dialog__content[b-e0xllmuqsr] { flex: 1 1 auto; min-height: 0; max-height: none; overscroll-behavior: contain; }
@media (max-width: 360px) {
    .battle-page--focused .battle-field--crowded[b-e0xllmuqsr] { grid-template-columns: minmax(220px, 1fr) minmax(0, 54px); gap: .25rem; padding-inline: .3rem; }
    .battle-page--focused .fighter-line[b-e0xllmuqsr] { gap: 0; }
    .battle-page--focused .fighter[b-e0xllmuqsr] { min-width: 44px; }
}

/* Slot numbers remain distinguishable when long character names share a prefix. */
.battle-page--focused .battle-mobile-character-tab[b-e0xllmuqsr] { grid-template-columns: .9rem minmax(0, 1fr); column-gap: .15rem; }
.battle-page--focused .battle-mobile-character-tab > span[b-e0xllmuqsr] { display: grid; grid-column: 1; grid-row: 1; width: .9rem; height: .9rem; font-size: .65rem; align-self: center; }
.battle-page--focused .battle-mobile-character-tab > strong[b-e0xllmuqsr] { grid-column: 2; grid-row: 1; }
.battle-page--focused .battle-mobile-character-tab > small[b-e0xllmuqsr] { grid-column: 1 / -1; grid-row: 2; text-align: center; }
.battle-mobile-character-tab:focus-visible[b-e0xllmuqsr] { outline: 2px solid #eed08e; outline-offset: -2px; }

/* Unbroken account names must not set the intrinsic width of the party grid. */
.battle-management-dialog .slot-grid[b-e0xllmuqsr] { grid-template-columns: minmax(0, 1fr); }
.battle-management-dialog .party-slot[b-e0xllmuqsr], .party-slot__identity[b-e0xllmuqsr] { min-width: 0; }
.party-slot__identity span[b-e0xllmuqsr] { display: block; overflow-wrap: anywhere; }
.party-slot__details[b-e0xllmuqsr], .slot-management[b-e0xllmuqsr] { min-width: 0; }

/* Team overview keeps all five positions compact; changes live in a focused subview. */
.management-heading[b-e0xllmuqsr] { flex: 1; min-width: 0; }
.management-tabs[b-e0xllmuqsr] { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; flex: none; padding: .3rem .85rem .55rem; border-bottom: 1px solid #6d849533; }
.management-tabs button[b-e0xllmuqsr] { min-height: 44px; border: 1px solid transparent; border-radius: .6rem; background: #0d202e80; color: #a6bdcb; font-size: .85rem; }
.management-tabs button[aria-pressed="true"][b-e0xllmuqsr] { color: #f4d596; border-color: #aa8b54; background: #ddba6b1c; font-weight: 700; }
.management-roster-heading[b-e0xllmuqsr] { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .65rem; }
.management-roster-heading strong[b-e0xllmuqsr] { min-width: 0; font-size: .82rem; color: #ead2a8; overflow-wrap: anywhere; }
.management-roster-heading small[b-e0xllmuqsr] { flex: none; font-size: .68rem; color: #9fb7c7; }
.management-roster[b-e0xllmuqsr] { display: grid; gap: .45rem; }
.management-slot[b-e0xllmuqsr] { width: 100%; min-width: 0; display: grid; grid-template-columns: 14px 42px minmax(0, 1fr) auto; align-items: center; gap: .4rem; padding: .55rem .6rem; border: 1px solid #476172; border-radius: .7rem; background: #0d202e; color: #dce5ee; text-align: left; }
.management-slot:hover:not(:disabled)[b-e0xllmuqsr] { border-color: #dcb971; background: #1a3141; }
.management-slot__number[b-e0xllmuqsr] { color: #dab775; font-weight: 700; font-size: .8rem; text-align: center; }
.management-slot__portrait[b-e0xllmuqsr] { width: 42px; height: 52px; overflow: hidden; border-radius: .4rem; background: radial-gradient(ellipse, #46607666, transparent); }
.management-slot__portrait img[b-e0xllmuqsr] { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.management-slot__body[b-e0xllmuqsr] { display: grid; min-width: 0; gap: .25rem; }
.management-slot__name[b-e0xllmuqsr] { display: grid; gap: .08rem; min-width: 0; }
.management-slot__name strong[b-e0xllmuqsr] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; }
.management-slot__name small[b-e0xllmuqsr] { font-size: .65rem; color: #a6bece; }
.management-slot__formation[b-e0xllmuqsr] { color: #cbb88f; font-size: .68rem; overflow-wrap: anywhere; }
.management-slot__formation b[b-e0xllmuqsr] { margin-left: .35rem; color: #edc370; font-size: .62rem; font-weight: 500; }
.management-slot__player[b-e0xllmuqsr] { color: #8faabc; font-size: .62rem; overflow-wrap: anywhere; }
.management-slot__state[b-e0xllmuqsr] { display: grid; justify-items: end; gap: .2rem; font-size: .65rem; color: #c5b48f; }
.management-slot__state > span[b-e0xllmuqsr] { font-size: 1.15rem; color: #8aa3b5; line-height: 1; }
.management-slot__state.is-ready[b-e0xllmuqsr] { color: #88d9b1; }
.management-slot__state.is-defeated[b-e0xllmuqsr] { color: #eb9c90; }
.management-slot--empty[b-e0xllmuqsr] { min-height: 44px; grid-template-columns: 14px minmax(0, 1fr) auto; border-style: dashed; background: #0b1b264d; }
.management-slot__empty-label[b-e0xllmuqsr] { color: #cfbc95; font-size: .82rem; }
.management-slot__vacancy[b-e0xllmuqsr] { color: #829cae; font-size: .65rem; }
.management-member[b-e0xllmuqsr] { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; }
.management-member > img[b-e0xllmuqsr] { width: 60px; height: 76px; object-fit: contain; image-rendering: pixelated; }
.management-member > div[b-e0xllmuqsr] { min-width: 0; }
.management-member h3[b-e0xllmuqsr] { margin: 0; color: #f0dfba; font-size: 1rem; overflow-wrap: anywhere; }
.management-member p[b-e0xllmuqsr], .management-note[b-e0xllmuqsr] { margin: .3rem 0; color: #a6bfce; font-size: .75rem; line-height: 1.6; overflow-wrap: anywhere; }
.management-state[b-e0xllmuqsr] { font-size: .7rem; color: #d9c398; }
.management-member-facts[b-e0xllmuqsr] { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; margin-bottom: .6rem; }
.management-member-facts > div[b-e0xllmuqsr] { display: grid; gap: .25rem; padding: .55rem; border: 1px solid #466074; border-radius: .55rem; }
.management-member-facts span[b-e0xllmuqsr] { color: #a6bfce; font-size: .7rem; }
.management-member-facts strong[b-e0xllmuqsr] { font-size: .8rem; overflow-wrap: anywhere; }
.management-member-facts progress[b-e0xllmuqsr] { width: 100%; height: 4px; margin: .15rem 0; accent-color: #d6b371; }
.management-section-title[b-e0xllmuqsr] { margin: 1rem 0 .45rem; color: #ead2a8; font-size: .85rem; }
.management-note--timing[b-e0xllmuqsr] { color: #e6c388; margin-bottom: .65rem; }
.management-candidates[b-e0xllmuqsr] { display: grid; gap: .45rem; }
.management-candidate[b-e0xllmuqsr] { display: grid; grid-template-columns: 36px minmax(0, 1fr) 22px; align-items: center; gap: .55rem; min-height: 64px; padding: .45rem .6rem; text-align: left; border: 1px solid #456174; border-radius: .6rem; background: #0d202e; color: #dce5ee; }
.management-candidate img[b-e0xllmuqsr] { width: 36px; height: 46px; object-fit: contain; image-rendering: pixelated; }
.management-candidate > span[b-e0xllmuqsr] { min-width: 0; }
.management-candidate strong[b-e0xllmuqsr], .management-candidate small[b-e0xllmuqsr] { display: block; overflow-wrap: anywhere; }
.management-candidate strong[b-e0xllmuqsr] { font-size: .85rem; }
.management-candidate small[b-e0xllmuqsr] { margin-top: .15rem; color: #a6bfce; font-size: .7rem; }
.management-candidate[aria-pressed="true"][b-e0xllmuqsr] { border-color: #d5ad65; background: #d5ad651c; }
.management-candidate__check[b-e0xllmuqsr] { color: #ddbd7c; text-align: center; }
.management-edit-actions[b-e0xllmuqsr] { display: flex; gap: .5rem; padding: .65rem .85rem; border-top: 1px solid #6d849533; background: #0d1f2e; }
.management-edit-actions .button[b-e0xllmuqsr] { flex: 1; min-height: 44px; }
.management-edit-actions .button--secondary[b-e0xllmuqsr] { flex: 0 1 auto; }
.battle-management-summary[b-e0xllmuqsr] { overflow-wrap: anywhere; }

/* Full names wrap without oversized headings consuming a short-screen dialog. */
.status-dialog__header[b-e0xllmuqsr], .skill-dialog__header[b-e0xllmuqsr] { gap: .5rem; padding: .7rem .8rem; }
.status-dialog__identity[b-e0xllmuqsr], .skill-dialog__skill[b-e0xllmuqsr] { flex: 1; min-width: 0; gap: .5rem; align-items: flex-start; }
.status-dialog__identity > div[b-e0xllmuqsr], .skill-dialog__skill > div[b-e0xllmuqsr] { min-width: 0; flex: 1; }
.status-dialog__header h2[b-e0xllmuqsr], .skill-dialog__header h2[b-e0xllmuqsr] { font: 700 1.05rem/1.3 system-ui, sans-serif; overflow-wrap: anywhere; }
.status-dialog__header .section-kicker[b-e0xllmuqsr], .skill-dialog__header .section-kicker[b-e0xllmuqsr] { font-size: .72rem; line-height: 1.35; letter-spacing: .03em; }
.status-dialog__header p[b-e0xllmuqsr], .skill-dialog__header p[b-e0xllmuqsr] { overflow-wrap: anywhere; }
.status-dialog__portrait[b-e0xllmuqsr] { width: 44px; height: 52px; flex-basis: 44px; }
.status-dialog__portrait img[b-e0xllmuqsr] { max-height: 50px; }
.skill-dialog__skill .battle-skill-card__icon[b-e0xllmuqsr] { width: 44px; height: 44px; flex-basis: 44px; }
.status-dialog__close[b-e0xllmuqsr], .skill-dialog__close[b-e0xllmuqsr] { font: 400 26px/1 system-ui, sans-serif; }

/* Compact battle controls: keep the active character, actions and turn controls together. */
.battle-page--focused .battle-command[b-e0xllmuqsr] { grid-template-columns:auto minmax(0,1fr); padding:.5rem; gap:.35rem; overflow:visible; }
.battle-page--focused .battle-command:has(details[open])[b-e0xllmuqsr] { z-index:8; }
.battle-page--focused .battle-command__shortcuts[b-e0xllmuqsr] { grid-column:1; grid-row:2; gap:4px; }
.battle-page--focused .battle-command__shortcuts .battle-shortcut[b-e0xllmuqsr] { min-width:44px; min-height:44px; padding:.3rem; font-size:.7rem; }
.battle-page--focused .battle-shortcut__count[b-e0xllmuqsr],.battle-page--focused .battle-command__shortcuts .battle-shortcut > span[aria-hidden][b-e0xllmuqsr] { display:none; }
.battle-page--focused .battle-command__action[b-e0xllmuqsr] { grid-column:2; grid-row:2; gap:4px; min-width:0; }
.battle-page--focused .battle-command__action .battle-controls__primary[b-e0xllmuqsr],.battle-page--focused .battle-command__action .battle-controls__waiting[b-e0xllmuqsr],.battle-page--focused .battle-command__action .auto-indicator[b-e0xllmuqsr] { min-height:44px; padding:.3rem; font-size:.76rem; }
.battle-page--focused .battle-command__action .battle-auto[b-e0xllmuqsr] { flex:0 0 48px; min-width:48px; width:48px; min-height:44px; }
.battle-page--focused .battle-command__message[b-e0xllmuqsr] { grid-row:3; }
.battle-turn-control[b-e0xllmuqsr] { position:relative; display:flex; flex:1; min-width:0; }
.battle-page--focused .battle-turn-control > .battle-controls__primary[b-e0xllmuqsr],
.battle-page--focused .battle-turn-control > .battle-controls__waiting[b-e0xllmuqsr],
.battle-page--focused .battle-turn-control > .auto-indicator[b-e0xllmuqsr] { width:100%; min-width:0; margin:0; }
.battle-page--focused .battle-turn-control--counting > .battle-controls__primary[b-e0xllmuqsr],
.battle-page--focused .battle-turn-control--counting > .battle-controls__waiting[b-e0xllmuqsr],
.battle-page--focused .battle-turn-control--counting > .auto-indicator[b-e0xllmuqsr] { padding-right:3.15rem; background-image:linear-gradient(90deg,#d7b77330,#e6c98c40); background-size:var(--turn-progress) 100%; background-repeat:no-repeat; transition:background-size 1s linear, transform .15s, filter .15s; }
.battle-page--focused .battle-turn-control--counting > .battle-controls__primary[b-e0xllmuqsr] { color:#202b33; border-color:#d6b26e; background-color:#bd9a59; background-image:linear-gradient(90deg,#efd09599,#f8d997bb); }
.battle-page--focused .battle-turn-control--counting > .auto-indicator[b-e0xllmuqsr] { background-image:linear-gradient(90deg,#87cab124,#87cab142); }
.battle-turn-control--counting .battle-controls__primary > span[aria-hidden][b-e0xllmuqsr],
.battle-turn-control--counting .auto-indicator > span[aria-hidden][b-e0xllmuqsr],
.battle-turn-control--counting .battle-controls__waiting > .status-dot[b-e0xllmuqsr] { display:none; }
.battle-turn-label[b-e0xllmuqsr] { min-width:0; white-space:normal; overflow-wrap:anywhere; line-height:1.25; }
.battle-page--focused .battle-turn-control .battle-turn-label[b-e0xllmuqsr] { font-size:inherit; }
.battle-turn-countdown[b-e0xllmuqsr] { position:absolute; right:.45rem; top:50%; transform:translateY(-50%); color:#f1dba9; font-size:.7rem; font-weight:750; font-variant-numeric:tabular-nums; white-space:nowrap; pointer-events:none; }
.battle-turn-control:has(> .battle-controls__primary) .battle-turn-countdown[b-e0xllmuqsr] { color:#28303a; }
/* A new countdown gets a fresh control so the fill resets without sweeping backwards. */
@media (prefers-reduced-motion: reduce) {
    .battle-page--focused .battle-turn-control--counting > .battle-controls__primary[b-e0xllmuqsr],
    .battle-page--focused .battle-turn-control--counting > .battle-controls__waiting[b-e0xllmuqsr],
    .battle-page--focused .battle-turn-control--counting > .auto-indicator[b-e0xllmuqsr] { transition:none; }
}
.battle-page--focused .battle-mobile-quick-actions[b-e0xllmuqsr] { gap:.3rem; }
.battle-page--focused .battle-mobile-quick-actions__heading[b-e0xllmuqsr] { min-width:0; gap:.25rem; }
.battle-page--focused .battle-mobile-quick-actions__heading > div:first-child[b-e0xllmuqsr] { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2px .25rem; min-width:0; flex:1; }
.battle-page--focused .battle-mobile-quick-actions__heading > div:first-child > strong[b-e0xllmuqsr] { grid-column:1 / -1; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:.76rem; }
.battle-page--focused .battle-action-health[b-e0xllmuqsr] { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.battle-action-queued[b-e0xllmuqsr] { color:#e6c382; font-size:.58rem; white-space:nowrap; }
.battle-loadout-switch[b-e0xllmuqsr] { padding:0; }
.battle-loadout-switch button[b-e0xllmuqsr] { min-width:44px; padding-inline:.35rem; }
.battle-page--focused .battle-action-settings[b-e0xllmuqsr] { position:relative; flex:0 0 44px; min-width:44px; padding:0; }
.battle-action-settings > summary[b-e0xllmuqsr] { display:grid; place-items:center; flex:0 0 44px; width:44px; min-width:44px; min-height:44px; list-style:none; color:#9cb3c1; font-size:1.1rem; cursor:pointer; border-radius:.4rem; }
.battle-action-settings > summary[b-e0xllmuqsr]::-webkit-details-marker { display:none; }
.battle-action-settings > summary:focus-visible[b-e0xllmuqsr] { outline:2px solid #e3ba72; outline-offset:-2px; }
.battle-action-settings[open] > summary[b-e0xllmuqsr] { color:#efd39c; background:#ad955c22; }
.battle-action-settings__panel[b-e0xllmuqsr] { position:absolute; top:100%; right:-92px; z-index:12; width:min(260px,calc(100vw - 44px)); border:1px solid #8c7b55; border-radius:.6rem; padding:.6rem; background:#102532; box-shadow:0 10px 32px #0009; }
.battle-action-settings__panel p[b-e0xllmuqsr] { margin:.25rem 0 0; color:#99b0bf; font-size:.7rem; line-height:1.6; }
.battle-page--focused .battle-action-settings .quick-skill-toggle[b-e0xllmuqsr] { flex-direction:row; justify-content:flex-start; gap:.5rem; width:100%; }
.battle-page--focused .battle-action-settings .quick-skill-toggle strong[b-e0xllmuqsr] { font-size:.8rem; }
.battle-page--focused .battle-mobile-quick-actions__characters[b-e0xllmuqsr] { display:grid; grid-template-columns:repeat(var(--battle-character-count,5),minmax(0,1fr)); gap:4px; overflow:visible; }
.battle-page--focused .battle-mobile-character-tab[b-e0xllmuqsr] { display:grid; position:relative; grid-template-columns:24px minmax(0,1fr); grid-template-rows:1fr 1fr; align-items:center; gap:0 3px; min-width:0; min-height:48px; padding:4px 3px 7px; text-align:left; overflow:hidden; border-radius:.45rem; }
.battle-character-avatar[b-e0xllmuqsr] { grid-column:1; grid-row:1 / 3; width:24px; height:34px; object-fit:contain; image-rendering:pixelated; }
.battle-page--focused .battle-mobile-character-tab > .battle-character-number[b-e0xllmuqsr] { display:block; position:absolute; top:1px; left:2px; width:auto; height:auto; padding:0 2px; border-radius:3px; background:#0e2233dd; font-size:.5rem; line-height:1.25; color:#c1d4df; }
.battle-page--focused .battle-mobile-character-tab > strong[b-e0xllmuqsr] { grid-column:2; grid-row:1; align-self:end; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.62rem; }
.battle-page--focused .battle-mobile-character-tab > small[b-e0xllmuqsr] { grid-column:2; grid-row:2; align-self:start; font-size:.6rem; color:#a2c5b7; }
.battle-page--focused .battle-mobile-character-tab > .battle-character-health[b-e0xllmuqsr] { display:block; position:absolute; left:4px; right:4px; bottom:3px; width:auto; height:3px; border-radius:4px; background:#47606e55; overflow:hidden; }
.battle-character-health i[b-e0xllmuqsr] { display:block; height:100%; border-radius:inherit; background:var(--battle-hp-fill,#6eb399); }
/* HP colors follow the weapon bloodlines without changing selection or targeting chrome. */
.battle-page [data-health-band="high"][b-e0xllmuqsr] { --battle-hp-fill:#6eb399; --battle-hp-start:#3cae82; --battle-hp-end:#7cdbad; --battle-hp-text:#a6dfc6; }
.battle-page [data-health-band="medium"][b-e0xllmuqsr] { --battle-hp-fill:#d5ae54; --battle-hp-start:#b08c3e; --battle-hp-end:#ebc875; --battle-hp-text:#f0d593; }
.battle-page [data-health-band="low"][b-e0xllmuqsr] { --battle-hp-fill:#df9252; --battle-hp-start:#c57539; --battle-hp-end:#efa965; --battle-hp-text:#ffc18b; }
.battle-page [data-health-band="critical"][b-e0xllmuqsr] { --battle-hp-fill:#e67c70; --battle-hp-start:#b94d4f; --battle-hp-end:#ef9184; --battle-hp-text:#ffb0a4; }
.battle-page [data-health-band="down"][b-e0xllmuqsr] { --battle-hp-fill:#7b8790; --battle-hp-start:#65727e; --battle-hp-end:#89949e; --battle-hp-text:#bac3c9; }
.battle-page [data-health-band] [data-combat-hp-percent][b-e0xllmuqsr],
.battle-page [data-health-band] [data-combat-hp-text][b-e0xllmuqsr] { color:var(--battle-hp-text); }
.battle-page [data-health-band] .fighter__health[b-e0xllmuqsr],
.battle-page .status-dialog__vitals[data-health-band] progress[b-e0xllmuqsr] { accent-color:var(--battle-hp-fill); }
.battle-page [data-health-band] .fighter__health[b-e0xllmuqsr]::-webkit-progress-value,
.battle-page .status-dialog__vitals[data-health-band] progress[b-e0xllmuqsr]::-webkit-progress-value { background:linear-gradient(90deg,var(--battle-hp-start),var(--battle-hp-end)); }
.battle-page [data-health-band] .fighter__health[b-e0xllmuqsr]::-moz-progress-bar,
.battle-page .status-dialog__vitals[data-health-band] progress[b-e0xllmuqsr]::-moz-progress-bar { background:linear-gradient(90deg,var(--battle-hp-start),var(--battle-hp-end)); }
.battle-page--focused .battle-mobile-character-tab.active[b-e0xllmuqsr] { background:linear-gradient(140deg,#78623855,#1a3545); box-shadow:inset 0 0 0 1px #d7b67644; border-color:#d1ad68; }
.battle-page--focused .battle-mobile-character-tab.active .battle-character-number[b-e0xllmuqsr] { color:#f4d59c; }
.battle-page--focused .battle-mobile-character-tab--down[b-e0xllmuqsr] { opacity:.65; }
.battle-mobile-character-tab--down .battle-character-avatar[b-e0xllmuqsr] { filter:grayscale(1); }
.battle-page--focused .battle-mobile-skill-rail[b-e0xllmuqsr] { gap:3px; padding:0; grid-template-columns:repeat(6,minmax(44px,1fr)); }
.battle-page--focused .battle-mobile-skill[b-e0xllmuqsr] { min-height:60px; padding:3px 1px; gap:0; border-radius:.5rem; }
.battle-page--focused .battle-mobile-skill .battle-skill-card__icon[b-e0xllmuqsr],.battle-page--focused .battle-mobile-skill__icon[b-e0xllmuqsr] { width:34px; height:34px; flex-basis:34px; }
.battle-page--focused .battle-mobile-skill .battle-skill-card__name[b-e0xllmuqsr],.battle-page--focused .battle-mobile-skill--soul strong[b-e0xllmuqsr] { display:block; width:100%; min-width:0; margin-top:3px; overflow:hidden; white-space:nowrap; font-size:.68rem; line-height:1.15; }
.battle-skill-card__name-text[b-e0xllmuqsr] { display:block; width:max-content; min-width:100%; white-space:nowrap; }
.battle-skill-card__name--scrolling[b-e0xllmuqsr] { text-align:left; text-overflow:clip; }
.battle-skill-card__name--scrolling .battle-skill-card__name-text[b-e0xllmuqsr] { animation:battle-skill-name-scroll-b-e0xllmuqsr var(--skill-name-duration,6s) linear infinite alternate; }
@keyframes battle-skill-name-scroll-b-e0xllmuqsr {
    0%,20% { transform:translateX(0); }
    80%,100% { transform:translateX(var(--skill-name-distance,0px)); }
}
@media (prefers-reduced-motion: reduce) {
    .battle-skill-card__name--scrolling .battle-skill-card__name-text[b-e0xllmuqsr] { animation:none; }
}
.battle-skill-card--cooling .battle-skill-card__art[b-e0xllmuqsr] { filter:grayscale(.65); opacity:.55; }
.battle-page--focused .battle-mobile-skill .battle-skill-card__cooldown[b-e0xllmuqsr] { font-size:1rem; font-weight:700; background:#091721a6; }
.battle-page--focused .battle-field__label[b-e0xllmuqsr] { display:none; }
.fighter--controlled .fighter__vitals > strong[b-e0xllmuqsr] { display:none; }
.fighter--selected .fighter__portrait img[b-e0xllmuqsr] { filter:drop-shadow(0 0 5px #e6c47775); }
.fighter--selected .fighter__number--vitals[b-e0xllmuqsr] { color:#f3d296; box-shadow:0 0 0 1px #c4a164; }
.battle-page--focused .enemy-vitals__name[b-e0xllmuqsr] { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:2px 5px; width:100%; margin:3px 0 0; }
.battle-page--focused .enemy-vitals__name strong[b-e0xllmuqsr] { flex:0 1 auto; min-width:0; max-width:100%; font-size:.65rem; }
.battle-page--focused .enemy-vitals .enemy-vitals__percent[b-e0xllmuqsr] { flex:0 0 auto; color:#d2b69a; font-size:.65rem; font-weight:600; font-variant-numeric:tabular-nums; }
.battle-page--focused .enemy-vitals .combat-health[b-e0xllmuqsr] { width:100%; margin-top:2px; }
@container game-shell (max-width:380px) {
    .battle-page--focused .battle-command[b-e0xllmuqsr] { padding:.35rem; }
    .battle-page--focused .battle-mobile-character-tab[b-e0xllmuqsr] { grid-template-columns:18px minmax(0,1fr); gap:0 2px; }
    .battle-character-avatar[b-e0xllmuqsr] { width:18px; height:30px; }
    .battle-page--focused .battle-mobile-character-tab > strong[b-e0xllmuqsr] { font-size:.56rem; }
    .battle-page--focused .battle-mobile-character-tab > small[b-e0xllmuqsr] { font-size:.55rem; }
    .battle-page--focused .battle-mobile-skill-rail[b-e0xllmuqsr] { gap:2px; }
}
@media(max-height:740px) {
    .battle-page--focused .battle-field[b-e0xllmuqsr] { --unit-height:48px; }
    .battle-page--focused .battle-stage__header[b-e0xllmuqsr] { min-height:36px; }
    .battle-page--focused .monster-intent__summary[b-e0xllmuqsr] { min-height:44px; padding-block:.2rem; }
}
@container game-shell (max-width:340px) {
    .battle-page--focused .battle-command[b-e0xllmuqsr] { padding-inline:4px; }
}
@media(max-height:620px) {
    .battle-page--focused .battle-field[b-e0xllmuqsr] { --unit-height:36px; padding-block:0 .2rem; }
    .battle-page--focused .battle-command[b-e0xllmuqsr] { gap:4px; }
    .battle-page--focused .battle-mobile-quick-actions[b-e0xllmuqsr] { row-gap:4px; }
    .battle-page--focused .battle-mobile-skill[b-e0xllmuqsr] { min-height:56px; }
    .battle-page--focused .battle-mobile-skill .battle-skill-card__icon[b-e0xllmuqsr],.battle-page--focused .battle-mobile-skill__icon[b-e0xllmuqsr] { width:30px; height:30px; flex-basis:30px; }
}

/* A gathering room keeps its roster and start controls visible before combat. */
.battle-page--lobby[b-e0xllmuqsr] {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.battle-page--lobby .battle-page__header[b-e0xllmuqsr] { display: flex; padding-block: .5rem; }
.battle-page--lobby .battle-field[b-e0xllmuqsr] { --unit-height: clamp(68px, 16svh, 140px); }
.battle-page--lobby .battle-field__label[b-e0xllmuqsr] { display: flex; }
.battle-page--lobby .fighter--vacant[b-e0xllmuqsr] { display: flex; position: relative; min-height: var(--unit-height); gap: 4px; border: 0; background: transparent; color: #dec78e; cursor: pointer; }
.battle-page--lobby .fighter--vacant:disabled[b-e0xllmuqsr] { color: #91a2ac; opacity: .7; cursor: default; }
.fighter__vacancy-number[b-e0xllmuqsr] { font-size: .62rem; line-height: 1.2; }
.fighter__vacancy-art[b-e0xllmuqsr] { display: grid; position: relative; place-items: center; width: 100%; height: calc(var(--unit-height) * .72); min-height: 44px; border: 1px dashed #bda26780; border-radius: .5rem; background: #0b1d2a80; }
.fighter__vacancy-art svg[b-e0xllmuqsr] { width: 62%; max-height: 80%; fill: none; stroke: #b6b7ab66; stroke-width: 2; }
.fighter__vacancy-art b[b-e0xllmuqsr] { display: grid; position: absolute; place-items: center; width: 24px; height: 24px; border: 1px solid #d2b77780; border-radius: 50%; background: #152b38; font-size: 1rem; font-weight: 500; }
.fighter__vacancy-label[b-e0xllmuqsr] { font-size: .62rem; white-space: nowrap; }
.fighter--vacant:hover:not(:disabled) .fighter__vacancy-art[b-e0xllmuqsr] { border-color: #edc878; background: #30443b99; }
.fighter--vacant:focus-visible[b-e0xllmuqsr] { outline: 2px solid #edc878; outline-offset: 2px; }
.battle-page--lobby .fighter__vitals > strong[b-e0xllmuqsr] { display: block; }
.battle-page--lobby .battle-stage__footer[b-e0xllmuqsr] { display: flex; flex-wrap: wrap; gap: .4rem .8rem; }
.battle-page--lobby .battle-command__shortcuts[b-e0xllmuqsr] { grid-row: 1; }
.battle-page--lobby .battle-command__action[b-e0xllmuqsr] { grid-row: 1; }
.battle-page--lobby .battle-command__message[b-e0xllmuqsr] { grid-row: 2; }

/* Reserve the command card's natural height before giving spare space to scenery.
   Size containment lets the actors follow the field without setting its height. */
.battle-page--focused:not(.battle-page--lobby)[b-e0xllmuqsr] {
    flex: 1 0 auto;
}
.battle-page--focused:not(.battle-page--lobby) .battle-stage[b-e0xllmuqsr] {
    flex: 1 0 auto;
    max-height: 26rem;
}
.battle-page--focused:not(.battle-page--lobby) .battle-field[b-e0xllmuqsr] {
    --unit-height: clamp(36px, calc(100cqh - 76px - var(--battle-status-height)), 160px);
    container-type: size;
    flex: 1 0 calc(96px + var(--battle-status-height));
    min-height: calc(96px + var(--battle-status-height));
    align-content: end;
    padding-block: .25rem clamp(.5rem, 2svh, 1.25rem);
}
.battle-page--focused:not(.battle-page--lobby) .fighter[b-e0xllmuqsr] {
    max-width: 140px;
}
.battle-page--focused:not(.battle-page--lobby) .fighter__portrait[b-e0xllmuqsr],
.battle-page--focused:not(.battle-page--lobby) .battle-field__enemy-art[b-e0xllmuqsr] {
    height: auto;
}
/* Intrinsic image proportions keep each health bar directly above its own sprite. */
.battle-page--focused:not(.battle-page--lobby) .fighter__portrait img[b-e0xllmuqsr],
.battle-page--focused:not(.battle-page--lobby) .battle-field__enemy-art img[b-e0xllmuqsr] {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: var(--unit-height);
}
/* Keep short-screen controls at the small viewport's edge even when toolbars retract. */
.battle-page--focused:not(.battle-page--lobby) .battle-command[b-e0xllmuqsr] {
    position: sticky;
    bottom: calc(100dvh - 100svh + max(.5rem, env(safe-area-inset-bottom)));
}

/* Battle floating windows. Shared frame deliberately follows the older panel rules. */
.battle-float-overlay.battle-float-overlay[b-e0xllmuqsr] {
    position: fixed; inset: 0; z-index: 1400; width: auto; height: auto; transform: none;
    display: flex; align-items: center; justify-content: center; place-items: center;
    box-sizing: border-box;
    padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    overflow: hidden; background: #030b16b8; backdrop-filter: blur(8px);
}
.battle-float-overlay[hidden][b-e0xllmuqsr] { display: none; }
.battle-float-overlay.formation-admission-overlay[b-e0xllmuqsr] { z-index: 1500; }
.battle-float-overlay.room-confirm-overlay[b-e0xllmuqsr] { z-index: 1600; }
.battle-float-overlay > .battle-float[b-e0xllmuqsr] {
    display: flex; flex-direction: column; box-sizing: border-box;
    width: min(100%, 600px); min-width: 0; max-height: min(800px, 100%);
    margin: 0; padding: 0; overflow: hidden;
    border: 1px solid #607488; border-top-color: #b6a07a; border-radius: 20px;
    background: linear-gradient(145deg, #203243 0%, #142536 55%, #111f2e 100%);
    box-shadow: 0 28px 90px #0008, 0 8px 24px #0005, inset 0 1px 0 #ffe4ad13;
    color: #d9e3ea; text-align: left;
    animation: battle-float-appear-b-e0xllmuqsr .18s ease-out;
}
.battle-float-overlay > .battle-management-dialog[b-e0xllmuqsr], .battle-float-overlay > .formation-admission-dialog[b-e0xllmuqsr] { width: min(100%, 680px); }
.battle-float-overlay > .room-confirm-dialog[b-e0xllmuqsr] { width: min(100%, 420px); }
.battle-float > .battle-float__head[b-e0xllmuqsr] {
    display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between;
    gap: 16px; padding: 20px 24px; min-width: 0;
    border-bottom: 1px solid #a8bed11c;
    background: linear-gradient(110deg, #d4b37809, transparent 75%);
}
.battle-float__head > div[b-e0xllmuqsr] { min-width: 0; }
.battle-float__head h2[b-e0xllmuqsr] { margin: 3px 0; color: #f3e7d4; font: 650 1.2rem/1.4 system-ui, sans-serif; overflow-wrap: anywhere; }
.battle-float__head h2 small[b-e0xllmuqsr] { margin-left: .4rem; color: #a6b8c7; font-size: .75rem; font-weight: 400; white-space: nowrap; }
.battle-float__head p[b-e0xllmuqsr] { margin: 4px 0 0; color: #a5b9c9; font-size: .78rem; line-height: 1.55; overflow-wrap: anywhere; }
.battle-float__head .section-kicker[b-e0xllmuqsr] { color: #c7ac7c; font-size: .65rem; line-height: 1.4; letter-spacing: .1em; }
.battle-float .battle-float__close[b-e0xllmuqsr] {
    display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; min-width: 44px; min-height: 44px;
    margin: 0; padding: 0; border: 1px solid #71899d45; border-radius: 12px;
    background: #0b1a285c; color: #b9cad7; font: 400 26px/1 system-ui, sans-serif;
    cursor: pointer; transition: background .15s, border-color .15s;
}
.battle-float .battle-float__close:hover[b-e0xllmuqsr] { background: #354b5d; border-color: #c5ad7d; color: #fff0d6; }
.battle-float .battle-float__close:focus-visible[b-e0xllmuqsr] { outline: 2px solid #e4c28a; outline-offset: 3px; }
.battle-float > .battle-float__body[b-e0xllmuqsr] {
    flex: 1 1 auto; min-height: 0; max-height: none; min-width: 0;
    padding: 20px 24px; overflow: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: #52687a transparent;
    scroll-padding-block: 12px; overflow-wrap: anywhere;
}
.battle-float > .battle-reward-dialog__content[b-e0xllmuqsr] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.battle-reward-dialog__content[b-e0xllmuqsr]  .battle-information {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.battle-reward-dialog__content[b-e0xllmuqsr]  .information-navigation {
    position: relative;
    flex: none;
}
.battle-reward-dialog__content[b-e0xllmuqsr]  .information-content {
    min-height: 0;
    margin-inline: -6px;
    padding-inline: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-block: 6px;
    scrollbar-width: thin;
    scrollbar-color: #52687a transparent;
}
.battle-float > .battle-float__foot[b-e0xllmuqsr] {
    display: flex; flex: 0 0 auto; justify-content: flex-end; gap: 10px;
    margin: 0; padding: 16px 24px; position: static;
    border-top: 1px solid #a8bed11c; background: #0b19275e;
}
.battle-float__foot .button[b-e0xllmuqsr] { min-width: 0; min-height: 46px; border-radius: 10px; padding: .65rem 1rem; font-size: .82rem; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; }
.battle-float__foot .button--primary[b-e0xllmuqsr] { min-width: 140px; }
.battle-management-dialog > .battle-float__foot[b-e0xllmuqsr] { display: block; }
.battle-float__foot .management-edit-actions[b-e0xllmuqsr], .battle-float__foot .battle-controls--room-actions[b-e0xllmuqsr] { padding: 0; border: 0; background: transparent; }
.battle-float .status-dialog__identity[b-e0xllmuqsr], .battle-float .skill-dialog__skill[b-e0xllmuqsr] { align-items: center; gap: 14px; }
.battle-float .status-dialog__portrait[b-e0xllmuqsr] { flex: 0 0 52px; width: 52px; height: 60px; border-radius: 12px; background: #0d1c2b66; }
.battle-float .status-dialog__portrait img[b-e0xllmuqsr] { max-height: 58px; }
.battle-float .skill-dialog__skill .battle-skill-card__icon[b-e0xllmuqsr] { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; }
.battle-float .skill-dialog__content[b-e0xllmuqsr] { gap: 18px; }
.battle-float .skill-dialog__description[b-e0xllmuqsr] { font-size: .9rem; line-height: 1.85; color: #d8e2e9; }
.battle-float .skill-dialog__automation[b-e0xllmuqsr] { padding: 14px; border: 1px solid #617e9440; border-radius: 12px; background: #0c1b295c; }
.battle-float .skill-dialog__automation-heading[b-e0xllmuqsr] { gap: 12px; }
.battle-float .skill-dialog__automation-heading strong[b-e0xllmuqsr] { font-size: .85rem; }
.battle-float .skill-dialog__automation-heading small[b-e0xllmuqsr] { font-size: .75rem; }
.battle-float .skill-dialog__effects[b-e0xllmuqsr] { border-color: #607b903d; }
.battle-float .skill-dialog__effects > summary[b-e0xllmuqsr] { min-height: 48px; }
.battle-float .status-dialog__vitals[b-e0xllmuqsr] { padding: 14px; border: 1px solid #6d889d35; border-radius: 12px; background: #0b1a2857; }
.battle-float .status-dialog__vitals > div[b-e0xllmuqsr] { flex-wrap: wrap; gap: 6px; }
.battle-float .status-dialog__group[b-e0xllmuqsr] { margin-top: 20px; }
.battle-float .status-dialog__group h3[b-e0xllmuqsr] { font-size: .85rem; margin-bottom: 10px; }
.battle-float .status-detail[b-e0xllmuqsr] { padding: 12px; border-radius: 10px; }
.battle-float .status-detail p[b-e0xllmuqsr] { font-size: .8rem; line-height: 1.7; }
.battle-float .status-detail small[b-e0xllmuqsr] { font-size: .72rem; line-height: 1.6; }
.battle-float .status-dialog__empty[b-e0xllmuqsr] { min-height: 170px; gap: 8px; }
.battle-float .status-dialog__empty small[b-e0xllmuqsr] { font-size: .75rem; line-height: 1.7; }
.battle-float .battle-log-dialog__content ol[b-e0xllmuqsr] { margin: 0; }
.battle-float .battle-log-dialog__content li[b-e0xllmuqsr] { padding: 12px 4px; border-color: #7893a626; font-size: .83rem; line-height: 1.75; }
.battle-float .battle-management-summary[b-e0xllmuqsr] { padding: 14px; border-radius: 12px; background: #0b1b2a66; line-height: 1.7; }
.battle-float .battle-management-details[b-e0xllmuqsr] { border-color: #607b903d; border-radius: 10px; }
.battle-float .management-slot[b-e0xllmuqsr] { border-radius: 12px; }
.battle-float .management-tabs[b-e0xllmuqsr] { flex: 0 0 auto; margin: 16px 24px 0; }
.battle-float .formation-admission-dialog__context[b-e0xllmuqsr] { margin: 0 0 18px; color: #a9becd; font-size: .82rem; line-height: 1.7; }
.battle-float.room-confirm-dialog p[b-e0xllmuqsr] { margin: 0; line-height: 1.8; }
.battle-float .room-confirm-dialog__actions .button[b-e0xllmuqsr] { flex: 1; }
@keyframes battle-float-appear-b-e0xllmuqsr { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
    .battle-float-overlay.battle-float-overlay[b-e0xllmuqsr] { padding: max(16px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
    .battle-float-overlay > .battle-float[b-e0xllmuqsr] { max-height: min(760px, 100%); border-radius: 16px; }
    .battle-float > .battle-float__head[b-e0xllmuqsr] { padding: 16px; gap: 10px; }
    .battle-float > .battle-float__body[b-e0xllmuqsr] { padding: 16px; }
    .battle-float > .battle-float__foot[b-e0xllmuqsr] { padding: 12px 16px; gap: 8px; }
    .battle-float__head h2[b-e0xllmuqsr] { font-size: 1.06rem; }
    .battle-float .status-dialog__identity[b-e0xllmuqsr], .battle-float .skill-dialog__skill[b-e0xllmuqsr] { gap: 10px; }
    .battle-float .skill-dialog__skill .battle-skill-card__icon[b-e0xllmuqsr] { width: 46px; height: 46px; flex-basis: 46px; }
    .battle-float__foot .button[b-e0xllmuqsr] { flex: 1; min-width: 0; padding-inline: 10px; }
    .battle-float .management-tabs[b-e0xllmuqsr] { margin: 12px 16px 0; }
    .battle-float .skill-dialog__automation[b-e0xllmuqsr] { padding: 12px; }
}
@media (max-height: 500px) {
    .battle-float-overlay.battle-float-overlay[b-e0xllmuqsr] { padding-block: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-bottom)); }
    .battle-float > .battle-float__head[b-e0xllmuqsr] { padding-block: 10px; }
    .battle-float > .battle-float__foot[b-e0xllmuqsr] { padding-block: 10px; }
    .battle-float .status-dialog__portrait[b-e0xllmuqsr] { height: 44px; }
    .battle-float .status-dialog__portrait img[b-e0xllmuqsr] { max-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .battle-float-overlay > .battle-float[b-e0xllmuqsr] { animation: none; } }
/* Small anchored options use the same materials as the full floating windows. */
.battle-float-overlay > .skill-gesture-hint[b-e0xllmuqsr] { width: min(100%, 390px); }
.skill-gesture-hint .battle-float__body[b-e0xllmuqsr] { padding: 18px 22px; line-height: 1.8; }
.skill-gesture-hint p[b-e0xllmuqsr] { margin: 0 0 12px; }
.skill-gesture-hint p:last-child[b-e0xllmuqsr] { margin-bottom: 0; }
.skill-gesture-hint__note[b-e0xllmuqsr] { color: #a5b9c9; font-size: .85rem; }
.battle-mobile-skill[data-skill-code][b-e0xllmuqsr] { -webkit-touch-callout: none; user-select: none; touch-action: pan-y; }

.battle-field[b-e0xllmuqsr] { --battle-status-height: 42px; --battle-status-icon-size: 18px; --battle-status-icon-font: 11px; --battle-status-counter-font: 9px; }
@container game-shell (max-width: 640.98px) {
    .battle-field[b-e0xllmuqsr] { --battle-status-height: 32px; --battle-status-icon-size: 12px; --battle-status-icon-font: 9px; --battle-status-counter-font: 7px; }
}

/* Encounter composition: stable silhouettes, a full party roster and an action
   strip below the scene. Toolbar and viewport-height changes never resize actors. */
.battle-page--focused.battle-page--staggered[b-e0xllmuqsr] { flex: 0 0 auto; grid-template-rows: auto auto; min-height: 0; gap: 0; }
.battle-page--focused.battle-page--staggered .battle-stage[b-e0xllmuqsr] { flex: 0 0 auto; max-height: none; overflow: visible; border-bottom: 0; border-radius: .85rem .85rem 0 0; box-shadow: none; }
.battle-page--staggered .battle-stage__scene[b-e0xllmuqsr] { order: 2; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); position: relative; min-width: 0; min-height: 0; height: clamp(310px, calc(90cqw + 12px), 442px); container-type: inline-size; background: #0b1a26; }

.battle-page--focused.battle-page--staggered .battle-stage__header[b-e0xllmuqsr] { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: flex-start; padding: 0; min-height: 44px; gap: 3px; border-radius: .85rem .85rem 0 0; background: #102330; }
.battle-stage__back[b-e0xllmuqsr] { display: flex; flex: 0 0 44px; align-items: center; justify-content: center; gap: 2px; min-height: 44px; color: #adc1ce; font-size: 10px; text-decoration: none; border-radius: .85rem 0 0 0; }
.battle-stage__back > span:first-child[b-e0xllmuqsr] { font-size: 22px; line-height: 1; }
.battle-stage__back:hover[b-e0xllmuqsr] { color: #e7ca95; background: #b4cad415; }
.battle-stage__back:focus-visible[b-e0xllmuqsr] { outline: 2px solid #dfbd78; outline-offset: -4px; }
.battle-page--staggered .battle-stage__heading[b-e0xllmuqsr] { flex: 1; min-width: 0; }
.battle-page--staggered .battle-challenge-title[b-e0xllmuqsr] { min-width: 0; }
.battle-page--staggered .battle-challenge-title h1[b-e0xllmuqsr] { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.battle-page--focused.battle-page--staggered .battle-stage__header h1[b-e0xllmuqsr] { font-size: .76rem; line-height: 1.3; }
.battle-page--focused.battle-page--staggered .battle-stage__meta[b-e0xllmuqsr] { flex-direction: row; gap: .2rem; }
.battle-page--staggered .battle-stage__meta .battle-status[b-e0xllmuqsr] { display: none; }
.battle-page--staggered .battle-affix-summary[b-e0xllmuqsr] { position: relative; z-index: 50; font-size: .65rem; color: #ddc28c; }
.battle-page--staggered .battle-stage__header:has(.battle-affix-summary[open])[b-e0xllmuqsr] { position: relative; z-index: 50; }
.battle-affix-summary > summary[b-e0xllmuqsr] { display: grid; place-items: center; min-height: 34px; padding-inline: 6px; cursor: pointer; white-space: nowrap; }
.battle-affix-summary__panel[b-e0xllmuqsr] { position: absolute; right: 0; top: 100%; z-index: 40; width: min(300px, calc(100vw - 36px)); padding: 12px 4px; border: 1px solid #607488; border-radius: 12px; background: #172b3a; box-shadow: 0 12px 32px #0008; }
.battle-enemy-forecast[b-e0xllmuqsr] { position: absolute; top: calc(var(--enemy-hud-top) + 44px); left: var(--enemy-hud-inset); right: var(--enemy-hud-inset); z-index: 6; display: flex; align-items: flex-start; gap: 8px; pointer-events: none; }
.battle-enemy-energy[b-e0xllmuqsr] { display: grid; flex: 0 0 auto; align-items: start; min-height: 44px; padding: 8px 2px; border: 0; border-radius: 3px; color: #ddbb79; background: transparent; cursor: pointer; pointer-events: auto; }
.battle-enemy-energy:focus-visible[b-e0xllmuqsr] { outline: 2px solid #e3ba72; outline-offset: 1px; }
.battle-page--focused.battle-page--staggered .monster-intent[b-e0xllmuqsr] { flex: 0 1 auto; width: max-content; max-width: 250px; min-width: 0; margin: 0 0 0 auto; border: 1px solid #8ca8b333; border-radius: 4px; padding: 0; min-height: 44px; background: #0c1b29c9; box-shadow: none; pointer-events: auto; }
.battle-page--focused.battle-page--staggered .monster-intent__summary[b-e0xllmuqsr] { min-height: 44px; padding: 3px 7px; column-gap: 5px; row-gap: 1px; grid-template-columns: 18px minmax(0, 1fr) 10px; grid-template-rows: auto auto; }
.battle-page--staggered .monster-intent__icon[b-e0xllmuqsr] { grid-column: 1; grid-row: 1 / 3; width: 18px; height: 18px; min-width: 18px; font-size: .78rem; color: #c5d1d8; background: transparent; }
.battle-page--focused.battle-page--staggered .monster-intent__body[b-e0xllmuqsr] { gap: 2px; }
.battle-page--focused.battle-page--staggered .monster-intent__danger[b-e0xllmuqsr] { display: none; }
.battle-page--focused.battle-page--staggered .monster-intent__body > strong[b-e0xllmuqsr] { overflow: hidden; font-size: .73rem; white-space: nowrap; text-overflow: ellipsis; }
.battle-page--focused.battle-page--staggered .monster-intent__summary .monster-intent__target[b-e0xllmuqsr] { grid-column: 2 / 4; grid-row: 2; display: flex; align-items: center; gap: 6px; min-width: 0; max-width: none; text-align: left; }
.battle-page--focused.battle-page--staggered .monster-intent__summary .monster-intent__target strong[b-e0xllmuqsr] { min-width: 0; max-width: none; overflow: hidden; font-size: .625rem; font-weight: 500; color: #bfcdd7; white-space: nowrap; text-overflow: ellipsis; }
.battle-page--staggered .monster-intent__target small[b-e0xllmuqsr] { flex: 0 0 auto; font-size: .6rem; }
.battle-page--staggered .monster-intent__chevron[b-e0xllmuqsr] { grid-column: 3; grid-row: 1; font-size: 10px; }
.battle-page--focused.battle-page--staggered .monster-intent--dangerous[b-e0xllmuqsr] { border-color: #d4a14a88; background: #493018df; box-shadow: inset 2px 0 #e6b255; }
.battle-page--focused.battle-page--staggered .monster-intent--deadly[b-e0xllmuqsr] { border-color: #e4756999; background: #54252bdf; box-shadow: inset 2px 0 #ed8275; }
.battle-page--staggered .monster-intent--dangerous .monster-intent__icon[b-e0xllmuqsr] { color: #ffe1a0; }
.battle-page--staggered .monster-intent--deadly .monster-intent__icon[b-e0xllmuqsr] { color: #ffb4a7; }
.battle-page--focused.battle-page--staggered .monster-intent--interrupted[b-e0xllmuqsr] { border-color: #82b9a177; background: #1a3b36df; box-shadow: inset 2px 0 #82b9a1; }
.battle-page--focused.battle-page--staggered .monster-intent--waiting[b-e0xllmuqsr] { display: flex; align-items: center; gap: 6px; padding: 5px 8px; }
.battle-page--staggered .monster-intent--waiting .monster-intent__body > span[b-e0xllmuqsr],
.battle-page--staggered .monster-intent--waiting .monster-intent__body > small[b-e0xllmuqsr],
.battle-page--staggered .monster-intent--waiting .monster-intent__target[b-e0xllmuqsr] { display: none; }
.battle-page--focused.battle-page--staggered .battle-field[b-e0xllmuqsr] { --unit-height: clamp(64px, 20cqw, 108px); --enemy-hud-top: 14px; --enemy-hud-inset: clamp(16px, 4cqw, 26px); --combat-safe-top: 100px; display: block; container-type: inline-size; position: relative; width: 100%; height: 100%; min-height: 0; flex: none; padding: 0; overflow: hidden; }
.battle-page--staggered .combat-fx-layer[b-e0xllmuqsr] { clip-path: inset(var(--combat-safe-top) 0 0); }
.battle-page--staggered .battle-field__backdrop img[b-e0xllmuqsr] { object-position: center bottom; filter: saturate(.66) brightness(.76) contrast(.94); }
/* Keep the overturned cart below the HUD when this square scene is cropped on wide screens. */
.battle-page--staggered .battle-field:has([data-combat-profile="tutorial-camp-badger"]) .battle-field__backdrop img[b-e0xllmuqsr] { object-position: center 35%; }
.battle-page--staggered .battle-field:has([data-combat-profile="tutorial-camp-marten"]) .battle-field__backdrop img[b-e0xllmuqsr] { object-position: center 35%; }
.battle-page--staggered .battle-field:has([data-combat-profile="abandoned-kiln"]) .battle-field__backdrop img[b-e0xllmuqsr] { object-position: center 35%; }
.battle-page--staggered .battle-field:has([data-combat-profile="old-warehouse"]) .battle-field__backdrop img[b-e0xllmuqsr] { object-position: center 35%; }
.battle-page--staggered .battle-field:has([data-combat-profile="silk-boardwalk"]) .battle-field__backdrop img[b-e0xllmuqsr] { object-position: center 35%; }
.battle-page--staggered .battle-field:has([data-combat-profile^="deep-p"]) .battle-field__backdrop img[b-e0xllmuqsr] { object-position: center 35%; }
.battle-page--staggered .battle-field__backdrop[b-e0xllmuqsr]::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 55% 38%, transparent 20%, #04111a38 76%, #04111a66), linear-gradient(0deg, #04111a33, transparent 42%); pointer-events: none; }
.battle-page--staggered .fighter__portrait[b-e0xllmuqsr]::before { left: 17%; right: 17%; bottom: 0; height: 8px; background: #030c16c9; filter: blur(2px); }
.battle-page--staggered .battle-field__enemy-art[b-e0xllmuqsr]::before { left: 16%; right: 10%; bottom: 1px; height: 13px; background: #030c16cc; filter: blur(3px); }
.battle-page--staggered .battle-field__party[b-e0xllmuqsr] { position: absolute; inset: auto 0 18px; height: min(calc(100% - var(--combat-safe-top) - 18px), calc(var(--unit-height) * 3.45)); z-index: 2; pointer-events: none; }
.battle-page--staggered .fighter-line[b-e0xllmuqsr] { display: block; position: static; padding: 0; overflow: visible; }
.battle-page--focused.battle-page--staggered .fighter[b-e0xllmuqsr] { position: absolute; bottom: calc(var(--formation-index) * (100% - var(--unit-height)) / 4); left: calc(29% - var(--unit-height) * .35); width: max(44px, var(--unit-height) * .7); height: var(--unit-height); min-height: 44px; max-width: none; padding: 0; border: 0; background: transparent; box-shadow: none; pointer-events: auto; z-index: calc(5 - var(--formation-index)); }
.battle-page--staggered .fighter.fighter--formation-back[b-e0xllmuqsr] { left: calc(15% - var(--unit-height) * .35); }
.battle-page--staggered [data-party-count="1"] .fighter[b-e0xllmuqsr] { bottom: 22%; left: calc(25% - var(--unit-height) * .35); }
.battle-page--staggered [data-party-count="2"] .fighter[b-e0xllmuqsr] { bottom: calc(22% + var(--formation-index) * 22%); }
.battle-page--staggered [data-party-count="3"] .fighter[b-e0xllmuqsr] { bottom: calc(6% + var(--formation-index) * 30%); }
.battle-page--staggered [data-party-count="4"] .fighter[b-e0xllmuqsr] { bottom: calc(var(--formation-index) * (100% - var(--unit-height)) / 3); }
.battle-page--focused.battle-page--staggered .fighter__portrait[b-e0xllmuqsr] { width: 100%; height: var(--unit-height); }
.battle-page--staggered .fighter__vitals[b-e0xllmuqsr] { position: absolute; top: 0; left: 0; right: 0; height: 0; margin: 0; overflow: hidden; visibility: hidden; }
.battle-page--staggered .fighter__level[b-e0xllmuqsr] { display: none; }
.battle-page--staggered .fighter__number[b-e0xllmuqsr] { display: grid; bottom: -2px; left: -4px; min-width: 18px; width: 18px; height: 18px; font-size: 11px; background: #0d2534ed; border: 1px solid #8da8b37a; }
.battle-page--staggered .fighter--selected .fighter__portrait[b-e0xllmuqsr]::before { outline: 2px solid #dfbd78; background: #dfbd782d; filter: none; }
.battle-page--staggered .fighter--targeted .fighter__portrait[b-e0xllmuqsr] { outline: none; box-shadow: none; }
.battle-page--staggered .fighter__target-marker[b-e0xllmuqsr] { top: -13px; right: -4px; font-size: 12px; }
.battle-page--focused.battle-page--staggered .battle-field__enemy[b-e0xllmuqsr] { display: block; position: absolute; inset: 0; min-height: 0; width: auto; padding: 0; pointer-events: none; }
.battle-enemy-sprite[b-e0xllmuqsr] { display: block; position: relative; width: 100%; height: 100%; }
/* Only the enemy silhouette uses its authored size. Its bottom/center anchor and
   the heroes' unit height stay stable across monster changes and browser chrome. */
.battle-page--focused.battle-page--staggered .battle-field__enemy-art[b-e0xllmuqsr] {
    --monster-art-width: min(56cqw, calc(var(--unit-height) * min(2.6, var(--monster-height-units)) * var(--monster-aspect)));
    --monster-art-height: calc(var(--monster-art-width) / var(--monster-aspect));
    /* Reserve HUD clearance for the largest supported silhouette, so changing
       enemy size never moves the shared ground anchor on short viewports. */
    --monster-ground-limit: max(18px, calc(100% - var(--combat-safe-top) - var(--unit-height) * 2.6));
    position: absolute; left: calc(70% - max(44px, var(--monster-art-width)) / 2); bottom: min(14%, var(--monster-ground-limit));
    width: max(44px, var(--monster-art-width)); height: max(44px, var(--monster-art-height));
    max-width: none; min-height: 44px; padding: 0; pointer-events: auto;
}
.battle-page--staggered [data-party-count="1"] .battle-field__enemy-art[b-e0xllmuqsr],
.battle-page--staggered [data-party-count="2"] .battle-field__enemy-art[b-e0xllmuqsr] { bottom: min(20%, var(--monster-ground-limit)); }
.battle-page--staggered .battle-field__enemy-art .battle-enemy-sprite[b-e0xllmuqsr] {
    position: absolute; width: var(--monster-art-width); height: var(--monster-art-height);
    left: calc((100% - var(--monster-art-width)) / 2); bottom: 0;
}
.battle-page--focused.battle-page--staggered .battle-field__enemy-art img[b-e0xllmuqsr] {
    position: absolute; left: var(--monster-image-left); top: var(--monster-image-top);
    width: var(--monster-image-width); height: var(--monster-image-height);
    max-height: none; max-width: none; object-fit: fill;
}
.battle-page--focused.battle-page--staggered .enemy-vitals[b-e0xllmuqsr] { position: absolute; top: var(--enemy-hud-top); left: var(--enemy-hud-inset); right: var(--enemy-hud-inset); z-index: 5; isolation: isolate; width: auto; max-width: none; height: 44px; min-height: 44px; display: flex; flex-direction: column; justify-content: flex-start; padding: 4px 0 0; border: 0; border-radius: 6px; background: transparent; box-shadow: none; pointer-events: auto; }
/* A feathered scrim supports the lettering without enclosing the HUD in a card. */
.battle-page--staggered .enemy-vitals[b-e0xllmuqsr]::before { content: ""; position: absolute; inset: -8px -12px -8px; z-index: -1; background: radial-gradient(ellipse at 35% 40%, #07121cdb 0%, #07121c80 45%, #07121c00 75%); pointer-events: none; }
.battle-page--focused.battle-page--staggered .enemy-vitals__name[b-e0xllmuqsr] { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; flex-wrap: nowrap; flex: 0 0 20px; height: 20px; margin: 0; text-shadow: 0 1px 2px #000, 0 0 5px #000b; }
.battle-page--focused.battle-page--staggered .enemy-vitals__name strong[b-e0xllmuqsr] { flex: 0 1 auto; width: auto; max-width: 52%; font-size: .8rem; text-align: left; }
.battle-page--focused.battle-page--staggered .enemy-vitals .enemy-vitals__percent[b-e0xllmuqsr] { flex: 0 0 auto; margin-left: 0; color: #f1d3a4; font-size: .86rem; font-weight: 750; }
.battle-page--staggered .enemy-vitals[b-e0xllmuqsr]  .battle-status-strip { position: static; flex: 0 1 auto; width: auto; min-width: 0; height: 20px; margin-left: auto; overflow: hidden; pointer-events: none; --battle-status-icon-size: 17px; --battle-status-counter-font: 8px; }
.battle-page--staggered .enemy-vitals[b-e0xllmuqsr]  .battle-status-groups { flex-direction: row; align-items: center; gap: 3px; }
.battle-page--staggered .enemy-vitals[b-e0xllmuqsr]  .battle-status-row { flex: 0 1 auto; }
/* Resource values reserve their text width inside the clipped enemy HUD. */
.battle-page--staggered .enemy-vitals[b-e0xllmuqsr]  .fighter__effect-icon:has(small[data-counter-kind="resource"]) { flex-basis: auto; width: max-content; min-width: var(--battle-status-icon-size, 17px); }
.battle-page--staggered .enemy-vitals[b-e0xllmuqsr]  .fighter__effect-icon:has(small[data-counter-kind="resource"]) > :not(small) { grid-area: 1 / 1; max-width: var(--battle-status-icon-size, 17px); }
.battle-page--staggered .enemy-vitals[b-e0xllmuqsr]  .fighter__effect-icon small[data-counter-kind="resource"] { position: relative; grid-area: 1 / 1; align-self: end; justify-self: end; }
.battle-page--staggered .enemy-vitals .combat-health[b-e0xllmuqsr] { flex: 0 0 9px; height: 9px; margin: 5px 0 6px; border: 1px solid #c2a27699; border-radius: 3px 1px 3px 1px; background: #09141ef2; box-shadow: 0 1px 3px #000b, inset 0 1px 2px #0009; }
.battle-page--staggered .enemy-vitals .combat-health__trail[b-e0xllmuqsr] { border-radius: 1px; }
.battle-page--staggered .enemy-vitals__health[b-e0xllmuqsr]::-webkit-progress-value { border-radius: 1px; background: linear-gradient(#f3ae94, #df7c6d 45%, #bf555a); }
.battle-page--staggered .enemy-vitals__health[b-e0xllmuqsr]::-moz-progress-bar { border-radius: 1px; background: linear-gradient(#f3ae94, #df7c6d 45%, #bf555a); }
.battle-page--staggered .battle-field__enemy-pending[b-e0xllmuqsr] { position: absolute; inset: 30% 0 10% 40%; width: auto; height: auto; }
.battle-page--staggered .battle-field__enemy-pending strong[b-e0xllmuqsr] { font-size: .85rem; }
.battle-page--focused.battle-page--staggered .combat-readout[b-e0xllmuqsr] { order: 3; min-height: 36px; padding: 0 8px; background: #0b1d2a; border-top: 1px solid #7791a321; }
.battle-page--staggered .combat-readout__round[b-e0xllmuqsr] { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1px; width: 32px; font-size: 7px; color: #88a2b4; }
.battle-page--staggered .combat-readout__round b[b-e0xllmuqsr] { margin: 0; font-size: 15px; line-height: 1.2; }
.battle-page--staggered .combat-readout__log[b-e0xllmuqsr] { margin-left: auto; min-width: 44px; min-height: 44px; padding-inline: 2px; color: #94acbc; font-size: .65rem; }
.battle-page--staggered .combat-readout__feedback[b-e0xllmuqsr] { overflow: hidden; }
.battle-page--staggered .combat-readout__action[b-e0xllmuqsr] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .7rem; }
/* Choose a party member first, then read their context and use the fixed skill slots. */
.battle-page--focused.battle-page--staggered .battle-command[b-e0xllmuqsr] { position: relative; inset: auto; border-color: #354a60; border-top-color: #7791a321; border-radius: 0 0 .85rem .85rem; background: linear-gradient(160deg, #192f40, #102331 75%); box-shadow: 0 5px 16px #0002; }
.battle-page--staggered .battle-command[b-e0xllmuqsr]::before { display: none; }
.battle-page--staggered .battle-loadout-switch[b-e0xllmuqsr] { padding: 0; border-color: transparent; border-radius: 6px; background: #0a1b263d; }
.battle-page--staggered .battle-loadout-switch button.active[b-e0xllmuqsr] { background: #c5a56419; box-shadow: inset 0 -2px #cbb078; }
.battle-page--focused.battle-page--staggered .battle-command__shortcuts .battle-shortcut[b-e0xllmuqsr] { border-color: #6b879b22; background: #0a1b2638; color: #acc0ce; }
.battle-fill-slots[b-e0xllmuqsr] { position:relative; }
.battle-fill-slots__new[b-e0xllmuqsr] { position:absolute;top:-5px;right:-2px;padding:0 4px;border-radius:3px;background:#d2ae63;color:#0d1c27;font:600 11px/15px Arial,sans-serif;letter-spacing:.2px;pointer-events:none;box-shadow:0 0 0 2px #102432; }
.battle-dismiss-room__new[b-e0xllmuqsr] { padding:0 4px;border-radius:3px;background:#d2ae63;color:#0d1c27;font:600 10px/15px Arial,sans-serif;letter-spacing:.2px;pointer-events:none; }
.battle-lobby-dismiss[b-e0xllmuqsr] { position:relative;flex:0 0 auto;min-height:44px;padding:6px 10px;font-size:12px;white-space:nowrap; }
.battle-dismiss-hint[b-e0xllmuqsr] { grid-column:1/-1;grid-row:4;margin:0;padding:3px 5px;color:#dfc990;font-size:12px;line-height:1.5; }
.battle-page--focused.battle-page--staggered .battle-command__action .battle-auto[b-e0xllmuqsr] { border-color: #6b9b8045; background: #183b3030; }
.battle-page--focused.battle-page--staggered .battle-command__action .battle-controls__primary[b-e0xllmuqsr] { border-color: #d6b16c; background-color: #d4ae60; box-shadow: 0 2px 7px #030c1626; }
.battle-page--focused.battle-page--staggered .battle-turn-control > .battle-controls__primary--prepared[b-e0xllmuqsr] { display: flex; flex-direction: column; justify-content: center; gap: 1px; color: #bce1cf; border-color: #729e8777; background-color: #24493b; background-image: linear-gradient(90deg, #90c8a815, #90c8a829); box-shadow: none; }
.battle-controls__prepared-state[b-e0xllmuqsr] { font-size: .75rem; font-weight: 700; line-height: 1.25; }
.battle-page--staggered .battle-controls__primary--prepared .battle-controls__primary-label[b-e0xllmuqsr] { font-size: .6rem; font-weight: 400; color: #b2c9bf; line-height: 1.2; }
.battle-page--staggered .battle-turn-control:has(> .battle-controls__primary--prepared) .battle-turn-countdown[b-e0xllmuqsr] { color: #cae5d7; }
.battle-page--focused.battle-page--staggered .battle-command__action .auto-indicator[b-e0xllmuqsr] { color: #a4d3be; border-color: #709a8644; background-color: #16362d; }
.battle-page--focused.battle-page--staggered .battle-mobile-quick-actions[b-e0xllmuqsr] { gap: 4px; }
.battle-page--focused.battle-page--staggered .battle-mobile-quick-actions__characters[b-e0xllmuqsr] { grid-row: 1; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding-bottom: 3px; }
.battle-character-context[b-e0xllmuqsr] { grid-column: 1; grid-row: 2; display: grid; grid-template-rows: 20px 24px; align-content: center; gap: 4px; min-width: 0; min-height: 60px; padding: 4px 0 4px 7px; border: 0; border-left: 2px solid #d2b16b; border-radius: 0; background: transparent; color: #d7e1e8; text-align: left; cursor: pointer; }
.battle-character-context:hover[b-e0xllmuqsr] { background: #c1ac7b0b; }
.battle-character-context:focus-visible[b-e0xllmuqsr] { outline: 2px solid #e8bd72; outline-offset: -2px; }
.battle-page--focused.battle-page--staggered .battle-mobile-quick-actions__heading[b-e0xllmuqsr] { display: flex; align-items: center; min-width: 0; min-height: 0; padding: 0; gap: 6px; }
.battle-character-context .battle-mobile-quick-actions__heading > strong[b-e0xllmuqsr] { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.battle-context-tools[b-e0xllmuqsr] { grid-column: 2; grid-row: 2; display: flex; align-items: center; gap: 2px; }
.battle-page--focused.battle-page--staggered .battle-loadout-switch button[b-e0xllmuqsr] { min-width: 44px; padding-inline: 3px; font-size: 11px; }
.battle-page--staggered .battle-context-tools .battle-action-settings__panel[b-e0xllmuqsr] { right: 0; }
.battle-page--staggered .battle-action-profession[b-e0xllmuqsr] { display: none; }
.battle-page--focused.battle-page--staggered .battle-action-health[b-e0xllmuqsr] { flex: 0 1 auto; max-width: 64%; margin: 0; font-variant-numeric: tabular-nums; font-size: 10px; }
.battle-page--staggered .battle-mobile-quick-actions--solo .battle-character-context[b-e0xllmuqsr],
.battle-page--staggered .battle-mobile-quick-actions--solo .battle-context-tools[b-e0xllmuqsr] { grid-row: 1; }
.battle-page--staggered .battle-mobile-skill-rail[b-e0xllmuqsr], .battle-page--staggered .battle-supplies-panel[b-e0xllmuqsr] { grid-row: 3; }
.battle-page--staggered .battle-mobile-quick-actions--solo .battle-mobile-skill-rail[b-e0xllmuqsr],
.battle-page--staggered .battle-mobile-quick-actions--solo .battle-supplies-panel[b-e0xllmuqsr] { grid-row: 2; }
.battle-character-status[b-e0xllmuqsr] { display: flex; align-items: center; gap: 4px; min-width: 0; height: 24px; color: #a9bbc7; font-size: 11px; --battle-status-height: 22px; --battle-status-icon-size: 20px; --battle-status-counter-font: 8px; }
.battle-character-status[b-e0xllmuqsr]  .battle-status-strip { flex: 0 1 auto; width: auto; min-width: 0; }
.battle-character-status[b-e0xllmuqsr]  .battle-status-groups { flex-direction: row; gap: 4px; width: auto; }
.battle-character-status[b-e0xllmuqsr]  .battle-status-row { flex: 0 1 auto; }
.battle-character-status__detail[b-e0xllmuqsr] { margin-left: auto; padding-right: 4px; white-space: nowrap; color: #dfc48d; font-size: 15px; }
.battle-character-status__empty[b-e0xllmuqsr] { color: #839dac; white-space: nowrap; }
.battle-character-status:not(.combat-readout--playing):has([data-combat-status-static] .fighter__effect-icon) .battle-character-status__empty[b-e0xllmuqsr],
.battle-character-status.combat-readout--playing:has([data-combat-status-live] .fighter__effect-icon) .battle-character-status__empty[b-e0xllmuqsr] { display: none; }
.battle-character-status.combat-readout--playing[b-e0xllmuqsr]  [data-combat-status-static] { display: none; }
.battle-character-status.combat-readout--playing[b-e0xllmuqsr]  [data-combat-status-live] { display: flex; }
.battle-character-status:focus-visible[b-e0xllmuqsr] { outline: 2px solid #e8bd72; outline-offset: -2px; }
/* The tab is a compact overview; the selected actor's name lives in the heading. */
.battle-page--staggered .battle-mobile-character-tab[b-e0xllmuqsr] { grid-template-columns: minmax(0, 1fr) 12px; grid-template-rows: 46px 12px 3px 8px; min-height: 87px; padding: 4px; gap: 2px; border-color: transparent; background: linear-gradient(180deg, #243d4d45, #0b1e2966); box-shadow: none; }
.battle-page--staggered .battle-mobile-character-tab > .battle-character-avatar[b-e0xllmuqsr] { display: block; position: relative; grid-column: 1 / -1; grid-row: 1; justify-self: stretch; width: 100%; height: 46px; padding: 0; border: 0; border-radius: 3px; background: none; overflow: hidden; mask-image: linear-gradient(#000 80%, transparent); }
.battle-page--staggered .battle-character-avatar .profession-sprite[b-e0xllmuqsr] { position: absolute; width: 56px; height: 80px; max-width: none; left: 50%; top: 1px; transform: translateX(-50%); }
.battle-page--staggered .battle-mobile-character-tab > .battle-character-number[b-e0xllmuqsr] { top: 4px; left: 4px; z-index: 1; font-size: 10px; color: #acc0ce; background: #0c1e2be0; }
.battle-page--focused.battle-page--staggered .battle-mobile-character-tab > .battle-character-ready[b-e0xllmuqsr] { position:absolute;grid-area:auto;display:grid;place-items:center;top:3px;right:3px;left:auto;z-index:2;width:18px;height:18px;padding:0;border:1px solid #83c8a3;border-radius:4px;color:#c7f6d9;background:#245342;box-shadow:0 1px 3px #07111bcc;font:700 14px/1 system-ui;pointer-events:none; }
.fighter__ready-check[b-e0xllmuqsr] { position:absolute;top:-2px;right:-2px;z-index:5;display:grid;place-items:center;width:15px;height:15px;border:1px solid #83c8a3;border-radius:4px;color:#c7f6d9;background:#245342;font:700 12px/1 system-ui;pointer-events:none; }
.battle-page--staggered .battle-mobile-character-tab--targeted > .battle-character-buffs[b-e0xllmuqsr] { align-self: end; }
.battle-page--staggered .battle-mobile-character-tab.active[b-e0xllmuqsr] { border-color: #d6b777; background: linear-gradient(180deg, #73634850, #253a44); box-shadow: inset 0 -3px #d6b777; }
.battle-page--focused.battle-page--staggered .battle-mobile-character-tab--targeted[b-e0xllmuqsr] { border-color:#ed7369;background:linear-gradient(180deg,#743c3b70,#2e2e37);box-shadow:inset 0 0 12px #e3524940,0 0 7px #f1665a70; }
.battle-page--focused.battle-page--staggered .battle-mobile-character-tab--targeted.active[b-e0xllmuqsr] { box-shadow:inset 0 -3px #d6b777,inset 0 0 12px #e3524940,0 0 7px #f1665a70; }
.battle-page--staggered .battle-mobile-character-tab > small[b-e0xllmuqsr] { grid-column: 1 / -1; grid-row: 2; align-self: center; text-align: center; font-size: 10px; line-height: 12px; }
.battle-page--staggered .battle-mobile-character-tab > .battle-character-health[b-e0xllmuqsr] { position: relative; grid-column: 1 / -1; grid-row: 3; inset: auto; width: 100%; height: 3px; }
.battle-page--staggered .battle-mobile-character-tab > .battle-character-readiness[b-e0xllmuqsr] { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; grid-column: 1 / -1; grid-row: 4; justify-self: center; width: 100%; max-width: 58px; height: 8px; background: none; padding: 0; border: 0; border-radius: 0; }
.battle-readiness[b-e0xllmuqsr] { display: block; width: 100%; min-width: 0; height: 8px; border: 1px solid #39505f; border-radius: 2px; background: #0b1e2a; }
.battle-readiness--soul[b-e0xllmuqsr] { border-radius: 50%; }
.battle-readiness[data-state="ready"][b-e0xllmuqsr], .battle-readiness[data-state="queued"][b-e0xllmuqsr] { border-color: #e5c88e; background: #d9b875; }
.battle-readiness[data-state="cooling"][b-e0xllmuqsr], .battle-readiness[data-state="blocked"][b-e0xllmuqsr], .battle-readiness[data-state="conditional"][b-e0xllmuqsr], .battle-readiness[data-state="sealed"][b-e0xllmuqsr] { background: #566975; border-color: #6a7b86; }
.battle-page--staggered .battle-mobile-character-tab > .battle-character-buffs[b-e0xllmuqsr] { display: block; position: relative; grid-column: 2; grid-row: 1; width: 12px; height: 28px; padding: 0; border: 0; border-radius: 0; background: none; --battle-status-height: 28px; }
.battle-character-buffs[b-e0xllmuqsr]  .battle-status-row { flex-direction: column; flex: none; align-items: center; gap: 2px; }
.battle-character-buffs[b-e0xllmuqsr]  .battle-status-presence { display: grid; place-items: center; width: 12px; height: 12px; border-radius: 3px; color: #a6e8bf; background: #0b1d28d9; font: 800 11px/1 system-ui; }
.battle-character-buffs[b-e0xllmuqsr]  .battle-status-presence--negative { color: #ffad98; }
.battle-mobile-character-tab.combat-readout--playing[b-e0xllmuqsr]  [data-combat-status-static] { display: none; }
.battle-mobile-character-tab.combat-readout--playing[b-e0xllmuqsr]  [data-combat-status-live] { display: flex; }
/* Keep six fixed slots, but let their artwork carry more of the visual weight. */
.battle-page--focused.battle-page--staggered .battle-mobile-skill[b-e0xllmuqsr] { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 80px; padding: 4px 1px; gap: 0; border-color: #65819524; background: linear-gradient(#26405240, #0a1d2938); box-shadow: none; }
.battle-page--focused.battle-page--staggered .battle-mobile-skill--empty[b-e0xllmuqsr] { border-style: dashed; border-color: #52687866; background: #10233122; color: #7e94a4; }
.battle-page--focused.battle-page--staggered .battle-mobile-skill--empty > .battle-skill-empty-symbol[b-e0xllmuqsr] { position: static; display: grid; place-items: center; width: 42px; height: 42px; font-size: 22px; line-height: 1; font-weight: 300; color: #597183; }
.battle-page--staggered .battle-mobile-skill--empty > strong[b-e0xllmuqsr] { font-size: 10px; line-height: 13px; font-weight: 500; margin-top: 3px; }
.battle-page--focused.battle-page--staggered .battle-mobile-skill .battle-skill-card__icon[b-e0xllmuqsr],
.battle-page--focused.battle-page--staggered .battle-mobile-skill__icon[b-e0xllmuqsr] { width: 42px; height: 42px; flex-basis: 42px; border-width: 1px; border-color: #8da7b36e; border-radius: 6px; }
.battle-page--focused.battle-page--staggered .battle-mobile-skill .battle-skill-card__name[b-e0xllmuqsr],
.battle-page--focused.battle-page--staggered .battle-mobile-skill--soul strong[b-e0xllmuqsr] { font-size: 11px; line-height: 14px; margin-top: 3px; }
.battle-page--staggered .battle-mobile-skill[data-state="cooling"] .battle-mobile-skill__icon img[b-e0xllmuqsr] { filter: grayscale(.7); opacity: .5; }
.battle-page--staggered .battle-mobile-skill .battle-skill-card__art[b-e0xllmuqsr] { padding: 2px; }
.battle-page--staggered .battle-mobile-skill .battle-skill-card__flare[b-e0xllmuqsr] { display: none; }
.battle-page--staggered .battle-mobile-skill .battle-skill-card__check[b-e0xllmuqsr] { width: 12px; height: 12px; right: 1px; bottom: 1px; font-size: 9px; }
.battle-page--staggered .battle-mobile-skill .battle-skill-card__slot[b-e0xllmuqsr] { width: 11px; height: 11px; top: 1px; left: 1px; font-size: 8px; }
.battle-page--focused.battle-page--staggered .battle-skill-card--selected[b-e0xllmuqsr],
.battle-page--focused.battle-page--staggered .battle-mobile-skill--selected[b-e0xllmuqsr] { border-color: transparent; background: #b4924921; box-shadow: inset 0 -2px #d3b16e; }
.battle-page--focused.battle-page--staggered .battle-skill-card--selected .battle-skill-card__icon[b-e0xllmuqsr] { border-color: #dfbe7c; }
@container game-shell (max-width: 360px) {
    .battle-page--staggered .battle-stage__meta .battle-mode[b-e0xllmuqsr] { padding-inline: 3px; }
    .battle-character-status[b-e0xllmuqsr] { --battle-status-icon-size: 16px; }
    .battle-character-status[b-e0xllmuqsr]  .battle-status-row { gap: 2px; }
    .battle-character-context .battle-mobile-quick-actions__heading[b-e0xllmuqsr] { gap: 3px; }
}

/* Keep the existing skill layout when it fits; a measured short viewport gets
   a roster overview and a local drawer above the persistent turn controls. */
.battle-skill-expand[b-e0xllmuqsr], .battle-skill-panel__navigation[b-e0xllmuqsr] { display: none; }
.battle-skill-panel[b-e0xllmuqsr] { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px; min-width: 0; }
.battle-skill-panel[b-e0xllmuqsr], .battle-skill-panel__body[b-e0xllmuqsr] { touch-action: pan-y pinch-zoom; }
/* Inner icon and skill rails also establish scroll containers. Declare the gesture
   there so the browser preserves vertical scrolling without consuming horizontal swipes. */
.battle-skill-panel[b-e0xllmuqsr]  :is(.battle-mobile-skill-rail, .battle-mobile-skill, .battle-mobile-skill *, .battle-character-context, .battle-character-context *, .battle-supplies, .battle-supplies *) { touch-action: pan-y pinch-zoom; }
.battle-skill-panel__body[b-e0xllmuqsr] { display: contents; }
.battle-mobile-quick-actions--solo .battle-skill-panel[b-e0xllmuqsr] { grid-row: 1; }
.battle-page--focused.battle-page--staggered .battle-skill-panel__body > .battle-character-context[b-e0xllmuqsr],
.battle-page--focused.battle-page--staggered .battle-skill-panel__body > .battle-context-tools[b-e0xllmuqsr] { grid-row: 1; }
.battle-page--focused.battle-page--staggered .battle-skill-panel__body > .battle-mobile-skill-rail[b-e0xllmuqsr],
.battle-page--focused.battle-page--staggered .battle-skill-panel__body > .battle-supplies-panel[b-e0xllmuqsr] { grid-row: 2; }
.battle-skill-panel__body > .battle-mobile-quick-actions__hint[b-e0xllmuqsr] { grid-column: 1 / -1; grid-row: 3; }
.battle-page--compact-skills .battle-mobile-quick-actions[b-e0xllmuqsr] { position: relative; }
.battle-page--compact-skills .battle-skill-expand[b-e0xllmuqsr] { grid-column: 1 / -1; grid-row: 2; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; min-height: 44px; padding: 5px 8px; border: 1px solid #6b879b44; border-radius: 6px; background: #102735; color: #e2c486; font-size: 12px; text-align: left; }
.battle-skill-expand strong[b-e0xllmuqsr] { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #d7e1e8; font-size: 11px; }
.battle-skill-expand > span[b-e0xllmuqsr] { flex: 0 0 auto; }
.battle-page--compact-skills .battle-mobile-quick-actions--solo .battle-skill-expand[b-e0xllmuqsr] { display: flex; grid-row: 1; }
.battle-page--compact-skills .battle-skill-panel[b-e0xllmuqsr] { position: absolute; bottom: 0; left: -9px; right: -9px; z-index: 20; display: flex; flex-direction: column; max-height: max(180px, calc(var(--battle-viewport-height, 100dvh) - 150px)); visibility: hidden; pointer-events: none; padding: 0; border: 0; background: transparent; box-shadow: none; }
.battle-page--compact-skills .battle-skill-panel__body[b-e0xllmuqsr] { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-auto-rows: max-content; gap: 4px; min-height: 0; padding: 8px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #7e8b91; border-top-color: #d2b16b; border-radius: 10px; background: linear-gradient(155deg, #203848, #102331 80%); box-shadow: 0 6px 20px #030a1270; }
.battle-page--compact-skills.battle-page--skills-open .battle-command[b-e0xllmuqsr] { z-index: 7; }
.battle-page--compact-skills.battle-page--skills-open .battle-skill-panel[b-e0xllmuqsr] { visibility: visible; pointer-events: auto; }
.battle-page--compact-skills.battle-page--skills-open .battle-mobile-quick-actions__characters[b-e0xllmuqsr],
.battle-page--compact-skills.battle-page--skills-open .battle-skill-expand[b-e0xllmuqsr] { visibility: hidden; pointer-events: none; }
.battle-page--compact-skills .battle-skill-panel__navigation[b-e0xllmuqsr] { display: flex; flex: 0 0 44px; align-items: center; gap: 4px; padding: 0 2px; background: transparent; border: 0; }
.battle-skill-panel__navigation button[b-e0xllmuqsr] { flex: 0 0 auto; min-width: 44px; min-height: 44px; border: 1px solid #72838f88; border-radius: 8px; color: #e8c98a; background: #152b3bf2; box-shadow: 0 2px 6px #030a1255; font-size: 18px; }
.battle-skill-panel__navigation button:first-child[b-e0xllmuqsr] { margin-right: auto; padding-inline: 10px; font-size: 12px; }
.battle-skill-panel__navigation button:hover[b-e0xllmuqsr], .battle-skill-expand:hover[b-e0xllmuqsr] { background: #29404e; }
.battle-skill-panel__navigation button:focus-visible[b-e0xllmuqsr], .battle-skill-expand:focus-visible[b-e0xllmuqsr] { outline: 2px solid #e8bd72; outline-offset: -2px; }

.management-unit-auto[b-e0xllmuqsr] { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: .8rem 0; color: #d7e1e5; font-size: .85rem; }
.management-unit-auto small[b-e0xllmuqsr] { color: #9fb3c1; }

.management-batch-entry[b-e0xllmuqsr]{display:flex;align-items:center;gap:12px;margin:12px 0}.management-batch-entry span[b-e0xllmuqsr]{font-size:.76rem;color:var(--battle-muted,#aaa)}.management-experience-preview[b-e0xllmuqsr]{padding:12px 14px;margin:12px 0;border:1px solid #b5a67a55;border-radius:10px;font-size:.82rem;background:#a2966a0b}.management-experience-preview p[b-e0xllmuqsr]{margin:6px 0;font-size:.78rem}.management-experience-preview small[b-e0xllmuqsr]{opacity:.7}@media(max-width:520px){.management-batch-entry[b-e0xllmuqsr]{align-items:flex-start;flex-direction:column;gap:5px}}


.battle-float-overlay.battle-float-overlay[b-e0xllmuqsr] { top:var(--app-top-inset); }
.battle-page--compact-skills .battle-mobile-quick-actions[b-e0xllmuqsr] { position:static; }
.battle-page--compact-skills.battle-page--skills-open .battle-mobile-quick-actions__characters[b-e0xllmuqsr] { visibility:visible; pointer-events:auto; }
.battle-page--compact-skills .battle-skill-panel[b-e0xllmuqsr] { grid-area:auto; bottom:calc(100% + 6px); left:0; right:0; max-height:min(440px, calc(100dvh - var(--app-top-inset) - 260px)); }
@media(max-width:700px) {
 .battle-page--focused.battle-page--staggered .battle-command[b-e0xllmuqsr] { overflow:visible; }
}


.battle-page--focused .battle-mobile-quick-actions[b-e0xllmuqsr] { grid-row:1; }
.battle-page--focused .battle-command__shortcuts[b-e0xllmuqsr], .battle-page--focused .battle-command__action[b-e0xllmuqsr] { grid-row:2; }
.battle-page--focused .battle-command__message[b-e0xllmuqsr] { grid-row:3; }
.battle-page--staggered:not(.battle-page--compact-skills) .battle-character-context[b-e0xllmuqsr] { grid-template-rows:20px 20px;min-height:44px;gap:0;padding-block:2px; }
.battle-page--staggered:not(.battle-page--compact-skills) .battle-character-status[b-e0xllmuqsr] { height:20px;--battle-status-height:20px;--battle-status-icon-size:18px; }
.battle-page--focused.battle-page--staggered:not(.battle-page--compact-skills) .battle-command[b-e0xllmuqsr] { padding:4px;gap:4px; }
.battle-page--staggered:not(.battle-page--compact-skills) .battle-mobile-character-tab[b-e0xllmuqsr] { grid-template-rows:38px 12px 3px 8px;min-height:77px; }
.battle-page--focused.battle-page--staggered:not(.battle-page--compact-skills) .battle-mobile-character-tab > .battle-character-avatar[b-e0xllmuqsr] { height:38px; }
.battle-page--staggered:not(.battle-page--compact-skills) .battle-context-tools .battle-loadout-switch[b-e0xllmuqsr] { border:0; }
.battle-page--focused.battle-page--staggered:not(.battle-page--compact-skills) .battle-mobile-skill[b-e0xllmuqsr] { min-height:60px;padding-block:2px; }
.battle-page--focused.battle-page--staggered:not(.battle-page--compact-skills) .battle-mobile-skill .battle-skill-card__icon[b-e0xllmuqsr],
.battle-page--focused.battle-page--staggered:not(.battle-page--compact-skills) .battle-mobile-skill__icon[b-e0xllmuqsr],
.battle-page--focused.battle-page--staggered:not(.battle-page--compact-skills) .battle-mobile-skill--empty > .battle-skill-empty-symbol[b-e0xllmuqsr] { width:36px;height:36px;flex-basis:36px; }
@container game-shell (min-width:360px) {
    .battle-page--staggered:not(.battle-page--compact-skills) .battle-mobile-character-tab[b-e0xllmuqsr] { grid-template-rows:44px 12px 3px 8px;min-height:83px; }
    .battle-page--focused.battle-page--staggered:not(.battle-page--compact-skills) .battle-mobile-character-tab > .battle-character-avatar[b-e0xllmuqsr] { height:44px; }
    .battle-page--focused.battle-page--staggered:not(.battle-page--compact-skills) .battle-mobile-skill[b-e0xllmuqsr] { min-height:66px; }
    .battle-page--focused.battle-page--staggered:not(.battle-page--compact-skills) .battle-mobile-skill .battle-skill-card__icon[b-e0xllmuqsr],
    .battle-page--focused.battle-page--staggered:not(.battle-page--compact-skills) .battle-mobile-skill__icon[b-e0xllmuqsr],
    .battle-page--focused.battle-page--staggered:not(.battle-page--compact-skills) .battle-mobile-skill--empty > .battle-skill-empty-symbol[b-e0xllmuqsr] { width:42px;height:42px;flex-basis:42px; }
}

.battle-lobby-feedback[b-e0xllmuqsr] { margin:0 .65rem .65rem; padding:9px 12px; border:1px solid #579a7c77; border-radius:7px; background:#183b31; color:#b7dfca; font-size:12px; }
.battle-lobby-return[b-e0xllmuqsr] { border:0; padding:2px 0; background:transparent; color:var(--color-gold, #e4bf72); font:inherit; text-decoration:underline; cursor:pointer; }
.battle-lobby-return:disabled[b-e0xllmuqsr] { opacity:.6; cursor:wait; }
.battle-lobby-result[b-e0xllmuqsr] { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0 .65rem .65rem; padding:10px; border:1px solid #b59b5b77; border-radius:8px; background:#544a291c; }
.battle-lobby-result > div[b-e0xllmuqsr] { display:grid; gap:3px; flex:1; min-width:160px; }
.battle-lobby-result strong[b-e0xllmuqsr] { color:#ead49b; font-size:14px; }
.battle-lobby-result small[b-e0xllmuqsr] { color:#a8bdc9; font-size:11px; }
.battle-lobby-result .button[b-e0xllmuqsr] { font-size:11px; padding:5px 8px; }
.battle-launch-summary[b-e0xllmuqsr] { grid-column:1/-1; margin:0; padding:3px 5px; color:#dfc990; font-size:12px; }
.battle-launch-mode[b-e0xllmuqsr] { display:inline-flex;align-items:center;gap:4px;min-height:28px;margin:0 2px 0 -3px;padding:1px 4px;border:1px solid #d2ae6344;border-radius:5px;background:#d2ae6314;color:inherit;font:inherit;vertical-align:middle;cursor:pointer; }
.battle-launch-mode span[b-e0xllmuqsr] { font-size:14px;line-height:1; }
.battle-launch-mode:hover:not(:disabled)[b-e0xllmuqsr] { background:#d2ae632b;border-color:#d2ae6388; }
.battle-launch-mode:active:not(:disabled)[b-e0xllmuqsr] { transform:translateY(1px); }
.battle-launch-mode:focus-visible[b-e0xllmuqsr] { outline:2px solid #dfbd78;outline-offset:2px; }
.battle-launch-mode:disabled[b-e0xllmuqsr] { opacity:.65;cursor:default; }
@media (pointer:coarse) { .battle-launch-mode[b-e0xllmuqsr] { min-height:44px; } }
.battle-page--lobby .battle-command__shortcuts[b-e0xllmuqsr], .battle-page--lobby .battle-command__action[b-e0xllmuqsr] { grid-row:2; }
.battle-page--lobby .battle-launch-summary[b-e0xllmuqsr] { grid-row:1; }
.fighter--new[b-e0xllmuqsr] { box-shadow:inset 0 0 0 2px #78cda7; border-radius:8px; }

/* One composition for preparation and combat. Slot index never depends on occupancy. */
.battle-page--focused .battle-page__header[b-e0xllmuqsr] { display:none; }
.battle-page--focused.battle-page--staggered[b-e0xllmuqsr] { gap:0; }
.battle-page--lobby .battle-stage__footer[b-e0xllmuqsr] { display:none; }
.battle-page--lobby .battle-field__label[b-e0xllmuqsr] { display:none; }
.battle-page--lobby .battle-lobby-result[b-e0xllmuqsr] { order:3;margin:0;padding:8px 10px;min-height:44px;border:0;border-radius:0;flex-wrap:nowrap; }
.battle-page--lobby .battle-lobby-result strong[b-e0xllmuqsr] { font-size:12px; }
.battle-page--lobby .battle-lobby-result small[b-e0xllmuqsr] { font-size:10px; }
.battle-page--lobby .battle-lobby-result > div[b-e0xllmuqsr] { min-width:0; }
.battle-page--lobby .battle-lobby-feedback[b-e0xllmuqsr] { order:4;margin:0;border:0;border-radius:0;padding:7px 10px;font-size:11px; }
.battle-page--focused.battle-page--staggered .fighter--vacant[b-e0xllmuqsr] { display:flex;flex-direction:column;justify-content:center;gap:0;min-height:44px; }
.battle-page--staggered .fighter--vacant .fighter__vacancy-art[b-e0xllmuqsr] { height:100%;min-height:44px;width:100%;border-radius:10px 10px 6px 6px; }
.battle-page--staggered .fighter__vacancy-number[b-e0xllmuqsr] { position:absolute;z-index:1;bottom:-2px;left:-4px;display:grid;place-items:center;width:18px;height:18px;border:1px solid #a3ad8c;border-radius:5px;background:#172c36;color:#e9d09a;font-size:11px; }
.battle-page--staggered .fighter__vacancy-label[b-e0xllmuqsr] { display:none; }
.battle-page--lobby .fighter__vitals > strong[b-e0xllmuqsr] { display:none; }
.battle-page--lobby .fighter--new[b-e0xllmuqsr] { outline:2px solid #78cda7;outline-offset:3px;box-shadow:0 0 14px #78cda744; }
.battle-page--staggered .battle-stage__heading .section-kicker[b-e0xllmuqsr] { display:none; }
.battle-page--focused.battle-page--staggered .battle-stage__header h1[b-e0xllmuqsr] { font-size:13px; }
.battle-page--lobby .battle-stage__meta .battle-status[b-e0xllmuqsr] { display:block;font-size:10px;padding:0 4px;border:0;background:none; }
.battle-arranged-tag[b-e0xllmuqsr] { border:1px solid #a38c50;color:#ead29c;border-radius:4px;background:#433e2d;font-size:10px;padding:4px;min-height:32px;white-space:nowrap; }
.battle-menu-room[b-e0xllmuqsr] { color:#bacbd4;font-size:12px;user-select:all; }
.battle-first-complete[b-e0xllmuqsr] { display:grid; justify-items:center; align-content:center; gap:8px; height:100%; color:#edd39c; text-align:center; }
.battle-first-complete strong[b-e0xllmuqsr] { font-size:clamp(16px,3vw,24px); }
.battle-first-complete span[b-e0xllmuqsr] { color:#b8c7bf; font-size:12px; }
.battle-first-complete img[b-e0xllmuqsr] { width:min(100%,180px); max-height:150px; object-fit:contain; opacity:.55; filter:saturate(.45); }
.skill-dialog__auto-state[b-e0xllmuqsr] { margin:10px 0; color:#ecd3a1; font-size:12px; line-height:1.65; }
.skill-dialog__auto-details[b-e0xllmuqsr] { color:#adbfca; font-size:12px; line-height:1.65; }
.skill-dialog__auto-details > summary[b-e0xllmuqsr] { cursor:pointer; min-height:44px; display:flex; align-items:center; }
.skill-dialog__auto-details > summary[b-e0xllmuqsr]::before { content:'▸'; margin-right:8px; }
.skill-dialog__auto-details[open] > summary[b-e0xllmuqsr]::before { content:'▾'; }
.battle-run-end-head[b-e0xllmuqsr] { display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;border-bottom:1px solid #59748655; }
.battle-run-end-head h2[b-e0xllmuqsr] { font-size:17px;margin:0;color:#edd3a2; }
.battle-run-end-head button[b-e0xllmuqsr] { width:44px;height:44px;border:0;background:transparent;color:#c3d1d9;font-size:26px;cursor:pointer; }
[b-e0xllmuqsr] .battle-run-end-dialog { width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - var(--app-top-inset) - 32px);overflow:auto;padding:0;border:1px solid #647b8a;border-radius:12px;color:#e3edf4;background:#132a39; }
.battle-page--focused.battle-page--staggered:not(.battle-page--lobby) .battle-command[b-e0xllmuqsr] { grid-template-columns:minmax(0,1fr); }
.battle-page--focused.battle-page--staggered:not(.battle-page--lobby) .battle-command__action[b-e0xllmuqsr] { grid-column:1; }
.management-roster[b-e0xllmuqsr] { display:grid;gap:6px; }
.management-slot.management-slot--occupied[b-e0xllmuqsr] { display:grid;grid-template-columns:20px 38px minmax(0,1fr) auto;min-height:68px;padding:6px 8px;gap:7px; }
.management-slot__portrait[b-e0xllmuqsr] { width:38px;height:52px; }
.management-slot__body[b-e0xllmuqsr] { min-width:0;gap:4px; }
.management-slot__name[b-e0xllmuqsr] { display:flex;align-items:baseline;gap:8px; }
.management-slot__name strong[b-e0xllmuqsr] { font-size:13px; }
.management-slot__name small[b-e0xllmuqsr] { font-size:11px; }
.management-slot__formation[b-e0xllmuqsr] { overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px; }
.management-slot__state[b-e0xllmuqsr] { font-size:10px;gap:6px; }
.management-experience-preview[b-e0xllmuqsr] { margin:10px 0;padding:8px 10px; }
.management-experience-preview summary[b-e0xllmuqsr] { min-height:32px;align-content:center;cursor:pointer;color:#ceb98c;font-size:12px; }
.management-position-grid[b-e0xllmuqsr] { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,28px);gap:3px 10px;max-width:300px;margin:12px auto; }
.management-position-cell[b-e0xllmuqsr] { grid-column:var(--position-column);grid-row:calc(5 - var(--formation-index));display:grid;grid-template-columns:20px 30px minmax(0,1fr);align-items:center;text-align:left;gap:4px;transform:translateY(-14px);min-height:52px;padding:4px;border:1px solid #5b7585;border-radius:7px;background:#122938;color:#bdced7;font-size:11px;cursor:pointer; }
.management-position-cell:nth-child(even)[b-e0xllmuqsr] { transform:translateY(0); }
.management-position-cell img[b-e0xllmuqsr] { width:28px;height:42px;object-fit:contain;image-rendering:pixelated; }
.management-position-cell[aria-pressed=true][b-e0xllmuqsr] { border-color:#e1bd77;background:#514a35;color:#f4ddae; }
.management-position-cell.is-current[b-e0xllmuqsr] { border-color:#7b9d92;background:#214139;opacity:1; }
.management-position-cell:disabled:not(.is-current)[b-e0xllmuqsr] { opacity:.45;cursor:default; }
.management-move-preview[b-e0xllmuqsr] { padding:8px 10px;background:#ad985c22;color:#f0d19a;font-size:12px; }
@media(max-width:420px) {
 .battle-page--lobby .battle-stage__meta[b-e0xllmuqsr] { gap:0; }
 .battle-page--lobby .battle-stage__meta .battle-mode[b-e0xllmuqsr] { font-size:10px; }
 .battle-page--lobby .battle-stage__meta .battle-status[b-e0xllmuqsr] { display:none; }
 .battle-page--focused.battle-page--staggered .battle-stage__header h1[b-e0xllmuqsr] { font-size:12px; }
}
.battle-pending-updates[b-e0xllmuqsr]{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:8px 10px;margin:6px 0;border:1px solid #ac8b4c66;border-radius:9px;background:#564b292e;color:#dbc99f;font-size:.75rem;line-height:1.5}.battle-pending-updates span[b-e0xllmuqsr]{min-width:0}.battle-pending-updates small[b-e0xllmuqsr]{display:block;color:#aabbc1}.battle-pending-updates button[b-e0xllmuqsr]{flex-shrink:0;min-height:44px;padding:6px 10px;border:1px solid #9d895e;border-radius:7px;background:#334740;color:#f1ddaf;font-size:.76rem}

/* Lobby preparation tools and launch actions share one compact, aligned grid. */
.battle-page--focused.battle-page--lobby .battle-command--dismiss[b-e0xllmuqsr] { grid-template-columns:minmax(0,1fr) 116px;padding:8px 10px 10px;gap:8px; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss:has(> .battle-command__action > .battle-auto)[b-e0xllmuqsr] { grid-template-columns:52px minmax(0,1fr) 116px; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-command__action[b-e0xllmuqsr] { display:contents; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-launch-summary[b-e0xllmuqsr] { grid-column:1/-1;grid-row:1;display:flex;align-items:center;gap:10px;min-width:0;padding:0; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-launch-mode[b-e0xllmuqsr] { display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0;padding:4px 9px;border-color:#8b8058;border-radius:7px;background:#384031;color:#f0d598;line-height:1.25; }
.battle-launch-mode__copy[b-e0xllmuqsr] { display:flex;flex-direction:column;align-items:flex-start;gap:2px; }
.battle-launch-mode__switch[b-e0xllmuqsr] { margin-left:4px;color:#cbb883; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-launch-mode:hover:not(:disabled)[b-e0xllmuqsr] { background:#444c38;border-color:#c1a96f; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-launch-mode__name[b-e0xllmuqsr] { display:inline-flex;align-items:center;gap:6px;font-size:12px; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-launch-mode small[b-e0xllmuqsr] { color:#bfccb6;font-size:11px;white-space:nowrap; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-launch-count[b-e0xllmuqsr] { margin-left:auto;padding-right:4px;color:#adbfbd;font-size:11px;white-space:nowrap; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-command__action > .battle-auto[b-e0xllmuqsr] { grid-column:1;grid-row:3;order:0;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:52px;min-width:52px;min-height:48px;margin:0;padding:4px;border-color:#69765b;border-radius:6px;background:#34402e;color:#ede3bf;font-size:11px; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-auto > span[b-e0xllmuqsr] { gap:4px; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-auto input[b-e0xllmuqsr] { width:14px;height:14px;margin:0; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-auto__label-full[b-e0xllmuqsr] { display:none; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-auto__label-mobile[b-e0xllmuqsr] { display:inline; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-command__shortcuts[b-e0xllmuqsr] { grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-command__shortcuts > .battle-shortcut[b-e0xllmuqsr] { display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:46px;margin:0;padding:6px 10px;border-color:#7d907c;border-radius:6px;background:linear-gradient(#3b4b40,#304035);color:#f0eee0;font-size:12px; }
.battle-page--lobby .battle-fill-slots__label[b-e0xllmuqsr] { display:inline; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-command__shortcuts > .battle-shortcut:disabled[b-e0xllmuqsr] { background:#252e23;border-color:#495642;color:#9eac94;opacity:1;box-shadow:none; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-command__shortcuts > .battle-shortcut:hover:not(:disabled)[b-e0xllmuqsr] { background:#435448;border-color:#b5c2a5; }
.battle-command--dismiss .battle-command__shortcuts[b-e0xllmuqsr]  .simulation-entry { display:flex;width:100%; }
.battle-command--dismiss .battle-command__shortcuts[b-e0xllmuqsr]  .simulation-entry__trigger { width:100%;min-height:46px;padding:6px 10px;border:1px solid #7d907c;border-radius:6px;background:linear-gradient(#3b4b40,#304035);color:#f0eee0;font-size:12px; }
.battle-command--dismiss .battle-command__shortcuts[b-e0xllmuqsr]  .simulation-entry__trigger:hover { background:#435448;border-color:#b5c2a5; }
.battle-command--dismiss .battle-command__shortcuts[b-e0xllmuqsr]  .simulation-entry__trigger--active { border-color:#9fba89;color:#d5ebc9; }
.battle-command--dismiss .battle-command__shortcuts[b-e0xllmuqsr]  .simulation-entry__trigger small { font-size:11px;line-height:1.25;color:#c0dfb5; }
.battle-command--dismiss .battle-command__shortcuts[b-e0xllmuqsr]  .simulation-entry__trigger .simulation-entry__warning { color:#ebc88a; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-turn-control[b-e0xllmuqsr] { grid-column:-3;grid-row:3; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-turn-control > .battle-controls__primary[b-e0xllmuqsr] { min-height:48px;padding:8px 12px;border-radius:7px;font-size:14px; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-lobby-dismiss[b-e0xllmuqsr] { grid-column:-2;grid-row:3;display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:8px;border-color:#9c7765;border-radius:7px;background:#3c342b;color:#e8bfb0;font-size:12px; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-lobby-dismiss:hover:not(:disabled)[b-e0xllmuqsr] { background:#514037;border-color:#c79580; }
.battle-page--lobby .battle-lobby-result .battle-lobby-loot[b-e0xllmuqsr] { display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border-color:#a39163;border-radius:7px;background:linear-gradient(#484b35,#3a402e);color:#f1ddad; }
.battle-page--lobby .battle-lobby-result .battle-lobby-loot:hover[b-e0xllmuqsr] { background:#51553b;border-color:#ddc28a; }
.battle-command--dismiss .battle-launch-mode[b-e0xllmuqsr]  .story-icon,
.battle-command--dismiss .battle-fill-slots[b-e0xllmuqsr]  .story-icon,
.battle-command--dismiss .battle-lobby-dismiss[b-e0xllmuqsr]  .story-icon,
.battle-lobby-result .battle-lobby-loot[b-e0xllmuqsr]  .story-icon { flex:0 0 16px;width:16px;height:16px; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-dismiss-hint[b-e0xllmuqsr] { grid-row:4;padding:2px 0 0;color:#b6c4b9;font-size:11px;line-height:1.5; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-dismiss-hint > span[b-e0xllmuqsr] { margin-right:3px;color:#d2b16b; }
.battle-page--focused.battle-page--lobby .battle-command--dismiss .battle-command__message[b-e0xllmuqsr] { grid-column:1/-1;grid-row:5; }

/* The short-viewport panel shares its heading with the close action. */
.battle-skill-panel__header[b-e0xllmuqsr], .battle-character-context__details[b-e0xllmuqsr] { display:contents; }
.battle-skill-panel__avatar[b-e0xllmuqsr], .battle-skill-panel__close[b-e0xllmuqsr] { display:none; }
.battle-page--staggered:not(.battle-page--compact-skills) .battle-skill-panel__header .battle-character-context[b-e0xllmuqsr] { grid-row:1; }
.battle-page--compact-skills .battle-skill-panel__body[b-e0xllmuqsr] { grid-template-columns:minmax(0,1fr);gap:6px;padding:0 8px 8px;border-top:2px solid #dcc081;border-radius:13px;background:linear-gradient(135deg,#1c3545,#112734);box-shadow:0 -5px 24px #050f1366,0 3px 8px #08151780; }
.battle-page--compact-skills .battle-skill-panel__header[b-e0xllmuqsr] { display:flex;grid-column:1/-1;grid-row:1;align-items:center;gap:6px;min-height:56px; }
.battle-page--compact-skills .battle-skill-panel__header .battle-character-context[b-e0xllmuqsr] { display:flex;flex:1;align-items:center;gap:8px;min-height:44px;padding:4px 0;border:0;border-radius:6px; }
.battle-page--compact-skills .battle-skill-panel__avatar[b-e0xllmuqsr] { display:block;flex:0 0 34px;width:34px;height:42px;overflow:hidden;border-radius:6px;background:#254236; }
.battle-skill-panel__avatar img[b-e0xllmuqsr] { display:block;width:100%;height:100%;object-fit:cover;object-position:center top;image-rendering:pixelated; }
.battle-page--compact-skills .battle-character-context__details[b-e0xllmuqsr] { display:flex;flex:1;align-items:center;gap:6px;min-width:0; }
.battle-page--focused.battle-page--compact-skills .battle-character-context .battle-mobile-quick-actions__heading[b-e0xllmuqsr] { display:grid;flex:1;gap:3px; }
.battle-page--focused.battle-page--compact-skills .battle-character-context .battle-mobile-quick-actions__heading > strong[b-e0xllmuqsr] { font-size:13px; }
.battle-page--focused.battle-page--compact-skills .battle-character-context .battle-action-health[b-e0xllmuqsr] { max-width:none;font-size:11px; }
.battle-page--compact-skills .battle-character-context .battle-character-status[b-e0xllmuqsr] { flex:0 1 auto;max-width:78px; }
.battle-page--compact-skills .battle-character-status__empty[b-e0xllmuqsr] { display:none; }
.battle-page--compact-skills .battle-skill-panel__close[b-e0xllmuqsr] { display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #455d6a;border-radius:8px;background:#122734;color:#d7bc87;font-size:22px; }
.battle-skill-panel__close:focus-visible[b-e0xllmuqsr] { outline:2px solid #e8bd72;outline-offset:-3px; }
.battle-page--focused.battle-page--compact-skills .battle-skill-panel__body > .battle-context-tools[b-e0xllmuqsr] { grid-column:1/-1;grid-row:2;display:block; }
.battle-page--compact-skills .battle-context-tools .battle-loadout-switch[b-e0xllmuqsr] { display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:3px;border:0;border-radius:8px;background:#0c202c; }
.battle-page--focused.battle-page--compact-skills .battle-loadout-switch button[b-e0xllmuqsr] { min-height:44px;border:0;border-radius:6px;font-size:13px; }
.battle-page--compact-skills .battle-loadout-switch button.active[b-e0xllmuqsr] { color:#f2d59c;background:#2c3a3b;box-shadow:inset 0 -2px #d7b771; }
.battle-page--focused.battle-page--compact-skills .battle-skill-panel__body > .battle-mobile-skill-rail[b-e0xllmuqsr],
.battle-page--focused.battle-page--compact-skills .battle-skill-panel__body > .battle-supplies-panel[b-e0xllmuqsr] { grid-column:1/-1;grid-row:3; }
.battle-page--compact-skills .battle-skill-panel__body > .battle-mobile-quick-actions__hint[b-e0xllmuqsr] { grid-row:4; }
.battle-page--focused.battle-page--compact-skills .battle-mobile-skill-rail[b-e0xllmuqsr] { grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;overflow:visible; }
.battle-page--focused.battle-page--compact-skills .battle-mobile-skill[b-e0xllmuqsr] { min-height:82px;padding:5px 1px;border-radius:8px; }
.battle-page--focused.battle-page--compact-skills .battle-mobile-skill .battle-skill-card__icon[b-e0xllmuqsr],
.battle-page--focused.battle-page--compact-skills .battle-mobile-skill__icon[b-e0xllmuqsr],
.battle-page--focused.battle-page--compact-skills .battle-mobile-skill--empty > .battle-skill-empty-symbol[b-e0xllmuqsr] { width:40px;height:40px;flex-basis:40px; }
.battle-page--focused.battle-page--compact-skills .battle-mobile-skill .battle-skill-card__name[b-e0xllmuqsr] { display:flex;align-items:center;justify-content:center;min-height:29px;margin-top:3px;white-space:normal;text-align:center;font-size:12px;line-height:1.2; }
.battle-page--compact-skills .battle-skill-card__name-text[b-e0xllmuqsr] { width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere; }
.battle-page--compact-skills .battle-skill-card__name-text--paired[b-e0xllmuqsr] { max-width:2em; }
.battle-page--compact-skills .battle-skill-card--selected[b-e0xllmuqsr] { border-color:#e8c583;background:#414535;box-shadow:inset 0 0 0 1px #e8c583; }
.battle-page--compact-skills .battle-skill-card--selected .battle-skill-card__check[b-e0xllmuqsr] { width:18px;height:17px;right:0;bottom:0;border-radius:5px 0 0;background:#e2bd78;color:#152a33;font-size:12px; }
/* The selected operator stays distinct from the enemy's red target marker. */
.battle-page--focused.battle-page--staggered .battle-mobile-character-tab[b-e0xllmuqsr] { overflow:visible; }
.battle-page--focused.battle-page--staggered .battle-command .battle-mobile-character-tab.active[b-e0xllmuqsr] { z-index:2;border-color:#f1ca80;background:radial-gradient(ellipse at 50% 20%,#977a43,#5a5033 72%);box-shadow:inset 0 0 0 1px #f1ca80,0 0 0 1px #b99754; }
.battle-page--focused.battle-page--staggered .battle-command .battle-mobile-character-tab--targeted.active[b-e0xllmuqsr] { border-color:#ed7369;box-shadow:inset 0 -3px #d6b777,inset 0 0 12px #e3524940,0 0 7px #f1665a70; }
.battle-page--focused.battle-page--staggered .battle-mobile-character-tab.active .battle-character-number[b-e0xllmuqsr] { background:#e9c37e;color:#293628; }
.battle-page--focused.battle-page--staggered .battle-mobile-character-tab > .battle-character-current[b-e0xllmuqsr] { position:absolute;z-index:3;grid-area:auto;top:-8px;left:50%;transform:translateX(-50%);display:block;width:auto;min-width:44px;height:15px;padding:0 5px;border:0;border-radius:4px;background:#ebc681;color:#2f3225;box-shadow:0 1px 3px #19241e;font:650 11px/15px system-ui,sans-serif;white-space:nowrap;pointer-events:none; }
.battle-page--staggered .battle-mobile-character-tab.active .battle-character-avatar .profession-sprite[b-e0xllmuqsr] { top:4px; }
@container game-shell (max-width:360px) {
    .battle-page--compact-skills .battle-skill-panel__body[b-e0xllmuqsr] { padding-inline:4px;gap:4px; }
    .battle-page--compact-skills .battle-skill-panel__header[b-e0xllmuqsr] { min-height:48px; }
    .battle-page--compact-skills .battle-skill-panel__avatar[b-e0xllmuqsr] { flex-basis:29px;width:29px;height:36px; }
    .battle-page--compact-skills .battle-skill-panel__header .battle-character-context[b-e0xllmuqsr] { gap:5px; }
    .battle-page--focused.battle-page--compact-skills .battle-mobile-skill-rail[b-e0xllmuqsr] { gap:1px; }
    .battle-page--focused.battle-page--compact-skills .battle-mobile-skill[b-e0xllmuqsr] { min-height:72px;padding-block:4px; }
    .battle-page--focused.battle-page--compact-skills .battle-mobile-skill .battle-skill-card__icon[b-e0xllmuqsr],
    .battle-page--focused.battle-page--compact-skills .battle-mobile-skill__icon[b-e0xllmuqsr],
    .battle-page--focused.battle-page--compact-skills .battle-mobile-skill--empty > .battle-skill-empty-symbol[b-e0xllmuqsr] { width:32px;height:32px;flex-basis:32px; }
}

/* Short screens reserve the existing 8px top inset and 62px navigation row. */
@media (max-width:700px) and (max-height:620px) {
    .battle-page--focused.battle-page--staggered:is(.battle-page--compact-skills,.battle-page--lobby)[b-e0xllmuqsr] {
        display:grid;
        height:calc(var(--battle-viewport-height, 100dvh) - 70px - env(safe-area-inset-bottom));
        grid-template-columns:minmax(0,1fr);
        grid-template-rows:minmax(0,1fr) auto;
    }
    .battle-page--focused.battle-page--staggered:is(.battle-page--compact-skills,.battle-page--lobby) .battle-stage[b-e0xllmuqsr] { min-height:0;height:100%; }
    .battle-page--focused.battle-page--staggered:is(.battle-page--compact-skills,.battle-page--lobby) .battle-stage__scene[b-e0xllmuqsr] { flex:1 1 0;height:auto;min-height:0; }
}
/* /Pages/CreateCharacter.razor.rz.scp.css */
.character-creation-page[b-hbuci7sowb] {
    align-self: start;
    width: 100%;
    min-width: 0;
    padding: calc(1.5rem + env(safe-area-inset-top)) 1rem calc(1.5rem + env(safe-area-inset-bottom));
    color: #e8f0f5;
}

.character-creation-page__header[b-hbuci7sowb] { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
.character-creation-page__header > div[b-hbuci7sowb] { min-width: 0; }
.character-creation-page__header span[b-hbuci7sowb] { color: #e0b36f; font-size: .75rem; font-weight: 800; }
.character-creation-page__header h1[b-hbuci7sowb] { margin: .4rem 0; font-size: clamp(1.25rem, 4vw, 1.65rem); }
.character-creation-page__header p[b-hbuci7sowb] { margin: 0; color: #aebfce; font-size: .85rem; }
.character-creation-page__logout[b-hbuci7sowb] { flex: 0 0 auto; min-height: 44px; padding: .5rem .7rem; border: 1px solid #50667a; border-radius: .65rem; background: #15273a; color: #dbe7ee; font-size: .75rem; cursor: pointer; }
.character-creation-page__logout:disabled[b-hbuci7sowb] { opacity: .6; cursor: not-allowed; }

.character-creation-page[b-hbuci7sowb] { padding: calc(.75rem + env(safe-area-inset-top)) .75rem calc(.75rem + env(safe-area-inset-bottom)); }
.character-creation-page__header[b-hbuci7sowb] { align-items: center; min-height: 44px; margin-bottom: .65rem; }
.character-creation-page__header h1[b-hbuci7sowb] { margin: 0; font-size: 1.3rem; }
/* /Pages/Formations.razor.rz.scp.css */
.formations[b-tmrs0ohxp5] { --ink:#e7edf0; --muted:#92a7b6; --gold:#dcb978; --line:#304656; color:var(--ink); padding:.4rem .2rem 1.2rem; }
.slot-dialog .rename-error[b-tmrs0ohxp5],.slot-dialog .slot-command-error[b-tmrs0ohxp5] { margin:.65rem 0 0; color:#f1b9a5; }
.slot-dialog .rename-save[aria-disabled="true"][b-tmrs0ohxp5],.slot-dialog .slot-command[aria-disabled="true"][b-tmrs0ohxp5] { opacity:.65; cursor:wait; }
.formations button[b-tmrs0ohxp5] { font:inherit; cursor:pointer; }
.formations button:disabled[b-tmrs0ohxp5] { cursor:not-allowed; opacity:.45; }
.formations button:focus-visible[b-tmrs0ohxp5],.formations a:focus-visible[b-tmrs0ohxp5] { outline:2px solid #f1cc88; outline-offset:3px; }
.formations-heading[b-tmrs0ohxp5] { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:.65rem .2rem 1.25rem; }
.eyebrow[b-tmrs0ohxp5] { font-size:.62rem; letter-spacing:.16em; color:var(--gold); font-weight:700; }
.formations-heading h1[b-tmrs0ohxp5] { font-size:1.55rem; font-weight:750; letter-spacing:.06em; margin:.25rem 0 .4rem; color:#f0e6d3; }
.formations-heading p[b-tmrs0ohxp5] { font-size:.74rem; color:var(--muted); margin:0; }
.warehouse-link[b-tmrs0ohxp5] { display:flex; align-items:center; gap:.6rem; min-height:44px; color:#bdcdd5; font-size:.78rem; text-decoration:none; padding:.5rem .7rem; border:1px solid #344b5c; border-radius:.6rem; background:#172b3a; }
.warehouse-link span[b-tmrs0ohxp5] { color:var(--gold); font-size:1rem; }
.formation-notice[b-tmrs0ohxp5] { display:flex; gap:.6rem; align-items:center; padding:.6rem .8rem; margin-bottom:.8rem; border:1px solid #3b5f60; background:#193434; border-radius:.6rem; font-size:.78rem; color:#bfe0d4; }
.formation-notice span[b-tmrs0ohxp5] { flex:1; }.formation-notice button[b-tmrs0ohxp5] { background:none; color:inherit; border:0; min-width:32px; min-height:32px; }
.element-tabs[b-tmrs0ohxp5] { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); padding:.55rem .2rem; gap:.3rem; border-top:1px solid #2c4253; border-bottom:1px solid #2c4253; background:#102230; border-radius:.6rem; }
.element-tabs button[b-tmrs0ohxp5] { display:flex; flex-direction:column; align-items:center; position:relative; gap:.25rem; padding:.25rem .1rem .45rem; border:1px solid transparent; border-radius:.5rem; background:transparent; color:#96a9b6; min-height:76px; transition:background .15s,border-color .15s; }
.element-orb[b-tmrs0ohxp5] { display:grid; place-items:center; width:34px; height:34px; border:1px solid color-mix(in srgb,var(--element) 40%,transparent); border-radius:50%; color:var(--element); font-size:1.5rem; background:radial-gradient(circle at 35% 20%,color-mix(in srgb,var(--element) 20%,transparent),#10202e 75%); }
.element-orb[b-tmrs0ohxp5]  svg { display:block; width:100%; height:100%; min-width:0; min-height:0; }
.element-tabs strong[b-tmrs0ohxp5] { font-size:.72rem; font-weight:600; }.element-tabs small[b-tmrs0ohxp5] { position:absolute; top:.15rem; right:.3rem; font-size:.56rem; color:#7e95a6; }
.element-tabs button[aria-pressed=true][b-tmrs0ohxp5] { border-color:color-mix(in srgb,var(--element) 48%,transparent); background:color-mix(in srgb,var(--element) 9%,#112433); color:var(--element); box-shadow:inset 0 -2px var(--element); }
.element-tabs button[aria-pressed=true] .element-orb[b-tmrs0ohxp5] { box-shadow:0 0 14px color-mix(in srgb,var(--element) 17%,transparent); }
.group-heading[b-tmrs0ohxp5] { display:flex; align-items:center; justify-content:space-between; padding:1.15rem .1rem .65rem; gap:.5rem; }
.group-heading h2[b-tmrs0ohxp5] { font-size:.85rem; margin:0; }.group-heading h2 span[b-tmrs0ohxp5] { font-size:.64rem; color:var(--muted); font-weight:400; margin-left:.4rem; }.group-heading>small[b-tmrs0ohxp5] { color:#7e96a7; font-size:.64rem; }
.preset-strip[b-tmrs0ohxp5] { display:flex; gap:.6rem; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x proximity; padding:.15rem .1rem .8rem; scrollbar-width:thin; scrollbar-color:#3b5161 transparent; }
.preset-card[b-tmrs0ohxp5] { position:relative; display:flex; align-items:center; flex:0 0 180px; min-height:94px; overflow:hidden; border:1px solid #31495b; border-radius:.7rem; background:linear-gradient(125deg,#1b3141,#132636); color:var(--ink); text-align:left; padding:.7rem .5rem .6rem 4rem; scroll-snap-align:start; }
.preset-card>img[b-tmrs0ohxp5] { position:absolute; left:-.25rem; bottom:-.25rem; width:80px; height:105px; object-fit:cover; object-position:50% 10%; opacity:.55; mask-image:linear-gradient(90deg,#000 55%,transparent); }
.preset-index[b-tmrs0ohxp5] { position:absolute; top:.35rem; left:.45rem; color:#d0bb93; font:600 .56rem Georgia,serif; z-index:1; }
.preset-copy[b-tmrs0ohxp5] { display:flex; flex-direction:column; gap:.3rem; min-width:0; z-index:1; }.preset-copy strong[b-tmrs0ohxp5] { font-size:.8rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.preset-copy small[b-tmrs0ohxp5] { font-size:.62rem; color:#a3b6c5; }.preset-state[b-tmrs0ohxp5] { color:#8bbcaf; font-size:.58rem; }
.preset-card.is-selected[b-tmrs0ohxp5] { border-color:var(--element); background:linear-gradient(125deg,#2b414d,#193041); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--element) 20%,transparent); }
.preset-selected[b-tmrs0ohxp5] { position:absolute; right:0; bottom:0; background:var(--element); color:#112433; width:18px; height:16px; font-size:.65rem; text-align:center; border-radius:.5rem 0 0 0; }
.preset-add[b-tmrs0ohxp5] { flex:0 0 116px; display:grid; place-content:center; gap:.25rem; min-height:94px; border:1px dashed #486071; border-radius:.7rem; background:#112431; color:#adbfcc; scroll-snap-align:start; }
.preset-add>span[b-tmrs0ohxp5] { font-size:1.25rem; color:var(--gold); }.preset-add strong[b-tmrs0ohxp5] { font-size:.73rem; }.preset-add small[b-tmrs0ohxp5] { font-size:.58rem; color:#7891a3; }
.formation-overview[b-tmrs0ohxp5] { margin-top:.4rem; padding:1rem; border:1px solid #344b5b; border-radius:1rem; background:linear-gradient(155deg,#152b3a 0%,#10222f 48%,#101f2c 100%); box-shadow:0 12px 24px #0002; }
.selected-heading[b-tmrs0ohxp5] { display:flex; align-items:center; justify-content:space-between; gap:.8rem; margin-bottom:.8rem; }.selected-heading h2[b-tmrs0ohxp5] { font-size:1.15rem; font-weight:700; margin:.3rem 0 0; overflow-wrap:anywhere; }.selected-heading .eyebrow[b-tmrs0ohxp5] { color:var(--element); font-size:.58rem; }
.round-button[b-tmrs0ohxp5] { flex:0 0 44px; width:44px; height:44px; border:1px solid #3a5364; border-radius:.6rem; background:#1c3445; color:#b3c7d2; font-size:1.4rem!important; }
.profession-hero[b-tmrs0ohxp5] { width:100%; position:relative; display:flex; min-height:134px; overflow:hidden; padding:1.1rem .9rem 1.1rem 42%; background:radial-gradient(ellipse at 15% 90%,#516c634d,transparent 72%),linear-gradient(105deg,#244252,#1a3242); border:1px solid #456075; border-radius:.65rem; text-align:left; color:var(--ink); }
.profession-hero>img[b-tmrs0ohxp5] { position:absolute; left:0; top:-5%; height:125%; width:47%; object-fit:cover; object-position:50% 15%; mask-image:linear-gradient(90deg,#000 72%,transparent); }
.profession-copy[b-tmrs0ohxp5] { position:relative; display:flex; flex-direction:column; gap:.35rem; min-width:0; }.profession-copy>small[b-tmrs0ohxp5] { color:#bda47e; font-size:.58rem; letter-spacing:.14em; }.profession-copy>strong[b-tmrs0ohxp5] { font-size:1.15rem; }.profession-copy em[b-tmrs0ohxp5] { font:normal .72rem Georgia,serif; color:#bdd0d8; margin-left:.4rem; }.profession-copy>span[b-tmrs0ohxp5] { font-size:.66rem; color:#9cb3c2; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }.profession-copy b[b-tmrs0ohxp5] { font-size:.66rem; color:#e0bf86; font-weight:500; }.profession-copy i[b-tmrs0ohxp5] { font-style:normal; margin-left:.5rem; }
.formation-stats[b-tmrs0ohxp5] { display:grid; grid-template-columns:repeat(3,1fr); margin:.85rem 0 .3rem; padding:.45rem 0; }.formation-stats>div[b-tmrs0ohxp5] { display:flex; align-items:center; flex-direction:column; gap:.2rem; border-right:1px solid #314959; }.formation-stats>div:last-child[b-tmrs0ohxp5] { border:0; }.formation-stats small[b-tmrs0ohxp5] { font-size:.6rem; color:#91a6b7; }.formation-stats strong[b-tmrs0ohxp5] { font-size:1.1rem; font-family:Georgia,serif; font-weight:500; letter-spacing:.04em; color:#e8d4af; }.formation-stats .stat-element[b-tmrs0ohxp5] { color:var(--element); font-size:.9rem; }
.loadout-panel[b-tmrs0ohxp5] { padding:1rem 0; border-top:1px solid #2e4455; margin-top:.7rem; }.loadout-panel header[b-tmrs0ohxp5] { display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin-bottom:.65rem; }.loadout-panel h3[b-tmrs0ohxp5] { margin:0; font-size:.86rem; font-weight:650; }.loadout-panel h3 span[b-tmrs0ohxp5] { font-size:.58rem; color:#738ea3; font-weight:400; margin-left:.35rem; }.loadout-panel header button[b-tmrs0ohxp5] { border:0; color:#b2c9d9; background:none; font-size:.66rem; min-height:36px; margin:-.4rem -.25rem; padding:.4rem .25rem .4rem .6rem; }.loadout-panel header button span[b-tmrs0ohxp5] { color:#cfb27c; margin-left:.35rem; font-size:1rem; }
.skill-strip[b-tmrs0ohxp5] { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.55rem; }.skill-strip button[b-tmrs0ohxp5] { display:flex; flex-direction:column; align-items:center; gap:.3rem; padding:0; border:0; color:#cad7df; background:none; min-width:0; }.slot-art[b-tmrs0ohxp5] { position:relative; display:grid; place-items:center; aspect-ratio:1; width:100%; max-width:74px; border:1px solid #526073; border-radius:.55rem; background:linear-gradient(140deg,#274355,#0a1b2a); box-shadow:inset 0 0 0 3px #0e2235; overflow:hidden; }.slot-art>span[b-tmrs0ohxp5] { color:#5c778a; font-size:1.2rem; }.slot-art img[b-tmrs0ohxp5] { width:100%; height:100%; object-fit:cover; }.slot-art small[b-tmrs0ohxp5] { position:absolute; left:0; top:0; padding:.1rem .32rem; background:#0c1c2bd4; color:#c9b38a; font-size:.55rem; border-radius:0 0 .35rem 0; }.skill-strip strong[b-tmrs0ohxp5] { font-size:.65rem; font-weight:500; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.auto-label[b-tmrs0ohxp5] { font-size:.53rem; color:#8da798; }
.weapon-grid[b-tmrs0ohxp5] { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.4rem; }.weapon-grid button[b-tmrs0ohxp5] { display:flex; flex-direction:column; align-items:center; position:relative; overflow:hidden; padding:.2rem .15rem .35rem; border:1px solid #3b5364; border-radius:.45rem; background:radial-gradient(ellipse at 50% 35%,#344c5d,#172c3d 80%); color:#bdcdd6; min-width:0; }.weapon-grid button.main-weapon[b-tmrs0ohxp5] { border-color:#bb9762; background:radial-gradient(ellipse at 50% 40%,#665b4269,#213440 85%); }.weapon-number[b-tmrs0ohxp5] { font-size:.51rem; color:#809cb1; align-self:flex-start; padding:.08rem .2rem; }.main-weapon .weapon-number[b-tmrs0ohxp5] { color:#efd29a; }.weapon-art[b-tmrs0ohxp5] { width:100%; aspect-ratio:1; display:grid; place-items:center; overflow:hidden; }.weapon-art img[b-tmrs0ohxp5] { width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 3px 5px #0005); }.weapon-art>span[b-tmrs0ohxp5] { color:#5f7d90; font-size:1.2rem; }.weapon-grid strong[b-tmrs0ohxp5] { width:100%; text-align:center; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:400; font-size:.6rem; }.weapon-grid button>small[b-tmrs0ohxp5] { font-size:.49rem; color:#8da5b6; margin-top:.2rem; }
.supply-grid[b-tmrs0ohxp5] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.5rem; }.supply-grid button[b-tmrs0ohxp5] { display:flex; flex-direction:column; align-items:center; gap:.28rem; border:1px solid #31495c; border-radius:.55rem; background:#182f40; color:#cdd9e0; padding:.6rem .2rem; min-width:0; }.supply-grid button>small:first-child[b-tmrs0ohxp5] { font-size:.6rem; color:#c3ad86; }.supply-art[b-tmrs0ohxp5] { display:grid; place-items:center; width:50px; height:50px; color:#567389; font-size:1.3rem; }.supply-art img[b-tmrs0ohxp5] { width:100%; height:100%; object-fit:contain; }.supply-grid strong[b-tmrs0ohxp5] { max-width:100%; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; font-size:.66rem; font-weight:500; }.supply-grid button>small:last-child[b-tmrs0ohxp5] { font-size:.55rem; color:#829cab; }
.soul-summary[b-tmrs0ohxp5] { display:flex; align-items:center; gap:.8rem; width:100%; border:1px solid #4c4f65; border-radius:.6rem; padding:.6rem .7rem; background:linear-gradient(115deg,#35334c66,#192f40); color:#dae1e7; text-align:left; }.soul-art[b-tmrs0ohxp5] { flex:0 0 56px; width:56px; height:56px; display:grid; place-items:center; font-size:2rem; color:#9c89b7; }.soul-art img[b-tmrs0ohxp5] { width:100%; height:100%; object-fit:contain; }.soul-summary>span:nth-child(2)[b-tmrs0ohxp5] { display:flex; flex-direction:column; gap:.4rem; flex:1; min-width:0; }.soul-summary strong[b-tmrs0ohxp5] { font-size:.78rem; font-weight:500; }.soul-summary small[b-tmrs0ohxp5] { color:#99a7b9; font-size:.63rem; }.soul-summary>b[b-tmrs0ohxp5] { color:#b9a4c9; font-weight:400; font-size:1.5rem; }
.formation-issues[b-tmrs0ohxp5] { font-size:.72rem; color:#d6b782; padding:.8rem; background:#3a322633; border:1px solid #655439; border-radius:.5rem; margin-top:.5rem; }.formation-issues summary[b-tmrs0ohxp5] { cursor:pointer; }.formation-issues p[b-tmrs0ohxp5] { margin:.6rem 0 0; font-size:.67rem; }
.overview-actions[b-tmrs0ohxp5] { display:grid; grid-template-columns:1.2fr 1fr; gap:.6rem; margin-top:1rem; }.formation-primary[b-tmrs0ohxp5],.formation-secondary[b-tmrs0ohxp5] { border:1px solid #a7854e; border-radius:.6rem; min-height:46px; padding:.65rem .7rem; font-size:.8rem!important; font-weight:650!important; background:linear-gradient(115deg,#dfba78,#bf9758); color:#162532; }.formation-secondary[b-tmrs0ohxp5] { background:#203847; border-color:#4d6272; color:#d9c8a5; }.formation-footnote[b-tmrs0ohxp5] { text-align:center; color:#829bab; font-size:.63rem; margin:.75rem 0 .1rem; line-height:1.7; }.formation-empty[b-tmrs0ohxp5] { text-align:center; padding:3rem 1rem; color:#aabcc8; }.empty-emblem[b-tmrs0ohxp5] { display:grid; place-items:center; color:var(--element); width:74px; height:74px; border:1px solid #3d5769; border-radius:50%; font-size:2rem; margin:0 auto 1.3rem; background:#1a3142; }.formation-empty h2[b-tmrs0ohxp5] { font-size:1rem; color:#d9e2e9; }.formation-empty p[b-tmrs0ohxp5] { font-size:.75rem; line-height:1.8; margin:.8rem 0 1.3rem; }
@media(min-width:600px) { .formations[b-tmrs0ohxp5] { padding:.65rem 1rem 1.5rem; }.formation-overview[b-tmrs0ohxp5] { padding:1.3rem; }.profession-hero[b-tmrs0ohxp5] { min-height:165px; }.skill-strip[b-tmrs0ohxp5] { gap:.9rem; }.slot-art[b-tmrs0ohxp5] { max-width:85px; }.weapon-grid[b-tmrs0ohxp5] { gap:.65rem; }.weapon-art[b-tmrs0ohxp5] { max-height:90px; }.supply-art[b-tmrs0ohxp5] { width:65px; height:65px; }.preset-card[b-tmrs0ohxp5] { flex-basis:195px; } }
@media(max-width:360px) { .formation-overview[b-tmrs0ohxp5] { padding:.75rem; }.skill-strip[b-tmrs0ohxp5] { gap:.35rem; }.weapon-grid[b-tmrs0ohxp5] { gap:.25rem; }.formations-heading p[b-tmrs0ohxp5] { font-size:.65rem; }.profession-copy>span[b-tmrs0ohxp5] { display:none; }.profession-hero[b-tmrs0ohxp5] { min-height:115px; }.group-heading>small[b-tmrs0ohxp5] { display:none; } }
@media(prefers-reduced-motion:reduce) { .formations *[b-tmrs0ohxp5] { transition:none!important; scroll-behavior:auto!important; } }
@media(max-width:599px) { .formations-heading[b-tmrs0ohxp5] { padding:.35rem .2rem .8rem; }.formations-heading p[b-tmrs0ohxp5] { display:none; }.formations-heading h1[b-tmrs0ohxp5] { margin-bottom:0; font-size:1.35rem; }.element-tabs button[b-tmrs0ohxp5] { min-height:68px; }.preset-card[b-tmrs0ohxp5],.preset-add[b-tmrs0ohxp5] { min-height:80px; }.formation-overview[b-tmrs0ohxp5] { padding:.8rem; }.profession-hero[b-tmrs0ohxp5] { min-height:112px; padding-top:.7rem; padding-bottom:.7rem; }.profession-copy>span[b-tmrs0ohxp5] { display:none; }.formation-stats[b-tmrs0ohxp5] { margin-top:.5rem; }.loadout-panel[b-tmrs0ohxp5] { padding-top:.8rem; } }

/* Keep the saved preset, its actions and one editable section together. */
.formations-heading[b-tmrs0ohxp5] { padding:.2rem .1rem .5rem; }
.formations-heading h1[b-tmrs0ohxp5] { margin:0; font-size:1.3rem; }
.group-heading[b-tmrs0ohxp5] { padding:.6rem .1rem .4rem; }
.preset-strip[b-tmrs0ohxp5] { padding-bottom:.45rem; }
.formation-overview[b-tmrs0ohxp5] { padding:.75rem; }
.selected-heading[b-tmrs0ohxp5] { gap:.5rem; margin-bottom:.4rem; }
.selected-heading > div[b-tmrs0ohxp5] { flex:1; min-width:0; }
.selected-heading h2[b-tmrs0ohxp5] { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:1rem; }
.selected-heading .eyebrow[b-tmrs0ohxp5] { letter-spacing:.03em; font-size:.65rem; }
.profession-shortcut[b-tmrs0ohxp5] { display:grid; flex:0 0 auto; gap:.15rem; align-content:center; min-height:44px; padding:.25rem .5rem; border:1px solid #435c6d; border-radius:.5rem; background:#1b3445; color:#e1d0af; }
.profession-shortcut strong[b-tmrs0ohxp5] { font-size:.78rem; }
.profession-shortcut small[b-tmrs0ohxp5] { color:#a9bdc9; font-size:.63rem; }
.formation-stats[b-tmrs0ohxp5] { margin:.35rem 0; padding:.3rem 0; }
.formation-stats small[b-tmrs0ohxp5] { font-size:.68rem; }
.formation-stats strong[b-tmrs0ohxp5] { font-size:1rem; }
.overview-actions[b-tmrs0ohxp5] { margin-top:.45rem; gap:.45rem; }
.overview-actions button[b-tmrs0ohxp5] { min-height:44px; padding:.5rem .35rem; font-size:.76rem!important; }
.formation-activity-state[b-tmrs0ohxp5] { display:flex; align-items:center; justify-content:center; padding:.25rem; color:#9fb5c4; font-size:.73rem; }
.loadout-switch[b-tmrs0ohxp5] { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.25rem; margin-top:.7rem; padding:.2rem; border:1px solid #3b5263; border-radius:.6rem; background:#102332; }
.loadout-switch button[b-tmrs0ohxp5] { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:.2rem; min-height:44px; min-width:0; border:1px solid transparent; border-radius:.4rem; background:transparent; color:#a9c0cf; font-size:.78rem; }
.loadout-switch button[aria-pressed=true][b-tmrs0ohxp5] { border-color:#b3975c; color:#f0d193; background:#b5965726; }
.loadout-switch small[b-tmrs0ohxp5] { font-size:.65rem; color:#91aab8; }
.loadout-panel[b-tmrs0ohxp5] { border:0; margin-top:.6rem; padding:.1rem 0 0; }
.loadout-panel[hidden][b-tmrs0ohxp5] { display:none; }
.weapon-grid strong[b-tmrs0ohxp5],.skill-strip strong[b-tmrs0ohxp5] { font-size:.7rem; }
.weapon-grid button > small[b-tmrs0ohxp5],.auto-label[b-tmrs0ohxp5] { font-size:.62rem; }
.weapon-number[b-tmrs0ohxp5] { font-size:.6rem; }
.formation-notice button[b-tmrs0ohxp5] { min-width:44px; min-height:44px; }
.formation-issues[b-tmrs0ohxp5] { padding:.15rem .65rem; }
.formation-issues summary[b-tmrs0ohxp5] { min-height:44px; align-content:center; }
.formation-issues p[b-tmrs0ohxp5] { padding-bottom:.5rem; }
.formation-issue-row[b-tmrs0ohxp5] { display:flex; align-items:center; gap:.5rem; border-top:1px solid #655439; }
.formation-issue-row p[b-tmrs0ohxp5] { flex:1; min-width:0; display:grid; gap:.2rem; overflow-wrap:anywhere; }
.formation-issue-row button[b-tmrs0ohxp5] { flex:0 0 auto; min-width:54px; min-height:44px; padding:.3rem .5rem; border:1px solid #897349; border-radius:.4rem; background:#363b31; color:#efd295; }
.formations summary:focus-visible[b-tmrs0ohxp5] { outline:2px solid #f1cc88; outline-offset:2px; }
.formation-return[b-tmrs0ohxp5] { display:inline-flex; align-items:center; min-height:44px; padding:.25rem .6rem; margin-bottom:.35rem; border:1px solid #465e6f; border-radius:.5rem; color:#dec58e; text-decoration:none; font-size:.8rem; }
.formations-heading--compact[b-tmrs0ohxp5] { min-height:44px; padding:.2rem 0 .45rem; gap:.5rem; }
.formations-heading--compact h1[b-tmrs0ohxp5] { flex:1; margin:0; font-size:1.18rem; }
.formation-return--compact[b-tmrs0ohxp5] { margin:0; flex:0 0 auto; font-size:.75rem; }
.formation-return--journal[b-tmrs0ohxp5] { padding:.45rem .85rem; border-color:#c8a367; background:linear-gradient(115deg,#dfbc80,#c69c5b); color:#192b36; font-weight:600; box-shadow:0 3px 10px #0002; }
.formation-return--journal:hover[b-tmrs0ohxp5] { border-color:#e1bf82; background:linear-gradient(115deg,#e8ca93,#d2aa6b); color:#192b36; }
.formation-character-context[b-tmrs0ohxp5] { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.3rem .75rem; margin:.15rem 0 .45rem; color:#a9c0cf; font-size:.78rem; }
.formation-character-context > span[b-tmrs0ohxp5] { min-width:0; overflow-wrap:anywhere; }
.formation-character-context strong[b-tmrs0ohxp5] { color:#ead5ac; font-weight:600; }
.formation-character-context > small[b-tmrs0ohxp5] { color:#91aab8; font-size:.68rem; }
.formation-save-feedback[b-tmrs0ohxp5] { color:#a6d4b9; overflow-wrap:anywhere; }
.formation-save-feedback.is-warning[b-tmrs0ohxp5] { color:#f1cf8e; }
.formation-save-feedback--supplies[b-tmrs0ohxp5] { display:block; font-size:.68rem; }
.formation-save-feedback--supplies:not(:empty)[b-tmrs0ohxp5] { margin:0 .125rem .4rem; }
.formation-room-hint[b-tmrs0ohxp5],.formation-source-missing[b-tmrs0ohxp5] { margin:.4rem 0 .65rem; padding:.65rem .75rem; border:1px solid #526b7c; border-radius:.6rem; background:#20384966; color:#b8cedb; font-size:.76rem; line-height:1.6; overflow-wrap:anywhere; }
.formation-source-missing[b-tmrs0ohxp5] { border-color:#937a52; background:#55452d44; color:#e0ca9c; }
.formations-heading--compact .round-button[b-tmrs0ohxp5] { flex:0 0 44px; min-width:44px; min-height:44px; }
.formation-overview--summary[b-tmrs0ohxp5] { padding:.65rem; margin-top:.2rem; }
.formation-combat-strip[b-tmrs0ohxp5] { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.85fr) minmax(0,.85fr); align-items:center; gap:.4rem; margin-bottom:.6rem; }
.formation-combat-strip > span[b-tmrs0ohxp5] { display:grid; gap:.15rem; text-align:center; }
.formation-combat-strip > span > small[b-tmrs0ohxp5] { font-size:.7rem; color:#9eb7c7; }
.formation-combat-strip > span > strong[b-tmrs0ohxp5] { font-size:1rem; color:#eed5a3; font-variant-numeric:tabular-nums; }
.formation-summary-grid[b-tmrs0ohxp5] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; }
.formation-summary-card[b-tmrs0ohxp5] { display:flex; flex-direction:column; min-width:0; min-height:112px; gap:.5rem; padding:.65rem; border:1px solid #425d70; border-radius:.65rem; background:linear-gradient(135deg,#203b4e,#122a3a); color:#c5d7e1; text-align:left; }
.formation-summary-card:hover[b-tmrs0ohxp5] { border-color:#d5b472; background:#243f50; }
.summary-card-heading[b-tmrs0ohxp5] { display:flex; align-items:center; gap:.4rem; min-width:0; }
.summary-card-heading > strong[b-tmrs0ohxp5] { font-size:.86rem; color:#e9d7b5; }
.summary-card-heading > small[b-tmrs0ohxp5] { font-size:.7rem; color:#9eb8c9; }
.summary-card-heading > b[b-tmrs0ohxp5] { margin-left:auto; font-size:1rem; color:#d2b477; }
.summary-item[b-tmrs0ohxp5] { display:flex; align-items:center; gap:.4rem; min-width:0; }
.summary-art[b-tmrs0ohxp5] { display:grid; place-items:center; flex:0 0 38px; width:38px; height:38px; color:#7896ab; font-size:1.5rem; }
.summary-art img[b-tmrs0ohxp5] { width:100%; height:100%; object-fit:contain; image-rendering:pixelated; }
.summary-item > span:last-child[b-tmrs0ohxp5] { display:grid; min-width:0; gap:.2rem; }
.summary-item strong[b-tmrs0ohxp5] { font-size:.76rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.summary-item small[b-tmrs0ohxp5],.summary-note[b-tmrs0ohxp5] { font-size:.68rem; color:#96b0c1; }
.formation-summary-card--slots[b-tmrs0ohxp5] { position:relative; }
.summary-slots-open[b-tmrs0ohxp5],.summary-skill-slot[b-tmrs0ohxp5],.summary-supply-slot[b-tmrs0ohxp5] { padding:0; border:0; background:transparent; color:inherit; cursor:pointer; }
.summary-slots-open[b-tmrs0ohxp5]::after { content:""; position:absolute; inset:0; border-radius:inherit; }
.summary-skill-icons[b-tmrs0ohxp5] { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); align-items:center; gap:.2rem; min-height:44px; }
.summary-skill-icons > span[b-tmrs0ohxp5] { display:grid; place-items:center; min-width:0; aspect-ratio:1; border:1px solid #3a5569; border-radius:.3rem; color:#7390a4; background:#112535; }
.summary-skill-slot[b-tmrs0ohxp5] { position:relative; display:grid; place-items:center; width:100%; height:100%; border-radius:inherit; }
.summary-skill-slot[b-tmrs0ohxp5]::after { content:""; position:absolute; top:50%; inset-inline:-2px; height:max(100%,44px); translate:0 -50%; }
.summary-skill-icons img[b-tmrs0ohxp5] { width:100%; height:100%; object-fit:contain; image-rendering:pixelated; }
.summary-supply-icons[b-tmrs0ohxp5] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.3rem; }
.summary-supply-icons > span[b-tmrs0ohxp5] { display:grid; min-width:0; color:#7896ab; }
.summary-supply-slot[b-tmrs0ohxp5] { position:relative; display:grid; justify-items:center; gap:.15rem; min-width:0; min-height:44px; border-radius:.3rem; }
.summary-supply-icons img[b-tmrs0ohxp5],.summary-supply-slot > span[b-tmrs0ohxp5] { width:28px; height:28px; object-fit:contain; text-align:center; font-size:1.4rem; }
.summary-supply-icons small[b-tmrs0ohxp5] { font-size:.67rem; color:#a6bdca; }
.formation-choice-error[b-tmrs0ohxp5] { display:flex; align-items:center; gap:.6rem; padding:.65rem; margin-bottom:.5rem; border:1px solid #8f774f; border-radius:.6rem; color:#ddc89d; background:#53432644; font-size:.78rem; line-height:1.5; }
.formation-choice-error > span[b-tmrs0ohxp5] { flex:1; min-width:0; }
.formation-choice-error button[b-tmrs0ohxp5] { flex:0 0 auto; min-height:44px; border:1px solid #9b8257; border-radius:.45rem; padding:.3rem .5rem; background:#263b46; color:#eddaac; font-size:.75rem; }
.weapon-grid[b-tmrs0ohxp5] { grid-template-columns:minmax(110px,1.15fr) repeat(3,minmax(0,1fr)); grid-template-rows:repeat(3,minmax(82px,auto)); }
.weapon-grid .weapon-art[b-tmrs0ohxp5] { height:44px; aspect-ratio:auto; }
.weapon-grid .main-weapon[b-tmrs0ohxp5] { grid-row:1 / span 3; justify-content:center; gap:.4rem; padding:.5rem; }
.weapon-grid .main-weapon .weapon-art[b-tmrs0ohxp5] { flex:1; height:auto; max-height:170px; }
.weapon-grid .main-weapon strong[b-tmrs0ohxp5] { font-size:.85rem; white-space:normal; overflow-wrap:anywhere; }
.weapon-grid button[b-tmrs0ohxp5] { min-width:44px; min-height:76px; }
@media(max-width:439px) {
    .weapon-grid[b-tmrs0ohxp5] { grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:auto; }
    .weapon-grid .main-weapon[b-tmrs0ohxp5] { grid-column:1 / -1; grid-row:auto; display:grid; grid-template-columns:48px minmax(0,1fr) auto; column-gap:.55rem; min-height:66px; padding:.35rem .5rem; }
    .weapon-grid .main-weapon .weapon-art[b-tmrs0ohxp5] { grid-column:1; grid-row:1 / span 2; width:48px; height:48px; }
    .weapon-grid .main-weapon .weapon-number[b-tmrs0ohxp5] { grid-column:2; grid-row:1; justify-self:start; }
    .weapon-grid .main-weapon > strong[b-tmrs0ohxp5] { grid-column:2; grid-row:2; text-align:left; }
    .weapon-grid .main-weapon > small[b-tmrs0ohxp5] { grid-column:3; grid-row:1 / span 2; }
}
@media(max-width:599px) {
    .formations[b-tmrs0ohxp5] { padding-top:.1rem; }
    .group-heading[b-tmrs0ohxp5] { padding:.3rem .1rem; }
    .formation-stats[b-tmrs0ohxp5] { margin:.2rem 0; padding:.15rem 0; }
    .loadout-switch[b-tmrs0ohxp5] { margin-top:.4rem; }
    .element-tabs[b-tmrs0ohxp5] { padding:.2rem; gap:.2rem; }
    .element-tabs button[b-tmrs0ohxp5] { min-height:52px; padding:.2rem .1rem; gap:.1rem; }
    .element-orb[b-tmrs0ohxp5] { width:24px; height:24px; font-size:1.1rem; }
    .element-tabs small[b-tmrs0ohxp5] { top:.05rem; right:.2rem; }
    .preset-card[b-tmrs0ohxp5] { min-height:56px; flex-basis:170px; padding:.25rem .4rem .25rem 3.25rem; }
    .preset-card > img[b-tmrs0ohxp5] { width:52px; height:74px; }
    .preset-add[b-tmrs0ohxp5] { min-height:56px; gap:.1rem; }
    .preset-add > small[b-tmrs0ohxp5] { display:none; }
    .preset-copy[b-tmrs0ohxp5] { gap:.2rem; }
    .preset-copy strong[b-tmrs0ohxp5] { font-size:.78rem; }
    .preset-copy small[b-tmrs0ohxp5] { font-size:.65rem; }
    .preset-state[b-tmrs0ohxp5] { font-size:.62rem; }
    .formation-overview[b-tmrs0ohxp5] { margin-top:.15rem; padding:.65rem; }
    .weapon-grid[b-tmrs0ohxp5] { gap:.3rem; }
    .weapon-art[b-tmrs0ohxp5] { height:38px; aspect-ratio:auto; }
    .weapon-grid button > small[b-tmrs0ohxp5] { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .supply-art[b-tmrs0ohxp5] { width:42px; height:42px; }
    .soul-art[b-tmrs0ohxp5] { flex-basis:44px; width:44px; height:44px; }
}
/* /Pages/Gathering.razor.rz.scp.css */
.garden-page[b-0i22btwpoy] { --garden-gold: #efc478; --garden-green: #98c9ad; color: #e7eef2; padding: .6rem .15rem 1.5rem; }
.garden-page button[b-0i22btwpoy], .garden-page a[b-0i22btwpoy] { -webkit-tap-highlight-color: transparent; }
.garden-page button[b-0i22btwpoy] { font: inherit; cursor: pointer; }
.garden-page button:disabled[b-0i22btwpoy] { cursor: default; }
.garden-page button:focus-visible[b-0i22btwpoy], .garden-page a:focus-visible[b-0i22btwpoy] { outline: 2px solid #ffe0a1; outline-offset: 4px; }
.garden-page h1[b-0i22btwpoy], .garden-page h2[b-0i22btwpoy], .garden-page h3[b-0i22btwpoy], .garden-page p[b-0i22btwpoy] { margin: 0; }
.garden-connection[b-0i22btwpoy] { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin-bottom: .5rem; padding: .55rem .65rem; border: 1px solid #a77850; border-radius: .65rem; background: #49362280; color: #ecd3a6; }
.garden-connection > div[b-0i22btwpoy] { min-width: 0; }
.garden-connection strong[b-0i22btwpoy] { display: block; font-size: .8rem; }
.garden-connection p[b-0i22btwpoy] { margin-top: .2rem; font-size: .7rem; line-height: 1.5; }
.garden-connection button[b-0i22btwpoy] { flex-shrink: 0; min-height: 44px; white-space: nowrap; }
.garden-eyebrow[b-0i22btwpoy] { display: block; color: var(--garden-gold); font-size: .6rem; font-weight: 800; letter-spacing: .19em; line-height: 1.5; }
.garden-intro[b-0i22btwpoy] { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin: .3rem .25rem 1rem; }
.garden-intro h1[b-0i22btwpoy] { margin: .15rem 0 .3rem; font-family: Georgia, 'Songti SC', 'SimSun', serif; font-size: 1.85rem; font-weight: 700; letter-spacing: .05em; }
.garden-intro p[b-0i22btwpoy] { color: #94abba; font-size: .72rem; line-height: 1.6; }
.garden-shop-link[b-0i22btwpoy] { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; min-height: 42px; padding: 0 .7rem; border: 1px solid #776444; border-radius: .5rem; color: #efc478; background: #e5b55c0a; font-size: .75rem; text-decoration: none; }
.garden-shop-link:hover[b-0i22btwpoy] { background: #e5b55c1a; border-color: #c69e5b; }
.garden-shop-link span[b-0i22btwpoy] { font-size: 1rem; }
.garden-field[b-0i22btwpoy] { position: relative; overflow: hidden; padding: 1rem; border: 1px solid #3b5363; border-radius: 1rem; background: radial-gradient(ellipse at 0 0, #49785c14, transparent 65%), linear-gradient(140deg, #1a2c3a, #11212e 80%); box-shadow: 0 10px 30px #0000001a; }
.garden-field-heading[b-0i22btwpoy] { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.garden-field-heading h2[b-0i22btwpoy] { margin-top: .22rem; font-size: 1.03rem; font-weight: 650; overflow-wrap: anywhere; }
.garden-field-heading .garden-eyebrow[b-0i22btwpoy] { color: #8cad9e; font-size: .55rem; }
.garden-refresh[b-0i22btwpoy] { flex: 0 0 36px; height: 36px; border: 1px solid #405967; border-radius: .5rem; background: #10212e; color: #abc2ca; font-size: 1.25rem !important; }
.garden-refresh:hover:not(:disabled)[b-0i22btwpoy] { color: var(--garden-gold); border-color: #a58b5b; }
.garden-refresh:disabled[b-0i22btwpoy] { opacity: .45; }
.garden-summary[b-0i22btwpoy] { display: flex; gap: 1rem; flex-wrap: wrap; margin: .8rem 0 1rem; color: #9db0ba; font-size: .69rem; }
.garden-summary > span[b-0i22btwpoy] { display: inline-flex; align-items: center; gap: .3rem; }
.garden-summary b[b-0i22btwpoy] { margin-left: .1rem; color: #dfe9ec; font-variant-numeric: tabular-nums; }
.garden-summary-action[b-0i22btwpoy] { display: inline-flex; align-items: center; justify-content: center; gap: .2rem; min-width: 44px; min-height: 44px; padding: 0 .2rem; border: 0; border-radius: .35rem; background: transparent; color: #c2d2db; font-size: inherit !important; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #839aa670; }
.garden-summary-action[aria-pressed="true"][b-0i22btwpoy], .garden-summary-action--harvest:not(:disabled)[b-0i22btwpoy] { color: #f2cf8b; }
.garden-summary-action--harvest:not(:disabled)[b-0i22btwpoy] { background: #d4af6615; }
.garden-summary-action:disabled[b-0i22btwpoy] { color: #91a6b2; text-decoration: none; }
.garden-dot[b-0i22btwpoy] { width: 5px; height: 5px; border-radius: 50%; }
.garden-dot--empty[b-0i22btwpoy] { background: #7a91a0; }.garden-dot--growing[b-0i22btwpoy] { background: #8bbba0; }.garden-dot--ready[b-0i22btwpoy] { background: var(--garden-gold); box-shadow: 0 0 8px #edc47745; }
.garden-plots[b-0i22btwpoy] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.garden-plot[b-0i22btwpoy] { position: relative; display: flex; flex-direction: column; min-width: 0; padding: .75rem; border: 1px solid #3d5664; border-radius: .7rem; background: linear-gradient(170deg, #172d38, #101e2a); transition: border-color .18s, background .18s; }
.garden-plot--empty[b-0i22btwpoy] { border-style: dashed; border-color: #425867; background: #0c1a2559; }
.garden-plot--selected[b-0i22btwpoy] { border-style: solid; border-color: #c49e60; background: linear-gradient(155deg, #c392421a, #15252f); box-shadow: inset 0 0 0 1px #d5b57318; }
.garden-plot--ready[b-0i22btwpoy] { border-color: #a98a53; background: radial-gradient(ellipse at 50% 40%, #daa94015, transparent 75%), linear-gradient(155deg, #243332, #172632); }
.garden-plot-top[b-0i22btwpoy] { display: flex; align-items: center; justify-content: space-between; gap: .25rem; }
.garden-plot-number[b-0i22btwpoy] { color: #cfdbdf; font-size: .9rem; font-variant-numeric: tabular-nums; }
.garden-plot-number small[b-0i22btwpoy] { margin-left: .1rem; color: #90a7b4; font-size: .61rem; }
.garden-status[b-0i22btwpoy] { padding: .18rem .35rem; border: 1px solid #49655870; border-radius: .3rem; color: #a8cfb8; background: #84b6960a; font-size: .58rem; white-space: nowrap; }
.garden-plot--empty .garden-status[b-0i22btwpoy] { color: #8c9fab; border-color: #3b5364; background: transparent; }
.garden-plot--ready .garden-status[b-0i22btwpoy], .garden-plot--selected .garden-status[b-0i22btwpoy] { color: #f2cf8b; border-color: #ac884761; background: #bd944716; }
.garden-plot--growing .garden-status[b-0i22btwpoy] { margin-right: 32px; }
.garden-cancel-plot[b-0i22btwpoy] { position: absolute; top: 0; right: 0; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: .5rem; background: transparent; color: #d6a5a1; font-size: .6rem !important; z-index: 3; }
.garden-cancel-plot span[b-0i22btwpoy] { padding: .18rem .25rem; border: 1px solid #95615e80; border-radius: .3rem; background: #4d2b2b40; white-space: nowrap; }
.garden-cancel-plot:hover:not(:disabled) span[b-0i22btwpoy] { background: #77423e50; border-color: #bf847e; }
.garden-cancel-plot:disabled[b-0i22btwpoy] { opacity: .4; }
.garden-plot-scene[b-0i22btwpoy] { position: relative; display: grid; place-items: center; height: 83px; margin: .2rem 0 0; isolation: isolate; }
.garden-soil[b-0i22btwpoy] { position: absolute; bottom: 9px; width: 82%; max-width: 160px; height: 30px; transform: perspective(160px) rotateX(38deg); border: 1px solid #69766b45; border-bottom: 3px solid #0b161e; border-radius: 50%; background: repeating-linear-gradient(-16deg, transparent 0 6px, #96aa8230 7px 8px, transparent 9px 14px), radial-gradient(ellipse, #354436, #1b2b2b); box-shadow: 0 8px 10px #0000001f; z-index: -1; }
.garden-plot--empty .garden-soil[b-0i22btwpoy] { opacity: .45; }
.garden-sprout[b-0i22btwpoy] { width: 60px; height: 60px; margin-top: -8px; color: #6e8a7c; opacity: .7; }
.garden-plot--selected .garden-sprout[b-0i22btwpoy] { color: #cab782; opacity: .9; }
.garden-crop[b-0i22btwpoy] { position: absolute; width: 59px; height: 66px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 4px 3px #07101a80); }
.garden-crop--main[b-0i22btwpoy] { top: 1px; z-index: 2; }
.garden-crop--left[b-0i22btwpoy] { width: 35px; height: 42px; bottom: 14px; left: calc(50% - 56px); transform: rotate(-12deg); opacity: .65; }
.garden-crop--right[b-0i22btwpoy] { width: 38px; height: 46px; bottom: 11px; right: calc(50% - 58px); transform: rotate(12deg); opacity: .8; }
.garden-plot--growing .garden-crop--main[b-0i22btwpoy] { transform: scale(.85); transform-origin: bottom; }
.garden-spark[b-0i22btwpoy] { position: absolute; color: #f4dca1; font-size: .8rem; text-shadow: 0 0 8px #f2ce8470; }
.garden-spark--one[b-0i22btwpoy] { top: 14px; right: 21%; }.garden-spark--two[b-0i22btwpoy] { top: 38px; left: 21%; font-size: .65rem; }
.garden-plot-label[b-0i22btwpoy] { text-align: center; margin: 0 0 .7rem; }
.garden-plot-label h3[b-0i22btwpoy] { font-size: .92rem; line-height: 1.4; font-weight: 650; }
.garden-plot-label > span[b-0i22btwpoy] { display: block; margin-top: .2rem; font-size: .62rem; color: #97acb5; }
.garden-plot--empty .garden-plot-label h3[b-0i22btwpoy] { color: #a9bcc5; font-size: .85rem; font-weight: 500; }
.garden-plot-action[b-0i22btwpoy] { display: flex; align-items: center; justify-content: center; gap: .35rem; width: 100%; min-height: 40px; margin-top: auto; padding: .4rem .35rem; border: 1px solid #48616d; border-radius: .4rem; color: #adbfca; background: #19303b; font-size: .67rem !important; }
.garden-plot-action > span[b-0i22btwpoy] { font-size: .9rem; }
.garden-plot-action:hover:not(:disabled)[b-0i22btwpoy] { border-color: #d2b47a; color: #f1d699; }
.garden-plot--selected .garden-plot-action[b-0i22btwpoy] { border-color: #a18a5c; background: #bb914522; color: #efd197; }
.garden-plot-action--harvest[b-0i22btwpoy] { border-color: #bd9a59; background: linear-gradient(110deg, #d1ae6b, #edcd8c); color: #202c31; }
.garden-plot-action--harvest:hover:not(:disabled)[b-0i22btwpoy] { background: #f6d89b; color: #12222e; }
.garden-plot-action:disabled[b-0i22btwpoy] { opacity: .5; }
.garden-growth[b-0i22btwpoy] { display: grid; align-content: center; gap: .5rem; min-height: 40px; margin-top: auto; }
.garden-growth > div:first-child[b-0i22btwpoy] { display: flex; justify-content: space-between; align-items: center; gap: .25rem; font-size: .61rem; color: #8ba8b0; }
.garden-growth strong[b-0i22btwpoy] { color: #c5dcd1; font-size: .64rem; font-weight: 550; font-variant-numeric: tabular-nums; }
.garden-progress[b-0i22btwpoy] { height: 4px; overflow: hidden; border-radius: 2px; background: #091722; box-shadow: 0 1px #ffffff09; }
.garden-progress > span[b-0i22btwpoy] { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #567f6d, #a4c8a0); transition: width 1s linear; }
.garden-field-footer[b-0i22btwpoy] { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .8rem; }
.garden-select-all[b-0i22btwpoy] { min-height: 40px; border: 0; padding: 0 .15rem; background: transparent; color: #b9c9cc; text-decoration: underline; text-decoration-color: #6f8b9170; text-underline-offset: 4px; font-size: .7rem !important; }
.garden-select-all:disabled[b-0i22btwpoy] { color: #607781; text-decoration: none; }
.garden-button[b-0i22btwpoy] { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 42px; padding: .55rem .8rem; border: 1px solid #a58b5d; border-radius: .45rem; font-size: .73rem !important; font-weight: 700 !important; white-space: nowrap; }
.garden-button--secondary[b-0i22btwpoy] { color: #e9c889; background: #c5a2560b; }.garden-button--secondary:hover:not(:disabled)[b-0i22btwpoy] { background: #c5a25620; }
.garden-button--secondary > span[b-0i22btwpoy] { min-width: 17px; border-radius: .2rem; background: #d1b57c22; font-size: .65rem; }
.garden-button--primary[b-0i22btwpoy] { color: #18252d; border-color: #f0cb83; background: linear-gradient(110deg, #dcb976, #efcc8a); box-shadow: 0 3px 10px #030c1526; }
.garden-button--primary:hover:not(:disabled)[b-0i22btwpoy] { background: #f6d79b; }
.garden-button:disabled[b-0i22btwpoy] { border-color: #3b505c; color: #7f949e; background: #1b2d37; box-shadow: none; }
.garden-button--danger[b-0i22btwpoy] { border-color: #aa716a; color: #ffe0d9; background: #643a36; }
.garden-button--danger:hover:not(:disabled)[b-0i22btwpoy] { background: #7b4741; border-color: #d79b90; }
.garden-cancel-host[b-0i22btwpoy]  .garden-cancel-dialog { inset: 0; width: min(440px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 1.25rem; border: 1px solid #536776; border-radius: 1rem; background: #172b39; color: #e7eef2; overflow-y: auto; }
.garden-cancel-heading[b-0i22btwpoy] { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.garden-cancel-heading h2[b-0i22btwpoy] { font-size: 1.15rem; }
.garden-cancel-close[b-0i22btwpoy] { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #496170; border-radius: .5rem; background: #132633; color: #bccfd8; font-size: 1.3rem !important; }
.garden-cancel-character[b-0i22btwpoy] { margin-top: .2rem !important; color: #9fb6c3; font-size: .8rem; overflow-wrap: anywhere; }
.garden-cancel-crop[b-0i22btwpoy] { display: flex; justify-content: space-between; gap: .5rem; margin: 1rem 0; padding: .55rem .65rem; border: 1px solid #3b5362; border-radius: .4rem; font-size: .8rem; }
.garden-cancel-crop span[b-0i22btwpoy] { flex-shrink: 0; color: #a5bbc6; }
.garden-cancel-crop strong[b-0i22btwpoy] { text-align: right; overflow-wrap: anywhere; }
.garden-cancel-warning[b-0i22btwpoy] { color: #b4c6cf; font-size: .82rem; line-height: 1.8; }
.garden-cancel-warning strong[b-0i22btwpoy] { color: #f0c0b4; font-weight: 600; }
.garden-cancel-error[b-0i22btwpoy] { margin-top: .7rem !important; color: #ffb9ac; font-size: .8rem; line-height: 1.6; }
.garden-cancel-actions[b-0i22btwpoy] { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1.2rem; }
.garden-field-note[b-0i22btwpoy] { margin-top: .65rem !important; color: #829aa7; font-size: .61rem; text-align: center; line-height: 1.5; }
.garden-section-heading[b-0i22btwpoy] { display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; margin: 1.45rem .2rem .75rem; }
.garden-section-heading h2[b-0i22btwpoy] { margin-top: .18rem; font-size: 1.13rem; }
.garden-selection-count[b-0i22btwpoy] { margin-bottom: .12rem; color: #91a9b7; font-size: .7rem; }.garden-selection-count b[b-0i22btwpoy] { color: var(--garden-gold); font-weight: 600; }
.garden-sowing[b-0i22btwpoy] { position: sticky; top: 4.75rem; z-index: 10; padding: .8rem; border: 1px solid #826e48; border-radius: .7rem; background: radial-gradient(ellipse at 0 0, #c59b4f10, transparent 70%), #192b38; box-shadow: 0 5px 15px #08131d40; }
.garden-sowing--rare[b-0i22btwpoy] { border-color: #78618b; background: radial-gradient(ellipse at 0 0, #9869b315, transparent 70%), #192b38; }
.garden-sowing-main[b-0i22btwpoy] { display: flex; align-items: center; gap: .65rem; }
.garden-sowing-main > img[b-0i22btwpoy] { flex: 0 0 45px; width: 45px; height: 52px; object-fit: contain; image-rendering: pixelated; }
.garden-sowing-main > div[b-0i22btwpoy] { flex: 1; min-width: 0; }
.garden-sowing-main small[b-0i22btwpoy] { color: #bb9f6b; font-size: .59rem; }.garden-sowing-main h3[b-0i22btwpoy] { margin: .1rem 0 .2rem; font-size: .9rem; }.garden-sowing-main p[b-0i22btwpoy] { color: #9bb0bc; font-size: .64rem; }
.garden-sowing-main > button[b-0i22btwpoy] { flex-shrink: 0; min-width: 106px; }
.garden-sowing-stats[b-0i22btwpoy] { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; margin-top: .75rem; padding-top: .6rem; border-top: 1px solid #3c536150; color: #a4b8c3; font-size: .67rem; }
.garden-sowing-stats b[b-0i22btwpoy] { color: #edd49f; font-variant-numeric: tabular-nums; }.garden-sowing-stats small[b-0i22btwpoy] { color: #9eb1bd; font-size: inherit; }
.garden-seed-source[b-0i22btwpoy] { margin-top: .55rem !important; color: #91a8b6; font-size: .63rem; line-height: 1.7; overflow-wrap: anywhere; }
.garden-inline-art[b-0i22btwpoy] { width:20px; height:20px; margin-inline-end:.25rem; object-fit:contain; image-rendering:pixelated; vertical-align:middle; }
.garden-replenish[b-0i22btwpoy] { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; color: #efc478; font-size: .67rem; text-underline-offset: 3px; }
.garden-seed-filters[b-0i22btwpoy] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .2rem; margin: .8rem 0 .65rem; padding: .22rem; border: 1px solid #304858; border-radius: .5rem; background: #0d1c28; }
.garden-seed-filters button[b-0i22btwpoy] { min-width: 0; min-height: 36px; padding: .35rem .2rem; border: 1px solid transparent; border-radius: .35rem; background: transparent; color: #91a8b7; font-size: .72rem; }
.garden-seed-filters small[b-0i22btwpoy] { margin-left: .25rem; color: #7f99a9; font-size: .61rem; }
.garden-seed-filters .garden-filter--active[b-0i22btwpoy] { background: #2a3b44; border-color: #8f785047; color: #f2d495; }.garden-filter--active small[b-0i22btwpoy] { color: #d0b985; }
.garden-seeds[b-0i22btwpoy] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.garden-seed[b-0i22btwpoy] { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; column-gap: .45rem; min-width: 0; padding: .65rem .65rem 0; border: 1px solid #334c5d; border-radius: .6rem; background: #142634; color: #d6e2e9; text-align: left; transition: border-color .15s, background .15s; }
.garden-seed:hover[b-0i22btwpoy] { background: #203542; border-color: #8d805f; }
.garden-seed--rare[b-0i22btwpoy] { background: linear-gradient(130deg, #30283d40, #142634); }.garden-seed--rare .garden-seed-footer > span:last-child[b-0i22btwpoy] { color: #bba3d8; }
.garden-seed--selected[b-0i22btwpoy] { border-color: #c29e60; background: #9e7d3718; box-shadow: inset 0 0 0 1px #c39f6418; }
.garden-seed--locked .garden-seed-image[b-0i22btwpoy] { opacity: .5; filter: saturate(.45); }.garden-seed--locked .garden-seed-title strong[b-0i22btwpoy] { color: #9aadb9; }
.garden-seed-image[b-0i22btwpoy] { width: 36px; height: 42px; }.garden-seed-image img[b-0i22btwpoy] { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.garden-seed-title[b-0i22btwpoy] { display: flex; min-width: 0; flex-direction: column; gap: .25rem; }.garden-seed-title strong[b-0i22btwpoy] { font-size: .73rem; font-weight: 600; overflow-wrap: anywhere; }.garden-seed-title small[b-0i22btwpoy] { color: #91a7b7; font-size: .59rem; }.garden-seed-title small span[b-0i22btwpoy] { padding: 0 .1rem; color: #607b8c; }
.garden-seed-stock[b-0i22btwpoy] { align-self: start; padding-top: .2rem; color: #7590a1; font-size: .65rem; font-variant-numeric: tabular-nums; }.garden-seed-stock--owned[b-0i22btwpoy] { color: #ddc38d; }
.garden-seed-footer[b-0i22btwpoy] { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: .25rem; margin-top: .5rem; padding: .45rem 0; border-top: 1px solid #3c536150; color: #8da5b5; font-size: .57rem; }.garden-seed--selected .garden-seed-footer > span:last-child[b-0i22btwpoy] { color: #eacb8c; }
.garden-empty-seeds[b-0i22btwpoy] { padding: 1.6rem .8rem; border: 1px dashed #41596c; border-radius: .6rem; text-align: center; }.garden-empty-seeds strong[b-0i22btwpoy] { color: #b6cbd5; font-size: .9rem; }.garden-empty-seeds p[b-0i22btwpoy] { margin: .55rem 0 .7rem; color: #91a8b7; font-size: .7rem; line-height: 1.7; }.garden-empty-seeds a[b-0i22btwpoy] { color: #efc478; font-size: .75rem; }
.garden-alchemy-link[b-0i22btwpoy] { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; padding: .9rem .15rem; border-top: 1px solid #344c5b; text-decoration: none; }.garden-alchemy-link > span[b-0i22btwpoy] { color: #829eaf; font-size: .65rem; }.garden-alchemy-link strong[b-0i22btwpoy] { color: #dabb81; font-size: .74rem; font-weight: 500; }.garden-alchemy-link strong span[b-0i22btwpoy] { padding-left: .4rem; }
.garden-retry[b-0i22btwpoy] { margin-top: .7rem; }
@container game-shell (max-width: 420px) {
    .garden-intro[b-0i22btwpoy] { align-items: flex-start; margin-bottom: .8rem; }.garden-intro h1[b-0i22btwpoy] { font-size: 1.55rem; }.garden-intro p[b-0i22btwpoy] { max-width: 190px; font-size: .66rem; }.garden-shop-link[b-0i22btwpoy] { padding: 0 .55rem; margin-top: .6rem; font-size: .67rem; gap: .3rem; }
    .garden-field[b-0i22btwpoy] { padding: .7rem; border-radius: .8rem; }.garden-plots[b-0i22btwpoy] { gap: .45rem; }.garden-plot[b-0i22btwpoy] { padding: .6rem .5rem; }.garden-plot-number[b-0i22btwpoy] { font-size: .79rem; }.garden-plot-number small[b-0i22btwpoy] { font-size: .55rem; }.garden-status[b-0i22btwpoy] { font-size: .54rem; padding: .15rem .25rem; }
    .garden-plot-label h3[b-0i22btwpoy] { font-size: .82rem; }.garden-plot-label > span[b-0i22btwpoy] { font-size: .56rem; }.garden-plot-action[b-0i22btwpoy] { font-size: .62rem !important; }.garden-growth > div:first-child[b-0i22btwpoy] { font-size: .54rem; }.garden-growth strong[b-0i22btwpoy] { font-size: .57rem; }.garden-summary[b-0i22btwpoy] { gap: .7rem; font-size: .63rem; }
    .garden-sowing[b-0i22btwpoy] { padding: .7rem; }.garden-sowing-main[b-0i22btwpoy] { gap: .4rem; }.garden-sowing-main > img[b-0i22btwpoy] { flex-basis: 35px; width: 35px; height: 44px; }.garden-sowing-main > button[b-0i22btwpoy] { min-width: 90px; padding-inline: .45rem; font-size: .67rem !important; }.garden-sowing-main h3[b-0i22btwpoy] { font-size: .82rem; }
    .garden-seed[b-0i22btwpoy] { grid-template-columns: 29px minmax(0, 1fr) auto; column-gap: .25rem; padding: .5rem .45rem 0; }.garden-seed-image[b-0i22btwpoy] { width: 29px; height: 37px; }.garden-seed-title strong[b-0i22btwpoy] { font-size: .66rem; }.garden-seed-title small[b-0i22btwpoy] { font-size: .55rem; }.garden-seed-stock[b-0i22btwpoy] { font-size: .57rem; }.garden-seed-footer[b-0i22btwpoy] { font-size: .55rem; }
}
@media (prefers-reduced-motion: reduce) { .garden-page *[b-0i22btwpoy], .garden-page *[b-0i22btwpoy]::before, .garden-page *[b-0i22btwpoy]::after { transition: none !important; } }
.garden-warehouse-link[b-0i22btwpoy] { color: #89a4a6; font-size: .73rem; margin: .7rem 0; }
.garden-warehouse-link a[b-0i22btwpoy] { color: #c6bd8e; }

.garden-visually-hidden[b-0i22btwpoy] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.garden-shortcuts[b-0i22btwpoy] { display: flex; align-items: center; gap: .45rem; }
.garden-shortcuts a[b-0i22btwpoy] { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: #e8c788; font-size: .75rem; text-decoration: none; }
.garden-shortcuts .garden-shop-link[b-0i22btwpoy] { margin: 0; }
.garden-intro h1[b-0i22btwpoy] { flex:0 0 auto; white-space:nowrap; }
.garden-character-picker[b-0i22btwpoy] { display:flex; min-width:0; }
.garden-character-picker select[b-0i22btwpoy] { width:clamp(72px,21vw,140px); min-height:44px; min-width:0; padding:.4rem .35rem; border:1px solid #486578; border-radius:.5rem; color:#d6e5ed; background:#193442; font:inherit; font-size:.75rem; }
.garden-character-picker select:focus-visible[b-0i22btwpoy] { outline:2px solid #ffe0a1; outline-offset:2px; }
.garden-character-picker select:disabled[b-0i22btwpoy] { opacity:.5; }
@media(max-width:360px) {
    .garden-intro[b-0i22btwpoy] { gap:.3rem; }
    .garden-intro h1[b-0i22btwpoy] { font-size:1.05rem!important; }
    .garden-shortcuts[b-0i22btwpoy] { gap:.25rem; }
    .garden-shortcuts .garden-shop-link[b-0i22btwpoy] { padding:0 .35rem; gap:.2rem; }
}
.garden-field-heading[b-0i22btwpoy] { height: 0; }
.garden-refresh[b-0i22btwpoy] { position: absolute; top: .35rem; right: .5rem; width: 44px; height: 44px; }
.garden-summary[b-0i22btwpoy] { min-height: 44px; align-items: center; margin: 0 48px .4rem 0; gap: .55rem; }
.garden-section-heading[b-0i22btwpoy] { align-items: center; margin: .4rem 0; min-height: 44px; }
.garden-section-heading h2[b-0i22btwpoy] { margin: 0; font-size: .92rem; }
.garden-section-heading .garden-selection-count[b-0i22btwpoy] { margin-left: .4rem; font-weight: 400; }
.garden-seed-section[b-0i22btwpoy] { margin-top: .5rem; }
.garden-sowing-main > .garden-seed-toggle[b-0i22btwpoy] { display: flex; flex: 1; align-items: center; gap: .55rem; min-width: 0; min-height: 44px; padding: 0; border: 0; border-radius: .35rem; background: transparent; color: #e7eef2; text-align: left; }
.garden-seed-toggle > img[b-0i22btwpoy] { flex: 0 0 36px; width: 36px; height: 40px; object-fit: contain; image-rendering: pixelated; }
.garden-seed-toggle > span[b-0i22btwpoy] { display: grid; min-width: 0; gap: .25rem; }
.garden-current-seed[b-0i22btwpoy] { font-size: .85rem; font-weight: 650; overflow-wrap: anywhere; }
.garden-current-seed > span[b-0i22btwpoy] { color: #e6c791; }
.garden-seed-toggle small[b-0i22btwpoy] { color: #afbfca; font-size: .66rem; }
.garden-seed-toggle:hover:not(:disabled) .garden-current-seed[b-0i22btwpoy] { color: #efc478; }
.garden-seed-toggle:disabled[b-0i22btwpoy] { opacity: .6; }
.garden-seed-dialog-host[b-0i22btwpoy]  .garden-seed-dialog { inset: 0; width: min(560px, calc(100vw - 24px)); max-width: none; height: min(640px, calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))); max-height: none; margin: auto; padding: 0; overflow: hidden; border: 1px solid #8f927c; border-radius: 13px; background: linear-gradient(140deg, #203443, #122431); box-shadow: 0 22px 80px #0009; color: #e7eef2; }
.garden-seed-dialog-host[b-0i22btwpoy]  .garden-seed-dialog[open] { display: flex; flex-direction: column; }
.garden-seed-dialog-heading[b-0i22btwpoy] { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #839caa35; }
.garden-seed-dialog-heading > div[b-0i22btwpoy] { min-width: 0; }
.garden-seed-dialog-heading h2[b-0i22btwpoy] { font-size: 1.08rem; line-height: 1.5; color: #efdfbb; font-weight: 600; }
.garden-seed-dialog-heading p[b-0i22btwpoy] { margin-top: 4px; color: #9eb5c3; font-size: .73rem; overflow-wrap: anywhere; }
.garden-seed-dialog-close[b-0i22btwpoy] { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #7c929c66; border-radius: 7px; background: #142936; color: #d4e0e5; font-size: 1.4rem !important; }
.garden-seed-dialog-host .garden-seed-filters[b-0i22btwpoy] { flex-shrink: 0; margin: 12px 14px 0; }
.garden-seed-library[b-0i22btwpoy] { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 12px 14px; }
.garden-seed-dialog-note[b-0i22btwpoy] { flex-shrink: 0; padding: 12px 14px; border-top: 1px solid #839caa35; background: #10232fcc; color: #a6bdca; font-size: .7rem; line-height: 1.6; text-align: center; }
.garden-sowing[b-0i22btwpoy] { position: static; }
.garden-blueprint-symbol[b-0i22btwpoy] { display:grid; place-items:center; flex:0 0 36px; width:36px; height:40px; color:var(--garden-green); font-size:1.8rem; }
.garden-blueprint-plant[b-0i22btwpoy] { position:absolute; inset:0; display:grid; place-items:center; max-height:100%; overflow:hidden; color:var(--garden-green); font-size:3.5rem; line-height:1; }
.garden-source-tabs[b-0i22btwpoy] { grid-template-columns:repeat(2,minmax(0,1fr)); }
.garden-repair[b-0i22btwpoy] { display:flex; align-items:center; justify-content:space-between; gap:.65rem; margin-top:.6rem; padding:.6rem; border:1px solid #776444; border-radius:.5rem; background:#e5b55c0a; }
.garden-repair p[b-0i22btwpoy] { color:#c6d4dc; font-size:.72rem; line-height:1.6; }
.garden-repair button[b-0i22btwpoy] { flex:0 0 auto; }
.garden-seed-filters button[b-0i22btwpoy], .garden-button[b-0i22btwpoy], .garden-select-all[b-0i22btwpoy], .garden-plot-action[b-0i22btwpoy] { min-height: 44px; }

/* Keep the phone layout inside the game shell, including in wide browser windows. */
@container game-shell (max-width: 600px) {
    .garden-page[b-0i22btwpoy] { padding: 0 0 .5rem; }
    .garden-intro[b-0i22btwpoy] { align-items: center; margin: 0 0 .45rem; min-height: 44px; }
    .garden-intro h1[b-0i22btwpoy] { margin: 0; font-size: 1.3rem; }
    .garden-field[b-0i22btwpoy] { padding: .35rem .5rem .5rem; }
    .garden-summary[b-0i22btwpoy] { font-size: .66rem; gap: .5rem; margin-bottom: .3rem; }
    .garden-summary > span[b-0i22btwpoy] { gap: .2rem; }
    .garden-plots[b-0i22btwpoy] { gap: .4rem; }
    .garden-plot[b-0i22btwpoy] { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: 20px 36px 44px; gap: .2rem .25rem; padding: .35rem; }
    .garden-plot-top[b-0i22btwpoy] { grid-column: 1 / -1; }
    .garden-plot-number[b-0i22btwpoy] { font-size: .75rem; }
    .garden-plot-number[b-0i22btwpoy] { white-space: nowrap; }
    .garden-plot-number small[b-0i22btwpoy] { font-size: .56rem; }
    .garden-status[b-0i22btwpoy] { font-size: .59rem; }
    .garden-cancel-plot[b-0i22btwpoy] { top: -6px; right: -4px; }
    .garden-plot-scene[b-0i22btwpoy] { height: 36px; width: 44px; margin: 0; }
    .garden-blueprint-plant[b-0i22btwpoy] { font-size: 2rem; }
    .garden-soil[b-0i22btwpoy] { height: 13px; width: 44px; bottom: 1px; }
    .garden-sprout[b-0i22btwpoy] { width: 36px; height: 36px; margin-top: -2px; }
    .garden-crop--main[b-0i22btwpoy] { width: 36px; height: 36px; top: -2px; }
    .garden-crop--left[b-0i22btwpoy] { width: 21px; height: 23px; left: -3px; bottom: 2px; }
    .garden-crop--right[b-0i22btwpoy] { width: 22px; height: 25px; right: -4px; bottom: 1px; }
    .garden-spark--one[b-0i22btwpoy] { top: 0; right: 0; }.garden-spark--two[b-0i22btwpoy] { top: 20px; left: 0; }
    .garden-plot-label[b-0i22btwpoy] { align-self: center; text-align: left; margin: 0; min-width: 0; }
    .garden-plot-label h3[b-0i22btwpoy], .garden-plot--empty .garden-plot-label h3[b-0i22btwpoy] { font-size: .72rem; line-height: 1.3; overflow-wrap: anywhere; }
    .garden-plot-label > span[b-0i22btwpoy] { margin-top: .1rem; font-size: .61rem; }
    .garden-plot-action[b-0i22btwpoy], .garden-growth[b-0i22btwpoy] { grid-column: 1 / -1; margin: 0; min-height: 44px; }
    .garden-plot-action[b-0i22btwpoy] { font-size: .72rem !important; padding: .25rem; }
    .garden-growth[b-0i22btwpoy] { gap: .25rem; }
    .garden-growth > div:first-child[b-0i22btwpoy] { font-size: .58rem; }
    .garden-growth strong[b-0i22btwpoy] { font-size: .64rem; }
    .garden-field-footer[b-0i22btwpoy] { margin-top: .35rem; }
    .garden-select-all[b-0i22btwpoy] { font-size: .74rem !important; }
    .garden-sowing[b-0i22btwpoy] { padding: .5rem .6rem; }
    .garden-sowing-main[b-0i22btwpoy] { gap: .4rem; }
    .garden-sowing-main > img[b-0i22btwpoy] { flex-basis: 30px; width: 30px; height: 38px; }
    .garden-sowing-main h3[b-0i22btwpoy] { margin: 0 0 .2rem; font-size: .8rem; }
    .garden-sowing-main p[b-0i22btwpoy] { font-size: .66rem; }
    .garden-sowing-main > button[b-0i22btwpoy] { min-width: 94px; font-size: .73rem !important; }
    .garden-sowing-main > .garden-seed-toggle[b-0i22btwpoy] { min-width: 0; gap: .3rem; }
    .garden-seed-toggle > img[b-0i22btwpoy] { flex-basis: 28px; width: 28px; height: 32px; }
    .garden-current-seed[b-0i22btwpoy] { font-size: .8rem; }
    .garden-sowing-stats[b-0i22btwpoy] { margin-top: .3rem; padding-top: .3rem; font-size: .69rem; }
    .garden-replenish[b-0i22btwpoy] { font-size: .7rem; }
    .garden-seeds[b-0i22btwpoy] { grid-template-columns: 1fr; }
    .garden-seed[b-0i22btwpoy] { grid-template-columns: 36px minmax(0, 1fr) auto; padding: .5rem .65rem 0; }
    .garden-seed-title strong[b-0i22btwpoy] { font-size: .8rem; }
    .garden-seed-title small[b-0i22btwpoy], .garden-seed-stock[b-0i22btwpoy], .garden-seed-footer[b-0i22btwpoy] { font-size: .68rem; }
    .garden-seed-source[b-0i22btwpoy] { font-size: .72rem; }
    .garden-alchemy-link[b-0i22btwpoy] { justify-content: flex-end; margin-top: .35rem; padding: .25rem 0; min-height: 44px; border: 0; }
}

@media (max-width: 600px) and (max-height: 740px) {
    .garden-intro[b-0i22btwpoy] { margin-bottom: .2rem; }
    .garden-field:not([data-garden-canonical="true"]) > .life-profession-level[b-0i22btwpoy] { display: none; }
    .garden-plot[b-0i22btwpoy] { grid-template-rows: 20px 28px 44px; gap: .1rem .25rem; padding: .25rem; }
    .garden-plot-scene[b-0i22btwpoy] { height: 28px; }
    .garden-blueprint-plant[b-0i22btwpoy] { font-size: 1.5rem; }
    .garden-cancel-plot[b-0i22btwpoy] { top: -8px; right: -5px; }
    .garden-sprout[b-0i22btwpoy] { width: 28px; height: 28px; }
    .garden-crop--main[b-0i22btwpoy] { width: 28px; height: 28px; top: -1px; }
    .garden-crop--left[b-0i22btwpoy] { width: 18px; height: 20px; left: 1px; }
    .garden-crop--right[b-0i22btwpoy] { width: 19px; height: 21px; right: 0; }
    .garden-spark--two[b-0i22btwpoy] { top: 14px; }
    .garden-section-heading[b-0i22btwpoy] { margin-block: .2rem; }
    .garden-sowing-stats[b-0i22btwpoy] { gap: 0; margin-top: .25rem; padding-top: .25rem; }
}

.life-profession-level[b-0i22btwpoy]{margin:4px 0 10px;font-size:.73rem;line-height:1.4;color:#8d9caa;}
/* /Pages/Inventory.razor.rz.scp.css */
.inventory-page[b-gcse6cuaji] { max-width: 1370px; margin: 0 auto; color: #d9e3e5; padding: .6rem 0 2rem; }
.inventory-page button[b-gcse6cuaji],.inventory-page input[b-gcse6cuaji],.inventory-page select[b-gcse6cuaji],.inventory-modal button[b-gcse6cuaji] { font: inherit; }
.inventory-page button[b-gcse6cuaji],.inventory-modal button[b-gcse6cuaji] { cursor: pointer; }
.inventory-page button:disabled[b-gcse6cuaji],.inventory-modal button:disabled[b-gcse6cuaji] { opacity: .4; cursor: not-allowed; }
.inventory-page button:focus-visible[b-gcse6cuaji],.inventory-modal button:focus-visible[b-gcse6cuaji],.inventory-page input:focus-visible[b-gcse6cuaji],.inventory-page select:focus-visible[b-gcse6cuaji] { outline: 2px solid #e8c787; outline-offset: 3px; }
.inventory-kicker[b-gcse6cuaji] { color: #c5aa75; font-size: .65rem; font-weight: 800; letter-spacing: .14em; }
.inventory-header[b-gcse6cuaji] { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0 1rem; }
.inventory-header h1[b-gcse6cuaji] { font: 700 2rem Georgia,serif; color: #efe8d9; margin: .3rem 0; letter-spacing: .04em; }
.inventory-header p[b-gcse6cuaji] { color: #91a6b7; font-size: .8rem; margin: 0; }
.inventory-header-tools[b-gcse6cuaji] { display: flex; align-items: end; gap: .6rem; }
.inventory-header-tools label[b-gcse6cuaji],.inventory-filters label[b-gcse6cuaji] { display: flex; flex-direction: column; gap: .35rem; color: #93a8b7; font-size: .67rem; }
.inventory-header-tools select[b-gcse6cuaji],.inventory-filters select[b-gcse6cuaji],.inventory-filters input[b-gcse6cuaji],.inventory-selection-tools select[b-gcse6cuaji] { border: 1px solid #354d5d; border-radius: .45rem; background: #142531; color: #e2e9e9; min-height: 38px; padding: .5rem .65rem; font-size: .78rem; }
.inventory-header-tools select[b-gcse6cuaji] { min-width: 180px; }
.inventory-refresh[b-gcse6cuaji] { min-height: 38px; border: 1px solid #496171; background: #243d4d; border-radius: .45rem; color: #d6e2e8; padding: .5rem .8rem; font-size: .8rem !important; }
.inventory-context[b-gcse6cuaji] { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0 1rem; font-size: .72rem; color: #7f99aa; }
.inventory-context strong[b-gcse6cuaji] { color: #c4d5de; }
.inventory-sync[b-gcse6cuaji] { white-space: nowrap; }.inventory-sync--stale[b-gcse6cuaji] { color: #dcbd80; }
.inventory-summary[b-gcse6cuaji] { display: grid; grid-template-columns: 1.2fr .85fr .85fr 1fr 1.2fr; border: 1px solid #3a4e57; border-radius: .8rem; overflow: hidden; background: linear-gradient(110deg,#293c45,#1b2e3b 40%,#172938); margin-bottom: 1.25rem; }
.inventory-summary > div[b-gcse6cuaji] { display: flex; flex-direction: column; justify-content: center; gap: .4rem; padding: 1.15rem 1.3rem; border-right: 1px solid #354751; }
.inventory-summary > div:last-child[b-gcse6cuaji] { border: 0; }
.inventory-summary span[b-gcse6cuaji] { font-size: .7rem; color: #a3b4ba; }.inventory-summary strong[b-gcse6cuaji] { font: 600 1.65rem Georgia,serif; color: #e7e7e0; }.inventory-summary strong small[b-gcse6cuaji] { font: 500 .75rem system-ui; color: #91a6b0; }
.inventory-summary-gold strong[b-gcse6cuaji] { color: #e5c58e; }.inventory-summary-gold strong small[b-gcse6cuaji] { color: #d0a754; }.inventory-summary-protected small[b-gcse6cuaji] { color: #738e9e; font-size: .63rem; line-height: 1.5; }
.inventory-categories[b-gcse6cuaji] { display: flex; gap: .3rem; flex-wrap: wrap; margin-bottom: .9rem; }
.inventory-categories button[b-gcse6cuaji] { border: 1px solid transparent; background: #192c3a; border-radius: .45rem; padding: .65rem .9rem; display: flex; align-items: center; gap: .7rem; font-size: .78rem; color: #9fb0b9; }
.inventory-categories button.is-active[b-gcse6cuaji] { color: #f0d398; border-color: #927744; background: #3c3e35; }.inventory-categories button:hover:not(:disabled)[b-gcse6cuaji] { border-color: #627783; }.inventory-categories small[b-gcse6cuaji] { color: #738b9a; font-size: .66rem; }.inventory-categories .is-active small[b-gcse6cuaji] { color: #c2ab79; }
.inventory-filters[b-gcse6cuaji] { display: flex; align-items: end; gap: .65rem; flex-wrap: wrap; padding: .9rem; border: 1px solid #2d4352; background: #172935; border-radius: .65rem; margin-bottom: 1rem; }
.inventory-search[b-gcse6cuaji] { flex: 1; min-width: 170px; }.inventory-filters label:not(.inventory-search)[b-gcse6cuaji] { min-width: 92px; }.inventory-filters input[b-gcse6cuaji] { width: 100%; }.inventory-reset[b-gcse6cuaji] { padding: .65rem; min-height: 38px; border: 0; background: transparent; color: #c3a977; font-size: .75rem !important; }
.inventory-workspace[b-gcse6cuaji] { display: grid; grid-template-columns: 1fr; align-items: start; gap: 1rem; }.inventory-workspace.has-detail[b-gcse6cuaji] { grid-template-columns: minmax(320px,1fr) minmax(320px,.68fr); }
.inventory-list[b-gcse6cuaji] { border: 1px solid #304857; background: #152632; border-radius: .75rem; overflow: hidden; }
.inventory-list-heading[b-gcse6cuaji] { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; border-bottom: 1px solid #2c4251; }
.inventory-list-heading > div[b-gcse6cuaji] { display: flex; align-items: baseline; gap: .7rem; }.inventory-list-heading h2[b-gcse6cuaji] { color: #e0e6e4; font-size: .95rem; margin: 0; }.inventory-list-heading span[b-gcse6cuaji] { color: #708999; font-size: .7rem; }
.inventory-list-heading button[b-gcse6cuaji],.inventory-selection-tools button[b-gcse6cuaji],.inventory-pagination button[b-gcse6cuaji],.inventory-empty button[b-gcse6cuaji] { border: 1px solid #405c6c; color: #aebfca; background: #233b4b; border-radius: .4rem; padding: .4rem .65rem; font-size: .72rem; }.inventory-list-heading button.is-active[b-gcse6cuaji] { border-color: #bd9f65; color: #e4c48a; }
.inventory-selection-tools[b-gcse6cuaji] { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .7rem 1rem; background: #233b49; border-bottom: 1px solid #385260; }.inventory-selection-tools label[b-gcse6cuaji] { font-size: .7rem; color: #b4c2c7; }.inventory-selection-tools small[b-gcse6cuaji] { width: 100%; font-size: .63rem; color: #829ba9; }.inventory-selection-tools select[b-gcse6cuaji] { min-height: 30px; padding: .3rem; margin-left: .4rem; }
.inventory-items[b-gcse6cuaji] { display: grid; gap: .55rem; padding: .65rem; }
.inventory-items.inventory-items--weapons[b-gcse6cuaji] { grid-template-columns: repeat(auto-fill,minmax(112px,1fr)); }
.inventory-items.inventory-items--compact[b-gcse6cuaji] { grid-template-columns: repeat(auto-fill,minmax(82px,1fr)); }
.inventory-row[b-gcse6cuaji] { position: relative; min-width: 0; border: 1px solid #405661; border-radius: .55rem; background: radial-gradient(ellipse at 50% 0%,#2d4650,#1b303d 65%); overflow: hidden; }
.inventory-row.is-inspected[b-gcse6cuaji], .inventory-row.is-selected[b-gcse6cuaji] { border-color: #d1b173; box-shadow: inset 0 0 0 1px #d1b173; background: radial-gradient(ellipse at 50% 0%,#4b5144,#24373d 70%); }
.inventory-item[b-gcse6cuaji] { display: flex; flex-direction: column; align-items: stretch; width: 100%; height: 100%; gap: .2rem; text-align: center; padding: .4rem .3rem; border: 0; background: transparent; color: #dbe2e4; min-width: 0; }
.inventory-item:hover:not(:disabled)[b-gcse6cuaji] { background: #c2dbde09; }
.inventory-page .inventory-item:focus-visible[b-gcse6cuaji] { outline-offset: -3px; }
.inventory-tile-visual[b-gcse6cuaji] { position: relative; display: grid; place-items: center; width: 100%; min-width: 0; }
.inventory-item .inventory-art[b-gcse6cuaji] { width: 40px; height: 40px; flex-basis: auto; border: 0; border-radius: 50%; background: radial-gradient(circle,#51636566,transparent 70%); }
.inventory-item .inventory-art img[b-gcse6cuaji] { image-rendering: pixelated; }
.inventory-tile-element[b-gcse6cuaji], .inventory-tile-level[b-gcse6cuaji] { position: absolute; top: 0; font-size: .6rem; line-height: 1.35; color: #a7bec9; }
.inventory-tile-element[b-gcse6cuaji] { left: 0; color:var(--element,#d9c38c); display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:#132633db; }
.inventory-tile-element[b-gcse6cuaji]  svg { width:23px; height:23px; }
.inventory-tile-element[data-element="Fire"][b-gcse6cuaji] { color: #f49d78; }
.inventory-tile-element[data-element="Water"][b-gcse6cuaji] { color: #86c3e0; }
.inventory-tile-element[data-element="Wind"][b-gcse6cuaji] { color: #a3d3a2; }
.inventory-tile-element[data-element="Earth"][b-gcse6cuaji] { color: #d4b186; }
.inventory-tile-level[b-gcse6cuaji] { right: 0; }
.inventory-tile-name[b-gcse6cuaji] { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; font-size: .74rem; line-height: 1.4; }
.inventory-tile-quality[b-gcse6cuaji] { display: flex; justify-content: center; }
.inventory-tile-stats[b-gcse6cuaji] { display: flex; flex-wrap: wrap; justify-content: center; column-gap: .3rem; row-gap: .1rem; color: #d6e0dc; font-size: .68rem; font-variant-numeric: tabular-nums; }
.inventory-tile-stats small[b-gcse6cuaji] { color: #99aeb8; font-size: .6rem; }
.inventory-tile-quantity[b-gcse6cuaji] { position: absolute; right: -.2rem; bottom: 0; max-width: calc(100% + .4rem); padding: .06rem .2rem; border-radius: .2rem; background: #10232fe8; color: #ead6a5; font-size: .7rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.inventory-items--weapons .inventory-item[b-gcse6cuaji] { min-height: 132px; }
.inventory-items--weapons .inventory-badges[b-gcse6cuaji] { justify-content: center; margin-top: auto; min-height: 17px; }
.inventory-items--weapons .inventory-badges b[b-gcse6cuaji] { padding: .03rem .2rem; font-size: .6rem; }
.inventory-items--compact .inventory-item[b-gcse6cuaji] { padding: .35rem .2rem .4rem; gap: .35rem; min-height: 96px; }
.inventory-items--compact .inventory-art[b-gcse6cuaji] { width: 46px; height: 46px; }
.inventory-items--compact .inventory-tile-name[b-gcse6cuaji] { font-size: .68rem; min-height: 2.8em; }
.inventory-items--compact .inventory-badges[b-gcse6cuaji] { justify-content: center; }
.inventory-items--compact .inventory-tile-element[b-gcse6cuaji], .inventory-items--compact .inventory-tile-level[b-gcse6cuaji] { font-size: .6rem; }
.inventory-items--compact .inventory-badges b[b-gcse6cuaji] { padding: .05rem .15rem; font-size: .6rem; }
.is-selecting .inventory-tile-element[b-gcse6cuaji] { top: auto; bottom: 0; }
.is-selecting .inventory-tile-level[b-gcse6cuaji] { top: auto; bottom: 0; }
.inventory-art[b-gcse6cuaji] { position: relative; isolation: isolate; display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid #3a535f; border-radius: .55rem; background: radial-gradient(ellipse at center,#34505a,#142734); overflow: hidden; }.inventory-art img[b-gcse6cuaji] { position: absolute; z-index: 1; width: 100%; height: 100%; object-fit: contain; }.inventory-art > span[b-gcse6cuaji] { font-size: 1.3rem; color: #8ca29c; }.inventory-art--large[b-gcse6cuaji] { width: 64px; height: 64px; flex-basis: 64px; }
.inventory-badges[b-gcse6cuaji] { display: flex; flex-wrap: wrap; gap: .25rem; }.inventory-badges b[b-gcse6cuaji] { font-size: .58rem; font-weight: 500; border: 1px solid #425e64; background: #223d42; color: #96b6b7; border-radius: .25rem; padding: .08rem .3rem; }.inventory-badges .inventory-badge-unknown[b-gcse6cuaji] { color: #d4b680; border-color: #806e45; }
.inventory-pagination[b-gcse6cuaji] { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; font-size: .67rem; color: #8197a5; }.inventory-pagination > div[b-gcse6cuaji] { display: flex; gap: .4rem; }
.inventory-empty[b-gcse6cuaji] { text-align: center; padding: 4rem 1rem; }.inventory-empty > span[b-gcse6cuaji] { color: #667f87; font-size: 2.3rem; }.inventory-empty h3[b-gcse6cuaji] { color: #c1d0d3; font-size: 1rem; margin: .8rem 0 .5rem; }.inventory-empty p[b-gcse6cuaji] { color: #7f97a7; font-size: .76rem; }
.inventory-empty--filtered[b-gcse6cuaji] { padding:.85rem .75rem; }
.inventory-empty--filtered h3[b-gcse6cuaji] { margin:0 0 .25rem; }
.inventory-empty--filtered p[b-gcse6cuaji] { margin:0 0 .5rem; line-height:1.5; }
.inventory-empty--filtered button[b-gcse6cuaji] { min-height:44px; }
.inventory-detail[b-gcse6cuaji] { position: sticky; top: calc(5.5rem + env(safe-area-inset-top)); max-height: calc(100dvh - 11.5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; background: #1a2d39; border: 1px solid #465a61; border-radius: .75rem; padding: 1.35rem; min-width: 0; overflow-wrap: anywhere; }.inventory-detail-close[b-gcse6cuaji] { position: absolute; right: .6rem; top: .5rem; border: 0; background: transparent; font-size: 1.4rem !important; color: #7e9cae; padding: .1rem .5rem; }.inventory-detail-title[b-gcse6cuaji] { display: flex; gap: .8rem; align-items: center; margin-top: .9rem; }.inventory-detail-title h2[b-gcse6cuaji] { font: 700 1.2rem Georgia,serif; color: #e5dfcd; margin: 0 1rem .4rem 0; }.inventory-detail-title small[b-gcse6cuaji] { font-size: .7rem; color: #9aafbc; }.inventory-detail-description[b-gcse6cuaji] { font-size: .78rem; color: #a3b6be; line-height: 1.7; margin: 1rem 0; }.inventory-detail-stock[b-gcse6cuaji] { color: #92abba; font-size: .8rem; }.inventory-detail-stock strong[b-gcse6cuaji] { font: 600 1.4rem Georgia,serif; color: #e5c58e; margin-left: .5rem; }
.inventory-detail-facts[b-gcse6cuaji] { display: flex; flex-direction: column; gap: .5rem; font-size: .73rem; padding: .8rem; margin: 1rem 0; background: #152732; border-radius: .45rem; }.inventory-detail-facts > div[b-gcse6cuaji] { display: flex; gap: .7rem; justify-content: space-between; }.inventory-detail-facts dt[b-gcse6cuaji] { color: #7e97a7; }.inventory-detail-facts dd[b-gcse6cuaji] { margin: 0; color: #cfdbde; text-align: right; }.inventory-tags[b-gcse6cuaji] { display: flex; gap: .3rem; flex-wrap: wrap; }.inventory-tags span[b-gcse6cuaji] { color: #9bafae; background: #263d44; border-radius: .3rem; padding: .2rem .4rem; font-size: .65rem; }
.inventory-detail-actions[b-gcse6cuaji] { display: flex; gap: .4rem; flex-wrap: wrap; margin: 1rem 0 .4rem; }.inventory-detail-actions button[b-gcse6cuaji],.inventory-usages button[b-gcse6cuaji],.inventory-references button[b-gcse6cuaji],.inventory-config-links button[b-gcse6cuaji] { border: 1px solid #425d6c; border-radius: .45rem; background: #243e4c; color: #c6d6dd; padding: .6rem .8rem; font-size: .74rem !important; }.inventory-detail-actions .is-danger[b-gcse6cuaji] { color: #dcad91; border-color: #735445; background: #3d302b; }
.inventory-action-reason[b-gcse6cuaji] { color: #a99a80; font-size: .65rem; line-height: 1.65; margin: .4rem 0; }.inventory-usages[b-gcse6cuaji],.inventory-references[b-gcse6cuaji] { border-top: 1px solid #334959; padding-top: .8rem; margin-top: 1rem; }.inventory-usages h3[b-gcse6cuaji],.inventory-references h3[b-gcse6cuaji] { font-size: .83rem; margin: .1rem 0 .6rem; color: #bdccd2; }.inventory-references p[b-gcse6cuaji] { font-size: .7rem; color: #849eac; }.inventory-usages button[b-gcse6cuaji],.inventory-references button[b-gcse6cuaji] { margin: .2rem .2rem .2rem 0; }.inventory-item-code[b-gcse6cuaji] { color: #5c798a; display: block; margin-top: 1.4rem; font-size: .6rem; }
.inventory-detail-backdrop[b-gcse6cuaji] { display: none; }
.inventory-batch-bar[b-gcse6cuaji] { position: sticky; bottom: calc(5.25rem + env(safe-area-inset-bottom)); z-index: 8; display: flex; gap: .7rem; align-items: center; padding: .8rem 1rem; margin-top: 1rem; background: #34423d; border: 1px solid #9b8251; border-radius: .65rem; box-shadow: 0 5px 22px #0006; }.inventory-batch-bar > div[b-gcse6cuaji] { flex: 1; display: flex; flex-direction: column; gap: .3rem; }.inventory-batch-bar strong[b-gcse6cuaji] { color: #eddbb5; font-size: .85rem; }.inventory-batch-bar small[b-gcse6cuaji] { color: #aba88d; font-size: .65rem; }.inventory-batch-bar button[b-gcse6cuaji] { color: #262d29; background: #d6b979; border: 1px solid #e4cb90; border-radius: .4rem; padding: .65rem .9rem; font-size: .74rem !important; }.inventory-batch-bar .inventory-batch-cancel[b-gcse6cuaji] { color: #b9c4bb; border: 0; background: transparent; }
.inventory-pending[b-gcse6cuaji] { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; border: 1px dashed #4f5960; border-radius: .7rem; padding: 1.1rem; margin-top: 1.5rem; background: #1c2c37; }.inventory-pending > div[b-gcse6cuaji] { flex: 1; min-width: 160px; }.inventory-pending h2[b-gcse6cuaji] { font-size: .95rem; margin: .3rem 0; color: #cbd5d4; }.inventory-pending p[b-gcse6cuaji] { color: #748d9d; font-size: .7rem; margin: 0; }.inventory-pending button[b-gcse6cuaji] { display: flex; flex-direction: column; gap: .4rem; text-align: left; padding: .75rem 1rem; border: 1px solid #45576a; border-radius: .45rem; background: #243645; color: #c9d6df; }.inventory-pending button strong[b-gcse6cuaji] { font-size: .8rem; }.inventory-pending button span[b-gcse6cuaji] { color: #9bb1bd; font-size: .7rem; }
.inventory-config-links[b-gcse6cuaji] { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }.inventory-config-links > span[b-gcse6cuaji] { font-size: .72rem; color: #748f9f; margin-right: .5rem; }.inventory-config-links button[b-gcse6cuaji] { background: transparent; padding: .4rem .6rem; }
.inventory-alert[b-gcse6cuaji] { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; border: 1px solid #7b5b48; border-radius: .5rem; background: #3b302b; color: #e1b597; padding: .7rem .9rem; margin: .7rem 0; font-size: .76rem; line-height: 1.6; }.inventory-alert button[b-gcse6cuaji] { background: transparent; border: 1px solid #9d775b; color: #e6c393; padding: .3rem .5rem; border-radius: .3rem; }.inventory-room-note[b-gcse6cuaji] { color: #bcaa82; font-size: .72rem; line-height: 1.65; border-left: 2px solid #90774b; padding: .2rem .7rem; }
.inventory-modal-backdrop[b-gcse6cuaji] { position: fixed; inset: 0; z-index: 1500; background: #051018c9; display: grid; place-items: center; padding: 1rem; backdrop-filter: blur(5px); }.inventory-modal[b-gcse6cuaji] { width: min(560px,100%); max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; background: #1a2e3b; border: 1px solid #69706a; border-radius: .9rem; padding: 1.4rem; color: #dce4e5; box-shadow: 0 20px 100px #000a; }.inventory-modal header[b-gcse6cuaji] { display: flex; gap: .8rem; align-items: start; justify-content: space-between; }.inventory-modal h2[b-gcse6cuaji] { font: 700 1.3rem Georgia,serif; color: #ece1c9; margin: .4rem 0 .7rem; }.inventory-modal h3[b-gcse6cuaji] { font-size: .82rem; color: #b9cbd3; }.inventory-modal header > button[b-gcse6cuaji] { font-size: 1.5rem; padding: 0 .4rem; color: #8ba5b6; border: 0; background: transparent; }.inventory-modal p[b-gcse6cuaji] { color: #92aab8; font-size: .78rem; line-height: 1.75; }.inventory-preview-items[b-gcse6cuaji] { max-height: 260px; overflow-y: auto; border: 1px solid #334f60; border-radius: .5rem; background: #152935; }.inventory-preview-row[b-gcse6cuaji] { display: flex; flex-direction: column; gap: .3rem; width: 100%; text-align: left; padding: .75rem; border: 0; border-bottom: 1px solid #334854; background: transparent; color: #d8e1e3; }.inventory-preview-items strong[b-gcse6cuaji] { font-size: .82rem; }.inventory-preview-items small[b-gcse6cuaji],.inventory-preview-items button span[b-gcse6cuaji] { font-size: .68rem; color: #8fa6b5; }.inventory-preview-items button:hover[b-gcse6cuaji] { background: #294653; }.inventory-preview-items > p[b-gcse6cuaji] { padding: .5rem 1rem; }.inventory-preview-rewards[b-gcse6cuaji] { display: flex; flex-wrap: wrap; gap: .5rem; }.inventory-preview-rewards > span[b-gcse6cuaji] { color: #d5c294; background: #2b3d3b; border: 1px solid #596150; border-radius: .35rem; padding: .5rem .7rem; font-size: .76rem; }.inventory-preview-rewards strong[b-gcse6cuaji] { padding-left: .6rem; }.inventory-modal footer[b-gcse6cuaji] { display: flex; gap: .6rem; justify-content: end; margin-top: 1.2rem; }.inventory-modal footer button[b-gcse6cuaji] { border: 1px solid #61736d; border-radius: .4rem; padding: .65rem .9rem; color: #d4e0d9; background: #344d4b; font-size: .78rem; }.inventory-modal footer .is-danger[b-gcse6cuaji] { color: #f4d3b3; border-color: #b17e54; background: #78543b; }
@media(max-width: 1020px) { .inventory-summary[b-gcse6cuaji] { grid-template-columns: repeat(4,1fr); }.inventory-summary-protected[b-gcse6cuaji] { grid-column: 1 / -1; border-top: 1px solid #354751 !important; flex-direction: row !important; padding: .7rem 1rem !important; justify-content: space-between !important; }.inventory-workspace.has-detail[b-gcse6cuaji] { grid-template-columns: minmax(270px,1fr) minmax(280px,.8fr); }.inventory-item[b-gcse6cuaji] { gap: .6rem; } }
@media(max-width: 760px) { .inventory-page[b-gcse6cuaji] { padding: .4rem 0 1rem; }.inventory-header[b-gcse6cuaji] { align-items: end; gap: .6rem; }.inventory-header h1[b-gcse6cuaji] { font-size: 1.5rem; }.inventory-header p[b-gcse6cuaji] { display: none; }.inventory-header-tools select[b-gcse6cuaji] { min-width: 120px; max-width: 180px; }.inventory-refresh span[b-gcse6cuaji] { display: none; }.inventory-context[b-gcse6cuaji] { flex-direction: column; gap: .4rem; padding: .3rem 0 .9rem; }.inventory-summary > div[b-gcse6cuaji] { padding: .9rem .65rem; }.inventory-summary strong[b-gcse6cuaji] { font-size: 1.25rem; }.inventory-summary span[b-gcse6cuaji] { font-size: .63rem; }.inventory-summary-protected small[b-gcse6cuaji] { display: none; }.inventory-summary-protected span[b-gcse6cuaji] { font-size: .65rem; }.inventory-summary[b-gcse6cuaji] { margin-bottom: .9rem; }.inventory-categories[b-gcse6cuaji] { gap: .3rem; }.inventory-categories button[b-gcse6cuaji] { padding: .5rem .6rem; font-size: .71rem; gap: .4rem; }.inventory-filters[b-gcse6cuaji] { padding: .65rem; gap: .5rem; }.inventory-search[b-gcse6cuaji] { min-width: 0; }.inventory-filters label:not(.inventory-search)[b-gcse6cuaji] { flex: 1; min-width: 80px; }.inventory-workspace.has-detail[b-gcse6cuaji] { grid-template-columns: 1fr; }.inventory-items[b-gcse6cuaji] { grid-template-columns: 1fr; }.inventory-detail-backdrop[b-gcse6cuaji] { display: block; position: fixed; inset: 0; z-index: 1399; background: #03131bbd; backdrop-filter: blur(3px); }.inventory-detail[b-gcse6cuaji] { position: fixed; z-index: 1400; top: auto; bottom: 0; left: 0; right: 0; width: 100%; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; padding: 1.2rem 1.2rem calc(1.2rem + env(safe-area-inset-bottom)); border-radius: 1rem 1rem 0 0; box-shadow: 0 -15px 60px #0007; }.inventory-detail-close[b-gcse6cuaji] { position: sticky; float: right; top: 0; right: 0; background: #223f4b; border-radius: 50%; width: 30px; height: 30px; line-height: 1; }.inventory-batch-bar[b-gcse6cuaji] { bottom: calc(5.25rem + env(safe-area-inset-bottom)); gap: .5rem; padding: .7rem; }.inventory-batch-bar small[b-gcse6cuaji] { display: none; }.inventory-batch-bar strong[b-gcse6cuaji] { font-size: .74rem; }.inventory-batch-bar button[b-gcse6cuaji] { font-size: .68rem !important; padding: .5rem .6rem; }.inventory-pending[b-gcse6cuaji] { align-items: stretch; padding: .8rem; gap: .6rem; }.inventory-pending > div[b-gcse6cuaji] { width: 100%; flex-basis: 100%; }.inventory-pending button[b-gcse6cuaji] { flex: 1; min-width: 160px; }.inventory-modal[b-gcse6cuaji] { padding: 1.1rem; max-height: 85dvh; }.inventory-modal-backdrop[b-gcse6cuaji] { padding: .7rem; } }
@media(prefers-reduced-motion: no-preference) { .inventory-detail[b-gcse6cuaji],.inventory-modal[b-gcse6cuaji] { animation: inventory-appear-b-gcse6cuaji .16s ease-out; } @keyframes inventory-appear-b-gcse6cuaji { from { opacity: .4; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } }
.inventory-pending-rewards[b-gcse6cuaji] { color: #90a8b7; font-size: .73rem; padding: .8rem 1rem; border: 1px solid #3a4e5b; border-top: 0; border-radius: 0 0 .6rem .6rem; }
.inventory-pending-rewards summary[b-gcse6cuaji] { cursor: pointer; }
.inventory-pending-rewards ul[b-gcse6cuaji] { list-style: none; padding: .5rem 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.inventory-pending-rewards li[b-gcse6cuaji] { display: flex; gap: .7rem; }
.inventory-pending-rewards strong[b-gcse6cuaji] { color: #c8b98b; font-weight: 600; }

/* Keep the items close to the top; advanced controls stay available on demand. */
.inventory-header[b-gcse6cuaji] { padding:.1rem 0 .35rem; }
.inventory-header h1[b-gcse6cuaji] { margin:0; font:700 1.25rem system-ui,sans-serif; color:#f0e5cf; }
.inventory-header-tools select[b-gcse6cuaji], .inventory-filters select[b-gcse6cuaji], .inventory-filters input[b-gcse6cuaji], .inventory-refresh[b-gcse6cuaji] { min-height:44px; }
.inventory-refresh[b-gcse6cuaji] { min-width:44px; }
.inventory-context[b-gcse6cuaji] { flex-direction:row; padding:.25rem 0 .5rem; font-size:.75rem; }
.inventory-summary[b-gcse6cuaji] { margin-bottom:.6rem; }
.inventory-summary > div[b-gcse6cuaji] { min-width:0; padding:.65rem .8rem; gap:.25rem; }
.inventory-summary strong[b-gcse6cuaji] { font:700 1.1rem system-ui,sans-serif; overflow-wrap:anywhere; }
.inventory-summary-protected[b-gcse6cuaji] { padding:.45rem .8rem !important; }
.inventory-categories[b-gcse6cuaji] { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:thin; padding-bottom:.3rem; margin-bottom:.35rem; overscroll-behavior-x:contain; }
.inventory-categories button[b-gcse6cuaji] { flex:0 0 auto; min-height:44px; font-size:.8rem; padding:.45rem .65rem; }
.inventory-filters[b-gcse6cuaji] { position:relative; display:block; padding:.55rem .65rem; margin-bottom:.6rem; }
.inventory-search[b-gcse6cuaji] { display:block; min-width:0; margin-right:7.2rem; }
.inventory-list-heading[b-gcse6cuaji] { padding:.5rem .8rem; }
.inventory-page :is(button,summary)[b-gcse6cuaji], .inventory-modal button[b-gcse6cuaji] { min-height:44px; }
.inventory-page .inventory-detail-close[b-gcse6cuaji], .inventory-modal header > button[b-gcse6cuaji] { width:44px; height:44px; }
.inventory-row-select[b-gcse6cuaji] { position:absolute; top:0; left:0; z-index:2; display:grid; place-items:center; width:44px; height:44px; margin:0; cursor:pointer; }
.inventory-row-select input[b-gcse6cuaji] { width:22px; height:22px; accent-color:#d5b47b; cursor:pointer; }
.inventory-badges b[b-gcse6cuaji] { font-size:.66rem; }
.inventory-room-note[b-gcse6cuaji] { margin:.4rem 0 .65rem; font-size:.75rem; }

@media (max-width:760px) {
    .inventory-items.inventory-items--weapons[b-gcse6cuaji] { grid-template-columns:repeat(4,minmax(0,1fr)); }
    .inventory-items.inventory-items--compact[b-gcse6cuaji] { grid-template-columns:repeat(4,minmax(0,1fr)); }
    .inventory-items[b-gcse6cuaji] { gap:.4rem; padding:.5rem; }
    .inventory-items .inventory-item[b-gcse6cuaji] { gap:.2rem; }
    .inventory-page[b-gcse6cuaji] { padding-top:0; }
    .inventory-header-tools select[b-gcse6cuaji] { min-width:0; max-width:174px; }
    .inventory-header-tools label[b-gcse6cuaji] { font-size:.7rem; }
    .inventory-summary[b-gcse6cuaji] { grid-template-columns:1.4fr .75fr .75fr 1fr; }
    .inventory-summary > div[b-gcse6cuaji] { padding:.5rem .5rem; }
    .inventory-summary strong[b-gcse6cuaji] { font-size:1rem; }
    .inventory-summary span[b-gcse6cuaji] { font-size:.68rem; }
    .inventory-summary-protected[b-gcse6cuaji] { justify-content:flex-start !important; }
}
@media (pointer:coarse) {
    .inventory-header-tools select[b-gcse6cuaji], .inventory-filters select[b-gcse6cuaji], .inventory-filters input[b-gcse6cuaji], .inventory-selection-tools select[b-gcse6cuaji] { font-size:16px; }
}

/* Keep confirmation controls visible while the review content scrolls. */
.inventory-modal[b-gcse6cuaji] { display:flex; flex-direction:column; overflow:hidden; max-height:calc(100dvh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
.inventory-modal > header[b-gcse6cuaji], .inventory-modal > footer[b-gcse6cuaji] { flex:0 0 auto; }
.inventory-modal > header > div[b-gcse6cuaji] { min-width:0; overflow-wrap:anywhere; }
.inventory-modal > header > button[b-gcse6cuaji] { flex:0 0 44px; }
.inventory-modal-body[b-gcse6cuaji] { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding-right:.25rem; }
.inventory-modal > footer[b-gcse6cuaji] { padding-top:.8rem; margin-top:.5rem; border-top:1px solid #405461; }
.inventory-modal > footer button[b-gcse6cuaji] { min-width:88px; }
.inventory-modal .inventory-preview-items[b-gcse6cuaji] { max-height:240px; }
@media(max-width:760px) {
 .inventory-modal-backdrop[b-gcse6cuaji] { padding: max(.6rem,env(safe-area-inset-top)) .6rem max(.6rem,env(safe-area-inset-bottom)); }
 .inventory-modal[b-gcse6cuaji] { padding:.85rem; max-height:calc(100dvh - 1.2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
 .inventory-modal h2[b-gcse6cuaji] { font-size:1.05rem; }
 .inventory-modal > footer button[b-gcse6cuaji] { flex:1; }
 .inventory-modal p[b-gcse6cuaji], .inventory-preview-items small[b-gcse6cuaji], .inventory-preview-items button span[b-gcse6cuaji] { font-size:.8125rem; }
}
.inventory-summary[b-gcse6cuaji] { display:block; }
.inventory-assets > summary[b-gcse6cuaji] { display:flex; align-items:center; justify-content:space-between; gap:.7rem; min-height:48px; padding:.45rem .75rem; cursor:pointer; list-style:none; }
.inventory-assets > summary[b-gcse6cuaji]::-webkit-details-marker { display:none; }
.inventory-assets .inventory-summary-gold[b-gcse6cuaji] { display:flex; align-items:center; gap:.55rem; min-width:0; }
.inventory-assets .inventory-summary-gold > span[b-gcse6cuaji] { font-size:.75rem; }
.inventory-assets .inventory-assets-label[b-gcse6cuaji] { color:#c4d1d5; font-size:.75rem; white-space:nowrap; }
.inventory-assets-label b[b-gcse6cuaji] { display:inline-block; margin-left:.3rem; color:#d6b778; }
.inventory-assets[open] .inventory-assets-label b[b-gcse6cuaji] { transform:rotate(180deg); }
.inventory-assets > summary:focus-visible[b-gcse6cuaji] { outline:2px solid #e8c787; outline-offset:-3px; }
.inventory-asset-counts[b-gcse6cuaji] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid #3a4e57; }
.inventory-asset-counts > div[b-gcse6cuaji] { display:grid; gap:.25rem; padding:.6rem .75rem; }
.inventory-asset-counts > div + div[b-gcse6cuaji] { border-left:1px solid #3a4e57; }
.inventory-asset-protection[b-gcse6cuaji] { margin:0; padding:.5rem .75rem; border-top:1px solid #3a4e57; font-size:.75rem; color:#a8bcc6; }
.inventory-asset-protection small[b-gcse6cuaji] { display:block; margin-top:.25rem; font-size:.7rem; color:#9dafb6; }

.inventory-page--weapon-selection[b-gcse6cuaji] { padding:0; }
.inventory-selection-title[b-gcse6cuaji] { margin:0 0 .4rem; font-size:1rem; color:#eadab9; }
.inventory-page--weapon-selection .inventory-header[b-gcse6cuaji] { align-items:center; padding:.2rem 0 .6rem; }
.inventory-page--weapon-selection .inventory-header p[b-gcse6cuaji] { line-height:1.6; }
.inventory-page--weapon-selection .inventory-context[b-gcse6cuaji] { padding:.4rem 0 .7rem; }
.inventory-page--weapon-selection .inventory-workspace[b-gcse6cuaji] { grid-template-columns:minmax(0,1fr); }
.inventory-page--weapon-selection .inventory-workspace.has-detail[b-gcse6cuaji] { grid-template-columns:minmax(0,1fr) minmax(280px,1fr); }
.inventory-page--weapon-selection .inventory-items--weapons[b-gcse6cuaji] { grid-template-columns:repeat(auto-fill,minmax(100px,1fr)); }
.inventory-page--weapon-selection .inventory-detail[b-gcse6cuaji] { position:sticky; top:0; max-height:none; align-self:start; }
.inventory-badges .inventory-badge-draft[b-gcse6cuaji] { border-color:#9c8558; color:#e8ca8e; }
@media(max-width:760px) {
    .inventory-page--weapon-selection .inventory-workspace.has-detail[b-gcse6cuaji] { grid-template-columns:minmax(0,1fr); }
    .inventory-page--weapon-selection .inventory-detail[b-gcse6cuaji] { position:fixed; inset:auto 0 0; z-index:1470; max-height:88dvh; overflow-y:auto; padding-bottom:calc(1rem + env(safe-area-inset-bottom)); }
    .inventory-page--weapon-selection .inventory-detail-backdrop[b-gcse6cuaji] { z-index:1460; }
    .inventory-page--weapon-selection .inventory-items--weapons[b-gcse6cuaji] { grid-template-columns:repeat(4,minmax(0,1fr)); }
    .inventory-page--weapon-selection .inventory-header-tools[b-gcse6cuaji] { flex:0 0 auto; }
}

/* Weapon selection details keep the header and equipment controls outside the scroll area. */
.inventory-detail--weapon[b-gcse6cuaji] { display:flex; flex-direction:column; padding:0; overflow:hidden; border-color:#8a805f; border-radius:.9rem; box-shadow:0 12px 40px #020e1840; }
.inventory-page--weapon-selection .inventory-detail--equip[b-gcse6cuaji] { display:flex; flex-direction:column; padding:0; overflow:hidden; max-height:min(720px,calc(92dvh - 110px)); border-color:#8a805f; border-radius:.9rem; box-shadow:0 12px 40px #020e1840; }
@media(max-width:760px) {
    .inventory-detail--weapon[b-gcse6cuaji],.inventory-page--weapon-selection .inventory-detail--equip[b-gcse6cuaji] { inset:env(safe-area-inset-top) 0 env(safe-area-inset-bottom); margin:auto; width:calc(100% - 1.3rem); height:fit-content; max-height:calc(100dvh - 1.3rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding:0; border:1px solid #8a805f; border-radius:.9rem; box-shadow:0 24px 90px #000b; }
    .inventory-workspace:has(.inventory-detail--weapon,.inventory-detail--equip) > .inventory-detail-backdrop[b-gcse6cuaji] { background:#030c16c4; backdrop-filter:blur(5px); }
}

/* Warehouse surface colors. */
.inventory-summary[b-gcse6cuaji] { border-color:#52667566; background:linear-gradient(110deg,#253948,#172c3b 65%); box-shadow:inset 0 1px #cbd9dc08; }
.inventory-header-tools select[b-gcse6cuaji],.inventory-refresh[b-gcse6cuaji] { border-color:#526c7c66; background:#193141; }
.inventory-sync[b-gcse6cuaji] { color:#99b9af; }
.inventory-sync[b-gcse6cuaji]::before { content:""; display:inline-block; width:5px; height:5px; margin-right:.35rem; vertical-align:middle; border-radius:50%; background:currentColor; }
.inventory-sync--stale[b-gcse6cuaji] { color:#dcbd80; }
.inventory-categories[b-gcse6cuaji] { scrollbar-width:none; }
.inventory-categories[b-gcse6cuaji]::-webkit-scrollbar { display:none; }
.inventory-categories button[b-gcse6cuaji] { position:relative; border-radius:.55rem; background:transparent; color:#93adbe; }
.inventory-categories button.is-active[b-gcse6cuaji] { color:#ebce97; border-color:#c0a16c55; background:linear-gradient(180deg,#baa06a21,#baa06a0b); box-shadow:inset 0 -2px #d4b37c; }
.inventory-categories small[b-gcse6cuaji] { color:#8da6b7; font-variant-numeric:tabular-nums; }
.inventory-categories .is-active small[b-gcse6cuaji] { color:#d5ba88; }
.inventory-filters[b-gcse6cuaji] { border-color:#40596870; border-radius:.75rem; background:#142a38; box-shadow:inset 0 1px #cbd9dc06; }
.inventory-search[b-gcse6cuaji] { position:relative; }
.inventory-search-icon[b-gcse6cuaji] { position:absolute; z-index:1; left:.75rem; top:50%; width:16px; height:16px; transform:translateY(-50%); fill:none; stroke:#8ea9b8; stroke-width:1.6; stroke-linecap:round; pointer-events:none; }
.inventory-search input[b-gcse6cuaji] { padding-left:2.2rem; border-color:#52718466; background:#0b2130; border-radius:.55rem; }
.inventory-search input[b-gcse6cuaji]::placeholder { color:#809aaa; }
.inventory-list[b-gcse6cuaji] { border-color:#49637166; background:#0f2331; box-shadow:0 5px 22px #020d161a; }
.inventory-list-heading[b-gcse6cuaji] { border-color:#425a6955; background:linear-gradient(100deg,#21394888,#182e3c44); }
.inventory-list-heading h2[b-gcse6cuaji] { color:#e2ded0; }
.inventory-list-heading span[b-gcse6cuaji] { color:#91aab9; }
.inventory-list-heading button[b-gcse6cuaji] { border-color:#5e768355; background:#2a43504d; color:#becdd3; border-radius:.5rem; }
.inventory-list-heading button.is-active[b-gcse6cuaji] { background:#baa06a1c; color:#e5c990; border-color:#c0a16c66; }
.inventory-row--weapon[b-gcse6cuaji] { --element:#a8bac7; border-color:#425e7180; border-radius:.7rem; background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--element) 12%,transparent),transparent 70%),linear-gradient(165deg,#1d3545,#142b3b); box-shadow:inset 0 1px #cfdee810,0 2px 5px #020d1726; }
.inventory-row--weapon[b-gcse6cuaji]::before { content:""; position:absolute; z-index:1; top:0; left:25%; right:25%; height:1px; background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--element) 60%,transparent),transparent); pointer-events:none; }
.inventory-row--weapon .inventory-art[b-gcse6cuaji] { background:radial-gradient(circle,color-mix(in srgb,var(--element) 10%,transparent),transparent 72%); }
.inventory-row--weapon .inventory-art img[b-gcse6cuaji] { filter:drop-shadow(0 2px 2px #0006); }
.inventory-art:has(img:not([hidden])) > span[b-gcse6cuaji] { visibility:hidden; }
.inventory-row--weapon .inventory-tile-element[b-gcse6cuaji] { background:#0c2230a6; box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--element) 25%,transparent); }
.inventory-row--weapon .inventory-tile-level[b-gcse6cuaji] { color:#93aebb; }
.inventory-row--weapon .inventory-tile-name[b-gcse6cuaji] { color:#ece8dc; text-shadow:0 1px 2px #06152166; }
.inventory-row--weapon .inventory-tile-quality[b-gcse6cuaji] { opacity:.9; }
.inventory-row--weapon .inventory-tile-stats[b-gcse6cuaji] { display:grid; grid-template-columns:1fr 1fr; column-gap:0; margin-inline:.15rem; color:#e4cea4; background:linear-gradient(90deg,transparent,#081b294d 20%,#081b294d 80%,transparent); }
.inventory-row--weapon .inventory-tile-stats > span + span[b-gcse6cuaji] { color:#b6d0d0; box-shadow:-1px 0 #7593a12b; }
.inventory-row--weapon .inventory-tile-stats small[b-gcse6cuaji] { color:#8fa9b8; }
.inventory-row--weapon .inventory-badges b[b-gcse6cuaji] { border-color:#72899730; background:#36526933; color:#a4bbc8; border-radius:.25rem; }
.inventory-row--weapon .inventory-badges .inventory-badge-equipped[b-gcse6cuaji] { color:#b6cfdc; border-color:#728f9c44; background:#425e6e44; }
.inventory-row--weapon .inventory-badges .inventory-badge-equipped.is-main[b-gcse6cuaji] { color:#e0c080; border-color:#c4a15e55; background:#a5844526; }
.inventory-row--weapon .inventory-badges .inventory-badge-locked[b-gcse6cuaji] { color:#c3bdae; background:#8c85711a; }
.inventory-row--weapon .inventory-badges .inventory-badge-reference[b-gcse6cuaji] { color:#92b8ca; background:#2d61742b; }
.inventory-row--weapon .inventory-badges .inventory-badge-draft[b-gcse6cuaji],.inventory-row--weapon .inventory-badges .inventory-badge-unknown[b-gcse6cuaji] { color:#e0c080; border-color:#c4a15e55; background:#a5844526; }
.inventory-row--weapon.is-inspected[b-gcse6cuaji],.inventory-row--weapon.is-selected[b-gcse6cuaji] { border-color:#d4b67e; box-shadow:inset 0 0 0 1px #d4b67e80,0 3px 10px #0003; background:radial-gradient(ellipse at 50% 0%,#bb9a5938,transparent 72%),#203440; }
.inventory-pagination[b-gcse6cuaji] { border-top:1px solid #425a6955; color:#8ba5b5; }
.inventory-pagination button[b-gcse6cuaji] { border-color:#50697955; border-radius:.45rem; background:#203a4b88; color:#c4d2da; }
@media (hover:hover) { .inventory-row--weapon:hover[b-gcse6cuaji] { border-color:color-mix(in srgb,var(--element) 50%,#526c7b); } }

/* Breakthrough material picker shares the centered weapon-window presentation. */
.inventory-material-backdrop[b-gcse6cuaji] { padding:1.25rem; background:#030c16c4; }
.inventory-material-modal[b-gcse6cuaji] { width:min(560px,100%); max-height:calc(100dvh - 2.5rem); padding:0; border-color:#8a805f; background:linear-gradient(145deg,#203744,#10212e 70%); box-shadow:0 24px 90px #000b,inset 0 0 0 3px #e4c58b07; }
.inventory-material-modal > header[b-gcse6cuaji] { align-items:center; padding:.75rem 1rem; border-bottom:1px solid #af956c50; background:linear-gradient(100deg,#c2a56812,transparent); }
.inventory-material-modal .inventory-kicker[b-gcse6cuaji] { color:#a5b7bd; font-size:.67rem; font-weight:400; letter-spacing:.04em; }
.inventory-material-modal h2[b-gcse6cuaji] { margin:.2rem 0 0; color:#ebd7ae; font:600 1.1rem/1.4 system-ui,sans-serif; }
.inventory-material-modal > header > button[b-gcse6cuaji] { display:grid; place-items:center; padding:0; border:1px solid #5c717b; border-radius:.5rem; color:#d7c5a0; background:#142b38; }
.inventory-material-modal > .inventory-modal-body[b-gcse6cuaji] { display:flex; flex-direction:column; overflow:hidden; padding:.85rem 1rem .3rem; }
.material-target[b-gcse6cuaji] { display:flex; flex:0 0 auto; align-items:center; gap:.7rem; padding:.65rem; border:1px solid #59717a60; border-radius:.55rem; background:#0b202b66; }
.material-target-art[b-gcse6cuaji] { display:grid; place-items:center; flex:0 0 54px; width:54px; height:60px; border:1px solid color-mix(in srgb,var(--element) 25%,#3b5661); border-radius:.4rem; background:radial-gradient(ellipse,color-mix(in srgb,var(--element) 12%,#30444b),#152c37); }
.material-target-art img[b-gcse6cuaji] { width:50px; height:56px; object-fit:contain; image-rendering:pixelated; }
.material-target > div[b-gcse6cuaji] { display:grid; gap:.2rem; min-width:0; }
.material-target small[b-gcse6cuaji] { color:#9db2bc; font-size:.65rem; }
.material-target strong[b-gcse6cuaji] { color:#e4ddc9; font-size:.9rem; font-weight:600; overflow-wrap:anywhere; }
.material-target > div > span[b-gcse6cuaji] { color:#9eb6c1; font-size:.68rem; }
.material-target i[b-gcse6cuaji] { margin:0 .4rem; color:#bda573; font-style:normal; }
.material-target b[b-gcse6cuaji] { color:#e2c18a; font-weight:500; }
.inventory-material-modal .material-eligibility[b-gcse6cuaji] { flex:0 0 auto; margin:.6rem .1rem .7rem; color:#9eb5bf; font-size:.7rem; line-height:1.65; }
.inventory-material-modal > footer[b-gcse6cuaji] { flex-direction:column; align-items:center; gap:.5rem; margin:0; padding:.6rem 1rem .75rem; border-top:1px solid #586d794d; background:#122633; }
.inventory-material-modal > footer p[b-gcse6cuaji] { margin:0; color:#c4b692; font-size:.68rem; line-height:1.5; }
.inventory-material-modal > footer button[b-gcse6cuaji] { flex:0 0 auto; width:min(220px,100%); min-height:44px; border:1px solid #d1ae70; border-radius:.5rem; background:linear-gradient(110deg,#dfbd80,#c6a16b); color:#192c36; font-size:.8rem; font-weight:600; }
.inventory-material-modal button:focus-visible[b-gcse6cuaji] { outline-offset:-3px; }
@media(max-width:640px) {
 .inventory-material-backdrop[b-gcse6cuaji] { padding:calc(.65rem + env(safe-area-inset-top)) .65rem calc(.65rem + env(safe-area-inset-bottom)); }
 .inventory-material-modal[b-gcse6cuaji] { padding:0; max-height:calc(100dvh - 1.3rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
 .inventory-material-modal > header[b-gcse6cuaji] { padding:.65rem .75rem; }
 .inventory-material-modal > .inventory-modal-body[b-gcse6cuaji] { padding:.65rem .75rem .2rem; }
 .inventory-material-modal > footer[b-gcse6cuaji] { padding:.6rem .75rem; }
}

/* Browse weapons by artwork, progression and protection state. */
.inventory-filter-count[b-gcse6cuaji] { display:grid; place-items:center; min-width:18px; height:18px; padding:0 .15rem; box-sizing:border-box; border:1px solid #c6a56666; border-radius:50%; color:#f0d69e; background:#c6a56620; font-size:.65rem; }
.inventory-active-filters[b-gcse6cuaji] { display:flex; align-items:center; gap:.35rem; flex-wrap:wrap; padding-top:.4rem; }
.inventory-active-filters > span[b-gcse6cuaji] { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; border:1px solid #9b916640; border-radius:.3rem; padding:.2rem .4rem; color:#dbc69b; background:#a8935c12; font-size:.68rem; }
.inventory-active-filters button[b-gcse6cuaji] { border:0; background:transparent; color:#a6bbc5; padding:0 .25rem; font-size:.7rem; margin-left:auto; }
.inventory-list-heading[b-gcse6cuaji] { gap:.6rem; padding:.45rem .7rem; }
.inventory-list-heading > div:first-child[b-gcse6cuaji] { display:grid; gap:.15rem; min-width:0; }
.inventory-list-heading h2[b-gcse6cuaji] { font-size:.86rem; }
.inventory-list-heading > div:first-child > span[b-gcse6cuaji] { font-size:.65rem; }
.inventory-list-heading .inventory-list-actions[b-gcse6cuaji] { display:flex; align-items:center; gap:.4rem; flex:0 0 auto; }
.inventory-sort select[b-gcse6cuaji] { min-height:44px; max-width:100%; border:1px solid #5e768355; border-radius:.45rem; padding:.35rem .3rem .35rem .55rem; background:#112937; color:#d0c5a9; font:inherit; font-size:.72rem; cursor:pointer; }
.inventory-sort select:disabled[b-gcse6cuaji] { opacity:.4; cursor:not-allowed; }
.inventory-list-heading button[b-gcse6cuaji] { padding:.35rem .5rem; font-size:.7rem; white-space:nowrap; }
.inventory-items.inventory-items--weapons[b-gcse6cuaji] { grid-template-columns:repeat(auto-fill,minmax(112px,1fr)); gap:.45rem; padding:.5rem; }
.inventory-row--weapon[b-gcse6cuaji] { border-radius:.5rem; }
.inventory-row--weapon[b-gcse6cuaji]::before { left:0; right:0; height:2px; opacity:.65; }
.inventory-items--weapons .inventory-item[b-gcse6cuaji] { gap:0; padding:0; min-height:0; }
.inventory-weapon-artwork[b-gcse6cuaji] { position:relative; display:grid; place-items:center; height:84px; margin:0; background:radial-gradient(ellipse at 50% 55%,color-mix(in srgb,var(--element) 15%,transparent),transparent 70%); }
.inventory-weapon-artwork .inventory-art[b-gcse6cuaji] { width:76px; height:76px; border-radius:0; overflow:visible; background:transparent; }
.inventory-weapon-artwork .inventory-art img[b-gcse6cuaji] { filter:drop-shadow(0 3px 3px #0008); }
.inventory-weapon-artwork .inventory-tile-element[b-gcse6cuaji] { left:5px; top:5px; width:22px; height:22px; }
.inventory-weapon-artwork .inventory-tile-element[b-gcse6cuaji]  svg { width:20px; height:20px; }
.inventory-weapon-equipped[b-gcse6cuaji] { position:absolute; top:5px; right:0; padding:.12rem .3rem; border:1px solid #7196a45c; border-right:0; border-radius:.25rem 0 0 .25rem; color:#cbe0e7; background:#284554ed; font-size:.59rem; line-height:1.3; }
.inventory-weapon-equipped.is-main[b-gcse6cuaji],.inventory-weapon-equipped.is-draft[b-gcse6cuaji] { color:#f0d49d; border-color:#bda16877; background:#5b4e32ed; }
.inventory-weapon-lock[b-gcse6cuaji] { position:absolute; left:5px; bottom:3px; width:19px; height:20px; display:grid; place-items:center; color:#dec99e; border:1px solid #c69649; border-radius:.25rem; background:#49371df2; }
.inventory-weapon-lock svg[b-gcse6cuaji] { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.inventory-weapon-reference[b-gcse6cuaji] { position:absolute; right:5px; bottom:3px; padding:.05rem .2rem; border-radius:.2rem; color:#a5c2ce; background:#102532bb; font-size:.58rem; line-height:1.4; }
.inventory-weapon-artwork > .inventory-badge-reference[b-gcse6cuaji] { position:absolute; top:25px; right:3px; padding:.05rem .2rem; border-radius:.2rem; color:#dfc99a; background:#102532dd; font-size:.6rem; line-height:1.4; font-weight:500; }
.inventory-row--weapon .inventory-tile-name[b-gcse6cuaji] { display:block; padding:.15rem .3rem .3rem; font-size:.75rem; line-height:1.4; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.inventory-weapon-growth[b-gcse6cuaji] { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.15rem .25rem; padding:.35rem .4rem .2rem; border-top:1px solid #718b9426; background:#081c2859; }
.inventory-weapon-level[b-gcse6cuaji] { color:#8fa9b8; font-size:.6rem; white-space:nowrap; }
.inventory-weapon-level b[b-gcse6cuaji] { color:#d1ddde; font-weight:500; }
.inventory-weapon-growth[b-gcse6cuaji]  .weapon-crystals { gap:2px; height:13px; }
.inventory-weapon-growth[b-gcse6cuaji]  .weapon-crystals__gem { width:8px; height:11px; }
.inventory-weapon-skills[b-gcse6cuaji] { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:.1rem .2rem; padding:.1rem .4rem .4rem; background:#081c2859; color:#94aebb; font-size:.6rem; line-height:1.5; }
.inventory-weapon-skills b[b-gcse6cuaji] { color:#d6c698; font-size:.65rem; font-weight:500; font-variant-numeric:tabular-nums; }
.inventory-weapon-unknown[b-gcse6cuaji] { color:#e1bd89; font-size:.6rem; padding:.15rem; }
.inventory-items--weapons.is-selecting .inventory-weapon-artwork .inventory-tile-element[b-gcse6cuaji] { top:3px; bottom:auto; }
.inventory-items--weapons .inventory-row-select[b-gcse6cuaji] { top:0; left:50%; transform:translateX(-50%); width:44px; height:44px; display:flex; align-items:flex-start; justify-content:center; padding:3px; }
.inventory-items--weapons .inventory-row-select input[b-gcse6cuaji] { width:21px; height:21px; margin:0; }
@media(max-width:760px) {
    .inventory-items.inventory-items--weapons[b-gcse6cuaji] { grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; padding:6px; }
    .inventory-weapon-artwork[b-gcse6cuaji] { height:auto; aspect-ratio:1.15; min-height:58px; }
    .inventory-weapon-artwork .inventory-art[b-gcse6cuaji] { width:78%; height:90%; }
    .inventory-row--weapon .inventory-tile-name[b-gcse6cuaji] { font-size:.75rem; padding:.15rem 2px .3rem; }
    .inventory-weapon-artwork .inventory-tile-element[b-gcse6cuaji] { top:3px; left:3px; width:18px; height:18px; }
    .inventory-weapon-artwork .inventory-tile-element[b-gcse6cuaji]  svg { width:17px; height:17px; }
    .inventory-weapon-equipped[b-gcse6cuaji] { top:3px; padding:.1rem .15rem; font-size:.6rem; }
    .inventory-weapon-lock[b-gcse6cuaji] { left:3px; bottom:2px; width:17px; height:18px; }
    .inventory-weapon-reference[b-gcse6cuaji] { right:3px; bottom:2px; font-size:.6rem; }
    .inventory-weapon-growth[b-gcse6cuaji] { padding:.25rem 3px .15rem; gap:2px; }
    .inventory-weapon-level[b-gcse6cuaji] { font-size:.625rem; }
    .inventory-weapon-growth[b-gcse6cuaji]  .weapon-crystals { gap:1px; }
    .inventory-weapon-growth[b-gcse6cuaji]  .weapon-crystals__gem { width:6px; height:10px; }
    .inventory-weapon-skills[b-gcse6cuaji] { padding:.1rem 3px .3rem; font-size:.625rem; }
    .inventory-weapon-skills b[b-gcse6cuaji] { font-size:.625rem; }
}
@media(max-width:360px) {
    .inventory-list-heading[b-gcse6cuaji] { padding:.4rem .5rem; gap:.3rem; }
    .inventory-list-heading .inventory-list-actions[b-gcse6cuaji] { gap:.3rem; }
    .inventory-sort select[b-gcse6cuaji] { font-size:.68rem; padding-left:.35rem; }
    .inventory-list-heading button[b-gcse6cuaji] { font-size:.67rem; padding-inline:.4rem; }
}

/* Compact toolbar: the inventory remains in place while filters open above it. */
.inventory-header[b-gcse6cuaji] { align-items:center; gap:.5rem; padding:.15rem 0 .25rem; }
.inventory-heading-copy[b-gcse6cuaji] { min-width:0; }
.inventory-heading-copy .inventory-sync[b-gcse6cuaji] { display:block; margin-top:.2rem; font-size:.65rem; }
.inventory-header-tools[b-gcse6cuaji] { align-items:center; gap:.4rem; }
.inventory-header-tools select[b-gcse6cuaji] { min-width:0; max-width:min(180px,45vw); }
.inventory-summary[b-gcse6cuaji] { margin-bottom:.2rem; border:0; border-radius:0; background:transparent; box-shadow:none; }
.inventory-assets > summary[b-gcse6cuaji] { min-height:44px; padding:.15rem 0; gap:.35rem; }
.inventory-summary strong[b-gcse6cuaji] { font-size:.95rem; }
.inventory-assets .inventory-assets-label[b-gcse6cuaji] { display:flex; align-items:center; gap:.35rem; font-size:.7rem; }
.inventory-protection-label[b-gcse6cuaji] { color:#c5b38e; font-size:.625rem; padding:.15rem .3rem; border:1px solid #c5b38e30; border-radius:.25rem; }
.inventory-categories[b-gcse6cuaji] { margin-bottom:.35rem; padding-bottom:.15rem; gap:.15rem; }
.inventory-categories button[b-gcse6cuaji] { padding:.35rem .5rem; gap:.35rem; font-size:.75rem; }
.inventory-filters[b-gcse6cuaji] { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.4rem; padding:0; margin-bottom:.4rem; border:0; background:transparent; box-shadow:none; }
.inventory-search[b-gcse6cuaji] { margin:0; }
.inventory-filter-toggle[b-gcse6cuaji] { display:flex; align-items:center; justify-content:center; gap:.3rem; min-height:44px; padding:.4rem .65rem; border:1px solid #7c75594d; border-radius:.5rem; background:#c6a56612; color:#e2c58e; }
.inventory-filter-toggle strong[b-gcse6cuaji] { font-size:.75rem; font-weight:500; white-space:nowrap; }
.inventory-filter-toggle > svg[b-gcse6cuaji] { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linejoin:round; }
.inventory-active-filters[b-gcse6cuaji] { grid-column:1 / -1; padding:0; }
.inventory-list-heading[b-gcse6cuaji] { padding:.3rem .45rem; gap:.35rem; }
.inventory-list-heading > div:first-child[b-gcse6cuaji] { display:flex; align-items:baseline; flex-wrap:wrap; gap:.25rem; }
.inventory-list-heading > div:first-child > span[b-gcse6cuaji] { font-size:.625rem; }
.inventory-list-heading .inventory-list-actions[b-gcse6cuaji] { gap:.3rem; }

.inventory-page[b-gcse6cuaji]  .inventory-filter-dialog { inset:0; margin:auto; width:min(440px,calc(100% - 24px)); max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding:0; border:1px solid #8a805f; border-radius:.9rem; background:linear-gradient(145deg,#203744,#10212e 70%); box-shadow:0 24px 90px #000b; overflow:hidden; }
.inventory-page[b-gcse6cuaji]  .inventory-filter-dialog[open] { display:flex; flex-direction:column; }
.inventory-filter-header[b-gcse6cuaji] { display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:.85rem 1rem; border-bottom:1px solid #62788544; flex-shrink:0; }
.inventory-filter-header span[b-gcse6cuaji] { color:#96afbd; font-size:.7rem; }
.inventory-filter-header h2[b-gcse6cuaji] { margin:.25rem 0 0; font-size:1.15rem; color:#e9cf98; }
.inventory-filter-header > button[b-gcse6cuaji] { width:44px; height:44px; flex-shrink:0; border:1px solid #647d8970; border-radius:.5rem; background:#0d223044; color:#d7c492; font-size:1.5rem; }
.inventory-filter-body[b-gcse6cuaji] { display:grid; gap:1rem; padding:1rem; overflow:auto; overscroll-behavior:contain; min-height:0; }
.inventory-filter-body fieldset[b-gcse6cuaji] { min-width:0; border:0; padding:0; margin:0; }
.inventory-filter-body legend[b-gcse6cuaji],.inventory-filter-selects label[b-gcse6cuaji] { margin-bottom:.45rem; color:#b2c6ce; font-size:.75rem; }
.inventory-element-options[b-gcse6cuaji] { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.4rem; }
.inventory-quality-options[b-gcse6cuaji] { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.3rem; }
.inventory-filter-body button[b-gcse6cuaji] { display:flex; align-items:center; justify-content:center; gap:.2rem; min-height:44px; padding:.35rem .2rem; border:1px solid #54708070; border-radius:.45rem; background:#0c243366; color:var(--element,#becdd3); font-size:.75rem; }
.inventory-filter-body button[aria-pressed="true"][b-gcse6cuaji] { border-color:var(--element,#d8b778); background:color-mix(in srgb,var(--element,#d8b778) 15%,#102733); box-shadow:inset 0 0 0 1px var(--element,#d8b778); color:var(--element,#f0d49d); }
.inventory-element-options[b-gcse6cuaji]  svg { width:21px; height:21px; flex-shrink:0; }
.inventory-filter-selects[b-gcse6cuaji] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; }
.inventory-filter-selects label[b-gcse6cuaji] { display:grid; gap:.4rem; margin:0; min-width:0; }
.inventory-filter-selects select[b-gcse6cuaji] { min-width:0; width:100%; min-height:44px; padding:.4rem; border:1px solid #54708070; border-radius:.4rem; background:#0d2432; color:#d9e3e5; }
.inventory-filter-footer[b-gcse6cuaji] { display:flex; gap:.6rem; padding:.75rem 1rem; border-top:1px solid #62788544; background:#142b39; flex-shrink:0; }
.inventory-filter-footer button[b-gcse6cuaji] { min-height:44px; padding:.5rem .8rem; border:1px solid #54708070; border-radius:.5rem; background:#203b4b; color:#bbced8; font-size:.8rem; }
.inventory-filter-footer .inventory-filter-apply[b-gcse6cuaji] { flex:1; border-color:#d4b47b; background:linear-gradient(110deg,#e0c084,#c4a065); color:#182c37; font-weight:700; }
@media(max-width:360px) {
    .inventory-filter-body[b-gcse6cuaji] { padding:.75rem; gap:.8rem; }
    .inventory-filter-header[b-gcse6cuaji],.inventory-filter-footer[b-gcse6cuaji] { padding:.6rem .75rem; }
    .inventory-protection-label[b-gcse6cuaji] { padding-inline:.15rem; font-size:.6rem; }
}
.inventory-detail-actions .inventory-profession-boost[b-gcse6cuaji] { border-color:#d1af75; background:#d1af75; color:#192d36; font-weight:700; }
.inventory-profession-boost-note[b-gcse6cuaji] { margin:.6rem 0; color:#9fb9c7; font-size:.76rem; line-height:1.6; }
/* The formation picker uses the same list → detail flow at every viewport size. */
.inventory-page--weapon-selection[b-gcse6cuaji] { display:flex; flex:1; flex-direction:column; min-width:0; min-height:0; width:100%; height:100%; padding:0; overflow:hidden; background:#142b39; }
.inventory-page--weapon-selection .inventory-header[b-gcse6cuaji] { flex:0 0 auto; justify-content:flex-start; gap:.55rem; padding:.55rem .75rem; border-bottom:1px solid #3b5564; }
.inventory-selection-back[b-gcse6cuaji] { display:grid; place-items:center; flex:0 0 40px; width:40px; min-height:44px; padding:0; border:0; border-radius:.45rem; background:#233f4e; color:#e0c797; font-size:1.5rem!important; }
.inventory-page--weapon-selection .inventory-heading-copy[b-gcse6cuaji] { display:flex; flex:1; align-items:center; flex-wrap:wrap; gap:.45rem; }
.inventory-page--weapon-selection .inventory-selection-title[b-gcse6cuaji] { margin:0; font-size:1rem; color:#f0d5a0; }
.inventory-selection-slot[b-gcse6cuaji] { border-radius:.25rem; padding:.2rem .4rem; background:#c7a76320; color:#dfc48f; font-size:.65rem; white-space:nowrap; }
.inventory-page--weapon-selection .inventory-sync[b-gcse6cuaji] { flex-basis:100%; }
.inventory-page--weapon-selection .inventory-refresh[b-gcse6cuaji] { width:40px; min-height:44px; padding:0; border-color:transparent; background:transparent; font-size:1.1rem!important; }
.inventory-page--weapon-selection .inventory-refresh span[b-gcse6cuaji] { display:none; }
.inventory-page--weapon-selection .inventory-filters[b-gcse6cuaji] { flex:0 0 auto; margin:.75rem .75rem .5rem; padding:0; border:0; background:transparent; }
.inventory-page--weapon-selection .inventory-search[b-gcse6cuaji] { min-width:0; }
.inventory-page--weapon-selection .inventory-workspace[b-gcse6cuaji],.inventory-page--weapon-selection .inventory-workspace.has-detail[b-gcse6cuaji] { flex:1; min-height:0; grid-template-columns:minmax(0,1fr); align-items:stretch; gap:0; overflow:hidden; }
.inventory-page--weapon-selection .inventory-list[b-gcse6cuaji] { min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#4d6b7b transparent; border:0; border-radius:0; background:transparent; }
.inventory-page--weapon-selection .inventory-list-heading[b-gcse6cuaji] { position:sticky; top:0; z-index:2; padding:.35rem .75rem; min-height:48px; background:#142b39; }
.inventory-page--weapon-selection .inventory-items--weapons[b-gcse6cuaji] { grid-template-columns:repeat(4,minmax(0,1fr)); gap:.5rem; padding:.6rem .75rem; }
.inventory-page--weapon-selection .inventory-weapon-artwork[b-gcse6cuaji] { height:94px; aspect-ratio:auto; }
.inventory-page--weapon-selection .inventory-weapon-artwork .inventory-art[b-gcse6cuaji] { width:82%; height:88px; }
.inventory-page--weapon-selection .inventory-tile-name[b-gcse6cuaji] { padding:.15rem .3rem; }
.inventory-candidate-stats[b-gcse6cuaji] { display:flex; flex-direction:column; gap:.15rem; width:100%; padding:.4rem .45rem .55rem; color:#9fb8c2; font-size:.68rem; line-height:1.5; font-variant-numeric:tabular-nums; }
.inventory-candidate-stats > span[b-gcse6cuaji] { display:flex; gap:.25rem; align-items:baseline; }
.inventory-candidate-stats b[b-gcse6cuaji] { color:#dce6e7; font-weight:500; }
.inventory-candidate-stats small[b-gcse6cuaji] { margin-left:auto; font-size:.63rem; }
.inventory-candidate-stats .is-gain[b-gcse6cuaji] { color:#93d6bd; }
.inventory-candidate-stats .is-loss[b-gcse6cuaji] { color:#efaba2; }
.inventory-candidate-stats .is-neutral[b-gcse6cuaji] { color:#819ba8; }
.inventory-page--weapon-selection.has-selection-detail > .inventory-header[b-gcse6cuaji],.inventory-page--weapon-selection.has-selection-detail > .inventory-filters[b-gcse6cuaji],.inventory-page--weapon-selection.has-selection-detail .inventory-list[b-gcse6cuaji] { display:none; }
.inventory-page--weapon-selection .inventory-workspace > .inventory-detail[b-gcse6cuaji] { position:static; display:flex; flex-direction:column; width:auto; height:100%; min-height:0; max-height:none; margin:0; padding:0; border:0; border-radius:0; overflow:hidden; inset:auto; }
.inventory-page--weapon-selection .inventory-pagination[b-gcse6cuaji] { padding:.5rem .75rem; font-size:.68rem; }
.inventory-detail-retry[b-gcse6cuaji] { position:relative; }
.inventory-page--weapon-selection .inventory-detail-retry[b-gcse6cuaji] { margin:.75rem; }
.inventory-detail-retry > .inventory-detail-close[b-gcse6cuaji] { position:absolute; inset:.3rem .3rem auto auto; float:none; }
.inventory-detail-retry[b-gcse6cuaji]  .game-state { grid-template-columns:auto minmax(0,1fr); }
.inventory-detail-retry[b-gcse6cuaji]  .game-state__copy { padding-inline-end:44px; }
.inventory-detail-retry[b-gcse6cuaji]  .game-state__copy strong { white-space:normal; }
.inventory-detail-retry[b-gcse6cuaji]  .game-state__actions { grid-column:1/-1; justify-content:flex-end; }
.inventory-detail-retry-button[b-gcse6cuaji] { border:1px solid #526b79; border-radius:.45rem; background:#243e4c; color:#ebdec1; padding:.55rem .8rem; font-size:.78rem !important; }
.inventory-detail-retry-button:disabled[b-gcse6cuaji] { opacity:.6; }
/* Standalone weapon management also opens a centered detail, never a sidebar. */
.inventory-workspace:has(> .inventory-detail--weapon)[b-gcse6cuaji] { grid-template-columns:minmax(0,1fr); }
.inventory-workspace:has(> .inventory-detail--weapon) > .inventory-detail-backdrop[b-gcse6cuaji] { display:block; position:fixed; inset:0; z-index:1399; background:#020b12a8; }
.inventory-workspace > .inventory-detail--weapon[b-gcse6cuaji] { position:fixed; z-index:1400; inset:0; width:min(440px,calc(100vw - 24px)); height:fit-content; max-height:calc(92dvh - var(--app-top-inset,0px)); margin:auto; padding:0; border:1px solid #526b79; border-radius:.9rem; }
@media(max-width:560px) {
    .inventory-page--weapon-selection .inventory-items--weapons[b-gcse6cuaji] { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .inventory-page--weapon-selection .inventory-weapon-artwork[b-gcse6cuaji] { height:106px; }
    .inventory-page--weapon-selection .inventory-weapon-artwork .inventory-art[b-gcse6cuaji] { height:98px; }
}
/* /Pages/Journal.razor.rz.scp.css */
.journal-page[b-gtm8qmec88] {
    --journal-gold:#d9b77b;
    --journal-muted:#aab6bd;
    --journal-line:#cdb58b2b;
    --journal-title-font:"Noto Serif SC","Songti SC","STSong","SimSun",serif;
    --journal-inset:30px;
    display:flex;
    flex-direction:column;
    flex:1;
    min-height:0;
    min-width:0;
    width:100%;
    color:#e8e7e1;
    background:#0e1923;
}
.journal-header[b-gtm8qmec88] { flex-shrink:0; padding:2px var(--journal-inset) 6px; }
.journal-topbar[b-gtm8qmec88] { display:flex; align-items:center; gap:14px; min-height:28px; }
.journal-back[b-gtm8qmec88] { display:inline-flex; align-items:center; gap:7px; min-height:28px; flex:none; color:#c4b18e; text-decoration:none; font-size:12px; }
.journal-back>span[b-gtm8qmec88] { font-size:18px; }
.journal-breadcrumb[b-gtm8qmec88] { display:flex; gap:8px; align-items:center; min-width:0; color:var(--journal-muted); font-size:11px; overflow-wrap:anywhere; }
.journal-breadcrumb>span[b-gtm8qmec88] { color:#667982; }
.journal-refresh[b-gtm8qmec88] { display:flex; align-items:center; justify-content:center; min-width:28px; min-height:28px; margin-left:auto; border:0; border-radius:5px; background:transparent; color:var(--journal-muted); padding:5px; flex:none; }
.journal-refresh[b-gtm8qmec88]  svg { width:16px; height:16px; }
.journal-heading[b-gtm8qmec88] { display:flex; align-items:center; flex-wrap:wrap; gap:10px; min-width:0; }
.journal-heading h1[b-gtm8qmec88] { margin:0; min-width:0; font:600 20px/1.35 var(--journal-title-font); color:#eee6d5; overflow-wrap:anywhere; }
.journal-state[b-gtm8qmec88] { display:inline-flex; align-items:center; gap:5px; color:#b2bba5; font-size:11px; white-space:nowrap; }
.journal-state[b-gtm8qmec88]:before { content:""; width:4px; height:4px; border-radius:50%; background:currentColor; }
.journal-state[data-status=ReadyToReport][b-gtm8qmec88] { color:#efd39e; }
.journal-state[data-status=Completed][b-gtm8qmec88] { color:#b4ceb3; }
.journal-track[b-gtm8qmec88] { display:inline-flex; align-items:center; justify-content:center; gap:6px; flex:none; margin-left:auto; min-height:30px; padding:5px 9px; border:1px solid #b99b6945; border-radius:5px; background:transparent; color:var(--journal-gold); font-size:12px; }
.journal-track[b-gtm8qmec88]  svg { width:14px; height:14px; }
.journal-track.is-tracked[b-gtm8qmec88] { color:#c9b58e; border-color:transparent; opacity:1; }
.journal-tabs[b-gtm8qmec88] { flex-shrink:0; display:flex; align-items:center; gap:24px; padding:0 var(--journal-inset); border-bottom:1px solid var(--journal-line); background:#0e1923; }
.journal-tabs button[b-gtm8qmec88] { display:flex; gap:7px; align-items:center; justify-content:center; min-height:38px; padding:6px 0; border:0; border-bottom:2px solid transparent; background:none; color:var(--journal-muted); font-size:13px; }
.journal-tabs button[aria-pressed=true][b-gtm8qmec88] { color:var(--journal-gold); border-bottom-color:var(--journal-gold); }
.journal-tabs[b-gtm8qmec88]  svg { width:16px; height:16px; flex:none; }
.journal-place[b-gtm8qmec88] { display:flex; align-items:center; gap:6px; margin-left:auto; min-width:0; color:var(--journal-muted); font-size:11px; }
.journal-place[b-gtm8qmec88]  svg { width:14px; height:14px; }
.journal-sheet[b-gtm8qmec88] { position:relative; display:flex; flex-direction:column; flex:1; min-height:0; min-width:0; background:#19252b; }
.journal-scroll[b-gtm8qmec88] { flex:1; min-height:0; padding:0 var(--journal-inset) calc(20px + var(--journal-reading-space,0px)); overflow-y:auto; overflow-wrap:anywhere; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#786344 #19252b; scrollbar-gutter:stable; }
.journal-scroll:focus-visible[b-gtm8qmec88] { outline:2px solid var(--journal-gold); outline-offset:-2px; }
/* Reply padding is measured synchronously, including under reduced-motion rules. */
.journal-scroll[b-gtm8qmec88] { transition-property:none !important; }
.journal-scroll[b-gtm8qmec88]  .journal-block { scroll-margin-top:16px; }
.journal-scroll[b-gtm8qmec88]  .journal-block:first-of-type { padding-top:12px; }
.journal-scroll[b-gtm8qmec88]  .journal-narration { line-height:1.65; }
.journal-scroll[b-gtm8qmec88]  .journal-line { margin-block:10px; }
.journal-controls[b-gtm8qmec88],.journal-history-return[b-gtm8qmec88] { position:relative; z-index:5; flex-shrink:0; padding:10px var(--journal-inset) 12px; border-top:1px solid #b99b6950; background:#0e1923; box-shadow:0 -8px 24px #07101a38; }
.journal-goal[b-gtm8qmec88] { display:flex; align-items:baseline; gap:12px; margin-bottom:8px; min-width:0; }
.journal-objective-heading[b-gtm8qmec88] { display:flex; align-items:center; gap:6px; flex:none; color:var(--journal-muted); font-size:11px; white-space:nowrap; }
.journal-objective-heading[b-gtm8qmec88]  svg { width:15px; height:15px; color:var(--journal-gold); }
.journal-goal-text[b-gtm8qmec88] { margin:0; color:#d8dedb; font-size:12px; line-height:1.75; }
.journal-objectives[b-gtm8qmec88] { display:flex; flex-wrap:nowrap; gap:6px 20px; list-style:none; min-width:0; padding:0; margin:0; }
.journal-objectives li[b-gtm8qmec88] { display:flex; align-items:baseline; gap:10px; min-width:0; font-size:12px; line-height:1.7; }
.journal-objectives strong[b-gtm8qmec88] { flex:none; color:#e1c18a; font-size:11px; font-weight:400; white-space:nowrap; font-variant-numeric:tabular-nums; }
.journal-objectives .is-complete strong[b-gtm8qmec88] { color:#b4ceb3; }
.journal-bottom-row[b-gtm8qmec88] { display:flex; align-items:center; justify-content:space-between; gap:10px 16px; flex-wrap:wrap; }
.journal-footer-rewards[b-gtm8qmec88] { display:flex; align-items:center; gap:12px; min-width:0; flex:1 1 250px; }
.journal-footer-rewards>small[b-gtm8qmec88] { color:var(--journal-muted); font-size:11px; white-space:nowrap; }
.journal-rewards[b-gtm8qmec88] { display:flex; flex-wrap:nowrap; gap:6px 14px; min-width:0; }
.journal-rewards strong[b-gtm8qmec88] { display:inline-flex; align-items:center; gap:6px; min-width:0; color:#e9d4a9; font-size:12px; font-weight:400; }
.journal-reward-name[b-gtm8qmec88] { min-width:0; overflow-wrap:anywhere; white-space:nowrap; }
.journal-reward-name>span[b-gtm8qmec88] { color:#c4bba7; white-space:nowrap; font-variant-numeric:tabular-nums; }
.journal-rewards[b-gtm8qmec88]  .journal-reward-art { flex-basis:25px; width:25px; height:25px; padding:1px; border:0; background:none; box-shadow:none; }
.journal-rewards[b-gtm8qmec88]  .journal-reward-art svg { width:17px; height:17px; }
.journal-action-row[b-gtm8qmec88] { display:flex; align-items:center; justify-content:flex-end; flex:1 1 auto; gap:8px; min-width:0; }
.journal-action[b-gtm8qmec88],.journal-choice[b-gtm8qmec88] { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:42px; padding:9px 14px; border:1px solid #9eacb047; border-radius:5px; margin:0; background:#26353e80; color:#e7e6dd; text-decoration:none; font-size:13px; line-height:1.65; text-align:left; overflow-wrap:anywhere; }
.journal-action[b-gtm8qmec88]  svg,.journal-choice[b-gtm8qmec88]  svg { flex:none; width:17px; height:17px; color:#c5af85; }
.journal-action.is-primary[b-gtm8qmec88],.journal-choice.is-primary[b-gtm8qmec88] { min-width:160px; border-color:#c8ab76; background:#d1b47b; color:#192128; font-weight:600; }
.is-primary[b-gtm8qmec88]  svg { color:#333429; }
.journal-controls .journal-action[b-gtm8qmec88] { flex:0 1 auto; max-width:100%; }
.journal-continuation[b-gtm8qmec88] { min-width:0; }
.journal-continuation>.journal-action[b-gtm8qmec88] { width:100%; }
.journal-secondary[b-gtm8qmec88] { display:inline-flex; align-items:center; gap:6px; min-height:42px; padding:8px 2px; color:var(--journal-gold); background:none; border:0; font-size:12px; text-decoration:none; }
.journal-secondary[b-gtm8qmec88]  svg { width:15px; height:15px; flex:none; }
.journal-retained-link[b-gtm8qmec88] { flex:none; min-height:44px; white-space:nowrap; }
.journal-action-row[b-gtm8qmec88]  .equipment-edit { min-height:42px; padding:9px 12px; font-size:13px; border-radius:5px; line-height:1.65; }
.journal-action-menu[b-gtm8qmec88] { position:relative; flex:none; }
.journal-action-menu>summary[b-gtm8qmec88] { display:flex; align-items:center; justify-content:center; gap:6px; min-height:42px; padding:8px 12px; border:1px solid var(--journal-line); border-radius:5px; color:#c6c9c4; font-size:12px; cursor:pointer; list-style:none; }
.journal-action-menu>summary[b-gtm8qmec88]::-webkit-details-marker { display:none; }
.journal-action-menu>summary[b-gtm8qmec88]  svg { width:14px; height:14px; }
.journal-action-popover[b-gtm8qmec88] { position:absolute; bottom:calc(100% + 9px); right:0; z-index:8; width:260px; max-width:calc(100vw - 40px); max-height:min(360px,60dvh); overflow-y:auto; overscroll-behavior:contain; padding:8px; border:1px solid #806d4c; border-radius:7px; background:#213039; box-shadow:0 8px 28px #0005; }
.journal-action-popover .journal-secondary[b-gtm8qmec88],.journal-action-popover .journal-choice[b-gtm8qmec88] { width:100%; margin:0; min-height:44px; padding:9px 10px; justify-content:space-between; border:0; background:none; }
.journal-questions .journal-action-popover[b-gtm8qmec88] { left:0; right:auto; }
.journal-caption[b-gtm8qmec88] { color:var(--journal-muted); font-size:13px; line-height:1.8; margin:12px 0; }
.journal-terms[b-gtm8qmec88] { display:grid; gap:8px; padding:12px 14px; border:1px solid #c5a46b48; border-radius:5px; margin:12px 0 14px; background:#c5a46b08; font-size:13px; line-height:1.65; }
.journal-terms>p[b-gtm8qmec88] { margin:0; }
.journal-terms>summary[b-gtm8qmec88] { color:var(--journal-gold); cursor:pointer; min-height:44px; }
.journal-wind-preparation[b-gtm8qmec88] { border-left:2px solid #b49b68; border-radius:2px 6px 6px 2px; }
.journal-wind-preparation>summary[b-gtm8qmec88] { display:flex; align-items:center; gap:8px; list-style:none; }
.journal-wind-preparation>summary[b-gtm8qmec88]::-webkit-details-marker { display:none; }
.journal-wind-preparation>summary[b-gtm8qmec88]::marker { content:""; }
.journal-wind-preparation>summary[b-gtm8qmec88]  svg { flex:none; width:16px; height:16px; }
.journal-wind-preparation>summary[b-gtm8qmec88]  svg:last-child { margin-left:auto; width:14px; height:14px; }
.journal-wind-preparation[open]>summary[b-gtm8qmec88]  svg:last-child { transform:rotate(90deg); }
.journal-battle-preparation[b-gtm8qmec88] { display:block; }
.journal-battle-preparation summary strong[b-gtm8qmec88] { font-size:14px; }
.journal-battle-preparation summary span[b-gtm8qmec88],.journal-battle-preparation summary small[b-gtm8qmec88] { display:block; padding-left:17px; color:var(--journal-muted); font-size:12px; overflow-wrap:anywhere; }
.journal-battle-preparation summary small[b-gtm8qmec88] { color:var(--journal-gold); }
.journal-battle-preparation-body[b-gtm8qmec88] { padding-top:10px; }
.journal-battle-preparation-body select[b-gtm8qmec88] { width:100%; min-height:44px; }
.journal-battle-preparation-body p[b-gtm8qmec88] { font-size:13px; }
.journal-completed[b-gtm8qmec88] { display:flex; align-items:flex-start; gap:8px; color:#bad3b4; line-height:1.75; font-size:14px; margin:16px 0; }
.journal-completed[b-gtm8qmec88]  svg { flex:none; width:22px; height:22px; margin-top:1px; }
.journal-completed small[b-gtm8qmec88] { color:#aabbb2; font-size:12px; }
.journal-equipment-handoff[b-gtm8qmec88] { padding:12px 0; margin:14px 0 8px; border-top:1px dashed var(--journal-line); }
.journal-equipment-handoff>small[b-gtm8qmec88] { color:var(--journal-gold); font-size:12px; }
.journal-equipment-handoff>p[b-gtm8qmec88] { color:#c3cccb; font-size:14px; line-height:1.75; margin:6px 0 0; }
.journal-equipment-question[b-gtm8qmec88] { border-bottom:1px dashed var(--journal-line); color:#bdb8a7; font-size:13px; line-height:1.85; }
.journal-equipment-question summary[b-gtm8qmec88] { min-height:44px; padding:10px 0; color:#cbb68f; cursor:pointer; }
.journal-equipment-question p[b-gtm8qmec88] { padding:0 0 8px; margin:0; }
.journal-equipment-question p strong[b-gtm8qmec88] { display:block; color:#dbc399; font-size:12px; }
.journal-folio[b-gtm8qmec88] { display:flex; align-items:center; justify-content:center; gap:9px; margin:16px 0 4px; color:#aaa38d; font:12px/1.8 var(--journal-title-font); }
.journal-folio span[b-gtm8qmec88] { width:24px; height:1px; flex:none; background:var(--journal-line); }
.journal-folio[b-gtm8qmec88]  svg { width:14px; height:14px; flex:none; }
.journal-history-return[b-gtm8qmec88] { display:flex; justify-content:flex-end; }
.journal-notice[b-gtm8qmec88] { padding:10px 12px; margin:14px 0; background:#533d242e; border:1px solid #a27c43; border-radius:5px; line-height:1.8; font-size:13px; }
.journal-track-notice[b-gtm8qmec88] { flex:none; margin:2px var(--journal-inset) 6px; padding:5px 9px; line-height:1.5; }
.journal-loading[b-gtm8qmec88] { flex:1; min-height:0; overflow:auto; padding:24px var(--journal-inset); }
.journal-empty[b-gtm8qmec88] { color:var(--journal-muted); font-size:14px; }
.journal-announcement[b-gtm8qmec88] { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.journal-intro-label[b-gtm8qmec88] { color:#c9b58e; font-size:11px; }
.journal-intro-exit[b-gtm8qmec88] { display:inline-flex; align-items:center; gap:4px; min-height:32px; margin-left:auto; color:var(--journal-muted); text-decoration:none; font-size:12px; }
.journal-intro-exit[b-gtm8qmec88]  svg { width:15px; height:15px; }
button[b-gtm8qmec88],a[b-gtm8qmec88],summary[b-gtm8qmec88] { -webkit-tap-highlight-color:transparent; }
button:focus-visible[b-gtm8qmec88],a:focus-visible[b-gtm8qmec88],summary:focus-visible[b-gtm8qmec88] { outline:2px solid var(--journal-gold); outline-offset:2px; }
@media(hover:hover) {
    .journal-back:hover[b-gtm8qmec88] { color:#f2d6a5; }
    .journal-choice:hover[b-gtm8qmec88],.journal-action:not(.is-primary):hover[b-gtm8qmec88] { border-color:#c4a16b99; background:#2e3a42; }
    .journal-action.is-primary:hover[b-gtm8qmec88] { filter:brightness(1.07); }
    .journal-refresh:hover[b-gtm8qmec88],.journal-track:not([aria-disabled="true"]):hover[b-gtm8qmec88] { background:#d9b77b10; }
}
@media(max-width:600px) {
    .journal-page[b-gtm8qmec88] { --journal-inset:16px; }
    .journal-header[b-gtm8qmec88] { padding-top:0; padding-bottom:4px; }
    .journal-heading[b-gtm8qmec88] { gap:7px; }
    .journal-heading h1[b-gtm8qmec88] { font-size:18px; }
    .journal-track[b-gtm8qmec88] { font-size:11px; gap:4px; padding-inline:6px; }
    .journal-tabs[b-gtm8qmec88] { gap:22px; }
    .journal-tabs button[b-gtm8qmec88] { font-size:12px; gap:6px; }
    .journal-place[b-gtm8qmec88] { display:none; }
    .journal-controls[b-gtm8qmec88] { padding-top:8px; padding-bottom:10px; }
    .journal-goal[b-gtm8qmec88] { gap:8px; margin-bottom:6px; }
    .journal-bottom-row[b-gtm8qmec88] { gap:7px; }
    .journal-footer-rewards[b-gtm8qmec88] { flex-basis:100%; gap:10px; }
    .journal-rewards[b-gtm8qmec88] { gap:4px 10px; }
    .journal-rewards strong[b-gtm8qmec88] { font-size:11px; gap:4px; }
    .journal-rewards[b-gtm8qmec88]  .journal-reward-art { flex-basis:22px; width:22px; height:22px; }
    .journal-action-row[b-gtm8qmec88] { flex-basis:100%; }
    .journal-action-popover[b-gtm8qmec88] { right:auto; left:0; }
    .journal-controls .journal-action[b-gtm8qmec88],.journal-continuation[b-gtm8qmec88] { flex:1; min-width:0; }
    .journal-action[b-gtm8qmec88] { padding:9px 11px; font-size:13px; }
    .journal-action-row[b-gtm8qmec88]  .equipment-edit { flex:1; min-width:0; font-size:12px; }
    .journal-scroll[b-gtm8qmec88]  .journal-line { margin-block:10px; }
    .journal-scroll[b-gtm8qmec88]  .journal-block:first-of-type { padding-top:10px; }
}
@media(max-width:380px) {
    .journal-page[b-gtm8qmec88] { --journal-inset:12px; }
    .journal-heading h1[b-gtm8qmec88] { font-size:18px; }
    .journal-state[b-gtm8qmec88] { font-size:11px; }
    .journal-topbar[b-gtm8qmec88] { gap:9px; }
    .journal-breadcrumb[b-gtm8qmec88] { font-size:10px; gap:5px; }
    .journal-goal[b-gtm8qmec88] { align-items:flex-start; }
    .journal-goal-text[b-gtm8qmec88],.journal-objectives li[b-gtm8qmec88] { font-size:11px; }
}
@media(pointer:coarse) {
    .journal-back[b-gtm8qmec88],.journal-refresh[b-gtm8qmec88],.journal-track[b-gtm8qmec88],.journal-intro-exit[b-gtm8qmec88],.journal-tabs button[b-gtm8qmec88] { min-height:44px; }
    .journal-refresh[b-gtm8qmec88] { min-width:44px; }
    .journal-action[b-gtm8qmec88],.journal-choice[b-gtm8qmec88],.journal-action-menu>summary[b-gtm8qmec88] { min-height:44px; }
}
@media(max-height:520px) and (min-width:601px) {
    .journal-header[b-gtm8qmec88] { display:flex; align-items:center; gap:16px; padding-block:4px; }
    .journal-topbar[b-gtm8qmec88] { flex:none; margin:0; gap:6px; }
    .journal-breadcrumb[b-gtm8qmec88] { display:none; }
    .journal-heading[b-gtm8qmec88] { flex:1; }
    .journal-heading h1[b-gtm8qmec88] { font-size:18px; }
    .journal-tabs button[b-gtm8qmec88] { min-height:36px; padding-block:6px; }
    .journal-controls[b-gtm8qmec88] { padding-block:8px; }
    .journal-goal[b-gtm8qmec88] { margin-bottom:6px; }
    .journal-goal-text[b-gtm8qmec88] { -webkit-line-clamp:1; }
}
/* /Pages/JournalOverview.razor.rz.scp.css */
.journal-page[b-zlmbxlgkyi] {
    --journal-gold: #d9b77b;
    --journal-muted: #aab6bd;
    --journal-line: #cdb58b2b;
    --journal-title-font: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 18px 24px calc(100px + env(safe-area-inset-bottom));
    color: #e8e7e1;
}
.overview-heading[b-zlmbxlgkyi] { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 96px; padding: 14px 20px; margin-bottom: 6px; overflow: hidden; border: 1px solid #b99b6952; border-radius: 4px 12px 12px 4px; background: #17242b; box-shadow: 3px 3px #263331,4px 4px #a7946733,0 12px 24px #0002; }
.overview-heading[b-zlmbxlgkyi]::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#101c25f5 0%,#101c25d4 35%,#101c2550 70%,#101c2570),linear-gradient(0deg,#101c2540,transparent); pointer-events: none; }
.overview-cover-art[b-zlmbxlgkyi] { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 64%; }
.overview-heading-copy[b-zlmbxlgkyi] { min-width: 0; text-shadow: 0 2px 10px #06101b; }
.overview-heading small[b-zlmbxlgkyi] { color: var(--journal-gold); font-size: 12px; letter-spacing: .12em; }
.overview-heading h1[b-zlmbxlgkyi] { margin: 4px 0 0; font: 700 26px/1.4 var(--journal-title-font); letter-spacing: .04em; }
.overview-heading-actions[b-zlmbxlgkyi] { display: flex; align-items: center; gap: 8px; flex: none; }
.overview-heading-actions button[b-zlmbxlgkyi] { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; border: 1px solid #bca4745c; border-radius: 5px; background: #101d29d9; color: #dfd6c6; padding: 8px 12px; font-size: 13px; }
.overview-toolbar[b-zlmbxlgkyi] { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin-bottom: 10px; border-bottom: 1px solid var(--journal-line); }
.overview-results[b-zlmbxlgkyi] { min-width: 0; padding-block: 5px; color: #d1c7b3; font-size: 13px; line-height: 1.7; }
.overview-result-count[b-zlmbxlgkyi] { margin-left: 5px; color: var(--journal-muted); font-size: 12px; white-space: nowrap; }
.overview-query[b-zlmbxlgkyi] { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--journal-muted); font-size: 12px; }
.overview-filter-toggle[b-zlmbxlgkyi] { display: flex; align-items: center; justify-content: center; gap: 6px; flex: none; min-height: 44px; padding: 8px 2px 8px 8px; border: 0; background: none; color: var(--journal-gold); font-size: 12px; }
.overview-filter-toggle[b-zlmbxlgkyi]  svg { width: 16px; height: 16px; transform: rotate(90deg); }
.overview-filter-toggle[aria-expanded=true][b-zlmbxlgkyi]  svg { transform: rotate(-90deg); }
.overview-filters[b-zlmbxlgkyi] { display: grid; gap: 10px; padding: 0 0 12px; margin-bottom: 14px; border-bottom: 1px solid var(--journal-line); }
.overview-filters[hidden][b-zlmbxlgkyi] { display: none; }
.overview-statuses[b-zlmbxlgkyi] { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 6px; }
.overview-statuses button[b-zlmbxlgkyi] { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 5px; min-height: 44px; border: 1px solid transparent; border-radius: 3px 3px 7px 3px; color: var(--journal-muted); background: #1c2a3080; font-size: 12px; }
.overview-statuses strong[b-zlmbxlgkyi] { display: inline-flex; align-items: center; justify-content: center; min-width: 21px; min-height: 21px; padding-inline: 4px; border-radius: 5px; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; background: #ffffff08; }
.overview-statuses button[aria-pressed=true][b-zlmbxlgkyi] { color: #f1d49e; border-color: #b9925770; background: #d9b77b15; }
.overview-statuses button[aria-pressed=true] strong[b-zlmbxlgkyi] { background: #d9b77b20; }
.overview-filter-tools[b-zlmbxlgkyi] { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 14px; }
.overview-kinds[b-zlmbxlgkyi] { display: flex; padding: 3px; border: 1px solid #71838b26; border-radius: 8px; background: #0c172057; }
.overview-kinds button[b-zlmbxlgkyi] { flex: 1; min-height: 44px; white-space: nowrap; border: 0; border-radius: 5px; padding: 8px 12px; background: transparent; color: var(--journal-muted); font-size: 12px; }
.overview-kinds button[aria-pressed=true][b-zlmbxlgkyi] { background: #2a3942; color: #eee8de; box-shadow: 0 1px 4px #0002; }
.overview-search[b-zlmbxlgkyi] { position: relative; display: flex; align-items: center; min-width: 0; color: #a0adaf; }
.overview-search[b-zlmbxlgkyi]  svg { position: absolute; left: 13px; width: 17px; pointer-events: none; }
.overview-search input[b-zlmbxlgkyi] { min-width: 0; width: 100%; min-height: 48px; padding: 10px 12px 10px 38px; font-size: 16px; color: #e4e7e8; background: #0d1822; border: 1px solid #71838b40; border-radius: 8px; }
.overview-search input[b-zlmbxlgkyi]::placeholder { color: #8c9ca5; font-size: 13px; }
.overview-sr-only[b-zlmbxlgkyi] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.overview-cards[b-zlmbxlgkyi] { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.overview-card[b-zlmbxlgkyi] { --card-accent: #cab388; position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; border: 1px solid #b49d6e49; border-radius: 3px 9px 9px 3px; background: repeating-linear-gradient(0deg,#dcc49b03 0 1px,transparent 1px 4px),linear-gradient(115deg,#29332f,#1b282e 65%); padding: 16px 18px 16px 23px; box-shadow: 3px 3px #273332,4px 4px #b3a17a35,6px 6px #0a182080; }
.overview-card[b-zlmbxlgkyi]::before { content: ""; position: absolute; inset: 13px auto 13px 9px; border-left: 1px dashed #c0aa782b; pointer-events: none; }
.overview-bookmark[b-zlmbxlgkyi] { position: absolute; right: 18px; top: -5px; width: 15px; height: 29px; background: linear-gradient(90deg,#895f52,#aa7864 65%,#855c4f); clip-path: polygon(0 0,100% 0,100% 100%,50% 79%,0 100%); pointer-events: none; }
.overview-card--tracked:not([data-status=Completed]) .overview-card-meta[b-zlmbxlgkyi] { padding-right: 23px; }
.overview-card-heading[b-zlmbxlgkyi] { display: flex; align-items: center; gap: 10px; }
.overview-card-heading h2[b-zlmbxlgkyi] { flex: 1; min-width: 0; }
.overview-card-art[b-zlmbxlgkyi] { flex: none; width: 60px; height: 52px; margin: 6px 0; object-fit: cover; object-position: 60% 67%; border: 1px solid #b59c6859; padding: 2px; border-radius: 3px; background: #15242b; box-shadow: 2px 2px #050c1245; }
.overview-card[data-kind=Main][b-zlmbxlgkyi] { --card-accent: #d5b378; border-color: #bf9b606e; background: repeating-linear-gradient(0deg,#dcc49b04 0 1px,transparent 1px 4px),linear-gradient(115deg,#393126,#272a2b 75%); box-shadow: 3px 3px #38352b,4px 4px #b3a17a45,6px 6px #0a182080; }
.overview-card[data-kind=Main][b-zlmbxlgkyi]::before { border-left: 3px double #d3b57d5c; }
.overview-card[data-kind=Main][b-zlmbxlgkyi]::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; border-radius: 3px 0 0 3px; background: linear-gradient(#e1c38a,#9a7646); pointer-events: none; }
.overview-card[data-kind=Side][b-zlmbxlgkyi] { --card-accent: #a6c9bb; border-color: #739d8d55; background: repeating-linear-gradient(0deg,#bacdcc03 0 1px,transparent 1px 4px),linear-gradient(115deg,#21343a,#182831 75%); box-shadow: 3px 3px #24383b,4px 4px #739d8d2b,6px 6px #0a182080; }
.overview-card[data-kind=Side][b-zlmbxlgkyi]::before { border-color: #92b5a84a; }
.overview-card--tracked[data-kind][b-zlmbxlgkyi] { border-color: var(--card-accent); }
.overview-card--ready[b-zlmbxlgkyi] { outline: 1px solid #c6a26880; outline-offset: 2px; }
.overview-card[data-status=Completed][b-zlmbxlgkyi] { background: linear-gradient(125deg,#1b292b,#152029); }
.overview-card-meta[b-zlmbxlgkyi] { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.overview-state[b-zlmbxlgkyi] { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid #b0bcc41a; border-radius: 5px; background: #bccbdd09; color: #aebcc6; font-size: 11px; white-space: nowrap; }
.overview-state[b-zlmbxlgkyi]::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.overview-state[data-status=Active][b-zlmbxlgkyi] { color: #b4cbdc; }
.overview-state[data-status=ReadyToReport][b-zlmbxlgkyi] { color: #efd39e; background: #b992571c; border-color: #d9b77b40; }
.overview-state[data-status=Completed][b-zlmbxlgkyi] { color: #b4ceb3; background: #9ebc8f0c; border: 1px double #9ebc8f60; border-radius: 2px; transform: rotate(-4deg); letter-spacing: .06em; }
.overview-card h2[b-zlmbxlgkyi] { font: 700 18px/1.5 var(--journal-title-font); margin: 8px 0 4px; overflow-wrap: anywhere; }
.overview-card h2 a[b-zlmbxlgkyi] { color: #eee7d8; text-decoration: none; }
.overview-card[data-kind=Main] h2 a[b-zlmbxlgkyi] { color: #f0dcae; }
.overview-card[data-kind=Side] h2 a[b-zlmbxlgkyi] { color: #d7e4e1; }
.overview-card>p[b-zlmbxlgkyi] { color: #aebac1; font-size: 13px; line-height: 1.65; margin: 0 0 10px; flex: 1; overflow-wrap: anywhere; }
.overview-card-actions[b-zlmbxlgkyi] { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--journal-line); padding-top: 10px; }
.overview-card-actions a[b-zlmbxlgkyi],.overview-card-actions button[b-zlmbxlgkyi] { display: flex; align-items: center; gap: 7px; min-height: 44px; font-size: 13px; }
.overview-card-actions a[b-zlmbxlgkyi] { flex: 1; color: #e4c891; text-decoration: none; }
.overview-card[data-kind=Main]:not([data-status=Completed]) .overview-card-actions a[b-zlmbxlgkyi] { justify-content: center; padding: 8px 10px; border: 1px solid #d4b179; border-radius: 5px; color: #252c2d; background: linear-gradient(110deg,#dbc08c,#bc995f); font-weight: 700; }
.overview-card[data-kind=Side] .overview-card-actions a[b-zlmbxlgkyi] { color: #b5d5c8; }
.overview-card-actions a[b-zlmbxlgkyi]  svg { width: 17px; flex: none; }
.overview-card-actions button[b-zlmbxlgkyi] { flex: none; border: 1px solid #9caaae38; border-radius: 7px; background: #0c18232b; color: #b6c3ca; padding: 8px 11px; }
.overview-card-actions button[b-zlmbxlgkyi]  svg { width: 15px; height: 15px; }
.overview-card-actions button[aria-disabled="true"][b-zlmbxlgkyi] { color: #d4bc8f; border-color: #b99b6933; background: #b99b690a; opacity: 1; }
.overview-pagination[b-zlmbxlgkyi] { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: 13px; color: var(--journal-muted); font-variant-numeric: tabular-nums; }
.overview-pagination button[b-zlmbxlgkyi],.overview-empty button[b-zlmbxlgkyi] { min-height: 44px; padding: 10px 16px; border: 1px solid #a69b7d45; border-radius: 8px; background: #1e2c36; color: #eee8de; }
.overview-pagination button:disabled[b-zlmbxlgkyi] { opacity: .4; }
.overview-empty[b-zlmbxlgkyi] { padding: 36px 20px; border: 1px dashed #a69b7d40; border-radius: 12px; text-align: center; background: #18252d66; }
.overview-empty[b-zlmbxlgkyi]  svg { width: 30px; height: 30px; color: #c1a579; }
.overview-empty h2[b-zlmbxlgkyi] { font: 700 20px/1.6 var(--journal-title-font); margin: 14px 0 8px; }
.overview-empty p[b-zlmbxlgkyi] { color: var(--journal-muted); font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.overview-notice[b-zlmbxlgkyi] { padding: 14px 16px; background: #533d242e; border: 1px solid #a27c43; border-radius: 8px; line-height: 1.8; }
.overview-map[b-zlmbxlgkyi] { padding: 20px; border: 1px solid var(--journal-line); border-radius: 12px; background: linear-gradient(130deg,#1e2b30,#152029); }
.overview-map>small[b-zlmbxlgkyi] { color: var(--journal-gold); font-size: 12px; letter-spacing: .1em; }
.overview-map h2[b-zlmbxlgkyi] { font: 700 22px/1.5 var(--journal-title-font); margin: 6px 0 10px; }
.overview-map p[b-zlmbxlgkyi] { color: #b8c1c7; font-size: 14px; line-height: 1.75; }
.overview-map article[b-zlmbxlgkyi] { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-top: 1px solid var(--journal-line); }
.overview-map article:last-child[b-zlmbxlgkyi] { padding-bottom: 0; }
.overview-map article img[b-zlmbxlgkyi] { border-radius: 50%; border: 1px solid #b7a27759; padding: 3px; object-fit: cover; flex: none; }
.overview-map article>div[b-zlmbxlgkyi] { min-width: 0; }
.overview-map article h3[b-zlmbxlgkyi] { font-size: 16px; margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
.overview-map a[b-zlmbxlgkyi],.overview-map button[b-zlmbxlgkyi] { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--journal-gold); border: 0; background: none; padding: 8px 0; text-decoration: none; font-size: 13px; text-align: left; }
.overview-folio[b-zlmbxlgkyi] { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 22px; color: #a89d84; font: 12px/1.8 var(--journal-title-font); }
.overview-folio span[b-zlmbxlgkyi] { width: 32px; height: 1px; background: var(--journal-line); }
.overview-folio[b-zlmbxlgkyi]  svg { width: 14px; height: 14px; }
button[b-zlmbxlgkyi],a[b-zlmbxlgkyi],input[b-zlmbxlgkyi] { -webkit-tap-highlight-color: transparent; }
button[b-zlmbxlgkyi] { cursor: pointer; }
button:disabled[b-zlmbxlgkyi] { cursor: default; }
button:focus-visible[b-zlmbxlgkyi],a:focus-visible[b-zlmbxlgkyi],input:focus-visible[b-zlmbxlgkyi] { outline: 2px solid var(--journal-gold); outline-offset: 3px; }
@media (hover:hover) {
    a:hover[b-zlmbxlgkyi] { color: #f2d6a5; }
    .overview-card:hover[b-zlmbxlgkyi] { border-color: #c4a16b88; }
    .overview-heading-actions button:hover[b-zlmbxlgkyi],.overview-card-actions button:not([aria-disabled="true"]):hover[b-zlmbxlgkyi] { background: #d9b77b10; border-color: #c4a16b88; }
    .overview-filter-toggle:hover[b-zlmbxlgkyi] { color: #f2d6a5; }
    .overview-statuses button:not([aria-pressed=true]):hover[b-zlmbxlgkyi] { background: #ffffff08; color: #e4e0d6; }
}
@media (max-width:700px) {
    .overview-statuses[b-zlmbxlgkyi] { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .overview-cards[b-zlmbxlgkyi] { grid-template-columns: minmax(0,1fr); gap: 12px; }
    .overview-filter-tools[b-zlmbxlgkyi] { grid-template-columns: max-content minmax(0,1fr); gap: 8px; }
}
@media (max-width:600px) {
    .journal-page[b-zlmbxlgkyi] { padding: 6px 6px calc(100px + env(safe-area-inset-bottom)); }
    .overview-heading[b-zlmbxlgkyi] { min-height: 76px; padding: 8px 12px; gap: 8px; }
    .overview-heading h1[b-zlmbxlgkyi] { font-size: 22px; margin-top: 4px; }
    .overview-heading small[b-zlmbxlgkyi] { font-size: 12px; letter-spacing: .04em; }
    .overview-heading-actions[b-zlmbxlgkyi] { gap: 4px; }
    .overview-heading-actions button[b-zlmbxlgkyi] { gap: 4px; padding: 8px; }
    .overview-refresh>span[b-zlmbxlgkyi] { display: none; }
    .overview-toolbar[b-zlmbxlgkyi] { min-height: 46px; margin-bottom: 10px; gap: 8px; }
    .overview-filters[b-zlmbxlgkyi] { padding-bottom: 10px; gap: 8px; margin-bottom: 12px; }
    .overview-kinds button[b-zlmbxlgkyi] { min-width: 44px; padding-inline: 8px; }
    .overview-card[b-zlmbxlgkyi] { padding: 13px 14px 11px 21px; margin-right: 4px; }
    .overview-card-art[b-zlmbxlgkyi] { width: 56px; height: 50px; margin-block: 4px; }
    .overview-card-heading[b-zlmbxlgkyi] { gap: 9px; }
    .overview-card h2[b-zlmbxlgkyi] { font-size: 18px; margin-top: 8px; }
    .overview-card>p[b-zlmbxlgkyi] { margin-bottom: 10px; }
    .overview-map[b-zlmbxlgkyi] { padding: 18px 16px; }
    .overview-map article[b-zlmbxlgkyi] { gap: 12px; }
    .overview-map article img[b-zlmbxlgkyi] { width: 46px; height: 46px; }
}
@media (max-width:360px) {
    .overview-card-actions[b-zlmbxlgkyi] { gap: 8px; }
}
 .overview-empty>a[b-zlmbxlgkyi] { display:inline-flex; align-items:center; gap:8px; min-height:44px; margin:8px 14px; color:#e2c58d; }
/* /Pages/Production.razor.rz.scp.css */
.alchemy-page[b-o37juciq1w] { --alchemy-gold: #e7be78; min-width: 0; color: #e5edf1; padding-bottom: 12px; }
.alchemy-page h1[b-o37juciq1w], .alchemy-page h2[b-o37juciq1w], .alchemy-page h3[b-o37juciq1w], .alchemy-page p[b-o37juciq1w] { margin: 0; }
.alchemy-page img[b-o37juciq1w] { display: block; object-fit: contain; image-rendering: pixelated; }
.alchemy-intro[b-o37juciq1w] { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; margin-bottom: 8px; }
.alchemy-intro h1[b-o37juciq1w] { font-size: 1.14rem; font-weight: 650; }
.alchemy-shortcuts[b-o37juciq1w] { display: flex; gap: 8px; }
.alchemy-shortcuts a[b-o37juciq1w] { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 4px 8px; color: #b9c9d3; font-size: .74rem; text-decoration: none; }
.alchemy-shortcuts .alchemy-garden-link[b-o37juciq1w] { border: 1px solid #8d79564d; border-radius: 7px; color: var(--alchemy-gold); background: #d4af6610; }
.alchemy-bench[b-o37juciq1w] { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; height: 56px; padding: 7px 10px; overflow: hidden; border: 1px solid #7894a644; border-radius: 9px; background: linear-gradient(115deg, #24303e, #142430); color: inherit; text-align: left; }
.alchemy-bench--working[b-o37juciq1w] { border-color: #b8985c88; }
.alchemy-bench-art[b-o37juciq1w] { display: grid; place-items: center; width: 36px; height: 40px; }
.alchemy-bench-art img[b-o37juciq1w] { width: 32px; height: 36px; }
.alchemy-bench-copy[b-o37juciq1w] { display: grid; min-width: 0; gap: 6px; }
.alchemy-bench-copy strong[b-o37juciq1w] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; font-weight: 600; }
.alchemy-bench-copy small[b-o37juciq1w] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #a6bac8; font-size: .68rem; font-variant-numeric: tabular-nums; }
.alchemy-bench-status[b-o37juciq1w] { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 5px; width: 9em; flex: 0 0 9em; min-height: 25px; border: 1px solid #758a9e50; border-radius: 20px; color: #a4bac8; font-size: .62rem; line-height: 1.4; white-space: nowrap; }
.alchemy-bench-status i[b-o37juciq1w] { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.alchemy-bench--working .alchemy-bench-status[b-o37juciq1w], .alchemy-bench-status--stale[b-o37juciq1w] { color: #edc888; border-color: #c39e6270; }
.alchemy-progress[b-o37juciq1w] { position: absolute; inset: auto 0 0; height: 3px; background: #081623; }
.alchemy-progress > span[b-o37juciq1w], .alchemy-task-progress > div > span[b-o37juciq1w] { display: block; height: 100%; background: linear-gradient(90deg, #ae91cf, #e7be78); }
.alchemy-navigation[b-o37juciq1w] { position: sticky; top: calc(4rem + env(safe-area-inset-top)); z-index: 20; margin-top: 8px; padding: 4px 0 8px; background: #0e1a26f7; backdrop-filter: blur(16px); }
.alchemy-filters[b-o37juciq1w] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; padding: 4px; border: 1px solid #819caf30; border-radius: 9px; background: #101e2b; }
.alchemy-filters button[b-o37juciq1w] { min-width: 0; min-height: 44px; padding: 4px 2px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #a9bbc9; font-size: .78rem; white-space: nowrap; }
.alchemy-filters small[b-o37juciq1w] { margin-left: 3px; font-size: .66rem; opacity: .8; }
.alchemy-filters .alchemy-filter--active[b-o37juciq1w] { border-color: #e6bd775c; background: linear-gradient(135deg, #e7be78, #d5a45d); color: #202c31; font-weight: 650; }
.alchemy-find[b-o37juciq1w] { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; margin-top: 7px; }
.alchemy-search[b-o37juciq1w] { position: relative; min-width: 0; }
.alchemy-search input[b-o37juciq1w] { width: 100%; min-width: 0; height: 44px; padding: 7px 44px 7px 11px; border: 1px solid #7f9bae3d; border-radius: 7px; background: #0a1723; color: #dfebf0; font-size: 16px; }
.alchemy-search input[b-o37juciq1w]::placeholder { color: #8a9fac; font-size: .77rem; }
.alchemy-search input[b-o37juciq1w]::-webkit-search-cancel-button { display: none; }
.alchemy-search > button[b-o37juciq1w] { position: absolute; right: 0; top: 0; width: 44px; height: 44px; border: 0; border-radius: 7px; background: transparent; color: #b5c8d3; font-size: 1.25rem; }
.alchemy-ready[b-o37juciq1w] { min-height: 44px; padding: 5px 10px; border: 1px solid #7e98a63c; border-radius: 7px; background: #172735; color: #adc0cc; font-size: .74rem; white-space: nowrap; }
.alchemy-ready--active[b-o37juciq1w] { border-color: #c2a472; background: #b89c5b1b; color: #edd399; }
.alchemy-section-heading[b-o37juciq1w] { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 27px; margin: 0; }
.alchemy-section-heading h2[b-o37juciq1w] { color: #bdcbd4; font-size: .75rem; font-weight: 600; }
.alchemy-section-heading h2 span[b-o37juciq1w] { margin-left: 5px; font-weight: 400; color: #94acbc; }
.alchemy-section-heading > span[b-o37juciq1w] { color: #94a9b8; font-size: .66rem; }
.alchemy-recipe-list[b-o37juciq1w] { display: grid; gap: 7px; }
.alchemy-recipe[b-o37juciq1w] { display: grid; grid-template-columns: 38px minmax(0, 1fr) 66px; align-items: center; gap: 9px; width: 100%; min-width: 0; min-height: 76px; padding: 8px 10px; border: 1px solid #7894a633; border-left: 2px solid #7894a650; border-radius: 9px; background: linear-gradient(120deg, #192a37, #13222e); color: inherit; text-align: left; }
.alchemy-recipe--greater[b-o37juciq1w] { border-left-color: #ba9bdd; }
.alchemy-recipe-icon[b-o37juciq1w] { display: grid; place-items: center; width: 38px; height: 42px; padding: 3px; border: 1px solid #a8a8883c; border-radius: 7px; background: #0c1c29; }
.alchemy-recipe-icon img[b-o37juciq1w] { width: 100%; height: 100%; }
.alchemy-recipe--locked .alchemy-recipe-icon[b-o37juciq1w] { filter: saturate(.5); }
.alchemy-recipe-copy[b-o37juciq1w] { display: grid; min-width: 0; gap: 3px; }
.alchemy-recipe-title[b-o37juciq1w] { display: flex; align-items: center; gap: 6px; min-width: 0; }
.alchemy-recipe-title strong[b-o37juciq1w] { min-width: 0; font-size: .85rem; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.alchemy-recipe-title small[b-o37juciq1w] { flex-shrink: 0; padding: 1px 4px; border-radius: 3px; background: #afbdc013; color: #a6bac7; font-size: .59rem; line-height: 1.4; }
.alchemy-recipe--greater .alchemy-recipe-title small[b-o37juciq1w] { background: #b99cdb1b; color: #cbb2e8; }
.alchemy-recipe-effect[b-o37juciq1w] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #b3c5cf; font-size: .68rem; line-height: 1.4; }
.alchemy-recipe-meta[b-o37juciq1w] { color: #90a8b7; font-size: .63rem; line-height: 1.4; }
.alchemy-recipe-meta i[b-o37juciq1w] { margin: 0 4px; font-style: normal; }
.alchemy-recipe-state[b-o37juciq1w] { display: grid; justify-items: end; gap: 7px; min-width: 0; }
.alchemy-recipe-state b[b-o37juciq1w] { color: #a8bac8; font-size: .71rem; font-weight: 500; white-space: nowrap; }
.alchemy-recipe-state--ready b[b-o37juciq1w] { color: #e5c487; }
.alchemy-recipe-state b span[b-o37juciq1w] { margin-left: 4px; }
.alchemy-recipe-state small[b-o37juciq1w] { color: #91abba; font-size: .61rem; white-space: nowrap; }
.alchemy-empty[b-o37juciq1w] { padding: 22px 12px; border: 1px dashed #809cad44; border-radius: 8px; color: #b5c6d0; text-align: center; font-size: .82rem; }
.alchemy-empty p[b-o37juciq1w] { margin-bottom: 12px; }
.alchemy-page-footer[b-o37juciq1w] { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.alchemy-page-footer button[b-o37juciq1w], .alchemy-page-footer a[b-o37juciq1w] { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 2px; border: 0; border-radius: 4px; background: transparent; color: #acbdc8; font-size: .72rem; text-decoration: none; }
.alchemy-page-footer small[b-o37juciq1w] { color: #d7bb87; }
.alchemy-dialog-host[b-o37juciq1w]  .alchemy-dialog { inset: 0; width: min(480px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); margin: auto; padding: 0; overflow: hidden; border: 1px solid #8f927c; border-radius: 13px; background: linear-gradient(140deg, #203443, #122431); box-shadow: 0 22px 80px #0009; }
.alchemy-dialog-host[b-o37juciq1w]  .alchemy-dialog[open] { display: flex; flex-direction: column; }
.alchemy-dialog-header[b-o37juciq1w] { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #839caa35; }
.alchemy-dialog-header h2[b-o37juciq1w] { font-size: 1.08rem; line-height: 1.5; color: #efdfbb; font-weight: 600; overflow-wrap: anywhere; }
.alchemy-dialog-close[b-o37juciq1w] { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #7c929c66; border-radius: 7px; background: #142936; color: #d4e0e5; font-size: 1.4rem; }
.alchemy-dialog-body[b-o37juciq1w] { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px; }
.alchemy-product[b-o37juciq1w] { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #8da7b22b; }
.alchemy-product > div:last-child[b-o37juciq1w] { min-width: 0; }
.alchemy-product-icon[b-o37juciq1w] { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 54px; padding: 4px; border: 1px solid #a38b6450; border-radius: 8px; background: #0d1f2c; }
.alchemy-product-icon img[b-o37juciq1w] { width: 100%; height: 100%; }
.alchemy-grade[b-o37juciq1w] { color: #c7afd9; font-size: .7rem; }
.alchemy-product p[b-o37juciq1w] { margin: 5px 0; color: #c1d0d8; font-size: .79rem; line-height: 1.6; }
.alchemy-product h3[b-o37juciq1w] { margin: 4px 0; font-size: .95rem; }
.alchemy-product small[b-o37juciq1w], .alchemy-recipe-name[b-o37juciq1w] { color: #99b1c0; font-size: .69rem; line-height: 1.5; }
.alchemy-dialog-body .alchemy-recipe-name[b-o37juciq1w] { margin-top: 8px; }
.alchemy-mode-heading[b-o37juciq1w], .alchemy-ingredients-heading[b-o37juciq1w] { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; margin: 13px 0 8px; }
.alchemy-mode-heading h3[b-o37juciq1w], .alchemy-ingredients-heading h3[b-o37juciq1w] { font-size: .82rem; font-weight: 600; }
.alchemy-mode-heading > span[b-o37juciq1w], .alchemy-ingredients-heading > span[b-o37juciq1w] { color: #a0b6c5; font-size: .66rem; }
.alchemy-modes[b-o37juciq1w] { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.alchemy-modes button[b-o37juciq1w] { display: grid; gap: 5px; min-height: 58px; padding: 9px 7px; border: 1px solid #738e9e55; border-radius: 7px; background: #102331; color: #b2c6d3; text-align: left; }
.alchemy-modes strong[b-o37juciq1w] { font-size: .81rem; font-weight: 600; }
.alchemy-modes small[b-o37juciq1w] { font-size: .63rem; }
.alchemy-modes button.alchemy-mode--active[b-o37juciq1w] { border-color: #c2a472; background: #bb945529; color: #f0d399; }
.alchemy-quantity[b-o37juciq1w] { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; margin-top: 10px; }
.alchemy-quantity label[b-o37juciq1w] { color: #c0d0da; font-size: .76rem; }
.alchemy-stepper[b-o37juciq1w] { display: grid; grid-template-columns: 44px 62px 44px; }
.alchemy-stepper button[b-o37juciq1w] { min-height: 44px; padding: 5px; border: 1px solid #738e9e66; border-radius: 6px 0 0 6px; background: #152b39; color: #e2cea8; font-size: 1rem; }
.alchemy-stepper button:last-child[b-o37juciq1w] { border-radius: 0 6px 6px 0; }
.alchemy-stepper input[b-o37juciq1w] { min-width: 0; width: 100%; height: 44px; padding: 4px; border: 1px solid #738e9e66; border-inline: 0; border-radius: 0; background: #0d1d29; color: #e0eaf0; font-size: 16px; text-align: center; appearance: textfield; }
.alchemy-stepper input[b-o37juciq1w]::-webkit-inner-spin-button, .alchemy-stepper input[b-o37juciq1w]::-webkit-outer-spin-button { appearance: none; margin: 0; }
.alchemy-quantity--continuous .alchemy-stepper[b-o37juciq1w] { opacity: .5; }
.alchemy-quick[b-o37juciq1w] { display: grid; grid-template-columns: 1fr 1fr 1.35fr; grid-column: 1 / -1; gap: 7px; }
.alchemy-quick button[b-o37juciq1w] { min-width: 0; min-height: 44px; padding: 5px 3px; border: 1px solid #738e9e55; border-radius: 6px; background: #142936; color: #c7d6df; font-size: .73rem; }
.alchemy-quantity-hint[b-o37juciq1w] { min-height: 34px; padding-top: 8px; color: #a4bac9; font-size: .69rem; line-height: 1.5; }
.alchemy-estimate[b-o37juciq1w] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin: 10px 0; }
.alchemy-estimate > div[b-o37juciq1w] { display: grid; gap: 5px; padding: 9px 7px; border-radius: 6px; background: #0c1e2b77; }
.alchemy-estimate span[b-o37juciq1w] { color: #9db4c4; font-size: .65rem; line-height: 1.4; }
.alchemy-estimate strong[b-o37juciq1w] { color: #e5d2ac; font-size: .92rem; font-weight: 550; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.alchemy-estimate small[b-o37juciq1w] { font-size: .65rem; font-weight: 400; }
.alchemy-ingredients[b-o37juciq1w] { margin-top: 12px; padding: 10px; border: 1px solid #8da7b22b; border-radius: 8px; }
.alchemy-ingredients-heading[b-o37juciq1w] { margin: 0 0 6px; }
.alchemy-ingredient[b-o37juciq1w] { display: flex; align-items: center; gap: 8px; min-height: 47px; border-top: 1px solid #7894a622; }
.alchemy-ingredient img[b-o37juciq1w] { flex-shrink: 0; width: 28px; height: 30px; }
.alchemy-ingredient > div[b-o37juciq1w] { display: grid; flex: 1; min-width: 0; gap: 3px; }
.alchemy-ingredient strong[b-o37juciq1w] { font-size: .76rem; font-weight: 550; }
.alchemy-ingredient small[b-o37juciq1w] { color: #90a9ba; font-size: .64rem; }
.alchemy-ingredient > span[b-o37juciq1w] { color: #9db4c3; font-size: .73rem; font-variant-numeric: tabular-nums; text-align: right; }
.alchemy-ingredient b[b-o37juciq1w] { color: #bad2b8; font-weight: 550; }
.alchemy-ingredients > p[b-o37juciq1w] { margin-top: 5px; color: #94acbc; font-size: .65rem; line-height: 1.6; }
.alchemy-short[b-o37juciq1w] { color: #e8b394 !important; }
.alchemy-short b[b-o37juciq1w] { color: inherit; }
.alchemy-dialog-body .alchemy-short-note[b-o37juciq1w] { margin: 10px 0 0; padding: 8px 10px; border-left: 2px solid #b29264; background: #ad874512; color: #dcbd95; font-size: .74rem; line-height: 1.6; }
.alchemy-unlock[b-o37juciq1w] { margin-top: 12px; padding: 10px 12px; border: 1px dashed #a38c6655; border-radius: 7px; color: #e0c593; font-size: .8rem; }
.alchemy-unlock p[b-o37juciq1w] { margin-top: 5px; color: #b5c5d0; font-size: .73rem; line-height: 1.7; }
.alchemy-dialog-footer[b-o37juciq1w] { display: grid; grid-template-columns: 1fr 1.6fr; flex-shrink: 0; gap: 8px; padding: 12px 14px; border-top: 1px solid #839caa35; background: #10232fcc; }
.alchemy-recovery-note[b-o37juciq1w] { grid-column: 1 / -1; margin: 0; color: #dcbd95; font-size: .74rem; line-height: 1.5; }
.alchemy-dialog-footer button[aria-disabled="true"][b-o37juciq1w] { opacity: .65; cursor: wait; }
.alchemy-button[b-o37juciq1w] { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 10px; border: 1px solid #9d9b7c66; border-radius: 7px; font-size: .8rem; text-align: center; text-decoration: none; }
.alchemy-button--secondary[b-o37juciq1w] { color: #c8d6df; background: #172d3b; border-color: #7c929c66; }
.alchemy-button--primary[b-o37juciq1w] { color: #1d2c32; background: linear-gradient(135deg, #e7be78, #d8ac68); border-color: #ddb776; font-weight: 650; }
.alchemy-button--primary:disabled[b-o37juciq1w] { opacity: 1; color: #9cb2bf; background: #293d4b; border-color: #71889745; }
.alchemy-stop[b-o37juciq1w] { color: #e1c5a0; background: #ac79441a; border-color: #a38b6566; }
.alchemy-dialog-note[b-o37juciq1w] { color: #b9cbd7; font-size: .82rem; line-height: 1.8; }
.alchemy-task-progress[b-o37juciq1w] { display: grid; gap: 10px; margin-top: 13px; color: #a8c0cf; font-size: .74rem; }
.alchemy-task-progress > span[b-o37juciq1w] { display: flex; justify-content: space-between; }
.alchemy-task-progress b[b-o37juciq1w] { color: #e7cd9d; font-variant-numeric: tabular-nums; }
.alchemy-task-progress > div[b-o37juciq1w] { height: 5px; overflow: hidden; border-radius: 5px; background: #0b1b27; }
.alchemy-history-row[b-o37juciq1w] { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #8da7b22b; }
.alchemy-history-row > img[b-o37juciq1w] { width: 32px; height: 38px; }
.alchemy-bench-art[b-o37juciq1w]  .story-icon, .alchemy-product-icon[b-o37juciq1w]  .story-icon, .alchemy-history-row[b-o37juciq1w]  .story-icon { width: 24px; height: 24px; color: #dcb77c; }
.alchemy-history-row[b-o37juciq1w]  .story-icon { margin-inline: 4px; }
.alchemy-history-row > div[b-o37juciq1w] { display: grid; flex: 1; min-width: 0; gap: 6px; }
.alchemy-history-row strong[b-o37juciq1w] { font-size: .83rem; font-weight: 600; }
.alchemy-history-row small[b-o37juciq1w] { color: #9cb4c3; font-size: .68rem; }
.alchemy-history-row > span[b-o37juciq1w] { color: #e4cc9e; font-size: .9rem; }
@container game-shell (max-width: 350px) {
    .alchemy-intro h1[b-o37juciq1w] { font-size: 1rem; }
    .alchemy-bench[b-o37juciq1w] { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 7px; padding-inline: 8px; }
    .alchemy-bench-art[b-o37juciq1w], .alchemy-bench-art img[b-o37juciq1w] { width: 28px; }
    .alchemy-bench-copy strong[b-o37juciq1w] { font-size: .8rem; }
    .alchemy-bench-copy small[b-o37juciq1w] { font-size: .63rem; }
    .alchemy-bench-status[b-o37juciq1w] { font-size: .58rem; }
    .alchemy-filters button[b-o37juciq1w] { font-size: .7rem; }
    .alchemy-filters small[b-o37juciq1w] { margin-left: 2px; font-size: .6rem; }
    .alchemy-recipe[b-o37juciq1w] { grid-template-columns: 30px minmax(0, 1fr) 59px; gap: 7px; padding-inline: 8px; }
    .alchemy-recipe-icon[b-o37juciq1w] { width: 30px; height: 38px; padding: 2px; }
    .alchemy-recipe-title[b-o37juciq1w] { gap: 4px; }
    .alchemy-recipe-title strong[b-o37juciq1w] { font-size: .8rem; }
    .alchemy-recipe-title small[b-o37juciq1w] { font-size: .55rem; padding-inline: 3px; }
    .alchemy-recipe-meta[b-o37juciq1w] { font-size: .58rem; }
    .alchemy-recipe-meta i[b-o37juciq1w] { margin-inline: 2px; }
    .alchemy-recipe-state b[b-o37juciq1w] { font-size: .65rem; }
    .alchemy-recipe-state small[b-o37juciq1w] { font-size: .58rem; }
}
@media (hover: hover) {
    .alchemy-recipe:hover[b-o37juciq1w], .alchemy-bench:hover[b-o37juciq1w] { border-color: #b39b6b99; }
    .alchemy-filters button:not(.alchemy-filter--active):hover[b-o37juciq1w] { background: #819caf16; }
    .alchemy-button--primary:hover:not(:disabled)[b-o37juciq1w] { filter: brightness(1.08); }
}
@media (prefers-reduced-motion: reduce) { .alchemy-page *[b-o37juciq1w] { scroll-behavior: auto !important; } }

.life-profession-level[b-o37juciq1w]{margin:4px 0 10px;font-size:.73rem;line-height:1.4;color:#8d9caa;}
/* /Pages/Rooms.razor.rz.scp.css */
.rooms-page__title[b-ehsw9mmh8k] { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rooms-page[b-ehsw9mmh8k]  .story-tracker { flex-shrink: 0; margin-bottom: 0; }
.rooms-page[b-ehsw9mmh8k] {
    display: flex; flex-direction: column; gap: .5rem; min-width: 0;
    height: min(900px, calc(100dvh - 9.4rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
    min-height: 380px; margin: 0; padding: 0;
}
.lobby-tabs[b-ehsw9mmh8k] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); flex: 0 0 auto; gap: .25rem; padding: .25rem; border: 1px solid #3d566b; border-radius: .8rem; background: #0b1b29; }
.lobby-tab[b-ehsw9mmh8k] { display: flex; justify-content: center; align-items: center; gap: .4rem; min-width: 0; min-height: 48px; padding: .3rem .2rem; border: 1px solid transparent; border-radius: .55rem; color: #9fb4c4; background: transparent; }
.lobby-tab > span:last-child[b-ehsw9mmh8k] { display: grid; gap: .15rem; min-width: 0; }
.lobby-tab strong[b-ehsw9mmh8k] { font-size: .76rem; white-space: nowrap; }
.lobby-tab small[b-ehsw9mmh8k] { font-size: .59rem; color: #8ea6b7; white-space: nowrap; }
.lobby-tab__icon[b-ehsw9mmh8k] { color: #d8ad63; font-size: 1rem; }
.lobby-tab--active[b-ehsw9mmh8k] { border-color: #b58c4d; background: linear-gradient(135deg, #d5ac6130, #8d682812); color: #f1d39c; }
.lobby-tab--active small[b-ehsw9mmh8k] { color: #c7b890; }
.lobby-panel[b-ehsw9mmh8k] { display: flex; flex-direction: column; gap: .5rem; flex: 1 1 0; min-width: 0; min-height: 0; }
.lobby-panel--rooms[b-ehsw9mmh8k] { padding: .65rem; border: 1px solid #3e566b; border-radius: .85rem; background: linear-gradient(145deg, #192e40, #0f1e2d); }
.lobby-heading[b-ehsw9mmh8k] { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: .5rem; min-height: 38px; }
.lobby-heading > div[b-ehsw9mmh8k] { min-width: 0; }
.lobby-heading h2[b-ehsw9mmh8k] { margin: 0; color: #eee0c4; font-size: 1rem; }
.lobby-heading h2 small[b-ehsw9mmh8k] { margin-left: .2rem; font: 400 .62rem system-ui, sans-serif; color: #8fa8b8; white-space: nowrap; }
.section-kicker[b-ehsw9mmh8k] { color: #d5ab64; font-size: .56rem; font-weight: 800; letter-spacing: .14em; }
.lobby-refresh[b-ehsw9mmh8k], .region-info-trigger[b-ehsw9mmh8k] { flex: 0 0 auto; min-height: 36px; padding: .3rem .6rem; border: 1px solid #4b6377; border-radius: .5rem; background: #112738; color: #dec18c; font-size: .69rem; }
.lobby-segments[b-ehsw9mmh8k] { display: flex; flex: 0 0 auto; gap: .25rem; padding: .2rem; border: 1px solid #3a5266; border-radius: .55rem; background: #0b1c2a; }
.lobby-segments button[b-ehsw9mmh8k] { flex: 1 1 0; min-width: 0; min-height: 32px; border: 1px solid transparent; border-radius: .35rem; padding: .25rem .2rem; background: transparent; color: #9fb4c3; font-size: .69rem; white-space: nowrap; }
.lobby-segments button.active[b-ehsw9mmh8k] { border-color: #b4965f66; background: #dfb16125; color: #efd09a; }
.lobby-room-search[b-ehsw9mmh8k] { display: grid; grid-template-columns: minmax(0, 1fr) 106px; gap: .4rem; flex: 0 0 auto; }
.lobby-room-search input[b-ehsw9mmh8k], .lobby-room-search select[b-ehsw9mmh8k] { width: 100%; min-width: 0; min-height: 40px; border: 1px solid #496176; border-radius: .5rem; background: #0d1e2c; color: #d3e0e9; font-size: .7rem; padding: .35rem .5rem; }
.lobby-room-search input[b-ehsw9mmh8k]::placeholder { color: #849eae; }
.lobby-results[b-ehsw9mmh8k] { --lobby-columns: 1; --lobby-row-height: 132; display: grid; grid-template-columns: repeat(var(--lobby-columns), minmax(0, 1fr)); grid-auto-rows: calc(var(--lobby-row-height) * 1px); align-content: start; gap: .5rem; flex: 1 1 0; min-height: 0; min-width: 0; padding: .15rem; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.room-card[b-ehsw9mmh8k] { display: grid; grid-template-columns: minmax(0, 1fr) 86px; grid-template-rows: 22px minmax(0, 1fr) 18px 4px; gap: .2rem .5rem; min-width: 0; padding: .5rem .6rem; border: 1px solid #476075; border-radius: .65rem; background: linear-gradient(120deg, #1a3043, #102434); }
.room-card--closed[b-ehsw9mmh8k] { background: #122331; border-color: #3b5163; }
.room-card__topline[b-ehsw9mmh8k] { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: .35rem; color: #90aabd; font-size: .61rem; }
.room-card__topline > span:first-child[b-ehsw9mmh8k] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-badge[b-ehsw9mmh8k] { flex: 0 0 auto; padding: .15rem .4rem; border-radius: .35rem; background: #29415a; color: #bcd9ee; font-size: .6rem; }
.status-badge--success[b-ehsw9mmh8k] { background: #1f453b; color: #a2d9bf; }
.status-badge--warning[b-ehsw9mmh8k] { background: #4a3a26; color: #dcc190; }
.room-card__identity[b-ehsw9mmh8k] { min-width: 0; align-self: center; }
.room-card h3[b-ehsw9mmh8k] { margin: 0 0 .2rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #f0dfc0; font-size: .82rem; }
.room-card p[b-ehsw9mmh8k] { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .62rem; color: #aac0ce; }
.room-card__enter[b-ehsw9mmh8k] { grid-column: 2; grid-row: 2; align-self: center; display: flex; justify-content: space-between; align-items: center; min-width: 0; min-height: 44px; padding: .4rem .45rem; font-size: .66rem; }
.room-card__bottom[b-ehsw9mmh8k] { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: .4rem; font-size: .59rem; }
.room-card__rules[b-ehsw9mmh8k] { color: #8fa9b9; white-space: nowrap; }
.room-card__hp[b-ehsw9mmh8k] { color: #b7c9d3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.health-bar[b-ehsw9mmh8k] { grid-column: 1 / -1; width: 100%; height: 4px; border: 0; border-radius: 99px; overflow: hidden; background: #081725; }
.health-bar[b-ehsw9mmh8k]::-webkit-progress-bar { background: #081725; }
.health-bar[b-ehsw9mmh8k]::-webkit-progress-value { background: linear-gradient(90deg, #c8686c, #ed9a87); }
.health-bar[b-ehsw9mmh8k]::-moz-progress-bar { background: #e28b7b; }
.region-picker[b-ehsw9mmh8k] { display: flex; align-items: center; gap: .4rem; flex: 0 0 auto; margin: 0; padding: .5rem; border: 1px solid #3e566b; border-radius: .8rem; background: #132638; }
.region-picker .region-picker__toggle[b-ehsw9mmh8k] { flex: 1; min-width: 0; }
.region-picker .region-picker__toggle > span:first-child[b-ehsw9mmh8k] { display: grid; gap: .1rem; min-width: 0; }
.region-picker .region-picker__toggle strong[b-ehsw9mmh8k] { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.region-picker .region-info-trigger[b-ehsw9mmh8k] { min-height: 44px; padding-inline: .55rem; border-left: 1px solid #4b6377; border-radius: 0; }
.region-picker__toggle[b-ehsw9mmh8k] { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; min-height: 44px; padding: .15rem .25rem; border: 0; background: transparent; text-align: left; color: #dec18c; }
.region-picker__toggle > span:first-child[b-ehsw9mmh8k] { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.region-picker__toggle small[b-ehsw9mmh8k] { color: #91aabb; font-size: .7rem; }
.region-picker__toggle strong[b-ehsw9mmh8k] { color: #f0dfc0; font-size: .88rem; }
.region-picker__toggle > span:last-child[b-ehsw9mmh8k] { flex-shrink: 0; font-size: .73rem; }
.region-picker__toggle:disabled[b-ehsw9mmh8k] { opacity: .5; cursor: default; }
.room-card__pending[b-ehsw9mmh8k] { display: block; margin-top: .15rem; color: #dec18c; font-size: .65rem; }
.region-picker__grid[b-ehsw9mmh8k] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
.region-card[b-ehsw9mmh8k] { --region-color: #d8bd86; display: grid; gap: .15rem; min-width: 0; min-height: 47px; padding: .35rem .25rem; border: 1px solid #415a6d; border-left: 3px solid var(--region-color); border-radius: .45rem; background: #0e2131; text-align: center; color: #d6e2e9; }
.region-card--dark[b-ehsw9mmh8k] { --region-color: #bc9eea; }
.region-card--fire[b-ehsw9mmh8k] { --region-color: #ed9c7e; }
.region-card--water[b-ehsw9mmh8k] { --region-color: #86cde7; }
.region-card--wind[b-ehsw9mmh8k] { --region-color: #86d3ad; }
.region-card--light[b-ehsw9mmh8k] { --region-color: #f4df9b; }
.region-card strong[b-ehsw9mmh8k] { font-size: .7rem; white-space: nowrap; }
.region-card > span[b-ehsw9mmh8k] { font-size: .59rem; color: #99b0bf; }
.region-card b[b-ehsw9mmh8k] { color: var(--region-color); font-weight: 700; }
.region-card--selected[b-ehsw9mmh8k] { border-color: var(--region-color); background: linear-gradient(140deg, #385066, #22384a); box-shadow: inset 0 0 0 1px #ffffff12; }
.dungeon-heading[b-ehsw9mmh8k] { min-height: 32px; padding-inline: .15rem; }
.dungeon-heading h2[b-ehsw9mmh8k] { font-size: .92rem; }
.region-info-trigger[b-ehsw9mmh8k] { min-height: 32px; padding-inline: .4rem; border: 0; background: transparent; font-size: .65rem; }
.dungeon-toolbar[b-ehsw9mmh8k] { display: flex; flex: 0 0 auto; gap: .5rem; align-items: center; }
.dungeon-toolbar .lobby-segments[b-ehsw9mmh8k] { flex: 1 1 0; }
.dungeon-toolbar label[b-ehsw9mmh8k] { display: flex; align-items: center; gap: .2rem; min-height: 36px; color: #acc1cf; font-size: .62rem; white-space: nowrap; }
.dungeon-toolbar input[b-ehsw9mmh8k] { accent-color: #d8ac63; }
.dungeon-grid[b-ehsw9mmh8k] { --lobby-columns: 2; --lobby-row-height: 110; }
.dungeon-card[b-ehsw9mmh8k] { display: flex; flex-direction: column; min-width: 0; gap: .3rem; padding: .55rem .6rem; border: 1px solid #4a6276; border-radius: .65rem; background: linear-gradient(145deg, #1b3145, #112435); text-align: left; color: #dbe6ee; }
.dungeon-card:hover[b-ehsw9mmh8k] { border-color: #d8b16b; background: #243c50; }
.dungeon-card--locked[b-ehsw9mmh8k] { border-style: dashed; background: #152330; }
.dungeon-card--locked > strong[b-ehsw9mmh8k] { color: #9bafbd; }
.dungeon-card__topline[b-ehsw9mmh8k] { display: flex; align-items: center; justify-content: space-between; gap: .3rem; color: #9db5c7; font-size: .6rem; }
.level-badge[b-ehsw9mmh8k] { padding: .12rem .35rem; border-radius: .35rem; color: #a1dbc0; background: #21463d; }
.level-badge--locked[b-ehsw9mmh8k] { background: #443928; color: #dcbf85; }
.dungeon-card > strong[b-ehsw9mmh8k] { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #efdfbf; font-size: .79rem; }
.dungeon-card__summary[b-ehsw9mmh8k] { font-size: .63rem; color: #92adbe; }
.dungeon-card__bottom[b-ehsw9mmh8k] { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .2rem; }
.dungeon-card__bottom small[b-ehsw9mmh8k] { font-size: .6rem; color: #adc0cb; white-space: nowrap; }
.monster-attribute[b-ehsw9mmh8k] { color: #d8bd86; font-size: .6rem; }
.monster-attribute--fire[b-ehsw9mmh8k] { color: #ed9c7e; }
.monster-attribute--water[b-ehsw9mmh8k] { color: #86cde7; }
.monster-attribute--earth[b-ehsw9mmh8k] { color: #d8bd86; }
.monster-attribute--wind[b-ehsw9mmh8k] { color: #86d3ad; }
.monster-attribute--light[b-ehsw9mmh8k] { color: #f4df9b; }
.monster-attribute--dark[b-ehsw9mmh8k] { color: #bc9eea; }
.lobby-pager[b-ehsw9mmh8k] { display: grid; flex: 0 0 auto; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: .4rem; }
.lobby-pager button[b-ehsw9mmh8k], .lobby-pager select[b-ehsw9mmh8k] { min-width: 0; min-height: 44px; border: 1px solid #4a6377; border-radius: .55rem; background: #142a3c; color: #dec28e; }
.lobby-pager button[b-ehsw9mmh8k] { font-size: 1rem; }
.lobby-pager select[b-ehsw9mmh8k] { width: 100%; text-align: center; padding: .4rem; font-size: .69rem; }
.lobby-results:has(.empty-state)[b-ehsw9mmh8k] { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr); align-content: stretch; }
.empty-state[b-ehsw9mmh8k] { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; min-height: 0; padding: .5rem; text-align: center; color: #96afc0; }
.empty-state__icon[b-ehsw9mmh8k] { color: #b69761; font-size: 1.8rem; }
.empty-state strong[b-ehsw9mmh8k] { font-size: .86rem; color: #d9e4ec; }
.empty-state > span:not(.empty-state__icon)[b-ehsw9mmh8k] { font-size: .7rem; }
.empty-state__actions[b-ehsw9mmh8k] { display: flex; justify-content: center; gap: .4rem; }
.empty-state .button[b-ehsw9mmh8k] { font-size: .7rem; }
.notice-message[b-ehsw9mmh8k] { flex: 0 0 auto; margin: 0; padding: .35rem .5rem; border: 1px solid #8d684e; border-radius: .45rem; background: #4f302638; color: #e4bc8d; font-size: .69rem; }
.region-info-host[b-ehsw9mmh8k]  .lobby-info-dialog { inset: auto 0 0; margin: auto; padding: 0; width: min(100%, 540px); max-width: 100%; max-height: min(88dvh, calc(100dvh - var(--app-top-inset, 0px) - 16px - env(safe-area-inset-top))); border: 1px solid #607b8e; border-radius: 1rem 1rem 0 0; background: linear-gradient(135deg, #23394c, #122536); overflow: hidden; }
.region-info-host[b-ehsw9mmh8k]  .lobby-info-dialog[open] { display: flex; flex-direction: column; }
.region-info-host header[b-ehsw9mmh8k] { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; padding: .8rem 1rem; border-bottom: 1px solid #506b8055; }
.region-info-host h2[b-ehsw9mmh8k] { margin: .15rem 0; font-size: 1.2rem; color: #eedeC2; }
.region-info-host header button[b-ehsw9mmh8k] { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #506c80; border-radius: .5rem; background: #102638; color: #c9dce7; font-size: 1.5rem; }
.lobby-info-body[b-ehsw9mmh8k] { min-height: 0; overflow-y: auto; padding: .8rem 1rem; font-size: .8rem; color: #b2c8d4; line-height: 1.7; }
.lobby-info-body p[b-ehsw9mmh8k] { margin: 0 0 .8rem; }
.lobby-info-body dl[b-ehsw9mmh8k] { display: grid; gap: .5rem; margin: 0; }
.lobby-info-body dl > div[b-ehsw9mmh8k] { display: flex; justify-content: space-between; gap: .6rem; border-bottom: 1px solid #4b657744; padding-bottom: .35rem; }
.lobby-info-body dd[b-ehsw9mmh8k] { margin: 0; color: #ead0a0; }
.region-info-host footer[b-ehsw9mmh8k] { flex-shrink: 0; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); border-top: 1px solid #506b8055; }
.region-info-host footer button[b-ehsw9mmh8k] { width: 100%; min-height: 44px; }
.rooms-page :where(button, input, select):focus-visible[b-ehsw9mmh8k] { outline: 2px solid #f0c779; outline-offset: -2px; }
@container game-shell (max-width: 360px) {
    .lobby-tab__icon[b-ehsw9mmh8k] { display: none; }
    .lobby-tab strong[b-ehsw9mmh8k] { font-size: .72rem; }
    .lobby-panel--rooms[b-ehsw9mmh8k] { padding: .5rem; }
    .room-card[b-ehsw9mmh8k] { grid-template-columns: minmax(0, 1fr) 77px; padding-inline: .45rem; }
    .room-card__bottom[b-ehsw9mmh8k] { gap: .2rem; font-size: .53rem; }
    .room-card__enter[b-ehsw9mmh8k] { font-size: .62rem; }
    .region-card strong[b-ehsw9mmh8k] { font-size: .66rem; }
    .dungeon-heading h2[b-ehsw9mmh8k] { font-size: .82rem; }
    .dungeon-card[b-ehsw9mmh8k] { padding-inline: .45rem; }
    .dungeon-card > strong[b-ehsw9mmh8k] { font-size: .72rem; }
}
@media (max-height: 700px) {
    .rooms-page[b-ehsw9mmh8k], .lobby-panel[b-ehsw9mmh8k] { gap: .4rem; }
    .region-picker[b-ehsw9mmh8k] { padding: .4rem; }
    .region-card[b-ehsw9mmh8k] { min-height: 44px; padding-block: .25rem; }
    .dungeon-grid[b-ehsw9mmh8k] { --lobby-row-height: 84; }
    .dungeon-card[b-ehsw9mmh8k] { gap: .15rem; padding-block: .35rem; }
}
@media (max-height: 600px) {
    .lobby-tab[b-ehsw9mmh8k] { min-height: 44px; }
    .lobby-heading .section-kicker[b-ehsw9mmh8k] { display: none; }
    .room-grid[b-ehsw9mmh8k] { --lobby-row-height: 116; }
    .dungeon-grid[b-ehsw9mmh8k] { --lobby-row-height: 80; }
    .lobby-panel--rooms[b-ehsw9mmh8k] { gap: .4rem; }
    .empty-state[b-ehsw9mmh8k] { gap: .3rem; }
    .empty-state__icon[b-ehsw9mmh8k] { display: none; }
    .dungeon-grid .empty-state > span[b-ehsw9mmh8k] { display: none; }
}
/* Keep one page scroll on phones; pagination still limits the number of cards. */
@media (max-width: 600px) {
    .rooms-page[b-ehsw9mmh8k] { height: auto; min-height: 0; gap: .5rem; }
    .lobby-panel[b-ehsw9mmh8k] { flex: 0 0 auto; gap: .5rem; }
    .lobby-tab[b-ehsw9mmh8k] { min-height: 48px; }
    .lobby-tab strong[b-ehsw9mmh8k] { font-size: .8rem; }
    .lobby-tab small[b-ehsw9mmh8k] { font-size: .65rem; }
    .lobby-tab__icon[b-ehsw9mmh8k] { display: none; }
    .lobby-heading h2[b-ehsw9mmh8k], .dungeon-heading h2[b-ehsw9mmh8k] { font-size: .92rem; }
    .lobby-heading h2 small[b-ehsw9mmh8k] { font-size: .7rem; }
    .lobby-refresh[b-ehsw9mmh8k], .region-info-trigger[b-ehsw9mmh8k] { min-height: 44px; font-size: .75rem; }
    .lobby-segments button[b-ehsw9mmh8k] { min-height: 44px; font-size: .76rem; }
    .lobby-room-search[b-ehsw9mmh8k] { grid-template-columns: minmax(0, 1fr) 106px; }
    .lobby-room-search input[b-ehsw9mmh8k], .lobby-room-search select[b-ehsw9mmh8k] { min-height: 44px; font-size: 16px; }
    .lobby-room-search input[b-ehsw9mmh8k] { font-size: 16px; }
    .lobby-results[b-ehsw9mmh8k] { flex: 0 0 auto; overflow: visible; overscroll-behavior: auto; }
    .dungeon-grid[b-ehsw9mmh8k] { --lobby-columns: 1; --lobby-row-height: 112; height: calc(336px + 1rem + .3rem); }
    .room-grid[b-ehsw9mmh8k] { --lobby-row-height: 148; height: calc(296px + .5rem + .3rem); }
    .lobby-results:has(.empty-state)[b-ehsw9mmh8k] { height: 190px; }
    .region-picker[b-ehsw9mmh8k] { padding: .35rem .5rem; }
    .region-card[b-ehsw9mmh8k] { min-height: 56px; }
    .region-card strong[b-ehsw9mmh8k] { font-size: .75rem; }
    .region-card > span[b-ehsw9mmh8k] { font-size: .64rem; }
    .dungeon-toolbar[b-ehsw9mmh8k] { gap: .35rem; }
    .dungeon-toolbar label[b-ehsw9mmh8k] { min-height: 48px; padding-inline: .2rem; font-size: .74rem; }
    .dungeon-toolbar input[b-ehsw9mmh8k] { width: 18px; height: 18px; margin: 0 .15rem 0 0; }
    .dungeon-card[b-ehsw9mmh8k] { padding: .55rem .7rem; gap: .25rem; }
    .dungeon-card > strong[b-ehsw9mmh8k] { font-size: .88rem; }
    .dungeon-card__topline[b-ehsw9mmh8k], .dungeon-card__summary[b-ehsw9mmh8k], .monster-attribute[b-ehsw9mmh8k], .dungeon-card__bottom small[b-ehsw9mmh8k] { font-size: .7rem; }
    .room-card[b-ehsw9mmh8k] { grid-template-columns: minmax(0, 1fr) 90px; grid-template-rows: 24px minmax(0, 1fr) 22px 4px; padding: .5rem; }
    .room-card h3[b-ehsw9mmh8k] { font-size: .87rem; }
    .room-card p[b-ehsw9mmh8k], .room-card__topline[b-ehsw9mmh8k] { font-size: .7rem; }
    .room-card__enter[b-ehsw9mmh8k] { min-height: 48px; font-size: .73rem; }
    .room-card__bottom[b-ehsw9mmh8k] { font-size: .63rem; }
    .room-card__hp[b-ehsw9mmh8k] { display: none; }
    .status-badge[b-ehsw9mmh8k] { font-size: .65rem; }
    .lobby-pager select[b-ehsw9mmh8k] { font-size: 16px; }
    .empty-state .button[b-ehsw9mmh8k] { min-height: 44px; }
}

@media (max-width: 600px) and (max-height: 740px) {
    .rooms-page[b-ehsw9mmh8k], .lobby-panel[b-ehsw9mmh8k] { gap: .4rem; }
    .lobby-panel--rooms[b-ehsw9mmh8k] { gap: .25rem; padding: .4rem; }
    .room-grid[b-ehsw9mmh8k] { --lobby-row-height: 128; }
    .lobby-tab[b-ehsw9mmh8k] { min-height: 44px; }
    .region-picker[b-ehsw9mmh8k] { padding-block: 0; }
    .dungeon-grid[b-ehsw9mmh8k] { height: calc(224px + .5rem + .3rem); }
}

@media (max-width: 950px) and (max-height: 500px) and (orientation: landscape) {
    .rooms-page[b-ehsw9mmh8k] { height: auto; min-height: 0; gap: .5rem; }
    .lobby-panel[b-ehsw9mmh8k] { flex: 0 0 auto; gap: .5rem; }
    .lobby-tab[b-ehsw9mmh8k] { min-height: 44px; }.lobby-tab strong[b-ehsw9mmh8k] { font-size: .8rem; }.lobby-tab small[b-ehsw9mmh8k] { font-size: .65rem; }
    .lobby-refresh[b-ehsw9mmh8k], .region-info-trigger[b-ehsw9mmh8k], .lobby-segments button[b-ehsw9mmh8k], .dungeon-toolbar label[b-ehsw9mmh8k] { min-height: 44px; font-size: .75rem; }
    .lobby-room-search input[b-ehsw9mmh8k], .lobby-room-search select[b-ehsw9mmh8k] { min-height: 44px; font-size: 16px; }
    .dungeon-toolbar input[b-ehsw9mmh8k] { width: 18px; height: 18px; }
    .lobby-results[b-ehsw9mmh8k] { flex: 0 0 auto; overflow: visible; overscroll-behavior: auto; }
    .dungeon-grid[b-ehsw9mmh8k] { --lobby-columns: 2; --lobby-row-height: 112; height: calc(112px + .3rem); }
    .room-grid[b-ehsw9mmh8k] { --lobby-columns: 2; --lobby-row-height: 148; height: calc(148px + .3rem); }
    .lobby-results:has(.empty-state)[b-ehsw9mmh8k] { height: 160px; }
    .dungeon-card[b-ehsw9mmh8k] { padding: .55rem .65rem; gap: .25rem; }
    .dungeon-card > strong[b-ehsw9mmh8k] { font-size: .86rem; }
    .dungeon-card__topline[b-ehsw9mmh8k], .dungeon-card__summary[b-ehsw9mmh8k], .dungeon-card__bottom small[b-ehsw9mmh8k], .monster-attribute[b-ehsw9mmh8k] { font-size: .7rem; }
    .room-card[b-ehsw9mmh8k] { grid-template-columns: minmax(0, 1fr) 90px; grid-template-rows: 24px minmax(0, 1fr) 22px 4px; padding: .5rem; }
    .room-card h3[b-ehsw9mmh8k] { font-size: .85rem; }.room-card p[b-ehsw9mmh8k], .room-card__topline[b-ehsw9mmh8k] { font-size: .7rem; }
    .room-card__enter[b-ehsw9mmh8k] { min-height: 48px; font-size: .73rem; }.room-card__bottom[b-ehsw9mmh8k] { font-size: .63rem; }.room-card__hp[b-ehsw9mmh8k] { display: none; }
    .empty-state .button[b-ehsw9mmh8k] { min-height: 44px; }
}
.lobby-catalog-error[b-ehsw9mmh8k] { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem; padding:.6rem .7rem; border:1px solid #806747; border-radius:.55rem; background:#332f27; color:#e6c99b; font-size:.8125rem; }
.lobby-catalog-error button[b-ehsw9mmh8k] { min-height:44px; flex-shrink:0; }
.dungeon-toolbar .dungeon-refresh[b-ehsw9mmh8k] { flex:0 0 44px; width:44px; height:44px; padding:0; }

.region-dialog-host[b-ehsw9mmh8k]  .region-selection-dialog { inset: 0; width: min(560px, calc(100vw - 24px)); max-width: none; height: min(480px, calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))); max-height: none; margin: auto; padding: 0; overflow: hidden; border: 1px solid #8f927c; border-radius: 13px; background: linear-gradient(140deg, #203443, #122431); box-shadow: 0 22px 80px #0009; color: #e7eef2; }
.region-dialog-host[b-ehsw9mmh8k]  .region-selection-dialog[open] { display: flex; flex-direction: column; }
.region-dialog-heading[b-ehsw9mmh8k] { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #839caa35; }
.region-dialog-heading > div[b-ehsw9mmh8k] { min-width: 0; }
.region-dialog-heading h2[b-ehsw9mmh8k] { margin: 0; font-size: 1.08rem; line-height: 1.5; color: #efdfbb; font-weight: 600; }
.region-dialog-heading p[b-ehsw9mmh8k] { margin: 4px 0 0; color: #9eb5c3; font-size: .73rem; line-height: 1.6; overflow-wrap: anywhere; }
.region-dialog-heading p span[b-ehsw9mmh8k] { white-space: nowrap; }
.region-dialog-close[b-ehsw9mmh8k] { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #7c929c66; border-radius: 7px; background: #142936; color: #d4e0e5; font-size: 1.4rem; }
.region-dialog-search[b-ehsw9mmh8k] { flex-shrink: 0; padding: 12px 14px 0; }
.region-dialog-search input[b-ehsw9mmh8k] { width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid #496176; border-radius: 7px; color: #d3e0e9; background: #0d1e2c; font-size: 16px; }
.region-dialog-search input[b-ehsw9mmh8k]::placeholder { color: #8fa7b7; }
.region-dialog-body[b-ehsw9mmh8k] { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 12px 14px; }
.region-dialog-host .region-picker__grid[b-ehsw9mmh8k] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.region-dialog-host .region-card[b-ehsw9mmh8k] { align-content: center; gap: 8px; min-height: 80px; padding: 10px; text-align: left; }
.region-dialog-host .region-card strong[b-ehsw9mmh8k] { min-width: 0; color: #e9dfca; font-size: .84rem; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.region-dialog-host .region-card > span[b-ehsw9mmh8k] { font-size: .7rem; line-height: 1.5; }
.region-card__name[b-ehsw9mmh8k] { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.region-card__name small[b-ehsw9mmh8k] { flex-shrink: 0; padding: 1px 4px; border: 1px solid #d1bc8144; border-radius: 3px; color: #ead29a; font-size: .58rem; }
.region-dialog-note[b-ehsw9mmh8k] { flex-shrink: 0; padding: 12px 14px; border-top: 1px solid #839caa35; background: #10232fcc; color: #a6bdca; font-size: .7rem; line-height: 1.6; text-align: center; }
.region-dialog-empty[b-ehsw9mmh8k] { display: grid; justify-items: center; gap: 12px; padding: 24px 0; color: #aac0ce; font-size: .85rem; }
.region-dialog-empty button[b-ehsw9mmh8k] { min-height: 44px; padding: 8px 12px; border: 1px solid #7c929c66; border-radius: 7px; color: #e4c78c; background: #172d3b; }
@media (max-width: 360px) {
    .region-dialog-host .region-card[b-ehsw9mmh8k] { padding: 9px 8px; }
    .region-dialog-host .region-card strong[b-ehsw9mmh8k] { font-size: .78rem; }
    .region-dialog-host .region-card > span[b-ehsw9mmh8k] { font-size: .66rem; }
}

.room-last-result[b-ehsw9mmh8k] { color:#a3d4b6 !important; font-size:12px; }

.lobby-panel--create[b-ehsw9mmh8k] { flex: 0 0 auto; }
.challenge-groups[b-ehsw9mmh8k] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.challenge-group[b-ehsw9mmh8k] { position: relative; display: flex; align-items: center; min-height: 148px; min-width: 0; overflow: hidden; padding: 1rem .8rem; border: 1px solid #536a7a; border-radius: .8rem; background: radial-gradient(ellipse at right, #8d704c24, transparent 75%), linear-gradient(135deg, #203749, #112536); color: #efdfbf; text-align: left; }
.challenge-group--selected[b-ehsw9mmh8k] { border-color: #b58c4d; }
.challenge-group__copy[b-ehsw9mmh8k] { position: relative; z-index: 1; display: grid; gap: .55rem; min-width: 0; padding-right: 35px; }
.challenge-group strong[b-ehsw9mmh8k] { font-size: .96rem; line-height: 1.5; }
.challenge-group small[b-ehsw9mmh8k] { color: #aabecb; font-size: .72rem; line-height: 1.6; }
.challenge-group__copy > span[b-ehsw9mmh8k] { color: #d6bd8c; font-size: .72rem; }
.challenge-group b[b-ehsw9mmh8k] { padding-left: .5rem; }
.challenge-group img[b-ehsw9mmh8k] { position: absolute; right: -.4rem; bottom: .35rem; width: 80px; height: 80px; object-fit: contain; opacity: .45; pointer-events: none; }
.old-regions-toggle[b-ehsw9mmh8k] { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: .5rem; padding: .5rem; border: 0; border-bottom: 1px solid #3a526666; background: transparent; color: #9fb4c3; font-size: .8rem; text-align: left; }
.old-regions-toggle span[b-ehsw9mmh8k] { font-size: .72rem; }
.challenge-browser-host[b-ehsw9mmh8k]  .challenge-browser-dialog { --challenge-window-width: min(520px, calc(100vw - 40px)); --challenge-window-limit: min(80dvh, calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom))); position: fixed; inset: 0 auto 0 calc((100vw - var(--challenge-window-width)) / 2); margin: auto 0; padding: 0; width: var(--challenge-window-width); height: fit-content; max-width: none; max-height: var(--challenge-window-limit); overflow: hidden; border: 1px solid #52615f; border-radius: 12px; background: #14232d; box-shadow: 0 6px 22px #02080f26, inset 0 0 0 1px #c5d3c006; color: #e8e5da; }
.challenge-browser-host[b-ehsw9mmh8k]  .challenge-browser-dialog::backdrop { background: #030b14a6; }
.challenge-browser[b-ehsw9mmh8k] { display: flex; flex-direction: column; max-height: calc(var(--challenge-window-limit) - 2px); min-height: 0; font: 14px/1.5 "Microsoft YaHei", "PingFang SC", sans-serif; }
.challenge-browser-host[b-ehsw9mmh8k]  .challenge-browser-dialog:has(.challenge-browser[data-view="list"]) { --challenge-window-width: min(374px, calc(100vw - 32px)); --challenge-window-limit: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
.challenge-browser__heading[b-ehsw9mmh8k] { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; min-width: 0; min-height: 52px; padding: 0 5px 0 14px; border-bottom: 1px solid #b5a57838; background: linear-gradient(115deg, #243239, #1a2b33 72%); box-shadow: inset 0 1px 0 #e8d1a00c; }
.challenge-browser__heading h2[b-ehsw9mmh8k] { flex: 1; min-width: 0; margin: 0; color: #e5d6b4; font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: 1px; }
.challenge-browser__close[b-ehsw9mmh8k], .challenge-browser__back[b-ehsw9mmh8k] { min-height: 44px; flex: 0 0 auto; padding: .4rem .6rem; border: 1px solid #62798966; border-radius: .5rem; background: #122735; color: #e4d3b3; font-size: .8rem; }
.challenge-browser__close[b-ehsw9mmh8k] { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #bbbdad; }
.challenge-browser__close svg[b-ehsw9mmh8k] { width: 17px; height: 17px; stroke-width: 1.5; }
.challenge-list-view[b-ehsw9mmh8k] { display: flex; flex-direction: column; gap: 0; flex: 0 1 auto; min-height: 0; padding: 0 12px; overflow: hidden; }
.challenge-list-view[hidden][b-ehsw9mmh8k], .challenge-preparation[hidden][b-ehsw9mmh8k] { display: none; }
.challenge-list[b-ehsw9mmh8k] { display: flex; flex-direction: column; min-height: 0; flex: 0 1 auto; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.challenge-list .dungeon-card[b-ehsw9mmh8k] { display: grid; grid-template-columns: 40px minmax(0, 1fr) 44px; align-items: center; flex: 0 0 auto; gap: 10px; min-height: 60px; padding: 7px 0; border: 0; border-bottom: 1px solid #81938526; border-radius: 0; background: transparent; }
.challenge-list .dungeon-card:last-child[b-ehsw9mmh8k] { border-bottom: 0; }
.dungeon-card__portrait[b-ehsw9mmh8k] { position: relative; display: grid; place-items: center; width: 40px; height: 40px; overflow: hidden; border: 1px solid #9c7b535e; border-radius: 6px; background: #203440; box-shadow: inset 0 1px 0 #ecd6a517; }
.dungeon-card__portrait img[b-ehsw9mmh8k] { width: 100%; height: 100%; object-fit: contain; }
.dungeon-card__portrait--badger img[b-ehsw9mmh8k] { position: absolute; max-width: none; width: 142%; height: 142%; left: -19%; top: -34%; image-rendering: pixelated; }
.dungeon-card__portrait > span[b-ehsw9mmh8k] { position: absolute; display: grid; place-items: center; right: 0; bottom: 0; min-width: 15px; height: 15px; border-top-left-radius: 4px; background: #141e22e6; }
.dungeon-card__portrait > span[b-ehsw9mmh8k]  svg { width: 11px; height: 11px; }
.dungeon-card__portrait.monster-attribute--fire[b-ehsw9mmh8k] { background: radial-gradient(ellipse at 50% 80%, #6e462f, #282a29); border-color: #9c7b535e; color: #dbab79; }
.dungeon-card__portrait.monster-attribute--fire > span[b-ehsw9mmh8k] { min-width: 17px; height: 17px; background: #25150ff2; color: #ff934d; }
.dungeon-card__portrait.monster-attribute--fire > span[b-ehsw9mmh8k]  svg { width: 14px; height: 14px; }
.dungeon-card__portrait.monster-attribute--fire > span[b-ehsw9mmh8k]  svg path:first-child { fill: #f46c2c; fill-opacity: 1; }
.dungeon-card__portrait.monster-attribute--fire > span[b-ehsw9mmh8k]  svg path:last-child { fill: #ffe3a0; fill-opacity: 1; stroke: none; }
.dungeon-card__portrait.monster-attribute--water[b-ehsw9mmh8k] { background: radial-gradient(ellipse at 50% 85%, #254453, #1b2831); border-color: #83b3cf45; color: #a8ccdb; }
.dungeon-card__portrait.monster-attribute--earth[b-ehsw9mmh8k] { background: radial-gradient(ellipse at 50% 85%, #4d4030, #262a28); border-color: #bea77845; color: #c8ae86; }
.dungeon-card__portrait.monster-attribute--wind[b-ehsw9mmh8k] { background: radial-gradient(ellipse at 50% 85%, #2d493d, #1d2b2b); border-color: #81b49d45; color: #a0c3b0; }
.dungeon-card__portrait.monster-attribute--light[b-ehsw9mmh8k] { background: radial-gradient(ellipse at 50% 85%, #4c4530, #2a2b28); border-color: #c3b06e45; color: #d3c697; }
.dungeon-card__portrait.monster-attribute--dark[b-ehsw9mmh8k] { background: radial-gradient(ellipse at 50% 85%, #3d3551, #252630); border-color: #ac99c145; color: #bfb0d0; }
.dungeon-card__copy[b-ehsw9mmh8k] { display: grid; gap: 0; min-width: 0; }
.dungeon-card__copy strong[b-ehsw9mmh8k] { color: #e6e5dc; font-size: 14px; font-weight: 500; line-height: 21px; overflow-wrap: anywhere; }
.dungeon-card__status[b-ehsw9mmh8k] { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: #a0adb2; font-size: 11px; line-height: 17px; }
.dungeon-card__cleared[b-ehsw9mmh8k] { display: inline-flex; align-items: center; gap: 3px; color: #c8c6ae; }
.dungeon-card__cleared[b-ehsw9mmh8k]  svg { flex: none; width: 11px; height: 11px; stroke-width: 1.7; }
.dungeon-card__separator[b-ehsw9mmh8k] { width: 2px; height: 2px; margin-inline: 2px; border-radius: 50%; background: #71817f; }
.dungeon-card__available[b-ehsw9mmh8k] { color: #c7b787; }
.dungeon-card__action[b-ehsw9mmh8k] { position: relative; display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid #d2b777; border-radius: 50%; background: radial-gradient(ellipse at 35% 0%, #ead6a6, #b59a5e 62%, #8d733f); color: #2d2618; font-size: 12px; line-height: 1; font-weight: 600; white-space: nowrap; text-shadow: 0 1px 0 #f5dfaf65; box-shadow: inset 0 0 0 2px #29211740, inset 0 3px 6px #fff0c538, 0 2px 4px #040c1350; transition: filter .12s, box-shadow .12s; }
.dungeon-card__action[b-ehsw9mmh8k]::after { content: ""; position: absolute; inset: 3px; border: 1px solid #f5e3b62e; border-radius: inherit; pointer-events: none; }
.dungeon-card__action--locked[b-ehsw9mmh8k] { border-color: #758187; background: radial-gradient(ellipse at 35% 0%, #717e82, #424f56 65%, #313d45); color: #e0e5e4; text-shadow: 0 1px 1px #091019aa; box-shadow: inset 0 0 0 2px #131e2745, inset 0 3px 6px #dde9ec17, 0 2px 4px #040c1350; }
.dungeon-card__action--locked[b-ehsw9mmh8k]::after { border-color: #e9eff019; }
.challenge-browser__footer[b-ehsw9mmh8k] { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; min-height: 52px; margin-inline: -12px; border-top: 1px solid #81938526; background: linear-gradient(#13232d, #101d27); }
.challenge-browser__footer button[b-ehsw9mmh8k] { position: relative; display: grid; place-items: center; width: 108px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #d0c09b; font-size: 12px; letter-spacing: 3px; }
.challenge-browser__footer button[b-ehsw9mmh8k]::before { content: ""; position: absolute; inset: 6px 0; border: 1px solid #b39c6c48; border-radius: 6px; background: linear-gradient(#263336, #1b2a30); box-shadow: inset 0 1px 0 #eddfa50a; }
.challenge-browser__footer button > span[b-ehsw9mmh8k] { position: relative; margin-left: 3px; }
.challenge-browser-host[b-ehsw9mmh8k]  .challenge-reason-dialog { --challenge-reason-width: min(326px, calc(100vw - 48px)); position: fixed; inset: 0 auto 0 calc((100vw - var(--challenge-reason-width)) / 2); width: var(--challenge-reason-width); height: fit-content; max-width: none; max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); margin: auto 0; padding: 0; border: 1px solid #9b896357; border-top-color: #bea678a6; border-radius: 11px; background: linear-gradient(125deg, #23313a, #172731 75%); color: #e8e5da; box-shadow: 0 12px 30px #040a1166, inset 0 1px 0 #eddda010; }
.challenge-browser-host[b-ehsw9mmh8k]  .challenge-reason-dialog::backdrop { background: #08121bbd; backdrop-filter: blur(2px); }
.challenge-reason[b-ehsw9mmh8k] { padding: 18px 18px 16px; text-align: center; font: 14px/1.5 "Microsoft YaHei", "PingFang SC", sans-serif; }
.challenge-reason__icon[b-ehsw9mmh8k] { display: grid; place-items: center; width: 26px; height: 26px; margin: 0 auto 9px; border: 1px solid #c3ac7347; border-radius: 50%; color: #c7b27c; background: #b9a16e0a; }
.challenge-reason__icon[b-ehsw9mmh8k]  svg { width: 13px; height: 13px; stroke-width: 1.6; }
.challenge-reason h2[b-ehsw9mmh8k] { margin: 0; color: #e4d6b6; font-size: 15px; line-height: 23px; font-weight: 500; letter-spacing: .5px; }
.challenge-reason p[b-ehsw9mmh8k] { margin: 10px 0 16px; color: #b6c0c4; font-size: 13px; line-height: 1.8; text-align: left; overflow-wrap: anywhere; }
.challenge-reason button[b-ehsw9mmh8k] { min-width: 116px; height: 44px; padding: 0 22px; border: 1px solid #c2a56a; border-radius: 6px; background: linear-gradient(#d3ba7f, #b59b63); color: #2f2819; font-size: 13px; letter-spacing: 1px; box-shadow: inset 0 1px 0 #f5e6bc40, 0 2px 4px #08101840; }
.challenge-preparation[b-ehsw9mmh8k] { flex: 0 1 auto; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.challenge-preparation[b-ehsw9mmh8k]  .monster-detail-dialog { flex: 0 1 auto; min-height: 0; width: 100%; height: auto; max-height: calc(var(--challenge-window-limit) - 67px); border: 0; border-radius: 0; box-shadow: none; }
.challenge-preparation[b-ehsw9mmh8k]  .monster-detail-header { padding-right: 120px; }
.challenge-preparation[b-ehsw9mmh8k]  .monster-detail-scroll { flex: 0 1 auto; }
.challenge-browser :where(button, select):focus-visible[b-ehsw9mmh8k] { outline: 2px solid #f0c779; outline-offset: -2px; }
@media (max-width: 600px) {
    .challenge-group[b-ehsw9mmh8k] { min-height: 126px; padding: .65rem; }
    .challenge-group__copy[b-ehsw9mmh8k] { gap: .35rem; padding-right: 0; }
    .challenge-group strong[b-ehsw9mmh8k] { font-size: .86rem; }
    .challenge-group img[b-ehsw9mmh8k] { width: 60px; height: 60px; opacity: .22; }
}
@media (max-width: 350px) {
    .challenge-browser-host[b-ehsw9mmh8k]  .challenge-browser-dialog { --challenge-window-width: calc(100vw - 32px); }
    .challenge-list-view[b-ehsw9mmh8k] { padding-inline: 10px; }
    .challenge-list .dungeon-card[b-ehsw9mmh8k] { gap: 8px; }
    .challenge-browser__heading[b-ehsw9mmh8k] { padding-left: 12px; gap: 6px; }
    .challenge-browser__footer[b-ehsw9mmh8k] { margin-inline: -10px; }
    .challenge-reason[b-ehsw9mmh8k] { padding-inline: 15px; }
}
@media (max-width: 600px) and (max-height: 650px) {
    .challenge-group[b-ehsw9mmh8k] { min-height: 102px; }
    .challenge-group small[b-ehsw9mmh8k] { display: none; }
    .challenge-group strong[b-ehsw9mmh8k] { font-size: .84rem; }
    .challenge-browser-host[b-ehsw9mmh8k]  .challenge-browser-dialog:has(.challenge-browser[data-view="prepare"]) { --challenge-window-limit: min(88dvh, calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom))); }
    .challenge-preparation[b-ehsw9mmh8k]  .monster-detail-header { min-height: 60px; padding: 8px 78px 8px 14px; }
    .challenge-preparation[b-ehsw9mmh8k]  .monster-detail-banner-art { right: 10px; }
    .challenge-preparation[b-ehsw9mmh8k]  .monster-create-action { max-height: 260px; overflow-y: auto; }
}
@media (hover: hover) {
    .dungeon-card__action:hover[b-ehsw9mmh8k] { filter: brightness(1.1); }
    .challenge-browser__footer button:hover[b-ehsw9mmh8k]::before { border-color: #cbb07880; }
    .challenge-browser__close:hover[b-ehsw9mmh8k] { background: #d0d8c409; }
}
@media (prefers-reduced-motion: reduce) {
    .dungeon-card__action[b-ehsw9mmh8k] { transition: none; }
}
/* /Pages/Shop.razor.rz.scp.css */
.shop-page[b-l3xarercgi] { --shop-gold: #e7be78; --shop-muted: #9db0bf; min-width: 0; color: #e5edf1; padding-bottom: 12px; }
.shop-heading[b-l3xarercgi] { display: flex; align-items: center; gap: 4px; min-height: 46px; margin-bottom: 8px; border-bottom: 1px solid #304454; }
.shop-heading h1[b-l3xarercgi] { flex-shrink: 0; margin: 0 5px 0 0; font-size: 1.02rem; font-weight: 600; }
.shop-heading__inventory[b-l3xarercgi], .shop-refresh[b-l3xarercgi] { display: grid; place-items: center; flex: 0 0 32px; width: 32px; min-height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #a2b5c3; text-decoration: none; }
.shop-heading__inventory[b-l3xarercgi]  svg, .shop-refresh[b-l3xarercgi]  svg { width: 17px; height: 17px; }
.shop-refresh--stale[b-l3xarercgi] { color: var(--shop-gold); }
.shop-refresh[aria-disabled="true"][b-l3xarercgi] { opacity: .6; }
.shop-navigation[b-l3xarercgi] { position: sticky; top: calc(3.6rem + env(safe-area-inset-top)); z-index: 20; background: #0e1a26f7; backdrop-filter: blur(16px); }
.shop-catalog-status[b-l3xarercgi] { margin: 4px 0 0; padding: 6px 8px; border: 1px solid #b996644a; border-radius: 6px; background: #b9966410; color: #e1c89f; font-size: .73rem; line-height: 1.5; }
.shop-tabs[b-l3xarercgi] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-self: stretch; flex: 1; min-width: 0; }
.shop-tabs > button[b-l3xarercgi] { min-width: 0; min-height: 44px; padding: 4px 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #a2b5c3; font-size: .78rem; }
.shop-tabs > button.shop-tabs__active[b-l3xarercgi] { border-bottom-color: var(--shop-gold); color: var(--shop-gold); font-weight: 600; }
.shop-purchase-bar[b-l3xarercgi] { display: flex; align-items: center; gap: 8px; min-width: 0; }
.shop-garden-return[b-l3xarercgi] { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; padding: 0 10px; border: 1px solid #b9a0716b; border-radius: 7px; color: #e9cb95; background: #bd9a5420; font-size: .75rem; text-decoration: none; }
.shop-product-body > .shop-garden-return[b-l3xarercgi] { margin-top: 8px; }
.shop-modes[b-l3xarercgi] { display: flex; flex-shrink: 0; gap: 3px; padding: 3px; border: 1px solid #304454; border-radius: 8px; background: #142331; }
.shop-modes > button[b-l3xarercgi] { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; padding: 3px 11px; border: 0; border-radius: 5px; background: transparent; color: #a2b5c3; font-size: .78rem; }
.shop-modes > button[b-l3xarercgi]  svg { width: 15px; height: 15px; }
.shop-modes > button[aria-pressed="true"][b-l3xarercgi] { background: var(--shop-gold); color: #202c31; font-weight: 600; }
.shop-mode-short[b-l3xarercgi] { display: none; }
.shop-wallet[b-l3xarercgi] { display: flex; align-items: center; flex: 1; min-width: 0; min-height: 46px; gap: 7px; padding: 0 11px; border: 1px solid #304454; border-radius: 8px; background: #142331; color: var(--shop-gold); }
.shop-wallet > span[b-l3xarercgi] { flex: 1; color: #a2b5c3; font-size: .73rem; }
.shop-wallet strong[b-l3xarercgi] { font-size: 1.05rem; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.shop-wallet[b-l3xarercgi]  svg { flex-shrink: 0; width: 16px; height: 16px; }
.shop-exchange-trigger[b-l3xarercgi] { display: flex; align-items: center; flex: 1; min-width: 0; min-height: 46px; gap: 8px; padding: 0 10px; border: 1px solid #304454; border-radius: 8px; background: #142331; color: #e5edf1; text-align: left; }
.shop-exchange-trigger__name[b-l3xarercgi] { display: flex; align-items: center; flex: 1; min-width: 0; gap: 8px; }
.shop-exchange-trigger__name strong[b-l3xarercgi] { min-width: 0; font-size: .83rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-exchange-trigger__name small[b-l3xarercgi] { color: #a2b5c3; font-size: .68rem; }
.shop-exchange-trigger__balance[b-l3xarercgi] { display: flex; align-items: center; gap: 4px; color: var(--shop-gold); }
.shop-exchange-trigger__balance strong[b-l3xarercgi] { font-size: 1.03rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.shop-exchange-trigger[b-l3xarercgi]  svg { flex-shrink: 0; width: 14px; height: 14px; }
.shop-exchange-art[b-l3xarercgi] { width: 16px; height: 16px; flex: none; object-fit: contain; image-rendering: pixelated; vertical-align: middle; }
.shop-search[b-l3xarercgi] { position: relative; min-width: 0; margin-bottom: 9px; }
.shop-search input[b-l3xarercgi] { width: 100%; min-width: 0; height: 44px; padding: 7px 44px 7px 11px; border: 1px solid #7f9bae3d; border-radius: 7px; background: #0a1723; color: #dfebf0; font-size: 16px; }
.shop-search input[b-l3xarercgi]::placeholder { color: #8a9fac; font-size: .77rem; }
.shop-search input[b-l3xarercgi]::-webkit-search-cancel-button { display: none; }
.shop-search > button[b-l3xarercgi] { position: absolute; right: 0; top: 0; width: 44px; height: 44px; border: 0; border-radius: 7px; background: transparent; color: #b5c8d3; font-size: 1.25rem; }
.shop-filter[b-l3xarercgi] { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 4px; border: 0; border-radius: 6px; background: transparent; color: #a2b5c3; font-size: .69rem; white-space: nowrap; }
.shop-filter--active[b-l3xarercgi] { color: var(--shop-gold); }
.shop-search-toggle[b-l3xarercgi] { display: grid; place-items: center; width: 36px; min-height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #a2b5c3; }
.shop-search-toggle[b-l3xarercgi]  svg { width: 16px; height: 16px; }
.shop-panel[b-l3xarercgi] { min-width: 0; }
.shop-list-heading[b-l3xarercgi] { display: flex; align-items: center; gap: 4px; min-height: 44px; margin: 3px 0; }
.shop-list-summary[b-l3xarercgi] { display: flex; align-items: center; flex-wrap: wrap; flex: 1; gap: 3px 7px; min-width: 0; }
.shop-list-heading h2[b-l3xarercgi] { margin: 0; color: #a2b5c3; font-size: .7rem; font-weight: 400; }
.shop-exchange-capacity[b-l3xarercgi] { color: var(--shop-gold); font-size: .7rem; }
.shop-grid[b-l3xarercgi] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.shop-footer[b-l3xarercgi] { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; padding: 3px 0; }
.shop-footer button[b-l3xarercgi], .shop-footer a[b-l3xarercgi] { display: flex; align-items: center; gap: 5px; min-height: 44px; padding: 4px 2px; border: 0; border-radius: 4px; background: transparent; color: #acbdc8; font-size: .7rem; text-decoration: none; }
.shop-footer[b-l3xarercgi]  svg { width: 15px; height: 15px; color: #c6b083; }
.shop-footer a[b-l3xarercgi]  svg { width: 11px; height: 11px; }
.shop-purchase-success[b-l3xarercgi] { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding: 6px 10px; border: 1px solid #304454; border-radius: 8px; background: #1b2d3c; color: #97d4b0; font-size: .76rem; }
.shop-purchase-success > span[b-l3xarercgi] { flex: 1; }
.shop-purchase-success > a[b-l3xarercgi] { display: flex; align-items: center; min-height: 44px; color: #97d4b0; text-decoration: none; font-size: .7rem; }
.shop-purchase-success[b-l3xarercgi]  svg { width: 15px; height: 15px; }
.shop-empty[b-l3xarercgi] { padding: 20px 12px; border: 1px dashed #809cad44; border-radius: 8px; color: #b5c6d0; text-align: center; font-size: .82rem; }
.shop-empty p[b-l3xarercgi] { margin: 0 0 8px; }
.shop-empty button[b-l3xarercgi], .shop-product-retry[b-l3xarercgi] { min-height: 44px; padding: 7px 13px; border: 1px solid #b9a0716b; border-radius: 6px; background: #bd9a5420; color: #e9cb95; }
.shop-sync-notice[b-l3xarercgi] { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0; padding: 3px 6px 3px 10px; border: 1px solid #b996644a; border-radius: 7px; background: #b9966410; color: #dac5a4; font-size: .73rem; }
.shop-sync-notice button[b-l3xarercgi] { flex-shrink: 0; min-height: 44px; padding: 4px 8px; border: 0; border-radius: 5px; background: transparent; color: #efd298; font-size: .74rem; }
.shop-dialog-host[b-l3xarercgi]  .shop-product-dialog { inset: 0; width: min(460px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); margin: auto; padding: 0; overflow: hidden; border: 1px solid #8f927c; border-radius: 13px; background: linear-gradient(140deg, #203443, #122431); box-shadow: 0 22px 80px #0009; }
.shop-dialog-host[b-l3xarercgi]  .shop-product-dialog[open] { display: flex; flex-direction: column; }
.shop-product-heading[b-l3xarercgi] { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #839caa35; }
.shop-product-heading > div[b-l3xarercgi] { min-width: 0; }
.shop-product-heading span[b-l3xarercgi] { color: #a4b8c7; font-size: .72rem; }
.shop-product-heading h2[b-l3xarercgi] { margin: 3px 0 0; color: #efdfbb; font-size: 1.12rem; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.shop-product-item-art[b-l3xarercgi] { width: 28px; height: 28px; margin-inline-end: .35rem; object-fit: contain; image-rendering: pixelated; vertical-align: middle; }
.shop-product-close[b-l3xarercgi] { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #7c929c66; border-radius: 7px; background: #142936; color: #d4e0e5; font-size: 1.4rem; }
.shop-product-body[b-l3xarercgi] { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px; }
.shop-product-body > p[b-l3xarercgi] { margin: 12px 0; color: #c1d0d8; font-size: .84rem; line-height: 1.8; }
.shop-product-owned[b-l3xarercgi] { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; color: #a4bac7; font-size: .73rem; }
.shop-product-owned b[b-l3xarercgi] { color: #e2d5b3; font-weight: 600; }
.shop-product-hero[b-l3xarercgi] { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.shop-product-hero img[b-l3xarercgi] { width: 88px; height: 92px; object-fit: contain; border-radius: 9px; background: #1b2d3c; }
.shop-product-hero > div[b-l3xarercgi] { display: grid; gap: 6px; min-width: 0; }
.shop-product-hero strong[b-l3xarercgi] { font-size: .9rem; font-weight: 500; }
.shop-product-hero span[b-l3xarercgi] { color: #a2b5c3; font-size: .76rem; }
.shop-product-body .shop-product-cooldowns[b-l3xarercgi] { color: #a9c0cc; font-size: .76rem; }
.shop-item__lock[b-l3xarercgi] { margin-top: 13px; padding: 10px 12px; border: 1px solid #c49e6830; border-radius: 7px; background: #b78d4810; color: #d7bb91; font-size: .77rem; }
.shop-item__lock strong[b-l3xarercgi] { font-weight: 600; }
.shop-item__lock p[b-l3xarercgi] { margin: 4px 0 0; color: #c0c9cb; line-height: 1.7; }
.shop-quantity[b-l3xarercgi] { display: grid; gap: 9px; margin-top: 16px; padding-top: 13px; border-top: 1px solid #8da7b22b; }
.shop-quantity > span[b-l3xarercgi] { display: flex; justify-content: space-between; align-items: center; color: #d2dfe4; font-size: .83rem; }
.shop-quantity small[b-l3xarercgi] { color: #a6b9c6; font-size: .73rem; }
.shop-quantity select[b-l3xarercgi] { min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid #6f899b65; border-radius: 7px; background: #0c1b28; color: #e1eaf0; color-scheme: dark; font-size: 16px; }
.shop-quantity__options[b-l3xarercgi] { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 7px; }
.shop-quantity__options button[b-l3xarercgi] { min-width: 44px; min-height: 44px; padding: 5px; border: 1px solid #6f899b65; border-radius: 7px; background: #0c1b2870; color: #c5d4df; font-size: .86rem; font-variant-numeric: tabular-nums; }
.shop-quantity__options button[aria-pressed="true"][b-l3xarercgi] { border-color: #c2a472; background: #bb945529; color: #f0d399; font-weight: 700; }
.shop-product-body .shop-item__shortfall[b-l3xarercgi], .shop-product-body .shop-product-warning[b-l3xarercgi] { margin: 12px 0 0; color: #d7b68f; font-size: .78rem; line-height: 1.7; }
.shop-quantity-shortfall[b-l3xarercgi] { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 12px; }
.shop-quantity-shortfall .shop-item__shortfall[b-l3xarercgi] { flex: 1 1 150px; margin: 0; }
.shop-quantity-reduce[b-l3xarercgi] { flex-shrink: 0; min-height: 44px; padding: 6px 10px; border: 1px solid #b69c6b66; border-radius: 7px; background: #b49b6417; color: #efd19a; font-size: .77rem; }
.shop-product-retry[b-l3xarercgi] { margin-top: 8px; font-size: .78rem; }
.shop-product-checkout[b-l3xarercgi] { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 14px; padding: 13px 16px; border-top: 1px solid #839caa35; background: #10232fcc; }
.shop-product-checkout .shop-price[b-l3xarercgi] { display: grid; min-width: 0; gap: 3px; }
.shop-product-checkout .shop-price > span[b-l3xarercgi] { color: #a6bbc8; font-size: .69rem; }
.shop-product-checkout .shop-price strong[b-l3xarercgi] { color: #e9c887; font-size: 1.1rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.shop-product-checkout .shop-price small[b-l3xarercgi] { font-size: .73rem; font-weight: 400; }
.shop-confirm[b-l3xarercgi] { flex: 0 0 46%; min-height: 48px; padding: 9px 10px; border: 1px solid #ddb776; border-radius: 8px; background: linear-gradient(135deg, #e7be78, #d8ac68); color: #1b2a30; font-size: .88rem; font-weight: 700; }
.shop-confirm:disabled[b-l3xarercgi] { opacity: 1; border-color: #71889745; background: #293d4b; color: #9cb2bf; }
@container game-shell (max-width: 430px) {
    .shop-heading[b-l3xarercgi] { gap: 2px; }
    .shop-heading h1[b-l3xarercgi] { margin-right: 2px; font-size: .96rem; }
    .shop-tabs > button[b-l3xarercgi] { font-size: .74rem; }
    .shop-modes > button[b-l3xarercgi] { padding-inline: 9px; font-size: .75rem; }
    .shop-mode-full[b-l3xarercgi], .shop-modes > button[b-l3xarercgi]  svg { display: none; }
    .shop-mode-short[b-l3xarercgi] { display: inline; }
    .shop-exchange-trigger[b-l3xarercgi] { gap: 6px; padding-inline: 8px; }
    .shop-exchange-trigger__name small[b-l3xarercgi] { display: none; }
    .shop-exchange-trigger__name strong[b-l3xarercgi] { font-size: .78rem; }
    .shop-wallet[b-l3xarercgi] { padding-inline: 8px; }
    .shop-wallet > span[b-l3xarercgi] { font-size: .69rem; }
}
@container game-shell (max-width: 350px) {
    .shop-heading[b-l3xarercgi] { gap: 0; }
    .shop-purchase-bar[b-l3xarercgi] { gap: 6px; }
    .shop-modes > button[b-l3xarercgi] { padding-inline: 8px; }
    .shop-exchange-trigger__name strong[b-l3xarercgi] { font-size: .75rem; }
}
@media (hover: hover) {
    .shop-tabs > button:not(.shop-tabs__active):hover[b-l3xarercgi], .shop-refresh:hover:not(:disabled)[b-l3xarercgi] { background: #819caf16; color: #e5edf1; }
    .shop-confirm:hover:not(:disabled)[b-l3xarercgi] { filter: brightness(1.08); }
}

.shop-exchange-filters[b-l3xarercgi] { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 5px 0 10px; color: #a2b5c3; font-size: .73rem; }
.shop-exchange-filters label[b-l3xarercgi] { display: flex; align-items: center; gap: 5px; min-height: 44px; }
.shop-exchange-filters input[b-l3xarercgi] { width: 16px; height: 16px; accent-color: #e7be78; }
.shop-exchange-grid[b-l3xarercgi] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.shop-exchange-option[b-l3xarercgi] { display: grid; align-content: start; gap: 4px; min-width: 0; min-height: 102px; padding: 11px; border: 1px solid #304454; border-radius: 9px; background: #1b2d3c; color: #e5edf1; text-align: left; }
.shop-exchange-option[aria-pressed="true"][b-l3xarercgi] { border-color: #e7be78; background: #332d24; }
.shop-exchange-option > strong[b-l3xarercgi] { font-size: .86rem; font-weight: 500; overflow-wrap: anywhere; }
.shop-exchange-option small[b-l3xarercgi] { color: #a2b5c3; font-size: .69rem; overflow-wrap: anywhere; }
.shop-exchange-option__balance[b-l3xarercgi] { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 3px 6px; margin-top: 3px; }
.shop-exchange-option__balance b[b-l3xarercgi] { color: #e7be78; font-size: 1rem; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.shop-exchange-option__balance .shop-exchange-art[b-l3xarercgi] { margin-inline-end: 4px; }
.shop-exchange-option__balance > span[b-l3xarercgi] { color: #97d4b0; font-size: .68rem; }
.shop-exchange-pages[b-l3xarercgi] { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; color: #a2b5c3; font-size: .74rem; }
.shop-exchange-pages button[b-l3xarercgi] { min-height: 44px; padding: 5px 11px; border: 1px solid #304454; border-radius: 7px; background: #1b2d3c; color: #e5edf1; }

.shop-acquisition-modes[b-l3xarercgi] { display: flex; gap: 8px; margin-bottom: 14px; }
.shop-acquisition-modes button[b-l3xarercgi] { flex: 1; min-width: 0; min-height: 44px; padding: 7px; border: 1px solid #6f899b65; border-radius: 7px; background: #0c1b2870; color: #c5d4df; font-size: .78rem; }
.shop-acquisition-modes button[aria-pressed="true"][b-l3xarercgi] { border-color: #c2a472; background: #bb945529; color: #f0d399; }
/* /Pages/Supplies.razor.rz.scp.css */
.supplies-page[b-3vksc04eqq] { max-width: 1180px; margin: 0 auto; padding: 1.2rem 0 4rem; }
.supplies-page__intro[b-3vksc04eqq] { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 1.4rem; }
.supplies-page__intro a[b-3vksc04eqq] { flex: 0 0 auto; padding-top: .4rem; color: #efbf76; font-weight: 700; text-decoration: none; }
.supplies-page__intro a:hover[b-3vksc04eqq] { text-decoration: underline; }
.supplies-page__intro span[b-3vksc04eqq], .supplies-page__character > span[b-3vksc04eqq] { color: #e3b367; font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.supplies-page__intro h1[b-3vksc04eqq] { margin: .15rem 0 .3rem; color: #f3e9d7; font: 700 clamp(1.8rem, 3vw, 2.5rem) Georgia, serif; }
.supplies-page__intro p[b-3vksc04eqq] { margin: 0; color: #aebfce; font-size: .86rem; }
.supplies-page__layout[b-3vksc04eqq] { display: grid; grid-template-columns: minmax(195px, 235px) minmax(0, 1fr); align-items: start; gap: 1rem; }
.supplies-page__character[b-3vksc04eqq] { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; border: 1px solid #344a60; border-radius: .85rem; padding: 1.2rem; background: #172638; }
.supplies-page__character > span[b-3vksc04eqq], .supplies-page__character h2[b-3vksc04eqq], .supplies-page__character p[b-3vksc04eqq] { grid-column: 1 / -1; }
.supplies-page__character h2[b-3vksc04eqq] { margin: -.1rem 0 0; color: #eef2f6; font: 700 1.7rem Georgia, serif; }
.supplies-page__character p[b-3vksc04eqq] { margin: 0 0 .6rem; color: #aebfce; font-size: .8rem; }
.supplies-page__character div[b-3vksc04eqq] { display: grid; border: 1px solid #3e5267; border-radius: .55rem; padding: .65rem; background: #111f2e; }
.supplies-page__character strong[b-3vksc04eqq] { color: #e9f0f5; font-size: 1.2rem; }
.supplies-page__character small[b-3vksc04eqq] { color: #aebfce; font-size: .72rem; }
.supplies-page__character .supplies-page__switch[b-3vksc04eqq] { border-top: 1px solid #3b5267; margin: .6rem 0 0; padding-top: .85rem; line-height: 1.5; }
.supplies-page__notice[b-3vksc04eqq] { border: 1px solid #344a60; border-radius: .7rem; padding: 1.5rem; color: #b8c8d5; background: #172638; }
.supplies-page__tabs[b-3vksc04eqq] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .25rem; margin-bottom: .5rem; padding: .25rem; border: 1px solid #40566b; border-radius: .7rem; background: #132435; }
.supplies-page__tabs a[b-3vksc04eqq] { display: grid; place-items: center; min-height: 44px; border-radius: .45rem; color: #9db3c3; font-size: .8rem; font-weight: 700; text-decoration: none; }
.supplies-page__tabs a.active[b-3vksc04eqq] { background: #d7a85e22; color: #f4d498; box-shadow: inset 0 -2px #d7a85e; }
.supplies-page__tabs a:focus-visible[b-3vksc04eqq] { outline: 2px solid #edc77f; outline-offset: -2px; }

@container game-shell (max-width: 800px) {
    .supplies-page__layout[b-3vksc04eqq] { grid-template-columns: minmax(0, 1fr); }
    .supplies-page__character[b-3vksc04eqq] { grid-template-columns: repeat(3, auto); align-items: center; justify-content: start; }
    .supplies-page__character > span[b-3vksc04eqq], .supplies-page__character h2[b-3vksc04eqq], .supplies-page__character p[b-3vksc04eqq] { grid-column: 1 / -1; }
    .supplies-page__character div[b-3vksc04eqq] { min-width: 90px; }
}

@container game-shell (max-width: 640.98px) {
    .supplies-page[b-3vksc04eqq] { padding-top: 0; }
    .supplies-page__intro[b-3vksc04eqq], .supplies-page__character[b-3vksc04eqq] { display: none; }
    .supplies-page__layout[b-3vksc04eqq] { display: block; }
}
/* /Pages/Talents.razor.rz.scp.css */
.talents-page[b-hjm7fab1cy] { display:flex; flex-direction:column; gap:.5rem; height:min(920px,calc(100dvh - 9.4rem - env(safe-area-inset-top) - env(safe-area-inset-bottom))); min-height:360px; color:#e7eef3; }
.talents-page__tabs[b-hjm7fab1cy] { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.25rem; flex:0 0 auto; padding:.25rem; border:1px solid #40566b; border-radius:.7rem; background:#132435; }
.talents-page__tabs button[b-hjm7fab1cy], .talents-page__tabs a[b-hjm7fab1cy] { display:grid; place-items:center; min-height:44px; border:0; border-radius:.45rem; background:transparent; color:#9db3c3; font-size:.8rem; font-weight:700; cursor:pointer; text-decoration:none; }
.talents-page__tabs button.active[b-hjm7fab1cy] { background:#d7a85e22; color:#f4d498; box-shadow:inset 0 -2px #d7a85e; }
.talents-page__tabs button:focus-visible[b-hjm7fab1cy], .talents-page__tabs a:focus-visible[b-hjm7fab1cy] { outline:2px solid #edc77f; outline-offset:-2px; }
.talents-page__workspace[b-hjm7fab1cy] { flex:1; min-width:0; min-height:0; display:flex; flex-direction:column; gap:.4rem; }
.talents-page__workspace[b-hjm7fab1cy]  > .talent-board, .talents-page__workspace[b-hjm7fab1cy]  > .profession-board { flex:1; min-height:0; }
.talents-page__workspace--library[b-hjm7fab1cy] { overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.talents-page__profession-tools[b-hjm7fab1cy] { display:flex; align-items:center; justify-content:space-between; gap:.5rem; flex-shrink:0; color:#b9cbd6; font-size:.7rem; }
.talents-page__profession-tools button[b-hjm7fab1cy], .talents-page__refresh[b-hjm7fab1cy] { min-height:36px; flex-shrink:0; border:1px solid #586f82; border-radius:.45rem; background:#1c3346; color:#e8eef2; padding:.3rem .6rem; cursor:pointer; }
/* /Pages/Weapons.razor.rz.scp.css */
.weapons-page[b-4t5gn5srts] { max-width: 1250px; margin: 0 auto; padding: 1.2rem 0 4rem; }
.weapons-page__intro[b-4t5gn5srts] { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 1.4rem; }
.weapons-page__intro a[b-4t5gn5srts] { flex: 0 0 auto; padding-top: .4rem; color: #efbf76; font-weight: 700; text-decoration: none; }
.weapons-page__intro a:hover[b-4t5gn5srts] { text-decoration: underline; }
.weapons-page__intro span[b-4t5gn5srts] { color: #e3b367; font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.weapons-page__intro h1[b-4t5gn5srts] { margin: .15rem 0 .3rem; color: #f3e9d7; font: 700 clamp(1.8rem, 3vw, 2.5rem) Georgia, serif; }
.weapons-page__intro p[b-4t5gn5srts] { margin: 0; color: #aebfce; font-size: .86rem; }
.weapons-page__notice[b-4t5gn5srts] { border: 1px solid #344a60; border-radius: .7rem; padding: 1.5rem; color: #b8c8d5; background: #172638; }
@container game-shell (max-width: 640.98px) {
    .weapons-page[b-4t5gn5srts] { padding-top: .5rem; }
    .weapons-page__intro[b-4t5gn5srts] { display: none; }
}

.weapons-page[b-4t5gn5srts] { padding: 0; }
.weapons-page__intro[b-4t5gn5srts] { display: none; }
