html,body{overflow:hidden}html #app{top:var(--x-view-top,0px);width:auto;height:var(--x-view-h,100%);position:fixed;left:0;right:0}.stage-canvas{touch-action:none}.battle-hud{bottom:calc(5.15rem + var(--x-panel,0px));z-index:10;color:#1b3a5c;pointer-events:none;background:#e9e5c4f0;border:2px solid #1b3a5c;border-radius:6px;flex-wrap:wrap;align-items:baseline;gap:.15rem .85rem;max-width:min(36rem,100vw - 22rem);padding:.45rem .75rem;font-size:.82rem;line-height:1.35;display:flex;position:fixed;left:.75rem}.battle-hud__active{font-size:.95rem;font-weight:700}.battle-hud__active--kuroiwa,.battle-tool--kuroiwa.is-active{color:#c13b4a}.battle-hud__active--solenne,.battle-tool--solenne.is-active{color:#4f7fb0}.battle-hud__line--low{color:#c13b4a}.battle-hud__hearts{flex-direction:column;flex:1 0 100%;gap:.28rem;min-width:14rem;margin-top:.15rem;display:flex}.battle-hud__heart{grid-template-columns:4.6rem 1fr 1.6rem;align-items:center;gap:.35rem;display:grid}.battle-hud__heart-name{text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;font-weight:700;overflow:hidden}.battle-hud__heart--kuroiwa .battle-hud__heart-name{color:#c13b4a}.battle-hud__heart--kuroiwa .battle-hud__fill{background:#c13b4a}.battle-hud__heart--solenne .battle-hud__heart-name{color:#4f7fb0}.battle-hud__heart--solenne .battle-hud__fill{background:#4f7fb0}.battle-hud__track{background:#1b3a5c2e;border-radius:999px;height:.55rem;display:block;overflow:hidden}.battle-hud__fill{border-radius:inherit;height:100%;display:block}.battle-hud__hp{font-variant-numeric:tabular-nums;text-align:right;font-size:.72rem}.battle-refusal{bottom:calc(9.4rem + var(--x-panel,0px));z-index:11;color:#c13b4a;pointer-events:none;background:#e9e5c4f5;border:2px solid #c13b4a;border-radius:6px;max-width:22rem;padding:.45rem .7rem;font-size:.82rem;font-weight:700;line-height:1.4;position:fixed;left:.75rem}.battle-refusal[hidden]{display:none}.battle-tools{right:0;bottom:var(--x-panel,0px);z-index:10;background:#e9e5c4f5;border:0 solid #1b3a5c;border-top-width:2px;border-radius:0;flex-flow:wrap;justify-content:center;align-items:stretch;gap:.35rem;padding:.4rem .55rem;display:flex;position:fixed;left:0}.battle-tools.is-idle{opacity:.45}.battle-tool{color:#1b3a5c;min-width:6.2rem;min-height:2.75rem;font:inherit;text-align:left;cursor:pointer;background:#ffffff59;border:1px solid #1b3a5c59;border-radius:6px;grid-template-rows:auto auto;grid-template-columns:1fr auto;align-items:center;padding:.3rem .55rem;font-size:.78rem;display:grid}.battle-tool:hover{background:#ffffffb3;border-color:#1b3a5c}.battle-tool.is-active{background:#ffffffd9;border-color:currentColor;font-weight:700}.battle-online-link{color:#1b3a5c;border:1px solid #1b3a5c59;border-radius:6px;align-items:center;min-height:2.75rem;padding:.3rem .7rem;font-size:.78rem;font-weight:700;text-decoration:none;display:flex}.battle-online-link:hover{text-decoration:underline}.battle-tool__label{display:none}.battle-tool__short{text-overflow:ellipsis;white-space:nowrap;grid-area:1/1;font-weight:700;overflow:hidden}.battle-tool__cost{opacity:.7;font-variant-numeric:tabular-nums;grid-area:2/1;font-size:.68rem}.battle-tool__key{opacity:.55;font-variant-numeric:tabular-nums;grid-area:1/2/span 2;font-size:.72rem}.battle-menu[hidden]{display:none}.battle-menu{z-index:20;background:#e9e5c4f7;border:2px solid #1b3a5c;border-radius:6px;flex-direction:column;gap:.15rem;padding:.35rem;display:flex;position:fixed;box-shadow:0 4px 14px #1b3a5c59}.battle-menu__item{color:#1b3a5c;min-width:14rem;font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;justify-content:space-between;gap:1rem;padding:.3rem .55rem;font-size:.82rem;display:flex}.battle-menu__item:hover:not(:disabled){background:#ffffff8c;border-color:#1b3a5c}.battle-menu__item:disabled{opacity:.5;cursor:not-allowed}.battle-menu__note{opacity:.75;font-variant-numeric:tabular-nums}.battle-wheel[hidden]{display:none}.battle-wheel{z-index:21;pointer-events:none;width:220px;height:220px;position:fixed;transform:translate(-50%,-50%)}.battle-wheel__slice{color:#1b3a5c;text-align:center;background:#e9e5c4f5;border:2px solid #1b3a5c;border-radius:999px;flex-direction:column;justify-content:center;align-items:center;width:4.6rem;min-height:2.6rem;padding:.2rem .3rem;font-size:.72rem;line-height:1.15;display:flex;position:absolute;top:50%;left:50%}.battle-wheel__slice.is-chosen{color:#f4f0dc;background:#1b3a5c}.battle-wheel__slice.is-off{opacity:.4}.battle-wheel__note{opacity:.8;font-size:.68rem}.battle-wheel__hub{color:#1b3a5c;text-align:center;background:#ffffffe0;border:2px dashed #1b3a5c;border-radius:999px;justify-content:center;align-items:center;width:4.2rem;height:4.2rem;font-size:.72rem;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.battle-end[hidden]{display:none}.battle-end{z-index:20;text-align:center;pointer-events:auto;background:#1b3a5c73;flex-direction:column;justify-content:center;align-items:center;gap:.6rem;display:flex;position:fixed;inset:0}.battle-end__title{color:#1b3a5c;background:#e9e5c4f5;border:3px solid #1b3a5c;border-radius:8px;margin:0;padding:.7rem 1.8rem;font-size:1.6rem;font-weight:700}.battle-end__text{color:#1b3a5c;background:#e9e5c4e6;border-radius:4px;max-width:28rem;margin:0;padding:.4rem .9rem;font-size:.86rem}.battle-end__elo{color:#1b3a5c;background:#e9e5c4e6;border-radius:4px;max-width:28rem;margin:0;padding:.35rem .9rem;font-size:.95rem;font-weight:700}.battle-end__elo[hidden]{display:none}.battle-end__rematch{color:#e9e5c4;font:inherit;cursor:pointer;background:#1b3a5c;border:2px solid #1b3a5c;border-radius:6px;margin-top:.4rem;padding:.55rem 1.4rem;font-size:1rem;font-weight:700}.battle-end__rematch:hover:not(:disabled){background:#2a5480}.battle-end__rematch:disabled{color:#1b3a5c;cursor:default;background:#e9e5c4f2;border-color:#1b3a5c99}.battle-views{right:.75rem;bottom:calc(5.15rem + var(--x-panel,0px));z-index:10;background:#e9e5c4f5;border:2px solid #1b3a5c;border-radius:6px;flex-direction:row;gap:.35rem;padding:.35rem;display:flex;position:fixed}.battle-view{color:#1b3a5c;min-height:2.4rem;font:inherit;text-align:left;cursor:pointer;background:#ffffff59;border:1px solid #1b3a5c59;border-radius:6px;justify-content:space-between;align-items:center;gap:.55rem;padding:.3rem .6rem;font-size:.8rem;display:flex}.battle-view:hover:not(:disabled){border-color:#1b3a5c}.battle-view:disabled{opacity:.4;cursor:default}.battle-view__key{opacity:.7;font-variant-numeric:tabular-nums}.battle-view__short{display:none}.battle-help{z-index:10;color:#1b3a5c;text-align:center;pointer-events:none;background:#e9e5c4e6;border:1px solid #1b3a5c;border-radius:999px;max-width:min(18rem,100vw - 8rem);padding:.28rem .7rem;font-size:.72rem;position:fixed;top:.55rem;left:auto;right:.75rem;transform:none}.battle-help__touch{display:none}@media (max-width:1100px){.battle-hud,.battle-views{bottom:calc(8.8rem + var(--x-panel,0px))}.battle-refusal{bottom:calc(13rem + var(--x-panel,0px))}}@media (pointer:coarse),(max-width:600px){:root{--battle-touch:44px;--battle-tools-rows:2;--battle-tools-h:calc(var(--battle-touch) * var(--battle-tools-rows) + 4px * (var(--battle-tools-rows) + 1) + 2px);--battle-help-h:34px;--battle-views-h:56px}.battle-hud{border-top:0;border-left:0;border-radius:0 0 6px;flex-wrap:nowrap;max-width:min(16rem,100vw - 11rem);padding:.3rem .55rem;font-size:.72rem;line-height:1.35;display:block;top:0;bottom:auto;left:0}.battle-hud__active{font-size:.8rem}.battle-help{text-align:right;justify-content:flex-end;align-items:center;max-width:min(14rem,100vw - 11rem);height:auto;font-size:.68rem;line-height:1.2;display:flex;inset:.4rem .4rem auto auto;transform:none}.battle-help__mouse{display:none}.battle-help__touch{display:block}.battle-refusal{top:auto;right:auto;bottom:calc(var(--battle-views-h) + 8px + var(--x-panel,0px));max-width:calc(100vw - 1rem);left:.5rem}.battle-views{top:auto;right:0;bottom:var(--x-panel,0px);border-width:2px 0 0;border-radius:0;flex-direction:row;justify-content:stretch;gap:4px;padding:4px;left:0;transform:none}.battle-view{min-width:0;min-height:var(--battle-touch);text-align:center;border-color:#1b3a5c59;flex-direction:column;flex:1 1 0;justify-content:center;gap:0;padding:.1rem .2rem;font-size:.72rem;line-height:1.15}.battle-view__label,.battle-view__key{display:none}.battle-view__short{display:block}.battle-tools{top:auto;right:0;bottom:var(--x-panel,0px);height:var(--battle-tools-h);border-width:2px 0 0;border-radius:0;flex-flow:wrap;gap:4px;padding:4px;left:0}.battle-tool{min-width:0;height:var(--battle-touch);text-align:center;border-color:#1b3a5c59;flex-direction:column;flex:22%;justify-content:center;gap:0;padding:.1rem .2rem;font-size:.72rem;line-height:1.15;display:flex;overflow:hidden}.battle-tool__label,.battle-tool__key{display:none}.battle-tool__short{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.68rem;display:block;overflow:hidden}.battle-tool__cost{opacity:.7;font-variant-numeric:tabular-nums;font-size:.6rem}.battle-online-link{height:var(--battle-touch);text-align:center;border-top:0;flex:22%;justify-content:center;align-items:center;margin-top:0;padding:.1rem .2rem;font-size:.6rem;line-height:1.15;display:flex;overflow:hidden}.battle-menu__item{min-width:11rem;min-height:var(--battle-touch);align-items:center;font-size:.8rem}.battle-end__title{padding:.5rem 1rem;font-size:1.15rem}.battle-end__text,.battle-end__elo{max-width:calc(100vw - 2rem)}.battle-end__elo{font-size:.8rem}.battle-end__rematch{min-height:var(--battle-touch)}@media (orientation:landscape){:root{--battle-tools-rows:1;--battle-help-h:28px}.battle-tools{flex-wrap:nowrap}.battle-tool,.battle-online-link{flex:1 1 0}}}.online-panel[hidden],.online-banner[hidden]{display:none}.online-panel{z-index:30;overscroll-behavior:contain;color:#1b3a5c;background:#e9e5c4f7;border:2px solid #1b3a5c;border-radius:8px;flex-direction:column;gap:.6rem;width:min(24rem,100dvw - 2rem);max-height:calc(100dvh - 1.6rem);padding:1.4rem 1.5rem;font-family:ui-monospace,Cascadia Mono,Menlo,monospace;display:flex;position:fixed;top:50dvh;left:50%;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 8px 28px #1b3a5c59}.online-title{margin:0 0 .3rem;font-size:1.3rem}.online-text,.online-or,.online-wait{margin:0;font-size:.85rem}.online-or{opacity:.75;margin-top:.4rem}.online-elo{margin:0;font-size:.95rem;font-weight:700}.online-board{margin:0;padding:0;font-size:.8rem;list-style:none}.online-board__row{align-items:baseline;gap:.6rem;min-height:1.4rem;display:flex}.online-board__rank{opacity:.7;flex:0 0 2.2rem}.online-board__name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.online-board__rating{font-weight:700}.online-board__empty{opacity:.75}.online-wait{margin-top:.4rem;font-weight:700}.online-row{gap:.5rem;display:flex}.online-input{min-width:0;min-height:44px;color:inherit;font:inherit;background:#ffffffb3;border:1px solid #1b3a5c;border-radius:4px;flex:1;padding:.45rem .6rem}.online-input--code{letter-spacing:.3em;text-transform:uppercase}.online-input--link{font-size:.75rem}.online-button{color:#e9e5c4;min-width:44px;min-height:44px;font:inherit;touch-action:manipulation;cursor:pointer;background:#1b3a5c;border:2px solid #1b3a5c;border-radius:4px;justify-content:center;align-items:center;padding:.45rem .9rem;font-weight:700;display:inline-flex}.online-button:hover{background:#2a5480}a.online-button{text-decoration:none}a.online-button.is-disabled{opacity:.45;pointer-events:none}html.x-player .online-panel{max-height:calc(70dvh - 1.6rem);top:35dvh}.online-error{color:#c13b4a;margin:0;font-size:.85rem}.online-back{min-width:44px;min-height:44px;color:inherit;touch-action:manipulation;align-self:flex-start;align-items:center;margin-top:.4rem;font-size:.8rem;display:inline-flex}.online-banner{z-index:25;color:#c13b4a;background:#e9e5c4f7;border:2px solid #c13b4a;border-radius:6px;padding:.5rem 1rem;font-family:ui-monospace,Cascadia Mono,Menlo,monospace;font-size:.85rem;font-weight:700;position:fixed;top:1rem;left:50%;transform:translate(-50%)}
