valtech-components 4.0.569 → 4.0.571
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/components/atoms/qr-code/qr-code.component.mjs +26 -3
- package/esm2022/lib/components/atoms/qr-code/types.mjs +1 -1
- package/esm2022/lib/components/molecules/ticket-card/ticket-card.component.mjs +6 -12
- package/esm2022/lib/components/organisms/mini-games/chessimals-challenge-progress.service.mjs +28 -27
- package/esm2022/lib/components/organisms/mini-games/chessimals-engine.mjs +32 -13
- package/esm2022/lib/components/organisms/mini-games/chessimals-game.component.mjs +135 -32
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +19 -19
- package/esm2022/lib/services/errors/valtech-error.service.mjs +3 -3
- package/esm2022/lib/services/ticket-card-image/ticket-card-image.service.mjs +32 -1
- package/esm2022/lib/services/ticket-card-image/types.mjs +1 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +273 -102
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/atoms/qr-code/qr-code.component.d.ts +1 -0
- package/lib/components/atoms/qr-code/types.d.ts +4 -0
- package/lib/components/organisms/mini-games/chessimals-challenge-progress.service.d.ts +1 -0
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +13 -1
- package/lib/services/errors/valtech-error.service.d.ts +3 -3
- package/lib/services/ticket-card-image/ticket-card-image.service.d.ts +2 -0
- package/lib/services/ticket-card-image/types.d.ts +2 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -59,7 +59,7 @@ import fixWebmDuration from 'fix-webm-duration';
|
|
|
59
59
|
* Current version of valtech-components.
|
|
60
60
|
* This is automatically updated during the publish process.
|
|
61
61
|
*/
|
|
62
|
-
const VERSION = '4.0.
|
|
62
|
+
const VERSION = '4.0.571';
|
|
63
63
|
|
|
64
64
|
// Control de estado de refresco (singleton a nivel de módulo)
|
|
65
65
|
let isRefreshing = false;
|
|
@@ -2023,11 +2023,11 @@ class ValtechErrorService {
|
|
|
2023
2023
|
color: 'dark',
|
|
2024
2024
|
position: 'top',
|
|
2025
2025
|
// Más tiempo cuando hay botón de copia — el usuario necesita leerlo y tapear.
|
|
2026
|
-
duration: opId ?
|
|
2026
|
+
duration: opId ? 8000 : 3000,
|
|
2027
2027
|
buttons: opId
|
|
2028
2028
|
? [
|
|
2029
2029
|
{
|
|
2030
|
-
text: 'Copiar
|
|
2030
|
+
text: 'Copiar código de error',
|
|
2031
2031
|
handler: () => {
|
|
2032
2032
|
void navigator.clipboard.writeText(opId);
|
|
2033
2033
|
},
|
|
@@ -13781,6 +13781,11 @@ class QrCodeComponent {
|
|
|
13781
13781
|
getQrBorderRadius() {
|
|
13782
13782
|
return this.props.qrBorderRadius ? `${this.props.qrBorderRadius}px` : '0';
|
|
13783
13783
|
}
|
|
13784
|
+
getLogoSize() {
|
|
13785
|
+
const size = this.props.displaySize || this.props.qr.config.width || 300;
|
|
13786
|
+
const ratio = this.props.logoSizeRatio ?? 0.2;
|
|
13787
|
+
return `${Math.round(size * ratio)}px`;
|
|
13788
|
+
}
|
|
13784
13789
|
getContainerClasses() {
|
|
13785
13790
|
const classes = [];
|
|
13786
13791
|
if (this.props.cssClass)
|
|
@@ -13949,6 +13954,15 @@ class QrCodeComponent {
|
|
|
13949
13954
|
(load)="onImageLoad()"
|
|
13950
13955
|
(error)="onImageError($event)"
|
|
13951
13956
|
/>
|
|
13957
|
+
@if (props.logoUrl) {
|
|
13958
|
+
<span
|
|
13959
|
+
class="qr-logo"
|
|
13960
|
+
[style.--logo-size]="getLogoSize()"
|
|
13961
|
+
aria-hidden="true"
|
|
13962
|
+
>
|
|
13963
|
+
<img [src]="props.logoUrl" alt="" />
|
|
13964
|
+
</span>
|
|
13965
|
+
}
|
|
13952
13966
|
</div>
|
|
13953
13967
|
|
|
13954
13968
|
@if (props.label && props.label.position !== 'top') {
|
|
@@ -13989,7 +14003,7 @@ class QrCodeComponent {
|
|
|
13989
14003
|
</div>
|
|
13990
14004
|
}
|
|
13991
14005
|
</div>
|
|
13992
|
-
`, isInline: true, styles: ["@charset \"UTF-8\";:root{--val-container-sm: 540px;--val-container-md: 720px;--val-container-lg: 880px;--val-container-xl: 1100px;--val-container-padding: 16px;--ion-color-primary: #7026df;--ion-color-primary-rgb: 112, 38, 223;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #6321c4;--ion-color-primary-tint: #7e3ce2;--ion-color-secondary: #e2ccff;--ion-color-secondary-rgb: 226, 204, 255;--ion-color-secondary-contrast: #000000;--ion-color-secondary-contrast-rgb: 0, 0, 0;--ion-color-secondary-shade: #c7b4e0;--ion-color-secondary-tint: #e5d1ff;--ion-color-texti: #354c69;--ion-color-texti-rgb: 53, 76, 105;--ion-color-texti-contrast: #ffffff;--ion-color-texti-contrast-rgb: 255, 255, 255;--ion-color-texti-shade: #2f435c;--ion-color-texti-tint: #495e78;--ion-color-darki: #090f1b;--ion-color-darki-rgb: 9, 15, 27;--ion-color-darki-contrast: #ffffff;--ion-color-darki-contrast-rgb: 255, 255, 255;--ion-color-darki-shade: #080d18;--ion-color-darki-tint: #222732;--ion-color-medium: #9e9e9e;--ion-color-medium-rgb: 158, 158, 158;--ion-color-medium-contrast: #000000;--ion-color-medium-contrast-rgb: 0, 0, 0;--ion-color-medium-shade: #8b8b8b;--ion-color-medium-tint: #a8a8a8;--swiper-pagination-color: var(--ion-color-primary);--swiper-navigation-color: var(--ion-color-primary);--swiper-pagination-bullet-inactive-color: var(--ion-color-medium)}body.dark,html.ion-palette-dark,body[data-theme=dark]{--ion-color-texti: #8fc1ff;--ion-color-texti-rgb: 143, 193, 255;--ion-color-texti-contrast: #000000;--ion-color-texti-contrast-rgb: 0, 0, 0;--ion-color-texti-shade: #7eaae0;--ion-color-texti-tint: #9ac7ff;--ion-color-darki: #ffffff;--ion-color-darki-rgb: 255, 255, 255;--ion-color-darki-contrast: #000000;--ion-color-darki-contrast-rgb: 0, 0, 0;--ion-color-darki-shade: #e0e0e0;--ion-color-darki-tint: #ffffff;--ion-color-primary: #8f49f8;--ion-color-primary-rgb: 143, 73, 248;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #7e40da;--ion-color-primary-tint: #9a5bf9}.ion-color-texti{--ion-color-base: var(--ion-color-texti);--ion-color-base-rgb: var(--ion-color-texti-rgb);--ion-color-contrast: var(--ion-color-texti-contrast);--ion-color-contrast-rgb: var(--ion-color-texti-contrast-rgb);--ion-color-shade: var(--ion-color-texti-shade);--ion-color-tint: var(--ion-color-texti-tint)}.ion-color-darki{--ion-color-base: var(--ion-color-darki);--ion-color-base-rgb: var(--ion-color-darki-rgb);--ion-color-contrast: var(--ion-color-darki-contrast);--ion-color-contrast-rgb: var(--ion-color-darki-contrast-rgb);--ion-color-shade: var(--ion-color-darki-shade);--ion-color-tint: var(--ion-color-darki-tint)}:host{display:inline-block}.qr-code-container{display:inline-flex;flex-direction:column;align-items:center;gap:12px;padding:var(--padding);background:var(--container-bg);border-radius:var(--border-radius);box-shadow:var(--shadow);position:relative;transition:transform .2s ease,box-shadow .2s ease}.qr-code-container.with-border{border:1px solid var(--border-color)}.qr-code-container.loading .qr-image-wrapper{opacity:.5}.qr-code-container.scale-on-hover:hover{transform:scale(1.02)}.qr-code-container.pulse-on-hover:hover{animation:pulse 1.5s infinite}.qr-label{display:flex;align-items:center;gap:6px;color:var(--label-color);font-size:var(--label-size)}.qr-label ion-icon{font-size:1.1em}.qr-label .font-weight--normal{font-weight:400}.qr-label .font-weight--medium{font-weight:500}.qr-label .font-weight--semibold{font-weight:600}.qr-label .font-weight--bold{font-weight:700}.qr-label--top{margin-bottom:4px}.qr-label--bottom{margin-top:4px}.loading-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background-color:#ffffffb3;border-radius:var(--border-radius);z-index:1}.loading-overlay ion-spinner{width:32px;height:32px}.qr-image-wrapper{width:var(--size);height:var(--size);display:flex;align-items:center;justify-content:center;transition:opacity .2s}.qr-image{width:100%;height:100%;object-fit:contain;display:block;border-radius:var(--qr-border-radius)}.qr-actions{display:flex;align-items:center;justify-content:center;gap:4px}.qr-actions ion-button{--padding-start: 8px;--padding-end: 8px;--color: var(--ion-color-medium)}.qr-actions ion-button:hover{--color: var(--ion-color-primary)}.qr-actions ion-button ion-icon{font-size:1.25rem}.theme--minimal{background:transparent!important;padding:0!important;box-shadow:none!important;border:none!important}.theme--gradient-purple{background:linear-gradient(135deg,#667eea,#764ba2)!important;padding:20px!important;border-radius:16px!important}.theme--gradient-purple .qr-image{border-radius:8px}.theme--gradient-purple .qr-label{color:#fff}.theme--gradient-purple .qr-actions ion-button{--color: rgba(255, 255, 255, .8)}.theme--gradient-purple .qr-actions ion-button:hover{--color: white}.theme--gradient-blue{background:linear-gradient(135deg,#4facfe,#00f2fe)!important;padding:20px!important;border-radius:16px!important}.theme--gradient-blue .qr-image{border-radius:8px}.theme--gradient-blue .qr-label{color:#fff}.theme--gradient-blue .qr-actions ion-button{--color: rgba(255, 255, 255, .8)}.theme--gradient-blue .qr-actions ion-button:hover{--color: white}.theme--gradient-sunset{background:linear-gradient(135deg,#fa709a,#fee140)!important;padding:20px!important;border-radius:16px!important}.theme--gradient-sunset .qr-image{border-radius:8px}.theme--gradient-sunset .qr-label{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.1)}.theme--gradient-sunset .qr-actions ion-button{--color: rgba(255, 255, 255, .9)}.theme--gradient-sunset .qr-actions ion-button:hover{--color: white}.theme--gradient-mint{background:linear-gradient(135deg,#11998e,#38ef7d)!important;padding:20px!important;border-radius:16px!important}.theme--gradient-mint .qr-image{border-radius:8px}.theme--gradient-mint .qr-label{color:#fff}.theme--gradient-mint .qr-actions ion-button{--color: rgba(255, 255, 255, .8)}.theme--gradient-mint .qr-actions ion-button:hover{--color: white}.theme--dark{background:linear-gradient(145deg,#1a1a2e,#16213e)!important;padding:20px!important;border-radius:16px!important;border:1px solid rgba(255,255,255,.1)!important}.theme--dark .qr-image{border-radius:8px;filter:invert(1)}.theme--dark .qr-label{color:#e0e0e0}.theme--dark .qr-actions ion-button{--color: rgba(255, 255, 255, .6)}.theme--dark .qr-actions ion-button:hover{--color: white}.theme--neon{background:#0a0a0a!important;padding:20px!important;border-radius:16px!important;border:2px solid var(--glow-color)!important;box-shadow:0 0 20px var(--glow-color),inset 0 0 20px #8b5cf61a!important}.theme--neon .qr-image{border-radius:8px;filter:drop-shadow(0 0 8px var(--glow-color))}.theme--neon .qr-label{color:var(--glow-color);text-shadow:0 0 10px var(--glow-color)}.theme--neon .qr-actions ion-button{--color: var(--glow-color)}.theme--neon .qr-actions ion-button:hover{--color: white}:host(.compact) .qr-actions{position:absolute;bottom:8px;left:50%;transform:translate(-50%);opacity:0;transition:opacity .2s;background-color:#ffffffe6;border-radius:8px;padding:4px}:host(.compact) .qr-code-container:hover .qr-actions{opacity:1}:host(.card) .qr-code-container{background-color:var(--ion-background-color, white);box-shadow:0 2px 8px #0000001a;padding:16px;border-radius:12px}@keyframes pulse{0%{box-shadow:var(--shadow),0 0 #6366f166}70%{box-shadow:var(--shadow),0 0 0 10px #6366f100}to{box-shadow:var(--shadow),0 0 #6366f100}}:host-context(body.dark) .loading-overlay,:host-context(.dark) .loading-overlay,:host-context(.ion-palette-dark) .loading-overlay,:host-context(html.ion-palette-dark) .loading-overlay,:host-context([data-theme=dark]) .loading-overlay{background-color:#000000b3}:host-context(body.dark).compact .qr-actions,:host-context(.dark).compact .qr-actions,:host-context(.ion-palette-dark).compact .qr-actions,:host-context(html.ion-palette-dark).compact .qr-actions,:host-context([data-theme=dark]).compact .qr-actions{background-color:#000000e6}:host-context(body.dark) .theme--default .qr-image,:host-context(.dark) .theme--default .qr-image,:host-context(.ion-palette-dark) .theme--default .qr-image,:host-context(html.ion-palette-dark) .theme--default .qr-image,:host-context([data-theme=dark]) .theme--default .qr-image{filter:invert(1)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: IonSpinner, selector: "ion-spinner", inputs: ["color", "duration", "name", "paused"] }] }); }
|
|
14006
|
+
`, isInline: true, styles: ["@charset \"UTF-8\";:root{--val-container-sm: 540px;--val-container-md: 720px;--val-container-lg: 880px;--val-container-xl: 1100px;--val-container-padding: 16px;--ion-color-primary: #7026df;--ion-color-primary-rgb: 112, 38, 223;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #6321c4;--ion-color-primary-tint: #7e3ce2;--ion-color-secondary: #e2ccff;--ion-color-secondary-rgb: 226, 204, 255;--ion-color-secondary-contrast: #000000;--ion-color-secondary-contrast-rgb: 0, 0, 0;--ion-color-secondary-shade: #c7b4e0;--ion-color-secondary-tint: #e5d1ff;--ion-color-texti: #354c69;--ion-color-texti-rgb: 53, 76, 105;--ion-color-texti-contrast: #ffffff;--ion-color-texti-contrast-rgb: 255, 255, 255;--ion-color-texti-shade: #2f435c;--ion-color-texti-tint: #495e78;--ion-color-darki: #090f1b;--ion-color-darki-rgb: 9, 15, 27;--ion-color-darki-contrast: #ffffff;--ion-color-darki-contrast-rgb: 255, 255, 255;--ion-color-darki-shade: #080d18;--ion-color-darki-tint: #222732;--ion-color-medium: #9e9e9e;--ion-color-medium-rgb: 158, 158, 158;--ion-color-medium-contrast: #000000;--ion-color-medium-contrast-rgb: 0, 0, 0;--ion-color-medium-shade: #8b8b8b;--ion-color-medium-tint: #a8a8a8;--swiper-pagination-color: var(--ion-color-primary);--swiper-navigation-color: var(--ion-color-primary);--swiper-pagination-bullet-inactive-color: var(--ion-color-medium)}body.dark,html.ion-palette-dark,body[data-theme=dark]{--ion-color-texti: #8fc1ff;--ion-color-texti-rgb: 143, 193, 255;--ion-color-texti-contrast: #000000;--ion-color-texti-contrast-rgb: 0, 0, 0;--ion-color-texti-shade: #7eaae0;--ion-color-texti-tint: #9ac7ff;--ion-color-darki: #ffffff;--ion-color-darki-rgb: 255, 255, 255;--ion-color-darki-contrast: #000000;--ion-color-darki-contrast-rgb: 0, 0, 0;--ion-color-darki-shade: #e0e0e0;--ion-color-darki-tint: #ffffff;--ion-color-primary: #8f49f8;--ion-color-primary-rgb: 143, 73, 248;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #7e40da;--ion-color-primary-tint: #9a5bf9}.ion-color-texti{--ion-color-base: var(--ion-color-texti);--ion-color-base-rgb: var(--ion-color-texti-rgb);--ion-color-contrast: var(--ion-color-texti-contrast);--ion-color-contrast-rgb: var(--ion-color-texti-contrast-rgb);--ion-color-shade: var(--ion-color-texti-shade);--ion-color-tint: var(--ion-color-texti-tint)}.ion-color-darki{--ion-color-base: var(--ion-color-darki);--ion-color-base-rgb: var(--ion-color-darki-rgb);--ion-color-contrast: var(--ion-color-darki-contrast);--ion-color-contrast-rgb: var(--ion-color-darki-contrast-rgb);--ion-color-shade: var(--ion-color-darki-shade);--ion-color-tint: var(--ion-color-darki-tint)}:host{display:inline-block}.qr-code-container{display:inline-flex;flex-direction:column;align-items:center;gap:12px;padding:var(--padding);background:var(--container-bg);border-radius:var(--border-radius);box-shadow:var(--shadow);position:relative;transition:transform .2s ease,box-shadow .2s ease}.qr-code-container.with-border{border:1px solid var(--border-color)}.qr-code-container.loading .qr-image-wrapper{opacity:.5}.qr-code-container.scale-on-hover:hover{transform:scale(1.02)}.qr-code-container.pulse-on-hover:hover{animation:pulse 1.5s infinite}.qr-label{display:flex;align-items:center;gap:6px;color:var(--label-color);font-size:var(--label-size)}.qr-label ion-icon{font-size:1.1em}.qr-label .font-weight--normal{font-weight:400}.qr-label .font-weight--medium{font-weight:500}.qr-label .font-weight--semibold{font-weight:600}.qr-label .font-weight--bold{font-weight:700}.qr-label--top{margin-bottom:4px}.qr-label--bottom{margin-top:4px}.loading-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background-color:#ffffffb3;border-radius:var(--border-radius);z-index:1}.loading-overlay ion-spinner{width:32px;height:32px}.qr-image-wrapper{width:var(--size);height:var(--size);display:flex;align-items:center;justify-content:center;position:relative;transition:opacity .2s}.qr-image{width:100%;height:100%;object-fit:contain;display:block;border-radius:var(--qr-border-radius)}.qr-logo{position:absolute;left:50%;top:50%;width:var(--logo-size);height:var(--logo-size);transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;padding:max(4px,var(--logo-size) * .08);pointer-events:none}.qr-logo img{width:100%;height:100%;object-fit:contain;display:block}.qr-actions{display:flex;align-items:center;justify-content:center;gap:4px}.qr-actions ion-button{--padding-start: 8px;--padding-end: 8px;--color: var(--ion-color-medium)}.qr-actions ion-button:hover{--color: var(--ion-color-primary)}.qr-actions ion-button ion-icon{font-size:1.25rem}.theme--minimal{background:transparent!important;padding:0!important;box-shadow:none!important;border:none!important}.theme--gradient-purple{background:linear-gradient(135deg,#667eea,#764ba2)!important;padding:20px!important;border-radius:16px!important}.theme--gradient-purple .qr-image{border-radius:8px}.theme--gradient-purple .qr-label{color:#fff}.theme--gradient-purple .qr-actions ion-button{--color: rgba(255, 255, 255, .8)}.theme--gradient-purple .qr-actions ion-button:hover{--color: white}.theme--gradient-blue{background:linear-gradient(135deg,#4facfe,#00f2fe)!important;padding:20px!important;border-radius:16px!important}.theme--gradient-blue .qr-image{border-radius:8px}.theme--gradient-blue .qr-label{color:#fff}.theme--gradient-blue .qr-actions ion-button{--color: rgba(255, 255, 255, .8)}.theme--gradient-blue .qr-actions ion-button:hover{--color: white}.theme--gradient-sunset{background:linear-gradient(135deg,#fa709a,#fee140)!important;padding:20px!important;border-radius:16px!important}.theme--gradient-sunset .qr-image{border-radius:8px}.theme--gradient-sunset .qr-label{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.1)}.theme--gradient-sunset .qr-actions ion-button{--color: rgba(255, 255, 255, .9)}.theme--gradient-sunset .qr-actions ion-button:hover{--color: white}.theme--gradient-mint{background:linear-gradient(135deg,#11998e,#38ef7d)!important;padding:20px!important;border-radius:16px!important}.theme--gradient-mint .qr-image{border-radius:8px}.theme--gradient-mint .qr-label{color:#fff}.theme--gradient-mint .qr-actions ion-button{--color: rgba(255, 255, 255, .8)}.theme--gradient-mint .qr-actions ion-button:hover{--color: white}.theme--dark{background:linear-gradient(145deg,#1a1a2e,#16213e)!important;padding:20px!important;border-radius:16px!important;border:1px solid rgba(255,255,255,.1)!important}.theme--dark .qr-image{border-radius:8px;filter:invert(1)}.theme--dark .qr-label{color:#e0e0e0}.theme--dark .qr-actions ion-button{--color: rgba(255, 255, 255, .6)}.theme--dark .qr-actions ion-button:hover{--color: white}.theme--neon{background:#0a0a0a!important;padding:20px!important;border-radius:16px!important;border:2px solid var(--glow-color)!important;box-shadow:0 0 20px var(--glow-color),inset 0 0 20px #8b5cf61a!important}.theme--neon .qr-image{border-radius:8px;filter:drop-shadow(0 0 8px var(--glow-color))}.theme--neon .qr-label{color:var(--glow-color);text-shadow:0 0 10px var(--glow-color)}.theme--neon .qr-actions ion-button{--color: var(--glow-color)}.theme--neon .qr-actions ion-button:hover{--color: white}:host(.compact) .qr-actions{position:absolute;bottom:8px;left:50%;transform:translate(-50%);opacity:0;transition:opacity .2s;background-color:#ffffffe6;border-radius:8px;padding:4px}:host(.compact) .qr-code-container:hover .qr-actions{opacity:1}:host(.card) .qr-code-container{background-color:var(--ion-background-color, white);box-shadow:0 2px 8px #0000001a;padding:16px;border-radius:12px}@keyframes pulse{0%{box-shadow:var(--shadow),0 0 #6366f166}70%{box-shadow:var(--shadow),0 0 0 10px #6366f100}to{box-shadow:var(--shadow),0 0 #6366f100}}:host-context(body.dark) .loading-overlay,:host-context(.dark) .loading-overlay,:host-context(.ion-palette-dark) .loading-overlay,:host-context(html.ion-palette-dark) .loading-overlay,:host-context([data-theme=dark]) .loading-overlay{background-color:#000000b3}:host-context(body.dark).compact .qr-actions,:host-context(.dark).compact .qr-actions,:host-context(.ion-palette-dark).compact .qr-actions,:host-context(html.ion-palette-dark).compact .qr-actions,:host-context([data-theme=dark]).compact .qr-actions{background-color:#000000e6}:host-context(body.dark) .theme--default .qr-image,:host-context(.dark) .theme--default .qr-image,:host-context(.ion-palette-dark) .theme--default .qr-image,:host-context(html.ion-palette-dark) .theme--default .qr-image,:host-context([data-theme=dark]) .theme--default .qr-image{filter:invert(1)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: IonSpinner, selector: "ion-spinner", inputs: ["color", "duration", "name", "paused"] }] }); }
|
|
13993
14007
|
}
|
|
13994
14008
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: QrCodeComponent, decorators: [{
|
|
13995
14009
|
type: Component,
|
|
@@ -14035,6 +14049,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
14035
14049
|
(load)="onImageLoad()"
|
|
14036
14050
|
(error)="onImageError($event)"
|
|
14037
14051
|
/>
|
|
14052
|
+
@if (props.logoUrl) {
|
|
14053
|
+
<span
|
|
14054
|
+
class="qr-logo"
|
|
14055
|
+
[style.--logo-size]="getLogoSize()"
|
|
14056
|
+
aria-hidden="true"
|
|
14057
|
+
>
|
|
14058
|
+
<img [src]="props.logoUrl" alt="" />
|
|
14059
|
+
</span>
|
|
14060
|
+
}
|
|
14038
14061
|
</div>
|
|
14039
14062
|
|
|
14040
14063
|
@if (props.label && props.label.position !== 'top') {
|
|
@@ -14075,7 +14098,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
14075
14098
|
</div>
|
|
14076
14099
|
}
|
|
14077
14100
|
</div>
|
|
14078
|
-
`, styles: ["@charset \"UTF-8\";:root{--val-container-sm: 540px;--val-container-md: 720px;--val-container-lg: 880px;--val-container-xl: 1100px;--val-container-padding: 16px;--ion-color-primary: #7026df;--ion-color-primary-rgb: 112, 38, 223;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #6321c4;--ion-color-primary-tint: #7e3ce2;--ion-color-secondary: #e2ccff;--ion-color-secondary-rgb: 226, 204, 255;--ion-color-secondary-contrast: #000000;--ion-color-secondary-contrast-rgb: 0, 0, 0;--ion-color-secondary-shade: #c7b4e0;--ion-color-secondary-tint: #e5d1ff;--ion-color-texti: #354c69;--ion-color-texti-rgb: 53, 76, 105;--ion-color-texti-contrast: #ffffff;--ion-color-texti-contrast-rgb: 255, 255, 255;--ion-color-texti-shade: #2f435c;--ion-color-texti-tint: #495e78;--ion-color-darki: #090f1b;--ion-color-darki-rgb: 9, 15, 27;--ion-color-darki-contrast: #ffffff;--ion-color-darki-contrast-rgb: 255, 255, 255;--ion-color-darki-shade: #080d18;--ion-color-darki-tint: #222732;--ion-color-medium: #9e9e9e;--ion-color-medium-rgb: 158, 158, 158;--ion-color-medium-contrast: #000000;--ion-color-medium-contrast-rgb: 0, 0, 0;--ion-color-medium-shade: #8b8b8b;--ion-color-medium-tint: #a8a8a8;--swiper-pagination-color: var(--ion-color-primary);--swiper-navigation-color: var(--ion-color-primary);--swiper-pagination-bullet-inactive-color: var(--ion-color-medium)}body.dark,html.ion-palette-dark,body[data-theme=dark]{--ion-color-texti: #8fc1ff;--ion-color-texti-rgb: 143, 193, 255;--ion-color-texti-contrast: #000000;--ion-color-texti-contrast-rgb: 0, 0, 0;--ion-color-texti-shade: #7eaae0;--ion-color-texti-tint: #9ac7ff;--ion-color-darki: #ffffff;--ion-color-darki-rgb: 255, 255, 255;--ion-color-darki-contrast: #000000;--ion-color-darki-contrast-rgb: 0, 0, 0;--ion-color-darki-shade: #e0e0e0;--ion-color-darki-tint: #ffffff;--ion-color-primary: #8f49f8;--ion-color-primary-rgb: 143, 73, 248;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #7e40da;--ion-color-primary-tint: #9a5bf9}.ion-color-texti{--ion-color-base: var(--ion-color-texti);--ion-color-base-rgb: var(--ion-color-texti-rgb);--ion-color-contrast: var(--ion-color-texti-contrast);--ion-color-contrast-rgb: var(--ion-color-texti-contrast-rgb);--ion-color-shade: var(--ion-color-texti-shade);--ion-color-tint: var(--ion-color-texti-tint)}.ion-color-darki{--ion-color-base: var(--ion-color-darki);--ion-color-base-rgb: var(--ion-color-darki-rgb);--ion-color-contrast: var(--ion-color-darki-contrast);--ion-color-contrast-rgb: var(--ion-color-darki-contrast-rgb);--ion-color-shade: var(--ion-color-darki-shade);--ion-color-tint: var(--ion-color-darki-tint)}:host{display:inline-block}.qr-code-container{display:inline-flex;flex-direction:column;align-items:center;gap:12px;padding:var(--padding);background:var(--container-bg);border-radius:var(--border-radius);box-shadow:var(--shadow);position:relative;transition:transform .2s ease,box-shadow .2s ease}.qr-code-container.with-border{border:1px solid var(--border-color)}.qr-code-container.loading .qr-image-wrapper{opacity:.5}.qr-code-container.scale-on-hover:hover{transform:scale(1.02)}.qr-code-container.pulse-on-hover:hover{animation:pulse 1.5s infinite}.qr-label{display:flex;align-items:center;gap:6px;color:var(--label-color);font-size:var(--label-size)}.qr-label ion-icon{font-size:1.1em}.qr-label .font-weight--normal{font-weight:400}.qr-label .font-weight--medium{font-weight:500}.qr-label .font-weight--semibold{font-weight:600}.qr-label .font-weight--bold{font-weight:700}.qr-label--top{margin-bottom:4px}.qr-label--bottom{margin-top:4px}.loading-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background-color:#ffffffb3;border-radius:var(--border-radius);z-index:1}.loading-overlay ion-spinner{width:32px;height:32px}.qr-image-wrapper{width:var(--size);height:var(--size);display:flex;align-items:center;justify-content:center;transition:opacity .2s}.qr-image{width:100%;height:100%;object-fit:contain;display:block;border-radius:var(--qr-border-radius)}.qr-actions{display:flex;align-items:center;justify-content:center;gap:4px}.qr-actions ion-button{--padding-start: 8px;--padding-end: 8px;--color: var(--ion-color-medium)}.qr-actions ion-button:hover{--color: var(--ion-color-primary)}.qr-actions ion-button ion-icon{font-size:1.25rem}.theme--minimal{background:transparent!important;padding:0!important;box-shadow:none!important;border:none!important}.theme--gradient-purple{background:linear-gradient(135deg,#667eea,#764ba2)!important;padding:20px!important;border-radius:16px!important}.theme--gradient-purple .qr-image{border-radius:8px}.theme--gradient-purple .qr-label{color:#fff}.theme--gradient-purple .qr-actions ion-button{--color: rgba(255, 255, 255, .8)}.theme--gradient-purple .qr-actions ion-button:hover{--color: white}.theme--gradient-blue{background:linear-gradient(135deg,#4facfe,#00f2fe)!important;padding:20px!important;border-radius:16px!important}.theme--gradient-blue .qr-image{border-radius:8px}.theme--gradient-blue .qr-label{color:#fff}.theme--gradient-blue .qr-actions ion-button{--color: rgba(255, 255, 255, .8)}.theme--gradient-blue .qr-actions ion-button:hover{--color: white}.theme--gradient-sunset{background:linear-gradient(135deg,#fa709a,#fee140)!important;padding:20px!important;border-radius:16px!important}.theme--gradient-sunset .qr-image{border-radius:8px}.theme--gradient-sunset .qr-label{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.1)}.theme--gradient-sunset .qr-actions ion-button{--color: rgba(255, 255, 255, .9)}.theme--gradient-sunset .qr-actions ion-button:hover{--color: white}.theme--gradient-mint{background:linear-gradient(135deg,#11998e,#38ef7d)!important;padding:20px!important;border-radius:16px!important}.theme--gradient-mint .qr-image{border-radius:8px}.theme--gradient-mint .qr-label{color:#fff}.theme--gradient-mint .qr-actions ion-button{--color: rgba(255, 255, 255, .8)}.theme--gradient-mint .qr-actions ion-button:hover{--color: white}.theme--dark{background:linear-gradient(145deg,#1a1a2e,#16213e)!important;padding:20px!important;border-radius:16px!important;border:1px solid rgba(255,255,255,.1)!important}.theme--dark .qr-image{border-radius:8px;filter:invert(1)}.theme--dark .qr-label{color:#e0e0e0}.theme--dark .qr-actions ion-button{--color: rgba(255, 255, 255, .6)}.theme--dark .qr-actions ion-button:hover{--color: white}.theme--neon{background:#0a0a0a!important;padding:20px!important;border-radius:16px!important;border:2px solid var(--glow-color)!important;box-shadow:0 0 20px var(--glow-color),inset 0 0 20px #8b5cf61a!important}.theme--neon .qr-image{border-radius:8px;filter:drop-shadow(0 0 8px var(--glow-color))}.theme--neon .qr-label{color:var(--glow-color);text-shadow:0 0 10px var(--glow-color)}.theme--neon .qr-actions ion-button{--color: var(--glow-color)}.theme--neon .qr-actions ion-button:hover{--color: white}:host(.compact) .qr-actions{position:absolute;bottom:8px;left:50%;transform:translate(-50%);opacity:0;transition:opacity .2s;background-color:#ffffffe6;border-radius:8px;padding:4px}:host(.compact) .qr-code-container:hover .qr-actions{opacity:1}:host(.card) .qr-code-container{background-color:var(--ion-background-color, white);box-shadow:0 2px 8px #0000001a;padding:16px;border-radius:12px}@keyframes pulse{0%{box-shadow:var(--shadow),0 0 #6366f166}70%{box-shadow:var(--shadow),0 0 0 10px #6366f100}to{box-shadow:var(--shadow),0 0 #6366f100}}:host-context(body.dark) .loading-overlay,:host-context(.dark) .loading-overlay,:host-context(.ion-palette-dark) .loading-overlay,:host-context(html.ion-palette-dark) .loading-overlay,:host-context([data-theme=dark]) .loading-overlay{background-color:#000000b3}:host-context(body.dark).compact .qr-actions,:host-context(.dark).compact .qr-actions,:host-context(.ion-palette-dark).compact .qr-actions,:host-context(html.ion-palette-dark).compact .qr-actions,:host-context([data-theme=dark]).compact .qr-actions{background-color:#000000e6}:host-context(body.dark) .theme--default .qr-image,:host-context(.dark) .theme--default .qr-image,:host-context(.ion-palette-dark) .theme--default .qr-image,:host-context(html.ion-palette-dark) .theme--default .qr-image,:host-context([data-theme=dark]) .theme--default .qr-image{filter:invert(1)}\n"] }]
|
|
14101
|
+
`, styles: ["@charset \"UTF-8\";:root{--val-container-sm: 540px;--val-container-md: 720px;--val-container-lg: 880px;--val-container-xl: 1100px;--val-container-padding: 16px;--ion-color-primary: #7026df;--ion-color-primary-rgb: 112, 38, 223;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #6321c4;--ion-color-primary-tint: #7e3ce2;--ion-color-secondary: #e2ccff;--ion-color-secondary-rgb: 226, 204, 255;--ion-color-secondary-contrast: #000000;--ion-color-secondary-contrast-rgb: 0, 0, 0;--ion-color-secondary-shade: #c7b4e0;--ion-color-secondary-tint: #e5d1ff;--ion-color-texti: #354c69;--ion-color-texti-rgb: 53, 76, 105;--ion-color-texti-contrast: #ffffff;--ion-color-texti-contrast-rgb: 255, 255, 255;--ion-color-texti-shade: #2f435c;--ion-color-texti-tint: #495e78;--ion-color-darki: #090f1b;--ion-color-darki-rgb: 9, 15, 27;--ion-color-darki-contrast: #ffffff;--ion-color-darki-contrast-rgb: 255, 255, 255;--ion-color-darki-shade: #080d18;--ion-color-darki-tint: #222732;--ion-color-medium: #9e9e9e;--ion-color-medium-rgb: 158, 158, 158;--ion-color-medium-contrast: #000000;--ion-color-medium-contrast-rgb: 0, 0, 0;--ion-color-medium-shade: #8b8b8b;--ion-color-medium-tint: #a8a8a8;--swiper-pagination-color: var(--ion-color-primary);--swiper-navigation-color: var(--ion-color-primary);--swiper-pagination-bullet-inactive-color: var(--ion-color-medium)}body.dark,html.ion-palette-dark,body[data-theme=dark]{--ion-color-texti: #8fc1ff;--ion-color-texti-rgb: 143, 193, 255;--ion-color-texti-contrast: #000000;--ion-color-texti-contrast-rgb: 0, 0, 0;--ion-color-texti-shade: #7eaae0;--ion-color-texti-tint: #9ac7ff;--ion-color-darki: #ffffff;--ion-color-darki-rgb: 255, 255, 255;--ion-color-darki-contrast: #000000;--ion-color-darki-contrast-rgb: 0, 0, 0;--ion-color-darki-shade: #e0e0e0;--ion-color-darki-tint: #ffffff;--ion-color-primary: #8f49f8;--ion-color-primary-rgb: 143, 73, 248;--ion-color-primary-contrast: #ffffff;--ion-color-primary-contrast-rgb: 255, 255, 255;--ion-color-primary-shade: #7e40da;--ion-color-primary-tint: #9a5bf9}.ion-color-texti{--ion-color-base: var(--ion-color-texti);--ion-color-base-rgb: var(--ion-color-texti-rgb);--ion-color-contrast: var(--ion-color-texti-contrast);--ion-color-contrast-rgb: var(--ion-color-texti-contrast-rgb);--ion-color-shade: var(--ion-color-texti-shade);--ion-color-tint: var(--ion-color-texti-tint)}.ion-color-darki{--ion-color-base: var(--ion-color-darki);--ion-color-base-rgb: var(--ion-color-darki-rgb);--ion-color-contrast: var(--ion-color-darki-contrast);--ion-color-contrast-rgb: var(--ion-color-darki-contrast-rgb);--ion-color-shade: var(--ion-color-darki-shade);--ion-color-tint: var(--ion-color-darki-tint)}:host{display:inline-block}.qr-code-container{display:inline-flex;flex-direction:column;align-items:center;gap:12px;padding:var(--padding);background:var(--container-bg);border-radius:var(--border-radius);box-shadow:var(--shadow);position:relative;transition:transform .2s ease,box-shadow .2s ease}.qr-code-container.with-border{border:1px solid var(--border-color)}.qr-code-container.loading .qr-image-wrapper{opacity:.5}.qr-code-container.scale-on-hover:hover{transform:scale(1.02)}.qr-code-container.pulse-on-hover:hover{animation:pulse 1.5s infinite}.qr-label{display:flex;align-items:center;gap:6px;color:var(--label-color);font-size:var(--label-size)}.qr-label ion-icon{font-size:1.1em}.qr-label .font-weight--normal{font-weight:400}.qr-label .font-weight--medium{font-weight:500}.qr-label .font-weight--semibold{font-weight:600}.qr-label .font-weight--bold{font-weight:700}.qr-label--top{margin-bottom:4px}.qr-label--bottom{margin-top:4px}.loading-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background-color:#ffffffb3;border-radius:var(--border-radius);z-index:1}.loading-overlay ion-spinner{width:32px;height:32px}.qr-image-wrapper{width:var(--size);height:var(--size);display:flex;align-items:center;justify-content:center;position:relative;transition:opacity .2s}.qr-image{width:100%;height:100%;object-fit:contain;display:block;border-radius:var(--qr-border-radius)}.qr-logo{position:absolute;left:50%;top:50%;width:var(--logo-size);height:var(--logo-size);transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;padding:max(4px,var(--logo-size) * .08);pointer-events:none}.qr-logo img{width:100%;height:100%;object-fit:contain;display:block}.qr-actions{display:flex;align-items:center;justify-content:center;gap:4px}.qr-actions ion-button{--padding-start: 8px;--padding-end: 8px;--color: var(--ion-color-medium)}.qr-actions ion-button:hover{--color: var(--ion-color-primary)}.qr-actions ion-button ion-icon{font-size:1.25rem}.theme--minimal{background:transparent!important;padding:0!important;box-shadow:none!important;border:none!important}.theme--gradient-purple{background:linear-gradient(135deg,#667eea,#764ba2)!important;padding:20px!important;border-radius:16px!important}.theme--gradient-purple .qr-image{border-radius:8px}.theme--gradient-purple .qr-label{color:#fff}.theme--gradient-purple .qr-actions ion-button{--color: rgba(255, 255, 255, .8)}.theme--gradient-purple .qr-actions ion-button:hover{--color: white}.theme--gradient-blue{background:linear-gradient(135deg,#4facfe,#00f2fe)!important;padding:20px!important;border-radius:16px!important}.theme--gradient-blue .qr-image{border-radius:8px}.theme--gradient-blue .qr-label{color:#fff}.theme--gradient-blue .qr-actions ion-button{--color: rgba(255, 255, 255, .8)}.theme--gradient-blue .qr-actions ion-button:hover{--color: white}.theme--gradient-sunset{background:linear-gradient(135deg,#fa709a,#fee140)!important;padding:20px!important;border-radius:16px!important}.theme--gradient-sunset .qr-image{border-radius:8px}.theme--gradient-sunset .qr-label{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.1)}.theme--gradient-sunset .qr-actions ion-button{--color: rgba(255, 255, 255, .9)}.theme--gradient-sunset .qr-actions ion-button:hover{--color: white}.theme--gradient-mint{background:linear-gradient(135deg,#11998e,#38ef7d)!important;padding:20px!important;border-radius:16px!important}.theme--gradient-mint .qr-image{border-radius:8px}.theme--gradient-mint .qr-label{color:#fff}.theme--gradient-mint .qr-actions ion-button{--color: rgba(255, 255, 255, .8)}.theme--gradient-mint .qr-actions ion-button:hover{--color: white}.theme--dark{background:linear-gradient(145deg,#1a1a2e,#16213e)!important;padding:20px!important;border-radius:16px!important;border:1px solid rgba(255,255,255,.1)!important}.theme--dark .qr-image{border-radius:8px;filter:invert(1)}.theme--dark .qr-label{color:#e0e0e0}.theme--dark .qr-actions ion-button{--color: rgba(255, 255, 255, .6)}.theme--dark .qr-actions ion-button:hover{--color: white}.theme--neon{background:#0a0a0a!important;padding:20px!important;border-radius:16px!important;border:2px solid var(--glow-color)!important;box-shadow:0 0 20px var(--glow-color),inset 0 0 20px #8b5cf61a!important}.theme--neon .qr-image{border-radius:8px;filter:drop-shadow(0 0 8px var(--glow-color))}.theme--neon .qr-label{color:var(--glow-color);text-shadow:0 0 10px var(--glow-color)}.theme--neon .qr-actions ion-button{--color: var(--glow-color)}.theme--neon .qr-actions ion-button:hover{--color: white}:host(.compact) .qr-actions{position:absolute;bottom:8px;left:50%;transform:translate(-50%);opacity:0;transition:opacity .2s;background-color:#ffffffe6;border-radius:8px;padding:4px}:host(.compact) .qr-code-container:hover .qr-actions{opacity:1}:host(.card) .qr-code-container{background-color:var(--ion-background-color, white);box-shadow:0 2px 8px #0000001a;padding:16px;border-radius:12px}@keyframes pulse{0%{box-shadow:var(--shadow),0 0 #6366f166}70%{box-shadow:var(--shadow),0 0 0 10px #6366f100}to{box-shadow:var(--shadow),0 0 #6366f100}}:host-context(body.dark) .loading-overlay,:host-context(.dark) .loading-overlay,:host-context(.ion-palette-dark) .loading-overlay,:host-context(html.ion-palette-dark) .loading-overlay,:host-context([data-theme=dark]) .loading-overlay{background-color:#000000b3}:host-context(body.dark).compact .qr-actions,:host-context(.dark).compact .qr-actions,:host-context(.ion-palette-dark).compact .qr-actions,:host-context(html.ion-palette-dark).compact .qr-actions,:host-context([data-theme=dark]).compact .qr-actions{background-color:#000000e6}:host-context(body.dark) .theme--default .qr-image,:host-context(.dark) .theme--default .qr-image,:host-context(.ion-palette-dark) .theme--default .qr-image,:host-context(html.ion-palette-dark) .theme--default .qr-image,:host-context([data-theme=dark]) .theme--default .qr-image{filter:invert(1)}\n"] }]
|
|
14079
14102
|
}], propDecorators: { props: [{
|
|
14080
14103
|
type: Input
|
|
14081
14104
|
}], actionComplete: [{
|
|
@@ -61704,7 +61727,7 @@ const BOT_STYLES = {
|
|
|
61704
61727
|
storm: { advancement: 1.18, capture: 1.38, safety: 0.98, power: 1.62, center: 1.08, unlock: 1.18, reply: 1.22, randomness: 18, spread: 0.13, mobility: 1.36, trap: 1.28, endgame: 1.02 },
|
|
61705
61728
|
matriarch: { advancement: 0.96, capture: 1.18, safety: 1.64, power: 1.18, center: 1.22, unlock: 1.08, reply: 1.66, randomness: 10, spread: 0.08, mobility: 1.02, trap: 1.36, endgame: 1 },
|
|
61706
61729
|
endgame: { advancement: 1.46, capture: 1, safety: 1.28, power: 1.04, center: 0.94, unlock: 1.08, reply: 1.44, randomness: 10, spread: 0.09, mobility: 0.98, trap: 1.02, endgame: 1.86 },
|
|
61707
|
-
magnus: { advancement: 1.
|
|
61730
|
+
magnus: { advancement: 1.04, capture: 1.22, safety: 1.9, power: 0.9, center: 1.42, unlock: 1.08, reply: 2.08, randomness: 3, spread: 0.04, mobility: 1.08, trap: 1.42, endgame: 1.86 },
|
|
61708
61731
|
};
|
|
61709
61732
|
const DEFAULT_BOT_PROFILE_BY_DIFFICULTY = {
|
|
61710
61733
|
easy: 'explorer',
|
|
@@ -61795,7 +61818,7 @@ function chooseChessimalsBotMove(state, difficulty = 'normal', profileId = DEFAU
|
|
|
61795
61818
|
const quickScored = moves
|
|
61796
61819
|
.map((move) => ({ move, score: scoreBotMove(state, move, difficulty, style, challengePressure, false, options.nightmareMode) }))
|
|
61797
61820
|
.sort((a, b) => b.score - a.score);
|
|
61798
|
-
const lookaheadLimit = difficulty === 'hard' ? 32 : difficulty === 'normal' ? 24 : 0;
|
|
61821
|
+
const lookaheadLimit = options.nightmareMode === 'magnus' ? 48 : difficulty === 'hard' ? 32 : difficulty === 'normal' ? 24 : 0;
|
|
61799
61822
|
const scored = quickScored
|
|
61800
61823
|
.map((item, index) => ({
|
|
61801
61824
|
move: item.move,
|
|
@@ -62110,6 +62133,9 @@ function scoreBotMove(state, move, difficulty, style, challengePressure = 0, inc
|
|
|
62110
62133
|
if (move.kind === 'power') {
|
|
62111
62134
|
score += (targetPiece ? 120 : difficulty === 'hard' ? -60 - 170 * challengePressure : -30) * style.power;
|
|
62112
62135
|
}
|
|
62136
|
+
if (nightmareMode === 'magnus' && move.kind === 'power') {
|
|
62137
|
+
score += scoreMagnusPowerPatience(state, move, targetPiece, style);
|
|
62138
|
+
}
|
|
62113
62139
|
if (move.animal === 'lion')
|
|
62114
62140
|
score += nightmareMode === 'pride' ? 260 * style.power : -20 * style.power;
|
|
62115
62141
|
if (move.animal === 'kangaroo')
|
|
@@ -62196,16 +62222,16 @@ function tuneBotStyle(style, difficulty, challengePressure, nightmareMode = 'non
|
|
|
62196
62222
|
if (nightmareMode === 'magnus') {
|
|
62197
62223
|
style = {
|
|
62198
62224
|
...style,
|
|
62199
|
-
advancement: style.advancement * 1.
|
|
62200
|
-
capture: style.capture * 1.
|
|
62201
|
-
safety: style.safety * 1.
|
|
62202
|
-
power: style.power *
|
|
62203
|
-
center: style.center * 1.
|
|
62204
|
-
reply: style.reply * 1.
|
|
62205
|
-
randomness: Math.min(style.randomness,
|
|
62206
|
-
spread: style.spread * 0.
|
|
62207
|
-
trap: style.trap * 1.
|
|
62208
|
-
endgame: style.endgame * 1.
|
|
62225
|
+
advancement: style.advancement * 1.04,
|
|
62226
|
+
capture: style.capture * 1.16,
|
|
62227
|
+
safety: style.safety * 1.38,
|
|
62228
|
+
power: style.power * 0.82,
|
|
62229
|
+
center: style.center * 1.2,
|
|
62230
|
+
reply: style.reply * 1.3,
|
|
62231
|
+
randomness: Math.min(style.randomness, 2),
|
|
62232
|
+
spread: style.spread * 0.6,
|
|
62233
|
+
trap: style.trap * 1.22,
|
|
62234
|
+
endgame: style.endgame * 1.28,
|
|
62209
62235
|
};
|
|
62210
62236
|
}
|
|
62211
62237
|
if (!challengePressure)
|
|
@@ -62242,6 +62268,22 @@ function chooseNightmareCapture(scored, nightmareMode) {
|
|
|
62242
62268
|
return undefined;
|
|
62243
62269
|
return best.score - capture.score <= 1800 ? capture.move : undefined;
|
|
62244
62270
|
}
|
|
62271
|
+
function scoreMagnusPowerPatience(state, move, targetPiece, style) {
|
|
62272
|
+
const color = state.currentTurn;
|
|
62273
|
+
const fromAdvancement = color === 'white' ? state.boardSize - 1 - move.from.row : move.from.row;
|
|
62274
|
+
const toAdvancement = color === 'white' ? state.boardSize - 1 - move.to.row : move.to.row;
|
|
62275
|
+
const advancementGain = Math.max(0, toAdvancement - fromAdvancement);
|
|
62276
|
+
const stepsToPromotion = color === 'white' ? move.to.row : state.boardSize - 1 - move.to.row;
|
|
62277
|
+
const createsPromotionThreat = advancementGain > 0 && stepsToPromotion <= 1;
|
|
62278
|
+
if (targetPiece)
|
|
62279
|
+
return 260 * style.power;
|
|
62280
|
+
if (createsPromotionThreat)
|
|
62281
|
+
return 180 * style.endgame;
|
|
62282
|
+
const earlyGame = state.moveCount < state.boardSize;
|
|
62283
|
+
const wanderingPenalty = earlyGame ? 1180 : 620;
|
|
62284
|
+
const animalPenalty = move.animal === 'kangaroo' ? 220 : move.animal === 'lion' ? 160 : 0;
|
|
62285
|
+
return -(wanderingPenalty + animalPenalty) * style.power;
|
|
62286
|
+
}
|
|
62245
62287
|
function countPowerReachAfterMove(state, move, color) {
|
|
62246
62288
|
try {
|
|
62247
62289
|
const afterMove = applyChessimalsMove(state, move);
|
|
@@ -63236,40 +63278,41 @@ class ChessimalsChallengeProgressService {
|
|
|
63236
63278
|
return this.firebaseAuth.currentUser?.uid;
|
|
63237
63279
|
}
|
|
63238
63280
|
watchStats() {
|
|
63239
|
-
|
|
63240
|
-
if (!uid)
|
|
63241
|
-
return of(undefined);
|
|
63242
|
-
return new Observable((subscriber) => {
|
|
63281
|
+
return this.watchWhenFirebaseAuthReady(undefined, (uid) => new Observable((subscriber) => {
|
|
63243
63282
|
const unsubscribe = onSnapshot(this.statsRef(uid), (snapshot) => subscriber.next(snapshot.exists() ? this.normalizeStats(snapshot.data()) : undefined), (error) => subscriber.error(error));
|
|
63244
63283
|
return unsubscribe;
|
|
63245
|
-
});
|
|
63284
|
+
}));
|
|
63246
63285
|
}
|
|
63247
63286
|
watchRecentRuns(limitCount = 4) {
|
|
63248
|
-
|
|
63249
|
-
|
|
63250
|
-
return
|
|
63251
|
-
|
|
63252
|
-
|
|
63253
|
-
|
|
63254
|
-
return unsubscribe;
|
|
63287
|
+
return this.watchWhenFirebaseAuthReady([], (uid) => {
|
|
63288
|
+
const runsQuery = query$1(collection(this.firestore, this.runsPath(uid)), orderBy('updatedAt', 'desc'), limit(limitCount));
|
|
63289
|
+
return new Observable((subscriber) => {
|
|
63290
|
+
const unsubscribe = onSnapshot(runsQuery, (snapshot) => subscriber.next(snapshot.docs.map((item) => this.normalizeRun(item.data()))), (error) => subscriber.error(error));
|
|
63291
|
+
return unsubscribe;
|
|
63292
|
+
});
|
|
63255
63293
|
});
|
|
63256
63294
|
}
|
|
63257
63295
|
watchActiveRun() {
|
|
63258
|
-
|
|
63259
|
-
|
|
63260
|
-
return
|
|
63261
|
-
|
|
63262
|
-
|
|
63263
|
-
|
|
63264
|
-
|
|
63265
|
-
|
|
63266
|
-
|
|
63267
|
-
this.
|
|
63268
|
-
|
|
63269
|
-
}
|
|
63270
|
-
return unsubscribe;
|
|
63296
|
+
return this.watchWhenFirebaseAuthReady(undefined, (uid) => {
|
|
63297
|
+
const activeQuery = query$1(collection(this.firestore, this.runsPath(uid)), orderBy('updatedAt', 'desc'), limit(ACTIVE_RUN_QUERY_LIMIT));
|
|
63298
|
+
return new Observable((subscriber) => {
|
|
63299
|
+
subscriber.next(this.readLocalActiveRun(uid));
|
|
63300
|
+
const unsubscribe = onSnapshot(activeQuery, (snapshot) => {
|
|
63301
|
+
const remoteRun = chooseActiveChessimalsChallengeRun(snapshot.docs.map((item) => item.data()), uid);
|
|
63302
|
+
const next = this.newestActiveRun(this.readLocalActiveRun(uid), remoteRun);
|
|
63303
|
+
this.writeLocalActiveRun(uid, next);
|
|
63304
|
+
subscriber.next(next);
|
|
63305
|
+
}, () => subscriber.next(this.readLocalActiveRun(uid)));
|
|
63306
|
+
return unsubscribe;
|
|
63307
|
+
});
|
|
63271
63308
|
});
|
|
63272
63309
|
}
|
|
63310
|
+
watchWhenFirebaseAuthReady(fallback, createWatcher) {
|
|
63311
|
+
return from(this.firebase.whenFirebaseAuthReady()).pipe(switchMap$1(() => {
|
|
63312
|
+
const uid = this.currentUid;
|
|
63313
|
+
return uid ? createWatcher(uid) : of(fallback);
|
|
63314
|
+
}));
|
|
63315
|
+
}
|
|
63273
63316
|
async saveRun(run) {
|
|
63274
63317
|
const uid = await this.ensureUser();
|
|
63275
63318
|
const normalizedRun = this.normalizeRun(run, uid);
|
|
@@ -63971,12 +64014,12 @@ const MINI_GAMES_I18N = {
|
|
|
63971
64014
|
chessimalsNightmareMode: 'Modo pesadilla',
|
|
63972
64015
|
chessimalsNightmareNone: 'Sin pesadilla',
|
|
63973
64016
|
chessimalsNightmareNoneBody: 'Partida normal contra el bot elegido.',
|
|
63974
|
-
chessimalsNightmareHunt: 'Cacería',
|
|
63975
|
-
chessimalsNightmareHuntBody: 'El
|
|
63976
|
-
chessimalsNightmarePride: 'Manada',
|
|
63977
|
-
chessimalsNightmarePrideBody: 'El
|
|
63978
|
-
chessimalsNightmareMagnus: '
|
|
63979
|
-
chessimalsNightmareMagnusBody: 'El
|
|
64017
|
+
chessimalsNightmareHunt: 'Cacería Sombría',
|
|
64018
|
+
chessimalsNightmareHuntBody: 'El rival persigue capturas y presiona con poderes desde temprano.',
|
|
64019
|
+
chessimalsNightmarePride: 'Manada Real',
|
|
64020
|
+
chessimalsNightmarePrideBody: 'El rival tiene 4 leones y ningún otro poder.',
|
|
64021
|
+
chessimalsNightmareMagnus: 'El Poderoso Mandril',
|
|
64022
|
+
chessimalsNightmareMagnusBody: 'El rival guarda sus poderes para castigarte. Tú solo puedes usar león una vez.',
|
|
63980
64023
|
chessimalsBotExplorer: 'Explorador',
|
|
63981
64024
|
chessimalsBotExplorerBody: 'Varía rutas y comete errores suaves.',
|
|
63982
64025
|
chessimalsBotImpulsive: 'Impulsivo',
|
|
@@ -64009,8 +64052,8 @@ const MINI_GAMES_I18N = {
|
|
|
64009
64052
|
chessimalsBotMatriarchBody: 'Protege su estructura y gana por desgaste.',
|
|
64010
64053
|
chessimalsBotEndgame: 'Finalista',
|
|
64011
64054
|
chessimalsBotEndgameBody: 'Convierte ventajas pequeñas en promoción.',
|
|
64012
|
-
chessimalsBotMagnus: '
|
|
64013
|
-
chessimalsBotMagnusBody: 'Juega
|
|
64055
|
+
chessimalsBotMagnus: 'Poderoso Mandril',
|
|
64056
|
+
chessimalsBotMagnusBody: 'Juega paciente, guarda poderes y te deja solo una carta de león.',
|
|
64014
64057
|
chessimalsBotExplorerTendency: 'Tiende a variar rutas, probar el centro y cometer errores suaves.',
|
|
64015
64058
|
chessimalsBotImpulsiveTendency: 'Tiende a capturar rápido, incluso cuando puede quedar expuesto.',
|
|
64016
64059
|
chessimalsBotRunnerTendency: 'Tiende a avanzar hacia la promoción antes que defender.',
|
|
@@ -64027,7 +64070,7 @@ const MINI_GAMES_I18N = {
|
|
|
64027
64070
|
chessimalsBotStormTendency: 'Tiende a convertir poderes largos en presión desde varios ángulos.',
|
|
64028
64071
|
chessimalsBotMatriarchTendency: 'Tiende a conservar piezas y cambiar solo cuando queda mejor.',
|
|
64029
64072
|
chessimalsBotEndgameTendency: 'Tiende a simplificar y correr hacia la promoción cuando ve ventaja.',
|
|
64030
|
-
chessimalsBotMagnusTendency: 'Tiende a jugar seguro, responder tus amenazas y guardar sus poderes para
|
|
64073
|
+
chessimalsBotMagnusTendency: 'Tiende a jugar seguro, responder tus amenazas y guardar sus poderes para castigar errores.',
|
|
64031
64074
|
chessimalsBotReportTitle: 'Reporte del bot',
|
|
64032
64075
|
chessimalsBotReportVs: 'Contra {bot}',
|
|
64033
64076
|
chessimalsBotReportBody: '{outcome}. Hizo {captures} capturas y usó {powers} poderes. {style}',
|
|
@@ -64765,12 +64808,12 @@ const MINI_GAMES_I18N = {
|
|
|
64765
64808
|
chessimalsNightmareMode: 'Nightmare mode',
|
|
64766
64809
|
chessimalsNightmareNone: 'No nightmare',
|
|
64767
64810
|
chessimalsNightmareNoneBody: 'A normal match against the selected bot.',
|
|
64768
|
-
chessimalsNightmareHunt: 'Hunt',
|
|
64769
|
-
chessimalsNightmareHuntBody: 'The
|
|
64770
|
-
chessimalsNightmarePride: 'Pride',
|
|
64771
|
-
chessimalsNightmarePrideBody: 'The
|
|
64772
|
-
chessimalsNightmareMagnus: '
|
|
64773
|
-
chessimalsNightmareMagnusBody: 'The
|
|
64811
|
+
chessimalsNightmareHunt: 'Shadow Hunt',
|
|
64812
|
+
chessimalsNightmareHuntBody: 'The rival chases captures and pressures with powers early.',
|
|
64813
|
+
chessimalsNightmarePride: 'Royal Pride',
|
|
64814
|
+
chessimalsNightmarePrideBody: 'The rival has 4 lion uses and no other powers.',
|
|
64815
|
+
chessimalsNightmareMagnus: 'The Mighty Mandrill',
|
|
64816
|
+
chessimalsNightmareMagnusBody: 'The rival saves powers to punish you. You can only use lion once.',
|
|
64774
64817
|
chessimalsBotExplorer: 'Explorer',
|
|
64775
64818
|
chessimalsBotExplorerBody: 'Varies routes and makes soft mistakes.',
|
|
64776
64819
|
chessimalsBotImpulsive: 'Impulsive',
|
|
@@ -64803,8 +64846,8 @@ const MINI_GAMES_I18N = {
|
|
|
64803
64846
|
chessimalsBotMatriarchBody: 'Protects structure and wins by attrition.',
|
|
64804
64847
|
chessimalsBotEndgame: 'Endgame',
|
|
64805
64848
|
chessimalsBotEndgameBody: 'Turns small edges into promotion.',
|
|
64806
|
-
chessimalsBotMagnus: '
|
|
64807
|
-
chessimalsBotMagnusBody: 'Plays
|
|
64849
|
+
chessimalsBotMagnus: 'Mighty Mandrill',
|
|
64850
|
+
chessimalsBotMagnusBody: 'Plays patiently, saves powers, and leaves you with only one lion card.',
|
|
64808
64851
|
chessimalsBotExplorerTendency: 'Tends to vary routes, test the center, and make soft mistakes.',
|
|
64809
64852
|
chessimalsBotImpulsiveTendency: 'Tends to capture quickly, even when it can become exposed.',
|
|
64810
64853
|
chessimalsBotRunnerTendency: 'Tends to push toward promotion before defending.',
|
|
@@ -64821,7 +64864,7 @@ const MINI_GAMES_I18N = {
|
|
|
64821
64864
|
chessimalsBotStormTendency: 'Tends to turn long powers into pressure from several angles.',
|
|
64822
64865
|
chessimalsBotMatriarchTendency: 'Tends to preserve pieces and trade only when it improves.',
|
|
64823
64866
|
chessimalsBotEndgameTendency: 'Tends to simplify and race toward promotion when ahead.',
|
|
64824
|
-
chessimalsBotMagnusTendency: 'Tends to play safely, answer your threats, and save powers
|
|
64867
|
+
chessimalsBotMagnusTendency: 'Tends to play safely, answer your threats, and save powers to punish mistakes.',
|
|
64825
64868
|
chessimalsBotReportTitle: 'Bot report',
|
|
64826
64869
|
chessimalsBotReportVs: 'Against {bot}',
|
|
64827
64870
|
chessimalsBotReportBody: '{outcome}. It made {captures} captures and used {powers} powers. {style}',
|
|
@@ -66592,13 +66635,78 @@ class ChessimalsGameComponent {
|
|
|
66592
66635
|
const difficulty = this.selectedBotDifficulty();
|
|
66593
66636
|
if (difficulty === 'nightmare')
|
|
66594
66637
|
return [];
|
|
66595
|
-
return this.botProfiles.filter((profile) => profile.difficulty === difficulty);
|
|
66638
|
+
return this.botProfiles.filter((profile) => profile.difficulty === difficulty && profile.id !== 'magnus');
|
|
66596
66639
|
});
|
|
66597
66640
|
this.selectedBotProfile = computed(() => this.botProfiles.find((profile) => profile.id === this.selectedBotProfileId()));
|
|
66598
66641
|
this.gameBotProfile = computed(() => {
|
|
66599
66642
|
const profileId = this.gameBotProfileId();
|
|
66600
66643
|
return profileId ? this.botProfiles.find((profile) => profile.id === profileId) : undefined;
|
|
66601
66644
|
});
|
|
66645
|
+
this.botOpponentProfile = computed(() => {
|
|
66646
|
+
const game = this.game();
|
|
66647
|
+
if (game.mode !== 'local' || this.selectedLocalMode() !== 'bot')
|
|
66648
|
+
return undefined;
|
|
66649
|
+
const challengeBot = this.isChallengeActive() ? this.activeChallengeBot() : undefined;
|
|
66650
|
+
if (challengeBot)
|
|
66651
|
+
return this.challengeBotProfile(challengeBot);
|
|
66652
|
+
return this.gameBotProfile() ?? this.selectedBotProfile();
|
|
66653
|
+
});
|
|
66654
|
+
this.botOpponentEyebrow = computed(() => {
|
|
66655
|
+
const challengeBot = this.isChallengeActive() ? this.activeChallengeBot() : undefined;
|
|
66656
|
+
if (challengeBot)
|
|
66657
|
+
return this.challengeBotDifficultyLabel(challengeBot);
|
|
66658
|
+
return this.botDifficultyLabel(this.selectedBotDifficulty());
|
|
66659
|
+
});
|
|
66660
|
+
this.botOpponentTitle = computed(() => {
|
|
66661
|
+
const profile = this.botOpponentProfile();
|
|
66662
|
+
const botName = profile ? this.botProfileLabel(profile) : this.t('chessimalsBotName');
|
|
66663
|
+
return this.t('chessimalsBotReportVs').replace('{bot}', botName);
|
|
66664
|
+
});
|
|
66665
|
+
this.botOpponentDescription = computed(() => {
|
|
66666
|
+
const challengeBot = this.isChallengeActive() ? this.activeChallengeBot() : undefined;
|
|
66667
|
+
if (challengeBot)
|
|
66668
|
+
return this.challengeBotStyleLine(challengeBot);
|
|
66669
|
+
const profile = this.botOpponentProfile();
|
|
66670
|
+
return profile ? this.botProfileDescription(profile) : '';
|
|
66671
|
+
});
|
|
66672
|
+
this.botOpponentCard = computed(() => {
|
|
66673
|
+
const game = this.game();
|
|
66674
|
+
if (game.mode !== 'local' || this.selectedLocalMode() !== 'bot')
|
|
66675
|
+
return undefined;
|
|
66676
|
+
const challengeBot = this.isChallengeActive() ? this.activeChallengeBot() : undefined;
|
|
66677
|
+
if (challengeBot) {
|
|
66678
|
+
const profile = this.challengeBotProfile(challengeBot);
|
|
66679
|
+
const botName = profile ? this.botProfileLabel(profile) : this.t('chessimalsBotName');
|
|
66680
|
+
return {
|
|
66681
|
+
avatar: profile?.avatar ?? '♟',
|
|
66682
|
+
avatarSrc: profile?.avatarSrc ?? '',
|
|
66683
|
+
eyebrow: this.challengeBotDifficultyLabel(challengeBot),
|
|
66684
|
+
title: this.t('chessimalsBotReportVs').replace('{bot}', botName),
|
|
66685
|
+
description: this.challengeBotStyleLine(challengeBot),
|
|
66686
|
+
};
|
|
66687
|
+
}
|
|
66688
|
+
const nightmareMode = this.activeNightmareMode();
|
|
66689
|
+
if (nightmareMode !== 'none') {
|
|
66690
|
+
const botName = this.nightmareModeLabel(nightmareMode);
|
|
66691
|
+
return {
|
|
66692
|
+
avatar: this.nightmareModeGlyph(nightmareMode),
|
|
66693
|
+
avatarSrc: this.nightmareModeAssetSrc(nightmareMode),
|
|
66694
|
+
eyebrow: this.botDifficultyLabel('nightmare'),
|
|
66695
|
+
title: this.t('chessimalsBotReportVs').replace('{bot}', botName),
|
|
66696
|
+
description: this.nightmareModeDescription(nightmareMode),
|
|
66697
|
+
};
|
|
66698
|
+
}
|
|
66699
|
+
const profile = this.botOpponentProfile();
|
|
66700
|
+
if (!profile)
|
|
66701
|
+
return undefined;
|
|
66702
|
+
return {
|
|
66703
|
+
avatar: profile.avatar,
|
|
66704
|
+
avatarSrc: profile.avatarSrc ?? '',
|
|
66705
|
+
eyebrow: this.botDifficultyLabel(this.selectedBotDifficulty()),
|
|
66706
|
+
title: this.t('chessimalsBotReportVs').replace('{bot}', this.botProfileLabel(profile)),
|
|
66707
|
+
description: this.botProfileDescription(profile),
|
|
66708
|
+
};
|
|
66709
|
+
});
|
|
66602
66710
|
this.activeChallengeBot = computed(() => {
|
|
66603
66711
|
const run = this.challengeRun();
|
|
66604
66712
|
if (!run)
|
|
@@ -70211,25 +70319,44 @@ class ChessimalsGameComponent {
|
|
|
70211
70319
|
<p>{{ turnStateBody() }}</p>
|
|
70212
70320
|
</div>
|
|
70213
70321
|
|
|
70214
|
-
<div class="chessimals-
|
|
70215
|
-
|
|
70216
|
-
|
|
70217
|
-
|
|
70218
|
-
|
|
70219
|
-
|
|
70220
|
-
|
|
70221
|
-
|
|
70222
|
-
|
|
70223
|
-
<div class="chessimals-player-strip__text">
|
|
70224
|
-
<span>{{ turnPlayerEyebrow() }}</span>
|
|
70225
|
-
<strong>{{ turnPlayerName() }}</strong>
|
|
70226
|
-
@if (turnPlayerHandle()) {
|
|
70227
|
-
<small>{{ turnPlayerHandle() }}</small>
|
|
70322
|
+
<div class="chessimals-turn-card__meta">
|
|
70323
|
+
<div class="chessimals-player-strip">
|
|
70324
|
+
@if (shouldUseTurnPlayerAvatar()) {
|
|
70325
|
+
<val-user-avatar [props]="turnPlayerAvatarProps()" />
|
|
70326
|
+
} @else {
|
|
70327
|
+
<span class="chessimals-player-strip__avatar" aria-hidden="true">
|
|
70328
|
+
{{ turnPlayerFallbackAvatar() }}
|
|
70329
|
+
</span>
|
|
70228
70330
|
}
|
|
70331
|
+
|
|
70332
|
+
<div class="chessimals-player-strip__text">
|
|
70333
|
+
<span>{{ turnPlayerEyebrow() }}</span>
|
|
70334
|
+
<strong>{{ turnPlayerName() }}</strong>
|
|
70335
|
+
@if (turnPlayerHandle()) {
|
|
70336
|
+
<small>{{ turnPlayerHandle() }}</small>
|
|
70337
|
+
}
|
|
70338
|
+
</div>
|
|
70229
70339
|
</div>
|
|
70230
70340
|
</div>
|
|
70231
70341
|
</article>
|
|
70232
70342
|
|
|
70343
|
+
@if (botOpponentCard(); as botProfile) {
|
|
70344
|
+
<article class="chessimals-challenge-rival chessimals-bot-rival">
|
|
70345
|
+
<span class="chessimals-bot-avatar" aria-hidden="true">
|
|
70346
|
+
@if (botProfile.avatarSrc) {
|
|
70347
|
+
<img [src]="botProfile.avatarSrc" alt="" draggable="false" />
|
|
70348
|
+
} @else {
|
|
70349
|
+
{{ botProfile.avatar }}
|
|
70350
|
+
}
|
|
70351
|
+
</span>
|
|
70352
|
+
<div>
|
|
70353
|
+
<small>{{ botProfile.eyebrow }}</small>
|
|
70354
|
+
<strong>{{ botProfile.title }}</strong>
|
|
70355
|
+
<p>{{ botProfile.description }}</p>
|
|
70356
|
+
</div>
|
|
70357
|
+
</article>
|
|
70358
|
+
}
|
|
70359
|
+
|
|
70233
70360
|
@if (game().mode === 'online' && game().status === 'waiting') {
|
|
70234
70361
|
<article class="chessimals-online chessimals-online--waiting">
|
|
70235
70362
|
<div>
|
|
@@ -71144,7 +71271,7 @@ class ChessimalsGameComponent {
|
|
|
71144
71271
|
/>
|
|
71145
71272
|
</ng-template>
|
|
71146
71273
|
</ion-modal>
|
|
71147
|
-
`, isInline: true, styles: [":host{--chessimals-panel: #ffffff;--chessimals-surface: #fffaf1;--chessimals-elevated: rgba(255, 255, 255, .72);--chessimals-elevated-soft: rgba(255, 255, 255, .46);--chessimals-elevated-strong: rgba(255, 255, 255, .86);--chessimals-glass-highlight: rgba(255, 255, 255, .58);--chessimals-border: rgba(46, 58, 44, .18);--chessimals-text: #2e3a2c;--chessimals-muted: #51643d;--chessimals-soft: rgba(111, 122, 60, .1);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--chessimals-sky: #c06a3d;--chessimals-sky-rgb: 192, 106, 61;--chessimals-stone: #8e9362;--chessimals-stone-rgb: 142, 147, 98;--chessimals-selected: #37f28a;--chessimals-selected-rgb: 55, 242, 138;--chessimals-magic: #f7d45a;--chessimals-magic-rgb: 247, 212, 90;--chessimals-magic-hot: #fff56f;--chessimals-magic-deep: #b77a18;display:block;font-size:var(--val-mini-games-font-size, 1rem)}:host-context(body.font-small){--val-mini-games-font-size: .875rem}:host-context(body.font-large){--val-mini-games-font-size: 1.1875rem}.chessimals-shell{--chessimals-panel: #ffffff;--chessimals-surface: #fffaf1;--chessimals-elevated: rgba(255, 255, 255, .72);--chessimals-elevated-soft: rgba(255, 255, 255, .46);--chessimals-elevated-strong: rgba(255, 255, 255, .86);--chessimals-glass-highlight: rgba(255, 255, 255, .58);--chessimals-border: rgba(46, 58, 44, .18);--chessimals-text: #2e3a2c;--chessimals-muted: #51643d;--chessimals-soft: rgba(111, 122, 60, .1);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--chessimals-sky: #c06a3d;--chessimals-sky-rgb: 192, 106, 61;--chessimals-stone: #8e9362;--chessimals-stone-rgb: 142, 147, 98;--chessimals-selected: #37f28a;--chessimals-selected-rgb: 55, 242, 138;--chessimals-magic: #f7d45a;--chessimals-magic-rgb: 247, 212, 90;--chessimals-magic-hot: #fff56f;--chessimals-magic-deep: #b77a18;--chessimals-warning: #f4c542;--chessimals-warning-rgb: 244, 197, 66;--chessimals-move: var(--chessimals-sky);--chessimals-move-rgb: var(--chessimals-sky-rgb);--chessimals-capture: #1fcdb3;--chessimals-capture-rgb: 31, 205, 179;--chessimals-last: #8c6b4f;--chessimals-last-rgb: 140, 107, 79;--chessimals-cell-light: #f3f4e8;--chessimals-cell-dark: #7f944d;--chessimals-board-shadow: rgba(46, 58, 44, .14);--chessimals-piece-white-fill: #ffffff;--chessimals-piece-white-side: #f3eadb;--chessimals-piece-white-line: rgba(82, 65, 46, .12);--chessimals-piece-white-shadow: drop-shadow(0 0 1px rgba(84, 62, 34, .52)) drop-shadow(0 .18rem .12rem rgba(72, 58, 36, .22)) drop-shadow(0 .34rem .42rem rgba(72, 58, 36, .22));--chessimals-piece-black-fill: #242936;--chessimals-piece-black-side: #171b25;--chessimals-piece-black-line: rgba(255, 255, 255, .1);--chessimals-piece-black-shadow: drop-shadow(0 0 1px rgba(255, 255, 255, .34)) drop-shadow(0 .18rem .1rem rgba(255, 255, 255, .12)) drop-shadow(0 .32rem .42rem rgba(0, 0, 0, .36));--chessimals-piece-gold: #c79a42;--chessimals-piece-gold-dark: #8a5f22;--chessimals-animal-face-bg: #fffdf7;--chessimals-animal-face-inner-bg: #ffffff;--chessimals-animal-face-border: rgba(46, 58, 44, .12);--chessimals-animal-face-filter: drop-shadow(0 .12rem .16rem rgba(46, 58, 44, .18));--chessimals-animal-face-locked-filter: grayscale(.2) saturate(.72);--chessimals-animal-face-locked-img-opacity: .72;display:grid;gap:1.125rem;width:100%;max-width:min(100%,60rem);margin:0 auto;color:var(--chessimals-text)}@media (prefers-color-scheme: dark){.chessimals-shell{--chessimals-panel: #172116;--chessimals-surface: #0f170f;--chessimals-elevated: rgba(255, 255, 255, .08);--chessimals-elevated-soft: rgba(255, 255, 255, .05);--chessimals-elevated-strong: rgba(255, 255, 255, .12);--chessimals-glass-highlight: rgba(255, 255, 255, .08);--chessimals-border: rgba(242, 230, 213, .2);--chessimals-text: #f6f3e9;--chessimals-muted: #c8cfb1;--chessimals-soft: rgba(111, 122, 60, .22);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--chessimals-sky: #c06a3d;--chessimals-sky-rgb: 192, 106, 61;--chessimals-stone: #8e9362;--chessimals-stone-rgb: 142, 147, 98;--chessimals-cell-light: #f3f4e8;--chessimals-cell-dark: #7f944d;--chessimals-board-shadow: rgba(0, 0, 0, .34);--chessimals-animal-face-border: rgba(242, 230, 213, .24)}}.chessimals-resume-splash{order:0;position:fixed;inset:0;z-index:1000;display:grid;place-items:center;align-content:center;gap:.65rem;padding:1.5rem;text-align:center;color:var(--chessimals-text);background:radial-gradient(circle at 50% 42%,rgba(var(--chessimals-primary-rgb),.18),transparent 22rem),color-mix(in srgb,var(--chessimals-panel) 92%,transparent);backdrop-filter:blur(.9rem)}.chessimals-resume-splash__logo{display:block;width:clamp(5.8rem,20vw,7.2rem);height:auto;animation:chessimals-resume-pulse 1.2s ease-in-out infinite;filter:drop-shadow(0 .8rem 1.2rem rgba(var(--ion-color-dark-rgb, 47, 42, 58),.18))}.chessimals-resume-splash strong{font-size:clamp(1.55rem,5vw,2.4rem);font-weight:950;line-height:1.05}.chessimals-resume-splash p{max-width:24rem;margin:0;color:var(--chessimals-muted);font-size:1rem;line-height:1.35}@keyframes chessimals-resume-pulse{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-.25rem) scale(1.04)}}@keyframes chessimals-spin{to{transform:rotate(360deg)}}@keyframes chessimals-online-pulse{0%,to{transform:scale(1);opacity:.78}50%{transform:scale(1.22);opacity:1}}:host-context(html.ion-palette-dark) .chessimals-shell,:host-context([data-theme=\"dark\"]) .chessimals-shell{--chessimals-panel: #172116;--chessimals-surface: #0f170f;--chessimals-elevated: rgba(255, 255, 255, .08);--chessimals-elevated-soft: rgba(255, 255, 255, .05);--chessimals-elevated-strong: rgba(255, 255, 255, .12);--chessimals-glass-highlight: rgba(255, 255, 255, .08);--chessimals-border: rgba(246, 227, 213, .22);--chessimals-text: #f6f3e9;--chessimals-muted: #c8cfb1;--chessimals-soft: rgba(111, 122, 60, .22);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--chessimals-sky: #c06a3d;--chessimals-sky-rgb: 192, 106, 61;--chessimals-stone: #8e9362;--chessimals-stone-rgb: 142, 147, 98;--chessimals-cell-light: #e8eadc;--chessimals-cell-dark: #5f7040;--chessimals-board-shadow: rgba(0, 0, 0, .34);--chessimals-capture: #66f2d7;--chessimals-capture-rgb: 102, 242, 215;--chessimals-last: #cdbe9b;--chessimals-last-rgb: 205, 190, 155;--chessimals-piece-white-fill: #fffaff;--chessimals-piece-white-side: #f0e5d4;--chessimals-piece-white-line: rgba(82, 65, 46, .12);--chessimals-piece-white-shadow: drop-shadow(0 0 1px rgba(84, 62, 34, .48)) drop-shadow(0 .18rem .12rem rgba(0, 0, 0, .24)) drop-shadow(0 .34rem .42rem rgba(0, 0, 0, .3));--chessimals-piece-black-fill: #202633;--chessimals-piece-black-side: #111620;--chessimals-piece-black-line: rgba(255, 255, 255, .12);--chessimals-piece-black-shadow: drop-shadow(0 0 1px rgba(255, 255, 255, .34)) drop-shadow(0 .18rem .1rem rgba(255, 255, 255, .14)) drop-shadow(0 .34rem .44rem rgba(0, 0, 0, .52));--chessimals-animal-face-bg: #fffdf7;--chessimals-animal-face-inner-bg: #ffffff;--chessimals-animal-face-border: rgba(242, 230, 213, .24);--chessimals-animal-face-filter: drop-shadow(0 .12rem .16rem rgba(0, 0, 0, .22));--chessimals-animal-face-locked-filter: grayscale(.32) saturate(.72);--chessimals-animal-face-locked-img-opacity: .58}.chessimals-hero{display:grid;gap:.75rem;justify-items:center;overflow:hidden;border-radius:1.75rem;padding:clamp(1.25rem,5vw,2.5rem);background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.92),transparent 20%),linear-gradient(135deg,#fdf8ee,#fff 40%,#edf3df);color:var(--chessimals-text);text-align:center;border:1px solid var(--chessimals-border)}:host-context(html.ion-palette-dark) .chessimals-hero,:host-context([data-theme=\"dark\"]) .chessimals-hero{background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.08),transparent 22%),linear-gradient(135deg,#111a10,#172116 48%,#0f170f);color:var(--chessimals-text);border-color:#f6e3d538}.chessimals-hero__logo{display:grid;place-items:center;gap:.35rem;width:min(27rem,86vw);max-width:100%}.chessimals-hero__logo img{display:block;height:auto;object-fit:contain;border-radius:0}.chessimals-hero__emblem{width:min(12.25rem,48vw);margin-top:.2rem;transform:translateY(.2rem)}.chessimals-hero__wordmark{width:min(21rem,76vw)}.chessimals-hero p,.chessimals-howto p,.chessimals-tip p,.chessimals-result p,.chessimals-powers p{margin:0;line-height:1.45}.chessimals-powers{display:grid;gap:1rem;border:1px solid var(--chessimals-border);border-radius:1.625rem;padding:clamp(1rem,4vw,1.5rem);background:var(--chessimals-panel)}.chessimals-game{display:grid;gap:.875rem}.chessimals-panel{display:grid;gap:1.125rem}.chessimals-home-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.875rem}.chessimals-home-action{display:grid;justify-items:start;gap:.68rem;min-height:9.6rem;border:1px solid rgba(var(--chessimals-primary-rgb),.22);border-radius:1.25rem;padding:1.15rem 1rem 1.05rem;background:radial-gradient(circle at 18% 10%,rgba(255,255,255,.74),transparent 22%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),rgba(var(--chessimals-secondary-rgb),.08)),var(--chessimals-panel);color:var(--chessimals-text);font:inherit;text-align:left}.chessimals-home-action--play{border-color:rgba(var(--chessimals-primary-rgb),.46);background:radial-gradient(circle at 18% 10%,rgba(255,255,255,.82),transparent 22%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.22),rgba(var(--chessimals-secondary-rgb),.12)),var(--chessimals-panel)}.chessimals-mode-icon{display:block;width:4.45rem;height:4.45rem;border-radius:1rem;object-fit:cover;background:rgba(var(--chessimals-sun-rgb),.16);box-shadow:0 0 0 1px rgba(var(--chessimals-primary-rgb),.14),0 .55rem 1rem rgba(var(--chessimals-shadow-rgb),.12)}.chessimals-home-action strong{font-size:clamp(1.1rem,3vw,1.45rem);font-weight:1000;line-height:1.05}.chessimals-home-action small{color:var(--chessimals-muted);font-size:.88rem;font-weight:900;line-height:1.3}.chessimals-options{border:1px solid var(--chessimals-border);border-radius:1.125rem;padding:.35rem;background:var(--chessimals-panel)}.chessimals-options summary{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:3.25rem;padding:.65rem .8rem;color:var(--chessimals-text);cursor:pointer;list-style:none}.chessimals-options summary::-webkit-details-marker{display:none}.chessimals-options summary:after{content:\"+\";display:grid;place-items:center;flex:0 0 auto;width:1.8rem;height:1.8rem;border-radius:999px;background:var(--chessimals-soft);color:var(--chessimals-primary);font-weight:950}.chessimals-options[open] summary:after{content:\"-\"}.chessimals-options summary strong,.chessimals-options summary span{display:block}.chessimals-options summary strong{font-weight:950}.chessimals-options summary span{color:var(--chessimals-muted);font-size:.84rem;font-weight:800}.chessimals-options>:not(summary){margin:.5rem}.chessimals-play-options{display:grid;gap:1.05rem;color:var(--chessimals-text)}.chessimals-play-options__group{display:grid;gap:.62rem}.chessimals-play-options__group h3{margin:0;color:var(--chessimals-text);font-size:.9rem;font-weight:950;line-height:1.15}.chessimals-play-options .chessimals-size button,.chessimals-play-options .chessimals-mode button,.chessimals-play-options .chessimals-nightmare button,.chessimals-play-options .chessimals-bots button{position:relative;overflow:hidden;min-height:4.75rem;padding:.78rem 2.1rem .78rem .9rem;border:1px solid rgba(var(--chessimals-primary-rgb),.2);border-radius:1.08rem;background:radial-gradient(circle at 16% 8%,rgba(255,255,255,.7),transparent 24%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),rgba(var(--chessimals-secondary-rgb),.05)),var(--chessimals-panel);color:var(--chessimals-text);box-shadow:inset 0 0 0 1px var(--chessimals-glass-highlight)}.chessimals-play-options .chessimals-size button.is-selected,.chessimals-play-options .chessimals-mode button.is-selected,.chessimals-play-options .chessimals-nightmare button.is-selected,.chessimals-play-options .chessimals-bots button.is-selected{border-color:var(--chessimals-primary);background:radial-gradient(circle at 16% 8%,rgba(255,255,255,.78),transparent 25%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.23),rgba(var(--chessimals-secondary-rgb),.13)),var(--chessimals-panel);box-shadow:0 0 0 .16rem rgba(var(--chessimals-primary-rgb),.18),0 .85rem 1.8rem rgba(var(--chessimals-primary-rgb),.16)}.chessimals-option-check{position:absolute;top:.65rem;right:.65rem;width:.72rem;height:.72rem;border:2px solid rgba(var(--chessimals-primary-rgb),.3);border-radius:999px;background:var(--chessimals-panel)}.is-selected>.chessimals-option-check{border-color:var(--chessimals-primary);background:var(--chessimals-primary);box-shadow:0 0 0 .28rem rgba(var(--chessimals-primary-rgb),.13)}.chessimals-play-options .chessimals-nightmare{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.chessimals-play-options .chessimals-nightmare button{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:\"icon title\" \"icon body\";column-gap:.55rem;row-gap:.12rem;align-content:center;text-align:left}.chessimals-play-options .chessimals-nightmare strong{grid-area:title;align-self:end;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chessimals-play-options .chessimals-nightmare small{grid-area:body;color:var(--chessimals-muted);font-size:.72rem;font-weight:800;line-height:1.15}.chessimals-nightmare__icon{grid-area:icon;display:grid;place-items:center;width:2.35rem;height:2.35rem;overflow:hidden;border-radius:.8rem;background:rgba(var(--chessimals-primary-rgb),.12);color:var(--chessimals-primary);font-weight:1000;box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14)}.chessimals-nightmare__icon img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chessimals-play-options .chessimals-nightmare button.is-selected .chessimals-nightmare__icon{background:rgba(var(--chessimals-secondary-rgb),.2);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.24)}.chessimals-play-options .chessimals-difficulty{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.chessimals-play-options .chessimals-difficulty button{border:1px solid rgba(var(--chessimals-primary-rgb),.2);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.06),rgba(var(--chessimals-secondary-rgb),.04)),var(--chessimals-panel);color:var(--chessimals-text);box-shadow:inset 0 0 0 1px var(--chessimals-glass-highlight)}.chessimals-play-options .chessimals-difficulty button.is-selected{border-color:var(--chessimals-primary);background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);box-shadow:0 0 0 .16rem rgba(var(--chessimals-primary-rgb),.18),0 .72rem 1.25rem rgba(var(--chessimals-primary-rgb),.16)}.chessimals-play-options .chessimals-bots button>.chessimals-bot-avatar{width:2.45rem;height:2.45rem;border-radius:.8rem;background:rgba(var(--chessimals-primary-rgb),.12)}.chessimals-play-options .chessimals-bots button.is-selected>.chessimals-bot-avatar{background:rgba(var(--chessimals-secondary-rgb),.2);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.24)}.chessimals-play-modal{--chessimals-panel: var(--chessimals-modal-card, #ffffff);--chessimals-elevated: var(--chessimals-modal-card-strong, rgba(255, 255, 255, .72));--chessimals-elevated-soft: color-mix(in srgb, var(--chessimals-modal-card, #ffffff) 74%, transparent);--chessimals-elevated-strong: var(--chessimals-modal-card-strong, rgba(255, 255, 255, .86));--chessimals-glass-highlight: color-mix(in srgb, var(--chessimals-modal-surface, #ffffff) 58%, transparent);--chessimals-border: var(--chessimals-modal-border, rgba(46, 58, 44, .18));--chessimals-text: var(--chessimals-modal-text, #2e3a2c);--chessimals-muted: var(--chessimals-modal-muted, #51643d);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--background: var(--chessimals-primary);--background-activated: color-mix(in srgb, var(--chessimals-primary) 88%, #000);--background-hover: color-mix(in srgb, var(--chessimals-primary) 92%, #fff);--border-color: var(--chessimals-primary);--border-radius: 999px;--box-shadow: 0 1rem 2rem rgba(var(--chessimals-primary-rgb), .22);--color: var(--chessimals-primary-contrast);--color-activated: var(--chessimals-primary-contrast);--color-hover: var(--chessimals-primary-contrast);--val-modal-footer-gap: .7rem}.chessimals-rules-modal{--chessimals-border: var(--chessimals-modal-border, rgba(46, 58, 44, .18));--chessimals-text: var(--chessimals-modal-text, #2e3a2c);--chessimals-muted: var(--chessimals-modal-muted, #51643d);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--ion-background-color: var(--chessimals-modal-surface, #ffffff);--ion-card-background: var(--chessimals-modal-card, #ffffff);--ion-text-color: var(--chessimals-text);--val-modal-footer-gap: .7rem}.chessimals-confirm-modal{--chessimals-border: var(--chessimals-modal-border, rgba(46, 58, 44, .18));--chessimals-text: var(--chessimals-modal-text, #2e3a2c);--chessimals-muted: var(--chessimals-modal-muted, #51643d);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--ion-background-color: var(--chessimals-modal-surface, #ffffff);--ion-card-background: var(--chessimals-modal-card, #ffffff);--ion-text-color: var(--chessimals-text);--val-modal-footer-gap: .7rem}:host ::ng-deep ion-modal.chessimals-themed-modal{--chessimals-modal-surface: #ffffff;--chessimals-modal-card: #ffffff;--chessimals-modal-card-strong: #f8fbf5;--chessimals-modal-text: #2e3a2c;--chessimals-modal-muted: #5f6f50;--chessimals-modal-border: rgba(46, 58, 44, .18);--chessimals-modal-shadow: rgba(46, 58, 44, .14);--ion-background-color: var(--chessimals-modal-surface);--ion-card-background: var(--chessimals-modal-card);--ion-text-color: var(--chessimals-modal-text);--ion-color-dark: var(--chessimals-modal-text);--ion-color-dark-rgb: 46, 58, 44;--ion-color-medium: var(--chessimals-modal-muted);--ion-color-medium-rgb: 95, 111, 80;--ion-border-color: var(--chessimals-modal-border);--ion-color-primary: var(--chessimals-primary);--ion-color-primary-rgb: var(--chessimals-primary-rgb);--ion-color-primary-contrast: var(--chessimals-primary-contrast);--ion-color-primary-shade: #285f36;--ion-color-primary-tint: #43804f}@media (prefers-color-scheme: dark){:host ::ng-deep ion-modal.chessimals-themed-modal{--chessimals-modal-surface: #121811;--chessimals-modal-card: #182217;--chessimals-modal-card-strong: #1d2a1c;--chessimals-modal-text: #f6f3e9;--chessimals-modal-muted: #c8cfb1;--chessimals-modal-border: rgba(246, 227, 213, .2);--chessimals-modal-shadow: rgba(0, 0, 0, .36);--ion-color-dark-rgb: 246, 243, 233;--ion-color-medium-rgb: 200, 207, 177}}:host-context(html.ion-palette-dark) ::ng-deep ion-modal.chessimals-themed-modal,:host-context([data-theme=\"dark\"]) ::ng-deep ion-modal.chessimals-themed-modal{--chessimals-modal-surface: #121811;--chessimals-modal-card: #182217;--chessimals-modal-card-strong: #1d2a1c;--chessimals-modal-text: #f6f3e9;--chessimals-modal-muted: #c8cfb1;--chessimals-modal-border: rgba(246, 227, 213, .2);--chessimals-modal-shadow: rgba(0, 0, 0, .36);--ion-color-dark-rgb: 246, 243, 233;--ion-color-medium-rgb: 200, 207, 177}:host ::ng-deep ion-modal.chessimals-themed-modal val-modal-shell ion-toolbar,:host ::ng-deep ion-modal.chessimals-themed-modal .val-modal-layout__footer{--background: var(--chessimals-modal-surface);--color: var(--chessimals-modal-text);background:var(--chessimals-modal-surface);color:var(--chessimals-modal-text);border-color:var(--chessimals-modal-border)}:host ::ng-deep ion-modal.chessimals-themed-modal val-modal-shell ion-content{--background: var(--chessimals-modal-surface);color:var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-themed-modal val-modal-shell ion-button{--color: var(--chessimals-modal-text);--color-hover: var(--chessimals-modal-text);--color-activated: var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-themed-modal val-display ion-text,:host ::ng-deep ion-modal.chessimals-themed-modal val-title ion-text{color:var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-themed-modal val-button.val-modal-layout__button ion-button,:host ::ng-deep ion-modal.chessimals-themed-modal val-button.chessimals-rules__action ion-button{min-height:3.45rem;font-weight:950;--border-radius: 999px;--padding-bottom: .85rem;--padding-end: 1.35rem;--padding-start: 1.35rem;--padding-top: .85rem}:host ::ng-deep ion-modal.chessimals-themed-modal val-button.val-modal-layout__button ion-button.button-solid,:host ::ng-deep ion-modal.chessimals-themed-modal val-button.chessimals-rules__action--primary ion-button{--background: var(--chessimals-primary);--background-hover: color-mix(in srgb, var(--chessimals-primary) 92%, #fff);--background-activated: color-mix(in srgb, var(--chessimals-primary) 88%, #000);--box-shadow: 0 1rem 2rem rgba(var(--chessimals-primary-rgb), .22);--color: var(--chessimals-primary-contrast);--color-activated: var(--chessimals-primary-contrast);--color-hover: var(--chessimals-primary-contrast)}:host ::ng-deep ion-modal.chessimals-themed-modal val-button.val-modal-layout__button ion-button.button-outline,:host ::ng-deep ion-modal.chessimals-themed-modal val-button.chessimals-rules__action--secondary ion-button{--background: transparent;--border-color: var(--chessimals-modal-border);--border-width: 1px;--color: var(--chessimals-modal-text);--color-activated: var(--chessimals-modal-text);--color-hover: var(--chessimals-modal-text)}.chessimals-play-modal__actions,.chessimals-rules__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.7rem;width:100%}.chessimals-play-modal__actions .chessimals-primary,.chessimals-play-modal__actions .chessimals-secondary{min-width:min(100%,12.5rem);padding:.85rem 1.35rem}.chessimals-rules__action{min-width:min(100%,12.5rem)}:host ::ng-deep ion-modal.chessimals-rules-modal val-button.chessimals-rules__action ion-button{min-height:3.45rem;font-weight:950;--border-radius: 999px;--padding-bottom: .85rem;--padding-end: 1.35rem;--padding-start: 1.35rem;--padding-top: .85rem}:host ::ng-deep ion-modal.chessimals-rules-modal val-button.chessimals-rules__action--primary ion-button{--background: var(--chessimals-primary);--background-hover: color-mix(in srgb, var(--chessimals-primary) 92%, #fff);--background-activated: color-mix(in srgb, var(--chessimals-primary) 88%, #000);--box-shadow: 0 1rem 2rem rgba(var(--chessimals-primary-rgb), .22);--color: var(--chessimals-primary-contrast);--color-activated: var(--chessimals-primary-contrast);--color-hover: var(--chessimals-primary-contrast)}:host ::ng-deep ion-modal.chessimals-rules-modal val-button.chessimals-rules__action--secondary ion-button{--border-color: rgba(46, 58, 44, .24);--border-width: 1px;--color: var(--chessimals-text);--color-activated: var(--chessimals-text);--color-hover: var(--chessimals-text)}:host ::ng-deep ion-modal.chessimals-confirm-modal val-button.val-modal-layout__button ion-button{min-height:3.45rem;font-weight:950;--border-radius: 999px;--padding-bottom: .85rem;--padding-end: 1.35rem;--padding-start: 1.35rem;--padding-top: .85rem}:host ::ng-deep ion-modal.chessimals-confirm-modal val-button.val-modal-layout__button ion-button[data-testid=confirm]{--background: var(--chessimals-primary);--background-hover: color-mix(in srgb, var(--chessimals-primary) 92%, #fff);--background-activated: color-mix(in srgb, var(--chessimals-primary) 88%, #000);--box-shadow: 0 1rem 2rem rgba(var(--chessimals-primary-rgb), .22);--color: var(--chessimals-primary-contrast);--color-activated: var(--chessimals-primary-contrast);--color-hover: var(--chessimals-primary-contrast)}:host ::ng-deep ion-modal.chessimals-confirm-modal val-button.val-modal-layout__button ion-button[data-testid=cancel]{--border-color: rgba(46, 58, 44, .24);--border-width: 1px;--color: var(--chessimals-text);--color-activated: var(--chessimals-text);--color-hover: var(--chessimals-text)}.chessimals-online{display:grid;gap:.875rem;border:1px solid var(--chessimals-border);border-radius:1.375rem;padding:1rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),transparent),var(--chessimals-panel)}.chessimals-online--waiting{order:2;border-color:rgba(var(--chessimals-primary-rgb),.34)}.chessimals-online h2,.chessimals-online p{margin:0}.chessimals-online h2{font-size:1.1rem;font-weight:950}.chessimals-online p{color:var(--chessimals-muted);line-height:1.4}.chessimals-online__create,.chessimals-online__join{display:grid;gap:.55rem}.chessimals-online__create small{color:var(--chessimals-muted);font-weight:800;line-height:1.35}.chessimals-online__join{border-top:1px solid var(--chessimals-border);padding-top:.85rem}.chessimals-online__join>strong{font-size:.95rem;font-weight:950}.chessimals-online__error{border-radius:.875rem;padding:.7rem .8rem;background:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.12);color:var(--ion-color-danger, #eb445a)!important;font-weight:800}.chessimals-online__loading{display:flex;align-items:center;gap:.625rem;border:1px solid rgba(var(--chessimals-primary-rgb),.22);border-radius:999px;padding:.65rem .85rem;background:rgba(var(--chessimals-primary-rgb),.08);color:var(--chessimals-text);font-size:.92rem;font-weight:900}.chessimals-online__loading span{width:1rem;height:1rem;border:.15rem solid rgba(var(--chessimals-primary-rgb),.24);border-top-color:var(--chessimals-primary);border-radius:999px;animation:chessimals-spin .75s linear infinite}.chessimals-online-code{display:grid;gap:.4rem;font-weight:950}.chessimals-online-code input{width:100%;min-height:3.3rem;border:1px solid var(--chessimals-border);border-radius:999px;padding:0 1rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.chessimals-game-code{display:grid;gap:.2rem;border-radius:1rem;padding:.85rem 1rem;background:var(--chessimals-soft)}.chessimals-game-code small{color:var(--chessimals-muted);font-weight:900;letter-spacing:.06em;text-transform:uppercase}.chessimals-game-code strong{font-size:clamp(1.35rem,6vw,2rem);font-weight:950;letter-spacing:.05em}.chessimals-online-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem}.chessimals-history{gap:.75rem}.chessimals-history__heading{display:flex;align-items:start;justify-content:space-between;gap:.75rem}.chessimals-history__list{display:grid;gap:.5rem}.chessimals-history__item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;border:1px solid var(--chessimals-border);border-radius:1rem;padding:.7rem .8rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;text-align:left}.chessimals-history__item span{display:grid;gap:.1rem;min-width:0}.chessimals-history__item strong{font-weight:950;letter-spacing:.04em}.chessimals-history__item small{overflow:hidden;color:var(--chessimals-muted);font-size:.82rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.chessimals-history__item em{flex:0 0 auto;color:var(--chessimals-primary);font-size:.86rem;font-style:normal;font-weight:950}.chessimals-home-settings{gap:.8rem}.chessimals-home-settings__actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.625rem}.chessimals-pending-player{display:flex;align-items:center;gap:.7rem;border:1px solid rgba(var(--chessimals-primary-rgb),.22);border-radius:1rem;padding:.75rem;background:var(--chessimals-soft)}.chessimals-pending-player div{display:grid;gap:.1rem;min-width:0}.chessimals-pending-player small{color:var(--chessimals-muted);font-size:.72rem;font-weight:950;letter-spacing:.07em;text-transform:uppercase}.chessimals-pending-player strong{overflow:hidden;font-size:1.05rem;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.chessimals-turn-card{order:1;display:flex;align-items:center;justify-content:space-between;gap:.625rem;min-height:3.75rem;overflow:visible;border:1px solid rgba(var(--chessimals-primary-rgb),.24);border-radius:1rem;padding:.55rem .65rem;background:radial-gradient(circle at 15% 18%,rgba(255,255,255,.34),transparent 18%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.2),rgba(var(--chessimals-secondary-rgb),.1))}.chessimals-turn-card.is-black-turn{border-color:rgba(var(--ion-color-dark-rgb, 47, 42, 58),.28);background:radial-gradient(circle at 15% 18%,rgba(255,255,255,.12),transparent 18%),linear-gradient(135deg,rgba(var(--ion-color-dark-rgb, 47, 42, 58),.14),rgba(var(--chessimals-primary-rgb),.1))}.chessimals-turn-card.is-finished{border-color:rgba(var(--ion-color-success-rgb, 45, 211, 111),.42);background:radial-gradient(circle at 15% 18%,rgba(255,255,255,.35),transparent 18%),linear-gradient(135deg,rgba(var(--ion-color-success-rgb, 45, 211, 111),.18),rgba(var(--chessimals-primary-rgb),.12))}.chessimals-turn-card.is-finished .chessimals-turn-card__chip{color:var(--ion-color-success, #2dd36f)}.chessimals-turn-card.is-your-turn{border-color:rgba(var(--chessimals-primary-rgb),.48);box-shadow:0 0 0 .12rem rgba(var(--chessimals-primary-rgb),.12),0 .95rem 2rem rgba(var(--chessimals-primary-rgb),.14)}.chessimals-turn-card.is-your-turn .chessimals-turn-card__chip{background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);box-shadow:0 0 0 .32rem rgba(var(--chessimals-primary-rgb),.14);animation:chessimals-turn-pulse 1.45s ease-in-out infinite}.chessimals-turn-card.is-timer-low{border-color:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.5);box-shadow:0 0 0 .12rem rgba(var(--ion-color-danger-rgb, 235, 68, 90),.12),0 .95rem 2rem rgba(var(--ion-color-danger-rgb, 235, 68, 90),.12)}.chessimals-turn-card.is-timer-low .chessimals-turn-card__chip{background:var(--ion-color-danger, #eb445a);color:var(--ion-color-danger-contrast, #ffffff)}.chessimals-turn-card.is-waiting-turn .chessimals-turn-card__chip{color:var(--chessimals-muted)}@keyframes chessimals-turn-pulse{0%,to{transform:translateZ(0) scale(1)}50%{transform:translateZ(0) scale(1.035)}}.chessimals-turn-card__copy{display:grid;min-width:0;gap:.15rem}.chessimals-turn-card__chip{justify-self:start;border-radius:999px;padding:.2rem .5rem;background:var(--chessimals-panel);color:var(--chessimals-primary);font-size:.62rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-turn-card strong{display:block;min-width:0;font-size:clamp(1rem,3.5vw,1.25rem);line-height:1.08;font-weight:950;overflow-wrap:anywhere}.chessimals-turn-card p{display:block;min-width:0;margin:0;color:var(--chessimals-muted);font-size:.78rem;line-height:1.22}.chessimals-player-strip{display:flex;flex:0 0 auto;align-items:center;gap:.45rem;min-width:10rem;max-width:min(17rem,42%);border:1px solid var(--chessimals-border);border-radius:999px;padding:.3rem .55rem .3rem .35rem;background:rgba(var(--ion-color-light-rgb, 244, 245, 248),.72)}:host-context(html.ion-palette-dark) .chessimals-player-strip,:host-context([data-theme=\"dark\"]) .chessimals-player-strip{background:#ffffff0f}.chessimals-player-strip val-user-avatar{display:inline-flex;flex:0 0 auto;line-height:0}.chessimals-player-strip__avatar{display:grid;place-items:center;flex:0 0 2.25rem;width:2.25rem;height:2.25rem;aspect-ratio:1 / 1;overflow:hidden;border-radius:999px;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);font-size:.875rem;line-height:1}.chessimals-player-strip__avatar--initials{font-size:.78rem;font-weight:950}:host ::ng-deep .chessimals-player-strip .chessimals-turn-avatar{width:2.25rem;min-width:2.25rem;height:2.25rem;border-radius:50%}.chessimals-player-strip__text{display:grid;min-width:0;gap:.05rem;line-height:1.1}.chessimals-player-strip__text span{color:var(--chessimals-muted);font-size:.58rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-player-strip__text strong{overflow:hidden;font-size:.82rem;line-height:1.08;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.chessimals-player-strip__text small{overflow:hidden;color:var(--chessimals-muted);font-size:.66rem;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.chessimals-arena{order:4;display:grid;gap:.875rem;align-items:start}.chessimals-howto,.chessimals-tip,.chessimals-result,.chessimals-replay,.chessimals-rematch-status{display:grid;gap:.375rem;padding:1rem;border-radius:1.25rem;background:var(--chessimals-soft)}.chessimals-howto{border:1px solid var(--chessimals-border);background:var(--chessimals-soft);color:var(--chessimals-text)}.chessimals-howto p{color:var(--chessimals-muted)}.chessimals-howto__actions{display:flex;flex-wrap:wrap;gap:.625rem}:host-context(html.ion-palette-dark) .chessimals-howto,:host-context([data-theme=\"dark\"]) .chessimals-howto{border-color:#f6e3d533;background:#172116;color:#f6f3e9}:host-context(html.ion-palette-dark) .chessimals-howto p,:host-context([data-theme=\"dark\"]) .chessimals-howto p{color:#c8cfb1}.chessimals-result{order:5}.chessimals-result__actions{display:flex;flex-wrap:wrap;gap:.625rem;margin-top:.45rem}.chessimals-action-button{flex:0 1 auto;min-width:min(100%,12.5rem);max-width:100%;padding:.85rem 1.35rem}.chessimals-result.is-challenge-result{gap:0;padding:0;background:transparent}.chessimals-result__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin-top:.35rem}.chessimals-result__stats span{display:grid;gap:.15rem;min-width:0;border:1px solid rgba(var(--chessimals-primary-rgb),.16);border-radius:.85rem;padding:.58rem .6rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),transparent),var(--chessimals-panel)}.chessimals-result__stats small{overflow:hidden;color:var(--chessimals-muted);font-size:.68rem;font-weight:950;letter-spacing:.05em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-result__stats b{overflow:hidden;color:var(--chessimals-text);font-size:.92rem;font-weight:950;line-height:1.12;text-overflow:ellipsis;white-space:nowrap}.chessimals-result__detail{margin:.2rem 0 0}.chessimals-bot-report{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem;margin-top:.35rem;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:1rem;padding:.78rem .85rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),transparent),var(--chessimals-panel)}.chessimals-bot-report>span{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:.85rem;background:rgba(var(--chessimals-secondary-rgb),.14);font-size:1.45rem;box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14)}.chessimals-bot-report>span img{width:100%;height:100%;object-fit:contain}.chessimals-bot-report div{display:grid;gap:.12rem;min-width:0}.chessimals-bot-report small{color:var(--chessimals-muted);font-size:.72rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-bot-report strong{color:var(--chessimals-text);font-size:1rem;font-weight:950;line-height:1.15}.chessimals-bot-report p{margin:0;color:var(--chessimals-muted);font-size:.84rem;font-weight:820;line-height:1.28}.chessimals-online-status{order:3;display:grid;grid-template-columns:1.35rem minmax(0,1fr);align-items:center;gap:.85rem;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:1.1rem;padding:.85rem .95rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.09),transparent),var(--chessimals-panel)}.chessimals-online-status>span{justify-self:center;width:.72rem;height:.72rem;border-radius:999px;background:var(--chessimals-primary);box-shadow:0 0 0 .38rem rgba(var(--chessimals-primary-rgb),.12)}.chessimals-online-status.is-syncing>span{animation:chessimals-online-pulse .9s ease-in-out infinite}.chessimals-online-status.is-error{border-color:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.28);background:linear-gradient(135deg,rgba(var(--ion-color-danger-rgb, 235, 68, 90),.1),transparent),var(--chessimals-panel)}.chessimals-online-status.is-error>span{background:var(--ion-color-danger, #eb445a);box-shadow:0 0 0 .38rem rgba(var(--ion-color-danger-rgb, 235, 68, 90),.12)}.chessimals-online-status div{display:grid;gap:.12rem;min-width:0}.chessimals-online-status strong{overflow:hidden;color:var(--chessimals-text);font-size:.95rem;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.chessimals-online-status p{margin:0;color:var(--chessimals-muted);font-size:.84rem;font-weight:780;line-height:1.28}.chessimals-series{display:grid;gap:.18rem;margin-top:.35rem;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:1rem;padding:.78rem .85rem;background:linear-gradient(135deg,rgba(var(--chessimals-secondary-rgb),.12),transparent),var(--chessimals-panel)}.chessimals-series--compact{margin-top:0}.chessimals-series small{color:var(--chessimals-muted);font-size:.72rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-series strong{color:var(--chessimals-text);font-size:1rem;font-weight:950;line-height:1.15}.chessimals-series span{color:var(--chessimals-muted);font-size:.84rem;font-weight:820;line-height:1.28}.chessimals-replay{order:5;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;border:1px solid rgba(var(--chessimals-primary-rgb),.2);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),transparent),var(--chessimals-panel)}.chessimals-replay>div:first-child{display:grid;gap:.15rem;min-width:0}.chessimals-replay strong{font-size:1rem;font-weight:950}.chessimals-replay span{color:var(--chessimals-muted);font-size:.86rem;font-weight:800;line-height:1.25}.chessimals-replay__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}.chessimals-replay__actions .chessimals-secondary{min-height:2.5rem;padding:0 .8rem}.chessimals-tutorial{order:3;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:1rem;border:1px solid rgba(var(--chessimals-primary-rgb),.24);border-radius:1.25rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.13),transparent),var(--chessimals-panel)}.chessimals-tutorial>div{display:grid;gap:.18rem;min-width:0}.chessimals-tutorial small{color:var(--chessimals-primary);font-size:.76rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-tutorial strong{font-size:1rem;font-weight:950}.chessimals-tutorial p{margin:0;color:var(--chessimals-muted);font-size:.88rem;font-weight:780;line-height:1.35}.chessimals-tutorial .chessimals-secondary{min-height:2.5rem;padding:0 .85rem}.chessimals-rematch-status{order:5;border:1px solid rgba(var(--chessimals-primary-rgb),.22);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.12),transparent),var(--chessimals-panel)}.chessimals-rematch-status.is-incoming{border-color:rgba(var(--ion-color-success-rgb, 45, 211, 111),.38);background:linear-gradient(135deg,rgba(var(--ion-color-success-rgb, 45, 211, 111),.14),transparent),var(--chessimals-panel)}.chessimals-rematch-status strong{font-size:1rem;font-weight:950}.chessimals-rematch-status p{margin:0;color:var(--chessimals-muted);font-size:.88rem;line-height:1.35}.chessimals-rematch-player{background:var(--chessimals-elevated)}:host-context(html.ion-palette-dark) .chessimals-rematch-player,:host-context([data-theme=\"dark\"]) .chessimals-rematch-player{background:#ffffff0f}.chessimals-rematch-status__actions{display:flex;justify-content:flex-end}.chessimals-rematch-status__actions .chessimals-secondary{min-height:2.5rem;padding:0 .95rem}.chessimals-howto h2,.chessimals-powers h2{margin:0;font-size:1.15rem;font-weight:950}.chessimals-challenge-cta{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(10rem,auto) auto;gap:.65rem;align-items:center;border:1px solid rgba(var(--chessimals-sky-rgb),.24);border-radius:1.25rem;padding:.75rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.1),transparent 62%),var(--chessimals-panel);box-shadow:0 .7rem 1.4rem rgba(var(--chessimals-shadow-rgb),.08)}.chessimals-challenge-cta__copy{display:grid;gap:.18rem;min-width:0}.chessimals-challenge-cta__copy span,.chessimals-challenge-cta__rival small{color:var(--chessimals-sky);font-size:.68rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-challenge-cta__copy h2{margin:0;color:var(--chessimals-text);font-size:clamp(1.05rem,2.5vw,1.32rem);font-weight:1000}.chessimals-challenge-cta__copy p{margin:0;color:var(--chessimals-muted);font-size:.82rem;font-weight:780;line-height:1.3}.chessimals-challenge-cta__meta{display:grid;grid-template-columns:repeat(2,minmax(3.8rem,1fr));gap:.4rem}.chessimals-challenge-cta__meta span{display:grid;gap:.08rem;border:1px solid rgba(var(--chessimals-primary-rgb),.14);border-radius:.95rem;padding:.42rem .5rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-cta__meta small{color:var(--chessimals-muted);font-size:.62rem;font-weight:900;text-transform:uppercase}.chessimals-challenge-cta__meta strong{color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-challenge-cta__actions{display:grid;gap:.45rem;min-width:10rem}.chessimals-challenge-cta__rival{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem;align-items:center;min-width:0;border:1px solid rgba(var(--chessimals-primary-rgb),.14);border-radius:1rem;padding:.45rem;background:var(--chessimals-elevated)}.chessimals-challenge-cta__rival>.chessimals-bot-avatar{display:grid;place-items:center;width:2.15rem;height:2.15rem;border-radius:.9rem;background:rgba(var(--chessimals-sky-rgb),.14);font-size:1.12rem}.chessimals-challenge-cta__rival div{display:grid;gap:.08rem;min-width:0}.chessimals-challenge-cta__rival strong{overflow:hidden;color:var(--chessimals-text);font-size:.9rem;font-weight:1000;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-view{display:grid;gap:.85rem}.chessimals-back-link{justify-self:start;border:1px solid rgba(var(--chessimals-primary-rgb),.16);border-radius:999px;padding:.45rem .72rem;background:var(--chessimals-elevated);color:var(--chessimals-text);font:inherit;font-size:.85rem;font-weight:950;cursor:pointer}.chessimals-challenge-back{margin-bottom:.15rem}.chessimals-challenge-card{display:grid;gap:.9rem;border:1px solid rgba(var(--chessimals-sky-rgb),.34);border-radius:1.375rem;padding:1rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.18),transparent 54%),linear-gradient(180deg,var(--chessimals-glass-highlight),transparent),var(--chessimals-panel);box-shadow:0 1rem 2.2rem #4f3a231f}.chessimals-challenge-card--dedicated{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}.chessimals-challenge-hero,.chessimals-challenge-focus,.chessimals-challenge-secondary{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(14rem,.9fr);gap:.75rem;align-items:stretch}.chessimals-challenge-card__copy{display:grid;gap:.28rem;align-content:center}.chessimals-challenge-card__copy span,.chessimals-challenge-summary small,.chessimals-challenge-route small,.chessimals-challenge-panel__heading small{color:var(--chessimals-sky);font-size:.72rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-challenge-card h2{margin:0;font-size:clamp(1.25rem,3.5vw,1.9rem);font-weight:1000}.chessimals-challenge-card p,.chessimals-challenge-summary p{margin:0;color:var(--chessimals-muted);font-size:.95rem;font-weight:780;line-height:1.35}.chessimals-challenge-card__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.chessimals-challenge-rival{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.7rem;align-items:center;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:1.125rem;padding:.7rem;background:var(--chessimals-elevated)}.chessimals-challenge-rival--feature{min-height:8rem;border-color:rgba(var(--chessimals-sky-rgb),.28);background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.14),transparent),var(--chessimals-elevated)}.chessimals-challenge-rival>.chessimals-bot-avatar{display:grid;place-items:center;width:3rem;height:3rem;border-radius:1rem;background:rgba(var(--chessimals-primary-rgb),.12);font-size:1.45rem}.chessimals-challenge-rival div{display:grid;gap:.14rem;min-width:0}.chessimals-challenge-rival small,.chessimals-challenge-history small,.chessimals-challenge-summary__stats small{color:var(--chessimals-muted);font-size:.66rem;font-weight:900;text-transform:uppercase}.chessimals-challenge-rival strong{color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-challenge-rival p{font-size:.84rem}.chessimals-challenge-rival em{overflow:hidden;color:var(--chessimals-muted);font-size:.68rem;font-style:normal;font-weight:900;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-challenge-rival--next{background:rgba(var(--chessimals-primary-rgb),.08)}.chessimals-challenge-card__stats span{display:grid;gap:.16rem;border:1px solid rgba(var(--chessimals-primary-rgb),.16);border-radius:1rem;padding:.55rem;background:var(--chessimals-elevated)}.chessimals-challenge-card__stats small{color:var(--chessimals-muted);font-size:.66rem;font-weight:900;text-transform:uppercase}.chessimals-challenge-card__stats strong{color:var(--chessimals-text);font-size:1.1rem;font-weight:1000}.chessimals-challenge-card__actions{display:grid;gap:.55rem;align-content:center}.chessimals-challenge-card__actions--hero{grid-template-columns:minmax(0,1fr)}.chessimals-challenge-route,.chessimals-challenge-panel{display:grid;gap:.55rem;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:1.125rem;padding:.65rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-route>div:first-child,.chessimals-challenge-panel__heading{display:flex;flex-wrap:wrap;gap:.4rem;align-items:baseline;justify-content:space-between}.chessimals-challenge-route>div:first-child>span{color:var(--chessimals-muted);font-size:.76rem;font-weight:850}.chessimals-challenge-path{display:flex;flex-wrap:nowrap;gap:.4rem;overflow-x:auto;padding-block:.1rem;scrollbar-width:none}.chessimals-challenge-path::-webkit-scrollbar{display:none}.chessimals-challenge-path span{flex:0 0 auto;display:grid;place-items:center;width:2.15rem;height:2.15rem;overflow:hidden;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:999px;background:var(--chessimals-elevated-strong);font-size:1.08rem}.chessimals-challenge-path img{display:block;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;object-fit:contain}.chessimals-challenge-path span.is-cleared{border-color:rgba(var(--ion-color-success-rgb, 45, 211, 111),.34);background:rgba(var(--ion-color-success-rgb, 45, 211, 111),.16)}.chessimals-challenge-path span.is-current{border-color:rgba(var(--chessimals-sky-rgb),.48);background:rgba(var(--chessimals-sky-rgb),.18);box-shadow:0 0 0 2px rgba(var(--chessimals-sky-rgb),.12)}.chessimals-challenge-path span.is-final{border-color:rgba(var(--ion-color-warning-rgb, 255, 196, 9),.48)}.chessimals-challenge-roster{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem}.chessimals-challenge-roster article{display:grid;grid-template-columns:minmax(0,1fr);gap:.4rem;align-items:center;min-width:0;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:1rem;padding:.48rem;background:var(--chessimals-elevated-soft);opacity:.78}.chessimals-challenge-roster article.is-cleared{border-color:rgba(var(--ion-color-success-rgb, 45, 211, 111),.26);background:linear-gradient(135deg,rgba(var(--ion-color-success-rgb, 45, 211, 111),.1),transparent),var(--chessimals-elevated-soft);opacity:1}.chessimals-challenge-roster article.is-current{border-color:rgba(var(--chessimals-sky-rgb),.38);background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.16),transparent),var(--chessimals-elevated);box-shadow:0 0 0 2px rgba(var(--chessimals-sky-rgb),.1);opacity:1}.chessimals-challenge-roster article.is-final{border-color:rgba(var(--ion-color-warning-rgb, 255, 196, 9),.34)}.chessimals-challenge-roster article>.chessimals-bot-avatar{display:grid;place-items:center;width:2rem;height:2rem;border-radius:.85rem;background:rgba(var(--chessimals-primary-rgb),.1);font-size:1rem}.chessimals-challenge-roster article.is-current>.chessimals-bot-avatar{background:rgba(var(--chessimals-sky-rgb),.18)}.chessimals-challenge-roster div{display:grid;gap:.08rem;min-width:0}.chessimals-challenge-roster small,.chessimals-challenge-roster em{overflow:hidden;color:var(--chessimals-muted);font-size:.62rem;font-style:normal;font-weight:900;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-challenge-roster strong{overflow:hidden;color:var(--chessimals-text);font-size:.82rem;font-weight:1000;line-height:1.08;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-roster p{display:-webkit-box;overflow:hidden;margin:0;color:var(--chessimals-muted);font-size:.72rem;font-weight:820;line-height:1.18;-webkit-box-orient:vertical;-webkit-line-clamp:2}.chessimals-achievements,.chessimals-mode-winrates{display:grid;grid-template-columns:minmax(0,1fr);gap:.45rem}.chessimals-mode-winrates>span{display:grid;gap:.1rem;border:1px solid rgba(var(--chessimals-sky-rgb),.2);border-radius:8px;padding:.48rem;background:rgba(var(--chessimals-sky-rgb),.08)}.chessimals-mode-winrates small{overflow:hidden;color:var(--chessimals-muted);font-size:.64rem;font-weight:900;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-mode-winrates strong{color:var(--chessimals-text);font-size:.98rem;font-weight:1000}.chessimals-mode-winrates em{overflow:hidden;color:var(--chessimals-muted);font-size:.68rem;font-style:normal;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.chessimals-achievements>span{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.45rem;align-items:center;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:8px;padding:.5rem;background:var(--chessimals-elevated-soft);opacity:.68}.chessimals-achievements>span.is-unlocked{border-color:rgba(var(--chessimals-sky-rgb),.3);background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.14),var(--chessimals-elevated));opacity:1}.chessimals-achievements b{display:grid;place-items:center;width:1.9rem;height:1.9rem;border-radius:8px;background:rgba(var(--chessimals-primary-rgb),.1);color:var(--chessimals-muted);font-size:.9rem;font-weight:1000}.chessimals-achievements .is-unlocked b{background:var(--chessimals-sky);color:#fffaf0}.chessimals-achievements span span{display:grid;gap:.06rem;min-width:0}.chessimals-achievements strong,.chessimals-achievements small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chessimals-achievements strong{color:var(--chessimals-text);font-size:.78rem;font-weight:1000}.chessimals-achievements small{color:var(--chessimals-muted);font-size:.67rem;font-weight:850}.chessimals-secondary--compact{min-height:2.45rem;padding-block:.45rem}.chessimals-path-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:center;border:1px solid rgba(var(--chessimals-sky-rgb),.26);border-radius:1.25rem;padding:.75rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.13),rgba(var(--chessimals-sun-rgb),.08)),var(--chessimals-elevated-soft)}.chessimals-path-cta div{display:grid;gap:.18rem;min-width:0}.chessimals-path-cta span,.chessimals-path-hero small{color:var(--chessimals-sky);font-size:.68rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-path-cta strong{color:var(--chessimals-text);font-size:.95rem;font-weight:950;line-height:1.2}.chessimals-path-cta__action{justify-self:end;width:min(12rem,100%);min-width:9.5rem;padding-inline:1.1rem;white-space:nowrap}.chessimals-path-view{display:grid;gap:.85rem}.chessimals-path-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.8rem;align-items:center;border:1px solid rgba(var(--chessimals-sky-rgb),.26);border-radius:1.25rem;padding:.85rem;background:radial-gradient(circle at 88% 10%,rgba(var(--chessimals-sun-rgb),.18),transparent 34%),linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.14),transparent 62%),var(--chessimals-elevated-soft)}.chessimals-path-hero__art{display:block;width:clamp(5.2rem,15vw,7.5rem);height:clamp(5.2rem,15vw,7.5rem);object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chessimals-path-hero>div:not(.chessimals-path-hero__medal){display:grid;gap:.25rem;min-width:0}.chessimals-path-hero h2{margin:0;color:var(--chessimals-text);font-size:clamp(1.7rem,4vw,2.35rem);font-weight:1000;line-height:1}.chessimals-path-hero p{margin:0;color:var(--chessimals-muted);font-size:.95rem;font-weight:820;line-height:1.35}.chessimals-path-hero__medal{display:grid;place-items:center;width:6.5rem;min-height:6.5rem;border:1px solid rgba(var(--chessimals-primary-rgb),.14);border-radius:1rem;background:linear-gradient(180deg,rgba(var(--chessimals-sun-rgb),.2),rgba(var(--chessimals-sky-rgb),.11)),var(--chessimals-elevated);box-shadow:0 16px 28px rgba(var(--chessimals-shadow-rgb),.12)}.chessimals-path-hero__medal img{display:block;width:3rem;height:3rem;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chessimals-path-hero__medal span{color:var(--chessimals-text);font-size:1.65rem;font-weight:1000;line-height:1}.chessimals-path-hero__medal b{color:var(--chessimals-muted);font-size:.78rem;font-weight:950}.chessimals-path-highlights{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.65rem}.chessimals-path-highlights article{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.65rem;align-items:center;min-width:0;min-height:7.5rem;border:1px solid rgba(var(--chessimals-primary-rgb),.13);border-radius:1rem;padding:.7rem;background:radial-gradient(circle at 12% 4%,rgba(var(--chessimals-sun-rgb),.18),transparent 42%),var(--chessimals-elevated-soft)}.chessimals-path-highlights img{display:block;width:4.25rem;height:4.25rem;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chessimals-path-highlights article div{display:grid;min-width:0;gap:.12rem}.chessimals-path-highlights small{color:var(--chessimals-sky);font-size:.66rem;font-weight:950;letter-spacing:.05em;text-transform:uppercase}.chessimals-path-highlights strong{color:var(--chessimals-text);font-size:1.08rem;font-weight:1000;line-height:1.06}.chessimals-path-highlights span{color:var(--chessimals-muted);font-size:.76rem;font-weight:820;line-height:1.24}.chessimals-path-rings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.6rem}.chessimals-path-ring,.chessimals-path-panel,.chessimals-path-stats span,.chessimals-path-bars span{border:1px solid rgba(var(--chessimals-primary-rgb),.13);border-radius:1rem;background:var(--chessimals-elevated-soft)}.chessimals-path-ring{display:grid;grid-template-areas:\"ring label\" \"ring detail\";grid-template-columns:auto minmax(0,1fr);gap:.55rem;align-items:center;padding:.65rem;text-align:left}.chessimals-path-ring>div{position:relative;grid-area:ring;display:grid;place-items:center;width:3.35rem;height:3.35rem;border-radius:999px;background:conic-gradient(var(--chessimals-sky) var(--ring-progress),rgba(var(--chessimals-primary-rgb),.12) 0)}.chessimals-path-ring>div:after{position:absolute;inset:.34rem;border-radius:inherit;background:var(--chessimals-elevated);content:\"\"}.chessimals-path-ring strong{position:relative;z-index:1;color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-path-ring span,.chessimals-path-bars b{color:var(--chessimals-text);font-size:.78rem;font-weight:950}.chessimals-path-ring span{grid-area:label;align-self:end}.chessimals-path-ring small{grid-area:detail;align-self:start;min-width:0}.chessimals-path-ring small{color:var(--chessimals-muted);font-size:.68rem;font-weight:820;line-height:1.25}.chessimals-path-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:.75rem}.chessimals-path-panel{display:grid;gap:.65rem;align-content:start;padding:.75rem}.chessimals-path-panel--wide{grid-column:1 / -1}.chessimals-path-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10.5rem),1fr));gap:.5rem}.chessimals-path-stats span{display:grid;gap:.08rem;padding:.6rem}.chessimals-path-stats small{color:var(--chessimals-muted);font-size:.66rem;font-weight:900;text-transform:uppercase}.chessimals-path-stats strong{color:var(--chessimals-text);font-size:1.25rem;font-weight:1000}.chessimals-path-bars{display:grid;gap:.45rem}.chessimals-path-bars span{display:grid;grid-template-columns:minmax(0,.9fr) minmax(3rem,1fr) auto;gap:.45rem;align-items:center;padding:.48rem}.chessimals-path-bars i{display:block;height:.48rem;overflow:hidden;border-radius:999px;background:rgba(var(--chessimals-primary-rgb),.11)}.chessimals-path-bars i:before{display:block;width:var(--bar-progress);height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--chessimals-sky),var(--chessimals-sun));content:\"\"}.chessimals-path-bars strong{color:var(--chessimals-text);font-size:.86rem;font-weight:1000}.chessimals-achievements--path{grid-template-columns:1fr}.chessimals-challenge-history--path{border-top:0;padding-top:0}.chessimals-progress__heading small{color:var(--chessimals-sky);font-size:.68rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-progress__heading{display:flex;flex-wrap:wrap;gap:.35rem;align-items:baseline;justify-content:space-between}.chessimals-progress__heading span{color:var(--chessimals-muted);font-size:.76rem;font-weight:820}.chessimals-challenge-history{display:grid;gap:.35rem;border-top:1px solid rgba(var(--chessimals-primary-rgb),.12);padding-top:.2rem}.chessimals-challenge-history span{display:flex;flex-wrap:wrap;gap:.35rem;color:var(--chessimals-muted);font-size:.82rem;font-weight:820}.chessimals-challenge-history b{color:var(--chessimals-text);font-weight:1000}.chessimals-challenge-summary{display:grid;gap:.6rem;border:0;border-radius:0;padding:0;background:transparent}.chessimals-challenge-summary.is-victory,.chessimals-challenge-summary.is-defeat{background:transparent}.chessimals-challenge-summary__hero,.chessimals-challenge-rival-voice{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.7rem}.chessimals-challenge-summary__hero>.chessimals-bot-avatar,.chessimals-challenge-rival-voice>.chessimals-bot-avatar{position:relative;display:grid;place-items:center;width:3rem;height:3rem;border-radius:1rem;background:rgba(var(--chessimals-sky-rgb),.16);font-size:1.55rem;box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14)}.chessimals-challenge-summary__hero.is-cleared>.chessimals-bot-avatar img{filter:grayscale(1) saturate(.15) contrast(.95);opacity:.62}.chessimals-challenge-summary__hero.is-cleared>.chessimals-bot-avatar:after{content:\"\\2713\";position:absolute;right:-.05rem;bottom:-.05rem;display:grid;place-items:center;width:1.25rem;height:1.25rem;border:.12rem solid var(--chessimals-panel);border-radius:999px;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);font-size:.74rem;font-weight:1000;line-height:1}.chessimals-challenge-summary__hero div,.chessimals-challenge-rival-voice div{display:grid;gap:.12rem;min-width:0}.chessimals-challenge-summary__hero small,.chessimals-challenge-rival-voice small{color:var(--chessimals-muted);font-size:.68rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-challenge-summary strong{font-size:1rem;font-weight:1000}.chessimals-challenge-summary__hero p,.chessimals-challenge-rival-voice p{margin:0;color:var(--chessimals-muted);font-size:.86rem;font-weight:820;line-height:1.28}.chessimals-challenge-rival-voice{border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:.95rem;padding:.65rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-summary__actions{display:grid}.chessimals-challenge-summary__play{min-height:3.35rem;font-size:1.02rem;box-shadow:0 .9rem 1.8rem rgba(var(--chessimals-primary-rgb),.26)}.chessimals-result.is-challenge-result .chessimals-challenge-tension,.chessimals-result.is-challenge-result .chessimals-challenge-rival--next{display:grid;grid-template-columns:minmax(0,1fr);border:0;border-radius:.75rem;padding:.45rem .6rem;background:rgba(var(--chessimals-primary-rgb),.07)}.chessimals-result.is-challenge-result .chessimals-challenge-rival--next{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.7rem;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:1rem;padding:.65rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.12),transparent),rgba(var(--chessimals-primary-rgb),.06)}.chessimals-result.is-challenge-result .chessimals-challenge-rival--next>.chessimals-bot-avatar{width:3.4rem;height:3.4rem;border-radius:1.1rem;background:var(--chessimals-elevated-strong);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14),0 .45rem 1rem rgba(var(--chessimals-primary-rgb),.1)}.chessimals-result.is-challenge-result .chessimals-challenge-rival--next p{margin:0;color:var(--chessimals-text);font-size:.9rem;font-weight:900;line-height:1.22}.chessimals-result.is-challenge-result .chessimals-challenge-tension.is-critical{background:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.1)}.chessimals-challenge-rival-voice>.chessimals-bot-avatar{width:2.35rem;height:2.35rem;border-radius:999px;font-size:1.15rem}.chessimals-challenge-summary__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}.chessimals-challenge-record{display:flex;align-items:center;gap:.45rem;border:1px solid rgba(var(--chessimals-sky-rgb),.34);border-radius:999px;padding:.45rem .65rem;background:rgba(var(--chessimals-sky-rgb),.14);color:var(--chessimals-text)}.chessimals-challenge-record span{display:grid;place-items:center;width:1.45rem;height:1.45rem;border-radius:999px;background:var(--chessimals-sky);color:#fffaf0;font-size:.82rem}.chessimals-challenge-record strong{font-size:.9rem}.chessimals-challenge-tension{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.55rem;align-items:center;border:1px solid rgba(var(--chessimals-sky-rgb),.3);border-radius:.9rem;padding:.65rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.16),rgba(var(--chessimals-primary-rgb),.08)),var(--chessimals-elevated)}.chessimals-challenge-tension.is-critical{border-color:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.38);background:linear-gradient(135deg,rgba(var(--ion-color-danger-rgb, 235, 68, 90),.16),rgba(var(--chessimals-primary-rgb),.08)),var(--chessimals-elevated)}.chessimals-challenge-tension>span{display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:999px;background:rgba(var(--chessimals-sky-rgb),.18);color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-challenge-tension.is-critical>span{background:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.18)}.chessimals-challenge-tension div{display:grid;gap:.14rem;min-width:0}.chessimals-challenge-tension strong{font-size:.95rem}.chessimals-challenge-tension p{font-size:.84rem}.chessimals-challenge-summary__stats span{display:grid;gap:.1rem;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:.8rem;padding:.45rem;background:var(--chessimals-elevated)}.chessimals-challenge-summary__stats b{color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-challenge-rival--next em{color:var(--chessimals-muted);font-size:.78rem;font-style:normal;font-weight:820;line-height:1.25;white-space:normal}.chessimals-tip p,.chessimals-powers p{color:var(--chessimals-muted)}.chessimals-learn-more{justify-self:start;min-height:2.75rem;border:0;border-radius:999px;padding:0 1rem;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);font:inherit;font-weight:950;box-shadow:0 .75rem 1.6rem rgba(var(--chessimals-primary-rgb),.28)}.chessimals-size,.chessimals-mode,.chessimals-status{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem}.chessimals-status{order:3;grid-template-columns:repeat(3,minmax(0,1fr))}.chessimals-size button,.chessimals-mode button,.chessimals-status div{display:grid;gap:.2rem;align-content:center;min-width:0;min-height:3.875rem;padding:.55rem .65rem;border:1px solid var(--chessimals-border);border-radius:1rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;text-align:left}.chessimals-size button.is-selected{border-color:var(--chessimals-primary);box-shadow:0 0 0 2px rgba(var(--chessimals-primary-rgb),.16)}.chessimals-mode button.is-selected{border-color:var(--chessimals-primary);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.13),transparent),var(--chessimals-panel);box-shadow:0 0 0 2px rgba(var(--chessimals-primary-rgb),.16)}.chessimals-status__timer{position:relative;overflow:hidden;isolation:isolate;border-color:rgba(var(--chessimals-primary-rgb),.42)!important}.chessimals-status__timer:before{content:\"\";position:absolute;inset:auto 0 0;z-index:0;height:.22rem;transform:scaleX(var(--timer-progress, 1));transform-origin:left center;background:var(--chessimals-primary);transition:transform .18s linear,background .18s ease}.chessimals-status__timer.is-low{border-color:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.58)!important;background:linear-gradient(135deg,rgba(var(--ion-color-danger-rgb, 235, 68, 90),.16),transparent),var(--chessimals-panel)!important;animation:chessimals-turn-pulse .82s ease-in-out infinite}.chessimals-status__timer.is-low:before{background:var(--ion-color-danger, #eb445a)}.chessimals-status__timer.is-low strong{color:var(--ion-color-danger, #eb445a)}.chessimals-status__score.is-pop{border-color:rgba(var(--chessimals-sky-rgb),.42);background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.16),transparent),var(--chessimals-panel);animation:chessimals-score-pulse .62s ease-out both}.chessimals-status__timer small,.chessimals-status__timer strong{position:relative;z-index:1}.chessimals-challenge-live{order:4;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.35fr);gap:.65rem;align-items:stretch;border:1px solid rgba(var(--chessimals-sky-rgb),.28);border-radius:8px;padding:.68rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.13),transparent 52%),var(--chessimals-elevated-soft);color:var(--chessimals-text)}.chessimals-challenge-live__rival{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.55rem;align-items:center;min-width:0}.chessimals-challenge-live__rival>.chessimals-bot-avatar{display:grid;place-items:center;width:2.7rem;height:2.7rem;border-radius:8px;background:rgba(var(--chessimals-sky-rgb),.16);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14);font-size:1.35rem}.chessimals-challenge-live__rival div{display:grid;gap:.08rem;min-width:0}.chessimals-challenge-live__rival small,.chessimals-challenge-live__metrics small{overflow:hidden;color:var(--chessimals-muted);font-size:.64rem;font-weight:900;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-challenge-live__rival strong{overflow:hidden;color:var(--chessimals-text);font-size:1rem;font-weight:1000;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-live__rival p{display:-webkit-box;overflow:hidden;margin:0;color:var(--chessimals-muted);font-size:.78rem;font-weight:820;line-height:1.18;-webkit-box-orient:vertical;-webkit-line-clamp:2}.chessimals-challenge-live__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.42rem}.chessimals-challenge-live__metrics span{display:grid;gap:.1rem;align-content:center;min-width:0;min-height:3rem;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:8px;padding:.4rem .45rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-live__metrics b{overflow:hidden;color:var(--chessimals-text);font-size:.92rem;font-weight:1000;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-tension--live{grid-column:1 / -1;padding:.55rem}.chessimals-difficulty{display:flex;flex-wrap:wrap;gap:.55rem}.chessimals-difficulty button{min-height:2.75rem;border:1px solid var(--chessimals-border);border-radius:999px;padding:0 1rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;font-weight:950}.chessimals-difficulty button.is-selected{border-color:var(--chessimals-primary);background:var(--chessimals-primary);color:#fff}.chessimals-bots{display:grid;grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));gap:.625rem}.chessimals-bots button{display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"avatar title\" \"avatar body\" \"avatar tendency\";column-gap:.55rem;row-gap:.12rem;min-width:0;min-height:4.75rem;border:1px solid var(--chessimals-border);border-radius:1rem;padding:.65rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;text-align:left}.chessimals-bots button>.chessimals-bot-avatar{grid-area:avatar;display:grid;place-items:center;width:2.1rem;height:2.1rem;border-radius:50%;background:rgba(var(--chessimals-primary-rgb),.12);font-size:1.2rem}.chessimals-bots button strong{grid-area:title;align-self:end;font-size:.95rem;font-weight:950}.chessimals-bots button small{grid-area:body;color:var(--chessimals-muted);font-size:.75rem;font-weight:750;line-height:1.25}.chessimals-bots button p{grid-area:tendency;margin:.12rem 0 0;color:var(--chessimals-muted);font-size:.72rem;font-weight:820;line-height:1.24}.chessimals-bots button.is-selected{border-color:var(--chessimals-primary);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.13),transparent),var(--chessimals-panel);box-shadow:0 0 0 2px rgba(var(--chessimals-primary-rgb),.16),0 .75rem 1.5rem rgba(var(--chessimals-primary-rgb),.1)}.chessimals-size strong,.chessimals-mode strong,.chessimals-status strong,.chessimals-result strong,.chessimals-rematch-status strong,.chessimals-tip strong{font-weight:950}.chessimals-status strong{min-width:0;font-size:clamp(.95rem,2.5vw,1.2rem);line-height:1.08;overflow-wrap:anywhere;white-space:normal}.chessimals-size small,.chessimals-mode small,.chessimals-status small{color:var(--chessimals-muted);font-size:.78rem;line-height:1.12}.chessimals-board-wrap{--chessimals-board-radius: min(.85rem, 14px);display:flex;justify-content:center;min-width:0;max-width:100%;overflow-x:auto;width:100%;padding:.25rem 0}.chessimals-board-wrap.is-orienting .chessimals-board-frame{animation:chessimals-orient-board .32s ease}.chessimals-board-wrap.is-finished{overflow-x:visible}.chessimals-board-frame{flex:0 1 58rem;min-width:0;width:100%;max-width:58rem;border-radius:var(--chessimals-board-radius)}.chessimals-board{position:relative;display:grid;grid-template-columns:repeat(var(--board-size),minmax(0,1fr));grid-template-rows:repeat(var(--board-size),minmax(0,1fr));min-width:0;width:100%;aspect-ratio:1 / 1;overflow:hidden;isolation:isolate;contain:paint;border:1px solid var(--chessimals-border);border-radius:var(--chessimals-board-radius);clip-path:inset(0 round var(--chessimals-board-radius));-webkit-mask-image:-webkit-radial-gradient(white,black);background:radial-gradient(ellipse at 16% 18%,rgba(255,255,255,.34),transparent 18%),radial-gradient(ellipse at 82% 78%,rgba(var(--chessimals-primary-rgb),.1),transparent 22%),radial-gradient(ellipse at 32% 68%,rgba(var(--chessimals-stone-rgb),.05),transparent 30%),radial-gradient(ellipse at 66% 34%,rgba(255,255,255,.08),transparent 24%),var(--chessimals-border);box-shadow:inset 0 0 0 1px #ffffff1a,0 .85rem 2.1rem var(--chessimals-board-shadow)}.chessimals-board-wrap.is-syncing .chessimals-board{cursor:wait}.chessimals-cell-coordinate{position:absolute;z-index:5;color:color-mix(in srgb,var(--chessimals-muted) 78%,var(--chessimals-text));font-size:.68rem;font-weight:950;letter-spacing:.02em;line-height:1;pointer-events:none;text-transform:uppercase;-webkit-user-select:none;user-select:none}.chessimals-cell-coordinate--rank{top:.2rem;left:.24rem}.chessimals-cell-coordinate--file{right:.24rem;bottom:.18rem}@keyframes chessimals-orient-board{0%{opacity:.72;filter:blur(.06rem);transform:scale(.985)}52%{opacity:.92;filter:blur(0);transform:scale(1.012)}to{opacity:1;filter:blur(0);transform:scale(1)}}.chessimals-center-line{position:absolute;top:50%;left:0;right:0;z-index:2;display:flex;align-items:center;justify-content:center;border-top:.08rem dashed rgba(var(--chessimals-primary-rgb),.56);filter:drop-shadow(0 0 .24rem rgba(var(--chessimals-primary-rgb),.26));pointer-events:none}.chessimals-power-trail{position:absolute;inset:0;z-index:5;pointer-events:none;--trail-color: rgba(var(--chessimals-magic-rgb), .88);--trail-glow: rgba(var(--chessimals-magic-rgb), .48)}.chessimals-power-trail.is-capture{--trail-color: rgba(var(--chessimals-capture-rgb), .86);--trail-glow: rgba(var(--chessimals-capture-rgb), .46)}.chessimals-power-trail.effect-eagle{--trail-color: rgba(255, 255, 255, .92);--trail-glow: rgba(120, 210, 255, .54)}.chessimals-power-trail.effect-bull{--trail-color: rgba(188, 131, 76, .86);--trail-glow: rgba(188, 131, 76, .36)}.chessimals-power-trail.effect-kangaroo{--trail-color: rgba(174, 124, 255, .86);--trail-glow: rgba(174, 124, 255, .42)}.chessimals-power-trail.effect-lion{--trail-color: rgba(255, 221, 120, .88);--trail-glow: rgba(255, 190, 56, .42)}.chessimals-power-trail>span{position:absolute;top:var(--trail-y);left:var(--trail-x);width:var(--trail-length);height:.45rem;border-radius:999px;background:linear-gradient(90deg,transparent,var(--trail-color) 42%,rgba(255,255,255,.92));box-shadow:0 0 .75rem var(--trail-glow),0 0 1.45rem var(--trail-glow);transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0);transform-origin:0 50%;animation:chessimals-power-trail .72s ease-out both}.chessimals-power-trail.effect-eagle>span{height:.28rem;background:linear-gradient(90deg,transparent,rgba(255,255,255,.95) 44%,rgba(120,210,255,.58)),repeating-linear-gradient(90deg,transparent 0 .7rem,rgba(255,255,255,.66) .7rem .92rem);animation-name:chessimals-eagle-trail}.chessimals-power-trail.effect-bull>span{height:.72rem;background:repeating-linear-gradient(90deg,rgba(255,255,255,.42) 0 .18rem,transparent .18rem .42rem),linear-gradient(90deg,transparent,var(--trail-color),rgba(255,255,255,.86));animation-name:chessimals-bull-trail}.chessimals-power-trail.effect-kangaroo>span{height:1rem;border-top:.16rem dashed var(--trail-color);background:transparent;box-shadow:none;filter:drop-shadow(0 0 .8rem var(--trail-glow));animation-name:chessimals-kangaroo-trail}.chessimals-power-trail.effect-lion>span{height:.62rem;background:linear-gradient(90deg,transparent,var(--trail-color),rgba(255,255,255,.82)),repeating-linear-gradient(115deg,rgba(255,255,255,.55) 0 .12rem,transparent .12rem .34rem);animation-name:chessimals-lion-trail}@keyframes chessimals-power-trail{0%{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0)}28%{opacity:1;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(.72)}to{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1)}}@keyframes chessimals-eagle-trail{0%{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0) skew(-10deg)}30%{opacity:1;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(.82) skew(-10deg)}to{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1.05) skew(-10deg)}}@keyframes chessimals-bull-trail{0%{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0) scaleY(1)}38%{opacity:1;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(.7) scaleY(1.18)}to{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1) scaleY(.82)}}@keyframes chessimals-kangaroo-trail{0%{opacity:0;transform:translateY(-.4rem) rotate(var(--trail-angle)) scaleX(0)}34%{opacity:1;transform:translateY(-1.2rem) rotate(var(--trail-angle)) scaleX(.62)}to{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1)}}@keyframes chessimals-lion-trail{0%{opacity:0;filter:saturate(1);transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0)}36%{opacity:1;filter:saturate(1.4);transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(.76)}to{opacity:0;filter:saturate(1.1);transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1)}}@keyframes chessimals-score-pulse{0%,to{transform:translateZ(0) scale(1)}42%{transform:translateZ(0) scale(1.035)}}.chessimals-challenge-intro{position:absolute;inset:0;z-index:7;display:grid;place-items:center;padding:clamp(.75rem,4vw,1.35rem);background:radial-gradient(circle at 50% 36%,rgba(var(--chessimals-sky-rgb),.24),transparent 34%),linear-gradient(135deg,#140c167a,#08120d57);backdrop-filter:blur(1.5px);animation:chessimals-challenge-intro-in .26s ease-out both}.chessimals-challenge-intro__card{display:grid;justify-items:center;gap:.55rem;width:min(18rem,92%);border:1px solid rgba(var(--chessimals-sky-rgb),.34);border-radius:8px;padding:.85rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.14),transparent),var(--chessimals-elevated-strong);color:var(--chessimals-text);box-shadow:0 1.1rem 2.3rem #0000003d,inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.08);text-align:center}.chessimals-challenge-intro__avatar{display:grid;place-items:center;width:4rem;height:4rem;border-radius:8px;background:radial-gradient(circle at 35% 24%,var(--chessimals-glass-highlight),transparent 30%),rgba(var(--chessimals-sky-rgb),.16);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.16),0 .7rem 1.5rem rgba(var(--chessimals-sky-rgb),.18);font-size:2.15rem}.chessimals-challenge-intro__copy{display:grid;gap:.14rem;min-width:0}.chessimals-challenge-intro__copy small,.chessimals-challenge-intro__facts small{overflow:hidden;color:var(--chessimals-muted);font-size:.64rem;font-weight:950;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-challenge-intro__copy strong{overflow:hidden;color:var(--chessimals-text);font-size:1.35rem;font-weight:1000;line-height:1.04;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-intro__copy p{display:-webkit-box;overflow:hidden;margin:0;color:var(--chessimals-muted);font-size:.88rem;font-weight:820;line-height:1.24;-webkit-box-orient:vertical;-webkit-line-clamp:2}.chessimals-challenge-intro__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;width:100%}.chessimals-challenge-intro__facts span{display:grid;gap:.1rem;min-width:0;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:8px;padding:.38rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-intro__facts b{overflow:hidden;color:var(--chessimals-text);font-size:.86rem;font-weight:1000;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-intro .chessimals-primary{min-height:2.45rem;width:100%}@keyframes chessimals-challenge-intro-in{0%{opacity:0}to{opacity:1}}.chessimals-board-overlay{position:absolute;inset:0;z-index:8;display:grid;place-content:center;gap:.5rem;padding:1.25rem;background:radial-gradient(circle at 50% 34%,rgba(255,226,129,.34),transparent 24%),radial-gradient(circle at 50% 52%,rgba(var(--chessimals-primary-rgb),.34),transparent 42%),linear-gradient(135deg,#140c16e0,#08120dc7);color:#fff;text-align:center;backdrop-filter:blur(2px);overflow:hidden}.chessimals-board-overlay.is-defeat{background:radial-gradient(circle at 50% 34%,rgba(143,168,206,.26),transparent 24%),radial-gradient(circle at 50% 52%,rgba(72,86,115,.42),transparent 42%),linear-gradient(135deg,#090c14e6,#1c1e2bcc)}.chessimals-board-overlay:before{position:absolute;inset:0;background:radial-gradient(circle at 20% 30%,rgba(255,255,255,.58) 0 .08rem,transparent .1rem),radial-gradient(circle at 75% 25%,rgba(255,226,129,.7) 0 .1rem,transparent .12rem),radial-gradient(circle at 68% 72%,rgba(var(--chessimals-capture-rgb),.54) 0 .08rem,transparent .1rem),radial-gradient(circle at 35% 78%,rgba(255,255,255,.48) 0 .07rem,transparent .09rem),radial-gradient(circle at 84% 66%,rgba(255,255,255,.38) 0 .06rem,transparent .08rem),radial-gradient(circle at 14% 64%,rgba(255,226,129,.48) 0 .07rem,transparent .09rem);content:\"\";opacity:.72;animation:chessimals-victory-sparks 1.5s ease-in-out infinite}.chessimals-board-overlay__rays{position:absolute;inset:-18%;background:conic-gradient(from 8deg,transparent 0 7deg,rgba(255,226,129,.16) 7deg 11deg,transparent 11deg 22deg);opacity:.85;animation:chessimals-finale-rays 8s linear infinite}.chessimals-board-overlay.is-defeat .chessimals-board-overlay__rays{background:conic-gradient(from 8deg,transparent 0 8deg,rgba(180,204,240,.1) 8deg 12deg,transparent 12deg 24deg);animation-duration:12s}.chessimals-board-overlay__ribbon{position:absolute;top:-20%;width:.42rem;height:54%;border-radius:999px;background:linear-gradient(to bottom,transparent,rgba(255,226,129,.72),transparent);opacity:.7;transform:rotate(var(--ribbon-angle, 12deg));animation:chessimals-finale-ribbon 2.5s ease-in-out infinite}.chessimals-board-overlay.is-defeat .chessimals-board-overlay__ribbon{background:linear-gradient(to bottom,transparent,rgba(180,204,240,.42),transparent);opacity:.48}.chessimals-board-overlay__ribbon.ribbon-a{left:18%;--ribbon-angle: -18deg}.chessimals-board-overlay__ribbon.ribbon-b{left:50%;--ribbon-angle: 8deg;animation-delay:.32s}.chessimals-board-overlay__ribbon.ribbon-c{right:18%;--ribbon-angle: 20deg;animation-delay:.64s}.chessimals-board-overlay>*{position:relative;z-index:1}.chessimals-board-overlay span{justify-self:center;border-radius:999px;padding:.32rem .7rem;background:#ffffff26;color:#ffffffe6;font-size:.76rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-board-overlay strong{font-size:clamp(1.65rem,8vw,3rem);line-height:1;font-weight:950;text-shadow:0 0 1.25rem rgba(255,255,255,.26)}.chessimals-board-overlay em{justify-self:center;display:grid;place-items:center;width:clamp(3rem,14vw,4.6rem);height:clamp(3rem,14vw,4.6rem);border:.16rem solid rgba(255,255,255,.62);border-radius:50%;background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.72),transparent 18%),linear-gradient(135deg,#ffe281,#b98436);color:#2d2412;font-size:clamp(1.1rem,5vw,1.65rem);font-style:normal;font-weight:950;box-shadow:0 0 0 .45rem #ffe2811f,0 1rem 2rem #00000042;animation:chessimals-finale-medal 1.8s ease-in-out infinite}.chessimals-board-overlay.is-defeat em{background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.48),transparent 18%),linear-gradient(135deg,#d9e2ef,#69758e);color:#182032;box-shadow:0 0 0 .45rem #b4ccf01a,0 1rem 2rem #00000052}.chessimals-board-overlay em.has-avatar{overflow:hidden;background:#fff;padding:0}.chessimals-board-overlay em.has-avatar img{display:block;width:100%;height:100%;object-fit:cover}.chessimals-board-overlay b{justify-self:center;color:#fffc;font-size:.8rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-board-overlay small{color:#ffffffd1;font-size:clamp(.9rem,3vw,1.1rem);font-weight:800}.chessimals-board-overlay__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem;width:min(26rem,92%);margin:.2rem auto 0}.chessimals-board-overlay__stats div{display:grid;gap:.08rem;min-width:0;border:1px solid rgba(255,255,255,.18);border-radius:.75rem;padding:.42rem .46rem;background:#ffffff1a;backdrop-filter:blur(3px)}.chessimals-board-overlay__stats dt,.chessimals-board-overlay__stats dd{overflow:hidden;margin:0;text-overflow:ellipsis;white-space:nowrap}.chessimals-board-overlay__stats dt{color:#ffffffad;font-size:clamp(.52rem,2.1vw,.66rem);font-weight:950;letter-spacing:.04em;text-transform:uppercase}.chessimals-board-overlay__stats dd{color:#fff;font-size:clamp(.68rem,2.8vw,.88rem);font-weight:950}@keyframes chessimals-victory-sparks{0%,to{opacity:.46;transform:translateY(0) scale(.98)}50%{opacity:.95;transform:translateY(-.35rem) scale(1.02)}}@keyframes chessimals-finale-rays{to{transform:rotate(360deg)}}@keyframes chessimals-finale-ribbon{0%,to{opacity:.18;transform:translateY(-.5rem) rotate(var(--ribbon-angle))}50%{opacity:.75;transform:translateY(1.4rem) rotate(var(--ribbon-angle))}}@keyframes chessimals-finale-medal{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-.18rem) scale(1.04)}}.chessimals-cell{position:relative;isolation:isolate;--chessimals-cell-bg: var(--chessimals-cell-light);display:grid;place-items:center;min-width:0;min-height:0;aspect-ratio:1;border:0;background:radial-gradient(ellipse at 26% 24%,rgba(255,255,255,.12),transparent 24%),radial-gradient(ellipse at 78% 76%,rgba(61,54,36,.06),transparent 28%),linear-gradient(135deg,rgba(255,255,255,.04),transparent 52%,rgba(52,44,28,.04)),var(--chessimals-cell-bg);color:var(--chessimals-text);font:inherit;overflow:hidden;transition:background .16s ease,box-shadow .16s ease,transform .16s ease}.chessimals-cell:before,.chessimals-cell:after{pointer-events:none}.chessimals-cell-texture{position:absolute;inset:0;z-index:0;display:block;pointer-events:none;opacity:.42;mix-blend-mode:multiply;background:radial-gradient(ellipse at var(--wear-x, 28%) var(--wear-y, 32%),rgba(255,255,255,.16),transparent 17%),radial-gradient(ellipse at var(--wear-x2, 74%) var(--wear-y2, 68%),rgba(75,66,42,.09),transparent 25%),repeating-linear-gradient(var(--wear-angle, 26deg),rgba(75,66,42,.045) 0 1px,transparent 1px .52rem),linear-gradient(135deg,rgba(255,255,255,.06),transparent 42%,rgba(52,44,28,.045))}.chessimals-cell-texture:after{position:absolute;inset:.08rem;border:1px solid rgba(75,66,42,.05);border-radius:.18rem;box-shadow:inset .08rem .08rem #ffffff14,inset -.08rem -.08rem #342c1c0b;content:\"\"}.chessimals-cell.is-edge-cell .chessimals-cell-texture{opacity:.56;background:radial-gradient(ellipse at var(--wear-x, 28%) var(--wear-y, 32%),rgba(255,255,255,.14),transparent 18%),radial-gradient(ellipse at var(--wear-x2, 74%) var(--wear-y2, 68%),rgba(75,66,42,.14),transparent 28%),linear-gradient(135deg,rgba(70,52,28,.055),transparent 44%,rgba(52,44,28,.09)),repeating-linear-gradient(var(--wear-angle, 26deg),rgba(75,66,42,.055) 0 1px,transparent 1px .48rem)}.chessimals-cell.wear-0{--wear-x: 22%;--wear-y: 24%;--wear-x2: 78%;--wear-y2: 72%;--wear-angle: 18deg}.chessimals-cell.wear-1{--wear-x: 64%;--wear-y: 18%;--wear-x2: 30%;--wear-y2: 76%;--wear-angle: -24deg}.chessimals-cell.wear-2{--wear-x: 42%;--wear-y: 58%;--wear-x2: 82%;--wear-y2: 26%;--wear-angle: 42deg}.chessimals-cell.wear-3{--wear-x: 74%;--wear-y: 68%;--wear-x2: 24%;--wear-y2: 28%;--wear-angle: -12deg}.chessimals-cell.wear-4{--wear-x: 34%;--wear-y: 18%;--wear-x2: 62%;--wear-y2: 84%;--wear-angle: 64deg}.chessimals-cell.wear-5{--wear-x: 18%;--wear-y: 70%;--wear-x2: 70%;--wear-y2: 34%;--wear-angle: -48deg}:host-context(html.ion-palette-dark) .chessimals-cell-texture,:host-context([data-theme=\"dark\"]) .chessimals-cell-texture{opacity:.34;mix-blend-mode:soft-light}.chessimals-cell.is-dark-cell{--chessimals-cell-bg: var(--chessimals-cell-dark)}.chessimals-cell.is-selected{z-index:1;background:radial-gradient(circle,rgba(var(--chessimals-selected-rgb),.28) 0 36%,transparent 62%),linear-gradient(135deg,rgba(var(--chessimals-selected-rgb),.22),#ffffff14),var(--chessimals-cell-bg);box-shadow:inset 0 0 0 .18rem var(--chessimals-selected),inset 0 0 .55rem #ffffffb8,inset 0 0 1.8rem rgba(var(--chessimals-selected-rgb),.42),0 0 .55rem rgba(var(--chessimals-selected-rgb),.56),0 0 1.55rem rgba(var(--chessimals-selected-rgb),.36)}.chessimals-board.is-power-aiming .chessimals-cell.is-selected{background:radial-gradient(circle at 50% 52%,rgba(var(--chessimals-magic-rgb),.38) 0 34%,transparent 64%),radial-gradient(circle at 32% 24%,rgba(255,255,255,.34),transparent 28%),linear-gradient(135deg,rgba(var(--chessimals-magic-rgb),.2),#ffffff14),var(--chessimals-cell-bg);box-shadow:inset 0 0 0 .18rem var(--chessimals-magic-hot),inset 0 0 .8rem #ffffffa8,inset 0 0 1.9rem rgba(var(--chessimals-magic-rgb),.5),0 0 .7rem rgba(var(--chessimals-magic-rgb),.62),0 0 1.75rem rgba(var(--chessimals-magic-rgb),.42)}.chessimals-board.is-power-aiming .chessimals-cell.is-legal:not(.is-capture):after{border-color:rgba(var(--chessimals-magic-rgb),.94);box-shadow:0 0 .72rem rgba(var(--chessimals-magic-rgb),.48),inset 0 0 .6rem #fff3}.chessimals-board.is-power-aiming .chessimals-target{background:var(--chessimals-magic-hot);box-shadow:0 0 0 .2rem rgba(var(--chessimals-magic-rgb),.2),0 0 .95rem rgba(var(--chessimals-magic-rgb),.62)}.chessimals-cell.is-legal:not(.is-capture):after{position:absolute;inset:13%;z-index:2;border:max(2px,1.8%) solid var(--chessimals-move);border-radius:.55rem;content:\"\";opacity:.74;pointer-events:none}.chessimals-cell.is-last:not(.is-selected):not(.is-legal):not(.is-capture){background:radial-gradient(circle,rgba(var(--chessimals-last-rgb),.16) 0 42%,transparent 68%),var(--chessimals-cell-bg)}.chessimals-cell.is-capture{z-index:2;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.24),transparent 34%),linear-gradient(135deg,rgba(var(--chessimals-capture-rgb),.14),#ffffff14),var(--chessimals-cell-bg);box-shadow:inset 0 0 0 .14rem rgba(var(--chessimals-capture-rgb),.84),inset 0 0 1.4rem rgba(var(--chessimals-capture-rgb),.24),0 0 .95rem rgba(var(--chessimals-capture-rgb),.34);animation:chessimals-capture-aura 1.35s ease-in-out infinite}.chessimals-cell.is-capture:before{position:absolute;inset:4%;z-index:1;display:block;border-radius:.64rem;background:linear-gradient(90deg,transparent,rgba(255,255,255,.52),transparent),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.24),transparent 58%);content:\"\";opacity:0;transform:translate(-42%) scale(.9);animation:chessimals-capture-sweep 1.35s ease-in-out infinite}.chessimals-cell.is-capture:after{position:absolute;inset:8%;z-index:3;border:max(2px,1.55%) solid rgba(var(--chessimals-capture-rgb),.9);border-radius:.62rem;box-shadow:0 0 .75rem rgba(var(--chessimals-capture-rgb),.5),inset 0 0 .72rem #ffffff38;content:\"\";pointer-events:none;animation:chessimals-capture-frame 1.35s ease-in-out infinite}.chessimals-cell.has-capture-ready:not(.is-selected):after{position:absolute;inset:16%;z-index:3;border:max(2px,1.45%) solid rgba(var(--chessimals-selected-rgb),.72);border-radius:999px;box-shadow:0 0 .65rem rgba(var(--chessimals-selected-rgb),.34),inset 0 0 .55rem #ffffff2e;content:\"\"}.chessimals-cell.is-winning.is-legal:not(.is-capture):after{border-color:rgba(var(--chessimals-warning-rgb),.92);border-radius:999px;box-shadow:0 0 .75rem rgba(var(--chessimals-warning-rgb),.48),inset 0 0 .58rem #ffffff38}.chessimals-cell.is-winning .chessimals-target{background:var(--chessimals-warning);box-shadow:0 0 0 .22rem rgba(var(--chessimals-warning-rgb),.2),0 0 .95rem rgba(var(--chessimals-warning-rgb),.56)}.chessimals-cell.has-threat:not(.is-selected):not(.is-capture){background:radial-gradient(circle at 50% 52%,rgba(var(--chessimals-warning-rgb),.16),transparent 52%),var(--chessimals-cell-bg)}.chessimals-cell.has-threat:not(.is-selected):not(.is-capture) .chessimals-piece{filter:drop-shadow(0 0 .38rem rgba(var(--chessimals-warning-rgb),.52)) var(--chessimals-piece-white-shadow)}.chessimals-cell.has-threat:not(.is-selected):not(.is-capture) .chessimals-piece.is-black{filter:drop-shadow(0 0 .38rem rgba(var(--chessimals-warning-rgb),.52)) var(--chessimals-piece-black-shadow)}.chessimals-cell.has-threat:not(.is-selected):not(.is-capture):before{position:absolute;top:.26rem;right:.26rem;z-index:4;width:.48rem;height:.48rem;border-radius:999px;background:rgba(var(--chessimals-warning-rgb),.96);box-shadow:0 0 0 .18rem rgba(var(--chessimals-warning-rgb),.22);content:\"\"}@keyframes chessimals-capture-aura{0%,to{filter:saturate(1);box-shadow:inset 0 0 0 .12rem rgba(var(--chessimals-capture-rgb),.78),inset 0 0 1rem rgba(var(--chessimals-capture-rgb),.2),0 0 .64rem rgba(var(--chessimals-capture-rgb),.32)}50%{filter:saturate(1.22);box-shadow:inset 0 0 0 .16rem rgba(var(--chessimals-capture-rgb),.96),inset 0 0 1.34rem rgba(var(--chessimals-capture-rgb),.34),0 0 1.2rem rgba(var(--chessimals-capture-rgb),.48)}}@keyframes chessimals-capture-sweep{0%{opacity:0;transform:translate(-52%) scale(.88)}42%{opacity:.66;transform:translate(0) scale(1)}to{opacity:0;transform:translate(48%) scale(.92)}}@keyframes chessimals-capture-frame{0%,to{opacity:.68;transform:scale(.96)}50%{opacity:1;transform:scale(1)}}.chessimals-cell.has-source-effect:not(.is-moving-source){background:radial-gradient(circle,rgba(var(--chessimals-selected-rgb),.12) 0 34%,transparent 64%),var(--chessimals-cell-bg)}.chessimals-cell.has-move-effect{z-index:2;background:radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.22) 0 34%,transparent 68%),var(--chessimals-cell-bg);box-shadow:inset 0 0 0 .16rem rgba(var(--chessimals-capture-rgb),.86),inset 0 0 1.2rem rgba(var(--chessimals-capture-rgb),.26),0 0 1.1rem rgba(var(--chessimals-capture-rgb),.42)}.chessimals-cell.has-move-effect:before{position:absolute;inset:.12rem;z-index:1;display:block;border-radius:.7rem;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.48),transparent 22%),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.42),transparent 58%);content:\"\";opacity:0;transform:scale(.72);animation:chessimals-power-impact .7s ease-out both}.chessimals-cell.has-move-effect:after{position:absolute;inset:.28rem;z-index:4;display:block;border:.14rem solid rgba(255,255,255,.72);border-radius:.58rem;box-shadow:0 0 .5rem #ffffff5c,0 0 1rem rgba(var(--chessimals-capture-rgb),.32);content:\"\";animation:chessimals-power-frame .86s ease-out both}.chessimals-cell.has-capture-effect{animation:chessimals-capture-hit .78s ease-out both}.chessimals-cell.effect-eagle:before{background:linear-gradient(135deg,transparent 10%,rgba(255,255,255,.78) 48%,transparent 52%),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.36),transparent 62%)}.chessimals-cell.effect-bull:before{background:repeating-linear-gradient(90deg,rgba(255,255,255,.34) 0 .16rem,transparent .16rem .34rem),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.38),transparent 62%)}.chessimals-cell.effect-kangaroo:before{border-radius:999px;background:radial-gradient(circle at 42% 44%,rgba(255,255,255,.58),transparent 18%),radial-gradient(circle at 58% 56%,rgba(var(--chessimals-capture-rgb),.4),transparent 64%)}.chessimals-cell.effect-lion:before{background:conic-gradient(from 0deg,transparent,rgba(255,255,255,.56),transparent,rgba(var(--chessimals-capture-rgb),.4),transparent),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.34),transparent 62%)}@keyframes chessimals-power-impact{0%{opacity:0;transform:scale(.54) rotate(0)}28%{opacity:1;transform:scale(.96) rotate(2deg)}to{opacity:0;transform:scale(1.3) rotate(8deg)}}@keyframes chessimals-power-frame{0%{opacity:0;transform:scale(.84)}34%{opacity:1;transform:scale(1.02)}to{opacity:0;transform:scale(1.16)}}@keyframes chessimals-capture-hit{0%,to{filter:saturate(1)}35%{filter:saturate(1.35) brightness(1.08)}}.chessimals-cell.is-moving-source .chessimals-piece{opacity:0}.chessimals-piece{position:relative;z-index:2;display:block;width:68%;height:74%;color:var(--chessimals-primary);--chessimals-piece-fill: var(--chessimals-piece-white-fill);--chessimals-piece-side: var(--chessimals-piece-white-side);--chessimals-piece-line: var(--chessimals-piece-white-line);--chessimals-piece-outline: rgba(82, 65, 46, .34);filter:var(--chessimals-piece-white-shadow)}.chessimals-piece.is-black{color:#fff;--chessimals-piece-fill: var(--chessimals-piece-black-fill);--chessimals-piece-side: var(--chessimals-piece-black-side);--chessimals-piece-line: var(--chessimals-piece-black-line);--chessimals-piece-outline: rgba(255, 255, 255, .22);filter:var(--chessimals-piece-black-shadow)}.chessimals-moving-piece{position:absolute;top:0;left:0;z-index:6;width:calc(100% / var(--board-size));height:calc(100% / var(--board-size));display:grid;place-items:center;pointer-events:none;transform:translate(calc(var(--from-col) * 100%),calc(var(--from-row) * 100%));animation:chessimals-piece-travel .36s cubic-bezier(.2,.82,.24,1) both}@keyframes chessimals-piece-travel{0%{transform:translate(calc(var(--from-col) * 100%),calc(var(--from-row) * 100%)) scale(1)}68%{transform:translate(calc(var(--to-col) * 100%),calc(var(--to-row) * 100%)) scale(1.07)}to{transform:translate(calc(var(--to-col) * 100%),calc(var(--to-row) * 100%)) scale(1)}}.chessimals-piece__side,.chessimals-piece__head,.chessimals-piece__collar,.chessimals-piece__neck,.chessimals-piece__base{position:absolute;display:block;left:50%;background:var(--chessimals-piece-fill);border:max(1px,1.25%) solid var(--chessimals-piece-outline);transform:translate(-50%)}.chessimals-piece__side{top:46%;z-index:0;width:58%;height:41%;border-radius:34% 34% 12% 12%;background:linear-gradient(96deg,var(--chessimals-piece-side) 0 34%,transparent 35%),var(--chessimals-piece-fill);clip-path:polygon(22% 0,78% 0,96% 100%,4% 100%);opacity:.92}.chessimals-piece__head{top:1%;z-index:4;width:48%;height:40%;border-radius:999px;background:radial-gradient(circle at 30% 22%,rgba(255,255,255,.72) 0 13%,transparent 14%),linear-gradient(135deg,rgba(255,255,255,.28) 0 34%,transparent 35%),var(--chessimals-piece-fill);box-shadow:inset -.18rem -.12rem #52412e0f,inset 0 -1px 0 var(--chessimals-piece-line)}.chessimals-piece.is-black .chessimals-piece__head{box-shadow:inset .18rem -.12rem #ffffff0f,inset 0 -1px 0 var(--chessimals-piece-line)}.chessimals-piece__collar{top:37%;z-index:5;width:72%;height:15%;border-radius:999px;background:linear-gradient(180deg,#f5cd77 0%,var(--chessimals-piece-gold) 55%,var(--chessimals-piece-gold-dark) 100%);border-color:color-mix(in srgb,var(--chessimals-piece-gold-dark) 72%,transparent);box-shadow:inset 0 .12rem #ffffff47,inset 0 -.08rem #462e1238,0 .08rem .18rem #462e1224}.chessimals-piece__neck{top:50%;z-index:2;width:52%;height:31%;clip-path:polygon(16% 0,84% 0,100% 100%,0 100%);background:linear-gradient(100deg,var(--chessimals-piece-side) 0 28%,transparent 29%),linear-gradient(180deg,var(--chessimals-piece-fill),color-mix(in srgb,var(--chessimals-piece-fill) 78%,var(--chessimals-piece-side)));box-shadow:inset -.12rem .1rem #ffffff14}.chessimals-piece__base{bottom:0;z-index:6;width:86%;height:17%;border-radius:.42rem .42rem .22rem .22rem;background:linear-gradient(100deg,var(--chessimals-piece-side) 0 18%,transparent 19%),linear-gradient(180deg,color-mix(in srgb,var(--chessimals-piece-fill) 92%,#ffffff),var(--chessimals-piece-fill));box-shadow:inset 0 .12rem #ffffff24,inset 0 -.1rem 0 var(--chessimals-piece-line)}.chessimals-target{width:16%;height:16%;border-radius:999px;background:var(--chessimals-move);opacity:.9;box-shadow:0 0 .9rem rgba(var(--chessimals-move-rgb),.42)}.chessimals-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.625rem}.chessimals-cards button{position:relative;isolation:isolate;display:grid;grid-template-rows:minmax(5.4rem,1fr) auto;gap:.5rem;place-items:stretch;min-height:8.15rem;padding:.55rem .55rem .7rem;border:.12rem solid rgba(var(--chessimals-magic-rgb),.54);border-radius:1.125rem;background:radial-gradient(circle at 50% 18%,rgba(255,255,255,.9),transparent 36%),linear-gradient(180deg,rgba(var(--chessimals-magic-rgb),.24),rgba(var(--chessimals-magic-deep),.08) 58%,transparent),var(--chessimals-panel);color:var(--chessimals-text);font:inherit;box-shadow:inset 0 0 0 .14rem #ffffff75,0 .55rem 1.2rem rgba(var(--chessimals-magic-rgb),.14);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.chessimals-powers__heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.chessimals-powers p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.chessimals-powers__heading span{flex:0 0 auto;border-radius:999px;padding:.28rem .62rem;background:rgba(var(--chessimals-primary-rgb),.12);color:var(--chessimals-primary);font-size:.78rem;font-weight:950}.chessimals-cards button.is-selected{border-color:var(--chessimals-magic-hot);background:radial-gradient(circle at 50% 16%,rgba(255,255,255,.42),transparent 30%),radial-gradient(circle at 50% 76%,rgba(var(--chessimals-magic-rgb),.2),transparent 56%),linear-gradient(135deg,rgba(var(--chessimals-magic-rgb),.2),#ffffff0a),var(--chessimals-panel);box-shadow:0 0 0 2px rgba(var(--chessimals-magic-rgb),.28),0 0 1.35rem rgba(var(--chessimals-magic-rgb),.48),0 .9rem 2rem rgba(var(--chessimals-magic-rgb),.18);transform:translateY(-1px)}.chessimals-cards button.is-selected:before,.chessimals-cards button.is-selected:after{position:absolute;inset:-.5rem;z-index:0;border-radius:inherit;content:\"\";pointer-events:none}.chessimals-cards button>*{position:relative;z-index:1}.chessimals-cards button.is-selected:before{background:radial-gradient(circle at 18% 24%,rgba(var(--chessimals-magic-rgb),.88) 0 .08rem,transparent .1rem),radial-gradient(circle at 78% 20%,rgba(255,255,255,.86) 0 .07rem,transparent .09rem),radial-gradient(circle at 86% 62%,rgba(var(--chessimals-magic-rgb),.72) 0 .06rem,transparent .08rem),radial-gradient(circle at 28% 78%,rgba(255,245,111,.78) 0 .07rem,transparent .09rem),radial-gradient(circle at 54% 8%,rgba(255,255,255,.68) 0 .05rem,transparent .07rem);opacity:.8;animation:chessimalsMagicParticles 1.8s ease-in-out infinite}.chessimals-cards button.is-selected:after{background:conic-gradient(from 12deg,transparent 0 16deg,rgba(var(--chessimals-magic-rgb),.2) 16deg 22deg,transparent 22deg 44deg);opacity:.68;filter:blur(.04rem);animation:chessimalsMagicAura 3.2s linear infinite}.chessimals-cards button.is-used{opacity:.42}.chessimals-animal-face{display:grid;place-items:center;width:100%;min-height:5.4rem;overflow:hidden;border:.12rem solid rgba(var(--chessimals-magic-deep),.62);border-radius:.9rem;background:radial-gradient(circle at 50% 34%,rgba(255,255,255,.96),transparent 44%),linear-gradient(135deg,rgba(var(--chessimals-magic-rgb),.38),rgba(var(--chessimals-magic-deep),.14)),var(--chessimals-animal-face-bg);color:color-mix(in srgb,var(--chessimals-text) 92%,#000);box-shadow:inset 0 0 0 .12rem #ffffff7a,inset 0 -.18rem .45rem rgba(var(--chessimals-magic-deep),.14)}.chessimals-animal-face img{display:block;width:min(5.45rem,88%);height:min(5.45rem,88%);pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;object-fit:contain;transform:none;filter:var(--chessimals-animal-face-filter)}.chessimals-bot-avatar,.chessimals-challenge-intro__avatar{display:grid;overflow:hidden;place-items:center}.chessimals-bot-avatar img,.chessimals-challenge-intro__avatar img{display:block;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;object-fit:contain}.chessimals-cards button.is-selected .chessimals-animal-face,.chessimals-powers.is-ready .chessimals-cards button:not(.is-used) .chessimals-animal-face{color:color-mix(in srgb,var(--chessimals-text) 94%,#000)}.chessimals-powers.is-locked .chessimals-animal-face{filter:var(--chessimals-animal-face-locked-filter);opacity:.86}.chessimals-powers.is-locked .chessimals-animal-face img,.chessimals-cards button.is-used .chessimals-animal-face img{opacity:var(--chessimals-animal-face-locked-img-opacity)}.chessimals-power-uses{position:absolute;top:.5rem;right:.5rem;z-index:2;display:inline-grid;place-items:center;min-width:1.72rem;height:1.35rem;border-radius:999px;padding:0 .38rem;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);font-size:.72rem;font-weight:1000;line-height:1;box-shadow:0 .35rem .9rem rgba(var(--chessimals-primary-rgb),.22)}.chessimals-cards strong{overflow:hidden;max-width:100%;align-self:center;font-size:clamp(.9rem,2.3vw,1.08rem);font-weight:950;line-height:1.05;text-align:center;text-overflow:ellipsis;white-space:nowrap}.chessimals-powers.is-locked .chessimals-cards{opacity:.68}.chessimals-powers.is-ready{border-color:rgba(var(--chessimals-magic-rgb),.46);box-shadow:0 0 0 1px rgba(var(--chessimals-magic-rgb),.12),0 1rem 2.4rem rgba(var(--chessimals-magic-rgb),.12)}.chessimals-powers.is-ready .chessimals-cards button:not(.is-used){animation:chessimalsPowerPulse 1.8s ease-in-out infinite}.chessimals-powers.is-unlock-pulse{animation:chessimalsPowersUnlocked 1.18s ease-out both}.chessimals-powers.is-unlock-pulse .chessimals-cards button:not(.is-used){animation:chessimalsPowerIgnite .76s ease-out both,chessimalsPowerPulse 1.8s ease-in-out .76s infinite}@keyframes chessimalsPowerPulse{0%,to{box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0)}50%{box-shadow:0 0 1.4rem rgba(var(--chessimals-magic-rgb),.24)}}@keyframes chessimalsPowersUnlocked{0%{box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0),0 1rem 2.4rem rgba(var(--chessimals-magic-rgb),.12)}34%{box-shadow:0 0 0 .18rem rgba(var(--chessimals-magic-rgb),.28),0 0 2.2rem rgba(var(--chessimals-magic-rgb),.38),0 1rem 2.4rem rgba(var(--chessimals-magic-rgb),.16)}to{box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0),0 1rem 2.4rem rgba(var(--chessimals-magic-rgb),.12)}}@keyframes chessimalsPowerIgnite{0%{transform:translateY(0) scale(.96);box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0)}42%{transform:translateY(-.08rem) scale(1.025);box-shadow:0 0 0 .14rem rgba(var(--chessimals-magic-rgb),.24),0 0 1.5rem rgba(var(--chessimals-magic-rgb),.46)}to{transform:translateY(0) scale(1);box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0)}}@keyframes chessimalsMagicParticles{0%,to{opacity:.54;transform:translateY(0) scale(.94)}50%{opacity:1;transform:translateY(-.18rem) scale(1.02)}}@keyframes chessimalsMagicAura{to{transform:rotate(1turn)}}.chessimals-actions{order:6;align-self:stretch;justify-self:stretch;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:.625rem;margin-top:1rem}.chessimals-shell--projection .chessimals-game{max-width:min(96vw,90rem)}.chessimals-shell--projection .chessimals-turn-card{padding:.875rem 1rem}.chessimals-shell--projection .chessimals-status,.chessimals-shell--projection .chessimals-actions,.chessimals-shell--projection .chessimals-online,.chessimals-shell--projection .chessimals-replay,.chessimals-shell--projection .chessimals-rematch-status{display:none}.chessimals-shell--projection .chessimals-arena{grid-template-columns:minmax(0,1fr);justify-items:center}.chessimals-shell--projection .chessimals-board-wrap{--chessimals-board-radius: min(.625rem, 10px);width:min(96vw,82vh,58rem);max-width:none}.chessimals-shell--projection .chessimals-board-frame{flex-basis:auto;max-width:none}@media (min-width: 760px){.chessimals-game{gap:1rem}.chessimals-turn-card,.chessimals-status,.chessimals-arena,.chessimals-replay,.chessimals-result,.chessimals-actions{grid-column:1 / -1}.chessimals-arena{grid-template-columns:minmax(0,1fr);justify-items:center;align-items:start;gap:.85rem}.chessimals-shell:not(.chessimals-shell--projection) .chessimals-board-frame{flex-basis:min(100%,clamp(28rem,calc(100vh - 22rem),50rem));width:min(100%,clamp(28rem,calc(100vh - 22rem),50rem));max-width:min(50rem,clamp(28rem,calc(100vh - 22rem),50rem))}.chessimals-powers{width:min(100%,clamp(28rem,calc(100vh - 22rem),50rem));align-content:center;grid-template-columns:minmax(11rem,.68fr) minmax(0,1fr);align-items:center;gap:.8rem;padding:.78rem}.chessimals-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.chessimals-cards button{grid-template-rows:minmax(3.85rem,1fr) auto;min-height:5.85rem}.chessimals-animal-face{min-height:3.85rem}.chessimals-animal-face img{width:min(3.85rem,88%);height:min(3.85rem,88%)}.chessimals-powers p{-webkit-line-clamp:3}}.chessimals-rules{display:grid;gap:1.05rem;padding-top:.25rem}.chessimals-settings{display:grid;gap:.85rem;color:var(--chessimals-modal-text, var(--chessimals-text))}.chessimals-settings article{display:grid;gap:.65rem;padding:1rem;border:1px solid var(--chessimals-modal-border, rgba(var(--chessimals-primary-rgb), .2));border-radius:1.1rem;background:radial-gradient(circle at 14% 8%,color-mix(in srgb,var(--chessimals-modal-card, #ffffff) 82%,transparent),transparent 28%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),rgba(var(--chessimals-sky-rgb),.06)),var(--chessimals-modal-card-strong, var(--chessimals-elevated-strong));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--chessimals-modal-surface, #ffffff) 48%,transparent)}:host ::ng-deep ion-modal.chessimals-settings-modal val-modal-shell ion-toolbar{--background: var(--chessimals-modal-surface);--color: var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-settings-modal val-modal-shell ion-content{--background: var(--chessimals-modal-surface);color:var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-settings-modal val-modal-shell ion-button{--color: var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-settings-modal .chessimals-settings val-toggle-input ion-toggle{--track-background: rgba(var(--chessimals-primary-rgb), .14);--track-background-checked: var(--chessimals-primary);--handle-background: var(--chessimals-modal-card);--handle-background-checked: var(--chessimals-primary-contrast);color:var(--chessimals-modal-text);font-weight:900}:host ::ng-deep ion-modal.chessimals-settings-modal .chessimals-settings val-range-input ion-label{color:var(--chessimals-modal-text);font-weight:900}:host ::ng-deep ion-modal.chessimals-settings-modal .chessimals-settings val-range-input ion-range{--bar-background: rgba(var(--chessimals-primary-rgb), .14);--bar-background-active: var(--chessimals-primary);--bar-height: .32rem;--bar-border-radius: 999px;--knob-background: var(--chessimals-primary-contrast);--knob-size: 1.28rem;--pin-background: var(--chessimals-primary);--pin-color: var(--chessimals-primary-contrast);color:var(--chessimals-modal-text)}.chessimals-about{display:grid;justify-items:center;gap:1rem;color:var(--ion-text-color, var(--chessimals-text))}.chessimals-about__logo{display:block;width:min(25rem,88%);height:auto;object-fit:contain;object-position:center;filter:drop-shadow(0 .5rem .7rem rgba(46,58,44,.14))}.chessimals-about__thanks{color:var(--ion-text-color, var(--chessimals-text));font-size:1.08rem;font-weight:950;line-height:1.2;text-align:center}.chessimals-about__feedback{max-width:30rem}.chessimals-about p{margin:0;color:var(--ion-color-medium, var(--chessimals-muted));font-size:.95rem;font-weight:750;line-height:1.45;text-align:center}.chessimals-about dl{display:grid;width:100%;margin:0;gap:.65rem}.chessimals-about dl div{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem .95rem;border:1px solid rgba(var(--chessimals-primary-rgb),.16);border-radius:1rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),transparent),var(--ion-card-background, #fff)}.chessimals-about dt,.chessimals-about dd{margin:0}.chessimals-about dt{color:var(--ion-color-medium, var(--chessimals-muted));font-size:.78rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-about dd{color:var(--ion-text-color, var(--chessimals-text));font-size:.95rem;font-weight:950}.chessimals-rules__hero{display:block;width:100%;height:auto;object-fit:contain;border-radius:1.25rem;background:transparent;box-shadow:0 .85rem 1.8rem #2e3a2c1f}.chessimals-rules__powers,.chessimals-rules__note,.chessimals-rules__steps article{display:grid;align-items:start;gap:.75rem;border:1px solid var(--chessimals-modal-border, rgba(var(--chessimals-primary-rgb), .16));border-radius:1.25rem;background:var(--chessimals-modal-card, #ffffff);color:var(--chessimals-modal-text, var(--ion-text-color, #2f2a3a))}.chessimals-rules__section-title span{justify-self:start;border-radius:999px;padding:.24rem .55rem;background:rgba(var(--chessimals-primary-rgb),.12);color:var(--chessimals-primary);font-size:.72rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-rules__section-title{display:grid;gap:.35rem;padding-inline:0}.chessimals-rules__section-title strong{color:var(--chessimals-text);font-size:1rem;font-weight:950;line-height:1.25}.chessimals-rules__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.chessimals-rules__steps article{align-content:start;padding:.9rem}.chessimals-rules__steps article>img,.chessimals-rules__powers>img,.chessimals-rules__note>img{display:block;width:4.75rem;height:4.75rem;border-radius:1.15rem;object-fit:cover;box-shadow:0 0 0 .1rem rgba(var(--chessimals-sun-rgb),.68),0 .7rem 1.25rem #2e3a2c29}.chessimals-rules__powers,.chessimals-rules__note{grid-template-columns:auto minmax(0,1fr);padding:.95rem}.chessimals-rules__power-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin-top:.35rem}.chessimals-rules__power-list span{display:grid;justify-items:center;align-content:center;gap:.32rem;min-width:0;min-height:8.1rem;border:1px solid var(--chessimals-modal-border, rgba(var(--chessimals-primary-rgb), .16));border-radius:1rem;padding:.8rem .52rem;background:radial-gradient(circle at 50% 0,color-mix(in srgb,var(--chessimals-modal-card, #ffffff) 78%,transparent),transparent 52%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),rgba(var(--chessimals-sun-rgb),.18)),var(--chessimals-modal-card-strong, #fff8df);color:var(--chessimals-modal-text, var(--chessimals-text));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--chessimals-modal-surface, #ffffff) 64%,transparent),0 .55rem 1.15rem var(--chessimals-modal-shadow, rgba(46, 58, 44, .12));font-size:.78rem;font-weight:950;line-height:1.05;text-align:center}.chessimals-rules__power-list strong,.chessimals-rules__power-list small{min-width:0}.chessimals-rules__power-list strong{font-size:.86rem;font-weight:950;line-height:1.08}.chessimals-rules__power-list small{color:var(--chessimals-muted);font-size:.69rem;font-weight:820;line-height:1.15}.chessimals-rules__power-list img{display:block;width:3.25rem;height:3.25rem;object-fit:contain;filter:drop-shadow(0 .25rem .35rem rgba(46,58,44,.16))}.chessimals-rules__note{border-color:rgba(var(--chessimals-sun-rgb),.34);background:linear-gradient(135deg,rgba(var(--chessimals-sun-rgb),.1),rgba(var(--chessimals-primary-rgb),.04)),var(--chessimals-modal-card, #ffffff)}.chessimals-rules article>span{display:grid;place-items:center;width:2rem;height:2rem;border-radius:999px;background:rgba(var(--chessimals-primary-rgb),.12);color:var(--chessimals-primary);font-weight:950}.chessimals-rules article>div{display:grid;min-width:0;gap:.35rem}.chessimals-rules h3,.chessimals-rules p,.chessimals-rules ul{margin:0}.chessimals-rules h3{color:var(--chessimals-text);font-size:1rem;font-weight:950;line-height:1.2}.chessimals-rules p,.chessimals-rules li{color:var(--chessimals-modal-muted, var(--ion-color-medium, #6f6a7a));font-size:.88rem;font-weight:760;line-height:1.5}.chessimals-rules ul{display:grid;gap:.45rem;padding-left:1.15rem}.chessimals-primary,.chessimals-secondary{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:3.625rem;border-radius:999px;font:inherit;font-weight:950}.chessimals-primary{border:0;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);box-shadow:0 1.125rem 2.8rem rgba(var(--chessimals-primary-rgb),.28)}.chessimals-secondary{border:1px solid var(--chessimals-border);background:transparent;color:var(--chessimals-text)}.chessimals-primary.is-working,.chessimals-secondary.is-working{cursor:wait;opacity:.82}.chessimals-button-spinner{width:1rem;height:1rem;flex:0 0 auto;border:.14rem solid currentColor;border-right-color:transparent;border-radius:999px;animation:chessimals-spin .72s linear infinite}@media (max-width: 560px){.chessimals-home-actions{grid-template-columns:1fr}.chessimals-home-action{min-height:0}.chessimals-rules__steps,.chessimals-rules__powers,.chessimals-rules__note{grid-template-columns:1fr}.chessimals-rules__power-list{grid-template-columns:repeat(2,minmax(0,1fr))}.chessimals-size,.chessimals-mode,.chessimals-actions,.chessimals-play-options .chessimals-nightmare,.chessimals-challenge-cta,.chessimals-path-cta,.chessimals-path-hero,.chessimals-path-grid,.chessimals-path-highlights,.chessimals-path-rings,.chessimals-path-stats{grid-template-columns:1fr}.chessimals-path-hero{justify-items:start}.chessimals-path-hero__art{width:6.25rem;height:6.25rem}.chessimals-path-cta__action{justify-self:stretch;width:100%}.chessimals-path-hero__medal{justify-self:stretch;width:100%;min-height:5.5rem}.chessimals-path-bars span{grid-template-columns:minmax(0,1fr) auto}.chessimals-path-bars i{grid-column:1 / -1;order:3}.chessimals-challenge-cta__actions,.chessimals-challenge-cta__rival{min-width:0}.chessimals-challenge-hero,.chessimals-challenge-focus{grid-template-columns:1fr}.chessimals-challenge-card{padding:.85rem}.chessimals-challenge-card__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.chessimals-game{gap:.55rem}.chessimals-turn-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.5rem;min-height:0;border-radius:.95rem;padding:.5rem}.chessimals-turn-card__copy{gap:.1rem}.chessimals-turn-card__chip{max-width:100%;padding:.18rem .5rem;font-size:.6rem;letter-spacing:.045em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chessimals-turn-card strong{font-size:clamp(.92rem,4.4vw,1.12rem);line-height:1.08}.chessimals-turn-card p{display:-webkit-box;overflow:hidden;font-size:.72rem;line-height:1.2;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chessimals-player-strip{width:auto;max-width:none;min-width:0;padding:.25rem}.chessimals-player-strip__avatar{flex:0 0 1.8rem;width:1.8rem;height:1.8rem;aspect-ratio:1 / 1}:host ::ng-deep .chessimals-player-strip .chessimals-turn-avatar{width:1.8rem;min-width:1.8rem;height:1.8rem}.chessimals-player-strip__text{display:none}.chessimals-status{grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem}.chessimals-status div{gap:.14rem;min-height:2.2rem;border-radius:.82rem;padding:.34rem .3rem}.chessimals-status small{font-size:.58rem;line-height:1.05}.chessimals-status strong{font-size:clamp(.78rem,3.2vw,.94rem);line-height:1.05}.chessimals-challenge-live{grid-template-columns:1fr;gap:.45rem;padding:.55rem}.chessimals-challenge-live__rival>.chessimals-bot-avatar{width:2.35rem;height:2.35rem;font-size:1.15rem}.chessimals-challenge-live__rival p{-webkit-line-clamp:1}.chessimals-challenge-live__metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem}.chessimals-challenge-live__metrics span{min-height:2.35rem;padding:.32rem .36rem}.chessimals-challenge-live__metrics small{font-size:.56rem}.chessimals-challenge-live__metrics b{font-size:.82rem}.chessimals-challenge-intro{padding:.55rem}.chessimals-challenge-intro__card{gap:.42rem;width:min(15.5rem,94%);padding:.6rem}.chessimals-challenge-intro__avatar{width:3.05rem;height:3.05rem;font-size:1.62rem}.chessimals-challenge-intro__copy strong{font-size:1.02rem}.chessimals-challenge-intro__copy p{font-size:.72rem;-webkit-line-clamp:1}.chessimals-challenge-intro__facts b{font-size:.74rem}.chessimals-challenge-intro .chessimals-primary{min-height:2.15rem}.chessimals-tip,.chessimals-result,.chessimals-replay,.chessimals-online-status,.chessimals-tutorial{gap:.2rem;border-radius:1rem;padding:.7rem .75rem}.chessimals-tip strong,.chessimals-result strong,.chessimals-replay strong,.chessimals-tutorial strong{font-size:.95rem}.chessimals-tip p,.chessimals-result p{font-size:.9rem;line-height:1.28}.chessimals-result__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.chessimals-replay,.chessimals-tutorial{grid-template-columns:1fr}.chessimals-replay__actions{justify-content:stretch}.chessimals-replay__actions .chessimals-secondary{flex:1 1 8rem}.chessimals-arena{gap:.5rem}.chessimals-board-wrap{width:100%;margin-inline:0;padding:0}.chessimals-board-frame{width:100%}.chessimals-powers{gap:.5rem;border-radius:1rem;padding:.55rem}.chessimals-powers__heading{gap:.4rem}.chessimals-powers h2{font-size:1rem}.chessimals-powers__heading span{padding:.22rem .48rem;font-size:.68rem}.chessimals-powers p{font-size:.78rem;line-height:1.2;-webkit-line-clamp:1}.chessimals-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem}.chessimals-cards button{grid-template-rows:minmax(3.65rem,1fr) auto;gap:.3rem;min-height:5.4rem;border-radius:.85rem;padding:.3rem .24rem .42rem}.chessimals-animal-face{min-height:3.65rem;border-radius:.68rem}.chessimals-animal-face img{width:min(3.55rem,92%);height:min(3.55rem,92%)}.chessimals-cards strong{font-size:clamp(.64rem,2.8vw,.78rem)}.chessimals-board{border-radius:var(--chessimals-board-radius)}.chessimals-cell-coordinate{font-size:.58rem}}@media (prefers-reduced-motion: reduce){.chessimals-cell.is-capture,.chessimals-cell.is-capture:before,.chessimals-cell.is-capture:after,.chessimals-cell.has-move-effect,.chessimals-cell.has-move-effect:before,.chessimals-cell.has-move-effect:after,.chessimals-cell.has-capture-effect,.chessimals-moving-piece,.chessimals-challenge-intro,.chessimals-status__score.is-pop{animation:none!important}.chessimals-moving-piece{transform:translate(calc(var(--to-col) * 100%),calc(var(--to-row) * 100%))}}\n"], dependencies: [{ kind: "component", type: IonModal, selector: "ion-modal" }, { kind: "component", type: MiniGameCalloutComponent, selector: "val-mini-game-callout", inputs: ["props"] }, { kind: "component", type: MiniGameScorePopComponent, selector: "val-mini-game-score-pop", inputs: ["props"] }, { kind: "component", type: ModalLayoutComponent, selector: "val-modal-layout", inputs: ["title", "subtitle", "closeLabel", "showClose", "actions", "actionsAlign", "footer", "footerClass"], outputs: ["close", "actionClick"] }, { kind: "component", type: RangeInputComponent, selector: "val-range-input", inputs: ["props"], outputs: ["rangeChange"] }, { kind: "component", type: ToggleInputComponent, selector: "val-toggle-input", inputs: ["preset", "props"] }, { kind: "component", type: ButtonComponent, selector: "val-button", inputs: ["preset", "props"], outputs: ["onClick"] }, { kind: "component", type: UserAvatarComponent, selector: "val-user-avatar", inputs: ["props"], outputs: ["onClick"] }] }); }
|
|
71274
|
+
`, isInline: true, styles: [":host{--chessimals-panel: #ffffff;--chessimals-surface: #fffaf1;--chessimals-elevated: rgba(255, 255, 255, .72);--chessimals-elevated-soft: rgba(255, 255, 255, .46);--chessimals-elevated-strong: rgba(255, 255, 255, .86);--chessimals-glass-highlight: rgba(255, 255, 255, .58);--chessimals-border: rgba(46, 58, 44, .18);--chessimals-text: #2e3a2c;--chessimals-muted: #51643d;--chessimals-soft: rgba(111, 122, 60, .1);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--chessimals-sky: #c06a3d;--chessimals-sky-rgb: 192, 106, 61;--chessimals-stone: #8e9362;--chessimals-stone-rgb: 142, 147, 98;--chessimals-selected: #37f28a;--chessimals-selected-rgb: 55, 242, 138;--chessimals-magic: #f7d45a;--chessimals-magic-rgb: 247, 212, 90;--chessimals-magic-hot: #fff56f;--chessimals-magic-deep: #b77a18;display:block;font-size:var(--val-mini-games-font-size, 1rem)}:host-context(body.font-small){--val-mini-games-font-size: .875rem}:host-context(body.font-large){--val-mini-games-font-size: 1.1875rem}.chessimals-shell{--chessimals-panel: #ffffff;--chessimals-surface: #fffaf1;--chessimals-elevated: rgba(255, 255, 255, .72);--chessimals-elevated-soft: rgba(255, 255, 255, .46);--chessimals-elevated-strong: rgba(255, 255, 255, .86);--chessimals-glass-highlight: rgba(255, 255, 255, .58);--chessimals-border: rgba(46, 58, 44, .18);--chessimals-text: #2e3a2c;--chessimals-muted: #51643d;--chessimals-soft: rgba(111, 122, 60, .1);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--chessimals-sky: #c06a3d;--chessimals-sky-rgb: 192, 106, 61;--chessimals-stone: #8e9362;--chessimals-stone-rgb: 142, 147, 98;--chessimals-selected: #37f28a;--chessimals-selected-rgb: 55, 242, 138;--chessimals-magic: #f7d45a;--chessimals-magic-rgb: 247, 212, 90;--chessimals-magic-hot: #fff56f;--chessimals-magic-deep: #b77a18;--chessimals-warning: #f4c542;--chessimals-warning-rgb: 244, 197, 66;--chessimals-move: var(--chessimals-sky);--chessimals-move-rgb: var(--chessimals-sky-rgb);--chessimals-capture: #1fcdb3;--chessimals-capture-rgb: 31, 205, 179;--chessimals-last: #8c6b4f;--chessimals-last-rgb: 140, 107, 79;--chessimals-cell-light: #f3f4e8;--chessimals-cell-dark: #7f944d;--chessimals-board-shadow: rgba(46, 58, 44, .14);--chessimals-piece-white-fill: #ffffff;--chessimals-piece-white-side: #f3eadb;--chessimals-piece-white-line: rgba(82, 65, 46, .12);--chessimals-piece-white-shadow: drop-shadow(0 0 1px rgba(84, 62, 34, .52)) drop-shadow(0 .18rem .12rem rgba(72, 58, 36, .22)) drop-shadow(0 .34rem .42rem rgba(72, 58, 36, .22));--chessimals-piece-black-fill: #242936;--chessimals-piece-black-side: #171b25;--chessimals-piece-black-line: rgba(255, 255, 255, .1);--chessimals-piece-black-shadow: drop-shadow(0 0 1px rgba(255, 255, 255, .34)) drop-shadow(0 .18rem .1rem rgba(255, 255, 255, .12)) drop-shadow(0 .32rem .42rem rgba(0, 0, 0, .36));--chessimals-piece-gold: #c79a42;--chessimals-piece-gold-dark: #8a5f22;--chessimals-animal-face-bg: #fffdf7;--chessimals-animal-face-inner-bg: #ffffff;--chessimals-animal-face-border: rgba(46, 58, 44, .12);--chessimals-animal-face-filter: drop-shadow(0 .12rem .16rem rgba(46, 58, 44, .18));--chessimals-animal-face-locked-filter: grayscale(.2) saturate(.72);--chessimals-animal-face-locked-img-opacity: .72;display:grid;gap:1.125rem;width:100%;max-width:min(100%,60rem);margin:0 auto;color:var(--chessimals-text)}@media (prefers-color-scheme: dark){.chessimals-shell{--chessimals-panel: #172116;--chessimals-surface: #0f170f;--chessimals-elevated: rgba(255, 255, 255, .08);--chessimals-elevated-soft: rgba(255, 255, 255, .05);--chessimals-elevated-strong: rgba(255, 255, 255, .12);--chessimals-glass-highlight: rgba(255, 255, 255, .08);--chessimals-border: rgba(242, 230, 213, .2);--chessimals-text: #f6f3e9;--chessimals-muted: #c8cfb1;--chessimals-soft: rgba(111, 122, 60, .22);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--chessimals-sky: #c06a3d;--chessimals-sky-rgb: 192, 106, 61;--chessimals-stone: #8e9362;--chessimals-stone-rgb: 142, 147, 98;--chessimals-cell-light: #f3f4e8;--chessimals-cell-dark: #7f944d;--chessimals-board-shadow: rgba(0, 0, 0, .34);--chessimals-animal-face-border: rgba(242, 230, 213, .24)}}.chessimals-resume-splash{order:0;position:fixed;inset:0;z-index:1000;display:grid;place-items:center;align-content:center;gap:.65rem;padding:1.5rem;text-align:center;color:var(--chessimals-text);background:radial-gradient(circle at 50% 42%,rgba(var(--chessimals-primary-rgb),.18),transparent 22rem),color-mix(in srgb,var(--chessimals-panel) 92%,transparent);backdrop-filter:blur(.9rem)}.chessimals-resume-splash__logo{display:block;width:clamp(5.8rem,20vw,7.2rem);height:auto;animation:chessimals-resume-pulse 1.2s ease-in-out infinite;filter:drop-shadow(0 .8rem 1.2rem rgba(var(--ion-color-dark-rgb, 47, 42, 58),.18))}.chessimals-resume-splash strong{font-size:clamp(1.55rem,5vw,2.4rem);font-weight:950;line-height:1.05}.chessimals-resume-splash p{max-width:24rem;margin:0;color:var(--chessimals-muted);font-size:1rem;line-height:1.35}@keyframes chessimals-resume-pulse{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-.25rem) scale(1.04)}}@keyframes chessimals-spin{to{transform:rotate(360deg)}}@keyframes chessimals-online-pulse{0%,to{transform:scale(1);opacity:.78}50%{transform:scale(1.22);opacity:1}}:host-context(html.ion-palette-dark) .chessimals-shell,:host-context([data-theme=\"dark\"]) .chessimals-shell{--chessimals-panel: #172116;--chessimals-surface: #0f170f;--chessimals-elevated: rgba(255, 255, 255, .08);--chessimals-elevated-soft: rgba(255, 255, 255, .05);--chessimals-elevated-strong: rgba(255, 255, 255, .12);--chessimals-glass-highlight: rgba(255, 255, 255, .08);--chessimals-border: rgba(246, 227, 213, .22);--chessimals-text: #f6f3e9;--chessimals-muted: #c8cfb1;--chessimals-soft: rgba(111, 122, 60, .22);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--chessimals-sky: #c06a3d;--chessimals-sky-rgb: 192, 106, 61;--chessimals-stone: #8e9362;--chessimals-stone-rgb: 142, 147, 98;--chessimals-cell-light: #e8eadc;--chessimals-cell-dark: #5f7040;--chessimals-board-shadow: rgba(0, 0, 0, .34);--chessimals-capture: #66f2d7;--chessimals-capture-rgb: 102, 242, 215;--chessimals-last: #cdbe9b;--chessimals-last-rgb: 205, 190, 155;--chessimals-piece-white-fill: #fffaff;--chessimals-piece-white-side: #f0e5d4;--chessimals-piece-white-line: rgba(82, 65, 46, .12);--chessimals-piece-white-shadow: drop-shadow(0 0 1px rgba(84, 62, 34, .48)) drop-shadow(0 .18rem .12rem rgba(0, 0, 0, .24)) drop-shadow(0 .34rem .42rem rgba(0, 0, 0, .3));--chessimals-piece-black-fill: #202633;--chessimals-piece-black-side: #111620;--chessimals-piece-black-line: rgba(255, 255, 255, .12);--chessimals-piece-black-shadow: drop-shadow(0 0 1px rgba(255, 255, 255, .34)) drop-shadow(0 .18rem .1rem rgba(255, 255, 255, .14)) drop-shadow(0 .34rem .44rem rgba(0, 0, 0, .52));--chessimals-animal-face-bg: #fffdf7;--chessimals-animal-face-inner-bg: #ffffff;--chessimals-animal-face-border: rgba(242, 230, 213, .24);--chessimals-animal-face-filter: drop-shadow(0 .12rem .16rem rgba(0, 0, 0, .22));--chessimals-animal-face-locked-filter: grayscale(.32) saturate(.72);--chessimals-animal-face-locked-img-opacity: .58}.chessimals-hero{display:grid;gap:.75rem;justify-items:center;overflow:hidden;border-radius:1.75rem;padding:clamp(1.25rem,5vw,2.5rem);background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.92),transparent 20%),linear-gradient(135deg,#fdf8ee,#fff 40%,#edf3df);color:var(--chessimals-text);text-align:center;border:1px solid var(--chessimals-border)}:host-context(html.ion-palette-dark) .chessimals-hero,:host-context([data-theme=\"dark\"]) .chessimals-hero{background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.08),transparent 22%),linear-gradient(135deg,#111a10,#172116 48%,#0f170f);color:var(--chessimals-text);border-color:#f6e3d538}.chessimals-hero__logo{display:grid;place-items:center;gap:.35rem;width:min(27rem,86vw);max-width:100%}.chessimals-hero__logo img{display:block;height:auto;object-fit:contain;border-radius:0}.chessimals-hero__emblem{width:min(12.25rem,48vw);margin-top:.2rem;transform:translateY(.2rem)}.chessimals-hero__wordmark{width:min(21rem,76vw)}.chessimals-hero p,.chessimals-howto p,.chessimals-tip p,.chessimals-result p,.chessimals-powers p{margin:0;line-height:1.45}.chessimals-powers{display:grid;gap:1rem;border:1px solid var(--chessimals-border);border-radius:1.625rem;padding:clamp(1rem,4vw,1.5rem);background:var(--chessimals-panel)}.chessimals-game{display:grid;gap:.875rem}.chessimals-panel{display:grid;gap:1.125rem}.chessimals-home-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.875rem}.chessimals-home-action{display:grid;justify-items:start;gap:.68rem;min-height:9.6rem;border:1px solid rgba(var(--chessimals-primary-rgb),.22);border-radius:1.25rem;padding:1.15rem 1rem 1.05rem;background:radial-gradient(circle at 18% 10%,rgba(255,255,255,.74),transparent 22%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),rgba(var(--chessimals-secondary-rgb),.08)),var(--chessimals-panel);color:var(--chessimals-text);font:inherit;text-align:left}.chessimals-home-action--play{border-color:rgba(var(--chessimals-primary-rgb),.46);background:radial-gradient(circle at 18% 10%,rgba(255,255,255,.82),transparent 22%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.22),rgba(var(--chessimals-secondary-rgb),.12)),var(--chessimals-panel)}.chessimals-mode-icon{display:block;width:4.45rem;height:4.45rem;border-radius:1rem;object-fit:cover;background:rgba(var(--chessimals-sun-rgb),.16);box-shadow:0 0 0 1px rgba(var(--chessimals-primary-rgb),.14),0 .55rem 1rem rgba(var(--chessimals-shadow-rgb),.12)}.chessimals-home-action strong{font-size:clamp(1.1rem,3vw,1.45rem);font-weight:1000;line-height:1.05}.chessimals-home-action small{color:var(--chessimals-muted);font-size:.88rem;font-weight:900;line-height:1.3}.chessimals-options{border:1px solid var(--chessimals-border);border-radius:1.125rem;padding:.35rem;background:var(--chessimals-panel)}.chessimals-options summary{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:3.25rem;padding:.65rem .8rem;color:var(--chessimals-text);cursor:pointer;list-style:none}.chessimals-options summary::-webkit-details-marker{display:none}.chessimals-options summary:after{content:\"+\";display:grid;place-items:center;flex:0 0 auto;width:1.8rem;height:1.8rem;border-radius:999px;background:var(--chessimals-soft);color:var(--chessimals-primary);font-weight:950}.chessimals-options[open] summary:after{content:\"-\"}.chessimals-options summary strong,.chessimals-options summary span{display:block}.chessimals-options summary strong{font-weight:950}.chessimals-options summary span{color:var(--chessimals-muted);font-size:.84rem;font-weight:800}.chessimals-options>:not(summary){margin:.5rem}.chessimals-play-options{display:grid;gap:1.05rem;color:var(--chessimals-text)}.chessimals-play-options__group{display:grid;gap:.62rem}.chessimals-play-options__group h3{margin:0;color:var(--chessimals-text);font-size:.9rem;font-weight:950;line-height:1.15}.chessimals-play-options .chessimals-size button,.chessimals-play-options .chessimals-mode button,.chessimals-play-options .chessimals-nightmare button,.chessimals-play-options .chessimals-bots button{position:relative;overflow:hidden;min-height:4.75rem;padding:.78rem 2.1rem .78rem .9rem;border:1px solid rgba(var(--chessimals-primary-rgb),.2);border-radius:1.08rem;background:radial-gradient(circle at 16% 8%,rgba(255,255,255,.7),transparent 24%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),rgba(var(--chessimals-secondary-rgb),.05)),var(--chessimals-panel);color:var(--chessimals-text);box-shadow:inset 0 0 0 1px var(--chessimals-glass-highlight)}.chessimals-play-options .chessimals-size button.is-selected,.chessimals-play-options .chessimals-mode button.is-selected,.chessimals-play-options .chessimals-nightmare button.is-selected,.chessimals-play-options .chessimals-bots button.is-selected{border-color:var(--chessimals-primary);background:radial-gradient(circle at 16% 8%,rgba(255,255,255,.78),transparent 25%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.23),rgba(var(--chessimals-secondary-rgb),.13)),var(--chessimals-panel);box-shadow:0 0 0 .16rem rgba(var(--chessimals-primary-rgb),.18),0 .85rem 1.8rem rgba(var(--chessimals-primary-rgb),.16)}.chessimals-option-check{position:absolute;top:.65rem;right:.65rem;width:.72rem;height:.72rem;border:2px solid rgba(var(--chessimals-primary-rgb),.3);border-radius:999px;background:var(--chessimals-panel)}.is-selected>.chessimals-option-check{border-color:var(--chessimals-primary);background:var(--chessimals-primary);box-shadow:0 0 0 .28rem rgba(var(--chessimals-primary-rgb),.13)}.chessimals-play-options .chessimals-nightmare{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.chessimals-play-options .chessimals-nightmare button{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:\"icon title\" \"icon body\";column-gap:.55rem;row-gap:.12rem;align-content:center;text-align:left}.chessimals-play-options .chessimals-nightmare strong{grid-area:title;align-self:end;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chessimals-play-options .chessimals-nightmare small{grid-area:body;color:var(--chessimals-muted);font-size:.72rem;font-weight:800;line-height:1.15}.chessimals-nightmare__icon{grid-area:icon;display:grid;place-items:center;width:2.35rem;height:2.35rem;overflow:hidden;border-radius:.8rem;background:rgba(var(--chessimals-primary-rgb),.12);color:var(--chessimals-primary);font-weight:1000;box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14)}.chessimals-nightmare__icon img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chessimals-play-options .chessimals-nightmare button.is-selected .chessimals-nightmare__icon{background:rgba(var(--chessimals-secondary-rgb),.2);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.24)}.chessimals-play-options .chessimals-difficulty{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.chessimals-play-options .chessimals-difficulty button{border:1px solid rgba(var(--chessimals-primary-rgb),.2);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.06),rgba(var(--chessimals-secondary-rgb),.04)),var(--chessimals-panel);color:var(--chessimals-text);box-shadow:inset 0 0 0 1px var(--chessimals-glass-highlight)}.chessimals-play-options .chessimals-difficulty button.is-selected{border-color:var(--chessimals-primary);background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);box-shadow:0 0 0 .16rem rgba(var(--chessimals-primary-rgb),.18),0 .72rem 1.25rem rgba(var(--chessimals-primary-rgb),.16)}.chessimals-play-options .chessimals-bots button>.chessimals-bot-avatar{width:2.45rem;height:2.45rem;border-radius:.8rem;background:rgba(var(--chessimals-primary-rgb),.12)}.chessimals-play-options .chessimals-bots button.is-selected>.chessimals-bot-avatar{background:rgba(var(--chessimals-secondary-rgb),.2);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.24)}.chessimals-play-modal{--chessimals-panel: var(--chessimals-modal-card, #ffffff);--chessimals-elevated: var(--chessimals-modal-card-strong, rgba(255, 255, 255, .72));--chessimals-elevated-soft: color-mix(in srgb, var(--chessimals-modal-card, #ffffff) 74%, transparent);--chessimals-elevated-strong: var(--chessimals-modal-card-strong, rgba(255, 255, 255, .86));--chessimals-glass-highlight: color-mix(in srgb, var(--chessimals-modal-surface, #ffffff) 58%, transparent);--chessimals-border: var(--chessimals-modal-border, rgba(46, 58, 44, .18));--chessimals-text: var(--chessimals-modal-text, #2e3a2c);--chessimals-muted: var(--chessimals-modal-muted, #51643d);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--background: var(--chessimals-primary);--background-activated: color-mix(in srgb, var(--chessimals-primary) 88%, #000);--background-hover: color-mix(in srgb, var(--chessimals-primary) 92%, #fff);--border-color: var(--chessimals-primary);--border-radius: 999px;--box-shadow: 0 1rem 2rem rgba(var(--chessimals-primary-rgb), .22);--color: var(--chessimals-primary-contrast);--color-activated: var(--chessimals-primary-contrast);--color-hover: var(--chessimals-primary-contrast);--val-modal-footer-gap: .7rem}.chessimals-rules-modal{--chessimals-border: var(--chessimals-modal-border, rgba(46, 58, 44, .18));--chessimals-text: var(--chessimals-modal-text, #2e3a2c);--chessimals-muted: var(--chessimals-modal-muted, #51643d);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--ion-background-color: var(--chessimals-modal-surface, #ffffff);--ion-card-background: var(--chessimals-modal-card, #ffffff);--ion-text-color: var(--chessimals-text);--val-modal-footer-gap: .7rem}.chessimals-confirm-modal{--chessimals-border: var(--chessimals-modal-border, rgba(46, 58, 44, .18));--chessimals-text: var(--chessimals-modal-text, #2e3a2c);--chessimals-muted: var(--chessimals-modal-muted, #51643d);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--ion-background-color: var(--chessimals-modal-surface, #ffffff);--ion-card-background: var(--chessimals-modal-card, #ffffff);--ion-text-color: var(--chessimals-text);--val-modal-footer-gap: .7rem}:host ::ng-deep ion-modal.chessimals-themed-modal{--chessimals-modal-surface: #ffffff;--chessimals-modal-card: #ffffff;--chessimals-modal-card-strong: #f8fbf5;--chessimals-modal-text: #2e3a2c;--chessimals-modal-muted: #5f6f50;--chessimals-modal-border: rgba(46, 58, 44, .18);--chessimals-modal-shadow: rgba(46, 58, 44, .14);--ion-background-color: var(--chessimals-modal-surface);--ion-card-background: var(--chessimals-modal-card);--ion-text-color: var(--chessimals-modal-text);--ion-color-dark: var(--chessimals-modal-text);--ion-color-dark-rgb: 46, 58, 44;--ion-color-medium: var(--chessimals-modal-muted);--ion-color-medium-rgb: 95, 111, 80;--ion-border-color: var(--chessimals-modal-border);--ion-color-primary: var(--chessimals-primary);--ion-color-primary-rgb: var(--chessimals-primary-rgb);--ion-color-primary-contrast: var(--chessimals-primary-contrast);--ion-color-primary-shade: #285f36;--ion-color-primary-tint: #43804f}@media (prefers-color-scheme: dark){:host ::ng-deep ion-modal.chessimals-themed-modal{--chessimals-modal-surface: #121811;--chessimals-modal-card: #182217;--chessimals-modal-card-strong: #1d2a1c;--chessimals-modal-text: #f6f3e9;--chessimals-modal-muted: #c8cfb1;--chessimals-modal-border: rgba(246, 227, 213, .2);--chessimals-modal-shadow: rgba(0, 0, 0, .36);--ion-color-dark-rgb: 246, 243, 233;--ion-color-medium-rgb: 200, 207, 177}}:host-context(html.ion-palette-dark) ::ng-deep ion-modal.chessimals-themed-modal,:host-context([data-theme=\"dark\"]) ::ng-deep ion-modal.chessimals-themed-modal{--chessimals-modal-surface: #121811;--chessimals-modal-card: #182217;--chessimals-modal-card-strong: #1d2a1c;--chessimals-modal-text: #f6f3e9;--chessimals-modal-muted: #c8cfb1;--chessimals-modal-border: rgba(246, 227, 213, .2);--chessimals-modal-shadow: rgba(0, 0, 0, .36);--ion-color-dark-rgb: 246, 243, 233;--ion-color-medium-rgb: 200, 207, 177}:host ::ng-deep ion-modal.chessimals-themed-modal val-modal-shell ion-toolbar,:host ::ng-deep ion-modal.chessimals-themed-modal .val-modal-layout__footer{--background: var(--chessimals-modal-surface);--color: var(--chessimals-modal-text);background:var(--chessimals-modal-surface);color:var(--chessimals-modal-text);border-color:var(--chessimals-modal-border)}:host ::ng-deep ion-modal.chessimals-themed-modal val-modal-shell ion-content{--background: var(--chessimals-modal-surface);color:var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-themed-modal val-modal-shell ion-button{--color: var(--chessimals-modal-text);--color-hover: var(--chessimals-modal-text);--color-activated: var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-themed-modal val-display ion-text,:host ::ng-deep ion-modal.chessimals-themed-modal val-title ion-text{color:var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-themed-modal val-button.val-modal-layout__button ion-button,:host ::ng-deep ion-modal.chessimals-themed-modal val-button.chessimals-rules__action ion-button{min-height:3.45rem;font-weight:950;--border-radius: 999px;--padding-bottom: .85rem;--padding-end: 1.35rem;--padding-start: 1.35rem;--padding-top: .85rem}:host ::ng-deep ion-modal.chessimals-themed-modal val-button.val-modal-layout__button ion-button.button-solid,:host ::ng-deep ion-modal.chessimals-themed-modal val-button.chessimals-rules__action--primary ion-button{--background: var(--chessimals-primary);--background-hover: color-mix(in srgb, var(--chessimals-primary) 92%, #fff);--background-activated: color-mix(in srgb, var(--chessimals-primary) 88%, #000);--box-shadow: 0 1rem 2rem rgba(var(--chessimals-primary-rgb), .22);--color: var(--chessimals-primary-contrast);--color-activated: var(--chessimals-primary-contrast);--color-hover: var(--chessimals-primary-contrast)}:host ::ng-deep ion-modal.chessimals-themed-modal val-button.val-modal-layout__button ion-button.button-outline,:host ::ng-deep ion-modal.chessimals-themed-modal val-button.chessimals-rules__action--secondary ion-button{--background: transparent;--border-color: var(--chessimals-modal-border);--border-width: 1px;--color: var(--chessimals-modal-text);--color-activated: var(--chessimals-modal-text);--color-hover: var(--chessimals-modal-text)}.chessimals-play-modal__actions,.chessimals-rules__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.7rem;width:100%}.chessimals-play-modal__actions .chessimals-primary,.chessimals-play-modal__actions .chessimals-secondary{min-width:min(100%,12.5rem);padding:.85rem 1.35rem}.chessimals-rules__action{min-width:min(100%,12.5rem)}:host ::ng-deep ion-modal.chessimals-rules-modal val-button.chessimals-rules__action ion-button{min-height:3.45rem;font-weight:950;--border-radius: 999px;--padding-bottom: .85rem;--padding-end: 1.35rem;--padding-start: 1.35rem;--padding-top: .85rem}:host ::ng-deep ion-modal.chessimals-rules-modal val-button.chessimals-rules__action--primary ion-button{--background: var(--chessimals-primary);--background-hover: color-mix(in srgb, var(--chessimals-primary) 92%, #fff);--background-activated: color-mix(in srgb, var(--chessimals-primary) 88%, #000);--box-shadow: 0 1rem 2rem rgba(var(--chessimals-primary-rgb), .22);--color: var(--chessimals-primary-contrast);--color-activated: var(--chessimals-primary-contrast);--color-hover: var(--chessimals-primary-contrast)}:host ::ng-deep ion-modal.chessimals-rules-modal val-button.chessimals-rules__action--secondary ion-button{--border-color: rgba(46, 58, 44, .24);--border-width: 1px;--color: var(--chessimals-text);--color-activated: var(--chessimals-text);--color-hover: var(--chessimals-text)}:host ::ng-deep ion-modal.chessimals-confirm-modal val-button.val-modal-layout__button ion-button{min-height:3.45rem;font-weight:950;--border-radius: 999px;--padding-bottom: .85rem;--padding-end: 1.35rem;--padding-start: 1.35rem;--padding-top: .85rem}:host ::ng-deep ion-modal.chessimals-confirm-modal val-button.val-modal-layout__button ion-button[data-testid=confirm]{--background: var(--chessimals-primary);--background-hover: color-mix(in srgb, var(--chessimals-primary) 92%, #fff);--background-activated: color-mix(in srgb, var(--chessimals-primary) 88%, #000);--box-shadow: 0 1rem 2rem rgba(var(--chessimals-primary-rgb), .22);--color: var(--chessimals-primary-contrast);--color-activated: var(--chessimals-primary-contrast);--color-hover: var(--chessimals-primary-contrast)}:host ::ng-deep ion-modal.chessimals-confirm-modal val-button.val-modal-layout__button ion-button[data-testid=cancel]{--border-color: rgba(46, 58, 44, .24);--border-width: 1px;--color: var(--chessimals-text);--color-activated: var(--chessimals-text);--color-hover: var(--chessimals-text)}.chessimals-online{display:grid;gap:.875rem;border:1px solid var(--chessimals-border);border-radius:1.375rem;padding:1rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),transparent),var(--chessimals-panel)}.chessimals-online--waiting{order:2;border-color:rgba(var(--chessimals-primary-rgb),.34)}.chessimals-online h2,.chessimals-online p{margin:0}.chessimals-online h2{font-size:1.1rem;font-weight:950}.chessimals-online p{color:var(--chessimals-muted);line-height:1.4}.chessimals-online__create,.chessimals-online__join{display:grid;gap:.55rem}.chessimals-online__create small{color:var(--chessimals-muted);font-weight:800;line-height:1.35}.chessimals-online__join{border-top:1px solid var(--chessimals-border);padding-top:.85rem}.chessimals-online__join>strong{font-size:.95rem;font-weight:950}.chessimals-online__error{border-radius:.875rem;padding:.7rem .8rem;background:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.12);color:var(--ion-color-danger, #eb445a)!important;font-weight:800}.chessimals-online__loading{display:flex;align-items:center;gap:.625rem;border:1px solid rgba(var(--chessimals-primary-rgb),.22);border-radius:999px;padding:.65rem .85rem;background:rgba(var(--chessimals-primary-rgb),.08);color:var(--chessimals-text);font-size:.92rem;font-weight:900}.chessimals-online__loading span{width:1rem;height:1rem;border:.15rem solid rgba(var(--chessimals-primary-rgb),.24);border-top-color:var(--chessimals-primary);border-radius:999px;animation:chessimals-spin .75s linear infinite}.chessimals-online-code{display:grid;gap:.4rem;font-weight:950}.chessimals-online-code input{width:100%;min-height:3.3rem;border:1px solid var(--chessimals-border);border-radius:999px;padding:0 1rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.chessimals-game-code{display:grid;gap:.2rem;border-radius:1rem;padding:.85rem 1rem;background:var(--chessimals-soft)}.chessimals-game-code small{color:var(--chessimals-muted);font-weight:900;letter-spacing:.06em;text-transform:uppercase}.chessimals-game-code strong{font-size:clamp(1.35rem,6vw,2rem);font-weight:950;letter-spacing:.05em}.chessimals-online-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem}.chessimals-history{gap:.75rem}.chessimals-history__heading{display:flex;align-items:start;justify-content:space-between;gap:.75rem}.chessimals-history__list{display:grid;gap:.5rem}.chessimals-history__item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;border:1px solid var(--chessimals-border);border-radius:1rem;padding:.7rem .8rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;text-align:left}.chessimals-history__item span{display:grid;gap:.1rem;min-width:0}.chessimals-history__item strong{font-weight:950;letter-spacing:.04em}.chessimals-history__item small{overflow:hidden;color:var(--chessimals-muted);font-size:.82rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.chessimals-history__item em{flex:0 0 auto;color:var(--chessimals-primary);font-size:.86rem;font-style:normal;font-weight:950}.chessimals-home-settings{gap:.8rem}.chessimals-home-settings__actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.625rem}.chessimals-pending-player{display:flex;align-items:center;gap:.7rem;border:1px solid rgba(var(--chessimals-primary-rgb),.22);border-radius:1rem;padding:.75rem;background:var(--chessimals-soft)}.chessimals-pending-player div{display:grid;gap:.1rem;min-width:0}.chessimals-pending-player small{color:var(--chessimals-muted);font-size:.72rem;font-weight:950;letter-spacing:.07em;text-transform:uppercase}.chessimals-pending-player strong{overflow:hidden;font-size:1.05rem;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.chessimals-turn-card{order:1;display:flex;align-items:center;justify-content:space-between;gap:.625rem;min-height:3.75rem;overflow:visible;border:1px solid rgba(var(--chessimals-primary-rgb),.24);border-radius:1rem;padding:.55rem .65rem;background:radial-gradient(circle at 15% 18%,rgba(255,255,255,.34),transparent 18%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.2),rgba(var(--chessimals-secondary-rgb),.1))}.chessimals-turn-card.is-black-turn{border-color:rgba(var(--ion-color-dark-rgb, 47, 42, 58),.28);background:radial-gradient(circle at 15% 18%,rgba(255,255,255,.12),transparent 18%),linear-gradient(135deg,rgba(var(--ion-color-dark-rgb, 47, 42, 58),.14),rgba(var(--chessimals-primary-rgb),.1))}.chessimals-turn-card.is-finished{border-color:rgba(var(--ion-color-success-rgb, 45, 211, 111),.42);background:radial-gradient(circle at 15% 18%,rgba(255,255,255,.35),transparent 18%),linear-gradient(135deg,rgba(var(--ion-color-success-rgb, 45, 211, 111),.18),rgba(var(--chessimals-primary-rgb),.12))}.chessimals-turn-card.is-finished .chessimals-turn-card__chip{color:var(--ion-color-success, #2dd36f)}.chessimals-turn-card.is-your-turn{border-color:rgba(var(--chessimals-primary-rgb),.48);box-shadow:0 0 0 .12rem rgba(var(--chessimals-primary-rgb),.12),0 .95rem 2rem rgba(var(--chessimals-primary-rgb),.14)}.chessimals-turn-card.is-your-turn .chessimals-turn-card__chip{background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);box-shadow:0 0 0 .32rem rgba(var(--chessimals-primary-rgb),.14);animation:chessimals-turn-pulse 1.45s ease-in-out infinite}.chessimals-turn-card.is-timer-low{border-color:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.5);box-shadow:0 0 0 .12rem rgba(var(--ion-color-danger-rgb, 235, 68, 90),.12),0 .95rem 2rem rgba(var(--ion-color-danger-rgb, 235, 68, 90),.12)}.chessimals-turn-card.is-timer-low .chessimals-turn-card__chip{background:var(--ion-color-danger, #eb445a);color:var(--ion-color-danger-contrast, #ffffff)}.chessimals-turn-card.is-waiting-turn .chessimals-turn-card__chip{color:var(--chessimals-muted)}@keyframes chessimals-turn-pulse{0%,to{transform:translateZ(0) scale(1)}50%{transform:translateZ(0) scale(1.035)}}.chessimals-turn-card__copy{display:grid;min-width:0;gap:.15rem}.chessimals-turn-card__meta{display:flex;flex:0 1 auto;align-items:center;justify-content:flex-end;gap:.45rem;min-width:0;max-width:min(31rem,58%)}.chessimals-turn-card__chip{justify-self:start;border-radius:999px;padding:.2rem .5rem;background:var(--chessimals-panel);color:var(--chessimals-primary);font-size:.62rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-turn-card strong{display:block;min-width:0;font-size:clamp(1rem,3.5vw,1.25rem);line-height:1.08;font-weight:950;overflow-wrap:anywhere}.chessimals-turn-card p{display:block;min-width:0;margin:0;color:var(--chessimals-muted);font-size:.78rem;line-height:1.22}.chessimals-player-strip{display:flex;flex:0 0 auto;align-items:center;gap:.45rem;min-width:10rem;max-width:min(17rem,100%);border:1px solid var(--chessimals-border);border-radius:999px;padding:.3rem .55rem .3rem .35rem;background:rgba(var(--ion-color-light-rgb, 244, 245, 248),.72)}:host-context(html.ion-palette-dark) .chessimals-player-strip,:host-context([data-theme=\"dark\"]) .chessimals-player-strip{background:#ffffff0f}.chessimals-player-strip val-user-avatar{display:inline-flex;flex:0 0 auto;line-height:0}.chessimals-player-strip__avatar{display:grid;place-items:center;flex:0 0 2.25rem;width:2.25rem;height:2.25rem;aspect-ratio:1 / 1;overflow:hidden;border-radius:999px;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);font-size:.875rem;line-height:1}.chessimals-player-strip__avatar img{display:block;width:100%;height:100%;object-fit:cover}.chessimals-player-strip__avatar--initials{font-size:.78rem;font-weight:950}:host ::ng-deep .chessimals-player-strip .chessimals-turn-avatar{width:2.25rem;min-width:2.25rem;height:2.25rem;border-radius:50%}.chessimals-player-strip__text{display:grid;min-width:0;gap:.05rem;line-height:1.1}.chessimals-player-strip__text span{color:var(--chessimals-muted);font-size:.58rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-player-strip__text strong{overflow:hidden;font-size:.82rem;line-height:1.08;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.chessimals-player-strip__text small{overflow:hidden;color:var(--chessimals-muted);font-size:.66rem;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.chessimals-arena{order:4;display:grid;gap:.875rem;align-items:start}.chessimals-howto,.chessimals-tip,.chessimals-result,.chessimals-replay,.chessimals-rematch-status{display:grid;gap:.375rem;padding:1rem;border-radius:1.25rem;background:var(--chessimals-soft)}.chessimals-howto{border:1px solid var(--chessimals-border);background:var(--chessimals-soft);color:var(--chessimals-text)}.chessimals-howto p{color:var(--chessimals-muted)}.chessimals-howto__actions{display:flex;flex-wrap:wrap;gap:.625rem}:host-context(html.ion-palette-dark) .chessimals-howto,:host-context([data-theme=\"dark\"]) .chessimals-howto{border-color:#f6e3d533;background:#172116;color:#f6f3e9}:host-context(html.ion-palette-dark) .chessimals-howto p,:host-context([data-theme=\"dark\"]) .chessimals-howto p{color:#c8cfb1}.chessimals-result{order:5}.chessimals-result__actions{display:flex;flex-wrap:wrap;gap:.625rem;margin-top:.45rem}.chessimals-action-button{flex:0 1 auto;min-width:min(100%,12.5rem);max-width:100%;padding:.85rem 1.35rem}.chessimals-result.is-challenge-result{gap:0;padding:0;background:transparent}.chessimals-result__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin-top:.35rem}.chessimals-result__stats span{display:grid;gap:.15rem;min-width:0;border:1px solid rgba(var(--chessimals-primary-rgb),.16);border-radius:.85rem;padding:.58rem .6rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),transparent),var(--chessimals-panel)}.chessimals-result__stats small{overflow:hidden;color:var(--chessimals-muted);font-size:.68rem;font-weight:950;letter-spacing:.05em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-result__stats b{overflow:hidden;color:var(--chessimals-text);font-size:.92rem;font-weight:950;line-height:1.12;text-overflow:ellipsis;white-space:nowrap}.chessimals-result__detail{margin:.2rem 0 0}.chessimals-bot-report{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem;margin-top:.35rem;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:1rem;padding:.78rem .85rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),transparent),var(--chessimals-panel)}.chessimals-bot-report>span{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:.85rem;background:rgba(var(--chessimals-secondary-rgb),.14);font-size:1.45rem;box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14)}.chessimals-bot-report>span img{width:100%;height:100%;object-fit:contain}.chessimals-bot-report div{display:grid;gap:.12rem;min-width:0}.chessimals-bot-report small{color:var(--chessimals-muted);font-size:.72rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-bot-report strong{color:var(--chessimals-text);font-size:1rem;font-weight:950;line-height:1.15}.chessimals-bot-report p{margin:0;color:var(--chessimals-muted);font-size:.84rem;font-weight:820;line-height:1.28}.chessimals-online-status{order:3;display:grid;grid-template-columns:1.35rem minmax(0,1fr);align-items:center;gap:.85rem;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:1.1rem;padding:.85rem .95rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.09),transparent),var(--chessimals-panel)}.chessimals-online-status>span{justify-self:center;width:.72rem;height:.72rem;border-radius:999px;background:var(--chessimals-primary);box-shadow:0 0 0 .38rem rgba(var(--chessimals-primary-rgb),.12)}.chessimals-online-status.is-syncing>span{animation:chessimals-online-pulse .9s ease-in-out infinite}.chessimals-online-status.is-error{border-color:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.28);background:linear-gradient(135deg,rgba(var(--ion-color-danger-rgb, 235, 68, 90),.1),transparent),var(--chessimals-panel)}.chessimals-online-status.is-error>span{background:var(--ion-color-danger, #eb445a);box-shadow:0 0 0 .38rem rgba(var(--ion-color-danger-rgb, 235, 68, 90),.12)}.chessimals-online-status div{display:grid;gap:.12rem;min-width:0}.chessimals-online-status strong{overflow:hidden;color:var(--chessimals-text);font-size:.95rem;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.chessimals-online-status p{margin:0;color:var(--chessimals-muted);font-size:.84rem;font-weight:780;line-height:1.28}.chessimals-series{display:grid;gap:.18rem;margin-top:.35rem;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:1rem;padding:.78rem .85rem;background:linear-gradient(135deg,rgba(var(--chessimals-secondary-rgb),.12),transparent),var(--chessimals-panel)}.chessimals-series--compact{margin-top:0}.chessimals-series small{color:var(--chessimals-muted);font-size:.72rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-series strong{color:var(--chessimals-text);font-size:1rem;font-weight:950;line-height:1.15}.chessimals-series span{color:var(--chessimals-muted);font-size:.84rem;font-weight:820;line-height:1.28}.chessimals-replay{order:5;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;border:1px solid rgba(var(--chessimals-primary-rgb),.2);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),transparent),var(--chessimals-panel)}.chessimals-replay>div:first-child{display:grid;gap:.15rem;min-width:0}.chessimals-replay strong{font-size:1rem;font-weight:950}.chessimals-replay span{color:var(--chessimals-muted);font-size:.86rem;font-weight:800;line-height:1.25}.chessimals-replay__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}.chessimals-replay__actions .chessimals-secondary{min-height:2.5rem;padding:0 .8rem}.chessimals-tutorial{order:3;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:1rem;border:1px solid rgba(var(--chessimals-primary-rgb),.24);border-radius:1.25rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.13),transparent),var(--chessimals-panel)}.chessimals-tutorial>div{display:grid;gap:.18rem;min-width:0}.chessimals-tutorial small{color:var(--chessimals-primary);font-size:.76rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-tutorial strong{font-size:1rem;font-weight:950}.chessimals-tutorial p{margin:0;color:var(--chessimals-muted);font-size:.88rem;font-weight:780;line-height:1.35}.chessimals-tutorial .chessimals-secondary{min-height:2.5rem;padding:0 .85rem}.chessimals-rematch-status{order:5;border:1px solid rgba(var(--chessimals-primary-rgb),.22);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.12),transparent),var(--chessimals-panel)}.chessimals-rematch-status.is-incoming{border-color:rgba(var(--ion-color-success-rgb, 45, 211, 111),.38);background:linear-gradient(135deg,rgba(var(--ion-color-success-rgb, 45, 211, 111),.14),transparent),var(--chessimals-panel)}.chessimals-rematch-status strong{font-size:1rem;font-weight:950}.chessimals-rematch-status p{margin:0;color:var(--chessimals-muted);font-size:.88rem;line-height:1.35}.chessimals-rematch-player{background:var(--chessimals-elevated)}:host-context(html.ion-palette-dark) .chessimals-rematch-player,:host-context([data-theme=\"dark\"]) .chessimals-rematch-player{background:#ffffff0f}.chessimals-rematch-status__actions{display:flex;justify-content:flex-end}.chessimals-rematch-status__actions .chessimals-secondary{min-height:2.5rem;padding:0 .95rem}.chessimals-howto h2,.chessimals-powers h2{margin:0;font-size:1.15rem;font-weight:950}.chessimals-challenge-cta{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(10rem,auto) auto;gap:.65rem;align-items:center;border:1px solid rgba(var(--chessimals-sky-rgb),.24);border-radius:1.25rem;padding:.75rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.1),transparent 62%),var(--chessimals-panel);box-shadow:0 .7rem 1.4rem rgba(var(--chessimals-shadow-rgb),.08)}.chessimals-challenge-cta__copy{display:grid;gap:.18rem;min-width:0}.chessimals-challenge-cta__copy span,.chessimals-challenge-cta__rival small{color:var(--chessimals-sky);font-size:.68rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-challenge-cta__copy h2{margin:0;color:var(--chessimals-text);font-size:clamp(1.05rem,2.5vw,1.32rem);font-weight:1000}.chessimals-challenge-cta__copy p{margin:0;color:var(--chessimals-muted);font-size:.82rem;font-weight:780;line-height:1.3}.chessimals-challenge-cta__meta{display:grid;grid-template-columns:repeat(2,minmax(3.8rem,1fr));gap:.4rem}.chessimals-challenge-cta__meta span{display:grid;gap:.08rem;border:1px solid rgba(var(--chessimals-primary-rgb),.14);border-radius:.95rem;padding:.42rem .5rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-cta__meta small{color:var(--chessimals-muted);font-size:.62rem;font-weight:900;text-transform:uppercase}.chessimals-challenge-cta__meta strong{color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-challenge-cta__actions{display:grid;gap:.45rem;min-width:10rem}.chessimals-challenge-cta__rival{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem;align-items:center;min-width:0;border:1px solid rgba(var(--chessimals-primary-rgb),.14);border-radius:1rem;padding:.45rem;background:var(--chessimals-elevated)}.chessimals-challenge-cta__rival>.chessimals-bot-avatar{display:grid;place-items:center;width:2.15rem;height:2.15rem;border-radius:.9rem;background:rgba(var(--chessimals-sky-rgb),.14);font-size:1.12rem}.chessimals-challenge-cta__rival div{display:grid;gap:.08rem;min-width:0}.chessimals-challenge-cta__rival strong{overflow:hidden;color:var(--chessimals-text);font-size:.9rem;font-weight:1000;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-view{display:grid;gap:.85rem}.chessimals-back-link{justify-self:start;border:1px solid rgba(var(--chessimals-primary-rgb),.16);border-radius:999px;padding:.45rem .72rem;background:var(--chessimals-elevated);color:var(--chessimals-text);font:inherit;font-size:.85rem;font-weight:950;cursor:pointer}.chessimals-challenge-back{margin-bottom:.15rem}.chessimals-challenge-card{display:grid;gap:.9rem;border:1px solid rgba(var(--chessimals-sky-rgb),.34);border-radius:1.375rem;padding:1rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.18),transparent 54%),linear-gradient(180deg,var(--chessimals-glass-highlight),transparent),var(--chessimals-panel);box-shadow:0 1rem 2.2rem #4f3a231f}.chessimals-challenge-card--dedicated{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}.chessimals-challenge-hero,.chessimals-challenge-focus,.chessimals-challenge-secondary{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(14rem,.9fr);gap:.75rem;align-items:stretch}.chessimals-challenge-card__copy{display:grid;gap:.28rem;align-content:center}.chessimals-challenge-card__copy span,.chessimals-challenge-summary small,.chessimals-challenge-route small,.chessimals-challenge-panel__heading small{color:var(--chessimals-sky);font-size:.72rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-challenge-card h2{margin:0;font-size:clamp(1.25rem,3.5vw,1.9rem);font-weight:1000}.chessimals-challenge-card p,.chessimals-challenge-summary p{margin:0;color:var(--chessimals-muted);font-size:.95rem;font-weight:780;line-height:1.35}.chessimals-challenge-card__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.chessimals-challenge-rival{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.7rem;align-items:center;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:1.125rem;padding:.7rem;background:var(--chessimals-elevated)}.chessimals-challenge-rival--feature{min-height:8rem;border-color:rgba(var(--chessimals-sky-rgb),.28);background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.14),transparent),var(--chessimals-elevated)}.chessimals-bot-rival{order:2;border-color:rgba(var(--chessimals-magic-rgb),.38);padding:.62rem .7rem;background:radial-gradient(circle at 8% 12%,rgba(var(--chessimals-magic-rgb),.2),transparent 42%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),transparent 70%),var(--chessimals-elevated)}.chessimals-challenge-rival>.chessimals-bot-avatar{display:grid;place-items:center;width:3rem;height:3rem;border-radius:1rem;background:rgba(var(--chessimals-primary-rgb),.12);font-size:1.45rem}.chessimals-bot-rival>.chessimals-bot-avatar{width:3.3rem;height:3.3rem;border:1px solid rgba(var(--chessimals-magic-rgb),.5);background:var(--chessimals-panel);box-shadow:0 .4rem 1rem rgba(var(--chessimals-magic-rgb),.18)}.chessimals-challenge-rival div{display:grid;gap:.14rem;min-width:0}.chessimals-challenge-rival small,.chessimals-challenge-history small,.chessimals-challenge-summary__stats small{color:var(--chessimals-muted);font-size:.66rem;font-weight:900;text-transform:uppercase}.chessimals-challenge-rival strong{color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-challenge-rival p{font-size:.84rem}.chessimals-challenge-rival em{overflow:hidden;color:var(--chessimals-muted);font-size:.68rem;font-style:normal;font-weight:900;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-challenge-rival--next{background:rgba(var(--chessimals-primary-rgb),.08)}.chessimals-challenge-card__stats span{display:grid;gap:.16rem;border:1px solid rgba(var(--chessimals-primary-rgb),.16);border-radius:1rem;padding:.55rem;background:var(--chessimals-elevated)}.chessimals-challenge-card__stats small{color:var(--chessimals-muted);font-size:.66rem;font-weight:900;text-transform:uppercase}.chessimals-challenge-card__stats strong{color:var(--chessimals-text);font-size:1.1rem;font-weight:1000}.chessimals-challenge-card__actions{display:grid;gap:.55rem;align-content:center}.chessimals-challenge-card__actions--hero{grid-template-columns:minmax(0,1fr)}.chessimals-challenge-route,.chessimals-challenge-panel{display:grid;gap:.55rem;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:1.125rem;padding:.65rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-route>div:first-child,.chessimals-challenge-panel__heading{display:flex;flex-wrap:wrap;gap:.4rem;align-items:baseline;justify-content:space-between}.chessimals-challenge-route>div:first-child>span{color:var(--chessimals-muted);font-size:.76rem;font-weight:850}.chessimals-challenge-path{display:flex;flex-wrap:nowrap;gap:.4rem;overflow-x:auto;padding-block:.1rem;scrollbar-width:none}.chessimals-challenge-path::-webkit-scrollbar{display:none}.chessimals-challenge-path span{flex:0 0 auto;display:grid;place-items:center;width:2.15rem;height:2.15rem;overflow:hidden;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:999px;background:var(--chessimals-elevated-strong);font-size:1.08rem}.chessimals-challenge-path img{display:block;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;object-fit:contain}.chessimals-challenge-path span.is-cleared{border-color:rgba(var(--ion-color-success-rgb, 45, 211, 111),.34);background:rgba(var(--ion-color-success-rgb, 45, 211, 111),.16)}.chessimals-challenge-path span.is-current{border-color:rgba(var(--chessimals-sky-rgb),.48);background:rgba(var(--chessimals-sky-rgb),.18);box-shadow:0 0 0 2px rgba(var(--chessimals-sky-rgb),.12)}.chessimals-challenge-path span.is-final{border-color:rgba(var(--ion-color-warning-rgb, 255, 196, 9),.48)}.chessimals-challenge-roster{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem}.chessimals-challenge-roster article{display:grid;grid-template-columns:minmax(0,1fr);gap:.4rem;align-items:center;min-width:0;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:1rem;padding:.48rem;background:var(--chessimals-elevated-soft);opacity:.78}.chessimals-challenge-roster article.is-cleared{border-color:rgba(var(--ion-color-success-rgb, 45, 211, 111),.26);background:linear-gradient(135deg,rgba(var(--ion-color-success-rgb, 45, 211, 111),.1),transparent),var(--chessimals-elevated-soft);opacity:1}.chessimals-challenge-roster article.is-current{border-color:rgba(var(--chessimals-sky-rgb),.38);background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.16),transparent),var(--chessimals-elevated);box-shadow:0 0 0 2px rgba(var(--chessimals-sky-rgb),.1);opacity:1}.chessimals-challenge-roster article.is-final{border-color:rgba(var(--ion-color-warning-rgb, 255, 196, 9),.34)}.chessimals-challenge-roster article>.chessimals-bot-avatar{display:grid;place-items:center;width:2rem;height:2rem;border-radius:.85rem;background:rgba(var(--chessimals-primary-rgb),.1);font-size:1rem}.chessimals-challenge-roster article.is-current>.chessimals-bot-avatar{background:rgba(var(--chessimals-sky-rgb),.18)}.chessimals-challenge-roster div{display:grid;gap:.08rem;min-width:0}.chessimals-challenge-roster small,.chessimals-challenge-roster em{overflow:hidden;color:var(--chessimals-muted);font-size:.62rem;font-style:normal;font-weight:900;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-challenge-roster strong{overflow:hidden;color:var(--chessimals-text);font-size:.82rem;font-weight:1000;line-height:1.08;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-roster p{display:-webkit-box;overflow:hidden;margin:0;color:var(--chessimals-muted);font-size:.72rem;font-weight:820;line-height:1.18;-webkit-box-orient:vertical;-webkit-line-clamp:2}.chessimals-achievements,.chessimals-mode-winrates{display:grid;grid-template-columns:minmax(0,1fr);gap:.45rem}.chessimals-mode-winrates>span{display:grid;gap:.1rem;border:1px solid rgba(var(--chessimals-sky-rgb),.2);border-radius:8px;padding:.48rem;background:rgba(var(--chessimals-sky-rgb),.08)}.chessimals-mode-winrates small{overflow:hidden;color:var(--chessimals-muted);font-size:.64rem;font-weight:900;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-mode-winrates strong{color:var(--chessimals-text);font-size:.98rem;font-weight:1000}.chessimals-mode-winrates em{overflow:hidden;color:var(--chessimals-muted);font-size:.68rem;font-style:normal;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.chessimals-achievements>span{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.45rem;align-items:center;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:8px;padding:.5rem;background:var(--chessimals-elevated-soft);opacity:.68}.chessimals-achievements>span.is-unlocked{border-color:rgba(var(--chessimals-sky-rgb),.3);background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.14),var(--chessimals-elevated));opacity:1}.chessimals-achievements b{display:grid;place-items:center;width:1.9rem;height:1.9rem;border-radius:8px;background:rgba(var(--chessimals-primary-rgb),.1);color:var(--chessimals-muted);font-size:.9rem;font-weight:1000}.chessimals-achievements .is-unlocked b{background:var(--chessimals-sky);color:#fffaf0}.chessimals-achievements span span{display:grid;gap:.06rem;min-width:0}.chessimals-achievements strong,.chessimals-achievements small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chessimals-achievements strong{color:var(--chessimals-text);font-size:.78rem;font-weight:1000}.chessimals-achievements small{color:var(--chessimals-muted);font-size:.67rem;font-weight:850}.chessimals-secondary--compact{min-height:2.45rem;padding-block:.45rem}.chessimals-path-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:center;border:1px solid rgba(var(--chessimals-sky-rgb),.26);border-radius:1.25rem;padding:.75rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.13),rgba(var(--chessimals-sun-rgb),.08)),var(--chessimals-elevated-soft)}.chessimals-path-cta div{display:grid;gap:.18rem;min-width:0}.chessimals-path-cta span,.chessimals-path-hero small{color:var(--chessimals-sky);font-size:.68rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-path-cta strong{color:var(--chessimals-text);font-size:.95rem;font-weight:950;line-height:1.2}.chessimals-path-cta__action{justify-self:end;width:min(12rem,100%);min-width:9.5rem;padding-inline:1.1rem;white-space:nowrap}.chessimals-path-view{display:grid;gap:.85rem}.chessimals-path-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.8rem;align-items:center;border:1px solid rgba(var(--chessimals-sky-rgb),.26);border-radius:1.25rem;padding:.85rem;background:radial-gradient(circle at 88% 10%,rgba(var(--chessimals-sun-rgb),.18),transparent 34%),linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.14),transparent 62%),var(--chessimals-elevated-soft)}.chessimals-path-hero__art{display:block;width:clamp(5.2rem,15vw,7.5rem);height:clamp(5.2rem,15vw,7.5rem);object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chessimals-path-hero>div:not(.chessimals-path-hero__medal){display:grid;gap:.25rem;min-width:0}.chessimals-path-hero h2{margin:0;color:var(--chessimals-text);font-size:clamp(1.7rem,4vw,2.35rem);font-weight:1000;line-height:1}.chessimals-path-hero p{margin:0;color:var(--chessimals-muted);font-size:.95rem;font-weight:820;line-height:1.35}.chessimals-path-hero__medal{display:grid;place-items:center;width:6.5rem;min-height:6.5rem;border:1px solid rgba(var(--chessimals-primary-rgb),.14);border-radius:1rem;background:linear-gradient(180deg,rgba(var(--chessimals-sun-rgb),.2),rgba(var(--chessimals-sky-rgb),.11)),var(--chessimals-elevated);box-shadow:0 16px 28px rgba(var(--chessimals-shadow-rgb),.12)}.chessimals-path-hero__medal img{display:block;width:3rem;height:3rem;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chessimals-path-hero__medal span{color:var(--chessimals-text);font-size:1.65rem;font-weight:1000;line-height:1}.chessimals-path-hero__medal b{color:var(--chessimals-muted);font-size:.78rem;font-weight:950}.chessimals-path-highlights{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.65rem}.chessimals-path-highlights article{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.65rem;align-items:center;min-width:0;min-height:7.5rem;border:1px solid rgba(var(--chessimals-primary-rgb),.13);border-radius:1rem;padding:.7rem;background:radial-gradient(circle at 12% 4%,rgba(var(--chessimals-sun-rgb),.18),transparent 42%),var(--chessimals-elevated-soft)}.chessimals-path-highlights img{display:block;width:4.25rem;height:4.25rem;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chessimals-path-highlights article div{display:grid;min-width:0;gap:.12rem}.chessimals-path-highlights small{color:var(--chessimals-sky);font-size:.66rem;font-weight:950;letter-spacing:.05em;text-transform:uppercase}.chessimals-path-highlights strong{color:var(--chessimals-text);font-size:1.08rem;font-weight:1000;line-height:1.06}.chessimals-path-highlights span{color:var(--chessimals-muted);font-size:.76rem;font-weight:820;line-height:1.24}.chessimals-path-rings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.6rem}.chessimals-path-ring,.chessimals-path-panel,.chessimals-path-stats span,.chessimals-path-bars span{border:1px solid rgba(var(--chessimals-primary-rgb),.13);border-radius:1rem;background:var(--chessimals-elevated-soft)}.chessimals-path-ring{display:grid;grid-template-areas:\"ring label\" \"ring detail\";grid-template-columns:auto minmax(0,1fr);gap:.55rem;align-items:center;padding:.65rem;text-align:left}.chessimals-path-ring>div{position:relative;grid-area:ring;display:grid;place-items:center;width:3.35rem;height:3.35rem;border-radius:999px;background:conic-gradient(var(--chessimals-sky) var(--ring-progress),rgba(var(--chessimals-primary-rgb),.12) 0)}.chessimals-path-ring>div:after{position:absolute;inset:.34rem;border-radius:inherit;background:var(--chessimals-elevated);content:\"\"}.chessimals-path-ring strong{position:relative;z-index:1;color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-path-ring span,.chessimals-path-bars b{color:var(--chessimals-text);font-size:.78rem;font-weight:950}.chessimals-path-ring span{grid-area:label;align-self:end}.chessimals-path-ring small{grid-area:detail;align-self:start;min-width:0}.chessimals-path-ring small{color:var(--chessimals-muted);font-size:.68rem;font-weight:820;line-height:1.25}.chessimals-path-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:.75rem}.chessimals-path-panel{display:grid;gap:.65rem;align-content:start;padding:.75rem}.chessimals-path-panel--wide{grid-column:1 / -1}.chessimals-path-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10.5rem),1fr));gap:.5rem}.chessimals-path-stats span{display:grid;gap:.08rem;padding:.6rem}.chessimals-path-stats small{color:var(--chessimals-muted);font-size:.66rem;font-weight:900;text-transform:uppercase}.chessimals-path-stats strong{color:var(--chessimals-text);font-size:1.25rem;font-weight:1000}.chessimals-path-bars{display:grid;gap:.45rem}.chessimals-path-bars span{display:grid;grid-template-columns:minmax(0,.9fr) minmax(3rem,1fr) auto;gap:.45rem;align-items:center;padding:.48rem}.chessimals-path-bars i{display:block;height:.48rem;overflow:hidden;border-radius:999px;background:rgba(var(--chessimals-primary-rgb),.11)}.chessimals-path-bars i:before{display:block;width:var(--bar-progress);height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--chessimals-sky),var(--chessimals-sun));content:\"\"}.chessimals-path-bars strong{color:var(--chessimals-text);font-size:.86rem;font-weight:1000}.chessimals-achievements--path{grid-template-columns:1fr}.chessimals-challenge-history--path{border-top:0;padding-top:0}.chessimals-progress__heading small{color:var(--chessimals-sky);font-size:.68rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-progress__heading{display:flex;flex-wrap:wrap;gap:.35rem;align-items:baseline;justify-content:space-between}.chessimals-progress__heading span{color:var(--chessimals-muted);font-size:.76rem;font-weight:820}.chessimals-challenge-history{display:grid;gap:.35rem;border-top:1px solid rgba(var(--chessimals-primary-rgb),.12);padding-top:.2rem}.chessimals-challenge-history span{display:flex;flex-wrap:wrap;gap:.35rem;color:var(--chessimals-muted);font-size:.82rem;font-weight:820}.chessimals-challenge-history b{color:var(--chessimals-text);font-weight:1000}.chessimals-challenge-summary{display:grid;gap:.6rem;border:0;border-radius:0;padding:0;background:transparent}.chessimals-challenge-summary.is-victory,.chessimals-challenge-summary.is-defeat{background:transparent}.chessimals-challenge-summary__hero,.chessimals-challenge-rival-voice{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.7rem}.chessimals-challenge-summary__hero>.chessimals-bot-avatar,.chessimals-challenge-rival-voice>.chessimals-bot-avatar{position:relative;display:grid;place-items:center;width:3rem;height:3rem;border-radius:1rem;background:rgba(var(--chessimals-sky-rgb),.16);font-size:1.55rem;box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14)}.chessimals-challenge-summary__hero.is-cleared>.chessimals-bot-avatar img{filter:grayscale(1) saturate(.15) contrast(.95);opacity:.62}.chessimals-challenge-summary__hero.is-cleared>.chessimals-bot-avatar:after{content:\"\\2713\";position:absolute;right:-.05rem;bottom:-.05rem;display:grid;place-items:center;width:1.25rem;height:1.25rem;border:.12rem solid var(--chessimals-panel);border-radius:999px;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);font-size:.74rem;font-weight:1000;line-height:1}.chessimals-challenge-summary__hero div,.chessimals-challenge-rival-voice div{display:grid;gap:.12rem;min-width:0}.chessimals-challenge-summary__hero small,.chessimals-challenge-rival-voice small{color:var(--chessimals-muted);font-size:.68rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-challenge-summary strong{font-size:1rem;font-weight:1000}.chessimals-challenge-summary__hero p,.chessimals-challenge-rival-voice p{margin:0;color:var(--chessimals-muted);font-size:.86rem;font-weight:820;line-height:1.28}.chessimals-challenge-rival-voice{border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:.95rem;padding:.65rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-summary__actions{display:grid}.chessimals-challenge-summary__play{min-height:3.35rem;font-size:1.02rem;box-shadow:0 .9rem 1.8rem rgba(var(--chessimals-primary-rgb),.26)}.chessimals-result.is-challenge-result .chessimals-challenge-tension,.chessimals-result.is-challenge-result .chessimals-challenge-rival--next{display:grid;grid-template-columns:minmax(0,1fr);border:0;border-radius:.75rem;padding:.45rem .6rem;background:rgba(var(--chessimals-primary-rgb),.07)}.chessimals-result.is-challenge-result .chessimals-challenge-rival--next{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.7rem;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:1rem;padding:.65rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.12),transparent),rgba(var(--chessimals-primary-rgb),.06)}.chessimals-result.is-challenge-result .chessimals-challenge-rival--next>.chessimals-bot-avatar{width:3.4rem;height:3.4rem;border-radius:1.1rem;background:var(--chessimals-elevated-strong);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14),0 .45rem 1rem rgba(var(--chessimals-primary-rgb),.1)}.chessimals-result.is-challenge-result .chessimals-challenge-rival--next p{margin:0;color:var(--chessimals-text);font-size:.9rem;font-weight:900;line-height:1.22}.chessimals-result.is-challenge-result .chessimals-challenge-tension.is-critical{background:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.1)}.chessimals-challenge-rival-voice>.chessimals-bot-avatar{width:2.35rem;height:2.35rem;border-radius:999px;font-size:1.15rem}.chessimals-challenge-summary__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}.chessimals-challenge-record{display:flex;align-items:center;gap:.45rem;border:1px solid rgba(var(--chessimals-sky-rgb),.34);border-radius:999px;padding:.45rem .65rem;background:rgba(var(--chessimals-sky-rgb),.14);color:var(--chessimals-text)}.chessimals-challenge-record span{display:grid;place-items:center;width:1.45rem;height:1.45rem;border-radius:999px;background:var(--chessimals-sky);color:#fffaf0;font-size:.82rem}.chessimals-challenge-record strong{font-size:.9rem}.chessimals-challenge-tension{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.55rem;align-items:center;border:1px solid rgba(var(--chessimals-sky-rgb),.3);border-radius:.9rem;padding:.65rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.16),rgba(var(--chessimals-primary-rgb),.08)),var(--chessimals-elevated)}.chessimals-challenge-tension.is-critical{border-color:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.38);background:linear-gradient(135deg,rgba(var(--ion-color-danger-rgb, 235, 68, 90),.16),rgba(var(--chessimals-primary-rgb),.08)),var(--chessimals-elevated)}.chessimals-challenge-tension>span{display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:999px;background:rgba(var(--chessimals-sky-rgb),.18);color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-challenge-tension.is-critical>span{background:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.18)}.chessimals-challenge-tension div{display:grid;gap:.14rem;min-width:0}.chessimals-challenge-tension strong{font-size:.95rem}.chessimals-challenge-tension p{font-size:.84rem}.chessimals-challenge-summary__stats span{display:grid;gap:.1rem;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:.8rem;padding:.45rem;background:var(--chessimals-elevated)}.chessimals-challenge-summary__stats b{color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-challenge-rival--next em{color:var(--chessimals-muted);font-size:.78rem;font-style:normal;font-weight:820;line-height:1.25;white-space:normal}.chessimals-tip p,.chessimals-powers p{color:var(--chessimals-muted)}.chessimals-learn-more{justify-self:start;min-height:2.75rem;border:0;border-radius:999px;padding:0 1rem;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);font:inherit;font-weight:950;box-shadow:0 .75rem 1.6rem rgba(var(--chessimals-primary-rgb),.28)}.chessimals-size,.chessimals-mode,.chessimals-status{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem}.chessimals-status{order:3;grid-template-columns:repeat(3,minmax(0,1fr))}.chessimals-size button,.chessimals-mode button,.chessimals-status div{display:grid;gap:.2rem;align-content:center;min-width:0;min-height:3.875rem;padding:.55rem .65rem;border:1px solid var(--chessimals-border);border-radius:1rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;text-align:left}.chessimals-size button.is-selected{border-color:var(--chessimals-primary);box-shadow:0 0 0 2px rgba(var(--chessimals-primary-rgb),.16)}.chessimals-mode button.is-selected{border-color:var(--chessimals-primary);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.13),transparent),var(--chessimals-panel);box-shadow:0 0 0 2px rgba(var(--chessimals-primary-rgb),.16)}.chessimals-status__timer{position:relative;overflow:hidden;isolation:isolate;border-color:rgba(var(--chessimals-primary-rgb),.42)!important}.chessimals-status__timer:before{content:\"\";position:absolute;inset:auto 0 0;z-index:0;height:.22rem;transform:scaleX(var(--timer-progress, 1));transform-origin:left center;background:var(--chessimals-primary);transition:transform .18s linear,background .18s ease}.chessimals-status__timer.is-low{border-color:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.58)!important;background:linear-gradient(135deg,rgba(var(--ion-color-danger-rgb, 235, 68, 90),.16),transparent),var(--chessimals-panel)!important;animation:chessimals-turn-pulse .82s ease-in-out infinite}.chessimals-status__timer.is-low:before{background:var(--ion-color-danger, #eb445a)}.chessimals-status__timer.is-low strong{color:var(--ion-color-danger, #eb445a)}.chessimals-status__score.is-pop{border-color:rgba(var(--chessimals-sky-rgb),.42);background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.16),transparent),var(--chessimals-panel);animation:chessimals-score-pulse .62s ease-out both}.chessimals-status__timer small,.chessimals-status__timer strong{position:relative;z-index:1}.chessimals-challenge-live{order:4;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.35fr);gap:.65rem;align-items:stretch;border:1px solid rgba(var(--chessimals-sky-rgb),.28);border-radius:8px;padding:.68rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.13),transparent 52%),var(--chessimals-elevated-soft);color:var(--chessimals-text)}.chessimals-challenge-live__rival{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.55rem;align-items:center;min-width:0}.chessimals-challenge-live__rival>.chessimals-bot-avatar{display:grid;place-items:center;width:2.7rem;height:2.7rem;border-radius:8px;background:rgba(var(--chessimals-sky-rgb),.16);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14);font-size:1.35rem}.chessimals-challenge-live__rival div{display:grid;gap:.08rem;min-width:0}.chessimals-challenge-live__rival small,.chessimals-challenge-live__metrics small{overflow:hidden;color:var(--chessimals-muted);font-size:.64rem;font-weight:900;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-challenge-live__rival strong{overflow:hidden;color:var(--chessimals-text);font-size:1rem;font-weight:1000;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-live__rival p{display:-webkit-box;overflow:hidden;margin:0;color:var(--chessimals-muted);font-size:.78rem;font-weight:820;line-height:1.18;-webkit-box-orient:vertical;-webkit-line-clamp:2}.chessimals-challenge-live__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.42rem}.chessimals-challenge-live__metrics span{display:grid;gap:.1rem;align-content:center;min-width:0;min-height:3rem;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:8px;padding:.4rem .45rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-live__metrics b{overflow:hidden;color:var(--chessimals-text);font-size:.92rem;font-weight:1000;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-tension--live{grid-column:1 / -1;padding:.55rem}.chessimals-difficulty{display:flex;flex-wrap:wrap;gap:.55rem}.chessimals-difficulty button{min-height:2.75rem;border:1px solid var(--chessimals-border);border-radius:999px;padding:0 1rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;font-weight:950}.chessimals-difficulty button.is-selected{border-color:var(--chessimals-primary);background:var(--chessimals-primary);color:#fff}.chessimals-bots{display:grid;grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));gap:.625rem}.chessimals-bots button{display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"avatar title\" \"avatar body\" \"avatar tendency\";column-gap:.55rem;row-gap:.12rem;min-width:0;min-height:4.75rem;border:1px solid var(--chessimals-border);border-radius:1rem;padding:.65rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;text-align:left}.chessimals-bots button>.chessimals-bot-avatar{grid-area:avatar;display:grid;place-items:center;width:2.1rem;height:2.1rem;border-radius:50%;background:rgba(var(--chessimals-primary-rgb),.12);font-size:1.2rem}.chessimals-bots button strong{grid-area:title;align-self:end;font-size:.95rem;font-weight:950}.chessimals-bots button small{grid-area:body;color:var(--chessimals-muted);font-size:.75rem;font-weight:750;line-height:1.25}.chessimals-bots button p{grid-area:tendency;margin:.12rem 0 0;color:var(--chessimals-muted);font-size:.72rem;font-weight:820;line-height:1.24}.chessimals-bots button.is-selected{border-color:var(--chessimals-primary);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.13),transparent),var(--chessimals-panel);box-shadow:0 0 0 2px rgba(var(--chessimals-primary-rgb),.16),0 .75rem 1.5rem rgba(var(--chessimals-primary-rgb),.1)}.chessimals-size strong,.chessimals-mode strong,.chessimals-status strong,.chessimals-result strong,.chessimals-rematch-status strong,.chessimals-tip strong{font-weight:950}.chessimals-status strong{min-width:0;font-size:clamp(.95rem,2.5vw,1.2rem);line-height:1.08;overflow-wrap:anywhere;white-space:normal}.chessimals-size small,.chessimals-mode small,.chessimals-status small{color:var(--chessimals-muted);font-size:.78rem;line-height:1.12}.chessimals-board-wrap{--chessimals-board-radius: min(.85rem, 14px);display:flex;justify-content:center;min-width:0;max-width:100%;overflow-x:auto;width:100%;padding:.25rem 0}.chessimals-board-wrap.is-orienting .chessimals-board-frame{animation:chessimals-orient-board .32s ease}.chessimals-board-wrap.is-finished{overflow-x:visible}.chessimals-board-frame{flex:0 1 58rem;min-width:0;width:100%;max-width:58rem;border-radius:var(--chessimals-board-radius)}.chessimals-board{position:relative;display:grid;grid-template-columns:repeat(var(--board-size),minmax(0,1fr));grid-template-rows:repeat(var(--board-size),minmax(0,1fr));min-width:0;width:100%;aspect-ratio:1 / 1;overflow:hidden;isolation:isolate;contain:paint;border:1px solid var(--chessimals-border);border-radius:var(--chessimals-board-radius);clip-path:inset(0 round var(--chessimals-board-radius));-webkit-mask-image:-webkit-radial-gradient(white,black);background:radial-gradient(ellipse at 16% 18%,rgba(255,255,255,.34),transparent 18%),radial-gradient(ellipse at 82% 78%,rgba(var(--chessimals-primary-rgb),.1),transparent 22%),radial-gradient(ellipse at 32% 68%,rgba(var(--chessimals-stone-rgb),.05),transparent 30%),radial-gradient(ellipse at 66% 34%,rgba(255,255,255,.08),transparent 24%),var(--chessimals-border);box-shadow:inset 0 0 0 1px #ffffff1a,0 .85rem 2.1rem var(--chessimals-board-shadow)}.chessimals-board-wrap.is-syncing .chessimals-board{cursor:wait}.chessimals-cell-coordinate{position:absolute;z-index:5;color:color-mix(in srgb,var(--chessimals-muted) 78%,var(--chessimals-text));font-size:.68rem;font-weight:950;letter-spacing:.02em;line-height:1;pointer-events:none;text-transform:uppercase;-webkit-user-select:none;user-select:none}.chessimals-cell-coordinate--rank{top:.2rem;left:.24rem}.chessimals-cell-coordinate--file{right:.24rem;bottom:.18rem}@keyframes chessimals-orient-board{0%{opacity:.72;filter:blur(.06rem);transform:scale(.985)}52%{opacity:.92;filter:blur(0);transform:scale(1.012)}to{opacity:1;filter:blur(0);transform:scale(1)}}.chessimals-center-line{position:absolute;top:50%;left:0;right:0;z-index:2;display:flex;align-items:center;justify-content:center;border-top:.08rem dashed rgba(var(--chessimals-primary-rgb),.56);filter:drop-shadow(0 0 .24rem rgba(var(--chessimals-primary-rgb),.26));pointer-events:none}.chessimals-power-trail{position:absolute;inset:0;z-index:5;pointer-events:none;--trail-color: rgba(var(--chessimals-magic-rgb), .88);--trail-glow: rgba(var(--chessimals-magic-rgb), .48)}.chessimals-power-trail.is-capture{--trail-color: rgba(var(--chessimals-capture-rgb), .86);--trail-glow: rgba(var(--chessimals-capture-rgb), .46)}.chessimals-power-trail.effect-eagle{--trail-color: rgba(255, 255, 255, .92);--trail-glow: rgba(120, 210, 255, .54)}.chessimals-power-trail.effect-bull{--trail-color: rgba(188, 131, 76, .86);--trail-glow: rgba(188, 131, 76, .36)}.chessimals-power-trail.effect-kangaroo{--trail-color: rgba(174, 124, 255, .86);--trail-glow: rgba(174, 124, 255, .42)}.chessimals-power-trail.effect-lion{--trail-color: rgba(255, 221, 120, .88);--trail-glow: rgba(255, 190, 56, .42)}.chessimals-power-trail>span{position:absolute;top:var(--trail-y);left:var(--trail-x);width:var(--trail-length);height:.45rem;border-radius:999px;background:linear-gradient(90deg,transparent,var(--trail-color) 42%,rgba(255,255,255,.92));box-shadow:0 0 .75rem var(--trail-glow),0 0 1.45rem var(--trail-glow);transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0);transform-origin:0 50%;animation:chessimals-power-trail .72s ease-out both}.chessimals-power-trail.effect-eagle>span{height:.28rem;background:linear-gradient(90deg,transparent,rgba(255,255,255,.95) 44%,rgba(120,210,255,.58)),repeating-linear-gradient(90deg,transparent 0 .7rem,rgba(255,255,255,.66) .7rem .92rem);animation-name:chessimals-eagle-trail}.chessimals-power-trail.effect-bull>span{height:.72rem;background:repeating-linear-gradient(90deg,rgba(255,255,255,.42) 0 .18rem,transparent .18rem .42rem),linear-gradient(90deg,transparent,var(--trail-color),rgba(255,255,255,.86));animation-name:chessimals-bull-trail}.chessimals-power-trail.effect-kangaroo>span{height:1rem;border-top:.16rem dashed var(--trail-color);background:transparent;box-shadow:none;filter:drop-shadow(0 0 .8rem var(--trail-glow));animation-name:chessimals-kangaroo-trail}.chessimals-power-trail.effect-lion>span{height:.62rem;background:linear-gradient(90deg,transparent,var(--trail-color),rgba(255,255,255,.82)),repeating-linear-gradient(115deg,rgba(255,255,255,.55) 0 .12rem,transparent .12rem .34rem);animation-name:chessimals-lion-trail}@keyframes chessimals-power-trail{0%{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0)}28%{opacity:1;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(.72)}to{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1)}}@keyframes chessimals-eagle-trail{0%{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0) skew(-10deg)}30%{opacity:1;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(.82) skew(-10deg)}to{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1.05) skew(-10deg)}}@keyframes chessimals-bull-trail{0%{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0) scaleY(1)}38%{opacity:1;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(.7) scaleY(1.18)}to{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1) scaleY(.82)}}@keyframes chessimals-kangaroo-trail{0%{opacity:0;transform:translateY(-.4rem) rotate(var(--trail-angle)) scaleX(0)}34%{opacity:1;transform:translateY(-1.2rem) rotate(var(--trail-angle)) scaleX(.62)}to{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1)}}@keyframes chessimals-lion-trail{0%{opacity:0;filter:saturate(1);transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0)}36%{opacity:1;filter:saturate(1.4);transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(.76)}to{opacity:0;filter:saturate(1.1);transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1)}}@keyframes chessimals-score-pulse{0%,to{transform:translateZ(0) scale(1)}42%{transform:translateZ(0) scale(1.035)}}.chessimals-challenge-intro{position:absolute;inset:0;z-index:7;display:grid;place-items:center;padding:clamp(.75rem,4vw,1.35rem);background:radial-gradient(circle at 50% 36%,rgba(var(--chessimals-sky-rgb),.24),transparent 34%),linear-gradient(135deg,#140c167a,#08120d57);backdrop-filter:blur(1.5px);animation:chessimals-challenge-intro-in .26s ease-out both}.chessimals-challenge-intro__card{display:grid;justify-items:center;gap:.55rem;width:min(18rem,92%);border:1px solid rgba(var(--chessimals-sky-rgb),.34);border-radius:8px;padding:.85rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.14),transparent),var(--chessimals-elevated-strong);color:var(--chessimals-text);box-shadow:0 1.1rem 2.3rem #0000003d,inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.08);text-align:center}.chessimals-challenge-intro__avatar{display:grid;place-items:center;width:4rem;height:4rem;border-radius:8px;background:radial-gradient(circle at 35% 24%,var(--chessimals-glass-highlight),transparent 30%),rgba(var(--chessimals-sky-rgb),.16);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.16),0 .7rem 1.5rem rgba(var(--chessimals-sky-rgb),.18);font-size:2.15rem}.chessimals-challenge-intro__copy{display:grid;gap:.14rem;min-width:0}.chessimals-challenge-intro__copy small,.chessimals-challenge-intro__facts small{overflow:hidden;color:var(--chessimals-muted);font-size:.64rem;font-weight:950;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-challenge-intro__copy strong{overflow:hidden;color:var(--chessimals-text);font-size:1.35rem;font-weight:1000;line-height:1.04;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-intro__copy p{display:-webkit-box;overflow:hidden;margin:0;color:var(--chessimals-muted);font-size:.88rem;font-weight:820;line-height:1.24;-webkit-box-orient:vertical;-webkit-line-clamp:2}.chessimals-challenge-intro__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;width:100%}.chessimals-challenge-intro__facts span{display:grid;gap:.1rem;min-width:0;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:8px;padding:.38rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-intro__facts b{overflow:hidden;color:var(--chessimals-text);font-size:.86rem;font-weight:1000;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-intro .chessimals-primary{min-height:2.45rem;width:100%}@keyframes chessimals-challenge-intro-in{0%{opacity:0}to{opacity:1}}.chessimals-board-overlay{position:absolute;inset:0;z-index:8;display:grid;place-content:center;gap:.5rem;padding:1.25rem;background:radial-gradient(circle at 50% 34%,rgba(255,226,129,.34),transparent 24%),radial-gradient(circle at 50% 52%,rgba(var(--chessimals-primary-rgb),.34),transparent 42%),linear-gradient(135deg,#140c16e0,#08120dc7);color:#fff;text-align:center;backdrop-filter:blur(2px);overflow:hidden}.chessimals-board-overlay.is-defeat{background:radial-gradient(circle at 50% 34%,rgba(143,168,206,.26),transparent 24%),radial-gradient(circle at 50% 52%,rgba(72,86,115,.42),transparent 42%),linear-gradient(135deg,#090c14e6,#1c1e2bcc)}.chessimals-board-overlay:before{position:absolute;inset:0;background:radial-gradient(circle at 20% 30%,rgba(255,255,255,.58) 0 .08rem,transparent .1rem),radial-gradient(circle at 75% 25%,rgba(255,226,129,.7) 0 .1rem,transparent .12rem),radial-gradient(circle at 68% 72%,rgba(var(--chessimals-capture-rgb),.54) 0 .08rem,transparent .1rem),radial-gradient(circle at 35% 78%,rgba(255,255,255,.48) 0 .07rem,transparent .09rem),radial-gradient(circle at 84% 66%,rgba(255,255,255,.38) 0 .06rem,transparent .08rem),radial-gradient(circle at 14% 64%,rgba(255,226,129,.48) 0 .07rem,transparent .09rem);content:\"\";opacity:.72;animation:chessimals-victory-sparks 1.5s ease-in-out infinite}.chessimals-board-overlay__rays{position:absolute;inset:-18%;background:conic-gradient(from 8deg,transparent 0 7deg,rgba(255,226,129,.16) 7deg 11deg,transparent 11deg 22deg);opacity:.85;animation:chessimals-finale-rays 8s linear infinite}.chessimals-board-overlay.is-defeat .chessimals-board-overlay__rays{background:conic-gradient(from 8deg,transparent 0 8deg,rgba(180,204,240,.1) 8deg 12deg,transparent 12deg 24deg);animation-duration:12s}.chessimals-board-overlay__ribbon{position:absolute;top:-20%;width:.42rem;height:54%;border-radius:999px;background:linear-gradient(to bottom,transparent,rgba(255,226,129,.72),transparent);opacity:.7;transform:rotate(var(--ribbon-angle, 12deg));animation:chessimals-finale-ribbon 2.5s ease-in-out infinite}.chessimals-board-overlay.is-defeat .chessimals-board-overlay__ribbon{background:linear-gradient(to bottom,transparent,rgba(180,204,240,.42),transparent);opacity:.48}.chessimals-board-overlay__ribbon.ribbon-a{left:18%;--ribbon-angle: -18deg}.chessimals-board-overlay__ribbon.ribbon-b{left:50%;--ribbon-angle: 8deg;animation-delay:.32s}.chessimals-board-overlay__ribbon.ribbon-c{right:18%;--ribbon-angle: 20deg;animation-delay:.64s}.chessimals-board-overlay>*{position:relative;z-index:1}.chessimals-board-overlay span{justify-self:center;border-radius:999px;padding:.32rem .7rem;background:#ffffff26;color:#ffffffe6;font-size:.76rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-board-overlay strong{font-size:clamp(1.65rem,8vw,3rem);line-height:1;font-weight:950;text-shadow:0 0 1.25rem rgba(255,255,255,.26)}.chessimals-board-overlay em{justify-self:center;display:grid;place-items:center;width:clamp(3rem,14vw,4.6rem);height:clamp(3rem,14vw,4.6rem);border:.16rem solid rgba(255,255,255,.62);border-radius:50%;background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.72),transparent 18%),linear-gradient(135deg,#ffe281,#b98436);color:#2d2412;font-size:clamp(1.1rem,5vw,1.65rem);font-style:normal;font-weight:950;box-shadow:0 0 0 .45rem #ffe2811f,0 1rem 2rem #00000042;animation:chessimals-finale-medal 1.8s ease-in-out infinite}.chessimals-board-overlay.is-defeat em{background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.48),transparent 18%),linear-gradient(135deg,#d9e2ef,#69758e);color:#182032;box-shadow:0 0 0 .45rem #b4ccf01a,0 1rem 2rem #00000052}.chessimals-board-overlay em.has-avatar{overflow:hidden;background:#fff;padding:0}.chessimals-board-overlay em.has-avatar img{display:block;width:100%;height:100%;object-fit:cover}.chessimals-board-overlay b{justify-self:center;color:#fffc;font-size:.8rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-board-overlay small{color:#ffffffd1;font-size:clamp(.9rem,3vw,1.1rem);font-weight:800}.chessimals-board-overlay__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem;width:min(26rem,92%);margin:.2rem auto 0}.chessimals-board-overlay__stats div{display:grid;gap:.08rem;min-width:0;border:1px solid rgba(255,255,255,.18);border-radius:.75rem;padding:.42rem .46rem;background:#ffffff1a;backdrop-filter:blur(3px)}.chessimals-board-overlay__stats dt,.chessimals-board-overlay__stats dd{overflow:hidden;margin:0;text-overflow:ellipsis;white-space:nowrap}.chessimals-board-overlay__stats dt{color:#ffffffad;font-size:clamp(.52rem,2.1vw,.66rem);font-weight:950;letter-spacing:.04em;text-transform:uppercase}.chessimals-board-overlay__stats dd{color:#fff;font-size:clamp(.68rem,2.8vw,.88rem);font-weight:950}@keyframes chessimals-victory-sparks{0%,to{opacity:.46;transform:translateY(0) scale(.98)}50%{opacity:.95;transform:translateY(-.35rem) scale(1.02)}}@keyframes chessimals-finale-rays{to{transform:rotate(360deg)}}@keyframes chessimals-finale-ribbon{0%,to{opacity:.18;transform:translateY(-.5rem) rotate(var(--ribbon-angle))}50%{opacity:.75;transform:translateY(1.4rem) rotate(var(--ribbon-angle))}}@keyframes chessimals-finale-medal{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-.18rem) scale(1.04)}}.chessimals-cell{position:relative;isolation:isolate;--chessimals-cell-bg: var(--chessimals-cell-light);display:grid;place-items:center;min-width:0;min-height:0;aspect-ratio:1;border:0;background:radial-gradient(ellipse at 26% 24%,rgba(255,255,255,.12),transparent 24%),radial-gradient(ellipse at 78% 76%,rgba(61,54,36,.06),transparent 28%),linear-gradient(135deg,rgba(255,255,255,.04),transparent 52%,rgba(52,44,28,.04)),var(--chessimals-cell-bg);color:var(--chessimals-text);font:inherit;overflow:hidden;transition:background .16s ease,box-shadow .16s ease,transform .16s ease}.chessimals-cell:before,.chessimals-cell:after{pointer-events:none}.chessimals-cell-texture{position:absolute;inset:0;z-index:0;display:block;pointer-events:none;opacity:.42;mix-blend-mode:multiply;background:radial-gradient(ellipse at var(--wear-x, 28%) var(--wear-y, 32%),rgba(255,255,255,.16),transparent 17%),radial-gradient(ellipse at var(--wear-x2, 74%) var(--wear-y2, 68%),rgba(75,66,42,.09),transparent 25%),repeating-linear-gradient(var(--wear-angle, 26deg),rgba(75,66,42,.045) 0 1px,transparent 1px .52rem),linear-gradient(135deg,rgba(255,255,255,.06),transparent 42%,rgba(52,44,28,.045))}.chessimals-cell-texture:after{position:absolute;inset:.08rem;border:1px solid rgba(75,66,42,.05);border-radius:.18rem;box-shadow:inset .08rem .08rem #ffffff14,inset -.08rem -.08rem #342c1c0b;content:\"\"}.chessimals-cell.is-edge-cell .chessimals-cell-texture{opacity:.56;background:radial-gradient(ellipse at var(--wear-x, 28%) var(--wear-y, 32%),rgba(255,255,255,.14),transparent 18%),radial-gradient(ellipse at var(--wear-x2, 74%) var(--wear-y2, 68%),rgba(75,66,42,.14),transparent 28%),linear-gradient(135deg,rgba(70,52,28,.055),transparent 44%,rgba(52,44,28,.09)),repeating-linear-gradient(var(--wear-angle, 26deg),rgba(75,66,42,.055) 0 1px,transparent 1px .48rem)}.chessimals-cell.wear-0{--wear-x: 22%;--wear-y: 24%;--wear-x2: 78%;--wear-y2: 72%;--wear-angle: 18deg}.chessimals-cell.wear-1{--wear-x: 64%;--wear-y: 18%;--wear-x2: 30%;--wear-y2: 76%;--wear-angle: -24deg}.chessimals-cell.wear-2{--wear-x: 42%;--wear-y: 58%;--wear-x2: 82%;--wear-y2: 26%;--wear-angle: 42deg}.chessimals-cell.wear-3{--wear-x: 74%;--wear-y: 68%;--wear-x2: 24%;--wear-y2: 28%;--wear-angle: -12deg}.chessimals-cell.wear-4{--wear-x: 34%;--wear-y: 18%;--wear-x2: 62%;--wear-y2: 84%;--wear-angle: 64deg}.chessimals-cell.wear-5{--wear-x: 18%;--wear-y: 70%;--wear-x2: 70%;--wear-y2: 34%;--wear-angle: -48deg}:host-context(html.ion-palette-dark) .chessimals-cell-texture,:host-context([data-theme=\"dark\"]) .chessimals-cell-texture{opacity:.34;mix-blend-mode:soft-light}.chessimals-cell.is-dark-cell{--chessimals-cell-bg: var(--chessimals-cell-dark)}.chessimals-cell.is-selected{z-index:1;background:radial-gradient(circle,rgba(var(--chessimals-selected-rgb),.28) 0 36%,transparent 62%),linear-gradient(135deg,rgba(var(--chessimals-selected-rgb),.22),#ffffff14),var(--chessimals-cell-bg);box-shadow:inset 0 0 0 .18rem var(--chessimals-selected),inset 0 0 .55rem #ffffffb8,inset 0 0 1.8rem rgba(var(--chessimals-selected-rgb),.42),0 0 .55rem rgba(var(--chessimals-selected-rgb),.56),0 0 1.55rem rgba(var(--chessimals-selected-rgb),.36)}.chessimals-board.is-power-aiming .chessimals-cell.is-selected{background:radial-gradient(circle at 50% 52%,rgba(var(--chessimals-magic-rgb),.38) 0 34%,transparent 64%),radial-gradient(circle at 32% 24%,rgba(255,255,255,.34),transparent 28%),linear-gradient(135deg,rgba(var(--chessimals-magic-rgb),.2),#ffffff14),var(--chessimals-cell-bg);box-shadow:inset 0 0 0 .18rem var(--chessimals-magic-hot),inset 0 0 .8rem #ffffffa8,inset 0 0 1.9rem rgba(var(--chessimals-magic-rgb),.5),0 0 .7rem rgba(var(--chessimals-magic-rgb),.62),0 0 1.75rem rgba(var(--chessimals-magic-rgb),.42)}.chessimals-board.is-power-aiming .chessimals-cell.is-legal:not(.is-capture):after{border-color:rgba(var(--chessimals-magic-rgb),.94);box-shadow:0 0 .72rem rgba(var(--chessimals-magic-rgb),.48),inset 0 0 .6rem #fff3}.chessimals-board.is-power-aiming .chessimals-target{background:var(--chessimals-magic-hot);box-shadow:0 0 0 .2rem rgba(var(--chessimals-magic-rgb),.2),0 0 .95rem rgba(var(--chessimals-magic-rgb),.62)}.chessimals-cell.is-legal:not(.is-capture):after{position:absolute;inset:13%;z-index:2;border:max(2px,1.8%) solid var(--chessimals-move);border-radius:.55rem;content:\"\";opacity:.74;pointer-events:none}.chessimals-cell.is-last:not(.is-selected):not(.is-legal):not(.is-capture){background:radial-gradient(circle,rgba(var(--chessimals-last-rgb),.16) 0 42%,transparent 68%),var(--chessimals-cell-bg)}.chessimals-cell.is-capture{z-index:2;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.24),transparent 34%),linear-gradient(135deg,rgba(var(--chessimals-capture-rgb),.14),#ffffff14),var(--chessimals-cell-bg);box-shadow:inset 0 0 0 .14rem rgba(var(--chessimals-capture-rgb),.84),inset 0 0 1.4rem rgba(var(--chessimals-capture-rgb),.24),0 0 .95rem rgba(var(--chessimals-capture-rgb),.34);animation:chessimals-capture-aura 1.35s ease-in-out infinite}.chessimals-cell.is-capture:before{position:absolute;inset:4%;z-index:1;display:block;border-radius:.64rem;background:linear-gradient(90deg,transparent,rgba(255,255,255,.52),transparent),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.24),transparent 58%);content:\"\";opacity:0;transform:translate(-42%) scale(.9);animation:chessimals-capture-sweep 1.35s ease-in-out infinite}.chessimals-cell.is-capture:after{position:absolute;inset:8%;z-index:3;border:max(2px,1.55%) solid rgba(var(--chessimals-capture-rgb),.9);border-radius:.62rem;box-shadow:0 0 .75rem rgba(var(--chessimals-capture-rgb),.5),inset 0 0 .72rem #ffffff38;content:\"\";pointer-events:none;animation:chessimals-capture-frame 1.35s ease-in-out infinite}.chessimals-cell.has-capture-ready:not(.is-selected):after{position:absolute;inset:16%;z-index:3;border:max(2px,1.45%) solid rgba(var(--chessimals-selected-rgb),.72);border-radius:999px;box-shadow:0 0 .65rem rgba(var(--chessimals-selected-rgb),.34),inset 0 0 .55rem #ffffff2e;content:\"\"}.chessimals-cell.is-winning.is-legal:not(.is-capture):after{border-color:rgba(var(--chessimals-warning-rgb),.92);border-radius:999px;box-shadow:0 0 .75rem rgba(var(--chessimals-warning-rgb),.48),inset 0 0 .58rem #ffffff38}.chessimals-cell.is-winning .chessimals-target{background:var(--chessimals-warning);box-shadow:0 0 0 .22rem rgba(var(--chessimals-warning-rgb),.2),0 0 .95rem rgba(var(--chessimals-warning-rgb),.56)}.chessimals-cell.has-threat:not(.is-selected):not(.is-capture){background:radial-gradient(circle at 50% 52%,rgba(var(--chessimals-warning-rgb),.16),transparent 52%),var(--chessimals-cell-bg)}.chessimals-cell.has-threat:not(.is-selected):not(.is-capture) .chessimals-piece{filter:drop-shadow(0 0 .38rem rgba(var(--chessimals-warning-rgb),.52)) var(--chessimals-piece-white-shadow)}.chessimals-cell.has-threat:not(.is-selected):not(.is-capture) .chessimals-piece.is-black{filter:drop-shadow(0 0 .38rem rgba(var(--chessimals-warning-rgb),.52)) var(--chessimals-piece-black-shadow)}.chessimals-cell.has-threat:not(.is-selected):not(.is-capture):before{position:absolute;top:.26rem;right:.26rem;z-index:4;width:.48rem;height:.48rem;border-radius:999px;background:rgba(var(--chessimals-warning-rgb),.96);box-shadow:0 0 0 .18rem rgba(var(--chessimals-warning-rgb),.22);content:\"\"}@keyframes chessimals-capture-aura{0%,to{filter:saturate(1);box-shadow:inset 0 0 0 .12rem rgba(var(--chessimals-capture-rgb),.78),inset 0 0 1rem rgba(var(--chessimals-capture-rgb),.2),0 0 .64rem rgba(var(--chessimals-capture-rgb),.32)}50%{filter:saturate(1.22);box-shadow:inset 0 0 0 .16rem rgba(var(--chessimals-capture-rgb),.96),inset 0 0 1.34rem rgba(var(--chessimals-capture-rgb),.34),0 0 1.2rem rgba(var(--chessimals-capture-rgb),.48)}}@keyframes chessimals-capture-sweep{0%{opacity:0;transform:translate(-52%) scale(.88)}42%{opacity:.66;transform:translate(0) scale(1)}to{opacity:0;transform:translate(48%) scale(.92)}}@keyframes chessimals-capture-frame{0%,to{opacity:.68;transform:scale(.96)}50%{opacity:1;transform:scale(1)}}.chessimals-cell.has-source-effect:not(.is-moving-source){background:radial-gradient(circle,rgba(var(--chessimals-selected-rgb),.12) 0 34%,transparent 64%),var(--chessimals-cell-bg)}.chessimals-cell.has-move-effect{z-index:2;background:radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.22) 0 34%,transparent 68%),var(--chessimals-cell-bg);box-shadow:inset 0 0 0 .16rem rgba(var(--chessimals-capture-rgb),.86),inset 0 0 1.2rem rgba(var(--chessimals-capture-rgb),.26),0 0 1.1rem rgba(var(--chessimals-capture-rgb),.42)}.chessimals-cell.has-move-effect:before{position:absolute;inset:.12rem;z-index:1;display:block;border-radius:.7rem;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.48),transparent 22%),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.42),transparent 58%);content:\"\";opacity:0;transform:scale(.72);animation:chessimals-power-impact .7s ease-out both}.chessimals-cell.has-move-effect:after{position:absolute;inset:.28rem;z-index:4;display:block;border:.14rem solid rgba(255,255,255,.72);border-radius:.58rem;box-shadow:0 0 .5rem #ffffff5c,0 0 1rem rgba(var(--chessimals-capture-rgb),.32);content:\"\";animation:chessimals-power-frame .86s ease-out both}.chessimals-cell.has-capture-effect{animation:chessimals-capture-hit .78s ease-out both}.chessimals-cell.effect-eagle:before{background:linear-gradient(135deg,transparent 10%,rgba(255,255,255,.78) 48%,transparent 52%),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.36),transparent 62%)}.chessimals-cell.effect-bull:before{background:repeating-linear-gradient(90deg,rgba(255,255,255,.34) 0 .16rem,transparent .16rem .34rem),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.38),transparent 62%)}.chessimals-cell.effect-kangaroo:before{border-radius:999px;background:radial-gradient(circle at 42% 44%,rgba(255,255,255,.58),transparent 18%),radial-gradient(circle at 58% 56%,rgba(var(--chessimals-capture-rgb),.4),transparent 64%)}.chessimals-cell.effect-lion:before{background:conic-gradient(from 0deg,transparent,rgba(255,255,255,.56),transparent,rgba(var(--chessimals-capture-rgb),.4),transparent),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.34),transparent 62%)}@keyframes chessimals-power-impact{0%{opacity:0;transform:scale(.54) rotate(0)}28%{opacity:1;transform:scale(.96) rotate(2deg)}to{opacity:0;transform:scale(1.3) rotate(8deg)}}@keyframes chessimals-power-frame{0%{opacity:0;transform:scale(.84)}34%{opacity:1;transform:scale(1.02)}to{opacity:0;transform:scale(1.16)}}@keyframes chessimals-capture-hit{0%,to{filter:saturate(1)}35%{filter:saturate(1.35) brightness(1.08)}}.chessimals-cell.is-moving-source .chessimals-piece{opacity:0}.chessimals-piece{position:relative;z-index:2;display:block;width:68%;height:74%;color:var(--chessimals-primary);--chessimals-piece-fill: var(--chessimals-piece-white-fill);--chessimals-piece-side: var(--chessimals-piece-white-side);--chessimals-piece-line: var(--chessimals-piece-white-line);--chessimals-piece-outline: rgba(82, 65, 46, .34);filter:var(--chessimals-piece-white-shadow)}.chessimals-piece.is-black{color:#fff;--chessimals-piece-fill: var(--chessimals-piece-black-fill);--chessimals-piece-side: var(--chessimals-piece-black-side);--chessimals-piece-line: var(--chessimals-piece-black-line);--chessimals-piece-outline: rgba(255, 255, 255, .22);filter:var(--chessimals-piece-black-shadow)}.chessimals-moving-piece{position:absolute;top:0;left:0;z-index:6;width:calc(100% / var(--board-size));height:calc(100% / var(--board-size));display:grid;place-items:center;pointer-events:none;transform:translate(calc(var(--from-col) * 100%),calc(var(--from-row) * 100%));animation:chessimals-piece-travel .36s cubic-bezier(.2,.82,.24,1) both}@keyframes chessimals-piece-travel{0%{transform:translate(calc(var(--from-col) * 100%),calc(var(--from-row) * 100%)) scale(1)}68%{transform:translate(calc(var(--to-col) * 100%),calc(var(--to-row) * 100%)) scale(1.07)}to{transform:translate(calc(var(--to-col) * 100%),calc(var(--to-row) * 100%)) scale(1)}}.chessimals-piece__side,.chessimals-piece__head,.chessimals-piece__collar,.chessimals-piece__neck,.chessimals-piece__base{position:absolute;display:block;left:50%;background:var(--chessimals-piece-fill);border:max(1px,1.25%) solid var(--chessimals-piece-outline);transform:translate(-50%)}.chessimals-piece__side{top:46%;z-index:0;width:58%;height:41%;border-radius:34% 34% 12% 12%;background:linear-gradient(96deg,var(--chessimals-piece-side) 0 34%,transparent 35%),var(--chessimals-piece-fill);clip-path:polygon(22% 0,78% 0,96% 100%,4% 100%);opacity:.92}.chessimals-piece__head{top:1%;z-index:4;width:48%;height:40%;border-radius:999px;background:radial-gradient(circle at 30% 22%,rgba(255,255,255,.72) 0 13%,transparent 14%),linear-gradient(135deg,rgba(255,255,255,.28) 0 34%,transparent 35%),var(--chessimals-piece-fill);box-shadow:inset -.18rem -.12rem #52412e0f,inset 0 -1px 0 var(--chessimals-piece-line)}.chessimals-piece.is-black .chessimals-piece__head{box-shadow:inset .18rem -.12rem #ffffff0f,inset 0 -1px 0 var(--chessimals-piece-line)}.chessimals-piece__collar{top:37%;z-index:5;width:72%;height:15%;border-radius:999px;background:linear-gradient(180deg,#f5cd77 0%,var(--chessimals-piece-gold) 55%,var(--chessimals-piece-gold-dark) 100%);border-color:color-mix(in srgb,var(--chessimals-piece-gold-dark) 72%,transparent);box-shadow:inset 0 .12rem #ffffff47,inset 0 -.08rem #462e1238,0 .08rem .18rem #462e1224}.chessimals-piece__neck{top:50%;z-index:2;width:52%;height:31%;clip-path:polygon(16% 0,84% 0,100% 100%,0 100%);background:linear-gradient(100deg,var(--chessimals-piece-side) 0 28%,transparent 29%),linear-gradient(180deg,var(--chessimals-piece-fill),color-mix(in srgb,var(--chessimals-piece-fill) 78%,var(--chessimals-piece-side)));box-shadow:inset -.12rem .1rem #ffffff14}.chessimals-piece__base{bottom:0;z-index:6;width:86%;height:17%;border-radius:.42rem .42rem .22rem .22rem;background:linear-gradient(100deg,var(--chessimals-piece-side) 0 18%,transparent 19%),linear-gradient(180deg,color-mix(in srgb,var(--chessimals-piece-fill) 92%,#ffffff),var(--chessimals-piece-fill));box-shadow:inset 0 .12rem #ffffff24,inset 0 -.1rem 0 var(--chessimals-piece-line)}.chessimals-target{width:16%;height:16%;border-radius:999px;background:var(--chessimals-move);opacity:.9;box-shadow:0 0 .9rem rgba(var(--chessimals-move-rgb),.42)}.chessimals-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.625rem}.chessimals-cards button{position:relative;isolation:isolate;display:grid;grid-template-rows:minmax(5.4rem,1fr) auto;gap:.5rem;place-items:stretch;min-height:8.15rem;padding:.55rem .55rem .7rem;border:.12rem solid rgba(var(--chessimals-magic-rgb),.54);border-radius:1.125rem;background:radial-gradient(circle at 50% 18%,rgba(255,255,255,.9),transparent 36%),linear-gradient(180deg,rgba(var(--chessimals-magic-rgb),.24),rgba(var(--chessimals-magic-deep),.08) 58%,transparent),var(--chessimals-panel);color:var(--chessimals-text);font:inherit;box-shadow:inset 0 0 0 .14rem #ffffff75,0 .55rem 1.2rem rgba(var(--chessimals-magic-rgb),.14);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.chessimals-powers__heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.chessimals-powers p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.chessimals-powers__heading span{flex:0 0 auto;border-radius:999px;padding:.28rem .62rem;background:rgba(var(--chessimals-primary-rgb),.12);color:var(--chessimals-primary);font-size:.78rem;font-weight:950}.chessimals-cards button.is-selected{border-color:var(--chessimals-magic-hot);background:radial-gradient(circle at 50% 16%,rgba(255,255,255,.42),transparent 30%),radial-gradient(circle at 50% 76%,rgba(var(--chessimals-magic-rgb),.2),transparent 56%),linear-gradient(135deg,rgba(var(--chessimals-magic-rgb),.2),#ffffff0a),var(--chessimals-panel);box-shadow:0 0 0 2px rgba(var(--chessimals-magic-rgb),.28),0 0 1.35rem rgba(var(--chessimals-magic-rgb),.48),0 .9rem 2rem rgba(var(--chessimals-magic-rgb),.18);transform:translateY(-1px)}.chessimals-cards button.is-selected:before,.chessimals-cards button.is-selected:after{position:absolute;inset:-.5rem;z-index:0;border-radius:inherit;content:\"\";pointer-events:none}.chessimals-cards button>*{position:relative;z-index:1}.chessimals-cards button.is-selected:before{background:radial-gradient(circle at 18% 24%,rgba(var(--chessimals-magic-rgb),.88) 0 .08rem,transparent .1rem),radial-gradient(circle at 78% 20%,rgba(255,255,255,.86) 0 .07rem,transparent .09rem),radial-gradient(circle at 86% 62%,rgba(var(--chessimals-magic-rgb),.72) 0 .06rem,transparent .08rem),radial-gradient(circle at 28% 78%,rgba(255,245,111,.78) 0 .07rem,transparent .09rem),radial-gradient(circle at 54% 8%,rgba(255,255,255,.68) 0 .05rem,transparent .07rem);opacity:.8;animation:chessimalsMagicParticles 1.8s ease-in-out infinite}.chessimals-cards button.is-selected:after{background:conic-gradient(from 12deg,transparent 0 16deg,rgba(var(--chessimals-magic-rgb),.2) 16deg 22deg,transparent 22deg 44deg);opacity:.68;filter:blur(.04rem);animation:chessimalsMagicAura 3.2s linear infinite}.chessimals-cards button.is-used{opacity:.42}.chessimals-animal-face{display:grid;place-items:center;width:100%;min-height:5.4rem;overflow:hidden;border:.12rem solid rgba(var(--chessimals-magic-deep),.62);border-radius:.9rem;background:radial-gradient(circle at 50% 34%,rgba(255,255,255,.96),transparent 44%),linear-gradient(135deg,rgba(var(--chessimals-magic-rgb),.38),rgba(var(--chessimals-magic-deep),.14)),var(--chessimals-animal-face-bg);color:color-mix(in srgb,var(--chessimals-text) 92%,#000);box-shadow:inset 0 0 0 .12rem #ffffff7a,inset 0 -.18rem .45rem rgba(var(--chessimals-magic-deep),.14)}.chessimals-animal-face img{display:block;width:min(5.45rem,88%);height:min(5.45rem,88%);pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;object-fit:contain;transform:none;filter:var(--chessimals-animal-face-filter)}.chessimals-bot-avatar,.chessimals-challenge-intro__avatar{display:grid;overflow:hidden;place-items:center}.chessimals-bot-avatar img,.chessimals-challenge-intro__avatar img{display:block;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;object-fit:contain}.chessimals-cards button.is-selected .chessimals-animal-face,.chessimals-powers.is-ready .chessimals-cards button:not(.is-used) .chessimals-animal-face{color:color-mix(in srgb,var(--chessimals-text) 94%,#000)}.chessimals-powers.is-locked .chessimals-animal-face{filter:var(--chessimals-animal-face-locked-filter);opacity:.86}.chessimals-powers.is-locked .chessimals-animal-face img,.chessimals-cards button.is-used .chessimals-animal-face img{opacity:var(--chessimals-animal-face-locked-img-opacity)}.chessimals-power-uses{position:absolute;top:.5rem;right:.5rem;z-index:2;display:inline-grid;place-items:center;min-width:1.72rem;height:1.35rem;border-radius:999px;padding:0 .38rem;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);font-size:.72rem;font-weight:1000;line-height:1;box-shadow:0 .35rem .9rem rgba(var(--chessimals-primary-rgb),.22)}.chessimals-cards strong{overflow:hidden;max-width:100%;align-self:center;font-size:clamp(.9rem,2.3vw,1.08rem);font-weight:950;line-height:1.05;text-align:center;text-overflow:ellipsis;white-space:nowrap}.chessimals-powers.is-locked .chessimals-cards{opacity:.68}.chessimals-powers.is-ready{border-color:rgba(var(--chessimals-magic-rgb),.46);box-shadow:0 0 0 1px rgba(var(--chessimals-magic-rgb),.12),0 1rem 2.4rem rgba(var(--chessimals-magic-rgb),.12)}.chessimals-powers.is-ready .chessimals-cards button:not(.is-used){animation:chessimalsPowerPulse 1.8s ease-in-out infinite}.chessimals-powers.is-unlock-pulse{animation:chessimalsPowersUnlocked 1.18s ease-out both}.chessimals-powers.is-unlock-pulse .chessimals-cards button:not(.is-used){animation:chessimalsPowerIgnite .76s ease-out both,chessimalsPowerPulse 1.8s ease-in-out .76s infinite}@keyframes chessimalsPowerPulse{0%,to{box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0)}50%{box-shadow:0 0 1.4rem rgba(var(--chessimals-magic-rgb),.24)}}@keyframes chessimalsPowersUnlocked{0%{box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0),0 1rem 2.4rem rgba(var(--chessimals-magic-rgb),.12)}34%{box-shadow:0 0 0 .18rem rgba(var(--chessimals-magic-rgb),.28),0 0 2.2rem rgba(var(--chessimals-magic-rgb),.38),0 1rem 2.4rem rgba(var(--chessimals-magic-rgb),.16)}to{box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0),0 1rem 2.4rem rgba(var(--chessimals-magic-rgb),.12)}}@keyframes chessimalsPowerIgnite{0%{transform:translateY(0) scale(.96);box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0)}42%{transform:translateY(-.08rem) scale(1.025);box-shadow:0 0 0 .14rem rgba(var(--chessimals-magic-rgb),.24),0 0 1.5rem rgba(var(--chessimals-magic-rgb),.46)}to{transform:translateY(0) scale(1);box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0)}}@keyframes chessimalsMagicParticles{0%,to{opacity:.54;transform:translateY(0) scale(.94)}50%{opacity:1;transform:translateY(-.18rem) scale(1.02)}}@keyframes chessimalsMagicAura{to{transform:rotate(1turn)}}.chessimals-actions{order:6;align-self:stretch;justify-self:stretch;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:.625rem;margin-top:1rem}.chessimals-shell--projection .chessimals-game{max-width:min(96vw,90rem)}.chessimals-shell--projection .chessimals-turn-card{padding:.875rem 1rem}.chessimals-shell--projection .chessimals-status,.chessimals-shell--projection .chessimals-actions,.chessimals-shell--projection .chessimals-online,.chessimals-shell--projection .chessimals-replay,.chessimals-shell--projection .chessimals-rematch-status{display:none}.chessimals-shell--projection .chessimals-arena{grid-template-columns:minmax(0,1fr);justify-items:center}.chessimals-shell--projection .chessimals-board-wrap{--chessimals-board-radius: min(.625rem, 10px);width:min(96vw,82vh,58rem);max-width:none}.chessimals-shell--projection .chessimals-board-frame{flex-basis:auto;max-width:none}@media (min-width: 760px){.chessimals-game{gap:1rem}.chessimals-turn-card,.chessimals-status,.chessimals-arena,.chessimals-replay,.chessimals-result,.chessimals-actions{grid-column:1 / -1}.chessimals-arena{grid-template-columns:minmax(0,1fr);justify-items:center;align-items:start;gap:.85rem}.chessimals-shell:not(.chessimals-shell--projection) .chessimals-board-frame{flex-basis:min(100%,clamp(28rem,calc(100vh - 22rem),50rem));width:min(100%,clamp(28rem,calc(100vh - 22rem),50rem));max-width:min(50rem,clamp(28rem,calc(100vh - 22rem),50rem))}.chessimals-powers{width:min(100%,clamp(28rem,calc(100vh - 22rem),50rem));align-content:center;grid-template-columns:minmax(11rem,.68fr) minmax(0,1fr);align-items:center;gap:.8rem;padding:.78rem}.chessimals-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.chessimals-cards button{grid-template-rows:minmax(3.85rem,1fr) auto;min-height:5.85rem}.chessimals-animal-face{min-height:3.85rem}.chessimals-animal-face img{width:min(3.85rem,88%);height:min(3.85rem,88%)}.chessimals-powers p{-webkit-line-clamp:3}}.chessimals-rules{display:grid;gap:1.05rem;padding-top:.25rem}.chessimals-settings{display:grid;gap:.85rem;color:var(--chessimals-modal-text, var(--chessimals-text))}.chessimals-settings article{display:grid;gap:.65rem;padding:1rem;border:1px solid var(--chessimals-modal-border, rgba(var(--chessimals-primary-rgb), .2));border-radius:1.1rem;background:radial-gradient(circle at 14% 8%,color-mix(in srgb,var(--chessimals-modal-card, #ffffff) 82%,transparent),transparent 28%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),rgba(var(--chessimals-sky-rgb),.06)),var(--chessimals-modal-card-strong, var(--chessimals-elevated-strong));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--chessimals-modal-surface, #ffffff) 48%,transparent)}:host ::ng-deep ion-modal.chessimals-settings-modal val-modal-shell ion-toolbar{--background: var(--chessimals-modal-surface);--color: var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-settings-modal val-modal-shell ion-content{--background: var(--chessimals-modal-surface);color:var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-settings-modal val-modal-shell ion-button{--color: var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-settings-modal .chessimals-settings val-toggle-input ion-toggle{--track-background: rgba(var(--chessimals-primary-rgb), .14);--track-background-checked: var(--chessimals-primary);--handle-background: var(--chessimals-modal-card);--handle-background-checked: var(--chessimals-primary-contrast);color:var(--chessimals-modal-text);font-weight:900}:host ::ng-deep ion-modal.chessimals-settings-modal .chessimals-settings val-range-input ion-label{color:var(--chessimals-modal-text);font-weight:900}:host ::ng-deep ion-modal.chessimals-settings-modal .chessimals-settings val-range-input ion-range{--bar-background: rgba(var(--chessimals-primary-rgb), .14);--bar-background-active: var(--chessimals-primary);--bar-height: .32rem;--bar-border-radius: 999px;--knob-background: var(--chessimals-primary-contrast);--knob-size: 1.28rem;--pin-background: var(--chessimals-primary);--pin-color: var(--chessimals-primary-contrast);color:var(--chessimals-modal-text)}.chessimals-about{display:grid;justify-items:center;gap:1rem;color:var(--ion-text-color, var(--chessimals-text))}.chessimals-about__logo{display:block;width:min(25rem,88%);height:auto;object-fit:contain;object-position:center;filter:drop-shadow(0 .5rem .7rem rgba(46,58,44,.14))}.chessimals-about__thanks{color:var(--ion-text-color, var(--chessimals-text));font-size:1.08rem;font-weight:950;line-height:1.2;text-align:center}.chessimals-about__feedback{max-width:30rem}.chessimals-about p{margin:0;color:var(--ion-color-medium, var(--chessimals-muted));font-size:.95rem;font-weight:750;line-height:1.45;text-align:center}.chessimals-about dl{display:grid;width:100%;margin:0;gap:.65rem}.chessimals-about dl div{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem .95rem;border:1px solid rgba(var(--chessimals-primary-rgb),.16);border-radius:1rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),transparent),var(--ion-card-background, #fff)}.chessimals-about dt,.chessimals-about dd{margin:0}.chessimals-about dt{color:var(--ion-color-medium, var(--chessimals-muted));font-size:.78rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-about dd{color:var(--ion-text-color, var(--chessimals-text));font-size:.95rem;font-weight:950}.chessimals-rules__hero{display:block;width:100%;height:auto;object-fit:contain;border-radius:1.25rem;background:transparent;box-shadow:0 .85rem 1.8rem #2e3a2c1f}.chessimals-rules__powers,.chessimals-rules__note,.chessimals-rules__steps article{display:grid;align-items:start;gap:.75rem;border:1px solid var(--chessimals-modal-border, rgba(var(--chessimals-primary-rgb), .16));border-radius:1.25rem;background:var(--chessimals-modal-card, #ffffff);color:var(--chessimals-modal-text, var(--ion-text-color, #2f2a3a))}.chessimals-rules__section-title span{justify-self:start;border-radius:999px;padding:.24rem .55rem;background:rgba(var(--chessimals-primary-rgb),.12);color:var(--chessimals-primary);font-size:.72rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-rules__section-title{display:grid;gap:.35rem;padding-inline:0}.chessimals-rules__section-title strong{color:var(--chessimals-text);font-size:1rem;font-weight:950;line-height:1.25}.chessimals-rules__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.chessimals-rules__steps article{align-content:start;padding:.9rem}.chessimals-rules__steps article>img,.chessimals-rules__powers>img,.chessimals-rules__note>img{display:block;width:4.75rem;height:4.75rem;border-radius:1.15rem;object-fit:cover;box-shadow:0 0 0 .1rem rgba(var(--chessimals-sun-rgb),.68),0 .7rem 1.25rem #2e3a2c29}.chessimals-rules__powers,.chessimals-rules__note{grid-template-columns:auto minmax(0,1fr);padding:.95rem}.chessimals-rules__power-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin-top:.35rem}.chessimals-rules__power-list span{display:grid;justify-items:center;align-content:center;gap:.32rem;min-width:0;min-height:8.1rem;border:1px solid var(--chessimals-modal-border, rgba(var(--chessimals-primary-rgb), .16));border-radius:1rem;padding:.8rem .52rem;background:radial-gradient(circle at 50% 0,color-mix(in srgb,var(--chessimals-modal-card, #ffffff) 78%,transparent),transparent 52%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),rgba(var(--chessimals-sun-rgb),.18)),var(--chessimals-modal-card-strong, #fff8df);color:var(--chessimals-modal-text, var(--chessimals-text));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--chessimals-modal-surface, #ffffff) 64%,transparent),0 .55rem 1.15rem var(--chessimals-modal-shadow, rgba(46, 58, 44, .12));font-size:.78rem;font-weight:950;line-height:1.05;text-align:center}.chessimals-rules__power-list strong,.chessimals-rules__power-list small{min-width:0}.chessimals-rules__power-list strong{font-size:.86rem;font-weight:950;line-height:1.08}.chessimals-rules__power-list small{color:var(--chessimals-muted);font-size:.69rem;font-weight:820;line-height:1.15}.chessimals-rules__power-list img{display:block;width:3.25rem;height:3.25rem;object-fit:contain;filter:drop-shadow(0 .25rem .35rem rgba(46,58,44,.16))}.chessimals-rules__note{border-color:rgba(var(--chessimals-sun-rgb),.34);background:linear-gradient(135deg,rgba(var(--chessimals-sun-rgb),.1),rgba(var(--chessimals-primary-rgb),.04)),var(--chessimals-modal-card, #ffffff)}.chessimals-rules article>span{display:grid;place-items:center;width:2rem;height:2rem;border-radius:999px;background:rgba(var(--chessimals-primary-rgb),.12);color:var(--chessimals-primary);font-weight:950}.chessimals-rules article>div{display:grid;min-width:0;gap:.35rem}.chessimals-rules h3,.chessimals-rules p,.chessimals-rules ul{margin:0}.chessimals-rules h3{color:var(--chessimals-text);font-size:1rem;font-weight:950;line-height:1.2}.chessimals-rules p,.chessimals-rules li{color:var(--chessimals-modal-muted, var(--ion-color-medium, #6f6a7a));font-size:.88rem;font-weight:760;line-height:1.5}.chessimals-rules ul{display:grid;gap:.45rem;padding-left:1.15rem}.chessimals-primary,.chessimals-secondary{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:3.625rem;border-radius:999px;font:inherit;font-weight:950}.chessimals-primary{border:0;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);box-shadow:0 1.125rem 2.8rem rgba(var(--chessimals-primary-rgb),.28)}.chessimals-secondary{border:1px solid var(--chessimals-border);background:transparent;color:var(--chessimals-text)}.chessimals-primary.is-working,.chessimals-secondary.is-working{cursor:wait;opacity:.82}.chessimals-button-spinner{width:1rem;height:1rem;flex:0 0 auto;border:.14rem solid currentColor;border-right-color:transparent;border-radius:999px;animation:chessimals-spin .72s linear infinite}@media (max-width: 560px){.chessimals-home-actions{grid-template-columns:1fr}.chessimals-home-action{min-height:0}.chessimals-rules__steps,.chessimals-rules__powers,.chessimals-rules__note{grid-template-columns:1fr}.chessimals-rules__power-list{grid-template-columns:repeat(2,minmax(0,1fr))}.chessimals-size,.chessimals-mode,.chessimals-actions,.chessimals-play-options .chessimals-nightmare,.chessimals-challenge-cta,.chessimals-path-cta,.chessimals-path-hero,.chessimals-path-grid,.chessimals-path-highlights,.chessimals-path-rings,.chessimals-path-stats{grid-template-columns:1fr}.chessimals-path-hero{justify-items:start}.chessimals-path-hero__art{width:6.25rem;height:6.25rem}.chessimals-path-cta__action{justify-self:stretch;width:100%}.chessimals-path-hero__medal{justify-self:stretch;width:100%;min-height:5.5rem}.chessimals-path-bars span{grid-template-columns:minmax(0,1fr) auto}.chessimals-path-bars i{grid-column:1 / -1;order:3}.chessimals-challenge-cta__actions,.chessimals-challenge-cta__rival{min-width:0}.chessimals-challenge-hero,.chessimals-challenge-focus{grid-template-columns:1fr}.chessimals-challenge-card{padding:.85rem}.chessimals-challenge-card__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.chessimals-game{gap:.55rem}.chessimals-turn-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.5rem;min-height:0;border-radius:.95rem;padding:.5rem}.chessimals-turn-card__copy{gap:.1rem}.chessimals-turn-card__meta{gap:.25rem;max-width:none}.chessimals-turn-card__chip{max-width:100%;padding:.18rem .5rem;font-size:.6rem;letter-spacing:.045em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chessimals-turn-card strong{font-size:clamp(.92rem,4.4vw,1.12rem);line-height:1.08}.chessimals-turn-card p{display:-webkit-box;overflow:hidden;font-size:.72rem;line-height:1.2;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chessimals-player-strip{width:auto;max-width:none;min-width:0;padding:.25rem}.chessimals-player-strip__avatar{flex:0 0 1.8rem;width:1.8rem;height:1.8rem;aspect-ratio:1 / 1}:host ::ng-deep .chessimals-player-strip .chessimals-turn-avatar{width:1.8rem;min-width:1.8rem;height:1.8rem}.chessimals-player-strip__text{display:none}.chessimals-status{grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem}.chessimals-status div{gap:.14rem;min-height:2.2rem;border-radius:.82rem;padding:.34rem .3rem}.chessimals-status small{font-size:.58rem;line-height:1.05}.chessimals-status strong{font-size:clamp(.78rem,3.2vw,.94rem);line-height:1.05}.chessimals-challenge-live{grid-template-columns:1fr;gap:.45rem;padding:.55rem}.chessimals-challenge-live__rival>.chessimals-bot-avatar{width:2.35rem;height:2.35rem;font-size:1.15rem}.chessimals-challenge-live__rival p{-webkit-line-clamp:1}.chessimals-challenge-live__metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem}.chessimals-challenge-live__metrics span{min-height:2.35rem;padding:.32rem .36rem}.chessimals-challenge-live__metrics small{font-size:.56rem}.chessimals-challenge-live__metrics b{font-size:.82rem}.chessimals-challenge-intro{padding:.55rem}.chessimals-challenge-intro__card{gap:.42rem;width:min(15.5rem,94%);padding:.6rem}.chessimals-challenge-intro__avatar{width:3.05rem;height:3.05rem;font-size:1.62rem}.chessimals-challenge-intro__copy strong{font-size:1.02rem}.chessimals-challenge-intro__copy p{font-size:.72rem;-webkit-line-clamp:1}.chessimals-challenge-intro__facts b{font-size:.74rem}.chessimals-challenge-intro .chessimals-primary{min-height:2.15rem}.chessimals-tip,.chessimals-result,.chessimals-replay,.chessimals-online-status,.chessimals-tutorial{gap:.2rem;border-radius:1rem;padding:.7rem .75rem}.chessimals-tip strong,.chessimals-result strong,.chessimals-replay strong,.chessimals-tutorial strong{font-size:.95rem}.chessimals-tip p,.chessimals-result p{font-size:.9rem;line-height:1.28}.chessimals-result__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.chessimals-replay,.chessimals-tutorial{grid-template-columns:1fr}.chessimals-replay__actions{justify-content:stretch}.chessimals-replay__actions .chessimals-secondary{flex:1 1 8rem}.chessimals-arena{gap:.5rem}.chessimals-board-wrap{width:100%;margin-inline:0;padding:0}.chessimals-board-frame{width:100%}.chessimals-powers{gap:.5rem;border-radius:1rem;padding:.55rem}.chessimals-powers__heading{gap:.4rem}.chessimals-powers h2{font-size:1rem}.chessimals-powers__heading span{padding:.22rem .48rem;font-size:.68rem}.chessimals-powers p{font-size:.78rem;line-height:1.2;-webkit-line-clamp:1}.chessimals-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem}.chessimals-cards button{grid-template-rows:minmax(3.65rem,1fr) auto;gap:.3rem;min-height:5.4rem;border-radius:.85rem;padding:.3rem .24rem .42rem}.chessimals-animal-face{min-height:3.65rem;border-radius:.68rem}.chessimals-animal-face img{width:min(3.55rem,92%);height:min(3.55rem,92%)}.chessimals-cards strong{font-size:clamp(.64rem,2.8vw,.78rem)}.chessimals-board{border-radius:var(--chessimals-board-radius)}.chessimals-cell-coordinate{font-size:.58rem}}@media (prefers-reduced-motion: reduce){.chessimals-cell.is-capture,.chessimals-cell.is-capture:before,.chessimals-cell.is-capture:after,.chessimals-cell.has-move-effect,.chessimals-cell.has-move-effect:before,.chessimals-cell.has-move-effect:after,.chessimals-cell.has-capture-effect,.chessimals-moving-piece,.chessimals-challenge-intro,.chessimals-status__score.is-pop{animation:none!important}.chessimals-moving-piece{transform:translate(calc(var(--to-col) * 100%),calc(var(--to-row) * 100%))}}\n"], dependencies: [{ kind: "component", type: IonModal, selector: "ion-modal" }, { kind: "component", type: MiniGameCalloutComponent, selector: "val-mini-game-callout", inputs: ["props"] }, { kind: "component", type: MiniGameScorePopComponent, selector: "val-mini-game-score-pop", inputs: ["props"] }, { kind: "component", type: ModalLayoutComponent, selector: "val-modal-layout", inputs: ["title", "subtitle", "closeLabel", "showClose", "actions", "actionsAlign", "footer", "footerClass"], outputs: ["close", "actionClick"] }, { kind: "component", type: RangeInputComponent, selector: "val-range-input", inputs: ["props"], outputs: ["rangeChange"] }, { kind: "component", type: ToggleInputComponent, selector: "val-toggle-input", inputs: ["preset", "props"] }, { kind: "component", type: ButtonComponent, selector: "val-button", inputs: ["preset", "props"], outputs: ["onClick"] }, { kind: "component", type: UserAvatarComponent, selector: "val-user-avatar", inputs: ["props"], outputs: ["onClick"] }] }); }
|
|
71148
71275
|
}
|
|
71149
71276
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChessimalsGameComponent, decorators: [{
|
|
71150
71277
|
type: Component,
|
|
@@ -71574,25 +71701,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
71574
71701
|
<p>{{ turnStateBody() }}</p>
|
|
71575
71702
|
</div>
|
|
71576
71703
|
|
|
71577
|
-
<div class="chessimals-
|
|
71578
|
-
|
|
71579
|
-
|
|
71580
|
-
|
|
71581
|
-
|
|
71582
|
-
|
|
71583
|
-
|
|
71584
|
-
|
|
71585
|
-
|
|
71586
|
-
<div class="chessimals-player-strip__text">
|
|
71587
|
-
<span>{{ turnPlayerEyebrow() }}</span>
|
|
71588
|
-
<strong>{{ turnPlayerName() }}</strong>
|
|
71589
|
-
@if (turnPlayerHandle()) {
|
|
71590
|
-
<small>{{ turnPlayerHandle() }}</small>
|
|
71704
|
+
<div class="chessimals-turn-card__meta">
|
|
71705
|
+
<div class="chessimals-player-strip">
|
|
71706
|
+
@if (shouldUseTurnPlayerAvatar()) {
|
|
71707
|
+
<val-user-avatar [props]="turnPlayerAvatarProps()" />
|
|
71708
|
+
} @else {
|
|
71709
|
+
<span class="chessimals-player-strip__avatar" aria-hidden="true">
|
|
71710
|
+
{{ turnPlayerFallbackAvatar() }}
|
|
71711
|
+
</span>
|
|
71591
71712
|
}
|
|
71713
|
+
|
|
71714
|
+
<div class="chessimals-player-strip__text">
|
|
71715
|
+
<span>{{ turnPlayerEyebrow() }}</span>
|
|
71716
|
+
<strong>{{ turnPlayerName() }}</strong>
|
|
71717
|
+
@if (turnPlayerHandle()) {
|
|
71718
|
+
<small>{{ turnPlayerHandle() }}</small>
|
|
71719
|
+
}
|
|
71720
|
+
</div>
|
|
71592
71721
|
</div>
|
|
71593
71722
|
</div>
|
|
71594
71723
|
</article>
|
|
71595
71724
|
|
|
71725
|
+
@if (botOpponentCard(); as botProfile) {
|
|
71726
|
+
<article class="chessimals-challenge-rival chessimals-bot-rival">
|
|
71727
|
+
<span class="chessimals-bot-avatar" aria-hidden="true">
|
|
71728
|
+
@if (botProfile.avatarSrc) {
|
|
71729
|
+
<img [src]="botProfile.avatarSrc" alt="" draggable="false" />
|
|
71730
|
+
} @else {
|
|
71731
|
+
{{ botProfile.avatar }}
|
|
71732
|
+
}
|
|
71733
|
+
</span>
|
|
71734
|
+
<div>
|
|
71735
|
+
<small>{{ botProfile.eyebrow }}</small>
|
|
71736
|
+
<strong>{{ botProfile.title }}</strong>
|
|
71737
|
+
<p>{{ botProfile.description }}</p>
|
|
71738
|
+
</div>
|
|
71739
|
+
</article>
|
|
71740
|
+
}
|
|
71741
|
+
|
|
71596
71742
|
@if (game().mode === 'online' && game().status === 'waiting') {
|
|
71597
71743
|
<article class="chessimals-online chessimals-online--waiting">
|
|
71598
71744
|
<div>
|
|
@@ -72507,7 +72653,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
72507
72653
|
/>
|
|
72508
72654
|
</ng-template>
|
|
72509
72655
|
</ion-modal>
|
|
72510
|
-
`, styles: [":host{--chessimals-panel: #ffffff;--chessimals-surface: #fffaf1;--chessimals-elevated: rgba(255, 255, 255, .72);--chessimals-elevated-soft: rgba(255, 255, 255, .46);--chessimals-elevated-strong: rgba(255, 255, 255, .86);--chessimals-glass-highlight: rgba(255, 255, 255, .58);--chessimals-border: rgba(46, 58, 44, .18);--chessimals-text: #2e3a2c;--chessimals-muted: #51643d;--chessimals-soft: rgba(111, 122, 60, .1);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--chessimals-sky: #c06a3d;--chessimals-sky-rgb: 192, 106, 61;--chessimals-stone: #8e9362;--chessimals-stone-rgb: 142, 147, 98;--chessimals-selected: #37f28a;--chessimals-selected-rgb: 55, 242, 138;--chessimals-magic: #f7d45a;--chessimals-magic-rgb: 247, 212, 90;--chessimals-magic-hot: #fff56f;--chessimals-magic-deep: #b77a18;display:block;font-size:var(--val-mini-games-font-size, 1rem)}:host-context(body.font-small){--val-mini-games-font-size: .875rem}:host-context(body.font-large){--val-mini-games-font-size: 1.1875rem}.chessimals-shell{--chessimals-panel: #ffffff;--chessimals-surface: #fffaf1;--chessimals-elevated: rgba(255, 255, 255, .72);--chessimals-elevated-soft: rgba(255, 255, 255, .46);--chessimals-elevated-strong: rgba(255, 255, 255, .86);--chessimals-glass-highlight: rgba(255, 255, 255, .58);--chessimals-border: rgba(46, 58, 44, .18);--chessimals-text: #2e3a2c;--chessimals-muted: #51643d;--chessimals-soft: rgba(111, 122, 60, .1);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--chessimals-sky: #c06a3d;--chessimals-sky-rgb: 192, 106, 61;--chessimals-stone: #8e9362;--chessimals-stone-rgb: 142, 147, 98;--chessimals-selected: #37f28a;--chessimals-selected-rgb: 55, 242, 138;--chessimals-magic: #f7d45a;--chessimals-magic-rgb: 247, 212, 90;--chessimals-magic-hot: #fff56f;--chessimals-magic-deep: #b77a18;--chessimals-warning: #f4c542;--chessimals-warning-rgb: 244, 197, 66;--chessimals-move: var(--chessimals-sky);--chessimals-move-rgb: var(--chessimals-sky-rgb);--chessimals-capture: #1fcdb3;--chessimals-capture-rgb: 31, 205, 179;--chessimals-last: #8c6b4f;--chessimals-last-rgb: 140, 107, 79;--chessimals-cell-light: #f3f4e8;--chessimals-cell-dark: #7f944d;--chessimals-board-shadow: rgba(46, 58, 44, .14);--chessimals-piece-white-fill: #ffffff;--chessimals-piece-white-side: #f3eadb;--chessimals-piece-white-line: rgba(82, 65, 46, .12);--chessimals-piece-white-shadow: drop-shadow(0 0 1px rgba(84, 62, 34, .52)) drop-shadow(0 .18rem .12rem rgba(72, 58, 36, .22)) drop-shadow(0 .34rem .42rem rgba(72, 58, 36, .22));--chessimals-piece-black-fill: #242936;--chessimals-piece-black-side: #171b25;--chessimals-piece-black-line: rgba(255, 255, 255, .1);--chessimals-piece-black-shadow: drop-shadow(0 0 1px rgba(255, 255, 255, .34)) drop-shadow(0 .18rem .1rem rgba(255, 255, 255, .12)) drop-shadow(0 .32rem .42rem rgba(0, 0, 0, .36));--chessimals-piece-gold: #c79a42;--chessimals-piece-gold-dark: #8a5f22;--chessimals-animal-face-bg: #fffdf7;--chessimals-animal-face-inner-bg: #ffffff;--chessimals-animal-face-border: rgba(46, 58, 44, .12);--chessimals-animal-face-filter: drop-shadow(0 .12rem .16rem rgba(46, 58, 44, .18));--chessimals-animal-face-locked-filter: grayscale(.2) saturate(.72);--chessimals-animal-face-locked-img-opacity: .72;display:grid;gap:1.125rem;width:100%;max-width:min(100%,60rem);margin:0 auto;color:var(--chessimals-text)}@media (prefers-color-scheme: dark){.chessimals-shell{--chessimals-panel: #172116;--chessimals-surface: #0f170f;--chessimals-elevated: rgba(255, 255, 255, .08);--chessimals-elevated-soft: rgba(255, 255, 255, .05);--chessimals-elevated-strong: rgba(255, 255, 255, .12);--chessimals-glass-highlight: rgba(255, 255, 255, .08);--chessimals-border: rgba(242, 230, 213, .2);--chessimals-text: #f6f3e9;--chessimals-muted: #c8cfb1;--chessimals-soft: rgba(111, 122, 60, .22);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--chessimals-sky: #c06a3d;--chessimals-sky-rgb: 192, 106, 61;--chessimals-stone: #8e9362;--chessimals-stone-rgb: 142, 147, 98;--chessimals-cell-light: #f3f4e8;--chessimals-cell-dark: #7f944d;--chessimals-board-shadow: rgba(0, 0, 0, .34);--chessimals-animal-face-border: rgba(242, 230, 213, .24)}}.chessimals-resume-splash{order:0;position:fixed;inset:0;z-index:1000;display:grid;place-items:center;align-content:center;gap:.65rem;padding:1.5rem;text-align:center;color:var(--chessimals-text);background:radial-gradient(circle at 50% 42%,rgba(var(--chessimals-primary-rgb),.18),transparent 22rem),color-mix(in srgb,var(--chessimals-panel) 92%,transparent);backdrop-filter:blur(.9rem)}.chessimals-resume-splash__logo{display:block;width:clamp(5.8rem,20vw,7.2rem);height:auto;animation:chessimals-resume-pulse 1.2s ease-in-out infinite;filter:drop-shadow(0 .8rem 1.2rem rgba(var(--ion-color-dark-rgb, 47, 42, 58),.18))}.chessimals-resume-splash strong{font-size:clamp(1.55rem,5vw,2.4rem);font-weight:950;line-height:1.05}.chessimals-resume-splash p{max-width:24rem;margin:0;color:var(--chessimals-muted);font-size:1rem;line-height:1.35}@keyframes chessimals-resume-pulse{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-.25rem) scale(1.04)}}@keyframes chessimals-spin{to{transform:rotate(360deg)}}@keyframes chessimals-online-pulse{0%,to{transform:scale(1);opacity:.78}50%{transform:scale(1.22);opacity:1}}:host-context(html.ion-palette-dark) .chessimals-shell,:host-context([data-theme=\"dark\"]) .chessimals-shell{--chessimals-panel: #172116;--chessimals-surface: #0f170f;--chessimals-elevated: rgba(255, 255, 255, .08);--chessimals-elevated-soft: rgba(255, 255, 255, .05);--chessimals-elevated-strong: rgba(255, 255, 255, .12);--chessimals-glass-highlight: rgba(255, 255, 255, .08);--chessimals-border: rgba(246, 227, 213, .22);--chessimals-text: #f6f3e9;--chessimals-muted: #c8cfb1;--chessimals-soft: rgba(111, 122, 60, .22);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--chessimals-sky: #c06a3d;--chessimals-sky-rgb: 192, 106, 61;--chessimals-stone: #8e9362;--chessimals-stone-rgb: 142, 147, 98;--chessimals-cell-light: #e8eadc;--chessimals-cell-dark: #5f7040;--chessimals-board-shadow: rgba(0, 0, 0, .34);--chessimals-capture: #66f2d7;--chessimals-capture-rgb: 102, 242, 215;--chessimals-last: #cdbe9b;--chessimals-last-rgb: 205, 190, 155;--chessimals-piece-white-fill: #fffaff;--chessimals-piece-white-side: #f0e5d4;--chessimals-piece-white-line: rgba(82, 65, 46, .12);--chessimals-piece-white-shadow: drop-shadow(0 0 1px rgba(84, 62, 34, .48)) drop-shadow(0 .18rem .12rem rgba(0, 0, 0, .24)) drop-shadow(0 .34rem .42rem rgba(0, 0, 0, .3));--chessimals-piece-black-fill: #202633;--chessimals-piece-black-side: #111620;--chessimals-piece-black-line: rgba(255, 255, 255, .12);--chessimals-piece-black-shadow: drop-shadow(0 0 1px rgba(255, 255, 255, .34)) drop-shadow(0 .18rem .1rem rgba(255, 255, 255, .14)) drop-shadow(0 .34rem .44rem rgba(0, 0, 0, .52));--chessimals-animal-face-bg: #fffdf7;--chessimals-animal-face-inner-bg: #ffffff;--chessimals-animal-face-border: rgba(242, 230, 213, .24);--chessimals-animal-face-filter: drop-shadow(0 .12rem .16rem rgba(0, 0, 0, .22));--chessimals-animal-face-locked-filter: grayscale(.32) saturate(.72);--chessimals-animal-face-locked-img-opacity: .58}.chessimals-hero{display:grid;gap:.75rem;justify-items:center;overflow:hidden;border-radius:1.75rem;padding:clamp(1.25rem,5vw,2.5rem);background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.92),transparent 20%),linear-gradient(135deg,#fdf8ee,#fff 40%,#edf3df);color:var(--chessimals-text);text-align:center;border:1px solid var(--chessimals-border)}:host-context(html.ion-palette-dark) .chessimals-hero,:host-context([data-theme=\"dark\"]) .chessimals-hero{background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.08),transparent 22%),linear-gradient(135deg,#111a10,#172116 48%,#0f170f);color:var(--chessimals-text);border-color:#f6e3d538}.chessimals-hero__logo{display:grid;place-items:center;gap:.35rem;width:min(27rem,86vw);max-width:100%}.chessimals-hero__logo img{display:block;height:auto;object-fit:contain;border-radius:0}.chessimals-hero__emblem{width:min(12.25rem,48vw);margin-top:.2rem;transform:translateY(.2rem)}.chessimals-hero__wordmark{width:min(21rem,76vw)}.chessimals-hero p,.chessimals-howto p,.chessimals-tip p,.chessimals-result p,.chessimals-powers p{margin:0;line-height:1.45}.chessimals-powers{display:grid;gap:1rem;border:1px solid var(--chessimals-border);border-radius:1.625rem;padding:clamp(1rem,4vw,1.5rem);background:var(--chessimals-panel)}.chessimals-game{display:grid;gap:.875rem}.chessimals-panel{display:grid;gap:1.125rem}.chessimals-home-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.875rem}.chessimals-home-action{display:grid;justify-items:start;gap:.68rem;min-height:9.6rem;border:1px solid rgba(var(--chessimals-primary-rgb),.22);border-radius:1.25rem;padding:1.15rem 1rem 1.05rem;background:radial-gradient(circle at 18% 10%,rgba(255,255,255,.74),transparent 22%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),rgba(var(--chessimals-secondary-rgb),.08)),var(--chessimals-panel);color:var(--chessimals-text);font:inherit;text-align:left}.chessimals-home-action--play{border-color:rgba(var(--chessimals-primary-rgb),.46);background:radial-gradient(circle at 18% 10%,rgba(255,255,255,.82),transparent 22%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.22),rgba(var(--chessimals-secondary-rgb),.12)),var(--chessimals-panel)}.chessimals-mode-icon{display:block;width:4.45rem;height:4.45rem;border-radius:1rem;object-fit:cover;background:rgba(var(--chessimals-sun-rgb),.16);box-shadow:0 0 0 1px rgba(var(--chessimals-primary-rgb),.14),0 .55rem 1rem rgba(var(--chessimals-shadow-rgb),.12)}.chessimals-home-action strong{font-size:clamp(1.1rem,3vw,1.45rem);font-weight:1000;line-height:1.05}.chessimals-home-action small{color:var(--chessimals-muted);font-size:.88rem;font-weight:900;line-height:1.3}.chessimals-options{border:1px solid var(--chessimals-border);border-radius:1.125rem;padding:.35rem;background:var(--chessimals-panel)}.chessimals-options summary{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:3.25rem;padding:.65rem .8rem;color:var(--chessimals-text);cursor:pointer;list-style:none}.chessimals-options summary::-webkit-details-marker{display:none}.chessimals-options summary:after{content:\"+\";display:grid;place-items:center;flex:0 0 auto;width:1.8rem;height:1.8rem;border-radius:999px;background:var(--chessimals-soft);color:var(--chessimals-primary);font-weight:950}.chessimals-options[open] summary:after{content:\"-\"}.chessimals-options summary strong,.chessimals-options summary span{display:block}.chessimals-options summary strong{font-weight:950}.chessimals-options summary span{color:var(--chessimals-muted);font-size:.84rem;font-weight:800}.chessimals-options>:not(summary){margin:.5rem}.chessimals-play-options{display:grid;gap:1.05rem;color:var(--chessimals-text)}.chessimals-play-options__group{display:grid;gap:.62rem}.chessimals-play-options__group h3{margin:0;color:var(--chessimals-text);font-size:.9rem;font-weight:950;line-height:1.15}.chessimals-play-options .chessimals-size button,.chessimals-play-options .chessimals-mode button,.chessimals-play-options .chessimals-nightmare button,.chessimals-play-options .chessimals-bots button{position:relative;overflow:hidden;min-height:4.75rem;padding:.78rem 2.1rem .78rem .9rem;border:1px solid rgba(var(--chessimals-primary-rgb),.2);border-radius:1.08rem;background:radial-gradient(circle at 16% 8%,rgba(255,255,255,.7),transparent 24%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),rgba(var(--chessimals-secondary-rgb),.05)),var(--chessimals-panel);color:var(--chessimals-text);box-shadow:inset 0 0 0 1px var(--chessimals-glass-highlight)}.chessimals-play-options .chessimals-size button.is-selected,.chessimals-play-options .chessimals-mode button.is-selected,.chessimals-play-options .chessimals-nightmare button.is-selected,.chessimals-play-options .chessimals-bots button.is-selected{border-color:var(--chessimals-primary);background:radial-gradient(circle at 16% 8%,rgba(255,255,255,.78),transparent 25%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.23),rgba(var(--chessimals-secondary-rgb),.13)),var(--chessimals-panel);box-shadow:0 0 0 .16rem rgba(var(--chessimals-primary-rgb),.18),0 .85rem 1.8rem rgba(var(--chessimals-primary-rgb),.16)}.chessimals-option-check{position:absolute;top:.65rem;right:.65rem;width:.72rem;height:.72rem;border:2px solid rgba(var(--chessimals-primary-rgb),.3);border-radius:999px;background:var(--chessimals-panel)}.is-selected>.chessimals-option-check{border-color:var(--chessimals-primary);background:var(--chessimals-primary);box-shadow:0 0 0 .28rem rgba(var(--chessimals-primary-rgb),.13)}.chessimals-play-options .chessimals-nightmare{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.chessimals-play-options .chessimals-nightmare button{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:\"icon title\" \"icon body\";column-gap:.55rem;row-gap:.12rem;align-content:center;text-align:left}.chessimals-play-options .chessimals-nightmare strong{grid-area:title;align-self:end;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chessimals-play-options .chessimals-nightmare small{grid-area:body;color:var(--chessimals-muted);font-size:.72rem;font-weight:800;line-height:1.15}.chessimals-nightmare__icon{grid-area:icon;display:grid;place-items:center;width:2.35rem;height:2.35rem;overflow:hidden;border-radius:.8rem;background:rgba(var(--chessimals-primary-rgb),.12);color:var(--chessimals-primary);font-weight:1000;box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14)}.chessimals-nightmare__icon img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chessimals-play-options .chessimals-nightmare button.is-selected .chessimals-nightmare__icon{background:rgba(var(--chessimals-secondary-rgb),.2);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.24)}.chessimals-play-options .chessimals-difficulty{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.chessimals-play-options .chessimals-difficulty button{border:1px solid rgba(var(--chessimals-primary-rgb),.2);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.06),rgba(var(--chessimals-secondary-rgb),.04)),var(--chessimals-panel);color:var(--chessimals-text);box-shadow:inset 0 0 0 1px var(--chessimals-glass-highlight)}.chessimals-play-options .chessimals-difficulty button.is-selected{border-color:var(--chessimals-primary);background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);box-shadow:0 0 0 .16rem rgba(var(--chessimals-primary-rgb),.18),0 .72rem 1.25rem rgba(var(--chessimals-primary-rgb),.16)}.chessimals-play-options .chessimals-bots button>.chessimals-bot-avatar{width:2.45rem;height:2.45rem;border-radius:.8rem;background:rgba(var(--chessimals-primary-rgb),.12)}.chessimals-play-options .chessimals-bots button.is-selected>.chessimals-bot-avatar{background:rgba(var(--chessimals-secondary-rgb),.2);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.24)}.chessimals-play-modal{--chessimals-panel: var(--chessimals-modal-card, #ffffff);--chessimals-elevated: var(--chessimals-modal-card-strong, rgba(255, 255, 255, .72));--chessimals-elevated-soft: color-mix(in srgb, var(--chessimals-modal-card, #ffffff) 74%, transparent);--chessimals-elevated-strong: var(--chessimals-modal-card-strong, rgba(255, 255, 255, .86));--chessimals-glass-highlight: color-mix(in srgb, var(--chessimals-modal-surface, #ffffff) 58%, transparent);--chessimals-border: var(--chessimals-modal-border, rgba(46, 58, 44, .18));--chessimals-text: var(--chessimals-modal-text, #2e3a2c);--chessimals-muted: var(--chessimals-modal-muted, #51643d);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--background: var(--chessimals-primary);--background-activated: color-mix(in srgb, var(--chessimals-primary) 88%, #000);--background-hover: color-mix(in srgb, var(--chessimals-primary) 92%, #fff);--border-color: var(--chessimals-primary);--border-radius: 999px;--box-shadow: 0 1rem 2rem rgba(var(--chessimals-primary-rgb), .22);--color: var(--chessimals-primary-contrast);--color-activated: var(--chessimals-primary-contrast);--color-hover: var(--chessimals-primary-contrast);--val-modal-footer-gap: .7rem}.chessimals-rules-modal{--chessimals-border: var(--chessimals-modal-border, rgba(46, 58, 44, .18));--chessimals-text: var(--chessimals-modal-text, #2e3a2c);--chessimals-muted: var(--chessimals-modal-muted, #51643d);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--ion-background-color: var(--chessimals-modal-surface, #ffffff);--ion-card-background: var(--chessimals-modal-card, #ffffff);--ion-text-color: var(--chessimals-text);--val-modal-footer-gap: .7rem}.chessimals-confirm-modal{--chessimals-border: var(--chessimals-modal-border, rgba(46, 58, 44, .18));--chessimals-text: var(--chessimals-modal-text, #2e3a2c);--chessimals-muted: var(--chessimals-modal-muted, #51643d);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--ion-background-color: var(--chessimals-modal-surface, #ffffff);--ion-card-background: var(--chessimals-modal-card, #ffffff);--ion-text-color: var(--chessimals-text);--val-modal-footer-gap: .7rem}:host ::ng-deep ion-modal.chessimals-themed-modal{--chessimals-modal-surface: #ffffff;--chessimals-modal-card: #ffffff;--chessimals-modal-card-strong: #f8fbf5;--chessimals-modal-text: #2e3a2c;--chessimals-modal-muted: #5f6f50;--chessimals-modal-border: rgba(46, 58, 44, .18);--chessimals-modal-shadow: rgba(46, 58, 44, .14);--ion-background-color: var(--chessimals-modal-surface);--ion-card-background: var(--chessimals-modal-card);--ion-text-color: var(--chessimals-modal-text);--ion-color-dark: var(--chessimals-modal-text);--ion-color-dark-rgb: 46, 58, 44;--ion-color-medium: var(--chessimals-modal-muted);--ion-color-medium-rgb: 95, 111, 80;--ion-border-color: var(--chessimals-modal-border);--ion-color-primary: var(--chessimals-primary);--ion-color-primary-rgb: var(--chessimals-primary-rgb);--ion-color-primary-contrast: var(--chessimals-primary-contrast);--ion-color-primary-shade: #285f36;--ion-color-primary-tint: #43804f}@media (prefers-color-scheme: dark){:host ::ng-deep ion-modal.chessimals-themed-modal{--chessimals-modal-surface: #121811;--chessimals-modal-card: #182217;--chessimals-modal-card-strong: #1d2a1c;--chessimals-modal-text: #f6f3e9;--chessimals-modal-muted: #c8cfb1;--chessimals-modal-border: rgba(246, 227, 213, .2);--chessimals-modal-shadow: rgba(0, 0, 0, .36);--ion-color-dark-rgb: 246, 243, 233;--ion-color-medium-rgb: 200, 207, 177}}:host-context(html.ion-palette-dark) ::ng-deep ion-modal.chessimals-themed-modal,:host-context([data-theme=\"dark\"]) ::ng-deep ion-modal.chessimals-themed-modal{--chessimals-modal-surface: #121811;--chessimals-modal-card: #182217;--chessimals-modal-card-strong: #1d2a1c;--chessimals-modal-text: #f6f3e9;--chessimals-modal-muted: #c8cfb1;--chessimals-modal-border: rgba(246, 227, 213, .2);--chessimals-modal-shadow: rgba(0, 0, 0, .36);--ion-color-dark-rgb: 246, 243, 233;--ion-color-medium-rgb: 200, 207, 177}:host ::ng-deep ion-modal.chessimals-themed-modal val-modal-shell ion-toolbar,:host ::ng-deep ion-modal.chessimals-themed-modal .val-modal-layout__footer{--background: var(--chessimals-modal-surface);--color: var(--chessimals-modal-text);background:var(--chessimals-modal-surface);color:var(--chessimals-modal-text);border-color:var(--chessimals-modal-border)}:host ::ng-deep ion-modal.chessimals-themed-modal val-modal-shell ion-content{--background: var(--chessimals-modal-surface);color:var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-themed-modal val-modal-shell ion-button{--color: var(--chessimals-modal-text);--color-hover: var(--chessimals-modal-text);--color-activated: var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-themed-modal val-display ion-text,:host ::ng-deep ion-modal.chessimals-themed-modal val-title ion-text{color:var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-themed-modal val-button.val-modal-layout__button ion-button,:host ::ng-deep ion-modal.chessimals-themed-modal val-button.chessimals-rules__action ion-button{min-height:3.45rem;font-weight:950;--border-radius: 999px;--padding-bottom: .85rem;--padding-end: 1.35rem;--padding-start: 1.35rem;--padding-top: .85rem}:host ::ng-deep ion-modal.chessimals-themed-modal val-button.val-modal-layout__button ion-button.button-solid,:host ::ng-deep ion-modal.chessimals-themed-modal val-button.chessimals-rules__action--primary ion-button{--background: var(--chessimals-primary);--background-hover: color-mix(in srgb, var(--chessimals-primary) 92%, #fff);--background-activated: color-mix(in srgb, var(--chessimals-primary) 88%, #000);--box-shadow: 0 1rem 2rem rgba(var(--chessimals-primary-rgb), .22);--color: var(--chessimals-primary-contrast);--color-activated: var(--chessimals-primary-contrast);--color-hover: var(--chessimals-primary-contrast)}:host ::ng-deep ion-modal.chessimals-themed-modal val-button.val-modal-layout__button ion-button.button-outline,:host ::ng-deep ion-modal.chessimals-themed-modal val-button.chessimals-rules__action--secondary ion-button{--background: transparent;--border-color: var(--chessimals-modal-border);--border-width: 1px;--color: var(--chessimals-modal-text);--color-activated: var(--chessimals-modal-text);--color-hover: var(--chessimals-modal-text)}.chessimals-play-modal__actions,.chessimals-rules__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.7rem;width:100%}.chessimals-play-modal__actions .chessimals-primary,.chessimals-play-modal__actions .chessimals-secondary{min-width:min(100%,12.5rem);padding:.85rem 1.35rem}.chessimals-rules__action{min-width:min(100%,12.5rem)}:host ::ng-deep ion-modal.chessimals-rules-modal val-button.chessimals-rules__action ion-button{min-height:3.45rem;font-weight:950;--border-radius: 999px;--padding-bottom: .85rem;--padding-end: 1.35rem;--padding-start: 1.35rem;--padding-top: .85rem}:host ::ng-deep ion-modal.chessimals-rules-modal val-button.chessimals-rules__action--primary ion-button{--background: var(--chessimals-primary);--background-hover: color-mix(in srgb, var(--chessimals-primary) 92%, #fff);--background-activated: color-mix(in srgb, var(--chessimals-primary) 88%, #000);--box-shadow: 0 1rem 2rem rgba(var(--chessimals-primary-rgb), .22);--color: var(--chessimals-primary-contrast);--color-activated: var(--chessimals-primary-contrast);--color-hover: var(--chessimals-primary-contrast)}:host ::ng-deep ion-modal.chessimals-rules-modal val-button.chessimals-rules__action--secondary ion-button{--border-color: rgba(46, 58, 44, .24);--border-width: 1px;--color: var(--chessimals-text);--color-activated: var(--chessimals-text);--color-hover: var(--chessimals-text)}:host ::ng-deep ion-modal.chessimals-confirm-modal val-button.val-modal-layout__button ion-button{min-height:3.45rem;font-weight:950;--border-radius: 999px;--padding-bottom: .85rem;--padding-end: 1.35rem;--padding-start: 1.35rem;--padding-top: .85rem}:host ::ng-deep ion-modal.chessimals-confirm-modal val-button.val-modal-layout__button ion-button[data-testid=confirm]{--background: var(--chessimals-primary);--background-hover: color-mix(in srgb, var(--chessimals-primary) 92%, #fff);--background-activated: color-mix(in srgb, var(--chessimals-primary) 88%, #000);--box-shadow: 0 1rem 2rem rgba(var(--chessimals-primary-rgb), .22);--color: var(--chessimals-primary-contrast);--color-activated: var(--chessimals-primary-contrast);--color-hover: var(--chessimals-primary-contrast)}:host ::ng-deep ion-modal.chessimals-confirm-modal val-button.val-modal-layout__button ion-button[data-testid=cancel]{--border-color: rgba(46, 58, 44, .24);--border-width: 1px;--color: var(--chessimals-text);--color-activated: var(--chessimals-text);--color-hover: var(--chessimals-text)}.chessimals-online{display:grid;gap:.875rem;border:1px solid var(--chessimals-border);border-radius:1.375rem;padding:1rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),transparent),var(--chessimals-panel)}.chessimals-online--waiting{order:2;border-color:rgba(var(--chessimals-primary-rgb),.34)}.chessimals-online h2,.chessimals-online p{margin:0}.chessimals-online h2{font-size:1.1rem;font-weight:950}.chessimals-online p{color:var(--chessimals-muted);line-height:1.4}.chessimals-online__create,.chessimals-online__join{display:grid;gap:.55rem}.chessimals-online__create small{color:var(--chessimals-muted);font-weight:800;line-height:1.35}.chessimals-online__join{border-top:1px solid var(--chessimals-border);padding-top:.85rem}.chessimals-online__join>strong{font-size:.95rem;font-weight:950}.chessimals-online__error{border-radius:.875rem;padding:.7rem .8rem;background:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.12);color:var(--ion-color-danger, #eb445a)!important;font-weight:800}.chessimals-online__loading{display:flex;align-items:center;gap:.625rem;border:1px solid rgba(var(--chessimals-primary-rgb),.22);border-radius:999px;padding:.65rem .85rem;background:rgba(var(--chessimals-primary-rgb),.08);color:var(--chessimals-text);font-size:.92rem;font-weight:900}.chessimals-online__loading span{width:1rem;height:1rem;border:.15rem solid rgba(var(--chessimals-primary-rgb),.24);border-top-color:var(--chessimals-primary);border-radius:999px;animation:chessimals-spin .75s linear infinite}.chessimals-online-code{display:grid;gap:.4rem;font-weight:950}.chessimals-online-code input{width:100%;min-height:3.3rem;border:1px solid var(--chessimals-border);border-radius:999px;padding:0 1rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.chessimals-game-code{display:grid;gap:.2rem;border-radius:1rem;padding:.85rem 1rem;background:var(--chessimals-soft)}.chessimals-game-code small{color:var(--chessimals-muted);font-weight:900;letter-spacing:.06em;text-transform:uppercase}.chessimals-game-code strong{font-size:clamp(1.35rem,6vw,2rem);font-weight:950;letter-spacing:.05em}.chessimals-online-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem}.chessimals-history{gap:.75rem}.chessimals-history__heading{display:flex;align-items:start;justify-content:space-between;gap:.75rem}.chessimals-history__list{display:grid;gap:.5rem}.chessimals-history__item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;border:1px solid var(--chessimals-border);border-radius:1rem;padding:.7rem .8rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;text-align:left}.chessimals-history__item span{display:grid;gap:.1rem;min-width:0}.chessimals-history__item strong{font-weight:950;letter-spacing:.04em}.chessimals-history__item small{overflow:hidden;color:var(--chessimals-muted);font-size:.82rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.chessimals-history__item em{flex:0 0 auto;color:var(--chessimals-primary);font-size:.86rem;font-style:normal;font-weight:950}.chessimals-home-settings{gap:.8rem}.chessimals-home-settings__actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.625rem}.chessimals-pending-player{display:flex;align-items:center;gap:.7rem;border:1px solid rgba(var(--chessimals-primary-rgb),.22);border-radius:1rem;padding:.75rem;background:var(--chessimals-soft)}.chessimals-pending-player div{display:grid;gap:.1rem;min-width:0}.chessimals-pending-player small{color:var(--chessimals-muted);font-size:.72rem;font-weight:950;letter-spacing:.07em;text-transform:uppercase}.chessimals-pending-player strong{overflow:hidden;font-size:1.05rem;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.chessimals-turn-card{order:1;display:flex;align-items:center;justify-content:space-between;gap:.625rem;min-height:3.75rem;overflow:visible;border:1px solid rgba(var(--chessimals-primary-rgb),.24);border-radius:1rem;padding:.55rem .65rem;background:radial-gradient(circle at 15% 18%,rgba(255,255,255,.34),transparent 18%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.2),rgba(var(--chessimals-secondary-rgb),.1))}.chessimals-turn-card.is-black-turn{border-color:rgba(var(--ion-color-dark-rgb, 47, 42, 58),.28);background:radial-gradient(circle at 15% 18%,rgba(255,255,255,.12),transparent 18%),linear-gradient(135deg,rgba(var(--ion-color-dark-rgb, 47, 42, 58),.14),rgba(var(--chessimals-primary-rgb),.1))}.chessimals-turn-card.is-finished{border-color:rgba(var(--ion-color-success-rgb, 45, 211, 111),.42);background:radial-gradient(circle at 15% 18%,rgba(255,255,255,.35),transparent 18%),linear-gradient(135deg,rgba(var(--ion-color-success-rgb, 45, 211, 111),.18),rgba(var(--chessimals-primary-rgb),.12))}.chessimals-turn-card.is-finished .chessimals-turn-card__chip{color:var(--ion-color-success, #2dd36f)}.chessimals-turn-card.is-your-turn{border-color:rgba(var(--chessimals-primary-rgb),.48);box-shadow:0 0 0 .12rem rgba(var(--chessimals-primary-rgb),.12),0 .95rem 2rem rgba(var(--chessimals-primary-rgb),.14)}.chessimals-turn-card.is-your-turn .chessimals-turn-card__chip{background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);box-shadow:0 0 0 .32rem rgba(var(--chessimals-primary-rgb),.14);animation:chessimals-turn-pulse 1.45s ease-in-out infinite}.chessimals-turn-card.is-timer-low{border-color:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.5);box-shadow:0 0 0 .12rem rgba(var(--ion-color-danger-rgb, 235, 68, 90),.12),0 .95rem 2rem rgba(var(--ion-color-danger-rgb, 235, 68, 90),.12)}.chessimals-turn-card.is-timer-low .chessimals-turn-card__chip{background:var(--ion-color-danger, #eb445a);color:var(--ion-color-danger-contrast, #ffffff)}.chessimals-turn-card.is-waiting-turn .chessimals-turn-card__chip{color:var(--chessimals-muted)}@keyframes chessimals-turn-pulse{0%,to{transform:translateZ(0) scale(1)}50%{transform:translateZ(0) scale(1.035)}}.chessimals-turn-card__copy{display:grid;min-width:0;gap:.15rem}.chessimals-turn-card__chip{justify-self:start;border-radius:999px;padding:.2rem .5rem;background:var(--chessimals-panel);color:var(--chessimals-primary);font-size:.62rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-turn-card strong{display:block;min-width:0;font-size:clamp(1rem,3.5vw,1.25rem);line-height:1.08;font-weight:950;overflow-wrap:anywhere}.chessimals-turn-card p{display:block;min-width:0;margin:0;color:var(--chessimals-muted);font-size:.78rem;line-height:1.22}.chessimals-player-strip{display:flex;flex:0 0 auto;align-items:center;gap:.45rem;min-width:10rem;max-width:min(17rem,42%);border:1px solid var(--chessimals-border);border-radius:999px;padding:.3rem .55rem .3rem .35rem;background:rgba(var(--ion-color-light-rgb, 244, 245, 248),.72)}:host-context(html.ion-palette-dark) .chessimals-player-strip,:host-context([data-theme=\"dark\"]) .chessimals-player-strip{background:#ffffff0f}.chessimals-player-strip val-user-avatar{display:inline-flex;flex:0 0 auto;line-height:0}.chessimals-player-strip__avatar{display:grid;place-items:center;flex:0 0 2.25rem;width:2.25rem;height:2.25rem;aspect-ratio:1 / 1;overflow:hidden;border-radius:999px;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);font-size:.875rem;line-height:1}.chessimals-player-strip__avatar--initials{font-size:.78rem;font-weight:950}:host ::ng-deep .chessimals-player-strip .chessimals-turn-avatar{width:2.25rem;min-width:2.25rem;height:2.25rem;border-radius:50%}.chessimals-player-strip__text{display:grid;min-width:0;gap:.05rem;line-height:1.1}.chessimals-player-strip__text span{color:var(--chessimals-muted);font-size:.58rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-player-strip__text strong{overflow:hidden;font-size:.82rem;line-height:1.08;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.chessimals-player-strip__text small{overflow:hidden;color:var(--chessimals-muted);font-size:.66rem;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.chessimals-arena{order:4;display:grid;gap:.875rem;align-items:start}.chessimals-howto,.chessimals-tip,.chessimals-result,.chessimals-replay,.chessimals-rematch-status{display:grid;gap:.375rem;padding:1rem;border-radius:1.25rem;background:var(--chessimals-soft)}.chessimals-howto{border:1px solid var(--chessimals-border);background:var(--chessimals-soft);color:var(--chessimals-text)}.chessimals-howto p{color:var(--chessimals-muted)}.chessimals-howto__actions{display:flex;flex-wrap:wrap;gap:.625rem}:host-context(html.ion-palette-dark) .chessimals-howto,:host-context([data-theme=\"dark\"]) .chessimals-howto{border-color:#f6e3d533;background:#172116;color:#f6f3e9}:host-context(html.ion-palette-dark) .chessimals-howto p,:host-context([data-theme=\"dark\"]) .chessimals-howto p{color:#c8cfb1}.chessimals-result{order:5}.chessimals-result__actions{display:flex;flex-wrap:wrap;gap:.625rem;margin-top:.45rem}.chessimals-action-button{flex:0 1 auto;min-width:min(100%,12.5rem);max-width:100%;padding:.85rem 1.35rem}.chessimals-result.is-challenge-result{gap:0;padding:0;background:transparent}.chessimals-result__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin-top:.35rem}.chessimals-result__stats span{display:grid;gap:.15rem;min-width:0;border:1px solid rgba(var(--chessimals-primary-rgb),.16);border-radius:.85rem;padding:.58rem .6rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),transparent),var(--chessimals-panel)}.chessimals-result__stats small{overflow:hidden;color:var(--chessimals-muted);font-size:.68rem;font-weight:950;letter-spacing:.05em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-result__stats b{overflow:hidden;color:var(--chessimals-text);font-size:.92rem;font-weight:950;line-height:1.12;text-overflow:ellipsis;white-space:nowrap}.chessimals-result__detail{margin:.2rem 0 0}.chessimals-bot-report{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem;margin-top:.35rem;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:1rem;padding:.78rem .85rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),transparent),var(--chessimals-panel)}.chessimals-bot-report>span{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:.85rem;background:rgba(var(--chessimals-secondary-rgb),.14);font-size:1.45rem;box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14)}.chessimals-bot-report>span img{width:100%;height:100%;object-fit:contain}.chessimals-bot-report div{display:grid;gap:.12rem;min-width:0}.chessimals-bot-report small{color:var(--chessimals-muted);font-size:.72rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-bot-report strong{color:var(--chessimals-text);font-size:1rem;font-weight:950;line-height:1.15}.chessimals-bot-report p{margin:0;color:var(--chessimals-muted);font-size:.84rem;font-weight:820;line-height:1.28}.chessimals-online-status{order:3;display:grid;grid-template-columns:1.35rem minmax(0,1fr);align-items:center;gap:.85rem;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:1.1rem;padding:.85rem .95rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.09),transparent),var(--chessimals-panel)}.chessimals-online-status>span{justify-self:center;width:.72rem;height:.72rem;border-radius:999px;background:var(--chessimals-primary);box-shadow:0 0 0 .38rem rgba(var(--chessimals-primary-rgb),.12)}.chessimals-online-status.is-syncing>span{animation:chessimals-online-pulse .9s ease-in-out infinite}.chessimals-online-status.is-error{border-color:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.28);background:linear-gradient(135deg,rgba(var(--ion-color-danger-rgb, 235, 68, 90),.1),transparent),var(--chessimals-panel)}.chessimals-online-status.is-error>span{background:var(--ion-color-danger, #eb445a);box-shadow:0 0 0 .38rem rgba(var(--ion-color-danger-rgb, 235, 68, 90),.12)}.chessimals-online-status div{display:grid;gap:.12rem;min-width:0}.chessimals-online-status strong{overflow:hidden;color:var(--chessimals-text);font-size:.95rem;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.chessimals-online-status p{margin:0;color:var(--chessimals-muted);font-size:.84rem;font-weight:780;line-height:1.28}.chessimals-series{display:grid;gap:.18rem;margin-top:.35rem;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:1rem;padding:.78rem .85rem;background:linear-gradient(135deg,rgba(var(--chessimals-secondary-rgb),.12),transparent),var(--chessimals-panel)}.chessimals-series--compact{margin-top:0}.chessimals-series small{color:var(--chessimals-muted);font-size:.72rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-series strong{color:var(--chessimals-text);font-size:1rem;font-weight:950;line-height:1.15}.chessimals-series span{color:var(--chessimals-muted);font-size:.84rem;font-weight:820;line-height:1.28}.chessimals-replay{order:5;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;border:1px solid rgba(var(--chessimals-primary-rgb),.2);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),transparent),var(--chessimals-panel)}.chessimals-replay>div:first-child{display:grid;gap:.15rem;min-width:0}.chessimals-replay strong{font-size:1rem;font-weight:950}.chessimals-replay span{color:var(--chessimals-muted);font-size:.86rem;font-weight:800;line-height:1.25}.chessimals-replay__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}.chessimals-replay__actions .chessimals-secondary{min-height:2.5rem;padding:0 .8rem}.chessimals-tutorial{order:3;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:1rem;border:1px solid rgba(var(--chessimals-primary-rgb),.24);border-radius:1.25rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.13),transparent),var(--chessimals-panel)}.chessimals-tutorial>div{display:grid;gap:.18rem;min-width:0}.chessimals-tutorial small{color:var(--chessimals-primary);font-size:.76rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-tutorial strong{font-size:1rem;font-weight:950}.chessimals-tutorial p{margin:0;color:var(--chessimals-muted);font-size:.88rem;font-weight:780;line-height:1.35}.chessimals-tutorial .chessimals-secondary{min-height:2.5rem;padding:0 .85rem}.chessimals-rematch-status{order:5;border:1px solid rgba(var(--chessimals-primary-rgb),.22);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.12),transparent),var(--chessimals-panel)}.chessimals-rematch-status.is-incoming{border-color:rgba(var(--ion-color-success-rgb, 45, 211, 111),.38);background:linear-gradient(135deg,rgba(var(--ion-color-success-rgb, 45, 211, 111),.14),transparent),var(--chessimals-panel)}.chessimals-rematch-status strong{font-size:1rem;font-weight:950}.chessimals-rematch-status p{margin:0;color:var(--chessimals-muted);font-size:.88rem;line-height:1.35}.chessimals-rematch-player{background:var(--chessimals-elevated)}:host-context(html.ion-palette-dark) .chessimals-rematch-player,:host-context([data-theme=\"dark\"]) .chessimals-rematch-player{background:#ffffff0f}.chessimals-rematch-status__actions{display:flex;justify-content:flex-end}.chessimals-rematch-status__actions .chessimals-secondary{min-height:2.5rem;padding:0 .95rem}.chessimals-howto h2,.chessimals-powers h2{margin:0;font-size:1.15rem;font-weight:950}.chessimals-challenge-cta{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(10rem,auto) auto;gap:.65rem;align-items:center;border:1px solid rgba(var(--chessimals-sky-rgb),.24);border-radius:1.25rem;padding:.75rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.1),transparent 62%),var(--chessimals-panel);box-shadow:0 .7rem 1.4rem rgba(var(--chessimals-shadow-rgb),.08)}.chessimals-challenge-cta__copy{display:grid;gap:.18rem;min-width:0}.chessimals-challenge-cta__copy span,.chessimals-challenge-cta__rival small{color:var(--chessimals-sky);font-size:.68rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-challenge-cta__copy h2{margin:0;color:var(--chessimals-text);font-size:clamp(1.05rem,2.5vw,1.32rem);font-weight:1000}.chessimals-challenge-cta__copy p{margin:0;color:var(--chessimals-muted);font-size:.82rem;font-weight:780;line-height:1.3}.chessimals-challenge-cta__meta{display:grid;grid-template-columns:repeat(2,minmax(3.8rem,1fr));gap:.4rem}.chessimals-challenge-cta__meta span{display:grid;gap:.08rem;border:1px solid rgba(var(--chessimals-primary-rgb),.14);border-radius:.95rem;padding:.42rem .5rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-cta__meta small{color:var(--chessimals-muted);font-size:.62rem;font-weight:900;text-transform:uppercase}.chessimals-challenge-cta__meta strong{color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-challenge-cta__actions{display:grid;gap:.45rem;min-width:10rem}.chessimals-challenge-cta__rival{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem;align-items:center;min-width:0;border:1px solid rgba(var(--chessimals-primary-rgb),.14);border-radius:1rem;padding:.45rem;background:var(--chessimals-elevated)}.chessimals-challenge-cta__rival>.chessimals-bot-avatar{display:grid;place-items:center;width:2.15rem;height:2.15rem;border-radius:.9rem;background:rgba(var(--chessimals-sky-rgb),.14);font-size:1.12rem}.chessimals-challenge-cta__rival div{display:grid;gap:.08rem;min-width:0}.chessimals-challenge-cta__rival strong{overflow:hidden;color:var(--chessimals-text);font-size:.9rem;font-weight:1000;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-view{display:grid;gap:.85rem}.chessimals-back-link{justify-self:start;border:1px solid rgba(var(--chessimals-primary-rgb),.16);border-radius:999px;padding:.45rem .72rem;background:var(--chessimals-elevated);color:var(--chessimals-text);font:inherit;font-size:.85rem;font-weight:950;cursor:pointer}.chessimals-challenge-back{margin-bottom:.15rem}.chessimals-challenge-card{display:grid;gap:.9rem;border:1px solid rgba(var(--chessimals-sky-rgb),.34);border-radius:1.375rem;padding:1rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.18),transparent 54%),linear-gradient(180deg,var(--chessimals-glass-highlight),transparent),var(--chessimals-panel);box-shadow:0 1rem 2.2rem #4f3a231f}.chessimals-challenge-card--dedicated{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}.chessimals-challenge-hero,.chessimals-challenge-focus,.chessimals-challenge-secondary{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(14rem,.9fr);gap:.75rem;align-items:stretch}.chessimals-challenge-card__copy{display:grid;gap:.28rem;align-content:center}.chessimals-challenge-card__copy span,.chessimals-challenge-summary small,.chessimals-challenge-route small,.chessimals-challenge-panel__heading small{color:var(--chessimals-sky);font-size:.72rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-challenge-card h2{margin:0;font-size:clamp(1.25rem,3.5vw,1.9rem);font-weight:1000}.chessimals-challenge-card p,.chessimals-challenge-summary p{margin:0;color:var(--chessimals-muted);font-size:.95rem;font-weight:780;line-height:1.35}.chessimals-challenge-card__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.chessimals-challenge-rival{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.7rem;align-items:center;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:1.125rem;padding:.7rem;background:var(--chessimals-elevated)}.chessimals-challenge-rival--feature{min-height:8rem;border-color:rgba(var(--chessimals-sky-rgb),.28);background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.14),transparent),var(--chessimals-elevated)}.chessimals-challenge-rival>.chessimals-bot-avatar{display:grid;place-items:center;width:3rem;height:3rem;border-radius:1rem;background:rgba(var(--chessimals-primary-rgb),.12);font-size:1.45rem}.chessimals-challenge-rival div{display:grid;gap:.14rem;min-width:0}.chessimals-challenge-rival small,.chessimals-challenge-history small,.chessimals-challenge-summary__stats small{color:var(--chessimals-muted);font-size:.66rem;font-weight:900;text-transform:uppercase}.chessimals-challenge-rival strong{color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-challenge-rival p{font-size:.84rem}.chessimals-challenge-rival em{overflow:hidden;color:var(--chessimals-muted);font-size:.68rem;font-style:normal;font-weight:900;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-challenge-rival--next{background:rgba(var(--chessimals-primary-rgb),.08)}.chessimals-challenge-card__stats span{display:grid;gap:.16rem;border:1px solid rgba(var(--chessimals-primary-rgb),.16);border-radius:1rem;padding:.55rem;background:var(--chessimals-elevated)}.chessimals-challenge-card__stats small{color:var(--chessimals-muted);font-size:.66rem;font-weight:900;text-transform:uppercase}.chessimals-challenge-card__stats strong{color:var(--chessimals-text);font-size:1.1rem;font-weight:1000}.chessimals-challenge-card__actions{display:grid;gap:.55rem;align-content:center}.chessimals-challenge-card__actions--hero{grid-template-columns:minmax(0,1fr)}.chessimals-challenge-route,.chessimals-challenge-panel{display:grid;gap:.55rem;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:1.125rem;padding:.65rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-route>div:first-child,.chessimals-challenge-panel__heading{display:flex;flex-wrap:wrap;gap:.4rem;align-items:baseline;justify-content:space-between}.chessimals-challenge-route>div:first-child>span{color:var(--chessimals-muted);font-size:.76rem;font-weight:850}.chessimals-challenge-path{display:flex;flex-wrap:nowrap;gap:.4rem;overflow-x:auto;padding-block:.1rem;scrollbar-width:none}.chessimals-challenge-path::-webkit-scrollbar{display:none}.chessimals-challenge-path span{flex:0 0 auto;display:grid;place-items:center;width:2.15rem;height:2.15rem;overflow:hidden;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:999px;background:var(--chessimals-elevated-strong);font-size:1.08rem}.chessimals-challenge-path img{display:block;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;object-fit:contain}.chessimals-challenge-path span.is-cleared{border-color:rgba(var(--ion-color-success-rgb, 45, 211, 111),.34);background:rgba(var(--ion-color-success-rgb, 45, 211, 111),.16)}.chessimals-challenge-path span.is-current{border-color:rgba(var(--chessimals-sky-rgb),.48);background:rgba(var(--chessimals-sky-rgb),.18);box-shadow:0 0 0 2px rgba(var(--chessimals-sky-rgb),.12)}.chessimals-challenge-path span.is-final{border-color:rgba(var(--ion-color-warning-rgb, 255, 196, 9),.48)}.chessimals-challenge-roster{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem}.chessimals-challenge-roster article{display:grid;grid-template-columns:minmax(0,1fr);gap:.4rem;align-items:center;min-width:0;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:1rem;padding:.48rem;background:var(--chessimals-elevated-soft);opacity:.78}.chessimals-challenge-roster article.is-cleared{border-color:rgba(var(--ion-color-success-rgb, 45, 211, 111),.26);background:linear-gradient(135deg,rgba(var(--ion-color-success-rgb, 45, 211, 111),.1),transparent),var(--chessimals-elevated-soft);opacity:1}.chessimals-challenge-roster article.is-current{border-color:rgba(var(--chessimals-sky-rgb),.38);background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.16),transparent),var(--chessimals-elevated);box-shadow:0 0 0 2px rgba(var(--chessimals-sky-rgb),.1);opacity:1}.chessimals-challenge-roster article.is-final{border-color:rgba(var(--ion-color-warning-rgb, 255, 196, 9),.34)}.chessimals-challenge-roster article>.chessimals-bot-avatar{display:grid;place-items:center;width:2rem;height:2rem;border-radius:.85rem;background:rgba(var(--chessimals-primary-rgb),.1);font-size:1rem}.chessimals-challenge-roster article.is-current>.chessimals-bot-avatar{background:rgba(var(--chessimals-sky-rgb),.18)}.chessimals-challenge-roster div{display:grid;gap:.08rem;min-width:0}.chessimals-challenge-roster small,.chessimals-challenge-roster em{overflow:hidden;color:var(--chessimals-muted);font-size:.62rem;font-style:normal;font-weight:900;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-challenge-roster strong{overflow:hidden;color:var(--chessimals-text);font-size:.82rem;font-weight:1000;line-height:1.08;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-roster p{display:-webkit-box;overflow:hidden;margin:0;color:var(--chessimals-muted);font-size:.72rem;font-weight:820;line-height:1.18;-webkit-box-orient:vertical;-webkit-line-clamp:2}.chessimals-achievements,.chessimals-mode-winrates{display:grid;grid-template-columns:minmax(0,1fr);gap:.45rem}.chessimals-mode-winrates>span{display:grid;gap:.1rem;border:1px solid rgba(var(--chessimals-sky-rgb),.2);border-radius:8px;padding:.48rem;background:rgba(var(--chessimals-sky-rgb),.08)}.chessimals-mode-winrates small{overflow:hidden;color:var(--chessimals-muted);font-size:.64rem;font-weight:900;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-mode-winrates strong{color:var(--chessimals-text);font-size:.98rem;font-weight:1000}.chessimals-mode-winrates em{overflow:hidden;color:var(--chessimals-muted);font-size:.68rem;font-style:normal;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.chessimals-achievements>span{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.45rem;align-items:center;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:8px;padding:.5rem;background:var(--chessimals-elevated-soft);opacity:.68}.chessimals-achievements>span.is-unlocked{border-color:rgba(var(--chessimals-sky-rgb),.3);background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.14),var(--chessimals-elevated));opacity:1}.chessimals-achievements b{display:grid;place-items:center;width:1.9rem;height:1.9rem;border-radius:8px;background:rgba(var(--chessimals-primary-rgb),.1);color:var(--chessimals-muted);font-size:.9rem;font-weight:1000}.chessimals-achievements .is-unlocked b{background:var(--chessimals-sky);color:#fffaf0}.chessimals-achievements span span{display:grid;gap:.06rem;min-width:0}.chessimals-achievements strong,.chessimals-achievements small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chessimals-achievements strong{color:var(--chessimals-text);font-size:.78rem;font-weight:1000}.chessimals-achievements small{color:var(--chessimals-muted);font-size:.67rem;font-weight:850}.chessimals-secondary--compact{min-height:2.45rem;padding-block:.45rem}.chessimals-path-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:center;border:1px solid rgba(var(--chessimals-sky-rgb),.26);border-radius:1.25rem;padding:.75rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.13),rgba(var(--chessimals-sun-rgb),.08)),var(--chessimals-elevated-soft)}.chessimals-path-cta div{display:grid;gap:.18rem;min-width:0}.chessimals-path-cta span,.chessimals-path-hero small{color:var(--chessimals-sky);font-size:.68rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-path-cta strong{color:var(--chessimals-text);font-size:.95rem;font-weight:950;line-height:1.2}.chessimals-path-cta__action{justify-self:end;width:min(12rem,100%);min-width:9.5rem;padding-inline:1.1rem;white-space:nowrap}.chessimals-path-view{display:grid;gap:.85rem}.chessimals-path-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.8rem;align-items:center;border:1px solid rgba(var(--chessimals-sky-rgb),.26);border-radius:1.25rem;padding:.85rem;background:radial-gradient(circle at 88% 10%,rgba(var(--chessimals-sun-rgb),.18),transparent 34%),linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.14),transparent 62%),var(--chessimals-elevated-soft)}.chessimals-path-hero__art{display:block;width:clamp(5.2rem,15vw,7.5rem);height:clamp(5.2rem,15vw,7.5rem);object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chessimals-path-hero>div:not(.chessimals-path-hero__medal){display:grid;gap:.25rem;min-width:0}.chessimals-path-hero h2{margin:0;color:var(--chessimals-text);font-size:clamp(1.7rem,4vw,2.35rem);font-weight:1000;line-height:1}.chessimals-path-hero p{margin:0;color:var(--chessimals-muted);font-size:.95rem;font-weight:820;line-height:1.35}.chessimals-path-hero__medal{display:grid;place-items:center;width:6.5rem;min-height:6.5rem;border:1px solid rgba(var(--chessimals-primary-rgb),.14);border-radius:1rem;background:linear-gradient(180deg,rgba(var(--chessimals-sun-rgb),.2),rgba(var(--chessimals-sky-rgb),.11)),var(--chessimals-elevated);box-shadow:0 16px 28px rgba(var(--chessimals-shadow-rgb),.12)}.chessimals-path-hero__medal img{display:block;width:3rem;height:3rem;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chessimals-path-hero__medal span{color:var(--chessimals-text);font-size:1.65rem;font-weight:1000;line-height:1}.chessimals-path-hero__medal b{color:var(--chessimals-muted);font-size:.78rem;font-weight:950}.chessimals-path-highlights{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.65rem}.chessimals-path-highlights article{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.65rem;align-items:center;min-width:0;min-height:7.5rem;border:1px solid rgba(var(--chessimals-primary-rgb),.13);border-radius:1rem;padding:.7rem;background:radial-gradient(circle at 12% 4%,rgba(var(--chessimals-sun-rgb),.18),transparent 42%),var(--chessimals-elevated-soft)}.chessimals-path-highlights img{display:block;width:4.25rem;height:4.25rem;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chessimals-path-highlights article div{display:grid;min-width:0;gap:.12rem}.chessimals-path-highlights small{color:var(--chessimals-sky);font-size:.66rem;font-weight:950;letter-spacing:.05em;text-transform:uppercase}.chessimals-path-highlights strong{color:var(--chessimals-text);font-size:1.08rem;font-weight:1000;line-height:1.06}.chessimals-path-highlights span{color:var(--chessimals-muted);font-size:.76rem;font-weight:820;line-height:1.24}.chessimals-path-rings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.6rem}.chessimals-path-ring,.chessimals-path-panel,.chessimals-path-stats span,.chessimals-path-bars span{border:1px solid rgba(var(--chessimals-primary-rgb),.13);border-radius:1rem;background:var(--chessimals-elevated-soft)}.chessimals-path-ring{display:grid;grid-template-areas:\"ring label\" \"ring detail\";grid-template-columns:auto minmax(0,1fr);gap:.55rem;align-items:center;padding:.65rem;text-align:left}.chessimals-path-ring>div{position:relative;grid-area:ring;display:grid;place-items:center;width:3.35rem;height:3.35rem;border-radius:999px;background:conic-gradient(var(--chessimals-sky) var(--ring-progress),rgba(var(--chessimals-primary-rgb),.12) 0)}.chessimals-path-ring>div:after{position:absolute;inset:.34rem;border-radius:inherit;background:var(--chessimals-elevated);content:\"\"}.chessimals-path-ring strong{position:relative;z-index:1;color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-path-ring span,.chessimals-path-bars b{color:var(--chessimals-text);font-size:.78rem;font-weight:950}.chessimals-path-ring span{grid-area:label;align-self:end}.chessimals-path-ring small{grid-area:detail;align-self:start;min-width:0}.chessimals-path-ring small{color:var(--chessimals-muted);font-size:.68rem;font-weight:820;line-height:1.25}.chessimals-path-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:.75rem}.chessimals-path-panel{display:grid;gap:.65rem;align-content:start;padding:.75rem}.chessimals-path-panel--wide{grid-column:1 / -1}.chessimals-path-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10.5rem),1fr));gap:.5rem}.chessimals-path-stats span{display:grid;gap:.08rem;padding:.6rem}.chessimals-path-stats small{color:var(--chessimals-muted);font-size:.66rem;font-weight:900;text-transform:uppercase}.chessimals-path-stats strong{color:var(--chessimals-text);font-size:1.25rem;font-weight:1000}.chessimals-path-bars{display:grid;gap:.45rem}.chessimals-path-bars span{display:grid;grid-template-columns:minmax(0,.9fr) minmax(3rem,1fr) auto;gap:.45rem;align-items:center;padding:.48rem}.chessimals-path-bars i{display:block;height:.48rem;overflow:hidden;border-radius:999px;background:rgba(var(--chessimals-primary-rgb),.11)}.chessimals-path-bars i:before{display:block;width:var(--bar-progress);height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--chessimals-sky),var(--chessimals-sun));content:\"\"}.chessimals-path-bars strong{color:var(--chessimals-text);font-size:.86rem;font-weight:1000}.chessimals-achievements--path{grid-template-columns:1fr}.chessimals-challenge-history--path{border-top:0;padding-top:0}.chessimals-progress__heading small{color:var(--chessimals-sky);font-size:.68rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-progress__heading{display:flex;flex-wrap:wrap;gap:.35rem;align-items:baseline;justify-content:space-between}.chessimals-progress__heading span{color:var(--chessimals-muted);font-size:.76rem;font-weight:820}.chessimals-challenge-history{display:grid;gap:.35rem;border-top:1px solid rgba(var(--chessimals-primary-rgb),.12);padding-top:.2rem}.chessimals-challenge-history span{display:flex;flex-wrap:wrap;gap:.35rem;color:var(--chessimals-muted);font-size:.82rem;font-weight:820}.chessimals-challenge-history b{color:var(--chessimals-text);font-weight:1000}.chessimals-challenge-summary{display:grid;gap:.6rem;border:0;border-radius:0;padding:0;background:transparent}.chessimals-challenge-summary.is-victory,.chessimals-challenge-summary.is-defeat{background:transparent}.chessimals-challenge-summary__hero,.chessimals-challenge-rival-voice{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.7rem}.chessimals-challenge-summary__hero>.chessimals-bot-avatar,.chessimals-challenge-rival-voice>.chessimals-bot-avatar{position:relative;display:grid;place-items:center;width:3rem;height:3rem;border-radius:1rem;background:rgba(var(--chessimals-sky-rgb),.16);font-size:1.55rem;box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14)}.chessimals-challenge-summary__hero.is-cleared>.chessimals-bot-avatar img{filter:grayscale(1) saturate(.15) contrast(.95);opacity:.62}.chessimals-challenge-summary__hero.is-cleared>.chessimals-bot-avatar:after{content:\"\\2713\";position:absolute;right:-.05rem;bottom:-.05rem;display:grid;place-items:center;width:1.25rem;height:1.25rem;border:.12rem solid var(--chessimals-panel);border-radius:999px;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);font-size:.74rem;font-weight:1000;line-height:1}.chessimals-challenge-summary__hero div,.chessimals-challenge-rival-voice div{display:grid;gap:.12rem;min-width:0}.chessimals-challenge-summary__hero small,.chessimals-challenge-rival-voice small{color:var(--chessimals-muted);font-size:.68rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-challenge-summary strong{font-size:1rem;font-weight:1000}.chessimals-challenge-summary__hero p,.chessimals-challenge-rival-voice p{margin:0;color:var(--chessimals-muted);font-size:.86rem;font-weight:820;line-height:1.28}.chessimals-challenge-rival-voice{border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:.95rem;padding:.65rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-summary__actions{display:grid}.chessimals-challenge-summary__play{min-height:3.35rem;font-size:1.02rem;box-shadow:0 .9rem 1.8rem rgba(var(--chessimals-primary-rgb),.26)}.chessimals-result.is-challenge-result .chessimals-challenge-tension,.chessimals-result.is-challenge-result .chessimals-challenge-rival--next{display:grid;grid-template-columns:minmax(0,1fr);border:0;border-radius:.75rem;padding:.45rem .6rem;background:rgba(var(--chessimals-primary-rgb),.07)}.chessimals-result.is-challenge-result .chessimals-challenge-rival--next{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.7rem;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:1rem;padding:.65rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.12),transparent),rgba(var(--chessimals-primary-rgb),.06)}.chessimals-result.is-challenge-result .chessimals-challenge-rival--next>.chessimals-bot-avatar{width:3.4rem;height:3.4rem;border-radius:1.1rem;background:var(--chessimals-elevated-strong);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14),0 .45rem 1rem rgba(var(--chessimals-primary-rgb),.1)}.chessimals-result.is-challenge-result .chessimals-challenge-rival--next p{margin:0;color:var(--chessimals-text);font-size:.9rem;font-weight:900;line-height:1.22}.chessimals-result.is-challenge-result .chessimals-challenge-tension.is-critical{background:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.1)}.chessimals-challenge-rival-voice>.chessimals-bot-avatar{width:2.35rem;height:2.35rem;border-radius:999px;font-size:1.15rem}.chessimals-challenge-summary__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}.chessimals-challenge-record{display:flex;align-items:center;gap:.45rem;border:1px solid rgba(var(--chessimals-sky-rgb),.34);border-radius:999px;padding:.45rem .65rem;background:rgba(var(--chessimals-sky-rgb),.14);color:var(--chessimals-text)}.chessimals-challenge-record span{display:grid;place-items:center;width:1.45rem;height:1.45rem;border-radius:999px;background:var(--chessimals-sky);color:#fffaf0;font-size:.82rem}.chessimals-challenge-record strong{font-size:.9rem}.chessimals-challenge-tension{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.55rem;align-items:center;border:1px solid rgba(var(--chessimals-sky-rgb),.3);border-radius:.9rem;padding:.65rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.16),rgba(var(--chessimals-primary-rgb),.08)),var(--chessimals-elevated)}.chessimals-challenge-tension.is-critical{border-color:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.38);background:linear-gradient(135deg,rgba(var(--ion-color-danger-rgb, 235, 68, 90),.16),rgba(var(--chessimals-primary-rgb),.08)),var(--chessimals-elevated)}.chessimals-challenge-tension>span{display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:999px;background:rgba(var(--chessimals-sky-rgb),.18);color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-challenge-tension.is-critical>span{background:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.18)}.chessimals-challenge-tension div{display:grid;gap:.14rem;min-width:0}.chessimals-challenge-tension strong{font-size:.95rem}.chessimals-challenge-tension p{font-size:.84rem}.chessimals-challenge-summary__stats span{display:grid;gap:.1rem;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:.8rem;padding:.45rem;background:var(--chessimals-elevated)}.chessimals-challenge-summary__stats b{color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-challenge-rival--next em{color:var(--chessimals-muted);font-size:.78rem;font-style:normal;font-weight:820;line-height:1.25;white-space:normal}.chessimals-tip p,.chessimals-powers p{color:var(--chessimals-muted)}.chessimals-learn-more{justify-self:start;min-height:2.75rem;border:0;border-radius:999px;padding:0 1rem;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);font:inherit;font-weight:950;box-shadow:0 .75rem 1.6rem rgba(var(--chessimals-primary-rgb),.28)}.chessimals-size,.chessimals-mode,.chessimals-status{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem}.chessimals-status{order:3;grid-template-columns:repeat(3,minmax(0,1fr))}.chessimals-size button,.chessimals-mode button,.chessimals-status div{display:grid;gap:.2rem;align-content:center;min-width:0;min-height:3.875rem;padding:.55rem .65rem;border:1px solid var(--chessimals-border);border-radius:1rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;text-align:left}.chessimals-size button.is-selected{border-color:var(--chessimals-primary);box-shadow:0 0 0 2px rgba(var(--chessimals-primary-rgb),.16)}.chessimals-mode button.is-selected{border-color:var(--chessimals-primary);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.13),transparent),var(--chessimals-panel);box-shadow:0 0 0 2px rgba(var(--chessimals-primary-rgb),.16)}.chessimals-status__timer{position:relative;overflow:hidden;isolation:isolate;border-color:rgba(var(--chessimals-primary-rgb),.42)!important}.chessimals-status__timer:before{content:\"\";position:absolute;inset:auto 0 0;z-index:0;height:.22rem;transform:scaleX(var(--timer-progress, 1));transform-origin:left center;background:var(--chessimals-primary);transition:transform .18s linear,background .18s ease}.chessimals-status__timer.is-low{border-color:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.58)!important;background:linear-gradient(135deg,rgba(var(--ion-color-danger-rgb, 235, 68, 90),.16),transparent),var(--chessimals-panel)!important;animation:chessimals-turn-pulse .82s ease-in-out infinite}.chessimals-status__timer.is-low:before{background:var(--ion-color-danger, #eb445a)}.chessimals-status__timer.is-low strong{color:var(--ion-color-danger, #eb445a)}.chessimals-status__score.is-pop{border-color:rgba(var(--chessimals-sky-rgb),.42);background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.16),transparent),var(--chessimals-panel);animation:chessimals-score-pulse .62s ease-out both}.chessimals-status__timer small,.chessimals-status__timer strong{position:relative;z-index:1}.chessimals-challenge-live{order:4;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.35fr);gap:.65rem;align-items:stretch;border:1px solid rgba(var(--chessimals-sky-rgb),.28);border-radius:8px;padding:.68rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.13),transparent 52%),var(--chessimals-elevated-soft);color:var(--chessimals-text)}.chessimals-challenge-live__rival{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.55rem;align-items:center;min-width:0}.chessimals-challenge-live__rival>.chessimals-bot-avatar{display:grid;place-items:center;width:2.7rem;height:2.7rem;border-radius:8px;background:rgba(var(--chessimals-sky-rgb),.16);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14);font-size:1.35rem}.chessimals-challenge-live__rival div{display:grid;gap:.08rem;min-width:0}.chessimals-challenge-live__rival small,.chessimals-challenge-live__metrics small{overflow:hidden;color:var(--chessimals-muted);font-size:.64rem;font-weight:900;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-challenge-live__rival strong{overflow:hidden;color:var(--chessimals-text);font-size:1rem;font-weight:1000;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-live__rival p{display:-webkit-box;overflow:hidden;margin:0;color:var(--chessimals-muted);font-size:.78rem;font-weight:820;line-height:1.18;-webkit-box-orient:vertical;-webkit-line-clamp:2}.chessimals-challenge-live__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.42rem}.chessimals-challenge-live__metrics span{display:grid;gap:.1rem;align-content:center;min-width:0;min-height:3rem;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:8px;padding:.4rem .45rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-live__metrics b{overflow:hidden;color:var(--chessimals-text);font-size:.92rem;font-weight:1000;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-tension--live{grid-column:1 / -1;padding:.55rem}.chessimals-difficulty{display:flex;flex-wrap:wrap;gap:.55rem}.chessimals-difficulty button{min-height:2.75rem;border:1px solid var(--chessimals-border);border-radius:999px;padding:0 1rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;font-weight:950}.chessimals-difficulty button.is-selected{border-color:var(--chessimals-primary);background:var(--chessimals-primary);color:#fff}.chessimals-bots{display:grid;grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));gap:.625rem}.chessimals-bots button{display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"avatar title\" \"avatar body\" \"avatar tendency\";column-gap:.55rem;row-gap:.12rem;min-width:0;min-height:4.75rem;border:1px solid var(--chessimals-border);border-radius:1rem;padding:.65rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;text-align:left}.chessimals-bots button>.chessimals-bot-avatar{grid-area:avatar;display:grid;place-items:center;width:2.1rem;height:2.1rem;border-radius:50%;background:rgba(var(--chessimals-primary-rgb),.12);font-size:1.2rem}.chessimals-bots button strong{grid-area:title;align-self:end;font-size:.95rem;font-weight:950}.chessimals-bots button small{grid-area:body;color:var(--chessimals-muted);font-size:.75rem;font-weight:750;line-height:1.25}.chessimals-bots button p{grid-area:tendency;margin:.12rem 0 0;color:var(--chessimals-muted);font-size:.72rem;font-weight:820;line-height:1.24}.chessimals-bots button.is-selected{border-color:var(--chessimals-primary);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.13),transparent),var(--chessimals-panel);box-shadow:0 0 0 2px rgba(var(--chessimals-primary-rgb),.16),0 .75rem 1.5rem rgba(var(--chessimals-primary-rgb),.1)}.chessimals-size strong,.chessimals-mode strong,.chessimals-status strong,.chessimals-result strong,.chessimals-rematch-status strong,.chessimals-tip strong{font-weight:950}.chessimals-status strong{min-width:0;font-size:clamp(.95rem,2.5vw,1.2rem);line-height:1.08;overflow-wrap:anywhere;white-space:normal}.chessimals-size small,.chessimals-mode small,.chessimals-status small{color:var(--chessimals-muted);font-size:.78rem;line-height:1.12}.chessimals-board-wrap{--chessimals-board-radius: min(.85rem, 14px);display:flex;justify-content:center;min-width:0;max-width:100%;overflow-x:auto;width:100%;padding:.25rem 0}.chessimals-board-wrap.is-orienting .chessimals-board-frame{animation:chessimals-orient-board .32s ease}.chessimals-board-wrap.is-finished{overflow-x:visible}.chessimals-board-frame{flex:0 1 58rem;min-width:0;width:100%;max-width:58rem;border-radius:var(--chessimals-board-radius)}.chessimals-board{position:relative;display:grid;grid-template-columns:repeat(var(--board-size),minmax(0,1fr));grid-template-rows:repeat(var(--board-size),minmax(0,1fr));min-width:0;width:100%;aspect-ratio:1 / 1;overflow:hidden;isolation:isolate;contain:paint;border:1px solid var(--chessimals-border);border-radius:var(--chessimals-board-radius);clip-path:inset(0 round var(--chessimals-board-radius));-webkit-mask-image:-webkit-radial-gradient(white,black);background:radial-gradient(ellipse at 16% 18%,rgba(255,255,255,.34),transparent 18%),radial-gradient(ellipse at 82% 78%,rgba(var(--chessimals-primary-rgb),.1),transparent 22%),radial-gradient(ellipse at 32% 68%,rgba(var(--chessimals-stone-rgb),.05),transparent 30%),radial-gradient(ellipse at 66% 34%,rgba(255,255,255,.08),transparent 24%),var(--chessimals-border);box-shadow:inset 0 0 0 1px #ffffff1a,0 .85rem 2.1rem var(--chessimals-board-shadow)}.chessimals-board-wrap.is-syncing .chessimals-board{cursor:wait}.chessimals-cell-coordinate{position:absolute;z-index:5;color:color-mix(in srgb,var(--chessimals-muted) 78%,var(--chessimals-text));font-size:.68rem;font-weight:950;letter-spacing:.02em;line-height:1;pointer-events:none;text-transform:uppercase;-webkit-user-select:none;user-select:none}.chessimals-cell-coordinate--rank{top:.2rem;left:.24rem}.chessimals-cell-coordinate--file{right:.24rem;bottom:.18rem}@keyframes chessimals-orient-board{0%{opacity:.72;filter:blur(.06rem);transform:scale(.985)}52%{opacity:.92;filter:blur(0);transform:scale(1.012)}to{opacity:1;filter:blur(0);transform:scale(1)}}.chessimals-center-line{position:absolute;top:50%;left:0;right:0;z-index:2;display:flex;align-items:center;justify-content:center;border-top:.08rem dashed rgba(var(--chessimals-primary-rgb),.56);filter:drop-shadow(0 0 .24rem rgba(var(--chessimals-primary-rgb),.26));pointer-events:none}.chessimals-power-trail{position:absolute;inset:0;z-index:5;pointer-events:none;--trail-color: rgba(var(--chessimals-magic-rgb), .88);--trail-glow: rgba(var(--chessimals-magic-rgb), .48)}.chessimals-power-trail.is-capture{--trail-color: rgba(var(--chessimals-capture-rgb), .86);--trail-glow: rgba(var(--chessimals-capture-rgb), .46)}.chessimals-power-trail.effect-eagle{--trail-color: rgba(255, 255, 255, .92);--trail-glow: rgba(120, 210, 255, .54)}.chessimals-power-trail.effect-bull{--trail-color: rgba(188, 131, 76, .86);--trail-glow: rgba(188, 131, 76, .36)}.chessimals-power-trail.effect-kangaroo{--trail-color: rgba(174, 124, 255, .86);--trail-glow: rgba(174, 124, 255, .42)}.chessimals-power-trail.effect-lion{--trail-color: rgba(255, 221, 120, .88);--trail-glow: rgba(255, 190, 56, .42)}.chessimals-power-trail>span{position:absolute;top:var(--trail-y);left:var(--trail-x);width:var(--trail-length);height:.45rem;border-radius:999px;background:linear-gradient(90deg,transparent,var(--trail-color) 42%,rgba(255,255,255,.92));box-shadow:0 0 .75rem var(--trail-glow),0 0 1.45rem var(--trail-glow);transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0);transform-origin:0 50%;animation:chessimals-power-trail .72s ease-out both}.chessimals-power-trail.effect-eagle>span{height:.28rem;background:linear-gradient(90deg,transparent,rgba(255,255,255,.95) 44%,rgba(120,210,255,.58)),repeating-linear-gradient(90deg,transparent 0 .7rem,rgba(255,255,255,.66) .7rem .92rem);animation-name:chessimals-eagle-trail}.chessimals-power-trail.effect-bull>span{height:.72rem;background:repeating-linear-gradient(90deg,rgba(255,255,255,.42) 0 .18rem,transparent .18rem .42rem),linear-gradient(90deg,transparent,var(--trail-color),rgba(255,255,255,.86));animation-name:chessimals-bull-trail}.chessimals-power-trail.effect-kangaroo>span{height:1rem;border-top:.16rem dashed var(--trail-color);background:transparent;box-shadow:none;filter:drop-shadow(0 0 .8rem var(--trail-glow));animation-name:chessimals-kangaroo-trail}.chessimals-power-trail.effect-lion>span{height:.62rem;background:linear-gradient(90deg,transparent,var(--trail-color),rgba(255,255,255,.82)),repeating-linear-gradient(115deg,rgba(255,255,255,.55) 0 .12rem,transparent .12rem .34rem);animation-name:chessimals-lion-trail}@keyframes chessimals-power-trail{0%{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0)}28%{opacity:1;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(.72)}to{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1)}}@keyframes chessimals-eagle-trail{0%{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0) skew(-10deg)}30%{opacity:1;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(.82) skew(-10deg)}to{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1.05) skew(-10deg)}}@keyframes chessimals-bull-trail{0%{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0) scaleY(1)}38%{opacity:1;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(.7) scaleY(1.18)}to{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1) scaleY(.82)}}@keyframes chessimals-kangaroo-trail{0%{opacity:0;transform:translateY(-.4rem) rotate(var(--trail-angle)) scaleX(0)}34%{opacity:1;transform:translateY(-1.2rem) rotate(var(--trail-angle)) scaleX(.62)}to{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1)}}@keyframes chessimals-lion-trail{0%{opacity:0;filter:saturate(1);transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0)}36%{opacity:1;filter:saturate(1.4);transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(.76)}to{opacity:0;filter:saturate(1.1);transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1)}}@keyframes chessimals-score-pulse{0%,to{transform:translateZ(0) scale(1)}42%{transform:translateZ(0) scale(1.035)}}.chessimals-challenge-intro{position:absolute;inset:0;z-index:7;display:grid;place-items:center;padding:clamp(.75rem,4vw,1.35rem);background:radial-gradient(circle at 50% 36%,rgba(var(--chessimals-sky-rgb),.24),transparent 34%),linear-gradient(135deg,#140c167a,#08120d57);backdrop-filter:blur(1.5px);animation:chessimals-challenge-intro-in .26s ease-out both}.chessimals-challenge-intro__card{display:grid;justify-items:center;gap:.55rem;width:min(18rem,92%);border:1px solid rgba(var(--chessimals-sky-rgb),.34);border-radius:8px;padding:.85rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.14),transparent),var(--chessimals-elevated-strong);color:var(--chessimals-text);box-shadow:0 1.1rem 2.3rem #0000003d,inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.08);text-align:center}.chessimals-challenge-intro__avatar{display:grid;place-items:center;width:4rem;height:4rem;border-radius:8px;background:radial-gradient(circle at 35% 24%,var(--chessimals-glass-highlight),transparent 30%),rgba(var(--chessimals-sky-rgb),.16);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.16),0 .7rem 1.5rem rgba(var(--chessimals-sky-rgb),.18);font-size:2.15rem}.chessimals-challenge-intro__copy{display:grid;gap:.14rem;min-width:0}.chessimals-challenge-intro__copy small,.chessimals-challenge-intro__facts small{overflow:hidden;color:var(--chessimals-muted);font-size:.64rem;font-weight:950;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-challenge-intro__copy strong{overflow:hidden;color:var(--chessimals-text);font-size:1.35rem;font-weight:1000;line-height:1.04;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-intro__copy p{display:-webkit-box;overflow:hidden;margin:0;color:var(--chessimals-muted);font-size:.88rem;font-weight:820;line-height:1.24;-webkit-box-orient:vertical;-webkit-line-clamp:2}.chessimals-challenge-intro__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;width:100%}.chessimals-challenge-intro__facts span{display:grid;gap:.1rem;min-width:0;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:8px;padding:.38rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-intro__facts b{overflow:hidden;color:var(--chessimals-text);font-size:.86rem;font-weight:1000;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-intro .chessimals-primary{min-height:2.45rem;width:100%}@keyframes chessimals-challenge-intro-in{0%{opacity:0}to{opacity:1}}.chessimals-board-overlay{position:absolute;inset:0;z-index:8;display:grid;place-content:center;gap:.5rem;padding:1.25rem;background:radial-gradient(circle at 50% 34%,rgba(255,226,129,.34),transparent 24%),radial-gradient(circle at 50% 52%,rgba(var(--chessimals-primary-rgb),.34),transparent 42%),linear-gradient(135deg,#140c16e0,#08120dc7);color:#fff;text-align:center;backdrop-filter:blur(2px);overflow:hidden}.chessimals-board-overlay.is-defeat{background:radial-gradient(circle at 50% 34%,rgba(143,168,206,.26),transparent 24%),radial-gradient(circle at 50% 52%,rgba(72,86,115,.42),transparent 42%),linear-gradient(135deg,#090c14e6,#1c1e2bcc)}.chessimals-board-overlay:before{position:absolute;inset:0;background:radial-gradient(circle at 20% 30%,rgba(255,255,255,.58) 0 .08rem,transparent .1rem),radial-gradient(circle at 75% 25%,rgba(255,226,129,.7) 0 .1rem,transparent .12rem),radial-gradient(circle at 68% 72%,rgba(var(--chessimals-capture-rgb),.54) 0 .08rem,transparent .1rem),radial-gradient(circle at 35% 78%,rgba(255,255,255,.48) 0 .07rem,transparent .09rem),radial-gradient(circle at 84% 66%,rgba(255,255,255,.38) 0 .06rem,transparent .08rem),radial-gradient(circle at 14% 64%,rgba(255,226,129,.48) 0 .07rem,transparent .09rem);content:\"\";opacity:.72;animation:chessimals-victory-sparks 1.5s ease-in-out infinite}.chessimals-board-overlay__rays{position:absolute;inset:-18%;background:conic-gradient(from 8deg,transparent 0 7deg,rgba(255,226,129,.16) 7deg 11deg,transparent 11deg 22deg);opacity:.85;animation:chessimals-finale-rays 8s linear infinite}.chessimals-board-overlay.is-defeat .chessimals-board-overlay__rays{background:conic-gradient(from 8deg,transparent 0 8deg,rgba(180,204,240,.1) 8deg 12deg,transparent 12deg 24deg);animation-duration:12s}.chessimals-board-overlay__ribbon{position:absolute;top:-20%;width:.42rem;height:54%;border-radius:999px;background:linear-gradient(to bottom,transparent,rgba(255,226,129,.72),transparent);opacity:.7;transform:rotate(var(--ribbon-angle, 12deg));animation:chessimals-finale-ribbon 2.5s ease-in-out infinite}.chessimals-board-overlay.is-defeat .chessimals-board-overlay__ribbon{background:linear-gradient(to bottom,transparent,rgba(180,204,240,.42),transparent);opacity:.48}.chessimals-board-overlay__ribbon.ribbon-a{left:18%;--ribbon-angle: -18deg}.chessimals-board-overlay__ribbon.ribbon-b{left:50%;--ribbon-angle: 8deg;animation-delay:.32s}.chessimals-board-overlay__ribbon.ribbon-c{right:18%;--ribbon-angle: 20deg;animation-delay:.64s}.chessimals-board-overlay>*{position:relative;z-index:1}.chessimals-board-overlay span{justify-self:center;border-radius:999px;padding:.32rem .7rem;background:#ffffff26;color:#ffffffe6;font-size:.76rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-board-overlay strong{font-size:clamp(1.65rem,8vw,3rem);line-height:1;font-weight:950;text-shadow:0 0 1.25rem rgba(255,255,255,.26)}.chessimals-board-overlay em{justify-self:center;display:grid;place-items:center;width:clamp(3rem,14vw,4.6rem);height:clamp(3rem,14vw,4.6rem);border:.16rem solid rgba(255,255,255,.62);border-radius:50%;background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.72),transparent 18%),linear-gradient(135deg,#ffe281,#b98436);color:#2d2412;font-size:clamp(1.1rem,5vw,1.65rem);font-style:normal;font-weight:950;box-shadow:0 0 0 .45rem #ffe2811f,0 1rem 2rem #00000042;animation:chessimals-finale-medal 1.8s ease-in-out infinite}.chessimals-board-overlay.is-defeat em{background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.48),transparent 18%),linear-gradient(135deg,#d9e2ef,#69758e);color:#182032;box-shadow:0 0 0 .45rem #b4ccf01a,0 1rem 2rem #00000052}.chessimals-board-overlay em.has-avatar{overflow:hidden;background:#fff;padding:0}.chessimals-board-overlay em.has-avatar img{display:block;width:100%;height:100%;object-fit:cover}.chessimals-board-overlay b{justify-self:center;color:#fffc;font-size:.8rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-board-overlay small{color:#ffffffd1;font-size:clamp(.9rem,3vw,1.1rem);font-weight:800}.chessimals-board-overlay__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem;width:min(26rem,92%);margin:.2rem auto 0}.chessimals-board-overlay__stats div{display:grid;gap:.08rem;min-width:0;border:1px solid rgba(255,255,255,.18);border-radius:.75rem;padding:.42rem .46rem;background:#ffffff1a;backdrop-filter:blur(3px)}.chessimals-board-overlay__stats dt,.chessimals-board-overlay__stats dd{overflow:hidden;margin:0;text-overflow:ellipsis;white-space:nowrap}.chessimals-board-overlay__stats dt{color:#ffffffad;font-size:clamp(.52rem,2.1vw,.66rem);font-weight:950;letter-spacing:.04em;text-transform:uppercase}.chessimals-board-overlay__stats dd{color:#fff;font-size:clamp(.68rem,2.8vw,.88rem);font-weight:950}@keyframes chessimals-victory-sparks{0%,to{opacity:.46;transform:translateY(0) scale(.98)}50%{opacity:.95;transform:translateY(-.35rem) scale(1.02)}}@keyframes chessimals-finale-rays{to{transform:rotate(360deg)}}@keyframes chessimals-finale-ribbon{0%,to{opacity:.18;transform:translateY(-.5rem) rotate(var(--ribbon-angle))}50%{opacity:.75;transform:translateY(1.4rem) rotate(var(--ribbon-angle))}}@keyframes chessimals-finale-medal{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-.18rem) scale(1.04)}}.chessimals-cell{position:relative;isolation:isolate;--chessimals-cell-bg: var(--chessimals-cell-light);display:grid;place-items:center;min-width:0;min-height:0;aspect-ratio:1;border:0;background:radial-gradient(ellipse at 26% 24%,rgba(255,255,255,.12),transparent 24%),radial-gradient(ellipse at 78% 76%,rgba(61,54,36,.06),transparent 28%),linear-gradient(135deg,rgba(255,255,255,.04),transparent 52%,rgba(52,44,28,.04)),var(--chessimals-cell-bg);color:var(--chessimals-text);font:inherit;overflow:hidden;transition:background .16s ease,box-shadow .16s ease,transform .16s ease}.chessimals-cell:before,.chessimals-cell:after{pointer-events:none}.chessimals-cell-texture{position:absolute;inset:0;z-index:0;display:block;pointer-events:none;opacity:.42;mix-blend-mode:multiply;background:radial-gradient(ellipse at var(--wear-x, 28%) var(--wear-y, 32%),rgba(255,255,255,.16),transparent 17%),radial-gradient(ellipse at var(--wear-x2, 74%) var(--wear-y2, 68%),rgba(75,66,42,.09),transparent 25%),repeating-linear-gradient(var(--wear-angle, 26deg),rgba(75,66,42,.045) 0 1px,transparent 1px .52rem),linear-gradient(135deg,rgba(255,255,255,.06),transparent 42%,rgba(52,44,28,.045))}.chessimals-cell-texture:after{position:absolute;inset:.08rem;border:1px solid rgba(75,66,42,.05);border-radius:.18rem;box-shadow:inset .08rem .08rem #ffffff14,inset -.08rem -.08rem #342c1c0b;content:\"\"}.chessimals-cell.is-edge-cell .chessimals-cell-texture{opacity:.56;background:radial-gradient(ellipse at var(--wear-x, 28%) var(--wear-y, 32%),rgba(255,255,255,.14),transparent 18%),radial-gradient(ellipse at var(--wear-x2, 74%) var(--wear-y2, 68%),rgba(75,66,42,.14),transparent 28%),linear-gradient(135deg,rgba(70,52,28,.055),transparent 44%,rgba(52,44,28,.09)),repeating-linear-gradient(var(--wear-angle, 26deg),rgba(75,66,42,.055) 0 1px,transparent 1px .48rem)}.chessimals-cell.wear-0{--wear-x: 22%;--wear-y: 24%;--wear-x2: 78%;--wear-y2: 72%;--wear-angle: 18deg}.chessimals-cell.wear-1{--wear-x: 64%;--wear-y: 18%;--wear-x2: 30%;--wear-y2: 76%;--wear-angle: -24deg}.chessimals-cell.wear-2{--wear-x: 42%;--wear-y: 58%;--wear-x2: 82%;--wear-y2: 26%;--wear-angle: 42deg}.chessimals-cell.wear-3{--wear-x: 74%;--wear-y: 68%;--wear-x2: 24%;--wear-y2: 28%;--wear-angle: -12deg}.chessimals-cell.wear-4{--wear-x: 34%;--wear-y: 18%;--wear-x2: 62%;--wear-y2: 84%;--wear-angle: 64deg}.chessimals-cell.wear-5{--wear-x: 18%;--wear-y: 70%;--wear-x2: 70%;--wear-y2: 34%;--wear-angle: -48deg}:host-context(html.ion-palette-dark) .chessimals-cell-texture,:host-context([data-theme=\"dark\"]) .chessimals-cell-texture{opacity:.34;mix-blend-mode:soft-light}.chessimals-cell.is-dark-cell{--chessimals-cell-bg: var(--chessimals-cell-dark)}.chessimals-cell.is-selected{z-index:1;background:radial-gradient(circle,rgba(var(--chessimals-selected-rgb),.28) 0 36%,transparent 62%),linear-gradient(135deg,rgba(var(--chessimals-selected-rgb),.22),#ffffff14),var(--chessimals-cell-bg);box-shadow:inset 0 0 0 .18rem var(--chessimals-selected),inset 0 0 .55rem #ffffffb8,inset 0 0 1.8rem rgba(var(--chessimals-selected-rgb),.42),0 0 .55rem rgba(var(--chessimals-selected-rgb),.56),0 0 1.55rem rgba(var(--chessimals-selected-rgb),.36)}.chessimals-board.is-power-aiming .chessimals-cell.is-selected{background:radial-gradient(circle at 50% 52%,rgba(var(--chessimals-magic-rgb),.38) 0 34%,transparent 64%),radial-gradient(circle at 32% 24%,rgba(255,255,255,.34),transparent 28%),linear-gradient(135deg,rgba(var(--chessimals-magic-rgb),.2),#ffffff14),var(--chessimals-cell-bg);box-shadow:inset 0 0 0 .18rem var(--chessimals-magic-hot),inset 0 0 .8rem #ffffffa8,inset 0 0 1.9rem rgba(var(--chessimals-magic-rgb),.5),0 0 .7rem rgba(var(--chessimals-magic-rgb),.62),0 0 1.75rem rgba(var(--chessimals-magic-rgb),.42)}.chessimals-board.is-power-aiming .chessimals-cell.is-legal:not(.is-capture):after{border-color:rgba(var(--chessimals-magic-rgb),.94);box-shadow:0 0 .72rem rgba(var(--chessimals-magic-rgb),.48),inset 0 0 .6rem #fff3}.chessimals-board.is-power-aiming .chessimals-target{background:var(--chessimals-magic-hot);box-shadow:0 0 0 .2rem rgba(var(--chessimals-magic-rgb),.2),0 0 .95rem rgba(var(--chessimals-magic-rgb),.62)}.chessimals-cell.is-legal:not(.is-capture):after{position:absolute;inset:13%;z-index:2;border:max(2px,1.8%) solid var(--chessimals-move);border-radius:.55rem;content:\"\";opacity:.74;pointer-events:none}.chessimals-cell.is-last:not(.is-selected):not(.is-legal):not(.is-capture){background:radial-gradient(circle,rgba(var(--chessimals-last-rgb),.16) 0 42%,transparent 68%),var(--chessimals-cell-bg)}.chessimals-cell.is-capture{z-index:2;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.24),transparent 34%),linear-gradient(135deg,rgba(var(--chessimals-capture-rgb),.14),#ffffff14),var(--chessimals-cell-bg);box-shadow:inset 0 0 0 .14rem rgba(var(--chessimals-capture-rgb),.84),inset 0 0 1.4rem rgba(var(--chessimals-capture-rgb),.24),0 0 .95rem rgba(var(--chessimals-capture-rgb),.34);animation:chessimals-capture-aura 1.35s ease-in-out infinite}.chessimals-cell.is-capture:before{position:absolute;inset:4%;z-index:1;display:block;border-radius:.64rem;background:linear-gradient(90deg,transparent,rgba(255,255,255,.52),transparent),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.24),transparent 58%);content:\"\";opacity:0;transform:translate(-42%) scale(.9);animation:chessimals-capture-sweep 1.35s ease-in-out infinite}.chessimals-cell.is-capture:after{position:absolute;inset:8%;z-index:3;border:max(2px,1.55%) solid rgba(var(--chessimals-capture-rgb),.9);border-radius:.62rem;box-shadow:0 0 .75rem rgba(var(--chessimals-capture-rgb),.5),inset 0 0 .72rem #ffffff38;content:\"\";pointer-events:none;animation:chessimals-capture-frame 1.35s ease-in-out infinite}.chessimals-cell.has-capture-ready:not(.is-selected):after{position:absolute;inset:16%;z-index:3;border:max(2px,1.45%) solid rgba(var(--chessimals-selected-rgb),.72);border-radius:999px;box-shadow:0 0 .65rem rgba(var(--chessimals-selected-rgb),.34),inset 0 0 .55rem #ffffff2e;content:\"\"}.chessimals-cell.is-winning.is-legal:not(.is-capture):after{border-color:rgba(var(--chessimals-warning-rgb),.92);border-radius:999px;box-shadow:0 0 .75rem rgba(var(--chessimals-warning-rgb),.48),inset 0 0 .58rem #ffffff38}.chessimals-cell.is-winning .chessimals-target{background:var(--chessimals-warning);box-shadow:0 0 0 .22rem rgba(var(--chessimals-warning-rgb),.2),0 0 .95rem rgba(var(--chessimals-warning-rgb),.56)}.chessimals-cell.has-threat:not(.is-selected):not(.is-capture){background:radial-gradient(circle at 50% 52%,rgba(var(--chessimals-warning-rgb),.16),transparent 52%),var(--chessimals-cell-bg)}.chessimals-cell.has-threat:not(.is-selected):not(.is-capture) .chessimals-piece{filter:drop-shadow(0 0 .38rem rgba(var(--chessimals-warning-rgb),.52)) var(--chessimals-piece-white-shadow)}.chessimals-cell.has-threat:not(.is-selected):not(.is-capture) .chessimals-piece.is-black{filter:drop-shadow(0 0 .38rem rgba(var(--chessimals-warning-rgb),.52)) var(--chessimals-piece-black-shadow)}.chessimals-cell.has-threat:not(.is-selected):not(.is-capture):before{position:absolute;top:.26rem;right:.26rem;z-index:4;width:.48rem;height:.48rem;border-radius:999px;background:rgba(var(--chessimals-warning-rgb),.96);box-shadow:0 0 0 .18rem rgba(var(--chessimals-warning-rgb),.22);content:\"\"}@keyframes chessimals-capture-aura{0%,to{filter:saturate(1);box-shadow:inset 0 0 0 .12rem rgba(var(--chessimals-capture-rgb),.78),inset 0 0 1rem rgba(var(--chessimals-capture-rgb),.2),0 0 .64rem rgba(var(--chessimals-capture-rgb),.32)}50%{filter:saturate(1.22);box-shadow:inset 0 0 0 .16rem rgba(var(--chessimals-capture-rgb),.96),inset 0 0 1.34rem rgba(var(--chessimals-capture-rgb),.34),0 0 1.2rem rgba(var(--chessimals-capture-rgb),.48)}}@keyframes chessimals-capture-sweep{0%{opacity:0;transform:translate(-52%) scale(.88)}42%{opacity:.66;transform:translate(0) scale(1)}to{opacity:0;transform:translate(48%) scale(.92)}}@keyframes chessimals-capture-frame{0%,to{opacity:.68;transform:scale(.96)}50%{opacity:1;transform:scale(1)}}.chessimals-cell.has-source-effect:not(.is-moving-source){background:radial-gradient(circle,rgba(var(--chessimals-selected-rgb),.12) 0 34%,transparent 64%),var(--chessimals-cell-bg)}.chessimals-cell.has-move-effect{z-index:2;background:radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.22) 0 34%,transparent 68%),var(--chessimals-cell-bg);box-shadow:inset 0 0 0 .16rem rgba(var(--chessimals-capture-rgb),.86),inset 0 0 1.2rem rgba(var(--chessimals-capture-rgb),.26),0 0 1.1rem rgba(var(--chessimals-capture-rgb),.42)}.chessimals-cell.has-move-effect:before{position:absolute;inset:.12rem;z-index:1;display:block;border-radius:.7rem;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.48),transparent 22%),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.42),transparent 58%);content:\"\";opacity:0;transform:scale(.72);animation:chessimals-power-impact .7s ease-out both}.chessimals-cell.has-move-effect:after{position:absolute;inset:.28rem;z-index:4;display:block;border:.14rem solid rgba(255,255,255,.72);border-radius:.58rem;box-shadow:0 0 .5rem #ffffff5c,0 0 1rem rgba(var(--chessimals-capture-rgb),.32);content:\"\";animation:chessimals-power-frame .86s ease-out both}.chessimals-cell.has-capture-effect{animation:chessimals-capture-hit .78s ease-out both}.chessimals-cell.effect-eagle:before{background:linear-gradient(135deg,transparent 10%,rgba(255,255,255,.78) 48%,transparent 52%),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.36),transparent 62%)}.chessimals-cell.effect-bull:before{background:repeating-linear-gradient(90deg,rgba(255,255,255,.34) 0 .16rem,transparent .16rem .34rem),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.38),transparent 62%)}.chessimals-cell.effect-kangaroo:before{border-radius:999px;background:radial-gradient(circle at 42% 44%,rgba(255,255,255,.58),transparent 18%),radial-gradient(circle at 58% 56%,rgba(var(--chessimals-capture-rgb),.4),transparent 64%)}.chessimals-cell.effect-lion:before{background:conic-gradient(from 0deg,transparent,rgba(255,255,255,.56),transparent,rgba(var(--chessimals-capture-rgb),.4),transparent),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.34),transparent 62%)}@keyframes chessimals-power-impact{0%{opacity:0;transform:scale(.54) rotate(0)}28%{opacity:1;transform:scale(.96) rotate(2deg)}to{opacity:0;transform:scale(1.3) rotate(8deg)}}@keyframes chessimals-power-frame{0%{opacity:0;transform:scale(.84)}34%{opacity:1;transform:scale(1.02)}to{opacity:0;transform:scale(1.16)}}@keyframes chessimals-capture-hit{0%,to{filter:saturate(1)}35%{filter:saturate(1.35) brightness(1.08)}}.chessimals-cell.is-moving-source .chessimals-piece{opacity:0}.chessimals-piece{position:relative;z-index:2;display:block;width:68%;height:74%;color:var(--chessimals-primary);--chessimals-piece-fill: var(--chessimals-piece-white-fill);--chessimals-piece-side: var(--chessimals-piece-white-side);--chessimals-piece-line: var(--chessimals-piece-white-line);--chessimals-piece-outline: rgba(82, 65, 46, .34);filter:var(--chessimals-piece-white-shadow)}.chessimals-piece.is-black{color:#fff;--chessimals-piece-fill: var(--chessimals-piece-black-fill);--chessimals-piece-side: var(--chessimals-piece-black-side);--chessimals-piece-line: var(--chessimals-piece-black-line);--chessimals-piece-outline: rgba(255, 255, 255, .22);filter:var(--chessimals-piece-black-shadow)}.chessimals-moving-piece{position:absolute;top:0;left:0;z-index:6;width:calc(100% / var(--board-size));height:calc(100% / var(--board-size));display:grid;place-items:center;pointer-events:none;transform:translate(calc(var(--from-col) * 100%),calc(var(--from-row) * 100%));animation:chessimals-piece-travel .36s cubic-bezier(.2,.82,.24,1) both}@keyframes chessimals-piece-travel{0%{transform:translate(calc(var(--from-col) * 100%),calc(var(--from-row) * 100%)) scale(1)}68%{transform:translate(calc(var(--to-col) * 100%),calc(var(--to-row) * 100%)) scale(1.07)}to{transform:translate(calc(var(--to-col) * 100%),calc(var(--to-row) * 100%)) scale(1)}}.chessimals-piece__side,.chessimals-piece__head,.chessimals-piece__collar,.chessimals-piece__neck,.chessimals-piece__base{position:absolute;display:block;left:50%;background:var(--chessimals-piece-fill);border:max(1px,1.25%) solid var(--chessimals-piece-outline);transform:translate(-50%)}.chessimals-piece__side{top:46%;z-index:0;width:58%;height:41%;border-radius:34% 34% 12% 12%;background:linear-gradient(96deg,var(--chessimals-piece-side) 0 34%,transparent 35%),var(--chessimals-piece-fill);clip-path:polygon(22% 0,78% 0,96% 100%,4% 100%);opacity:.92}.chessimals-piece__head{top:1%;z-index:4;width:48%;height:40%;border-radius:999px;background:radial-gradient(circle at 30% 22%,rgba(255,255,255,.72) 0 13%,transparent 14%),linear-gradient(135deg,rgba(255,255,255,.28) 0 34%,transparent 35%),var(--chessimals-piece-fill);box-shadow:inset -.18rem -.12rem #52412e0f,inset 0 -1px 0 var(--chessimals-piece-line)}.chessimals-piece.is-black .chessimals-piece__head{box-shadow:inset .18rem -.12rem #ffffff0f,inset 0 -1px 0 var(--chessimals-piece-line)}.chessimals-piece__collar{top:37%;z-index:5;width:72%;height:15%;border-radius:999px;background:linear-gradient(180deg,#f5cd77 0%,var(--chessimals-piece-gold) 55%,var(--chessimals-piece-gold-dark) 100%);border-color:color-mix(in srgb,var(--chessimals-piece-gold-dark) 72%,transparent);box-shadow:inset 0 .12rem #ffffff47,inset 0 -.08rem #462e1238,0 .08rem .18rem #462e1224}.chessimals-piece__neck{top:50%;z-index:2;width:52%;height:31%;clip-path:polygon(16% 0,84% 0,100% 100%,0 100%);background:linear-gradient(100deg,var(--chessimals-piece-side) 0 28%,transparent 29%),linear-gradient(180deg,var(--chessimals-piece-fill),color-mix(in srgb,var(--chessimals-piece-fill) 78%,var(--chessimals-piece-side)));box-shadow:inset -.12rem .1rem #ffffff14}.chessimals-piece__base{bottom:0;z-index:6;width:86%;height:17%;border-radius:.42rem .42rem .22rem .22rem;background:linear-gradient(100deg,var(--chessimals-piece-side) 0 18%,transparent 19%),linear-gradient(180deg,color-mix(in srgb,var(--chessimals-piece-fill) 92%,#ffffff),var(--chessimals-piece-fill));box-shadow:inset 0 .12rem #ffffff24,inset 0 -.1rem 0 var(--chessimals-piece-line)}.chessimals-target{width:16%;height:16%;border-radius:999px;background:var(--chessimals-move);opacity:.9;box-shadow:0 0 .9rem rgba(var(--chessimals-move-rgb),.42)}.chessimals-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.625rem}.chessimals-cards button{position:relative;isolation:isolate;display:grid;grid-template-rows:minmax(5.4rem,1fr) auto;gap:.5rem;place-items:stretch;min-height:8.15rem;padding:.55rem .55rem .7rem;border:.12rem solid rgba(var(--chessimals-magic-rgb),.54);border-radius:1.125rem;background:radial-gradient(circle at 50% 18%,rgba(255,255,255,.9),transparent 36%),linear-gradient(180deg,rgba(var(--chessimals-magic-rgb),.24),rgba(var(--chessimals-magic-deep),.08) 58%,transparent),var(--chessimals-panel);color:var(--chessimals-text);font:inherit;box-shadow:inset 0 0 0 .14rem #ffffff75,0 .55rem 1.2rem rgba(var(--chessimals-magic-rgb),.14);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.chessimals-powers__heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.chessimals-powers p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.chessimals-powers__heading span{flex:0 0 auto;border-radius:999px;padding:.28rem .62rem;background:rgba(var(--chessimals-primary-rgb),.12);color:var(--chessimals-primary);font-size:.78rem;font-weight:950}.chessimals-cards button.is-selected{border-color:var(--chessimals-magic-hot);background:radial-gradient(circle at 50% 16%,rgba(255,255,255,.42),transparent 30%),radial-gradient(circle at 50% 76%,rgba(var(--chessimals-magic-rgb),.2),transparent 56%),linear-gradient(135deg,rgba(var(--chessimals-magic-rgb),.2),#ffffff0a),var(--chessimals-panel);box-shadow:0 0 0 2px rgba(var(--chessimals-magic-rgb),.28),0 0 1.35rem rgba(var(--chessimals-magic-rgb),.48),0 .9rem 2rem rgba(var(--chessimals-magic-rgb),.18);transform:translateY(-1px)}.chessimals-cards button.is-selected:before,.chessimals-cards button.is-selected:after{position:absolute;inset:-.5rem;z-index:0;border-radius:inherit;content:\"\";pointer-events:none}.chessimals-cards button>*{position:relative;z-index:1}.chessimals-cards button.is-selected:before{background:radial-gradient(circle at 18% 24%,rgba(var(--chessimals-magic-rgb),.88) 0 .08rem,transparent .1rem),radial-gradient(circle at 78% 20%,rgba(255,255,255,.86) 0 .07rem,transparent .09rem),radial-gradient(circle at 86% 62%,rgba(var(--chessimals-magic-rgb),.72) 0 .06rem,transparent .08rem),radial-gradient(circle at 28% 78%,rgba(255,245,111,.78) 0 .07rem,transparent .09rem),radial-gradient(circle at 54% 8%,rgba(255,255,255,.68) 0 .05rem,transparent .07rem);opacity:.8;animation:chessimalsMagicParticles 1.8s ease-in-out infinite}.chessimals-cards button.is-selected:after{background:conic-gradient(from 12deg,transparent 0 16deg,rgba(var(--chessimals-magic-rgb),.2) 16deg 22deg,transparent 22deg 44deg);opacity:.68;filter:blur(.04rem);animation:chessimalsMagicAura 3.2s linear infinite}.chessimals-cards button.is-used{opacity:.42}.chessimals-animal-face{display:grid;place-items:center;width:100%;min-height:5.4rem;overflow:hidden;border:.12rem solid rgba(var(--chessimals-magic-deep),.62);border-radius:.9rem;background:radial-gradient(circle at 50% 34%,rgba(255,255,255,.96),transparent 44%),linear-gradient(135deg,rgba(var(--chessimals-magic-rgb),.38),rgba(var(--chessimals-magic-deep),.14)),var(--chessimals-animal-face-bg);color:color-mix(in srgb,var(--chessimals-text) 92%,#000);box-shadow:inset 0 0 0 .12rem #ffffff7a,inset 0 -.18rem .45rem rgba(var(--chessimals-magic-deep),.14)}.chessimals-animal-face img{display:block;width:min(5.45rem,88%);height:min(5.45rem,88%);pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;object-fit:contain;transform:none;filter:var(--chessimals-animal-face-filter)}.chessimals-bot-avatar,.chessimals-challenge-intro__avatar{display:grid;overflow:hidden;place-items:center}.chessimals-bot-avatar img,.chessimals-challenge-intro__avatar img{display:block;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;object-fit:contain}.chessimals-cards button.is-selected .chessimals-animal-face,.chessimals-powers.is-ready .chessimals-cards button:not(.is-used) .chessimals-animal-face{color:color-mix(in srgb,var(--chessimals-text) 94%,#000)}.chessimals-powers.is-locked .chessimals-animal-face{filter:var(--chessimals-animal-face-locked-filter);opacity:.86}.chessimals-powers.is-locked .chessimals-animal-face img,.chessimals-cards button.is-used .chessimals-animal-face img{opacity:var(--chessimals-animal-face-locked-img-opacity)}.chessimals-power-uses{position:absolute;top:.5rem;right:.5rem;z-index:2;display:inline-grid;place-items:center;min-width:1.72rem;height:1.35rem;border-radius:999px;padding:0 .38rem;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);font-size:.72rem;font-weight:1000;line-height:1;box-shadow:0 .35rem .9rem rgba(var(--chessimals-primary-rgb),.22)}.chessimals-cards strong{overflow:hidden;max-width:100%;align-self:center;font-size:clamp(.9rem,2.3vw,1.08rem);font-weight:950;line-height:1.05;text-align:center;text-overflow:ellipsis;white-space:nowrap}.chessimals-powers.is-locked .chessimals-cards{opacity:.68}.chessimals-powers.is-ready{border-color:rgba(var(--chessimals-magic-rgb),.46);box-shadow:0 0 0 1px rgba(var(--chessimals-magic-rgb),.12),0 1rem 2.4rem rgba(var(--chessimals-magic-rgb),.12)}.chessimals-powers.is-ready .chessimals-cards button:not(.is-used){animation:chessimalsPowerPulse 1.8s ease-in-out infinite}.chessimals-powers.is-unlock-pulse{animation:chessimalsPowersUnlocked 1.18s ease-out both}.chessimals-powers.is-unlock-pulse .chessimals-cards button:not(.is-used){animation:chessimalsPowerIgnite .76s ease-out both,chessimalsPowerPulse 1.8s ease-in-out .76s infinite}@keyframes chessimalsPowerPulse{0%,to{box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0)}50%{box-shadow:0 0 1.4rem rgba(var(--chessimals-magic-rgb),.24)}}@keyframes chessimalsPowersUnlocked{0%{box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0),0 1rem 2.4rem rgba(var(--chessimals-magic-rgb),.12)}34%{box-shadow:0 0 0 .18rem rgba(var(--chessimals-magic-rgb),.28),0 0 2.2rem rgba(var(--chessimals-magic-rgb),.38),0 1rem 2.4rem rgba(var(--chessimals-magic-rgb),.16)}to{box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0),0 1rem 2.4rem rgba(var(--chessimals-magic-rgb),.12)}}@keyframes chessimalsPowerIgnite{0%{transform:translateY(0) scale(.96);box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0)}42%{transform:translateY(-.08rem) scale(1.025);box-shadow:0 0 0 .14rem rgba(var(--chessimals-magic-rgb),.24),0 0 1.5rem rgba(var(--chessimals-magic-rgb),.46)}to{transform:translateY(0) scale(1);box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0)}}@keyframes chessimalsMagicParticles{0%,to{opacity:.54;transform:translateY(0) scale(.94)}50%{opacity:1;transform:translateY(-.18rem) scale(1.02)}}@keyframes chessimalsMagicAura{to{transform:rotate(1turn)}}.chessimals-actions{order:6;align-self:stretch;justify-self:stretch;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:.625rem;margin-top:1rem}.chessimals-shell--projection .chessimals-game{max-width:min(96vw,90rem)}.chessimals-shell--projection .chessimals-turn-card{padding:.875rem 1rem}.chessimals-shell--projection .chessimals-status,.chessimals-shell--projection .chessimals-actions,.chessimals-shell--projection .chessimals-online,.chessimals-shell--projection .chessimals-replay,.chessimals-shell--projection .chessimals-rematch-status{display:none}.chessimals-shell--projection .chessimals-arena{grid-template-columns:minmax(0,1fr);justify-items:center}.chessimals-shell--projection .chessimals-board-wrap{--chessimals-board-radius: min(.625rem, 10px);width:min(96vw,82vh,58rem);max-width:none}.chessimals-shell--projection .chessimals-board-frame{flex-basis:auto;max-width:none}@media (min-width: 760px){.chessimals-game{gap:1rem}.chessimals-turn-card,.chessimals-status,.chessimals-arena,.chessimals-replay,.chessimals-result,.chessimals-actions{grid-column:1 / -1}.chessimals-arena{grid-template-columns:minmax(0,1fr);justify-items:center;align-items:start;gap:.85rem}.chessimals-shell:not(.chessimals-shell--projection) .chessimals-board-frame{flex-basis:min(100%,clamp(28rem,calc(100vh - 22rem),50rem));width:min(100%,clamp(28rem,calc(100vh - 22rem),50rem));max-width:min(50rem,clamp(28rem,calc(100vh - 22rem),50rem))}.chessimals-powers{width:min(100%,clamp(28rem,calc(100vh - 22rem),50rem));align-content:center;grid-template-columns:minmax(11rem,.68fr) minmax(0,1fr);align-items:center;gap:.8rem;padding:.78rem}.chessimals-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.chessimals-cards button{grid-template-rows:minmax(3.85rem,1fr) auto;min-height:5.85rem}.chessimals-animal-face{min-height:3.85rem}.chessimals-animal-face img{width:min(3.85rem,88%);height:min(3.85rem,88%)}.chessimals-powers p{-webkit-line-clamp:3}}.chessimals-rules{display:grid;gap:1.05rem;padding-top:.25rem}.chessimals-settings{display:grid;gap:.85rem;color:var(--chessimals-modal-text, var(--chessimals-text))}.chessimals-settings article{display:grid;gap:.65rem;padding:1rem;border:1px solid var(--chessimals-modal-border, rgba(var(--chessimals-primary-rgb), .2));border-radius:1.1rem;background:radial-gradient(circle at 14% 8%,color-mix(in srgb,var(--chessimals-modal-card, #ffffff) 82%,transparent),transparent 28%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),rgba(var(--chessimals-sky-rgb),.06)),var(--chessimals-modal-card-strong, var(--chessimals-elevated-strong));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--chessimals-modal-surface, #ffffff) 48%,transparent)}:host ::ng-deep ion-modal.chessimals-settings-modal val-modal-shell ion-toolbar{--background: var(--chessimals-modal-surface);--color: var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-settings-modal val-modal-shell ion-content{--background: var(--chessimals-modal-surface);color:var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-settings-modal val-modal-shell ion-button{--color: var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-settings-modal .chessimals-settings val-toggle-input ion-toggle{--track-background: rgba(var(--chessimals-primary-rgb), .14);--track-background-checked: var(--chessimals-primary);--handle-background: var(--chessimals-modal-card);--handle-background-checked: var(--chessimals-primary-contrast);color:var(--chessimals-modal-text);font-weight:900}:host ::ng-deep ion-modal.chessimals-settings-modal .chessimals-settings val-range-input ion-label{color:var(--chessimals-modal-text);font-weight:900}:host ::ng-deep ion-modal.chessimals-settings-modal .chessimals-settings val-range-input ion-range{--bar-background: rgba(var(--chessimals-primary-rgb), .14);--bar-background-active: var(--chessimals-primary);--bar-height: .32rem;--bar-border-radius: 999px;--knob-background: var(--chessimals-primary-contrast);--knob-size: 1.28rem;--pin-background: var(--chessimals-primary);--pin-color: var(--chessimals-primary-contrast);color:var(--chessimals-modal-text)}.chessimals-about{display:grid;justify-items:center;gap:1rem;color:var(--ion-text-color, var(--chessimals-text))}.chessimals-about__logo{display:block;width:min(25rem,88%);height:auto;object-fit:contain;object-position:center;filter:drop-shadow(0 .5rem .7rem rgba(46,58,44,.14))}.chessimals-about__thanks{color:var(--ion-text-color, var(--chessimals-text));font-size:1.08rem;font-weight:950;line-height:1.2;text-align:center}.chessimals-about__feedback{max-width:30rem}.chessimals-about p{margin:0;color:var(--ion-color-medium, var(--chessimals-muted));font-size:.95rem;font-weight:750;line-height:1.45;text-align:center}.chessimals-about dl{display:grid;width:100%;margin:0;gap:.65rem}.chessimals-about dl div{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem .95rem;border:1px solid rgba(var(--chessimals-primary-rgb),.16);border-radius:1rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),transparent),var(--ion-card-background, #fff)}.chessimals-about dt,.chessimals-about dd{margin:0}.chessimals-about dt{color:var(--ion-color-medium, var(--chessimals-muted));font-size:.78rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-about dd{color:var(--ion-text-color, var(--chessimals-text));font-size:.95rem;font-weight:950}.chessimals-rules__hero{display:block;width:100%;height:auto;object-fit:contain;border-radius:1.25rem;background:transparent;box-shadow:0 .85rem 1.8rem #2e3a2c1f}.chessimals-rules__powers,.chessimals-rules__note,.chessimals-rules__steps article{display:grid;align-items:start;gap:.75rem;border:1px solid var(--chessimals-modal-border, rgba(var(--chessimals-primary-rgb), .16));border-radius:1.25rem;background:var(--chessimals-modal-card, #ffffff);color:var(--chessimals-modal-text, var(--ion-text-color, #2f2a3a))}.chessimals-rules__section-title span{justify-self:start;border-radius:999px;padding:.24rem .55rem;background:rgba(var(--chessimals-primary-rgb),.12);color:var(--chessimals-primary);font-size:.72rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-rules__section-title{display:grid;gap:.35rem;padding-inline:0}.chessimals-rules__section-title strong{color:var(--chessimals-text);font-size:1rem;font-weight:950;line-height:1.25}.chessimals-rules__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.chessimals-rules__steps article{align-content:start;padding:.9rem}.chessimals-rules__steps article>img,.chessimals-rules__powers>img,.chessimals-rules__note>img{display:block;width:4.75rem;height:4.75rem;border-radius:1.15rem;object-fit:cover;box-shadow:0 0 0 .1rem rgba(var(--chessimals-sun-rgb),.68),0 .7rem 1.25rem #2e3a2c29}.chessimals-rules__powers,.chessimals-rules__note{grid-template-columns:auto minmax(0,1fr);padding:.95rem}.chessimals-rules__power-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin-top:.35rem}.chessimals-rules__power-list span{display:grid;justify-items:center;align-content:center;gap:.32rem;min-width:0;min-height:8.1rem;border:1px solid var(--chessimals-modal-border, rgba(var(--chessimals-primary-rgb), .16));border-radius:1rem;padding:.8rem .52rem;background:radial-gradient(circle at 50% 0,color-mix(in srgb,var(--chessimals-modal-card, #ffffff) 78%,transparent),transparent 52%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),rgba(var(--chessimals-sun-rgb),.18)),var(--chessimals-modal-card-strong, #fff8df);color:var(--chessimals-modal-text, var(--chessimals-text));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--chessimals-modal-surface, #ffffff) 64%,transparent),0 .55rem 1.15rem var(--chessimals-modal-shadow, rgba(46, 58, 44, .12));font-size:.78rem;font-weight:950;line-height:1.05;text-align:center}.chessimals-rules__power-list strong,.chessimals-rules__power-list small{min-width:0}.chessimals-rules__power-list strong{font-size:.86rem;font-weight:950;line-height:1.08}.chessimals-rules__power-list small{color:var(--chessimals-muted);font-size:.69rem;font-weight:820;line-height:1.15}.chessimals-rules__power-list img{display:block;width:3.25rem;height:3.25rem;object-fit:contain;filter:drop-shadow(0 .25rem .35rem rgba(46,58,44,.16))}.chessimals-rules__note{border-color:rgba(var(--chessimals-sun-rgb),.34);background:linear-gradient(135deg,rgba(var(--chessimals-sun-rgb),.1),rgba(var(--chessimals-primary-rgb),.04)),var(--chessimals-modal-card, #ffffff)}.chessimals-rules article>span{display:grid;place-items:center;width:2rem;height:2rem;border-radius:999px;background:rgba(var(--chessimals-primary-rgb),.12);color:var(--chessimals-primary);font-weight:950}.chessimals-rules article>div{display:grid;min-width:0;gap:.35rem}.chessimals-rules h3,.chessimals-rules p,.chessimals-rules ul{margin:0}.chessimals-rules h3{color:var(--chessimals-text);font-size:1rem;font-weight:950;line-height:1.2}.chessimals-rules p,.chessimals-rules li{color:var(--chessimals-modal-muted, var(--ion-color-medium, #6f6a7a));font-size:.88rem;font-weight:760;line-height:1.5}.chessimals-rules ul{display:grid;gap:.45rem;padding-left:1.15rem}.chessimals-primary,.chessimals-secondary{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:3.625rem;border-radius:999px;font:inherit;font-weight:950}.chessimals-primary{border:0;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);box-shadow:0 1.125rem 2.8rem rgba(var(--chessimals-primary-rgb),.28)}.chessimals-secondary{border:1px solid var(--chessimals-border);background:transparent;color:var(--chessimals-text)}.chessimals-primary.is-working,.chessimals-secondary.is-working{cursor:wait;opacity:.82}.chessimals-button-spinner{width:1rem;height:1rem;flex:0 0 auto;border:.14rem solid currentColor;border-right-color:transparent;border-radius:999px;animation:chessimals-spin .72s linear infinite}@media (max-width: 560px){.chessimals-home-actions{grid-template-columns:1fr}.chessimals-home-action{min-height:0}.chessimals-rules__steps,.chessimals-rules__powers,.chessimals-rules__note{grid-template-columns:1fr}.chessimals-rules__power-list{grid-template-columns:repeat(2,minmax(0,1fr))}.chessimals-size,.chessimals-mode,.chessimals-actions,.chessimals-play-options .chessimals-nightmare,.chessimals-challenge-cta,.chessimals-path-cta,.chessimals-path-hero,.chessimals-path-grid,.chessimals-path-highlights,.chessimals-path-rings,.chessimals-path-stats{grid-template-columns:1fr}.chessimals-path-hero{justify-items:start}.chessimals-path-hero__art{width:6.25rem;height:6.25rem}.chessimals-path-cta__action{justify-self:stretch;width:100%}.chessimals-path-hero__medal{justify-self:stretch;width:100%;min-height:5.5rem}.chessimals-path-bars span{grid-template-columns:minmax(0,1fr) auto}.chessimals-path-bars i{grid-column:1 / -1;order:3}.chessimals-challenge-cta__actions,.chessimals-challenge-cta__rival{min-width:0}.chessimals-challenge-hero,.chessimals-challenge-focus{grid-template-columns:1fr}.chessimals-challenge-card{padding:.85rem}.chessimals-challenge-card__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.chessimals-game{gap:.55rem}.chessimals-turn-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.5rem;min-height:0;border-radius:.95rem;padding:.5rem}.chessimals-turn-card__copy{gap:.1rem}.chessimals-turn-card__chip{max-width:100%;padding:.18rem .5rem;font-size:.6rem;letter-spacing:.045em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chessimals-turn-card strong{font-size:clamp(.92rem,4.4vw,1.12rem);line-height:1.08}.chessimals-turn-card p{display:-webkit-box;overflow:hidden;font-size:.72rem;line-height:1.2;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chessimals-player-strip{width:auto;max-width:none;min-width:0;padding:.25rem}.chessimals-player-strip__avatar{flex:0 0 1.8rem;width:1.8rem;height:1.8rem;aspect-ratio:1 / 1}:host ::ng-deep .chessimals-player-strip .chessimals-turn-avatar{width:1.8rem;min-width:1.8rem;height:1.8rem}.chessimals-player-strip__text{display:none}.chessimals-status{grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem}.chessimals-status div{gap:.14rem;min-height:2.2rem;border-radius:.82rem;padding:.34rem .3rem}.chessimals-status small{font-size:.58rem;line-height:1.05}.chessimals-status strong{font-size:clamp(.78rem,3.2vw,.94rem);line-height:1.05}.chessimals-challenge-live{grid-template-columns:1fr;gap:.45rem;padding:.55rem}.chessimals-challenge-live__rival>.chessimals-bot-avatar{width:2.35rem;height:2.35rem;font-size:1.15rem}.chessimals-challenge-live__rival p{-webkit-line-clamp:1}.chessimals-challenge-live__metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem}.chessimals-challenge-live__metrics span{min-height:2.35rem;padding:.32rem .36rem}.chessimals-challenge-live__metrics small{font-size:.56rem}.chessimals-challenge-live__metrics b{font-size:.82rem}.chessimals-challenge-intro{padding:.55rem}.chessimals-challenge-intro__card{gap:.42rem;width:min(15.5rem,94%);padding:.6rem}.chessimals-challenge-intro__avatar{width:3.05rem;height:3.05rem;font-size:1.62rem}.chessimals-challenge-intro__copy strong{font-size:1.02rem}.chessimals-challenge-intro__copy p{font-size:.72rem;-webkit-line-clamp:1}.chessimals-challenge-intro__facts b{font-size:.74rem}.chessimals-challenge-intro .chessimals-primary{min-height:2.15rem}.chessimals-tip,.chessimals-result,.chessimals-replay,.chessimals-online-status,.chessimals-tutorial{gap:.2rem;border-radius:1rem;padding:.7rem .75rem}.chessimals-tip strong,.chessimals-result strong,.chessimals-replay strong,.chessimals-tutorial strong{font-size:.95rem}.chessimals-tip p,.chessimals-result p{font-size:.9rem;line-height:1.28}.chessimals-result__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.chessimals-replay,.chessimals-tutorial{grid-template-columns:1fr}.chessimals-replay__actions{justify-content:stretch}.chessimals-replay__actions .chessimals-secondary{flex:1 1 8rem}.chessimals-arena{gap:.5rem}.chessimals-board-wrap{width:100%;margin-inline:0;padding:0}.chessimals-board-frame{width:100%}.chessimals-powers{gap:.5rem;border-radius:1rem;padding:.55rem}.chessimals-powers__heading{gap:.4rem}.chessimals-powers h2{font-size:1rem}.chessimals-powers__heading span{padding:.22rem .48rem;font-size:.68rem}.chessimals-powers p{font-size:.78rem;line-height:1.2;-webkit-line-clamp:1}.chessimals-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem}.chessimals-cards button{grid-template-rows:minmax(3.65rem,1fr) auto;gap:.3rem;min-height:5.4rem;border-radius:.85rem;padding:.3rem .24rem .42rem}.chessimals-animal-face{min-height:3.65rem;border-radius:.68rem}.chessimals-animal-face img{width:min(3.55rem,92%);height:min(3.55rem,92%)}.chessimals-cards strong{font-size:clamp(.64rem,2.8vw,.78rem)}.chessimals-board{border-radius:var(--chessimals-board-radius)}.chessimals-cell-coordinate{font-size:.58rem}}@media (prefers-reduced-motion: reduce){.chessimals-cell.is-capture,.chessimals-cell.is-capture:before,.chessimals-cell.is-capture:after,.chessimals-cell.has-move-effect,.chessimals-cell.has-move-effect:before,.chessimals-cell.has-move-effect:after,.chessimals-cell.has-capture-effect,.chessimals-moving-piece,.chessimals-challenge-intro,.chessimals-status__score.is-pop{animation:none!important}.chessimals-moving-piece{transform:translate(calc(var(--to-col) * 100%),calc(var(--to-row) * 100%))}}\n"] }]
|
|
72656
|
+
`, styles: [":host{--chessimals-panel: #ffffff;--chessimals-surface: #fffaf1;--chessimals-elevated: rgba(255, 255, 255, .72);--chessimals-elevated-soft: rgba(255, 255, 255, .46);--chessimals-elevated-strong: rgba(255, 255, 255, .86);--chessimals-glass-highlight: rgba(255, 255, 255, .58);--chessimals-border: rgba(46, 58, 44, .18);--chessimals-text: #2e3a2c;--chessimals-muted: #51643d;--chessimals-soft: rgba(111, 122, 60, .1);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--chessimals-sky: #c06a3d;--chessimals-sky-rgb: 192, 106, 61;--chessimals-stone: #8e9362;--chessimals-stone-rgb: 142, 147, 98;--chessimals-selected: #37f28a;--chessimals-selected-rgb: 55, 242, 138;--chessimals-magic: #f7d45a;--chessimals-magic-rgb: 247, 212, 90;--chessimals-magic-hot: #fff56f;--chessimals-magic-deep: #b77a18;display:block;font-size:var(--val-mini-games-font-size, 1rem)}:host-context(body.font-small){--val-mini-games-font-size: .875rem}:host-context(body.font-large){--val-mini-games-font-size: 1.1875rem}.chessimals-shell{--chessimals-panel: #ffffff;--chessimals-surface: #fffaf1;--chessimals-elevated: rgba(255, 255, 255, .72);--chessimals-elevated-soft: rgba(255, 255, 255, .46);--chessimals-elevated-strong: rgba(255, 255, 255, .86);--chessimals-glass-highlight: rgba(255, 255, 255, .58);--chessimals-border: rgba(46, 58, 44, .18);--chessimals-text: #2e3a2c;--chessimals-muted: #51643d;--chessimals-soft: rgba(111, 122, 60, .1);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--chessimals-sky: #c06a3d;--chessimals-sky-rgb: 192, 106, 61;--chessimals-stone: #8e9362;--chessimals-stone-rgb: 142, 147, 98;--chessimals-selected: #37f28a;--chessimals-selected-rgb: 55, 242, 138;--chessimals-magic: #f7d45a;--chessimals-magic-rgb: 247, 212, 90;--chessimals-magic-hot: #fff56f;--chessimals-magic-deep: #b77a18;--chessimals-warning: #f4c542;--chessimals-warning-rgb: 244, 197, 66;--chessimals-move: var(--chessimals-sky);--chessimals-move-rgb: var(--chessimals-sky-rgb);--chessimals-capture: #1fcdb3;--chessimals-capture-rgb: 31, 205, 179;--chessimals-last: #8c6b4f;--chessimals-last-rgb: 140, 107, 79;--chessimals-cell-light: #f3f4e8;--chessimals-cell-dark: #7f944d;--chessimals-board-shadow: rgba(46, 58, 44, .14);--chessimals-piece-white-fill: #ffffff;--chessimals-piece-white-side: #f3eadb;--chessimals-piece-white-line: rgba(82, 65, 46, .12);--chessimals-piece-white-shadow: drop-shadow(0 0 1px rgba(84, 62, 34, .52)) drop-shadow(0 .18rem .12rem rgba(72, 58, 36, .22)) drop-shadow(0 .34rem .42rem rgba(72, 58, 36, .22));--chessimals-piece-black-fill: #242936;--chessimals-piece-black-side: #171b25;--chessimals-piece-black-line: rgba(255, 255, 255, .1);--chessimals-piece-black-shadow: drop-shadow(0 0 1px rgba(255, 255, 255, .34)) drop-shadow(0 .18rem .1rem rgba(255, 255, 255, .12)) drop-shadow(0 .32rem .42rem rgba(0, 0, 0, .36));--chessimals-piece-gold: #c79a42;--chessimals-piece-gold-dark: #8a5f22;--chessimals-animal-face-bg: #fffdf7;--chessimals-animal-face-inner-bg: #ffffff;--chessimals-animal-face-border: rgba(46, 58, 44, .12);--chessimals-animal-face-filter: drop-shadow(0 .12rem .16rem rgba(46, 58, 44, .18));--chessimals-animal-face-locked-filter: grayscale(.2) saturate(.72);--chessimals-animal-face-locked-img-opacity: .72;display:grid;gap:1.125rem;width:100%;max-width:min(100%,60rem);margin:0 auto;color:var(--chessimals-text)}@media (prefers-color-scheme: dark){.chessimals-shell{--chessimals-panel: #172116;--chessimals-surface: #0f170f;--chessimals-elevated: rgba(255, 255, 255, .08);--chessimals-elevated-soft: rgba(255, 255, 255, .05);--chessimals-elevated-strong: rgba(255, 255, 255, .12);--chessimals-glass-highlight: rgba(255, 255, 255, .08);--chessimals-border: rgba(242, 230, 213, .2);--chessimals-text: #f6f3e9;--chessimals-muted: #c8cfb1;--chessimals-soft: rgba(111, 122, 60, .22);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--chessimals-sky: #c06a3d;--chessimals-sky-rgb: 192, 106, 61;--chessimals-stone: #8e9362;--chessimals-stone-rgb: 142, 147, 98;--chessimals-cell-light: #f3f4e8;--chessimals-cell-dark: #7f944d;--chessimals-board-shadow: rgba(0, 0, 0, .34);--chessimals-animal-face-border: rgba(242, 230, 213, .24)}}.chessimals-resume-splash{order:0;position:fixed;inset:0;z-index:1000;display:grid;place-items:center;align-content:center;gap:.65rem;padding:1.5rem;text-align:center;color:var(--chessimals-text);background:radial-gradient(circle at 50% 42%,rgba(var(--chessimals-primary-rgb),.18),transparent 22rem),color-mix(in srgb,var(--chessimals-panel) 92%,transparent);backdrop-filter:blur(.9rem)}.chessimals-resume-splash__logo{display:block;width:clamp(5.8rem,20vw,7.2rem);height:auto;animation:chessimals-resume-pulse 1.2s ease-in-out infinite;filter:drop-shadow(0 .8rem 1.2rem rgba(var(--ion-color-dark-rgb, 47, 42, 58),.18))}.chessimals-resume-splash strong{font-size:clamp(1.55rem,5vw,2.4rem);font-weight:950;line-height:1.05}.chessimals-resume-splash p{max-width:24rem;margin:0;color:var(--chessimals-muted);font-size:1rem;line-height:1.35}@keyframes chessimals-resume-pulse{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-.25rem) scale(1.04)}}@keyframes chessimals-spin{to{transform:rotate(360deg)}}@keyframes chessimals-online-pulse{0%,to{transform:scale(1);opacity:.78}50%{transform:scale(1.22);opacity:1}}:host-context(html.ion-palette-dark) .chessimals-shell,:host-context([data-theme=\"dark\"]) .chessimals-shell{--chessimals-panel: #172116;--chessimals-surface: #0f170f;--chessimals-elevated: rgba(255, 255, 255, .08);--chessimals-elevated-soft: rgba(255, 255, 255, .05);--chessimals-elevated-strong: rgba(255, 255, 255, .12);--chessimals-glass-highlight: rgba(255, 255, 255, .08);--chessimals-border: rgba(246, 227, 213, .22);--chessimals-text: #f6f3e9;--chessimals-muted: #c8cfb1;--chessimals-soft: rgba(111, 122, 60, .22);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--chessimals-sky: #c06a3d;--chessimals-sky-rgb: 192, 106, 61;--chessimals-stone: #8e9362;--chessimals-stone-rgb: 142, 147, 98;--chessimals-cell-light: #e8eadc;--chessimals-cell-dark: #5f7040;--chessimals-board-shadow: rgba(0, 0, 0, .34);--chessimals-capture: #66f2d7;--chessimals-capture-rgb: 102, 242, 215;--chessimals-last: #cdbe9b;--chessimals-last-rgb: 205, 190, 155;--chessimals-piece-white-fill: #fffaff;--chessimals-piece-white-side: #f0e5d4;--chessimals-piece-white-line: rgba(82, 65, 46, .12);--chessimals-piece-white-shadow: drop-shadow(0 0 1px rgba(84, 62, 34, .48)) drop-shadow(0 .18rem .12rem rgba(0, 0, 0, .24)) drop-shadow(0 .34rem .42rem rgba(0, 0, 0, .3));--chessimals-piece-black-fill: #202633;--chessimals-piece-black-side: #111620;--chessimals-piece-black-line: rgba(255, 255, 255, .12);--chessimals-piece-black-shadow: drop-shadow(0 0 1px rgba(255, 255, 255, .34)) drop-shadow(0 .18rem .1rem rgba(255, 255, 255, .14)) drop-shadow(0 .34rem .44rem rgba(0, 0, 0, .52));--chessimals-animal-face-bg: #fffdf7;--chessimals-animal-face-inner-bg: #ffffff;--chessimals-animal-face-border: rgba(242, 230, 213, .24);--chessimals-animal-face-filter: drop-shadow(0 .12rem .16rem rgba(0, 0, 0, .22));--chessimals-animal-face-locked-filter: grayscale(.32) saturate(.72);--chessimals-animal-face-locked-img-opacity: .58}.chessimals-hero{display:grid;gap:.75rem;justify-items:center;overflow:hidden;border-radius:1.75rem;padding:clamp(1.25rem,5vw,2.5rem);background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.92),transparent 20%),linear-gradient(135deg,#fdf8ee,#fff 40%,#edf3df);color:var(--chessimals-text);text-align:center;border:1px solid var(--chessimals-border)}:host-context(html.ion-palette-dark) .chessimals-hero,:host-context([data-theme=\"dark\"]) .chessimals-hero{background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.08),transparent 22%),linear-gradient(135deg,#111a10,#172116 48%,#0f170f);color:var(--chessimals-text);border-color:#f6e3d538}.chessimals-hero__logo{display:grid;place-items:center;gap:.35rem;width:min(27rem,86vw);max-width:100%}.chessimals-hero__logo img{display:block;height:auto;object-fit:contain;border-radius:0}.chessimals-hero__emblem{width:min(12.25rem,48vw);margin-top:.2rem;transform:translateY(.2rem)}.chessimals-hero__wordmark{width:min(21rem,76vw)}.chessimals-hero p,.chessimals-howto p,.chessimals-tip p,.chessimals-result p,.chessimals-powers p{margin:0;line-height:1.45}.chessimals-powers{display:grid;gap:1rem;border:1px solid var(--chessimals-border);border-radius:1.625rem;padding:clamp(1rem,4vw,1.5rem);background:var(--chessimals-panel)}.chessimals-game{display:grid;gap:.875rem}.chessimals-panel{display:grid;gap:1.125rem}.chessimals-home-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.875rem}.chessimals-home-action{display:grid;justify-items:start;gap:.68rem;min-height:9.6rem;border:1px solid rgba(var(--chessimals-primary-rgb),.22);border-radius:1.25rem;padding:1.15rem 1rem 1.05rem;background:radial-gradient(circle at 18% 10%,rgba(255,255,255,.74),transparent 22%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),rgba(var(--chessimals-secondary-rgb),.08)),var(--chessimals-panel);color:var(--chessimals-text);font:inherit;text-align:left}.chessimals-home-action--play{border-color:rgba(var(--chessimals-primary-rgb),.46);background:radial-gradient(circle at 18% 10%,rgba(255,255,255,.82),transparent 22%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.22),rgba(var(--chessimals-secondary-rgb),.12)),var(--chessimals-panel)}.chessimals-mode-icon{display:block;width:4.45rem;height:4.45rem;border-radius:1rem;object-fit:cover;background:rgba(var(--chessimals-sun-rgb),.16);box-shadow:0 0 0 1px rgba(var(--chessimals-primary-rgb),.14),0 .55rem 1rem rgba(var(--chessimals-shadow-rgb),.12)}.chessimals-home-action strong{font-size:clamp(1.1rem,3vw,1.45rem);font-weight:1000;line-height:1.05}.chessimals-home-action small{color:var(--chessimals-muted);font-size:.88rem;font-weight:900;line-height:1.3}.chessimals-options{border:1px solid var(--chessimals-border);border-radius:1.125rem;padding:.35rem;background:var(--chessimals-panel)}.chessimals-options summary{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:3.25rem;padding:.65rem .8rem;color:var(--chessimals-text);cursor:pointer;list-style:none}.chessimals-options summary::-webkit-details-marker{display:none}.chessimals-options summary:after{content:\"+\";display:grid;place-items:center;flex:0 0 auto;width:1.8rem;height:1.8rem;border-radius:999px;background:var(--chessimals-soft);color:var(--chessimals-primary);font-weight:950}.chessimals-options[open] summary:after{content:\"-\"}.chessimals-options summary strong,.chessimals-options summary span{display:block}.chessimals-options summary strong{font-weight:950}.chessimals-options summary span{color:var(--chessimals-muted);font-size:.84rem;font-weight:800}.chessimals-options>:not(summary){margin:.5rem}.chessimals-play-options{display:grid;gap:1.05rem;color:var(--chessimals-text)}.chessimals-play-options__group{display:grid;gap:.62rem}.chessimals-play-options__group h3{margin:0;color:var(--chessimals-text);font-size:.9rem;font-weight:950;line-height:1.15}.chessimals-play-options .chessimals-size button,.chessimals-play-options .chessimals-mode button,.chessimals-play-options .chessimals-nightmare button,.chessimals-play-options .chessimals-bots button{position:relative;overflow:hidden;min-height:4.75rem;padding:.78rem 2.1rem .78rem .9rem;border:1px solid rgba(var(--chessimals-primary-rgb),.2);border-radius:1.08rem;background:radial-gradient(circle at 16% 8%,rgba(255,255,255,.7),transparent 24%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),rgba(var(--chessimals-secondary-rgb),.05)),var(--chessimals-panel);color:var(--chessimals-text);box-shadow:inset 0 0 0 1px var(--chessimals-glass-highlight)}.chessimals-play-options .chessimals-size button.is-selected,.chessimals-play-options .chessimals-mode button.is-selected,.chessimals-play-options .chessimals-nightmare button.is-selected,.chessimals-play-options .chessimals-bots button.is-selected{border-color:var(--chessimals-primary);background:radial-gradient(circle at 16% 8%,rgba(255,255,255,.78),transparent 25%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.23),rgba(var(--chessimals-secondary-rgb),.13)),var(--chessimals-panel);box-shadow:0 0 0 .16rem rgba(var(--chessimals-primary-rgb),.18),0 .85rem 1.8rem rgba(var(--chessimals-primary-rgb),.16)}.chessimals-option-check{position:absolute;top:.65rem;right:.65rem;width:.72rem;height:.72rem;border:2px solid rgba(var(--chessimals-primary-rgb),.3);border-radius:999px;background:var(--chessimals-panel)}.is-selected>.chessimals-option-check{border-color:var(--chessimals-primary);background:var(--chessimals-primary);box-shadow:0 0 0 .28rem rgba(var(--chessimals-primary-rgb),.13)}.chessimals-play-options .chessimals-nightmare{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.chessimals-play-options .chessimals-nightmare button{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:\"icon title\" \"icon body\";column-gap:.55rem;row-gap:.12rem;align-content:center;text-align:left}.chessimals-play-options .chessimals-nightmare strong{grid-area:title;align-self:end;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chessimals-play-options .chessimals-nightmare small{grid-area:body;color:var(--chessimals-muted);font-size:.72rem;font-weight:800;line-height:1.15}.chessimals-nightmare__icon{grid-area:icon;display:grid;place-items:center;width:2.35rem;height:2.35rem;overflow:hidden;border-radius:.8rem;background:rgba(var(--chessimals-primary-rgb),.12);color:var(--chessimals-primary);font-weight:1000;box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14)}.chessimals-nightmare__icon img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chessimals-play-options .chessimals-nightmare button.is-selected .chessimals-nightmare__icon{background:rgba(var(--chessimals-secondary-rgb),.2);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.24)}.chessimals-play-options .chessimals-difficulty{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.chessimals-play-options .chessimals-difficulty button{border:1px solid rgba(var(--chessimals-primary-rgb),.2);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.06),rgba(var(--chessimals-secondary-rgb),.04)),var(--chessimals-panel);color:var(--chessimals-text);box-shadow:inset 0 0 0 1px var(--chessimals-glass-highlight)}.chessimals-play-options .chessimals-difficulty button.is-selected{border-color:var(--chessimals-primary);background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);box-shadow:0 0 0 .16rem rgba(var(--chessimals-primary-rgb),.18),0 .72rem 1.25rem rgba(var(--chessimals-primary-rgb),.16)}.chessimals-play-options .chessimals-bots button>.chessimals-bot-avatar{width:2.45rem;height:2.45rem;border-radius:.8rem;background:rgba(var(--chessimals-primary-rgb),.12)}.chessimals-play-options .chessimals-bots button.is-selected>.chessimals-bot-avatar{background:rgba(var(--chessimals-secondary-rgb),.2);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.24)}.chessimals-play-modal{--chessimals-panel: var(--chessimals-modal-card, #ffffff);--chessimals-elevated: var(--chessimals-modal-card-strong, rgba(255, 255, 255, .72));--chessimals-elevated-soft: color-mix(in srgb, var(--chessimals-modal-card, #ffffff) 74%, transparent);--chessimals-elevated-strong: var(--chessimals-modal-card-strong, rgba(255, 255, 255, .86));--chessimals-glass-highlight: color-mix(in srgb, var(--chessimals-modal-surface, #ffffff) 58%, transparent);--chessimals-border: var(--chessimals-modal-border, rgba(46, 58, 44, .18));--chessimals-text: var(--chessimals-modal-text, #2e3a2c);--chessimals-muted: var(--chessimals-modal-muted, #51643d);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--background: var(--chessimals-primary);--background-activated: color-mix(in srgb, var(--chessimals-primary) 88%, #000);--background-hover: color-mix(in srgb, var(--chessimals-primary) 92%, #fff);--border-color: var(--chessimals-primary);--border-radius: 999px;--box-shadow: 0 1rem 2rem rgba(var(--chessimals-primary-rgb), .22);--color: var(--chessimals-primary-contrast);--color-activated: var(--chessimals-primary-contrast);--color-hover: var(--chessimals-primary-contrast);--val-modal-footer-gap: .7rem}.chessimals-rules-modal{--chessimals-border: var(--chessimals-modal-border, rgba(46, 58, 44, .18));--chessimals-text: var(--chessimals-modal-text, #2e3a2c);--chessimals-muted: var(--chessimals-modal-muted, #51643d);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--chessimals-secondary: #a8a06a;--chessimals-secondary-rgb: 168, 160, 106;--ion-background-color: var(--chessimals-modal-surface, #ffffff);--ion-card-background: var(--chessimals-modal-card, #ffffff);--ion-text-color: var(--chessimals-text);--val-modal-footer-gap: .7rem}.chessimals-confirm-modal{--chessimals-border: var(--chessimals-modal-border, rgba(46, 58, 44, .18));--chessimals-text: var(--chessimals-modal-text, #2e3a2c);--chessimals-muted: var(--chessimals-modal-muted, #51643d);--chessimals-primary: #2e6f3e;--chessimals-primary-rgb: 46, 111, 62;--chessimals-primary-contrast: #fffaf0;--ion-background-color: var(--chessimals-modal-surface, #ffffff);--ion-card-background: var(--chessimals-modal-card, #ffffff);--ion-text-color: var(--chessimals-text);--val-modal-footer-gap: .7rem}:host ::ng-deep ion-modal.chessimals-themed-modal{--chessimals-modal-surface: #ffffff;--chessimals-modal-card: #ffffff;--chessimals-modal-card-strong: #f8fbf5;--chessimals-modal-text: #2e3a2c;--chessimals-modal-muted: #5f6f50;--chessimals-modal-border: rgba(46, 58, 44, .18);--chessimals-modal-shadow: rgba(46, 58, 44, .14);--ion-background-color: var(--chessimals-modal-surface);--ion-card-background: var(--chessimals-modal-card);--ion-text-color: var(--chessimals-modal-text);--ion-color-dark: var(--chessimals-modal-text);--ion-color-dark-rgb: 46, 58, 44;--ion-color-medium: var(--chessimals-modal-muted);--ion-color-medium-rgb: 95, 111, 80;--ion-border-color: var(--chessimals-modal-border);--ion-color-primary: var(--chessimals-primary);--ion-color-primary-rgb: var(--chessimals-primary-rgb);--ion-color-primary-contrast: var(--chessimals-primary-contrast);--ion-color-primary-shade: #285f36;--ion-color-primary-tint: #43804f}@media (prefers-color-scheme: dark){:host ::ng-deep ion-modal.chessimals-themed-modal{--chessimals-modal-surface: #121811;--chessimals-modal-card: #182217;--chessimals-modal-card-strong: #1d2a1c;--chessimals-modal-text: #f6f3e9;--chessimals-modal-muted: #c8cfb1;--chessimals-modal-border: rgba(246, 227, 213, .2);--chessimals-modal-shadow: rgba(0, 0, 0, .36);--ion-color-dark-rgb: 246, 243, 233;--ion-color-medium-rgb: 200, 207, 177}}:host-context(html.ion-palette-dark) ::ng-deep ion-modal.chessimals-themed-modal,:host-context([data-theme=\"dark\"]) ::ng-deep ion-modal.chessimals-themed-modal{--chessimals-modal-surface: #121811;--chessimals-modal-card: #182217;--chessimals-modal-card-strong: #1d2a1c;--chessimals-modal-text: #f6f3e9;--chessimals-modal-muted: #c8cfb1;--chessimals-modal-border: rgba(246, 227, 213, .2);--chessimals-modal-shadow: rgba(0, 0, 0, .36);--ion-color-dark-rgb: 246, 243, 233;--ion-color-medium-rgb: 200, 207, 177}:host ::ng-deep ion-modal.chessimals-themed-modal val-modal-shell ion-toolbar,:host ::ng-deep ion-modal.chessimals-themed-modal .val-modal-layout__footer{--background: var(--chessimals-modal-surface);--color: var(--chessimals-modal-text);background:var(--chessimals-modal-surface);color:var(--chessimals-modal-text);border-color:var(--chessimals-modal-border)}:host ::ng-deep ion-modal.chessimals-themed-modal val-modal-shell ion-content{--background: var(--chessimals-modal-surface);color:var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-themed-modal val-modal-shell ion-button{--color: var(--chessimals-modal-text);--color-hover: var(--chessimals-modal-text);--color-activated: var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-themed-modal val-display ion-text,:host ::ng-deep ion-modal.chessimals-themed-modal val-title ion-text{color:var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-themed-modal val-button.val-modal-layout__button ion-button,:host ::ng-deep ion-modal.chessimals-themed-modal val-button.chessimals-rules__action ion-button{min-height:3.45rem;font-weight:950;--border-radius: 999px;--padding-bottom: .85rem;--padding-end: 1.35rem;--padding-start: 1.35rem;--padding-top: .85rem}:host ::ng-deep ion-modal.chessimals-themed-modal val-button.val-modal-layout__button ion-button.button-solid,:host ::ng-deep ion-modal.chessimals-themed-modal val-button.chessimals-rules__action--primary ion-button{--background: var(--chessimals-primary);--background-hover: color-mix(in srgb, var(--chessimals-primary) 92%, #fff);--background-activated: color-mix(in srgb, var(--chessimals-primary) 88%, #000);--box-shadow: 0 1rem 2rem rgba(var(--chessimals-primary-rgb), .22);--color: var(--chessimals-primary-contrast);--color-activated: var(--chessimals-primary-contrast);--color-hover: var(--chessimals-primary-contrast)}:host ::ng-deep ion-modal.chessimals-themed-modal val-button.val-modal-layout__button ion-button.button-outline,:host ::ng-deep ion-modal.chessimals-themed-modal val-button.chessimals-rules__action--secondary ion-button{--background: transparent;--border-color: var(--chessimals-modal-border);--border-width: 1px;--color: var(--chessimals-modal-text);--color-activated: var(--chessimals-modal-text);--color-hover: var(--chessimals-modal-text)}.chessimals-play-modal__actions,.chessimals-rules__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.7rem;width:100%}.chessimals-play-modal__actions .chessimals-primary,.chessimals-play-modal__actions .chessimals-secondary{min-width:min(100%,12.5rem);padding:.85rem 1.35rem}.chessimals-rules__action{min-width:min(100%,12.5rem)}:host ::ng-deep ion-modal.chessimals-rules-modal val-button.chessimals-rules__action ion-button{min-height:3.45rem;font-weight:950;--border-radius: 999px;--padding-bottom: .85rem;--padding-end: 1.35rem;--padding-start: 1.35rem;--padding-top: .85rem}:host ::ng-deep ion-modal.chessimals-rules-modal val-button.chessimals-rules__action--primary ion-button{--background: var(--chessimals-primary);--background-hover: color-mix(in srgb, var(--chessimals-primary) 92%, #fff);--background-activated: color-mix(in srgb, var(--chessimals-primary) 88%, #000);--box-shadow: 0 1rem 2rem rgba(var(--chessimals-primary-rgb), .22);--color: var(--chessimals-primary-contrast);--color-activated: var(--chessimals-primary-contrast);--color-hover: var(--chessimals-primary-contrast)}:host ::ng-deep ion-modal.chessimals-rules-modal val-button.chessimals-rules__action--secondary ion-button{--border-color: rgba(46, 58, 44, .24);--border-width: 1px;--color: var(--chessimals-text);--color-activated: var(--chessimals-text);--color-hover: var(--chessimals-text)}:host ::ng-deep ion-modal.chessimals-confirm-modal val-button.val-modal-layout__button ion-button{min-height:3.45rem;font-weight:950;--border-radius: 999px;--padding-bottom: .85rem;--padding-end: 1.35rem;--padding-start: 1.35rem;--padding-top: .85rem}:host ::ng-deep ion-modal.chessimals-confirm-modal val-button.val-modal-layout__button ion-button[data-testid=confirm]{--background: var(--chessimals-primary);--background-hover: color-mix(in srgb, var(--chessimals-primary) 92%, #fff);--background-activated: color-mix(in srgb, var(--chessimals-primary) 88%, #000);--box-shadow: 0 1rem 2rem rgba(var(--chessimals-primary-rgb), .22);--color: var(--chessimals-primary-contrast);--color-activated: var(--chessimals-primary-contrast);--color-hover: var(--chessimals-primary-contrast)}:host ::ng-deep ion-modal.chessimals-confirm-modal val-button.val-modal-layout__button ion-button[data-testid=cancel]{--border-color: rgba(46, 58, 44, .24);--border-width: 1px;--color: var(--chessimals-text);--color-activated: var(--chessimals-text);--color-hover: var(--chessimals-text)}.chessimals-online{display:grid;gap:.875rem;border:1px solid var(--chessimals-border);border-radius:1.375rem;padding:1rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),transparent),var(--chessimals-panel)}.chessimals-online--waiting{order:2;border-color:rgba(var(--chessimals-primary-rgb),.34)}.chessimals-online h2,.chessimals-online p{margin:0}.chessimals-online h2{font-size:1.1rem;font-weight:950}.chessimals-online p{color:var(--chessimals-muted);line-height:1.4}.chessimals-online__create,.chessimals-online__join{display:grid;gap:.55rem}.chessimals-online__create small{color:var(--chessimals-muted);font-weight:800;line-height:1.35}.chessimals-online__join{border-top:1px solid var(--chessimals-border);padding-top:.85rem}.chessimals-online__join>strong{font-size:.95rem;font-weight:950}.chessimals-online__error{border-radius:.875rem;padding:.7rem .8rem;background:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.12);color:var(--ion-color-danger, #eb445a)!important;font-weight:800}.chessimals-online__loading{display:flex;align-items:center;gap:.625rem;border:1px solid rgba(var(--chessimals-primary-rgb),.22);border-radius:999px;padding:.65rem .85rem;background:rgba(var(--chessimals-primary-rgb),.08);color:var(--chessimals-text);font-size:.92rem;font-weight:900}.chessimals-online__loading span{width:1rem;height:1rem;border:.15rem solid rgba(var(--chessimals-primary-rgb),.24);border-top-color:var(--chessimals-primary);border-radius:999px;animation:chessimals-spin .75s linear infinite}.chessimals-online-code{display:grid;gap:.4rem;font-weight:950}.chessimals-online-code input{width:100%;min-height:3.3rem;border:1px solid var(--chessimals-border);border-radius:999px;padding:0 1rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.chessimals-game-code{display:grid;gap:.2rem;border-radius:1rem;padding:.85rem 1rem;background:var(--chessimals-soft)}.chessimals-game-code small{color:var(--chessimals-muted);font-weight:900;letter-spacing:.06em;text-transform:uppercase}.chessimals-game-code strong{font-size:clamp(1.35rem,6vw,2rem);font-weight:950;letter-spacing:.05em}.chessimals-online-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem}.chessimals-history{gap:.75rem}.chessimals-history__heading{display:flex;align-items:start;justify-content:space-between;gap:.75rem}.chessimals-history__list{display:grid;gap:.5rem}.chessimals-history__item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;border:1px solid var(--chessimals-border);border-radius:1rem;padding:.7rem .8rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;text-align:left}.chessimals-history__item span{display:grid;gap:.1rem;min-width:0}.chessimals-history__item strong{font-weight:950;letter-spacing:.04em}.chessimals-history__item small{overflow:hidden;color:var(--chessimals-muted);font-size:.82rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.chessimals-history__item em{flex:0 0 auto;color:var(--chessimals-primary);font-size:.86rem;font-style:normal;font-weight:950}.chessimals-home-settings{gap:.8rem}.chessimals-home-settings__actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.625rem}.chessimals-pending-player{display:flex;align-items:center;gap:.7rem;border:1px solid rgba(var(--chessimals-primary-rgb),.22);border-radius:1rem;padding:.75rem;background:var(--chessimals-soft)}.chessimals-pending-player div{display:grid;gap:.1rem;min-width:0}.chessimals-pending-player small{color:var(--chessimals-muted);font-size:.72rem;font-weight:950;letter-spacing:.07em;text-transform:uppercase}.chessimals-pending-player strong{overflow:hidden;font-size:1.05rem;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.chessimals-turn-card{order:1;display:flex;align-items:center;justify-content:space-between;gap:.625rem;min-height:3.75rem;overflow:visible;border:1px solid rgba(var(--chessimals-primary-rgb),.24);border-radius:1rem;padding:.55rem .65rem;background:radial-gradient(circle at 15% 18%,rgba(255,255,255,.34),transparent 18%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.2),rgba(var(--chessimals-secondary-rgb),.1))}.chessimals-turn-card.is-black-turn{border-color:rgba(var(--ion-color-dark-rgb, 47, 42, 58),.28);background:radial-gradient(circle at 15% 18%,rgba(255,255,255,.12),transparent 18%),linear-gradient(135deg,rgba(var(--ion-color-dark-rgb, 47, 42, 58),.14),rgba(var(--chessimals-primary-rgb),.1))}.chessimals-turn-card.is-finished{border-color:rgba(var(--ion-color-success-rgb, 45, 211, 111),.42);background:radial-gradient(circle at 15% 18%,rgba(255,255,255,.35),transparent 18%),linear-gradient(135deg,rgba(var(--ion-color-success-rgb, 45, 211, 111),.18),rgba(var(--chessimals-primary-rgb),.12))}.chessimals-turn-card.is-finished .chessimals-turn-card__chip{color:var(--ion-color-success, #2dd36f)}.chessimals-turn-card.is-your-turn{border-color:rgba(var(--chessimals-primary-rgb),.48);box-shadow:0 0 0 .12rem rgba(var(--chessimals-primary-rgb),.12),0 .95rem 2rem rgba(var(--chessimals-primary-rgb),.14)}.chessimals-turn-card.is-your-turn .chessimals-turn-card__chip{background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);box-shadow:0 0 0 .32rem rgba(var(--chessimals-primary-rgb),.14);animation:chessimals-turn-pulse 1.45s ease-in-out infinite}.chessimals-turn-card.is-timer-low{border-color:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.5);box-shadow:0 0 0 .12rem rgba(var(--ion-color-danger-rgb, 235, 68, 90),.12),0 .95rem 2rem rgba(var(--ion-color-danger-rgb, 235, 68, 90),.12)}.chessimals-turn-card.is-timer-low .chessimals-turn-card__chip{background:var(--ion-color-danger, #eb445a);color:var(--ion-color-danger-contrast, #ffffff)}.chessimals-turn-card.is-waiting-turn .chessimals-turn-card__chip{color:var(--chessimals-muted)}@keyframes chessimals-turn-pulse{0%,to{transform:translateZ(0) scale(1)}50%{transform:translateZ(0) scale(1.035)}}.chessimals-turn-card__copy{display:grid;min-width:0;gap:.15rem}.chessimals-turn-card__meta{display:flex;flex:0 1 auto;align-items:center;justify-content:flex-end;gap:.45rem;min-width:0;max-width:min(31rem,58%)}.chessimals-turn-card__chip{justify-self:start;border-radius:999px;padding:.2rem .5rem;background:var(--chessimals-panel);color:var(--chessimals-primary);font-size:.62rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-turn-card strong{display:block;min-width:0;font-size:clamp(1rem,3.5vw,1.25rem);line-height:1.08;font-weight:950;overflow-wrap:anywhere}.chessimals-turn-card p{display:block;min-width:0;margin:0;color:var(--chessimals-muted);font-size:.78rem;line-height:1.22}.chessimals-player-strip{display:flex;flex:0 0 auto;align-items:center;gap:.45rem;min-width:10rem;max-width:min(17rem,100%);border:1px solid var(--chessimals-border);border-radius:999px;padding:.3rem .55rem .3rem .35rem;background:rgba(var(--ion-color-light-rgb, 244, 245, 248),.72)}:host-context(html.ion-palette-dark) .chessimals-player-strip,:host-context([data-theme=\"dark\"]) .chessimals-player-strip{background:#ffffff0f}.chessimals-player-strip val-user-avatar{display:inline-flex;flex:0 0 auto;line-height:0}.chessimals-player-strip__avatar{display:grid;place-items:center;flex:0 0 2.25rem;width:2.25rem;height:2.25rem;aspect-ratio:1 / 1;overflow:hidden;border-radius:999px;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);font-size:.875rem;line-height:1}.chessimals-player-strip__avatar img{display:block;width:100%;height:100%;object-fit:cover}.chessimals-player-strip__avatar--initials{font-size:.78rem;font-weight:950}:host ::ng-deep .chessimals-player-strip .chessimals-turn-avatar{width:2.25rem;min-width:2.25rem;height:2.25rem;border-radius:50%}.chessimals-player-strip__text{display:grid;min-width:0;gap:.05rem;line-height:1.1}.chessimals-player-strip__text span{color:var(--chessimals-muted);font-size:.58rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-player-strip__text strong{overflow:hidden;font-size:.82rem;line-height:1.08;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.chessimals-player-strip__text small{overflow:hidden;color:var(--chessimals-muted);font-size:.66rem;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.chessimals-arena{order:4;display:grid;gap:.875rem;align-items:start}.chessimals-howto,.chessimals-tip,.chessimals-result,.chessimals-replay,.chessimals-rematch-status{display:grid;gap:.375rem;padding:1rem;border-radius:1.25rem;background:var(--chessimals-soft)}.chessimals-howto{border:1px solid var(--chessimals-border);background:var(--chessimals-soft);color:var(--chessimals-text)}.chessimals-howto p{color:var(--chessimals-muted)}.chessimals-howto__actions{display:flex;flex-wrap:wrap;gap:.625rem}:host-context(html.ion-palette-dark) .chessimals-howto,:host-context([data-theme=\"dark\"]) .chessimals-howto{border-color:#f6e3d533;background:#172116;color:#f6f3e9}:host-context(html.ion-palette-dark) .chessimals-howto p,:host-context([data-theme=\"dark\"]) .chessimals-howto p{color:#c8cfb1}.chessimals-result{order:5}.chessimals-result__actions{display:flex;flex-wrap:wrap;gap:.625rem;margin-top:.45rem}.chessimals-action-button{flex:0 1 auto;min-width:min(100%,12.5rem);max-width:100%;padding:.85rem 1.35rem}.chessimals-result.is-challenge-result{gap:0;padding:0;background:transparent}.chessimals-result__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin-top:.35rem}.chessimals-result__stats span{display:grid;gap:.15rem;min-width:0;border:1px solid rgba(var(--chessimals-primary-rgb),.16);border-radius:.85rem;padding:.58rem .6rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),transparent),var(--chessimals-panel)}.chessimals-result__stats small{overflow:hidden;color:var(--chessimals-muted);font-size:.68rem;font-weight:950;letter-spacing:.05em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-result__stats b{overflow:hidden;color:var(--chessimals-text);font-size:.92rem;font-weight:950;line-height:1.12;text-overflow:ellipsis;white-space:nowrap}.chessimals-result__detail{margin:.2rem 0 0}.chessimals-bot-report{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem;margin-top:.35rem;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:1rem;padding:.78rem .85rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),transparent),var(--chessimals-panel)}.chessimals-bot-report>span{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:.85rem;background:rgba(var(--chessimals-secondary-rgb),.14);font-size:1.45rem;box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14)}.chessimals-bot-report>span img{width:100%;height:100%;object-fit:contain}.chessimals-bot-report div{display:grid;gap:.12rem;min-width:0}.chessimals-bot-report small{color:var(--chessimals-muted);font-size:.72rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-bot-report strong{color:var(--chessimals-text);font-size:1rem;font-weight:950;line-height:1.15}.chessimals-bot-report p{margin:0;color:var(--chessimals-muted);font-size:.84rem;font-weight:820;line-height:1.28}.chessimals-online-status{order:3;display:grid;grid-template-columns:1.35rem minmax(0,1fr);align-items:center;gap:.85rem;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:1.1rem;padding:.85rem .95rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.09),transparent),var(--chessimals-panel)}.chessimals-online-status>span{justify-self:center;width:.72rem;height:.72rem;border-radius:999px;background:var(--chessimals-primary);box-shadow:0 0 0 .38rem rgba(var(--chessimals-primary-rgb),.12)}.chessimals-online-status.is-syncing>span{animation:chessimals-online-pulse .9s ease-in-out infinite}.chessimals-online-status.is-error{border-color:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.28);background:linear-gradient(135deg,rgba(var(--ion-color-danger-rgb, 235, 68, 90),.1),transparent),var(--chessimals-panel)}.chessimals-online-status.is-error>span{background:var(--ion-color-danger, #eb445a);box-shadow:0 0 0 .38rem rgba(var(--ion-color-danger-rgb, 235, 68, 90),.12)}.chessimals-online-status div{display:grid;gap:.12rem;min-width:0}.chessimals-online-status strong{overflow:hidden;color:var(--chessimals-text);font-size:.95rem;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.chessimals-online-status p{margin:0;color:var(--chessimals-muted);font-size:.84rem;font-weight:780;line-height:1.28}.chessimals-series{display:grid;gap:.18rem;margin-top:.35rem;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:1rem;padding:.78rem .85rem;background:linear-gradient(135deg,rgba(var(--chessimals-secondary-rgb),.12),transparent),var(--chessimals-panel)}.chessimals-series--compact{margin-top:0}.chessimals-series small{color:var(--chessimals-muted);font-size:.72rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-series strong{color:var(--chessimals-text);font-size:1rem;font-weight:950;line-height:1.15}.chessimals-series span{color:var(--chessimals-muted);font-size:.84rem;font-weight:820;line-height:1.28}.chessimals-replay{order:5;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;border:1px solid rgba(var(--chessimals-primary-rgb),.2);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),transparent),var(--chessimals-panel)}.chessimals-replay>div:first-child{display:grid;gap:.15rem;min-width:0}.chessimals-replay strong{font-size:1rem;font-weight:950}.chessimals-replay span{color:var(--chessimals-muted);font-size:.86rem;font-weight:800;line-height:1.25}.chessimals-replay__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}.chessimals-replay__actions .chessimals-secondary{min-height:2.5rem;padding:0 .8rem}.chessimals-tutorial{order:3;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:1rem;border:1px solid rgba(var(--chessimals-primary-rgb),.24);border-radius:1.25rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.13),transparent),var(--chessimals-panel)}.chessimals-tutorial>div{display:grid;gap:.18rem;min-width:0}.chessimals-tutorial small{color:var(--chessimals-primary);font-size:.76rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-tutorial strong{font-size:1rem;font-weight:950}.chessimals-tutorial p{margin:0;color:var(--chessimals-muted);font-size:.88rem;font-weight:780;line-height:1.35}.chessimals-tutorial .chessimals-secondary{min-height:2.5rem;padding:0 .85rem}.chessimals-rematch-status{order:5;border:1px solid rgba(var(--chessimals-primary-rgb),.22);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.12),transparent),var(--chessimals-panel)}.chessimals-rematch-status.is-incoming{border-color:rgba(var(--ion-color-success-rgb, 45, 211, 111),.38);background:linear-gradient(135deg,rgba(var(--ion-color-success-rgb, 45, 211, 111),.14),transparent),var(--chessimals-panel)}.chessimals-rematch-status strong{font-size:1rem;font-weight:950}.chessimals-rematch-status p{margin:0;color:var(--chessimals-muted);font-size:.88rem;line-height:1.35}.chessimals-rematch-player{background:var(--chessimals-elevated)}:host-context(html.ion-palette-dark) .chessimals-rematch-player,:host-context([data-theme=\"dark\"]) .chessimals-rematch-player{background:#ffffff0f}.chessimals-rematch-status__actions{display:flex;justify-content:flex-end}.chessimals-rematch-status__actions .chessimals-secondary{min-height:2.5rem;padding:0 .95rem}.chessimals-howto h2,.chessimals-powers h2{margin:0;font-size:1.15rem;font-weight:950}.chessimals-challenge-cta{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(10rem,auto) auto;gap:.65rem;align-items:center;border:1px solid rgba(var(--chessimals-sky-rgb),.24);border-radius:1.25rem;padding:.75rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.1),transparent 62%),var(--chessimals-panel);box-shadow:0 .7rem 1.4rem rgba(var(--chessimals-shadow-rgb),.08)}.chessimals-challenge-cta__copy{display:grid;gap:.18rem;min-width:0}.chessimals-challenge-cta__copy span,.chessimals-challenge-cta__rival small{color:var(--chessimals-sky);font-size:.68rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-challenge-cta__copy h2{margin:0;color:var(--chessimals-text);font-size:clamp(1.05rem,2.5vw,1.32rem);font-weight:1000}.chessimals-challenge-cta__copy p{margin:0;color:var(--chessimals-muted);font-size:.82rem;font-weight:780;line-height:1.3}.chessimals-challenge-cta__meta{display:grid;grid-template-columns:repeat(2,minmax(3.8rem,1fr));gap:.4rem}.chessimals-challenge-cta__meta span{display:grid;gap:.08rem;border:1px solid rgba(var(--chessimals-primary-rgb),.14);border-radius:.95rem;padding:.42rem .5rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-cta__meta small{color:var(--chessimals-muted);font-size:.62rem;font-weight:900;text-transform:uppercase}.chessimals-challenge-cta__meta strong{color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-challenge-cta__actions{display:grid;gap:.45rem;min-width:10rem}.chessimals-challenge-cta__rival{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem;align-items:center;min-width:0;border:1px solid rgba(var(--chessimals-primary-rgb),.14);border-radius:1rem;padding:.45rem;background:var(--chessimals-elevated)}.chessimals-challenge-cta__rival>.chessimals-bot-avatar{display:grid;place-items:center;width:2.15rem;height:2.15rem;border-radius:.9rem;background:rgba(var(--chessimals-sky-rgb),.14);font-size:1.12rem}.chessimals-challenge-cta__rival div{display:grid;gap:.08rem;min-width:0}.chessimals-challenge-cta__rival strong{overflow:hidden;color:var(--chessimals-text);font-size:.9rem;font-weight:1000;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-view{display:grid;gap:.85rem}.chessimals-back-link{justify-self:start;border:1px solid rgba(var(--chessimals-primary-rgb),.16);border-radius:999px;padding:.45rem .72rem;background:var(--chessimals-elevated);color:var(--chessimals-text);font:inherit;font-size:.85rem;font-weight:950;cursor:pointer}.chessimals-challenge-back{margin-bottom:.15rem}.chessimals-challenge-card{display:grid;gap:.9rem;border:1px solid rgba(var(--chessimals-sky-rgb),.34);border-radius:1.375rem;padding:1rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.18),transparent 54%),linear-gradient(180deg,var(--chessimals-glass-highlight),transparent),var(--chessimals-panel);box-shadow:0 1rem 2.2rem #4f3a231f}.chessimals-challenge-card--dedicated{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}.chessimals-challenge-hero,.chessimals-challenge-focus,.chessimals-challenge-secondary{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(14rem,.9fr);gap:.75rem;align-items:stretch}.chessimals-challenge-card__copy{display:grid;gap:.28rem;align-content:center}.chessimals-challenge-card__copy span,.chessimals-challenge-summary small,.chessimals-challenge-route small,.chessimals-challenge-panel__heading small{color:var(--chessimals-sky);font-size:.72rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-challenge-card h2{margin:0;font-size:clamp(1.25rem,3.5vw,1.9rem);font-weight:1000}.chessimals-challenge-card p,.chessimals-challenge-summary p{margin:0;color:var(--chessimals-muted);font-size:.95rem;font-weight:780;line-height:1.35}.chessimals-challenge-card__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.chessimals-challenge-rival{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.7rem;align-items:center;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:1.125rem;padding:.7rem;background:var(--chessimals-elevated)}.chessimals-challenge-rival--feature{min-height:8rem;border-color:rgba(var(--chessimals-sky-rgb),.28);background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.14),transparent),var(--chessimals-elevated)}.chessimals-bot-rival{order:2;border-color:rgba(var(--chessimals-magic-rgb),.38);padding:.62rem .7rem;background:radial-gradient(circle at 8% 12%,rgba(var(--chessimals-magic-rgb),.2),transparent 42%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),transparent 70%),var(--chessimals-elevated)}.chessimals-challenge-rival>.chessimals-bot-avatar{display:grid;place-items:center;width:3rem;height:3rem;border-radius:1rem;background:rgba(var(--chessimals-primary-rgb),.12);font-size:1.45rem}.chessimals-bot-rival>.chessimals-bot-avatar{width:3.3rem;height:3.3rem;border:1px solid rgba(var(--chessimals-magic-rgb),.5);background:var(--chessimals-panel);box-shadow:0 .4rem 1rem rgba(var(--chessimals-magic-rgb),.18)}.chessimals-challenge-rival div{display:grid;gap:.14rem;min-width:0}.chessimals-challenge-rival small,.chessimals-challenge-history small,.chessimals-challenge-summary__stats small{color:var(--chessimals-muted);font-size:.66rem;font-weight:900;text-transform:uppercase}.chessimals-challenge-rival strong{color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-challenge-rival p{font-size:.84rem}.chessimals-challenge-rival em{overflow:hidden;color:var(--chessimals-muted);font-size:.68rem;font-style:normal;font-weight:900;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-challenge-rival--next{background:rgba(var(--chessimals-primary-rgb),.08)}.chessimals-challenge-card__stats span{display:grid;gap:.16rem;border:1px solid rgba(var(--chessimals-primary-rgb),.16);border-radius:1rem;padding:.55rem;background:var(--chessimals-elevated)}.chessimals-challenge-card__stats small{color:var(--chessimals-muted);font-size:.66rem;font-weight:900;text-transform:uppercase}.chessimals-challenge-card__stats strong{color:var(--chessimals-text);font-size:1.1rem;font-weight:1000}.chessimals-challenge-card__actions{display:grid;gap:.55rem;align-content:center}.chessimals-challenge-card__actions--hero{grid-template-columns:minmax(0,1fr)}.chessimals-challenge-route,.chessimals-challenge-panel{display:grid;gap:.55rem;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:1.125rem;padding:.65rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-route>div:first-child,.chessimals-challenge-panel__heading{display:flex;flex-wrap:wrap;gap:.4rem;align-items:baseline;justify-content:space-between}.chessimals-challenge-route>div:first-child>span{color:var(--chessimals-muted);font-size:.76rem;font-weight:850}.chessimals-challenge-path{display:flex;flex-wrap:nowrap;gap:.4rem;overflow-x:auto;padding-block:.1rem;scrollbar-width:none}.chessimals-challenge-path::-webkit-scrollbar{display:none}.chessimals-challenge-path span{flex:0 0 auto;display:grid;place-items:center;width:2.15rem;height:2.15rem;overflow:hidden;border:1px solid rgba(var(--chessimals-primary-rgb),.18);border-radius:999px;background:var(--chessimals-elevated-strong);font-size:1.08rem}.chessimals-challenge-path img{display:block;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;object-fit:contain}.chessimals-challenge-path span.is-cleared{border-color:rgba(var(--ion-color-success-rgb, 45, 211, 111),.34);background:rgba(var(--ion-color-success-rgb, 45, 211, 111),.16)}.chessimals-challenge-path span.is-current{border-color:rgba(var(--chessimals-sky-rgb),.48);background:rgba(var(--chessimals-sky-rgb),.18);box-shadow:0 0 0 2px rgba(var(--chessimals-sky-rgb),.12)}.chessimals-challenge-path span.is-final{border-color:rgba(var(--ion-color-warning-rgb, 255, 196, 9),.48)}.chessimals-challenge-roster{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem}.chessimals-challenge-roster article{display:grid;grid-template-columns:minmax(0,1fr);gap:.4rem;align-items:center;min-width:0;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:1rem;padding:.48rem;background:var(--chessimals-elevated-soft);opacity:.78}.chessimals-challenge-roster article.is-cleared{border-color:rgba(var(--ion-color-success-rgb, 45, 211, 111),.26);background:linear-gradient(135deg,rgba(var(--ion-color-success-rgb, 45, 211, 111),.1),transparent),var(--chessimals-elevated-soft);opacity:1}.chessimals-challenge-roster article.is-current{border-color:rgba(var(--chessimals-sky-rgb),.38);background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.16),transparent),var(--chessimals-elevated);box-shadow:0 0 0 2px rgba(var(--chessimals-sky-rgb),.1);opacity:1}.chessimals-challenge-roster article.is-final{border-color:rgba(var(--ion-color-warning-rgb, 255, 196, 9),.34)}.chessimals-challenge-roster article>.chessimals-bot-avatar{display:grid;place-items:center;width:2rem;height:2rem;border-radius:.85rem;background:rgba(var(--chessimals-primary-rgb),.1);font-size:1rem}.chessimals-challenge-roster article.is-current>.chessimals-bot-avatar{background:rgba(var(--chessimals-sky-rgb),.18)}.chessimals-challenge-roster div{display:grid;gap:.08rem;min-width:0}.chessimals-challenge-roster small,.chessimals-challenge-roster em{overflow:hidden;color:var(--chessimals-muted);font-size:.62rem;font-style:normal;font-weight:900;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-challenge-roster strong{overflow:hidden;color:var(--chessimals-text);font-size:.82rem;font-weight:1000;line-height:1.08;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-roster p{display:-webkit-box;overflow:hidden;margin:0;color:var(--chessimals-muted);font-size:.72rem;font-weight:820;line-height:1.18;-webkit-box-orient:vertical;-webkit-line-clamp:2}.chessimals-achievements,.chessimals-mode-winrates{display:grid;grid-template-columns:minmax(0,1fr);gap:.45rem}.chessimals-mode-winrates>span{display:grid;gap:.1rem;border:1px solid rgba(var(--chessimals-sky-rgb),.2);border-radius:8px;padding:.48rem;background:rgba(var(--chessimals-sky-rgb),.08)}.chessimals-mode-winrates small{overflow:hidden;color:var(--chessimals-muted);font-size:.64rem;font-weight:900;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-mode-winrates strong{color:var(--chessimals-text);font-size:.98rem;font-weight:1000}.chessimals-mode-winrates em{overflow:hidden;color:var(--chessimals-muted);font-size:.68rem;font-style:normal;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.chessimals-achievements>span{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.45rem;align-items:center;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:8px;padding:.5rem;background:var(--chessimals-elevated-soft);opacity:.68}.chessimals-achievements>span.is-unlocked{border-color:rgba(var(--chessimals-sky-rgb),.3);background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.14),var(--chessimals-elevated));opacity:1}.chessimals-achievements b{display:grid;place-items:center;width:1.9rem;height:1.9rem;border-radius:8px;background:rgba(var(--chessimals-primary-rgb),.1);color:var(--chessimals-muted);font-size:.9rem;font-weight:1000}.chessimals-achievements .is-unlocked b{background:var(--chessimals-sky);color:#fffaf0}.chessimals-achievements span span{display:grid;gap:.06rem;min-width:0}.chessimals-achievements strong,.chessimals-achievements small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chessimals-achievements strong{color:var(--chessimals-text);font-size:.78rem;font-weight:1000}.chessimals-achievements small{color:var(--chessimals-muted);font-size:.67rem;font-weight:850}.chessimals-secondary--compact{min-height:2.45rem;padding-block:.45rem}.chessimals-path-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:center;border:1px solid rgba(var(--chessimals-sky-rgb),.26);border-radius:1.25rem;padding:.75rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.13),rgba(var(--chessimals-sun-rgb),.08)),var(--chessimals-elevated-soft)}.chessimals-path-cta div{display:grid;gap:.18rem;min-width:0}.chessimals-path-cta span,.chessimals-path-hero small{color:var(--chessimals-sky);font-size:.68rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-path-cta strong{color:var(--chessimals-text);font-size:.95rem;font-weight:950;line-height:1.2}.chessimals-path-cta__action{justify-self:end;width:min(12rem,100%);min-width:9.5rem;padding-inline:1.1rem;white-space:nowrap}.chessimals-path-view{display:grid;gap:.85rem}.chessimals-path-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.8rem;align-items:center;border:1px solid rgba(var(--chessimals-sky-rgb),.26);border-radius:1.25rem;padding:.85rem;background:radial-gradient(circle at 88% 10%,rgba(var(--chessimals-sun-rgb),.18),transparent 34%),linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.14),transparent 62%),var(--chessimals-elevated-soft)}.chessimals-path-hero__art{display:block;width:clamp(5.2rem,15vw,7.5rem);height:clamp(5.2rem,15vw,7.5rem);object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chessimals-path-hero>div:not(.chessimals-path-hero__medal){display:grid;gap:.25rem;min-width:0}.chessimals-path-hero h2{margin:0;color:var(--chessimals-text);font-size:clamp(1.7rem,4vw,2.35rem);font-weight:1000;line-height:1}.chessimals-path-hero p{margin:0;color:var(--chessimals-muted);font-size:.95rem;font-weight:820;line-height:1.35}.chessimals-path-hero__medal{display:grid;place-items:center;width:6.5rem;min-height:6.5rem;border:1px solid rgba(var(--chessimals-primary-rgb),.14);border-radius:1rem;background:linear-gradient(180deg,rgba(var(--chessimals-sun-rgb),.2),rgba(var(--chessimals-sky-rgb),.11)),var(--chessimals-elevated);box-shadow:0 16px 28px rgba(var(--chessimals-shadow-rgb),.12)}.chessimals-path-hero__medal img{display:block;width:3rem;height:3rem;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chessimals-path-hero__medal span{color:var(--chessimals-text);font-size:1.65rem;font-weight:1000;line-height:1}.chessimals-path-hero__medal b{color:var(--chessimals-muted);font-size:.78rem;font-weight:950}.chessimals-path-highlights{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.65rem}.chessimals-path-highlights article{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.65rem;align-items:center;min-width:0;min-height:7.5rem;border:1px solid rgba(var(--chessimals-primary-rgb),.13);border-radius:1rem;padding:.7rem;background:radial-gradient(circle at 12% 4%,rgba(var(--chessimals-sun-rgb),.18),transparent 42%),var(--chessimals-elevated-soft)}.chessimals-path-highlights img{display:block;width:4.25rem;height:4.25rem;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.chessimals-path-highlights article div{display:grid;min-width:0;gap:.12rem}.chessimals-path-highlights small{color:var(--chessimals-sky);font-size:.66rem;font-weight:950;letter-spacing:.05em;text-transform:uppercase}.chessimals-path-highlights strong{color:var(--chessimals-text);font-size:1.08rem;font-weight:1000;line-height:1.06}.chessimals-path-highlights span{color:var(--chessimals-muted);font-size:.76rem;font-weight:820;line-height:1.24}.chessimals-path-rings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.6rem}.chessimals-path-ring,.chessimals-path-panel,.chessimals-path-stats span,.chessimals-path-bars span{border:1px solid rgba(var(--chessimals-primary-rgb),.13);border-radius:1rem;background:var(--chessimals-elevated-soft)}.chessimals-path-ring{display:grid;grid-template-areas:\"ring label\" \"ring detail\";grid-template-columns:auto minmax(0,1fr);gap:.55rem;align-items:center;padding:.65rem;text-align:left}.chessimals-path-ring>div{position:relative;grid-area:ring;display:grid;place-items:center;width:3.35rem;height:3.35rem;border-radius:999px;background:conic-gradient(var(--chessimals-sky) var(--ring-progress),rgba(var(--chessimals-primary-rgb),.12) 0)}.chessimals-path-ring>div:after{position:absolute;inset:.34rem;border-radius:inherit;background:var(--chessimals-elevated);content:\"\"}.chessimals-path-ring strong{position:relative;z-index:1;color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-path-ring span,.chessimals-path-bars b{color:var(--chessimals-text);font-size:.78rem;font-weight:950}.chessimals-path-ring span{grid-area:label;align-self:end}.chessimals-path-ring small{grid-area:detail;align-self:start;min-width:0}.chessimals-path-ring small{color:var(--chessimals-muted);font-size:.68rem;font-weight:820;line-height:1.25}.chessimals-path-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:.75rem}.chessimals-path-panel{display:grid;gap:.65rem;align-content:start;padding:.75rem}.chessimals-path-panel--wide{grid-column:1 / -1}.chessimals-path-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10.5rem),1fr));gap:.5rem}.chessimals-path-stats span{display:grid;gap:.08rem;padding:.6rem}.chessimals-path-stats small{color:var(--chessimals-muted);font-size:.66rem;font-weight:900;text-transform:uppercase}.chessimals-path-stats strong{color:var(--chessimals-text);font-size:1.25rem;font-weight:1000}.chessimals-path-bars{display:grid;gap:.45rem}.chessimals-path-bars span{display:grid;grid-template-columns:minmax(0,.9fr) minmax(3rem,1fr) auto;gap:.45rem;align-items:center;padding:.48rem}.chessimals-path-bars i{display:block;height:.48rem;overflow:hidden;border-radius:999px;background:rgba(var(--chessimals-primary-rgb),.11)}.chessimals-path-bars i:before{display:block;width:var(--bar-progress);height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--chessimals-sky),var(--chessimals-sun));content:\"\"}.chessimals-path-bars strong{color:var(--chessimals-text);font-size:.86rem;font-weight:1000}.chessimals-achievements--path{grid-template-columns:1fr}.chessimals-challenge-history--path{border-top:0;padding-top:0}.chessimals-progress__heading small{color:var(--chessimals-sky);font-size:.68rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-progress__heading{display:flex;flex-wrap:wrap;gap:.35rem;align-items:baseline;justify-content:space-between}.chessimals-progress__heading span{color:var(--chessimals-muted);font-size:.76rem;font-weight:820}.chessimals-challenge-history{display:grid;gap:.35rem;border-top:1px solid rgba(var(--chessimals-primary-rgb),.12);padding-top:.2rem}.chessimals-challenge-history span{display:flex;flex-wrap:wrap;gap:.35rem;color:var(--chessimals-muted);font-size:.82rem;font-weight:820}.chessimals-challenge-history b{color:var(--chessimals-text);font-weight:1000}.chessimals-challenge-summary{display:grid;gap:.6rem;border:0;border-radius:0;padding:0;background:transparent}.chessimals-challenge-summary.is-victory,.chessimals-challenge-summary.is-defeat{background:transparent}.chessimals-challenge-summary__hero,.chessimals-challenge-rival-voice{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.7rem}.chessimals-challenge-summary__hero>.chessimals-bot-avatar,.chessimals-challenge-rival-voice>.chessimals-bot-avatar{position:relative;display:grid;place-items:center;width:3rem;height:3rem;border-radius:1rem;background:rgba(var(--chessimals-sky-rgb),.16);font-size:1.55rem;box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14)}.chessimals-challenge-summary__hero.is-cleared>.chessimals-bot-avatar img{filter:grayscale(1) saturate(.15) contrast(.95);opacity:.62}.chessimals-challenge-summary__hero.is-cleared>.chessimals-bot-avatar:after{content:\"\\2713\";position:absolute;right:-.05rem;bottom:-.05rem;display:grid;place-items:center;width:1.25rem;height:1.25rem;border:.12rem solid var(--chessimals-panel);border-radius:999px;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);font-size:.74rem;font-weight:1000;line-height:1}.chessimals-challenge-summary__hero div,.chessimals-challenge-rival-voice div{display:grid;gap:.12rem;min-width:0}.chessimals-challenge-summary__hero small,.chessimals-challenge-rival-voice small{color:var(--chessimals-muted);font-size:.68rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-challenge-summary strong{font-size:1rem;font-weight:1000}.chessimals-challenge-summary__hero p,.chessimals-challenge-rival-voice p{margin:0;color:var(--chessimals-muted);font-size:.86rem;font-weight:820;line-height:1.28}.chessimals-challenge-rival-voice{border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:.95rem;padding:.65rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-summary__actions{display:grid}.chessimals-challenge-summary__play{min-height:3.35rem;font-size:1.02rem;box-shadow:0 .9rem 1.8rem rgba(var(--chessimals-primary-rgb),.26)}.chessimals-result.is-challenge-result .chessimals-challenge-tension,.chessimals-result.is-challenge-result .chessimals-challenge-rival--next{display:grid;grid-template-columns:minmax(0,1fr);border:0;border-radius:.75rem;padding:.45rem .6rem;background:rgba(var(--chessimals-primary-rgb),.07)}.chessimals-result.is-challenge-result .chessimals-challenge-rival--next{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.7rem;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:1rem;padding:.65rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.12),transparent),rgba(var(--chessimals-primary-rgb),.06)}.chessimals-result.is-challenge-result .chessimals-challenge-rival--next>.chessimals-bot-avatar{width:3.4rem;height:3.4rem;border-radius:1.1rem;background:var(--chessimals-elevated-strong);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14),0 .45rem 1rem rgba(var(--chessimals-primary-rgb),.1)}.chessimals-result.is-challenge-result .chessimals-challenge-rival--next p{margin:0;color:var(--chessimals-text);font-size:.9rem;font-weight:900;line-height:1.22}.chessimals-result.is-challenge-result .chessimals-challenge-tension.is-critical{background:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.1)}.chessimals-challenge-rival-voice>.chessimals-bot-avatar{width:2.35rem;height:2.35rem;border-radius:999px;font-size:1.15rem}.chessimals-challenge-summary__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}.chessimals-challenge-record{display:flex;align-items:center;gap:.45rem;border:1px solid rgba(var(--chessimals-sky-rgb),.34);border-radius:999px;padding:.45rem .65rem;background:rgba(var(--chessimals-sky-rgb),.14);color:var(--chessimals-text)}.chessimals-challenge-record span{display:grid;place-items:center;width:1.45rem;height:1.45rem;border-radius:999px;background:var(--chessimals-sky);color:#fffaf0;font-size:.82rem}.chessimals-challenge-record strong{font-size:.9rem}.chessimals-challenge-tension{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.55rem;align-items:center;border:1px solid rgba(var(--chessimals-sky-rgb),.3);border-radius:.9rem;padding:.65rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.16),rgba(var(--chessimals-primary-rgb),.08)),var(--chessimals-elevated)}.chessimals-challenge-tension.is-critical{border-color:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.38);background:linear-gradient(135deg,rgba(var(--ion-color-danger-rgb, 235, 68, 90),.16),rgba(var(--chessimals-primary-rgb),.08)),var(--chessimals-elevated)}.chessimals-challenge-tension>span{display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:999px;background:rgba(var(--chessimals-sky-rgb),.18);color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-challenge-tension.is-critical>span{background:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.18)}.chessimals-challenge-tension div{display:grid;gap:.14rem;min-width:0}.chessimals-challenge-tension strong{font-size:.95rem}.chessimals-challenge-tension p{font-size:.84rem}.chessimals-challenge-summary__stats span{display:grid;gap:.1rem;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:.8rem;padding:.45rem;background:var(--chessimals-elevated)}.chessimals-challenge-summary__stats b{color:var(--chessimals-text);font-size:1rem;font-weight:1000}.chessimals-challenge-rival--next em{color:var(--chessimals-muted);font-size:.78rem;font-style:normal;font-weight:820;line-height:1.25;white-space:normal}.chessimals-tip p,.chessimals-powers p{color:var(--chessimals-muted)}.chessimals-learn-more{justify-self:start;min-height:2.75rem;border:0;border-radius:999px;padding:0 1rem;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);font:inherit;font-weight:950;box-shadow:0 .75rem 1.6rem rgba(var(--chessimals-primary-rgb),.28)}.chessimals-size,.chessimals-mode,.chessimals-status{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem}.chessimals-status{order:3;grid-template-columns:repeat(3,minmax(0,1fr))}.chessimals-size button,.chessimals-mode button,.chessimals-status div{display:grid;gap:.2rem;align-content:center;min-width:0;min-height:3.875rem;padding:.55rem .65rem;border:1px solid var(--chessimals-border);border-radius:1rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;text-align:left}.chessimals-size button.is-selected{border-color:var(--chessimals-primary);box-shadow:0 0 0 2px rgba(var(--chessimals-primary-rgb),.16)}.chessimals-mode button.is-selected{border-color:var(--chessimals-primary);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.13),transparent),var(--chessimals-panel);box-shadow:0 0 0 2px rgba(var(--chessimals-primary-rgb),.16)}.chessimals-status__timer{position:relative;overflow:hidden;isolation:isolate;border-color:rgba(var(--chessimals-primary-rgb),.42)!important}.chessimals-status__timer:before{content:\"\";position:absolute;inset:auto 0 0;z-index:0;height:.22rem;transform:scaleX(var(--timer-progress, 1));transform-origin:left center;background:var(--chessimals-primary);transition:transform .18s linear,background .18s ease}.chessimals-status__timer.is-low{border-color:rgba(var(--ion-color-danger-rgb, 235, 68, 90),.58)!important;background:linear-gradient(135deg,rgba(var(--ion-color-danger-rgb, 235, 68, 90),.16),transparent),var(--chessimals-panel)!important;animation:chessimals-turn-pulse .82s ease-in-out infinite}.chessimals-status__timer.is-low:before{background:var(--ion-color-danger, #eb445a)}.chessimals-status__timer.is-low strong{color:var(--ion-color-danger, #eb445a)}.chessimals-status__score.is-pop{border-color:rgba(var(--chessimals-sky-rgb),.42);background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.16),transparent),var(--chessimals-panel);animation:chessimals-score-pulse .62s ease-out both}.chessimals-status__timer small,.chessimals-status__timer strong{position:relative;z-index:1}.chessimals-challenge-live{order:4;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.35fr);gap:.65rem;align-items:stretch;border:1px solid rgba(var(--chessimals-sky-rgb),.28);border-radius:8px;padding:.68rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.13),transparent 52%),var(--chessimals-elevated-soft);color:var(--chessimals-text)}.chessimals-challenge-live__rival{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.55rem;align-items:center;min-width:0}.chessimals-challenge-live__rival>.chessimals-bot-avatar{display:grid;place-items:center;width:2.7rem;height:2.7rem;border-radius:8px;background:rgba(var(--chessimals-sky-rgb),.16);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.14);font-size:1.35rem}.chessimals-challenge-live__rival div{display:grid;gap:.08rem;min-width:0}.chessimals-challenge-live__rival small,.chessimals-challenge-live__metrics small{overflow:hidden;color:var(--chessimals-muted);font-size:.64rem;font-weight:900;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-challenge-live__rival strong{overflow:hidden;color:var(--chessimals-text);font-size:1rem;font-weight:1000;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-live__rival p{display:-webkit-box;overflow:hidden;margin:0;color:var(--chessimals-muted);font-size:.78rem;font-weight:820;line-height:1.18;-webkit-box-orient:vertical;-webkit-line-clamp:2}.chessimals-challenge-live__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.42rem}.chessimals-challenge-live__metrics span{display:grid;gap:.1rem;align-content:center;min-width:0;min-height:3rem;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:8px;padding:.4rem .45rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-live__metrics b{overflow:hidden;color:var(--chessimals-text);font-size:.92rem;font-weight:1000;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-tension--live{grid-column:1 / -1;padding:.55rem}.chessimals-difficulty{display:flex;flex-wrap:wrap;gap:.55rem}.chessimals-difficulty button{min-height:2.75rem;border:1px solid var(--chessimals-border);border-radius:999px;padding:0 1rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;font-weight:950}.chessimals-difficulty button.is-selected{border-color:var(--chessimals-primary);background:var(--chessimals-primary);color:#fff}.chessimals-bots{display:grid;grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));gap:.625rem}.chessimals-bots button{display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"avatar title\" \"avatar body\" \"avatar tendency\";column-gap:.55rem;row-gap:.12rem;min-width:0;min-height:4.75rem;border:1px solid var(--chessimals-border);border-radius:1rem;padding:.65rem;background:var(--chessimals-panel);color:var(--chessimals-text);font:inherit;text-align:left}.chessimals-bots button>.chessimals-bot-avatar{grid-area:avatar;display:grid;place-items:center;width:2.1rem;height:2.1rem;border-radius:50%;background:rgba(var(--chessimals-primary-rgb),.12);font-size:1.2rem}.chessimals-bots button strong{grid-area:title;align-self:end;font-size:.95rem;font-weight:950}.chessimals-bots button small{grid-area:body;color:var(--chessimals-muted);font-size:.75rem;font-weight:750;line-height:1.25}.chessimals-bots button p{grid-area:tendency;margin:.12rem 0 0;color:var(--chessimals-muted);font-size:.72rem;font-weight:820;line-height:1.24}.chessimals-bots button.is-selected{border-color:var(--chessimals-primary);background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.13),transparent),var(--chessimals-panel);box-shadow:0 0 0 2px rgba(var(--chessimals-primary-rgb),.16),0 .75rem 1.5rem rgba(var(--chessimals-primary-rgb),.1)}.chessimals-size strong,.chessimals-mode strong,.chessimals-status strong,.chessimals-result strong,.chessimals-rematch-status strong,.chessimals-tip strong{font-weight:950}.chessimals-status strong{min-width:0;font-size:clamp(.95rem,2.5vw,1.2rem);line-height:1.08;overflow-wrap:anywhere;white-space:normal}.chessimals-size small,.chessimals-mode small,.chessimals-status small{color:var(--chessimals-muted);font-size:.78rem;line-height:1.12}.chessimals-board-wrap{--chessimals-board-radius: min(.85rem, 14px);display:flex;justify-content:center;min-width:0;max-width:100%;overflow-x:auto;width:100%;padding:.25rem 0}.chessimals-board-wrap.is-orienting .chessimals-board-frame{animation:chessimals-orient-board .32s ease}.chessimals-board-wrap.is-finished{overflow-x:visible}.chessimals-board-frame{flex:0 1 58rem;min-width:0;width:100%;max-width:58rem;border-radius:var(--chessimals-board-radius)}.chessimals-board{position:relative;display:grid;grid-template-columns:repeat(var(--board-size),minmax(0,1fr));grid-template-rows:repeat(var(--board-size),minmax(0,1fr));min-width:0;width:100%;aspect-ratio:1 / 1;overflow:hidden;isolation:isolate;contain:paint;border:1px solid var(--chessimals-border);border-radius:var(--chessimals-board-radius);clip-path:inset(0 round var(--chessimals-board-radius));-webkit-mask-image:-webkit-radial-gradient(white,black);background:radial-gradient(ellipse at 16% 18%,rgba(255,255,255,.34),transparent 18%),radial-gradient(ellipse at 82% 78%,rgba(var(--chessimals-primary-rgb),.1),transparent 22%),radial-gradient(ellipse at 32% 68%,rgba(var(--chessimals-stone-rgb),.05),transparent 30%),radial-gradient(ellipse at 66% 34%,rgba(255,255,255,.08),transparent 24%),var(--chessimals-border);box-shadow:inset 0 0 0 1px #ffffff1a,0 .85rem 2.1rem var(--chessimals-board-shadow)}.chessimals-board-wrap.is-syncing .chessimals-board{cursor:wait}.chessimals-cell-coordinate{position:absolute;z-index:5;color:color-mix(in srgb,var(--chessimals-muted) 78%,var(--chessimals-text));font-size:.68rem;font-weight:950;letter-spacing:.02em;line-height:1;pointer-events:none;text-transform:uppercase;-webkit-user-select:none;user-select:none}.chessimals-cell-coordinate--rank{top:.2rem;left:.24rem}.chessimals-cell-coordinate--file{right:.24rem;bottom:.18rem}@keyframes chessimals-orient-board{0%{opacity:.72;filter:blur(.06rem);transform:scale(.985)}52%{opacity:.92;filter:blur(0);transform:scale(1.012)}to{opacity:1;filter:blur(0);transform:scale(1)}}.chessimals-center-line{position:absolute;top:50%;left:0;right:0;z-index:2;display:flex;align-items:center;justify-content:center;border-top:.08rem dashed rgba(var(--chessimals-primary-rgb),.56);filter:drop-shadow(0 0 .24rem rgba(var(--chessimals-primary-rgb),.26));pointer-events:none}.chessimals-power-trail{position:absolute;inset:0;z-index:5;pointer-events:none;--trail-color: rgba(var(--chessimals-magic-rgb), .88);--trail-glow: rgba(var(--chessimals-magic-rgb), .48)}.chessimals-power-trail.is-capture{--trail-color: rgba(var(--chessimals-capture-rgb), .86);--trail-glow: rgba(var(--chessimals-capture-rgb), .46)}.chessimals-power-trail.effect-eagle{--trail-color: rgba(255, 255, 255, .92);--trail-glow: rgba(120, 210, 255, .54)}.chessimals-power-trail.effect-bull{--trail-color: rgba(188, 131, 76, .86);--trail-glow: rgba(188, 131, 76, .36)}.chessimals-power-trail.effect-kangaroo{--trail-color: rgba(174, 124, 255, .86);--trail-glow: rgba(174, 124, 255, .42)}.chessimals-power-trail.effect-lion{--trail-color: rgba(255, 221, 120, .88);--trail-glow: rgba(255, 190, 56, .42)}.chessimals-power-trail>span{position:absolute;top:var(--trail-y);left:var(--trail-x);width:var(--trail-length);height:.45rem;border-radius:999px;background:linear-gradient(90deg,transparent,var(--trail-color) 42%,rgba(255,255,255,.92));box-shadow:0 0 .75rem var(--trail-glow),0 0 1.45rem var(--trail-glow);transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0);transform-origin:0 50%;animation:chessimals-power-trail .72s ease-out both}.chessimals-power-trail.effect-eagle>span{height:.28rem;background:linear-gradient(90deg,transparent,rgba(255,255,255,.95) 44%,rgba(120,210,255,.58)),repeating-linear-gradient(90deg,transparent 0 .7rem,rgba(255,255,255,.66) .7rem .92rem);animation-name:chessimals-eagle-trail}.chessimals-power-trail.effect-bull>span{height:.72rem;background:repeating-linear-gradient(90deg,rgba(255,255,255,.42) 0 .18rem,transparent .18rem .42rem),linear-gradient(90deg,transparent,var(--trail-color),rgba(255,255,255,.86));animation-name:chessimals-bull-trail}.chessimals-power-trail.effect-kangaroo>span{height:1rem;border-top:.16rem dashed var(--trail-color);background:transparent;box-shadow:none;filter:drop-shadow(0 0 .8rem var(--trail-glow));animation-name:chessimals-kangaroo-trail}.chessimals-power-trail.effect-lion>span{height:.62rem;background:linear-gradient(90deg,transparent,var(--trail-color),rgba(255,255,255,.82)),repeating-linear-gradient(115deg,rgba(255,255,255,.55) 0 .12rem,transparent .12rem .34rem);animation-name:chessimals-lion-trail}@keyframes chessimals-power-trail{0%{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0)}28%{opacity:1;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(.72)}to{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1)}}@keyframes chessimals-eagle-trail{0%{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0) skew(-10deg)}30%{opacity:1;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(.82) skew(-10deg)}to{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1.05) skew(-10deg)}}@keyframes chessimals-bull-trail{0%{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0) scaleY(1)}38%{opacity:1;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(.7) scaleY(1.18)}to{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1) scaleY(.82)}}@keyframes chessimals-kangaroo-trail{0%{opacity:0;transform:translateY(-.4rem) rotate(var(--trail-angle)) scaleX(0)}34%{opacity:1;transform:translateY(-1.2rem) rotate(var(--trail-angle)) scaleX(.62)}to{opacity:0;transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1)}}@keyframes chessimals-lion-trail{0%{opacity:0;filter:saturate(1);transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(0)}36%{opacity:1;filter:saturate(1.4);transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(.76)}to{opacity:0;filter:saturate(1.1);transform:translateY(-50%) rotate(var(--trail-angle)) scaleX(1)}}@keyframes chessimals-score-pulse{0%,to{transform:translateZ(0) scale(1)}42%{transform:translateZ(0) scale(1.035)}}.chessimals-challenge-intro{position:absolute;inset:0;z-index:7;display:grid;place-items:center;padding:clamp(.75rem,4vw,1.35rem);background:radial-gradient(circle at 50% 36%,rgba(var(--chessimals-sky-rgb),.24),transparent 34%),linear-gradient(135deg,#140c167a,#08120d57);backdrop-filter:blur(1.5px);animation:chessimals-challenge-intro-in .26s ease-out both}.chessimals-challenge-intro__card{display:grid;justify-items:center;gap:.55rem;width:min(18rem,92%);border:1px solid rgba(var(--chessimals-sky-rgb),.34);border-radius:8px;padding:.85rem;background:linear-gradient(135deg,rgba(var(--chessimals-sky-rgb),.14),transparent),var(--chessimals-elevated-strong);color:var(--chessimals-text);box-shadow:0 1.1rem 2.3rem #0000003d,inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.08);text-align:center}.chessimals-challenge-intro__avatar{display:grid;place-items:center;width:4rem;height:4rem;border-radius:8px;background:radial-gradient(circle at 35% 24%,var(--chessimals-glass-highlight),transparent 30%),rgba(var(--chessimals-sky-rgb),.16);box-shadow:inset 0 0 0 1px rgba(var(--chessimals-primary-rgb),.16),0 .7rem 1.5rem rgba(var(--chessimals-sky-rgb),.18);font-size:2.15rem}.chessimals-challenge-intro__copy{display:grid;gap:.14rem;min-width:0}.chessimals-challenge-intro__copy small,.chessimals-challenge-intro__facts small{overflow:hidden;color:var(--chessimals-muted);font-size:.64rem;font-weight:950;letter-spacing:0;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.chessimals-challenge-intro__copy strong{overflow:hidden;color:var(--chessimals-text);font-size:1.35rem;font-weight:1000;line-height:1.04;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-intro__copy p{display:-webkit-box;overflow:hidden;margin:0;color:var(--chessimals-muted);font-size:.88rem;font-weight:820;line-height:1.24;-webkit-box-orient:vertical;-webkit-line-clamp:2}.chessimals-challenge-intro__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;width:100%}.chessimals-challenge-intro__facts span{display:grid;gap:.1rem;min-width:0;border:1px solid rgba(var(--chessimals-primary-rgb),.12);border-radius:8px;padding:.38rem;background:var(--chessimals-elevated-soft)}.chessimals-challenge-intro__facts b{overflow:hidden;color:var(--chessimals-text);font-size:.86rem;font-weight:1000;text-overflow:ellipsis;white-space:nowrap}.chessimals-challenge-intro .chessimals-primary{min-height:2.45rem;width:100%}@keyframes chessimals-challenge-intro-in{0%{opacity:0}to{opacity:1}}.chessimals-board-overlay{position:absolute;inset:0;z-index:8;display:grid;place-content:center;gap:.5rem;padding:1.25rem;background:radial-gradient(circle at 50% 34%,rgba(255,226,129,.34),transparent 24%),radial-gradient(circle at 50% 52%,rgba(var(--chessimals-primary-rgb),.34),transparent 42%),linear-gradient(135deg,#140c16e0,#08120dc7);color:#fff;text-align:center;backdrop-filter:blur(2px);overflow:hidden}.chessimals-board-overlay.is-defeat{background:radial-gradient(circle at 50% 34%,rgba(143,168,206,.26),transparent 24%),radial-gradient(circle at 50% 52%,rgba(72,86,115,.42),transparent 42%),linear-gradient(135deg,#090c14e6,#1c1e2bcc)}.chessimals-board-overlay:before{position:absolute;inset:0;background:radial-gradient(circle at 20% 30%,rgba(255,255,255,.58) 0 .08rem,transparent .1rem),radial-gradient(circle at 75% 25%,rgba(255,226,129,.7) 0 .1rem,transparent .12rem),radial-gradient(circle at 68% 72%,rgba(var(--chessimals-capture-rgb),.54) 0 .08rem,transparent .1rem),radial-gradient(circle at 35% 78%,rgba(255,255,255,.48) 0 .07rem,transparent .09rem),radial-gradient(circle at 84% 66%,rgba(255,255,255,.38) 0 .06rem,transparent .08rem),radial-gradient(circle at 14% 64%,rgba(255,226,129,.48) 0 .07rem,transparent .09rem);content:\"\";opacity:.72;animation:chessimals-victory-sparks 1.5s ease-in-out infinite}.chessimals-board-overlay__rays{position:absolute;inset:-18%;background:conic-gradient(from 8deg,transparent 0 7deg,rgba(255,226,129,.16) 7deg 11deg,transparent 11deg 22deg);opacity:.85;animation:chessimals-finale-rays 8s linear infinite}.chessimals-board-overlay.is-defeat .chessimals-board-overlay__rays{background:conic-gradient(from 8deg,transparent 0 8deg,rgba(180,204,240,.1) 8deg 12deg,transparent 12deg 24deg);animation-duration:12s}.chessimals-board-overlay__ribbon{position:absolute;top:-20%;width:.42rem;height:54%;border-radius:999px;background:linear-gradient(to bottom,transparent,rgba(255,226,129,.72),transparent);opacity:.7;transform:rotate(var(--ribbon-angle, 12deg));animation:chessimals-finale-ribbon 2.5s ease-in-out infinite}.chessimals-board-overlay.is-defeat .chessimals-board-overlay__ribbon{background:linear-gradient(to bottom,transparent,rgba(180,204,240,.42),transparent);opacity:.48}.chessimals-board-overlay__ribbon.ribbon-a{left:18%;--ribbon-angle: -18deg}.chessimals-board-overlay__ribbon.ribbon-b{left:50%;--ribbon-angle: 8deg;animation-delay:.32s}.chessimals-board-overlay__ribbon.ribbon-c{right:18%;--ribbon-angle: 20deg;animation-delay:.64s}.chessimals-board-overlay>*{position:relative;z-index:1}.chessimals-board-overlay span{justify-self:center;border-radius:999px;padding:.32rem .7rem;background:#ffffff26;color:#ffffffe6;font-size:.76rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-board-overlay strong{font-size:clamp(1.65rem,8vw,3rem);line-height:1;font-weight:950;text-shadow:0 0 1.25rem rgba(255,255,255,.26)}.chessimals-board-overlay em{justify-self:center;display:grid;place-items:center;width:clamp(3rem,14vw,4.6rem);height:clamp(3rem,14vw,4.6rem);border:.16rem solid rgba(255,255,255,.62);border-radius:50%;background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.72),transparent 18%),linear-gradient(135deg,#ffe281,#b98436);color:#2d2412;font-size:clamp(1.1rem,5vw,1.65rem);font-style:normal;font-weight:950;box-shadow:0 0 0 .45rem #ffe2811f,0 1rem 2rem #00000042;animation:chessimals-finale-medal 1.8s ease-in-out infinite}.chessimals-board-overlay.is-defeat em{background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.48),transparent 18%),linear-gradient(135deg,#d9e2ef,#69758e);color:#182032;box-shadow:0 0 0 .45rem #b4ccf01a,0 1rem 2rem #00000052}.chessimals-board-overlay em.has-avatar{overflow:hidden;background:#fff;padding:0}.chessimals-board-overlay em.has-avatar img{display:block;width:100%;height:100%;object-fit:cover}.chessimals-board-overlay b{justify-self:center;color:#fffc;font-size:.8rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.chessimals-board-overlay small{color:#ffffffd1;font-size:clamp(.9rem,3vw,1.1rem);font-weight:800}.chessimals-board-overlay__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem;width:min(26rem,92%);margin:.2rem auto 0}.chessimals-board-overlay__stats div{display:grid;gap:.08rem;min-width:0;border:1px solid rgba(255,255,255,.18);border-radius:.75rem;padding:.42rem .46rem;background:#ffffff1a;backdrop-filter:blur(3px)}.chessimals-board-overlay__stats dt,.chessimals-board-overlay__stats dd{overflow:hidden;margin:0;text-overflow:ellipsis;white-space:nowrap}.chessimals-board-overlay__stats dt{color:#ffffffad;font-size:clamp(.52rem,2.1vw,.66rem);font-weight:950;letter-spacing:.04em;text-transform:uppercase}.chessimals-board-overlay__stats dd{color:#fff;font-size:clamp(.68rem,2.8vw,.88rem);font-weight:950}@keyframes chessimals-victory-sparks{0%,to{opacity:.46;transform:translateY(0) scale(.98)}50%{opacity:.95;transform:translateY(-.35rem) scale(1.02)}}@keyframes chessimals-finale-rays{to{transform:rotate(360deg)}}@keyframes chessimals-finale-ribbon{0%,to{opacity:.18;transform:translateY(-.5rem) rotate(var(--ribbon-angle))}50%{opacity:.75;transform:translateY(1.4rem) rotate(var(--ribbon-angle))}}@keyframes chessimals-finale-medal{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-.18rem) scale(1.04)}}.chessimals-cell{position:relative;isolation:isolate;--chessimals-cell-bg: var(--chessimals-cell-light);display:grid;place-items:center;min-width:0;min-height:0;aspect-ratio:1;border:0;background:radial-gradient(ellipse at 26% 24%,rgba(255,255,255,.12),transparent 24%),radial-gradient(ellipse at 78% 76%,rgba(61,54,36,.06),transparent 28%),linear-gradient(135deg,rgba(255,255,255,.04),transparent 52%,rgba(52,44,28,.04)),var(--chessimals-cell-bg);color:var(--chessimals-text);font:inherit;overflow:hidden;transition:background .16s ease,box-shadow .16s ease,transform .16s ease}.chessimals-cell:before,.chessimals-cell:after{pointer-events:none}.chessimals-cell-texture{position:absolute;inset:0;z-index:0;display:block;pointer-events:none;opacity:.42;mix-blend-mode:multiply;background:radial-gradient(ellipse at var(--wear-x, 28%) var(--wear-y, 32%),rgba(255,255,255,.16),transparent 17%),radial-gradient(ellipse at var(--wear-x2, 74%) var(--wear-y2, 68%),rgba(75,66,42,.09),transparent 25%),repeating-linear-gradient(var(--wear-angle, 26deg),rgba(75,66,42,.045) 0 1px,transparent 1px .52rem),linear-gradient(135deg,rgba(255,255,255,.06),transparent 42%,rgba(52,44,28,.045))}.chessimals-cell-texture:after{position:absolute;inset:.08rem;border:1px solid rgba(75,66,42,.05);border-radius:.18rem;box-shadow:inset .08rem .08rem #ffffff14,inset -.08rem -.08rem #342c1c0b;content:\"\"}.chessimals-cell.is-edge-cell .chessimals-cell-texture{opacity:.56;background:radial-gradient(ellipse at var(--wear-x, 28%) var(--wear-y, 32%),rgba(255,255,255,.14),transparent 18%),radial-gradient(ellipse at var(--wear-x2, 74%) var(--wear-y2, 68%),rgba(75,66,42,.14),transparent 28%),linear-gradient(135deg,rgba(70,52,28,.055),transparent 44%,rgba(52,44,28,.09)),repeating-linear-gradient(var(--wear-angle, 26deg),rgba(75,66,42,.055) 0 1px,transparent 1px .48rem)}.chessimals-cell.wear-0{--wear-x: 22%;--wear-y: 24%;--wear-x2: 78%;--wear-y2: 72%;--wear-angle: 18deg}.chessimals-cell.wear-1{--wear-x: 64%;--wear-y: 18%;--wear-x2: 30%;--wear-y2: 76%;--wear-angle: -24deg}.chessimals-cell.wear-2{--wear-x: 42%;--wear-y: 58%;--wear-x2: 82%;--wear-y2: 26%;--wear-angle: 42deg}.chessimals-cell.wear-3{--wear-x: 74%;--wear-y: 68%;--wear-x2: 24%;--wear-y2: 28%;--wear-angle: -12deg}.chessimals-cell.wear-4{--wear-x: 34%;--wear-y: 18%;--wear-x2: 62%;--wear-y2: 84%;--wear-angle: 64deg}.chessimals-cell.wear-5{--wear-x: 18%;--wear-y: 70%;--wear-x2: 70%;--wear-y2: 34%;--wear-angle: -48deg}:host-context(html.ion-palette-dark) .chessimals-cell-texture,:host-context([data-theme=\"dark\"]) .chessimals-cell-texture{opacity:.34;mix-blend-mode:soft-light}.chessimals-cell.is-dark-cell{--chessimals-cell-bg: var(--chessimals-cell-dark)}.chessimals-cell.is-selected{z-index:1;background:radial-gradient(circle,rgba(var(--chessimals-selected-rgb),.28) 0 36%,transparent 62%),linear-gradient(135deg,rgba(var(--chessimals-selected-rgb),.22),#ffffff14),var(--chessimals-cell-bg);box-shadow:inset 0 0 0 .18rem var(--chessimals-selected),inset 0 0 .55rem #ffffffb8,inset 0 0 1.8rem rgba(var(--chessimals-selected-rgb),.42),0 0 .55rem rgba(var(--chessimals-selected-rgb),.56),0 0 1.55rem rgba(var(--chessimals-selected-rgb),.36)}.chessimals-board.is-power-aiming .chessimals-cell.is-selected{background:radial-gradient(circle at 50% 52%,rgba(var(--chessimals-magic-rgb),.38) 0 34%,transparent 64%),radial-gradient(circle at 32% 24%,rgba(255,255,255,.34),transparent 28%),linear-gradient(135deg,rgba(var(--chessimals-magic-rgb),.2),#ffffff14),var(--chessimals-cell-bg);box-shadow:inset 0 0 0 .18rem var(--chessimals-magic-hot),inset 0 0 .8rem #ffffffa8,inset 0 0 1.9rem rgba(var(--chessimals-magic-rgb),.5),0 0 .7rem rgba(var(--chessimals-magic-rgb),.62),0 0 1.75rem rgba(var(--chessimals-magic-rgb),.42)}.chessimals-board.is-power-aiming .chessimals-cell.is-legal:not(.is-capture):after{border-color:rgba(var(--chessimals-magic-rgb),.94);box-shadow:0 0 .72rem rgba(var(--chessimals-magic-rgb),.48),inset 0 0 .6rem #fff3}.chessimals-board.is-power-aiming .chessimals-target{background:var(--chessimals-magic-hot);box-shadow:0 0 0 .2rem rgba(var(--chessimals-magic-rgb),.2),0 0 .95rem rgba(var(--chessimals-magic-rgb),.62)}.chessimals-cell.is-legal:not(.is-capture):after{position:absolute;inset:13%;z-index:2;border:max(2px,1.8%) solid var(--chessimals-move);border-radius:.55rem;content:\"\";opacity:.74;pointer-events:none}.chessimals-cell.is-last:not(.is-selected):not(.is-legal):not(.is-capture){background:radial-gradient(circle,rgba(var(--chessimals-last-rgb),.16) 0 42%,transparent 68%),var(--chessimals-cell-bg)}.chessimals-cell.is-capture{z-index:2;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.24),transparent 34%),linear-gradient(135deg,rgba(var(--chessimals-capture-rgb),.14),#ffffff14),var(--chessimals-cell-bg);box-shadow:inset 0 0 0 .14rem rgba(var(--chessimals-capture-rgb),.84),inset 0 0 1.4rem rgba(var(--chessimals-capture-rgb),.24),0 0 .95rem rgba(var(--chessimals-capture-rgb),.34);animation:chessimals-capture-aura 1.35s ease-in-out infinite}.chessimals-cell.is-capture:before{position:absolute;inset:4%;z-index:1;display:block;border-radius:.64rem;background:linear-gradient(90deg,transparent,rgba(255,255,255,.52),transparent),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.24),transparent 58%);content:\"\";opacity:0;transform:translate(-42%) scale(.9);animation:chessimals-capture-sweep 1.35s ease-in-out infinite}.chessimals-cell.is-capture:after{position:absolute;inset:8%;z-index:3;border:max(2px,1.55%) solid rgba(var(--chessimals-capture-rgb),.9);border-radius:.62rem;box-shadow:0 0 .75rem rgba(var(--chessimals-capture-rgb),.5),inset 0 0 .72rem #ffffff38;content:\"\";pointer-events:none;animation:chessimals-capture-frame 1.35s ease-in-out infinite}.chessimals-cell.has-capture-ready:not(.is-selected):after{position:absolute;inset:16%;z-index:3;border:max(2px,1.45%) solid rgba(var(--chessimals-selected-rgb),.72);border-radius:999px;box-shadow:0 0 .65rem rgba(var(--chessimals-selected-rgb),.34),inset 0 0 .55rem #ffffff2e;content:\"\"}.chessimals-cell.is-winning.is-legal:not(.is-capture):after{border-color:rgba(var(--chessimals-warning-rgb),.92);border-radius:999px;box-shadow:0 0 .75rem rgba(var(--chessimals-warning-rgb),.48),inset 0 0 .58rem #ffffff38}.chessimals-cell.is-winning .chessimals-target{background:var(--chessimals-warning);box-shadow:0 0 0 .22rem rgba(var(--chessimals-warning-rgb),.2),0 0 .95rem rgba(var(--chessimals-warning-rgb),.56)}.chessimals-cell.has-threat:not(.is-selected):not(.is-capture){background:radial-gradient(circle at 50% 52%,rgba(var(--chessimals-warning-rgb),.16),transparent 52%),var(--chessimals-cell-bg)}.chessimals-cell.has-threat:not(.is-selected):not(.is-capture) .chessimals-piece{filter:drop-shadow(0 0 .38rem rgba(var(--chessimals-warning-rgb),.52)) var(--chessimals-piece-white-shadow)}.chessimals-cell.has-threat:not(.is-selected):not(.is-capture) .chessimals-piece.is-black{filter:drop-shadow(0 0 .38rem rgba(var(--chessimals-warning-rgb),.52)) var(--chessimals-piece-black-shadow)}.chessimals-cell.has-threat:not(.is-selected):not(.is-capture):before{position:absolute;top:.26rem;right:.26rem;z-index:4;width:.48rem;height:.48rem;border-radius:999px;background:rgba(var(--chessimals-warning-rgb),.96);box-shadow:0 0 0 .18rem rgba(var(--chessimals-warning-rgb),.22);content:\"\"}@keyframes chessimals-capture-aura{0%,to{filter:saturate(1);box-shadow:inset 0 0 0 .12rem rgba(var(--chessimals-capture-rgb),.78),inset 0 0 1rem rgba(var(--chessimals-capture-rgb),.2),0 0 .64rem rgba(var(--chessimals-capture-rgb),.32)}50%{filter:saturate(1.22);box-shadow:inset 0 0 0 .16rem rgba(var(--chessimals-capture-rgb),.96),inset 0 0 1.34rem rgba(var(--chessimals-capture-rgb),.34),0 0 1.2rem rgba(var(--chessimals-capture-rgb),.48)}}@keyframes chessimals-capture-sweep{0%{opacity:0;transform:translate(-52%) scale(.88)}42%{opacity:.66;transform:translate(0) scale(1)}to{opacity:0;transform:translate(48%) scale(.92)}}@keyframes chessimals-capture-frame{0%,to{opacity:.68;transform:scale(.96)}50%{opacity:1;transform:scale(1)}}.chessimals-cell.has-source-effect:not(.is-moving-source){background:radial-gradient(circle,rgba(var(--chessimals-selected-rgb),.12) 0 34%,transparent 64%),var(--chessimals-cell-bg)}.chessimals-cell.has-move-effect{z-index:2;background:radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.22) 0 34%,transparent 68%),var(--chessimals-cell-bg);box-shadow:inset 0 0 0 .16rem rgba(var(--chessimals-capture-rgb),.86),inset 0 0 1.2rem rgba(var(--chessimals-capture-rgb),.26),0 0 1.1rem rgba(var(--chessimals-capture-rgb),.42)}.chessimals-cell.has-move-effect:before{position:absolute;inset:.12rem;z-index:1;display:block;border-radius:.7rem;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.48),transparent 22%),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.42),transparent 58%);content:\"\";opacity:0;transform:scale(.72);animation:chessimals-power-impact .7s ease-out both}.chessimals-cell.has-move-effect:after{position:absolute;inset:.28rem;z-index:4;display:block;border:.14rem solid rgba(255,255,255,.72);border-radius:.58rem;box-shadow:0 0 .5rem #ffffff5c,0 0 1rem rgba(var(--chessimals-capture-rgb),.32);content:\"\";animation:chessimals-power-frame .86s ease-out both}.chessimals-cell.has-capture-effect{animation:chessimals-capture-hit .78s ease-out both}.chessimals-cell.effect-eagle:before{background:linear-gradient(135deg,transparent 10%,rgba(255,255,255,.78) 48%,transparent 52%),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.36),transparent 62%)}.chessimals-cell.effect-bull:before{background:repeating-linear-gradient(90deg,rgba(255,255,255,.34) 0 .16rem,transparent .16rem .34rem),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.38),transparent 62%)}.chessimals-cell.effect-kangaroo:before{border-radius:999px;background:radial-gradient(circle at 42% 44%,rgba(255,255,255,.58),transparent 18%),radial-gradient(circle at 58% 56%,rgba(var(--chessimals-capture-rgb),.4),transparent 64%)}.chessimals-cell.effect-lion:before{background:conic-gradient(from 0deg,transparent,rgba(255,255,255,.56),transparent,rgba(var(--chessimals-capture-rgb),.4),transparent),radial-gradient(circle at 50% 50%,rgba(var(--chessimals-capture-rgb),.34),transparent 62%)}@keyframes chessimals-power-impact{0%{opacity:0;transform:scale(.54) rotate(0)}28%{opacity:1;transform:scale(.96) rotate(2deg)}to{opacity:0;transform:scale(1.3) rotate(8deg)}}@keyframes chessimals-power-frame{0%{opacity:0;transform:scale(.84)}34%{opacity:1;transform:scale(1.02)}to{opacity:0;transform:scale(1.16)}}@keyframes chessimals-capture-hit{0%,to{filter:saturate(1)}35%{filter:saturate(1.35) brightness(1.08)}}.chessimals-cell.is-moving-source .chessimals-piece{opacity:0}.chessimals-piece{position:relative;z-index:2;display:block;width:68%;height:74%;color:var(--chessimals-primary);--chessimals-piece-fill: var(--chessimals-piece-white-fill);--chessimals-piece-side: var(--chessimals-piece-white-side);--chessimals-piece-line: var(--chessimals-piece-white-line);--chessimals-piece-outline: rgba(82, 65, 46, .34);filter:var(--chessimals-piece-white-shadow)}.chessimals-piece.is-black{color:#fff;--chessimals-piece-fill: var(--chessimals-piece-black-fill);--chessimals-piece-side: var(--chessimals-piece-black-side);--chessimals-piece-line: var(--chessimals-piece-black-line);--chessimals-piece-outline: rgba(255, 255, 255, .22);filter:var(--chessimals-piece-black-shadow)}.chessimals-moving-piece{position:absolute;top:0;left:0;z-index:6;width:calc(100% / var(--board-size));height:calc(100% / var(--board-size));display:grid;place-items:center;pointer-events:none;transform:translate(calc(var(--from-col) * 100%),calc(var(--from-row) * 100%));animation:chessimals-piece-travel .36s cubic-bezier(.2,.82,.24,1) both}@keyframes chessimals-piece-travel{0%{transform:translate(calc(var(--from-col) * 100%),calc(var(--from-row) * 100%)) scale(1)}68%{transform:translate(calc(var(--to-col) * 100%),calc(var(--to-row) * 100%)) scale(1.07)}to{transform:translate(calc(var(--to-col) * 100%),calc(var(--to-row) * 100%)) scale(1)}}.chessimals-piece__side,.chessimals-piece__head,.chessimals-piece__collar,.chessimals-piece__neck,.chessimals-piece__base{position:absolute;display:block;left:50%;background:var(--chessimals-piece-fill);border:max(1px,1.25%) solid var(--chessimals-piece-outline);transform:translate(-50%)}.chessimals-piece__side{top:46%;z-index:0;width:58%;height:41%;border-radius:34% 34% 12% 12%;background:linear-gradient(96deg,var(--chessimals-piece-side) 0 34%,transparent 35%),var(--chessimals-piece-fill);clip-path:polygon(22% 0,78% 0,96% 100%,4% 100%);opacity:.92}.chessimals-piece__head{top:1%;z-index:4;width:48%;height:40%;border-radius:999px;background:radial-gradient(circle at 30% 22%,rgba(255,255,255,.72) 0 13%,transparent 14%),linear-gradient(135deg,rgba(255,255,255,.28) 0 34%,transparent 35%),var(--chessimals-piece-fill);box-shadow:inset -.18rem -.12rem #52412e0f,inset 0 -1px 0 var(--chessimals-piece-line)}.chessimals-piece.is-black .chessimals-piece__head{box-shadow:inset .18rem -.12rem #ffffff0f,inset 0 -1px 0 var(--chessimals-piece-line)}.chessimals-piece__collar{top:37%;z-index:5;width:72%;height:15%;border-radius:999px;background:linear-gradient(180deg,#f5cd77 0%,var(--chessimals-piece-gold) 55%,var(--chessimals-piece-gold-dark) 100%);border-color:color-mix(in srgb,var(--chessimals-piece-gold-dark) 72%,transparent);box-shadow:inset 0 .12rem #ffffff47,inset 0 -.08rem #462e1238,0 .08rem .18rem #462e1224}.chessimals-piece__neck{top:50%;z-index:2;width:52%;height:31%;clip-path:polygon(16% 0,84% 0,100% 100%,0 100%);background:linear-gradient(100deg,var(--chessimals-piece-side) 0 28%,transparent 29%),linear-gradient(180deg,var(--chessimals-piece-fill),color-mix(in srgb,var(--chessimals-piece-fill) 78%,var(--chessimals-piece-side)));box-shadow:inset -.12rem .1rem #ffffff14}.chessimals-piece__base{bottom:0;z-index:6;width:86%;height:17%;border-radius:.42rem .42rem .22rem .22rem;background:linear-gradient(100deg,var(--chessimals-piece-side) 0 18%,transparent 19%),linear-gradient(180deg,color-mix(in srgb,var(--chessimals-piece-fill) 92%,#ffffff),var(--chessimals-piece-fill));box-shadow:inset 0 .12rem #ffffff24,inset 0 -.1rem 0 var(--chessimals-piece-line)}.chessimals-target{width:16%;height:16%;border-radius:999px;background:var(--chessimals-move);opacity:.9;box-shadow:0 0 .9rem rgba(var(--chessimals-move-rgb),.42)}.chessimals-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.625rem}.chessimals-cards button{position:relative;isolation:isolate;display:grid;grid-template-rows:minmax(5.4rem,1fr) auto;gap:.5rem;place-items:stretch;min-height:8.15rem;padding:.55rem .55rem .7rem;border:.12rem solid rgba(var(--chessimals-magic-rgb),.54);border-radius:1.125rem;background:radial-gradient(circle at 50% 18%,rgba(255,255,255,.9),transparent 36%),linear-gradient(180deg,rgba(var(--chessimals-magic-rgb),.24),rgba(var(--chessimals-magic-deep),.08) 58%,transparent),var(--chessimals-panel);color:var(--chessimals-text);font:inherit;box-shadow:inset 0 0 0 .14rem #ffffff75,0 .55rem 1.2rem rgba(var(--chessimals-magic-rgb),.14);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.chessimals-powers__heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.chessimals-powers p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.chessimals-powers__heading span{flex:0 0 auto;border-radius:999px;padding:.28rem .62rem;background:rgba(var(--chessimals-primary-rgb),.12);color:var(--chessimals-primary);font-size:.78rem;font-weight:950}.chessimals-cards button.is-selected{border-color:var(--chessimals-magic-hot);background:radial-gradient(circle at 50% 16%,rgba(255,255,255,.42),transparent 30%),radial-gradient(circle at 50% 76%,rgba(var(--chessimals-magic-rgb),.2),transparent 56%),linear-gradient(135deg,rgba(var(--chessimals-magic-rgb),.2),#ffffff0a),var(--chessimals-panel);box-shadow:0 0 0 2px rgba(var(--chessimals-magic-rgb),.28),0 0 1.35rem rgba(var(--chessimals-magic-rgb),.48),0 .9rem 2rem rgba(var(--chessimals-magic-rgb),.18);transform:translateY(-1px)}.chessimals-cards button.is-selected:before,.chessimals-cards button.is-selected:after{position:absolute;inset:-.5rem;z-index:0;border-radius:inherit;content:\"\";pointer-events:none}.chessimals-cards button>*{position:relative;z-index:1}.chessimals-cards button.is-selected:before{background:radial-gradient(circle at 18% 24%,rgba(var(--chessimals-magic-rgb),.88) 0 .08rem,transparent .1rem),radial-gradient(circle at 78% 20%,rgba(255,255,255,.86) 0 .07rem,transparent .09rem),radial-gradient(circle at 86% 62%,rgba(var(--chessimals-magic-rgb),.72) 0 .06rem,transparent .08rem),radial-gradient(circle at 28% 78%,rgba(255,245,111,.78) 0 .07rem,transparent .09rem),radial-gradient(circle at 54% 8%,rgba(255,255,255,.68) 0 .05rem,transparent .07rem);opacity:.8;animation:chessimalsMagicParticles 1.8s ease-in-out infinite}.chessimals-cards button.is-selected:after{background:conic-gradient(from 12deg,transparent 0 16deg,rgba(var(--chessimals-magic-rgb),.2) 16deg 22deg,transparent 22deg 44deg);opacity:.68;filter:blur(.04rem);animation:chessimalsMagicAura 3.2s linear infinite}.chessimals-cards button.is-used{opacity:.42}.chessimals-animal-face{display:grid;place-items:center;width:100%;min-height:5.4rem;overflow:hidden;border:.12rem solid rgba(var(--chessimals-magic-deep),.62);border-radius:.9rem;background:radial-gradient(circle at 50% 34%,rgba(255,255,255,.96),transparent 44%),linear-gradient(135deg,rgba(var(--chessimals-magic-rgb),.38),rgba(var(--chessimals-magic-deep),.14)),var(--chessimals-animal-face-bg);color:color-mix(in srgb,var(--chessimals-text) 92%,#000);box-shadow:inset 0 0 0 .12rem #ffffff7a,inset 0 -.18rem .45rem rgba(var(--chessimals-magic-deep),.14)}.chessimals-animal-face img{display:block;width:min(5.45rem,88%);height:min(5.45rem,88%);pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;object-fit:contain;transform:none;filter:var(--chessimals-animal-face-filter)}.chessimals-bot-avatar,.chessimals-challenge-intro__avatar{display:grid;overflow:hidden;place-items:center}.chessimals-bot-avatar img,.chessimals-challenge-intro__avatar img{display:block;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;object-fit:contain}.chessimals-cards button.is-selected .chessimals-animal-face,.chessimals-powers.is-ready .chessimals-cards button:not(.is-used) .chessimals-animal-face{color:color-mix(in srgb,var(--chessimals-text) 94%,#000)}.chessimals-powers.is-locked .chessimals-animal-face{filter:var(--chessimals-animal-face-locked-filter);opacity:.86}.chessimals-powers.is-locked .chessimals-animal-face img,.chessimals-cards button.is-used .chessimals-animal-face img{opacity:var(--chessimals-animal-face-locked-img-opacity)}.chessimals-power-uses{position:absolute;top:.5rem;right:.5rem;z-index:2;display:inline-grid;place-items:center;min-width:1.72rem;height:1.35rem;border-radius:999px;padding:0 .38rem;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);font-size:.72rem;font-weight:1000;line-height:1;box-shadow:0 .35rem .9rem rgba(var(--chessimals-primary-rgb),.22)}.chessimals-cards strong{overflow:hidden;max-width:100%;align-self:center;font-size:clamp(.9rem,2.3vw,1.08rem);font-weight:950;line-height:1.05;text-align:center;text-overflow:ellipsis;white-space:nowrap}.chessimals-powers.is-locked .chessimals-cards{opacity:.68}.chessimals-powers.is-ready{border-color:rgba(var(--chessimals-magic-rgb),.46);box-shadow:0 0 0 1px rgba(var(--chessimals-magic-rgb),.12),0 1rem 2.4rem rgba(var(--chessimals-magic-rgb),.12)}.chessimals-powers.is-ready .chessimals-cards button:not(.is-used){animation:chessimalsPowerPulse 1.8s ease-in-out infinite}.chessimals-powers.is-unlock-pulse{animation:chessimalsPowersUnlocked 1.18s ease-out both}.chessimals-powers.is-unlock-pulse .chessimals-cards button:not(.is-used){animation:chessimalsPowerIgnite .76s ease-out both,chessimalsPowerPulse 1.8s ease-in-out .76s infinite}@keyframes chessimalsPowerPulse{0%,to{box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0)}50%{box-shadow:0 0 1.4rem rgba(var(--chessimals-magic-rgb),.24)}}@keyframes chessimalsPowersUnlocked{0%{box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0),0 1rem 2.4rem rgba(var(--chessimals-magic-rgb),.12)}34%{box-shadow:0 0 0 .18rem rgba(var(--chessimals-magic-rgb),.28),0 0 2.2rem rgba(var(--chessimals-magic-rgb),.38),0 1rem 2.4rem rgba(var(--chessimals-magic-rgb),.16)}to{box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0),0 1rem 2.4rem rgba(var(--chessimals-magic-rgb),.12)}}@keyframes chessimalsPowerIgnite{0%{transform:translateY(0) scale(.96);box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0)}42%{transform:translateY(-.08rem) scale(1.025);box-shadow:0 0 0 .14rem rgba(var(--chessimals-magic-rgb),.24),0 0 1.5rem rgba(var(--chessimals-magic-rgb),.46)}to{transform:translateY(0) scale(1);box-shadow:0 0 rgba(var(--chessimals-magic-rgb),0)}}@keyframes chessimalsMagicParticles{0%,to{opacity:.54;transform:translateY(0) scale(.94)}50%{opacity:1;transform:translateY(-.18rem) scale(1.02)}}@keyframes chessimalsMagicAura{to{transform:rotate(1turn)}}.chessimals-actions{order:6;align-self:stretch;justify-self:stretch;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:.625rem;margin-top:1rem}.chessimals-shell--projection .chessimals-game{max-width:min(96vw,90rem)}.chessimals-shell--projection .chessimals-turn-card{padding:.875rem 1rem}.chessimals-shell--projection .chessimals-status,.chessimals-shell--projection .chessimals-actions,.chessimals-shell--projection .chessimals-online,.chessimals-shell--projection .chessimals-replay,.chessimals-shell--projection .chessimals-rematch-status{display:none}.chessimals-shell--projection .chessimals-arena{grid-template-columns:minmax(0,1fr);justify-items:center}.chessimals-shell--projection .chessimals-board-wrap{--chessimals-board-radius: min(.625rem, 10px);width:min(96vw,82vh,58rem);max-width:none}.chessimals-shell--projection .chessimals-board-frame{flex-basis:auto;max-width:none}@media (min-width: 760px){.chessimals-game{gap:1rem}.chessimals-turn-card,.chessimals-status,.chessimals-arena,.chessimals-replay,.chessimals-result,.chessimals-actions{grid-column:1 / -1}.chessimals-arena{grid-template-columns:minmax(0,1fr);justify-items:center;align-items:start;gap:.85rem}.chessimals-shell:not(.chessimals-shell--projection) .chessimals-board-frame{flex-basis:min(100%,clamp(28rem,calc(100vh - 22rem),50rem));width:min(100%,clamp(28rem,calc(100vh - 22rem),50rem));max-width:min(50rem,clamp(28rem,calc(100vh - 22rem),50rem))}.chessimals-powers{width:min(100%,clamp(28rem,calc(100vh - 22rem),50rem));align-content:center;grid-template-columns:minmax(11rem,.68fr) minmax(0,1fr);align-items:center;gap:.8rem;padding:.78rem}.chessimals-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.chessimals-cards button{grid-template-rows:minmax(3.85rem,1fr) auto;min-height:5.85rem}.chessimals-animal-face{min-height:3.85rem}.chessimals-animal-face img{width:min(3.85rem,88%);height:min(3.85rem,88%)}.chessimals-powers p{-webkit-line-clamp:3}}.chessimals-rules{display:grid;gap:1.05rem;padding-top:.25rem}.chessimals-settings{display:grid;gap:.85rem;color:var(--chessimals-modal-text, var(--chessimals-text))}.chessimals-settings article{display:grid;gap:.65rem;padding:1rem;border:1px solid var(--chessimals-modal-border, rgba(var(--chessimals-primary-rgb), .2));border-radius:1.1rem;background:radial-gradient(circle at 14% 8%,color-mix(in srgb,var(--chessimals-modal-card, #ffffff) 82%,transparent),transparent 28%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),rgba(var(--chessimals-sky-rgb),.06)),var(--chessimals-modal-card-strong, var(--chessimals-elevated-strong));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--chessimals-modal-surface, #ffffff) 48%,transparent)}:host ::ng-deep ion-modal.chessimals-settings-modal val-modal-shell ion-toolbar{--background: var(--chessimals-modal-surface);--color: var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-settings-modal val-modal-shell ion-content{--background: var(--chessimals-modal-surface);color:var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-settings-modal val-modal-shell ion-button{--color: var(--chessimals-modal-text)}:host ::ng-deep ion-modal.chessimals-settings-modal .chessimals-settings val-toggle-input ion-toggle{--track-background: rgba(var(--chessimals-primary-rgb), .14);--track-background-checked: var(--chessimals-primary);--handle-background: var(--chessimals-modal-card);--handle-background-checked: var(--chessimals-primary-contrast);color:var(--chessimals-modal-text);font-weight:900}:host ::ng-deep ion-modal.chessimals-settings-modal .chessimals-settings val-range-input ion-label{color:var(--chessimals-modal-text);font-weight:900}:host ::ng-deep ion-modal.chessimals-settings-modal .chessimals-settings val-range-input ion-range{--bar-background: rgba(var(--chessimals-primary-rgb), .14);--bar-background-active: var(--chessimals-primary);--bar-height: .32rem;--bar-border-radius: 999px;--knob-background: var(--chessimals-primary-contrast);--knob-size: 1.28rem;--pin-background: var(--chessimals-primary);--pin-color: var(--chessimals-primary-contrast);color:var(--chessimals-modal-text)}.chessimals-about{display:grid;justify-items:center;gap:1rem;color:var(--ion-text-color, var(--chessimals-text))}.chessimals-about__logo{display:block;width:min(25rem,88%);height:auto;object-fit:contain;object-position:center;filter:drop-shadow(0 .5rem .7rem rgba(46,58,44,.14))}.chessimals-about__thanks{color:var(--ion-text-color, var(--chessimals-text));font-size:1.08rem;font-weight:950;line-height:1.2;text-align:center}.chessimals-about__feedback{max-width:30rem}.chessimals-about p{margin:0;color:var(--ion-color-medium, var(--chessimals-muted));font-size:.95rem;font-weight:750;line-height:1.45;text-align:center}.chessimals-about dl{display:grid;width:100%;margin:0;gap:.65rem}.chessimals-about dl div{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem .95rem;border:1px solid rgba(var(--chessimals-primary-rgb),.16);border-radius:1rem;background:linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.08),transparent),var(--ion-card-background, #fff)}.chessimals-about dt,.chessimals-about dd{margin:0}.chessimals-about dt{color:var(--ion-color-medium, var(--chessimals-muted));font-size:.78rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-about dd{color:var(--ion-text-color, var(--chessimals-text));font-size:.95rem;font-weight:950}.chessimals-rules__hero{display:block;width:100%;height:auto;object-fit:contain;border-radius:1.25rem;background:transparent;box-shadow:0 .85rem 1.8rem #2e3a2c1f}.chessimals-rules__powers,.chessimals-rules__note,.chessimals-rules__steps article{display:grid;align-items:start;gap:.75rem;border:1px solid var(--chessimals-modal-border, rgba(var(--chessimals-primary-rgb), .16));border-radius:1.25rem;background:var(--chessimals-modal-card, #ffffff);color:var(--chessimals-modal-text, var(--ion-text-color, #2f2a3a))}.chessimals-rules__section-title span{justify-self:start;border-radius:999px;padding:.24rem .55rem;background:rgba(var(--chessimals-primary-rgb),.12);color:var(--chessimals-primary);font-size:.72rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.chessimals-rules__section-title{display:grid;gap:.35rem;padding-inline:0}.chessimals-rules__section-title strong{color:var(--chessimals-text);font-size:1rem;font-weight:950;line-height:1.25}.chessimals-rules__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.chessimals-rules__steps article{align-content:start;padding:.9rem}.chessimals-rules__steps article>img,.chessimals-rules__powers>img,.chessimals-rules__note>img{display:block;width:4.75rem;height:4.75rem;border-radius:1.15rem;object-fit:cover;box-shadow:0 0 0 .1rem rgba(var(--chessimals-sun-rgb),.68),0 .7rem 1.25rem #2e3a2c29}.chessimals-rules__powers,.chessimals-rules__note{grid-template-columns:auto minmax(0,1fr);padding:.95rem}.chessimals-rules__power-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin-top:.35rem}.chessimals-rules__power-list span{display:grid;justify-items:center;align-content:center;gap:.32rem;min-width:0;min-height:8.1rem;border:1px solid var(--chessimals-modal-border, rgba(var(--chessimals-primary-rgb), .16));border-radius:1rem;padding:.8rem .52rem;background:radial-gradient(circle at 50% 0,color-mix(in srgb,var(--chessimals-modal-card, #ffffff) 78%,transparent),transparent 52%),linear-gradient(135deg,rgba(var(--chessimals-primary-rgb),.1),rgba(var(--chessimals-sun-rgb),.18)),var(--chessimals-modal-card-strong, #fff8df);color:var(--chessimals-modal-text, var(--chessimals-text));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--chessimals-modal-surface, #ffffff) 64%,transparent),0 .55rem 1.15rem var(--chessimals-modal-shadow, rgba(46, 58, 44, .12));font-size:.78rem;font-weight:950;line-height:1.05;text-align:center}.chessimals-rules__power-list strong,.chessimals-rules__power-list small{min-width:0}.chessimals-rules__power-list strong{font-size:.86rem;font-weight:950;line-height:1.08}.chessimals-rules__power-list small{color:var(--chessimals-muted);font-size:.69rem;font-weight:820;line-height:1.15}.chessimals-rules__power-list img{display:block;width:3.25rem;height:3.25rem;object-fit:contain;filter:drop-shadow(0 .25rem .35rem rgba(46,58,44,.16))}.chessimals-rules__note{border-color:rgba(var(--chessimals-sun-rgb),.34);background:linear-gradient(135deg,rgba(var(--chessimals-sun-rgb),.1),rgba(var(--chessimals-primary-rgb),.04)),var(--chessimals-modal-card, #ffffff)}.chessimals-rules article>span{display:grid;place-items:center;width:2rem;height:2rem;border-radius:999px;background:rgba(var(--chessimals-primary-rgb),.12);color:var(--chessimals-primary);font-weight:950}.chessimals-rules article>div{display:grid;min-width:0;gap:.35rem}.chessimals-rules h3,.chessimals-rules p,.chessimals-rules ul{margin:0}.chessimals-rules h3{color:var(--chessimals-text);font-size:1rem;font-weight:950;line-height:1.2}.chessimals-rules p,.chessimals-rules li{color:var(--chessimals-modal-muted, var(--ion-color-medium, #6f6a7a));font-size:.88rem;font-weight:760;line-height:1.5}.chessimals-rules ul{display:grid;gap:.45rem;padding-left:1.15rem}.chessimals-primary,.chessimals-secondary{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:3.625rem;border-radius:999px;font:inherit;font-weight:950}.chessimals-primary{border:0;background:var(--chessimals-primary);color:var(--chessimals-primary-contrast);box-shadow:0 1.125rem 2.8rem rgba(var(--chessimals-primary-rgb),.28)}.chessimals-secondary{border:1px solid var(--chessimals-border);background:transparent;color:var(--chessimals-text)}.chessimals-primary.is-working,.chessimals-secondary.is-working{cursor:wait;opacity:.82}.chessimals-button-spinner{width:1rem;height:1rem;flex:0 0 auto;border:.14rem solid currentColor;border-right-color:transparent;border-radius:999px;animation:chessimals-spin .72s linear infinite}@media (max-width: 560px){.chessimals-home-actions{grid-template-columns:1fr}.chessimals-home-action{min-height:0}.chessimals-rules__steps,.chessimals-rules__powers,.chessimals-rules__note{grid-template-columns:1fr}.chessimals-rules__power-list{grid-template-columns:repeat(2,minmax(0,1fr))}.chessimals-size,.chessimals-mode,.chessimals-actions,.chessimals-play-options .chessimals-nightmare,.chessimals-challenge-cta,.chessimals-path-cta,.chessimals-path-hero,.chessimals-path-grid,.chessimals-path-highlights,.chessimals-path-rings,.chessimals-path-stats{grid-template-columns:1fr}.chessimals-path-hero{justify-items:start}.chessimals-path-hero__art{width:6.25rem;height:6.25rem}.chessimals-path-cta__action{justify-self:stretch;width:100%}.chessimals-path-hero__medal{justify-self:stretch;width:100%;min-height:5.5rem}.chessimals-path-bars span{grid-template-columns:minmax(0,1fr) auto}.chessimals-path-bars i{grid-column:1 / -1;order:3}.chessimals-challenge-cta__actions,.chessimals-challenge-cta__rival{min-width:0}.chessimals-challenge-hero,.chessimals-challenge-focus{grid-template-columns:1fr}.chessimals-challenge-card{padding:.85rem}.chessimals-challenge-card__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.chessimals-game{gap:.55rem}.chessimals-turn-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.5rem;min-height:0;border-radius:.95rem;padding:.5rem}.chessimals-turn-card__copy{gap:.1rem}.chessimals-turn-card__meta{gap:.25rem;max-width:none}.chessimals-turn-card__chip{max-width:100%;padding:.18rem .5rem;font-size:.6rem;letter-spacing:.045em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chessimals-turn-card strong{font-size:clamp(.92rem,4.4vw,1.12rem);line-height:1.08}.chessimals-turn-card p{display:-webkit-box;overflow:hidden;font-size:.72rem;line-height:1.2;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chessimals-player-strip{width:auto;max-width:none;min-width:0;padding:.25rem}.chessimals-player-strip__avatar{flex:0 0 1.8rem;width:1.8rem;height:1.8rem;aspect-ratio:1 / 1}:host ::ng-deep .chessimals-player-strip .chessimals-turn-avatar{width:1.8rem;min-width:1.8rem;height:1.8rem}.chessimals-player-strip__text{display:none}.chessimals-status{grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem}.chessimals-status div{gap:.14rem;min-height:2.2rem;border-radius:.82rem;padding:.34rem .3rem}.chessimals-status small{font-size:.58rem;line-height:1.05}.chessimals-status strong{font-size:clamp(.78rem,3.2vw,.94rem);line-height:1.05}.chessimals-challenge-live{grid-template-columns:1fr;gap:.45rem;padding:.55rem}.chessimals-challenge-live__rival>.chessimals-bot-avatar{width:2.35rem;height:2.35rem;font-size:1.15rem}.chessimals-challenge-live__rival p{-webkit-line-clamp:1}.chessimals-challenge-live__metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem}.chessimals-challenge-live__metrics span{min-height:2.35rem;padding:.32rem .36rem}.chessimals-challenge-live__metrics small{font-size:.56rem}.chessimals-challenge-live__metrics b{font-size:.82rem}.chessimals-challenge-intro{padding:.55rem}.chessimals-challenge-intro__card{gap:.42rem;width:min(15.5rem,94%);padding:.6rem}.chessimals-challenge-intro__avatar{width:3.05rem;height:3.05rem;font-size:1.62rem}.chessimals-challenge-intro__copy strong{font-size:1.02rem}.chessimals-challenge-intro__copy p{font-size:.72rem;-webkit-line-clamp:1}.chessimals-challenge-intro__facts b{font-size:.74rem}.chessimals-challenge-intro .chessimals-primary{min-height:2.15rem}.chessimals-tip,.chessimals-result,.chessimals-replay,.chessimals-online-status,.chessimals-tutorial{gap:.2rem;border-radius:1rem;padding:.7rem .75rem}.chessimals-tip strong,.chessimals-result strong,.chessimals-replay strong,.chessimals-tutorial strong{font-size:.95rem}.chessimals-tip p,.chessimals-result p{font-size:.9rem;line-height:1.28}.chessimals-result__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.chessimals-replay,.chessimals-tutorial{grid-template-columns:1fr}.chessimals-replay__actions{justify-content:stretch}.chessimals-replay__actions .chessimals-secondary{flex:1 1 8rem}.chessimals-arena{gap:.5rem}.chessimals-board-wrap{width:100%;margin-inline:0;padding:0}.chessimals-board-frame{width:100%}.chessimals-powers{gap:.5rem;border-radius:1rem;padding:.55rem}.chessimals-powers__heading{gap:.4rem}.chessimals-powers h2{font-size:1rem}.chessimals-powers__heading span{padding:.22rem .48rem;font-size:.68rem}.chessimals-powers p{font-size:.78rem;line-height:1.2;-webkit-line-clamp:1}.chessimals-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem}.chessimals-cards button{grid-template-rows:minmax(3.65rem,1fr) auto;gap:.3rem;min-height:5.4rem;border-radius:.85rem;padding:.3rem .24rem .42rem}.chessimals-animal-face{min-height:3.65rem;border-radius:.68rem}.chessimals-animal-face img{width:min(3.55rem,92%);height:min(3.55rem,92%)}.chessimals-cards strong{font-size:clamp(.64rem,2.8vw,.78rem)}.chessimals-board{border-radius:var(--chessimals-board-radius)}.chessimals-cell-coordinate{font-size:.58rem}}@media (prefers-reduced-motion: reduce){.chessimals-cell.is-capture,.chessimals-cell.is-capture:before,.chessimals-cell.is-capture:after,.chessimals-cell.has-move-effect,.chessimals-cell.has-move-effect:before,.chessimals-cell.has-move-effect:after,.chessimals-cell.has-capture-effect,.chessimals-moving-piece,.chessimals-challenge-intro,.chessimals-status__score.is-pop{animation:none!important}.chessimals-moving-piece{transform:translate(calc(var(--to-col) * 100%),calc(var(--to-row) * 100%))}}\n"] }]
|
|
72511
72657
|
}], ctorParameters: () => [], propDecorators: { boardAnchor: [{
|
|
72512
72658
|
type: ViewChild,
|
|
72513
72659
|
args: ['boardAnchor']
|
|
@@ -82509,6 +82655,9 @@ class TicketCardImageService {
|
|
|
82509
82655
|
ctx.strokeStyle = '#e0e0e0';
|
|
82510
82656
|
ctx.strokeRect(qrX, qrY, QR_SIZE, QR_SIZE);
|
|
82511
82657
|
}
|
|
82658
|
+
if (config.qrLogoUrl) {
|
|
82659
|
+
await this.drawQrLogo(ctx, config.qrLogoUrl, qrX, qrY);
|
|
82660
|
+
}
|
|
82512
82661
|
const label = config.folioLabel ?? 'Cartón';
|
|
82513
82662
|
const folioText = config.folio !== undefined && config.folio !== null && config.folio !== ''
|
|
82514
82663
|
? `${label} #${config.folio}`
|
|
@@ -82581,6 +82730,34 @@ class TicketCardImageService {
|
|
|
82581
82730
|
this.fillWrappedText(ctx, value, x, y + 32, maxWidth, 38, rowHeight <= 90 ? 1 : 2);
|
|
82582
82731
|
return y + rowHeight;
|
|
82583
82732
|
}
|
|
82733
|
+
async drawQrLogo(ctx, logoUrl, qrX, qrY) {
|
|
82734
|
+
const logoSize = Math.round(QR_SIZE * 0.2);
|
|
82735
|
+
const padding = Math.max(8, Math.round(logoSize * 0.1));
|
|
82736
|
+
const boxSize = logoSize + padding * 2;
|
|
82737
|
+
const boxX = qrX + (QR_SIZE - boxSize) / 2;
|
|
82738
|
+
const boxY = qrY + (QR_SIZE - boxSize) / 2;
|
|
82739
|
+
ctx.fillStyle = '#ffffff';
|
|
82740
|
+
ctx.beginPath();
|
|
82741
|
+
ctx.arc(boxX + boxSize / 2, boxY + boxSize / 2, boxSize / 2, 0, Math.PI * 2);
|
|
82742
|
+
ctx.fill();
|
|
82743
|
+
try {
|
|
82744
|
+
const logoImg = await this.loadImage(logoUrl);
|
|
82745
|
+
ctx.drawImage(logoImg, boxX + padding, boxY + padding, logoSize, logoSize);
|
|
82746
|
+
}
|
|
82747
|
+
catch {
|
|
82748
|
+
this.drawBingoFallbackMark(ctx, boxX + padding, boxY + padding, logoSize);
|
|
82749
|
+
}
|
|
82750
|
+
}
|
|
82751
|
+
drawBingoFallbackMark(ctx, x, y, size) {
|
|
82752
|
+
ctx.fillStyle = '#c090ff';
|
|
82753
|
+
ctx.beginPath();
|
|
82754
|
+
ctx.arc(x + size * 0.28, y + size * 0.24, size * 0.2, 0, Math.PI * 2);
|
|
82755
|
+
ctx.fill();
|
|
82756
|
+
ctx.fillStyle = '#ff00b2';
|
|
82757
|
+
ctx.beginPath();
|
|
82758
|
+
ctx.arc(x + size * 0.57, y + size * 0.64, size * 0.36, 0, Math.PI * 2);
|
|
82759
|
+
ctx.fill();
|
|
82760
|
+
}
|
|
82584
82761
|
roundRect(ctx, x, y, width, height, radius) {
|
|
82585
82762
|
const r = Math.min(radius, width / 2, height / 2);
|
|
82586
82763
|
ctx.beginPath();
|
|
@@ -92020,10 +92197,10 @@ class TicketCardComponent {
|
|
|
92020
92197
|
this.failed.set(false);
|
|
92021
92198
|
return;
|
|
92022
92199
|
}
|
|
92023
|
-
void this.generate(token, size
|
|
92200
|
+
void this.generate(token, size);
|
|
92024
92201
|
}, { allowSignalWrites: true });
|
|
92025
92202
|
}
|
|
92026
|
-
async generate(data, size
|
|
92203
|
+
async generate(data, size) {
|
|
92027
92204
|
this.failed.set(false);
|
|
92028
92205
|
try {
|
|
92029
92206
|
const friendlyConfig = {
|
|
@@ -92033,15 +92210,6 @@ class TicketCardComponent {
|
|
|
92033
92210
|
height: size,
|
|
92034
92211
|
format: 'png',
|
|
92035
92212
|
};
|
|
92036
|
-
if (logoUrl) {
|
|
92037
|
-
friendlyConfig.logo = {
|
|
92038
|
-
src: logoUrl,
|
|
92039
|
-
width: Math.round(size * 0.2),
|
|
92040
|
-
height: Math.round(size * 0.2),
|
|
92041
|
-
margin: Math.max(5, Math.round(size * 0.025)),
|
|
92042
|
-
hideBackgroundDots: true,
|
|
92043
|
-
};
|
|
92044
|
-
}
|
|
92045
92213
|
const result = await this.qrService.generate(friendlyConfig);
|
|
92046
92214
|
this.qr.set(result);
|
|
92047
92215
|
}
|
|
@@ -92098,6 +92266,7 @@ class TicketCardComponent {
|
|
|
92098
92266
|
eventDate: p.shareEventDate,
|
|
92099
92267
|
eventLocation: p.shareEventLocation,
|
|
92100
92268
|
scanHint: p.shareScanHint,
|
|
92269
|
+
qrLogoUrl: p.qrLogoUrl,
|
|
92101
92270
|
};
|
|
92102
92271
|
}
|
|
92103
92272
|
async copyToClipboard(config, p) {
|
|
@@ -92148,6 +92317,8 @@ class TicketCardComponent {
|
|
|
92148
92317
|
qrBorderRadius: 18,
|
|
92149
92318
|
padding: 12,
|
|
92150
92319
|
containerBackground: '#ffffff',
|
|
92320
|
+
logoUrl: p.qrLogoUrl,
|
|
92321
|
+
logoSizeRatio: 0.2,
|
|
92151
92322
|
alt: this.folioText() || 'QR',
|
|
92152
92323
|
downloadLabel: p.downloadLabel ?? this.t('download'),
|
|
92153
92324
|
shareLabel: this.t('share'),
|